index-b70e4bd5.js 4.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. import{a3 as qk,a4 as Ks,m as Of,r as Zt,a5 as Ta,U as t1,b as _h,V as bg,C as zr,D as Fn,E as or,u as Ti,J as _s,K as lc,L as xa,R as r1,_ as zu,l as Iu,a6 as n1,f as wA,w as i1,x as vn,v as Qr,F as Fr,G as Ya,a7 as Ig,Q as qs,Z as mu,M as ys,n as XI,H as Ma,I as Ca,a8 as X5,N as wh,O as Bh,a9 as Wk,aa as Kk,ab as $5,ac as zk,ad as Vk}from"./index-8ddf2fd6.js";import{a as U5,d as Zk,q as Xk}from"./Agent-25c87d4e.js";import{p as $k}from"./icon-chart-38e5438e.js";import{a as JI}from"./auth-54229761.js";import{a as xB,u as e9}from"./index-dea87f4f.js";const SB="/assets/icon-user-007bea0f.jpg",Vp="/assets/icon-picture-144a065f.png";var t9=Object.defineProperty,r9=(D,U,K)=>U in D?t9(D,U,{enumerable:!0,configurable:!0,writable:!0,value:K}):D[U]=K,PI=(D,U,K)=>r9(D,typeof U!="symbol"?U+"":U,K);class j5 extends Error{constructor(U,K){super(U),PI(this,"type"),PI(this,"field"),PI(this,"value"),PI(this,"line"),this.name="ParseError",this.type=K.type,this.field=K.field,this.value=K.value,this.line=K.line}}function dB(D){}function n9(D){const{onEvent:U=dB,onError:K=dB,onRetry:ee=dB,onComment:ge}=D;let Ue="",ht=!0,ut,_t="",Jt="";function ar(sr){const Ir=ht?sr.replace(/^\xEF\xBB\xBF/,""):sr,[hn,Oe]=i9(`${Ue}${Ir}`);for(const Et of hn)Tt(Et);Ue=Oe,ht=!1}function Tt(sr){if(sr===""){yr();return}if(sr.startsWith(":")){ge&&ge(sr.slice(sr.startsWith(": ")?2:1));return}const Ir=sr.indexOf(":");if(Ir!==-1){const hn=sr.slice(0,Ir),Oe=sr[Ir+1]===" "?2:1,Et=sr.slice(Ir+Oe);Fe(hn,Et,sr);return}Fe(sr,"",sr)}function Fe(sr,Ir,hn){switch(sr){case"event":Jt=Ir;break;case"data":_t=`${_t}${Ir}
  2. `;break;case"id":ut=Ir.includes("\0")?void 0:Ir;break;case"retry":/^\d+$/.test(Ir)?ee(parseInt(Ir,10)):K(new j5(`Invalid \`retry\` value: "${Ir}"`,{type:"invalid-retry",value:Ir,line:hn}));break;default:K(new j5(`Unknown field "${sr.length>20?`${sr.slice(0,20)}…`:sr}"`,{type:"unknown-field",field:sr,value:Ir,line:hn}));break}}function yr(){_t.length>0&&U({id:ut,event:Jt||void 0,data:_t.endsWith(`
  3. `)?_t.slice(0,-1):_t}),ut=void 0,_t="",Jt=""}function Le(sr={}){Ue&&sr.consume&&Tt(Ue),ut=void 0,_t="",Jt="",Ue=""}return{feed:ar,reset:Le}}function i9(D){const U=[];let K="";const ee=D.length;for(let ge=0;ge<ee;ge++){const Ue=D[ge];Ue==="\r"&&D[ge+1]===`
  4. `?(U.push(K),K="",ge++):Ue==="\r"||Ue===`
  5. `?(U.push(K),K=""):K+=Ue}return[U,K]}class qI extends TransformStream{constructor({onError:U,onRetry:K,onComment:ee}={}){let ge;super({start(Ue){ge=n9({onEvent:ht=>{Ue.enqueue(ht)},onError(ht){U==="terminate"?Ue.error(ht):typeof U=="function"&&U(ht)},onRetry:K,onComment:ee})},transform(Ue){ge.feed(Ue)}})}}const a9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAQdSURBVEiJrZZNbFRVHMV/5703hbbaCGFEosICSltM6cKQwAYDktTylZnBiRvRxBgkuJU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gF8UCoVvzc3NrWyG/w+pzCwY+Ne0twAAAABJRU5ErkJggg==",ia=qk();function H5(D){return Ks.post("/api/v1/canvas/update_agent_conversation",D)}function c9(D){return Ks.post("/api/v1/advanced-agent/update_agent_conversation",D)}function IB(D){return Ks.get("/api/v1/canvas/get/"+D,{})}function u9(D){return Ks.post("/api/v1/canvas/set",D)}function l9(D){return Ks.post("/api/v1/canvas/reset",D)}function A9(D){return Ks.post("/api/v1/advanced-agent/conversation-set",D)}const Y5=({url:D,filename:U,target:K})=>{const ee=document.createElement("a");ee.style.display="none",ee.href=D,K&&(ee.target="_blank"),ee.rel="noopener noreferrer",U&&(ee.download=U),document.body.appendChild(ee),ee.click(),document.body.removeChild(ee)};function h9(D){const U={headers:{"Content-Type":"application/x-www-form-urlencoded"}};return Ks.post("/api/v1/advanced-agent/upload",D,U)}const _B="/assets/model-facdc71d.png",f9={class:"layoutNavMoveCenter"},d9={class:"layoutNavMove___j5ets"},g9={class:"myAgent___djnd_ myAgentAnim myAgentlight___yK7Gk"},p9={id:"myAgentBox"},v9={class:"myAgentBox___zrCit"},m9=["onClick"],y9={class:"myAgentBoxImgLayout___u69B_"},I9={class:"MuiBox-root css-5nczy5"},b9=["src"],C9={class:"myAgentBoxImgLayoutTip___xHV4m"},E9=["onClick"],w9=Of({__name:"chatMenu",emits:["querySessionDetail","changeAgentType","createSession"],setup(D,{emit:U}){const K=localStorage.getItem("httpUrl"),ee=U;Zt(""),Zt([]),Ta({}),Ta({}),Zt([]),Zt(""),Zt(""),Zt({});const ge=Zt([]),Ue=Zt(_B),ht=async Jt=>{const{code:ar,data:Tt}=await U5();ar===200&&(ge.value=Tt.map(Fe=>({...Fe})),console.log(ge.value,"用户习惯会话列表"))},ut=async Jt=>{if(console.log(Jt,"session"),Jt.app_type=="3")ia.emit("createSeniorAgent",Jt),ee("changeAgentType","5");else if(Jt.app_type=="1")ee("createSession",Jt.app_id,`和${Jt.name}的会话`),ee("changeAgentType","1");else{const{code:ar,data:Tt}=await IB(Jt.app_id);if(ar==0){console.log(Tt,"会话详情");let Fe={id:Jt.app_id,dsl:Tt.dsl,title:Jt.name};ia.emit("createAgent",Fe),ee("changeAgentType","2")}}},_t=async Jt=>{const{code:ar}=await Zk({app_id:Jt.app_id});if(ar===200){const{code:Tt,data:Fe}=await U5();Tt===200&&(ge.value=Fe,console.log(ge.value,"用户习惯会话列表"),ge.value.length==0&&(ee("createSession",""),ee("changeAgentType","1")))}};return t1(()=>{ht()}),_h(()=>{ia.on("queryAppUsageList",Jt=>{ht()})}),bg(()=>{ia.off("queryAppUsageList")}),(Jt,ar)=>(zr(),Fn("div",f9,[or("div",d9,[or("div",g9,[ar[7]||(ar[7]=or("div",{"data-testid":"msh-sidebar-main",class:"myAgentHome___PG6IZ"},null,-1)),ar[8]||(ar[8]=or("div",{class:"myAgentLine___Isl6E"},null,-1)),or("div",{class:"myAgentTool___Y1_mC","data-testid":"msh-sidebar-new",onClick:ar[0]||(ar[0]=()=>{Ti(ia).emit("newChat")})},ar[3]||(ar[3]=[or("div",{class:"myAgentToolIcon___gaAKI myAgentToolIconNew___DBZrW"},[or("img",{src:a9,style:{width:"24px"},alt:""})],-1)])),or("div",{"data-testid":"msh-sidebar-history",class:"myAgentTool___Y1_mC",onClick:ar[1]||(ar[1]=()=>{Ti(ia).emit("history")})},ar[4]||(ar[4]=[or("div",{class:"myAgentToolIcon___gaAKI myAgentToolIconHistory___GTLWk"},[or("img",{src:o9,style:{width:"24px"},alt:""})],-1)])),or("div",{"data-testid":"msh-sidebar-square",class:"myAgentTool___Y1_mC myAgentToolSquare___dbLm1",onClick:ar[2]||(ar[2]=()=>{Ti(ia).emit("smartAi")})},ar[5]||(ar[5]=[or("div",{class:"myAgentToolIcon___gaAKI myAgentToolIconSquare___Rj1o_"},[or("img",{src:s9,style:{width:"24px"},alt:""})],-1)])),ar[9]||(ar[9]=or("div",{class:"myAgentLine___Isl6E",style:{"margin-top":"4px"}},null,-1)),or("div",p9,[(zr(!0),Fn(_s,null,lc(ge.value,Tt=>(zr(),Fn("div",v9,[or("div",{class:"myAgentBoxImg___Mgu9e",onClick:Fe=>ut(Tt)},[or("div",y9,[or("div",I9,[or("img",{src:Tt.icon?Ti(K)+Tt.icon:Ue.value,alt:"",style:{"border-radius":"50%",width:"100%",height:"100%"}},null,8,b9)]),or("span",C9,xa(Tt.name),1)]),or("div",{"data-testid":"msh-sidebar-bot-delete",class:"myAgentBoxImgDelete___qXZuq",onClick:r1(Fe=>_t(Tt),["stop"])},ar[6]||(ar[6]=[or("div",{class:"myAgentBoxImgDeleteInner____Hawc"},"从侧边栏移除",-1)]),8,E9)],8,m9)]))),256))])])])]))}});const B9=zu(w9,[["__scopeId","data-v-823be9ae"]]);var eQ={exports:{}};/*!
  6. * clipboard.js v2.0.11
  7. * https://clipboardjs.com/
  8. *
  9. * Licensed MIT © Zeno Rocha
  10. */(function(D,U){(function(ee,ge){D.exports=ge()})(Iu,function(){return function(){var K={686:function(Ue,ht,ut){ut.d(ht,{default:function(){return _a}});var _t=ut(279),Jt=ut.n(_t),ar=ut(370),Tt=ut.n(ar),Fe=ut(817),yr=ut.n(Fe);function Le(ln){try{return document.execCommand(ln)}catch{return!1}}var sr=function(gn){var cn=yr()(gn);return Le("cut"),cn},Ir=sr;function hn(ln){var gn=document.documentElement.getAttribute("dir")==="rtl",cn=document.createElement("textarea");cn.style.fontSize="12pt",cn.style.border="0",cn.style.padding="0",cn.style.margin="0",cn.style.position="absolute",cn.style[gn?"right":"left"]="-9999px";var Dn=window.pageYOffset||document.documentElement.scrollTop;return cn.style.top="".concat(Dn,"px"),cn.setAttribute("readonly",""),cn.value=ln,cn}var Oe=function(gn,cn){var Dn=hn(gn);cn.container.appendChild(Dn);var xn=yr()(Dn);return Le("copy"),Dn.remove(),xn},Et=function(gn){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},Dn="";return typeof gn=="string"?Dn=Oe(gn,cn):gn instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(gn==null?void 0:gn.type)?Dn=Oe(gn.value,cn):(Dn=yr()(gn),Le("copy")),Dn},qt=Et;function nr(ln){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?nr=function(cn){return typeof cn}:nr=function(cn){return cn&&typeof Symbol=="function"&&cn.constructor===Symbol&&cn!==Symbol.prototype?"symbol":typeof cn},nr(ln)}var Nr=function(){var gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},cn=gn.action,Dn=cn===void 0?"copy":cn,xn=gn.container,Wn=gn.target,Vi=gn.text;if(Dn!=="copy"&&Dn!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(Wn!==void 0)if(Wn&&nr(Wn)==="object"&&Wn.nodeType===1){if(Dn==="copy"&&Wn.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(Dn==="cut"&&(Wn.hasAttribute("readonly")||Wn.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Vi)return qt(Vi,{container:xn});if(Wn)return Dn==="cut"?Ir(Wn):qt(Wn,{container:xn})},zt=Nr;function Cr(ln){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Cr=function(cn){return typeof cn}:Cr=function(cn){return cn&&typeof Symbol=="function"&&cn.constructor===Symbol&&cn!==Symbol.prototype?"symbol":typeof cn},Cr(ln)}function Wr(ln,gn){if(!(ln instanceof gn))throw new TypeError("Cannot call a class as a function")}function un(ln,gn){for(var cn=0;cn<gn.length;cn++){var Dn=gn[cn];Dn.enumerable=Dn.enumerable||!1,Dn.configurable=!0,"value"in Dn&&(Dn.writable=!0),Object.defineProperty(ln,Dn.key,Dn)}}function Ui(ln,gn,cn){return gn&&un(ln.prototype,gn),cn&&un(ln,cn),ln}function Ea(ln,gn){if(typeof gn!="function"&&gn!==null)throw new TypeError("Super expression must either be null or a function");ln.prototype=Object.create(gn&&gn.prototype,{constructor:{value:ln,writable:!0,configurable:!0}}),gn&&Po(ln,gn)}function Po(ln,gn){return Po=Object.setPrototypeOf||function(Dn,xn){return Dn.__proto__=xn,Dn},Po(ln,gn)}function Ds(ln){var gn=Qa();return function(){var Dn=Ji(ln),xn;if(gn){var Wn=Ji(this).constructor;xn=Reflect.construct(Dn,arguments,Wn)}else xn=Dn.apply(this,arguments);return co(this,xn)}}function co(ln,gn){return gn&&(Cr(gn)==="object"||typeof gn=="function")?gn:kt(ln)}function kt(ln){if(ln===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ln}function Qa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Ji(ln){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(cn){return cn.__proto__||Object.getPrototypeOf(cn)},Ji(ln)}function La(ln,gn){var cn="data-clipboard-".concat(ln);if(gn.hasAttribute(cn))return gn.getAttribute(cn)}var yo=function(ln){Ea(cn,ln);var gn=Ds(cn);function cn(Dn,xn){var Wn;return Wr(this,cn),Wn=gn.call(this),Wn.resolveOptions(xn),Wn.listenClick(Dn),Wn}return Ui(cn,[{key:"resolveOptions",value:function(){var xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof xn.action=="function"?xn.action:this.defaultAction,this.target=typeof xn.target=="function"?xn.target:this.defaultTarget,this.text=typeof xn.text=="function"?xn.text:this.defaultText,this.container=Cr(xn.container)==="object"?xn.container:document.body}},{key:"listenClick",value:function(xn){var Wn=this;this.listener=Tt()(xn,"click",function(Vi){return Wn.onClick(Vi)})}},{key:"onClick",value:function(xn){var Wn=xn.delegateTarget||xn.currentTarget,Vi=this.action(Wn)||"copy",uo=zt({action:Vi,container:this.container,target:this.target(Wn),text:this.text(Wn)});this.emit(uo?"success":"error",{action:Vi,text:uo,trigger:Wn,clearSelection:function(){Wn&&Wn.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(xn){return La("action",xn)}},{key:"defaultTarget",value:function(xn){var Wn=La("target",xn);if(Wn)return document.querySelector(Wn)}},{key:"defaultText",value:function(xn){return La("text",xn)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(xn){var Wn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return qt(xn,Wn)}},{key:"cut",value:function(xn){return Ir(xn)}},{key:"isSupported",value:function(){var xn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],Wn=typeof xn=="string"?[xn]:xn,Vi=!!document.queryCommandSupported;return Wn.forEach(function(uo){Vi=Vi&&!!document.queryCommandSupported(uo)}),Vi}}]),cn}(Jt()),_a=yo},828:function(Ue){var ht=9;if(typeof Element<"u"&&!Element.prototype.matches){var ut=Element.prototype;ut.matches=ut.matchesSelector||ut.mozMatchesSelector||ut.msMatchesSelector||ut.oMatchesSelector||ut.webkitMatchesSelector}function _t(Jt,ar){for(;Jt&&Jt.nodeType!==ht;){if(typeof Jt.matches=="function"&&Jt.matches(ar))return Jt;Jt=Jt.parentNode}}Ue.exports=_t},438:function(Ue,ht,ut){var _t=ut(828);function Jt(Fe,yr,Le,sr,Ir){var hn=Tt.apply(this,arguments);return Fe.addEventListener(Le,hn,Ir),{destroy:function(){Fe.removeEventListener(Le,hn,Ir)}}}function ar(Fe,yr,Le,sr,Ir){return typeof Fe.addEventListener=="function"?Jt.apply(null,arguments):typeof Le=="function"?Jt.bind(null,document).apply(null,arguments):(typeof Fe=="string"&&(Fe=document.querySelectorAll(Fe)),Array.prototype.map.call(Fe,function(hn){return Jt(hn,yr,Le,sr,Ir)}))}function Tt(Fe,yr,Le,sr){return function(Ir){Ir.delegateTarget=_t(Ir.target,yr),Ir.delegateTarget&&sr.call(Fe,Ir)}}Ue.exports=ar},879:function(Ue,ht){ht.node=function(ut){return ut!==void 0&&ut instanceof HTMLElement&&ut.nodeType===1},ht.nodeList=function(ut){var _t=Object.prototype.toString.call(ut);return ut!==void 0&&(_t==="[object NodeList]"||_t==="[object HTMLCollection]")&&"length"in ut&&(ut.length===0||ht.node(ut[0]))},ht.string=function(ut){return typeof ut=="string"||ut instanceof String},ht.fn=function(ut){var _t=Object.prototype.toString.call(ut);return _t==="[object Function]"}},370:function(Ue,ht,ut){var _t=ut(879),Jt=ut(438);function ar(Le,sr,Ir){if(!Le&&!sr&&!Ir)throw new Error("Missing required arguments");if(!_t.string(sr))throw new TypeError("Second argument must be a String");if(!_t.fn(Ir))throw new TypeError("Third argument must be a Function");if(_t.node(Le))return Tt(Le,sr,Ir);if(_t.nodeList(Le))return Fe(Le,sr,Ir);if(_t.string(Le))return yr(Le,sr,Ir);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function Tt(Le,sr,Ir){return Le.addEventListener(sr,Ir),{destroy:function(){Le.removeEventListener(sr,Ir)}}}function Fe(Le,sr,Ir){return Array.prototype.forEach.call(Le,function(hn){hn.addEventListener(sr,Ir)}),{destroy:function(){Array.prototype.forEach.call(Le,function(hn){hn.removeEventListener(sr,Ir)})}}}function yr(Le,sr,Ir){return Jt(document.body,Le,sr,Ir)}Ue.exports=ar},817:function(Ue){function ht(ut){var _t;if(ut.nodeName==="SELECT")ut.focus(),_t=ut.value;else if(ut.nodeName==="INPUT"||ut.nodeName==="TEXTAREA"){var Jt=ut.hasAttribute("readonly");Jt||ut.setAttribute("readonly",""),ut.select(),ut.setSelectionRange(0,ut.value.length),Jt||ut.removeAttribute("readonly"),_t=ut.value}else{ut.hasAttribute("contenteditable")&&ut.focus();var ar=window.getSelection(),Tt=document.createRange();Tt.selectNodeContents(ut),ar.removeAllRanges(),ar.addRange(Tt),_t=ar.toString()}return _t}Ue.exports=ht},279:function(Ue){function ht(){}ht.prototype={on:function(ut,_t,Jt){var ar=this.e||(this.e={});return(ar[ut]||(ar[ut]=[])).push({fn:_t,ctx:Jt}),this},once:function(ut,_t,Jt){var ar=this;function Tt(){ar.off(ut,Tt),_t.apply(Jt,arguments)}return Tt._=_t,this.on(ut,Tt,Jt)},emit:function(ut){var _t=[].slice.call(arguments,1),Jt=((this.e||(this.e={}))[ut]||[]).slice(),ar=0,Tt=Jt.length;for(ar;ar<Tt;ar++)Jt[ar].fn.apply(Jt[ar].ctx,_t);return this},off:function(ut,_t){var Jt=this.e||(this.e={}),ar=Jt[ut],Tt=[];if(ar&&_t)for(var Fe=0,yr=ar.length;Fe<yr;Fe++)ar[Fe].fn!==_t&&ar[Fe].fn._!==_t&&Tt.push(ar[Fe]);return Tt.length?Jt[ut]=Tt:delete Jt[ut],this}},Ue.exports=ht,Ue.exports.TinyEmitter=ht}},ee={};function ge(Ue){if(ee[Ue])return ee[Ue].exports;var ht=ee[Ue]={exports:{}};return K[Ue](ht,ht.exports,ge),ht.exports}return function(){ge.n=function(Ue){var ht=Ue&&Ue.__esModule?function(){return Ue.default}:function(){return Ue};return ge.d(ht,{a:ht}),ht}}(),function(){ge.d=function(Ue,ht){for(var ut in ht)ge.o(ht,ut)&&!ge.o(Ue,ut)&&Object.defineProperty(Ue,ut,{enumerable:!0,get:ht[ut]})}}(),function(){ge.o=function(Ue,ht){return Object.prototype.hasOwnProperty.call(Ue,ht)}}(),ge(686)}().default})})(eQ);var Q9=eQ.exports;const k9=n1(Q9),DB=D=>{const U=(D==null?void 0:D.appendToBody)===void 0?!0:D.appendToBody;return{toClipboard(K,ee){return new Promise((ge,Ue)=>{const ht=document.createElement("button"),ut=new k9(ht,{text:()=>K,action:()=>"copy",container:ee!==void 0?ee:document.body});ut.on("success",_t=>{ut.destroy(),ge(_t)}),ut.on("error",_t=>{ut.destroy(),Ue(_t)}),U&&document.body.appendChild(ht),ht.click(),U&&document.body.removeChild(ht)})}}};function J5(D){return D!=null&&D.searchParam?Ks.get(`/api/conversation/list?modeltype=localragflow&search=${D.searchParam}&dialogid=&page=${D.page}&per_page=${D.page_size}`):Ks.get(`/api/conversation/list?modeltype=localragflow&dialogid=&page=${D.page}&per_page=${D.page_size}`)}function x9(D){return Ks.post("/api/v1/conversation/rm?modeltype=localragflow",{conversation_ids:D})}function Qh(D){return Ks.post("/api/v1/conversation/set?platform=localragflow",D)}function pg(D){return Ks.get("/api/conversation/get?modeltype=localragflow",{params:{conversation_id:D}})}function S9(){return Ks.get("/api/v1/dialog/list")}function _9(D){const U={headers:{"Content-Type":"application/x-www-form-urlencoded"}};return Ks.post("/api/v1/document/upload_and_parse",D,U)}function D9(){return Ks.get("/api/v1/user/parse-methods")}function R9(D){return Ks.get("/api/v1/advanced-agent/list",D)}const F9={class:"header___lEPyH"},N9={class:"chatHeader"},M9={class:"chatHeaderBox"},T9={style:{width:"100px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},L9={class:"chat-item"},O9=["onClick"],P9={class:"chat_bottom"},G9={class:"center-bottom"},U9={style:{width:"100%",display:"flex","justify-content":"space-between"}},j9={style:{width:"100%","text-align":"right"}},H9=Of({__name:"agentSession",props:{modalObj:Object},setup(D){const U=D,K=Zt([]);Zt([]),Ta({}),Zt("");const ee=Zt(!1),ge=Zt(!1),Ue=Zt("未命名会话"),ht=Zt(0),ut=Zt("");let _t=null;const Jt=Zt(""),ar=Zt("");Zt("");const Tt=Zt(""),Fe=Ta({});Zt([]),Zt(""),Zt({});let yr=Ta({}),Le=!1;const sr=xB(),Ir=wA(()=>sr.theme);let hn=Ta({name:"未命名会话"});const Oe=Zt(!1);let Et=Zt(!1),qt=Ta({});const nr={name:[{required:!0,message:"名称不允许为空"}]},Nr=async({values:tn,errors:xr})=>{if(xr)return;console.log(Fe,"agentObj");let Ei={id:Tt.value,conversation_id:Tt.value,name:hn.name};const{code:Ni,data:ji}=await Qh(Ei);ji&&(ys.success("修改成功"),Cr())},zt=()=>{Oe.value=!0},Cr=()=>{Oe.value=!1},Wr=tn=>{},un=async()=>{Ea()},Ui=async tn=>{console.log(tn,"新建agent会话对象"),Object.assign(Fe,tn),Et.value=!1,un()},Ea=async()=>{const tn=await u9({id:Fe.id,title:Fe.title,dsl:Fe.dsl});tn.code==0&&(Tt.value=tn.data.conversation_id,Po())},Po=async()=>{(await l9({id:Fe.id})).code==0&&Ds()},Ds=async()=>{var Ei;const tn=await fetch("/api/v1/canvas/completion",{method:"POST",headers:{Authorization:JI(),"Content-Type":"application/json"},body:JSON.stringify({converson_id:Tt.value,id:Fe.id,dsl:Fe.dsl})}),xr=(Ei=tn==null?void 0:tn.body)==null?void 0:Ei.pipeThrough(new TextDecoderStream).pipeThrough(new qI).getReader();for(ht.value=0;;){const Ni=await(xr==null?void 0:xr.read());if(Ni){const{done:ji,value:wa}=Ni;console.log(Ni,999);try{const Oa=JSON.parse((wa==null?void 0:wa.data)||""),Ja=Oa==null?void 0:Oa.data;typeof Ja!="boolean"&&(console.info("data:",Ja),Jt.value=Ja.content,Wn())}catch(Oa){console.warn(Oa)}if(ji){console.info("done"),ut.value="",co(Fe.id);break}}}ee.value=!1,ge.value=!1,ar.value=""},co=async tn=>{const{code:xr,data:Ei}=await IB(tn);if(xr==0){console.log(Ei,"agent会话详情");let Ni=Ei.dsl.messages.length;Ni>1?(yr.dsl.messages[yr.dsl.messages.length-1]=Ei.dsl.messages[Ni-1],await H5({converson_id:Tt.value,dsl:yr.dsl})):yr.dsl=Ei.dsl,K.value=yr.dsl.messages,Ue.value=`${Ei.title}`||"未命名会话",hn.name=`${Ei.title}`||"未命名会话",uo()}},kt=async tn=>{var Ni;Tt.value=tn.id,hn.name=tn.name;const{code:xr,data:Ei}=await pg(tn.id);if(xr==200){const ji=await IB(tn.dialog_id);if(ji.code==0){if(console.log(ji.data,"agent会话详情"),Object.assign(Fe,ji.data),(Ni=Ei==null?void 0:Ei.message)!=null&&Ni.messages){K.value=Ei.message.messages;let wa=Ei.message;Object.assign(yr,{dsl:wa})}else Object.assign(yr,ji.data),K.value=ji.data.dsl.messages;Object.assign(qt,ji.data.dsl),uo()}}},{toClipboard:Qa}=DB(),Ji=async tn=>{await Qa(tn)},La=()=>{_a("click")},yo=()=>{let tn=K.value[K.value.length-2].content;cn(tn)},_a=async tn=>{(tn.keyCode==13||tn==="click")&&(tn.shiftKey||(tn!=="click"&&tn.preventDefault(),ar.value?(cn(ar.value),ar.value=""):(ys.warning("消息不能为空"),ee.value=!1,ge.value=!1)))};let ln=[],gn="";const cn=async tn=>{var ji;Le=!1,ut.value="",K.value.push({content:tn,role:"user"}),K.value.push({role:"last"}),uo();let xr={id:Fe.id,converson_id:Tt.value,message:tn};Et.value&&(xr.dsl=qt);const Ei=await fetch("/api/v1/canvas/completion",{method:"POST",headers:{Authorization:JI(),"Content-Type":"application/json"},body:JSON.stringify(xr)}),Ni=(ji=Ei==null?void 0:Ei.body)==null?void 0:ji.pipeThrough(new TextDecoderStream).pipeThrough(new qI).getReader();for(ht.value=0;;){if(Le){ln.push(gn);break}const wa=await(Ni==null?void 0:Ni.read());if(wa){const{done:Oa,value:Ja}=wa;try{const lo=JSON.parse((Ja==null?void 0:Ja.data)||""),Go=lo==null?void 0:lo.data;if(gn!=Go.message_id)gn=Go.message_id,ln=[];else if(ln.findIndex(zs=>zs===gn)>-1)break;typeof Go!="boolean"&&(console.info("data:",Go),Jt.value=Go.content,Wn())}catch(lo){console.warn(lo)}if(Oa){console.info("done"),ut.value="",co(Fe.id),ia.emit("queryAppUsageList");break}}}ee.value=!1,ge.value=!1},Dn=async()=>{ge.value=!1,ee.value=!1,Le=!0,console.log("stopChat"),console.log(ut.value,"displayedText"),console.log(K.value,"sessionDetailList");let xr=[{content:K.value[K.value.length-2].content,role:"user"},{content:ut.value,role:"assistant"}];K.value=K.value.splice(0,K.value.length-2).concat(xr),console.log(K.value,"sessionDetailList2"),console.log(yr,"chatObj对象"),yr.dsl.messages=K.value;const{code:Ei,data:Ni}=await H5({converson_id:Tt.value,dsl:yr.dsl});Ni&&(clearTimeout(_t),_t=null)},xn=tn=>{tn.preventDefault(),ar.value+=`
  11. `},Wn=()=>{_t&&clearTimeout(_t);const tn=Jt.value;ht.value<tn.length?(ut.value+=tn[ht.value],ht.value++,setTimeout(Wn,100),uo()):(clearTimeout(_t),_t=null)},Vi=Zt(null),uo=()=>{XI(()=>{const tn=document.getElementById("agentHome");Vi.value.scrollTop(tn.scrollHeight)})};return _h(()=>{ia.on("createAgent",tn=>{Ui(tn)}),ia.on("queryAgentSessionDetail",tn=>{Et.value=!0,kt(tn)})}),bg(()=>{ia.off("createAgent"),ia.off("queryAgentSessionDetail")}),i1(()=>U.modalObj,(tn,xr)=>{Object.assign(Fe,tn),JSON.stringify(tn)!="{}"},{immediate:!0,deep:!0}),(tn,xr)=>{const Ei=vn("icon-down"),Ni=vn("a-button"),ji=vn("icon-edit"),wa=vn("a-popover"),Oa=vn("a-comment"),Ja=vn("a-textarea"),lo=vn("icon-copy"),Go=vn("icon-refresh"),Sc=vn("icon-record-stop"),zs=vn("a-scrollbar"),Vs=vn("icon-send"),So=vn("a-input"),Rs=vn("a-form-item"),Or=vn("a-form"),$r=vn("a-modal");return zr(),Fn(_s,null,[or("div",F9,[or("div",N9,[or("div",M9,[Qr(wa,{position:"bottom",trigger:"click"},{content:Fr(()=>[Qr(Ni,{type:"text",class:"button",style:{color:"#2a2a2b"},onClick:xr[0]||(xr[0]=jn=>zt())},{icon:Fr(()=>[Qr(ji)]),default:Fr(()=>[xr[7]||(xr[7]=Ya(" 修改名称 "))]),_:1})]),default:Fr(()=>[Qr(Ni,{border:""},{default:Fr(()=>[or("span",T9,xa(Ti(hn).name),1),Qr(Ei,{style:{"margin-left":"4px"}})]),_:1})]),_:1})])])]),Qr(zs,{ref_key:"scrollbar",ref:Vi,id:"agentHome",class:"chat-list",style:{width:"80%",overflow:"auto",height:"calc(100vh - 380px)",margin:"0px auto 20px"}},{default:Fr(()=>[(zr(!0),Fn(_s,null,lc(K.value,(jn,gi)=>(zr(),Fn("div",L9,[jn.role==="user"?(zr(),Ma(Oa,{key:0},{avatar:Fr(()=>xr[8]||(xr[8]=[or("img",{class:"icon-user-jpg",src:SB,alt:"本地图片"},null,-1)])),content:Fr(()=>[or("div",{class:qs({chartUserText:Ir.value==="light"})},xa(jn.content),3)]),_:2},1024)):jn.role==="assistant"?(zr(),Ma(Oa,{key:1},{avatar:Fr(()=>xr[9]||(xr[9]=[or("img",{class:"icon-user-jpg",src:Vp,alt:"本地图片"},null,-1)])),content:Fr(()=>[Qr(Ja,{readonly:"","auto-size":"",modelValue:jn.content,"onUpdate:modelValue":da=>jn.content=da,class:qs({chatItemAnswer:Ir.value==="light"}),style:mu([{backgroundColor:Ir.value==="light"?"#ffffff":"#000000"},{border:"none"}])},null,8,["modelValue","onUpdate:modelValue","class","style"])]),actions:Fr(()=>[gi!=0?(zr(),Fn("span",{key:0,class:"action",onClick:da=>Ji(jn.content)},[Qr(lo),xr[10]||(xr[10]=Ya(" 复制 "))],8,O9)):Ca("",!0),gi!=0&&gi==K.value.length-1?(zr(),Fn("span",{key:1,class:"action",onClick:xr[1]||(xr[1]=da=>yo())},[Qr(Go),xr[11]||(xr[11]=Ya(" 重新生成 "))])):Ca("",!0)]),_:2},1024)):jn.role==="last"?(zr(),Ma(Oa,{key:2},{avatar:Fr(()=>xr[12]||(xr[12]=[or("img",{class:"icon-user-jpg",src:$k,alt:"本地图片"},null,-1)])),content:Fr(()=>[Qr(Ja,{readonly:"","auto-size":"",modelValue:ut.value,"onUpdate:modelValue":xr[2]||(xr[2]=da=>ut.value=da),class:qs({chatItemAnswer:Ir.value==="light"}),style:mu([{backgroundColor:Ir.value==="light"?"#ffffff":"#000000"},{border:"none"}])},null,8,["modelValue","class","style"])]),actions:Fr(()=>[ut.value!=""?(zr(),Fn("div",{key:0,class:"action",onClick:Dn,style:{background:"var(--color-bg-2)",color:"var(--color-primary-light-4)"}},[Qr(Sc),xr[13]||(xr[13]=Ya(" 停止生成 "))])):Ca("",!0)]),_:1})):Ca("",!0)]))),256))]),_:1},512),or("div",P9,[or("div",G9,[Qr(Ja,{modelValue:ar.value,"onUpdate:modelValue":xr[3]||(xr[3]=jn=>ar.value=jn),onKeydown:[Ig(r1(xn,["shift"]),["enter"]),Ig(_a,["enter"])],placeholder:"输入您想了解的内容,Shift+Enter换行,Enter发送","allow-clear":"","show-word-limit":"",disabled:ee.value,class:qs({textItemAnswer:Ir.value==="dark"}),style:mu([{backgroundColor:Ir.value==="light"?"#ffffff":"#000000"},{border:"none"}]),"auto-size":{minRows:12,maxRows:5}},null,8,["modelValue","onKeydown","disabled","class","style"]),or("div",U9,[xr[14]||(xr[14]=or("span",null,null,-1)),Qr(Ni,{disabled:ee.value,onClick:La,type:"text",style:{"border-radius":"24px"},loading:ge.value},{default:Fr(()=>[Qr(Vs,{size:"32",style:{color:"#0960bd"}})]),_:1},8,["disabled","loading"])])]),Qr($r,{visible:Oe.value,"onUpdate:visible":xr[6]||(xr[6]=jn=>Oe.value=jn),title:"修改名称",onBeforeOpen:Wr,onCancel:Cr,footer:!1,"title-align":"start"},{default:Fr(()=>[Qr(Or,{ref:"formRef",rules:nr,model:Ti(hn),onSubmit:Nr},{default:Fr(()=>[Qr(Rs,{field:"name",label:"名称"},{default:Fr(()=>[Qr(So,{modelValue:Ti(hn).name,"onUpdate:modelValue":xr[4]||(xr[4]=jn=>Ti(hn).name=jn),placeholder:"请输入名称"},null,8,["modelValue"])]),_:1}),Qr(Rs,null,{default:Fr(()=>[or("div",j9,[Qr(Ni,{onClick:xr[5]||(xr[5]=jn=>Oe.value=!1)},{default:Fr(()=>xr[15]||(xr[15]=[Ya("取消")])),_:1}),Qr(Ni,{style:{"margin-left":"10px"},type:"primary","html-type":"submit"},{default:Fr(()=>xr[16]||(xr[16]=[Ya("确定")])),_:1})])]),_:1})]),_:1},8,["model"])]),_:1},8,["visible"])])],64)}}});const Y9=zu(H9,[["__scopeId","data-v-d729c12d"]]),J9={__name:"uploadFile",props:{limit:{type:Number,default:6},typeXLse:Boolean,sessionId:String,action:String,url:String},emits:["update:fileList","success","handleRemove","selectFileCallback"],setup(D,{emit:U}){e9();const K=D,ee=U,ge=wA(()=>K.url),Ue=Zt([]),ht=Zt([]),ut=Zt([]);i1(()=>[K.url,K.sessionId],([yr,Le],[sr,Ir])=>{},{deep:!0}),_h(()=>{ge.value&&(Ue.value=ge.value.split(",").map(yr=>({uid:yr,name:yr,status:"done",url:yr}))),ia.on("queryAgent",yr=>{yr?Ue.value.length==1?Ue.value=[]:Ue.value.forEach(Le=>{Le.name!=yr.name&&(Ue.value=[],Ue.value.push(Le))}):Ue.value=[]})});const _t=yr=>{ee("handleRemove"),Ue.value=[]},Jt=yr=>{const Le=ar(ut.value,yr).uniqueToSecond;ut.value=yr.map((sr,Ir)=>({index:Ir,name:sr.name,size:(sr.file.size/1024).toFixed(2)+"K",onFileSelectedLoading:!1,textName:""})),ht.value=yr,ee("selectFileCallback",ut.value,Le),yr.value=[]},ar=(yr,Le)=>{const sr=yr.filter(hn=>!Le.some(Oe=>hn.name==Oe.name)),Ir=Le.filter(hn=>!yr.some(Oe=>Oe.name==hn.name));return{uniqueToFirst:sr,uniqueToSecond:Ir}},Tt=wA(()=>K.type);function Fe(yr){if(Tt)return new Promise(Oe=>{Oe(!0)});let Le=["xlsx","xls"],sr=yr.name.split("."),Ir=sr[sr.length-1];if(!(Le.indexOf(Ir)>=0))ys.warning("只支持上传:xlsx,xls");else return new Promise(Oe=>{Oe(!0)})}return(yr,Le)=>{const sr=vn("icon-attachment"),Ir=vn("a-button"),hn=vn("a-upload");return zr(),Fn("div",null,[Qr(hn,{action:"/",fileList:Ue.value,"onUpdate:fileList":Le[0]||(Le[0]=Oe=>Ue.value=Oe),"auto-upload":!1,accept:yr.xlsx,limit:K.limit,onChange:Jt,onBeforeRemove:_t,onBeforeUpload:Fe,"image-preview":""},{"upload-button":Fr(()=>[Qr(Ir,{type:"text",style:{"border-radius":"24px"},onClick:yr.visibleChange},{default:Fr(()=>[Qr(sr,{size:"28",style:{color:"#0960bd"}})]),_:1},8,["onClick"])]),_:1},8,["fileList","accept","limit"])])}}},tQ="data:image/png;base64,iVBORw0KGg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W7N9L+YKzj91jOC/rEYg7kp4VzriSilgwrWnQThYjURQo+KohMuu97oGQTwve8WzpGudY6InVUwY11pAA9JJDxXS0HoL0Lx0xIkwLd8B2NnINJyVjthWAOsaBPi+ute5uTXb93wu4VqXQBSQa0wl1MiSPemxcLbvAewIge5JR1wO2l37MwgtlQTiqIS5n/+FKYA/ANgM4GERhIHvOUesU89J17rKRHcqCcRaCaPkJUD4wEci/gImpUZTWZGpWAuSntUJaMfL+jCmZF/aDRWO95dsWa0wDRUBBlJlk2FtsGEEGh6C1QrQfwKrKRRp7L++NYti9Uc3p7XI1ojt+RLxuuvcL0ZDbwAAAABJRU5ErkJggg==",iQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAMhJREFUWEftl9ENgkAMhlvf1T2EFWAKdUhhCpjh3MMwQA0mZyL6X0vgNCblEX56Xz+O5MoErmN/E/TMfp8DC5+bentF73BegLF6GkIFaKs9zKRMvBrEEF8A4EAkBTLxBEDffKkBlk0hLBcEkR1gbODUDQcE8QYQO45Glhr4vE84tNWufGzRGJgumBeAKDaWDUD7vR3ADbgBN+AG3IAbcAP/Y8A+Bc1Lmg3MK2tPqwD2UumkdriFh9KfAay18LQOmi/UyWgtIARwB0qMYTCk/+beAAAAAElFTkSuQmCC",aQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjFJREFUWEftl01rE1EUhp8zEUHUZqYgCtqtLirdFEFwYbt0LYobIQWhLgxKJtFldSWYD0t05UKhuPEniAv7AxSpEEFXQkEEIR8oRdqaI5OZSTNJ2knM1YXkrO7Hue957mHOvXOFbitUryPWNWC2Z27vgc8gS7jJlWHWScS51LiB6qNhBHp8hdtk7PygGjsAJT2A1j+CTAWL3yJ8jxVS5nwfrYBM+02KZO1s7FpgByBfncGy1gKBRbL2k0EEKNa15SesohwEzgRAz5myU1yWX3vpdADU5rDkdcu5qfPknNXhAaxFaHrg54O1r9jeSnHnyJfdtMwCZOx5Hvw4xr7tpygXgqBroAu4zrt+EOYBvCiXNMHZxgvgYhD0KyopssmX3RB/ByCMUmqsoHo16CpoCteJlKk5AKSCmzzdk+ZCbRmRmx3jOVy7EPYNANTKIGlfUCqIfuv7wbXL1Zu1TuFOfPKLJ7T8H1ZBeeMEW5vrA1VM6NRRZaMDeKKljeOwWUY5BxyNhTEOEBsR2CXDZjLwTwC8HQxj3SfpyBnoFIgDaeo9cs7diJsRAMKbL5C2ZKnV8gJ2m3GAfrsOb8JBLq+RMzAGGGdgnIFxBv7/DBTqswhv2md791kedwHFzRfr3kvJf7JpYprs4Q/RX7L7dYf9VNs63kvHlDV1EpEZX07XmbRPsiA/owBer1i7BfLQVNy+OiJpMsnH4Vz0deyNlhpX0Ga6RawcMgaj+h4rsUxm4lmn5m/yJdUwNBRPkQAAAABJRU5ErkJggg==";var oQ={exports:{}};(function(D){var U=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
  12. * Prism: Lightweight, robust, elegant syntax highlighting
  13. *
  14. * @license MIT <https://opensource.org/licenses/MIT>
  15. * @author Lea Verou <https://lea.verou.me>
  16. * @namespace
  17. * @public
  18. */var K=function(ee){var ge=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,Ue=0,ht={},ut={manual:ee.Prism&&ee.Prism.manual,disableWorkerMessageHandler:ee.Prism&&ee.Prism.disableWorkerMessageHandler,util:{encode:function Oe(Et){return Et instanceof _t?new _t(Et.type,Oe(Et.content),Et.alias):Array.isArray(Et)?Et.map(Oe):Et.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(Oe){return Object.prototype.toString.call(Oe).slice(8,-1)},objId:function(Oe){return Oe.__id||Object.defineProperty(Oe,"__id",{value:++Ue}),Oe.__id},clone:function Oe(Et,qt){qt=qt||{};var nr,Nr;switch(ut.util.type(Et)){case"Object":if(Nr=ut.util.objId(Et),qt[Nr])return qt[Nr];nr={},qt[Nr]=nr;for(var zt in Et)Et.hasOwnProperty(zt)&&(nr[zt]=Oe(Et[zt],qt));return nr;case"Array":return Nr=ut.util.objId(Et),qt[Nr]?qt[Nr]:(nr=[],qt[Nr]=nr,Et.forEach(function(Cr,Wr){nr[Wr]=Oe(Cr,qt)}),nr);default:return Et}},getLanguage:function(Oe){for(;Oe;){var Et=ge.exec(Oe.className);if(Et)return Et[1].toLowerCase();Oe=Oe.parentElement}return"none"},setLanguage:function(Oe,Et){Oe.className=Oe.className.replace(RegExp(ge,"gi"),""),Oe.classList.add("language-"+Et)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(nr){var Oe=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(nr.stack)||[])[1];if(Oe){var Et=document.getElementsByTagName("script");for(var qt in Et)if(Et[qt].src==Oe)return Et[qt]}return null}},isActive:function(Oe,Et,qt){for(var nr="no-"+Et;Oe;){var Nr=Oe.classList;if(Nr.contains(Et))return!0;if(Nr.contains(nr))return!1;Oe=Oe.parentElement}return!!qt}},languages:{plain:ht,plaintext:ht,text:ht,txt:ht,extend:function(Oe,Et){var qt=ut.util.clone(ut.languages[Oe]);for(var nr in Et)qt[nr]=Et[nr];return qt},insertBefore:function(Oe,Et,qt,nr){nr=nr||ut.languages;var Nr=nr[Oe],zt={};for(var Cr in Nr)if(Nr.hasOwnProperty(Cr)){if(Cr==Et)for(var Wr in qt)qt.hasOwnProperty(Wr)&&(zt[Wr]=qt[Wr]);qt.hasOwnProperty(Cr)||(zt[Cr]=Nr[Cr])}var un=nr[Oe];return nr[Oe]=zt,ut.languages.DFS(ut.languages,function(Ui,Ea){Ea===un&&Ui!=Oe&&(this[Ui]=zt)}),zt},DFS:function Oe(Et,qt,nr,Nr){Nr=Nr||{};var zt=ut.util.objId;for(var Cr in Et)if(Et.hasOwnProperty(Cr)){qt.call(Et,Cr,Et[Cr],nr||Cr);var Wr=Et[Cr],un=ut.util.type(Wr);un==="Object"&&!Nr[zt(Wr)]?(Nr[zt(Wr)]=!0,Oe(Wr,qt,null,Nr)):un==="Array"&&!Nr[zt(Wr)]&&(Nr[zt(Wr)]=!0,Oe(Wr,qt,Cr,Nr))}}},plugins:{},highlightAll:function(Oe,Et){ut.highlightAllUnder(document,Oe,Et)},highlightAllUnder:function(Oe,Et,qt){var nr={callback:qt,container:Oe,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};ut.hooks.run("before-highlightall",nr),nr.elements=Array.prototype.slice.apply(nr.container.querySelectorAll(nr.selector)),ut.hooks.run("before-all-elements-highlight",nr);for(var Nr=0,zt;zt=nr.elements[Nr++];)ut.highlightElement(zt,Et===!0,nr.callback)},highlightElement:function(Oe,Et,qt){var nr=ut.util.getLanguage(Oe),Nr=ut.languages[nr];ut.util.setLanguage(Oe,nr);var zt=Oe.parentElement;zt&&zt.nodeName.toLowerCase()==="pre"&&ut.util.setLanguage(zt,nr);var Cr=Oe.textContent,Wr={element:Oe,language:nr,grammar:Nr,code:Cr};function un(Ea){Wr.highlightedCode=Ea,ut.hooks.run("before-insert",Wr),Wr.element.innerHTML=Wr.highlightedCode,ut.hooks.run("after-highlight",Wr),ut.hooks.run("complete",Wr),qt&&qt.call(Wr.element)}if(ut.hooks.run("before-sanity-check",Wr),zt=Wr.element.parentElement,zt&&zt.nodeName.toLowerCase()==="pre"&&!zt.hasAttribute("tabindex")&&zt.setAttribute("tabindex","0"),!Wr.code){ut.hooks.run("complete",Wr),qt&&qt.call(Wr.element);return}if(ut.hooks.run("before-highlight",Wr),!Wr.grammar){un(ut.util.encode(Wr.code));return}if(Et&&ee.Worker){var Ui=new Worker(ut.filename);Ui.onmessage=function(Ea){un(Ea.data)},Ui.postMessage(JSON.stringify({language:Wr.language,code:Wr.code,immediateClose:!0}))}else un(ut.highlight(Wr.code,Wr.grammar,Wr.language))},highlight:function(Oe,Et,qt){var nr={code:Oe,grammar:Et,language:qt};if(ut.hooks.run("before-tokenize",nr),!nr.grammar)throw new Error('The language "'+nr.language+'" has no grammar.');return nr.tokens=ut.tokenize(nr.code,nr.grammar),ut.hooks.run("after-tokenize",nr),_t.stringify(ut.util.encode(nr.tokens),nr.language)},tokenize:function(Oe,Et){var qt=Et.rest;if(qt){for(var nr in qt)Et[nr]=qt[nr];delete Et.rest}var Nr=new Tt;return Fe(Nr,Nr.head,Oe),ar(Oe,Nr,Et,Nr.head,0),Le(Nr)},hooks:{all:{},add:function(Oe,Et){var qt=ut.hooks.all;qt[Oe]=qt[Oe]||[],qt[Oe].push(Et)},run:function(Oe,Et){var qt=ut.hooks.all[Oe];if(!(!qt||!qt.length))for(var nr=0,Nr;Nr=qt[nr++];)Nr(Et)}},Token:_t};ee.Prism=ut;function _t(Oe,Et,qt,nr){this.type=Oe,this.content=Et,this.alias=qt,this.length=(nr||"").length|0}_t.stringify=function Oe(Et,qt){if(typeof Et=="string")return Et;if(Array.isArray(Et)){var nr="";return Et.forEach(function(un){nr+=Oe(un,qt)}),nr}var Nr={type:Et.type,content:Oe(Et.content,qt),tag:"span",classes:["token",Et.type],attributes:{},language:qt},zt=Et.alias;zt&&(Array.isArray(zt)?Array.prototype.push.apply(Nr.classes,zt):Nr.classes.push(zt)),ut.hooks.run("wrap",Nr);var Cr="";for(var Wr in Nr.attributes)Cr+=" "+Wr+'="'+(Nr.attributes[Wr]||"").replace(/"/g,"&quot;")+'"';return"<"+Nr.tag+' class="'+Nr.classes.join(" ")+'"'+Cr+">"+Nr.content+"</"+Nr.tag+">"};function Jt(Oe,Et,qt,nr){Oe.lastIndex=Et;var Nr=Oe.exec(qt);if(Nr&&nr&&Nr[1]){var zt=Nr[1].length;Nr.index+=zt,Nr[0]=Nr[0].slice(zt)}return Nr}function ar(Oe,Et,qt,nr,Nr,zt){for(var Cr in qt)if(!(!qt.hasOwnProperty(Cr)||!qt[Cr])){var Wr=qt[Cr];Wr=Array.isArray(Wr)?Wr:[Wr];for(var un=0;un<Wr.length;++un){if(zt&&zt.cause==Cr+","+un)return;var Ui=Wr[un],Ea=Ui.inside,Po=!!Ui.lookbehind,Ds=!!Ui.greedy,co=Ui.alias;if(Ds&&!Ui.pattern.global){var kt=Ui.pattern.toString().match(/[imsuy]*$/)[0];Ui.pattern=RegExp(Ui.pattern.source,kt+"g")}for(var Qa=Ui.pattern||Ui,Ji=nr.next,La=Nr;Ji!==Et.tail&&!(zt&&La>=zt.reach);La+=Ji.value.length,Ji=Ji.next){var yo=Ji.value;if(Et.length>Oe.length)return;if(!(yo instanceof _t)){var _a=1,ln;if(Ds){if(ln=Jt(Qa,La,Oe,Po),!ln||ln.index>=Oe.length)break;var xn=ln.index,gn=ln.index+ln[0].length,cn=La;for(cn+=Ji.value.length;xn>=cn;)Ji=Ji.next,cn+=Ji.value.length;if(cn-=Ji.value.length,La=cn,Ji.value instanceof _t)continue;for(var Dn=Ji;Dn!==Et.tail&&(cn<gn||typeof Dn.value=="string");Dn=Dn.next)_a++,cn+=Dn.value.length;_a--,yo=Oe.slice(La,cn),ln.index-=La}else if(ln=Jt(Qa,0,yo,Po),!ln)continue;var xn=ln.index,Wn=ln[0],Vi=yo.slice(0,xn),uo=yo.slice(xn+Wn.length),tn=La+yo.length;zt&&tn>zt.reach&&(zt.reach=tn);var xr=Ji.prev;Vi&&(xr=Fe(Et,xr,Vi),La+=Vi.length),yr(Et,xr,_a);var Ei=new _t(Cr,Ea?ut.tokenize(Wn,Ea):Wn,co,Wn);if(Ji=Fe(Et,xr,Ei),uo&&Fe(Et,Ji,uo),_a>1){var Ni={cause:Cr+","+un,reach:tn};ar(Oe,Et,qt,Ji.prev,La,Ni),zt&&Ni.reach>zt.reach&&(zt.reach=Ni.reach)}}}}}}function Tt(){var Oe={value:null,prev:null,next:null},Et={value:null,prev:Oe,next:null};Oe.next=Et,this.head=Oe,this.tail=Et,this.length=0}function Fe(Oe,Et,qt){var nr=Et.next,Nr={value:qt,prev:Et,next:nr};return Et.next=Nr,nr.prev=Nr,Oe.length++,Nr}function yr(Oe,Et,qt){for(var nr=Et.next,Nr=0;Nr<qt&&nr!==Oe.tail;Nr++)nr=nr.next;Et.next=nr,nr.prev=Et,Oe.length-=Nr}function Le(Oe){for(var Et=[],qt=Oe.head.next;qt!==Oe.tail;)Et.push(qt.value),qt=qt.next;return Et}if(!ee.document)return ee.addEventListener&&(ut.disableWorkerMessageHandler||ee.addEventListener("message",function(Oe){var Et=JSON.parse(Oe.data),qt=Et.language,nr=Et.code,Nr=Et.immediateClose;ee.postMessage(ut.highlight(nr,ut.languages[qt],qt)),Nr&&ee.close()},!1)),ut;var sr=ut.util.currentScript();sr&&(ut.filename=sr.src,sr.hasAttribute("data-manual")&&(ut.manual=!0));function Ir(){ut.manual||ut.highlightAll()}if(!ut.manual){var hn=document.readyState;hn==="loading"||hn==="interactive"&&sr&&sr.defer?document.addEventListener("DOMContentLoaded",Ir):window.requestAnimationFrame?window.requestAnimationFrame(Ir):window.setTimeout(Ir,16)}return ut}(U);D.exports&&(D.exports=K),typeof Iu<"u"&&(Iu.Prism=K),K.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},K.languages.markup.tag.inside["attr-value"].inside.entity=K.languages.markup.entity,K.languages.markup.doctype.inside["internal-subset"].inside=K.languages.markup,K.hooks.add("wrap",function(ee){ee.type==="entity"&&(ee.attributes.title=ee.content.replace(/&amp;/,"&"))}),Object.defineProperty(K.languages.markup.tag,"addInlined",{value:function(ge,Ue){var ht={};ht["language-"+Ue]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:K.languages[Ue]},ht.cdata=/^<!\[CDATA\[|\]\]>$/i;var ut={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:ht}};ut["language-"+Ue]={pattern:/[\s\S]+/,inside:K.languages[Ue]};var _t={};_t[ge]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return ge}),"i"),lookbehind:!0,greedy:!0,inside:ut},K.languages.insertBefore("markup","cdata",_t)}}),Object.defineProperty(K.languages.markup.tag,"addAttribute",{value:function(ee,ge){K.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+ee+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[ge,"language-"+ge],inside:K.languages[ge]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),K.languages.html=K.languages.markup,K.languages.mathml=K.languages.markup,K.languages.svg=K.languages.markup,K.languages.xml=K.languages.extend("markup",{}),K.languages.ssml=K.languages.xml,K.languages.atom=K.languages.xml,K.languages.rss=K.languages.xml,function(ee){var ge=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;ee.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+ge.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+ge.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+ge.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+ge.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:ge,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},ee.languages.css.atrule.inside.rest=ee.languages.css;var Ue=ee.languages.markup;Ue&&(Ue.tag.addInlined("style","css"),Ue.tag.addAttribute("style","css"))}(K),K.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},K.languages.javascript=K.languages.extend("clike",{"class-name":[K.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),K.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,K.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:K.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:K.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:K.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:K.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:K.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),K.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:K.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),K.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),K.languages.markup&&(K.languages.markup.tag.addInlined("script","javascript"),K.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),K.languages.js=K.languages.javascript,function(){if(typeof K>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var ee="Loading…",ge=function(sr,Ir){return"✖ Error "+sr+" while fetching file: "+Ir},Ue="✖ Error: File does not exist or is empty",ht={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},ut="data-src-status",_t="loading",Jt="loaded",ar="failed",Tt="pre[data-src]:not(["+ut+'="'+Jt+'"]):not(['+ut+'="'+_t+'"])';function Fe(sr,Ir,hn){var Oe=new XMLHttpRequest;Oe.open("GET",sr,!0),Oe.onreadystatechange=function(){Oe.readyState==4&&(Oe.status<400&&Oe.responseText?Ir(Oe.responseText):Oe.status>=400?hn(ge(Oe.status,Oe.statusText)):hn(Ue))},Oe.send(null)}function yr(sr){var Ir=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(sr||"");if(Ir){var hn=Number(Ir[1]),Oe=Ir[2],Et=Ir[3];return Oe?Et?[hn,Number(Et)]:[hn,void 0]:[hn,hn]}}K.hooks.add("before-highlightall",function(sr){sr.selector+=", "+Tt}),K.hooks.add("before-sanity-check",function(sr){var Ir=sr.element;if(Ir.matches(Tt)){sr.code="",Ir.setAttribute(ut,_t);var hn=Ir.appendChild(document.createElement("CODE"));hn.textContent=ee;var Oe=Ir.getAttribute("data-src"),Et=sr.language;if(Et==="none"){var qt=(/\.(\w+)$/.exec(Oe)||[,"none"])[1];Et=ht[qt]||qt}K.util.setLanguage(hn,Et),K.util.setLanguage(Ir,Et);var nr=K.plugins.autoloader;nr&&nr.loadLanguages(Et),Fe(Oe,function(Nr){Ir.setAttribute(ut,Jt);var zt=yr(Ir.getAttribute("data-range"));if(zt){var Cr=Nr.split(/\r\n?|\n/g),Wr=zt[0],un=zt[1]==null?Cr.length:zt[1];Wr<0&&(Wr+=Cr.length),Wr=Math.max(0,Math.min(Wr-1,Cr.length)),un<0&&(un+=Cr.length),un=Math.max(0,Math.min(un,Cr.length)),Nr=Cr.slice(Wr,un).join(`
  19. `),Ir.hasAttribute("data-start")||Ir.setAttribute("data-start",String(Wr+1))}hn.textContent=Nr,K.highlightElement(hn)},function(Nr){Ir.setAttribute(ut,ar),hn.textContent=Nr})}}),K.plugins.fileHighlight={highlight:function(Ir){for(var hn=(Ir||document).querySelectorAll(Tt),Oe=0,Et;Et=hn[Oe++];)K.highlightElement(Et)}};var Le=!1;K.fileHighlight=function(){Le||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),Le=!0),K.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(oQ);var q9=oQ.exports;const W9=n1(q9);const K9={class:"header___section"},z9={class:"chatHeader"},V9={class:"chatHeaderBox"},Z9={style:{width:"100px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},X9={class:"chat-item"},$9={key:0},e6={key:1},t6={class:"codeStle"},r6={class:"language"},n6={style:{background:"#2c2c36",padding:"10px","margin-top":"0","margin-bottom":"0"}},i6={class:"language-js line-numbers"},a6={key:1,class:"uploadFileList fileList"},o6=["src"],s6={key:2,class:"prompt"},c6=["onClick"],u6={style:{"margin-left":"20px"}},l6=["onClick"],A6=["onClick"],h6=["onClick"],f6=["onClick"],d6={class:"chat_bottom"},g6={class:"center-bottom"},p6={style:{width:"100%",display:"flex","justify-content":"space-between"},class:"uploadFileDis"},v6={key:0},m6={key:0,class:"uploadFileList"},y6={style:{"font-size":"12px"}},I6=["src"],b6={style:{width:"100%","text-align":"right"}},C6=Of({__name:"seniorAgentSession",props:{modalObj:Object},setup(D){const U=D,K=X5(),ee=Zt([{content:"你好! 我是你的助理,有什么可以帮到你的吗?",role:"assistant"}]),ge=K.hrefUrl;Zt([]),Ta({}),Zt("");const Ue=Zt(!1),ht=Zt(!1),ut=Zt("未命名会话"),_t=Zt(0),Jt=Zt("");let ar=null;const Tt=Zt(""),Fe=Zt(""),yr=Zt(""),Le=Zt(""),sr=Ta({}),Ir=Zt(""),hn=Zt(!1);Zt([]),Zt(""),Zt({});let Oe=Ta({});const Et=Zt(!1),qt=xB();Ta({});const nr=Zt([]),Nr=Zt([]),zt=wA(()=>qt.theme);let Cr=Ta({name:"未命名会话"});const Wr=Zt(!1);let un=Zt(!1),Ui=Ta({});const Ea=Ta({}),Po={name:[{required:!0,message:"名称不允许为空"}]},Ds=Or=>!!/\$([a-z]+)\$/g.test(Or),co=Or=>{let $r=[],jn,gi=0,da="",Sr=Or.content.match(/\$([a-z]+)\$/g);return Sr==null||Sr.map(br=>{let Ln=Or.content.indexOf(br);br=="$metadata$"&&(jn=Or.metadata),br=="$sql$"&&(jn=Or.sql),br=="$code$"&&(jn=Or.code),$r.push({index:Ln,item:br,preIndex:gi,preItem:da,tip_content:jn,len:Sr.length}),gi=Ln,da=br}),$r},kt=async({values:Or,errors:$r})=>{if($r)return;let jn={id:Le.value,conversation_id:Le.value,name:Cr.name};const{code:gi,data:da}=await Qh(jn);da&&(ys.success("修改成功"),Ji())},Qa=()=>{Wr.value=!0},Ji=()=>{Wr.value=!1},La=Or=>{},yo=async()=>{},_a=async Or=>{ee.value=[{content:"你好! 我是你的助理,有什么可以帮到你的吗?",role:"assistant"}],Nr.value=Or.prompts,yr.value="",ia.emit("queryAgent",nr.value),nr.value=[],console.log(12123),Dn(Or.id),Object.assign(sr,Or),Cr.name=Or.name;const $r=Or.prompt_config;$r!=null&&$r.prologue&&(ee.value[0].content=$r.prologue),un.value=!1,yo()},ln=Or=>{const $r=Or==null?void 0:Or.image_name;if($r)return ge+"/api/v1/advanced-agent/download?file_id="+$r+"&app_id=excel_talk&file_type=image"},gn=async Or=>{const{code:$r,data:jn}=await pg(Or);$r==200&&(console.log(jn,"agent会话详情"),Object.assign(Oe,jn),ee.value=jn.message,ut.value=`${jn.name}`||"未命名会话",Cr.name=`${jn.name}`||"未命名会话",Rs())},cn=Or=>{Fe.value=Or},Dn=Or=>{Or=="excel_talk"&&(hn.value=!1),Or=="questions_talk"&&(hn.value=!0)},xn=async Or=>{Le.value=Or.id,yr.value=Or.id,Ir.value=Or.dialog_id,ia.emit("queryAgent",nr.value),nr.value=[],Dn(Or.dialog_id),Cr.name=Or.name,gn(yr.value)},{toClipboard:Wn}=DB(),Vi=async Or=>{await Wn(Or)},uo=()=>{xr("click"),nr.value=[]},tn=()=>{let Or=ee.value[ee.value.length-2].content;lo(Or)},xr=async Or=>{(Or.keyCode==13||Or==="click")&&(Or.shiftKey||(Or!=="click"&&Or.preventDefault(),Fe.value?(Ei(""),nr.value=[]):(ys.warning("消息不能为空"),Ue.value=!1,ht.value=!1)))},Ei=async Or=>{var $r;try{ht.value=!0,Ue.value=!0;let jn=Fe.value;if(Or&&(jn=Or[0].name.split(".")[0]),yr.value)lo(Fe.value),Fe.value="";else{let gi=[{content:ee.value[0].content,role:"assistant"}];const da=await A9({id:"",app_id:sr.id,name:jn,message:gi});da.code==200&&(yr.value=($r=da.data)==null?void 0:$r.id,Or?(ht.value=!1,Ue.value=!1):(lo(Fe.value),Fe.value="",nr.value=[]))}}catch{ys.error("创建会话失败,请重试"),ht.value=!1,Ue.value=!1}},Ni=async Or=>{await Y5({url:"/api/v1/advanced-agent/download?file_id="+Or.filename})},ji=async Or=>{await Y5({url:"/api/v1/advanced-agent/download?file_id="+Or.excel_name+"&app_id=excel_talk&file_type=excel"})},wa=async(Or,$r)=>{console.log(111);try{const jn=new FormData;nr.value=Or,nr.value.map(Sr=>(Sr.name==$r[0].file.name&&(Sr.onFileSelectedLoading=!0,Sr.textName="上传中"),Sr)),yr.value||await Ei(Or),jn.append("files",$r[0].file),jn.append("conversation_id",yr.value),jn.append("app_id",sr.id),console.log(jn,"formData");const{data:gi,code:da}=await h9(jn);da===200&&nr.value.map(Sr=>(Sr.onFileSelectedLoading=!1,Sr.textName="上传成功",Sr))}catch{nr.value.map(gi=>(gi.onFileSelectedLoading=!1,gi.textName="上传失败",gi)),ys.error("上传失败")}},Oa=Or=>{console.log(nr.value),nr.value.splice(Or.index,1),ia.emit("queryAgent",Or)},Ja=wA(()=>Or=>{const $r=Zt("");switch($r.value=Or.split(".").pop(),$r.value){case"pptx":case"ppt":case"pdf":return tQ;case"docx":case"doc":case"wps":return rQ;case"xlsx":case"xls":return nQ;case"txt":return iQ;default:return aQ}}),lo=async Or=>{var Sr;ee.value.push({content:Or,role:"user"}),ee.value.push({role:"last"}),Rs();let $r={id:yr.value,message:Or,app_id:sr.id};un.value&&($r.dsl=Ui);const jn=await fetch("/api/v1/advanced-agent/completion",{method:"POST",headers:{Authorization:JI(),"Content-Type":"application/json"},body:JSON.stringify($r)}),gi=(Sr=jn==null?void 0:jn.body)==null?void 0:Sr.pipeThrough(new TextDecoderStream).pipeThrough(new qI).getReader();_t.value=0;let da={};for(;;){const br=await(gi==null?void 0:gi.read());if(br){const{done:Ln,value:Ai}=br;if(console.log(br,999),ht.value=!1,Ai&&(Ai==null?void 0:Ai.event)=="message")try{const ei=JSON.parse((Ai==null?void 0:Ai.data)||""),Li=ei==null?void 0:ei.data;if(typeof Li!="boolean"){if(console.info("data:",Li),Li!=null&&Li.content){let lr=Li.content;lr=lr.replace("$metadata$",Li.metadata),Li.content.includes("$sql$")&&(lr=lr.replace("$sql$",Li.sql)),Li.content.includes("$code$")&&(lr=lr.replace("$code$",Li.code)),da=Li,Tt.value=lr}ia.emit("queryAgent",nr.value),Vs()}}catch(ei){console.warn(ei)}if(Ln){console.info("done"),Oe!=null&&Oe.message||(Oe.message=[]),Oe.message.push(da),await c9({converson_id:yr.value,message:Oe.message}),Sc(Ea);break}}}Ue.value=!1},Go=async()=>{ht.value=!1,Ue.value=!1,Et.value=!0;let $r=[{content:ee.value[ee.value.length-2].content,role:"user"},{content:Jt.value,role:"assistant"}];ee.value=ee.value.splice(0,ee.value.length-2).concat($r),Oe.dsl.messages=Oe.dsl.messages.concat($r),Object.assign(Ea,{id:Oe.id,conversation_id:Oe.id,message:ee.value})},Sc=async Or=>{const{code:$r,data:jn}=await Qh(Or);jn&&(clearTimeout(ar),ar=null,gn(yr.value))},zs=Or=>{Or.preventDefault(),Fe.value+=`
  20. `},Vs=()=>{ar&&clearTimeout(ar);const Or=Tt.value;_t.value<Or.length?(Jt.value+=Or[_t.value],_t.value++,setTimeout(Vs,50),Rs()):(clearTimeout(ar),ar=null)},So=Zt(null),Rs=()=>{XI(()=>{const Or=document.getElementById("chatAgentHome");Or&&(Or.scrollTop=Or.scrollHeight),So.scrollTop(Or.scrollHeight)})};return _h(()=>{ia.on("createSeniorAgent",Or=>{_a(Or)}),ia.on("queryAgentSessionDetails",Or=>{un.value=!0,xn(Or)}),setTimeout(()=>{W9.highlightAll()},1e3)}),bg(()=>{ia.off("createSeniorAgent"),ia.off("queryAgentSessionDetails")}),i1(()=>U.modalObj,(Or,$r)=>{JSON.stringify(Or)!="{}"},{immediate:!0,deep:!0}),(Or,$r)=>{const jn=vn("icon-down"),gi=vn("a-button"),da=vn("icon-edit"),Sr=vn("a-popover"),br=vn("a-comment"),Ln=vn("a-image"),Ai=vn("icon-right"),ei=vn("icon-copy"),Li=vn("icon-refresh"),lr=vn("icon-to-bottom"),Lt=vn("a-textarea"),ro=vn("a-spin"),Is=vn("icon-record-stop"),Fs=vn("icon-send"),Zc=vn("icon-sync"),Eu=vn("icon-close-circle-fill"),Xc=vn("a-input"),$c=vn("a-form-item"),_c=vn("a-form"),wu=vn("a-modal");return zr(),Fn(_s,null,[or("div",K9,[or("div",z9,[or("div",V9,[Qr(Sr,{position:"bottom",trigger:"click"},{content:Fr(()=>[Qr(gi,{type:"text",class:"button",style:{color:"#2a2a2b"},onClick:$r[0]||($r[0]=Sn=>Qa())},{icon:Fr(()=>[Qr(da)]),default:Fr(()=>[$r[7]||($r[7]=Ya(" 修改名称 "))]),_:1})]),default:Fr(()=>[Qr(gi,{border:""},{default:Fr(()=>[or("span",Z9,xa(Ti(Cr).name),1),Qr(jn,{style:{"margin-left":"4px"}})]),_:1})]),_:1})])])]),or("div",{ref_key:"scrollbar",ref:So,id:"chatAgentHome",class:"chat-list",style:{width:"80%",overflow:"auto",height:"calc(100vh - 400px)",margin:"0px auto 20px"}},[(zr(!0),Fn(_s,null,lc(ee.value,(Sn,Zs)=>(zr(),Fn("div",X9,[(Sn==null?void 0:Sn.role)==="user"?(zr(),Ma(br,{key:0},{avatar:Fr(()=>$r[8]||($r[8]=[or("img",{class:"icon-user-jpg",src:SB,alt:"本地图片"},null,-1)])),content:Fr(()=>[or("div",{class:qs({chartUserText:zt.value==="light"})},xa(Sn.content),3)]),_:2},1024)):(Sn==null?void 0:Sn.role)==="assistant"?(zr(),Ma(br,{key:1},{avatar:Fr(()=>$r[9]||($r[9]=[or("img",{class:"icon-user-jpg",src:Vp,alt:"本地图片"},null,-1)])),content:Fr(()=>[Ds(Sn.content)?(zr(),Fn("div",{key:0,class:qs({chartUserText:zt.value==="light"})},[(zr(!0),Fn(_s,null,lc(co(Sn),(ga,Bu)=>(zr(),Fn("div",null,[ga.preIndex==0?(zr(),Fn("span",$9,xa(Sn.content.substring(0,ga.index)),1)):(zr(),Fn("span",e6,xa(Sn.content.substring(ga.preIndex+ga.preItem.length,ga.index)),1)),or("div",t6,[or("div",r6,xa(ga.item),1),or("pre",n6,[or("code",i6,xa(ga==null?void 0:ga.tip_content),1)])])]))),256))],2)):(zr(),Fn("div",{key:1,class:qs({chartUserText:zt.value==="light"})},xa(Sn.content),3)),or("div",null,[Sn!=null&&Sn.image_name?(zr(),Ma(Ln,{key:0,src:ln(Sn),alt:""},null,8,["src"])):Ca("",!0),Sn!=null&&Sn.excel_name?(zr(),Fn("div",a6,[Qr(br,{content:Sn.excel_name,style:{background:"var(--color-bg-2)",padding:"10px","border-radius":"10px","font-size":"12px"}},{avatar:Fr(()=>[or("img",{src:Ja.value("xlsx"),alt:""},null,8,o6)]),_:2},1032,["content"])])):Ca("",!0)]),yr.value?Ca("",!0):(zr(),Fn("div",s6,[or("ul",null,[(zr(!0),Fn(_s,null,lc(Nr.value,(ga,Bu)=>(zr(),Fn("li",{class:"prompt-item",onClick:Zu=>cn(ga),key:Bu},[or("span",null,xa(ga),1),or("span",u6,[Qr(Ai)])],8,c6))),128))])])),$r[10]||($r[10]=or("div",null,null,-1))]),actions:Fr(()=>[Zs!=0&&(Sn!=null&&Sn.content)?(zr(),Fn("span",{key:0,class:"action",onClick:ga=>Vi(Sn.content)},[Qr(ei),$r[11]||($r[11]=Ya(" 复制 "))],8,l6)):Ca("",!0),Zs!=0&&(Sn!=null&&Sn.code)?(zr(),Fn("span",{key:1,class:"action",onClick:ga=>Vi(Sn.code+Sn.sql)},[Qr(ei),$r[12]||($r[12]=Ya(" 复制 "))],8,A6)):Ca("",!0),Zs!=0&&Zs==ee.value.length-1?(zr(),Fn("span",{key:2,class:"action",onClick:$r[1]||($r[1]=ga=>tn())},[Qr(Li),$r[13]||($r[13]=Ya(" 重新生成 "))])):Ca("",!0),Sn.filename?(zr(),Fn("span",{key:3,class:"action",onClick:ga=>Ni(Sn)},[Qr(lr),$r[14]||($r[14]=Ya("下载 "))],8,h6)):Ca("",!0),Sn!=null&&Sn.excel_name?(zr(),Fn("span",{key:4,class:"action",onClick:ga=>ji(Sn)},[Qr(lr),$r[15]||($r[15]=Ya("下载 "))],8,f6)):Ca("",!0)]),_:2},1024)):(Sn==null?void 0:Sn.role)==="last"?(zr(),Ma(br,{key:2},{avatar:Fr(()=>$r[16]||($r[16]=[or("img",{class:"icon-user-jpg",src:Vp,alt:"本地图片"},null,-1)])),content:Fr(()=>[Qr(ro,{loading:ht.value,dot:"",style:{width:"100%"}},{default:Fr(()=>[Qr(Lt,{readonly:"","auto-size":"",modelValue:Jt.value,"onUpdate:modelValue":$r[2]||($r[2]=ga=>Jt.value=ga),class:qs({chatItemAnswer:zt.value==="light"}),style:mu([{backgroundColor:zt.value==="light"?"#ffffff":"#000000"},{border:"none"}])},null,8,["modelValue","class","style"])]),_:1},8,["loading"])]),actions:Fr(()=>[Jt.value!=""?(zr(),Fn("div",{key:0,class:"action",onClick:Go,style:{background:"var(--color-bg-2)",color:"var(--color-primary-light-4)"}},[Qr(Is),$r[17]||($r[17]=Ya(" 停止生成 "))])):Ca("",!0)]),_:1})):Ca("",!0)]))),256))],512),or("div",d6,[or("div",g6,[Qr(Lt,{modelValue:Fe.value,"onUpdate:modelValue":$r[3]||($r[3]=Sn=>Fe.value=Sn),onKeydown:[Ig(r1(zs,["shift"]),["enter"]),Ig(xr,["enter"])],placeholder:"输入您想了解的内容,Shift+Enter换行,Enter发送","allow-clear":"","show-word-limit":"",disabled:Ue.value,class:qs({textItemAnswer:zt.value==="dark"}),style:mu([{backgroundColor:zt.value==="light"?"#ffffff":"#000000"},{border:"none"}]),"auto-size":{minRows:12,maxRows:5}},null,8,["modelValue","onKeydown","disabled","class","style"]),or("div",p6,[hn.value?(zr(),Fn("span",v6)):Ca("",!0),hn.value?Ca("",!0):(zr(),Ma(J9,{key:1,ref:"fileInput",sessionId:yr.value,handleRemove:Or.handleRemove,typeXLse:!1,onSelectFileCallback:wa},null,8,["sessionId","handleRemove"])),Qr(gi,{disabled:Ue.value,onClick:uo,type:"text",style:{"border-radius":"24px"},loading:ht.value},{default:Fr(()=>[Qr(Fs,{size:"32",style:{color:"#0960bd"}})]),_:1},8,["disabled","loading"])])]),nr.value.length>0?(zr(),Fn("div",m6,[(zr(!0),Fn(_s,null,lc(nr.value,(Sn,Zs)=>(zr(),Fn("div",{class:"files",key:Zs,style:{position:"relative",width:"220px","margin-top":"10px","margin-right":"20px"}},[Qr(br,{author:Sn.name,content:Sn.size,style:{background:"var(--color-bg-2)",padding:"10px","border-radius":"10px","font-size":"12px"}},{avatar:Fr(()=>[Sn.onFileSelectedLoading?(zr(),Ma(ro,{key:0,loading:Sn.onFileSelectedLoading},{icon:Fr(()=>[Qr(Zc)]),tip:Fr(()=>[or("div",y6,xa(Sn.textName),1)]),_:2},1032,["loading"])):Ca("",!0),or("img",{src:Ja.value(Sn.name),alt:""},null,8,I6),wh(or("div",{style:{"font-size":"12px"}},xa(Sn.textName),513),[[Bh,!Sn.onFileSelectedLoading]])]),_:2},1032,["author","content"]),Qr(Eu,{size:"18px",onClick:ga=>Oa(Sn),style:{position:"absolute",right:"-4px",top:"-4px",color:"red",cursor:"pointer"}},null,8,["onClick"])]))),128))])):Ca("",!0),Qr(wu,{visible:Wr.value,"onUpdate:visible":$r[6]||($r[6]=Sn=>Wr.value=Sn),title:"修改名称",onBeforeOpen:La,onCancel:Ji,footer:!1,"title-align":"start"},{default:Fr(()=>[Qr(_c,{ref:"formRef",rules:Po,model:Ti(Cr),onSubmit:kt},{default:Fr(()=>[Qr($c,{field:"name",label:"名称"},{default:Fr(()=>[Qr(Xc,{modelValue:Ti(Cr).name,"onUpdate:modelValue":$r[4]||($r[4]=Sn=>Ti(Cr).name=Sn),placeholder:"请输入名称"},null,8,["modelValue"])]),_:1}),Qr($c,null,{default:Fr(()=>[or("div",b6,[Qr(gi,{onClick:$r[5]||($r[5]=Sn=>Wr.value=!1)},{default:Fr(()=>$r[18]||($r[18]=[Ya("取消")])),_:1}),Qr(gi,{style:{"margin-left":"10px"},type:"primary","html-type":"submit"},{default:Fr(()=>$r[19]||($r[19]=[Ya("确定")])),_:1})])]),_:1})]),_:1},8,["model"])]),_:1},8,["visible"])])],64)}}});const E6=zu(C6,[["__scopeId","data-v-0634e1b0"]]);//! moment.js
  21. //! version : 2.30.1
  22. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  23. //! license : MIT
  24. //! momentjs.com
  25. var sQ;function yn(){return sQ.apply(null,arguments)}function w6(D){sQ=D}function Wu(D){return D instanceof Array||Object.prototype.toString.call(D)==="[object Array]"}function Lf(D){return D!=null&&Object.prototype.toString.call(D)==="[object Object]"}function aa(D,U){return Object.prototype.hasOwnProperty.call(D,U)}function RB(D){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(D).length===0;var U;for(U in D)if(aa(D,U))return!1;return!0}function xc(D){return D===void 0}function BA(D){return typeof D=="number"||Object.prototype.toString.call(D)==="[object Number]"}function a1(D){return D instanceof Date||Object.prototype.toString.call(D)==="[object Date]"}function cQ(D,U){var K=[],ee,ge=D.length;for(ee=0;ee<ge;++ee)K.push(U(D[ee],ee));return K}function kh(D,U){for(var K in U)aa(U,K)&&(D[K]=U[K]);return aa(U,"toString")&&(D.toString=U.toString),aa(U,"valueOf")&&(D.valueOf=U.valueOf),D}function Fl(D,U,K,ee){return DQ(D,U,K,ee,!0).utc()}function B6(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function xi(D){return D._pf==null&&(D._pf=B6()),D._pf}var bB;Array.prototype.some?bB=Array.prototype.some:bB=function(D){var U=Object(this),K=U.length>>>0,ee;for(ee=0;ee<K;ee++)if(ee in U&&D.call(this,U[ee],ee,U))return!0;return!1};function FB(D){var U=null,K=!1,ee=D._d&&!isNaN(D._d.getTime());if(ee&&(U=xi(D),K=bB.call(U.parsedDateParts,function(ge){return ge!=null}),ee=U.overflow<0&&!U.empty&&!U.invalidEra&&!U.invalidMonth&&!U.invalidWeekday&&!U.weekdayMismatch&&!U.nullInput&&!U.invalidFormat&&!U.userInvalidated&&(!U.meridiem||U.meridiem&&K),D._strict&&(ee=ee&&U.charsLeftOver===0&&U.unusedTokens.length===0&&U.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(D))D._isValid=ee;else return ee;return D._isValid}function $I(D){var U=Fl(NaN);return D!=null?kh(xi(U),D):xi(U).userInvalidated=!0,U}var q5=yn.momentProperties=[],gB=!1;function NB(D,U){var K,ee,ge,Ue=q5.length;if(xc(U._isAMomentObject)||(D._isAMomentObject=U._isAMomentObject),xc(U._i)||(D._i=U._i),xc(U._f)||(D._f=U._f),xc(U._l)||(D._l=U._l),xc(U._strict)||(D._strict=U._strict),xc(U._tzm)||(D._tzm=U._tzm),xc(U._isUTC)||(D._isUTC=U._isUTC),xc(U._offset)||(D._offset=U._offset),xc(U._pf)||(D._pf=xi(U)),xc(U._locale)||(D._locale=U._locale),Ue>0)for(K=0;K<Ue;K++)ee=q5[K],ge=U[ee],xc(ge)||(D[ee]=ge);return D}function o1(D){NB(this,D),this._d=new Date(D._d!=null?D._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),gB===!1&&(gB=!0,yn.updateOffset(this),gB=!1)}function Ku(D){return D instanceof o1||D!=null&&D._isAMomentObject!=null}function uQ(D){yn.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+D)}function bu(D,U){var K=!0;return kh(function(){if(yn.deprecationHandler!=null&&yn.deprecationHandler(null,D),K){var ee=[],ge,Ue,ht,ut=arguments.length;for(Ue=0;Ue<ut;Ue++){if(ge="",typeof arguments[Ue]=="object"){ge+=`
  26. [`+Ue+"] ";for(ht in arguments[0])aa(arguments[0],ht)&&(ge+=ht+": "+arguments[0][ht]+", ");ge=ge.slice(0,-2)}else ge=arguments[Ue];ee.push(ge)}uQ(D+`
  27. Arguments: `+Array.prototype.slice.call(ee).join("")+`
  28. `+new Error().stack),K=!1}return U.apply(this,arguments)},U)}var W5={};function lQ(D,U){yn.deprecationHandler!=null&&yn.deprecationHandler(D,U),W5[D]||(uQ(U),W5[D]=!0)}yn.suppressDeprecationWarnings=!1;yn.deprecationHandler=null;function Nl(D){return typeof Function<"u"&&D instanceof Function||Object.prototype.toString.call(D)==="[object Function]"}function Q6(D){var U,K;for(K in D)aa(D,K)&&(U=D[K],Nl(U)?this[K]=U:this["_"+K]=U);this._config=D,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function CB(D,U){var K=kh({},D),ee;for(ee in U)aa(U,ee)&&(Lf(D[ee])&&Lf(U[ee])?(K[ee]={},kh(K[ee],D[ee]),kh(K[ee],U[ee])):U[ee]!=null?K[ee]=U[ee]:delete K[ee]);for(ee in D)aa(D,ee)&&!aa(U,ee)&&Lf(D[ee])&&(K[ee]=kh({},K[ee]));return K}function MB(D){D!=null&&this.set(D)}var EB;Object.keys?EB=Object.keys:EB=function(D){var U,K=[];for(U in D)aa(D,U)&&K.push(U);return K};var k6={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function x6(D,U,K){var ee=this._calendar[D]||this._calendar.sameElse;return Nl(ee)?ee.call(U,K):ee}function Rl(D,U,K){var ee=""+Math.abs(D),ge=U-ee.length,Ue=D>=0;return(Ue?K?"+":"":"-")+Math.pow(10,Math.max(0,ge)).toString().substr(1)+ee}var TB=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,GI=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,pB={},vg={};function qn(D,U,K,ee){var ge=ee;typeof ee=="string"&&(ge=function(){return this[ee]()}),D&&(vg[D]=ge),U&&(vg[U[0]]=function(){return Rl(ge.apply(this,arguments),U[1],U[2])}),K&&(vg[K]=function(){return this.localeData().ordinal(ge.apply(this,arguments),D)})}function S6(D){return D.match(/\[[\s\S]/)?D.replace(/^\[|\]$/g,""):D.replace(/\\/g,"")}function _6(D){var U=D.match(TB),K,ee;for(K=0,ee=U.length;K<ee;K++)vg[U[K]]?U[K]=vg[U[K]]:U[K]=S6(U[K]);return function(ge){var Ue="",ht;for(ht=0;ht<ee;ht++)Ue+=Nl(U[ht])?U[ht].call(ge,D):U[ht];return Ue}}function jI(D,U){return D.isValid()?(U=AQ(U,D.localeData()),pB[U]=pB[U]||_6(U),pB[U](D)):D.localeData().invalidDate()}function AQ(D,U){var K=5;function ee(ge){return U.longDateFormat(ge)||ge}for(GI.lastIndex=0;K>=0&&GI.test(D);)D=D.replace(GI,ee),GI.lastIndex=0,K-=1;return D}var D6={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function R6(D){var U=this._longDateFormat[D],K=this._longDateFormat[D.toUpperCase()];return U||!K?U:(this._longDateFormat[D]=K.match(TB).map(function(ee){return ee==="MMMM"||ee==="MM"||ee==="DD"||ee==="dddd"?ee.slice(1):ee}).join(""),this._longDateFormat[D])}var F6="Invalid date";function N6(){return this._invalidDate}var M6="%d",T6=/\d{1,2}/;function L6(D){return this._ordinal.replace("%d",D)}var O6={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function P6(D,U,K,ee){var ge=this._relativeTime[K];return Nl(ge)?ge(D,U,K,ee):ge.replace(/%d/i,D)}function G6(D,U){var K=this._relativeTime[D>0?"future":"past"];return Nl(K)?K(U):K.replace(/%s/i,U)}var K5={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Cu(D){return typeof D=="string"?K5[D]||K5[D.toLowerCase()]:void 0}function LB(D){var U={},K,ee;for(ee in D)aa(D,ee)&&(K=Cu(ee),K&&(U[K]=D[ee]));return U}var U6={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function j6(D){var U=[],K;for(K in D)aa(D,K)&&U.push({unit:K,priority:U6[K]});return U.sort(function(ee,ge){return ee.priority-ge.priority}),U}var hQ=/\d/,Vc=/\d\d/,fQ=/\d{3}/,OB=/\d{4}/,e2=/[+-]?\d{6}/,to=/\d\d?/,dQ=/\d\d\d\d?/,gQ=/\d\d\d\d\d\d?/,t2=/\d{1,3}/,PB=/\d{1,4}/,r2=/[+-]?\d{1,6}/,Cg=/\d+/,n2=/[+-]?\d+/,H6=/Z|[+-]\d\d:?\d\d/gi,i2=/Z|[+-]\d\d(?::?\d\d)?/gi,Y6=/[+-]?\d+(\.\d{1,3})?/,s1=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Eg=/^[1-9]\d?/,GB=/^([1-9]\d|\d)/,WI;WI={};function Qn(D,U,K){WI[D]=Nl(U)?U:function(ee,ge){return ee&&K?K:U}}function J6(D,U){return aa(WI,D)?WI[D](U._strict,U._locale):new RegExp(q6(D))}function q6(D){return CA(D.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(U,K,ee,ge,Ue){return K||ee||ge||Ue}))}function CA(D){return D.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function yu(D){return D<0?Math.ceil(D)||0:Math.floor(D)}function Gi(D){var U=+D,K=0;return U!==0&&isFinite(U)&&(K=yu(U)),K}var wB={};function Sa(D,U){var K,ee=U,ge;for(typeof D=="string"&&(D=[D]),BA(U)&&(ee=function(Ue,ht){ht[U]=Gi(Ue)}),ge=D.length,K=0;K<ge;K++)wB[D[K]]=ee}function c1(D,U){Sa(D,function(K,ee,ge,Ue){ge._w=ge._w||{},U(K,ge._w,ge,Ue)})}function W6(D,U,K){U!=null&&aa(wB,D)&&wB[D](U,K._a,K,D)}function a2(D){return D%4===0&&D%100!==0||D%400===0}var Ws=0,IA=1,Dl=2,os=3,qu=4,bA=5,Tf=6,K6=7,z6=8;qn("Y",0,0,function(){var D=this.year();return D<=9999?Rl(D,4):"+"+D});qn(0,["YY",2],0,function(){return this.year()%100});qn(0,["YYYY",4],0,"year");qn(0,["YYYYY",5],0,"year");qn(0,["YYYYYY",6,!0],0,"year");Qn("Y",n2);Qn("YY",to,Vc);Qn("YYYY",PB,OB);Qn("YYYYY",r2,e2);Qn("YYYYYY",r2,e2);Sa(["YYYYY","YYYYYY"],Ws);Sa("YYYY",function(D,U){U[Ws]=D.length===2?yn.parseTwoDigitYear(D):Gi(D)});Sa("YY",function(D,U){U[Ws]=yn.parseTwoDigitYear(D)});Sa("Y",function(D,U){U[Ws]=parseInt(D,10)});function zp(D){return a2(D)?366:365}yn.parseTwoDigitYear=function(D){return Gi(D)+(Gi(D)>68?1900:2e3)};var pQ=wg("FullYear",!0);function V6(){return a2(this.year())}function wg(D,U){return function(K){return K!=null?(vQ(this,D,K),yn.updateOffset(this,U),this):Zp(this,D)}}function Zp(D,U){if(!D.isValid())return NaN;var K=D._d,ee=D._isUTC;switch(U){case"Milliseconds":return ee?K.getUTCMilliseconds():K.getMilliseconds();case"Seconds":return ee?K.getUTCSeconds():K.getSeconds();case"Minutes":return ee?K.getUTCMinutes():K.getMinutes();case"Hours":return ee?K.getUTCHours():K.getHours();case"Date":return ee?K.getUTCDate():K.getDate();case"Day":return ee?K.getUTCDay():K.getDay();case"Month":return ee?K.getUTCMonth():K.getMonth();case"FullYear":return ee?K.getUTCFullYear():K.getFullYear();default:return NaN}}function vQ(D,U,K){var ee,ge,Ue,ht,ut;if(!(!D.isValid()||isNaN(K))){switch(ee=D._d,ge=D._isUTC,U){case"Milliseconds":return void(ge?ee.setUTCMilliseconds(K):ee.setMilliseconds(K));case"Seconds":return void(ge?ee.setUTCSeconds(K):ee.setSeconds(K));case"Minutes":return void(ge?ee.setUTCMinutes(K):ee.setMinutes(K));case"Hours":return void(ge?ee.setUTCHours(K):ee.setHours(K));case"Date":return void(ge?ee.setUTCDate(K):ee.setDate(K));case"FullYear":break;default:return}Ue=K,ht=D.month(),ut=D.date(),ut=ut===29&&ht===1&&!a2(Ue)?28:ut,ge?ee.setUTCFullYear(Ue,ht,ut):ee.setFullYear(Ue,ht,ut)}}function Z6(D){return D=Cu(D),Nl(this[D])?this[D]():this}function X6(D,U){if(typeof D=="object"){D=LB(D);var K=j6(D),ee,ge=K.length;for(ee=0;ee<ge;ee++)this[K[ee].unit](D[K[ee].unit])}else if(D=Cu(D),Nl(this[D]))return this[D](U);return this}function $6(D,U){return(D%U+U)%U}var Oo;Array.prototype.indexOf?Oo=Array.prototype.indexOf:Oo=function(D){var U;for(U=0;U<this.length;++U)if(this[U]===D)return U;return-1};function UB(D,U){if(isNaN(D)||isNaN(U))return NaN;var K=$6(U,12);return D+=(U-K)/12,K===1?a2(D)?29:28:31-K%7%2}qn("M",["MM",2],"Mo",function(){return this.month()+1});qn("MMM",0,0,function(D){return this.localeData().monthsShort(this,D)});qn("MMMM",0,0,function(D){return this.localeData().months(this,D)});Qn("M",to,Eg);Qn("MM",to,Vc);Qn("MMM",function(D,U){return U.monthsShortRegex(D)});Qn("MMMM",function(D,U){return U.monthsRegex(D)});Sa(["M","MM"],function(D,U){U[IA]=Gi(D)-1});Sa(["MMM","MMMM"],function(D,U,K,ee){var ge=K._locale.monthsParse(D,ee,K._strict);ge!=null?U[IA]=ge:xi(K).invalidMonth=D});var e8="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mQ="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),yQ=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,t8=s1,r8=s1;function n8(D,U){return D?Wu(this._months)?this._months[D.month()]:this._months[(this._months.isFormat||yQ).test(U)?"format":"standalone"][D.month()]:Wu(this._months)?this._months:this._months.standalone}function i8(D,U){return D?Wu(this._monthsShort)?this._monthsShort[D.month()]:this._monthsShort[yQ.test(U)?"format":"standalone"][D.month()]:Wu(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function a8(D,U,K){var ee,ge,Ue,ht=D.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],ee=0;ee<12;++ee)Ue=Fl([2e3,ee]),this._shortMonthsParse[ee]=this.monthsShort(Ue,"").toLocaleLowerCase(),this._longMonthsParse[ee]=this.months(Ue,"").toLocaleLowerCase();return K?U==="MMM"?(ge=Oo.call(this._shortMonthsParse,ht),ge!==-1?ge:null):(ge=Oo.call(this._longMonthsParse,ht),ge!==-1?ge:null):U==="MMM"?(ge=Oo.call(this._shortMonthsParse,ht),ge!==-1?ge:(ge=Oo.call(this._longMonthsParse,ht),ge!==-1?ge:null)):(ge=Oo.call(this._longMonthsParse,ht),ge!==-1?ge:(ge=Oo.call(this._shortMonthsParse,ht),ge!==-1?ge:null))}function o8(D,U,K){var ee,ge,Ue;if(this._monthsParseExact)return a8.call(this,D,U,K);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ee=0;ee<12;ee++){if(ge=Fl([2e3,ee]),K&&!this._longMonthsParse[ee]&&(this._longMonthsParse[ee]=new RegExp("^"+this.months(ge,"").replace(".","")+"$","i"),this._shortMonthsParse[ee]=new RegExp("^"+this.monthsShort(ge,"").replace(".","")+"$","i")),!K&&!this._monthsParse[ee]&&(Ue="^"+this.months(ge,"")+"|^"+this.monthsShort(ge,""),this._monthsParse[ee]=new RegExp(Ue.replace(".",""),"i")),K&&U==="MMMM"&&this._longMonthsParse[ee].test(D))return ee;if(K&&U==="MMM"&&this._shortMonthsParse[ee].test(D))return ee;if(!K&&this._monthsParse[ee].test(D))return ee}}function IQ(D,U){if(!D.isValid())return D;if(typeof U=="string"){if(/^\d+$/.test(U))U=Gi(U);else if(U=D.localeData().monthsParse(U),!BA(U))return D}var K=U,ee=D.date();return ee=ee<29?ee:Math.min(ee,UB(D.year(),K)),D._isUTC?D._d.setUTCMonth(K,ee):D._d.setMonth(K,ee),D}function bQ(D){return D!=null?(IQ(this,D),yn.updateOffset(this,!0),this):Zp(this,"Month")}function s8(){return UB(this.year(),this.month())}function c8(D){return this._monthsParseExact?(aa(this,"_monthsRegex")||CQ.call(this),D?this._monthsShortStrictRegex:this._monthsShortRegex):(aa(this,"_monthsShortRegex")||(this._monthsShortRegex=t8),this._monthsShortStrictRegex&&D?this._monthsShortStrictRegex:this._monthsShortRegex)}function u8(D){return this._monthsParseExact?(aa(this,"_monthsRegex")||CQ.call(this),D?this._monthsStrictRegex:this._monthsRegex):(aa(this,"_monthsRegex")||(this._monthsRegex=r8),this._monthsStrictRegex&&D?this._monthsStrictRegex:this._monthsRegex)}function CQ(){function D(_t,Jt){return Jt.length-_t.length}var U=[],K=[],ee=[],ge,Ue,ht,ut;for(ge=0;ge<12;ge++)Ue=Fl([2e3,ge]),ht=CA(this.monthsShort(Ue,"")),ut=CA(this.months(Ue,"")),U.push(ht),K.push(ut),ee.push(ut),ee.push(ht);U.sort(D),K.sort(D),ee.sort(D),this._monthsRegex=new RegExp("^("+ee.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+K.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+U.join("|")+")","i")}function l8(D,U,K,ee,ge,Ue,ht){var ut;return D<100&&D>=0?(ut=new Date(D+400,U,K,ee,ge,Ue,ht),isFinite(ut.getFullYear())&&ut.setFullYear(D)):ut=new Date(D,U,K,ee,ge,Ue,ht),ut}function Xp(D){var U,K;return D<100&&D>=0?(K=Array.prototype.slice.call(arguments),K[0]=D+400,U=new Date(Date.UTC.apply(null,K)),isFinite(U.getUTCFullYear())&&U.setUTCFullYear(D)):U=new Date(Date.UTC.apply(null,arguments)),U}function KI(D,U,K){var ee=7+U-K,ge=(7+Xp(D,0,ee).getUTCDay()-U)%7;return-ge+ee-1}function EQ(D,U,K,ee,ge){var Ue=(7+K-ee)%7,ht=KI(D,ee,ge),ut=1+7*(U-1)+Ue+ht,_t,Jt;return ut<=0?(_t=D-1,Jt=zp(_t)+ut):ut>zp(D)?(_t=D+1,Jt=ut-zp(D)):(_t=D,Jt=ut),{year:_t,dayOfYear:Jt}}function $p(D,U,K){var ee=KI(D.year(),U,K),ge=Math.floor((D.dayOfYear()-ee-1)/7)+1,Ue,ht;return ge<1?(ht=D.year()-1,Ue=ge+EA(ht,U,K)):ge>EA(D.year(),U,K)?(Ue=ge-EA(D.year(),U,K),ht=D.year()+1):(ht=D.year(),Ue=ge),{week:Ue,year:ht}}function EA(D,U,K){var ee=KI(D,U,K),ge=KI(D+1,U,K);return(zp(D)-ee+ge)/7}qn("w",["ww",2],"wo","week");qn("W",["WW",2],"Wo","isoWeek");Qn("w",to,Eg);Qn("ww",to,Vc);Qn("W",to,Eg);Qn("WW",to,Vc);c1(["w","ww","W","WW"],function(D,U,K,ee){U[ee.substr(0,1)]=Gi(D)});function A8(D){return $p(D,this._week.dow,this._week.doy).week}var h8={dow:0,doy:6};function f8(){return this._week.dow}function d8(){return this._week.doy}function g8(D){var U=this.localeData().week(this);return D==null?U:this.add((D-U)*7,"d")}function p8(D){var U=$p(this,1,4).week;return D==null?U:this.add((D-U)*7,"d")}qn("d",0,"do","day");qn("dd",0,0,function(D){return this.localeData().weekdaysMin(this,D)});qn("ddd",0,0,function(D){return this.localeData().weekdaysShort(this,D)});qn("dddd",0,0,function(D){return this.localeData().weekdays(this,D)});qn("e",0,0,"weekday");qn("E",0,0,"isoWeekday");Qn("d",to);Qn("e",to);Qn("E",to);Qn("dd",function(D,U){return U.weekdaysMinRegex(D)});Qn("ddd",function(D,U){return U.weekdaysShortRegex(D)});Qn("dddd",function(D,U){return U.weekdaysRegex(D)});c1(["dd","ddd","dddd"],function(D,U,K,ee){var ge=K._locale.weekdaysParse(D,ee,K._strict);ge!=null?U.d=ge:xi(K).invalidWeekday=D});c1(["d","e","E"],function(D,U,K,ee){U[ee]=Gi(D)});function v8(D,U){return typeof D!="string"?D:isNaN(D)?(D=U.weekdaysParse(D),typeof D=="number"?D:null):parseInt(D,10)}function m8(D,U){return typeof D=="string"?U.weekdaysParse(D)%7||7:isNaN(D)?null:D}function jB(D,U){return D.slice(U,7).concat(D.slice(0,U))}var y8="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wQ="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),I8="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),b8=s1,C8=s1,E8=s1;function w8(D,U){var K=Wu(this._weekdays)?this._weekdays:this._weekdays[D&&D!==!0&&this._weekdays.isFormat.test(U)?"format":"standalone"];return D===!0?jB(K,this._week.dow):D?K[D.day()]:K}function B8(D){return D===!0?jB(this._weekdaysShort,this._week.dow):D?this._weekdaysShort[D.day()]:this._weekdaysShort}function Q8(D){return D===!0?jB(this._weekdaysMin,this._week.dow):D?this._weekdaysMin[D.day()]:this._weekdaysMin}function k8(D,U,K){var ee,ge,Ue,ht=D.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ee=0;ee<7;++ee)Ue=Fl([2e3,1]).day(ee),this._minWeekdaysParse[ee]=this.weekdaysMin(Ue,"").toLocaleLowerCase(),this._shortWeekdaysParse[ee]=this.weekdaysShort(Ue,"").toLocaleLowerCase(),this._weekdaysParse[ee]=this.weekdays(Ue,"").toLocaleLowerCase();return K?U==="dddd"?(ge=Oo.call(this._weekdaysParse,ht),ge!==-1?ge:null):U==="ddd"?(ge=Oo.call(this._shortWeekdaysParse,ht),ge!==-1?ge:null):(ge=Oo.call(this._minWeekdaysParse,ht),ge!==-1?ge:null):U==="dddd"?(ge=Oo.call(this._weekdaysParse,ht),ge!==-1||(ge=Oo.call(this._shortWeekdaysParse,ht),ge!==-1)?ge:(ge=Oo.call(this._minWeekdaysParse,ht),ge!==-1?ge:null)):U==="ddd"?(ge=Oo.call(this._shortWeekdaysParse,ht),ge!==-1||(ge=Oo.call(this._weekdaysParse,ht),ge!==-1)?ge:(ge=Oo.call(this._minWeekdaysParse,ht),ge!==-1?ge:null)):(ge=Oo.call(this._minWeekdaysParse,ht),ge!==-1||(ge=Oo.call(this._weekdaysParse,ht),ge!==-1)?ge:(ge=Oo.call(this._shortWeekdaysParse,ht),ge!==-1?ge:null))}function x8(D,U,K){var ee,ge,Ue;if(this._weekdaysParseExact)return k8.call(this,D,U,K);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ee=0;ee<7;ee++){if(ge=Fl([2e3,1]).day(ee),K&&!this._fullWeekdaysParse[ee]&&(this._fullWeekdaysParse[ee]=new RegExp("^"+this.weekdays(ge,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ee]=new RegExp("^"+this.weekdaysShort(ge,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ee]=new RegExp("^"+this.weekdaysMin(ge,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ee]||(Ue="^"+this.weekdays(ge,"")+"|^"+this.weekdaysShort(ge,"")+"|^"+this.weekdaysMin(ge,""),this._weekdaysParse[ee]=new RegExp(Ue.replace(".",""),"i")),K&&U==="dddd"&&this._fullWeekdaysParse[ee].test(D))return ee;if(K&&U==="ddd"&&this._shortWeekdaysParse[ee].test(D))return ee;if(K&&U==="dd"&&this._minWeekdaysParse[ee].test(D))return ee;if(!K&&this._weekdaysParse[ee].test(D))return ee}}function S8(D){if(!this.isValid())return D!=null?this:NaN;var U=Zp(this,"Day");return D!=null?(D=v8(D,this.localeData()),this.add(D-U,"d")):U}function _8(D){if(!this.isValid())return D!=null?this:NaN;var U=(this.day()+7-this.localeData()._week.dow)%7;return D==null?U:this.add(D-U,"d")}function D8(D){if(!this.isValid())return D!=null?this:NaN;if(D!=null){var U=m8(D,this.localeData());return this.day(this.day()%7?U:U-7)}else return this.day()||7}function R8(D){return this._weekdaysParseExact?(aa(this,"_weekdaysRegex")||HB.call(this),D?this._weekdaysStrictRegex:this._weekdaysRegex):(aa(this,"_weekdaysRegex")||(this._weekdaysRegex=b8),this._weekdaysStrictRegex&&D?this._weekdaysStrictRegex:this._weekdaysRegex)}function F8(D){return this._weekdaysParseExact?(aa(this,"_weekdaysRegex")||HB.call(this),D?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(aa(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=C8),this._weekdaysShortStrictRegex&&D?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function N8(D){return this._weekdaysParseExact?(aa(this,"_weekdaysRegex")||HB.call(this),D?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(aa(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=E8),this._weekdaysMinStrictRegex&&D?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function HB(){function D(ar,Tt){return Tt.length-ar.length}var U=[],K=[],ee=[],ge=[],Ue,ht,ut,_t,Jt;for(Ue=0;Ue<7;Ue++)ht=Fl([2e3,1]).day(Ue),ut=CA(this.weekdaysMin(ht,"")),_t=CA(this.weekdaysShort(ht,"")),Jt=CA(this.weekdays(ht,"")),U.push(ut),K.push(_t),ee.push(Jt),ge.push(ut),ge.push(_t),ge.push(Jt);U.sort(D),K.sort(D),ee.sort(D),ge.sort(D),this._weekdaysRegex=new RegExp("^("+ge.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ee.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+K.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+U.join("|")+")","i")}function YB(){return this.hours()%12||12}function M8(){return this.hours()||24}qn("H",["HH",2],0,"hour");qn("h",["hh",2],0,YB);qn("k",["kk",2],0,M8);qn("hmm",0,0,function(){return""+YB.apply(this)+Rl(this.minutes(),2)});qn("hmmss",0,0,function(){return""+YB.apply(this)+Rl(this.minutes(),2)+Rl(this.seconds(),2)});qn("Hmm",0,0,function(){return""+this.hours()+Rl(this.minutes(),2)});qn("Hmmss",0,0,function(){return""+this.hours()+Rl(this.minutes(),2)+Rl(this.seconds(),2)});function BQ(D,U){qn(D,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),U)})}BQ("a",!0);BQ("A",!1);function QQ(D,U){return U._meridiemParse}Qn("a",QQ);Qn("A",QQ);Qn("H",to,GB);Qn("h",to,Eg);Qn("k",to,Eg);Qn("HH",to,Vc);Qn("hh",to,Vc);Qn("kk",to,Vc);Qn("hmm",dQ);Qn("hmmss",gQ);Qn("Hmm",dQ);Qn("Hmmss",gQ);Sa(["H","HH"],os);Sa(["k","kk"],function(D,U,K){var ee=Gi(D);U[os]=ee===24?0:ee});Sa(["a","A"],function(D,U,K){K._isPm=K._locale.isPM(D),K._meridiem=D});Sa(["h","hh"],function(D,U,K){U[os]=Gi(D),xi(K).bigHour=!0});Sa("hmm",function(D,U,K){var ee=D.length-2;U[os]=Gi(D.substr(0,ee)),U[qu]=Gi(D.substr(ee)),xi(K).bigHour=!0});Sa("hmmss",function(D,U,K){var ee=D.length-4,ge=D.length-2;U[os]=Gi(D.substr(0,ee)),U[qu]=Gi(D.substr(ee,2)),U[bA]=Gi(D.substr(ge)),xi(K).bigHour=!0});Sa("Hmm",function(D,U,K){var ee=D.length-2;U[os]=Gi(D.substr(0,ee)),U[qu]=Gi(D.substr(ee))});Sa("Hmmss",function(D,U,K){var ee=D.length-4,ge=D.length-2;U[os]=Gi(D.substr(0,ee)),U[qu]=Gi(D.substr(ee,2)),U[bA]=Gi(D.substr(ge))});function T8(D){return(D+"").toLowerCase().charAt(0)==="p"}var L8=/[ap]\.?m?\.?/i,O8=wg("Hours",!0);function P8(D,U,K){return D>11?K?"pm":"PM":K?"am":"AM"}var kQ={calendar:k6,longDateFormat:D6,invalidDate:F6,ordinal:M6,dayOfMonthOrdinalParse:T6,relativeTime:O6,months:e8,monthsShort:mQ,week:h8,weekdays:y8,weekdaysMin:I8,weekdaysShort:wQ,meridiemParse:L8},so={},Wp={},e1;function G8(D,U){var K,ee=Math.min(D.length,U.length);for(K=0;K<ee;K+=1)if(D[K]!==U[K])return K;return ee}function z5(D){return D&&D.toLowerCase().replace("_","-")}function U8(D){for(var U=0,K,ee,ge,Ue;U<D.length;){for(Ue=z5(D[U]).split("-"),K=Ue.length,ee=z5(D[U+1]),ee=ee?ee.split("-"):null;K>0;){if(ge=o2(Ue.slice(0,K).join("-")),ge)return ge;if(ee&&ee.length>=K&&G8(Ue,ee)>=K-1)break;K--}U++}return e1}function j8(D){return!!(D&&D.match("^[^/\\\\]*$"))}function o2(D){var U=null,K;if(so[D]===void 0&&typeof module<"u"&&module&&module.exports&&j8(D))try{U=e1._abbr,K=require,K("./locale/"+D),Sh(U)}catch{so[D]=null}return so[D]}function Sh(D,U){var K;return D&&(xc(U)?K=QA(D):K=JB(D,U),K?e1=K:typeof console<"u"&&console.warn&&console.warn("Locale "+D+" not found. Did you forget to load it?")),e1._abbr}function JB(D,U){if(U!==null){var K,ee=kQ;if(U.abbr=D,so[D]!=null)lQ("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),ee=so[D]._config;else if(U.parentLocale!=null)if(so[U.parentLocale]!=null)ee=so[U.parentLocale]._config;else if(K=o2(U.parentLocale),K!=null)ee=K._config;else return Wp[U.parentLocale]||(Wp[U.parentLocale]=[]),Wp[U.parentLocale].push({name:D,config:U}),null;return so[D]=new MB(CB(ee,U)),Wp[D]&&Wp[D].forEach(function(ge){JB(ge.name,ge.config)}),Sh(D),so[D]}else return delete so[D],null}function H8(D,U){if(U!=null){var K,ee,ge=kQ;so[D]!=null&&so[D].parentLocale!=null?so[D].set(CB(so[D]._config,U)):(ee=o2(D),ee!=null&&(ge=ee._config),U=CB(ge,U),ee==null&&(U.abbr=D),K=new MB(U),K.parentLocale=so[D],so[D]=K),Sh(D)}else so[D]!=null&&(so[D].parentLocale!=null?(so[D]=so[D].parentLocale,D===Sh()&&Sh(D)):so[D]!=null&&delete so[D]);return so[D]}function QA(D){var U;if(D&&D._locale&&D._locale._abbr&&(D=D._locale._abbr),!D)return e1;if(!Wu(D)){if(U=o2(D),U)return U;D=[D]}return U8(D)}function Y8(){return EB(so)}function qB(D){var U,K=D._a;return K&&xi(D).overflow===-2&&(U=K[IA]<0||K[IA]>11?IA:K[Dl]<1||K[Dl]>UB(K[Ws],K[IA])?Dl:K[os]<0||K[os]>24||K[os]===24&&(K[qu]!==0||K[bA]!==0||K[Tf]!==0)?os:K[qu]<0||K[qu]>59?qu:K[bA]<0||K[bA]>59?bA:K[Tf]<0||K[Tf]>999?Tf:-1,xi(D)._overflowDayOfYear&&(U<Ws||U>Dl)&&(U=Dl),xi(D)._overflowWeeks&&U===-1&&(U=K6),xi(D)._overflowWeekday&&U===-1&&(U=z6),xi(D).overflow=U),D}var J8=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,q8=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,W8=/Z|[+-]\d\d(?::?\d\d)?/,UI=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vB=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],K8=/^\/?Date\((-?\d+)/i,z8=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,V8={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function xQ(D){var U,K,ee=D._i,ge=J8.exec(ee)||q8.exec(ee),Ue,ht,ut,_t,Jt=UI.length,ar=vB.length;if(ge){for(xi(D).iso=!0,U=0,K=Jt;U<K;U++)if(UI[U][1].exec(ge[1])){ht=UI[U][0],Ue=UI[U][2]!==!1;break}if(ht==null){D._isValid=!1;return}if(ge[3]){for(U=0,K=ar;U<K;U++)if(vB[U][1].exec(ge[3])){ut=(ge[2]||" ")+vB[U][0];break}if(ut==null){D._isValid=!1;return}}if(!Ue&&ut!=null){D._isValid=!1;return}if(ge[4])if(W8.exec(ge[4]))_t="Z";else{D._isValid=!1;return}D._f=ht+(ut||"")+(_t||""),KB(D)}else D._isValid=!1}function Z8(D,U,K,ee,ge,Ue){var ht=[X8(D),mQ.indexOf(U),parseInt(K,10),parseInt(ee,10),parseInt(ge,10)];return Ue&&ht.push(parseInt(Ue,10)),ht}function X8(D){var U=parseInt(D,10);return U<=49?2e3+U:U<=999?1900+U:U}function $8(D){return D.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function e7(D,U,K){if(D){var ee=wQ.indexOf(D),ge=new Date(U[0],U[1],U[2]).getDay();if(ee!==ge)return xi(K).weekdayMismatch=!0,K._isValid=!1,!1}return!0}function t7(D,U,K){if(D)return V8[D];if(U)return 0;var ee=parseInt(K,10),ge=ee%100,Ue=(ee-ge)/100;return Ue*60+ge}function SQ(D){var U=z8.exec($8(D._i)),K;if(U){if(K=Z8(U[4],U[3],U[2],U[5],U[6],U[7]),!e7(U[1],K,D))return;D._a=K,D._tzm=t7(U[8],U[9],U[10]),D._d=Xp.apply(null,D._a),D._d.setUTCMinutes(D._d.getUTCMinutes()-D._tzm),xi(D).rfc2822=!0}else D._isValid=!1}function r7(D){var U=K8.exec(D._i);if(U!==null){D._d=new Date(+U[1]);return}if(xQ(D),D._isValid===!1)delete D._isValid;else return;if(SQ(D),D._isValid===!1)delete D._isValid;else return;D._strict?D._isValid=!1:yn.createFromInputFallback(D)}yn.createFromInputFallback=bu("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(D){D._d=new Date(D._i+(D._useUTC?" UTC":""))});function dg(D,U,K){return D??U??K}function n7(D){var U=new Date(yn.now());return D._useUTC?[U.getUTCFullYear(),U.getUTCMonth(),U.getUTCDate()]:[U.getFullYear(),U.getMonth(),U.getDate()]}function WB(D){var U,K,ee=[],ge,Ue,ht;if(!D._d){for(ge=n7(D),D._w&&D._a[Dl]==null&&D._a[IA]==null&&i7(D),D._dayOfYear!=null&&(ht=dg(D._a[Ws],ge[Ws]),(D._dayOfYear>zp(ht)||D._dayOfYear===0)&&(xi(D)._overflowDayOfYear=!0),K=Xp(ht,0,D._dayOfYear),D._a[IA]=K.getUTCMonth(),D._a[Dl]=K.getUTCDate()),U=0;U<3&&D._a[U]==null;++U)D._a[U]=ee[U]=ge[U];for(;U<7;U++)D._a[U]=ee[U]=D._a[U]==null?U===2?1:0:D._a[U];D._a[os]===24&&D._a[qu]===0&&D._a[bA]===0&&D._a[Tf]===0&&(D._nextDay=!0,D._a[os]=0),D._d=(D._useUTC?Xp:l8).apply(null,ee),Ue=D._useUTC?D._d.getUTCDay():D._d.getDay(),D._tzm!=null&&D._d.setUTCMinutes(D._d.getUTCMinutes()-D._tzm),D._nextDay&&(D._a[os]=24),D._w&&typeof D._w.d<"u"&&D._w.d!==Ue&&(xi(D).weekdayMismatch=!0)}}function i7(D){var U,K,ee,ge,Ue,ht,ut,_t,Jt;U=D._w,U.GG!=null||U.W!=null||U.E!=null?(Ue=1,ht=4,K=dg(U.GG,D._a[Ws],$p(eo(),1,4).year),ee=dg(U.W,1),ge=dg(U.E,1),(ge<1||ge>7)&&(_t=!0)):(Ue=D._locale._week.dow,ht=D._locale._week.doy,Jt=$p(eo(),Ue,ht),K=dg(U.gg,D._a[Ws],Jt.year),ee=dg(U.w,Jt.week),U.d!=null?(ge=U.d,(ge<0||ge>6)&&(_t=!0)):U.e!=null?(ge=U.e+Ue,(U.e<0||U.e>6)&&(_t=!0)):ge=Ue),ee<1||ee>EA(K,Ue,ht)?xi(D)._overflowWeeks=!0:_t!=null?xi(D)._overflowWeekday=!0:(ut=EQ(K,ee,ge,Ue,ht),D._a[Ws]=ut.year,D._dayOfYear=ut.dayOfYear)}yn.ISO_8601=function(){};yn.RFC_2822=function(){};function KB(D){if(D._f===yn.ISO_8601){xQ(D);return}if(D._f===yn.RFC_2822){SQ(D);return}D._a=[],xi(D).empty=!0;var U=""+D._i,K,ee,ge,Ue,ht,ut=U.length,_t=0,Jt,ar;for(ge=AQ(D._f,D._locale).match(TB)||[],ar=ge.length,K=0;K<ar;K++)Ue=ge[K],ee=(U.match(J6(Ue,D))||[])[0],ee&&(ht=U.substr(0,U.indexOf(ee)),ht.length>0&&xi(D).unusedInput.push(ht),U=U.slice(U.indexOf(ee)+ee.length),_t+=ee.length),vg[Ue]?(ee?xi(D).empty=!1:xi(D).unusedTokens.push(Ue),W6(Ue,ee,D)):D._strict&&!ee&&xi(D).unusedTokens.push(Ue);xi(D).charsLeftOver=ut-_t,U.length>0&&xi(D).unusedInput.push(U),D._a[os]<=12&&xi(D).bigHour===!0&&D._a[os]>0&&(xi(D).bigHour=void 0),xi(D).parsedDateParts=D._a.slice(0),xi(D).meridiem=D._meridiem,D._a[os]=a7(D._locale,D._a[os],D._meridiem),Jt=xi(D).era,Jt!==null&&(D._a[Ws]=D._locale.erasConvertYear(Jt,D._a[Ws])),WB(D),qB(D)}function a7(D,U,K){var ee;return K==null?U:D.meridiemHour!=null?D.meridiemHour(U,K):(D.isPM!=null&&(ee=D.isPM(K),ee&&U<12&&(U+=12),!ee&&U===12&&(U=0)),U)}function o7(D){var U,K,ee,ge,Ue,ht,ut=!1,_t=D._f.length;if(_t===0){xi(D).invalidFormat=!0,D._d=new Date(NaN);return}for(ge=0;ge<_t;ge++)Ue=0,ht=!1,U=NB({},D),D._useUTC!=null&&(U._useUTC=D._useUTC),U._f=D._f[ge],KB(U),FB(U)&&(ht=!0),Ue+=xi(U).charsLeftOver,Ue+=xi(U).unusedTokens.length*10,xi(U).score=Ue,ut?Ue<ee&&(ee=Ue,K=U):(ee==null||Ue<ee||ht)&&(ee=Ue,K=U,ht&&(ut=!0));kh(D,K||U)}function s7(D){if(!D._d){var U=LB(D._i),K=U.day===void 0?U.date:U.day;D._a=cQ([U.year,U.month,K,U.hour,U.minute,U.second,U.millisecond],function(ee){return ee&&parseInt(ee,10)}),WB(D)}}function c7(D){var U=new o1(qB(_Q(D)));return U._nextDay&&(U.add(1,"d"),U._nextDay=void 0),U}function _Q(D){var U=D._i,K=D._f;return D._locale=D._locale||QA(D._l),U===null||K===void 0&&U===""?$I({nullInput:!0}):(typeof U=="string"&&(D._i=U=D._locale.preparse(U)),Ku(U)?new o1(qB(U)):(a1(U)?D._d=U:Wu(K)?o7(D):K?KB(D):u7(D),FB(D)||(D._d=null),D))}function u7(D){var U=D._i;xc(U)?D._d=new Date(yn.now()):a1(U)?D._d=new Date(U.valueOf()):typeof U=="string"?r7(D):Wu(U)?(D._a=cQ(U.slice(0),function(K){return parseInt(K,10)}),WB(D)):Lf(U)?s7(D):BA(U)?D._d=new Date(U):yn.createFromInputFallback(D)}function DQ(D,U,K,ee,ge){var Ue={};return(U===!0||U===!1)&&(ee=U,U=void 0),(K===!0||K===!1)&&(ee=K,K=void 0),(Lf(D)&&RB(D)||Wu(D)&&D.length===0)&&(D=void 0),Ue._isAMomentObject=!0,Ue._useUTC=Ue._isUTC=ge,Ue._l=K,Ue._i=D,Ue._f=U,Ue._strict=ee,c7(Ue)}function eo(D,U,K,ee){return DQ(D,U,K,ee,!1)}var l7=bu("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var D=eo.apply(null,arguments);return this.isValid()&&D.isValid()?D<this?this:D:$I()}),A7=bu("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var D=eo.apply(null,arguments);return this.isValid()&&D.isValid()?D>this?this:D:$I()});function RQ(D,U){var K,ee;if(U.length===1&&Wu(U[0])&&(U=U[0]),!U.length)return eo();for(K=U[0],ee=1;ee<U.length;++ee)(!U[ee].isValid()||U[ee][D](K))&&(K=U[ee]);return K}function h7(){var D=[].slice.call(arguments,0);return RQ("isBefore",D)}function f7(){var D=[].slice.call(arguments,0);return RQ("isAfter",D)}var d7=function(){return Date.now?Date.now():+new Date},Kp=["year","quarter","month","week","day","hour","minute","second","millisecond"];function g7(D){var U,K=!1,ee,ge=Kp.length;for(U in D)if(aa(D,U)&&!(Oo.call(Kp,U)!==-1&&(D[U]==null||!isNaN(D[U]))))return!1;for(ee=0;ee<ge;++ee)if(D[Kp[ee]]){if(K)return!1;parseFloat(D[Kp[ee]])!==Gi(D[Kp[ee]])&&(K=!0)}return!0}function p7(){return this._isValid}function v7(){return Vu(NaN)}function s2(D){var U=LB(D),K=U.year||0,ee=U.quarter||0,ge=U.month||0,Ue=U.week||U.isoWeek||0,ht=U.day||0,ut=U.hour||0,_t=U.minute||0,Jt=U.second||0,ar=U.millisecond||0;this._isValid=g7(U),this._milliseconds=+ar+Jt*1e3+_t*6e4+ut*1e3*60*60,this._days=+ht+Ue*7,this._months=+ge+ee*3+K*12,this._data={},this._locale=QA(),this._bubble()}function HI(D){return D instanceof s2}function BB(D){return D<0?Math.round(-1*D)*-1:Math.round(D)}function m7(D,U,K){var ee=Math.min(D.length,U.length),ge=Math.abs(D.length-U.length),Ue=0,ht;for(ht=0;ht<ee;ht++)(K&&D[ht]!==U[ht]||!K&&Gi(D[ht])!==Gi(U[ht]))&&Ue++;return Ue+ge}function FQ(D,U){qn(D,0,0,function(){var K=this.utcOffset(),ee="+";return K<0&&(K=-K,ee="-"),ee+Rl(~~(K/60),2)+U+Rl(~~K%60,2)})}FQ("Z",":");FQ("ZZ","");Qn("Z",i2);Qn("ZZ",i2);Sa(["Z","ZZ"],function(D,U,K){K._useUTC=!0,K._tzm=zB(i2,D)});var y7=/([\+\-]|\d\d)/gi;function zB(D,U){var K=(U||"").match(D),ee,ge,Ue;return K===null?null:(ee=K[K.length-1]||[],ge=(ee+"").match(y7)||["-",0,0],Ue=+(ge[1]*60)+Gi(ge[2]),Ue===0?0:ge[0]==="+"?Ue:-Ue)}function VB(D,U){var K,ee;return U._isUTC?(K=U.clone(),ee=(Ku(D)||a1(D)?D.valueOf():eo(D).valueOf())-K.valueOf(),K._d.setTime(K._d.valueOf()+ee),yn.updateOffset(K,!1),K):eo(D).local()}function QB(D){return-Math.round(D._d.getTimezoneOffset())}yn.updateOffset=function(){};function I7(D,U,K){var ee=this._offset||0,ge;if(!this.isValid())return D!=null?this:NaN;if(D!=null){if(typeof D=="string"){if(D=zB(i2,D),D===null)return this}else Math.abs(D)<16&&!K&&(D=D*60);return!this._isUTC&&U&&(ge=QB(this)),this._offset=D,this._isUTC=!0,ge!=null&&this.add(ge,"m"),ee!==D&&(!U||this._changeInProgress?TQ(this,Vu(D-ee,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,yn.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?ee:QB(this)}function b7(D,U){return D!=null?(typeof D!="string"&&(D=-D),this.utcOffset(D,U),this):-this.utcOffset()}function C7(D){return this.utcOffset(0,D)}function E7(D){return this._isUTC&&(this.utcOffset(0,D),this._isUTC=!1,D&&this.subtract(QB(this),"m")),this}function w7(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var D=zB(H6,this._i);D!=null?this.utcOffset(D):this.utcOffset(0,!0)}return this}function B7(D){return this.isValid()?(D=D?eo(D).utcOffset():0,(this.utcOffset()-D)%60===0):!1}function Q7(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function k7(){if(!xc(this._isDSTShifted))return this._isDSTShifted;var D={},U;return NB(D,this),D=_Q(D),D._a?(U=D._isUTC?Fl(D._a):eo(D._a),this._isDSTShifted=this.isValid()&&m7(D._a,U.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function x7(){return this.isValid()?!this._isUTC:!1}function S7(){return this.isValid()?this._isUTC:!1}function NQ(){return this.isValid()?this._isUTC&&this._offset===0:!1}var _7=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,D7=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vu(D,U){var K=D,ee=null,ge,Ue,ht;return HI(D)?K={ms:D._milliseconds,d:D._days,M:D._months}:BA(D)||!isNaN(+D)?(K={},U?K[U]=+D:K.milliseconds=+D):(ee=_7.exec(D))?(ge=ee[1]==="-"?-1:1,K={y:0,d:Gi(ee[Dl])*ge,h:Gi(ee[os])*ge,m:Gi(ee[qu])*ge,s:Gi(ee[bA])*ge,ms:Gi(BB(ee[Tf]*1e3))*ge}):(ee=D7.exec(D))?(ge=ee[1]==="-"?-1:1,K={y:Mf(ee[2],ge),M:Mf(ee[3],ge),w:Mf(ee[4],ge),d:Mf(ee[5],ge),h:Mf(ee[6],ge),m:Mf(ee[7],ge),s:Mf(ee[8],ge)}):K==null?K={}:typeof K=="object"&&("from"in K||"to"in K)&&(ht=R7(eo(K.from),eo(K.to)),K={},K.ms=ht.milliseconds,K.M=ht.months),Ue=new s2(K),HI(D)&&aa(D,"_locale")&&(Ue._locale=D._locale),HI(D)&&aa(D,"_isValid")&&(Ue._isValid=D._isValid),Ue}Vu.fn=s2.prototype;Vu.invalid=v7;function Mf(D,U){var K=D&&parseFloat(D.replace(",","."));return(isNaN(K)?0:K)*U}function V5(D,U){var K={};return K.months=U.month()-D.month()+(U.year()-D.year())*12,D.clone().add(K.months,"M").isAfter(U)&&--K.months,K.milliseconds=+U-+D.clone().add(K.months,"M"),K}function R7(D,U){var K;return D.isValid()&&U.isValid()?(U=VB(U,D),D.isBefore(U)?K=V5(D,U):(K=V5(U,D),K.milliseconds=-K.milliseconds,K.months=-K.months),K):{milliseconds:0,months:0}}function MQ(D,U){return function(K,ee){var ge,Ue;return ee!==null&&!isNaN(+ee)&&(lQ(U,"moment()."+U+"(period, number) is deprecated. Please use moment()."+U+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Ue=K,K=ee,ee=Ue),ge=Vu(K,ee),TQ(this,ge,D),this}}function TQ(D,U,K,ee){var ge=U._milliseconds,Ue=BB(U._days),ht=BB(U._months);D.isValid()&&(ee=ee??!0,ht&&IQ(D,Zp(D,"Month")+ht*K),Ue&&vQ(D,"Date",Zp(D,"Date")+Ue*K),ge&&D._d.setTime(D._d.valueOf()+ge*K),ee&&yn.updateOffset(D,Ue||ht))}var F7=MQ(1,"add"),N7=MQ(-1,"subtract");function LQ(D){return typeof D=="string"||D instanceof String}function M7(D){return Ku(D)||a1(D)||LQ(D)||BA(D)||L7(D)||T7(D)||D===null||D===void 0}function T7(D){var U=Lf(D)&&!RB(D),K=!1,ee=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],ge,Ue,ht=ee.length;for(ge=0;ge<ht;ge+=1)Ue=ee[ge],K=K||aa(D,Ue);return U&&K}function L7(D){var U=Wu(D),K=!1;return U&&(K=D.filter(function(ee){return!BA(ee)&&LQ(D)}).length===0),U&&K}function O7(D){var U=Lf(D)&&!RB(D),K=!1,ee=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],ge,Ue;for(ge=0;ge<ee.length;ge+=1)Ue=ee[ge],K=K||aa(D,Ue);return U&&K}function P7(D,U){var K=D.diff(U,"days",!0);return K<-6?"sameElse":K<-1?"lastWeek":K<0?"lastDay":K<1?"sameDay":K<2?"nextDay":K<7?"nextWeek":"sameElse"}function G7(D,U){arguments.length===1&&(arguments[0]?M7(arguments[0])?(D=arguments[0],U=void 0):O7(arguments[0])&&(U=arguments[0],D=void 0):(D=void 0,U=void 0));var K=D||eo(),ee=VB(K,this).startOf("day"),ge=yn.calendarFormat(this,ee)||"sameElse",Ue=U&&(Nl(U[ge])?U[ge].call(this,K):U[ge]);return this.format(Ue||this.localeData().calendar(ge,this,eo(K)))}function U7(){return new o1(this)}function j7(D,U){var K=Ku(D)?D:eo(D);return this.isValid()&&K.isValid()?(U=Cu(U)||"millisecond",U==="millisecond"?this.valueOf()>K.valueOf():K.valueOf()<this.clone().startOf(U).valueOf()):!1}function H7(D,U){var K=Ku(D)?D:eo(D);return this.isValid()&&K.isValid()?(U=Cu(U)||"millisecond",U==="millisecond"?this.valueOf()<K.valueOf():this.clone().endOf(U).valueOf()<K.valueOf()):!1}function Y7(D,U,K,ee){var ge=Ku(D)?D:eo(D),Ue=Ku(U)?U:eo(U);return this.isValid()&&ge.isValid()&&Ue.isValid()?(ee=ee||"()",(ee[0]==="("?this.isAfter(ge,K):!this.isBefore(ge,K))&&(ee[1]===")"?this.isBefore(Ue,K):!this.isAfter(Ue,K))):!1}function J7(D,U){var K=Ku(D)?D:eo(D),ee;return this.isValid()&&K.isValid()?(U=Cu(U)||"millisecond",U==="millisecond"?this.valueOf()===K.valueOf():(ee=K.valueOf(),this.clone().startOf(U).valueOf()<=ee&&ee<=this.clone().endOf(U).valueOf())):!1}function q7(D,U){return this.isSame(D,U)||this.isAfter(D,U)}function W7(D,U){return this.isSame(D,U)||this.isBefore(D,U)}function K7(D,U,K){var ee,ge,Ue;if(!this.isValid())return NaN;if(ee=VB(D,this),!ee.isValid())return NaN;switch(ge=(ee.utcOffset()-this.utcOffset())*6e4,U=Cu(U),U){case"year":Ue=YI(this,ee)/12;break;case"month":Ue=YI(this,ee);break;case"quarter":Ue=YI(this,ee)/3;break;case"second":Ue=(this-ee)/1e3;break;case"minute":Ue=(this-ee)/6e4;break;case"hour":Ue=(this-ee)/36e5;break;case"day":Ue=(this-ee-ge)/864e5;break;case"week":Ue=(this-ee-ge)/6048e5;break;default:Ue=this-ee}return K?Ue:yu(Ue)}function YI(D,U){if(D.date()<U.date())return-YI(U,D);var K=(U.year()-D.year())*12+(U.month()-D.month()),ee=D.clone().add(K,"months"),ge,Ue;return U-ee<0?(ge=D.clone().add(K-1,"months"),Ue=(U-ee)/(ee-ge)):(ge=D.clone().add(K+1,"months"),Ue=(U-ee)/(ge-ee)),-(K+Ue)||0}yn.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";yn.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function z7(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function V7(D){if(!this.isValid())return null;var U=D!==!0,K=U?this.clone().utc():this;return K.year()<0||K.year()>9999?jI(K,U?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Nl(Date.prototype.toISOString)?U?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",jI(K,"Z")):jI(K,U?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Z7(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var D="moment",U="",K,ee,ge,Ue;return this.isLocal()||(D=this.utcOffset()===0?"moment.utc":"moment.parseZone",U="Z"),K="["+D+'("]',ee=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",ge="-MM-DD[T]HH:mm:ss.SSS",Ue=U+'[")]',this.format(K+ee+ge+Ue)}function X7(D){D||(D=this.isUtc()?yn.defaultFormatUtc:yn.defaultFormat);var U=jI(this,D);return this.localeData().postformat(U)}function $7(D,U){return this.isValid()&&(Ku(D)&&D.isValid()||eo(D).isValid())?Vu({to:this,from:D}).locale(this.locale()).humanize(!U):this.localeData().invalidDate()}function ex(D){return this.from(eo(),D)}function tx(D,U){return this.isValid()&&(Ku(D)&&D.isValid()||eo(D).isValid())?Vu({from:this,to:D}).locale(this.locale()).humanize(!U):this.localeData().invalidDate()}function rx(D){return this.to(eo(),D)}function OQ(D){var U;return D===void 0?this._locale._abbr:(U=QA(D),U!=null&&(this._locale=U),this)}var PQ=bu("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(D){return D===void 0?this.localeData():this.locale(D)});function GQ(){return this._locale}var zI=1e3,mg=60*zI,VI=60*mg,UQ=(365*400+97)*24*VI;function yg(D,U){return(D%U+U)%U}function jQ(D,U,K){return D<100&&D>=0?new Date(D+400,U,K)-UQ:new Date(D,U,K).valueOf()}function HQ(D,U,K){return D<100&&D>=0?Date.UTC(D+400,U,K)-UQ:Date.UTC(D,U,K)}function nx(D){var U,K;if(D=Cu(D),D===void 0||D==="millisecond"||!this.isValid())return this;switch(K=this._isUTC?HQ:jQ,D){case"year":U=K(this.year(),0,1);break;case"quarter":U=K(this.year(),this.month()-this.month()%3,1);break;case"month":U=K(this.year(),this.month(),1);break;case"week":U=K(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":U=K(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":U=K(this.year(),this.month(),this.date());break;case"hour":U=this._d.valueOf(),U-=yg(U+(this._isUTC?0:this.utcOffset()*mg),VI);break;case"minute":U=this._d.valueOf(),U-=yg(U,mg);break;case"second":U=this._d.valueOf(),U-=yg(U,zI);break}return this._d.setTime(U),yn.updateOffset(this,!0),this}function ix(D){var U,K;if(D=Cu(D),D===void 0||D==="millisecond"||!this.isValid())return this;switch(K=this._isUTC?HQ:jQ,D){case"year":U=K(this.year()+1,0,1)-1;break;case"quarter":U=K(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":U=K(this.year(),this.month()+1,1)-1;break;case"week":U=K(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":U=K(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":U=K(this.year(),this.month(),this.date()+1)-1;break;case"hour":U=this._d.valueOf(),U+=VI-yg(U+(this._isUTC?0:this.utcOffset()*mg),VI)-1;break;case"minute":U=this._d.valueOf(),U+=mg-yg(U,mg)-1;break;case"second":U=this._d.valueOf(),U+=zI-yg(U,zI)-1;break}return this._d.setTime(U),yn.updateOffset(this,!0),this}function ax(){return this._d.valueOf()-(this._offset||0)*6e4}function ox(){return Math.floor(this.valueOf()/1e3)}function sx(){return new Date(this.valueOf())}function cx(){var D=this;return[D.year(),D.month(),D.date(),D.hour(),D.minute(),D.second(),D.millisecond()]}function ux(){var D=this;return{years:D.year(),months:D.month(),date:D.date(),hours:D.hours(),minutes:D.minutes(),seconds:D.seconds(),milliseconds:D.milliseconds()}}function lx(){return this.isValid()?this.toISOString():null}function Ax(){return FB(this)}function hx(){return kh({},xi(this))}function fx(){return xi(this).overflow}function dx(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}qn("N",0,0,"eraAbbr");qn("NN",0,0,"eraAbbr");qn("NNN",0,0,"eraAbbr");qn("NNNN",0,0,"eraName");qn("NNNNN",0,0,"eraNarrow");qn("y",["y",1],"yo","eraYear");qn("y",["yy",2],0,"eraYear");qn("y",["yyy",3],0,"eraYear");qn("y",["yyyy",4],0,"eraYear");Qn("N",ZB);Qn("NN",ZB);Qn("NNN",ZB);Qn("NNNN",Bx);Qn("NNNNN",Qx);Sa(["N","NN","NNN","NNNN","NNNNN"],function(D,U,K,ee){var ge=K._locale.erasParse(D,ee,K._strict);ge?xi(K).era=ge:xi(K).invalidEra=D});Qn("y",Cg);Qn("yy",Cg);Qn("yyy",Cg);Qn("yyyy",Cg);Qn("yo",kx);Sa(["y","yy","yyy","yyyy"],Ws);Sa(["yo"],function(D,U,K,ee){var ge;K._locale._eraYearOrdinalRegex&&(ge=D.match(K._locale._eraYearOrdinalRegex)),K._locale.eraYearOrdinalParse?U[Ws]=K._locale.eraYearOrdinalParse(D,ge):U[Ws]=parseInt(D,10)});function gx(D,U){var K,ee,ge,Ue=this._eras||QA("en")._eras;for(K=0,ee=Ue.length;K<ee;++K){switch(typeof Ue[K].since){case"string":ge=yn(Ue[K].since).startOf("day"),Ue[K].since=ge.valueOf();break}switch(typeof Ue[K].until){case"undefined":Ue[K].until=1/0;break;case"string":ge=yn(Ue[K].until).startOf("day").valueOf(),Ue[K].until=ge.valueOf();break}}return Ue}function px(D,U,K){var ee,ge,Ue=this.eras(),ht,ut,_t;for(D=D.toUpperCase(),ee=0,ge=Ue.length;ee<ge;++ee)if(ht=Ue[ee].name.toUpperCase(),ut=Ue[ee].abbr.toUpperCase(),_t=Ue[ee].narrow.toUpperCase(),K)switch(U){case"N":case"NN":case"NNN":if(ut===D)return Ue[ee];break;case"NNNN":if(ht===D)return Ue[ee];break;case"NNNNN":if(_t===D)return Ue[ee];break}else if([ht,ut,_t].indexOf(D)>=0)return Ue[ee]}function vx(D,U){var K=D.since<=D.until?1:-1;return U===void 0?yn(D.since).year():yn(D.since).year()+(U-D.offset)*K}function mx(){var D,U,K,ee=this.localeData().eras();for(D=0,U=ee.length;D<U;++D)if(K=this.clone().startOf("day").valueOf(),ee[D].since<=K&&K<=ee[D].until||ee[D].until<=K&&K<=ee[D].since)return ee[D].name;return""}function yx(){var D,U,K,ee=this.localeData().eras();for(D=0,U=ee.length;D<U;++D)if(K=this.clone().startOf("day").valueOf(),ee[D].since<=K&&K<=ee[D].until||ee[D].until<=K&&K<=ee[D].since)return ee[D].narrow;return""}function Ix(){var D,U,K,ee=this.localeData().eras();for(D=0,U=ee.length;D<U;++D)if(K=this.clone().startOf("day").valueOf(),ee[D].since<=K&&K<=ee[D].until||ee[D].until<=K&&K<=ee[D].since)return ee[D].abbr;return""}function bx(){var D,U,K,ee,ge=this.localeData().eras();for(D=0,U=ge.length;D<U;++D)if(K=ge[D].since<=ge[D].until?1:-1,ee=this.clone().startOf("day").valueOf(),ge[D].since<=ee&&ee<=ge[D].until||ge[D].until<=ee&&ee<=ge[D].since)return(this.year()-yn(ge[D].since).year())*K+ge[D].offset;return this.year()}function Cx(D){return aa(this,"_erasNameRegex")||XB.call(this),D?this._erasNameRegex:this._erasRegex}function Ex(D){return aa(this,"_erasAbbrRegex")||XB.call(this),D?this._erasAbbrRegex:this._erasRegex}function wx(D){return aa(this,"_erasNarrowRegex")||XB.call(this),D?this._erasNarrowRegex:this._erasRegex}function ZB(D,U){return U.erasAbbrRegex(D)}function Bx(D,U){return U.erasNameRegex(D)}function Qx(D,U){return U.erasNarrowRegex(D)}function kx(D,U){return U._eraYearOrdinalRegex||Cg}function XB(){var D=[],U=[],K=[],ee=[],ge,Ue,ht,ut,_t,Jt=this.eras();for(ge=0,Ue=Jt.length;ge<Ue;++ge)ht=CA(Jt[ge].name),ut=CA(Jt[ge].abbr),_t=CA(Jt[ge].narrow),U.push(ht),D.push(ut),K.push(_t),ee.push(ht),ee.push(ut),ee.push(_t);this._erasRegex=new RegExp("^("+ee.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+U.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+D.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+K.join("|")+")","i")}qn(0,["gg",2],0,function(){return this.weekYear()%100});qn(0,["GG",2],0,function(){return this.isoWeekYear()%100});function c2(D,U){qn(0,[D,D.length],0,U)}c2("gggg","weekYear");c2("ggggg","weekYear");c2("GGGG","isoWeekYear");c2("GGGGG","isoWeekYear");Qn("G",n2);Qn("g",n2);Qn("GG",to,Vc);Qn("gg",to,Vc);Qn("GGGG",PB,OB);Qn("gggg",PB,OB);Qn("GGGGG",r2,e2);Qn("ggggg",r2,e2);c1(["gggg","ggggg","GGGG","GGGGG"],function(D,U,K,ee){U[ee.substr(0,2)]=Gi(D)});c1(["gg","GG"],function(D,U,K,ee){U[ee]=yn.parseTwoDigitYear(D)});function xx(D){return YQ.call(this,D,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Sx(D){return YQ.call(this,D,this.isoWeek(),this.isoWeekday(),1,4)}function _x(){return EA(this.year(),1,4)}function Dx(){return EA(this.isoWeekYear(),1,4)}function Rx(){var D=this.localeData()._week;return EA(this.year(),D.dow,D.doy)}function Fx(){var D=this.localeData()._week;return EA(this.weekYear(),D.dow,D.doy)}function YQ(D,U,K,ee,ge){var Ue;return D==null?$p(this,ee,ge).year:(Ue=EA(D,ee,ge),U>Ue&&(U=Ue),Nx.call(this,D,U,K,ee,ge))}function Nx(D,U,K,ee,ge){var Ue=EQ(D,U,K,ee,ge),ht=Xp(Ue.year,0,Ue.dayOfYear);return this.year(ht.getUTCFullYear()),this.month(ht.getUTCMonth()),this.date(ht.getUTCDate()),this}qn("Q",0,"Qo","quarter");Qn("Q",hQ);Sa("Q",function(D,U){U[IA]=(Gi(D)-1)*3});function Mx(D){return D==null?Math.ceil((this.month()+1)/3):this.month((D-1)*3+this.month()%3)}qn("D",["DD",2],"Do","date");Qn("D",to,Eg);Qn("DD",to,Vc);Qn("Do",function(D,U){return D?U._dayOfMonthOrdinalParse||U._ordinalParse:U._dayOfMonthOrdinalParseLenient});Sa(["D","DD"],Dl);Sa("Do",function(D,U){U[Dl]=Gi(D.match(to)[0])});var JQ=wg("Date",!0);qn("DDD",["DDDD",3],"DDDo","dayOfYear");Qn("DDD",t2);Qn("DDDD",fQ);Sa(["DDD","DDDD"],function(D,U,K){K._dayOfYear=Gi(D)});function Tx(D){var U=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return D==null?U:this.add(D-U,"d")}qn("m",["mm",2],0,"minute");Qn("m",to,GB);Qn("mm",to,Vc);Sa(["m","mm"],qu);var Lx=wg("Minutes",!1);qn("s",["ss",2],0,"second");Qn("s",to,GB);Qn("ss",to,Vc);Sa(["s","ss"],bA);var Ox=wg("Seconds",!1);qn("S",0,0,function(){return~~(this.millisecond()/100)});qn(0,["SS",2],0,function(){return~~(this.millisecond()/10)});qn(0,["SSS",3],0,"millisecond");qn(0,["SSSS",4],0,function(){return this.millisecond()*10});qn(0,["SSSSS",5],0,function(){return this.millisecond()*100});qn(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});qn(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});qn(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});qn(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Qn("S",t2,hQ);Qn("SS",t2,Vc);Qn("SSS",t2,fQ);var xh,qQ;for(xh="SSSS";xh.length<=9;xh+="S")Qn(xh,Cg);function Px(D,U){U[Tf]=Gi(("0."+D)*1e3)}for(xh="S";xh.length<=9;xh+="S")Sa(xh,Px);qQ=wg("Milliseconds",!1);qn("z",0,0,"zoneAbbr");qn("zz",0,0,"zoneName");function Gx(){return this._isUTC?"UTC":""}function Ux(){return this._isUTC?"Coordinated Universal Time":""}var Hr=o1.prototype;Hr.add=F7;Hr.calendar=G7;Hr.clone=U7;Hr.diff=K7;Hr.endOf=ix;Hr.format=X7;Hr.from=$7;Hr.fromNow=ex;Hr.to=tx;Hr.toNow=rx;Hr.get=Z6;Hr.invalidAt=fx;Hr.isAfter=j7;Hr.isBefore=H7;Hr.isBetween=Y7;Hr.isSame=J7;Hr.isSameOrAfter=q7;Hr.isSameOrBefore=W7;Hr.isValid=Ax;Hr.lang=PQ;Hr.locale=OQ;Hr.localeData=GQ;Hr.max=A7;Hr.min=l7;Hr.parsingFlags=hx;Hr.set=X6;Hr.startOf=nx;Hr.subtract=N7;Hr.toArray=cx;Hr.toObject=ux;Hr.toDate=sx;Hr.toISOString=V7;Hr.inspect=Z7;typeof Symbol<"u"&&Symbol.for!=null&&(Hr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});Hr.toJSON=lx;Hr.toString=z7;Hr.unix=ox;Hr.valueOf=ax;Hr.creationData=dx;Hr.eraName=mx;Hr.eraNarrow=yx;Hr.eraAbbr=Ix;Hr.eraYear=bx;Hr.year=pQ;Hr.isLeapYear=V6;Hr.weekYear=xx;Hr.isoWeekYear=Sx;Hr.quarter=Hr.quarters=Mx;Hr.month=bQ;Hr.daysInMonth=s8;Hr.week=Hr.weeks=g8;Hr.isoWeek=Hr.isoWeeks=p8;Hr.weeksInYear=Rx;Hr.weeksInWeekYear=Fx;Hr.isoWeeksInYear=_x;Hr.isoWeeksInISOWeekYear=Dx;Hr.date=JQ;Hr.day=Hr.days=S8;Hr.weekday=_8;Hr.isoWeekday=D8;Hr.dayOfYear=Tx;Hr.hour=Hr.hours=O8;Hr.minute=Hr.minutes=Lx;Hr.second=Hr.seconds=Ox;Hr.millisecond=Hr.milliseconds=qQ;Hr.utcOffset=I7;Hr.utc=C7;Hr.local=E7;Hr.parseZone=w7;Hr.hasAlignedHourOffset=B7;Hr.isDST=Q7;Hr.isLocal=x7;Hr.isUtcOffset=S7;Hr.isUtc=NQ;Hr.isUTC=NQ;Hr.zoneAbbr=Gx;Hr.zoneName=Ux;Hr.dates=bu("dates accessor is deprecated. Use date instead.",JQ);Hr.months=bu("months accessor is deprecated. Use month instead",bQ);Hr.years=bu("years accessor is deprecated. Use year instead",pQ);Hr.zone=bu("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",b7);Hr.isDSTShifted=bu("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",k7);function jx(D){return eo(D*1e3)}function Hx(){return eo.apply(null,arguments).parseZone()}function WQ(D){return D}var oa=MB.prototype;oa.calendar=x6;oa.longDateFormat=R6;oa.invalidDate=N6;oa.ordinal=L6;oa.preparse=WQ;oa.postformat=WQ;oa.relativeTime=P6;oa.pastFuture=G6;oa.set=Q6;oa.eras=gx;oa.erasParse=px;oa.erasConvertYear=vx;oa.erasAbbrRegex=Ex;oa.erasNameRegex=Cx;oa.erasNarrowRegex=wx;oa.months=n8;oa.monthsShort=i8;oa.monthsParse=o8;oa.monthsRegex=u8;oa.monthsShortRegex=c8;oa.week=A8;oa.firstDayOfYear=d8;oa.firstDayOfWeek=f8;oa.weekdays=w8;oa.weekdaysMin=Q8;oa.weekdaysShort=B8;oa.weekdaysParse=x8;oa.weekdaysRegex=R8;oa.weekdaysShortRegex=F8;oa.weekdaysMinRegex=N8;oa.isPM=T8;oa.meridiem=P8;function ZI(D,U,K,ee){var ge=QA(),Ue=Fl().set(ee,U);return ge[K](Ue,D)}function KQ(D,U,K){if(BA(D)&&(U=D,D=void 0),D=D||"",U!=null)return ZI(D,U,K,"month");var ee,ge=[];for(ee=0;ee<12;ee++)ge[ee]=ZI(D,ee,K,"month");return ge}function $B(D,U,K,ee){typeof D=="boolean"?(BA(U)&&(K=U,U=void 0),U=U||""):(U=D,K=U,D=!1,BA(U)&&(K=U,U=void 0),U=U||"");var ge=QA(),Ue=D?ge._week.dow:0,ht,ut=[];if(K!=null)return ZI(U,(K+Ue)%7,ee,"day");for(ht=0;ht<7;ht++)ut[ht]=ZI(U,(ht+Ue)%7,ee,"day");return ut}function Yx(D,U){return KQ(D,U,"months")}function Jx(D,U){return KQ(D,U,"monthsShort")}function qx(D,U,K){return $B(D,U,K,"weekdays")}function Wx(D,U,K){return $B(D,U,K,"weekdaysShort")}function Kx(D,U,K){return $B(D,U,K,"weekdaysMin")}Sh("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(D){var U=D%10,K=Gi(D%100/10)===1?"th":U===1?"st":U===2?"nd":U===3?"rd":"th";return D+K}});yn.lang=bu("moment.lang is deprecated. Use moment.locale instead.",Sh);yn.langData=bu("moment.langData is deprecated. Use moment.localeData instead.",QA);var mA=Math.abs;function zx(){var D=this._data;return this._milliseconds=mA(this._milliseconds),this._days=mA(this._days),this._months=mA(this._months),D.milliseconds=mA(D.milliseconds),D.seconds=mA(D.seconds),D.minutes=mA(D.minutes),D.hours=mA(D.hours),D.months=mA(D.months),D.years=mA(D.years),this}function zQ(D,U,K,ee){var ge=Vu(U,K);return D._milliseconds+=ee*ge._milliseconds,D._days+=ee*ge._days,D._months+=ee*ge._months,D._bubble()}function Vx(D,U){return zQ(this,D,U,1)}function Zx(D,U){return zQ(this,D,U,-1)}function Z5(D){return D<0?Math.floor(D):Math.ceil(D)}function Xx(){var D=this._milliseconds,U=this._days,K=this._months,ee=this._data,ge,Ue,ht,ut,_t;return D>=0&&U>=0&&K>=0||D<=0&&U<=0&&K<=0||(D+=Z5(kB(K)+U)*864e5,U=0,K=0),ee.milliseconds=D%1e3,ge=yu(D/1e3),ee.seconds=ge%60,Ue=yu(ge/60),ee.minutes=Ue%60,ht=yu(Ue/60),ee.hours=ht%24,U+=yu(ht/24),_t=yu(VQ(U)),K+=_t,U-=Z5(kB(_t)),ut=yu(K/12),K%=12,ee.days=U,ee.months=K,ee.years=ut,this}function VQ(D){return D*4800/146097}function kB(D){return D*146097/4800}function $x(D){if(!this.isValid())return NaN;var U,K,ee=this._milliseconds;if(D=Cu(D),D==="month"||D==="quarter"||D==="year")switch(U=this._days+ee/864e5,K=this._months+VQ(U),D){case"month":return K;case"quarter":return K/3;case"year":return K/12}else switch(U=this._days+Math.round(kB(this._months)),D){case"week":return U/7+ee/6048e5;case"day":return U+ee/864e5;case"hour":return U*24+ee/36e5;case"minute":return U*1440+ee/6e4;case"second":return U*86400+ee/1e3;case"millisecond":return Math.floor(U*864e5)+ee;default:throw new Error("Unknown unit "+D)}}function kA(D){return function(){return this.as(D)}}var ZQ=kA("ms"),eS=kA("s"),tS=kA("m"),rS=kA("h"),nS=kA("d"),iS=kA("w"),aS=kA("M"),oS=kA("Q"),sS=kA("y"),cS=ZQ;function uS(){return Vu(this)}function lS(D){return D=Cu(D),this.isValid()?this[D+"s"]():NaN}function Pf(D){return function(){return this.isValid()?this._data[D]:NaN}}var AS=Pf("milliseconds"),hS=Pf("seconds"),fS=Pf("minutes"),dS=Pf("hours"),gS=Pf("days"),pS=Pf("months"),vS=Pf("years");function mS(){return yu(this.days()/7)}var yA=Math.round,gg={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function yS(D,U,K,ee,ge){return ge.relativeTime(U||1,!!K,D,ee)}function IS(D,U,K,ee){var ge=Vu(D).abs(),Ue=yA(ge.as("s")),ht=yA(ge.as("m")),ut=yA(ge.as("h")),_t=yA(ge.as("d")),Jt=yA(ge.as("M")),ar=yA(ge.as("w")),Tt=yA(ge.as("y")),Fe=Ue<=K.ss&&["s",Ue]||Ue<K.s&&["ss",Ue]||ht<=1&&["m"]||ht<K.m&&["mm",ht]||ut<=1&&["h"]||ut<K.h&&["hh",ut]||_t<=1&&["d"]||_t<K.d&&["dd",_t];return K.w!=null&&(Fe=Fe||ar<=1&&["w"]||ar<K.w&&["ww",ar]),Fe=Fe||Jt<=1&&["M"]||Jt<K.M&&["MM",Jt]||Tt<=1&&["y"]||["yy",Tt],Fe[2]=U,Fe[3]=+D>0,Fe[4]=ee,yS.apply(null,Fe)}function bS(D){return D===void 0?yA:typeof D=="function"?(yA=D,!0):!1}function CS(D,U){return gg[D]===void 0?!1:U===void 0?gg[D]:(gg[D]=U,D==="s"&&(gg.ss=U-1),!0)}function ES(D,U){if(!this.isValid())return this.localeData().invalidDate();var K=!1,ee=gg,ge,Ue;return typeof D=="object"&&(U=D,D=!1),typeof D=="boolean"&&(K=D),typeof U=="object"&&(ee=Object.assign({},gg,U),U.s!=null&&U.ss==null&&(ee.ss=U.s-1)),ge=this.localeData(),Ue=IS(this,!K,ee,ge),K&&(Ue=ge.pastFuture(+this,Ue)),ge.postformat(Ue)}var mB=Math.abs;function fg(D){return(D>0)-(D<0)||+D}function u2(){if(!this.isValid())return this.localeData().invalidDate();var D=mB(this._milliseconds)/1e3,U=mB(this._days),K=mB(this._months),ee,ge,Ue,ht,ut=this.asSeconds(),_t,Jt,ar,Tt;return ut?(ee=yu(D/60),ge=yu(ee/60),D%=60,ee%=60,Ue=yu(K/12),K%=12,ht=D?D.toFixed(3).replace(/\.?0+$/,""):"",_t=ut<0?"-":"",Jt=fg(this._months)!==fg(ut)?"-":"",ar=fg(this._days)!==fg(ut)?"-":"",Tt=fg(this._milliseconds)!==fg(ut)?"-":"",_t+"P"+(Ue?Jt+Ue+"Y":"")+(K?Jt+K+"M":"")+(U?ar+U+"D":"")+(ge||ee||D?"T":"")+(ge?Tt+ge+"H":"")+(ee?Tt+ee+"M":"")+(D?Tt+ht+"S":"")):"P0D"}var zi=s2.prototype;zi.isValid=p7;zi.abs=zx;zi.add=Vx;zi.subtract=Zx;zi.as=$x;zi.asMilliseconds=ZQ;zi.asSeconds=eS;zi.asMinutes=tS;zi.asHours=rS;zi.asDays=nS;zi.asWeeks=iS;zi.asMonths=aS;zi.asQuarters=oS;zi.asYears=sS;zi.valueOf=cS;zi._bubble=Xx;zi.clone=uS;zi.get=lS;zi.milliseconds=AS;zi.seconds=hS;zi.minutes=fS;zi.hours=dS;zi.days=gS;zi.weeks=mS;zi.months=pS;zi.years=vS;zi.humanize=ES;zi.toISOString=u2;zi.toString=u2;zi.toJSON=u2;zi.locale=OQ;zi.localeData=GQ;zi.toIsoString=bu("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",u2);zi.lang=PQ;qn("X",0,0,"unix");qn("x",0,0,"valueOf");Qn("x",n2);Qn("X",Y6);Sa("X",function(D,U,K){K._d=new Date(parseFloat(D)*1e3)});Sa("x",function(D,U,K){K._d=new Date(Gi(D))});//! moment.js
  29. yn.version="2.30.1";w6(eo);yn.fn=Hr;yn.min=h7;yn.max=f7;yn.now=d7;yn.utc=Fl;yn.unix=jx;yn.months=Yx;yn.isDate=a1;yn.locale=Sh;yn.invalid=$I;yn.duration=Vu;yn.isMoment=Ku;yn.weekdays=qx;yn.parseZone=Hx;yn.localeData=QA;yn.isDuration=HI;yn.monthsShort=Jx;yn.weekdaysMin=Kx;yn.defineLocale=JB;yn.updateLocale=H8;yn.locales=Y8;yn.weekdaysShort=Wx;yn.normalizeUnits=Cu;yn.relativeTimeRounding=bS;yn.relativeTimeThreshold=CS;yn.calendarFormat=P7;yn.prototype=Hr;yn.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const wS={class:"layoutHisCenter"},BS={class:"search"},QS={class:"historyCenter"},kS=["onClick","onMouseenter","onMouseleave"],xS={class:"text"},SS=["src"],_S={class:"time"},DS=Of({__name:"historySession",emits:["querySessionDetail","changeAgentType"],setup(D,{emit:U}){const K=U,ee=Zt([]);Zt(""),Zt([]),Ta({}),Ta({}),Zt([]);const ge=Zt("");Zt(""),Zt({});const Ue=Zt(null),ht=localStorage.getItem("httpUrl"),ut=Zt(_B);let _t=Zt(0),Jt=Ta({page:1,page_size:50});Zt(0);let ar=Zt([]),Tt=Zt(!0);const Fe=async Oe=>{const{code:Et,data:qt}=await J5({dialog_id:Oe,searchParam:ge.value,...Jt});Et===200?(ee.value=qt.map(nr=>({...nr,showtype:1})),Tt.value=!1,setTimeout(()=>{Tt.value=!0},100)):ys.warning("查询失败")},yr=async Oe=>{Kk.confirm({title:"提示信息",content:"确认删除吗",okText:"确定",cancelText:"取消",hideTitle:!0,onOk:async()=>{const{code:Et}=await x9([Oe.id]);Et===200&&(ys.success("删除成功"),Fe(""))},onCancel:()=>{}})},Le=async Oe=>{console.log(Oe,"session"),Oe.base?Oe.base=="agent"?(ia.emit("queryAgentSessionDetail",Oe),K("changeAgentType","2")):Oe.base=="advanced-agent"&&(ia.emit("queryAgentSessionDetails",Oe),K("changeAgentType","5")):(K("changeAgentType","1"),K("querySessionDetail",Oe))},sr=Oe=>{Oe.showtype=2},Ir=Oe=>{Oe.showtype=1},hn=async Oe=>{_t.value=Oe.target.scrollTop;let Et=Oe.target.offsetHeight,qt=Oe.target.scrollHeight;if(_t.value+Et>=qt-1){console.log(_t.value),Jt.page++;const{code:nr,data:Nr}=await J5({dialog_id:"",...Jt});if(nr===200){if(Nr.length==0){Tt.value=!0;return}ar.value=Nr.map(zt=>({...zt,showtype:1})),ee.value=[...ee.value,...ar.value],Tt.value=!1,setTimeout(()=>{Tt.value=!0,XI(()=>{Ue.value.scrollTop(_t.value)})},100)}else ys.warning("查询失败")}};return t1(()=>{Fe("")}),_h(()=>(console.log(ht,"当前地址"),ia.on("history",()=>{K("changeAgentType","3"),Jt.page=1,Fe("")}),Ue.value.$el.addEventListener("scroll",hn),()=>{Ue.value.$el.removeEventListener("scroll",hn)})),bg(()=>{ia.off("history")}),(Oe,Et)=>{const qt=vn("a-button"),nr=vn("a-input-search"),Nr=vn("icon-delete"),zt=vn("a-scrollbar");return zr(),Fn("div",wS,[Qr(qt,{type:"primary",status:"danger",style:{position:"absolute",top:"10px",left:"-40px","font-size":"30px","z-index":"99",cursor:"pointer"},onClick:Et[0]||(Et[0]=Cr=>K("changeAgentType","1"))},{icon:Fr(()=>[Qr(Ti(Wk),{style:{"font-size":"20px"}})]),_:1}),Ti(Tt)?(zr(),Ma(zt,{key:0,ref_key:"scrollRef",ref:Ue,class:"left-list",style:{height:"calc(100vh - 160px)","overflow-y":"scroll","overflow-x":"hidden"},onScroll:hn},{default:Fr(()=>[Et[3]||(Et[3]=or("div",{class:"historyTitle___F_iam"},"历史会话",-1)),or("div",BS,[Qr(nr,{onChange:Et[1]||(Et[1]=Cr=>Fe("")),modelValue:ge.value,"onUpdate:modelValue":Et[2]||(Et[2]=Cr=>ge.value=Cr),class:"search-box",placeholder:"按下Enter键,搜索会话名称"},null,8,["modelValue"])]),or("div",QS,[(zr(!0),Fn(_s,null,lc(ee.value,Cr=>(zr(),Fn("div",{class:"item historyCenter-box",onClick:Wr=>Le(Cr),onMouseenter:Wr=>sr(Cr),onMouseleave:Wr=>Ir(Cr)},[or("div",xS,[or("img",{style:{width:"16px"},alt:"dessert",src:Cr.icon?Ti(ht)+Cr.icon:ut.value},null,8,SS),Ya(" "+xa(Cr.name),1)]),or("div",_S,[wh(or("span",{style:{"font-size":"14px"}},xa(Ti(yn)(new Date(Cr.create_time)).format("YYYY-MM-DD HH:mm:ss")),513),[[Bh,Cr.showtype==1]])]),wh(Qr(qt,{type:"text",onClick:r1(Wr=>yr(Cr),["stop"]),style:{color:"red",position:"absolute",right:"10px",top:"10px"}},{default:Fr(()=>[Qr(Nr,{style:{"font-size":"14px"}})]),_:2},1032,["onClick"]),[[Bh,Cr.showtype==2]])],40,kS))),256))])]),_:1},512)):Ca("",!0)])}}});const RS=zu(DS,[["__scopeId","data-v-5255f78a"]]),FS="/assets/his-9150ac4f.png",NS={class:"layoutAgentCenter"},MS={class:"agentMainCenter"},TS=["onClick"],LS={class:"text"},OS=["src"],PS={style:{"margin-left":"10px","font-weight":"500",color:"var(--color-text-1)"}},GS=["onClick"],US={class:"text"},jS=["src"],HS={style:{"margin-left":"10px","font-weight":"500",color:"var(--color-text-1)"}},YS=["onClick"],JS={class:"text"},qS=["src"],WS={style:{"margin-left":"10px","font-weight":"500",color:"var(--color-text-1)"}},KS=Of({__name:"smartAi",emits:["querySessionDetail","changeAgentType","createSession"],setup(D,{emit:U}){const K=U;Zt([]),Zt("");const ee=Zt([]);Ta({}),Ta({});const ge=Zt([]),Ue=Zt([]);Zt("");const ht=Zt("");Zt({});const ut=Zt(_B),_t=async()=>{const{code:Fe,data:yr}=await S9();Fe===200&&(yr==null?void 0:yr.length)>0&&(ht.value=yr[0].id,ee.value=yr.map(Le=>({...Le,type:1})))},Jt=async(Fe={})=>{try{const{data:yr}=await Xk(Fe);ge.value=yr.map(Le=>({...Le,name:Le.title,type:2}))}catch{}finally{}},ar=async()=>{const{code:Fe,data:yr}=await R9();Fe===200&&(Ue.value=yr)},Tt=async Fe=>{console.log(Fe,"session"),Fe.app_type=="3"?(ia.emit("createSeniorAgent",Fe),K("changeAgentType","5")):Fe.type=="1"?(K("createSession",Fe.id,`和${Fe.name}的会话`),K("changeAgentType","1")):(ia.emit("createAgent",Fe),K("changeAgentType","2"))};return t1(()=>{_t(),Jt(),ar()}),_h(()=>{ia.on("smartAi",()=>{K("changeAgentType","4"),_t(),Jt(),ar()})}),bg(()=>{ia.off("smartAi")}),(Fe,yr)=>{const Le=vn("a-avatar"),sr=vn("a-col"),Ir=vn("a-row"),hn=vn("a-scrollbar");return zr(),Fn("div",NS,[Qr(hn,{style:{height:"calc(100vh - 100px)","overflow-y":"auto","overflow-x":"hidden"}},{default:Fr(()=>[yr[3]||(yr[3]=or("div",{class:"search"},[or("img",{src:FS,style:{width:"100%"},alt:""})],-1)),or("div",MS,[Qr(Ir,{class:"agentCenter"},{default:Fr(()=>[(zr(!0),Fn(_s,null,lc(ee.value,Oe=>(zr(),Ma(sr,{span:8},{default:Fr(()=>[or("div",{class:"item agentCenter-box",onClick:Et=>Tt(Oe)},[or("div",LS,[Qr(Le,null,{default:Fr(()=>[or("img",{style:{width:"100%"},alt:"dessert",src:Oe.icon||ut.value},null,8,OS)]),_:2},1024),or("span",PS,xa(Oe.name),1)]),yr[0]||(yr[0]=or("div",{class:"time"},null,-1))],8,TS)]),_:2},1024))),256)),(zr(!0),Fn(_s,null,lc(ge.value,Oe=>(zr(),Ma(sr,{span:8},{default:Fr(()=>[or("div",{class:"item agentCenter-box",onClick:Et=>Tt(Oe)},[or("div",US,[Qr(Le,null,{default:Fr(()=>[or("img",{style:{width:"100%"},alt:"dessert",src:Oe.avatar||ut.value},null,8,jS)]),_:2},1024),or("span",HS,xa(Oe.name),1)]),yr[1]||(yr[1]=or("div",{class:"time"},null,-1))],8,GS)]),_:2},1024))),256)),(zr(!0),Fn(_s,null,lc(Ue.value,Oe=>(zr(),Ma(sr,{span:8},{default:Fr(()=>[or("div",{class:"item agentCenter-box",onClick:Et=>Tt(Oe)},[or("div",JS,[Qr(Le,null,{default:Fr(()=>[or("img",{style:{width:"100%"},alt:"dessert",src:Oe.icon||ut.value},null,8,qS)]),_:2},1024),or("span",WS,xa(Oe.name),1)]),yr[2]||(yr[2]=or("div",{class:"time"},null,-1))],8,YS)]),_:2},1024))),256))]),_:1})])]),_:1})])}}});const zS=zu(KS,[["__scopeId","data-v-6b163b83"]]),VS={style:{display:"flex","justify-content":"space-between"}},ZS={style:{width:"100%","margin-top":"10px","justify-content":"space-between","text-align":"right"},class:"upload-wrap"},XS=Of({__name:"updataFile",props:["sessionId","hide"],emits:["selectFileCallback"],setup(D,{expose:U,emit:K}){const ee=Zt(!1);Zt(!1),Zt(!1),Zt(!1),Zt(null);const ge=Zt(!1),Ue=Zt("");Zt(!1);const ht=Zt([]),ut=Zt("");Ta({asr_id:"paraformer-realtime-8k-v1",embd_id:"BAAI/bge-large-zh-v1.5",img2txt_id:"qwen-vl-max",llm_id:"qwen-plus",name:"wanghaos Kingdom",parser_ids:"naive:通用,qa:Q&A,resume:简历,manual:说明书,table:表格,paper:多模态,book:书籍,laws:法律文件,presentation:PPT,picture:图片,one:整体",rerank_id:"BAAI/bge-reranker-v2-m3",role:"owner",tenant_id:"948fc6fa41ab11ef8fb80242ac120004",parser_idObj:{}});const _t=Ta({naive:{chunk_token_num:676,layout_recognize:!0,raptor:{use_raptor:!0,prompt:`请总结以下段落。 小心数字,不要编造。 段落如下:
  30. {cluster_content}
  31. 以上就是你需要总结的内容。`,max_token:600,threshold:.32,max_cluster:233,random_seed:1500}},qa:{entity_types:["organization","person","location","event","time"],raptor:{use_raptor:!1}},resume:{},manual:{},table:{},paper:{},book:{},laws:{},presentation:{},picture:{},one:{}}),Jt=Zt(["通用","多模态"]),ar=Zt([{name:"通用",value:"naive",parser_config:_t.naive,parser_config_str:"支持的文件格式为DOCX、EXCEL、PPT、IMAGE、PDF、TXT"},{name:"Q&A",value:"qa",parser_config:_t.qa,parser_config_str:`支持 excel 和 csv/txt 文件格式。
  32. 如果文件以 excel 格式,则应由两个列组成 没有标题:一个提出问题,另一个用于答案, 答案列之前的问题列。
  33. 如果文件以 csv/txt 格式为 用作分开问题和答案的定界符。
  34. `},{name:"简历",value:"resume",parser_config:_t.resume,parser_config_str:"支持的文件格式为DOCX、PDF、TXT"},{name:"说明书",value:"manual",parser_config:_t.manual,parser_config_str:"仅支持PDF"},{name:"表格",value:"table",parser_config:_t.table,parser_config_str:`支持EXCEL和CSV/TXT格式文。
  35. 对于 csv 或 txt 文件,列之间的分隔符为 TAB,
  36. 第一行必须是列标题。
  37. `},{name:"多模态",value:"paper",parser_config:_t.paper,parser_config_str:"仅支持PDF文件"},{name:"书籍",value:"book",parser_config:_t.book,parser_config_str:"支持的文件格式为DOCX、PDF、TXT"},{name:"法律文件",value:"laws",parser_config:_t.laws,parser_config_str:"支持的文件格式为DOCX、PDF、TXT"},{name:"PPT",value:"presentation",parser_config:_t.presentation,parser_config_str:"支持的文件格式为PDF、PPTX"},{name:"图片",value:"picture",parser_config:_t.picture,parser_config_str:"支持图像文件"},{name:"整体",value:"one",parser_config:_t.one,parser_config_str:"支持的文件格式为DOCX、EXCEL、PDF、TXT"}]),Tt=Zt([]);Zt([]);const Fe=D,yr=K,Le=Zt(),sr=Zt([]);wA(()=>".word, .pdf, .ppt, .excel, .txt, .zip, .rar, .7z, .doc, .docx, .xls, .xlsx, .pptx, .ppt, .pdf, .mp4, .avi, .mp3,.wav, .wma, .wmv, .rm,"),wA(()=>{const zt=ar.value.filter(Cr=>Jt.value.includes(Cr.name)).reverse().slice(0,4).reverse();return zt.unshift({name:"智能识别",value:"",parser_config_str:"",parser_config:""}),zt});const Ir=()=>{Nr()},hn=zt=>{sr.value=zt,sr.value.forEach(Cr=>{})},Oe=zt=>{zt.stopPropagation(),ee.value=!ee.value},Et=zt=>{const Cr=Zt("");Cr.value=zt.split(".").pop();let Wr="";return Tt.value.forEach(un=>{un.formats.includes(Cr.value)&&(Wr=un.id)}),Wr},qt=async()=>{var Cr,Wr;if(!ut.value){const un=await Qh({dialog_id:"",conversation_desc:""});if(un.code==200){ut.value=(Cr=un.data)==null?void 0:Cr.conversation_id;const{code:Ui,data:Ea}=await pg((Wr=un.data)==null?void 0:Wr.conversation_id);Ui===200&&console.log(Ea,"新建会话详情")}else ys.error("创建会话失败,请重试")}if(console.log(sr.value,"files"),console.log(ar.value,"解析方法"),sr.value.length==0){ys.warning("请选择文件");return}ht.value=sr.value.map((un,Ui)=>({index:Ui,name:un.name,size:(un.file.size/1024).toFixed(2)+"K"})),ge.value=!0;const zt=new FormData;for(let un=0;un<sr.value.length;un++)zt.append("file",sr.value[un].file),zt.append("conversation_id",ut.value),zt.append("parser_config",""),Ue.value?zt.append("parser_id",Ue.value):zt.append("parser_id",Et(sr.value[un].name));console.log(zt,"formData"),_9(zt).then(un=>{ge.value=!1,un.code==0?(ys.success("上传成功"),nr(),yr("selectFileCallback",ht.value,ut.value)):ys.error("上传失败")})},nr=()=>{ge.value||(ee.value=!1,Ue.value="")};U({cancel:nr});const Nr=async()=>{let zt=await D9();ar.value=zt.data.map(Cr=>(console.log(Cr,Cr.parser_config_str,78787),{name:Cr.name,value:Cr.id,parser_config:"",parser_config_str:JSON.stringify(Cr.formats)})),Tt.value=zt.data};return t1(()=>{Ir()}),_h(()=>{}),i1(()=>[Fe.sessionId,Fe.hide],([zt,Cr])=>{ee.value!=Cr&&(ee.value=!1),ut.value!=zt&&(ut.value=zt)}),(zt,Cr)=>{const Wr=vn("icon-attachment"),un=vn("a-button"),Ui=vn("icon-upload"),Ea=vn("a-upload"),Po=vn("a-popover");return zr(),Ma(Po,{"popup-visible":ee.value,title:"",trigger:"click",position:"tl"},{title:Fr(()=>[or("div",VS,[Cr[0]||(Cr[0]=or("div",null,"上传文件",-1)),or("div",null,[Qr(Ui)])])]),content:Fr(()=>[Qr(Ea,{draggable:"",action:"/",style:{width:"100%"},"auto-upload":!1,ref_key:"uploadRef",ref:Le,onChange:hn,"show-retry-button":!1,multiple:"",limit:1},null,512),or("div",ZS,[Qr(un,{loading:ge.value,onClick:qt,type:"primary",size:"mini",style:{"border-radius":"24px"}},{default:Fr(()=>Cr[1]||(Cr[1]=[or("span",{style:{"font-size":"12px"}}," 上传 ",-1)])),_:1},8,["loading"])])]),default:Fr(()=>[Qr(un,{type:"text",style:{"border-radius":"24px"},onClick:Oe},{default:Fr(()=>[Qr(Wr,{size:"28",style:{color:"#0960bd"}})]),_:1})]),_:1},8,["popup-visible"])}}});const $S=zu(XS,[["__scopeId","data-v-03eb832b"]]),yB="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA0JJREFUWEfFl0FME0EUhv83S4kXvRCkJZqIQUhoF03Agxej4apHuBBvKjdgi4nRi3rRmEiXchO9GS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}};const e3=$5(zk),t3=$5(Vk);(function(D,U){(function(K,ee){D.exports=ee(e3,t3)})(Iu,function(K,ee){var ge=Object.defineProperty,Ue=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,ar=(Ie,P,L)=>P in Ie?ge(Ie,P,{enumerable:!0,configurable:!0,writable:!0,value:L}):Ie[P]=L,Tt=(Ie,P)=>{for(var L in P||(P={}))_t.call(P,L)&&ar(Ie,L,P[L]);if(ut)for(var L of ut(P))Jt.call(P,L)&&ar(Ie,L,P[L]);return Ie},Fe=(Ie,P)=>Ue(Ie,ht(P)),yr=(Ie,P,L)=>new Promise((V,ne)=>{var fe=je=>{try{Qe(L.next(je))}catch(rt){ne(rt)}},we=je=>{try{Qe(L.throw(je))}catch(rt){ne(rt)}},Qe=je=>je.done?V(je.value):Promise.resolve(je.value).then(fe,we);Qe((L=L.apply(Ie,P)).next())});typeof window.setImmediate>"u"&&(window.setImmediate=function(Ie,...P){setTimeout(()=>Ie(P))});var Le=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Iu<"u"?Iu:typeof self<"u"?self:{};function sr(Ie){return Ie&&Ie.__esModule&&Object.prototype.hasOwnProperty.call(Ie,"default")?Ie.default:Ie}function Ir(Ie){throw new Error('Could not dynamically require "'+Ie+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var hn={exports:{}};/*!
  38. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  39. <http://stuartk.com/jszip>
  40. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  41. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  42. JSZip uses the library pako released under the MIT license :
  43. https://github.com/nodeca/pako/blob/main/LICENSE
  44. */(function(Ie,P){(function(L){Ie.exports=L()})(function(){return function L(V,ne,fe){function we(rt,gt){if(!ne[rt]){if(!V[rt]){var vt=typeof Ir=="function"&&Ir;if(!gt&&vt)return vt(rt,!0);if(Qe)return Qe(rt,!0);var mt=new Error("Cannot find module '"+rt+"'");throw mt.code="MODULE_NOT_FOUND",mt}var We=ne[rt]={exports:{}};V[rt][0].call(We.exports,function(ct){var He=V[rt][1][ct];return we(He||ct)},We,We.exports,L,V,ne,fe)}return ne[rt].exports}for(var Qe=typeof Ir=="function"&&Ir,je=0;je<fe.length;je++)we(fe[je]);return we}({1:[function(L,V,ne){var fe=L("./utils"),we=L("./support"),Qe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";ne.encode=function(je){for(var rt,gt,vt,mt,We,ct,He,it=[],Xe=0,lt=je.length,Qt=lt,Nt=fe.getTypeOf(je)!=="string";Xe<je.length;)Qt=lt-Xe,vt=Nt?(rt=je[Xe++],gt=Xe<lt?je[Xe++]:0,Xe<lt?je[Xe++]:0):(rt=je.charCodeAt(Xe++),gt=Xe<lt?je.charCodeAt(Xe++):0,Xe<lt?je.charCodeAt(Xe++):0),mt=rt>>2,We=(3&rt)<<4|gt>>4,ct=1<Qt?(15&gt)<<2|vt>>6:64,He=2<Qt?63&vt:64,it.push(Qe.charAt(mt)+Qe.charAt(We)+Qe.charAt(ct)+Qe.charAt(He));return it.join("")},ne.decode=function(je){var rt,gt,vt,mt,We,ct,He=0,it=0,Xe="data:";if(je.substr(0,Xe.length)===Xe)throw new Error("Invalid base64 input, it looks like a data url.");var lt,Qt=3*(je=je.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(je.charAt(je.length-1)===Qe.charAt(64)&&Qt--,je.charAt(je.length-2)===Qe.charAt(64)&&Qt--,Qt%1!=0)throw new Error("Invalid base64 input, bad content length.");for(lt=we.uint8array?new Uint8Array(0|Qt):new Array(0|Qt);He<je.length;)rt=Qe.indexOf(je.charAt(He++))<<2|(mt=Qe.indexOf(je.charAt(He++)))>>4,gt=(15&mt)<<4|(We=Qe.indexOf(je.charAt(He++)))>>2,vt=(3&We)<<6|(ct=Qe.indexOf(je.charAt(He++))),lt[it++]=rt,We!==64&&(lt[it++]=gt),ct!==64&&(lt[it++]=vt);return lt}},{"./support":30,"./utils":32}],2:[function(L,V,ne){var fe=L("./external"),we=L("./stream/DataWorker"),Qe=L("./stream/Crc32Probe"),je=L("./stream/DataLengthProbe");function rt(gt,vt,mt,We,ct){this.compressedSize=gt,this.uncompressedSize=vt,this.crc32=mt,this.compression=We,this.compressedContent=ct}rt.prototype={getContentWorker:function(){var gt=new we(fe.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new je("data_length")),vt=this;return gt.on("end",function(){if(this.streamInfo.data_length!==vt.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),gt},getCompressedWorker:function(){return new we(fe.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},rt.createWorkerFrom=function(gt,vt,mt){return gt.pipe(new Qe).pipe(new je("uncompressedSize")).pipe(vt.compressWorker(mt)).pipe(new je("compressedSize")).withStreamInfo("compression",vt)},V.exports=rt},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(L,V,ne){var fe=L("./stream/GenericWorker");ne.STORE={magic:"\0\0",compressWorker:function(){return new fe("STORE compression")},uncompressWorker:function(){return new fe("STORE decompression")}},ne.DEFLATE=L("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(L,V,ne){var fe=L("./utils"),we=function(){for(var Qe,je=[],rt=0;rt<256;rt++){Qe=rt;for(var gt=0;gt<8;gt++)Qe=1&Qe?3988292384^Qe>>>1:Qe>>>1;je[rt]=Qe}return je}();V.exports=function(Qe,je){return Qe!==void 0&&Qe.length?fe.getTypeOf(Qe)!=="string"?function(rt,gt,vt,mt){var We=we,ct=mt+vt;rt^=-1;for(var He=mt;He<ct;He++)rt=rt>>>8^We[255&(rt^gt[He])];return-1^rt}(0|je,Qe,Qe.length,0):function(rt,gt,vt,mt){var We=we,ct=mt+vt;rt^=-1;for(var He=mt;He<ct;He++)rt=rt>>>8^We[255&(rt^gt.charCodeAt(He))];return-1^rt}(0|je,Qe,Qe.length,0):0}},{"./utils":32}],5:[function(L,V,ne){ne.base64=!1,ne.binary=!1,ne.dir=!1,ne.createFolders=!0,ne.date=null,ne.compression=null,ne.compressionOptions=null,ne.comment=null,ne.unixPermissions=null,ne.dosPermissions=null},{}],6:[function(L,V,ne){var fe=null;fe=typeof Promise<"u"?Promise:L("lie"),V.exports={Promise:fe}},{lie:37}],7:[function(L,V,ne){var fe=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",we=L("pako"),Qe=L("./utils"),je=L("./stream/GenericWorker"),rt=fe?"uint8array":"array";function gt(vt,mt){je.call(this,"FlateWorker/"+vt),this._pako=null,this._pakoAction=vt,this._pakoOptions=mt,this.meta={}}ne.magic="\b\0",Qe.inherits(gt,je),gt.prototype.processChunk=function(vt){this.meta=vt.meta,this._pako===null&&this._createPako(),this._pako.push(Qe.transformTo(rt,vt.data),!1)},gt.prototype.flush=function(){je.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},gt.prototype.cleanUp=function(){je.prototype.cleanUp.call(this),this._pako=null},gt.prototype._createPako=function(){this._pako=new we[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var vt=this;this._pako.onData=function(mt){vt.push({data:mt,meta:vt.meta})}},ne.compressWorker=function(vt){return new gt("Deflate",vt)},ne.uncompressWorker=function(){return new gt("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(L,V,ne){function fe(We,ct){var He,it="";for(He=0;He<ct;He++)it+=String.fromCharCode(255&We),We>>>=8;return it}function we(We,ct,He,it,Xe,lt){var Qt,Nt,Rt=We.file,pr=We.compression,$t=lt!==rt.utf8encode,Pr=Qe.transformTo("string",lt(Rt.name)),Vt=Qe.transformTo("string",rt.utf8encode(Rt.name)),Xr=Rt.comment,Vn=Qe.transformTo("string",lt(Xr)),It=Qe.transformTo("string",rt.utf8encode(Xr)),rr=Vt.length!==Rt.name.length,De=It.length!==Xr.length,Ar="",li="",Rr="",pi=Rt.dir,Gr=Rt.date,ti={crc32:0,compressedSize:0,uncompressedSize:0};ct&&!He||(ti.crc32=We.crc32,ti.compressedSize=We.compressedSize,ti.uncompressedSize=We.uncompressedSize);var Ht=0;ct&&(Ht|=8),$t||!rr&&!De||(Ht|=2048);var jt=0,Kn=0;pi&&(jt|=16),Xe==="UNIX"?(Kn=798,jt|=function(sn,Wa){var ho=sn;return sn||(ho=Wa?16893:33204),(65535&ho)<<16}(Rt.unixPermissions,pi)):(Kn=20,jt|=function(sn){return 63&(sn||0)}(Rt.dosPermissions)),Qt=Gr.getUTCHours(),Qt<<=6,Qt|=Gr.getUTCMinutes(),Qt<<=5,Qt|=Gr.getUTCSeconds()/2,Nt=Gr.getUTCFullYear()-1980,Nt<<=4,Nt|=Gr.getUTCMonth()+1,Nt<<=5,Nt|=Gr.getUTCDate(),rr&&(li=fe(1,1)+fe(gt(Pr),4)+Vt,Ar+="up"+fe(li.length,2)+li),De&&(Rr=fe(1,1)+fe(gt(Vn),4)+It,Ar+="uc"+fe(Rr.length,2)+Rr);var En="";return En+=`
  45. \0`,En+=fe(Ht,2),En+=pr.magic,En+=fe(Qt,2),En+=fe(Nt,2),En+=fe(ti.crc32,4),En+=fe(ti.compressedSize,4),En+=fe(ti.uncompressedSize,4),En+=fe(Pr.length,2),En+=fe(Ar.length,2),{fileRecord:vt.LOCAL_FILE_HEADER+En+Pr+Ar,dirRecord:vt.CENTRAL_FILE_HEADER+fe(Kn,2)+En+fe(Vn.length,2)+"\0\0\0\0"+fe(jt,4)+fe(it,4)+Pr+Ar+Vn}}var Qe=L("../utils"),je=L("../stream/GenericWorker"),rt=L("../utf8"),gt=L("../crc32"),vt=L("../signature");function mt(We,ct,He,it){je.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=ct,this.zipPlatform=He,this.encodeFileName=it,this.streamFiles=We,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Qe.inherits(mt,je),mt.prototype.push=function(We){var ct=We.meta.percent||0,He=this.entriesCount,it=this._sources.length;this.accumulate?this.contentBuffer.push(We):(this.bytesWritten+=We.data.length,je.prototype.push.call(this,{data:We.data,meta:{currentFile:this.currentFile,percent:He?(ct+100*(He-it-1))/He:100}}))},mt.prototype.openedSource=function(We){this.currentSourceOffset=this.bytesWritten,this.currentFile=We.file.name;var ct=this.streamFiles&&!We.file.dir;if(ct){var He=we(We,ct,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:He.fileRecord,meta:{percent:0}})}else this.accumulate=!0},mt.prototype.closedSource=function(We){this.accumulate=!1;var ct=this.streamFiles&&!We.file.dir,He=we(We,ct,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(He.dirRecord),ct)this.push({data:function(it){return vt.DATA_DESCRIPTOR+fe(it.crc32,4)+fe(it.compressedSize,4)+fe(it.uncompressedSize,4)}(We),meta:{percent:100}});else for(this.push({data:He.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},mt.prototype.flush=function(){for(var We=this.bytesWritten,ct=0;ct<this.dirRecords.length;ct++)this.push({data:this.dirRecords[ct],meta:{percent:100}});var He=this.bytesWritten-We,it=function(Xe,lt,Qt,Nt,Rt){var pr=Qe.transformTo("string",Rt(Nt));return vt.CENTRAL_DIRECTORY_END+"\0\0\0\0"+fe(Xe,2)+fe(Xe,2)+fe(lt,4)+fe(Qt,4)+fe(pr.length,2)+pr}(this.dirRecords.length,He,We,this.zipComment,this.encodeFileName);this.push({data:it,meta:{percent:100}})},mt.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},mt.prototype.registerPrevious=function(We){this._sources.push(We);var ct=this;return We.on("data",function(He){ct.processChunk(He)}),We.on("end",function(){ct.closedSource(ct.previous.streamInfo),ct._sources.length?ct.prepareNextSource():ct.end()}),We.on("error",function(He){ct.error(He)}),this},mt.prototype.resume=function(){return!!je.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},mt.prototype.error=function(We){var ct=this._sources;if(!je.prototype.error.call(this,We))return!1;for(var He=0;He<ct.length;He++)try{ct[He].error(We)}catch{}return!0},mt.prototype.lock=function(){je.prototype.lock.call(this);for(var We=this._sources,ct=0;ct<We.length;ct++)We[ct].lock()},V.exports=mt},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(L,V,ne){var fe=L("../compressions"),we=L("./ZipFileWorker");ne.generateWorker=function(Qe,je,rt){var gt=new we(je.streamFiles,rt,je.platform,je.encodeFileName),vt=0;try{Qe.forEach(function(mt,We){vt++;var ct=function(lt,Qt){var Nt=lt||Qt,Rt=fe[Nt];if(!Rt)throw new Error(Nt+" is not a valid compression method !");return Rt}(We.options.compression,je.compression),He=We.options.compressionOptions||je.compressionOptions||{},it=We.dir,Xe=We.date;We._compressWorker(ct,He).withStreamInfo("file",{name:mt,dir:it,date:Xe,comment:We.comment||"",unixPermissions:We.unixPermissions,dosPermissions:We.dosPermissions}).pipe(gt)}),gt.entriesCount=vt}catch(mt){gt.error(mt)}return gt}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(L,V,ne){function fe(){if(!(this instanceof fe))return new fe;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var we=new fe;for(var Qe in this)typeof this[Qe]!="function"&&(we[Qe]=this[Qe]);return we}}(fe.prototype=L("./object")).loadAsync=L("./load"),fe.support=L("./support"),fe.defaults=L("./defaults"),fe.version="3.10.1",fe.loadAsync=function(we,Qe){return new fe().loadAsync(we,Qe)},fe.external=L("./external"),V.exports=fe},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(L,V,ne){var fe=L("./utils"),we=L("./external"),Qe=L("./utf8"),je=L("./zipEntries"),rt=L("./stream/Crc32Probe"),gt=L("./nodejsUtils");function vt(mt){return new we.Promise(function(We,ct){var He=mt.decompressed.getContentWorker().pipe(new rt);He.on("error",function(it){ct(it)}).on("end",function(){He.streamInfo.crc32!==mt.decompressed.crc32?ct(new Error("Corrupted zip : CRC32 mismatch")):We()}).resume()})}V.exports=function(mt,We){var ct=this;return We=fe.extend(We||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Qe.utf8decode}),gt.isNode&&gt.isStream(mt)?we.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):fe.prepareContent("the loaded zip file",mt,!0,We.optimizedBinaryString,We.base64).then(function(He){var it=new je(We);return it.load(He),it}).then(function(He){var it=[we.Promise.resolve(He)],Xe=He.files;if(We.checkCRC32)for(var lt=0;lt<Xe.length;lt++)it.push(vt(Xe[lt]));return we.Promise.all(it)}).then(function(He){for(var it=He.shift(),Xe=it.files,lt=0;lt<Xe.length;lt++){var Qt=Xe[lt],Nt=Qt.fileNameStr,Rt=fe.resolve(Qt.fileNameStr);ct.file(Rt,Qt.decompressed,{binary:!0,optimizedBinaryString:!0,date:Qt.date,dir:Qt.dir,comment:Qt.fileCommentStr.length?Qt.fileCommentStr:null,unixPermissions:Qt.unixPermissions,dosPermissions:Qt.dosPermissions,createFolders:We.createFolders}),Qt.dir||(ct.file(Rt).unsafeOriginalName=Nt)}return it.zipComment.length&&(ct.comment=it.zipComment),ct})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(L,V,ne){var fe=L("../utils"),we=L("../stream/GenericWorker");function Qe(je,rt){we.call(this,"Nodejs stream input adapter for "+je),this._upstreamEnded=!1,this._bindStream(rt)}fe.inherits(Qe,we),Qe.prototype._bindStream=function(je){var rt=this;(this._stream=je).pause(),je.on("data",function(gt){rt.push({data:gt,meta:{percent:0}})}).on("error",function(gt){rt.isPaused?this.generatedError=gt:rt.error(gt)}).on("end",function(){rt.isPaused?rt._upstreamEnded=!0:rt.end()})},Qe.prototype.pause=function(){return!!we.prototype.pause.call(this)&&(this._stream.pause(),!0)},Qe.prototype.resume=function(){return!!we.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},V.exports=Qe},{"../stream/GenericWorker":28,"../utils":32}],13:[function(L,V,ne){var fe=L("readable-stream").Readable;function we(Qe,je,rt){fe.call(this,je),this._helper=Qe;var gt=this;Qe.on("data",function(vt,mt){gt.push(vt)||gt._helper.pause(),rt&&rt(mt)}).on("error",function(vt){gt.emit("error",vt)}).on("end",function(){gt.push(null)})}L("../utils").inherits(we,fe),we.prototype._read=function(){this._helper.resume()},V.exports=we},{"../utils":32,"readable-stream":16}],14:[function(L,V,ne){V.exports={isNode:typeof Buffer<"u",newBufferFrom:function(fe,we){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(fe,we);if(typeof fe=="number")throw new Error('The "data" argument must not be a number');return new Buffer(fe,we)},allocBuffer:function(fe){if(Buffer.alloc)return Buffer.alloc(fe);var we=new Buffer(fe);return we.fill(0),we},isBuffer:function(fe){return Buffer.isBuffer(fe)},isStream:function(fe){return fe&&typeof fe.on=="function"&&typeof fe.pause=="function"&&typeof fe.resume=="function"}}},{}],15:[function(L,V,ne){function fe(Rt,pr,$t){var Pr,Vt=Qe.getTypeOf(pr),Xr=Qe.extend($t||{},gt);Xr.date=Xr.date||new Date,Xr.compression!==null&&(Xr.compression=Xr.compression.toUpperCase()),typeof Xr.unixPermissions=="string"&&(Xr.unixPermissions=parseInt(Xr.unixPermissions,8)),Xr.unixPermissions&&16384&Xr.unixPermissions&&(Xr.dir=!0),Xr.dosPermissions&&16&Xr.dosPermissions&&(Xr.dir=!0),Xr.dir&&(Rt=Xe(Rt)),Xr.createFolders&&(Pr=it(Rt))&&lt.call(this,Pr,!0);var Vn=Vt==="string"&&Xr.binary===!1&&Xr.base64===!1;$t&&$t.binary!==void 0||(Xr.binary=!Vn),(pr instanceof vt&&pr.uncompressedSize===0||Xr.dir||!pr||pr.length===0)&&(Xr.base64=!1,Xr.binary=!0,pr="",Xr.compression="STORE",Vt="string");var It=null;It=pr instanceof vt||pr instanceof je?pr:ct.isNode&&ct.isStream(pr)?new He(Rt,pr):Qe.prepareContent(Rt,pr,Xr.binary,Xr.optimizedBinaryString,Xr.base64);var rr=new mt(Rt,It,Xr);this.files[Rt]=rr}var we=L("./utf8"),Qe=L("./utils"),je=L("./stream/GenericWorker"),rt=L("./stream/StreamHelper"),gt=L("./defaults"),vt=L("./compressedObject"),mt=L("./zipObject"),We=L("./generate"),ct=L("./nodejsUtils"),He=L("./nodejs/NodejsStreamInputAdapter"),it=function(Rt){Rt.slice(-1)==="/"&&(Rt=Rt.substring(0,Rt.length-1));var pr=Rt.lastIndexOf("/");return 0<pr?Rt.substring(0,pr):""},Xe=function(Rt){return Rt.slice(-1)!=="/"&&(Rt+="/"),Rt},lt=function(Rt,pr){return pr=pr!==void 0?pr:gt.createFolders,Rt=Xe(Rt),this.files[Rt]||fe.call(this,Rt,null,{dir:!0,createFolders:pr}),this.files[Rt]};function Qt(Rt){return Object.prototype.toString.call(Rt)==="[object RegExp]"}var Nt={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(Rt){var pr,$t,Pr;for(pr in this.files)Pr=this.files[pr],($t=pr.slice(this.root.length,pr.length))&&pr.slice(0,this.root.length)===this.root&&Rt($t,Pr)},filter:function(Rt){var pr=[];return this.forEach(function($t,Pr){Rt($t,Pr)&&pr.push(Pr)}),pr},file:function(Rt,pr,$t){if(arguments.length!==1)return Rt=this.root+Rt,fe.call(this,Rt,pr,$t),this;if(Qt(Rt)){var Pr=Rt;return this.filter(function(Xr,Vn){return!Vn.dir&&Pr.test(Xr)})}var Vt=this.files[this.root+Rt];return Vt&&!Vt.dir?Vt:null},folder:function(Rt){if(!Rt)return this;if(Qt(Rt))return this.filter(function(Vt,Xr){return Xr.dir&&Rt.test(Vt)});var pr=this.root+Rt,$t=lt.call(this,pr),Pr=this.clone();return Pr.root=$t.name,Pr},remove:function(Rt){Rt=this.root+Rt;var pr=this.files[Rt];if(pr||(Rt.slice(-1)!=="/"&&(Rt+="/"),pr=this.files[Rt]),pr&&!pr.dir)delete this.files[Rt];else for(var $t=this.filter(function(Vt,Xr){return Xr.name.slice(0,Rt.length)===Rt}),Pr=0;Pr<$t.length;Pr++)delete this.files[$t[Pr].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(Rt){var pr,$t={};try{if(($t=Qe.extend(Rt||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:we.utf8encode})).type=$t.type.toLowerCase(),$t.compression=$t.compression.toUpperCase(),$t.type==="binarystring"&&($t.type="string"),!$t.type)throw new Error("No output type specified.");Qe.checkSupport($t.type),$t.platform!=="darwin"&&$t.platform!=="freebsd"&&$t.platform!=="linux"&&$t.platform!=="sunos"||($t.platform="UNIX"),$t.platform==="win32"&&($t.platform="DOS");var Pr=$t.comment||this.comment||"";pr=We.generateWorker(this,$t,Pr)}catch(Vt){(pr=new je("error")).error(Vt)}return new rt(pr,$t.type||"string",$t.mimeType)},generateAsync:function(Rt,pr){return this.generateInternalStream(Rt).accumulate(pr)},generateNodeStream:function(Rt,pr){return(Rt=Rt||{}).type||(Rt.type="nodebuffer"),this.generateInternalStream(Rt).toNodejsStream(pr)}};V.exports=Nt},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(L,V,ne){V.exports=L("stream")},{stream:void 0}],17:[function(L,V,ne){var fe=L("./DataReader");function we(Qe){fe.call(this,Qe);for(var je=0;je<this.data.length;je++)Qe[je]=255&Qe[je]}L("../utils").inherits(we,fe),we.prototype.byteAt=function(Qe){return this.data[this.zero+Qe]},we.prototype.lastIndexOfSignature=function(Qe){for(var je=Qe.charCodeAt(0),rt=Qe.charCodeAt(1),gt=Qe.charCodeAt(2),vt=Qe.charCodeAt(3),mt=this.length-4;0<=mt;--mt)if(this.data[mt]===je&&this.data[mt+1]===rt&&this.data[mt+2]===gt&&this.data[mt+3]===vt)return mt-this.zero;return-1},we.prototype.readAndCheckSignature=function(Qe){var je=Qe.charCodeAt(0),rt=Qe.charCodeAt(1),gt=Qe.charCodeAt(2),vt=Qe.charCodeAt(3),mt=this.readData(4);return je===mt[0]&&rt===mt[1]&&gt===mt[2]&&vt===mt[3]},we.prototype.readData=function(Qe){if(this.checkOffset(Qe),Qe===0)return[];var je=this.data.slice(this.zero+this.index,this.zero+this.index+Qe);return this.index+=Qe,je},V.exports=we},{"../utils":32,"./DataReader":18}],18:[function(L,V,ne){var fe=L("../utils");function we(Qe){this.data=Qe,this.length=Qe.length,this.index=0,this.zero=0}we.prototype={checkOffset:function(Qe){this.checkIndex(this.index+Qe)},checkIndex:function(Qe){if(this.length<this.zero+Qe||Qe<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+Qe+"). Corrupted zip ?")},setIndex:function(Qe){this.checkIndex(Qe),this.index=Qe},skip:function(Qe){this.setIndex(this.index+Qe)},byteAt:function(){},readInt:function(Qe){var je,rt=0;for(this.checkOffset(Qe),je=this.index+Qe-1;je>=this.index;je--)rt=(rt<<8)+this.byteAt(je);return this.index+=Qe,rt},readString:function(Qe){return fe.transformTo("string",this.readData(Qe))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var Qe=this.readInt(4);return new Date(Date.UTC(1980+(Qe>>25&127),(Qe>>21&15)-1,Qe>>16&31,Qe>>11&31,Qe>>5&63,(31&Qe)<<1))}},V.exports=we},{"../utils":32}],19:[function(L,V,ne){var fe=L("./Uint8ArrayReader");function we(Qe){fe.call(this,Qe)}L("../utils").inherits(we,fe),we.prototype.readData=function(Qe){this.checkOffset(Qe);var je=this.data.slice(this.zero+this.index,this.zero+this.index+Qe);return this.index+=Qe,je},V.exports=we},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(L,V,ne){var fe=L("./DataReader");function we(Qe){fe.call(this,Qe)}L("../utils").inherits(we,fe),we.prototype.byteAt=function(Qe){return this.data.charCodeAt(this.zero+Qe)},we.prototype.lastIndexOfSignature=function(Qe){return this.data.lastIndexOf(Qe)-this.zero},we.prototype.readAndCheckSignature=function(Qe){return Qe===this.readData(4)},we.prototype.readData=function(Qe){this.checkOffset(Qe);var je=this.data.slice(this.zero+this.index,this.zero+this.index+Qe);return this.index+=Qe,je},V.exports=we},{"../utils":32,"./DataReader":18}],21:[function(L,V,ne){var fe=L("./ArrayReader");function we(Qe){fe.call(this,Qe)}L("../utils").inherits(we,fe),we.prototype.readData=function(Qe){if(this.checkOffset(Qe),Qe===0)return new Uint8Array(0);var je=this.data.subarray(this.zero+this.index,this.zero+this.index+Qe);return this.index+=Qe,je},V.exports=we},{"../utils":32,"./ArrayReader":17}],22:[function(L,V,ne){var fe=L("../utils"),we=L("../support"),Qe=L("./ArrayReader"),je=L("./StringReader"),rt=L("./NodeBufferReader"),gt=L("./Uint8ArrayReader");V.exports=function(vt){var mt=fe.getTypeOf(vt);return fe.checkSupport(mt),mt!=="string"||we.uint8array?mt==="nodebuffer"?new rt(vt):we.uint8array?new gt(fe.transformTo("uint8array",vt)):new Qe(fe.transformTo("array",vt)):new je(vt)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(L,V,ne){ne.LOCAL_FILE_HEADER="PK",ne.CENTRAL_FILE_HEADER="PK",ne.CENTRAL_DIRECTORY_END="PK",ne.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",ne.ZIP64_CENTRAL_DIRECTORY_END="PK",ne.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(L,V,ne){var fe=L("./GenericWorker"),we=L("../utils");function Qe(je){fe.call(this,"ConvertWorker to "+je),this.destType=je}we.inherits(Qe,fe),Qe.prototype.processChunk=function(je){this.push({data:we.transformTo(this.destType,je.data),meta:je.meta})},V.exports=Qe},{"../utils":32,"./GenericWorker":28}],25:[function(L,V,ne){var fe=L("./GenericWorker"),we=L("../crc32");function Qe(){fe.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}L("../utils").inherits(Qe,fe),Qe.prototype.processChunk=function(je){this.streamInfo.crc32=we(je.data,this.streamInfo.crc32||0),this.push(je)},V.exports=Qe},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(L,V,ne){var fe=L("../utils"),we=L("./GenericWorker");function Qe(je){we.call(this,"DataLengthProbe for "+je),this.propName=je,this.withStreamInfo(je,0)}fe.inherits(Qe,we),Qe.prototype.processChunk=function(je){if(je){var rt=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=rt+je.data.length}we.prototype.processChunk.call(this,je)},V.exports=Qe},{"../utils":32,"./GenericWorker":28}],27:[function(L,V,ne){var fe=L("../utils"),we=L("./GenericWorker");function Qe(je){we.call(this,"DataWorker");var rt=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,je.then(function(gt){rt.dataIsReady=!0,rt.data=gt,rt.max=gt&&gt.length||0,rt.type=fe.getTypeOf(gt),rt.isPaused||rt._tickAndRepeat()},function(gt){rt.error(gt)})}fe.inherits(Qe,we),Qe.prototype.cleanUp=function(){we.prototype.cleanUp.call(this),this.data=null},Qe.prototype.resume=function(){return!!we.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,fe.delay(this._tickAndRepeat,[],this)),!0)},Qe.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(fe.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},Qe.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var je=null,rt=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":je=this.data.substring(this.index,rt);break;case"uint8array":je=this.data.subarray(this.index,rt);break;case"array":case"nodebuffer":je=this.data.slice(this.index,rt)}return this.index=rt,this.push({data:je,meta:{percent:this.max?this.index/this.max*100:0}})},V.exports=Qe},{"../utils":32,"./GenericWorker":28}],28:[function(L,V,ne){function fe(we){this.name=we||"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}fe.prototype={push:function(we){this.emit("data",we)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(we){this.emit("error",we)}return!0},error:function(we){return!this.isFinished&&(this.isPaused?this.generatedError=we:(this.isFinished=!0,this.emit("error",we),this.previous&&this.previous.error(we),this.cleanUp()),!0)},on:function(we,Qe){return this._listeners[we].push(Qe),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(we,Qe){if(this._listeners[we])for(var je=0;je<this._listeners[we].length;je++)this._listeners[we][je].call(this,Qe)},pipe:function(we){return we.registerPrevious(this)},registerPrevious:function(we){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=we.streamInfo,this.mergeStreamInfo(),this.previous=we;var Qe=this;return we.on("data",function(je){Qe.processChunk(je)}),we.on("end",function(){Qe.end()}),we.on("error",function(je){Qe.error(je)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var we=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),we=!0),this.previous&&this.previous.resume(),!we},flush:function(){},processChunk:function(we){this.push(we)},withStreamInfo:function(we,Qe){return this.extraStreamInfo[we]=Qe,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var we in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,we)&&(this.streamInfo[we]=this.extraStreamInfo[we])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var we="Worker "+this.name;return this.previous?this.previous+" -> "+we:we}},V.exports=fe},{}],29:[function(L,V,ne){var fe=L("../utils"),we=L("./ConvertWorker"),Qe=L("./GenericWorker"),je=L("../base64"),rt=L("../support"),gt=L("../external"),vt=null;if(rt.nodestream)try{vt=L("../nodejs/NodejsStreamOutputAdapter")}catch{}function mt(ct,He){return new gt.Promise(function(it,Xe){var lt=[],Qt=ct._internalType,Nt=ct._outputType,Rt=ct._mimeType;ct.on("data",function(pr,$t){lt.push(pr),He&&He($t)}).on("error",function(pr){lt=[],Xe(pr)}).on("end",function(){try{var pr=function($t,Pr,Vt){switch($t){case"blob":return fe.newBlob(fe.transformTo("arraybuffer",Pr),Vt);case"base64":return je.encode(Pr);default:return fe.transformTo($t,Pr)}}(Nt,function($t,Pr){var Vt,Xr=0,Vn=null,It=0;for(Vt=0;Vt<Pr.length;Vt++)It+=Pr[Vt].length;switch($t){case"string":return Pr.join("");case"array":return Array.prototype.concat.apply([],Pr);case"uint8array":for(Vn=new Uint8Array(It),Vt=0;Vt<Pr.length;Vt++)Vn.set(Pr[Vt],Xr),Xr+=Pr[Vt].length;return Vn;case"nodebuffer":return Buffer.concat(Pr);default:throw new Error("concat : unsupported type '"+$t+"'")}}(Qt,lt),Rt);it(pr)}catch($t){Xe($t)}lt=[]}).resume()})}function We(ct,He,it){var Xe=He;switch(He){case"blob":case"arraybuffer":Xe="uint8array";break;case"base64":Xe="string"}try{this._internalType=Xe,this._outputType=He,this._mimeType=it,fe.checkSupport(Xe),this._worker=ct.pipe(new we(Xe)),ct.lock()}catch(lt){this._worker=new Qe("error"),this._worker.error(lt)}}We.prototype={accumulate:function(ct){return mt(this,ct)},on:function(ct,He){var it=this;return ct==="data"?this._worker.on(ct,function(Xe){He.call(it,Xe.data,Xe.meta)}):this._worker.on(ct,function(){fe.delay(He,arguments,it)}),this},resume:function(){return fe.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(ct){if(fe.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new vt(this,{objectMode:this._outputType!=="nodebuffer"},ct)}},V.exports=We},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(L,V,ne){if(ne.base64=!0,ne.array=!0,ne.string=!0,ne.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",ne.nodebuffer=typeof Buffer<"u",ne.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")ne.blob=!1;else{var fe=new ArrayBuffer(0);try{ne.blob=new Blob([fe],{type:"application/zip"}).size===0}catch{try{var we=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);we.append(fe),ne.blob=we.getBlob("application/zip").size===0}catch{ne.blob=!1}}}try{ne.nodestream=!!L("readable-stream").Readable}catch{ne.nodestream=!1}},{"readable-stream":16}],31:[function(L,V,ne){for(var fe=L("./utils"),we=L("./support"),Qe=L("./nodejsUtils"),je=L("./stream/GenericWorker"),rt=new Array(256),gt=0;gt<256;gt++)rt[gt]=252<=gt?6:248<=gt?5:240<=gt?4:224<=gt?3:192<=gt?2:1;rt[254]=rt[254]=1;function vt(){je.call(this,"utf-8 decode"),this.leftOver=null}function mt(){je.call(this,"utf-8 encode")}ne.utf8encode=function(We){return we.nodebuffer?Qe.newBufferFrom(We,"utf-8"):function(ct){var He,it,Xe,lt,Qt,Nt=ct.length,Rt=0;for(lt=0;lt<Nt;lt++)(64512&(it=ct.charCodeAt(lt)))==55296&&lt+1<Nt&&(64512&(Xe=ct.charCodeAt(lt+1)))==56320&&(it=65536+(it-55296<<10)+(Xe-56320),lt++),Rt+=it<128?1:it<2048?2:it<65536?3:4;for(He=we.uint8array?new Uint8Array(Rt):new Array(Rt),lt=Qt=0;Qt<Rt;lt++)(64512&(it=ct.charCodeAt(lt)))==55296&&lt+1<Nt&&(64512&(Xe=ct.charCodeAt(lt+1)))==56320&&(it=65536+(it-55296<<10)+(Xe-56320),lt++),it<128?He[Qt++]=it:(it<2048?He[Qt++]=192|it>>>6:(it<65536?He[Qt++]=224|it>>>12:(He[Qt++]=240|it>>>18,He[Qt++]=128|it>>>12&63),He[Qt++]=128|it>>>6&63),He[Qt++]=128|63&it);return He}(We)},ne.utf8decode=function(We){return we.nodebuffer?fe.transformTo("nodebuffer",We).toString("utf-8"):function(ct){var He,it,Xe,lt,Qt=ct.length,Nt=new Array(2*Qt);for(He=it=0;He<Qt;)if((Xe=ct[He++])<128)Nt[it++]=Xe;else if(4<(lt=rt[Xe]))Nt[it++]=65533,He+=lt-1;else{for(Xe&=lt===2?31:lt===3?15:7;1<lt&&He<Qt;)Xe=Xe<<6|63&ct[He++],lt--;1<lt?Nt[it++]=65533:Xe<65536?Nt[it++]=Xe:(Xe-=65536,Nt[it++]=55296|Xe>>10&1023,Nt[it++]=56320|1023&Xe)}return Nt.length!==it&&(Nt.subarray?Nt=Nt.subarray(0,it):Nt.length=it),fe.applyFromCharCode(Nt)}(We=fe.transformTo(we.uint8array?"uint8array":"array",We))},fe.inherits(vt,je),vt.prototype.processChunk=function(We){var ct=fe.transformTo(we.uint8array?"uint8array":"array",We.data);if(this.leftOver&&this.leftOver.length){if(we.uint8array){var He=ct;(ct=new Uint8Array(He.length+this.leftOver.length)).set(this.leftOver,0),ct.set(He,this.leftOver.length)}else ct=this.leftOver.concat(ct);this.leftOver=null}var it=function(lt,Qt){var Nt;for((Qt=Qt||lt.length)>lt.length&&(Qt=lt.length),Nt=Qt-1;0<=Nt&&(192&lt[Nt])==128;)Nt--;return Nt<0||Nt===0?Qt:Nt+rt[lt[Nt]]>Qt?Nt:Qt}(ct),Xe=ct;it!==ct.length&&(we.uint8array?(Xe=ct.subarray(0,it),this.leftOver=ct.subarray(it,ct.length)):(Xe=ct.slice(0,it),this.leftOver=ct.slice(it,ct.length))),this.push({data:ne.utf8decode(Xe),meta:We.meta})},vt.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:ne.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},ne.Utf8DecodeWorker=vt,fe.inherits(mt,je),mt.prototype.processChunk=function(We){this.push({data:ne.utf8encode(We.data),meta:We.meta})},ne.Utf8EncodeWorker=mt},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(L,V,ne){var fe=L("./support"),we=L("./base64"),Qe=L("./nodejsUtils"),je=L("./external");function rt(He){return He}function gt(He,it){for(var Xe=0;Xe<He.length;++Xe)it[Xe]=255&He.charCodeAt(Xe);return it}L("setimmediate"),ne.newBlob=function(He,it){ne.checkSupport("blob");try{return new Blob([He],{type:it})}catch{try{var Xe=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Xe.append(He),Xe.getBlob(it)}catch{throw new Error("Bug : can't construct the Blob.")}}};var vt={stringifyByChunk:function(He,it,Xe){var lt=[],Qt=0,Nt=He.length;if(Nt<=Xe)return String.fromCharCode.apply(null,He);for(;Qt<Nt;)it==="array"||it==="nodebuffer"?lt.push(String.fromCharCode.apply(null,He.slice(Qt,Math.min(Qt+Xe,Nt)))):lt.push(String.fromCharCode.apply(null,He.subarray(Qt,Math.min(Qt+Xe,Nt)))),Qt+=Xe;return lt.join("")},stringifyByChar:function(He){for(var it="",Xe=0;Xe<He.length;Xe++)it+=String.fromCharCode(He[Xe]);return it},applyCanBeUsed:{uint8array:function(){try{return fe.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return fe.nodebuffer&&String.fromCharCode.apply(null,Qe.allocBuffer(1)).length===1}catch{return!1}}()}};function mt(He){var it=65536,Xe=ne.getTypeOf(He),lt=!0;if(Xe==="uint8array"?lt=vt.applyCanBeUsed.uint8array:Xe==="nodebuffer"&&(lt=vt.applyCanBeUsed.nodebuffer),lt)for(;1<it;)try{return vt.stringifyByChunk(He,Xe,it)}catch{it=Math.floor(it/2)}return vt.stringifyByChar(He)}function We(He,it){for(var Xe=0;Xe<He.length;Xe++)it[Xe]=He[Xe];return it}ne.applyFromCharCode=mt;var ct={};ct.string={string:rt,array:function(He){return gt(He,new Array(He.length))},arraybuffer:function(He){return ct.string.uint8array(He).buffer},uint8array:function(He){return gt(He,new Uint8Array(He.length))},nodebuffer:function(He){return gt(He,Qe.allocBuffer(He.length))}},ct.array={string:mt,array:rt,arraybuffer:function(He){return new Uint8Array(He).buffer},uint8array:function(He){return new Uint8Array(He)},nodebuffer:function(He){return Qe.newBufferFrom(He)}},ct.arraybuffer={string:function(He){return mt(new Uint8Array(He))},array:function(He){return We(new Uint8Array(He),new Array(He.byteLength))},arraybuffer:rt,uint8array:function(He){return new Uint8Array(He)},nodebuffer:function(He){return Qe.newBufferFrom(new Uint8Array(He))}},ct.uint8array={string:mt,array:function(He){return We(He,new Array(He.length))},arraybuffer:function(He){return He.buffer},uint8array:rt,nodebuffer:function(He){return Qe.newBufferFrom(He)}},ct.nodebuffer={string:mt,array:function(He){return We(He,new Array(He.length))},arraybuffer:function(He){return ct.nodebuffer.uint8array(He).buffer},uint8array:function(He){return We(He,new Uint8Array(He.length))},nodebuffer:rt},ne.transformTo=function(He,it){if(it=it||"",!He)return it;ne.checkSupport(He);var Xe=ne.getTypeOf(it);return ct[Xe][He](it)},ne.resolve=function(He){for(var it=He.split("/"),Xe=[],lt=0;lt<it.length;lt++){var Qt=it[lt];Qt==="."||Qt===""&&lt!==0&&lt!==it.length-1||(Qt===".."?Xe.pop():Xe.push(Qt))}return Xe.join("/")},ne.getTypeOf=function(He){return typeof He=="string"?"string":Object.prototype.toString.call(He)==="[object Array]"?"array":fe.nodebuffer&&Qe.isBuffer(He)?"nodebuffer":fe.uint8array&&He instanceof Uint8Array?"uint8array":fe.arraybuffer&&He instanceof ArrayBuffer?"arraybuffer":void 0},ne.checkSupport=function(He){if(!fe[He.toLowerCase()])throw new Error(He+" is not supported by this platform")},ne.MAX_VALUE_16BITS=65535,ne.MAX_VALUE_32BITS=-1,ne.pretty=function(He){var it,Xe,lt="";for(Xe=0;Xe<(He||"").length;Xe++)lt+="\\x"+((it=He.charCodeAt(Xe))<16?"0":"")+it.toString(16).toUpperCase();return lt},ne.delay=function(He,it,Xe){setImmediate(function(){He.apply(Xe||null,it||[])})},ne.inherits=function(He,it){function Xe(){}Xe.prototype=it.prototype,He.prototype=new Xe},ne.extend=function(){var He,it,Xe={};for(He=0;He<arguments.length;He++)for(it in arguments[He])Object.prototype.hasOwnProperty.call(arguments[He],it)&&Xe[it]===void 0&&(Xe[it]=arguments[He][it]);return Xe},ne.prepareContent=function(He,it,Xe,lt,Qt){return je.Promise.resolve(it).then(function(Nt){return fe.blob&&(Nt instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(Nt))!==-1)&&typeof FileReader<"u"?new je.Promise(function(Rt,pr){var $t=new FileReader;$t.onload=function(Pr){Rt(Pr.target.result)},$t.onerror=function(Pr){pr(Pr.target.error)},$t.readAsArrayBuffer(Nt)}):Nt}).then(function(Nt){var Rt=ne.getTypeOf(Nt);return Rt?(Rt==="arraybuffer"?Nt=ne.transformTo("uint8array",Nt):Rt==="string"&&(Qt?Nt=we.decode(Nt):Xe&&lt!==!0&&(Nt=function(pr){return gt(pr,fe.uint8array?new Uint8Array(pr.length):new Array(pr.length))}(Nt))),Nt):je.Promise.reject(new Error("Can't read the data of '"+He+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(L,V,ne){var fe=L("./reader/readerFor"),we=L("./utils"),Qe=L("./signature"),je=L("./zipEntry"),rt=L("./support");function gt(vt){this.files=[],this.loadOptions=vt}gt.prototype={checkSignature:function(vt){if(!this.reader.readAndCheckSignature(vt)){this.reader.index-=4;var mt=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+we.pretty(mt)+", expected "+we.pretty(vt)+")")}},isSignature:function(vt,mt){var We=this.reader.index;this.reader.setIndex(vt);var ct=this.reader.readString(4)===mt;return this.reader.setIndex(We),ct},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var vt=this.reader.readData(this.zipCommentLength),mt=rt.uint8array?"uint8array":"array",We=we.transformTo(mt,vt);this.zipComment=this.loadOptions.decodeFileName(We)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var vt,mt,We,ct=this.zip64EndOfCentralSize-44;0<ct;)vt=this.reader.readInt(2),mt=this.reader.readInt(4),We=this.reader.readData(mt),this.zip64ExtensibleData[vt]={id:vt,length:mt,value:We}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var vt,mt;for(vt=0;vt<this.files.length;vt++)mt=this.files[vt],this.reader.setIndex(mt.localHeaderOffset),this.checkSignature(Qe.LOCAL_FILE_HEADER),mt.readLocalPart(this.reader),mt.handleUTF8(),mt.processAttributes()},readCentralDir:function(){var vt;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(Qe.CENTRAL_FILE_HEADER);)(vt=new je({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(vt);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var vt=this.reader.lastIndexOfSignature(Qe.CENTRAL_DIRECTORY_END);if(vt<0)throw this.isSignature(0,Qe.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(vt);var mt=vt;if(this.checkSignature(Qe.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===we.MAX_VALUE_16BITS||this.diskWithCentralDirStart===we.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===we.MAX_VALUE_16BITS||this.centralDirRecords===we.MAX_VALUE_16BITS||this.centralDirSize===we.MAX_VALUE_32BITS||this.centralDirOffset===we.MAX_VALUE_32BITS){if(this.zip64=!0,(vt=this.reader.lastIndexOfSignature(Qe.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(vt),this.checkSignature(Qe.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Qe.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Qe.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Qe.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var We=this.centralDirOffset+this.centralDirSize;this.zip64&&(We+=20,We+=12+this.zip64EndOfCentralSize);var ct=mt-We;if(0<ct)this.isSignature(mt,Qe.CENTRAL_FILE_HEADER)||(this.reader.zero=ct);else if(ct<0)throw new Error("Corrupted zip: missing "+Math.abs(ct)+" bytes.")},prepareReader:function(vt){this.reader=fe(vt)},load:function(vt){this.prepareReader(vt),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},V.exports=gt},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(L,V,ne){var fe=L("./reader/readerFor"),we=L("./utils"),Qe=L("./compressedObject"),je=L("./crc32"),rt=L("./utf8"),gt=L("./compressions"),vt=L("./support");function mt(We,ct){this.options=We,this.loadOptions=ct}mt.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(We){var ct,He;if(We.skip(22),this.fileNameLength=We.readInt(2),He=We.readInt(2),this.fileName=We.readData(this.fileNameLength),We.skip(He),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((ct=function(it){for(var Xe in gt)if(Object.prototype.hasOwnProperty.call(gt,Xe)&&gt[Xe].magic===it)return gt[Xe];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+we.pretty(this.compressionMethod)+" unknown (inner file : "+we.transformTo("string",this.fileName)+")");this.decompressed=new Qe(this.compressedSize,this.uncompressedSize,this.crc32,ct,We.readData(this.compressedSize))},readCentralPart:function(We){this.versionMadeBy=We.readInt(2),We.skip(2),this.bitFlag=We.readInt(2),this.compressionMethod=We.readString(2),this.date=We.readDate(),this.crc32=We.readInt(4),this.compressedSize=We.readInt(4),this.uncompressedSize=We.readInt(4);var ct=We.readInt(2);if(this.extraFieldsLength=We.readInt(2),this.fileCommentLength=We.readInt(2),this.diskNumberStart=We.readInt(2),this.internalFileAttributes=We.readInt(2),this.externalFileAttributes=We.readInt(4),this.localHeaderOffset=We.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");We.skip(ct),this.readExtraFields(We),this.parseZIP64ExtraField(We),this.fileComment=We.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var We=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),We==0&&(this.dosPermissions=63&this.externalFileAttributes),We==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var We=fe(this.extraFields[1].value);this.uncompressedSize===we.MAX_VALUE_32BITS&&(this.uncompressedSize=We.readInt(8)),this.compressedSize===we.MAX_VALUE_32BITS&&(this.compressedSize=We.readInt(8)),this.localHeaderOffset===we.MAX_VALUE_32BITS&&(this.localHeaderOffset=We.readInt(8)),this.diskNumberStart===we.MAX_VALUE_32BITS&&(this.diskNumberStart=We.readInt(4))}},readExtraFields:function(We){var ct,He,it,Xe=We.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});We.index+4<Xe;)ct=We.readInt(2),He=We.readInt(2),it=We.readData(He),this.extraFields[ct]={id:ct,length:He,value:it};We.setIndex(Xe)},handleUTF8:function(){var We=vt.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=rt.utf8decode(this.fileName),this.fileCommentStr=rt.utf8decode(this.fileComment);else{var ct=this.findExtraFieldUnicodePath();if(ct!==null)this.fileNameStr=ct;else{var He=we.transformTo(We,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(He)}var it=this.findExtraFieldUnicodeComment();if(it!==null)this.fileCommentStr=it;else{var Xe=we.transformTo(We,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Xe)}}},findExtraFieldUnicodePath:function(){var We=this.extraFields[28789];if(We){var ct=fe(We.value);return ct.readInt(1)!==1||je(this.fileName)!==ct.readInt(4)?null:rt.utf8decode(ct.readData(We.length-5))}return null},findExtraFieldUnicodeComment:function(){var We=this.extraFields[25461];if(We){var ct=fe(We.value);return ct.readInt(1)!==1||je(this.fileComment)!==ct.readInt(4)?null:rt.utf8decode(ct.readData(We.length-5))}return null}},V.exports=mt},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(L,V,ne){function fe(ct,He,it){this.name=ct,this.dir=it.dir,this.date=it.date,this.comment=it.comment,this.unixPermissions=it.unixPermissions,this.dosPermissions=it.dosPermissions,this._data=He,this._dataBinary=it.binary,this.options={compression:it.compression,compressionOptions:it.compressionOptions}}var we=L("./stream/StreamHelper"),Qe=L("./stream/DataWorker"),je=L("./utf8"),rt=L("./compressedObject"),gt=L("./stream/GenericWorker");fe.prototype={internalStream:function(ct){var He=null,it="string";try{if(!ct)throw new Error("No output type specified.");var Xe=(it=ct.toLowerCase())==="string"||it==="text";it!=="binarystring"&&it!=="text"||(it="string"),He=this._decompressWorker();var lt=!this._dataBinary;lt&&!Xe&&(He=He.pipe(new je.Utf8EncodeWorker)),!lt&&Xe&&(He=He.pipe(new je.Utf8DecodeWorker))}catch(Qt){(He=new gt("error")).error(Qt)}return new we(He,it,"")},async:function(ct,He){return this.internalStream(ct).accumulate(He)},nodeStream:function(ct,He){return this.internalStream(ct||"nodebuffer").toNodejsStream(He)},_compressWorker:function(ct,He){if(this._data instanceof rt&&this._data.compression.magic===ct.magic)return this._data.getCompressedWorker();var it=this._decompressWorker();return this._dataBinary||(it=it.pipe(new je.Utf8EncodeWorker)),rt.createWorkerFrom(it,ct,He)},_decompressWorker:function(){return this._data instanceof rt?this._data.getContentWorker():this._data instanceof gt?this._data:new Qe(this._data)}};for(var vt=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],mt=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},We=0;We<vt.length;We++)fe.prototype[vt[We]]=mt;V.exports=fe},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(L,V,ne){(function(fe){var we,Qe,je=fe.MutationObserver||fe.WebKitMutationObserver;if(je){var rt=0,gt=new je(ct),vt=fe.document.createTextNode("");gt.observe(vt,{characterData:!0}),we=function(){vt.data=rt=++rt%2}}else if(fe.setImmediate||fe.MessageChannel===void 0)we="document"in fe&&"onreadystatechange"in fe.document.createElement("script")?function(){var He=fe.document.createElement("script");He.onreadystatechange=function(){ct(),He.onreadystatechange=null,He.parentNode.removeChild(He),He=null},fe.document.documentElement.appendChild(He)}:function(){setTimeout(ct,0)};else{var mt=new fe.MessageChannel;mt.port1.onmessage=ct,we=function(){mt.port2.postMessage(0)}}var We=[];function ct(){var He,it;Qe=!0;for(var Xe=We.length;Xe;){for(it=We,We=[],He=-1;++He<Xe;)it[He]();Xe=We.length}Qe=!1}V.exports=function(He){We.push(He)!==1||Qe||we()}}).call(this,typeof Le<"u"?Le:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(L,V,ne){var fe=L("immediate");function we(){}var Qe={},je=["REJECTED"],rt=["FULFILLED"],gt=["PENDING"];function vt(Xe){if(typeof Xe!="function")throw new TypeError("resolver must be a function");this.state=gt,this.queue=[],this.outcome=void 0,Xe!==we&&He(this,Xe)}function mt(Xe,lt,Qt){this.promise=Xe,typeof lt=="function"&&(this.onFulfilled=lt,this.callFulfilled=this.otherCallFulfilled),typeof Qt=="function"&&(this.onRejected=Qt,this.callRejected=this.otherCallRejected)}function We(Xe,lt,Qt){fe(function(){var Nt;try{Nt=lt(Qt)}catch(Rt){return Qe.reject(Xe,Rt)}Nt===Xe?Qe.reject(Xe,new TypeError("Cannot resolve promise with itself")):Qe.resolve(Xe,Nt)})}function ct(Xe){var lt=Xe&&Xe.then;if(Xe&&(typeof Xe=="object"||typeof Xe=="function")&&typeof lt=="function")return function(){lt.apply(Xe,arguments)}}function He(Xe,lt){var Qt=!1;function Nt($t){Qt||(Qt=!0,Qe.reject(Xe,$t))}function Rt($t){Qt||(Qt=!0,Qe.resolve(Xe,$t))}var pr=it(function(){lt(Rt,Nt)});pr.status==="error"&&Nt(pr.value)}function it(Xe,lt){var Qt={};try{Qt.value=Xe(lt),Qt.status="success"}catch(Nt){Qt.status="error",Qt.value=Nt}return Qt}(V.exports=vt).prototype.finally=function(Xe){if(typeof Xe!="function")return this;var lt=this.constructor;return this.then(function(Qt){return lt.resolve(Xe()).then(function(){return Qt})},function(Qt){return lt.resolve(Xe()).then(function(){throw Qt})})},vt.prototype.catch=function(Xe){return this.then(null,Xe)},vt.prototype.then=function(Xe,lt){if(typeof Xe!="function"&&this.state===rt||typeof lt!="function"&&this.state===je)return this;var Qt=new this.constructor(we);return this.state!==gt?We(Qt,this.state===rt?Xe:lt,this.outcome):this.queue.push(new mt(Qt,Xe,lt)),Qt},mt.prototype.callFulfilled=function(Xe){Qe.resolve(this.promise,Xe)},mt.prototype.otherCallFulfilled=function(Xe){We(this.promise,this.onFulfilled,Xe)},mt.prototype.callRejected=function(Xe){Qe.reject(this.promise,Xe)},mt.prototype.otherCallRejected=function(Xe){We(this.promise,this.onRejected,Xe)},Qe.resolve=function(Xe,lt){var Qt=it(ct,lt);if(Qt.status==="error")return Qe.reject(Xe,Qt.value);var Nt=Qt.value;if(Nt)He(Xe,Nt);else{Xe.state=rt,Xe.outcome=lt;for(var Rt=-1,pr=Xe.queue.length;++Rt<pr;)Xe.queue[Rt].callFulfilled(lt)}return Xe},Qe.reject=function(Xe,lt){Xe.state=je,Xe.outcome=lt;for(var Qt=-1,Nt=Xe.queue.length;++Qt<Nt;)Xe.queue[Qt].callRejected(lt);return Xe},vt.resolve=function(Xe){return Xe instanceof this?Xe:Qe.resolve(new this(we),Xe)},vt.reject=function(Xe){var lt=new this(we);return Qe.reject(lt,Xe)},vt.all=function(Xe){var lt=this;if(Object.prototype.toString.call(Xe)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Qt=Xe.length,Nt=!1;if(!Qt)return this.resolve([]);for(var Rt=new Array(Qt),pr=0,$t=-1,Pr=new this(we);++$t<Qt;)Vt(Xe[$t],$t);return Pr;function Vt(Xr,Vn){lt.resolve(Xr).then(function(It){Rt[Vn]=It,++pr!==Qt||Nt||(Nt=!0,Qe.resolve(Pr,Rt))},function(It){Nt||(Nt=!0,Qe.reject(Pr,It))})}},vt.race=function(Xe){var lt=this;if(Object.prototype.toString.call(Xe)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Qt=Xe.length,Nt=!1;if(!Qt)return this.resolve([]);for(var Rt=-1,pr=new this(we);++Rt<Qt;)$t=Xe[Rt],lt.resolve($t).then(function(Pr){Nt||(Nt=!0,Qe.resolve(pr,Pr))},function(Pr){Nt||(Nt=!0,Qe.reject(pr,Pr))});var $t;return pr}},{immediate:36}],38:[function(L,V,ne){var fe={};(0,L("./lib/utils/common").assign)(fe,L("./lib/deflate"),L("./lib/inflate"),L("./lib/zlib/constants")),V.exports=fe},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(L,V,ne){var fe=L("./zlib/deflate"),we=L("./utils/common"),Qe=L("./utils/strings"),je=L("./zlib/messages"),rt=L("./zlib/zstream"),gt=Object.prototype.toString,vt=0,mt=-1,We=0,ct=8;function He(Xe){if(!(this instanceof He))return new He(Xe);this.options=we.assign({level:mt,method:ct,chunkSize:16384,windowBits:15,memLevel:8,strategy:We,to:""},Xe||{});var lt=this.options;lt.raw&&0<lt.windowBits?lt.windowBits=-lt.windowBits:lt.gzip&&0<lt.windowBits&&lt.windowBits<16&&(lt.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new rt,this.strm.avail_out=0;var Qt=fe.deflateInit2(this.strm,lt.level,lt.method,lt.windowBits,lt.memLevel,lt.strategy);if(Qt!==vt)throw new Error(je[Qt]);if(lt.header&&fe.deflateSetHeader(this.strm,lt.header),lt.dictionary){var Nt;if(Nt=typeof lt.dictionary=="string"?Qe.string2buf(lt.dictionary):gt.call(lt.dictionary)==="[object ArrayBuffer]"?new Uint8Array(lt.dictionary):lt.dictionary,(Qt=fe.deflateSetDictionary(this.strm,Nt))!==vt)throw new Error(je[Qt]);this._dict_set=!0}}function it(Xe,lt){var Qt=new He(lt);if(Qt.push(Xe,!0),Qt.err)throw Qt.msg||je[Qt.err];return Qt.result}He.prototype.push=function(Xe,lt){var Qt,Nt,Rt=this.strm,pr=this.options.chunkSize;if(this.ended)return!1;Nt=lt===~~lt?lt:lt===!0?4:0,typeof Xe=="string"?Rt.input=Qe.string2buf(Xe):gt.call(Xe)==="[object ArrayBuffer]"?Rt.input=new Uint8Array(Xe):Rt.input=Xe,Rt.next_in=0,Rt.avail_in=Rt.input.length;do{if(Rt.avail_out===0&&(Rt.output=new we.Buf8(pr),Rt.next_out=0,Rt.avail_out=pr),(Qt=fe.deflate(Rt,Nt))!==1&&Qt!==vt)return this.onEnd(Qt),!(this.ended=!0);Rt.avail_out!==0&&(Rt.avail_in!==0||Nt!==4&&Nt!==2)||(this.options.to==="string"?this.onData(Qe.buf2binstring(we.shrinkBuf(Rt.output,Rt.next_out))):this.onData(we.shrinkBuf(Rt.output,Rt.next_out)))}while((0<Rt.avail_in||Rt.avail_out===0)&&Qt!==1);return Nt===4?(Qt=fe.deflateEnd(this.strm),this.onEnd(Qt),this.ended=!0,Qt===vt):Nt!==2||(this.onEnd(vt),!(Rt.avail_out=0))},He.prototype.onData=function(Xe){this.chunks.push(Xe)},He.prototype.onEnd=function(Xe){Xe===vt&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=we.flattenChunks(this.chunks)),this.chunks=[],this.err=Xe,this.msg=this.strm.msg},ne.Deflate=He,ne.deflate=it,ne.deflateRaw=function(Xe,lt){return(lt=lt||{}).raw=!0,it(Xe,lt)},ne.gzip=function(Xe,lt){return(lt=lt||{}).gzip=!0,it(Xe,lt)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(L,V,ne){var fe=L("./zlib/inflate"),we=L("./utils/common"),Qe=L("./utils/strings"),je=L("./zlib/constants"),rt=L("./zlib/messages"),gt=L("./zlib/zstream"),vt=L("./zlib/gzheader"),mt=Object.prototype.toString;function We(He){if(!(this instanceof We))return new We(He);this.options=we.assign({chunkSize:16384,windowBits:0,to:""},He||{});var it=this.options;it.raw&&0<=it.windowBits&&it.windowBits<16&&(it.windowBits=-it.windowBits,it.windowBits===0&&(it.windowBits=-15)),!(0<=it.windowBits&&it.windowBits<16)||He&&He.windowBits||(it.windowBits+=32),15<it.windowBits&&it.windowBits<48&&!(15&it.windowBits)&&(it.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new gt,this.strm.avail_out=0;var Xe=fe.inflateInit2(this.strm,it.windowBits);if(Xe!==je.Z_OK)throw new Error(rt[Xe]);this.header=new vt,fe.inflateGetHeader(this.strm,this.header)}function ct(He,it){var Xe=new We(it);if(Xe.push(He,!0),Xe.err)throw Xe.msg||rt[Xe.err];return Xe.result}We.prototype.push=function(He,it){var Xe,lt,Qt,Nt,Rt,pr,$t=this.strm,Pr=this.options.chunkSize,Vt=this.options.dictionary,Xr=!1;if(this.ended)return!1;lt=it===~~it?it:it===!0?je.Z_FINISH:je.Z_NO_FLUSH,typeof He=="string"?$t.input=Qe.binstring2buf(He):mt.call(He)==="[object ArrayBuffer]"?$t.input=new Uint8Array(He):$t.input=He,$t.next_in=0,$t.avail_in=$t.input.length;do{if($t.avail_out===0&&($t.output=new we.Buf8(Pr),$t.next_out=0,$t.avail_out=Pr),(Xe=fe.inflate($t,je.Z_NO_FLUSH))===je.Z_NEED_DICT&&Vt&&(pr=typeof Vt=="string"?Qe.string2buf(Vt):mt.call(Vt)==="[object ArrayBuffer]"?new Uint8Array(Vt):Vt,Xe=fe.inflateSetDictionary(this.strm,pr)),Xe===je.Z_BUF_ERROR&&Xr===!0&&(Xe=je.Z_OK,Xr=!1),Xe!==je.Z_STREAM_END&&Xe!==je.Z_OK)return this.onEnd(Xe),!(this.ended=!0);$t.next_out&&($t.avail_out!==0&&Xe!==je.Z_STREAM_END&&($t.avail_in!==0||lt!==je.Z_FINISH&&lt!==je.Z_SYNC_FLUSH)||(this.options.to==="string"?(Qt=Qe.utf8border($t.output,$t.next_out),Nt=$t.next_out-Qt,Rt=Qe.buf2string($t.output,Qt),$t.next_out=Nt,$t.avail_out=Pr-Nt,Nt&&we.arraySet($t.output,$t.output,Qt,Nt,0),this.onData(Rt)):this.onData(we.shrinkBuf($t.output,$t.next_out)))),$t.avail_in===0&&$t.avail_out===0&&(Xr=!0)}while((0<$t.avail_in||$t.avail_out===0)&&Xe!==je.Z_STREAM_END);return Xe===je.Z_STREAM_END&&(lt=je.Z_FINISH),lt===je.Z_FINISH?(Xe=fe.inflateEnd(this.strm),this.onEnd(Xe),this.ended=!0,Xe===je.Z_OK):lt!==je.Z_SYNC_FLUSH||(this.onEnd(je.Z_OK),!($t.avail_out=0))},We.prototype.onData=function(He){this.chunks.push(He)},We.prototype.onEnd=function(He){He===je.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=we.flattenChunks(this.chunks)),this.chunks=[],this.err=He,this.msg=this.strm.msg},ne.Inflate=We,ne.inflate=ct,ne.inflateRaw=function(He,it){return(it=it||{}).raw=!0,ct(He,it)},ne.ungzip=ct},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(L,V,ne){var fe=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";ne.assign=function(je){for(var rt=Array.prototype.slice.call(arguments,1);rt.length;){var gt=rt.shift();if(gt){if(typeof gt!="object")throw new TypeError(gt+"must be non-object");for(var vt in gt)gt.hasOwnProperty(vt)&&(je[vt]=gt[vt])}}return je},ne.shrinkBuf=function(je,rt){return je.length===rt?je:je.subarray?je.subarray(0,rt):(je.length=rt,je)};var we={arraySet:function(je,rt,gt,vt,mt){if(rt.subarray&&je.subarray)je.set(rt.subarray(gt,gt+vt),mt);else for(var We=0;We<vt;We++)je[mt+We]=rt[gt+We]},flattenChunks:function(je){var rt,gt,vt,mt,We,ct;for(rt=vt=0,gt=je.length;rt<gt;rt++)vt+=je[rt].length;for(ct=new Uint8Array(vt),rt=mt=0,gt=je.length;rt<gt;rt++)We=je[rt],ct.set(We,mt),mt+=We.length;return ct}},Qe={arraySet:function(je,rt,gt,vt,mt){for(var We=0;We<vt;We++)je[mt+We]=rt[gt+We]},flattenChunks:function(je){return[].concat.apply([],je)}};ne.setTyped=function(je){je?(ne.Buf8=Uint8Array,ne.Buf16=Uint16Array,ne.Buf32=Int32Array,ne.assign(ne,we)):(ne.Buf8=Array,ne.Buf16=Array,ne.Buf32=Array,ne.assign(ne,Qe))},ne.setTyped(fe)},{}],42:[function(L,V,ne){var fe=L("./common"),we=!0,Qe=!0;try{String.fromCharCode.apply(null,[0])}catch{we=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Qe=!1}for(var je=new fe.Buf8(256),rt=0;rt<256;rt++)je[rt]=252<=rt?6:248<=rt?5:240<=rt?4:224<=rt?3:192<=rt?2:1;function gt(vt,mt){if(mt<65537&&(vt.subarray&&Qe||!vt.subarray&&we))return String.fromCharCode.apply(null,fe.shrinkBuf(vt,mt));for(var We="",ct=0;ct<mt;ct++)We+=String.fromCharCode(vt[ct]);return We}je[254]=je[254]=1,ne.string2buf=function(vt){var mt,We,ct,He,it,Xe=vt.length,lt=0;for(He=0;He<Xe;He++)(64512&(We=vt.charCodeAt(He)))==55296&&He+1<Xe&&(64512&(ct=vt.charCodeAt(He+1)))==56320&&(We=65536+(We-55296<<10)+(ct-56320),He++),lt+=We<128?1:We<2048?2:We<65536?3:4;for(mt=new fe.Buf8(lt),He=it=0;it<lt;He++)(64512&(We=vt.charCodeAt(He)))==55296&&He+1<Xe&&(64512&(ct=vt.charCodeAt(He+1)))==56320&&(We=65536+(We-55296<<10)+(ct-56320),He++),We<128?mt[it++]=We:(We<2048?mt[it++]=192|We>>>6:(We<65536?mt[it++]=224|We>>>12:(mt[it++]=240|We>>>18,mt[it++]=128|We>>>12&63),mt[it++]=128|We>>>6&63),mt[it++]=128|63&We);return mt},ne.buf2binstring=function(vt){return gt(vt,vt.length)},ne.binstring2buf=function(vt){for(var mt=new fe.Buf8(vt.length),We=0,ct=mt.length;We<ct;We++)mt[We]=vt.charCodeAt(We);return mt},ne.buf2string=function(vt,mt){var We,ct,He,it,Xe=mt||vt.length,lt=new Array(2*Xe);for(We=ct=0;We<Xe;)if((He=vt[We++])<128)lt[ct++]=He;else if(4<(it=je[He]))lt[ct++]=65533,We+=it-1;else{for(He&=it===2?31:it===3?15:7;1<it&&We<Xe;)He=He<<6|63&vt[We++],it--;1<it?lt[ct++]=65533:He<65536?lt[ct++]=He:(He-=65536,lt[ct++]=55296|He>>10&1023,lt[ct++]=56320|1023&He)}return gt(lt,ct)},ne.utf8border=function(vt,mt){var We;for((mt=mt||vt.length)>vt.length&&(mt=vt.length),We=mt-1;0<=We&&(192&vt[We])==128;)We--;return We<0||We===0?mt:We+je[vt[We]]>mt?We:mt}},{"./common":41}],43:[function(L,V,ne){V.exports=function(fe,we,Qe,je){for(var rt=65535&fe|0,gt=fe>>>16&65535|0,vt=0;Qe!==0;){for(Qe-=vt=2e3<Qe?2e3:Qe;gt=gt+(rt=rt+we[je++]|0)|0,--vt;);rt%=65521,gt%=65521}return rt|gt<<16|0}},{}],44:[function(L,V,ne){V.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(L,V,ne){var fe=function(){for(var we,Qe=[],je=0;je<256;je++){we=je;for(var rt=0;rt<8;rt++)we=1&we?3988292384^we>>>1:we>>>1;Qe[je]=we}return Qe}();V.exports=function(we,Qe,je,rt){var gt=fe,vt=rt+je;we^=-1;for(var mt=rt;mt<vt;mt++)we=we>>>8^gt[255&(we^Qe[mt])];return-1^we}},{}],46:[function(L,V,ne){var fe,we=L("../utils/common"),Qe=L("./trees"),je=L("./adler32"),rt=L("./crc32"),gt=L("./messages"),vt=0,mt=4,We=0,ct=-2,He=-1,it=4,Xe=2,lt=8,Qt=9,Nt=286,Rt=30,pr=19,$t=2*Nt+1,Pr=15,Vt=3,Xr=258,Vn=Xr+Vt+1,It=42,rr=113,De=1,Ar=2,li=3,Rr=4;function pi(ve,cr){return ve.msg=gt[cr],cr}function Gr(ve){return(ve<<1)-(4<ve?9:0)}function ti(ve){for(var cr=ve.length;0<=--cr;)ve[cr]=0}function Ht(ve){var cr=ve.state,Yt=cr.pending;Yt>ve.avail_out&&(Yt=ve.avail_out),Yt!==0&&(we.arraySet(ve.output,cr.pending_buf,cr.pending_out,Yt,ve.next_out),ve.next_out+=Yt,cr.pending_out+=Yt,ve.total_out+=Yt,ve.avail_out-=Yt,cr.pending-=Yt,cr.pending===0&&(cr.pending_out=0))}function jt(ve,cr){Qe._tr_flush_block(ve,0<=ve.block_start?ve.block_start:-1,ve.strstart-ve.block_start,cr),ve.block_start=ve.strstart,Ht(ve.strm)}function Kn(ve,cr){ve.pending_buf[ve.pending++]=cr}function En(ve,cr){ve.pending_buf[ve.pending++]=cr>>>8&255,ve.pending_buf[ve.pending++]=255&cr}function sn(ve,cr){var Yt,st,nt=ve.max_chain_length,xt=ve.strstart,Er=ve.prev_length,_r=ve.nice_match,Pt=ve.strstart>ve.w_size-Vn?ve.strstart-(ve.w_size-Vn):0,Jr=ve.window,wn=ve.w_mask,Vr=ve.prev,Un=ve.strstart+Xr,ya=Jr[xt+Er-1],Fi=Jr[xt+Er];ve.prev_length>=ve.good_match&&(nt>>=2),_r>ve.lookahead&&(_r=ve.lookahead);do if(Jr[(Yt=cr)+Er]===Fi&&Jr[Yt+Er-1]===ya&&Jr[Yt]===Jr[xt]&&Jr[++Yt]===Jr[xt+1]){xt+=2,Yt++;do;while(Jr[++xt]===Jr[++Yt]&&Jr[++xt]===Jr[++Yt]&&Jr[++xt]===Jr[++Yt]&&Jr[++xt]===Jr[++Yt]&&Jr[++xt]===Jr[++Yt]&&Jr[++xt]===Jr[++Yt]&&Jr[++xt]===Jr[++Yt]&&Jr[++xt]===Jr[++Yt]&&xt<Un);if(st=Xr-(Un-xt),xt=Un-Xr,Er<st){if(ve.match_start=cr,_r<=(Er=st))break;ya=Jr[xt+Er-1],Fi=Jr[xt+Er]}}while((cr=Vr[cr&wn])>Pt&&--nt!=0);return Er<=ve.lookahead?Er:ve.lookahead}function Wa(ve){var cr,Yt,st,nt,xt,Er,_r,Pt,Jr,wn,Vr=ve.w_size;do{if(nt=ve.window_size-ve.lookahead-ve.strstart,ve.strstart>=Vr+(Vr-Vn)){for(we.arraySet(ve.window,ve.window,Vr,Vr,0),ve.match_start-=Vr,ve.strstart-=Vr,ve.block_start-=Vr,cr=Yt=ve.hash_size;st=ve.head[--cr],ve.head[cr]=Vr<=st?st-Vr:0,--Yt;);for(cr=Yt=Vr;st=ve.prev[--cr],ve.prev[cr]=Vr<=st?st-Vr:0,--Yt;);nt+=Vr}if(ve.strm.avail_in===0)break;if(Er=ve.strm,_r=ve.window,Pt=ve.strstart+ve.lookahead,Jr=nt,wn=void 0,wn=Er.avail_in,Jr<wn&&(wn=Jr),Yt=wn===0?0:(Er.avail_in-=wn,we.arraySet(_r,Er.input,Er.next_in,wn,Pt),Er.state.wrap===1?Er.adler=je(Er.adler,_r,wn,Pt):Er.state.wrap===2&&(Er.adler=rt(Er.adler,_r,wn,Pt)),Er.next_in+=wn,Er.total_in+=wn,wn),ve.lookahead+=Yt,ve.lookahead+ve.insert>=Vt)for(xt=ve.strstart-ve.insert,ve.ins_h=ve.window[xt],ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[xt+1])&ve.hash_mask;ve.insert&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[xt+Vt-1])&ve.hash_mask,ve.prev[xt&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=xt,xt++,ve.insert--,!(ve.lookahead+ve.insert<Vt)););}while(ve.lookahead<Vn&&ve.strm.avail_in!==0)}function ho(ve,cr){for(var Yt,st;;){if(ve.lookahead<Vn){if(Wa(ve),ve.lookahead<Vn&&cr===vt)return De;if(ve.lookahead===0)break}if(Yt=0,ve.lookahead>=Vt&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+Vt-1])&ve.hash_mask,Yt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart),Yt!==0&&ve.strstart-Yt<=ve.w_size-Vn&&(ve.match_length=sn(ve,Yt)),ve.match_length>=Vt)if(st=Qe._tr_tally(ve,ve.strstart-ve.match_start,ve.match_length-Vt),ve.lookahead-=ve.match_length,ve.match_length<=ve.max_lazy_match&&ve.lookahead>=Vt){for(ve.match_length--;ve.strstart++,ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+Vt-1])&ve.hash_mask,Yt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart,--ve.match_length!=0;);ve.strstart++}else ve.strstart+=ve.match_length,ve.match_length=0,ve.ins_h=ve.window[ve.strstart],ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+1])&ve.hash_mask;else st=Qe._tr_tally(ve,0,ve.window[ve.strstart]),ve.lookahead--,ve.strstart++;if(st&&(jt(ve,!1),ve.strm.avail_out===0))return De}return ve.insert=ve.strstart<Vt-1?ve.strstart:Vt-1,cr===mt?(jt(ve,!0),ve.strm.avail_out===0?li:Rr):ve.last_lit&&(jt(ve,!1),ve.strm.avail_out===0)?De:Ar}function Ri(ve,cr){for(var Yt,st,nt;;){if(ve.lookahead<Vn){if(Wa(ve),ve.lookahead<Vn&&cr===vt)return De;if(ve.lookahead===0)break}if(Yt=0,ve.lookahead>=Vt&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+Vt-1])&ve.hash_mask,Yt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart),ve.prev_length=ve.match_length,ve.prev_match=ve.match_start,ve.match_length=Vt-1,Yt!==0&&ve.prev_length<ve.max_lazy_match&&ve.strstart-Yt<=ve.w_size-Vn&&(ve.match_length=sn(ve,Yt),ve.match_length<=5&&(ve.strategy===1||ve.match_length===Vt&&4096<ve.strstart-ve.match_start)&&(ve.match_length=Vt-1)),ve.prev_length>=Vt&&ve.match_length<=ve.prev_length){for(nt=ve.strstart+ve.lookahead-Vt,st=Qe._tr_tally(ve,ve.strstart-1-ve.prev_match,ve.prev_length-Vt),ve.lookahead-=ve.prev_length-1,ve.prev_length-=2;++ve.strstart<=nt&&(ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[ve.strstart+Vt-1])&ve.hash_mask,Yt=ve.prev[ve.strstart&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=ve.strstart),--ve.prev_length!=0;);if(ve.match_available=0,ve.match_length=Vt-1,ve.strstart++,st&&(jt(ve,!1),ve.strm.avail_out===0))return De}else if(ve.match_available){if((st=Qe._tr_tally(ve,0,ve.window[ve.strstart-1]))&&jt(ve,!1),ve.strstart++,ve.lookahead--,ve.strm.avail_out===0)return De}else ve.match_available=1,ve.strstart++,ve.lookahead--}return ve.match_available&&(st=Qe._tr_tally(ve,0,ve.window[ve.strstart-1]),ve.match_available=0),ve.insert=ve.strstart<Vt-1?ve.strstart:Vt-1,cr===mt?(jt(ve,!0),ve.strm.avail_out===0?li:Rr):ve.last_lit&&(jt(ve,!1),ve.strm.avail_out===0)?De:Ar}function qi(ve,cr,Yt,st,nt){this.good_length=ve,this.max_lazy=cr,this.nice_length=Yt,this.max_chain=st,this.func=nt}function Io(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=lt,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new we.Buf16(2*$t),this.dyn_dtree=new we.Buf16(2*(2*Rt+1)),this.bl_tree=new we.Buf16(2*(2*pr+1)),ti(this.dyn_ltree),ti(this.dyn_dtree),ti(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new we.Buf16(Pr+1),this.heap=new we.Buf16(2*Nt+1),ti(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new we.Buf16(2*Nt+1),ti(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ma(ve){var cr;return ve&&ve.state?(ve.total_in=ve.total_out=0,ve.data_type=Xe,(cr=ve.state).pending=0,cr.pending_out=0,cr.wrap<0&&(cr.wrap=-cr.wrap),cr.status=cr.wrap?It:rr,ve.adler=cr.wrap===2?0:1,cr.last_flush=vt,Qe._tr_init(cr),We):pi(ve,ct)}function Ns(ve){var cr=ma(ve);return cr===We&&function(Yt){Yt.window_size=2*Yt.w_size,ti(Yt.head),Yt.max_lazy_match=fe[Yt.level].max_lazy,Yt.good_match=fe[Yt.level].good_length,Yt.nice_match=fe[Yt.level].nice_length,Yt.max_chain_length=fe[Yt.level].max_chain,Yt.strstart=0,Yt.block_start=0,Yt.lookahead=0,Yt.insert=0,Yt.match_length=Yt.prev_length=Vt-1,Yt.match_available=0,Yt.ins_h=0}(ve.state),cr}function Xs(ve,cr,Yt,st,nt,xt){if(!ve)return ct;var Er=1;if(cr===He&&(cr=6),st<0?(Er=0,st=-st):15<st&&(Er=2,st-=16),nt<1||Qt<nt||Yt!==lt||st<8||15<st||cr<0||9<cr||xt<0||it<xt)return pi(ve,ct);st===8&&(st=9);var _r=new Io;return(ve.state=_r).strm=ve,_r.wrap=Er,_r.gzhead=null,_r.w_bits=st,_r.w_size=1<<_r.w_bits,_r.w_mask=_r.w_size-1,_r.hash_bits=nt+7,_r.hash_size=1<<_r.hash_bits,_r.hash_mask=_r.hash_size-1,_r.hash_shift=~~((_r.hash_bits+Vt-1)/Vt),_r.window=new we.Buf8(2*_r.w_size),_r.head=new we.Buf16(_r.hash_size),_r.prev=new we.Buf16(_r.w_size),_r.lit_bufsize=1<<nt+6,_r.pending_buf_size=4*_r.lit_bufsize,_r.pending_buf=new we.Buf8(_r.pending_buf_size),_r.d_buf=1*_r.lit_bufsize,_r.l_buf=3*_r.lit_bufsize,_r.level=cr,_r.strategy=xt,_r.method=Yt,Ns(ve)}fe=[new qi(0,0,0,0,function(ve,cr){var Yt=65535;for(Yt>ve.pending_buf_size-5&&(Yt=ve.pending_buf_size-5);;){if(ve.lookahead<=1){if(Wa(ve),ve.lookahead===0&&cr===vt)return De;if(ve.lookahead===0)break}ve.strstart+=ve.lookahead,ve.lookahead=0;var st=ve.block_start+Yt;if((ve.strstart===0||ve.strstart>=st)&&(ve.lookahead=ve.strstart-st,ve.strstart=st,jt(ve,!1),ve.strm.avail_out===0)||ve.strstart-ve.block_start>=ve.w_size-Vn&&(jt(ve,!1),ve.strm.avail_out===0))return De}return ve.insert=0,cr===mt?(jt(ve,!0),ve.strm.avail_out===0?li:Rr):(ve.strstart>ve.block_start&&(jt(ve,!1),ve.strm.avail_out),De)}),new qi(4,4,8,4,ho),new qi(4,5,16,8,ho),new qi(4,6,32,32,ho),new qi(4,4,16,16,Ri),new qi(8,16,32,32,Ri),new qi(8,16,128,128,Ri),new qi(8,32,128,256,Ri),new qi(32,128,258,1024,Ri),new qi(32,258,258,4096,Ri)],ne.deflateInit=function(ve,cr){return Xs(ve,cr,lt,15,8,0)},ne.deflateInit2=Xs,ne.deflateReset=Ns,ne.deflateResetKeep=ma,ne.deflateSetHeader=function(ve,cr){return ve&&ve.state?ve.state.wrap!==2?ct:(ve.state.gzhead=cr,We):ct},ne.deflate=function(ve,cr){var Yt,st,nt,xt;if(!ve||!ve.state||5<cr||cr<0)return ve?pi(ve,ct):ct;if(st=ve.state,!ve.output||!ve.input&&ve.avail_in!==0||st.status===666&&cr!==mt)return pi(ve,ve.avail_out===0?-5:ct);if(st.strm=ve,Yt=st.last_flush,st.last_flush=cr,st.status===It)if(st.wrap===2)ve.adler=0,Kn(st,31),Kn(st,139),Kn(st,8),st.gzhead?(Kn(st,(st.gzhead.text?1:0)+(st.gzhead.hcrc?2:0)+(st.gzhead.extra?4:0)+(st.gzhead.name?8:0)+(st.gzhead.comment?16:0)),Kn(st,255&st.gzhead.time),Kn(st,st.gzhead.time>>8&255),Kn(st,st.gzhead.time>>16&255),Kn(st,st.gzhead.time>>24&255),Kn(st,st.level===9?2:2<=st.strategy||st.level<2?4:0),Kn(st,255&st.gzhead.os),st.gzhead.extra&&st.gzhead.extra.length&&(Kn(st,255&st.gzhead.extra.length),Kn(st,st.gzhead.extra.length>>8&255)),st.gzhead.hcrc&&(ve.adler=rt(ve.adler,st.pending_buf,st.pending,0)),st.gzindex=0,st.status=69):(Kn(st,0),Kn(st,0),Kn(st,0),Kn(st,0),Kn(st,0),Kn(st,st.level===9?2:2<=st.strategy||st.level<2?4:0),Kn(st,3),st.status=rr);else{var Er=lt+(st.w_bits-8<<4)<<8;Er|=(2<=st.strategy||st.level<2?0:st.level<6?1:st.level===6?2:3)<<6,st.strstart!==0&&(Er|=32),Er+=31-Er%31,st.status=rr,En(st,Er),st.strstart!==0&&(En(st,ve.adler>>>16),En(st,65535&ve.adler)),ve.adler=1}if(st.status===69)if(st.gzhead.extra){for(nt=st.pending;st.gzindex<(65535&st.gzhead.extra.length)&&(st.pending!==st.pending_buf_size||(st.gzhead.hcrc&&st.pending>nt&&(ve.adler=rt(ve.adler,st.pending_buf,st.pending-nt,nt)),Ht(ve),nt=st.pending,st.pending!==st.pending_buf_size));)Kn(st,255&st.gzhead.extra[st.gzindex]),st.gzindex++;st.gzhead.hcrc&&st.pending>nt&&(ve.adler=rt(ve.adler,st.pending_buf,st.pending-nt,nt)),st.gzindex===st.gzhead.extra.length&&(st.gzindex=0,st.status=73)}else st.status=73;if(st.status===73)if(st.gzhead.name){nt=st.pending;do{if(st.pending===st.pending_buf_size&&(st.gzhead.hcrc&&st.pending>nt&&(ve.adler=rt(ve.adler,st.pending_buf,st.pending-nt,nt)),Ht(ve),nt=st.pending,st.pending===st.pending_buf_size)){xt=1;break}xt=st.gzindex<st.gzhead.name.length?255&st.gzhead.name.charCodeAt(st.gzindex++):0,Kn(st,xt)}while(xt!==0);st.gzhead.hcrc&&st.pending>nt&&(ve.adler=rt(ve.adler,st.pending_buf,st.pending-nt,nt)),xt===0&&(st.gzindex=0,st.status=91)}else st.status=91;if(st.status===91)if(st.gzhead.comment){nt=st.pending;do{if(st.pending===st.pending_buf_size&&(st.gzhead.hcrc&&st.pending>nt&&(ve.adler=rt(ve.adler,st.pending_buf,st.pending-nt,nt)),Ht(ve),nt=st.pending,st.pending===st.pending_buf_size)){xt=1;break}xt=st.gzindex<st.gzhead.comment.length?255&st.gzhead.comment.charCodeAt(st.gzindex++):0,Kn(st,xt)}while(xt!==0);st.gzhead.hcrc&&st.pending>nt&&(ve.adler=rt(ve.adler,st.pending_buf,st.pending-nt,nt)),xt===0&&(st.status=103)}else st.status=103;if(st.status===103&&(st.gzhead.hcrc?(st.pending+2>st.pending_buf_size&&Ht(ve),st.pending+2<=st.pending_buf_size&&(Kn(st,255&ve.adler),Kn(st,ve.adler>>8&255),ve.adler=0,st.status=rr)):st.status=rr),st.pending!==0){if(Ht(ve),ve.avail_out===0)return st.last_flush=-1,We}else if(ve.avail_in===0&&Gr(cr)<=Gr(Yt)&&cr!==mt)return pi(ve,-5);if(st.status===666&&ve.avail_in!==0)return pi(ve,-5);if(ve.avail_in!==0||st.lookahead!==0||cr!==vt&&st.status!==666){var _r=st.strategy===2?function(Pt,Jr){for(var wn;;){if(Pt.lookahead===0&&(Wa(Pt),Pt.lookahead===0)){if(Jr===vt)return De;break}if(Pt.match_length=0,wn=Qe._tr_tally(Pt,0,Pt.window[Pt.strstart]),Pt.lookahead--,Pt.strstart++,wn&&(jt(Pt,!1),Pt.strm.avail_out===0))return De}return Pt.insert=0,Jr===mt?(jt(Pt,!0),Pt.strm.avail_out===0?li:Rr):Pt.last_lit&&(jt(Pt,!1),Pt.strm.avail_out===0)?De:Ar}(st,cr):st.strategy===3?function(Pt,Jr){for(var wn,Vr,Un,ya,Fi=Pt.window;;){if(Pt.lookahead<=Xr){if(Wa(Pt),Pt.lookahead<=Xr&&Jr===vt)return De;if(Pt.lookahead===0)break}if(Pt.match_length=0,Pt.lookahead>=Vt&&0<Pt.strstart&&(Vr=Fi[Un=Pt.strstart-1])===Fi[++Un]&&Vr===Fi[++Un]&&Vr===Fi[++Un]){ya=Pt.strstart+Xr;do;while(Vr===Fi[++Un]&&Vr===Fi[++Un]&&Vr===Fi[++Un]&&Vr===Fi[++Un]&&Vr===Fi[++Un]&&Vr===Fi[++Un]&&Vr===Fi[++Un]&&Vr===Fi[++Un]&&Un<ya);Pt.match_length=Xr-(ya-Un),Pt.match_length>Pt.lookahead&&(Pt.match_length=Pt.lookahead)}if(Pt.match_length>=Vt?(wn=Qe._tr_tally(Pt,1,Pt.match_length-Vt),Pt.lookahead-=Pt.match_length,Pt.strstart+=Pt.match_length,Pt.match_length=0):(wn=Qe._tr_tally(Pt,0,Pt.window[Pt.strstart]),Pt.lookahead--,Pt.strstart++),wn&&(jt(Pt,!1),Pt.strm.avail_out===0))return De}return Pt.insert=0,Jr===mt?(jt(Pt,!0),Pt.strm.avail_out===0?li:Rr):Pt.last_lit&&(jt(Pt,!1),Pt.strm.avail_out===0)?De:Ar}(st,cr):fe[st.level].func(st,cr);if(_r!==li&&_r!==Rr||(st.status=666),_r===De||_r===li)return ve.avail_out===0&&(st.last_flush=-1),We;if(_r===Ar&&(cr===1?Qe._tr_align(st):cr!==5&&(Qe._tr_stored_block(st,0,0,!1),cr===3&&(ti(st.head),st.lookahead===0&&(st.strstart=0,st.block_start=0,st.insert=0))),Ht(ve),ve.avail_out===0))return st.last_flush=-1,We}return cr!==mt?We:st.wrap<=0?1:(st.wrap===2?(Kn(st,255&ve.adler),Kn(st,ve.adler>>8&255),Kn(st,ve.adler>>16&255),Kn(st,ve.adler>>24&255),Kn(st,255&ve.total_in),Kn(st,ve.total_in>>8&255),Kn(st,ve.total_in>>16&255),Kn(st,ve.total_in>>24&255)):(En(st,ve.adler>>>16),En(st,65535&ve.adler)),Ht(ve),0<st.wrap&&(st.wrap=-st.wrap),st.pending!==0?We:1)},ne.deflateEnd=function(ve){var cr;return ve&&ve.state?(cr=ve.state.status)!==It&&cr!==69&&cr!==73&&cr!==91&&cr!==103&&cr!==rr&&cr!==666?pi(ve,ct):(ve.state=null,cr===rr?pi(ve,-3):We):ct},ne.deflateSetDictionary=function(ve,cr){var Yt,st,nt,xt,Er,_r,Pt,Jr,wn=cr.length;if(!ve||!ve.state||(xt=(Yt=ve.state).wrap)===2||xt===1&&Yt.status!==It||Yt.lookahead)return ct;for(xt===1&&(ve.adler=je(ve.adler,cr,wn,0)),Yt.wrap=0,wn>=Yt.w_size&&(xt===0&&(ti(Yt.head),Yt.strstart=0,Yt.block_start=0,Yt.insert=0),Jr=new we.Buf8(Yt.w_size),we.arraySet(Jr,cr,wn-Yt.w_size,Yt.w_size,0),cr=Jr,wn=Yt.w_size),Er=ve.avail_in,_r=ve.next_in,Pt=ve.input,ve.avail_in=wn,ve.next_in=0,ve.input=cr,Wa(Yt);Yt.lookahead>=Vt;){for(st=Yt.strstart,nt=Yt.lookahead-(Vt-1);Yt.ins_h=(Yt.ins_h<<Yt.hash_shift^Yt.window[st+Vt-1])&Yt.hash_mask,Yt.prev[st&Yt.w_mask]=Yt.head[Yt.ins_h],Yt.head[Yt.ins_h]=st,st++,--nt;);Yt.strstart=st,Yt.lookahead=Vt-1,Wa(Yt)}return Yt.strstart+=Yt.lookahead,Yt.block_start=Yt.strstart,Yt.insert=Yt.lookahead,Yt.lookahead=0,Yt.match_length=Yt.prev_length=Vt-1,Yt.match_available=0,ve.next_in=_r,ve.input=Pt,ve.avail_in=Er,Yt.wrap=xt,We},ne.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(L,V,ne){V.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(L,V,ne){V.exports=function(fe,we){var Qe,je,rt,gt,vt,mt,We,ct,He,it,Xe,lt,Qt,Nt,Rt,pr,$t,Pr,Vt,Xr,Vn,It,rr,De,Ar;Qe=fe.state,je=fe.next_in,De=fe.input,rt=je+(fe.avail_in-5),gt=fe.next_out,Ar=fe.output,vt=gt-(we-fe.avail_out),mt=gt+(fe.avail_out-257),We=Qe.dmax,ct=Qe.wsize,He=Qe.whave,it=Qe.wnext,Xe=Qe.window,lt=Qe.hold,Qt=Qe.bits,Nt=Qe.lencode,Rt=Qe.distcode,pr=(1<<Qe.lenbits)-1,$t=(1<<Qe.distbits)-1;e:do{Qt<15&&(lt+=De[je++]<<Qt,Qt+=8,lt+=De[je++]<<Qt,Qt+=8),Pr=Nt[lt&pr];t:for(;;){if(lt>>>=Vt=Pr>>>24,Qt-=Vt,(Vt=Pr>>>16&255)===0)Ar[gt++]=65535&Pr;else{if(!(16&Vt)){if(!(64&Vt)){Pr=Nt[(65535&Pr)+(lt&(1<<Vt)-1)];continue t}if(32&Vt){Qe.mode=12;break e}fe.msg="invalid literal/length code",Qe.mode=30;break e}Xr=65535&Pr,(Vt&=15)&&(Qt<Vt&&(lt+=De[je++]<<Qt,Qt+=8),Xr+=lt&(1<<Vt)-1,lt>>>=Vt,Qt-=Vt),Qt<15&&(lt+=De[je++]<<Qt,Qt+=8,lt+=De[je++]<<Qt,Qt+=8),Pr=Rt[lt&$t];r:for(;;){if(lt>>>=Vt=Pr>>>24,Qt-=Vt,!(16&(Vt=Pr>>>16&255))){if(!(64&Vt)){Pr=Rt[(65535&Pr)+(lt&(1<<Vt)-1)];continue r}fe.msg="invalid distance code",Qe.mode=30;break e}if(Vn=65535&Pr,Qt<(Vt&=15)&&(lt+=De[je++]<<Qt,(Qt+=8)<Vt&&(lt+=De[je++]<<Qt,Qt+=8)),We<(Vn+=lt&(1<<Vt)-1)){fe.msg="invalid distance too far back",Qe.mode=30;break e}if(lt>>>=Vt,Qt-=Vt,(Vt=gt-vt)<Vn){if(He<(Vt=Vn-Vt)&&Qe.sane){fe.msg="invalid distance too far back",Qe.mode=30;break e}if(rr=Xe,(It=0)===it){if(It+=ct-Vt,Vt<Xr){for(Xr-=Vt;Ar[gt++]=Xe[It++],--Vt;);It=gt-Vn,rr=Ar}}else if(it<Vt){if(It+=ct+it-Vt,(Vt-=it)<Xr){for(Xr-=Vt;Ar[gt++]=Xe[It++],--Vt;);if(It=0,it<Xr){for(Xr-=Vt=it;Ar[gt++]=Xe[It++],--Vt;);It=gt-Vn,rr=Ar}}}else if(It+=it-Vt,Vt<Xr){for(Xr-=Vt;Ar[gt++]=Xe[It++],--Vt;);It=gt-Vn,rr=Ar}for(;2<Xr;)Ar[gt++]=rr[It++],Ar[gt++]=rr[It++],Ar[gt++]=rr[It++],Xr-=3;Xr&&(Ar[gt++]=rr[It++],1<Xr&&(Ar[gt++]=rr[It++]))}else{for(It=gt-Vn;Ar[gt++]=Ar[It++],Ar[gt++]=Ar[It++],Ar[gt++]=Ar[It++],2<(Xr-=3););Xr&&(Ar[gt++]=Ar[It++],1<Xr&&(Ar[gt++]=Ar[It++]))}break}}break}}while(je<rt&&gt<mt);je-=Xr=Qt>>3,lt&=(1<<(Qt-=Xr<<3))-1,fe.next_in=je,fe.next_out=gt,fe.avail_in=je<rt?rt-je+5:5-(je-rt),fe.avail_out=gt<mt?mt-gt+257:257-(gt-mt),Qe.hold=lt,Qe.bits=Qt}},{}],49:[function(L,V,ne){var fe=L("../utils/common"),we=L("./adler32"),Qe=L("./crc32"),je=L("./inffast"),rt=L("./inftrees"),gt=1,vt=2,mt=0,We=-2,ct=1,He=852,it=592;function Xe(It){return(It>>>24&255)+(It>>>8&65280)+((65280&It)<<8)+((255&It)<<24)}function lt(){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 fe.Buf16(320),this.work=new fe.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Qt(It){var rr;return It&&It.state?(rr=It.state,It.total_in=It.total_out=rr.total=0,It.msg="",rr.wrap&&(It.adler=1&rr.wrap),rr.mode=ct,rr.last=0,rr.havedict=0,rr.dmax=32768,rr.head=null,rr.hold=0,rr.bits=0,rr.lencode=rr.lendyn=new fe.Buf32(He),rr.distcode=rr.distdyn=new fe.Buf32(it),rr.sane=1,rr.back=-1,mt):We}function Nt(It){var rr;return It&&It.state?((rr=It.state).wsize=0,rr.whave=0,rr.wnext=0,Qt(It)):We}function Rt(It,rr){var De,Ar;return It&&It.state?(Ar=It.state,rr<0?(De=0,rr=-rr):(De=1+(rr>>4),rr<48&&(rr&=15)),rr&&(rr<8||15<rr)?We:(Ar.window!==null&&Ar.wbits!==rr&&(Ar.window=null),Ar.wrap=De,Ar.wbits=rr,Nt(It))):We}function pr(It,rr){var De,Ar;return It?(Ar=new lt,(It.state=Ar).window=null,(De=Rt(It,rr))!==mt&&(It.state=null),De):We}var $t,Pr,Vt=!0;function Xr(It){if(Vt){var rr;for($t=new fe.Buf32(512),Pr=new fe.Buf32(32),rr=0;rr<144;)It.lens[rr++]=8;for(;rr<256;)It.lens[rr++]=9;for(;rr<280;)It.lens[rr++]=7;for(;rr<288;)It.lens[rr++]=8;for(rt(gt,It.lens,0,288,$t,0,It.work,{bits:9}),rr=0;rr<32;)It.lens[rr++]=5;rt(vt,It.lens,0,32,Pr,0,It.work,{bits:5}),Vt=!1}It.lencode=$t,It.lenbits=9,It.distcode=Pr,It.distbits=5}function Vn(It,rr,De,Ar){var li,Rr=It.state;return Rr.window===null&&(Rr.wsize=1<<Rr.wbits,Rr.wnext=0,Rr.whave=0,Rr.window=new fe.Buf8(Rr.wsize)),Ar>=Rr.wsize?(fe.arraySet(Rr.window,rr,De-Rr.wsize,Rr.wsize,0),Rr.wnext=0,Rr.whave=Rr.wsize):(Ar<(li=Rr.wsize-Rr.wnext)&&(li=Ar),fe.arraySet(Rr.window,rr,De-Ar,li,Rr.wnext),(Ar-=li)?(fe.arraySet(Rr.window,rr,De-Ar,Ar,0),Rr.wnext=Ar,Rr.whave=Rr.wsize):(Rr.wnext+=li,Rr.wnext===Rr.wsize&&(Rr.wnext=0),Rr.whave<Rr.wsize&&(Rr.whave+=li))),0}ne.inflateReset=Nt,ne.inflateReset2=Rt,ne.inflateResetKeep=Qt,ne.inflateInit=function(It){return pr(It,15)},ne.inflateInit2=pr,ne.inflate=function(It,rr){var De,Ar,li,Rr,pi,Gr,ti,Ht,jt,Kn,En,sn,Wa,ho,Ri,qi,Io,ma,Ns,Xs,ve,cr,Yt,st,nt=0,xt=new fe.Buf8(4),Er=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!It||!It.state||!It.output||!It.input&&It.avail_in!==0)return We;(De=It.state).mode===12&&(De.mode=13),pi=It.next_out,li=It.output,ti=It.avail_out,Rr=It.next_in,Ar=It.input,Gr=It.avail_in,Ht=De.hold,jt=De.bits,Kn=Gr,En=ti,cr=mt;e:for(;;)switch(De.mode){case ct:if(De.wrap===0){De.mode=13;break}for(;jt<16;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(2&De.wrap&&Ht===35615){xt[De.check=0]=255&Ht,xt[1]=Ht>>>8&255,De.check=Qe(De.check,xt,2,0),jt=Ht=0,De.mode=2;break}if(De.flags=0,De.head&&(De.head.done=!1),!(1&De.wrap)||(((255&Ht)<<8)+(Ht>>8))%31){It.msg="incorrect header check",De.mode=30;break}if((15&Ht)!=8){It.msg="unknown compression method",De.mode=30;break}if(jt-=4,ve=8+(15&(Ht>>>=4)),De.wbits===0)De.wbits=ve;else if(ve>De.wbits){It.msg="invalid window size",De.mode=30;break}De.dmax=1<<ve,It.adler=De.check=1,De.mode=512&Ht?10:12,jt=Ht=0;break;case 2:for(;jt<16;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(De.flags=Ht,(255&De.flags)!=8){It.msg="unknown compression method",De.mode=30;break}if(57344&De.flags){It.msg="unknown header flags set",De.mode=30;break}De.head&&(De.head.text=Ht>>8&1),512&De.flags&&(xt[0]=255&Ht,xt[1]=Ht>>>8&255,De.check=Qe(De.check,xt,2,0)),jt=Ht=0,De.mode=3;case 3:for(;jt<32;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}De.head&&(De.head.time=Ht),512&De.flags&&(xt[0]=255&Ht,xt[1]=Ht>>>8&255,xt[2]=Ht>>>16&255,xt[3]=Ht>>>24&255,De.check=Qe(De.check,xt,4,0)),jt=Ht=0,De.mode=4;case 4:for(;jt<16;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}De.head&&(De.head.xflags=255&Ht,De.head.os=Ht>>8),512&De.flags&&(xt[0]=255&Ht,xt[1]=Ht>>>8&255,De.check=Qe(De.check,xt,2,0)),jt=Ht=0,De.mode=5;case 5:if(1024&De.flags){for(;jt<16;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}De.length=Ht,De.head&&(De.head.extra_len=Ht),512&De.flags&&(xt[0]=255&Ht,xt[1]=Ht>>>8&255,De.check=Qe(De.check,xt,2,0)),jt=Ht=0}else De.head&&(De.head.extra=null);De.mode=6;case 6:if(1024&De.flags&&(Gr<(sn=De.length)&&(sn=Gr),sn&&(De.head&&(ve=De.head.extra_len-De.length,De.head.extra||(De.head.extra=new Array(De.head.extra_len)),fe.arraySet(De.head.extra,Ar,Rr,sn,ve)),512&De.flags&&(De.check=Qe(De.check,Ar,sn,Rr)),Gr-=sn,Rr+=sn,De.length-=sn),De.length))break e;De.length=0,De.mode=7;case 7:if(2048&De.flags){if(Gr===0)break e;for(sn=0;ve=Ar[Rr+sn++],De.head&&ve&&De.length<65536&&(De.head.name+=String.fromCharCode(ve)),ve&&sn<Gr;);if(512&De.flags&&(De.check=Qe(De.check,Ar,sn,Rr)),Gr-=sn,Rr+=sn,ve)break e}else De.head&&(De.head.name=null);De.length=0,De.mode=8;case 8:if(4096&De.flags){if(Gr===0)break e;for(sn=0;ve=Ar[Rr+sn++],De.head&&ve&&De.length<65536&&(De.head.comment+=String.fromCharCode(ve)),ve&&sn<Gr;);if(512&De.flags&&(De.check=Qe(De.check,Ar,sn,Rr)),Gr-=sn,Rr+=sn,ve)break e}else De.head&&(De.head.comment=null);De.mode=9;case 9:if(512&De.flags){for(;jt<16;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(Ht!==(65535&De.check)){It.msg="header crc mismatch",De.mode=30;break}jt=Ht=0}De.head&&(De.head.hcrc=De.flags>>9&1,De.head.done=!0),It.adler=De.check=0,De.mode=12;break;case 10:for(;jt<32;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}It.adler=De.check=Xe(Ht),jt=Ht=0,De.mode=11;case 11:if(De.havedict===0)return It.next_out=pi,It.avail_out=ti,It.next_in=Rr,It.avail_in=Gr,De.hold=Ht,De.bits=jt,2;It.adler=De.check=1,De.mode=12;case 12:if(rr===5||rr===6)break e;case 13:if(De.last){Ht>>>=7&jt,jt-=7&jt,De.mode=27;break}for(;jt<3;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}switch(De.last=1&Ht,jt-=1,3&(Ht>>>=1)){case 0:De.mode=14;break;case 1:if(Xr(De),De.mode=20,rr!==6)break;Ht>>>=2,jt-=2;break e;case 2:De.mode=17;break;case 3:It.msg="invalid block type",De.mode=30}Ht>>>=2,jt-=2;break;case 14:for(Ht>>>=7&jt,jt-=7&jt;jt<32;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if((65535&Ht)!=(Ht>>>16^65535)){It.msg="invalid stored block lengths",De.mode=30;break}if(De.length=65535&Ht,jt=Ht=0,De.mode=15,rr===6)break e;case 15:De.mode=16;case 16:if(sn=De.length){if(Gr<sn&&(sn=Gr),ti<sn&&(sn=ti),sn===0)break e;fe.arraySet(li,Ar,Rr,sn,pi),Gr-=sn,Rr+=sn,ti-=sn,pi+=sn,De.length-=sn;break}De.mode=12;break;case 17:for(;jt<14;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(De.nlen=257+(31&Ht),Ht>>>=5,jt-=5,De.ndist=1+(31&Ht),Ht>>>=5,jt-=5,De.ncode=4+(15&Ht),Ht>>>=4,jt-=4,286<De.nlen||30<De.ndist){It.msg="too many length or distance symbols",De.mode=30;break}De.have=0,De.mode=18;case 18:for(;De.have<De.ncode;){for(;jt<3;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}De.lens[Er[De.have++]]=7&Ht,Ht>>>=3,jt-=3}for(;De.have<19;)De.lens[Er[De.have++]]=0;if(De.lencode=De.lendyn,De.lenbits=7,Yt={bits:De.lenbits},cr=rt(0,De.lens,0,19,De.lencode,0,De.work,Yt),De.lenbits=Yt.bits,cr){It.msg="invalid code lengths set",De.mode=30;break}De.have=0,De.mode=19;case 19:for(;De.have<De.nlen+De.ndist;){for(;qi=(nt=De.lencode[Ht&(1<<De.lenbits)-1])>>>16&255,Io=65535&nt,!((Ri=nt>>>24)<=jt);){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(Io<16)Ht>>>=Ri,jt-=Ri,De.lens[De.have++]=Io;else{if(Io===16){for(st=Ri+2;jt<st;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(Ht>>>=Ri,jt-=Ri,De.have===0){It.msg="invalid bit length repeat",De.mode=30;break}ve=De.lens[De.have-1],sn=3+(3&Ht),Ht>>>=2,jt-=2}else if(Io===17){for(st=Ri+3;jt<st;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}jt-=Ri,ve=0,sn=3+(7&(Ht>>>=Ri)),Ht>>>=3,jt-=3}else{for(st=Ri+7;jt<st;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}jt-=Ri,ve=0,sn=11+(127&(Ht>>>=Ri)),Ht>>>=7,jt-=7}if(De.have+sn>De.nlen+De.ndist){It.msg="invalid bit length repeat",De.mode=30;break}for(;sn--;)De.lens[De.have++]=ve}}if(De.mode===30)break;if(De.lens[256]===0){It.msg="invalid code -- missing end-of-block",De.mode=30;break}if(De.lenbits=9,Yt={bits:De.lenbits},cr=rt(gt,De.lens,0,De.nlen,De.lencode,0,De.work,Yt),De.lenbits=Yt.bits,cr){It.msg="invalid literal/lengths set",De.mode=30;break}if(De.distbits=6,De.distcode=De.distdyn,Yt={bits:De.distbits},cr=rt(vt,De.lens,De.nlen,De.ndist,De.distcode,0,De.work,Yt),De.distbits=Yt.bits,cr){It.msg="invalid distances set",De.mode=30;break}if(De.mode=20,rr===6)break e;case 20:De.mode=21;case 21:if(6<=Gr&&258<=ti){It.next_out=pi,It.avail_out=ti,It.next_in=Rr,It.avail_in=Gr,De.hold=Ht,De.bits=jt,je(It,En),pi=It.next_out,li=It.output,ti=It.avail_out,Rr=It.next_in,Ar=It.input,Gr=It.avail_in,Ht=De.hold,jt=De.bits,De.mode===12&&(De.back=-1);break}for(De.back=0;qi=(nt=De.lencode[Ht&(1<<De.lenbits)-1])>>>16&255,Io=65535&nt,!((Ri=nt>>>24)<=jt);){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(qi&&!(240&qi)){for(ma=Ri,Ns=qi,Xs=Io;qi=(nt=De.lencode[Xs+((Ht&(1<<ma+Ns)-1)>>ma)])>>>16&255,Io=65535&nt,!(ma+(Ri=nt>>>24)<=jt);){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}Ht>>>=ma,jt-=ma,De.back+=ma}if(Ht>>>=Ri,jt-=Ri,De.back+=Ri,De.length=Io,qi===0){De.mode=26;break}if(32&qi){De.back=-1,De.mode=12;break}if(64&qi){It.msg="invalid literal/length code",De.mode=30;break}De.extra=15&qi,De.mode=22;case 22:if(De.extra){for(st=De.extra;jt<st;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}De.length+=Ht&(1<<De.extra)-1,Ht>>>=De.extra,jt-=De.extra,De.back+=De.extra}De.was=De.length,De.mode=23;case 23:for(;qi=(nt=De.distcode[Ht&(1<<De.distbits)-1])>>>16&255,Io=65535&nt,!((Ri=nt>>>24)<=jt);){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(!(240&qi)){for(ma=Ri,Ns=qi,Xs=Io;qi=(nt=De.distcode[Xs+((Ht&(1<<ma+Ns)-1)>>ma)])>>>16&255,Io=65535&nt,!(ma+(Ri=nt>>>24)<=jt);){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}Ht>>>=ma,jt-=ma,De.back+=ma}if(Ht>>>=Ri,jt-=Ri,De.back+=Ri,64&qi){It.msg="invalid distance code",De.mode=30;break}De.offset=Io,De.extra=15&qi,De.mode=24;case 24:if(De.extra){for(st=De.extra;jt<st;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}De.offset+=Ht&(1<<De.extra)-1,Ht>>>=De.extra,jt-=De.extra,De.back+=De.extra}if(De.offset>De.dmax){It.msg="invalid distance too far back",De.mode=30;break}De.mode=25;case 25:if(ti===0)break e;if(sn=En-ti,De.offset>sn){if((sn=De.offset-sn)>De.whave&&De.sane){It.msg="invalid distance too far back",De.mode=30;break}Wa=sn>De.wnext?(sn-=De.wnext,De.wsize-sn):De.wnext-sn,sn>De.length&&(sn=De.length),ho=De.window}else ho=li,Wa=pi-De.offset,sn=De.length;for(ti<sn&&(sn=ti),ti-=sn,De.length-=sn;li[pi++]=ho[Wa++],--sn;);De.length===0&&(De.mode=21);break;case 26:if(ti===0)break e;li[pi++]=De.length,ti--,De.mode=21;break;case 27:if(De.wrap){for(;jt<32;){if(Gr===0)break e;Gr--,Ht|=Ar[Rr++]<<jt,jt+=8}if(En-=ti,It.total_out+=En,De.total+=En,En&&(It.adler=De.check=De.flags?Qe(De.check,li,En,pi-En):we(De.check,li,En,pi-En)),En=ti,(De.flags?Ht:Xe(Ht))!==De.check){It.msg="incorrect data check",De.mode=30;break}jt=Ht=0}De.mode=28;case 28:if(De.wrap&&De.flags){for(;jt<32;){if(Gr===0)break e;Gr--,Ht+=Ar[Rr++]<<jt,jt+=8}if(Ht!==(4294967295&De.total)){It.msg="incorrect length check",De.mode=30;break}jt=Ht=0}De.mode=29;case 29:cr=1;break e;case 30:cr=-3;break e;case 31:return-4;case 32:default:return We}return It.next_out=pi,It.avail_out=ti,It.next_in=Rr,It.avail_in=Gr,De.hold=Ht,De.bits=jt,(De.wsize||En!==It.avail_out&&De.mode<30&&(De.mode<27||rr!==4))&&Vn(It,It.output,It.next_out,En-It.avail_out)?(De.mode=31,-4):(Kn-=It.avail_in,En-=It.avail_out,It.total_in+=Kn,It.total_out+=En,De.total+=En,De.wrap&&En&&(It.adler=De.check=De.flags?Qe(De.check,li,En,It.next_out-En):we(De.check,li,En,It.next_out-En)),It.data_type=De.bits+(De.last?64:0)+(De.mode===12?128:0)+(De.mode===20||De.mode===15?256:0),(Kn==0&&En===0||rr===4)&&cr===mt&&(cr=-5),cr)},ne.inflateEnd=function(It){if(!It||!It.state)return We;var rr=It.state;return rr.window&&(rr.window=null),It.state=null,mt},ne.inflateGetHeader=function(It,rr){var De;return It&&It.state&&2&(De=It.state).wrap?((De.head=rr).done=!1,mt):We},ne.inflateSetDictionary=function(It,rr){var De,Ar=rr.length;return It&&It.state?(De=It.state).wrap!==0&&De.mode!==11?We:De.mode===11&&we(1,rr,Ar,0)!==De.check?-3:Vn(It,rr,Ar,Ar)?(De.mode=31,-4):(De.havedict=1,mt):We},ne.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(L,V,ne){var fe=L("../utils/common"),we=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Qe=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],je=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],rt=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];V.exports=function(gt,vt,mt,We,ct,He,it,Xe){var lt,Qt,Nt,Rt,pr,$t,Pr,Vt,Xr,Vn=Xe.bits,It=0,rr=0,De=0,Ar=0,li=0,Rr=0,pi=0,Gr=0,ti=0,Ht=0,jt=null,Kn=0,En=new fe.Buf16(16),sn=new fe.Buf16(16),Wa=null,ho=0;for(It=0;It<=15;It++)En[It]=0;for(rr=0;rr<We;rr++)En[vt[mt+rr]]++;for(li=Vn,Ar=15;1<=Ar&&En[Ar]===0;Ar--);if(Ar<li&&(li=Ar),Ar===0)return ct[He++]=20971520,ct[He++]=20971520,Xe.bits=1,0;for(De=1;De<Ar&&En[De]===0;De++);for(li<De&&(li=De),It=Gr=1;It<=15;It++)if(Gr<<=1,(Gr-=En[It])<0)return-1;if(0<Gr&&(gt===0||Ar!==1))return-1;for(sn[1]=0,It=1;It<15;It++)sn[It+1]=sn[It]+En[It];for(rr=0;rr<We;rr++)vt[mt+rr]!==0&&(it[sn[vt[mt+rr]]++]=rr);if($t=gt===0?(jt=Wa=it,19):gt===1?(jt=we,Kn-=257,Wa=Qe,ho-=257,256):(jt=je,Wa=rt,-1),It=De,pr=He,pi=rr=Ht=0,Nt=-1,Rt=(ti=1<<(Rr=li))-1,gt===1&&852<ti||gt===2&&592<ti)return 1;for(;;){for(Pr=It-pi,Xr=it[rr]<$t?(Vt=0,it[rr]):it[rr]>$t?(Vt=Wa[ho+it[rr]],jt[Kn+it[rr]]):(Vt=96,0),lt=1<<It-pi,De=Qt=1<<Rr;ct[pr+(Ht>>pi)+(Qt-=lt)]=Pr<<24|Vt<<16|Xr|0,Qt!==0;);for(lt=1<<It-1;Ht&lt;)lt>>=1;if(lt!==0?(Ht&=lt-1,Ht+=lt):Ht=0,rr++,--En[It]==0){if(It===Ar)break;It=vt[mt+it[rr]]}if(li<It&&(Ht&Rt)!==Nt){for(pi===0&&(pi=li),pr+=De,Gr=1<<(Rr=It-pi);Rr+pi<Ar&&!((Gr-=En[Rr+pi])<=0);)Rr++,Gr<<=1;if(ti+=1<<Rr,gt===1&&852<ti||gt===2&&592<ti)return 1;ct[Nt=Ht&Rt]=li<<24|Rr<<16|pr-He|0}}return Ht!==0&&(ct[pr+Ht]=It-pi<<24|64<<16|0),Xe.bits=li,0}},{"../utils/common":41}],51:[function(L,V,ne){V.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(L,V,ne){var fe=L("../utils/common"),we=0,Qe=1;function je(nt){for(var xt=nt.length;0<=--xt;)nt[xt]=0}var rt=0,gt=29,vt=256,mt=vt+1+gt,We=30,ct=19,He=2*mt+1,it=15,Xe=16,lt=7,Qt=256,Nt=16,Rt=17,pr=18,$t=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Pr=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Vt=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Xr=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Vn=new Array(2*(mt+2));je(Vn);var It=new Array(2*We);je(It);var rr=new Array(512);je(rr);var De=new Array(256);je(De);var Ar=new Array(gt);je(Ar);var li,Rr,pi,Gr=new Array(We);function ti(nt,xt,Er,_r,Pt){this.static_tree=nt,this.extra_bits=xt,this.extra_base=Er,this.elems=_r,this.max_length=Pt,this.has_stree=nt&&nt.length}function Ht(nt,xt){this.dyn_tree=nt,this.max_code=0,this.stat_desc=xt}function jt(nt){return nt<256?rr[nt]:rr[256+(nt>>>7)]}function Kn(nt,xt){nt.pending_buf[nt.pending++]=255&xt,nt.pending_buf[nt.pending++]=xt>>>8&255}function En(nt,xt,Er){nt.bi_valid>Xe-Er?(nt.bi_buf|=xt<<nt.bi_valid&65535,Kn(nt,nt.bi_buf),nt.bi_buf=xt>>Xe-nt.bi_valid,nt.bi_valid+=Er-Xe):(nt.bi_buf|=xt<<nt.bi_valid&65535,nt.bi_valid+=Er)}function sn(nt,xt,Er){En(nt,Er[2*xt],Er[2*xt+1])}function Wa(nt,xt){for(var Er=0;Er|=1&nt,nt>>>=1,Er<<=1,0<--xt;);return Er>>>1}function ho(nt,xt,Er){var _r,Pt,Jr=new Array(it+1),wn=0;for(_r=1;_r<=it;_r++)Jr[_r]=wn=wn+Er[_r-1]<<1;for(Pt=0;Pt<=xt;Pt++){var Vr=nt[2*Pt+1];Vr!==0&&(nt[2*Pt]=Wa(Jr[Vr]++,Vr))}}function Ri(nt){var xt;for(xt=0;xt<mt;xt++)nt.dyn_ltree[2*xt]=0;for(xt=0;xt<We;xt++)nt.dyn_dtree[2*xt]=0;for(xt=0;xt<ct;xt++)nt.bl_tree[2*xt]=0;nt.dyn_ltree[2*Qt]=1,nt.opt_len=nt.static_len=0,nt.last_lit=nt.matches=0}function qi(nt){8<nt.bi_valid?Kn(nt,nt.bi_buf):0<nt.bi_valid&&(nt.pending_buf[nt.pending++]=nt.bi_buf),nt.bi_buf=0,nt.bi_valid=0}function Io(nt,xt,Er,_r){var Pt=2*xt,Jr=2*Er;return nt[Pt]<nt[Jr]||nt[Pt]===nt[Jr]&&_r[xt]<=_r[Er]}function ma(nt,xt,Er){for(var _r=nt.heap[Er],Pt=Er<<1;Pt<=nt.heap_len&&(Pt<nt.heap_len&&Io(xt,nt.heap[Pt+1],nt.heap[Pt],nt.depth)&&Pt++,!Io(xt,_r,nt.heap[Pt],nt.depth));)nt.heap[Er]=nt.heap[Pt],Er=Pt,Pt<<=1;nt.heap[Er]=_r}function Ns(nt,xt,Er){var _r,Pt,Jr,wn,Vr=0;if(nt.last_lit!==0)for(;_r=nt.pending_buf[nt.d_buf+2*Vr]<<8|nt.pending_buf[nt.d_buf+2*Vr+1],Pt=nt.pending_buf[nt.l_buf+Vr],Vr++,_r===0?sn(nt,Pt,xt):(sn(nt,(Jr=De[Pt])+vt+1,xt),(wn=$t[Jr])!==0&&En(nt,Pt-=Ar[Jr],wn),sn(nt,Jr=jt(--_r),Er),(wn=Pr[Jr])!==0&&En(nt,_r-=Gr[Jr],wn)),Vr<nt.last_lit;);sn(nt,Qt,xt)}function Xs(nt,xt){var Er,_r,Pt,Jr=xt.dyn_tree,wn=xt.stat_desc.static_tree,Vr=xt.stat_desc.has_stree,Un=xt.stat_desc.elems,ya=-1;for(nt.heap_len=0,nt.heap_max=He,Er=0;Er<Un;Er++)Jr[2*Er]!==0?(nt.heap[++nt.heap_len]=ya=Er,nt.depth[Er]=0):Jr[2*Er+1]=0;for(;nt.heap_len<2;)Jr[2*(Pt=nt.heap[++nt.heap_len]=ya<2?++ya:0)]=1,nt.depth[Pt]=0,nt.opt_len--,Vr&&(nt.static_len-=wn[2*Pt+1]);for(xt.max_code=ya,Er=nt.heap_len>>1;1<=Er;Er--)ma(nt,Jr,Er);for(Pt=Un;Er=nt.heap[1],nt.heap[1]=nt.heap[nt.heap_len--],ma(nt,Jr,1),_r=nt.heap[1],nt.heap[--nt.heap_max]=Er,nt.heap[--nt.heap_max]=_r,Jr[2*Pt]=Jr[2*Er]+Jr[2*_r],nt.depth[Pt]=(nt.depth[Er]>=nt.depth[_r]?nt.depth[Er]:nt.depth[_r])+1,Jr[2*Er+1]=Jr[2*_r+1]=Pt,nt.heap[1]=Pt++,ma(nt,Jr,1),2<=nt.heap_len;);nt.heap[--nt.heap_max]=nt.heap[1],function(Fi,Ms){var Dc,fc,Tl,Ka,Ts,Mh,Rc=Ms.dyn_tree,Vf=Ms.max_code,Hg=Ms.stat_desc.static_tree,Yg=Ms.stat_desc.has_stree,Zf=Ms.stat_desc.extra_bits,Xf=Ms.stat_desc.extra_base,nl=Ms.stat_desc.max_length,PA=0;for(Ka=0;Ka<=it;Ka++)Fi.bl_count[Ka]=0;for(Rc[2*Fi.heap[Fi.heap_max]+1]=0,Dc=Fi.heap_max+1;Dc<He;Dc++)nl<(Ka=Rc[2*Rc[2*(fc=Fi.heap[Dc])+1]+1]+1)&&(Ka=nl,PA++),Rc[2*fc+1]=Ka,Vf<fc||(Fi.bl_count[Ka]++,Ts=0,Xf<=fc&&(Ts=Zf[fc-Xf]),Mh=Rc[2*fc],Fi.opt_len+=Mh*(Ka+Ts),Yg&&(Fi.static_len+=Mh*(Hg[2*fc+1]+Ts)));if(PA!==0){do{for(Ka=nl-1;Fi.bl_count[Ka]===0;)Ka--;Fi.bl_count[Ka]--,Fi.bl_count[Ka+1]+=2,Fi.bl_count[nl]--,PA-=2}while(0<PA);for(Ka=nl;Ka!==0;Ka--)for(fc=Fi.bl_count[Ka];fc!==0;)Vf<(Tl=Fi.heap[--Dc])||(Rc[2*Tl+1]!==Ka&&(Fi.opt_len+=(Ka-Rc[2*Tl+1])*Rc[2*Tl],Rc[2*Tl+1]=Ka),fc--)}}(nt,xt),ho(Jr,ya,nt.bl_count)}function ve(nt,xt,Er){var _r,Pt,Jr=-1,wn=xt[1],Vr=0,Un=7,ya=4;for(wn===0&&(Un=138,ya=3),xt[2*(Er+1)+1]=65535,_r=0;_r<=Er;_r++)Pt=wn,wn=xt[2*(_r+1)+1],++Vr<Un&&Pt===wn||(Vr<ya?nt.bl_tree[2*Pt]+=Vr:Pt!==0?(Pt!==Jr&&nt.bl_tree[2*Pt]++,nt.bl_tree[2*Nt]++):Vr<=10?nt.bl_tree[2*Rt]++:nt.bl_tree[2*pr]++,Jr=Pt,ya=(Vr=0)===wn?(Un=138,3):Pt===wn?(Un=6,3):(Un=7,4))}function cr(nt,xt,Er){var _r,Pt,Jr=-1,wn=xt[1],Vr=0,Un=7,ya=4;for(wn===0&&(Un=138,ya=3),_r=0;_r<=Er;_r++)if(Pt=wn,wn=xt[2*(_r+1)+1],!(++Vr<Un&&Pt===wn)){if(Vr<ya)for(;sn(nt,Pt,nt.bl_tree),--Vr!=0;);else Pt!==0?(Pt!==Jr&&(sn(nt,Pt,nt.bl_tree),Vr--),sn(nt,Nt,nt.bl_tree),En(nt,Vr-3,2)):Vr<=10?(sn(nt,Rt,nt.bl_tree),En(nt,Vr-3,3)):(sn(nt,pr,nt.bl_tree),En(nt,Vr-11,7));Jr=Pt,ya=(Vr=0)===wn?(Un=138,3):Pt===wn?(Un=6,3):(Un=7,4)}}je(Gr);var Yt=!1;function st(nt,xt,Er,_r){En(nt,(rt<<1)+(_r?1:0),3),function(Pt,Jr,wn,Vr){qi(Pt),Vr&&(Kn(Pt,wn),Kn(Pt,~wn)),fe.arraySet(Pt.pending_buf,Pt.window,Jr,wn,Pt.pending),Pt.pending+=wn}(nt,xt,Er,!0)}ne._tr_init=function(nt){Yt||(function(){var xt,Er,_r,Pt,Jr,wn=new Array(it+1);for(Pt=_r=0;Pt<gt-1;Pt++)for(Ar[Pt]=_r,xt=0;xt<1<<$t[Pt];xt++)De[_r++]=Pt;for(De[_r-1]=Pt,Pt=Jr=0;Pt<16;Pt++)for(Gr[Pt]=Jr,xt=0;xt<1<<Pr[Pt];xt++)rr[Jr++]=Pt;for(Jr>>=7;Pt<We;Pt++)for(Gr[Pt]=Jr<<7,xt=0;xt<1<<Pr[Pt]-7;xt++)rr[256+Jr++]=Pt;for(Er=0;Er<=it;Er++)wn[Er]=0;for(xt=0;xt<=143;)Vn[2*xt+1]=8,xt++,wn[8]++;for(;xt<=255;)Vn[2*xt+1]=9,xt++,wn[9]++;for(;xt<=279;)Vn[2*xt+1]=7,xt++,wn[7]++;for(;xt<=287;)Vn[2*xt+1]=8,xt++,wn[8]++;for(ho(Vn,mt+1,wn),xt=0;xt<We;xt++)It[2*xt+1]=5,It[2*xt]=Wa(xt,5);li=new ti(Vn,$t,vt+1,mt,it),Rr=new ti(It,Pr,0,We,it),pi=new ti(new Array(0),Vt,0,ct,lt)}(),Yt=!0),nt.l_desc=new Ht(nt.dyn_ltree,li),nt.d_desc=new Ht(nt.dyn_dtree,Rr),nt.bl_desc=new Ht(nt.bl_tree,pi),nt.bi_buf=0,nt.bi_valid=0,Ri(nt)},ne._tr_stored_block=st,ne._tr_flush_block=function(nt,xt,Er,_r){var Pt,Jr,wn=0;0<nt.level?(nt.strm.data_type===2&&(nt.strm.data_type=function(Vr){var Un,ya=4093624447;for(Un=0;Un<=31;Un++,ya>>>=1)if(1&ya&&Vr.dyn_ltree[2*Un]!==0)return we;if(Vr.dyn_ltree[18]!==0||Vr.dyn_ltree[20]!==0||Vr.dyn_ltree[26]!==0)return Qe;for(Un=32;Un<vt;Un++)if(Vr.dyn_ltree[2*Un]!==0)return Qe;return we}(nt)),Xs(nt,nt.l_desc),Xs(nt,nt.d_desc),wn=function(Vr){var Un;for(ve(Vr,Vr.dyn_ltree,Vr.l_desc.max_code),ve(Vr,Vr.dyn_dtree,Vr.d_desc.max_code),Xs(Vr,Vr.bl_desc),Un=ct-1;3<=Un&&Vr.bl_tree[2*Xr[Un]+1]===0;Un--);return Vr.opt_len+=3*(Un+1)+5+5+4,Un}(nt),Pt=nt.opt_len+3+7>>>3,(Jr=nt.static_len+3+7>>>3)<=Pt&&(Pt=Jr)):Pt=Jr=Er+5,Er+4<=Pt&&xt!==-1?st(nt,xt,Er,_r):nt.strategy===4||Jr===Pt?(En(nt,2+(_r?1:0),3),Ns(nt,Vn,It)):(En(nt,4+(_r?1:0),3),function(Vr,Un,ya,Fi){var Ms;for(En(Vr,Un-257,5),En(Vr,ya-1,5),En(Vr,Fi-4,4),Ms=0;Ms<Fi;Ms++)En(Vr,Vr.bl_tree[2*Xr[Ms]+1],3);cr(Vr,Vr.dyn_ltree,Un-1),cr(Vr,Vr.dyn_dtree,ya-1)}(nt,nt.l_desc.max_code+1,nt.d_desc.max_code+1,wn+1),Ns(nt,nt.dyn_ltree,nt.dyn_dtree)),Ri(nt),_r&&qi(nt)},ne._tr_tally=function(nt,xt,Er){return nt.pending_buf[nt.d_buf+2*nt.last_lit]=xt>>>8&255,nt.pending_buf[nt.d_buf+2*nt.last_lit+1]=255&xt,nt.pending_buf[nt.l_buf+nt.last_lit]=255&Er,nt.last_lit++,xt===0?nt.dyn_ltree[2*Er]++:(nt.matches++,xt--,nt.dyn_ltree[2*(De[Er]+vt+1)]++,nt.dyn_dtree[2*jt(xt)]++),nt.last_lit===nt.lit_bufsize-1},ne._tr_align=function(nt){En(nt,2,3),sn(nt,Qt,Vn),function(xt){xt.bi_valid===16?(Kn(xt,xt.bi_buf),xt.bi_buf=0,xt.bi_valid=0):8<=xt.bi_valid&&(xt.pending_buf[xt.pending++]=255&xt.bi_buf,xt.bi_buf>>=8,xt.bi_valid-=8)}(nt)}},{"../utils/common":41}],53:[function(L,V,ne){V.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(L,V,ne){(function(fe){(function(we,Qe){if(!we.setImmediate){var je,rt,gt,vt,mt=1,We={},ct=!1,He=we.document,it=Object.getPrototypeOf&&Object.getPrototypeOf(we);it=it&&it.setTimeout?it:we,je={}.toString.call(we.process)==="[object process]"?function(Nt){process.nextTick(function(){lt(Nt)})}:function(){if(we.postMessage&&!we.importScripts){var Nt=!0,Rt=we.onmessage;return we.onmessage=function(){Nt=!1},we.postMessage("","*"),we.onmessage=Rt,Nt}}()?(vt="setImmediate$"+Math.random()+"$",we.addEventListener?we.addEventListener("message",Qt,!1):we.attachEvent("onmessage",Qt),function(Nt){we.postMessage(vt+Nt,"*")}):we.MessageChannel?((gt=new MessageChannel).port1.onmessage=function(Nt){lt(Nt.data)},function(Nt){gt.port2.postMessage(Nt)}):He&&"onreadystatechange"in He.createElement("script")?(rt=He.documentElement,function(Nt){var Rt=He.createElement("script");Rt.onreadystatechange=function(){lt(Nt),Rt.onreadystatechange=null,rt.removeChild(Rt),Rt=null},rt.appendChild(Rt)}):function(Nt){setTimeout(lt,0,Nt)},it.setImmediate=function(Nt){typeof Nt!="function"&&(Nt=new Function(""+Nt));for(var Rt=new Array(arguments.length-1),pr=0;pr<Rt.length;pr++)Rt[pr]=arguments[pr+1];var $t={callback:Nt,args:Rt};return We[mt]=$t,je(mt),mt++},it.clearImmediate=Xe}function Xe(Nt){delete We[Nt]}function lt(Nt){if(ct)setTimeout(lt,0,Nt);else{var Rt=We[Nt];if(Rt){ct=!0;try{(function(pr){var $t=pr.callback,Pr=pr.args;switch(Pr.length){case 0:$t();break;case 1:$t(Pr[0]);break;case 2:$t(Pr[0],Pr[1]);break;case 3:$t(Pr[0],Pr[1],Pr[2]);break;default:$t.apply(Qe,Pr)}})(Rt)}finally{Xe(Nt),ct=!1}}}}function Qt(Nt){Nt.source===we&&typeof Nt.data=="string"&&Nt.data.indexOf(vt)===0&&lt(+Nt.data.slice(vt.length))}})(typeof self>"u"?fe===void 0?this:fe:self)}).call(this,typeof Le<"u"?Le:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(hn);var Oe=hn.exports;const Et=sr(Oe);var qt;(function(Ie){Ie.OfficeDocument="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Ie.FontTable="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",Ie.Image="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Ie.Numbering="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",Ie.Styles="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Ie.StylesWithEffects="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",Ie.Theme="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Ie.Settings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",Ie.WebSettings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",Ie.Hyperlink="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Ie.Footnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",Ie.Endnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",Ie.Footer="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",Ie.Header="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",Ie.ExtendedProperties="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Ie.CoreProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",Ie.CustomProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties",Ie.Comments="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",Ie.CommentsExtended="http://schemas.microsoft.com/office/2011/relationships/commentsExtended"})(qt||(qt={}));function nr(Ie,P){return P.elements(Ie).map(L=>({id:P.attr(L,"Id"),type:P.attr(L,"Type"),target:P.attr(L,"Target"),targetMode:P.attr(L,"TargetMode")}))}const Nr={wordml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",drawingml:"http://schemas.openxmlformats.org/drawingml/2006/main",picture:"http://schemas.openxmlformats.org/drawingml/2006/picture",compatibility:"http://schemas.openxmlformats.org/markup-compatibility/2006",math:"http://schemas.openxmlformats.org/officeDocument/2006/math"},zt={Dxa:{mul:.05,unit:"pt"},Emu:{mul:1/12700,unit:"pt"},FontSize:{mul:.5,unit:"pt"},Border:{mul:.125,unit:"pt"},Point:{mul:1,unit:"pt"},Percent:{mul:.02,unit:"%"},LineHeight:{mul:1/240,unit:""},VmlEmu:{mul:1/12700,unit:""}};function Cr(Ie,P=zt.Dxa){return Ie==null||/.+(p[xt]|[%])$/.test(Ie)?Ie:`${(parseInt(Ie)*P.mul).toFixed(2)}${P.unit}`}function Wr(Ie,P=!1){switch(Ie){case"1":return!0;case"0":return!1;case"on":return!0;case"off":return!1;case"true":return!0;case"false":return!1;default:return P}}function un(Ie,P,L){if(Ie.namespaceURI!=Nr.wordml)return!1;switch(Ie.localName){case"color":P.color=L.attr(Ie,"val");break;case"sz":P.fontSize=L.lengthAttr(Ie,"val",zt.FontSize);break;default:return!1}return!0}function Ui(Ie,P=!1){P&&(Ie=Ie.replace(/<[?].*[?]>/,"")),Ie=Po(Ie);const L=new DOMParser().parseFromString(Ie,"application/xml"),V=Ea(L);if(V)throw new Error(V);return L}function Ea(Ie){var P;return(P=Ie.getElementsByTagName("parsererror")[0])==null?void 0:P.textContent}function Po(Ie){return Ie.charCodeAt(0)===65279?Ie.substring(1):Ie}function Ds(Ie){return new XMLSerializer().serializeToString(Ie)}class co{elements(P,L=null){const V=[];for(let ne=0,fe=P.childNodes.length;ne<fe;ne++){let we=P.childNodes.item(ne);we.nodeType==1&&(L==null||we.localName==L)&&V.push(we)}return V}element(P,L){for(let V=0,ne=P.childNodes.length;V<ne;V++){let fe=P.childNodes.item(V);if(fe.nodeType==1&&fe.localName==L)return fe}return null}elementAttr(P,L,V){var ne=this.element(P,L);return ne?this.attr(ne,V):void 0}attrs(P){return Array.from(P.attributes)}attr(P,L){for(let V=0,ne=P.attributes.length;V<ne;V++){let fe=P.attributes.item(V);if(fe.localName==L)return fe.value}return null}intAttr(P,L,V=null){var ne=this.attr(P,L);return ne?parseInt(ne):V}hexAttr(P,L,V=null){var ne=this.attr(P,L);return ne?parseInt(ne,16):V}floatAttr(P,L,V=null){var ne=this.attr(P,L);return ne?parseFloat(ne):V}boolAttr(P,L,V=null){return Wr(this.attr(P,L),V)}lengthAttr(P,L,V=zt.Dxa){return Cr(this.attr(P,L),V)}}const kt=new co;class Qa{constructor(P,L){this._package=P,this.path=L}load(){return yr(this,null,function*(){this.rels=yield this._package.loadRelationships(this.path);const P=yield this._package.load(this.path),L=this._package.parseXmlDocument(P);this._package.options.keepOrigin&&(this._xmlDocument=L),this.parseXml(L.firstElementChild)})}save(){this._package.update(this.path,Ds(this._xmlDocument))}parseXml(P){}}const Ji={embedRegular:"regular",embedBold:"bold",embedItalic:"italic",embedBoldItalic:"boldItalic"};function La(Ie,P){return P.elements(Ie).map(L=>yo(L,P))}function yo(Ie,P){let L={name:P.attr(Ie,"name"),embedFontRefs:[]};for(let V of P.elements(Ie))switch(V.localName){case"family":L.family=P.attr(V,"val");break;case"altName":L.altName=P.attr(V,"val");break;case"embedRegular":case"embedBold":case"embedItalic":case"embedBoldItalic":L.embedFontRefs.push(_a(V,P));break}return L}function _a(Ie,P){return{id:P.attr(Ie,"id"),key:P.attr(Ie,"fontKey"),type:Ji[Ie.localName]}}class ln extends Qa{parseXml(P){this.fonts=La(P,this._package.xmlParser)}}function gn(Ie){return Ie==null?void 0:Ie.replace(/[ .]+/g,"-").replace(/[&]+/g,"and").toLowerCase()}function cn(Ie){let P=Ie.lastIndexOf("/")+1,L=P==0?"":Ie.substring(0,P),V=P==0?Ie:Ie.substring(P);return[L,V]}function Dn(Ie,P){try{const L="http://docx/";return new URL(Ie,L+P).toString().substring(L.length)}catch{return`${P}${Ie}`}}function xn(Ie,P){return Ie.reduce((L,V)=>(L[P(V)]=V,L),{})}function Wn(Ie){return new Promise((P,L)=>{const V=new FileReader;V.onloadend=()=>P(V.result),V.onerror=()=>L(),V.readAsDataURL(Ie)})}function Vi(Ie){return Ie&&typeof Ie=="object"&&!Array.isArray(Ie)}function uo(Ie){return typeof Ie=="string"||Ie instanceof String}function tn(Ie,...P){var L;if(!P.length)return Ie;const V=P.shift();if(Vi(Ie)&&Vi(V))for(const ne in V)if(Vi(V[ne])){const fe=(L=Ie[ne])!=null?L:Ie[ne]={};tn(fe,V[ne])}else Ie[ne]=V[ne];return tn(Ie,...P)}function xr(Ie){return Array.isArray(Ie)?Ie:[Ie]}class Ei{constructor(P,L){this._zip=P,this.options=L,this.xmlParser=new co}get(P){var L;const V=Ni(P);return(L=this._zip.files[V])!=null?L:this._zip.files[V.replace(/\//g,"\\")]}update(P,L){this._zip.file(P,L)}static load(P,L){return yr(this,null,function*(){const V=yield Et.loadAsync(P);return new Ei(V,L)})}save(P="blob"){return this._zip.generateAsync({type:P})}load(P,L="string"){var V,ne;return(ne=(V=this.get(P))==null?void 0:V.async(L))!=null?ne:Promise.resolve(null)}loadRelationships(P=null){return yr(this,null,function*(){let L="_rels/.rels";if(P!=null){const[ne,fe]=cn(P);L=`${ne}_rels/${fe}.rels`}const V=yield this.load(L);return V?nr(this.parseXmlDocument(V).firstElementChild,this.xmlParser):null})}parseXmlDocument(P){return Ui(P,this.options.trimXmlDeclaration)}}function Ni(Ie){return Ie.startsWith("/")?Ie.substr(1):Ie}class ji extends Qa{constructor(P,L,V){super(P,L),this._documentParser=V}parseXml(P){this.body=this._documentParser.parseDocumentFile(P)}}function wa(Ie,P){return{type:P.attr(Ie,"val"),color:P.attr(Ie,"color"),size:P.lengthAttr(Ie,"sz",zt.Border),offset:P.lengthAttr(Ie,"space",zt.Point),frame:P.boolAttr(Ie,"frame"),shadow:P.boolAttr(Ie,"shadow")}}function Oa(Ie,P){var L={};for(let V of P.elements(Ie))switch(V.localName){case"left":L.left=wa(V,P);break;case"top":L.top=wa(V,P);break;case"right":L.right=wa(V,P);break;case"bottom":L.bottom=wa(V,P);break}return L}var Ja;(function(Ie){Ie.Continuous="continuous",Ie.NextPage="nextPage",Ie.NextColumn="nextColumn",Ie.EvenPage="evenPage",Ie.OddPage="oddPage"})(Ja||(Ja={}));function lo(Ie,P=kt){var L,V,ne={};for(let fe of P.elements(Ie))switch(fe.localName){case"pgSz":ne.pageSize={width:P.lengthAttr(fe,"w"),height:P.lengthAttr(fe,"h"),orientation:P.attr(fe,"orient")};break;case"type":ne.type=P.attr(fe,"val");break;case"pgMar":ne.pageMargins={left:P.lengthAttr(fe,"left"),right:P.lengthAttr(fe,"right"),top:P.lengthAttr(fe,"top"),bottom:P.lengthAttr(fe,"bottom"),header:P.lengthAttr(fe,"header"),footer:P.lengthAttr(fe,"footer"),gutter:P.lengthAttr(fe,"gutter")};break;case"cols":ne.columns=Go(fe,P);break;case"headerReference":((L=ne.headerRefs)!=null?L:ne.headerRefs=[]).push(zs(fe,P));break;case"footerReference":((V=ne.footerRefs)!=null?V:ne.footerRefs=[]).push(zs(fe,P));break;case"titlePg":ne.titlePage=P.boolAttr(fe,"val",!0);break;case"pgBorders":ne.pageBorders=Oa(fe,P);break;case"pgNumType":ne.pageNumber=Sc(fe,P);break}return ne}function Go(Ie,P){return{numberOfColumns:P.intAttr(Ie,"num"),space:P.lengthAttr(Ie,"space"),separator:P.boolAttr(Ie,"sep"),equalWidth:P.boolAttr(Ie,"equalWidth",!0),columns:P.elements(Ie,"col").map(L=>({width:P.lengthAttr(L,"w"),space:P.lengthAttr(L,"space")}))}}function Sc(Ie,P){return{chapSep:P.attr(Ie,"chapSep"),chapStyle:P.attr(Ie,"chapStyle"),format:P.attr(Ie,"fmt"),start:P.intAttr(Ie,"start")}}function zs(Ie,P){return{id:P.attr(Ie,"id"),type:P.attr(Ie,"type")}}function Vs(Ie,P){return{before:P.lengthAttr(Ie,"before"),after:P.lengthAttr(Ie,"after"),line:P.intAttr(Ie,"line"),lineRule:P.attr(Ie,"lineRule")}}function So(Ie,P){let L={};for(let V of P.elements(Ie))Rs(V,L,P);return L}function Rs(Ie,P,L){return!!un(Ie,P,L)}function Or(Ie,P){let L={};for(let V of P.elements(Ie))$r(V,L,P);return L}function $r(Ie,P,L){if(Ie.namespaceURI!=Nr.wordml)return!1;if(un(Ie,P,L))return!0;switch(Ie.localName){case"tabs":P.tabs=jn(Ie,L);break;case"sectPr":P.sectionProps=lo(Ie,L);break;case"numPr":P.numbering=gi(Ie,L);break;case"spacing":return P.lineSpacing=Vs(Ie,L),!1;case"textAlignment":return P.textAlignment=L.attr(Ie,"val"),!1;case"keepLines":P.keepLines=L.boolAttr(Ie,"val",!0);break;case"keepNext":P.keepNext=L.boolAttr(Ie,"val",!0);break;case"pageBreakBefore":P.pageBreakBefore=L.boolAttr(Ie,"val",!0);break;case"outlineLvl":P.outlineLevel=L.intAttr(Ie,"val");break;case"pStyle":P.styleName=L.attr(Ie,"val");break;case"rPr":P.runProps=So(Ie,L);break;default:return!1}return!0}function jn(Ie,P){return P.elements(Ie,"tab").map(L=>({position:P.lengthAttr(L,"pos"),leader:P.attr(L,"leader"),style:P.attr(L,"val")}))}function gi(Ie,P){var L={};for(let V of P.elements(Ie))switch(V.localName){case"numId":L.id=P.attr(V,"val");break;case"ilvl":L.level=P.intAttr(V,"val");break}return L}function da(Ie,P){let L={numberings:[],abstractNumberings:[],bulletPictures:[]};for(let V of P.elements(Ie))switch(V.localName){case"num":L.numberings.push(Sr(V,P));break;case"abstractNum":L.abstractNumberings.push(br(V,P));break;case"numPicBullet":L.bulletPictures.push(ei(V,P));break}return L}function Sr(Ie,P){let L={id:P.attr(Ie,"numId"),overrides:[]};for(let V of P.elements(Ie))switch(V.localName){case"abstractNumId":L.abstractId=P.attr(V,"val");break;case"lvlOverride":L.overrides.push(Ai(V,P));break}return L}function br(Ie,P){let L={id:P.attr(Ie,"abstractNumId"),levels:[]};for(let V of P.elements(Ie))switch(V.localName){case"name":L.name=P.attr(V,"val");break;case"multiLevelType":L.multiLevelType=P.attr(V,"val");break;case"numStyleLink":L.numberingStyleLink=P.attr(V,"val");break;case"styleLink":L.styleLink=P.attr(V,"val");break;case"lvl":L.levels.push(Ln(V,P));break}return L}function Ln(Ie,P){let L={level:P.intAttr(Ie,"ilvl")};for(let V of P.elements(Ie))switch(V.localName){case"start":L.start=P.attr(V,"val");break;case"lvlRestart":L.restart=P.intAttr(V,"val");break;case"numFmt":L.format=P.attr(V,"val");break;case"lvlText":L.text=P.attr(V,"val");break;case"lvlJc":L.justification=P.attr(V,"val");break;case"lvlPicBulletId":L.bulletPictureId=P.attr(V,"val");break;case"pStyle":L.paragraphStyle=P.attr(V,"val");break;case"pPr":L.paragraphProps=Or(V,P);break;case"rPr":L.runProps=So(V,P);break}return L}function Ai(Ie,P){let L={level:P.intAttr(Ie,"ilvl")};for(let V of P.elements(Ie))switch(V.localName){case"startOverride":L.start=P.intAttr(V,"val");break;case"lvl":L.numberingLevel=Ln(V,P);break}return L}function ei(Ie,P){var L=P.element(Ie,"pict"),V=L&&P.element(L,"shape"),ne=V&&P.element(V,"imagedata");return ne?{id:P.attr(Ie,"numPicBulletId"),referenceId:P.attr(ne,"id"),style:P.attr(V,"style")}:null}class Li extends Qa{constructor(P,L,V){super(P,L),this._documentParser=V}parseXml(P){Object.assign(this,da(P,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(P)}}class lr extends Qa{constructor(P,L,V){super(P,L),this._documentParser=V}parseXml(P){this.styles=this._documentParser.parseStylesFile(P)}}var Lt;(function(Ie){Ie.Document="document",Ie.Paragraph="paragraph",Ie.Run="run",Ie.Break="break",Ie.NoBreakHyphen="noBreakHyphen",Ie.Table="table",Ie.Row="row",Ie.Cell="cell",Ie.Hyperlink="hyperlink",Ie.SmartTag="smartTag",Ie.Drawing="drawing",Ie.Image="image",Ie.Text="text",Ie.Tab="tab",Ie.Symbol="symbol",Ie.BookmarkStart="bookmarkStart",Ie.BookmarkEnd="bookmarkEnd",Ie.Footer="footer",Ie.Header="header",Ie.FootnoteReference="footnoteReference",Ie.EndnoteReference="endnoteReference",Ie.Footnote="footnote",Ie.Endnote="endnote",Ie.SimpleField="simpleField",Ie.ComplexField="complexField",Ie.Instruction="instruction",Ie.VmlPicture="vmlPicture",Ie.MmlMath="mmlMath",Ie.MmlMathParagraph="mmlMathParagraph",Ie.MmlFraction="mmlFraction",Ie.MmlFunction="mmlFunction",Ie.MmlFunctionName="mmlFunctionName",Ie.MmlNumerator="mmlNumerator",Ie.MmlDenominator="mmlDenominator",Ie.MmlRadical="mmlRadical",Ie.MmlBase="mmlBase",Ie.MmlDegree="mmlDegree",Ie.MmlSuperscript="mmlSuperscript",Ie.MmlSubscript="mmlSubscript",Ie.MmlPreSubSuper="mmlPreSubSuper",Ie.MmlSubArgument="mmlSubArgument",Ie.MmlSuperArgument="mmlSuperArgument",Ie.MmlNary="mmlNary",Ie.MmlDelimiter="mmlDelimiter",Ie.MmlRun="mmlRun",Ie.MmlEquationArray="mmlEquationArray",Ie.MmlLimit="mmlLimit",Ie.MmlLimitLower="mmlLimitLower",Ie.MmlMatrix="mmlMatrix",Ie.MmlMatrixRow="mmlMatrixRow",Ie.MmlBox="mmlBox",Ie.MmlBar="mmlBar",Ie.MmlGroupChar="mmlGroupChar",Ie.VmlElement="vmlElement",Ie.Inserted="inserted",Ie.Deleted="deleted",Ie.DeletedText="deletedText",Ie.Comment="comment",Ie.CommentReference="commentReference",Ie.CommentRangeStart="commentRangeStart",Ie.CommentRangeEnd="commentRangeEnd"})(Lt||(Lt={}));class ro{constructor(){this.children=[],this.cssStyle={}}}class Is extends ro{constructor(){super(...arguments),this.type=Lt.Header}}class Fs extends ro{constructor(){super(...arguments),this.type=Lt.Footer}}class Zc extends Qa{constructor(P,L,V){super(P,L),this._documentParser=V}parseXml(P){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(P)}}class Eu extends Zc{createRootElement(){return new Is}}class Xc extends Zc{createRootElement(){return new Fs}}function $c(Ie,P){const L={};for(let V of P.elements(Ie))switch(V.localName){case"Template":L.template=V.textContent;break;case"Pages":L.pages=_c(V.textContent);break;case"Words":L.words=_c(V.textContent);break;case"Characters":L.characters=_c(V.textContent);break;case"Application":L.application=V.textContent;break;case"Lines":L.lines=_c(V.textContent);break;case"Paragraphs":L.paragraphs=_c(V.textContent);break;case"Company":L.company=V.textContent;break;case"AppVersion":L.appVersion=V.textContent;break}return L}function _c(Ie){if(typeof Ie<"u")return parseInt(Ie)}class wu extends Qa{parseXml(P){this.props=$c(P,this._package.xmlParser)}}function Sn(Ie,P){const L={};for(let V of P.elements(Ie))switch(V.localName){case"title":L.title=V.textContent;break;case"description":L.description=V.textContent;break;case"subject":L.subject=V.textContent;break;case"creator":L.creator=V.textContent;break;case"keywords":L.keywords=V.textContent;break;case"language":L.language=V.textContent;break;case"lastModifiedBy":L.lastModifiedBy=V.textContent;break;case"revision":V.textContent&&(L.revision=parseInt(V.textContent));break}return L}class Zs extends Qa{parseXml(P){this.props=Sn(P,this._package.xmlParser)}}class ga{}function Bu(Ie,P){var L=new ga,V=P.element(Ie,"themeElements");for(let ne of P.elements(V))switch(ne.localName){case"clrScheme":L.colorScheme=Zu(ne,P);break;case"fontScheme":L.fontScheme=Ml(ne,P);break}return L}function Zu(Ie,P){var L={name:P.attr(Ie,"name"),colors:{}};for(let fe of P.elements(Ie)){var V=P.element(fe,"srgbClr"),ne=P.element(fe,"sysClr");V?L.colors[fe.localName]=P.attr(V,"val"):ne&&(L.colors[fe.localName]=P.attr(ne,"lastClr"))}return L}function Ml(Ie,P){var L={name:P.attr(Ie,"name")};for(let V of P.elements(Ie))switch(V.localName){case"majorFont":L.majorFont=Ac(V,P);break;case"minorFont":L.minorFont=Ac(V,P);break}return L}function Ac(Ie,P){return{latinTypeface:P.elementAttr(Ie,"latin","typeface"),eaTypeface:P.elementAttr(Ie,"ea","typeface"),csTypeface:P.elementAttr(Ie,"cs","typeface")}}class sa extends Qa{constructor(P,L){super(P,L)}parseXml(P){this.theme=Bu(P,this._package.xmlParser)}}class qa{}class Ao extends qa{constructor(){super(...arguments),this.type=Lt.Footnote}}class xA extends qa{constructor(){super(...arguments),this.type=Lt.Endnote}}class Vo extends Qa{constructor(P,L,V){super(P,L),this._documentParser=V}}class Xu extends Vo{constructor(P,L,V){super(P,L,V)}parseXml(P){this.notes=this._documentParser.parseNotes(P,"footnote",Ao)}}class Gf extends Vo{constructor(P,L,V){super(P,L,V)}parseXml(P){this.notes=this._documentParser.parseNotes(P,"endnote",xA)}}function Mt(Ie,P){var L={};for(let V of P.elements(Ie))switch(V.localName){case"defaultTabStop":L.defaultTabStop=P.lengthAttr(V,"val");break;case"footnotePr":L.footnoteProps=di(V,P);break;case"endnotePr":L.endnoteProps=di(V,P);break;case"autoHyphenation":L.autoHyphenation=P.boolAttr(V,"val");break}return L}function di(Ie,P){var L={defaultNoteIds:[]};for(let V of P.elements(Ie))switch(V.localName){case"numFmt":L.nummeringFormat=P.attr(V,"val");break;case"footnote":case"endnote":L.defaultNoteIds.push(P.attr(V,"id"));break}return L}class Ur extends Qa{constructor(P,L){super(P,L)}parseXml(P){this.settings=Mt(P,this._package.xmlParser)}}function Bg(Ie,P){return P.elements(Ie,"property").map(L=>{const V=L.firstChild;return{formatId:P.attr(L,"fmtid"),name:P.attr(L,"name"),type:V.nodeName,value:V.textContent}})}class Uo extends Qa{parseXml(P){this.props=Bg(P,this._package.xmlParser)}}class Uf extends Qa{constructor(P,L,V){super(P,L),this._documentParser=V}parseXml(P){this.comments=this._documentParser.parseComments(P),this.commentMap=xn(this.comments,L=>L.id)}}class Dh extends Qa{constructor(P,L){super(P,L),this.comments=[]}parseXml(P){const L=this._package.xmlParser;for(let V of L.elements(P,"commentEx"))this.comments.push({paraId:L.attr(V,"paraId"),paraIdParent:L.attr(V,"paraIdParent"),done:L.boolAttr(V,"done")});this.commentMap=xn(this.comments,V=>V.paraId)}}const jf=[{type:qt.OfficeDocument,target:"word/document.xml"},{type:qt.ExtendedProperties,target:"docProps/app.xml"},{type:qt.CoreProperties,target:"docProps/core.xml"},{type:qt.CustomProperties,target:"docProps/custom.xml"}];class Rh{constructor(){this.parts=[],this.partsMap={}}static load(P,L,V){return yr(this,null,function*(){var ne=new Rh;return ne._options=V,ne._parser=L,ne._package=yield Ei.load(P,V),ne.rels=yield ne._package.loadRelationships(),yield Promise.all(jf.map(fe=>{var we;const Qe=(we=ne.rels.find(je=>je.type===fe.type))!=null?we:fe;return ne.loadRelationshipPart(Qe.target,Qe.type)})),ne})}save(P="blob"){return this._package.save(P)}loadRelationshipPart(P,L){return yr(this,null,function*(){var V;if(this.partsMap[P])return this.partsMap[P];if(!this._package.get(P))return null;let ne=null;switch(L){case qt.OfficeDocument:this.documentPart=ne=new ji(this._package,P,this._parser);break;case qt.FontTable:this.fontTablePart=ne=new ln(this._package,P);break;case qt.Numbering:this.numberingPart=ne=new Li(this._package,P,this._parser);break;case qt.Styles:this.stylesPart=ne=new lr(this._package,P,this._parser);break;case qt.Theme:this.themePart=ne=new sa(this._package,P);break;case qt.Footnotes:this.footnotesPart=ne=new Xu(this._package,P,this._parser);break;case qt.Endnotes:this.endnotesPart=ne=new Gf(this._package,P,this._parser);break;case qt.Footer:ne=new Xc(this._package,P,this._parser);break;case qt.Header:ne=new Eu(this._package,P,this._parser);break;case qt.CoreProperties:this.corePropsPart=ne=new Zs(this._package,P);break;case qt.ExtendedProperties:this.extendedPropsPart=ne=new wu(this._package,P);break;case qt.CustomProperties:ne=new Uo(this._package,P);break;case qt.Settings:this.settingsPart=ne=new Ur(this._package,P);break;case qt.Comments:this.commentsPart=ne=new Uf(this._package,P,this._parser);break;case qt.CommentsExtended:this.commentsExtendedPart=ne=new Dh(this._package,P);break}if(ne==null)return Promise.resolve(null);if(this.partsMap[P]=ne,this.parts.push(ne),yield ne.load(),((V=ne.rels)==null?void 0:V.length)>0){const[fe]=cn(ne.path);yield Promise.all(ne.rels.map(we=>this.loadRelationshipPart(Dn(we.target,fe),we.type)))}return ne})}loadDocumentImage(P,L){return yr(this,null,function*(){const V=yield this.loadResource(L??this.documentPart,P,"blob");return this.blobToURL(V)})}loadNumberingImage(P){return yr(this,null,function*(){const L=yield this.loadResource(this.numberingPart,P,"blob");return this.blobToURL(L)})}loadFont(P,L){return yr(this,null,function*(){const V=yield this.loadResource(this.fontTablePart,P,"uint8array");return V&&this.blobToURL(new Blob([SA(V,L)]))})}blobToURL(P){return P?this._options.useBase64URL?Wn(P):URL.createObjectURL(P):null}findPartByRelId(P,L=null){var V,ne=((V=L.rels)!=null?V:this.rels).find(we=>we.id==P);const fe=L?cn(L.path)[0]:"";return ne?this.partsMap[Dn(ne.target,fe)]:null}getPathById(P,L){const V=P.rels.find(fe=>fe.id==L),[ne]=cn(P.path);return V?Dn(V.target,ne):null}loadResource(P,L,V){const ne=this.getPathById(P,L);return ne?this._package.load(ne,V):Promise.resolve(null)}}function SA(Ie,P){const L=P.replace(/{|}|-/g,""),V=new Array(16);for(let ne=0;ne<16;ne++)V[16-ne-1]=parseInt(L.substr(ne*2,2),16);for(let ne=0;ne<32;ne++)Ie[ne]=Ie[ne]^V[ne%16];return Ie}function Qg(Ie,P){return{type:Lt.BookmarkStart,id:P.attr(Ie,"id"),name:P.attr(Ie,"name"),colFirst:P.intAttr(Ie,"colFirst"),colLast:P.intAttr(Ie,"colLast")}}function kg(Ie,P){return{type:Lt.BookmarkEnd,id:P.attr(Ie,"id")}}class xg extends ro{constructor(){super(...arguments),this.type=Lt.VmlElement,this.attrs={}}}function Fh(Ie,P){var L=new xg;switch(Ie.localName){case"rect":L.tagName="rect",Object.assign(L.attrs,{width:"100%",height:"100%"});break;case"oval":L.tagName="ellipse",Object.assign(L.attrs,{cx:"50%",cy:"50%",rx:"50%",ry:"50%"});break;case"line":L.tagName="line";break;case"shape":L.tagName="g";break;case"textbox":L.tagName="foreignObject",Object.assign(L.attrs,{width:"100%",height:"100%"});break;default:return null}for(const V of kt.attrs(Ie))switch(V.localName){case"style":L.cssStyleText=V.value;break;case"fillcolor":L.attrs.fill=V.value;break;case"from":const[ne,fe]=Yf(V.value);Object.assign(L.attrs,{x1:ne,y1:fe});break;case"to":const[we,Qe]=Yf(V.value);Object.assign(L.attrs,{x2:we,y2:Qe});break}for(const V of kt.elements(Ie))switch(V.localName){case"stroke":Object.assign(L.attrs,Hf(V));break;case"fill":Object.assign(L.attrs,Sg());break;case"imagedata":L.tagName="image",Object.assign(L.attrs,{width:"100%",height:"100%"}),L.imageHref={id:kt.attr(V,"id"),title:kt.attr(V,"title")};break;case"txbxContent":L.children.push(...P.parseBodyElements(V));break;default:const ne=Fh(V,P);ne&&L.children.push(ne);break}return L}function Hf(Ie){var P;return{stroke:kt.attr(Ie,"color"),"stroke-width":(P=kt.lengthAttr(Ie,"weight",zt.Emu))!=null?P:"1px"}}function Sg(Ie){return{}}function Yf(Ie){return Ie.split(",")}class _g extends ro{constructor(){super(...arguments),this.type=Lt.Comment}}class Dg extends ro{constructor(P){super(),this.id=P,this.type=Lt.CommentReference}}class Qu extends ro{constructor(P){super(),this.id=P,this.type=Lt.CommentRangeStart}}class _A extends ro{constructor(P){super(),this.id=P,this.type=Lt.CommentRangeEnd}}var $u={shd:"inherit",color:"black",borderColor:"black",highlight:"transparent"};const hi=[],ku={oMath:Lt.MmlMath,oMathPara:Lt.MmlMathParagraph,f:Lt.MmlFraction,func:Lt.MmlFunction,fName:Lt.MmlFunctionName,num:Lt.MmlNumerator,den:Lt.MmlDenominator,rad:Lt.MmlRadical,deg:Lt.MmlDegree,e:Lt.MmlBase,sSup:Lt.MmlSuperscript,sSub:Lt.MmlSubscript,sPre:Lt.MmlPreSubSuper,sup:Lt.MmlSuperArgument,sub:Lt.MmlSubArgument,d:Lt.MmlDelimiter,nary:Lt.MmlNary,eqArr:Lt.MmlEquationArray,lim:Lt.MmlLimit,limLow:Lt.MmlLimitLower,m:Lt.MmlMatrix,mr:Lt.MmlMatrixRow,box:Lt.MmlBox,bar:Lt.MmlBar,groupChr:Lt.MmlGroupChar};class Rg{constructor(P){this.options=Tt({ignoreWidth:!1,debug:!1},P)}parseNotes(P,L,V){var ne=[];for(let fe of kt.elements(P,L)){const we=new V;we.id=kt.attr(fe,"id"),we.noteType=kt.attr(fe,"type"),we.children=this.parseBodyElements(fe),ne.push(we)}return ne}parseComments(P){var L=[];for(let V of kt.elements(P,"comment")){const ne=new _g;ne.id=kt.attr(V,"id"),ne.author=kt.attr(V,"author"),ne.initials=kt.attr(V,"initials"),ne.date=kt.attr(V,"date"),ne.children=this.parseBodyElements(V),L.push(ne)}return L}parseDocumentFile(P){var L=kt.element(P,"body"),V=kt.element(P,"background"),ne=kt.element(L,"sectPr");return{type:Lt.Document,children:this.parseBodyElements(L),props:ne?lo(ne,kt):{},cssStyle:V?this.parseBackground(V):{}}}parseBackground(P){var L={},V=Ba.colorAttr(P,"color");return V&&(L["background-color"]=V),L}parseBodyElements(P){var L=[];for(let V of kt.elements(P))switch(V.localName){case"p":L.push(this.parseParagraph(V));break;case"tbl":L.push(this.parseTable(V));break;case"sdt":L.push(...this.parseSdt(V,ne=>this.parseBodyElements(ne)));break}return L}parseStylesFile(P){var L=[];return Ba.foreach(P,V=>{switch(V.localName){case"style":L.push(this.parseStyle(V));break;case"docDefaults":L.push(this.parseDefaultStyles(V));break}}),L}parseDefaultStyles(P){var L={id:null,name:null,target:null,basedOn:null,styles:[]};return Ba.foreach(P,V=>{switch(V.localName){case"rPrDefault":var ne=kt.element(V,"rPr");ne&&L.styles.push({target:"span",values:this.parseDefaultProperties(ne,{})});break;case"pPrDefault":var fe=kt.element(V,"pPr");fe&&L.styles.push({target:"p",values:this.parseDefaultProperties(fe,{})});break}}),L}parseStyle(P){var L={id:kt.attr(P,"styleId"),isDefault:kt.boolAttr(P,"default"),name:null,target:null,basedOn:null,styles:[],linked:null};switch(kt.attr(P,"type")){case"paragraph":L.target="p";break;case"table":L.target="table";break;case"character":L.target="span";break}return Ba.foreach(P,V=>{switch(V.localName){case"basedOn":L.basedOn=kt.attr(V,"val");break;case"name":L.name=kt.attr(V,"val");break;case"link":L.linked=kt.attr(V,"val");break;case"next":L.next=kt.attr(V,"val");break;case"aliases":L.aliases=kt.attr(V,"val").split(",");break;case"pPr":L.styles.push({target:"p",values:this.parseDefaultProperties(V,{})}),L.paragraphProps=Or(V,kt);break;case"rPr":L.styles.push({target:"span",values:this.parseDefaultProperties(V,{})}),L.runProps=So(V,kt);break;case"tblPr":case"tcPr":L.styles.push({target:"td",values:this.parseDefaultProperties(V,{})});break;case"tblStylePr":for(let ne of this.parseTableStyle(V))L.styles.push(ne);break;case"rsid":case"qFormat":case"hidden":case"semiHidden":case"unhideWhenUsed":case"autoRedefine":case"uiPriority":break;default:this.options.debug&&console.warn(`DOCX: Unknown style element: ${V.localName}`)}}),L}parseTableStyle(P){var L=[],V=kt.attr(P,"type"),ne="",fe="";switch(V){case"firstRow":fe=".first-row",ne="tr.first-row td";break;case"lastRow":fe=".last-row",ne="tr.last-row td";break;case"firstCol":fe=".first-col",ne="td.first-col";break;case"lastCol":fe=".last-col",ne="td.last-col";break;case"band1Vert":fe=":not(.no-vband)",ne="td.odd-col";break;case"band2Vert":fe=":not(.no-vband)",ne="td.even-col";break;case"band1Horz":fe=":not(.no-hband)",ne="tr.odd-row";break;case"band2Horz":fe=":not(.no-hband)",ne="tr.even-row";break;default:return[]}return Ba.foreach(P,we=>{switch(we.localName){case"pPr":L.push({target:`${ne} p`,mod:fe,values:this.parseDefaultProperties(we,{})});break;case"rPr":L.push({target:`${ne} span`,mod:fe,values:this.parseDefaultProperties(we,{})});break;case"tblPr":case"tcPr":L.push({target:ne,mod:fe,values:this.parseDefaultProperties(we,{})});break}}),L}parseNumberingFile(P){var L=[],V={},ne=[];return Ba.foreach(P,fe=>{switch(fe.localName){case"abstractNum":this.parseAbstractNumbering(fe,ne).forEach(je=>L.push(je));break;case"numPicBullet":ne.push(this.parseNumberingPicBullet(fe));break;case"num":var we=kt.attr(fe,"numId"),Qe=kt.elementAttr(fe,"abstractNumId","val");V[Qe]=we;break}}),L.forEach(fe=>fe.id=V[fe.id]),L}parseNumberingPicBullet(P){var L=kt.element(P,"pict"),V=L&&kt.element(L,"shape"),ne=V&&kt.element(V,"imagedata");return ne?{id:kt.intAttr(P,"numPicBulletId"),src:kt.attr(ne,"id"),style:kt.attr(V,"style")}:null}parseAbstractNumbering(P,L){var V=[],ne=kt.attr(P,"abstractNumId");return Ba.foreach(P,fe=>{switch(fe.localName){case"lvl":V.push(this.parseNumberingLevel(ne,fe,L));break}}),V}parseNumberingLevel(P,L,V){var ne={id:P,level:kt.intAttr(L,"ilvl"),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:"tab"};return Ba.foreach(L,fe=>{switch(fe.localName){case"start":ne.start=kt.intAttr(fe,"val");break;case"pPr":this.parseDefaultProperties(fe,ne.pStyle);break;case"rPr":this.parseDefaultProperties(fe,ne.rStyle);break;case"lvlPicBulletId":var we=kt.intAttr(fe,"val");ne.bullet=V.find(Qe=>(Qe==null?void 0:Qe.id)==we);break;case"lvlText":ne.levelText=kt.attr(fe,"val");break;case"pStyle":ne.pStyleName=kt.attr(fe,"val");break;case"numFmt":ne.format=kt.attr(fe,"val");break;case"suff":ne.suff=kt.attr(fe,"val");break}}),ne}parseSdt(P,L){const V=kt.element(P,"sdtContent");return V?L(V):[]}parseInserted(P,L){var V,ne;return{type:Lt.Inserted,children:(ne=(V=L(P))==null?void 0:V.children)!=null?ne:[]}}parseDeleted(P,L){var V,ne;return{type:Lt.Deleted,children:(ne=(V=L(P))==null?void 0:V.children)!=null?ne:[]}}parseParagraph(P){var L={type:Lt.Paragraph,children:[]};for(let V of kt.elements(P))switch(V.localName){case"pPr":this.parseParagraphProperties(V,L);break;case"r":L.children.push(this.parseRun(V,L));break;case"hyperlink":L.children.push(this.parseHyperlink(V,L));break;case"smartTag":L.children.push(this.parseSmartTag(V,L));break;case"bookmarkStart":L.children.push(Qg(V,kt));break;case"bookmarkEnd":L.children.push(kg(V,kt));break;case"commentRangeStart":L.children.push(new Qu(kt.attr(V,"id")));break;case"commentRangeEnd":L.children.push(new _A(kt.attr(V,"id")));break;case"oMath":case"oMathPara":L.children.push(this.parseMathElement(V));break;case"sdt":L.children.push(...this.parseSdt(V,ne=>this.parseParagraph(ne).children));break;case"ins":L.children.push(this.parseInserted(V,ne=>this.parseParagraph(ne)));break;case"del":L.children.push(this.parseDeleted(V,ne=>this.parseParagraph(ne)));break}return L}parseParagraphProperties(P,L){this.parseDefaultProperties(P,L.cssStyle={},null,V=>{if($r(V,L,kt))return!0;switch(V.localName){case"pStyle":L.styleName=kt.attr(V,"val");break;case"cnfStyle":L.className=pa.classNameOfCnfStyle(V);break;case"framePr":this.parseFrame(V,L);break;case"rPr":break;default:return!1}return!0})}parseFrame(P,L){var V=kt.attr(P,"dropCap");V=="drop"&&(L.cssStyle.float="left")}parseHyperlink(P,L){var V={type:Lt.Hyperlink,parent:L,children:[]},ne=kt.attr(P,"anchor"),fe=kt.attr(P,"id");return ne&&(V.href="#"+ne),fe&&(V.id=fe),Ba.foreach(P,we=>{switch(we.localName){case"r":V.children.push(this.parseRun(we,V));break}}),V}parseSmartTag(P,L){var V={type:Lt.SmartTag,parent:L,children:[]},ne=kt.attr(P,"uri"),fe=kt.attr(P,"element");return ne&&(V.uri=ne),fe&&(V.element=fe),Ba.foreach(P,we=>{switch(we.localName){case"r":V.children.push(this.parseRun(we,V));break}}),V}parseRun(P,L){var V={type:Lt.Run,parent:L,children:[]};return Ba.foreach(P,ne=>{switch(ne=this.checkAlternateContent(ne),ne.localName){case"t":V.children.push({type:Lt.Text,text:ne.textContent});break;case"delText":V.children.push({type:Lt.DeletedText,text:ne.textContent});break;case"commentReference":V.children.push(new Dg(kt.attr(ne,"id")));break;case"fldSimple":V.children.push({type:Lt.SimpleField,instruction:kt.attr(ne,"instr"),lock:kt.boolAttr(ne,"lock",!1),dirty:kt.boolAttr(ne,"dirty",!1)});break;case"instrText":V.fieldRun=!0,V.children.push({type:Lt.Instruction,text:ne.textContent});break;case"fldChar":V.fieldRun=!0,V.children.push({type:Lt.ComplexField,charType:kt.attr(ne,"fldCharType"),lock:kt.boolAttr(ne,"lock",!1),dirty:kt.boolAttr(ne,"dirty",!1)});break;case"noBreakHyphen":V.children.push({type:Lt.NoBreakHyphen});break;case"br":V.children.push({type:Lt.Break,break:kt.attr(ne,"type")||"textWrapping"});break;case"lastRenderedPageBreak":V.children.push({type:Lt.Break,break:"lastRenderedPageBreak"});break;case"sym":V.children.push({type:Lt.Symbol,font:kt.attr(ne,"font"),char:kt.attr(ne,"char")});break;case"tab":V.children.push({type:Lt.Tab});break;case"footnoteReference":V.children.push({type:Lt.FootnoteReference,id:kt.attr(ne,"id")});break;case"endnoteReference":V.children.push({type:Lt.EndnoteReference,id:kt.attr(ne,"id")});break;case"drawing":let fe=this.parseDrawing(ne);fe&&(V.children=[fe]);break;case"pict":V.children.push(this.parseVmlPicture(ne));break;case"rPr":this.parseRunProperties(ne,V);break}}),V}parseMathElement(P){const L=`${P.localName}Pr`,V={type:ku[P.localName],children:[]};for(const fe of kt.elements(P))if(ku[fe.localName])V.children.push(this.parseMathElement(fe));else if(fe.localName=="r"){var ne=this.parseRun(fe);ne.type=Lt.MmlRun,V.children.push(ne)}else fe.localName==L&&(V.props=this.parseMathProperies(fe));return V}parseMathProperies(P){const L={};for(const V of kt.elements(P))switch(V.localName){case"chr":L.char=kt.attr(V,"val");break;case"vertJc":L.verticalJustification=kt.attr(V,"val");break;case"pos":L.position=kt.attr(V,"val");break;case"degHide":L.hideDegree=kt.boolAttr(V,"val");break;case"begChr":L.beginChar=kt.attr(V,"val");break;case"endChr":L.endChar=kt.attr(V,"val");break}return L}parseRunProperties(P,L){this.parseDefaultProperties(P,L.cssStyle={},null,V=>{switch(V.localName){case"rStyle":L.styleName=kt.attr(V,"val");break;case"vertAlign":L.verticalAlign=pa.valueOfVertAlign(V,!0);break;default:return!1}return!0})}parseVmlPicture(P){const L={type:Lt.VmlPicture,children:[]};for(const V of kt.elements(P)){const ne=Fh(V,this);ne&&L.children.push(ne)}return L}checkAlternateContent(P){var L;if(P.localName!="AlternateContent")return P;var V=kt.element(P,"Choice");if(V){var ne=kt.attr(V,"Requires"),fe=P.lookupNamespaceURI(ne);if(hi.includes(fe))return V.firstElementChild}return(L=kt.element(P,"Fallback"))==null?void 0:L.firstElementChild}parseDrawing(P){for(var L of kt.elements(P))switch(L.localName){case"inline":case"anchor":return this.parseDrawingWrapper(L)}}parseDrawingWrapper(P){var L,V={type:Lt.Drawing,children:[],cssStyle:{}},ne=P.localName=="anchor";let fe=null,we=kt.boolAttr(P,"simplePos");kt.boolAttr(P,"behindDoc");let Qe={relative:"page",align:"left",offset:"0"},je={relative:"page",align:"top",offset:"0"};for(var rt of kt.elements(P))switch(rt.localName){case"simplePos":we&&(Qe.offset=kt.lengthAttr(rt,"x",zt.Emu),je.offset=kt.lengthAttr(rt,"y",zt.Emu));break;case"extent":V.cssStyle.width=kt.lengthAttr(rt,"cx",zt.Emu),V.cssStyle.height=kt.lengthAttr(rt,"cy",zt.Emu);break;case"positionH":case"positionV":if(!we){let We=rt.localName=="positionH"?Qe:je;var gt=kt.element(rt,"align"),vt=kt.element(rt,"posOffset");We.relative=(L=kt.attr(rt,"relativeFrom"))!=null?L:We.relative,gt&&(We.align=gt.textContent),vt&&(We.offset=Ba.sizeValue(vt,zt.Emu))}break;case"wrapTopAndBottom":fe="wrapTopAndBottom";break;case"wrapNone":fe="wrapNone";break;case"graphic":var mt=this.parseGraphic(rt);mt&&V.children.push(mt);break}return fe=="wrapTopAndBottom"?(V.cssStyle.display="block",Qe.align&&(V.cssStyle["text-align"]=Qe.align,V.cssStyle.width="100%")):fe=="wrapNone"?(V.cssStyle.display="block",V.cssStyle.position="relative",V.cssStyle.width="0px",V.cssStyle.height="0px",Qe.offset&&(V.cssStyle.left=Qe.offset),je.offset&&(V.cssStyle.top=je.offset)):ne&&(Qe.align=="left"||Qe.align=="right")&&(V.cssStyle.float=Qe.align),V}parseGraphic(P){var L=kt.element(P,"graphicData");for(let V of kt.elements(L))switch(V.localName){case"pic":return this.parsePicture(V)}return null}parsePicture(P){var L={type:Lt.Image,src:"",cssStyle:{}},V=kt.element(P,"blipFill"),ne=kt.element(V,"blip");L.src=kt.attr(ne,"embed");var fe=kt.element(P,"spPr"),we=kt.element(fe,"xfrm");L.cssStyle.position="relative";for(var Qe of kt.elements(we))switch(Qe.localName){case"ext":L.cssStyle.width=kt.lengthAttr(Qe,"cx",zt.Emu),L.cssStyle.height=kt.lengthAttr(Qe,"cy",zt.Emu);break;case"off":L.cssStyle.left=kt.lengthAttr(Qe,"x",zt.Emu),L.cssStyle.top=kt.lengthAttr(Qe,"y",zt.Emu);break}return L}parseTable(P){var L={type:Lt.Table,children:[]};return Ba.foreach(P,V=>{switch(V.localName){case"tr":L.children.push(this.parseTableRow(V));break;case"tblGrid":L.columns=this.parseTableColumns(V);break;case"tblPr":this.parseTableProperties(V,L);break}}),L}parseTableColumns(P){var L=[];return Ba.foreach(P,V=>{switch(V.localName){case"gridCol":L.push({width:kt.lengthAttr(V,"w")});break}}),L}parseTableProperties(P,L){switch(L.cssStyle={},L.cellStyle={},this.parseDefaultProperties(P,L.cssStyle,L.cellStyle,V=>{switch(V.localName){case"tblStyle":L.styleName=kt.attr(V,"val");break;case"tblLook":L.className=pa.classNameOftblLook(V);break;case"tblpPr":this.parseTablePosition(V,L);break;case"tblStyleColBandSize":L.colBandSize=kt.intAttr(V,"val");break;case"tblStyleRowBandSize":L.rowBandSize=kt.intAttr(V,"val");break;default:return!1}return!0}),L.cssStyle["text-align"]){case"center":delete L.cssStyle["text-align"],L.cssStyle["margin-left"]="auto",L.cssStyle["margin-right"]="auto";break;case"right":delete L.cssStyle["text-align"],L.cssStyle["margin-left"]="auto";break}}parseTablePosition(P,L){var V=kt.lengthAttr(P,"topFromText"),ne=kt.lengthAttr(P,"bottomFromText"),fe=kt.lengthAttr(P,"rightFromText"),we=kt.lengthAttr(P,"leftFromText");L.cssStyle.float="left",L.cssStyle["margin-bottom"]=pa.addSize(L.cssStyle["margin-bottom"],ne),L.cssStyle["margin-left"]=pa.addSize(L.cssStyle["margin-left"],we),L.cssStyle["margin-right"]=pa.addSize(L.cssStyle["margin-right"],fe),L.cssStyle["margin-top"]=pa.addSize(L.cssStyle["margin-top"],V)}parseTableRow(P){var L={type:Lt.Row,children:[]};return Ba.foreach(P,V=>{switch(V.localName){case"tc":L.children.push(this.parseTableCell(V));break;case"trPr":this.parseTableRowProperties(V,L);break}}),L}parseTableRowProperties(P,L){L.cssStyle=this.parseDefaultProperties(P,{},null,V=>{switch(V.localName){case"cnfStyle":L.className=pa.classNameOfCnfStyle(V);break;case"tblHeader":L.isHeader=kt.boolAttr(V,"val");break;default:return!1}return!0})}parseTableCell(P){var L={type:Lt.Cell,children:[]};return Ba.foreach(P,V=>{switch(V.localName){case"tbl":L.children.push(this.parseTable(V));break;case"p":L.children.push(this.parseParagraph(V));break;case"tcPr":this.parseTableCellProperties(V,L);break}}),L}parseTableCellProperties(P,L){L.cssStyle=this.parseDefaultProperties(P,{},null,V=>{var ne;switch(V.localName){case"gridSpan":L.span=kt.intAttr(V,"val",null);break;case"vMerge":L.verticalMerge=(ne=kt.attr(V,"val"))!=null?ne:"continue";break;case"cnfStyle":L.className=pa.classNameOfCnfStyle(V);break;default:return!1}return!0})}parseDefaultProperties(P,L=null,V=null,ne=null){return L=L||{},Ba.foreach(P,fe=>{if(!(ne!=null&&ne(fe)))switch(fe.localName){case"jc":L["text-align"]=pa.valueOfJc(fe);break;case"textAlignment":L["vertical-align"]=pa.valueOfTextAlignment(fe);break;case"color":L.color=Ba.colorAttr(fe,"val",null,$u.color);break;case"sz":L["font-size"]=L["min-height"]=kt.lengthAttr(fe,"val",zt.FontSize);break;case"shd":L["background-color"]=Ba.colorAttr(fe,"fill",null,$u.shd);break;case"highlight":L["background-color"]=Ba.colorAttr(fe,"val",null,$u.highlight);break;case"vertAlign":break;case"position":L.verticalAlign=kt.lengthAttr(fe,"val",zt.FontSize);break;case"tcW":if(this.options.ignoreWidth)break;case"tblW":L.width=pa.valueOfSize(fe,"w");break;case"trHeight":this.parseTrHeight(fe,L);break;case"strike":L["text-decoration"]=kt.boolAttr(fe,"val",!0)?"line-through":"none";break;case"b":L["font-weight"]=kt.boolAttr(fe,"val",!0)?"bold":"normal";break;case"i":L["font-style"]=kt.boolAttr(fe,"val",!0)?"italic":"normal";break;case"caps":L["text-transform"]=kt.boolAttr(fe,"val",!0)?"uppercase":"none";break;case"smallCaps":L["font-variant"]=kt.boolAttr(fe,"val",!0)?"small-caps":"none";break;case"u":this.parseUnderline(fe,L);break;case"ind":case"tblInd":this.parseIndentation(fe,L);break;case"rFonts":this.parseFont(fe,L);break;case"tblBorders":this.parseBorderProperties(fe,V||L);break;case"tblCellSpacing":L["border-spacing"]=pa.valueOfMargin(fe),L["border-collapse"]="separate";break;case"pBdr":this.parseBorderProperties(fe,L);break;case"bdr":L.border=pa.valueOfBorder(fe);break;case"tcBorders":this.parseBorderProperties(fe,L);break;case"vanish":kt.boolAttr(fe,"val",!0)&&(L.display="none");break;case"kern":break;case"noWrap":break;case"tblCellMar":case"tcMar":this.parseMarginProperties(fe,V||L);break;case"tblLayout":L["table-layout"]=pa.valueOfTblLayout(fe);break;case"vAlign":L["vertical-align"]=pa.valueOfTextAlignment(fe);break;case"spacing":P.localName=="pPr"&&this.parseSpacing(fe,L);break;case"wordWrap":kt.boolAttr(fe,"val")&&(L["overflow-wrap"]="break-word");break;case"suppressAutoHyphens":L.hyphens=kt.boolAttr(fe,"val",!0)?"none":"auto";break;case"lang":L.$lang=kt.attr(fe,"val");break;case"bCs":case"iCs":case"szCs":case"tabs":case"outlineLvl":case"contextualSpacing":case"tblStyleColBandSize":case"tblStyleRowBandSize":case"webHidden":case"pageBreakBefore":case"suppressLineNumbers":case"keepLines":case"keepNext":case"widowControl":case"bidi":case"rtl":case"noProof":break;default:this.options.debug&&console.warn(`DOCX: Unknown document element: ${P.localName}.${fe.localName}`);break}}),L}parseUnderline(P,L){var V=kt.attr(P,"val");if(V!=null){switch(V){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":L["text-decoration"]="underline dashed";break;case"dotted":case"dottedHeavy":L["text-decoration"]="underline dotted";break;case"double":L["text-decoration"]="underline double";break;case"single":case"thick":L["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":L["text-decoration"]="underline wavy";break;case"words":L["text-decoration"]="underline";break;case"none":L["text-decoration"]="none";break}var ne=Ba.colorAttr(P,"color");ne&&(L["text-decoration-color"]=ne)}}parseFont(P,L){var V=kt.attr(P,"ascii"),ne=pa.themeValue(P,"asciiTheme"),fe=[V,ne].filter(we=>we).join(", ");fe.length>0&&(L["font-family"]=fe)}parseIndentation(P,L){var V=kt.lengthAttr(P,"firstLine"),ne=kt.lengthAttr(P,"hanging"),fe=kt.lengthAttr(P,"left"),we=kt.lengthAttr(P,"start"),Qe=kt.lengthAttr(P,"right"),je=kt.lengthAttr(P,"end");V&&(L["text-indent"]=V),ne&&(L["text-indent"]=`-${ne}`),(fe||we)&&(L["margin-left"]=fe||we),(Qe||je)&&(L["margin-right"]=Qe||je)}parseSpacing(P,L){var V=kt.lengthAttr(P,"before"),ne=kt.lengthAttr(P,"after"),fe=kt.intAttr(P,"line",null),we=kt.attr(P,"lineRule");if(V&&(L["margin-top"]=V),ne&&(L["margin-bottom"]=ne),fe!==null)switch(we){case"auto":L["line-height"]=`${(fe/240).toFixed(2)}`;break;case"atLeast":L["line-height"]=`calc(100% + ${fe/20}pt)`;break;default:L["line-height"]=L["min-height"]=`${fe/20}pt`;break}}parseMarginProperties(P,L){Ba.foreach(P,V=>{switch(V.localName){case"left":L["padding-left"]=pa.valueOfMargin(V);break;case"right":L["padding-right"]=pa.valueOfMargin(V);break;case"top":L["padding-top"]=pa.valueOfMargin(V);break;case"bottom":L["padding-bottom"]=pa.valueOfMargin(V);break}})}parseTrHeight(P,L){switch(kt.attr(P,"hRule")){case"exact":L.height=kt.lengthAttr(P,"val");break;case"atLeast":default:L.height=kt.lengthAttr(P,"val");break}}parseBorderProperties(P,L){Ba.foreach(P,V=>{switch(V.localName){case"start":case"left":L["border-left"]=pa.valueOfBorder(V);break;case"end":case"right":L["border-right"]=pa.valueOfBorder(V);break;case"top":L["border-top"]=pa.valueOfBorder(V);break;case"bottom":L["border-bottom"]=pa.valueOfBorder(V);break}})}}const Jf=["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"];class Ba{static foreach(P,L){for(var V=0;V<P.childNodes.length;V++){let ne=P.childNodes[V];ne.nodeType==Node.ELEMENT_NODE&&L(ne)}}static colorAttr(P,L,V=null,ne="black"){var fe=kt.attr(P,L);if(fe)return fe=="auto"?ne:Jf.includes(fe)?fe:`#${fe}`;var we=kt.attr(P,"themeColor");return we?`var(--docx-${we}-color)`:V}static sizeValue(P,L=zt.Dxa){return Cr(P.textContent,L)}}class pa{static themeValue(P,L){var V=kt.attr(P,L);return V?`var(--docx-${V}-font)`:null}static valueOfSize(P,L){var V=zt.Dxa;switch(kt.attr(P,"type")){case"dxa":break;case"pct":V=zt.Percent;break;case"auto":return"auto"}return kt.lengthAttr(P,L,V)}static valueOfMargin(P){return kt.lengthAttr(P,"w")}static valueOfBorder(P){var L=kt.attr(P,"val");if(L=="nil")return"none";var V=Ba.colorAttr(P,"color"),ne=kt.lengthAttr(P,"sz",zt.Border);return`${ne} solid ${V=="auto"?$u.borderColor:V}`}static valueOfTblLayout(P){var L=kt.attr(P,"val");return L=="fixed"?"fixed":"auto"}static classNameOfCnfStyle(P){const L=kt.attr(P,"val");return["first-row","last-row","first-col","last-col","odd-col","even-col","odd-row","even-row","ne-cell","nw-cell","se-cell","sw-cell"].filter((V,ne)=>L[ne]=="1").join(" ")}static valueOfJc(P){var L=kt.attr(P,"val");switch(L){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":return"justify"}return L}static valueOfVertAlign(P,L=!1){var V=kt.attr(P,"val");switch(V){case"subscript":return"sub";case"superscript":return L?"sup":"super"}return L?null:V}static valueOfTextAlignment(P){var L=kt.attr(P,"val");switch(L){case"auto":case"baseline":return"baseline";case"top":return"top";case"center":return"middle";case"bottom":return"bottom"}return L}static addSize(P,L){return P==null?L:L==null?P:`calc(${P} + ${L})`}static classNameOftblLook(P){const L=kt.hexAttr(P,"val",0);let V="";return(kt.boolAttr(P,"firstRow")||L&32)&&(V+=" first-row"),(kt.boolAttr(P,"lastRow")||L&64)&&(V+=" last-row"),(kt.boolAttr(P,"firstColumn")||L&128)&&(V+=" first-col"),(kt.boolAttr(P,"lastColumn")||L&256)&&(V+=" last-col"),(kt.boolAttr(P,"noHBand")||L&512)&&(V+=" no-hband"),(kt.boolAttr(P,"noVBand")||L&1024)&&(V+=" no-vband"),V.trim()}}const DA={pos:0,leader:"none",style:"left"},Fg=50;function Ng(Ie=document.body){const P=document.createElement("div");P.style.width="100pt",Ie.appendChild(P);const L=100/P.offsetWidth;return Ie.removeChild(P),L}function Nh(Ie,P,L,V=72/96){const ne=Ie.closest("p"),fe=Ie.getBoundingClientRect(),we=ne.getBoundingClientRect(),Qe=getComputedStyle(ne),je=(P==null?void 0:P.length)>0?P.map(lt=>({pos:eu(lt.position),leader:lt.leader,style:lt.style})).sort((lt,Qt)=>lt.pos-Qt.pos):[DA],rt=je[je.length-1],gt=we.width*V,vt=eu(L);let mt=rt.pos+vt;if(mt<gt)for(;mt<gt&&je.length<Fg;mt+=vt)je.push(Fe(Tt({},DA),{pos:mt}));const We=parseFloat(Qe.marginLeft),ct=we.left+We,He=(fe.left-ct)*V,it=je.find(lt=>lt.style!="clear"&&lt.pos>He);if(it==null)return;let Xe=1;if(it.style=="right"||it.style=="center"){const lt=Array.from(ne.querySelectorAll(`.${Ie.className}`)),Qt=lt.indexOf(Ie)+1,Nt=document.createRange();Nt.setStart(Ie,1),Qt<lt.length?Nt.setEndBefore(lt[Qt]):Nt.setEndAfter(ne);const Rt=it.style=="center"?.5:1,pr=Nt.getBoundingClientRect(),$t=pr.left+Rt*pr.width-(we.left-We);Xe=it.pos-$t*V}else Xe=it.pos-He;switch(Ie.innerHTML="&nbsp;",Ie.style.textDecoration="inherit",Ie.style.wordSpacing=`${Xe.toFixed(0)}pt`,it.leader){case"dot":case"middleDot":Ie.style.textDecoration="underline",Ie.style.textDecorationStyle="dotted";break;case"hyphen":case"heavy":case"underscore":Ie.style.textDecoration="underline";break}}function eu(Ie){return parseFloat(Ie)}const bi={svg:"http://www.w3.org/2000/svg",mathML:"http://www.w3.org/1998/Math/MathML"};class el{constructor(P){this.htmlDocument=P,this.className="docx",this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.tabsTimeout=0,this.commentMap={},this.tasks=[],this.postRenderTasks=[],this.createElement=hc}render(P,L,V=null,ne){var fe;this.document=P,this.options=ne,this.className=ne.className,this.rootSelector=ne.inWrapper?`.${this.className}-wrapper`:":root",this.styleMap=null,this.tasks=[],this.options.renderComments&&globalThis.Highlight&&(this.commentHighlight=new Highlight),V=V||L,qf(V),qf(L),rl(V,"docxjs library predefined styles"),V.appendChild(this.renderDefaultStyle()),P.themePart&&(rl(V,"docxjs document theme values"),this.renderTheme(P.themePart,V)),P.stylesPart!=null&&(this.styleMap=this.processStyles(P.stylesPart.styles),rl(V,"docxjs document styles"),V.appendChild(this.renderStyles(P.stylesPart.styles))),P.numberingPart&&(this.prodessNumberings(P.numberingPart.domNumberings),rl(V,"docxjs document numbering styles"),V.appendChild(this.renderNumbering(P.numberingPart.domNumberings,V))),P.footnotesPart&&(this.footnoteMap=xn(P.footnotesPart.notes,Qe=>Qe.id)),P.endnotesPart&&(this.endnoteMap=xn(P.endnotesPart.notes,Qe=>Qe.id)),P.settingsPart&&(this.defaultTabSize=(fe=P.settingsPart.settings)==null?void 0:fe.defaultTabStop),!ne.ignoreFonts&&P.fontTablePart&&this.renderFontTable(P.fontTablePart,V);var we=this.renderSections(P.documentPart.body);this.options.inWrapper?L.appendChild(this.renderWrapper(we)):tl(L,we),this.commentHighlight&&ne.renderComments&&CSS.highlights.set(`${this.className}-comments`,this.commentHighlight),this.refreshTabStops(),this.postRenderTasks.forEach(Qe=>Qe())}renderTheme(P,L){var V,ne;const fe={},we=(V=P.theme)==null?void 0:V.fontScheme;we&&(we.majorFont&&(fe["--docx-majorHAnsi-font"]=we.majorFont.latinTypeface),we.minorFont&&(fe["--docx-minorHAnsi-font"]=we.minorFont.latinTypeface));const Qe=(ne=P.theme)==null?void 0:ne.colorScheme;if(Qe)for(let[rt,gt]of Object.entries(Qe.colors))fe[`--docx-${rt}-color`]=`#${gt}`;const je=this.styleToString(`.${this.className}`,fe);L.appendChild(xu(je))}renderFontTable(P,L){for(let V of P.fonts)for(let ne of V.embedFontRefs)this.tasks.push(this.document.loadFont(ne.id,ne.key).then(fe=>{const we={"font-family":V.name,src:`url(${fe})`};(ne.type=="bold"||ne.type=="boldItalic")&&(we["font-weight"]="bold"),(ne.type=="italic"||ne.type=="boldItalic")&&(we["font-style"]="italic"),rl(L,`docxjs ${V.name} font`);const Qe=this.styleToString("@font-face",we);L.appendChild(xu(Qe)),this.refreshTabStops()}))}processStyleName(P){return P?`${this.className}_${gn(P)}`:this.className}processStyles(P){const L=xn(P.filter(ne=>ne.id!=null),ne=>ne.id);for(const ne of P.filter(fe=>fe.basedOn)){var V=L[ne.basedOn];if(V){ne.paragraphProps=tn(ne.paragraphProps,V.paragraphProps),ne.runProps=tn(ne.runProps,V.runProps);for(const fe of V.styles){const we=ne.styles.find(Qe=>Qe.target==fe.target);we?this.copyStyleProperties(fe.values,we.values):ne.styles.push(Fe(Tt({},fe),{values:Tt({},fe.values)}))}}else this.options.debug&&console.warn(`Can't find base style ${ne.basedOn}`)}for(let ne of P)ne.cssName=this.processStyleName(ne.id);return L}prodessNumberings(P){var L;for(let V of P.filter(ne=>ne.pStyleName)){const ne=this.findStyle(V.pStyleName);(L=ne==null?void 0:ne.paragraphProps)!=null&&L.numbering&&(ne.paragraphProps.numbering.level=V.level)}}processElement(P){if(P.children)for(var L of P.children)L.parent=P,L.type==Lt.Table?this.processTable(L):this.processElement(L)}processTable(P){for(var L of P.children)for(var V of L.children)V.cssStyle=this.copyStyleProperties(P.cellStyle,V.cssStyle,["border-left","border-right","border-top","border-bottom","padding-left","padding-right","padding-top","padding-bottom"]),this.processElement(V)}copyStyleProperties(P,L,V=null){if(!P)return L;L==null&&(L={}),V==null&&(V=Object.getOwnPropertyNames(P));for(var ne of V)P.hasOwnProperty(ne)&&!L.hasOwnProperty(ne)&&(L[ne]=P[ne]);return L}createPageElement(P,L){var V=this.createElement("section",{className:P});return L&&(L.pageMargins&&(V.style.paddingLeft=L.pageMargins.left,V.style.paddingRight=L.pageMargins.right,V.style.paddingTop=L.pageMargins.top,V.style.paddingBottom=L.pageMargins.bottom),L.pageSize&&(this.options.ignoreWidth||(V.style.width=L.pageSize.width),this.options.ignoreHeight||(V.style.minHeight=L.pageSize.height))),V}createSectionContent(P){var L=this.createElement("article");return P.columns&&P.columns.numberOfColumns&&(L.style.columnCount=`${P.columns.numberOfColumns}`,L.style.columnGap=P.columns.space,P.columns.separator&&(L.style.columnRule="1px solid black")),L}renderSections(P){const L=[];this.processElement(P);const V=this.splitBySection(P.children,P.props),ne=this.groupByPageBreaks(V);let fe=null;for(let Qe=0,je=ne.length;Qe<je;Qe++){this.currentFootnoteIds=[];let rt=ne[Qe][0].sectProps;const gt=this.createPageElement(this.className,rt);this.renderStyleValues(P.cssStyle,gt),this.options.renderHeaders&&this.renderHeaderFooter(rt.headerRefs,rt,L.length,fe!=rt,gt);for(const vt of ne[Qe]){var we=this.createSectionContent(vt.sectProps);this.renderElements(vt.elements,we),gt.appendChild(we),rt=vt.sectProps}this.options.renderFootnotes&&this.renderNotes(this.currentFootnoteIds,this.footnoteMap,gt),this.options.renderEndnotes&&Qe==je-1&&this.renderNotes(this.currentEndnoteIds,this.endnoteMap,gt),this.options.renderFooters&&this.renderHeaderFooter(rt.footerRefs,rt,L.length,fe!=rt,gt),L.push(gt),fe=rt}return L}renderHeaderFooter(P,L,V,ne,fe){var we,Qe;if(P){var je=(Qe=(we=L.titlePage&&ne?P.find(gt=>gt.type=="first"):null)!=null?we:V%2==1?P.find(gt=>gt.type=="even"):null)!=null?Qe:P.find(gt=>gt.type=="default"),rt=je&&this.document.findPartByRelId(je.id,this.document.documentPart);if(rt){this.currentPart=rt,this.usedHederFooterParts.includes(rt.path)||(this.processElement(rt.rootElement),this.usedHederFooterParts.push(rt.path));const[gt]=this.renderElements([rt.rootElement],fe);L!=null&&L.pageMargins&&(rt.rootElement.type===Lt.Header?(gt.style.marginTop=`calc(${L.pageMargins.header} - ${L.pageMargins.top})`,gt.style.minHeight=`calc(${L.pageMargins.top} - ${L.pageMargins.header})`):rt.rootElement.type===Lt.Footer&&(gt.style.marginBottom=`calc(${L.pageMargins.footer} - ${L.pageMargins.bottom})`,gt.style.minHeight=`calc(${L.pageMargins.bottom} - ${L.pageMargins.footer})`)),this.currentPart=null}}}isPageBreakElement(P){return P.type!=Lt.Break?!1:P.break=="lastRenderedPageBreak"?!this.options.ignoreLastRenderedPageBreak:P.break=="page"}isPageBreakSection(P,L){var V,ne,fe,we,Qe,je;return!P||!L?!1:((V=P.pageSize)==null?void 0:V.orientation)!=((ne=L.pageSize)==null?void 0:ne.orientation)||((fe=P.pageSize)==null?void 0:fe.width)!=((we=L.pageSize)==null?void 0:we.width)||((Qe=P.pageSize)==null?void 0:Qe.height)!=((je=L.pageSize)==null?void 0:je.height)}splitBySection(P,L){var V,ne={sectProps:null,elements:[],pageBreak:!1},fe=[ne];for(let mt of P){if(mt.type==Lt.Paragraph){const We=this.findStyle(mt.styleName);(V=We==null?void 0:We.paragraphProps)!=null&&V.pageBreakBefore&&(ne.sectProps=we,ne.pageBreak=!0,ne={sectProps:null,elements:[],pageBreak:!1},fe.push(ne))}if(ne.elements.push(mt),mt.type==Lt.Paragraph){const We=mt;var we=We.sectionProps,Qe=-1,je=-1;if(this.options.breakPages&&We.children&&(Qe=We.children.findIndex(ct=>{var He,it;return je=(it=(He=ct.children)==null?void 0:He.findIndex(this.isPageBreakElement.bind(this)))!=null?it:-1,je!=-1})),(we||Qe!=-1)&&(ne.sectProps=we,ne.pageBreak=Qe!=-1,ne={sectProps:null,elements:[],pageBreak:!1},fe.push(ne)),Qe!=-1){let ct=We.children[Qe],He=je<ct.children.length-1;if(Qe<We.children.length-1||He){var rt=mt.children,gt=Fe(Tt({},mt),{children:rt.slice(Qe)});if(mt.children=rt.slice(0,Qe),ne.elements.push(gt),He){let it=ct.children,Xe=Fe(Tt({},ct),{children:it.slice(0,je)});mt.children.push(Xe),ct.children=it.slice(je)}}}}}let vt=null;for(let mt=fe.length-1;mt>=0;mt--)fe[mt].sectProps==null?fe[mt].sectProps=vt??L:vt=fe[mt].sectProps;return fe}groupByPageBreaks(P){let L=[],V;const ne=[L];for(let fe of P)L.push(fe),(this.options.ignoreLastRenderedPageBreak||fe.pageBreak||this.isPageBreakSection(V,fe.sectProps))&&ne.push(L=[]),V=fe.sectProps;return ne.filter(fe=>fe.length>0)}renderWrapper(P){return this.createElement("div",{className:`${this.className}-wrapper`},P)}renderDefaultStyle(){var P=this.className,L=`
  46. .${P}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; }
  47. .${P}-wrapper>section.${P} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }
  48. .${P} { color: black; hyphens: auto; text-underline-position: from-font; }
  49. section.${P} { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; }
  50. section.${P}>article { margin-bottom: auto; z-index: 1; }
  51. section.${P}>footer { z-index: 1; }
  52. .${P} table { border-collapse: collapse; }
  53. .${P} table td, .${P} table th { vertical-align: top; }
  54. .${P} p { margin: 0pt; min-height: 1em; }
  55. .${P} span { white-space: pre-wrap; overflow-wrap: break-word; }
  56. .${P} a { color: inherit; text-decoration: inherit; }
  57. .${P} svg { fill: transparent; }
  58. `;return this.options.renderComments&&(L+=`
  59. .${P}-comment-ref { cursor: default; }
  60. .${P}-comment-popover { display: none; z-index: 1000; padding: 0.5rem; background: white; position: absolute; box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.25); width: 30ch; }
  61. .${P}-comment-ref:hover~.${P}-comment-popover { display: block; }
  62. .${P}-comment-author,.${P}-comment-date { font-size: 0.875rem; color: #888; }
  63. `),xu(L)}renderNumbering(P,L){var V="",ne=[];for(var fe of P){var we=`p.${this.numberingClass(fe.id,fe.level)}`,Qe="none";if(fe.bullet){let je=`--${this.className}-${fe.bullet.src}`.toLowerCase();V+=this.styleToString(`${we}:before`,{content:"' '",display:"inline-block",background:`var(${je})`},fe.bullet.style),this.tasks.push(this.document.loadNumberingImage(fe.bullet.src).then(rt=>{var gt=`${this.rootSelector} { ${je}: url(${rt}) }`;L.appendChild(xu(gt))}))}else if(fe.levelText){let je=this.numberingCounter(fe.id,fe.level);const rt=je+" "+(fe.start-1);fe.level>0&&(V+=this.styleToString(`p.${this.numberingClass(fe.id,fe.level-1)}`,{"counter-reset":rt})),ne.push(rt),V+=this.styleToString(`${we}:before`,Tt({content:this.levelTextToContent(fe.levelText,fe.suff,fe.id,this.numFormatToCssValue(fe.format)),"counter-increment":je},fe.rStyle))}else Qe=this.numFormatToCssValue(fe.format);V+=this.styleToString(we,Tt({display:"list-item","list-style-position":"inside","list-style-type":Qe},fe.pStyle))}return ne.length>0&&(V+=this.styleToString(this.rootSelector,{"counter-reset":ne.join(" ")})),xu(V)}renderStyles(P){var L,V="";const ne=this.styleMap,fe=xn(P.filter(rt=>rt.isDefault),rt=>rt.target);for(const rt of P){var we=rt.styles;if(rt.linked){var Qe=rt.linked&&ne[rt.linked];Qe?we=we.concat(Qe.styles):this.options.debug&&console.warn(`Can't find linked style ${rt.linked}`)}for(const gt of we){var je=`${(L=rt.target)!=null?L:""}.${rt.cssName}`;rt.target!=gt.target&&(je+=` ${gt.target}`),fe[rt.target]==rt&&(je=`.${this.className} ${rt.target}, `+je),V+=this.styleToString(je,gt.values)}}return xu(V)}renderNotes(P,L,V){var ne=P.map(we=>L[we]).filter(we=>we);if(ne.length>0){var fe=this.createElement("ol",null,this.renderElements(ne));V.appendChild(fe)}}renderElement(P){switch(P.type){case Lt.Paragraph:return this.renderParagraph(P);case Lt.BookmarkStart:return this.renderBookmarkStart(P);case Lt.BookmarkEnd:return null;case Lt.Run:return this.renderRun(P);case Lt.Table:return this.renderTable(P);case Lt.Row:return this.renderTableRow(P);case Lt.Cell:return this.renderTableCell(P);case Lt.Hyperlink:return this.renderHyperlink(P);case Lt.SmartTag:return this.renderSmartTag(P);case Lt.Drawing:return this.renderDrawing(P);case Lt.Image:return this.renderImage(P);case Lt.Text:return this.renderText(P);case Lt.Text:return this.renderText(P);case Lt.DeletedText:return this.renderDeletedText(P);case Lt.Tab:return this.renderTab(P);case Lt.Symbol:return this.renderSymbol(P);case Lt.Break:return this.renderBreak(P);case Lt.Footer:return this.renderContainer(P,"footer");case Lt.Header:return this.renderContainer(P,"header");case Lt.Footnote:case Lt.Endnote:return this.renderContainer(P,"li");case Lt.FootnoteReference:return this.renderFootnoteReference(P);case Lt.EndnoteReference:return this.renderEndnoteReference(P);case Lt.NoBreakHyphen:return this.createElement("wbr");case Lt.VmlPicture:return this.renderVmlPicture(P);case Lt.VmlElement:return this.renderVmlElement(P);case Lt.MmlMath:return this.renderContainerNS(P,bi.mathML,"math",{xmlns:bi.mathML});case Lt.MmlMathParagraph:return this.renderContainer(P,"span");case Lt.MmlFraction:return this.renderContainerNS(P,bi.mathML,"mfrac");case Lt.MmlBase:return this.renderContainerNS(P,bi.mathML,P.parent.type==Lt.MmlMatrixRow?"mtd":"mrow");case Lt.MmlNumerator:case Lt.MmlDenominator:case Lt.MmlFunction:case Lt.MmlLimit:case Lt.MmlBox:return this.renderContainerNS(P,bi.mathML,"mrow");case Lt.MmlGroupChar:return this.renderMmlGroupChar(P);case Lt.MmlLimitLower:return this.renderContainerNS(P,bi.mathML,"munder");case Lt.MmlMatrix:return this.renderContainerNS(P,bi.mathML,"mtable");case Lt.MmlMatrixRow:return this.renderContainerNS(P,bi.mathML,"mtr");case Lt.MmlRadical:return this.renderMmlRadical(P);case Lt.MmlSuperscript:return this.renderContainerNS(P,bi.mathML,"msup");case Lt.MmlSubscript:return this.renderContainerNS(P,bi.mathML,"msub");case Lt.MmlDegree:case Lt.MmlSuperArgument:case Lt.MmlSubArgument:return this.renderContainerNS(P,bi.mathML,"mn");case Lt.MmlFunctionName:return this.renderContainerNS(P,bi.mathML,"ms");case Lt.MmlDelimiter:return this.renderMmlDelimiter(P);case Lt.MmlRun:return this.renderMmlRun(P);case Lt.MmlNary:return this.renderMmlNary(P);case Lt.MmlPreSubSuper:return this.renderMmlPreSubSuper(P);case Lt.MmlBar:return this.renderMmlBar(P);case Lt.MmlEquationArray:return this.renderMllList(P);case Lt.Inserted:return this.renderInserted(P);case Lt.Deleted:return this.renderDeleted(P);case Lt.CommentRangeStart:return this.renderCommentRangeStart(P);case Lt.CommentRangeEnd:return this.renderCommentRangeEnd(P);case Lt.CommentReference:return this.renderCommentReference(P)}return null}renderChildren(P,L){return this.renderElements(P.children,L)}renderElements(P,L){if(P==null)return null;var V=P.flatMap(ne=>this.renderElement(ne)).filter(ne=>ne!=null);return L&&tl(L,V),V}renderContainer(P,L,V){return this.createElement(L,V,this.renderChildren(P))}renderContainerNS(P,L,V,ne){return va(L,V,ne,this.renderChildren(P))}renderParagraph(P){var L,V,ne,fe=this.createElement("p");const we=this.findStyle(P.styleName);P.tabs!=null||(P.tabs=(L=we==null?void 0:we.paragraphProps)==null?void 0:L.tabs),this.renderClass(P,fe),this.renderChildren(P,fe),this.renderStyleValues(P.cssStyle,fe),this.renderCommonProperties(fe.style,P);const Qe=(ne=P.numbering)!=null?ne:(V=we==null?void 0:we.paragraphProps)==null?void 0:V.numbering;return Qe&&fe.classList.add(this.numberingClass(Qe.id,Qe.level)),fe}renderRunProperties(P,L){this.renderCommonProperties(P,L)}renderCommonProperties(P,L){L!=null&&(L.color&&(P.color=L.color),L.fontSize&&(P["font-size"]=L.fontSize))}renderHyperlink(P){var L=this.createElement("a");if(this.renderChildren(P,L),this.renderStyleValues(P.cssStyle,L),P.href)L.href=P.href;else if(P.id){const V=this.document.documentPart.rels.find(ne=>ne.id==P.id&&ne.targetMode==="External");L.href=V==null?void 0:V.target}return L}renderSmartTag(P){var L=this.createElement("span");return this.renderChildren(P,L),L}renderCommentRangeStart(P){var L;if(!this.options.renderComments)return null;const V=new Range;(L=this.commentHighlight)==null||L.add(V);const ne=this.htmlDocument.createComment(`start of comment #${P.id}`);return this.later(()=>V.setStart(ne,0)),this.commentMap[P.id]=V,ne}renderCommentRangeEnd(P){if(!this.options.renderComments)return null;const L=this.commentMap[P.id],V=this.htmlDocument.createComment(`end of comment #${P.id}`);return this.later(()=>L==null?void 0:L.setEnd(V,0)),V}renderCommentReference(P){var L;if(!this.options.renderComments)return null;var V=(L=this.document.commentsPart)==null?void 0:L.commentMap[P.id];if(!V)return null;const ne=new DocumentFragment,fe=hc("span",{className:`${this.className}-comment-ref`},["💬"]),we=hc("div",{className:`${this.className}-comment-popover`});return this.renderCommentContent(V,we),ne.appendChild(this.htmlDocument.createComment(`comment #${V.id} by ${V.author} on ${V.date}`)),ne.appendChild(fe),ne.appendChild(we),ne}renderCommentContent(P,L){L.appendChild(hc("div",{className:`${this.className}-comment-author`},[P.author])),L.appendChild(hc("div",{className:`${this.className}-comment-date`},[new Date(P.date).toLocaleString()])),this.renderChildren(P,L)}renderDrawing(P){var L=this.createElement("div");return L.style.display="inline-block",L.style.position="relative",L.style.textIndent="0px",this.renderChildren(P,L),this.renderStyleValues(P.cssStyle,L),L}renderImage(P){let L=this.createElement("img");return this.renderStyleValues(P.cssStyle,L),this.document&&this.tasks.push(this.document.loadDocumentImage(P.src,this.currentPart).then(V=>{L.src=V})),L}renderText(P){return this.htmlDocument.createTextNode(P.text)}renderDeletedText(P){return this.options.renderEndnotes?this.htmlDocument.createTextNode(P.text):null}renderBreak(P){return P.break=="textWrapping"?this.createElement("br"):null}renderInserted(P){return this.options.renderChanges?this.renderContainer(P,"ins"):this.renderChildren(P)}renderDeleted(P){return this.options.renderChanges?this.renderContainer(P,"del"):null}renderSymbol(P){var L=this.createElement("span");return L.style.fontFamily=P.font,L.innerHTML=`&#x${P.char};`,L}renderFootnoteReference(P){var L=this.createElement("sup");return this.currentFootnoteIds.push(P.id),L.textContent=`${this.currentFootnoteIds.length}`,L}renderEndnoteReference(P){var L=this.createElement("sup");return this.currentEndnoteIds.push(P.id),L.textContent=`${this.currentEndnoteIds.length}`,L}renderTab(P){var L,V=this.createElement("span");if(V.innerHTML="&emsp;",this.options.experimental){V.className=this.tabStopClass();var ne=(L=RA(P,Lt.Paragraph))==null?void 0:L.tabs;this.currentTabs.push({stops:ne,span:V})}return V}renderBookmarkStart(P){var L=this.createElement("span");return L.id=P.name,L}renderRun(P){if(P.fieldRun)return null;const L=this.createElement("span");if(P.id&&(L.id=P.id),this.renderClass(P,L),this.renderStyleValues(P.cssStyle,L),P.verticalAlign){const V=this.createElement(P.verticalAlign);this.renderChildren(P,V),L.appendChild(V)}else this.renderChildren(P,L);return L}renderTable(P){let L=this.createElement("table");return this.tableCellPositions.push(this.currentCellPosition),this.tableVerticalMerges.push(this.currentVerticalMerge),this.currentVerticalMerge={},this.currentCellPosition={col:0,row:0},P.columns&&L.appendChild(this.renderTableColumns(P.columns)),this.renderClass(P,L),this.renderChildren(P,L),this.renderStyleValues(P.cssStyle,L),this.currentVerticalMerge=this.tableVerticalMerges.pop(),this.currentCellPosition=this.tableCellPositions.pop(),L}renderTableColumns(P){let L=this.createElement("colgroup");for(let V of P){let ne=this.createElement("col");V.width&&(ne.style.width=V.width),L.appendChild(ne)}return L}renderTableRow(P){let L=this.createElement("tr");return this.currentCellPosition.col=0,this.renderClass(P,L),this.renderChildren(P,L),this.renderStyleValues(P.cssStyle,L),this.currentCellPosition.row++,L}renderTableCell(P){let L=this.createElement("td");const V=this.currentCellPosition.col;return P.verticalMerge?P.verticalMerge=="restart"?(this.currentVerticalMerge[V]=L,L.rowSpan=1):this.currentVerticalMerge[V]&&(this.currentVerticalMerge[V].rowSpan+=1,L.style.display="none"):this.currentVerticalMerge[V]=null,this.renderClass(P,L),this.renderChildren(P,L),this.renderStyleValues(P.cssStyle,L),P.span&&(L.colSpan=P.span),this.currentCellPosition.col+=L.colSpan,L}renderVmlPicture(P){var L=hc("div");return this.renderChildren(P,L),L}renderVmlElement(P){var L,V,ne=tu("svg");ne.setAttribute("style",P.cssStyleText);const fe=this.renderVmlChildElement(P);return(L=P.imageHref)!=null&&L.id&&this.tasks.push((V=this.document)==null?void 0:V.loadDocumentImage(P.imageHref.id,this.currentPart).then(we=>fe.setAttribute("href",we))),ne.appendChild(fe),requestAnimationFrame(()=>{const we=ne.firstElementChild.getBBox();ne.setAttribute("width",`${Math.ceil(we.x+we.width)}`),ne.setAttribute("height",`${Math.ceil(we.y+we.height)}`)}),ne}renderVmlChildElement(P){const L=tu(P.tagName);Object.entries(P.attrs).forEach(([V,ne])=>L.setAttribute(V,ne));for(let V of P.children)V.type==Lt.VmlElement?L.appendChild(this.renderVmlChildElement(V)):L.appendChild(...xr(this.renderElement(V)));return L}renderMmlRadical(P){var L;const V=P.children.find(fe=>fe.type==Lt.MmlBase);if((L=P.props)!=null&&L.hideDegree)return va(bi.mathML,"msqrt",null,this.renderElements([V]));const ne=P.children.find(fe=>fe.type==Lt.MmlDegree);return va(bi.mathML,"mroot",null,this.renderElements([V,ne]))}renderMmlDelimiter(P){var L,V;const ne=[];return ne.push(va(bi.mathML,"mo",null,[(L=P.props.beginChar)!=null?L:"("])),ne.push(...this.renderElements(P.children)),ne.push(va(bi.mathML,"mo",null,[(V=P.props.endChar)!=null?V:")"])),va(bi.mathML,"mrow",null,ne)}renderMmlNary(P){var L,V;const ne=[],fe=xn(P.children,vt=>vt.type),we=fe[Lt.MmlSuperArgument],Qe=fe[Lt.MmlSubArgument],je=we?va(bi.mathML,"mo",null,xr(this.renderElement(we))):null,rt=Qe?va(bi.mathML,"mo",null,xr(this.renderElement(Qe))):null,gt=va(bi.mathML,"mo",null,[(V=(L=P.props)==null?void 0:L.char)!=null?V:"∫"]);return je||rt?ne.push(va(bi.mathML,"munderover",null,[gt,rt,je])):je?ne.push(va(bi.mathML,"mover",null,[gt,je])):rt?ne.push(va(bi.mathML,"munder",null,[gt,rt])):ne.push(gt),ne.push(...this.renderElements(fe[Lt.MmlBase].children)),va(bi.mathML,"mrow",null,ne)}renderMmlPreSubSuper(P){const L=[],V=xn(P.children,rt=>rt.type),ne=V[Lt.MmlSuperArgument],fe=V[Lt.MmlSubArgument],we=ne?va(bi.mathML,"mo",null,xr(this.renderElement(ne))):null,Qe=fe?va(bi.mathML,"mo",null,xr(this.renderElement(fe))):null,je=va(bi.mathML,"mo",null);return L.push(va(bi.mathML,"msubsup",null,[je,Qe,we])),L.push(...this.renderElements(V[Lt.MmlBase].children)),va(bi.mathML,"mrow",null,L)}renderMmlGroupChar(P){const L=P.props.verticalJustification==="bot"?"mover":"munder",V=this.renderContainerNS(P,bi.mathML,L);return P.props.char&&V.appendChild(va(bi.mathML,"mo",null,[P.props.char])),V}renderMmlBar(P){const L=this.renderContainerNS(P,bi.mathML,"mrow");switch(P.props.position){case"top":L.style.textDecoration="overline";break;case"bottom":L.style.textDecoration="underline";break}return L}renderMmlRun(P){const L=va(bi.mathML,"ms");return this.renderClass(P,L),this.renderStyleValues(P.cssStyle,L),this.renderChildren(P,L),L}renderMllList(P){const L=va(bi.mathML,"mtable");this.renderClass(P,L),this.renderStyleValues(P.cssStyle,L),this.renderChildren(P);for(let V of this.renderChildren(P))L.appendChild(va(bi.mathML,"mtr",null,[va(bi.mathML,"mtd",null,[V])]));return L}renderStyleValues(P,L){for(let V in P)V.startsWith("$")?L.setAttribute(V.slice(1),P[V]):L.style[V]=P[V]}renderClass(P,L){P.className&&(L.className=P.className),P.styleName&&L.classList.add(this.processStyleName(P.styleName))}findStyle(P){var L;return P&&((L=this.styleMap)==null?void 0:L[P])}numberingClass(P,L){return`${this.className}-num-${P}-${L}`}tabStopClass(){return`${this.className}-tab-stop`}styleToString(P,L,V=null){let ne=`${P} {\r
  64. `;for(const fe in L)fe.startsWith("$")||(ne+=` ${fe}: ${L[fe]};\r
  65. `);return V&&(ne+=V),ne+`}\r
  66. `}numberingCounter(P,L){return`${this.className}-num-${P}-${L}`}levelTextToContent(P,L,V,ne){var fe;const we={tab:"\\9",space:"\\a0"};var Qe=P.replace(/%\d*/g,je=>{let rt=parseInt(je.substring(1),10)-1;return`"counter(${this.numberingCounter(V,rt)}, ${ne})"`});return`"${Qe}${(fe=we[L])!=null?fe:""}"`}numFormatToCssValue(P){var L,V={none:"none",bullet:"disc",decimal:"decimal",lowerLetter:"lower-alpha",upperLetter:"upper-alpha",lowerRoman:"lower-roman",upperRoman:"upper-roman",decimalZero:"decimal-leading-zero",aiueo:"katakana",aiueoFullWidth:"katakana",chineseCounting:"simp-chinese-informal",chineseCountingThousand:"simp-chinese-informal",chineseLegalSimplified:"simp-chinese-formal",chosung:"hangul-consonant",ideographDigital:"cjk-ideographic",ideographTraditional:"cjk-heavenly-stem",ideographLegalTraditional:"trad-chinese-formal",ideographZodiac:"cjk-earthly-branch",iroha:"katakana-iroha",irohaFullWidth:"katakana-iroha",japaneseCounting:"japanese-informal",japaneseDigitalTenThousand:"cjk-decimal",japaneseLegal:"japanese-formal",thaiNumbers:"thai",koreanCounting:"korean-hangul-formal",koreanDigital:"korean-hangul-formal",koreanDigital2:"korean-hanja-informal",hebrew1:"hebrew",hebrew2:"hebrew",hindiNumbers:"devanagari",ganada:"hangul",taiwaneseCounting:"cjk-ideographic",taiwaneseCountingThousand:"cjk-ideographic",taiwaneseDigital:"cjk-decimal"};return(L=V[P])!=null?L:P}refreshTabStops(){this.options.experimental&&(clearTimeout(this.tabsTimeout),this.tabsTimeout=setTimeout(()=>{const P=Ng();for(let L of this.currentTabs)Nh(L.span,L.stops,this.defaultTabSize,P)},500))}later(P){this.postRenderTasks.push(P)}}function hc(Ie,P,L){return va(void 0,Ie,P,L)}function tu(Ie,P,L){return va(bi.svg,Ie,P,L)}function va(Ie,P,L,V){var ne=Ie?document.createElementNS(Ie,P):document.createElement(P);return Object.assign(ne,L),V&&tl(ne,V),ne}function qf(Ie){Ie.innerHTML=""}function tl(Ie,P){P.forEach(L=>Ie.appendChild(uo(L)?document.createTextNode(L):L))}function xu(Ie){return hc("style",{innerHTML:Ie})}function rl(Ie,P){Ie.appendChild(document.createComment(P))}function RA(Ie,P){for(var L=Ie.parent;L!=null&&L.type!=P;)L=L.parent;return L}const Wf={ignoreHeight:!1,ignoreWidth:!1,ignoreFonts:!1,breakPages:!0,debug:!1,experimental:!1,className:"docx",inWrapper:!0,trimXmlDeclaration:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,useBase64URL:!1,renderChanges:!1,renderComments:!1};function FA(Ie,P){const L=Tt(Tt({},Wf),P);return Rh.load(Ie,new Rg(L),L)}function Kf(Ie,P,L,V){return yr(this,null,function*(){const ne=Tt(Tt({},Wf),V),fe=new el(window.document);return fe.render(Ie,P,L,ne),Promise.allSettled(fe.tasks)})}function NA(Ie,P,L,V){return yr(this,null,function*(){const ne=yield FA(Ie,V);return yield Kf(ne,P,L,V),ne})}const Mg={ignoreLastRenderedPageBreak:!1};function MA(Ie,P={}){return typeof Ie=="string"?Tg(Ie,P):Promise.resolve(Ie)}function Tg(Ie,P){return fetch(Ie,P).then(L=>L.status!==200?Promise.reject(L):L)}function Lg(Ie){return yr(this,null,function*(){let P;return Ie instanceof Blob?P=Ie:Ie instanceof Response?P=yield Ie.blob():Ie instanceof ArrayBuffer&&(P=new Blob([Ie])),P})}function TA(Ie,P,L={}){if(!Ie)return P.innerHTML="",Promise.resolve();let V;return Ie instanceof Blob?V=Ie:Ie instanceof Response?V=Ie.blob():Ie instanceof ArrayBuffer&&(V=new Blob([Ie])),NA(V,P,P,Tt(Tt({},Mg),L))}const ru={getData:MA,render:TA,getBlob:Lg};function LA(Ie,P){return yr(this,null,function*(){P&&(P instanceof ArrayBuffer&&(P=new Blob([P])),zf(Ie,URL.createObjectURL(P)))})}function zf(Ie,P){let L=document.createElement("a");L.download=Ie,L.style.display="none",L.href=P,document.body.appendChild(L),L.click(),document.body.removeChild(L)}const Og=(Ie,P)=>{const L=Ie.__vccOpts||Ie;for(const[V,ne]of P)L[V]=ne;return L},Pg=K.defineComponent({name:"VueOfficeDocx",props:{src:[String,ArrayBuffer,Blob],requestOptions:{type:Object,default:()=>({})},options:{type:Object,default:()=>({})}},emits:["rendered","error"],setup(Ie,{emit:P}){const L=K.ref(null);let V=null;function ne(){let we=L.value;ru.getData(Ie.src,Ie.requestOptions).then(Qe=>yr(this,null,function*(){V=yield ru.getBlob(Qe),ru.render(V,we,Ie.options).then(()=>{P("rendered")}).catch(je=>{ru.render("",we,Ie.options),P("error",je)})})).catch(Qe=>{ru.render("",we,Ie.options),P("error",Qe)})}K.onMounted(()=>{Ie.src&&ne()}),K.watch(()=>Ie.src,()=>{Ie.src?ne():ru.render("",L.value,Ie.options).then(()=>{P("rendered")})});function fe(we){LA(we||`vue-office-docx-${new Date().getTime()}.docx`,V)}return{rootRef:L,save:fe}}}),Gg={class:"vue-office-docx"},Ug={class:"vue-office-docx-main",ref:"rootRef"};function jg(Ie,P,L,V,ne,fe){return ee.openBlock(),ee.createElementBlock("div",Gg,[ee.createElementVNode("div",Ug,null,512)])}const OA=Og(Pg,[["render",jg]]);return OA.install=function(Ie){Ie.component(OA.name,OA)},OA})})(XQ);var e_=XQ.exports;const t_=n1(e_);const r_={__name:"docx",props:{previewSrc:{type:String,required:!1,default:()=>""}},setup(D){const U={width:"100%",height:"100%"},K=()=>{console.log("rendered")},ee=ge=>{console.log("error",ge)};return(ge,Ue)=>(zr(),Ma(Ti(t_),{src:D.previewSrc,style:U,onRendered:K,onError:ee},null,8,["src"]))}},n_=zu(r_,[["__scopeId","data-v-edcb121e"]]);var $Q={exports:{}};(function(D,U){(function(K,ee){D.exports=ee(e3,t3)})(Iu,function(K,ee){function ge(e){return(ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(e)}function Ue(e){var r=function(t,n){if(ge(t)!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var s=a.call(t,n||"default");if(ge(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}(e,"string");return ge(r)=="symbol"?r:String(r)}function ht(e,r,t){return(r=Ue(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ut(e){if(Array.isArray(e))return e}function _t(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Jt(e,r){if(e){if(typeof e=="string")return _t(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_t(e,r):void 0}}function ar(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
  67. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tt(e,r){return ut(e)||function(t,n){var a=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(a!=null){var s,o,i,c,u=[],l=!0,A=!1;try{if(i=(a=a.call(t)).next,n===0){if(Object(a)!==a)return;l=!1}else for(;!(l=(s=i.call(a)).done)&&(u.push(s.value),u.length!==n);l=!0);}catch(h){A=!0,o=h}finally{try{if(!l&&a.return!=null&&(c=a.return(),Object(c)!==c))return}finally{if(A)throw o}}return u}}(e,r)||Jt(e,r)||ar()}function Fe(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function yr(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ue(n.key),n)}}function Le(e,r,t){return r&&yr(e.prototype,r),t&&yr(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function sr(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ir(e){return ut(e)||sr(e)||Jt(e)||ar()}var hn=function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Fe(this,e),typeof r=="string"?(this.el=document.createElement(r),this.el.className=t):this.el=r,this.data={}}return Le(e,[{key:"data",value:function(r,t){return t!==void 0?(this.data[r]=t,this):this.data[r]}},{key:"on",value:function(r,t){var n=Ir(r.split(".")),a=n[0],s=n.slice(1),o=a;return o==="mousewheel"&&/Firefox/i.test(window.navigator.userAgent)&&(o="DOMMouseScroll"),this.el.addEventListener(o,function(i){t(i);for(var c=0;c<s.length;c+=1){var u=s[c];if(u==="left"&&i.button!==0||u==="right"&&i.button!==2)return;u==="stop"&&i.stopPropagation()}}),this}},{key:"offset",value:function(r){var t=this;if(r!==void 0)return Object.keys(r).forEach(function(a){t.css(a,"".concat(r[a],"px"))}),this;var n=this.el;return{top:n.offsetTop,left:n.offsetLeft,height:n.offsetHeight,width:n.offsetWidth}}},{key:"scroll",value:function(r){var t=this.el;return r!==void 0&&(r.left!==void 0&&(t.scrollLeft=r.left),r.top!==void 0&&(t.scrollTop=r.top)),{left:t.scrollLeft,top:t.scrollTop}}},{key:"box",value:function(){return this.el.getBoundingClientRect()}},{key:"parent",value:function(){return new e(this.el.parentNode)}},{key:"children",value:function(){for(var r=this,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return arguments.length===0?this.el.childNodes:(n.forEach(function(s){return r.child(s)}),this)}},{key:"removeChild",value:function(r){this.el.removeChild(r)}},{key:"child",value:function(r){var t=r;return typeof r=="string"?t=document.createTextNode(r):r instanceof e&&(t=r.el),this.el.appendChild(t),this}},{key:"contains",value:function(r){return this.el.contains(r)}},{key:"className",value:function(r){return r!==void 0?(this.el.className=r,this):this.el.className}},{key:"addClass",value:function(r){return this.el.classList.add(r),this}},{key:"hasClass",value:function(r){return this.el.classList.contains(r)}},{key:"removeClass",value:function(r){return this.el.classList.remove(r),this}},{key:"toggle",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"active";return this.toggleClass(r)}},{key:"toggleClass",value:function(r){return this.el.classList.toggle(r)}},{key:"active",value:function(){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"active";return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass(r):this.removeClass(r),this}},{key:"checked",value:function(){var r=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.active(r,"checked"),this}},{key:"disabled",value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass("disabled"):this.removeClass("disabled"),this}},{key:"attr",value:function(r,t){var n=this;if(t!==void 0)this.el.setAttribute(r,t);else{if(typeof r=="string")return this.el.getAttribute(r);Object.keys(r).forEach(function(a){n.el.setAttribute(a,r[a])})}return this}},{key:"removeAttr",value:function(r){return this.el.removeAttribute(r),this}},{key:"html",value:function(r){return r!==void 0?(this.el.innerHTML=r,this):this.el.innerHTML}},{key:"val",value:function(r){return r!==void 0?(this.el.value=r,this):this.el.value}},{key:"focus",value:function(){this.el.focus()}},{key:"cssRemoveKeys",value:function(){for(var r=this,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return n.forEach(function(s){return r.el.style.removeProperty(s)}),this}},{key:"css",value:function(r,t){var n=this;return t===void 0&&typeof r!="string"?(Object.keys(r).forEach(function(a){n.el.style[a]=r[a]}),this):t!==void 0?(this.el.style[r]=t,this):this.el.style[r]}},{key:"computedStyle",value:function(){return window.getComputedStyle(this.el,null)}},{key:"show",value:function(){return this.css("display","block"),this}},{key:"hide",value:function(){return this.css("display","none"),this}}]),e}(),Oe=function(e){return new hn(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:"")};function Et(e){return function(r){if(Array.isArray(r))return _t(r)}(e)||sr(e)||Jt(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  68. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var qt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function nr(e){for(var r="",t=e;t>=qt.length;)t/=qt.length,t-=1,r+=qt[parseInt(t,10)%qt.length];var n=e%qt.length;return r+=qt[n]}function Nr(e){for(var r=0,t=0;t<e.length-1;t+=1){var n=e.charCodeAt(t)-65,a=e.length-1-t;r+=Math.pow(qt.length,a)+qt.length*n}return r+=e.charCodeAt(e.length-1)-65}function zt(e){for(var r="",t="",n=0;n<e.length;n+=1)e.charAt(n)>="0"&&e.charAt(n)<="9"?t+=e.charAt(n):r+=e.charAt(n);return[Nr(r),parseInt(t,10)-1]}function Cr(e,r){return"".concat(nr(e)).concat(r+1)}function Wr(e,r,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0};if(r===0&&t===0)return e;var a=Tt(zt(e),2),s=a[0],o=a[1];return n(s,o)?Cr(s+r,o+t):e}var un=function(){function e(r,t,n,a){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;Fe(this,e),this.sri=r,this.sci=t,this.eri=n,this.eci=a,this.w=s,this.h=o}return Le(e,[{key:"set",value:function(r,t,n,a){this.sri=r,this.sci=t,this.eri=n,this.eci=a}},{key:"multiple",value:function(){return this.eri-this.sri>0||this.eci-this.sci>0}},{key:"includes",value:function(){for(var r=0,t=0,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];if(a.length===1){var o=Tt(zt(a[0]),2);t=o[0],r=o[1]}else a.length===2&&(r=a[0],t=a[1]);var i=this.sri,c=this.sci,u=this.eri,l=this.eci;return i<=r&&r<=u&&c<=t&&t<=l}},{key:"each",value:function(r){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return!0},n=this.sri,a=this.sci,s=this.eri,o=this.eci,i=n;i<=s;i+=1)if(t(i))for(var c=a;c<=o;c+=1)r(i,c)}},{key:"contains",value:function(r){return this.sri<=r.sri&&this.sci<=r.sci&&this.eri>=r.eri&&this.eci>=r.eci}},{key:"within",value:function(r){return this.sri>=r.sri&&this.sci>=r.sci&&this.eri<=r.eri&&this.eci<=r.eci}},{key:"disjoint",value:function(r){return this.sri>r.eri||this.sci>r.eci||r.sri>this.eri||r.sci>this.eci}},{key:"intersects",value:function(r){return this.sri<=r.eri&&this.sci<=r.eci&&r.sri<=this.eri&&r.sci<=this.eci}},{key:"union",value:function(r){var t=this.sri,n=this.sci,a=this.eri,s=this.eci;return new e(r.sri<t?r.sri:t,r.sci<n?r.sci:n,r.eri>a?r.eri:a,r.eci>s?r.eci:s)}},{key:"difference",value:function(r){var t=[],n=function(h,f,d,g){t.push(new e(h,f,d,g))},a=this.sri,s=this.sci,o=this.eri,i=this.eci,c=r.sri-a,u=r.sci-s,l=o-r.eri,A=i-r.eci;return c>0?(n(a,s,r.sri-1,i),l>0?(n(r.eri+1,s,o,i),u>0&&n(r.sri,s,r.eri,r.sci-1),A>0&&n(r.sri,r.eci+1,r.eri,i)):(u>0&&n(r.sri,s,o,r.sci-1),A>0&&n(r.sri,r.eci+1,o,i))):l>0&&(n(r.eri+1,s,o,i),u>0&&n(a,s,r.eri,r.sci-1),A>0&&n(a,r.eci+1,r.eri,i)),u>0?(n(a,s,o,r.sci-1),A>0?(n(a,r.eri+1,o,i),c>0&&n(a,r.sci,r.sri-1,r.eci),l>0&&n(r.sri+1,r.sci,o,r.eci)):(c>0&&n(a,r.sci,r.sri-1,i),l>0&&n(r.sri+1,r.sci,o,i))):A>0&&(n(o,r.eci+1,o,i),c>0&&n(a,s,r.sri-1,r.eci),l>0&&n(r.eri+1,s,o,r.eci)),t}},{key:"size",value:function(){return[this.eri-this.sri+1,this.eci-this.sci+1]}},{key:"toString",value:function(){var r=this.sri,t=this.sci,n=this.eri,a=this.eci,s=Cr(t,r);return this.multiple()&&(s="".concat(s,":").concat(Cr(a,n))),s}},{key:"clone",value:function(){return new e(this.sri,this.sci,this.eri,this.eci,this.w,this.h)}},{key:"equals",value:function(r){return this.eri===r.eri&&this.eci===r.eci&&this.sri===r.sri&&this.sci===r.sci}}],[{key:"valueOf",value:function(r){var t=r.split(":"),n=Tt(zt(t[0]),2),a=n[0],s=n[1],o=s,i=a;if(t.length>1){var c=Tt(zt(t[1]),2);i=c[0],o=c[1]}return new e(s,a,o,i)}}]),e}(),Ui=function(){function e(){Fe(this,e),this.range=new un(0,0,0,0),this.ri=0,this.ci=0}return Le(e,[{key:"multiple",value:function(){return this.range.multiple()}},{key:"setIndexes",value:function(r,t){this.ri=r,this.ci=t}},{key:"size",value:function(){return this.range.size()}}]),e}(),Ea=Le(function e(){Fe(this,e),this.x=0,this.y=0,this.ri=0,this.ci=0}),Po=function(){function e(){Fe(this,e),this.undoItems=[],this.redoItems=[]}return Le(e,[{key:"add",value:function(r){this.undoItems.push(JSON.stringify(r)),this.redoItems=[]}},{key:"canUndo",value:function(){return this.undoItems.length>0}},{key:"canRedo",value:function(){return this.redoItems.length>0}},{key:"undo",value:function(r,t){var n=this.undoItems,a=this.redoItems;this.canUndo()&&(a.push(JSON.stringify(r)),t(JSON.parse(n.pop())))}},{key:"redo",value:function(r,t){var n=this.undoItems,a=this.redoItems;this.canRedo()&&(n.push(JSON.stringify(r)),t(JSON.parse(a.pop())))}}]),e}(),Ds=function(){function e(){Fe(this,e),this.range=null,this.state="clear"}return Le(e,[{key:"copy",value:function(r){return this.range=r,this.state="copy",this}},{key:"cut",value:function(r){return this.range=r,this.state="cut",this}},{key:"isCopy",value:function(){return this.state==="copy"}},{key:"isCut",value:function(){return this.state==="cut"}},{key:"isClear",value:function(){return this.state==="clear"}},{key:"clear",value:function(){this.range=null,this.state="clear"}}]),e}(),co=function(){function e(r,t,n){Fe(this,e),this.ci=r,this.operator=t,this.value=n}return Le(e,[{key:"set",value:function(r,t){this.operator=r,this.value=t}},{key:"includes",value:function(r){var t=this.operator,n=this.value;return t==="all"||t==="in"&&n.includes(r)}},{key:"vlength",value:function(){var r=this.operator,t=this.value;return r==="in"?t.length:0}},{key:"getData",value:function(){return{ci:this.ci,operator:this.operator,value:this.value}}}]),e}(),kt=function(){function e(r,t){Fe(this,e),this.ci=r,this.order=t}return Le(e,[{key:"asc",value:function(){return this.order==="asc"}},{key:"desc",value:function(){return this.order==="desc"}}]),e}(),Qa=function(){function e(){Fe(this,e),this.ref=null,this.filters=[],this.sort=null}return Le(e,[{key:"setData",value:function(r){var t=r.ref,n=r.filters,a=r.sort;t!=null&&(this.ref=t,this.filters=n.map(function(s){return new co(s.ci,s.operator,s.value)}),a&&(this.sort=new kt(a.ci,a.order)))}},{key:"getData",value:function(){if(this.active()){var r=this.ref,t=this.filters,n=this.sort;return{ref:r,filters:t.map(function(a){return a.getData()}),sort:n}}return{}}},{key:"addFilter",value:function(r,t,n){var a=this.getFilter(r);a==null?this.filters.push(new co(r,t,n)):a.set(t,n)}},{key:"setSort",value:function(r,t){this.sort=t?new kt(r,t):null}},{key:"includes",value:function(r,t){return!!this.active()&&this.hrange().includes(r,t)}},{key:"getSort",value:function(r){var t=this.sort;return t&&t.ci===r?t:null}},{key:"getFilter",value:function(r){for(var t=this.filters,n=0;n<t.length;n+=1)if(t[n].ci===r)return t[n];return null}},{key:"filteredRows",value:function(r){var t=new Set,n=new Set;if(this.active())for(var a=this.range(),s=a.sri,o=a.eri,i=this.filters,c=s+1;c<=o;c+=1)for(var u=0;u<i.length;u+=1){var l=i[u],A=r(c,l.ci),h=A?A.text:"";if(!l.includes(h)){t.add(c);break}n.add(c)}return{rset:t,fset:n}}},{key:"items",value:function(r,t){var n={};if(this.active())for(var a=this.range(),s=a.sri,o=a.eri,i=s+1;i<=o;i+=1){var c=t(i,r);if(c===null||/^\s*$/.test(c.text))n[""]=(n[""]||0)+1;else{var u=c.text,l=(n[u]||0)+1;n[u]=l}}return n}},{key:"range",value:function(){return un.valueOf(this.ref)}},{key:"hrange",value:function(){var r=this.range();return r.eri=r.sri,r}},{key:"clear",value:function(){this.ref=null,this.filters=[],this.sort=null}},{key:"active",value:function(){return this.ref!==null}}]),e}(),Ji=function(){function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Fe(this,e),this._=r}return Le(e,[{key:"forEach",value:function(r){this._.forEach(r)}},{key:"deleteWithin",value:function(r){this._=this._.filter(function(t){return!t.within(r)})}},{key:"getFirstIncludes",value:function(r,t){for(var n=0;n<this._.length;n+=1){var a=this._[n];if(a.includes(r,t))return a}return null}},{key:"filterIntersects",value:function(r){return new e(this._.filter(function(t){return t.intersects(r)}))}},{key:"intersects",value:function(r){for(var t=0;t<this._.length;t+=1)if(this._[t].intersects(r))return!0;return!1}},{key:"union",value:function(r){var t=r;return this._.forEach(function(n){n.intersects(t)&&(t=n.union(t))}),t}},{key:"add",value:function(r){this.deleteWithin(r),this._.push(r)}},{key:"shift",value:function(r,t,n,a){this._.forEach(function(s){var o=s.sri,i=s.sci,c=s.eri,u=s.eci,l=s;r==="row"?o>=t?(l.sri+=n,l.eri+=n):o<t&&t<=c&&(l.eri+=n,a(o,i,n,0)):r==="column"&&(i>=t?(l.sci+=n,l.eci+=n):i<t&&t<=u&&(l.eci+=n,a(o,i,0,n)))})}},{key:"move",value:function(r,t,n){this._.forEach(function(a){var s=a;s.within(r)&&(s.eri+=t,s.sri+=t,s.sci+=n,s.eci+=n)})}},{key:"setData",value:function(r){return this._=r.map(function(t){return un.valueOf(t)}),this}},{key:"getData",value:function(){return this._.map(function(r){return r.toString()})}}]),e}(),La=function e(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return n.forEach(function(s){Object.keys(s).forEach(function(o){var i=s[o];typeof i=="string"||typeof i=="number"||typeof i=="boolean"?r[o]=i:typeof i!="function"&&!Array.isArray(i)&&i instanceof Object?(r[o]=r[o]||{},e(r[o],i)):r[o]=i})}),r};function yo(e){for(var r="".concat(e),t=0,n=!1,a=0;a<r.length;a+=1)n===!0&&(t+=1),r.charAt(a)==="."&&(n=!0);return t}function _a(e,r,t){if(Number.isNaN(r)||Number.isNaN(t))return r+e+t;var n=yo(r),a=yo(t),s=Number(r),o=Number(t),i=0;if(e==="-")i=s-o;else if(e==="+")i=s+o;else if(e==="*")i=s*o;else if(e==="/")return yo(i=s/o)>5?i.toFixed(2):i;return i.toFixed(Math.max(n,a))}const ln={cloneDeep:function(e){return JSON.parse(JSON.stringify(e))},merge:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return La.apply(void 0,[{}].concat(r))},equals:function e(r,t){var n=Object.keys(r);if(n.length!==Object.keys(t).length)return!1;for(var a=0;a<n.length;a+=1){var s=n[a],o=r[s],i=t[s];if(i===void 0)return!1;if(typeof o=="string"||typeof o=="number"||typeof o=="boolean"){if(o!==i)return!1}else if(Array.isArray(o)){if(o.length!==i.length)return!1;for(var c=0;c<o.length;c+=1)if(!e(o[c],i[c]))return!1}else if(typeof o!="function"&&!Array.isArray(o)&&o instanceof Object&&!e(o,i))return!1}return!0},arrayEquals:function(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t+=1)if(e[t]!==r[t])return!1;return!0},sum:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(a){return a},t=0,n=0;return Object.keys(e).forEach(function(a){t+=r(e[a],a),n+=1}),[t,n]},rangeEach:function(e,r,t){for(var n=e;n<r;n+=1)t(n)},rangeSum:function(e,r,t){for(var n=0,a=e;a<r;a+=1)n+=t(a);return n},rangeReduceIf:function(e,r,t,n,a,s){for(var o=t,i=n,c=e;c<r&&!(o>a);c+=1)o+=i=s(c);return[c,o-i,i]},deleteProperty:function(e,r){var t=e["".concat(r)];return delete e["".concat(r)],t},numberCalc:_a};var gn=function(){function e(r){var t=r.len,n=r.height;Fe(this,e),this._={},this.len=t,this.height=n}return Le(e,[{key:"getHeight",value:function(r){if(this.isHide(r))return 0;var t=this.get(r);return t&&t.height?t.height:this.height}},{key:"setHeight",value:function(r,t){this.getOrNew(r).height=t}},{key:"unhide",value:function(r){for(var t=r;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}},{key:"isHide",value:function(r){var t=this.get(r);return t&&t.hide}},{key:"setHide",value:function(r,t){var n=this.getOrNew(r);t===!0?n.hide=!0:delete n.hide}},{key:"setStyle",value:function(r,t){this.getOrNew(r).style=t}},{key:"sumHeight",value:function(r,t,n){var a=this;return ln.rangeSum(r,t,function(s){return n&&n.has(s)?0:a.getHeight(s)})}},{key:"totalHeight",value:function(){return this.sumHeight(0,this.len)}},{key:"get",value:function(r){return this._[r]}},{key:"getOrNew",value:function(r){return this._[r]=this._[r]||{cells:{}},this._[r]}},{key:"getCell",value:function(r,t){var n=this.get(r);return n!==void 0&&n.cells!==void 0&&n.cells[t]!==void 0?n.cells[t]:null}},{key:"getCellMerge",value:function(r,t){var n=this.getCell(r,t);return n&&n.merge?n.merge:[0,0]}},{key:"getCellOrNew",value:function(r,t){var n=this.getOrNew(r);return n.cells[t]=n.cells[t]||{},n.cells[t]}},{key:"setCell",value:function(r,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"all",s=this.getOrNew(r);a==="all"?s.cells[t]=n:a==="text"?(s.cells[t]=s.cells[t]||{},s.cells[t].text=n.text):a==="format"&&(s.cells[t]=s.cells[t]||{},s.cells[t].style=n.style,n.merge&&(s.cells[t].merge=n.merge))}},{key:"setCellText",value:function(r,t,n){var a=this.getCellOrNew(r,t);a.editable!==!1&&(a.text=n)}},{key:"copyPaste",value:function(r,t,n){var a=this,s=arguments.length>3&&arguments[3]!==void 0&&arguments[3],o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},i=r.sri,c=r.sci,u=r.eri,l=r.eci,A=t.sri,h=t.sci,f=t.eri,d=t.eci,g=Tt(r.size(),2),p=g[0],m=g[1],v=Tt(t.size(),2),y=v[0],I=v[1],E=!0,k=0;(f<i||d<c)&&(E=!1,k=f<i?y:I);for(var R=i;R<=u;R+=1)if(this._[R]){for(var T=c;T<=l;T+=1)if(this._[R].cells&&this._[R].cells[T])for(var j=A;j<=f;j+=p)for(var W=function(){var X=j+(R-i),x=H+(T-c),N=ln.cloneDeep(a._[R].cells[T]);if(s&&N&&N.text&&N.text.length>0){var C=N.text,w=H-h+(j-A)+2;if(E||(w-=k+1),C[0]==="=")N.text=C.replace(/[a-zA-Z]{1,3}\d+/g,function(S){var O=0,F=0;return i===A?O=w-1:F=w-1,/^\d+$/.test(S)?S:Wr(S,O,F)});else if(p<=1&&m>1&&(A>u||f<i)||m<=1&&p>1&&(h>l||d<c)||p<=1&&m<=1){var Q=/[\\.\d]+$/.exec(C);if(Q!==null){var B=Number(Q[0])+w-1;N.text=C.substring(0,Q.index)+B}}}a.setCell(X,x,N,n),o(X,x,N)},H=h;H<=d;H+=m)W()}}},{key:"cutPaste",value:function(r,t){var n=this,a={};this.each(function(s){n.eachCells(s,function(o){var i=parseInt(s,10),c=parseInt(o,10);r.includes(s,o)&&(i=t.sri+(i-r.sri),c=t.sci+(c-r.sci)),a[i]=a[i]||{cells:{}},a[i].cells[c]=n._[s].cells[o]})}),this._=a}},{key:"paste",value:function(r,t){var n=this;if(!(r.length<=0)){var a=t.sri,s=t.sci;r.forEach(function(o,i){var c=a+i;o.forEach(function(u,l){var A=s+l;n.setCellText(c,A,u)})})}}},{key:"insert",value:function(r){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,a={};this.each(function(s,o){var i=parseInt(s,10);i>=r&&(i+=n,t.eachCells(s,function(c,u){u.text&&u.text[0]==="="&&(u.text=u.text.replace(/[a-zA-Z]{1,3}\d+/g,function(l){return Wr(l,0,n,function(A,h){return h>=r})}))})),a[i]=o}),this._=a,this.len+=n}},{key:"delete",value:function(r,t){var n=this,a=t-r+1,s={};this.each(function(o,i){var c=parseInt(o,10);c<r?s[c]=i:o>t&&(s[c-a]=i,n.eachCells(o,function(u,l){l.text&&l.text[0]==="="&&(l.text=l.text.replace(/[a-zA-Z]{1,3}\d+/g,function(A){return Wr(A,0,-a,function(h,f){return f>t})}))}))}),this._=s,this.len-=a}},{key:"insertColumn",value:function(r){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.each(function(a,s){var o={};t.eachCells(a,function(i,c){var u=parseInt(i,10);u>=r&&(u+=n,c.text&&c.text[0]==="="&&(c.text=c.text.replace(/[a-zA-Z]{1,3}\d+/g,function(l){return Wr(l,n,0,function(A){return A>=r})}))),o[u]=c}),s.cells=o})}},{key:"deleteColumn",value:function(r,t){var n=this,a=t-r+1;this.each(function(s,o){var i={};n.eachCells(s,function(c,u){var l=parseInt(c,10);l<r?i[l]=u:l>t&&(i[l-a]=u,u.text&&u.text[0]==="="&&(u.text=u.text.replace(/[a-zA-Z]{1,3}\d+/g,function(A){return Wr(A,-a,0,function(h){return h>t})})))}),o.cells=i})}},{key:"deleteCells",value:function(r){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";r.each(function(a,s){t.deleteCell(a,s,n)})}},{key:"deleteCell",value:function(r,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"all",a=this.get(r);if(a!==null){var s=this.getCell(r,t);s!==null&&s.editable!==!1&&(n==="all"?delete a.cells[t]:n==="text"?(s.text&&delete s.text,s.value&&delete s.value):n==="format"?(s.style!==void 0&&delete s.style,s.merge&&delete s.merge):n==="merge"&&s.merge&&delete s.merge)}}},{key:"maxCell",value:function(){var r=Object.keys(this._),t=r[r.length-1],n=this._[t];if(n){var a=n.cells,s=Object.keys(a),o=s[s.length-1];return[parseInt(t,10),parseInt(o,10)]}return[0,0]}},{key:"each",value:function(r){Object.entries(this._).forEach(function(t){var n=Tt(t,2),a=n[0],s=n[1];r(a,s)})}},{key:"eachCells",value:function(r,t){this._[r]&&this._[r].cells&&Object.entries(this._[r].cells).forEach(function(n){var a=Tt(n,2),s=a[0],o=a[1];t(s,o)})}},{key:"setData",value:function(r){r.len&&(this.len=r.len,delete r.len),this._=r}},{key:"getData",value:function(){var r=this.len;return Object.assign({len:r},this._)}}]),e}(),cn=function(){function e(r){var t=r.len,n=r.width,a=r.indexWidth,s=r.minWidth;Fe(this,e),this._={},this.len=t,this.width=n,this.indexWidth=a,this.minWidth=s}return Le(e,[{key:"setData",value:function(r){r.len&&(this.len=r.len,delete r.len),this._=r}},{key:"getData",value:function(){var r=this.len;return Object.assign({len:r},this._)}},{key:"getWidth",value:function(r){if(this.isHide(r))return 0;var t=this._[r];return t&&t.width?t.width:this.width}},{key:"getOrNew",value:function(r){return this._[r]=this._[r]||{},this._[r]}},{key:"setWidth",value:function(r,t){this.getOrNew(r).width=t}},{key:"unhide",value:function(r){for(var t=r;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}},{key:"isHide",value:function(r){var t=this._[r];return t&&t.hide}},{key:"setHide",value:function(r,t){var n=this.getOrNew(r);t===!0?n.hide=!0:delete n.hide}},{key:"setStyle",value:function(r,t){this.getOrNew(r).style=t}},{key:"sumWidth",value:function(r,t){var n=this;return ln.rangeSum(r,t,function(a){return n.getWidth(a)})}},{key:"totalWidth",value:function(){return this.sumWidth(0,this.len)}}]),e}();function Dn(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(c,u){if(c){if(typeof c=="string")return xn(c,u);var l=Object.prototype.toString.call(c).slice(8,-1);if(l==="Object"&&c.constructor&&(l=c.constructor.name),l==="Map"||l==="Set")return Array.from(c);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return xn(c,u)}}(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  69. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,o=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var c=t.next();return o=c.done,c},e:function(c){i=!0,s=c},f:function(){try{o||t.return==null||t.return()}finally{if(i)throw s}}}}function xn(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}var Wn=["en"],Vi={en:{toolbar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font",fontSize:"Font size",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More"},contextmenu:{copy:"Copy",cut:"Cut",paste:"Paste",pasteValue:"Paste values only",pasteFormat:"Paste format only",hide:"Hide",insertRow:"Insert row",insertColumn:"Insert column",deleteSheet:"Delete",deleteRow:"Delete row",deleteColumn:"Delete column",deleteCell:"Delete cell",deleteCellText:"Delete cell text",validation:"Data validations",cellprintable:"Enable export",cellnonprintable:"Disable export",celleditable:"Enable editing",cellnoneditable:"Disable editing"},print:{size:"Paper size",orientation:"Page orientation",orientations:["Landscape","Portrait"]},format:{normal:"Normal",text:"Plain Text",number:"Number",percent:"Percent",rmb:"RMB",usd:"USD",eur:"EUR",date:"Date",time:"Time",datetime:"Date time",duration:"Duration"},formula:{sum:"Sum",average:"Average",max:"Max",min:"Min",_if:"IF",and:"AND",or:"OR",concat:"Concat"},validation:{required:"it must be required",notMatch:"it not match its validation rule",between:"it is between {} and {}",notBetween:"it is not between {} and {}",notIn:"it is not in list",equal:"it equal to {}",notEqual:"it not equal to {}",lessThan:"it less than {}",lessThanEqual:"it less than or equal to {}",greaterThan:"it greater than {}",greaterThanEqual:"it greater than or equal to {}"},error:{pasteForMergedCell:"Unable to do this for merged cells"},calendar:{weeks:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"]},button:{next:"Next",cancel:"Cancel",remove:"Remove",save:"Save",ok:"OK"},sort:{desc:"Sort Z -> A",asc:"Sort A -> Z"},filter:{empty:"empty"},dataValidation:{mode:"Mode",range:"Cell Range",criteria:"Criteria",modeType:{cell:"Cell",column:"Colun",row:"Row"},type:{list:"List",number:"Number",date:"Date",phone:"Phone",email:"Email"},operator:{be:"between",nbe:"not betwwen",lt:"less than",lte:"less than or equal to",gt:"greater than",gte:"greater than or equal to",eq:"equal to",neq:"not equal to"}}}};function uo(e,r){if(r){var t,n=Dn(Wn);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(!r[a])break;for(var s=r[a],o=e.match(/(?:\\.|[^.])+/g),i=0;i<o.length;i+=1){var c=s[o[i]];if(!c)break;if(i===o.length-1)return c;s=c}}}catch(u){n.e(u)}finally{n.f()}}}function tn(e){var r=uo(e,Vi);return!r&&window&&window.x_spreadsheet&&window.x_spreadsheet.$messages&&(r=uo(e,window.x_spreadsheet.$messages)),r||""}function xr(e){return function(){return tn(e)}}function Ei(e,r){arguments.length>2&&arguments[2]!==void 0&&arguments[2]?Wn=[e]:Wn.unshift(e),r&&(Vi[e]=r)}var Ni={phone:/^[1-9]\d{10}$/,email:/w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*/};function ji(e,r){var t="";if(!e){for(var n=arguments.length,a=new Array(n>2?n-2:0),s=2;s<n;s++)a[s-2]=arguments[s];t=tn.apply(void 0,["validation.".concat(r)].concat(a))}return[e,t]}var wa=function(){function e(r,t,n,a){Fe(this,e),this.required=t,this.value=n,this.type=r,this.operator=a,this.message=""}return Le(e,[{key:"parseValue",value:function(r){var t=this.type;return t==="date"?new Date(r):t==="number"?Number(r):r}},{key:"equals",value:function(r){var t=this.type===r.type&&this.required===r.required&&this.operator===r.operator;return t&&(t=Array.isArray(this.value)?ln.arrayEquals(this.value,r.value):this.value===r.value),t}},{key:"values",value:function(){return this.value.split(",")}},{key:"validate",value:function(r){var t=this.required,n=this.operator,a=this.value,s=this.type;if(t&&/^\s*$/.test(r))return ji(!1,"required");if(/^\s*$/.test(r))return[!0];if(Ni[s]&&!Ni[s].test(r))return ji(!1,"notMatch");if(s==="list")return ji(this.values().includes(r),"notIn");if(n){var o=this.parseValue(r);if(n==="be"){var i=Tt(a,2),c=i[0],u=i[1];return ji(o>=this.parseValue(c)&&o<=this.parseValue(u),"between",c,u)}if(n==="nbe"){var l=Tt(a,2),A=l[0],h=l[1];return ji(o<this.parseValue(A)||o>this.parseValue(h),"notBetween",A,h)}if(n==="eq")return ji(o===this.parseValue(a),"equal",a);if(n==="neq")return ji(o!==this.parseValue(a),"notEqual",a);if(n==="lt")return ji(o<this.parseValue(a),"lessThan",a);if(n==="lte")return ji(o<=this.parseValue(a),"lessThanEqual",a);if(n==="gt")return ji(o>this.parseValue(a),"greaterThan",a);if(n==="gte")return ji(o>=this.parseValue(a),"greaterThanEqual",a)}return[!0]}}]),e}(),Oa=function(){function e(r,t,n){Fe(this,e),this.refs=t,this.mode=r,this.validator=n}return Le(e,[{key:"includes",value:function(r,t){for(var n=this.refs,a=0;a<n.length;a+=1)if(un.valueOf(n[a]).includes(r,t))return!0;return!1}},{key:"addRef",value:function(r){this.remove(un.valueOf(r)),this.refs.push(r)}},{key:"remove",value:function(r){var t=[];this.refs.forEach(function(n){var a=un.valueOf(n);a.intersects(r)?a.difference(r).forEach(function(s){return t.push(s.toString())}):t.push(n)}),this.refs=t}},{key:"getData",value:function(){var r=this.refs,t=this.mode,n=this.validator;return{refs:r,mode:t,type:n.type,required:n.required,operator:n.operator,value:n.value}}}],[{key:"valueOf",value:function(r){var t=r.refs,n=r.mode,a=r.type,s=r.required,o=r.operator,i=r.value;return new e(n,t,new wa(a,s,i,o))}}]),e}(),Ja=function(){function e(){Fe(this,e),this._=[],this.errors=new Map}return Le(e,[{key:"getError",value:function(r,t){return this.errors.get("".concat(r,"_").concat(t))}},{key:"validate",value:function(r,t,n){var a=this.get(r,t),s="".concat(r,"_").concat(t),o=this.errors;if(a!==null){var i=Tt(a.validator.validate(n),2),c=i[0],u=i[1];c?o.delete(s):o.set(s,u)}else o.delete(s);return!0}},{key:"add",value:function(r,t,n){var a=n.type,s=n.required,o=n.value,i=n.operator,c=new wa(a,s,o,i),u=this.getByValidator(c);u!==null?u.addRef(t):this._.push(new Oa(r,[t],c))}},{key:"getByValidator",value:function(r){for(var t=0;t<this._.length;t+=1){var n=this._[t];if(n.validator.equals(r))return n}return null}},{key:"get",value:function(r,t){for(var n=0;n<this._.length;n+=1){var a=this._[n];if(a.includes(r,t))return a}return null}},{key:"remove",value:function(r){this.each(function(t){t.remove(r)})}},{key:"each",value:function(r){this._.forEach(function(t){return r(t)})}},{key:"getData",value:function(){return this._.filter(function(r){return r.refs.length>0}).map(function(r){return r.getData()})}},{key:"setData",value:function(r){this._=r.map(function(t){return Oa.valueOf(t)})}}]),e}(),lo={mode:"edit",view:{height:function(){return document.documentElement.clientHeight},width:function(){return document.documentElement.clientWidth}},showGrid:!0,showToolbar:!0,showContextmenu:!0,showBottomBar:!0,row:{len:100,height:25},col:{len:26,width:100,indexWidth:60,minWidth:60},style:{bgcolor:"#ffffff",align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0a0a0a",font:{name:"Arial",size:10,bold:!1,italic:!1},format:"normal"}},Go=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)};function Sc(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},n=this.merges,a=r.clone(),s=Tt(e.size(),2),o=s[0],i=s[1],c=Tt(r.size(),2),u=c[0],l=c[1];return o>u&&(a.eri=r.sri+o-1),i>l&&(a.eci=r.sci+i-1),!n.intersects(a)||(t(tn("error.pasteForMergedCell")),!1)}function zs(e,r,t){var n=arguments.length>3&&arguments[3]!==void 0&&arguments[3],a=this.rows,s=this.merges;t!=="all"&&t!=="format"||(a.deleteCells(r,t),s.deleteWithin(r)),a.copyPaste(e,r,t,n,function(o,i,c){if(c&&c.merge){var u=Tt(c.merge,2),l=u[0],A=u[1];if(l<=0&&A<=0)return;s.add(new un(o,i,o+l,i+A))}})}function Vs(e,r){var t=this.clipboard,n=this.rows,a=this.merges;n.cutPaste(e,r),a.move(e,r.sri-e.sri,r.sci-e.sci),t.clear()}function So(e,r,t){var n=this.styles,a=this.rows.getCellOrNew(e,r),s={};a.style!==void 0&&(s=ln.cloneDeep(n[a.style])),s=ln.merge(s,{border:t}),a.style=this.addStyle(s)}function Rs(e){var r=this,t=e.mode,n=e.style,a=e.color,s=this.styles,o=this.selector,i=this.rows,c=o.range,u=c.sri,l=c.sci,A=c.eri,h=c.eci,f=!this.isSignleSelected();if(f||t!=="inside"&&t!=="horizontal"&&t!=="vertical")if(t!=="outside"||f){if(t==="none")o.range.each(function(Q,B){var S=i.getCell(Q,B);if(S&&S.style!==void 0){var O=ln.cloneDeep(s[S.style]);delete O.border,S.style=r.addStyle(O)}});else if(t==="all"||t==="inside"||t==="outside"||t==="horizontal"||t==="vertical")for(var d=[],g=u;g<=A;g+=1)for(var p=l;p<=h;p+=1){for(var m=[],v=0;v<d.length;v+=1){var y=Tt(d[v],4),I=y[0],E=y[1],k=y[2],R=y[3];if(g===I+k+1&&m.push(v),I<=g&&g<=I+k&&p===E){p+=R+1;break}}if(m.forEach(function(Q){return d.splice(Q,1)}),p>h)break;var T=i.getCell(g,p),j=0,W=0;if(T&&T.merge){var H=Tt(T.merge,2);j=H[0],W=H[1],d.push([g,p,j,W])}var X=j>0&&g+j===A,x=W>0&&p+W===h,N={};t==="all"?N={bottom:[n,a],top:[n,a],left:[n,a],right:[n,a]}:t==="inside"?(!x&&p<h&&(N.right=[n,a]),!X&&g<A&&(N.bottom=[n,a])):t==="horizontal"?!X&&g<A&&(N.bottom=[n,a]):t==="vertical"?!x&&p<h&&(N.right=[n,a]):t==="outside"&&f&&(u===g&&(N.top=[n,a]),(X||A===g)&&(N.bottom=[n,a]),l===p&&(N.left=[n,a]),(x||h===p)&&(N.right=[n,a])),Object.keys(N).length>0&&So.call(this,g,p,N),p+=W}else if(t==="top"||t==="bottom")for(var C=l;C<=h;C+=1)t==="top"&&(So.call(this,u,C,{top:[n,a]}),C+=i.getCellMerge(u,C)[1]),t==="bottom"&&(So.call(this,A,C,{bottom:[n,a]}),C+=i.getCellMerge(A,C)[1]);else if(t==="left"||t==="right")for(var w=u;w<=A;w+=1)t==="left"&&(So.call(this,w,l,{left:[n,a]}),w+=i.getCellMerge(w,l)[0]),t==="right"&&(So.call(this,w,h,{right:[n,a]}),w+=i.getCellMerge(w,h)[0])}else So.call(this,u,l,{top:[n,a],bottom:[n,a],left:[n,a],right:[n,a]})}function Or(e,r){var t=this.rows,n=this.freezeTotalHeight(),a=t.height;n+t.height<e&&(a-=r);for(var s=this.exceptRowSet,o=0,i=a,c=t.height;o<t.len&&!(i>e);o+=1)s.has(o)||(i+=c=t.getHeight(o));return(i-=c)<=0?{ri:-1,top:0,height:c}:{ri:o-1,top:i,height:c}}function $r(e,r){var t=this.cols,n=this.freezeTotalWidth(),a=t.indexWidth;n+t.indexWidth<e&&(a-=r);var s=Tt(ln.rangeReduceIf(0,t.len,a,t.indexWidth,e,function(u){return t.getWidth(u)}),3),o=s[0],i=s[1],c=s[2];return i<=0?{ci:-1,left:0,width:t.indexWidth}:{ci:o-1,left:i,width:c}}var jn=function(){function e(r,t){Fe(this,e),this.settings=ln.merge(lo,t||{}),this.name=r||"sheet",this.freeze=[0,0],this.styles=[],this.merges=new Ji,this.rows=new gn(this.settings.row),this.cols=new cn(this.settings.col),this.validations=new Ja,this.hyperlinks={},this.comments={},this.selector=new Ui,this.scroll=new Ea,this.history=new Po,this.clipboard=new Ds,this.autoFilter=new Qa,this.change=function(){},this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map}return Le(e,[{key:"addValidation",value:function(r,t,n){var a=this;this.changeData(function(){a.validations.add(r,t,n)})}},{key:"removeValidation",value:function(){var r=this,t=this.selector.range;this.changeData(function(){r.validations.remove(t)})}},{key:"getSelectedValidator",value:function(){var r=this.selector,t=r.ri,n=r.ci,a=this.validations.get(t,n);return a?a.validator:null}},{key:"getSelectedValidation",value:function(){var r=this.selector,t=r.ri,n=r.ci,a=r.range,s=this.validations.get(t,n),o={ref:a.toString()};return s!==null&&(o.mode=s.mode,o.validator=s.validator),o}},{key:"canUndo",value:function(){return this.history.canUndo()}},{key:"canRedo",value:function(){return this.history.canRedo()}},{key:"undo",value:function(){var r=this;this.history.undo(this.getData(),function(t){r.setData(t)})}},{key:"redo",value:function(){var r=this;this.history.redo(this.getData(),function(t){r.setData(t)})}},{key:"copy",value:function(){this.clipboard.copy(this.selector.range)}},{key:"copyToSystemClipboard",value:function(){if(navigator.clipboard!==void 0){for(var r="",t=this.rows.getData(),n=this.selector.range.sri;n<=this.selector.range.eri;n+=1){if(Go(t,n)){for(var a=this.selector.range.sci;a<=this.selector.range.eci;a+=1)if(a>this.selector.range.sci&&(r+=" "),Go(t[n].cells,a)){var s=String(t[n].cells[a].text);s.indexOf(`
  70. `)===-1&&s.indexOf(" ")===-1&&s.indexOf('"')===-1?r+=s:r+='"'.concat(s,'"')}}else for(var o=this.selector.range.sci;o<=this.selector.range.eci;o+=1)r+=" ";r+=`
  71. `}navigator.clipboard.writeText(r).then(function(){},function(i){console.log("text copy to the system clipboard error ",r,i)})}}},{key:"cut",value:function(){this.clipboard.cut(this.selector.range)}},{key:"paste",value:function(){var r=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"all",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},a=this.clipboard,s=this.selector;return!a.isClear()&&!!Sc.call(this,a.range,s.range,n)&&(this.changeData(function(){a.isCopy()?zs.call(r,a.range,s.range,t):a.isCut()&&Vs.call(r,a.range,s.range)}),!0)}},{key:"pasteFromText",value:function(r){var t=r.split(`\r
  72. `).map(function(s){return s.replace(/"/g,"").split(" ")});t.length>0&&(t.length-=1);var n=this.rows,a=this.selector;this.changeData(function(){n.paste(t,a.range)})}},{key:"autofill",value:function(r,t){var n=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},s=this.selector.range;return!!Sc.call(this,s,r,a)&&(this.changeData(function(){zs.call(n,s,r,t,!0)}),!0)}},{key:"clearClipboard",value:function(){this.clipboard.clear()}},{key:"calSelectedRangeByEnd",value:function(r,t){var n=this.selector,a=this.rows,s=this.cols,o=this.merges,i=n.range,c=i.sri,u=i.sci,l=i.eri,A=i.eci,h=n.ri,f=n.ci,d=r,g=t;return r<0&&(d=a.len-1),t<0&&(g=s.len-1),d>h?(c=h,l=d):(c=d,l=h),g>f?(u=f,A=g):(u=g,A=f),n.range=o.union(new un(c,u,l,A)),n.range=o.union(n.range),n.range}},{key:"calSelectedRangeByStart",value:function(r,t){var n=this.selector,a=this.rows,s=this.cols,o=this.merges.getFirstIncludes(r,t);return o===null&&(o=new un(r,t,r,t),r===-1&&(o.sri=0,o.eri=a.len-1),t===-1&&(o.sci=0,o.eci=s.len-1)),n.range=o,o}},{key:"setSelectedCellAttr",value:function(r,t){var n=this;this.changeData(function(){var a=n.selector,s=n.styles,o=n.rows;if(r==="merge")t?n.merge():n.unmerge();else if(r==="border")Rs.call(n,t);else if(r==="formula"){var i=a.ri,c=a.ci,u=a.range;if(a.multiple()){var l=Tt(a.size(),2),A=l[0],h=l[1],f=u.sri,d=u.sci,g=u.eri,p=u.eci;if(A>1)for(var m=d;m<=p;m+=1)o.getCellOrNew(g+1,m).text="=".concat(t,"(").concat(Cr(m,f),":").concat(Cr(m,g),")");else h>1&&(o.getCellOrNew(i,p+1).text="=".concat(t,"(").concat(Cr(d,i),":").concat(Cr(p,i),")"))}else o.getCellOrNew(i,c).text="=".concat(t,"()")}else a.range.each(function(v,y){var I=o.getCellOrNew(v,y),E={};if(I.style!==void 0&&(E=ln.cloneDeep(s[I.style])),r==="format")E.format=t,I.style=n.addStyle(E);else if(r==="font-bold"||r==="font-italic"||r==="font-name"||r==="font-size"){var k={};k[r.split("-")[1]]=t,E.font=Object.assign(E.font||{},k),I.style=n.addStyle(E)}else r==="strike"||r==="textwrap"||r==="underline"||r==="align"||r==="valign"||r==="color"||r==="bgcolor"?(E[r]=t,I.style=n.addStyle(E)):I[r]=t})})}},{key:"setSelectedCellText",value:function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"input",n=this.autoFilter,a=this.selector,s=this.rows,o=a.ri,i=a.ci,c=o;this.unsortedRowMap.has(o)&&(c=this.unsortedRowMap.get(o));var u=s.getCell(c,i),l=u?u.text:"";if(this.setCellText(c,i,r,t),n.active()){var A=n.getFilter(i);if(A){var h=A.value.findIndex(function(f){return f===l});h>=0&&A.value.splice(h,1,r)}}}},{key:"getSelectedCell",value:function(){var r=this.selector,t=r.ri,n=r.ci,a=t;return this.unsortedRowMap.has(t)&&(a=this.unsortedRowMap.get(t)),this.rows.getCell(a,n)}},{key:"xyInSelectedRect",value:function(r,t){var n=this.getSelectedRect(),a=n.left,s=n.top,o=n.width,i=n.height,c=r-this.cols.indexWidth,u=t-this.rows.height;return c>a&&c<a+o&&u>s&&u<s+i}},{key:"getSelectedRect",value:function(){return this.getRect(this.selector.range)}},{key:"getClipboardRect",value:function(){var r=this.clipboard;return r.isClear()?{left:-100,top:-100}:this.getRect(r.range)}},{key:"getRect",value:function(r){var t=this.scroll,n=this.rows,a=this.cols,s=this.exceptRowSet,o=r.sri,i=r.sci,c=r.eri,u=r.eci;if(o<0&&i<0)return{left:0,l:0,top:0,t:0,scroll:t};var l=a.sumWidth(0,i),A=n.sumHeight(0,o,s),h=n.sumHeight(o,c+1,s),f=a.sumWidth(i,u+1),d=l-t.x,g=A-t.y,p=this.freezeTotalHeight(),m=this.freezeTotalWidth();return m>0&&m>l&&(d=l),p>0&&p>A&&(g=A),{l,t:A,left:d,top:g,height:h,width:f,scroll:t}}},{key:"getCellRectByXY",value:function(r,t){var n=this.scroll,a=this.merges,s=this.rows,o=this.cols,i=Or.call(this,t,n.y),c=i.ri,u=i.top,l=i.height,A=$r.call(this,r,n.x),h=A.ci,f=A.left,d=A.width;if(h===-1&&(d=o.totalWidth()),c===-1&&(l=s.totalHeight()),c>=0||h>=0){var g=a.getFirstIncludes(c,h);if(g){c=g.sri,h=g.sci;var p=this.cellRect(c,h);f=p.left,u=p.top,d=p.width,l=p.height}}return{ri:c,ci:h,left:f,top:u,width:d,height:l}}},{key:"isSignleSelected",value:function(){var r=this.selector.range,t=r.sri,n=r.sci,a=r.eri,s=r.eci,o=this.getCell(t,n);if(o&&o.merge){var i=Tt(o.merge,2),c=i[0],u=i[1];if(t+c===a&&n+u===s)return!0}return!this.selector.multiple()}},{key:"canUnmerge",value:function(){var r=this.selector.range,t=r.sri,n=r.sci,a=r.eri,s=r.eci,o=this.getCell(t,n);if(o&&o.merge){var i=Tt(o.merge,2),c=i[0],u=i[1];if(t+c===a&&n+u===s)return!0}return!1}},{key:"merge",value:function(){var r=this,t=this.selector,n=this.rows;if(!this.isSignleSelected()){var a=Tt(t.size(),2),s=a[0],o=a[1];if(s>1||o>1){var i=t.range,c=i.sri,u=i.sci;this.changeData(function(){var l=n.getCellOrNew(c,u);l.merge=[s-1,o-1],r.merges.add(t.range),r.rows.deleteCells(t.range),r.rows.setCell(c,u,l)})}}}},{key:"unmerge",value:function(){var r=this,t=this.selector;if(this.isSignleSelected()){var n=t.range,a=n.sri,s=n.sci;this.changeData(function(){r.rows.deleteCell(a,s,"merge"),r.merges.deleteWithin(t.range)})}}},{key:"canAutofilter",value:function(){return!this.autoFilter.active()}},{key:"autofilter",value:function(){var r=this,t=this.autoFilter,n=this.selector;this.changeData(function(){t.active()?(t.clear(),r.exceptRowSet=new Set,r.sortedRowMap=new Map,r.unsortedRowMap=new Map):t.ref=n.range.toString()})}},{key:"setAutoFilter",value:function(r,t,n,a){var s=this.autoFilter;s.addFilter(r,n,a),s.setSort(r,t),this.resetAutoFilter()}},{key:"resetAutoFilter",value:function(){var r=this,t=this.autoFilter,n=this.rows;if(t.active()){var a=t.sort,s=t.filteredRows(function(l,A){return n.getCell(l,A)}),o=s.rset,i=s.fset,c=Array.from(i),u=Array.from(i);a&&c.sort(function(l,A){return a.order==="asc"?l-A:a.order==="desc"?A-l:0}),this.exceptRowSet=o,this.sortedRowMap=new Map,this.unsortedRowMap=new Map,c.forEach(function(l,A){r.sortedRowMap.set(u[A],l),r.unsortedRowMap.set(l,u[A])})}}},{key:"deleteCell",value:function(){var r=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"all",n=this.selector;this.changeData(function(){r.rows.deleteCells(n.range,t),t!=="all"&&t!=="format"||r.merges.deleteWithin(n.range)})}},{key:"insert",value:function(r){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.changeData(function(){var a=t.selector.range,s=a.sri,o=a.sci,i=t.rows,c=t.merges,u=t.cols,l=s;r==="row"?i.insert(s,n):r==="column"&&(i.insertColumn(o,n),l=o,u.len+=1),c.shift(r,l,n,function(A,h,f,d){var g=i.getCell(A,h);g.merge[0]+=f,g.merge[1]+=d})})}},{key:"delete",value:function(r){var t=this;this.changeData(function(){var n=t.rows,a=t.merges,s=t.selector,o=t.cols,i=s.range,c=s.range,u=c.sri,l=c.sci,A=c.eri,h=c.eci,f=Tt(s.range.size(),2),d=f[0],g=f[1],p=u,m=d;r==="row"?n.delete(u,A):r==="column"&&(n.deleteColumn(l,h),p=i.sci,m=g,o.len-=1),a.shift(r,p,-m,function(v,y,I,E){var k=n.getCell(v,y);k.merge[0]+=I,k.merge[1]+=E,k.merge[0]===0&&k.merge[1]===0&&delete k.merge})})}},{key:"scrollx",value:function(r,t){var n=this.scroll,a=this.freeze,s=this.cols,o=Tt(a,2)[1],i=Tt(ln.rangeReduceIf(o,s.len,0,0,r,function(h){return s.getWidth(h)}),3),c=i[0],u=i[1],l=i[2],A=u;r>0&&(A+=l),n.x!==A&&(n.ci=r>0?c:0,n.x=A,t())}},{key:"scrolly",value:function(r,t){var n=this.scroll,a=this.freeze,s=this.rows,o=Tt(a,1)[0],i=Tt(ln.rangeReduceIf(o,s.len,0,0,r,function(h){return s.getHeight(h)}),3),c=i[0],u=i[1],l=i[2],A=u;r>0&&(A+=l),n.y!==A&&(n.ri=r>0?c:0,n.y=A,t())}},{key:"cellRect",value:function(r,t){var n=this.rows,a=this.cols,s=a.sumWidth(0,t),o=n.sumHeight(0,r),i=n.getCell(r,t),c=a.getWidth(t),u=n.getHeight(r);if(i!==null&&i.merge){var l=Tt(i.merge,2),A=l[0],h=l[1];if(A>0)for(var f=1;f<=A;f+=1)u+=n.getHeight(r+f);if(h>0)for(var d=1;d<=h;d+=1)c+=a.getWidth(t+d)}return{left:s,top:o,width:c,height:u,cell:i}}},{key:"getCell",value:function(r,t){return this.rows.getCell(r,t)}},{key:"getCellTextOrDefault",value:function(r,t){var n=this.getCell(r,t);return n&&n.text?n.text:""}},{key:"getCellStyle",value:function(r,t){var n=this.getCell(r,t);return n&&n.style!==void 0?this.styles[n.style]:null}},{key:"getCellStyleOrDefault",value:function(r,t){var n=this.styles,a=this.rows.getCell(r,t),s=a&&a.style!==void 0?n[a.style]:{};return ln.merge(this.defaultStyle(),s)}},{key:"getSelectedCellStyle",value:function(){var r=this.selector,t=r.ri,n=r.ci;return this.getCellStyleOrDefault(t,n)}},{key:"setCellText",value:function(r,t,n,a){var s=this.rows,o=this.history,i=this.validations;a==="finished"?(s.setCellText(r,t,""),o.add(this.getData()),s.setCellText(r,t,n)):(s.setCellText(r,t,n),this.change(this.getData())),i.validate(r,t,n)}},{key:"freezeIsActive",value:function(){var r=Tt(this.freeze,2),t=r[0],n=r[1];return t>0||n>0}},{key:"setFreeze",value:function(r,t){var n=this;this.changeData(function(){n.freeze=[r,t]})}},{key:"freezeTotalWidth",value:function(){return this.cols.sumWidth(0,this.freeze[1])}},{key:"freezeTotalHeight",value:function(){return this.rows.sumHeight(0,this.freeze[0])}},{key:"setRowHeight",value:function(r,t){var n=this;this.changeData(function(){n.rows.setHeight(r,t)})}},{key:"setColWidth",value:function(r,t){var n=this;this.changeData(function(){n.cols.setWidth(r,t)})}},{key:"viewHeight",value:function(){var r=this.settings,t=r.view,n=r.showToolbar,a=r.showBottomBar,s=t.height();return a&&(s-=41),n&&(s-=41),s}},{key:"viewWidth",value:function(){return this.settings.view.width()}},{key:"freezeViewRange",value:function(){var r=Tt(this.freeze,2),t=r[0],n=r[1];return new un(0,0,t-1,n-1,this.freezeTotalWidth(),this.freezeTotalHeight())}},{key:"contentRange",value:function(){var r=this.rows,t=this.cols,n=Tt(r.maxCell(),2),a=n[0],s=n[1],o=r.sumHeight(0,a+1),i=t.sumWidth(0,s+1);return new un(0,0,a,s,i,o)}},{key:"exceptRowTotalHeight",value:function(r,t){var n=this.exceptRowSet,a=this.rows,s=Array.from(n),o=0;return s.forEach(function(i){if(i<r||i>t){var c=a.getHeight(i);o+=c}}),o}},{key:"viewRange",value:function(){var r=this.scroll,t=this.rows,n=this.cols,a=this.freeze,s=this.exceptRowSet,o=r.ri,i=r.ci;o<=0&&(o=Tt(a,1)[0]),i<=0&&(i=Tt(a,2)[1]);for(var c=0,u=0,l=[t.len,n.len],A=l[0],h=l[1],f=o;f<t.len&&(s.has(f)||(u+=t.getHeight(f),A=f),!(u>this.viewHeight()));f+=1);for(var d=i;d<n.len&&(h=d,!((c+=n.getWidth(d))>this.viewWidth()));d+=1);return new un(o,i,A,h,c,u)}},{key:"eachMergesInView",value:function(r,t){this.merges.filterIntersects(r).forEach(function(n){return t(n)})}},{key:"hideRowsOrCols",value:function(){var r=this.rows,t=this.cols,n=this.selector,a=Tt(n.size(),2),s=a[0],o=a[1],i=n.range,c=i.sri,u=i.sci,l=i.eri,A=i.eci;if(s===r.len)for(var h=u;h<=A;h+=1)t.setHide(h,!0);else if(o===t.len)for(var f=c;f<=l;f+=1)r.setHide(f,!0)}},{key:"unhideRowsOrCols",value:function(r,t){this["".concat(r,"s")].unhide(t)}},{key:"rowEach",value:function(r,t,n){for(var a=0,s=this.rows,o=this.exceptRowSet,i=Et(o),c=0,u=0;u<i.length;u+=1)i[u]<r&&(c+=1);for(var l=r+c;l<=t+c;l+=1)if(o.has(l))c+=1;else{var A=s.getHeight(l);if(A>0&&(n(l,a,A),(a+=A)>this.viewHeight()))break}}},{key:"colEach",value:function(r,t,n){for(var a=0,s=this.cols,o=r;o<=t;o+=1){var i=s.getWidth(o);if(i>0&&(n(o,a,i),(a+=i)>this.viewWidth()))break}}},{key:"defaultStyle",value:function(){return this.settings.style}},{key:"addStyle",value:function(r){for(var t=this.styles,n=0;n<t.length;n+=1){var a=t[n];if(ln.equals(a,r))return n}return t.push(r),t.length-1}},{key:"changeData",value:function(r){this.history.add(this.getData()),r(),this.change(this.getData())}},{key:"setData",value:function(r){var t=this;return Object.keys(r).forEach(function(n){if(n==="merges"||n==="rows"||n==="cols"||n==="validations")t[n].setData(r[n]);else if(n==="freeze"){var a=Tt(zt(r[n]),2),s=a[0],o=a[1];t.freeze=[o,s]}else n==="autofilter"?t.autoFilter.setData(r[n]):r[n]!==void 0&&(t[n]=r[n])}),this}},{key:"getData",value:function(){var r=this.name,t=this.freeze,n=this.styles,a=this.merges,s=this.rows,o=this.cols,i=this.validations,c=this.autoFilter;return{name:r,freeze:Cr(t[1],t[0]),styles:n,merges:a.getData(),rows:s.getData(),cols:o.getData(),validations:i.getData(),autofilter:c.getData()}}}]),e}();function gi(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(c,u){if(c){if(typeof c=="string")return da(c,u);var l=Object.prototype.toString.call(c).slice(8,-1);if(l==="Object"&&c.constructor&&(l=c.constructor.name),l==="Map"||l==="Set")return Array.from(c);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return da(c,u)}}(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  73. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,o=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var c=t.next();return o=c.done,c},e:function(c){i=!0,s=c},f:function(){try{o||t.return==null||t.return()}finally{if(i)throw s}}}}function da(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Sr(e,r,t){e.addEventListener(r,t)}function br(e,r,t){e.removeEventListener(r,t)}function Ln(e){e.xclickoutside&&(br(window.document.body,"click",e.xclickoutside),delete e.xclickoutside)}function Ai(e,r){e.xclickoutside=function(t){t.detail===2||e.contains(t.target)||(r?r(e):(e.hide(),Ln(e)))},Sr(window.document.body,"click",e.xclickoutside)}function ei(e,r,t){Sr(e,"mousemove",r),e.xEvtUp=function(n){br(e,"mousemove",r),br(e,"mouseup",e.xEvtUp),t(n)},Sr(e,"mouseup",e.xEvtUp)}function Li(e,r,t,n){Math.abs(e)>Math.abs(r)?n(e>0?"right":"left",e,t):n(r>0?"down":"up",r,t)}var lr="x-spreadsheet",Lt=function(){function e(){var r=this,t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],n=arguments.length>1?arguments[1]:void 0;Fe(this,e),this.moving=!1,this.vertical=t,this.el=Oe("div","".concat(lr,"-resizer ").concat(t?"vertical":"horizontal")).children(this.unhideHoverEl=Oe("div","".concat(lr,"-resizer-hover")).on("dblclick.stop",function(a){return r.mousedblclickHandler(a)}).css("position","absolute").hide(),this.hoverEl=Oe("div","".concat(lr,"-resizer-hover")).on("mousedown.stop",function(a){return r.mousedownHandler(a)}),this.lineEl=Oe("div","".concat(lr,"-resizer-line")).hide()).hide(),this.cRect=null,this.finishedFn=null,this.minDistance=n,this.unhideFn=function(){}}return Le(e,[{key:"showUnhide",value:function(r){this.unhideIndex=r,this.unhideHoverEl.show()}},{key:"hideUnhide",value:function(){this.unhideHoverEl.hide()}},{key:"show",value:function(r,t){var n=this.moving,a=this.vertical,s=this.hoverEl,o=this.lineEl,i=this.el,c=this.unhideHoverEl;if(!n){this.cRect=r;var u=r.left,l=r.top,A=r.width,h=r.height;i.offset({left:a?u+A-5:u,top:a?l:l+h-5}).show(),s.offset({width:a?5:A,height:a?h:5}),o.offset({width:a?0:t.width,height:a?t.height:0}),c.offset({left:a?5-A:u,top:a?l:5-h,width:a?5:A,height:a?h:5})}}},{key:"hide",value:function(){this.el.offset({left:0,top:0}).hide(),this.hideUnhide()}},{key:"mousedblclickHandler",value:function(){this.unhideIndex&&this.unhideFn(this.unhideIndex)}},{key:"mousedownHandler",value:function(r){var t=this,n=r,a=this.el,s=this.lineEl,o=this.cRect,i=this.vertical,c=this.minDistance,u=i?o.width:o.height;s.show(),ei(window,function(l){t.moving=!0,n!==null&&l.buttons===1&&(i?(u+=l.movementX)>c&&a.css("left","".concat(o.left+u,"px")):(u+=l.movementY)>c&&a.css("top","".concat(o.top+u,"px")),n=l)},function(){n=null,s.hide(),t.moving=!1,t.hide(),t.finishedFn&&(u<c&&(u=c),t.finishedFn(o,u))})}}]),e}(),ro=function(){function e(r){var t=this;Fe(this,e),this.vertical=r,this.moveFn=null,this.el=Oe("div","".concat(lr,"-scrollbar ").concat(r?"vertical":"horizontal")).child(this.contentEl=Oe("div","")).on("mousemove.stop",function(){}).on("scroll.stop",function(n){var a=n.target,s=a.scrollTop,o=a.scrollLeft;t.moveFn&&t.moveFn(t.vertical?s:o,n)})}return Le(e,[{key:"move",value:function(r){return this.el.scroll(r),this}},{key:"scroll",value:function(){return this.el.scroll()}},{key:"set",value:function(r,t){var n=r-1;if(t>n){var a=this.vertical?"height":"width";this.el.css(a,"".concat(n-15,"px")).show(),this.contentEl.css(this.vertical?"width":"height","1px").css(a,"".concat(t,"px"))}else this.el.hide();return this}}]),e}(),Is=10,Fs=function(){function e(){var r=this,t=arguments.length>0&&arguments[0]!==void 0&&arguments[0];Fe(this,e),this.useHideInput=t,this.inputChange=function(){},this.cornerEl=Oe("div","".concat(lr,"-selector-corner")),this.areaEl=Oe("div","".concat(lr,"-selector-area")).child(this.cornerEl).hide(),this.clipboardEl=Oe("div","".concat(lr,"-selector-clipboard")).hide(),this.autofillEl=Oe("div","".concat(lr,"-selector-autofill")).hide(),this.el=Oe("div","".concat(lr,"-selector")).css("z-index","".concat(Is)).children(this.areaEl,this.clipboardEl,this.autofillEl).hide(),t&&(this.hideInput=Oe("input","").on("compositionend",function(n){r.inputChange(n.target.value)}),this.el.child(this.hideInputDiv=Oe("div","hide-input").child(this.hideInput)),this.el.child(this.hideInputDiv=Oe("div","hide-input").child(this.hideInput))),Is+=1}return Le(e,[{key:"setOffset",value:function(r){return this.el.offset(r).show(),this}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"setAreaOffset",value:function(r){var t=r.left,n=r.top,a={width:r.width-3+.8,height:r.height-3+.8,left:t-.8,top:n-.8};this.areaEl.offset(a).show(),this.useHideInput&&(this.hideInputDiv.offset(a),this.hideInput.val("").focus())}},{key:"setClipboardOffset",value:function(r){var t=r.left,n=r.top,a=r.width,s=r.height;this.clipboardEl.offset({left:t,top:n,width:a-5,height:s-5})}},{key:"showAutofill",value:function(r){var t=r.left,n=r.top,a=r.width,s=r.height;this.autofillEl.offset({width:a-3,height:s-3,left:t,top:n}).show()}},{key:"hideAutofill",value:function(){this.autofillEl.hide()}},{key:"showClipboard",value:function(){this.clipboardEl.show()}},{key:"hideClipboard",value:function(){this.clipboardEl.hide()}}]),e}();function Zc(e){var r=this.data,t=e.left,n=e.top,a=e.width,s=e.height,o=e.scroll,i=e.l,c=e.t,u=r.freezeTotalWidth(),l=r.freezeTotalHeight(),A=t-u;u>i&&(A-=o.x);var h=n-l;return l>c&&(h-=o.y),{left:A,top:h,width:a,height:s}}function Eu(e){var r=this.data,t=e.left,n=e.width,a=e.height,s=e.l,o=e.t,i=e.scroll,c=r.freezeTotalWidth(),u=t-c;return c>s&&(u-=i.x),{left:u,top:o,width:n,height:a}}function Xc(e){var r=this.data,t=e.top,n=e.width,a=e.height,s=e.l,o=e.t,i=e.scroll,c=r.freezeTotalHeight(),u=t-c;return c>o&&(u-=i.y),{left:s,top:u,width:n,height:a}}function $c(e){this.br.setAreaOffset(Zc.call(this,e))}function _c(e){this.tl.setAreaOffset(e)}function wu(e){this.t.setAreaOffset(Eu.call(this,e))}function Sn(e){this.l.setAreaOffset(Xc.call(this,e))}function Zs(e){this.l.setClipboardOffset(Xc.call(this,e))}function ga(e){this.br.setClipboardOffset(Zc.call(this,e))}function Bu(e){this.tl.setClipboardOffset(e)}function Zu(e){this.t.setClipboardOffset(Eu.call(this,e))}function Ml(e){$c.call(this,e),_c.call(this,e),wu.call(this,e),Sn.call(this,e)}function Ac(e){ga.call(this,e),Bu.call(this,e),Zu.call(this,e),Zs.call(this,e)}var sa=function(){function e(r){var t=this;Fe(this,e),this.inputChange=function(){},this.data=r,this.br=new Fs(!0),this.t=new Fs,this.l=new Fs,this.tl=new Fs,this.br.inputChange=function(n){t.inputChange(n)},this.br.el.show(),this.offset=null,this.areaOffset=null,this.indexes=null,this.range=null,this.arange=null,this.el=Oe("div","".concat(lr,"-selectors")).children(this.tl.el,this.t.el,this.l.el,this.br.el).hide(),this.lastri=-1,this.lastci=-1,Is+=1}return Le(e,[{key:"resetData",value:function(r){this.data=r,this.range=r.selector.range,this.resetAreaOffset()}},{key:"hide",value:function(){this.el.hide()}},{key:"resetOffset",value:function(){var r=this.data,t=this.tl,n=this.t,a=this.l,s=this.br,o=r.freezeTotalHeight(),i=r.freezeTotalWidth();o>0||i>0?(t.setOffset({width:i,height:o}),n.setOffset({left:i,height:o}),a.setOffset({top:o,width:i}),s.setOffset({left:i,top:o})):(t.hide(),n.hide(),a.hide(),s.setOffset({left:0,top:0}))}},{key:"resetAreaOffset",value:function(){var r=this.data.getSelectedRect(),t=this.data.getClipboardRect();Ml.call(this,r),Ac.call(this,t),this.resetOffset()}},{key:"resetBRTAreaOffset",value:function(){var r=this.data.getSelectedRect(),t=this.data.getClipboardRect();$c.call(this,r),wu.call(this,r),ga.call(this,t),Zu.call(this,t),this.resetOffset()}},{key:"resetBRLAreaOffset",value:function(){var r=this.data.getSelectedRect(),t=this.data.getClipboardRect();$c.call(this,r),Sn.call(this,r),ga.call(this,t),Zs.call(this,t),this.resetOffset()}},{key:"set",value:function(r,t){var n=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.data,s=a.calSelectedRangeByStart(r,t),o=s.sri,i=s.sci;if(n){var c=r,u=t;r<0&&(c=0),t<0&&(u=0),a.selector.setIndexes(c,u),this.indexes=[c,u]}this.moveIndexes=[o,i],this.range=s,this.resetAreaOffset(),this.el.show()}},{key:"setEnd",value:function(r,t){var n=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],a=this.data,s=this.lastri,o=this.lastci;if(n){if(r===s&&t===o)return;this.lastri=r,this.lastci=t}this.range=a.calSelectedRangeByEnd(r,t),Ml.call(this,this.data.getSelectedRect())}},{key:"reset",value:function(){var r=this.data.selector.range,t=r.eri,n=r.eci;this.setEnd(t,n)}},{key:"showAutofill",value:function(r,t){if(r!==-1||t!==-1){var n=this.range,a=n.sri,s=n.sci,o=n.eri,i=n.eci,c=r,u=t,l=a-r,A=o-r,h=i-t;if(s-t>0)this.arange=new un(a,u,o,s-1);else if(l>0)this.arange=new un(c,s,a-1,i);else if(h<0)this.arange=new un(a,i+1,o,u);else{if(!(A<0))return void(this.arange=null);this.arange=new un(o+1,s,c,i)}if(this.arange!==null){var f=this.data.getRect(this.arange);f.width+=2,f.height+=2;var d=this.br,g=this.l,p=this.t,m=this.tl;d.showAutofill(Zc.call(this,f)),g.showAutofill(Xc.call(this,f)),p.showAutofill(Eu.call(this,f)),m.showAutofill(f)}}}},{key:"hideAutofill",value:function(){var r=this;["br","l","t","tl"].forEach(function(t){r[t].hideAutofill()})}},{key:"showClipboard",value:function(){var r=this,t=this.data.getClipboardRect();Ac.call(this,t),["br","l","t","tl"].forEach(function(n){r[n].showClipboard()})}},{key:"hideClipboard",value:function(){var r=this;["br","l","t","tl"].forEach(function(t){r[t].hideClipboard()})}}]),e}();function qa(e){e.preventDefault(),e.stopPropagation();var r=this.filterItems;r.length<=0||(this.itemIndex>=0&&r[this.itemIndex].toggle(),this.itemIndex-=1,this.itemIndex<0&&(this.itemIndex=r.length-1),r[this.itemIndex].toggle())}function Ao(e){e.stopPropagation();var r=this.filterItems;r.length<=0||(this.itemIndex>=0&&r[this.itemIndex].toggle(),this.itemIndex+=1,this.itemIndex>r.length-1&&(this.itemIndex=0),r[this.itemIndex].toggle())}function xA(e){e.preventDefault();var r=this.filterItems;r.length<=0||(e.stopPropagation(),this.itemIndex<0&&(this.itemIndex=0),r[this.itemIndex].el.click(),this.hide())}function Vo(e){var r=e.keyCode;switch(e.ctrlKey&&e.stopPropagation(),r){case 37:case 39:default:e.stopPropagation();break;case 38:qa.call(this,e);break;case 40:Ao.call(this,e);break;case 13:case 9:xA.call(this,e)}}var Xu=function(){function e(r,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"200px";Fe(this,e),this.filterItems=[],this.items=r,this.el=Oe("div","".concat(lr,"-suggest")).css("width",n).hide(),this.itemClick=t,this.itemIndex=-1}return Le(e,[{key:"setOffset",value:function(r){this.el.cssRemoveKeys("top","bottom").offset(r)}},{key:"hide",value:function(){var r=this.el;this.filterItems=[],this.itemIndex=-1,r.hide(),Ln(this.el.parent())}},{key:"setItems",value:function(r){this.items=r}},{key:"search",value:function(r){var t,n=this,a=this.items;if(/^\s*$/.test(r)||(a=a.filter(function(o){return(o.key||o).startsWith(r.toUpperCase())})),a=a.map(function(o){var i=o.title;i?typeof i=="function"&&(i=i()):i=o;var c=Oe("div","".concat(lr,"-item")).child(i).on("click.stop",function(){n.itemClick(o),n.hide()});return o.label&&c.child(Oe("div","label").html(o.label)),c}),this.filterItems=a,!(a.length<=0)){var s=this.el;(t=s.html("")).children.apply(t,Et(a)).show(),Ai(s.parent(),function(){n.hide()})}}},{key:"bindInputEvents",value:function(r){var t=this;r.on("keydown",function(n){return Vo.call(t,n)})}}]),e}();function Gf(e,r){return(Gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t})(e,r)}function Mt(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),r&&Gf(e,r)}function di(e,r){if(r&&(ge(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e)}function Ur(e){return(Ur=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(e)}function Bg(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Uo=function(e){Mt(t,e);var r=Bg(t);function t(n){var a;return Fe(this,t),(a=r.call(this,"div","".concat(lr,"-icon"))).iconNameEl=Oe("div","".concat(lr,"-icon-img ").concat(n)),a.child(a.iconNameEl),a}return Le(t,[{key:"setName",value:function(n){this.iconNameEl.className("".concat(lr,"-icon-img ").concat(n))}}]),t}(hn);function Uf(e,r){e.setMonth(e.getMonth()+r)}function Dh(e,r){var t=new Date(e);return t.setDate(r-e.getDay()+1),t}var jf=function(){function e(r){var t,n=this;Fe(this,e),this.value=r,this.cvalue=new Date(r),this.headerLeftEl=Oe("div","calendar-header-left"),this.bodyEl=Oe("tbody",""),this.buildAll(),this.el=Oe("div","x-spreadsheet-calendar").children(Oe("div","calendar-header").children(this.headerLeftEl,Oe("div","calendar-header-right").children(Oe("a","calendar-prev").on("click.stop",function(){return n.prev()}).child(new Uo("chevron-left")),Oe("a","calendar-next").on("click.stop",function(){return n.next()}).child(new Uo("chevron-right")))),Oe("table","calendar-body").children(Oe("thead","").child((t=Oe("tr","")).children.apply(t,Et(tn("calendar.weeks").map(function(a){return Oe("th","cell").child(a)})))),this.bodyEl)),this.selectChange=function(){}}return Le(e,[{key:"setValue",value:function(r){this.value=r,this.cvalue=new Date(r),this.buildAll()}},{key:"prev",value:function(){Uf(this.value,-1),this.buildAll()}},{key:"next",value:function(){Uf(this.value,1),this.buildAll()}},{key:"buildAll",value:function(){this.buildHeaderLeft(),this.buildBody()}},{key:"buildHeaderLeft",value:function(){var r=this.value;this.headerLeftEl.html("".concat(tn("calendar.months")[r.getMonth()]," ").concat(r.getFullYear()))}},{key:"buildBody",value:function(){var r,t=this,n=this.value,a=this.cvalue,s=this.bodyEl,o=function(i,c,u){for(var l=new Date(i,c,1,23,59,59),A=[[],[],[],[],[],[]],h=0;h<6;h+=1)for(var f=0;f<7;f+=1){var d=Dh(l,7*h+f),g=d.getMonth()!==c,p=d.getMonth()===u.getMonth()&&d.getDate()===u.getDate();A[h][f]={d,disabled:g,active:p}}return A}(n.getFullYear(),n.getMonth(),a).map(function(i){var c,u=i.map(function(l){var A="cell";return l.disabled&&(A+=" disabled"),l.active&&(A+=" active"),Oe("td","").child(Oe("div",A).on("click.stop",function(){t.selectChange(l.d)}).child(l.d.getDate().toString()))});return(c=Oe("tr","")).children.apply(c,Et(u))});(r=s.html("")).children.apply(r,Et(o))}}]),e}(),Rh=function(){function e(){Fe(this,e),this.calendar=new jf(new Date),this.el=Oe("div","".concat(lr,"-datepicker")).child(this.calendar.el).hide()}return Le(e,[{key:"setValue",value:function(r){var t=this.calendar;return typeof r=="string"?/^\d{4}-\d{1,2}-\d{1,2}$/.test(r)&&t.setValue(new Date(r.replace(new RegExp("-","g"),"/"))):r instanceof Date&&t.setValue(r),this}},{key:"change",value:function(r){var t=this;this.calendar.selectChange=function(n){r(n),t.hide()}}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}]),e}();function SA(){var e=this.inputText;if(!/^\s*$/.test(e)){var r=this.textlineEl,t=this.textEl,n=this.areaOffset,a=e.split(`
  74. `),s=Math.max.apply(Math,Et(a.map(function(A){return A.length}))),o=r.offset().width/e.length,i=(s+1)*o+5,c=this.viewFn().width-n.left-o,u=a.length;if(i>n.width){var l=i;i>c&&(l=c,u+=parseInt(i/c,10),u+=i%c>0?1:0),t.css("width","".concat(l,"px"))}(u*=this.rowHeight)>n.height&&t.css("height","".concat(u,"px"))}}function Qg(e,r){var t=e.target,n=t.value,a=t.selectionEnd,s="".concat(n.slice(0,a)).concat(r).concat(n.slice(a));t.value=s,t.setSelectionRange(a+1,a+1),this.inputText=s,this.textlineEl.html(s),SA.call(this)}function kg(e){var r=e.keyCode,t=e.altKey;r!==13&&r!==9&&e.stopPropagation(),r===13&&t&&(Qg.call(this,e,`
  75. `),e.stopPropagation()),r!==13||t||e.preventDefault()}function xg(e){var r=e.target.value,t=this.suggest,n=this.textlineEl,a=this.validator,s=this.cell;if(s!==null)if("editable"in s&&s.editable===!0||s.editable===void 0){if(this.inputText=r,a)a.type==="list"?t.search(r):t.hide();else{var o=r.lastIndexOf("=");o!==-1?t.search(r.substring(o+1)):t.hide()}n.html(r),SA.call(this),this.change("input",r)}else e.target.value=s.text;else{if(this.inputText=r,a)a.type==="list"?t.search(r):t.hide();else{var i=r.lastIndexOf("=");i!==-1?t.search(r.substring(i+1)):t.hide()}n.html(r),SA.call(this),this.change("input",r)}}function Fh(e){var r=this.textEl.el;setTimeout(function(){r.focus(),r.setSelectionRange(e,e)},0)}function Hf(e,r){var t=this.textEl,n=this.textlineEl;t.el.blur(),t.val(e),n.html(e),Fh.call(this,r)}function Sg(e){var r=this.inputText,t=this.validator,n=0;if(t&&t.type==="list")this.inputText=e,n=this.inputText.length;else{var a=r.lastIndexOf("="),s=r.substring(0,a+1),o=r.substring(a+1);o=o.indexOf(")")!==-1?o.substring(o.indexOf(")")):"",this.inputText="".concat(s+e.key,"("),n=this.inputText.length,this.inputText+=")".concat(o)}Hf.call(this,this.inputText,n)}function Yf(){this.suggest.setItems(this.formulas)}var _g=function(){function e(r,t,n){var a=this;Fe(this,e),this.viewFn=t,this.rowHeight=n,this.formulas=r,this.suggest=new Xu(r,function(s){Sg.call(a,s)}),this.datepicker=new Rh,this.datepicker.change(function(s){a.setText(function(o){var i=o.getMonth()+1,c=o.getDate();return i<10&&(i="0".concat(i)),c<10&&(c="0".concat(c)),"".concat(o.getFullYear(),"-").concat(i,"-").concat(c)}(s)),a.clear()}),this.areaEl=Oe("div","".concat(lr,"-editor-area")).children(this.textEl=Oe("textarea","").on("input",function(s){return xg.call(a,s)}).on("paste.stop",function(){}).on("keydown",function(s){return kg.call(a,s)}),this.textlineEl=Oe("div","textline"),this.suggest.el,this.datepicker.el).on("mousemove.stop",function(){}).on("mousedown.stop",function(){}),this.el=Oe("div","".concat(lr,"-editor")).child(this.areaEl).hide(),this.suggest.bindInputEvents(this.textEl),this.areaOffset=null,this.freeze={w:0,h:0},this.cell=null,this.inputText="",this.change=function(){}}return Le(e,[{key:"setFreezeLengths",value:function(r,t){this.freeze.w=r,this.freeze.h=t}},{key:"clear",value:function(){this.inputText!==""&&this.change("finished",this.inputText),this.cell=null,this.areaOffset=null,this.inputText="",this.el.hide(),this.textEl.val(""),this.textlineEl.html(""),Yf.call(this),this.datepicker.hide()}},{key:"setOffset",value:function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=this.textEl,a=this.areaEl,s=this.suggest,o=this.freeze,i=this.el;if(r){this.areaOffset=r;var c=r.left,u=r.top,l=r.width,A=r.height,h=r.l,f=r.t,d={left:0,top:0};o.w>h&&o.h>f||(o.w<h&&o.h<f?(d.left=o.w,d.top=o.h):o.w>h?d.top=o.h:o.h>f&&(d.left=o.w)),i.offset(d),a.offset({left:c-d.left-.8,top:u-d.top-.8}),n.offset({width:l-9+.8,height:A-3+.8});var g={left:0};g[t]=A,s.setOffset(g),s.hide()}}},{key:"setCell",value:function(r,t){var n=this.el,a=this.datepicker,s=this.suggest;n.show(),this.cell=r;var o=r&&r.text||"";if(this.setText(o),this.validator=t,t){var i=t.type;i==="date"&&(a.show(),/^\s*$/.test(o)||a.setValue(o)),i==="list"&&(s.setItems(t.values()),s.search(""))}}},{key:"setText",value:function(r){this.inputText=r,Hf.call(this,r,r.length),SA.call(this)}}]),e}();function Dg(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Qu=function(e){Mt(t,e);var r=Dg(t);function t(n){var a,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Fe(this,t),(a=r.call(this,"div","".concat(lr,"-button ").concat(s))).child(tn("button.".concat(n))),a}return Le(t)}(hn);function _A(){return window.devicePixelRatio||1}function $u(){return _A()-.5}function hi(e){return parseInt(e*_A(),10)}function ku(e){var r=hi(e);return r>0?r-.5:.5}var Rg=function(){function e(r,t,n,a){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;Fe(this,e),this.x=r,this.y=t,this.width=n,this.height=a,this.padding=s,this.bgcolor="#ffffff",this.borderTop=null,this.borderRight=null,this.borderBottom=null,this.borderLeft=null}return Le(e,[{key:"setBorders",value:function(r){var t=r.top,n=r.bottom,a=r.left,s=r.right;t&&(this.borderTop=t),s&&(this.borderRight=s),n&&(this.borderBottom=n),a&&(this.borderLeft=a)}},{key:"innerWidth",value:function(){return this.width-2*this.padding-2}},{key:"innerHeight",value:function(){return this.height-2*this.padding-2}},{key:"textx",value:function(r){var t=this.width,n=this.padding,a=this.x;return r==="left"?a+=n:r==="center"?a+=t/2:r==="right"&&(a+=t-n),a}},{key:"texty",value:function(r,t){var n=this.height,a=this.padding,s=this.y;return r==="top"?s+=a:r==="middle"?s+=n/2-t/2:r==="bottom"&&(s+=n-a-t),s}},{key:"topxys",value:function(){var r=this.x,t=this.y;return[[r,t],[r+this.width,t]]}},{key:"rightxys",value:function(){var r=this.x,t=this.y,n=this.width;return[[r+n,t],[r+n,t+this.height]]}},{key:"bottomxys",value:function(){var r=this.x,t=this.y,n=this.width,a=this.height;return[[r,t+a],[r+n,t+a]]}},{key:"leftxys",value:function(){var r=this.x,t=this.y;return[[r,t],[r,t+this.height]]}}]),e}();function Jf(e,r,t,n,a,s,o){var i={x:0,y:0};e==="underline"?i.y=a==="bottom"?0:a==="top"?-(s+2):-s/2:e==="strike"&&(a==="bottom"?i.y=s/2:a==="top"&&(i.y=-(s/2+2))),n==="center"?i.x=o/2:n==="right"&&(i.x=o),this.line([r-i.x,t-i.y],[r-i.x+o,t-i.y])}var Ba=function(){function e(r,t,n){Fe(this,e),this.el=r,this.ctx=r.getContext("2d"),this.resize(t,n),this.ctx.scale(_A(),_A())}return Le(e,[{key:"resize",value:function(r,t){this.el.style.width="".concat(r,"px"),this.el.style.height="".concat(t,"px"),this.el.width=hi(r),this.el.height=hi(t)}},{key:"clear",value:function(){var r=this.el,t=r.width,n=r.height;return this.ctx.clearRect(0,0,t,n),this}},{key:"attr",value:function(r){return Object.assign(this.ctx,r),this}},{key:"save",value:function(){return this.ctx.save(),this.ctx.beginPath(),this}},{key:"restore",value:function(){return this.ctx.restore(),this}},{key:"beginPath",value:function(){return this.ctx.beginPath(),this}},{key:"translate",value:function(r,t){return this.ctx.translate(hi(r),hi(t)),this}},{key:"scale",value:function(r,t){return this.ctx.scale(r,t),this}},{key:"clearRect",value:function(r,t,n,a){return this.ctx.clearRect(r,t,n,a),this}},{key:"fillRect",value:function(r,t,n,a){return this.ctx.fillRect(hi(r)-.5,hi(t)-.5,hi(n),hi(a)),this}},{key:"fillText",value:function(r,t,n){return this.ctx.fillText(r,hi(t),hi(n)),this}},{key:"text",value:function(r,t){var n=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],o=this.ctx,i=a.align,c=a.valign,u=a.font,l=a.color,A=a.strike,h=a.underline,f=t.textx(i);o.save(),o.beginPath(),this.attr({textAlign:i,textBaseline:c,font:"".concat(u.italic?"italic":""," ").concat(u.bold?"bold":""," ").concat(hi(u.size),"px ").concat(u.name),fillStyle:l,strokeStyle:l});var d="".concat(r).split(`
  76. `),g=t.innerWidth(),p=[];d.forEach(function(y){var I=o.measureText(y).width;if(s&&I>hi(g)){for(var E={w:0,len:0,start:0},k=0;k<y.length;k+=1)E.w>=hi(g)&&(p.push(y.substr(E.start,E.len)),E={w:0,len:0,start:k}),E.len+=1,E.w+=o.measureText(y[k]).width+1;E.len>0&&p.push(y.substr(E.start,E.len))}else p.push(y)});var m=(p.length-1)*(u.size+2),v=t.texty(c,m);return p.forEach(function(y){var I=o.measureText(y).width;n.fillText(y,f,v),A&&Jf.call(n,"strike",f,v,i,c,u.size,I),h&&Jf.call(n,"underline",f,v,i,c,u.size,I),v+=u.size+2}),o.restore(),this}},{key:"border",value:function(r,t){var n=this.ctx;return n.lineWidth=$u,n.strokeStyle=t,r==="medium"?n.lineWidth=hi(2)-.5:r==="thick"?n.lineWidth=hi(3):r==="dashed"?n.setLineDash([hi(3),hi(2)]):r==="dotted"?n.setLineDash([hi(1),hi(1)]):r==="double"&&n.setLineDash([hi(2),0]),this}},{key:"line",value:function(){var r=this.ctx;if(arguments.length>1){r.beginPath();var t=Tt(arguments.length<=0?void 0:arguments[0],2),n=t[0],a=t[1];r.moveTo(ku(n),ku(a));for(var s=1;s<arguments.length;s+=1){var o=Tt(s<0||arguments.length<=s?void 0:arguments[s],2),i=o[0],c=o[1];r.lineTo(ku(i),ku(c))}r.stroke()}return this}},{key:"strokeBorders",value:function(r){var t=this.ctx;t.save();var n=r.borderTop,a=r.borderRight,s=r.borderBottom,o=r.borderLeft;n&&(this.border.apply(this,Et(n)),this.line.apply(this,Et(r.topxys()))),a&&(this.border.apply(this,Et(a)),this.line.apply(this,Et(r.rightxys()))),s&&(this.border.apply(this,Et(s)),this.line.apply(this,Et(r.bottomxys()))),o&&(this.border.apply(this,Et(o)),this.line.apply(this,Et(r.leftxys()))),t.restore()}},{key:"dropdown",value:function(r){var t=this.ctx,n=r.x,a=r.y,s=n+r.width-15,o=a+r.height-15;t.save(),t.beginPath(),t.moveTo(hi(s),hi(o)),t.lineTo(hi(s+8),hi(o)),t.lineTo(hi(s+4),hi(o+6)),t.closePath(),t.fillStyle="rgba(0, 0, 0, .45)",t.fill(),t.restore()}},{key:"error",value:function(r){var t=this.ctx,n=r.x,a=r.y,s=n+r.width-1;t.save(),t.beginPath(),t.moveTo(hi(s-8),hi(a-1)),t.lineTo(hi(s),hi(a-1)),t.lineTo(hi(s),hi(a+8)),t.closePath(),t.fillStyle="rgba(255, 0, 0, .65)",t.fill(),t.restore()}},{key:"frozen",value:function(r){var t=this.ctx,n=r.x,a=r.y,s=n+r.width-1;t.save(),t.beginPath(),t.moveTo(hi(s-8),hi(a-1)),t.lineTo(hi(s),hi(a-1)),t.lineTo(hi(s),hi(a+8)),t.closePath(),t.fillStyle="rgba(0, 255, 0, .85)",t.fill(),t.restore()}},{key:"rect",value:function(r,t){var n=this.ctx,a=r.x,s=r.y,o=r.width,i=r.height,c=r.bgcolor;n.save(),n.beginPath(),n.fillStyle=c||"#fff",n.rect(ku(a+1),ku(s+1),hi(o-2),hi(i-2)),n.clip(),n.fill(),t(),n.restore()}}]),e}(),pa=[{key:"Arial",title:"Arial"},{key:"Helvetica",title:"Helvetica"},{key:"Source Sans Pro",title:"Source Sans Pro"},{key:"Comic Sans MS",title:"Comic Sans MS"},{key:"Courier New",title:"Courier New"},{key:"Verdana",title:"Verdana"},{key:"Lato",title:"Lato"}],DA=[{pt:7.5,px:10},{pt:8,px:11},{pt:9,px:12},{pt:10,px:13},{pt:10.5,px:14},{pt:11,px:15},{pt:12,px:16},{pt:14,px:18.7},{pt:15,px:20},{pt:16,px:21.3},{pt:18,px:24},{pt:22,px:29.3},{pt:24,px:32},{pt:26,px:34.7},{pt:36,px:48},{pt:42,px:56}],Fg=function(e,r){var t=Tt(e,1)[0],n=e;if(t==='"')return e.substring(1);var a=1;if(t==="-"&&(n=e.substring(1),a=-1),n[0]>="0"&&n[0]<="9")return a*Number(n);var s=Tt(zt(n),2);return a*r(s[0],s[1])};const Ng={render:function e(r,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];if(r[0]==="="){var s=function(o){for(var i=[],c=[],u=[],l=0,A="",h=1,f="",d=0;d<o.length;d+=1){var g=o.charAt(d);if(g!==" "){if(g>="a"&&g<="z")u.push(g.toUpperCase());else if(g>="0"&&g<="9"||g>="A"&&g<="Z"||g===".")u.push(g);else if(g==='"'){for(d+=1;o.charAt(d)!=='"';)u.push(o.charAt(d)),d+=1;c.push('"'.concat(u.join(""))),u=[]}else if(g==="-"&&/[+\-*/,(]/.test(f))u.push(g);else{if(g!=="("&&u.length>0&&c.push(u.join("")),g===")"){var p=i.pop();if(l===2)try{for(var m=Tt(zt(c.pop()),2),v=m[0],y=m[1],I=Tt(zt(c.pop()),2),E=I[0],k=I[1],R=0,T=E;T<=v;T+=1)for(var j=k;j<=y;j+=1)c.push(Cr(T,j)),R+=1;c.push([p,R])}catch{}else if(l===1||l===3)l===3&&c.push(A),c.push([p,h]),h=1;else for(;p!=="("&&(c.push(p),!(i.length<=0));)p=i.pop();l=0}else if(g==="="||g===">"||g==="<"){var W=o.charAt(d+1);A=g,W!=="="&&W!=="-"||(A+=W,d+=1),l=3}else if(g===":")l=2;else if(g===",")l===3&&c.push(A),l=1,h+=1;else if(g==="("&&u.length>0)i.push(u.join(""));else{if(i.length>0&&(g==="+"||g==="-")){var H=i[i.length-1];if(H!=="("&&c.push(i.pop()),H==="*"||H==="/")for(;i.length>0&&(H=i[i.length-1])!=="(";)c.push(i.pop())}else if(i.length>0){var X=i[i.length-1];X!=="*"&&X!=="/"||c.push(i.pop())}i.push(g)}u=[]}f=g}}for(u.length>0&&c.push(u.join(""));i.length>0;)c.push(i.pop());return c}(r.substring(1));return s.length<=0?r:function(o,i,c,u){for(var l=[],A=0;A<o.length;A+=1){var h=o[A],f=h[0];if(h==="+"){var d=l.pop();l.push(_a("+",l.pop(),d))}else if(h==="-")if(l.length===1){var g=l.pop();l.push(_a("*",g,-1))}else{var p=l.pop();l.push(_a("-",l.pop(),p))}else if(h==="*")l.push(_a("*",l.pop(),l.pop()));else if(h==="/"){var m=l.pop();l.push(_a("/",l.pop(),m))}else if(f==="="||f===">"||f==="<"){var v=l.pop();Number.isNaN(v)||(v=Number(v));var y=l.pop();Number.isNaN(y)||(y=Number(y));var I=!1;f==="="?I=y===v:h===">"?I=y>v:h===">="?I=y>=v:h==="<"?I=y<v:h==="<="&&(I=y<=v),l.push(I)}else if(Array.isArray(h)){for(var E=Tt(h,2),k=E[0],R=E[1],T=[],j=0;j<R;j+=1)T.push(l.pop());l.push(i[k].render(T.reverse()))}else{if(u.includes(h))return 0;(f>="a"&&f<="z"||f>="A"&&f<="Z")&&u.push(h),l.push(Fg(h,c)),u.pop()}}return l[0]}(s,t,function(o,i){return e(n(o,i),t,n,a)},a)}return r}};var Nh=[{key:"SUM",title:xr("formula.sum"),render:function(e){return e.reduce(function(r,t){return _a("+",r,t)},0)}},{key:"AVERAGE",title:xr("formula.average"),render:function(e){return e.reduce(function(r,t){return Number(r)+Number(t)},0)/e.length}},{key:"MAX",title:xr("formula.max"),render:function(e){return Math.max.apply(Math,Et(e.map(function(r){return Number(r)})))}},{key:"MIN",title:xr("formula.min"),render:function(e){return Math.min.apply(Math,Et(e.map(function(r){return Number(r)})))}},{key:"IF",title:xr("formula._if"),render:function(e){var r=Tt(e,3),t=r[0],n=r[1],a=r[2];return t?n:a}},{key:"AND",title:xr("formula.and"),render:function(e){return e.every(function(r){return r})}},{key:"OR",title:xr("formula.or"),render:function(e){return e.some(function(r){return r})}},{key:"CONCAT",title:xr("formula.concat"),render:function(e){return e.join("")}}],eu=Nh,bi={};Nh.forEach(function(e){bi[e.key]=e});var el=function(e){return e},hc=function(e){if(/^(-?\d*.?\d*)$/.test(e)){var r=Ir(Number(e).toFixed(2).toString().split("\\.")),t=r[0],n=r.slice(1);return[t.replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")].concat(Et(n))}return e},tu=[{key:"normal",title:xr("format.normal"),type:"string",render:el},{key:"text",title:xr("format.text"),type:"string",render:el},{key:"number",title:xr("format.number"),type:"number",label:"1,000.12",render:hc},{key:"percent",title:xr("format.percent"),type:"number",label:"10.12%",render:function(e){return"".concat(e,"%")}},{key:"rmb",title:xr("format.rmb"),type:"number",label:"¥10.00",render:function(e){return"¥".concat(hc(e))}},{key:"usd",title:xr("format.usd"),type:"number",label:"$10.00",render:function(e){return"$".concat(hc(e))}},{key:"eur",title:xr("format.eur"),type:"number",label:"€10.00",render:function(e){return"€".concat(hc(e))}},{key:"date",title:xr("format.date"),type:"date",label:"26/09/2008",render:el},{key:"time",title:xr("format.time"),type:"date",label:"15:59:00",render:el},{key:"datetime",title:xr("format.datetime"),type:"date",label:"26/09/2008 15:59:00",render:el},{key:"duration",title:xr("format.duration"),type:"date",label:"24:01:00",render:el}],va={};tu.forEach(function(e){va[e.key]=e});var qf=5,tl={fillStyle:"#f4f5f8"},xu={fillStyle:"#fff",lineWidth:$u,strokeStyle:"#e6e6e6"};function rl(e,r,t){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=e.cellRect(r,t),s=a.left,o=a.top,i=a.width,c=a.height;return new Rg(s,o+n,i,c,qf)}function RA(e,r,t,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,s=r.sortedRowMap,o=r.rows,i=r.cols;if(!o.isHide(t)&&!i.isHide(n)){var c=t;s.has(t)&&(c=s.get(t));var u=r.getCell(c,n);if(u!==null){var l=!1;"editable"in u&&u.editable===!1&&(l=!0);var A=r.getCellStyleOrDefault(c,n),h=rl(r,t,n,a);h.bgcolor=A.bgcolor,A.border!==void 0&&(h.setBorders(A.border),e.strokeBorders(h)),e.rect(h,function(){var f="";f=r.settings.evalPaused?u.text||"":Ng.render(u.text||"",bi,function(g,p){return r.getCellTextOrDefault(p,g)}),A.format&&(f=va[A.format].render(f));var d=Object.assign({},A.font);d.size=function(g){for(var p=0;p<DA.length;p+=1){var m=DA[p];if(m.pt===g)return m.px}return g}(d.size),e.text(f,h,{align:A.align,valign:A.valign,font:d,color:A.color,strike:A.strike,underline:A.underline},A.textwrap),r.validations.getError(t,n)&&e.error(h),l&&e.frozen(h)})}}}function Wf(e){var r=this.data,t=this.draw;if(e){var n=r.autoFilter;if(!n.active())return;var a=n.hrange();e.intersects(a)&&a.each(function(s,o){var i=rl(r,s,o);t.dropdown(i)})}}function FA(e,r,t,n,a){var s=this.draw,o=this.data;s.save(),s.translate(r,t).translate(n,a);var i=o.exceptRowSet,c=o.exceptRowTotalHeight(e.sri,e.eri);s.save(),s.translate(0,-c),e.each(function(l,A){RA(s,o,l,A)},function(l){return function(A){var h=i.has(A);if(h){var f=o.rows.getHeight(A);s.translate(0,-f)}return!h}(l)}),s.restore();var u=new Set;s.save(),s.translate(0,-c),o.eachMergesInView(e,function(l){var A=l.sri,h=l.sci,f=l.eri;if(i.has(A)){if(!u.has(A)){u.add(A);var d=o.rows.sumHeight(A,f+1);s.translate(0,-d)}}else RA(s,o,A,h)}),s.restore(),Wf.call(this,e),s.restore()}function Kf(e,r,t,n){var a=this.draw;a.save(),a.attr({fillStyle:"rgba(75, 137, 255, 0.08)"}).fillRect(e,r,t,n),a.restore()}function NA(e,r,t,n,a,s){var o=this,i=this.draw,c=this.data,u=r.h,l=r.w,A=s+n,h=a+t;i.save(),i.attr(tl),e!=="all"&&e!=="left"||i.fillRect(0,A,t,u),e!=="all"&&e!=="top"||i.fillRect(h,0,l,n);var f=c.selector.range,d=f.sri,g=f.sci,p=f.eri,m=f.eci;i.attr({textAlign:"center",textBaseline:"middle",font:"500 ".concat(hi(12),"px Source Sans Pro"),fillStyle:"#585757",lineWidth:$u(),strokeStyle:"#e6e6e6"}),e!=="all"&&e!=="left"||(c.rowEach(r.sri,r.eri,function(v,y,I){var E=A+y,k=v;i.line([0,E],[t,E]),d<=k&&k<p+1&&Kf.call(o,0,E,t,I),i.fillText(k+1,t/2,E+I/2),v>0&&c.rows.isHide(v-1)&&(i.save(),i.attr({strokeStyle:"#c6c6c6"}),i.line([5,E+5],[t-5,E+5]),i.restore())}),i.line([0,u+A],[t,u+A]),i.line([t,A],[t,u+A])),e!=="all"&&e!=="top"||(c.colEach(r.sci,r.eci,function(v,y,I){var E=h+y,k=v;i.line([E,0],[E,n]),g<=k&&k<m+1&&Kf.call(o,E,0,I,n),i.fillText(nr(k),E+I/2,n/2),v>0&&c.cols.isHide(v-1)&&(i.save(),i.attr({strokeStyle:"#c6c6c6"}),i.line([E+5,5],[E+5,n-5]),i.restore())}),i.line([l+h,0],[l+h,n]),i.line([0,n],[l+h,n])),i.restore()}function Mg(e,r){var t=this.draw;t.save(),t.attr({fillStyle:"#f4f5f8"}).fillRect(0,0,e,r),t.restore()}function MA(e,r,t,n,a){var s=e.sri,o=e.sci,i=e.eri,c=e.eci,u=e.w,l=e.h,A=this.draw,h=this.data,f=h.settings;A.save(),A.attr(xu).translate(r+n,t+a),f.showGrid&&(h.rowEach(s,i,function(d,g,p){d!==s&&A.line([0,g],[u,g]),d===i&&A.line([0,g+p],[u,g+p])}),h.colEach(o,c,function(d,g,p){d!==o&&A.line([g,0],[g,l]),d===c&&A.line([g+p,0],[g+p,l])})),A.restore()}function Tg(e,r,t,n){var a=this.draw,s=this.data,o=s.viewWidth()-e,i=s.viewHeight()-r;a.save().translate(e,r).attr({strokeStyle:"rgba(75, 137, 255, .6)"}),a.line([0,n],[o,n]),a.line([t,0],[t,i]),a.restore()}var Lg=function(){function e(r,t){Fe(this,e),this.el=r,this.draw=new Ba(r,t.viewWidth(),t.viewHeight()),this.data=t}return Le(e,[{key:"resetData",value:function(r){this.data=r,this.render()}},{key:"render",value:function(){var r=this.data,t=r.rows,n=r.cols.indexWidth,a=t.height;this.draw.resize(r.viewWidth(),r.viewHeight()),this.clear();var s=r.viewRange(),o=r.freezeTotalWidth(),i=r.freezeTotalHeight(),c=r.scroll,u=c.x,l=c.y;MA.call(this,s,n,a,o,i),FA.call(this,s,n,a,-u,-l),NA.call(this,"all",s,n,a,o,i),Mg.call(this,n,a);var A=Tt(r.freeze,2),h=A[0],f=A[1];if(h>0||f>0){if(h>0){var d=s.clone();d.sri=0,d.eri=h-1,d.h=i,MA.call(this,d,n,a,o,0),FA.call(this,d,n,a,-u,0),NA.call(this,"top",d,n,a,o,0)}if(f>0){var g=s.clone();g.sci=0,g.eci=f-1,g.w=o,MA.call(this,g,n,a,0,i),NA.call(this,"left",g,n,a,0,i),FA.call(this,g,n,a,0,-l)}var p=r.freezeViewRange();MA.call(this,p,n,a,0,0),NA.call(this,"all",p,n,a,0,0),FA.call(this,p,n,a,0,0),Tg.call(this,n,a,o,i)}}},{key:"clear",value:function(){this.draw.clear()}}]),e}(),TA=[["A3",11.69,16.54],["A4",8.27,11.69],["A5",5.83,8.27],["B4",9.84,13.9],["B5",6.93,9.84]],ru=["landscape","portrait"];function LA(e){return parseInt(96*e,10)}function zf(e){e==="cancel"?this.el.hide():this.toPrint()}function Og(e){var r=this.paper,t=e.target.value,n=TA[t];r.w=LA(n[1]),r.h=LA(n[2]),this.preview()}function Pg(e){var r=this.paper,t=e.target.value,n=ru[t];r.orientation=n,this.preview()}var Gg=function(){function e(r){var t,n;Fe(this,e),this.paper={w:LA(TA[0][1]),h:LA(TA[0][2]),padding:50,orientation:ru[0],get width(){return this.orientation==="landscape"?this.h:this.w},get height(){return this.orientation==="landscape"?this.w:this.h}},this.data=r,this.el=Oe("div","".concat(lr,"-print")).children(Oe("div","".concat(lr,"-print-bar")).children(Oe("div","-title").child("Print settings"),Oe("div","-right").children(Oe("div","".concat(lr,"-buttons")).children(new Qu("cancel").on("click",zf.bind(this,"cancel")),new Qu("next","primary").on("click",zf.bind(this,"next"))))),Oe("div","".concat(lr,"-print-content")).children(this.contentEl=Oe("div","-content"),Oe("div","-sider").child(Oe("form","").children(Oe("fieldset","").children(Oe("label","").child("".concat(tn("print.size"))),(t=Oe("select","")).children.apply(t,Et(TA.map(function(a,s){return Oe("option","").attr("value",s).child("".concat(a[0]," ( ").concat(a[1],"''x").concat(a[2],"'' )"))}))).on("change",Og.bind(this))),Oe("fieldset","").children(Oe("label","").child("".concat(tn("print.orientation"))),(n=Oe("select","")).children.apply(n,Et(ru.map(function(a,s){return Oe("option","").attr("value",s).child("".concat(tn("print.orientations")[s]))}))).on("change",Pg.bind(this))))))).hide()}return Le(e,[{key:"resetData",value:function(r){this.data=r}},{key:"preview",value:function(){var r=this,t=this.data,n=this.paper,a=n.width,s=n.height,o=n.padding,i=a-2*o,c=s-2*o,u=t.contentRange(),l=parseInt(u.h/c,10)+1,A=i/u.w,h=o,f=o;A>1&&(h+=(i-u.w)/2);var d=0,g=0;this.contentEl.html(""),this.canvases=[];for(var p={sri:0,sci:0,eri:0,eci:0},m=function(){var y=0,I=0,E=Oe("div","".concat(lr,"-canvas-card")),k=Oe("canvas","".concat(lr,"-canvas"));r.canvases.push(k.el);var R=new Ba(k.el,a,s);for(R.save(),R.translate(h,f),A<1&&R.scale(A,A);d<=u.eri;d+=1){var T=t.rows.getHeight(d);if(!((y+=T)<c)){I=-(y-T);break}for(var j=0;j<=u.eci;j+=1)RA(R,t,d,j,g),p.eci=j}p.eri=d,R.restore(),R.save(),R.translate(h,f),A<1&&R.scale(A,A);var W=g;t.eachMergesInView(p,function(H){var X=H.sri,x=H.sci;RA(R,t,X,x,W)}),R.restore(),p.sri=p.eri,p.sci=p.eci,g+=I,r.contentEl.child(Oe("div","".concat(lr,"-canvas-card-wraper")).child(E.child(k)))},v=0;v<l;v+=1)m();this.el.show()}},{key:"toPrint",value:function(){this.el.hide();var r=this.paper,t=Oe("iframe","").hide().el;window.document.body.appendChild(t);var n=t.contentWindow,a=n.document,s=document.createElement("style");s.innerHTML=`
  77. @page { size: `.concat(r.width,"px ").concat(r.height,`px; };
  78. canvas {
  79. page-break-before: auto;
  80. page-break-after: always;
  81. image-rendering: pixelated;
  82. };
  83. `),a.head.appendChild(s),this.canvases.forEach(function(o){var i=o.cloneNode(!1);i.getContext("2d").drawImage(o,0,0),a.body.appendChild(i)}),n.print()}}]),e}(),Ug=[{key:"copy",title:xr("contextmenu.copy"),label:"Ctrl+C"},{key:"cut",title:xr("contextmenu.cut"),label:"Ctrl+X"},{key:"paste",title:xr("contextmenu.paste"),label:"Ctrl+V"},{key:"paste-value",title:xr("contextmenu.pasteValue"),label:"Ctrl+Shift+V"},{key:"paste-format",title:xr("contextmenu.pasteFormat"),label:"Ctrl+Alt+V"},{key:"divider"},{key:"insert-row",title:xr("contextmenu.insertRow")},{key:"insert-column",title:xr("contextmenu.insertColumn")},{key:"divider"},{key:"delete-row",title:xr("contextmenu.deleteRow")},{key:"delete-column",title:xr("contextmenu.deleteColumn")},{key:"delete-cell-text",title:xr("contextmenu.deleteCellText")},{key:"hide",title:xr("contextmenu.hide")},{key:"divider"},{key:"validation",title:xr("contextmenu.validation")},{key:"divider"},{key:"cell-printable",title:xr("contextmenu.cellprintable")},{key:"cell-non-printable",title:xr("contextmenu.cellnonprintable")},{key:"divider"},{key:"cell-editable",title:xr("contextmenu.celleditable")},{key:"cell-non-editable",title:xr("contextmenu.cellnoneditable")}];function jg(e){var r=this;return e.key==="divider"?Oe("div","".concat(lr,"-item divider")):Oe("div","".concat(lr,"-item")).on("click",function(){r.itemClick(e.key),r.hide()}).children(e.title(),Oe("div","label").child(e.label||""))}function OA(){var e=this;return Ug.map(function(r){return jg.call(e,r)})}var Ie=function(){function e(r){var t,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];Fe(this,e),this.menuItems=OA.call(this),this.el=(t=Oe("div","".concat(lr,"-contextmenu"))).children.apply(t,Et(this.menuItems)).hide(),this.viewFn=r,this.itemClick=function(){},this.isHide=n,this.setMode("range")}return Le(e,[{key:"setMode",value:function(r){var t=this.menuItems[12];r==="row-col"?t.show():t.hide()}},{key:"hide",value:function(){var r=this.el;r.hide(),Ln(r)}},{key:"setPosition",value:function(r,t){if(!this.isHide){var n=this.el,a=n.show().offset().width,s=this.viewFn(),o=s.height/2,i=r;s.width-r<=a&&(i-=a),n.css("left","".concat(i,"px")),t>o?n.css("bottom","".concat(s.height-t,"px")).css("max-height","".concat(t,"px")).css("top","auto"):n.css("top","".concat(t,"px")).css("max-height","".concat(s.height-t,"px")).css("bottom","auto"),Ai(n)}}}]),e}();function P(){return P=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,r,t){var n=function(s,o){for(;!Object.prototype.hasOwnProperty.call(s,o)&&(s=Ur(s))!==null;);return s}(e,r);if(n){var a=Object.getOwnPropertyDescriptor(n,r);return a.get?a.get.call(arguments.length<3?e:t):a.value}},P.apply(this,arguments)}var L=function(){function e(r,t,n){Fe(this,e),this.tip=tn("toolbar.".concat(r.replace(/-[a-z]/g,function(a){return a[1].toUpperCase()}))),t&&(this.tip+=" (".concat(t,")")),this.tag=r,this.shortcut=t,this.value=n,this.el=this.element(),this.change=function(){}}return Le(e,[{key:"element",value:function(){var r=this.tip;return Oe("div","".concat(lr,"-toolbar-btn")).on("mouseenter",function(t){(function(n,a){if(!a.classList.contains("active")){var s=a.getBoundingClientRect(),o=s.left,i=s.top,c=s.width,u=s.height,l=Oe("div","".concat(lr,"-tooltip")).html(n).show();document.body.appendChild(l.el);var A=l.box();l.css("left","".concat(o+c/2-A.width/2,"px")).css("top","".concat(i+u+2,"px")),Sr(a,"mouseleave",function(){document.body.contains(l.el)&&document.body.removeChild(l.el)}),Sr(a,"click",function(){document.body.contains(l.el)&&document.body.removeChild(l.el)})}})(r,t.target)}).attr("data-tooltip",r)}},{key:"setState",value:function(){}}]),e}();function V(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var ne=function(e){Mt(t,e);var r=V(t);function t(){return Fe(this,t),r.apply(this,arguments)}return Le(t,[{key:"dropdown",value:function(){}},{key:"getValue",value:function(n){return n}},{key:"element",value:function(){var n=this,a=this.tag;return this.dd=this.dropdown(),this.dd.change=function(s){return n.change(a,n.getValue(s))},P(Ur(t.prototype),"element",this).call(this).child(this.dd)}},{key:"setState",value:function(n){n&&(this.value=n,this.dd.setTitle(n))}}]),t}(L);function fe(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var we=function(e){Mt(t,e);var r=fe(t);function t(n,a,s,o){var i,c;Fe(this,t),(c=r.call(this,"div","".concat(lr,"-dropdown ").concat(o))).title=n,c.change=function(){},c.headerClick=function(){},typeof n=="string"?c.title=Oe("div","".concat(lr,"-dropdown-title")).child(n):s&&c.title.addClass("arrow-left"),c.contentEl=Oe("div","".concat(lr,"-dropdown-content")).css("width",a).hide();for(var u=arguments.length,l=new Array(u>4?u-4:0),A=4;A<u;A++)l[A-4]=arguments[A];return(i=c).setContentChildren.apply(i,l),c.headerEl=Oe("div","".concat(lr,"-dropdown-header")),c.headerEl.on("click",function(){c.contentEl.css("display")!=="block"?c.show():c.hide()}).children(c.title,s?Oe("div","".concat(lr,"-icon arrow-right")).child(Oe("div","".concat(lr,"-icon-img arrow-down"))):""),c.children(c.headerEl,c.contentEl),c}return Le(t,[{key:"setContentChildren",value:function(){var n;this.contentEl.html(""),arguments.length>0&&(n=this.contentEl).children.apply(n,arguments)}},{key:"setTitle",value:function(n){this.title.html(n),this.hide()}},{key:"show",value:function(){var n=this;this.contentEl.show(),this.parent().active(),Ai(this.parent(),function(){n.hide()})}},{key:"hide",value:function(){this.parent().active(!1),this.contentEl.hide(),Ln(this.parent())}}]),t}(hn);function Qe(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var je=function(e){Mt(t,e);var r=Qe(t);function t(n,a){var s;Fe(this,t);var o=new Uo("align-".concat(a)),i=n.map(function(c){return(u="align-".concat(c),Oe("div","".concat(lr,"-item")).child(new Uo(u))).on("click",function(){s.setTitle(c),s.change(c)});var u});return s=r.call.apply(r,[this,o,"auto",!0,"bottom-left"].concat(Et(i)))}return Le(t,[{key:"setTitle",value:function(n){this.title.setName("align-".concat(n)),this.hide()}}]),t}(we);function rt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var gt=function(e){Mt(t,e);var r=rt(t);function t(n){return Fe(this,t),r.call(this,"align","",n)}return Le(t,[{key:"dropdown",value:function(){var n=this.value;return new je(["left","center","right"],n)}}]),t}(ne);function vt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var mt=function(e){Mt(t,e);var r=vt(t);function t(n){return Fe(this,t),r.call(this,"valign","",n)}return Le(t,[{key:"dropdown",value:function(){var n=this.value;return new je(["top","middle","bottom"],n)}}]),t}(ne);function We(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var ct=function(e){Mt(t,e);var r=We(t);function t(){return Fe(this,t),r.apply(this,arguments)}return Le(t,[{key:"element",value:function(){var n=this,a=this.tag;return P(Ur(t.prototype),"element",this).call(this).child(new Uo(a)).on("click",function(){return n.click()})}},{key:"click",value:function(){this.change(this.tag,this.toggle())}},{key:"setState",value:function(n){this.el.active(n)}},{key:"toggle",value:function(){return this.el.toggle()}},{key:"active",value:function(){return this.el.hasClass("active")}}]),t}(L);function He(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var it=function(e){Mt(t,e);var r=He(t);function t(){return Fe(this,t),r.call(this,"autofilter")}return Le(t,[{key:"setState",value:function(){}}]),t}(ct);function Xe(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var lt=function(e){Mt(t,e);var r=Xe(t);function t(){return Fe(this,t),r.call(this,"font-bold","Ctrl+B")}return Le(t)}(ct);function Qt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Nt=function(e){Mt(t,e);var r=Qt(t);function t(){return Fe(this,t),r.call(this,"font-italic","Ctrl+I")}return Le(t)}(ct);function Rt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var pr=function(e){Mt(t,e);var r=Rt(t);function t(){return Fe(this,t),r.call(this,"strike","Ctrl+U")}return Le(t)}(ct);function $t(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Pr=function(e){Mt(t,e);var r=$t(t);function t(){return Fe(this,t),r.call(this,"underline","Ctrl+U")}return Le(t)}(ct),Vt=["#ffffff","#000100","#e7e5e6","#445569","#5b9cd6","#ed7d31","#a5a5a5","#ffc001","#4371c6","#71ae47"],Xr=[["#f2f2f2","#7f7f7f","#d0cecf","#d5dce4","#deeaf6","#fce5d5","#ededed","#fff2cd","#d9e2f3","#e3efd9"],["#d8d8d8","#595959","#afabac","#adb8ca","#bdd7ee","#f7ccac","#dbdbdb","#ffe59a","#b3c6e7","#c5e0b3"],["#bfbfbf","#3f3f3f","#756f6f","#8596b0","#9cc2e6","#f4b184","#c9c9c9","#fed964","#8eaada","#a7d08c"],["#a5a5a5","#262626","#3a3839","#333f4f","#2e75b5","#c45a10","#7b7b7b","#bf8e01","#2f5596","#538136"],["#7f7f7f","#0c0c0c","#171516","#222a35","#1f4e7a","#843c0a","#525252","#7e6000","#203864","#365624"]],Vn=["#c00000","#fe0000","#fdc101","#ffff01","#93d051","#00b04e","#01b0f1","#0170c1","#012060","#7030a0"];function It(e){var r=this;return Oe("td","").child(Oe("div","".concat(lr,"-color-palette-cell")).on("click.stop",function(){return r.change(e)}).css("background-color",e))}var rr=Le(function e(){var r,t,n,a=this;Fe(this,e),this.el=Oe("div","".concat(lr,"-color-palette")),this.change=function(){};var s=Oe("table","").children((r=Oe("tbody","")).children.apply(r,[(t=Oe("tr","".concat(lr,"-theme-color-placeholders"))).children.apply(t,Et(Vt.map(function(o){return It.call(a,o)})))].concat(Et(Xr.map(function(o){var i;return(i=Oe("tr","".concat(lr,"-theme-colors"))).children.apply(i,Et(o.map(function(c){return It.call(a,c)})))})),[(n=Oe("tr","".concat(lr,"-standard-colors"))).children.apply(n,Et(Vn.map(function(o){return It.call(a,o)})))])));this.el.child(s)});function De(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Ar=function(e){Mt(t,e);var r=De(t);function t(n,a){var s;Fe(this,t);var o=new Uo(n).css("height","16px").css("border-bottom","3px solid ".concat(a)),i=new rr;return i.change=function(c){s.setTitle(c),s.change(c)},s=r.call(this,o,"auto",!1,"bottom-left",i.el)}return Le(t,[{key:"setTitle",value:function(n){this.title.css("border-color",n),this.hide()}}]),t}(we);function li(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Rr=[["thin",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" style="user-select: none;"></line></svg>'],["medium",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="2" style="user-select: none;"><line x1="0" y1="1.0" x2="50" y2="1.0" stroke-width="2" stroke="black" style="user-select: none;"></line></svg>'],["thick",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="3" style="user-select: none;"><line x1="0" y1="1.5" x2="50" y2="1.5" stroke-width="3" stroke="black" style="user-select: none;"></line></svg>'],["dashed",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="2" style="user-select: none;"></line></svg>'],["dotted",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="1" style="user-select: none;"></line></svg>']],pi=function(e){Mt(t,e);var r=li(t);function t(n){var a;Fe(this,t);var s=new Uo("line-type"),o=0,i=Rr.map(function(c,u){return Oe("div","".concat(lr,"-item state ").concat(n===c[0]?"checked":"")).on("click",function(){i[o].toggle("checked"),i[u].toggle("checked"),o=u,a.hide(),a.change(c)}).child(Oe("div","".concat(lr,"-line-type")).html(c[1]))});return a=r.call.apply(r,[this,s,"auto",!1,"bottom-left"].concat(Et(i)))}return Le(t)}(we);function Gr(){var e;return Oe("table","").child((e=Oe("tbody","")).children.apply(e,arguments))}function ti(e){var r=this;return Oe("td","").child(Oe("div","".concat(lr,"-border-palette-cell")).child(new Uo("border-".concat(e))).on("click",function(){r.mode=e;var t=r.mode,n=r.style,a=r.color;r.change({mode:t,style:n,color:a})}))}var Ht=Le(function e(){var r,t,n=this;Fe(this,e),this.color="#000",this.style="thin",this.mode="all",this.change=function(){},this.ddColor=new Ar("line-color",this.color),this.ddColor.change=function(s){n.color=s},this.ddType=new pi(this.style),this.ddType.change=function(s){var o=Tt(s,1)[0];n.style=o},this.el=Oe("div","".concat(lr,"-border-palette"));var a=Gr(Oe("tr","").children(Oe("td","".concat(lr,"-border-palette-left")).child(Gr((r=Oe("tr","")).children.apply(r,Et(["all","inside","horizontal","vertical","outside"].map(function(s){return ti.call(n,s)}))),(t=Oe("tr","")).children.apply(t,Et(["left","top","right","bottom","none"].map(function(s){return ti.call(n,s)}))))),Oe("td","".concat(lr,"-border-palette-right")).children(Oe("div","".concat(lr,"-toolbar-btn")).child(this.ddColor.el),Oe("div","".concat(lr,"-toolbar-btn")).child(this.ddType.el))));this.el.child(a)});function jt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Kn=function(e){Mt(t,e);var r=jt(t);function t(){var n;Fe(this,t);var a=new Uo("border-all"),s=new Ht;return s.change=function(o){n.change(o),n.hide()},n=r.call(this,a,"auto",!1,"bottom-left",s.el)}return Le(t)}(we);function En(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var sn=function(e){Mt(t,e);var r=En(t);function t(){return Fe(this,t),r.call(this,"border")}return Le(t,[{key:"dropdown",value:function(){return new Kn}}]),t}(ne);function Wa(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var ho=function(e){Mt(t,e);var r=Wa(t);function t(){return Fe(this,t),r.apply(this,arguments)}return Le(t,[{key:"element",value:function(){var n=this;return P(Ur(t.prototype),"element",this).call(this).child(new Uo(this.tag)).on("click",function(){return n.change(n.tag)})}},{key:"setState",value:function(n){this.el.disabled(n)}}]),t}(L);function Ri(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var qi=function(e){Mt(t,e);var r=Ri(t);function t(){return Fe(this,t),r.call(this,"clearformat")}return Le(t)}(ho);function Io(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var ma=function(e){Mt(t,e);var r=Io(t);function t(){return Fe(this,t),r.call(this,"paintformat")}return Le(t,[{key:"setState",value:function(){}}]),t}(ct);function Ns(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Xs=function(e){Mt(t,e);var r=Ns(t);function t(n){return Fe(this,t),r.call(this,"color",void 0,n)}return Le(t,[{key:"dropdown",value:function(){var n=this.tag,a=this.value;return new Ar(n,a)}}]),t}(ne);function ve(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var cr=function(e){Mt(t,e);var r=ve(t);function t(n){return Fe(this,t),r.call(this,"bgcolor",void 0,n)}return Le(t,[{key:"dropdown",value:function(){var n=this.tag,a=this.value;return new Ar(n,a)}}]),t}(ne);function Yt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var st=function(e){Mt(t,e);var r=Yt(t);function t(){var n;Fe(this,t);var a=DA.map(function(s){return Oe("div","".concat(lr,"-item")).on("click",function(){n.setTitle("".concat(s.pt)),n.change(s)}).child("".concat(s.pt))});return n=r.call.apply(r,[this,"10","60px",!0,"bottom-left"].concat(Et(a)))}return Le(t)}(we);function nt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var xt=function(e){Mt(t,e);var r=nt(t);function t(){return Fe(this,t),r.call(this,"font-size")}return Le(t,[{key:"getValue",value:function(n){return n.pt}},{key:"dropdown",value:function(){return new st}}]),t}(ne);function Er(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var _r=function(e){Mt(t,e);var r=Er(t);function t(){var n;Fe(this,t);var a=pa.map(function(s){return Oe("div","".concat(lr,"-item")).on("click",function(){n.setTitle(s.title),n.change(s)}).child(s.title)});return n=r.call.apply(r,[this,pa[0].title,"160px",!0,"bottom-left"].concat(Et(a)))}return Le(t)}(we);function Pt(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Jr=function(e){Mt(t,e);var r=Pt(t);function t(){return Fe(this,t),r.call(this,"font-name")}return Le(t,[{key:"getValue",value:function(n){return n.key}},{key:"dropdown",value:function(){return new _r}}]),t}(ne);function wn(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Vr=function(e){Mt(t,e);var r=wn(t);function t(){var n;Fe(this,t);var a=tu.slice(0);return a.splice(2,0,{key:"divider"}),a.splice(8,0,{key:"divider"}),a=a.map(function(s){var o=Oe("div","".concat(lr,"-item"));return s.key==="divider"?o.addClass("divider"):(o.child(s.title()).on("click",function(){n.setTitle(s.title()),n.change(s)}),s.label&&o.child(Oe("div","label").html(s.label))),o}),n=r.call.apply(r,[this,"Normal","220px",!0,"bottom-left"].concat(Et(a)))}return Le(t,[{key:"setTitle",value:function(n){for(var a=0;a<tu.length;a+=1)tu[a].key===n&&this.title.html(tu[a].title());this.hide()}}]),t}(we);function Un(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var ya=function(e){Mt(t,e);var r=Un(t);function t(){return Fe(this,t),r.call(this,"format")}return Le(t,[{key:"getValue",value:function(n){return n.key}},{key:"dropdown",value:function(){return new Vr}}]),t}(ne);function Fi(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Ms=function(e){Mt(t,e);var r=Fi(t);function t(){var n;Fe(this,t);var a=Nh.map(function(s){return Oe("div","".concat(lr,"-item")).on("click",function(){n.hide(),n.change(s)}).child(s.key)});return n=r.call.apply(r,[this,new Uo("formula"),"180px",!0,"bottom-left"].concat(Et(a)))}return Le(t)}(we);function Dc(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var fc=function(e){Mt(t,e);var r=Dc(t);function t(){return Fe(this,t),r.call(this,"formula")}return Le(t,[{key:"getValue",value:function(n){return n.key}},{key:"dropdown",value:function(){return new Ms}}]),t}(ne);function Tl(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Ka=function(e){Mt(t,e);var r=Tl(t);function t(){return Fe(this,t),r.call(this,"freeze")}return Le(t)}(ct);function Ts(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Mh=function(e){Mt(t,e);var r=Ts(t);function t(){return Fe(this,t),r.call(this,"merge")}return Le(t,[{key:"setState",value:function(n,a){this.el.active(n).disabled(a)}}]),t}(ct);function Rc(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Vf=function(e){Mt(t,e);var r=Rc(t);function t(){return Fe(this,t),r.call(this,"redo","Ctrl+Y")}return Le(t)}(ho);function Hg(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Yg=function(e){Mt(t,e);var r=Hg(t);function t(){return Fe(this,t),r.call(this,"undo","Ctrl+Z")}return Le(t)}(ho);function Zf(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var Xf=function(e){Mt(t,e);var r=Zf(t);function t(){return Fe(this,t),r.call(this,"print","Ctrl+P")}return Le(t)}(ho);function nl(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var PA=function(e){Mt(t,e);var r=nl(t);function t(){return Fe(this,t),r.call(this,"textwrap")}return Le(t)}(ct);function u1(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var l2=function(e){Mt(t,e);var r=u1(t);function t(){var n;Fe(this,t);var a=new Uo("ellipsis"),s=Oe("div","".concat(lr,"-toolbar-more"));return(n=r.call(this,a,"auto",!1,"bottom-right",s)).moreBtns=s,n.contentEl.css("max-width","420px"),n}return Le(t)}(we),Jg=function(e){Mt(t,e);var r=u1(t);function t(){var n;return Fe(this,t),(n=r.call(this,"more")).el.hide(),n}return Le(t,[{key:"dropdown",value:function(){return new l2}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}]),t}(ne);function GA(){return Oe("div","".concat(lr,"-toolbar-divider"))}function dc(){var e=this;this.btns2=[],this.items.forEach(function(r){if(Array.isArray(r))r.forEach(function(o){var i=o.el,c=i.box(),u=i.computedStyle(),l=u.marginLeft,A=u.marginRight;e.btns2.push([i,c.width+parseInt(l,10)+parseInt(A,10)])});else{var t=r.box(),n=r.computedStyle(),a=n.marginLeft,s=n.marginRight;e.btns2.push([r,t.width+parseInt(a,10)+parseInt(s,10)])}})}function Th(){var e,r,t=this.el,n=this.btns,a=this.moreEl,s=this.btns2,o=a.dd,i=o.moreBtns,c=o.contentEl;t.css("width","".concat(this.widthFn()-60,"px"));var u=t.box(),l=160,A=12,h=[],f=[];s.forEach(function(d,g){var p=Tt(d,2),m=p[0],v=p[1];l+=v,g===s.length-1||l<u.width?h.push(m):(A+=v,f.push(m))}),(e=n.html("")).children.apply(e,h),(r=i.html("")).children.apply(r,f),c.css("width","".concat(A,"px")),f.length>0?a.show():a.hide()}var A2=function(){function e(r,t){var n=this,a=arguments.length>2&&arguments[2]!==void 0&&arguments[2];Fe(this,e),this.data=r,this.change=function(){},this.widthFn=t,this.isHide=a;var s=r.defaultStyle();this.items=[[this.undoEl=new Yg,this.redoEl=new Vf,new Xf,this.paintformatEl=new ma,this.clearformatEl=new qi],GA(),[this.formatEl=new ya],GA(),[this.fontEl=new Jr,this.fontSizeEl=new xt],GA(),[this.boldEl=new lt,this.italicEl=new Nt,this.underlineEl=new Pr,this.strikeEl=new pr,this.textColorEl=new Xs(s.color)],GA(),[this.fillColorEl=new cr(s.bgcolor),this.borderEl=new sn,this.mergeEl=new Mh],GA(),[this.alignEl=new gt(s.align),this.valignEl=new mt(s.valign),this.textwrapEl=new PA],GA(),[this.freezeEl=new Ka,this.autofilterEl=new it,this.formulaEl=new fc,this.moreEl=new Jg]],this.el=Oe("div","".concat(lr,"-toolbar")),this.btns=Oe("div","".concat(lr,"-toolbar-btns")),this.items.forEach(function(o){Array.isArray(o)?o.forEach(function(i){n.btns.child(i.el),i.change=function(){n.change.apply(n,arguments)}}):n.btns.child(o.el)}),this.el.child(this.btns),a?this.el.hide():(this.reset(),setTimeout(function(){dc.call(n),Th.call(n)},0),Sr(window,"resize",function(){Th.call(n)}))}return Le(e,[{key:"paintformatActive",value:function(){return this.paintformatEl.active()}},{key:"paintformatToggle",value:function(){this.paintformatEl.toggle()}},{key:"trigger",value:function(r){this["".concat(r,"El")].click()}},{key:"resetData",value:function(r){this.data=r,this.reset()}},{key:"reset",value:function(){if(!this.isHide){var r=this.data,t=r.getSelectedCellStyle();this.undoEl.setState(!r.canUndo()),this.redoEl.setState(!r.canRedo()),this.mergeEl.setState(r.canUnmerge(),!r.selector.multiple()),this.autofilterEl.setState(!r.canAutofilter());var n=t.font,a=t.format;this.formatEl.setState(a),this.fontEl.setState(n.name),this.fontSizeEl.setState(n.size),this.boldEl.setState(n.bold),this.italicEl.setState(n.italic),this.underlineEl.setState(t.underline),this.strikeEl.setState(t.strike),this.textColorEl.setState(t.color),this.fillColorEl.setState(t.bgcolor),this.alignEl.setState(t.align),this.valignEl.setState(t.valign),this.textwrapEl.setState(t.textwrap),this.freezeEl.setState(r.freezeIsActive())}}}]),e}(),h2=function(){function e(r,t){var n,a=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"600px";Fe(this,e),this.title=r,this.el=Oe("div","".concat(lr,"-modal")).css("width",s).children(Oe("div","".concat(lr,"-modal-header")).children(new Uo("close").on("click.stop",function(){return a.hide()}),this.title),(n=Oe("div","".concat(lr,"-modal-content"))).children.apply(n,Et(t))).hide()}return Le(e,[{key:"show",value:function(){var r=this;this.dimmer=Oe("div","".concat(lr,"-dimmer active")),document.body.appendChild(this.dimmer.el);var t=this.el.show().box(),n=t.width,a=t.height,s=document.documentElement,o=s.clientHeight,i=s.clientWidth;this.el.offset({left:(i-n)/2,top:(o-a)/3}),window.xkeydownEsc=function(c){c.keyCode===27&&r.hide()},Sr(window,"keydown",window.xkeydownEsc)}},{key:"hide",value:function(){this.el.hide(),document.body.removeChild(this.dimmer.el),br(window,"keydown",window.xkeydownEsc),delete window.xkeydownEsc}}]),e}(),il=function(){function e(r,t){var n=this;Fe(this,e),this.vchange=function(){},this.el=Oe("div","".concat(lr,"-form-input")),this.input=Oe("input","").css("width",r).on("input",function(a){return n.vchange(a)}).attr("placeholder",t),this.el.child(this.input)}return Le(e,[{key:"focus",value:function(){var r=this;setTimeout(function(){r.input.el.focus()},10)}},{key:"hint",value:function(r){this.input.attr("placeholder",r)}},{key:"val",value:function(r){return this.input.val(r)}}]),e}(),qg=function(){function e(r,t,n){var a=this,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(i){return i},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){};Fe(this,e),this.key=r,this.getTitle=s,this.vchange=function(){},this.el=Oe("div","".concat(lr,"-form-select")),this.suggest=new Xu(t.map(function(i){return{key:i,title:a.getTitle(i)}}),function(i){a.itemClick(i.key),o(i.key),a.vchange(i.key)},n,this.el),this.el.children(this.itemEl=Oe("div","input-text").html(this.getTitle(r)),this.suggest.el).on("click",function(){return a.show()})}return Le(e,[{key:"show",value:function(){this.suggest.search("")}},{key:"itemClick",value:function(r){this.key=r,this.itemEl.html(this.getTitle(r))}},{key:"val",value:function(r){return r!==void 0?(this.key=r,this.itemEl.html(this.getTitle(r)),this):this.key}}]),e}(),f2={number:/(^\d+$)|(^\d+(\.\d{0,4})?$)/,date:/^\d{4}-\d{1,2}-\d{1,2}$/},al=function(){function e(r,t,n,a){var s=this;Fe(this,e),this.label="",this.rule=t,n&&(this.label=Oe("label","label").css("width","".concat(a,"px")).html(n)),this.tip=Oe("div","tip").child("tip").hide(),this.input=r,this.input.vchange=function(){return s.validate()},this.el=Oe("div","".concat(lr,"-form-field")).children(this.label,r.el,this.tip)}return Le(e,[{key:"isShow",value:function(){return this.el.css("display")!=="none"}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"val",value:function(r){return this.input.val(r)}},{key:"hint",value:function(r){this.input.hint(r)}},{key:"validate",value:function(){var r=this.input,t=this.rule,n=this.tip,a=this.el,s=r.val();return t.required&&/^\s*$/.test(s)?(n.html(tn("validation.required")),a.addClass("error"),!1):(t.type||t.pattern)&&!(t.pattern||f2[t.type]).test(s)?(n.html(tn("validation.notMatch")),a.addClass("error"),!1):(a.removeClass("error"),!0)}}]),e}();function Wg(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var d2=function(e){Mt(t,e);var r=Wg(t);function t(){var n;Fe(this,t);var a=new al(new qg("cell",["cell"],"100%",function(h){return tn("dataValidation.modeType.".concat(h))}),{required:!0},"".concat(tn("dataValidation.range"),":"),100),s=new al(new il("120px","E3 or E3:F12"),{required:!0,pattern:/^([A-Z]{1,2}[1-9]\d*)(:[A-Z]{1,2}[1-9]\d*)?$/}),o=new al(new qg("list",["list","number","date","phone","email"],"100%",function(h){return tn("dataValidation.type.".concat(h))},function(h){return n.criteriaSelected(h)}),{required:!0},"".concat(tn("dataValidation.criteria"),":"),100),i=new al(new qg("be",["be","nbe","eq","neq","lt","lte","gt","gte"],"160px",function(h){return tn("dataValidation.operator.".concat(h))},function(h){return n.criteriaOperatorSelected(h)}),{required:!0}).hide(),c=new al(new il("70px","10"),{required:!0}).hide(),u=new al(new il("70px","100"),{required:!0,type:"number"}).hide(),l=new al(new il("120px","a,b,c"),{required:!0}),A=new al(new il("70px","10"),{required:!0,type:"number"}).hide();return(n=r.call(this,tn("contextmenu.validation"),[Oe("div","".concat(lr,"-form-fields")).children(a.el,s.el),Oe("div","".concat(lr,"-form-fields")).children(o.el,i.el,c.el,u.el,A.el,l.el),Oe("div","".concat(lr,"-buttons")).children(new Qu("cancel").on("click",function(){return n.btnClick("cancel")}),new Qu("remove").on("click",function(){return n.btnClick("remove")}),new Qu("save","primary").on("click",function(){return n.btnClick("save")}))])).mf=a,n.rf=s,n.cf=o,n.of=i,n.minvf=c,n.maxvf=u,n.vf=A,n.svf=l,n.change=function(){},n}return Le(t,[{key:"showVf",value:function(n){var a=n==="date"?"2018-11-12":"10",s=this.vf;s.input.hint(a),s.show()}},{key:"criteriaSelected",value:function(n){var a=this.of,s=this.minvf,o=this.maxvf,i=this.vf,c=this.svf;n==="date"||n==="number"?(a.show(),s.rule.type=n,o.rule.type=n,n==="date"?(s.hint("2018-11-12"),o.hint("2019-11-12")):(s.hint("10"),o.hint("100")),s.show(),o.show(),i.hide(),c.hide()):(n==="list"?c.show():c.hide(),i.hide(),a.hide(),s.hide(),o.hide())}},{key:"criteriaOperatorSelected",value:function(n){if(n){var a=this.minvf,s=this.maxvf,o=this.vf;if(n==="be"||n==="nbe")a.show(),s.show(),o.hide();else{var i=this.cf.val();o.rule.type=i,i==="date"?o.hint("2018-11-12"):o.hint("10"),o.show(),a.hide(),s.hide()}}}},{key:"btnClick",value:function(n){if(n==="cancel")this.hide();else if(n==="remove")this.change("remove"),this.hide();else if(n==="save"){for(var a=["mf","rf","cf","of","svf","vf","minvf","maxvf"],s=0;s<a.length;s+=1){var o=this[a[s]];if(o.isShow()&&!o.validate())return}var i=this.mf.val(),c=this.rf.val(),u=this.cf.val(),l=this.of.val(),A=this.svf.val();u!=="number"&&u!=="date"||(A=l==="be"||l==="nbe"?[this.minvf.val(),this.maxvf.val()]:this.vf.val()),this.change("save",i,c,{type:u,operator:l,required:!1,value:A}),this.hide()}}},{key:"setValue",value:function(n){if(n){var a=this.mf,s=this.rf,o=this.cf,i=this.of,c=this.svf,u=this.vf,l=this.minvf,A=this.maxvf,h=n.mode,f=n.ref,d=n.validator||{type:"list"},g=d.type,p=d.operator,m=d.value;a.val(h||"cell"),s.val(f),o.val(g),i.val(p),Array.isArray(m)?(l.val(m[0]),A.val(m[1])):(c.val(m||""),u.val(m||"")),this.criteriaSelected(g),this.criteriaOperatorSelected(p)}this.show()}}]),t}(h2);function l1(e){return Oe("div","".concat(lr,"-item ").concat(e))}function $f(e){var r=this;return l1("state").child(tn("sort.".concat(e))).on("click.stop",function(){return r.itemClick(e)})}function g2(e){var r=this,t=this.filterbEl,n=this.filterValues;t.html(""),Object.keys(e).forEach(function(a,s){var o=e[a],i=n.includes(a)?"checked":"";t.child(Oe("div","".concat(lr,"-item state ").concat(i)).on("click.stop",function(){return r.filterClick(s,a)}).children(a===""?tn("filter.empty"):a,Oe("div","label").html("(".concat(o,")"))))})}function A1(){var e=this.filterhEl,r=this.filterValues,t=this.values;e.html("".concat(r.length," / ").concat(t.length)),e.checked(r.length===t.length)}var p2=function(){function e(){var r=this;Fe(this,e),this.filterbEl=Oe("div","".concat(lr,"-body")),this.filterhEl=Oe("div","".concat(lr,"-header state")).on("click.stop",function(){return r.filterClick(0,"all")}),this.el=Oe("div","".concat(lr,"-sort-filter")).children(this.sortAscEl=$f.call(this,"asc"),this.sortDescEl=$f.call(this,"desc"),l1("divider"),Oe("div","".concat(lr,"-filter")).children(this.filterhEl,this.filterbEl),Oe("div","".concat(lr,"-buttons")).children(new Qu("cancel").on("click",function(){return r.btnClick("cancel")}),new Qu("ok","primary").on("click",function(){return r.btnClick("ok")}))).hide(),this.ci=null,this.sortDesc=null,this.values=null,this.filterValues=[]}return Le(e,[{key:"btnClick",value:function(r){if(r==="ok"){var t=this.ci,n=this.sort,a=this.filterValues;this.ok&&this.ok(t,n,"in",a)}this.hide()}},{key:"itemClick",value:function(r){this.sort=r;var t=this.sortAscEl,n=this.sortDescEl;t.checked(r==="asc"),n.checked(r==="desc")}},{key:"filterClick",value:function(r,t){var n=this.filterbEl,a=this.filterValues,s=this.values,o=n.children();t==="all"?o.length===a.length?(this.filterValues=[],o.forEach(function(i){return Oe(i).checked(!1)})):(this.filterValues=Array.from(s),o.forEach(function(i){return Oe(i).checked(!0)})):Oe(o[r]).toggle("checked")?a.push(t):a.splice(a.findIndex(function(i){return i===t}),1),A1.call(this)}},{key:"set",value:function(r,t,n,a){this.ci=r;var s=this.sortAscEl,o=this.sortDescEl;a!==null?(this.sort=a.order,s.checked(a.asc()),o.checked(a.desc())):(this.sortDesc=null,s.checked(!1),o.checked(!1)),this.values=Object.keys(t),this.filterValues=n?Array.from(n.value):Object.keys(t),g2.call(this,t,n),A1.call(this)}},{key:"setOffset",value:function(r){var t=this;this.el.offset(r).show();var n=1;Ai(this.el,function(){n<=0&&t.hide(),n-=1})}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide(),Ln(this.el)}}]),e}();function h1(e,r){var t=Oe("div","".concat(lr,"-toast")),n=Oe("div","".concat(lr,"-dimmer active"));t.children(Oe("div","".concat(lr,"-toast-header")).children(new Uo("close").on("click.stop",function(){return document.body.removeChild(t.el),void document.body.removeChild(n.el)}),e),Oe("div","".concat(lr,"-toast-content")).html(r)),document.body.appendChild(t.el),document.body.appendChild(n.el);var a=t.box(),s=a.width,o=a.height,i=document.documentElement,c=i.clientHeight,u=i.clientWidth;t.offset({left:(u-s)/2,top:(c-o)/3})}function Kg(e,r){var t,n=this;return function(){for(var a=n,s=arguments.length,o=new Array(s),i=0;i<s;i++)o[i]=arguments[i];var c=o;t||(t=setTimeout(function(){t=null,e.apply(a,c)},r))}}function v2(){var e=this.data,r=this.verticalScrollbar,t=this.horizontalScrollbar,n=e.getSelectedRect(),a=n.l,s=n.t,o=n.left,i=n.top,c=n.width,u=n.height,l=this.getTableOffset();if(Math.abs(o)+c>l.width)t.move({left:a+c-l.width});else{var A=e.freezeTotalWidth();o<A&&t.move({left:a-1-A})}if(Math.abs(i)+u>l.height)r.move({top:s+u-l.height-1});else{var h=e.freezeTotalHeight();i<h&&r.move({top:s-1-h})}}function Ll(e,r,t){var n=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],a=arguments.length>4&&arguments[4]!==void 0&&arguments[4];if(r!==-1||t!==-1){var s=this.table,o=this.selector,i=this.toolbar,c=this.data;this.contextMenu.setMode(r===-1||t===-1?"row-col":"range");var u=c.getCell(r,t);e?(o.setEnd(r,t,a),this.trigger("cells-selected",u,o.range)):(o.set(r,t,n),this.trigger("cell-selected",u,r,t)),i.reset(),s.render()}}function nu(e,r){var t=this.selector,n=this.data,a=n.rows,s=n.cols,o=Tt(t.indexes,2),i=o[0],c=o[1],u=t.range,l=u.eri,A=u.eci;if(e){var h=Tt(t.moveIndexes,2);i=h[0],c=h[1]}r==="left"?c>0&&(c-=1):r==="right"?(A!==c&&(c=A),c<s.len-1&&(c+=1)):r==="up"?i>0&&(i-=1):r==="down"?(l!==i&&(i=l),i<a.len-1&&(i+=1)):r==="row-first"?c=0:r==="row-last"?c=s.len-1:r==="col-first"?i=0:r==="col-last"&&(i=a.len-1),e&&(t.moveIndexes=[i,c]),Ll.call(this,e,i,c),v2.call(this)}function m2(e){if(e.buttons===0&&e.target.className!=="".concat(lr,"-resizer-hover")){var r=e.offsetX,t=e.offsetY,n=this.rowResizer,a=this.colResizer,s=this.tableEl,o=this.data,i=o.rows,c=o.cols;if(r>c.indexWidth&&t>i.height)return n.hide(),void a.hide();var u=s.box(),l=o.getCellRectByXY(e.offsetX,e.offsetY);l.ri>=0&&l.ci===-1?(l.width=c.indexWidth,n.show(l,{width:u.width}),i.isHide(l.ri-1)?n.showUnhide(l.ri):n.hideUnhide()):n.hide(),l.ri===-1&&l.ci>=0?(l.height=i.height,a.show(l,{height:u.height}),c.isHide(l.ci-1)?a.showUnhide(l.ci):a.hideUnhide()):a.hide()}}function y2(e){var r=this.verticalScrollbar,t=this.horizontalScrollbar,n=this.data,a=r.scroll().top,s=t.scroll().left,o=n.rows,i=n.cols,c=e.deltaY,u=e.deltaX,l=function(g,p){var m=g,v=0;do v=p(m),m+=1;while(v<=0);return v},A=function(g){if(g>0){var p=n.scroll.ri+1;if(p<o.len){var m=l(p,function(I){return o.getHeight(I)});r.move({top:a+m-1})}}else{var v=n.scroll.ri-1;if(v>=0){var y=l(v,function(I){return o.getHeight(I)});r.move({top:v===0?0:a-y})}}},h=Math.abs(c),f=Math.abs(u),d=Math.max(h,f);/Firefox/i.test(window.navigator.userAgent)&&Kg(A(e.detail),50),d===f&&Kg(function(g){if(g>0){var p=n.scroll.ci+1;if(p<i.len){var m=l(p,function(I){return i.getWidth(I)});t.move({left:s+m-1})}}else{var v=n.scroll.ci-1;if(v>=0){var y=l(v,function(I){return i.getWidth(I)});t.move({left:v===0?0:s-y})}}}(u),50),d===h&&Kg(A(c),50)}function I2(e,r){var t=this.verticalScrollbar,n=this.horizontalScrollbar,a=t.scroll().top,s=n.scroll().left;e==="left"||e==="right"?n.move({left:s-r}):e!=="up"&&e!=="down"||t.move({top:a-r})}function zg(){var e=this.data,r=this.verticalScrollbar,t=this.getTableOffset().height,n=e.exceptRowTotalHeight(0,-1);r.set(t,e.rows.totalHeight()-n)}function Vg(){var e=this.data,r=this.horizontalScrollbar,t=this.getTableOffset().width;e&&r.set(t,e.cols.totalWidth())}function b2(){var e=this.selector,r=this.data,t=this.editor,n=Tt(r.freeze,2),a=n[0],s=n[1];if(a>0||s>0){var o=r.freezeTotalWidth(),i=r.freezeTotalHeight();t.setFreezeLengths(o,i)}e.resetAreaOffset()}function Ls(){var e=this.tableEl,r=this.overlayerEl,t=this.overlayerCEl,n=this.table,a=this.toolbar,s=this.selector,o=this.el,i=this.getTableOffset(),c=this.getRect();e.attr(c),r.offset(c),t.offset(i),o.css("width","".concat(c.width,"px")),zg.call(this),Vg.call(this),b2.call(this),n.render(),a.reset(),s.reset()}function Lh(){var e=this.data,r=this.selector;e.clearClipboard(),r.hideClipboard()}function Zg(){var e=this.data,r=this.selector;e.copy(),e.copyToSystemClipboard(),r.showClipboard()}function f1(){var e=this.data,r=this.selector;e.cut(),r.showClipboard()}function Oh(e,r){var t=this.data;if(t.settings.mode!=="read"){if(t.paste(e,function(a){return h1("Tip",a)}))Ls.call(this);else if(r){var n=r.clipboardData.getData("text/plain");this.data.pasteFromText(n),Ls.call(this)}}}function C2(){this.data.hideRowsOrCols(),Ls.call(this)}function d1(e,r){this.data.unhideRowsOrCols(e,r),Ls.call(this)}function E2(){this.data.autofilter(),Ls.call(this)}function w2(){var e=this.toolbar;e.paintformatActive()&&(Oh.call(this,"format"),Lh.call(this),e.paintformatToggle())}function g1(e){var r=this,t=this.selector,n=this.data,a=this.table,s=this.sortFilter,o=e.offsetX,i=e.offsetY,c=e.target.className==="".concat(lr,"-selector-corner"),u=n.getCellRectByXY(o,i),l=u.left,A=u.top,h=u.width,f=u.height,d=u.ri,g=u.ci,p=n.autoFilter;if(p.includes(d,g)&&l+h-20<o&&A+f-20<i){var m=p.items(g,function(v,y){return n.rows.getCell(v,y)});return s.hide(),s.set(g,m,p.getFilter(g),p.getSort(g)),void s.setOffset({left:l,top:A+f+2})}e.shiftKey||(c?t.showAutofill(d,g):Ll.call(this,!1,d,g),ei(window,function(v){var y=n.getCellRectByXY(v.offsetX,v.offsetY);d=y.ri,g=y.ci,c?t.showAutofill(d,g):v.buttons!==1||v.shiftKey||Ll.call(r,!0,d,g,!0,!0)},function(){c&&t.arange&&n.settings.mode!=="read"&&n.autofill(t.arange,"all",function(v){return h1("Tip",v)})&&a.render(),t.hideAutofill(),w2.call(r)})),c||e.buttons!==1||e.shiftKey&&Ll.call(this,!0,d,g)}function Ph(){var e=this.editor,r=this.data.getSelectedRect(),t=this.getTableOffset(),n="top";r.top>t.height/2&&(n="bottom"),e.setOffset(r,n)}function Gh(){var e=this.editor,r=this.data;r.settings.mode!=="read"&&(Ph.call(this),e.setCell(r.getSelectedCell(),r.getSelectedValidator()),Lh.call(this))}function B2(e){var r=this,t=this.data,n=this.table,a=this.selector;t.scrolly(e,function(){a.resetBRLAreaOffset(),Ph.call(r),n.render()})}function Da(e){var r=this,t=this.data,n=this.table,a=this.selector;t.scrollx(e,function(){a.resetBRTAreaOffset(),Ph.call(r),n.render()})}function Q2(e,r){var t=e.ri,n=this.table,a=this.selector;this.data.rows.setHeight(t,r),n.render(),a.resetAreaOffset(),zg.call(this),Ph.call(this)}function k2(e,r){var t=e.ci,n=this.table,a=this.selector;this.data.cols.setWidth(t,r),n.render(),a.resetAreaOffset(),Vg.call(this),Ph.call(this)}function Xg(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"finished",t=this.data,n=this.table;if(t.settings.mode!=="read"){t.setSelectedCellText(e,r);var a=t.selector,s=a.ri,o=a.ci;r==="finished"?n.render():this.trigger("cell-edited",e,s,o)}}function Ol(e){var r=this.data;r.settings.mode!=="read"&&(e==="insert-row"?r.insert("row"):e==="delete-row"?r.delete("row"):e==="insert-column"?r.insert("column"):e==="delete-column"?r.delete("column"):e==="delete-cell"?r.deleteCell():e==="delete-cell-format"?r.deleteCell("format"):e==="delete-cell-text"?r.deleteCell("text"):e==="cell-printable"?r.setSelectedCellAttr("printable",!0):e==="cell-non-printable"?r.setSelectedCellAttr("printable",!1):e==="cell-editable"?r.setSelectedCellAttr("editable",!0):e==="cell-non-editable"&&r.setSelectedCellAttr("editable",!1),Lh.call(this),Ls.call(this))}function ed(e,r){var t=this.data;if(e==="undo")this.undo();else if(e==="redo")this.redo();else if(e==="print")this.print.preview();else if(e==="paintformat")r===!0?Zg.call(this):Lh.call(this);else if(e==="clearformat")Ol.call(this,"delete-cell-format");else if(e!=="link"){if(e!=="chart")if(e==="autofilter")E2.call(this);else if(e==="freeze")if(r){var n=t.selector,a=n.ri,s=n.ci;this.freeze(a,s)}else this.freeze(0,0);else t.setSelectedCellAttr(e,r),e!=="formula"||t.selector.multiple()||Gh.call(this),Ls.call(this)}}function $g(e,r,t,n){this.data.setAutoFilter(e,r,t,n),Ls.call(this)}function x2(){var e,r,t,n,a,s,o=this,i=this.selector,c=this.overlayerEl,u=this.rowResizer,l=this.colResizer,A=this.verticalScrollbar,h=this.horizontalScrollbar,f=this.editor,d=this.contextMenu,g=this.toolbar,p=this.modalValidation,m=this.sortFilter;c.on("mousemove",function(v){m2.call(o,v)}).on("mousedown",function(v){f.clear(),d.hide(),v.buttons===2?(o.data.xyInSelectedRect(v.offsetX,v.offsetY)||g1.call(o,v),d.setPosition(v.offsetX,v.offsetY),v.stopPropagation()):v.detail===2?Gh.call(o):g1.call(o,v)}).on("mousewheel.stop",function(v){y2.call(o,v)}).on("mouseout",function(v){var y=v.offsetX;v.offsetY<=0&&l.hide(),y<=0&&u.hide()}),i.inputChange=function(v){Xg.call(o,v,"input"),Gh.call(o)},e=c.el,t=(r={move:function(v,y){I2.call(o,v,y)}}).move,n=r.end,a=0,s=0,Sr(e,"touchstart",function(v){var y=v.touches[0],I=y.pageX,E=y.pageY;a=I,s=E}),Sr(e,"touchmove",function(v){if(t){var y=v.changedTouches[0],I=y.pageX,E=y.pageY,k=I-a,R=E-s;(Math.abs(k)>10||Math.abs(R)>10)&&(Li(k,R,v,t),a=I,s=E),v.preventDefault()}}),Sr(e,"touchend",function(v){if(n){var y=v.changedTouches[0],I=y.pageX,E=y.pageY;Li(I-a,E-s,v,n)}}),g.change=function(v,y){return ed.call(o,v,y)},m.ok=function(v,y,I,E){return $g.call(o,v,y,I,E)},u.finishedFn=function(v,y){Q2.call(o,v,y)},l.finishedFn=function(v,y){k2.call(o,v,y)},u.unhideFn=function(v){d1.call(o,"row",v)},l.unhideFn=function(v){d1.call(o,"col",v)},A.moveFn=function(v,y){B2.call(o,v,y)},h.moveFn=function(v,y){Da.call(o,v,y)},f.change=function(v,y){Xg.call(o,y,v)},p.change=function(v){if(v==="save"){for(var y,I=arguments.length,E=new Array(I>1?I-1:0),k=1;k<I;k++)E[k-1]=arguments[k];(y=o.data).addValidation.apply(y,E)}else o.data.removeValidation()},d.itemClick=function(v){v==="validation"?p.setValue(o.data.getSelectedValidation()):v==="copy"?Zg.call(o):v==="cut"?f1.call(o):v==="paste"?Oh.call(o,"all"):v==="paste-value"?Oh.call(o,"text"):v==="paste-format"?Oh.call(o,"format"):v==="hide"?C2.call(o):Ol.call(o,v)},Sr(window,"resize",function(){o.reload()}),Sr(window,"click",function(v){o.focusing=c.contains(v.target)}),Sr(window,"paste",function(v){o.focusing&&(Oh.call(o,"all",v),v.preventDefault())}),Sr(window,"keydown",function(v){if(o.focusing){var y=v.keyCode||v.which,I=v.key,E=v.ctrlKey,k=v.shiftKey,R=v.metaKey;if(E||R)switch(y){case 90:o.undo(),v.preventDefault();break;case 89:o.redo(),v.preventDefault();break;case 67:Zg.call(o),v.preventDefault();break;case 88:f1.call(o),v.preventDefault();break;case 85:g.trigger("underline"),v.preventDefault();break;case 86:break;case 37:nu.call(o,k,"row-first"),v.preventDefault();break;case 38:nu.call(o,k,"col-first"),v.preventDefault();break;case 39:nu.call(o,k,"row-last"),v.preventDefault();break;case 40:nu.call(o,k,"col-last"),v.preventDefault();break;case 32:Ll.call(o,!1,-1,o.data.selector.ci,!1),v.preventDefault();break;case 66:g.trigger("bold");break;case 73:g.trigger("italic")}else{switch(y){case 32:k&&Ll.call(o,!1,o.data.selector.ri,-1,!1);break;case 27:d.hide(),Lh.call(o);break;case 37:nu.call(o,k,"left"),v.preventDefault();break;case 38:nu.call(o,k,"up"),v.preventDefault();break;case 39:nu.call(o,k,"right"),v.preventDefault();break;case 40:nu.call(o,k,"down"),v.preventDefault();break;case 9:f.clear(),nu.call(o,!1,k?"left":"right"),v.preventDefault();break;case 13:f.clear(),nu.call(o,!1,k?"up":"down"),v.preventDefault();break;case 8:Ol.call(o,"delete-cell-text"),v.preventDefault()}I==="Delete"?(Ol.call(o,"delete-cell-text"),v.preventDefault()):y>=65&&y<=90||y>=48&&y<=57||y>=96&&y<=105||v.key==="="?(Xg.call(o,v.key,"input"),Gh.call(o)):y===113&&Gh.call(o)}}})}var S2=function(){function e(r,t){var n=this;Fe(this,e),this.eventMap=function(){var c=new Map;function u(A,h){var f;return c.has(A)&&(f=c.get(A),Array.isArray(f)&&f.push(h)||!1)||c.set(A,[].concat(h))}function l(A,h){var f,d;return c.has(A)&&(d=(f=c.get(A)).indexOf(h))>=0&&f.splice(d,1)&&c.get(A).length===0&&c.delete(A)}return{get current(){return c},on:u,once:function(A,h){return u(A,function f(){for(var d=arguments.length,g=new Array(d),p=0;p<d;p++)g[p]=arguments[p];h.call.apply(h,[null].concat(g)),l(A,f)})},fire:function(A,h){return c.has(A)&&function(){var f,d=gi(c.get(A));try{for(d.s();!(f=d.n()).done;){var g=f.value;g.call.apply(g,[null].concat(Et(h)))}}catch(p){d.e(p)}finally{d.f()}}()},removeListener:l,removeAllListeners:function(){c.clear()}}}();var a=t.settings,s=a.view,o=a.showToolbar,i=a.showContextmenu;this.el=Oe("div","".concat(lr,"-sheet")),this.toolbar=new A2(t,s.width,!o),this.print=new Gg(t),r.children(this.toolbar.el,this.el,this.print.el),this.data=t,this.tableEl=Oe("canvas","".concat(lr,"-table")),this.rowResizer=new Lt(!1,t.rows.height),this.colResizer=new Lt(!0,t.cols.minWidth),this.verticalScrollbar=new ro(!0),this.horizontalScrollbar=new ro(!1),this.editor=new _g(eu,function(){return n.getTableOffset()},t.rows.height),this.modalValidation=new d2,this.contextMenu=new Ie(function(){return n.getRect()},!i),this.selector=new sa(t),this.overlayerCEl=Oe("div","".concat(lr,"-overlayer-content")).children(this.editor.el,this.selector.el),this.overlayerEl=Oe("div","".concat(lr,"-overlayer")).child(this.overlayerCEl),this.sortFilter=new p2,this.el.children(this.tableEl,this.overlayerEl.el,this.rowResizer.el,this.colResizer.el,this.verticalScrollbar.el,this.horizontalScrollbar.el,this.contextMenu.el,this.modalValidation.el,this.sortFilter.el),this.table=new Lg(this.tableEl.el,t),x2.call(this),Ls.call(this),Ll.call(this,!1,0,0)}return Le(e,[{key:"on",value:function(r,t){return this.eventMap.on(r,t),this}},{key:"trigger",value:function(r){for(var t=this.eventMap,n=arguments.length,a=new Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];t.fire(r,a)}},{key:"resetData",value:function(r){this.editor.clear(),this.data=r,zg.call(this),Vg.call(this),this.toolbar.resetData(r),this.print.resetData(r),this.selector.resetData(r),this.table.resetData(r)}},{key:"loadData",value:function(r){return this.data.setData(r),Ls.call(this),this}},{key:"freeze",value:function(r,t){return this.data.setFreeze(r,t),Ls.call(this),this}},{key:"undo",value:function(){this.data.undo(),Ls.call(this)}},{key:"redo",value:function(){this.data.redo(),Ls.call(this)}},{key:"reload",value:function(){return Ls.call(this),this}},{key:"getRect",value:function(){var r=this.data;return{width:r.viewWidth(),height:r.viewHeight()}}},{key:"getTableOffset",value:function(){var r=this.data,t=r.rows,n=r.cols,a=this.getRect(),s=a.width,o=a.height;return{width:s-n.indexWidth,height:o-t.height,left:n.indexWidth,top:t.height}}}]),e}();function p1(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}var v1=function(e){Mt(t,e);var r=p1(t);function t(n){var a;Fe(this,t);var s=new Uo("ellipsis");return(a=r.call(this,s,"auto",!1,"top-left")).contentClick=n,a}return Le(t,[{key:"reset",value:function(n){var a=this,s=n.map(function(o,i){return Oe("div","".concat(lr,"-item")).css("width","150px").css("font-weight","normal").on("click",function(){a.contentClick(i),a.hide()}).child(o)});this.setContentChildren.apply(this,Et(s))}},{key:"setTitle",value:function(){}}]),t}(we),_2=[{key:"delete",title:xr("contextmenu.deleteSheet")}];function m1(e){var r=this;return Oe("div","".concat(lr,"-item")).child(e.title()).on("click",function(){r.itemClick(e.key),r.hide()})}function D2(){var e=this;return _2.map(function(r){return m1.call(e,r)})}var R2=function(){function e(){var r;Fe(this,e),this.el=(r=Oe("div","".concat(lr,"-contextmenu")).css("width","160px")).children.apply(r,Et(D2.call(this))).hide(),this.itemClick=function(){}}return Le(e,[{key:"hide",value:function(){var r=this.el;r.hide(),Ln(r)}},{key:"setOffset",value:function(r){var t=this.el;t.offset(r),t.show(),Ai(t)}}]),e}(),F2=function(){function e(){var r=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){};Fe(this,e),this.swapFunc=n,this.updateFunc=s,this.dataNames=[],this.activeEl=null,this.deleteEl=null,this.items=[],this.moreEl=new v1(function(o){r.clickSwap2(r.items[o])}),this.contextMenu=new R2,this.contextMenu.itemClick=a,this.el=Oe("div","".concat(lr,"-bottombar")).children(this.contextMenu.el,this.menuEl=Oe("ul","".concat(lr,"-menu")).child(Oe("li","").children(new Uo("add").on("click",function(){t()}),Oe("span","").child(this.moreEl))))}return Le(e,[{key:"addItem",value:function(r,t){var n=this;this.dataNames.push(r);var a=Oe("li",t?"active":"").child(r);a.on("click",function(){n.clickSwap2(a)}).on("contextmenu",function(s){var o=s.target,i=o.offsetLeft,c=o.offsetHeight;n.contextMenu.setOffset({left:i,bottom:c+1}),n.deleteEl=a}).on("dblclick",function(){var s=a.html(),o=new il("auto","");o.val(s),o.input.on("blur",function(i){var c=i.target.value,u=n.dataNames.findIndex(function(l){return l===s});n.renameItem(u,c)}),a.html("").child(o.el),o.focus()}),t&&this.clickSwap(a),this.items.push(a),this.menuEl.child(a),this.moreEl.reset(this.dataNames)}},{key:"renameItem",value:function(r,t){this.dataNames.splice(r,1,t),this.moreEl.reset(this.dataNames),this.items[r].html("").child(t),this.updateFunc(r,t)}},{key:"clear",value:function(){var r=this;this.items.forEach(function(t){r.menuEl.removeChild(t.el)}),this.items=[],this.dataNames=[],this.moreEl.reset(this.dataNames)}},{key:"deleteItem",value:function(){var r=this.activeEl,t=this.deleteEl;if(this.items.length>1){var n=this.items.findIndex(function(s){return s===t});if(this.items.splice(n,1),this.dataNames.splice(n,1),this.menuEl.removeChild(t.el),this.moreEl.reset(this.dataNames),r===t){var a=Tt(this.items,1)[0];return this.activeEl=a,this.activeEl.toggle(),[n,0]}return[n,-1]}return[-1]}},{key:"clickSwap2",value:function(r){var t=this.items.findIndex(function(n){return n===r});this.clickSwap(r),this.activeEl.toggle(),this.swapFunc(t)}},{key:"clickSwap",value:function(r){this.activeEl!==null&&this.activeEl.toggle(),this.activeEl=r}}]),e}();function y1(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}var I1=function(){function e(r){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Fe(this,e);var a=r;this.options=function(o){for(var i=1;i<arguments.length;i++){var c=arguments[i]!=null?arguments[i]:{};i%2?y1(Object(c),!0).forEach(function(u){ht(o,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(c)):y1(Object(c)).forEach(function(u){Object.defineProperty(o,u,Object.getOwnPropertyDescriptor(c,u))})}return o}({showBottomBar:!0},n),this.sheetIndex=1,this.datas=[],typeof r=="string"&&(a=document.querySelector(r)),this.bottombar=this.options.showBottomBar?new F2(function(){var o=t.addSheet();t.sheet.resetData(o)},function(o){var i=t.datas[o];t.sheet.resetData(i)},function(){t.deleteSheet()},function(o,i){t.datas[o].name=i}):null,this.data=this.addSheet();var s=Oe("div","".concat(lr)).on("contextmenu",function(o){return o.preventDefault()});a.appendChild(s.el),this.sheet=new S2(s,this.data),this.bottombar!==null&&s.child(this.bottombar.el)}return Le(e,[{key:"addSheet",value:function(r){var t=this,n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=r||"sheet".concat(this.sheetIndex),s=new jn(a,this.options);return s.change=function(){for(var o,i=arguments.length,c=new Array(i),u=0;u<i;u++)c[u]=arguments[u];(o=t.sheet).trigger.apply(o,["change"].concat(c))},this.datas.push(s),this.bottombar!==null&&this.bottombar.addItem(a,n),this.sheetIndex+=1,s}},{key:"deleteSheet",value:function(){if(this.bottombar!==null){var r=Tt(this.bottombar.deleteItem(),2),t=r[0],n=r[1];t>=0&&(this.datas.splice(t,1),n>=0&&this.sheet.resetData(this.datas[n]))}}},{key:"loadData",value:function(r){var t=Array.isArray(r)?r:[r];if(this.bottombar!==null&&this.bottombar.clear(),this.datas=[],t.length>0)for(var n=0;n<t.length;n+=1){var a=t[n],s=this.addSheet(a.name,n===0);s.setData(a),n===0&&this.sheet.resetData(s)}return this}},{key:"getData",value:function(){return this.datas.map(function(r){return r.getData()})}},{key:"cellText",value:function(r,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return this.datas[a].setCellText(r,t,n,"finished"),this}},{key:"cell",value:function(r,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return this.datas[n].getCell(r,t)}},{key:"cellStyle",value:function(r,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return this.datas[n].getCellStyle(r,t)}},{key:"reRender",value:function(){return this.sheet.table.render(),this}},{key:"on",value:function(r,t){return this.sheet.on(r,t),this}},{key:"validate",value:function(){return this.data.validations.errors.size<=0}},{key:"change",value:function(r){return this.sheet.on("change",r),this}}],[{key:"locale",value:function(r,t){Ei(r,t)}}]),e}();function b1(e,r,t,n,a,s,o){try{var i=e[s](o),c=i.value}catch(u){return void t(u)}i.done?r(c):Promise.resolve(c).then(n,a)}function Oi(e){return function(){var r=this,t=arguments;return new Promise(function(n,a){var s=e.apply(r,t);function o(c){b1(s,n,a,o,i,"next",c)}function i(c){b1(s,n,a,o,i,"throw",c)}o(void 0)})}}function C1(e,r){this.v=e,this.k=r}function E1(e){return new C1(e,0)}function UA(e){var r,t;function n(s,o){try{var i=e[s](o),c=i.value,u=c instanceof C1;Promise.resolve(u?c.v:c).then(function(l){if(u){var A=s==="return"?"return":"next";if(!c.k||l.done)return n(A,l);l=e[A](l).value}a(i.done?"return":"normal",l)},function(l){n("throw",l)})}catch(l){a("throw",l)}}function a(s,o){switch(s){case"return":r.resolve({value:o,done:!0});break;case"throw":r.reject(o);break;default:r.resolve({value:o,done:!1})}(r=r.next)?n(r.key,r.arg):t=null}this._invoke=function(s,o){return new Promise(function(i,c){var u={key:s,arg:o,resolve:i,reject:c,next:null};t?t=t.next=u:(r=t=u,n(s,o))})},typeof e.return!="function"&&(this.return=void 0)}window&&(window.x_spreadsheet=function(e){return new I1(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{})},window.x_spreadsheet.locale=function(e,r){return Ei(e,r)}),UA.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},UA.prototype.next=function(e){return this._invoke("next",e)},UA.prototype.throw=function(e){return this._invoke("throw",e)},UA.prototype.return=function(e){return this._invoke("return",e)};var mi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Iu<"u"?Iu:typeof self<"u"?self:{};function w1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var td={exports:{}},B1={exports:{}};(function(e){function r(t){return e.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(B1);var Q1=B1.exports;(function(e){var r=Q1.default;function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=t=function(){return a},e.exports.__esModule=!0,e.exports.default=e.exports;var n,a={},s=Object.prototype,o=s.hasOwnProperty,i=Object.defineProperty||function(S,O,F){S[O]=F.value},c=typeof Symbol=="function"?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",A=c.toStringTag||"@@toStringTag";function h(S,O,F){return Object.defineProperty(S,O,{value:F,enumerable:!0,configurable:!0,writable:!0}),S[O]}try{h({},"")}catch{h=function(O,F,Y){return O[F]=Y}}function f(S,O,F,Y){var M=O&&O.prototype instanceof I?O:I,z=Object.create(M.prototype),ue=new Q(Y||[]);return i(z,"_invoke",{value:x(S,F,ue)}),z}function d(S,O,F){try{return{type:"normal",arg:S.call(O,F)}}catch(Y){return{type:"throw",arg:Y}}}a.wrap=f;var g="suspendedStart",p="suspendedYield",m="executing",v="completed",y={};function I(){}function E(){}function k(){}var R={};h(R,u,function(){return this});var T=Object.getPrototypeOf,j=T&&T(T(B([])));j&&j!==s&&o.call(j,u)&&(R=j);var W=k.prototype=I.prototype=Object.create(R);function H(S){["next","throw","return"].forEach(function(O){h(S,O,function(F){return this._invoke(O,F)})})}function X(S,O){function F(M,z,ue,ae){var Ne=d(S[M],S,z);if(Ne.type!=="throw"){var Ge=Ne.arg,Ye=Ge.value;return Ye&&r(Ye)=="object"&&o.call(Ye,"__await")?O.resolve(Ye.__await).then(function(Ae){F("next",Ae,ue,ae)},function(Ae){F("throw",Ae,ue,ae)}):O.resolve(Ye).then(function(Ae){Ge.value=Ae,ue(Ge)},function(Ae){return F("throw",Ae,ue,ae)})}ae(Ne.arg)}var Y;i(this,"_invoke",{value:function(M,z){function ue(){return new O(function(ae,Ne){F(M,z,ae,Ne)})}return Y=Y?Y.then(ue,ue):ue()}})}function x(S,O,F){var Y=g;return function(M,z){if(Y===m)throw new Error("Generator is already running");if(Y===v){if(M==="throw")throw z;return{value:n,done:!0}}for(F.method=M,F.arg=z;;){var ue=F.delegate;if(ue){var ae=N(ue,F);if(ae){if(ae===y)continue;return ae}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(Y===g)throw Y=v,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);Y=m;var Ne=d(S,O,F);if(Ne.type==="normal"){if(Y=F.done?v:p,Ne.arg===y)continue;return{value:Ne.arg,done:F.done}}Ne.type==="throw"&&(Y=v,F.method="throw",F.arg=Ne.arg)}}}function N(S,O){var F=O.method,Y=S.iterator[F];if(Y===n)return O.delegate=null,F==="throw"&&S.iterator.return&&(O.method="return",O.arg=n,N(S,O),O.method==="throw")||F!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+F+"' method")),y;var M=d(Y,S.iterator,O.arg);if(M.type==="throw")return O.method="throw",O.arg=M.arg,O.delegate=null,y;var z=M.arg;return z?z.done?(O[S.resultName]=z.value,O.next=S.nextLoc,O.method!=="return"&&(O.method="next",O.arg=n),O.delegate=null,y):z:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,y)}function C(S){var O={tryLoc:S[0]};1 in S&&(O.catchLoc=S[1]),2 in S&&(O.finallyLoc=S[2],O.afterLoc=S[3]),this.tryEntries.push(O)}function w(S){var O=S.completion||{};O.type="normal",delete O.arg,S.completion=O}function Q(S){this.tryEntries=[{tryLoc:"root"}],S.forEach(C,this),this.reset(!0)}function B(S){if(S||S===""){var O=S[u];if(O)return O.call(S);if(typeof S.next=="function")return S;if(!isNaN(S.length)){var F=-1,Y=function M(){for(;++F<S.length;)if(o.call(S,F))return M.value=S[F],M.done=!1,M;return M.value=n,M.done=!0,M};return Y.next=Y}}throw new TypeError(r(S)+" is not iterable")}return E.prototype=k,i(W,"constructor",{value:k,configurable:!0}),i(k,"constructor",{value:E,configurable:!0}),E.displayName=h(k,A,"GeneratorFunction"),a.isGeneratorFunction=function(S){var O=typeof S=="function"&&S.constructor;return!!O&&(O===E||(O.displayName||O.name)==="GeneratorFunction")},a.mark=function(S){return Object.setPrototypeOf?Object.setPrototypeOf(S,k):(S.__proto__=k,h(S,A,"GeneratorFunction")),S.prototype=Object.create(W),S},a.awrap=function(S){return{__await:S}},H(X.prototype),h(X.prototype,l,function(){return this}),a.AsyncIterator=X,a.async=function(S,O,F,Y,M){M===void 0&&(M=Promise);var z=new X(f(S,O,F,Y),M);return a.isGeneratorFunction(O)?z:z.next().then(function(ue){return ue.done?ue.value:z.next()})},H(W),h(W,A,"Generator"),h(W,u,function(){return this}),h(W,"toString",function(){return"[object Generator]"}),a.keys=function(S){var O=Object(S),F=[];for(var Y in O)F.push(Y);return F.reverse(),function M(){for(;F.length;){var z=F.pop();if(z in O)return M.value=z,M.done=!1,M}return M.done=!0,M}},a.values=B,Q.prototype={constructor:Q,reset:function(S){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(w),!S)for(var O in this)O.charAt(0)==="t"&&o.call(this,O)&&!isNaN(+O.slice(1))&&(this[O]=n)},stop:function(){this.done=!0;var S=this.tryEntries[0].completion;if(S.type==="throw")throw S.arg;return this.rval},dispatchException:function(S){if(this.done)throw S;var O=this;function F(Ne,Ge){return z.type="throw",z.arg=S,O.next=Ne,Ge&&(O.method="next",O.arg=n),!!Ge}for(var Y=this.tryEntries.length-1;Y>=0;--Y){var M=this.tryEntries[Y],z=M.completion;if(M.tryLoc==="root")return F("end");if(M.tryLoc<=this.prev){var ue=o.call(M,"catchLoc"),ae=o.call(M,"finallyLoc");if(ue&&ae){if(this.prev<M.catchLoc)return F(M.catchLoc,!0);if(this.prev<M.finallyLoc)return F(M.finallyLoc)}else if(ue){if(this.prev<M.catchLoc)return F(M.catchLoc,!0)}else{if(!ae)throw new Error("try statement without catch or finally");if(this.prev<M.finallyLoc)return F(M.finallyLoc)}}}},abrupt:function(S,O){for(var F=this.tryEntries.length-1;F>=0;--F){var Y=this.tryEntries[F];if(Y.tryLoc<=this.prev&&o.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var M=Y;break}}M&&(S==="break"||S==="continue")&&M.tryLoc<=O&&O<=M.finallyLoc&&(M=null);var z=M?M.completion:{};return z.type=S,z.arg=O,M?(this.method="next",this.next=M.finallyLoc,y):this.complete(z)},complete:function(S,O){if(S.type==="throw")throw S.arg;return S.type==="break"||S.type==="continue"?this.next=S.arg:S.type==="return"?(this.rval=this.arg=S.arg,this.method="return",this.next="end"):S.type==="normal"&&O&&(this.next=O),y},finish:function(S){for(var O=this.tryEntries.length-1;O>=0;--O){var F=this.tryEntries[O];if(F.finallyLoc===S)return this.complete(F.completion,F.afterLoc),w(F),y}},catch:function(S){for(var O=this.tryEntries.length-1;O>=0;--O){var F=this.tryEntries[O];if(F.tryLoc===S){var Y=F.completion;if(Y.type==="throw"){var M=Y.arg;w(F)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(S,O,F){return this.delegate={iterator:B(S),resultName:O,nextLoc:F},this.method==="next"&&(this.arg=n),y}},a}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(td);var rd=(0,td.exports)(),N2=rd;try{regeneratorRuntime=rd}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=rd:Function("r","regeneratorRuntime = r")(rd)}const mn=w1(N2);function e0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var k1={exports:{}};function ir(e){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var t,n=Ur(e);if(r){var a=Ur(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return di(this,t)}}function nd(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(c,u){if(c){if(typeof c=="string")return x1(c,u);var l=Object.prototype.toString.call(c).slice(8,-1);if(l==="Object"&&c.constructor&&(l=c.constructor.name),l==="Map"||l==="Set")return Array.from(c);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return x1(c,u)}}(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  84. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,o=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var c=t.next();return o=c.done,c},e:function(c){i=!0,s=c},f:function(){try{o||t.return==null||t.return()}finally{if(i)throw s}}}}function x1(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function S1(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function bo(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?S1(Object(t),!0).forEach(function(n){ht(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S1(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function t0(e){var r,t,n,a=2;for(typeof Symbol<"u"&&(t=Symbol.asyncIterator,n=Symbol.iterator);a--;){if(t&&(r=e[t])!=null)return r.call(e);if(n&&(r=e[n])!=null)return new r0(r.call(e));t="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function r0(e){function r(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var n=t.done;return Promise.resolve(t.value).then(function(a){return{value:a,done:n}})}return(r0=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return r(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return n===void 0?Promise.resolve({value:t,done:!0}):r(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return n===void 0?Promise.reject(t):r(n.apply(this.s,arguments))}},new r0(e)}k1.exports=function(){function e(r,t,n){function a(i,c){if(!t[i]){if(!r[i]){if(!c&&e0)return e0(i);if(s)return s(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var l=t[i]={exports:{}};r[i][0].call(l.exports,function(A){return a(r[i][1][A]||A)},l,l.exports,e,r,t,n)}return t[i].exports}for(var s=e0,o=0;o<n.length;o++)a(n[o]);return a}return e}()({1:[function(e,r,t){var n=e("fs"),a=e("fast-csv"),s=e("dayjs/plugin/customParseFormat"),o=e("dayjs/plugin/utc"),i=e("dayjs").extend(s).extend(o),c=e("../utils/stream-buf"),u=e("../utils/utils").fs.exists,l={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}},A=function(){function h(f){Fe(this,h),this.workbook=f,this.worksheet=null}return Le(h,[{key:"readFile",value:function(){var f=Oi(mn.mark(function g(p,m){var v,y;return mn.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return m=m||{},I.next=3,u(p);case 3:if(I.sent){I.next=5;break}throw new Error("File not found: ".concat(p));case 5:return v=n.createReadStream(p),I.next=8,this.read(v,m);case 8:return y=I.sent,v.close(),I.abrupt("return",y);case 11:case"end":return I.stop()}},g,this)}));function d(g,p){return f.apply(this,arguments)}return d}()},{key:"read",value:function(f,d){var g=this;return d=d||{},new Promise(function(p,m){var v=g.workbook.addWorksheet(d.sheetName),y=d.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],I=d.map||function(k){if(k==="")return null;var R=Number(k);if(!Number.isNaN(R)&&R!==1/0)return R;var T=y.reduce(function(W,H){if(W)return W;var X=i(k,H,!0);return X.isValid()?X:null},null);if(T)return new Date(T.valueOf());var j=l[k];return j!==void 0?j:k},E=a.parse(d.parserOptions).on("data",function(k){v.addRow(k.map(I))}).on("end",function(){E.emit("worksheet",v)});E.on("worksheet",p).on("error",m),f.pipe(E)})}},{key:"createInputStream",value:function(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"write",value:function(f,d){var g=this;return new Promise(function(p,m){d=d||{};var v=g.workbook.getWorksheet(d.sheetName||d.sheetId),y=a.format(d.formatterOptions);f.on("finish",function(){p()}),y.on("error",m),y.pipe(f);var I=d,E=I.dateFormat,k=I.dateUTC,R=d.map||function(W){if(W){if(W.text||W.hyperlink)return W.hyperlink||W.text||"";if(W.formula||W.result)return W.result||"";if(W instanceof Date)return E?k?i.utc(W).format(E):i(W).format(E):k?i.utc(W).format():i(W).format();if(W.error)return W.error;if(typeof W=="object")return JSON.stringify(W)}return W},T=d.includeEmptyRows===void 0||d.includeEmptyRows,j=1;v&&v.eachRow(function(W,H){if(T)for(;j++<H-1;)y.write([]);var X=W.values;X.shift(),y.write(X.map(R)),j=H}),y.end()})}},{key:"writeFile",value:function(f,d){var g={encoding:(d=d||{}).encoding||"utf8"},p=n.createWriteStream(f,g);return this.write(p,d)}},{key:"writeBuffer",value:function(){var f=Oi(mn.mark(function g(p){var m;return mn.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return m=new c,v.next=3,this.write(m,p);case 3:return v.abrupt("return",m.read());case 4:case"end":return v.stop()}},g,this)}));function d(g){return f.apply(this,arguments)}return d}()}]),h}();r.exports=A},{"../utils/stream-buf":24,"../utils/utils":27,dayjs:391,"dayjs/plugin/customParseFormat":392,"dayjs/plugin/utc":393,"fast-csv":424,fs:216}],2:[function(e,r,t){var n=e("../utils/col-cache"),a=function(){function s(o,i){Fe(this,s);var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=o,i)if(typeof i=="string"){var u=n.decodeAddress(i);this.nativeCol=u.col+c,this.nativeColOff=0,this.nativeRow=u.row+c,this.nativeRowOff=0}else i.nativeCol!==void 0?(this.nativeCol=i.nativeCol||0,this.nativeColOff=i.nativeColOff||0,this.nativeRow=i.nativeRow||0,this.nativeRowOff=i.nativeRowOff||0):i.col!==void 0?(this.col=i.col+c,this.row=i.row+c):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}return Le(s,[{key:"col",get:function(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth},set:function(o){this.nativeCol=Math.floor(o),this.nativeColOff=Math.floor((o-this.nativeCol)*this.colWidth)}},{key:"row",get:function(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight},set:function(o){this.nativeRow=Math.floor(o),this.nativeRowOff=Math.floor((o-this.nativeRow)*this.rowHeight)}},{key:"colWidth",get:function(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}},{key:"rowHeight",get:function(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}},{key:"model",get:function(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}},set:function(o){this.nativeCol=o.nativeCol,this.nativeColOff=o.nativeColOff,this.nativeRow=o.nativeRow,this.nativeRowOff=o.nativeRowOff}}],[{key:"asInstance",value:function(o){return o instanceof s||o==null?o:new s(o)}}]),s}();r.exports=a},{"../utils/col-cache":19}],3:[function(e,r,t){var n=e("../utils/col-cache"),a=e("../utils/under-dash"),s=e("./enums"),o=e("../utils/shared-formula").slideFormula,i=e("./note"),c=function(){function k(R,T,j){if(Fe(this,k),!R||!T)throw new Error("A Cell needs a Row");this._row=R,this._column=T,n.validateAddress(j),this._address=j,this._value=E.create(k.Types.Null,this),this.style=this._mergeStyle(R.style,T.style,{}),this._mergeCount=0}return Le(k,[{key:"worksheet",get:function(){return this._row.worksheet}},{key:"workbook",get:function(){return this._row.worksheet.workbook}},{key:"destroy",value:function(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(R){this.style.numFmt=R}},{key:"font",get:function(){return this.style.font},set:function(R){this.style.font=R}},{key:"alignment",get:function(){return this.style.alignment},set:function(R){this.style.alignment=R}},{key:"border",get:function(){return this.style.border},set:function(R){this.style.border=R}},{key:"fill",get:function(){return this.style.fill},set:function(R){this.style.fill=R}},{key:"protection",get:function(){return this.style.protection},set:function(R){this.style.protection=R}},{key:"_mergeStyle",value:function(R,T,j){var W=R&&R.numFmt||T&&T.numFmt;W&&(j.numFmt=W);var H=R&&R.font||T&&T.font;H&&(j.font=H);var X=R&&R.alignment||T&&T.alignment;X&&(j.alignment=X);var x=R&&R.border||T&&T.border;x&&(j.border=x);var N=R&&R.fill||T&&T.fill;N&&(j.fill=N);var C=R&&R.protection||T&&T.protection;return C&&(j.protection=C),j}},{key:"address",get:function(){return this._address}},{key:"row",get:function(){return this._row.number}},{key:"col",get:function(){return this._column.number}},{key:"$col$row",get:function(){return"$".concat(this._column.letter,"$").concat(this.row)}},{key:"type",get:function(){return this._value.type}},{key:"effectiveType",get:function(){return this._value.effectiveType}},{key:"toCsvString",value:function(){return this._value.toCsvString()}},{key:"addMergeRef",value:function(){this._mergeCount++}},{key:"releaseMergeRef",value:function(){this._mergeCount--}},{key:"isMerged",get:function(){return this._mergeCount>0||this.type===k.Types.Merge}},{key:"merge",value:function(R,T){this._value.release(),this._value=E.create(k.Types.Merge,this,R),T||(this.style=R.style)}},{key:"unmerge",value:function(){this.type===k.Types.Merge&&(this._value.release(),this._value=E.create(k.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}},{key:"isMergedTo",value:function(R){return this._value.type===k.Types.Merge&&this._value.isMergedTo(R)}},{key:"master",get:function(){return this.type===k.Types.Merge?this._value.master:this}},{key:"isHyperlink",get:function(){return this._value.type===k.Types.Hyperlink}},{key:"hyperlink",get:function(){return this._value.hyperlink}},{key:"value",get:function(){return this._value.value},set:function(R){this.type!==k.Types.Merge?(this._value.release(),this._value=E.create(E.getType(R),this,R)):this._value.master.value=R}},{key:"note",get:function(){return this._comment&&this._comment.note},set:function(R){this._comment=new i(R)}},{key:"text",get:function(){return this._value.toString()}},{key:"html",get:function(){return a.escapeHtml(this.text)}},{key:"toString",value:function(){return this.text}},{key:"_upgradeToHyperlink",value:function(R){this.type===k.Types.String&&(this._value=E.create(k.Types.Hyperlink,this,{text:this._value.value,hyperlink:R}))}},{key:"formula",get:function(){return this._value.formula}},{key:"result",get:function(){return this._value.result}},{key:"formulaType",get:function(){return this._value.formulaType}},{key:"fullAddress",get:function(){return{sheetName:this._row.worksheet.name,address:this.address,row:this.row,col:this.col}}},{key:"name",get:function(){return this.names[0]},set:function(R){this.names=[R]}},{key:"names",get:function(){return this.workbook.definedNames.getNamesEx(this.fullAddress)},set:function(R){var T=this,j=this.workbook.definedNames;j.removeAllNames(this.fullAddress),R.forEach(function(W){j.addEx(T.fullAddress,W)})}},{key:"addName",value:function(R){this.workbook.definedNames.addEx(this.fullAddress,R)}},{key:"removeName",value:function(R){this.workbook.definedNames.removeEx(this.fullAddress,R)}},{key:"removeAllNames",value:function(){this.workbook.definedNames.removeAllNames(this.fullAddress)}},{key:"_dataValidations",get:function(){return this.worksheet.dataValidations}},{key:"dataValidation",get:function(){return this._dataValidations.find(this.address)},set:function(R){this._dataValidations.add(this.address,R)}},{key:"model",get:function(){var R=this._value.model;return R.style=this.style,this._comment&&(R.comment=this._comment.model),R},set:function(R){this._value.release(),this._value=E.create(R.type,this),this._value.model=R,R.comment&&R.comment.type==="note"&&(this._comment=i.fromModel(R.comment)),R.style?this.style=R.style:this.style={}}}]),k}();c.Types=s.ValueType;var u=function(){function k(R){Fe(this,k),this.model={address:R.address,type:c.Types.Null}}return Le(k,[{key:"value",get:function(){return null},set:function(R){}},{key:"type",get:function(){return c.Types.Null}},{key:"effectiveType",get:function(){return c.Types.Null}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){}},{key:"toString",value:function(){return""}}]),k}(),l=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.Number,value:T}}return Le(k,[{key:"value",get:function(){return this.model.value},set:function(R){this.model.value=R}},{key:"type",get:function(){return c.Types.Number}},{key:"effectiveType",get:function(){return c.Types.Number}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}]),k}(),A=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.String,value:T}}return Le(k,[{key:"value",get:function(){return this.model.value},set:function(R){this.model.value=R}},{key:"type",get:function(){return c.Types.String}},{key:"effectiveType",get:function(){return c.Types.String}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return'"'.concat(this.model.value.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}}]),k}(),h=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.String,value:T}}return Le(k,[{key:"value",get:function(){return this.model.value},set:function(R){this.model.value=R}},{key:"toString",value:function(){return this.model.value.richText.map(function(R){return R.text}).join("")}},{key:"type",get:function(){return c.Types.RichText}},{key:"effectiveType",get:function(){return c.Types.RichText}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return'"'.concat(this.text.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}}]),k}(),f=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.Date,value:T}}return Le(k,[{key:"value",get:function(){return this.model.value},set:function(R){this.model.value=R}},{key:"type",get:function(){return c.Types.Date}},{key:"effectiveType",get:function(){return c.Types.Date}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return this.model.value.toISOString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}]),k}(),d=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.Hyperlink,text:T?T.text:void 0,hyperlink:T?T.hyperlink:void 0},T&&T.tooltip&&(this.model.tooltip=T.tooltip)}return Le(k,[{key:"value",get:function(){var R={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(R.tooltip=this.model.tooltip),R},set:function(R){this.model={text:R.text,hyperlink:R.hyperlink},R.tooltip&&(this.model.tooltip=R.tooltip)}},{key:"text",get:function(){return this.model.text},set:function(R){this.model.text=R}},{key:"hyperlink",get:function(){return this.model.hyperlink},set:function(R){this.model.hyperlink=R}},{key:"type",get:function(){return c.Types.Hyperlink}},{key:"effectiveType",get:function(){return c.Types.Hyperlink}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return this.model.hyperlink}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.text}}]),k}(),g=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.Merge,master:T?T.address:void 0},this._master=T,T&&T.addMergeRef()}return Le(k,[{key:"value",get:function(){return this._master.value},set:function(R){R instanceof c?(this._master&&this._master.releaseMergeRef(),R.addMergeRef(),this._master=R):this._master.value=R}},{key:"isMergedTo",value:function(R){return R===this._master}},{key:"master",get:function(){return this._master}},{key:"type",get:function(){return c.Types.Merge}},{key:"effectiveType",get:function(){return this._master.effectiveType}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){this._master.releaseMergeRef()}},{key:"toString",value:function(){return this.value.toString()}}]),k}(),p=function(){function k(R,T){Fe(this,k),this.cell=R,this.model={address:R.address,type:c.Types.Formula,shareType:T?T.shareType:void 0,ref:T?T.ref:void 0,formula:T?T.formula:void 0,sharedFormula:T?T.sharedFormula:void 0,result:T?T.result:void 0}}return Le(k,[{key:"_copyModel",value:function(R){var T={},j=function(W){var H=R[W];H&&(T[W]=H)};return j("formula"),j("result"),j("ref"),j("shareType"),j("sharedFormula"),T}},{key:"value",get:function(){return this._copyModel(this.model)},set:function(R){this.model=this._copyModel(R)}},{key:"validate",value:function(R){switch(E.getType(R)){case c.Types.Null:case c.Types.String:case c.Types.Number:case c.Types.Date:break;case c.Types.Hyperlink:case c.Types.Formula:default:throw new Error("Cannot process that type of result value")}}},{key:"dependencies",get:function(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}},{key:"formula",get:function(){return this.model.formula||this._getTranslatedFormula()},set:function(R){this.model.formula=R}},{key:"formulaType",get:function(){return this.model.formula?s.FormulaType.Master:this.model.sharedFormula?s.FormulaType.Shared:s.FormulaType.None}},{key:"result",get:function(){return this.model.result},set:function(R){this.model.result=R}},{key:"type",get:function(){return c.Types.Formula}},{key:"effectiveType",get:function(){var R=this.model.result;return R==null?s.ValueType.Null:R instanceof String||typeof R=="string"?s.ValueType.String:typeof R=="number"?s.ValueType.Number:R instanceof Date?s.ValueType.Date:R.text&&R.hyperlink?s.ValueType.Hyperlink:R.formula?s.ValueType.Formula:s.ValueType.Null}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"_getTranslatedFormula",value:function(){if(!this._translatedFormula&&this.model.sharedFormula){var R=this.cell.worksheet.findCell(this.model.sharedFormula);this._translatedFormula=R&&o(R.formula,R.address,this.model.address)}return this._translatedFormula}},{key:"toCsvString",value:function(){return"".concat(this.model.result||"")}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.result?this.model.result.toString():""}}]),k}(),m=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.SharedString,value:T}}return Le(k,[{key:"value",get:function(){return this.model.value},set:function(R){this.model.value=R}},{key:"type",get:function(){return c.Types.SharedString}},{key:"effectiveType",get:function(){return c.Types.SharedString}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}]),k}(),v=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.Boolean,value:T}}return Le(k,[{key:"value",get:function(){return this.model.value},set:function(R){this.model.value=R}},{key:"type",get:function(){return c.Types.Boolean}},{key:"effectiveType",get:function(){return c.Types.Boolean}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return this.model.value?1:0}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}}]),k}(),y=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.Error,value:T}}return Le(k,[{key:"value",get:function(){return this.model.value},set:function(R){this.model.value=R}},{key:"type",get:function(){return c.Types.Error}},{key:"effectiveType",get:function(){return c.Types.Error}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return this.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.error.toString()}}]),k}(),I=function(){function k(R,T){Fe(this,k),this.model={address:R.address,type:c.Types.String,value:JSON.stringify(T),rawValue:T}}return Le(k,[{key:"value",get:function(){return this.model.rawValue},set:function(R){this.model.rawValue=R,this.model.value=JSON.stringify(R)}},{key:"type",get:function(){return c.Types.String}},{key:"effectiveType",get:function(){return c.Types.String}},{key:"address",get:function(){return this.model.address},set:function(R){this.model.address=R}},{key:"toCsvString",value:function(){return this.model.value}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}}]),k}(),E={getType:function(k){return k==null?c.Types.Null:k instanceof String||typeof k=="string"?c.Types.String:typeof k=="number"?c.Types.Number:typeof k=="boolean"?c.Types.Boolean:k instanceof Date?c.Types.Date:k.text&&k.hyperlink?c.Types.Hyperlink:k.formula||k.sharedFormula?c.Types.Formula:k.richText?c.Types.RichText:k.sharedString?c.Types.SharedString:k.error?c.Types.Error:c.Types.JSON},types:[{t:c.Types.Null,f:u},{t:c.Types.Number,f:l},{t:c.Types.String,f:A},{t:c.Types.Date,f},{t:c.Types.Hyperlink,f:d},{t:c.Types.Formula,f:p},{t:c.Types.Merge,f:g},{t:c.Types.JSON,f:I},{t:c.Types.SharedString,f:m},{t:c.Types.RichText,f:h},{t:c.Types.Boolean,f:v},{t:c.Types.Error,f:y}].reduce(function(k,R){return k[R.t]=R.f,k},[]),create:function(k,R,T){var j=this.types[k];if(!j)throw new Error("Could not create Value of type ".concat(k));return new j(R,T)}};r.exports=c},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(e,r,t){var n=e("../utils/under-dash"),a=e("./enums"),s=e("../utils/col-cache"),o=9,i=function(){function c(u,l,A){Fe(this,c),this._worksheet=u,this._number=l,A!==!1&&(this.defn=A)}return Le(c,[{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"letter",get:function(){return s.n2l(this._number)}},{key:"isCustomWidth",get:function(){return this.width!==void 0&&this.width!==o}},{key:"defn",get:function(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}},set:function(u){u?(this.key=u.key,this.width=u.width!==void 0?u.width:o,this.outlineLevel=u.outlineLevel,u.style?this.style=u.style:this.style={},this.header=u.header,this._hidden=!!u.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}},{key:"headers",get:function(){return this._header&&this._header instanceof Array?this._header:[this._header]}},{key:"header",get:function(){return this._header},set:function(u){var l=this;u!==void 0?(this._header=u,this.headers.forEach(function(A,h){l._worksheet.getCell(h+1,l.number).value=A})):this._header=void 0}},{key:"key",get:function(){return this._key},set:function(u){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=u,u&&this._worksheet.setColumnKey(this._key,this)}},{key:"hidden",get:function(){return!!this._hidden},set:function(u){this._hidden=u}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(u){this._outlineLevel=u}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}},{key:"toString",value:function(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}},{key:"equivalentTo",value:function(u){return this.width===u.width&&this.hidden===u.hidden&&this.outlineLevel===u.outlineLevel&&n.isEqual(this.style,u.style)}},{key:"isDefault",get:function(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;var u=this.style;return!u||!(u.font||u.numFmt||u.alignment||u.border||u.fill||u.protection)}},{key:"headerCount",get:function(){return this.headers.length}},{key:"eachCell",value:function(u,l){var A=this.number;l||(l=u,u=null),this._worksheet.eachRow(u,function(h,f){l(h.getCell(A),f)})}},{key:"values",get:function(){var u=[];return this.eachCell(function(l,A){l&&l.type!==a.ValueType.Null&&(u[A]=l.value)}),u},set:function(u){var l=this;if(u){var A=this.number,h=0;u.hasOwnProperty("0")&&(h=1),u.forEach(function(f,d){l._worksheet.getCell(d+h,A).value=f})}}},{key:"_applyStyle",value:function(u,l){return this.style[u]=l,this.eachCell(function(A){A[u]=l}),l}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(u){this._applyStyle("numFmt",u)}},{key:"font",get:function(){return this.style.font},set:function(u){this._applyStyle("font",u)}},{key:"alignment",get:function(){return this.style.alignment},set:function(u){this._applyStyle("alignment",u)}},{key:"protection",get:function(){return this.style.protection},set:function(u){this._applyStyle("protection",u)}},{key:"border",get:function(){return this.style.border},set:function(u){this._applyStyle("border",u)}},{key:"fill",get:function(){return this.style.fill},set:function(u){this._applyStyle("fill",u)}}],[{key:"toModel",value:function(u){var l=[],A=null;return u&&u.forEach(function(h,f){h.isDefault?A&&(A=null):A&&h.equivalentTo(A)?A.max=f+1:(A={min:f+1,max:f+1,width:h.width!==void 0?h.width:o,style:h.style,isCustomWidth:h.isCustomWidth,hidden:h.hidden,outlineLevel:h.outlineLevel,collapsed:h.collapsed},l.push(A))}),l.length?l:void 0}},{key:"fromModel",value:function(u,l){var A=[],h=1,f=0;for(l=(l=l||[]).sort(function(g,p){return g.min-p.min});f<l.length;){for(var d=l[f++];h<d.min;)A.push(new c(u,h++));for(;h<=d.max;)A.push(new c(u,h++,d))}return A.length?A:null}}]),c}();r.exports=i},{"../utils/col-cache":19,"../utils/under-dash":26,"./enums":7}],5:[function(e,r,t){var n=function(){function a(s){Fe(this,a),this.model=s||{}}return Le(a,[{key:"add",value:function(s,o){return this.model[s]=o}},{key:"find",value:function(s){return this.model[s]}},{key:"remove",value:function(s){this.model[s]=void 0}}]),a}();r.exports=n},{}],6:[function(e,r,t){var n=e("../utils/under-dash"),a=e("../utils/col-cache"),s=e("../utils/cell-matrix"),o=e("./range"),i=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/,c=function(){function u(){Fe(this,u),this.matrixMap={}}return Le(u,[{key:"getMatrix",value:function(l){return this.matrixMap[l]||(this.matrixMap[l]=new s)}},{key:"add",value:function(l,A){var h=a.decodeEx(l);this.addEx(h,A)}},{key:"addEx",value:function(l,A){var h=this.getMatrix(A);if(l.top)for(var f=l.left;f<=l.right;f++)for(var d=l.top;d<=l.bottom;d++){var g={sheetName:l.sheetName,address:a.n2l(f)+d,row:d,col:f};h.addCellEx(g)}else h.addCellEx(l)}},{key:"remove",value:function(l,A){var h=a.decodeEx(l);this.removeEx(h,A)}},{key:"removeEx",value:function(l,A){this.getMatrix(A).removeCellEx(l)}},{key:"removeAllNames",value:function(l){n.each(this.matrixMap,function(A){A.removeCellEx(l)})}},{key:"forEach",value:function(l){n.each(this.matrixMap,function(A,h){A.forEach(function(f){l(h,f)})})}},{key:"getNames",value:function(l){return this.getNamesEx(a.decodeEx(l))}},{key:"getNamesEx",value:function(l){return n.map(this.matrixMap,function(A,h){return A.findCellEx(l)&&h}).filter(Boolean)}},{key:"_explore",value:function(l,A){A.mark=!1;var h,f,d=A.sheetName,g=new o(A.row,A.col,A.row,A.col,d);function p(v,y){var I=l.findCellAt(d,v,A.col);return!(!I||!I.mark||(g[y]=v,I.mark=!1,0))}for(f=A.row-1;p(f,"top");f--);for(f=A.row+1;p(f,"bottom");f++);function m(v,y){var I=[];for(f=g.top;f<=g.bottom;f++){var E=l.findCellAt(d,f,v);if(!E||!E.mark)return!1;I.push(E)}g[y]=v;for(var k=0;k<I.length;k++)I[k].mark=!1;return!0}for(h=A.col-1;m(h,"left");h--);for(h=A.col+1;m(h,"right");h++);return g}},{key:"getRanges",value:function(l,A){var h=this;return(A=A||this.matrixMap[l])?(A.forEach(function(f){f.mark=!0}),{name:l,ranges:A.map(function(f){return f.mark&&h._explore(A,f)}).filter(Boolean).map(function(f){return f.$shortRange})}):{name:l,ranges:[]}}},{key:"normaliseMatrix",value:function(l,A){l.forEachInSheet(A,function(h,f,d){h&&(h.row===f&&h.col===d||(h.row=f,h.col=d,h.address=a.n2l(d)+f))})}},{key:"spliceRows",value:function(l,A,h,f){var d=this;n.each(this.matrixMap,function(g){g.spliceRows(l,A,h,f),d.normaliseMatrix(g,l)})}},{key:"spliceColumns",value:function(l,A,h,f){var d=this;n.each(this.matrixMap,function(g){g.spliceColumns(l,A,h,f),d.normaliseMatrix(g,l)})}},{key:"model",get:function(){var l=this;return n.map(this.matrixMap,function(A,h){return l.getRanges(h,A)}).filter(function(A){return A.ranges.length})},set:function(l){var A=this.matrixMap={};l.forEach(function(h){var f=A[h.name]=new s;h.ranges.forEach(function(d){i.test(d.split("!").pop()||"")&&f.addCell(d)})})}}]),u}();r.exports=c},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(e,r,t){r.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(e,r,t){var n=e("../utils/col-cache"),a=e("./anchor"),s=function(){function o(i,c){Fe(this,o),this.worksheet=i,this.model=c}return Le(o,[{key:"model",get:function(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}},set:function(i){var c=i.type,u=i.imageId,l=i.range,A=i.hyperlinks;if(this.type=c,this.imageId=u,c==="image")if(typeof l=="string"){var h=n.decode(l);this.range={tl:new a(this.worksheet,{col:h.left,row:h.top},-1),br:new a(this.worksheet,{col:h.right,row:h.bottom},0),editAs:"oneCell"}}else this.range={tl:new a(this.worksheet,l.tl,0),br:l.br&&new a(this.worksheet,l.br,0),ext:l.ext,editAs:l.editAs,hyperlinks:A||l.hyperlinks}}}]),o}();r.exports=s},{"../utils/col-cache":19,"./anchor":2}],9:[function(e,r,t){var n=e("../utils/under-dash"),a=function(){function s(o){Fe(this,s),this.note=o}return Le(s,[{key:"model",get:function(){var o=null;return o=typeof this.note=="string"?{type:"note",note:{texts:[{text:this.note}]}}:{type:"note",note:this.note},n.deepMerge({},s.DEFAULT_CONFIGS,o)},set:function(o){var i=o.note,c=i.texts;c.length===1&&Object.keys(c[0]).length===1?this.note=c[0].text:this.note=i}}],[{key:"fromModel",value:function(o){var i=new s;return i.model=o,i}}]),s}();a.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},r.exports=a},{"../utils/under-dash":26}],10:[function(e,r,t){var n=e("../utils/col-cache"),a=function(){function s(){Fe(this,s),this.decode(arguments)}return Le(s,[{key:"setTLBR",value:function(o,i,c,u,l){if(arguments.length<4){var A=n.decodeAddress(o),h=n.decodeAddress(i);this.model={top:Math.min(A.row,h.row),left:Math.min(A.col,h.col),bottom:Math.max(A.row,h.row),right:Math.max(A.col,h.col),sheetName:c},this.setTLBR(A.row,A.col,h.row,h.col,l)}else this.model={top:Math.min(o,c),left:Math.min(i,u),bottom:Math.max(o,c),right:Math.max(i,u),sheetName:l}}},{key:"decode",value:function(o){switch(o.length){case 5:this.setTLBR(o[0],o[1],o[2],o[3],o[4]);break;case 4:this.setTLBR(o[0],o[1],o[2],o[3]);break;case 3:this.setTLBR(o[0],o[1],o[2]);break;case 2:this.setTLBR(o[0],o[1]);break;case 1:var i=o[0];if(i instanceof s)this.model={top:i.model.top,left:i.model.left,bottom:i.model.bottom,right:i.model.right,sheetName:i.sheetName};else if(i instanceof Array)this.decode(i);else if(i.top&&i.left&&i.bottom&&i.right)this.model={top:i.top,left:i.left,bottom:i.bottom,right:i.right,sheetName:i.sheetName};else{var c=n.decodeEx(i);c.top?this.model={top:c.top,left:c.left,bottom:c.bottom,right:c.right,sheetName:c.sheetName}:this.model={top:c.row,left:c.col,bottom:c.row,right:c.col,sheetName:c.sheetName}}break;case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - ".concat(o.length))}}},{key:"top",get:function(){return this.model.top||1},set:function(o){this.model.top=o}},{key:"left",get:function(){return this.model.left||1},set:function(o){this.model.left=o}},{key:"bottom",get:function(){return this.model.bottom||1},set:function(o){this.model.bottom=o}},{key:"right",get:function(){return this.model.right||1},set:function(o){this.model.right=o}},{key:"sheetName",get:function(){return this.model.sheetName},set:function(o){this.model.sheetName=o}},{key:"_serialisedSheetName",get:function(){var o=this.model.sheetName;return o?/^[a-zA-Z0-9]*$/.test(o)?"".concat(o,"!"):"'".concat(o,"'!"):""}},{key:"expand",value:function(o,i,c,u){(!this.model.top||o<this.top)&&(this.top=o),(!this.model.left||i<this.left)&&(this.left=i),(!this.model.bottom||c>this.bottom)&&(this.bottom=c),(!this.model.right||u>this.right)&&(this.right=u)}},{key:"expandRow",value:function(o){if(o){var i=o.dimensions,c=o.number;i&&this.expand(c,i.min,c,i.max)}}},{key:"expandToAddress",value:function(o){var i=n.decodeEx(o);this.expand(i.row,i.col,i.row,i.col)}},{key:"tl",get:function(){return n.n2l(this.left)+this.top}},{key:"$t$l",get:function(){return"$".concat(n.n2l(this.left),"$").concat(this.top)}},{key:"br",get:function(){return n.n2l(this.right)+this.bottom}},{key:"$b$r",get:function(){return"$".concat(n.n2l(this.right),"$").concat(this.bottom)}},{key:"range",get:function(){return"".concat(this._serialisedSheetName+this.tl,":").concat(this.br)}},{key:"$range",get:function(){return"".concat(this._serialisedSheetName+this.$t$l,":").concat(this.$b$r)}},{key:"shortRange",get:function(){return this.count>1?this.range:this._serialisedSheetName+this.tl}},{key:"$shortRange",get:function(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}},{key:"count",get:function(){return(1+this.bottom-this.top)*(1+this.right-this.left)}},{key:"toString",value:function(){return this.range}},{key:"intersects",value:function(o){return!(o.sheetName&&this.sheetName&&o.sheetName!==this.sheetName||o.bottom<this.top||o.top>this.bottom||o.right<this.left||o.left>this.right)}},{key:"contains",value:function(o){var i=n.decodeEx(o);return this.containsEx(i)}},{key:"containsEx",value:function(o){return(!o.sheetName||!this.sheetName||o.sheetName===this.sheetName)&&o.row>=this.top&&o.row<=this.bottom&&o.col>=this.left&&o.col<=this.right}},{key:"forEachAddress",value:function(o){for(var i=this.left;i<=this.right;i++)for(var c=this.top;c<=this.bottom;c++)o(n.encodeAddress(c,i),c,i)}}]),s}();r.exports=a},{"../utils/col-cache":19}],11:[function(e,r,t){var n=e("../utils/under-dash"),a=e("./enums"),s=e("../utils/col-cache"),o=e("./cell"),i=function(){function c(u,l){Fe(this,c),this._worksheet=u,this._number=l,this._cells=[],this.style={},this.outlineLevel=0}return Le(c,[{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"commit",value:function(){this._worksheet._commitRow(this)}},{key:"destroy",value:function(){delete this._worksheet,delete this._cells,delete this.style}},{key:"findCell",value:function(u){return this._cells[u-1]}},{key:"getCellEx",value:function(u){var l=this._cells[u.col-1];if(!l){var A=this._worksheet.getColumn(u.col);l=new o(this,A,u.address),this._cells[u.col-1]=l}return l}},{key:"getCell",value:function(u){if(typeof u=="string"){var l=this._worksheet.getColumnKey(u);u=l?l.number:s.l2n(u)}return this._cells[u-1]||this.getCellEx({address:s.encodeAddress(this._number,u),row:this._number,col:u})}},{key:"splice",value:function(u,l){for(var A=u+l,h=arguments.length,f=new Array(h>2?h-2:0),d=2;d<h;d++)f[d-2]=arguments[d];var g,p,m,v=f.length-l,y=this._cells.length;if(v<0)for(g=u+f.length;g<=y;g++)m=this._cells[g-1],(p=this._cells[g-v-1])?((m=this.getCell(g)).value=p.value,m.style=p.style,m._comment=p._comment):m&&(m.value=null,m.style={},m._comment=void 0);else if(v>0)for(g=y;g>=A;g--)(p=this._cells[g-1])?((m=this.getCell(g+v)).value=p.value,m.style=p.style,m._comment=p._comment):this._cells[g+v-1]=void 0;for(g=0;g<f.length;g++)(m=this.getCell(u+g)).value=f[g],m.style={},m._comment=void 0}},{key:"eachCell",value:function(u,l){if(l||(l=u,u=null),u&&u.includeEmpty)for(var A=this._cells.length,h=1;h<=A;h++)l(this.getCell(h),h);else this._cells.forEach(function(f,d){f&&f.type!==a.ValueType.Null&&l(f,d+1)})}},{key:"addPageBreak",value:function(u,l){var A=this._worksheet,h=Math.max(0,u-1)||0,f=Math.max(0,l-1)||16838,d={id:this._number,max:f,man:1};h&&(d.min=h),A.rowBreaks.push(d)}},{key:"values",get:function(){var u=[];return this._cells.forEach(function(l){l&&l.type!==a.ValueType.Null&&(u[l.col]=l.value)}),u},set:function(u){var l=this;if(this._cells=[],u)if(u instanceof Array){var A=0;u.hasOwnProperty("0")&&(A=1),u.forEach(function(h,f){h!==void 0&&(l.getCellEx({address:s.encodeAddress(l._number,f+A),row:l._number,col:f+A}).value=h)})}else this._worksheet.eachColumnKey(function(h,f){u[f]!==void 0&&(l.getCellEx({address:s.encodeAddress(l._number,h.number),row:l._number,col:h.number}).value=u[f])})}},{key:"hasValues",get:function(){return n.some(this._cells,function(u){return u&&u.type!==a.ValueType.Null})}},{key:"cellCount",get:function(){return this._cells.length}},{key:"actualCellCount",get:function(){var u=0;return this.eachCell(function(){u++}),u}},{key:"dimensions",get:function(){var u=0,l=0;return this._cells.forEach(function(A){A&&A.type!==a.ValueType.Null&&((!u||u>A.col)&&(u=A.col),l<A.col&&(l=A.col))}),u>0?{min:u,max:l}:null}},{key:"_applyStyle",value:function(u,l){return this.style[u]=l,this._cells.forEach(function(A){A&&(A[u]=l)}),l}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(u){this._applyStyle("numFmt",u)}},{key:"font",get:function(){return this.style.font},set:function(u){this._applyStyle("font",u)}},{key:"alignment",get:function(){return this.style.alignment},set:function(u){this._applyStyle("alignment",u)}},{key:"protection",get:function(){return this.style.protection},set:function(u){this._applyStyle("protection",u)}},{key:"border",get:function(){return this.style.border},set:function(u){this._applyStyle("border",u)}},{key:"fill",get:function(){return this.style.fill},set:function(u){this._applyStyle("fill",u)}},{key:"hidden",get:function(){return!!this._hidden},set:function(u){this._hidden=u}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(u){this._outlineLevel=u}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}},{key:"model",get:function(){var u=[],l=0,A=0;return this._cells.forEach(function(h){if(h){var f=h.model;f&&((!l||l>h.col)&&(l=h.col),A<h.col&&(A=h.col),u.push(f))}}),this.height||u.length?{cells:u,number:this.number,min:l,max:A,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null},set:function(u){var l,A=this;if(u.number!==this._number)throw new Error("Invalid row number in model");this._cells=[],u.cells.forEach(function(h){if(h.type!==o.Types.Merge){var f;if(h.address)f=s.decodeAddress(h.address);else if(l){var d=l.row,g=l.col+1;f={row:d,col:g,address:s.encodeAddress(d,g),$col$row:"$".concat(s.n2l(g),"$").concat(d)}}l=f,A.getCellEx(f).model=h}}),u.height?this.height=u.height:delete this.height,this.hidden=u.hidden,this.outlineLevel=u.outlineLevel||0,this.style=u.style&&JSON.parse(JSON.stringify(u.style))||{}}}]),c}();r.exports=i},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(e,r,t){var n=e("../utils/col-cache"),a=function(){function o(i,c,u){Fe(this,o),this.table=i,this.column=c,this.index=u}return Le(o,[{key:"_set",value:function(i,c){this.table.cacheState(),this.column[i]=c}},{key:"name",get:function(){return this.column.name},set:function(i){this._set("name",i)}},{key:"filterButton",get:function(){return this.column.filterButton},set:function(i){this.column.filterButton=i}},{key:"style",get:function(){return this.column.style},set:function(i){this.column.style=i}},{key:"totalsRowLabel",get:function(){return this.column.totalsRowLabel},set:function(i){this._set("totalsRowLabel",i)}},{key:"totalsRowFunction",get:function(){return this.column.totalsRowFunction},set:function(i){this._set("totalsRowFunction",i)}},{key:"totalsRowResult",get:function(){return this.column.totalsRowResult},set:function(i){this._set("totalsRowResult",i)}},{key:"totalsRowFormula",get:function(){return this.column.totalsRowFormula},set:function(i){this._set("totalsRowFormula",i)}}]),o}(),s=function(){function o(i,c){Fe(this,o),this.worksheet=i,c&&(this.table=c,this.validate(),this.store())}return Le(o,[{key:"getFormula",value:function(i){switch(i.totalsRowFunction){case"none":return null;case"average":return"SUBTOTAL(101,".concat(this.table.name,"[").concat(i.name,"])");case"countNums":return"SUBTOTAL(102,".concat(this.table.name,"[").concat(i.name,"])");case"count":return"SUBTOTAL(103,".concat(this.table.name,"[").concat(i.name,"])");case"max":return"SUBTOTAL(104,".concat(this.table.name,"[").concat(i.name,"])");case"min":return"SUBTOTAL(105,".concat(this.table.name,"[").concat(i.name,"])");case"stdDev":return"SUBTOTAL(106,".concat(this.table.name,"[").concat(i.name,"])");case"var":return"SUBTOTAL(107,".concat(this.table.name,"[").concat(i.name,"])");case"sum":return"SUBTOTAL(109,".concat(this.table.name,"[").concat(i.name,"])");case"custom":return i.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: ".concat(i.totalsRowFunction))}}},{key:"width",get:function(){return this.table.columns.length}},{key:"height",get:function(){return this.table.rows.length}},{key:"filterHeight",get:function(){return this.height+(this.table.headerRow?1:0)}},{key:"tableHeight",get:function(){return this.filterHeight+(this.table.totalsRow?1:0)}},{key:"validate",value:function(){var i=this,c=this.table,u=function(m,v,y){m[v]===void 0&&(m[v]=y)};u(c,"headerRow",!0),u(c,"totalsRow",!1),u(c,"style",{}),u(c.style,"theme","TableStyleMedium2"),u(c.style,"showFirstColumn",!1),u(c.style,"showLastColumn",!1),u(c.style,"showRowStripes",!1),u(c.style,"showColumnStripes",!1);var l=function(m,v){if(!m)throw new Error(v)};l(c.ref,"Table must have ref"),l(c.columns,"Table must have column definitions"),l(c.rows,"Table must have row definitions"),c.tl=n.decodeAddress(c.ref);var A=c.tl,h=A.row,f=A.col;l(h>0,"Table must be on valid row"),l(f>0,"Table must be on valid col");var d=this.width,g=this.filterHeight,p=this.tableHeight;c.autoFilterRef=n.encode(h,f,h+g-1,f+d-1),c.tableRef=n.encode(h,f,h+p-1,f+d-1),c.columns.forEach(function(m,v){l(m.name,"Column ".concat(v," must have a name")),v===0?u(m,"totalsRowLabel","Total"):(u(m,"totalsRowFunction","none"),m.totalsRowFormula=i.getFormula(m))})}},{key:"store",value:function(){var i=this,c=function(m,v){v&&Object.keys(v).forEach(function(y){m[y]=v[y]})},u=this.worksheet,l=this.table,A=l.tl,h=A.row,f=A.col,d=0;if(l.headerRow){var g=u.getRow(h+d++);l.columns.forEach(function(m,v){var y=m.style,I=m.name,E=g.getCell(f+v);E.value=I,c(E,y)})}if(l.rows.forEach(function(m){var v=u.getRow(h+d++);m.forEach(function(y,I){var E=v.getCell(f+I);E.value=y,c(E,l.columns[I].style)})}),l.totalsRow){var p=u.getRow(h+d++);l.columns.forEach(function(m,v){var y=p.getCell(f+v);if(v===0)y.value=m.totalsRowLabel;else{var I=i.getFormula(m);y.value=I?{formula:m.totalsRowFormula,result:m.totalsRowResult}:null}c(y,m.style)})}}},{key:"load",value:function(i){var c=this,u=this.table,l=u.tl,A=l.row,h=l.col,f=0;if(u.headerRow){var d=i.getRow(A+f++);u.columns.forEach(function(p,m){d.getCell(h+m).value=p.name})}if(u.rows.forEach(function(p){var m=i.getRow(A+f++);p.forEach(function(v,y){m.getCell(h+y).value=v})}),u.totalsRow){var g=i.getRow(A+f++);u.columns.forEach(function(p,m){var v=g.getCell(h+m);m===0?v.value=p.totalsRowLabel:c.getFormula(p)&&(v.value={formula:p.totalsRowFormula,result:p.totalsRowResult})})}}},{key:"model",get:function(){return this.table},set:function(i){this.table=i}},{key:"cacheState",value:function(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}},{key:"commit",value:function(){if(this._cache){this.validate();var i=n.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(var c=0;c<this._cache.tableHeight;c++)for(var u=this.worksheet.getRow(i.row+c),l=0;l<this._cache.width;l++)u.getCell(i.col+l).value=null;else{for(var A=this.tableHeight;A<this._cache.tableHeight;A++)for(var h=this.worksheet.getRow(i.row+A),f=0;f<this._cache.width;f++)h.getCell(i.col+f).value=null;for(var d=0;d<this.tableHeight;d++)for(var g=this.worksheet.getRow(i.row+d),p=this.width;p<this._cache.width;p++)g.getCell(i.col+p).value=null}this.store()}}},{key:"addRow",value:function(i,c){this.cacheState(),c===void 0?this.table.rows.push(i):this.table.rows.splice(c,0,i)}},{key:"removeRows",value:function(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(i,c)}},{key:"getColumn",value:function(i){var c=this.table.columns[i];return new a(this,c,i)}},{key:"addColumn",value:function(i,c,u){this.cacheState(),u===void 0?(this.table.columns.push(i),this.table.rows.forEach(function(l,A){l.push(c[A])})):(this.table.columns.splice(u,0,i),this.table.rows.forEach(function(l,A){l.splice(u,0,c[A])}))}},{key:"removeColumns",value:function(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(i,c),this.table.rows.forEach(function(u){u.splice(i,c)})}},{key:"_assign",value:function(i,c,u){this.cacheState(),i[c]=u}},{key:"ref",get:function(){return this.table.ref},set:function(i){this._assign(this.table,"ref",i)}},{key:"name",get:function(){return this.table.name},set:function(i){this.table.name=i}},{key:"displayName",get:function(){return this.table.displyName||this.table.name}},{key:"displayNamename",set:function(i){this.table.displayName=i}},{key:"headerRow",get:function(){return this.table.headerRow},set:function(i){this._assign(this.table,"headerRow",i)}},{key:"totalsRow",get:function(){return this.table.totalsRow},set:function(i){this._assign(this.table,"totalsRow",i)}},{key:"theme",get:function(){return this.table.style.name},set:function(i){this.table.style.name=i}},{key:"showFirstColumn",get:function(){return this.table.style.showFirstColumn},set:function(i){this.table.style.showFirstColumn=i}},{key:"showLastColumn",get:function(){return this.table.style.showLastColumn},set:function(i){this.table.style.showLastColumn=i}},{key:"showRowStripes",get:function(){return this.table.style.showRowStripes},set:function(i){this.table.style.showRowStripes=i}},{key:"showColumnStripes",get:function(){return this.table.style.showColumnStripes},set:function(i){this.table.style.showColumnStripes=i}}]),o}();r.exports=s},{"../utils/col-cache":19}],13:[function(e,r,t){var n=e("./worksheet"),a=e("./defined-names"),s=e("../xlsx/xlsx"),o=e("../csv/csv"),i=function(){function c(){Fe(this,c),this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new a}return Le(c,[{key:"xlsx",get:function(){return this._xlsx||(this._xlsx=new s(this)),this._xlsx}},{key:"csv",get:function(){return this._csv||(this._csv=new o(this)),this._csv}},{key:"nextId",get:function(){for(var u=1;u<this._worksheets.length;u++)if(!this._worksheets[u])return u;return this._worksheets.length||1}},{key:"addWorksheet",value:function(u,l){var A=this.nextId;l&&(typeof l=="string"?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),l={properties:{tabColor:{argb:l}}}):(l.argb||l.theme||l.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),l={properties:{tabColor:l}}));var h=this._worksheets.reduce(function(g,p){return(p&&p.orderNo)>g?p.orderNo:g},0),f=Object.assign({},l,{id:A,name:u,orderNo:h+1,workbook:this}),d=new n(f);return this._worksheets[A]=d,d}},{key:"removeWorksheetEx",value:function(u){delete this._worksheets[u.id]}},{key:"removeWorksheet",value:function(u){var l=this.getWorksheet(u);l&&l.destroy()}},{key:"getWorksheet",value:function(u){return u===void 0?this._worksheets.find(Boolean):typeof u=="number"?this._worksheets[u]:typeof u=="string"?this._worksheets.find(function(l){return l&&l.name===u}):void 0}},{key:"worksheets",get:function(){return this._worksheets.slice(1).sort(function(u,l){return u.orderNo-l.orderNo}).filter(Boolean)}},{key:"eachSheet",value:function(u){this.worksheets.forEach(function(l){u(l,l.id)})}},{key:"definedNames",get:function(){return this._definedNames}},{key:"clearThemes",value:function(){this._themes=void 0}},{key:"addImage",value:function(u){var l=this.media.length;return this.media.push(Object.assign({},u,{type:"image"})),l}},{key:"getImage",value:function(u){return this.media[u]}},{key:"model",get:function(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(function(u){return u.model}),sheets:this.worksheets.map(function(u){return u.model}).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}},set:function(u){var l=this;this.creator=u.creator,this.lastModifiedBy=u.lastModifiedBy,this.lastPrinted=u.lastPrinted,this.created=u.created,this.modified=u.modified,this.company=u.company,this.manager=u.manager,this.title=u.title,this.subject=u.subject,this.keywords=u.keywords,this.category=u.category,this.description=u.description,this.language=u.language,this.revision=u.revision,this.contentStatus=u.contentStatus,this.properties=u.properties,this.calcProperties=u.calcProperties,this._worksheets=[],u.worksheets.forEach(function(A){var h=A.id,f=A.name,d=A.state,g=u.sheets&&u.sheets.findIndex(function(p){return p.id===h});(l._worksheets[h]=new n({id:h,name:f,orderNo:g,state:d,workbook:l})).model=A}),this._definedNames.model=u.definedNames,this.views=u.views,this._themes=u.themes,this.media=u.media||[]}}]),c}();r.exports=i},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(e,r,t){var n=e("../utils/under-dash"),a=e("../utils/col-cache"),s=e("./range"),o=e("./row"),i=e("./column"),c=e("./enums"),u=e("./image"),l=e("./table"),A=e("./data-validations"),h=e("../utils/encryptor"),f=e("../utils/copy-style").copyStyle,d=function(){function g(p){Fe(this,g),p=p||{},this._workbook=p.workbook,this.id=p.id,this.orderNo=p.orderNo,this.name=p.name,this.state=p.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},p.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!p.pageSetup||!p.pageSetup.fitToWidth&&!p.pageSetup.fitToHeight||p.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},p.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},p.headerFooter),this.dataValidations=new A,this.views=p.views||[],this.autoFilter=p.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}return Le(g,[{key:"name",get:function(){return this._name},set:function(p){if(p===void 0&&(p="sheet".concat(this.id)),this._name!==p){if(typeof p!="string")throw new Error("The name has to be a string.");if(p==="")throw new Error("The name can't be empty.");if(p==="History")throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(p))throw new Error("Worksheet name ".concat(p," cannot include any of the following characters: * ? : \\ / [ ]"));if(/(^')|('$)/.test(p))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: ".concat(p));if(p&&p.length>31&&(console.warn("Worksheet name ".concat(p," exceeds 31 chars. This will be truncated")),p=p.substring(0,31)),this._workbook._worksheets.find(function(m){return m&&m.name.toLowerCase()===p.toLowerCase()}))throw new Error("Worksheet name already exists: ".concat(p));this._name=p}}},{key:"workbook",get:function(){return this._workbook}},{key:"destroy",value:function(){this._workbook.removeWorksheetEx(this)}},{key:"dimensions",get:function(){var p=new s;return this._rows.forEach(function(m){if(m){var v=m.dimensions;v&&p.expand(m.number,v.min,m.number,v.max)}}),p}},{key:"columns",get:function(){return this._columns},set:function(p){var m=this;this._headerRowCount=p.reduce(function(I,E){var k=(E.header?1:E.headers&&E.headers.length)||0;return Math.max(I,k)},0);var v=1,y=this._columns=[];p.forEach(function(I){var E=new i(m,v++,!1);y.push(E),E.defn=I})}},{key:"getColumnKey",value:function(p){return this._keys[p]}},{key:"setColumnKey",value:function(p,m){this._keys[p]=m}},{key:"deleteColumnKey",value:function(p){delete this._keys[p]}},{key:"eachColumnKey",value:function(p){n.each(this._keys,p)}},{key:"getColumn",value:function(p){if(typeof p=="string"){var m=this._keys[p];if(m)return m;p=a.l2n(p)}if(this._columns||(this._columns=[]),p>this._columns.length)for(var v=this._columns.length+1;v<=p;)this._columns.push(new i(this,v++));return this._columns[p-1]}},{key:"spliceColumns",value:function(p,m){for(var v=this,y=this._rows.length,I=arguments.length,E=new Array(I>2?I-2:0),k=2;k<I;k++)E[k-2]=arguments[k];if(E.length>0)for(var R=function(C){var w=[p,m];E.forEach(function(B){w.push(B[C]||null)});var Q=v.getRow(C+1);Q.splice.apply(Q,w)},T=0;T<y;T++)R(T);else this._rows.forEach(function(C){C&&C.splice(p,m)});var j=E.length-m,W=p+m,H=this._columns.length;if(j<0)for(var X=p+E.length;X<=H;X++)this.getColumn(X).defn=this.getColumn(X-j).defn;else if(j>0)for(var x=H;x>=W;x--)this.getColumn(x+j).defn=this.getColumn(x).defn;for(var N=p;N<p+E.length;N++)this.getColumn(N).defn=null;this.workbook.definedNames.spliceColumns(this.name,p,m,E.length)}},{key:"lastColumn",get:function(){return this.getColumn(this.columnCount)}},{key:"columnCount",get:function(){var p=0;return this.eachRow(function(m){p=Math.max(p,m.cellCount)}),p}},{key:"actualColumnCount",get:function(){var p=[],m=0;return this.eachRow(function(v){v.eachCell(function(y){var I=y.col;p[I]||(p[I]=!0,m++)})}),m}},{key:"_commitRow",value:function(){}},{key:"_lastRowNumber",get:function(){for(var p=this._rows,m=p.length;m>0&&p[m-1]===void 0;)m--;return m}},{key:"_nextRow",get:function(){return this._lastRowNumber+1}},{key:"lastRow",get:function(){if(this._rows.length)return this._rows[this._rows.length-1]}},{key:"findRow",value:function(p){return this._rows[p-1]}},{key:"findRows",value:function(p,m){return this._rows.slice(p-1,p-1+m)}},{key:"rowCount",get:function(){return this._lastRowNumber}},{key:"actualRowCount",get:function(){var p=0;return this.eachRow(function(){p++}),p}},{key:"getRow",value:function(p){var m=this._rows[p-1];return m||(m=this._rows[p-1]=new o(this,p)),m}},{key:"getRows",value:function(p,m){if(!(m<1)){for(var v=[],y=p;y<p+m;y++)v.push(this.getRow(y));return v}}},{key:"addRow",value:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",v=this._nextRow,y=this.getRow(v);return y.values=p,this._setStyleOption(v,m[0]==="i"?m:"n"),y}},{key:"addRows",value:function(p){var m=this,v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n",y=[];return p.forEach(function(I){y.push(m.addRow(I,v))}),y}},{key:"insertRow",value:function(p,m){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(p,0,m),this._setStyleOption(p,v),this.getRow(p)}},{key:"insertRows",value:function(p,m){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows.apply(this,[p,0].concat(Et(m))),v!=="n")for(var y=0;y<m.length;y++)v[0]==="o"&&this.findRow(m.length+p+y)!==void 0?this._copyStyle(m.length+p+y,p+y,v[1]==="+"):v[0]==="i"&&this.findRow(p-1)!==void 0&&this._copyStyle(p-1,p+y,v[1]==="+");return this.getRows(p,m.length)}},{key:"_setStyleOption",value:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";m[0]==="o"&&this.findRow(p+1)!==void 0?this._copyStyle(p+1,p,m[1]==="+"):m[0]==="i"&&this.findRow(p-1)!==void 0&&this._copyStyle(p-1,p,m[1]==="+")}},{key:"_copyStyle",value:function(p,m){var v=arguments.length>2&&arguments[2]!==void 0&&arguments[2],y=this.getRow(p),I=this.getRow(m);I.style=f(y.style),y.eachCell({includeEmpty:v},function(E,k){I.getCell(k).style=f(E.style)}),I.height=y.height}},{key:"duplicateRow",value:function(p,m){var v=this,y=arguments.length>2&&arguments[2]!==void 0&&arguments[2],I=this._rows[p-1],E=new Array(m).fill(I.values);this.spliceRows.apply(this,[p+1,y?0:m].concat(Et(E)));for(var k=function(){var T=v._rows[p+R];T.style=I.style,T.height=I.height,I.eachCell({includeEmpty:!0},function(j,W){T.getCell(W).style=j.style})},R=0;R<m;R++)k()}},{key:"spliceRows",value:function(p,m){for(var v=this,y=p+m,I=arguments.length,E=new Array(I>2?I-2:0),k=2;k<I;k++)E[k-2]=arguments[k];var R,T,j=E.length,W=j-m,H=this._rows.length;if(W<0){p===H&&(this._rows[H-1]=void 0);var X=function(){if(T=v._rows[R-1]){var C=v.getRow(R+W);C.values=T.values,C.style=T.style,C.height=T.height,T.eachCell({includeEmpty:!0},function(w,Q){C.getCell(Q).style=w.style}),v._rows[R-1]=void 0}else v._rows[R+W-1]=void 0};for(R=y;R<=H;R++)X()}else if(W>0){var x=function(){if(T=v._rows[R-1]){var C=v.getRow(R+W);C.values=T.values,C.style=T.style,C.height=T.height,T.eachCell({includeEmpty:!0},function(w,Q){if(C.getCell(Q).style=w.style,w._value.constructor.name==="MergeValue"){var B=v.getRow(w._row._number+j).getCell(Q),S=w._value._master,O=v.getRow(S._row._number+j).getCell(S._column._number);B.merge(O)}})}else v._rows[R+W-1]=void 0};for(R=H;R>=y;R--)x()}for(R=0;R<j;R++){var N=this.getRow(p+R);N.style={},N.values=E[R]}this.workbook.definedNames.spliceRows(this.name,p,m,j)}},{key:"eachRow",value:function(p,m){if(m||(m=p,p=void 0),p&&p.includeEmpty)for(var v=this._rows.length,y=1;y<=v;y++)m(this.getRow(y),y);else this._rows.forEach(function(I){I&&I.hasValues&&m(I,I.number)})}},{key:"getSheetValues",value:function(){var p=[];return this._rows.forEach(function(m){m&&(p[m.number]=m.values)}),p}},{key:"findCell",value:function(p,m){var v=a.getAddress(p,m),y=this._rows[v.row-1];return y?y.findCell(v.col):void 0}},{key:"getCell",value:function(p,m){var v=a.getAddress(p,m);return this.getRow(v.row).getCellEx(v)}},{key:"mergeCells",value:function(){for(var p=arguments.length,m=new Array(p),v=0;v<p;v++)m[v]=arguments[v];var y=new s(m);this._mergeCellsInternal(y)}},{key:"mergeCellsWithoutStyle",value:function(){for(var p=arguments.length,m=new Array(p),v=0;v<p;v++)m[v]=arguments[v];var y=new s(m);this._mergeCellsInternal(y,!0)}},{key:"_mergeCellsInternal",value:function(p,m){n.each(this._merges,function(E){if(E.intersects(p))throw new Error("Cannot merge already merged cells")});for(var v=this.getCell(p.top,p.left),y=p.top;y<=p.bottom;y++)for(var I=p.left;I<=p.right;I++)(y>p.top||I>p.left)&&this.getCell(y,I).merge(v,m);this._merges[v.address]=p}},{key:"_unMergeMaster",value:function(p){var m=this._merges[p.address];if(m){for(var v=m.top;v<=m.bottom;v++)for(var y=m.left;y<=m.right;y++)this.getCell(v,y).unmerge();delete this._merges[p.address]}}},{key:"hasMerges",get:function(){return n.some(this._merges,Boolean)}},{key:"unMergeCells",value:function(){for(var p=arguments.length,m=new Array(p),v=0;v<p;v++)m[v]=arguments[v];for(var y=new s(m),I=y.top;I<=y.bottom;I++)for(var E=y.left;E<=y.right;E++){var k=this.findCell(I,E);k&&(k.type===c.ValueType.Merge?this._unMergeMaster(k.master):this._merges[k.address]&&this._unMergeMaster(k))}}},{key:"fillFormula",value:function(p,m,v){var y,I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"shared",E=a.decode(p),k=E.top,R=E.left,T=E.bottom,j=E.right,W=j-R+1,H=a.encodeAddress(k,R),X=I==="shared";y=typeof v=="function"?v:Array.isArray(v)?Array.isArray(v[0])?function(w,Q){return v[w-k][Q-R]}:function(w,Q){return v[(w-k)*W+(Q-R)]}:function(){};for(var x=!0,N=k;N<=T;N++)for(var C=R;C<=j;C++)x?(this.getCell(N,C).value={shareType:I,formula:m,ref:p,result:y(N,C)},x=!1):this.getCell(N,C).value=X?{sharedFormula:H,result:y(N,C)}:y(N,C)}},{key:"addImage",value:function(p,m){var v={type:"image",imageId:p,range:m};this._media.push(new u(this,v))}},{key:"getImages",value:function(){return this._media.filter(function(p){return p.type==="image"})}},{key:"addBackgroundImage",value:function(p){var m={type:"background",imageId:p};this._media.push(new u(this,m))}},{key:"getBackgroundImageId",value:function(){var p=this._media.find(function(m){return m.type==="background"});return p&&p.imageId}},{key:"protect",value:function(p,m){var v=this;return new Promise(function(y){v.sheetProtection={sheet:!0},m&&"spinCount"in m&&(m.spinCount=Number.isFinite(m.spinCount)?Math.round(Math.max(0,m.spinCount)):1e5),p&&(v.sheetProtection.algorithmName="SHA-512",v.sheetProtection.saltValue=h.randomBytes(16).toString("base64"),v.sheetProtection.spinCount=m&&"spinCount"in m?m.spinCount:1e5,v.sheetProtection.hashValue=h.convertPasswordToHash(p,"SHA512",v.sheetProtection.saltValue,v.sheetProtection.spinCount)),m&&(v.sheetProtection=Object.assign(v.sheetProtection,m),!p&&"spinCount"in m&&delete v.sheetProtection.spinCount),y()})}},{key:"unprotect",value:function(){this.sheetProtection=null}},{key:"addTable",value:function(p){var m=new l(this,p);return this.tables[p.name]=m,m}},{key:"getTable",value:function(p){return this.tables[p]}},{key:"removeTable",value:function(p){delete this.tables[p]}},{key:"getTables",value:function(){return Object.values(this.tables)}},{key:"addConditionalFormatting",value:function(p){this.conditionalFormattings.push(p)}},{key:"removeConditionalFormatting",value:function(p){typeof p=="number"?this.conditionalFormattings.splice(p,1):this.conditionalFormattings=p instanceof Function?this.conditionalFormattings.filter(p):[]}},{key:"tabColor",get:function(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor},set:function(p){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=p}},{key:"model",get:function(){var p={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(function(y){return y.model}),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(function(y){return y.model}),conditionalFormattings:this.conditionalFormattings};p.cols=i.toModel(this.columns);var m=p.rows=[],v=p.dimensions=new s;return this._rows.forEach(function(y){var I=y&&y.model;I&&(v.expand(I.number,I.min,I.number,I.max),m.push(I))}),p.merges=[],n.each(this._merges,function(y){p.merges.push(y.range)}),p},set:function(p){var m=this;this.name=p.name,this._columns=i.fromModel(this,p.cols),this._parseRows(p),this._parseMergeCells(p),this.dataValidations=new A(p.dataValidations),this.properties=p.properties,this.pageSetup=p.pageSetup,this.headerFooter=p.headerFooter,this.views=p.views,this.autoFilter=p.autoFilter,this._media=p.media.map(function(v){return new u(m,v)}),this.sheetProtection=p.sheetProtection,this.tables=p.tables.reduce(function(v,y){var I=new l;return I.model=y,v[y.name]=I,v},{}),this.conditionalFormattings=p.conditionalFormattings}},{key:"_parseRows",value:function(p){var m=this;this._rows=[],p.rows.forEach(function(v){var y=new o(m,v.number);m._rows[y.number-1]=y,y.model=v})}},{key:"_parseMergeCells",value:function(p){var m=this;n.each(p.mergeCells,function(v){m.mergeCellsWithoutStyle(v)})}}]),g}();r.exports=d},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(e,r,t){e("core-js/modules/es.promise"),e("core-js/modules/es.promise.finally"),e("core-js/modules/es.object.assign"),e("core-js/modules/es.object.keys"),e("core-js/modules/es.object.values"),e("core-js/modules/es.symbol"),e("core-js/modules/es.symbol.async-iterator"),e("core-js/modules/es.array.iterator"),e("core-js/modules/es.array.includes"),e("core-js/modules/es.array.find-index"),e("core-js/modules/es.array.find"),e("core-js/modules/es.string.from-code-point"),e("core-js/modules/es.string.includes"),e("core-js/modules/es.number.is-nan"),e("regenerator-runtime/runtime");var n={Workbook:e("./doc/workbook")},a=e("./doc/enums");Object.keys(a).forEach(function(s){n[s]=a[s]}),r.exports=n},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(e,r,t){var n=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function a(s){return typeof s=="string"?s:n?n.decode(s):s.toString()}t.bufferToString=a},{}],17:[function(e,r,t){var n=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),a=e("buffer").Buffer;function s(o){return typeof o!="string"?o:n?a.from(n.encode(o).buffer):a.from(o)}t.stringToBuffer=s},{buffer:220}],18:[function(e,r,t){var n=e("./under-dash"),a=e("./col-cache"),s=function(){function o(i){Fe(this,o),this.template=i,this.sheets={}}return Le(o,[{key:"addCell",value:function(i){this.addCellEx(a.decodeEx(i))}},{key:"getCell",value:function(i){return this.findCellEx(a.decodeEx(i),!0)}},{key:"findCell",value:function(i){return this.findCellEx(a.decodeEx(i),!1)}},{key:"findCellAt",value:function(i,c,u){var l=this.sheets[i],A=l&&l[c];return A&&A[u]}},{key:"addCellEx",value:function(i){if(i.top)for(var c=i.top;c<=i.bottom;c++)for(var u=i.left;u<=i.right;u++)this.getCellAt(i.sheetName,c,u);else this.findCellEx(i,!0)}},{key:"getCellEx",value:function(i){return this.findCellEx(i,!0)}},{key:"findCellEx",value:function(i,c){var u=this.findSheet(i,c),l=this.findSheetRow(u,i,c);return this.findRowCell(l,i,c)}},{key:"getCellAt",value:function(i,c,u){var l=this.sheets[i]||(this.sheets[i]=[]),A=l[c]||(l[c]=[]);return A[u]||(A[u]={sheetName:i,address:a.n2l(u)+c,row:c,col:u})}},{key:"removeCellEx",value:function(i){var c=this.findSheet(i);if(c){var u=this.findSheetRow(c,i);u&&delete u[i.col]}}},{key:"forEachInSheet",value:function(i,c){var u=this.sheets[i];u&&u.forEach(function(l,A){l&&l.forEach(function(h,f){h&&c(h,A,f)})})}},{key:"forEach",value:function(i){var c=this;n.each(this.sheets,function(u,l){c.forEachInSheet(l,i)})}},{key:"map",value:function(i){var c=[];return this.forEach(function(u){c.push(i(u))}),c}},{key:"findSheet",value:function(i,c){var u=i.sheetName;return this.sheets[u]?this.sheets[u]:c?this.sheets[u]=[]:void 0}},{key:"findSheetRow",value:function(i,c,u){var l=c.row;return i&&i[l]?i[l]:u?i[l]=[]:void 0}},{key:"findRowCell",value:function(i,c,u){var l=c.col;return i&&i[l]?i[l]:u?i[l]=this.template?Object.assign(c,JSON.parse(JSON.stringify(this.template))):c:void 0}},{key:"spliceRows",value:function(i,c,u,l){var A=this.sheets[i];if(A){for(var h=[],f=0;f<l;f++)h.push([]);A.splice.apply(A,[c,u].concat(h))}}},{key:"spliceColumns",value:function(i,c,u,l){var A=this.sheets[i];if(A){for(var h=[],f=0;f<l;f++)h.push(null);n.each(A,function(d){d.splice.apply(d,[c,u].concat(h))})}}}]),o}();r.exports=s},{"./col-cache":19,"./under-dash":26}],19:[function(e,r,t){var n=/^[A-Z]+\d+$/,a={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:function(s){return s<=26?1:s<=676?2:3},_fill:function(s){var o,i,c,u,l,A=1;if(s>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&s>=1){for(;A<=26;)o=this._dictionary[A-1],this._n2l[A]=o,this._l2n[o]=A,A++;this._l2nFill=1}if(this._l2nFill<2&&s>=2){for(A=27;A<=702;)c=(i=A-27)%26,u=Math.floor(i/26),o=this._dictionary[u]+this._dictionary[c],this._n2l[A]=o,this._l2n[o]=A,A++;this._l2nFill=2}if(this._l2nFill<3&&s>=3){for(A=703;A<=16384;)c=(i=A-703)%26,u=Math.floor(i/26)%26,l=Math.floor(i/676),o=this._dictionary[l]+this._dictionary[u]+this._dictionary[c],this._n2l[A]=o,this._l2n[o]=A,A++;this._l2nFill=3}},l2n:function(s){if(this._l2n[s]||this._fill(s.length),!this._l2n[s])throw new Error("Out of bounds. Invalid column letter: ".concat(s));return this._l2n[s]},n2l:function(s){if(s<1||s>16384)throw new Error("".concat(s," is out of bounds. Excel supports columns from 1 to 16384"));return this._n2l[s]||this._fill(this._level(s)),this._n2l[s]},_hash:{},validateAddress:function(s){if(!n.test(s))throw new Error("Invalid Address: ".concat(s));return!0},decodeAddress:function(s){var o=s.length<5&&this._hash[s];if(o)return o;for(var i,c=!1,u="",l=0,A=!1,h="",f=0,d=0;d<s.length;d++)if(i=s.charCodeAt(d),!A&&i>=65&&i<=90)c=!0,u+=s[d],l=26*l+i-64;else if(i>=48&&i<=57)A=!0,h+=s[d],f=10*f+i-48;else if(A&&c&&i!==36)break;if(c){if(l>16384)throw new Error("Out of bounds. Invalid column letter: ".concat(u))}else l=void 0;A||(f=void 0);var g={address:s=u+h,col:l,row:f,$col$row:"$".concat(u,"$").concat(h)};return l<=100&&f<=100&&(this._hash[s]=g,this._hash[g.$col$row]=g),g},getAddress:function(s,o){if(o){var i=this.n2l(o)+s;return this.decodeAddress(i)}return this.decodeAddress(s)},decode:function(s){var o=s.split(":");if(o.length===2){var i=this.decodeAddress(o[0]),c=this.decodeAddress(o[1]),u={top:Math.min(i.row,c.row),left:Math.min(i.col,c.col),bottom:Math.max(i.row,c.row),right:Math.max(i.col,c.col)};return u.tl=this.n2l(u.left)+u.top,u.br=this.n2l(u.right)+u.bottom,u.dimensions="".concat(u.tl,":").concat(u.br),u}return this.decodeAddress(s)},decodeEx:function(s){var o=s.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),i=o[1]||o[2],c=o[3],u=c.split(":");if(u.length>1){var l=this.decodeAddress(u[0]),A=this.decodeAddress(u[1]),h=Math.min(l.row,A.row),f=Math.min(l.col,A.col),d=Math.max(l.row,A.row),g=Math.max(l.col,A.col);return l=this.n2l(f)+h,A=this.n2l(g)+d,{top:h,left:f,bottom:d,right:g,sheetName:i,tl:{address:l,col:f,row:h,$col$row:"$".concat(this.n2l(f),"$").concat(h),sheetName:i},br:{address:A,col:g,row:d,$col$row:"$".concat(this.n2l(g),"$").concat(d),sheetName:i},dimensions:"".concat(l,":").concat(A)}}if(c.startsWith("#"))return i?{sheetName:i,error:c}:{error:c};var p=this.decodeAddress(c);return i?bo({sheetName:i},p):p},encodeAddress:function(s,o){return a.n2l(o)+s},encode:function(){switch(arguments.length){case 2:return a.encodeAddress(arguments[0],arguments[1]);case 4:return"".concat(a.encodeAddress(arguments[0],arguments[1]),":").concat(a.encodeAddress(arguments[2],arguments[3]));default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange:function(s,o){var i=Tt(s,5),c=i[0],u=i[1],l=i[3],A=i[4],h=Tt(o,2),f=h[0],d=h[1];return f>=c&&f<=l&&d>=u&&d<=A}};r.exports=a},{}],20:[function(e,r,t){var n=function(i,c){return bo(bo({},i),c.reduce(function(u,l){return i[l]&&(u[l]=bo({},i[l])),u},{}))},a=function(i,c,u){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];i[u]&&(c[u]=n(i[u],l))},s=function(i){return Object.keys(i).length===0},o=function(i){if(!i)return i;if(s(i))return{};var c=bo({},i);return a(i,c,"font",["color"]),a(i,c,"alignment"),a(i,c,"protection"),i.border&&(a(i,c,"border"),a(i.border,c.border,"top",["color"]),a(i.border,c.border,"left",["color"]),a(i.border,c.border,"bottom",["color"]),a(i.border,c.border,"right",["color"]),a(i.border,c.border,"diagonal",["color"])),i.fill&&(a(i,c,"fill",["fgColor","bgColor","center"]),i.fill.stops&&(c.fill.stops=i.fill.stops.map(function(u){return n(u,["color"])}))),c};t.copyStyle=o},{}],21:[function(e,r,t){(function(n){(function(){var a=e("crypto"),s={hash:function(o){for(var i=a.createHash(o),c=arguments.length,u=new Array(c>1?c-1:0),l=1;l<c;l++)u[l-1]=arguments[l];return i.update(n.concat(u)),i.digest()},convertPasswordToHash:function(o,i,c,u){if(i=i.toLowerCase(),a.getHashes().indexOf(i)<0)throw new Error("Hash algorithm '".concat(i,"' not supported!"));for(var l=n.from(o,"utf16le"),A=this.hash(i,n.from(c,"base64"),l),h=0;h<u;h++){var f=n.alloc(4);f.writeUInt32LE(h,0),A=this.hash(i,A,f)}return A.toString("base64")},randomBytes:function(o){return a.randomBytes(o)}};r.exports=s}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(e,r,t){var n=e("saxes").SaxesParser,a=e("readable-stream").PassThrough,s=e("./browser-buffer-decode").bufferToString;r.exports=function(){var o,i=(o=mn.mark(function c(u){var l,A,h,f,d,g,p,m,v;return mn.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:u.pipe&&!u[Symbol.asyncIterator]&&(u=u.pipe(new a)),(l=new n).on("error",function(I){A=I}),h=[],l.on("opentag",function(I){return h.push({eventType:"opentag",value:I})}),l.on("text",function(I){return h.push({eventType:"text",value:I})}),l.on("closetag",function(I){return h.push({eventType:"closetag",value:I})}),f=!1,d=!1,y.prev=9,p=t0(u);case 11:return y.next=13,E1(p.next());case 13:if(!(f=!(m=y.sent).done)){y.next=24;break}if(v=m.value,l.write(s(v)),!A){y.next=18;break}throw A;case 18:return y.next=20,h;case 20:h=[];case 21:f=!1,y.next=11;break;case 24:y.next=30;break;case 26:y.prev=26,y.t0=y.catch(9),d=!0,g=y.t0;case 30:if(y.prev=30,y.prev=31,!f||p.return==null){y.next=35;break}return y.next=35,E1(p.return());case 35:if(y.prev=35,!d){y.next=38;break}throw g;case 38:return y.finish(35);case 39:return y.finish(30);case 40:case"end":return y.stop()}},c,null,[[9,26,30,40],[31,,35,39]])}),function(){return new UA(o.apply(this,arguments))});return function(c){return i.apply(this,arguments)}}()},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(e,r,t){var n=e("./col-cache"),a=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,s=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function o(i,c,u){var l=n.decode(c),A=n.decode(u);return i.replace(a,function(h,f,d,g,p){if(p)return h;var m=s.exec(g);if(m){var v=m[1],y=m[2].toUpperCase(),I=m[3],E=m[4];if(y.length>3||y.length===3&&y>"XFD")return h;var k=n.l2n(y),R=parseInt(E,10);return v||(k+=A.col-l.col),I||(R+=A.row-l.row),(f||"")+(v||"")+n.n2l(k)+(I||"")+R}return h})}r.exports={slideFormula:o}},{"./col-cache":19}],24:[function(e,r,t){(function(n,a){(function(){var s=e("readable-stream"),o=e("./utils"),i=e("./string-buf"),c=function(){function f(d,g){Fe(this,f),this._data=d,this._encoding=g}return Le(f,[{key:"length",get:function(){return this.toBuffer().length}},{key:"copy",value:function(d,g,p,m){return this.toBuffer().copy(d,g,p,m)}},{key:"toBuffer",value:function(){return this._buffer||(this._buffer=a.from(this._data,this._encoding)),this._buffer}}]),f}(),u=function(){function f(d){Fe(this,f),this._data=d}return Le(f,[{key:"length",get:function(){return this._data.length}},{key:"copy",value:function(d,g,p,m){return this._data._buf.copy(d,g,p,m)}},{key:"toBuffer",value:function(){return this._data.toBuffer()}}]),f}(),l=function(){function f(d){Fe(this,f),this._data=d}return Le(f,[{key:"length",get:function(){return this._data.length}},{key:"copy",value:function(d,g,p,m){this._data.copy(d,g,p,m)}},{key:"toBuffer",value:function(){return this._data}}]),f}(),A=function(){function f(d){Fe(this,f),this.size=d,this.buffer=a.alloc(d),this.iRead=0,this.iWrite=0}return Le(f,[{key:"toBuffer",value:function(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;var d=a.alloc(this.iWrite-this.iRead);return this.buffer.copy(d,0,this.iRead,this.iWrite),d}},{key:"length",get:function(){return this.iWrite-this.iRead}},{key:"eod",get:function(){return this.iRead===this.iWrite}},{key:"full",get:function(){return this.iWrite===this.size}},{key:"read",value:function(d){var g;return d===0?null:d===void 0||d>=this.length?(g=this.toBuffer(),this.iRead=this.iWrite,g):(g=a.alloc(d),this.buffer.copy(g,0,this.iRead,d),this.iRead+=d,g)}},{key:"write",value:function(d,g,p){var m=Math.min(p,this.size-this.iWrite);return d.copy(this.buffer,this.iWrite,g,g+m),this.iWrite+=m,m}}]),f}(),h=function(f){f=f||{},this.bufSize=f.bufSize||1048576,this.buffers=[],this.batch=f.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};o.inherits(h,s.Duplex,{toBuffer:function(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return a.concat(this.buffers.map(function(f){return f.toBuffer()}))}},_getWritableBuffer:function(){if(this.buffers.length){var f=this.buffers[this.buffers.length-1];if(!f.full)return f}var d=new A(this.bufSize);return this.buffers.push(d),d},_pipe:function(f){var d=this;return Oi(mn.mark(function g(){var p;return mn.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return p=function(v){return new Promise(function(y){v.write(f.toBuffer(),function(){y()})})},m.next=3,Promise.all(d.pipes.map(p));case 3:case"end":return m.stop()}},g)}))()},_writeToBuffers:function(f){for(var d=0,g=f.length;d<g;)d+=this._getWritableBuffer().write(f,d,g-d)},write:function(f,d,g){var p=this;return Oi(mn.mark(function m(){var v;return mn.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(d instanceof Function&&(g=d,d="utf8"),g=g||o.nop,!(f instanceof i)){y.next=6;break}v=new u(f),y.next=15;break;case 6:if(!(f instanceof a)){y.next=10;break}v=new l(f),y.next=15;break;case 10:if(!(typeof f=="string"||f instanceof String||f instanceof ArrayBuffer)){y.next=14;break}v=new c(f,d),y.next=15;break;case 14:throw new Error("Chunk must be one of type String, Buffer or StringBuf.");case 15:if(!p.pipes.length){y.next=31;break}if(!p.batch){y.next=21;break}for(p._writeToBuffers(v);!p.corked&&p.buffers.length>1;)p._pipe(p.buffers.shift());y.next=29;break;case 21:if(p.corked){y.next=27;break}return y.next=24,p._pipe(v);case 24:g(),y.next=29;break;case 27:p._writeToBuffers(v),n.nextTick(g);case 29:y.next=34;break;case 31:p.paused||p.emit("data",v.toBuffer()),p._writeToBuffers(v),p.emit("readable");case 34:return y.abrupt("return",!0);case 35:case"end":return y.stop()}},m)}))()},cork:function(){this.corked=!0},_flush:function(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork:function(){this.corked=!1,this._flush()},end:function(f,d,g){var p=this,m=function(v){v?g(v):(p._flush(),p.pipes.forEach(function(y){y.end()}),p.emit("finish"))};f?this.write(f,d,m):m()},read:function(f){var d;if(f){for(d=[];f&&this.buffers.length&&!this.buffers[0].eod;){var g=this.buffers[0],p=g.read(f);f-=p.length,d.push(p),g.eod&&g.full&&this.buffers.shift()}return a.concat(d)}return d=this.buffers.map(function(m){return m.toBuffer()}).filter(Boolean),this.buffers=[],a.concat(d)},setEncoding:function(f){this.encoding=f},pause:function(){this.paused=!0},resume:function(){this.paused=!1},isPaused:function(){return!!this.paused},pipe:function(f){this.pipes.push(f),!this.paused&&this.buffers.length&&this.end()},unpipe:function(f){this.pipes=this.pipes.filter(function(d){return d!==f})},unshift:function(){throw new Error("Not Implemented")},wrap:function(){throw new Error("Not Implemented")}}),r.exports=h}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(e,r,t){(function(n){(function(){var a=function(){function s(o){Fe(this,s),this._buf=n.alloc(o&&o.size||16384),this._encoding=o&&o.encoding||"utf8",this._inPos=0,this._buffer=void 0}return Le(s,[{key:"length",get:function(){return this._inPos}},{key:"capacity",get:function(){return this._buf.length}},{key:"buffer",get:function(){return this._buf}},{key:"toBuffer",value:function(){return this._buffer||(this._buffer=n.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}},{key:"reset",value:function(o){o=o||0,this._buffer=void 0,this._inPos=o}},{key:"_grow",value:function(o){for(var i=2*this._buf.length;i<o;)i*=2;var c=n.alloc(i);this._buf.copy(c,0),this._buf=c}},{key:"addText",value:function(o){this._buffer=void 0;for(var i=this._inPos+this._buf.write(o,this._inPos,this._encoding);i>=this._buf.length-4;)this._grow(this._inPos+o.length),i=this._inPos+this._buf.write(o,this._inPos,this._encoding);this._inPos=i}},{key:"addStringBuf",value:function(o){o.length&&(this._buffer=void 0,this.length+o.length>this.capacity&&this._grow(this.length+o.length),o._buf.copy(this._buf,this._inPos,0,o.length),this._inPos+=o.length)}}]),s}();r.exports=a}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220}],26:[function(e,r,t){var n=Object.prototype.toString,a=/["&<>]/,s={each:function(o,i){o&&(Array.isArray(o)?o.forEach(i):Object.keys(o).forEach(function(c){i(o[c],c)}))},some:function(o,i){return!!o&&(Array.isArray(o)?o.some(i):Object.keys(o).some(function(c){return i(o[c],c)}))},every:function(o,i){return!o||(Array.isArray(o)?o.every(i):Object.keys(o).every(function(c){return i(o[c],c)}))},map:function(o,i){return o?Array.isArray(o)?o.map(i):Object.keys(o).map(function(c){return i(o[c],c)}):[]},keyBy:function(o,i){return o.reduce(function(c,u){return c[u[i]]=u,c},{})},isEqual:function(o,i){var c,u=typeof o,l=typeof i,A=Array.isArray(o),h=Array.isArray(i);if(u!==l)return!1;if(typeof o=="object"){if(A||h)return!(!A||!h)&&o.length===i.length&&o.every(function(p,m){var v=i[m];return s.isEqual(p,v)});if(o===null||i===null)return o===i;if(c=Object.keys(o),Object.keys(i).length!==c.length)return!1;var f,d=nd(c);try{for(d.s();!(f=d.n()).done;){var g=f.value;if(!i.hasOwnProperty(g))return!1}}catch(p){d.e(p)}finally{d.f()}return s.every(o,function(p,m){var v=i[m];return s.isEqual(p,v)})}return o===i},escapeHtml:function(o){var i=a.exec(o);if(!i)return o;for(var c="",u="",l=0,A=i.index;A<o.length;A++){switch(o.charAt(A)){case'"':u="&quot;";break;case"&":u="&amp;";break;case"'":u="&apos;";break;case"<":u="&lt;";break;case">":u="&gt;";break;default:continue}l!==A&&(c+=o.substring(l,A)),l=A+1,c+=u}return l!==A?c+o.substring(l,A):c},strcmp:function(o,i){return o<i?-1:o>i?1:0},isUndefined:function(o){return n.call(o)==="[object Undefined]"},isObject:function(o){return n.call(o)==="[object Object]"},deepMerge:function(){var o,i,c,u=arguments[0]||{},l=arguments.length;function A(f,d){o=u[d],c=Array.isArray(f),s.isObject(f)||c?(c?(c=!1,i=o&&Array.isArray(o)?o:[]):i=o&&s.isObject(o)?o:{},u[d]=s.deepMerge(i,f)):s.isUndefined(f)||(u[d]=f)}for(var h=0;h<l;h++)s.each(arguments[h],A);return u}};r.exports=s},{}],27:[function(e,r,t){(function(n,a){(function(){var s=e("fs"),o=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,i={nop:function(){},promiseImmediate:function(c){return new Promise(function(u){n.setImmediate?a(function(){u(c)}):setTimeout(function(){u(c)},1)})},inherits:function(c,u,l,A){c.super_=u,A||(A=l,l=null),l&&Object.keys(l).forEach(function(f){Object.defineProperty(c,f,Object.getOwnPropertyDescriptor(l,f))});var h={constructor:{value:c,enumerable:!1,writable:!1,configurable:!0}};A&&Object.keys(A).forEach(function(f){h[f]=Object.getOwnPropertyDescriptor(A,f)}),c.prototype=Object.create(u.prototype,h)},dateToExcel:function(c,u){return 25569+c.getTime()/864e5-(u?1462:0)},excelToDate:function(c,u){var l=Math.round(24*(c-25569+(u?1462:0))*3600*1e3);return new Date(l)},parsePath:function(c){var u=c.lastIndexOf("/");return{path:c.substring(0,u),name:c.substring(u+1)}},getRelsPath:function(c){var u=i.parsePath(c);return"".concat(u.path,"/_rels/").concat(u.name,".rels")},xmlEncode:function(c){var u=o.exec(c);if(!u)return c;for(var l="",A="",h=0,f=u.index;f<c.length;f++){var d=c.charCodeAt(f);switch(d){case 34:A="&quot;";break;case 38:A="&amp;";break;case 39:A="&apos;";break;case 60:A="&lt;";break;case 62:A="&gt;";break;case 127:A="";break;default:if(d<=31&&(d<=8||d>=11&&d!==13)){A="";break}continue}h!==f&&(l+=c.substring(h,f)),h=f+1,A&&(l+=A)}return h!==f?l+c.substring(h,f):l},xmlDecode:function(c){return c.replace(/&([a-z]*);/g,function(u){switch(u){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return u}})},validInt:function(c){var u=parseInt(c,10);return Number.isNaN(u)?0:u},isDateFmt:function(c){return!!c&&(c=(c=c.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null},fs:{exists:function(c){return new Promise(function(u){s.access(c,s.constants.F_OK,function(l){u(!l)})})}},toIsoDateString:function(c){return c.toIsoString().subsstr(0,10)},parseBoolean:function(c){return c===!0||c==="true"||c===1||c==="1"}};r.exports=i}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{},e("timers").setImmediate)},{fs:216,timers:523}],28:[function(e,r,t){var n=e("./under-dash"),a=e("./utils"),s="<",o=">",i="</",c="/>";function u(h,f,d){h.push(" ".concat(f,'="').concat(a.xmlEncode(d.toString()),'"'))}function l(h,f){if(f){var d=[];n.each(f,function(g,p){g!==void 0&&u(d,p,g)}),h.push(d.join(""))}}var A=function(){function h(){Fe(this,h),this._xml=[],this._stack=[],this._rollbacks=[]}return Le(h,[{key:"tos",get:function(){return this._stack.length?this._stack[this._stack.length-1]:void 0}},{key:"cursor",get:function(){return this._xml.length}},{key:"openXml",value:function(f){var d=this._xml;d.push("<?xml"),l(d,f),d.push(`?>
  85. `)}},{key:"openNode",value:function(f,d){var g=this.tos,p=this._xml;g&&this.open&&p.push(o),this._stack.push(f),p.push(s),p.push(f),l(p,d),this.leaf=!0,this.open=!0}},{key:"addAttribute",value:function(f,d){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");d!==void 0&&u(this._xml,f,d)}},{key:"addAttributes",value:function(f){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");l(this._xml,f)}},{key:"writeText",value:function(f){var d=this._xml;this.open&&(d.push(o),this.open=!1),this.leaf=!1,d.push(a.xmlEncode(f.toString()))}},{key:"writeXml",value:function(f){this.open&&(this._xml.push(o),this.open=!1),this.leaf=!1,this._xml.push(f)}},{key:"closeNode",value:function(){var f=this._stack.pop(),d=this._xml;this.leaf?d.push(c):(d.push(i),d.push(f),d.push(o)),this.open=!1,this.leaf=!1}},{key:"leafNode",value:function(f,d,g){this.openNode(f,d),g!==void 0&&this.writeText(g),this.closeNode()}},{key:"closeAll",value:function(){for(;this._stack.length;)this.closeNode()}},{key:"addRollback",value:function(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}},{key:"commit",value:function(){this._rollbacks.pop()}},{key:"rollback",value:function(){var f=this._rollbacks.pop();this._xml.length>f.xml&&this._xml.splice(f.xml,this._xml.length-f.xml),this._stack.length>f.stack&&this._stack.splice(f.stack,this._stack.length-f.stack),this.leaf=f.leaf,this.open=f.open}},{key:"xml",get:function(){return this.closeAll(),this._xml.join("")}}]),h}();A.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},r.exports=A},{"./under-dash":26,"./utils":27}],29:[function(e,r,t){(function(n){(function(){var a=e("events"),s=e("jszip"),o=e("./stream-buf"),i=e("./browser-buffer-encode").stringToBuffer,c=function(u){Mt(A,u);var l=ir(A);function A(h){var f;return Fe(this,A),(f=l.call(this)).options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},h),f.zip=new s,f.stream=new o,f}return Le(A,[{key:"append",value:function(h,f){f.hasOwnProperty("base64")&&f.base64?this.zip.file(f.name,h,{base64:!0}):(n.browser&&typeof h=="string"&&(h=i(h)),this.zip.file(f.name,h))}},{key:"finalize",value:function(){var h=Oi(mn.mark(function d(){var g;return mn.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this.zip.generateAsync(this.options);case 2:g=p.sent,this.stream.end(g),this.emit("finish");case 5:case"end":return p.stop()}},d,this)}));function f(){return h.apply(this,arguments)}return f}()},{key:"read",value:function(h){return this.stream.read(h)}},{key:"setEncoding",value:function(h){return this.stream.setEncoding(h)}},{key:"pause",value:function(){return this.stream.pause()}},{key:"resume",value:function(){return this.stream.resume()}},{key:"isPaused",value:function(){return this.stream.isPaused()}},{key:"pipe",value:function(h,f){return this.stream.pipe(h,f)}},{key:"unpipe",value:function(h){return this.stream.unpipe(h)}},{key:"unshift",value:function(h){return this.stream.unshift(h)}},{key:"wrap",value:function(h){return this.stream.wrap(h)}}]),A}(a.EventEmitter);r.exports={ZipWriter:c}}).call(this)}).call(this,e("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(e,r,t){r.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],31:[function(e,r,t){r.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],32:[function(e,r,t){var n=e("../../utils/parse-sax"),a=e("../../utils/xml-stream"),s=function(){function o(){Fe(this,o)}return Le(o,[{key:"prepare",value:function(){}},{key:"render",value:function(){}},{key:"parseOpen",value:function(i){}},{key:"parseText",value:function(i){}},{key:"parseClose",value:function(i){}},{key:"reconcile",value:function(i,c){}},{key:"reset",value:function(){this.model=null,this.map&&Object.values(this.map).forEach(function(i){i instanceof o?i.reset():i.xform&&i.xform.reset()})}},{key:"mergeModel",value:function(i){this.model=Object.assign(this.model||{},i)}},{key:"parse",value:function(){var i=Oi(mn.mark(function u(l){var A,h,f,d,g,p,m,v,y,I,E;return mn.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:A=!1,h=!1,k.prev=2,d=t0(l);case 4:return k.next=6,d.next();case 6:if(!(A=!(g=k.sent).done)){k.next=37;break}p=g.value,m=nd(p),k.prev=9,m.s();case 11:if((v=m.n()).done){k.next=26;break}if(y=v.value,I=y.eventType,E=y.value,I!=="opentag"){k.next=17;break}this.parseOpen(E),k.next=24;break;case 17:if(I!=="text"){k.next=21;break}this.parseText(E),k.next=24;break;case 21:if(I!=="closetag"){k.next=24;break}if(this.parseClose(E.name)){k.next=24;break}return k.abrupt("return",this.model);case 24:k.next=11;break;case 26:k.next=31;break;case 28:k.prev=28,k.t0=k.catch(9),m.e(k.t0);case 31:return k.prev=31,m.f(),k.finish(31);case 34:A=!1,k.next=4;break;case 37:k.next=43;break;case 39:k.prev=39,k.t1=k.catch(2),h=!0,f=k.t1;case 43:if(k.prev=43,k.prev=44,!A||d.return==null){k.next=48;break}return k.next=48,d.return();case 48:if(k.prev=48,!h){k.next=51;break}throw f;case 51:return k.finish(48);case 52:return k.finish(43);case 53:return k.abrupt("return",this.model);case 54:case"end":return k.stop()}},u,this,[[2,39,43,53],[9,28,31,34],[44,,48,52]])}));function c(u){return i.apply(this,arguments)}return c}()},{key:"parseStream",value:function(){var i=Oi(mn.mark(function u(l){return mn.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",this.parse(n(l)));case 1:case"end":return A.stop()}},u,this)}));function c(u){return i.apply(this,arguments)}return c}()},{key:"xml",get:function(){return this.toXml(this.model)}},{key:"toXml",value:function(i){var c=new a;return this.render(c,i),c.xml}}],[{key:"toAttribute",value:function(i,c){var u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(i===void 0){if(u)return c}else if(u||i!==c)return i.toString()}},{key:"toStringAttribute",value:function(i,c){var u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return o.toAttribute(i,c,u)}},{key:"toStringValue",value:function(i,c){return i===void 0?c:i}},{key:"toBoolAttribute",value:function(i,c){var u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(i===void 0){if(u)return c}else if(u||i!==c)return i?"1":"0"}},{key:"toBoolValue",value:function(i,c){return i===void 0?c:i==="1"}},{key:"toIntAttribute",value:function(i,c){var u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return o.toAttribute(i,c,u)}},{key:"toIntValue",value:function(i,c){return i===void 0?c:parseInt(i,10)}},{key:"toFloatAttribute",value:function(i,c){var u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return o.toAttribute(i,c,u)}},{key:"toFloatValue",value:function(i,c){return i===void 0?c:parseFloat(i)}}]),o}();r.exports=s},{"../../utils/parse-sax":22,"../../utils/xml-stream":28}],33:[function(e,r,t){var n=e("../base-xform"),a=e("../../../utils/col-cache"),s=function(c){Mt(l,c);var u=ir(l);function l(){return Fe(this,l),u.apply(this,arguments)}return Le(l,[{key:"render",value:function(A,h){A.openNode("definedName",{name:h.name,localSheetId:h.localSheetId}),A.writeText(h.ranges.join(",")),A.closeNode()}},{key:"parseOpen",value:function(A){return A.name==="definedName"&&(this._parsedName=A.attributes.name,this._parsedLocalSheetId=A.attributes.localSheetId,this._parsedText=[],!0)}},{key:"parseText",value:function(A){this._parsedText.push(A)}},{key:"parseClose",value:function(){return this.model={name:this._parsedName,ranges:i(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}]),l}(n);function o(c){try{return a.decodeEx(c),!0}catch{return!1}}function i(c){var u=[],l=!1,A="";return c.split(",").forEach(function(h){if(h){var f=(h.match(/'/g)||[]).length;if(f){var d=f%2==0;!l&&d&&o(h)?u.push(h):l&&!d?(l=!1,o(A+h)&&u.push(A+h),A=""):(l=!0,A+="".concat(h,","))}else l?A+="".concat(h,","):o(h)&&u.push(h)}}),u}r.exports=s},{"../../../utils/col-cache":19,"../base-xform":32}],34:[function(e,r,t){var n=e("../../../utils/utils"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"render",value:function(c,u){c.leafNode("sheet",{sheetId:u.id,name:u.name,state:u.state,"r:id":u.rId})}},{key:"parseOpen",value:function(c){return c.name==="sheet"&&(this.model={name:n.xmlDecode(c.attributes.name),id:parseInt(c.attributes.sheetId,10),state:c.attributes.state,rId:c.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),i}(e("../base-xform"));r.exports=a},{"../../../utils/utils":27,"../base-xform":32}],35:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"render",value:function(i,c){i.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:c.fullCalcOnLoad?1:void 0})}},{key:"parseOpen",value:function(i){return i.name==="calcPr"&&(this.model={},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],36:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"render",value:function(i,c){i.leafNode("workbookPr",{date1904:c.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}},{key:"parseOpen",value:function(i){return i.name==="workbookPr"&&(this.model={date1904:i.attributes.date1904==="1"},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],37:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"render",value:function(i,c){var u={xWindow:c.x||0,yWindow:c.y||0,windowWidth:c.width||12e3,windowHeight:c.height||24e3,firstSheet:c.firstSheet,activeTab:c.activeTab};c.visibility&&c.visibility!=="visible"&&(u.visibility=c.visibility),i.leafNode("workbookView",u)}},{key:"parseOpen",value:function(i){if(i.name==="workbookView"){var c=this.model={},u=function(A,h,f){var d=h!==void 0?c[A]=h:f;d!==void 0&&(c[A]=d)},l=function(A,h,f){var d=h!==void 0?c[A]=parseInt(h,10):f;d!==void 0&&(c[A]=d)};return l("x",i.attributes.xWindow,0),l("y",i.attributes.yWindow,0),l("width",i.attributes.windowWidth,25e3),l("height",i.attributes.windowHeight,1e4),u("visibility",i.attributes.visibility,"visible"),l("activeTab",i.attributes.activeTab,void 0),l("firstSheet",i.attributes.firstSheet,void 0),!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],38:[function(e,r,t){var n=e("../../../utils/under-dash"),a=e("../../../utils/col-cache"),s=e("../../../utils/xml-stream"),o=e("../base-xform"),i=e("../static-xform"),c=e("../list-xform"),u=e("./defined-name-xform"),l=e("./sheet-xform"),A=e("./workbook-view-xform"),h=e("./workbook-properties-xform"),f=e("./workbook-calc-properties-xform"),d=function(g){Mt(m,g);var p=ir(m);function m(){var v;return Fe(this,m),(v=p.call(this)).map={fileVersion:m.STATIC_XFORMS.fileVersion,workbookPr:new h,bookViews:new c({tag:"bookViews",count:!1,childXform:new A}),sheets:new c({tag:"sheets",count:!1,childXform:new l}),definedNames:new c({tag:"definedNames",count:!1,childXform:new u}),calcPr:new f},v}return Le(m,[{key:"prepare",value:function(v){v.sheets=v.worksheets;var y=[],I=0;v.sheets.forEach(function(E){if(E.pageSetup&&E.pageSetup.printArea&&E.pageSetup.printArea.split("&&").forEach(function(W){var H=W.split(":"),X={name:"_xlnm.Print_Area",ranges:["'".concat(E.name,"'!$").concat(H[0],":$").concat(H[1])],localSheetId:I};y.push(X)}),E.pageSetup&&(E.pageSetup.printTitlesRow||E.pageSetup.printTitlesColumn)){var k=[];if(E.pageSetup.printTitlesColumn){var R=E.pageSetup.printTitlesColumn.split(":");k.push("'".concat(E.name,"'!$").concat(R[0],":$").concat(R[1]))}if(E.pageSetup.printTitlesRow){var T=E.pageSetup.printTitlesRow.split(":");k.push("'".concat(E.name,"'!$").concat(T[0],":$").concat(T[1]))}var j={name:"_xlnm.Print_Titles",ranges:k,localSheetId:I};y.push(j)}I++}),y.length&&(v.definedNames=v.definedNames.concat(y)),(v.media||[]).forEach(function(E,k){E.name=E.type+(k+1)})}},{key:"render",value:function(v,y){v.openXml(s.StdDocAttributes),v.openNode("workbook",m.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(v),this.map.workbookPr.render(v,y.properties),this.map.bookViews.render(v,y.views),this.map.sheets.render(v,y.sheets),this.map.definedNames.render(v,y.definedNames),this.map.calcPr.render(v,y.calcProperties),v.closeNode()}},{key:"parseOpen",value:function(v){return this.parser?(this.parser.parseOpen(v),!0):(v.name==="workbook"||(this.parser=this.map[v.name],this.parser&&this.parser.parseOpen(v)),!0)}},{key:"parseText",value:function(v){this.parser&&this.parser.parseText(v)}},{key:"parseClose",value:function(v){return this.parser?(this.parser.parseClose(v)||(this.parser=void 0),!0):v!=="workbook"||(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1)}},{key:"reconcile",value:function(v){var y,I=(v.workbookRels||[]).reduce(function(T,j){return T[j.Id]=j,T},{}),E=[],k=0;(v.sheets||[]).forEach(function(T){var j=I[T.rId];j&&(y=v.worksheetHash["xl/".concat(j.Target.replace(/^(\s|\/xl\/)+/,""))])&&(y.name=T.name,y.id=T.id,y.state=T.state,E[k++]=y)});var R=[];n.each(v.definedNames,function(T){if(T.name==="_xlnm.Print_Area"){if(y=E[T.localSheetId]){y.pageSetup||(y.pageSetup={});var j=a.decodeEx(T.ranges[0]);y.pageSetup.printArea=y.pageSetup.printArea?"".concat(y.pageSetup.printArea,"&&").concat(j.dimensions):j.dimensions}}else if(T.name==="_xlnm.Print_Titles"){if(y=E[T.localSheetId]){y.pageSetup||(y.pageSetup={});var W=T.ranges.join(","),H=/\$/g,X=/\$\d+:\$\d+/,x=W.match(X);if(x&&x.length){var N=x[0];y.pageSetup.printTitlesRow=N.replace(H,"")}var C=/\$[A-Z]+:\$[A-Z]+/,w=W.match(C);if(w&&w.length){var Q=w[0];y.pageSetup.printTitlesColumn=Q.replace(H,"")}}}else R.push(T)}),v.definedNames=R,v.media.forEach(function(T,j){T.index=j})}}]),m}(o);d.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},d.STATIC_XFORMS={fileVersion:new i({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},r.exports=d},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./defined-name-xform":33,"./sheet-xform":34,"./workbook-calc-properties-xform":35,"./workbook-properties-xform":36,"./workbook-view-xform":37}],39:[function(e,r,t){var n=e("../strings/rich-text-xform"),a=e("../../../utils/utils"),s=e("../base-xform"),o=r.exports=function(i){this.model=i};a.inherits(o,s,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new n),this._richTextXform},render:function(i,c){var u=this;c=c||this.model,i.openNode("comment",{ref:c.ref,authorId:0}),i.openNode("text"),c&&c.note&&c.note.texts&&c.note.texts.forEach(function(l){u.richTextXform.render(i,l)}),i.closeNode(),i.closeNode()},parseOpen:function(i){if(this.parser)return this.parser.parseOpen(i),!0;switch(i.name){case"comment":return this.model=bo({type:"note",note:{texts:[]}},i.attributes),!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(i),!0;default:return!1}},parseText:function(i){this.parser&&this.parser.parseText(i)},parseClose:function(i){switch(i){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(i),!0}}})},{"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],40:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=e("../../../utils/utils"),s=e("../base-xform"),o=e("./comment-xform"),i=r.exports=function(){this.map={comment:new o}};a.inherits(i,s,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render:function(c,u){var l=this;u=u||this.model,c.openXml(n.StdDocAttributes),c.openNode("comments",i.COMMENTS_ATTRIBUTES),c.openNode("authors"),c.leafNode("author",null,"Author"),c.closeNode(),c.openNode("commentList"),u.comments.forEach(function(A){l.map.comment.render(c,A)}),c.closeNode(),c.closeNode()},parseOpen:function(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(c),!0;default:return!1}},parseText:function(c){this.parser&&this.parser.parseText(c)},parseClose:function(c){switch(c){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(c),!0}}})},{"../../../utils/utils":27,"../../../utils/xml-stream":28,"../base-xform":32,"./comment-xform":39}],41:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this))._model=i,c}return Le(o,[{key:"tag",get:function(){return this._model&&this._model.tag}},{key:"render",value:function(i,c,u){(c===u[2]||this.tag==="x:SizeWithCells"&&c===u[1])&&i.leafNode(this.tag)}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.model={},this.model[this.tag]=!0,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../../base-xform"));r.exports=n},{"../../base-xform":32}],42:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this))._model=i,c}return Le(o,[{key:"tag",get:function(){return this._model&&this._model.tag}},{key:"render",value:function(i,c){i.leafNode(this.tag,null,c)}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.text="",!0)}},{key:"parseText",value:function(i){this.text=i}},{key:"parseClose",value:function(){return!1}}]),o}(e("../../base-xform"));r.exports=n},{"../../base-xform":32}],43:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"x:Anchor"}},{key:"getAnchorRect",value:function(i){var c=Math.floor(i.left),u=Math.floor(68*(i.left-c)),l=Math.floor(i.top),A=Math.floor(18*(i.top-l)),h=Math.floor(i.right),f=Math.floor(68*(i.right-h)),d=Math.floor(i.bottom);return[c,u,l,A,h,f,d,Math.floor(18*(i.bottom-d))]}},{key:"getDefaultRect",value:function(i){var c=i.col,u=6,l=Math.max(i.row-2,0);return[c,u,l,14,c+2,2,l+4,16]}},{key:"render",value:function(i,c){var u=c.anchor?this.getAnchorRect(c.anchor):this.getDefaultRect(c.refAddress);i.leafNode("x:Anchor",null,u.join(", "))}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.text="",!0)}},{key:"parseText",value:function(i){this.text=i}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],44:[function(e,r,t){var n=e("../base-xform"),a=e("./vml-anchor-xform"),s=e("./style/vml-protection-xform"),o=e("./style/vml-position-xform"),i=["twoCells","oneCells","absolute"],c=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={"x:Anchor":new a,"x:Locked":new s({tag:"x:Locked"}),"x:LockText":new s({tag:"x:LockText"}),"x:SizeWithCells":new o({tag:"x:SizeWithCells"}),"x:MoveWithCells":new o({tag:"x:MoveWithCells"})},h}return Le(A,[{key:"tag",get:function(){return"x:ClientData"}},{key:"render",value:function(h,f){var d=f.note,g=d.protection,p=d.editAs;h.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(h,p,i),this.map["x:SizeWithCells"].render(h,p,i),this.map["x:Anchor"].render(h,f),this.map["x:Locked"].render(h,g.locked),h.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(h,g.lockText),h.leafNode("x:Row",null,f.refAddress.row-1),h.leafNode("x:Column",null,f.refAddress.col-1),h.closeNode()}},{key:"parseOpen",value:function(h){return h.name===this.tag?(this.reset(),this.model={anchor:[],protection:{},editAs:""}):(this.parser=this.map[h.name],this.parser&&this.parser.parseOpen(h)),!0}},{key:"parseText",value:function(h){this.parser&&this.parser.parseText(h)}},{key:"parseClose",value:function(h){return this.parser?(this.parser.parseClose(h)||(this.parser=void 0),!0):h!==this.tag||(this.normalizeModel(),!1)}},{key:"normalizeModel",value:function(){var h=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),f=Object.keys(h).length;this.model.editAs=i[f],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}]),A}(n);r.exports=c},{"../base-xform":32,"./style/vml-position-xform":41,"./style/vml-protection-xform":42,"./vml-anchor-xform":43}],45:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("./vml-shape-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={"v:shape":new s},l}return Le(u,[{key:"tag",get:function(){return"xml"}},{key:"render",value:function(l,A){var h=this;l.openXml(n.StdDocAttributes),l.openNode(this.tag,u.DRAWING_ATTRIBUTES),l.openNode("o:shapelayout",{"v:ext":"edit"}),l.leafNode("o:idmap",{"v:ext":"edit",data:1}),l.closeNode(),l.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),l.leafNode("v:stroke",{joinstyle:"miter"}),l.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),l.closeNode(),A.comments.forEach(function(f,d){h.map["v:shape"].render(l,f,d)}),l.closeNode()}},{key:"parseOpen",value:function(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?(this.reset(),this.model={comments:[]}):(this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)),!0)}},{key:"parseText",value:function(l){this.parser&&this.parser.parseText(l)}},{key:"parseClose",value:function(l){return this.parser?(this.parser.parseClose(l)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0):l!==this.tag}},{key:"reconcile",value:function(l,A){var h=this;l.anchors.forEach(function(f){f.br?h.map["xdr:twoCellAnchor"].reconcile(f,A):h.map["xdr:oneCellAnchor"].reconcile(f,A)})}}]),u}(a);o.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},r.exports=o},{"../../../utils/xml-stream":28,"../base-xform":32,"./vml-shape-xform":46}],46:[function(e,r,t){var n=e("../base-xform"),a=e("./vml-textbox-xform"),s=e("./vml-client-data-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={"v:textbox":new a,"x:ClientData":new s},l}return Le(u,[{key:"tag",get:function(){return"v:shape"}},{key:"render",value:function(l,A,h){l.openNode("v:shape",u.V_SHAPE_ATTRIBUTES(A,h)),l.leafNode("v:fill",{color2:"infoBackground [80]"}),l.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),l.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(l,A),this.map["x:ClientData"].render(l,A),l.closeNode()}},{key:"parseOpen",value:function(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?(this.reset(),this.model={margins:{insetmode:l.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}}):(this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)),!0)}},{key:"parseText",value:function(l){this.parser&&this.parser.parseText(l)}},{key:"parseClose",value:function(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l!==this.tag||(this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1)}}]),u}(n);o.V_SHAPE_ATTRIBUTES=function(i,c){return{id:"_x0000_s".concat(1025+c),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":i.note.margins&&i.note.margins.insetmode}},r.exports=o},{"../base-xform":32,"./vml-client-data-xform":44,"./vml-textbox-xform":47}],47:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"v:textbox"}},{key:"conversionUnit",value:function(i,c,u){return"".concat(parseFloat(i)*c.toFixed(2)).concat(u)}},{key:"reverseConversionUnit",value:function(i){var c=this;return(i||"").split(",").map(function(u){return Number(parseFloat(c.conversionUnit(parseFloat(u),.1,"")).toFixed(2))})}},{key:"render",value:function(i,c){var u=this,l={style:"mso-direction-alt:auto"};if(c&&c.note){var A=(c.note&&c.note.margins).inset;Array.isArray(A)&&(A=A.map(function(h){return u.conversionUnit(h,10,"mm")}).join(",")),A&&(l.inset=A)}i.openNode("v:textbox",l),i.leafNode("div",{style:"text-align:left"}),i.closeNode()}},{key:"parseOpen",value:function(i){return i.name!==this.tag||(this.model={inset:this.reverseConversionUnit(i.attributes.inset)},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(i){return i!==this.tag}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],48:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"createNewModel",value:function(i){return{}}},{key:"parseOpen",value:function(i){return this.parser=this.parser||this.map[i.name],this.parser?(this.parser.parseOpen(i),!0):i.name===this.tag&&(this.model=this.createNewModel(i),!0)}},{key:"parseText",value:function(i){this.parser&&this.parser.parseText(i)}},{key:"onParserClose",value:function(i,c){this.model[i]=c.model}},{key:"parseClose",value:function(i){return this.parser?(this.parser.parseClose(i)||(this.onParserClose(i,this.parser),this.parser=void 0),!0):i!==this.tag}}]),o}(e("./base-xform"));r.exports=n},{"./base-xform":32}],49:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"render",value:function(i,c){i.openNode("HeadingPairs"),i.openNode("vt:vector",{size:2,baseType:"variant"}),i.openNode("vt:variant"),i.leafNode("vt:lpstr",void 0,"Worksheets"),i.closeNode(),i.openNode("vt:variant"),i.leafNode("vt:i4",void 0,c.length),i.closeNode(),i.closeNode(),i.closeNode()}},{key:"parseOpen",value:function(i){return i.name==="HeadingPairs"}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(i){return i!=="HeadingPairs"}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],50:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"render",value:function(i,c){i.openNode("TitlesOfParts"),i.openNode("vt:vector",{size:c.length,baseType:"lpstr"}),c.forEach(function(u){i.leafNode("vt:lpstr",void 0,u.name)}),i.closeNode(),i.closeNode()}},{key:"parseOpen",value:function(i){return i.name==="TitlesOfParts"}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(i){return i!=="TitlesOfParts"}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],51:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("../simple/string-xform"),o=e("./app-heading-pairs-xform"),i=e("./app-titles-of-parts-xform"),c=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={Company:new s({tag:"Company"}),Manager:new s({tag:"Manager"}),HeadingPairs:new o,TitleOfParts:new i},h}return Le(A,[{key:"render",value:function(h,f){h.openXml(n.StdDocAttributes),h.openNode("Properties",A.PROPERTY_ATTRIBUTES),h.leafNode("Application",void 0,"Microsoft Excel"),h.leafNode("DocSecurity",void 0,"0"),h.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(h,f.worksheets),this.map.TitleOfParts.render(h,f.worksheets),this.map.Company.render(h,f.company||""),this.map.Manager.render(h,f.manager),h.leafNode("LinksUpToDate",void 0,"false"),h.leafNode("SharedDoc",void 0,"false"),h.leafNode("HyperlinksChanged",void 0,"false"),h.leafNode("AppVersion",void 0,"16.0300"),h.closeNode()}},{key:"parseOpen",value:function(h){return this.parser?(this.parser.parseOpen(h),!0):h.name==="Properties"||(this.parser=this.map[h.name],!!this.parser&&(this.parser.parseOpen(h),!0))}},{key:"parseText",value:function(h){this.parser&&this.parser.parseText(h)}},{key:"parseClose",value:function(h){return this.parser?(this.parser.parseClose(h)||(this.parser=void 0),!0):h!=="Properties"||(this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1)}}]),A}(a);c.DateFormat=function(u){return u.toISOString().replace(/[.]\d{3,6}/,"")},c.DateAttrs={"xsi:type":"dcterms:W3CDTF"},c.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},r.exports=c},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/string-xform":119,"./app-heading-pairs-xform":49,"./app-titles-of-parts-xform":50}],52:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"render",value:function(c,u){c.openXml(n.StdDocAttributes),c.openNode("Types",i.PROPERTY_ATTRIBUTES);var l={};(u.media||[]).forEach(function(A){if(A.type==="image"){var h=A.extension;l[h]||(l[h]=!0,c.leafNode("Default",{Extension:h,ContentType:"image/".concat(h)}))}}),c.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),c.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),c.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),u.worksheets.forEach(function(A){var h="/xl/worksheets/sheet".concat(A.id,".xml");c.leafNode("Override",{PartName:h,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),c.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),c.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),u.sharedStrings&&u.sharedStrings.count&&c.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),u.tables&&u.tables.forEach(function(A){c.leafNode("Override",{PartName:"/xl/tables/".concat(A.target),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),u.drawings&&u.drawings.forEach(function(A){c.leafNode("Override",{PartName:"/xl/drawings/".concat(A.name,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),u.commentRefs&&(c.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),u.commentRefs.forEach(function(A){var h=A.commentName;c.leafNode("Override",{PartName:"/xl/".concat(h,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),c.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),c.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),c.closeNode()}},{key:"parseOpen",value:function(){return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),i}(e("../base-xform"));a.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},r.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32}],53:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("../simple/date-xform"),o=e("../simple/string-xform"),i=e("../simple/integer-xform"),c=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={"dc:creator":new o({tag:"dc:creator"}),"dc:title":new o({tag:"dc:title"}),"dc:subject":new o({tag:"dc:subject"}),"dc:description":new o({tag:"dc:description"}),"dc:identifier":new o({tag:"dc:identifier"}),"dc:language":new o({tag:"dc:language"}),"cp:keywords":new o({tag:"cp:keywords"}),"cp:category":new o({tag:"cp:category"}),"cp:lastModifiedBy":new o({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new s({tag:"cp:lastPrinted",format:A.DateFormat}),"cp:revision":new i({tag:"cp:revision"}),"cp:version":new o({tag:"cp:version"}),"cp:contentStatus":new o({tag:"cp:contentStatus"}),"cp:contentType":new o({tag:"cp:contentType"}),"dcterms:created":new s({tag:"dcterms:created",attrs:A.DateAttrs,format:A.DateFormat}),"dcterms:modified":new s({tag:"dcterms:modified",attrs:A.DateAttrs,format:A.DateFormat})},h}return Le(A,[{key:"render",value:function(h,f){h.openXml(n.StdDocAttributes),h.openNode("cp:coreProperties",A.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(h,f.creator),this.map["dc:title"].render(h,f.title),this.map["dc:subject"].render(h,f.subject),this.map["dc:description"].render(h,f.description),this.map["dc:identifier"].render(h,f.identifier),this.map["dc:language"].render(h,f.language),this.map["cp:keywords"].render(h,f.keywords),this.map["cp:category"].render(h,f.category),this.map["cp:lastModifiedBy"].render(h,f.lastModifiedBy),this.map["cp:lastPrinted"].render(h,f.lastPrinted),this.map["cp:revision"].render(h,f.revision),this.map["cp:version"].render(h,f.version),this.map["cp:contentStatus"].render(h,f.contentStatus),this.map["cp:contentType"].render(h,f.contentType),this.map["dcterms:created"].render(h,f.created),this.map["dcterms:modified"].render(h,f.modified),h.closeNode()}},{key:"parseOpen",value:function(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[h.name],this.parser)return this.parser.parseOpen(h),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(h)))}}},{key:"parseText",value:function(h){this.parser&&this.parser.parseText(h)}},{key:"parseClose",value:function(h){if(this.parser)return this.parser.parseClose(h)||(this.parser=void 0),!0;switch(h){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(h))}}}]),A}(a);c.DateFormat=function(u){return u.toISOString().replace(/[.]\d{3}/,"")},c.DateAttrs={"xsi:type":"dcterms:W3CDTF"},c.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},r.exports=c},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/date-xform":117,"../simple/integer-xform":118,"../simple/string-xform":119}],54:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"render",value:function(i,c){i.leafNode("Relationship",c)}},{key:"parseOpen",value:function(i){return i.name==="Relationship"&&(this.model=i.attributes,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],55:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("./relationship-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={Relationship:new s},l}return Le(u,[{key:"render",value:function(l,A){var h=this;A=A||this._values,l.openXml(n.StdDocAttributes),l.openNode("Relationships",u.RELATIONSHIPS_ATTRIBUTES),A.forEach(function(f){h.map.Relationship.render(l,f)}),l.closeNode()}},{key:"parseOpen",value:function(l){if(this.parser)return this.parser.parseOpen(l),!0;if(l.name==="Relationships")return this.model=[],!0;if(this.parser=this.map[l.name],this.parser)return this.parser.parseOpen(l),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(l)))}},{key:"parseText",value:function(l){this.parser&&this.parser.parseText(l)}},{key:"parseClose",value:function(l){if(this.parser)return this.parser.parseClose(l)||(this.model.push(this.parser.model),this.parser=void 0),!0;if(l==="Relationships")return!1;throw new Error("Unexpected xml node in parseClose: ".concat(l))}}]),u}(a);o.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},r.exports=o},{"../../../utils/xml-stream":28,"../base-xform":32,"./relationship-xform":54}],56:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"parseOpen",value:function(i){return this.parser?(this.parser.parseOpen(i),!0):(i.name===this.tag?(this.reset(),this.model={range:{editAs:i.attributes.editAs||"oneCell"}}):(this.parser=this.map[i.name],this.parser&&this.parser.parseOpen(i)),!0)}},{key:"parseText",value:function(i){this.parser&&this.parser.parseText(i)}},{key:"reconcilePicture",value:function(i,c){if(i&&i.rId){var u=c.rels[i.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(u){var l=u[1],A=c.mediaIndex[l];return c.media[A]}}}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],57:[function(e,r,t){var n=e("../base-xform"),a=e("./blip-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(){var u;return Fe(this,c),(u=i.call(this)).map={"a:blip":new a},u}return Le(c,[{key:"tag",get:function(){return"xdr:blipFill"}},{key:"render",value:function(u,l){u.openNode(this.tag),this.map["a:blip"].render(u,l),u.openNode("a:stretch"),u.leafNode("a:fillRect"),u.closeNode(),u.closeNode()}},{key:"parseOpen",value:function(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&&this.parser.parseOpen(u)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u!==this.tag||(this.model=this.map["a:blip"].model,!1)}}]),c}(n);r.exports=s},{"../base-xform":32,"./blip-xform":58}],58:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"a:blip"}},{key:"render",value:function(i,c){i.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":c.rId,cstate:"print"})}},{key:"parseOpen",value:function(i){return i.name!==this.tag||(this.model={rId:i.attributes["r:embed"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(i){return i!==this.tag}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],59:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"xdr:cNvPicPr"}},{key:"render",value:function(i){i.openNode(this.tag),i.leafNode("a:picLocks",{noChangeAspect:"1"}),i.closeNode()}},{key:"parseOpen",value:function(i){return i.name,this.tag,!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(i){return i!==this.tag}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],60:[function(e,r,t){var n=e("../base-xform"),a=e("./hlink-click-xform"),s=e("./ext-lst-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={"a:hlinkClick":new a,"a:extLst":new s},l}return Le(u,[{key:"tag",get:function(){return"xdr:cNvPr"}},{key:"render",value:function(l,A){l.openNode(this.tag,{id:A.index,name:"Picture ".concat(A.index)}),this.map["a:hlinkClick"].render(l,A),this.map["a:extLst"].render(l,A),l.closeNode()}},{key:"parseOpen",value:function(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l!==this.tag||(this.model=this.map["a:hlinkClick"].model,!1)}}]),u}(n);r.exports=o},{"../base-xform":32,"./ext-lst-xform":63,"./hlink-click-xform":65}],61:[function(e,r,t){var n=e("../base-xform"),a=e("../simple/integer-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(u){var l;return Fe(this,c),(l=i.call(this)).tag=u.tag,l.map={"xdr:col":new a({tag:"xdr:col",zero:!0}),"xdr:colOff":new a({tag:"xdr:colOff",zero:!0}),"xdr:row":new a({tag:"xdr:row",zero:!0}),"xdr:rowOff":new a({tag:"xdr:rowOff",zero:!0})},l}return Le(c,[{key:"render",value:function(u,l){u.openNode(this.tag),this.map["xdr:col"].render(u,l.nativeCol),this.map["xdr:colOff"].render(u,l.nativeColOff),this.map["xdr:row"].render(u,l.nativeRow),this.map["xdr:rowOff"].render(u,l.nativeRowOff),u.closeNode()}},{key:"parseOpen",value:function(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&&this.parser.parseOpen(u)),!0)}},{key:"parseText",value:function(u){this.parser&&this.parser.parseText(u)}},{key:"parseClose",value:function(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u!==this.tag||(this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1)}}]),c}(n);r.exports=s},{"../base-xform":32,"../simple/integer-xform":118}],62:[function(e,r,t){var n=e("../../../utils/col-cache"),a=e("../../../utils/xml-stream"),s=e("../base-xform"),o=e("./two-cell-anchor-xform"),i=e("./one-cell-anchor-xform");function c(l){return(typeof l.range=="string"?n.decode(l.range):l.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}var u=function(l){Mt(h,l);var A=ir(h);function h(){var f;return Fe(this,h),(f=A.call(this)).map={"xdr:twoCellAnchor":new o,"xdr:oneCellAnchor":new i},f}return Le(h,[{key:"prepare",value:function(f){var d=this;f.anchors.forEach(function(g,p){g.anchorType=c(g),d.map[g.anchorType].prepare(g,{index:p})})}},{key:"tag",get:function(){return"xdr:wsDr"}},{key:"render",value:function(f,d){var g=this;f.openXml(a.StdDocAttributes),f.openNode(this.tag,h.DRAWING_ATTRIBUTES),d.anchors.forEach(function(p){g.map[p.anchorType].render(f,p)}),f.closeNode()}},{key:"parseOpen",value:function(f){return this.parser?(this.parser.parseOpen(f),!0):(f.name===this.tag?(this.reset(),this.model={anchors:[]}):(this.parser=this.map[f.name],this.parser&&this.parser.parseOpen(f)),!0)}},{key:"parseText",value:function(f){this.parser&&this.parser.parseText(f)}},{key:"parseClose",value:function(f){return this.parser?(this.parser.parseClose(f)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0):f!==this.tag}},{key:"reconcile",value:function(f,d){var g=this;f.anchors.forEach(function(p){p.br?g.map["xdr:twoCellAnchor"].reconcile(p,d):g.map["xdr:oneCellAnchor"].reconcile(p,d)})}}]),h}(s);u.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},r.exports=u},{"../../../utils/col-cache":19,"../../../utils/xml-stream":28,"../base-xform":32,"./one-cell-anchor-xform":67,"./two-cell-anchor-xform":70}],63:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"a:extLst"}},{key:"render",value:function(i){i.openNode(this.tag),i.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),i.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),i.closeNode(),i.closeNode()}},{key:"parseOpen",value:function(i){return i.name,this.tag,!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(i){return i!==this.tag}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],64:[function(e,r,t){var n=e("../base-xform"),a=9525,s=function(o){Mt(c,o);var i=ir(c);function c(u){var l;return Fe(this,c),(l=i.call(this)).tag=u.tag,l.map={},l}return Le(c,[{key:"render",value:function(u,l){u.openNode(this.tag);var A=Math.floor(l.width*a),h=Math.floor(l.height*a);u.addAttribute("cx",A),u.addAttribute("cy",h),u.closeNode()}},{key:"parseOpen",value:function(u){return u.name===this.tag&&(this.model={width:parseInt(u.attributes.cx||"0",10)/a,height:parseInt(u.attributes.cy||"0",10)/a},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),c}(n);r.exports=s},{"../base-xform":32}],65:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"a:hlinkClick"}},{key:"render",value:function(i,c){c.hyperlinks&&c.hyperlinks.rId&&i.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":c.hyperlinks.rId,tooltip:c.hyperlinks.tooltip})}},{key:"parseOpen",value:function(i){return i.name!==this.tag||(this.model={hyperlinks:{rId:i.attributes["r:id"],tooltip:i.attributes.tooltip}},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],66:[function(e,r,t){var n=e("../base-xform"),a=e("./c-nv-pr-xform"),s=e("./c-nv-pic-pr-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={"xdr:cNvPr":new a,"xdr:cNvPicPr":new s},l}return Le(u,[{key:"tag",get:function(){return"xdr:nvPicPr"}},{key:"render",value:function(l,A){l.openNode(this.tag),this.map["xdr:cNvPr"].render(l,A),this.map["xdr:cNvPicPr"].render(l,A),l.closeNode()}},{key:"parseOpen",value:function(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&&this.parser.parseOpen(l)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l!==this.tag||(this.model=this.map["xdr:cNvPr"].model,!1)}}]),u}(n);r.exports=o},{"../base-xform":32,"./c-nv-pic-pr-xform":59,"./c-nv-pr-xform":60}],67:[function(e,r,t){var n=e("./base-cell-anchor-xform"),a=e("../static-xform"),s=e("./cell-position-xform"),o=e("./ext-xform"),i=e("./pic-xform"),c=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={"xdr:from":new s({tag:"xdr:from"}),"xdr:ext":new o({tag:"xdr:ext"}),"xdr:pic":new i,"xdr:clientData":new a({tag:"xdr:clientData"})},h}return Le(A,[{key:"tag",get:function(){return"xdr:oneCellAnchor"}},{key:"prepare",value:function(h,f){this.map["xdr:pic"].prepare(h.picture,f)}},{key:"render",value:function(h,f){h.openNode(this.tag,{editAs:f.range.editAs||"oneCell"}),this.map["xdr:from"].render(h,f.range.tl),this.map["xdr:ext"].render(h,f.range.ext),this.map["xdr:pic"].render(h,f.picture),this.map["xdr:clientData"].render(h,{}),h.closeNode()}},{key:"parseClose",value:function(h){return this.parser?(this.parser.parseClose(h)||(this.parser=void 0),!0):h!==this.tag||(this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1)}},{key:"reconcile",value:function(h,f){h.medium=this.reconcilePicture(h.picture,f)}}]),A}(n);r.exports=c},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./ext-xform":64,"./pic-xform":68}],68:[function(e,r,t){var n=e("../base-xform"),a=e("../static-xform"),s=e("./blip-fill-xform"),o=e("./nv-pic-pr-xform"),i=e("./sp-pr"),c=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={"xdr:nvPicPr":new o,"xdr:blipFill":new s,"xdr:spPr":new a(i)},h}return Le(A,[{key:"tag",get:function(){return"xdr:pic"}},{key:"prepare",value:function(h,f){h.index=f.index+1}},{key:"render",value:function(h,f){h.openNode(this.tag),this.map["xdr:nvPicPr"].render(h,f),this.map["xdr:blipFill"].render(h,f),this.map["xdr:spPr"].render(h,f),h.closeNode()}},{key:"parseOpen",value:function(h){return this.parser?(this.parser.parseOpen(h),!0):(h.name===this.tag?this.reset():(this.parser=this.map[h.name],this.parser&&this.parser.parseOpen(h)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(h){return this.parser?(this.parser.parseClose(h)||(this.mergeModel(this.parser.model),this.parser=void 0),!0):h!==this.tag}}]),A}(n);r.exports=c},{"../base-xform":32,"../static-xform":120,"./blip-fill-xform":57,"./nv-pic-pr-xform":66,"./sp-pr":69}],69:[function(e,r,t){r.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],70:[function(e,r,t){var n=e("./base-cell-anchor-xform"),a=e("../static-xform"),s=e("./cell-position-xform"),o=e("./pic-xform"),i=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={"xdr:from":new s({tag:"xdr:from"}),"xdr:to":new s({tag:"xdr:to"}),"xdr:pic":new o,"xdr:clientData":new a({tag:"xdr:clientData"})},A}return Le(l,[{key:"tag",get:function(){return"xdr:twoCellAnchor"}},{key:"prepare",value:function(A,h){this.map["xdr:pic"].prepare(A.picture,h)}},{key:"render",value:function(A,h){A.openNode(this.tag,{editAs:h.range.editAs||"oneCell"}),this.map["xdr:from"].render(A,h.range.tl),this.map["xdr:to"].render(A,h.range.br),this.map["xdr:pic"].render(A,h.picture),this.map["xdr:clientData"].render(A,{}),A.closeNode()}},{key:"parseClose",value:function(A){return this.parser?(this.parser.parseClose(A)||(this.parser=void 0),!0):A!==this.tag||(this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1)}},{key:"reconcile",value:function(A,h){A.medium=this.reconcilePicture(A.picture,h)}}]),l}(n);r.exports=i},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./pic-xform":68}],71:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this)).tag=i.tag,c.always=!!i.always,c.count=i.count,c.empty=i.empty,c.$count=i.$count||"count",c.$=i.$,c.childXform=i.childXform,c.maxItems=i.maxItems,c}return Le(o,[{key:"prepare",value:function(i,c){var u=this.childXform;i&&i.forEach(function(l,A){c.index=A,u.prepare(l,c)})}},{key:"render",value:function(i,c){if(this.always||c&&c.length){i.openNode(this.tag,this.$),this.count&&i.addAttribute(this.$count,c&&c.length||0);var u=this.childXform;(c||[]).forEach(function(l,A){u.render(i,l,A)}),i.closeNode()}else this.empty&&i.leafNode(this.tag)}},{key:"parseOpen",value:function(i){return this.parser?(this.parser.parseOpen(i),!0):i.name===this.tag?(this.model=[],!0):!!this.childXform.parseOpen(i)&&(this.parser=this.childXform,!0)}},{key:"parseText",value:function(i){this.parser&&this.parser.parseText(i)}},{key:"parseClose",value:function(i){if(this.parser){if(!this.parser.parseClose(i)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error("Max ".concat(this.childXform.tag," count (").concat(this.maxItems,") exceeded"));return!0}return!1}},{key:"reconcile",value:function(i,c){if(i){var u=this.childXform;i.forEach(function(l){u.reconcile(l,c)})}}}]),o}(e("./base-xform"));r.exports=n},{"./base-xform":32}],72:[function(e,r,t){var n=e("../../../utils/col-cache"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"tag",get:function(){return"autoFilter"}},{key:"render",value:function(c,u){if(u)if(typeof u=="string")c.leafNode("autoFilter",{ref:u});else{var l=function(f){return typeof f=="string"?f:n.getAddress(f.row,f.column).address},A=l(u.from),h=l(u.to);A&&h&&c.leafNode("autoFilter",{ref:"".concat(A,":").concat(h)})}}},{key:"parseOpen",value:function(c){c.name==="autoFilter"&&(this.model=c.attributes.ref)}}]),i}(e("../base-xform"));r.exports=a},{"../../../utils/col-cache":19,"../base-xform":32}],73:[function(e,r,t){var n=e("../../../utils/utils"),a=e("../base-xform"),s=e("../../../doc/range"),o=e("../../../doc/enums"),i=e("../strings/rich-text-xform");function c(A){if(A==null)return o.ValueType.Null;if(A instanceof String||typeof A=="string")return o.ValueType.String;if(typeof A=="number")return o.ValueType.Number;if(typeof A=="boolean")return o.ValueType.Boolean;if(A instanceof Date)return o.ValueType.Date;if(A.text&&A.hyperlink)return o.ValueType.Hyperlink;if(A.formula)return o.ValueType.Formula;if(A.error)return o.ValueType.Error;throw new Error("I could not understand type of value")}function u(A){return A.type===o.ValueType.Formula?c(A.result):A.type}var l=function(A){Mt(f,A);var h=ir(f);function f(){var d;return Fe(this,f),(d=h.call(this)).richTextXForm=new i,d}return Le(f,[{key:"tag",get:function(){return"c"}},{key:"prepare",value:function(d,g){var p=g.styles.addStyleModel(d.style||{},u(d));switch(p&&(d.styleId=p),d.comment&&g.comments.push(bo(bo({},d.comment),{},{ref:d.address})),d.type){case o.ValueType.String:case o.ValueType.RichText:g.sharedStrings&&(d.ssId=g.sharedStrings.add(d.value));break;case o.ValueType.Date:g.date1904&&(d.date1904=!0);break;case o.ValueType.Hyperlink:g.sharedStrings&&d.text!==void 0&&d.text!==null&&(d.ssId=g.sharedStrings.add(d.text)),g.hyperlinks.push({address:d.address,target:d.hyperlink,tooltip:d.tooltip});break;case o.ValueType.Merge:g.merges.add(d);break;case o.ValueType.Formula:if(g.date1904&&(d.date1904=!0),d.shareType==="shared"&&(d.si=g.siFormulae++),d.formula)g.formulae[d.address]=d;else if(d.sharedFormula){var m=g.formulae[d.sharedFormula];if(!m)throw new Error("Shared Formula master must exist above and or left of clone for cell ".concat(d.address));m.si===void 0?(m.shareType="shared",m.si=g.siFormulae++,m.range=new s(m.address,d.address)):m.range&&m.range.expandToAddress(d.address),d.si=m.si}}}},{key:"renderFormula",value:function(d,g){var p=null;switch(g.shareType){case"shared":p={t:"shared",ref:g.ref||g.range.range,si:g.si};break;case"array":p={t:"array",ref:g.ref};break;default:g.si!==void 0&&(p={t:"shared",si:g.si})}switch(c(g.result)){case o.ValueType.Null:d.leafNode("f",p,g.formula);break;case o.ValueType.String:d.addAttribute("t","str"),d.leafNode("f",p,g.formula),d.leafNode("v",null,g.result);break;case o.ValueType.Number:d.leafNode("f",p,g.formula),d.leafNode("v",null,g.result);break;case o.ValueType.Boolean:d.addAttribute("t","b"),d.leafNode("f",p,g.formula),d.leafNode("v",null,g.result?1:0);break;case o.ValueType.Error:d.addAttribute("t","e"),d.leafNode("f",p,g.formula),d.leafNode("v",null,g.result.error);break;case o.ValueType.Date:d.leafNode("f",p,g.formula),d.leafNode("v",null,n.dateToExcel(g.result,g.date1904));break;default:throw new Error("I could not understand type of value")}}},{key:"render",value:function(d,g){var p=this;if(g.type!==o.ValueType.Null||g.styleId){switch(d.openNode("c"),d.addAttribute("r",g.address),g.styleId&&d.addAttribute("s",g.styleId),g.type){case o.ValueType.Null:break;case o.ValueType.Number:d.leafNode("v",null,g.value);break;case o.ValueType.Boolean:d.addAttribute("t","b"),d.leafNode("v",null,g.value?"1":"0");break;case o.ValueType.Error:d.addAttribute("t","e"),d.leafNode("v",null,g.value.error);break;case o.ValueType.String:case o.ValueType.RichText:g.ssId!==void 0?(d.addAttribute("t","s"),d.leafNode("v",null,g.ssId)):g.value&&g.value.richText?(d.addAttribute("t","inlineStr"),d.openNode("is"),g.value.richText.forEach(function(m){p.richTextXForm.render(d,m)}),d.closeNode("is")):(d.addAttribute("t","str"),d.leafNode("v",null,g.value));break;case o.ValueType.Date:d.leafNode("v",null,n.dateToExcel(g.value,g.date1904));break;case o.ValueType.Hyperlink:g.ssId!==void 0?(d.addAttribute("t","s"),d.leafNode("v",null,g.ssId)):(d.addAttribute("t","str"),d.leafNode("v",null,g.text));break;case o.ValueType.Formula:this.renderFormula(d,g);case o.ValueType.Merge:}d.closeNode()}}},{key:"parseOpen",value:function(d){if(this.parser)return this.parser.parseOpen(d),!0;switch(d.name){case"c":return this.model={address:d.attributes.r},this.t=d.attributes.t,d.attributes.s&&(this.model.styleId=parseInt(d.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=d.attributes.si,this.model.shareType=d.attributes.t,this.model.ref=d.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(d),!0;default:return!1}}},{key:"parseText",value:function(d){if(this.parser)this.parser.parseText(d);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+d:d;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+d:d:this.model.value=this.model.value?this.model.value+d:d}}},{key:"parseClose",value:function(d){switch(d){case"c":var g=this.model;if(g.formula||g.shareType)g.type=o.ValueType.Formula,g.value&&(this.t==="str"?g.result=n.xmlDecode(g.value):this.t==="b"?g.result=parseInt(g.value,10)!==0:this.t==="e"?g.result={error:g.value}:g.result=parseFloat(g.value),g.value=void 0);else if(g.value!==void 0)switch(this.t){case"s":g.type=o.ValueType.String,g.value=parseInt(g.value,10);break;case"str":g.type=o.ValueType.String,g.value=n.xmlDecode(g.value);break;case"inlineStr":g.type=o.ValueType.String;break;case"b":g.type=o.ValueType.Boolean,g.value=parseInt(g.value,10)!==0;break;case"e":g.type=o.ValueType.Error,g.value={error:g.value};break;default:g.type=o.ValueType.Number,g.value=parseFloat(g.value)}else g.styleId?g.type=o.ValueType.Null:g.type=o.ValueType.Merge;return!1;case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(d),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(d),!0)}}},{key:"reconcile",value:function(d,g){var p=d.styleId&&g.styles&&g.styles.getStyleModel(d.styleId);switch(p&&(d.style=p),d.styleId!==void 0&&(d.styleId=void 0),d.type){case o.ValueType.String:typeof d.value=="number"&&g.sharedStrings&&(d.value=g.sharedStrings.getString(d.value)),d.value.richText&&(d.type=o.ValueType.RichText);break;case o.ValueType.Number:p&&n.isDateFmt(p.numFmt)&&(d.type=o.ValueType.Date,d.value=n.excelToDate(d.value,g.date1904));break;case o.ValueType.Formula:d.result!==void 0&&p&&n.isDateFmt(p.numFmt)&&(d.result=n.excelToDate(d.result,g.date1904)),d.shareType==="shared"&&(d.ref?g.formulae[d.si]=d.address:(d.sharedFormula=g.formulae[d.si],delete d.shareType),delete d.si)}var m=g.hyperlinkMap[d.address];m&&(d.type===o.ValueType.Formula?(d.text=d.result,d.result=void 0):(d.text=d.value,d.value=void 0),d.type=o.ValueType.Hyperlink,d.hyperlink=m);var v=g.commentsMap&&g.commentsMap[d.address];v&&(d.comment=v)}}]),f}(a);r.exports=l},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],74:[function(e,r,t){var n=e("../../base-xform"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"tag",get:function(){return"x14:cfIcon"}},{key:"render",value:function(c,u){c.leafNode(this.tag,{iconSet:u.iconSet,iconId:u.iconId})}},{key:"parseOpen",value:function(c){var u=c.attributes;this.model={iconSet:u.iconSet,iconId:n.toIntValue(u.iconId)}}},{key:"parseClose",value:function(c){return c!==this.tag}}]),i}(n);r.exports=a},{"../../base-xform":32}],75:[function(e,r,t){var n=e("uuid").v4,a=e("../../base-xform"),s=e("../../composite-xform"),o=e("./databar-ext-xform"),i=e("./icon-set-ext-xform"),c={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},u=function(l){Mt(h,l);var A=ir(h);function h(){var f;return Fe(this,h),(f=A.call(this)).map={"x14:dataBar":f.databarXform=new o,"x14:iconSet":f.iconSetXform=new i},f}return Le(h,[{key:"tag",get:function(){return"x14:cfRule"}},{key:"prepare",value:function(f){h.isExt(f)&&(f.x14Id="{".concat(n(),"}").toUpperCase())}},{key:"render",value:function(f,d){if(h.isExt(d))switch(d.type){case"dataBar":this.renderDataBar(f,d);break;case"iconSet":this.renderIconSet(f,d)}}},{key:"renderDataBar",value:function(f,d){f.openNode(this.tag,{type:"dataBar",id:d.x14Id}),this.databarXform.render(f,d),f.closeNode()}},{key:"renderIconSet",value:function(f,d){f.openNode(this.tag,{type:"iconSet",priority:d.priority,id:d.x14Id||"{".concat(n(),"}")}),this.iconSetXform.render(f,d),f.closeNode()}},{key:"createNewModel",value:function(f){var d=f.attributes;return{type:d.type,x14Id:d.id,priority:a.toIntValue(d.priority)}}},{key:"onParserClose",value:function(f,d){Object.assign(this.model,d.model)}}],[{key:"isExt",value:function(f){return f.type==="dataBar"?o.isExt(f):!(f.type!=="iconSet"||!f.custom&&!c[f.iconSet])}}]),h}(s);r.exports=u},{"../../base-xform":32,"../../composite-xform":48,"./databar-ext-xform":79,"./icon-set-ext-xform":81,uuid:528}],76:[function(e,r,t){var n=e("../../composite-xform"),a=e("./f-ext-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(){var u;return Fe(this,c),(u=i.call(this)).map={"xm:f":u.fExtXform=new a},u}return Le(c,[{key:"tag",get:function(){return"x14:cfvo"}},{key:"render",value:function(u,l){u.openNode(this.tag,{type:l.type}),l.value!==void 0&&this.fExtXform.render(u,l.value),u.closeNode()}},{key:"createNewModel",value:function(u){return{type:u.attributes.type}}},{key:"onParserClose",value:function(u,l){u==="xm:f"&&(this.model.value=l.model?parseFloat(l.model):0)}}]),c}(n);r.exports=s},{"../../composite-xform":48,"./f-ext-xform":80}],77:[function(e,r,t){var n=e("../../composite-xform"),a=e("./sqref-ext-xform"),s=e("./cf-rule-ext-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={"xm:sqref":l.sqRef=new a,"x14:cfRule":l.cfRule=new s},l}return Le(u,[{key:"tag",get:function(){return"x14:conditionalFormatting"}},{key:"prepare",value:function(l,A){var h=this;l.rules.forEach(function(f){h.cfRule.prepare(f,A)})}},{key:"render",value:function(l,A){var h=this;A.rules.some(s.isExt)&&(l.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),A.rules.filter(s.isExt).forEach(function(f){return h.cfRule.render(l,f)}),this.sqRef.render(l,A.ref),l.closeNode())}},{key:"createNewModel",value:function(){return{rules:[]}}},{key:"onParserClose",value:function(l,A){switch(l){case"xm:sqref":this.model.ref=A.model;break;case"x14:cfRule":this.model.rules.push(A.model)}}}]),u}(n);r.exports=o},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./sqref-ext-xform":82}],78:[function(e,r,t){var n=e("../../composite-xform"),a=e("./cf-rule-ext-xform"),s=e("./conditional-formatting-ext-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={"x14:conditionalFormatting":l.cfXform=new s},l}return Le(u,[{key:"tag",get:function(){return"x14:conditionalFormattings"}},{key:"hasContent",value:function(l){return l.hasExtContent===void 0&&(l.hasExtContent=l.some(function(A){return A.rules.some(a.isExt)})),l.hasExtContent}},{key:"prepare",value:function(l,A){var h=this;l.forEach(function(f){h.cfXform.prepare(f,A)})}},{key:"render",value:function(l,A){var h=this;this.hasContent(A)&&(l.openNode(this.tag),A.forEach(function(f){return h.cfXform.render(l,f)}),l.closeNode())}},{key:"createNewModel",value:function(){return[]}},{key:"onParserClose",value:function(l,A){this.model.push(A.model)}}]),u}(n);r.exports=o},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./conditional-formatting-ext-xform":77}],79:[function(e,r,t){var n=e("../../base-xform"),a=e("../../composite-xform"),s=e("../../style/color-xform"),o=e("./cfvo-ext-xform"),i=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={"x14:cfvo":A.cfvoXform=new o,"x14:borderColor":A.borderColorXform=new s("x14:borderColor"),"x14:negativeBorderColor":A.negativeBorderColorXform=new s("x14:negativeBorderColor"),"x14:negativeFillColor":A.negativeFillColorXform=new s("x14:negativeFillColor"),"x14:axisColor":A.axisColorXform=new s("x14:axisColor")},A}return Le(l,[{key:"tag",get:function(){return"x14:dataBar"}},{key:"render",value:function(A,h){var f=this;A.openNode(this.tag,{minLength:n.toIntAttribute(h.minLength,0,!0),maxLength:n.toIntAttribute(h.maxLength,100,!0),border:n.toBoolAttribute(h.border,!1),gradient:n.toBoolAttribute(h.gradient,!0),negativeBarColorSameAsPositive:n.toBoolAttribute(h.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:n.toBoolAttribute(h.negativeBarBorderColorSameAsPositive,!0),axisPosition:n.toAttribute(h.axisPosition,"auto"),direction:n.toAttribute(h.direction,"leftToRight")}),h.cfvo.forEach(function(d){f.cfvoXform.render(A,d)}),this.borderColorXform.render(A,h.borderColor),this.negativeBorderColorXform.render(A,h.negativeBorderColor),this.negativeFillColorXform.render(A,h.negativeFillColor),this.axisColorXform.render(A,h.axisColor),A.closeNode()}},{key:"createNewModel",value:function(A){var h=A.attributes;return{cfvo:[],minLength:n.toIntValue(h.minLength,0),maxLength:n.toIntValue(h.maxLength,100),border:n.toBoolValue(h.border,!1),gradient:n.toBoolValue(h.gradient,!0),negativeBarColorSameAsPositive:n.toBoolValue(h.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:n.toBoolValue(h.negativeBarBorderColorSameAsPositive,!0),axisPosition:n.toStringValue(h.axisPosition,"auto"),direction:n.toStringValue(h.direction,"leftToRight")}}},{key:"onParserClose",value:function(A,h){var f=Tt(A.split(":"),2)[1];f==="cfvo"?this.model.cfvo.push(h.model):this.model[f]=h.model}}],[{key:"isExt",value:function(A){return!A.gradient}}]),l}(a);r.exports=i},{"../../base-xform":32,"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-ext-xform":76}],80:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"xm:f"}},{key:"render",value:function(i,c){i.leafNode(this.tag,null,c)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(i){this.model+=i}},{key:"parseClose",value:function(i){return i!==this.tag}}]),o}(e("../../base-xform"));r.exports=n},{"../../base-xform":32}],81:[function(e,r,t){var n=e("../../base-xform"),a=e("../../composite-xform"),s=e("./cfvo-ext-xform"),o=e("./cf-icon-ext-xform"),i=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={"x14:cfvo":A.cfvoXform=new s,"x14:cfIcon":A.cfIconXform=new o},A}return Le(l,[{key:"tag",get:function(){return"x14:iconSet"}},{key:"render",value:function(A,h){var f=this;A.openNode(this.tag,{iconSet:n.toStringAttribute(h.iconSet),reverse:n.toBoolAttribute(h.reverse,!1),showValue:n.toBoolAttribute(h.showValue,!0),custom:n.toBoolAttribute(h.icons,!1)}),h.cfvo.forEach(function(d){f.cfvoXform.render(A,d)}),h.icons&&h.icons.forEach(function(d,g){d.iconId=g,f.cfIconXform.render(A,d)}),A.closeNode()}},{key:"createNewModel",value:function(A){var h=A.attributes;return{cfvo:[],iconSet:n.toStringValue(h.iconSet,"3TrafficLights"),reverse:n.toBoolValue(h.reverse,!1),showValue:n.toBoolValue(h.showValue,!0)}}},{key:"onParserClose",value:function(A,h){var f=Tt(A.split(":"),2)[1];switch(f){case"cfvo":this.model.cfvo.push(h.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(h.model);break;default:this.model[f]=h.model}}}]),l}(a);r.exports=i},{"../../base-xform":32,"../../composite-xform":48,"./cf-icon-ext-xform":74,"./cfvo-ext-xform":76}],82:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"xm:sqref"}},{key:"render",value:function(i,c){i.leafNode(this.tag,null,c)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(i){this.model+=i}},{key:"parseClose",value:function(i){return i!==this.tag}}]),o}(e("../../base-xform"));r.exports=n},{"../../base-xform":32}],83:[function(e,r,t){var n=e("../../base-xform"),a=e("../../composite-xform"),s=e("../../../../doc/range"),o=e("./databar-xform"),i=e("./ext-lst-ref-xform"),c=e("./formula-xform"),u=e("./color-scale-xform"),l=e("./icon-set-xform"),A={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},h=function(p){if(p.formulae&&p.formulae[0])return p.formulae[0];var m=new s(p.ref).tl;switch(p.operator){case"containsText":return'NOT(ISERROR(SEARCH("'.concat(p.text,'",').concat(m,")))");case"containsBlanks":return"LEN(TRIM(".concat(m,"))=0");case"notContainsBlanks":return"LEN(TRIM(".concat(m,"))>0");case"containsErrors":return"ISERROR(".concat(m,")");case"notContainsErrors":return"NOT(ISERROR(".concat(m,"))");default:return}},f=function(p){if(p.formulae&&p.formulae[0])return p.formulae[0];var m=new s(p.ref).tl;switch(p.timePeriod){case"thisWeek":return"AND(TODAY()-ROUNDDOWN(".concat(m,",0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(").concat(m,",0)-TODAY()<=7-WEEKDAY(TODAY()))");case"lastWeek":return"AND(TODAY()-ROUNDDOWN(".concat(m,",0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(").concat(m,",0)<(WEEKDAY(TODAY())+7))");case"nextWeek":return"AND(ROUNDDOWN(".concat(m,",0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(").concat(m,",0)-TODAY()<(15-WEEKDAY(TODAY())))");case"yesterday":return"FLOOR(".concat(m,",1)=TODAY()-1");case"today":return"FLOOR(".concat(m,",1)=TODAY()");case"tomorrow":return"FLOOR(".concat(m,",1)=TODAY()+1");case"last7Days":return"AND(TODAY()-FLOOR(".concat(m,",1)<=6,FLOOR(").concat(m,",1)<=TODAY())");case"lastMonth":return"AND(MONTH(".concat(m,")=MONTH(EDATE(TODAY(),0-1)),YEAR(").concat(m,")=YEAR(EDATE(TODAY(),0-1)))");case"thisMonth":return"AND(MONTH(".concat(m,")=MONTH(TODAY()),YEAR(").concat(m,")=YEAR(TODAY()))");case"nextMonth":return"AND(MONTH(".concat(m,")=MONTH(EDATE(TODAY(),0+1)),YEAR(").concat(m,")=YEAR(EDATE(TODAY(),0+1)))");default:return}},d=function(p){var m=p.type,v=p.operator;switch(m){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:m};default:return{type:m,operator:v}}},g=function(p){Mt(v,p);var m=ir(v);function v(){var y;return Fe(this,v),(y=m.call(this)).map={dataBar:y.databarXform=new o,extLst:y.extLstRefXform=new i,formula:y.formulaXform=new c,colorScale:y.colorScaleXform=new u,iconSet:y.iconSetXform=new l},y}return Le(v,[{key:"tag",get:function(){return"cfRule"}},{key:"render",value:function(y,I){switch(I.type){case"expression":this.renderExpression(y,I);break;case"cellIs":this.renderCellIs(y,I);break;case"top10":this.renderTop10(y,I);break;case"aboveAverage":this.renderAboveAverage(y,I);break;case"dataBar":this.renderDataBar(y,I);break;case"colorScale":this.renderColorScale(y,I);break;case"iconSet":this.renderIconSet(y,I);break;case"containsText":this.renderText(y,I);break;case"timePeriod":this.renderTimePeriod(y,I)}}},{key:"renderExpression",value:function(y,I){y.openNode(this.tag,{type:"expression",dxfId:I.dxfId,priority:I.priority}),this.formulaXform.render(y,I.formulae[0]),y.closeNode()}},{key:"renderCellIs",value:function(y,I){var E=this;y.openNode(this.tag,{type:"cellIs",dxfId:I.dxfId,priority:I.priority,operator:I.operator}),I.formulae.forEach(function(k){E.formulaXform.render(y,k)}),y.closeNode()}},{key:"renderTop10",value:function(y,I){y.leafNode(this.tag,{type:"top10",dxfId:I.dxfId,priority:I.priority,percent:n.toBoolAttribute(I.percent,!1),bottom:n.toBoolAttribute(I.bottom,!1),rank:n.toIntValue(I.rank,10,!0)})}},{key:"renderAboveAverage",value:function(y,I){y.leafNode(this.tag,{type:"aboveAverage",dxfId:I.dxfId,priority:I.priority,aboveAverage:n.toBoolAttribute(I.aboveAverage,!0)})}},{key:"renderDataBar",value:function(y,I){y.openNode(this.tag,{type:"dataBar",priority:I.priority}),this.databarXform.render(y,I),this.extLstRefXform.render(y,I),y.closeNode()}},{key:"renderColorScale",value:function(y,I){y.openNode(this.tag,{type:"colorScale",priority:I.priority}),this.colorScaleXform.render(y,I),y.closeNode()}},{key:"renderIconSet",value:function(y,I){v.isPrimitive(I)&&(y.openNode(this.tag,{type:"iconSet",priority:I.priority}),this.iconSetXform.render(y,I),y.closeNode())}},{key:"renderText",value:function(y,I){y.openNode(this.tag,{type:I.operator,dxfId:I.dxfId,priority:I.priority,operator:n.toStringAttribute(I.operator,"containsText")});var E=h(I);E&&this.formulaXform.render(y,E),y.closeNode()}},{key:"renderTimePeriod",value:function(y,I){y.openNode(this.tag,{type:"timePeriod",dxfId:I.dxfId,priority:I.priority,timePeriod:I.timePeriod});var E=f(I);E&&this.formulaXform.render(y,E),y.closeNode()}},{key:"createNewModel",value:function(y){var I=y.attributes;return bo(bo({},d(I)),{},{dxfId:n.toIntValue(I.dxfId),priority:n.toIntValue(I.priority),timePeriod:I.timePeriod,percent:n.toBoolValue(I.percent),bottom:n.toBoolValue(I.bottom),rank:n.toIntValue(I.rank),aboveAverage:n.toBoolValue(I.aboveAverage)})}},{key:"onParserClose",value:function(y,I){switch(y){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,I.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(I.model)}}}],[{key:"isPrimitive",value:function(y){return y.type!=="iconSet"||!y.custom&&!A[y.iconSet]}}]),v}(a);r.exports=g},{"../../../../doc/range":10,"../../base-xform":32,"../../composite-xform":48,"./color-scale-xform":85,"./databar-xform":88,"./ext-lst-ref-xform":89,"./formula-xform":90,"./icon-set-xform":91}],84:[function(e,r,t){var n=e("../../base-xform"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"tag",get:function(){return"cfvo"}},{key:"render",value:function(c,u){c.leafNode(this.tag,{type:u.type,val:u.value})}},{key:"parseOpen",value:function(c){this.model={type:c.attributes.type,value:n.toFloatValue(c.attributes.val)}}},{key:"parseClose",value:function(c){return c!==this.tag}}]),i}(n);r.exports=a},{"../../base-xform":32}],85:[function(e,r,t){var n=e("../../composite-xform"),a=e("../../style/color-xform"),s=e("./cfvo-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={cfvo:l.cfvoXform=new s,color:l.colorXform=new a},l}return Le(u,[{key:"tag",get:function(){return"colorScale"}},{key:"render",value:function(l,A){var h=this;l.openNode(this.tag),A.cfvo.forEach(function(f){h.cfvoXform.render(l,f)}),A.color.forEach(function(f){h.colorXform.render(l,f)}),l.closeNode()}},{key:"createNewModel",value:function(l){return{cfvo:[],color:[]}}},{key:"onParserClose",value:function(l,A){this.model[l].push(A.model)}}]),u}(n);r.exports=o},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],86:[function(e,r,t){var n=e("../../composite-xform"),a=e("./cf-rule-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(){var u;return Fe(this,c),(u=i.call(this)).map={cfRule:new a},u}return Le(c,[{key:"tag",get:function(){return"conditionalFormatting"}},{key:"render",value:function(u,l){var A=this;l.rules.some(a.isPrimitive)&&(u.openNode(this.tag,{sqref:l.ref}),l.rules.forEach(function(h){a.isPrimitive(h)&&(h.ref=l.ref,A.map.cfRule.render(u,h))}),u.closeNode())}},{key:"createNewModel",value:function(u){return{ref:u.attributes.sqref,rules:[]}}},{key:"onParserClose",value:function(u,l){this.model.rules.push(l.model)}}]),c}(n);r.exports=s},{"../../composite-xform":48,"./cf-rule-xform":83}],87:[function(e,r,t){var n=e("../../base-xform"),a=e("./conditional-formatting-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(){var u;return Fe(this,c),(u=i.call(this)).cfXform=new a,u}return Le(c,[{key:"tag",get:function(){return"conditionalFormatting"}},{key:"reset",value:function(){this.model=[]}},{key:"prepare",value:function(u,l){var A=u.reduce(function(h,f){return Math.max.apply(Math,[h].concat(Et(f.rules.map(function(d){return d.priority||0}))))},1);u.forEach(function(h){h.rules.forEach(function(f){f.priority||(f.priority=A++),f.style&&(f.dxfId=l.styles.addDxfStyle(f.style))})})}},{key:"render",value:function(u,l){var A=this;l.forEach(function(h){A.cfXform.render(u,h)})}},{key:"parseOpen",value:function(u){return this.parser?(this.parser.parseOpen(u),!0):u.name==="conditionalFormatting"&&(this.parser=this.cfXform,this.parser.parseOpen(u),!0)}},{key:"parseText",value:function(u){this.parser&&this.parser.parseText(u)}},{key:"parseClose",value:function(u){return!(!this.parser||!this.parser.parseClose(u)&&(this.model.push(this.parser.model),this.parser=void 0,1))}},{key:"reconcile",value:function(u,l){u.forEach(function(A){A.rules.forEach(function(h){h.dxfId!==void 0&&(h.style=l.styles.getDxfStyle(h.dxfId),delete h.dxfId)})})}}]),c}(n);r.exports=s},{"../../base-xform":32,"./conditional-formatting-xform":86}],88:[function(e,r,t){var n=e("../../composite-xform"),a=e("../../style/color-xform"),s=e("./cfvo-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={cfvo:l.cfvoXform=new s,color:l.colorXform=new a},l}return Le(u,[{key:"tag",get:function(){return"dataBar"}},{key:"render",value:function(l,A){var h=this;l.openNode(this.tag),A.cfvo.forEach(function(f){h.cfvoXform.render(l,f)}),this.colorXform.render(l,A.color),l.closeNode()}},{key:"createNewModel",value:function(){return{cfvo:[]}}},{key:"onParserClose",value:function(l,A){switch(l){case"cfvo":this.model.cfvo.push(A.model);break;case"color":this.model.color=A.model}}}]),u}(n);r.exports=o},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],89:[function(e,r,t){var n=e("../../base-xform"),a=e("../../composite-xform"),s=function(c){Mt(l,c);var u=ir(l);function l(){return Fe(this,l),u.apply(this,arguments)}return Le(l,[{key:"tag",get:function(){return"x14:id"}},{key:"render",value:function(A,h){A.leafNode(this.tag,null,h)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(A){this.model+=A}},{key:"parseClose",value:function(A){return A!==this.tag}}]),l}(n),o=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={"x14:id":A.idXform=new s},A}return Le(l,[{key:"tag",get:function(){return"ext"}},{key:"render",value:function(A,h){A.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(A,h.x14Id),A.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(A,h){this.model.x14Id=h.model}}]),l}(a),i=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={ext:new o},A}return Le(l,[{key:"tag",get:function(){return"extLst"}},{key:"render",value:function(A,h){A.openNode(this.tag),this.map.ext.render(A,h),A.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(A,h){Object.assign(this.model,h.model)}}]),l}(a);r.exports=i},{"../../base-xform":32,"../../composite-xform":48}],90:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"formula"}},{key:"render",value:function(i,c){i.leafNode(this.tag,null,c)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(i){this.model+=i}},{key:"parseClose",value:function(i){return i!==this.tag}}]),o}(e("../../base-xform"));r.exports=n},{"../../base-xform":32}],91:[function(e,r,t){var n=e("../../base-xform"),a=e("../../composite-xform"),s=e("./cfvo-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={cfvo:l.cfvoXform=new s},l}return Le(u,[{key:"tag",get:function(){return"iconSet"}},{key:"render",value:function(l,A){var h=this;l.openNode(this.tag,{iconSet:n.toStringAttribute(A.iconSet,"3TrafficLights"),reverse:n.toBoolAttribute(A.reverse,!1),showValue:n.toBoolAttribute(A.showValue,!0)}),A.cfvo.forEach(function(f){h.cfvoXform.render(l,f)}),l.closeNode()}},{key:"createNewModel",value:function(l){var A=l.attributes;return{iconSet:n.toStringValue(A.iconSet,"3TrafficLights"),reverse:n.toBoolValue(A.reverse),showValue:n.toBoolValue(A.showValue),cfvo:[]}}},{key:"onParserClose",value:function(l,A){this.model[l].push(A.model)}}]),u}(a);r.exports=o},{"../../base-xform":32,"../../composite-xform":48,"./cfvo-xform":84}],92:[function(e,r,t){var n=e("../../../utils/utils"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"tag",get:function(){return"col"}},{key:"prepare",value:function(c,u){var l=u.styles.addStyleModel(c.style||{});l&&(c.styleId=l)}},{key:"render",value:function(c,u){c.openNode("col"),c.addAttribute("min",u.min),c.addAttribute("max",u.max),u.width&&c.addAttribute("width",u.width),u.styleId&&c.addAttribute("style",u.styleId),u.hidden&&c.addAttribute("hidden","1"),u.bestFit&&c.addAttribute("bestFit","1"),u.outlineLevel&&c.addAttribute("outlineLevel",u.outlineLevel),u.collapsed&&c.addAttribute("collapsed","1"),c.addAttribute("customWidth","1"),c.closeNode()}},{key:"parseOpen",value:function(c){if(c.name==="col"){var u=this.model={min:parseInt(c.attributes.min||"0",10),max:parseInt(c.attributes.max||"0",10),width:c.attributes.width===void 0?void 0:parseFloat(c.attributes.width||"0")};return c.attributes.style&&(u.styleId=parseInt(c.attributes.style,10)),n.parseBoolean(c.attributes.hidden)&&(u.hidden=!0),n.parseBoolean(c.attributes.bestFit)&&(u.bestFit=!0),c.attributes.outlineLevel&&(u.outlineLevel=parseInt(c.attributes.outlineLevel,10)),n.parseBoolean(c.attributes.collapsed)&&(u.collapsed=!0),!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"reconcile",value:function(c,u){c.styleId&&(c.style=u.styles.getStyleModel(c.styleId))}}]),i}(e("../base-xform"));r.exports=a},{"../../../utils/utils":27,"../base-xform":32}],93:[function(e,r,t){var n=e("../../../utils/under-dash"),a=e("../../../utils/utils"),s=e("../../../utils/col-cache"),o=e("../base-xform"),i=e("../../../doc/range");function c(h,f,d,g){var p=f[d];p!==void 0?h[d]=p:g!==void 0&&(h[d]=g)}function u(h,f,d,g){var p=f[d];p!==void 0?h[d]=a.parseBoolean(p):g!==void 0&&(h[d]=g)}function l(h){var f=n.map(h,function(p,m){return{address:m,dataValidation:p,marked:!1}}).sort(function(p,m){return n.strcmp(p.address,m.address)}),d=n.keyBy(f,"address"),g=function(p,m,v){for(var y=0;y<m;y++){var I=s.encodeAddress(p.row+y,v);if(!h[I]||!n.isEqual(h[p.address],h[I]))return!1}return!0};return f.map(function(p){if(!p.marked){var m=s.decodeEx(p.address);if(m.dimensions)return d[m.dimensions].marked=!0,bo(bo({},p.dataValidation),{},{sqref:p.address});for(var v=1,y=s.encodeAddress(m.row+v,m.col);h[y]&&n.isEqual(p.dataValidation,h[y]);)v++,y=s.encodeAddress(m.row+v,m.col);for(var I=1;g(m,v,m.col+I);)I++;for(var E=0;E<v;E++)for(var k=0;k<I;k++)y=s.encodeAddress(m.row+E,m.col+k),d[y].marked=!0;if(v>1||I>1){var R=m.row+(v-1),T=m.col+(I-1);return bo(bo({},p.dataValidation),{},{sqref:"".concat(p.address,":").concat(s.encodeAddress(R,T))})}return bo(bo({},p.dataValidation),{},{sqref:p.address})}return null}).filter(Boolean)}var A=function(h){Mt(d,h);var f=ir(d);function d(){return Fe(this,d),f.apply(this,arguments)}return Le(d,[{key:"tag",get:function(){return"dataValidations"}},{key:"render",value:function(g,p){var m=l(p);m.length&&(g.openNode("dataValidations",{count:m.length}),m.forEach(function(v){g.openNode("dataValidation"),v.type!=="any"&&(g.addAttribute("type",v.type),v.operator&&v.type!=="list"&&v.operator!=="between"&&g.addAttribute("operator",v.operator),v.allowBlank&&g.addAttribute("allowBlank","1")),v.showInputMessage&&g.addAttribute("showInputMessage","1"),v.promptTitle&&g.addAttribute("promptTitle",v.promptTitle),v.prompt&&g.addAttribute("prompt",v.prompt),v.showErrorMessage&&g.addAttribute("showErrorMessage","1"),v.errorStyle&&g.addAttribute("errorStyle",v.errorStyle),v.errorTitle&&g.addAttribute("errorTitle",v.errorTitle),v.error&&g.addAttribute("error",v.error),g.addAttribute("sqref",v.sqref),(v.formulae||[]).forEach(function(y,I){g.openNode("formula".concat(I+1)),v.type==="date"?g.writeText(a.dateToExcel(new Date(y))):g.writeText(y),g.closeNode()}),g.closeNode()}),g.closeNode())}},{key:"parseOpen",value:function(g){switch(g.name){case"dataValidations":return this.model={},!0;case"dataValidation":this._address=g.attributes.sqref;var p={type:g.attributes.type||"any",formulae:[]};switch(g.attributes.type&&u(p,g.attributes,"allowBlank"),u(p,g.attributes,"showInputMessage"),u(p,g.attributes,"showErrorMessage"),p.type){case"any":case"list":case"custom":break;default:c(p,g.attributes,"operator","between")}return c(p,g.attributes,"promptTitle"),c(p,g.attributes,"prompt"),c(p,g.attributes,"errorStyle"),c(p,g.attributes,"errorTitle"),c(p,g.attributes,"error"),this._dataValidation=p,!0;case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}},{key:"parseText",value:function(g){this._formula&&this._formula.push(g)}},{key:"parseClose",value:function(g){var p=this;switch(g){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(function(v){v.includes(":")?new i(v).forEachAddress(function(y){p.model[y]=p._dataValidation}):p.model[v]=p._dataValidation}),!0;case"formula1":case"formula2":var m=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":m=parseInt(m,10);break;case"decimal":m=parseFloat(m);break;case"date":m=a.excelToDate(parseFloat(m))}return this._dataValidation.formulae.push(m),this._formula=void 0,!0;default:return!0}}}]),d}(o);r.exports=A},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/utils":27,"../base-xform":32}],94:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"dimension"}},{key:"render",value:function(i,c){c&&i.leafNode("dimension",{ref:c})}},{key:"parseOpen",value:function(i){return i.name==="dimension"&&(this.model=i.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],95:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"drawing"}},{key:"render",value:function(i,c){c&&i.leafNode(this.tag,{"r:id":c.rId})}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.model={rId:i.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],96:[function(e,r,t){var n=e("../composite-xform"),a=e("./cf-ext/conditional-formattings-ext-xform"),s=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={"x14:conditionalFormattings":l.conditionalFormattings=new a},l}return Le(u,[{key:"tag",get:function(){return"ext"}},{key:"hasContent",value:function(l){return this.conditionalFormattings.hasContent(l.conditionalFormattings)}},{key:"prepare",value:function(l,A){this.conditionalFormattings.prepare(l.conditionalFormattings,A)}},{key:"render",value:function(l,A){l.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(l,A.conditionalFormattings),l.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(l,A){this.model[l]=A.model}}]),u}(n),o=function(i){Mt(u,i);var c=ir(u);function u(){var l;return Fe(this,u),(l=c.call(this)).map={ext:l.ext=new s},l}return Le(u,[{key:"tag",get:function(){return"extLst"}},{key:"prepare",value:function(l,A){this.ext.prepare(l,A)}},{key:"hasContent",value:function(l){return this.ext.hasContent(l)}},{key:"render",value:function(l,A){this.hasContent(A)&&(l.openNode("extLst"),this.ext.render(l,A),l.closeNode())}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(l,A){Object.assign(this.model,A.model)}}]),u}(n);r.exports=o},{"../composite-xform":48,"./cf-ext/conditional-formattings-ext-xform":78}],97:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"headerFooter"}},{key:"render",value:function(i,c){if(c){i.addRollback();var u=!1;i.openNode("headerFooter"),c.differentFirst&&(i.addAttribute("differentFirst","1"),u=!0),c.differentOddEven&&(i.addAttribute("differentOddEven","1"),u=!0),c.oddHeader&&typeof c.oddHeader=="string"&&(i.leafNode("oddHeader",null,c.oddHeader),u=!0),c.oddFooter&&typeof c.oddFooter=="string"&&(i.leafNode("oddFooter",null,c.oddFooter),u=!0),c.evenHeader&&typeof c.evenHeader=="string"&&(i.leafNode("evenHeader",null,c.evenHeader),u=!0),c.evenFooter&&typeof c.evenFooter=="string"&&(i.leafNode("evenFooter",null,c.evenFooter),u=!0),c.firstHeader&&typeof c.firstHeader=="string"&&(i.leafNode("firstHeader",null,c.firstHeader),u=!0),c.firstFooter&&typeof c.firstFooter=="string"&&(i.leafNode("firstFooter",null,c.firstFooter),u=!0),u?(i.closeNode(),i.commit()):i.rollback()}}},{key:"parseOpen",value:function(i){switch(i.name){case"headerFooter":return this.model={},i.attributes.differentFirst&&(this.model.differentFirst=parseInt(i.attributes.differentFirst,0)===1),i.attributes.differentOddEven&&(this.model.differentOddEven=parseInt(i.attributes.differentOddEven,0)===1),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}},{key:"parseText",value:function(i){switch(this.currentNode){case"oddHeader":this.model.oddHeader=i;break;case"oddFooter":this.model.oddFooter=i;break;case"evenHeader":this.model.evenHeader=i;break;case"evenFooter":this.model.evenFooter=i;break;case"firstHeader":this.model.firstHeader=i;break;case"firstFooter":this.model.firstFooter=i}}},{key:"parseClose",value:function(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],98:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"hyperlink"}},{key:"render",value:function(i,c){this.isInternalLink(c)?i.leafNode("hyperlink",{ref:c.address,"r:id":c.rId,tooltip:c.tooltip,location:c.target}):i.leafNode("hyperlink",{ref:c.address,"r:id":c.rId,tooltip:c.tooltip})}},{key:"parseOpen",value:function(i){return i.name==="hyperlink"&&(this.model={address:i.attributes.ref,rId:i.attributes["r:id"],tooltip:i.attributes.tooltip},i.attributes.location&&(this.model.target=i.attributes.location),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"isInternalLink",value:function(i){return i.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(i.target)}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],99:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"mergeCell"}},{key:"render",value:function(i,c){i.leafNode("mergeCell",{ref:c})}},{key:"parseOpen",value:function(i){return i.name==="mergeCell"&&(this.model=i.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],100:[function(e,r,t){var n=e("../../../utils/under-dash"),a=e("../../../doc/range"),s=e("../../../utils/col-cache"),o=e("../../../doc/enums"),i=function(){function c(){Fe(this,c),this.merges={}}return Le(c,[{key:"add",value:function(u){if(this.merges[u.master])this.merges[u.master].expandToAddress(u.address);else{var l="".concat(u.master,":").concat(u.address);this.merges[u.master]=new a(l)}}},{key:"mergeCells",get:function(){return n.map(this.merges,function(u){return u.range})}},{key:"reconcile",value:function(u,l){n.each(u,function(A){for(var h=s.decode(A),f=h.top;f<=h.bottom;f++)for(var d=l[f-1],g=h.left;g<=h.right;g++){var p=d.cells[g-1];p?p.type===o.ValueType.Merge&&(p.master=h.tl):d.cells[g]={type:o.ValueType.Null,address:s.encodeAddress(f,g)}}})}},{key:"getMasterAddress",value:function(u){var l=this.hash[u];return l&&l.tl}}]),c}();r.exports=i},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26}],101:[function(e,r,t){var n=e("../base-xform"),a=function(o){return o!==void 0},s=function(o){Mt(c,o);var i=ir(c);function c(){return Fe(this,c),i.apply(this,arguments)}return Le(c,[{key:"tag",get:function(){return"outlinePr"}},{key:"render",value:function(u,l){return!(!l||!a(l.summaryBelow)&&!a(l.summaryRight)||(u.leafNode(this.tag,{summaryBelow:a(l.summaryBelow)?Number(l.summaryBelow):void 0,summaryRight:a(l.summaryRight)?Number(l.summaryRight):void 0}),0))}},{key:"parseOpen",value:function(u){return u.name===this.tag&&(this.model={summaryBelow:a(u.attributes.summaryBelow)?!!Number(u.attributes.summaryBelow):void 0,summaryRight:a(u.attributes.summaryRight)?!!Number(u.attributes.summaryRight):void 0},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),c}(n);r.exports=s},{"../base-xform":32}],102:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"brk"}},{key:"render",value:function(i,c){i.leafNode("brk",c)}},{key:"parseOpen",value:function(i){return i.name==="brk"&&(this.model=i.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],103:[function(e,r,t){var n=e("../../../utils/under-dash"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"tag",get:function(){return"pageMargins"}},{key:"render",value:function(c,u){if(u){var l={left:u.left,right:u.right,top:u.top,bottom:u.bottom,header:u.header,footer:u.footer};n.some(l,function(A){return A!==void 0})&&c.leafNode(this.tag,l)}}},{key:"parseOpen",value:function(c){return c.name===this.tag&&(this.model={left:parseFloat(c.attributes.left||.7),right:parseFloat(c.attributes.right||.7),top:parseFloat(c.attributes.top||.75),bottom:parseFloat(c.attributes.bottom||.75),header:parseFloat(c.attributes.header||.3),footer:parseFloat(c.attributes.footer||.3)},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),i}(e("../base-xform"));r.exports=a},{"../../../utils/under-dash":26,"../base-xform":32}],104:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"pageSetUpPr"}},{key:"render",value:function(i,c){return!(!c||!c.fitToPage||(i.leafNode(this.tag,{fitToPage:c.fitToPage?"1":void 0}),0))}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.model={fitToPage:i.attributes.fitToPage==="1"},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],105:[function(e,r,t){var n=e("../../../utils/under-dash");function a(l){return l?"1":void 0}function s(l){if(l==="overThenDown")return l}function o(l){switch(l){case"atEnd":case"asDisplyed":return l;default:return}}function i(l){switch(l){case"dash":case"blank":case"NA":return l;default:return}}function c(l){return l!==void 0?parseInt(l,10):void 0}var u=function(l){Mt(h,l);var A=ir(h);function h(){return Fe(this,h),A.apply(this,arguments)}return Le(h,[{key:"tag",get:function(){return"pageSetup"}},{key:"render",value:function(f,d){if(d){var g={paperSize:d.paperSize,orientation:d.orientation,horizontalDpi:d.horizontalDpi,verticalDpi:d.verticalDpi,pageOrder:s(d.pageOrder),blackAndWhite:a(d.blackAndWhite),draft:a(d.draft),cellComments:o(d.cellComments),errors:i(d.errors),scale:d.scale,fitToWidth:d.fitToWidth,fitToHeight:d.fitToHeight,firstPageNumber:d.firstPageNumber,useFirstPageNumber:a(d.firstPageNumber),usePrinterDefaults:a(d.usePrinterDefaults),copies:d.copies};n.some(g,function(p){return p!==void 0})&&f.leafNode(this.tag,g)}}},{key:"parseOpen",value:function(f){return f.name===this.tag&&(this.model={paperSize:c(f.attributes.paperSize),orientation:f.attributes.orientation||"portrait",horizontalDpi:parseInt(f.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(f.attributes.verticalDpi||"4294967295",10),pageOrder:f.attributes.pageOrder||"downThenOver",blackAndWhite:f.attributes.blackAndWhite==="1",draft:f.attributes.draft==="1",cellComments:f.attributes.cellComments||"None",errors:f.attributes.errors||"displayed",scale:parseInt(f.attributes.scale||"100",10),fitToWidth:parseInt(f.attributes.fitToWidth||"1",10),fitToHeight:parseInt(f.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(f.attributes.firstPageNumber||"1",10),useFirstPageNumber:f.attributes.useFirstPageNumber==="1",usePrinterDefaults:f.attributes.usePrinterDefaults==="1",copies:parseInt(f.attributes.copies||"1",10)},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),h}(e("../base-xform"));r.exports=u},{"../../../utils/under-dash":26,"../base-xform":32}],106:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"picture"}},{key:"render",value:function(i,c){c&&i.leafNode(this.tag,{"r:id":c.rId})}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.model={rId:i.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],107:[function(e,r,t){var n=e("../../../utils/under-dash");function a(o){return o?"1":void 0}var s=function(o){Mt(c,o);var i=ir(c);function c(){return Fe(this,c),i.apply(this,arguments)}return Le(c,[{key:"tag",get:function(){return"printOptions"}},{key:"render",value:function(u,l){if(l){var A={headings:a(l.showRowColHeaders),gridLines:a(l.showGridLines),horizontalCentered:a(l.horizontalCentered),verticalCentered:a(l.verticalCentered)};n.some(A,function(h){return h!==void 0})&&u.leafNode(this.tag,A)}}},{key:"parseOpen",value:function(u){return u.name===this.tag&&(this.model={showRowColHeaders:u.attributes.headings==="1",showGridLines:u.attributes.gridLines==="1",horizontalCentered:u.attributes.horizontalCentered==="1",verticalCentered:u.attributes.verticalCentered==="1"},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),c}(e("../base-xform"));r.exports=s},{"../../../utils/under-dash":26,"../base-xform":32}],108:[function(e,r,t){var n=e("./page-breaks-xform"),a=function(s){Mt(i,s);var o=ir(i);function i(){Fe(this,i);var c={tag:"rowBreaks",count:!0,childXform:new n};return o.call(this,c)}return Le(i,[{key:"render",value:function(c,u){if(u&&u.length){c.openNode(this.tag,this.$),this.count&&(c.addAttribute(this.$count,u.length),c.addAttribute("manualBreakCount",u.length));var l=this.childXform;u.forEach(function(A){l.render(c,A)}),c.closeNode()}else this.empty&&c.leafNode(this.tag)}}]),i}(e("../list-xform"));r.exports=a},{"../list-xform":71,"./page-breaks-xform":102}],109:[function(e,r,t){var n=e("../base-xform"),a=e("../../../utils/utils"),s=e("./cell-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(l){var A;return Fe(this,u),(A=c.call(this)).maxItems=l&&l.maxItems,A.map={c:new s},A}return Le(u,[{key:"tag",get:function(){return"row"}},{key:"prepare",value:function(l,A){var h=A.styles.addStyleModel(l.style);h&&(l.styleId=h);var f=this.map.c;l.cells.forEach(function(d){f.prepare(d,A)})}},{key:"render",value:function(l,A,h){l.openNode("row"),l.addAttribute("r",A.number),A.height&&(l.addAttribute("ht",A.height),l.addAttribute("customHeight","1")),A.hidden&&l.addAttribute("hidden","1"),A.min>0&&A.max>0&&A.min<=A.max&&l.addAttribute("spans","".concat(A.min,":").concat(A.max)),A.styleId&&(l.addAttribute("s",A.styleId),l.addAttribute("customFormat","1")),l.addAttribute("x14ac:dyDescent","0.25"),A.outlineLevel&&l.addAttribute("outlineLevel",A.outlineLevel),A.collapsed&&l.addAttribute("collapsed","1");var f=this.map.c;A.cells.forEach(function(d){f.render(l,d,h)}),l.closeNode()}},{key:"parseOpen",value:function(l){if(this.parser)return this.parser.parseOpen(l),!0;if(l.name==="row"){this.numRowsSeen+=1;var A=l.attributes.spans?l.attributes.spans.split(":").map(function(f){return parseInt(f,10)}):[void 0,void 0],h=this.model={number:parseInt(l.attributes.r,10),min:A[0],max:A[1],cells:[]};return l.attributes.s&&(h.styleId=parseInt(l.attributes.s,10)),a.parseBoolean(l.attributes.hidden)&&(h.hidden=!0),a.parseBoolean(l.attributes.bestFit)&&(h.bestFit=!0),l.attributes.ht&&(h.height=parseFloat(l.attributes.ht)),l.attributes.outlineLevel&&(h.outlineLevel=parseInt(l.attributes.outlineLevel,10)),a.parseBoolean(l.attributes.collapsed)&&(h.collapsed=!0),!0}return this.parser=this.map[l.name],!!this.parser&&(this.parser.parseOpen(l),!0)}},{key:"parseText",value:function(l){this.parser&&this.parser.parseText(l)}},{key:"parseClose",value:function(l){if(this.parser){if(!this.parser.parseClose(l)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error("Max column count (".concat(this.maxItems,") exceeded"));this.parser=void 0}return!0}return!1}},{key:"reconcile",value:function(l,A){l.style=l.styleId?A.styles.getStyleModel(l.styleId):{},l.styleId!==void 0&&(l.styleId=void 0);var h=this.map.c;l.cells.forEach(function(f){h.reconcile(f,A)})}}]),u}(n);r.exports=o},{"../../../utils/utils":27,"../base-xform":32,"./cell-xform":73}],110:[function(e,r,t){var n=e("../../../utils/under-dash"),a=function(s){Mt(i,s);var o=ir(i);function i(){return Fe(this,i),o.apply(this,arguments)}return Le(i,[{key:"tag",get:function(){return"sheetFormatPr"}},{key:"render",value:function(c,u){if(u){var l={defaultRowHeight:u.defaultRowHeight,outlineLevelRow:u.outlineLevelRow,outlineLevelCol:u.outlineLevelCol,"x14ac:dyDescent":u.dyDescent};u.defaultColWidth&&(l.defaultColWidth=u.defaultColWidth),u.defaultRowHeight&&u.defaultRowHeight===15||(l.customHeight="1"),n.some(l,function(A){return A!==void 0})&&c.leafNode("sheetFormatPr",l)}}},{key:"parseOpen",value:function(c){return c.name==="sheetFormatPr"&&(this.model={defaultRowHeight:parseFloat(c.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(c.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(c.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(c.attributes.outlineLevelCol||"0",10)},c.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(c.attributes.defaultColWidth)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),i}(e("../base-xform"));r.exports=a},{"../../../utils/under-dash":26,"../base-xform":32}],111:[function(e,r,t){var n=e("../base-xform"),a=e("../style/color-xform"),s=e("./page-setup-properties-xform"),o=e("./outline-properties-xform"),i=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={tabColor:new a("tabColor"),pageSetUpPr:new s,outlinePr:new o},A}return Le(l,[{key:"tag",get:function(){return"sheetPr"}},{key:"render",value:function(A,h){if(h){A.addRollback(),A.openNode("sheetPr");var f=!1;f=this.map.tabColor.render(A,h.tabColor)||f,f=this.map.pageSetUpPr.render(A,h.pageSetup)||f,(f=this.map.outlinePr.render(A,h.outlineProperties)||f)?(A.closeNode(),A.commit()):A.rollback()}}},{key:"parseOpen",value:function(A){return this.parser?(this.parser.parseOpen(A),!0):A.name===this.tag?(this.reset(),!0):!!this.map[A.name]&&(this.parser=this.map[A.name],this.parser.parseOpen(A),!0)}},{key:"parseText",value:function(A){return!!this.parser&&(this.parser.parseText(A),!0)}},{key:"parseClose",value:function(A){return this.parser?(this.parser.parseClose(A)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}]),l}(n);r.exports=i},{"../base-xform":32,"../style/color-xform":128,"./outline-properties-xform":101,"./page-setup-properties-xform":104}],112:[function(e,r,t){var n=e("../../../utils/under-dash");function a(i,c){return i?c:void 0}function s(i,c){return i===c||void 0}var o=function(i){Mt(u,i);var c=ir(u);function u(){return Fe(this,u),c.apply(this,arguments)}return Le(u,[{key:"tag",get:function(){return"sheetProtection"}},{key:"render",value:function(l,A){if(A){var h={sheet:a(A.sheet,"1"),selectLockedCells:A.selectLockedCells===!1?"1":void 0,selectUnlockedCells:A.selectUnlockedCells===!1?"1":void 0,formatCells:a(A.formatCells,"0"),formatColumns:a(A.formatColumns,"0"),formatRows:a(A.formatRows,"0"),insertColumns:a(A.insertColumns,"0"),insertRows:a(A.insertRows,"0"),insertHyperlinks:a(A.insertHyperlinks,"0"),deleteColumns:a(A.deleteColumns,"0"),deleteRows:a(A.deleteRows,"0"),sort:a(A.sort,"0"),autoFilter:a(A.autoFilter,"0"),pivotTables:a(A.pivotTables,"0")};A.sheet&&(h.algorithmName=A.algorithmName,h.hashValue=A.hashValue,h.saltValue=A.saltValue,h.spinCount=A.spinCount,h.objects=a(A.objects===!1,"1"),h.scenarios=a(A.scenarios===!1,"1")),n.some(h,function(f){return f!==void 0})&&l.leafNode(this.tag,h)}}},{key:"parseOpen",value:function(l){return l.name===this.tag&&(this.model={sheet:s(l.attributes.sheet,"1"),objects:l.attributes.objects!=="1"&&void 0,scenarios:l.attributes.scenarios!=="1"&&void 0,selectLockedCells:l.attributes.selectLockedCells!=="1"&&void 0,selectUnlockedCells:l.attributes.selectUnlockedCells!=="1"&&void 0,formatCells:s(l.attributes.formatCells,"0"),formatColumns:s(l.attributes.formatColumns,"0"),formatRows:s(l.attributes.formatRows,"0"),insertColumns:s(l.attributes.insertColumns,"0"),insertRows:s(l.attributes.insertRows,"0"),insertHyperlinks:s(l.attributes.insertHyperlinks,"0"),deleteColumns:s(l.attributes.deleteColumns,"0"),deleteRows:s(l.attributes.deleteRows,"0"),sort:s(l.attributes.sort,"0"),autoFilter:s(l.attributes.autoFilter,"0"),pivotTables:s(l.attributes.pivotTables,"0")},l.attributes.algorithmName&&(this.model.algorithmName=l.attributes.algorithmName,this.model.hashValue=l.attributes.hashValue,this.model.saltValue=l.attributes.saltValue,this.model.spinCount=parseInt(l.attributes.spinCount,10)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),u}(e("../base-xform"));r.exports=o},{"../../../utils/under-dash":26,"../base-xform":32}],113:[function(e,r,t){var n=e("../../../utils/col-cache"),a=e("../base-xform"),s={frozen:"frozen",frozenSplit:"frozen",split:"split"},o=function(i){Mt(u,i);var c=ir(u);function u(){return Fe(this,u),c.apply(this,arguments)}return Le(u,[{key:"tag",get:function(){return"sheetView"}},{key:"prepare",value:function(l){switch(l.state){case"frozen":case"split":break;default:l.state="normal"}}},{key:"render",value:function(l,A){l.openNode("sheetView",{workbookViewId:A.workbookViewId||0});var h,f,d,g,p=function(m,v,y){y&&l.addAttribute(m,v)};switch(p("rightToLeft","1",A.rightToLeft===!0),p("tabSelected","1",A.tabSelected),p("showRuler","0",A.showRuler===!1),p("showRowColHeaders","0",A.showRowColHeaders===!1),p("showGridLines","0",A.showGridLines===!1),p("zoomScale",A.zoomScale,A.zoomScale),p("zoomScaleNormal",A.zoomScaleNormal,A.zoomScaleNormal),p("view",A.style,A.style),A.state){case"frozen":f=A.xSplit||0,d=A.ySplit||0,h=A.topLeftCell||n.getAddress(d+1,f+1).address,g=(A.xSplit&&A.ySplit?"bottomRight":A.xSplit&&"topRight")||"bottomLeft",l.leafNode("pane",{xSplit:A.xSplit||void 0,ySplit:A.ySplit||void 0,topLeftCell:h,activePane:g,state:"frozen"}),l.leafNode("selection",{pane:g,activeCell:A.activeCell,sqref:A.activeCell});break;case"split":A.activePane==="topLeft"&&(A.activePane=void 0),l.leafNode("pane",{xSplit:A.xSplit||void 0,ySplit:A.ySplit||void 0,topLeftCell:A.topLeftCell,activePane:A.activePane}),l.leafNode("selection",{pane:A.activePane,activeCell:A.activeCell,sqref:A.activeCell});break;case"normal":A.activeCell&&l.leafNode("selection",{activeCell:A.activeCell,sqref:A.activeCell})}l.closeNode()}},{key:"parseOpen",value:function(l){switch(l.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(l.attributes.workbookViewId,10),rightToLeft:l.attributes.rightToLeft==="1",tabSelected:l.attributes.tabSelected==="1",showRuler:l.attributes.showRuler!=="0",showRowColHeaders:l.attributes.showRowColHeaders!=="0",showGridLines:l.attributes.showGridLines!=="0",zoomScale:parseInt(l.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(l.attributes.zoomScaleNormal||"100",10),style:l.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(l.attributes.xSplit||"0",10),ySplit:parseInt(l.attributes.ySplit||"0",10),topLeftCell:l.attributes.topLeftCell,activePane:l.attributes.activePane||"topLeft",state:l.attributes.state},!0;case"selection":var A=l.attributes.pane||"topLeft";return this.selections[A]={pane:A,activeCell:l.attributes.activeCell},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(l){var A,h;return l!=="sheetView"||(this.sheetView&&this.pane?(A=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:s[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split"&&(A.activePane=this.pane.activePane),(h=this.selections[this.pane.activePane])&&h.activeCell&&(A.activeCell=h.activeCell),this.sheetView.style&&(A.style=this.sheetView.style)):(A=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},(h=this.selections.topLeft)&&h.activeCell&&(A.activeCell=h.activeCell),this.sheetView.style&&(A.style=this.sheetView.style)),!1)}},{key:"reconcile",value:function(){}}]),u}(a);r.exports=o},{"../../../utils/col-cache":19,"../base-xform":32}],114:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"tablePart"}},{key:"render",value:function(i,c){c&&i.leafNode(this.tag,{"r:id":c.rId})}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.model={rId:i.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],115:[function(e,r,t){var n=e("../../../utils/under-dash"),a=e("../../../utils/col-cache"),s=e("../../../utils/xml-stream"),o=e("../../rel-type"),i=e("./merges"),c=e("../base-xform"),u=e("../list-xform"),l=e("./row-xform"),A=e("./col-xform"),h=e("./dimension-xform"),f=e("./hyperlink-xform"),d=e("./merge-cell-xform"),g=e("./data-validations-xform"),p=e("./sheet-properties-xform"),m=e("./sheet-format-properties-xform"),v=e("./sheet-view-xform"),y=e("./sheet-protection-xform"),I=e("./page-margins-xform"),E=e("./page-setup-xform"),k=e("./print-options-xform"),R=e("./auto-filter-xform"),T=e("./picture-xform"),j=e("./drawing-xform"),W=e("./table-part-xform"),H=e("./row-breaks-xform"),X=e("./header-footer-xform"),x=e("./cf/conditional-formattings-xform"),N=e("./ext-lst-xform"),C=function(B,S){Object.keys(S).forEach(function(O){var F=B[O],Y=S[O];F===void 0&&Y!==void 0&&(B[O]=Y)})},w=function(B,S){if(!S||!S.length)return B;if(!B||!B.length)return S;var O={},F={};return B.forEach(function(Y){O[Y.ref]=Y,Y.rules.forEach(function(M){var z=M.x14Id;z&&(F[z]=M)})}),S.forEach(function(Y){Y.rules.forEach(function(M){var z=F[M.x14Id];z?C(z,M):O[Y.ref]?O[Y.ref].rules.push(M):B.push({ref:Y.ref,rules:[M]})})}),B},Q=function(B){Mt(O,B);var S=ir(O);function O(F){var Y;Fe(this,O),Y=S.call(this);var M=F||{},z=M.maxRows,ue=M.maxCols,ae=M.ignoreNodes;return Y.ignoreNodes=ae||[],Y.map={sheetPr:new p,dimension:new h,sheetViews:new u({tag:"sheetViews",count:!1,childXform:new v}),sheetFormatPr:new m,cols:new u({tag:"cols",count:!1,childXform:new A}),sheetData:new u({tag:"sheetData",count:!1,empty:!0,childXform:new l({maxItems:ue}),maxItems:z}),autoFilter:new R,mergeCells:new u({tag:"mergeCells",count:!0,childXform:new d}),rowBreaks:new H,hyperlinks:new u({tag:"hyperlinks",count:!1,childXform:new f}),pageMargins:new I,dataValidations:new g,pageSetup:new E,headerFooter:new X,printOptions:new k,picture:new T,drawing:new j,sheetProtection:new y,tableParts:new u({tag:"tableParts",count:!0,childXform:new W}),conditionalFormatting:new x,extLst:new N},Y}return Le(O,[{key:"prepare",value:function(F,Y){var M=this;Y.merges=new i,F.hyperlinks=Y.hyperlinks=[],F.comments=Y.comments=[],Y.formulae={},Y.siFormulae=0,this.map.cols.prepare(F.cols,Y),this.map.sheetData.prepare(F.rows,Y),this.map.conditionalFormatting.prepare(F.conditionalFormattings,Y),F.mergeCells=Y.merges.mergeCells;var z=F.rels=[];function ue(Ae){return"rId".concat(Ae.length+1)}if(F.hyperlinks.forEach(function(Ae){var te=ue(z);Ae.rId=te,z.push({Id:te,Type:o.Hyperlink,Target:Ae.target,TargetMode:"External"})}),F.comments.length>0){var ae={Id:ue(z),Type:o.Comments,Target:"../comments".concat(F.id,".xml")};z.push(ae);var Ne={Id:ue(z),Type:o.VmlDrawing,Target:"../drawings/vmlDrawing".concat(F.id,".vml")};z.push(Ne),F.comments.forEach(function(Ae){Ae.refAddress=a.decodeAddress(Ae.ref)}),Y.commentRefs.push({commentName:"comments".concat(F.id),vmlDrawing:"vmlDrawing".concat(F.id)})}var Ge,Ye=[];F.media.forEach(function(Ae){if(Ae.type==="background"){var te=ue(z);Ge=Y.media[Ae.imageId],z.push({Id:te,Type:o.Image,Target:"../media/".concat(Ge.name,".").concat(Ge.extension)}),F.background={rId:te},F.image=Y.media[Ae.imageId]}else if(Ae.type==="image"){var he=F.drawing;Ge=Y.media[Ae.imageId],he||(he=F.drawing={rId:ue(z),name:"drawing".concat(++Y.drawingsCount),anchors:[],rels:[]},Y.drawings.push(he),z.push({Id:he.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:"../drawings/".concat(he.name,".xml")}));var de=M.preImageId===Ae.imageId?Ye[Ae.imageId]:Ye[he.rels.length];de||(de=ue(he.rels),Ye[he.rels.length]=de,he.rels.push({Id:de,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:"../media/".concat(Ge.name,".").concat(Ge.extension)}));var Ke={picture:{rId:de},range:Ae.range};if(Ae.hyperlinks&&Ae.hyperlinks.hyperlink){var le=ue(he.rels);Ye[he.rels.length]=le,Ke.picture.hyperlinks={tooltip:Ae.hyperlinks.tooltip,rId:le},he.rels.push({Id:le,Type:o.Hyperlink,Target:Ae.hyperlinks.hyperlink,TargetMode:"External"})}M.preImageId=Ae.imageId,he.anchors.push(Ke)}}),F.tables.forEach(function(Ae){var te=ue(z);Ae.rId=te,z.push({Id:te,Type:o.Table,Target:"../tables/".concat(Ae.target)}),Ae.columns.forEach(function(he){var de=he.style;de&&(he.dxfId=Y.styles.addDxfStyle(de))})}),this.map.extLst.prepare(F,Y)}},{key:"render",value:function(F,Y){F.openXml(s.StdDocAttributes),F.openNode("worksheet",O.WORKSHEET_ATTRIBUTES);var M=Y.properties?{defaultRowHeight:Y.properties.defaultRowHeight,dyDescent:Y.properties.dyDescent,outlineLevelCol:Y.properties.outlineLevelCol,outlineLevelRow:Y.properties.outlineLevelRow}:void 0;Y.properties&&Y.properties.defaultColWidth&&(M.defaultColWidth=Y.properties.defaultColWidth);var z={outlineProperties:Y.properties&&Y.properties.outlineProperties,tabColor:Y.properties&&Y.properties.tabColor,pageSetup:Y.pageSetup&&Y.pageSetup.fitToPage?{fitToPage:Y.pageSetup.fitToPage}:void 0},ue=Y.pageSetup&&Y.pageSetup.margins,ae={showRowColHeaders:Y.pageSetup&&Y.pageSetup.showRowColHeaders,showGridLines:Y.pageSetup&&Y.pageSetup.showGridLines,horizontalCentered:Y.pageSetup&&Y.pageSetup.horizontalCentered,verticalCentered:Y.pageSetup&&Y.pageSetup.verticalCentered},Ne=Y.sheetProtection;this.map.sheetPr.render(F,z),this.map.dimension.render(F,Y.dimensions),this.map.sheetViews.render(F,Y.views),this.map.sheetFormatPr.render(F,M),this.map.cols.render(F,Y.cols),this.map.sheetData.render(F,Y.rows),this.map.sheetProtection.render(F,Ne),this.map.autoFilter.render(F,Y.autoFilter),this.map.mergeCells.render(F,Y.mergeCells),this.map.conditionalFormatting.render(F,Y.conditionalFormattings),this.map.dataValidations.render(F,Y.dataValidations),this.map.hyperlinks.render(F,Y.hyperlinks),this.map.printOptions.render(F,ae),this.map.pageMargins.render(F,ue),this.map.pageSetup.render(F,Y.pageSetup),this.map.headerFooter.render(F,Y.headerFooter),this.map.rowBreaks.render(F,Y.rowBreaks),this.map.drawing.render(F,Y.drawing),this.map.picture.render(F,Y.background),this.map.tableParts.render(F,Y.tables),this.map.extLst.render(F,Y),Y.rels&&Y.rels.forEach(function(Ge){Ge.Type===o.VmlDrawing&&F.leafNode("legacyDrawing",{"r:id":Ge.Id})}),F.closeNode()}},{key:"parseOpen",value:function(F){return this.parser?(this.parser.parseOpen(F),!0):F.name==="worksheet"?(n.each(this.map,function(Y){Y.reset()}),!0):(this.map[F.name]&&!this.ignoreNodes.includes(F.name)&&(this.parser=this.map[F.name],this.parser.parseOpen(F)),!0)}},{key:"parseText",value:function(F){this.parser&&this.parser.parseText(F)}},{key:"parseClose",value:function(F){if(this.parser)return this.parser.parseClose(F)||(this.parser=void 0),!0;if(F==="worksheet"){var Y=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(Y.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(Y.outlineProperties=this.map.sheetPr.model.outlineProperties);var M={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},z=Object.assign(M,this.map.pageSetup.model,this.map.printOptions.model),ue=w(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:Y,views:this.map.sheetViews.model,pageSetup:z,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:ue},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}return!0}},{key:"reconcile",value:function(F,Y){var M=(F.relationships||[]).reduce(function(Ye,Ae){if(Ye[Ae.Id]=Ae,Ae.Type===o.Comments&&(F.comments=Y.comments[Ae.Target].comments),Ae.Type===o.VmlDrawing&&F.comments&&F.comments.length){var te=Y.vmlDrawings[Ae.Target].comments;F.comments.forEach(function(he,de){he.note=Object.assign({},he.note,te[de])})}return Ye},{});if(Y.commentsMap=(F.comments||[]).reduce(function(Ye,Ae){return Ae.ref&&(Ye[Ae.ref]=Ae),Ye},{}),Y.hyperlinkMap=(F.hyperlinks||[]).reduce(function(Ye,Ae){return Ae.rId&&(Ye[Ae.address]=M[Ae.rId].Target),Ye},{}),Y.formulae={},F.rows=F.rows&&F.rows.filter(Boolean)||[],F.rows.forEach(function(Ye){Ye.cells=Ye.cells&&Ye.cells.filter(Boolean)||[]}),this.map.cols.reconcile(F.cols,Y),this.map.sheetData.reconcile(F.rows,Y),this.map.conditionalFormatting.reconcile(F.conditionalFormattings,Y),F.media=[],F.drawing){var z=M[F.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(z){var ue=z[1];Y.drawings[ue].anchors.forEach(function(Ye){if(Ye.medium){var Ae={type:"image",imageId:Ye.medium.index,range:Ye.range,hyperlinks:Ye.picture.hyperlinks};F.media.push(Ae)}})}}var ae=F.background&&M[F.background.rId];if(ae){var Ne=ae.Target.split("/media/")[1],Ge=Y.mediaIndex&&Y.mediaIndex[Ne];Ge!==void 0&&F.media.push({type:"background",imageId:Ge})}F.tables=(F.tables||[]).map(function(Ye){var Ae=M[Ye.rId];return Y.tables[Ae.Target]}),delete F.relationships,delete F.hyperlinks,delete F.comments}}]),O}(c);Q.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},r.exports=Q},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../../rel-type":31,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":72,"./cf/conditional-formattings-xform":87,"./col-xform":92,"./data-validations-xform":93,"./dimension-xform":94,"./drawing-xform":95,"./ext-lst-xform":96,"./header-footer-xform":97,"./hyperlink-xform":98,"./merge-cell-xform":99,"./merges":100,"./page-margins-xform":103,"./page-setup-xform":105,"./picture-xform":106,"./print-options-xform":107,"./row-breaks-xform":108,"./row-xform":109,"./sheet-format-properties-xform":110,"./sheet-properties-xform":111,"./sheet-protection-xform":112,"./sheet-view-xform":113,"./table-part-xform":114}],116:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this)).tag=i.tag,c.attr=i.attr,c}return Le(o,[{key:"render",value:function(i,c){c&&(i.openNode(this.tag),i.closeNode())}},{key:"parseOpen",value:function(i){i.name===this.tag&&(this.model=!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],117:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this)).tag=i.tag,c.attr=i.attr,c.attrs=i.attrs,c._format=i.format||function(u){try{return Number.isNaN(u.getTime())?"":u.toISOString()}catch{return""}},c._parse=i.parse||function(u){return new Date(u)},c}return Le(o,[{key:"render",value:function(i,c){c&&(i.openNode(this.tag),this.attrs&&i.addAttributes(this.attrs),this.attr?i.addAttribute(this.attr,this._format(c)):i.writeText(this._format(c)),i.closeNode())}},{key:"parseOpen",value:function(i){i.name===this.tag&&(this.attr?this.model=this._parse(i.attributes[this.attr]):this.text=[])}},{key:"parseText",value:function(i){this.attr||this.text.push(i)}},{key:"parseClose",value:function(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],118:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this)).tag=i.tag,c.attr=i.attr,c.attrs=i.attrs,c.zero=i.zero,c}return Le(o,[{key:"render",value:function(i,c){(c||this.zero)&&(i.openNode(this.tag),this.attrs&&i.addAttributes(this.attrs),this.attr?i.addAttribute(this.attr,c):i.writeText(c),i.closeNode())}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.attr?this.model=parseInt(i.attributes[this.attr],10):this.text=[],!0)}},{key:"parseText",value:function(i){this.attr||this.text.push(i)}},{key:"parseClose",value:function(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],119:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this)).tag=i.tag,c.attr=i.attr,c.attrs=i.attrs,c}return Le(o,[{key:"render",value:function(i,c){c!==void 0&&(i.openNode(this.tag),this.attrs&&i.addAttributes(this.attrs),this.attr?i.addAttribute(this.attr,c):i.writeText(c),i.closeNode())}},{key:"parseOpen",value:function(i){i.name===this.tag&&(this.attr?this.model=i.attributes[this.attr]:this.text=[])}},{key:"parseText",value:function(i){this.attr||this.text.push(i)}},{key:"parseClose",value:function(){return this.attr||(this.model=this.text.join("")),!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],120:[function(e,r,t){var n=e("./base-xform"),a=e("../../utils/xml-stream");function s(i,c){i.openNode(c.tag,c.$),c.c&&c.c.forEach(function(u){s(i,u)}),c.t&&i.writeText(c.t),i.closeNode()}var o=function(i){Mt(u,i);var c=ir(u);function u(l){var A;return Fe(this,u),(A=c.call(this))._model=l,A}return Le(u,[{key:"render",value:function(l){if(!this._xml){var A=new a;s(A,this._model),this._xml=A.xml}l.writeXml(this._xml)}},{key:"parseOpen",value:function(){return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(l){return l!==this._model.tag}}]),u}(n);r.exports=o},{"../../utils/xml-stream":28,"./base-xform":32}],121:[function(e,r,t){var n=e("./text-xform"),a=e("./rich-text-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(){var u;return Fe(this,c),(u=i.call(this)).map={r:new a,t:new n},u}return Le(c,[{key:"tag",get:function(){return"rPh"}},{key:"render",value:function(u,l){if(u.openNode(this.tag,{sb:l.sb||0,eb:l.eb||0}),l&&l.hasOwnProperty("richText")&&l.richText){var A=this.map.r;l.richText.forEach(function(h){A.render(u,h)})}else l&&this.map.t.render(u,l.text);u.closeNode()}},{key:"parseOpen",value:function(u){var l=u.name;return this.parser?(this.parser.parseOpen(u),!0):l===this.tag?(this.model={sb:parseInt(u.attributes.sb,10),eb:parseInt(u.attributes.eb,10)},!0):(this.parser=this.map[l],!!this.parser&&(this.parser.parseOpen(u),!0))}},{key:"parseText",value:function(u){this.parser&&this.parser.parseText(u)}},{key:"parseClose",value:function(u){if(this.parser){if(!this.parser.parseClose(u)){switch(u){case"r":var l=this.model.richText;l||(l=this.model.richText=[]),l.push(this.parser.model);break;case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}return u!==this.tag}}]),c}(e("../base-xform"));r.exports=s},{"../base-xform":32,"./rich-text-xform":122,"./text-xform":125}],122:[function(e,r,t){var n=e("./text-xform"),a=e("../style/font-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(u){var l;return Fe(this,c),(l=i.call(this)).model=u,l}return Le(c,[{key:"tag",get:function(){return"r"}},{key:"textXform",get:function(){return this._textXform||(this._textXform=new n)}},{key:"fontXform",get:function(){return this._fontXform||(this._fontXform=new a(c.FONT_OPTIONS))}},{key:"render",value:function(u,l){l=l||this.model,u.openNode("r"),l.font&&this.fontXform.render(u,l.font),this.textXform.render(u,l.text),u.closeNode()}},{key:"parseOpen",value:function(u){if(this.parser)return this.parser.parseOpen(u),!0;switch(u.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(u),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(u),!0;default:return!1}}},{key:"parseText",value:function(u){this.parser&&this.parser.parseText(u)}},{key:"parseClose",value:function(u){switch(u){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(u),!0}}}]),c}(e("../base-xform"));s.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},r.exports=s},{"../base-xform":32,"../style/font-xform":131,"./text-xform":125}],123:[function(e,r,t){var n=e("./text-xform"),a=e("./rich-text-xform"),s=e("./phonetic-text-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(l){var A;return Fe(this,u),(A=c.call(this)).model=l,A.map={r:new a,t:new n,rPh:new s},A}return Le(u,[{key:"tag",get:function(){return"si"}},{key:"render",value:function(l,A){var h=this;l.openNode(this.tag),A&&A.hasOwnProperty("richText")&&A.richText?A.richText.length?A.richText.forEach(function(f){h.map.r.render(l,f)}):this.map.t.render(l,""):A!=null&&this.map.t.render(l,A),l.closeNode()}},{key:"parseOpen",value:function(l){var A=l.name;return this.parser?(this.parser.parseOpen(l),!0):A===this.tag?(this.model={},!0):(this.parser=this.map[A],!!this.parser&&(this.parser.parseOpen(l),!0))}},{key:"parseText",value:function(l){this.parser&&this.parser.parseText(l)}},{key:"parseClose",value:function(l){if(this.parser){if(!this.parser.parseClose(l)){switch(l){case"r":var A=this.model.richText;A||(A=this.model.richText=[]),A.push(this.parser.model);break;case"t":this.model=this.parser.model}this.parser=void 0}return!0}return l!==this.tag}}]),u}(e("../base-xform"));r.exports=o},{"../base-xform":32,"./phonetic-text-xform":121,"./rich-text-xform":122,"./text-xform":125}],124:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("./shared-string-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(l){var A;return Fe(this,u),(A=c.call(this)).model=l||{values:[],count:0},A.hash=Object.create(null),A.rich=Object.create(null),A}return Le(u,[{key:"sharedStringXform",get:function(){return this._sharedStringXform||(this._sharedStringXform=new s)}},{key:"values",get:function(){return this.model.values}},{key:"uniqueCount",get:function(){return this.model.values.length}},{key:"count",get:function(){return this.model.count}},{key:"getString",value:function(l){return this.model.values[l]}},{key:"add",value:function(l){return l.richText?this.addRichText(l):this.addText(l)}},{key:"addText",value:function(l){var A=this.hash[l];return A===void 0&&(A=this.hash[l]=this.model.values.length,this.model.values.push(l)),this.model.count++,A}},{key:"addRichText",value:function(l){var A=this.sharedStringXform.toXml(l),h=this.rich[A];return h===void 0&&(h=this.rich[A]=this.model.values.length,this.model.values.push(l)),this.model.count++,h}},{key:"render",value:function(l,A){A=A||this._values,l.openXml(n.StdDocAttributes),l.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:A.count,uniqueCount:A.values.length});var h=this.sharedStringXform;A.values.forEach(function(f){h.render(l,f)}),l.closeNode()}},{key:"parseOpen",value:function(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(l),!0;default:throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(l)))}}},{key:"parseText",value:function(l){this.parser&&this.parser.parseText(l)}},{key:"parseClose",value:function(l){if(this.parser)return this.parser.parseClose(l)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if(l==="sst")return!1;throw new Error("Unexpected xml node in parseClose: ".concat(l))}}]),u}(a);r.exports=o},{"../../../utils/xml-stream":28,"../base-xform":32,"./shared-string-xform":123}],125:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"t"}},{key:"render",value:function(i,c){i.openNode("t"),/^\s|\n|\s$/.test(c)&&i.addAttribute("xml:space","preserve"),i.writeText(c),i.closeNode()}},{key:"model",get:function(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,function(i,c){return String.fromCharCode(parseInt(c,16))})}},{key:"parseOpen",value:function(i){return i.name==="t"&&(this._text=[],!0)}},{key:"parseText",value:function(i){this._text.push(i)}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],126:[function(e,r,t){var n=e("../../../doc/enums"),a=e("../../../utils/utils"),s=e("../base-xform"),o={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(function(u,l){return u[l]=!0,u},{}),horizontal:function(u){return this.horizontalValues[u]?u:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(function(u,l){return u[l]=!0,u},{}),vertical:function(u){return u==="middle"?"center":this.verticalValues[u]?u:void 0},wrapText:function(u){return!!u||void 0},shrinkToFit:function(u){return!!u||void 0},textRotation:function(u){return u==="vertical"||(u=a.validInt(u))>=-90&&u<=90?u:void 0},indent:function(u){return u=a.validInt(u),Math.max(0,u)},readingOrder:function(u){switch(u){case"ltr":return n.ReadingOrder.LeftToRight;case"rtl":return n.ReadingOrder.RightToLeft;default:return}}},i={toXml:function(u){if(u=o.textRotation(u)){if(u==="vertical")return 255;var l=Math.round(u);if(l>=0&&l<=90)return l;if(l<0&&l>=-90)return 90-l}},toModel:function(u){var l=a.validInt(u);if(l!==void 0){if(l===255)return"vertical";if(l>=0&&l<=90)return l;if(l>90&&l<=180)return 90-l}}},c=function(u){Mt(A,u);var l=ir(A);function A(){return Fe(this,A),l.apply(this,arguments)}return Le(A,[{key:"tag",get:function(){return"alignment"}},{key:"render",value:function(h,f){h.addRollback(),h.openNode("alignment");var d=!1;function g(p,m){m&&(h.addAttribute(p,m),d=!0)}g("horizontal",o.horizontal(f.horizontal)),g("vertical",o.vertical(f.vertical)),g("wrapText",!!o.wrapText(f.wrapText)&&"1"),g("shrinkToFit",!!o.shrinkToFit(f.shrinkToFit)&&"1"),g("indent",o.indent(f.indent)),g("textRotation",i.toXml(f.textRotation)),g("readingOrder",o.readingOrder(f.readingOrder)),h.closeNode(),d?h.commit():h.rollback()}},{key:"parseOpen",value:function(h){var f={},d=!1;function g(p,m,v){p&&(f[m]=v,d=!0)}g(h.attributes.horizontal,"horizontal",h.attributes.horizontal),g(h.attributes.vertical,"vertical",h.attributes.vertical==="center"?"middle":h.attributes.vertical),g(h.attributes.wrapText,"wrapText",a.parseBoolean(h.attributes.wrapText)),g(h.attributes.shrinkToFit,"shrinkToFit",a.parseBoolean(h.attributes.shrinkToFit)),g(h.attributes.indent,"indent",parseInt(h.attributes.indent,10)),g(h.attributes.textRotation,"textRotation",i.toModel(h.attributes.textRotation)),g(h.attributes.readingOrder,"readingOrder",h.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=d?f:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),A}(s);r.exports=c},{"../../../doc/enums":7,"../../../utils/utils":27,"../base-xform":32}],127:[function(e,r,t){var n=e("../base-xform"),a=e("../../../utils/utils"),s=e("./color-xform"),o=function(c){Mt(l,c);var u=ir(l);function l(A){var h;return Fe(this,l),(h=u.call(this)).name=A,h.map={color:new s},h}return Le(l,[{key:"tag",get:function(){return this.name}},{key:"render",value:function(A,h,f){var d=h&&h.color||f||this.defaultColor;A.openNode(this.name),h&&h.style&&(A.addAttribute("style",h.style),d&&this.map.color.render(A,d)),A.closeNode()}},{key:"parseOpen",value:function(A){if(this.parser)return this.parser.parseOpen(A),!0;switch(A.name){case this.name:var h=A.attributes.style;return this.model=h?{style:h}:void 0,!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(A),!0;default:return!1}}},{key:"parseText",value:function(A){this.parser&&this.parser.parseText(A)}},{key:"parseClose",value:function(A){return this.parser?(this.parser.parseClose(A)||(this.parser=void 0),!0):(A===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}},{key:"validStyle",value:function(A){return l.validStyleValues[A]}}]),l}(n);o.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(function(c,u){return c[u]=!0,c},{});var i=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={top:new o("top"),left:new o("left"),bottom:new o("bottom"),right:new o("right"),diagonal:new o("diagonal")},A}return Le(l,[{key:"render",value:function(A,h){var f=h.color;function d(g,p){g&&!g.color&&h.color&&(g=bo(bo({},g),{},{color:h.color})),p.render(A,g,f)}A.openNode("border"),h.diagonal&&h.diagonal.style&&(h.diagonal.up&&A.addAttribute("diagonalUp","1"),h.diagonal.down&&A.addAttribute("diagonalDown","1")),d(h.left,this.map.left),d(h.right,this.map.right),d(h.top,this.map.top),d(h.bottom,this.map.bottom),d(h.diagonal,this.map.diagonal),A.closeNode()}},{key:"parseOpen",value:function(A){return this.parser?(this.parser.parseOpen(A),!0):A.name==="border"?(this.reset(),this.diagonalUp=a.parseBoolean(A.attributes.diagonalUp),this.diagonalDown=a.parseBoolean(A.attributes.diagonalDown),!0):(this.parser=this.map[A.name],!!this.parser&&(this.parser.parseOpen(A),!0))}},{key:"parseText",value:function(A){this.parser&&this.parser.parseText(A)}},{key:"parseClose",value:function(A){if(this.parser)return this.parser.parseClose(A)||(this.parser=void 0),!0;if(A==="border"){var h=this.model={},f=function(d,g,p){g&&(p&&Object.assign(g,p),h[d]=g)};f("left",this.map.left.model),f("right",this.map.right.model),f("top",this.map.top.model),f("bottom",this.map.bottom.model),f("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}]),l}(n);r.exports=i},{"../../../utils/utils":27,"../base-xform":32,"./color-xform":128}],128:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this)).name=i||"color",c}return Le(o,[{key:"tag",get:function(){return this.name}},{key:"render",value:function(i,c){return!!c&&(i.openNode(this.name),c.argb?i.addAttribute("rgb",c.argb):c.theme!==void 0?(i.addAttribute("theme",c.theme),c.tint!==void 0&&i.addAttribute("tint",c.tint)):c.indexed!==void 0?i.addAttribute("indexed",c.indexed):i.addAttribute("auto","1"),i.closeNode(),!0)}},{key:"parseOpen",value:function(i){return i.name===this.name&&(i.attributes.rgb?this.model={argb:i.attributes.rgb}:i.attributes.theme?(this.model={theme:parseInt(i.attributes.theme,10)},i.attributes.tint&&(this.model.tint=parseFloat(i.attributes.tint))):i.attributes.indexed?this.model={indexed:parseInt(i.attributes.indexed,10)}:this.model=void 0,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],129:[function(e,r,t){var n=e("../base-xform"),a=e("./alignment-xform"),s=e("./border-xform"),o=e("./fill-xform"),i=e("./font-xform"),c=e("./numfmt-xform"),u=e("./protection-xform"),l=function(A){Mt(f,A);var h=ir(f);function f(){var d;return Fe(this,f),(d=h.call(this)).map={alignment:new a,border:new s,fill:new o,font:new i,numFmt:new c,protection:new u},d}return Le(f,[{key:"tag",get:function(){return"dxf"}},{key:"render",value:function(d,g){if(d.openNode(this.tag),g.font&&this.map.font.render(d,g.font),g.numFmt&&g.numFmtId){var p={id:g.numFmtId,formatCode:g.numFmt};this.map.numFmt.render(d,p)}g.fill&&this.map.fill.render(d,g.fill),g.alignment&&this.map.alignment.render(d,g.alignment),g.border&&this.map.border.render(d,g.border),g.protection&&this.map.protection.render(d,g.protection),d.closeNode()}},{key:"parseOpen",value:function(d){return this.parser?(this.parser.parseOpen(d),!0):d.name===this.tag?(this.reset(),!0):(this.parser=this.map[d.name],this.parser&&this.parser.parseOpen(d),!0)}},{key:"parseText",value:function(d){this.parser&&this.parser.parseText(d)}},{key:"parseClose",value:function(d){return this.parser?(this.parser.parseClose(d)||(this.parser=void 0),!0):d!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}]),f}(n);r.exports=l},{"../base-xform":32,"./alignment-xform":126,"./border-xform":127,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./protection-xform":133}],130:[function(e,r,t){var n=e("../base-xform"),a=e("./color-xform"),s=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={color:new a},h}return Le(A,[{key:"tag",get:function(){return"stop"}},{key:"render",value:function(h,f){h.openNode("stop"),h.addAttribute("position",f.position),this.map.color.render(h,f.color),h.closeNode()}},{key:"parseOpen",value:function(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case"stop":return this.model={position:parseFloat(h.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(h),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(h){return!!this.parser&&(this.parser.parseClose(h)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}]),A}(n),o=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={fgColor:new a("fgColor"),bgColor:new a("bgColor")},h}return Le(A,[{key:"name",get:function(){return"pattern"}},{key:"tag",get:function(){return"patternFill"}},{key:"render",value:function(h,f){h.openNode("patternFill"),h.addAttribute("patternType",f.pattern),f.fgColor&&this.map.fgColor.render(h,f.fgColor),f.bgColor&&this.map.bgColor.render(h,f.bgColor),h.closeNode()}},{key:"parseOpen",value:function(h){return this.parser?(this.parser.parseOpen(h),!0):h.name==="patternFill"?(this.model={type:"pattern",pattern:h.attributes.patternType},!0):(this.parser=this.map[h.name],!!this.parser&&(this.parser.parseOpen(h),!0))}},{key:"parseText",value:function(h){this.parser&&this.parser.parseText(h)}},{key:"parseClose",value:function(h){return!!this.parser&&(this.parser.parseClose(h)||(this.parser.model&&(this.model[h]=this.parser.model),this.parser=void 0),!0)}}]),A}(n),i=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={stop:new s},h}return Le(A,[{key:"name",get:function(){return"gradient"}},{key:"tag",get:function(){return"gradientFill"}},{key:"render",value:function(h,f){switch(h.openNode("gradientFill"),f.gradient){case"angle":h.addAttribute("degree",f.degree);break;case"path":h.addAttribute("type","path"),f.center.left&&(h.addAttribute("left",f.center.left),f.center.right===void 0&&h.addAttribute("right",f.center.left)),f.center.right&&h.addAttribute("right",f.center.right),f.center.top&&(h.addAttribute("top",f.center.top),f.center.bottom===void 0&&h.addAttribute("bottom",f.center.top)),f.center.bottom&&h.addAttribute("bottom",f.center.bottom)}var d=this.map.stop;f.stops.forEach(function(g){d.render(h,g)}),h.closeNode()}},{key:"parseOpen",value:function(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case"gradientFill":var f=this.model={stops:[]};return h.attributes.degree?(f.gradient="angle",f.degree=parseInt(h.attributes.degree,10)):h.attributes.type==="path"&&(f.gradient="path",f.center={left:h.attributes.left?parseFloat(h.attributes.left):0,top:h.attributes.top?parseFloat(h.attributes.top):0},h.attributes.right!==h.attributes.left&&(f.center.right=h.attributes.right?parseFloat(h.attributes.right):0),h.attributes.bottom!==h.attributes.top&&(f.center.bottom=h.attributes.bottom?parseFloat(h.attributes.bottom):0)),!0;case"stop":return this.parser=this.map.stop,this.parser.parseOpen(h),!0;default:return!1}}},{key:"parseText",value:function(h){this.parser&&this.parser.parseText(h)}},{key:"parseClose",value:function(h){return!!this.parser&&(this.parser.parseClose(h)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}]),A}(n),c=function(u){Mt(A,u);var l=ir(A);function A(){var h;return Fe(this,A),(h=l.call(this)).map={patternFill:new o,gradientFill:new i},h}return Le(A,[{key:"tag",get:function(){return"fill"}},{key:"render",value:function(h,f){switch(h.addRollback(),h.openNode("fill"),f.type){case"pattern":this.map.patternFill.render(h,f);break;case"gradient":this.map.gradientFill.render(h,f);break;default:return void h.rollback()}h.closeNode(),h.commit()}},{key:"parseOpen",value:function(h){return this.parser?(this.parser.parseOpen(h),!0):h.name==="fill"?(this.model={},!0):(this.parser=this.map[h.name],!!this.parser&&(this.parser.parseOpen(h),!0))}},{key:"parseText",value:function(h){this.parser&&this.parser.parseText(h)}},{key:"parseClose",value:function(h){return!!this.parser&&(this.parser.parseClose(h)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}},{key:"validStyle",value:function(h){return A.validPatternValues[h]}}]),A}(n);c.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(function(u,l){return u[l]=!0,u},{}),c.StopXform=s,c.PatternFillXform=o,c.GradientFillXform=i,r.exports=c},{"../base-xform":32,"./color-xform":128}],131:[function(e,r,t){var n=e("./color-xform"),a=e("../simple/boolean-xform"),s=e("../simple/integer-xform"),o=e("../simple/string-xform"),i=e("./underline-xform"),c=e("../../../utils/under-dash"),u=function(l){Mt(h,l);var A=ir(h);function h(f){var d;return Fe(this,h),(d=A.call(this)).options=f||h.OPTIONS,d.map={b:{prop:"bold",xform:new a({tag:"b",attr:"val"})},i:{prop:"italic",xform:new a({tag:"i",attr:"val"})},u:{prop:"underline",xform:new i},charset:{prop:"charset",xform:new s({tag:"charset",attr:"val"})},color:{prop:"color",xform:new n},condense:{prop:"condense",xform:new a({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new a({tag:"extend",attr:"val"})},family:{prop:"family",xform:new s({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new a({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new o({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new o({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new a({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new a({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new s({tag:"sz",attr:"val"})}},d.map[d.options.fontNameTag]={prop:"name",xform:new o({tag:d.options.fontNameTag,attr:"val"})},d}return Le(h,[{key:"tag",get:function(){return this.options.tagName}},{key:"render",value:function(f,d){var g=this.map;f.openNode(this.options.tagName),c.each(this.map,function(p,m){g[m].xform.render(f,d[p.prop])}),f.closeNode()}},{key:"parseOpen",value:function(f){return this.parser?(this.parser.parseOpen(f),!0):this.map[f.name]?(this.parser=this.map[f.name].xform,this.parser.parseOpen(f)):f.name===this.options.tagName&&(this.model={},!0)}},{key:"parseText",value:function(f){this.parser&&this.parser.parseText(f)}},{key:"parseClose",value:function(f){if(this.parser&&!this.parser.parseClose(f)){var d=this.map[f];return this.parser.model&&(this.model[d.prop]=this.parser.model),this.parser=void 0,!0}return f!==this.options.tagName}}]),h}(e("../base-xform"));u.OPTIONS={tagName:"font",fontNameTag:"name"},r.exports=u},{"../../../utils/under-dash":26,"../base-xform":32,"../simple/boolean-xform":116,"../simple/integer-xform":118,"../simple/string-xform":119,"./color-xform":128,"./underline-xform":136}],132:[function(e,r,t){var n=e("../../../utils/under-dash"),a=e("../../defaultnumformats"),s=e("../base-xform");function o(){var u={};return n.each(a,function(l,A){l.f&&(u[l.f]=parseInt(A,10))}),u}var i=o(),c=function(u){Mt(A,u);var l=ir(A);function A(h,f){var d;return Fe(this,A),(d=l.call(this)).id=h,d.formatCode=f,d}return Le(A,[{key:"tag",get:function(){return"numFmt"}},{key:"render",value:function(h,f){h.leafNode("numFmt",{numFmtId:f.id,formatCode:f.formatCode})}},{key:"parseOpen",value:function(h){return h.name==="numFmt"&&(this.model={id:parseInt(h.attributes.numFmtId,10),formatCode:h.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),A}(s);c.getDefaultFmtId=function(u){return i[u]},c.getDefaultFmtCode=function(u){return a[u]&&a[u].f},r.exports=c},{"../../../utils/under-dash":26,"../../defaultnumformats":30,"../base-xform":32}],133:[function(e,r,t){var n=e("../base-xform"),a={boolean:function(o,i){return o===void 0?i:o}},s=function(o){Mt(c,o);var i=ir(c);function c(){return Fe(this,c),i.apply(this,arguments)}return Le(c,[{key:"tag",get:function(){return"protection"}},{key:"render",value:function(u,l){u.addRollback(),u.openNode("protection");var A=!1;function h(f,d){d!==void 0&&(u.addAttribute(f,d),A=!0)}h("locked",a.boolean(l.locked,!0)?void 0:"0"),h("hidden",a.boolean(l.hidden,!1)?"1":void 0),u.closeNode(),A?u.commit():u.rollback()}},{key:"parseOpen",value:function(u){var l={locked:u.attributes.locked!=="0",hidden:u.attributes.hidden==="1"},A=!l.locked||l.hidden;this.model=A?l:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),c}(n);r.exports=s},{"../base-xform":32}],134:[function(e,r,t){var n=e("../base-xform"),a=e("./alignment-xform"),s=e("./protection-xform"),o=function(i){Mt(u,i);var c=ir(u);function u(l){var A;return Fe(this,u),(A=c.call(this)).xfId=!(!l||!l.xfId),A.map={alignment:new a,protection:new s},A}return Le(u,[{key:"tag",get:function(){return"xf"}},{key:"render",value:function(l,A){l.openNode("xf",{numFmtId:A.numFmtId||0,fontId:A.fontId||0,fillId:A.fillId||0,borderId:A.borderId||0}),this.xfId&&l.addAttribute("xfId",A.xfId||0),A.numFmtId&&l.addAttribute("applyNumberFormat","1"),A.fontId&&l.addAttribute("applyFont","1"),A.fillId&&l.addAttribute("applyFill","1"),A.borderId&&l.addAttribute("applyBorder","1"),A.alignment&&l.addAttribute("applyAlignment","1"),A.protection&&l.addAttribute("applyProtection","1"),A.alignment&&this.map.alignment.render(l,A.alignment),A.protection&&this.map.protection.render(l,A.protection),l.closeNode()}},{key:"parseOpen",value:function(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case"xf":return this.model={numFmtId:parseInt(l.attributes.numFmtId,10),fontId:parseInt(l.attributes.fontId,10),fillId:parseInt(l.attributes.fillId,10),borderId:parseInt(l.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(l.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(l),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(l),!0;default:return!1}}},{key:"parseText",value:function(l){this.parser&&this.parser.parseText(l)}},{key:"parseClose",value:function(l){return this.parser?(this.parser.parseClose(l)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):l!=="xf"}}]),u}(n);r.exports=o},{"../base-xform":32,"./alignment-xform":126,"./protection-xform":133}],135:[function(e,r,t){var n=e("../../../doc/enums"),a=e("../../../utils/xml-stream"),s=e("../base-xform"),o=e("../static-xform"),i=e("../list-xform"),c=e("./font-xform"),u=e("./fill-xform"),l=e("./border-xform"),A=e("./numfmt-xform"),h=e("./style-xform"),f=e("./dxf-xform"),d=164,g=function(m){Mt(y,m);var v=ir(y);function y(I){var E;return Fe(this,y),(E=v.call(this)).map={numFmts:new i({tag:"numFmts",count:!0,childXform:new A}),fonts:new i({tag:"fonts",count:!0,childXform:new c,$:{"x14ac:knownFonts":1}}),fills:new i({tag:"fills",count:!0,childXform:new u}),borders:new i({tag:"borders",count:!0,childXform:new l}),cellStyleXfs:new i({tag:"cellStyleXfs",count:!0,childXform:new h}),cellXfs:new i({tag:"cellXfs",count:!0,childXform:new h({xfId:!0})}),dxfs:new i({tag:"dxfs",always:!0,count:!0,childXform:new f}),numFmt:new A,font:new c,fill:new u,border:new l,style:new h({xfId:!0}),cellStyles:y.STATIC_XFORMS.cellStyles,tableStyles:y.STATIC_XFORMS.tableStyles,extLst:y.STATIC_XFORMS.extLst},I&&E.init(),E}return Le(y,[{key:"initIndex",value:function(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}},{key:"init",value:function(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}},{key:"render",value:function(I,E){E=E||this.model,I.openXml(a.StdDocAttributes),I.openNode("styleSheet",y.STYLESHEET_ATTRIBUTES),this.index?(E.numFmts&&E.numFmts.length&&(I.openNode("numFmts",{count:E.numFmts.length}),E.numFmts.forEach(function(k){I.writeXml(k)}),I.closeNode()),E.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),I.openNode("fonts",{count:E.fonts.length,"x14ac:knownFonts":1}),E.fonts.forEach(function(k){I.writeXml(k)}),I.closeNode(),I.openNode("fills",{count:E.fills.length}),E.fills.forEach(function(k){I.writeXml(k)}),I.closeNode(),I.openNode("borders",{count:E.borders.length}),E.borders.forEach(function(k){I.writeXml(k)}),I.closeNode(),this.map.cellStyleXfs.render(I,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),I.openNode("cellXfs",{count:E.styles.length}),E.styles.forEach(function(k){I.writeXml(k)}),I.closeNode()):(this.map.numFmts.render(I,E.numFmts),this.map.fonts.render(I,E.fonts),this.map.fills.render(I,E.fills),this.map.borders.render(I,E.borders),this.map.cellStyleXfs.render(I,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(I,E.styles)),y.STATIC_XFORMS.cellStyles.render(I),this.map.dxfs.render(I,E.dxfs),y.STATIC_XFORMS.tableStyles.render(I),y.STATIC_XFORMS.extLst.render(I),I.closeNode()}},{key:"parseOpen",value:function(I){return this.parser?(this.parser.parseOpen(I),!0):I.name==="styleSheet"?(this.initIndex(),!0):(this.parser=this.map[I.name],this.parser&&this.parser.parseOpen(I),!0)}},{key:"parseText",value:function(I){this.parser&&this.parser.parseText(I)}},{key:"parseClose",value:function(I){var E=this;if(this.parser)return this.parser.parseClose(I)||(this.parser=void 0),!0;if(I==="styleSheet"){this.model={};var k=function(T,j){j.model&&j.model.length&&(E.model[T]=j.model)};if(k("numFmts",this.map.numFmts),k("fonts",this.map.fonts),k("fills",this.map.fills),k("borders",this.map.borders),k("styles",this.map.cellXfs),k("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){var R=this.index.numFmt;this.model.numFmts.forEach(function(T){R[T.id]=T.formatCode})}return!1}return!0}},{key:"addStyleModel",value:function(I,E){if(!I)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(I))return this.weakMap.get(I);var k={};if(E=E||n.ValueType.Number,I.numFmt)k.numFmtId=this._addNumFmtStr(I.numFmt);else switch(E){case n.ValueType.Number:k.numFmtId=this._addNumFmtStr("General");break;case n.ValueType.Date:k.numFmtId=this._addNumFmtStr("mm-dd-yy")}I.font&&(k.fontId=this._addFont(I.font)),I.border&&(k.borderId=this._addBorder(I.border)),I.fill&&(k.fillId=this._addFill(I.fill)),I.alignment&&(k.alignment=I.alignment),I.protection&&(k.protection=I.protection);var R=this._addStyle(k);return this.weakMap&&this.weakMap.set(I,R),R}},{key:"getStyleModel",value:function(I){var E=this.model.styles[I];if(!E)return null;var k=this.index.model[I];if(k)return k;if(k=this.index.model[I]={},E.numFmtId){var R=this.index.numFmt[E.numFmtId]||A.getDefaultFmtCode(E.numFmtId);R&&(k.numFmt=R)}function T(j,W,H){if(H||H===0){var X=W[H];X&&(k[j]=X)}}return T("font",this.model.fonts,E.fontId),T("border",this.model.borders,E.borderId),T("fill",this.model.fills,E.fillId),E.alignment&&(k.alignment=E.alignment),E.protection&&(k.protection=E.protection),k}},{key:"addDxfStyle",value:function(I){return I.numFmt&&(I.numFmtId=this._addNumFmtStr(I.numFmt)),this.model.dxfs.push(I),this.model.dxfs.length-1}},{key:"getDxfStyle",value:function(I){return this.model.dxfs[I]}},{key:"_addStyle",value:function(I){var E=this.map.style.toXml(I),k=this.index.style[E];return k===void 0&&(k=this.index.style[E]=this.model.styles.length,this.model.styles.push(E)),k}},{key:"_addNumFmtStr",value:function(I){var E=A.getDefaultFmtId(I);if(E!==void 0||(E=this.index.numFmt[I])!==void 0)return E;E=this.index.numFmt[I]=d+this.model.numFmts.length;var k=this.map.numFmt.toXml({id:E,formatCode:I});return this.model.numFmts.push(k),E}},{key:"_addFont",value:function(I){var E=this.map.font.toXml(I),k=this.index.font[E];return k===void 0&&(k=this.index.font[E]=this.model.fonts.length,this.model.fonts.push(E)),k}},{key:"_addBorder",value:function(I){var E=this.map.border.toXml(I),k=this.index.border[E];return k===void 0&&(k=this.index.border[E]=this.model.borders.length,this.model.borders.push(E)),k}},{key:"_addFill",value:function(I){var E=this.map.fill.toXml(I),k=this.index.fill[E];return k===void 0&&(k=this.index.fill[E]=this.model.fills.length,this.model.fills.push(E)),k}}]),y}(s);g.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},g.STATIC_XFORMS={cellStyles:new o({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new o({tag:"dxfs",$:{count:0}}),tableStyles:new o({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new o({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};var p=function(m){Mt(y,m);var v=ir(y);function y(){var I;return Fe(this,y),(I=v.call(this)).model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]},I}return Le(y,[{key:"parseStream",value:function(I){return I.autodrain(),Promise.resolve()}},{key:"addStyleModel",value:function(I,E){return E===n.ValueType.Date?this.dateStyleId:0}},{key:"dateStyleId",get:function(){if(!this._dateStyleId){var I={numFmtId:A.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(I)}return this._dateStyleId}},{key:"getStyleModel",value:function(){return{}}}]),y}(g);g.Mock=p,r.exports=g},{"../../../doc/enums":7,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./border-xform":127,"./dxf-xform":129,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./style-xform":134}],136:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(i){var c;return Fe(this,o),(c=s.call(this)).model=i,c}return Le(o,[{key:"tag",get:function(){return"u"}},{key:"render",value:function(i,c){if((c=c||this.model)===!0)i.leafNode("u");else{var u=o.Attributes[c];u&&i.leafNode("u",u)}}},{key:"parseOpen",value:function(i){i.name==="u"&&(this.model=i.attributes.val||!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));n.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},r.exports=n},{"../base-xform":32}],137:[function(e,r,t){var n=e("../base-xform"),a=e("./filter-column-xform"),s=function(o){Mt(c,o);var i=ir(c);function c(){var u;return Fe(this,c),(u=i.call(this)).map={filterColumn:new a},u}return Le(c,[{key:"tag",get:function(){return"autoFilter"}},{key:"prepare",value:function(u){var l=this;u.columns.forEach(function(A,h){l.map.filterColumn.prepare(A,{index:h})})}},{key:"render",value:function(u,l){var A=this;return u.openNode(this.tag,{ref:l.autoFilterRef}),l.columns.forEach(function(h){A.map.filterColumn.render(u,h)}),u.closeNode(),!0}},{key:"parseOpen",value:function(u){if(this.parser)return this.parser.parseOpen(u),!0;if(u.name===this.tag)return this.model={autoFilterRef:u.attributes.ref,columns:[]},!0;if(this.parser=this.map[u.name],this.parser)return this.parseOpen(u),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(u)))}},{key:"parseText",value:function(u){this.parser&&this.parser.parseText(u)}},{key:"parseClose",value:function(u){if(this.parser)return this.parser.parseClose(u)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;if(u===this.tag)return!1;throw new Error("Unexpected xml node in parseClose: ".concat(u))}}]),c}(n);r.exports=s},{"../base-xform":32,"./filter-column-xform":139}],138:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"customFilter"}},{key:"render",value:function(i,c){i.leafNode(this.tag,{val:c.val,operator:c.operator})}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.model={val:i.attributes.val,operator:i.attributes.operator},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],139:[function(e,r,t){var n=e("../base-xform"),a=e("../list-xform"),s=e("./custom-filter-xform"),o=e("./filter-xform"),i=function(c){Mt(l,c);var u=ir(l);function l(){var A;return Fe(this,l),(A=u.call(this)).map={customFilters:new a({tag:"customFilters",count:!1,empty:!0,childXform:new s}),filters:new a({tag:"filters",count:!1,empty:!0,childXform:new o})},A}return Le(l,[{key:"tag",get:function(){return"filterColumn"}},{key:"prepare",value:function(A,h){A.colId=h.index.toString()}},{key:"render",value:function(A,h){return h.customFilters?(A.openNode(this.tag,{colId:h.colId,hiddenButton:h.filterButton?"0":"1"}),this.map.customFilters.render(A,h.customFilters),A.closeNode(),!0):(A.leafNode(this.tag,{colId:h.colId,hiddenButton:h.filterButton?"0":"1"}),!0)}},{key:"parseOpen",value:function(A){if(this.parser)return this.parser.parseOpen(A),!0;var h=A.attributes;if(A.name===this.tag)return this.model={filterButton:h.hiddenButton==="0"},!0;if(this.parser=this.map[A.name],this.parser)return this.parseOpen(A),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(A)))}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(A){return this.parser?(this.parser.parseClose(A)||(this.parser=void 0),!0):A!==this.tag||(this.model.customFilters=this.map.customFilters.model,!1)}}]),l}(n);r.exports=i},{"../base-xform":32,"../list-xform":71,"./custom-filter-xform":138,"./filter-xform":140}],140:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"filter"}},{key:"render",value:function(i,c){i.leafNode(this.tag,{val:c.val})}},{key:"parseOpen",value:function(i){return i.name===this.tag&&(this.model={val:i.attributes.val},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],141:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"tableColumn"}},{key:"prepare",value:function(i,c){i.id=c.index+1}},{key:"render",value:function(i,c){return i.leafNode(this.tag,{id:c.id.toString(),name:c.name,totalsRowLabel:c.totalsRowLabel,totalsRowFunction:c.totalsRowFunction,dxfId:c.dxfId}),!0}},{key:"parseOpen",value:function(i){if(i.name===this.tag){var c=i.attributes;return this.model={name:c.name,totalsRowLabel:c.totalsRowLabel,totalsRowFunction:c.totalsRowFunction,dxfId:c.dxfId},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],142:[function(e,r,t){var n=function(a){Mt(o,a);var s=ir(o);function o(){return Fe(this,o),s.apply(this,arguments)}return Le(o,[{key:"tag",get:function(){return"tableStyleInfo"}},{key:"render",value:function(i,c){return i.leafNode(this.tag,{name:c.theme?c.theme:void 0,showFirstColumn:c.showFirstColumn?"1":"0",showLastColumn:c.showLastColumn?"1":"0",showRowStripes:c.showRowStripes?"1":"0",showColumnStripes:c.showColumnStripes?"1":"0"}),!0}},{key:"parseOpen",value:function(i){if(i.name===this.tag){var c=i.attributes;return this.model={theme:c.name?c.name:null,showFirstColumn:c.showFirstColumn==="1",showLastColumn:c.showLastColumn==="1",showRowStripes:c.showRowStripes==="1",showColumnStripes:c.showColumnStripes==="1"},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}]),o}(e("../base-xform"));r.exports=n},{"../base-xform":32}],143:[function(e,r,t){var n=e("../../../utils/xml-stream"),a=e("../base-xform"),s=e("../list-xform"),o=e("./auto-filter-xform"),i=e("./table-column-xform"),c=e("./table-style-info-xform"),u=function(l){Mt(h,l);var A=ir(h);function h(){var f;return Fe(this,h),(f=A.call(this)).map={autoFilter:new o,tableColumns:new s({tag:"tableColumns",count:!0,empty:!0,childXform:new i}),tableStyleInfo:new c},f}return Le(h,[{key:"prepare",value:function(f,d){this.map.autoFilter.prepare(f),this.map.tableColumns.prepare(f.columns,d)}},{key:"tag",get:function(){return"table"}},{key:"render",value:function(f,d){f.openXml(n.StdDocAttributes),f.openNode(this.tag,bo(bo({},h.TABLE_ATTRIBUTES),{},{id:d.id,name:d.name,displayName:d.displayName||d.name,ref:d.tableRef,totalsRowCount:d.totalsRow?"1":void 0,totalsRowShown:d.totalsRow?void 0:"1",headerRowCount:d.headerRow?"1":"0"})),this.map.autoFilter.render(f,d),this.map.tableColumns.render(f,d.columns),this.map.tableStyleInfo.render(f,d.style),f.closeNode()}},{key:"parseOpen",value:function(f){if(this.parser)return this.parser.parseOpen(f),!0;var d=f.name,g=f.attributes;return d===this.tag?(this.reset(),this.model={name:g.name,displayName:g.displayName||g.name,tableRef:g.ref,totalsRow:g.totalsRowCount==="1",headerRow:g.headerRowCount==="1"}):(this.parser=this.map[f.name],this.parser&&this.parser.parseOpen(f)),!0}},{key:"parseText",value:function(f){this.parser&&this.parser.parseText(f)}},{key:"parseClose",value:function(f){var d=this;return this.parser?(this.parser.parseClose(f)||(this.parser=void 0),!0):f!==this.tag||(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach(function(g,p){d.model.columns[p].filterButton=g.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1)}},{key:"reconcile",value:function(f,d){f.columns.forEach(function(g){g.dxfId!==void 0&&(g.style=d.styles.getDxfStyle(g.dxfId))})}}]),h}(a);u.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},r.exports=u},{"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":137,"./table-column-xform":141,"./table-style-info-xform":142}],144:[function(e,r,t){(function(n,a){(function(){var s=e("fs"),o=e("jszip"),i=e("readable-stream").PassThrough,c=e("../utils/zip-stream"),u=e("../utils/stream-buf"),l=e("../utils/utils"),A=e("../utils/xml-stream"),h=e("../utils/browser-buffer-decode").bufferToString,f=e("./xform/style/styles-xform"),d=e("./xform/core/core-xform"),g=e("./xform/strings/shared-strings-xform"),p=e("./xform/core/relationships-xform"),m=e("./xform/core/content-types-xform"),v=e("./xform/core/app-xform"),y=e("./xform/book/workbook-xform"),I=e("./xform/sheet/worksheet-xform"),E=e("./xform/drawing/drawing-xform"),k=e("./xform/table/table-xform"),R=e("./xform/comment/comments-xform"),T=e("./xform/comment/vml-notes-xform"),j=e("./xml/theme1");function W(X,x){return new Promise(function(N,C){s.readFile(X,x,function(w,Q){w?C(w):N(Q)})})}var H=function(){function X(x){Fe(this,X),this.workbook=x}return Le(X,[{key:"readFile",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S;return mn.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,l.fs.exists(w);case 2:if(O.sent){O.next=4;break}throw new Error("File not found: ".concat(w));case 4:return B=s.createReadStream(w),O.prev=5,O.next=8,this.read(B,Q);case 8:return S=O.sent,B.close(),O.abrupt("return",S);case 13:throw O.prev=13,O.t0=O.catch(5),B.close(),O.t0;case 17:case"end":return O.stop()}},C,this,[[5,13]])}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"parseRels",value:function(x){return new p().parseStream(x)}},{key:"parseWorkbook",value:function(x){return new y().parseStream(x)}},{key:"parseSharedStrings",value:function(x){return new g().parseStream(x)}},{key:"reconcile",value:function(x,N){var C=new y,w=new I(N),Q=new E,B=new k;C.reconcile(x);var S={media:x.media,mediaIndex:x.mediaIndex};Object.keys(x.drawings).forEach(function(Y){var M=x.drawings[Y],z=x.drawingRels[Y];z&&(S.rels=z.reduce(function(ue,ae){return ue[ae.Id]=ae,ue},{}),(M.anchors||[]).forEach(function(ue){var ae=ue.picture&&ue.picture.hyperlinks;ae&&S.rels[ae.rId]&&(ae.hyperlink=S.rels[ae.rId].Target,delete ae.rId)}),Q.reconcile(M,S))});var O={styles:x.styles};Object.values(x.tables).forEach(function(Y){B.reconcile(Y,O)});var F={styles:x.styles,sharedStrings:x.sharedStrings,media:x.media,mediaIndex:x.mediaIndex,date1904:x.properties&&x.properties.date1904,drawings:x.drawings,comments:x.comments,tables:x.tables,vmlDrawings:x.vmlDrawings};x.worksheets.forEach(function(Y){Y.relationships=x.worksheetRels[Y.sheetNo],w.reconcile(Y,F)}),delete x.worksheetHash,delete x.worksheetRels,delete x.globalRels,delete x.sharedStrings,delete x.workbookRels,delete x.sheetDefs,delete x.styles,delete x.mediaIndex,delete x.drawings,delete x.drawingRels,delete x.vmlDrawings}},{key:"_processWorksheetEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B,S,O){var F,Y;return mn.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return F=new I(S),M.next=3,F.parseStream(w);case 3:(Y=M.sent).sheetNo=B,Q.worksheetHash[O]=Y,Q.worksheets.push(Y);case 7:case"end":return M.stop()}},C)}));function N(C,w,Q,B,S){return x.apply(this,arguments)}return N}()},{key:"_processCommentEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){var S,O;return mn.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return S=new R,F.next=3,S.parseStream(w);case 3:O=F.sent,Q.comments["../".concat(B,".xml")]=O;case 5:case"end":return F.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"_processTableEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){var S,O;return mn.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return S=new k,F.next=3,S.parseStream(w);case 3:O=F.sent,Q.tables["../tables/".concat(B,".xml")]=O;case 5:case"end":return F.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"_processWorksheetRelsEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){var S,O;return mn.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return S=new p,F.next=3,S.parseStream(w);case 3:O=F.sent,Q.worksheetRels[B]=O;case 5:case"end":return F.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"_processMediaEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){var S,O,F;return mn.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(!((S=B.lastIndexOf("."))>=1)){Y.next=6;break}return O=B.substr(S+1),F=B.substr(0,S),Y.next=6,new Promise(function(M,z){var ue=new u;ue.on("finish",function(){Q.mediaIndex[B]=Q.media.length,Q.mediaIndex[F]=Q.media.length;var ae={type:"image",name:F,extension:O,buffer:ue.toBuffer()};Q.media.push(ae),M()}),w.on("error",function(ae){z(ae)}),w.pipe(ue)});case 6:case"end":return Y.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"_processDrawingEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){var S,O;return mn.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return S=new E,F.next=3,S.parseStream(w);case 3:O=F.sent,Q.drawings[B]=O;case 5:case"end":return F.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"_processDrawingRelsEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){var S,O;return mn.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return S=new p,F.next=3,S.parseStream(w);case 3:O=F.sent,Q.drawingRels[B]=O;case 5:case"end":return F.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"_processVmlDrawingEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){var S,O;return mn.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return S=new T,F.next=3,S.parseStream(w);case 3:O=F.sent,Q.vmlDrawings["../drawings/".concat(B,".vml")]=O;case 5:case"end":return F.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"_processThemeEntry",value:function(){var x=Oi(mn.mark(function C(w,Q,B){return mn.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,new Promise(function(O,F){var Y=new u;w.on("error",F),Y.on("error",F),Y.on("finish",function(){Q.themes[B]=Y.read().toString(),O()}),w.pipe(Y)});case 2:case"end":return S.stop()}},C)}));function N(C,w,Q){return x.apply(this,arguments)}return N}()},{key:"createInputStream",value:function(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"read",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S,O,F,Y,M,z;return mn.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:!w[Symbol.asyncIterator]&&w.pipe&&(w=w.pipe(new i)),B=[],S=!1,O=!1,ue.prev=4,Y=t0(w);case 6:return ue.next=8,Y.next();case 8:if(!(S=!(M=ue.sent).done)){ue.next=14;break}z=M.value,B.push(z);case 11:S=!1,ue.next=6;break;case 14:ue.next=20;break;case 16:ue.prev=16,ue.t0=ue.catch(4),O=!0,F=ue.t0;case 20:if(ue.prev=20,ue.prev=21,!S||Y.return==null){ue.next=25;break}return ue.next=25,Y.return();case 25:if(ue.prev=25,!O){ue.next=28;break}throw F;case 28:return ue.finish(25);case 29:return ue.finish(20);case 30:return ue.abrupt("return",this.load(a.concat(B),Q));case 31:case"end":return ue.stop()}},C,this,[[4,16,20,30],[21,,25,29]])}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"load",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S,O,F,Y,M,z,ue,ae,Ne,Ge,Ye,Ae,te,he,de,Ke;return mn.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return B=Q&&Q.base64?a.from(w.toString(),"base64"):w,S={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},le.next=4,o.loadAsync(B);case 4:O=le.sent,F=0,Y=Object.values(O.files);case 6:if(!(F<Y.length)){le.next=126;break}if((M=Y[F]).dir){le.next=123;break}if((z=M.name)[0]==="/"&&(z=z.substr(1)),ue=void 0,!z.match(/xl\/media\//)&&!z.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/)){le.next=21;break}return ue=new i,le.t0=ue,le.next=17,M.async("nodebuffer");case 17:le.t1=le.sent,le.t0.write.call(le.t0,le.t1),le.next=36;break;case 21:if(ue=new i({writableObjectMode:!0,readableObjectMode:!0}),ae=void 0,!n.browser){le.next=31;break}return le.t2=h,le.next=27,M.async("nodebuffer");case 27:le.t3=le.sent,ae=(0,le.t2)(le.t3),le.next=34;break;case 31:return le.next=33,M.async("string");case 33:ae=le.sent;case 34:for(Ne=16384,Ge=0;Ge<ae.length;Ge+=Ne)ue.write(ae.substring(Ge,Ge+Ne));case 36:ue.end(),le.t4=z,le.next=le.t4==="_rels/.rels"?40:le.t4==="xl/workbook.xml"?44:le.t4==="xl/_rels/workbook.xml.rels"?53:le.t4==="xl/sharedStrings.xml"?57:le.t4==="xl/styles.xml"?61:le.t4==="docProps/app.xml"?65:le.t4==="docProps/core.xml"?72:78;break;case 40:return le.next=42,this.parseRels(ue);case 42:return S.globalRels=le.sent,le.abrupt("break",123);case 44:return le.next=46,this.parseWorkbook(ue);case 46:return Ye=le.sent,S.sheets=Ye.sheets,S.definedNames=Ye.definedNames,S.views=Ye.views,S.properties=Ye.properties,S.calcProperties=Ye.calcProperties,le.abrupt("break",123);case 53:return le.next=55,this.parseRels(ue);case 55:return S.workbookRels=le.sent,le.abrupt("break",123);case 57:return S.sharedStrings=new g,le.next=60,S.sharedStrings.parseStream(ue);case 60:return le.abrupt("break",123);case 61:return S.styles=new f,le.next=64,S.styles.parseStream(ue);case 64:return le.abrupt("break",123);case 65:return Ae=new v,le.next=68,Ae.parseStream(ue);case 68:return te=le.sent,S.company=te.company,S.manager=te.manager,le.abrupt("break",123);case 72:return he=new d,le.next=75,he.parseStream(ue);case 75:return de=le.sent,Object.assign(S,de),le.abrupt("break",123);case 78:if(!(Ke=z.match(/xl\/worksheets\/sheet(\d+)[.]xml/))){le.next=83;break}return le.next=82,this._processWorksheetEntry(ue,S,Ke[1],Q,z);case 82:return le.abrupt("break",123);case 83:if(!(Ke=z.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/))){le.next=88;break}return le.next=87,this._processWorksheetRelsEntry(ue,S,Ke[1]);case 87:return le.abrupt("break",123);case 88:if(!(Ke=z.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))){le.next=93;break}return le.next=92,this._processThemeEntry(ue,S,Ke[1]);case 92:return le.abrupt("break",123);case 93:if(!(Ke=z.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/))){le.next=98;break}return le.next=97,this._processMediaEntry(ue,S,Ke[1]);case 97:return le.abrupt("break",123);case 98:if(!(Ke=z.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/))){le.next=103;break}return le.next=102,this._processDrawingEntry(ue,S,Ke[1]);case 102:return le.abrupt("break",123);case 103:if(!(Ke=z.match(/xl\/(comments\d+)[.]xml/))){le.next=108;break}return le.next=107,this._processCommentEntry(ue,S,Ke[1]);case 107:return le.abrupt("break",123);case 108:if(!(Ke=z.match(/xl\/tables\/(table\d+)[.]xml/))){le.next=113;break}return le.next=112,this._processTableEntry(ue,S,Ke[1]);case 112:return le.abrupt("break",123);case 113:if(!(Ke=z.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/))){le.next=118;break}return le.next=117,this._processDrawingRelsEntry(ue,S,Ke[1]);case 117:return le.abrupt("break",123);case 118:if(!(Ke=z.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/))){le.next=123;break}return le.next=122,this._processVmlDrawingEntry(ue,S,Ke[1]);case 122:return le.abrupt("break",123);case 123:F++,le.next=6;break;case 126:return this.reconcile(S,Q),this.workbook.model=S,le.abrupt("return",this.workbook);case 129:case"end":return le.stop()}},C,this)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addMedia",value:function(){var x=Oi(mn.mark(function C(w,Q){return mn.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all(Q.media.map(function(){var S=Oi(mn.mark(function O(F){var Y,M,z,ue;return mn.wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:if(F.type!=="image"){ae.next=13;break}if(Y="xl/media/".concat(F.name,".").concat(F.extension),!F.filename){ae.next=7;break}return ae.next=5,W(F.filename);case 5:return M=ae.sent,ae.abrupt("return",w.append(M,{name:Y}));case 7:if(!F.buffer){ae.next=9;break}return ae.abrupt("return",w.append(F.buffer,{name:Y}));case 9:if(!F.base64){ae.next=13;break}return z=F.base64,ue=z.substring(z.indexOf(",")+1),ae.abrupt("return",w.append(ue,{name:Y,base64:!0}));case 13:throw new Error("Unsupported media");case 14:case"end":return ae.stop()}},O)}));return function(O){return S.apply(this,arguments)}}()));case 2:case"end":return B.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addDrawings",value:function(x,N){var C=new E,w=new p;N.worksheets.forEach(function(Q){var B=Q.drawing;if(B){C.prepare(B,{});var S=C.toXml(B);x.append(S,{name:"xl/drawings/".concat(B.name,".xml")}),S=w.toXml(B.rels),x.append(S,{name:"xl/drawings/_rels/".concat(B.name,".xml.rels")})}})}},{key:"addTables",value:function(x,N){var C=new k;N.worksheets.forEach(function(w){w.tables.forEach(function(Q){C.prepare(Q,{});var B=C.toXml(Q);x.append(B,{name:"xl/tables/".concat(Q.target)})})})}},{key:"addContentTypes",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S;return mn.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:B=new m,S=B.toXml(Q),w.append(S,{name:"[Content_Types].xml"});case 3:case"end":return O.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addApp",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S;return mn.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:B=new v,S=B.toXml(Q),w.append(S,{name:"docProps/app.xml"});case 3:case"end":return O.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addCore",value:function(){var x=Oi(mn.mark(function C(w,Q){var B;return mn.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:B=new d,w.append(B.toXml(Q),{name:"docProps/core.xml"});case 2:case"end":return S.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addThemes",value:function(){var x=Oi(mn.mark(function C(w,Q){var B;return mn.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:B=Q.themes||{theme1:j},Object.keys(B).forEach(function(O){var F=B[O],Y="xl/theme/".concat(O,".xml");w.append(F,{name:Y})});case 2:case"end":return S.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addOfficeRels",value:function(){var x=Oi(mn.mark(function C(w){var Q,B;return mn.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:Q=new p,B=Q.toXml([{Id:"rId1",Type:X.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:X.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:X.RelType.ExtenderProperties,Target:"docProps/app.xml"}]),w.append(B,{name:"_rels/.rels"});case 3:case"end":return S.stop()}},C)}));function N(C){return x.apply(this,arguments)}return N}()},{key:"addWorkbookRels",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S,O,F;return mn.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:B=1,S=[{Id:"rId".concat(B++),Type:X.RelType.Styles,Target:"styles.xml"},{Id:"rId".concat(B++),Type:X.RelType.Theme,Target:"theme/theme1.xml"}],Q.sharedStrings.count&&S.push({Id:"rId".concat(B++),Type:X.RelType.SharedStrings,Target:"sharedStrings.xml"}),Q.worksheets.forEach(function(M){M.rId="rId".concat(B++),S.push({Id:M.rId,Type:X.RelType.Worksheet,Target:"worksheets/sheet".concat(M.id,".xml")})}),O=new p,F=O.toXml(S),w.append(F,{name:"xl/_rels/workbook.xml.rels"});case 7:case"end":return Y.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addSharedStrings",value:function(){var x=Oi(mn.mark(function C(w,Q){return mn.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:Q.sharedStrings&&Q.sharedStrings.count&&w.append(Q.sharedStrings.xml,{name:"xl/sharedStrings.xml"});case 1:case"end":return B.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addStyles",value:function(){var x=Oi(mn.mark(function C(w,Q){var B;return mn.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:(B=Q.styles.xml)&&w.append(B,{name:"xl/styles.xml"});case 2:case"end":return S.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addWorkbook",value:function(){var x=Oi(mn.mark(function C(w,Q){var B;return mn.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:B=new y,w.append(B.toXml(Q),{name:"xl/workbook.xml"});case 2:case"end":return S.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"addWorksheets",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S,O,F;return mn.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:B=new I,S=new p,O=new R,F=new T,Q.worksheets.forEach(function(M){var z=new A;B.render(z,M),w.append(z.xml,{name:"xl/worksheets/sheet".concat(M.id,".xml")}),M.rels&&M.rels.length&&(z=new A,S.render(z,M.rels),w.append(z.xml,{name:"xl/worksheets/_rels/sheet".concat(M.id,".xml.rels")})),M.comments.length>0&&(z=new A,O.render(z,M),w.append(z.xml,{name:"xl/comments".concat(M.id,".xml")}),z=new A,F.render(z,M),w.append(z.xml,{name:"xl/drawings/vmlDrawing".concat(M.id,".vml")}))});case 5:case"end":return Y.stop()}},C)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"_finalize",value:function(x){var N=this;return new Promise(function(C,w){x.on("finish",function(){C(N)}),x.on("error",w),x.finalize()})}},{key:"prepareModel",value:function(x,N){x.creator=x.creator||"ExcelJS",x.lastModifiedBy=x.lastModifiedBy||"ExcelJS",x.created=x.created||new Date,x.modified=x.modified||new Date,x.useSharedStrings=N.useSharedStrings===void 0||N.useSharedStrings,x.useStyles=N.useStyles===void 0||N.useStyles,x.sharedStrings=new g,x.styles=x.useStyles?new f(!0):new f.Mock;var C=new y,w=new I;C.prepare(x);var Q={sharedStrings:x.sharedStrings,styles:x.styles,date1904:x.properties.date1904,drawingsCount:0,media:x.media};Q.drawings=x.drawings=[],Q.commentRefs=x.commentRefs=[];var B=0;x.tables=[],x.worksheets.forEach(function(S){S.tables.forEach(function(O){B++,O.target="table".concat(B,".xml"),O.id=B,x.tables.push(O)}),w.prepare(S,Q)})}},{key:"write",value:function(){var x=Oi(mn.mark(function C(w,Q){var B,S;return mn.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return Q=Q||{},B=this.workbook.model,(S=new c.ZipWriter(Q.zip)).pipe(w),this.prepareModel(B,Q),O.next=7,this.addContentTypes(S,B);case 7:return O.next=9,this.addOfficeRels(S,B);case 9:return O.next=11,this.addWorkbookRels(S,B);case 11:return O.next=13,this.addWorksheets(S,B);case 13:return O.next=15,this.addSharedStrings(S,B);case 15:return O.next=17,this.addDrawings(S,B);case 17:return O.next=19,this.addTables(S,B);case 19:return O.next=21,Promise.all([this.addThemes(S,B),this.addStyles(S,B)]);case 21:return O.next=23,this.addMedia(S,B);case 23:return O.next=25,Promise.all([this.addApp(S,B),this.addCore(S,B)]);case 25:return O.next=27,this.addWorkbook(S,B);case 27:return O.abrupt("return",this._finalize(S));case 28:case"end":return O.stop()}},C,this)}));function N(C,w){return x.apply(this,arguments)}return N}()},{key:"writeFile",value:function(x,N){var C=this,w=s.createWriteStream(x);return new Promise(function(Q,B){w.on("finish",function(){Q()}),w.on("error",function(S){B(S)}),C.write(w,N).then(function(){w.end()}).catch(function(S){B(S)})})}},{key:"writeBuffer",value:function(){var x=Oi(mn.mark(function C(w){var Q;return mn.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return Q=new u,B.next=3,this.write(Q,w);case 3:return B.abrupt("return",Q.read());case 4:case"end":return B.stop()}},C,this)}));function N(C){return x.apply(this,arguments)}return N}()}]),X}();H.RelType=e("./rel-type"),r.exports=H}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":24,"../utils/utils":27,"../utils/xml-stream":28,"../utils/zip-stream":29,"./rel-type":31,"./xform/book/workbook-xform":38,"./xform/comment/comments-xform":40,"./xform/comment/vml-notes-xform":45,"./xform/core/app-xform":51,"./xform/core/content-types-xform":52,"./xform/core/core-xform":53,"./xform/core/relationships-xform":55,"./xform/drawing/drawing-xform":62,"./xform/sheet/worksheet-xform":115,"./xform/strings/shared-strings-xform":124,"./xform/style/styles-xform":135,"./xform/table/table-xform":143,"./xml/theme1":145,_process:467,buffer:220,fs:216,jszip:441,"readable-stream":491}],145:[function(e,r,t){r.exports=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  86. <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`},{}],146:[function(e,r,t){(function(n){(function(){Object.defineProperty(t,"__esModule",{value:!0}),t.CsvFormatterStream=void 0;var a=e("stream"),s=e("./formatter"),o=function(i){Mt(u,i);var c=ir(u);function u(l){var A;return Fe(this,u),(A=c.call(this,{writableObjectMode:l.objectMode})).hasWrittenBOM=!1,A.formatterOptions=l,A.rowFormatter=new s.RowFormatter(l),A.hasWrittenBOM=!l.writeBOM,A}return Le(u,[{key:"transform",value:function(l){return this.rowFormatter.rowTransform=l,this}},{key:"_transform",value:function(l,A,h){var f=this,d=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(l,function(g,p){return g?(d=!0,h(g)):(p&&p.forEach(function(m){f.push(n.from(m,"utf8"))}),d=!0,h())})}catch(g){if(d)throw g;h(g)}}},{key:"_flush",value:function(l){var A=this;this.rowFormatter.finish(function(h,f){return h?l(h):(f&&f.forEach(function(d){A.push(n.from(d,"utf8"))}),l())})}}]),u}(a.Transform);t.CsvFormatterStream=o}).call(this)}).call(this,e("buffer").Buffer)},{"./formatter":150,buffer:220,stream:505}],147:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.FormatterOptions=void 0;var n=Le(function a(){Fe(this,a);var s,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.objectMode=!0,this.delimiter=",",this.rowDelimiter=`
  87. `,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,o||{}),(o==null?void 0:o.quoteHeaders)===void 0&&(this.quoteHeaders=this.quoteColumns),(o==null?void 0:o.quote)===!0?this.quote='"':(o==null?void 0:o.quote)===!1&&(this.quote=""),typeof(o==null?void 0:o.escape)!="string"&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((s=o.writeHeaders)===null||s===void 0||s),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote="".concat(this.escape).concat(this.quote)});t.FormatterOptions=n},{}],148:[function(e,r,t){var n=function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(t,"__esModule",{value:!0}),t.FieldFormatter=void 0;var a=n(e("lodash.isboolean")),s=n(e("lodash.isnil")),o=n(e("lodash.escaperegexp")),i=function(){function c(u){Fe(this,c),this._headers=null,this.formatterOptions=u,u.headers!==null&&(this.headers=u.headers),this.REPLACE_REGEXP=new RegExp(u.quote,"g");var l="[".concat(u.delimiter).concat(o.default(u.rowDelimiter),`|\r|
  88. ]`);this.ESCAPE_REGEXP=new RegExp(l)}return Le(c,[{key:"headers",set:function(u){this._headers=u}},{key:"shouldQuote",value:function(u,l){var A=l?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return a.default(A)?A:Array.isArray(A)?A[u]:this._headers!==null&&A[this._headers[u]]}},{key:"format",value:function(u,l,A){var h="".concat(s.default(u)?"":u).replace(/\0/g,""),f=this.formatterOptions;return f.quote!==""&&h.indexOf(f.quote)!==-1?this.quoteField(h.replace(this.REPLACE_REGEXP,f.escapedQuote)):h.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(l,A)?this.quoteField(h):h}},{key:"quoteField",value:function(u){var l=this.formatterOptions.quote;return"".concat(l).concat(u).concat(l)}}]),c}();t.FieldFormatter=i},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(e,r,t){var n=function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(t,"__esModule",{value:!0}),t.RowFormatter=void 0;var a=n(e("lodash.isfunction")),s=n(e("lodash.isequal")),o=e("./FieldFormatter"),i=e("../types"),c=function(){function u(l){Fe(this,u),this.rowCount=0,this.formatterOptions=l,this.fieldFormatter=new o.FieldFormatter(l),this.headers=l.headers,this.shouldWriteHeaders=l.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&&(this.fieldFormatter.headers=this.headers),l.transform&&(this.rowTransform=l.transform)}return Le(u,[{key:"rowTransform",set:function(l){if(!a.default(l))throw new TypeError("The transform should be a function");this._rowTransform=u.createTransform(l)}},{key:"format",value:function(l,A){var h=this;this.callTransformer(l,function(f,d){if(f)return A(f);if(!l)return A(null);var g=[];if(d){var p=h.checkHeaders(d),m=p.shouldFormatColumns,v=p.headers;if(h.shouldWriteHeaders&&v&&!h.hasWrittenHeaders&&(g.push(h.formatColumns(v,!0)),h.hasWrittenHeaders=!0),m){var y=h.gatherColumns(d);g.push(h.formatColumns(y,!1))}}return A(null,g)})}},{key:"finish",value:function(l){var A=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return l(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));A.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&A.push(this.formatterOptions.rowDelimiter),l(null,A)}},{key:"checkHeaders",value:function(l){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};var A=u.gatherHeaders(l);return this.headers=A,this.fieldFormatter.headers=A,this.shouldWriteHeaders?{shouldFormatColumns:!s.default(A,l),headers:A}:{shouldFormatColumns:!0,headers:null}}},{key:"gatherColumns",value:function(l){if(this.headers===null)throw new Error("Headers is currently null");return Array.isArray(l)?u.isRowHashArray(l)?this.headers.map(function(A,h){var f=l[h];return f?f[1]:""}):u.isRowArray(l)&&!this.shouldWriteHeaders?l:this.headers.map(function(A,h){return l[h]}):this.headers.map(function(A){return l[A]})}},{key:"callTransformer",value:function(l,A){return this._rowTransform?this._rowTransform(l,A):A(null,l)}},{key:"formatColumns",value:function(l,A){var h=this,f=l.map(function(g,p){return h.fieldFormatter.format(g,p,A)}).join(this.formatterOptions.delimiter),d=this.rowCount;return this.rowCount+=1,d?[this.formatterOptions.rowDelimiter,f].join(""):f}}],[{key:"isRowHashArray",value:function(l){return!!Array.isArray(l)&&Array.isArray(l[0])&&l[0].length===2}},{key:"isRowArray",value:function(l){return Array.isArray(l)&&!this.isRowHashArray(l)}},{key:"gatherHeaders",value:function(l){return u.isRowHashArray(l)?l.map(function(A){return A[0]}):Array.isArray(l)?l:Object.keys(l)}},{key:"createTransform",value:function(l){return i.isSyncTransform(l)?function(A,h){var f=null;try{f=l(A)}catch(d){return h(d)}return h(null,f)}:function(A,h){l(A,h)}}}]),u}();t.RowFormatter=c},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.FieldFormatter=t.RowFormatter=void 0;var n=e("./RowFormatter");Object.defineProperty(t,"RowFormatter",{enumerable:!0,get:function(){return n.RowFormatter}});var a=e("./FieldFormatter");Object.defineProperty(t,"FieldFormatter",{enumerable:!0,get:function(){return a.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(e,r,t){(function(n){(function(){var a=Object.create?function(g,p,m,v){v===void 0&&(v=m),Object.defineProperty(g,v,{enumerable:!0,get:function(){return p[m]}})}:function(g,p,m,v){v===void 0&&(v=m),g[v]=p[m]},s=Object.create?function(g,p){Object.defineProperty(g,"default",{enumerable:!0,value:p})}:function(g,p){g.default=p},o=function(g){if(g&&g.__esModule)return g;var p={};if(g!=null)for(var m in g)m!=="default"&&Object.prototype.hasOwnProperty.call(g,m)&&a(p,g,m);return s(p,g),p},i=function(g,p){for(var m in g)m==="default"||Object.prototype.hasOwnProperty.call(p,m)||a(p,g,m)};Object.defineProperty(t,"__esModule",{value:!0}),t.writeToPath=t.writeToString=t.writeToBuffer=t.writeToStream=t.write=t.format=t.FormatterOptions=t.CsvFormatterStream=void 0;var c=e("util"),u=e("stream"),l=o(e("fs")),A=e("./FormatterOptions"),h=e("./CsvFormatterStream");i(e("./types"),t);var f=e("./CsvFormatterStream");Object.defineProperty(t,"CsvFormatterStream",{enumerable:!0,get:function(){return f.CsvFormatterStream}});var d=e("./FormatterOptions");Object.defineProperty(t,"FormatterOptions",{enumerable:!0,get:function(){return d.FormatterOptions}}),t.format=function(g){return new h.CsvFormatterStream(new A.FormatterOptions(g))},t.write=function(g,p){var m=t.format(p),v=c.promisify(function(y,I){m.write(y,void 0,I)});return g.reduce(function(y,I){return y.then(function(){return v(I)})},Promise.resolve()).then(function(){return m.end()}).catch(function(y){m.emit("error",y)}),m},t.writeToStream=function(g,p,m){return t.write(p,m).pipe(g)},t.writeToBuffer=function(g){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=[],v=new u.Writable({write:function(y,I,E){m.push(y),E()}});return new Promise(function(y,I){v.on("error",I).on("finish",function(){return y(n.concat(m))}),t.write(g,p).pipe(v)})},t.writeToString=function(g,p){return t.writeToBuffer(g,p).then(function(m){return m.toString()})},t.writeToPath=function(g,p,m){var v=l.createWriteStream(g,{encoding:"utf8"});return t.write(p,m).pipe(v)}}).call(this)}).call(this,e("buffer").Buffer)},{"./CsvFormatterStream":146,"./FormatterOptions":147,"./types":152,buffer:220,fs:216,stream:505,util:527}],152:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isSyncTransform=void 0,t.isSyncTransform=function(n){return n.length===1}},{}],153:[function(e,r,t){(function(n){(function(){Object.defineProperty(t,"__esModule",{value:!0}),t.CsvParserStream=void 0;var a=e("string_decoder"),s=e("stream"),o=e("./transforms"),i=e("./parser"),c=function(u){Mt(A,u);var l=ir(A);function A(h){var f;return Fe(this,A),(f=l.call(this,{objectMode:h.objectMode})).lines="",f.rowCount=0,f.parsedRowCount=0,f.parsedLineCount=0,f.endEmitted=!1,f.headersEmitted=!1,f.parserOptions=h,f.parser=new i.Parser(h),f.headerTransformer=new o.HeaderTransformer(h),f.decoder=new a.StringDecoder(h.encoding),f.rowTransformerValidator=new o.RowTransformerValidator,f}return Le(A,[{key:"hasHitRowLimit",get:function(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}},{key:"shouldEmitRows",get:function(){return this.parsedRowCount>this.parserOptions.skipRows}},{key:"shouldSkipLine",get:function(){return this.parsedLineCount<=this.parserOptions.skipLines}},{key:"transform",value:function(h){return this.rowTransformerValidator.rowTransform=h,this}},{key:"validate",value:function(h){return this.rowTransformerValidator.rowValidator=h,this}},{key:"emit",value:function(h){var f;if(h==="end")return this.endEmitted||(this.endEmitted=!0,P(Ur(A.prototype),"emit",this).call(this,"end",this.rowCount)),!1;for(var d=arguments.length,g=new Array(d>1?d-1:0),p=1;p<d;p++)g[p-1]=arguments[p];return(f=P(Ur(A.prototype),"emit",this)).call.apply(f,[this,h].concat(g))}},{key:"_transform",value:function(h,f,d){if(this.hasHitRowLimit)return d();var g=A.wrapDoneCallback(d);try{var p=this.lines+this.decoder.write(h),m=this.parse(p,!0);return this.processRows(m,g)}catch(v){return g(v)}}},{key:"_flush",value:function(h){var f=A.wrapDoneCallback(h);if(this.hasHitRowLimit)return f();try{var d=this.lines+this.decoder.end(),g=this.parse(d,!1);return this.processRows(g,f)}catch(p){return f(p)}}},{key:"parse",value:function(h,f){if(!h)return[];var d=this.parser.parse(h,f),g=d.line,p=d.rows;return this.lines=g,p}},{key:"processRows",value:function(h,f){var d=this,g=h.length;(function p(m){var v=function(E){return E?f(E):m%100!=0?p(m+1):void n(function(){return p(m+1)})};if(d.checkAndEmitHeaders(),m>=g||d.hasHitRowLimit)return f();if(d.parsedLineCount+=1,d.shouldSkipLine)return v();var y=h[m];d.rowCount+=1,d.parsedRowCount+=1;var I=d.rowCount;return d.transformRow(y,function(E,k){if(E)return d.rowCount-=1,v(E);if(!k)return v(new Error("expected transform result"));if(k.isValid){if(k.row)return d.pushRow(k.row,v)}else d.emit("data-invalid",k.row,I,k.reason);return v()})})(0)}},{key:"transformRow",value:function(h,f){var d=this;try{this.headerTransformer.transform(h,function(g,p){return g?f(g):p?p.isValid?p.row?d.shouldEmitRows?d.rowTransformerValidator.transformAndValidate(p.row,f):d.skipRow(f):(d.rowCount-=1,d.parsedRowCount-=1,f(null,{row:null,isValid:!0})):d.shouldEmitRows?f(null,{isValid:!1,row:h}):d.skipRow(f):f(new Error("Expected result from header transform"))})}catch(g){f(g)}}},{key:"checkAndEmitHeaders",value:function(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}},{key:"skipRow",value:function(h){return this.rowCount-=1,h(null,{row:null,isValid:!0})}},{key:"pushRow",value:function(h,f){try{this.parserOptions.objectMode?this.push(h):this.push(JSON.stringify(h)),f()}catch(d){f(d)}}}],[{key:"wrapDoneCallback",value:function(h){var f=!1;return function(d){if(d){if(f)throw d;return f=!0,void h(d)}for(var g=arguments.length,p=new Array(g>1?g-1:0),m=1;m<g;m++)p[m-1]=arguments[m];h.apply(void 0,p)}}}]),A}(s.Transform);t.CsvParserStream=c}).call(this)}).call(this,e("timers").setImmediate)},{"./parser":165,"./transforms":168,stream:505,string_decoder:218,timers:523}],154:[function(e,r,t){var n=function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.ParserOptions=void 0;var a=n(e("lodash.escaperegexp")),s=n(e("lodash.isnil")),o=Le(function i(c){var u;if(Fe(this,i),this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,c||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=a.default(this.delimiter),this.escapeChar=(u=this.escape)!==null&&u!==void 0?u:this.quote,this.supportsComments=!s.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp("([^\\s]|\\r\\n|\\n|\\r|".concat(this.escapedDelimiter,")")),this.maxRows>0&&(this.limitRows=!0)});t.ParserOptions=o},{"lodash.escaperegexp":442,"lodash.isnil":447}],155:[function(e,r,t){var n=Object.create?function(f,d,g,p){p===void 0&&(p=g),Object.defineProperty(f,p,{enumerable:!0,get:function(){return d[g]}})}:function(f,d,g,p){p===void 0&&(p=g),f[p]=d[g]},a=Object.create?function(f,d){Object.defineProperty(f,"default",{enumerable:!0,value:d})}:function(f,d){f.default=d},s=function(f){if(f&&f.__esModule)return f;var d={};if(f!=null)for(var g in f)g!=="default"&&Object.prototype.hasOwnProperty.call(f,g)&&n(d,f,g);return a(d,f),d},o=function(f,d){for(var g in f)g==="default"||Object.prototype.hasOwnProperty.call(d,g)||n(d,f,g)};Object.defineProperty(t,"__esModule",{value:!0}),t.parseString=t.parseFile=t.parseStream=t.parse=t.ParserOptions=t.CsvParserStream=void 0;var i=s(e("fs")),c=e("stream"),u=e("./ParserOptions"),l=e("./CsvParserStream");o(e("./types"),t);var A=e("./CsvParserStream");Object.defineProperty(t,"CsvParserStream",{enumerable:!0,get:function(){return A.CsvParserStream}});var h=e("./ParserOptions");Object.defineProperty(t,"ParserOptions",{enumerable:!0,get:function(){return h.ParserOptions}}),t.parse=function(f){return new l.CsvParserStream(new u.ParserOptions(f))},t.parseStream=function(f,d){return f.pipe(new l.CsvParserStream(new u.ParserOptions(d)))},t.parseFile=function(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return i.createReadStream(f).pipe(new l.CsvParserStream(new u.ParserOptions(d)))},t.parseString=function(f,d){var g=new c.Readable;return g.push(f),g.push(null),g.pipe(new l.CsvParserStream(new u.ParserOptions(d)))}},{"./CsvParserStream":153,"./ParserOptions":154,"./types":169,fs:216,stream:505}],156:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var n=e("./Scanner"),a=e("./RowParser"),s=e("./Token"),o=function(){function i(c){Fe(this,i),this.parserOptions=c,this.rowParser=new a.RowParser(this.parserOptions)}return Le(i,[{key:"parse",value:function(c,u){var l=new n.Scanner({line:i.removeBOM(c),parserOptions:this.parserOptions,hasMoreData:u});return this.parserOptions.supportsComments?this.parseWithComments(l):this.parseWithoutComments(l)}},{key:"parseWithoutComments",value:function(c){for(var u=[],l=!0;l;)l=this.parseRow(c,u);return{line:c.line,rows:u}}},{key:"parseWithComments",value:function(c){for(var u=this.parserOptions,l=[],A=c.nextCharacterToken;A!==null;A=c.nextCharacterToken)if(s.Token.isTokenComment(A,u)){if(c.advancePastLine()===null)return{line:c.lineFromCursor,rows:l};if(!c.hasMoreCharacters)return{line:c.lineFromCursor,rows:l};c.truncateToCursor()}else if(!this.parseRow(c,l))break;return{line:c.line,rows:l}}},{key:"parseRow",value:function(c,u){if(!c.nextNonSpaceToken)return!1;var l=this.rowParser.parse(c);return l!==null&&(this.parserOptions.ignoreEmpty&&a.RowParser.isEmptyRow(l)||u.push(l),!0)}}],[{key:"removeBOM",value:function(c){return c&&c.charCodeAt(0)===65279?c.slice(1):c}}]),i}();t.Parser=o},{"./RowParser":157,"./Scanner":158,"./Token":159}],157:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.RowParser=void 0;var n=e("./column"),a=e("./Token"),s="",o=function(){function i(c){Fe(this,i),this.parserOptions=c,this.columnParser=new n.ColumnParser(c)}return Le(i,[{key:"parse",value:function(c){for(var u=this.parserOptions,l=c.hasMoreData,A=c,h=[],f=this.getStartToken(A,h);f;){if(a.Token.isTokenRowDelimiter(f))return A.advancePastToken(f),!A.hasMoreCharacters&&a.Token.isTokenCarriageReturn(f,u)&&l?null:(A.truncateToCursor(),h);if(!this.shouldSkipColumnParse(A,f,h)){var d=this.columnParser.parse(A);if(d===null)return null;h.push(d)}f=A.nextNonSpaceToken}return l?null:(A.truncateToCursor(),h)}},{key:"getStartToken",value:function(c,u){var l=c.nextNonSpaceToken;return l!==null&&a.Token.isTokenDelimiter(l,this.parserOptions)?(u.push(""),c.nextNonSpaceToken):l}},{key:"shouldSkipColumnParse",value:function(c,u,l){var A=this.parserOptions;if(a.Token.isTokenDelimiter(u,A)){c.advancePastToken(u);var h=c.nextCharacterToken;if(!c.hasMoreCharacters||h!==null&&a.Token.isTokenRowDelimiter(h)||h!==null&&a.Token.isTokenDelimiter(h,A))return l.push(""),!0}return!1}}],[{key:"isEmptyRow",value:function(c){return c.join(s).replace(/\s+/g,s)===s}}]),i}();t.RowParser=o},{"./Token":159,"./column":164}],158:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Scanner=void 0;var n=e("./Token"),a=/((?:\r\n)|\n|\r)/,s=function(){function o(i){Fe(this,o),this.cursor=0,this.line=i.line,this.lineLength=this.line.length,this.parserOptions=i.parserOptions,this.hasMoreData=i.hasMoreData,this.cursor=i.cursor||0}return Le(o,[{key:"hasMoreCharacters",get:function(){return this.lineLength>this.cursor}},{key:"nextNonSpaceToken",get:function(){var i=this.lineFromCursor,c=this.parserOptions.NEXT_TOKEN_REGEXP;if(i.search(c)===-1)return null;var u=c.exec(i);if(u==null)return null;var l=u[1],A=this.cursor+(u.index||0);return new n.Token({token:l,startCursor:A,endCursor:A+l.length-1})}},{key:"nextCharacterToken",get:function(){var i=this.cursor;return this.lineLength<=i?null:new n.Token({token:this.line[i],startCursor:i,endCursor:i})}},{key:"lineFromCursor",get:function(){return this.line.substr(this.cursor)}},{key:"advancePastLine",value:function(){var i=a.exec(this.lineFromCursor);return i?(this.cursor+=(i.index||0)+i[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}},{key:"advanceTo",value:function(i){return this.cursor=i,this}},{key:"advanceToToken",value:function(i){return this.cursor=i.startCursor,this}},{key:"advancePastToken",value:function(i){return this.cursor=i.endCursor+1,this}},{key:"truncateToCursor",value:function(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}]),o}();t.Scanner=s},{"./Token":159}],159:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Token=void 0;var n=function(){function a(s){Fe(this,a),this.token=s.token,this.startCursor=s.startCursor,this.endCursor=s.endCursor}return Le(a,null,[{key:"isTokenRowDelimiter",value:function(s){var o=s.token;return o==="\r"||o===`
  89. `||o===`\r
  90. `}},{key:"isTokenCarriageReturn",value:function(s,o){return s.token===o.carriageReturn}},{key:"isTokenComment",value:function(s,o){return o.supportsComments&&!!s&&s.token===o.comment}},{key:"isTokenEscapeCharacter",value:function(s,o){return s.token===o.escapeChar}},{key:"isTokenQuote",value:function(s,o){return s.token===o.quote}},{key:"isTokenDelimiter",value:function(s,o){return s.token===o.delimiter}}]),a}();t.Token=n},{}],160:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnFormatter=void 0;var n=Le(function a(s){Fe(this,a),s.trim?this.format=function(o){return o.trim()}:s.ltrim?this.format=function(o){return o.trimLeft()}:s.rtrim?this.format=function(o){return o.trimRight()}:this.format=function(o){return o}});t.ColumnFormatter=n},{}],161:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnParser=void 0;var n=e("./NonQuotedColumnParser"),a=e("./QuotedColumnParser"),s=e("../Token"),o=function(){function i(c){Fe(this,i),this.parserOptions=c,this.quotedColumnParser=new a.QuotedColumnParser(c),this.nonQuotedColumnParser=new n.NonQuotedColumnParser(c)}return Le(i,[{key:"parse",value:function(c){var u=c.nextNonSpaceToken;return u!==null&&s.Token.isTokenQuote(u,this.parserOptions)?(c.advanceToToken(u),this.quotedColumnParser.parse(c)):this.nonQuotedColumnParser.parse(c)}}]),i}();t.ColumnParser=o},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.NonQuotedColumnParser=void 0;var n=e("./ColumnFormatter"),a=e("../Token"),s=function(){function o(i){Fe(this,o),this.parserOptions=i,this.columnFormatter=new n.ColumnFormatter(i)}return Le(o,[{key:"parse",value:function(i){if(!i.hasMoreCharacters)return null;for(var c=this.parserOptions,u=[],l=i.nextCharacterToken;l&&!a.Token.isTokenDelimiter(l,c)&&!a.Token.isTokenRowDelimiter(l);l=i.nextCharacterToken)u.push(l.token),i.advancePastToken(l);return this.columnFormatter.format(u.join(""))}}]),o}();t.NonQuotedColumnParser=s},{"../Token":159,"./ColumnFormatter":160}],163:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.QuotedColumnParser=void 0;var n=e("./ColumnFormatter"),a=e("../Token"),s=function(){function o(i){Fe(this,o),this.parserOptions=i,this.columnFormatter=new n.ColumnFormatter(i)}return Le(o,[{key:"parse",value:function(i){if(!i.hasMoreCharacters)return null;var c=i.cursor,u=this.gatherDataBetweenQuotes(i),l=u.foundClosingQuote,A=u.col;if(!l){if(i.advanceTo(c),!i.hasMoreData)throw new Error("Parse Error: missing closing: '".concat(this.parserOptions.quote||"","' in line: at '").concat(i.lineFromCursor.replace(/[\r\n]/g,"\\n'"),"'"));return null}return this.checkForMalformedColumn(i),A}},{key:"gatherDataBetweenQuotes",value:function(i){for(var c=this.parserOptions,u=!1,l=!1,A=[],h=i.nextCharacterToken;!l&&h!==null;h=i.nextCharacterToken){var f=a.Token.isTokenQuote(h,c);if(!u&&f)u=!0;else if(u)if(a.Token.isTokenEscapeCharacter(h,c)){i.advancePastToken(h);var d=i.nextCharacterToken;d!==null&&(a.Token.isTokenQuote(d,c)||a.Token.isTokenEscapeCharacter(d,c))?(A.push(d.token),h=d):f?l=!0:A.push(h.token)}else f?l=!0:A.push(h.token);i.advancePastToken(h)}return{col:this.columnFormatter.format(A.join("")),foundClosingQuote:l}}},{key:"checkForMalformedColumn",value:function(i){var c=this.parserOptions,u=i.nextNonSpaceToken;if(u){var l=a.Token.isTokenDelimiter(u,c),A=a.Token.isTokenRowDelimiter(u);if(!l&&!A){var h=i.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error("Parse Error: expected: '".concat(c.escapedDelimiter,"' OR new line got: '").concat(u.token,"'. at '").concat(h))}i.advanceToToken(u)}else i.hasMoreData||i.advancePastLine()}}]),o}();t.QuotedColumnParser=s},{"../Token":159,"./ColumnFormatter":160}],164:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnFormatter=t.QuotedColumnParser=t.NonQuotedColumnParser=t.ColumnParser=void 0;var n=e("./ColumnParser");Object.defineProperty(t,"ColumnParser",{enumerable:!0,get:function(){return n.ColumnParser}});var a=e("./NonQuotedColumnParser");Object.defineProperty(t,"NonQuotedColumnParser",{enumerable:!0,get:function(){return a.NonQuotedColumnParser}});var s=e("./QuotedColumnParser");Object.defineProperty(t,"QuotedColumnParser",{enumerable:!0,get:function(){return s.QuotedColumnParser}});var o=e("./ColumnFormatter");Object.defineProperty(t,"ColumnFormatter",{enumerable:!0,get:function(){return o.ColumnFormatter}})},{"./ColumnFormatter":160,"./ColumnParser":161,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],165:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.QuotedColumnParser=t.NonQuotedColumnParser=t.ColumnParser=t.Token=t.Scanner=t.RowParser=t.Parser=void 0;var n=e("./Parser");Object.defineProperty(t,"Parser",{enumerable:!0,get:function(){return n.Parser}});var a=e("./RowParser");Object.defineProperty(t,"RowParser",{enumerable:!0,get:function(){return a.RowParser}});var s=e("./Scanner");Object.defineProperty(t,"Scanner",{enumerable:!0,get:function(){return s.Scanner}});var o=e("./Token");Object.defineProperty(t,"Token",{enumerable:!0,get:function(){return o.Token}});var i=e("./column");Object.defineProperty(t,"ColumnParser",{enumerable:!0,get:function(){return i.ColumnParser}}),Object.defineProperty(t,"NonQuotedColumnParser",{enumerable:!0,get:function(){return i.NonQuotedColumnParser}}),Object.defineProperty(t,"QuotedColumnParser",{enumerable:!0,get:function(){return i.QuotedColumnParser}})},{"./Parser":156,"./RowParser":157,"./Scanner":158,"./Token":159,"./column":164}],166:[function(e,r,t){var n=function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderTransformer=void 0;var a=n(e("lodash.isundefined")),s=n(e("lodash.isfunction")),o=n(e("lodash.uniq")),i=n(e("lodash.groupby")),c=function(){function u(l){Fe(this,u),this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=l,l.headers===!0?this.shouldUseFirstRow=!0:Array.isArray(l.headers)?this.setHeaders(l.headers):s.default(l.headers)&&(this.headersTransform=l.headers)}return Le(u,[{key:"transform",value:function(l,A){return this.shouldMapRow(l)?A(null,this.processRow(l)):A(null,{row:null,isValid:!0})}},{key:"shouldMapRow",value:function(l){var A=this.parserOptions;if(!this.headersTransform&&A.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(l)){if(this.headersTransform)this.setHeaders(this.headersTransform(l));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(l)}return!1}return!0}},{key:"processRow",value:function(l){if(!this.headers)return{row:l,isValid:!0};var A=this.parserOptions;if(!A.discardUnmappedColumns&&l.length>this.headersLength){if(!A.strictColumnHandling)throw new Error("Unexpected Error: column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(l.length));return{row:l,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(l.length)}}return A.strictColumnHandling&&l.length<this.headersLength?{row:l,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(l.length)}:{row:this.mapHeaders(l),isValid:!0}}},{key:"mapHeaders",value:function(l){for(var A={},h=this.headers,f=this.headersLength,d=0;d<f;d+=1){var g=h[d];if(!a.default(g)){var p=l[d];a.default(p)?A[g]="":A[g]=p}}return A}},{key:"setHeaders",value:function(l){var A,h=l.filter(function(g){return!!g});if(o.default(h).length!==h.length){var f=i.default(h),d=Object.keys(f).filter(function(g){return f[g].length>1});throw new Error("Duplicate headers found ".concat(JSON.stringify(d)))}this.headers=l,this.receivedHeaders=!0,this.headersLength=((A=this.headers)===null||A===void 0?void 0:A.length)||0}}]),u}();t.HeaderTransformer=c},{"lodash.groupby":443,"lodash.isfunction":446,"lodash.isundefined":448,"lodash.uniq":449}],167:[function(e,r,t){var n=function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.RowTransformerValidator=void 0;var a=n(e("lodash.isfunction")),s=e("../types"),o=function(){function i(){Fe(this,i),this._rowTransform=null,this._rowValidator=null}return Le(i,[{key:"rowTransform",set:function(c){if(!a.default(c))throw new TypeError("The transform should be a function");this._rowTransform=i.createTransform(c)}},{key:"rowValidator",set:function(c){if(!a.default(c))throw new TypeError("The validate should be a function");this._rowValidator=i.createValidator(c)}},{key:"transformAndValidate",value:function(c,u){var l=this;return this.callTransformer(c,function(A,h){return A?u(A):h?l.callValidator(h,function(f,d){return f?u(f):d&&!d.isValid?u(null,{row:h,isValid:!1,reason:d.reason}):u(null,{row:h,isValid:!0})}):u(null,{row:null,isValid:!0})})}},{key:"callTransformer",value:function(c,u){return this._rowTransform?this._rowTransform(c,u):u(null,c)}},{key:"callValidator",value:function(c,u){return this._rowValidator?this._rowValidator(c,u):u(null,{row:c,isValid:!0})}}],[{key:"createTransform",value:function(c){return s.isSyncTransform(c)?function(u,l){var A=null;try{A=c(u)}catch(h){return l(h)}return l(null,A)}:c}},{key:"createValidator",value:function(c){return s.isSyncValidate(c)?function(u,l){l(null,{row:u,isValid:c(u)})}:function(u,l){c(u,function(A,h,f){return A?l(A):l(null,h?{row:u,isValid:h,reason:f}:{row:u,isValid:!1,reason:f})})}}}]),i}();t.RowTransformerValidator=o},{"../types":169,"lodash.isfunction":446}],168:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderTransformer=t.RowTransformerValidator=void 0;var n=e("./RowTransformerValidator");Object.defineProperty(t,"RowTransformerValidator",{enumerable:!0,get:function(){return n.RowTransformerValidator}});var a=e("./HeaderTransformer");Object.defineProperty(t,"HeaderTransformer",{enumerable:!0,get:function(){return a.HeaderTransformer}})},{"./HeaderTransformer":166,"./RowTransformerValidator":167}],169:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isSyncValidate=t.isSyncTransform=void 0,t.isSyncTransform=function(n){return n.length===1},t.isSyncValidate=function(n){return n.length===1}},{}],170:[function(e,r,t){var n=t;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":171,"./asn1/base":173,"./asn1/constants":177,"./asn1/decoders":179,"./asn1/encoders":182,"bn.js":184}],171:[function(e,r,t){var n=e("./encoders"),a=e("./decoders"),s=e("inherits");function o(i,c){this.name=i,this.body=c,this.decoders={},this.encoders={}}t.define=function(i,c){return new o(i,c)},o.prototype._createNamed=function(i){var c=this.name;function u(l){this._initNamed(l,c)}return s(u,i),u.prototype._initNamed=function(l,A){i.call(this,l,A)},new u(this)},o.prototype._getDecoder=function(i){return i=i||"der",this.decoders.hasOwnProperty(i)||(this.decoders[i]=this._createNamed(a[i])),this.decoders[i]},o.prototype.decode=function(i,c,u){return this._getDecoder(c).decode(i,u)},o.prototype._getEncoder=function(i){return i=i||"der",this.encoders.hasOwnProperty(i)||(this.encoders[i]=this._createNamed(n[i])),this.encoders[i]},o.prototype.encode=function(i,c,u){return this._getEncoder(c).encode(i,u)}},{"./decoders":179,"./encoders":182,inherits:440}],172:[function(e,r,t){var n=e("inherits"),a=e("../base/reporter").Reporter,s=e("safer-buffer").Buffer;function o(c,u){a.call(this,u),s.isBuffer(c)?(this.base=c,this.offset=0,this.length=c.length):this.error("Input not Buffer")}function i(c,u){if(Array.isArray(c))this.length=0,this.value=c.map(function(l){return i.isEncoderBuffer(l)||(l=new i(l,u)),this.length+=l.length,l},this);else if(typeof c=="number"){if(!(0<=c&&c<=255))return u.error("non-byte EncoderBuffer value");this.value=c,this.length=1}else if(typeof c=="string")this.value=c,this.length=s.byteLength(c);else{if(!s.isBuffer(c))return u.error("Unsupported type: "+typeof c);this.value=c,this.length=c.length}}n(o,a),t.DecoderBuffer=o,o.isDecoderBuffer=function(c){return c instanceof o||typeof c=="object"&&s.isBuffer(c.base)&&c.constructor.name==="DecoderBuffer"&&typeof c.offset=="number"&&typeof c.length=="number"&&typeof c.save=="function"&&typeof c.restore=="function"&&typeof c.isEmpty=="function"&&typeof c.readUInt8=="function"&&typeof c.skip=="function"&&typeof c.raw=="function"},o.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},o.prototype.restore=function(c){var u=new o(this.base);return u.offset=c.offset,u.length=this.offset,this.offset=c.offset,a.prototype.restore.call(this,c.reporter),u},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(c){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(c||"DecoderBuffer overrun")},o.prototype.skip=function(c,u){if(!(this.offset+c<=this.length))return this.error(u||"DecoderBuffer overrun");var l=new o(this.base);return l._reporterState=this._reporterState,l.offset=this.offset,l.length=this.offset+c,this.offset+=c,l},o.prototype.raw=function(c){return this.base.slice(c?c.offset:this.offset,this.length)},t.EncoderBuffer=i,i.isEncoderBuffer=function(c){return c instanceof i||typeof c=="object"&&c.constructor.name==="EncoderBuffer"&&typeof c.length=="number"&&typeof c.join=="function"},i.prototype.join=function(c,u){return c||(c=s.alloc(this.length)),u||(u=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(l){l.join(c,u),u+=l.length}):(typeof this.value=="number"?c[u]=this.value:typeof this.value=="string"?c.write(this.value,u):s.isBuffer(this.value)&&this.value.copy(c,u),u+=this.length)),c}},{"../base/reporter":175,inherits:440,"safer-buffer":495}],173:[function(e,r,t){var n=t;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":172,"./node":174,"./reporter":175}],174:[function(e,r,t){var n=e("../base/reporter").Reporter,a=e("../base/buffer").EncoderBuffer,s=e("../base/buffer").DecoderBuffer,o=e("minimalistic-assert"),i=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(i),u=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function l(h,f,d){var g={};this._baseState=g,g.name=d,g.enc=h,g.parent=f||null,g.children=null,g.tag=null,g.args=null,g.reverseArgs=null,g.choice=null,g.optional=!1,g.any=!1,g.obj=!1,g.use=null,g.useDecoder=null,g.key=null,g.default=null,g.explicit=null,g.implicit=null,g.contains=null,g.parent||(g.children=[],this._wrap())}r.exports=l;var A=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var h=this._baseState,f={};A.forEach(function(g){f[g]=h[g]});var d=new this.constructor(f.parent);return d._baseState=f,d},l.prototype._wrap=function(){var h=this._baseState;c.forEach(function(f){this[f]=function(){var d=new this.constructor(this);return h.children.push(d),d[f].apply(d,arguments)}},this)},l.prototype._init=function(h){var f=this._baseState;o(f.parent===null),h.call(this),f.children=f.children.filter(function(d){return d._baseState.parent===this},this),o.equal(f.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(h){var f=this._baseState,d=h.filter(function(g){return g instanceof this.constructor},this);h=h.filter(function(g){return!(g instanceof this.constructor)},this),d.length!==0&&(o(f.children===null),f.children=d,d.forEach(function(g){g._baseState.parent=this},this)),h.length!==0&&(o(f.args===null),f.args=h,f.reverseArgs=h.map(function(g){if(typeof g!="object"||g.constructor!==Object)return g;var p={};return Object.keys(g).forEach(function(m){m==(0|m)&&(m|=0);var v=g[m];p[v]=m}),p}))},u.forEach(function(h){l.prototype[h]=function(){var f=this._baseState;throw new Error(h+" not implemented for encoding: "+f.enc)}}),i.forEach(function(h){l.prototype[h]=function(){var f=this._baseState,d=Array.prototype.slice.call(arguments);return o(f.tag===null),f.tag=h,this._useArgs(d),this}}),l.prototype.use=function(h){o(h);var f=this._baseState;return o(f.use===null),f.use=h,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(h){var f=this._baseState;return o(f.default===null),f.default=h,f.optional=!0,this},l.prototype.explicit=function(h){var f=this._baseState;return o(f.explicit===null&&f.implicit===null),f.explicit=h,this},l.prototype.implicit=function(h){var f=this._baseState;return o(f.explicit===null&&f.implicit===null),f.implicit=h,this},l.prototype.obj=function(){var h=this._baseState,f=Array.prototype.slice.call(arguments);return h.obj=!0,f.length!==0&&this._useArgs(f),this},l.prototype.key=function(h){var f=this._baseState;return o(f.key===null),f.key=h,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(h){var f=this._baseState;return o(f.choice===null),f.choice=h,this._useArgs(Object.keys(h).map(function(d){return h[d]})),this},l.prototype.contains=function(h){var f=this._baseState;return o(f.use===null),f.contains=h,this},l.prototype._decode=function(h,f){var d=this._baseState;if(d.parent===null)return h.wrapResult(d.children[0]._decode(h,f));var g,p=d.default,m=!0,v=null;if(d.key!==null&&(v=h.enterKey(d.key)),d.optional){var y=null;if(d.explicit!==null?y=d.explicit:d.implicit!==null?y=d.implicit:d.tag!==null&&(y=d.tag),y!==null||d.any){if(m=this._peekTag(h,y,d.any),h.isError(m))return m}else{var I=h.save();try{d.choice===null?this._decodeGeneric(d.tag,h,f):this._decodeChoice(h,f),m=!0}catch{m=!1}h.restore(I)}}if(d.obj&&m&&(g=h.enterObject()),m){if(d.explicit!==null){var E=this._decodeTag(h,d.explicit);if(h.isError(E))return E;h=E}var k=h.offset;if(d.use===null&&d.choice===null){var R;d.any&&(R=h.save());var T=this._decodeTag(h,d.implicit!==null?d.implicit:d.tag,d.any);if(h.isError(T))return T;d.any?p=h.raw(R):h=T}if(f&&f.track&&d.tag!==null&&f.track(h.path(),k,h.length,"tagged"),f&&f.track&&d.tag!==null&&f.track(h.path(),h.offset,h.length,"content"),d.any||(p=d.choice===null?this._decodeGeneric(d.tag,h,f):this._decodeChoice(h,f)),h.isError(p))return p;if(d.any||d.choice!==null||d.children===null||d.children.forEach(function(W){W._decode(h,f)}),d.contains&&(d.tag==="octstr"||d.tag==="bitstr")){var j=new s(p);p=this._getUse(d.contains,h._reporterState.obj)._decode(j,f)}}return d.obj&&m&&(p=h.leaveObject(g)),d.key===null||p===null&&m!==!0?v!==null&&h.exitKey(v):h.leaveKey(v,d.key,p),p},l.prototype._decodeGeneric=function(h,f,d){var g=this._baseState;return h==="seq"||h==="set"?null:h==="seqof"||h==="setof"?this._decodeList(f,h,g.args[0],d):/str$/.test(h)?this._decodeStr(f,h,d):h==="objid"&&g.args?this._decodeObjid(f,g.args[0],g.args[1],d):h==="objid"?this._decodeObjid(f,null,null,d):h==="gentime"||h==="utctime"?this._decodeTime(f,h,d):h==="null_"?this._decodeNull(f,d):h==="bool"?this._decodeBool(f,d):h==="objDesc"?this._decodeStr(f,h,d):h==="int"||h==="enum"?this._decodeInt(f,g.args&&g.args[0],d):g.use!==null?this._getUse(g.use,f._reporterState.obj)._decode(f,d):f.error("unknown tag: "+h)},l.prototype._getUse=function(h,f){var d=this._baseState;return d.useDecoder=this._use(h,f),o(d.useDecoder._baseState.parent===null),d.useDecoder=d.useDecoder._baseState.children[0],d.implicit!==d.useDecoder._baseState.implicit&&(d.useDecoder=d.useDecoder.clone(),d.useDecoder._baseState.implicit=d.implicit),d.useDecoder},l.prototype._decodeChoice=function(h,f){var d=this._baseState,g=null,p=!1;return Object.keys(d.choice).some(function(m){var v=h.save(),y=d.choice[m];try{var I=y._decode(h,f);if(h.isError(I))return!1;g={type:m,value:I},p=!0}catch{return h.restore(v),!1}return!0},this),p?g:h.error("Choice not matched")},l.prototype._createEncoderBuffer=function(h){return new a(h,this.reporter)},l.prototype._encode=function(h,f,d){var g=this._baseState;if(g.default===null||g.default!==h){var p=this._encodeValue(h,f,d);if(p!==void 0&&!this._skipDefault(p,f,d))return p}},l.prototype._encodeValue=function(h,f,d){var g=this._baseState;if(g.parent===null)return g.children[0]._encode(h,f||new n);var p=null;if(this.reporter=f,g.optional&&h===void 0){if(g.default===null)return;h=g.default}var m=null,v=!1;if(g.any)p=this._createEncoderBuffer(h);else if(g.choice)p=this._encodeChoice(h,f);else if(g.contains)m=this._getUse(g.contains,d)._encode(h,f),v=!0;else if(g.children)m=g.children.map(function(k){if(k._baseState.tag==="null_")return k._encode(null,f,h);if(k._baseState.key===null)return f.error("Child should have a key");var R=f.enterKey(k._baseState.key);if(typeof h!="object")return f.error("Child expected, but input is not object");var T=k._encode(h[k._baseState.key],f,h);return f.leaveKey(R),T},this).filter(function(k){return k}),m=this._createEncoderBuffer(m);else if(g.tag==="seqof"||g.tag==="setof"){if(!g.args||g.args.length!==1)return f.error("Too many args for : "+g.tag);if(!Array.isArray(h))return f.error("seqof/setof, but data is not Array");var y=this.clone();y._baseState.implicit=null,m=this._createEncoderBuffer(h.map(function(k){var R=this._baseState;return this._getUse(R.args[0],h)._encode(k,f)},y))}else g.use!==null?p=this._getUse(g.use,d)._encode(h,f):(m=this._encodePrimitive(g.tag,h),v=!0);if(!g.any&&g.choice===null){var I=g.implicit!==null?g.implicit:g.tag,E=g.implicit===null?"universal":"context";I===null?g.use===null&&f.error("Tag could be omitted only for .use()"):g.use===null&&(p=this._encodeComposite(I,v,E,m))}return g.explicit!==null&&(p=this._encodeComposite(g.explicit,!1,"context",p)),p},l.prototype._encodeChoice=function(h,f){var d=this._baseState,g=d.choice[h.type];return g||o(!1,h.type+" not found in "+JSON.stringify(Object.keys(d.choice))),g._encode(h.value,f)},l.prototype._encodePrimitive=function(h,f){var d=this._baseState;if(/str$/.test(h))return this._encodeStr(f,h);if(h==="objid"&&d.args)return this._encodeObjid(f,d.reverseArgs[0],d.args[1]);if(h==="objid")return this._encodeObjid(f,null,null);if(h==="gentime"||h==="utctime")return this._encodeTime(f,h);if(h==="null_")return this._encodeNull();if(h==="int"||h==="enum")return this._encodeInt(f,d.args&&d.reverseArgs[0]);if(h==="bool")return this._encodeBool(f);if(h==="objDesc")return this._encodeStr(f,h);throw new Error("Unsupported tag: "+h)},l.prototype._isNumstr=function(h){return/^[0-9 ]*$/.test(h)},l.prototype._isPrintstr=function(h){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(h)}},{"../base/buffer":172,"../base/reporter":175,"minimalistic-assert":453}],175:[function(e,r,t){var n=e("inherits");function a(o){this._reporterState={obj:null,path:[],options:o||{},errors:[]}}function s(o,i){this.path=o,this.rethrow(i)}t.Reporter=a,a.prototype.isError=function(o){return o instanceof s},a.prototype.save=function(){var o=this._reporterState;return{obj:o.obj,pathLen:o.path.length}},a.prototype.restore=function(o){var i=this._reporterState;i.obj=o.obj,i.path=i.path.slice(0,o.pathLen)},a.prototype.enterKey=function(o){return this._reporterState.path.push(o)},a.prototype.exitKey=function(o){var i=this._reporterState;i.path=i.path.slice(0,o-1)},a.prototype.leaveKey=function(o,i,c){var u=this._reporterState;this.exitKey(o),u.obj!==null&&(u.obj[i]=c)},a.prototype.path=function(){return this._reporterState.path.join("/")},a.prototype.enterObject=function(){var o=this._reporterState,i=o.obj;return o.obj={},i},a.prototype.leaveObject=function(o){var i=this._reporterState,c=i.obj;return i.obj=o,c},a.prototype.error=function(o){var i,c=this._reporterState,u=o instanceof s;if(i=u?o:new s(c.path.map(function(l){return"["+JSON.stringify(l)+"]"}).join(""),o.message||o,o.stack),!c.options.partial)throw i;return u||c.errors.push(i),i},a.prototype.wrapResult=function(o){var i=this._reporterState;return i.options.partial?{result:this.isError(o)?null:o,errors:i.errors}:o},n(s,Error),s.prototype.rethrow=function(o){if(this.message=o+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,s),!this.stack)try{throw new Error(this.message)}catch(i){this.stack=i.stack}return this}},{inherits:440}],176:[function(e,r,t){function n(a){var s={};return Object.keys(a).forEach(function(o){(0|o)==o&&(o|=0);var i=a[o];s[i]=o}),s}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},{}],177:[function(e,r,t){var n=t;n._reverse=function(a){var s={};return Object.keys(a).forEach(function(o){(0|o)==o&&(o|=0);var i=a[o];s[i]=o}),s},n.der=e("./der")},{"./der":176}],178:[function(e,r,t){var n=e("inherits"),a=e("bn.js"),s=e("../base/buffer").DecoderBuffer,o=e("../base/node"),i=e("../constants/der");function c(h){this.enc="der",this.name=h.name,this.entity=h,this.tree=new u,this.tree._init(h.body)}function u(h){o.call(this,"der",h)}function l(h,f){var d=h.readUInt8(f);if(h.isError(d))return d;var g=i.tagClass[d>>6],p=(32&d)==0;if((31&d)==31){var m=d;for(d=0;(128&m)==128;){if(m=h.readUInt8(f),h.isError(m))return m;d<<=7,d|=127&m}}else d&=31;return{cls:g,primitive:p,tag:d,tagStr:i.tag[d]}}function A(h,f,d){var g=h.readUInt8(d);if(h.isError(g))return g;if(!f&&g===128)return null;if(!(128&g))return g;var p=127&g;if(p>4)return h.error("length octect is too long");g=0;for(var m=0;m<p;m++){g<<=8;var v=h.readUInt8(d);if(h.isError(v))return v;g|=v}return g}r.exports=c,c.prototype.decode=function(h,f){return s.isDecoderBuffer(h)||(h=new s(h,f)),this.tree._decode(h,f)},n(u,o),u.prototype._peekTag=function(h,f,d){if(h.isEmpty())return!1;var g=h.save(),p=l(h,'Failed to peek tag: "'+f+'"');return h.isError(p)?p:(h.restore(g),p.tag===f||p.tagStr===f||p.tagStr+"of"===f||d)},u.prototype._decodeTag=function(h,f,d){var g=l(h,'Failed to decode tag of "'+f+'"');if(h.isError(g))return g;var p=A(h,g.primitive,'Failed to get length of "'+f+'"');if(h.isError(p))return p;if(!d&&g.tag!==f&&g.tagStr!==f&&g.tagStr+"of"!==f)return h.error('Failed to match tag: "'+f+'"');if(g.primitive||p!==null)return h.skip(p,'Failed to match body of: "'+f+'"');var m=h.save(),v=this._skipUntilEnd(h,'Failed to skip indefinite length body: "'+this.tag+'"');return h.isError(v)?v:(p=h.offset-m.offset,h.restore(m),h.skip(p,'Failed to match body of: "'+f+'"'))},u.prototype._skipUntilEnd=function(h,f){for(;;){var d=l(h,f);if(h.isError(d))return d;var g=A(h,d.primitive,f);if(h.isError(g))return g;var p=void 0;if(p=d.primitive||g!==null?h.skip(g):this._skipUntilEnd(h,f),h.isError(p))return p;if(d.tagStr==="end")break}},u.prototype._decodeList=function(h,f,d,g){for(var p=[];!h.isEmpty();){var m=this._peekTag(h,"end");if(h.isError(m))return m;var v=d.decode(h,"der",g);if(h.isError(v)&&m)break;p.push(v)}return p},u.prototype._decodeStr=function(h,f){if(f==="bitstr"){var d=h.readUInt8();return h.isError(d)?d:{unused:d,data:h.raw()}}if(f==="bmpstr"){var g=h.raw();if(g.length%2==1)return h.error("Decoding of string type: bmpstr length mismatch");for(var p="",m=0;m<g.length/2;m++)p+=String.fromCharCode(g.readUInt16BE(2*m));return p}if(f==="numstr"){var v=h.raw().toString("ascii");return this._isNumstr(v)?v:h.error("Decoding of string type: numstr unsupported characters")}if(f==="octstr"||f==="objDesc")return h.raw();if(f==="printstr"){var y=h.raw().toString("ascii");return this._isPrintstr(y)?y:h.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(f)?h.raw().toString():h.error("Decoding of string type: "+f+" unsupported")},u.prototype._decodeObjid=function(h,f,d){for(var g,p=[],m=0,v=0;!h.isEmpty();)m<<=7,m|=127&(v=h.readUInt8()),!(128&v)&&(p.push(m),m=0);128&v&&p.push(m);var y=p[0]/40|0,I=p[0]%40;if(g=d?p:[y,I].concat(p.slice(1)),f){var E=f[g.join(" ")];E===void 0&&(E=f[g.join(".")]),E!==void 0&&(g=E)}return g},u.prototype._decodeTime=function(h,f){var d,g,p,m,v,y,I=h.raw().toString();if(f==="gentime")d=0|I.slice(0,4),g=0|I.slice(4,6),p=0|I.slice(6,8),m=0|I.slice(8,10),v=0|I.slice(10,12),y=0|I.slice(12,14);else{if(f!=="utctime")return h.error("Decoding "+f+" time is not supported yet");d=0|I.slice(0,2),g=0|I.slice(2,4),p=0|I.slice(4,6),m=0|I.slice(6,8),v=0|I.slice(8,10),y=0|I.slice(10,12),d=d<70?2e3+d:1900+d}return Date.UTC(d,g-1,p,m,v,y,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(h){var f=h.readUInt8();return h.isError(f)?f:f!==0},u.prototype._decodeInt=function(h,f){var d=h.raw(),g=new a(d);return f&&(g=f[g.toString(10)]||g),g},u.prototype._use=function(h,f){return typeof h=="function"&&(h=h(f)),h._getDecoder("der").tree}},{"../base/buffer":172,"../base/node":174,"../constants/der":176,"bn.js":184,inherits:440}],179:[function(e,r,t){var n=t;n.der=e("./der"),n.pem=e("./pem")},{"./der":178,"./pem":180}],180:[function(e,r,t){var n=e("inherits"),a=e("safer-buffer").Buffer,s=e("./der");function o(i){s.call(this,i),this.enc="pem"}n(o,s),r.exports=o,o.prototype.decode=function(i,c){for(var u=i.toString().split(/[\r\n]+/g),l=c.label.toUpperCase(),A=/^-----(BEGIN|END) ([^-]+)-----$/,h=-1,f=-1,d=0;d<u.length;d++){var g=u[d].match(A);if(g!==null&&g[2]===l){if(h!==-1){if(g[1]!=="END")break;f=d;break}if(g[1]!=="BEGIN")break;h=d}}if(h===-1||f===-1)throw new Error("PEM section not found for: "+l);var p=u.slice(h+1,f).join("");p.replace(/[^a-z0-9+/=]+/gi,"");var m=a.from(p,"base64");return s.prototype.decode.call(this,m,c)}},{"./der":178,inherits:440,"safer-buffer":495}],181:[function(e,r,t){var n=e("inherits"),a=e("safer-buffer").Buffer,s=e("../base/node"),o=e("../constants/der");function i(A){this.enc="der",this.name=A.name,this.entity=A,this.tree=new c,this.tree._init(A.body)}function c(A){s.call(this,"der",A)}function u(A){return A<10?"0"+A:A}function l(A,h,f,d){var g;if(A==="seqof"?A="seq":A==="setof"&&(A="set"),o.tagByName.hasOwnProperty(A))g=o.tagByName[A];else{if(typeof A!="number"||(0|A)!==A)return d.error("Unknown tag: "+A);g=A}return g>=31?d.error("Multi-octet tag encoding unsupported"):(h||(g|=32),g|=o.tagClassByName[f||"universal"]<<6)}r.exports=i,i.prototype.encode=function(A,h){return this.tree._encode(A,h).join()},n(c,s),c.prototype._encodeComposite=function(A,h,f,d){var g=l(A,h,f,this.reporter);if(d.length<128){var p=a.alloc(2);return p[0]=g,p[1]=d.length,this._createEncoderBuffer([p,d])}for(var m=1,v=d.length;v>=256;v>>=8)m++;var y=a.alloc(2+m);y[0]=g,y[1]=128|m;for(var I=1+m,E=d.length;E>0;I--,E>>=8)y[I]=255&E;return this._createEncoderBuffer([y,d])},c.prototype._encodeStr=function(A,h){if(h==="bitstr")return this._createEncoderBuffer([0|A.unused,A.data]);if(h==="bmpstr"){for(var f=a.alloc(2*A.length),d=0;d<A.length;d++)f.writeUInt16BE(A.charCodeAt(d),2*d);return this._createEncoderBuffer(f)}return h==="numstr"?this._isNumstr(A)?this._createEncoderBuffer(A):this.reporter.error("Encoding of string type: numstr supports only digits and space"):h==="printstr"?this._isPrintstr(A)?this._createEncoderBuffer(A):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(h)||h==="objDesc"?this._createEncoderBuffer(A):this.reporter.error("Encoding of string type: "+h+" unsupported")},c.prototype._encodeObjid=function(A,h,f){if(typeof A=="string"){if(!h)return this.reporter.error("string objid given, but no values map found");if(!h.hasOwnProperty(A))return this.reporter.error("objid not found in values map");A=h[A].split(/[\s.]+/g);for(var d=0;d<A.length;d++)A[d]|=0}else if(Array.isArray(A)){A=A.slice();for(var g=0;g<A.length;g++)A[g]|=0}if(!Array.isArray(A))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(A));if(!f){if(A[1]>=40)return this.reporter.error("Second objid identifier OOB");A.splice(0,2,40*A[0]+A[1])}for(var p=0,m=0;m<A.length;m++){var v=A[m];for(p++;v>=128;v>>=7)p++}for(var y=a.alloc(p),I=y.length-1,E=A.length-1;E>=0;E--){var k=A[E];for(y[I--]=127&k;(k>>=7)>0;)y[I--]=128|127&k}return this._createEncoderBuffer(y)},c.prototype._encodeTime=function(A,h){var f,d=new Date(A);return h==="gentime"?f=[u(d.getUTCFullYear()),u(d.getUTCMonth()+1),u(d.getUTCDate()),u(d.getUTCHours()),u(d.getUTCMinutes()),u(d.getUTCSeconds()),"Z"].join(""):h==="utctime"?f=[u(d.getUTCFullYear()%100),u(d.getUTCMonth()+1),u(d.getUTCDate()),u(d.getUTCHours()),u(d.getUTCMinutes()),u(d.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+h+" time is not supported yet"),this._encodeStr(f,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(A,h){if(typeof A=="string"){if(!h)return this.reporter.error("String int or enum given, but no values map");if(!h.hasOwnProperty(A))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(A));A=h[A]}if(typeof A!="number"&&!a.isBuffer(A)){var f=A.toArray();!A.sign&&128&f[0]&&f.unshift(0),A=a.from(f)}if(a.isBuffer(A)){var d=A.length;A.length===0&&d++;var g=a.alloc(d);return A.copy(g),A.length===0&&(g[0]=0),this._createEncoderBuffer(g)}if(A<128)return this._createEncoderBuffer(A);if(A<256)return this._createEncoderBuffer([0,A]);for(var p=1,m=A;m>=256;m>>=8)p++;for(var v=new Array(p),y=v.length-1;y>=0;y--)v[y]=255&A,A>>=8;return 128&v[0]&&v.unshift(0),this._createEncoderBuffer(a.from(v))},c.prototype._encodeBool=function(A){return this._createEncoderBuffer(A?255:0)},c.prototype._use=function(A,h){return typeof A=="function"&&(A=A(h)),A._getEncoder("der").tree},c.prototype._skipDefault=function(A,h,f){var d,g=this._baseState;if(g.default===null)return!1;var p=A.join();if(g.defaultBuffer===void 0&&(g.defaultBuffer=this._encodeValue(g.default,h,f).join()),p.length!==g.defaultBuffer.length)return!1;for(d=0;d<p.length;d++)if(p[d]!==g.defaultBuffer[d])return!1;return!0}},{"../base/node":174,"../constants/der":176,inherits:440,"safer-buffer":495}],182:[function(e,r,t){var n=t;n.der=e("./der"),n.pem=e("./pem")},{"./der":181,"./pem":183}],183:[function(e,r,t){var n=e("inherits"),a=e("./der");function s(o){a.call(this,o),this.enc="pem"}n(s,a),r.exports=s,s.prototype.encode=function(o,i){for(var c=a.prototype.encode.call(this,o).toString("base64"),u=["-----BEGIN "+i.label+"-----"],l=0;l<c.length;l+=64)u.push(c.slice(l,l+64));return u.push("-----END "+i.label+"-----"),u.join(`
  91. `)}},{"./der":181,inherits:440}],184:[function(e,r,t){(function(n,a){function s(x,N){if(!x)throw new Error(N||"Assertion failed")}function o(x,N){x.super_=N;var C=function(){};C.prototype=N.prototype,x.prototype=new C,x.prototype.constructor=x}function i(x,N,C){if(i.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(N!=="le"&&N!=="be"||(C=N,N=10),this._init(x||0,N||10,C||"be"))}var c;typeof n=="object"?n.exports=i:a.BN=i,i.BN=i,i.wordSize=26;try{c=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:e("buffer").Buffer}catch{}function u(x,N){var C=x.charCodeAt(N);return C>=65&&C<=70?C-55:C>=97&&C<=102?C-87:C-48&15}function l(x,N,C){var w=u(x,C);return C-1>=N&&(w|=u(x,C-1)<<4),w}function A(x,N,C,w){for(var Q=0,B=Math.min(x.length,C),S=N;S<B;S++){var O=x.charCodeAt(S)-48;Q*=w,Q+=O>=49?O-49+10:O>=17?O-17+10:O}return Q}i.isBN=function(x){return x instanceof i||x!==null&&typeof x=="object"&&x.constructor.wordSize===i.wordSize&&Array.isArray(x.words)},i.max=function(x,N){return x.cmp(N)>0?x:N},i.min=function(x,N){return x.cmp(N)<0?x:N},i.prototype._init=function(x,N,C){if(typeof x=="number")return this._initNumber(x,N,C);if(typeof x=="object")return this._initArray(x,N,C);N==="hex"&&(N=16),s(N===(0|N)&&N>=2&&N<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w<x.length&&(N===16?this._parseHex(x,w,C):(this._parseBase(x,N,w),C==="le"&&this._initArray(this.toArray(),N,C)))},i.prototype._initNumber=function(x,N,C){x<0&&(this.negative=1,x=-x),x<67108864?(this.words=[67108863&x],this.length=1):x<4503599627370496?(this.words=[67108863&x,x/67108864&67108863],this.length=2):(s(x<9007199254740992),this.words=[67108863&x,x/67108864&67108863,1],this.length=3),C==="le"&&this._initArray(this.toArray(),N,C)},i.prototype._initArray=function(x,N,C){if(s(typeof x.length=="number"),x.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(x.length/3),this.words=new Array(this.length);for(var w=0;w<this.length;w++)this.words[w]=0;var Q,B,S=0;if(C==="be")for(w=x.length-1,Q=0;w>=0;w-=3)B=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[Q]|=B<<S&67108863,this.words[Q+1]=B>>>26-S&67108863,(S+=24)>=26&&(S-=26,Q++);else if(C==="le")for(w=0,Q=0;w<x.length;w+=3)B=x[w]|x[w+1]<<8|x[w+2]<<16,this.words[Q]|=B<<S&67108863,this.words[Q+1]=B>>>26-S&67108863,(S+=24)>=26&&(S-=26,Q++);return this.strip()},i.prototype._parseHex=function(x,N,C){this.length=Math.ceil((x.length-N)/6),this.words=new Array(this.length);for(var w=0;w<this.length;w++)this.words[w]=0;var Q,B=0,S=0;if(C==="be")for(w=x.length-1;w>=N;w-=2)Q=l(x,N,w)<<B,this.words[S]|=67108863&Q,B>=18?(B-=18,S+=1,this.words[S]|=Q>>>26):B+=8;else for(w=(x.length-N)%2==0?N+1:N;w<x.length;w+=2)Q=l(x,N,w)<<B,this.words[S]|=67108863&Q,B>=18?(B-=18,S+=1,this.words[S]|=Q>>>26):B+=8;this.strip()},i.prototype._parseBase=function(x,N,C){this.words=[0],this.length=1;for(var w=0,Q=1;Q<=67108863;Q*=N)w++;w--,Q=Q/N|0;for(var B=x.length-C,S=B%w,O=Math.min(B,B-S)+C,F=0,Y=C;Y<O;Y+=w)F=A(x,Y,Y+w,N),this.imuln(Q),this.words[0]+F<67108864?this.words[0]+=F:this._iaddn(F);if(S!==0){var M=1;for(F=A(x,Y,x.length,N),Y=0;Y<S;Y++)M*=N;this.imuln(M),this.words[0]+F<67108864?this.words[0]+=F:this._iaddn(F)}this.strip()},i.prototype.copy=function(x){x.words=new Array(this.length);for(var N=0;N<this.length;N++)x.words[N]=this.words[N];x.length=this.length,x.negative=this.negative,x.red=this.red},i.prototype.clone=function(){var x=new i(null);return this.copy(x),x},i.prototype._expand=function(x){for(;this.length<x;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function g(x){for(var N=new Array(x.bitLength()),C=0;C<N.length;C++){var w=C/26|0,Q=C%26;N[C]=(x.words[w]&1<<Q)>>>Q}return N}function p(x,N,C){C.negative=N.negative^x.negative;var w=x.length+N.length|0;C.length=w,w=w-1|0;var Q=0|x.words[0],B=0|N.words[0],S=Q*B,O=67108863&S,F=S/67108864|0;C.words[0]=O;for(var Y=1;Y<w;Y++){for(var M=F>>>26,z=67108863&F,ue=Math.min(Y,N.length-1),ae=Math.max(0,Y-x.length+1);ae<=ue;ae++){var Ne=Y-ae|0;M+=(S=(Q=0|x.words[Ne])*(B=0|N.words[ae])+z)/67108864|0,z=67108863&S}C.words[Y]=0|z,F=0|M}return F!==0?C.words[Y]=0|F:C.length--,C.strip()}i.prototype.toString=function(x,N){var C;if(N=0|N||1,(x=x||10)===16||x==="hex"){C="";for(var w=0,Q=0,B=0;B<this.length;B++){var S=this.words[B],O=(16777215&(S<<w|Q)).toString(16);C=(Q=S>>>24-w&16777215)!=0||B!==this.length-1?h[6-O.length]+O+C:O+C,(w+=2)>=26&&(w-=26,B--)}for(Q!==0&&(C=Q.toString(16)+C);C.length%N!=0;)C="0"+C;return this.negative!==0&&(C="-"+C),C}if(x===(0|x)&&x>=2&&x<=36){var F=f[x],Y=d[x];C="";var M=this.clone();for(M.negative=0;!M.isZero();){var z=M.modn(Y).toString(x);C=(M=M.idivn(Y)).isZero()?z+C:h[F-z.length]+z+C}for(this.isZero()&&(C="0"+C);C.length%N!=0;)C="0"+C;return this.negative!==0&&(C="-"+C),C}s(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(x,N){return s(c!==void 0),this.toArrayLike(c,x,N)},i.prototype.toArray=function(x,N){return this.toArrayLike(Array,x,N)},i.prototype.toArrayLike=function(x,N,C){var w=this.byteLength(),Q=C||Math.max(1,w);s(w<=Q,"byte array longer than desired length"),s(Q>0,"Requested array length <= 0"),this.strip();var B,S,O=N==="le",F=new x(Q),Y=this.clone();if(O){for(S=0;!Y.isZero();S++)B=Y.andln(255),Y.iushrn(8),F[S]=B;for(;S<Q;S++)F[S]=0}else{for(S=0;S<Q-w;S++)F[S]=0;for(S=0;!Y.isZero();S++)B=Y.andln(255),Y.iushrn(8),F[Q-S-1]=B}return F},Math.clz32?i.prototype._countBits=function(x){return 32-Math.clz32(x)}:i.prototype._countBits=function(x){var N=x,C=0;return N>=4096&&(C+=13,N>>>=13),N>=64&&(C+=7,N>>>=7),N>=8&&(C+=4,N>>>=4),N>=2&&(C+=2,N>>>=2),C+N},i.prototype._zeroBits=function(x){if(x===0)return 26;var N=x,C=0;return!(8191&N)&&(C+=13,N>>>=13),!(127&N)&&(C+=7,N>>>=7),!(15&N)&&(C+=4,N>>>=4),!(3&N)&&(C+=2,N>>>=2),!(1&N)&&C++,C},i.prototype.bitLength=function(){var x=this.words[this.length-1],N=this._countBits(x);return 26*(this.length-1)+N},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,N=0;N<this.length;N++){var C=this._zeroBits(this.words[N]);if(x+=C,C!==26)break}return x},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(x){return this.negative!==0?this.abs().inotn(x).iaddn(1):this.clone()},i.prototype.fromTwos=function(x){return this.testn(x-1)?this.notn(x).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(x){for(;this.length<x.length;)this.words[this.length++]=0;for(var N=0;N<x.length;N++)this.words[N]=this.words[N]|x.words[N];return this.strip()},i.prototype.ior=function(x){return s((this.negative|x.negative)==0),this.iuor(x)},i.prototype.or=function(x){return this.length>x.length?this.clone().ior(x):x.clone().ior(this)},i.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},i.prototype.iuand=function(x){var N;N=this.length>x.length?x:this;for(var C=0;C<N.length;C++)this.words[C]=this.words[C]&x.words[C];return this.length=N.length,this.strip()},i.prototype.iand=function(x){return s((this.negative|x.negative)==0),this.iuand(x)},i.prototype.and=function(x){return this.length>x.length?this.clone().iand(x):x.clone().iand(this)},i.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},i.prototype.iuxor=function(x){var N,C;this.length>x.length?(N=this,C=x):(N=x,C=this);for(var w=0;w<C.length;w++)this.words[w]=N.words[w]^C.words[w];if(this!==N)for(;w<N.length;w++)this.words[w]=N.words[w];return this.length=N.length,this.strip()},i.prototype.ixor=function(x){return s((this.negative|x.negative)==0),this.iuxor(x)},i.prototype.xor=function(x){return this.length>x.length?this.clone().ixor(x):x.clone().ixor(this)},i.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},i.prototype.inotn=function(x){s(typeof x=="number"&&x>=0);var N=0|Math.ceil(x/26),C=x%26;this._expand(N),C>0&&N--;for(var w=0;w<N;w++)this.words[w]=67108863&~this.words[w];return C>0&&(this.words[w]=~this.words[w]&67108863>>26-C),this.strip()},i.prototype.notn=function(x){return this.clone().inotn(x)},i.prototype.setn=function(x,N){s(typeof x=="number"&&x>=0);var C=x/26|0,w=x%26;return this._expand(C+1),this.words[C]=N?this.words[C]|1<<w:this.words[C]&~(1<<w),this.strip()},i.prototype.iadd=function(x){var N,C,w;if(this.negative!==0&&x.negative===0)return this.negative=0,N=this.isub(x),this.negative^=1,this._normSign();if(this.negative===0&&x.negative!==0)return x.negative=0,N=this.isub(x),x.negative=1,N._normSign();this.length>x.length?(C=this,w=x):(C=x,w=this);for(var Q=0,B=0;B<w.length;B++)N=(0|C.words[B])+(0|w.words[B])+Q,this.words[B]=67108863&N,Q=N>>>26;for(;Q!==0&&B<C.length;B++)N=(0|C.words[B])+Q,this.words[B]=67108863&N,Q=N>>>26;if(this.length=C.length,Q!==0)this.words[this.length]=Q,this.length++;else if(C!==this)for(;B<C.length;B++)this.words[B]=C.words[B];return this},i.prototype.add=function(x){var N;return x.negative!==0&&this.negative===0?(x.negative=0,N=this.sub(x),x.negative^=1,N):x.negative===0&&this.negative!==0?(this.negative=0,N=x.sub(this),this.negative=1,N):this.length>x.length?this.clone().iadd(x):x.clone().iadd(this)},i.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var N=this.iadd(x);return x.negative=1,N._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var C,w,Q=this.cmp(x);if(Q===0)return this.negative=0,this.length=1,this.words[0]=0,this;Q>0?(C=this,w=x):(C=x,w=this);for(var B=0,S=0;S<w.length;S++)B=(N=(0|C.words[S])-(0|w.words[S])+B)>>26,this.words[S]=67108863&N;for(;B!==0&&S<C.length;S++)B=(N=(0|C.words[S])+B)>>26,this.words[S]=67108863&N;if(B===0&&S<C.length&&C!==this)for(;S<C.length;S++)this.words[S]=C.words[S];return this.length=Math.max(this.length,S),C!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(x){return this.clone().isub(x)};var m=function(x,N,C){var w,Q,B,S=x.words,O=N.words,F=C.words,Y=0,M=0|S[0],z=8191&M,ue=M>>>13,ae=0|S[1],Ne=8191&ae,Ge=ae>>>13,Ye=0|S[2],Ae=8191&Ye,te=Ye>>>13,he=0|S[3],de=8191&he,Ke=he>>>13,le=0|S[4],Ce=8191&le,At=le>>>13,Z=0|S[5],ce=8191&Z,ye=Z>>>13,Ve=0|S[6],dt=8191&Ve,re=Ve>>>13,ot=0|S[7],pt=8191&ot,Be=ot>>>13,Ee=0|S[8],Me=8191&Ee,yt=Ee>>>13,pe=0|S[9],me=8191&pe,Re=pe>>>13,Ze=0|O[0],ke=8191&Ze,Pe=Ze>>>13,_e=0|O[1],Je=8191&_e,at=_e>>>13,Dt=0|O[2],St=8191&Dt,hr=Dt>>>13,Wt=0|O[3],Ut=8191&Wt,ur=Wt>>>13,Br=0|O[4],fr=8191&Br,Mr=Br>>>13,er=0|O[5],Tr=8191&er,fn=er>>>13,_n=0|O[6],dr=8191&_n,rn=_n>>>13,Kr=0|O[7],tr=8191&Kr,on=Kr>>>13,nn=0|O[8],An=8191&nn,bn=nn>>>13,Gn=0|O[9],Dr=8191&Gn,Nn=Gn>>>13;C.negative=x.negative^N.negative,C.length=19;var Mn=(Y+(w=Math.imul(z,ke))|0)+((8191&(Q=(Q=Math.imul(z,Pe))+Math.imul(ue,ke)|0))<<13)|0;Y=((B=Math.imul(ue,Pe))+(Q>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,w=Math.imul(Ne,ke),Q=(Q=Math.imul(Ne,Pe))+Math.imul(Ge,ke)|0,B=Math.imul(Ge,Pe);var Hn=(Y+(w=w+Math.imul(z,Je)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,at)|0)+Math.imul(ue,Je)|0))<<13)|0;Y=((B=B+Math.imul(ue,at)|0)+(Q>>>13)|0)+(Hn>>>26)|0,Hn&=67108863,w=Math.imul(Ae,ke),Q=(Q=Math.imul(Ae,Pe))+Math.imul(te,ke)|0,B=Math.imul(te,Pe),w=w+Math.imul(Ne,Je)|0,Q=(Q=Q+Math.imul(Ne,at)|0)+Math.imul(Ge,Je)|0,B=B+Math.imul(Ge,at)|0;var vi=(Y+(w=w+Math.imul(z,St)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,hr)|0)+Math.imul(ue,St)|0))<<13)|0;Y=((B=B+Math.imul(ue,hr)|0)+(Q>>>13)|0)+(vi>>>26)|0,vi&=67108863,w=Math.imul(de,ke),Q=(Q=Math.imul(de,Pe))+Math.imul(Ke,ke)|0,B=Math.imul(Ke,Pe),w=w+Math.imul(Ae,Je)|0,Q=(Q=Q+Math.imul(Ae,at)|0)+Math.imul(te,Je)|0,B=B+Math.imul(te,at)|0,w=w+Math.imul(Ne,St)|0,Q=(Q=Q+Math.imul(Ne,hr)|0)+Math.imul(Ge,St)|0,B=B+Math.imul(Ge,hr)|0;var qe=(Y+(w=w+Math.imul(z,Ut)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,ur)|0)+Math.imul(ue,Ut)|0))<<13)|0;Y=((B=B+Math.imul(ue,ur)|0)+(Q>>>13)|0)+(qe>>>26)|0,qe&=67108863,w=Math.imul(Ce,ke),Q=(Q=Math.imul(Ce,Pe))+Math.imul(At,ke)|0,B=Math.imul(At,Pe),w=w+Math.imul(de,Je)|0,Q=(Q=Q+Math.imul(de,at)|0)+Math.imul(Ke,Je)|0,B=B+Math.imul(Ke,at)|0,w=w+Math.imul(Ae,St)|0,Q=(Q=Q+Math.imul(Ae,hr)|0)+Math.imul(te,St)|0,B=B+Math.imul(te,hr)|0,w=w+Math.imul(Ne,Ut)|0,Q=(Q=Q+Math.imul(Ne,ur)|0)+Math.imul(Ge,Ut)|0,B=B+Math.imul(Ge,ur)|0;var bt=(Y+(w=w+Math.imul(z,fr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,Mr)|0)+Math.imul(ue,fr)|0))<<13)|0;Y=((B=B+Math.imul(ue,Mr)|0)+(Q>>>13)|0)+(bt>>>26)|0,bt&=67108863,w=Math.imul(ce,ke),Q=(Q=Math.imul(ce,Pe))+Math.imul(ye,ke)|0,B=Math.imul(ye,Pe),w=w+Math.imul(Ce,Je)|0,Q=(Q=Q+Math.imul(Ce,at)|0)+Math.imul(At,Je)|0,B=B+Math.imul(At,at)|0,w=w+Math.imul(de,St)|0,Q=(Q=Q+Math.imul(de,hr)|0)+Math.imul(Ke,St)|0,B=B+Math.imul(Ke,hr)|0,w=w+Math.imul(Ae,Ut)|0,Q=(Q=Q+Math.imul(Ae,ur)|0)+Math.imul(te,Ut)|0,B=B+Math.imul(te,ur)|0,w=w+Math.imul(Ne,fr)|0,Q=(Q=Q+Math.imul(Ne,Mr)|0)+Math.imul(Ge,fr)|0,B=B+Math.imul(Ge,Mr)|0;var Ft=(Y+(w=w+Math.imul(z,Tr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,fn)|0)+Math.imul(ue,Tr)|0))<<13)|0;Y=((B=B+Math.imul(ue,fn)|0)+(Q>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,w=Math.imul(dt,ke),Q=(Q=Math.imul(dt,Pe))+Math.imul(re,ke)|0,B=Math.imul(re,Pe),w=w+Math.imul(ce,Je)|0,Q=(Q=Q+Math.imul(ce,at)|0)+Math.imul(ye,Je)|0,B=B+Math.imul(ye,at)|0,w=w+Math.imul(Ce,St)|0,Q=(Q=Q+Math.imul(Ce,hr)|0)+Math.imul(At,St)|0,B=B+Math.imul(At,hr)|0,w=w+Math.imul(de,Ut)|0,Q=(Q=Q+Math.imul(de,ur)|0)+Math.imul(Ke,Ut)|0,B=B+Math.imul(Ke,ur)|0,w=w+Math.imul(Ae,fr)|0,Q=(Q=Q+Math.imul(Ae,Mr)|0)+Math.imul(te,fr)|0,B=B+Math.imul(te,Mr)|0,w=w+Math.imul(Ne,Tr)|0,Q=(Q=Q+Math.imul(Ne,fn)|0)+Math.imul(Ge,Tr)|0,B=B+Math.imul(Ge,fn)|0;var Lr=(Y+(w=w+Math.imul(z,dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,rn)|0)+Math.imul(ue,dr)|0))<<13)|0;Y=((B=B+Math.imul(ue,rn)|0)+(Q>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(pt,ke),Q=(Q=Math.imul(pt,Pe))+Math.imul(Be,ke)|0,B=Math.imul(Be,Pe),w=w+Math.imul(dt,Je)|0,Q=(Q=Q+Math.imul(dt,at)|0)+Math.imul(re,Je)|0,B=B+Math.imul(re,at)|0,w=w+Math.imul(ce,St)|0,Q=(Q=Q+Math.imul(ce,hr)|0)+Math.imul(ye,St)|0,B=B+Math.imul(ye,hr)|0,w=w+Math.imul(Ce,Ut)|0,Q=(Q=Q+Math.imul(Ce,ur)|0)+Math.imul(At,Ut)|0,B=B+Math.imul(At,ur)|0,w=w+Math.imul(de,fr)|0,Q=(Q=Q+Math.imul(de,Mr)|0)+Math.imul(Ke,fr)|0,B=B+Math.imul(Ke,Mr)|0,w=w+Math.imul(Ae,Tr)|0,Q=(Q=Q+Math.imul(Ae,fn)|0)+Math.imul(te,Tr)|0,B=B+Math.imul(te,fn)|0,w=w+Math.imul(Ne,dr)|0,Q=(Q=Q+Math.imul(Ne,rn)|0)+Math.imul(Ge,dr)|0,B=B+Math.imul(Ge,rn)|0;var kn=(Y+(w=w+Math.imul(z,tr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,on)|0)+Math.imul(ue,tr)|0))<<13)|0;Y=((B=B+Math.imul(ue,on)|0)+(Q>>>13)|0)+(kn>>>26)|0,kn&=67108863,w=Math.imul(Me,ke),Q=(Q=Math.imul(Me,Pe))+Math.imul(yt,ke)|0,B=Math.imul(yt,Pe),w=w+Math.imul(pt,Je)|0,Q=(Q=Q+Math.imul(pt,at)|0)+Math.imul(Be,Je)|0,B=B+Math.imul(Be,at)|0,w=w+Math.imul(dt,St)|0,Q=(Q=Q+Math.imul(dt,hr)|0)+Math.imul(re,St)|0,B=B+Math.imul(re,hr)|0,w=w+Math.imul(ce,Ut)|0,Q=(Q=Q+Math.imul(ce,ur)|0)+Math.imul(ye,Ut)|0,B=B+Math.imul(ye,ur)|0,w=w+Math.imul(Ce,fr)|0,Q=(Q=Q+Math.imul(Ce,Mr)|0)+Math.imul(At,fr)|0,B=B+Math.imul(At,Mr)|0,w=w+Math.imul(de,Tr)|0,Q=(Q=Q+Math.imul(de,fn)|0)+Math.imul(Ke,Tr)|0,B=B+Math.imul(Ke,fn)|0,w=w+Math.imul(Ae,dr)|0,Q=(Q=Q+Math.imul(Ae,rn)|0)+Math.imul(te,dr)|0,B=B+Math.imul(te,rn)|0,w=w+Math.imul(Ne,tr)|0,Q=(Q=Q+Math.imul(Ne,on)|0)+Math.imul(Ge,tr)|0,B=B+Math.imul(Ge,on)|0;var Bi=(Y+(w=w+Math.imul(z,An)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,bn)|0)+Math.imul(ue,An)|0))<<13)|0;Y=((B=B+Math.imul(ue,bn)|0)+(Q>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,w=Math.imul(me,ke),Q=(Q=Math.imul(me,Pe))+Math.imul(Re,ke)|0,B=Math.imul(Re,Pe),w=w+Math.imul(Me,Je)|0,Q=(Q=Q+Math.imul(Me,at)|0)+Math.imul(yt,Je)|0,B=B+Math.imul(yt,at)|0,w=w+Math.imul(pt,St)|0,Q=(Q=Q+Math.imul(pt,hr)|0)+Math.imul(Be,St)|0,B=B+Math.imul(Be,hr)|0,w=w+Math.imul(dt,Ut)|0,Q=(Q=Q+Math.imul(dt,ur)|0)+Math.imul(re,Ut)|0,B=B+Math.imul(re,ur)|0,w=w+Math.imul(ce,fr)|0,Q=(Q=Q+Math.imul(ce,Mr)|0)+Math.imul(ye,fr)|0,B=B+Math.imul(ye,Mr)|0,w=w+Math.imul(Ce,Tr)|0,Q=(Q=Q+Math.imul(Ce,fn)|0)+Math.imul(At,Tr)|0,B=B+Math.imul(At,fn)|0,w=w+Math.imul(de,dr)|0,Q=(Q=Q+Math.imul(de,rn)|0)+Math.imul(Ke,dr)|0,B=B+Math.imul(Ke,rn)|0,w=w+Math.imul(Ae,tr)|0,Q=(Q=Q+Math.imul(Ae,on)|0)+Math.imul(te,tr)|0,B=B+Math.imul(te,on)|0,w=w+Math.imul(Ne,An)|0,Q=(Q=Q+Math.imul(Ne,bn)|0)+Math.imul(Ge,An)|0,B=B+Math.imul(Ge,bn)|0;var ka=(Y+(w=w+Math.imul(z,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(z,Nn)|0)+Math.imul(ue,Dr)|0))<<13)|0;Y=((B=B+Math.imul(ue,Nn)|0)+(Q>>>13)|0)+(ka>>>26)|0,ka&=67108863,w=Math.imul(me,Je),Q=(Q=Math.imul(me,at))+Math.imul(Re,Je)|0,B=Math.imul(Re,at),w=w+Math.imul(Me,St)|0,Q=(Q=Q+Math.imul(Me,hr)|0)+Math.imul(yt,St)|0,B=B+Math.imul(yt,hr)|0,w=w+Math.imul(pt,Ut)|0,Q=(Q=Q+Math.imul(pt,ur)|0)+Math.imul(Be,Ut)|0,B=B+Math.imul(Be,ur)|0,w=w+Math.imul(dt,fr)|0,Q=(Q=Q+Math.imul(dt,Mr)|0)+Math.imul(re,fr)|0,B=B+Math.imul(re,Mr)|0,w=w+Math.imul(ce,Tr)|0,Q=(Q=Q+Math.imul(ce,fn)|0)+Math.imul(ye,Tr)|0,B=B+Math.imul(ye,fn)|0,w=w+Math.imul(Ce,dr)|0,Q=(Q=Q+Math.imul(Ce,rn)|0)+Math.imul(At,dr)|0,B=B+Math.imul(At,rn)|0,w=w+Math.imul(de,tr)|0,Q=(Q=Q+Math.imul(de,on)|0)+Math.imul(Ke,tr)|0,B=B+Math.imul(Ke,on)|0,w=w+Math.imul(Ae,An)|0,Q=(Q=Q+Math.imul(Ae,bn)|0)+Math.imul(te,An)|0,B=B+Math.imul(te,bn)|0;var Va=(Y+(w=w+Math.imul(Ne,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(Ne,Nn)|0)+Math.imul(Ge,Dr)|0))<<13)|0;Y=((B=B+Math.imul(Ge,Nn)|0)+(Q>>>13)|0)+(Va>>>26)|0,Va&=67108863,w=Math.imul(me,St),Q=(Q=Math.imul(me,hr))+Math.imul(Re,St)|0,B=Math.imul(Re,hr),w=w+Math.imul(Me,Ut)|0,Q=(Q=Q+Math.imul(Me,ur)|0)+Math.imul(yt,Ut)|0,B=B+Math.imul(yt,ur)|0,w=w+Math.imul(pt,fr)|0,Q=(Q=Q+Math.imul(pt,Mr)|0)+Math.imul(Be,fr)|0,B=B+Math.imul(Be,Mr)|0,w=w+Math.imul(dt,Tr)|0,Q=(Q=Q+Math.imul(dt,fn)|0)+Math.imul(re,Tr)|0,B=B+Math.imul(re,fn)|0,w=w+Math.imul(ce,dr)|0,Q=(Q=Q+Math.imul(ce,rn)|0)+Math.imul(ye,dr)|0,B=B+Math.imul(ye,rn)|0,w=w+Math.imul(Ce,tr)|0,Q=(Q=Q+Math.imul(Ce,on)|0)+Math.imul(At,tr)|0,B=B+Math.imul(At,on)|0,w=w+Math.imul(de,An)|0,Q=(Q=Q+Math.imul(de,bn)|0)+Math.imul(Ke,An)|0,B=B+Math.imul(Ke,bn)|0;var qo=(Y+(w=w+Math.imul(Ae,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(Ae,Nn)|0)+Math.imul(te,Dr)|0))<<13)|0;Y=((B=B+Math.imul(te,Nn)|0)+(Q>>>13)|0)+(qo>>>26)|0,qo&=67108863,w=Math.imul(me,Ut),Q=(Q=Math.imul(me,ur))+Math.imul(Re,Ut)|0,B=Math.imul(Re,ur),w=w+Math.imul(Me,fr)|0,Q=(Q=Q+Math.imul(Me,Mr)|0)+Math.imul(yt,fr)|0,B=B+Math.imul(yt,Mr)|0,w=w+Math.imul(pt,Tr)|0,Q=(Q=Q+Math.imul(pt,fn)|0)+Math.imul(Be,Tr)|0,B=B+Math.imul(Be,fn)|0,w=w+Math.imul(dt,dr)|0,Q=(Q=Q+Math.imul(dt,rn)|0)+Math.imul(re,dr)|0,B=B+Math.imul(re,rn)|0,w=w+Math.imul(ce,tr)|0,Q=(Q=Q+Math.imul(ce,on)|0)+Math.imul(ye,tr)|0,B=B+Math.imul(ye,on)|0,w=w+Math.imul(Ce,An)|0,Q=(Q=Q+Math.imul(Ce,bn)|0)+Math.imul(At,An)|0,B=B+Math.imul(At,bn)|0;var Ro=(Y+(w=w+Math.imul(de,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(de,Nn)|0)+Math.imul(Ke,Dr)|0))<<13)|0;Y=((B=B+Math.imul(Ke,Nn)|0)+(Q>>>13)|0)+(Ro>>>26)|0,Ro&=67108863,w=Math.imul(me,fr),Q=(Q=Math.imul(me,Mr))+Math.imul(Re,fr)|0,B=Math.imul(Re,Mr),w=w+Math.imul(Me,Tr)|0,Q=(Q=Q+Math.imul(Me,fn)|0)+Math.imul(yt,Tr)|0,B=B+Math.imul(yt,fn)|0,w=w+Math.imul(pt,dr)|0,Q=(Q=Q+Math.imul(pt,rn)|0)+Math.imul(Be,dr)|0,B=B+Math.imul(Be,rn)|0,w=w+Math.imul(dt,tr)|0,Q=(Q=Q+Math.imul(dt,on)|0)+Math.imul(re,tr)|0,B=B+Math.imul(re,on)|0,w=w+Math.imul(ce,An)|0,Q=(Q=Q+Math.imul(ce,bn)|0)+Math.imul(ye,An)|0,B=B+Math.imul(ye,bn)|0;var po=(Y+(w=w+Math.imul(Ce,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(Ce,Nn)|0)+Math.imul(At,Dr)|0))<<13)|0;Y=((B=B+Math.imul(At,Nn)|0)+(Q>>>13)|0)+(po>>>26)|0,po&=67108863,w=Math.imul(me,Tr),Q=(Q=Math.imul(me,fn))+Math.imul(Re,Tr)|0,B=Math.imul(Re,fn),w=w+Math.imul(Me,dr)|0,Q=(Q=Q+Math.imul(Me,rn)|0)+Math.imul(yt,dr)|0,B=B+Math.imul(yt,rn)|0,w=w+Math.imul(pt,tr)|0,Q=(Q=Q+Math.imul(pt,on)|0)+Math.imul(Be,tr)|0,B=B+Math.imul(Be,on)|0,w=w+Math.imul(dt,An)|0,Q=(Q=Q+Math.imul(dt,bn)|0)+Math.imul(re,An)|0,B=B+Math.imul(re,bn)|0;var Fo=(Y+(w=w+Math.imul(ce,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(ce,Nn)|0)+Math.imul(ye,Dr)|0))<<13)|0;Y=((B=B+Math.imul(ye,Nn)|0)+(Q>>>13)|0)+(Fo>>>26)|0,Fo&=67108863,w=Math.imul(me,dr),Q=(Q=Math.imul(me,rn))+Math.imul(Re,dr)|0,B=Math.imul(Re,rn),w=w+Math.imul(Me,tr)|0,Q=(Q=Q+Math.imul(Me,on)|0)+Math.imul(yt,tr)|0,B=B+Math.imul(yt,on)|0,w=w+Math.imul(pt,An)|0,Q=(Q=Q+Math.imul(pt,bn)|0)+Math.imul(Be,An)|0,B=B+Math.imul(Be,bn)|0;var ri=(Y+(w=w+Math.imul(dt,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(dt,Nn)|0)+Math.imul(re,Dr)|0))<<13)|0;Y=((B=B+Math.imul(re,Nn)|0)+(Q>>>13)|0)+(ri>>>26)|0,ri&=67108863,w=Math.imul(me,tr),Q=(Q=Math.imul(me,on))+Math.imul(Re,tr)|0,B=Math.imul(Re,on),w=w+Math.imul(Me,An)|0,Q=(Q=Q+Math.imul(Me,bn)|0)+Math.imul(yt,An)|0,B=B+Math.imul(yt,bn)|0;var $n=(Y+(w=w+Math.imul(pt,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(pt,Nn)|0)+Math.imul(Be,Dr)|0))<<13)|0;Y=((B=B+Math.imul(Be,Nn)|0)+(Q>>>13)|0)+($n>>>26)|0,$n&=67108863,w=Math.imul(me,An),Q=(Q=Math.imul(me,bn))+Math.imul(Re,An)|0,B=Math.imul(Re,bn);var Bs=(Y+(w=w+Math.imul(Me,Dr)|0)|0)+((8191&(Q=(Q=Q+Math.imul(Me,Nn)|0)+Math.imul(yt,Dr)|0))<<13)|0;Y=((B=B+Math.imul(yt,Nn)|0)+(Q>>>13)|0)+(Bs>>>26)|0,Bs&=67108863;var No=(Y+(w=Math.imul(me,Dr))|0)+((8191&(Q=(Q=Math.imul(me,Nn))+Math.imul(Re,Dr)|0))<<13)|0;return Y=((B=Math.imul(Re,Nn))+(Q>>>13)|0)+(No>>>26)|0,No&=67108863,F[0]=Mn,F[1]=Hn,F[2]=vi,F[3]=qe,F[4]=bt,F[5]=Ft,F[6]=Lr,F[7]=kn,F[8]=Bi,F[9]=ka,F[10]=Va,F[11]=qo,F[12]=Ro,F[13]=po,F[14]=Fo,F[15]=ri,F[16]=$n,F[17]=Bs,F[18]=No,Y!==0&&(F[19]=Y,C.length++),C};function v(x,N,C){C.negative=N.negative^x.negative,C.length=x.length+N.length;for(var w=0,Q=0,B=0;B<C.length-1;B++){var S=Q;Q=0;for(var O=67108863&w,F=Math.min(B,N.length-1),Y=Math.max(0,B-x.length+1);Y<=F;Y++){var M=B-Y,z=(0|x.words[M])*(0|N.words[Y]),ue=67108863&z;O=67108863&(ue=ue+O|0),Q+=(S=(S=S+(z/67108864|0)|0)+(ue>>>26)|0)>>>26,S&=67108863}C.words[B]=O,w=S,S=Q}return w!==0?C.words[B]=w:C.length--,C.strip()}function y(x,N,C){return new I().mulp(x,N,C)}function I(x,N){this.x=x,this.y=N}Math.imul||(m=p),i.prototype.mulTo=function(x,N){var C=this.length+x.length;return this.length===10&&x.length===10?m(this,x,N):C<63?p(this,x,N):C<1024?v(this,x,N):y(this,x,N)},I.prototype.makeRBT=function(x){for(var N=new Array(x),C=i.prototype._countBits(x)-1,w=0;w<x;w++)N[w]=this.revBin(w,C,x);return N},I.prototype.revBin=function(x,N,C){if(x===0||x===C-1)return x;for(var w=0,Q=0;Q<N;Q++)w|=(1&x)<<N-Q-1,x>>=1;return w},I.prototype.permute=function(x,N,C,w,Q,B){for(var S=0;S<B;S++)w[S]=N[x[S]],Q[S]=C[x[S]]},I.prototype.transform=function(x,N,C,w,Q,B){this.permute(B,x,N,C,w,Q);for(var S=1;S<Q;S<<=1)for(var O=S<<1,F=Math.cos(2*Math.PI/O),Y=Math.sin(2*Math.PI/O),M=0;M<Q;M+=O)for(var z=F,ue=Y,ae=0;ae<S;ae++){var Ne=C[M+ae],Ge=w[M+ae],Ye=C[M+ae+S],Ae=w[M+ae+S],te=z*Ye-ue*Ae;Ae=z*Ae+ue*Ye,Ye=te,C[M+ae]=Ne+Ye,w[M+ae]=Ge+Ae,C[M+ae+S]=Ne-Ye,w[M+ae+S]=Ge-Ae,ae!==O&&(te=F*z-Y*ue,ue=F*ue+Y*z,z=te)}},I.prototype.guessLen13b=function(x,N){var C=1|Math.max(N,x),w=1&C,Q=0;for(C=C/2|0;C;C>>>=1)Q++;return 1<<Q+1+w},I.prototype.conjugate=function(x,N,C){if(!(C<=1))for(var w=0;w<C/2;w++){var Q=x[w];x[w]=x[C-w-1],x[C-w-1]=Q,Q=N[w],N[w]=-N[C-w-1],N[C-w-1]=-Q}},I.prototype.normalize13b=function(x,N){for(var C=0,w=0;w<N/2;w++){var Q=8192*Math.round(x[2*w+1]/N)+Math.round(x[2*w]/N)+C;x[w]=67108863&Q,C=Q<67108864?0:Q/67108864|0}return x},I.prototype.convert13b=function(x,N,C,w){for(var Q=0,B=0;B<N;B++)Q+=0|x[B],C[2*B]=8191&Q,Q>>>=13,C[2*B+1]=8191&Q,Q>>>=13;for(B=2*N;B<w;++B)C[B]=0;s(Q===0),s((-8192&Q)==0)},I.prototype.stub=function(x){for(var N=new Array(x),C=0;C<x;C++)N[C]=0;return N},I.prototype.mulp=function(x,N,C){var w=2*this.guessLen13b(x.length,N.length),Q=this.makeRBT(w),B=this.stub(w),S=new Array(w),O=new Array(w),F=new Array(w),Y=new Array(w),M=new Array(w),z=new Array(w),ue=C.words;ue.length=w,this.convert13b(x.words,x.length,S,w),this.convert13b(N.words,N.length,Y,w),this.transform(S,B,O,F,w,Q),this.transform(Y,B,M,z,w,Q);for(var ae=0;ae<w;ae++){var Ne=O[ae]*M[ae]-F[ae]*z[ae];F[ae]=O[ae]*z[ae]+F[ae]*M[ae],O[ae]=Ne}return this.conjugate(O,F,w),this.transform(O,F,ue,B,w,Q),this.conjugate(ue,B,w),this.normalize13b(ue,w),C.negative=x.negative^N.negative,C.length=x.length+N.length,C.strip()},i.prototype.mul=function(x){var N=new i(null);return N.words=new Array(this.length+x.length),this.mulTo(x,N)},i.prototype.mulf=function(x){var N=new i(null);return N.words=new Array(this.length+x.length),y(this,x,N)},i.prototype.imul=function(x){return this.clone().mulTo(x,this)},i.prototype.imuln=function(x){s(typeof x=="number"),s(x<67108864);for(var N=0,C=0;C<this.length;C++){var w=(0|this.words[C])*x,Q=(67108863&w)+(67108863&N);N>>=26,N+=w/67108864|0,N+=Q>>>26,this.words[C]=67108863&Q}return N!==0&&(this.words[C]=N,this.length++),this},i.prototype.muln=function(x){return this.clone().imuln(x)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(x){var N=g(x);if(N.length===0)return new i(1);for(var C=this,w=0;w<N.length&&N[w]===0;w++,C=C.sqr());if(++w<N.length)for(var Q=C.sqr();w<N.length;w++,Q=Q.sqr())N[w]!==0&&(C=C.mul(Q));return C},i.prototype.iushln=function(x){s(typeof x=="number"&&x>=0);var N,C=x%26,w=(x-C)/26,Q=67108863>>>26-C<<26-C;if(C!==0){var B=0;for(N=0;N<this.length;N++){var S=this.words[N]&Q,O=(0|this.words[N])-S<<C;this.words[N]=O|B,B=S>>>26-C}B&&(this.words[N]=B,this.length++)}if(w!==0){for(N=this.length-1;N>=0;N--)this.words[N+w]=this.words[N];for(N=0;N<w;N++)this.words[N]=0;this.length+=w}return this.strip()},i.prototype.ishln=function(x){return s(this.negative===0),this.iushln(x)},i.prototype.iushrn=function(x,N,C){var w;s(typeof x=="number"&&x>=0),w=N?(N-N%26)/26:0;var Q=x%26,B=Math.min((x-Q)/26,this.length),S=67108863^67108863>>>Q<<Q,O=C;if(w-=B,w=Math.max(0,w),O){for(var F=0;F<B;F++)O.words[F]=this.words[F];O.length=B}if(B!==0)if(this.length>B)for(this.length-=B,F=0;F<this.length;F++)this.words[F]=this.words[F+B];else this.words[0]=0,this.length=1;var Y=0;for(F=this.length-1;F>=0&&(Y!==0||F>=w);F--){var M=0|this.words[F];this.words[F]=Y<<26-Q|M>>>Q,Y=M&S}return O&&Y!==0&&(O.words[O.length++]=Y),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(x,N,C){return s(this.negative===0),this.iushrn(x,N,C)},i.prototype.shln=function(x){return this.clone().ishln(x)},i.prototype.ushln=function(x){return this.clone().iushln(x)},i.prototype.shrn=function(x){return this.clone().ishrn(x)},i.prototype.ushrn=function(x){return this.clone().iushrn(x)},i.prototype.testn=function(x){s(typeof x=="number"&&x>=0);var N=x%26,C=(x-N)/26,w=1<<N;return!(this.length<=C||!(this.words[C]&w))},i.prototype.imaskn=function(x){s(typeof x=="number"&&x>=0);var N=x%26,C=(x-N)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=C)return this;if(N!==0&&C++,this.length=Math.min(C,this.length),N!==0){var w=67108863^67108863>>>N<<N;this.words[this.length-1]&=w}return this.strip()},i.prototype.maskn=function(x){return this.clone().imaskn(x)},i.prototype.iaddn=function(x){return s(typeof x=="number"),s(x<67108864),x<0?this.isubn(-x):this.negative!==0?this.length===1&&(0|this.words[0])<x?(this.words[0]=x-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(x),this.negative=1,this):this._iaddn(x)},i.prototype._iaddn=function(x){this.words[0]+=x;for(var N=0;N<this.length&&this.words[N]>=67108864;N++)this.words[N]-=67108864,N===this.length-1?this.words[N+1]=1:this.words[N+1]++;return this.length=Math.max(this.length,N+1),this},i.prototype.isubn=function(x){if(s(typeof x=="number"),s(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var N=0;N<this.length&&this.words[N]<0;N++)this.words[N]+=67108864,this.words[N+1]-=1;return this.strip()},i.prototype.addn=function(x){return this.clone().iaddn(x)},i.prototype.subn=function(x){return this.clone().isubn(x)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(x,N,C){var w,Q,B=x.length+C;this._expand(B);var S=0;for(w=0;w<x.length;w++){Q=(0|this.words[w+C])+S;var O=(0|x.words[w])*N;S=((Q-=67108863&O)>>26)-(O/67108864|0),this.words[w+C]=67108863&Q}for(;w<this.length-C;w++)S=(Q=(0|this.words[w+C])+S)>>26,this.words[w+C]=67108863&Q;if(S===0)return this.strip();for(s(S===-1),S=0,w=0;w<this.length;w++)S=(Q=-(0|this.words[w])+S)>>26,this.words[w]=67108863&Q;return this.negative=1,this.strip()},i.prototype._wordDiv=function(x,N){var C=this.length-x.length,w=this.clone(),Q=x,B=0|Q.words[Q.length-1];(C=26-this._countBits(B))!=0&&(Q=Q.ushln(C),w.iushln(C),B=0|Q.words[Q.length-1]);var S,O=w.length-Q.length;if(N!=="mod"){(S=new i(null)).length=O+1,S.words=new Array(S.length);for(var F=0;F<S.length;F++)S.words[F]=0}var Y=w.clone()._ishlnsubmul(Q,1,O);Y.negative===0&&(w=Y,S&&(S.words[O]=1));for(var M=O-1;M>=0;M--){var z=67108864*(0|w.words[Q.length+M])+(0|w.words[Q.length+M-1]);for(z=Math.min(z/B|0,67108863),w._ishlnsubmul(Q,z,M);w.negative!==0;)z--,w.negative=0,w._ishlnsubmul(Q,1,M),w.isZero()||(w.negative^=1);S&&(S.words[M]=z)}return S&&S.strip(),w.strip(),N!=="div"&&C!==0&&w.iushrn(C),{div:S||null,mod:w}},i.prototype.divmod=function(x,N,C){return s(!x.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:this.negative!==0&&x.negative===0?(B=this.neg().divmod(x,N),N!=="mod"&&(w=B.div.neg()),N!=="div"&&(Q=B.mod.neg(),C&&Q.negative!==0&&Q.iadd(x)),{div:w,mod:Q}):this.negative===0&&x.negative!==0?(B=this.divmod(x.neg(),N),N!=="mod"&&(w=B.div.neg()),{div:w,mod:B.mod}):this.negative&x.negative?(B=this.neg().divmod(x.neg(),N),N!=="div"&&(Q=B.mod.neg(),C&&Q.negative!==0&&Q.isub(x)),{div:B.div,mod:Q}):x.length>this.length||this.cmp(x)<0?{div:new i(0),mod:this}:x.length===1?N==="div"?{div:this.divn(x.words[0]),mod:null}:N==="mod"?{div:null,mod:new i(this.modn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new i(this.modn(x.words[0]))}:this._wordDiv(x,N);var w,Q,B},i.prototype.div=function(x){return this.divmod(x,"div",!1).div},i.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},i.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},i.prototype.divRound=function(x){var N=this.divmod(x);if(N.mod.isZero())return N.div;var C=N.div.negative!==0?N.mod.isub(x):N.mod,w=x.ushrn(1),Q=x.andln(1),B=C.cmp(w);return B<0||Q===1&&B===0?N.div:N.div.negative!==0?N.div.isubn(1):N.div.iaddn(1)},i.prototype.modn=function(x){s(x<=67108863);for(var N=(1<<26)%x,C=0,w=this.length-1;w>=0;w--)C=(N*C+(0|this.words[w]))%x;return C},i.prototype.idivn=function(x){s(x<=67108863);for(var N=0,C=this.length-1;C>=0;C--){var w=(0|this.words[C])+67108864*N;this.words[C]=w/x|0,N=w%x}return this.strip()},i.prototype.divn=function(x){return this.clone().idivn(x)},i.prototype.egcd=function(x){s(x.negative===0),s(!x.isZero());var N=this,C=x.clone();N=N.negative!==0?N.umod(x):N.clone();for(var w=new i(1),Q=new i(0),B=new i(0),S=new i(1),O=0;N.isEven()&&C.isEven();)N.iushrn(1),C.iushrn(1),++O;for(var F=C.clone(),Y=N.clone();!N.isZero();){for(var M=0,z=1;!(N.words[0]&z)&&M<26;++M,z<<=1);if(M>0)for(N.iushrn(M);M-- >0;)(w.isOdd()||Q.isOdd())&&(w.iadd(F),Q.isub(Y)),w.iushrn(1),Q.iushrn(1);for(var ue=0,ae=1;!(C.words[0]&ae)&&ue<26;++ue,ae<<=1);if(ue>0)for(C.iushrn(ue);ue-- >0;)(B.isOdd()||S.isOdd())&&(B.iadd(F),S.isub(Y)),B.iushrn(1),S.iushrn(1);N.cmp(C)>=0?(N.isub(C),w.isub(B),Q.isub(S)):(C.isub(N),B.isub(w),S.isub(Q))}return{a:B,b:S,gcd:C.iushln(O)}},i.prototype._invmp=function(x){s(x.negative===0),s(!x.isZero());var N=this,C=x.clone();N=N.negative!==0?N.umod(x):N.clone();for(var w,Q=new i(1),B=new i(0),S=C.clone();N.cmpn(1)>0&&C.cmpn(1)>0;){for(var O=0,F=1;!(N.words[0]&F)&&O<26;++O,F<<=1);if(O>0)for(N.iushrn(O);O-- >0;)Q.isOdd()&&Q.iadd(S),Q.iushrn(1);for(var Y=0,M=1;!(C.words[0]&M)&&Y<26;++Y,M<<=1);if(Y>0)for(C.iushrn(Y);Y-- >0;)B.isOdd()&&B.iadd(S),B.iushrn(1);N.cmp(C)>=0?(N.isub(C),Q.isub(B)):(C.isub(N),B.isub(Q))}return(w=N.cmpn(1)===0?Q:B).cmpn(0)<0&&w.iadd(x),w},i.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var N=this.clone(),C=x.clone();N.negative=0,C.negative=0;for(var w=0;N.isEven()&&C.isEven();w++)N.iushrn(1),C.iushrn(1);for(;;){for(;N.isEven();)N.iushrn(1);for(;C.isEven();)C.iushrn(1);var Q=N.cmp(C);if(Q<0){var B=N;N=C,C=B}else if(Q===0||C.cmpn(1)===0)break;N.isub(C)}return C.iushln(w)},i.prototype.invm=function(x){return this.egcd(x).a.umod(x)},i.prototype.isEven=function(){return(1&this.words[0])==0},i.prototype.isOdd=function(){return(1&this.words[0])==1},i.prototype.andln=function(x){return this.words[0]&x},i.prototype.bincn=function(x){s(typeof x=="number");var N=x%26,C=(x-N)/26,w=1<<N;if(this.length<=C)return this._expand(C+1),this.words[C]|=w,this;for(var Q=w,B=C;Q!==0&&B<this.length;B++){var S=0|this.words[B];Q=(S+=Q)>>>26,S&=67108863,this.words[B]=S}return Q!==0&&(this.words[B]=Q,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(x){var N,C=x<0;if(this.negative!==0&&!C)return-1;if(this.negative===0&&C)return 1;if(this.strip(),this.length>1)N=1;else{C&&(x=-x),s(x<=67108863,"Number is too big");var w=0|this.words[0];N=w===x?0:w<x?-1:1}return this.negative!==0?0|-N:N},i.prototype.cmp=function(x){if(this.negative!==0&&x.negative===0)return-1;if(this.negative===0&&x.negative!==0)return 1;var N=this.ucmp(x);return this.negative!==0?0|-N:N},i.prototype.ucmp=function(x){if(this.length>x.length)return 1;if(this.length<x.length)return-1;for(var N=0,C=this.length-1;C>=0;C--){var w=0|this.words[C],Q=0|x.words[C];if(w!==Q){w<Q?N=-1:w>Q&&(N=1);break}}return N},i.prototype.gtn=function(x){return this.cmpn(x)===1},i.prototype.gt=function(x){return this.cmp(x)===1},i.prototype.gten=function(x){return this.cmpn(x)>=0},i.prototype.gte=function(x){return this.cmp(x)>=0},i.prototype.ltn=function(x){return this.cmpn(x)===-1},i.prototype.lt=function(x){return this.cmp(x)===-1},i.prototype.lten=function(x){return this.cmpn(x)<=0},i.prototype.lte=function(x){return this.cmp(x)<=0},i.prototype.eqn=function(x){return this.cmpn(x)===0},i.prototype.eq=function(x){return this.cmp(x)===0},i.red=function(x){return new H(x)},i.prototype.toRed=function(x){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},i.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(x){return this.red=x,this},i.prototype.forceRed=function(x){return s(!this.red,"Already a number in reduction context"),this._forceRed(x)},i.prototype.redAdd=function(x){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},i.prototype.redIAdd=function(x){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},i.prototype.redSub=function(x){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},i.prototype.redISub=function(x){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},i.prototype.redShl=function(x){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},i.prototype.redMul=function(x){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},i.prototype.redIMul=function(x){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},i.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(x){return s(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var E={k256:null,p224:null,p192:null,p25519:null};function k(x,N){this.name=x,this.p=new i(N,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function R(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function W(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function H(x){if(typeof x=="string"){var N=i._prime(x);this.m=N.p,this.prime=N}else s(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function X(x){H.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var x=new i(null);return x.words=new Array(Math.ceil(this.n/13)),x},k.prototype.ireduce=function(x){var N,C=x;do this.split(C,this.tmp),N=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength();while(N>this.n);var w=N<this.n?-1:C.ucmp(this.p);return w===0?(C.words[0]=0,C.length=1):w>0?C.isub(this.p):C.strip!==void 0?C.strip():C._strip(),C},k.prototype.split=function(x,N){x.iushrn(this.n,0,N)},k.prototype.imulK=function(x){return x.imul(this.k)},o(R,k),R.prototype.split=function(x,N){for(var C=4194303,w=Math.min(x.length,9),Q=0;Q<w;Q++)N.words[Q]=x.words[Q];if(N.length=w,x.length<=9)return x.words[0]=0,void(x.length=1);var B=x.words[9];for(N.words[N.length++]=B&C,Q=10;Q<x.length;Q++){var S=0|x.words[Q];x.words[Q-10]=(S&C)<<4|B>>>22,B=S}B>>>=22,x.words[Q-10]=B,B===0&&x.length>10?x.length-=10:x.length-=9},R.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var N=0,C=0;C<x.length;C++){var w=0|x.words[C];N+=977*w,x.words[C]=67108863&N,N=64*w+(N/67108864|0)}return x.words[x.length-1]===0&&(x.length--,x.words[x.length-1]===0&&x.length--),x},o(T,k),o(j,k),o(W,k),W.prototype.imulK=function(x){for(var N=0,C=0;C<x.length;C++){var w=19*(0|x.words[C])+N,Q=67108863&w;w>>>=26,x.words[C]=Q,N=w}return N!==0&&(x.words[x.length++]=N),x},i._prime=function(x){if(E[x])return E[x];var N;if(x==="k256")N=new R;else if(x==="p224")N=new T;else if(x==="p192")N=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);N=new W}return E[x]=N,N},H.prototype._verify1=function(x){s(x.negative===0,"red works only with positives"),s(x.red,"red works only with red numbers")},H.prototype._verify2=function(x,N){s((x.negative|N.negative)==0,"red works only with positives"),s(x.red&&x.red===N.red,"red works only with red numbers")},H.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):x.umod(this.m)._forceRed(this)},H.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},H.prototype.add=function(x,N){this._verify2(x,N);var C=x.add(N);return C.cmp(this.m)>=0&&C.isub(this.m),C._forceRed(this)},H.prototype.iadd=function(x,N){this._verify2(x,N);var C=x.iadd(N);return C.cmp(this.m)>=0&&C.isub(this.m),C},H.prototype.sub=function(x,N){this._verify2(x,N);var C=x.sub(N);return C.cmpn(0)<0&&C.iadd(this.m),C._forceRed(this)},H.prototype.isub=function(x,N){this._verify2(x,N);var C=x.isub(N);return C.cmpn(0)<0&&C.iadd(this.m),C},H.prototype.shl=function(x,N){return this._verify1(x),this.imod(x.ushln(N))},H.prototype.imul=function(x,N){return this._verify2(x,N),this.imod(x.imul(N))},H.prototype.mul=function(x,N){return this._verify2(x,N),this.imod(x.mul(N))},H.prototype.isqr=function(x){return this.imul(x,x.clone())},H.prototype.sqr=function(x){return this.mul(x,x)},H.prototype.sqrt=function(x){if(x.isZero())return x.clone();var N=this.m.andln(3);if(s(N%2==1),N===3){var C=this.m.add(new i(1)).iushrn(2);return this.pow(x,C)}for(var w=this.m.subn(1),Q=0;!w.isZero()&&w.andln(1)===0;)Q++,w.iushrn(1);s(!w.isZero());var B=new i(1).toRed(this),S=B.redNeg(),O=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new i(2*F*F).toRed(this);this.pow(F,O).cmp(S)!==0;)F.redIAdd(S);for(var Y=this.pow(F,w),M=this.pow(x,w.addn(1).iushrn(1)),z=this.pow(x,w),ue=Q;z.cmp(B)!==0;){for(var ae=z,Ne=0;ae.cmp(B)!==0;Ne++)ae=ae.redSqr();s(Ne<ue);var Ge=this.pow(Y,new i(1).iushln(ue-Ne-1));M=M.redMul(Ge),Y=Ge.redSqr(),z=z.redMul(Y),ue=Ne}return M},H.prototype.invm=function(x){var N=x._invmp(this.m);return N.negative!==0?(N.negative=0,this.imod(N).redNeg()):this.imod(N)},H.prototype.pow=function(x,N){if(N.isZero())return new i(1).toRed(this);if(N.cmpn(1)===0)return x.clone();var C=4,w=new Array(1<<C);w[0]=new i(1).toRed(this),w[1]=x;for(var Q=2;Q<w.length;Q++)w[Q]=this.mul(w[Q-1],x);var B=w[0],S=0,O=0,F=N.bitLength()%26;for(F===0&&(F=26),Q=N.length-1;Q>=0;Q--){for(var Y=N.words[Q],M=F-1;M>=0;M--){var z=Y>>M&1;B!==w[0]&&(B=this.sqr(B)),z!==0||S!==0?(S<<=1,S|=z,(++O===C||Q===0&&M===0)&&(B=this.mul(B,w[S]),O=0,S=0)):O=0}F=26}return B},H.prototype.convertTo=function(x){var N=x.umod(this.m);return N===x?N.clone():N},H.prototype.convertFrom=function(x){var N=x.clone();return N.red=null,N},i.mont=function(x){return new X(x)},o(X,H),X.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},X.prototype.convertFrom=function(x){var N=this.imod(x.mul(this.rinv));return N.red=null,N},X.prototype.imul=function(x,N){if(x.isZero()||N.isZero())return x.words[0]=0,x.length=1,x;var C=x.imul(N),w=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=C.isub(w).iushrn(this.shift),B=Q;return Q.cmp(this.m)>=0?B=Q.isub(this.m):Q.cmpn(0)<0&&(B=Q.iadd(this.m)),B._forceRed(this)},X.prototype.mul=function(x,N){if(x.isZero()||N.isZero())return new i(0)._forceRed(this);var C=x.mul(N),w=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),Q=C.isub(w).iushrn(this.shift),B=Q;return Q.cmp(this.m)>=0?B=Q.isub(this.m):Q.cmpn(0)<0&&(B=Q.iadd(this.m)),B._forceRed(this)},X.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(r===void 0||r,void 0)},{buffer:188}],185:[function(e,r,t){t.byteLength=l,t.toByteArray=h,t.fromByteArray=g;for(var n=[],a=[],s=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,c=o.length;i<c;++i)n[i]=o[i],a[o.charCodeAt(i)]=i;function u(p){var m=p.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var v=p.indexOf("=");return v===-1&&(v=m),[v,v===m?0:4-v%4]}function l(p){var m=u(p),v=m[0],y=m[1];return 3*(v+y)/4-y}function A(p,m,v){return 3*(m+v)/4-v}function h(p){var m,v,y=u(p),I=y[0],E=y[1],k=new s(A(p,I,E)),R=0,T=E>0?I-4:I;for(v=0;v<T;v+=4)m=a[p.charCodeAt(v)]<<18|a[p.charCodeAt(v+1)]<<12|a[p.charCodeAt(v+2)]<<6|a[p.charCodeAt(v+3)],k[R++]=m>>16&255,k[R++]=m>>8&255,k[R++]=255&m;return E===2&&(m=a[p.charCodeAt(v)]<<2|a[p.charCodeAt(v+1)]>>4,k[R++]=255&m),E===1&&(m=a[p.charCodeAt(v)]<<10|a[p.charCodeAt(v+1)]<<4|a[p.charCodeAt(v+2)]>>2,k[R++]=m>>8&255,k[R++]=255&m),k}function f(p){return n[p>>18&63]+n[p>>12&63]+n[p>>6&63]+n[63&p]}function d(p,m,v){for(var y,I=[],E=m;E<v;E+=3)y=(p[E]<<16&16711680)+(p[E+1]<<8&65280)+(255&p[E+2]),I.push(f(y));return I.join("")}function g(p){for(var m,v=p.length,y=v%3,I=[],E=16383,k=0,R=v-y;k<R;k+=E)I.push(d(p,k,k+E>R?R:k+E));return y===1?(m=p[v-1],I.push(n[m>>2]+n[m<<4&63]+"==")):y===2&&(m=(p[v-2]<<8)+p[v-1],I.push(n[m>>10]+n[m>>4&63]+n[m<<2&63]+"=")),I.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},{}],186:[function(e,r,t){(function(n,a){function s(C,w){if(!C)throw new Error(w||"Assertion failed")}function o(C,w){C.super_=w;var Q=function(){};Q.prototype=w.prototype,C.prototype=new Q,C.prototype.constructor=C}function i(C,w,Q){if(i.isBN(C))return C;this.negative=0,this.words=null,this.length=0,this.red=null,C!==null&&(w!=="le"&&w!=="be"||(Q=w,w=10),this._init(C||0,w||10,Q||"be"))}var c;typeof n=="object"?n.exports=i:a.BN=i,i.BN=i,i.wordSize=26;try{c=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:e("buffer").Buffer}catch{}function u(C,w){var Q=C.charCodeAt(w);return Q>=48&&Q<=57?Q-48:Q>=65&&Q<=70?Q-55:Q>=97&&Q<=102?Q-87:void s(!1,"Invalid character in "+C)}function l(C,w,Q){var B=u(C,Q);return Q-1>=w&&(B|=u(C,Q-1)<<4),B}function A(C,w,Q,B){for(var S=0,O=0,F=Math.min(C.length,Q),Y=w;Y<F;Y++){var M=C.charCodeAt(Y)-48;S*=B,O=M>=49?M-49+10:M>=17?M-17+10:M,s(M>=0&&O<B,"Invalid character"),S+=O}return S}function h(C,w){C.words=w.words,C.length=w.length,C.negative=w.negative,C.red=w.red}if(i.isBN=function(C){return C instanceof i||C!==null&&typeof C=="object"&&C.constructor.wordSize===i.wordSize&&Array.isArray(C.words)},i.max=function(C,w){return C.cmp(w)>0?C:w},i.min=function(C,w){return C.cmp(w)<0?C:w},i.prototype._init=function(C,w,Q){if(typeof C=="number")return this._initNumber(C,w,Q);if(typeof C=="object")return this._initArray(C,w,Q);w==="hex"&&(w=16),s(w===(0|w)&&w>=2&&w<=36);var B=0;(C=C.toString().replace(/\s+/g,""))[0]==="-"&&(B++,this.negative=1),B<C.length&&(w===16?this._parseHex(C,B,Q):(this._parseBase(C,w,B),Q==="le"&&this._initArray(this.toArray(),w,Q)))},i.prototype._initNumber=function(C,w,Q){C<0&&(this.negative=1,C=-C),C<67108864?(this.words=[67108863&C],this.length=1):C<4503599627370496?(this.words=[67108863&C,C/67108864&67108863],this.length=2):(s(C<9007199254740992),this.words=[67108863&C,C/67108864&67108863,1],this.length=3),Q==="le"&&this._initArray(this.toArray(),w,Q)},i.prototype._initArray=function(C,w,Q){if(s(typeof C.length=="number"),C.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(C.length/3),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var S,O,F=0;if(Q==="be")for(B=C.length-1,S=0;B>=0;B-=3)O=C[B]|C[B-1]<<8|C[B-2]<<16,this.words[S]|=O<<F&67108863,this.words[S+1]=O>>>26-F&67108863,(F+=24)>=26&&(F-=26,S++);else if(Q==="le")for(B=0,S=0;B<C.length;B+=3)O=C[B]|C[B+1]<<8|C[B+2]<<16,this.words[S]|=O<<F&67108863,this.words[S+1]=O>>>26-F&67108863,(F+=24)>=26&&(F-=26,S++);return this._strip()},i.prototype._parseHex=function(C,w,Q){this.length=Math.ceil((C.length-w)/6),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var S,O=0,F=0;if(Q==="be")for(B=C.length-1;B>=w;B-=2)S=l(C,w,B)<<O,this.words[F]|=67108863&S,O>=18?(O-=18,F+=1,this.words[F]|=S>>>26):O+=8;else for(B=(C.length-w)%2==0?w+1:w;B<C.length;B+=2)S=l(C,w,B)<<O,this.words[F]|=67108863&S,O>=18?(O-=18,F+=1,this.words[F]|=S>>>26):O+=8;this._strip()},i.prototype._parseBase=function(C,w,Q){this.words=[0],this.length=1;for(var B=0,S=1;S<=67108863;S*=w)B++;B--,S=S/w|0;for(var O=C.length-Q,F=O%B,Y=Math.min(O,O-F)+Q,M=0,z=Q;z<Y;z+=B)M=A(C,z,z+B,w),this.imuln(S),this.words[0]+M<67108864?this.words[0]+=M:this._iaddn(M);if(F!==0){var ue=1;for(M=A(C,z,C.length,w),z=0;z<F;z++)ue*=w;this.imuln(ue),this.words[0]+M<67108864?this.words[0]+=M:this._iaddn(M)}this._strip()},i.prototype.copy=function(C){C.words=new Array(this.length);for(var w=0;w<this.length;w++)C.words[w]=this.words[w];C.length=this.length,C.negative=this.negative,C.red=this.red},i.prototype._move=function(C){h(C,this)},i.prototype.clone=function(){var C=new i(null);return this.copy(C),C},i.prototype._expand=function(C){for(;this.length<C;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch{i.prototype.inspect=f}else i.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(C,w){var Q;if(w=0|w||1,(C=C||10)===16||C==="hex"){Q="";for(var B=0,S=0,O=0;O<this.length;O++){var F=this.words[O],Y=(16777215&(F<<B|S)).toString(16);S=F>>>24-B&16777215,(B+=2)>=26&&(B-=26,O--),Q=S!==0||O!==this.length-1?d[6-Y.length]+Y+Q:Y+Q}for(S!==0&&(Q=S.toString(16)+Q);Q.length%w!=0;)Q="0"+Q;return this.negative!==0&&(Q="-"+Q),Q}if(C===(0|C)&&C>=2&&C<=36){var M=g[C],z=p[C];Q="";var ue=this.clone();for(ue.negative=0;!ue.isZero();){var ae=ue.modrn(z).toString(C);Q=(ue=ue.idivn(z)).isZero()?ae+Q:d[M-ae.length]+ae+Q}for(this.isZero()&&(Q="0"+Q);Q.length%w!=0;)Q="0"+Q;return this.negative!==0&&(Q="-"+Q),Q}s(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var C=this.words[0];return this.length===2?C+=67108864*this.words[1]:this.length===3&&this.words[2]===1?C+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-C:C},i.prototype.toJSON=function(){return this.toString(16,2)},c&&(i.prototype.toBuffer=function(C,w){return this.toArrayLike(c,C,w)}),i.prototype.toArray=function(C,w){return this.toArrayLike(Array,C,w)};var m=function(C,w){return C.allocUnsafe?C.allocUnsafe(w):new C(w)};function v(C){for(var w=new Array(C.bitLength()),Q=0;Q<w.length;Q++){var B=Q/26|0,S=Q%26;w[Q]=C.words[B]>>>S&1}return w}function y(C,w,Q){Q.negative=w.negative^C.negative;var B=C.length+w.length|0;Q.length=B,B=B-1|0;var S=0|C.words[0],O=0|w.words[0],F=S*O,Y=67108863&F,M=F/67108864|0;Q.words[0]=Y;for(var z=1;z<B;z++){for(var ue=M>>>26,ae=67108863&M,Ne=Math.min(z,w.length-1),Ge=Math.max(0,z-C.length+1);Ge<=Ne;Ge++){var Ye=z-Ge|0;ue+=(F=(S=0|C.words[Ye])*(O=0|w.words[Ge])+ae)/67108864|0,ae=67108863&F}Q.words[z]=0|ae,M=0|ue}return M!==0?Q.words[z]=0|M:Q.length--,Q._strip()}i.prototype.toArrayLike=function(C,w,Q){this._strip();var B=this.byteLength(),S=Q||Math.max(1,B);s(B<=S,"byte array longer than desired length"),s(S>0,"Requested array length <= 0");var O=m(C,S);return this["_toArrayLike"+(w==="le"?"LE":"BE")](O,B),O},i.prototype._toArrayLikeLE=function(C,w){for(var Q=0,B=0,S=0,O=0;S<this.length;S++){var F=this.words[S]<<O|B;C[Q++]=255&F,Q<C.length&&(C[Q++]=F>>8&255),Q<C.length&&(C[Q++]=F>>16&255),O===6?(Q<C.length&&(C[Q++]=F>>24&255),B=0,O=0):(B=F>>>24,O+=2)}if(Q<C.length)for(C[Q++]=B;Q<C.length;)C[Q++]=0},i.prototype._toArrayLikeBE=function(C,w){for(var Q=C.length-1,B=0,S=0,O=0;S<this.length;S++){var F=this.words[S]<<O|B;C[Q--]=255&F,Q>=0&&(C[Q--]=F>>8&255),Q>=0&&(C[Q--]=F>>16&255),O===6?(Q>=0&&(C[Q--]=F>>24&255),B=0,O=0):(B=F>>>24,O+=2)}if(Q>=0)for(C[Q--]=B;Q>=0;)C[Q--]=0},Math.clz32?i.prototype._countBits=function(C){return 32-Math.clz32(C)}:i.prototype._countBits=function(C){var w=C,Q=0;return w>=4096&&(Q+=13,w>>>=13),w>=64&&(Q+=7,w>>>=7),w>=8&&(Q+=4,w>>>=4),w>=2&&(Q+=2,w>>>=2),Q+w},i.prototype._zeroBits=function(C){if(C===0)return 26;var w=C,Q=0;return!(8191&w)&&(Q+=13,w>>>=13),!(127&w)&&(Q+=7,w>>>=7),!(15&w)&&(Q+=4,w>>>=4),!(3&w)&&(Q+=2,w>>>=2),!(1&w)&&Q++,Q},i.prototype.bitLength=function(){var C=this.words[this.length-1],w=this._countBits(C);return 26*(this.length-1)+w},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var C=0,w=0;w<this.length;w++){var Q=this._zeroBits(this.words[w]);if(C+=Q,Q!==26)break}return C},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(C){return this.negative!==0?this.abs().inotn(C).iaddn(1):this.clone()},i.prototype.fromTwos=function(C){return this.testn(C-1)?this.notn(C).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(C){for(;this.length<C.length;)this.words[this.length++]=0;for(var w=0;w<C.length;w++)this.words[w]=this.words[w]|C.words[w];return this._strip()},i.prototype.ior=function(C){return s((this.negative|C.negative)==0),this.iuor(C)},i.prototype.or=function(C){return this.length>C.length?this.clone().ior(C):C.clone().ior(this)},i.prototype.uor=function(C){return this.length>C.length?this.clone().iuor(C):C.clone().iuor(this)},i.prototype.iuand=function(C){var w;w=this.length>C.length?C:this;for(var Q=0;Q<w.length;Q++)this.words[Q]=this.words[Q]&C.words[Q];return this.length=w.length,this._strip()},i.prototype.iand=function(C){return s((this.negative|C.negative)==0),this.iuand(C)},i.prototype.and=function(C){return this.length>C.length?this.clone().iand(C):C.clone().iand(this)},i.prototype.uand=function(C){return this.length>C.length?this.clone().iuand(C):C.clone().iuand(this)},i.prototype.iuxor=function(C){var w,Q;this.length>C.length?(w=this,Q=C):(w=C,Q=this);for(var B=0;B<Q.length;B++)this.words[B]=w.words[B]^Q.words[B];if(this!==w)for(;B<w.length;B++)this.words[B]=w.words[B];return this.length=w.length,this._strip()},i.prototype.ixor=function(C){return s((this.negative|C.negative)==0),this.iuxor(C)},i.prototype.xor=function(C){return this.length>C.length?this.clone().ixor(C):C.clone().ixor(this)},i.prototype.uxor=function(C){return this.length>C.length?this.clone().iuxor(C):C.clone().iuxor(this)},i.prototype.inotn=function(C){s(typeof C=="number"&&C>=0);var w=0|Math.ceil(C/26),Q=C%26;this._expand(w),Q>0&&w--;for(var B=0;B<w;B++)this.words[B]=67108863&~this.words[B];return Q>0&&(this.words[B]=~this.words[B]&67108863>>26-Q),this._strip()},i.prototype.notn=function(C){return this.clone().inotn(C)},i.prototype.setn=function(C,w){s(typeof C=="number"&&C>=0);var Q=C/26|0,B=C%26;return this._expand(Q+1),this.words[Q]=w?this.words[Q]|1<<B:this.words[Q]&~(1<<B),this._strip()},i.prototype.iadd=function(C){var w,Q,B;if(this.negative!==0&&C.negative===0)return this.negative=0,w=this.isub(C),this.negative^=1,this._normSign();if(this.negative===0&&C.negative!==0)return C.negative=0,w=this.isub(C),C.negative=1,w._normSign();this.length>C.length?(Q=this,B=C):(Q=C,B=this);for(var S=0,O=0;O<B.length;O++)w=(0|Q.words[O])+(0|B.words[O])+S,this.words[O]=67108863&w,S=w>>>26;for(;S!==0&&O<Q.length;O++)w=(0|Q.words[O])+S,this.words[O]=67108863&w,S=w>>>26;if(this.length=Q.length,S!==0)this.words[this.length]=S,this.length++;else if(Q!==this)for(;O<Q.length;O++)this.words[O]=Q.words[O];return this},i.prototype.add=function(C){var w;return C.negative!==0&&this.negative===0?(C.negative=0,w=this.sub(C),C.negative^=1,w):C.negative===0&&this.negative!==0?(this.negative=0,w=C.sub(this),this.negative=1,w):this.length>C.length?this.clone().iadd(C):C.clone().iadd(this)},i.prototype.isub=function(C){if(C.negative!==0){C.negative=0;var w=this.iadd(C);return C.negative=1,w._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(C),this.negative=1,this._normSign();var Q,B,S=this.cmp(C);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(Q=this,B=C):(Q=C,B=this);for(var O=0,F=0;F<B.length;F++)O=(w=(0|Q.words[F])-(0|B.words[F])+O)>>26,this.words[F]=67108863&w;for(;O!==0&&F<Q.length;F++)O=(w=(0|Q.words[F])+O)>>26,this.words[F]=67108863&w;if(O===0&&F<Q.length&&Q!==this)for(;F<Q.length;F++)this.words[F]=Q.words[F];return this.length=Math.max(this.length,F),Q!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(C){return this.clone().isub(C)};var I=function(C,w,Q){var B,S,O,F=C.words,Y=w.words,M=Q.words,z=0,ue=0|F[0],ae=8191&ue,Ne=ue>>>13,Ge=0|F[1],Ye=8191&Ge,Ae=Ge>>>13,te=0|F[2],he=8191&te,de=te>>>13,Ke=0|F[3],le=8191&Ke,Ce=Ke>>>13,At=0|F[4],Z=8191&At,ce=At>>>13,ye=0|F[5],Ve=8191&ye,dt=ye>>>13,re=0|F[6],ot=8191&re,pt=re>>>13,Be=0|F[7],Ee=8191&Be,Me=Be>>>13,yt=0|F[8],pe=8191&yt,me=yt>>>13,Re=0|F[9],Ze=8191&Re,ke=Re>>>13,Pe=0|Y[0],_e=8191&Pe,Je=Pe>>>13,at=0|Y[1],Dt=8191&at,St=at>>>13,hr=0|Y[2],Wt=8191&hr,Ut=hr>>>13,ur=0|Y[3],Br=8191&ur,fr=ur>>>13,Mr=0|Y[4],er=8191&Mr,Tr=Mr>>>13,fn=0|Y[5],_n=8191&fn,dr=fn>>>13,rn=0|Y[6],Kr=8191&rn,tr=rn>>>13,on=0|Y[7],nn=8191&on,An=on>>>13,bn=0|Y[8],Gn=8191&bn,Dr=bn>>>13,Nn=0|Y[9],Mn=8191&Nn,Hn=Nn>>>13;Q.negative=C.negative^w.negative,Q.length=19;var vi=(z+(B=Math.imul(ae,_e))|0)+((8191&(S=(S=Math.imul(ae,Je))+Math.imul(Ne,_e)|0))<<13)|0;z=((O=Math.imul(Ne,Je))+(S>>>13)|0)+(vi>>>26)|0,vi&=67108863,B=Math.imul(Ye,_e),S=(S=Math.imul(Ye,Je))+Math.imul(Ae,_e)|0,O=Math.imul(Ae,Je);var qe=(z+(B=B+Math.imul(ae,Dt)|0)|0)+((8191&(S=(S=S+Math.imul(ae,St)|0)+Math.imul(Ne,Dt)|0))<<13)|0;z=((O=O+Math.imul(Ne,St)|0)+(S>>>13)|0)+(qe>>>26)|0,qe&=67108863,B=Math.imul(he,_e),S=(S=Math.imul(he,Je))+Math.imul(de,_e)|0,O=Math.imul(de,Je),B=B+Math.imul(Ye,Dt)|0,S=(S=S+Math.imul(Ye,St)|0)+Math.imul(Ae,Dt)|0,O=O+Math.imul(Ae,St)|0;var bt=(z+(B=B+Math.imul(ae,Wt)|0)|0)+((8191&(S=(S=S+Math.imul(ae,Ut)|0)+Math.imul(Ne,Wt)|0))<<13)|0;z=((O=O+Math.imul(Ne,Ut)|0)+(S>>>13)|0)+(bt>>>26)|0,bt&=67108863,B=Math.imul(le,_e),S=(S=Math.imul(le,Je))+Math.imul(Ce,_e)|0,O=Math.imul(Ce,Je),B=B+Math.imul(he,Dt)|0,S=(S=S+Math.imul(he,St)|0)+Math.imul(de,Dt)|0,O=O+Math.imul(de,St)|0,B=B+Math.imul(Ye,Wt)|0,S=(S=S+Math.imul(Ye,Ut)|0)+Math.imul(Ae,Wt)|0,O=O+Math.imul(Ae,Ut)|0;var Ft=(z+(B=B+Math.imul(ae,Br)|0)|0)+((8191&(S=(S=S+Math.imul(ae,fr)|0)+Math.imul(Ne,Br)|0))<<13)|0;z=((O=O+Math.imul(Ne,fr)|0)+(S>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,B=Math.imul(Z,_e),S=(S=Math.imul(Z,Je))+Math.imul(ce,_e)|0,O=Math.imul(ce,Je),B=B+Math.imul(le,Dt)|0,S=(S=S+Math.imul(le,St)|0)+Math.imul(Ce,Dt)|0,O=O+Math.imul(Ce,St)|0,B=B+Math.imul(he,Wt)|0,S=(S=S+Math.imul(he,Ut)|0)+Math.imul(de,Wt)|0,O=O+Math.imul(de,Ut)|0,B=B+Math.imul(Ye,Br)|0,S=(S=S+Math.imul(Ye,fr)|0)+Math.imul(Ae,Br)|0,O=O+Math.imul(Ae,fr)|0;var Lr=(z+(B=B+Math.imul(ae,er)|0)|0)+((8191&(S=(S=S+Math.imul(ae,Tr)|0)+Math.imul(Ne,er)|0))<<13)|0;z=((O=O+Math.imul(Ne,Tr)|0)+(S>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,B=Math.imul(Ve,_e),S=(S=Math.imul(Ve,Je))+Math.imul(dt,_e)|0,O=Math.imul(dt,Je),B=B+Math.imul(Z,Dt)|0,S=(S=S+Math.imul(Z,St)|0)+Math.imul(ce,Dt)|0,O=O+Math.imul(ce,St)|0,B=B+Math.imul(le,Wt)|0,S=(S=S+Math.imul(le,Ut)|0)+Math.imul(Ce,Wt)|0,O=O+Math.imul(Ce,Ut)|0,B=B+Math.imul(he,Br)|0,S=(S=S+Math.imul(he,fr)|0)+Math.imul(de,Br)|0,O=O+Math.imul(de,fr)|0,B=B+Math.imul(Ye,er)|0,S=(S=S+Math.imul(Ye,Tr)|0)+Math.imul(Ae,er)|0,O=O+Math.imul(Ae,Tr)|0;var kn=(z+(B=B+Math.imul(ae,_n)|0)|0)+((8191&(S=(S=S+Math.imul(ae,dr)|0)+Math.imul(Ne,_n)|0))<<13)|0;z=((O=O+Math.imul(Ne,dr)|0)+(S>>>13)|0)+(kn>>>26)|0,kn&=67108863,B=Math.imul(ot,_e),S=(S=Math.imul(ot,Je))+Math.imul(pt,_e)|0,O=Math.imul(pt,Je),B=B+Math.imul(Ve,Dt)|0,S=(S=S+Math.imul(Ve,St)|0)+Math.imul(dt,Dt)|0,O=O+Math.imul(dt,St)|0,B=B+Math.imul(Z,Wt)|0,S=(S=S+Math.imul(Z,Ut)|0)+Math.imul(ce,Wt)|0,O=O+Math.imul(ce,Ut)|0,B=B+Math.imul(le,Br)|0,S=(S=S+Math.imul(le,fr)|0)+Math.imul(Ce,Br)|0,O=O+Math.imul(Ce,fr)|0,B=B+Math.imul(he,er)|0,S=(S=S+Math.imul(he,Tr)|0)+Math.imul(de,er)|0,O=O+Math.imul(de,Tr)|0,B=B+Math.imul(Ye,_n)|0,S=(S=S+Math.imul(Ye,dr)|0)+Math.imul(Ae,_n)|0,O=O+Math.imul(Ae,dr)|0;var Bi=(z+(B=B+Math.imul(ae,Kr)|0)|0)+((8191&(S=(S=S+Math.imul(ae,tr)|0)+Math.imul(Ne,Kr)|0))<<13)|0;z=((O=O+Math.imul(Ne,tr)|0)+(S>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,B=Math.imul(Ee,_e),S=(S=Math.imul(Ee,Je))+Math.imul(Me,_e)|0,O=Math.imul(Me,Je),B=B+Math.imul(ot,Dt)|0,S=(S=S+Math.imul(ot,St)|0)+Math.imul(pt,Dt)|0,O=O+Math.imul(pt,St)|0,B=B+Math.imul(Ve,Wt)|0,S=(S=S+Math.imul(Ve,Ut)|0)+Math.imul(dt,Wt)|0,O=O+Math.imul(dt,Ut)|0,B=B+Math.imul(Z,Br)|0,S=(S=S+Math.imul(Z,fr)|0)+Math.imul(ce,Br)|0,O=O+Math.imul(ce,fr)|0,B=B+Math.imul(le,er)|0,S=(S=S+Math.imul(le,Tr)|0)+Math.imul(Ce,er)|0,O=O+Math.imul(Ce,Tr)|0,B=B+Math.imul(he,_n)|0,S=(S=S+Math.imul(he,dr)|0)+Math.imul(de,_n)|0,O=O+Math.imul(de,dr)|0,B=B+Math.imul(Ye,Kr)|0,S=(S=S+Math.imul(Ye,tr)|0)+Math.imul(Ae,Kr)|0,O=O+Math.imul(Ae,tr)|0;var ka=(z+(B=B+Math.imul(ae,nn)|0)|0)+((8191&(S=(S=S+Math.imul(ae,An)|0)+Math.imul(Ne,nn)|0))<<13)|0;z=((O=O+Math.imul(Ne,An)|0)+(S>>>13)|0)+(ka>>>26)|0,ka&=67108863,B=Math.imul(pe,_e),S=(S=Math.imul(pe,Je))+Math.imul(me,_e)|0,O=Math.imul(me,Je),B=B+Math.imul(Ee,Dt)|0,S=(S=S+Math.imul(Ee,St)|0)+Math.imul(Me,Dt)|0,O=O+Math.imul(Me,St)|0,B=B+Math.imul(ot,Wt)|0,S=(S=S+Math.imul(ot,Ut)|0)+Math.imul(pt,Wt)|0,O=O+Math.imul(pt,Ut)|0,B=B+Math.imul(Ve,Br)|0,S=(S=S+Math.imul(Ve,fr)|0)+Math.imul(dt,Br)|0,O=O+Math.imul(dt,fr)|0,B=B+Math.imul(Z,er)|0,S=(S=S+Math.imul(Z,Tr)|0)+Math.imul(ce,er)|0,O=O+Math.imul(ce,Tr)|0,B=B+Math.imul(le,_n)|0,S=(S=S+Math.imul(le,dr)|0)+Math.imul(Ce,_n)|0,O=O+Math.imul(Ce,dr)|0,B=B+Math.imul(he,Kr)|0,S=(S=S+Math.imul(he,tr)|0)+Math.imul(de,Kr)|0,O=O+Math.imul(de,tr)|0,B=B+Math.imul(Ye,nn)|0,S=(S=S+Math.imul(Ye,An)|0)+Math.imul(Ae,nn)|0,O=O+Math.imul(Ae,An)|0;var Va=(z+(B=B+Math.imul(ae,Gn)|0)|0)+((8191&(S=(S=S+Math.imul(ae,Dr)|0)+Math.imul(Ne,Gn)|0))<<13)|0;z=((O=O+Math.imul(Ne,Dr)|0)+(S>>>13)|0)+(Va>>>26)|0,Va&=67108863,B=Math.imul(Ze,_e),S=(S=Math.imul(Ze,Je))+Math.imul(ke,_e)|0,O=Math.imul(ke,Je),B=B+Math.imul(pe,Dt)|0,S=(S=S+Math.imul(pe,St)|0)+Math.imul(me,Dt)|0,O=O+Math.imul(me,St)|0,B=B+Math.imul(Ee,Wt)|0,S=(S=S+Math.imul(Ee,Ut)|0)+Math.imul(Me,Wt)|0,O=O+Math.imul(Me,Ut)|0,B=B+Math.imul(ot,Br)|0,S=(S=S+Math.imul(ot,fr)|0)+Math.imul(pt,Br)|0,O=O+Math.imul(pt,fr)|0,B=B+Math.imul(Ve,er)|0,S=(S=S+Math.imul(Ve,Tr)|0)+Math.imul(dt,er)|0,O=O+Math.imul(dt,Tr)|0,B=B+Math.imul(Z,_n)|0,S=(S=S+Math.imul(Z,dr)|0)+Math.imul(ce,_n)|0,O=O+Math.imul(ce,dr)|0,B=B+Math.imul(le,Kr)|0,S=(S=S+Math.imul(le,tr)|0)+Math.imul(Ce,Kr)|0,O=O+Math.imul(Ce,tr)|0,B=B+Math.imul(he,nn)|0,S=(S=S+Math.imul(he,An)|0)+Math.imul(de,nn)|0,O=O+Math.imul(de,An)|0,B=B+Math.imul(Ye,Gn)|0,S=(S=S+Math.imul(Ye,Dr)|0)+Math.imul(Ae,Gn)|0,O=O+Math.imul(Ae,Dr)|0;var qo=(z+(B=B+Math.imul(ae,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(ae,Hn)|0)+Math.imul(Ne,Mn)|0))<<13)|0;z=((O=O+Math.imul(Ne,Hn)|0)+(S>>>13)|0)+(qo>>>26)|0,qo&=67108863,B=Math.imul(Ze,Dt),S=(S=Math.imul(Ze,St))+Math.imul(ke,Dt)|0,O=Math.imul(ke,St),B=B+Math.imul(pe,Wt)|0,S=(S=S+Math.imul(pe,Ut)|0)+Math.imul(me,Wt)|0,O=O+Math.imul(me,Ut)|0,B=B+Math.imul(Ee,Br)|0,S=(S=S+Math.imul(Ee,fr)|0)+Math.imul(Me,Br)|0,O=O+Math.imul(Me,fr)|0,B=B+Math.imul(ot,er)|0,S=(S=S+Math.imul(ot,Tr)|0)+Math.imul(pt,er)|0,O=O+Math.imul(pt,Tr)|0,B=B+Math.imul(Ve,_n)|0,S=(S=S+Math.imul(Ve,dr)|0)+Math.imul(dt,_n)|0,O=O+Math.imul(dt,dr)|0,B=B+Math.imul(Z,Kr)|0,S=(S=S+Math.imul(Z,tr)|0)+Math.imul(ce,Kr)|0,O=O+Math.imul(ce,tr)|0,B=B+Math.imul(le,nn)|0,S=(S=S+Math.imul(le,An)|0)+Math.imul(Ce,nn)|0,O=O+Math.imul(Ce,An)|0,B=B+Math.imul(he,Gn)|0,S=(S=S+Math.imul(he,Dr)|0)+Math.imul(de,Gn)|0,O=O+Math.imul(de,Dr)|0;var Ro=(z+(B=B+Math.imul(Ye,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(Ye,Hn)|0)+Math.imul(Ae,Mn)|0))<<13)|0;z=((O=O+Math.imul(Ae,Hn)|0)+(S>>>13)|0)+(Ro>>>26)|0,Ro&=67108863,B=Math.imul(Ze,Wt),S=(S=Math.imul(Ze,Ut))+Math.imul(ke,Wt)|0,O=Math.imul(ke,Ut),B=B+Math.imul(pe,Br)|0,S=(S=S+Math.imul(pe,fr)|0)+Math.imul(me,Br)|0,O=O+Math.imul(me,fr)|0,B=B+Math.imul(Ee,er)|0,S=(S=S+Math.imul(Ee,Tr)|0)+Math.imul(Me,er)|0,O=O+Math.imul(Me,Tr)|0,B=B+Math.imul(ot,_n)|0,S=(S=S+Math.imul(ot,dr)|0)+Math.imul(pt,_n)|0,O=O+Math.imul(pt,dr)|0,B=B+Math.imul(Ve,Kr)|0,S=(S=S+Math.imul(Ve,tr)|0)+Math.imul(dt,Kr)|0,O=O+Math.imul(dt,tr)|0,B=B+Math.imul(Z,nn)|0,S=(S=S+Math.imul(Z,An)|0)+Math.imul(ce,nn)|0,O=O+Math.imul(ce,An)|0,B=B+Math.imul(le,Gn)|0,S=(S=S+Math.imul(le,Dr)|0)+Math.imul(Ce,Gn)|0,O=O+Math.imul(Ce,Dr)|0;var po=(z+(B=B+Math.imul(he,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(he,Hn)|0)+Math.imul(de,Mn)|0))<<13)|0;z=((O=O+Math.imul(de,Hn)|0)+(S>>>13)|0)+(po>>>26)|0,po&=67108863,B=Math.imul(Ze,Br),S=(S=Math.imul(Ze,fr))+Math.imul(ke,Br)|0,O=Math.imul(ke,fr),B=B+Math.imul(pe,er)|0,S=(S=S+Math.imul(pe,Tr)|0)+Math.imul(me,er)|0,O=O+Math.imul(me,Tr)|0,B=B+Math.imul(Ee,_n)|0,S=(S=S+Math.imul(Ee,dr)|0)+Math.imul(Me,_n)|0,O=O+Math.imul(Me,dr)|0,B=B+Math.imul(ot,Kr)|0,S=(S=S+Math.imul(ot,tr)|0)+Math.imul(pt,Kr)|0,O=O+Math.imul(pt,tr)|0,B=B+Math.imul(Ve,nn)|0,S=(S=S+Math.imul(Ve,An)|0)+Math.imul(dt,nn)|0,O=O+Math.imul(dt,An)|0,B=B+Math.imul(Z,Gn)|0,S=(S=S+Math.imul(Z,Dr)|0)+Math.imul(ce,Gn)|0,O=O+Math.imul(ce,Dr)|0;var Fo=(z+(B=B+Math.imul(le,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(le,Hn)|0)+Math.imul(Ce,Mn)|0))<<13)|0;z=((O=O+Math.imul(Ce,Hn)|0)+(S>>>13)|0)+(Fo>>>26)|0,Fo&=67108863,B=Math.imul(Ze,er),S=(S=Math.imul(Ze,Tr))+Math.imul(ke,er)|0,O=Math.imul(ke,Tr),B=B+Math.imul(pe,_n)|0,S=(S=S+Math.imul(pe,dr)|0)+Math.imul(me,_n)|0,O=O+Math.imul(me,dr)|0,B=B+Math.imul(Ee,Kr)|0,S=(S=S+Math.imul(Ee,tr)|0)+Math.imul(Me,Kr)|0,O=O+Math.imul(Me,tr)|0,B=B+Math.imul(ot,nn)|0,S=(S=S+Math.imul(ot,An)|0)+Math.imul(pt,nn)|0,O=O+Math.imul(pt,An)|0,B=B+Math.imul(Ve,Gn)|0,S=(S=S+Math.imul(Ve,Dr)|0)+Math.imul(dt,Gn)|0,O=O+Math.imul(dt,Dr)|0;var ri=(z+(B=B+Math.imul(Z,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(Z,Hn)|0)+Math.imul(ce,Mn)|0))<<13)|0;z=((O=O+Math.imul(ce,Hn)|0)+(S>>>13)|0)+(ri>>>26)|0,ri&=67108863,B=Math.imul(Ze,_n),S=(S=Math.imul(Ze,dr))+Math.imul(ke,_n)|0,O=Math.imul(ke,dr),B=B+Math.imul(pe,Kr)|0,S=(S=S+Math.imul(pe,tr)|0)+Math.imul(me,Kr)|0,O=O+Math.imul(me,tr)|0,B=B+Math.imul(Ee,nn)|0,S=(S=S+Math.imul(Ee,An)|0)+Math.imul(Me,nn)|0,O=O+Math.imul(Me,An)|0,B=B+Math.imul(ot,Gn)|0,S=(S=S+Math.imul(ot,Dr)|0)+Math.imul(pt,Gn)|0,O=O+Math.imul(pt,Dr)|0;var $n=(z+(B=B+Math.imul(Ve,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(Ve,Hn)|0)+Math.imul(dt,Mn)|0))<<13)|0;z=((O=O+Math.imul(dt,Hn)|0)+(S>>>13)|0)+($n>>>26)|0,$n&=67108863,B=Math.imul(Ze,Kr),S=(S=Math.imul(Ze,tr))+Math.imul(ke,Kr)|0,O=Math.imul(ke,tr),B=B+Math.imul(pe,nn)|0,S=(S=S+Math.imul(pe,An)|0)+Math.imul(me,nn)|0,O=O+Math.imul(me,An)|0,B=B+Math.imul(Ee,Gn)|0,S=(S=S+Math.imul(Ee,Dr)|0)+Math.imul(Me,Gn)|0,O=O+Math.imul(Me,Dr)|0;var Bs=(z+(B=B+Math.imul(ot,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(ot,Hn)|0)+Math.imul(pt,Mn)|0))<<13)|0;z=((O=O+Math.imul(pt,Hn)|0)+(S>>>13)|0)+(Bs>>>26)|0,Bs&=67108863,B=Math.imul(Ze,nn),S=(S=Math.imul(Ze,An))+Math.imul(ke,nn)|0,O=Math.imul(ke,An),B=B+Math.imul(pe,Gn)|0,S=(S=S+Math.imul(pe,Dr)|0)+Math.imul(me,Gn)|0,O=O+Math.imul(me,Dr)|0;var No=(z+(B=B+Math.imul(Ee,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(Ee,Hn)|0)+Math.imul(Me,Mn)|0))<<13)|0;z=((O=O+Math.imul(Me,Hn)|0)+(S>>>13)|0)+(No>>>26)|0,No&=67108863,B=Math.imul(Ze,Gn),S=(S=Math.imul(Ze,Dr))+Math.imul(ke,Gn)|0,O=Math.imul(ke,Dr);var Qs=(z+(B=B+Math.imul(pe,Mn)|0)|0)+((8191&(S=(S=S+Math.imul(pe,Hn)|0)+Math.imul(me,Mn)|0))<<13)|0;z=((O=O+Math.imul(me,Hn)|0)+(S>>>13)|0)+(Qs>>>26)|0,Qs&=67108863;var bc=(z+(B=Math.imul(Ze,Mn))|0)+((8191&(S=(S=Math.imul(Ze,Hn))+Math.imul(ke,Mn)|0))<<13)|0;return z=((O=Math.imul(ke,Hn))+(S>>>13)|0)+(bc>>>26)|0,bc&=67108863,M[0]=vi,M[1]=qe,M[2]=bt,M[3]=Ft,M[4]=Lr,M[5]=kn,M[6]=Bi,M[7]=ka,M[8]=Va,M[9]=qo,M[10]=Ro,M[11]=po,M[12]=Fo,M[13]=ri,M[14]=$n,M[15]=Bs,M[16]=No,M[17]=Qs,M[18]=bc,z!==0&&(M[19]=z,Q.length++),Q};function E(C,w,Q){Q.negative=w.negative^C.negative,Q.length=C.length+w.length;for(var B=0,S=0,O=0;O<Q.length-1;O++){var F=S;S=0;for(var Y=67108863&B,M=Math.min(O,w.length-1),z=Math.max(0,O-C.length+1);z<=M;z++){var ue=O-z,ae=(0|C.words[ue])*(0|w.words[z]),Ne=67108863&ae;Y=67108863&(Ne=Ne+Y|0),S+=(F=(F=F+(ae/67108864|0)|0)+(Ne>>>26)|0)>>>26,F&=67108863}Q.words[O]=Y,B=F,F=S}return B!==0?Q.words[O]=B:Q.length--,Q._strip()}function k(C,w,Q){return E(C,w,Q)}Math.imul||(I=y),i.prototype.mulTo=function(C,w){var Q=this.length+C.length;return this.length===10&&C.length===10?I(this,C,w):Q<63?y(this,C,w):Q<1024?E(this,C,w):k(this,C,w)},i.prototype.mul=function(C){var w=new i(null);return w.words=new Array(this.length+C.length),this.mulTo(C,w)},i.prototype.mulf=function(C){var w=new i(null);return w.words=new Array(this.length+C.length),k(this,C,w)},i.prototype.imul=function(C){return this.clone().mulTo(C,this)},i.prototype.imuln=function(C){var w=C<0;w&&(C=-C),s(typeof C=="number"),s(C<67108864);for(var Q=0,B=0;B<this.length;B++){var S=(0|this.words[B])*C,O=(67108863&S)+(67108863&Q);Q>>=26,Q+=S/67108864|0,Q+=O>>>26,this.words[B]=67108863&O}return Q!==0&&(this.words[B]=Q,this.length++),w?this.ineg():this},i.prototype.muln=function(C){return this.clone().imuln(C)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(C){var w=v(C);if(w.length===0)return new i(1);for(var Q=this,B=0;B<w.length&&w[B]===0;B++,Q=Q.sqr());if(++B<w.length)for(var S=Q.sqr();B<w.length;B++,S=S.sqr())w[B]!==0&&(Q=Q.mul(S));return Q},i.prototype.iushln=function(C){s(typeof C=="number"&&C>=0);var w,Q=C%26,B=(C-Q)/26,S=67108863>>>26-Q<<26-Q;if(Q!==0){var O=0;for(w=0;w<this.length;w++){var F=this.words[w]&S,Y=(0|this.words[w])-F<<Q;this.words[w]=Y|O,O=F>>>26-Q}O&&(this.words[w]=O,this.length++)}if(B!==0){for(w=this.length-1;w>=0;w--)this.words[w+B]=this.words[w];for(w=0;w<B;w++)this.words[w]=0;this.length+=B}return this._strip()},i.prototype.ishln=function(C){return s(this.negative===0),this.iushln(C)},i.prototype.iushrn=function(C,w,Q){var B;s(typeof C=="number"&&C>=0),B=w?(w-w%26)/26:0;var S=C%26,O=Math.min((C-S)/26,this.length),F=67108863^67108863>>>S<<S,Y=Q;if(B-=O,B=Math.max(0,B),Y){for(var M=0;M<O;M++)Y.words[M]=this.words[M];Y.length=O}if(O!==0)if(this.length>O)for(this.length-=O,M=0;M<this.length;M++)this.words[M]=this.words[M+O];else this.words[0]=0,this.length=1;var z=0;for(M=this.length-1;M>=0&&(z!==0||M>=B);M--){var ue=0|this.words[M];this.words[M]=z<<26-S|ue>>>S,z=ue&F}return Y&&z!==0&&(Y.words[Y.length++]=z),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(C,w,Q){return s(this.negative===0),this.iushrn(C,w,Q)},i.prototype.shln=function(C){return this.clone().ishln(C)},i.prototype.ushln=function(C){return this.clone().iushln(C)},i.prototype.shrn=function(C){return this.clone().ishrn(C)},i.prototype.ushrn=function(C){return this.clone().iushrn(C)},i.prototype.testn=function(C){s(typeof C=="number"&&C>=0);var w=C%26,Q=(C-w)/26,B=1<<w;return!(this.length<=Q||!(this.words[Q]&B))},i.prototype.imaskn=function(C){s(typeof C=="number"&&C>=0);var w=C%26,Q=(C-w)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=Q)return this;if(w!==0&&Q++,this.length=Math.min(Q,this.length),w!==0){var B=67108863^67108863>>>w<<w;this.words[this.length-1]&=B}return this._strip()},i.prototype.maskn=function(C){return this.clone().imaskn(C)},i.prototype.iaddn=function(C){return s(typeof C=="number"),s(C<67108864),C<0?this.isubn(-C):this.negative!==0?this.length===1&&(0|this.words[0])<=C?(this.words[0]=C-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(C),this.negative=1,this):this._iaddn(C)},i.prototype._iaddn=function(C){this.words[0]+=C;for(var w=0;w<this.length&&this.words[w]>=67108864;w++)this.words[w]-=67108864,w===this.length-1?this.words[w+1]=1:this.words[w+1]++;return this.length=Math.max(this.length,w+1),this},i.prototype.isubn=function(C){if(s(typeof C=="number"),s(C<67108864),C<0)return this.iaddn(-C);if(this.negative!==0)return this.negative=0,this.iaddn(C),this.negative=1,this;if(this.words[0]-=C,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var w=0;w<this.length&&this.words[w]<0;w++)this.words[w]+=67108864,this.words[w+1]-=1;return this._strip()},i.prototype.addn=function(C){return this.clone().iaddn(C)},i.prototype.subn=function(C){return this.clone().isubn(C)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(C,w,Q){var B,S,O=C.length+Q;this._expand(O);var F=0;for(B=0;B<C.length;B++){S=(0|this.words[B+Q])+F;var Y=(0|C.words[B])*w;F=((S-=67108863&Y)>>26)-(Y/67108864|0),this.words[B+Q]=67108863&S}for(;B<this.length-Q;B++)F=(S=(0|this.words[B+Q])+F)>>26,this.words[B+Q]=67108863&S;if(F===0)return this._strip();for(s(F===-1),F=0,B=0;B<this.length;B++)F=(S=-(0|this.words[B])+F)>>26,this.words[B]=67108863&S;return this.negative=1,this._strip()},i.prototype._wordDiv=function(C,w){var Q=this.length-C.length,B=this.clone(),S=C,O=0|S.words[S.length-1];(Q=26-this._countBits(O))!=0&&(S=S.ushln(Q),B.iushln(Q),O=0|S.words[S.length-1]);var F,Y=B.length-S.length;if(w!=="mod"){(F=new i(null)).length=Y+1,F.words=new Array(F.length);for(var M=0;M<F.length;M++)F.words[M]=0}var z=B.clone()._ishlnsubmul(S,1,Y);z.negative===0&&(B=z,F&&(F.words[Y]=1));for(var ue=Y-1;ue>=0;ue--){var ae=67108864*(0|B.words[S.length+ue])+(0|B.words[S.length+ue-1]);for(ae=Math.min(ae/O|0,67108863),B._ishlnsubmul(S,ae,ue);B.negative!==0;)ae--,B.negative=0,B._ishlnsubmul(S,1,ue),B.isZero()||(B.negative^=1);F&&(F.words[ue]=ae)}return F&&F._strip(),B._strip(),w!=="div"&&Q!==0&&B.iushrn(Q),{div:F||null,mod:B}},i.prototype.divmod=function(C,w,Q){return s(!C.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:this.negative!==0&&C.negative===0?(O=this.neg().divmod(C,w),w!=="mod"&&(B=O.div.neg()),w!=="div"&&(S=O.mod.neg(),Q&&S.negative!==0&&S.iadd(C)),{div:B,mod:S}):this.negative===0&&C.negative!==0?(O=this.divmod(C.neg(),w),w!=="mod"&&(B=O.div.neg()),{div:B,mod:O.mod}):this.negative&C.negative?(O=this.neg().divmod(C.neg(),w),w!=="div"&&(S=O.mod.neg(),Q&&S.negative!==0&&S.isub(C)),{div:O.div,mod:S}):C.length>this.length||this.cmp(C)<0?{div:new i(0),mod:this}:C.length===1?w==="div"?{div:this.divn(C.words[0]),mod:null}:w==="mod"?{div:null,mod:new i(this.modrn(C.words[0]))}:{div:this.divn(C.words[0]),mod:new i(this.modrn(C.words[0]))}:this._wordDiv(C,w);var B,S,O},i.prototype.div=function(C){return this.divmod(C,"div",!1).div},i.prototype.mod=function(C){return this.divmod(C,"mod",!1).mod},i.prototype.umod=function(C){return this.divmod(C,"mod",!0).mod},i.prototype.divRound=function(C){var w=this.divmod(C);if(w.mod.isZero())return w.div;var Q=w.div.negative!==0?w.mod.isub(C):w.mod,B=C.ushrn(1),S=C.andln(1),O=Q.cmp(B);return O<0||S===1&&O===0?w.div:w.div.negative!==0?w.div.isubn(1):w.div.iaddn(1)},i.prototype.modrn=function(C){var w=C<0;w&&(C=-C),s(C<=67108863);for(var Q=(1<<26)%C,B=0,S=this.length-1;S>=0;S--)B=(Q*B+(0|this.words[S]))%C;return w?-B:B},i.prototype.modn=function(C){return this.modrn(C)},i.prototype.idivn=function(C){var w=C<0;w&&(C=-C),s(C<=67108863);for(var Q=0,B=this.length-1;B>=0;B--){var S=(0|this.words[B])+67108864*Q;this.words[B]=S/C|0,Q=S%C}return this._strip(),w?this.ineg():this},i.prototype.divn=function(C){return this.clone().idivn(C)},i.prototype.egcd=function(C){s(C.negative===0),s(!C.isZero());var w=this,Q=C.clone();w=w.negative!==0?w.umod(C):w.clone();for(var B=new i(1),S=new i(0),O=new i(0),F=new i(1),Y=0;w.isEven()&&Q.isEven();)w.iushrn(1),Q.iushrn(1),++Y;for(var M=Q.clone(),z=w.clone();!w.isZero();){for(var ue=0,ae=1;!(w.words[0]&ae)&&ue<26;++ue,ae<<=1);if(ue>0)for(w.iushrn(ue);ue-- >0;)(B.isOdd()||S.isOdd())&&(B.iadd(M),S.isub(z)),B.iushrn(1),S.iushrn(1);for(var Ne=0,Ge=1;!(Q.words[0]&Ge)&&Ne<26;++Ne,Ge<<=1);if(Ne>0)for(Q.iushrn(Ne);Ne-- >0;)(O.isOdd()||F.isOdd())&&(O.iadd(M),F.isub(z)),O.iushrn(1),F.iushrn(1);w.cmp(Q)>=0?(w.isub(Q),B.isub(O),S.isub(F)):(Q.isub(w),O.isub(B),F.isub(S))}return{a:O,b:F,gcd:Q.iushln(Y)}},i.prototype._invmp=function(C){s(C.negative===0),s(!C.isZero());var w=this,Q=C.clone();w=w.negative!==0?w.umod(C):w.clone();for(var B,S=new i(1),O=new i(0),F=Q.clone();w.cmpn(1)>0&&Q.cmpn(1)>0;){for(var Y=0,M=1;!(w.words[0]&M)&&Y<26;++Y,M<<=1);if(Y>0)for(w.iushrn(Y);Y-- >0;)S.isOdd()&&S.iadd(F),S.iushrn(1);for(var z=0,ue=1;!(Q.words[0]&ue)&&z<26;++z,ue<<=1);if(z>0)for(Q.iushrn(z);z-- >0;)O.isOdd()&&O.iadd(F),O.iushrn(1);w.cmp(Q)>=0?(w.isub(Q),S.isub(O)):(Q.isub(w),O.isub(S))}return(B=w.cmpn(1)===0?S:O).cmpn(0)<0&&B.iadd(C),B},i.prototype.gcd=function(C){if(this.isZero())return C.abs();if(C.isZero())return this.abs();var w=this.clone(),Q=C.clone();w.negative=0,Q.negative=0;for(var B=0;w.isEven()&&Q.isEven();B++)w.iushrn(1),Q.iushrn(1);for(;;){for(;w.isEven();)w.iushrn(1);for(;Q.isEven();)Q.iushrn(1);var S=w.cmp(Q);if(S<0){var O=w;w=Q,Q=O}else if(S===0||Q.cmpn(1)===0)break;w.isub(Q)}return Q.iushln(B)},i.prototype.invm=function(C){return this.egcd(C).a.umod(C)},i.prototype.isEven=function(){return(1&this.words[0])==0},i.prototype.isOdd=function(){return(1&this.words[0])==1},i.prototype.andln=function(C){return this.words[0]&C},i.prototype.bincn=function(C){s(typeof C=="number");var w=C%26,Q=(C-w)/26,B=1<<w;if(this.length<=Q)return this._expand(Q+1),this.words[Q]|=B,this;for(var S=B,O=Q;S!==0&&O<this.length;O++){var F=0|this.words[O];S=(F+=S)>>>26,F&=67108863,this.words[O]=F}return S!==0&&(this.words[O]=S,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(C){var w,Q=C<0;if(this.negative!==0&&!Q)return-1;if(this.negative===0&&Q)return 1;if(this._strip(),this.length>1)w=1;else{Q&&(C=-C),s(C<=67108863,"Number is too big");var B=0|this.words[0];w=B===C?0:B<C?-1:1}return this.negative!==0?0|-w:w},i.prototype.cmp=function(C){if(this.negative!==0&&C.negative===0)return-1;if(this.negative===0&&C.negative!==0)return 1;var w=this.ucmp(C);return this.negative!==0?0|-w:w},i.prototype.ucmp=function(C){if(this.length>C.length)return 1;if(this.length<C.length)return-1;for(var w=0,Q=this.length-1;Q>=0;Q--){var B=0|this.words[Q],S=0|C.words[Q];if(B!==S){B<S?w=-1:B>S&&(w=1);break}}return w},i.prototype.gtn=function(C){return this.cmpn(C)===1},i.prototype.gt=function(C){return this.cmp(C)===1},i.prototype.gten=function(C){return this.cmpn(C)>=0},i.prototype.gte=function(C){return this.cmp(C)>=0},i.prototype.ltn=function(C){return this.cmpn(C)===-1},i.prototype.lt=function(C){return this.cmp(C)===-1},i.prototype.lten=function(C){return this.cmpn(C)<=0},i.prototype.lte=function(C){return this.cmp(C)<=0},i.prototype.eqn=function(C){return this.cmpn(C)===0},i.prototype.eq=function(C){return this.cmp(C)===0},i.red=function(C){return new x(C)},i.prototype.toRed=function(C){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),C.convertTo(this)._forceRed(C)},i.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(C){return this.red=C,this},i.prototype.forceRed=function(C){return s(!this.red,"Already a number in reduction context"),this._forceRed(C)},i.prototype.redAdd=function(C){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,C)},i.prototype.redIAdd=function(C){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,C)},i.prototype.redSub=function(C){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,C)},i.prototype.redISub=function(C){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,C)},i.prototype.redShl=function(C){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,C)},i.prototype.redMul=function(C){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,C),this.red.mul(this,C)},i.prototype.redIMul=function(C){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,C),this.red.imul(this,C)},i.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(C){return s(this.red&&!C.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,C)};var R={k256:null,p224:null,p192:null,p25519:null};function T(C,w){this.name=C,this.p=new i(w,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){T.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function W(){T.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function H(){T.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function X(){T.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(C){if(typeof C=="string"){var w=i._prime(C);this.m=w.p,this.prime=w}else s(C.gtn(1),"modulus must be greater than 1"),this.m=C,this.prime=null}function N(C){x.call(this,C),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}T.prototype._tmp=function(){var C=new i(null);return C.words=new Array(Math.ceil(this.n/13)),C},T.prototype.ireduce=function(C){var w,Q=C;do this.split(Q,this.tmp),w=(Q=(Q=this.imulK(Q)).iadd(this.tmp)).bitLength();while(w>this.n);var B=w<this.n?-1:Q.ucmp(this.p);return B===0?(Q.words[0]=0,Q.length=1):B>0?Q.isub(this.p):Q.strip!==void 0?Q.strip():Q._strip(),Q},T.prototype.split=function(C,w){C.iushrn(this.n,0,w)},T.prototype.imulK=function(C){return C.imul(this.k)},o(j,T),j.prototype.split=function(C,w){for(var Q=4194303,B=Math.min(C.length,9),S=0;S<B;S++)w.words[S]=C.words[S];if(w.length=B,C.length<=9)return C.words[0]=0,void(C.length=1);var O=C.words[9];for(w.words[w.length++]=O&Q,S=10;S<C.length;S++){var F=0|C.words[S];C.words[S-10]=(F&Q)<<4|O>>>22,O=F}O>>>=22,C.words[S-10]=O,O===0&&C.length>10?C.length-=10:C.length-=9},j.prototype.imulK=function(C){C.words[C.length]=0,C.words[C.length+1]=0,C.length+=2;for(var w=0,Q=0;Q<C.length;Q++){var B=0|C.words[Q];w+=977*B,C.words[Q]=67108863&w,w=64*B+(w/67108864|0)}return C.words[C.length-1]===0&&(C.length--,C.words[C.length-1]===0&&C.length--),C},o(W,T),o(H,T),o(X,T),X.prototype.imulK=function(C){for(var w=0,Q=0;Q<C.length;Q++){var B=19*(0|C.words[Q])+w,S=67108863&B;B>>>=26,C.words[Q]=S,w=B}return w!==0&&(C.words[C.length++]=w),C},i._prime=function(C){if(R[C])return R[C];var w;if(C==="k256")w=new j;else if(C==="p224")w=new W;else if(C==="p192")w=new H;else{if(C!=="p25519")throw new Error("Unknown prime "+C);w=new X}return R[C]=w,w},x.prototype._verify1=function(C){s(C.negative===0,"red works only with positives"),s(C.red,"red works only with red numbers")},x.prototype._verify2=function(C,w){s((C.negative|w.negative)==0,"red works only with positives"),s(C.red&&C.red===w.red,"red works only with red numbers")},x.prototype.imod=function(C){return this.prime?this.prime.ireduce(C)._forceRed(this):(h(C,C.umod(this.m)._forceRed(this)),C)},x.prototype.neg=function(C){return C.isZero()?C.clone():this.m.sub(C)._forceRed(this)},x.prototype.add=function(C,w){this._verify2(C,w);var Q=C.add(w);return Q.cmp(this.m)>=0&&Q.isub(this.m),Q._forceRed(this)},x.prototype.iadd=function(C,w){this._verify2(C,w);var Q=C.iadd(w);return Q.cmp(this.m)>=0&&Q.isub(this.m),Q},x.prototype.sub=function(C,w){this._verify2(C,w);var Q=C.sub(w);return Q.cmpn(0)<0&&Q.iadd(this.m),Q._forceRed(this)},x.prototype.isub=function(C,w){this._verify2(C,w);var Q=C.isub(w);return Q.cmpn(0)<0&&Q.iadd(this.m),Q},x.prototype.shl=function(C,w){return this._verify1(C),this.imod(C.ushln(w))},x.prototype.imul=function(C,w){return this._verify2(C,w),this.imod(C.imul(w))},x.prototype.mul=function(C,w){return this._verify2(C,w),this.imod(C.mul(w))},x.prototype.isqr=function(C){return this.imul(C,C.clone())},x.prototype.sqr=function(C){return this.mul(C,C)},x.prototype.sqrt=function(C){if(C.isZero())return C.clone();var w=this.m.andln(3);if(s(w%2==1),w===3){var Q=this.m.add(new i(1)).iushrn(2);return this.pow(C,Q)}for(var B=this.m.subn(1),S=0;!B.isZero()&&B.andln(1)===0;)S++,B.iushrn(1);s(!B.isZero());var O=new i(1).toRed(this),F=O.redNeg(),Y=this.m.subn(1).iushrn(1),M=this.m.bitLength();for(M=new i(2*M*M).toRed(this);this.pow(M,Y).cmp(F)!==0;)M.redIAdd(F);for(var z=this.pow(M,B),ue=this.pow(C,B.addn(1).iushrn(1)),ae=this.pow(C,B),Ne=S;ae.cmp(O)!==0;){for(var Ge=ae,Ye=0;Ge.cmp(O)!==0;Ye++)Ge=Ge.redSqr();s(Ye<Ne);var Ae=this.pow(z,new i(1).iushln(Ne-Ye-1));ue=ue.redMul(Ae),z=Ae.redSqr(),ae=ae.redMul(z),Ne=Ye}return ue},x.prototype.invm=function(C){var w=C._invmp(this.m);return w.negative!==0?(w.negative=0,this.imod(w).redNeg()):this.imod(w)},x.prototype.pow=function(C,w){if(w.isZero())return new i(1).toRed(this);if(w.cmpn(1)===0)return C.clone();var Q=4,B=new Array(1<<Q);B[0]=new i(1).toRed(this),B[1]=C;for(var S=2;S<B.length;S++)B[S]=this.mul(B[S-1],C);var O=B[0],F=0,Y=0,M=w.bitLength()%26;for(M===0&&(M=26),S=w.length-1;S>=0;S--){for(var z=w.words[S],ue=M-1;ue>=0;ue--){var ae=z>>ue&1;O!==B[0]&&(O=this.sqr(O)),ae!==0||F!==0?(F<<=1,F|=ae,(++Y===Q||S===0&&ue===0)&&(O=this.mul(O,B[F]),Y=0,F=0)):Y=0}M=26}return O},x.prototype.convertTo=function(C){var w=C.umod(this.m);return w===C?w.clone():w},x.prototype.convertFrom=function(C){var w=C.clone();return w.red=null,w},i.mont=function(C){return new N(C)},o(N,x),N.prototype.convertTo=function(C){return this.imod(C.ushln(this.shift))},N.prototype.convertFrom=function(C){var w=this.imod(C.mul(this.rinv));return w.red=null,w},N.prototype.imul=function(C,w){if(C.isZero()||w.isZero())return C.words[0]=0,C.length=1,C;var Q=C.imul(w),B=Q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=Q.isub(B).iushrn(this.shift),O=S;return S.cmp(this.m)>=0?O=S.isub(this.m):S.cmpn(0)<0&&(O=S.iadd(this.m)),O._forceRed(this)},N.prototype.mul=function(C,w){if(C.isZero()||w.isZero())return new i(0)._forceRed(this);var Q=C.mul(w),B=Q.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=Q.isub(B).iushrn(this.shift),O=S;return S.cmp(this.m)>=0?O=S.isub(this.m):S.cmpn(0)<0&&(O=S.iadd(this.m)),O._forceRed(this)},N.prototype.invm=function(C){return this.imod(C._invmp(this.m).mul(this.r2))._forceRed(this)}})(r===void 0||r,void 0)},{buffer:188}],187:[function(e,r,t){var n;function a(o){this.rand=o}if(r.exports=function(o){return n||(n=new a(null)),n.generate(o)},r.exports.Rand=a,a.prototype.generate=function(o){return this._rand(o)},a.prototype._rand=function(o){if(this.rand.getBytes)return this.rand.getBytes(o);for(var i=new Uint8Array(o),c=0;c<i.length;c++)i[c]=this.rand.getByte();return i},typeof self=="object")self.crypto&&self.crypto.getRandomValues?a.prototype._rand=function(o){var i=new Uint8Array(o);return self.crypto.getRandomValues(i),i}:self.msCrypto&&self.msCrypto.getRandomValues?a.prototype._rand=function(o){var i=new Uint8Array(o);return self.msCrypto.getRandomValues(i),i}:typeof window=="object"&&(a.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var s=e("crypto");if(typeof s.randomBytes!="function")throw new Error("Not supported");a.prototype._rand=function(o){return s.randomBytes(o)}}catch{}},{crypto:188}],188:[function(e,r,t){},{}],189:[function(e,r,t){var n=e("safe-buffer").Buffer;function a(l){n.isBuffer(l)||(l=n.from(l));for(var A=l.length/4|0,h=new Array(A),f=0;f<A;f++)h[f]=l.readUInt32BE(4*f);return h}function s(l){for(var A=0;A<l.length;l++)l[A]=0}function o(l,A,h,f,d){for(var g,p,m,v,y=h[0],I=h[1],E=h[2],k=h[3],R=l[0]^A[0],T=l[1]^A[1],j=l[2]^A[2],W=l[3]^A[3],H=4,X=1;X<d;X++)g=y[R>>>24]^I[T>>>16&255]^E[j>>>8&255]^k[255&W]^A[H++],p=y[T>>>24]^I[j>>>16&255]^E[W>>>8&255]^k[255&R]^A[H++],m=y[j>>>24]^I[W>>>16&255]^E[R>>>8&255]^k[255&T]^A[H++],v=y[W>>>24]^I[R>>>16&255]^E[T>>>8&255]^k[255&j]^A[H++],R=g,T=p,j=m,W=v;return g=(f[R>>>24]<<24|f[T>>>16&255]<<16|f[j>>>8&255]<<8|f[255&W])^A[H++],p=(f[T>>>24]<<24|f[j>>>16&255]<<16|f[W>>>8&255]<<8|f[255&R])^A[H++],m=(f[j>>>24]<<24|f[W>>>16&255]<<16|f[R>>>8&255]<<8|f[255&T])^A[H++],v=(f[W>>>24]<<24|f[R>>>16&255]<<16|f[T>>>8&255]<<8|f[255&j])^A[H++],[g>>>=0,p>>>=0,m>>>=0,v>>>=0]}var i=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var l=new Array(256),A=0;A<256;A++)l[A]=A<128?A<<1:A<<1^283;for(var h=[],f=[],d=[[],[],[],[]],g=[[],[],[],[]],p=0,m=0,v=0;v<256;++v){var y=m^m<<1^m<<2^m<<3^m<<4;y=y>>>8^255&y^99,h[p]=y,f[y]=p;var I=l[p],E=l[I],k=l[E],R=257*l[y]^16843008*y;d[0][p]=R<<24|R>>>8,d[1][p]=R<<16|R>>>16,d[2][p]=R<<8|R>>>24,d[3][p]=R,R=16843009*k^65537*E^257*I^16843008*p,g[0][y]=R<<24|R>>>8,g[1][y]=R<<16|R>>>16,g[2][y]=R<<8|R>>>24,g[3][y]=R,p===0?p=m=1:(p=I^l[l[l[k^I]]],m^=l[l[m]])}return{SBOX:h,INV_SBOX:f,SUB_MIX:d,INV_SUB_MIX:g}}();function u(l){this._key=a(l),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var l=this._key,A=l.length,h=A+6,f=4*(h+1),d=[],g=0;g<A;g++)d[g]=l[g];for(g=A;g<f;g++){var p=d[g-1];g%A==0?(p=p<<8|p>>>24,p=c.SBOX[p>>>24]<<24|c.SBOX[p>>>16&255]<<16|c.SBOX[p>>>8&255]<<8|c.SBOX[255&p],p^=i[g/A|0]<<24):A>6&&g%A==4&&(p=c.SBOX[p>>>24]<<24|c.SBOX[p>>>16&255]<<16|c.SBOX[p>>>8&255]<<8|c.SBOX[255&p]),d[g]=d[g-A]^p}for(var m=[],v=0;v<f;v++){var y=f-v,I=d[y-(v%4?0:4)];m[v]=v<4||y<=4?I:c.INV_SUB_MIX[0][c.SBOX[I>>>24]]^c.INV_SUB_MIX[1][c.SBOX[I>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[I>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&I]]}this._nRounds=h,this._keySchedule=d,this._invKeySchedule=m},u.prototype.encryptBlockRaw=function(l){return o(l=a(l),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(l){var A=this.encryptBlockRaw(l),h=n.allocUnsafe(16);return h.writeUInt32BE(A[0],0),h.writeUInt32BE(A[1],4),h.writeUInt32BE(A[2],8),h.writeUInt32BE(A[3],12),h},u.prototype.decryptBlock=function(l){var A=(l=a(l))[1];l[1]=l[3],l[3]=A;var h=o(l,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),f=n.allocUnsafe(16);return f.writeUInt32BE(h[0],0),f.writeUInt32BE(h[3],4),f.writeUInt32BE(h[2],8),f.writeUInt32BE(h[1],12),f},u.prototype.scrub=function(){s(this._keySchedule),s(this._invKeySchedule),s(this._key)},r.exports.AES=u},{"safe-buffer":494}],190:[function(e,r,t){var n=e("./aes"),a=e("safe-buffer").Buffer,s=e("cipher-base"),o=e("inherits"),i=e("./ghash"),c=e("buffer-xor"),u=e("./incr32");function l(f,d){var g=0;f.length!==d.length&&g++;for(var p=Math.min(f.length,d.length),m=0;m<p;++m)g+=f[m]^d[m];return g}function A(f,d,g){if(d.length===12)return f._finID=a.concat([d,a.from([0,0,0,1])]),a.concat([d,a.from([0,0,0,2])]);var p=new i(g),m=d.length,v=m%16;p.update(d),v&&(v=16-v,p.update(a.alloc(v,0))),p.update(a.alloc(8,0));var y=8*m,I=a.alloc(8);I.writeUIntBE(y,0,8),p.update(I),f._finID=p.state;var E=a.from(f._finID);return u(E),E}function h(f,d,g,p){s.call(this);var m=a.alloc(4,0);this._cipher=new n.AES(d);var v=this._cipher.encryptBlock(m);this._ghash=new i(v),g=A(this,g,v),this._prev=a.from(g),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=p,this._alen=0,this._len=0,this._mode=f,this._authTag=null,this._called=!1}o(h,s),h.prototype._update=function(f){if(!this._called&&this._alen){var d=16-this._alen%16;d<16&&(d=a.alloc(d,0),this._ghash.update(d))}this._called=!0;var g=this._mode.encrypt(this,f);return this._decrypt?this._ghash.update(f):this._ghash.update(g),this._len+=f.length,g},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var f=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&l(f,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=f,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!a.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(f){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=f},h.prototype.setAAD=function(f){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(f),this._alen+=f.length},r.exports=h},{"./aes":189,"./ghash":194,"./incr32":195,"buffer-xor":219,"cipher-base":221,inherits:440,"safe-buffer":494}],191:[function(e,r,t){var n=e("./encrypter"),a=e("./decrypter"),s=e("./modes/list.json");function o(){return Object.keys(s)}t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=a.createDecipher,t.createDecipheriv=t.Decipheriv=a.createDecipheriv,t.listCiphers=t.getCiphers=o},{"./decrypter":192,"./encrypter":193,"./modes/list.json":203}],192:[function(e,r,t){var n=e("./authCipher"),a=e("safe-buffer").Buffer,s=e("./modes"),o=e("./streamCipher"),i=e("cipher-base"),c=e("./aes"),u=e("evp_bytestokey");function l(g,p,m){i.call(this),this._cache=new A,this._last=void 0,this._cipher=new c.AES(p),this._prev=a.from(m),this._mode=g,this._autopadding=!0}function A(){this.cache=a.allocUnsafe(0)}function h(g){var p=g[15];if(p<1||p>16)throw new Error("unable to decrypt data");for(var m=-1;++m<p;)if(g[m+(16-p)]!==p)throw new Error("unable to decrypt data");if(p!==16)return g.slice(0,16-p)}function f(g,p,m){var v=s[g.toLowerCase()];if(!v)throw new TypeError("invalid suite type");if(typeof m=="string"&&(m=a.from(m)),v.mode!=="GCM"&&m.length!==v.iv)throw new TypeError("invalid iv length "+m.length);if(typeof p=="string"&&(p=a.from(p)),p.length!==v.key/8)throw new TypeError("invalid key length "+p.length);return v.type==="stream"?new o(v.module,p,m,!0):v.type==="auth"?new n(v.module,p,m,!0):new l(v.module,p,m)}function d(g,p){var m=s[g.toLowerCase()];if(!m)throw new TypeError("invalid suite type");var v=u(p,!1,m.key,m.iv);return f(g,v.key,v.iv)}e("inherits")(l,i),l.prototype._update=function(g){var p,m;this._cache.add(g);for(var v=[];p=this._cache.get(this._autopadding);)m=this._mode.decrypt(this,p),v.push(m);return a.concat(v)},l.prototype._final=function(){var g=this._cache.flush();if(this._autopadding)return h(this._mode.decrypt(this,g));if(g)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(g){return this._autopadding=!!g,this},A.prototype.add=function(g){this.cache=a.concat([this.cache,g])},A.prototype.get=function(g){var p;if(g){if(this.cache.length>16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p}else if(this.cache.length>=16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p;return null},A.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=d,t.createDecipheriv=f},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],193:[function(e,r,t){var n=e("./modes"),a=e("./authCipher"),s=e("safe-buffer").Buffer,o=e("./streamCipher"),i=e("cipher-base"),c=e("./aes"),u=e("evp_bytestokey");function l(g,p,m){i.call(this),this._cache=new h,this._cipher=new c.AES(p),this._prev=s.from(m),this._mode=g,this._autopadding=!0}e("inherits")(l,i),l.prototype._update=function(g){var p,m;this._cache.add(g);for(var v=[];p=this._cache.get();)m=this._mode.encrypt(this,p),v.push(m);return s.concat(v)};var A=s.alloc(16,16);function h(){this.cache=s.allocUnsafe(0)}function f(g,p,m){var v=n[g.toLowerCase()];if(!v)throw new TypeError("invalid suite type");if(typeof p=="string"&&(p=s.from(p)),p.length!==v.key/8)throw new TypeError("invalid key length "+p.length);if(typeof m=="string"&&(m=s.from(m)),v.mode!=="GCM"&&m.length!==v.iv)throw new TypeError("invalid iv length "+m.length);return v.type==="stream"?new o(v.module,p,m):v.type==="auth"?new a(v.module,p,m):new l(v.module,p,m)}function d(g,p){var m=n[g.toLowerCase()];if(!m)throw new TypeError("invalid suite type");var v=u(p,!1,m.key,m.iv);return f(g,v.key,v.iv)}l.prototype._final=function(){var g=this._cache.flush();if(this._autopadding)return g=this._mode.encrypt(this,g),this._cipher.scrub(),g;if(!g.equals(A))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(g){return this._autopadding=!!g,this},h.prototype.add=function(g){this.cache=s.concat([this.cache,g])},h.prototype.get=function(){if(this.cache.length>15){var g=this.cache.slice(0,16);return this.cache=this.cache.slice(16),g}return null},h.prototype.flush=function(){for(var g=16-this.cache.length,p=s.allocUnsafe(g),m=-1;++m<g;)p.writeUInt8(g,m);return s.concat([this.cache,p])},t.createCipheriv=f,t.createCipher=d},{"./aes":189,"./authCipher":190,"./modes":202,"./streamCipher":205,"cipher-base":221,evp_bytestokey:423,inherits:440,"safe-buffer":494}],194:[function(e,r,t){var n=e("safe-buffer").Buffer,a=n.alloc(16,0);function s(c){return[c.readUInt32BE(0),c.readUInt32BE(4),c.readUInt32BE(8),c.readUInt32BE(12)]}function o(c){var u=n.allocUnsafe(16);return u.writeUInt32BE(c[0]>>>0,0),u.writeUInt32BE(c[1]>>>0,4),u.writeUInt32BE(c[2]>>>0,8),u.writeUInt32BE(c[3]>>>0,12),u}function i(c){this.h=c,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}i.prototype.ghash=function(c){for(var u=-1;++u<c.length;)this.state[u]^=c[u];this._multiply()},i.prototype._multiply=function(){for(var c,u,l=s(this.h),A=[0,0,0,0],h=-1;++h<128;){for(this.state[~~(h/8)]&1<<7-h%8&&(A[0]^=l[0],A[1]^=l[1],A[2]^=l[2],A[3]^=l[3]),u=(1&l[3])!=0,c=3;c>0;c--)l[c]=l[c]>>>1|(1&l[c-1])<<31;l[0]=l[0]>>>1,u&&(l[0]=l[0]^225<<24)}this.state=o(A)},i.prototype.update=function(c){var u;for(this.cache=n.concat([this.cache,c]);this.cache.length>=16;)u=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(u)},i.prototype.final=function(c,u){return this.cache.length&&this.ghash(n.concat([this.cache,a],16)),this.ghash(o([0,c,0,u])),this.state},r.exports=i},{"safe-buffer":494}],195:[function(e,r,t){function n(a){for(var s,o=a.length;o--;){if((s=a.readUInt8(o))!==255){s++,a.writeUInt8(s,o);break}a.writeUInt8(0,o)}}r.exports=n},{}],196:[function(e,r,t){var n=e("buffer-xor");t.encrypt=function(a,s){var o=n(s,a._prev);return a._prev=a._cipher.encryptBlock(o),a._prev},t.decrypt=function(a,s){var o=a._prev;a._prev=s;var i=a._cipher.decryptBlock(s);return n(i,o)}},{"buffer-xor":219}],197:[function(e,r,t){var n=e("safe-buffer").Buffer,a=e("buffer-xor");function s(o,i,c){var u=i.length,l=a(i,o._cache);return o._cache=o._cache.slice(u),o._prev=n.concat([o._prev,c?i:l]),l}t.encrypt=function(o,i,c){for(var u,l=n.allocUnsafe(0);i.length;){if(o._cache.length===0&&(o._cache=o._cipher.encryptBlock(o._prev),o._prev=n.allocUnsafe(0)),!(o._cache.length<=i.length)){l=n.concat([l,s(o,i,c)]);break}u=o._cache.length,l=n.concat([l,s(o,i.slice(0,u),c)]),i=i.slice(u)}return l}},{"buffer-xor":219,"safe-buffer":494}],198:[function(e,r,t){var n=e("safe-buffer").Buffer;function a(o,i,c){for(var u,l,A=-1,h=8,f=0;++A<h;)u=i&1<<7-A?128:0,f+=(128&(l=o._cipher.encryptBlock(o._prev)[0]^u))>>A%8,o._prev=s(o._prev,c?u:l);return f}function s(o,i){var c=o.length,u=-1,l=n.allocUnsafe(o.length);for(o=n.concat([o,n.from([i])]);++u<c;)l[u]=o[u]<<1|o[u+1]>>7;return l}t.encrypt=function(o,i,c){for(var u=i.length,l=n.allocUnsafe(u),A=-1;++A<u;)l[A]=a(o,i[A],c);return l}},{"safe-buffer":494}],199:[function(e,r,t){var n=e("safe-buffer").Buffer;function a(s,o,i){var c=s._cipher.encryptBlock(s._prev)[0]^o;return s._prev=n.concat([s._prev.slice(1),n.from([i?o:c])]),c}t.encrypt=function(s,o,i){for(var c=o.length,u=n.allocUnsafe(c),l=-1;++l<c;)u[l]=a(s,o[l],i);return u}},{"safe-buffer":494}],200:[function(e,r,t){var n=e("buffer-xor"),a=e("safe-buffer").Buffer,s=e("../incr32");function o(c){var u=c._cipher.encryptBlockRaw(c._prev);return s(c._prev),u}var i=16;t.encrypt=function(c,u){var l=Math.ceil(u.length/i),A=c._cache.length;c._cache=a.concat([c._cache,a.allocUnsafe(l*i)]);for(var h=0;h<l;h++){var f=o(c),d=A+h*i;c._cache.writeUInt32BE(f[0],d+0),c._cache.writeUInt32BE(f[1],d+4),c._cache.writeUInt32BE(f[2],d+8),c._cache.writeUInt32BE(f[3],d+12)}var g=c._cache.slice(0,u.length);return c._cache=c._cache.slice(u.length),n(u,g)}},{"../incr32":195,"buffer-xor":219,"safe-buffer":494}],201:[function(e,r,t){t.encrypt=function(n,a){return n._cipher.encryptBlock(a)},t.decrypt=function(n,a){return n._cipher.decryptBlock(a)}},{}],202:[function(e,r,t){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},a=e("./list.json");for(var s in a)a[s].module=n[a[s].mode];r.exports=a},{"./cbc":196,"./cfb":197,"./cfb1":198,"./cfb8":199,"./ctr":200,"./ecb":201,"./list.json":203,"./ofb":204}],203:[function(e,r,t){r.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],204:[function(e,r,t){(function(n){(function(){var a=e("buffer-xor");function s(o){return o._prev=o._cipher.encryptBlock(o._prev),o._prev}t.encrypt=function(o,i){for(;o._cache.length<i.length;)o._cache=n.concat([o._cache,s(o)]);var c=o._cache.slice(0,i.length);return o._cache=o._cache.slice(i.length),a(i,c)}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220,"buffer-xor":219}],205:[function(e,r,t){var n=e("./aes"),a=e("safe-buffer").Buffer,s=e("cipher-base");function o(i,c,u,l){s.call(this),this._cipher=new n.AES(c),this._prev=a.from(u),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=l,this._mode=i}e("inherits")(o,s),o.prototype._update=function(i){return this._mode.encrypt(this,i,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},r.exports=o},{"./aes":189,"cipher-base":221,inherits:440,"safe-buffer":494}],206:[function(e,r,t){var n=e("browserify-des"),a=e("browserify-aes/browser"),s=e("browserify-aes/modes"),o=e("browserify-des/modes"),i=e("evp_bytestokey");function c(f,d){var g,p;if(f=f.toLowerCase(),s[f])g=s[f].key,p=s[f].iv;else{if(!o[f])throw new TypeError("invalid suite type");g=8*o[f].key,p=o[f].iv}var m=i(d,!1,g,p);return l(f,m.key,m.iv)}function u(f,d){var g,p;if(f=f.toLowerCase(),s[f])g=s[f].key,p=s[f].iv;else{if(!o[f])throw new TypeError("invalid suite type");g=8*o[f].key,p=o[f].iv}var m=i(d,!1,g,p);return A(f,m.key,m.iv)}function l(f,d,g){if(f=f.toLowerCase(),s[f])return a.createCipheriv(f,d,g);if(o[f])return new n({key:d,iv:g,mode:f});throw new TypeError("invalid suite type")}function A(f,d,g){if(f=f.toLowerCase(),s[f])return a.createDecipheriv(f,d,g);if(o[f])return new n({key:d,iv:g,mode:f,decrypt:!0});throw new TypeError("invalid suite type")}function h(){return Object.keys(o).concat(a.getCiphers())}t.createCipher=t.Cipher=c,t.createCipheriv=t.Cipheriv=l,t.createDecipher=t.Decipher=u,t.createDecipheriv=t.Decipheriv=A,t.listCiphers=t.getCiphers=h},{"browserify-aes/browser":191,"browserify-aes/modes":202,"browserify-des":207,"browserify-des/modes":208,evp_bytestokey:423}],207:[function(e,r,t){var n=e("cipher-base"),a=e("des.js"),s=e("inherits"),o=e("safe-buffer").Buffer,i={"des-ede3-cbc":a.CBC.instantiate(a.EDE),"des-ede3":a.EDE,"des-ede-cbc":a.CBC.instantiate(a.EDE),"des-ede":a.EDE,"des-cbc":a.CBC.instantiate(a.DES),"des-ecb":a.DES};function c(u){n.call(this);var l,A=u.mode.toLowerCase(),h=i[A];l=u.decrypt?"decrypt":"encrypt";var f=u.key;o.isBuffer(f)||(f=o.from(f)),A!=="des-ede"&&A!=="des-ede-cbc"||(f=o.concat([f,f.slice(0,8)]));var d=u.iv;o.isBuffer(d)||(d=o.from(d)),this._des=h.create({key:f,iv:d,type:l})}i.des=i["des-cbc"],i.des3=i["des-ede3-cbc"],r.exports=c,s(c,n),c.prototype._update=function(u){return o.from(this._des.update(u))},c.prototype._final=function(){return o.from(this._des.final())}},{"cipher-base":221,"des.js":394,inherits:440,"safe-buffer":494}],208:[function(e,r,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},{}],209:[function(e,r,t){(function(n){(function(){var a=e("bn.js"),s=e("randombytes");function o(u){var l=i(u);return{blinder:l.toRed(a.mont(u.modulus)).redPow(new a(u.publicExponent)).fromRed(),unblinder:l.invm(u.modulus)}}function i(u){var l,A=u.modulus.byteLength();do l=new a(s(A));while(l.cmp(u.modulus)>=0||!l.umod(u.prime1)||!l.umod(u.prime2));return l}function c(u,l){var A=o(l),h=l.modulus.byteLength(),f=new a(u).mul(A.blinder).umod(l.modulus),d=f.toRed(a.mont(l.prime1)),g=f.toRed(a.mont(l.prime2)),p=l.coefficient,m=l.prime1,v=l.prime2,y=d.redPow(l.exponent1).fromRed(),I=g.redPow(l.exponent2).fromRed(),E=y.isub(I).imul(p).umod(m).imul(v);return I.iadd(E).imul(A.unblinder).umod(l.modulus).toArrayLike(n,"be",h)}c.getr=i,r.exports=c}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":186,buffer:220,randombytes:475}],210:[function(e,r,t){r.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":211}],211:[function(e,r,t){r.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],212:[function(e,r,t){r.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],213:[function(e,r,t){var n=e("safe-buffer").Buffer,a=e("create-hash"),s=e("readable-stream"),o=e("inherits"),i=e("./sign"),c=e("./verify"),u=e("./algorithms.json");function l(d){s.Writable.call(this);var g=u[d];if(!g)throw new Error("Unknown message digest");this._hashType=g.hash,this._hash=a(g.hash),this._tag=g.id,this._signType=g.sign}function A(d){s.Writable.call(this);var g=u[d];if(!g)throw new Error("Unknown message digest");this._hash=a(g.hash),this._tag=g.id,this._signType=g.sign}function h(d){return new l(d)}function f(d){return new A(d)}Object.keys(u).forEach(function(d){u[d].id=n.from(u[d].id,"hex"),u[d.toLowerCase()]=u[d]}),o(l,s.Writable),l.prototype._write=function(d,g,p){this._hash.update(d),p()},l.prototype.update=function(d,g){return typeof d=="string"&&(d=n.from(d,g)),this._hash.update(d),this},l.prototype.sign=function(d,g){this.end();var p=this._hash.digest(),m=i(p,d,this._hashType,this._signType,this._tag);return g?m.toString(g):m},o(A,s.Writable),A.prototype._write=function(d,g,p){this._hash.update(d),p()},A.prototype.update=function(d,g){return typeof d=="string"&&(d=n.from(d,g)),this._hash.update(d),this},A.prototype.verify=function(d,g,p){typeof g=="string"&&(g=n.from(g,p)),this.end();var m=this._hash.digest();return c(g,m,d,this._signType,this._tag)},r.exports={Sign:h,Verify:f,createSign:h,createVerify:f}},{"./algorithms.json":211,"./sign":214,"./verify":215,"create-hash":386,inherits:440,"readable-stream":491,"safe-buffer":494}],214:[function(e,r,t){var n=e("safe-buffer").Buffer,a=e("create-hmac"),s=e("browserify-rsa"),o=e("elliptic").ec,i=e("bn.js"),c=e("parse-asn1"),u=e("./curves.json");function l(y,I,E,k,R){var T=c(I);if(T.curve){if(k!=="ecdsa"&&k!=="ecdsa/rsa")throw new Error("wrong private key type");return A(y,T)}if(T.type==="dsa"){if(k!=="dsa")throw new Error("wrong private key type");return h(y,T,E)}if(k!=="rsa"&&k!=="ecdsa/rsa")throw new Error("wrong private key type");y=n.concat([R,y]);for(var j=T.modulus.byteLength(),W=[0,1];y.length+W.length+1<j;)W.push(255);W.push(0);for(var H=-1;++H<y.length;)W.push(y[H]);return s(W,T)}function A(y,I){var E=u[I.curve.join(".")];if(!E)throw new Error("unknown curve "+I.curve.join("."));var k=new o(E).keyFromPrivate(I.privateKey).sign(y);return n.from(k.toDER())}function h(y,I,E){for(var k,R=I.params.priv_key,T=I.params.p,j=I.params.q,W=I.params.g,H=new i(0),X=g(y,j).mod(j),x=!1,N=d(R,j,y,E);x===!1;)H=v(W,k=m(j,N,E),T,j),(x=k.invm(j).imul(X.add(R.mul(H))).mod(j)).cmpn(0)===0&&(x=!1,H=new i(0));return f(H,x)}function f(y,I){y=y.toArray(),I=I.toArray(),128&y[0]&&(y=[0].concat(y)),128&I[0]&&(I=[0].concat(I));var E=[48,y.length+I.length+4,2,y.length];return E=E.concat(y,[2,I.length],I),n.from(E)}function d(y,I,E,k){if((y=n.from(y.toArray())).length<I.byteLength()){var R=n.alloc(I.byteLength()-y.length);y=n.concat([R,y])}var T=E.length,j=p(E,I),W=n.alloc(T);W.fill(1);var H=n.alloc(T);return H=a(k,H).update(W).update(n.from([0])).update(y).update(j).digest(),W=a(k,H).update(W).digest(),{k:H=a(k,H).update(W).update(n.from([1])).update(y).update(j).digest(),v:W=a(k,H).update(W).digest()}}function g(y,I){var E=new i(y),k=(y.length<<3)-I.bitLength();return k>0&&E.ishrn(k),E}function p(y,I){y=(y=g(y,I)).mod(I);var E=n.from(y.toArray());if(E.length<I.byteLength()){var k=n.alloc(I.byteLength()-E.length);E=n.concat([k,E])}return E}function m(y,I,E){var k,R;do{for(k=n.alloc(0);8*k.length<y.bitLength();)I.v=a(E,I.k).update(I.v).digest(),k=n.concat([k,I.v]);R=g(k,y),I.k=a(E,I.k).update(I.v).update(n.from([0])).digest(),I.v=a(E,I.k).update(I.v).digest()}while(R.cmp(y)!==-1);return R}function v(y,I,E,k){return y.toRed(i.mont(E)).redPow(I).fromRed().mod(k)}r.exports=l,r.exports.getKey=d,r.exports.makeKey=m},{"./curves.json":212,"bn.js":186,"browserify-rsa":209,"create-hmac":388,elliptic:405,"parse-asn1":459,"safe-buffer":494}],215:[function(e,r,t){var n=e("safe-buffer").Buffer,a=e("bn.js"),s=e("elliptic").ec,o=e("parse-asn1"),i=e("./curves.json");function c(h,f,d,g,p){var m=o(d);if(m.type==="ec"){if(g!=="ecdsa"&&g!=="ecdsa/rsa")throw new Error("wrong public key type");return u(h,f,m)}if(m.type==="dsa"){if(g!=="dsa")throw new Error("wrong public key type");return l(h,f,m)}if(g!=="rsa"&&g!=="ecdsa/rsa")throw new Error("wrong public key type");f=n.concat([p,f]);for(var v=m.modulus.byteLength(),y=[1],I=0;f.length+y.length+2<v;)y.push(255),I++;y.push(0);for(var E=-1;++E<f.length;)y.push(f[E]);y=n.from(y);var k=a.mont(m.modulus);h=(h=new a(h).toRed(k)).redPow(new a(m.publicExponent)),h=n.from(h.fromRed().toArray());var R=I<8?1:0;for(v=Math.min(h.length,y.length),h.length!==y.length&&(R=1),E=-1;++E<v;)R|=h[E]^y[E];return R===0}function u(h,f,d){var g=i[d.data.algorithm.curve.join(".")];if(!g)throw new Error("unknown curve "+d.data.algorithm.curve.join("."));var p=new s(g),m=d.data.subjectPrivateKey.data;return p.verify(f,h,m)}function l(h,f,d){var g=d.data.p,p=d.data.q,m=d.data.g,v=d.data.pub_key,y=o.signature.decode(h,"der"),I=y.s,E=y.r;A(I,p),A(E,p);var k=a.mont(g),R=I.invm(p);return m.toRed(k).redPow(new a(f).mul(R).mod(p)).fromRed().mul(v.toRed(k).redPow(E.mul(R).mod(p)).fromRed()).mod(g).mod(p).cmp(E)===0}function A(h,f){if(h.cmpn(0)<=0)throw new Error("invalid sig");if(h.cmp(f)>=f)throw new Error("invalid sig")}r.exports=c},{"./curves.json":212,"bn.js":186,elliptic:405,"parse-asn1":459,"safe-buffer":494}],216:[function(e,r,t){},{}],217:[function(e,r,t){var n=e("buffer"),a=n.Buffer;function s(i,c){for(var u in i)c[u]=i[u]}function o(i,c,u){return a(i,c,u)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?r.exports=n:(s(n,t),t.Buffer=o),s(a,o),o.from=function(i,c,u){if(typeof i=="number")throw new TypeError("Argument must not be a number");return a(i,c,u)},o.alloc=function(i,c,u){if(typeof i!="number")throw new TypeError("Argument must be a number");var l=a(i);return c!==void 0?typeof u=="string"?l.fill(c,u):l.fill(c):l.fill(0),l},o.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return a(i)},o.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(i)}},{buffer:220}],218:[function(e,r,t){var n=e("safe-buffer").Buffer,a=n.isEncoding||function(I){switch((I=""+I)&&I.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(I){if(!I)return"utf8";for(var E;;)switch(I){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return I;default:if(E)return;I=(""+I).toLowerCase(),E=!0}}function o(I){var E=s(I);if(typeof E!="string"&&(n.isEncoding===a||!a(I)))throw new Error("Unknown encoding: "+I);return E||I}function i(I){var E;switch(this.encoding=o(I),this.encoding){case"utf16le":this.text=d,this.end=g,E=4;break;case"utf8":this.fillLast=A,E=4;break;case"base64":this.text=p,this.end=m,E=3;break;default:return this.write=v,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(E)}function c(I){return I<=127?0:I>>5==6?2:I>>4==14?3:I>>3==30?4:I>>6==2?-1:-2}function u(I,E,k){var R=E.length-1;if(R<k)return 0;var T=c(E[R]);return T>=0?(T>0&&(I.lastNeed=T-1),T):--R<k||T===-2?0:(T=c(E[R]))>=0?(T>0&&(I.lastNeed=T-2),T):--R<k||T===-2?0:(T=c(E[R]))>=0?(T>0&&(T===2?T=0:I.lastNeed=T-3),T):0}function l(I,E,k){if((192&E[0])!=128)return I.lastNeed=0,"�";if(I.lastNeed>1&&E.length>1){if((192&E[1])!=128)return I.lastNeed=1,"�";if(I.lastNeed>2&&E.length>2&&(192&E[2])!=128)return I.lastNeed=2,"�"}}function A(I){var E=this.lastTotal-this.lastNeed,k=l(this,I);return k!==void 0?k:this.lastNeed<=I.length?(I.copy(this.lastChar,E,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(I.copy(this.lastChar,E,0,I.length),void(this.lastNeed-=I.length))}function h(I,E){var k=u(this,I,E);if(!this.lastNeed)return I.toString("utf8",E);this.lastTotal=k;var R=I.length-(k-this.lastNeed);return I.copy(this.lastChar,0,R),I.toString("utf8",E,R)}function f(I){var E=I&&I.length?this.write(I):"";return this.lastNeed?E+"�":E}function d(I,E){if((I.length-E)%2==0){var k=I.toString("utf16le",E);if(k){var R=k.charCodeAt(k.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=I[I.length-2],this.lastChar[1]=I[I.length-1],k.slice(0,-1)}return k}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=I[I.length-1],I.toString("utf16le",E,I.length-1)}function g(I){var E=I&&I.length?this.write(I):"";if(this.lastNeed){var k=this.lastTotal-this.lastNeed;return E+this.lastChar.toString("utf16le",0,k)}return E}function p(I,E){var k=(I.length-E)%3;return k===0?I.toString("base64",E):(this.lastNeed=3-k,this.lastTotal=3,k===1?this.lastChar[0]=I[I.length-1]:(this.lastChar[0]=I[I.length-2],this.lastChar[1]=I[I.length-1]),I.toString("base64",E,I.length-k))}function m(I){var E=I&&I.length?this.write(I):"";return this.lastNeed?E+this.lastChar.toString("base64",0,3-this.lastNeed):E}function v(I){return I.toString(this.encoding)}function y(I){return I&&I.length?this.write(I):""}t.StringDecoder=i,i.prototype.write=function(I){if(I.length===0)return"";var E,k;if(this.lastNeed){if((E=this.fillLast(I))===void 0)return"";k=this.lastNeed,this.lastNeed=0}else k=0;return k<I.length?E?E+this.text(I,k):this.text(I,k):E||""},i.prototype.end=f,i.prototype.text=h,i.prototype.fillLast=function(I){if(this.lastNeed<=I.length)return I.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);I.copy(this.lastChar,this.lastTotal-this.lastNeed,0,I.length),this.lastNeed-=I.length}},{"safe-buffer":217}],219:[function(e,r,t){(function(n){(function(){r.exports=function(a,s){for(var o=Math.min(a.length,s.length),i=new n(o),c=0;c<o;++c)i[c]=a[c]^s[c];return i}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:220}],220:[function(e,r,t){(function(n){(function(){var a=e("base64-js"),s=e("ieee754");t.Buffer=u,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50;var o=2147483647;function i(){try{var Z=new Uint8Array(1);return Z.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Z.foo()===42}catch{return!1}}function c(Z){if(Z>o)throw new RangeError('The value "'+Z+'" is invalid for option "size"');var ce=new Uint8Array(Z);return ce.__proto__=u.prototype,ce}function u(Z,ce,ye){if(typeof Z=="number"){if(typeof ce=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(Z)}return l(Z,ce,ye)}function l(Z,ce,ye){if(typeof Z=="string")return d(Z,ce);if(ArrayBuffer.isView(Z))return g(Z);if(Z==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Z);if(Ce(Z,ArrayBuffer)||Z&&Ce(Z.buffer,ArrayBuffer))return p(Z,ce,ye);if(typeof Z=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=Z.valueOf&&Z.valueOf();if(Ve!=null&&Ve!==Z)return u.from(Ve,ce,ye);var dt=m(Z);if(dt)return dt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Z[Symbol.toPrimitive]=="function")return u.from(Z[Symbol.toPrimitive]("string"),ce,ye);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Z)}function A(Z){if(typeof Z!="number")throw new TypeError('"size" argument must be of type number');if(Z<0)throw new RangeError('The value "'+Z+'" is invalid for option "size"')}function h(Z,ce,ye){return A(Z),Z<=0?c(Z):ce!==void 0?typeof ye=="string"?c(Z).fill(ce,ye):c(Z).fill(ce):c(Z)}function f(Z){return A(Z),c(Z<0?0:0|v(Z))}function d(Z,ce){if(typeof ce=="string"&&ce!==""||(ce="utf8"),!u.isEncoding(ce))throw new TypeError("Unknown encoding: "+ce);var ye=0|I(Z,ce),Ve=c(ye),dt=Ve.write(Z,ce);return dt!==ye&&(Ve=Ve.slice(0,dt)),Ve}function g(Z){for(var ce=Z.length<0?0:0|v(Z.length),ye=c(ce),Ve=0;Ve<ce;Ve+=1)ye[Ve]=255&Z[Ve];return ye}function p(Z,ce,ye){if(ce<0||Z.byteLength<ce)throw new RangeError('"offset" is outside of buffer bounds');if(Z.byteLength<ce+(ye||0))throw new RangeError('"length" is outside of buffer bounds');var Ve;return(Ve=ce===void 0&&ye===void 0?new Uint8Array(Z):ye===void 0?new Uint8Array(Z,ce):new Uint8Array(Z,ce,ye)).__proto__=u.prototype,Ve}function m(Z){if(u.isBuffer(Z)){var ce=0|v(Z.length),ye=c(ce);return ye.length===0||Z.copy(ye,0,0,ce),ye}return Z.length!==void 0?typeof Z.length!="number"||At(Z.length)?c(0):g(Z):Z.type==="Buffer"&&Array.isArray(Z.data)?g(Z.data):void 0}function v(Z){if(Z>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|Z}function y(Z){return+Z!=Z&&(Z=0),u.alloc(+Z)}function I(Z,ce){if(u.isBuffer(Z))return Z.length;if(ArrayBuffer.isView(Z)||Ce(Z,ArrayBuffer))return Z.byteLength;if(typeof Z!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Z);var ye=Z.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&ye===0)return 0;for(var dt=!1;;)switch(ce){case"ascii":case"latin1":case"binary":return ye;case"utf8":case"utf-8":return te(Z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ye;case"hex":return ye>>>1;case"base64":return Ke(Z).length;default:if(dt)return Ve?-1:te(Z).length;ce=(""+ce).toLowerCase(),dt=!0}}function E(Z,ce,ye){var Ve=!1;if((ce===void 0||ce<0)&&(ce=0),ce>this.length||((ye===void 0||ye>this.length)&&(ye=this.length),ye<=0)||(ye>>>=0)<=(ce>>>=0))return"";for(Z||(Z="utf8");;)switch(Z){case"hex":return F(this,ce,ye);case"utf8":case"utf-8":return w(this,ce,ye);case"ascii":return S(this,ce,ye);case"latin1":case"binary":return O(this,ce,ye);case"base64":return C(this,ce,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,ce,ye);default:if(Ve)throw new TypeError("Unknown encoding: "+Z);Z=(Z+"").toLowerCase(),Ve=!0}}function k(Z,ce,ye){var Ve=Z[ce];Z[ce]=Z[ye],Z[ye]=Ve}function R(Z,ce,ye,Ve,dt){if(Z.length===0)return-1;if(typeof ye=="string"?(Ve=ye,ye=0):ye>2147483647?ye=2147483647:ye<-2147483648&&(ye=-2147483648),At(ye=+ye)&&(ye=dt?0:Z.length-1),ye<0&&(ye=Z.length+ye),ye>=Z.length){if(dt)return-1;ye=Z.length-1}else if(ye<0){if(!dt)return-1;ye=0}if(typeof ce=="string"&&(ce=u.from(ce,Ve)),u.isBuffer(ce))return ce.length===0?-1:T(Z,ce,ye,Ve,dt);if(typeof ce=="number")return ce&=255,typeof Uint8Array.prototype.indexOf=="function"?dt?Uint8Array.prototype.indexOf.call(Z,ce,ye):Uint8Array.prototype.lastIndexOf.call(Z,ce,ye):T(Z,[ce],ye,Ve,dt);throw new TypeError("val must be string, number or Buffer")}function T(Z,ce,ye,Ve,dt){var re,ot=1,pt=Z.length,Be=ce.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(Z.length<2||ce.length<2)return-1;ot=2,pt/=2,Be/=2,ye/=2}function Ee(me,Re){return ot===1?me[Re]:me.readUInt16BE(Re*ot)}if(dt){var Me=-1;for(re=ye;re<pt;re++)if(Ee(Z,re)===Ee(ce,Me===-1?0:re-Me)){if(Me===-1&&(Me=re),re-Me+1===Be)return Me*ot}else Me!==-1&&(re-=re-Me),Me=-1}else for(ye+Be>pt&&(ye=pt-Be),re=ye;re>=0;re--){for(var yt=!0,pe=0;pe<Be;pe++)if(Ee(Z,re+pe)!==Ee(ce,pe)){yt=!1;break}if(yt)return re}return-1}function j(Z,ce,ye,Ve){ye=Number(ye)||0;var dt=Z.length-ye;Ve?(Ve=Number(Ve))>dt&&(Ve=dt):Ve=dt;var re=ce.length;Ve>re/2&&(Ve=re/2);for(var ot=0;ot<Ve;++ot){var pt=parseInt(ce.substr(2*ot,2),16);if(At(pt))return ot;Z[ye+ot]=pt}return ot}function W(Z,ce,ye,Ve){return le(te(ce,Z.length-ye),Z,ye,Ve)}function H(Z,ce,ye,Ve){return le(he(ce),Z,ye,Ve)}function X(Z,ce,ye,Ve){return H(Z,ce,ye,Ve)}function x(Z,ce,ye,Ve){return le(Ke(ce),Z,ye,Ve)}function N(Z,ce,ye,Ve){return le(de(ce,Z.length-ye),Z,ye,Ve)}function C(Z,ce,ye){return ce===0&&ye===Z.length?a.fromByteArray(Z):a.fromByteArray(Z.slice(ce,ye))}function w(Z,ce,ye){ye=Math.min(Z.length,ye);for(var Ve=[],dt=ce;dt<ye;){var re,ot,pt,Be,Ee=Z[dt],Me=null,yt=Ee>239?4:Ee>223?3:Ee>191?2:1;if(dt+yt<=ye)switch(yt){case 1:Ee<128&&(Me=Ee);break;case 2:(192&(re=Z[dt+1]))==128&&(Be=(31&Ee)<<6|63&re)>127&&(Me=Be);break;case 3:re=Z[dt+1],ot=Z[dt+2],(192&re)==128&&(192&ot)==128&&(Be=(15&Ee)<<12|(63&re)<<6|63&ot)>2047&&(Be<55296||Be>57343)&&(Me=Be);break;case 4:re=Z[dt+1],ot=Z[dt+2],pt=Z[dt+3],(192&re)==128&&(192&ot)==128&&(192&pt)==128&&(Be=(15&Ee)<<18|(63&re)<<12|(63&ot)<<6|63&pt)>65535&&Be<1114112&&(Me=Be)}Me===null?(Me=65533,yt=1):Me>65535&&(Me-=65536,Ve.push(Me>>>10&1023|55296),Me=56320|1023&Me),Ve.push(Me),dt+=yt}return B(Ve)}t.kMaxLength=o,u.TYPED_ARRAY_SUPPORT=i(),u.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&Symbol.species!=null&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),u.poolSize=8192,u.from=function(Z,ce,ye){return l(Z,ce,ye)},u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,u.alloc=function(Z,ce,ye){return h(Z,ce,ye)},u.allocUnsafe=function(Z){return f(Z)},u.allocUnsafeSlow=function(Z){return f(Z)},u.isBuffer=function(Z){return Z!=null&&Z._isBuffer===!0&&Z!==u.prototype},u.compare=function(Z,ce){if(Ce(Z,Uint8Array)&&(Z=u.from(Z,Z.offset,Z.byteLength)),Ce(ce,Uint8Array)&&(ce=u.from(ce,ce.offset,ce.byteLength)),!u.isBuffer(Z)||!u.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Z===ce)return 0;for(var ye=Z.length,Ve=ce.length,dt=0,re=Math.min(ye,Ve);dt<re;++dt)if(Z[dt]!==ce[dt]){ye=Z[dt],Ve=ce[dt];break}return ye<Ve?-1:Ve<ye?1:0},u.isEncoding=function(Z){switch(String(Z).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(Z,ce){if(!Array.isArray(Z))throw new TypeError('"list" argument must be an Array of Buffers');if(Z.length===0)return u.alloc(0);var ye;if(ce===void 0)for(ce=0,ye=0;ye<Z.length;++ye)ce+=Z[ye].length;var Ve=u.allocUnsafe(ce),dt=0;for(ye=0;ye<Z.length;++ye){var re=Z[ye];if(Ce(re,Uint8Array)&&(re=u.from(re)),!u.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(Ve,dt),dt+=re.length}return Ve},u.byteLength=I,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var Z=this.length;if(Z%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;ce<Z;ce+=2)k(this,ce,ce+1);return this},u.prototype.swap32=function(){var Z=this.length;if(Z%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ce=0;ce<Z;ce+=4)k(this,ce,ce+3),k(this,ce+1,ce+2);return this},u.prototype.swap64=function(){var Z=this.length;if(Z%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ce=0;ce<Z;ce+=8)k(this,ce,ce+7),k(this,ce+1,ce+6),k(this,ce+2,ce+5),k(this,ce+3,ce+4);return this},u.prototype.toString=function(){var Z=this.length;return Z===0?"":arguments.length===0?w(this,0,Z):E.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(Z){if(!u.isBuffer(Z))throw new TypeError("Argument must be a Buffer");return this===Z||u.compare(this,Z)===0},u.prototype.inspect=function(){var Z="",ce=t.INSPECT_MAX_BYTES;return Z=this.toString("hex",0,ce).replace(/(.{2})/g,"$1 ").trim(),this.length>ce&&(Z+=" ... "),"<Buffer "+Z+">"},u.prototype.compare=function(Z,ce,ye,Ve,dt){if(Ce(Z,Uint8Array)&&(Z=u.from(Z,Z.offset,Z.byteLength)),!u.isBuffer(Z))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Z);if(ce===void 0&&(ce=0),ye===void 0&&(ye=Z?Z.length:0),Ve===void 0&&(Ve=0),dt===void 0&&(dt=this.length),ce<0||ye>Z.length||Ve<0||dt>this.length)throw new RangeError("out of range index");if(Ve>=dt&&ce>=ye)return 0;if(Ve>=dt)return-1;if(ce>=ye)return 1;if(this===Z)return 0;for(var re=(dt>>>=0)-(Ve>>>=0),ot=(ye>>>=0)-(ce>>>=0),pt=Math.min(re,ot),Be=this.slice(Ve,dt),Ee=Z.slice(ce,ye),Me=0;Me<pt;++Me)if(Be[Me]!==Ee[Me]){re=Be[Me],ot=Ee[Me];break}return re<ot?-1:ot<re?1:0},u.prototype.includes=function(Z,ce,ye){return this.indexOf(Z,ce,ye)!==-1},u.prototype.indexOf=function(Z,ce,ye){return R(this,Z,ce,ye,!0)},u.prototype.lastIndexOf=function(Z,ce,ye){return R(this,Z,ce,ye,!1)},u.prototype.write=function(Z,ce,ye,Ve){if(ce===void 0)Ve="utf8",ye=this.length,ce=0;else if(ye===void 0&&typeof ce=="string")Ve=ce,ye=this.length,ce=0;else{if(!isFinite(ce))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");ce>>>=0,isFinite(ye)?(ye>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=ye,ye=void 0)}var dt=this.length-ce;if((ye===void 0||ye>dt)&&(ye=dt),Z.length>0&&(ye<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var re=!1;;)switch(Ve){case"hex":return j(this,Z,ce,ye);case"utf8":case"utf-8":return W(this,Z,ce,ye);case"ascii":return H(this,Z,ce,ye);case"latin1":case"binary":return X(this,Z,ce,ye);case"base64":return x(this,Z,ce,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,Z,ce,ye);default:if(re)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),re=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;function B(Z){var ce=Z.length;if(ce<=Q)return String.fromCharCode.apply(String,Z);for(var ye="",Ve=0;Ve<ce;)ye+=String.fromCharCode.apply(String,Z.slice(Ve,Ve+=Q));return ye}function S(Z,ce,ye){var Ve="";ye=Math.min(Z.length,ye);for(var dt=ce;dt<ye;++dt)Ve+=String.fromCharCode(127&Z[dt]);return Ve}function O(Z,ce,ye){var Ve="";ye=Math.min(Z.length,ye);for(var dt=ce;dt<ye;++dt)Ve+=String.fromCharCode(Z[dt]);return Ve}function F(Z,ce,ye){var Ve=Z.length;(!ce||ce<0)&&(ce=0),(!ye||ye<0||ye>Ve)&&(ye=Ve);for(var dt="",re=ce;re<ye;++re)dt+=Ae(Z[re]);return dt}function Y(Z,ce,ye){for(var Ve=Z.slice(ce,ye),dt="",re=0;re<Ve.length;re+=2)dt+=String.fromCharCode(Ve[re]+256*Ve[re+1]);return dt}function M(Z,ce,ye){if(Z%1!=0||Z<0)throw new RangeError("offset is not uint");if(Z+ce>ye)throw new RangeError("Trying to access beyond buffer length")}function z(Z,ce,ye,Ve,dt,re){if(!u.isBuffer(Z))throw new TypeError('"buffer" argument must be a Buffer instance');if(ce>dt||ce<re)throw new RangeError('"value" argument is out of bounds');if(ye+Ve>Z.length)throw new RangeError("Index out of range")}function ue(Z,ce,ye,Ve,dt,re){if(ye+Ve>Z.length)throw new RangeError("Index out of range");if(ye<0)throw new RangeError("Index out of range")}function ae(Z,ce,ye,Ve,dt){return ce=+ce,ye>>>=0,dt||ue(Z,ce,ye,4),s.write(Z,ce,ye,Ve,23,4),ye+4}function Ne(Z,ce,ye,Ve,dt){return ce=+ce,ye>>>=0,dt||ue(Z,ce,ye,8),s.write(Z,ce,ye,Ve,52,8),ye+8}u.prototype.slice=function(Z,ce){var ye=this.length;(Z=~~Z)<0?(Z+=ye)<0&&(Z=0):Z>ye&&(Z=ye),(ce=ce===void 0?ye:~~ce)<0?(ce+=ye)<0&&(ce=0):ce>ye&&(ce=ye),ce<Z&&(ce=Z);var Ve=this.subarray(Z,ce);return Ve.__proto__=u.prototype,Ve},u.prototype.readUIntLE=function(Z,ce,ye){Z>>>=0,ce>>>=0,ye||M(Z,ce,this.length);for(var Ve=this[Z],dt=1,re=0;++re<ce&&(dt*=256);)Ve+=this[Z+re]*dt;return Ve},u.prototype.readUIntBE=function(Z,ce,ye){Z>>>=0,ce>>>=0,ye||M(Z,ce,this.length);for(var Ve=this[Z+--ce],dt=1;ce>0&&(dt*=256);)Ve+=this[Z+--ce]*dt;return Ve},u.prototype.readUInt8=function(Z,ce){return Z>>>=0,ce||M(Z,1,this.length),this[Z]},u.prototype.readUInt16LE=function(Z,ce){return Z>>>=0,ce||M(Z,2,this.length),this[Z]|this[Z+1]<<8},u.prototype.readUInt16BE=function(Z,ce){return Z>>>=0,ce||M(Z,2,this.length),this[Z]<<8|this[Z+1]},u.prototype.readUInt32LE=function(Z,ce){return Z>>>=0,ce||M(Z,4,this.length),(this[Z]|this[Z+1]<<8|this[Z+2]<<16)+16777216*this[Z+3]},u.prototype.readUInt32BE=function(Z,ce){return Z>>>=0,ce||M(Z,4,this.length),16777216*this[Z]+(this[Z+1]<<16|this[Z+2]<<8|this[Z+3])},u.prototype.readIntLE=function(Z,ce,ye){Z>>>=0,ce>>>=0,ye||M(Z,ce,this.length);for(var Ve=this[Z],dt=1,re=0;++re<ce&&(dt*=256);)Ve+=this[Z+re]*dt;return Ve>=(dt*=128)&&(Ve-=Math.pow(2,8*ce)),Ve},u.prototype.readIntBE=function(Z,ce,ye){Z>>>=0,ce>>>=0,ye||M(Z,ce,this.length);for(var Ve=ce,dt=1,re=this[Z+--Ve];Ve>0&&(dt*=256);)re+=this[Z+--Ve]*dt;return re>=(dt*=128)&&(re-=Math.pow(2,8*ce)),re},u.prototype.readInt8=function(Z,ce){return Z>>>=0,ce||M(Z,1,this.length),128&this[Z]?-1*(255-this[Z]+1):this[Z]},u.prototype.readInt16LE=function(Z,ce){Z>>>=0,ce||M(Z,2,this.length);var ye=this[Z]|this[Z+1]<<8;return 32768&ye?4294901760|ye:ye},u.prototype.readInt16BE=function(Z,ce){Z>>>=0,ce||M(Z,2,this.length);var ye=this[Z+1]|this[Z]<<8;return 32768&ye?4294901760|ye:ye},u.prototype.readInt32LE=function(Z,ce){return Z>>>=0,ce||M(Z,4,this.length),this[Z]|this[Z+1]<<8|this[Z+2]<<16|this[Z+3]<<24},u.prototype.readInt32BE=function(Z,ce){return Z>>>=0,ce||M(Z,4,this.length),this[Z]<<24|this[Z+1]<<16|this[Z+2]<<8|this[Z+3]},u.prototype.readFloatLE=function(Z,ce){return Z>>>=0,ce||M(Z,4,this.length),s.read(this,Z,!0,23,4)},u.prototype.readFloatBE=function(Z,ce){return Z>>>=0,ce||M(Z,4,this.length),s.read(this,Z,!1,23,4)},u.prototype.readDoubleLE=function(Z,ce){return Z>>>=0,ce||M(Z,8,this.length),s.read(this,Z,!0,52,8)},u.prototype.readDoubleBE=function(Z,ce){return Z>>>=0,ce||M(Z,8,this.length),s.read(this,Z,!1,52,8)},u.prototype.writeUIntLE=function(Z,ce,ye,Ve){Z=+Z,ce>>>=0,ye>>>=0,Ve||z(this,Z,ce,ye,Math.pow(2,8*ye)-1,0);var dt=1,re=0;for(this[ce]=255&Z;++re<ye&&(dt*=256);)this[ce+re]=Z/dt&255;return ce+ye},u.prototype.writeUIntBE=function(Z,ce,ye,Ve){Z=+Z,ce>>>=0,ye>>>=0,Ve||z(this,Z,ce,ye,Math.pow(2,8*ye)-1,0);var dt=ye-1,re=1;for(this[ce+dt]=255&Z;--dt>=0&&(re*=256);)this[ce+dt]=Z/re&255;return ce+ye},u.prototype.writeUInt8=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,1,255,0),this[ce]=255&Z,ce+1},u.prototype.writeUInt16LE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,2,65535,0),this[ce]=255&Z,this[ce+1]=Z>>>8,ce+2},u.prototype.writeUInt16BE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,2,65535,0),this[ce]=Z>>>8,this[ce+1]=255&Z,ce+2},u.prototype.writeUInt32LE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,4,4294967295,0),this[ce+3]=Z>>>24,this[ce+2]=Z>>>16,this[ce+1]=Z>>>8,this[ce]=255&Z,ce+4},u.prototype.writeUInt32BE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,4,4294967295,0),this[ce]=Z>>>24,this[ce+1]=Z>>>16,this[ce+2]=Z>>>8,this[ce+3]=255&Z,ce+4},u.prototype.writeIntLE=function(Z,ce,ye,Ve){if(Z=+Z,ce>>>=0,!Ve){var dt=Math.pow(2,8*ye-1);z(this,Z,ce,ye,dt-1,-dt)}var re=0,ot=1,pt=0;for(this[ce]=255&Z;++re<ye&&(ot*=256);)Z<0&&pt===0&&this[ce+re-1]!==0&&(pt=1),this[ce+re]=(Z/ot>>0)-pt&255;return ce+ye},u.prototype.writeIntBE=function(Z,ce,ye,Ve){if(Z=+Z,ce>>>=0,!Ve){var dt=Math.pow(2,8*ye-1);z(this,Z,ce,ye,dt-1,-dt)}var re=ye-1,ot=1,pt=0;for(this[ce+re]=255&Z;--re>=0&&(ot*=256);)Z<0&&pt===0&&this[ce+re+1]!==0&&(pt=1),this[ce+re]=(Z/ot>>0)-pt&255;return ce+ye},u.prototype.writeInt8=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,1,127,-128),Z<0&&(Z=255+Z+1),this[ce]=255&Z,ce+1},u.prototype.writeInt16LE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,2,32767,-32768),this[ce]=255&Z,this[ce+1]=Z>>>8,ce+2},u.prototype.writeInt16BE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,2,32767,-32768),this[ce]=Z>>>8,this[ce+1]=255&Z,ce+2},u.prototype.writeInt32LE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,4,2147483647,-2147483648),this[ce]=255&Z,this[ce+1]=Z>>>8,this[ce+2]=Z>>>16,this[ce+3]=Z>>>24,ce+4},u.prototype.writeInt32BE=function(Z,ce,ye){return Z=+Z,ce>>>=0,ye||z(this,Z,ce,4,2147483647,-2147483648),Z<0&&(Z=4294967295+Z+1),this[ce]=Z>>>24,this[ce+1]=Z>>>16,this[ce+2]=Z>>>8,this[ce+3]=255&Z,ce+4},u.prototype.writeFloatLE=function(Z,ce,ye){return ae(this,Z,ce,!0,ye)},u.prototype.writeFloatBE=function(Z,ce,ye){return ae(this,Z,ce,!1,ye)},u.prototype.writeDoubleLE=function(Z,ce,ye){return Ne(this,Z,ce,!0,ye)},u.prototype.writeDoubleBE=function(Z,ce,ye){return Ne(this,Z,ce,!1,ye)},u.prototype.copy=function(Z,ce,ye,Ve){if(!u.isBuffer(Z))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),Ve||Ve===0||(Ve=this.length),ce>=Z.length&&(ce=Z.length),ce||(ce=0),Ve>0&&Ve<ye&&(Ve=ye),Ve===ye||Z.length===0||this.length===0)return 0;if(ce<0)throw new RangeError("targetStart out of bounds");if(ye<0||ye>=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),Z.length-ce<Ve-ye&&(Ve=Z.length-ce+ye);var dt=Ve-ye;if(this===Z&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(ce,ye,Ve);else if(this===Z&&ye<ce&&ce<Ve)for(var re=dt-1;re>=0;--re)Z[re+ce]=this[re+ye];else Uint8Array.prototype.set.call(Z,this.subarray(ye,Ve),ce);return dt},u.prototype.fill=function(Z,ce,ye,Ve){if(typeof Z=="string"){if(typeof ce=="string"?(Ve=ce,ce=0,ye=this.length):typeof ye=="string"&&(Ve=ye,ye=this.length),Ve!==void 0&&typeof Ve!="string")throw new TypeError("encoding must be a string");if(typeof Ve=="string"&&!u.isEncoding(Ve))throw new TypeError("Unknown encoding: "+Ve);if(Z.length===1){var dt=Z.charCodeAt(0);(Ve==="utf8"&&dt<128||Ve==="latin1")&&(Z=dt)}}else typeof Z=="number"&&(Z&=255);if(ce<0||this.length<ce||this.length<ye)throw new RangeError("Out of range index");if(ye<=ce)return this;var re;if(ce>>>=0,ye=ye===void 0?this.length:ye>>>0,Z||(Z=0),typeof Z=="number")for(re=ce;re<ye;++re)this[re]=Z;else{var ot=u.isBuffer(Z)?Z:u.from(Z,Ve),pt=ot.length;if(pt===0)throw new TypeError('The value "'+Z+'" is invalid for argument "value"');for(re=0;re<ye-ce;++re)this[re+ce]=ot[re%pt]}return this};var Ge=/[^+/0-9A-Za-z-_]/g;function Ye(Z){if((Z=(Z=Z.split("=")[0]).trim().replace(Ge,"")).length<2)return"";for(;Z.length%4!=0;)Z+="=";return Z}function Ae(Z){return Z<16?"0"+Z.toString(16):Z.toString(16)}function te(Z,ce){var ye;ce=ce||1/0;for(var Ve=Z.length,dt=null,re=[],ot=0;ot<Ve;++ot){if((ye=Z.charCodeAt(ot))>55295&&ye<57344){if(!dt){if(ye>56319){(ce-=3)>-1&&re.push(239,191,189);continue}if(ot+1===Ve){(ce-=3)>-1&&re.push(239,191,189);continue}dt=ye;continue}if(ye<56320){(ce-=3)>-1&&re.push(239,191,189),dt=ye;continue}ye=65536+(dt-55296<<10|ye-56320)}else dt&&(ce-=3)>-1&&re.push(239,191,189);if(dt=null,ye<128){if((ce-=1)<0)break;re.push(ye)}else if(ye<2048){if((ce-=2)<0)break;re.push(ye>>6|192,63&ye|128)}else if(ye<65536){if((ce-=3)<0)break;re.push(ye>>12|224,ye>>6&63|128,63&ye|128)}else{if(!(ye<1114112))throw new Error("Invalid code point");if((ce-=4)<0)break;re.push(ye>>18|240,ye>>12&63|128,ye>>6&63|128,63&ye|128)}}return re}function he(Z){for(var ce=[],ye=0;ye<Z.length;++ye)ce.push(255&Z.charCodeAt(ye));return ce}function de(Z,ce){for(var ye,Ve,dt,re=[],ot=0;ot<Z.length&&!((ce-=2)<0);++ot)Ve=(ye=Z.charCodeAt(ot))>>8,dt=ye%256,re.push(dt),re.push(Ve);return re}function Ke(Z){return a.toByteArray(Ye(Z))}function le(Z,ce,ye,Ve){for(var dt=0;dt<Ve&&!(dt+ye>=ce.length||dt>=Z.length);++dt)ce[dt+ye]=Z[dt];return dt}function Ce(Z,ce){return Z instanceof ce||Z!=null&&Z.constructor!=null&&Z.constructor.name!=null&&Z.constructor.name===ce.name}function At(Z){return Z!=Z}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":185,buffer:220,ieee754:439}],221:[function(e,r,t){var n=e("safe-buffer").Buffer,a=e("stream").Transform,s=e("string_decoder").StringDecoder;function o(i){a.call(this),this.hashMode=typeof i=="string",this.hashMode?this[i]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e("inherits")(o,a),o.prototype.update=function(i,c,u){typeof i=="string"&&(i=n.from(i,c));var l=this._update(i);return this.hashMode?this:(u&&(l=this._toString(l,u)),l)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(i,c,u){var l;try{this.hashMode?this._update(i):this.push(this._update(i))}catch(A){l=A}finally{u(l)}},o.prototype._flush=function(i){var c;try{this.push(this.__final())}catch(u){c=u}i(c)},o.prototype._finalOrDigest=function(i){var c=this.__final()||n.alloc(0);return i&&(c=this._toString(c,i,!0)),c},o.prototype._toString=function(i,c,u){if(this._decoder||(this._decoder=new s(c),this._encoding=c),this._encoding!==c)throw new Error("can't switch encodings");var l=this._decoder.write(i);return u&&(l+=this._decoder.end()),l},r.exports=o},{inherits:440,"safe-buffer":494,stream:505,string_decoder:218}],222:[function(e,r,t){var n=e("../internals/is-callable"),a=e("../internals/try-to-string"),s=TypeError;r.exports=function(o){if(n(o))return o;throw new s(a(o)+" is not a function")}},{"../internals/is-callable":285,"../internals/try-to-string":349}],223:[function(e,r,t){var n=e("../internals/is-constructor"),a=e("../internals/try-to-string"),s=TypeError;r.exports=function(o){if(n(o))return o;throw new s(a(o)+" is not a constructor")}},{"../internals/is-constructor":286,"../internals/try-to-string":349}],224:[function(e,r,t){var n=e("../internals/is-callable"),a=String,s=TypeError;r.exports=function(o){if(typeof o=="object"||n(o))return o;throw new s("Can't set "+a(o)+" as a prototype")}},{"../internals/is-callable":285}],225:[function(e,r,t){var n=e("../internals/well-known-symbol"),a=e("../internals/object-create"),s=e("../internals/object-define-property").f,o=n("unscopables"),i=Array.prototype;i[o]===void 0&&s(i,o,{configurable:!0,value:a(null)}),r.exports=function(c){i[o][c]=!0}},{"../internals/object-create":306,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],226:[function(e,r,t){var n=e("../internals/object-is-prototype-of"),a=TypeError;r.exports=function(s,o){if(n(o,s))return s;throw new a("Incorrect invocation")}},{"../internals/object-is-prototype-of":314}],227:[function(e,r,t){var n=e("../internals/is-object"),a=String,s=TypeError;r.exports=function(o){if(n(o))return o;throw new s(a(o)+" is not an object")}},{"../internals/is-object":289}],228:[function(e,r,t){var n=e("../internals/to-indexed-object"),a=e("../internals/to-absolute-index"),s=e("../internals/length-of-array-like"),o=function(i){return function(c,u,l){var A,h=n(c),f=s(h),d=a(l,f);if(i&&u!=u){for(;f>d;)if((A=h[d++])!=A)return!0}else for(;f>d;d++)if((i||d in h)&&h[d]===u)return i||d||0;return!i&&-1}};r.exports={includes:o(!0),indexOf:o(!1)}},{"../internals/length-of-array-like":299,"../internals/to-absolute-index":340,"../internals/to-indexed-object":341}],229:[function(e,r,t){var n=e("../internals/function-bind-context"),a=e("../internals/function-uncurry-this"),s=e("../internals/indexed-object"),o=e("../internals/to-object"),i=e("../internals/length-of-array-like"),c=e("../internals/array-species-create"),u=a([].push),l=function(A){var h=A===1,f=A===2,d=A===3,g=A===4,p=A===6,m=A===7,v=A===5||p;return function(y,I,E,k){for(var R,T,j=o(y),W=s(j),H=n(I,E),X=i(W),x=0,N=k||c,C=h?N(y,X):f||m?N(y,0):void 0;X>x;x++)if((v||x in W)&&(T=H(R=W[x],x,j),A))if(h)C[x]=T;else if(T)switch(A){case 3:return!0;case 5:return R;case 6:return x;case 2:u(C,R)}else switch(A){case 4:return!1;case 7:u(C,R)}return p?-1:d||g?g:C}};r.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},{"../internals/array-species-create":233,"../internals/function-bind-context":262,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/length-of-array-like":299,"../internals/to-object":344}],230:[function(e,r,t){var n=e("../internals/to-absolute-index"),a=e("../internals/length-of-array-like"),s=e("../internals/create-property"),o=Array,i=Math.max;r.exports=function(c,u,l){for(var A=a(c),h=n(u,A),f=n(l===void 0?A:l,A),d=o(i(f-h,0)),g=0;h<f;h++,g++)s(d,g,c[h]);return d.length=g,d}},{"../internals/create-property":243,"../internals/length-of-array-like":299,"../internals/to-absolute-index":340}],231:[function(e,r,t){var n=e("../internals/function-uncurry-this");r.exports=n([].slice)},{"../internals/function-uncurry-this":268}],232:[function(e,r,t){var n=e("../internals/is-array"),a=e("../internals/is-constructor"),s=e("../internals/is-object"),o=e("../internals/well-known-symbol")("species"),i=Array;r.exports=function(c){var u;return n(c)&&(u=c.constructor,(a(u)&&(u===i||n(u.prototype))||s(u)&&(u=u[o])===null)&&(u=void 0)),u===void 0?i:u}},{"../internals/is-array":284,"../internals/is-constructor":286,"../internals/is-object":289,"../internals/well-known-symbol":357}],233:[function(e,r,t){var n=e("../internals/array-species-constructor");r.exports=function(a,s){return new(n(a))(s===0?0:s)}},{"../internals/array-species-constructor":232}],234:[function(e,r,t){var n=e("../internals/well-known-symbol")("iterator"),a=!1;try{var s=0,o={next:function(){return{done:!!s++}},return:function(){a=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch{}r.exports=function(i,c){try{if(!c&&!a)return!1}catch{return!1}var u=!1;try{var l={};l[n]=function(){return{next:function(){return{done:u=!0}}}},i(l)}catch{}return u}},{"../internals/well-known-symbol":357}],235:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=n({}.toString),s=n("".slice);r.exports=function(o){return s(a(o),8,-1)}},{"../internals/function-uncurry-this":268}],236:[function(e,r,t){var n=e("../internals/to-string-tag-support"),a=e("../internals/is-callable"),s=e("../internals/classof-raw"),o=e("../internals/well-known-symbol")("toStringTag"),i=Object,c=s(function(){return arguments}())==="Arguments",u=function(l,A){try{return l[A]}catch{}};r.exports=n?s:function(l){var A,h,f;return l===void 0?"Undefined":l===null?"Null":typeof(h=u(A=i(l),o))=="string"?h:c?s(A):(f=s(A))==="Object"&&a(A.callee)?"Arguments":f}},{"../internals/classof-raw":235,"../internals/is-callable":285,"../internals/to-string-tag-support":347,"../internals/well-known-symbol":357}],237:[function(e,r,t){var n=e("../internals/has-own-property"),a=e("../internals/own-keys"),s=e("../internals/object-get-own-property-descriptor"),o=e("../internals/object-define-property");r.exports=function(i,c,u){for(var l=a(c),A=o.f,h=s.f,f=0;f<l.length;f++){var d=l[f];n(i,d)||u&&n(u,d)||A(i,d,h(c,d))}}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/own-keys":321}],238:[function(e,r,t){var n=e("../internals/well-known-symbol")("match");r.exports=function(a){var s=/./;try{"/./"[a](s)}catch{try{return s[n]=!1,"/./"[a](s)}catch{}}return!1}},{"../internals/well-known-symbol":357}],239:[function(e,r,t){var n=e("../internals/fails");r.exports=!n(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},{"../internals/fails":260}],240:[function(e,r,t){r.exports=function(n,a){return{value:n,done:a}}},{}],241:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");r.exports=n?function(o,i,c){return a.f(o,i,s(1,c))}:function(o,i,c){return o[i]=c,o}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/object-define-property":308}],242:[function(e,r,t){r.exports=function(n,a){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:a}}},{}],243:[function(e,r,t){var n=e("../internals/to-property-key"),a=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");r.exports=function(o,i,c){var u=n(i);u in o?a.f(o,u,s(0,c)):o[u]=c}},{"../internals/create-property-descriptor":242,"../internals/object-define-property":308,"../internals/to-property-key":346}],244:[function(e,r,t){var n=e("../internals/make-built-in"),a=e("../internals/object-define-property");r.exports=function(s,o,i){return i.get&&n(i.get,o,{getter:!0}),i.set&&n(i.set,o,{setter:!0}),a.f(s,o,i)}},{"../internals/make-built-in":300,"../internals/object-define-property":308}],245:[function(e,r,t){var n=e("../internals/is-callable"),a=e("../internals/object-define-property"),s=e("../internals/make-built-in"),o=e("../internals/define-global-property");r.exports=function(i,c,u,l){l||(l={});var A=l.enumerable,h=l.name!==void 0?l.name:c;if(n(u)&&s(u,h,l),l.global)A?i[c]=u:o(c,u);else{try{l.unsafe?i[c]&&(A=!0):delete i[c]}catch{}A?i[c]=u:a.f(i,c,{value:u,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return i}},{"../internals/define-global-property":246,"../internals/is-callable":285,"../internals/make-built-in":300,"../internals/object-define-property":308}],246:[function(e,r,t){var n=e("../internals/global"),a=Object.defineProperty;r.exports=function(s,o){try{a(n,s,{value:o,configurable:!0,writable:!0})}catch{n[s]=o}return o}},{"../internals/global":274}],247:[function(e,r,t){var n=e("../internals/fails");r.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},{"../internals/fails":260}],248:[function(e,r,t){var n=typeof document=="object"&&document.all,a=n===void 0&&n!==void 0;r.exports={all:n,IS_HTMLDDA:a}},{}],249:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/is-object"),s=n.document,o=a(s)&&a(s.createElement);r.exports=function(i){return o?s.createElement(i):{}}},{"../internals/global":274,"../internals/is-object":289}],250:[function(e,r,t){var n=e("../internals/engine-is-deno"),a=e("../internals/engine-is-node");r.exports=!n&&!a&&typeof window=="object"&&typeof document=="object"},{"../internals/engine-is-deno":251,"../internals/engine-is-node":254}],251:[function(e,r,t){r.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},{}],252:[function(e,r,t){var n=e("../internals/engine-user-agent");r.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u"},{"../internals/engine-user-agent":256}],253:[function(e,r,t){var n=e("../internals/engine-user-agent");r.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},{"../internals/engine-user-agent":256}],254:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/classof-raw");r.exports=a(n.process)==="process"},{"../internals/classof-raw":235,"../internals/global":274}],255:[function(e,r,t){var n=e("../internals/engine-user-agent");r.exports=/web0s(?!.*chrome)/i.test(n)},{"../internals/engine-user-agent":256}],256:[function(e,r,t){r.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},{}],257:[function(e,r,t){var n,a,s=e("../internals/global"),o=e("../internals/engine-user-agent"),i=s.process,c=s.Deno,u=i&&i.versions||c&&c.version,l=u&&u.v8;l&&(a=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!a&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=+n[1]),r.exports=a},{"../internals/engine-user-agent":256,"../internals/global":274}],258:[function(e,r,t){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],259:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/object-get-own-property-descriptor").f,s=e("../internals/create-non-enumerable-property"),o=e("../internals/define-built-in"),i=e("../internals/define-global-property"),c=e("../internals/copy-constructor-properties"),u=e("../internals/is-forced");r.exports=function(l,A){var h,f,d,g,p,m=l.target,v=l.global,y=l.stat;if(h=v?n:y?n[m]||i(m,{}):(n[m]||{}).prototype)for(f in A){if(g=A[f],d=l.dontCallGetSet?(p=a(h,f))&&p.value:h[f],!u(v?f:m+(y?".":"#")+f,l.forced)&&d!==void 0){if(typeof g==typeof d)continue;c(g,d)}(l.sham||d&&d.sham)&&s(g,"sham",!0),o(h,f,g,l)}}},{"../internals/copy-constructor-properties":237,"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/define-global-property":246,"../internals/global":274,"../internals/is-forced":287,"../internals/object-get-own-property-descriptor":309}],260:[function(e,r,t){r.exports=function(n){try{return!!n()}catch{return!0}}},{}],261:[function(e,r,t){var n=e("../internals/function-bind-native"),a=Function.prototype,s=a.apply,o=a.call;r.exports=typeof Reflect=="object"&&Reflect.apply||(n?o.bind(s):function(){return o.apply(s,arguments)})},{"../internals/function-bind-native":263}],262:[function(e,r,t){var n=e("../internals/function-uncurry-this-clause"),a=e("../internals/a-callable"),s=e("../internals/function-bind-native"),o=n(n.bind);r.exports=function(i,c){return a(i),c===void 0?i:s?o(i,c):function(){return i.apply(c,arguments)}}},{"../internals/a-callable":222,"../internals/function-bind-native":263,"../internals/function-uncurry-this-clause":267}],263:[function(e,r,t){var n=e("../internals/fails");r.exports=!n(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},{"../internals/fails":260}],264:[function(e,r,t){var n=e("../internals/function-bind-native"),a=Function.prototype.call;r.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},{"../internals/function-bind-native":263}],265:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/has-own-property"),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,i=a(s,"name"),c=i&&function(){}.name==="something",u=i&&(!n||n&&o(s,"name").configurable);r.exports={EXISTS:i,PROPER:c,CONFIGURABLE:u}},{"../internals/descriptors":247,"../internals/has-own-property":275}],266:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/a-callable");r.exports=function(s,o,i){try{return n(a(Object.getOwnPropertyDescriptor(s,o)[i]))}catch{}}},{"../internals/a-callable":222,"../internals/function-uncurry-this":268}],267:[function(e,r,t){var n=e("../internals/classof-raw"),a=e("../internals/function-uncurry-this");r.exports=function(s){if(n(s)==="Function")return a(s)}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268}],268:[function(e,r,t){var n=e("../internals/function-bind-native"),a=Function.prototype,s=a.call,o=n&&a.bind.bind(s,s);r.exports=n?o:function(i){return function(){return s.apply(i,arguments)}}},{"../internals/function-bind-native":263}],269:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/is-callable"),s=function(o){return a(o)?o:void 0};r.exports=function(o,i){return arguments.length<2?s(n[o]):n[o]&&n[o][i]}},{"../internals/global":274,"../internals/is-callable":285}],270:[function(e,r,t){var n=e("../internals/classof"),a=e("../internals/get-method"),s=e("../internals/is-null-or-undefined"),o=e("../internals/iterators"),i=e("../internals/well-known-symbol")("iterator");r.exports=function(c){if(!s(c))return a(c,i)||a(c,"@@iterator")||o[n(c)]}},{"../internals/classof":236,"../internals/get-method":273,"../internals/is-null-or-undefined":288,"../internals/iterators":298,"../internals/well-known-symbol":357}],271:[function(e,r,t){var n=e("../internals/function-call"),a=e("../internals/a-callable"),s=e("../internals/an-object"),o=e("../internals/try-to-string"),i=e("../internals/get-iterator-method"),c=TypeError;r.exports=function(u,l){var A=arguments.length<2?i(u):l;if(a(A))return s(n(A,u));throw new c(o(u)+" is not iterable")}},{"../internals/a-callable":222,"../internals/an-object":227,"../internals/function-call":264,"../internals/get-iterator-method":270,"../internals/try-to-string":349}],272:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/is-array"),s=e("../internals/is-callable"),o=e("../internals/classof-raw"),i=e("../internals/to-string"),c=n([].push);r.exports=function(u){if(s(u))return u;if(a(u)){for(var l=u.length,A=[],h=0;h<l;h++){var f=u[h];typeof f=="string"?c(A,f):typeof f!="number"&&o(f)!=="Number"&&o(f)!=="String"||c(A,i(f))}var d=A.length,g=!0;return function(p,m){if(g)return g=!1,m;if(a(this))return m;for(var v=0;v<d;v++)if(A[v]===p)return m}}}},{"../internals/classof-raw":235,"../internals/function-uncurry-this":268,"../internals/is-array":284,"../internals/is-callable":285,"../internals/to-string":348}],273:[function(e,r,t){var n=e("../internals/a-callable"),a=e("../internals/is-null-or-undefined");r.exports=function(s,o){var i=s[o];return a(i)?void 0:n(i)}},{"../internals/a-callable":222,"../internals/is-null-or-undefined":288}],274:[function(e,r,t){(function(n){(function(){var a=function(s){return s&&s.Math===Math&&s};r.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof n=="object"&&n)||function(){return this}()||this||Function("return this")()}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],275:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/to-object"),s=n({}.hasOwnProperty);r.exports=Object.hasOwn||function(o,i){return s(a(o),i)}},{"../internals/function-uncurry-this":268,"../internals/to-object":344}],276:[function(e,r,t){r.exports={}},{}],277:[function(e,r,t){r.exports=function(n,a){try{arguments.length===1?console.error(n):console.error(n,a)}catch{}}},{}],278:[function(e,r,t){var n=e("../internals/get-built-in");r.exports=n("document","documentElement")},{"../internals/get-built-in":269}],279:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/fails"),s=e("../internals/document-create-element");r.exports=!n&&!a(function(){return Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a!==7})},{"../internals/descriptors":247,"../internals/document-create-element":249,"../internals/fails":260}],280:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/fails"),s=e("../internals/classof-raw"),o=Object,i=n("".split);r.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(c){return s(c)==="String"?i(c,""):o(c)}:o},{"../internals/classof-raw":235,"../internals/fails":260,"../internals/function-uncurry-this":268}],281:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/is-callable"),s=e("../internals/shared-store"),o=n(Function.toString);a(s.inspectSource)||(s.inspectSource=function(i){return o(i)}),r.exports=s.inspectSource},{"../internals/function-uncurry-this":268,"../internals/is-callable":285,"../internals/shared-store":333}],282:[function(e,r,t){var n,a,s,o=e("../internals/weak-map-basic-detection"),i=e("../internals/global"),c=e("../internals/is-object"),u=e("../internals/create-non-enumerable-property"),l=e("../internals/has-own-property"),A=e("../internals/shared-store"),h=e("../internals/shared-key"),f=e("../internals/hidden-keys"),d="Object already initialized",g=i.TypeError,p=i.WeakMap,m=function(E){return s(E)?a(E):n(E,{})},v=function(E){return function(k){var R;if(!c(k)||(R=a(k)).type!==E)throw new g("Incompatible receiver, "+E+" required");return R}};if(o||A.state){var y=A.state||(A.state=new p);y.get=y.get,y.has=y.has,y.set=y.set,n=function(E,k){if(y.has(E))throw new g(d);return k.facade=E,y.set(E,k),k},a=function(E){return y.get(E)||{}},s=function(E){return y.has(E)}}else{var I=h("state");f[I]=!0,n=function(E,k){if(l(E,I))throw new g(d);return k.facade=E,u(E,I,k),k},a=function(E){return l(E,I)?E[I]:{}},s=function(E){return l(E,I)}}r.exports={set:n,get:a,has:s,enforce:m,getterFor:v}},{"../internals/create-non-enumerable-property":241,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/is-object":289,"../internals/shared-key":332,"../internals/shared-store":333,"../internals/weak-map-basic-detection":354}],283:[function(e,r,t){var n=e("../internals/well-known-symbol"),a=e("../internals/iterators"),s=n("iterator"),o=Array.prototype;r.exports=function(i){return i!==void 0&&(a.Array===i||o[s]===i)}},{"../internals/iterators":298,"../internals/well-known-symbol":357}],284:[function(e,r,t){var n=e("../internals/classof-raw");r.exports=Array.isArray||function(a){return n(a)==="Array"}},{"../internals/classof-raw":235}],285:[function(e,r,t){var n=e("../internals/document-all"),a=n.all;r.exports=n.IS_HTMLDDA?function(s){return typeof s=="function"||s===a}:function(s){return typeof s=="function"}},{"../internals/document-all":248}],286:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/fails"),s=e("../internals/is-callable"),o=e("../internals/classof"),i=e("../internals/get-built-in"),c=e("../internals/inspect-source"),u=function(){},l=[],A=i("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=n(h.exec),d=!h.test(u),g=function(m){if(!s(m))return!1;try{return A(u,l,m),!0}catch{return!1}},p=function(m){if(!s(m))return!1;switch(o(m)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(h,c(m))}catch{return!0}};p.sham=!0,r.exports=!A||a(function(){var m;return g(g.call)||!g(Object)||!g(function(){m=!0})||m})?p:g},{"../internals/classof":236,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/inspect-source":281,"../internals/is-callable":285}],287:[function(e,r,t){var n=e("../internals/fails"),a=e("../internals/is-callable"),s=/#|\.prototype\./,o=function(A,h){var f=c[i(A)];return f===l||f!==u&&(a(h)?n(h):!!h)},i=o.normalize=function(A){return String(A).replace(s,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";r.exports=o},{"../internals/fails":260,"../internals/is-callable":285}],288:[function(e,r,t){r.exports=function(n){return n==null}},{}],289:[function(e,r,t){var n=e("../internals/is-callable"),a=e("../internals/document-all"),s=a.all;r.exports=a.IS_HTMLDDA?function(o){return typeof o=="object"?o!==null:n(o)||o===s}:function(o){return typeof o=="object"?o!==null:n(o)}},{"../internals/document-all":248,"../internals/is-callable":285}],290:[function(e,r,t){r.exports=!1},{}],291:[function(e,r,t){var n=e("../internals/is-object"),a=e("../internals/classof-raw"),s=e("../internals/well-known-symbol")("match");r.exports=function(o){var i;return n(o)&&((i=o[s])!==void 0?!!i:a(o)==="RegExp")}},{"../internals/classof-raw":235,"../internals/is-object":289,"../internals/well-known-symbol":357}],292:[function(e,r,t){var n=e("../internals/get-built-in"),a=e("../internals/is-callable"),s=e("../internals/object-is-prototype-of"),o=e("../internals/use-symbol-as-uid"),i=Object;r.exports=o?function(c){return typeof c=="symbol"}:function(c){var u=n("Symbol");return a(u)&&s(u.prototype,i(c))}},{"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/object-is-prototype-of":314,"../internals/use-symbol-as-uid":351}],293:[function(e,r,t){var n=e("../internals/function-bind-context"),a=e("../internals/function-call"),s=e("../internals/an-object"),o=e("../internals/try-to-string"),i=e("../internals/is-array-iterator-method"),c=e("../internals/length-of-array-like"),u=e("../internals/object-is-prototype-of"),l=e("../internals/get-iterator"),A=e("../internals/get-iterator-method"),h=e("../internals/iterator-close"),f=TypeError,d=function(p,m){this.stopped=p,this.result=m},g=d.prototype;r.exports=function(p,m,v){var y,I,E,k,R,T,j,W=v&&v.that,H=!(!v||!v.AS_ENTRIES),X=!(!v||!v.IS_RECORD),x=!(!v||!v.IS_ITERATOR),N=!(!v||!v.INTERRUPTED),C=n(m,W),w=function(B){return y&&h(y,"normal",B),new d(!0,B)},Q=function(B){return H?(s(B),N?C(B[0],B[1],w):C(B[0],B[1])):N?C(B,w):C(B)};if(X)y=p.iterator;else if(x)y=p;else{if(!(I=A(p)))throw new f(o(p)+" is not iterable");if(i(I)){for(E=0,k=c(p);k>E;E++)if((R=Q(p[E]))&&u(g,R))return R;return new d(!1)}y=l(p,I)}for(T=X?p.next:y.next;!(j=a(T,y)).done;){try{R=Q(j.value)}catch(B){h(y,"throw",B)}if(typeof R=="object"&&R&&u(g,R))return R}return new d(!1)}},{"../internals/an-object":227,"../internals/function-bind-context":262,"../internals/function-call":264,"../internals/get-iterator":271,"../internals/get-iterator-method":270,"../internals/is-array-iterator-method":283,"../internals/iterator-close":294,"../internals/length-of-array-like":299,"../internals/object-is-prototype-of":314,"../internals/try-to-string":349}],294:[function(e,r,t){var n=e("../internals/function-call"),a=e("../internals/an-object"),s=e("../internals/get-method");r.exports=function(o,i,c){var u,l;a(o);try{if(!(u=s(o,"return"))){if(i==="throw")throw c;return c}u=n(u,o)}catch(A){l=!0,u=A}if(i==="throw")throw c;if(l)throw u;return a(u),c}},{"../internals/an-object":227,"../internals/function-call":264,"../internals/get-method":273}],295:[function(e,r,t){var n=e("../internals/iterators-core").IteratorPrototype,a=e("../internals/object-create"),s=e("../internals/create-property-descriptor"),o=e("../internals/set-to-string-tag"),i=e("../internals/iterators"),c=function(){return this};r.exports=function(u,l,A,h){var f=l+" Iterator";return u.prototype=a(n,{next:s(+!h,A)}),o(u,f,!1,!0),i[f]=c,u}},{"../internals/create-property-descriptor":242,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-create":306,"../internals/set-to-string-tag":331}],296:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/function-call"),s=e("../internals/is-pure"),o=e("../internals/function-name"),i=e("../internals/is-callable"),c=e("../internals/iterator-create-constructor"),u=e("../internals/object-get-prototype-of"),l=e("../internals/object-set-prototype-of"),A=e("../internals/set-to-string-tag"),h=e("../internals/create-non-enumerable-property"),f=e("../internals/define-built-in"),d=e("../internals/well-known-symbol"),g=e("../internals/iterators"),p=e("../internals/iterators-core"),m=o.PROPER,v=o.CONFIGURABLE,y=p.IteratorPrototype,I=p.BUGGY_SAFARI_ITERATORS,E=d("iterator"),k="keys",R="values",T="entries",j=function(){return this};r.exports=function(W,H,X,x,N,C,w){c(X,H,x);var Q,B,S,O=function(Ne){if(Ne===N&&ue)return ue;if(!I&&Ne&&Ne in M)return M[Ne];switch(Ne){case k:case R:case T:return function(){return new X(this,Ne)}}return function(){return new X(this)}},F=H+" Iterator",Y=!1,M=W.prototype,z=M[E]||M["@@iterator"]||N&&M[N],ue=!I&&z||O(N),ae=H==="Array"&&M.entries||z;if(ae&&(Q=u(ae.call(new W)))!==Object.prototype&&Q.next&&(s||u(Q)===y||(l?l(Q,y):i(Q[E])||f(Q,E,j)),A(Q,F,!0,!0),s&&(g[F]=j)),m&&N===R&&z&&z.name!==R&&(!s&&v?h(M,"name",R):(Y=!0,ue=function(){return a(z,this)})),N)if(B={values:O(R),keys:C?ue:O(k),entries:O(T)},w)for(S in B)(I||Y||!(S in M))&&f(M,S,B[S]);else n({target:H,proto:!0,forced:I||Y},B);return s&&!w||M[E]===ue||f(M,E,ue,{name:N}),g[H]=ue,B}},{"../internals/create-non-enumerable-property":241,"../internals/define-built-in":245,"../internals/export":259,"../internals/function-call":264,"../internals/function-name":265,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/iterator-create-constructor":295,"../internals/iterators":298,"../internals/iterators-core":297,"../internals/object-get-prototype-of":313,"../internals/object-set-prototype-of":318,"../internals/set-to-string-tag":331,"../internals/well-known-symbol":357}],297:[function(e,r,t){var n,a,s,o=e("../internals/fails"),i=e("../internals/is-callable"),c=e("../internals/is-object"),u=e("../internals/object-create"),l=e("../internals/object-get-prototype-of"),A=e("../internals/define-built-in"),h=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),d=h("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(a=l(l(s)))!==Object.prototype&&(n=a):g=!0),!c(n)||o(function(){var p={};return n[d].call(p)!==p})?n={}:f&&(n=u(n)),i(n[d])||A(n,d,function(){return this}),r.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},{"../internals/define-built-in":245,"../internals/fails":260,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-get-prototype-of":313,"../internals/well-known-symbol":357}],298:[function(e,r,t){arguments[4][276][0].apply(t,arguments)},{dup:276}],299:[function(e,r,t){var n=e("../internals/to-length");r.exports=function(a){return n(a.length)}},{"../internals/to-length":343}],300:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/fails"),s=e("../internals/is-callable"),o=e("../internals/has-own-property"),i=e("../internals/descriptors"),c=e("../internals/function-name").CONFIGURABLE,u=e("../internals/inspect-source"),l=e("../internals/internal-state"),A=l.enforce,h=l.get,f=String,d=Object.defineProperty,g=n("".slice),p=n("".replace),m=n([].join),v=i&&!a(function(){return d(function(){},"length",{value:8}).length!==8}),y=String(String).split("String"),I=r.exports=function(E,k,R){g(f(k),0,7)==="Symbol("&&(k="["+p(f(k),/^Symbol\(([^)]*)\)/,"$1")+"]"),R&&R.getter&&(k="get "+k),R&&R.setter&&(k="set "+k),(!o(E,"name")||c&&E.name!==k)&&(i?d(E,"name",{value:k,configurable:!0}):E.name=k),v&&R&&o(R,"arity")&&E.length!==R.arity&&d(E,"length",{value:R.arity});try{R&&o(R,"constructor")&&R.constructor?i&&d(E,"prototype",{writable:!1}):E.prototype&&(E.prototype=void 0)}catch{}var T=A(E);return o(T,"source")||(T.source=m(y,typeof k=="string"?k:"")),E};Function.prototype.toString=I(function(){return s(this)&&h(this).source||u(this)},"toString")},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-name":265,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/inspect-source":281,"../internals/internal-state":282,"../internals/is-callable":285}],301:[function(e,r,t){var n=Math.ceil,a=Math.floor;r.exports=Math.trunc||function(s){var o=+s;return(o>0?a:n)(o)}},{}],302:[function(e,r,t){var n,a,s,o,i,c=e("../internals/global"),u=e("../internals/function-bind-context"),l=e("../internals/object-get-own-property-descriptor").f,A=e("../internals/task").set,h=e("../internals/queue"),f=e("../internals/engine-is-ios"),d=e("../internals/engine-is-ios-pebble"),g=e("../internals/engine-is-webos-webkit"),p=e("../internals/engine-is-node"),m=c.MutationObserver||c.WebKitMutationObserver,v=c.document,y=c.process,I=c.Promise,E=l(c,"queueMicrotask"),k=E&&E.value;if(!k){var R=new h,T=function(){var j,W;for(p&&(j=y.domain)&&j.exit();W=R.get();)try{W()}catch(H){throw R.head&&n(),H}j&&j.enter()};f||p||g||!m||!v?!d&&I&&I.resolve?((o=I.resolve(void 0)).constructor=I,i=u(o.then,o),n=function(){i(T)}):p?n=function(){y.nextTick(T)}:(A=u(A,c),n=function(){A(T)}):(a=!0,s=v.createTextNode(""),new m(T).observe(s,{characterData:!0}),n=function(){s.data=a=!a}),k=function(j){R.head||n(),R.add(j)}}r.exports=k},{"../internals/engine-is-ios":253,"../internals/engine-is-ios-pebble":252,"../internals/engine-is-node":254,"../internals/engine-is-webos-webkit":255,"../internals/function-bind-context":262,"../internals/global":274,"../internals/object-get-own-property-descriptor":309,"../internals/queue":328,"../internals/task":339}],303:[function(e,r,t){var n=e("../internals/a-callable"),a=TypeError,s=function(o){var i,c;this.promise=new o(function(u,l){if(i!==void 0||c!==void 0)throw new a("Bad Promise constructor");i=u,c=l}),this.resolve=n(i),this.reject=n(c)};r.exports.f=function(o){return new s(o)}},{"../internals/a-callable":222}],304:[function(e,r,t){var n=e("../internals/is-regexp"),a=TypeError;r.exports=function(s){if(n(s))throw new a("The method doesn't accept regular expressions");return s}},{"../internals/is-regexp":291}],305:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/function-uncurry-this"),s=e("../internals/function-call"),o=e("../internals/fails"),i=e("../internals/object-keys"),c=e("../internals/object-get-own-property-symbols"),u=e("../internals/object-property-is-enumerable"),l=e("../internals/to-object"),A=e("../internals/indexed-object"),h=Object.assign,f=Object.defineProperty,d=a([].concat);r.exports=!h||o(function(){if(n&&h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},p={},m=Symbol("assign detection"),v="abcdefghijklmnopqrst";return g[m]=7,v.split("").forEach(function(y){p[y]=y}),h({},g)[m]!==7||i(h({},p)).join("")!==v})?function(g,p){for(var m=l(g),v=arguments.length,y=1,I=c.f,E=u.f;v>y;)for(var k,R=A(arguments[y++]),T=I?d(i(R),I(R)):i(R),j=T.length,W=0;j>W;)k=T[W++],n&&!s(E,R,k)||(m[k]=R[k]);return m}:h},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/indexed-object":280,"../internals/object-get-own-property-symbols":312,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-object":344}],306:[function(e,r,t){var n,a=e("../internals/an-object"),s=e("../internals/object-define-properties"),o=e("../internals/enum-bug-keys"),i=e("../internals/hidden-keys"),c=e("../internals/html"),u=e("../internals/document-create-element"),l=e("../internals/shared-key"),A=">",h="<",f="prototype",d="script",g=l("IE_PROTO"),p=function(){},m=function(E){return h+d+A+E+h+"/"+d+A},v=function(E){E.write(m("")),E.close();var k=E.parentWindow.Object;return E=null,k},y=function(){var E,k=u("iframe"),R="java"+d+":";return k.style.display="none",c.appendChild(k),k.src=String(R),(E=k.contentWindow.document).open(),E.write(m("document.F=Object")),E.close(),E.F},I=function(){try{n=new ActiveXObject("htmlfile")}catch{}I=typeof document<"u"?document.domain&&n?v(n):y():v(n);for(var E=o.length;E--;)delete I[f][o[E]];return I()};i[g]=!0,r.exports=Object.create||function(E,k){var R;return E!==null?(p[f]=a(E),R=new p,p[f]=null,R[g]=E):R=I(),k===void 0?R:s.f(R,k)}},{"../internals/an-object":227,"../internals/document-create-element":249,"../internals/enum-bug-keys":258,"../internals/hidden-keys":276,"../internals/html":278,"../internals/object-define-properties":307,"../internals/shared-key":332}],307:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/v8-prototype-define-bug"),s=e("../internals/object-define-property"),o=e("../internals/an-object"),i=e("../internals/to-indexed-object"),c=e("../internals/object-keys");t.f=n&&!a?Object.defineProperties:function(u,l){o(u);for(var A,h=i(l),f=c(l),d=f.length,g=0;d>g;)s.f(u,A=f[g++],h[A]);return u}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/object-define-property":308,"../internals/object-keys":316,"../internals/to-indexed-object":341,"../internals/v8-prototype-define-bug":352}],308:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/ie8-dom-define"),s=e("../internals/v8-prototype-define-bug"),o=e("../internals/an-object"),i=e("../internals/to-property-key"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,A="enumerable",h="configurable",f="writable";t.f=n?s?function(d,g,p){if(o(d),g=i(g),o(p),typeof d=="function"&&g==="prototype"&&"value"in p&&f in p&&!p[f]){var m=l(d,g);m&&m[f]&&(d[g]=p.value,p={configurable:h in p?p[h]:m[h],enumerable:A in p?p[A]:m[A],writable:!1})}return u(d,g,p)}:u:function(d,g,p){if(o(d),g=i(g),o(p),a)try{return u(d,g,p)}catch{}if("get"in p||"set"in p)throw new c("Accessors not supported");return"value"in p&&(d[g]=p.value),d}},{"../internals/an-object":227,"../internals/descriptors":247,"../internals/ie8-dom-define":279,"../internals/to-property-key":346,"../internals/v8-prototype-define-bug":352}],309:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/function-call"),s=e("../internals/object-property-is-enumerable"),o=e("../internals/create-property-descriptor"),i=e("../internals/to-indexed-object"),c=e("../internals/to-property-key"),u=e("../internals/has-own-property"),l=e("../internals/ie8-dom-define"),A=Object.getOwnPropertyDescriptor;t.f=n?A:function(h,f){if(h=i(h),f=c(f),l)try{return A(h,f)}catch{}if(u(h,f))return o(!a(s.f,h,f),h[f])}},{"../internals/create-property-descriptor":242,"../internals/descriptors":247,"../internals/function-call":264,"../internals/has-own-property":275,"../internals/ie8-dom-define":279,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341,"../internals/to-property-key":346}],310:[function(e,r,t){var n=e("../internals/classof-raw"),a=e("../internals/to-indexed-object"),s=e("../internals/object-get-own-property-names").f,o=e("../internals/array-slice-simple"),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(u){try{return s(u)}catch{return o(i)}};r.exports.f=function(u){return i&&n(u)==="Window"?c(u):s(a(u))}},{"../internals/array-slice-simple":230,"../internals/classof-raw":235,"../internals/object-get-own-property-names":311,"../internals/to-indexed-object":341}],311:[function(e,r,t){var n=e("../internals/object-keys-internal"),a=e("../internals/enum-bug-keys").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(s){return n(s,a)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],312:[function(e,r,t){t.f=Object.getOwnPropertySymbols},{}],313:[function(e,r,t){var n=e("../internals/has-own-property"),a=e("../internals/is-callable"),s=e("../internals/to-object"),o=e("../internals/shared-key"),i=e("../internals/correct-prototype-getter"),c=o("IE_PROTO"),u=Object,l=u.prototype;r.exports=i?u.getPrototypeOf:function(A){var h=s(A);if(n(h,c))return h[c];var f=h.constructor;return a(f)&&h instanceof f?f.prototype:h instanceof u?l:null}},{"../internals/correct-prototype-getter":239,"../internals/has-own-property":275,"../internals/is-callable":285,"../internals/shared-key":332,"../internals/to-object":344}],314:[function(e,r,t){var n=e("../internals/function-uncurry-this");r.exports=n({}.isPrototypeOf)},{"../internals/function-uncurry-this":268}],315:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=e("../internals/has-own-property"),s=e("../internals/to-indexed-object"),o=e("../internals/array-includes").indexOf,i=e("../internals/hidden-keys"),c=n([].push);r.exports=function(u,l){var A,h=s(u),f=0,d=[];for(A in h)!a(i,A)&&a(h,A)&&c(d,A);for(;l.length>f;)a(h,A=l[f++])&&(~o(d,A)||c(d,A));return d}},{"../internals/array-includes":228,"../internals/function-uncurry-this":268,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/to-indexed-object":341}],316:[function(e,r,t){var n=e("../internals/object-keys-internal"),a=e("../internals/enum-bug-keys");r.exports=Object.keys||function(s){return n(s,a)}},{"../internals/enum-bug-keys":258,"../internals/object-keys-internal":315}],317:[function(e,r,t){var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,s=a&&!n.call({1:2},1);t.f=s?function(o){var i=a(this,o);return!!i&&i.enumerable}:n},{}],318:[function(e,r,t){var n=e("../internals/function-uncurry-this-accessor"),a=e("../internals/an-object"),s=e("../internals/a-possible-prototype");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,c={};try{(o=n(Object.prototype,"__proto__","set"))(c,[]),i=c instanceof Array}catch{}return function(u,l){return a(u),s(l),i?o(u,l):u.__proto__=l,u}}():void 0)},{"../internals/a-possible-prototype":224,"../internals/an-object":227,"../internals/function-uncurry-this-accessor":266}],319:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/fails"),s=e("../internals/function-uncurry-this"),o=e("../internals/object-get-prototype-of"),i=e("../internals/object-keys"),c=e("../internals/to-indexed-object"),u=s(e("../internals/object-property-is-enumerable").f),l=s([].push),A=n&&a(function(){var f=Object.create(null);return f[2]=2,!u(f,2)}),h=function(f){return function(d){for(var g,p=c(d),m=i(p),v=A&&o(p)===null,y=m.length,I=0,E=[];y>I;)g=m[I++],n&&!(v?g in p:u(p,g))||l(E,f?[g,p[g]]:p[g]);return E}};r.exports={entries:h(!0),values:h(!1)}},{"../internals/descriptors":247,"../internals/fails":260,"../internals/function-uncurry-this":268,"../internals/object-get-prototype-of":313,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/to-indexed-object":341}],320:[function(e,r,t){var n=e("../internals/function-call"),a=e("../internals/is-callable"),s=e("../internals/is-object"),o=TypeError;r.exports=function(i,c){var u,l;if(c==="string"&&a(u=i.toString)&&!s(l=n(u,i))||a(u=i.valueOf)&&!s(l=n(u,i))||c!=="string"&&a(u=i.toString)&&!s(l=n(u,i)))return l;throw new o("Can't convert object to primitive value")}},{"../internals/function-call":264,"../internals/is-callable":285,"../internals/is-object":289}],321:[function(e,r,t){var n=e("../internals/get-built-in"),a=e("../internals/function-uncurry-this"),s=e("../internals/object-get-own-property-names"),o=e("../internals/object-get-own-property-symbols"),i=e("../internals/an-object"),c=a([].concat);r.exports=n("Reflect","ownKeys")||function(u){var l=s.f(i(u)),A=o.f;return A?c(l,A(u)):l}},{"../internals/an-object":227,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-symbols":312}],322:[function(e,r,t){var n=e("../internals/global");r.exports=n},{"../internals/global":274}],323:[function(e,r,t){r.exports=function(n){try{return{error:!1,value:n()}}catch(a){return{error:!0,value:a}}}},{}],324:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/promise-native-constructor"),s=e("../internals/is-callable"),o=e("../internals/is-forced"),i=e("../internals/inspect-source"),c=e("../internals/well-known-symbol"),u=e("../internals/engine-is-browser"),l=e("../internals/engine-is-deno"),A=e("../internals/is-pure"),h=e("../internals/engine-v8-version"),f=a&&a.prototype,d=c("species"),g=!1,p=s(n.PromiseRejectionEvent),m=o("Promise",function(){var v=i(a),y=v!==String(a);if(!y&&h===66||A&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(v)){var I=new a(function(k){k(1)}),E=function(k){k(function(){},function(){})};if((I.constructor={})[d]=E,!(g=I.then(function(){})instanceof E))return!0}return!y&&(u||l)&&!p});r.exports={CONSTRUCTOR:m,REJECTION_EVENT:p,SUBCLASSING:g}},{"../internals/engine-is-browser":250,"../internals/engine-is-deno":251,"../internals/engine-v8-version":257,"../internals/global":274,"../internals/inspect-source":281,"../internals/is-callable":285,"../internals/is-forced":287,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/well-known-symbol":357}],325:[function(e,r,t){var n=e("../internals/global");r.exports=n.Promise},{"../internals/global":274}],326:[function(e,r,t){var n=e("../internals/an-object"),a=e("../internals/is-object"),s=e("../internals/new-promise-capability");r.exports=function(o,i){if(n(o),a(i)&&i.constructor===o)return i;var c=s.f(o);return(0,c.resolve)(i),c.promise}},{"../internals/an-object":227,"../internals/is-object":289,"../internals/new-promise-capability":303}],327:[function(e,r,t){var n=e("../internals/promise-native-constructor"),a=e("../internals/check-correctness-of-iteration"),s=e("../internals/promise-constructor-detection").CONSTRUCTOR;r.exports=s||!a(function(o){n.all(o).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":234,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],328:[function(e,r,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(a){var s={item:a,next:null},o=this.tail;o?o.next=s:this.head=s,this.tail=s},get:function(){var a=this.head;if(a)return(this.head=a.next)===null&&(this.tail=null),a.item}},r.exports=n},{}],329:[function(e,r,t){var n=e("../internals/is-null-or-undefined"),a=TypeError;r.exports=function(s){if(n(s))throw new a("Can't call method on "+s);return s}},{"../internals/is-null-or-undefined":288}],330:[function(e,r,t){var n=e("../internals/get-built-in"),a=e("../internals/define-built-in-accessor"),s=e("../internals/well-known-symbol"),o=e("../internals/descriptors"),i=s("species");r.exports=function(c){var u=n(c);o&&u&&!u[i]&&a(u,i,{configurable:!0,get:function(){return this}})}},{"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],331:[function(e,r,t){var n=e("../internals/object-define-property").f,a=e("../internals/has-own-property"),s=e("../internals/well-known-symbol")("toStringTag");r.exports=function(o,i,c){o&&!c&&(o=o.prototype),o&&!a(o,s)&&n(o,s,{configurable:!0,value:i})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/well-known-symbol":357}],332:[function(e,r,t){var n=e("../internals/shared"),a=e("../internals/uid"),s=n("keys");r.exports=function(o){return s[o]||(s[o]=a(o))}},{"../internals/shared":334,"../internals/uid":350}],333:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/define-global-property"),s="__core-js_shared__",o=n[s]||a(s,{});r.exports=o},{"../internals/define-global-property":246,"../internals/global":274}],334:[function(e,r,t){var n=e("../internals/is-pure"),a=e("../internals/shared-store");(r.exports=function(s,o){return a[s]||(a[s]=o!==void 0?o:{})})("versions",[]).push({version:"3.33.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":290,"../internals/shared-store":333}],335:[function(e,r,t){var n=e("../internals/an-object"),a=e("../internals/a-constructor"),s=e("../internals/is-null-or-undefined"),o=e("../internals/well-known-symbol")("species");r.exports=function(i,c){var u,l=n(i).constructor;return l===void 0||s(u=n(l)[o])?c:a(u)}},{"../internals/a-constructor":223,"../internals/an-object":227,"../internals/is-null-or-undefined":288,"../internals/well-known-symbol":357}],336:[function(e,r,t){var n=e("../internals/engine-v8-version"),a=e("../internals/fails"),s=e("../internals/global").String;r.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return!s(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&n&&n<41})},{"../internals/engine-v8-version":257,"../internals/fails":260,"../internals/global":274}],337:[function(e,r,t){var n=e("../internals/function-call"),a=e("../internals/get-built-in"),s=e("../internals/well-known-symbol"),o=e("../internals/define-built-in");r.exports=function(){var i=a("Symbol"),c=i&&i.prototype,u=c&&c.valueOf,l=s("toPrimitive");c&&!c[l]&&o(c,l,function(A){return n(u,this)},{arity:1})}},{"../internals/define-built-in":245,"../internals/function-call":264,"../internals/get-built-in":269,"../internals/well-known-symbol":357}],338:[function(e,r,t){var n=e("../internals/symbol-constructor-detection");r.exports=n&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/symbol-constructor-detection":336}],339:[function(e,r,t){var n,a,s,o,i=e("../internals/global"),c=e("../internals/function-apply"),u=e("../internals/function-bind-context"),l=e("../internals/is-callable"),A=e("../internals/has-own-property"),h=e("../internals/fails"),f=e("../internals/html"),d=e("../internals/array-slice"),g=e("../internals/document-create-element"),p=e("../internals/validate-arguments-length"),m=e("../internals/engine-is-ios"),v=e("../internals/engine-is-node"),y=i.setImmediate,I=i.clearImmediate,E=i.process,k=i.Dispatch,R=i.Function,T=i.MessageChannel,j=i.String,W=0,H={},X="onreadystatechange";h(function(){n=i.location});var x=function(Q){if(A(H,Q)){var B=H[Q];delete H[Q],B()}},N=function(Q){return function(){x(Q)}},C=function(Q){x(Q.data)},w=function(Q){i.postMessage(j(Q),n.protocol+"//"+n.host)};y&&I||(y=function(Q){p(arguments.length,1);var B=l(Q)?Q:R(Q),S=d(arguments,1);return H[++W]=function(){c(B,void 0,S)},a(W),W},I=function(Q){delete H[Q]},v?a=function(Q){E.nextTick(N(Q))}:k&&k.now?a=function(Q){k.now(N(Q))}:T&&!m?(o=(s=new T).port2,s.port1.onmessage=C,a=u(o.postMessage,o)):i.addEventListener&&l(i.postMessage)&&!i.importScripts&&n&&n.protocol!=="file:"&&!h(w)?(a=w,i.addEventListener("message",C,!1)):a=X in g("script")?function(Q){f.appendChild(g("script"))[X]=function(){f.removeChild(this),x(Q)}}:function(Q){setTimeout(N(Q),0)}),r.exports={set:y,clear:I}},{"../internals/array-slice":231,"../internals/document-create-element":249,"../internals/engine-is-ios":253,"../internals/engine-is-node":254,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-bind-context":262,"../internals/global":274,"../internals/has-own-property":275,"../internals/html":278,"../internals/is-callable":285,"../internals/validate-arguments-length":353}],340:[function(e,r,t){var n=e("../internals/to-integer-or-infinity"),a=Math.max,s=Math.min;r.exports=function(o,i){var c=n(o);return c<0?a(c+i,0):s(c,i)}},{"../internals/to-integer-or-infinity":342}],341:[function(e,r,t){var n=e("../internals/indexed-object"),a=e("../internals/require-object-coercible");r.exports=function(s){return n(a(s))}},{"../internals/indexed-object":280,"../internals/require-object-coercible":329}],342:[function(e,r,t){var n=e("../internals/math-trunc");r.exports=function(a){var s=+a;return s!=s||s===0?0:n(s)}},{"../internals/math-trunc":301}],343:[function(e,r,t){var n=e("../internals/to-integer-or-infinity"),a=Math.min;r.exports=function(s){return s>0?a(n(s),9007199254740991):0}},{"../internals/to-integer-or-infinity":342}],344:[function(e,r,t){var n=e("../internals/require-object-coercible"),a=Object;r.exports=function(s){return a(n(s))}},{"../internals/require-object-coercible":329}],345:[function(e,r,t){var n=e("../internals/function-call"),a=e("../internals/is-object"),s=e("../internals/is-symbol"),o=e("../internals/get-method"),i=e("../internals/ordinary-to-primitive"),c=e("../internals/well-known-symbol"),u=TypeError,l=c("toPrimitive");r.exports=function(A,h){if(!a(A)||s(A))return A;var f,d=o(A,l);if(d){if(h===void 0&&(h="default"),f=n(d,A,h),!a(f)||s(f))return f;throw new u("Can't convert object to primitive value")}return h===void 0&&(h="number"),i(A,h)}},{"../internals/function-call":264,"../internals/get-method":273,"../internals/is-object":289,"../internals/is-symbol":292,"../internals/ordinary-to-primitive":320,"../internals/well-known-symbol":357}],346:[function(e,r,t){var n=e("../internals/to-primitive"),a=e("../internals/is-symbol");r.exports=function(s){var o=n(s,"string");return a(o)?o:o+""}},{"../internals/is-symbol":292,"../internals/to-primitive":345}],347:[function(e,r,t){var n={};n[e("../internals/well-known-symbol")("toStringTag")]="z",r.exports=String(n)==="[object z]"},{"../internals/well-known-symbol":357}],348:[function(e,r,t){var n=e("../internals/classof"),a=String;r.exports=function(s){if(n(s)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(s)}},{"../internals/classof":236}],349:[function(e,r,t){var n=String;r.exports=function(a){try{return n(a)}catch{return"Object"}}},{}],350:[function(e,r,t){var n=e("../internals/function-uncurry-this"),a=0,s=Math.random(),o=n(1 .toString);r.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+o(++a+s,36)}},{"../internals/function-uncurry-this":268}],351:[function(e,r,t){var n=e("../internals/symbol-constructor-detection");r.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/symbol-constructor-detection":336}],352:[function(e,r,t){var n=e("../internals/descriptors"),a=e("../internals/fails");r.exports=n&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},{"../internals/descriptors":247,"../internals/fails":260}],353:[function(e,r,t){var n=TypeError;r.exports=function(a,s){if(a<s)throw new n("Not enough arguments");return a}},{}],354:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/is-callable"),s=n.WeakMap;r.exports=a(s)&&/native code/.test(String(s))},{"../internals/global":274,"../internals/is-callable":285}],355:[function(e,r,t){var n=e("../internals/path"),a=e("../internals/has-own-property"),s=e("../internals/well-known-symbol-wrapped"),o=e("../internals/object-define-property").f;r.exports=function(i){var c=n.Symbol||(n.Symbol={});a(c,i)||o(c,i,{value:s.f(i)})}},{"../internals/has-own-property":275,"../internals/object-define-property":308,"../internals/path":322,"../internals/well-known-symbol-wrapped":356}],356:[function(e,r,t){var n=e("../internals/well-known-symbol");t.f=n},{"../internals/well-known-symbol":357}],357:[function(e,r,t){var n=e("../internals/global"),a=e("../internals/shared"),s=e("../internals/has-own-property"),o=e("../internals/uid"),i=e("../internals/symbol-constructor-detection"),c=e("../internals/use-symbol-as-uid"),u=n.Symbol,l=a("wks"),A=c?u.for||u:u&&u.withoutSetter||o;r.exports=function(h){return s(l,h)||(l[h]=i&&s(u,h)?u[h]:A("Symbol."+h)),l[h]}},{"../internals/global":274,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-constructor-detection":336,"../internals/uid":350,"../internals/use-symbol-as-uid":351}],358:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/array-iteration").findIndex,s=e("../internals/add-to-unscopables"),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n({target:"Array",proto:!0,forced:i},{findIndex:function(c){return a(this,c,arguments.length>1?arguments[1]:void 0)}}),s(o)},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],359:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/array-iteration").find,s=e("../internals/add-to-unscopables"),o="find",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n({target:"Array",proto:!0,forced:i},{find:function(c){return a(this,c,arguments.length>1?arguments[1]:void 0)}}),s(o)},{"../internals/add-to-unscopables":225,"../internals/array-iteration":229,"../internals/export":259}],360:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/array-includes").includes,s=e("../internals/fails"),o=e("../internals/add-to-unscopables");n({target:"Array",proto:!0,forced:s(function(){return!Array(1).includes()})},{includes:function(i){return a(this,i,arguments.length>1?arguments[1]:void 0)}}),o("includes")},{"../internals/add-to-unscopables":225,"../internals/array-includes":228,"../internals/export":259,"../internals/fails":260}],361:[function(e,r,t){var n=e("../internals/to-indexed-object"),a=e("../internals/add-to-unscopables"),s=e("../internals/iterators"),o=e("../internals/internal-state"),i=e("../internals/object-define-property").f,c=e("../internals/iterator-define"),u=e("../internals/create-iter-result-object"),l=e("../internals/is-pure"),A=e("../internals/descriptors"),h="Array Iterator",f=o.set,d=o.getterFor(h);r.exports=c(Array,"Array",function(p,m){f(this,{type:h,target:n(p),index:0,kind:m})},function(){var p=d(this),m=p.target,v=p.kind,y=p.index++;if(!m||y>=m.length)return p.target=void 0,u(void 0,!0);switch(v){case"keys":return u(y,!1);case"values":return u(m[y],!1)}return u([y,m[y]],!1)},"values");var g=s.Arguments=s.Array;if(a("keys"),a("values"),a("entries"),!l&&A&&g.name!=="values")try{i(g,"name",{value:"values"})}catch{}},{"../internals/add-to-unscopables":225,"../internals/create-iter-result-object":240,"../internals/descriptors":247,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/iterator-define":296,"../internals/iterators":298,"../internals/object-define-property":308,"../internals/to-indexed-object":341}],362:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/get-built-in"),s=e("../internals/function-apply"),o=e("../internals/function-call"),i=e("../internals/function-uncurry-this"),c=e("../internals/fails"),u=e("../internals/is-callable"),l=e("../internals/is-symbol"),A=e("../internals/array-slice"),h=e("../internals/get-json-replacer-function"),f=e("../internals/symbol-constructor-detection"),d=String,g=a("JSON","stringify"),p=i(/./.exec),m=i("".charAt),v=i("".charCodeAt),y=i("".replace),I=i(1 .toString),E=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,R=/^[\uDC00-\uDFFF]$/,T=!f||c(function(){var X=a("Symbol")("stringify detection");return g([X])!=="[null]"||g({a:X})!=="{}"||g(Object(X))!=="{}"}),j=c(function(){return g("\uDF06\uD834")!=='"\\udf06\\ud834"'||g("\uDEAD")!=='"\\udead"'}),W=function(X,x){var N=A(arguments),C=h(x);if(u(C)||X!==void 0&&!l(X))return N[1]=function(w,Q){if(u(C)&&(Q=o(C,this,d(w),Q)),!l(Q))return Q},s(g,null,N)},H=function(X,x,N){var C=m(N,x-1),w=m(N,x+1);return p(k,X)&&!p(R,w)||p(R,X)&&!p(k,C)?"\\u"+I(v(X,0),16):X};g&&n({target:"JSON",stat:!0,arity:3,forced:T||j},{stringify:function(X,x,N){var C=A(arguments),w=s(T?W:g,null,C);return j&&typeof w=="string"?y(w,E,H):w}})},{"../internals/array-slice":231,"../internals/export":259,"../internals/fails":260,"../internals/function-apply":261,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/get-built-in":269,"../internals/get-json-replacer-function":272,"../internals/is-callable":285,"../internals/is-symbol":292,"../internals/symbol-constructor-detection":336}],363:[function(e,r,t){e("../internals/export")({target:"Number",stat:!0},{isNaN:function(n){return n!=n}})},{"../internals/export":259}],364:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/object-assign");n({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},{"../internals/export":259,"../internals/object-assign":305}],365:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/symbol-constructor-detection"),s=e("../internals/fails"),o=e("../internals/object-get-own-property-symbols"),i=e("../internals/to-object");n({target:"Object",stat:!0,forced:!a||s(function(){o.f(1)})},{getOwnPropertySymbols:function(c){var u=o.f;return u?u(i(c)):[]}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-get-own-property-symbols":312,"../internals/symbol-constructor-detection":336,"../internals/to-object":344}],366:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/to-object"),s=e("../internals/object-keys");n({target:"Object",stat:!0,forced:e("../internals/fails")(function(){s(1)})},{keys:function(o){return s(a(o))}})},{"../internals/export":259,"../internals/fails":260,"../internals/object-keys":316,"../internals/to-object":344}],367:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/object-to-array").values;n({target:"Object",stat:!0},{values:function(s){return a(s)}})},{"../internals/export":259,"../internals/object-to-array":319}],368:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/function-call"),s=e("../internals/a-callable"),o=e("../internals/new-promise-capability"),i=e("../internals/perform"),c=e("../internals/iterate");n({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{all:function(u){var l=this,A=o.f(l),h=A.resolve,f=A.reject,d=i(function(){var g=s(l.resolve),p=[],m=0,v=1;c(u,function(y){var I=m++,E=!1;v++,a(g,l,y).then(function(k){E||(E=!0,p[I]=k,--v||h(p))},f)}),--v||h(p)});return d.error&&f(d.value),A.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],369:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/is-pure"),s=e("../internals/promise-constructor-detection").CONSTRUCTOR,o=e("../internals/promise-native-constructor"),i=e("../internals/get-built-in"),c=e("../internals/is-callable"),u=e("../internals/define-built-in"),l=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:s,real:!0},{catch:function(h){return this.then(void 0,h)}}),!a&&c(o)){var A=i("Promise").prototype.catch;l.catch!==A&&u(l,"catch",A,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325}],370:[function(e,r,t){var n,a,s,o,i=e("../internals/export"),c=e("../internals/is-pure"),u=e("../internals/engine-is-node"),l=e("../internals/global"),A=e("../internals/function-call"),h=e("../internals/define-built-in"),f=e("../internals/object-set-prototype-of"),d=e("../internals/set-to-string-tag"),g=e("../internals/set-species"),p=e("../internals/a-callable"),m=e("../internals/is-callable"),v=e("../internals/is-object"),y=e("../internals/an-instance"),I=e("../internals/species-constructor"),E=e("../internals/task").set,k=e("../internals/microtask"),R=e("../internals/host-report-errors"),T=e("../internals/perform"),j=e("../internals/queue"),W=e("../internals/internal-state"),H=e("../internals/promise-native-constructor"),X=e("../internals/promise-constructor-detection"),x=e("../internals/new-promise-capability"),N="Promise",C=X.CONSTRUCTOR,w=X.REJECTION_EVENT,Q=X.SUBCLASSING,B=W.getterFor(N),S=W.set,O=H&&H.prototype,F=H,Y=O,M=l.TypeError,z=l.document,ue=l.process,ae=x.f,Ne=ae,Ge=!!(z&&z.createEvent&&l.dispatchEvent),Ye="unhandledrejection",Ae="rejectionhandled",te=0,he=1,de=2,Ke=1,le=2,Ce=function(Be){var Ee;return!(!v(Be)||!m(Ee=Be.then))&&Ee},At=function(Be,Ee){var Me,yt,pe,me=Ee.value,Re=Ee.state===he,Ze=Re?Be.ok:Be.fail,ke=Be.resolve,Pe=Be.reject,_e=Be.domain;try{Ze?(Re||(Ee.rejection===le&&dt(Ee),Ee.rejection=Ke),Ze===!0?Me=me:(_e&&_e.enter(),Me=Ze(me),_e&&(_e.exit(),pe=!0)),Me===Be.promise?Pe(new M("Promise-chain cycle")):(yt=Ce(Me))?A(yt,Me,ke,Pe):ke(Me)):Pe(me)}catch(Je){_e&&!pe&&_e.exit(),Pe(Je)}},Z=function(Be,Ee){Be.notified||(Be.notified=!0,k(function(){for(var Me,yt=Be.reactions;Me=yt.get();)At(Me,Be);Be.notified=!1,Ee&&!Be.rejection&&ye(Be)}))},ce=function(Be,Ee,Me){var yt,pe;Ge?((yt=z.createEvent("Event")).promise=Ee,yt.reason=Me,yt.initEvent(Be,!1,!0),l.dispatchEvent(yt)):yt={promise:Ee,reason:Me},!w&&(pe=l["on"+Be])?pe(yt):Be===Ye&&R("Unhandled promise rejection",Me)},ye=function(Be){A(E,l,function(){var Ee,Me=Be.facade,yt=Be.value;if(Ve(Be)&&(Ee=T(function(){u?ue.emit("unhandledRejection",yt,Me):ce(Ye,Me,yt)}),Be.rejection=u||Ve(Be)?le:Ke,Ee.error))throw Ee.value})},Ve=function(Be){return Be.rejection!==Ke&&!Be.parent},dt=function(Be){A(E,l,function(){var Ee=Be.facade;u?ue.emit("rejectionHandled",Ee):ce(Ae,Ee,Be.value)})},re=function(Be,Ee,Me){return function(yt){Be(Ee,yt,Me)}},ot=function(Be,Ee,Me){Be.done||(Be.done=!0,Me&&(Be=Me),Be.value=Ee,Be.state=de,Z(Be,!0))},pt=function Be(Ee,Me,yt){if(!Ee.done){Ee.done=!0,yt&&(Ee=yt);try{if(Ee.facade===Me)throw new M("Promise can't be resolved itself");var pe=Ce(Me);pe?k(function(){var me={done:!1};try{A(pe,Me,re(Be,me,Ee),re(ot,me,Ee))}catch(Re){ot(me,Re,Ee)}}):(Ee.value=Me,Ee.state=he,Z(Ee,!1))}catch(me){ot({done:!1},me,Ee)}}};if(C&&(Y=(F=function(Be){y(this,Y),p(Be),A(n,this);var Ee=B(this);try{Be(re(pt,Ee),re(ot,Ee))}catch(Me){ot(Ee,Me)}}).prototype,(n=function(Be){S(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new j,rejection:!1,state:te,value:void 0})}).prototype=h(Y,"then",function(Be,Ee){var Me=B(this),yt=ae(I(this,F));return Me.parent=!0,yt.ok=!m(Be)||Be,yt.fail=m(Ee)&&Ee,yt.domain=u?ue.domain:void 0,Me.state===te?Me.reactions.add(yt):k(function(){At(yt,Me)}),yt.promise}),a=function(){var Be=new n,Ee=B(Be);this.promise=Be,this.resolve=re(pt,Ee),this.reject=re(ot,Ee)},x.f=ae=function(Be){return Be===F||Be===s?new a(Be):Ne(Be)},!c&&m(H)&&O!==Object.prototype)){o=O.then,Q||h(O,"then",function(Be,Ee){var Me=this;return new F(function(yt,pe){A(o,Me,yt,pe)}).then(Be,Ee)},{unsafe:!0});try{delete O.constructor}catch{}f&&f(O,Y)}i({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:F}),d(F,N,!1,!0),g(N)},{"../internals/a-callable":222,"../internals/an-instance":226,"../internals/define-built-in":245,"../internals/engine-is-node":254,"../internals/export":259,"../internals/function-call":264,"../internals/global":274,"../internals/host-report-errors":277,"../internals/internal-state":282,"../internals/is-callable":285,"../internals/is-object":289,"../internals/is-pure":290,"../internals/microtask":302,"../internals/new-promise-capability":303,"../internals/object-set-prototype-of":318,"../internals/perform":323,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/queue":328,"../internals/set-species":330,"../internals/set-to-string-tag":331,"../internals/species-constructor":335,"../internals/task":339}],371:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/is-pure"),s=e("../internals/promise-native-constructor"),o=e("../internals/fails"),i=e("../internals/get-built-in"),c=e("../internals/is-callable"),u=e("../internals/species-constructor"),l=e("../internals/promise-resolve"),A=e("../internals/define-built-in"),h=s&&s.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!s&&o(function(){h.finally.call({then:function(){}},function(){})})},{finally:function(d){var g=u(this,i("Promise")),p=c(d);return this.then(p?function(m){return l(g,d()).then(function(){return m})}:d,p?function(m){return l(g,d()).then(function(){throw m})}:d)}}),!a&&c(s)){var f=i("Promise").prototype.finally;h.finally!==f&&A(h,"finally",f,{unsafe:!0})}},{"../internals/define-built-in":245,"../internals/export":259,"../internals/fails":260,"../internals/get-built-in":269,"../internals/is-callable":285,"../internals/is-pure":290,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326,"../internals/species-constructor":335}],372:[function(e,r,t){e("../modules/es.promise.constructor"),e("../modules/es.promise.all"),e("../modules/es.promise.catch"),e("../modules/es.promise.race"),e("../modules/es.promise.reject"),e("../modules/es.promise.resolve")},{"../modules/es.promise.all":368,"../modules/es.promise.catch":369,"../modules/es.promise.constructor":370,"../modules/es.promise.race":373,"../modules/es.promise.reject":374,"../modules/es.promise.resolve":375}],373:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/function-call"),s=e("../internals/a-callable"),o=e("../internals/new-promise-capability"),i=e("../internals/perform"),c=e("../internals/iterate");n({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{race:function(u){var l=this,A=o.f(l),h=A.reject,f=i(function(){var d=s(l.resolve);c(u,function(g){a(d,l,g).then(A.resolve,h)})});return f.error&&h(f.value),A.promise}})},{"../internals/a-callable":222,"../internals/export":259,"../internals/function-call":264,"../internals/iterate":293,"../internals/new-promise-capability":303,"../internals/perform":323,"../internals/promise-statics-incorrect-iteration":327}],374:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/function-call"),s=e("../internals/new-promise-capability");n({target:"Promise",stat:!0,forced:e("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(o){var i=s.f(this);return a(i.reject,void 0,o),i.promise}})},{"../internals/export":259,"../internals/function-call":264,"../internals/new-promise-capability":303,"../internals/promise-constructor-detection":324}],375:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/get-built-in"),s=e("../internals/is-pure"),o=e("../internals/promise-native-constructor"),i=e("../internals/promise-constructor-detection").CONSTRUCTOR,c=e("../internals/promise-resolve"),u=a("Promise"),l=s&&!i;n({target:"Promise",stat:!0,forced:s||i},{resolve:function(A){return c(l&&this===u?o:this,A)}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/is-pure":290,"../internals/promise-constructor-detection":324,"../internals/promise-native-constructor":325,"../internals/promise-resolve":326}],376:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/function-uncurry-this"),s=e("../internals/to-absolute-index"),o=RangeError,i=String.fromCharCode,c=String.fromCodePoint,u=a([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&c.length!==1},{fromCodePoint:function(l){for(var A,h=[],f=arguments.length,d=0;f>d;){if(A=+arguments[d++],s(A,1114111)!==A)throw new o(A+" is not a valid code point");h[d]=A<65536?i(A):i(55296+((A-=65536)>>10),A%1024+56320)}return u(h,"")}})},{"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/to-absolute-index":340}],377:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/function-uncurry-this"),s=e("../internals/not-a-regexp"),o=e("../internals/require-object-coercible"),i=e("../internals/to-string"),c=e("../internals/correct-is-regexp-logic"),u=a("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(l){return!!~u(i(o(this)),i(s(l)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":238,"../internals/export":259,"../internals/function-uncurry-this":268,"../internals/not-a-regexp":304,"../internals/require-object-coercible":329,"../internals/to-string":348}],378:[function(e,r,t){e("../internals/well-known-symbol-define")("asyncIterator")},{"../internals/well-known-symbol-define":355}],379:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/global"),s=e("../internals/function-call"),o=e("../internals/function-uncurry-this"),i=e("../internals/is-pure"),c=e("../internals/descriptors"),u=e("../internals/symbol-constructor-detection"),l=e("../internals/fails"),A=e("../internals/has-own-property"),h=e("../internals/object-is-prototype-of"),f=e("../internals/an-object"),d=e("../internals/to-indexed-object"),g=e("../internals/to-property-key"),p=e("../internals/to-string"),m=e("../internals/create-property-descriptor"),v=e("../internals/object-create"),y=e("../internals/object-keys"),I=e("../internals/object-get-own-property-names"),E=e("../internals/object-get-own-property-names-external"),k=e("../internals/object-get-own-property-symbols"),R=e("../internals/object-get-own-property-descriptor"),T=e("../internals/object-define-property"),j=e("../internals/object-define-properties"),W=e("../internals/object-property-is-enumerable"),H=e("../internals/define-built-in"),X=e("../internals/define-built-in-accessor"),x=e("../internals/shared"),N=e("../internals/shared-key"),C=e("../internals/hidden-keys"),w=e("../internals/uid"),Q=e("../internals/well-known-symbol"),B=e("../internals/well-known-symbol-wrapped"),S=e("../internals/well-known-symbol-define"),O=e("../internals/symbol-define-to-primitive"),F=e("../internals/set-to-string-tag"),Y=e("../internals/internal-state"),M=e("../internals/array-iteration").forEach,z=N("hidden"),ue="Symbol",ae="prototype",Ne=Y.set,Ge=Y.getterFor(ue),Ye=Object[ae],Ae=a.Symbol,te=Ae&&Ae[ae],he=a.RangeError,de=a.TypeError,Ke=a.QObject,le=R.f,Ce=T.f,At=E.f,Z=W.f,ce=o([].push),ye=x("symbols"),Ve=x("op-symbols"),dt=x("wks"),re=!Ke||!Ke[ae]||!Ke[ae].findChild,ot=function(ke,Pe,_e){var Je=le(Ye,Pe);Je&&delete Ye[Pe],Ce(ke,Pe,_e),Je&&ke!==Ye&&Ce(Ye,Pe,Je)},pt=c&&l(function(){return v(Ce({},"a",{get:function(){return Ce(this,"a",{value:7}).a}})).a!==7})?ot:Ce,Be=function(ke,Pe){var _e=ye[ke]=v(te);return Ne(_e,{type:ue,tag:ke,description:Pe}),c||(_e.description=Pe),_e},Ee=function(ke,Pe,_e){ke===Ye&&Ee(Ve,Pe,_e),f(ke);var Je=g(Pe);return f(_e),A(ye,Je)?(_e.enumerable?(A(ke,z)&&ke[z][Je]&&(ke[z][Je]=!1),_e=v(_e,{enumerable:m(0,!1)})):(A(ke,z)||Ce(ke,z,m(1,{})),ke[z][Je]=!0),pt(ke,Je,_e)):Ce(ke,Je,_e)},Me=function(ke,Pe){f(ke);var _e=d(Pe),Je=y(_e).concat(Ze(_e));return M(Je,function(at){c&&!s(pe,_e,at)||Ee(ke,at,_e[at])}),ke},yt=function(ke,Pe){return Pe===void 0?v(ke):Me(v(ke),Pe)},pe=function(ke){var Pe=g(ke),_e=s(Z,this,Pe);return!(this===Ye&&A(ye,Pe)&&!A(Ve,Pe))&&(!(_e||!A(this,Pe)||!A(ye,Pe)||A(this,z)&&this[z][Pe])||_e)},me=function(ke,Pe){var _e=d(ke),Je=g(Pe);if(_e!==Ye||!A(ye,Je)||A(Ve,Je)){var at=le(_e,Je);return!at||!A(ye,Je)||A(_e,z)&&_e[z][Je]||(at.enumerable=!0),at}},Re=function(ke){var Pe=At(d(ke)),_e=[];return M(Pe,function(Je){A(ye,Je)||A(C,Je)||ce(_e,Je)}),_e},Ze=function(ke){var Pe=ke===Ye,_e=At(Pe?Ve:d(ke)),Je=[];return M(_e,function(at){!A(ye,at)||Pe&&!A(Ye,at)||ce(Je,ye[at])}),Je};u||(Ae=function(){if(h(te,this))throw new de("Symbol is not a constructor");var ke=arguments.length&&arguments[0]!==void 0?p(arguments[0]):void 0,Pe=w(ke),_e=function Je(at){this===Ye&&s(Je,Ve,at),A(this,z)&&A(this[z],Pe)&&(this[z][Pe]=!1);var Dt=m(1,at);try{pt(this,Pe,Dt)}catch(St){if(!(St instanceof he))throw St;ot(this,Pe,Dt)}};return c&&re&&pt(Ye,Pe,{configurable:!0,set:_e}),Be(Pe,ke)},H(te=Ae[ae],"toString",function(){return Ge(this).tag}),H(Ae,"withoutSetter",function(ke){return Be(w(ke),ke)}),W.f=pe,T.f=Ee,j.f=Me,R.f=me,I.f=E.f=Re,k.f=Ze,B.f=function(ke){return Be(Q(ke),ke)},c&&(X(te,"description",{configurable:!0,get:function(){return Ge(this).description}}),i||H(Ye,"propertyIsEnumerable",pe,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:Ae}),M(y(dt),function(ke){S(ke)}),n({target:ue,stat:!0,forced:!u},{useSetter:function(){re=!0},useSimple:function(){re=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:yt,defineProperty:Ee,defineProperties:Me,getOwnPropertyDescriptor:me}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:Re}),O(),F(Ae,ue),C[z]=!0},{"../internals/an-object":227,"../internals/array-iteration":229,"../internals/create-property-descriptor":242,"../internals/define-built-in":245,"../internals/define-built-in-accessor":244,"../internals/descriptors":247,"../internals/export":259,"../internals/fails":260,"../internals/function-call":264,"../internals/function-uncurry-this":268,"../internals/global":274,"../internals/has-own-property":275,"../internals/hidden-keys":276,"../internals/internal-state":282,"../internals/is-pure":290,"../internals/object-create":306,"../internals/object-define-properties":307,"../internals/object-define-property":308,"../internals/object-get-own-property-descriptor":309,"../internals/object-get-own-property-names":311,"../internals/object-get-own-property-names-external":310,"../internals/object-get-own-property-symbols":312,"../internals/object-is-prototype-of":314,"../internals/object-keys":316,"../internals/object-property-is-enumerable":317,"../internals/set-to-string-tag":331,"../internals/shared":334,"../internals/shared-key":332,"../internals/symbol-constructor-detection":336,"../internals/symbol-define-to-primitive":337,"../internals/to-indexed-object":341,"../internals/to-property-key":346,"../internals/to-string":348,"../internals/uid":350,"../internals/well-known-symbol":357,"../internals/well-known-symbol-define":355,"../internals/well-known-symbol-wrapped":356}],380:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/get-built-in"),s=e("../internals/has-own-property"),o=e("../internals/to-string"),i=e("../internals/shared"),c=e("../internals/symbol-registry-detection"),u=i("string-to-symbol-registry"),l=i("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(A){var h=o(A);if(s(u,h))return u[h];var f=a("Symbol")(h);return u[h]=f,l[f]=h,f}})},{"../internals/export":259,"../internals/get-built-in":269,"../internals/has-own-property":275,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/to-string":348}],381:[function(e,r,t){e("../modules/es.symbol.constructor"),e("../modules/es.symbol.for"),e("../modules/es.symbol.key-for"),e("../modules/es.json.stringify"),e("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":362,"../modules/es.object.get-own-property-symbols":365,"../modules/es.symbol.constructor":379,"../modules/es.symbol.for":380,"../modules/es.symbol.key-for":382}],382:[function(e,r,t){var n=e("../internals/export"),a=e("../internals/has-own-property"),s=e("../internals/is-symbol"),o=e("../internals/try-to-string"),i=e("../internals/shared"),c=e("../internals/symbol-registry-detection"),u=i("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(l){if(!s(l))throw new TypeError(o(l)+" is not a symbol");if(a(u,l))return u[l]}})},{"../internals/export":259,"../internals/has-own-property":275,"../internals/is-symbol":292,"../internals/shared":334,"../internals/symbol-registry-detection":338,"../internals/try-to-string":349}],383:[function(e,r,t){function n(v){return Array.isArray?Array.isArray(v):m(v)==="[object Array]"}function a(v){return typeof v=="boolean"}function s(v){return v===null}function o(v){return v==null}function i(v){return typeof v=="number"}function c(v){return typeof v=="string"}function u(v){return typeof v=="symbol"}function l(v){return v===void 0}function A(v){return m(v)==="[object RegExp]"}function h(v){return typeof v=="object"&&v!==null}function f(v){return m(v)==="[object Date]"}function d(v){return m(v)==="[object Error]"||v instanceof Error}function g(v){return typeof v=="function"}function p(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||v===void 0}function m(v){return Object.prototype.toString.call(v)}t.isArray=n,t.isBoolean=a,t.isNull=s,t.isNullOrUndefined=o,t.isNumber=i,t.isString=c,t.isSymbol=u,t.isUndefined=l,t.isRegExp=A,t.isObject=h,t.isDate=f,t.isError=d,t.isFunction=g,t.isPrimitive=p,t.isBuffer=e("buffer").Buffer.isBuffer},{buffer:220}],384:[function(e,r,t){(function(n){(function(){var a=e("elliptic"),s=e("bn.js");r.exports=function(u){return new i(u)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function i(u){this.curveType=o[u],this.curveType||(this.curveType={name:u}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function c(u,l,A){Array.isArray(u)||(u=u.toArray());var h=new n(u);if(A&&h.length<A){var f=new n(A-h.length);f.fill(0),h=n.concat([f,h])}return l?h.toString(l):h}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,i.prototype.generateKeys=function(u,l){return this.keys=this.curve.genKeyPair(),this.getPublicKey(u,l)},i.prototype.computeSecret=function(u,l,A){return l=l||"utf8",n.isBuffer(u)||(u=new n(u,l)),c(this.curve.keyFromPublic(u).getPublic().mul(this.keys.getPrivate()).getX(),A,this.curveType.byteLength)},i.prototype.getPublicKey=function(u,l){var A=this.keys.getPublic(l==="compressed",!0);return l==="hybrid"&&(A[A.length-1]%2?A[0]=7:A[0]=6),c(A,u)},i.prototype.getPrivateKey=function(u){return c(this.keys.getPrivate(),u)},i.prototype.setPublicKey=function(u,l){return l=l||"utf8",n.isBuffer(u)||(u=new n(u,l)),this.keys._importPublic(u),this},i.prototype.setPrivateKey=function(u,l){l=l||"utf8",n.isBuffer(u)||(u=new n(u,l));var A=new s(u);return A=A.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(A),this}}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":385,buffer:220,elliptic:405}],385:[function(e,r,t){arguments[4][184][0].apply(t,arguments)},{buffer:188,dup:184}],386:[function(e,r,t){var n=e("inherits"),a=e("md5.js"),s=e("ripemd160"),o=e("sha.js"),i=e("cipher-base");function c(u){i.call(this,"digest"),this._hash=u}n(c,i),c.prototype._update=function(u){this._hash.update(u)},c.prototype._final=function(){return this._hash.digest()},r.exports=function(u){return(u=u.toLowerCase())==="md5"?new a:u==="rmd160"||u==="ripemd160"?new s:new c(o(u))}},{"cipher-base":221,inherits:440,"md5.js":450,ripemd160:493,"sha.js":498}],387:[function(e,r,t){var n=e("md5.js");r.exports=function(a){return new n().update(a).digest()}},{"md5.js":450}],388:[function(e,r,t){var n=e("inherits"),a=e("./legacy"),s=e("cipher-base"),o=e("safe-buffer").Buffer,i=e("create-hash/md5"),c=e("ripemd160"),u=e("sha.js"),l=o.alloc(128);function A(h,f){s.call(this,"digest"),typeof f=="string"&&(f=o.from(f));var d=h==="sha512"||h==="sha384"?128:64;this._alg=h,this._key=f,f.length>d?f=(h==="rmd160"?new c:u(h)).update(f).digest():f.length<d&&(f=o.concat([f,l],d));for(var g=this._ipad=o.allocUnsafe(d),p=this._opad=o.allocUnsafe(d),m=0;m<d;m++)g[m]=54^f[m],p[m]=92^f[m];this._hash=h==="rmd160"?new c:u(h),this._hash.update(g)}n(A,s),A.prototype._update=function(h){this._hash.update(h)},A.prototype._final=function(){var h=this._hash.digest();return(this._alg==="rmd160"?new c:u(this._alg)).update(this._opad).update(h).digest()},r.exports=function(h,f){return(h=h.toLowerCase())==="rmd160"||h==="ripemd160"?new A("rmd160",f):h==="md5"?new a(i,f):new A(h,f)}},{"./legacy":389,"cipher-base":221,"create-hash/md5":387,inherits:440,ripemd160:493,"safe-buffer":494,"sha.js":498}],389:[function(e,r,t){var n=e("inherits"),a=e("safe-buffer").Buffer,s=e("cipher-base"),o=a.alloc(128),i=64;function c(u,l){s.call(this,"digest"),typeof l=="string"&&(l=a.from(l)),this._alg=u,this._key=l,l.length>i?l=u(l):l.length<i&&(l=a.concat([l,o],i));for(var A=this._ipad=a.allocUnsafe(i),h=this._opad=a.allocUnsafe(i),f=0;f<i;f++)A[f]=54^l[f],h[f]=92^l[f];this._hash=[A]}n(c,s),c.prototype._update=function(u){this._hash.push(u)},c.prototype._final=function(){var u=this._alg(a.concat(this._hash));return this._alg(a.concat([this._opad,u]))},r.exports=c},{"cipher-base":221,inherits:440,"safe-buffer":494}],390:[function(e,r,t){t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=e("randombytes"),t.createHash=t.Hash=e("create-hash"),t.createHmac=t.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),a=Object.keys(n),s=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(a);t.getHashes=function(){return s};var o=e("pbkdf2");t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var i=e("browserify-cipher");t.Cipher=i.Cipher,t.createCipher=i.createCipher,t.Cipheriv=i.Cipheriv,t.createCipheriv=i.createCipheriv,t.Decipher=i.Decipher,t.createDecipher=i.createDecipher,t.Decipheriv=i.Decipheriv,t.createDecipheriv=i.createDecipheriv,t.getCiphers=i.getCiphers,t.listCiphers=i.listCiphers;var c=e("diffie-hellman");t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var u=e("browserify-sign");t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=e("create-ecdh");var l=e("public-encrypt");t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var A=e("randomfill");t.randomFill=A.randomFill,t.randomFillSync=A.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
  92. `))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(e,r,t){var n,a;n=void 0,a=function(){var s=1e3,o=6e4,i=36e5,c="millisecond",u="second",l="minute",A="hour",h="day",f="week",d="month",g="quarter",p="year",m="date",v="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Q){var B=["th","st","nd","rd"],S=Q%100;return"["+Q+(B[(S-20)%10]||B[S]||B[0])+"]"}},k=function(Q,B,S){var O=String(Q);return!O||O.length>=B?Q:""+Array(B+1-O.length).join(S)+Q},R={s:k,z:function(Q){var B=-Q.utcOffset(),S=Math.abs(B),O=Math.floor(S/60),F=S%60;return(B<=0?"+":"-")+k(O,2,"0")+":"+k(F,2,"0")},m:function Q(B,S){if(B.date()<S.date())return-Q(S,B);var O=12*(S.year()-B.year())+(S.month()-B.month()),F=B.clone().add(O,d),Y=S-F<0,M=B.clone().add(O+(Y?-1:1),d);return+(-(O+(S-F)/(Y?F-M:M-F))||0)},a:function(Q){return Q<0?Math.ceil(Q)||0:Math.floor(Q)},p:function(Q){return{M:d,y:p,w:f,d:h,D:m,h:A,m:l,s:u,ms:c,Q:g}[Q]||String(Q||"").toLowerCase().replace(/s$/,"")},u:function(Q){return Q===void 0}},T="en",j={};j[T]=E;var W="$isDayjsObject",H=function(Q){return Q instanceof C||!(!Q||!Q[W])},X=function Q(B,S,O){var F;if(!B)return T;if(typeof B=="string"){var Y=B.toLowerCase();j[Y]&&(F=Y),S&&(j[Y]=S,F=Y);var M=B.split("-");if(!F&&M.length>1)return Q(M[0])}else{var z=B.name;j[z]=B,F=z}return!O&&F&&(T=F),F||!O&&T},x=function(Q,B){if(H(Q))return Q.clone();var S=typeof B=="object"?B:{};return S.date=Q,S.args=arguments,new C(S)},N=R;N.l=X,N.i=H,N.w=function(Q,B){return x(Q,{locale:B.$L,utc:B.$u,x:B.$x,$offset:B.$offset})};var C=function(){function Q(S){this.$L=X(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[W]=!0}var B=Q.prototype;return B.parse=function(S){this.$d=function(O){var F=O.date,Y=O.utc;if(F===null)return new Date(NaN);if(N.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var M=F.match(y);if(M){var z=M[2]-1||0,ue=(M[7]||"0").substring(0,3);return Y?new Date(Date.UTC(M[1],z,M[3]||1,M[4]||0,M[5]||0,M[6]||0,ue)):new Date(M[1],z,M[3]||1,M[4]||0,M[5]||0,M[6]||0,ue)}}return new Date(F)}(S),this.init()},B.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},B.$utils=function(){return N},B.isValid=function(){return this.$d.toString()!==v},B.isSame=function(S,O){var F=x(S);return this.startOf(O)<=F&&F<=this.endOf(O)},B.isAfter=function(S,O){return x(S)<this.startOf(O)},B.isBefore=function(S,O){return this.endOf(O)<x(S)},B.$g=function(S,O,F){return N.u(S)?this[O]:this.set(F,S)},B.unix=function(){return Math.floor(this.valueOf()/1e3)},B.valueOf=function(){return this.$d.getTime()},B.startOf=function(S,O){var F=this,Y=!!N.u(O)||O,M=N.p(S),z=function(he,de){var Ke=N.w(F.$u?Date.UTC(F.$y,de,he):new Date(F.$y,de,he),F);return Y?Ke:Ke.endOf(h)},ue=function(he,de){return N.w(F.toDate()[he].apply(F.toDate("s"),(Y?[0,0,0,0]:[23,59,59,999]).slice(de)),F)},ae=this.$W,Ne=this.$M,Ge=this.$D,Ye="set"+(this.$u?"UTC":"");switch(M){case p:return Y?z(1,0):z(31,11);case d:return Y?z(1,Ne):z(0,Ne+1);case f:var Ae=this.$locale().weekStart||0,te=(ae<Ae?ae+7:ae)-Ae;return z(Y?Ge-te:Ge+(6-te),Ne);case h:case m:return ue(Ye+"Hours",0);case A:return ue(Ye+"Minutes",1);case l:return ue(Ye+"Seconds",2);case u:return ue(Ye+"Milliseconds",3);default:return this.clone()}},B.endOf=function(S){return this.startOf(S,!1)},B.$set=function(S,O){var F,Y=N.p(S),M="set"+(this.$u?"UTC":""),z=(F={},F[h]=M+"Date",F[m]=M+"Date",F[d]=M+"Month",F[p]=M+"FullYear",F[A]=M+"Hours",F[l]=M+"Minutes",F[u]=M+"Seconds",F[c]=M+"Milliseconds",F)[Y],ue=Y===h?this.$D+(O-this.$W):O;if(Y===d||Y===p){var ae=this.clone().set(m,1);ae.$d[z](ue),ae.init(),this.$d=ae.set(m,Math.min(this.$D,ae.daysInMonth())).$d}else z&&this.$d[z](ue);return this.init(),this},B.set=function(S,O){return this.clone().$set(S,O)},B.get=function(S){return this[N.p(S)]()},B.add=function(S,O){var F,Y=this;S=Number(S);var M=N.p(O),z=function(Ne){var Ge=x(Y);return N.w(Ge.date(Ge.date()+Math.round(Ne*S)),Y)};if(M===d)return this.set(d,this.$M+S);if(M===p)return this.set(p,this.$y+S);if(M===h)return z(1);if(M===f)return z(7);var ue=(F={},F[l]=o,F[A]=i,F[u]=s,F)[M]||1,ae=this.$d.getTime()+S*ue;return N.w(ae,this)},B.subtract=function(S,O){return this.add(-1*S,O)},B.format=function(S){var O=this,F=this.$locale();if(!this.isValid())return F.invalidDate||v;var Y=S||"YYYY-MM-DDTHH:mm:ssZ",M=N.z(this),z=this.$H,ue=this.$m,ae=this.$M,Ne=F.weekdays,Ge=F.months,Ye=F.meridiem,Ae=function(de,Ke,le,Ce){return de&&(de[Ke]||de(O,Y))||le[Ke].slice(0,Ce)},te=function(de){return N.s(z%12||12,de,"0")},he=Ye||function(de,Ke,le){var Ce=de<12?"AM":"PM";return le?Ce.toLowerCase():Ce};return Y.replace(I,function(de,Ke){return Ke||function(le){switch(le){case"YY":return String(O.$y).slice(-2);case"YYYY":return N.s(O.$y,4,"0");case"M":return ae+1;case"MM":return N.s(ae+1,2,"0");case"MMM":return Ae(F.monthsShort,ae,Ge,3);case"MMMM":return Ae(Ge,ae);case"D":return O.$D;case"DD":return N.s(O.$D,2,"0");case"d":return String(O.$W);case"dd":return Ae(F.weekdaysMin,O.$W,Ne,2);case"ddd":return Ae(F.weekdaysShort,O.$W,Ne,3);case"dddd":return Ne[O.$W];case"H":return String(z);case"HH":return N.s(z,2,"0");case"h":return te(1);case"hh":return te(2);case"a":return he(z,ue,!0);case"A":return he(z,ue,!1);case"m":return String(ue);case"mm":return N.s(ue,2,"0");case"s":return String(O.$s);case"ss":return N.s(O.$s,2,"0");case"SSS":return N.s(O.$ms,3,"0");case"Z":return M}return null}(de)||M.replace(":","")})},B.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},B.diff=function(S,O,F){var Y,M=this,z=N.p(O),ue=x(S),ae=(ue.utcOffset()-this.utcOffset())*o,Ne=this-ue,Ge=function(){return N.m(M,ue)};switch(z){case p:Y=Ge()/12;break;case d:Y=Ge();break;case g:Y=Ge()/3;break;case f:Y=(Ne-ae)/6048e5;break;case h:Y=(Ne-ae)/864e5;break;case A:Y=Ne/i;break;case l:Y=Ne/o;break;case u:Y=Ne/s;break;default:Y=Ne}return F?Y:N.a(Y)},B.daysInMonth=function(){return this.endOf(d).$D},B.$locale=function(){return j[this.$L]},B.locale=function(S,O){if(!S)return this.$L;var F=this.clone(),Y=X(S,O,!0);return Y&&(F.$L=Y),F},B.clone=function(){return N.w(this.$d,this)},B.toDate=function(){return new Date(this.valueOf())},B.toJSON=function(){return this.isValid()?this.toISOString():null},B.toISOString=function(){return this.$d.toISOString()},B.toString=function(){return this.$d.toUTCString()},Q}(),w=C.prototype;return x.prototype=w,[["$ms",c],["$s",u],["$m",l],["$H",A],["$W",h],["$M",d],["$y",p],["$D",m]].forEach(function(Q){w[Q[1]]=function(B){return this.$g(B,Q[0],Q[1])}}),x.extend=function(Q,B){return Q.$i||(Q(B,C,x),Q.$i=!0),x},x.locale=X,x.isDayjs=H,x.unix=function(Q){return x(1e3*Q)},x.en=j[T],x.Ls=j,x.p={},x},typeof t=="object"&&r!==void 0?r.exports=a():(n=typeof globalThis<"u"?globalThis:n||self).dayjs=a()},{}],392:[function(e,r,t){var n,a;n=void 0,a=function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,c=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,l={},A=function(v){return(v=+v)+(v>68?1900:2e3)},h=function(v){return function(y){this[v]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var I=y.match(/([+-]|\d\d)/g),E=60*I[1]+(+I[2]||0);return E===0?0:I[0]==="+"?-E:E}(v)}],d=function(v){var y=l[v];return y&&(y.indexOf?y:y.s.concat(y.f))},g=function(v,y){var I,E=l.meridiem;if(E){for(var k=1;k<=24;k+=1)if(v.indexOf(E(k,0,y))>-1){I=k>12;break}}else I=v===(y?"pm":"PM");return I},p={A:[u,function(v){this.afternoon=g(v,!1)}],a:[u,function(v){this.afternoon=g(v,!0)}],S:[/\d/,function(v){this.milliseconds=100*+v}],SS:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[c,h("seconds")],ss:[c,h("seconds")],m:[c,h("minutes")],mm:[c,h("minutes")],H:[c,h("hours")],h:[c,h("hours")],HH:[c,h("hours")],hh:[c,h("hours")],D:[c,h("day")],DD:[i,h("day")],Do:[u,function(v){var y=l.ordinal,I=v.match(/\d+/);if(this.day=I[0],y)for(var E=1;E<=31;E+=1)y(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],M:[c,h("month")],MM:[i,h("month")],MMM:[u,function(v){var y=d("months"),I=(d("monthsShort")||y.map(function(E){return E.slice(0,3)})).indexOf(v)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[u,function(v){var y=d("months").indexOf(v)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(v){this.year=A(v)}],YYYY:[/\d{4}/,h("year")],Z:f,ZZ:f};function m(v){var y,I;y=v,I=l&&l.formats;for(var E=(v=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(X,x,N){var C=N&&N.toUpperCase();return x||I[N]||s[N]||I[C].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(w,Q,B){return Q||B.slice(1)})})).match(o),k=E.length,R=0;R<k;R+=1){var T=E[R],j=p[T],W=j&&j[0],H=j&&j[1];E[R]=H?{regex:W,parser:H}:T.replace(/^\[|\]$/g,"")}return function(X){for(var x={},N=0,C=0;N<k;N+=1){var w=E[N];if(typeof w=="string")C+=w.length;else{var Q=w.regex,B=w.parser,S=X.slice(C),O=Q.exec(S)[0];B.call(x,O),X=X.replace(O,"")}}return function(F){var Y=F.afternoon;if(Y!==void 0){var M=F.hours;Y?M<12&&(F.hours+=12):M===12&&(F.hours=0),delete F.afternoon}}(x),x}}return function(v,y,I){I.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(A=v.parseTwoDigitYear);var E=y.prototype,k=E.parse;E.parse=function(R){var T=R.date,j=R.utc,W=R.args;this.$u=j;var H=W[1];if(typeof H=="string"){var X=W[2]===!0,x=W[3]===!0,N=X||x,C=W[2];x&&(C=W[2]),l=this.$locale(),!X&&C&&(l=I.Ls[C]),this.$d=function(S,O,F){try{if(["x","X"].indexOf(O)>-1)return new Date((O==="X"?1e3:1)*S);var Y=m(O)(S),M=Y.year,z=Y.month,ue=Y.day,ae=Y.hours,Ne=Y.minutes,Ge=Y.seconds,Ye=Y.milliseconds,Ae=Y.zone,te=new Date,he=ue||(M||z?1:te.getDate()),de=M||te.getFullYear(),Ke=0;M&&!z||(Ke=z>0?z-1:te.getMonth());var le=ae||0,Ce=Ne||0,At=Ge||0,Z=Ye||0;return Ae?new Date(Date.UTC(de,Ke,he,le,Ce,At,Z+60*Ae.offset*1e3)):F?new Date(Date.UTC(de,Ke,he,le,Ce,At,Z)):new Date(de,Ke,he,le,Ce,At,Z)}catch{return new Date("")}}(T,H,j),this.init(),C&&C!==!0&&(this.$L=this.locale(C).$L),N&&T!=this.format(H)&&(this.$d=new Date("")),l={}}else if(H instanceof Array)for(var w=H.length,Q=1;Q<=w;Q+=1){W[1]=H[Q-1];var B=I.apply(this,W);if(B.isValid()){this.$d=B.$d,this.$L=B.$L,this.init();break}Q===w&&(this.$d=new Date(""))}else k.call(this,R)}}},typeof t=="object"&&r!==void 0?r.exports=a():(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_customParseFormat=a()},{}],393:[function(e,r,t){var n,a;n=void 0,a=function(){var s="minute",o=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(c,u,l){var A=u.prototype;l.utc=function(v){return new u({date:v,utc:!0,args:arguments})},A.utc=function(v){var y=l(this.toDate(),{locale:this.$L,utc:!0});return v?y.add(this.utcOffset(),s):y},A.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var h=A.parse;A.parse=function(v){v.utc&&(this.$u=!0),this.$utils().u(v.$offset)||(this.$offset=v.$offset),h.call(this,v)};var f=A.init;A.init=function(){if(this.$u){var v=this.$d;this.$y=v.getUTCFullYear(),this.$M=v.getUTCMonth(),this.$D=v.getUTCDate(),this.$W=v.getUTCDay(),this.$H=v.getUTCHours(),this.$m=v.getUTCMinutes(),this.$s=v.getUTCSeconds(),this.$ms=v.getUTCMilliseconds()}else f.call(this)};var d=A.utcOffset;A.utcOffset=function(v,y){var I=this.$utils().u;if(I(v))return this.$u?0:I(this.$offset)?d.call(this):this.$offset;if(typeof v=="string"&&(v=function(T){T===void 0&&(T="");var j=T.match(o);if(!j)return null;var W=(""+j[0]).match(i)||["-",0,0],H=W[0],X=60*+W[1]+ +W[2];return X===0?0:H==="+"?X:-X}(v))===null)return this;var E=Math.abs(v)<=16?60*v:v,k=this;if(y)return k.$offset=E,k.$u=v===0,k;if(v!==0){var R=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(E+R,s)).$offset=E,k.$x.$localOffset=R}else k=this.utc();return k};var g=A.format;A.format=function(v){var y=v||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,y)},A.valueOf=function(){var v=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*v},A.isUTC=function(){return!!this.$u},A.toISOString=function(){return this.toDate().toISOString()},A.toString=function(){return this.toDate().toUTCString()};var p=A.toDate;A.toDate=function(v){return v==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=A.diff;A.diff=function(v,y,I){if(v&&this.$u===v.$u)return m.call(this,v,y,I);var E=this.local(),k=l(v).local();return m.call(E,k,y,I)}}},typeof t=="object"&&r!==void 0?r.exports=a():(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_utc=a()},{}],394:[function(e,r,t){t.utils=e("./des/utils"),t.Cipher=e("./des/cipher"),t.DES=e("./des/des"),t.CBC=e("./des/cbc"),t.EDE=e("./des/ede")},{"./des/cbc":395,"./des/cipher":396,"./des/des":397,"./des/ede":398,"./des/utils":399}],395:[function(e,r,t){var n=e("minimalistic-assert"),a=e("inherits"),s={};function o(c){n.equal(c.length,8,"Invalid IV length"),this.iv=new Array(8);for(var u=0;u<this.iv.length;u++)this.iv[u]=c[u]}function i(c){function u(f){c.call(this,f),this._cbcInit()}a(u,c);for(var l=Object.keys(s),A=0;A<l.length;A++){var h=l[A];u.prototype[h]=s[h]}return u.create=function(f){return new u(f)},u}t.instantiate=i,s._cbcInit=function(){var c=new o(this.options.iv);this._cbcState=c},s._update=function(c,u,l,A){var h=this._cbcState,f=this.constructor.super_.prototype,d=h.iv;if(this.type==="encrypt"){for(var g=0;g<this.blockSize;g++)d[g]^=c[u+g];for(f._update.call(this,d,0,l,A),g=0;g<this.blockSize;g++)d[g]=l[A+g]}else{for(f._update.call(this,c,u,l,A),g=0;g<this.blockSize;g++)l[A+g]^=d[g];for(g=0;g<this.blockSize;g++)d[g]=c[u+g]}}},{inherits:440,"minimalistic-assert":453}],396:[function(e,r,t){var n=e("minimalistic-assert");function a(s){this.options=s,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=s.padding!==!1}r.exports=a,a.prototype._init=function(){},a.prototype.update=function(s){return s.length===0?[]:this.type==="decrypt"?this._updateDecrypt(s):this._updateEncrypt(s)},a.prototype._buffer=function(s,o){for(var i=Math.min(this.buffer.length-this.bufferOff,s.length-o),c=0;c<i;c++)this.buffer[this.bufferOff+c]=s[o+c];return this.bufferOff+=i,i},a.prototype._flushBuffer=function(s,o){return this._update(this.buffer,0,s,o),this.bufferOff=0,this.blockSize},a.prototype._updateEncrypt=function(s){var o=0,i=0,c=(this.bufferOff+s.length)/this.blockSize|0,u=new Array(c*this.blockSize);this.bufferOff!==0&&(o+=this._buffer(s,o),this.bufferOff===this.buffer.length&&(i+=this._flushBuffer(u,i)));for(var l=s.length-(s.length-o)%this.blockSize;o<l;o+=this.blockSize)this._update(s,o,u,i),i+=this.blockSize;for(;o<s.length;o++,this.bufferOff++)this.buffer[this.bufferOff]=s[o];return u},a.prototype._updateDecrypt=function(s){for(var o=0,i=0,c=Math.ceil((this.bufferOff+s.length)/this.blockSize)-1,u=new Array(c*this.blockSize);c>0;c--)o+=this._buffer(s,o),i+=this._flushBuffer(u,i);return o+=this._buffer(s,o),u},a.prototype.final=function(s){var o,i;return s&&(o=this.update(s)),i=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),o?o.concat(i):i},a.prototype._pad=function(s,o){if(o===0)return!1;for(;o<s.length;)s[o++]=0;return!0},a.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var s=new Array(this.blockSize);return this._update(this.buffer,0,s,0),s},a.prototype._unpad=function(s){return s},a.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var s=new Array(this.blockSize);return this._flushBuffer(s,0),this._unpad(s)}},{"minimalistic-assert":453}],397:[function(e,r,t){var n=e("minimalistic-assert"),a=e("inherits"),s=e("./utils"),o=e("./cipher");function i(){this.tmp=new Array(2),this.keys=null}function c(l){o.call(this,l);var A=new i;this._desState=A,this.deriveKeys(A,l.key)}a(c,o),r.exports=c,c.create=function(l){return new c(l)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(l,A){l.keys=new Array(32),n.equal(A.length,this.blockSize,"Invalid key length");var h=s.readUInt32BE(A,0),f=s.readUInt32BE(A,4);s.pc1(h,f,l.tmp,0),h=l.tmp[0],f=l.tmp[1];for(var d=0;d<l.keys.length;d+=2){var g=u[d>>>1];h=s.r28shl(h,g),f=s.r28shl(f,g),s.pc2(h,f,l.keys,d)}},c.prototype._update=function(l,A,h,f){var d=this._desState,g=s.readUInt32BE(l,A),p=s.readUInt32BE(l,A+4);s.ip(g,p,d.tmp,0),g=d.tmp[0],p=d.tmp[1],this.type==="encrypt"?this._encrypt(d,g,p,d.tmp,0):this._decrypt(d,g,p,d.tmp,0),g=d.tmp[0],p=d.tmp[1],s.writeUInt32BE(h,g,f),s.writeUInt32BE(h,p,f+4)},c.prototype._pad=function(l,A){if(this.padding===!1)return!1;for(var h=l.length-A,f=A;f<l.length;f++)l[f]=h;return!0},c.prototype._unpad=function(l){if(this.padding===!1)return l;for(var A=l[l.length-1],h=l.length-A;h<l.length;h++)n.equal(l[h],A);return l.slice(0,l.length-A)},c.prototype._encrypt=function(l,A,h,f,d){for(var g=A,p=h,m=0;m<l.keys.length;m+=2){var v=l.keys[m],y=l.keys[m+1];s.expand(p,l.tmp,0),v^=l.tmp[0],y^=l.tmp[1];var I=s.substitute(v,y),E=p;p=(g^s.permute(I))>>>0,g=E}s.rip(p,g,f,d)},c.prototype._decrypt=function(l,A,h,f,d){for(var g=h,p=A,m=l.keys.length-2;m>=0;m-=2){var v=l.keys[m],y=l.keys[m+1];s.expand(g,l.tmp,0),v^=l.tmp[0],y^=l.tmp[1];var I=s.substitute(v,y),E=g;g=(p^s.permute(I))>>>0,p=E}s.rip(g,p,f,d)}},{"./cipher":396,"./utils":399,inherits:440,"minimalistic-assert":453}],398:[function(e,r,t){var n=e("minimalistic-assert"),a=e("inherits"),s=e("./cipher"),o=e("./des");function i(u,l){n.equal(l.length,24,"Invalid key length");var A=l.slice(0,8),h=l.slice(8,16),f=l.slice(16,24);this.ciphers=u==="encrypt"?[o.create({type:"encrypt",key:A}),o.create({type:"decrypt",key:h}),o.create({type:"encrypt",key:f})]:[o.create({type:"decrypt",key:f}),o.create({type:"encrypt",key:h}),o.create({type:"decrypt",key:A})]}function c(u){s.call(this,u);var l=new i(this.type,this.options.key);this._edeState=l}a(c,s),r.exports=c,c.create=function(u){return new c(u)},c.prototype._update=function(u,l,A,h){var f=this._edeState;f.ciphers[0]._update(u,l,A,h),f.ciphers[1]._update(A,h,A,h),f.ciphers[2]._update(A,h,A,h)},c.prototype._pad=o.prototype._pad,c.prototype._unpad=o.prototype._unpad},{"./cipher":396,"./des":397,inherits:440,"minimalistic-assert":453}],399:[function(e,r,t){t.readUInt32BE=function(o,i){return(o[0+i]<<24|o[1+i]<<16|o[2+i]<<8|o[3+i])>>>0},t.writeUInt32BE=function(o,i,c){o[0+c]=i>>>24,o[1+c]=i>>>16&255,o[2+c]=i>>>8&255,o[3+c]=255&i},t.ip=function(o,i,c,u){for(var l=0,A=0,h=6;h>=0;h-=2){for(var f=0;f<=24;f+=8)l<<=1,l|=i>>>f+h&1;for(f=0;f<=24;f+=8)l<<=1,l|=o>>>f+h&1}for(h=6;h>=0;h-=2){for(f=1;f<=25;f+=8)A<<=1,A|=i>>>f+h&1;for(f=1;f<=25;f+=8)A<<=1,A|=o>>>f+h&1}c[u+0]=l>>>0,c[u+1]=A>>>0},t.rip=function(o,i,c,u){for(var l=0,A=0,h=0;h<4;h++)for(var f=24;f>=0;f-=8)l<<=1,l|=i>>>f+h&1,l<<=1,l|=o>>>f+h&1;for(h=4;h<8;h++)for(f=24;f>=0;f-=8)A<<=1,A|=i>>>f+h&1,A<<=1,A|=o>>>f+h&1;c[u+0]=l>>>0,c[u+1]=A>>>0},t.pc1=function(o,i,c,u){for(var l=0,A=0,h=7;h>=5;h--){for(var f=0;f<=24;f+=8)l<<=1,l|=i>>f+h&1;for(f=0;f<=24;f+=8)l<<=1,l|=o>>f+h&1}for(f=0;f<=24;f+=8)l<<=1,l|=i>>f+h&1;for(h=1;h<=3;h++){for(f=0;f<=24;f+=8)A<<=1,A|=i>>f+h&1;for(f=0;f<=24;f+=8)A<<=1,A|=o>>f+h&1}for(f=0;f<=24;f+=8)A<<=1,A|=o>>f+h&1;c[u+0]=l>>>0,c[u+1]=A>>>0},t.r28shl=function(o,i){return o<<i&268435455|o>>>28-i};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(o,i,c,u){for(var l=0,A=0,h=n.length>>>1,f=0;f<h;f++)l<<=1,l|=o>>>n[f]&1;for(f=h;f<n.length;f++)A<<=1,A|=i>>>n[f]&1;c[u+0]=l>>>0,c[u+1]=A>>>0},t.expand=function(o,i,c){var u=0,l=0;u=(1&o)<<5|o>>>27;for(var A=23;A>=15;A-=4)u<<=6,u|=o>>>A&63;for(A=11;A>=3;A-=4)l|=o>>>A&63,l<<=6;l|=(31&o)<<1|o>>>31,i[c+0]=u>>>0,i[c+1]=l>>>0};var a=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(o,i){for(var c=0,u=0;u<4;u++)c<<=4,c|=a[64*u+(o>>>18-6*u&63)];for(u=0;u<4;u++)c<<=4,c|=a[256+64*u+(i>>>18-6*u&63)];return c>>>0};var s=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(o){for(var i=0,c=0;c<s.length;c++)i<<=1,i|=o>>>s[c]&1;return i>>>0},t.padSplit=function(o,i,c){for(var u=o.toString(2);u.length<i;)u="0"+u;for(var l=[],A=0;A<i;A+=c)l.push(u.slice(A,A+c));return l.join(" ")}},{}],400:[function(e,r,t){(function(n){(function(){var a=e("./lib/generatePrime"),s=e("./lib/primes.json"),o=e("./lib/dh");function i(l){var A=new n(s[l].prime,"hex"),h=new n(s[l].gen,"hex");return new o(A,h)}var c={binary:!0,hex:!0,base64:!0};function u(l,A,h,f){return n.isBuffer(A)||c[A]===void 0?u(l,"binary",A,h):(A=A||"binary",f=f||"binary",h=h||new n([2]),n.isBuffer(h)||(h=new n(h,f)),typeof l=="number"?new o(a(l,h),h,!0):(n.isBuffer(l)||(l=new n(l,A)),new o(l,h,!0)))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=i,t.createDiffieHellman=t.DiffieHellman=u}).call(this)}).call(this,e("buffer").Buffer)},{"./lib/dh":401,"./lib/generatePrime":402,"./lib/primes.json":403,buffer:220}],401:[function(e,r,t){(function(n){(function(){var a=e("bn.js"),s=new(e("miller-rabin")),o=new a(24),i=new a(11),c=new a(10),u=new a(3),l=new a(7),A=e("./generatePrime"),h=e("randombytes");function f(y,I){return I=I||"utf8",n.isBuffer(y)||(y=new n(y,I)),this._pub=new a(y),this}function d(y,I){return I=I||"utf8",n.isBuffer(y)||(y=new n(y,I)),this._priv=new a(y),this}r.exports=m;var g={};function p(y,I){var E=I.toString("hex"),k=[E,y.toString(16)].join("_");if(k in g)return g[k];var R,T=0;if(y.isEven()||!A.simpleSieve||!A.fermatTest(y)||!s.test(y))return T+=1,T+=E==="02"||E==="05"?8:4,g[k]=T,T;switch(s.test(y.shrn(1))||(T+=2),E){case"02":y.mod(o).cmp(i)&&(T+=8);break;case"05":(R=y.mod(c)).cmp(u)&&R.cmp(l)&&(T+=8);break;default:T+=4}return g[k]=T,T}function m(y,I,E){this.setGenerator(I),this.__prime=new a(y),this._prime=a.mont(this.__prime),this._primeLen=y.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,E?(this.setPublicKey=f,this.setPrivateKey=d):this._primeCode=8}function v(y,I){var E=new n(y.toArray());return I?E.toString(I):E}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=p(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new a(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(y){var I=(y=(y=new a(y)).toRed(this._prime)).redPow(this._priv).fromRed(),E=new n(I.toArray()),k=this.getPrime();if(E.length<k.length){var R=new n(k.length-E.length);R.fill(0),E=n.concat([R,E])}return E},m.prototype.getPublicKey=function(y){return v(this._pub,y)},m.prototype.getPrivateKey=function(y){return v(this._priv,y)},m.prototype.getPrime=function(y){return v(this.__prime,y)},m.prototype.getGenerator=function(y){return v(this._gen,y)},m.prototype.setGenerator=function(y,I){return I=I||"utf8",n.isBuffer(y)||(y=new n(y,I)),this.__gen=y,this._gen=new a(y),this}}).call(this)}).call(this,e("buffer").Buffer)},{"./generatePrime":402,"bn.js":404,buffer:220,"miller-rabin":451,randombytes:475}],402:[function(e,r,t){var n=e("randombytes");r.exports=v,v.simpleSieve=p,v.fermatTest=m;var a=e("bn.js"),s=new a(24),o=new(e("miller-rabin")),i=new a(1),c=new a(2),u=new a(5);new a(16),new a(8);var l=new a(10),A=new a(3);new a(7);var h=new a(11),f=new a(4);new a(12);var d=null;function g(){if(d!==null)return d;var y=1048576,I=[];I[0]=2;for(var E=1,k=3;k<y;k+=2){for(var R=Math.ceil(Math.sqrt(k)),T=0;T<E&&I[T]<=R&&k%I[T]!=0;T++);E!==T&&I[T]<=R||(I[E++]=k)}return d=I,I}function p(y){for(var I=g(),E=0;E<I.length;E++)if(y.modn(I[E])===0)return y.cmpn(I[E])===0;return!0}function m(y){var I=a.mont(y);return c.toRed(I).redPow(y.subn(1)).fromRed().cmpn(1)===0}function v(y,I){if(y<16)return new a(I===2||I===5?[140,123]:[140,39]);var E,k;for(I=new a(I);;){for(E=new a(n(Math.ceil(y/8)));E.bitLength()>y;)E.ishrn(1);if(E.isEven()&&E.iadd(i),E.testn(1)||E.iadd(c),I.cmp(c)){if(!I.cmp(u))for(;E.mod(l).cmp(A);)E.iadd(f)}else for(;E.mod(s).cmp(h);)E.iadd(f);if(p(k=E.shrn(1))&&p(E)&&m(k)&&m(E)&&o.test(k)&&o.test(E))return E}}},{"bn.js":404,"miller-rabin":451,randombytes:475}],403:[function(e,r,t){r.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],404:[function(e,r,t){arguments[4][184][0].apply(t,arguments)},{buffer:188,dup:184}],405:[function(e,r,t){var n=t;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":421,"./elliptic/curve":408,"./elliptic/curves":411,"./elliptic/ec":412,"./elliptic/eddsa":415,"./elliptic/utils":419,brorand:187}],406:[function(e,r,t){var n=e("bn.js"),a=e("../utils"),s=a.getNAF,o=a.getJSF,i=a.assert;function c(l,A){this.type=l,this.p=new n(A.p,16),this.red=A.prime?n.red(A.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=A.n&&new n(A.n,16),this.g=A.g&&this.pointFromJSON(A.g,A.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var h=this.n&&this.p.div(this.n);!h||h.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(l,A){this.curve=l,this.type=A,this.precomputed=null}r.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(l,A){i(l.precomputed);var h=l._getDoubles(),f=s(A,1,this._bitLength),d=(1<<h.step+1)-(h.step%2==0?2:1);d/=3;var g,p,m=[];for(g=0;g<f.length;g+=h.step){p=0;for(var v=g+h.step-1;v>=g;v--)p=(p<<1)+f[v];m.push(p)}for(var y=this.jpoint(null,null,null),I=this.jpoint(null,null,null),E=d;E>0;E--){for(g=0;g<m.length;g++)(p=m[g])===E?I=I.mixedAdd(h.points[g]):p===-E&&(I=I.mixedAdd(h.points[g].neg()));y=y.add(I)}return y.toP()},c.prototype._wnafMul=function(l,A){var h=4,f=l._getNAFPoints(h);h=f.wnd;for(var d=f.points,g=s(A,h,this._bitLength),p=this.jpoint(null,null,null),m=g.length-1;m>=0;m--){for(var v=0;m>=0&&g[m]===0;m--)v++;if(m>=0&&v++,p=p.dblp(v),m<0)break;var y=g[m];i(y!==0),p=l.type==="affine"?y>0?p.mixedAdd(d[y-1>>1]):p.mixedAdd(d[-y-1>>1].neg()):y>0?p.add(d[y-1>>1]):p.add(d[-y-1>>1].neg())}return l.type==="affine"?p.toP():p},c.prototype._wnafMulAdd=function(l,A,h,f,d){var g,p,m,v=this._wnafT1,y=this._wnafT2,I=this._wnafT3,E=0;for(g=0;g<f;g++){var k=(m=A[g])._getNAFPoints(l);v[g]=k.wnd,y[g]=k.points}for(g=f-1;g>=1;g-=2){var R=g-1,T=g;if(v[R]===1&&v[T]===1){var j=[A[R],null,null,A[T]];A[R].y.cmp(A[T].y)===0?(j[1]=A[R].add(A[T]),j[2]=A[R].toJ().mixedAdd(A[T].neg())):A[R].y.cmp(A[T].y.redNeg())===0?(j[1]=A[R].toJ().mixedAdd(A[T]),j[2]=A[R].add(A[T].neg())):(j[1]=A[R].toJ().mixedAdd(A[T]),j[2]=A[R].toJ().mixedAdd(A[T].neg()));var W=[-3,-1,-5,-7,0,7,5,1,3],H=o(h[R],h[T]);for(E=Math.max(H[0].length,E),I[R]=new Array(E),I[T]=new Array(E),p=0;p<E;p++){var X=0|H[0][p],x=0|H[1][p];I[R][p]=W[3*(X+1)+(x+1)],I[T][p]=0,y[R]=j}}else I[R]=s(h[R],v[R],this._bitLength),I[T]=s(h[T],v[T],this._bitLength),E=Math.max(I[R].length,E),E=Math.max(I[T].length,E)}var N=this.jpoint(null,null,null),C=this._wnafT4;for(g=E;g>=0;g--){for(var w=0;g>=0;){var Q=!0;for(p=0;p<f;p++)C[p]=0|I[p][g],C[p]!==0&&(Q=!1);if(!Q)break;w++,g--}if(g>=0&&w++,N=N.dblp(w),g<0)break;for(p=0;p<f;p++){var B=C[p];B!==0&&(B>0?m=y[p][B-1>>1]:B<0&&(m=y[p][-B-1>>1].neg()),N=m.type==="affine"?N.mixedAdd(m):N.add(m))}}for(g=0;g<f;g++)y[g]=null;return d?N:N.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(l,A){l=a.toArray(l,A);var h=this.p.byteLength();if((l[0]===4||l[0]===6||l[0]===7)&&l.length-1==2*h)return l[0]===6?i(l[l.length-1]%2==0):l[0]===7&&i(l[l.length-1]%2==1),this.point(l.slice(1,1+h),l.slice(1+h,1+2*h));if((l[0]===2||l[0]===3)&&l.length-1===h)return this.pointFromX(l.slice(1,1+h),l[0]===3);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(l){return this.encode(l,!0)},u.prototype._encode=function(l){var A=this.curve.p.byteLength(),h=this.getX().toArray("be",A);return l?[this.getY().isEven()?2:3].concat(h):[4].concat(h,this.getY().toArray("be",A))},u.prototype.encode=function(l,A){return a.encode(this._encode(A),l)},u.prototype.precompute=function(l){if(this.precomputed)return this;var A={doubles:null,naf:null,beta:null};return A.naf=this._getNAFPoints(8),A.doubles=this._getDoubles(4,l),A.beta=this._getBeta(),this.precomputed=A,this},u.prototype._hasDoubles=function(l){if(!this.precomputed)return!1;var A=this.precomputed.doubles;return!!A&&A.points.length>=Math.ceil((l.bitLength()+1)/A.step)},u.prototype._getDoubles=function(l,A){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var h=[this],f=this,d=0;d<A;d+=l){for(var g=0;g<l;g++)f=f.dbl();h.push(f)}return{step:l,points:h}},u.prototype._getNAFPoints=function(l){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var A=[this],h=(1<<l)-1,f=h===1?null:this.dbl(),d=1;d<h;d++)A[d]=A[d-1].add(f);return{wnd:l,points:A}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(l){for(var A=this,h=0;h<l;h++)A=A.dbl();return A}},{"../utils":419,"bn.js":420}],407:[function(e,r,t){var n=e("../utils"),a=e("bn.js"),s=e("inherits"),o=e("./base"),i=n.assert;function c(l){this.twisted=(0|l.a)!=1,this.mOneA=this.twisted&&(0|l.a)==-1,this.extended=this.mOneA,o.call(this,"edwards",l),this.a=new a(l.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(l.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(l.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),i(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|l.c)==1}function u(l,A,h,f,d){o.BasePoint.call(this,l,"projective"),A===null&&h===null&&f===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(A,16),this.y=new a(h,16),this.z=f?new a(f,16):this.curve.one,this.t=d&&new a(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}s(c,o),r.exports=c,c.prototype._mulA=function(l){return this.mOneA?l.redNeg():this.a.redMul(l)},c.prototype._mulC=function(l){return this.oneC?l:this.c.redMul(l)},c.prototype.jpoint=function(l,A,h,f){return this.point(l,A,h,f)},c.prototype.pointFromX=function(l,A){(l=new a(l,16)).red||(l=l.toRed(this.red));var h=l.redSqr(),f=this.c2.redSub(this.a.redMul(h)),d=this.one.redSub(this.c2.redMul(this.d).redMul(h)),g=f.redMul(d.redInvm()),p=g.redSqrt();if(p.redSqr().redSub(g).cmp(this.zero)!==0)throw new Error("invalid point");var m=p.fromRed().isOdd();return(A&&!m||!A&&m)&&(p=p.redNeg()),this.point(l,p)},c.prototype.pointFromY=function(l,A){(l=new a(l,16)).red||(l=l.toRed(this.red));var h=l.redSqr(),f=h.redSub(this.c2),d=h.redMul(this.d).redMul(this.c2).redSub(this.a),g=f.redMul(d.redInvm());if(g.cmp(this.zero)===0){if(A)throw new Error("invalid point");return this.point(this.zero,l)}var p=g.redSqrt();if(p.redSqr().redSub(g).cmp(this.zero)!==0)throw new Error("invalid point");return p.fromRed().isOdd()!==A&&(p=p.redNeg()),this.point(p,l)},c.prototype.validate=function(l){if(l.isInfinity())return!0;l.normalize();var A=l.x.redSqr(),h=l.y.redSqr(),f=A.redMul(this.a).redAdd(h),d=this.c2.redMul(this.one.redAdd(this.d.redMul(A).redMul(h)));return f.cmp(d)===0},s(u,o.BasePoint),c.prototype.pointFromJSON=function(l){return u.fromJSON(this,l)},c.prototype.point=function(l,A,h,f){return new u(this,l,A,h,f)},u.fromJSON=function(l,A){return new u(l,A[0],A[1],A[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},u.prototype._extDbl=function(){var l=this.x.redSqr(),A=this.y.redSqr(),h=this.z.redSqr();h=h.redIAdd(h);var f=this.curve._mulA(l),d=this.x.redAdd(this.y).redSqr().redISub(l).redISub(A),g=f.redAdd(A),p=g.redSub(h),m=f.redSub(A),v=d.redMul(p),y=g.redMul(m),I=d.redMul(m),E=p.redMul(g);return this.curve.point(v,y,E,I)},u.prototype._projDbl=function(){var l,A,h,f,d,g,p=this.x.redAdd(this.y).redSqr(),m=this.x.redSqr(),v=this.y.redSqr();if(this.curve.twisted){var y=(f=this.curve._mulA(m)).redAdd(v);this.zOne?(l=p.redSub(m).redSub(v).redMul(y.redSub(this.curve.two)),A=y.redMul(f.redSub(v)),h=y.redSqr().redSub(y).redSub(y)):(d=this.z.redSqr(),g=y.redSub(d).redISub(d),l=p.redSub(m).redISub(v).redMul(g),A=y.redMul(f.redSub(v)),h=y.redMul(g))}else f=m.redAdd(v),d=this.curve._mulC(this.z).redSqr(),g=f.redSub(d).redSub(d),l=this.curve._mulC(p.redISub(f)).redMul(g),A=this.curve._mulC(f).redMul(m.redISub(v)),h=f.redMul(g);return this.curve.point(l,A,h)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(l){var A=this.y.redSub(this.x).redMul(l.y.redSub(l.x)),h=this.y.redAdd(this.x).redMul(l.y.redAdd(l.x)),f=this.t.redMul(this.curve.dd).redMul(l.t),d=this.z.redMul(l.z.redAdd(l.z)),g=h.redSub(A),p=d.redSub(f),m=d.redAdd(f),v=h.redAdd(A),y=g.redMul(p),I=m.redMul(v),E=g.redMul(v),k=p.redMul(m);return this.curve.point(y,I,k,E)},u.prototype._projAdd=function(l){var A,h,f=this.z.redMul(l.z),d=f.redSqr(),g=this.x.redMul(l.x),p=this.y.redMul(l.y),m=this.curve.d.redMul(g).redMul(p),v=d.redSub(m),y=d.redAdd(m),I=this.x.redAdd(this.y).redMul(l.x.redAdd(l.y)).redISub(g).redISub(p),E=f.redMul(v).redMul(I);return this.curve.twisted?(A=f.redMul(y).redMul(p.redSub(this.curve._mulA(g))),h=v.redMul(y)):(A=f.redMul(y).redMul(p.redSub(g)),h=this.curve._mulC(v).redMul(y)),this.curve.point(E,A,h)},u.prototype.add=function(l){return this.isInfinity()?l:l.isInfinity()?this:this.curve.extended?this._extAdd(l):this._projAdd(l)},u.prototype.mul=function(l){return this._hasDoubles(l)?this.curve._fixedNafMul(this,l):this.curve._wnafMul(this,l)},u.prototype.mulAdd=function(l,A,h){return this.curve._wnafMulAdd(1,[this,A],[l,h],2,!1)},u.prototype.jmulAdd=function(l,A,h){return this.curve._wnafMulAdd(1,[this,A],[l,h],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var l=this.z.redInvm();return this.x=this.x.redMul(l),this.y=this.y.redMul(l),this.t&&(this.t=this.t.redMul(l)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(l){return this===l||this.getX().cmp(l.getX())===0&&this.getY().cmp(l.getY())===0},u.prototype.eqXToP=function(l){var A=l.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(A)===0)return!0;for(var h=l.clone(),f=this.curve.redN.redMul(this.z);;){if(h.iadd(this.curve.n),h.cmp(this.curve.p)>=0)return!1;if(A.redIAdd(f),this.x.cmp(A)===0)return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],408:[function(e,r,t){var n=t;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":406,"./edwards":407,"./mont":409,"./short":410}],409:[function(e,r,t){var n=e("bn.js"),a=e("inherits"),s=e("./base"),o=e("../utils");function i(u){s.call(this,"mont",u),this.a=new n(u.a,16).toRed(this.red),this.b=new n(u.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(u,l,A){s.BasePoint.call(this,u,"projective"),l===null&&A===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(l,16),this.z=new n(A,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(i,s),r.exports=i,i.prototype.validate=function(u){var l=u.normalize().x,A=l.redSqr(),h=A.redMul(l).redAdd(A.redMul(this.a)).redAdd(l);return h.redSqrt().redSqr().cmp(h)===0},a(c,s.BasePoint),i.prototype.decodePoint=function(u,l){return this.point(o.toArray(u,l),1)},i.prototype.point=function(u,l){return new c(this,u,l)},i.prototype.pointFromJSON=function(u){return c.fromJSON(this,u)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(u,l){return new c(u,l[0],l[1]||u.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.z.cmpn(0)===0},c.prototype.dbl=function(){var u=this.x.redAdd(this.z).redSqr(),l=this.x.redSub(this.z).redSqr(),A=u.redSub(l),h=u.redMul(l),f=A.redMul(l.redAdd(this.curve.a24.redMul(A)));return this.curve.point(h,f)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(u,l){var A=this.x.redAdd(this.z),h=this.x.redSub(this.z),f=u.x.redAdd(u.z),d=u.x.redSub(u.z).redMul(A),g=f.redMul(h),p=l.z.redMul(d.redAdd(g).redSqr()),m=l.x.redMul(d.redISub(g).redSqr());return this.curve.point(p,m)},c.prototype.mul=function(u){for(var l=u.clone(),A=this,h=this.curve.point(null,null),f=this,d=[];l.cmpn(0)!==0;l.iushrn(1))d.push(l.andln(1));for(var g=d.length-1;g>=0;g--)d[g]===0?(A=A.diffAdd(h,f),h=h.dbl()):(h=A.diffAdd(h,f),A=A.dbl());return h},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(u){return this.getX().cmp(u.getX())===0},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],410:[function(e,r,t){var n=e("../utils"),a=e("bn.js"),s=e("inherits"),o=e("./base"),i=n.assert;function c(A){o.call(this,"short",A),this.a=new a(A.a,16).toRed(this.red),this.b=new a(A.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(A),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(A,h,f,d){o.BasePoint.call(this,A,"affine"),h===null&&f===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(h,16),this.y=new a(f,16),d&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(A,h,f,d){o.BasePoint.call(this,A,"jacobian"),h===null&&f===null&&d===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(h,16),this.y=new a(f,16),this.z=new a(d,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(c,o),r.exports=c,c.prototype._getEndomorphism=function(A){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var h,f;if(A.beta)h=new a(A.beta,16).toRed(this.red);else{var d=this._getEndoRoots(this.p);h=(h=d[0].cmp(d[1])<0?d[0]:d[1]).toRed(this.red)}if(A.lambda)f=new a(A.lambda,16);else{var g=this._getEndoRoots(this.n);this.g.mul(g[0]).x.cmp(this.g.x.redMul(h))===0?f=g[0]:(f=g[1],i(this.g.mul(f).x.cmp(this.g.x.redMul(h))===0))}return{beta:h,lambda:f,basis:A.basis?A.basis.map(function(p){return{a:new a(p.a,16),b:new a(p.b,16)}}):this._getEndoBasis(f)}}},c.prototype._getEndoRoots=function(A){var h=A===this.p?this.red:a.mont(A),f=new a(2).toRed(h).redInvm(),d=f.redNeg(),g=new a(3).toRed(h).redNeg().redSqrt().redMul(f);return[d.redAdd(g).fromRed(),d.redSub(g).fromRed()]},c.prototype._getEndoBasis=function(A){for(var h,f,d,g,p,m,v,y,I,E=this.n.ushrn(Math.floor(this.n.bitLength()/2)),k=A,R=this.n.clone(),T=new a(1),j=new a(0),W=new a(0),H=new a(1),X=0;k.cmpn(0)!==0;){var x=R.div(k);y=R.sub(x.mul(k)),I=W.sub(x.mul(T));var N=H.sub(x.mul(j));if(!d&&y.cmp(E)<0)h=v.neg(),f=T,d=y.neg(),g=I;else if(d&&++X==2)break;v=y,R=k,k=y,W=T,T=I,H=j,j=N}p=y.neg(),m=I;var C=d.sqr().add(g.sqr());return p.sqr().add(m.sqr()).cmp(C)>=0&&(p=h,m=f),d.negative&&(d=d.neg(),g=g.neg()),p.negative&&(p=p.neg(),m=m.neg()),[{a:d,b:g},{a:p,b:m}]},c.prototype._endoSplit=function(A){var h=this.endo.basis,f=h[0],d=h[1],g=d.b.mul(A).divRound(this.n),p=f.b.neg().mul(A).divRound(this.n),m=g.mul(f.a),v=p.mul(d.a),y=g.mul(f.b),I=p.mul(d.b);return{k1:A.sub(m).sub(v),k2:y.add(I).neg()}},c.prototype.pointFromX=function(A,h){(A=new a(A,16)).red||(A=A.toRed(this.red));var f=A.redSqr().redMul(A).redIAdd(A.redMul(this.a)).redIAdd(this.b),d=f.redSqrt();if(d.redSqr().redSub(f).cmp(this.zero)!==0)throw new Error("invalid point");var g=d.fromRed().isOdd();return(h&&!g||!h&&g)&&(d=d.redNeg()),this.point(A,d)},c.prototype.validate=function(A){if(A.inf)return!0;var h=A.x,f=A.y,d=this.a.redMul(h),g=h.redSqr().redMul(h).redIAdd(d).redIAdd(this.b);return f.redSqr().redISub(g).cmpn(0)===0},c.prototype._endoWnafMulAdd=function(A,h,f){for(var d=this._endoWnafT1,g=this._endoWnafT2,p=0;p<A.length;p++){var m=this._endoSplit(h[p]),v=A[p],y=v._getBeta();m.k1.negative&&(m.k1.ineg(),v=v.neg(!0)),m.k2.negative&&(m.k2.ineg(),y=y.neg(!0)),d[2*p]=v,d[2*p+1]=y,g[2*p]=m.k1,g[2*p+1]=m.k2}for(var I=this._wnafMulAdd(1,d,g,2*p,f),E=0;E<2*p;E++)d[E]=null,g[E]=null;return I},s(u,o.BasePoint),c.prototype.point=function(A,h,f){return new u(this,A,h,f)},c.prototype.pointFromJSON=function(A,h){return u.fromJSON(this,A,h)},u.prototype._getBeta=function(){if(this.curve.endo){var A=this.precomputed;if(A&&A.beta)return A.beta;var h=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(A){var f=this.curve,d=function(g){return f.point(g.x.redMul(f.endo.beta),g.y)};A.beta=h,h.precomputed={beta:null,naf:A.naf&&{wnd:A.naf.wnd,points:A.naf.points.map(d)},doubles:A.doubles&&{step:A.doubles.step,points:A.doubles.points.map(d)}}}return h}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(A,h,f){typeof h=="string"&&(h=JSON.parse(h));var d=A.point(h[0],h[1],f);if(!h[2])return d;function g(m){return A.point(m[0],m[1],f)}var p=h[2];return d.precomputed={beta:null,doubles:p.doubles&&{step:p.doubles.step,points:[d].concat(p.doubles.points.map(g))},naf:p.naf&&{wnd:p.naf.wnd,points:[d].concat(p.naf.points.map(g))}},d},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(A){if(this.inf)return A;if(A.inf)return this;if(this.eq(A))return this.dbl();if(this.neg().eq(A))return this.curve.point(null,null);if(this.x.cmp(A.x)===0)return this.curve.point(null,null);var h=this.y.redSub(A.y);h.cmpn(0)!==0&&(h=h.redMul(this.x.redSub(A.x).redInvm()));var f=h.redSqr().redISub(this.x).redISub(A.x),d=h.redMul(this.x.redSub(f)).redISub(this.y);return this.curve.point(f,d)},u.prototype.dbl=function(){if(this.inf)return this;var A=this.y.redAdd(this.y);if(A.cmpn(0)===0)return this.curve.point(null,null);var h=this.curve.a,f=this.x.redSqr(),d=A.redInvm(),g=f.redAdd(f).redIAdd(f).redIAdd(h).redMul(d),p=g.redSqr().redISub(this.x.redAdd(this.x)),m=g.redMul(this.x.redSub(p)).redISub(this.y);return this.curve.point(p,m)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(A){return A=new a(A,16),this.isInfinity()?this:this._hasDoubles(A)?this.curve._fixedNafMul(this,A):this.curve.endo?this.curve._endoWnafMulAdd([this],[A]):this.curve._wnafMul(this,A)},u.prototype.mulAdd=function(A,h,f){var d=[this,h],g=[A,f];return this.curve.endo?this.curve._endoWnafMulAdd(d,g):this.curve._wnafMulAdd(1,d,g,2)},u.prototype.jmulAdd=function(A,h,f){var d=[this,h],g=[A,f];return this.curve.endo?this.curve._endoWnafMulAdd(d,g,!0):this.curve._wnafMulAdd(1,d,g,2,!0)},u.prototype.eq=function(A){return this===A||this.inf===A.inf&&(this.inf||this.x.cmp(A.x)===0&&this.y.cmp(A.y)===0)},u.prototype.neg=function(A){if(this.inf)return this;var h=this.curve.point(this.x,this.y.redNeg());if(A&&this.precomputed){var f=this.precomputed,d=function(g){return g.neg()};h.precomputed={naf:f.naf&&{wnd:f.naf.wnd,points:f.naf.points.map(d)},doubles:f.doubles&&{step:f.doubles.step,points:f.doubles.points.map(d)}}}return h},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(l,o.BasePoint),c.prototype.jpoint=function(A,h,f){return new l(this,A,h,f)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var A=this.z.redInvm(),h=A.redSqr(),f=this.x.redMul(h),d=this.y.redMul(h).redMul(A);return this.curve.point(f,d)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(A){if(this.isInfinity())return A;if(A.isInfinity())return this;var h=A.z.redSqr(),f=this.z.redSqr(),d=this.x.redMul(h),g=A.x.redMul(f),p=this.y.redMul(h.redMul(A.z)),m=A.y.redMul(f.redMul(this.z)),v=d.redSub(g),y=p.redSub(m);if(v.cmpn(0)===0)return y.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=v.redSqr(),E=I.redMul(v),k=d.redMul(I),R=y.redSqr().redIAdd(E).redISub(k).redISub(k),T=y.redMul(k.redISub(R)).redISub(p.redMul(E)),j=this.z.redMul(A.z).redMul(v);return this.curve.jpoint(R,T,j)},l.prototype.mixedAdd=function(A){if(this.isInfinity())return A.toJ();if(A.isInfinity())return this;var h=this.z.redSqr(),f=this.x,d=A.x.redMul(h),g=this.y,p=A.y.redMul(h).redMul(this.z),m=f.redSub(d),v=g.redSub(p);if(m.cmpn(0)===0)return v.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var y=m.redSqr(),I=y.redMul(m),E=f.redMul(y),k=v.redSqr().redIAdd(I).redISub(E).redISub(E),R=v.redMul(E.redISub(k)).redISub(g.redMul(I)),T=this.z.redMul(m);return this.curve.jpoint(k,R,T)},l.prototype.dblp=function(A){if(A===0)return this;if(this.isInfinity())return this;if(!A)return this.dbl();var h;if(this.curve.zeroA||this.curve.threeA){var f=this;for(h=0;h<A;h++)f=f.dbl();return f}var d=this.curve.a,g=this.curve.tinv,p=this.x,m=this.y,v=this.z,y=v.redSqr().redSqr(),I=m.redAdd(m);for(h=0;h<A;h++){var E=p.redSqr(),k=I.redSqr(),R=k.redSqr(),T=E.redAdd(E).redIAdd(E).redIAdd(d.redMul(y)),j=p.redMul(k),W=T.redSqr().redISub(j.redAdd(j)),H=j.redISub(W),X=T.redMul(H);X=X.redIAdd(X).redISub(R);var x=I.redMul(v);h+1<A&&(y=y.redMul(R)),p=W,v=x,I=X}return this.curve.jpoint(p,I.redMul(g),v)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var A,h,f;if(this.zOne){var d=this.x.redSqr(),g=this.y.redSqr(),p=g.redSqr(),m=this.x.redAdd(g).redSqr().redISub(d).redISub(p);m=m.redIAdd(m);var v=d.redAdd(d).redIAdd(d),y=v.redSqr().redISub(m).redISub(m),I=p.redIAdd(p);I=(I=I.redIAdd(I)).redIAdd(I),A=y,h=v.redMul(m.redISub(y)).redISub(I),f=this.y.redAdd(this.y)}else{var E=this.x.redSqr(),k=this.y.redSqr(),R=k.redSqr(),T=this.x.redAdd(k).redSqr().redISub(E).redISub(R);T=T.redIAdd(T);var j=E.redAdd(E).redIAdd(E),W=j.redSqr(),H=R.redIAdd(R);H=(H=H.redIAdd(H)).redIAdd(H),A=W.redISub(T).redISub(T),h=j.redMul(T.redISub(A)).redISub(H),f=(f=this.y.redMul(this.z)).redIAdd(f)}return this.curve.jpoint(A,h,f)},l.prototype._threeDbl=function(){var A,h,f;if(this.zOne){var d=this.x.redSqr(),g=this.y.redSqr(),p=g.redSqr(),m=this.x.redAdd(g).redSqr().redISub(d).redISub(p);m=m.redIAdd(m);var v=d.redAdd(d).redIAdd(d).redIAdd(this.curve.a),y=v.redSqr().redISub(m).redISub(m);A=y;var I=p.redIAdd(p);I=(I=I.redIAdd(I)).redIAdd(I),h=v.redMul(m.redISub(y)).redISub(I),f=this.y.redAdd(this.y)}else{var E=this.z.redSqr(),k=this.y.redSqr(),R=this.x.redMul(k),T=this.x.redSub(E).redMul(this.x.redAdd(E));T=T.redAdd(T).redIAdd(T);var j=R.redIAdd(R),W=(j=j.redIAdd(j)).redAdd(j);A=T.redSqr().redISub(W),f=this.y.redAdd(this.z).redSqr().redISub(k).redISub(E);var H=k.redSqr();H=(H=(H=H.redIAdd(H)).redIAdd(H)).redIAdd(H),h=T.redMul(j.redISub(A)).redISub(H)}return this.curve.jpoint(A,h,f)},l.prototype._dbl=function(){var A=this.curve.a,h=this.x,f=this.y,d=this.z,g=d.redSqr().redSqr(),p=h.redSqr(),m=f.redSqr(),v=p.redAdd(p).redIAdd(p).redIAdd(A.redMul(g)),y=h.redAdd(h),I=(y=y.redIAdd(y)).redMul(m),E=v.redSqr().redISub(I.redAdd(I)),k=I.redISub(E),R=m.redSqr();R=(R=(R=R.redIAdd(R)).redIAdd(R)).redIAdd(R);var T=v.redMul(k).redISub(R),j=f.redAdd(f).redMul(d);return this.curve.jpoint(E,T,j)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var A=this.x.redSqr(),h=this.y.redSqr(),f=this.z.redSqr(),d=h.redSqr(),g=A.redAdd(A).redIAdd(A),p=g.redSqr(),m=this.x.redAdd(h).redSqr().redISub(A).redISub(d),v=(m=(m=(m=m.redIAdd(m)).redAdd(m).redIAdd(m)).redISub(p)).redSqr(),y=d.redIAdd(d);y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y);var I=g.redIAdd(m).redSqr().redISub(p).redISub(v).redISub(y),E=h.redMul(I);E=(E=E.redIAdd(E)).redIAdd(E);var k=this.x.redMul(v).redISub(E);k=(k=k.redIAdd(k)).redIAdd(k);var R=this.y.redMul(I.redMul(y.redISub(I)).redISub(m.redMul(v)));R=(R=(R=R.redIAdd(R)).redIAdd(R)).redIAdd(R);var T=this.z.redAdd(m).redSqr().redISub(f).redISub(v);return this.curve.jpoint(k,R,T)},l.prototype.mul=function(A,h){return A=new a(A,h),this.curve._wnafMul(this,A)},l.prototype.eq=function(A){if(A.type==="affine")return this.eq(A.toJ());if(this===A)return!0;var h=this.z.redSqr(),f=A.z.redSqr();if(this.x.redMul(f).redISub(A.x.redMul(h)).cmpn(0)!==0)return!1;var d=h.redMul(this.z),g=f.redMul(A.z);return this.y.redMul(g).redISub(A.y.redMul(d)).cmpn(0)===0},l.prototype.eqXToP=function(A){var h=this.z.redSqr(),f=A.toRed(this.curve.red).redMul(h);if(this.x.cmp(f)===0)return!0;for(var d=A.clone(),g=this.curve.redN.redMul(h);;){if(d.iadd(this.curve.n),d.cmp(this.curve.p)>=0)return!1;if(f.redIAdd(g),this.x.cmp(f)===0)return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},{"../utils":419,"./base":406,"bn.js":420,inherits:440}],411:[function(e,r,t){var n,a=t,s=e("hash.js"),o=e("./curve"),i=e("./utils").assert;function c(l){l.type==="short"?this.curve=new o.short(l):l.type==="edwards"?this.curve=new o.edwards(l):this.curve=new o.mont(l),this.g=this.curve.g,this.n=this.curve.n,this.hash=l.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(l,A){Object.defineProperty(a,l,{configurable:!0,enumerable:!0,get:function(){var h=new c(A);return Object.defineProperty(a,l,{configurable:!0,enumerable:!0,value:h}),h}})}a.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=e("./precomputed/secp256k1")}catch{n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"./curve":408,"./precomputed/secp256k1":418,"./utils":419,"hash.js":426}],412:[function(e,r,t){var n=e("bn.js"),a=e("hmac-drbg"),s=e("../utils"),o=e("../curves"),i=e("brorand"),c=s.assert,u=e("./key"),l=e("./signature");function A(h){if(!(this instanceof A))return new A(h);typeof h=="string"&&(c(Object.prototype.hasOwnProperty.call(o,h),"Unknown curve "+h),h=o[h]),h instanceof o.PresetCurve&&(h={curve:h}),this.curve=h.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=h.curve.g,this.g.precompute(h.curve.n.bitLength()+1),this.hash=h.hash||h.curve.hash}r.exports=A,A.prototype.keyPair=function(h){return new u(this,h)},A.prototype.keyFromPrivate=function(h,f){return u.fromPrivate(this,h,f)},A.prototype.keyFromPublic=function(h,f){return u.fromPublic(this,h,f)},A.prototype.genKeyPair=function(h){h||(h={});for(var f=new a({hash:this.hash,pers:h.pers,persEnc:h.persEnc||"utf8",entropy:h.entropy||i(this.hash.hmacStrength),entropyEnc:h.entropy&&h.entropyEnc||"utf8",nonce:this.n.toArray()}),d=this.n.byteLength(),g=this.n.sub(new n(2));;){var p=new n(f.generate(d));if(!(p.cmp(g)>0))return p.iaddn(1),this.keyFromPrivate(p)}},A.prototype._truncateToN=function(h,f){var d=8*h.byteLength()-this.n.bitLength();return d>0&&(h=h.ushrn(d)),!f&&h.cmp(this.n)>=0?h.sub(this.n):h},A.prototype.sign=function(h,f,d,g){typeof d=="object"&&(g=d,d=null),g||(g={}),f=this.keyFromPrivate(f,d),h=this._truncateToN(new n(h,16));for(var p=this.n.byteLength(),m=f.getPrivate().toArray("be",p),v=h.toArray("be",p),y=new a({hash:this.hash,entropy:m,nonce:v,pers:g.pers,persEnc:g.persEnc||"utf8"}),I=this.n.sub(new n(1)),E=0;;E++){var k=g.k?g.k(E):new n(y.generate(this.n.byteLength()));if(!((k=this._truncateToN(k,!0)).cmpn(1)<=0||k.cmp(I)>=0)){var R=this.g.mul(k);if(!R.isInfinity()){var T=R.getX(),j=T.umod(this.n);if(j.cmpn(0)!==0){var W=k.invm(this.n).mul(j.mul(f.getPrivate()).iadd(h));if((W=W.umod(this.n)).cmpn(0)!==0){var H=(R.getY().isOdd()?1:0)|(T.cmp(j)!==0?2:0);return g.canonical&&W.cmp(this.nh)>0&&(W=this.n.sub(W),H^=1),new l({r:j,s:W,recoveryParam:H})}}}}}},A.prototype.verify=function(h,f,d,g){h=this._truncateToN(new n(h,16)),d=this.keyFromPublic(d,g);var p=(f=new l(f,"hex")).r,m=f.s;if(p.cmpn(1)<0||p.cmp(this.n)>=0||m.cmpn(1)<0||m.cmp(this.n)>=0)return!1;var v,y=m.invm(this.n),I=y.mul(h).umod(this.n),E=y.mul(p).umod(this.n);return this.curve._maxwellTrick?!(v=this.g.jmulAdd(I,d.getPublic(),E)).isInfinity()&&v.eqXToP(p):!(v=this.g.mulAdd(I,d.getPublic(),E)).isInfinity()&&v.getX().umod(this.n).cmp(p)===0},A.prototype.recoverPubKey=function(h,f,d,g){c((3&d)===d,"The recovery param is more than two bits"),f=new l(f,g);var p=this.n,m=new n(h),v=f.r,y=f.s,I=1&d,E=d>>1;if(v.cmp(this.curve.p.umod(this.curve.n))>=0&&E)throw new Error("Unable to find sencond key candinate");v=E?this.curve.pointFromX(v.add(this.curve.n),I):this.curve.pointFromX(v,I);var k=f.r.invm(p),R=p.sub(m).mul(k).umod(p),T=y.mul(k).umod(p);return this.g.mulAdd(R,v,T)},A.prototype.getKeyRecoveryParam=function(h,f,d,g){if((f=new l(f,g)).recoveryParam!==null)return f.recoveryParam;for(var p=0;p<4;p++){var m;try{m=this.recoverPubKey(h,f,p)}catch{continue}if(m.eq(d))return p}throw new Error("Unable to find valid recovery factor")}},{"../curves":411,"../utils":419,"./key":413,"./signature":414,"bn.js":420,brorand:187,"hmac-drbg":438}],413:[function(e,r,t){var n=e("bn.js"),a=e("../utils").assert;function s(o,i){this.ec=o,this.priv=null,this.pub=null,i.priv&&this._importPrivate(i.priv,i.privEnc),i.pub&&this._importPublic(i.pub,i.pubEnc)}r.exports=s,s.fromPublic=function(o,i,c){return i instanceof s?i:new s(o,{pub:i,pubEnc:c})},s.fromPrivate=function(o,i,c){return i instanceof s?i:new s(o,{priv:i,privEnc:c})},s.prototype.validate=function(){var o=this.getPublic();return o.isInfinity()?{result:!1,reason:"Invalid public key"}:o.validate()?o.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(o,i){return typeof o=="string"&&(i=o,o=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),i?this.pub.encode(i,o):this.pub},s.prototype.getPrivate=function(o){return o==="hex"?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(o,i){this.priv=new n(o,i||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(o,i){if(o.x||o.y)return this.ec.curve.type==="mont"?a(o.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(o.x&&o.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(o.x,o.y));this.pub=this.ec.curve.decodePoint(o,i)},s.prototype.derive=function(o){return o.validate()||a(o.validate(),"public point not validated"),o.mul(this.priv).getX()},s.prototype.sign=function(o,i,c){return this.ec.sign(o,this,i,c)},s.prototype.verify=function(o,i){return this.ec.verify(o,i,this)},s.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":419,"bn.js":420}],414:[function(e,r,t){var n=e("bn.js"),a=e("../utils"),s=a.assert;function o(A,h){if(A instanceof o)return A;this._importDER(A,h)||(s(A.r&&A.s,"Signature without r or s"),this.r=new n(A.r,16),this.s=new n(A.s,16),A.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=A.recoveryParam)}function i(){this.place=0}function c(A,h){var f=A[h.place++];if(!(128&f))return f;var d=15&f;if(d===0||d>4)return!1;for(var g=0,p=0,m=h.place;p<d;p++,m++)g<<=8,g|=A[m],g>>>=0;return!(g<=127)&&(h.place=m,g)}function u(A){for(var h=0,f=A.length-1;!A[h]&&!(128&A[h+1])&&h<f;)h++;return h===0?A:A.slice(h)}function l(A,h){if(h<128)A.push(h);else{var f=1+(Math.log(h)/Math.LN2>>>3);for(A.push(128|f);--f;)A.push(h>>>(f<<3)&255);A.push(h)}}r.exports=o,o.prototype._importDER=function(A,h){A=a.toArray(A,h);var f=new i;if(A[f.place++]!==48)return!1;var d=c(A,f);if(d===!1||d+f.place!==A.length||A[f.place++]!==2)return!1;var g=c(A,f);if(g===!1)return!1;var p=A.slice(f.place,g+f.place);if(f.place+=g,A[f.place++]!==2)return!1;var m=c(A,f);if(m===!1||A.length!==m+f.place)return!1;var v=A.slice(f.place,m+f.place);if(p[0]===0){if(!(128&p[1]))return!1;p=p.slice(1)}if(v[0]===0){if(!(128&v[1]))return!1;v=v.slice(1)}return this.r=new n(p),this.s=new n(v),this.recoveryParam=null,!0},o.prototype.toDER=function(A){var h=this.r.toArray(),f=this.s.toArray();for(128&h[0]&&(h=[0].concat(h)),128&f[0]&&(f=[0].concat(f)),h=u(h),f=u(f);!(f[0]||128&f[1]);)f=f.slice(1);var d=[2];l(d,h.length),(d=d.concat(h)).push(2),l(d,f.length);var g=d.concat(f),p=[48];return l(p,g.length),p=p.concat(g),a.encode(p,A)}},{"../utils":419,"bn.js":420}],415:[function(e,r,t){var n=e("hash.js"),a=e("../curves"),s=e("../utils"),o=s.assert,i=s.parseBytes,c=e("./key"),u=e("./signature");function l(A){if(o(A==="ed25519","only tested with ed25519 so far"),!(this instanceof l))return new l(A);A=a[A].curve,this.curve=A,this.g=A.g,this.g.precompute(A.n.bitLength()+1),this.pointClass=A.point().constructor,this.encodingLength=Math.ceil(A.n.bitLength()/8),this.hash=n.sha512}r.exports=l,l.prototype.sign=function(A,h){A=i(A);var f=this.keyFromSecret(h),d=this.hashInt(f.messagePrefix(),A),g=this.g.mul(d),p=this.encodePoint(g),m=this.hashInt(p,f.pubBytes(),A).mul(f.priv()),v=d.add(m).umod(this.curve.n);return this.makeSignature({R:g,S:v,Rencoded:p})},l.prototype.verify=function(A,h,f){A=i(A),h=this.makeSignature(h);var d=this.keyFromPublic(f),g=this.hashInt(h.Rencoded(),d.pubBytes(),A),p=this.g.mul(h.S());return h.R().add(d.pub().mul(g)).eq(p)},l.prototype.hashInt=function(){for(var A=this.hash(),h=0;h<arguments.length;h++)A.update(arguments[h]);return s.intFromLE(A.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(A){return c.fromPublic(this,A)},l.prototype.keyFromSecret=function(A){return c.fromSecret(this,A)},l.prototype.makeSignature=function(A){return A instanceof u?A:new u(this,A)},l.prototype.encodePoint=function(A){var h=A.getY().toArray("le",this.encodingLength);return h[this.encodingLength-1]|=A.getX().isOdd()?128:0,h},l.prototype.decodePoint=function(A){var h=(A=s.parseBytes(A)).length-1,f=A.slice(0,h).concat(-129&A[h]),d=(128&A[h])!=0,g=s.intFromLE(f);return this.curve.pointFromY(g,d)},l.prototype.encodeInt=function(A){return A.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(A){return s.intFromLE(A)},l.prototype.isPoint=function(A){return A instanceof this.pointClass}},{"../curves":411,"../utils":419,"./key":416,"./signature":417,"hash.js":426}],416:[function(e,r,t){var n=e("../utils"),a=n.assert,s=n.parseBytes,o=n.cachedProperty;function i(c,u){this.eddsa=c,this._secret=s(u.secret),c.isPoint(u.pub)?this._pub=u.pub:this._pubBytes=s(u.pub)}i.fromPublic=function(c,u){return u instanceof i?u:new i(c,{pub:u})},i.fromSecret=function(c,u){return u instanceof i?u:new i(c,{secret:u})},i.prototype.secret=function(){return this._secret},o(i,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(i,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(i,"privBytes",function(){var c=this.eddsa,u=this.hash(),l=c.encodingLength-1,A=u.slice(0,c.encodingLength);return A[0]&=248,A[l]&=127,A[l]|=64,A}),o(i,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(i,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(i,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),i.prototype.sign=function(c){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(c,this)},i.prototype.verify=function(c,u){return this.eddsa.verify(c,u,this)},i.prototype.getSecret=function(c){return a(this._secret,"KeyPair is public only"),n.encode(this.secret(),c)},i.prototype.getPublic=function(c){return n.encode(this.pubBytes(),c)},r.exports=i},{"../utils":419}],417:[function(e,r,t){var n=e("bn.js"),a=e("../utils"),s=a.assert,o=a.cachedProperty,i=a.parseBytes;function c(u,l){this.eddsa=u,typeof l!="object"&&(l=i(l)),Array.isArray(l)&&(l={R:l.slice(0,u.encodingLength),S:l.slice(u.encodingLength)}),s(l.R&&l.S,"Signature without R or S"),u.isPoint(l.R)&&(this._R=l.R),l.S instanceof n&&(this._S=l.S),this._Rencoded=Array.isArray(l.R)?l.R:l.Rencoded,this._Sencoded=Array.isArray(l.S)?l.S:l.Sencoded}o(c,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(c,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(c,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(c,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},r.exports=c},{"../utils":419,"bn.js":420}],418:[function(e,r,t){r.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],419:[function(e,r,t){var n=t,a=e("bn.js"),s=e("minimalistic-assert"),o=e("minimalistic-crypto-utils");function i(h,f,d){var g=new Array(Math.max(h.bitLength(),d)+1);g.fill(0);for(var p=1<<f+1,m=h.clone(),v=0;v<g.length;v++){var y,I=m.andln(p-1);m.isOdd()?(y=I>(p>>1)-1?(p>>1)-I:I,m.isubn(y)):y=0,g[v]=y,m.iushrn(1)}return g}function c(h,f){var d=[[],[]];h=h.clone(),f=f.clone();for(var g,p=0,m=0;h.cmpn(-p)>0||f.cmpn(-m)>0;){var v,y,I=h.andln(3)+p&3,E=f.andln(3)+m&3;I===3&&(I=-1),E===3&&(E=-1),v=1&I?(g=h.andln(7)+p&7)!=3&&g!==5||E!==2?I:-I:0,d[0].push(v),y=1&E?(g=f.andln(7)+m&7)!=3&&g!==5||I!==2?E:-E:0,d[1].push(y),2*p===v+1&&(p=1-p),2*m===y+1&&(m=1-m),h.iushrn(1),f.iushrn(1)}return d}function u(h,f,d){var g="_"+f;h.prototype[f]=function(){return this[g]!==void 0?this[g]:this[g]=d.call(this)}}function l(h){return typeof h=="string"?n.toArray(h,"hex"):h}function A(h){return new a(h,"hex","le")}n.assert=s,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=i,n.getJSF=c,n.cachedProperty=u,n.parseBytes=l,n.intFromLE=A},{"bn.js":420,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],420:[function(e,r,t){arguments[4][184][0].apply(t,arguments)},{buffer:188,dup:184}],421:[function(e,r,t){r.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}},{}],422:[function(e,r,t){var n=Object.create||T,a=Object.keys||j,s=Function.prototype.bind||W;function o(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=n(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}r.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._maxListeners=void 0;var i,c=10;try{var u={};Object.defineProperty&&Object.defineProperty(u,"x",{value:0}),i=u.x===0}catch{i=!1}function l(H){return H._maxListeners===void 0?o.defaultMaxListeners:H._maxListeners}function A(H,X,x){if(X)H.call(x);else for(var N=H.length,C=k(H,N),w=0;w<N;++w)C[w].call(x)}function h(H,X,x,N){if(X)H.call(x,N);else for(var C=H.length,w=k(H,C),Q=0;Q<C;++Q)w[Q].call(x,N)}function f(H,X,x,N,C){if(X)H.call(x,N,C);else for(var w=H.length,Q=k(H,w),B=0;B<w;++B)Q[B].call(x,N,C)}function d(H,X,x,N,C,w){if(X)H.call(x,N,C,w);else for(var Q=H.length,B=k(H,Q),S=0;S<Q;++S)B[S].call(x,N,C,w)}function g(H,X,x,N){if(X)H.apply(x,N);else for(var C=H.length,w=k(H,C),Q=0;Q<C;++Q)w[Q].apply(x,N)}function p(H,X,x,N){var C,w,Q;if(typeof x!="function")throw new TypeError('"listener" argument must be a function');if((w=H._events)?(w.newListener&&(H.emit("newListener",X,x.listener?x.listener:x),w=H._events),Q=w[X]):(w=H._events=n(null),H._eventsCount=0),Q){if(typeof Q=="function"?Q=w[X]=N?[x,Q]:[Q,x]:N?Q.unshift(x):Q.push(x),!Q.warned&&(C=l(H))&&C>0&&Q.length>C){Q.warned=!0;var B=new Error("Possible EventEmitter memory leak detected. "+Q.length+' "'+String(X)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');B.name="MaxListenersExceededWarning",B.emitter=H,B.type=X,B.count=Q.length,typeof console=="object"&&console.warn&&console.warn("%s: %s",B.name,B.message)}}else Q=w[X]=x,++H._eventsCount;return H}function m(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var H=new Array(arguments.length),X=0;X<H.length;++X)H[X]=arguments[X];this.listener.apply(this.target,H)}}function v(H,X,x){var N={fired:!1,wrapFn:void 0,target:H,type:X,listener:x},C=s.call(m,N);return C.listener=x,N.wrapFn=C,C}function y(H,X,x){var N=H._events;if(!N)return[];var C=N[X];return C?typeof C=="function"?x?[C.listener||C]:[C]:x?R(C):k(C,C.length):[]}function I(H){var X=this._events;if(X){var x=X[H];if(typeof x=="function")return 1;if(x)return x.length}return 0}function E(H,X){for(var x=X,N=x+1,C=H.length;N<C;x+=1,N+=1)H[x]=H[N];H.pop()}function k(H,X){for(var x=new Array(X),N=0;N<X;++N)x[N]=H[N];return x}function R(H){for(var X=new Array(H.length),x=0;x<X.length;++x)X[x]=H[x].listener||H[x];return X}function T(H){var X=function(){};return X.prototype=H,new X}function j(H){for(var X in H)Object.prototype.hasOwnProperty.call(H,X);return X}function W(H){var X=this;return function(){return X.apply(H,arguments)}}i?Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(H){if(typeof H!="number"||H<0||H!=H)throw new TypeError('"defaultMaxListeners" must be a positive number');c=H}}):o.defaultMaxListeners=c,o.prototype.setMaxListeners=function(H){if(typeof H!="number"||H<0||isNaN(H))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=H,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(H){var X,x,N,C,w,Q,B=H==="error";if(Q=this._events)B=B&&Q.error==null;else if(!B)return!1;if(B){if(arguments.length>1&&(X=arguments[1]),X instanceof Error)throw X;var S=new Error('Unhandled "error" event. ('+X+")");throw S.context=X,S}if(!(x=Q[H]))return!1;var O=typeof x=="function";switch(N=arguments.length){case 1:A(x,O,this);break;case 2:h(x,O,this,arguments[1]);break;case 3:f(x,O,this,arguments[1],arguments[2]);break;case 4:d(x,O,this,arguments[1],arguments[2],arguments[3]);break;default:for(C=new Array(N-1),w=1;w<N;w++)C[w-1]=arguments[w];g(x,O,this,C)}return!0},o.prototype.addListener=function(H,X){return p(this,H,X,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(H,X){return p(this,H,X,!0)},o.prototype.once=function(H,X){if(typeof X!="function")throw new TypeError('"listener" argument must be a function');return this.on(H,v(this,H,X)),this},o.prototype.prependOnceListener=function(H,X){if(typeof X!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(H,v(this,H,X)),this},o.prototype.removeListener=function(H,X){var x,N,C,w,Q;if(typeof X!="function")throw new TypeError('"listener" argument must be a function');if(!(N=this._events))return this;if(!(x=N[H]))return this;if(x===X||x.listener===X)--this._eventsCount==0?this._events=n(null):(delete N[H],N.removeListener&&this.emit("removeListener",H,x.listener||X));else if(typeof x!="function"){for(C=-1,w=x.length-1;w>=0;w--)if(x[w]===X||x[w].listener===X){Q=x[w].listener,C=w;break}if(C<0)return this;C===0?x.shift():E(x,C),x.length===1&&(N[H]=x[0]),N.removeListener&&this.emit("removeListener",H,Q||X)}return this},o.prototype.removeAllListeners=function(H){var X,x,N;if(!(x=this._events))return this;if(!x.removeListener)return arguments.length===0?(this._events=n(null),this._eventsCount=0):x[H]&&(--this._eventsCount==0?this._events=n(null):delete x[H]),this;if(arguments.length===0){var C,w=a(x);for(N=0;N<w.length;++N)(C=w[N])!=="removeListener"&&this.removeAllListeners(C);return this.removeAllListeners("removeListener"),this._events=n(null),this._eventsCount=0,this}if(typeof(X=x[H])=="function")this.removeListener(H,X);else if(X)for(N=X.length-1;N>=0;N--)this.removeListener(H,X[N]);return this},o.prototype.listeners=function(H){return y(this,H,!0)},o.prototype.rawListeners=function(H){return y(this,H,!1)},o.listenerCount=function(H,X){return typeof H.listenerCount=="function"?H.listenerCount(X):I.call(H,X)},o.prototype.listenerCount=I,o.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],423:[function(e,r,t){var n=e("safe-buffer").Buffer,a=e("md5.js");function s(o,i,c,u){if(n.isBuffer(o)||(o=n.from(o,"binary")),i&&(n.isBuffer(i)||(i=n.from(i,"binary")),i.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var l=c/8,A=n.alloc(l),h=n.alloc(u||0),f=n.alloc(0);l>0||u>0;){var d=new a;d.update(f),d.update(o),i&&d.update(i),f=d.digest();var g=0;if(l>0){var p=A.length-l;g=Math.min(l,f.length),f.copy(A,p,0,g),l-=g}if(g<f.length&&u>0){var m=h.length-u,v=Math.min(u,f.length-g);f.copy(h,m,g,g+v),u-=v}}return f.fill(0),{key:A,iv:h}}r.exports=s},{"md5.js":450,"safe-buffer":494}],424:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CsvParserStream=t.ParserOptions=t.parseFile=t.parseStream=t.parseString=t.parse=t.FormatterOptions=t.CsvFormatterStream=t.writeToPath=t.writeToString=t.writeToBuffer=t.writeToStream=t.write=t.format=void 0;var n=e("@fast-csv/format");Object.defineProperty(t,"format",{enumerable:!0,get:function(){return n.format}}),Object.defineProperty(t,"write",{enumerable:!0,get:function(){return n.write}}),Object.defineProperty(t,"writeToStream",{enumerable:!0,get:function(){return n.writeToStream}}),Object.defineProperty(t,"writeToBuffer",{enumerable:!0,get:function(){return n.writeToBuffer}}),Object.defineProperty(t,"writeToString",{enumerable:!0,get:function(){return n.writeToString}}),Object.defineProperty(t,"writeToPath",{enumerable:!0,get:function(){return n.writeToPath}}),Object.defineProperty(t,"CsvFormatterStream",{enumerable:!0,get:function(){return n.CsvFormatterStream}}),Object.defineProperty(t,"FormatterOptions",{enumerable:!0,get:function(){return n.FormatterOptions}});var a=e("@fast-csv/parse");Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(t,"parseString",{enumerable:!0,get:function(){return a.parseString}}),Object.defineProperty(t,"parseStream",{enumerable:!0,get:function(){return a.parseStream}}),Object.defineProperty(t,"parseFile",{enumerable:!0,get:function(){return a.parseFile}}),Object.defineProperty(t,"ParserOptions",{enumerable:!0,get:function(){return a.ParserOptions}}),Object.defineProperty(t,"CsvParserStream",{enumerable:!0,get:function(){return a.CsvParserStream}})},{"@fast-csv/format":151,"@fast-csv/parse":155}],425:[function(e,r,t){var n=e("safe-buffer").Buffer,a=e("readable-stream").Transform;function s(i,c){if(!n.isBuffer(i)&&typeof i!="string")throw new TypeError(c+" must be a string or a buffer")}function o(i){a.call(this),this._block=n.allocUnsafe(i),this._blockSize=i,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(o,a),o.prototype._transform=function(i,c,u){var l=null;try{this.update(i,c)}catch(A){l=A}u(l)},o.prototype._flush=function(i){var c=null;try{this.push(this.digest())}catch(u){c=u}i(c)},o.prototype.update=function(i,c){if(s(i,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(i)||(i=n.from(i,c));for(var u=this._block,l=0;this._blockOffset+i.length-l>=this._blockSize;){for(var A=this._blockOffset;A<this._blockSize;)u[A++]=i[l++];this._update(),this._blockOffset=0}for(;l<i.length;)u[this._blockOffset++]=i[l++];for(var h=0,f=8*i.length;f>0;++h)this._length[h]+=f,(f=this._length[h]/4294967296|0)>0&&(this._length[h]-=4294967296*f);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(i){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var c=this._digest();i!==void 0&&(c=c.toString(i)),this._block.fill(0),this._blockOffset=0;for(var u=0;u<4;++u)this._length[u]=0;return c},o.prototype._digest=function(){throw new Error("_digest is not implemented")},r.exports=o},{inherits:440,"readable-stream":491,"safe-buffer":494}],426:[function(e,r,t){var n=t;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":427,"./hash/hmac":428,"./hash/ripemd":429,"./hash/sha":430,"./hash/utils":437}],427:[function(e,r,t){var n=e("./utils"),a=e("minimalistic-assert");function s(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=s,s.prototype.update=function(o,i){if(o=n.toArray(o,i),this.pending?this.pending=this.pending.concat(o):this.pending=o,this.pendingTotal+=o.length,this.pending.length>=this._delta8){var c=(o=this.pending).length%this._delta8;this.pending=o.slice(o.length-c,o.length),this.pending.length===0&&(this.pending=null),o=n.join32(o,0,o.length-c,this.endian);for(var u=0;u<o.length;u+=this._delta32)this._update(o,u,u+this._delta32)}return this},s.prototype.digest=function(o){return this.update(this._pad()),a(this.pending===null),this._digest(o)},s.prototype._pad=function(){var o=this.pendingTotal,i=this._delta8,c=i-(o+this.padLength)%i,u=new Array(c+this.padLength);u[0]=128;for(var l=1;l<c;l++)u[l]=0;if(o<<=3,this.endian==="big"){for(var A=8;A<this.padLength;A++)u[l++]=0;u[l++]=0,u[l++]=0,u[l++]=0,u[l++]=0,u[l++]=o>>>24&255,u[l++]=o>>>16&255,u[l++]=o>>>8&255,u[l++]=255&o}else for(u[l++]=255&o,u[l++]=o>>>8&255,u[l++]=o>>>16&255,u[l++]=o>>>24&255,u[l++]=0,u[l++]=0,u[l++]=0,u[l++]=0,A=8;A<this.padLength;A++)u[l++]=0;return u}},{"./utils":437,"minimalistic-assert":453}],428:[function(e,r,t){var n=e("./utils"),a=e("minimalistic-assert");function s(o,i,c){if(!(this instanceof s))return new s(o,i,c);this.Hash=o,this.blockSize=o.blockSize/8,this.outSize=o.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(i,c))}r.exports=s,s.prototype._init=function(o){o.length>this.blockSize&&(o=new this.Hash().update(o).digest()),a(o.length<=this.blockSize);for(var i=o.length;i<this.blockSize;i++)o.push(0);for(i=0;i<o.length;i++)o[i]^=54;for(this.inner=new this.Hash().update(o),i=0;i<o.length;i++)o[i]^=106;this.outer=new this.Hash().update(o)},s.prototype.update=function(o,i){return this.inner.update(o,i),this},s.prototype.digest=function(o){return this.outer.update(this.inner.digest()),this.outer.digest(o)}},{"./utils":437,"minimalistic-assert":453}],429:[function(e,r,t){var n=e("./utils"),a=e("./common"),s=n.rotl32,o=n.sum32,i=n.sum32_3,c=n.sum32_4,u=a.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function A(v,y,I,E){return v<=15?y^I^E:v<=31?y&I|~y&E:v<=47?(y|~I)^E:v<=63?y&E|I&~E:y^(I|~E)}function h(v){return v<=15?0:v<=31?1518500249:v<=47?1859775393:v<=63?2400959708:2840853838}function f(v){return v<=15?1352829926:v<=31?1548603684:v<=47?1836072691:v<=63?2053994217:0}n.inherits(l,u),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(v,y){for(var I=this.h[0],E=this.h[1],k=this.h[2],R=this.h[3],T=this.h[4],j=I,W=E,H=k,X=R,x=T,N=0;N<80;N++){var C=o(s(c(I,A(N,E,k,R),v[d[N]+y],h(N)),p[N]),T);I=T,T=R,R=s(k,10),k=E,E=C,C=o(s(c(j,A(79-N,W,H,X),v[g[N]+y],f(N)),m[N]),x),j=x,x=X,X=s(H,10),H=W,W=C}C=i(this.h[1],k,X),this.h[1]=i(this.h[2],R,x),this.h[2]=i(this.h[3],T,j),this.h[3]=i(this.h[4],I,W),this.h[4]=i(this.h[0],E,H),this.h[0]=C},l.prototype._digest=function(v){return v==="hex"?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var d=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],g=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":427,"./utils":437}],430:[function(e,r,t){t.sha1=e("./sha/1"),t.sha224=e("./sha/224"),t.sha256=e("./sha/256"),t.sha384=e("./sha/384"),t.sha512=e("./sha/512")},{"./sha/1":431,"./sha/224":432,"./sha/256":433,"./sha/384":434,"./sha/512":435}],431:[function(e,r,t){var n=e("../utils"),a=e("../common"),s=e("./common"),o=n.rotl32,i=n.sum32,c=n.sum32_5,u=s.ft_1,l=a.BlockHash,A=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,l),r.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(f,d){for(var g=this.W,p=0;p<16;p++)g[p]=f[d+p];for(;p<g.length;p++)g[p]=o(g[p-3]^g[p-8]^g[p-14]^g[p-16],1);var m=this.h[0],v=this.h[1],y=this.h[2],I=this.h[3],E=this.h[4];for(p=0;p<g.length;p++){var k=~~(p/20),R=c(o(m,5),u(k,v,y,I),E,g[p],A[k]);E=I,I=y,y=o(v,30),v=m,m=R}this.h[0]=i(this.h[0],m),this.h[1]=i(this.h[1],v),this.h[2]=i(this.h[2],y),this.h[3]=i(this.h[3],I),this.h[4]=i(this.h[4],E)},h.prototype._digest=function(f){return f==="hex"?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436}],432:[function(e,r,t){var n=e("../utils"),a=e("./256");function s(){if(!(this instanceof s))return new s;a.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(s,a),r.exports=s,s.blockSize=512,s.outSize=224,s.hmacStrength=192,s.padLength=64,s.prototype._digest=function(o){return o==="hex"?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},{"../utils":437,"./256":433}],433:[function(e,r,t){var n=e("../utils"),a=e("../common"),s=e("./common"),o=e("minimalistic-assert"),i=n.sum32,c=n.sum32_4,u=n.sum32_5,l=s.ch32,A=s.maj32,h=s.s0_256,f=s.s1_256,d=s.g0_256,g=s.g1_256,p=a.BlockHash,m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;p.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}n.inherits(v,p),r.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(y,I){for(var E=this.W,k=0;k<16;k++)E[k]=y[I+k];for(;k<E.length;k++)E[k]=c(g(E[k-2]),E[k-7],d(E[k-15]),E[k-16]);var R=this.h[0],T=this.h[1],j=this.h[2],W=this.h[3],H=this.h[4],X=this.h[5],x=this.h[6],N=this.h[7];for(o(this.k.length===E.length),k=0;k<E.length;k++){var C=u(N,f(H),l(H,X,x),this.k[k],E[k]),w=i(h(R),A(R,T,j));N=x,x=X,X=H,H=i(W,C),W=j,j=T,T=R,R=i(C,w)}this.h[0]=i(this.h[0],R),this.h[1]=i(this.h[1],T),this.h[2]=i(this.h[2],j),this.h[3]=i(this.h[3],W),this.h[4]=i(this.h[4],H),this.h[5]=i(this.h[5],X),this.h[6]=i(this.h[6],x),this.h[7]=i(this.h[7],N)},v.prototype._digest=function(y){return y==="hex"?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":427,"../utils":437,"./common":436,"minimalistic-assert":453}],434:[function(e,r,t){var n=e("../utils"),a=e("./512");function s(){if(!(this instanceof s))return new s;a.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(s,a),r.exports=s,s.blockSize=1024,s.outSize=384,s.hmacStrength=192,s.padLength=128,s.prototype._digest=function(o){return o==="hex"?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},{"../utils":437,"./512":435}],435:[function(e,r,t){var n=e("../utils"),a=e("../common"),s=e("minimalistic-assert"),o=n.rotr64_hi,i=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,A=n.sum64_hi,h=n.sum64_lo,f=n.sum64_4_hi,d=n.sum64_4_lo,g=n.sum64_5_hi,p=n.sum64_5_lo,m=a.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function I(w,Q,B,S,O){var F=w&B^~w&O;return F<0&&(F+=4294967296),F}function E(w,Q,B,S,O,F){var Y=Q&S^~Q&F;return Y<0&&(Y+=4294967296),Y}function k(w,Q,B,S,O){var F=w&B^w&O^B&O;return F<0&&(F+=4294967296),F}function R(w,Q,B,S,O,F){var Y=Q&S^Q&F^S&F;return Y<0&&(Y+=4294967296),Y}function T(w,Q){var B=o(w,Q,28)^o(Q,w,2)^o(Q,w,7);return B<0&&(B+=4294967296),B}function j(w,Q){var B=i(w,Q,28)^i(Q,w,2)^i(Q,w,7);return B<0&&(B+=4294967296),B}function W(w,Q){var B=o(w,Q,14)^o(w,Q,18)^o(Q,w,9);return B<0&&(B+=4294967296),B}function H(w,Q){var B=i(w,Q,14)^i(w,Q,18)^i(Q,w,9);return B<0&&(B+=4294967296),B}function X(w,Q){var B=o(w,Q,1)^o(w,Q,8)^c(w,Q,7);return B<0&&(B+=4294967296),B}function x(w,Q){var B=i(w,Q,1)^i(w,Q,8)^u(w,Q,7);return B<0&&(B+=4294967296),B}function N(w,Q){var B=o(w,Q,19)^o(Q,w,29)^c(w,Q,6);return B<0&&(B+=4294967296),B}function C(w,Q){var B=i(w,Q,19)^i(Q,w,29)^u(w,Q,6);return B<0&&(B+=4294967296),B}n.inherits(y,m),r.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(w,Q){for(var B=this.W,S=0;S<32;S++)B[S]=w[Q+S];for(;S<B.length;S+=2){var O=N(B[S-4],B[S-3]),F=C(B[S-4],B[S-3]),Y=B[S-14],M=B[S-13],z=X(B[S-30],B[S-29]),ue=x(B[S-30],B[S-29]),ae=B[S-32],Ne=B[S-31];B[S]=f(O,F,Y,M,z,ue,ae,Ne),B[S+1]=d(O,F,Y,M,z,ue,ae,Ne)}},y.prototype._update=function(w,Q){this._prepareBlock(w,Q);var B=this.W,S=this.h[0],O=this.h[1],F=this.h[2],Y=this.h[3],M=this.h[4],z=this.h[5],ue=this.h[6],ae=this.h[7],Ne=this.h[8],Ge=this.h[9],Ye=this.h[10],Ae=this.h[11],te=this.h[12],he=this.h[13],de=this.h[14],Ke=this.h[15];s(this.k.length===B.length);for(var le=0;le<B.length;le+=2){var Ce=de,At=Ke,Z=W(Ne,Ge),ce=H(Ne,Ge),ye=I(Ne,Ge,Ye,Ae,te),Ve=E(Ne,Ge,Ye,Ae,te,he),dt=this.k[le],re=this.k[le+1],ot=B[le],pt=B[le+1],Be=g(Ce,At,Z,ce,ye,Ve,dt,re,ot,pt),Ee=p(Ce,At,Z,ce,ye,Ve,dt,re,ot,pt);Ce=T(S,O),At=j(S,O),Z=k(S,O,F,Y,M),ce=R(S,O,F,Y,M,z);var Me=A(Ce,At,Z,ce),yt=h(Ce,At,Z,ce);de=te,Ke=he,te=Ye,he=Ae,Ye=Ne,Ae=Ge,Ne=A(ue,ae,Be,Ee),Ge=h(ae,ae,Be,Ee),ue=M,ae=z,M=F,z=Y,F=S,Y=O,S=A(Be,Ee,Me,yt),O=h(Be,Ee,Me,yt)}l(this.h,0,S,O),l(this.h,2,F,Y),l(this.h,4,M,z),l(this.h,6,ue,ae),l(this.h,8,Ne,Ge),l(this.h,10,Ye,Ae),l(this.h,12,te,he),l(this.h,14,de,Ke)},y.prototype._digest=function(w){return w==="hex"?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":427,"../utils":437,"minimalistic-assert":453}],436:[function(e,r,t){var n=e("../utils").rotr32;function a(h,f,d,g){return h===0?s(f,d,g):h===1||h===3?i(f,d,g):h===2?o(f,d,g):void 0}function s(h,f,d){return h&f^~h&d}function o(h,f,d){return h&f^h&d^f&d}function i(h,f,d){return h^f^d}function c(h){return n(h,2)^n(h,13)^n(h,22)}function u(h){return n(h,6)^n(h,11)^n(h,25)}function l(h){return n(h,7)^n(h,18)^h>>>3}function A(h){return n(h,17)^n(h,19)^h>>>10}t.ft_1=a,t.ch32=s,t.maj32=o,t.p32=i,t.s0_256=c,t.s1_256=u,t.g0_256=l,t.g1_256=A},{"../utils":437}],437:[function(e,r,t){var n=e("minimalistic-assert"),a=e("inherits");function s(C,w){return(64512&C.charCodeAt(w))==55296&&!(w<0||w+1>=C.length)&&(64512&C.charCodeAt(w+1))==56320}function o(C,w){if(Array.isArray(C))return C.slice();if(!C)return[];var Q=[];if(typeof C=="string")if(w){if(w==="hex")for((C=C.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(C="0"+C),S=0;S<C.length;S+=2)Q.push(parseInt(C[S]+C[S+1],16))}else for(var B=0,S=0;S<C.length;S++){var O=C.charCodeAt(S);O<128?Q[B++]=O:O<2048?(Q[B++]=O>>6|192,Q[B++]=63&O|128):s(C,S)?(O=65536+((1023&O)<<10)+(1023&C.charCodeAt(++S)),Q[B++]=O>>18|240,Q[B++]=O>>12&63|128,Q[B++]=O>>6&63|128,Q[B++]=63&O|128):(Q[B++]=O>>12|224,Q[B++]=O>>6&63|128,Q[B++]=63&O|128)}else for(S=0;S<C.length;S++)Q[S]=0|C[S];return Q}function i(C){for(var w="",Q=0;Q<C.length;Q++)w+=l(C[Q].toString(16));return w}function c(C){return(C>>>24|C>>>8&65280|C<<8&16711680|(255&C)<<24)>>>0}function u(C,w){for(var Q="",B=0;B<C.length;B++){var S=C[B];w==="little"&&(S=c(S)),Q+=A(S.toString(16))}return Q}function l(C){return C.length===1?"0"+C:C}function A(C){return C.length===7?"0"+C:C.length===6?"00"+C:C.length===5?"000"+C:C.length===4?"0000"+C:C.length===3?"00000"+C:C.length===2?"000000"+C:C.length===1?"0000000"+C:C}function h(C,w,Q,B){var S=Q-w;n(S%4==0);for(var O=new Array(S/4),F=0,Y=w;F<O.length;F++,Y+=4){var M;M=B==="big"?C[Y]<<24|C[Y+1]<<16|C[Y+2]<<8|C[Y+3]:C[Y+3]<<24|C[Y+2]<<16|C[Y+1]<<8|C[Y],O[F]=M>>>0}return O}function f(C,w){for(var Q=new Array(4*C.length),B=0,S=0;B<C.length;B++,S+=4){var O=C[B];w==="big"?(Q[S]=O>>>24,Q[S+1]=O>>>16&255,Q[S+2]=O>>>8&255,Q[S+3]=255&O):(Q[S+3]=O>>>24,Q[S+2]=O>>>16&255,Q[S+1]=O>>>8&255,Q[S]=255&O)}return Q}function d(C,w){return C>>>w|C<<32-w}function g(C,w){return C<<w|C>>>32-w}function p(C,w){return C+w>>>0}function m(C,w,Q){return C+w+Q>>>0}function v(C,w,Q,B){return C+w+Q+B>>>0}function y(C,w,Q,B,S){return C+w+Q+B+S>>>0}function I(C,w,Q,B){var S=C[w],O=B+C[w+1]>>>0,F=(O<B?1:0)+Q+S;C[w]=F>>>0,C[w+1]=O}function E(C,w,Q,B){return(w+B>>>0<w?1:0)+C+Q>>>0}function k(C,w,Q,B){return w+B>>>0}function R(C,w,Q,B,S,O,F,Y){var M=0,z=w;return M+=(z=z+B>>>0)<w?1:0,M+=(z=z+O>>>0)<O?1:0,C+Q+S+F+(M+=(z=z+Y>>>0)<Y?1:0)>>>0}function T(C,w,Q,B,S,O,F,Y){return w+B+O+Y>>>0}function j(C,w,Q,B,S,O,F,Y,M,z){var ue=0,ae=w;return ue+=(ae=ae+B>>>0)<w?1:0,ue+=(ae=ae+O>>>0)<O?1:0,ue+=(ae=ae+Y>>>0)<Y?1:0,C+Q+S+F+M+(ue+=(ae=ae+z>>>0)<z?1:0)>>>0}function W(C,w,Q,B,S,O,F,Y,M,z){return w+B+O+Y+z>>>0}function H(C,w,Q){return(w<<32-Q|C>>>Q)>>>0}function X(C,w,Q){return(C<<32-Q|w>>>Q)>>>0}function x(C,w,Q){return C>>>Q}function N(C,w,Q){return(C<<32-Q|w>>>Q)>>>0}t.inherits=a,t.toArray=o,t.toHex=i,t.htonl=c,t.toHex32=u,t.zero2=l,t.zero8=A,t.join32=h,t.split32=f,t.rotr32=d,t.rotl32=g,t.sum32=p,t.sum32_3=m,t.sum32_4=v,t.sum32_5=y,t.sum64=I,t.sum64_hi=E,t.sum64_lo=k,t.sum64_4_hi=R,t.sum64_4_lo=T,t.sum64_5_hi=j,t.sum64_5_lo=W,t.rotr64_hi=H,t.rotr64_lo=X,t.shr64_hi=x,t.shr64_lo=N},{inherits:440,"minimalistic-assert":453}],438:[function(e,r,t){var n=e("hash.js"),a=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");function o(i){if(!(this instanceof o))return new o(i);this.hash=i.hash,this.predResist=!!i.predResist,this.outLen=this.hash.outSize,this.minEntropy=i.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var c=a.toArray(i.entropy,i.entropyEnc||"hex"),u=a.toArray(i.nonce,i.nonceEnc||"hex"),l=a.toArray(i.pers,i.persEnc||"hex");s(c.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(c,u,l)}r.exports=o,o.prototype._init=function(i,c,u){var l=i.concat(c).concat(u);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var A=0;A<this.V.length;A++)this.K[A]=0,this.V[A]=1;this._update(l),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},o.prototype._update=function(i){var c=this._hmac().update(this.V).update([0]);i&&(c=c.update(i)),this.K=c.digest(),this.V=this._hmac().update(this.V).digest(),i&&(this.K=this._hmac().update(this.V).update([1]).update(i).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(i,c,u,l){typeof c!="string"&&(l=u,u=c,c=null),i=a.toArray(i,c),u=a.toArray(u,l),s(i.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(i.concat(u||[])),this._reseed=1},o.prototype.generate=function(i,c,u,l){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof c!="string"&&(l=u,u=c,c=null),u&&(u=a.toArray(u,l||"hex"),this._update(u));for(var A=[];A.length<i;)this.V=this._hmac().update(this.V).digest(),A=A.concat(this.V);var h=A.slice(0,i);return this._update(u),this._reseed++,a.encode(h,c)}},{"hash.js":426,"minimalistic-assert":453,"minimalistic-crypto-utils":454}],439:[function(e,r,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(n,a,s,o,i){var c,u,l=8*i-o-1,A=(1<<l)-1,h=A>>1,f=-7,d=s?i-1:0,g=s?-1:1,p=n[a+d];for(d+=g,c=p&(1<<-f)-1,p>>=-f,f+=l;f>0;c=256*c+n[a+d],d+=g,f-=8);for(u=c&(1<<-f)-1,c>>=-f,f+=o;f>0;u=256*u+n[a+d],d+=g,f-=8);if(c===0)c=1-h;else{if(c===A)return u?NaN:1/0*(p?-1:1);u+=Math.pow(2,o),c-=h}return(p?-1:1)*u*Math.pow(2,c-o)},t.write=function(n,a,s,o,i,c){var u,l,A,h=8*c-i-1,f=(1<<h)-1,d=f>>1,g=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=o?0:c-1,m=o?1:-1,v=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(l=isNaN(a)?1:0,u=f):(u=Math.floor(Math.log(a)/Math.LN2),a*(A=Math.pow(2,-u))<1&&(u--,A*=2),(a+=u+d>=1?g/A:g*Math.pow(2,1-d))*A>=2&&(u++,A/=2),u+d>=f?(l=0,u=f):u+d>=1?(l=(a*A-1)*Math.pow(2,i),u+=d):(l=a*Math.pow(2,d-1)*Math.pow(2,i),u=0));i>=8;n[s+p]=255&l,p+=m,l/=256,i-=8);for(u=u<<i|l,h+=i;h>0;n[s+p]=255&u,p+=m,u/=256,h-=8);n[s+p-m]|=128*v}},{}],440:[function(e,r,t){typeof Object.create=="function"?r.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:r.exports=function(n,a){if(a){n.super_=a;var s=function(){};s.prototype=a.prototype,n.prototype=new s,n.prototype.constructor=n}}},{}],441:[function(e,r,t){(function(n,a,s,o,i,c,u,l){(function(){/*!
  93. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  94. <http://stuartk.com/jszip>
  95. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  96. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  97. JSZip uses the library pako released under the MIT license :
  98. https://github.com/nodeca/pako/blob/main/LICENSE
  99. */(function(A){typeof t=="object"&&r!==void 0?r.exports=A():(typeof window<"u"?window:a!==void 0?a:typeof self<"u"?self:this).JSZip=A()})(function(){return function A(h,f,d){function g(v,y){if(!f[v]){if(!h[v]){var I=typeof e=="function"&&e;if(!y&&I)return I(v,!0);if(p)return p(v,!0);var E=new Error("Cannot find module '"+v+"'");throw E.code="MODULE_NOT_FOUND",E}var k=f[v]={exports:{}};h[v][0].call(k.exports,function(R){return g(h[v][1][R]||R)},k,k.exports,A,h,f,d)}return f[v].exports}for(var p=typeof e=="function"&&e,m=0;m<d.length;m++)g(d[m]);return g}({1:[function(A,h,f){var d=A("./utils"),g=A("./support"),p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";f.encode=function(m){for(var v,y,I,E,k,R,T,j=[],W=0,H=m.length,X=H,x=d.getTypeOf(m)!=="string";W<m.length;)X=H-W,I=x?(v=m[W++],y=W<H?m[W++]:0,W<H?m[W++]:0):(v=m.charCodeAt(W++),y=W<H?m.charCodeAt(W++):0,W<H?m.charCodeAt(W++):0),E=v>>2,k=(3&v)<<4|y>>4,R=1<X?(15&y)<<2|I>>6:64,T=2<X?63&I:64,j.push(p.charAt(E)+p.charAt(k)+p.charAt(R)+p.charAt(T));return j.join("")},f.decode=function(m){var v,y,I,E,k,R,T=0,j=0,W="data:";if(m.substr(0,W.length)===W)throw new Error("Invalid base64 input, it looks like a data url.");var H,X=3*(m=m.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(m.charAt(m.length-1)===p.charAt(64)&&X--,m.charAt(m.length-2)===p.charAt(64)&&X--,X%1!=0)throw new Error("Invalid base64 input, bad content length.");for(H=g.uint8array?new Uint8Array(0|X):new Array(0|X);T<m.length;)v=p.indexOf(m.charAt(T++))<<2|(E=p.indexOf(m.charAt(T++)))>>4,y=(15&E)<<4|(k=p.indexOf(m.charAt(T++)))>>2,I=(3&k)<<6|(R=p.indexOf(m.charAt(T++))),H[j++]=v,k!==64&&(H[j++]=y),R!==64&&(H[j++]=I);return H}},{"./support":30,"./utils":32}],2:[function(A,h,f){var d=A("./external"),g=A("./stream/DataWorker"),p=A("./stream/Crc32Probe"),m=A("./stream/DataLengthProbe");function v(y,I,E,k,R){this.compressedSize=y,this.uncompressedSize=I,this.crc32=E,this.compression=k,this.compressedContent=R}v.prototype={getContentWorker:function(){var y=new g(d.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new m("data_length")),I=this;return y.on("end",function(){if(this.streamInfo.data_length!==I.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),y},getCompressedWorker:function(){return new g(d.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},v.createWorkerFrom=function(y,I,E){return y.pipe(new p).pipe(new m("uncompressedSize")).pipe(I.compressWorker(E)).pipe(new m("compressedSize")).withStreamInfo("compression",I)},h.exports=v},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(A,h,f){var d=A("./stream/GenericWorker");f.STORE={magic:"\0\0",compressWorker:function(){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},f.DEFLATE=A("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(A,h,f){var d=A("./utils"),g=function(){for(var p,m=[],v=0;v<256;v++){p=v;for(var y=0;y<8;y++)p=1&p?3988292384^p>>>1:p>>>1;m[v]=p}return m}();h.exports=function(p,m){return p!==void 0&&p.length?d.getTypeOf(p)!=="string"?function(v,y,I,E){var k=g,R=E+I;v^=-1;for(var T=E;T<R;T++)v=v>>>8^k[255&(v^y[T])];return-1^v}(0|m,p,p.length,0):function(v,y,I,E){var k=g,R=E+I;v^=-1;for(var T=E;T<R;T++)v=v>>>8^k[255&(v^y.charCodeAt(T))];return-1^v}(0|m,p,p.length,0):0}},{"./utils":32}],5:[function(A,h,f){f.base64=!1,f.binary=!1,f.dir=!1,f.createFolders=!0,f.date=null,f.compression=null,f.compressionOptions=null,f.comment=null,f.unixPermissions=null,f.dosPermissions=null},{}],6:[function(A,h,f){var d=null;d=typeof Promise<"u"?Promise:A("lie"),h.exports={Promise:d}},{lie:37}],7:[function(A,h,f){var d=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",g=A("pako"),p=A("./utils"),m=A("./stream/GenericWorker"),v=d?"uint8array":"array";function y(I,E){m.call(this,"FlateWorker/"+I),this._pako=null,this._pakoAction=I,this._pakoOptions=E,this.meta={}}f.magic="\b\0",p.inherits(y,m),y.prototype.processChunk=function(I){this.meta=I.meta,this._pako===null&&this._createPako(),this._pako.push(p.transformTo(v,I.data),!1)},y.prototype.flush=function(){m.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},y.prototype.cleanUp=function(){m.prototype.cleanUp.call(this),this._pako=null},y.prototype._createPako=function(){this._pako=new g[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var I=this;this._pako.onData=function(E){I.push({data:E,meta:I.meta})}},f.compressWorker=function(I){return new y("Deflate",I)},f.uncompressWorker=function(){return new y("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(A,h,f){function d(k,R){var T,j="";for(T=0;T<R;T++)j+=String.fromCharCode(255&k),k>>>=8;return j}function g(k,R,T,j,W,H){var X,x,N=k.file,C=k.compression,w=H!==v.utf8encode,Q=p.transformTo("string",H(N.name)),B=p.transformTo("string",v.utf8encode(N.name)),S=N.comment,O=p.transformTo("string",H(S)),F=p.transformTo("string",v.utf8encode(S)),Y=B.length!==N.name.length,M=F.length!==S.length,z="",ue="",ae="",Ne=N.dir,Ge=N.date,Ye={crc32:0,compressedSize:0,uncompressedSize:0};R&&!T||(Ye.crc32=k.crc32,Ye.compressedSize=k.compressedSize,Ye.uncompressedSize=k.uncompressedSize);var Ae=0;R&&(Ae|=8),w||!Y&&!M||(Ae|=2048);var te,he,de,Ke=0,le=0;Ne&&(Ke|=16),W==="UNIX"?(le=798,Ke|=(te=N.unixPermissions,he=Ne,de=te,te||(de=he?16893:33204),(65535&de)<<16)):(le=20,Ke|=function(At){return 63&(At||0)}(N.dosPermissions)),X=Ge.getUTCHours(),X<<=6,X|=Ge.getUTCMinutes(),X<<=5,X|=Ge.getUTCSeconds()/2,x=Ge.getUTCFullYear()-1980,x<<=4,x|=Ge.getUTCMonth()+1,x<<=5,x|=Ge.getUTCDate(),Y&&(ue=d(1,1)+d(y(Q),4)+B,z+="up"+d(ue.length,2)+ue),M&&(ae=d(1,1)+d(y(O),4)+F,z+="uc"+d(ae.length,2)+ae);var Ce="";return Ce+=`
  100. \0`,Ce+=d(Ae,2),Ce+=C.magic,Ce+=d(X,2),Ce+=d(x,2),Ce+=d(Ye.crc32,4),Ce+=d(Ye.compressedSize,4),Ce+=d(Ye.uncompressedSize,4),Ce+=d(Q.length,2),Ce+=d(z.length,2),{fileRecord:I.LOCAL_FILE_HEADER+Ce+Q+z,dirRecord:I.CENTRAL_FILE_HEADER+d(le,2)+Ce+d(O.length,2)+"\0\0\0\0"+d(Ke,4)+d(j,4)+Q+z+O}}var p=A("../utils"),m=A("../stream/GenericWorker"),v=A("../utf8"),y=A("../crc32"),I=A("../signature");function E(k,R,T,j){m.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=R,this.zipPlatform=T,this.encodeFileName=j,this.streamFiles=k,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}p.inherits(E,m),E.prototype.push=function(k){var R=k.meta.percent||0,T=this.entriesCount,j=this._sources.length;this.accumulate?this.contentBuffer.push(k):(this.bytesWritten+=k.data.length,m.prototype.push.call(this,{data:k.data,meta:{currentFile:this.currentFile,percent:T?(R+100*(T-j-1))/T:100}}))},E.prototype.openedSource=function(k){this.currentSourceOffset=this.bytesWritten,this.currentFile=k.file.name;var R=this.streamFiles&&!k.file.dir;if(R){var T=g(k,R,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:T.fileRecord,meta:{percent:0}})}else this.accumulate=!0},E.prototype.closedSource=function(k){this.accumulate=!1;var R,T=this.streamFiles&&!k.file.dir,j=g(k,T,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(j.dirRecord),T)this.push({data:(R=k,I.DATA_DESCRIPTOR+d(R.crc32,4)+d(R.compressedSize,4)+d(R.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:j.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},E.prototype.flush=function(){for(var k=this.bytesWritten,R=0;R<this.dirRecords.length;R++)this.push({data:this.dirRecords[R],meta:{percent:100}});var T,j,W,H,X,x,N=this.bytesWritten-k,C=(T=this.dirRecords.length,j=N,W=k,H=this.zipComment,X=this.encodeFileName,x=p.transformTo("string",X(H)),I.CENTRAL_DIRECTORY_END+"\0\0\0\0"+d(T,2)+d(T,2)+d(j,4)+d(W,4)+d(x.length,2)+x);this.push({data:C,meta:{percent:100}})},E.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},E.prototype.registerPrevious=function(k){this._sources.push(k);var R=this;return k.on("data",function(T){R.processChunk(T)}),k.on("end",function(){R.closedSource(R.previous.streamInfo),R._sources.length?R.prepareNextSource():R.end()}),k.on("error",function(T){R.error(T)}),this},E.prototype.resume=function(){return!!m.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},E.prototype.error=function(k){var R=this._sources;if(!m.prototype.error.call(this,k))return!1;for(var T=0;T<R.length;T++)try{R[T].error(k)}catch{}return!0},E.prototype.lock=function(){m.prototype.lock.call(this);for(var k=this._sources,R=0;R<k.length;R++)k[R].lock()},h.exports=E},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(A,h,f){var d=A("../compressions"),g=A("./ZipFileWorker");f.generateWorker=function(p,m,v){var y=new g(m.streamFiles,v,m.platform,m.encodeFileName),I=0;try{p.forEach(function(E,k){I++;var R=function(H,X){var x=H||X,N=d[x];if(!N)throw new Error(x+" is not a valid compression method !");return N}(k.options.compression,m.compression),T=k.options.compressionOptions||m.compressionOptions||{},j=k.dir,W=k.date;k._compressWorker(R,T).withStreamInfo("file",{name:E,dir:j,date:W,comment:k.comment||"",unixPermissions:k.unixPermissions,dosPermissions:k.dosPermissions}).pipe(y)}),y.entriesCount=I}catch(E){y.error(E)}return y}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(A,h,f){function d(){if(!(this instanceof d))return new d;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var g=new d;for(var p in this)typeof this[p]!="function"&&(g[p]=this[p]);return g}}(d.prototype=A("./object")).loadAsync=A("./load"),d.support=A("./support"),d.defaults=A("./defaults"),d.version="3.10.1",d.loadAsync=function(g,p){return new d().loadAsync(g,p)},d.external=A("./external"),h.exports=d},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(A,h,f){var d=A("./utils"),g=A("./external"),p=A("./utf8"),m=A("./zipEntries"),v=A("./stream/Crc32Probe"),y=A("./nodejsUtils");function I(E){return new g.Promise(function(k,R){var T=E.decompressed.getContentWorker().pipe(new v);T.on("error",function(j){R(j)}).on("end",function(){T.streamInfo.crc32!==E.decompressed.crc32?R(new Error("Corrupted zip : CRC32 mismatch")):k()}).resume()})}h.exports=function(E,k){var R=this;return k=d.extend(k||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:p.utf8decode}),y.isNode&&y.isStream(E)?g.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):d.prepareContent("the loaded zip file",E,!0,k.optimizedBinaryString,k.base64).then(function(T){var j=new m(k);return j.load(T),j}).then(function(T){var j=[g.Promise.resolve(T)],W=T.files;if(k.checkCRC32)for(var H=0;H<W.length;H++)j.push(I(W[H]));return g.Promise.all(j)}).then(function(T){for(var j=T.shift(),W=j.files,H=0;H<W.length;H++){var X=W[H],x=X.fileNameStr,N=d.resolve(X.fileNameStr);R.file(N,X.decompressed,{binary:!0,optimizedBinaryString:!0,date:X.date,dir:X.dir,comment:X.fileCommentStr.length?X.fileCommentStr:null,unixPermissions:X.unixPermissions,dosPermissions:X.dosPermissions,createFolders:k.createFolders}),X.dir||(R.file(N).unsafeOriginalName=x)}return j.zipComment.length&&(R.comment=j.zipComment),R})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(A,h,f){var d=A("../utils"),g=A("../stream/GenericWorker");function p(m,v){g.call(this,"Nodejs stream input adapter for "+m),this._upstreamEnded=!1,this._bindStream(v)}d.inherits(p,g),p.prototype._bindStream=function(m){var v=this;(this._stream=m).pause(),m.on("data",function(y){v.push({data:y,meta:{percent:0}})}).on("error",function(y){v.isPaused?this.generatedError=y:v.error(y)}).on("end",function(){v.isPaused?v._upstreamEnded=!0:v.end()})},p.prototype.pause=function(){return!!g.prototype.pause.call(this)&&(this._stream.pause(),!0)},p.prototype.resume=function(){return!!g.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},h.exports=p},{"../stream/GenericWorker":28,"../utils":32}],13:[function(A,h,f){var d=A("readable-stream").Readable;function g(p,m,v){d.call(this,m),this._helper=p;var y=this;p.on("data",function(I,E){y.push(I)||y._helper.pause(),v&&v(E)}).on("error",function(I){y.emit("error",I)}).on("end",function(){y.push(null)})}A("../utils").inherits(g,d),g.prototype._read=function(){this._helper.resume()},h.exports=g},{"../utils":32,"readable-stream":16}],14:[function(A,h,f){h.exports={isNode:s!==void 0,newBufferFrom:function(d,g){if(s.from&&s.from!==Uint8Array.from)return s.from(d,g);if(typeof d=="number")throw new Error('The "data" argument must not be a number');return new s(d,g)},allocBuffer:function(d){if(s.alloc)return s.alloc(d);var g=new s(d);return g.fill(0),g},isBuffer:function(d){return s.isBuffer(d)},isStream:function(d){return d&&typeof d.on=="function"&&typeof d.pause=="function"&&typeof d.resume=="function"}}},{}],15:[function(A,h,f){function d(N,C,w){var Q,B=p.getTypeOf(C),S=p.extend(w||{},y);S.date=S.date||new Date,S.compression!==null&&(S.compression=S.compression.toUpperCase()),typeof S.unixPermissions=="string"&&(S.unixPermissions=parseInt(S.unixPermissions,8)),S.unixPermissions&&16384&S.unixPermissions&&(S.dir=!0),S.dosPermissions&&16&S.dosPermissions&&(S.dir=!0),S.dir&&(N=W(N)),S.createFolders&&(Q=j(N))&&H.call(this,Q,!0);var O=B==="string"&&S.binary===!1&&S.base64===!1;w&&w.binary!==void 0||(S.binary=!O),(C instanceof I&&C.uncompressedSize===0||S.dir||!C||C.length===0)&&(S.base64=!1,S.binary=!0,C="",S.compression="STORE",B="string");var F=null;F=C instanceof I||C instanceof m?C:R.isNode&&R.isStream(C)?new T(N,C):p.prepareContent(N,C,S.binary,S.optimizedBinaryString,S.base64);var Y=new E(N,F,S);this.files[N]=Y}var g=A("./utf8"),p=A("./utils"),m=A("./stream/GenericWorker"),v=A("./stream/StreamHelper"),y=A("./defaults"),I=A("./compressedObject"),E=A("./zipObject"),k=A("./generate"),R=A("./nodejsUtils"),T=A("./nodejs/NodejsStreamInputAdapter"),j=function(N){N.slice(-1)==="/"&&(N=N.substring(0,N.length-1));var C=N.lastIndexOf("/");return 0<C?N.substring(0,C):""},W=function(N){return N.slice(-1)!=="/"&&(N+="/"),N},H=function(N,C){return C=C!==void 0?C:y.createFolders,N=W(N),this.files[N]||d.call(this,N,null,{dir:!0,createFolders:C}),this.files[N]};function X(N){return Object.prototype.toString.call(N)==="[object RegExp]"}var x={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(N){var C,w,Q;for(C in this.files)Q=this.files[C],(w=C.slice(this.root.length,C.length))&&C.slice(0,this.root.length)===this.root&&N(w,Q)},filter:function(N){var C=[];return this.forEach(function(w,Q){N(w,Q)&&C.push(Q)}),C},file:function(N,C,w){if(arguments.length!==1)return N=this.root+N,d.call(this,N,C,w),this;if(X(N)){var Q=N;return this.filter(function(S,O){return!O.dir&&Q.test(S)})}var B=this.files[this.root+N];return B&&!B.dir?B:null},folder:function(N){if(!N)return this;if(X(N))return this.filter(function(B,S){return S.dir&&N.test(B)});var C=this.root+N,w=H.call(this,C),Q=this.clone();return Q.root=w.name,Q},remove:function(N){N=this.root+N;var C=this.files[N];if(C||(N.slice(-1)!=="/"&&(N+="/"),C=this.files[N]),C&&!C.dir)delete this.files[N];else for(var w=this.filter(function(B,S){return S.name.slice(0,N.length)===N}),Q=0;Q<w.length;Q++)delete this.files[w[Q].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(N){var C,w={};try{if((w=p.extend(N||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:g.utf8encode})).type=w.type.toLowerCase(),w.compression=w.compression.toUpperCase(),w.type==="binarystring"&&(w.type="string"),!w.type)throw new Error("No output type specified.");p.checkSupport(w.type),w.platform!=="darwin"&&w.platform!=="freebsd"&&w.platform!=="linux"&&w.platform!=="sunos"||(w.platform="UNIX"),w.platform==="win32"&&(w.platform="DOS");var Q=w.comment||this.comment||"";C=k.generateWorker(this,w,Q)}catch(B){(C=new m("error")).error(B)}return new v(C,w.type||"string",w.mimeType)},generateAsync:function(N,C){return this.generateInternalStream(N).accumulate(C)},generateNodeStream:function(N,C){return(N=N||{}).type||(N.type="nodebuffer"),this.generateInternalStream(N).toNodejsStream(C)}};h.exports=x},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(A,h,f){h.exports=A("stream")},{stream:void 0}],17:[function(A,h,f){var d=A("./DataReader");function g(p){d.call(this,p);for(var m=0;m<this.data.length;m++)p[m]=255&p[m]}A("../utils").inherits(g,d),g.prototype.byteAt=function(p){return this.data[this.zero+p]},g.prototype.lastIndexOfSignature=function(p){for(var m=p.charCodeAt(0),v=p.charCodeAt(1),y=p.charCodeAt(2),I=p.charCodeAt(3),E=this.length-4;0<=E;--E)if(this.data[E]===m&&this.data[E+1]===v&&this.data[E+2]===y&&this.data[E+3]===I)return E-this.zero;return-1},g.prototype.readAndCheckSignature=function(p){var m=p.charCodeAt(0),v=p.charCodeAt(1),y=p.charCodeAt(2),I=p.charCodeAt(3),E=this.readData(4);return m===E[0]&&v===E[1]&&y===E[2]&&I===E[3]},g.prototype.readData=function(p){if(this.checkOffset(p),p===0)return[];var m=this.data.slice(this.zero+this.index,this.zero+this.index+p);return this.index+=p,m},h.exports=g},{"../utils":32,"./DataReader":18}],18:[function(A,h,f){var d=A("../utils");function g(p){this.data=p,this.length=p.length,this.index=0,this.zero=0}g.prototype={checkOffset:function(p){this.checkIndex(this.index+p)},checkIndex:function(p){if(this.length<this.zero+p||p<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+p+"). Corrupted zip ?")},setIndex:function(p){this.checkIndex(p),this.index=p},skip:function(p){this.setIndex(this.index+p)},byteAt:function(){},readInt:function(p){var m,v=0;for(this.checkOffset(p),m=this.index+p-1;m>=this.index;m--)v=(v<<8)+this.byteAt(m);return this.index+=p,v},readString:function(p){return d.transformTo("string",this.readData(p))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var p=this.readInt(4);return new Date(Date.UTC(1980+(p>>25&127),(p>>21&15)-1,p>>16&31,p>>11&31,p>>5&63,(31&p)<<1))}},h.exports=g},{"../utils":32}],19:[function(A,h,f){var d=A("./Uint8ArrayReader");function g(p){d.call(this,p)}A("../utils").inherits(g,d),g.prototype.readData=function(p){this.checkOffset(p);var m=this.data.slice(this.zero+this.index,this.zero+this.index+p);return this.index+=p,m},h.exports=g},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(A,h,f){var d=A("./DataReader");function g(p){d.call(this,p)}A("../utils").inherits(g,d),g.prototype.byteAt=function(p){return this.data.charCodeAt(this.zero+p)},g.prototype.lastIndexOfSignature=function(p){return this.data.lastIndexOf(p)-this.zero},g.prototype.readAndCheckSignature=function(p){return p===this.readData(4)},g.prototype.readData=function(p){this.checkOffset(p);var m=this.data.slice(this.zero+this.index,this.zero+this.index+p);return this.index+=p,m},h.exports=g},{"../utils":32,"./DataReader":18}],21:[function(A,h,f){var d=A("./ArrayReader");function g(p){d.call(this,p)}A("../utils").inherits(g,d),g.prototype.readData=function(p){if(this.checkOffset(p),p===0)return new Uint8Array(0);var m=this.data.subarray(this.zero+this.index,this.zero+this.index+p);return this.index+=p,m},h.exports=g},{"../utils":32,"./ArrayReader":17}],22:[function(A,h,f){var d=A("../utils"),g=A("../support"),p=A("./ArrayReader"),m=A("./StringReader"),v=A("./NodeBufferReader"),y=A("./Uint8ArrayReader");h.exports=function(I){var E=d.getTypeOf(I);return d.checkSupport(E),E!=="string"||g.uint8array?E==="nodebuffer"?new v(I):g.uint8array?new y(d.transformTo("uint8array",I)):new p(d.transformTo("array",I)):new m(I)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(A,h,f){f.LOCAL_FILE_HEADER="PK",f.CENTRAL_FILE_HEADER="PK",f.CENTRAL_DIRECTORY_END="PK",f.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",f.ZIP64_CENTRAL_DIRECTORY_END="PK",f.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(A,h,f){var d=A("./GenericWorker"),g=A("../utils");function p(m){d.call(this,"ConvertWorker to "+m),this.destType=m}g.inherits(p,d),p.prototype.processChunk=function(m){this.push({data:g.transformTo(this.destType,m.data),meta:m.meta})},h.exports=p},{"../utils":32,"./GenericWorker":28}],25:[function(A,h,f){var d=A("./GenericWorker"),g=A("../crc32");function p(){d.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}A("../utils").inherits(p,d),p.prototype.processChunk=function(m){this.streamInfo.crc32=g(m.data,this.streamInfo.crc32||0),this.push(m)},h.exports=p},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(A,h,f){var d=A("../utils"),g=A("./GenericWorker");function p(m){g.call(this,"DataLengthProbe for "+m),this.propName=m,this.withStreamInfo(m,0)}d.inherits(p,g),p.prototype.processChunk=function(m){if(m){var v=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=v+m.data.length}g.prototype.processChunk.call(this,m)},h.exports=p},{"../utils":32,"./GenericWorker":28}],27:[function(A,h,f){var d=A("../utils"),g=A("./GenericWorker");function p(m){g.call(this,"DataWorker");var v=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,m.then(function(y){v.dataIsReady=!0,v.data=y,v.max=y&&y.length||0,v.type=d.getTypeOf(y),v.isPaused||v._tickAndRepeat()},function(y){v.error(y)})}d.inherits(p,g),p.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this.data=null},p.prototype.resume=function(){return!!g.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,d.delay(this._tickAndRepeat,[],this)),!0)},p.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(d.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},p.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var m=null,v=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":m=this.data.substring(this.index,v);break;case"uint8array":m=this.data.subarray(this.index,v);break;case"array":case"nodebuffer":m=this.data.slice(this.index,v)}return this.index=v,this.push({data:m,meta:{percent:this.max?this.index/this.max*100:0}})},h.exports=p},{"../utils":32,"./GenericWorker":28}],28:[function(A,h,f){function d(g){this.name=g||"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}d.prototype={push:function(g){this.emit("data",g)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(g){this.emit("error",g)}return!0},error:function(g){return!this.isFinished&&(this.isPaused?this.generatedError=g:(this.isFinished=!0,this.emit("error",g),this.previous&&this.previous.error(g),this.cleanUp()),!0)},on:function(g,p){return this._listeners[g].push(p),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(g,p){if(this._listeners[g])for(var m=0;m<this._listeners[g].length;m++)this._listeners[g][m].call(this,p)},pipe:function(g){return g.registerPrevious(this)},registerPrevious:function(g){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=g.streamInfo,this.mergeStreamInfo(),this.previous=g;var p=this;return g.on("data",function(m){p.processChunk(m)}),g.on("end",function(){p.end()}),g.on("error",function(m){p.error(m)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var g=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),g=!0),this.previous&&this.previous.resume(),!g},flush:function(){},processChunk:function(g){this.push(g)},withStreamInfo:function(g,p){return this.extraStreamInfo[g]=p,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var g in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,g)&&(this.streamInfo[g]=this.extraStreamInfo[g])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var g="Worker "+this.name;return this.previous?this.previous+" -> "+g:g}},h.exports=d},{}],29:[function(A,h,f){var d=A("../utils"),g=A("./ConvertWorker"),p=A("./GenericWorker"),m=A("../base64"),v=A("../support"),y=A("../external"),I=null;if(v.nodestream)try{I=A("../nodejs/NodejsStreamOutputAdapter")}catch{}function E(R,T){return new y.Promise(function(j,W){var H=[],X=R._internalType,x=R._outputType,N=R._mimeType;R.on("data",function(C,w){H.push(C),T&&T(w)}).on("error",function(C){H=[],W(C)}).on("end",function(){try{var C=function(w,Q,B){switch(w){case"blob":return d.newBlob(d.transformTo("arraybuffer",Q),B);case"base64":return m.encode(Q);default:return d.transformTo(w,Q)}}(x,function(w,Q){var B,S=0,O=null,F=0;for(B=0;B<Q.length;B++)F+=Q[B].length;switch(w){case"string":return Q.join("");case"array":return Array.prototype.concat.apply([],Q);case"uint8array":for(O=new Uint8Array(F),B=0;B<Q.length;B++)O.set(Q[B],S),S+=Q[B].length;return O;case"nodebuffer":return s.concat(Q);default:throw new Error("concat : unsupported type '"+w+"'")}}(X,H),N);j(C)}catch(w){W(w)}H=[]}).resume()})}function k(R,T,j){var W=T;switch(T){case"blob":case"arraybuffer":W="uint8array";break;case"base64":W="string"}try{this._internalType=W,this._outputType=T,this._mimeType=j,d.checkSupport(W),this._worker=R.pipe(new g(W)),R.lock()}catch(H){this._worker=new p("error"),this._worker.error(H)}}k.prototype={accumulate:function(R){return E(this,R)},on:function(R,T){var j=this;return R==="data"?this._worker.on(R,function(W){T.call(j,W.data,W.meta)}):this._worker.on(R,function(){d.delay(T,arguments,j)}),this},resume:function(){return d.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(R){if(d.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new I(this,{objectMode:this._outputType!=="nodebuffer"},R)}},h.exports=k},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(A,h,f){if(f.base64=!0,f.array=!0,f.string=!0,f.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",f.nodebuffer=s!==void 0,f.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")f.blob=!1;else{var d=new ArrayBuffer(0);try{f.blob=new Blob([d],{type:"application/zip"}).size===0}catch{try{var g=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);g.append(d),f.blob=g.getBlob("application/zip").size===0}catch{f.blob=!1}}}try{f.nodestream=!!A("readable-stream").Readable}catch{f.nodestream=!1}},{"readable-stream":16}],31:[function(A,h,f){for(var d=A("./utils"),g=A("./support"),p=A("./nodejsUtils"),m=A("./stream/GenericWorker"),v=new Array(256),y=0;y<256;y++)v[y]=252<=y?6:248<=y?5:240<=y?4:224<=y?3:192<=y?2:1;function I(){m.call(this,"utf-8 decode"),this.leftOver=null}function E(){m.call(this,"utf-8 encode")}v[254]=v[254]=1,f.utf8encode=function(k){return g.nodebuffer?p.newBufferFrom(k,"utf-8"):function(R){var T,j,W,H,X,x=R.length,N=0;for(H=0;H<x;H++)(64512&(j=R.charCodeAt(H)))==55296&&H+1<x&&(64512&(W=R.charCodeAt(H+1)))==56320&&(j=65536+(j-55296<<10)+(W-56320),H++),N+=j<128?1:j<2048?2:j<65536?3:4;for(T=g.uint8array?new Uint8Array(N):new Array(N),H=X=0;X<N;H++)(64512&(j=R.charCodeAt(H)))==55296&&H+1<x&&(64512&(W=R.charCodeAt(H+1)))==56320&&(j=65536+(j-55296<<10)+(W-56320),H++),j<128?T[X++]=j:(j<2048?T[X++]=192|j>>>6:(j<65536?T[X++]=224|j>>>12:(T[X++]=240|j>>>18,T[X++]=128|j>>>12&63),T[X++]=128|j>>>6&63),T[X++]=128|63&j);return T}(k)},f.utf8decode=function(k){return g.nodebuffer?d.transformTo("nodebuffer",k).toString("utf-8"):function(R){var T,j,W,H,X=R.length,x=new Array(2*X);for(T=j=0;T<X;)if((W=R[T++])<128)x[j++]=W;else if(4<(H=v[W]))x[j++]=65533,T+=H-1;else{for(W&=H===2?31:H===3?15:7;1<H&&T<X;)W=W<<6|63&R[T++],H--;1<H?x[j++]=65533:W<65536?x[j++]=W:(W-=65536,x[j++]=55296|W>>10&1023,x[j++]=56320|1023&W)}return x.length!==j&&(x.subarray?x=x.subarray(0,j):x.length=j),d.applyFromCharCode(x)}(k=d.transformTo(g.uint8array?"uint8array":"array",k))},d.inherits(I,m),I.prototype.processChunk=function(k){var R=d.transformTo(g.uint8array?"uint8array":"array",k.data);if(this.leftOver&&this.leftOver.length){if(g.uint8array){var T=R;(R=new Uint8Array(T.length+this.leftOver.length)).set(this.leftOver,0),R.set(T,this.leftOver.length)}else R=this.leftOver.concat(R);this.leftOver=null}var j=function(H,X){var x;for((X=X||H.length)>H.length&&(X=H.length),x=X-1;0<=x&&(192&H[x])==128;)x--;return x<0||x===0?X:x+v[H[x]]>X?x:X}(R),W=R;j!==R.length&&(g.uint8array?(W=R.subarray(0,j),this.leftOver=R.subarray(j,R.length)):(W=R.slice(0,j),this.leftOver=R.slice(j,R.length))),this.push({data:f.utf8decode(W),meta:k.meta})},I.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:f.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},f.Utf8DecodeWorker=I,d.inherits(E,m),E.prototype.processChunk=function(k){this.push({data:f.utf8encode(k.data),meta:k.meta})},f.Utf8EncodeWorker=E},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(A,h,f){var d=A("./support"),g=A("./base64"),p=A("./nodejsUtils"),m=A("./external");function v(T){return T}function y(T,j){for(var W=0;W<T.length;++W)j[W]=255&T.charCodeAt(W);return j}A("setimmediate"),f.newBlob=function(T,j){f.checkSupport("blob");try{return new Blob([T],{type:j})}catch{try{var W=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return W.append(T),W.getBlob(j)}catch{throw new Error("Bug : can't construct the Blob.")}}};var I={stringifyByChunk:function(T,j,W){var H=[],X=0,x=T.length;if(x<=W)return String.fromCharCode.apply(null,T);for(;X<x;)j==="array"||j==="nodebuffer"?H.push(String.fromCharCode.apply(null,T.slice(X,Math.min(X+W,x)))):H.push(String.fromCharCode.apply(null,T.subarray(X,Math.min(X+W,x)))),X+=W;return H.join("")},stringifyByChar:function(T){for(var j="",W=0;W<T.length;W++)j+=String.fromCharCode(T[W]);return j},applyCanBeUsed:{uint8array:function(){try{return d.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return d.nodebuffer&&String.fromCharCode.apply(null,p.allocBuffer(1)).length===1}catch{return!1}}()}};function E(T){var j=65536,W=f.getTypeOf(T),H=!0;if(W==="uint8array"?H=I.applyCanBeUsed.uint8array:W==="nodebuffer"&&(H=I.applyCanBeUsed.nodebuffer),H)for(;1<j;)try{return I.stringifyByChunk(T,W,j)}catch{j=Math.floor(j/2)}return I.stringifyByChar(T)}function k(T,j){for(var W=0;W<T.length;W++)j[W]=T[W];return j}f.applyFromCharCode=E;var R={};R.string={string:v,array:function(T){return y(T,new Array(T.length))},arraybuffer:function(T){return R.string.uint8array(T).buffer},uint8array:function(T){return y(T,new Uint8Array(T.length))},nodebuffer:function(T){return y(T,p.allocBuffer(T.length))}},R.array={string:E,array:v,arraybuffer:function(T){return new Uint8Array(T).buffer},uint8array:function(T){return new Uint8Array(T)},nodebuffer:function(T){return p.newBufferFrom(T)}},R.arraybuffer={string:function(T){return E(new Uint8Array(T))},array:function(T){return k(new Uint8Array(T),new Array(T.byteLength))},arraybuffer:v,uint8array:function(T){return new Uint8Array(T)},nodebuffer:function(T){return p.newBufferFrom(new Uint8Array(T))}},R.uint8array={string:E,array:function(T){return k(T,new Array(T.length))},arraybuffer:function(T){return T.buffer},uint8array:v,nodebuffer:function(T){return p.newBufferFrom(T)}},R.nodebuffer={string:E,array:function(T){return k(T,new Array(T.length))},arraybuffer:function(T){return R.nodebuffer.uint8array(T).buffer},uint8array:function(T){return k(T,new Uint8Array(T.length))},nodebuffer:v},f.transformTo=function(T,j){if(j=j||"",!T)return j;f.checkSupport(T);var W=f.getTypeOf(j);return R[W][T](j)},f.resolve=function(T){for(var j=T.split("/"),W=[],H=0;H<j.length;H++){var X=j[H];X==="."||X===""&&H!==0&&H!==j.length-1||(X===".."?W.pop():W.push(X))}return W.join("/")},f.getTypeOf=function(T){return typeof T=="string"?"string":Object.prototype.toString.call(T)==="[object Array]"?"array":d.nodebuffer&&p.isBuffer(T)?"nodebuffer":d.uint8array&&T instanceof Uint8Array?"uint8array":d.arraybuffer&&T instanceof ArrayBuffer?"arraybuffer":void 0},f.checkSupport=function(T){if(!d[T.toLowerCase()])throw new Error(T+" is not supported by this platform")},f.MAX_VALUE_16BITS=65535,f.MAX_VALUE_32BITS=-1,f.pretty=function(T){var j,W,H="";for(W=0;W<(T||"").length;W++)H+="\\x"+((j=T.charCodeAt(W))<16?"0":"")+j.toString(16).toUpperCase();return H},f.delay=function(T,j,W){l(function(){T.apply(W||null,j||[])})},f.inherits=function(T,j){function W(){}W.prototype=j.prototype,T.prototype=new W},f.extend=function(){var T,j,W={};for(T=0;T<arguments.length;T++)for(j in arguments[T])Object.prototype.hasOwnProperty.call(arguments[T],j)&&W[j]===void 0&&(W[j]=arguments[T][j]);return W},f.prepareContent=function(T,j,W,H,X){return m.Promise.resolve(j).then(function(x){return d.blob&&(x instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(x))!==-1)&&typeof FileReader<"u"?new m.Promise(function(N,C){var w=new FileReader;w.onload=function(Q){N(Q.target.result)},w.onerror=function(Q){C(Q.target.error)},w.readAsArrayBuffer(x)}):x}).then(function(x){var N,C=f.getTypeOf(x);return C?(C==="arraybuffer"?x=f.transformTo("uint8array",x):C==="string"&&(X?x=g.decode(x):W&&H!==!0&&(x=y(N=x,d.uint8array?new Uint8Array(N.length):new Array(N.length)))),x):m.Promise.reject(new Error("Can't read the data of '"+T+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(A,h,f){var d=A("./reader/readerFor"),g=A("./utils"),p=A("./signature"),m=A("./zipEntry"),v=A("./support");function y(I){this.files=[],this.loadOptions=I}y.prototype={checkSignature:function(I){if(!this.reader.readAndCheckSignature(I)){this.reader.index-=4;var E=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+g.pretty(E)+", expected "+g.pretty(I)+")")}},isSignature:function(I,E){var k=this.reader.index;this.reader.setIndex(I);var R=this.reader.readString(4)===E;return this.reader.setIndex(k),R},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var I=this.reader.readData(this.zipCommentLength),E=v.uint8array?"uint8array":"array",k=g.transformTo(E,I);this.zipComment=this.loadOptions.decodeFileName(k)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var I,E,k,R=this.zip64EndOfCentralSize-44;0<R;)I=this.reader.readInt(2),E=this.reader.readInt(4),k=this.reader.readData(E),this.zip64ExtensibleData[I]={id:I,length:E,value:k}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var I,E;for(I=0;I<this.files.length;I++)E=this.files[I],this.reader.setIndex(E.localHeaderOffset),this.checkSignature(p.LOCAL_FILE_HEADER),E.readLocalPart(this.reader),E.handleUTF8(),E.processAttributes()},readCentralDir:function(){var I;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(p.CENTRAL_FILE_HEADER);)(I=new m({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(I);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var I=this.reader.lastIndexOfSignature(p.CENTRAL_DIRECTORY_END);if(I<0)throw this.isSignature(0,p.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(I);var E=I;if(this.checkSignature(p.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===g.MAX_VALUE_16BITS||this.diskWithCentralDirStart===g.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===g.MAX_VALUE_16BITS||this.centralDirRecords===g.MAX_VALUE_16BITS||this.centralDirSize===g.MAX_VALUE_32BITS||this.centralDirOffset===g.MAX_VALUE_32BITS){if(this.zip64=!0,(I=this.reader.lastIndexOfSignature(p.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(I),this.checkSignature(p.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,p.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(p.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(p.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var k=this.centralDirOffset+this.centralDirSize;this.zip64&&(k+=20,k+=12+this.zip64EndOfCentralSize);var R=E-k;if(0<R)this.isSignature(E,p.CENTRAL_FILE_HEADER)||(this.reader.zero=R);else if(R<0)throw new Error("Corrupted zip: missing "+Math.abs(R)+" bytes.")},prepareReader:function(I){this.reader=d(I)},load:function(I){this.prepareReader(I),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},h.exports=y},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(A,h,f){var d=A("./reader/readerFor"),g=A("./utils"),p=A("./compressedObject"),m=A("./crc32"),v=A("./utf8"),y=A("./compressions"),I=A("./support");function E(k,R){this.options=k,this.loadOptions=R}E.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(k){var R,T;if(k.skip(22),this.fileNameLength=k.readInt(2),T=k.readInt(2),this.fileName=k.readData(this.fileNameLength),k.skip(T),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((R=function(j){for(var W in y)if(Object.prototype.hasOwnProperty.call(y,W)&&y[W].magic===j)return y[W];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+g.pretty(this.compressionMethod)+" unknown (inner file : "+g.transformTo("string",this.fileName)+")");this.decompressed=new p(this.compressedSize,this.uncompressedSize,this.crc32,R,k.readData(this.compressedSize))},readCentralPart:function(k){this.versionMadeBy=k.readInt(2),k.skip(2),this.bitFlag=k.readInt(2),this.compressionMethod=k.readString(2),this.date=k.readDate(),this.crc32=k.readInt(4),this.compressedSize=k.readInt(4),this.uncompressedSize=k.readInt(4);var R=k.readInt(2);if(this.extraFieldsLength=k.readInt(2),this.fileCommentLength=k.readInt(2),this.diskNumberStart=k.readInt(2),this.internalFileAttributes=k.readInt(2),this.externalFileAttributes=k.readInt(4),this.localHeaderOffset=k.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");k.skip(R),this.readExtraFields(k),this.parseZIP64ExtraField(k),this.fileComment=k.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var k=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),k==0&&(this.dosPermissions=63&this.externalFileAttributes),k==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var k=d(this.extraFields[1].value);this.uncompressedSize===g.MAX_VALUE_32BITS&&(this.uncompressedSize=k.readInt(8)),this.compressedSize===g.MAX_VALUE_32BITS&&(this.compressedSize=k.readInt(8)),this.localHeaderOffset===g.MAX_VALUE_32BITS&&(this.localHeaderOffset=k.readInt(8)),this.diskNumberStart===g.MAX_VALUE_32BITS&&(this.diskNumberStart=k.readInt(4))}},readExtraFields:function(k){var R,T,j,W=k.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});k.index+4<W;)R=k.readInt(2),T=k.readInt(2),j=k.readData(T),this.extraFields[R]={id:R,length:T,value:j};k.setIndex(W)},handleUTF8:function(){var k=I.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=v.utf8decode(this.fileName),this.fileCommentStr=v.utf8decode(this.fileComment);else{var R=this.findExtraFieldUnicodePath();if(R!==null)this.fileNameStr=R;else{var T=g.transformTo(k,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(T)}var j=this.findExtraFieldUnicodeComment();if(j!==null)this.fileCommentStr=j;else{var W=g.transformTo(k,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(W)}}},findExtraFieldUnicodePath:function(){var k=this.extraFields[28789];if(k){var R=d(k.value);return R.readInt(1)!==1||m(this.fileName)!==R.readInt(4)?null:v.utf8decode(R.readData(k.length-5))}return null},findExtraFieldUnicodeComment:function(){var k=this.extraFields[25461];if(k){var R=d(k.value);return R.readInt(1)!==1||m(this.fileComment)!==R.readInt(4)?null:v.utf8decode(R.readData(k.length-5))}return null}},h.exports=E},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(A,h,f){function d(R,T,j){this.name=R,this.dir=j.dir,this.date=j.date,this.comment=j.comment,this.unixPermissions=j.unixPermissions,this.dosPermissions=j.dosPermissions,this._data=T,this._dataBinary=j.binary,this.options={compression:j.compression,compressionOptions:j.compressionOptions}}var g=A("./stream/StreamHelper"),p=A("./stream/DataWorker"),m=A("./utf8"),v=A("./compressedObject"),y=A("./stream/GenericWorker");d.prototype={internalStream:function(R){var T=null,j="string";try{if(!R)throw new Error("No output type specified.");var W=(j=R.toLowerCase())==="string"||j==="text";j!=="binarystring"&&j!=="text"||(j="string"),T=this._decompressWorker();var H=!this._dataBinary;H&&!W&&(T=T.pipe(new m.Utf8EncodeWorker)),!H&&W&&(T=T.pipe(new m.Utf8DecodeWorker))}catch(X){(T=new y("error")).error(X)}return new g(T,j,"")},async:function(R,T){return this.internalStream(R).accumulate(T)},nodeStream:function(R,T){return this.internalStream(R||"nodebuffer").toNodejsStream(T)},_compressWorker:function(R,T){if(this._data instanceof v&&this._data.compression.magic===R.magic)return this._data.getCompressedWorker();var j=this._decompressWorker();return this._dataBinary||(j=j.pipe(new m.Utf8EncodeWorker)),v.createWorkerFrom(j,R,T)},_decompressWorker:function(){return this._data instanceof v?this._data.getContentWorker():this._data instanceof y?this._data:new p(this._data)}};for(var I=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],E=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},k=0;k<I.length;k++)d.prototype[I[k]]=E;h.exports=d},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(A,h,f){(function(d){var g,p,m=d.MutationObserver||d.WebKitMutationObserver;if(m){var v=0,y=new m(R),I=d.document.createTextNode("");y.observe(I,{characterData:!0}),g=function(){I.data=v=++v%2}}else if(d.setImmediate||d.MessageChannel===void 0)g="document"in d&&"onreadystatechange"in d.document.createElement("script")?function(){var T=d.document.createElement("script");T.onreadystatechange=function(){R(),T.onreadystatechange=null,T.parentNode.removeChild(T),T=null},d.document.documentElement.appendChild(T)}:function(){setTimeout(R,0)};else{var E=new d.MessageChannel;E.port1.onmessage=R,g=function(){E.port2.postMessage(0)}}var k=[];function R(){var T,j;p=!0;for(var W=k.length;W;){for(j=k,k=[],T=-1;++T<W;)j[T]();W=k.length}p=!1}h.exports=function(T){k.push(T)!==1||p||g()}}).call(this,a!==void 0?a:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(A,h,f){var d=A("immediate");function g(){}var p={},m=["REJECTED"],v=["FULFILLED"],y=["PENDING"];function I(W){if(typeof W!="function")throw new TypeError("resolver must be a function");this.state=y,this.queue=[],this.outcome=void 0,W!==g&&T(this,W)}function E(W,H,X){this.promise=W,typeof H=="function"&&(this.onFulfilled=H,this.callFulfilled=this.otherCallFulfilled),typeof X=="function"&&(this.onRejected=X,this.callRejected=this.otherCallRejected)}function k(W,H,X){d(function(){var x;try{x=H(X)}catch(N){return p.reject(W,N)}x===W?p.reject(W,new TypeError("Cannot resolve promise with itself")):p.resolve(W,x)})}function R(W){var H=W&&W.then;if(W&&(typeof W=="object"||typeof W=="function")&&typeof H=="function")return function(){H.apply(W,arguments)}}function T(W,H){var X=!1;function x(w){X||(X=!0,p.reject(W,w))}function N(w){X||(X=!0,p.resolve(W,w))}var C=j(function(){H(N,x)});C.status==="error"&&x(C.value)}function j(W,H){var X={};try{X.value=W(H),X.status="success"}catch(x){X.status="error",X.value=x}return X}(h.exports=I).prototype.finally=function(W){if(typeof W!="function")return this;var H=this.constructor;return this.then(function(X){return H.resolve(W()).then(function(){return X})},function(X){return H.resolve(W()).then(function(){throw X})})},I.prototype.catch=function(W){return this.then(null,W)},I.prototype.then=function(W,H){if(typeof W!="function"&&this.state===v||typeof H!="function"&&this.state===m)return this;var X=new this.constructor(g);return this.state!==y?k(X,this.state===v?W:H,this.outcome):this.queue.push(new E(X,W,H)),X},E.prototype.callFulfilled=function(W){p.resolve(this.promise,W)},E.prototype.otherCallFulfilled=function(W){k(this.promise,this.onFulfilled,W)},E.prototype.callRejected=function(W){p.reject(this.promise,W)},E.prototype.otherCallRejected=function(W){k(this.promise,this.onRejected,W)},p.resolve=function(W,H){var X=j(R,H);if(X.status==="error")return p.reject(W,X.value);var x=X.value;if(x)T(W,x);else{W.state=v,W.outcome=H;for(var N=-1,C=W.queue.length;++N<C;)W.queue[N].callFulfilled(H)}return W},p.reject=function(W,H){W.state=m,W.outcome=H;for(var X=-1,x=W.queue.length;++X<x;)W.queue[X].callRejected(H);return W},I.resolve=function(W){return W instanceof this?W:p.resolve(new this(g),W)},I.reject=function(W){var H=new this(g);return p.reject(H,W)},I.all=function(W){var H=this;if(Object.prototype.toString.call(W)!=="[object Array]")return this.reject(new TypeError("must be an array"));var X=W.length,x=!1;if(!X)return this.resolve([]);for(var N=new Array(X),C=0,w=-1,Q=new this(g);++w<X;)B(W[w],w);return Q;function B(S,O){H.resolve(S).then(function(F){N[O]=F,++C!==X||x||(x=!0,p.resolve(Q,N))},function(F){x||(x=!0,p.reject(Q,F))})}},I.race=function(W){var H=this;if(Object.prototype.toString.call(W)!=="[object Array]")return this.reject(new TypeError("must be an array"));var X=W.length,x=!1;if(!X)return this.resolve([]);for(var N,C=-1,w=new this(g);++C<X;)N=W[C],H.resolve(N).then(function(Q){x||(x=!0,p.resolve(w,Q))},function(Q){x||(x=!0,p.reject(w,Q))});return w}},{immediate:36}],38:[function(A,h,f){var d={};(0,A("./lib/utils/common").assign)(d,A("./lib/deflate"),A("./lib/inflate"),A("./lib/zlib/constants")),h.exports=d},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(A,h,f){var d=A("./zlib/deflate"),g=A("./utils/common"),p=A("./utils/strings"),m=A("./zlib/messages"),v=A("./zlib/zstream"),y=Object.prototype.toString,I=0,E=-1,k=0,R=8;function T(W){if(!(this instanceof T))return new T(W);this.options=g.assign({level:E,method:R,chunkSize:16384,windowBits:15,memLevel:8,strategy:k,to:""},W||{});var H=this.options;H.raw&&0<H.windowBits?H.windowBits=-H.windowBits:H.gzip&&0<H.windowBits&&H.windowBits<16&&(H.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new v,this.strm.avail_out=0;var X=d.deflateInit2(this.strm,H.level,H.method,H.windowBits,H.memLevel,H.strategy);if(X!==I)throw new Error(m[X]);if(H.header&&d.deflateSetHeader(this.strm,H.header),H.dictionary){var x;if(x=typeof H.dictionary=="string"?p.string2buf(H.dictionary):y.call(H.dictionary)==="[object ArrayBuffer]"?new Uint8Array(H.dictionary):H.dictionary,(X=d.deflateSetDictionary(this.strm,x))!==I)throw new Error(m[X]);this._dict_set=!0}}function j(W,H){var X=new T(H);if(X.push(W,!0),X.err)throw X.msg||m[X.err];return X.result}T.prototype.push=function(W,H){var X,x,N=this.strm,C=this.options.chunkSize;if(this.ended)return!1;x=H===~~H?H:H===!0?4:0,typeof W=="string"?N.input=p.string2buf(W):y.call(W)==="[object ArrayBuffer]"?N.input=new Uint8Array(W):N.input=W,N.next_in=0,N.avail_in=N.input.length;do{if(N.avail_out===0&&(N.output=new g.Buf8(C),N.next_out=0,N.avail_out=C),(X=d.deflate(N,x))!==1&&X!==I)return this.onEnd(X),!(this.ended=!0);N.avail_out!==0&&(N.avail_in!==0||x!==4&&x!==2)||(this.options.to==="string"?this.onData(p.buf2binstring(g.shrinkBuf(N.output,N.next_out))):this.onData(g.shrinkBuf(N.output,N.next_out)))}while((0<N.avail_in||N.avail_out===0)&&X!==1);return x===4?(X=d.deflateEnd(this.strm),this.onEnd(X),this.ended=!0,X===I):x!==2||(this.onEnd(I),!(N.avail_out=0))},T.prototype.onData=function(W){this.chunks.push(W)},T.prototype.onEnd=function(W){W===I&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=g.flattenChunks(this.chunks)),this.chunks=[],this.err=W,this.msg=this.strm.msg},f.Deflate=T,f.deflate=j,f.deflateRaw=function(W,H){return(H=H||{}).raw=!0,j(W,H)},f.gzip=function(W,H){return(H=H||{}).gzip=!0,j(W,H)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(A,h,f){var d=A("./zlib/inflate"),g=A("./utils/common"),p=A("./utils/strings"),m=A("./zlib/constants"),v=A("./zlib/messages"),y=A("./zlib/zstream"),I=A("./zlib/gzheader"),E=Object.prototype.toString;function k(T){if(!(this instanceof k))return new k(T);this.options=g.assign({chunkSize:16384,windowBits:0,to:""},T||{});var j=this.options;j.raw&&0<=j.windowBits&&j.windowBits<16&&(j.windowBits=-j.windowBits,j.windowBits===0&&(j.windowBits=-15)),!(0<=j.windowBits&&j.windowBits<16)||T&&T.windowBits||(j.windowBits+=32),15<j.windowBits&&j.windowBits<48&&!(15&j.windowBits)&&(j.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new y,this.strm.avail_out=0;var W=d.inflateInit2(this.strm,j.windowBits);if(W!==m.Z_OK)throw new Error(v[W]);this.header=new I,d.inflateGetHeader(this.strm,this.header)}function R(T,j){var W=new k(j);if(W.push(T,!0),W.err)throw W.msg||v[W.err];return W.result}k.prototype.push=function(T,j){var W,H,X,x,N,C,w=this.strm,Q=this.options.chunkSize,B=this.options.dictionary,S=!1;if(this.ended)return!1;H=j===~~j?j:j===!0?m.Z_FINISH:m.Z_NO_FLUSH,typeof T=="string"?w.input=p.binstring2buf(T):E.call(T)==="[object ArrayBuffer]"?w.input=new Uint8Array(T):w.input=T,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new g.Buf8(Q),w.next_out=0,w.avail_out=Q),(W=d.inflate(w,m.Z_NO_FLUSH))===m.Z_NEED_DICT&&B&&(C=typeof B=="string"?p.string2buf(B):E.call(B)==="[object ArrayBuffer]"?new Uint8Array(B):B,W=d.inflateSetDictionary(this.strm,C)),W===m.Z_BUF_ERROR&&S===!0&&(W=m.Z_OK,S=!1),W!==m.Z_STREAM_END&&W!==m.Z_OK)return this.onEnd(W),!(this.ended=!0);w.next_out&&(w.avail_out!==0&&W!==m.Z_STREAM_END&&(w.avail_in!==0||H!==m.Z_FINISH&&H!==m.Z_SYNC_FLUSH)||(this.options.to==="string"?(X=p.utf8border(w.output,w.next_out),x=w.next_out-X,N=p.buf2string(w.output,X),w.next_out=x,w.avail_out=Q-x,x&&g.arraySet(w.output,w.output,X,x,0),this.onData(N)):this.onData(g.shrinkBuf(w.output,w.next_out)))),w.avail_in===0&&w.avail_out===0&&(S=!0)}while((0<w.avail_in||w.avail_out===0)&&W!==m.Z_STREAM_END);return W===m.Z_STREAM_END&&(H=m.Z_FINISH),H===m.Z_FINISH?(W=d.inflateEnd(this.strm),this.onEnd(W),this.ended=!0,W===m.Z_OK):H!==m.Z_SYNC_FLUSH||(this.onEnd(m.Z_OK),!(w.avail_out=0))},k.prototype.onData=function(T){this.chunks.push(T)},k.prototype.onEnd=function(T){T===m.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=g.flattenChunks(this.chunks)),this.chunks=[],this.err=T,this.msg=this.strm.msg},f.Inflate=k,f.inflate=R,f.inflateRaw=function(T,j){return(j=j||{}).raw=!0,R(T,j)},f.ungzip=R},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(A,h,f){var d=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";f.assign=function(m){for(var v=Array.prototype.slice.call(arguments,1);v.length;){var y=v.shift();if(y){if(typeof y!="object")throw new TypeError(y+"must be non-object");for(var I in y)y.hasOwnProperty(I)&&(m[I]=y[I])}}return m},f.shrinkBuf=function(m,v){return m.length===v?m:m.subarray?m.subarray(0,v):(m.length=v,m)};var g={arraySet:function(m,v,y,I,E){if(v.subarray&&m.subarray)m.set(v.subarray(y,y+I),E);else for(var k=0;k<I;k++)m[E+k]=v[y+k]},flattenChunks:function(m){var v,y,I,E,k,R;for(v=I=0,y=m.length;v<y;v++)I+=m[v].length;for(R=new Uint8Array(I),v=E=0,y=m.length;v<y;v++)k=m[v],R.set(k,E),E+=k.length;return R}},p={arraySet:function(m,v,y,I,E){for(var k=0;k<I;k++)m[E+k]=v[y+k]},flattenChunks:function(m){return[].concat.apply([],m)}};f.setTyped=function(m){m?(f.Buf8=Uint8Array,f.Buf16=Uint16Array,f.Buf32=Int32Array,f.assign(f,g)):(f.Buf8=Array,f.Buf16=Array,f.Buf32=Array,f.assign(f,p))},f.setTyped(d)},{}],42:[function(A,h,f){var d=A("./common"),g=!0,p=!0;try{String.fromCharCode.apply(null,[0])}catch{g=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{p=!1}for(var m=new d.Buf8(256),v=0;v<256;v++)m[v]=252<=v?6:248<=v?5:240<=v?4:224<=v?3:192<=v?2:1;function y(I,E){if(E<65537&&(I.subarray&&p||!I.subarray&&g))return String.fromCharCode.apply(null,d.shrinkBuf(I,E));for(var k="",R=0;R<E;R++)k+=String.fromCharCode(I[R]);return k}m[254]=m[254]=1,f.string2buf=function(I){var E,k,R,T,j,W=I.length,H=0;for(T=0;T<W;T++)(64512&(k=I.charCodeAt(T)))==55296&&T+1<W&&(64512&(R=I.charCodeAt(T+1)))==56320&&(k=65536+(k-55296<<10)+(R-56320),T++),H+=k<128?1:k<2048?2:k<65536?3:4;for(E=new d.Buf8(H),T=j=0;j<H;T++)(64512&(k=I.charCodeAt(T)))==55296&&T+1<W&&(64512&(R=I.charCodeAt(T+1)))==56320&&(k=65536+(k-55296<<10)+(R-56320),T++),k<128?E[j++]=k:(k<2048?E[j++]=192|k>>>6:(k<65536?E[j++]=224|k>>>12:(E[j++]=240|k>>>18,E[j++]=128|k>>>12&63),E[j++]=128|k>>>6&63),E[j++]=128|63&k);return E},f.buf2binstring=function(I){return y(I,I.length)},f.binstring2buf=function(I){for(var E=new d.Buf8(I.length),k=0,R=E.length;k<R;k++)E[k]=I.charCodeAt(k);return E},f.buf2string=function(I,E){var k,R,T,j,W=E||I.length,H=new Array(2*W);for(k=R=0;k<W;)if((T=I[k++])<128)H[R++]=T;else if(4<(j=m[T]))H[R++]=65533,k+=j-1;else{for(T&=j===2?31:j===3?15:7;1<j&&k<W;)T=T<<6|63&I[k++],j--;1<j?H[R++]=65533:T<65536?H[R++]=T:(T-=65536,H[R++]=55296|T>>10&1023,H[R++]=56320|1023&T)}return y(H,R)},f.utf8border=function(I,E){var k;for((E=E||I.length)>I.length&&(E=I.length),k=E-1;0<=k&&(192&I[k])==128;)k--;return k<0||k===0?E:k+m[I[k]]>E?k:E}},{"./common":41}],43:[function(A,h,f){h.exports=function(d,g,p,m){for(var v=65535&d|0,y=d>>>16&65535|0,I=0;p!==0;){for(p-=I=2e3<p?2e3:p;y=y+(v=v+g[m++]|0)|0,--I;);v%=65521,y%=65521}return v|y<<16|0}},{}],44:[function(A,h,f){h.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(A,h,f){var d=function(){for(var g,p=[],m=0;m<256;m++){g=m;for(var v=0;v<8;v++)g=1&g?3988292384^g>>>1:g>>>1;p[m]=g}return p}();h.exports=function(g,p,m,v){var y=d,I=v+m;g^=-1;for(var E=v;E<I;E++)g=g>>>8^y[255&(g^p[E])];return-1^g}},{}],46:[function(A,h,f){var d,g=A("../utils/common"),p=A("./trees"),m=A("./adler32"),v=A("./crc32"),y=A("./messages"),I=0,E=4,k=0,R=-2,T=-1,j=4,W=2,H=8,X=9,x=286,N=30,C=19,w=2*x+1,Q=15,B=3,S=258,O=S+B+1,F=42,Y=113,M=1,z=2,ue=3,ae=4;function Ne(re,ot){return re.msg=y[ot],ot}function Ge(re){return(re<<1)-(4<re?9:0)}function Ye(re){for(var ot=re.length;0<=--ot;)re[ot]=0}function Ae(re){var ot=re.state,pt=ot.pending;pt>re.avail_out&&(pt=re.avail_out),pt!==0&&(g.arraySet(re.output,ot.pending_buf,ot.pending_out,pt,re.next_out),re.next_out+=pt,ot.pending_out+=pt,re.total_out+=pt,re.avail_out-=pt,ot.pending-=pt,ot.pending===0&&(ot.pending_out=0))}function te(re,ot){p._tr_flush_block(re,0<=re.block_start?re.block_start:-1,re.strstart-re.block_start,ot),re.block_start=re.strstart,Ae(re.strm)}function he(re,ot){re.pending_buf[re.pending++]=ot}function de(re,ot){re.pending_buf[re.pending++]=ot>>>8&255,re.pending_buf[re.pending++]=255&ot}function Ke(re,ot){var pt,Be,Ee=re.max_chain_length,Me=re.strstart,yt=re.prev_length,pe=re.nice_match,me=re.strstart>re.w_size-O?re.strstart-(re.w_size-O):0,Re=re.window,Ze=re.w_mask,ke=re.prev,Pe=re.strstart+S,_e=Re[Me+yt-1],Je=Re[Me+yt];re.prev_length>=re.good_match&&(Ee>>=2),pe>re.lookahead&&(pe=re.lookahead);do if(Re[(pt=ot)+yt]===Je&&Re[pt+yt-1]===_e&&Re[pt]===Re[Me]&&Re[++pt]===Re[Me+1]){Me+=2,pt++;do;while(Re[++Me]===Re[++pt]&&Re[++Me]===Re[++pt]&&Re[++Me]===Re[++pt]&&Re[++Me]===Re[++pt]&&Re[++Me]===Re[++pt]&&Re[++Me]===Re[++pt]&&Re[++Me]===Re[++pt]&&Re[++Me]===Re[++pt]&&Me<Pe);if(Be=S-(Pe-Me),Me=Pe-S,yt<Be){if(re.match_start=ot,pe<=(yt=Be))break;_e=Re[Me+yt-1],Je=Re[Me+yt]}}while((ot=ke[ot&Ze])>me&&--Ee!=0);return yt<=re.lookahead?yt:re.lookahead}function le(re){var ot,pt,Be,Ee,Me,yt,pe,me,Re,Ze,ke=re.w_size;do{if(Ee=re.window_size-re.lookahead-re.strstart,re.strstart>=ke+(ke-O)){for(g.arraySet(re.window,re.window,ke,ke,0),re.match_start-=ke,re.strstart-=ke,re.block_start-=ke,ot=pt=re.hash_size;Be=re.head[--ot],re.head[ot]=ke<=Be?Be-ke:0,--pt;);for(ot=pt=ke;Be=re.prev[--ot],re.prev[ot]=ke<=Be?Be-ke:0,--pt;);Ee+=ke}if(re.strm.avail_in===0)break;if(yt=re.strm,pe=re.window,me=re.strstart+re.lookahead,Ze=void 0,(Re=Ee)<(Ze=yt.avail_in)&&(Ze=Re),pt=Ze===0?0:(yt.avail_in-=Ze,g.arraySet(pe,yt.input,yt.next_in,Ze,me),yt.state.wrap===1?yt.adler=m(yt.adler,pe,Ze,me):yt.state.wrap===2&&(yt.adler=v(yt.adler,pe,Ze,me)),yt.next_in+=Ze,yt.total_in+=Ze,Ze),re.lookahead+=pt,re.lookahead+re.insert>=B)for(Me=re.strstart-re.insert,re.ins_h=re.window[Me],re.ins_h=(re.ins_h<<re.hash_shift^re.window[Me+1])&re.hash_mask;re.insert&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[Me+B-1])&re.hash_mask,re.prev[Me&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Me,Me++,re.insert--,!(re.lookahead+re.insert<B)););}while(re.lookahead<O&&re.strm.avail_in!==0)}function Ce(re,ot){for(var pt,Be;;){if(re.lookahead<O){if(le(re),re.lookahead<O&&ot===I)return M;if(re.lookahead===0)break}if(pt=0,re.lookahead>=B&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+B-1])&re.hash_mask,pt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),pt!==0&&re.strstart-pt<=re.w_size-O&&(re.match_length=Ke(re,pt)),re.match_length>=B)if(Be=p._tr_tally(re,re.strstart-re.match_start,re.match_length-B),re.lookahead-=re.match_length,re.match_length<=re.max_lazy_match&&re.lookahead>=B){for(re.match_length--;re.strstart++,re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+B-1])&re.hash_mask,pt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart,--re.match_length!=0;);re.strstart++}else re.strstart+=re.match_length,re.match_length=0,re.ins_h=re.window[re.strstart],re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+1])&re.hash_mask;else Be=p._tr_tally(re,0,re.window[re.strstart]),re.lookahead--,re.strstart++;if(Be&&(te(re,!1),re.strm.avail_out===0))return M}return re.insert=re.strstart<B-1?re.strstart:B-1,ot===E?(te(re,!0),re.strm.avail_out===0?ue:ae):re.last_lit&&(te(re,!1),re.strm.avail_out===0)?M:z}function At(re,ot){for(var pt,Be,Ee;;){if(re.lookahead<O){if(le(re),re.lookahead<O&&ot===I)return M;if(re.lookahead===0)break}if(pt=0,re.lookahead>=B&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+B-1])&re.hash_mask,pt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),re.prev_length=re.match_length,re.prev_match=re.match_start,re.match_length=B-1,pt!==0&&re.prev_length<re.max_lazy_match&&re.strstart-pt<=re.w_size-O&&(re.match_length=Ke(re,pt),re.match_length<=5&&(re.strategy===1||re.match_length===B&&4096<re.strstart-re.match_start)&&(re.match_length=B-1)),re.prev_length>=B&&re.match_length<=re.prev_length){for(Ee=re.strstart+re.lookahead-B,Be=p._tr_tally(re,re.strstart-1-re.prev_match,re.prev_length-B),re.lookahead-=re.prev_length-1,re.prev_length-=2;++re.strstart<=Ee&&(re.ins_h=(re.ins_h<<re.hash_shift^re.window[re.strstart+B-1])&re.hash_mask,pt=re.prev[re.strstart&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=re.strstart),--re.prev_length!=0;);if(re.match_available=0,re.match_length=B-1,re.strstart++,Be&&(te(re,!1),re.strm.avail_out===0))return M}else if(re.match_available){if((Be=p._tr_tally(re,0,re.window[re.strstart-1]))&&te(re,!1),re.strstart++,re.lookahead--,re.strm.avail_out===0)return M}else re.match_available=1,re.strstart++,re.lookahead--}return re.match_available&&(Be=p._tr_tally(re,0,re.window[re.strstart-1]),re.match_available=0),re.insert=re.strstart<B-1?re.strstart:B-1,ot===E?(te(re,!0),re.strm.avail_out===0?ue:ae):re.last_lit&&(te(re,!1),re.strm.avail_out===0)?M:z}function Z(re,ot,pt,Be,Ee){this.good_length=re,this.max_lazy=ot,this.nice_length=pt,this.max_chain=Be,this.func=Ee}function ce(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=H,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new g.Buf16(2*w),this.dyn_dtree=new g.Buf16(2*(2*N+1)),this.bl_tree=new g.Buf16(2*(2*C+1)),Ye(this.dyn_ltree),Ye(this.dyn_dtree),Ye(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new g.Buf16(Q+1),this.heap=new g.Buf16(2*x+1),Ye(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new g.Buf16(2*x+1),Ye(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ye(re){var ot;return re&&re.state?(re.total_in=re.total_out=0,re.data_type=W,(ot=re.state).pending=0,ot.pending_out=0,ot.wrap<0&&(ot.wrap=-ot.wrap),ot.status=ot.wrap?F:Y,re.adler=ot.wrap===2?0:1,ot.last_flush=I,p._tr_init(ot),k):Ne(re,R)}function Ve(re){var ot,pt=ye(re);return pt===k&&((ot=re.state).window_size=2*ot.w_size,Ye(ot.head),ot.max_lazy_match=d[ot.level].max_lazy,ot.good_match=d[ot.level].good_length,ot.nice_match=d[ot.level].nice_length,ot.max_chain_length=d[ot.level].max_chain,ot.strstart=0,ot.block_start=0,ot.lookahead=0,ot.insert=0,ot.match_length=ot.prev_length=B-1,ot.match_available=0,ot.ins_h=0),pt}function dt(re,ot,pt,Be,Ee,Me){if(!re)return R;var yt=1;if(ot===T&&(ot=6),Be<0?(yt=0,Be=-Be):15<Be&&(yt=2,Be-=16),Ee<1||X<Ee||pt!==H||Be<8||15<Be||ot<0||9<ot||Me<0||j<Me)return Ne(re,R);Be===8&&(Be=9);var pe=new ce;return(re.state=pe).strm=re,pe.wrap=yt,pe.gzhead=null,pe.w_bits=Be,pe.w_size=1<<pe.w_bits,pe.w_mask=pe.w_size-1,pe.hash_bits=Ee+7,pe.hash_size=1<<pe.hash_bits,pe.hash_mask=pe.hash_size-1,pe.hash_shift=~~((pe.hash_bits+B-1)/B),pe.window=new g.Buf8(2*pe.w_size),pe.head=new g.Buf16(pe.hash_size),pe.prev=new g.Buf16(pe.w_size),pe.lit_bufsize=1<<Ee+6,pe.pending_buf_size=4*pe.lit_bufsize,pe.pending_buf=new g.Buf8(pe.pending_buf_size),pe.d_buf=1*pe.lit_bufsize,pe.l_buf=3*pe.lit_bufsize,pe.level=ot,pe.strategy=Me,pe.method=pt,Ve(re)}d=[new Z(0,0,0,0,function(re,ot){var pt=65535;for(pt>re.pending_buf_size-5&&(pt=re.pending_buf_size-5);;){if(re.lookahead<=1){if(le(re),re.lookahead===0&&ot===I)return M;if(re.lookahead===0)break}re.strstart+=re.lookahead,re.lookahead=0;var Be=re.block_start+pt;if((re.strstart===0||re.strstart>=Be)&&(re.lookahead=re.strstart-Be,re.strstart=Be,te(re,!1),re.strm.avail_out===0)||re.strstart-re.block_start>=re.w_size-O&&(te(re,!1),re.strm.avail_out===0))return M}return re.insert=0,ot===E?(te(re,!0),re.strm.avail_out===0?ue:ae):(re.strstart>re.block_start&&(te(re,!1),re.strm.avail_out),M)}),new Z(4,4,8,4,Ce),new Z(4,5,16,8,Ce),new Z(4,6,32,32,Ce),new Z(4,4,16,16,At),new Z(8,16,32,32,At),new Z(8,16,128,128,At),new Z(8,32,128,256,At),new Z(32,128,258,1024,At),new Z(32,258,258,4096,At)],f.deflateInit=function(re,ot){return dt(re,ot,H,15,8,0)},f.deflateInit2=dt,f.deflateReset=Ve,f.deflateResetKeep=ye,f.deflateSetHeader=function(re,ot){return re&&re.state?re.state.wrap!==2?R:(re.state.gzhead=ot,k):R},f.deflate=function(re,ot){var pt,Be,Ee,Me;if(!re||!re.state||5<ot||ot<0)return re?Ne(re,R):R;if(Be=re.state,!re.output||!re.input&&re.avail_in!==0||Be.status===666&&ot!==E)return Ne(re,re.avail_out===0?-5:R);if(Be.strm=re,pt=Be.last_flush,Be.last_flush=ot,Be.status===F)if(Be.wrap===2)re.adler=0,he(Be,31),he(Be,139),he(Be,8),Be.gzhead?(he(Be,(Be.gzhead.text?1:0)+(Be.gzhead.hcrc?2:0)+(Be.gzhead.extra?4:0)+(Be.gzhead.name?8:0)+(Be.gzhead.comment?16:0)),he(Be,255&Be.gzhead.time),he(Be,Be.gzhead.time>>8&255),he(Be,Be.gzhead.time>>16&255),he(Be,Be.gzhead.time>>24&255),he(Be,Be.level===9?2:2<=Be.strategy||Be.level<2?4:0),he(Be,255&Be.gzhead.os),Be.gzhead.extra&&Be.gzhead.extra.length&&(he(Be,255&Be.gzhead.extra.length),he(Be,Be.gzhead.extra.length>>8&255)),Be.gzhead.hcrc&&(re.adler=v(re.adler,Be.pending_buf,Be.pending,0)),Be.gzindex=0,Be.status=69):(he(Be,0),he(Be,0),he(Be,0),he(Be,0),he(Be,0),he(Be,Be.level===9?2:2<=Be.strategy||Be.level<2?4:0),he(Be,3),Be.status=Y);else{var yt=H+(Be.w_bits-8<<4)<<8;yt|=(2<=Be.strategy||Be.level<2?0:Be.level<6?1:Be.level===6?2:3)<<6,Be.strstart!==0&&(yt|=32),yt+=31-yt%31,Be.status=Y,de(Be,yt),Be.strstart!==0&&(de(Be,re.adler>>>16),de(Be,65535&re.adler)),re.adler=1}if(Be.status===69)if(Be.gzhead.extra){for(Ee=Be.pending;Be.gzindex<(65535&Be.gzhead.extra.length)&&(Be.pending!==Be.pending_buf_size||(Be.gzhead.hcrc&&Be.pending>Ee&&(re.adler=v(re.adler,Be.pending_buf,Be.pending-Ee,Ee)),Ae(re),Ee=Be.pending,Be.pending!==Be.pending_buf_size));)he(Be,255&Be.gzhead.extra[Be.gzindex]),Be.gzindex++;Be.gzhead.hcrc&&Be.pending>Ee&&(re.adler=v(re.adler,Be.pending_buf,Be.pending-Ee,Ee)),Be.gzindex===Be.gzhead.extra.length&&(Be.gzindex=0,Be.status=73)}else Be.status=73;if(Be.status===73)if(Be.gzhead.name){Ee=Be.pending;do{if(Be.pending===Be.pending_buf_size&&(Be.gzhead.hcrc&&Be.pending>Ee&&(re.adler=v(re.adler,Be.pending_buf,Be.pending-Ee,Ee)),Ae(re),Ee=Be.pending,Be.pending===Be.pending_buf_size)){Me=1;break}Me=Be.gzindex<Be.gzhead.name.length?255&Be.gzhead.name.charCodeAt(Be.gzindex++):0,he(Be,Me)}while(Me!==0);Be.gzhead.hcrc&&Be.pending>Ee&&(re.adler=v(re.adler,Be.pending_buf,Be.pending-Ee,Ee)),Me===0&&(Be.gzindex=0,Be.status=91)}else Be.status=91;if(Be.status===91)if(Be.gzhead.comment){Ee=Be.pending;do{if(Be.pending===Be.pending_buf_size&&(Be.gzhead.hcrc&&Be.pending>Ee&&(re.adler=v(re.adler,Be.pending_buf,Be.pending-Ee,Ee)),Ae(re),Ee=Be.pending,Be.pending===Be.pending_buf_size)){Me=1;break}Me=Be.gzindex<Be.gzhead.comment.length?255&Be.gzhead.comment.charCodeAt(Be.gzindex++):0,he(Be,Me)}while(Me!==0);Be.gzhead.hcrc&&Be.pending>Ee&&(re.adler=v(re.adler,Be.pending_buf,Be.pending-Ee,Ee)),Me===0&&(Be.status=103)}else Be.status=103;if(Be.status===103&&(Be.gzhead.hcrc?(Be.pending+2>Be.pending_buf_size&&Ae(re),Be.pending+2<=Be.pending_buf_size&&(he(Be,255&re.adler),he(Be,re.adler>>8&255),re.adler=0,Be.status=Y)):Be.status=Y),Be.pending!==0){if(Ae(re),re.avail_out===0)return Be.last_flush=-1,k}else if(re.avail_in===0&&Ge(ot)<=Ge(pt)&&ot!==E)return Ne(re,-5);if(Be.status===666&&re.avail_in!==0)return Ne(re,-5);if(re.avail_in!==0||Be.lookahead!==0||ot!==I&&Be.status!==666){var pe=Be.strategy===2?function(me,Re){for(var Ze;;){if(me.lookahead===0&&(le(me),me.lookahead===0)){if(Re===I)return M;break}if(me.match_length=0,Ze=p._tr_tally(me,0,me.window[me.strstart]),me.lookahead--,me.strstart++,Ze&&(te(me,!1),me.strm.avail_out===0))return M}return me.insert=0,Re===E?(te(me,!0),me.strm.avail_out===0?ue:ae):me.last_lit&&(te(me,!1),me.strm.avail_out===0)?M:z}(Be,ot):Be.strategy===3?function(me,Re){for(var Ze,ke,Pe,_e,Je=me.window;;){if(me.lookahead<=S){if(le(me),me.lookahead<=S&&Re===I)return M;if(me.lookahead===0)break}if(me.match_length=0,me.lookahead>=B&&0<me.strstart&&(ke=Je[Pe=me.strstart-1])===Je[++Pe]&&ke===Je[++Pe]&&ke===Je[++Pe]){_e=me.strstart+S;do;while(ke===Je[++Pe]&&ke===Je[++Pe]&&ke===Je[++Pe]&&ke===Je[++Pe]&&ke===Je[++Pe]&&ke===Je[++Pe]&&ke===Je[++Pe]&&ke===Je[++Pe]&&Pe<_e);me.match_length=S-(_e-Pe),me.match_length>me.lookahead&&(me.match_length=me.lookahead)}if(me.match_length>=B?(Ze=p._tr_tally(me,1,me.match_length-B),me.lookahead-=me.match_length,me.strstart+=me.match_length,me.match_length=0):(Ze=p._tr_tally(me,0,me.window[me.strstart]),me.lookahead--,me.strstart++),Ze&&(te(me,!1),me.strm.avail_out===0))return M}return me.insert=0,Re===E?(te(me,!0),me.strm.avail_out===0?ue:ae):me.last_lit&&(te(me,!1),me.strm.avail_out===0)?M:z}(Be,ot):d[Be.level].func(Be,ot);if(pe!==ue&&pe!==ae||(Be.status=666),pe===M||pe===ue)return re.avail_out===0&&(Be.last_flush=-1),k;if(pe===z&&(ot===1?p._tr_align(Be):ot!==5&&(p._tr_stored_block(Be,0,0,!1),ot===3&&(Ye(Be.head),Be.lookahead===0&&(Be.strstart=0,Be.block_start=0,Be.insert=0))),Ae(re),re.avail_out===0))return Be.last_flush=-1,k}return ot!==E?k:Be.wrap<=0?1:(Be.wrap===2?(he(Be,255&re.adler),he(Be,re.adler>>8&255),he(Be,re.adler>>16&255),he(Be,re.adler>>24&255),he(Be,255&re.total_in),he(Be,re.total_in>>8&255),he(Be,re.total_in>>16&255),he(Be,re.total_in>>24&255)):(de(Be,re.adler>>>16),de(Be,65535&re.adler)),Ae(re),0<Be.wrap&&(Be.wrap=-Be.wrap),Be.pending!==0?k:1)},f.deflateEnd=function(re){var ot;return re&&re.state?(ot=re.state.status)!==F&&ot!==69&&ot!==73&&ot!==91&&ot!==103&&ot!==Y&&ot!==666?Ne(re,R):(re.state=null,ot===Y?Ne(re,-3):k):R},f.deflateSetDictionary=function(re,ot){var pt,Be,Ee,Me,yt,pe,me,Re,Ze=ot.length;if(!re||!re.state||(Me=(pt=re.state).wrap)===2||Me===1&&pt.status!==F||pt.lookahead)return R;for(Me===1&&(re.adler=m(re.adler,ot,Ze,0)),pt.wrap=0,Ze>=pt.w_size&&(Me===0&&(Ye(pt.head),pt.strstart=0,pt.block_start=0,pt.insert=0),Re=new g.Buf8(pt.w_size),g.arraySet(Re,ot,Ze-pt.w_size,pt.w_size,0),ot=Re,Ze=pt.w_size),yt=re.avail_in,pe=re.next_in,me=re.input,re.avail_in=Ze,re.next_in=0,re.input=ot,le(pt);pt.lookahead>=B;){for(Be=pt.strstart,Ee=pt.lookahead-(B-1);pt.ins_h=(pt.ins_h<<pt.hash_shift^pt.window[Be+B-1])&pt.hash_mask,pt.prev[Be&pt.w_mask]=pt.head[pt.ins_h],pt.head[pt.ins_h]=Be,Be++,--Ee;);pt.strstart=Be,pt.lookahead=B-1,le(pt)}return pt.strstart+=pt.lookahead,pt.block_start=pt.strstart,pt.insert=pt.lookahead,pt.lookahead=0,pt.match_length=pt.prev_length=B-1,pt.match_available=0,re.next_in=pe,re.input=me,re.avail_in=yt,pt.wrap=Me,k},f.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(A,h,f){h.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(A,h,f){h.exports=function(d,g){var p,m,v,y,I,E,k,R,T,j,W,H,X,x,N,C,w,Q,B,S,O,F,Y,M,z;p=d.state,m=d.next_in,M=d.input,v=m+(d.avail_in-5),y=d.next_out,z=d.output,I=y-(g-d.avail_out),E=y+(d.avail_out-257),k=p.dmax,R=p.wsize,T=p.whave,j=p.wnext,W=p.window,H=p.hold,X=p.bits,x=p.lencode,N=p.distcode,C=(1<<p.lenbits)-1,w=(1<<p.distbits)-1;e:do{X<15&&(H+=M[m++]<<X,X+=8,H+=M[m++]<<X,X+=8),Q=x[H&C];t:for(;;){if(H>>>=B=Q>>>24,X-=B,(B=Q>>>16&255)==0)z[y++]=65535&Q;else{if(!(16&B)){if(!(64&B)){Q=x[(65535&Q)+(H&(1<<B)-1)];continue t}if(32&B){p.mode=12;break e}d.msg="invalid literal/length code",p.mode=30;break e}S=65535&Q,(B&=15)&&(X<B&&(H+=M[m++]<<X,X+=8),S+=H&(1<<B)-1,H>>>=B,X-=B),X<15&&(H+=M[m++]<<X,X+=8,H+=M[m++]<<X,X+=8),Q=N[H&w];r:for(;;){if(H>>>=B=Q>>>24,X-=B,!(16&(B=Q>>>16&255))){if(!(64&B)){Q=N[(65535&Q)+(H&(1<<B)-1)];continue r}d.msg="invalid distance code",p.mode=30;break e}if(O=65535&Q,X<(B&=15)&&(H+=M[m++]<<X,(X+=8)<B&&(H+=M[m++]<<X,X+=8)),k<(O+=H&(1<<B)-1)){d.msg="invalid distance too far back",p.mode=30;break e}if(H>>>=B,X-=B,(B=y-I)<O){if(T<(B=O-B)&&p.sane){d.msg="invalid distance too far back",p.mode=30;break e}if(Y=W,(F=0)===j){if(F+=R-B,B<S){for(S-=B;z[y++]=W[F++],--B;);F=y-O,Y=z}}else if(j<B){if(F+=R+j-B,(B-=j)<S){for(S-=B;z[y++]=W[F++],--B;);if(F=0,j<S){for(S-=B=j;z[y++]=W[F++],--B;);F=y-O,Y=z}}}else if(F+=j-B,B<S){for(S-=B;z[y++]=W[F++],--B;);F=y-O,Y=z}for(;2<S;)z[y++]=Y[F++],z[y++]=Y[F++],z[y++]=Y[F++],S-=3;S&&(z[y++]=Y[F++],1<S&&(z[y++]=Y[F++]))}else{for(F=y-O;z[y++]=z[F++],z[y++]=z[F++],z[y++]=z[F++],2<(S-=3););S&&(z[y++]=z[F++],1<S&&(z[y++]=z[F++]))}break}}break}}while(m<v&&y<E);m-=S=X>>3,H&=(1<<(X-=S<<3))-1,d.next_in=m,d.next_out=y,d.avail_in=m<v?v-m+5:5-(m-v),d.avail_out=y<E?E-y+257:257-(y-E),p.hold=H,p.bits=X}},{}],49:[function(A,h,f){var d=A("../utils/common"),g=A("./adler32"),p=A("./crc32"),m=A("./inffast"),v=A("./inftrees"),y=1,I=2,E=0,k=-2,R=1,T=852,j=592;function W(F){return(F>>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function H(){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 d.Buf16(320),this.work=new d.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function X(F){var Y;return F&&F.state?(Y=F.state,F.total_in=F.total_out=Y.total=0,F.msg="",Y.wrap&&(F.adler=1&Y.wrap),Y.mode=R,Y.last=0,Y.havedict=0,Y.dmax=32768,Y.head=null,Y.hold=0,Y.bits=0,Y.lencode=Y.lendyn=new d.Buf32(T),Y.distcode=Y.distdyn=new d.Buf32(j),Y.sane=1,Y.back=-1,E):k}function x(F){var Y;return F&&F.state?((Y=F.state).wsize=0,Y.whave=0,Y.wnext=0,X(F)):k}function N(F,Y){var M,z;return F&&F.state?(z=F.state,Y<0?(M=0,Y=-Y):(M=1+(Y>>4),Y<48&&(Y&=15)),Y&&(Y<8||15<Y)?k:(z.window!==null&&z.wbits!==Y&&(z.window=null),z.wrap=M,z.wbits=Y,x(F))):k}function C(F,Y){var M,z;return F?(z=new H,(F.state=z).window=null,(M=N(F,Y))!==E&&(F.state=null),M):k}var w,Q,B=!0;function S(F){if(B){var Y;for(w=new d.Buf32(512),Q=new d.Buf32(32),Y=0;Y<144;)F.lens[Y++]=8;for(;Y<256;)F.lens[Y++]=9;for(;Y<280;)F.lens[Y++]=7;for(;Y<288;)F.lens[Y++]=8;for(v(y,F.lens,0,288,w,0,F.work,{bits:9}),Y=0;Y<32;)F.lens[Y++]=5;v(I,F.lens,0,32,Q,0,F.work,{bits:5}),B=!1}F.lencode=w,F.lenbits=9,F.distcode=Q,F.distbits=5}function O(F,Y,M,z){var ue,ae=F.state;return ae.window===null&&(ae.wsize=1<<ae.wbits,ae.wnext=0,ae.whave=0,ae.window=new d.Buf8(ae.wsize)),z>=ae.wsize?(d.arraySet(ae.window,Y,M-ae.wsize,ae.wsize,0),ae.wnext=0,ae.whave=ae.wsize):(z<(ue=ae.wsize-ae.wnext)&&(ue=z),d.arraySet(ae.window,Y,M-z,ue,ae.wnext),(z-=ue)?(d.arraySet(ae.window,Y,M-z,z,0),ae.wnext=z,ae.whave=ae.wsize):(ae.wnext+=ue,ae.wnext===ae.wsize&&(ae.wnext=0),ae.whave<ae.wsize&&(ae.whave+=ue))),0}f.inflateReset=x,f.inflateReset2=N,f.inflateResetKeep=X,f.inflateInit=function(F){return C(F,15)},f.inflateInit2=C,f.inflate=function(F,Y){var M,z,ue,ae,Ne,Ge,Ye,Ae,te,he,de,Ke,le,Ce,At,Z,ce,ye,Ve,dt,re,ot,pt,Be,Ee=0,Me=new d.Buf8(4),yt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!F||!F.state||!F.output||!F.input&&F.avail_in!==0)return k;(M=F.state).mode===12&&(M.mode=13),Ne=F.next_out,ue=F.output,Ye=F.avail_out,ae=F.next_in,z=F.input,Ge=F.avail_in,Ae=M.hold,te=M.bits,he=Ge,de=Ye,ot=E;e:for(;;)switch(M.mode){case R:if(M.wrap===0){M.mode=13;break}for(;te<16;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(2&M.wrap&&Ae===35615){Me[M.check=0]=255&Ae,Me[1]=Ae>>>8&255,M.check=p(M.check,Me,2,0),te=Ae=0,M.mode=2;break}if(M.flags=0,M.head&&(M.head.done=!1),!(1&M.wrap)||(((255&Ae)<<8)+(Ae>>8))%31){F.msg="incorrect header check",M.mode=30;break}if((15&Ae)!=8){F.msg="unknown compression method",M.mode=30;break}if(te-=4,re=8+(15&(Ae>>>=4)),M.wbits===0)M.wbits=re;else if(re>M.wbits){F.msg="invalid window size",M.mode=30;break}M.dmax=1<<re,F.adler=M.check=1,M.mode=512&Ae?10:12,te=Ae=0;break;case 2:for(;te<16;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(M.flags=Ae,(255&M.flags)!=8){F.msg="unknown compression method",M.mode=30;break}if(57344&M.flags){F.msg="unknown header flags set",M.mode=30;break}M.head&&(M.head.text=Ae>>8&1),512&M.flags&&(Me[0]=255&Ae,Me[1]=Ae>>>8&255,M.check=p(M.check,Me,2,0)),te=Ae=0,M.mode=3;case 3:for(;te<32;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}M.head&&(M.head.time=Ae),512&M.flags&&(Me[0]=255&Ae,Me[1]=Ae>>>8&255,Me[2]=Ae>>>16&255,Me[3]=Ae>>>24&255,M.check=p(M.check,Me,4,0)),te=Ae=0,M.mode=4;case 4:for(;te<16;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}M.head&&(M.head.xflags=255&Ae,M.head.os=Ae>>8),512&M.flags&&(Me[0]=255&Ae,Me[1]=Ae>>>8&255,M.check=p(M.check,Me,2,0)),te=Ae=0,M.mode=5;case 5:if(1024&M.flags){for(;te<16;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}M.length=Ae,M.head&&(M.head.extra_len=Ae),512&M.flags&&(Me[0]=255&Ae,Me[1]=Ae>>>8&255,M.check=p(M.check,Me,2,0)),te=Ae=0}else M.head&&(M.head.extra=null);M.mode=6;case 6:if(1024&M.flags&&(Ge<(Ke=M.length)&&(Ke=Ge),Ke&&(M.head&&(re=M.head.extra_len-M.length,M.head.extra||(M.head.extra=new Array(M.head.extra_len)),d.arraySet(M.head.extra,z,ae,Ke,re)),512&M.flags&&(M.check=p(M.check,z,Ke,ae)),Ge-=Ke,ae+=Ke,M.length-=Ke),M.length))break e;M.length=0,M.mode=7;case 7:if(2048&M.flags){if(Ge===0)break e;for(Ke=0;re=z[ae+Ke++],M.head&&re&&M.length<65536&&(M.head.name+=String.fromCharCode(re)),re&&Ke<Ge;);if(512&M.flags&&(M.check=p(M.check,z,Ke,ae)),Ge-=Ke,ae+=Ke,re)break e}else M.head&&(M.head.name=null);M.length=0,M.mode=8;case 8:if(4096&M.flags){if(Ge===0)break e;for(Ke=0;re=z[ae+Ke++],M.head&&re&&M.length<65536&&(M.head.comment+=String.fromCharCode(re)),re&&Ke<Ge;);if(512&M.flags&&(M.check=p(M.check,z,Ke,ae)),Ge-=Ke,ae+=Ke,re)break e}else M.head&&(M.head.comment=null);M.mode=9;case 9:if(512&M.flags){for(;te<16;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(Ae!==(65535&M.check)){F.msg="header crc mismatch",M.mode=30;break}te=Ae=0}M.head&&(M.head.hcrc=M.flags>>9&1,M.head.done=!0),F.adler=M.check=0,M.mode=12;break;case 10:for(;te<32;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}F.adler=M.check=W(Ae),te=Ae=0,M.mode=11;case 11:if(M.havedict===0)return F.next_out=Ne,F.avail_out=Ye,F.next_in=ae,F.avail_in=Ge,M.hold=Ae,M.bits=te,2;F.adler=M.check=1,M.mode=12;case 12:if(Y===5||Y===6)break e;case 13:if(M.last){Ae>>>=7&te,te-=7&te,M.mode=27;break}for(;te<3;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}switch(M.last=1&Ae,te-=1,3&(Ae>>>=1)){case 0:M.mode=14;break;case 1:if(S(M),M.mode=20,Y!==6)break;Ae>>>=2,te-=2;break e;case 2:M.mode=17;break;case 3:F.msg="invalid block type",M.mode=30}Ae>>>=2,te-=2;break;case 14:for(Ae>>>=7&te,te-=7&te;te<32;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if((65535&Ae)!=(Ae>>>16^65535)){F.msg="invalid stored block lengths",M.mode=30;break}if(M.length=65535&Ae,te=Ae=0,M.mode=15,Y===6)break e;case 15:M.mode=16;case 16:if(Ke=M.length){if(Ge<Ke&&(Ke=Ge),Ye<Ke&&(Ke=Ye),Ke===0)break e;d.arraySet(ue,z,ae,Ke,Ne),Ge-=Ke,ae+=Ke,Ye-=Ke,Ne+=Ke,M.length-=Ke;break}M.mode=12;break;case 17:for(;te<14;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(M.nlen=257+(31&Ae),Ae>>>=5,te-=5,M.ndist=1+(31&Ae),Ae>>>=5,te-=5,M.ncode=4+(15&Ae),Ae>>>=4,te-=4,286<M.nlen||30<M.ndist){F.msg="too many length or distance symbols",M.mode=30;break}M.have=0,M.mode=18;case 18:for(;M.have<M.ncode;){for(;te<3;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}M.lens[yt[M.have++]]=7&Ae,Ae>>>=3,te-=3}for(;M.have<19;)M.lens[yt[M.have++]]=0;if(M.lencode=M.lendyn,M.lenbits=7,pt={bits:M.lenbits},ot=v(0,M.lens,0,19,M.lencode,0,M.work,pt),M.lenbits=pt.bits,ot){F.msg="invalid code lengths set",M.mode=30;break}M.have=0,M.mode=19;case 19:for(;M.have<M.nlen+M.ndist;){for(;Z=(Ee=M.lencode[Ae&(1<<M.lenbits)-1])>>>16&255,ce=65535&Ee,!((At=Ee>>>24)<=te);){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(ce<16)Ae>>>=At,te-=At,M.lens[M.have++]=ce;else{if(ce===16){for(Be=At+2;te<Be;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(Ae>>>=At,te-=At,M.have===0){F.msg="invalid bit length repeat",M.mode=30;break}re=M.lens[M.have-1],Ke=3+(3&Ae),Ae>>>=2,te-=2}else if(ce===17){for(Be=At+3;te<Be;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}te-=At,re=0,Ke=3+(7&(Ae>>>=At)),Ae>>>=3,te-=3}else{for(Be=At+7;te<Be;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}te-=At,re=0,Ke=11+(127&(Ae>>>=At)),Ae>>>=7,te-=7}if(M.have+Ke>M.nlen+M.ndist){F.msg="invalid bit length repeat",M.mode=30;break}for(;Ke--;)M.lens[M.have++]=re}}if(M.mode===30)break;if(M.lens[256]===0){F.msg="invalid code -- missing end-of-block",M.mode=30;break}if(M.lenbits=9,pt={bits:M.lenbits},ot=v(y,M.lens,0,M.nlen,M.lencode,0,M.work,pt),M.lenbits=pt.bits,ot){F.msg="invalid literal/lengths set",M.mode=30;break}if(M.distbits=6,M.distcode=M.distdyn,pt={bits:M.distbits},ot=v(I,M.lens,M.nlen,M.ndist,M.distcode,0,M.work,pt),M.distbits=pt.bits,ot){F.msg="invalid distances set",M.mode=30;break}if(M.mode=20,Y===6)break e;case 20:M.mode=21;case 21:if(6<=Ge&&258<=Ye){F.next_out=Ne,F.avail_out=Ye,F.next_in=ae,F.avail_in=Ge,M.hold=Ae,M.bits=te,m(F,de),Ne=F.next_out,ue=F.output,Ye=F.avail_out,ae=F.next_in,z=F.input,Ge=F.avail_in,Ae=M.hold,te=M.bits,M.mode===12&&(M.back=-1);break}for(M.back=0;Z=(Ee=M.lencode[Ae&(1<<M.lenbits)-1])>>>16&255,ce=65535&Ee,!((At=Ee>>>24)<=te);){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(Z&&!(240&Z)){for(ye=At,Ve=Z,dt=ce;Z=(Ee=M.lencode[dt+((Ae&(1<<ye+Ve)-1)>>ye)])>>>16&255,ce=65535&Ee,!(ye+(At=Ee>>>24)<=te);){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}Ae>>>=ye,te-=ye,M.back+=ye}if(Ae>>>=At,te-=At,M.back+=At,M.length=ce,Z===0){M.mode=26;break}if(32&Z){M.back=-1,M.mode=12;break}if(64&Z){F.msg="invalid literal/length code",M.mode=30;break}M.extra=15&Z,M.mode=22;case 22:if(M.extra){for(Be=M.extra;te<Be;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}M.length+=Ae&(1<<M.extra)-1,Ae>>>=M.extra,te-=M.extra,M.back+=M.extra}M.was=M.length,M.mode=23;case 23:for(;Z=(Ee=M.distcode[Ae&(1<<M.distbits)-1])>>>16&255,ce=65535&Ee,!((At=Ee>>>24)<=te);){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(!(240&Z)){for(ye=At,Ve=Z,dt=ce;Z=(Ee=M.distcode[dt+((Ae&(1<<ye+Ve)-1)>>ye)])>>>16&255,ce=65535&Ee,!(ye+(At=Ee>>>24)<=te);){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}Ae>>>=ye,te-=ye,M.back+=ye}if(Ae>>>=At,te-=At,M.back+=At,64&Z){F.msg="invalid distance code",M.mode=30;break}M.offset=ce,M.extra=15&Z,M.mode=24;case 24:if(M.extra){for(Be=M.extra;te<Be;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}M.offset+=Ae&(1<<M.extra)-1,Ae>>>=M.extra,te-=M.extra,M.back+=M.extra}if(M.offset>M.dmax){F.msg="invalid distance too far back",M.mode=30;break}M.mode=25;case 25:if(Ye===0)break e;if(Ke=de-Ye,M.offset>Ke){if((Ke=M.offset-Ke)>M.whave&&M.sane){F.msg="invalid distance too far back",M.mode=30;break}le=Ke>M.wnext?(Ke-=M.wnext,M.wsize-Ke):M.wnext-Ke,Ke>M.length&&(Ke=M.length),Ce=M.window}else Ce=ue,le=Ne-M.offset,Ke=M.length;for(Ye<Ke&&(Ke=Ye),Ye-=Ke,M.length-=Ke;ue[Ne++]=Ce[le++],--Ke;);M.length===0&&(M.mode=21);break;case 26:if(Ye===0)break e;ue[Ne++]=M.length,Ye--,M.mode=21;break;case 27:if(M.wrap){for(;te<32;){if(Ge===0)break e;Ge--,Ae|=z[ae++]<<te,te+=8}if(de-=Ye,F.total_out+=de,M.total+=de,de&&(F.adler=M.check=M.flags?p(M.check,ue,de,Ne-de):g(M.check,ue,de,Ne-de)),de=Ye,(M.flags?Ae:W(Ae))!==M.check){F.msg="incorrect data check",M.mode=30;break}te=Ae=0}M.mode=28;case 28:if(M.wrap&&M.flags){for(;te<32;){if(Ge===0)break e;Ge--,Ae+=z[ae++]<<te,te+=8}if(Ae!==(4294967295&M.total)){F.msg="incorrect length check",M.mode=30;break}te=Ae=0}M.mode=29;case 29:ot=1;break e;case 30:ot=-3;break e;case 31:return-4;default:return k}return F.next_out=Ne,F.avail_out=Ye,F.next_in=ae,F.avail_in=Ge,M.hold=Ae,M.bits=te,(M.wsize||de!==F.avail_out&&M.mode<30&&(M.mode<27||Y!==4))&&O(F,F.output,F.next_out,de-F.avail_out)?(M.mode=31,-4):(he-=F.avail_in,de-=F.avail_out,F.total_in+=he,F.total_out+=de,M.total+=de,M.wrap&&de&&(F.adler=M.check=M.flags?p(M.check,ue,de,F.next_out-de):g(M.check,ue,de,F.next_out-de)),F.data_type=M.bits+(M.last?64:0)+(M.mode===12?128:0)+(M.mode===20||M.mode===15?256:0),(he==0&&de===0||Y===4)&&ot===E&&(ot=-5),ot)},f.inflateEnd=function(F){if(!F||!F.state)return k;var Y=F.state;return Y.window&&(Y.window=null),F.state=null,E},f.inflateGetHeader=function(F,Y){var M;return F&&F.state&&2&(M=F.state).wrap?((M.head=Y).done=!1,E):k},f.inflateSetDictionary=function(F,Y){var M,z=Y.length;return F&&F.state?(M=F.state).wrap!==0&&M.mode!==11?k:M.mode===11&&g(1,Y,z,0)!==M.check?-3:O(F,Y,z,z)?(M.mode=31,-4):(M.havedict=1,E):k},f.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(A,h,f){var d=A("../utils/common"),g=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],p=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],m=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],v=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];h.exports=function(y,I,E,k,R,T,j,W){var H,X,x,N,C,w,Q,B,S,O=W.bits,F=0,Y=0,M=0,z=0,ue=0,ae=0,Ne=0,Ge=0,Ye=0,Ae=0,te=null,he=0,de=new d.Buf16(16),Ke=new d.Buf16(16),le=null,Ce=0;for(F=0;F<=15;F++)de[F]=0;for(Y=0;Y<k;Y++)de[I[E+Y]]++;for(ue=O,z=15;1<=z&&de[z]===0;z--);if(z<ue&&(ue=z),z===0)return R[T++]=20971520,R[T++]=20971520,W.bits=1,0;for(M=1;M<z&&de[M]===0;M++);for(ue<M&&(ue=M),F=Ge=1;F<=15;F++)if(Ge<<=1,(Ge-=de[F])<0)return-1;if(0<Ge&&(y===0||z!==1))return-1;for(Ke[1]=0,F=1;F<15;F++)Ke[F+1]=Ke[F]+de[F];for(Y=0;Y<k;Y++)I[E+Y]!==0&&(j[Ke[I[E+Y]]++]=Y);if(w=y===0?(te=le=j,19):y===1?(te=g,he-=257,le=p,Ce-=257,256):(te=m,le=v,-1),F=M,C=T,Ne=Y=Ae=0,x=-1,N=(Ye=1<<(ae=ue))-1,y===1&&852<Ye||y===2&&592<Ye)return 1;for(;;){for(Q=F-Ne,S=j[Y]<w?(B=0,j[Y]):j[Y]>w?(B=le[Ce+j[Y]],te[he+j[Y]]):(B=96,0),H=1<<F-Ne,M=X=1<<ae;R[C+(Ae>>Ne)+(X-=H)]=Q<<24|B<<16|S|0,X!==0;);for(H=1<<F-1;Ae&H;)H>>=1;if(H!==0?(Ae&=H-1,Ae+=H):Ae=0,Y++,--de[F]==0){if(F===z)break;F=I[E+j[Y]]}if(ue<F&&(Ae&N)!==x){for(Ne===0&&(Ne=ue),C+=M,Ge=1<<(ae=F-Ne);ae+Ne<z&&!((Ge-=de[ae+Ne])<=0);)ae++,Ge<<=1;if(Ye+=1<<ae,y===1&&852<Ye||y===2&&592<Ye)return 1;R[x=Ae&N]=ue<<24|ae<<16|C-T|0}}return Ae!==0&&(R[C+Ae]=F-Ne<<24|64<<16|0),W.bits=ue,0}},{"../utils/common":41}],51:[function(A,h,f){h.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(A,h,f){var d=A("../utils/common"),g=0,p=1;function m(Ee){for(var Me=Ee.length;0<=--Me;)Ee[Me]=0}var v=0,y=29,I=256,E=I+1+y,k=30,R=19,T=2*E+1,j=15,W=16,H=7,X=256,x=16,N=17,C=18,w=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Q=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=new Array(2*(E+2));m(O);var F=new Array(2*k);m(F);var Y=new Array(512);m(Y);var M=new Array(256);m(M);var z=new Array(y);m(z);var ue,ae,Ne,Ge=new Array(k);function Ye(Ee,Me,yt,pe,me){this.static_tree=Ee,this.extra_bits=Me,this.extra_base=yt,this.elems=pe,this.max_length=me,this.has_stree=Ee&&Ee.length}function Ae(Ee,Me){this.dyn_tree=Ee,this.max_code=0,this.stat_desc=Me}function te(Ee){return Ee<256?Y[Ee]:Y[256+(Ee>>>7)]}function he(Ee,Me){Ee.pending_buf[Ee.pending++]=255&Me,Ee.pending_buf[Ee.pending++]=Me>>>8&255}function de(Ee,Me,yt){Ee.bi_valid>W-yt?(Ee.bi_buf|=Me<<Ee.bi_valid&65535,he(Ee,Ee.bi_buf),Ee.bi_buf=Me>>W-Ee.bi_valid,Ee.bi_valid+=yt-W):(Ee.bi_buf|=Me<<Ee.bi_valid&65535,Ee.bi_valid+=yt)}function Ke(Ee,Me,yt){de(Ee,yt[2*Me],yt[2*Me+1])}function le(Ee,Me){for(var yt=0;yt|=1&Ee,Ee>>>=1,yt<<=1,0<--Me;);return yt>>>1}function Ce(Ee,Me,yt){var pe,me,Re=new Array(j+1),Ze=0;for(pe=1;pe<=j;pe++)Re[pe]=Ze=Ze+yt[pe-1]<<1;for(me=0;me<=Me;me++){var ke=Ee[2*me+1];ke!==0&&(Ee[2*me]=le(Re[ke]++,ke))}}function At(Ee){var Me;for(Me=0;Me<E;Me++)Ee.dyn_ltree[2*Me]=0;for(Me=0;Me<k;Me++)Ee.dyn_dtree[2*Me]=0;for(Me=0;Me<R;Me++)Ee.bl_tree[2*Me]=0;Ee.dyn_ltree[2*X]=1,Ee.opt_len=Ee.static_len=0,Ee.last_lit=Ee.matches=0}function Z(Ee){8<Ee.bi_valid?he(Ee,Ee.bi_buf):0<Ee.bi_valid&&(Ee.pending_buf[Ee.pending++]=Ee.bi_buf),Ee.bi_buf=0,Ee.bi_valid=0}function ce(Ee,Me,yt,pe){var me=2*Me,Re=2*yt;return Ee[me]<Ee[Re]||Ee[me]===Ee[Re]&&pe[Me]<=pe[yt]}function ye(Ee,Me,yt){for(var pe=Ee.heap[yt],me=yt<<1;me<=Ee.heap_len&&(me<Ee.heap_len&&ce(Me,Ee.heap[me+1],Ee.heap[me],Ee.depth)&&me++,!ce(Me,pe,Ee.heap[me],Ee.depth));)Ee.heap[yt]=Ee.heap[me],yt=me,me<<=1;Ee.heap[yt]=pe}function Ve(Ee,Me,yt){var pe,me,Re,Ze,ke=0;if(Ee.last_lit!==0)for(;pe=Ee.pending_buf[Ee.d_buf+2*ke]<<8|Ee.pending_buf[Ee.d_buf+2*ke+1],me=Ee.pending_buf[Ee.l_buf+ke],ke++,pe===0?Ke(Ee,me,Me):(Ke(Ee,(Re=M[me])+I+1,Me),(Ze=w[Re])!==0&&de(Ee,me-=z[Re],Ze),Ke(Ee,Re=te(--pe),yt),(Ze=Q[Re])!==0&&de(Ee,pe-=Ge[Re],Ze)),ke<Ee.last_lit;);Ke(Ee,X,Me)}function dt(Ee,Me){var yt,pe,me,Re=Me.dyn_tree,Ze=Me.stat_desc.static_tree,ke=Me.stat_desc.has_stree,Pe=Me.stat_desc.elems,_e=-1;for(Ee.heap_len=0,Ee.heap_max=T,yt=0;yt<Pe;yt++)Re[2*yt]!==0?(Ee.heap[++Ee.heap_len]=_e=yt,Ee.depth[yt]=0):Re[2*yt+1]=0;for(;Ee.heap_len<2;)Re[2*(me=Ee.heap[++Ee.heap_len]=_e<2?++_e:0)]=1,Ee.depth[me]=0,Ee.opt_len--,ke&&(Ee.static_len-=Ze[2*me+1]);for(Me.max_code=_e,yt=Ee.heap_len>>1;1<=yt;yt--)ye(Ee,Re,yt);for(me=Pe;yt=Ee.heap[1],Ee.heap[1]=Ee.heap[Ee.heap_len--],ye(Ee,Re,1),pe=Ee.heap[1],Ee.heap[--Ee.heap_max]=yt,Ee.heap[--Ee.heap_max]=pe,Re[2*me]=Re[2*yt]+Re[2*pe],Ee.depth[me]=(Ee.depth[yt]>=Ee.depth[pe]?Ee.depth[yt]:Ee.depth[pe])+1,Re[2*yt+1]=Re[2*pe+1]=me,Ee.heap[1]=me++,ye(Ee,Re,1),2<=Ee.heap_len;);Ee.heap[--Ee.heap_max]=Ee.heap[1],function(Je,at){var Dt,St,hr,Wt,Ut,ur,Br=at.dyn_tree,fr=at.max_code,Mr=at.stat_desc.static_tree,er=at.stat_desc.has_stree,Tr=at.stat_desc.extra_bits,fn=at.stat_desc.extra_base,_n=at.stat_desc.max_length,dr=0;for(Wt=0;Wt<=j;Wt++)Je.bl_count[Wt]=0;for(Br[2*Je.heap[Je.heap_max]+1]=0,Dt=Je.heap_max+1;Dt<T;Dt++)_n<(Wt=Br[2*Br[2*(St=Je.heap[Dt])+1]+1]+1)&&(Wt=_n,dr++),Br[2*St+1]=Wt,fr<St||(Je.bl_count[Wt]++,Ut=0,fn<=St&&(Ut=Tr[St-fn]),ur=Br[2*St],Je.opt_len+=ur*(Wt+Ut),er&&(Je.static_len+=ur*(Mr[2*St+1]+Ut)));if(dr!==0){do{for(Wt=_n-1;Je.bl_count[Wt]===0;)Wt--;Je.bl_count[Wt]--,Je.bl_count[Wt+1]+=2,Je.bl_count[_n]--,dr-=2}while(0<dr);for(Wt=_n;Wt!==0;Wt--)for(St=Je.bl_count[Wt];St!==0;)fr<(hr=Je.heap[--Dt])||(Br[2*hr+1]!==Wt&&(Je.opt_len+=(Wt-Br[2*hr+1])*Br[2*hr],Br[2*hr+1]=Wt),St--)}}(Ee,Me),Ce(Re,_e,Ee.bl_count)}function re(Ee,Me,yt){var pe,me,Re=-1,Ze=Me[1],ke=0,Pe=7,_e=4;for(Ze===0&&(Pe=138,_e=3),Me[2*(yt+1)+1]=65535,pe=0;pe<=yt;pe++)me=Ze,Ze=Me[2*(pe+1)+1],++ke<Pe&&me===Ze||(ke<_e?Ee.bl_tree[2*me]+=ke:me!==0?(me!==Re&&Ee.bl_tree[2*me]++,Ee.bl_tree[2*x]++):ke<=10?Ee.bl_tree[2*N]++:Ee.bl_tree[2*C]++,Re=me,_e=(ke=0)===Ze?(Pe=138,3):me===Ze?(Pe=6,3):(Pe=7,4))}function ot(Ee,Me,yt){var pe,me,Re=-1,Ze=Me[1],ke=0,Pe=7,_e=4;for(Ze===0&&(Pe=138,_e=3),pe=0;pe<=yt;pe++)if(me=Ze,Ze=Me[2*(pe+1)+1],!(++ke<Pe&&me===Ze)){if(ke<_e)for(;Ke(Ee,me,Ee.bl_tree),--ke!=0;);else me!==0?(me!==Re&&(Ke(Ee,me,Ee.bl_tree),ke--),Ke(Ee,x,Ee.bl_tree),de(Ee,ke-3,2)):ke<=10?(Ke(Ee,N,Ee.bl_tree),de(Ee,ke-3,3)):(Ke(Ee,C,Ee.bl_tree),de(Ee,ke-11,7));Re=me,_e=(ke=0)===Ze?(Pe=138,3):me===Ze?(Pe=6,3):(Pe=7,4)}}m(Ge);var pt=!1;function Be(Ee,Me,yt,pe){var me,Re,Ze,ke;de(Ee,(v<<1)+(pe?1:0),3),Re=Me,Ze=yt,ke=!0,Z(me=Ee),ke&&(he(me,Ze),he(me,~Ze)),d.arraySet(me.pending_buf,me.window,Re,Ze,me.pending),me.pending+=Ze}f._tr_init=function(Ee){pt||(function(){var Me,yt,pe,me,Re,Ze=new Array(j+1);for(me=pe=0;me<y-1;me++)for(z[me]=pe,Me=0;Me<1<<w[me];Me++)M[pe++]=me;for(M[pe-1]=me,me=Re=0;me<16;me++)for(Ge[me]=Re,Me=0;Me<1<<Q[me];Me++)Y[Re++]=me;for(Re>>=7;me<k;me++)for(Ge[me]=Re<<7,Me=0;Me<1<<Q[me]-7;Me++)Y[256+Re++]=me;for(yt=0;yt<=j;yt++)Ze[yt]=0;for(Me=0;Me<=143;)O[2*Me+1]=8,Me++,Ze[8]++;for(;Me<=255;)O[2*Me+1]=9,Me++,Ze[9]++;for(;Me<=279;)O[2*Me+1]=7,Me++,Ze[7]++;for(;Me<=287;)O[2*Me+1]=8,Me++,Ze[8]++;for(Ce(O,E+1,Ze),Me=0;Me<k;Me++)F[2*Me+1]=5,F[2*Me]=le(Me,5);ue=new Ye(O,w,I+1,E,j),ae=new Ye(F,Q,0,k,j),Ne=new Ye(new Array(0),B,0,R,H)}(),pt=!0),Ee.l_desc=new Ae(Ee.dyn_ltree,ue),Ee.d_desc=new Ae(Ee.dyn_dtree,ae),Ee.bl_desc=new Ae(Ee.bl_tree,Ne),Ee.bi_buf=0,Ee.bi_valid=0,At(Ee)},f._tr_stored_block=Be,f._tr_flush_block=function(Ee,Me,yt,pe){var me,Re,Ze=0;0<Ee.level?(Ee.strm.data_type===2&&(Ee.strm.data_type=function(ke){var Pe,_e=4093624447;for(Pe=0;Pe<=31;Pe++,_e>>>=1)if(1&_e&&ke.dyn_ltree[2*Pe]!==0)return g;if(ke.dyn_ltree[18]!==0||ke.dyn_ltree[20]!==0||ke.dyn_ltree[26]!==0)return p;for(Pe=32;Pe<I;Pe++)if(ke.dyn_ltree[2*Pe]!==0)return p;return g}(Ee)),dt(Ee,Ee.l_desc),dt(Ee,Ee.d_desc),Ze=function(ke){var Pe;for(re(ke,ke.dyn_ltree,ke.l_desc.max_code),re(ke,ke.dyn_dtree,ke.d_desc.max_code),dt(ke,ke.bl_desc),Pe=R-1;3<=Pe&&ke.bl_tree[2*S[Pe]+1]===0;Pe--);return ke.opt_len+=3*(Pe+1)+5+5+4,Pe}(Ee),me=Ee.opt_len+3+7>>>3,(Re=Ee.static_len+3+7>>>3)<=me&&(me=Re)):me=Re=yt+5,yt+4<=me&&Me!==-1?Be(Ee,Me,yt,pe):Ee.strategy===4||Re===me?(de(Ee,2+(pe?1:0),3),Ve(Ee,O,F)):(de(Ee,4+(pe?1:0),3),function(ke,Pe,_e,Je){var at;for(de(ke,Pe-257,5),de(ke,_e-1,5),de(ke,Je-4,4),at=0;at<Je;at++)de(ke,ke.bl_tree[2*S[at]+1],3);ot(ke,ke.dyn_ltree,Pe-1),ot(ke,ke.dyn_dtree,_e-1)}(Ee,Ee.l_desc.max_code+1,Ee.d_desc.max_code+1,Ze+1),Ve(Ee,Ee.dyn_ltree,Ee.dyn_dtree)),At(Ee),pe&&Z(Ee)},f._tr_tally=function(Ee,Me,yt){return Ee.pending_buf[Ee.d_buf+2*Ee.last_lit]=Me>>>8&255,Ee.pending_buf[Ee.d_buf+2*Ee.last_lit+1]=255&Me,Ee.pending_buf[Ee.l_buf+Ee.last_lit]=255&yt,Ee.last_lit++,Me===0?Ee.dyn_ltree[2*yt]++:(Ee.matches++,Me--,Ee.dyn_ltree[2*(M[yt]+I+1)]++,Ee.dyn_dtree[2*te(Me)]++),Ee.last_lit===Ee.lit_bufsize-1},f._tr_align=function(Ee){var Me;de(Ee,2,3),Ke(Ee,X,O),(Me=Ee).bi_valid===16?(he(Me,Me.bi_buf),Me.bi_buf=0,Me.bi_valid=0):8<=Me.bi_valid&&(Me.pending_buf[Me.pending++]=255&Me.bi_buf,Me.bi_buf>>=8,Me.bi_valid-=8)}},{"../utils/common":41}],53:[function(A,h,f){h.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(A,h,f){(function(d){(function(g,p){if(!g.setImmediate){var m,v,y,I,E=1,k={},R=!1,T=g.document,j=Object.getPrototypeOf&&Object.getPrototypeOf(g);j=j&&j.setTimeout?j:g,m={}.toString.call(g.process)==="[object process]"?function(x){n.nextTick(function(){H(x)})}:function(){if(g.postMessage&&!g.importScripts){var x=!0,N=g.onmessage;return g.onmessage=function(){x=!1},g.postMessage("","*"),g.onmessage=N,x}}()?(I="setImmediate$"+Math.random()+"$",g.addEventListener?g.addEventListener("message",X,!1):g.attachEvent("onmessage",X),function(x){g.postMessage(I+x,"*")}):g.MessageChannel?((y=new MessageChannel).port1.onmessage=function(x){H(x.data)},function(x){y.port2.postMessage(x)}):T&&"onreadystatechange"in T.createElement("script")?(v=T.documentElement,function(x){var N=T.createElement("script");N.onreadystatechange=function(){H(x),N.onreadystatechange=null,v.removeChild(N),N=null},v.appendChild(N)}):function(x){setTimeout(H,0,x)},j.setImmediate=function(x){typeof x!="function"&&(x=new Function(""+x));for(var N=new Array(arguments.length-1),C=0;C<N.length;C++)N[C]=arguments[C+1];var w={callback:x,args:N};return k[E]=w,m(E),E++},j.clearImmediate=W}function W(x){delete k[x]}function H(x){if(R)setTimeout(H,0,x);else{var N=k[x];if(N){R=!0;try{(function(C){var w=C.callback,Q=C.args;switch(Q.length){case 0:w();break;case 1:w(Q[0]);break;case 2:w(Q[0],Q[1]);break;case 3:w(Q[0],Q[1],Q[2]);break;default:w.apply(p,Q)}})(N)}finally{W(x),R=!1}}}}function X(x){x.source===g&&typeof x.data=="string"&&x.data.indexOf(I)===0&&H(+x.data.slice(I.length))}})(typeof self>"u"?d===void 0?this:d:self)}).call(this,a!==void 0?a:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],e("timers").setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(e,r,t){(function(n){(function(){var a=1/0,s="[object Symbol]",o=/[\\^$.*+?()[\]{}|]/g,i=RegExp(o.source),c=typeof n=="object"&&n&&n.Object===Object&&n,u=typeof self=="object"&&self&&self.Object===Object&&self,l=c||u||Function("return this")(),A=Object.prototype.toString,h=l.Symbol,f=h?h.prototype:void 0,d=f?f.toString:void 0;function g(I){if(typeof I=="string")return I;if(m(I))return d?d.call(I):"";var E=I+"";return E=="0"&&1/I==-a?"-0":E}function p(I){return!!I&&typeof I=="object"}function m(I){return typeof I=="symbol"||p(I)&&A.call(I)==s}function v(I){return I==null?"":g(I)}function y(I){return(I=v(I))&&i.test(I)?I.replace(o,"\\$&"):I}r.exports=y}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],443:[function(e,r,t){(function(n){(function(){var a=200,s="Expected a function",o="__lodash_hash_undefined__",i=1,c=2,u=1/0,l=9007199254740991,A="[object Arguments]",h="[object Array]",f="[object Boolean]",d="[object Date]",g="[object Error]",p="[object Function]",m="[object GeneratorFunction]",v="[object Map]",y="[object Number]",I="[object Object]",E="[object Promise]",k="[object RegExp]",R="[object Set]",T="[object String]",j="[object Symbol]",W="[object WeakMap]",H="[object ArrayBuffer]",X="[object DataView]",x="[object Float64Array]",N="[object Int8Array]",C="[object Int16Array]",w="[object Int32Array]",Q="[object Uint8Array]",B="[object Uint8ClampedArray]",S="[object Uint16Array]",O="[object Uint32Array]",F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,M=/^\./,z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,ae=/\\(\\)?/g,Ne=/^\[object .+?Constructor\]$/,Ge=/^(?:0|[1-9]\d*)$/,Ye={};Ye["[object Float32Array]"]=Ye[x]=Ye[N]=Ye[C]=Ye[w]=Ye[Q]=Ye[B]=Ye[S]=Ye[O]=!0,Ye[A]=Ye[h]=Ye[H]=Ye[f]=Ye[X]=Ye[d]=Ye[g]=Ye[p]=Ye[v]=Ye[y]=Ye[I]=Ye[k]=Ye[R]=Ye[T]=Ye[W]=!1;var Ae=typeof n=="object"&&n&&n.Object===Object&&n,te=typeof self=="object"&&self&&self.Object===Object&&self,he=Ae||te||Function("return this")(),de=typeof t=="object"&&t&&!t.nodeType&&t,Ke=de&&typeof r=="object"&&r&&!r.nodeType&&r,le=Ke&&Ke.exports===de&&Ae.process,Ce=function(){try{return le&&le.binding("util")}catch{}}(),At=Ce&&Ce.isTypedArray;function Z(ie,xe,tt,Bt){for(var Gt=-1,Xt=ie?ie.length:0;++Gt<Xt;){var Yr=ie[Gt];xe(Bt,Yr,tt(Yr),ie)}return Bt}function ce(ie,xe){for(var tt=-1,Bt=ie?ie.length:0;++tt<Bt;)if(xe(ie[tt],tt,ie))return!0;return!1}function ye(ie){return function(xe){return xe==null?void 0:xe[ie]}}function Ve(ie,xe){for(var tt=-1,Bt=Array(ie);++tt<ie;)Bt[tt]=xe(tt);return Bt}function dt(ie){return function(xe){return ie(xe)}}function re(ie,xe){return ie==null?void 0:ie[xe]}function ot(ie){var xe=!1;if(ie!=null&&typeof ie.toString!="function")try{xe=!!(ie+"")}catch{}return xe}function pt(ie){var xe=-1,tt=Array(ie.size);return ie.forEach(function(Bt,Gt){tt[++xe]=[Gt,Bt]}),tt}function Be(ie,xe){return function(tt){return ie(xe(tt))}}function Ee(ie){var xe=-1,tt=Array(ie.size);return ie.forEach(function(Bt){tt[++xe]=Bt}),tt}var Me,yt=Array.prototype,pe=Function.prototype,me=Object.prototype,Re=he["__core-js_shared__"],Ze=(Me=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+Me:"",ke=pe.toString,Pe=me.hasOwnProperty,_e=me.toString,Je=RegExp("^"+ke.call(Pe).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),at=he.Symbol,Dt=he.Uint8Array,St=me.propertyIsEnumerable,hr=yt.splice,Wt=Be(Object.keys,Object),Ut=xs(he,"DataView"),ur=xs(he,"Map"),Br=xs(he,"Promise"),fr=xs(he,"Set"),Mr=xs(he,"WeakMap"),er=xs(Object,"create"),Tr=wt(Ut),fn=wt(ur),_n=wt(Br),dr=wt(fr),rn=wt(Mr),Kr=at?at.prototype:void 0,tr=Kr?Kr.valueOf:void 0,on=Kr?Kr.toString:void 0;function nn(ie){var xe=-1,tt=ie?ie.length:0;for(this.clear();++xe<tt;){var Bt=ie[xe];this.set(Bt[0],Bt[1])}}function An(){this.__data__=er?er(null):{}}function bn(ie){return this.has(ie)&&delete this.__data__[ie]}function Gn(ie){var xe=this.__data__;if(er){var tt=xe[ie];return tt===o?void 0:tt}return Pe.call(xe,ie)?xe[ie]:void 0}function Dr(ie){var xe=this.__data__;return er?xe[ie]!==void 0:Pe.call(xe,ie)}function Nn(ie,xe){return this.__data__[ie]=er&&xe===void 0?o:xe,this}function Mn(ie){var xe=-1,tt=ie?ie.length:0;for(this.clear();++xe<tt;){var Bt=ie[xe];this.set(Bt[0],Bt[1])}}function Hn(){this.__data__=[]}function vi(ie){var xe=this.__data__,tt=Na(xe,ie);return!(tt<0||(tt==xe.length-1?xe.pop():hr.call(xe,tt,1),0))}function qe(ie){var xe=this.__data__,tt=Na(xe,ie);return tt<0?void 0:xe[tt][1]}function bt(ie){return Na(this.__data__,ie)>-1}function Ft(ie,xe){var tt=this.__data__,Bt=Na(tt,ie);return Bt<0?tt.push([ie,xe]):tt[Bt][1]=xe,this}function Lr(ie){var xe=-1,tt=ie?ie.length:0;for(this.clear();++xe<tt;){var Bt=ie[xe];this.set(Bt[0],Bt[1])}}function kn(){this.__data__={hash:new nn,map:new(ur||Mn),string:new nn}}function Bi(ie){return ju(this,ie).delete(ie)}function ka(ie){return ju(this,ie).get(ie)}function Va(ie){return ju(this,ie).has(ie)}function qo(ie,xe){return ju(this,ie).set(ie,xe),this}function Ro(ie){var xe=-1,tt=ie?ie.length:0;for(this.__data__=new Lr;++xe<tt;)this.add(ie[xe])}function po(ie){return this.__data__.set(ie,o),this}function Fo(ie){return this.__data__.has(ie)}function ri(ie){this.__data__=new Mn(ie)}function $n(){this.__data__=new Mn}function Bs(ie){return this.__data__.delete(ie)}function No(ie){return this.__data__.get(ie)}function Qs(ie){return this.__data__.has(ie)}function bc(ie,xe){var tt=this.__data__;if(tt instanceof Mn){var Bt=tt.__data__;if(!ur||Bt.length<a-1)return Bt.push([ie,xe]),this;tt=this.__data__=new Lr(Bt)}return tt.set(ie,xe),this}function oA(ie,xe){var tt=Hi(ie)||ui(ie)?Ve(ie.length,String):[],Bt=tt.length,Gt=!!Bt;for(var Xt in ie)!xe&&!Pe.call(ie,Xt)||Gt&&(Xt=="length"||El(Xt,Bt))||tt.push(Xt);return tt}function Na(ie,xe){for(var tt=ie.length;tt--;)if(ra(ie[tt][0],xe))return tt;return-1}function uu(ie,xe,tt,Bt){return Hc(ie,function(Gt,Xt,Yr){xe(Bt,Gt,tt(Gt),Yr)}),Bt}nn.prototype.clear=An,nn.prototype.delete=bn,nn.prototype.get=Gn,nn.prototype.has=Dr,nn.prototype.set=Nn,Mn.prototype.clear=Hn,Mn.prototype.delete=vi,Mn.prototype.get=qe,Mn.prototype.has=bt,Mn.prototype.set=Ft,Lr.prototype.clear=kn,Lr.prototype.delete=Bi,Lr.prototype.get=ka,Lr.prototype.has=Va,Lr.prototype.set=qo,Ro.prototype.add=Ro.prototype.push=po,Ro.prototype.has=Fo,ri.prototype.clear=$n,ri.prototype.delete=Bs,ri.prototype.get=No,ri.prototype.has=Qs,ri.prototype.set=bc;var Hc=Ec(yl),lu=cA();function yl(ie,xe){return ie&&lu(ie,xe,oe)}function Wo(ie,xe){for(var tt=0,Bt=(xe=Jc(xe,ie)?[xe]:Cl(xe)).length;ie!=null&&tt<Bt;)ie=ie[$e(xe[tt++])];return tt&&tt==Bt?ie:void 0}function Il(ie){return _e.call(ie)}function lh(ie,xe){return ie!=null&&xe in Object(ie)}function bl(ie,xe,tt,Bt,Gt){return ie===xe||(ie==null||xe==null||!Qo(ie)&&!Ua(xe)?ie!=ie&&xe!=xe:Ah(ie,xe,bl,tt,Bt,Gt))}function Ah(ie,xe,tt,Bt,Gt,Xt){var Yr=Hi(ie),qr=Hi(xe),Bn=h,Zn=h;Yr||(Bn=(Bn=Us(ie))==A?I:Bn),qr||(Zn=(Zn=Us(xe))==A?I:Zn);var Yn=Bn==I&&!ot(ie),Xn=Zn==I&&!ot(xe),ni=Bn==Zn;if(ni&&!Yn)return Xt||(Xt=new ri),Yr||ns(ie)?gh(ie,xe,tt,Bt,Gt,Xt):oc(ie,xe,Bn,tt,Bt,Gt,Xt);if(!(Gt&c)){var Cn=Yn&&Pe.call(ie,"__wrapped__"),ja=Xn&&Pe.call(xe,"__wrapped__");if(Cn||ja){var Za=Cn?ie.value():ie,Ha=ja?xe.value():xe;return Xt||(Xt=new ri),tt(Za,Ha,Bt,Gt,Xt)}}return!!ni&&(Xt||(Xt=new ri),ph(ie,xe,tt,Bt,Gt,Xt))}function sA(ie,xe,tt,Bt){var Gt=tt.length,Xt=Gt,Yr=!Bt;if(ie==null)return!Xt;for(ie=Object(ie);Gt--;){var qr=tt[Gt];if(Yr&&qr[2]?qr[1]!==ie[qr[0]]:!(qr[0]in ie))return!1}for(;++Gt<Xt;){var Bn=(qr=tt[Gt])[0],Zn=ie[Bn],Yn=qr[1];if(Yr&&qr[2]){if(Zn===void 0&&!(Bn in ie))return!1}else{var Xn=new ri;if(Bt)var ni=Bt(Zn,Yn,Bn,ie,xe,Xn);if(!(ni===void 0?bl(Yn,Zn,Bt,i|c,Xn):ni))return!1}}return!0}function hh(ie){return!(!Qo(ie)||hu(ie))&&(Zi(ie)||ot(ie)?Je:Ne).test(wt(ie))}function ts(ie){return Ua(ie)&&Yi(ie.length)&&!!Ye[_e.call(ie)]}function fh(ie){return typeof ie=="function"?ie:ie==null?Se:typeof ie=="object"?Hi(ie)?dh(ie[0],ie[1]):Au(ie):et(ie)}function Mo(ie){if(!Bl(ie))return Wt(ie);var xe=[];for(var tt in Object(ie))Pe.call(ie,tt)&&tt!="constructor"&&xe.push(tt);return xe}function Au(ie){var xe=Yc(ie);return xe.length==1&&xe[0][2]?uA(xe[0][0],xe[0][1]):function(tt){return tt===ie||sA(tt,ie,xe)}}function dh(ie,xe){return Jc(ie)&&Ql(xe)?uA($e(ie),xe):function(tt){var Bt=G(tt,ie);return Bt===void 0&&Bt===xe?J(tt,ie):bl(xe,Bt,void 0,i|c)}}function Cc(ie){return function(xe){return Wo(xe,ie)}}function ks(ie){if(typeof ie=="string")return ie;if(ha(ie))return on?on.call(ie):"";var xe=ie+"";return xe=="0"&&1/ie==-u?"-0":xe}function Cl(ie){return Hi(ie)?ie:rs(ie)}function Ia(ie,xe){return function(tt,Bt){var Gt=Hi(tt)?Z:uu,Xt=xe?xe():{};return Gt(tt,ie,fh(Bt),Xt)}}function Ec(ie,xe){return function(tt,Bt){if(tt==null)return tt;if(!Aa(tt))return ie(tt,Bt);for(var Gt=tt.length,Xt=xe?Gt:-1,Yr=Object(tt);(xe?Xt--:++Xt<Gt)&&Bt(Yr[Xt],Xt,Yr)!==!1;);return tt}}function cA(ie){return function(xe,tt,Bt){for(var Gt=-1,Xt=Object(xe),Yr=Bt(xe),qr=Yr.length;qr--;){var Bn=Yr[ie?qr:++Gt];if(tt(Xt[Bn],Bn,Xt)===!1)break}return xe}}function gh(ie,xe,tt,Bt,Gt,Xt){var Yr=Gt&c,qr=ie.length,Bn=xe.length;if(qr!=Bn&&!(Yr&&Bn>qr))return!1;var Zn=Xt.get(ie);if(Zn&&Xt.get(xe))return Zn==xe;var Yn=-1,Xn=!0,ni=Gt&i?new Ro:void 0;for(Xt.set(ie,xe),Xt.set(xe,ie);++Yn<qr;){var Cn=ie[Yn],ja=xe[Yn];if(Bt)var Za=Yr?Bt(ja,Cn,Yn,xe,ie,Xt):Bt(Cn,ja,Yn,ie,xe,Xt);if(Za!==void 0){if(Za)continue;Xn=!1;break}if(ni){if(!ce(xe,function(Ha,Xi){if(!ni.has(Xi)&&(Cn===Ha||tt(Cn,Ha,Bt,Gt,Xt)))return ni.add(Xi)})){Xn=!1;break}}else if(Cn!==ja&&!tt(Cn,ja,Bt,Gt,Xt)){Xn=!1;break}}return Xt.delete(ie),Xt.delete(xe),Xn}function oc(ie,xe,tt,Bt,Gt,Xt,Yr){switch(tt){case X:if(ie.byteLength!=xe.byteLength||ie.byteOffset!=xe.byteOffset)return!1;ie=ie.buffer,xe=xe.buffer;case H:return!(ie.byteLength!=xe.byteLength||!Bt(new Dt(ie),new Dt(xe)));case f:case d:case y:return ra(+ie,+xe);case g:return ie.name==xe.name&&ie.message==xe.message;case k:case T:return ie==xe+"";case v:var qr=pt;case R:var Bn=Xt&c;if(qr||(qr=Ee),ie.size!=xe.size&&!Bn)return!1;var Zn=Yr.get(ie);if(Zn)return Zn==xe;Xt|=i,Yr.set(ie,xe);var Yn=gh(qr(ie),qr(xe),Bt,Gt,Xt,Yr);return Yr.delete(ie),Yn;case j:if(tr)return tr.call(ie)==tr.call(xe)}return!1}function ph(ie,xe,tt,Bt,Gt,Xt){var Yr=Gt&c,qr=oe(ie),Bn=qr.length;if(Bn!=oe(xe).length&&!Yr)return!1;for(var Zn=Bn;Zn--;){var Yn=qr[Zn];if(!(Yr?Yn in xe:Pe.call(xe,Yn)))return!1}var Xn=Xt.get(ie);if(Xn&&Xt.get(xe))return Xn==xe;var ni=!0;Xt.set(ie,xe),Xt.set(xe,ie);for(var Cn=Yr;++Zn<Bn;){var ja=ie[Yn=qr[Zn]],Za=xe[Yn];if(Bt)var Ha=Yr?Bt(Za,ja,Yn,xe,ie,Xt):Bt(ja,Za,Yn,ie,xe,Xt);if(!(Ha===void 0?ja===Za||tt(ja,Za,Bt,Gt,Xt):Ha)){ni=!1;break}Cn||(Cn=Yn=="constructor")}if(ni&&!Cn){var Xi=ie.constructor,Ko=xe.constructor;Xi==Ko||!("constructor"in ie)||!("constructor"in xe)||typeof Xi=="function"&&Xi instanceof Xi&&typeof Ko=="function"&&Ko instanceof Ko||(ni=!1)}return Xt.delete(ie),Xt.delete(xe),ni}function ju(ie,xe){var tt=ie.__data__;return wl(xe)?tt[typeof xe=="string"?"string":"hash"]:tt.map}function Yc(ie){for(var xe=oe(ie),tt=xe.length;tt--;){var Bt=xe[tt],Gt=ie[Bt];xe[tt]=[Bt,Gt,Ql(Gt)]}return xe}function xs(ie,xe){var tt=re(ie,xe);return hh(tt)?tt:void 0}var Us=Il;function vh(ie,xe,tt){for(var Bt,Gt=-1,Xt=(xe=Jc(xe,ie)?[xe]:Cl(xe)).length;++Gt<Xt;){var Yr=$e(xe[Gt]);if(!(Bt=ie!=null&&tt(ie,Yr)))break;ie=ie[Yr]}return Bt||!!(Xt=ie?ie.length:0)&&Yi(Xt)&&El(Yr,Xt)&&(Hi(ie)||ui(ie))}function El(ie,xe){return!!(xe=xe??l)&&(typeof ie=="number"||Ge.test(ie))&&ie>-1&&ie%1==0&&ie<xe}function Jc(ie,xe){if(Hi(ie))return!1;var tt=typeof ie;return!(tt!="number"&&tt!="symbol"&&tt!="boolean"&&ie!=null&&!ha(ie))||Y.test(ie)||!F.test(ie)||xe!=null&&ie in Object(xe)}function wl(ie){var xe=typeof ie;return xe=="string"||xe=="number"||xe=="symbol"||xe=="boolean"?ie!=="__proto__":ie===null}function hu(ie){return!!Ze&&Ze in ie}function Bl(ie){var xe=ie&&ie.constructor;return ie===(typeof xe=="function"&&xe.prototype||me)}function Ql(ie){return ie==ie&&!Qo(ie)}function uA(ie,xe){return function(tt){return tt!=null&&tt[ie]===xe&&(xe!==void 0||ie in Object(tt))}}(Ut&&Us(new Ut(new ArrayBuffer(1)))!=X||ur&&Us(new ur)!=v||Br&&Us(Br.resolve())!=E||fr&&Us(new fr)!=R||Mr&&Us(new Mr)!=W)&&(Us=function(ie){var xe=_e.call(ie),tt=xe==I?ie.constructor:void 0,Bt=tt?wt(tt):void 0;if(Bt)switch(Bt){case Tr:return X;case fn:return v;case _n:return E;case dr:return R;case rn:return W}return xe});var rs=pn(function(ie){ie=vs(ie);var xe=[];return M.test(ie)&&xe.push(""),ie.replace(z,function(tt,Bt,Gt,Xt){xe.push(Gt?Xt.replace(ae,"$1"):Bt||tt)}),xe});function $e(ie){if(typeof ie=="string"||ha(ie))return ie;var xe=ie+"";return xe=="0"&&1/ie==-u?"-0":xe}function wt(ie){if(ie!=null){try{return ke.call(ie)}catch{}try{return ie+""}catch{}}return""}var mr=Ia(function(ie,xe,tt){Pe.call(ie,tt)?ie[tt].push(xe):ie[tt]=[xe]});function pn(ie,xe){if(typeof ie!="function"||xe&&typeof xe!="function")throw new TypeError(s);var tt=function Bt(){var Gt=arguments,Xt=xe?xe.apply(this,Gt):Gt[0],Yr=Bt.cache;if(Yr.has(Xt))return Yr.get(Xt);var qr=ie.apply(this,Gt);return Bt.cache=Yr.set(Xt,qr),qr};return tt.cache=new(pn.Cache||Lr),tt}function ra(ie,xe){return ie===xe||ie!=ie&&xe!=xe}function ui(ie){return ao(ie)&&Pe.call(ie,"callee")&&(!St.call(ie,"callee")||_e.call(ie)==A)}pn.Cache=Lr;var Hi=Array.isArray;function Aa(ie){return ie!=null&&Yi(ie.length)&&!Zi(ie)}function ao(ie){return Ua(ie)&&Aa(ie)}function Zi(ie){var xe=Qo(ie)?_e.call(ie):"";return xe==p||xe==m}function Yi(ie){return typeof ie=="number"&&ie>-1&&ie%1==0&&ie<=l}function Qo(ie){var xe=typeof ie;return!!ie&&(xe=="object"||xe=="function")}function Ua(ie){return!!ie&&typeof ie=="object"}function ha(ie){return typeof ie=="symbol"||Ua(ie)&&_e.call(ie)==j}var ns=At?dt(At):ts;function vs(ie){return ie==null?"":ks(ie)}function G(ie,xe,tt){var Bt=ie==null?void 0:Wo(ie,xe);return Bt===void 0?tt:Bt}function J(ie,xe){return ie!=null&&vh(ie,xe,lh)}function oe(ie){return Aa(ie)?oA(ie):Mo(ie)}function Se(ie){return ie}function et(ie){return Jc(ie)?ye($e(ie)):Cc(ie)}r.exports=mr}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],444:[function(e,r,t){var n="[object Boolean]",a=Object.prototype.toString;function s(i){return i===!0||i===!1||o(i)&&a.call(i)==n}function o(i){return!!i&&typeof i=="object"}r.exports=s},{}],445:[function(e,r,t){(function(n){(function(){var a=200,s="__lodash_hash_undefined__",o=1,i=2,c=9007199254740991,u="[object Arguments]",l="[object Array]",A="[object AsyncFunction]",h="[object Boolean]",f="[object Date]",d="[object Error]",g="[object Function]",p="[object GeneratorFunction]",m="[object Map]",v="[object Number]",y="[object Null]",I="[object Object]",E="[object Promise]",k="[object Proxy]",R="[object RegExp]",T="[object Set]",j="[object String]",W="[object Symbol]",H="[object Undefined]",X="[object WeakMap]",x="[object ArrayBuffer]",N="[object DataView]",C="[object Float64Array]",w="[object Int8Array]",Q="[object Int16Array]",B="[object Int32Array]",S="[object Uint8Array]",O="[object Uint8ClampedArray]",F="[object Uint16Array]",Y="[object Uint32Array]",M=/[\\^$.*+?()[\]{}|]/g,z=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,ae={};ae["[object Float32Array]"]=ae[C]=ae[w]=ae[Q]=ae[B]=ae[S]=ae[O]=ae[F]=ae[Y]=!0,ae[u]=ae[l]=ae[x]=ae[h]=ae[N]=ae[f]=ae[d]=ae[g]=ae[m]=ae[v]=ae[I]=ae[R]=ae[T]=ae[j]=ae[X]=!1;var Ne=typeof n=="object"&&n&&n.Object===Object&&n,Ge=typeof self=="object"&&self&&self.Object===Object&&self,Ye=Ne||Ge||Function("return this")(),Ae=typeof t=="object"&&t&&!t.nodeType&&t,te=Ae&&typeof r=="object"&&r&&!r.nodeType&&r,he=te&&te.exports===Ae,de=he&&Ne.process,Ke=function(){try{return de&&de.binding&&de.binding("util")}catch{}}(),le=Ke&&Ke.isTypedArray;function Ce($e,wt){for(var mr=-1,pn=$e==null?0:$e.length,ra=0,ui=[];++mr<pn;){var Hi=$e[mr];wt(Hi,mr,$e)&&(ui[ra++]=Hi)}return ui}function At($e,wt){for(var mr=-1,pn=wt.length,ra=$e.length;++mr<pn;)$e[ra+mr]=wt[mr];return $e}function Z($e,wt){for(var mr=-1,pn=$e==null?0:$e.length;++mr<pn;)if(wt($e[mr],mr,$e))return!0;return!1}function ce($e,wt){for(var mr=-1,pn=Array($e);++mr<$e;)pn[mr]=wt(mr);return pn}function ye($e){return function(wt){return $e(wt)}}function Ve($e,wt){return $e.has(wt)}function dt($e,wt){return $e==null?void 0:$e[wt]}function re($e){var wt=-1,mr=Array($e.size);return $e.forEach(function(pn,ra){mr[++wt]=[ra,pn]}),mr}function ot($e,wt){return function(mr){return $e(wt(mr))}}function pt($e){var wt=-1,mr=Array($e.size);return $e.forEach(function(pn){mr[++wt]=pn}),mr}var Be,Ee=Array.prototype,Me=Function.prototype,yt=Object.prototype,pe=Ye["__core-js_shared__"],me=Me.toString,Re=yt.hasOwnProperty,Ze=(Be=/[^.]+$/.exec(pe&&pe.keys&&pe.keys.IE_PROTO||""))?"Symbol(src)_1."+Be:"",ke=yt.toString,Pe=RegExp("^"+me.call(Re).replace(M,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_e=he?Ye.Buffer:void 0,Je=Ye.Symbol,at=Ye.Uint8Array,Dt=yt.propertyIsEnumerable,St=Ee.splice,hr=Je?Je.toStringTag:void 0,Wt=Object.getOwnPropertySymbols,Ut=_e?_e.isBuffer:void 0,ur=ot(Object.keys,Object),Br=Au(Ye,"DataView"),fr=Au(Ye,"Map"),Mr=Au(Ye,"Promise"),er=Au(Ye,"Set"),Tr=Au(Ye,"WeakMap"),fn=Au(Object,"create"),_n=oc(Br),dr=oc(fr),rn=oc(Mr),Kr=oc(er),tr=oc(Tr),on=Je?Je.prototype:void 0,nn=on?on.valueOf:void 0;function An($e){var wt=-1,mr=$e==null?0:$e.length;for(this.clear();++wt<mr;){var pn=$e[wt];this.set(pn[0],pn[1])}}function bn(){this.__data__=fn?fn(null):{},this.size=0}function Gn($e){var wt=this.has($e)&&delete this.__data__[$e];return this.size-=wt?1:0,wt}function Dr($e){var wt=this.__data__;if(fn){var mr=wt[$e];return mr===s?void 0:mr}return Re.call(wt,$e)?wt[$e]:void 0}function Nn($e){var wt=this.__data__;return fn?wt[$e]!==void 0:Re.call(wt,$e)}function Mn($e,wt){var mr=this.__data__;return this.size+=this.has($e)?0:1,mr[$e]=fn&&wt===void 0?s:wt,this}function Hn($e){var wt=-1,mr=$e==null?0:$e.length;for(this.clear();++wt<mr;){var pn=$e[wt];this.set(pn[0],pn[1])}}function vi(){this.__data__=[],this.size=0}function qe($e){var wt=this.__data__,mr=uu(wt,$e);return!(mr<0||(mr==wt.length-1?wt.pop():St.call(wt,mr,1),--this.size,0))}function bt($e){var wt=this.__data__,mr=uu(wt,$e);return mr<0?void 0:wt[mr][1]}function Ft($e){return uu(this.__data__,$e)>-1}function Lr($e,wt){var mr=this.__data__,pn=uu(mr,$e);return pn<0?(++this.size,mr.push([$e,wt])):mr[pn][1]=wt,this}function kn($e){var wt=-1,mr=$e==null?0:$e.length;for(this.clear();++wt<mr;){var pn=$e[wt];this.set(pn[0],pn[1])}}function Bi(){this.size=0,this.__data__={hash:new An,map:new(fr||Hn),string:new An}}function ka($e){var wt=Mo(this,$e).delete($e);return this.size-=wt?1:0,wt}function Va($e){return Mo(this,$e).get($e)}function qo($e){return Mo(this,$e).has($e)}function Ro($e,wt){var mr=Mo(this,$e),pn=mr.size;return mr.set($e,wt),this.size+=mr.size==pn?0:1,this}function po($e){var wt=-1,mr=$e==null?0:$e.length;for(this.__data__=new kn;++wt<mr;)this.add($e[wt])}function Fo($e){return this.__data__.set($e,s),this}function ri($e){return this.__data__.has($e)}function $n($e){var wt=this.__data__=new Hn($e);this.size=wt.size}function Bs(){this.__data__=new Hn,this.size=0}function No($e){var wt=this.__data__,mr=wt.delete($e);return this.size=wt.size,mr}function Qs($e){return this.__data__.get($e)}function bc($e){return this.__data__.has($e)}function oA($e,wt){var mr=this.__data__;if(mr instanceof Hn){var pn=mr.__data__;if(!fr||pn.length<a-1)return pn.push([$e,wt]),this.size=++mr.size,this;mr=this.__data__=new kn(pn)}return mr.set($e,wt),this.size=mr.size,this}function Na($e,wt){var mr=Yc($e),pn=!mr&&ju($e),ra=!mr&&!pn&&Us($e),ui=!mr&&!pn&&!ra&&Bl($e),Hi=mr||pn||ra||ui,Aa=Hi?ce($e.length,String):[],ao=Aa.length;for(var Zi in $e)!wt&&!Re.call($e,Zi)||Hi&&(Zi=="length"||ra&&(Zi=="offset"||Zi=="parent")||ui&&(Zi=="buffer"||Zi=="byteLength"||Zi=="byteOffset")||Cl(Zi,ao))||Aa.push(Zi);return Aa}function uu($e,wt){for(var mr=$e.length;mr--;)if(ph($e[mr][0],wt))return mr;return-1}function Hc($e,wt,mr){var pn=wt($e);return Yc($e)?pn:At(pn,mr($e))}function lu($e){return $e==null?$e===void 0?H:y:hr&&hr in Object($e)?dh($e):gh($e)}function yl($e){return hu($e)&&lu($e)==u}function Wo($e,wt,mr,pn,ra){return $e===wt||($e==null||wt==null||!hu($e)&&!hu(wt)?$e!=$e&&wt!=wt:Il($e,wt,mr,pn,Wo,ra))}function Il($e,wt,mr,pn,ra,ui){var Hi=Yc($e),Aa=Yc(wt),ao=Hi?l:ks($e),Zi=Aa?l:ks(wt),Yi=(ao=ao==u?I:ao)==I,Qo=(Zi=Zi==u?I:Zi)==I,Ua=ao==Zi;if(Ua&&Us($e)){if(!Us(wt))return!1;Hi=!0,Yi=!1}if(Ua&&!Yi)return ui||(ui=new $n),Hi||Bl($e)?sA($e,wt,mr,pn,ra,ui):hh($e,wt,ao,mr,pn,ra,ui);if(!(mr&o)){var ha=Yi&&Re.call($e,"__wrapped__"),ns=Qo&&Re.call(wt,"__wrapped__");if(ha||ns){var vs=ha?$e.value():$e,G=ns?wt.value():wt;return ui||(ui=new $n),ra(vs,G,mr,pn,ui)}}return!!Ua&&(ui||(ui=new $n),ts($e,wt,mr,pn,ra,ui))}function lh($e){return!(!wl($e)||Ec($e))&&(El($e)?Pe:z).test(oc($e))}function bl($e){return hu($e)&&Jc($e.length)&&!!ae[lu($e)]}function Ah($e){if(!cA($e))return ur($e);var wt=[];for(var mr in Object($e))Re.call($e,mr)&&mr!="constructor"&&wt.push(mr);return wt}function sA($e,wt,mr,pn,ra,ui){var Hi=mr&o,Aa=$e.length,ao=wt.length;if(Aa!=ao&&!(Hi&&ao>Aa))return!1;var Zi=ui.get($e);if(Zi&&ui.get(wt))return Zi==wt;var Yi=-1,Qo=!0,Ua=mr&i?new po:void 0;for(ui.set($e,wt),ui.set(wt,$e);++Yi<Aa;){var ha=$e[Yi],ns=wt[Yi];if(pn)var vs=Hi?pn(ns,ha,Yi,wt,$e,ui):pn(ha,ns,Yi,$e,wt,ui);if(vs!==void 0){if(vs)continue;Qo=!1;break}if(Ua){if(!Z(wt,function(G,J){if(!Ve(Ua,J)&&(ha===G||ra(ha,G,mr,pn,ui)))return Ua.push(J)})){Qo=!1;break}}else if(ha!==ns&&!ra(ha,ns,mr,pn,ui)){Qo=!1;break}}return ui.delete($e),ui.delete(wt),Qo}function hh($e,wt,mr,pn,ra,ui,Hi){switch(mr){case N:if($e.byteLength!=wt.byteLength||$e.byteOffset!=wt.byteOffset)return!1;$e=$e.buffer,wt=wt.buffer;case x:return!($e.byteLength!=wt.byteLength||!ui(new at($e),new at(wt)));case h:case f:case v:return ph(+$e,+wt);case d:return $e.name==wt.name&&$e.message==wt.message;case R:case j:return $e==wt+"";case m:var Aa=re;case T:var ao=pn&o;if(Aa||(Aa=pt),$e.size!=wt.size&&!ao)return!1;var Zi=Hi.get($e);if(Zi)return Zi==wt;pn|=i,Hi.set($e,wt);var Yi=sA(Aa($e),Aa(wt),pn,ra,ui,Hi);return Hi.delete($e),Yi;case W:if(nn)return nn.call($e)==nn.call(wt)}return!1}function ts($e,wt,mr,pn,ra,ui){var Hi=mr&o,Aa=fh($e),ao=Aa.length;if(ao!=fh(wt).length&&!Hi)return!1;for(var Zi=ao;Zi--;){var Yi=Aa[Zi];if(!(Hi?Yi in wt:Re.call(wt,Yi)))return!1}var Qo=ui.get($e);if(Qo&&ui.get(wt))return Qo==wt;var Ua=!0;ui.set($e,wt),ui.set(wt,$e);for(var ha=Hi;++Zi<ao;){var ns=$e[Yi=Aa[Zi]],vs=wt[Yi];if(pn)var G=Hi?pn(vs,ns,Yi,wt,$e,ui):pn(ns,vs,Yi,$e,wt,ui);if(!(G===void 0?ns===vs||ra(ns,vs,mr,pn,ui):G)){Ua=!1;break}ha||(ha=Yi=="constructor")}if(Ua&&!ha){var J=$e.constructor,oe=wt.constructor;J==oe||!("constructor"in $e)||!("constructor"in wt)||typeof J=="function"&&J instanceof J&&typeof oe=="function"&&oe instanceof oe||(Ua=!1)}return ui.delete($e),ui.delete(wt),Ua}function fh($e){return Hc($e,Ql,Cc)}function Mo($e,wt){var mr=$e.__data__;return Ia(wt)?mr[typeof wt=="string"?"string":"hash"]:mr.map}function Au($e,wt){var mr=dt($e,wt);return lh(mr)?mr:void 0}function dh($e){var wt=Re.call($e,hr),mr=$e[hr];try{$e[hr]=void 0;var pn=!0}catch{}var ra=ke.call($e);return pn&&(wt?$e[hr]=mr:delete $e[hr]),ra}An.prototype.clear=bn,An.prototype.delete=Gn,An.prototype.get=Dr,An.prototype.has=Nn,An.prototype.set=Mn,Hn.prototype.clear=vi,Hn.prototype.delete=qe,Hn.prototype.get=bt,Hn.prototype.has=Ft,Hn.prototype.set=Lr,kn.prototype.clear=Bi,kn.prototype.delete=ka,kn.prototype.get=Va,kn.prototype.has=qo,kn.prototype.set=Ro,po.prototype.add=po.prototype.push=Fo,po.prototype.has=ri,$n.prototype.clear=Bs,$n.prototype.delete=No,$n.prototype.get=Qs,$n.prototype.has=bc,$n.prototype.set=oA;var Cc=Wt?function($e){return $e==null?[]:($e=Object($e),Ce(Wt($e),function(wt){return Dt.call($e,wt)}))}:uA,ks=lu;function Cl($e,wt){return!!(wt=wt??c)&&(typeof $e=="number"||ue.test($e))&&$e>-1&&$e%1==0&&$e<wt}function Ia($e){var wt=typeof $e;return wt=="string"||wt=="number"||wt=="symbol"||wt=="boolean"?$e!=="__proto__":$e===null}function Ec($e){return!!Ze&&Ze in $e}function cA($e){var wt=$e&&$e.constructor;return $e===(typeof wt=="function"&&wt.prototype||yt)}function gh($e){return ke.call($e)}function oc($e){if($e!=null){try{return me.call($e)}catch{}try{return $e+""}catch{}}return""}function ph($e,wt){return $e===wt||$e!=$e&&wt!=wt}(Br&&ks(new Br(new ArrayBuffer(1)))!=N||fr&&ks(new fr)!=m||Mr&&ks(Mr.resolve())!=E||er&&ks(new er)!=T||Tr&&ks(new Tr)!=X)&&(ks=function($e){var wt=lu($e),mr=wt==I?$e.constructor:void 0,pn=mr?oc(mr):"";if(pn)switch(pn){case _n:return N;case dr:return m;case rn:return E;case Kr:return T;case tr:return X}return wt});var ju=yl(function(){return arguments}())?yl:function($e){return hu($e)&&Re.call($e,"callee")&&!Dt.call($e,"callee")},Yc=Array.isArray;function xs($e){return $e!=null&&Jc($e.length)&&!El($e)}var Us=Ut||rs;function vh($e,wt){return Wo($e,wt)}function El($e){if(!wl($e))return!1;var wt=lu($e);return wt==g||wt==p||wt==A||wt==k}function Jc($e){return typeof $e=="number"&&$e>-1&&$e%1==0&&$e<=c}function wl($e){var wt=typeof $e;return $e!=null&&(wt=="object"||wt=="function")}function hu($e){return $e!=null&&typeof $e=="object"}var Bl=le?ye(le):bl;function Ql($e){return xs($e)?Na($e):Ah($e)}function uA(){return[]}function rs(){return!1}r.exports=vh}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],446:[function(e,r,t){(function(n){(function(){var a="[object AsyncFunction]",s="[object Function]",o="[object GeneratorFunction]",i="[object Null]",c="[object Proxy]",u="[object Undefined]",l=typeof n=="object"&&n&&n.Object===Object&&n,A=typeof self=="object"&&self&&self.Object===Object&&self,h=l||A||Function("return this")(),f=Object.prototype,d=f.hasOwnProperty,g=f.toString,p=h.Symbol,m=p?p.toStringTag:void 0;function v(R){return R==null?R===void 0?u:i:m&&m in Object(R)?y(R):I(R)}function y(R){var T=d.call(R,m),j=R[m];try{R[m]=void 0;var W=!0}catch{}var H=g.call(R);return W&&(T?R[m]=j:delete R[m]),H}function I(R){return g.call(R)}function E(R){if(!k(R))return!1;var T=v(R);return T==s||T==o||T==a||T==c}function k(R){var T=typeof R;return R!=null&&(T=="object"||T=="function")}r.exports=E}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],447:[function(e,r,t){function n(a){return a==null}r.exports=n},{}],448:[function(e,r,t){function n(a){return a===void 0}r.exports=n},{}],449:[function(e,r,t){(function(n){(function(){var a=200,s="__lodash_hash_undefined__",o=1/0,i="[object Function]",c="[object GeneratorFunction]",u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,A=typeof n=="object"&&n&&n.Object===Object&&n,h=typeof self=="object"&&self&&self.Object===Object&&self,f=A||h||Function("return this")();function d(_e,Je){return!(!_e||!_e.length)&&m(_e,Je,0)>-1}function g(_e,Je,at){for(var Dt=-1,St=_e?_e.length:0;++Dt<St;)if(at(Je,_e[Dt]))return!0;return!1}function p(_e,Je,at,Dt){for(var St=_e.length,hr=at+(Dt?1:-1);Dt?hr--:++hr<St;)if(Je(_e[hr],hr,_e))return hr;return-1}function m(_e,Je,at){if(Je!=Je)return p(_e,v,at);for(var Dt=at-1,St=_e.length;++Dt<St;)if(_e[Dt]===Je)return Dt;return-1}function v(_e){return _e!=_e}function y(_e,Je){return _e.has(Je)}function I(_e,Je){return _e==null?void 0:_e[Je]}function E(_e){var Je=!1;if(_e!=null&&typeof _e.toString!="function")try{Je=!!(_e+"")}catch{}return Je}function k(_e){var Je=-1,at=Array(_e.size);return _e.forEach(function(Dt){at[++Je]=Dt}),at}var R,T=Array.prototype,j=Function.prototype,W=Object.prototype,H=f["__core-js_shared__"],X=(R=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"",x=j.toString,N=W.hasOwnProperty,C=W.toString,w=RegExp("^"+x.call(N).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Q=T.splice,B=Ee(f,"Map"),S=Ee(f,"Set"),O=Ee(Object,"create");function F(_e){var Je=-1,at=_e?_e.length:0;for(this.clear();++Je<at;){var Dt=_e[Je];this.set(Dt[0],Dt[1])}}function Y(){this.__data__=O?O(null):{}}function M(_e){return this.has(_e)&&delete this.__data__[_e]}function z(_e){var Je=this.__data__;if(O){var at=Je[_e];return at===s?void 0:at}return N.call(Je,_e)?Je[_e]:void 0}function ue(_e){var Je=this.__data__;return O?Je[_e]!==void 0:N.call(Je,_e)}function ae(_e,Je){return this.__data__[_e]=O&&Je===void 0?s:Je,this}function Ne(_e){var Je=-1,at=_e?_e.length:0;for(this.clear();++Je<at;){var Dt=_e[Je];this.set(Dt[0],Dt[1])}}function Ge(){this.__data__=[]}function Ye(_e){var Je=this.__data__,at=dt(Je,_e);return!(at<0||(at==Je.length-1?Je.pop():Q.call(Je,at,1),0))}function Ae(_e){var Je=this.__data__,at=dt(Je,_e);return at<0?void 0:Je[at][1]}function te(_e){return dt(this.__data__,_e)>-1}function he(_e,Je){var at=this.__data__,Dt=dt(at,_e);return Dt<0?at.push([_e,Je]):at[Dt][1]=Je,this}function de(_e){var Je=-1,at=_e?_e.length:0;for(this.clear();++Je<at;){var Dt=_e[Je];this.set(Dt[0],Dt[1])}}function Ke(){this.__data__={hash:new F,map:new(B||Ne),string:new F}}function le(_e){return Be(this,_e).delete(_e)}function Ce(_e){return Be(this,_e).get(_e)}function At(_e){return Be(this,_e).has(_e)}function Z(_e,Je){return Be(this,_e).set(_e,Je),this}function ce(_e){var Je=-1,at=_e?_e.length:0;for(this.__data__=new de;++Je<at;)this.add(_e[Je])}function ye(_e){return this.__data__.set(_e,s),this}function Ve(_e){return this.__data__.has(_e)}function dt(_e,Je){for(var at=_e.length;at--;)if(Re(_e[at][0],Je))return at;return-1}function re(_e){return!(!ke(_e)||yt(_e))&&(Ze(_e)||E(_e)?w:l).test(pe(_e))}function ot(_e,Je,at){var Dt=-1,St=d,hr=_e.length,Wt=!0,Ut=[],ur=Ut;if(at)Wt=!1,St=g;else if(hr>=a){var Br=Je?null:pt(_e);if(Br)return k(Br);Wt=!1,St=y,ur=new ce}else ur=Je?[]:Ut;e:for(;++Dt<hr;){var fr=_e[Dt],Mr=Je?Je(fr):fr;if(fr=at||fr!==0?fr:0,Wt&&Mr==Mr){for(var er=ur.length;er--;)if(ur[er]===Mr)continue e;Je&&ur.push(Mr),Ut.push(fr)}else St(ur,Mr,at)||(ur!==Ut&&ur.push(Mr),Ut.push(fr))}return Ut}F.prototype.clear=Y,F.prototype.delete=M,F.prototype.get=z,F.prototype.has=ue,F.prototype.set=ae,Ne.prototype.clear=Ge,Ne.prototype.delete=Ye,Ne.prototype.get=Ae,Ne.prototype.has=te,Ne.prototype.set=he,de.prototype.clear=Ke,de.prototype.delete=le,de.prototype.get=Ce,de.prototype.has=At,de.prototype.set=Z,ce.prototype.add=ce.prototype.push=ye,ce.prototype.has=Ve;var pt=S&&1/k(new S([,-0]))[1]==o?function(_e){return new S(_e)}:Pe;function Be(_e,Je){var at=_e.__data__;return Me(Je)?at[typeof Je=="string"?"string":"hash"]:at.map}function Ee(_e,Je){var at=I(_e,Je);return re(at)?at:void 0}function Me(_e){var Je=typeof _e;return Je=="string"||Je=="number"||Je=="symbol"||Je=="boolean"?_e!=="__proto__":_e===null}function yt(_e){return!!X&&X in _e}function pe(_e){if(_e!=null){try{return x.call(_e)}catch{}try{return _e+""}catch{}}return""}function me(_e){return _e&&_e.length?ot(_e):[]}function Re(_e,Je){return _e===Je||_e!=_e&&Je!=Je}function Ze(_e){var Je=ke(_e)?C.call(_e):"";return Je==i||Je==c}function ke(_e){var Je=typeof _e;return!!_e&&(Je=="object"||Je=="function")}function Pe(){}r.exports=me}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],450:[function(e,r,t){var n=e("inherits"),a=e("hash-base"),s=e("safe-buffer").Buffer,o=new Array(16);function i(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(f,d){return f<<d|f>>>32-d}function u(f,d,g,p,m,v,y){return c(f+(d&g|~d&p)+m+v|0,y)+d|0}function l(f,d,g,p,m,v,y){return c(f+(d&p|g&~p)+m+v|0,y)+d|0}function A(f,d,g,p,m,v,y){return c(f+(d^g^p)+m+v|0,y)+d|0}function h(f,d,g,p,m,v,y){return c(f+(g^(d|~p))+m+v|0,y)+d|0}n(i,a),i.prototype._update=function(){for(var f=o,d=0;d<16;++d)f[d]=this._block.readInt32LE(4*d);var g=this._a,p=this._b,m=this._c,v=this._d;g=u(g,p,m,v,f[0],3614090360,7),v=u(v,g,p,m,f[1],3905402710,12),m=u(m,v,g,p,f[2],606105819,17),p=u(p,m,v,g,f[3],3250441966,22),g=u(g,p,m,v,f[4],4118548399,7),v=u(v,g,p,m,f[5],1200080426,12),m=u(m,v,g,p,f[6],2821735955,17),p=u(p,m,v,g,f[7],4249261313,22),g=u(g,p,m,v,f[8],1770035416,7),v=u(v,g,p,m,f[9],2336552879,12),m=u(m,v,g,p,f[10],4294925233,17),p=u(p,m,v,g,f[11],2304563134,22),g=u(g,p,m,v,f[12],1804603682,7),v=u(v,g,p,m,f[13],4254626195,12),m=u(m,v,g,p,f[14],2792965006,17),g=l(g,p=u(p,m,v,g,f[15],1236535329,22),m,v,f[1],4129170786,5),v=l(v,g,p,m,f[6],3225465664,9),m=l(m,v,g,p,f[11],643717713,14),p=l(p,m,v,g,f[0],3921069994,20),g=l(g,p,m,v,f[5],3593408605,5),v=l(v,g,p,m,f[10],38016083,9),m=l(m,v,g,p,f[15],3634488961,14),p=l(p,m,v,g,f[4],3889429448,20),g=l(g,p,m,v,f[9],568446438,5),v=l(v,g,p,m,f[14],3275163606,9),m=l(m,v,g,p,f[3],4107603335,14),p=l(p,m,v,g,f[8],1163531501,20),g=l(g,p,m,v,f[13],2850285829,5),v=l(v,g,p,m,f[2],4243563512,9),m=l(m,v,g,p,f[7],1735328473,14),g=A(g,p=l(p,m,v,g,f[12],2368359562,20),m,v,f[5],4294588738,4),v=A(v,g,p,m,f[8],2272392833,11),m=A(m,v,g,p,f[11],1839030562,16),p=A(p,m,v,g,f[14],4259657740,23),g=A(g,p,m,v,f[1],2763975236,4),v=A(v,g,p,m,f[4],1272893353,11),m=A(m,v,g,p,f[7],4139469664,16),p=A(p,m,v,g,f[10],3200236656,23),g=A(g,p,m,v,f[13],681279174,4),v=A(v,g,p,m,f[0],3936430074,11),m=A(m,v,g,p,f[3],3572445317,16),p=A(p,m,v,g,f[6],76029189,23),g=A(g,p,m,v,f[9],3654602809,4),v=A(v,g,p,m,f[12],3873151461,11),m=A(m,v,g,p,f[15],530742520,16),g=h(g,p=A(p,m,v,g,f[2],3299628645,23),m,v,f[0],4096336452,6),v=h(v,g,p,m,f[7],1126891415,10),m=h(m,v,g,p,f[14],2878612391,15),p=h(p,m,v,g,f[5],4237533241,21),g=h(g,p,m,v,f[12],1700485571,6),v=h(v,g,p,m,f[3],2399980690,10),m=h(m,v,g,p,f[10],4293915773,15),p=h(p,m,v,g,f[1],2240044497,21),g=h(g,p,m,v,f[8],1873313359,6),v=h(v,g,p,m,f[15],4264355552,10),m=h(m,v,g,p,f[6],2734768916,15),p=h(p,m,v,g,f[13],1309151649,21),g=h(g,p,m,v,f[4],4149444226,6),v=h(v,g,p,m,f[11],3174756917,10),m=h(m,v,g,p,f[2],718787259,15),p=h(p,m,v,g,f[9],3951481745,21),this._a=this._a+g|0,this._b=this._b+p|0,this._c=this._c+m|0,this._d=this._d+v|0},i.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var f=s.allocUnsafe(16);return f.writeInt32LE(this._a,0),f.writeInt32LE(this._b,4),f.writeInt32LE(this._c,8),f.writeInt32LE(this._d,12),f},r.exports=i},{"hash-base":425,inherits:440,"safe-buffer":494}],451:[function(e,r,t){var n=e("bn.js"),a=e("brorand");function s(o){this.rand=o||new a.Rand}r.exports=s,s.create=function(o){return new s(o)},s.prototype._randbelow=function(o){var i=o.bitLength(),c=Math.ceil(i/8);do var u=new n(this.rand.generate(c));while(u.cmp(o)>=0);return u},s.prototype._randrange=function(o,i){var c=i.sub(o);return o.add(this._randbelow(c))},s.prototype.test=function(o,i,c){var u=o.bitLength(),l=n.mont(o),A=new n(1).toRed(l);i||(i=Math.max(1,u/48|0));for(var h=o.subn(1),f=0;!h.testn(f);f++);for(var d=o.shrn(f),g=h.toRed(l),p=!0;i>0;i--){var m=this._randrange(new n(2),h);c&&c(m);var v=m.toRed(l).redPow(d);if(v.cmp(A)!==0&&v.cmp(g)!==0){for(var y=1;y<f;y++){if((v=v.redSqr()).cmp(A)===0)return!1;if(v.cmp(g)===0)break}if(y===f)return!1}}return p},s.prototype.getDivisor=function(o,i){var c=o.bitLength(),u=n.mont(o),l=new n(1).toRed(u);i||(i=Math.max(1,c/48|0));for(var A=o.subn(1),h=0;!A.testn(h);h++);for(var f=o.shrn(h),d=A.toRed(u);i>0;i--){var g=this._randrange(new n(2),A),p=o.gcd(g);if(p.cmpn(1)!==0)return p;var m=g.toRed(u).redPow(f);if(m.cmp(l)!==0&&m.cmp(d)!==0){for(var v=1;v<h;v++){if((m=m.redSqr()).cmp(l)===0)return m.fromRed().subn(1).gcd(o);if(m.cmp(d)===0)break}if(v===h)return(m=m.redSqr()).fromRed().subn(1).gcd(o)}}return!1}},{"bn.js":452,brorand:187}],452:[function(e,r,t){arguments[4][184][0].apply(t,arguments)},{buffer:188,dup:184}],453:[function(e,r,t){function n(a,s){if(!a)throw new Error(s||"Assertion failed")}r.exports=n,n.equal=function(a,s,o){if(a!=s)throw new Error(o||"Assertion failed: "+a+" != "+s)}},{}],454:[function(e,r,t){var n=t;function a(i,c){if(Array.isArray(i))return i.slice();if(!i)return[];var u=[];if(typeof i!="string"){for(var l=0;l<i.length;l++)u[l]=0|i[l];return u}if(c==="hex")for((i=i.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(i="0"+i),l=0;l<i.length;l+=2)u.push(parseInt(i[l]+i[l+1],16));else for(l=0;l<i.length;l++){var A=i.charCodeAt(l),h=A>>8,f=255&A;h?u.push(h,f):u.push(f)}return u}function s(i){return i.length===1?"0"+i:i}function o(i){for(var c="",u=0;u<i.length;u++)c+=s(i[u].toString(16));return c}n.toArray=a,n.zero2=s,n.toHex=o,n.encode=function(i,c){return c==="hex"?o(i):i}},{}],455:[function(e,r,t){r.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(e,r,t){var n=e("asn1.js");t.certificate=e("./certificate");var a=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t.RSAPrivateKey=a;var s=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t.RSAPublicKey=s;var o=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())});t.PublicKey=o;var i=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(i),this.key("subjectPrivateKey").octstr())});t.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t.DSAPrivateKey=l,t.DSAparam=n.define("DSAparam",function(){this.int()});var A=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())});t.ECPrivateKey=A;var h=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":457,"asn1.js":170}],457:[function(e,r,t){var n=e("asn1.js"),a=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),s=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),i=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),c=n.define("RelativeDistinguishedName",function(){this.setof(s)}),u=n.define("RDNSequence",function(){this.seqof(c)}),l=n.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),A=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(a),this.key("notAfter").use(a))}),h=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),f=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(l),this.key("validity").use(A),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(i),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())}),d=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())});r.exports=d},{"asn1.js":170}],458:[function(e,r,t){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,s=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=e("evp_bytestokey"),i=e("browserify-aes"),c=e("safe-buffer").Buffer;r.exports=function(u,l){var A,h=u.toString(),f=h.match(n);if(f){var d="aes"+f[1],g=c.from(f[2],"hex"),p=c.from(f[3].replace(/[\r\n]/g,""),"base64"),m=o(l,g.slice(0,8),parseInt(f[1],10)).key,v=[],y=i.createDecipheriv(d,m,g);v.push(y.update(p)),v.push(y.final()),A=c.concat(v)}else{var I=h.match(s);A=c.from(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:h.match(a)[1],data:A}}},{"browserify-aes":191,evp_bytestokey:423,"safe-buffer":494}],459:[function(e,r,t){var n=e("./asn1"),a=e("./aesid.json"),s=e("./fixProc"),o=e("browserify-aes"),i=e("pbkdf2"),c=e("safe-buffer").Buffer;function u(A){var h;typeof A!="object"||c.isBuffer(A)||(h=A.passphrase,A=A.key),typeof A=="string"&&(A=c.from(A));var f,d,g=s(A,h),p=g.tag,m=g.data;switch(p){case"CERTIFICATE":d=n.certificate.decode(m,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(d||(d=n.PublicKey.decode(m,"der")),f=d.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(d.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return d.subjectPrivateKey=d.subjectPublicKey,{type:"ec",data:d};case"1.2.840.10040.4.1":return d.algorithm.params.pub_key=n.DSAparam.decode(d.subjectPublicKey.data,"der"),{type:"dsa",data:d.algorithm.params};default:throw new Error("unknown key id "+f)}case"ENCRYPTED PRIVATE KEY":m=l(m=n.EncryptedPrivateKey.decode(m,"der"),h);case"PRIVATE KEY":switch(f=(d=n.PrivateKey.decode(m,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(d.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:d.algorithm.curve,privateKey:n.ECPrivateKey.decode(d.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return d.algorithm.params.priv_key=n.DSAparam.decode(d.subjectPrivateKey,"der"),{type:"dsa",params:d.algorithm.params};default:throw new Error("unknown key id "+f)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(m,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(m,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(m,"der")};case"EC PRIVATE KEY":return{curve:(m=n.ECPrivateKey.decode(m,"der")).parameters.value,privateKey:m.privateKey};default:throw new Error("unknown key type "+p)}}function l(A,h){var f=A.algorithm.decrypt.kde.kdeparams.salt,d=parseInt(A.algorithm.decrypt.kde.kdeparams.iters.toString(),10),g=a[A.algorithm.decrypt.cipher.algo.join(".")],p=A.algorithm.decrypt.cipher.iv,m=A.subjectPrivateKey,v=parseInt(g.split("-")[1],10)/8,y=i.pbkdf2Sync(h,f,d,v,"sha1"),I=o.createDecipheriv(g,y,p),E=[];return E.push(I.update(m)),E.push(I.final()),c.concat(E)}r.exports=u,u.signature=n.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":191,pbkdf2:460,"safe-buffer":494}],460:[function(e,r,t){t.pbkdf2=e("./lib/async"),t.pbkdf2Sync=e("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(e,r,t){(function(n){(function(){var a,s,o=e("safe-buffer").Buffer,i=e("./precondition"),c=e("./default-encoding"),u=e("./sync"),l=e("./to-buffer"),A=n.crypto&&n.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(v){if(n.process&&!n.process.browser||!A||!A.importKey||!A.deriveBits)return Promise.resolve(!1);if(f[v]!==void 0)return f[v];var y=p(a=a||o.alloc(8),a,10,128,v).then(function(){return!0}).catch(function(){return!1});return f[v]=y,y}function g(){return s||(s=n.process&&n.process.nextTick?n.process.nextTick:n.queueMicrotask?n.queueMicrotask:n.setImmediate?n.setImmediate:n.setTimeout)}function p(v,y,I,E,k){return A.importKey("raw",v,{name:"PBKDF2"},!1,["deriveBits"]).then(function(R){return A.deriveBits({name:"PBKDF2",salt:y,iterations:I,hash:{name:k}},R,E<<3)}).then(function(R){return o.from(R)})}function m(v,y){v.then(function(I){g()(function(){y(null,I)})},function(I){g()(function(){y(I)})})}r.exports=function(v,y,I,E,k,R){typeof k=="function"&&(R=k,k=void 0);var T=h[(k=k||"sha1").toLowerCase()];if(T&&typeof n.Promise=="function"){if(i(I,E),v=l(v,c,"Password"),y=l(y,c,"Salt"),typeof R!="function")throw new Error("No callback provided to pbkdf2");m(d(T).then(function(j){return j?p(v,y,I,E,T):u(v,y,I,E,k)}),R)}else g()(function(){var j;try{j=u(v,y,I,E,k)}catch(W){return R(W)}R(null,j)})}}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,"safe-buffer":494}],462:[function(e,r,t){(function(n,a){(function(){var s;s=a.process&&a.process.browser?"utf-8":a.process&&a.process.version?parseInt(n.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",r.exports=s}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467}],463:[function(e,r,t){var n=Math.pow(2,30)-1;r.exports=function(a,s){if(typeof a!="number")throw new TypeError("Iterations not a number");if(a<0)throw new TypeError("Bad iterations");if(typeof s!="number")throw new TypeError("Key length not a number");if(s<0||s>n||s!=s)throw new TypeError("Bad key length")}},{}],464:[function(e,r,t){var n=e("create-hash/md5"),a=e("ripemd160"),s=e("sha.js"),o=e("safe-buffer").Buffer,i=e("./precondition"),c=e("./default-encoding"),u=e("./to-buffer"),l=o.alloc(128),A={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(g,p,m){var v=f(g),y=g==="sha512"||g==="sha384"?128:64;p.length>y?p=v(p):p.length<y&&(p=o.concat([p,l],y));for(var I=o.allocUnsafe(y+A[g]),E=o.allocUnsafe(y+A[g]),k=0;k<y;k++)I[k]=54^p[k],E[k]=92^p[k];var R=o.allocUnsafe(y+m+4);I.copy(R,0,0,y),this.ipad1=R,this.ipad2=I,this.opad=E,this.alg=g,this.blocksize=y,this.hash=v,this.size=A[g]}function f(g){function p(v){return s(g).update(v).digest()}function m(v){return new a().update(v).digest()}return g==="rmd160"||g==="ripemd160"?m:g==="md5"?n:p}function d(g,p,m,v,y){i(m,v);var I=new h(y=y||"sha1",g=u(g,c,"Password"),(p=u(p,c,"Salt")).length),E=o.allocUnsafe(v),k=o.allocUnsafe(p.length+4);p.copy(k,0,0,p.length);for(var R=0,T=A[y],j=Math.ceil(v/T),W=1;W<=j;W++){k.writeUInt32BE(W,p.length);for(var H=I.run(k,I.ipad1),X=H,x=1;x<m;x++){X=I.run(X,I.ipad2);for(var N=0;N<T;N++)H[N]^=X[N]}H.copy(E,R),R+=T}return E}h.prototype.run=function(g,p){return g.copy(p,this.blocksize),this.hash(p).copy(this.opad,this.blocksize),this.hash(this.opad)},r.exports=d},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":387,ripemd160:493,"safe-buffer":494,"sha.js":498}],465:[function(e,r,t){var n=e("safe-buffer").Buffer;r.exports=function(a,s,o){if(n.isBuffer(a))return a;if(typeof a=="string")return n.from(a,s);if(ArrayBuffer.isView(a))return n.from(a.buffer);throw new TypeError(o+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(e,r,t){(function(n){(function(){function a(s,o,i,c){if(typeof s!="function")throw new TypeError('"callback" argument must be a function');var u,l,A=arguments.length;switch(A){case 0:case 1:return n.nextTick(s);case 2:return n.nextTick(function(){s.call(null,o)});case 3:return n.nextTick(function(){s.call(null,o,i)});case 4:return n.nextTick(function(){s.call(null,o,i,c)});default:for(u=new Array(A-1),l=0;l<u.length;)u[l++]=arguments[l];return n.nextTick(function(){s.apply(null,u)})}}n===void 0||!n.version||n.version.indexOf("v0.")===0||n.version.indexOf("v1.")===0&&n.version.indexOf("v1.8.")!==0?r.exports={nextTick:a}:r.exports=n}).call(this)}).call(this,e("_process"))},{_process:467}],467:[function(e,r,t){var n,a,s=r.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function c(v){if(n===setTimeout)return setTimeout(v,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(v,0);try{return n(v,0)}catch{try{return n.call(null,v,0)}catch{return n.call(this,v,0)}}}function u(v){if(a===clearTimeout)return clearTimeout(v);if((a===i||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(v);try{return a(v)}catch{try{return a.call(null,v)}catch{return a.call(this,v)}}}(function(){try{n=typeof setTimeout=="function"?setTimeout:o}catch{n=o}try{a=typeof clearTimeout=="function"?clearTimeout:i}catch{a=i}})();var l,A=[],h=!1,f=-1;function d(){h&&l&&(h=!1,l.length?A=l.concat(A):f=-1,A.length&&g())}function g(){if(!h){var v=c(d);h=!0;for(var y=A.length;y;){for(l=A,A=[];++f<y;)l&&l[f].run();f=-1,y=A.length}l=null,h=!1,u(v)}}function p(v,y){this.fun=v,this.array=y}function m(){}s.nextTick=function(v){var y=new Array(arguments.length-1);if(arguments.length>1)for(var I=1;I<arguments.length;I++)y[I-1]=arguments[I];A.push(new p(v,y)),A.length!==1||h||c(g)},p.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=m,s.addListener=m,s.once=m,s.off=m,s.removeListener=m,s.removeAllListeners=m,s.emit=m,s.prependListener=m,s.prependOnceListener=m,s.listeners=function(v){return[]},s.binding=function(v){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(v){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},{}],468:[function(e,r,t){t.publicEncrypt=e("./publicEncrypt"),t.privateDecrypt=e("./privateDecrypt"),t.privateEncrypt=function(n,a){return t.publicEncrypt(n,a,!0)},t.publicDecrypt=function(n,a){return t.privateDecrypt(n,a,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(e,r,t){var n=e("create-hash"),a=e("safe-buffer").Buffer;function s(o){var i=a.allocUnsafe(4);return i.writeUInt32BE(o,0),i}r.exports=function(o,i){for(var c,u=a.alloc(0),l=0;u.length<i;)c=s(l++),u=a.concat([u,n("sha1").update(o).update(c).digest()]);return u.slice(0,i)}},{"create-hash":386,"safe-buffer":494}],470:[function(e,r,t){arguments[4][184][0].apply(t,arguments)},{buffer:188,dup:184}],471:[function(e,r,t){var n=e("parse-asn1"),a=e("./mgf"),s=e("./xor"),o=e("bn.js"),i=e("browserify-rsa"),c=e("create-hash"),u=e("./withPublic"),l=e("safe-buffer").Buffer;function A(d,g){var p=d.modulus.byteLength(),m=c("sha1").update(l.alloc(0)).digest(),v=m.length;if(g[0]!==0)throw new Error("decryption error");var y=g.slice(1,v+1),I=g.slice(v+1),E=s(y,a(I,v)),k=s(I,a(E,p-v-1));if(f(m,k.slice(0,v)))throw new Error("decryption error");for(var R=v;k[R]===0;)R++;if(k[R++]!==1)throw new Error("decryption error");return k.slice(R)}function h(d,g,p){for(var m=g.slice(0,2),v=2,y=0;g[v++]!==0;)if(v>=g.length){y++;break}var I=g.slice(2,v-1);if((m.toString("hex")!=="0002"&&!p||m.toString("hex")!=="0001"&&p)&&y++,I.length<8&&y++,y)throw new Error("decryption error");return g.slice(v)}function f(d,g){d=l.from(d),g=l.from(g);var p=0,m=d.length;d.length!==g.length&&(p++,m=Math.min(d.length,g.length));for(var v=-1;++v<m;)p+=d[v]^g[v];return p}r.exports=function(d,g,p){var m;m=d.padding?d.padding:p?1:4;var v,y=n(d),I=y.modulus.byteLength();if(g.length>I||new o(g).cmp(y.modulus)>=0)throw new Error("decryption error");v=p?u(new o(g),y):i(g,y);var E=l.alloc(I-v.length);if(v=l.concat([E,v],I),m===4)return A(y,v);if(m===1)return h(y,v,p);if(m===3)return v;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,"safe-buffer":494}],472:[function(e,r,t){var n=e("parse-asn1"),a=e("randombytes"),s=e("create-hash"),o=e("./mgf"),i=e("./xor"),c=e("bn.js"),u=e("./withPublic"),l=e("browserify-rsa"),A=e("safe-buffer").Buffer;function h(g,p){var m=g.modulus.byteLength(),v=p.length,y=s("sha1").update(A.alloc(0)).digest(),I=y.length,E=2*I;if(v>m-E-2)throw new Error("message too long");var k=A.alloc(m-v-E-2),R=m-I-1,T=a(I),j=i(A.concat([y,k,A.alloc(1,1),p],R),o(T,R)),W=i(T,o(j,I));return new c(A.concat([A.alloc(1),W,j],m))}function f(g,p,m){var v,y=p.length,I=g.modulus.byteLength();if(y>I-11)throw new Error("message too long");return v=m?A.alloc(I-y-3,255):d(I-y-3),new c(A.concat([A.from([0,m?1:2]),v,A.alloc(1),p],I))}function d(g){for(var p,m=A.allocUnsafe(g),v=0,y=a(2*g),I=0;v<g;)I===y.length&&(y=a(2*g),I=0),(p=y[I++])&&(m[v++]=p);return m}r.exports=function(g,p,m){var v;v=g.padding?g.padding:m?1:4;var y,I=n(g);if(v===4)y=h(I,p);else if(v===1)y=f(I,p,m);else{if(v!==3)throw new Error("unknown padding");if((y=new c(p)).cmp(I.modulus)>=0)throw new Error("data too long for modulus")}return m?l(y,I):u(y,I)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":209,"create-hash":386,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(e,r,t){var n=e("bn.js"),a=e("safe-buffer").Buffer;function s(o,i){return a.from(o.toRed(n.mont(i.modulus)).redPow(new n(i.publicExponent)).fromRed().toArray())}r.exports=s},{"bn.js":470,"safe-buffer":494}],474:[function(e,r,t){r.exports=function(n,a){for(var s=n.length,o=-1;++o<s;)n[o]^=a[o];return n}},{}],475:[function(e,r,t){(function(n,a){(function(){var s=65536,o=4294967295;function i(){throw new Error(`Secure random number generation is not supported by this browser.
  101. Use Chrome, Firefox or Internet Explorer 11`)}var c=e("safe-buffer").Buffer,u=a.crypto||a.msCrypto;function l(A,h){if(A>o)throw new RangeError("requested too many random bytes");var f=c.allocUnsafe(A);if(A>0)if(A>s)for(var d=0;d<A;d+=s)u.getRandomValues(f.slice(d,d+s));else u.getRandomValues(f);return typeof h=="function"?n.nextTick(function(){h(null,f)}):f}u&&u.getRandomValues?r.exports=l:r.exports=i}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467,"safe-buffer":494}],476:[function(e,r,t){(function(n,a){(function(){function s(){throw new Error(`secure random number generation not supported by this browser
  102. use chrome, FireFox or Internet Explorer 11`)}var o=e("safe-buffer"),i=e("randombytes"),c=o.Buffer,u=o.kMaxLength,l=a.crypto||a.msCrypto,A=Math.pow(2,32)-1;function h(m,v){if(typeof m!="number"||m!=m)throw new TypeError("offset must be a number");if(m>A||m<0)throw new TypeError("offset must be a uint32");if(m>u||m>v)throw new RangeError("offset out of range")}function f(m,v,y){if(typeof m!="number"||m!=m)throw new TypeError("size must be a number");if(m>A||m<0)throw new TypeError("size must be a uint32");if(m+v>y||m>u)throw new RangeError("buffer too small")}function d(m,v,y,I){if(!(c.isBuffer(m)||m instanceof a.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof v=="function")I=v,v=0,y=m.length;else if(typeof y=="function")I=y,y=m.length-v;else if(typeof I!="function")throw new TypeError('"cb" argument must be a function');return h(v,m.length),f(y,v,m.length),g(m,v,y,I)}function g(m,v,y,I){if(n.browser){var E=m.buffer,k=new Uint8Array(E,v,y);return l.getRandomValues(k),I?void n.nextTick(function(){I(null,m)}):m}if(!I)return i(y).copy(m,v),m;i(y,function(R,T){if(R)return I(R);T.copy(m,v),I(null,m)})}function p(m,v,y){if(v===void 0&&(v=0),!(c.isBuffer(m)||m instanceof a.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return h(v,m.length),y===void 0&&(y=m.length-v),f(y,v,m.length),g(m,v,y)}l&&l.getRandomValues||!n.browser?(t.randomFill=d,t.randomFillSync=p):(t.randomFill=s,t.randomFillSync=s)}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(e,r,t){function n(l,A){l.prototype=Object.create(A.prototype),l.prototype.constructor=l,l.__proto__=A}var a={};function s(l,A,h){function f(g,p,m){return typeof A=="string"?A:A(g,p,m)}h||(h=Error);var d=function(g){function p(m,v,y){return g.call(this,f(m,v,y))||this}return n(p,g),p}(h);d.prototype.name=h.name,d.prototype.code=l,a[l]=d}function o(l,A){if(Array.isArray(l)){var h=l.length;return l=l.map(function(f){return String(f)}),h>2?"one of ".concat(A," ").concat(l.slice(0,h-1).join(", "),", or ")+l[h-1]:h===2?"one of ".concat(A," ").concat(l[0]," or ").concat(l[1]):"of ".concat(A," ").concat(l[0])}return"of ".concat(A," ").concat(String(l))}function i(l,A,h){return l.substr(!h||h<0?0:+h,A.length)===A}function c(l,A,h){return(h===void 0||h>l.length)&&(h=l.length),l.substring(h-A.length,h)===A}function u(l,A,h){return typeof h!="number"&&(h=0),!(h+A.length>l.length)&&l.indexOf(A,h)!==-1}s("ERR_INVALID_OPT_VALUE",function(l,A){return'The value "'+A+'" is invalid for option "'+l+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(l,A,h){var f,d;if(typeof A=="string"&&i(A,"not ")?(f="must not be",A=A.replace(/^not /,"")):f="must be",c(l," argument"))d="The ".concat(l," ").concat(f," ").concat(o(A,"type"));else{var g=u(l,".")?"property":"argument";d='The "'.concat(l,'" ').concat(g," ").concat(f," ").concat(o(A,"type"))}return d+=". Received type ".concat(typeof h)},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r.exports.codes=a},{}],478:[function(e,r,t){(function(n){(function(){var a=Object.keys||function(f){var d=[];for(var g in f)d.push(g);return d};r.exports=l;var s=e("./_stream_readable"),o=e("./_stream_writable");e("inherits")(l,s);for(var i=a(o.prototype),c=0;c<i.length;c++){var u=i[c];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(f){if(!(this instanceof l))return new l(f);s.call(this,f),o.call(this,f),this.allowHalfOpen=!0,f&&(f.readable===!1&&(this.readable=!1),f.writable===!1&&(this.writable=!1),f.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",A)))}function A(){this._writableState.ended||n.nextTick(h,this)}function h(f){f.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(f){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=f,this._writableState.destroyed=f)}})}).call(this)}).call(this,e("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:440}],479:[function(e,r,t){r.exports=a;var n=e("./_stream_transform");function a(s){if(!(this instanceof a))return new a(s);n.call(this,s)}e("inherits")(a,n),a.prototype._transform=function(s,o,i){i(null,s)}},{"./_stream_transform":481,inherits:440}],480:[function(e,r,t){(function(n,a){(function(){var s;r.exports=x,x.ReadableState=X,e("events").EventEmitter;var o=function(le,Ce){return le.listeners(Ce).length},i=e("./internal/streams/stream"),c=e("buffer").Buffer,u=(a!==void 0?a:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function l(le){return c.from(le)}function A(le){return c.isBuffer(le)||le instanceof u}var h,f=e("util");h=f&&f.debuglog?f.debuglog("stream"):function(){};var d,g,p,m=e("./internal/streams/buffer_list"),v=e("./internal/streams/destroy"),y=e("./internal/streams/state").getHighWaterMark,I=e("../errors").codes,E=I.ERR_INVALID_ARG_TYPE,k=I.ERR_STREAM_PUSH_AFTER_EOF,R=I.ERR_METHOD_NOT_IMPLEMENTED,T=I.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e("inherits")(x,i);var j=v.errorOrDestroy,W=["error","close","destroy","pause","resume"];function H(le,Ce,At){if(typeof le.prependListener=="function")return le.prependListener(Ce,At);le._events&&le._events[Ce]?Array.isArray(le._events[Ce])?le._events[Ce].unshift(At):le._events[Ce]=[At,le._events[Ce]]:le.on(Ce,At)}function X(le,Ce,At){s=s||e("./_stream_duplex"),le=le||{},typeof At!="boolean"&&(At=Ce instanceof s),this.objectMode=!!le.objectMode,At&&(this.objectMode=this.objectMode||!!le.readableObjectMode),this.highWaterMark=y(this,le,"readableHighWaterMark",At),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=le.emitClose!==!1,this.autoDestroy=!!le.autoDestroy,this.destroyed=!1,this.defaultEncoding=le.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,le.encoding&&(d||(d=e("string_decoder/").StringDecoder),this.decoder=new d(le.encoding),this.encoding=le.encoding)}function x(le){if(s=s||e("./_stream_duplex"),!(this instanceof x))return new x(le);var Ce=this instanceof s;this._readableState=new X(le,this,Ce),this.readable=!0,le&&(typeof le.read=="function"&&(this._read=le.read),typeof le.destroy=="function"&&(this._destroy=le.destroy)),i.call(this)}function N(le,Ce,At,Z,ce){h("readableAddChunk",Ce);var ye,Ve=le._readableState;if(Ce===null)Ve.reading=!1,O(le,Ve);else if(ce||(ye=w(Ve,Ce)),ye)j(le,ye);else if(Ve.objectMode||Ce&&Ce.length>0)if(typeof Ce=="string"||Ve.objectMode||Object.getPrototypeOf(Ce)===c.prototype||(Ce=l(Ce)),Z)Ve.endEmitted?j(le,new T):C(le,Ve,Ce,!0);else if(Ve.ended)j(le,new k);else{if(Ve.destroyed)return!1;Ve.reading=!1,Ve.decoder&&!At?(Ce=Ve.decoder.write(Ce),Ve.objectMode||Ce.length!==0?C(le,Ve,Ce,!1):M(le,Ve)):C(le,Ve,Ce,!1)}else Z||(Ve.reading=!1,M(le,Ve));return!Ve.ended&&(Ve.length<Ve.highWaterMark||Ve.length===0)}function C(le,Ce,At,Z){Ce.flowing&&Ce.length===0&&!Ce.sync?(Ce.awaitDrain=0,le.emit("data",At)):(Ce.length+=Ce.objectMode?1:At.length,Z?Ce.buffer.unshift(At):Ce.buffer.push(At),Ce.needReadable&&F(le)),M(le,Ce)}function w(le,Ce){var At;return A(Ce)||typeof Ce=="string"||Ce===void 0||le.objectMode||(At=new E("chunk",["string","Buffer","Uint8Array"],Ce)),At}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(le){this._readableState&&(this._readableState.destroyed=le)}}),x.prototype.destroy=v.destroy,x.prototype._undestroy=v.undestroy,x.prototype._destroy=function(le,Ce){Ce(le)},x.prototype.push=function(le,Ce){var At,Z=this._readableState;return Z.objectMode?At=!0:typeof le=="string"&&((Ce=Ce||Z.defaultEncoding)!==Z.encoding&&(le=c.from(le,Ce),Ce=""),At=!0),N(this,le,Ce,!1,At)},x.prototype.unshift=function(le){return N(this,le,null,!0,!1)},x.prototype.isPaused=function(){return this._readableState.flowing===!1},x.prototype.setEncoding=function(le){d||(d=e("string_decoder/").StringDecoder);var Ce=new d(le);this._readableState.decoder=Ce,this._readableState.encoding=this._readableState.decoder.encoding;for(var At=this._readableState.buffer.head,Z="";At!==null;)Z+=Ce.write(At.data),At=At.next;return this._readableState.buffer.clear(),Z!==""&&this._readableState.buffer.push(Z),this._readableState.length=Z.length,this};var Q=1073741824;function B(le){return le>=Q?le=Q:(le--,le|=le>>>1,le|=le>>>2,le|=le>>>4,le|=le>>>8,le|=le>>>16,le++),le}function S(le,Ce){return le<=0||Ce.length===0&&Ce.ended?0:Ce.objectMode?1:le!=le?Ce.flowing&&Ce.length?Ce.buffer.head.data.length:Ce.length:(le>Ce.highWaterMark&&(Ce.highWaterMark=B(le)),le<=Ce.length?le:Ce.ended?Ce.length:(Ce.needReadable=!0,0))}function O(le,Ce){if(h("onEofChunk"),!Ce.ended){if(Ce.decoder){var At=Ce.decoder.end();At&&At.length&&(Ce.buffer.push(At),Ce.length+=Ce.objectMode?1:At.length)}Ce.ended=!0,Ce.sync?F(le):(Ce.needReadable=!1,Ce.emittedReadable||(Ce.emittedReadable=!0,Y(le)))}}function F(le){var Ce=le._readableState;h("emitReadable",Ce.needReadable,Ce.emittedReadable),Ce.needReadable=!1,Ce.emittedReadable||(h("emitReadable",Ce.flowing),Ce.emittedReadable=!0,n.nextTick(Y,le))}function Y(le){var Ce=le._readableState;h("emitReadable_",Ce.destroyed,Ce.length,Ce.ended),Ce.destroyed||!Ce.length&&!Ce.ended||(le.emit("readable"),Ce.emittedReadable=!1),Ce.needReadable=!Ce.flowing&&!Ce.ended&&Ce.length<=Ce.highWaterMark,Ae(le)}function M(le,Ce){Ce.readingMore||(Ce.readingMore=!0,n.nextTick(z,le,Ce))}function z(le,Ce){for(;!Ce.reading&&!Ce.ended&&(Ce.length<Ce.highWaterMark||Ce.flowing&&Ce.length===0);){var At=Ce.length;if(h("maybeReadMore read 0"),le.read(0),At===Ce.length)break}Ce.readingMore=!1}function ue(le){return function(){var Ce=le._readableState;h("pipeOnDrain",Ce.awaitDrain),Ce.awaitDrain&&Ce.awaitDrain--,Ce.awaitDrain===0&&o(le,"data")&&(Ce.flowing=!0,Ae(le))}}function ae(le){var Ce=le._readableState;Ce.readableListening=le.listenerCount("readable")>0,Ce.resumeScheduled&&!Ce.paused?Ce.flowing=!0:le.listenerCount("data")>0&&le.resume()}function Ne(le){h("readable nexttick read 0"),le.read(0)}function Ge(le,Ce){Ce.resumeScheduled||(Ce.resumeScheduled=!0,n.nextTick(Ye,le,Ce))}function Ye(le,Ce){h("resume",Ce.reading),Ce.reading||le.read(0),Ce.resumeScheduled=!1,le.emit("resume"),Ae(le),Ce.flowing&&!Ce.reading&&le.read(0)}function Ae(le){var Ce=le._readableState;for(h("flow",Ce.flowing);Ce.flowing&&le.read()!==null;);}function te(le,Ce){return Ce.length===0?null:(Ce.objectMode?At=Ce.buffer.shift():!le||le>=Ce.length?(At=Ce.decoder?Ce.buffer.join(""):Ce.buffer.length===1?Ce.buffer.first():Ce.buffer.concat(Ce.length),Ce.buffer.clear()):At=Ce.buffer.consume(le,Ce.decoder),At);var At}function he(le){var Ce=le._readableState;h("endReadable",Ce.endEmitted),Ce.endEmitted||(Ce.ended=!0,n.nextTick(de,Ce,le))}function de(le,Ce){if(h("endReadableNT",le.endEmitted,le.length),!le.endEmitted&&le.length===0&&(le.endEmitted=!0,Ce.readable=!1,Ce.emit("end"),le.autoDestroy)){var At=Ce._writableState;(!At||At.autoDestroy&&At.finished)&&Ce.destroy()}}function Ke(le,Ce){for(var At=0,Z=le.length;At<Z;At++)if(le[At]===Ce)return At;return-1}x.prototype.read=function(le){h("read",le),le=parseInt(le,10);var Ce=this._readableState,At=le;if(le!==0&&(Ce.emittedReadable=!1),le===0&&Ce.needReadable&&((Ce.highWaterMark!==0?Ce.length>=Ce.highWaterMark:Ce.length>0)||Ce.ended))return h("read: emitReadable",Ce.length,Ce.ended),Ce.length===0&&Ce.ended?he(this):F(this),null;if((le=S(le,Ce))===0&&Ce.ended)return Ce.length===0&&he(this),null;var Z,ce=Ce.needReadable;return h("need readable",ce),(Ce.length===0||Ce.length-le<Ce.highWaterMark)&&h("length less than watermark",ce=!0),Ce.ended||Ce.reading?h("reading or ended",ce=!1):ce&&(h("do read"),Ce.reading=!0,Ce.sync=!0,Ce.length===0&&(Ce.needReadable=!0),this._read(Ce.highWaterMark),Ce.sync=!1,Ce.reading||(le=S(At,Ce))),(Z=le>0?te(le,Ce):null)===null?(Ce.needReadable=Ce.length<=Ce.highWaterMark,le=0):(Ce.length-=le,Ce.awaitDrain=0),Ce.length===0&&(Ce.ended||(Ce.needReadable=!0),At!==le&&Ce.ended&&he(this)),Z!==null&&this.emit("data",Z),Z},x.prototype._read=function(le){j(this,new R("_read()"))},x.prototype.pipe=function(le,Ce){var At=this,Z=this._readableState;switch(Z.pipesCount){case 0:Z.pipes=le;break;case 1:Z.pipes=[Z.pipes,le];break;default:Z.pipes.push(le)}Z.pipesCount+=1,h("pipe count=%d opts=%j",Z.pipesCount,Ce);var ce=Ce&&Ce.end===!1||le===n.stdout||le===n.stderr?yt:Ve;function ye(pe,me){h("onunpipe"),pe===At&&me&&me.hasUnpiped===!1&&(me.hasUnpiped=!0,ot())}function Ve(){h("onend"),le.end()}Z.endEmitted?n.nextTick(ce):At.once("end",ce),le.on("unpipe",ye);var dt=ue(At);le.on("drain",dt);var re=!1;function ot(){h("cleanup"),le.removeListener("close",Ee),le.removeListener("finish",Me),le.removeListener("drain",dt),le.removeListener("error",Be),le.removeListener("unpipe",ye),At.removeListener("end",Ve),At.removeListener("end",yt),At.removeListener("data",pt),re=!0,!Z.awaitDrain||le._writableState&&!le._writableState.needDrain||dt()}function pt(pe){h("ondata");var me=le.write(pe);h("dest.write",me),me===!1&&((Z.pipesCount===1&&Z.pipes===le||Z.pipesCount>1&&Ke(Z.pipes,le)!==-1)&&!re&&(h("false write response, pause",Z.awaitDrain),Z.awaitDrain++),At.pause())}function Be(pe){h("onerror",pe),yt(),le.removeListener("error",Be),o(le,"error")===0&&j(le,pe)}function Ee(){le.removeListener("finish",Me),yt()}function Me(){h("onfinish"),le.removeListener("close",Ee),yt()}function yt(){h("unpipe"),At.unpipe(le)}return At.on("data",pt),H(le,"error",Be),le.once("close",Ee),le.once("finish",Me),le.emit("pipe",At),Z.flowing||(h("pipe resume"),At.resume()),le},x.prototype.unpipe=function(le){var Ce=this._readableState,At={hasUnpiped:!1};if(Ce.pipesCount===0)return this;if(Ce.pipesCount===1)return le&&le!==Ce.pipes||(le||(le=Ce.pipes),Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1,le&&le.emit("unpipe",this,At)),this;if(!le){var Z=Ce.pipes,ce=Ce.pipesCount;Ce.pipes=null,Ce.pipesCount=0,Ce.flowing=!1;for(var ye=0;ye<ce;ye++)Z[ye].emit("unpipe",this,{hasUnpiped:!1});return this}var Ve=Ke(Ce.pipes,le);return Ve===-1||(Ce.pipes.splice(Ve,1),Ce.pipesCount-=1,Ce.pipesCount===1&&(Ce.pipes=Ce.pipes[0]),le.emit("unpipe",this,At)),this},x.prototype.on=function(le,Ce){var At=i.prototype.on.call(this,le,Ce),Z=this._readableState;return le==="data"?(Z.readableListening=this.listenerCount("readable")>0,Z.flowing!==!1&&this.resume()):le==="readable"&&(Z.endEmitted||Z.readableListening||(Z.readableListening=Z.needReadable=!0,Z.flowing=!1,Z.emittedReadable=!1,h("on readable",Z.length,Z.reading),Z.length?F(this):Z.reading||n.nextTick(Ne,this))),At},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(le,Ce){var At=i.prototype.removeListener.call(this,le,Ce);return le==="readable"&&n.nextTick(ae,this),At},x.prototype.removeAllListeners=function(le){var Ce=i.prototype.removeAllListeners.apply(this,arguments);return le!=="readable"&&le!==void 0||n.nextTick(ae,this),Ce},x.prototype.resume=function(){var le=this._readableState;return le.flowing||(h("resume"),le.flowing=!le.readableListening,Ge(this,le)),le.paused=!1,this},x.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(le){var Ce=this,At=this._readableState,Z=!1;for(var ce in le.on("end",function(){if(h("wrapped end"),At.decoder&&!At.ended){var Ve=At.decoder.end();Ve&&Ve.length&&Ce.push(Ve)}Ce.push(null)}),le.on("data",function(Ve){h("wrapped data"),At.decoder&&(Ve=At.decoder.write(Ve)),At.objectMode&&Ve==null||(At.objectMode||Ve&&Ve.length)&&(Ce.push(Ve)||(Z=!0,le.pause()))}),le)this[ce]===void 0&&typeof le[ce]=="function"&&(this[ce]=function(Ve){return function(){return le[Ve].apply(le,arguments)}}(ce));for(var ye=0;ye<W.length;ye++)le.on(W[ye],this.emit.bind(this,W[ye]));return this._read=function(Ve){h("wrapped _read",Ve),Z&&(Z=!1,le.resume())},this},typeof Symbol=="function"&&(x.prototype[Symbol.asyncIterator]=function(){return g===void 0&&(g=e("./internal/streams/async_iterator")),g(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(le){this._readableState&&(this._readableState.flowing=le)}}),x._fromList=te,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(x.from=function(le,Ce){return p===void 0&&(p=e("./internal/streams/from")),p(x,le,Ce)})}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,events:422,inherits:440,"string_decoder/":522,util:188}],481:[function(e,r,t){r.exports=l;var n=e("../errors").codes,a=n.ERR_METHOD_NOT_IMPLEMENTED,s=n.ERR_MULTIPLE_CALLBACK,o=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=n.ERR_TRANSFORM_WITH_LENGTH_0,c=e("./_stream_duplex");function u(f,d){var g=this._transformState;g.transforming=!1;var p=g.writecb;if(p===null)return this.emit("error",new s);g.writechunk=null,g.writecb=null,d!=null&&this.push(d),p(f);var m=this._readableState;m.reading=!1,(m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}function l(f){if(!(this instanceof l))return new l(f);c.call(this,f),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,f&&(typeof f.transform=="function"&&(this._transform=f.transform),typeof f.flush=="function"&&(this._flush=f.flush)),this.on("prefinish",A)}function A(){var f=this;typeof this._flush!="function"||this._readableState.destroyed?h(this,null,null):this._flush(function(d,g){h(f,d,g)})}function h(f,d,g){if(d)return f.emit("error",d);if(g!=null&&f.push(g),f._writableState.length)throw new i;if(f._transformState.transforming)throw new o;return f.push(null)}e("inherits")(l,c),l.prototype.push=function(f,d){return this._transformState.needTransform=!1,c.prototype.push.call(this,f,d)},l.prototype._transform=function(f,d,g){g(new a("_transform()"))},l.prototype._write=function(f,d,g){var p=this._transformState;if(p.writecb=g,p.writechunk=f,p.writeencoding=d,!p.transforming){var m=this._readableState;(p.needTransform||m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}},l.prototype._read=function(f){var d=this._transformState;d.writechunk===null||d.transforming?d.needTransform=!0:(d.transforming=!0,this._transform(d.writechunk,d.writeencoding,d.afterTransform))},l.prototype._destroy=function(f,d){c.prototype._destroy.call(this,f,function(g){d(g)})}},{"../errors":477,"./_stream_duplex":478,inherits:440}],482:[function(e,r,t){(function(n,a){(function(){function s(Ae){var te=this;this.next=null,this.entry=null,this.finish=function(){Ye(te,Ae)}}var o;r.exports=X,X.WritableState=H;var i={deprecate:e("util-deprecate")},c=e("./internal/streams/stream"),u=e("buffer").Buffer,l=(a!==void 0?a:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function A(Ae){return u.from(Ae)}function h(Ae){return u.isBuffer(Ae)||Ae instanceof l}var f,d=e("./internal/streams/destroy"),g=e("./internal/streams/state").getHighWaterMark,p=e("../errors").codes,m=p.ERR_INVALID_ARG_TYPE,v=p.ERR_METHOD_NOT_IMPLEMENTED,y=p.ERR_MULTIPLE_CALLBACK,I=p.ERR_STREAM_CANNOT_PIPE,E=p.ERR_STREAM_DESTROYED,k=p.ERR_STREAM_NULL_VALUES,R=p.ERR_STREAM_WRITE_AFTER_END,T=p.ERR_UNKNOWN_ENCODING,j=d.errorOrDestroy;function W(){}function H(Ae,te,he){o=o||e("./_stream_duplex"),Ae=Ae||{},typeof he!="boolean"&&(he=te instanceof o),this.objectMode=!!Ae.objectMode,he&&(this.objectMode=this.objectMode||!!Ae.writableObjectMode),this.highWaterMark=g(this,Ae,"writableHighWaterMark",he),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var de=Ae.decodeStrings===!1;this.decodeStrings=!de,this.defaultEncoding=Ae.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ke){O(te,Ke)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ae.emitClose!==!1,this.autoDestroy=!!Ae.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function X(Ae){var te=this instanceof(o=o||e("./_stream_duplex"));if(!te&&!f.call(X,this))return new X(Ae);this._writableState=new H(Ae,this,te),this.writable=!0,Ae&&(typeof Ae.write=="function"&&(this._write=Ae.write),typeof Ae.writev=="function"&&(this._writev=Ae.writev),typeof Ae.destroy=="function"&&(this._destroy=Ae.destroy),typeof Ae.final=="function"&&(this._final=Ae.final)),c.call(this)}function x(Ae,te){var he=new R;j(Ae,he),n.nextTick(te,he)}function N(Ae,te,he,de){var Ke;return he===null?Ke=new k:typeof he=="string"||te.objectMode||(Ke=new m("chunk",["string","Buffer"],he)),!Ke||(j(Ae,Ke),n.nextTick(de,Ke),!1)}function C(Ae,te,he){return Ae.objectMode||Ae.decodeStrings===!1||typeof te!="string"||(te=u.from(te,he)),te}function w(Ae,te,he,de,Ke,le){if(!he){var Ce=C(te,de,Ke);de!==Ce&&(he=!0,Ke="buffer",de=Ce)}var At=te.objectMode?1:de.length;te.length+=At;var Z=te.length<te.highWaterMark;if(Z||(te.needDrain=!0),te.writing||te.corked){var ce=te.lastBufferedRequest;te.lastBufferedRequest={chunk:de,encoding:Ke,isBuf:he,callback:le,next:null},ce?ce.next=te.lastBufferedRequest:te.bufferedRequest=te.lastBufferedRequest,te.bufferedRequestCount+=1}else Q(Ae,te,!1,At,de,Ke,le);return Z}function Q(Ae,te,he,de,Ke,le,Ce){te.writelen=de,te.writecb=Ce,te.writing=!0,te.sync=!0,te.destroyed?te.onwrite(new E("write")):he?Ae._writev(Ke,te.onwrite):Ae._write(Ke,le,te.onwrite),te.sync=!1}function B(Ae,te,he,de,Ke){--te.pendingcb,he?(n.nextTick(Ke,de),n.nextTick(Ne,Ae,te),Ae._writableState.errorEmitted=!0,j(Ae,de)):(Ke(de),Ae._writableState.errorEmitted=!0,j(Ae,de),Ne(Ae,te))}function S(Ae){Ae.writing=!1,Ae.writecb=null,Ae.length-=Ae.writelen,Ae.writelen=0}function O(Ae,te){var he=Ae._writableState,de=he.sync,Ke=he.writecb;if(typeof Ke!="function")throw new y;if(S(he),te)B(Ae,he,de,te,Ke);else{var le=z(he)||Ae.destroyed;le||he.corked||he.bufferProcessing||!he.bufferedRequest||M(Ae,he),de?n.nextTick(F,Ae,he,le,Ke):F(Ae,he,le,Ke)}}function F(Ae,te,he,de){he||Y(Ae,te),te.pendingcb--,de(),Ne(Ae,te)}function Y(Ae,te){te.length===0&&te.needDrain&&(te.needDrain=!1,Ae.emit("drain"))}function M(Ae,te){te.bufferProcessing=!0;var he=te.bufferedRequest;if(Ae._writev&&he&&he.next){var de=te.bufferedRequestCount,Ke=new Array(de),le=te.corkedRequestsFree;le.entry=he;for(var Ce=0,At=!0;he;)Ke[Ce]=he,he.isBuf||(At=!1),he=he.next,Ce+=1;Ke.allBuffers=At,Q(Ae,te,!0,te.length,Ke,"",le.finish),te.pendingcb++,te.lastBufferedRequest=null,le.next?(te.corkedRequestsFree=le.next,le.next=null):te.corkedRequestsFree=new s(te),te.bufferedRequestCount=0}else{for(;he;){var Z=he.chunk,ce=he.encoding,ye=he.callback;if(Q(Ae,te,!1,te.objectMode?1:Z.length,Z,ce,ye),he=he.next,te.bufferedRequestCount--,te.writing)break}he===null&&(te.lastBufferedRequest=null)}te.bufferedRequest=he,te.bufferProcessing=!1}function z(Ae){return Ae.ending&&Ae.length===0&&Ae.bufferedRequest===null&&!Ae.finished&&!Ae.writing}function ue(Ae,te){Ae._final(function(he){te.pendingcb--,he&&j(Ae,he),te.prefinished=!0,Ae.emit("prefinish"),Ne(Ae,te)})}function ae(Ae,te){te.prefinished||te.finalCalled||(typeof Ae._final!="function"||te.destroyed?(te.prefinished=!0,Ae.emit("prefinish")):(te.pendingcb++,te.finalCalled=!0,n.nextTick(ue,Ae,te)))}function Ne(Ae,te){var he=z(te);if(he&&(ae(Ae,te),te.pendingcb===0&&(te.finished=!0,Ae.emit("finish"),te.autoDestroy))){var de=Ae._readableState;(!de||de.autoDestroy&&de.endEmitted)&&Ae.destroy()}return he}function Ge(Ae,te,he){te.ending=!0,Ne(Ae,te),he&&(te.finished?n.nextTick(he):Ae.once("finish",he)),te.ended=!0,Ae.writable=!1}function Ye(Ae,te,he){var de=Ae.entry;for(Ae.entry=null;de;){var Ke=de.callback;te.pendingcb--,Ke(he),de=de.next}te.corkedRequestsFree.next=Ae}e("inherits")(X,c),H.prototype.getBuffer=function(){for(var Ae=this.bufferedRequest,te=[];Ae;)te.push(Ae),Ae=Ae.next;return te},function(){try{Object.defineProperty(H.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(X,Symbol.hasInstance,{value:function(Ae){return!!f.call(this,Ae)||this===X&&Ae&&Ae._writableState instanceof H}})):f=function(Ae){return Ae instanceof this},X.prototype.pipe=function(){j(this,new I)},X.prototype.write=function(Ae,te,he){var de=this._writableState,Ke=!1,le=!de.objectMode&&h(Ae);return le&&!u.isBuffer(Ae)&&(Ae=A(Ae)),typeof te=="function"&&(he=te,te=null),le?te="buffer":te||(te=de.defaultEncoding),typeof he!="function"&&(he=W),de.ending?x(this,he):(le||N(this,de,Ae,he))&&(de.pendingcb++,Ke=w(this,de,le,Ae,te,he)),Ke},X.prototype.cork=function(){this._writableState.corked++},X.prototype.uncork=function(){var Ae=this._writableState;Ae.corked&&(Ae.corked--,Ae.writing||Ae.corked||Ae.bufferProcessing||!Ae.bufferedRequest||M(this,Ae))},X.prototype.setDefaultEncoding=function(Ae){if(typeof Ae=="string"&&(Ae=Ae.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ae+"").toLowerCase())>-1))throw new T(Ae);return this._writableState.defaultEncoding=Ae,this},Object.defineProperty(X.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(X.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),X.prototype._write=function(Ae,te,he){he(new v("_write()"))},X.prototype._writev=null,X.prototype.end=function(Ae,te,he){var de=this._writableState;return typeof Ae=="function"?(he=Ae,Ae=null,te=null):typeof te=="function"&&(he=te,te=null),Ae!=null&&this.write(Ae,te),de.corked&&(de.corked=1,this.uncork()),de.ending||Ge(this,de,he),this},Object.defineProperty(X.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(X.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(Ae){this._writableState&&(this._writableState.destroyed=Ae)}}),X.prototype.destroy=d.destroy,X.prototype._undestroy=d.undestroy,X.prototype._destroy=function(Ae,te){te(Ae)}}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:220,inherits:440,"util-deprecate":524}],483:[function(e,r,t){(function(n){(function(){var a;function s(R,T,j){return(T=o(T))in R?Object.defineProperty(R,T,{value:j,enumerable:!0,configurable:!0,writable:!0}):R[T]=j,R}function o(R){var T=i(R,"string");return typeof T=="symbol"?T:String(T)}function i(R,T){if(typeof R!="object"||R===null)return R;var j=R[Symbol.toPrimitive];if(j!==void 0){var W=j.call(R,T||"default");if(typeof W!="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return(T==="string"?String:Number)(R)}var c=e("./end-of-stream"),u=Symbol("lastResolve"),l=Symbol("lastReject"),A=Symbol("error"),h=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),g=Symbol("stream");function p(R,T){return{value:R,done:T}}function m(R){var T=R[u];if(T!==null){var j=R[g].read();j!==null&&(R[f]=null,R[u]=null,R[l]=null,T(p(j,!1)))}}function v(R){n.nextTick(m,R)}function y(R,T){return function(j,W){R.then(function(){T[h]?j(p(void 0,!0)):T[d](j,W)},W)}}var I=Object.getPrototypeOf(function(){}),E=Object.setPrototypeOf((s(a={get stream(){return this[g]},next:function(){var R=this,T=this[A];if(T!==null)return Promise.reject(T);if(this[h])return Promise.resolve(p(void 0,!0));if(this[g].destroyed)return new Promise(function(X,x){n.nextTick(function(){R[A]?x(R[A]):X(p(void 0,!0))})});var j,W=this[f];if(W)j=new Promise(y(W,this));else{var H=this[g].read();if(H!==null)return Promise.resolve(p(H,!1));j=new Promise(this[d])}return this[f]=j,j}},Symbol.asyncIterator,function(){return this}),s(a,"return",function(){var R=this;return new Promise(function(T,j){R[g].destroy(null,function(W){W?j(W):T(p(void 0,!0))})})}),a),I),k=function(R){var T,j=Object.create(E,(s(T={},g,{value:R,writable:!0}),s(T,u,{value:null,writable:!0}),s(T,l,{value:null,writable:!0}),s(T,A,{value:null,writable:!0}),s(T,h,{value:R._readableState.endEmitted,writable:!0}),s(T,d,{value:function(W,H){var X=j[g].read();X?(j[f]=null,j[u]=null,j[l]=null,W(p(X,!1))):(j[u]=W,j[l]=H)},writable:!0}),T));return j[f]=null,c(R,function(W){if(W&&W.code!=="ERR_STREAM_PREMATURE_CLOSE"){var H=j[l];return H!==null&&(j[f]=null,j[u]=null,j[l]=null,H(W)),void(j[A]=W)}var X=j[u];X!==null&&(j[f]=null,j[u]=null,j[l]=null,X(p(void 0,!0))),j[h]=!0}),R.on("readable",v.bind(null,j)),j};r.exports=k}).call(this)}).call(this,e("_process"))},{"./end-of-stream":486,_process:467}],484:[function(e,r,t){function n(g,p){var m=Object.keys(g);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(g);p&&(v=v.filter(function(y){return Object.getOwnPropertyDescriptor(g,y).enumerable})),m.push.apply(m,v)}return m}function a(g){for(var p=1;p<arguments.length;p++){var m=arguments[p]!=null?arguments[p]:{};p%2?n(Object(m),!0).forEach(function(v){s(g,v,m[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(m)):n(Object(m)).forEach(function(v){Object.defineProperty(g,v,Object.getOwnPropertyDescriptor(m,v))})}return g}function s(g,p,m){return(p=u(p))in g?Object.defineProperty(g,p,{value:m,enumerable:!0,configurable:!0,writable:!0}):g[p]=m,g}function o(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function i(g,p){for(var m=0;m<p.length;m++){var v=p[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,u(v.key),v)}}function c(g,p,m){return p&&i(g.prototype,p),m&&i(g,m),Object.defineProperty(g,"prototype",{writable:!1}),g}function u(g){var p=l(g,"string");return typeof p=="symbol"?p:String(p)}function l(g,p){if(typeof g!="object"||g===null)return g;var m=g[Symbol.toPrimitive];if(m!==void 0){var v=m.call(g,p||"default");if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(g)}var A=e("buffer").Buffer,h=e("util").inspect,f=h&&h.custom||"inspect";function d(g,p,m){A.prototype.copy.call(g,p,m)}r.exports=function(){function g(){o(this,g),this.head=null,this.tail=null,this.length=0}return c(g,[{key:"push",value:function(p){var m={data:p,next:null};this.length>0?this.tail.next=m:this.head=m,this.tail=m,++this.length}},{key:"unshift",value:function(p){var m={data:p,next:this.head};this.length===0&&(this.tail=m),this.head=m,++this.length}},{key:"shift",value:function(){if(this.length!==0){var p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(p){if(this.length===0)return"";for(var m=this.head,v=""+m.data;m=m.next;)v+=p+m.data;return v}},{key:"concat",value:function(p){if(this.length===0)return A.alloc(0);for(var m=A.allocUnsafe(p>>>0),v=this.head,y=0;v;)d(v.data,m,y),y+=v.data.length,v=v.next;return m}},{key:"consume",value:function(p,m){var v;return p<this.head.data.length?(v=this.head.data.slice(0,p),this.head.data=this.head.data.slice(p)):v=p===this.head.data.length?this.shift():m?this._getString(p):this._getBuffer(p),v}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(p){var m=this.head,v=1,y=m.data;for(p-=y.length;m=m.next;){var I=m.data,E=p>I.length?I.length:p;if(E===I.length?y+=I:y+=I.slice(0,p),(p-=E)==0){E===I.length?(++v,m.next?this.head=m.next:this.head=this.tail=null):(this.head=m,m.data=I.slice(E));break}++v}return this.length-=v,y}},{key:"_getBuffer",value:function(p){var m=A.allocUnsafe(p),v=this.head,y=1;for(v.data.copy(m),p-=v.data.length;v=v.next;){var I=v.data,E=p>I.length?I.length:p;if(I.copy(m,m.length-p,0,E),(p-=E)==0){E===I.length?(++y,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=I.slice(E));break}++y}return this.length-=y,m}},{key:f,value:function(p,m){return h(this,a(a({},m),{},{depth:0,customInspect:!1}))}}]),g}()},{buffer:220,util:188}],485:[function(e,r,t){(function(n){(function(){function a(l,A){var h=this,f=this._readableState&&this._readableState.destroyed,d=this._writableState&&this._writableState.destroyed;return f||d?(A?A(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(c,this,l)):n.nextTick(c,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(g){!A&&g?h._writableState?h._writableState.errorEmitted?n.nextTick(o,h):(h._writableState.errorEmitted=!0,n.nextTick(s,h,g)):n.nextTick(s,h,g):A?(n.nextTick(o,h),A(g)):n.nextTick(o,h)}),this)}function s(l,A){c(l,A),o(l)}function o(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function i(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function c(l,A){l.emit("error",A)}function u(l,A){var h=l._readableState,f=l._writableState;h&&h.autoDestroy||f&&f.autoDestroy?l.destroy(A):l.emit("error",A)}r.exports={destroy:a,undestroy:i,errorOrDestroy:u}}).call(this)}).call(this,e("_process"))},{_process:467}],486:[function(e,r,t){var n=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function a(c){var u=!1;return function(){if(!u){u=!0;for(var l=arguments.length,A=new Array(l),h=0;h<l;h++)A[h]=arguments[h];c.apply(this,A)}}}function s(){}function o(c){return c.setHeader&&typeof c.abort=="function"}function i(c,u,l){if(typeof u=="function")return i(c,null,u);u||(u={}),l=a(l||s);var A=u.readable||u.readable!==!1&&c.readable,h=u.writable||u.writable!==!1&&c.writable,f=function(){c.writable||g()},d=c._writableState&&c._writableState.finished,g=function(){h=!1,d=!0,A||l.call(c)},p=c._readableState&&c._readableState.endEmitted,m=function(){A=!1,p=!0,h||l.call(c)},v=function(E){l.call(c,E)},y=function(){var E;return A&&!p?(c._readableState&&c._readableState.ended||(E=new n),l.call(c,E)):h&&!d?(c._writableState&&c._writableState.ended||(E=new n),l.call(c,E)):void 0},I=function(){c.req.on("finish",g)};return o(c)?(c.on("complete",g),c.on("abort",y),c.req?I():c.on("request",I)):h&&!c._writableState&&(c.on("end",f),c.on("close",f)),c.on("end",m),c.on("finish",g),u.error!==!1&&c.on("error",v),c.on("close",y),function(){c.removeListener("complete",g),c.removeListener("abort",y),c.removeListener("request",I),c.req&&c.req.removeListener("finish",g),c.removeListener("end",f),c.removeListener("close",f),c.removeListener("finish",g),c.removeListener("end",m),c.removeListener("error",v),c.removeListener("close",y)}}r.exports=i},{"../../../errors":477}],487:[function(e,r,t){r.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(e,r,t){var n;function a(g){var p=!1;return function(){p||(p=!0,g.apply(void 0,arguments))}}var s=e("../../../errors").codes,o=s.ERR_MISSING_ARGS,i=s.ERR_STREAM_DESTROYED;function c(g){if(g)throw g}function u(g){return g.setHeader&&typeof g.abort=="function"}function l(g,p,m,v){v=a(v);var y=!1;g.on("close",function(){y=!0}),n===void 0&&(n=e("./end-of-stream")),n(g,{readable:p,writable:m},function(E){if(E)return v(E);y=!0,v()});var I=!1;return function(E){if(!y&&!I)return I=!0,u(g)?g.abort():typeof g.destroy=="function"?g.destroy():void v(E||new i("pipe"))}}function A(g){g()}function h(g,p){return g.pipe(p)}function f(g){return g.length?typeof g[g.length-1]!="function"?c:g.pop():c}function d(){for(var g=arguments.length,p=new Array(g),m=0;m<g;m++)p[m]=arguments[m];var v,y=f(p);if(Array.isArray(p[0])&&(p=p[0]),p.length<2)throw new o("streams");var I=p.map(function(E,k){var R=k<p.length-1;return l(E,R,k>0,function(T){v||(v=T),T&&I.forEach(A),R||(I.forEach(A),y(v))})});return p.reduce(h)}r.exports=d},{"../../../errors":477,"./end-of-stream":486}],489:[function(e,r,t){var n=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;function a(o,i,c){return o.highWaterMark!=null?o.highWaterMark:i?o[c]:null}function s(o,i,c,u){var l=a(i,u,c);if(l!=null){if(!isFinite(l)||Math.floor(l)!==l||l<0)throw new n(u?c:"highWaterMark",l);return Math.floor(l)}return o.objectMode?16:16384}r.exports={getHighWaterMark:s}},{"../../../errors":477}],490:[function(e,r,t){r.exports=e("events").EventEmitter},{events:422}],491:[function(e,r,t){(t=r.exports=e("./lib/_stream_readable.js")).Stream=t,t.Readable=t,t.Writable=e("./lib/_stream_writable.js"),t.Duplex=e("./lib/_stream_duplex.js"),t.Transform=e("./lib/_stream_transform.js"),t.PassThrough=e("./lib/_stream_passthrough.js"),t.finished=e("./lib/internal/streams/end-of-stream.js"),t.pipeline=e("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(e,r,t){var n=function(a){var s,o=Object.prototype,i=o.hasOwnProperty,c=Object.defineProperty||function(F,Y,M){F[Y]=M.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",A=u.asyncIterator||"@@asyncIterator",h=u.toStringTag||"@@toStringTag";function f(F,Y,M){return Object.defineProperty(F,Y,{value:M,enumerable:!0,configurable:!0,writable:!0}),F[Y]}try{f({},"")}catch{f=function(Y,M,z){return Y[M]=z}}function d(F,Y,M,z){var ue=Y&&Y.prototype instanceof E?Y:E,ae=Object.create(ue.prototype),Ne=new B(z||[]);return c(ae,"_invoke",{value:N(F,M,Ne)}),ae}function g(F,Y,M){try{return{type:"normal",arg:F.call(Y,M)}}catch(z){return{type:"throw",arg:z}}}a.wrap=d;var p="suspendedStart",m="suspendedYield",v="executing",y="completed",I={};function E(){}function k(){}function R(){}var T={};f(T,l,function(){return this});var j=Object.getPrototypeOf,W=j&&j(j(S([])));W&&W!==o&&i.call(W,l)&&(T=W);var H=R.prototype=E.prototype=Object.create(T);function X(F){["next","throw","return"].forEach(function(Y){f(F,Y,function(M){return this._invoke(Y,M)})})}function x(F,Y){function M(ae,Ne,Ge,Ye){var Ae=g(F[ae],F,Ne);if(Ae.type!=="throw"){var te=Ae.arg,he=te.value;return he&&typeof he=="object"&&i.call(he,"__await")?Y.resolve(he.__await).then(function(de){M("next",de,Ge,Ye)},function(de){M("throw",de,Ge,Ye)}):Y.resolve(he).then(function(de){te.value=de,Ge(te)},function(de){return M("throw",de,Ge,Ye)})}Ye(Ae.arg)}var z;function ue(ae,Ne){function Ge(){return new Y(function(Ye,Ae){M(ae,Ne,Ye,Ae)})}return z=z?z.then(Ge,Ge):Ge()}c(this,"_invoke",{value:ue})}function N(F,Y,M){var z=p;return function(ue,ae){if(z===v)throw new Error("Generator is already running");if(z===y){if(ue==="throw")throw ae;return O()}for(M.method=ue,M.arg=ae;;){var Ne=M.delegate;if(Ne){var Ge=C(Ne,M);if(Ge){if(Ge===I)continue;return Ge}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(z===p)throw z=y,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);z=v;var Ye=g(F,Y,M);if(Ye.type==="normal"){if(z=M.done?y:m,Ye.arg===I)continue;return{value:Ye.arg,done:M.done}}Ye.type==="throw"&&(z=y,M.method="throw",M.arg=Ye.arg)}}}function C(F,Y){var M=Y.method,z=F.iterator[M];if(z===s)return Y.delegate=null,M==="throw"&&F.iterator.return&&(Y.method="return",Y.arg=s,C(F,Y),Y.method==="throw")||M!=="return"&&(Y.method="throw",Y.arg=new TypeError("The iterator does not provide a '"+M+"' method")),I;var ue=g(z,F.iterator,Y.arg);if(ue.type==="throw")return Y.method="throw",Y.arg=ue.arg,Y.delegate=null,I;var ae=ue.arg;return ae?ae.done?(Y[F.resultName]=ae.value,Y.next=F.nextLoc,Y.method!=="return"&&(Y.method="next",Y.arg=s),Y.delegate=null,I):ae:(Y.method="throw",Y.arg=new TypeError("iterator result is not an object"),Y.delegate=null,I)}function w(F){var Y={tryLoc:F[0]};1 in F&&(Y.catchLoc=F[1]),2 in F&&(Y.finallyLoc=F[2],Y.afterLoc=F[3]),this.tryEntries.push(Y)}function Q(F){var Y=F.completion||{};Y.type="normal",delete Y.arg,F.completion=Y}function B(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(w,this),this.reset(!0)}function S(F){if(F){var Y=F[l];if(Y)return Y.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var M=-1,z=function ue(){for(;++M<F.length;)if(i.call(F,M))return ue.value=F[M],ue.done=!1,ue;return ue.value=s,ue.done=!0,ue};return z.next=z}}return{next:O}}function O(){return{value:s,done:!0}}return k.prototype=R,c(H,"constructor",{value:R,configurable:!0}),c(R,"constructor",{value:k,configurable:!0}),k.displayName=f(R,h,"GeneratorFunction"),a.isGeneratorFunction=function(F){var Y=typeof F=="function"&&F.constructor;return!!Y&&(Y===k||(Y.displayName||Y.name)==="GeneratorFunction")},a.mark=function(F){return Object.setPrototypeOf?Object.setPrototypeOf(F,R):(F.__proto__=R,f(F,h,"GeneratorFunction")),F.prototype=Object.create(H),F},a.awrap=function(F){return{__await:F}},X(x.prototype),f(x.prototype,A,function(){return this}),a.AsyncIterator=x,a.async=function(F,Y,M,z,ue){ue===void 0&&(ue=Promise);var ae=new x(d(F,Y,M,z),ue);return a.isGeneratorFunction(Y)?ae:ae.next().then(function(Ne){return Ne.done?Ne.value:ae.next()})},X(H),f(H,h,"Generator"),f(H,l,function(){return this}),f(H,"toString",function(){return"[object Generator]"}),a.keys=function(F){var Y=Object(F),M=[];for(var z in Y)M.push(z);return M.reverse(),function ue(){for(;M.length;){var ae=M.pop();if(ae in Y)return ue.value=ae,ue.done=!1,ue}return ue.done=!0,ue}},a.values=S,B.prototype={constructor:B,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(Q),!F)for(var Y in this)Y.charAt(0)==="t"&&i.call(this,Y)&&!isNaN(+Y.slice(1))&&(this[Y]=s)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var Y=this;function M(Ye,Ae){return ae.type="throw",ae.arg=F,Y.next=Ye,Ae&&(Y.method="next",Y.arg=s),!!Ae}for(var z=this.tryEntries.length-1;z>=0;--z){var ue=this.tryEntries[z],ae=ue.completion;if(ue.tryLoc==="root")return M("end");if(ue.tryLoc<=this.prev){var Ne=i.call(ue,"catchLoc"),Ge=i.call(ue,"finallyLoc");if(Ne&&Ge){if(this.prev<ue.catchLoc)return M(ue.catchLoc,!0);if(this.prev<ue.finallyLoc)return M(ue.finallyLoc)}else if(Ne){if(this.prev<ue.catchLoc)return M(ue.catchLoc,!0)}else{if(!Ge)throw new Error("try statement without catch or finally");if(this.prev<ue.finallyLoc)return M(ue.finallyLoc)}}}},abrupt:function(F,Y){for(var M=this.tryEntries.length-1;M>=0;--M){var z=this.tryEntries[M];if(z.tryLoc<=this.prev&&i.call(z,"finallyLoc")&&this.prev<z.finallyLoc){var ue=z;break}}ue&&(F==="break"||F==="continue")&&ue.tryLoc<=Y&&Y<=ue.finallyLoc&&(ue=null);var ae=ue?ue.completion:{};return ae.type=F,ae.arg=Y,ue?(this.method="next",this.next=ue.finallyLoc,I):this.complete(ae)},complete:function(F,Y){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&Y&&(this.next=Y),I},finish:function(F){for(var Y=this.tryEntries.length-1;Y>=0;--Y){var M=this.tryEntries[Y];if(M.finallyLoc===F)return this.complete(M.completion,M.afterLoc),Q(M),I}},catch:function(F){for(var Y=this.tryEntries.length-1;Y>=0;--Y){var M=this.tryEntries[Y];if(M.tryLoc===F){var z=M.completion;if(z.type==="throw"){var ue=z.arg;Q(M)}return ue}}throw new Error("illegal catch attempt")},delegateYield:function(F,Y,M){return this.delegate={iterator:S(F),resultName:Y,nextLoc:M},this.method==="next"&&(this.arg=s),I}},a}(typeof r=="object"?r.exports:{});try{regeneratorRuntime=n}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},{}],493:[function(e,r,t){var n=e("buffer").Buffer,a=e("inherits"),s=e("hash-base"),o=new Array(16),i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],A=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function d(I,E){return I<<E|I>>>32-E}function g(I,E,k,R,T,j,W,H){return d(I+(E^k^R)+j+W|0,H)+T|0}function p(I,E,k,R,T,j,W,H){return d(I+(E&k|~E&R)+j+W|0,H)+T|0}function m(I,E,k,R,T,j,W,H){return d(I+((E|~k)^R)+j+W|0,H)+T|0}function v(I,E,k,R,T,j,W,H){return d(I+(E&R|k&~R)+j+W|0,H)+T|0}function y(I,E,k,R,T,j,W,H){return d(I+(E^(k|~R))+j+W|0,H)+T|0}a(f,s),f.prototype._update=function(){for(var I=o,E=0;E<16;++E)I[E]=this._block.readInt32LE(4*E);for(var k=0|this._a,R=0|this._b,T=0|this._c,j=0|this._d,W=0|this._e,H=0|this._a,X=0|this._b,x=0|this._c,N=0|this._d,C=0|this._e,w=0;w<80;w+=1){var Q,B;w<16?(Q=g(k,R,T,j,W,I[i[w]],A[0],u[w]),B=y(H,X,x,N,C,I[c[w]],h[0],l[w])):w<32?(Q=p(k,R,T,j,W,I[i[w]],A[1],u[w]),B=v(H,X,x,N,C,I[c[w]],h[1],l[w])):w<48?(Q=m(k,R,T,j,W,I[i[w]],A[2],u[w]),B=m(H,X,x,N,C,I[c[w]],h[2],l[w])):w<64?(Q=v(k,R,T,j,W,I[i[w]],A[3],u[w]),B=p(H,X,x,N,C,I[c[w]],h[3],l[w])):(Q=y(k,R,T,j,W,I[i[w]],A[4],u[w]),B=g(H,X,x,N,C,I[c[w]],h[4],l[w])),k=W,W=j,j=d(T,10),T=R,R=Q,H=C,C=N,N=d(x,10),x=X,X=B}var S=this._b+T+N|0;this._b=this._c+j+C|0,this._c=this._d+W+H|0,this._d=this._e+k+X|0,this._e=this._a+R+x|0,this._a=S},f.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var I=n.alloc?n.alloc(20):new n(20);return I.writeInt32LE(this._a,0),I.writeInt32LE(this._b,4),I.writeInt32LE(this._c,8),I.writeInt32LE(this._d,12),I.writeInt32LE(this._e,16),I},r.exports=f},{buffer:220,"hash-base":425,inherits:440}],494:[function(e,r,t){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var n=e("buffer"),a=n.Buffer;function s(i,c){for(var u in i)c[u]=i[u]}function o(i,c,u){return a(i,c,u)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?r.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(a.prototype),s(a,o),o.from=function(i,c,u){if(typeof i=="number")throw new TypeError("Argument must not be a number");return a(i,c,u)},o.alloc=function(i,c,u){if(typeof i!="number")throw new TypeError("Argument must be a number");var l=a(i);return c!==void 0?typeof u=="string"?l.fill(c,u):l.fill(c):l.fill(0),l},o.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return a(i)},o.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(i)}},{buffer:220}],495:[function(e,r,t){(function(n){(function(){var a,s=e("buffer"),o=s.Buffer,i={};for(a in s)s.hasOwnProperty(a)&&a!=="SlowBuffer"&&a!=="Buffer"&&(i[a]=s[a]);var c=i.Buffer={};for(a in o)o.hasOwnProperty(a)&&a!=="allocUnsafe"&&a!=="allocUnsafeSlow"&&(c[a]=o[a]);if(i.Buffer.prototype=o.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(u,l,A){if(typeof u=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof u);if(u&&u.length===void 0)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u);return o(u,l,A)}),c.alloc||(c.alloc=function(u,l,A){if(typeof u!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof u);if(u<0||u>=2*(1<<30))throw new RangeError('The value "'+u+'" is invalid for option "size"');var h=o(u);return l&&l.length!==0?typeof A=="string"?h.fill(l,A):h.fill(l):h.fill(0),h}),!i.kStringMaxLength)try{i.kStringMaxLength=n.binding("buffer").kStringMaxLength}catch{}i.constants||(i.constants={MAX_LENGTH:i.kMaxLength},i.kStringMaxLength&&(i.constants.MAX_STRING_LENGTH=i.kStringMaxLength)),r.exports=i}).call(this)}).call(this,e("_process"))},{_process:467,buffer:220}],496:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0});var n=e("xmlchars/xml/1.0/ed5"),a=e("xmlchars/xml/1.1/ed2"),s=e("xmlchars/xmlns/1.0/ed3"),o=n.isS,i=n.isChar,c=n.isNameStartChar,u=n.isNameChar,l=n.S_LIST,A=n.NAME_RE,h=a.isChar,f=s.isNCNameStartChar,d=s.isNCNameChar,g=s.NC_NAME_RE,p="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",v={__proto__:null,xml:p,xmlns:m},y={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},I=-1,E=-2,k=0,R=1,T=2,j=3,W=4,H=5,X=6,x=7,N=8,C=9,w=10,Q=11,B=12,S=13,O=14,F=15,Y=16,M=17,z=18,ue=19,ae=20,Ne=21,Ge=22,Ye=23,Ae=24,te=25,he=26,de=27,Ke=28,le=29,Ce=30,At=31,Z=32,ce=33,ye=34,Ve=35,dt=36,re=37,ot=38,pt=39,Be=40,Ee=41,Me=42,yt=43,pe=44,me=9,Re=10,Ze=13,ke=32,Pe=33,_e=34,Je=38,at=39,Dt=45,St=47,hr=59,Wt=60,Ut=61,ur=62,Br=63,fr=91,Mr=93,er=133,Tr=8232,fn=function(vi){return vi===_e||vi===at},_n=[_e,at],dr=[].concat(_n,[fr,ur]),rn=[].concat(_n,[Wt,Mr]),Kr=[Ut,Br].concat(Et(l)),tr=[].concat(Et(l),[ur,Je,Wt]);function on(vi,qe,bt){switch(qe){case"xml":bt!==p&&vi.fail("xml prefix must be bound to ".concat(p,"."));break;case"xmlns":bt!==m&&vi.fail("xmlns prefix must be bound to ".concat(m,"."))}switch(bt){case m:vi.fail(qe===""?"the default namespace may not be set to ".concat(bt,"."):'may not assign a prefix (even "xmlns") to the URI '.concat(m,"."));break;case p:switch(qe){case"xml":break;case"":vi.fail("the default namespace may not be set to ".concat(bt,"."));break;default:vi.fail("may not assign the xml namespace to another prefix.")}}}function nn(vi,qe){for(var bt=0,Ft=Object.keys(qe);bt<Ft.length;bt++){var Lr=Ft[bt];on(vi,Lr,qe[Lr])}}var An=function(vi){return g.test(vi)},bn=function(vi){return A.test(vi)},Gn=0,Dr=1,Nn=2;t.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var Mn={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"},Hn=function(){function vi(qe){Fe(this,vi),this.opt=qe??{},this.fragmentOpt=!!this.opt.fragment;var bt=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,bt){this.nameStartCheck=f,this.nameCheck=d,this.isName=An,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},v);var Ft=this.opt.additionalNamespaces;Ft!=null&&(nn(this,Ft),Object.assign(this.ns,Ft))}else this.nameStartCheck=c,this.nameCheck=u,this.isName=bn,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}return Le(vi,[{key:"closed",get:function(){return this._closed}},{key:"_init",value:function(){var qe;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=Gn,this.attribList=[];var bt=this.fragmentOpt;this.state=bt?S:k,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=bt,this.xmlDeclPossible=!bt,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;var Ft=this.opt.defaultXMLVersion;if(Ft===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");Ft="1.0"}this.setXMLVersion(Ft),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(y),(qe=this.readyHandler)===null||qe===void 0||qe.call(this)}},{key:"position",get:function(){return this.chunkPosition+this.i}},{key:"columnIndex",get:function(){return this.position-this.positionAtNewLine}},{key:"on",value:function(qe,bt){this[Mn[qe]]=bt}},{key:"off",value:function(qe){this[Mn[qe]]=void 0}},{key:"makeError",value:function(qe){var bt,Ft=(bt=this.fileName)!==null&&bt!==void 0?bt:"";return this.trackPosition&&(Ft.length>0&&(Ft+=":"),Ft+="".concat(this.line,":").concat(this.column)),Ft.length>0&&(Ft+=": "),new Error(Ft+qe)}},{key:"fail",value:function(qe){var bt=this.makeError(qe),Ft=this.errorHandler;if(Ft===void 0)throw bt;return Ft(bt),this}},{key:"write",value:function(qe){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");var bt=!1;qe===null?(bt=!0,qe=""):typeof qe=="object"&&(qe=qe.toString()),this.carriedFromPrevious!==void 0&&(qe="".concat(this.carriedFromPrevious).concat(qe),this.carriedFromPrevious=void 0);var Ft=qe.length,Lr=qe.charCodeAt(Ft-1);!bt&&(Lr===Ze||Lr>=55296&&Lr<=56319)&&(this.carriedFromPrevious=qe[Ft-1],Ft--,qe=qe.slice(0,Ft));var kn=this.stateTable;for(this.chunk=qe,this.i=0;this.i<Ft;)kn[this.state].call(this);return this.chunkPosition+=Ft,bt?this.end():this}},{key:"close",value:function(){return this.write(null)}},{key:"getCode10",value:function(){var qe=this.chunk,bt=this.i;if(this.prevI=bt,this.i=bt+1,bt>=qe.length)return I;var Ft=qe.charCodeAt(bt);if(this.column++,Ft<55296){if(Ft>=ke||Ft===me)return Ft;switch(Ft){case Re:return this.line++,this.column=0,this.positionAtNewLine=this.position,Re;case Ze:return qe.charCodeAt(bt+1)===Re&&(this.i=bt+2),this.line++,this.column=0,this.positionAtNewLine=this.position,E;default:return this.fail("disallowed character."),Ft}}if(Ft>56319)return Ft>=57344&&Ft<=65533||this.fail("disallowed character."),Ft;var Lr=65536+1024*(Ft-55296)+(qe.charCodeAt(bt+1)-56320);return this.i=bt+2,Lr>1114111&&this.fail("disallowed character."),Lr}},{key:"getCode11",value:function(){var qe=this.chunk,bt=this.i;if(this.prevI=bt,this.i=bt+1,bt>=qe.length)return I;var Ft=qe.charCodeAt(bt);if(this.column++,Ft<55296){if(Ft>31&&Ft<127||Ft>159&&Ft!==Tr||Ft===me)return Ft;switch(Ft){case Re:return this.line++,this.column=0,this.positionAtNewLine=this.position,Re;case Ze:var Lr=qe.charCodeAt(bt+1);Lr!==Re&&Lr!==er||(this.i=bt+2);case er:case Tr:return this.line++,this.column=0,this.positionAtNewLine=this.position,E;default:return this.fail("disallowed character."),Ft}}if(Ft>56319)return Ft>=57344&&Ft<=65533||this.fail("disallowed character."),Ft;var kn=65536+1024*(Ft-55296)+(qe.charCodeAt(bt+1)-56320);return this.i=bt+2,kn>1114111&&this.fail("disallowed character."),kn}},{key:"getCodeNorm",value:function(){var qe=this.getCode();return qe===E?Re:qe}},{key:"unget",value:function(){this.i=this.prevI,this.column--}},{key:"captureTo",value:function(qe){for(var bt=this.i,Ft=this.chunk;;){var Lr=this.getCode(),kn=Lr===E,Bi=kn?Re:Lr;if(Bi===I||qe.includes(Bi))return this.text+=Ft.slice(bt,this.prevI),Bi;kn&&(this.text+="".concat(Ft.slice(bt,this.prevI),`
  103. `),bt=this.i)}}},{key:"captureToChar",value:function(qe){for(var bt=this.i,Ft=this.chunk;;){var Lr=this.getCode();switch(Lr){case E:this.text+="".concat(Ft.slice(bt,this.prevI),`
  104. `),bt=this.i,Lr=Re;break;case I:return this.text+=Ft.slice(bt),!1}if(Lr===qe)return this.text+=Ft.slice(bt,this.prevI),!0}}},{key:"captureNameChars",value:function(){for(var qe=this.chunk,bt=this.i;;){var Ft=this.getCode();if(Ft===I)return this.name+=qe.slice(bt),I;if(!u(Ft))return this.name+=qe.slice(bt,this.prevI),Ft===E?Re:Ft}}},{key:"skipSpaces",value:function(){for(;;){var qe=this.getCodeNorm();if(qe===I||!o(qe))return qe}}},{key:"setXMLVersion",value:function(qe){this.currentXMLVersion=qe,qe==="1.0"?(this.isChar=i,this.getCode=this.getCode10):(this.isChar=h,this.getCode=this.getCode11)}},{key:"sBegin",value:function(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=R}},{key:"sBeginWhitespace",value:function(){var qe=this.i,bt=this.skipSpaces();switch(this.prevI!==qe&&(this.xmlDeclPossible=!1),bt){case Wt:if(this.state=F,this.text.length!==0)throw new Error("no-empty text at start");break;case I:break;default:this.unget(),this.state=S,this.xmlDeclPossible=!1}}},{key:"sDoctype",value:function(){var qe,bt=this.captureTo(dr);switch(bt){case ur:(qe=this.doctypeHandler)===null||qe===void 0||qe.call(this,this.text),this.text="",this.state=S,this.doctype=!0;break;case I:break;default:this.text+=String.fromCodePoint(bt),bt===fr?this.state=W:fn(bt)&&(this.state=j,this.q=bt)}}},{key:"sDoctypeQuote",value:function(){var qe=this.q;this.captureToChar(qe)&&(this.text+=String.fromCodePoint(qe),this.q=null,this.state=T)}},{key:"sDTD",value:function(){var qe=this.captureTo(rn);qe!==I&&(this.text+=String.fromCodePoint(qe),qe===Mr?this.state=T:qe===Wt?this.state=X:fn(qe)&&(this.state=H,this.q=qe))}},{key:"sDTDQuoted",value:function(){var qe=this.q;this.captureToChar(qe)&&(this.text+=String.fromCodePoint(qe),this.state=W,this.q=null)}},{key:"sDTDOpenWaka",value:function(){var qe=this.getCodeNorm();switch(this.text+=String.fromCodePoint(qe),qe){case Pe:this.state=x,this.openWakaBang="";break;case Br:this.state=Q;break;default:this.state=W}}},{key:"sDTDOpenWakaBang",value:function(){var qe=String.fromCodePoint(this.getCodeNorm()),bt=this.openWakaBang+=qe;this.text+=qe,bt!=="-"&&(this.state=bt==="--"?N:W,this.openWakaBang="")}},{key:"sDTDComment",value:function(){this.captureToChar(Dt)&&(this.text+="-",this.state=C)}},{key:"sDTDCommentEnding",value:function(){var qe=this.getCodeNorm();this.text+=String.fromCodePoint(qe),this.state=qe===Dt?w:N}},{key:"sDTDCommentEnded",value:function(){var qe=this.getCodeNorm();this.text+=String.fromCodePoint(qe),qe===ur?this.state=W:(this.fail("malformed comment."),this.state=N)}},{key:"sDTDPI",value:function(){this.captureToChar(Br)&&(this.text+="?",this.state=B)}},{key:"sDTDPIEnding",value:function(){var qe=this.getCodeNorm();this.text+=String.fromCodePoint(qe),qe===ur&&(this.state=W)}},{key:"sText",value:function(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}},{key:"sEntity",value:function(){var qe=this.i,bt=this.chunk;e:for(;;)switch(this.getCode()){case E:this.entity+="".concat(bt.slice(qe,this.prevI),`
  105. `),qe=this.i;break;case hr:var Ft=this.entityReturnState,Lr=this.entity+bt.slice(qe,this.prevI);this.state=Ft;var kn=void 0;Lr===""?(this.fail("empty entity name."),kn="&;"):(kn=this.parseEntity(Lr),this.entity=""),Ft===S&&this.textHandler===void 0||(this.text+=kn);break e;case I:this.entity+=bt.slice(qe);break e}}},{key:"sOpenWaka",value:function(){var qe=this.getCode();if(c(qe))this.state=ye,this.unget(),this.xmlDeclPossible=!1;else switch(qe){case St:this.state=yt,this.xmlDeclPossible=!1;break;case Pe:this.state=Y,this.openWakaBang="",this.xmlDeclPossible=!1;break;case Br:this.state=Ye;break;default:this.fail("disallowed character in tag name"),this.state=S,this.xmlDeclPossible=!1}}},{key:"sOpenWakaBang",value:function(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=ae,this.openWakaBang="";break;case"--":this.state=M,this.openWakaBang="";break;case"DOCTYPE":this.state=T,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}},{key:"sComment",value:function(){this.captureToChar(Dt)&&(this.state=z)}},{key:"sCommentEnding",value:function(){var qe,bt=this.getCodeNorm();bt===Dt?(this.state=ue,(qe=this.commentHandler)===null||qe===void 0||qe.call(this,this.text),this.text=""):(this.text+="-".concat(String.fromCodePoint(bt)),this.state=M)}},{key:"sCommentEnded",value:function(){var qe=this.getCodeNorm();qe!==ur?(this.fail("malformed comment."),this.text+="--".concat(String.fromCodePoint(qe)),this.state=M):this.state=S}},{key:"sCData",value:function(){this.captureToChar(Mr)&&(this.state=Ne)}},{key:"sCDataEnding",value:function(){var qe=this.getCodeNorm();qe===Mr?this.state=Ge:(this.text+="]".concat(String.fromCodePoint(qe)),this.state=ae)}},{key:"sCDataEnding2",value:function(){var qe,bt=this.getCodeNorm();switch(bt){case ur:(qe=this.cdataHandler)===null||qe===void 0||qe.call(this,this.text),this.text="",this.state=S;break;case Mr:this.text+="]";break;default:this.text+="]]".concat(String.fromCodePoint(bt)),this.state=ae}}},{key:"sPIFirstChar",value:function(){var qe=this.getCodeNorm();this.nameStartCheck(qe)?(this.piTarget+=String.fromCodePoint(qe),this.state=Ae):qe===Br||o(qe)?(this.fail("processing instruction without a target."),this.state=qe===Br?he:te):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(qe),this.state=Ae)}},{key:"sPIRest",value:function(){for(var qe=this.chunk,bt=this.i;;){var Ft=this.getCodeNorm();if(Ft===I)return void(this.piTarget+=qe.slice(bt));if(!this.nameCheck(Ft)){this.piTarget+=qe.slice(bt,this.prevI);var Lr=Ft===Br;Lr||o(Ft)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=Lr?ce:de):this.state=Lr?he:te:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(Ft));break}}}},{key:"sPIBody",value:function(){if(this.text.length===0){var qe=this.getCodeNorm();qe===Br?this.state=he:o(qe)||(this.text=String.fromCodePoint(qe))}else this.captureToChar(Br)&&(this.state=he)}},{key:"sPIEnding",value:function(){var qe,bt=this.getCodeNorm();if(bt===ur){var Ft=this.piTarget;Ft.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),(qe=this.piHandler)===null||qe===void 0||qe.call(this,{target:Ft,body:this.text}),this.piTarget=this.text="",this.state=S}else bt===Br?this.text+="?":(this.text+="?".concat(String.fromCodePoint(bt)),this.state=te);this.xmlDeclPossible=!1}},{key:"sXMLDeclNameStart",value:function(){var qe=this.skipSpaces();qe!==Br?qe!==I&&(this.state=Ke,this.name=String.fromCodePoint(qe)):this.state=ce}},{key:"sXMLDeclName",value:function(){var qe=this.captureTo(Kr);if(qe===Br)return this.state=ce,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(o(qe)||qe===Ut){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail("expected the name ".concat(this.xmlDeclExpects[0],"."));break;default:this.fail("expected one of ".concat(this.xmlDeclExpects.join(", ")))}this.state=qe===Ut?Ce:le}}},{key:"sXMLDeclEq",value:function(){var qe=this.getCodeNorm();if(qe===Br)return this.state=ce,void this.fail("XML declaration is incomplete.");o(qe)||(qe!==Ut&&this.fail("value required."),this.state=Ce)}},{key:"sXMLDeclValueStart",value:function(){var qe=this.getCodeNorm();if(qe===Br)return this.state=ce,void this.fail("XML declaration is incomplete.");o(qe)||(fn(qe)?this.q=qe:(this.fail("value must be quoted."),this.q=ke),this.state=At)}},{key:"sXMLDeclValue",value:function(){var qe=this.captureTo([this.q,Br]);if(qe===Br)return this.state=ce,this.text="",void this.fail("XML declaration is incomplete.");if(qe!==I){var bt=this.text;switch(this.text="",this.name){case"version":this.xmlDeclExpects=["encoding","standalone"];var Ft=bt;this.xmlDecl.version=Ft,/^1\.[0-9]+$/.test(Ft)?this.opt.forceXMLVersion||this.setXMLVersion(Ft):this.fail("version number must match /^1\\.[0-9]+$/.");break;case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(bt)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=bt;break;case"standalone":bt!=="yes"&&bt!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=bt}this.name="",this.state=Z}}},{key:"sXMLDeclSeparator",value:function(){var qe=this.getCodeNorm();qe!==Br?(o(qe)||(this.fail("whitespace required."),this.unget()),this.state=de):this.state=ce}},{key:"sXMLDeclEnding",value:function(){var qe;this.getCodeNorm()===ur?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),(qe=this.xmldeclHandler)===null||qe===void 0||qe.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=S):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}},{key:"sOpenTag",value:function(){var qe,bt=this.captureNameChars();if(bt!==I){var Ft=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=Ft.ns=Object.create(null)),(qe=this.openTagStartHandler)===null||qe===void 0||qe.call(this,Ft),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),bt){case ur:this.openTag();break;case St:this.state=Ve;break;default:o(bt)||this.fail("disallowed character in tag name."),this.state=dt}}}},{key:"sOpenTagSlash",value:function(){this.getCode()===ur?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=dt)}},{key:"sAttrib",value:function(){var qe=this.skipSpaces();qe!==I&&(c(qe)?(this.unget(),this.state=re):qe===ur?this.openTag():qe===St?this.state=Ve:this.fail("disallowed character in attribute name."))}},{key:"sAttribName",value:function(){var qe=this.captureNameChars();qe===Ut?this.state=pt:o(qe)?this.state=ot:qe===ur?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):qe!==I&&this.fail("disallowed character in attribute name.")}},{key:"sAttribNameSawWhite",value:function(){var qe=this.skipSpaces();switch(qe){case I:return;case Ut:this.state=pt;break;default:this.fail("attribute without value."),this.text="",this.name="",qe===ur?this.openTag():c(qe)?(this.unget(),this.state=re):(this.fail("disallowed character in attribute name."),this.state=dt)}}},{key:"sAttribValue",value:function(){var qe=this.getCodeNorm();fn(qe)?(this.q=qe,this.state=Be):o(qe)||(this.fail("unquoted attribute value."),this.state=Me,this.unget())}},{key:"sAttribValueQuoted",value:function(){for(var qe=this.q,bt=this.chunk,Ft=this.i;;)switch(this.getCode()){case qe:return this.pushAttrib(this.name,this.text+bt.slice(Ft,this.prevI)),this.name=this.text="",this.q=null,void(this.state=Ee);case Je:return this.text+=bt.slice(Ft,this.prevI),this.state=O,void(this.entityReturnState=Be);case Re:case E:case me:this.text+="".concat(bt.slice(Ft,this.prevI)," "),Ft=this.i;break;case Wt:return this.text+=bt.slice(Ft,this.prevI),void this.fail("disallowed character.");case I:return void(this.text+=bt.slice(Ft))}}},{key:"sAttribValueClosed",value:function(){var qe=this.getCodeNorm();o(qe)?this.state=dt:qe===ur?this.openTag():qe===St?this.state=Ve:c(qe)?(this.fail("no whitespace between attributes."),this.unget(),this.state=re):this.fail("disallowed character in attribute name.")}},{key:"sAttribValueUnquoted",value:function(){var qe=this.captureTo(tr);switch(qe){case Je:this.state=O,this.entityReturnState=Me;break;case Wt:this.fail("disallowed character.");break;case I:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",qe===ur?this.openTag():this.state=dt}}},{key:"sCloseTag",value:function(){var qe=this.captureNameChars();qe===ur?this.closeTag():o(qe)?this.state=pe:qe!==I&&this.fail("disallowed character in closing tag.")}},{key:"sCloseTagSawWhite",value:function(){switch(this.skipSpaces()){case ur:this.closeTag();break;case I:break;default:this.fail("disallowed character in closing tag.")}}},{key:"handleTextInRoot",value:function(){var qe=this.i,bt=this.forbiddenState,Ft=this.chunk,Lr=this.textHandler;e:for(;;)switch(this.getCode()){case Wt:if(this.state=F,Lr!==void 0){var kn=this.text,Bi=Ft.slice(qe,this.prevI);kn.length!==0?(Lr(kn+Bi),this.text=""):Bi.length!==0&&Lr(Bi)}bt=Gn;break e;case Je:this.state=O,this.entityReturnState=S,Lr!==void 0&&(this.text+=Ft.slice(qe,this.prevI)),bt=Gn;break e;case Mr:switch(bt){case Gn:bt=Dr;break;case Dr:bt=Nn;break;case Nn:break;default:throw new Error("impossible state")}break;case ur:bt===Nn&&this.fail('the string "]]>" is disallowed in char data.'),bt=Gn;break;case E:Lr!==void 0&&(this.text+="".concat(Ft.slice(qe,this.prevI),`
  106. `)),qe=this.i,bt=Gn;break;case I:Lr!==void 0&&(this.text+=Ft.slice(qe));break e;default:bt=Gn}this.forbiddenState=bt}},{key:"handleTextOutsideRoot",value:function(){var qe=this.i,bt=this.chunk,Ft=this.textHandler,Lr=!1;e:for(;;){var kn=this.getCode();switch(kn){case Wt:if(this.state=F,Ft!==void 0){var Bi=this.text,ka=bt.slice(qe,this.prevI);Bi.length!==0?(Ft(Bi+ka),this.text=""):ka.length!==0&&Ft(ka)}break e;case Je:this.state=O,this.entityReturnState=S,Ft!==void 0&&(this.text+=bt.slice(qe,this.prevI)),Lr=!0;break e;case E:Ft!==void 0&&(this.text+="".concat(bt.slice(qe,this.prevI),`
  107. `)),qe=this.i;break;case I:Ft!==void 0&&(this.text+=bt.slice(qe));break e;default:o(kn)||(Lr=!0)}}Lr&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}},{key:"pushAttribNS",value:function(qe,bt){var Ft,Lr=this.qname(qe),kn=Lr.prefix,Bi=Lr.local,ka={name:qe,prefix:kn,local:Bi,value:bt};if(this.attribList.push(ka),(Ft=this.attributeHandler)===null||Ft===void 0||Ft.call(this,ka),kn==="xmlns"){var Va=bt.trim();this.currentXMLVersion==="1.0"&&Va===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[Bi]=Va,on(this,Bi,Va)}else if(qe==="xmlns"){var qo=bt.trim();this.topNS[""]=qo,on(this,"",qo)}}},{key:"pushAttribPlain",value:function(qe,bt){var Ft,Lr={name:qe,value:bt};this.attribList.push(Lr),(Ft=this.attributeHandler)===null||Ft===void 0||Ft.call(this,Lr)}},{key:"end",value:function(){var qe,bt;this.sawRoot||this.fail("document must contain a root element.");for(var Ft=this.tags;Ft.length>0;){var Lr=Ft.pop();this.fail("unclosed tag: ".concat(Lr.name))}this.state!==k&&this.state!==S&&this.fail("unexpected end.");var kn=this.text;return kn.length!==0&&((qe=this.textHandler)===null||qe===void 0||qe.call(this,kn),this.text=""),this._closed=!0,(bt=this.endHandler)===null||bt===void 0||bt.call(this),this._init(),this}},{key:"resolve",value:function(qe){var bt,Ft,Lr=this.topNS[qe];if(Lr!==void 0)return Lr;for(var kn=this.tags,Bi=kn.length-1;Bi>=0;Bi--)if((Lr=kn[Bi].ns[qe])!==void 0)return Lr;return(Lr=this.ns[qe])!==void 0?Lr:(Ft=(bt=this.opt).resolvePrefix)===null||Ft===void 0?void 0:Ft.call(bt,qe)}},{key:"qname",value:function(qe){var bt=qe.indexOf(":");if(bt===-1)return{prefix:"",local:qe};var Ft=qe.slice(bt+1),Lr=qe.slice(0,bt);return(Lr===""||Ft===""||Ft.includes(":"))&&this.fail("malformed name: ".concat(qe,".")),{prefix:Lr,local:Ft}}},{key:"processAttribsNS",value:function(){var qe,bt=this.attribList,Ft=this.tag,Lr=this.qname(Ft.name),kn=Lr.prefix,Bi=Lr.local;Ft.prefix=kn,Ft.local=Bi;var ka=Ft.uri=(qe=this.resolve(kn))!==null&&qe!==void 0?qe:"";if(kn!==""&&(kn==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),ka===""&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(kn),".")),Ft.uri=kn)),bt.length!==0){var Va,qo=Ft.attributes,Ro=new Set,po=nd(bt);try{for(po.s();!(Va=po.n()).done;){var Fo=Va.value,ri=Fo.name,$n=Fo.prefix,Bs=Fo.local,No=void 0,Qs=void 0;$n===""?(No=ri==="xmlns"?m:"",Qs=ri):((No=this.resolve($n))===void 0&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify($n),".")),No=$n),Qs="{".concat(No,"}").concat(Bs)),Ro.has(Qs)&&this.fail("duplicate attribute: ".concat(Qs,".")),Ro.add(Qs),Fo.uri=No,qo[ri]=Fo}}catch(bc){po.e(bc)}finally{po.f()}this.attribList=[]}}},{key:"processAttribsPlain",value:function(){var qe,bt=this.attribList,Ft=this.tag.attributes,Lr=nd(bt);try{for(Lr.s();!(qe=Lr.n()).done;){var kn=qe.value,Bi=kn.name,ka=kn.value;Ft[Bi]!==void 0&&this.fail("duplicate attribute: ".concat(Bi,".")),Ft[Bi]=ka}}catch(Va){Lr.e(Va)}finally{Lr.f()}this.attribList=[]}},{key:"openTag",value:function(){var qe;this.processAttribs();var bt=this.tags,Ft=this.tag;Ft.isSelfClosing=!1,(qe=this.openTagHandler)===null||qe===void 0||qe.call(this,Ft),bt.push(Ft),this.state=S,this.name=""}},{key:"openSelfClosingTag",value:function(){var qe,bt,Ft;this.processAttribs();var Lr=this.tags,kn=this.tag;kn.isSelfClosing=!0,(qe=this.openTagHandler)===null||qe===void 0||qe.call(this,kn),(bt=this.closeTagHandler)===null||bt===void 0||bt.call(this,kn),(this.tag=(Ft=Lr[Lr.length-1])!==null&&Ft!==void 0?Ft:null)===null&&(this.closedRoot=!0),this.state=S,this.name=""}},{key:"closeTag",value:function(){var qe=this.tags,bt=this.name;if(this.state=S,this.name="",bt==="")return this.fail("weird empty close tag."),void(this.text+="</>");for(var Ft=this.closeTagHandler,Lr=qe.length;Lr-- >0;){var kn=this.tag=qe.pop();if(this.topNS=kn.ns,Ft==null||Ft(kn),kn.name===bt)break;this.fail("unexpected close tag.")}Lr===0?this.closedRoot=!0:Lr<0&&(this.fail("unmatched closing tag: ".concat(bt,".")),this.text+="</".concat(bt,">"))}},{key:"parseEntity",value:function(qe){if(qe[0]!=="#"){var bt=this.ENTITIES[qe];return bt!==void 0?bt:(this.fail(this.isName(qe)?"undefined entity.":"disallowed character in entity name."),"&".concat(qe,";"))}var Ft=NaN;return qe[1]==="x"&&/^#x[0-9a-f]+$/i.test(qe)?Ft=parseInt(qe.slice(2),16):/^#[0-9]+$/.test(qe)&&(Ft=parseInt(qe.slice(1),10)),this.isChar(Ft)?String.fromCodePoint(Ft):(this.fail("malformed character entity."),"&".concat(qe,";"))}}]),vi}();t.SaxesParser=Hn},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(e,r,t){var n=e("safe-buffer").Buffer;function a(s,o){this._block=n.alloc(s),this._finalSize=o,this._blockSize=s,this._len=0}a.prototype.update=function(s,o){typeof s=="string"&&(o=o||"utf8",s=n.from(s,o));for(var i=this._block,c=this._blockSize,u=s.length,l=this._len,A=0;A<u;){for(var h=l%c,f=Math.min(u-A,c-h),d=0;d<f;d++)i[h+d]=s[A+d];A+=f,(l+=f)%c==0&&this._update(i)}return this._len+=u,this},a.prototype.digest=function(s){var o=this._len%this._blockSize;this._block[o]=128,this._block.fill(0,o+1),o>=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var c=(4294967295&i)>>>0,u=(i-c)/4294967296;this._block.writeUInt32BE(u,this._blockSize-8),this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);var l=this._hash();return s?l.toString(s):l},a.prototype._update=function(){throw new Error("_update must be implemented by subclass")},r.exports=a},{"safe-buffer":494}],498:[function(e,r,t){var n=r.exports=function(a){a=a.toLowerCase();var s=n[a];if(!s)throw new Error(a+" is not supported (we accept pull requests)");return new s};n.sha=e("./sha"),n.sha1=e("./sha1"),n.sha224=e("./sha224"),n.sha256=e("./sha256"),n.sha384=e("./sha384"),n.sha512=e("./sha512")},{"./sha":499,"./sha1":500,"./sha224":501,"./sha256":502,"./sha384":503,"./sha512":504}],499:[function(e,r,t){var n=e("inherits"),a=e("./hash"),s=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function c(){this.init(),this._w=i,a.call(this,64,56)}function u(h){return h<<5|h>>>27}function l(h){return h<<30|h>>>2}function A(h,f,d,g){return h===0?f&d|~f&g:h===2?f&d|f&g|d&g:f^d^g}n(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(h){for(var f=this._w,d=0|this._a,g=0|this._b,p=0|this._c,m=0|this._d,v=0|this._e,y=0;y<16;++y)f[y]=h.readInt32BE(4*y);for(;y<80;++y)f[y]=f[y-3]^f[y-8]^f[y-14]^f[y-16];for(var I=0;I<80;++I){var E=~~(I/20),k=u(d)+A(E,g,p,m)+v+f[I]+o[E]|0;v=m,m=p,p=l(g),g=d,d=k}this._a=d+this._a|0,this._b=g+this._b|0,this._c=p+this._c|0,this._d=m+this._d|0,this._e=v+this._e|0},c.prototype._hash=function(){var h=s.allocUnsafe(20);return h.writeInt32BE(0|this._a,0),h.writeInt32BE(0|this._b,4),h.writeInt32BE(0|this._c,8),h.writeInt32BE(0|this._d,12),h.writeInt32BE(0|this._e,16),h},r.exports=c},{"./hash":497,inherits:440,"safe-buffer":494}],500:[function(e,r,t){var n=e("inherits"),a=e("./hash"),s=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function c(){this.init(),this._w=i,a.call(this,64,56)}function u(f){return f<<1|f>>>31}function l(f){return f<<5|f>>>27}function A(f){return f<<30|f>>>2}function h(f,d,g,p){return f===0?d&g|~d&p:f===2?d&g|d&p|g&p:d^g^p}n(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(f){for(var d=this._w,g=0|this._a,p=0|this._b,m=0|this._c,v=0|this._d,y=0|this._e,I=0;I<16;++I)d[I]=f.readInt32BE(4*I);for(;I<80;++I)d[I]=u(d[I-3]^d[I-8]^d[I-14]^d[I-16]);for(var E=0;E<80;++E){var k=~~(E/20),R=l(g)+h(k,p,m,v)+y+d[E]+o[k]|0;y=v,v=m,m=A(p),p=g,g=R}this._a=g+this._a|0,this._b=p+this._b|0,this._c=m+this._c|0,this._d=v+this._d|0,this._e=y+this._e|0},c.prototype._hash=function(){var f=s.allocUnsafe(20);return f.writeInt32BE(0|this._a,0),f.writeInt32BE(0|this._b,4),f.writeInt32BE(0|this._c,8),f.writeInt32BE(0|this._d,12),f.writeInt32BE(0|this._e,16),f},r.exports=c},{"./hash":497,inherits:440,"safe-buffer":494}],501:[function(e,r,t){var n=e("inherits"),a=e("./sha256"),s=e("./hash"),o=e("safe-buffer").Buffer,i=new Array(64);function c(){this.init(),this._w=i,s.call(this,64,56)}n(c,a),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var u=o.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},r.exports=c},{"./hash":497,"./sha256":502,inherits:440,"safe-buffer":494}],502:[function(e,r,t){var n=e("inherits"),a=e("./hash"),s=e("safe-buffer").Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=new Array(64);function c(){this.init(),this._w=i,a.call(this,64,56)}function u(g,p,m){return m^g&(p^m)}function l(g,p,m){return g&p|m&(g|p)}function A(g){return(g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10)}function h(g){return(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7)}function f(g){return(g>>>7|g<<25)^(g>>>18|g<<14)^g>>>3}function d(g){return(g>>>17|g<<15)^(g>>>19|g<<13)^g>>>10}n(c,a),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(g){for(var p=this._w,m=0|this._a,v=0|this._b,y=0|this._c,I=0|this._d,E=0|this._e,k=0|this._f,R=0|this._g,T=0|this._h,j=0;j<16;++j)p[j]=g.readInt32BE(4*j);for(;j<64;++j)p[j]=d(p[j-2])+p[j-7]+f(p[j-15])+p[j-16]|0;for(var W=0;W<64;++W){var H=T+h(E)+u(E,k,R)+o[W]+p[W]|0,X=A(m)+l(m,v,y)|0;T=R,R=k,k=E,E=I+H|0,I=y,y=v,v=m,m=H+X|0}this._a=m+this._a|0,this._b=v+this._b|0,this._c=y+this._c|0,this._d=I+this._d|0,this._e=E+this._e|0,this._f=k+this._f|0,this._g=R+this._g|0,this._h=T+this._h|0},c.prototype._hash=function(){var g=s.allocUnsafe(32);return g.writeInt32BE(this._a,0),g.writeInt32BE(this._b,4),g.writeInt32BE(this._c,8),g.writeInt32BE(this._d,12),g.writeInt32BE(this._e,16),g.writeInt32BE(this._f,20),g.writeInt32BE(this._g,24),g.writeInt32BE(this._h,28),g},r.exports=c},{"./hash":497,inherits:440,"safe-buffer":494}],503:[function(e,r,t){var n=e("inherits"),a=e("./sha512"),s=e("./hash"),o=e("safe-buffer").Buffer,i=new Array(160);function c(){this.init(),this._w=i,s.call(this,128,112)}n(c,a),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var u=o.allocUnsafe(48);function l(A,h,f){u.writeInt32BE(A,f),u.writeInt32BE(h,f+4)}return l(this._ah,this._al,0),l(this._bh,this._bl,8),l(this._ch,this._cl,16),l(this._dh,this._dl,24),l(this._eh,this._el,32),l(this._fh,this._fl,40),u},r.exports=c},{"./hash":497,"./sha512":504,inherits:440,"safe-buffer":494}],504:[function(e,r,t){var n=e("inherits"),a=e("./hash"),s=e("safe-buffer").Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],i=new Array(160);function c(){this.init(),this._w=i,a.call(this,128,112)}function u(v,y,I){return I^v&(y^I)}function l(v,y,I){return v&y|I&(v|y)}function A(v,y){return(v>>>28|y<<4)^(y>>>2|v<<30)^(y>>>7|v<<25)}function h(v,y){return(v>>>14|y<<18)^(v>>>18|y<<14)^(y>>>9|v<<23)}function f(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^v>>>7}function d(v,y){return(v>>>1|y<<31)^(v>>>8|y<<24)^(v>>>7|y<<25)}function g(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^v>>>6}function p(v,y){return(v>>>19|y<<13)^(y>>>29|v<<3)^(v>>>6|y<<26)}function m(v,y){return v>>>0<y>>>0?1:0}n(c,a),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(v){for(var y=this._w,I=0|this._ah,E=0|this._bh,k=0|this._ch,R=0|this._dh,T=0|this._eh,j=0|this._fh,W=0|this._gh,H=0|this._hh,X=0|this._al,x=0|this._bl,N=0|this._cl,C=0|this._dl,w=0|this._el,Q=0|this._fl,B=0|this._gl,S=0|this._hl,O=0;O<32;O+=2)y[O]=v.readInt32BE(4*O),y[O+1]=v.readInt32BE(4*O+4);for(;O<160;O+=2){var F=y[O-30],Y=y[O-30+1],M=f(F,Y),z=d(Y,F),ue=g(F=y[O-4],Y=y[O-4+1]),ae=p(Y,F),Ne=y[O-14],Ge=y[O-14+1],Ye=y[O-32],Ae=y[O-32+1],te=z+Ge|0,he=M+Ne+m(te,z)|0;he=(he=he+ue+m(te=te+ae|0,ae)|0)+Ye+m(te=te+Ae|0,Ae)|0,y[O]=he,y[O+1]=te}for(var de=0;de<160;de+=2){he=y[de],te=y[de+1];var Ke=l(I,E,k),le=l(X,x,N),Ce=A(I,X),At=A(X,I),Z=h(T,w),ce=h(w,T),ye=o[de],Ve=o[de+1],dt=u(T,j,W),re=u(w,Q,B),ot=S+ce|0,pt=H+Z+m(ot,S)|0;pt=(pt=(pt=pt+dt+m(ot=ot+re|0,re)|0)+ye+m(ot=ot+Ve|0,Ve)|0)+he+m(ot=ot+te|0,te)|0;var Be=At+le|0,Ee=Ce+Ke+m(Be,At)|0;H=W,S=B,W=j,B=Q,j=T,Q=w,T=R+pt+m(w=C+ot|0,C)|0,R=k,C=N,k=E,N=x,E=I,x=X,I=pt+Ee+m(X=ot+Be|0,ot)|0}this._al=this._al+X|0,this._bl=this._bl+x|0,this._cl=this._cl+N|0,this._dl=this._dl+C|0,this._el=this._el+w|0,this._fl=this._fl+Q|0,this._gl=this._gl+B|0,this._hl=this._hl+S|0,this._ah=this._ah+I+m(this._al,X)|0,this._bh=this._bh+E+m(this._bl,x)|0,this._ch=this._ch+k+m(this._cl,N)|0,this._dh=this._dh+R+m(this._dl,C)|0,this._eh=this._eh+T+m(this._el,w)|0,this._fh=this._fh+j+m(this._fl,Q)|0,this._gh=this._gh+W+m(this._gl,B)|0,this._hh=this._hh+H+m(this._hl,S)|0},c.prototype._hash=function(){var v=s.allocUnsafe(64);function y(I,E,k){v.writeInt32BE(I,k),v.writeInt32BE(E,k+4)}return y(this._ah,this._al,0),y(this._bh,this._bl,8),y(this._ch,this._cl,16),y(this._dh,this._dl,24),y(this._eh,this._el,32),y(this._fh,this._fl,40),y(this._gh,this._gl,48),y(this._hh,this._hl,56),v},r.exports=c},{"./hash":497,inherits:440,"safe-buffer":494}],505:[function(e,r,t){r.exports=a;var n=e("events").EventEmitter;function a(){n.call(this)}e("inherits")(a,n),a.Readable=e("readable-stream/readable.js"),a.Writable=e("readable-stream/writable.js"),a.Duplex=e("readable-stream/duplex.js"),a.Transform=e("readable-stream/transform.js"),a.PassThrough=e("readable-stream/passthrough.js"),a.Stream=a,a.prototype.pipe=function(s,o){var i=this;function c(g){s.writable&&s.write(g)===!1&&i.pause&&i.pause()}function u(){i.readable&&i.resume&&i.resume()}i.on("data",c),s.on("drain",u),s._isStdio||o&&o.end===!1||(i.on("end",A),i.on("close",h));var l=!1;function A(){l||(l=!0,s.end())}function h(){l||(l=!0,typeof s.destroy=="function"&&s.destroy())}function f(g){if(d(),n.listenerCount(this,"error")===0)throw g}function d(){i.removeListener("data",c),s.removeListener("drain",u),i.removeListener("end",A),i.removeListener("close",h),i.removeListener("error",f),s.removeListener("error",f),i.removeListener("end",d),i.removeListener("close",d),s.removeListener("close",d)}return i.on("error",f),s.on("error",f),i.on("end",d),i.on("close",d),s.on("close",d),s.emit("pipe",i),s}},{events:422,inherits:440,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],506:[function(e,r,t){var n={}.toString;r.exports=Array.isArray||function(a){return n.call(a)=="[object Array]"}},{}],507:[function(e,r,t){r.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(e,r,t){var n=e("process-nextick-args"),a=Object.keys||function(d){var g=[];for(var p in d)g.push(p);return g};r.exports=A;var s=Object.create(e("core-util-is"));s.inherits=e("inherits");var o=e("./_stream_readable"),i=e("./_stream_writable");s.inherits(A,o);for(var c=a(i.prototype),u=0;u<c.length;u++){var l=c[u];A.prototype[l]||(A.prototype[l]=i.prototype[l])}function A(d){if(!(this instanceof A))return new A(d);o.call(this,d),i.call(this,d),d&&d.readable===!1&&(this.readable=!1),d&&d.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,d&&d.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(d){d.end()}Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(A.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(d){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=d,this._writableState.destroyed=d)}}),A.prototype._destroy=function(d,g){this.push(null),this.end(),n.nextTick(g,d)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":383,inherits:440,"process-nextick-args":466}],509:[function(e,r,t){r.exports=s;var n=e("./_stream_transform"),a=Object.create(e("core-util-is"));function s(o){if(!(this instanceof s))return new s(o);n.call(this,o)}a.inherits=e("inherits"),a.inherits(s,n),s.prototype._transform=function(o,i,c){c(null,o)}},{"./_stream_transform":511,"core-util-is":383,inherits:440}],510:[function(e,r,t){(function(n,a){(function(){var s=e("process-nextick-args");r.exports=R;var o,i=e("isarray");R.ReadableState=k,e("events").EventEmitter;var c=function(he,de){return he.listeners(de).length},u=e("./internal/streams/stream"),l=e("safe-buffer").Buffer,A=(a!==void 0?a:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function h(he){return l.from(he)}function f(he){return l.isBuffer(he)||he instanceof A}var d=Object.create(e("core-util-is"));d.inherits=e("inherits");var g=e("util"),p=void 0;p=g&&g.debuglog?g.debuglog("stream"):function(){};var m,v=e("./internal/streams/BufferList"),y=e("./internal/streams/destroy");d.inherits(R,u);var I=["error","close","destroy","pause","resume"];function E(he,de,Ke){if(typeof he.prependListener=="function")return he.prependListener(de,Ke);he._events&&he._events[de]?i(he._events[de])?he._events[de].unshift(Ke):he._events[de]=[Ke,he._events[de]]:he.on(de,Ke)}function k(he,de){he=he||{};var Ke=de instanceof(o=o||e("./_stream_duplex"));this.objectMode=!!he.objectMode,Ke&&(this.objectMode=this.objectMode||!!he.readableObjectMode);var le=he.highWaterMark,Ce=he.readableHighWaterMark,At=this.objectMode?16:16384;this.highWaterMark=le||le===0?le:Ke&&(Ce||Ce===0)?Ce:At,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=he.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,he.encoding&&(m||(m=e("string_decoder/").StringDecoder),this.decoder=new m(he.encoding),this.encoding=he.encoding)}function R(he){if(o=o||e("./_stream_duplex"),!(this instanceof R))return new R(he);this._readableState=new k(he,this),this.readable=!0,he&&(typeof he.read=="function"&&(this._read=he.read),typeof he.destroy=="function"&&(this._destroy=he.destroy)),u.call(this)}function T(he,de,Ke,le,Ce){var At,Z=he._readableState;return de===null?(Z.reading=!1,C(he,Z)):(Ce||(At=W(Z,de)),At?he.emit("error",At):Z.objectMode||de&&de.length>0?(typeof de=="string"||Z.objectMode||Object.getPrototypeOf(de)===l.prototype||(de=h(de)),le?Z.endEmitted?he.emit("error",new Error("stream.unshift() after end event")):j(he,Z,de,!0):Z.ended?he.emit("error",new Error("stream.push() after EOF")):(Z.reading=!1,Z.decoder&&!Ke?(de=Z.decoder.write(de),Z.objectMode||de.length!==0?j(he,Z,de,!1):B(he,Z)):j(he,Z,de,!1))):le||(Z.reading=!1)),H(Z)}function j(he,de,Ke,le){de.flowing&&de.length===0&&!de.sync?(he.emit("data",Ke),he.read(0)):(de.length+=de.objectMode?1:Ke.length,le?de.buffer.unshift(Ke):de.buffer.push(Ke),de.needReadable&&w(he)),B(he,de)}function W(he,de){var Ke;return f(de)||typeof de=="string"||de===void 0||he.objectMode||(Ke=new TypeError("Invalid non-string/buffer chunk")),Ke}function H(he){return!he.ended&&(he.needReadable||he.length<he.highWaterMark||he.length===0)}Object.defineProperty(R.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(he){this._readableState&&(this._readableState.destroyed=he)}}),R.prototype.destroy=y.destroy,R.prototype._undestroy=y.undestroy,R.prototype._destroy=function(he,de){this.push(null),de(he)},R.prototype.push=function(he,de){var Ke,le=this._readableState;return le.objectMode?Ke=!0:typeof he=="string"&&((de=de||le.defaultEncoding)!==le.encoding&&(he=l.from(he,de),de=""),Ke=!0),T(this,he,de,!1,Ke)},R.prototype.unshift=function(he){return T(this,he,null,!0,!1)},R.prototype.isPaused=function(){return this._readableState.flowing===!1},R.prototype.setEncoding=function(he){return m||(m=e("string_decoder/").StringDecoder),this._readableState.decoder=new m(he),this._readableState.encoding=he,this};var X=8388608;function x(he){return he>=X?he=X:(he--,he|=he>>>1,he|=he>>>2,he|=he>>>4,he|=he>>>8,he|=he>>>16,he++),he}function N(he,de){return he<=0||de.length===0&&de.ended?0:de.objectMode?1:he!=he?de.flowing&&de.length?de.buffer.head.data.length:de.length:(he>de.highWaterMark&&(de.highWaterMark=x(he)),he<=de.length?he:de.ended?de.length:(de.needReadable=!0,0))}function C(he,de){if(!de.ended){if(de.decoder){var Ke=de.decoder.end();Ke&&Ke.length&&(de.buffer.push(Ke),de.length+=de.objectMode?1:Ke.length)}de.ended=!0,w(he)}}function w(he){var de=he._readableState;de.needReadable=!1,de.emittedReadable||(p("emitReadable",de.flowing),de.emittedReadable=!0,de.sync?s.nextTick(Q,he):Q(he))}function Q(he){p("emit readable"),he.emit("readable"),z(he)}function B(he,de){de.readingMore||(de.readingMore=!0,s.nextTick(S,he,de))}function S(he,de){for(var Ke=de.length;!de.reading&&!de.flowing&&!de.ended&&de.length<de.highWaterMark&&(p("maybeReadMore read 0"),he.read(0),Ke!==de.length);)Ke=de.length;de.readingMore=!1}function O(he){return function(){var de=he._readableState;p("pipeOnDrain",de.awaitDrain),de.awaitDrain&&de.awaitDrain--,de.awaitDrain===0&&c(he,"data")&&(de.flowing=!0,z(he))}}function F(he){p("readable nexttick read 0"),he.read(0)}function Y(he,de){de.resumeScheduled||(de.resumeScheduled=!0,s.nextTick(M,he,de))}function M(he,de){de.reading||(p("resume read 0"),he.read(0)),de.resumeScheduled=!1,de.awaitDrain=0,he.emit("resume"),z(he),de.flowing&&!de.reading&&he.read(0)}function z(he){var de=he._readableState;for(p("flow",de.flowing);de.flowing&&he.read()!==null;);}function ue(he,de){return de.length===0?null:(de.objectMode?Ke=de.buffer.shift():!he||he>=de.length?(Ke=de.decoder?de.buffer.join(""):de.buffer.length===1?de.buffer.head.data:de.buffer.concat(de.length),de.buffer.clear()):Ke=ae(he,de.buffer,de.decoder),Ke);var Ke}function ae(he,de,Ke){var le;return he<de.head.data.length?(le=de.head.data.slice(0,he),de.head.data=de.head.data.slice(he)):le=he===de.head.data.length?de.shift():Ke?Ne(he,de):Ge(he,de),le}function Ne(he,de){var Ke=de.head,le=1,Ce=Ke.data;for(he-=Ce.length;Ke=Ke.next;){var At=Ke.data,Z=he>At.length?At.length:he;if(Z===At.length?Ce+=At:Ce+=At.slice(0,he),(he-=Z)==0){Z===At.length?(++le,Ke.next?de.head=Ke.next:de.head=de.tail=null):(de.head=Ke,Ke.data=At.slice(Z));break}++le}return de.length-=le,Ce}function Ge(he,de){var Ke=l.allocUnsafe(he),le=de.head,Ce=1;for(le.data.copy(Ke),he-=le.data.length;le=le.next;){var At=le.data,Z=he>At.length?At.length:he;if(At.copy(Ke,Ke.length-he,0,Z),(he-=Z)==0){Z===At.length?(++Ce,le.next?de.head=le.next:de.head=de.tail=null):(de.head=le,le.data=At.slice(Z));break}++Ce}return de.length-=Ce,Ke}function Ye(he){var de=he._readableState;if(de.length>0)throw new Error('"endReadable()" called on non-empty stream');de.endEmitted||(de.ended=!0,s.nextTick(Ae,de,he))}function Ae(he,de){he.endEmitted||he.length!==0||(he.endEmitted=!0,de.readable=!1,de.emit("end"))}function te(he,de){for(var Ke=0,le=he.length;Ke<le;Ke++)if(he[Ke]===de)return Ke;return-1}R.prototype.read=function(he){p("read",he),he=parseInt(he,10);var de=this._readableState,Ke=he;if(he!==0&&(de.emittedReadable=!1),he===0&&de.needReadable&&(de.length>=de.highWaterMark||de.ended))return p("read: emitReadable",de.length,de.ended),de.length===0&&de.ended?Ye(this):w(this),null;if((he=N(he,de))===0&&de.ended)return de.length===0&&Ye(this),null;var le,Ce=de.needReadable;return p("need readable",Ce),(de.length===0||de.length-he<de.highWaterMark)&&p("length less than watermark",Ce=!0),de.ended||de.reading?p("reading or ended",Ce=!1):Ce&&(p("do read"),de.reading=!0,de.sync=!0,de.length===0&&(de.needReadable=!0),this._read(de.highWaterMark),de.sync=!1,de.reading||(he=N(Ke,de))),(le=he>0?ue(he,de):null)===null?(de.needReadable=!0,he=0):de.length-=he,de.length===0&&(de.ended||(de.needReadable=!0),Ke!==he&&de.ended&&Ye(this)),le!==null&&this.emit("data",le),le},R.prototype._read=function(he){this.emit("error",new Error("_read() is not implemented"))},R.prototype.pipe=function(he,de){var Ke=this,le=this._readableState;switch(le.pipesCount){case 0:le.pipes=he;break;case 1:le.pipes=[le.pipes,he];break;default:le.pipes.push(he)}le.pipesCount+=1,p("pipe count=%d opts=%j",le.pipesCount,de);var Ce=de&&de.end===!1||he===n.stdout||he===n.stderr?Ee:Z;function At(Me,yt){p("onunpipe"),Me===Ke&&yt&&yt.hasUnpiped===!1&&(yt.hasUnpiped=!0,Ve())}function Z(){p("onend"),he.end()}le.endEmitted?s.nextTick(Ce):Ke.once("end",Ce),he.on("unpipe",At);var ce=O(Ke);he.on("drain",ce);var ye=!1;function Ve(){p("cleanup"),he.removeListener("close",pt),he.removeListener("finish",Be),he.removeListener("drain",ce),he.removeListener("error",ot),he.removeListener("unpipe",At),Ke.removeListener("end",Z),Ke.removeListener("end",Ee),Ke.removeListener("data",re),ye=!0,!le.awaitDrain||he._writableState&&!he._writableState.needDrain||ce()}var dt=!1;function re(Me){p("ondata"),dt=!1,he.write(Me)!==!1||dt||((le.pipesCount===1&&le.pipes===he||le.pipesCount>1&&te(le.pipes,he)!==-1)&&!ye&&(p("false write response, pause",le.awaitDrain),le.awaitDrain++,dt=!0),Ke.pause())}function ot(Me){p("onerror",Me),Ee(),he.removeListener("error",ot),c(he,"error")===0&&he.emit("error",Me)}function pt(){he.removeListener("finish",Be),Ee()}function Be(){p("onfinish"),he.removeListener("close",pt),Ee()}function Ee(){p("unpipe"),Ke.unpipe(he)}return Ke.on("data",re),E(he,"error",ot),he.once("close",pt),he.once("finish",Be),he.emit("pipe",Ke),le.flowing||(p("pipe resume"),Ke.resume()),he},R.prototype.unpipe=function(he){var de=this._readableState,Ke={hasUnpiped:!1};if(de.pipesCount===0)return this;if(de.pipesCount===1)return he&&he!==de.pipes||(he||(he=de.pipes),de.pipes=null,de.pipesCount=0,de.flowing=!1,he&&he.emit("unpipe",this,Ke)),this;if(!he){var le=de.pipes,Ce=de.pipesCount;de.pipes=null,de.pipesCount=0,de.flowing=!1;for(var At=0;At<Ce;At++)le[At].emit("unpipe",this,{hasUnpiped:!1});return this}var Z=te(de.pipes,he);return Z===-1||(de.pipes.splice(Z,1),de.pipesCount-=1,de.pipesCount===1&&(de.pipes=de.pipes[0]),he.emit("unpipe",this,Ke)),this},R.prototype.on=function(he,de){var Ke=u.prototype.on.call(this,he,de);if(he==="data")this._readableState.flowing!==!1&&this.resume();else if(he==="readable"){var le=this._readableState;le.endEmitted||le.readableListening||(le.readableListening=le.needReadable=!0,le.emittedReadable=!1,le.reading?le.length&&w(this):s.nextTick(F,this))}return Ke},R.prototype.addListener=R.prototype.on,R.prototype.resume=function(){var he=this._readableState;return he.flowing||(p("resume"),he.flowing=!0,Y(this,he)),this},R.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},R.prototype.wrap=function(he){var de=this,Ke=this._readableState,le=!1;for(var Ce in he.on("end",function(){if(p("wrapped end"),Ke.decoder&&!Ke.ended){var Z=Ke.decoder.end();Z&&Z.length&&de.push(Z)}de.push(null)}),he.on("data",function(Z){p("wrapped data"),Ke.decoder&&(Z=Ke.decoder.write(Z)),Ke.objectMode&&Z==null||(Ke.objectMode||Z&&Z.length)&&(de.push(Z)||(le=!0,he.pause()))}),he)this[Ce]===void 0&&typeof he[Ce]=="function"&&(this[Ce]=function(Z){return function(){return he[Z].apply(he,arguments)}}(Ce));for(var At=0;At<I.length;At++)he.on(I[At],this.emit.bind(this,I[At]));return this._read=function(Z){p("wrapped _read",Z),le&&(le=!1,he.resume())},this},Object.defineProperty(R.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),R._fromList=ue}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,events:422,inherits:440,isarray:506,"process-nextick-args":466,"safe-buffer":520,"string_decoder/":521,util:188}],511:[function(e,r,t){r.exports=o;var n=e("./_stream_duplex"),a=Object.create(e("core-util-is"));function s(u,l){var A=this._transformState;A.transforming=!1;var h=A.writecb;if(!h)return this.emit("error",new Error("write callback called multiple times"));A.writechunk=null,A.writecb=null,l!=null&&this.push(l),h(u);var f=this._readableState;f.reading=!1,(f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}function o(u){if(!(this instanceof o))return new o(u);n.call(this,u),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,u&&(typeof u.transform=="function"&&(this._transform=u.transform),typeof u.flush=="function"&&(this._flush=u.flush)),this.on("prefinish",i)}function i(){var u=this;typeof this._flush=="function"?this._flush(function(l,A){c(u,l,A)}):c(this,null,null)}function c(u,l,A){if(l)return u.emit("error",l);if(A!=null&&u.push(A),u._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(u._transformState.transforming)throw new Error("Calling transform done when still transforming");return u.push(null)}a.inherits=e("inherits"),a.inherits(o,n),o.prototype.push=function(u,l){return this._transformState.needTransform=!1,n.prototype.push.call(this,u,l)},o.prototype._transform=function(u,l,A){throw new Error("_transform() is not implemented")},o.prototype._write=function(u,l,A){var h=this._transformState;if(h.writecb=A,h.writechunk=u,h.writeencoding=l,!h.transforming){var f=this._readableState;(h.needTransform||f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}},o.prototype._read=function(u){var l=this._transformState;l.writechunk!==null&&l.writecb&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0},o.prototype._destroy=function(u,l){var A=this;n.prototype._destroy.call(this,u,function(h){l(h),A.emit("close")})}},{"./_stream_duplex":508,"core-util-is":383,inherits:440}],512:[function(e,r,t){(function(n,a,s){(function(){var o=e("process-nextick-args");function i(M){var z=this;this.next=null,this.entry=null,this.finish=function(){Y(z,M)}}r.exports=E;var c,u=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?s:o.nextTick;E.WritableState=I;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var A={deprecate:e("util-deprecate")},h=e("./internal/streams/stream"),f=e("safe-buffer").Buffer,d=(a!==void 0?a:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function g(M){return f.from(M)}function p(M){return f.isBuffer(M)||M instanceof d}var m,v=e("./internal/streams/destroy");function y(){}function I(M,z){c=c||e("./_stream_duplex"),M=M||{};var ue=z instanceof c;this.objectMode=!!M.objectMode,ue&&(this.objectMode=this.objectMode||!!M.writableObjectMode);var ae=M.highWaterMark,Ne=M.writableHighWaterMark,Ge=this.objectMode?16:16384;this.highWaterMark=ae||ae===0?ae:ue&&(Ne||Ne===0)?Ne:Ge,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ye=M.decodeStrings===!1;this.decodeStrings=!Ye,this.defaultEncoding=M.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ae){x(z,Ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function E(M){if(c=c||e("./_stream_duplex"),!(m.call(E,this)||this instanceof c))return new E(M);this._writableState=new I(M,this),this.writable=!0,M&&(typeof M.write=="function"&&(this._write=M.write),typeof M.writev=="function"&&(this._writev=M.writev),typeof M.destroy=="function"&&(this._destroy=M.destroy),typeof M.final=="function"&&(this._final=M.final)),h.call(this)}function k(M,z){var ue=new Error("write after end");M.emit("error",ue),o.nextTick(z,ue)}function R(M,z,ue,ae){var Ne=!0,Ge=!1;return ue===null?Ge=new TypeError("May not write null values to stream"):typeof ue=="string"||ue===void 0||z.objectMode||(Ge=new TypeError("Invalid non-string/buffer chunk")),Ge&&(M.emit("error",Ge),o.nextTick(ae,Ge),Ne=!1),Ne}function T(M,z,ue){return M.objectMode||M.decodeStrings===!1||typeof z!="string"||(z=f.from(z,ue)),z}function j(M,z,ue,ae,Ne,Ge){if(!ue){var Ye=T(z,ae,Ne);ae!==Ye&&(ue=!0,Ne="buffer",ae=Ye)}var Ae=z.objectMode?1:ae.length;z.length+=Ae;var te=z.length<z.highWaterMark;if(te||(z.needDrain=!0),z.writing||z.corked){var he=z.lastBufferedRequest;z.lastBufferedRequest={chunk:ae,encoding:Ne,isBuf:ue,callback:Ge,next:null},he?he.next=z.lastBufferedRequest:z.bufferedRequest=z.lastBufferedRequest,z.bufferedRequestCount+=1}else W(M,z,!1,Ae,ae,Ne,Ge);return te}function W(M,z,ue,ae,Ne,Ge,Ye){z.writelen=ae,z.writecb=Ye,z.writing=!0,z.sync=!0,ue?M._writev(Ne,z.onwrite):M._write(Ne,Ge,z.onwrite),z.sync=!1}function H(M,z,ue,ae,Ne){--z.pendingcb,ue?(o.nextTick(Ne,ae),o.nextTick(O,M,z),M._writableState.errorEmitted=!0,M.emit("error",ae)):(Ne(ae),M._writableState.errorEmitted=!0,M.emit("error",ae),O(M,z))}function X(M){M.writing=!1,M.writecb=null,M.length-=M.writelen,M.writelen=0}function x(M,z){var ue=M._writableState,ae=ue.sync,Ne=ue.writecb;if(X(ue),z)H(M,ue,ae,z,Ne);else{var Ge=Q(ue);Ge||ue.corked||ue.bufferProcessing||!ue.bufferedRequest||w(M,ue),ae?u(N,M,ue,Ge,Ne):N(M,ue,Ge,Ne)}}function N(M,z,ue,ae){ue||C(M,z),z.pendingcb--,ae(),O(M,z)}function C(M,z){z.length===0&&z.needDrain&&(z.needDrain=!1,M.emit("drain"))}function w(M,z){z.bufferProcessing=!0;var ue=z.bufferedRequest;if(M._writev&&ue&&ue.next){var ae=z.bufferedRequestCount,Ne=new Array(ae),Ge=z.corkedRequestsFree;Ge.entry=ue;for(var Ye=0,Ae=!0;ue;)Ne[Ye]=ue,ue.isBuf||(Ae=!1),ue=ue.next,Ye+=1;Ne.allBuffers=Ae,W(M,z,!0,z.length,Ne,"",Ge.finish),z.pendingcb++,z.lastBufferedRequest=null,Ge.next?(z.corkedRequestsFree=Ge.next,Ge.next=null):z.corkedRequestsFree=new i(z),z.bufferedRequestCount=0}else{for(;ue;){var te=ue.chunk,he=ue.encoding,de=ue.callback;if(W(M,z,!1,z.objectMode?1:te.length,te,he,de),ue=ue.next,z.bufferedRequestCount--,z.writing)break}ue===null&&(z.lastBufferedRequest=null)}z.bufferedRequest=ue,z.bufferProcessing=!1}function Q(M){return M.ending&&M.length===0&&M.bufferedRequest===null&&!M.finished&&!M.writing}function B(M,z){M._final(function(ue){z.pendingcb--,ue&&M.emit("error",ue),z.prefinished=!0,M.emit("prefinish"),O(M,z)})}function S(M,z){z.prefinished||z.finalCalled||(typeof M._final=="function"?(z.pendingcb++,z.finalCalled=!0,o.nextTick(B,M,z)):(z.prefinished=!0,M.emit("prefinish")))}function O(M,z){var ue=Q(z);return ue&&(S(M,z),z.pendingcb===0&&(z.finished=!0,M.emit("finish"))),ue}function F(M,z,ue){z.ending=!0,O(M,z),ue&&(z.finished?o.nextTick(ue):M.once("finish",ue)),z.ended=!0,M.writable=!1}function Y(M,z,ue){var ae=M.entry;for(M.entry=null;ae;){var Ne=ae.callback;z.pendingcb--,Ne(ue),ae=ae.next}z.corkedRequestsFree.next=M}l.inherits(E,h),I.prototype.getBuffer=function(){for(var M=this.bufferedRequest,z=[];M;)z.push(M),M=M.next;return z},function(){try{Object.defineProperty(I.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(M){return!!m.call(this,M)||this===E&&M&&M._writableState instanceof I}})):m=function(M){return M instanceof this},E.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},E.prototype.write=function(M,z,ue){var ae=this._writableState,Ne=!1,Ge=!ae.objectMode&&p(M);return Ge&&!f.isBuffer(M)&&(M=g(M)),typeof z=="function"&&(ue=z,z=null),Ge?z="buffer":z||(z=ae.defaultEncoding),typeof ue!="function"&&(ue=y),ae.ended?k(this,ue):(Ge||R(this,ae,M,ue))&&(ae.pendingcb++,Ne=j(this,ae,Ge,M,z,ue)),Ne},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var M=this._writableState;M.corked&&(M.corked--,M.writing||M.corked||M.bufferProcessing||!M.bufferedRequest||w(this,M))},E.prototype.setDefaultEncoding=function(M){if(typeof M=="string"&&(M=M.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((M+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+M);return this._writableState.defaultEncoding=M,this},Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(M,z,ue){ue(new Error("_write() is not implemented"))},E.prototype._writev=null,E.prototype.end=function(M,z,ue){var ae=this._writableState;typeof M=="function"?(ue=M,M=null,z=null):typeof z=="function"&&(ue=z,z=null),M!=null&&this.write(M,z),ae.corked&&(ae.corked=1,this.uncork()),ae.ending||F(this,ae,ue)},Object.defineProperty(E.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(M){this._writableState&&(this._writableState.destroyed=M)}}),E.prototype.destroy=v.destroy,E.prototype._undestroy=v.undestroy,E.prototype._destroy=function(M,z){this.end(),z(M)}}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{},e("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":383,inherits:440,"process-nextick-args":466,"safe-buffer":520,timers:523,"util-deprecate":524}],513:[function(e,r,t){function n(i,c){if(!(i instanceof c))throw new TypeError("Cannot call a class as a function")}var a=e("safe-buffer").Buffer,s=e("util");function o(i,c,u){i.copy(c,u)}r.exports=function(){function i(){n(this,i),this.head=null,this.tail=null,this.length=0}return i.prototype.push=function(c){var u={data:c,next:null};this.length>0?this.tail.next=u:this.head=u,this.tail=u,++this.length},i.prototype.unshift=function(c){var u={data:c,next:this.head};this.length===0&&(this.tail=u),this.head=u,++this.length},i.prototype.shift=function(){if(this.length!==0){var c=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,c}},i.prototype.clear=function(){this.head=this.tail=null,this.length=0},i.prototype.join=function(c){if(this.length===0)return"";for(var u=this.head,l=""+u.data;u=u.next;)l+=c+u.data;return l},i.prototype.concat=function(c){if(this.length===0)return a.alloc(0);for(var u=a.allocUnsafe(c>>>0),l=this.head,A=0;l;)o(l.data,u,A),A+=l.data.length,l=l.next;return u},i}(),s&&s.inspect&&s.inspect.custom&&(r.exports.prototype[s.inspect.custom]=function(){var i=s.inspect({length:this.length});return this.constructor.name+" "+i})},{"safe-buffer":520,util:188}],514:[function(e,r,t){var n=e("process-nextick-args");function a(i,c){var u=this,l=this._readableState&&this._readableState.destroyed,A=this._writableState&&this._writableState.destroyed;return l||A?(c?c(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,i)):n.nextTick(o,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(h){!c&&h?u._writableState?u._writableState.errorEmitted||(u._writableState.errorEmitted=!0,n.nextTick(o,u,h)):n.nextTick(o,u,h):c&&c(h)}),this)}function s(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(i,c){i.emit("error",c)}r.exports={destroy:a,undestroy:s}},{"process-nextick-args":466}],515:[function(e,r,t){arguments[4][490][0].apply(t,arguments)},{dup:490,events:422}],516:[function(e,r,t){r.exports=e("./readable").PassThrough},{"./readable":517}],517:[function(e,r,t){(t=r.exports=e("./lib/_stream_readable.js")).Stream=t,t.Readable=t,t.Writable=e("./lib/_stream_writable.js"),t.Duplex=e("./lib/_stream_duplex.js"),t.Transform=e("./lib/_stream_transform.js"),t.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(e,r,t){r.exports=e("./readable").Transform},{"./readable":517}],519:[function(e,r,t){r.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(e,r,t){arguments[4][217][0].apply(t,arguments)},{buffer:220,dup:217}],521:[function(e,r,t){arguments[4][218][0].apply(t,arguments)},{dup:218,"safe-buffer":520}],522:[function(e,r,t){arguments[4][218][0].apply(t,arguments)},{dup:218,"safe-buffer":494}],523:[function(e,r,t){(function(n,a){(function(){var s=e("process/browser.js").nextTick,o=Function.prototype.apply,i=Array.prototype.slice,c={},u=0;function l(A,h){this._id=A,this._clearFn=h}t.setTimeout=function(){return new l(o.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new l(o.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(A){A.close()},l.prototype.unref=l.prototype.ref=function(){},l.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(A,h){clearTimeout(A._idleTimeoutId),A._idleTimeout=h},t.unenroll=function(A){clearTimeout(A._idleTimeoutId),A._idleTimeout=-1},t._unrefActive=t.active=function(A){clearTimeout(A._idleTimeoutId);var h=A._idleTimeout;h>=0&&(A._idleTimeoutId=setTimeout(function(){A._onTimeout&&A._onTimeout()},h))},t.setImmediate=typeof n=="function"?n:function(A){var h=u++,f=!(arguments.length<2)&&i.call(arguments,1);return c[h]=!0,s(function(){c[h]&&(f?A.apply(null,f):A.call(null),t.clearImmediate(h))}),h},t.clearImmediate=typeof a=="function"?a:function(A){delete c[A]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":467,timers:523}],524:[function(e,r,t){(function(n){(function(){function a(o,i){if(s("noDeprecation"))return o;var c=!1;function u(){if(!c){if(s("throwDeprecation"))throw new Error(i);s("traceDeprecation")?console.trace(i):console.warn(i),c=!0}return o.apply(this,arguments)}return u}function s(o){try{if(!n.localStorage)return!1}catch{return!1}var i=n.localStorage[o];return i!=null&&String(i).toLowerCase()==="true"}r.exports=a}).call(this)}).call(this,mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],525:[function(e,r,t){typeof Object.create=="function"?r.exports=function(n,a){n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:r.exports=function(n,a){n.super_=a;var s=function(){};s.prototype=a.prototype,n.prototype=new s,n.prototype.constructor=n}},{}],526:[function(e,r,t){r.exports=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"}},{}],527:[function(e,r,t){(function(n,a){(function(){var s=/%[sdj%]/g;t.format=function(F){if(!R(F)){for(var Y=[],M=0;M<arguments.length;M++)Y.push(c(arguments[M]));return Y.join(" ")}M=1;for(var z=arguments,ue=z.length,ae=String(F).replace(s,function(Ge){if(Ge==="%%")return"%";if(M>=ue)return Ge;switch(Ge){case"%s":return String(z[M++]);case"%d":return Number(z[M++]);case"%j":try{return JSON.stringify(z[M++])}catch{return"[Circular]"}default:return Ge}}),Ne=z[M];M<ue;Ne=z[++M])I(Ne)||!H(Ne)?ae+=" "+Ne:ae+=" "+c(Ne);return ae},t.deprecate=function(F,Y){if(j(a.process))return function(){return t.deprecate(F,Y).apply(this,arguments)};if(n.noDeprecation===!0)return F;var M=!1;function z(){if(!M){if(n.throwDeprecation)throw new Error(Y);n.traceDeprecation?console.trace(Y):console.error(Y),M=!0}return F.apply(this,arguments)}return z};var o,i={};function c(F,Y){var M={seen:[],stylize:l};return arguments.length>=3&&(M.depth=arguments[2]),arguments.length>=4&&(M.colors=arguments[3]),y(Y)?M.showHidden=Y:Y&&t._extend(M,Y),j(M.showHidden)&&(M.showHidden=!1),j(M.depth)&&(M.depth=2),j(M.colors)&&(M.colors=!1),j(M.customInspect)&&(M.customInspect=!0),M.colors&&(M.stylize=u),h(M,F,M.depth)}function u(F,Y){var M=c.styles[Y];return M?"\x1B["+c.colors[M][0]+"m"+F+"\x1B["+c.colors[M][1]+"m":F}function l(F,Y){return F}function A(F){var Y={};return F.forEach(function(M,z){Y[M]=!0}),Y}function h(F,Y,M){if(F.customInspect&&Y&&N(Y.inspect)&&Y.inspect!==t.inspect&&(!Y.constructor||Y.constructor.prototype!==Y)){var z=Y.inspect(M,F);return R(z)||(z=h(F,z,M)),z}var ue=f(F,Y);if(ue)return ue;var ae=Object.keys(Y),Ne=A(ae);if(F.showHidden&&(ae=Object.getOwnPropertyNames(Y)),x(Y)&&(ae.indexOf("message")>=0||ae.indexOf("description")>=0))return d(Y);if(ae.length===0){if(N(Y)){var Ge=Y.name?": "+Y.name:"";return F.stylize("[Function"+Ge+"]","special")}if(W(Y))return F.stylize(RegExp.prototype.toString.call(Y),"regexp");if(X(Y))return F.stylize(Date.prototype.toString.call(Y),"date");if(x(Y))return d(Y)}var Ye,Ae="",te=!1,he=["{","}"];return v(Y)&&(te=!0,he=["[","]"]),N(Y)&&(Ae=" [Function"+(Y.name?": "+Y.name:"")+"]"),W(Y)&&(Ae=" "+RegExp.prototype.toString.call(Y)),X(Y)&&(Ae=" "+Date.prototype.toUTCString.call(Y)),x(Y)&&(Ae=" "+d(Y)),ae.length!==0||te&&Y.length!=0?M<0?W(Y)?F.stylize(RegExp.prototype.toString.call(Y),"regexp"):F.stylize("[Object]","special"):(F.seen.push(Y),Ye=te?g(F,Y,M,Ne,ae):ae.map(function(de){return p(F,Y,M,Ne,de,te)}),F.seen.pop(),m(Ye,Ae,he)):he[0]+Ae+he[1]}function f(F,Y){if(j(Y))return F.stylize("undefined","undefined");if(R(Y)){var M="'"+JSON.stringify(Y).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return F.stylize(M,"string")}return k(Y)?F.stylize(""+Y,"number"):y(Y)?F.stylize(""+Y,"boolean"):I(Y)?F.stylize("null","null"):void 0}function d(F){return"["+Error.prototype.toString.call(F)+"]"}function g(F,Y,M,z,ue){for(var ae=[],Ne=0,Ge=Y.length;Ne<Ge;++Ne)O(Y,String(Ne))?ae.push(p(F,Y,M,z,String(Ne),!0)):ae.push("");return ue.forEach(function(Ye){Ye.match(/^\d+$/)||ae.push(p(F,Y,M,z,Ye,!0))}),ae}function p(F,Y,M,z,ue,ae){var Ne,Ge,Ye;if((Ye=Object.getOwnPropertyDescriptor(Y,ue)||{value:Y[ue]}).get?Ge=Ye.set?F.stylize("[Getter/Setter]","special"):F.stylize("[Getter]","special"):Ye.set&&(Ge=F.stylize("[Setter]","special")),O(z,ue)||(Ne="["+ue+"]"),Ge||(F.seen.indexOf(Ye.value)<0?(Ge=I(M)?h(F,Ye.value,null):h(F,Ye.value,M-1)).indexOf(`
  108. `)>-1&&(Ge=ae?Ge.split(`
  109. `).map(function(Ae){return" "+Ae}).join(`
  110. `).substr(2):`
  111. `+Ge.split(`
  112. `).map(function(Ae){return" "+Ae}).join(`
  113. `)):Ge=F.stylize("[Circular]","special")),j(Ne)){if(ae&&ue.match(/^\d+$/))return Ge;(Ne=JSON.stringify(""+ue)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ne=Ne.substr(1,Ne.length-2),Ne=F.stylize(Ne,"name")):(Ne=Ne.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ne=F.stylize(Ne,"string"))}return Ne+": "+Ge}function m(F,Y,M){return F.reduce(function(z,ue){return ue.indexOf(`
  114. `),z+ue.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?M[0]+(Y===""?"":Y+`
  115. `)+" "+F.join(`,
  116. `)+" "+M[1]:M[0]+Y+" "+F.join(", ")+" "+M[1]}function v(F){return Array.isArray(F)}function y(F){return typeof F=="boolean"}function I(F){return F===null}function E(F){return F==null}function k(F){return typeof F=="number"}function R(F){return typeof F=="string"}function T(F){return typeof F=="symbol"}function j(F){return F===void 0}function W(F){return H(F)&&w(F)==="[object RegExp]"}function H(F){return typeof F=="object"&&F!==null}function X(F){return H(F)&&w(F)==="[object Date]"}function x(F){return H(F)&&(w(F)==="[object Error]"||F instanceof Error)}function N(F){return typeof F=="function"}function C(F){return F===null||typeof F=="boolean"||typeof F=="number"||typeof F=="string"||typeof F=="symbol"||F===void 0}function w(F){return Object.prototype.toString.call(F)}function Q(F){return F<10?"0"+F.toString(10):F.toString(10)}t.debuglog=function(F){if(j(o)&&(o=n.env.NODE_DEBUG||""),F=F.toUpperCase(),!i[F])if(new RegExp("\\b"+F+"\\b","i").test(o)){var Y=n.pid;i[F]=function(){var M=t.format.apply(t,arguments);console.error("%s %d: %s",F,Y,M)}}else i[F]=function(){};return i[F]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=v,t.isBoolean=y,t.isNull=I,t.isNullOrUndefined=E,t.isNumber=k,t.isString=R,t.isSymbol=T,t.isUndefined=j,t.isRegExp=W,t.isObject=H,t.isDate=X,t.isError=x,t.isFunction=N,t.isPrimitive=C,t.isBuffer=e("./support/isBuffer");var B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function S(){var F=new Date,Y=[Q(F.getHours()),Q(F.getMinutes()),Q(F.getSeconds())].join(":");return[F.getDate(),B[F.getMonth()],Y].join(" ")}function O(F,Y){return Object.prototype.hasOwnProperty.call(F,Y)}t.log=function(){console.log("%s - %s",S(),t.format.apply(t,arguments))},t.inherits=e("inherits"),t._extend=function(F,Y){if(!Y||!H(Y))return F;for(var M=Object.keys(Y),z=M.length;z--;)F[M[z]]=Y[M[z]];return F}}).call(this)}).call(this,e("_process"),mi!==void 0?mi:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return A.default}});var n=h(e("./v1.js")),a=h(e("./v3.js")),s=h(e("./v4.js")),o=h(e("./v5.js")),i=h(e("./nil.js")),c=h(e("./version.js")),u=h(e("./validate.js")),l=h(e("./stringify.js")),A=h(e("./parse.js"));function h(f){return f&&f.__esModule?f:{default:f}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(e,r,t){function n(p){if(typeof p=="string"){var m=unescape(encodeURIComponent(p));p=new Uint8Array(m.length);for(var v=0;v<m.length;++v)p[v]=m.charCodeAt(v)}return a(o(i(p),8*p.length))}function a(p){for(var m=[],v=32*p.length,y="0123456789abcdef",I=0;I<v;I+=8){var E=p[I>>5]>>>I%32&255,k=parseInt(y.charAt(E>>>4&15)+y.charAt(15&E),16);m.push(k)}return m}function s(p){return 14+(p+64>>>9<<4)+1}function o(p,m){p[m>>5]|=128<<m%32,p[s(m)-1]=m;for(var v=1732584193,y=-271733879,I=-1732584194,E=271733878,k=0;k<p.length;k+=16){var R=v,T=y,j=I,W=E;v=A(v,y,I,E,p[k],7,-680876936),E=A(E,v,y,I,p[k+1],12,-389564586),I=A(I,E,v,y,p[k+2],17,606105819),y=A(y,I,E,v,p[k+3],22,-1044525330),v=A(v,y,I,E,p[k+4],7,-176418897),E=A(E,v,y,I,p[k+5],12,1200080426),I=A(I,E,v,y,p[k+6],17,-1473231341),y=A(y,I,E,v,p[k+7],22,-45705983),v=A(v,y,I,E,p[k+8],7,1770035416),E=A(E,v,y,I,p[k+9],12,-1958414417),I=A(I,E,v,y,p[k+10],17,-42063),y=A(y,I,E,v,p[k+11],22,-1990404162),v=A(v,y,I,E,p[k+12],7,1804603682),E=A(E,v,y,I,p[k+13],12,-40341101),I=A(I,E,v,y,p[k+14],17,-1502002290),v=h(v,y=A(y,I,E,v,p[k+15],22,1236535329),I,E,p[k+1],5,-165796510),E=h(E,v,y,I,p[k+6],9,-1069501632),I=h(I,E,v,y,p[k+11],14,643717713),y=h(y,I,E,v,p[k],20,-373897302),v=h(v,y,I,E,p[k+5],5,-701558691),E=h(E,v,y,I,p[k+10],9,38016083),I=h(I,E,v,y,p[k+15],14,-660478335),y=h(y,I,E,v,p[k+4],20,-405537848),v=h(v,y,I,E,p[k+9],5,568446438),E=h(E,v,y,I,p[k+14],9,-1019803690),I=h(I,E,v,y,p[k+3],14,-187363961),y=h(y,I,E,v,p[k+8],20,1163531501),v=h(v,y,I,E,p[k+13],5,-1444681467),E=h(E,v,y,I,p[k+2],9,-51403784),I=h(I,E,v,y,p[k+7],14,1735328473),v=f(v,y=h(y,I,E,v,p[k+12],20,-1926607734),I,E,p[k+5],4,-378558),E=f(E,v,y,I,p[k+8],11,-2022574463),I=f(I,E,v,y,p[k+11],16,1839030562),y=f(y,I,E,v,p[k+14],23,-35309556),v=f(v,y,I,E,p[k+1],4,-1530992060),E=f(E,v,y,I,p[k+4],11,1272893353),I=f(I,E,v,y,p[k+7],16,-155497632),y=f(y,I,E,v,p[k+10],23,-1094730640),v=f(v,y,I,E,p[k+13],4,681279174),E=f(E,v,y,I,p[k],11,-358537222),I=f(I,E,v,y,p[k+3],16,-722521979),y=f(y,I,E,v,p[k+6],23,76029189),v=f(v,y,I,E,p[k+9],4,-640364487),E=f(E,v,y,I,p[k+12],11,-421815835),I=f(I,E,v,y,p[k+15],16,530742520),v=d(v,y=f(y,I,E,v,p[k+2],23,-995338651),I,E,p[k],6,-198630844),E=d(E,v,y,I,p[k+7],10,1126891415),I=d(I,E,v,y,p[k+14],15,-1416354905),y=d(y,I,E,v,p[k+5],21,-57434055),v=d(v,y,I,E,p[k+12],6,1700485571),E=d(E,v,y,I,p[k+3],10,-1894986606),I=d(I,E,v,y,p[k+10],15,-1051523),y=d(y,I,E,v,p[k+1],21,-2054922799),v=d(v,y,I,E,p[k+8],6,1873313359),E=d(E,v,y,I,p[k+15],10,-30611744),I=d(I,E,v,y,p[k+6],15,-1560198380),y=d(y,I,E,v,p[k+13],21,1309151649),v=d(v,y,I,E,p[k+4],6,-145523070),E=d(E,v,y,I,p[k+11],10,-1120210379),I=d(I,E,v,y,p[k+2],15,718787259),y=d(y,I,E,v,p[k+9],21,-343485551),v=c(v,R),y=c(y,T),I=c(I,j),E=c(E,W)}return[v,y,I,E]}function i(p){if(p.length===0)return[];for(var m=8*p.length,v=new Uint32Array(s(m)),y=0;y<m;y+=8)v[y>>5]|=(255&p[y/8])<<y%32;return v}function c(p,m){var v=(65535&p)+(65535&m);return(p>>16)+(m>>16)+(v>>16)<<16|65535&v}function u(p,m){return p<<m|p>>>32-m}function l(p,m,v,y,I,E){return c(u(c(c(m,p),c(y,E)),I),v)}function A(p,m,v,y,I,E,k){return l(m&v|~m&y,p,m,I,E,k)}function h(p,m,v,y,I,E,k){return l(m&y|v&~y,p,m,I,E,k)}function f(p,m,v,y,I,E,k){return l(m^v^y,p,m,I,E,k)}function d(p,m,v,y,I,E,k){return l(v^(m|~y),p,m,I,E,k)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var g=n;t.default=g},{}],530:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="00000000-0000-0000-0000-000000000000";t.default=n},{}],531:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(e("./validate.js"));function a(i){return i&&i.__esModule?i:{default:i}}function s(i){if(!(0,n.default)(i))throw TypeError("Invalid UUID");var c,u=new Uint8Array(16);return u[0]=(c=parseInt(i.slice(0,8),16))>>>24,u[1]=c>>>16&255,u[2]=c>>>8&255,u[3]=255&c,u[4]=(c=parseInt(i.slice(9,13),16))>>>8,u[5]=255&c,u[6]=(c=parseInt(i.slice(14,18),16))>>>8,u[7]=255&c,u[8]=(c=parseInt(i.slice(19,23),16))>>>8,u[9]=255&c,u[10]=(c=parseInt(i.slice(24,36),16))/1099511627776&255,u[11]=c/4294967296&255,u[12]=c>>>24&255,u[13]=c>>>16&255,u[14]=c>>>8&255,u[15]=255&c,u}var o=s;t.default=o},{"./validate.js":541}],532:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;t.default=n},{}],533:[function(e,r,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var a=new Uint8Array(16);function s(){if(!n&&!(n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}},{}],534:[function(e,r,t){function n(i,c,u,l){switch(i){case 0:return c&u^~c&l;case 1:case 3:return c^u^l;case 2:return c&u^c&l^u&l}}function a(i,c){return i<<c|i>>>32-c}function s(i){var c=[1518500249,1859775393,2400959708,3395469782],u=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof i=="string"){var l=unescape(encodeURIComponent(i));i=[];for(var A=0;A<l.length;++A)i.push(l.charCodeAt(A))}else Array.isArray(i)||(i=Array.prototype.slice.call(i));i.push(128);for(var h=i.length/4+2,f=Math.ceil(h/16),d=new Array(f),g=0;g<f;++g){for(var p=new Uint32Array(16),m=0;m<16;++m)p[m]=i[64*g+4*m]<<24|i[64*g+4*m+1]<<16|i[64*g+4*m+2]<<8|i[64*g+4*m+3];d[g]=p}d[f-1][14]=8*(i.length-1)/Math.pow(2,32),d[f-1][14]=Math.floor(d[f-1][14]),d[f-1][15]=8*(i.length-1)&4294967295;for(var v=0;v<f;++v){for(var y=new Uint32Array(80),I=0;I<16;++I)y[I]=d[v][I];for(var E=16;E<80;++E)y[E]=a(y[E-3]^y[E-8]^y[E-14]^y[E-16],1);for(var k=u[0],R=u[1],T=u[2],j=u[3],W=u[4],H=0;H<80;++H){var X=Math.floor(H/20),x=a(k,5)+n(X,R,T,j)+W+c[X]+y[H]>>>0;W=j,j=T,T=a(R,30)>>>0,R=k,k=x}u[0]=u[0]+k>>>0,u[1]=u[1]+R>>>0,u[2]=u[2]+T>>>0,u[3]=u[3]+j>>>0,u[4]=u[4]+W>>>0}return[u[0]>>24&255,u[0]>>16&255,u[0]>>8&255,255&u[0],u[1]>>24&255,u[1]>>16&255,u[1]>>8&255,255&u[1],u[2]>>24&255,u[2]>>16&255,u[2]>>8&255,255&u[2],u[3]>>24&255,u[3]>>16&255,u[3]>>8&255,255&u[3],u[4]>>24&255,u[4]>>16&255,u[4]>>8&255,255&u[4]]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s;t.default=o},{}],535:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(e("./validate.js"));function a(u){return u&&u.__esModule?u:{default:u}}for(var s=[],o=0;o<256;++o)s.push((o+256).toString(16).substr(1));function i(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A=(s[u[l+0]]+s[u[l+1]]+s[u[l+2]]+s[u[l+3]]+"-"+s[u[l+4]]+s[u[l+5]]+"-"+s[u[l+6]]+s[u[l+7]]+"-"+s[u[l+8]]+s[u[l+9]]+"-"+s[u[l+10]]+s[u[l+11]]+s[u[l+12]]+s[u[l+13]]+s[u[l+14]]+s[u[l+15]]).toLowerCase();if(!(0,n.default)(A))throw TypeError("Stringified UUID is invalid");return A}var c=i;t.default=c},{"./validate.js":541}],536:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a,s=i(e("./rng.js")),o=i(e("./stringify.js"));function i(h){return h&&h.__esModule?h:{default:h}}var c=0,u=0;function l(h,f,d){var g=f&&d||0,p=f||new Array(16),m=(h=h||{}).node||n,v=h.clockseq!==void 0?h.clockseq:a;if(m==null||v==null){var y=h.random||(h.rng||s.default)();m==null&&(m=n=[1|y[0],y[1],y[2],y[3],y[4],y[5]]),v==null&&(v=a=16383&(y[6]<<8|y[7]))}var I=h.msecs!==void 0?h.msecs:Date.now(),E=h.nsecs!==void 0?h.nsecs:u+1,k=I-c+(E-u)/1e4;if(k<0&&h.clockseq===void 0&&(v=v+1&16383),(k<0||I>c)&&h.nsecs===void 0&&(E=0),E>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=I,u=E,a=v;var R=(1e4*(268435455&(I+=122192928e5))+E)%4294967296;p[g++]=R>>>24&255,p[g++]=R>>>16&255,p[g++]=R>>>8&255,p[g++]=255&R;var T=I/4294967296*1e4&268435455;p[g++]=T>>>8&255,p[g++]=255&T,p[g++]=T>>>24&15|16,p[g++]=T>>>16&255,p[g++]=v>>>8|128,p[g++]=255&v;for(var j=0;j<6;++j)p[g+j]=m[j];return f||(0,o.default)(p)}var A=l;t.default=A},{"./rng.js":533,"./stringify.js":535}],537:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(e("./v35.js")),a=s(e("./md5.js"));function s(i){return i&&i.__esModule?i:{default:i}}var o=(0,n.default)("v3",48,a.default);t.default=o},{"./md5.js":529,"./v35.js":538}],538:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=u,t.URL=t.DNS=void 0;var n=s(e("./stringify.js")),a=s(e("./parse.js"));function s(l){return l&&l.__esModule?l:{default:l}}function o(l){l=unescape(encodeURIComponent(l));for(var A=[],h=0;h<l.length;++h)A.push(l.charCodeAt(h));return A}var i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=i;var c="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function u(l,A,h){function f(d,g,p,m){if(typeof d=="string"&&(d=o(d)),typeof g=="string"&&(g=(0,a.default)(g)),g.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var v=new Uint8Array(16+d.length);if(v.set(g),v.set(d,g.length),(v=h(v))[6]=15&v[6]|A,v[8]=63&v[8]|128,p){m=m||0;for(var y=0;y<16;++y)p[m+y]=v[y];return p}return(0,n.default)(v)}try{f.name=l}catch{}return f.DNS=i,f.URL=c,f}t.URL=c},{"./parse.js":531,"./stringify.js":535}],539:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(e("./rng.js")),a=s(e("./stringify.js"));function s(c){return c&&c.__esModule?c:{default:c}}function o(c,u,l){var A=(c=c||{}).random||(c.rng||n.default)();if(A[6]=15&A[6]|64,A[8]=63&A[8]|128,u){l=l||0;for(var h=0;h<16;++h)u[l+h]=A[h];return u}return(0,a.default)(A)}var i=o;t.default=i},{"./rng.js":533,"./stringify.js":535}],540:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(e("./v35.js")),a=s(e("./sha1.js"));function s(i){return i&&i.__esModule?i:{default:i}}var o=(0,n.default)("v5",80,a.default);t.default=o},{"./sha1.js":534,"./v35.js":538}],541:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(e("./regex.js"));function a(i){return i&&i.__esModule?i:{default:i}}function s(i){return typeof i=="string"&&n.default.test(i)}var o=s;t.default=o},{"./regex.js":532}],542:[function(e,r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(e("./validate.js"));function a(i){return i&&i.__esModule?i:{default:i}}function s(i){if(!(0,n.default)(i))throw TypeError("Invalid UUID");return parseInt(i.substr(14,1),16)}var o=s;t.default=o},{"./validate.js":541}],543:[function(e,r,t){/**
  117. * Character classes and associated utilities for the 5th edition of XML 1.0.
  118. *
  119. * @author Louis-Dominique Dubeau
  120. * @license MIT
  121. * @copyright Louis-Dominique Dubeau
  122. */Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR=`
  123. \r -퟿-�𐀀-􏿿`,t.S=` \r
  124. `,t.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");var n=9,a=10,s=13,o=32;function i(A){return A>=o&&A<=55295||A===a||A===s||A===n||A>=57344&&A<=65533||A>=65536&&A<=1114111}function c(A){return A===o||A===a||A===s||A===n}function u(A){return A>=65&&A<=90||A>=97&&A<=122||A===58||A===95||A===8204||A===8205||A>=192&&A<=214||A>=216&&A<=246||A>=248&&A<=767||A>=880&&A<=893||A>=895&&A<=8191||A>=8304&&A<=8591||A>=11264&&A<=12271||A>=12289&&A<=55295||A>=63744&&A<=64975||A>=65008&&A<=65533||A>=65536&&A<=983039}function l(A){return u(A)||A>=48&&A<=57||A===45||A===46||A===183||A>=768&&A<=879||A>=8255&&A<=8256}t.S_LIST=[o,a,s,n],t.isChar=i,t.isS=c,t.isNameStartChar=u,t.isNameChar=l},{}],544:[function(e,r,t){/**
  125. * Character classes and associated utilities for the 2nd edition of XML 1.1.
  126. *
  127. * @author Louis-Dominique Dubeau
  128. * @license MIT
  129. * @copyright Louis-Dominique Dubeau
  130. */Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR="-퟿-�𐀀-􏿿",t.RESTRICTED_CHAR="-\b\v\f--„†-Ÿ",t.S=` \r
  131. `,t.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",t.NAME_CHAR="-"+t.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.CHAR_RE=new RegExp("^["+t.CHAR+"]$","u"),t.RESTRICTED_CHAR_RE=new RegExp("^["+t.RESTRICTED_CHAR+"]$","u"),t.S_RE=new RegExp("^["+t.S+"]+$","u"),t.NAME_START_CHAR_RE=new RegExp("^["+t.NAME_START_CHAR+"]$","u"),t.NAME_CHAR_RE=new RegExp("^["+t.NAME_CHAR+"]$","u"),t.NAME_RE=new RegExp("^["+t.NAME_START_CHAR+"]["+t.NAME_CHAR+"]*$","u"),t.NMTOKEN_RE=new RegExp("^["+t.NAME_CHAR+"]+$","u");var n=9,a=10,s=13,o=32;function i(f){return f>=1&&f<=55295||f>=57344&&f<=65533||f>=65536&&f<=1114111}function c(f){return f>=1&&f<=8||f===11||f===12||f>=14&&f<=31||f>=127&&f<=132||f>=134&&f<=159}function u(f){return f===9||f===10||f===13||f>31&&f<127||f===133||f>159&&f<=55295||f>=57344&&f<=65533||f>=65536&&f<=1114111}function l(f){return f===o||f===a||f===s||f===n}function A(f){return f>=65&&f<=90||f>=97&&f<=122||f===58||f===95||f===8204||f===8205||f>=192&&f<=214||f>=216&&f<=246||f>=248&&f<=767||f>=880&&f<=893||f>=895&&f<=8191||f>=8304&&f<=8591||f>=11264&&f<=12271||f>=12289&&f<=55295||f>=63744&&f<=64975||f>=65008&&f<=65533||f>=65536&&f<=983039}function h(f){return A(f)||f>=48&&f<=57||f===45||f===46||f===183||f>=768&&f<=879||f>=8255&&f<=8256}t.S_LIST=[o,a,s,n],t.isChar=i,t.isRestrictedChar=c,t.isCharAndNotRestricted=u,t.isS=l,t.isNameStartChar=A,t.isNameChar=h},{}],545:[function(e,r,t){function n(s){return s>=65&&s<=90||s===95||s>=97&&s<=122||s>=192&&s<=214||s>=216&&s<=246||s>=248&&s<=767||s>=880&&s<=893||s>=895&&s<=8191||s>=8204&&s<=8205||s>=8304&&s<=8591||s>=11264&&s<=12271||s>=12289&&s<=55295||s>=63744&&s<=64975||s>=65008&&s<=65533||s>=65536&&s<=983039}function a(s){return n(s)||s===45||s===46||s>=48&&s<=57||s===183||s>=768&&s<=879||s>=8255&&s<=8256}/**
  132. * Character class utilities for XML NS 1.0 edition 3.
  133. *
  134. * @author Louis-Dominique Dubeau
  135. * @license MIT
  136. * @copyright Louis-Dominique Dubeau
  137. */Object.defineProperty(t,"__esModule",{value:!0}),t.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",t.NC_NAME_CHAR="-"+t.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.NC_NAME_START_CHAR_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]$","u"),t.NC_NAME_CHAR_RE=new RegExp("^["+t.NC_NAME_CHAR+"]$","u"),t.NC_NAME_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]["+t.NC_NAME_CHAR+"]*$","u"),t.isNCNameStartChar=n,t.isNCNameChar=a},{}]},{},[15])(15);var _1=k1.exports;function D1(){return(D1=Oi(mn.mark(function e(r,t){return mn.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(t){n.next=2;break}return n.abrupt("return");case 2:t instanceof ArrayBuffer&&(t=new Blob([t])),M2(r,URL.createObjectURL(t));case 4:case"end":return n.stop()}},e)}))).apply(this,arguments)}function M2(e,r){var t=document.createElement("a");t.download=e,t.style.display="none",t.href=r,document.body.appendChild(t),t.click(),document.body.removeChild(t)}function n0(e){return(n0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(e)}var T2=/^\s+/,id=/\s+$/;function On(e,r){if(r=r||{},(e=e||"")instanceof On)return e;if(!(this instanceof On))return new On(e,r);var t=function(n){var a={r:0,g:0,b:0},s=1,o=null,i=null,c=null,u=!1,l=!1;typeof n=="string"&&(n=function(d){d=d.replace(T2,"").replace(id,"").toLowerCase();var g,p=!1;if(Uh[d])d=Uh[d],p=!0;else if(d=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(g=Nc.rgb.exec(d))?{r:g[1],g:g[2],b:g[3]}:(g=Nc.rgba.exec(d))?{r:g[1],g:g[2],b:g[3],a:g[4]}:(g=Nc.hsl.exec(d))?{h:g[1],s:g[2],l:g[3]}:(g=Nc.hsla.exec(d))?{h:g[1],s:g[2],l:g[3],a:g[4]}:(g=Nc.hsv.exec(d))?{h:g[1],s:g[2],v:g[3]}:(g=Nc.hsva.exec(d))?{h:g[1],s:g[2],v:g[3],a:g[4]}:(g=Nc.hex8.exec(d))?{r:ss(g[1]),g:ss(g[2]),b:ss(g[3]),a:O1(g[4]),format:p?"name":"hex8"}:(g=Nc.hex6.exec(d))?{r:ss(g[1]),g:ss(g[2]),b:ss(g[3]),format:p?"name":"hex"}:(g=Nc.hex4.exec(d))?{r:ss(g[1]+""+g[1]),g:ss(g[2]+""+g[2]),b:ss(g[3]+""+g[3]),a:O1(g[4]+""+g[4]),format:p?"name":"hex8"}:(g=Nc.hex3.exec(d))?{r:ss(g[1]+""+g[1]),g:ss(g[2]+""+g[2]),b:ss(g[3]+""+g[3]),format:p?"name":"hex"}:!1}(n)),n0(n)=="object"&&(Su(n.r)&&Su(n.g)&&Su(n.b)?(A=n.r,h=n.g,f=n.b,a={r:255*Pa(A,255),g:255*Pa(h,255),b:255*Pa(f,255)},u=!0,l=String(n.r).substr(-1)==="%"?"prgb":"rgb"):Su(n.h)&&Su(n.s)&&Su(n.v)?(o=jh(n.s),i=jh(n.v),a=function(d,g,p){d=6*Pa(d,360),g=Pa(g,100),p=Pa(p,100);var m=Math.floor(d),v=d-m,y=p*(1-g),I=p*(1-v*g),E=p*(1-(1-v)*g),k=m%6,R=[p,I,y,y,E,p][k],T=[E,p,p,I,y,y][k],j=[y,y,E,p,p,I][k];return{r:255*R,g:255*T,b:255*j}}(n.h,o,i),u=!0,l="hsv"):Su(n.h)&&Su(n.s)&&Su(n.l)&&(o=jh(n.s),c=jh(n.l),a=function(d,g,p){var m,v,y;function I(R,T,j){return j<0&&(j+=1),j>1&&(j-=1),j<1/6?R+6*(T-R)*j:j<.5?T:j<2/3?R+(T-R)*(2/3-j)*6:R}if(d=Pa(d,360),g=Pa(g,100),p=Pa(p,100),g===0)m=v=y=p;else{var E=p<.5?p*(1+g):p+g-p*g,k=2*p-E;m=I(k,E,d+1/3),v=I(k,E,d),y=I(k,E,d-1/3)}return{r:255*m,g:255*v,b:255*y}}(n.h,o,c),u=!0,l="hsl"),n.hasOwnProperty("a")&&(s=n.a));var A,h,f;return s=L1(s),{ok:u,format:n.format||l,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:s}}(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=t.ok}function R1(e,r,t){e=Pa(e,255),r=Pa(r,255),t=Pa(t,255);var n,a,s=Math.max(e,r,t),o=Math.min(e,r,t),i=(s+o)/2;if(s==o)n=a=0;else{var c=s-o;switch(a=i>.5?c/(2-s-o):c/(s+o),s){case e:n=(r-t)/c+(r<t?6:0);break;case r:n=(t-e)/c+2;break;case t:n=(e-r)/c+4}n/=6}return{h:n,s:a,l:i}}function F1(e,r,t){e=Pa(e,255),r=Pa(r,255),t=Pa(t,255);var n,a,s=Math.max(e,r,t),o=Math.min(e,r,t),i=s,c=s-o;if(a=s===0?0:c/s,s==o)n=0;else{switch(s){case e:n=(r-t)/c+(r<t?6:0);break;case r:n=(t-e)/c+2;break;case t:n=(e-r)/c+4}n/=6}return{h:n,s:a,v:i}}function N1(e,r,t,n){var a=[Fc(Math.round(e).toString(16)),Fc(Math.round(r).toString(16)),Fc(Math.round(t).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function M1(e,r,t,n){return[Fc(od(n)),Fc(Math.round(e).toString(16)),Fc(Math.round(r).toString(16)),Fc(Math.round(t).toString(16))].join("")}function L2(e,r){r=r===0?0:r||10;var t=On(e).toHsl();return t.s-=r/100,t.s=ad(t.s),On(t)}function O2(e,r){r=r===0?0:r||10;var t=On(e).toHsl();return t.s+=r/100,t.s=ad(t.s),On(t)}function P2(e){return On(e).desaturate(100)}function G2(e,r){r=r===0?0:r||10;var t=On(e).toHsl();return t.l+=r/100,t.l=ad(t.l),On(t)}function U2(e,r){r=r===0?0:r||10;var t=On(e).toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-r/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-r/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-r/100*255))),On(t)}function j2(e,r){r=r===0?0:r||10;var t=On(e).toHsl();return t.l-=r/100,t.l=ad(t.l),On(t)}function H2(e,r){var t=On(e).toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,On(t)}function Y2(e){var r=On(e).toHsl();return r.h=(r.h+180)%360,On(r)}function T1(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var t=On(e).toHsl(),n=[On(e)],a=360/r,s=1;s<r;s++)n.push(On({h:(t.h+s*a)%360,s:t.s,l:t.l}));return n}function J2(e){var r=On(e).toHsl(),t=r.h;return[On(e),On({h:(t+72)%360,s:r.s,l:r.l}),On({h:(t+216)%360,s:r.s,l:r.l})]}function q2(e,r,t){r=r||6,t=t||30;var n=On(e).toHsl(),a=360/t,s=[On(e)];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,s.push(On(n));return s}function W2(e,r){r=r||6;for(var t=On(e).toHsv(),n=t.h,a=t.s,s=t.v,o=[],i=1/r;r--;)o.push(On({h:n,s:a,v:s})),s=(s+i)%1;return o}On.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,t,n=this.toRgb();return e=n.r/255,r=n.g/255,t=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L1(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=F1(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=F1(this._r,this._g,this._b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.v);return this._a==1?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=R1(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=R1(this._r,this._g,this._b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.l);return this._a==1?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return N1(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(r,t,n,a,s){var o=[Fc(Math.round(r).toString(16)),Fc(Math.round(t).toString(16)),Fc(Math.round(n).toString(16)),Fc(od(a))];return s&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Pa(this._r,255))+"%",g:Math.round(100*Pa(this._g,255))+"%",b:Math.round(100*Pa(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*Pa(this._r,255))+"%, "+Math.round(100*Pa(this._g,255))+"%, "+Math.round(100*Pa(this._b,255))+"%)":"rgba("+Math.round(100*Pa(this._r,255))+"%, "+Math.round(100*Pa(this._g,255))+"%, "+Math.round(100*Pa(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(K2[N1(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+M1(this._r,this._g,this._b,this._a),t=r,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=On(e);t="#"+M1(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+t+")"},toString:function(e){var r=!!e;e=e||this._format;var t=!1,n=this._a<1&&this._a>=0;return r||!n||e!=="hex"&&e!=="hex6"&&e!=="hex3"&&e!=="hex4"&&e!=="hex8"&&e!=="name"?(e==="rgb"&&(t=this.toRgbString()),e==="prgb"&&(t=this.toPercentageRgbString()),e!=="hex"&&e!=="hex6"||(t=this.toHexString()),e==="hex3"&&(t=this.toHexString(!0)),e==="hex4"&&(t=this.toHex8String(!0)),e==="hex8"&&(t=this.toHex8String()),e==="name"&&(t=this.toName()),e==="hsl"&&(t=this.toHslString()),e==="hsv"&&(t=this.toHsvString()),t||this.toHexString()):e==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return On(this.toString())},_applyModification:function(e,r){var t=e.apply(null,[this].concat([].slice.call(r)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(G2,arguments)},brighten:function(){return this._applyModification(U2,arguments)},darken:function(){return this._applyModification(j2,arguments)},desaturate:function(){return this._applyModification(L2,arguments)},saturate:function(){return this._applyModification(O2,arguments)},greyscale:function(){return this._applyModification(P2,arguments)},spin:function(){return this._applyModification(H2,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(q2,arguments)},complement:function(){return this._applyCombination(Y2,arguments)},monochromatic:function(){return this._applyCombination(W2,arguments)},splitcomplement:function(){return this._applyCombination(J2,arguments)},triad:function(){return this._applyCombination(T1,[3])},tetrad:function(){return this._applyCombination(T1,[4])}},On.fromRatio=function(e,r){if(n0(e)=="object"){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=n==="a"?e[n]:jh(e[n]));e=t}return On(e,r)},On.equals=function(e,r){return!(!e||!r)&&On(e).toRgbString()==On(r).toRgbString()},On.random=function(){return On.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},On.mix=function(e,r,t){t=t===0?0:t||50;var n=On(e).toRgb(),a=On(r).toRgb(),s=t/100;return On({r:(a.r-n.r)*s+n.r,g:(a.g-n.g)*s+n.g,b:(a.b-n.b)*s+n.b,a:(a.a-n.a)*s+n.a})},On.readability=function(e,r){var t=On(e),n=On(r);return(Math.max(t.getLuminance(),n.getLuminance())+.05)/(Math.min(t.getLuminance(),n.getLuminance())+.05)},On.isReadable=function(e,r,t){var n,a,s=On.readability(e,r);switch(a=!1,(n=function(o){var i,c;return i=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase(),c=(o.size||"small").toLowerCase(),i!=="AA"&&i!=="AAA"&&(i="AA"),c!=="small"&&c!=="large"&&(c="small"),{level:i,size:c}}(t)).level+n.size){case"AAsmall":case"AAAlarge":a=s>=4.5;break;case"AAlarge":a=s>=3;break;case"AAAsmall":a=s>=7}return a},On.mostReadable=function(e,r,t){var n,a,s,o,i=null,c=0;a=(t=t||{}).includeFallbackColors,s=t.level,o=t.size;for(var u=0;u<r.length;u++)(n=On.readability(e,r[u]))>c&&(c=n,i=On(r[u]));return On.isReadable(e,i,{level:s,size:o})||!a?i:(t.includeFallbackColors=!1,On.mostReadable(e,["#fff","#000"],t))};var Uh=On.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},K2=On.hexNames=function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}(Uh);function L1(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Pa(e,r){(function(n){return typeof n=="string"&&n.indexOf(".")!=-1&&parseFloat(n)===1})(e)&&(e="100%");var t=function(n){return typeof n=="string"&&n.indexOf("%")!=-1}(e);return e=Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function ad(e){return Math.min(1,Math.max(0,e))}function ss(e){return parseInt(e,16)}function Fc(e){return e.length==1?"0"+e:""+e}function jh(e){return e<=1&&(e=100*e+"%"),e}function od(e){return Math.round(255*parseFloat(e)).toString(16)}function O1(e){return ss(e)/255}var ol,sd,Hh,Nc=(sd="[\\s|\\(]+("+(ol="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+ol+")[,|\\s]+("+ol+")\\s*\\)?",Hh="[\\s|\\(]+("+ol+")[,|\\s]+("+ol+")[,|\\s]+("+ol+")[,|\\s]+("+ol+")\\s*\\)?",{CSS_UNIT:new RegExp(ol),rgb:new RegExp("rgb"+sd),rgba:new RegExp("rgba"+Hh),hsl:new RegExp("hsl"+sd),hsla:new RegExp("hsla"+Hh),hsv:new RegExp("hsv"+sd),hsva:new RegExp("hsva"+Hh),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Su(e){return!!Nc.CSS_UNIT.exec(e)}var i0={exports:{}};(function(e,r){(function(){var t,n="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",o=16,i=32,c=64,u=128,l=256,A=1/0,h=9007199254740991,f=NaN,d=4294967295,g=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",o],["flip",512],["partial",i],["partialRight",c],["rearg",l]],p="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",I="[object Error]",E="[object Function]",k="[object GeneratorFunction]",R="[object Map]",T="[object Number]",j="[object Object]",W="[object Promise]",H="[object RegExp]",X="[object Set]",x="[object String]",N="[object Symbol]",C="[object WeakMap]",w="[object ArrayBuffer]",Q="[object DataView]",B="[object Float32Array]",S="[object Float64Array]",O="[object Int8Array]",F="[object Int16Array]",Y="[object Int32Array]",M="[object Uint8Array]",z="[object Uint8ClampedArray]",ue="[object Uint16Array]",ae="[object Uint32Array]",Ne=/\b__p \+= '';/g,Ge=/\b(__p \+=) '' \+/g,Ye=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ae=/&(?:amp|lt|gt|quot|#39);/g,te=/[&<>"']/g,he=RegExp(Ae.source),de=RegExp(te.source),Ke=/<%-([\s\S]+?)%>/g,le=/<%([\s\S]+?)%>/g,Ce=/<%=([\s\S]+?)%>/g,At=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/,ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ye=/[\\^$.*+?()[\]{}|]/g,Ve=RegExp(ye.source),dt=/^\s+/,re=/\s/,ot=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,pt=/\{\n\/\* \[wrapped with (.+)\] \*/,Be=/,? & /,Ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Me=/[()=,{}\[\]\/\s]/,yt=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,Re=/^[-+]0x[0-9a-f]+$/i,Ze=/^0b[01]+$/i,ke=/^\[object .+?Constructor\]$/,Pe=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,at=/($^)/,Dt=/['\n\r\u2028\u2029\\]/g,St="\\ud800-\\udfff",hr="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Wt="\\u2700-\\u27bf",Ut="a-z\\xdf-\\xf6\\xf8-\\xff",ur="A-Z\\xc0-\\xd6\\xd8-\\xde",Br="\\ufe0e\\ufe0f",fr="\\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",Mr="['’]",er="["+St+"]",Tr="["+fr+"]",fn="["+hr+"]",_n="\\d+",dr="["+Wt+"]",rn="["+Ut+"]",Kr="[^"+St+fr+_n+Wt+Ut+ur+"]",tr="\\ud83c[\\udffb-\\udfff]",on="[^"+St+"]",nn="(?:\\ud83c[\\udde6-\\uddff]){2}",An="[\\ud800-\\udbff][\\udc00-\\udfff]",bn="["+ur+"]",Gn="\\u200d",Dr="(?:"+rn+"|"+Kr+")",Nn="(?:"+bn+"|"+Kr+")",Mn="(?:['’](?:d|ll|m|re|s|t|ve))?",Hn="(?:['’](?:D|LL|M|RE|S|T|VE))?",vi="(?:"+fn+"|"+tr+")?",qe="["+Br+"]?",bt=qe+vi+("(?:"+Gn+"(?:"+[on,nn,An].join("|")+")"+qe+vi+")*"),Ft="(?:"+[dr,nn,An].join("|")+")"+bt,Lr="(?:"+[on+fn+"?",fn,nn,An,er].join("|")+")",kn=RegExp(Mr,"g"),Bi=RegExp(fn,"g"),ka=RegExp(tr+"(?="+tr+")|"+Lr+bt,"g"),Va=RegExp([bn+"?"+rn+"+"+Mn+"(?="+[Tr,bn,"$"].join("|")+")",Nn+"+"+Hn+"(?="+[Tr,bn+Dr,"$"].join("|")+")",bn+"?"+Dr+"+"+Mn,bn+"+"+Hn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_n,Ft].join("|"),"g"),qo=RegExp("["+Gn+St+hr+Br+"]"),Ro=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,po=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fo=-1,ri={};ri[B]=ri[S]=ri[O]=ri[F]=ri[Y]=ri[M]=ri[z]=ri[ue]=ri[ae]=!0,ri[p]=ri[m]=ri[w]=ri[v]=ri[Q]=ri[y]=ri[I]=ri[E]=ri[R]=ri[T]=ri[j]=ri[H]=ri[X]=ri[x]=ri[C]=!1;var $n={};$n[p]=$n[m]=$n[w]=$n[Q]=$n[v]=$n[y]=$n[B]=$n[S]=$n[O]=$n[F]=$n[Y]=$n[R]=$n[T]=$n[j]=$n[H]=$n[X]=$n[x]=$n[N]=$n[M]=$n[z]=$n[ue]=$n[ae]=!0,$n[I]=$n[E]=$n[C]=!1;var Bs={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},No=parseFloat,Qs=parseInt,bc=typeof mi=="object"&&mi&&mi.Object===Object&&mi,oA=typeof self=="object"&&self&&self.Object===Object&&self,Na=bc||oA||Function("return this")(),uu=r&&!r.nodeType&&r,Hc=uu&&e&&!e.nodeType&&e,lu=Hc&&Hc.exports===uu,yl=lu&&bc.process,Wo=function(){try{var J=Hc&&Hc.require&&Hc.require("util").types;return J||yl&&yl.binding&&yl.binding("util")}catch{}}(),Il=Wo&&Wo.isArrayBuffer,lh=Wo&&Wo.isDate,bl=Wo&&Wo.isMap,Ah=Wo&&Wo.isRegExp,sA=Wo&&Wo.isSet,hh=Wo&&Wo.isTypedArray;function ts(J,oe,Se){switch(Se.length){case 0:return J.call(oe);case 1:return J.call(oe,Se[0]);case 2:return J.call(oe,Se[0],Se[1]);case 3:return J.call(oe,Se[0],Se[1],Se[2])}return J.apply(oe,Se)}function fh(J,oe,Se,et){for(var ie=-1,xe=J==null?0:J.length;++ie<xe;){var tt=J[ie];oe(et,tt,Se(tt),J)}return et}function Mo(J,oe){for(var Se=-1,et=J==null?0:J.length;++Se<et&&oe(J[Se],Se,J)!==!1;);return J}function Au(J,oe){for(var Se=J==null?0:J.length;Se--&&oe(J[Se],Se,J)!==!1;);return J}function dh(J,oe){for(var Se=-1,et=J==null?0:J.length;++Se<et;)if(!oe(J[Se],Se,J))return!1;return!0}function Cc(J,oe){for(var Se=-1,et=J==null?0:J.length,ie=0,xe=[];++Se<et;){var tt=J[Se];oe(tt,Se,J)&&(xe[ie++]=tt)}return xe}function ks(J,oe){return!!(J!=null&&J.length)&&xs(J,oe,0)>-1}function Cl(J,oe,Se){for(var et=-1,ie=J==null?0:J.length;++et<ie;)if(Se(oe,J[et]))return!0;return!1}function Ia(J,oe){for(var Se=-1,et=J==null?0:J.length,ie=Array(et);++Se<et;)ie[Se]=oe(J[Se],Se,J);return ie}function Ec(J,oe){for(var Se=-1,et=oe.length,ie=J.length;++Se<et;)J[ie+Se]=oe[Se];return J}function cA(J,oe,Se,et){var ie=-1,xe=J==null?0:J.length;for(et&&xe&&(Se=J[++ie]);++ie<xe;)Se=oe(Se,J[ie],ie,J);return Se}function gh(J,oe,Se,et){var ie=J==null?0:J.length;for(et&&ie&&(Se=J[--ie]);ie--;)Se=oe(Se,J[ie],ie,J);return Se}function oc(J,oe){for(var Se=-1,et=J==null?0:J.length;++Se<et;)if(oe(J[Se],Se,J))return!0;return!1}var ph=Jc("length");function ju(J,oe,Se){var et;return Se(J,function(ie,xe,tt){if(oe(ie,xe,tt))return et=xe,!1}),et}function Yc(J,oe,Se,et){for(var ie=J.length,xe=Se+(et?1:-1);et?xe--:++xe<ie;)if(oe(J[xe],xe,J))return xe;return-1}function xs(J,oe,Se){return oe==oe?function(et,ie,xe){for(var tt=xe-1,Bt=et.length;++tt<Bt;)if(et[tt]===ie)return tt;return-1}(J,oe,Se):Yc(J,vh,Se)}function Us(J,oe,Se,et){for(var ie=Se-1,xe=J.length;++ie<xe;)if(et(J[ie],oe))return ie;return-1}function vh(J){return J!=J}function El(J,oe){var Se=J==null?0:J.length;return Se?Bl(J,oe)/Se:f}function Jc(J){return function(oe){return oe==null?t:oe[J]}}function wl(J){return function(oe){return J==null?t:J[oe]}}function hu(J,oe,Se,et,ie){return ie(J,function(xe,tt,Bt){Se=et?(et=!1,xe):oe(Se,xe,tt,Bt)}),Se}function Bl(J,oe){for(var Se,et=-1,ie=J.length;++et<ie;){var xe=oe(J[et]);xe!==t&&(Se=Se===t?xe:Se+xe)}return Se}function Ql(J,oe){for(var Se=-1,et=Array(J);++Se<J;)et[Se]=oe(Se);return et}function uA(J){return J&&J.slice(0,ns(J)+1).replace(dt,"")}function rs(J){return function(oe){return J(oe)}}function $e(J,oe){return Ia(oe,function(Se){return J[Se]})}function wt(J,oe){return J.has(oe)}function mr(J,oe){for(var Se=-1,et=J.length;++Se<et&&xs(oe,J[Se],0)>-1;);return Se}function pn(J,oe){for(var Se=J.length;Se--&&xs(oe,J[Se],0)>-1;);return Se}var ra=wl({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a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"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"}),ui=wl({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Hi(J){return"\\"+Bs[J]}function Aa(J){return qo.test(J)}function ao(J){var oe=-1,Se=Array(J.size);return J.forEach(function(et,ie){Se[++oe]=[ie,et]}),Se}function Zi(J,oe){return function(Se){return J(oe(Se))}}function Yi(J,oe){for(var Se=-1,et=J.length,ie=0,xe=[];++Se<et;){var tt=J[Se];tt!==oe&&tt!==s||(J[Se]=s,xe[ie++]=Se)}return xe}function Qo(J){var oe=-1,Se=Array(J.size);return J.forEach(function(et){Se[++oe]=et}),Se}function Ua(J){return Aa(J)?function(oe){for(var Se=ka.lastIndex=0;ka.test(oe);)++Se;return Se}(J):ph(J)}function ha(J){return Aa(J)?function(oe){return oe.match(ka)||[]}(J):function(oe){return oe.split("")}(J)}function ns(J){for(var oe=J.length;oe--&&re.test(J.charAt(oe)););return oe}var vs=wl({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),G=function J(oe){var Se,et=(oe=oe==null?Na:G.defaults(Na.Object(),oe,G.pick(Na,po))).Array,ie=oe.Date,xe=oe.Error,tt=oe.Function,Bt=oe.Math,Gt=oe.Object,Xt=oe.RegExp,Yr=oe.String,qr=oe.TypeError,Bn=et.prototype,Zn=tt.prototype,Yn=Gt.prototype,Xn=oe["__core-js_shared__"],ni=Zn.toString,Cn=Yn.hasOwnProperty,ja=0,Za=(Se=/[^.]+$/.exec(Xn&&Xn.keys&&Xn.keys.IE_PROTO||""))?"Symbol(src)_1."+Se:"",Ha=Yn.toString,Xi=ni.call(Gt),Ko=Na._,js=Xt("^"+ni.call(Cn).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hu=lu?oe.Buffer:t,qc=oe.Symbol,ig=oe.Uint8Array,iI=Hu?Hu.allocUnsafe:t,$i=Zi(Gt.getPrototypeOf,Gt),Ki=Gt.create,oo=Yn.propertyIsEnumerable,Qi=Bn.splice,ko=qc?qc.isConcatSpreadable:t,Xa=qc?qc.iterator:t,zo=qc?qc.toStringTag:t,fa=function(){try{var b=Df(Gt,"defineProperty");return b({},"",{}),b}catch{}}(),vo=oe.clearTimeout!==Na.clearTimeout&&oe.clearTimeout,Wc=ie&&ie.now!==Na.Date.now&&ie.now,Fp=oe.setTimeout!==Na.setTimeout&&oe.setTimeout,aI=Bt.ceil,oI=Bt.floor,pw=Gt.getOwnPropertySymbols,t4=Hu?Hu.isBuffer:t,r3=oe.isFinite,r4=Bn.join,n4=Zi(Gt.keys,Gt),is=Bt.max,Hs=Bt.min,i4=ie.now,a4=oe.parseInt,n3=Bt.random,o4=Bn.reverse,vw=Df(oe,"DataView"),Np=Df(oe,"Map"),mw=Df(oe,"Promise"),ag=Df(oe,"Set"),Mp=Df(oe,"WeakMap"),Tp=Df(Gt,"create"),sI=Mp&&new Mp,og={},s4=Rf(vw),c4=Rf(Np),u4=Rf(mw),l4=Rf(ag),A4=Rf(Mp),cI=qc?qc.prototype:t,Lp=cI?cI.valueOf:t,i3=cI?cI.toString:t;function Te(b){if(xo(b)&&!Ii(b)&&!(b instanceof Pi)){if(b instanceof fu)return b;if(Cn.call(b,"__wrapped__"))return o5(b)}return new fu(b)}var sg=function(){function b(){}return function(_){if(!mo(_))return{};if(Ki)return Ki(_);b.prototype=_;var q=new b;return b.prototype=t,q}}();function uI(){}function fu(b,_){this.__wrapped__=b,this.__actions__=[],this.__chain__=!!_,this.__index__=0,this.__values__=t}function Pi(b){this.__wrapped__=b,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function kf(b){var _=-1,q=b==null?0:b.length;for(this.clear();++_<q;){var se=b[_];this.set(se[0],se[1])}}function lA(b){var _=-1,q=b==null?0:b.length;for(this.clear();++_<q;){var se=b[_];this.set(se[0],se[1])}}function AA(b){var _=-1,q=b==null?0:b.length;for(this.clear();++_<q;){var se=b[_];this.set(se[0],se[1])}}function xf(b){var _=-1,q=b==null?0:b.length;for(this.__data__=new AA;++_<q;)this.add(b[_])}function Yu(b){var _=this.__data__=new lA(b);this.size=_.size}function a3(b,_){var q=Ii(b),se=!q&&Ff(b),be=!q&&!se&&Ch(b),ze=!q&&!se&&!be&&Ag(b),ft=q||se||be||ze,Ct=ft?Ql(b.length,Yr):[],Ot=Ct.length;for(var gr in b)!_&&!Cn.call(b,gr)||ft&&(gr=="length"||be&&(gr=="offset"||gr=="parent")||ze&&(gr=="buffer"||gr=="byteLength"||gr=="byteOffset")||gA(gr,Ot))||Ct.push(gr);return Ct}function o3(b){var _=b.length;return _?b[Sw(0,_-1)]:t}function h4(b,_){return EI(wc(b),Sf(_,0,b.length))}function f4(b){return EI(wc(b))}function yw(b,_,q){(q!==t&&!Ju(b[_],q)||q===t&&!(_ in b))&&hA(b,_,q)}function Op(b,_,q){var se=b[_];Cn.call(b,_)&&Ju(se,q)&&(q!==t||_ in b)||hA(b,_,q)}function lI(b,_){for(var q=b.length;q--;)if(Ju(b[q][0],_))return q;return-1}function d4(b,_,q,se){return mh(b,function(be,ze,ft){_(se,be,q(be),ft)}),se}function s3(b,_){return b&&xl(_,ms(_),b)}function hA(b,_,q){_=="__proto__"&&fa?fa(b,_,{configurable:!0,enumerable:!0,value:q,writable:!0}):b[_]=q}function Iw(b,_){for(var q=-1,se=_.length,be=et(se),ze=b==null;++q<se;)be[q]=ze?t:rB(b,_[q]);return be}function Sf(b,_,q){return b==b&&(q!==t&&(b=b<=q?b:q),_!==t&&(b=b>=_?b:_)),b}function du(b,_,q,se,be,ze){var ft,Ct=1&_,Ot=2&_,gr=4&_;if(q&&(ft=be?q(b,se,be,ze):q(b)),ft!==t)return ft;if(!mo(b))return b;var vr=Ii(b);if(vr){if(ft=function(kr){var an=kr.length,oi=new kr.constructor(an);return an&&typeof kr[0]=="string"&&Cn.call(kr,"index")&&(oi.index=kr.index,oi.input=kr.input),oi}(b),!Ct)return wc(b,ft)}else{var jr=Ys(b),Rn=jr==E||jr==k;if(Ch(b))return D3(b,Ct);if(jr==j||jr==p||Rn&&!be){if(ft=Ot||Rn?{}:V3(b),!Ct)return Ot?function(kr,an){return xl(kr,K3(kr),an)}(b,function(kr,an){return kr&&xl(an,Qc(an),kr)}(ft,b)):function(kr,an){return xl(kr,Hw(kr),an)}(b,s3(ft,b))}else{if(!$n[jr])return be?b:{};ft=function(kr,an,oi){var dn=kr.constructor;switch(an){case w:return Tw(kr);case v:case y:return new dn(+kr);case Q:return function(fi,na){var Jn=na?Tw(fi.buffer):fi.buffer;return new fi.constructor(Jn,fi.byteOffset,fi.byteLength)}(kr,oi);case B:case S:case O:case F:case Y:case M:case z:case ue:case ae:return R3(kr,oi);case R:return new dn;case T:case x:return new dn(kr);case H:return function(fi){var na=new fi.constructor(fi.source,me.exec(fi));return na.lastIndex=fi.lastIndex,na}(kr);case X:return new dn;case N:return Ci=kr,Lp?Gt(Lp.call(Ci)):{}}var Ci}(b,jr,Ct)}}ze||(ze=new Yu);var Tn=ze.get(b);if(Tn)return Tn;ze.set(b,ft),w5(b)?b.forEach(function(kr){ft.add(du(kr,_,q,kr,b,ze))}):C5(b)&&b.forEach(function(kr,an){ft.set(an,du(kr,_,q,an,b,ze))});var zn=vr?t:(gr?Ot?Gw:Pw:Ot?Qc:ms)(b);return Mo(zn||b,function(kr,an){zn&&(kr=b[an=kr]),Op(ft,an,du(kr,_,q,an,b,ze))}),ft}function c3(b,_,q){var se=q.length;if(b==null)return!se;for(b=Gt(b);se--;){var be=q[se],ze=_[be],ft=b[be];if(ft===t&&!(be in b)||!ze(ft))return!1}return!0}function u3(b,_,q){if(typeof b!="function")throw new qr(n);return Jp(function(){b.apply(t,q)},_)}function Pp(b,_,q,se){var be=-1,ze=ks,ft=!0,Ct=b.length,Ot=[],gr=_.length;if(!Ct)return Ot;q&&(_=Ia(_,rs(q))),se?(ze=Cl,ft=!1):_.length>=200&&(ze=wt,ft=!1,_=new xf(_));e:for(;++be<Ct;){var vr=b[be],jr=q==null?vr:q(vr);if(vr=se||vr!==0?vr:0,ft&&jr==jr){for(var Rn=gr;Rn--;)if(_[Rn]===jr)continue e;Ot.push(vr)}else ze(_,jr,se)||Ot.push(vr)}return Ot}Te.templateSettings={escape:Ke,evaluate:le,interpolate:Ce,variable:"",imports:{_:Te}},Te.prototype=uI.prototype,Te.prototype.constructor=Te,fu.prototype=sg(uI.prototype),fu.prototype.constructor=fu,Pi.prototype=sg(uI.prototype),Pi.prototype.constructor=Pi,kf.prototype.clear=function(){this.__data__=Tp?Tp(null):{},this.size=0},kf.prototype.delete=function(b){var _=this.has(b)&&delete this.__data__[b];return this.size-=_?1:0,_},kf.prototype.get=function(b){var _=this.__data__;if(Tp){var q=_[b];return q===a?t:q}return Cn.call(_,b)?_[b]:t},kf.prototype.has=function(b){var _=this.__data__;return Tp?_[b]!==t:Cn.call(_,b)},kf.prototype.set=function(b,_){var q=this.__data__;return this.size+=this.has(b)?0:1,q[b]=Tp&&_===t?a:_,this},lA.prototype.clear=function(){this.__data__=[],this.size=0},lA.prototype.delete=function(b){var _=this.__data__,q=lI(_,b);return!(q<0)&&(q==_.length-1?_.pop():Qi.call(_,q,1),--this.size,!0)},lA.prototype.get=function(b){var _=this.__data__,q=lI(_,b);return q<0?t:_[q][1]},lA.prototype.has=function(b){return lI(this.__data__,b)>-1},lA.prototype.set=function(b,_){var q=this.__data__,se=lI(q,b);return se<0?(++this.size,q.push([b,_])):q[se][1]=_,this},AA.prototype.clear=function(){this.size=0,this.__data__={hash:new kf,map:new(Np||lA),string:new kf}},AA.prototype.delete=function(b){var _=CI(this,b).delete(b);return this.size-=_?1:0,_},AA.prototype.get=function(b){return CI(this,b).get(b)},AA.prototype.has=function(b){return CI(this,b).has(b)},AA.prototype.set=function(b,_){var q=CI(this,b),se=q.size;return q.set(b,_),this.size+=q.size==se?0:1,this},xf.prototype.add=xf.prototype.push=function(b){return this.__data__.set(b,a),this},xf.prototype.has=function(b){return this.__data__.has(b)},Yu.prototype.clear=function(){this.__data__=new lA,this.size=0},Yu.prototype.delete=function(b){var _=this.__data__,q=_.delete(b);return this.size=_.size,q},Yu.prototype.get=function(b){return this.__data__.get(b)},Yu.prototype.has=function(b){return this.__data__.has(b)},Yu.prototype.set=function(b,_){var q=this.__data__;if(q instanceof lA){var se=q.__data__;if(!Np||se.length<199)return se.push([b,_]),this.size=++q.size,this;q=this.__data__=new AA(se)}return q.set(b,_),this.size=q.size,this};var mh=T3(kl),l3=T3(Cw,!0);function g4(b,_){var q=!0;return mh(b,function(se,be,ze){return q=!!_(se,be,ze)}),q}function AI(b,_,q){for(var se=-1,be=b.length;++se<be;){var ze=b[se],ft=_(ze);if(ft!=null&&(Ct===t?ft==ft&&!zc(ft):q(ft,Ct)))var Ct=ft,Ot=ze}return Ot}function A3(b,_){var q=[];return mh(b,function(se,be,ze){_(se,be,ze)&&q.push(se)}),q}function Ss(b,_,q,se,be){var ze=-1,ft=b.length;for(q||(q=k4),be||(be=[]);++ze<ft;){var Ct=b[ze];_>0&&q(Ct)?_>1?Ss(Ct,_-1,q,se,be):Ec(be,Ct):se||(be[be.length]=Ct)}return be}var bw=L3(),h3=L3(!0);function kl(b,_){return b&&bw(b,_,ms)}function Cw(b,_){return b&&h3(b,_,ms)}function hI(b,_){return Cc(_,function(q){return pA(b[q])})}function _f(b,_){for(var q=0,se=(_=Ih(_,b)).length;b!=null&&q<se;)b=b[Sl(_[q++])];return q&&q==se?b:t}function f3(b,_,q){var se=_(b);return Ii(b)?se:Ec(se,q(b))}function sc(b){return b==null?b===t?"[object Undefined]":"[object Null]":zo&&zo in Gt(b)?function(_){var q=Cn.call(_,zo),se=_[zo];try{_[zo]=t;var be=!0}catch{}var ze=Ha.call(_);return be&&(q?_[zo]=se:delete _[zo]),ze}(b):function(_){return Ha.call(_)}(b)}function Ew(b,_){return b>_}function p4(b,_){return b!=null&&Cn.call(b,_)}function v4(b,_){return b!=null&&_ in Gt(b)}function ww(b,_,q){for(var se=q?Cl:ks,be=b[0].length,ze=b.length,ft=ze,Ct=et(ze),Ot=1/0,gr=[];ft--;){var vr=b[ft];ft&&_&&(vr=Ia(vr,rs(_))),Ot=Hs(vr.length,Ot),Ct[ft]=!q&&(_||be>=120&&vr.length>=120)?new xf(ft&&vr):t}vr=b[0];var jr=-1,Rn=Ct[0];e:for(;++jr<be&&gr.length<Ot;){var Tn=vr[jr],zn=_?_(Tn):Tn;if(Tn=q||Tn!==0?Tn:0,!(Rn?wt(Rn,zn):se(gr,zn,q))){for(ft=ze;--ft;){var kr=Ct[ft];if(!(kr?wt(kr,zn):se(b[ft],zn,q)))continue e}Rn&&Rn.push(zn),gr.push(Tn)}}return gr}function Gp(b,_,q){var se=(b=e5(b,_=Ih(_,b)))==null?b:b[Sl(pu(_))];return se==null?t:ts(se,b,q)}function d3(b){return xo(b)&&sc(b)==p}function Up(b,_,q,se,be){return b===_||(b==null||_==null||!xo(b)&&!xo(_)?b!=b&&_!=_:function(ze,ft,Ct,Ot,gr,vr){var jr=Ii(ze),Rn=Ii(ft),Tn=jr?m:Ys(ze),zn=Rn?m:Ys(ft),kr=(Tn=Tn==p?j:Tn)==j,an=(zn=zn==p?j:zn)==j,oi=Tn==zn;if(oi&&Ch(ze)){if(!Ch(ft))return!1;jr=!0,kr=!1}if(oi&&!kr)return vr||(vr=new Yu),jr||Ag(ze)?W3(ze,ft,Ct,Ot,gr,vr):function(Jn,si,as,Lo,uc,$a,Js){switch(as){case Q:if(Jn.byteLength!=si.byteLength||Jn.byteOffset!=si.byteOffset)return!1;Jn=Jn.buffer,si=si.buffer;case w:return!(Jn.byteLength!=si.byteLength||!$a(new ig(Jn),new ig(si)));case v:case y:case T:return Ju(+Jn,+si);case I:return Jn.name==si.name&&Jn.message==si.message;case H:case x:return Jn==si+"";case R:var _l=ao;case X:var Eh=1&Lo;if(_l||(_l=Qo),Jn.size!=si.size&&!Eh)return!1;var RI=Js.get(Jn);if(RI)return RI==si;Lo|=2,Js.set(Jn,si);var hB=W3(_l(Jn),_l(si),Lo,uc,$a,Js);return Js.delete(Jn),hB;case N:if(Lp)return Lp.call(Jn)==Lp.call(si)}return!1}(ze,ft,Tn,Ct,Ot,gr,vr);if(!(1&Ct)){var dn=kr&&Cn.call(ze,"__wrapped__"),Ci=an&&Cn.call(ft,"__wrapped__");if(dn||Ci){var fi=dn?ze.value():ze,na=Ci?ft.value():ft;return vr||(vr=new Yu),gr(fi,na,Ct,Ot,vr)}}return oi?(vr||(vr=new Yu),function(Jn,si,as,Lo,uc,$a){var Js=1&as,_l=Pw(Jn),Eh=_l.length,RI=Pw(si),hB=RI.length;if(Eh!=hB&&!Js)return!1;for(var FI=Eh;FI--;){var Nf=_l[FI];if(!(Js?Nf in si:Cn.call(si,Nf)))return!1}var O5=$a.get(Jn),P5=$a.get(si);if(O5&&P5)return O5==si&&P5==Jn;var NI=!0;$a.set(Jn,si),$a.set(si,Jn);for(var fB=Js;++FI<Eh;){var MI=Jn[Nf=_l[FI]],TI=si[Nf];if(Lo)var G5=Js?Lo(TI,MI,Nf,si,Jn,$a):Lo(MI,TI,Nf,Jn,si,$a);if(!(G5===t?MI===TI||uc(MI,TI,as,Lo,$a):G5)){NI=!1;break}fB||(fB=Nf=="constructor")}if(NI&&!fB){var LI=Jn.constructor,OI=si.constructor;LI==OI||!("constructor"in Jn)||!("constructor"in si)||typeof LI=="function"&&LI instanceof LI&&typeof OI=="function"&&OI instanceof OI||(NI=!1)}return $a.delete(Jn),$a.delete(si),NI}(ze,ft,Ct,Ot,gr,vr)):!1}(b,_,q,se,Up,be))}function Bw(b,_,q,se){var be=q.length,ze=be,ft=!se;if(b==null)return!ze;for(b=Gt(b);be--;){var Ct=q[be];if(ft&&Ct[2]?Ct[1]!==b[Ct[0]]:!(Ct[0]in b))return!1}for(;++be<ze;){var Ot=(Ct=q[be])[0],gr=b[Ot],vr=Ct[1];if(ft&&Ct[2]){if(gr===t&&!(Ot in b))return!1}else{var jr=new Yu;if(se)var Rn=se(gr,vr,Ot,b,_,jr);if(!(Rn===t?Up(vr,gr,3,se,jr):Rn))return!1}}return!0}function g3(b){return!(!mo(b)||(_=b,Za&&Za in _))&&(pA(b)?js:ke).test(Rf(b));var _}function p3(b){return typeof b=="function"?b:b==null?kc:typeof b=="object"?Ii(b)?y3(b[0],b[1]):m3(b):L5(b)}function Qw(b){if(!Yp(b))return n4(b);var _=[];for(var q in Gt(b))Cn.call(b,q)&&q!="constructor"&&_.push(q);return _}function m4(b){if(!mo(b))return function(be){var ze=[];if(be!=null)for(var ft in Gt(be))ze.push(ft);return ze}(b);var _=Yp(b),q=[];for(var se in b)(se!="constructor"||!_&&Cn.call(b,se))&&q.push(se);return q}function kw(b,_){return b<_}function v3(b,_){var q=-1,se=Bc(b)?et(b.length):[];return mh(b,function(be,ze,ft){se[++q]=_(be,ze,ft)}),se}function m3(b){var _=jw(b);return _.length==1&&_[0][2]?X3(_[0][0],_[0][1]):function(q){return q===b||Bw(q,b,_)}}function y3(b,_){return Yw(b)&&Z3(_)?X3(Sl(b),_):function(q){var se=rB(q,b);return se===t&&se===_?nB(q,b):Up(_,se,3)}}function fI(b,_,q,se,be){b!==_&&bw(_,function(ze,ft){if(be||(be=new Yu),mo(ze))(function(Ot,gr,vr,jr,Rn,Tn,zn){var kr=qw(Ot,vr),an=qw(gr,vr),oi=zn.get(an);if(oi)return void yw(Ot,vr,oi);var dn=Tn?Tn(kr,an,vr+"",Ot,gr,zn):t,Ci=dn===t;if(Ci){var fi=Ii(an),na=!fi&&Ch(an),Jn=!fi&&!na&&Ag(an);dn=an,fi||na||Jn?Ii(kr)?dn=kr:To(kr)?dn=wc(kr):na?(Ci=!1,dn=D3(an,!0)):Jn?(Ci=!1,dn=R3(an,!0)):dn=[]:qp(an)||Ff(an)?(dn=kr,Ff(kr)?dn=k5(kr):mo(kr)&&!pA(kr)||(dn=V3(an))):Ci=!1}Ci&&(zn.set(an,dn),Rn(dn,an,jr,Tn,zn),zn.delete(an)),yw(Ot,vr,dn)})(b,_,ft,q,fI,se,be);else{var Ct=se?se(qw(b,ft),ze,ft+"",b,_,be):t;Ct===t&&(Ct=ze),yw(b,ft,Ct)}},Qc)}function I3(b,_){var q=b.length;if(q)return gA(_+=_<0?q:0,q)?b[_]:t}function b3(b,_,q){_=_.length?Ia(_,function(be){return Ii(be)?function(ze){return _f(ze,be.length===1?be[0]:be)}:be}):[kc];var se=-1;return _=Ia(_,rs(ii())),function(be,ze){var ft=be.length;for(be.sort(ze);ft--;)be[ft]=be[ft].value;return be}(v3(b,function(be,ze,ft){return{criteria:Ia(_,function(Ct){return Ct(be)}),index:++se,value:be}}),function(be,ze){return function(ft,Ct,Ot){for(var gr=-1,vr=ft.criteria,jr=Ct.criteria,Rn=vr.length,Tn=Ot.length;++gr<Rn;){var zn=F3(vr[gr],jr[gr]);if(zn)return gr>=Tn?zn:zn*(Ot[gr]=="desc"?-1:1)}return ft.index-Ct.index}(be,ze,q)})}function C3(b,_,q){for(var se=-1,be=_.length,ze={};++se<be;){var ft=_[se],Ct=_f(b,ft);q(Ct,ft)&&jp(ze,Ih(ft,b),Ct)}return ze}function xw(b,_,q,se){var be=se?Us:xs,ze=-1,ft=_.length,Ct=b;for(b===_&&(_=wc(_)),q&&(Ct=Ia(b,rs(q)));++ze<ft;)for(var Ot=0,gr=_[ze],vr=q?q(gr):gr;(Ot=be(Ct,vr,Ot,se))>-1;)Ct!==b&&Qi.call(Ct,Ot,1),Qi.call(b,Ot,1);return b}function E3(b,_){for(var q=b?_.length:0,se=q-1;q--;){var be=_[q];if(q==se||be!==ze){var ze=be;gA(be)?Qi.call(b,be,1):Rw(b,be)}}return b}function Sw(b,_){return b+oI(n3()*(_-b+1))}function _w(b,_){var q="";if(!b||_<1||_>h)return q;do _%2&&(q+=b),(_=oI(_/2))&&(b+=b);while(_);return q}function Di(b,_){return Ww($3(b,_,kc),b+"")}function y4(b){return o3(hg(b))}function I4(b,_){var q=hg(b);return EI(q,Sf(_,0,q.length))}function jp(b,_,q,se){if(!mo(b))return b;for(var be=-1,ze=(_=Ih(_,b)).length,ft=ze-1,Ct=b;Ct!=null&&++be<ze;){var Ot=Sl(_[be]),gr=q;if(Ot==="__proto__"||Ot==="constructor"||Ot==="prototype")return b;if(be!=ft){var vr=Ct[Ot];(gr=se?se(vr,Ot,Ct):t)===t&&(gr=mo(vr)?vr:gA(_[be+1])?[]:{})}Op(Ct,Ot,gr),Ct=Ct[Ot]}return b}var w3=sI?function(b,_){return sI.set(b,_),b}:kc,b4=fa?function(b,_){return fa(b,"toString",{configurable:!0,enumerable:!1,value:aB(_),writable:!0})}:kc;function C4(b){return EI(hg(b))}function gu(b,_,q){var se=-1,be=b.length;_<0&&(_=-_>be?0:be+_),(q=q>be?be:q)<0&&(q+=be),be=_>q?0:q-_>>>0,_>>>=0;for(var ze=et(be);++se<be;)ze[se]=b[se+_];return ze}function E4(b,_){var q;return mh(b,function(se,be,ze){return!(q=_(se,be,ze))}),!!q}function dI(b,_,q){var se=0,be=b==null?se:b.length;if(typeof _=="number"&&_==_&&be<=2147483647){for(;se<be;){var ze=se+be>>>1,ft=b[ze];ft!==null&&!zc(ft)&&(q?ft<=_:ft<_)?se=ze+1:be=ze}return be}return Dw(b,_,kc,q)}function Dw(b,_,q,se){var be=0,ze=b==null?0:b.length;if(ze===0)return 0;for(var ft=(_=q(_))!=_,Ct=_===null,Ot=zc(_),gr=_===t;be<ze;){var vr=oI((be+ze)/2),jr=q(b[vr]),Rn=jr!==t,Tn=jr===null,zn=jr==jr,kr=zc(jr);if(ft)var an=se||zn;else an=gr?zn&&(se||Rn):Ct?zn&&Rn&&(se||!Tn):Ot?zn&&Rn&&!Tn&&(se||!kr):!Tn&&!kr&&(se?jr<=_:jr<_);an?be=vr+1:ze=vr}return Hs(ze,4294967294)}function B3(b,_){for(var q=-1,se=b.length,be=0,ze=[];++q<se;){var ft=b[q],Ct=_?_(ft):ft;if(!q||!Ju(Ct,Ot)){var Ot=Ct;ze[be++]=ft===0?0:ft}}return ze}function Q3(b){return typeof b=="number"?b:zc(b)?f:+b}function Kc(b){if(typeof b=="string")return b;if(Ii(b))return Ia(b,Kc)+"";if(zc(b))return i3?i3.call(b):"";var _=b+"";return _=="0"&&1/b==-1/0?"-0":_}function yh(b,_,q){var se=-1,be=ks,ze=b.length,ft=!0,Ct=[],Ot=Ct;if(q)ft=!1,be=Cl;else if(ze>=200){var gr=_?null:B4(b);if(gr)return Qo(gr);ft=!1,be=wt,Ot=new xf}else Ot=_?[]:Ct;e:for(;++se<ze;){var vr=b[se],jr=_?_(vr):vr;if(vr=q||vr!==0?vr:0,ft&&jr==jr){for(var Rn=Ot.length;Rn--;)if(Ot[Rn]===jr)continue e;_&&Ot.push(jr),Ct.push(vr)}else be(Ot,jr,q)||(Ot!==Ct&&Ot.push(jr),Ct.push(vr))}return Ct}function Rw(b,_){return(b=e5(b,_=Ih(_,b)))==null||delete b[Sl(pu(_))]}function k3(b,_,q,se){return jp(b,_,q(_f(b,_)),se)}function gI(b,_,q,se){for(var be=b.length,ze=se?be:-1;(se?ze--:++ze<be)&&_(b[ze],ze,b););return q?gu(b,se?0:ze,se?ze+1:be):gu(b,se?ze+1:0,se?be:ze)}function x3(b,_){var q=b;return q instanceof Pi&&(q=q.value()),cA(_,function(se,be){return be.func.apply(be.thisArg,Ec([se],be.args))},q)}function Fw(b,_,q){var se=b.length;if(se<2)return se?yh(b[0]):[];for(var be=-1,ze=et(se);++be<se;)for(var ft=b[be],Ct=-1;++Ct<se;)Ct!=be&&(ze[be]=Pp(ze[be]||ft,b[Ct],_,q));return yh(Ss(ze,1),_,q)}function S3(b,_,q){for(var se=-1,be=b.length,ze=_.length,ft={};++se<be;){var Ct=se<ze?_[se]:t;q(ft,b[se],Ct)}return ft}function Nw(b){return To(b)?b:[]}function Mw(b){return typeof b=="function"?b:kc}function Ih(b,_){return Ii(b)?b:Yw(b,_)?[b]:a5(ba(b))}var w4=Di;function bh(b,_,q){var se=b.length;return q=q===t?se:q,!_&&q>=se?b:gu(b,_,q)}var _3=vo||function(b){return Na.clearTimeout(b)};function D3(b,_){if(_)return b.slice();var q=b.length,se=iI?iI(q):new b.constructor(q);return b.copy(se),se}function Tw(b){var _=new b.constructor(b.byteLength);return new ig(_).set(new ig(b)),_}function R3(b,_){var q=_?Tw(b.buffer):b.buffer;return new b.constructor(q,b.byteOffset,b.length)}function F3(b,_){if(b!==_){var q=b!==t,se=b===null,be=b==b,ze=zc(b),ft=_!==t,Ct=_===null,Ot=_==_,gr=zc(_);if(!Ct&&!gr&&!ze&&b>_||ze&&ft&&Ot&&!Ct&&!gr||se&&ft&&Ot||!q&&Ot||!be)return 1;if(!se&&!ze&&!gr&&b<_||gr&&q&&be&&!se&&!ze||Ct&&q&&be||!ft&&be||!Ot)return-1}return 0}function N3(b,_,q,se){for(var be=-1,ze=b.length,ft=q.length,Ct=-1,Ot=_.length,gr=is(ze-ft,0),vr=et(Ot+gr),jr=!se;++Ct<Ot;)vr[Ct]=_[Ct];for(;++be<ft;)(jr||be<ze)&&(vr[q[be]]=b[be]);for(;gr--;)vr[Ct++]=b[be++];return vr}function M3(b,_,q,se){for(var be=-1,ze=b.length,ft=-1,Ct=q.length,Ot=-1,gr=_.length,vr=is(ze-Ct,0),jr=et(vr+gr),Rn=!se;++be<vr;)jr[be]=b[be];for(var Tn=be;++Ot<gr;)jr[Tn+Ot]=_[Ot];for(;++ft<Ct;)(Rn||be<ze)&&(jr[Tn+q[ft]]=b[be++]);return jr}function wc(b,_){var q=-1,se=b.length;for(_||(_=et(se));++q<se;)_[q]=b[q];return _}function xl(b,_,q,se){var be=!q;q||(q={});for(var ze=-1,ft=_.length;++ze<ft;){var Ct=_[ze],Ot=se?se(q[Ct],b[Ct],Ct,q,b):t;Ot===t&&(Ot=b[Ct]),be?hA(q,Ct,Ot):Op(q,Ct,Ot)}return q}function pI(b,_){return function(q,se){var be=Ii(q)?fh:d4,ze=_?_():{};return be(q,b,ii(se,2),ze)}}function cg(b){return Di(function(_,q){var se=-1,be=q.length,ze=be>1?q[be-1]:t,ft=be>2?q[2]:t;for(ze=b.length>3&&typeof ze=="function"?(be--,ze):t,ft&&cc(q[0],q[1],ft)&&(ze=be<3?t:ze,be=1),_=Gt(_);++se<be;){var Ct=q[se];Ct&&b(_,Ct,se,ze)}return _})}function T3(b,_){return function(q,se){if(q==null)return q;if(!Bc(q))return b(q,se);for(var be=q.length,ze=_?be:-1,ft=Gt(q);(_?ze--:++ze<be)&&se(ft[ze],ze,ft)!==!1;);return q}}function L3(b){return function(_,q,se){for(var be=-1,ze=Gt(_),ft=se(_),Ct=ft.length;Ct--;){var Ot=ft[b?Ct:++be];if(q(ze[Ot],Ot,ze)===!1)break}return _}}function O3(b){return function(_){var q=Aa(_=ba(_))?ha(_):t,se=q?q[0]:_.charAt(0),be=q?bh(q,1).join(""):_.slice(1);return se[b]()+be}}function ug(b){return function(_){return cA(M5(N5(_).replace(kn,"")),b,"")}}function Hp(b){return function(){var _=arguments;switch(_.length){case 0:return new b;case 1:return new b(_[0]);case 2:return new b(_[0],_[1]);case 3:return new b(_[0],_[1],_[2]);case 4:return new b(_[0],_[1],_[2],_[3]);case 5:return new b(_[0],_[1],_[2],_[3],_[4]);case 6:return new b(_[0],_[1],_[2],_[3],_[4],_[5]);case 7:return new b(_[0],_[1],_[2],_[3],_[4],_[5],_[6])}var q=sg(b.prototype),se=b.apply(q,_);return mo(se)?se:q}}function P3(b){return function(_,q,se){var be=Gt(_);if(!Bc(_)){var ze=ii(q,3);_=ms(_),q=function(Ct){return ze(be[Ct],Ct,be)}}var ft=b(_,q,se);return ft>-1?be[ze?_[ft]:ft]:t}}function G3(b){return dA(function(_){var q=_.length,se=q,be=fu.prototype.thru;for(b&&_.reverse();se--;){var ze=_[se];if(typeof ze!="function")throw new qr(n);if(be&&!ft&&bI(ze)=="wrapper")var ft=new fu([],!0)}for(se=ft?se:q;++se<q;){var Ct=bI(ze=_[se]),Ot=Ct=="wrapper"?Uw(ze):t;ft=Ot&&Jw(Ot[0])&&Ot[1]==424&&!Ot[4].length&&Ot[9]==1?ft[bI(Ot[0])].apply(ft,Ot[3]):ze.length==1&&Jw(ze)?ft[Ct]():ft.thru(ze)}return function(){var gr=arguments,vr=gr[0];if(ft&&gr.length==1&&Ii(vr))return ft.plant(vr).value();for(var jr=0,Rn=q?_[jr].apply(this,gr):vr;++jr<q;)Rn=_[jr].call(this,Rn);return Rn}})}function vI(b,_,q,se,be,ze,ft,Ct,Ot,gr){var vr=_&u,jr=1&_,Rn=2&_,Tn=24&_,zn=512&_,kr=Rn?t:Hp(b);return function an(){for(var oi=arguments.length,dn=et(oi),Ci=oi;Ci--;)dn[Ci]=arguments[Ci];if(Tn)var fi=lg(an),na=function(Lo,uc){for(var $a=Lo.length,Js=0;$a--;)Lo[$a]===uc&&++Js;return Js}(dn,fi);if(se&&(dn=N3(dn,se,be,Tn)),ze&&(dn=M3(dn,ze,ft,Tn)),oi-=na,Tn&&oi<gr){var Jn=Yi(dn,fi);return H3(b,_,vI,an.placeholder,q,dn,Jn,Ct,Ot,gr-oi)}var si=jr?q:this,as=Rn?si[b]:b;return oi=dn.length,Ct?dn=function(Lo,uc){for(var $a=Lo.length,Js=Hs(uc.length,$a),_l=wc(Lo);Js--;){var Eh=uc[Js];Lo[Js]=gA(Eh,$a)?_l[Eh]:t}return Lo}(dn,Ct):zn&&oi>1&&dn.reverse(),vr&&Ot<oi&&(dn.length=Ot),this&&this!==Na&&this instanceof an&&(as=kr||Hp(as)),as.apply(si,dn)}}function U3(b,_){return function(q,se){return function(be,ze,ft,Ct){return kl(be,function(Ot,gr,vr){ze(Ct,ft(Ot),gr,vr)}),Ct}(q,b,_(se),{})}}function mI(b,_){return function(q,se){var be;if(q===t&&se===t)return _;if(q!==t&&(be=q),se!==t){if(be===t)return se;typeof q=="string"||typeof se=="string"?(q=Kc(q),se=Kc(se)):(q=Q3(q),se=Q3(se)),be=b(q,se)}return be}}function Lw(b){return dA(function(_){return _=Ia(_,rs(ii())),Di(function(q){var se=this;return b(_,function(be){return ts(be,se,q)})})})}function yI(b,_){var q=(_=_===t?" ":Kc(_)).length;if(q<2)return q?_w(_,b):_;var se=_w(_,aI(b/Ua(_)));return Aa(_)?bh(ha(se),0,b).join(""):se.slice(0,b)}function j3(b){return function(_,q,se){return se&&typeof se!="number"&&cc(_,q,se)&&(q=se=t),_=vA(_),q===t?(q=_,_=0):q=vA(q),function(be,ze,ft,Ct){for(var Ot=-1,gr=is(aI((ze-be)/(ft||1)),0),vr=et(gr);gr--;)vr[Ct?gr:++Ot]=be,be+=ft;return vr}(_,q,se=se===t?_<q?1:-1:vA(se),b)}}function II(b){return function(_,q){return typeof _=="string"&&typeof q=="string"||(_=vu(_),q=vu(q)),b(_,q)}}function H3(b,_,q,se,be,ze,ft,Ct,Ot,gr){var vr=8&_;_|=vr?i:c,4&(_&=~(vr?c:i))||(_&=-4);var jr=[b,_,be,vr?ze:t,vr?ft:t,vr?t:ze,vr?t:ft,Ct,Ot,gr],Rn=q.apply(t,jr);return Jw(b)&&t5(Rn,jr),Rn.placeholder=se,r5(Rn,b,_)}function Ow(b){var _=Bt[b];return function(q,se){if(q=vu(q),(se=se==null?0:Hs(ki(se),292))&&r3(q)){var be=(ba(q)+"e").split("e");return+((be=(ba(_(be[0]+"e"+(+be[1]+se)))+"e").split("e"))[0]+"e"+(+be[1]-se))}return _(q)}}var B4=ag&&1/Qo(new ag([,-0]))[1]==A?function(b){return new ag(b)}:cB;function Y3(b){return function(_){var q=Ys(_);return q==R?ao(_):q==X?function(se){var be=-1,ze=Array(se.size);return se.forEach(function(ft){ze[++be]=[ft,ft]}),ze}(_):function(se,be){return Ia(be,function(ze){return[ze,se[ze]]})}(_,b(_))}}function fA(b,_,q,se,be,ze,ft,Ct){var Ot=2&_;if(!Ot&&typeof b!="function")throw new qr(n);var gr=se?se.length:0;if(gr||(_&=-97,se=be=t),ft=ft===t?ft:is(ki(ft),0),Ct=Ct===t?Ct:ki(Ct),gr-=be?be.length:0,_&c){var vr=se,jr=be;se=be=t}var Rn=Ot?t:Uw(b),Tn=[b,_,q,se,be,vr,jr,ze,ft,Ct];if(Rn&&function(kr,an){var oi=kr[1],dn=an[1],Ci=oi|dn,fi=Ci<131,na=dn==u&&oi==8||dn==u&&oi==l&&kr[7].length<=an[8]||dn==384&&an[7].length<=an[8]&&oi==8;if(!fi&&!na)return kr;1&dn&&(kr[2]=an[2],Ci|=1&oi?0:4);var Jn=an[3];if(Jn){var si=kr[3];kr[3]=si?N3(si,Jn,an[4]):Jn,kr[4]=si?Yi(kr[3],s):an[4]}(Jn=an[5])&&(si=kr[5],kr[5]=si?M3(si,Jn,an[6]):Jn,kr[6]=si?Yi(kr[5],s):an[6]),(Jn=an[7])&&(kr[7]=Jn),dn&u&&(kr[8]=kr[8]==null?an[8]:Hs(kr[8],an[8])),kr[9]==null&&(kr[9]=an[9]),kr[0]=an[0],kr[1]=Ci}(Tn,Rn),b=Tn[0],_=Tn[1],q=Tn[2],se=Tn[3],be=Tn[4],!(Ct=Tn[9]=Tn[9]===t?Ot?0:b.length:is(Tn[9]-gr,0))&&24&_&&(_&=-25),_&&_!=1)zn=_==8||_==o?function(kr,an,oi){var dn=Hp(kr);return function Ci(){for(var fi=arguments.length,na=et(fi),Jn=fi,si=lg(Ci);Jn--;)na[Jn]=arguments[Jn];var as=fi<3&&na[0]!==si&&na[fi-1]!==si?[]:Yi(na,si);return(fi-=as.length)<oi?H3(kr,an,vI,Ci.placeholder,t,na,as,t,t,oi-fi):ts(this&&this!==Na&&this instanceof Ci?dn:kr,this,na)}}(b,_,Ct):_!=i&&_!=33||be.length?vI.apply(t,Tn):function(kr,an,oi,dn){var Ci=1&an,fi=Hp(kr);return function na(){for(var Jn=-1,si=arguments.length,as=-1,Lo=dn.length,uc=et(Lo+si),$a=this&&this!==Na&&this instanceof na?fi:kr;++as<Lo;)uc[as]=dn[as];for(;si--;)uc[as++]=arguments[++Jn];return ts($a,Ci?oi:this,uc)}}(b,_,q,se);else var zn=function(kr,an,oi){var dn=1&an,Ci=Hp(kr);return function fi(){return(this&&this!==Na&&this instanceof fi?Ci:kr).apply(dn?oi:this,arguments)}}(b,_,q);return r5((Rn?w3:t5)(zn,Tn),b,_)}function J3(b,_,q,se){return b===t||Ju(b,Yn[q])&&!Cn.call(se,q)?_:b}function q3(b,_,q,se,be,ze){return mo(b)&&mo(_)&&(ze.set(_,b),fI(b,_,t,q3,ze),ze.delete(_)),b}function Q4(b){return qp(b)?t:b}function W3(b,_,q,se,be,ze){var ft=1&q,Ct=b.length,Ot=_.length;if(Ct!=Ot&&!(ft&&Ot>Ct))return!1;var gr=ze.get(b),vr=ze.get(_);if(gr&&vr)return gr==_&&vr==b;var jr=-1,Rn=!0,Tn=2&q?new xf:t;for(ze.set(b,_),ze.set(_,b);++jr<Ct;){var zn=b[jr],kr=_[jr];if(se)var an=ft?se(kr,zn,jr,_,b,ze):se(zn,kr,jr,b,_,ze);if(an!==t){if(an)continue;Rn=!1;break}if(Tn){if(!oc(_,function(oi,dn){if(!wt(Tn,dn)&&(zn===oi||be(zn,oi,q,se,ze)))return Tn.push(dn)})){Rn=!1;break}}else if(zn!==kr&&!be(zn,kr,q,se,ze)){Rn=!1;break}}return ze.delete(b),ze.delete(_),Rn}function dA(b){return Ww($3(b,t,u5),b+"")}function Pw(b){return f3(b,ms,Hw)}function Gw(b){return f3(b,Qc,K3)}var Uw=sI?function(b){return sI.get(b)}:cB;function bI(b){for(var _=b.name+"",q=og[_],se=Cn.call(og,_)?q.length:0;se--;){var be=q[se],ze=be.func;if(ze==null||ze==b)return be.name}return _}function lg(b){return(Cn.call(Te,"placeholder")?Te:b).placeholder}function ii(){var b=Te.iteratee||oB;return b=b===oB?p3:b,arguments.length?b(arguments[0],arguments[1]):b}function CI(b,_){var q,se,be=b.__data__;return((se=typeof(q=_))=="string"||se=="number"||se=="symbol"||se=="boolean"?q!=="__proto__":q===null)?be[typeof _=="string"?"string":"hash"]:be.map}function jw(b){for(var _=ms(b),q=_.length;q--;){var se=_[q],be=b[se];_[q]=[se,be,Z3(be)]}return _}function Df(b,_){var q=function(se,be){return se==null?t:se[be]}(b,_);return g3(q)?q:t}var Hw=pw?function(b){return b==null?[]:(b=Gt(b),Cc(pw(b),function(_){return oo.call(b,_)}))}:uB,K3=pw?function(b){for(var _=[];b;)Ec(_,Hw(b)),b=$i(b);return _}:uB,Ys=sc;function z3(b,_,q){for(var se=-1,be=(_=Ih(_,b)).length,ze=!1;++se<be;){var ft=Sl(_[se]);if(!(ze=b!=null&&q(b,ft)))break;b=b[ft]}return ze||++se!=be?ze:!!(be=b==null?0:b.length)&&SI(be)&&gA(ft,be)&&(Ii(b)||Ff(b))}function V3(b){return typeof b.constructor!="function"||Yp(b)?{}:sg($i(b))}function k4(b){return Ii(b)||Ff(b)||!!(ko&&b&&b[ko])}function gA(b,_){var q=typeof b;return!!(_=_??h)&&(q=="number"||q!="symbol"&&_e.test(b))&&b>-1&&b%1==0&&b<_}function cc(b,_,q){if(!mo(q))return!1;var se=typeof _;return!!(se=="number"?Bc(q)&&gA(_,q.length):se=="string"&&_ in q)&&Ju(q[_],b)}function Yw(b,_){if(Ii(b))return!1;var q=typeof b;return!(q!="number"&&q!="symbol"&&q!="boolean"&&b!=null&&!zc(b))||Z.test(b)||!At.test(b)||_!=null&&b in Gt(_)}function Jw(b){var _=bI(b),q=Te[_];if(typeof q!="function"||!(_ in Pi.prototype))return!1;if(b===q)return!0;var se=Uw(q);return!!se&&b===se[0]}(vw&&Ys(new vw(new ArrayBuffer(1)))!=Q||Np&&Ys(new Np)!=R||mw&&Ys(mw.resolve())!=W||ag&&Ys(new ag)!=X||Mp&&Ys(new Mp)!=C)&&(Ys=function(b){var _=sc(b),q=_==j?b.constructor:t,se=q?Rf(q):"";if(se)switch(se){case s4:return Q;case c4:return R;case u4:return W;case l4:return X;case A4:return C}return _});var x4=Xn?pA:lB;function Yp(b){var _=b&&b.constructor;return b===(typeof _=="function"&&_.prototype||Yn)}function Z3(b){return b==b&&!mo(b)}function X3(b,_){return function(q){return q!=null&&q[b]===_&&(_!==t||b in Gt(q))}}function $3(b,_,q){return _=is(_===t?b.length-1:_,0),function(){for(var se=arguments,be=-1,ze=is(se.length-_,0),ft=et(ze);++be<ze;)ft[be]=se[_+be];be=-1;for(var Ct=et(_+1);++be<_;)Ct[be]=se[be];return Ct[_]=q(ft),ts(b,this,Ct)}}function e5(b,_){return _.length<2?b:_f(b,gu(_,0,-1))}function qw(b,_){if((_!=="constructor"||typeof b[_]!="function")&&_!="__proto__")return b[_]}var t5=n5(w3),Jp=Fp||function(b,_){return Na.setTimeout(b,_)},Ww=n5(b4);function r5(b,_,q){var se=_+"";return Ww(b,function(be,ze){var ft=ze.length;if(!ft)return be;var Ct=ft-1;return ze[Ct]=(ft>1?"& ":"")+ze[Ct],ze=ze.join(ft>2?", ":" "),be.replace(ot,`{
  138. /* [wrapped with `+ze+`] */
  139. `)}(se,function(be,ze){return Mo(g,function(ft){var Ct="_."+ft[0];ze&ft[1]&&!ks(be,Ct)&&be.push(Ct)}),be.sort()}(function(be){var ze=be.match(pt);return ze?ze[1].split(Be):[]}(se),q)))}function n5(b){var _=0,q=0;return function(){var se=i4(),be=16-(se-q);if(q=se,be>0){if(++_>=800)return arguments[0]}else _=0;return b.apply(t,arguments)}}function EI(b,_){var q=-1,se=b.length,be=se-1;for(_=_===t?se:_;++q<_;){var ze=Sw(q,be),ft=b[ze];b[ze]=b[q],b[q]=ft}return b.length=_,b}var i5,Kw,zw,a5=(i5=function(b){var _=[];return b.charCodeAt(0)===46&&_.push(""),b.replace(ce,function(q,se,be,ze){_.push(be?ze.replace(yt,"$1"):se||q)}),_},Kw=kI(i5,function(b){return zw.size===500&&zw.clear(),b}),zw=Kw.cache,Kw);function Sl(b){if(typeof b=="string"||zc(b))return b;var _=b+"";return _=="0"&&1/b==-1/0?"-0":_}function Rf(b){if(b!=null){try{return ni.call(b)}catch{}try{return b+""}catch{}}return""}function o5(b){if(b instanceof Pi)return b.clone();var _=new fu(b.__wrapped__,b.__chain__);return _.__actions__=wc(b.__actions__),_.__index__=b.__index__,_.__values__=b.__values__,_}var S4=Di(function(b,_){return To(b)?Pp(b,Ss(_,1,To,!0)):[]}),_4=Di(function(b,_){var q=pu(_);return To(q)&&(q=t),To(b)?Pp(b,Ss(_,1,To,!0),ii(q,2)):[]}),D4=Di(function(b,_){var q=pu(_);return To(q)&&(q=t),To(b)?Pp(b,Ss(_,1,To,!0),t,q):[]});function s5(b,_,q){var se=b==null?0:b.length;if(!se)return-1;var be=q==null?0:ki(q);return be<0&&(be=is(se+be,0)),Yc(b,ii(_,3),be)}function c5(b,_,q){var se=b==null?0:b.length;if(!se)return-1;var be=se-1;return q!==t&&(be=ki(q),be=q<0?is(se+be,0):Hs(be,se-1)),Yc(b,ii(_,3),be,!0)}function u5(b){return b!=null&&b.length?Ss(b,1):[]}function l5(b){return b&&b.length?b[0]:t}var R4=Di(function(b){var _=Ia(b,Nw);return _.length&&_[0]===b[0]?ww(_):[]}),F4=Di(function(b){var _=pu(b),q=Ia(b,Nw);return _===pu(q)?_=t:q.pop(),q.length&&q[0]===b[0]?ww(q,ii(_,2)):[]}),N4=Di(function(b){var _=pu(b),q=Ia(b,Nw);return(_=typeof _=="function"?_:t)&&q.pop(),q.length&&q[0]===b[0]?ww(q,t,_):[]});function pu(b){var _=b==null?0:b.length;return _?b[_-1]:t}var M4=Di(A5);function A5(b,_){return b&&b.length&&_&&_.length?xw(b,_):b}var T4=dA(function(b,_){var q=b==null?0:b.length,se=Iw(b,_);return E3(b,Ia(_,function(be){return gA(be,q)?+be:be}).sort(F3)),se});function Vw(b){return b==null?b:o4.call(b)}var L4=Di(function(b){return yh(Ss(b,1,To,!0))}),O4=Di(function(b){var _=pu(b);return To(_)&&(_=t),yh(Ss(b,1,To,!0),ii(_,2))}),P4=Di(function(b){var _=pu(b);return _=typeof _=="function"?_:t,yh(Ss(b,1,To,!0),t,_)});function Zw(b){if(!b||!b.length)return[];var _=0;return b=Cc(b,function(q){if(To(q))return _=is(q.length,_),!0}),Ql(_,function(q){return Ia(b,Jc(q))})}function h5(b,_){if(!b||!b.length)return[];var q=Zw(b);return _==null?q:Ia(q,function(se){return ts(_,t,se)})}var G4=Di(function(b,_){return To(b)?Pp(b,_):[]}),U4=Di(function(b){return Fw(Cc(b,To))}),j4=Di(function(b){var _=pu(b);return To(_)&&(_=t),Fw(Cc(b,To),ii(_,2))}),H4=Di(function(b){var _=pu(b);return _=typeof _=="function"?_:t,Fw(Cc(b,To),t,_)}),Y4=Di(Zw),J4=Di(function(b){var _=b.length,q=_>1?b[_-1]:t;return q=typeof q=="function"?(b.pop(),q):t,h5(b,q)});function f5(b){var _=Te(b);return _.__chain__=!0,_}function wI(b,_){return _(b)}var q4=dA(function(b){var _=b.length,q=_?b[0]:0,se=this.__wrapped__,be=function(ze){return Iw(ze,b)};return!(_>1||this.__actions__.length)&&se instanceof Pi&&gA(q)?((se=se.slice(q,+q+(_?1:0))).__actions__.push({func:wI,args:[be],thisArg:t}),new fu(se,this.__chain__).thru(function(ze){return _&&!ze.length&&ze.push(t),ze})):this.thru(be)}),W4=pI(function(b,_,q){Cn.call(b,q)?++b[q]:hA(b,q,1)}),K4=P3(s5),z4=P3(c5);function d5(b,_){return(Ii(b)?Mo:mh)(b,ii(_,3))}function g5(b,_){return(Ii(b)?Au:l3)(b,ii(_,3))}var V4=pI(function(b,_,q){Cn.call(b,q)?b[q].push(_):hA(b,q,[_])}),Z4=Di(function(b,_,q){var se=-1,be=typeof _=="function",ze=Bc(b)?et(b.length):[];return mh(b,function(ft){ze[++se]=be?ts(_,ft,q):Gp(ft,_,q)}),ze}),X4=pI(function(b,_,q){hA(b,q,_)});function BI(b,_){return(Ii(b)?Ia:v3)(b,ii(_,3))}var $4=pI(function(b,_,q){b[q?0:1].push(_)},function(){return[[],[]]}),ek=Di(function(b,_){if(b==null)return[];var q=_.length;return q>1&&cc(b,_[0],_[1])?_=[]:q>2&&cc(_[0],_[1],_[2])&&(_=[_[0]]),b3(b,Ss(_,1),[])}),QI=Wc||function(){return Na.Date.now()};function p5(b,_,q){return _=q?t:_,_=b&&_==null?b.length:_,fA(b,u,t,t,t,t,_)}function v5(b,_){var q;if(typeof _!="function")throw new qr(n);return b=ki(b),function(){return--b>0&&(q=_.apply(this,arguments)),b<=1&&(_=t),q}}var Xw=Di(function(b,_,q){var se=1;if(q.length){var be=Yi(q,lg(Xw));se|=i}return fA(b,se,_,q,be)}),m5=Di(function(b,_,q){var se=3;if(q.length){var be=Yi(q,lg(m5));se|=i}return fA(_,se,b,q,be)});function y5(b,_,q){var se,be,ze,ft,Ct,Ot,gr=0,vr=!1,jr=!1,Rn=!0;if(typeof b!="function")throw new qr(n);function Tn(dn){var Ci=se,fi=be;return se=be=t,gr=dn,ft=b.apply(fi,Ci)}function zn(dn){var Ci=dn-Ot;return Ot===t||Ci>=_||Ci<0||jr&&dn-gr>=ze}function kr(){var dn=QI();if(zn(dn))return an(dn);Ct=Jp(kr,function(Ci){var fi=_-(Ci-Ot);return jr?Hs(fi,ze-(Ci-gr)):fi}(dn))}function an(dn){return Ct=t,Rn&&se?Tn(dn):(se=be=t,ft)}function oi(){var dn=QI(),Ci=zn(dn);if(se=arguments,be=this,Ot=dn,Ci){if(Ct===t)return function(fi){return gr=fi,Ct=Jp(kr,_),vr?Tn(fi):ft}(Ot);if(jr)return _3(Ct),Ct=Jp(kr,_),Tn(Ot)}return Ct===t&&(Ct=Jp(kr,_)),ft}return _=vu(_)||0,mo(q)&&(vr=!!q.leading,ze=(jr="maxWait"in q)?is(vu(q.maxWait)||0,_):ze,Rn="trailing"in q?!!q.trailing:Rn),oi.cancel=function(){Ct!==t&&_3(Ct),gr=0,se=Ot=be=Ct=t},oi.flush=function(){return Ct===t?ft:an(QI())},oi}var tk=Di(function(b,_){return u3(b,1,_)}),rk=Di(function(b,_,q){return u3(b,vu(_)||0,q)});function kI(b,_){if(typeof b!="function"||_!=null&&typeof _!="function")throw new qr(n);var q=function se(){var be=arguments,ze=_?_.apply(this,be):be[0],ft=se.cache;if(ft.has(ze))return ft.get(ze);var Ct=b.apply(this,be);return se.cache=ft.set(ze,Ct)||ft,Ct};return q.cache=new(kI.Cache||AA),q}function xI(b){if(typeof b!="function")throw new qr(n);return function(){var _=arguments;switch(_.length){case 0:return!b.call(this);case 1:return!b.call(this,_[0]);case 2:return!b.call(this,_[0],_[1]);case 3:return!b.call(this,_[0],_[1],_[2])}return!b.apply(this,_)}}kI.Cache=AA;var nk=w4(function(b,_){var q=(_=_.length==1&&Ii(_[0])?Ia(_[0],rs(ii())):Ia(Ss(_,1),rs(ii()))).length;return Di(function(se){for(var be=-1,ze=Hs(se.length,q);++be<ze;)se[be]=_[be].call(this,se[be]);return ts(b,this,se)})}),$w=Di(function(b,_){var q=Yi(_,lg($w));return fA(b,i,t,_,q)}),I5=Di(function(b,_){var q=Yi(_,lg(I5));return fA(b,c,t,_,q)}),ik=dA(function(b,_){return fA(b,l,t,t,t,_)});function Ju(b,_){return b===_||b!=b&&_!=_}var ak=II(Ew),ok=II(function(b,_){return b>=_}),Ff=d3(function(){return arguments}())?d3:function(b){return xo(b)&&Cn.call(b,"callee")&&!oo.call(b,"callee")},Ii=et.isArray,sk=Il?rs(Il):function(b){return xo(b)&&sc(b)==w};function Bc(b){return b!=null&&SI(b.length)&&!pA(b)}function To(b){return xo(b)&&Bc(b)}var Ch=t4||lB,ck=lh?rs(lh):function(b){return xo(b)&&sc(b)==y};function eB(b){if(!xo(b))return!1;var _=sc(b);return _==I||_=="[object DOMException]"||typeof b.message=="string"&&typeof b.name=="string"&&!qp(b)}function pA(b){if(!mo(b))return!1;var _=sc(b);return _==E||_==k||_=="[object AsyncFunction]"||_=="[object Proxy]"}function b5(b){return typeof b=="number"&&b==ki(b)}function SI(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=h}function mo(b){var _=typeof b;return b!=null&&(_=="object"||_=="function")}function xo(b){return b!=null&&typeof b=="object"}var C5=bl?rs(bl):function(b){return xo(b)&&Ys(b)==R};function E5(b){return typeof b=="number"||xo(b)&&sc(b)==T}function qp(b){if(!xo(b)||sc(b)!=j)return!1;var _=$i(b);if(_===null)return!0;var q=Cn.call(_,"constructor")&&_.constructor;return typeof q=="function"&&q instanceof q&&ni.call(q)==Xi}var tB=Ah?rs(Ah):function(b){return xo(b)&&sc(b)==H},w5=sA?rs(sA):function(b){return xo(b)&&Ys(b)==X};function _I(b){return typeof b=="string"||!Ii(b)&&xo(b)&&sc(b)==x}function zc(b){return typeof b=="symbol"||xo(b)&&sc(b)==N}var Ag=hh?rs(hh):function(b){return xo(b)&&SI(b.length)&&!!ri[sc(b)]},uk=II(kw),lk=II(function(b,_){return b<=_});function B5(b){if(!b)return[];if(Bc(b))return _I(b)?ha(b):wc(b);if(Xa&&b[Xa])return function(q){for(var se,be=[];!(se=q.next()).done;)be.push(se.value);return be}(b[Xa]());var _=Ys(b);return(_==R?ao:_==X?Qo:hg)(b)}function vA(b){return b?(b=vu(b))===A||b===-1/0?17976931348623157e292*(b<0?-1:1):b==b?b:0:b===0?b:0}function ki(b){var _=vA(b),q=_%1;return _==_?q?_-q:_:0}function Q5(b){return b?Sf(ki(b),0,d):0}function vu(b){if(typeof b=="number")return b;if(zc(b))return f;if(mo(b)){var _=typeof b.valueOf=="function"?b.valueOf():b;b=mo(_)?_+"":_}if(typeof b!="string")return b===0?b:+b;b=uA(b);var q=Ze.test(b);return q||Pe.test(b)?Qs(b.slice(2),q?2:8):Re.test(b)?f:+b}function k5(b){return xl(b,Qc(b))}function ba(b){return b==null?"":Kc(b)}var Ak=cg(function(b,_){if(Yp(_)||Bc(_))xl(_,ms(_),b);else for(var q in _)Cn.call(_,q)&&Op(b,q,_[q])}),x5=cg(function(b,_){xl(_,Qc(_),b)}),DI=cg(function(b,_,q,se){xl(_,Qc(_),b,se)}),hk=cg(function(b,_,q,se){xl(_,ms(_),b,se)}),fk=dA(Iw),dk=Di(function(b,_){b=Gt(b);var q=-1,se=_.length,be=se>2?_[2]:t;for(be&&cc(_[0],_[1],be)&&(se=1);++q<se;)for(var ze=_[q],ft=Qc(ze),Ct=-1,Ot=ft.length;++Ct<Ot;){var gr=ft[Ct],vr=b[gr];(vr===t||Ju(vr,Yn[gr])&&!Cn.call(b,gr))&&(b[gr]=ze[gr])}return b}),gk=Di(function(b){return b.push(t,q3),ts(S5,t,b)});function rB(b,_,q){var se=b==null?t:_f(b,_);return se===t?q:se}function nB(b,_){return b!=null&&z3(b,_,v4)}var pk=U3(function(b,_,q){_!=null&&typeof _.toString!="function"&&(_=Ha.call(_)),b[_]=q},aB(kc)),vk=U3(function(b,_,q){_!=null&&typeof _.toString!="function"&&(_=Ha.call(_)),Cn.call(b,_)?b[_].push(q):b[_]=[q]},ii),mk=Di(Gp);function ms(b){return Bc(b)?a3(b):Qw(b)}function Qc(b){return Bc(b)?a3(b,!0):m4(b)}var yk=cg(function(b,_,q){fI(b,_,q)}),S5=cg(function(b,_,q,se){fI(b,_,q,se)}),Ik=dA(function(b,_){var q={};if(b==null)return q;var se=!1;_=Ia(_,function(ze){return ze=Ih(ze,b),se||(se=ze.length>1),ze}),xl(b,Gw(b),q),se&&(q=du(q,7,Q4));for(var be=_.length;be--;)Rw(q,_[be]);return q}),bk=dA(function(b,_){return b==null?{}:function(q,se){return C3(q,se,function(be,ze){return nB(q,ze)})}(b,_)});function _5(b,_){if(b==null)return{};var q=Ia(Gw(b),function(se){return[se]});return _=ii(_),C3(b,q,function(se,be){return _(se,be[0])})}var D5=Y3(ms),R5=Y3(Qc);function hg(b){return b==null?[]:$e(b,ms(b))}var Ck=ug(function(b,_,q){return _=_.toLowerCase(),b+(q?F5(_):_)});function F5(b){return iB(ba(b).toLowerCase())}function N5(b){return(b=ba(b))&&b.replace(Je,ra).replace(Bi,"")}var Ek=ug(function(b,_,q){return b+(q?"-":"")+_.toLowerCase()}),wk=ug(function(b,_,q){return b+(q?" ":"")+_.toLowerCase()}),Bk=O3("toLowerCase"),Qk=ug(function(b,_,q){return b+(q?"_":"")+_.toLowerCase()}),kk=ug(function(b,_,q){return b+(q?" ":"")+iB(_)}),xk=ug(function(b,_,q){return b+(q?" ":"")+_.toUpperCase()}),iB=O3("toUpperCase");function M5(b,_,q){return b=ba(b),(_=q?t:_)===t?function(se){return Ro.test(se)}(b)?function(se){return se.match(Va)||[]}(b):function(se){return se.match(Ee)||[]}(b):b.match(_)||[]}var T5=Di(function(b,_){try{return ts(b,t,_)}catch(q){return eB(q)?q:new xe(q)}}),Sk=dA(function(b,_){return Mo(_,function(q){q=Sl(q),hA(b,q,Xw(b[q],b))}),b});function aB(b){return function(){return b}}var _k=G3(),Dk=G3(!0);function kc(b){return b}function oB(b){return p3(typeof b=="function"?b:du(b,1))}var Rk=Di(function(b,_){return function(q){return Gp(q,b,_)}}),Fk=Di(function(b,_){return function(q){return Gp(b,q,_)}});function sB(b,_,q){var se=ms(_),be=hI(_,se);q!=null||mo(_)&&(be.length||!se.length)||(q=_,_=b,b=this,be=hI(_,ms(_)));var ze=!(mo(q)&&"chain"in q&&!q.chain),ft=pA(b);return Mo(be,function(Ct){var Ot=_[Ct];b[Ct]=Ot,ft&&(b.prototype[Ct]=function(){var gr=this.__chain__;if(ze||gr){var vr=b(this.__wrapped__);return(vr.__actions__=wc(this.__actions__)).push({func:Ot,args:arguments,thisArg:b}),vr.__chain__=gr,vr}return Ot.apply(b,Ec([this.value()],arguments))})}),b}function cB(){}var Nk=Lw(Ia),Mk=Lw(dh),Tk=Lw(oc);function L5(b){return Yw(b)?Jc(Sl(b)):function(_){return function(q){return _f(q,_)}}(b)}var Lk=j3(),Ok=j3(!0);function uB(){return[]}function lB(){return!1}var Pk=mI(function(b,_){return b+_},0),Gk=Ow("ceil"),Uk=mI(function(b,_){return b/_},1),jk=Ow("floor"),AB,Hk=mI(function(b,_){return b*_},1),Yk=Ow("round"),Jk=mI(function(b,_){return b-_},0);return Te.after=function(b,_){if(typeof _!="function")throw new qr(n);return b=ki(b),function(){if(--b<1)return _.apply(this,arguments)}},Te.ary=p5,Te.assign=Ak,Te.assignIn=x5,Te.assignInWith=DI,Te.assignWith=hk,Te.at=fk,Te.before=v5,Te.bind=Xw,Te.bindAll=Sk,Te.bindKey=m5,Te.castArray=function(){if(!arguments.length)return[];var b=arguments[0];return Ii(b)?b:[b]},Te.chain=f5,Te.chunk=function(b,_,q){_=(q?cc(b,_,q):_===t)?1:is(ki(_),0);var se=b==null?0:b.length;if(!se||_<1)return[];for(var be=0,ze=0,ft=et(aI(se/_));be<se;)ft[ze++]=gu(b,be,be+=_);return ft},Te.compact=function(b){for(var _=-1,q=b==null?0:b.length,se=0,be=[];++_<q;){var ze=b[_];ze&&(be[se++]=ze)}return be},Te.concat=function(){var b=arguments.length;if(!b)return[];for(var _=et(b-1),q=arguments[0],se=b;se--;)_[se-1]=arguments[se];return Ec(Ii(q)?wc(q):[q],Ss(_,1))},Te.cond=function(b){var _=b==null?0:b.length,q=ii();return b=_?Ia(b,function(se){if(typeof se[1]!="function")throw new qr(n);return[q(se[0]),se[1]]}):[],Di(function(se){for(var be=-1;++be<_;){var ze=b[be];if(ts(ze[0],this,se))return ts(ze[1],this,se)}})},Te.conforms=function(b){return function(_){var q=ms(_);return function(se){return c3(se,_,q)}}(du(b,1))},Te.constant=aB,Te.countBy=W4,Te.create=function(b,_){var q=sg(b);return _==null?q:s3(q,_)},Te.curry=function b(_,q,se){var be=fA(_,8,t,t,t,t,t,q=se?t:q);return be.placeholder=b.placeholder,be},Te.curryRight=function b(_,q,se){var be=fA(_,o,t,t,t,t,t,q=se?t:q);return be.placeholder=b.placeholder,be},Te.debounce=y5,Te.defaults=dk,Te.defaultsDeep=gk,Te.defer=tk,Te.delay=rk,Te.difference=S4,Te.differenceBy=_4,Te.differenceWith=D4,Te.drop=function(b,_,q){var se=b==null?0:b.length;return se?gu(b,(_=q||_===t?1:ki(_))<0?0:_,se):[]},Te.dropRight=function(b,_,q){var se=b==null?0:b.length;return se?gu(b,0,(_=se-(_=q||_===t?1:ki(_)))<0?0:_):[]},Te.dropRightWhile=function(b,_){return b&&b.length?gI(b,ii(_,3),!0,!0):[]},Te.dropWhile=function(b,_){return b&&b.length?gI(b,ii(_,3),!0):[]},Te.fill=function(b,_,q,se){var be=b==null?0:b.length;return be?(q&&typeof q!="number"&&cc(b,_,q)&&(q=0,se=be),function(ze,ft,Ct,Ot){var gr=ze.length;for((Ct=ki(Ct))<0&&(Ct=-Ct>gr?0:gr+Ct),(Ot=Ot===t||Ot>gr?gr:ki(Ot))<0&&(Ot+=gr),Ot=Ct>Ot?0:Q5(Ot);Ct<Ot;)ze[Ct++]=ft;return ze}(b,_,q,se)):[]},Te.filter=function(b,_){return(Ii(b)?Cc:A3)(b,ii(_,3))},Te.flatMap=function(b,_){return Ss(BI(b,_),1)},Te.flatMapDeep=function(b,_){return Ss(BI(b,_),A)},Te.flatMapDepth=function(b,_,q){return q=q===t?1:ki(q),Ss(BI(b,_),q)},Te.flatten=u5,Te.flattenDeep=function(b){return b!=null&&b.length?Ss(b,A):[]},Te.flattenDepth=function(b,_){return b!=null&&b.length?Ss(b,_=_===t?1:ki(_)):[]},Te.flip=function(b){return fA(b,512)},Te.flow=_k,Te.flowRight=Dk,Te.fromPairs=function(b){for(var _=-1,q=b==null?0:b.length,se={};++_<q;){var be=b[_];se[be[0]]=be[1]}return se},Te.functions=function(b){return b==null?[]:hI(b,ms(b))},Te.functionsIn=function(b){return b==null?[]:hI(b,Qc(b))},Te.groupBy=V4,Te.initial=function(b){return b!=null&&b.length?gu(b,0,-1):[]},Te.intersection=R4,Te.intersectionBy=F4,Te.intersectionWith=N4,Te.invert=pk,Te.invertBy=vk,Te.invokeMap=Z4,Te.iteratee=oB,Te.keyBy=X4,Te.keys=ms,Te.keysIn=Qc,Te.map=BI,Te.mapKeys=function(b,_){var q={};return _=ii(_,3),kl(b,function(se,be,ze){hA(q,_(se,be,ze),se)}),q},Te.mapValues=function(b,_){var q={};return _=ii(_,3),kl(b,function(se,be,ze){hA(q,be,_(se,be,ze))}),q},Te.matches=function(b){return m3(du(b,1))},Te.matchesProperty=function(b,_){return y3(b,du(_,1))},Te.memoize=kI,Te.merge=yk,Te.mergeWith=S5,Te.method=Rk,Te.methodOf=Fk,Te.mixin=sB,Te.negate=xI,Te.nthArg=function(b){return b=ki(b),Di(function(_){return I3(_,b)})},Te.omit=Ik,Te.omitBy=function(b,_){return _5(b,xI(ii(_)))},Te.once=function(b){return v5(2,b)},Te.orderBy=function(b,_,q,se){return b==null?[]:(Ii(_)||(_=_==null?[]:[_]),Ii(q=se?t:q)||(q=q==null?[]:[q]),b3(b,_,q))},Te.over=Nk,Te.overArgs=nk,Te.overEvery=Mk,Te.overSome=Tk,Te.partial=$w,Te.partialRight=I5,Te.partition=$4,Te.pick=bk,Te.pickBy=_5,Te.property=L5,Te.propertyOf=function(b){return function(_){return b==null?t:_f(b,_)}},Te.pull=M4,Te.pullAll=A5,Te.pullAllBy=function(b,_,q){return b&&b.length&&_&&_.length?xw(b,_,ii(q,2)):b},Te.pullAllWith=function(b,_,q){return b&&b.length&&_&&_.length?xw(b,_,t,q):b},Te.pullAt=T4,Te.range=Lk,Te.rangeRight=Ok,Te.rearg=ik,Te.reject=function(b,_){return(Ii(b)?Cc:A3)(b,xI(ii(_,3)))},Te.remove=function(b,_){var q=[];if(!b||!b.length)return q;var se=-1,be=[],ze=b.length;for(_=ii(_,3);++se<ze;){var ft=b[se];_(ft,se,b)&&(q.push(ft),be.push(se))}return E3(b,be),q},Te.rest=function(b,_){if(typeof b!="function")throw new qr(n);return Di(b,_=_===t?_:ki(_))},Te.reverse=Vw,Te.sampleSize=function(b,_,q){return _=(q?cc(b,_,q):_===t)?1:ki(_),(Ii(b)?h4:I4)(b,_)},Te.set=function(b,_,q){return b==null?b:jp(b,_,q)},Te.setWith=function(b,_,q,se){return se=typeof se=="function"?se:t,b==null?b:jp(b,_,q,se)},Te.shuffle=function(b){return(Ii(b)?f4:C4)(b)},Te.slice=function(b,_,q){var se=b==null?0:b.length;return se?(q&&typeof q!="number"&&cc(b,_,q)?(_=0,q=se):(_=_==null?0:ki(_),q=q===t?se:ki(q)),gu(b,_,q)):[]},Te.sortBy=ek,Te.sortedUniq=function(b){return b&&b.length?B3(b):[]},Te.sortedUniqBy=function(b,_){return b&&b.length?B3(b,ii(_,2)):[]},Te.split=function(b,_,q){return q&&typeof q!="number"&&cc(b,_,q)&&(_=q=t),(q=q===t?d:q>>>0)?(b=ba(b))&&(typeof _=="string"||_!=null&&!tB(_))&&!(_=Kc(_))&&Aa(b)?bh(ha(b),0,q):b.split(_,q):[]},Te.spread=function(b,_){if(typeof b!="function")throw new qr(n);return _=_==null?0:is(ki(_),0),Di(function(q){var se=q[_],be=bh(q,0,_);return se&&Ec(be,se),ts(b,this,be)})},Te.tail=function(b){var _=b==null?0:b.length;return _?gu(b,1,_):[]},Te.take=function(b,_,q){return b&&b.length?gu(b,0,(_=q||_===t?1:ki(_))<0?0:_):[]},Te.takeRight=function(b,_,q){var se=b==null?0:b.length;return se?gu(b,(_=se-(_=q||_===t?1:ki(_)))<0?0:_,se):[]},Te.takeRightWhile=function(b,_){return b&&b.length?gI(b,ii(_,3),!1,!0):[]},Te.takeWhile=function(b,_){return b&&b.length?gI(b,ii(_,3)):[]},Te.tap=function(b,_){return _(b),b},Te.throttle=function(b,_,q){var se=!0,be=!0;if(typeof b!="function")throw new qr(n);return mo(q)&&(se="leading"in q?!!q.leading:se,be="trailing"in q?!!q.trailing:be),y5(b,_,{leading:se,maxWait:_,trailing:be})},Te.thru=wI,Te.toArray=B5,Te.toPairs=D5,Te.toPairsIn=R5,Te.toPath=function(b){return Ii(b)?Ia(b,Sl):zc(b)?[b]:wc(a5(ba(b)))},Te.toPlainObject=k5,Te.transform=function(b,_,q){var se=Ii(b),be=se||Ch(b)||Ag(b);if(_=ii(_,4),q==null){var ze=b&&b.constructor;q=be?se?new ze:[]:mo(b)&&pA(ze)?sg($i(b)):{}}return(be?Mo:kl)(b,function(ft,Ct,Ot){return _(q,ft,Ct,Ot)}),q},Te.unary=function(b){return p5(b,1)},Te.union=L4,Te.unionBy=O4,Te.unionWith=P4,Te.uniq=function(b){return b&&b.length?yh(b):[]},Te.uniqBy=function(b,_){return b&&b.length?yh(b,ii(_,2)):[]},Te.uniqWith=function(b,_){return _=typeof _=="function"?_:t,b&&b.length?yh(b,t,_):[]},Te.unset=function(b,_){return b==null||Rw(b,_)},Te.unzip=Zw,Te.unzipWith=h5,Te.update=function(b,_,q){return b==null?b:k3(b,_,Mw(q))},Te.updateWith=function(b,_,q,se){return se=typeof se=="function"?se:t,b==null?b:k3(b,_,Mw(q),se)},Te.values=hg,Te.valuesIn=function(b){return b==null?[]:$e(b,Qc(b))},Te.without=G4,Te.words=M5,Te.wrap=function(b,_){return $w(Mw(_),b)},Te.xor=U4,Te.xorBy=j4,Te.xorWith=H4,Te.zip=Y4,Te.zipObject=function(b,_){return S3(b||[],_||[],Op)},Te.zipObjectDeep=function(b,_){return S3(b||[],_||[],jp)},Te.zipWith=J4,Te.entries=D5,Te.entriesIn=R5,Te.extend=x5,Te.extendWith=DI,sB(Te,Te),Te.add=Pk,Te.attempt=T5,Te.camelCase=Ck,Te.capitalize=F5,Te.ceil=Gk,Te.clamp=function(b,_,q){return q===t&&(q=_,_=t),q!==t&&(q=(q=vu(q))==q?q:0),_!==t&&(_=(_=vu(_))==_?_:0),Sf(vu(b),_,q)},Te.clone=function(b){return du(b,4)},Te.cloneDeep=function(b){return du(b,5)},Te.cloneDeepWith=function(b,_){return du(b,5,_=typeof _=="function"?_:t)},Te.cloneWith=function(b,_){return du(b,4,_=typeof _=="function"?_:t)},Te.conformsTo=function(b,_){return _==null||c3(b,_,ms(_))},Te.deburr=N5,Te.defaultTo=function(b,_){return b==null||b!=b?_:b},Te.divide=Uk,Te.endsWith=function(b,_,q){b=ba(b),_=Kc(_);var se=b.length,be=q=q===t?se:Sf(ki(q),0,se);return(q-=_.length)>=0&&b.slice(q,be)==_},Te.eq=Ju,Te.escape=function(b){return(b=ba(b))&&de.test(b)?b.replace(te,ui):b},Te.escapeRegExp=function(b){return(b=ba(b))&&Ve.test(b)?b.replace(ye,"\\$&"):b},Te.every=function(b,_,q){var se=Ii(b)?dh:g4;return q&&cc(b,_,q)&&(_=t),se(b,ii(_,3))},Te.find=K4,Te.findIndex=s5,Te.findKey=function(b,_){return ju(b,ii(_,3),kl)},Te.findLast=z4,Te.findLastIndex=c5,Te.findLastKey=function(b,_){return ju(b,ii(_,3),Cw)},Te.floor=jk,Te.forEach=d5,Te.forEachRight=g5,Te.forIn=function(b,_){return b==null?b:bw(b,ii(_,3),Qc)},Te.forInRight=function(b,_){return b==null?b:h3(b,ii(_,3),Qc)},Te.forOwn=function(b,_){return b&&kl(b,ii(_,3))},Te.forOwnRight=function(b,_){return b&&Cw(b,ii(_,3))},Te.get=rB,Te.gt=ak,Te.gte=ok,Te.has=function(b,_){return b!=null&&z3(b,_,p4)},Te.hasIn=nB,Te.head=l5,Te.identity=kc,Te.includes=function(b,_,q,se){b=Bc(b)?b:hg(b),q=q&&!se?ki(q):0;var be=b.length;return q<0&&(q=is(be+q,0)),_I(b)?q<=be&&b.indexOf(_,q)>-1:!!be&&xs(b,_,q)>-1},Te.indexOf=function(b,_,q){var se=b==null?0:b.length;if(!se)return-1;var be=q==null?0:ki(q);return be<0&&(be=is(se+be,0)),xs(b,_,be)},Te.inRange=function(b,_,q){return _=vA(_),q===t?(q=_,_=0):q=vA(q),function(se,be,ze){return se>=Hs(be,ze)&&se<is(be,ze)}(b=vu(b),_,q)},Te.invoke=mk,Te.isArguments=Ff,Te.isArray=Ii,Te.isArrayBuffer=sk,Te.isArrayLike=Bc,Te.isArrayLikeObject=To,Te.isBoolean=function(b){return b===!0||b===!1||xo(b)&&sc(b)==v},Te.isBuffer=Ch,Te.isDate=ck,Te.isElement=function(b){return xo(b)&&b.nodeType===1&&!qp(b)},Te.isEmpty=function(b){if(b==null)return!0;if(Bc(b)&&(Ii(b)||typeof b=="string"||typeof b.splice=="function"||Ch(b)||Ag(b)||Ff(b)))return!b.length;var _=Ys(b);if(_==R||_==X)return!b.size;if(Yp(b))return!Qw(b).length;for(var q in b)if(Cn.call(b,q))return!1;return!0},Te.isEqual=function(b,_){return Up(b,_)},Te.isEqualWith=function(b,_,q){var se=(q=typeof q=="function"?q:t)?q(b,_):t;return se===t?Up(b,_,t,q):!!se},Te.isError=eB,Te.isFinite=function(b){return typeof b=="number"&&r3(b)},Te.isFunction=pA,Te.isInteger=b5,Te.isLength=SI,Te.isMap=C5,Te.isMatch=function(b,_){return b===_||Bw(b,_,jw(_))},Te.isMatchWith=function(b,_,q){return q=typeof q=="function"?q:t,Bw(b,_,jw(_),q)},Te.isNaN=function(b){return E5(b)&&b!=+b},Te.isNative=function(b){if(x4(b))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return g3(b)},Te.isNil=function(b){return b==null},Te.isNull=function(b){return b===null},Te.isNumber=E5,Te.isObject=mo,Te.isObjectLike=xo,Te.isPlainObject=qp,Te.isRegExp=tB,Te.isSafeInteger=function(b){return b5(b)&&b>=-9007199254740991&&b<=h},Te.isSet=w5,Te.isString=_I,Te.isSymbol=zc,Te.isTypedArray=Ag,Te.isUndefined=function(b){return b===t},Te.isWeakMap=function(b){return xo(b)&&Ys(b)==C},Te.isWeakSet=function(b){return xo(b)&&sc(b)=="[object WeakSet]"},Te.join=function(b,_){return b==null?"":r4.call(b,_)},Te.kebabCase=Ek,Te.last=pu,Te.lastIndexOf=function(b,_,q){var se=b==null?0:b.length;if(!se)return-1;var be=se;return q!==t&&(be=(be=ki(q))<0?is(se+be,0):Hs(be,se-1)),_==_?function(ze,ft,Ct){for(var Ot=Ct+1;Ot--;)if(ze[Ot]===ft)return Ot;return Ot}(b,_,be):Yc(b,vh,be,!0)},Te.lowerCase=wk,Te.lowerFirst=Bk,Te.lt=uk,Te.lte=lk,Te.max=function(b){return b&&b.length?AI(b,kc,Ew):t},Te.maxBy=function(b,_){return b&&b.length?AI(b,ii(_,2),Ew):t},Te.mean=function(b){return El(b,kc)},Te.meanBy=function(b,_){return El(b,ii(_,2))},Te.min=function(b){return b&&b.length?AI(b,kc,kw):t},Te.minBy=function(b,_){return b&&b.length?AI(b,ii(_,2),kw):t},Te.stubArray=uB,Te.stubFalse=lB,Te.stubObject=function(){return{}},Te.stubString=function(){return""},Te.stubTrue=function(){return!0},Te.multiply=Hk,Te.nth=function(b,_){return b&&b.length?I3(b,ki(_)):t},Te.noConflict=function(){return Na._===this&&(Na._=Ko),this},Te.noop=cB,Te.now=QI,Te.pad=function(b,_,q){b=ba(b);var se=(_=ki(_))?Ua(b):0;if(!_||se>=_)return b;var be=(_-se)/2;return yI(oI(be),q)+b+yI(aI(be),q)},Te.padEnd=function(b,_,q){b=ba(b);var se=(_=ki(_))?Ua(b):0;return _&&se<_?b+yI(_-se,q):b},Te.padStart=function(b,_,q){b=ba(b);var se=(_=ki(_))?Ua(b):0;return _&&se<_?yI(_-se,q)+b:b},Te.parseInt=function(b,_,q){return q||_==null?_=0:_&&(_=+_),a4(ba(b).replace(dt,""),_||0)},Te.random=function(b,_,q){if(q&&typeof q!="boolean"&&cc(b,_,q)&&(_=q=t),q===t&&(typeof _=="boolean"?(q=_,_=t):typeof b=="boolean"&&(q=b,b=t)),b===t&&_===t?(b=0,_=1):(b=vA(b),_===t?(_=b,b=0):_=vA(_)),b>_){var se=b;b=_,_=se}if(q||b%1||_%1){var be=n3();return Hs(b+be*(_-b+No("1e-"+((be+"").length-1))),_)}return Sw(b,_)},Te.reduce=function(b,_,q){var se=Ii(b)?cA:hu,be=arguments.length<3;return se(b,ii(_,4),q,be,mh)},Te.reduceRight=function(b,_,q){var se=Ii(b)?gh:hu,be=arguments.length<3;return se(b,ii(_,4),q,be,l3)},Te.repeat=function(b,_,q){return _=(q?cc(b,_,q):_===t)?1:ki(_),_w(ba(b),_)},Te.replace=function(){var b=arguments,_=ba(b[0]);return b.length<3?_:_.replace(b[1],b[2])},Te.result=function(b,_,q){var se=-1,be=(_=Ih(_,b)).length;for(be||(be=1,b=t);++se<be;){var ze=b==null?t:b[Sl(_[se])];ze===t&&(se=be,ze=q),b=pA(ze)?ze.call(b):ze}return b},Te.round=Yk,Te.runInContext=J,Te.sample=function(b){return(Ii(b)?o3:y4)(b)},Te.size=function(b){if(b==null)return 0;if(Bc(b))return _I(b)?Ua(b):b.length;var _=Ys(b);return _==R||_==X?b.size:Qw(b).length},Te.snakeCase=Qk,Te.some=function(b,_,q){var se=Ii(b)?oc:E4;return q&&cc(b,_,q)&&(_=t),se(b,ii(_,3))},Te.sortedIndex=function(b,_){return dI(b,_)},Te.sortedIndexBy=function(b,_,q){return Dw(b,_,ii(q,2))},Te.sortedIndexOf=function(b,_){var q=b==null?0:b.length;if(q){var se=dI(b,_);if(se<q&&Ju(b[se],_))return se}return-1},Te.sortedLastIndex=function(b,_){return dI(b,_,!0)},Te.sortedLastIndexBy=function(b,_,q){return Dw(b,_,ii(q,2),!0)},Te.sortedLastIndexOf=function(b,_){if(b!=null&&b.length){var q=dI(b,_,!0)-1;if(Ju(b[q],_))return q}return-1},Te.startCase=kk,Te.startsWith=function(b,_,q){return b=ba(b),q=q==null?0:Sf(ki(q),0,b.length),_=Kc(_),b.slice(q,q+_.length)==_},Te.subtract=Jk,Te.sum=function(b){return b&&b.length?Bl(b,kc):0},Te.sumBy=function(b,_){return b&&b.length?Bl(b,ii(_,2)):0},Te.template=function(b,_,q){var se=Te.templateSettings;q&&cc(b,_,q)&&(_=t),b=ba(b),_=DI({},_,se,J3);var be,ze,ft=DI({},_.imports,se.imports,J3),Ct=ms(ft),Ot=$e(ft,Ct),gr=0,vr=_.interpolate||at,jr="__p += '",Rn=Xt((_.escape||at).source+"|"+vr.source+"|"+(vr===Ce?pe:at).source+"|"+(_.evaluate||at).source+"|$","g"),Tn="//# sourceURL="+(Cn.call(_,"sourceURL")?(_.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fo+"]")+`
  140. `;b.replace(Rn,function(an,oi,dn,Ci,fi,na){return dn||(dn=Ci),jr+=b.slice(gr,na).replace(Dt,Hi),oi&&(be=!0,jr+=`' +
  141. __e(`+oi+`) +
  142. '`),fi&&(ze=!0,jr+=`';
  143. `+fi+`;
  144. __p += '`),dn&&(jr+=`' +
  145. ((__t = (`+dn+`)) == null ? '' : __t) +
  146. '`),gr=na+an.length,an}),jr+=`';
  147. `;var zn=Cn.call(_,"variable")&&_.variable;if(zn){if(Me.test(zn))throw new xe("Invalid `variable` option passed into `_.template`")}else jr=`with (obj) {
  148. `+jr+`
  149. }
  150. `;jr=(ze?jr.replace(Ne,""):jr).replace(Ge,"$1").replace(Ye,"$1;"),jr="function("+(zn||"obj")+`) {
  151. `+(zn?"":`obj || (obj = {});
  152. `)+"var __t, __p = ''"+(be?", __e = _.escape":"")+(ze?`, __j = Array.prototype.join;
  153. function print() { __p += __j.call(arguments, '') }
  154. `:`;
  155. `)+jr+`return __p
  156. }`;var kr=T5(function(){return tt(Ct,Tn+"return "+jr).apply(t,Ot)});if(kr.source=jr,eB(kr))throw kr;return kr},Te.times=function(b,_){if((b=ki(b))<1||b>h)return[];var q=d,se=Hs(b,d);_=ii(_),b-=d;for(var be=Ql(se,_);++q<b;)_(q);return be},Te.toFinite=vA,Te.toInteger=ki,Te.toLength=Q5,Te.toLower=function(b){return ba(b).toLowerCase()},Te.toNumber=vu,Te.toSafeInteger=function(b){return b?Sf(ki(b),-9007199254740991,h):b===0?b:0},Te.toString=ba,Te.toUpper=function(b){return ba(b).toUpperCase()},Te.trim=function(b,_,q){if((b=ba(b))&&(q||_===t))return uA(b);if(!b||!(_=Kc(_)))return b;var se=ha(b),be=ha(_);return bh(se,mr(se,be),pn(se,be)+1).join("")},Te.trimEnd=function(b,_,q){if((b=ba(b))&&(q||_===t))return b.slice(0,ns(b)+1);if(!b||!(_=Kc(_)))return b;var se=ha(b);return bh(se,0,pn(se,ha(_))+1).join("")},Te.trimStart=function(b,_,q){if((b=ba(b))&&(q||_===t))return b.replace(dt,"");if(!b||!(_=Kc(_)))return b;var se=ha(b);return bh(se,mr(se,ha(_))).join("")},Te.truncate=function(b,_){var q=30,se="...";if(mo(_)){var be="separator"in _?_.separator:be;q="length"in _?ki(_.length):q,se="omission"in _?Kc(_.omission):se}var ze=(b=ba(b)).length;if(Aa(b)){var ft=ha(b);ze=ft.length}if(q>=ze)return b;var Ct=q-Ua(se);if(Ct<1)return se;var Ot=ft?bh(ft,0,Ct).join(""):b.slice(0,Ct);if(be===t)return Ot+se;if(ft&&(Ct+=Ot.length-Ct),tB(be)){if(b.slice(Ct).search(be)){var gr,vr=Ot;for(be.global||(be=Xt(be.source,ba(me.exec(be))+"g")),be.lastIndex=0;gr=be.exec(vr);)var jr=gr.index;Ot=Ot.slice(0,jr===t?Ct:jr)}}else if(b.indexOf(Kc(be),Ct)!=Ct){var Rn=Ot.lastIndexOf(be);Rn>-1&&(Ot=Ot.slice(0,Rn))}return Ot+se},Te.unescape=function(b){return(b=ba(b))&&he.test(b)?b.replace(Ae,vs):b},Te.uniqueId=function(b){var _=++ja;return ba(b)+_},Te.upperCase=xk,Te.upperFirst=iB,Te.each=d5,Te.eachRight=g5,Te.first=l5,sB(Te,(AB={},kl(Te,function(b,_){Cn.call(Te.prototype,_)||(AB[_]=b)}),AB),{chain:!1}),Te.VERSION="4.17.21",Mo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(b){Te[b].placeholder=Te}),Mo(["drop","take"],function(b,_){Pi.prototype[b]=function(q){q=q===t?1:is(ki(q),0);var se=this.__filtered__&&!_?new Pi(this):this.clone();return se.__filtered__?se.__takeCount__=Hs(q,se.__takeCount__):se.__views__.push({size:Hs(q,d),type:b+(se.__dir__<0?"Right":"")}),se},Pi.prototype[b+"Right"]=function(q){return this.reverse()[b](q).reverse()}}),Mo(["filter","map","takeWhile"],function(b,_){var q=_+1,se=q==1||q==3;Pi.prototype[b]=function(be){var ze=this.clone();return ze.__iteratees__.push({iteratee:ii(be,3),type:q}),ze.__filtered__=ze.__filtered__||se,ze}}),Mo(["head","last"],function(b,_){var q="take"+(_?"Right":"");Pi.prototype[b]=function(){return this[q](1).value()[0]}}),Mo(["initial","tail"],function(b,_){var q="drop"+(_?"":"Right");Pi.prototype[b]=function(){return this.__filtered__?new Pi(this):this[q](1)}}),Pi.prototype.compact=function(){return this.filter(kc)},Pi.prototype.find=function(b){return this.filter(b).head()},Pi.prototype.findLast=function(b){return this.reverse().find(b)},Pi.prototype.invokeMap=Di(function(b,_){return typeof b=="function"?new Pi(this):this.map(function(q){return Gp(q,b,_)})}),Pi.prototype.reject=function(b){return this.filter(xI(ii(b)))},Pi.prototype.slice=function(b,_){b=ki(b);var q=this;return q.__filtered__&&(b>0||_<0)?new Pi(q):(b<0?q=q.takeRight(-b):b&&(q=q.drop(b)),_!==t&&(q=(_=ki(_))<0?q.dropRight(-_):q.take(_-b)),q)},Pi.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},Pi.prototype.toArray=function(){return this.take(d)},kl(Pi.prototype,function(b,_){var q=/^(?:filter|find|map|reject)|While$/.test(_),se=/^(?:head|last)$/.test(_),be=Te[se?"take"+(_=="last"?"Right":""):_],ze=se||/^find/.test(_);be&&(Te.prototype[_]=function(){var ft=this.__wrapped__,Ct=se?[1]:arguments,Ot=ft instanceof Pi,gr=Ct[0],vr=Ot||Ii(ft),jr=function(oi){var dn=be.apply(Te,Ec([oi],Ct));return se&&Rn?dn[0]:dn};vr&&q&&typeof gr=="function"&&gr.length!=1&&(Ot=vr=!1);var Rn=this.__chain__,Tn=!!this.__actions__.length,zn=ze&&!Rn,kr=Ot&&!Tn;if(!ze&&vr){ft=kr?ft:new Pi(this);var an=b.apply(ft,Ct);return an.__actions__.push({func:wI,args:[jr],thisArg:t}),new fu(an,Rn)}return zn&&kr?b.apply(this,Ct):(an=this.thru(jr),zn?se?an.value()[0]:an.value():an)})}),Mo(["pop","push","shift","sort","splice","unshift"],function(b){var _=Bn[b],q=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",se=/^(?:pop|shift)$/.test(b);Te.prototype[b]=function(){var be=arguments;if(se&&!this.__chain__){var ze=this.value();return _.apply(Ii(ze)?ze:[],be)}return this[q](function(ft){return _.apply(Ii(ft)?ft:[],be)})}}),kl(Pi.prototype,function(b,_){var q=Te[_];if(q){var se=q.name+"";Cn.call(og,se)||(og[se]=[]),og[se].push({name:_,func:q})}}),og[vI(t,2).name]=[{name:"wrapper",func:t}],Pi.prototype.clone=function(){var b=new Pi(this.__wrapped__);return b.__actions__=wc(this.__actions__),b.__dir__=this.__dir__,b.__filtered__=this.__filtered__,b.__iteratees__=wc(this.__iteratees__),b.__takeCount__=this.__takeCount__,b.__views__=wc(this.__views__),b},Pi.prototype.reverse=function(){if(this.__filtered__){var b=new Pi(this);b.__dir__=-1,b.__filtered__=!0}else(b=this.clone()).__dir__*=-1;return b},Pi.prototype.value=function(){var b=this.__wrapped__.value(),_=this.__dir__,q=Ii(b),se=_<0,be=q?b.length:0,ze=function(na,Jn,si){for(var as=-1,Lo=si.length;++as<Lo;){var uc=si[as],$a=uc.size;switch(uc.type){case"drop":na+=$a;break;case"dropRight":Jn-=$a;break;case"take":Jn=Hs(Jn,na+$a);break;case"takeRight":na=is(na,Jn-$a)}}return{start:na,end:Jn}}(0,be,this.__views__),ft=ze.start,Ct=ze.end,Ot=Ct-ft,gr=se?Ct:ft-1,vr=this.__iteratees__,jr=vr.length,Rn=0,Tn=Hs(Ot,this.__takeCount__);if(!q||!se&&be==Ot&&Tn==Ot)return x3(b,this.__actions__);var zn=[];e:for(;Ot--&&Rn<Tn;){for(var kr=-1,an=b[gr+=_];++kr<jr;){var oi=vr[kr],dn=oi.iteratee,Ci=oi.type,fi=dn(an);if(Ci==2)an=fi;else if(!fi){if(Ci==1)continue e;break e}}zn[Rn++]=an}return zn},Te.prototype.at=q4,Te.prototype.chain=function(){return f5(this)},Te.prototype.commit=function(){return new fu(this.value(),this.__chain__)},Te.prototype.next=function(){this.__values__===t&&(this.__values__=B5(this.value()));var b=this.__index__>=this.__values__.length;return{done:b,value:b?t:this.__values__[this.__index__++]}},Te.prototype.plant=function(b){for(var _,q=this;q instanceof uI;){var se=o5(q);se.__index__=0,se.__values__=t,_?be.__wrapped__=se:_=se;var be=se;q=q.__wrapped__}return be.__wrapped__=b,_},Te.prototype.reverse=function(){var b=this.__wrapped__;if(b instanceof Pi){var _=b;return this.__actions__.length&&(_=new Pi(this)),(_=_.reverse()).__actions__.push({func:wI,args:[Vw],thisArg:t}),new fu(_,this.__chain__)}return this.thru(Vw)},Te.prototype.toJSON=Te.prototype.valueOf=Te.prototype.value=function(){return x3(this.__wrapped__,this.__actions__)},Te.prototype.first=Te.prototype.head,Xa&&(Te.prototype[Xa]=function(){return this}),Te}();Hc?((Hc.exports=G)._=G,uu._=G):Na._=G}).call(mi)})(i0,i0.exports);var cd=i0.exports;function a0(e){for(var r=(e=e.replace("#","")).match(/../g),t=0;t<3;t++)r[t]=parseInt(r[t],16);return r}function P1(e,r,t){for(var n=[e.toString(16),r.toString(16),t.toString(16)],a=0;a<3;a++)n[a].length==1&&(n[a]="0"+n[a]);return"#"+n.join("")}var ud={exports:{}};(function(e,r){e.exports=function(){var t=1e3,n=6e4,a=36e5,s="millisecond",o="second",i="minute",c="hour",u="day",l="week",A="month",h="quarter",f="year",d="date",g="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var C=["th","st","nd","rd"],w=N%100;return"["+N+(C[(w-20)%10]||C[w]||C[0])+"]"}},y=function(N,C,w){var Q=String(N);return!Q||Q.length>=C?N:""+Array(C+1-Q.length).join(w)+N},I={s:y,z:function(N){var C=-N.utcOffset(),w=Math.abs(C),Q=Math.floor(w/60),B=w%60;return(C<=0?"+":"-")+y(Q,2,"0")+":"+y(B,2,"0")},m:function N(C,w){if(C.date()<w.date())return-N(w,C);var Q=12*(w.year()-C.year())+(w.month()-C.month()),B=C.clone().add(Q,A),S=w-B<0,O=C.clone().add(Q+(S?-1:1),A);return+(-(Q+(w-B)/(S?B-O:O-B))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:A,y:f,w:l,d:u,D:d,h:c,m:i,s:o,ms:s,Q:h}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},E="en",k={};k[E]=v;var R="$isDayjsObject",T=function(N){return N instanceof X||!(!N||!N[R])},j=function N(C,w,Q){var B;if(!C)return E;if(typeof C=="string"){var S=C.toLowerCase();k[S]&&(B=S),w&&(k[S]=w,B=S);var O=C.split("-");if(!B&&O.length>1)return N(O[0])}else{var F=C.name;k[F]=C,B=F}return!Q&&B&&(E=B),B||!Q&&E},W=function(N,C){if(T(N))return N.clone();var w=typeof C=="object"?C:{};return w.date=N,w.args=arguments,new X(w)},H=I;H.l=j,H.i=T,H.w=function(N,C){return W(N,{locale:C.$L,utc:C.$u,x:C.$x,$offset:C.$offset})};var X=function(){function N(w){this.$L=j(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[R]=!0}var C=N.prototype;return C.parse=function(w){this.$d=function(Q){var B=Q.date,S=Q.utc;if(B===null)return new Date(NaN);if(H.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var O=B.match(p);if(O){var F=O[2]-1||0,Y=(O[7]||"0").substring(0,3);return S?new Date(Date.UTC(O[1],F,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)):new Date(O[1],F,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)}}return new Date(B)}(w),this.init()},C.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},C.$utils=function(){return H},C.isValid=function(){return this.$d.toString()!==g},C.isSame=function(w,Q){var B=W(w);return this.startOf(Q)<=B&&B<=this.endOf(Q)},C.isAfter=function(w,Q){return W(w)<this.startOf(Q)},C.isBefore=function(w,Q){return this.endOf(Q)<W(w)},C.$g=function(w,Q,B){return H.u(w)?this[Q]:this.set(B,w)},C.unix=function(){return Math.floor(this.valueOf()/1e3)},C.valueOf=function(){return this.$d.getTime()},C.startOf=function(w,Q){var B=this,S=!!H.u(Q)||Q,O=H.p(w),F=function(Ye,Ae){var te=H.w(B.$u?Date.UTC(B.$y,Ae,Ye):new Date(B.$y,Ae,Ye),B);return S?te:te.endOf(u)},Y=function(Ye,Ae){return H.w(B.toDate()[Ye].apply(B.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(Ae)),B)},M=this.$W,z=this.$M,ue=this.$D,ae="set"+(this.$u?"UTC":"");switch(O){case f:return S?F(1,0):F(31,11);case A:return S?F(1,z):F(0,z+1);case l:var Ne=this.$locale().weekStart||0,Ge=(M<Ne?M+7:M)-Ne;return F(S?ue-Ge:ue+(6-Ge),z);case u:case d:return Y(ae+"Hours",0);case c:return Y(ae+"Minutes",1);case i:return Y(ae+"Seconds",2);case o:return Y(ae+"Milliseconds",3);default:return this.clone()}},C.endOf=function(w){return this.startOf(w,!1)},C.$set=function(w,Q){var B,S=H.p(w),O="set"+(this.$u?"UTC":""),F=(B={},B[u]=O+"Date",B[d]=O+"Date",B[A]=O+"Month",B[f]=O+"FullYear",B[c]=O+"Hours",B[i]=O+"Minutes",B[o]=O+"Seconds",B[s]=O+"Milliseconds",B)[S],Y=S===u?this.$D+(Q-this.$W):Q;if(S===A||S===f){var M=this.clone().set(d,1);M.$d[F](Y),M.init(),this.$d=M.set(d,Math.min(this.$D,M.daysInMonth())).$d}else F&&this.$d[F](Y);return this.init(),this},C.set=function(w,Q){return this.clone().$set(w,Q)},C.get=function(w){return this[H.p(w)]()},C.add=function(w,Q){var B,S=this;w=Number(w);var O=H.p(Q),F=function(z){var ue=W(S);return H.w(ue.date(ue.date()+Math.round(z*w)),S)};if(O===A)return this.set(A,this.$M+w);if(O===f)return this.set(f,this.$y+w);if(O===u)return F(1);if(O===l)return F(7);var Y=(B={},B[i]=n,B[c]=a,B[o]=t,B)[O]||1,M=this.$d.getTime()+w*Y;return H.w(M,this)},C.subtract=function(w,Q){return this.add(-1*w,Q)},C.format=function(w){var Q=this,B=this.$locale();if(!this.isValid())return B.invalidDate||g;var S=w||"YYYY-MM-DDTHH:mm:ssZ",O=H.z(this),F=this.$H,Y=this.$m,M=this.$M,z=B.weekdays,ue=B.months,ae=B.meridiem,Ne=function(Ae,te,he,de){return Ae&&(Ae[te]||Ae(Q,S))||he[te].slice(0,de)},Ge=function(Ae){return H.s(F%12||12,Ae,"0")},Ye=ae||function(Ae,te,he){var de=Ae<12?"AM":"PM";return he?de.toLowerCase():de};return S.replace(m,function(Ae,te){return te||function(he){switch(he){case"YY":return String(Q.$y).slice(-2);case"YYYY":return H.s(Q.$y,4,"0");case"M":return M+1;case"MM":return H.s(M+1,2,"0");case"MMM":return Ne(B.monthsShort,M,ue,3);case"MMMM":return Ne(ue,M);case"D":return Q.$D;case"DD":return H.s(Q.$D,2,"0");case"d":return String(Q.$W);case"dd":return Ne(B.weekdaysMin,Q.$W,z,2);case"ddd":return Ne(B.weekdaysShort,Q.$W,z,3);case"dddd":return z[Q.$W];case"H":return String(F);case"HH":return H.s(F,2,"0");case"h":return Ge(1);case"hh":return Ge(2);case"a":return Ye(F,Y,!0);case"A":return Ye(F,Y,!1);case"m":return String(Y);case"mm":return H.s(Y,2,"0");case"s":return String(Q.$s);case"ss":return H.s(Q.$s,2,"0");case"SSS":return H.s(Q.$ms,3,"0");case"Z":return O}return null}(Ae)||O.replace(":","")})},C.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},C.diff=function(w,Q,B){var S,O=this,F=H.p(Q),Y=W(w),M=(Y.utcOffset()-this.utcOffset())*n,z=this-Y,ue=function(){return H.m(O,Y)};switch(F){case f:S=ue()/12;break;case A:S=ue();break;case h:S=ue()/3;break;case l:S=(z-M)/6048e5;break;case u:S=(z-M)/864e5;break;case c:S=z/a;break;case i:S=z/n;break;case o:S=z/t;break;default:S=z}return B?S:H.a(S)},C.daysInMonth=function(){return this.endOf(A).$D},C.$locale=function(){return k[this.$L]},C.locale=function(w,Q){if(!w)return this.$L;var B=this.clone(),S=j(w,Q,!0);return S&&(B.$L=S),B},C.clone=function(){return H.w(this.$d,this)},C.toDate=function(){return new Date(this.valueOf())},C.toJSON=function(){return this.isValid()?this.toISOString():null},C.toISOString=function(){return this.$d.toISOString()},C.toString=function(){return this.$d.toUTCString()},N}(),x=X.prototype;return W.prototype=x,[["$ms",s],["$s",o],["$m",i],["$H",c],["$W",u],["$M",A],["$y",f],["$D",d]].forEach(function(N){x[N[1]]=function(C){return this.$g(C,N[0],N[1])}}),W.extend=function(N,C){return N.$i||(N(C,X,W),N.$i=!0),W},W.locale=j,W.isDayjs=T,W.unix=function(N){return W(1e3*N)},W.en=k[E],W.Ls=k,W.p={},W}()})(ud);const jA=w1(ud.exports);/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var o0={version:"0.18.5"},G1=1252,z2=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],s0={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},HA=function(e){z2.indexOf(e)!=-1&&(G1=s0[0]=e)},Mc=function(e){HA(e)};function c0(){Mc(1200),HA(1252)}function ld(e){for(var r=[],t=0,n=e.length;t<n;++t)r[t]=e.charCodeAt(t);return r}function U1(e){for(var r=[],t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var sl,Yh=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);return r==255&&t==254?function(n){for(var a=[],s=0;s<n.length>>1;++s)a[s]=String.fromCharCode(n.charCodeAt(2*s)+(n.charCodeAt(2*s+1)<<8));return a.join("")}(e.slice(2)):r==254&&t==255?U1(e.slice(2)):r==65279?e.slice(1):e},Ad=function(e){return String.fromCharCode(e)},j1=function(e){return String.fromCharCode(e)},cl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function YA(e){for(var r="",t=0,n=0,a=0,s=0,o=0,i=0,c=0,u=0;u<e.length;)s=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,i=(15&n)<<2|(a=e.charCodeAt(u++))>>6,c=63&a,isNaN(n)?i=c=64:isNaN(a)&&(c=64),r+=cl.charAt(s)+cl.charAt(o)+cl.charAt(i)+cl.charAt(c);return r}function $s(e){var r="",t=0,n=0,a=0,s=0,o=0,i=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)t=cl.indexOf(e.charAt(c++))<<2|(s=cl.indexOf(e.charAt(c++)))>>4,r+=String.fromCharCode(t),n=(15&s)<<4|(o=cl.indexOf(e.charAt(c++)))>>2,o!==64&&(r+=String.fromCharCode(n)),a=(3&o)<<6|(i=cl.indexOf(e.charAt(c++))),i!==64&&(r+=String.fromCharCode(a));return r}var wi=function(){return typeof Buffer<"u"&&typeof process<"u"&&process.versions!==void 0&&!!process.versions.node}(),_u=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(r,t){return t?new Buffer(r,t):new Buffer(r)}:Buffer.from.bind(Buffer)}return function(){}}();function ul(e){return wi?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function H1(e){return wi?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var ec=function(e){return wi?_u(e,"binary"):e.split("").map(function(r){return 255&r.charCodeAt(0)})};function hd(e){if(typeof ArrayBuffer>"u")return ec(e);for(var r=new ArrayBuffer(e.length),t=new Uint8Array(r),n=0;n!=e.length;++n)t[n]=255&e.charCodeAt(n);return r}function Du(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var r=[],t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function u0(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return u0(new Uint8Array(e));for(var r=new Array(e.length),t=0;t<e.length;++t)r[t]=e[t];return r}var jo=wi?function(e){return Buffer.concat(e.map(function(r){return Buffer.isBuffer(r)?r:_u(r)}))}:function(e){if(typeof Uint8Array<"u"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var n=new Uint8Array(t),a=0;for(r=0,t=0;r<e.length;t+=a,++r)if(a=e[r].length,e[r]instanceof Uint8Array)n.set(e[r],t);else{if(typeof e[r]=="string")throw"wtf";n.set(new Uint8Array(e[r]),t)}return n}return[].concat.apply([],e.map(function(s){return Array.isArray(s)?s:[].slice.call(s)}))},bs=/\u0000/g,Jh=/[\u0001-\u0006]/g;function Pl(e){for(var r="",t=e.length-1;t>=0;)r+=e.charAt(t--);return r}function Tc(e,r){var t=""+e;return t.length>=r?t:no("0",r-t.length)+t}function l0(e,r){var t=""+e;return t.length>=r?t:no(" ",r-t.length)+t}function fd(e,r){var t=""+e;return t.length>=r?t:t+no(" ",r-t.length)}var Y1=Math.pow(2,32);function Gl(e,r){return e>Y1||e<-Y1?function(t,n){var a=""+Math.round(t);return a.length>=n?a:no("0",n-a.length)+a}(e,r):function(t,n){var a=""+t;return a.length>=n?a:no("0",n-a.length)+a}(Math.round(e),r)}function dd(e,r){return r=r||0,e.length>=7+r&&(32|e.charCodeAt(r))==103&&(32|e.charCodeAt(r+1))==101&&(32|e.charCodeAt(r+2))==110&&(32|e.charCodeAt(r+3))==101&&(32|e.charCodeAt(r+4))==114&&(32|e.charCodeAt(r+5))==97&&(32|e.charCodeAt(r+6))==108}var J1=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],A0=[["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"]],ai={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"秒 "'},q1={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},V2={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function gd(e,r,t){for(var n=e<0?-1:1,a=e*n,s=0,o=1,i=0,c=1,u=0,l=0,A=Math.floor(a);u<r&&(i=(A=Math.floor(a))*o+s,l=A*u+c,!(a-A<5e-8));)a=1/(a-A),s=o,o=i,c=u,u=l;if(l>r&&(u>r?(l=c,i=s):(l=u,i=o)),!t)return[0,n*i,l];var h=Math.floor(n*i/l);return[h,n*i-h*l,l]}function Ul(e,r,t){if(e>2958465||e<0)return null;var n=0|e,a=Math.floor(86400*(e-n)),s=0,o=[],i={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(i.u)<1e-6&&(i.u=0),r&&r.date1904&&(n+=1462),i.u>.9999&&(i.u=0,++a==86400&&(i.T=a=0,++n,++i.D)),n===60)o=t?[1317,10,29]:[1900,2,29],s=3;else if(n===0)o=t?[1317,8,29]:[1900,1,0],s=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),o=[c.getFullYear(),c.getMonth()+1,c.getDate()],s=c.getDay(),n<60&&(s=(s+6)%7),t&&(s=function(u,l){l[0]-=581;var A=u.getDay();return u<60&&(A=(A+6)%7),A}(c,o))}return i.y=o[0],i.m=o[1],i.d=o[2],i.S=a%60,a=Math.floor(a/60),i.M=a%60,a=Math.floor(a/60),i.H=a,i.q=s,i}var W1=new Date(1899,11,31,0,0,0),Z2=W1.getTime(),X2=new Date(1900,2,1,0,0,0);function K1(e,r){var t=e.getTime();return r?t-=1262304e5:e>=X2&&(t+=864e5),(t-(Z2+6e4*(e.getTimezoneOffset()-W1.getTimezoneOffset())))/864e5}function h0(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function qh(e){var r,t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return r=t>=-4&&t<=-1?e.toPrecision(10+t):Math.abs(t)<=9?function(n){var a=n<0?12:11,s=h0(n.toFixed(12));return s.length<=a||(s=n.toPrecision(10)).length<=a?s:n.toExponential(5)}(e):t===10?e.toFixed(10).substr(0,12):function(n){var a=h0(n.toFixed(11));return a.length>(n<0?12:11)||a==="0"||a==="-0"?n.toPrecision(6):a}(e),h0(function(n){return n.indexOf("E")==-1?n:n.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(r.toUpperCase()))}function jl(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):qh(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Cs(14,K1(e,r&&r.date1904),r)}throw new Error("unsupported value in General format: "+e)}function z1(e,r,t,n){var a,s="",o=0,i=0,c=t.y,u=0;switch(e){case 98:c=t.y+543;case 121:switch(r.length){case 1:case 2:a=c%100,u=2;break;default:a=c%1e4,u=4}break;case 109:switch(r.length){case 1:case 2:a=t.m,u=r.length;break;case 3:return A0[t.m-1][1];case 5:return A0[t.m-1][0];default:return A0[t.m-1][2]}break;case 100:switch(r.length){case 1:case 2:a=t.d,u=r.length;break;case 3:return J1[t.q][0];default:return J1[t.q][1]}break;case 104:switch(r.length){case 1:case 2:a=1+(t.H+11)%12,u=r.length;break;default:throw"bad hour format: "+r}break;case 72:switch(r.length){case 1:case 2:a=t.H,u=r.length;break;default:throw"bad hour format: "+r}break;case 77:switch(r.length){case 1:case 2:a=t.M,u=r.length;break;default:throw"bad minute format: "+r}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;return t.u!==0||r!="s"&&r!="ss"?(i=n>=2?n===3?1e3:100:n===1?10:1,(o=Math.round(i*(t.S+t.u)))>=60*i&&(o=0),r==="s"?o===0?"0":""+o/i:(s=Tc(o,2+n),r==="ss"?s.substr(0,2):"."+s.substr(2,r.length-1))):Tc(t.S,r.length);case 90:switch(r){case"[h]":case"[hh]":a=24*t.D+t.H;break;case"[m]":case"[mm]":a=60*(24*t.D+t.H)+t.M;break;case"[s]":case"[ss]":a=60*(60*(24*t.D+t.H)+t.M)+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r}u=r.length===3?1:2;break;case 101:a=c,u=1}return u>0?Tc(a,u):""}function iu(e){if(e.length<=3)return e;for(var r=e.length%3,t=e.substr(0,r);r!=e.length;r+=3)t+=(t.length>0?",":"")+e.substr(r,3);return t}var pd=/%/g;function vd(e,r){var t,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";if(r<0)return"-"+vd(e,-r);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var s=Math.floor(Math.log(r)*Math.LOG10E)%a;if(s<0&&(s+=a),(t=(r/Math.pow(10,s)).toPrecision(n+1+(a+s)%a)).indexOf("e")===-1){var o=Math.floor(Math.log(r)*Math.LOG10E);for(t.indexOf(".")===-1?t=t.charAt(0)+"."+t.substr(1)+"E+"+(o-t.length+s):t+="E+"+(o-s);t.substr(0,2)==="0.";)t=(t=t.charAt(0)+t.substr(2,a)+"."+t.substr(2+a)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(i,c,u,l){return c+u+l.substr(0,(a+s)%a)+"."+l.substr(s)+"E"})}else t=r.toExponential(n);return e.match(/E\+00$/)&&t.match(/e[+-]\d$/)&&(t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1)),e.match(/E\-/)&&t.match(/e\+/)&&(t=t.replace(/e\+/,"e")),t.replace("e","E")}var md=/# (\?+)( ?)\/( ?)(\d+)/,yd=/^#*0*\.([0#]+)/,f0=/\).*[0#]/,Hl=/\(###\) ###\\?-####/;function cs(e){for(var r,t="",n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function V1(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function d0(e,r){var t=e-Math.floor(e),n=Math.pow(10,r);return r<(""+Math.round(t*n)).length?0:Math.round(t*n)}function tc(e,r,t){if(e.charCodeAt(0)===40&&!r.match(f0)){var n=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return t>=0?tc("n",n,t):"("+tc("n",n,-t)+")"}if(r.charCodeAt(r.length-1)===44)return function(d,g,p){for(var m=g.length-1;g.charCodeAt(m-1)===44;)--m;return Ru(d,g.substr(0,m),p/Math.pow(10,3*(g.length-m)))}(e,r,t);if(r.indexOf("%")!==-1)return function(d,g,p){var m=g.replace(pd,""),v=g.length-m.length;return Ru(d,m,p*Math.pow(10,2*v))+no("%",v)}(e,r,t);if(r.indexOf("E")!==-1)return vd(r,t);if(r.charCodeAt(0)===36)return"$"+tc(e,r.substr(r.charAt(1)==" "?2:1),t);var a,s,o,i,c=Math.abs(t),u=t<0?"-":"";if(r.match(/^00+$/))return u+Gl(c,r.length);if(r.match(/^[#?]+$/))return(a=Gl(t,0))==="0"&&(a=""),a.length>r.length?a:cs(r.substr(0,r.length-a.length))+a;if(s=r.match(md))return function(d,g,p){var m=parseInt(d[4],10),v=Math.round(g*m),y=Math.floor(v/m),I=v-y*m,E=m;return p+(y===0?"":""+y)+" "+(I===0?no(" ",d[1].length+1+d[4].length):l0(I,d[1].length)+d[2]+"/"+d[3]+Tc(E,d[4].length))}(s,c,u);if(r.match(/^#+0+$/))return u+Gl(c,r.length-r.indexOf("0"));if(s=r.match(yd))return a=V1(t,s[1].length).replace(/^([^\.]+)$/,"$1."+cs(s[1])).replace(/\.$/,"."+cs(s[1])).replace(/\.(\d*)$/,function(d,g){return"."+g+no("0",cs(s[1]).length-g.length)}),r.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),s=r.match(/^(0*)\.(#*)$/))return u+V1(c,s[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=r.match(/^#{1,3},##0(\.?)$/))return u+iu(Gl(c,0));if(s=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+tc(e,r,-t):iu(""+(Math.floor(t)+function(d,g){return g<(""+Math.round((d-Math.floor(d))*Math.pow(10,g))).length?1:0}(t,s[1].length)))+"."+Tc(d0(t,s[1].length),s[1].length);if(s=r.match(/^#,#*,#0/))return tc(e,r.replace(/^#,#*,/,""),t);if(s=r.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Pl(tc(e,r.replace(/[\\-]/g,""),t)),o=0,Pl(Pl(r.replace(/\\/g,"")).replace(/[0#]/g,function(d){return o<a.length?a.charAt(o++):d==="0"?"0":""}));if(r.match(Hl))return"("+(a=tc(e,"##########",t)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var l="";if(s=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(s[4].length,7),i=gd(c,Math.pow(10,o)-1,!1),a=""+u,(l=Ru("n",s[1],i[1])).charAt(l.length-1)==" "&&(l=l.substr(0,l.length-1)+"0"),a+=l+s[2]+"/"+s[3],(l=fd(i[2],o)).length<s[4].length&&(l=cs(s[4].substr(s[4].length-l.length))+l),a+=l;if(s=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(s[1].length,s[4].length),7),u+((i=gd(c,Math.pow(10,o)-1,!0))[0]||(i[1]?"":"0"))+" "+(i[1]?l0(i[1],o)+s[2]+"/"+s[3]+fd(i[2],o):no(" ",2*o+1+s[2].length+s[3].length));if(s=r.match(/^[#0?]+$/))return a=Gl(t,0),r.length<=a.length?a:cs(r.substr(0,r.length-a.length))+a;if(s=r.match(/^([#0?]+)\.([#0]+)$/)){a=""+t.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),o=a.indexOf(".");var A=r.indexOf(".")-o,h=r.length-a.length-A;return cs(r.substr(0,A)+a+r.substr(r.length-h))}if(s=r.match(/^00,000\.([#0]*0)$/))return o=d0(t,s[1].length),t<0?"-"+tc(e,r,-t):iu(function(d){return d<2147483647&&d>-2147483648?""+(d>=0?0|d:d-1|0):""+Math.floor(d)}(t)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(d){return"00,"+(d.length<3?Tc(0,3-d.length):"")+d})+"."+Tc(o,s[1].length);switch(r){case"###,##0.00":return tc(e,"#,##0.00",t);case"###,###":case"##,###":case"#,###":var f=iu(Gl(c,0));return f!=="0"?u+f:"";case"###,###.00":return tc(e,"###,##0.00",t).replace(/^0\./,".");case"#,###.00":return tc(e,"#,##0.00",t).replace(/^0\./,".")}throw new Error("unsupported format |"+r+"|")}function g0(e,r){var t,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";if(r<0)return"-"+g0(e,-r);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var s=Math.floor(Math.log(r)*Math.LOG10E)%a;if(s<0&&(s+=a),!(t=(r/Math.pow(10,s)).toPrecision(n+1+(a+s)%a)).match(/[Ee]/)){var o=Math.floor(Math.log(r)*Math.LOG10E);t.indexOf(".")===-1?t=t.charAt(0)+"."+t.substr(1)+"E+"+(o-t.length+s):t+="E+"+(o-s),t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(i,c,u,l){return c+u+l.substr(0,(a+s)%a)+"."+l.substr(s)+"E"})}else t=r.toExponential(n);return e.match(/E\+00$/)&&t.match(/e[+-]\d$/)&&(t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1)),e.match(/E\-/)&&t.match(/e\+/)&&(t=t.replace(/e\+/,"e")),t.replace("e","E")}function Lc(e,r,t){if(e.charCodeAt(0)===40&&!r.match(f0)){var n=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return t>=0?Lc("n",n,t):"("+Lc("n",n,-t)+")"}if(r.charCodeAt(r.length-1)===44)return function(d,g,p){for(var m=g.length-1;g.charCodeAt(m-1)===44;)--m;return Ru(d,g.substr(0,m),p/Math.pow(10,3*(g.length-m)))}(e,r,t);if(r.indexOf("%")!==-1)return function(d,g,p){var m=g.replace(pd,""),v=g.length-m.length;return Ru(d,m,p*Math.pow(10,2*v))+no("%",v)}(e,r,t);if(r.indexOf("E")!==-1)return g0(r,t);if(r.charCodeAt(0)===36)return"$"+Lc(e,r.substr(r.charAt(1)==" "?2:1),t);var a,s,o,i,c=Math.abs(t),u=t<0?"-":"";if(r.match(/^00+$/))return u+Tc(c,r.length);if(r.match(/^[#?]+$/))return a=""+t,t===0&&(a=""),a.length>r.length?a:cs(r.substr(0,r.length-a.length))+a;if(s=r.match(md))return function(d,g,p){return p+(g===0?"":""+g)+no(" ",d[1].length+2+d[4].length)}(s,c,u);if(r.match(/^#+0+$/))return u+Tc(c,r.length-r.indexOf("0"));if(s=r.match(yd))return a=(a=(""+t).replace(/^([^\.]+)$/,"$1."+cs(s[1])).replace(/\.$/,"."+cs(s[1]))).replace(/\.(\d*)$/,function(d,g){return"."+g+no("0",cs(s[1]).length-g.length)}),r.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),s=r.match(/^(0*)\.(#*)$/))return u+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=r.match(/^#{1,3},##0(\.?)$/))return u+iu(""+c);if(s=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+Lc(e,r,-t):iu(""+t)+"."+no("0",s[1].length);if(s=r.match(/^#,#*,#0/))return Lc(e,r.replace(/^#,#*,/,""),t);if(s=r.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Pl(Lc(e,r.replace(/[\\-]/g,""),t)),o=0,Pl(Pl(r.replace(/\\/g,"")).replace(/[0#]/g,function(d){return o<a.length?a.charAt(o++):d==="0"?"0":""}));if(r.match(Hl))return"("+(a=Lc(e,"##########",t)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var l="";if(s=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(s[4].length,7),i=gd(c,Math.pow(10,o)-1,!1),a=""+u,(l=Ru("n",s[1],i[1])).charAt(l.length-1)==" "&&(l=l.substr(0,l.length-1)+"0"),a+=l+s[2]+"/"+s[3],(l=fd(i[2],o)).length<s[4].length&&(l=cs(s[4].substr(s[4].length-l.length))+l),a+=l;if(s=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(s[1].length,s[4].length),7),u+((i=gd(c,Math.pow(10,o)-1,!0))[0]||(i[1]?"":"0"))+" "+(i[1]?l0(i[1],o)+s[2]+"/"+s[3]+fd(i[2],o):no(" ",2*o+1+s[2].length+s[3].length));if(s=r.match(/^[#0?]+$/))return a=""+t,r.length<=a.length?a:cs(r.substr(0,r.length-a.length))+a;if(s=r.match(/^([#0]+)\.([#0]+)$/)){a=""+t.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),o=a.indexOf(".");var A=r.indexOf(".")-o,h=r.length-a.length-A;return cs(r.substr(0,A)+a+r.substr(r.length-h))}if(s=r.match(/^00,000\.([#0]*0)$/))return t<0?"-"+Lc(e,r,-t):iu(""+t).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(d){return"00,"+(d.length<3?Tc(0,3-d.length):"")+d})+"."+Tc(0,s[1].length);switch(r){case"###,###":case"##,###":case"#,###":var f=iu(""+c);return f!=="0"?u+f:"";default:if(r.match(/\.[0#?]*$/))return Lc(e,r.slice(0,r.lastIndexOf(".")),t)+cs(r.slice(r.lastIndexOf(".")))}throw new Error("unsupported format |"+r+"|")}function Ru(e,r,t){return(0|t)===t?Lc(e,r,t):tc(e,r,t)}var Z1=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function JA(e){for(var r=0,t="",n="";r<e.length;)switch(t=e.charAt(r)){case"G":dd(e,r)&&(r+=6),r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;);++r;break;case"\\":case"_":r+=2;break;case"@":++r;break;case"B":case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(r,3).toUpperCase()==="A/P"||e.substr(r,5).toUpperCase()==="AM/PM"||e.substr(r,5).toUpperCase()==="上午/下午")return!0;++r;break;case"[":for(n=t;e.charAt(r++)!=="]"&&r<e.length;)n+=e.charAt(r);if(n.match(Z1))return!0;break;case".":case"0":case"#":for(;r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1););break;case"?":for(;e.charAt(++r)===t;);break;case"*":++r,e.charAt(r)!=" "&&e.charAt(r)!="*"||++r;break;case"(":case")":++r;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;r<e.length&&"0123456789".indexOf(e.charAt(++r))>-1;);break;default:++r}return!1}var X1=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function $1(e,r){if(r==null)return!1;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return!0;break;case">":if(e>t)return!0;break;case"<":if(e<t)return!0;break;case"<>":if(e!=t)return!0;break;case">=":if(e>=t)return!0;break;case"<=":if(e<=t)return!0}return!1}function Yl(e,r){var t=function(c){for(var u=[],l=!1,A=0,h=0;A<c.length;++A)switch(c.charCodeAt(A)){case 34:l=!l;break;case 95:case 42:case 92:++A;break;case 59:u[u.length]=c.substr(h,A-h),h=A+1}if(u[u.length]=c.substr(h),l===!0)throw new Error("Format |"+c+"| unterminated string ");return u}(e),n=t.length,a=t[n-1].indexOf("@");if(n<4&&a>-1&&--n,t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!="number")return[4,t.length===4||a>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=a>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=a>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=a>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"]}var s=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[n,s];if(t[0].match(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var o=t[0].match(X1),i=t[1].match(X1);return $1(r,o)?[n,t[0]]:$1(r,i)?[n,t[1]]:[n,t[o!=null&&i!=null?2:1]]}return[n,s]}function Cs(e,r,t){t==null&&(t={});var n="";switch(typeof e){case"string":n=e=="m/d/yy"&&t.dateNF?t.dateNF:e;break;case"number":(n=e==14&&t.dateNF?t.dateNF:(t.table!=null?t.table:ai)[e])==null&&(n=t.table&&t.table[q1[e]]||ai[q1[e]]),n==null&&(n=V2[e]||"General")}if(dd(n,0))return jl(r,t);r instanceof Date&&(r=K1(r,t.date1904));var a=Yl(n,r);if(dd(a[1]))return jl(r,t);if(r===!0)r="TRUE";else if(r===!1)r="FALSE";else if(r===""||r==null)return"";return function(s,o,i,c){for(var u,l,A,h=[],f="",d=0,g="",p="t",m="H";d<s.length;)switch(g=s.charAt(d)){case"G":if(!dd(s,d))throw new Error("unrecognized character "+g+" in "+s);h[h.length]={t:"G",v:"General"},d+=7;break;case'"':for(f="";(A=s.charCodeAt(++d))!==34&&d<s.length;)f+=String.fromCharCode(A);h[h.length]={t:"t",v:f},++d;break;case"\\":var v=s.charAt(++d),y=v==="("||v===")"?v:"t";h[h.length]={t:y,v},++d;break;case"_":h[h.length]={t:"t",v:" "},d+=2;break;case"@":h[h.length]={t:"T",v:o},++d;break;case"B":case"b":if(s.charAt(d+1)==="1"||s.charAt(d+1)==="2"){if(u==null&&(u=Ul(o,i,s.charAt(d+1)==="2"))==null)return"";h[h.length]={t:"X",v:s.substr(d,2)},p=g,d+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":g=g.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(o<0||u==null&&(u=Ul(o,i))==null)return"";for(f=g;++d<s.length&&s.charAt(d).toLowerCase()===g;)f+=g;g==="m"&&p.toLowerCase()==="h"&&(g="M"),g==="h"&&(g=m),h[h.length]={t:g,v:f},p=g;break;case"A":case"a":case"上":var I={t:g,v:g};if(u==null&&(u=Ul(o,i)),s.substr(d,3).toUpperCase()==="A/P"?(u!=null&&(I.v=u.H>=12?"P":"A"),I.t="T",m="h",d+=3):s.substr(d,5).toUpperCase()==="AM/PM"?(u!=null&&(I.v=u.H>=12?"PM":"AM"),I.t="T",d+=5,m="h"):s.substr(d,5).toUpperCase()==="上午/下午"?(u!=null&&(I.v=u.H>=12?"下午":"上午"),I.t="T",d+=5,m="h"):(I.t="t",++d),u==null&&I.t==="T")return"";h[h.length]=I,p=g;break;case"[":for(f=g;s.charAt(d++)!=="]"&&d<s.length;)f+=s.charAt(d);if(f.slice(-1)!=="]")throw'unterminated "[" block: |'+f+"|";if(f.match(Z1)){if(u==null&&(u=Ul(o,i))==null)return"";h[h.length]={t:"Z",v:f.toLowerCase()},p=f.charAt(1)}else f.indexOf("$")>-1&&(f=(f.match(/\$([^-\[\]]*)/)||[])[1]||"$",JA(s)||(h[h.length]={t:"t",v:f}));break;case".":if(u!=null){for(f=g;++d<s.length&&(g=s.charAt(d))==="0";)f+=g;h[h.length]={t:"s",v:f};break}case"0":case"#":for(f=g;++d<s.length&&"0#?.,E+-%".indexOf(g=s.charAt(d))>-1;)f+=g;h[h.length]={t:"n",v:f};break;case"?":for(f=g;s.charAt(++d)===g;)f+=g;h[h.length]={t:g,v:f},p=g;break;case"*":++d,s.charAt(d)!=" "&&s.charAt(d)!="*"||++d;break;case"(":case")":h[h.length]={t:c===1?"t":g,v:g},++d;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(f=g;d<s.length&&"0123456789".indexOf(s.charAt(++d))>-1;)f+=s.charAt(d);h[h.length]={t:"D",v:f};break;case" ":h[h.length]={t:g,v:g},++d;break;case"$":h[h.length]={t:"t",v:"$"},++d;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(g)===-1)throw new Error("unrecognized character "+g+" in "+s);h[h.length]={t:"t",v:g},++d}var E,k=0,R=0;for(d=h.length-1,p="t";d>=0;--d)switch(h[d].t){case"h":case"H":h[d].t=m,p="h",k<1&&(k=1);break;case"s":(E=h[d].v.match(/\.0+$/))&&(R=Math.max(R,E[0].length-1)),k<3&&(k=3);case"d":case"y":case"M":case"e":p=h[d].t;break;case"m":p==="s"&&(h[d].t="M",k<2&&(k=2));break;case"X":break;case"Z":k<1&&h[d].v.match(/[Hh]/)&&(k=1),k<2&&h[d].v.match(/[Mm]/)&&(k=2),k<3&&h[d].v.match(/[Ss]/)&&(k=3)}switch(k){case 0:break;case 1:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M),u.M>=60&&(u.M=0,++u.H);break;case 2:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M)}var T,j="";for(d=0;d<h.length;++d)switch(h[d].t){case"t":case"T":case" ":case"D":break;case"X":h[d].v="",h[d].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":h[d].v=z1(h[d].t.charCodeAt(0),h[d].v,u,R),h[d].t="t";break;case"n":case"?":for(T=d+1;h[T]!=null&&((g=h[T].t)==="?"||g==="D"||(g===" "||g==="t")&&h[T+1]!=null&&(h[T+1].t==="?"||h[T+1].t==="t"&&h[T+1].v==="/")||h[d].t==="("&&(g===" "||g==="n"||g===")")||g==="t"&&(h[T].v==="/"||h[T].v===" "&&h[T+1]!=null&&h[T+1].t=="?"));)h[d].v+=h[T].v,h[T]={v:"",t:";"},++T;j+=h[d].v,d=T-1;break;case"G":h[d].t="t",h[d].v=jl(o,i)}var W,H,X="";if(j.length>0){j.charCodeAt(0)==40?(W=o<0&&j.charCodeAt(0)===45?-o:o,H=Ru("n",j,W)):(H=Ru("n",j,W=o<0&&c>1?-o:o),W<0&&h[0]&&h[0].t=="t"&&(H=H.substr(1),h[0].v="-"+h[0].v)),T=H.length-1;var x=h.length;for(d=0;d<h.length;++d)if(h[d]!=null&&h[d].t!="t"&&h[d].v.indexOf(".")>-1){x=d;break}var N=h.length;if(x===h.length&&H.indexOf("E")===-1){for(d=h.length-1;d>=0;--d)h[d]!=null&&"n?".indexOf(h[d].t)!==-1&&(T>=h[d].v.length-1?(T-=h[d].v.length,h[d].v=H.substr(T+1,h[d].v.length)):T<0?h[d].v="":(h[d].v=H.substr(0,T+1),T=-1),h[d].t="t",N=d);T>=0&&N<h.length&&(h[N].v=H.substr(0,T+1)+h[N].v)}else if(x!==h.length&&H.indexOf("E")===-1){for(T=H.indexOf(".")-1,d=x;d>=0;--d)if(h[d]!=null&&"n?".indexOf(h[d].t)!==-1){for(l=h[d].v.indexOf(".")>-1&&d===x?h[d].v.indexOf(".")-1:h[d].v.length-1,X=h[d].v.substr(l+1);l>=0;--l)T>=0&&(h[d].v.charAt(l)==="0"||h[d].v.charAt(l)==="#")&&(X=H.charAt(T--)+X);h[d].v=X,h[d].t="t",N=d}for(T>=0&&N<h.length&&(h[N].v=H.substr(0,T+1)+h[N].v),T=H.indexOf(".")+1,d=x;d<h.length;++d)if(h[d]!=null&&("n?(".indexOf(h[d].t)!==-1||d===x)){for(l=h[d].v.indexOf(".")>-1&&d===x?h[d].v.indexOf(".")+1:0,X=h[d].v.substr(0,l);l<h[d].v.length;++l)T<H.length&&(X+=H.charAt(T++));h[d].v=X,h[d].t="t",N=d}}}for(d=0;d<h.length;++d)h[d]!=null&&"n?".indexOf(h[d].t)>-1&&(W=c>1&&o<0&&d>0&&h[d-1].v==="-"?-o:o,h[d].v=Ru(h[d].t,h[d].v,W),h[d].t="t");var C="";for(d=0;d!==h.length;++d)h[d]!=null&&(C+=h[d].v);return C}(a[1],r,t,a[0])}function Fu(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t)if(ai[t]!=null){if(ai[t]==e){r=t;break}}else r<0&&(r=t);r<0&&(r=391)}return ai[r]=e,r}function Id(e){for(var r=0;r!=392;++r)e[r]!==void 0&&Fu(e[r],r)}function qA(){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"秒 "',ai=e}var $2={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"},ev=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,eb=function(){var e={};e.version="1.2.0";var r=function(){for(var v=0,y=new Array(256),I=0;I!=256;++I)v=1&(v=1&(v=1&(v=1&(v=1&(v=1&(v=1&(v=1&(v=I)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1)?-306674912^v>>>1:v>>>1,y[I]=v;return typeof Int32Array<"u"?new Int32Array(y):y}(),t=function(v){var y=0,I=0,E=0,k=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(E=0;E!=256;++E)k[E]=v[E];for(E=0;E!=256;++E)for(I=v[E],y=256+E;y<4096;y+=256)I=k[y]=I>>>8^v[255&I];var R=[];for(E=1;E!=16;++E)R[E-1]=typeof Int32Array<"u"?k.subarray(256*E,256*E+256):k.slice(256*E,256*E+256);return R}(r),n=t[0],a=t[1],s=t[2],o=t[3],i=t[4],c=t[5],u=t[6],l=t[7],A=t[8],h=t[9],f=t[10],d=t[11],g=t[12],p=t[13],m=t[14];return e.table=r,e.bstr=function(v,y){for(var I=-1^y,E=0,k=v.length;E<k;)I=I>>>8^r[255&(I^v.charCodeAt(E++))];return~I},e.buf=function(v,y){for(var I=-1^y,E=v.length-15,k=0;k<E;)I=m[v[k++]^255&I]^p[v[k++]^I>>8&255]^g[v[k++]^I>>16&255]^d[v[k++]^I>>>24]^f[v[k++]]^h[v[k++]]^A[v[k++]]^l[v[k++]]^u[v[k++]]^c[v[k++]]^i[v[k++]]^o[v[k++]]^s[v[k++]]^a[v[k++]]^n[v[k++]]^r[v[k++]];for(E+=15;k<E;)I=I>>>8^r[255&(I^v[k++])];return~I},e.str=function(v,y){for(var I=-1^y,E=0,k=v.length,R=0,T=0;E<k;)(R=v.charCodeAt(E++))<128?I=I>>>8^r[255&(I^R)]:R<2048?I=(I=I>>>8^r[255&(I^(192|R>>6&31))])>>>8^r[255&(I^(128|63&R))]:R>=55296&&R<57344?(R=64+(1023&R),T=1023&v.charCodeAt(E++),I=(I=(I=(I=I>>>8^r[255&(I^(240|R>>8&7))])>>>8^r[255&(I^(128|R>>2&63))])>>>8^r[255&(I^(128|T>>6&15|(3&R)<<4))])>>>8^r[255&(I^(128|63&T))]):I=(I=(I=I>>>8^r[255&(I^(224|R>>12&15))])>>>8^r[255&(I^(128|R>>6&63))])>>>8^r[255&(I^(128|63&R))];return~I},e}(),Pn=function(){var e,r={};function t(pe){if(pe.charAt(pe.length-1)=="/")return pe.slice(0,-1).indexOf("/")===-1?pe:t(pe.slice(0,-1));var me=pe.lastIndexOf("/");return me===-1?pe:pe.slice(0,me+1)}function n(pe){if(pe.charAt(pe.length-1)=="/")return n(pe.slice(0,-1));var me=pe.lastIndexOf("/");return me===-1?pe:pe.slice(me+1)}function a(pe,me){typeof me=="string"&&(me=new Date(me));var Re=me.getHours();Re=(Re=Re<<6|me.getMinutes())<<5|me.getSeconds()>>>1,pe.write_shift(2,Re);var Ze=me.getFullYear()-1980;Ze=(Ze=Ze<<4|me.getMonth()+1)<<5|me.getDate(),pe.write_shift(2,Ze)}function s(pe){$o(pe,0);for(var me={},Re=0;pe.l<=pe.length-4;){var Ze=pe.read_shift(2),ke=pe.read_shift(2),Pe=pe.l+ke,_e={};Ze===21589&&(1&(Re=pe.read_shift(1))&&(_e.mtime=pe.read_shift(4)),ke>5&&(2&Re&&(_e.atime=pe.read_shift(4)),4&Re&&(_e.ctime=pe.read_shift(4))),_e.mtime&&(_e.mt=new Date(1e3*_e.mtime))),pe.l=Pe,me[Ze]=_e}return me}function o(){return e||(e={})}function i(pe,me){if(pe[0]==80&&pe[1]==75)return dt(pe,me);if((32|pe[0])==109&&(32|pe[1])==105)return function(dr,rn){if(k(dr.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var Kr=rn&&rn.root||"",tr=(wi&&Buffer.isBuffer(dr)?dr.toString("binary"):k(dr)).split(`\r
  157. `),on=0,nn="";for(on=0;on<tr.length;++on)if(nn=tr[on],/^Content-Location:/i.test(nn)&&(nn=nn.slice(nn.indexOf("file")),Kr||(Kr=nn.slice(0,nn.lastIndexOf("/")+1)),nn.slice(0,Kr.length)!=Kr))for(;Kr.length>0&&(Kr=(Kr=Kr.slice(0,Kr.length-1)).slice(0,Kr.lastIndexOf("/")+1),nn.slice(0,Kr.length)!=Kr););var An=(tr[1]||"").match(/boundary="(.*?)"/);if(!An)throw new Error("MAD cannot find boundary");var bn="--"+(An[1]||""),Gn=[],Dr=[],Nn={FileIndex:Gn,FullPaths:Dr};h(Nn);var Mn,Hn=0;for(on=0;on<tr.length;++on){var vi=tr[on];vi!==bn&&vi!==bn+"--"||(Hn++&&Me(Nn,tr.slice(Mn,on),Kr),Mn=on)}return Nn}(pe,me);if(pe.length<512)throw new Error("CFB file size "+pe.length+" < 512");var Re,Ze,ke,Pe,_e,Je,at=512,Dt=[],St=pe.slice(0,512);$o(St,0);var hr=function(dr){if(dr[dr.l]==80&&dr[dr.l+1]==75)return[0,0];dr.chk(v,"Header Signature: "),dr.l+=16;var rn=dr.read_shift(2,"u");return[dr.read_shift(2,"u"),rn]}(St);switch(Re=hr[0]){case 3:at=512;break;case 4:at=4096;break;case 0:if(hr[1]==0)return dt(pe,me);default:throw new Error("Major Version: Expected 3 or 4 saw "+Re)}at!==512&&$o(St=pe.slice(0,at),28);var Wt=pe.slice(0,at);(function(dr,rn){var Kr=9;switch(dr.l+=2,Kr=dr.read_shift(2)){case 9:if(rn!=3)throw new Error("Sector Shift: Expected 9 saw "+Kr);break;case 12:if(rn!=4)throw new Error("Sector Shift: Expected 12 saw "+Kr);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+Kr)}dr.chk("0600","Mini Sector Shift: "),dr.chk("000000000000","Reserved: ")})(St,Re);var Ut=St.read_shift(4,"i");if(Re===3&&Ut!==0)throw new Error("# Directory Sectors: Expected 0 saw "+Ut);St.l+=4,Pe=St.read_shift(4,"i"),St.l+=4,St.chk("00100000","Mini Stream Cutoff Size: "),_e=St.read_shift(4,"i"),Ze=St.read_shift(4,"i"),Je=St.read_shift(4,"i"),ke=St.read_shift(4,"i");for(var ur=-1,Br=0;Br<109&&!((ur=St.read_shift(4,"i"))<0);++Br)Dt[Br]=ur;var fr=function(dr,rn){for(var Kr=Math.ceil(dr.length/rn)-1,tr=[],on=1;on<Kr;++on)tr[on-1]=dr.slice(on*rn,(on+1)*rn);return tr[Kr-1]=dr.slice(Kr*rn),tr}(pe,at);u(Je,ke,fr,at,Dt);var Mr=function(dr,rn,Kr,tr){var on=dr.length,nn=[],An=[],bn=[],Gn=[],Dr=tr-1,Nn=0,Mn=0,Hn=0,vi=0;for(Nn=0;Nn<on;++Nn)if(bn=[],(Hn=Nn+rn)>=on&&(Hn-=on),!An[Hn]){Gn=[];var qe=[];for(Mn=Hn;Mn>=0;){qe[Mn]=!0,An[Mn]=!0,bn[bn.length]=Mn,Gn.push(dr[Mn]);var bt=Kr[Math.floor(4*Mn/tr)];if(tr<4+(vi=4*Mn&Dr))throw new Error("FAT boundary crossed: "+Mn+" 4 "+tr);if(!dr[bt]||qe[Mn=Wl(dr[bt],vi)])break}nn[Hn]={nodes:bn,data:bv([Gn])}}return nn}(fr,Pe,Dt,at);Mr[Pe].name="!Directory",Ze>0&&_e!==m&&(Mr[_e].name="!MiniFAT"),Mr[Dt[0]].name="!FAT",Mr.fat_addrs=Dt,Mr.ssz=at;var er=[],Tr=[],fn=[];(function(dr,rn,Kr,tr,on,nn,An,bn){for(var Gn,Dr=0,Nn=tr.length?2:0,Mn=rn[dr].data,Hn=0,vi=0;Hn<Mn.length;Hn+=128){var qe=Mn.slice(Hn,Hn+128);$o(qe,64),vi=qe.read_shift(2),Gn=B0(qe,0,vi-Nn),tr.push(Gn);var bt={name:Gn,type:qe.read_shift(1),color:qe.read_shift(1),L:qe.read_shift(4,"i"),R:qe.read_shift(4,"i"),C:qe.read_shift(4,"i"),clsid:qe.read_shift(16),state:qe.read_shift(4,"i"),start:0,size:0};qe.read_shift(2)+qe.read_shift(2)+qe.read_shift(2)+qe.read_shift(2)!==0&&(bt.ct=A(qe,qe.l-8)),qe.read_shift(2)+qe.read_shift(2)+qe.read_shift(2)+qe.read_shift(2)!==0&&(bt.mt=A(qe,qe.l-8)),bt.start=qe.read_shift(4,"i"),bt.size=qe.read_shift(4,"i"),bt.size<0&&bt.start<0&&(bt.size=bt.type=0,bt.start=m,bt.name=""),bt.type===5?(Dr=bt.start,on>0&&Dr!==m&&(rn[Dr].name="!StreamData")):bt.size>=4096?(bt.storage="fat",rn[bt.start]===void 0&&(rn[bt.start]=l(Kr,bt.start,rn.fat_addrs,rn.ssz)),rn[bt.start].name=bt.name,bt.content=rn[bt.start].data.slice(0,bt.size)):(bt.storage="minifat",bt.size<0?bt.size=0:Dr!==m&&bt.start!==m&&rn[Dr]&&(bt.content=c(bt,rn[Dr].data,(rn[bn]||{}).data))),bt.content&&$o(bt.content,0),nn[Gn]=bt,An.push(bt)}})(Pe,Mr,fr,er,Ze,{},Tr,_e),function(dr,rn,Kr){for(var tr=0,on=0,nn=0,An=0,bn=0,Gn=Kr.length,Dr=[],Nn=[];tr<Gn;++tr)Dr[tr]=Nn[tr]=tr,rn[tr]=Kr[tr];for(;bn<Nn.length;++bn)on=dr[tr=Nn[bn]].L,nn=dr[tr].R,An=dr[tr].C,Dr[tr]===tr&&(on!==-1&&Dr[on]!==on&&(Dr[tr]=Dr[on]),nn!==-1&&Dr[nn]!==nn&&(Dr[tr]=Dr[nn])),An!==-1&&(Dr[An]=tr),on!==-1&&tr!=Dr[tr]&&(Dr[on]=Dr[tr],Nn.lastIndexOf(on)<bn&&Nn.push(on)),nn!==-1&&tr!=Dr[tr]&&(Dr[nn]=Dr[tr],Nn.lastIndexOf(nn)<bn&&Nn.push(nn));for(tr=1;tr<Gn;++tr)Dr[tr]===tr&&(nn!==-1&&Dr[nn]!==nn?Dr[tr]=Dr[nn]:on!==-1&&Dr[on]!==on&&(Dr[tr]=Dr[on]));for(tr=1;tr<Gn;++tr)if(dr[tr].type!==0){if((bn=tr)!=Dr[bn])do bn=Dr[bn],rn[tr]=rn[bn]+"/"+rn[tr];while(bn!==0&&Dr[bn]!==-1&&bn!=Dr[bn]);Dr[tr]=-1}for(rn[0]+="/",tr=1;tr<Gn;++tr)dr[tr].type!==2&&(rn[tr]+="/")}(Tr,fn,er),er.shift();var _n={FileIndex:Tr,FullPaths:fn};return me&&me.raw&&(_n.raw={header:Wt,sectors:fr}),_n}function c(pe,me,Re){for(var Ze=pe.start,ke=pe.size,Pe=[],_e=Ze;Re&&ke>0&&_e>=0;)Pe.push(me.slice(_e*p,_e*p+p)),ke-=p,_e=Wl(Re,4*_e);return Pe.length===0?Kt(0):jo(Pe).slice(0,pe.size)}function u(pe,me,Re,Ze,ke){var Pe=m;if(pe===m){if(me!==0)throw new Error("DIFAT chain shorter than expected")}else if(pe!==-1){var _e=Re[pe],Je=(Ze>>>2)-1;if(!_e)return;for(var at=0;at<Je&&(Pe=Wl(_e,4*at))!==m;++at)ke.push(Pe);u(Wl(_e,Ze-4),me-1,Re,Ze,ke)}}function l(pe,me,Re,Ze,ke){var Pe=[],_e=[];ke||(ke=[]);var Je=Ze-1,at=0,Dt=0;for(at=me;at>=0;){ke[at]=!0,Pe[Pe.length]=at,_e.push(pe[at]);var St=Re[Math.floor(4*at/Ze)];if(Ze<4+(Dt=4*at&Je))throw new Error("FAT boundary crossed: "+at+" 4 "+Ze);if(!pe[St])break;at=Wl(pe[St],Dt)}return{nodes:Pe,data:bv([_e])}}function A(pe,me){return new Date(1e3*(ic(pe,me+4)/1e7*Math.pow(2,32)+ic(pe,me)/1e7-11644473600))}function h(pe,me){var Re=me||{},Ze=Re.root||"Root Entry";if(pe.FullPaths||(pe.FullPaths=[]),pe.FileIndex||(pe.FileIndex=[]),pe.FullPaths.length!==pe.FileIndex.length)throw new Error("inconsistent CFB structure");pe.FullPaths.length===0&&(pe.FullPaths[0]=Ze+"/",pe.FileIndex[0]={name:Ze,type:5}),Re.CLSID&&(pe.FileIndex[0].clsid=Re.CLSID),function(ke){var Pe="Sh33tJ5";if(!Pn.find(ke,"/"+Pe)){var _e=Kt(4);_e[0]=55,_e[1]=_e[3]=50,_e[2]=54,ke.FileIndex.push({name:Pe,type:2,content:_e,size:4,L:69,R:69,C:69}),ke.FullPaths.push(ke.FullPaths[0]+Pe),f(ke)}}(pe)}function f(pe,me){h(pe);for(var Re=!1,Ze=!1,ke=pe.FullPaths.length-1;ke>=0;--ke){var Pe=pe.FileIndex[ke];switch(Pe.type){case 0:Ze?Re=!0:(pe.FileIndex.pop(),pe.FullPaths.pop());break;case 1:case 2:case 5:Ze=!0,isNaN(Pe.R*Pe.L*Pe.C)&&(Re=!0),Pe.R>-1&&Pe.L>-1&&Pe.R==Pe.L&&(Re=!0);break;default:Re=!0}}if(Re||me){var _e=new Date(1987,1,19),Je=0,at=Object.create?Object.create(null):{},Dt=[];for(ke=0;ke<pe.FullPaths.length;++ke)at[pe.FullPaths[ke]]=!0,pe.FileIndex[ke].type!==0&&Dt.push([pe.FullPaths[ke],pe.FileIndex[ke]]);for(ke=0;ke<Dt.length;++ke){var St=t(Dt[ke][0]);(Ze=at[St])||(Dt.push([St,{name:n(St).replace("/",""),type:1,clsid:I,ct:_e,mt:_e,content:null}]),at[St]=!0)}for(Dt.sort(function(Ut,ur){return function(Br,fr){for(var Mr=Br.split("/"),er=fr.split("/"),Tr=0,fn=0,_n=Math.min(Mr.length,er.length);Tr<_n;++Tr){if(fn=Mr[Tr].length-er[Tr].length)return fn;if(Mr[Tr]!=er[Tr])return Mr[Tr]<er[Tr]?-1:1}return Mr.length-er.length}(Ut[0],ur[0])}),pe.FullPaths=[],pe.FileIndex=[],ke=0;ke<Dt.length;++ke)pe.FullPaths[ke]=Dt[ke][0],pe.FileIndex[ke]=Dt[ke][1];for(ke=0;ke<Dt.length;++ke){var hr=pe.FileIndex[ke],Wt=pe.FullPaths[ke];if(hr.name=n(Wt).replace("/",""),hr.L=hr.R=hr.C=-(hr.color=1),hr.size=hr.content?hr.content.length:0,hr.start=0,hr.clsid=hr.clsid||I,ke===0)hr.C=Dt.length>1?1:-1,hr.size=0,hr.type=5;else if(Wt.slice(-1)=="/"){for(Je=ke+1;Je<Dt.length&&t(pe.FullPaths[Je])!=Wt;++Je);for(hr.C=Je>=Dt.length?-1:Je,Je=ke+1;Je<Dt.length&&t(pe.FullPaths[Je])!=t(Wt);++Je);hr.R=Je>=Dt.length?-1:Je,hr.type=1}else t(pe.FullPaths[ke+1]||"")==t(Wt)&&(hr.R=ke+1),hr.type=2}}}function d(pe,me){var Re=me||{};if(Re.fileType=="mad")return function(Ut,ur){for(var Br=ur||{},fr=Br.boundary||"SheetJS",Mr=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(fr="------="+fr).slice(2)+'"',"","",""],er=Ut.FullPaths[0],Tr=er,fn=Ut.FileIndex[0],_n=1;_n<Ut.FullPaths.length;++_n)if(Tr=Ut.FullPaths[_n].slice(er.length),(fn=Ut.FileIndex[_n]).size&&fn.content&&Tr!="Sh33tJ5"){Tr=Tr.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(bn){return"_x"+bn.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(bn){return"_u"+bn.charCodeAt(0).toString(16)+"_"});for(var dr=fn.content,rn=wi&&Buffer.isBuffer(dr)?dr.toString("binary"):k(dr),Kr=0,tr=Math.min(1024,rn.length),on=0,nn=0;nn<=tr;++nn)(on=rn.charCodeAt(nn))>=32&&on<128&&++Kr;var An=Kr>=4*tr/5;Mr.push(fr),Mr.push("Content-Location: "+(Br.root||"file:///C:/SheetJS/")+Tr),Mr.push("Content-Transfer-Encoding: "+(An?"quoted-printable":"base64")),Mr.push("Content-Type: "+pt(fn,Tr)),Mr.push(""),Mr.push(An?Ee(rn):Be(rn))}return Mr.push(fr+`--\r
  158. `),Mr.join(`\r
  159. `)}(pe,Re);if(f(pe),Re.fileType==="zip")return function(Ut,ur){var Br=ur||{},fr=[],Mr=[],er=Kt(1),Tr=Br.compression?8:0,fn=0,_n=0,dr=0,rn=0,Kr=0,tr=Ut.FullPaths[0],on=tr,nn=Ut.FileIndex[0],An=[],bn=0;for(_n=1;_n<Ut.FullPaths.length;++_n)if(on=Ut.FullPaths[_n].slice(tr.length),(nn=Ut.FileIndex[_n]).size&&nn.content&&on!="Sh33tJ5"){var Gn=rn,Dr=Kt(on.length);for(dr=0;dr<on.length;++dr)Dr.write_shift(1,127&on.charCodeAt(dr));Dr=Dr.slice(0,Dr.l),An[Kr]=eb.buf(nn.content,0);var Nn=nn.content;Tr==8&&(Nn=R(Nn)),(er=Kt(30)).write_shift(4,67324752),er.write_shift(2,20),er.write_shift(2,fn),er.write_shift(2,Tr),nn.mt?a(er,nn.mt):er.write_shift(4,0),er.write_shift(-4,An[Kr]),er.write_shift(4,Nn.length),er.write_shift(4,nn.content.length),er.write_shift(2,Dr.length),er.write_shift(2,0),rn+=er.length,fr.push(er),rn+=Dr.length,fr.push(Dr),rn+=Nn.length,fr.push(Nn),(er=Kt(46)).write_shift(4,33639248),er.write_shift(2,0),er.write_shift(2,20),er.write_shift(2,fn),er.write_shift(2,Tr),er.write_shift(4,0),er.write_shift(-4,An[Kr]),er.write_shift(4,Nn.length),er.write_shift(4,nn.content.length),er.write_shift(2,Dr.length),er.write_shift(2,0),er.write_shift(2,0),er.write_shift(2,0),er.write_shift(2,0),er.write_shift(4,0),er.write_shift(4,Gn),bn+=er.l,Mr.push(er),bn+=Dr.length,Mr.push(Dr),++Kr}return er=Kt(22),er.write_shift(4,101010256),er.write_shift(2,0),er.write_shift(2,0),er.write_shift(2,Kr),er.write_shift(2,Kr),er.write_shift(4,bn),er.write_shift(4,rn),er.write_shift(2,0),jo([jo(fr),jo(Mr),er])}(pe,Re);var Ze=function(Ut){for(var ur=0,Br=0,fr=0;fr<Ut.FileIndex.length;++fr){var Mr=Ut.FileIndex[fr];if(Mr.content){var er=Mr.content.length;er>0&&(er<4096?ur+=er+63>>6:Br+=er+511>>9)}}for(var Tr=Ut.FullPaths.length+3>>2,fn=ur+127>>7,_n=(ur+7>>3)+Br+Tr+fn,dr=_n+127>>7,rn=dr<=109?0:Math.ceil((dr-109)/127);_n+dr+rn+127>>7>dr;)rn=++dr<=109?0:Math.ceil((dr-109)/127);var Kr=[1,rn,dr,fn,Tr,Br,ur,0];return Ut.FileIndex[0].size=ur<<6,Kr[7]=(Ut.FileIndex[0].start=Kr[0]+Kr[1]+Kr[2]+Kr[3]+Kr[4]+Kr[5])+(Kr[6]+7>>3),Kr}(pe),ke=Kt(Ze[7]<<9),Pe=0,_e=0;for(Pe=0;Pe<8;++Pe)ke.write_shift(1,y[Pe]);for(Pe=0;Pe<8;++Pe)ke.write_shift(2,0);for(ke.write_shift(2,62),ke.write_shift(2,3),ke.write_shift(2,65534),ke.write_shift(2,9),ke.write_shift(2,6),Pe=0;Pe<3;++Pe)ke.write_shift(2,0);for(ke.write_shift(4,0),ke.write_shift(4,Ze[2]),ke.write_shift(4,Ze[0]+Ze[1]+Ze[2]+Ze[3]-1),ke.write_shift(4,0),ke.write_shift(4,4096),ke.write_shift(4,Ze[3]?Ze[0]+Ze[1]+Ze[2]-1:m),ke.write_shift(4,Ze[3]),ke.write_shift(-4,Ze[1]?Ze[0]-1:m),ke.write_shift(4,Ze[1]),Pe=0;Pe<109;++Pe)ke.write_shift(-4,Pe<Ze[2]?Ze[1]+Pe:-1);if(Ze[1])for(_e=0;_e<Ze[1];++_e){for(;Pe<236+127*_e;++Pe)ke.write_shift(-4,Pe<Ze[2]?Ze[1]+Pe:-1);ke.write_shift(-4,_e===Ze[1]-1?m:_e+1)}var Je=function(Ut){for(_e+=Ut;Pe<_e-1;++Pe)ke.write_shift(-4,Pe+1);Ut&&(++Pe,ke.write_shift(-4,m))};for(_e=Pe=0,_e+=Ze[1];Pe<_e;++Pe)ke.write_shift(-4,E.DIFSECT);for(_e+=Ze[2];Pe<_e;++Pe)ke.write_shift(-4,E.FATSECT);Je(Ze[3]),Je(Ze[4]);for(var at=0,Dt=0,St=pe.FileIndex[0];at<pe.FileIndex.length;++at)(St=pe.FileIndex[at]).content&&((Dt=St.content.length)<4096||(St.start=_e,Je(Dt+511>>9)));for(Je(Ze[6]+7>>3);511&ke.l;)ke.write_shift(-4,E.ENDOFCHAIN);for(_e=Pe=0,at=0;at<pe.FileIndex.length;++at)(St=pe.FileIndex[at]).content&&(!(Dt=St.content.length)||Dt>=4096||(St.start=_e,Je(Dt+63>>6)));for(;511&ke.l;)ke.write_shift(-4,E.ENDOFCHAIN);for(Pe=0;Pe<Ze[4]<<2;++Pe){var hr=pe.FullPaths[Pe];if(hr&&hr.length!==0){St=pe.FileIndex[Pe],Pe===0&&(St.start=St.size?St.start-1:m);var Wt=Pe===0&&Re.root||St.name;if(Dt=2*(Wt.length+1),ke.write_shift(64,Wt,"utf16le"),ke.write_shift(2,Dt),ke.write_shift(1,St.type),ke.write_shift(1,St.color),ke.write_shift(-4,St.L),ke.write_shift(-4,St.R),ke.write_shift(-4,St.C),St.clsid)ke.write_shift(16,St.clsid,"hex");else for(at=0;at<4;++at)ke.write_shift(4,0);ke.write_shift(4,St.state||0),ke.write_shift(4,0),ke.write_shift(4,0),ke.write_shift(4,0),ke.write_shift(4,0),ke.write_shift(4,St.start),ke.write_shift(4,St.size),ke.write_shift(4,0)}else{for(at=0;at<17;++at)ke.write_shift(4,0);for(at=0;at<3;++at)ke.write_shift(4,-1);for(at=0;at<12;++at)ke.write_shift(4,0)}}for(Pe=1;Pe<pe.FileIndex.length;++Pe)if((St=pe.FileIndex[Pe]).size>=4096)if(ke.l=St.start+1<<9,wi&&Buffer.isBuffer(St.content))St.content.copy(ke,ke.l,0,St.size),ke.l+=St.size+511&-512;else{for(at=0;at<St.size;++at)ke.write_shift(1,St.content[at]);for(;511&at;++at)ke.write_shift(1,0)}for(Pe=1;Pe<pe.FileIndex.length;++Pe)if((St=pe.FileIndex[Pe]).size>0&&St.size<4096)if(wi&&Buffer.isBuffer(St.content))St.content.copy(ke,ke.l,0,St.size),ke.l+=St.size+63&-64;else{for(at=0;at<St.size;++at)ke.write_shift(1,St.content[at]);for(;63&at;++at)ke.write_shift(1,0)}if(wi)ke.l=ke.length;else for(;ke.l<ke.length;)ke.write_shift(1,0);return ke}r.version="1.2.1";var g,p=64,m=-2,v="d0cf11e0a1b11ae1",y=[208,207,17,224,161,177,26,225],I="00000000000000000000000000000000",E={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:m,FREESECT:-1,HEADER_SIGNATURE:v,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:I,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function k(pe){for(var me=new Array(pe.length),Re=0;Re<pe.length;++Re)me[Re]=String.fromCharCode(pe[Re]);return me.join("")}function R(pe){return g?g.deflateRawSync(pe):de(pe)}for(var T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],W=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],H,X,x=typeof Uint8Array<"u",N=x?new Uint8Array(256):[],C=0;C<256;++C)N[C]=(X=void 0,255&((X=139536&((H=C)<<1|H<<11)|558144&(H<<5|H<<15))>>16|X>>8|X));function w(pe,me){var Re=N[255&pe];return me<=8?Re>>>8-me:(Re=Re<<8|N[pe>>8&255],me<=16?Re>>>16-me:(Re=Re<<8|N[pe>>16&255])>>>24-me)}function Q(pe,me){var Re=7&me,Ze=me>>>3;return(pe[Ze]|(Re<=6?0:pe[Ze+1]<<8))>>>Re&3}function B(pe,me){var Re=7&me,Ze=me>>>3;return(pe[Ze]|(Re<=5?0:pe[Ze+1]<<8))>>>Re&7}function S(pe,me){var Re=7&me,Ze=me>>>3;return(pe[Ze]|(Re<=3?0:pe[Ze+1]<<8))>>>Re&31}function O(pe,me){var Re=7&me,Ze=me>>>3;return(pe[Ze]|(Re<=1?0:pe[Ze+1]<<8))>>>Re&127}function F(pe,me,Re){var Ze=7&me,ke=me>>>3,Pe=(1<<Re)-1,_e=pe[ke]>>>Ze;return Re<8-Ze?_e&Pe:(_e|=pe[ke+1]<<8-Ze,Re<16-Ze?_e&Pe:(_e|=pe[ke+2]<<16-Ze,Re<24-Ze?_e&Pe:(_e|=pe[ke+3]<<24-Ze)&Pe))}function Y(pe,me,Re){var Ze=7&me,ke=me>>>3;return Ze<=5?pe[ke]|=(7&Re)<<Ze:(pe[ke]|=Re<<Ze&255,pe[ke+1]=(7&Re)>>8-Ze),me+3}function M(pe,me,Re){return Re=(1&Re)<<(7&me),pe[me>>>3]|=Re,me+1}function z(pe,me,Re){var Ze=me>>>3;return Re<<=7&me,pe[Ze]|=255&Re,Re>>>=8,pe[Ze+1]=Re,me+8}function ue(pe,me,Re){var Ze=me>>>3;return Re<<=7&me,pe[Ze]|=255&Re,Re>>>=8,pe[Ze+1]=255&Re,pe[Ze+2]=Re>>>8,me+16}function ae(pe,me){var Re=pe.length,Ze=2*Re>me?2*Re:me+5,ke=0;if(Re>=me)return pe;if(wi){var Pe=H1(Ze);if(pe.copy)pe.copy(Pe);else for(;ke<pe.length;++ke)Pe[ke]=pe[ke];return Pe}if(x){var _e=new Uint8Array(Ze);if(_e.set)_e.set(pe);else for(;ke<Re;++ke)_e[ke]=pe[ke];return _e}return pe.length=Ze,pe}function Ne(pe){for(var me=new Array(pe),Re=0;Re<pe;++Re)me[Re]=0;return me}function Ge(pe,me,Re){var Ze=1,ke=0,Pe=0,_e=0,Je=0,at=pe.length,Dt=x?new Uint16Array(32):Ne(32);for(Pe=0;Pe<32;++Pe)Dt[Pe]=0;for(Pe=at;Pe<Re;++Pe)pe[Pe]=0;at=pe.length;var St=x?new Uint16Array(at):Ne(at);for(Pe=0;Pe<at;++Pe)Dt[ke=pe[Pe]]++,Ze<ke&&(Ze=ke),St[Pe]=0;for(Dt[0]=0,Pe=1;Pe<=Ze;++Pe)Dt[Pe+16]=Je=Je+Dt[Pe-1]<<1;for(Pe=0;Pe<at;++Pe)(Je=pe[Pe])!=0&&(St[Pe]=Dt[Je+16]++);var hr=0;for(Pe=0;Pe<at;++Pe)if((hr=pe[Pe])!=0)for(Je=w(St[Pe],Ze)>>Ze-hr,_e=(1<<Ze+4-hr)-1;_e>=0;--_e)me[Je|_e<<hr]=15&hr|Pe<<4;return Ze}var Ye=x?new Uint16Array(512):Ne(512),Ae=x?new Uint16Array(32):Ne(32);if(!x){for(var te=0;te<512;++te)Ye[te]=0;for(te=0;te<32;++te)Ae[te]=0}(function(){for(var pe=[],me=0;me<32;me++)pe.push(5);Ge(pe,Ae,32);var Re=[];for(me=0;me<=143;me++)Re.push(8);for(;me<=255;me++)Re.push(9);for(;me<=279;me++)Re.push(7);for(;me<=287;me++)Re.push(8);Ge(Re,Ye,288)})();var he=function(){for(var pe=x?new Uint8Array(32768):[],me=0,Re=0;me<W.length-1;++me)for(;Re<W[me+1];++Re)pe[Re]=me;for(;Re<32768;++Re)pe[Re]=29;var Ze=x?new Uint8Array(259):[];for(me=0,Re=0;me<j.length-1;++me)for(;Re<j[me+1];++Re)Ze[Re]=me;return function(ke,Pe){return ke.length<8?function(_e,Je){for(var at=0;at<_e.length;){var Dt=Math.min(65535,_e.length-at),St=at+Dt==_e.length;for(Je.write_shift(1,+St),Je.write_shift(2,Dt),Je.write_shift(2,65535&~Dt);Dt-- >0;)Je[Je.l++]=_e[at++]}return Je.l}(ke,Pe):function(_e,Je){for(var at=0,Dt=0,St=x?new Uint16Array(32768):[];Dt<_e.length;){var hr=Math.min(65535,_e.length-Dt);if(hr<10){for(7&(at=Y(Je,at,+(Dt+hr==_e.length)))&&(at+=8-(7&at)),Je.l=at/8|0,Je.write_shift(2,hr),Je.write_shift(2,65535&~hr);hr-- >0;)Je[Je.l++]=_e[Dt++];at=8*Je.l}else{at=Y(Je,at,+(Dt+hr==_e.length)+2);for(var Wt=0;hr-- >0;){var Ut=_e[Dt],ur=-1,Br=0;if((ur=St[Wt=32767&(Wt<<5^Ut)])&&((ur|=-32768&Dt)>Dt&&(ur-=32768),ur<Dt))for(;_e[ur+Br]==_e[Dt+Br]&&Br<250;)++Br;if(Br>2){(Ut=Ze[Br])<=22?at=z(Je,at,N[Ut+1]>>1)-1:(z(Je,at,3),z(Je,at+=5,N[Ut-23]>>5),at+=3);var fr=Ut<8?0:Ut-4>>2;fr>0&&(ue(Je,at,Br-j[Ut]),at+=fr),Ut=pe[Dt-ur],at=z(Je,at,N[Ut]>>3),at-=3;var Mr=Ut<4?0:Ut-2>>1;Mr>0&&(ue(Je,at,Dt-ur-W[Ut]),at+=Mr);for(var er=0;er<Br;++er)St[Wt]=32767&Dt,Wt=32767&(Wt<<5^_e[Dt]),++Dt;hr-=Br-1}else Ut<=143?Ut+=48:at=M(Je,at,1),at=z(Je,at,N[Ut]),St[Wt]=32767&Dt,++Dt}at=z(Je,at,0)-1}}return Je.l=(at+7)/8|0,Je.l}(ke,Pe)}}();function de(pe){var me=Kt(50+Math.floor(1.1*pe.length)),Re=he(pe,me);return me.slice(0,Re)}var Ke=x?new Uint16Array(32768):Ne(32768),le=x?new Uint16Array(32768):Ne(32768),Ce=x?new Uint16Array(128):Ne(128),At=1,Z=1;function ce(pe,me){var Re=S(pe,me)+257,Ze=S(pe,me+=5)+1,ke=function(Tr,fn){var _n=7&fn,dr=fn>>>3;return(Tr[dr]|(_n<=4?0:Tr[dr+1]<<8))>>>_n&15}(pe,me+=5)+4;me+=4;for(var Pe=0,_e=x?new Uint8Array(19):Ne(19),Je=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],at=1,Dt=x?new Uint8Array(8):Ne(8),St=x?new Uint8Array(8):Ne(8),hr=_e.length,Wt=0;Wt<ke;++Wt)_e[T[Wt]]=Pe=B(pe,me),at<Pe&&(at=Pe),Dt[Pe]++,me+=3;var Ut=0;for(Dt[0]=0,Wt=1;Wt<=at;++Wt)St[Wt]=Ut=Ut+Dt[Wt-1]<<1;for(Wt=0;Wt<hr;++Wt)(Ut=_e[Wt])!=0&&(Je[Wt]=St[Ut]++);var ur=0;for(Wt=0;Wt<hr;++Wt)if((ur=_e[Wt])!=0){Ut=N[Je[Wt]]>>8-ur;for(var Br=(1<<7-ur)-1;Br>=0;--Br)Ce[Ut|Br<<ur]=7&ur|Wt<<3}var fr=[];for(at=1;fr.length<Re+Ze;)switch(me+=7&(Ut=Ce[O(pe,me)]),Ut>>>=3){case 16:for(Pe=3+Q(pe,me),me+=2,Ut=fr[fr.length-1];Pe-- >0;)fr.push(Ut);break;case 17:for(Pe=3+B(pe,me),me+=3;Pe-- >0;)fr.push(0);break;case 18:for(Pe=11+O(pe,me),me+=7;Pe-- >0;)fr.push(0);break;default:fr.push(Ut),at<Ut&&(at=Ut)}var Mr=fr.slice(0,Re),er=fr.slice(Re);for(Wt=Re;Wt<286;++Wt)Mr[Wt]=0;for(Wt=Ze;Wt<30;++Wt)er[Wt]=0;return At=Ge(Mr,Ke,286),Z=Ge(er,le,30),me}function ye(pe,me){var Re=function(Ze,ke){if(Ze[0]==3&&!(3&Ze[1]))return[ul(ke),2];for(var Pe=0,_e=0,Je=H1(ke||262144),at=0,Dt=Je.length>>>0,St=0,hr=0;!(1&_e);)if(_e=B(Ze,Pe),Pe+=3,_e>>>1!=0)for(_e>>1==1?(St=9,hr=5):(Pe=ce(Ze,Pe),St=At,hr=Z);;){!ke&&Dt<at+32767&&(Dt=(Je=ae(Je,at+32767)).length);var Wt=F(Ze,Pe,St),Ut=_e>>>1==1?Ye[Wt]:Ke[Wt];if(Pe+=15&Ut,((Ut>>>=4)>>>8&255)==0)Je[at++]=Ut;else{if(Ut==256)break;var ur=(Ut-=257)<8?0:Ut-4>>2;ur>5&&(ur=0);var Br=at+j[Ut];ur>0&&(Br+=F(Ze,Pe,ur),Pe+=ur),Wt=F(Ze,Pe,hr),Pe+=15&(Ut=_e>>>1==1?Ae[Wt]:le[Wt]);var fr=(Ut>>>=4)<4?0:Ut-2>>1,Mr=W[Ut];for(fr>0&&(Mr+=F(Ze,Pe,fr),Pe+=fr),!ke&&Dt<Br&&(Dt=(Je=ae(Je,Br+100)).length);at<Br;)Je[at]=Je[at-Mr],++at}}else{7&Pe&&(Pe+=8-(7&Pe));var er=Ze[Pe>>>3]|Ze[1+(Pe>>>3)]<<8;if(Pe+=32,er>0)for(!ke&&Dt<at+er&&(Dt=(Je=ae(Je,at+er)).length);er-- >0;)Je[at++]=Ze[Pe>>>3],Pe+=8}return ke?[Je,Pe+7>>>3]:[Je.slice(0,at),Pe+7>>>3]}(pe.slice(pe.l||0),me);return pe.l+=Re[1],Re[0]}function Ve(pe,me){if(!pe)throw new Error(me);typeof console<"u"&&console.error(me)}function dt(pe,me){var Re=pe;$o(Re,0);var Ze={FileIndex:[],FullPaths:[]};h(Ze,{root:me.root});for(var ke=Re.length-4;(Re[ke]!=80||Re[ke+1]!=75||Re[ke+2]!=5||Re[ke+3]!=6)&&ke>=0;)--ke;Re.l=ke+4,Re.l+=4;var Pe=Re.read_shift(2);Re.l+=6;var _e=Re.read_shift(4);for(Re.l=_e,ke=0;ke<Pe;++ke){Re.l+=20;var Je=Re.read_shift(4),at=Re.read_shift(4),Dt=Re.read_shift(2),St=Re.read_shift(2),hr=Re.read_shift(2);Re.l+=8;var Wt=Re.read_shift(4),Ut=s(Re.slice(Re.l+Dt,Re.l+Dt+St));Re.l+=Dt+St+hr;var ur=Re.l;Re.l=Wt+4,re(Re,Je,at,Ze,Ut),Re.l=ur}return Ze}function re(pe,me,Re,Ze,ke){pe.l+=2;var Pe=pe.read_shift(2),_e=pe.read_shift(2),Je=function(Mr){var er=65535&Mr.read_shift(2),Tr=65535&Mr.read_shift(2),fn=new Date,_n=31&Tr,dr=15&(Tr>>>=5);Tr>>>=4,fn.setMilliseconds(0),fn.setFullYear(Tr+1980),fn.setMonth(dr-1),fn.setDate(_n);var rn=31&er,Kr=63&(er>>>=5);return er>>>=6,fn.setHours(er),fn.setMinutes(Kr),fn.setSeconds(rn<<1),fn}(pe);if(8257&Pe)throw new Error("Unsupported ZIP encryption");pe.read_shift(4);for(var at=pe.read_shift(4),Dt=pe.read_shift(4),St=pe.read_shift(2),hr=pe.read_shift(2),Wt="",Ut=0;Ut<St;++Ut)Wt+=String.fromCharCode(pe[pe.l++]);if(hr){var ur=s(pe.slice(pe.l,pe.l+hr));(ur[21589]||{}).mt&&(Je=ur[21589].mt),((ke||{})[21589]||{}).mt&&(Je=ke[21589].mt)}pe.l+=hr;var Br=pe.slice(pe.l,pe.l+at);switch(_e){case 8:Br=function(Mr,er){if(!g)return ye(Mr,er);var Tr=new g.InflateRaw,fn=Tr._processChunk(Mr.slice(Mr.l),Tr._finishFlushFlag);return Mr.l+=Tr.bytesRead,fn}(pe,Dt);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+_e)}var fr=!1;8&Pe&&(pe.read_shift(4)==134695760&&(pe.read_shift(4),fr=!0),at=pe.read_shift(4),Dt=pe.read_shift(4)),at!=me&&Ve(fr,"Bad compressed size: "+me+" != "+at),Dt!=Re&&Ve(fr,"Bad uncompressed size: "+Re+" != "+Dt),yt(Ze,Wt,Br,{unsafe:!0,mt:Je})}var ot={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function pt(pe,me){if(pe.ctype)return pe.ctype;var Re=pe.name||"",Ze=Re.match(/\.([^\.]+)$/);return Ze&&ot[Ze[1]]||me&&(Ze=(Re=me).match(/[\.\\]([^\.\\])+$/))&&ot[Ze[1]]?ot[Ze[1]]:"application/octet-stream"}function Be(pe){for(var me=YA(pe),Re=[],Ze=0;Ze<me.length;Ze+=76)Re.push(me.slice(Ze,Ze+76));return Re.join(`\r
  160. `)+`\r
  161. `}function Ee(pe){var me=pe.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(Dt){var St=Dt.charCodeAt(0).toString(16).toUpperCase();return"="+(St.length==1?"0"+St:St)});(me=me.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)==`
  162. `&&(me="=0D"+me.slice(1));for(var Re=[],Ze=(me=me.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,`
  163. =0A`).replace(/([^\r\n])\n/gm,"$1=0A")).split(`\r
  164. `),ke=0;ke<Ze.length;++ke){var Pe=Ze[ke];if(Pe.length!=0)for(var _e=0;_e<Pe.length;){var Je=76,at=Pe.slice(_e,_e+Je);at.charAt(Je-1)=="="?Je--:at.charAt(Je-2)=="="?Je-=2:at.charAt(Je-3)=="="&&(Je-=3),at=Pe.slice(_e,_e+Je),(_e+=Je)<Pe.length&&(at+="="),Re.push(at)}else Re.push("")}return Re.join(`\r
  165. `)}function Me(pe,me,Re){for(var Ze,ke="",Pe="",_e="",Je=0;Je<10;++Je){var at=me[Je];if(!at||at.match(/^\s*$/))break;var Dt=at.match(/^(.*?):\s*([^\s].*)$/);if(Dt)switch(Dt[1].toLowerCase()){case"content-location":ke=Dt[2].trim();break;case"content-type":_e=Dt[2].trim();break;case"content-transfer-encoding":Pe=Dt[2].trim()}}switch(++Je,Pe.toLowerCase()){case"base64":Ze=ec($s(me.slice(Je).join("")));break;case"quoted-printable":Ze=function(hr){for(var Wt=[],Ut=0;Ut<hr.length;++Ut){for(var ur=hr[Ut];Ut<=hr.length&&ur.charAt(ur.length-1)=="=";)ur=ur.slice(0,ur.length-1)+hr[++Ut];Wt.push(ur)}for(var Br=0;Br<Wt.length;++Br)Wt[Br]=Wt[Br].replace(/[=][0-9A-Fa-f]{2}/g,function(fr){return String.fromCharCode(parseInt(fr.slice(1),16))});return ec(Wt.join(`\r
  166. `))}(me.slice(Je));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+Pe)}var St=yt(pe,ke.slice(Re.length),Ze,{unsafe:!0});_e&&(St.ctype=_e)}function yt(pe,me,Re,Ze){var ke=Ze&&Ze.unsafe;ke||h(pe);var Pe=!ke&&Pn.find(pe,me);if(!Pe){var _e=pe.FullPaths[0];me.slice(0,_e.length)==_e?_e=me:(_e.slice(-1)!="/"&&(_e+="/"),_e=(_e+me).replace("//","/")),Pe={name:n(me),type:2},pe.FileIndex.push(Pe),pe.FullPaths.push(_e),ke||Pn.utils.cfb_gc(pe)}return Pe.content=Re,Pe.size=Re?Re.length:0,Ze&&(Ze.CLSID&&(Pe.clsid=Ze.CLSID),Ze.mt&&(Pe.mt=Ze.mt),Ze.ct&&(Pe.ct=Ze.ct)),Pe}return r.find=function(pe,me){var Re=pe.FullPaths.map(function(at){return at.toUpperCase()}),Ze=Re.map(function(at){var Dt=at.split("/");return Dt[Dt.length-(at.slice(-1)=="/"?2:1)]}),ke=!1;me.charCodeAt(0)===47?(ke=!0,me=Re[0].slice(0,-1)+me):ke=me.indexOf("/")!==-1;var Pe=me.toUpperCase(),_e=ke===!0?Re.indexOf(Pe):Ze.indexOf(Pe);if(_e!==-1)return pe.FileIndex[_e];var Je=!Pe.match(Jh);for(Pe=Pe.replace(bs,""),Je&&(Pe=Pe.replace(Jh,"!")),_e=0;_e<Re.length;++_e)if((Je?Re[_e].replace(Jh,"!"):Re[_e]).replace(bs,"")==Pe||(Je?Ze[_e].replace(Jh,"!"):Ze[_e]).replace(bs,"")==Pe)return pe.FileIndex[_e];return null},r.read=function(pe,me){var Re=me&&me.type;switch(Re||wi&&Buffer.isBuffer(pe)&&(Re="buffer"),Re||"base64"){case"file":return function(Ze,ke){return o(),i(e.readFileSync(Ze),ke)}(pe,me);case"base64":return i(ec($s(pe)),me);case"binary":return i(ec(pe),me)}return i(pe,me)},r.parse=i,r.write=function(pe,me){var Re=d(pe,me);switch(me&&me.type||"buffer"){case"file":return o(),e.writeFileSync(me.filename,Re),Re;case"binary":return typeof Re=="string"?Re:k(Re);case"base64":return YA(typeof Re=="string"?Re:k(Re));case"buffer":if(wi)return Buffer.isBuffer(Re)?Re:_u(Re);case"array":return typeof Re=="string"?ec(Re):Re}return Re},r.writeFile=function(pe,me,Re){o();var Ze=d(pe,Re);e.writeFileSync(me,Ze)},r.utils={cfb_new:function(pe){var me={};return h(me,pe),me},cfb_add:yt,cfb_del:function(pe,me){h(pe);var Re=Pn.find(pe,me);if(Re){for(var Ze=0;Ze<pe.FileIndex.length;++Ze)if(pe.FileIndex[Ze]==Re)return pe.FileIndex.splice(Ze,1),pe.FullPaths.splice(Ze,1),!0}return!1},cfb_mov:function(pe,me,Re){h(pe);var Ze=Pn.find(pe,me);if(Ze){for(var ke=0;ke<pe.FileIndex.length;++ke)if(pe.FileIndex[ke]==Ze)return pe.FileIndex[ke].name=n(Re),pe.FullPaths[ke]=Re,!0}return!1},cfb_gc:function(pe){f(pe,!0)},ReadShift:KA,CheckField:Ov,prep_blob:$o,bconcat:jo,use_zlib:function(pe){try{var me=new pe.InflateRaw;if(me._processChunk(new Uint8Array([3,0]),me._finishFlushFlag),!me.bytesRead)throw new Error("zlib does not expose bytesRead");g=pe}catch(Re){console.error("cannot use native zlib: "+(Re.message||Re))}},_deflateRaw:de,_inflateRaw:ye,consts:E},r}();function tv(e){return typeof e=="string"?hd(e):Array.isArray(e)?function(r){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(r)}(e):e}function Wh(e,r,t){if(typeof Deno<"u"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=hd(r);break;default:throw new Error("Unsupported encoding "+t)}return Deno.writeFileSync(e,r)}var n=t=="utf8"?Oc(r):r;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([tv(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(typeof saveAs<"u")return saveAs(a,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var s=URL.createObjectURL(a);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(s)},6e4),chrome.downloads.download({url:s,filename:e,saveAs:!0});var o=document.createElement("a");if(o.download!=null)return o.download=e,o.href=s,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(s)},6e4),s}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var i=File(e);return i.open("w"),i.encoding="binary",Array.isArray(r)&&(r=Du(r)),i.write(r),i.close(),r}catch(c){if(!c.message||!c.message.match(/onstruct/))throw c}throw new Error("cannot save file "+e)}function za(e){for(var r=Object.keys(e),t=[],n=0;n<r.length;++n)Object.prototype.hasOwnProperty.call(e,r[n])&&t.push(r[n]);return t}function rv(e,r){for(var t=[],n=za(e),a=0;a!==n.length;++a)t[e[n[a]][r]]==null&&(t[e[n[a]][r]]=n[a]);return t}function bd(e){for(var r=[],t=za(e),n=0;n!==t.length;++n)r[e[t[n]]]=t[n];return r}function Cd(e){for(var r=[],t=za(e),n=0;n!==t.length;++n)r[e[t[n]]]=parseInt(t[n],10);return r}var Ed=new Date(1899,11,30,0,0,0);function Zo(e,r){var t=e.getTime();return r&&(t-=1263168e5),(t-(Ed.getTime()+6e4*(e.getTimezoneOffset()-Ed.getTimezoneOffset())))/864e5}var nv=new Date,iv=Ed.getTime()+6e4*(nv.getTimezoneOffset()-Ed.getTimezoneOffset()),p0=nv.getTimezoneOffset();function Kh(e){var r=new Date;return r.setTime(24*e*60*60*1e3+iv),r.getTimezoneOffset()!==p0&&r.setTime(r.getTime()+6e4*(r.getTimezoneOffset()-p0)),r}function tb(e){var r=0,t=0,n=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var s=1;s!=a.length;++s)if(a[s]){switch(t=1,s>3&&(n=!0),a[s].slice(a[s].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[s].slice(a[s].length-1));case"D":t*=24;case"H":t*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");t*=60}r+=t*parseInt(a[s],10)}return r}var av=new Date("2017-02-19T19:06:09.000Z"),ov=isNaN(av.getFullYear())?new Date("2/19/17"):av,rb=ov.getFullYear()==2017;function Ga(e,r){var t=new Date(e);if(rb)return r>0?t.setTime(t.getTime()+60*t.getTimezoneOffset()*1e3):r<0&&t.setTime(t.getTime()-60*t.getTimezoneOffset()*1e3),t;if(e instanceof Date)return e;if(ov.getFullYear()==1917&&!isNaN(t.getFullYear())){var n=t.getFullYear();return e.indexOf(""+n)>-1||t.setFullYear(t.getFullYear()+100),t}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(s=new Date(s.getTime()-60*s.getTimezoneOffset()*1e3)),s}function Jl(e,r){if(wi&&Buffer.isBuffer(e)){if(r){if(e[0]==255&&e[1]==254)return Oc(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return Oc(U1(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(r){if(e[0]==255&&e[1]==254)return Oc(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return Oc(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(s){return t[s]||s})}catch{}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function Ra(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=Ra(e[t]));return r}function no(e,r){for(var t="";t.length<r;)t+=e;return t}function Nu(e){var r=Number(e);if(!isNaN(r))return isFinite(r)?r:NaN;if(!/\d/.test(e))return r;var t=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return t*=100,""});return isNaN(r=Number(n))?(n=n.replace(/[(](.*)[)]/,function(a,s){return t=-t,s}),isNaN(r=Number(n))?r:r/t):r/t}var nb=["january","february","march","april","may","june","july","august","september","october","november","december"];function zh(e){var r=new Date(e),t=new Date(NaN),n=r.getYear(),a=r.getMonth(),s=r.getDate();if(isNaN(s))return t;var o=e.toLowerCase();if(o.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((o=o.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&nb.indexOf(o)==-1)return t}else if(o.match(/[a-z]/))return t;return n<0||n>8099?t:(a>0||s>1)&&n!=101?r:e.match(/[^-0-9:,\/\\]/)?t:r}var ib=function(){var e="abacaba".split(/(:?b)/i).length==5;return function(r,t,n){if(e||typeof t=="string")return r.split(t);for(var a=r.split(t),s=[a[0]],o=1;o<a.length;++o)s.push(n),s.push(a[o]);return s}}();function sv(e){return e?e.content&&e.type?Jl(e.content,!0):e.data?Yh(e.data):e.asNodeBuffer&&wi?Yh(e.asNodeBuffer().toString("binary")):e.asBinary?Yh(e.asBinary()):e._data&&e._data.getContent?Yh(Jl(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function cv(e){if(!e)return null;if(e.data)return ld(e.data);if(e.asNodeBuffer&&wi)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();return typeof r=="string"?ld(r):Array.prototype.slice.call(r)}return e.content&&e.type?e.content:null}function gc(e,r){for(var t=e.FullPaths||za(e.files),n=r.toLowerCase().replace(/[\/]/g,"\\"),a=n.replace(/\\/g,"/"),s=0;s<t.length;++s){var o=t[s].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==o||a==o)return e.files?e.files[t[s]]:e.FileIndex[s]}return null}function v0(e,r){var t=gc(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function Co(e,r,t){if(!t)return(n=v0(e,r))&&n.name.slice(-4)===".bin"?cv(n):sv(n);var n;if(!r)return null;try{return Co(e,r)}catch{return null}}function rc(e,r,t){if(!t)return sv(v0(e,r));if(!r)return null;try{return rc(e,r)}catch{return null}}function uv(e,r,t){if(!t)return cv(v0(e,r));if(!r)return null;try{return uv(e,r)}catch{return null}}function lv(e){for(var r=e.FullPaths||za(e.files),t=[],n=0;n<r.length;++n)r[n].slice(-1)!="/"&&t.push(r[n].replace(/^Root Entry[\/]/,""));return t.sort()}function yi(e,r,t){if(e.FullPaths){var n;if(typeof t=="string")return n=wi?_u(t):function(a){for(var s=[],o=0,i=a.length+250,c=ul(a.length+255),u=0;u<a.length;++u){var l=a.charCodeAt(u);if(l<128)c[o++]=l;else if(l<2048)c[o++]=192|l>>6&31,c[o++]=128|63&l;else if(l>=55296&&l<57344){l=64+(1023&l);var A=1023&a.charCodeAt(++u);c[o++]=240|l>>8&7,c[o++]=128|l>>2&63,c[o++]=128|A>>6&15|(3&l)<<4,c[o++]=128|63&A}else c[o++]=224|l>>12&15,c[o++]=128|l>>6&63,c[o++]=128|63&l;o>i&&(s.push(c.slice(0,o)),o=0,c=ul(65535),i=65530)}return s.push(c.slice(0,o)),jo(s)}(t),Pn.utils.cfb_add(e,r,n);Pn.utils.cfb_add(e,r,t)}else e.file(r,t)}function m0(){return Pn.utils.cfb_new()}function Av(e,r){switch(r.type){case"base64":return Pn.read(e,{type:"base64"});case"binary":return Pn.read(e,{type:"binary"});case"buffer":case"array":return Pn.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+r.type)}function Vh(e,r){if(e.charAt(0)=="/")return e.slice(1);var t=r.split("/");r.slice(-1)!="/"&&t.pop();for(var n=e.split("/");n.length!==0;){var a=n.shift();a===".."?t.pop():a!=="."&&t.push(a)}return t.join("/")}var fo=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
  167. `,ab=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,hv=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,us=fo.match(hv)?hv:/<[^>]*>/g,ob=/<\w*:/,sb=/<(\/?)\w+:/;function ci(e,r,t){for(var n={},a=0,s=0;a!==e.length&&(s=e.charCodeAt(a))!==32&&s!==10&&s!==13;++a);if(r||(n[0]=e.slice(0,a)),a===e.length)return n;var o=e.match(ab),i=0,c="",u=0,l="",A="",h=1;if(o)for(u=0;u!=o.length;++u){for(A=o[u],s=0;s!=A.length&&A.charCodeAt(s)!==61;++s);for(l=A.slice(0,s).trim();A.charCodeAt(s+1)==32;)++s;for(h=(a=A.charCodeAt(s+1))==34||a==39?1:0,c=A.slice(s+1+h,A.length-h),i=0;i!=l.length&&l.charCodeAt(i)!==58;++i);if(i===l.length)l.indexOf("_")>0&&(l=l.slice(0,l.indexOf("_"))),n[l]=c,t||(n[l.toLowerCase()]=c);else{var f=(i===5&&l.slice(0,5)==="xmlns"?"xmlns":"")+l.slice(i+1);if(n[f]&&l.slice(i-3,i)=="ext")continue;n[f]=c,t||(n[f.toLowerCase()]=c)}}return n}function au(e){return e.replace(sb,"<$1")}var y0={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},I0=bd(y0),Mi=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;return function t(n){var a=n+"",s=a.indexOf("<![CDATA[");if(s==-1)return a.replace(e,function(i,c){return y0[i]||String.fromCharCode(parseInt(c,i.indexOf("x")>-1?16:10))||i}).replace(r,function(i,c){return String.fromCharCode(parseInt(c,16))});var o=a.indexOf("]]>");return t(a.slice(0,s))+a.slice(s+9,o)+t(a.slice(o+3))}}(),b0=/[&<>'"]/g,cb=/[\u0000-\u0008\u000b-\u001f]/g;function ca(e){return(e+"").replace(b0,function(r){return I0[r]}).replace(cb,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function fv(e){return ca(e).replace(/ /g,"_x0020_")}var dv=/[\u0000-\u001f]/g;function C0(e){return(e+"").replace(b0,function(r){return I0[r]}).replace(/\n/g,"<br/>").replace(dv,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}var gv=function(){var e=/&#(\d+);/g;function r(t,n){return String.fromCharCode(parseInt(n,10))}return function(t){return t.replace(e,r)}}();function Fa(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function E0(e){for(var r="",t=0,n=0,a=0,s=0,o=0,i=0;t<e.length;)(n=e.charCodeAt(t++))<128?r+=String.fromCharCode(n):(a=e.charCodeAt(t++),n>191&&n<224?(o=(31&n)<<6,o|=63&a,r+=String.fromCharCode(o)):(s=e.charCodeAt(t++),n<240?r+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&s):(i=((7&n)<<18|(63&a)<<12|(63&s)<<6|63&(o=e.charCodeAt(t++)))-65536,r+=String.fromCharCode(55296+(i>>>10&1023)),r+=String.fromCharCode(56320+(1023&i)))));return r}function pv(e){var r,t,n,a=ul(2*e.length),s=1,o=0,i=0;for(t=0;t<e.length;t+=s)s=1,(n=e.charCodeAt(t))<128?r=n:n<224?(r=64*(31&n)+(63&e.charCodeAt(t+1)),s=2):n<240?(r=4096*(15&n)+64*(63&e.charCodeAt(t+1))+(63&e.charCodeAt(t+2)),s=3):(s=4,r=262144*(7&n)+4096*(63&e.charCodeAt(t+1))+64*(63&e.charCodeAt(t+2))+(63&e.charCodeAt(t+3)),i=55296+((r-=65536)>>>10&1023),r=56320+(1023&r)),i!==0&&(a[o++]=255&i,a[o++]=i>>>8,i=0),a[o++]=r%256,a[o++]=r>>>8;return a.slice(0,o).toString("ucs2")}function vv(e){return _u(e,"binary").toString("utf8")}var wd="foo bar baz☃🍣",ua=wi&&(vv(wd)==E0(wd)&&vv||pv(wd)==E0(wd)&&pv)||E0,Oc=wi?function(e){return _u(e,"utf8").toString("binary")}:function(e){for(var r=[],t=0,n=0,a=0;t<e.length;)switch(n=e.charCodeAt(t++),!0){case n<128:r.push(String.fromCharCode(n));break;case n<2048:r.push(String.fromCharCode(192+(n>>6))),r.push(String.fromCharCode(128+(63&n)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(t++)-56320+(n<<10),r.push(String.fromCharCode(240+(a>>18&7))),r.push(String.fromCharCode(144+(a>>12&63))),r.push(String.fromCharCode(128+(a>>6&63))),r.push(String.fromCharCode(128+(63&a)));break;default:r.push(String.fromCharCode(224+(n>>12))),r.push(String.fromCharCode(128+(n>>6&63))),r.push(String.fromCharCode(128+(63&n)))}return r.join("")},Zh=function(){var e={};return function(r,t){var n=r+"|"+(t||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+r+">",t||"")}}(),ub=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(r){return[new RegExp("&"+r[0]+";","ig"),r[1]]});return function(r){for(var t=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
  168. `).replace(/<[^>]*>/g,""),n=0;n<e.length;++n)t=t.replace(e[n][0],e[n][1]);return t}}(),lb=function(){var e={};return function(r){return e[r]!==void 0?e[r]:e[r]=new RegExp("<(?:vt:)?"+r+">([\\s\\S]*?)</(?:vt:)?"+r+">","g")}}(),Ab=/<\/?(?:vt:)?variant>/g,hb=/<(?:vt:)([^>]*)>([\s\S]*)</;function mv(e,r){var t=ci(e),n=e.match(lb(t.baseType))||[],a=[];if(n.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+n.length+" != "+t.size);return a}return n.forEach(function(s){var o=s.replace(Ab,"").match(hb);o&&a.push({v:ua(o[2]),t:o[1]})}),a}var yv=/(^\s|\s$|\n)/;function Xo(e,r){return"<"+e+(r.match(yv)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function Xh(e){return za(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Zr(e,r,t){return"<"+e+(t!=null?Xh(t):"")+(r!=null?(r.match(yv)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Bd(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function w0(e){if(wi&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return ua(Du(u0(e)));throw new Error("Bad input format: expected Buffer or string")}var $h=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,_o={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},ql=["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"],nc={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"},Iv=function(e){for(var r=[],t=0;t<e[0].length;++t)if(e[0][t])for(var n=0,a=e[0][t].length;n<a;n+=10240)r.push.apply(r,e[0][t].slice(n,n+10240));return r},bv=wi?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(r){return Buffer.isBuffer(r)?r:_u(r)})):Iv(e)}:Iv,Cv=function(e,r,t){for(var n=[],a=r;a<t;a+=2)n.push(String.fromCharCode(ou(e,a)));return n.join("").replace(bs,"")},B0=wi?function(e,r,t){return Buffer.isBuffer(e)?e.toString("utf16le",r,t).replace(bs,""):Cv(e,r,t)}:Cv,Ev=function(e,r,t){for(var n=[],a=r;a<r+t;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},wv=wi?function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):Ev(e,r,t)}:Ev,Bv=function(e,r,t){for(var n=[],a=r;a<t;a++)n.push(String.fromCharCode(WA(e,a)));return n.join("")},ef=wi?function(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):Bv(e,r,t)}:Bv,Qv=function(e,r){var t=ic(e,r);return t>0?ef(e,r+4,r+4+t-1):""},kv=Qv,xv=function(e,r){var t=ic(e,r);return t>0?ef(e,r+4,r+4+t-1):""},Sv=xv,_v=function(e,r){var t=2*ic(e,r);return t>0?ef(e,r+4,r+4+t-1):""},Dv=_v,Rv=function(e,r){var t=ic(e,r);return t>0?B0(e,r+4,r+4+t):""},Fv=Rv,Nv=function(e,r){var t=ic(e,r);return t>0?ef(e,r+4,r+4+t):""},Mv=Nv,Tv=function(e,r){return function(t,n){for(var a=1-2*(t[n+7]>>>7),s=((127&t[n+7])<<4)+(t[n+6]>>>4&15),o=15&t[n+6],i=5;i>=0;--i)o=256*o+t[n+i];return s==2047?o==0?a*(1/0):NaN:(s==0?s=-1022:(s-=1023,o+=Math.pow(2,52)),a*Math.pow(2,s-52)*o)}(e,r)},Qd=Tv,Q0=function(e){return Array.isArray(e)||typeof Uint8Array<"u"&&e instanceof Uint8Array};wi&&(kv=function(e,r){if(!Buffer.isBuffer(e))return Qv(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""},Sv=function(e,r){if(!Buffer.isBuffer(e))return xv(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""},Dv=function(e,r){if(!Buffer.isBuffer(e))return _v(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)},Fv=function(e,r){if(!Buffer.isBuffer(e))return Rv(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)},Mv=function(e,r){if(!Buffer.isBuffer(e))return Nv(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)},Qd=function(e,r){return Buffer.isBuffer(e)?e.readDoubleLE(r):Tv(e,r)},Q0=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array<"u"&&e instanceof Uint8Array});var WA=function(e,r){return e[r]},ou=function(e,r){return 256*e[r+1]+e[r]},fb=function(e,r){var t=256*e[r+1]+e[r];return t<32768?t:-1*(65535-t+1)},ic=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]},Wl=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]},db=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function KA(e,r){var t,n,a,s,o,i,c="",u=[];switch(r){case"dbcs":if(i=this.l,wi&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)c+=String.fromCharCode(ou(this,i)),i+=2;e*=2;break;case"utf8":c=ef(this,this.l,this.l+e);break;case"utf16le":e*=2,c=B0(this,this.l,this.l+e);break;case"wstr":return KA.call(this,e,"dbcs");case"lpstr-ansi":c=kv(this,this.l),e=4+ic(this,this.l);break;case"lpstr-cp":c=Sv(this,this.l),e=4+ic(this,this.l);break;case"lpwstr":c=Dv(this,this.l),e=4+2*ic(this,this.l);break;case"lpp4":e=4+ic(this,this.l),c=Fv(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+ic(this,this.l),c=Mv(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,c="";(a=WA(this,this.l+e++))!==0;)u.push(Ad(a));c=u.join("");break;case"_wstr":for(e=0,c="";(a=ou(this,this.l+e))!==0;)u.push(Ad(a)),e+=2;e+=2,c=u.join("");break;case"dbcs-cont":for(c="",i=this.l,o=0;o<e;++o){if(this.lens&&this.lens.indexOf(i)!==-1)return a=WA(this,i),this.l=i+1,s=KA.call(this,e-o,a?"dbcs-cont":"sbcs-cont"),u.join("")+s;u.push(Ad(ou(this,i))),i+=2}c=u.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(c="",i=this.l,o=0;o!=e;++o){if(this.lens&&this.lens.indexOf(i)!==-1)return a=WA(this,i),this.l=i+1,s=KA.call(this,e-o,a?"dbcs-cont":"sbcs-cont"),u.join("")+s;u.push(Ad(WA(this,i))),i+=1}c=u.join("");break;default:switch(e){case 1:return t=WA(this,this.l),this.l++,t;case 2:return t=(r==="i"?fb:ou)(this,this.l),this.l+=2,t;case 4:case-4:return r==="i"||!(128&this[this.l+3])?(t=(e>0?Wl:db)(this,this.l),this.l+=4,t):(n=ic(this,this.l),this.l+=4,n);case 8:case-8:if(r==="f")return n=e==8?Qd(this,this.l):Qd([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:c=wv(this,this.l,e)}}return this.l+=e,c}var gb=function(e,r,t){e[t]=255&r,e[t+1]=r>>>8&255,e[t+2]=r>>>16&255,e[t+3]=r>>>24&255},pb=function(e,r,t){e[t]=255&r,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255},vb=function(e,r,t){e[t]=255&r,e[t+1]=r>>>8&255};function Lv(e,r,t){var n=0,a=0;if(t==="dbcs"){for(a=0;a!=r.length;++a)vb(this,r.charCodeAt(a),this.l+2*a);n=2*r.length}else if(t==="sbcs"){for(r=r.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=r.length;++a)this[this.l+a]=255&r.charCodeAt(a);n=r.length}else{if(t==="hex"){for(;a<e;++a)this[this.l++]=parseInt(r.slice(2*a,2*a+2),16)||0;return this}if(t==="utf16le"){var s=Math.min(this.l+e,this.length);for(a=0;a<Math.min(r.length,e);++a){var o=r.charCodeAt(a);this[this.l++]=255&o,this[this.l++]=o>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(e){case 1:n=1,this[this.l]=255&r;break;case 2:n=2,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r;break;case 3:n=3,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r,r>>>=8,this[this.l+2]=255&r;break;case 4:n=4,gb(this,r,this.l);break;case 8:if(n=8,t==="f"){(function(i,c,u){var l=(c<0||1/c==-1/0?1:0)<<7,A=0,h=0,f=l?-c:c;isFinite(f)?f==0?A=h=0:(A=Math.floor(Math.log(f)/Math.LN2),h=f*Math.pow(2,52-A),A<=-1023&&(!isFinite(h)||h<Math.pow(2,52))?A=-1022:(h-=Math.pow(2,52),A+=1023)):(A=2047,h=isNaN(c)?26985:0);for(var d=0;d<=5;++d,h/=256)i[u+d]=255&h;i[u+6]=(15&A)<<4|15&h,i[u+7]=A>>4|l})(this,r,this.l);break}case 16:break;case-4:n=4,pb(this,r,this.l)}}return this.l+=n,this}function Ov(e,r){var t=wv(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function $o(e,r){e.l=r,e.read_shift=KA,e.chk=Ov,e.write_shift=Lv}function ls(e,r){e.l+=r}function Kt(e){var r=ul(e);return $o(r,0),r}function Mu(e,r,t){if(e){var n,a,s;$o(e,e.l||0);for(var o=e.length,i=0,c=0;e.l<o;){128&(i=e.read_shift(1))&&(i=(127&i)+((127&e.read_shift(1))<<7));var u=Ef[i]||Ef[65535];for(s=127&(n=e.read_shift(1)),a=1;a<4&&128&n;++a)s+=(127&(n=e.read_shift(1)))<<7*a;c=e.l+s;var l=u.f&&u.f(e,s,t);if(e.l=c,r(l,u,i))return}}}function Os(){var e=[],r=wi?256:2048,t=function(o){var i=Kt(o);return $o(i,0),i},n=t(r),a=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},s=function(o){return n&&o<n.length-n.l?n:(a(),n=t(Math.max(o+1,r)))};return{next:s,push:function(o){a(),(n=o).l==null&&(n.l=n.length),s(r)},end:function(){return a(),jo(e)},_bufs:e}}function wr(e,r,t,n){var a,s=+r;if(!isNaN(s)){n||(n=Ef[s].p||(t||[]).length||0),a=1+(s>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var o=e.next(a);s<=127?o.write_shift(1,s):(o.write_shift(1,128+(127&s)),o.write_shift(1,s>>7));for(var i=0;i!=4;++i){if(!(n>=128)){o.write_shift(1,n);break}o.write_shift(1,128+(127&n)),n>>=7}n>0&&Q0(t)&&e.push(t)}}function tf(e,r,t){var n=Ra(e);if(r.s?(n.cRel&&(n.c+=r.s.c),n.rRel&&(n.r+=r.s.r)):(n.cRel&&(n.c+=r.c),n.rRel&&(n.r+=r.r)),!t||t.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Pv(e,r,t){var n=Ra(e);return n.s=tf(n.s,r.s,t),n.e=tf(n.e,r.s,t),n}function rf(e,r){if(e.cRel&&e.c<0)for(e=Ra(e);e.c<0;)e.c+=r>8?16384:256;if(e.rRel&&e.r<0)for(e=Ra(e);e.r<0;)e.r+=r>8?1048576:r>5?65536:16384;var t=In(e);return e.cRel||e.cRel==null||(t=t.replace(/^([A-Z])/,"$$$1")),e.rRel||e.rRel==null||(t=function(n){return n.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(t)),t}function k0(e,r){return e.s.r!=0||e.s.rRel||e.e.r!=(r.biff>=12?1048575:r.biff>=8?65536:16384)||e.e.rRel?e.s.c!=0||e.s.cRel||e.e.c!=(r.biff>=12?16383:255)||e.e.cRel?rf(e.s,r.biff)+":"+rf(e.e,r.biff):(e.s.rRel?"":"$")+Ho(e.s.r)+":"+(e.e.rRel?"":"$")+Ho(e.e.r):(e.s.cRel?"":"$")+Eo(e.s.c)+":"+(e.e.cRel?"":"$")+Eo(e.e.c)}function Gv(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function Ho(e){return""+(e+1)}function Uv(e){for(var r=e.replace(/^\$([A-Z])/,"$1"),t=0,n=0;n!==r.length;++n)t=26*t+r.charCodeAt(n)-64;return t-1}function Eo(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Do(e){for(var r=0,t=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?r=10*r+(a-48):a>=65&&a<=90&&(t=26*t+(a-64))}return{c:t-1,r:r-1}}function In(e){for(var r=e.c+1,t="";r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Es(e){var r=e.indexOf(":");return r==-1?{s:Do(e),e:Do(e)}:{s:Do(e.slice(0,r)),e:Do(e.slice(r+1))}}function _i(e,r){return r===void 0||typeof r=="number"?_i(e.s,e.e):(typeof e!="string"&&(e=In(e)),typeof r!="string"&&(r=In(r)),e==r?e:e+":"+r)}function ea(e){var r={s:{c:0,r:0},e:{c:0,r:0}},t=0,n=0,a=0,s=e.length;for(t=0;n<s&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)t=26*t+a;for(r.s.c=--t,t=0;n<s&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)t=10*t+a;if(r.s.r=--t,n===s||a!=10)return r.e.c=r.s.c,r.e.r=r.s.r,r;for(++n,t=0;n!=s&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)t=26*t+a;for(r.e.c=--t,t=0;n!=s&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)t=10*t+a;return r.e.r=--t,r}function mb(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=Cs(e.z,t?Zo(r):r)}catch{}try{return e.w=Cs((e.XF||{}).numFmtId||(t?14:0),t?Zo(r):r)}catch{return""+r}}function ll(e,r,t){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&t&&t.dateNF&&(e.z=t.dateNF),e.t=="e"?Lu[e.v]||e.v:mb(e,r??e.v))}function Kl(e,r){var t=r&&r.sheet?r.sheet:"Sheet1",n={};return n[t]=e,{SheetNames:[t],Sheets:n}}function Al(e,r){return function(t,n,a){var s=a||{},o=t?Array.isArray(t):s.dense,i=t||(o?[]:{}),c=0,u=0;if(i&&s.origin!=null){if(typeof s.origin=="number")c=s.origin;else{var l=typeof s.origin=="string"?Do(s.origin):s.origin;c=l.r,u=l.c}i["!ref"]||(i["!ref"]="A1:A1")}var A={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var h=ea(i["!ref"]);A.s.c=h.s.c,A.s.r=h.s.r,A.e.c=Math.max(A.e.c,h.e.c),A.e.r=Math.max(A.e.r,h.e.r),c==-1&&(A.e.r=c=h.e.r+1)}for(var f=0;f!=n.length;++f)if(n[f]){if(!Array.isArray(n[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=n[f].length;++d)if(n[f][d]!==void 0){var g={v:n[f][d]},p=c+f,m=u+d;if(A.s.r>p&&(A.s.r=p),A.s.c>m&&(A.s.c=m),A.e.r<p&&(A.e.r=p),A.e.c<m&&(A.e.c=m),!n[f][d]||typeof n[f][d]!="object"||Array.isArray(n[f][d])||n[f][d]instanceof Date)if(Array.isArray(g.v)&&(g.f=n[f][d][1],g.v=g.v[0]),g.v===null)if(g.f)g.t="n";else if(s.nullError)g.t="e",g.v=0;else{if(!s.sheetStubs)continue;g.t="z"}else typeof g.v=="number"?g.t="n":typeof g.v=="boolean"?g.t="b":g.v instanceof Date?(g.z=s.dateNF||ai[14],s.cellDates?(g.t="d",g.w=Cs(g.z,Zo(g.v))):(g.t="n",g.v=Zo(g.v),g.w=Cs(g.z,g.v))):g.t="s";else g=n[f][d];if(o)i[p]||(i[p]=[]),i[p][m]&&i[p][m].z&&(g.z=i[p][m].z),i[p][m]=g;else{var v=In({c:m,r:p});i[v]&&i[v].z&&(g.z=i[v].z),i[v]=g}}}return A.s.c<1e7&&(i["!ref"]=_i(A)),i}(null,e,r)}function Pc(e,r){return r||(r=Kt(4)),r.write_shift(4,e),r}function As(e){var r=e.read_shift(4);return r===0?"":e.read_shift(r,"dbcs")}function Yo(e,r){var t=!1;return r==null&&(t=!0,r=Kt(4+2*e.length)),r.write_shift(4,e.length),e.length>0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}function yb(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function x0(e,r){var t=e.l,n=e.read_shift(1),a=As(e),s=[],o={t:a,h:a};if(1&n){for(var i=e.read_shift(4),c=0;c!=i;++c)s.push(yb(e));o.r=s}else o.r=[{ich:0,ifnt:0}];return e.l=t+r,o}var S0=x0;function jv(e,r){var t=!1;return r==null&&(t=!0,r=Kt(23+4*e.t.length)),r.write_shift(1,1),Yo(e.t,r),r.write_shift(4,1),function(n,a){a||(a=Kt(4)),a.write_shift(2,n.ich||0),a.write_shift(2,n.ifnt||0)}({ich:0,ifnt:0},r),t?r.slice(0,r.l):r}function pc(e){var r=e.read_shift(4),t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:r,iStyleRef:t}}function Tu(e,r){return r==null&&(r=Kt(8)),r.write_shift(-4,e.c),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}function hl(e){var r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:r}}function zl(e,r){return r==null&&(r=Kt(4)),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}var Ib=As,Hv=Yo;function _0(e){var r=e.read_shift(4);return r===0||r===4294967295?"":e.read_shift(r,"dbcs")}function kd(e,r){var t=!1;return r==null&&(t=!0,r=Kt(127)),r.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}var bb=As,D0=_0,R0=kd;function F0(e){var r=e.slice(e.l,e.l+4),t=1&r[0],n=2&r[0];e.l+=4;var a=n===0?Qd([0,0,0,0,252&r[0],r[1],r[2],r[3]],0):Wl(r,0)>>2;return t?a/100:a}function N0(e,r){r==null&&(r=Kt(4));var t=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,t=1),!n)throw new Error("unsupported RkNumber "+e);r.write_shift(-4,((t?a:e)<<2)+(t+2))}function Yv(e){var r={s:{},e:{}};return r.s.r=e.read_shift(4),r.e.r=e.read_shift(4),r.s.c=e.read_shift(4),r.e.c=e.read_shift(4),r}var Vl=Yv,zA=function(e,r){return r||(r=Kt(16)),r.write_shift(4,e.s.r),r.write_shift(4,e.e.r),r.write_shift(4,e.s.c),r.write_shift(4,e.e.c),r};function hs(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Zl(e,r){return(r||Kt(8)).write_shift(8,e,"f")}function nf(e,r){if(r||(r=Kt(8)),!e||e.auto)return r.write_shift(4,0),r.write_shift(4,0),r;e.index!=null?(r.write_shift(1,2),r.write_shift(1,e.index)):e.theme!=null?(r.write_shift(1,6),r.write_shift(1,e.theme)):(r.write_shift(1,5),r.write_shift(1,0));var t=e.tint||0;if(t>0?t*=32767:t<0&&(t*=32768),r.write_shift(2,t),e.rgb&&e.theme==null){var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),r.write_shift(1,parseInt(n.slice(0,2),16)),r.write_shift(1,parseInt(n.slice(2,4),16)),r.write_shift(1,parseInt(n.slice(4,6),16)),r.write_shift(1,255)}else r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);return r}function M0(e,r){var t=e.read_shift(4);switch(t){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(t>400)throw new Error("Unsupported Clipboard: "+t.toString(16));return e.l-=4,e.read_shift(0,r==1?"lpstr":"lpwstr")}var T0=2,Ps=3,Jv=12,Jo=80,qv=81,Cb=[Jo,qv],L0={1:{n:"CodePage",t:T0},2:{n:"Category",t:Jo},3:{n:"PresentationFormat",t:Jo},4:{n:"ByteCount",t:Ps},5:{n:"LineCount",t:Ps},6:{n:"ParagraphCount",t:Ps},7:{n:"SlideCount",t:Ps},8:{n:"NoteCount",t:Ps},9:{n:"HiddenCount",t:Ps},10:{n:"MultimediaClipCount",t:Ps},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Jo},15:{n:"Company",t:Jo},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Ps},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Ps,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Jo},27:{n:"ContentStatus",t:Jo},28:{n:"Language",t:Jo},29:{n:"Version",t:Jo},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},O0={1:{n:"CodePage",t:T0},2:{n:"Title",t:Jo},3:{n:"Subject",t:Jo},4:{n:"Author",t:Jo},5:{n:"Keywords",t:Jo},6:{n:"Comments",t:Jo},7:{n:"Template",t:Jo},8:{n:"LastAuthor",t:Jo},9:{n:"RevNumber",t:Jo},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Ps},15:{n:"WordCount",t:Ps},16:{n:"CharCount",t:Ps},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Jo},19:{n:"DocSecurity",t:Ps},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Wv={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},xd=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Eb(e){return e.map(function(r){return[r>>16&255,r>>8&255,255&r]})}var VA=Ra(Eb([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Lu={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Kv={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},P0={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},fl={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function zv(e,r){var t,n=function(c){for(var u=[],l=za(c),A=0;A!==l.length;++A)u[c[l[A]]]==null&&(u[c[l[A]]]=[]),u[c[l[A]]].push(l[A]);return u}(P0),a=[];a[a.length]=fo,a[a.length]=Zr("Types",null,{xmlns:_o.CT,"xmlns:xsd":_o.xsd,"xmlns:xsi":_o.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(c){return Zr("Default",null,{Extension:c[0],ContentType:c[1]})}));var s=function(c){e[c]&&e[c].length>0&&(t=e[c][0],a[a.length]=Zr("Override",null,{PartName:(t[0]=="/"?"":"/")+t,ContentType:fl[c][r.bookType]||fl[c].xlsx}))},o=function(c){(e[c]||[]).forEach(function(u){a[a.length]=Zr("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:fl[c][r.bookType]||fl[c].xlsx})})},i=function(c){(e[c]||[]).forEach(function(u){a[a.length]=Zr("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:n[c][0]})})};return s("workbooks"),o("sheets"),o("charts"),i("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(i),i("vba"),i("comments"),i("threadedcomments"),i("drawings"),o("metadata"),i("people"),a.length>2&&(a[a.length]="</Types>",a[1]=a[1].replace("/>",">")),a.join("")}var Si={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 af(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Xl(e,r){var t={"!id":{}};if(!e)return t;r.charAt(0)!=="/"&&(r="/"+r);var n={};return(e.match(us)||[]).forEach(function(a){var s=ci(a);if(s[0]==="<Relationship"){var o={};o.Type=s.Type,o.Target=s.Target,o.Id=s.Id,s.TargetMode&&(o.TargetMode=s.TargetMode);var i=s.TargetMode==="External"?s.Target:Vh(s.Target,r);t[i]=o,n[s.Id]=o}}),t["!id"]=n,t}function ZA(e){var r=[fo,Zr("Relationships",null,{xmlns:_o.RELS})];return za(e["!id"]).forEach(function(t){r[r.length]=Zr("Relationship",null,e["!id"][t])}),r.length>2&&(r[r.length]="</Relationships>",r[1]=r[1].replace("/>",">")),r.join("")}function ta(e,r,t,n,a,s){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r);if(e["!idx"]=r+1,a.Id="rId"+r,a.Type=n,a.Target=t,s?a.TargetMode=s:[Si.HLINK,Si.XPATH,Si.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+r);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,r}var wb="application/vnd.oasis.opendocument.spreadsheet";function Vv(e,r,t){return[' <rdf:Description rdf:about="'+e+`">
  169. `,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+`"/>
  170. `,` </rdf:Description>
  171. `].join("")}function Zv(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+o0.version+"</meta:generator></office:meta></office:document-meta>"}var vc=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],Bb=function(){for(var e=new Array(vc.length),r=0;r<vc.length;++r){var t=vc[r],n="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e}();function Xv(e){var r={};e=ua(e);for(var t=0;t<vc.length;++t){var n=vc[t],a=e.match(Bb[t]);a!=null&&a.length>0&&(r[n[1]]=Mi(a[1])),n[2]==="date"&&r[n[1]]&&(r[n[1]]=Ga(r[n[1]]))}return r}function G0(e,r,t,n,a){a[e]==null&&r!=null&&r!==""&&(a[e]=r,r=ca(r),n[n.length]=t?Zr(e,r,t):Xo(e,r))}function $v(e,r){var t=r||{},n=[fo,Zr("cp:coreProperties",null,{"xmlns:cp":_o.CORE_PROPS,"xmlns:dc":_o.dc,"xmlns:dcterms":_o.dcterms,"xmlns:dcmitype":_o.dcmitype,"xmlns:xsi":_o.xsi})],a={};if(!e&&!t.Props)return n.join("");e&&(e.CreatedDate!=null&&G0("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:Bd(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&G0("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:Bd(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var s=0;s!=vc.length;++s){var o=vc[s],i=t.Props&&t.Props[o[1]]!=null?t.Props[o[1]]:e?e[o[1]]:null;i===!0?i="1":i===!1?i="0":typeof i=="number"&&(i=String(i)),i!=null&&G0(o[0],i,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var $l=[["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"]],em=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function tm(e,r,t,n){var a=[];if(typeof e=="string")a=mv(e,n);else for(var s=0;s<e.length;++s)a=a.concat(e[s].map(function(l){return{v:l}}));var o=typeof r=="string"?mv(r,n).map(function(l){return l.v}):r,i=0,c=0;if(o.length>0)for(var u=0;u!==a.length;u+=2){switch(c=+a[u+1].v,a[u].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":t.Worksheets=c,t.SheetNames=o.slice(i,i+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":t.NamedRanges=c,t.DefinedNames=o.slice(i,i+c);break;case"Charts":case"Diagramme":t.Chartsheets=c,t.ChartNames=o.slice(i,i+c)}i+=c}}function rm(e){var r=[],t=Zr;return e||(e={}),e.Application="SheetJS",r[r.length]=fo,r[r.length]=Zr("Properties",null,{xmlns:_o.EXT_PROPS,"xmlns:vt":_o.vt}),$l.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=ca(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false"}a!==void 0&&(r[r.length]=t(n[0],a))}}),r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+ca(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),r.length>2&&(r[r.length]="</Properties>",r[1]=r[1].replace("/>",">")),r.join("")}var Qb=/<[^>]+>[^<]*/g;function nm(e){var r=[fo,Zr("Properties",null,{xmlns:_o.CUST_PROPS,"xmlns:vt":_o.vt})];if(!e)return r.join("");var t=1;return za(e).forEach(function(n){++t,r[r.length]=Zr("property",function(a,s){switch(typeof a){case"string":var o=Zr("vt:lpwstr",ca(a));return s&&(o=o.replace(/&quot;/g,"_x0022_")),o;case"number":return Zr((0|a)==a?"vt:i4":"vt:r8",ca(String(a)));case"boolean":return Zr("vt:bool",a?"true":"false")}if(a instanceof Date)return Zr("vt:filetime",Bd(a));throw new Error("Unable to serialize "+a)}(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:ca(n)})}),r.length>2&&(r[r.length]="</Properties>",r[1]=r[1].replace("/>",">")),r.join("")}var U0,j0={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function im(e,r,t){U0||(U0=bd(j0)),e[r=U0[r]||r]=t}function H0(e){var r=e.read_shift(4),t=e.read_shift(4);return new Date(1e3*(t/1e7*Math.pow(2,32)+r/1e7-11644473600)).toISOString().replace(/\.000/,"")}function am(e,r,t){var n=e.l,a=e.read_shift(0,"lpstr-cp");if(t)for(;e.l-n&3;)++e.l;return a}function om(e,r,t){var n=e.read_shift(0,"lpwstr");return t&&(e.l+=4-(n.length+1&3)&3),n}function sm(e,r,t){return r===31?om(e):am(e,0,t)}function cm(e,r,t){return sm(e,r,t===!1?0:4)}function kb(e){var r=e.l,t=Sd(e,qv);return e[e.l]==0&&e[e.l+1]==0&&e.l-r&2&&(e.l+=2),[t,Sd(e,Ps)]}function um(e,r){for(var t=e.read_shift(4),n={},a=0;a!=t;++a){var s=e.read_shift(4),o=e.read_shift(4);n[s]=e.read_shift(o,r===1200?"utf16le":"utf8").replace(bs,"").replace(Jh,"!"),r===1200&&o%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function Y0(e){var r=e.read_shift(4),t=e.slice(e.l,e.l+r);return e.l+=r,(3&r)>0&&(e.l+=4-(3&r)&3),t}function Sd(e,r,t){var n,a=e.read_shift(2),s=t||{};if(e.l+=2,r!==Jv&&a!==r&&Cb.indexOf(r)===-1&&((65534&r)!=4126||(65534&a)!=4126))throw new Error("Expected type "+r+" saw "+a);switch(r===Jv?a:r){case 2:return n=e.read_shift(2,"i"),s.raw||(e.l+=2),n;case 3:return n=e.read_shift(4,"i");case 11:return e.read_shift(4)!==0;case 19:return n=e.read_shift(4);case 30:return am(e,0,4).replace(bs,"");case 31:return om(e);case 64:return H0(e);case 65:return Y0(e);case 71:return function(o){var i={};return i.Size=o.read_shift(4),o.l+=i.Size+3-(i.Size-1)%4,i}(e);case 80:return cm(e,a,!s.raw).replace(bs,"");case 81:return function(o,i){if(!i)throw new Error("VtUnalignedString must have positive length");return sm(o,i,0)}(e,a).replace(bs,"");case 4108:return function(o){for(var i=o.read_shift(4),c=[],u=0;u<i/2;++u)c.push(kb(o));return c}(e);case 4126:case 4127:return a==4127?function(o){for(var i=o.read_shift(4),c=[],u=0;u!=i;++u){var l=o.l;c[u]=o.read_shift(0,"lpwstr").replace(bs,""),o.l-l&2&&(o.l+=2)}return c}(e):function(o){for(var i=o.read_shift(4),c=[],u=0;u!=i;++u)c[u]=o.read_shift(0,"lpstr-cp").replace(bs,"");return c}(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a)}}function lm(e,r){var t=Kt(4),n=Kt(4);switch(t.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,r);break;case 5:(n=Kt(8)).write_shift(8,r,"f");break;case 11:n.write_shift(4,r?1:0);break;case 64:n=function(a){var s=(typeof a=="string"?new Date(Date.parse(a)):a).getTime()/1e3+11644473600,o=s%Math.pow(2,32),i=(s-o)/Math.pow(2,32);i*=1e7;var c=(o*=1e7)/Math.pow(2,32)|0;c>0&&(o%=Math.pow(2,32),i+=c);var u=Kt(8);return u.write_shift(4,o),u.write_shift(4,i),u}(r);break;case 31:case 80:for((n=Kt(4+2*(r.length+1)+(r.length%2?0:2))).write_shift(4,r.length+1),n.write_shift(0,r,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r)}return jo([t,n])}function J0(e,r){var t=e.l,n=e.read_shift(4),a=e.read_shift(4),s=[],o=0,i=0,c=-1,u={};for(o=0;o!=a;++o){var l=e.read_shift(4),A=e.read_shift(4);s[o]=[l,A+t]}s.sort(function(v,y){return v[1]-y[1]});var h={};for(o=0;o!=a;++o){if(e.l!==s[o][1]){var f=!0;if(o>0&&r)switch(r[s[o-1][0]].t){case 2:e.l+2===s[o][1]&&(e.l+=2,f=!1);break;case 80:case 4108:e.l<=s[o][1]&&(e.l=s[o][1],f=!1)}if((!r||o==0)&&e.l<=s[o][1]&&(f=!1,e.l=s[o][1]),f)throw new Error("Read Error: Expected address "+s[o][1]+" at "+e.l+" :"+o)}if(r){var d=r[s[o][0]];if(h[d.n]=Sd(e,d.t,{raw:!0}),d.p==="version"&&(h[d.n]=String(h[d.n]>>16)+"."+("0000"+String(65535&h[d.n])).slice(-4)),d.n=="CodePage")switch(h[d.n]){case 0:h[d.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:Mc(i=h[d.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+h[d.n])}}else if(s[o][0]===1){if(i=h.CodePage=Sd(e,T0),Mc(i),c!==-1){var g=e.l;e.l=s[c][1],u=um(e,i),e.l=g}}else if(s[o][0]===0){if(i===0){c=o,e.l=s[o+1][1];continue}u=um(e,i)}else{var p,m=u[s[o][0]];switch(e[e.l]){case 65:e.l+=4,p=Y0(e);break;case 30:case 31:e.l+=4,p=cm(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,p=e.read_shift(4,"i");break;case 19:e.l+=4,p=e.read_shift(4);break;case 5:e.l+=4,p=e.read_shift(8,"f");break;case 11:e.l+=4,p=go(e,4);break;case 64:e.l+=4,p=Ga(H0(e));break;default:throw new Error("unparsed value: "+e[e.l])}h[m]=p}}return e.l=t+n,h}var Am=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function xb(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function hm(e,r,t){var n=Kt(8),a=[],s=[],o=8,i=0,c=Kt(8),u=Kt(8);if(c.write_shift(4,2),c.write_shift(4,1200),u.write_shift(4,1),s.push(c),a.push(u),o+=8+c.length,!r){(u=Kt(8)).write_shift(4,0),a.unshift(u);var l=[Kt(4)];for(l[0].write_shift(4,e.length),i=0;i<e.length;++i){var A=e[i][0];for((c=Kt(8+2*(A.length+1)+(A.length%2?0:2))).write_shift(4,i+2),c.write_shift(4,A.length+1),c.write_shift(0,A,"dbcs");c.l!=c.length;)c.write_shift(1,0);l.push(c)}c=jo(l),s.unshift(c),o+=8+c.length}for(i=0;i<e.length;++i)if((!r||r[e[i][0]])&&!(Am.indexOf(e[i][0])>-1||em.indexOf(e[i][0])>-1)&&e[i][1]!=null){var h=e[i][1],f=0;if(r){var d=t[f=+r[e[i][0]]];if(d.p=="version"&&typeof h=="string"){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}c=lm(d.t,h)}else{var p=xb(h);p==-1&&(p=31,h=String(h)),c=lm(p,h)}s.push(c),(u=Kt(8)).write_shift(4,r?f:2+i),a.push(u),o+=8+c.length}var m=8*(s.length+1);for(i=0;i<s.length;++i)a[i].write_shift(4,m),m+=s[i].length;return n.write_shift(4,o),n.write_shift(4,s.length),jo([n].concat(a).concat(s))}function fm(e,r,t){var n=e.content;if(!n)return{};$o(n,0);var a,s,o,i,c=0;n.chk("feff","Byte Order: "),n.read_shift(2);var u=n.read_shift(4),l=n.read_shift(16);if(l!==Pn.utils.consts.HEADER_CLSID&&l!==t)throw new Error("Bad PropertySet CLSID "+l);if((a=n.read_shift(4))!==1&&a!==2)throw new Error("Unrecognized #Sets: "+a);if(s=n.read_shift(16),i=n.read_shift(4),a===1&&i!==n.l)throw new Error("Length mismatch: "+i+" !== "+n.l);a===2&&(o=n.read_shift(16),c=n.read_shift(4));var A,h=J0(n,r),f={SystemIdentifier:u};for(var d in h)f[d]=h[d];if(f.FMTID=s,a===1)return f;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{A=J0(n,null)}catch{}for(d in A)f[d]=A[d];return f.FMTID=[s,o],f}function q0(e,r,t,n,a,s){var o=Kt(a?68:48),i=[o];o.write_shift(2,65534),o.write_shift(2,0),o.write_shift(4,842412599),o.write_shift(16,Pn.utils.consts.HEADER_CLSID,"hex"),o.write_shift(4,a?2:1),o.write_shift(16,r,"hex"),o.write_shift(4,a?68:48);var c=hm(e,t,n);if(i.push(c),a){var u=hm(a,null,null);o.write_shift(16,s,"hex"),o.write_shift(4,68+c.length),i.push(u)}return jo(i)}function Ou(e,r){return e.read_shift(r),null}function go(e,r){return e.read_shift(r)===1}function ws(e,r){return r||(r=Kt(2)),r.write_shift(2,+!!e),r}function wo(e){return e.read_shift(2,"u")}function mc(e,r){return r||(r=Kt(2)),r.write_shift(2,e),r}function XA(e,r){return function(t,n,a){for(var s=[],o=t.l+n;t.l<o;)s.push(a(t,o-t.l));if(o!==t.l)throw new Error("Slurp error");return s}(e,r,wo)}function dm(e,r,t){return t||(t=Kt(2)),t.write_shift(1,r=="e"?+e:+!!e),t.write_shift(1,r=="e"?1:0),t}function $A(e,r,t){var n=e.read_shift(t&&t.biff>=12?2:1),a="sbcs-cont";return t&&t.biff,t&&t.biff!=8?t.biff==12&&(a="wstr"):e.read_shift(1)&&(a="dbcs-cont"),t.biff>=2&&t.biff<=5&&(a="cpstr"),n?e.read_shift(n,a):""}function Sb(e){var r,t=e.read_shift(2),n=e.read_shift(1),a=4&n,s=8&n,o=1+(1&n),i=0,c={};s&&(i=e.read_shift(2)),a&&(r=e.read_shift(4));var u=o==2?"dbcs-cont":"sbcs-cont",l=t===0?"":e.read_shift(t,u);return s&&(e.l+=4*i),a&&(e.l+=r),c.t=l,s||(c.raw="<t>"+c.t+"</t>",c.r=c.t),c}function gm(e){var r=e.t||"",t=Kt(3);t.write_shift(2,r.length),t.write_shift(1,1);var n=Kt(2*r.length);return n.write_shift(2*r.length,r,"utf16le"),jo([t,n])}function eA(e,r,t){if(t){if(t.biff>=2&&t.biff<=5)return e.read_shift(r,"cpstr");if(t.biff>=12)return e.read_shift(r,"dbcs-cont")}return e.read_shift(1)===0?e.read_shift(r,"sbcs-cont"):e.read_shift(r,"dbcs-cont")}function of(e,r,t){var n=e.read_shift(t&&t.biff==2?1:2);return n===0?(e.l++,""):eA(e,n,t)}function tA(e,r,t){if(t.biff>5)return of(e,0,t);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function eh(e,r,t){return t||(t=Kt(3+2*e.length)),t.write_shift(2,e.length),t.write_shift(1,1),t.write_shift(31,e,"utf16le"),t}function _b(e,r){var t=e.read_shift(16);switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return function(n){var a=n.read_shift(4),s=n.l,o=!1;a>24&&(n.l+=a-24,n.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(o=!0),n.l=s);var i=n.read_shift((o?a-24:a)>>1,"utf16le").replace(bs,"");return o&&(n.l+=24),i}(e);case"0303000000000000c000000000000046":return function(n){for(var a=n.read_shift(2),s="";a-- >0;)s+="../";var o=n.read_shift(0,"lpstr-ansi");if(n.l+=2,n.read_shift(2)!=57005)throw new Error("Bad FileMoniker");if(n.read_shift(4)===0)return s+o.replace(/\\/g,"/");var i=n.read_shift(4);if(n.read_shift(2)!=3)throw new Error("Bad FileMoniker");return s+n.read_shift(i>>1,"utf16le").replace(bs,"")}(e);default:throw new Error("Unsupported Moniker "+t)}}function sf(e){var r=e.read_shift(4);return r>0?e.read_shift(r,"utf16le").replace(bs,""):""}function pm(e,r){r||(r=Kt(6+2*e.length)),r.write_shift(4,1+e.length);for(var t=0;t<e.length;++t)r.write_shift(2,e.charCodeAt(t));return r.write_shift(2,0),r}function Db(e){var r=Kt(512),t=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var a=n.indexOf("#"),s=a>-1?31:23;switch(n.charAt(0)){case"#":s=28;break;case".":s&=-3}r.write_shift(4,2),r.write_shift(4,s);var o=[8,6815827,6619237,4849780,83];for(t=0;t<o.length;++t)r.write_shift(4,o[t]);if(s==28)pm(n=n.slice(1),r);else if(2&s){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),t=0;t<o.length;++t)r.write_shift(1,parseInt(o[t],16));var i=a>-1?n.slice(0,a):n;for(r.write_shift(4,2*(i.length+1)),t=0;t<i.length;++t)r.write_shift(2,i.charCodeAt(t));r.write_shift(2,0),8&s&&pm(a>-1?n.slice(a+1):"",r)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),t=0;t<o.length;++t)r.write_shift(1,parseInt(o[t],16));for(var c=0;n.slice(3*c,3*c+3)=="../"||n.slice(3*c,3*c+3)=="..\\";)++c;for(r.write_shift(2,c),r.write_shift(4,n.length-3*c+1),t=0;t<n.length-3*c;++t)r.write_shift(1,255&n.charCodeAt(t+3*c));for(r.write_shift(1,0),r.write_shift(2,65535),r.write_shift(2,57005),t=0;t<6;++t)r.write_shift(4,0)}return r.slice(0,r.l)}function vm(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function mm(e,r){var t=vm(e);return t[3]=0,t}function su(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function rA(e,r,t,n){return n||(n=Kt(6)),n.write_shift(2,e),n.write_shift(2,r),n.write_shift(2,t||0),n}function Rb(e,r,t){var n=t.biff>8?4:2;return[e.read_shift(n),e.read_shift(n,"i"),e.read_shift(n,"i")]}function W0(e){return[e.read_shift(2),F0(e)]}function _d(e){var r=e.read_shift(2),t=e.read_shift(2);return{s:{c:e.read_shift(2),r},e:{c:e.read_shift(2),r:t}}}function ym(e,r){return r||(r=Kt(8)),r.write_shift(2,e.s.r),r.write_shift(2,e.e.r),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c),r}function Im(e){var r=e.read_shift(2),t=e.read_shift(2);return{s:{c:e.read_shift(1),r},e:{c:e.read_shift(1),r:t}}}var K0=Im;function bm(e){e.l+=4;var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[t,r,n]}function fs(e){e.l+=2,e.l+=e.read_shift(2)}var Fb={0:fs,4:fs,5:fs,6:fs,7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}},8:fs,9:fs,10:fs,11:fs,12:fs,13:function(e){var r={};return e.l+=4,e.l+=16,r.fSharedNote=e.read_shift(2),e.l+=4,r},14:fs,15:fs,16:fs,17:fs,18:fs,19:fs,20:fs,21:bm};function Dd(e,r){var t={BIFFVer:0,dt:0};switch(t.BIFFVer=e.read_shift(2),(r-=2)>=2&&(t.dt=e.read_shift(2),e.l-=2),t.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer)}return e.read_shift(r),t}function Rd(e,r,t){var n=1536,a=16;switch(t.bookType){case"biff8":case"xla":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;default:throw new Error("unsupported BIFF version")}var s=Kt(a);return s.write_shift(2,n),s.write_shift(2,r),a>4&&s.write_shift(2,29282),a>6&&s.write_shift(2,1997),a>8&&(s.write_shift(2,49161),s.write_shift(2,1),s.write_shift(2,1798),s.write_shift(2,0)),s}function Nb(e,r){var t=!r||r.biff>=8?2:1,n=Kt(8+t*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),r.biff>=8&&n.write_shift(1,1),n.write_shift(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function Cm(e,r,t){var n=0;t&&t.biff==2||(n=e.read_shift(2));var a=e.read_shift(2);return t&&t.biff==2&&(n=1-(a>>15),a&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},a]}function Mb(e,r,t,n){var a=t&&t.biff==5;n||(n=Kt(a?3+r.length:5+2*r.length)),n.write_shift(2,e),n.write_shift(a?1:2,r.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*r.length,r,a?"sbcs":"utf16le");var s=n.length>n.l?n.slice(0,n.l):n;return s.l==null&&(s.l=s.length),s}var Tb=tA;function Em(e,r,t){var n=e.l+r,a=t.biff!=8&&t.biff?2:4,s=e.read_shift(a),o=e.read_shift(a),i=e.read_shift(2),c=e.read_shift(2);return e.l=n,{s:{r:s,c:i},e:{r:o,c}}}function wm(e,r,t,n){var a=t&&t.biff==5;n||(n=Kt(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,r<<4));var s=0;return e.numFmtId>0&&a&&(s|=1024),n.write_shift(4,s),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Bm(e,r,t){var n=su(e);t.biff!=2&&r!=9||++e.l;var a=function(s){var o=s.read_shift(1);return s.read_shift(1)===1?o:o===1}(e);return n.val=a,n.t=a===!0||a===!1?"b":"e",n}var Qm=function(e,r,t){return r===0?"":tA(e,0,t)};function km(e,r,t){var n,a=e.read_shift(2),s={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return t.sbcch===14849&&(n=function(o,i,c){o.l+=4,i-=4;var u=o.l+i,l=$A(o,0,c),A=o.read_shift(2);if(A!==(u-=o.l))throw new Error("Malformed AddinUdf: padding = "+u+" != "+A);return o.l+=A,l}(e,r-2,t)),s.body=n||e.read_shift(r-2),typeof n=="string"&&(s.Name=n),s}var Lb=["_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 xm(e,r,t){var n=e.l+r,a=e.read_shift(2),s=e.read_shift(1),o=e.read_shift(1),i=e.read_shift(t&&t.biff==2?1:2),c=0;(!t||t.biff>=5)&&(t.biff!=5&&(e.l+=2),c=e.read_shift(2),t.biff==5&&(e.l+=2),e.l+=4);var u=eA(e,o,t);32&a&&(u=Lb[u.charCodeAt(0)]);var l=n-e.l;t&&t.biff==2&&--l;var A=n!=e.l&&i!==0&&l>0?function(h,f,d,g){var p,m=h.l+f,v=vf(h,g,d);return m!==h.l&&(p=pf(h,m-h.l,v,d)),[v,p]}(e,l,t,i):[];return{chKey:s,Name:u,itab:c,rgce:A}}function Sm(e,r,t){if(t.biff<8)return function(o,i,c){o[o.l+1]==3&&o[o.l]++;var u=$A(o,0,c);return u.charCodeAt(0)==3?u.slice(1):u}(e,0,t);for(var n=[],a=e.l+r,s=e.read_shift(t.biff>8?4:2);s--!=0;)n.push(Rb(e,t.biff,t));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function _m(e,r,t){var n=K0(e);switch(t.biff){case 2:e.l++,r-=7;break;case 3:case 4:e.l+=2,r-=8;break;default:e.l+=6,r-=12}return[n,PC(e,r,t)]}var Ob={8:function(e,r){var t=e.l+r;e.l+=10;var n=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e.read_shift(1);return e.l+=a,e.l=t,{fmt:n}}};function Pb(e){var r=Kt(24),t=Do(e[0]);r.write_shift(2,t.r),r.write_shift(2,t.r),r.write_shift(2,t.c),r.write_shift(2,t.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)r.write_shift(1,parseInt(n[a],16));return jo([r,Db(e[1])])}function Gb(e){var r=e[1].Tooltip,t=Kt(10+2*(r.length+1));t.write_shift(2,2048);var n=Do(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var a=0;a<r.length;++a)t.write_shift(2,r.charCodeAt(a));return t.write_shift(2,0),t}function Dm(e,r,t){if(!t.cellStyles)return ls(e,r);var n=t&&t.biff>=12?4:2,a=e.read_shift(n),s=e.read_shift(n),o=e.read_shift(n),i=e.read_shift(n),c=e.read_shift(2);n==2&&(e.l+=2);var u={s:a,e:s,w:o,ixfe:i,flags:c};return(t.biff>=5||!t.biff)&&(u.level=c>>8&7),u}var Ub=su,jb=XA,Hb=of,Yb=[2,3,48,49,131,139,140,245],z0=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},r=bd({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 t(a,s){var o=s||{};o.dateNF||(o.dateNF="yyyymmdd");var i=Al(function(c,u){var l=[],A=ul(1);switch(u.type){case"base64":A=ec($s(c));break;case"binary":A=ec(c);break;case"buffer":case"array":A=c}$o(A,0);var h=A.read_shift(1),f=!!(136&h),d=!1,g=!1;switch(h){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:d=!0,f=!0;break;case 140:g=!0;break;default:throw new Error("DBF Unsupported Version: "+h.toString(16))}var p=0,m=521;h==2&&(p=A.read_shift(2)),A.l+=3,h!=2&&(p=A.read_shift(4)),p>1048576&&(p=1e6),h!=2&&(m=A.read_shift(2));var v=A.read_shift(2),y=u.codepage||1252;h!=2&&(A.l+=16,A.read_shift(1),A[A.l]!==0&&(y=e[A[A.l]]),A.l+=1,A.l+=2),g&&(A.l+=36);for(var I=[],E={},k=Math.min(A.length,h==2?521:m-10-(d?264:0)),R=g?32:11;A.l<k&&A[A.l]!=13;)switch((E={}).name=sl.utils.decode(y,A.slice(A.l,A.l+R)).replace(/[\u0000\r\n].*$/g,""),A.l+=R,E.type=String.fromCharCode(A.read_shift(1)),h==2||g||(E.offset=A.read_shift(4)),E.len=A.read_shift(1),h==2&&(E.offset=A.read_shift(2)),E.dec=A.read_shift(1),E.name.length&&I.push(E),h!=2&&(A.l+=g?13:14),E.type){case"B":d&&E.len==8||!u.WTF||console.log("Skipping "+E.name+":"+E.type);break;case"G":case"P":u.WTF&&console.log("Skipping "+E.name+":"+E.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+E.type)}if(A[A.l]!==13&&(A.l=m-1),A.read_shift(1)!==13)throw new Error("DBF Terminator not found "+A.l+" "+A[A.l]);A.l=m;var T=0,j=0;for(l[0]=[],j=0;j!=I.length;++j)l[0][j]=I[j].name;for(;p-- >0;)if(A[A.l]!==42)for(++A.l,l[++T]=[],j=0,j=0;j!=I.length;++j){var W=A.slice(A.l,A.l+I[j].len);A.l+=I[j].len,$o(W,0);var H=sl.utils.decode(y,W);switch(I[j].type){case"C":H.trim().length&&(l[T][j]=H.replace(/\s+$/,""));break;case"D":H.length===8?l[T][j]=new Date(+H.slice(0,4),+H.slice(4,6)-1,+H.slice(6,8)):l[T][j]=H;break;case"F":l[T][j]=parseFloat(H.trim());break;case"+":case"I":l[T][j]=g?2147483648^W.read_shift(-4,"i"):W.read_shift(4,"i");break;case"L":switch(H.trim().toUpperCase()){case"Y":case"T":l[T][j]=!0;break;case"N":case"F":l[T][j]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+H+"|")}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+h.toString(16));l[T][j]="##MEMO##"+(g?parseInt(H.trim(),10):W.read_shift(4));break;case"N":(H=H.replace(/\u0000/g,"").trim())&&H!="."&&(l[T][j]=+H||0);break;case"@":l[T][j]=new Date(W.read_shift(-8,"f")-621356832e5);break;case"T":l[T][j]=new Date(864e5*(W.read_shift(4)-2440588)+W.read_shift(4));break;case"Y":l[T][j]=W.read_shift(4,"i")/1e4+W.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":l[T][j]=-W.read_shift(-8,"f");break;case"B":if(d&&I[j].len==8){l[T][j]=W.read_shift(8,"f");break}case"G":case"P":W.l+=I[j].len;break;case"0":if(I[j].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+I[j].type)}}else A.l+=v;if(h!=2&&A.l<A.length&&A[A.l++]!=26)throw new Error("DBF EOF Marker missing "+(A.l-1)+" of "+A.length+" "+A[A.l-1].toString(16));return u&&u.sheetRows&&(l=l.slice(0,u.sheetRows)),u.DBF=I,l}(a,o),o);return i["!cols"]=o.DBF.map(function(c){return{wch:c.len,DBF:c}}),delete o.DBF,i}var n={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(a,s){try{return Kl(t(a,s),s)}catch(o){if(s&&s.WTF)throw o}return{SheetNames:[],Sheets:{}}},to_sheet:t,from_sheet:function(a,s){var o=s||{};if(+o.codepage>=0&&Mc(+o.codepage),o.type=="string")throw new Error("Cannot write DBF to JS string");var i=Os(),c=Ky(a,{header:1,raw:!0,cellDates:!0}),u=c[0],l=c.slice(1),A=a["!cols"]||[],h=0,f=0,d=0,g=1;for(h=0;h<u.length;++h)if(((A[h]||{}).DBF||{}).name)u[h]=A[h].DBF.name,++d;else if(u[h]!=null){if(++d,typeof u[h]=="number"&&(u[h]=u[h].toString(10)),typeof u[h]!="string")throw new Error("DBF Invalid column name "+u[h]+" |"+typeof u[h]+"|");if(u.indexOf(u[h])!==h){for(f=0;f<1024;++f)if(u.indexOf(u[h]+"_"+f)==-1){u[h]+="_"+f;break}}}var p=ea(a["!ref"]),m=[],v=[],y=[];for(h=0;h<=p.e.c-p.s.c;++h){var I="",E="",k=0,R=[];for(f=0;f<l.length;++f)l[f][h]!=null&&R.push(l[f][h]);if(R.length!=0&&u[h]!=null){for(f=0;f<R.length;++f){switch(typeof R[f]){case"number":E="B";break;case"string":default:E="C";break;case"boolean":E="L";break;case"object":E=R[f]instanceof Date?"D":"C"}k=Math.max(k,String(R[f]).length),I=I&&I!=E?"C":E}k>250&&(k=250),(E=((A[h]||{}).DBF||{}).type)=="C"&&A[h].DBF.len>k&&(k=A[h].DBF.len),I=="B"&&E=="N"&&(I="N",y[h]=A[h].DBF.dec,k=A[h].DBF.len),v[h]=I=="C"||E=="N"?k:n[I]||0,g+=v[h],m[h]=I}else m[h]="?"}var T=i.next(32);for(T.write_shift(4,318902576),T.write_shift(4,l.length),T.write_shift(2,296+32*d),T.write_shift(2,g),h=0;h<4;++h)T.write_shift(4,0);for(T.write_shift(4,0|(+r[G1]||3)<<8),h=0,f=0;h<u.length;++h)if(u[h]!=null){var j=i.next(32),W=(u[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);j.write_shift(1,W,"sbcs"),j.write_shift(1,m[h]=="?"?"C":m[h],"sbcs"),j.write_shift(4,f),j.write_shift(1,v[h]||n[m[h]]||0),j.write_shift(1,y[h]||0),j.write_shift(1,2),j.write_shift(4,0),j.write_shift(1,0),j.write_shift(4,0),j.write_shift(4,0),f+=v[h]||n[m[h]]||0}var H=i.next(264);for(H.write_shift(4,13),h=0;h<65;++h)H.write_shift(4,0);for(h=0;h<l.length;++h){var X=i.next(g);for(X.write_shift(1,0),f=0;f<u.length;++f)if(u[f]!=null)switch(m[f]){case"L":X.write_shift(1,l[h][f]==null?63:l[h][f]?84:70);break;case"B":X.write_shift(8,l[h][f]||0,"f");break;case"N":var x="0";for(typeof l[h][f]=="number"&&(x=l[h][f].toFixed(y[f]||0)),d=0;d<v[f]-x.length;++d)X.write_shift(1,32);X.write_shift(1,x,"sbcs");break;case"D":l[h][f]?(X.write_shift(4,("0000"+l[h][f].getFullYear()).slice(-4),"sbcs"),X.write_shift(2,("00"+(l[h][f].getMonth()+1)).slice(-2),"sbcs"),X.write_shift(2,("00"+l[h][f].getDate()).slice(-2),"sbcs")):X.write_shift(8,"00000000","sbcs");break;case"C":var N=String(l[h][f]!=null?l[h][f]:"").slice(0,v[f]);for(X.write_shift(1,N,"sbcs"),d=0;d<v[f]-N.length;++d)X.write_shift(1,32)}}return i.next(1).write_shift(1,26),i.end()}}}(),V0=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},r=new RegExp("\x1BN("+za(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),t=function(i,c){var u=e[c];return typeof u=="number"?j1(u):u},n=function(i,c,u){var l=c.charCodeAt(0)-32<<4|u.charCodeAt(0)-48;return l==59?i:j1(l)};function a(i,c){var u,l=i.split(/[\n\r]+/),A=-1,h=-1,f=0,d=0,g=[],p=[],m=null,v={},y=[],I=[],E=[],k=0;for(+c.codepage>=0&&Mc(+c.codepage);f!==l.length;++f){k=0;var R,T=l[f].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(r,t),j=T.replace(/;;/g,"\0").split(";").map(function(O){return O.replace(/\u0000/g,";")}),W=j[0];if(T.length>0)switch(W){case"ID":case"E":case"B":case"O":case"W":break;case"P":j[1].charAt(0)=="P"&&p.push(T.slice(3).replace(/;;/g,";"));break;case"C":var H=!1,X=!1,x=!1,N=!1,C=-1,w=-1;for(d=1;d<j.length;++d)switch(j[d].charAt(0)){case"A":case"G":break;case"X":h=parseInt(j[d].slice(1))-1,X=!0;break;case"Y":for(A=parseInt(j[d].slice(1))-1,X||(h=0),u=g.length;u<=A;++u)g[u]=[];break;case"K":(R=j[d].slice(1)).charAt(0)==='"'?R=R.slice(1,R.length-1):R==="TRUE"?R=!0:R==="FALSE"?R=!1:isNaN(Nu(R))?isNaN(zh(R).getDate())||(R=Ga(R)):(R=Nu(R),m!==null&&JA(m)&&(R=Kh(R))),H=!0;break;case"E":N=!0;var Q=ih(j[d].slice(1),{r:A,c:h});g[A][h]=[g[A][h],Q];break;case"S":x=!0,g[A][h]=[g[A][h],"S5S"];break;case"R":C=parseInt(j[d].slice(1))-1;break;case"C":w=parseInt(j[d].slice(1))-1;break;default:if(c&&c.WTF)throw new Error("SYLK bad record "+T)}if(H&&(g[A][h]&&g[A][h].length==2?g[A][h][0]=R:g[A][h]=R,m=null),x){if(N)throw new Error("SYLK shared formula cannot have own formula");var B=C>-1&&g[C][w];if(!B||!B[1])throw new Error("SYLK shared formula cannot find base");g[A][h][1]=Vm(B[1],{r:A-C,c:h-w})}break;case"F":var S=0;for(d=1;d<j.length;++d)switch(j[d].charAt(0)){case"X":h=parseInt(j[d].slice(1))-1,++S;break;case"Y":for(A=parseInt(j[d].slice(1))-1,u=g.length;u<=A;++u)g[u]=[];break;case"M":k=parseInt(j[d].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":m=p[parseInt(j[d].slice(1))];break;case"W":for(E=j[d].slice(1).split(" "),u=parseInt(E[0],10);u<=parseInt(E[1],10);++u)k=parseInt(E[2],10),I[u-1]=k===0?{hidden:!0}:{wch:k},dl(I[u-1]);break;case"C":I[h=parseInt(j[d].slice(1))-1]||(I[h]={});break;case"R":y[A=parseInt(j[d].slice(1))-1]||(y[A]={}),k>0?(y[A].hpt=k,y[A].hpx=gl(k)):k===0&&(y[A].hidden=!0);break;default:if(c&&c.WTF)throw new Error("SYLK bad record "+T)}S<1&&(m=null);break;default:if(c&&c.WTF)throw new Error("SYLK bad record "+T)}}return y.length>0&&(v["!rows"]=y),I.length>0&&(v["!cols"]=I),c&&c.sheetRows&&(g=g.slice(0,c.sheetRows)),[g,v]}function s(i,c){var u=function(f,d){switch(d.type){case"base64":return a($s(f),d);case"binary":return a(f,d);case"buffer":return a(wi&&Buffer.isBuffer(f)?f.toString("binary"):Du(f),d);case"array":return a(Jl(f),d)}throw new Error("Unrecognized type "+d.type)}(i,c),l=u[0],A=u[1],h=Al(l,c);return za(A).forEach(function(f){h[f]=A[f]}),h}function o(i,c,u,l){var A="C;Y"+(u+1)+";X"+(l+1)+";K";switch(i.t){case"n":A+=i.v||0,i.f&&!i.F&&(A+=";E"+ip(i.f,{r:u,c:l}));break;case"b":A+=i.v?"TRUE":"FALSE";break;case"e":A+=i.w||i.v;break;case"d":A+='"'+(i.w||i.v)+'"';break;case"s":A+='"'+i.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return A}return e["|"]=254,{to_workbook:function(i,c){return Kl(s(i,c),c)},to_sheet:s,from_sheet:function(i,c){var u,l,A=["ID;PWXL;N;E"],h=[],f=ea(i["!ref"]),d=Array.isArray(i),g=`\r
  172. `;A.push("P;PGeneral"),A.push("F;P0;DG0G8;M255"),i["!cols"]&&(l=A,i["!cols"].forEach(function(y,I){var E="F;W"+(I+1)+" "+(I+1)+" ";y.hidden?E+="0":(typeof y.width!="number"||y.wpx||(y.wpx=Af(y.width)),typeof y.wpx!="number"||y.wch||(y.wch=rh(y.wpx)),typeof y.wch=="number"&&(E+=Math.round(y.wch))),E.charAt(E.length-1)!=" "&&l.push(E)})),i["!rows"]&&function(y,I){I.forEach(function(E,k){var R="F;";E.hidden?R+="M0;":E.hpt?R+="M"+20*E.hpt+";":E.hpx&&(R+="M"+20*hf(E.hpx)+";"),R.length>2&&y.push(R+"R"+(k+1))})}(A,i["!rows"]),A.push("B;Y"+(f.e.r-f.s.r+1)+";X"+(f.e.c-f.s.c+1)+";D"+[f.s.c,f.s.r,f.e.c,f.e.r].join(" "));for(var p=f.s.r;p<=f.e.r;++p)for(var m=f.s.c;m<=f.e.c;++m){var v=In({r:p,c:m});(u=d?(i[p]||[])[m]:i[v])&&(u.v!=null||u.f&&!u.F)&&h.push(o(u,0,p,m))}return A.join(g)+g+h.join(g)+g+"E"+g}}}(),Rm=function(){function e(t,n){for(var a=t.split(`
  173. `),s=-1,o=-1,i=0,c=[];i!==a.length;++i)if(a[i].trim()!=="BOT"){if(!(s<0)){for(var u=a[i].trim().split(","),l=u[0],A=u[1],h=a[++i]||"";1&(h.match(/["]/g)||[]).length&&i<a.length-1;)h+=`
  174. `+a[++i];switch(h=h.trim(),+l){case-1:if(h==="BOT"){c[++s]=[],o=0;continue}if(h!=="EOD")throw new Error("Unrecognized DIF special command "+h);break;case 0:h==="TRUE"?c[s][o]=!0:h==="FALSE"?c[s][o]=!1:isNaN(Nu(A))?isNaN(zh(A).getDate())?c[s][o]=A:c[s][o]=Ga(A):c[s][o]=Nu(A),++o;break;case 1:(h=(h=h.slice(1,h.length-1)).replace(/""/g,'"'))&&h.match(/^=".*"$/)&&(h=h.slice(2,-1)),c[s][o++]=h!==""?h:null}if(h==="EOD")break}}else c[++s]=[],o=0;return n&&n.sheetRows&&(c=c.slice(0,n.sheetRows)),c}function r(t,n){return Al(function(a,s){switch(s.type){case"base64":return e($s(a),s);case"binary":return e(a,s);case"buffer":return e(wi&&Buffer.isBuffer(a)?a.toString("binary"):Du(a),s);case"array":return e(Jl(a),s)}throw new Error("Unrecognized type "+s.type)}(t,n),n)}return{to_workbook:function(t,n){return Kl(r(t,n),n)},to_sheet:r,from_sheet:function(){var t=function(a,s,o,i,c){a.push(s),a.push(o+","+i),a.push('"'+c.replace(/"/g,'""')+'"')},n=function(a,s,o,i){a.push(s+","+o),a.push(s==1?'"'+i.replace(/"/g,'""')+'"':i)};return function(a){var s,o=[],i=ea(a["!ref"]),c=Array.isArray(a);t(o,"TABLE",0,1,"sheetjs"),t(o,"VECTORS",0,i.e.r-i.s.r+1,""),t(o,"TUPLES",0,i.e.c-i.s.c+1,""),t(o,"DATA",0,0,"");for(var u=i.s.r;u<=i.e.r;++u){n(o,-1,0,"BOT");for(var l=i.s.c;l<=i.e.c;++l){var A=In({r:u,c:l});if(s=c?(a[u]||[])[l]:a[A])switch(s.t){case"n":var h=s.w;h||s.v==null||(h=s.v),h==null?s.f&&!s.F?n(o,1,0,"="+s.f):n(o,1,0,""):n(o,0,h,"V");break;case"b":n(o,0,s.v?1:0,s.v?"TRUE":"FALSE");break;case"s":n(o,1,0,isNaN(s.v)?s.v:'="'+s.v+'"');break;case"d":s.w||(s.w=Cs(s.z||ai[14],Zo(Ga(s.v)))),n(o,0,s.w,"V");break;default:n(o,1,0,"")}else n(o,1,0,"")}}return n(o,-1,0,"EOD"),o.join(`\r
  175. `)}}()}}(),Z0=function(){function e(i){return i.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(i,c){return Al(function(u,l){for(var A=u.split(`
  176. `),h=-1,f=-1,d=0,g=[];d!==A.length;++d){var p=A[d].trim().split(":");if(p[0]==="cell"){var m=Do(p[1]);if(g.length<=m.r)for(h=g.length;h<=m.r;++h)g[h]||(g[h]=[]);switch(h=m.r,f=m.c,p[2]){case"t":g[h][f]=p[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
  177. `);break;case"v":g[h][f]=+p[3];break;case"vtf":var v=p[p.length-1];case"vtc":p[3]==="nl"?g[h][f]=!!+p[4]:g[h][f]=+p[4],p[2]=="vtf"&&(g[h][f]=[g[h][f],v])}}}return l&&l.sheetRows&&(g=g.slice(0,l.sheetRows)),g}(i,c),c)}var t=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
  178. `),n=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
  179. `)+`
  180. `,a=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
  181. `),s="--SocialCalcSpreadsheetControlSave--";function o(i){if(!i||!i["!ref"])return"";for(var c,u=[],l=[],A="",h=Es(i["!ref"]),f=Array.isArray(i),d=h.s.r;d<=h.e.r;++d)for(var g=h.s.c;g<=h.e.c;++g)if(A=In({r:d,c:g}),(c=f?(i[d]||[])[g]:i[A])&&c.v!=null&&c.t!=="z"){switch(l=["cell",A,"t"],c.t){case"s":case"str":l.push(e(c.v));break;case"n":c.f?(l[2]="vtf",l[3]="n",l[4]=c.v,l[5]=e(c.f)):(l[2]="v",l[3]=c.v);break;case"b":l[2]="vt"+(c.f?"f":"c"),l[3]="nl",l[4]=c.v?"1":"0",l[5]=e(c.f||(c.v?"TRUE":"FALSE"));break;case"d":var p=Zo(Ga(c.v));l[2]="vtc",l[3]="nd",l[4]=""+p,l[5]=c.w||Cs(c.z||ai[14],p);break;case"e":continue}u.push(l.join(":"))}return u.push("sheet:c:"+(h.e.c-h.s.c+1)+":r:"+(h.e.r-h.s.r+1)+":tvf:1"),u.push("valueformat:1:text-wiki"),u.join(`
  182. `)}return{to_workbook:function(i,c){return Kl(r(i,c),c)},to_sheet:r,from_sheet:function(i){return[t,n,a,n,o(i),s].join(`
  183. `)}}}(),th=function(){function e(i,c,u,l,A){A.raw?c[u][l]=i:i===""||(i==="TRUE"?c[u][l]=!0:i==="FALSE"?c[u][l]=!1:isNaN(Nu(i))?isNaN(zh(i).getDate())?c[u][l]=i:c[u][l]=Ga(i):c[u][l]=Nu(i))}var r={44:",",9:" ",59:";",124:"|"},t={44:3,9:2,59:1,124:0};function n(i){for(var c={},u=!1,l=0,A=0;l<i.length;++l)(A=i.charCodeAt(l))==34?u=!u:!u&&A in r&&(c[A]=(c[A]||0)+1);for(l in A=[],c)Object.prototype.hasOwnProperty.call(c,l)&&A.push([c[l],l]);if(!A.length)for(l in c=t)Object.prototype.hasOwnProperty.call(c,l)&&A.push([c[l],l]);return A.sort(function(h,f){return h[0]-f[0]||t[h[1]]-t[f[1]]}),r[A.pop()[1]]||44}function a(i,c){var u=c||{},l="",A=u.dense?[]:{},h={s:{c:0,r:0},e:{c:0,r:0}};i.slice(0,4)=="sep="?i.charCodeAt(5)==13&&i.charCodeAt(6)==10?(l=i.charAt(4),i=i.slice(7)):i.charCodeAt(5)==13||i.charCodeAt(5)==10?(l=i.charAt(4),i=i.slice(6)):l=n(i.slice(0,1024)):l=u&&u.FS?u.FS:n(i.slice(0,1024));var f=0,d=0,g=0,p=0,m=0,v=l.charCodeAt(0),y=!1,I=0,E=i.charCodeAt(0);i=i.replace(/\r\n/gm,`
  184. `);var k,R,T=u.dateNF!=null?(k=u.dateNF,R=(R=typeof k=="number"?ai[k]:k).replace(ev,"(\\d+)"),new RegExp("^"+R+"$")):null;function j(){var W=i.slice(p,m),H={};if(W.charAt(0)=='"'&&W.charAt(W.length-1)=='"'&&(W=W.slice(1,-1).replace(/""/g,'"')),W.length===0)H.t="z";else if(u.raw)H.t="s",H.v=W;else if(W.trim().length===0)H.t="s",H.v=W;else if(W.charCodeAt(0)==61)W.charCodeAt(1)==34&&W.charCodeAt(W.length-1)==34?(H.t="s",H.v=W.slice(2,-1).replace(/""/g,'"')):W.length!=1?(H.t="n",H.f=W.slice(1)):(H.t="s",H.v=W);else if(W=="TRUE")H.t="b",H.v=!0;else if(W=="FALSE")H.t="b",H.v=!1;else if(isNaN(g=Nu(W)))if(!isNaN(zh(W).getDate())||T&&W.match(T)){H.z=u.dateNF||ai[14];var X=0;T&&W.match(T)&&(W=function(x,N,C){var w=-1,Q=-1,B=-1,S=-1,O=-1,F=-1;(N.match(ev)||[]).forEach(function(z,ue){var ae=parseInt(C[ue+1],10);switch(z.toLowerCase().charAt(0)){case"y":w=ae;break;case"d":B=ae;break;case"h":S=ae;break;case"s":F=ae;break;case"m":S>=0?O=ae:Q=ae}}),F>=0&&O==-1&&Q>=0&&(O=Q,Q=-1);var Y=(""+(w>=0?w:new Date().getFullYear())).slice(-4)+"-"+("00"+(Q>=1?Q:1)).slice(-2)+"-"+("00"+(B>=1?B:1)).slice(-2);Y.length==7&&(Y="0"+Y),Y.length==8&&(Y="20"+Y);var M=("00"+(S>=0?S:0)).slice(-2)+":"+("00"+(O>=0?O:0)).slice(-2)+":"+("00"+(F>=0?F:0)).slice(-2);return S==-1&&O==-1&&F==-1?Y:w==-1&&Q==-1&&B==-1?M:Y+"T"+M}(0,u.dateNF,W.match(T)||[]),X=1),u.cellDates?(H.t="d",H.v=Ga(W,X)):(H.t="n",H.v=Zo(Ga(W,X))),u.cellText!==!1&&(H.w=Cs(H.z,H.v instanceof Date?Zo(H.v):H.v)),u.cellNF||delete H.z}else H.t="s",H.v=W;else H.t="n",u.cellText!==!1&&(H.w=W),H.v=g;if(H.t=="z"||(u.dense?(A[f]||(A[f]=[]),A[f][d]=H):A[In({c:d,r:f})]=H),p=m+1,E=i.charCodeAt(p),h.e.c<d&&(h.e.c=d),h.e.r<f&&(h.e.r=f),I==v)++d;else if(d=0,++f,u.sheetRows&&u.sheetRows<=f)return!0}e:for(;m<i.length;++m)switch(I=i.charCodeAt(m)){case 34:E===34&&(y=!y);break;case v:case 10:case 13:if(!y&&j())break e}return m-p>0&&j(),A["!ref"]=_i(h),A}function s(i,c){return c&&c.PRN?c.FS||i.slice(0,4)=="sep="||i.indexOf(" ")>=0||i.indexOf(",")>=0||i.indexOf(";")>=0?a(i,c):Al(function(u,l){var A=l||{},h=[];if(!u||u.length===0)return h;for(var f=u.split(/[\r\n]/),d=f.length-1;d>=0&&f[d].length===0;)--d;for(var g=10,p=0,m=0;m<=d;++m)(p=f[m].indexOf(" "))==-1?p=f[m].length:p++,g=Math.max(g,p);for(m=0;m<=d;++m){h[m]=[];var v=0;for(e(f[m].slice(0,g).trim(),h,m,v,A),v=1;v<=(f[m].length-g)/10+1;++v)e(f[m].slice(g+10*(v-1),g+10*v).trim(),h,m,v,A)}return A.sheetRows&&(h=h.slice(0,A.sheetRows)),h}(i,c),c):a(i,c)}function o(i,c){var u="",l=c.type=="string"?[0,0,0,0]:wp(i,c);switch(c.type){case"base64":u=$s(i);break;case"binary":case"string":u=i;break;case"buffer":u=c.codepage==65001?i.toString("utf8"):c.codepage&&sl!==void 0?sl.utils.decode(c.codepage,i):wi&&Buffer.isBuffer(i)?i.toString("binary"):Du(i);break;case"array":u=Jl(i);break;default:throw new Error("Unrecognized type "+c.type)}return l[0]==239&&l[1]==187&&l[2]==191?u=ua(u.slice(3)):c.type!="string"&&c.type!="buffer"&&c.codepage==65001?u=ua(u):c.type=="binary"&&sl!==void 0&&c.codepage&&(u=sl.utils.decode(c.codepage,sl.utils.encode(28591,u))),u.slice(0,19)=="socialcalc:version:"?Z0.to_sheet(c.type=="string"?u:ua(u),c):s(u,c)}return{to_workbook:function(i,c){return Kl(o(i,c),c)},to_sheet:o,from_sheet:function(i){for(var c,u=[],l=ea(i["!ref"]),A=Array.isArray(i),h=l.s.r;h<=l.e.r;++h){for(var f=[],d=l.s.c;d<=l.e.c;++d){var g=In({r:h,c:d});if((c=A?(i[h]||[])[d]:i[g])&&c.v!=null){for(var p=(c.w||(ll(c),c.w)||"").slice(0,10);p.length<10;)p+=" ";f.push(p+(d===0?" ":""))}else f.push(" ")}u.push(f.join(""))}return u.join(`
  185. `)}}}(),nA=function(){function e(y,I,E){if(y){$o(y,y.l||0);for(var k=E.Enum||m;y.l<y.length;){var R=y.read_shift(2),T=k[R]||k[65535],j=y.read_shift(2),W=y.l+j,H=T.f&&T.f(y,j,E);if(y.l=W,I(H,T,R))return}}}function r(y,I){if(!y)return y;var E=I||{},k=E.dense?[]:{},R="Sheet1",T="",j=0,W={},H=[],X=[],x={s:{r:0,c:0},e:{r:0,c:0}},N=E.sheetRows||0;if(y[2]==0&&(y[3]==8||y[3]==9)&&y.length>=16&&y[14]==5&&y[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(y[2]==2)E.Enum=m,e(y,function(B,S,O){switch(O){case 0:E.vers=B,B>=4096&&(E.qpro=!0);break;case 6:x=B;break;case 204:B&&(T=B);break;case 222:T=B;break;case 15:case 51:E.qpro||(B[1].v=B[1].v.slice(1));case 13:case 14:case 16:O==14&&(112&B[2])==112&&(15&B[2])>1&&(15&B[2])<15&&(B[1].z=E.dateNF||ai[14],E.cellDates&&(B[1].t="d",B[1].v=Kh(B[1].v))),E.qpro&&B[3]>j&&(k["!ref"]=_i(x),W[R]=k,H.push(R),k=E.dense?[]:{},x={s:{r:0,c:0},e:{r:0,c:0}},j=B[3],R=T||"Sheet"+(j+1),T="");var F=E.dense?(k[B[0].r]||[])[B[0].c]:k[In(B[0])];if(F){F.t=B[1].t,F.v=B[1].v,B[1].z!=null&&(F.z=B[1].z),B[1].f!=null&&(F.f=B[1].f);break}E.dense?(k[B[0].r]||(k[B[0].r]=[]),k[B[0].r][B[0].c]=B[1]):k[In(B[0])]=B[1]}},E);else{if(y[2]!=26&&y[2]!=14)throw new Error("Unrecognized LOTUS BOF "+y[2]);E.Enum=v,y[2]==14&&(E.qpro=!0,y.l=0),e(y,function(B,S,O){switch(O){case 204:R=B;break;case 22:B[1].v=B[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(B[3]>j&&(k["!ref"]=_i(x),W[R]=k,H.push(R),k=E.dense?[]:{},x={s:{r:0,c:0},e:{r:0,c:0}},j=B[3],R="Sheet"+(j+1)),N>0&&B[0].r>=N)break;E.dense?(k[B[0].r]||(k[B[0].r]=[]),k[B[0].r][B[0].c]=B[1]):k[In(B[0])]=B[1],x.e.c<B[0].c&&(x.e.c=B[0].c),x.e.r<B[0].r&&(x.e.r=B[0].r);break;case 27:B[14e3]&&(X[B[14e3][0]]=B[14e3][1]);break;case 1537:X[B[0]]=B[1],B[0]==j&&(R=B[1])}},E)}if(k["!ref"]=_i(x),W[T||R]=k,H.push(T||R),!X.length)return{SheetNames:H,Sheets:W};for(var C={},w=[],Q=0;Q<X.length;++Q)W[H[Q]]?(w.push(X[Q]||H[Q]),C[X[Q]]=W[X[Q]]||W[H[Q]]):(w.push(X[Q]),C[X[Q]]={"!ref":"A1"});return{SheetNames:w,Sheets:C}}function t(y,I,E){var k=[{c:0,r:0},{t:"n",v:0},0,0];return E.qpro&&E.vers!=20768?(k[0].c=y.read_shift(1),k[3]=y.read_shift(1),k[0].r=y.read_shift(2),y.l+=2):(k[2]=y.read_shift(1),k[0].c=y.read_shift(2),k[0].r=y.read_shift(2)),k}function n(y,I,E){var k=y.l+I,R=t(y,0,E);if(R[1].t="s",E.vers==20768){y.l++;var T=y.read_shift(1);return R[1].v=y.read_shift(T,"utf8"),R}return E.qpro&&y.l++,R[1].v=y.read_shift(k-y.l,"cstr"),R}function a(y,I,E){var k=Kt(7+E.length);k.write_shift(1,255),k.write_shift(2,I),k.write_shift(2,y),k.write_shift(1,39);for(var R=0;R<k.length;++R){var T=E.charCodeAt(R);k.write_shift(1,T>=128?95:T)}return k.write_shift(1,0),k}function s(y,I,E){var k=Kt(7);return k.write_shift(1,255),k.write_shift(2,I),k.write_shift(2,y),k.write_shift(2,E,"i"),k}function o(y,I,E){var k=Kt(13);return k.write_shift(1,255),k.write_shift(2,I),k.write_shift(2,y),k.write_shift(8,E,"f"),k}function i(y,I,E){var k=32768&I;return I=(k?y:0)+((I&=-32769)>=8192?I-16384:I),(k?"":"$")+(E?Eo(I):Ho(I))}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]},u=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function l(y){var I=[{c:0,r:0},{t:"n",v:0},0];return I[0].r=y.read_shift(2),I[3]=y[y.l++],I[0].c=y[y.l++],I}function A(y,I,E,k){var R=Kt(6+k.length);R.write_shift(2,y),R.write_shift(1,E),R.write_shift(1,I),R.write_shift(1,39);for(var T=0;T<k.length;++T){var j=k.charCodeAt(T);R.write_shift(1,j>=128?95:j)}return R.write_shift(1,0),R}function h(y,I){var E=l(y),k=y.read_shift(4),R=y.read_shift(4),T=y.read_shift(2);if(T==65535)return k===0&&R===3221225472?(E[1].t="e",E[1].v=15):k===0&&R===3489660928?(E[1].t="e",E[1].v=42):E[1].v=0,E;var j=32768&T;return T=(32767&T)-16446,E[1].v=(1-2*j)*(R*Math.pow(2,T+32)+k*Math.pow(2,T)),E}function f(y,I,E,k){var R=Kt(14);if(R.write_shift(2,y),R.write_shift(1,E),R.write_shift(1,I),k==0)return R.write_shift(4,0),R.write_shift(4,0),R.write_shift(2,65535),R;var T,j=0,W=0,H=0;return k<0&&(j=1,k=-k),W=0|Math.log2(k),!(2147483648&(H=(k/=Math.pow(2,W-31))>>>0))&&(++W,H=(k/=2)>>>0),k-=H,H|=2147483648,H>>>=0,T=(k*=Math.pow(2,32))>>>0,R.write_shift(4,T),R.write_shift(4,H),W+=16383+(j?32768:0),R.write_shift(2,W),R}function d(y,I){var E=l(y),k=y.read_shift(8,"f");return E[1].v=k,E}function g(y,I){return y[y.l+I-1]==0?y.read_shift(I,"cstr"):""}function p(y,I){var E=Kt(5+y.length);E.write_shift(2,14e3),E.write_shift(2,I);for(var k=0;k<y.length;++k){var R=y.charCodeAt(k);E[E.l++]=R>127?95:R}return E[E.l++]=0,E}var m={0:{n:"BOF",f:wo},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(y,I,E){var k={s:{c:0,r:0},e:{c:0,r:0}};return I==8&&E.qpro?(k.s.c=y.read_shift(1),y.l++,k.s.r=y.read_shift(2),k.e.c=y.read_shift(1),y.l++,k.e.r=y.read_shift(2),k):(k.s.c=y.read_shift(2),k.s.r=y.read_shift(2),I==12&&E.qpro&&(y.l+=2),k.e.c=y.read_shift(2),k.e.r=y.read_shift(2),I==12&&E.qpro&&(y.l+=2),k.s.c==65535&&(k.s.c=k.e.c=k.s.r=k.e.r=0),k)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(y,I,E){var k=t(y,0,E);return k[1].v=y.read_shift(2,"i"),k}},14:{n:"NUMBER",f:function(y,I,E){var k=t(y,0,E);return k[1].v=y.read_shift(8,"f"),k}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(y,I,E){var k=y.l+I,R=t(y,0,E);if(R[1].v=y.read_shift(8,"f"),E.qpro)y.l=k;else{var T=y.read_shift(2);(function(j,W){$o(j,0);for(var H=[],X=0,x="",N="",C="",w="";j.l<j.length;){var Q=j[j.l++];switch(Q){case 0:H.push(j.read_shift(8,"f"));break;case 1:N=i(W[0].c,j.read_shift(2),!0),x=i(W[0].r,j.read_shift(2),!1),H.push(N+x);break;case 2:var B=i(W[0].c,j.read_shift(2),!0),S=i(W[0].r,j.read_shift(2),!1);N=i(W[0].c,j.read_shift(2),!0),x=i(W[0].r,j.read_shift(2),!1),H.push(B+S+":"+N+x);break;case 3:if(j.l<j.length)return void console.error("WK1 premature formula end");break;case 4:H.push("("+H.pop()+")");break;case 5:H.push(j.read_shift(2));break;case 6:for(var O="";Q=j[j.l++];)O+=String.fromCharCode(Q);H.push('"'+O.replace(/"/g,'""')+'"');break;case 8:H.push("-"+H.pop());break;case 23:H.push("+"+H.pop());break;case 22:H.push("NOT("+H.pop()+")");break;case 20:case 21:w=H.pop(),C=H.pop(),H.push(["AND","OR"][Q-20]+"("+C+","+w+")");break;default:if(Q<32&&u[Q])w=H.pop(),C=H.pop(),H.push(C+u[Q]+w);else{if(!c[Q])return Q<=7?console.error("WK1 invalid opcode "+Q.toString(16)):Q<=24?console.error("WK1 unsupported op "+Q.toString(16)):Q<=30?console.error("WK1 invalid opcode "+Q.toString(16)):Q<=115?console.error("WK1 unsupported function opcode "+Q.toString(16)):console.error("WK1 unrecognized opcode "+Q.toString(16));if((X=c[Q][1])==69&&(X=j[j.l++]),X>H.length)return void console.error("WK1 bad formula parse 0x"+Q.toString(16)+":|"+H.join("|")+"|");var F=H.slice(-X);H.length-=X,H.push(c[Q][0]+"("+F.join(",")+")")}}}H.length==1?W[1].f=""+H[0]:console.error("WK1 bad formula parse |"+H.join("|")+"|")})(y.slice(y.l,y.l+T),R),y.l+=T}return R}},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:n},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(y,I){var E=y[y.l++];E>I-1&&(E=I-1);for(var k="";k.length<E;)k+=String.fromCharCode(y[y.l++]);return k}},65535:{n:""}},v={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(y,I){var E=l(y);return E[1].t="s",E[1].v=y.read_shift(I-4,"cstr"),E}},23:{n:"NUMBER17",f:h},24:{n:"NUMBER18",f:function(y,I){var E=l(y);E[1].v=y.read_shift(2);var k=E[1].v>>1;if(1&E[1].v)switch(7&k){case 0:k=5e3*(k>>3);break;case 1:k=500*(k>>3);break;case 2:k=(k>>3)/20;break;case 3:k=(k>>3)/200;break;case 4:k=(k>>3)/2e3;break;case 5:k=(k>>3)/2e4;break;case 6:k=(k>>3)/16;break;case 7:k=(k>>3)/64}return E[1].v=k,E}},25:{n:"FORMULA19",f:function(y,I){var E=h(y);return y.l+=I-14,E}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(y,I){for(var E={},k=y.l+I;y.l<k;){var R=y.read_shift(2);if(R==14e3){for(E[R]=[0,""],E[R][0]=y.read_shift(2);y[y.l];)E[R][1]+=String.fromCharCode(y[y.l]),y.l++;y.l++}}return E}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(y,I){var E=l(y),k=y.read_shift(4);return E[1].v=k>>6,E}},38:{n:"??"},39:{n:"NUMBER27",f:d},40:{n:"FORMULA28",f:function(y,I){var E=d(y);return y.l+=I-10,E}},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(y,I,E){if(E.qpro&&!(I<21)){var k=y.read_shift(1);return y.l+=17,y.l+=1,y.l+=2,[k,y.read_shift(I-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(y,I){var E=I||{};if(+E.codepage>=0&&Mc(+E.codepage),E.type=="string")throw new Error("Cannot write WK1 to JS string");var k,R,T=Os(),j=ea(y["!ref"]),W=Array.isArray(y),H=[];en(T,0,(k=1030,(R=Kt(2)).write_shift(2,k),R)),en(T,6,function(B){var S=Kt(8);return S.write_shift(2,B.s.c),S.write_shift(2,B.s.r),S.write_shift(2,B.e.c),S.write_shift(2,B.e.r),S}(j));for(var X=Math.min(j.e.r,8191),x=j.s.r;x<=X;++x)for(var N=Ho(x),C=j.s.c;C<=j.e.c;++C){x===j.s.r&&(H[C]=Eo(C));var w=H[C]+N,Q=W?(y[x]||[])[C]:y[w];Q&&Q.t!="z"&&(Q.t=="n"?(0|Q.v)==Q.v&&Q.v>=-32768&&Q.v<=32767?en(T,13,s(x,C,Q.v)):en(T,14,o(x,C,Q.v)):en(T,15,a(x,C,ll(Q).slice(0,239))))}return en(T,1),T.end()},book_to_wk3:function(y,I){var E=I||{};if(+E.codepage>=0&&Mc(+E.codepage),E.type=="string")throw new Error("Cannot write WK3 to JS string");var k=Os();en(k,0,function(O){var F=Kt(26);F.write_shift(2,4096),F.write_shift(2,4),F.write_shift(4,0);for(var Y=0,M=0,z=0,ue=0;ue<O.SheetNames.length;++ue){var ae=O.SheetNames[ue],Ne=O.Sheets[ae];if(Ne&&Ne["!ref"]){++z;var Ge=Es(Ne["!ref"]);Y<Ge.e.r&&(Y=Ge.e.r),M<Ge.e.c&&(M=Ge.e.c)}}return Y>8191&&(Y=8191),F.write_shift(2,Y),F.write_shift(1,z),F.write_shift(1,M),F.write_shift(2,0),F.write_shift(2,0),F.write_shift(1,1),F.write_shift(1,2),F.write_shift(4,0),F.write_shift(4,0),F}(y));for(var R=0,T=0;R<y.SheetNames.length;++R)(y.Sheets[y.SheetNames[R]]||{})["!ref"]&&en(k,27,p(y.SheetNames[R],T++));var j=0;for(R=0;R<y.SheetNames.length;++R){var W=y.Sheets[y.SheetNames[R]];if(W&&W["!ref"]){for(var H=ea(W["!ref"]),X=Array.isArray(W),x=[],N=Math.min(H.e.r,8191),C=H.s.r;C<=N;++C)for(var w=Ho(C),Q=H.s.c;Q<=H.e.c;++Q){C===H.s.r&&(x[Q]=Eo(Q));var B=x[Q]+w,S=X?(W[C]||[])[Q]:W[B];S&&S.t!="z"&&(S.t=="n"?en(k,23,f(C,Q,j,S.v)):en(k,22,A(C,Q,j,ll(S).slice(0,239))))}++j}}return en(k,1),k.end()},to_workbook:function(y,I){switch(I.type){case"base64":return r(ec($s(y)),I);case"binary":return r(ec(y),I);case"buffer":case"array":return r(y,I)}throw"Unsupported type "+I.type}}}(),Jb=function(){var e=Zh("t"),r=Zh("rPr");function t(s){var o=s.match(e);if(!o)return{t:"s",v:""};var i={t:"s",v:Mi(o[1])},c=s.match(r);return c&&(i.s=function(u){var l={},A=u.match(us),h=0,f=!1;if(A)for(;h!=A.length;++h){var d=ci(A[h]);switch(d[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!d.val)break;case"<shadow>":case"<shadow/>":l.shadow=1;break;case"</shadow>":break;case"<charset":if(d.val=="1")break;l.cp=s0[parseInt(d.val,10)];break;case"<outline":if(!d.val)break;case"<outline>":case"<outline/>":l.outline=1;break;case"</outline>":break;case"<rFont":l.name=d.val;break;case"<sz":l.sz=d.val;break;case"<strike":if(!d.val)break;case"<strike>":case"<strike/>":l.strike=1;break;case"</strike>":break;case"<u":if(!d.val)break;switch(d.val){case"double":l.uval="double";break;case"singleAccounting":l.uval="single-accounting";break;case"doubleAccounting":l.uval="double-accounting"}case"<u>":case"<u/>":l.u=1;break;case"</u>":break;case"<b":if(d.val=="0")break;case"<b>":case"<b/>":l.b=1;break;case"</b>":break;case"<i":if(d.val=="0")break;case"<i>":case"<i/>":l.i=1;break;case"</i>":break;case"<color":d.rgb&&(l.color=d.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":l.family=d.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":l.valign=d.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":f=!0;break;case"</ext>":f=!1;break;default:if(d[0].charCodeAt(1)!==47&&!f)throw new Error("Unrecognized rich format "+d[0])}}return l}(c[1])),i}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(s){return s.replace(n,"").split(a).map(t).filter(function(o){return o.v})}}(),qb=function(){var e=/(\r\n|\n)/g;function r(t){var n=[[],t.v,[]];return t.v?(t.s&&function(a,s,o){var i=[];a.u&&i.push("text-decoration: underline;"),a.uval&&i.push("text-underline-style:"+a.uval+";"),a.sz&&i.push("font-size:"+a.sz+"pt;"),a.outline&&i.push("text-effect: outline;"),a.shadow&&i.push("text-shadow: auto;"),s.push('<span style="'+i.join("")+'">'),a.b&&(s.push("<b>"),o.push("</b>")),a.i&&(s.push("<i>"),o.push("</i>")),a.strike&&(s.push("<s>"),o.push("</s>"));var c=a.valign||"";c=="superscript"||c=="super"?c="sup":c=="subscript"&&(c="sub"),c!=""&&(s.push("<"+c+">"),o.push("</"+c+">")),o.push("</span>")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"<br/>")+n[2].join("")):""}return function(t){return t.map(r).join("")}}(),Wb=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,X0=/<(?:\w+:)?r>/,Kb=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Fd(e,r){var t=!r||r.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=Mi(ua(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=ua(e),t&&(n.h=C0(n.t))):e.match(X0)&&(n.r=ua(e),n.t=Mi(ua((e.replace(Kb,"").match(Wb)||[]).join("").replace(us,""))),t&&(n.h=qb(Jb(n.r)))),n):{t:""}}var zb=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Vb=/<(?:\w+:)?(?:si|sstItem)>/g,Zb=/<\/(?:\w+:)?(?:si|sstItem)>/,Xb=/^\s|\s$|[\t\n\r]/;function Fm(e,r){if(!r.bookSST)return"";var t=[fo];t[t.length]=Zr("sst",null,{xmlns:ql[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],s="<si>";a.r?s+=a.r:(s+="<t",a.t||(a.t=""),a.t.match(Xb)&&(s+=' xml:space="preserve"'),s+=">"+ca(a.t)+"</t>"),s+="</si>",t[t.length]=s}return t.length>2&&(t[t.length]="</sst>",t[1]=t[1].replace("/>",">")),t.join("")}var cf=function(e,r){var t=!1;return r==null&&(t=!0,r=Kt(15+4*e.t.length)),r.write_shift(1,0),Yo(e.t,r),t?r.slice(0,r.l):r};function $b(e){var r=Os();wr(r,159,function(n,a){return a||(a=Kt(8)),a.write_shift(4,n.Count),a.write_shift(4,n.Unique),a}(e));for(var t=0;t<e.length;++t)wr(r,19,cf(e[t]));return wr(r,160),r.end()}function Nm(e){for(var r=[],t=e.split(""),n=0;n<t.length;++n)r[n]=t[n].charCodeAt(0);return r}function Pu(e,r){var t={};return t.Major=e.read_shift(2),t.Minor=e.read_shift(2),r>=4&&(e.l+=r-4),t}function eC(e){for(var r=e.read_shift(4),t=e.l+r-4,n={},a=e.read_shift(4),s=[];a-- >0;)s.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=s,e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return n}function Mm(e){var r=function(t){var n={};return t.read_shift(4),t.l+=4,n.id=t.read_shift(0,"lpp4"),n.name=t.read_shift(0,"lpp4"),n.R=Pu(t,4),n.U=Pu(t,4),n.W=Pu(t,4),n}(e);if(r.ename=e.read_shift(0,"8lpp4"),r.blksz=e.read_shift(4),r.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return r}function Tm(e,r){var t=e.l+r,n={};n.Flags=63&e.read_shift(4),e.l+=4,n.AlgID=e.read_shift(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=n.Flags==36;break;case 26625:a=n.Flags==4;break;case 0:a=n.Flags==16||n.Flags==4||n.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(t-e.l>>1,"utf16le"),e.l=t,n}function $0(e,r){var t={},n=e.l+r;return e.l+=4,t.Salt=e.slice(e.l,e.l+16),e.l+=16,t.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),t.VerifierHash=e.slice(e.l,n),e.l=n,t}function tC(e){if((63&e.read_shift(4))!=36)throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4);return{t:"Std",h:Tm(e,r),v:$0(e,e.length-e.l)}}function Lm(){throw new Error("File is password-protected: ECMA-376 Extensible")}function rC(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e.read_shift(e.length-e.l,"utf8"),n={};return t.replace(us,function(a){var s=ci(a);switch(au(s[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":r.forEach(function(o){n[o]=s[o]});break;case"<dataIntegrity":n.encryptedHmacKey=s.encryptedHmacKey,n.encryptedHmacValue=s.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"<keyEncryptor":n.uri=s.uri;break;case"<encryptedKey":n.encs.push(s);break;default:throw s[0]}}),n}function Nd(e){var r,t,n=0,a=Nm(e),s=a.length+1;for((r=ul(s))[0]=a.length,t=1;t!=s;++t)r[t]=a[t-1];for(t=s-1;t>=0;--t)n=((16384&n?1:0)|n<<1&32767)^r[t];return 52811^n}var Om=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],t=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(a,s){return 255&((o=a^s)/2|128*o);var o};return function(a){for(var s,o,i,c=Nm(a),u=function(f){for(var d=r[f.length-1],g=104,p=f.length-1;p>=0;--p)for(var m=f[p],v=0;v!=7;++v)64&m&&(d^=t[g]),m*=2,--g;return d}(c),l=c.length,A=ul(16),h=0;h!=16;++h)A[h]=0;for((1&l)==1&&(s=u>>8,A[l]=n(e[0],s),--l,s=255&u,o=c[c.length-1],A[l]=n(o,s));l>0;)s=u>>8,A[--l]=n(c[l],s),s=255&u,A[--l]=n(c[l],s);for(l=15,i=15-c.length;i>0;)s=u>>8,A[l]=n(e[i],s),--i,s=255&u,A[--l]=n(c[l],s),--l,--i;return A}}(),nC=function(e){var r=0,t=Om(e);return function(n){var a=function(s,o,i,c,u){var l,A;for(u||(u=o),c||(c=Om(s)),l=0;l!=o.length;++l)A=o[l],A=255&((A^=c[i])>>5|A<<3),u[l]=A,++i;return[u,i,c]}("",n,r,t);return r=a[1],a[0]}};function iC(e,r,t){var n=t||{};return n.Info=e.read_shift(2),e.l-=2,n.Info===1?n.Data=function(a){var s={},o=s.EncryptionVersionInfo=Pu(a,4);if(o.Major!=1||o.Minor!=1)throw"unrecognized version code "+o.Major+" : "+o.Minor;return s.Salt=a.read_shift(16),s.EncryptedVerifier=a.read_shift(16),s.EncryptedVerifierHash=a.read_shift(16),s}(e):n.Data=function(a,s){var o={},i=o.EncryptionVersionInfo=Pu(a,4);if(s-=4,i.Minor!=2)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);o.Flags=a.read_shift(4),s-=4;var c=a.read_shift(4);return s-=4,o.EncryptionHeader=Tm(a,c),s-=c,o.EncryptionVerifier=$0(a,s),o}(e,r),n}var uf=function(){function e(t,n){switch(n.type){case"base64":return r($s(t),n);case"binary":return r(t,n);case"buffer":return r(wi&&Buffer.isBuffer(t)?t.toString("binary"):Du(t),n);case"array":return r(Jl(t),n)}throw new Error("Unrecognized type "+n.type)}function r(t,n){var a=(n||{}).dense?[]:{},s=t.match(/\\trowd.*?\\row\b/g);if(!s.length)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:s.length-1}};return s.forEach(function(i,c){Array.isArray(a)&&(a[c]=[]);for(var u,l=/\\\w+\b/g,A=0,h=-1;u=l.exec(i);){if(u[0]==="\\cell"){var f=i.slice(A,l.lastIndex-u[0].length);if(f[0]==" "&&(f=f.slice(1)),++h,f.length){var d={v:f,t:"s"};Array.isArray(a)?a[c][h]=d:a[In({r:c,c:h})]=d}}A=l.lastIndex}h>o.e.c&&(o.e.c=h)}),a["!ref"]=_i(o),a}return{to_workbook:function(t,n){return Kl(e(t,n),n)},to_sheet:e,from_sheet:function(t){for(var n,a=["{\\rtf1\\ansi"],s=ea(t["!ref"]),o=Array.isArray(t),i=s.s.r;i<=s.e.r;++i){a.push("\\trowd\\trautofit1");for(var c=s.s.c;c<=s.e.c;++c)a.push("\\cellx"+(c+1));for(a.push("\\pard\\intbl"),c=s.s.c;c<=s.e.c;++c){var u=In({r:i,c});(n=o?(t[i]||[])[c]:t[u])&&(n.v!=null||n.f&&!n.F)&&(a.push(" "+(n.w||(ll(n),n.w))),a.push("\\cell"))}a.push("\\pard\\intbl\\row")}return a.join("")+"}"}}}();function lf(e){for(var r=0,t=1;r!=3;++r)t=256*t+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}function Md(e,r){if(r===0)return e;var t,n,a=function(s){var o=s[0]/255,i=s[1]/255,c=s[2]/255,u=Math.max(o,i,c),l=Math.min(o,i,c),A=u-l;if(A===0)return[0,0,o];var h,f=0,d=u+l;switch(h=A/(d>1?2-d:d),u){case o:f=((i-c)/A+6)%6;break;case i:f=(c-o)/A+2;break;case c:f=(o-i)/A+4}return[f/6,h,d/2]}((n=(t=e).slice(t[0]==="#"?1:0).slice(0,6),[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16)]));return a[2]=r<0?a[2]*(1+r):1-(1-a[2])*(1-r),lf(function(s){var o,i=s[0],c=s[1],u=s[2],l=2*c*(u<.5?u:1-u),A=u-l/2,h=[A,A,A],f=6*i;if(c!==0)switch(0|f){case 0:case 6:o=l*f,h[0]+=l,h[1]+=o;break;case 1:o=l*(2-f),h[0]+=o,h[1]+=l;break;case 2:o=l*(f-2),h[1]+=l,h[2]+=o;break;case 3:o=l*(4-f),h[1]+=o,h[2]+=l;break;case 4:o=l*(f-4),h[2]+=l,h[0]+=o;break;case 5:o=l*(6-f),h[2]+=o,h[0]+=l}for(var d=0;d!=3;++d)h[d]=Math.round(255*h[d]);return h}(a))}var Pm=6,aC=15,oC=1,ds=Pm;function Af(e){return Math.floor((e+Math.round(128/ds)/256)*ds)}function rh(e){return Math.floor((e-5)/ds*100+.5)/100}function Td(e){return Math.round((e*ds+5)/ds*256)/256}function ep(e){return Td(rh(Af(e)))}function Ld(e){var r=Math.abs(e-ep(e)),t=ds;if(r>.005)for(ds=oC;ds<aC;++ds)Math.abs(e-ep(e))<=r&&(r=Math.abs(e-ep(e)),t=ds);ds=t}function dl(e){e.width?(e.wpx=Af(e.width),e.wch=rh(e.wpx),e.MDW=ds):e.wpx?(e.wch=rh(e.wpx),e.width=Td(e.wch),e.MDW=ds):typeof e.wch=="number"&&(e.width=Td(e.wch),e.wpx=Af(e.width),e.MDW=ds),e.customWidth&&delete e.customWidth}var Gm=96;function hf(e){return 96*e/Gm}function gl(e){return e*Gm/96}var sC={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"},Od=["numFmtId","fillId","fontId","borderId","xfId"],Pd=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"],Gd=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(s,o,i){var c,u={};return s&&((c=(s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(l,A,h){A.NumberFmt=[];for(var f=za(ai),d=0;d<f.length;++d)A.NumberFmt[f[d]]=ai[f[d]];var g=l[0].match(us);if(g)for(d=0;d<g.length;++d){var p=ci(g[d]);switch(au(p[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var m=Mi(ua(p.formatCode)),v=parseInt(p.numFmtId,10);if(A.NumberFmt[v]=m,v>0){if(v>392){for(v=392;v>60&&A.NumberFmt[v]!=null;--v);A.NumberFmt[v]=m}Fu(m,v)}break;default:if(h.WTF)throw new Error("unrecognized "+p[0]+" in numFmts")}}}(c,u,i),(c=s.match(n))&&function(l,A,h,f){A.Fonts=[];var d={},g=!1;(l[0].match(us)||[]).forEach(function(p){var m=ci(p);switch(au(m[0])){case"<fonts":case"<fonts>":case"</fonts>":case"<font":case"<font>":case"<name/>":case"</name>":case"<sz/>":case"</sz>":case"<vertAlign/>":case"</vertAlign>":case"<family/>":case"</family>":case"<scheme/>":case"</scheme>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":A.Fonts.push(d),d={};break;case"<name":m.val&&(d.name=ua(m.val));break;case"<b":d.bold=m.val?Fa(m.val):1;break;case"<b/>":d.bold=1;break;case"<i":d.italic=m.val?Fa(m.val):1;break;case"<i/>":d.italic=1;break;case"<u":switch(m.val){case"none":d.underline=0;break;case"single":d.underline=1;break;case"double":d.underline=2;break;case"singleAccounting":d.underline=33;break;case"doubleAccounting":d.underline=34}break;case"<u/>":d.underline=1;break;case"<strike":d.strike=m.val?Fa(m.val):1;break;case"<strike/>":d.strike=1;break;case"<outline":d.outline=m.val?Fa(m.val):1;break;case"<outline/>":d.outline=1;break;case"<shadow":d.shadow=m.val?Fa(m.val):1;break;case"<shadow/>":d.shadow=1;break;case"<condense":d.condense=m.val?Fa(m.val):1;break;case"<condense/>":d.condense=1;break;case"<extend":d.extend=m.val?Fa(m.val):1;break;case"<extend/>":d.extend=1;break;case"<sz":m.val&&(d.sz=+m.val);break;case"<vertAlign":m.val&&(d.vertAlign=m.val);break;case"<family":m.val&&(d.family=parseInt(m.val,10));break;case"<scheme":m.val&&(d.scheme=m.val);break;case"<charset":if(m.val=="1")break;m.codepage=s0[parseInt(m.val,10)];break;case"<color":if(d.color||(d.color={}),m.auto&&(d.color.auto=Fa(m.auto)),m.rgb)d.color.rgb=m.rgb.slice(-6);else if(m.indexed){d.color.index=parseInt(m.indexed,10);var v=VA[d.color.index];d.color.index==81&&(v=VA[1]),v||(v=VA[1]),d.color.rgb=v[0].toString(16)+v[1].toString(16)+v[2].toString(16)}else m.theme&&(d.color.theme=parseInt(m.theme,10),m.tint&&(d.color.tint=parseFloat(m.tint)),m.theme&&h.themeElements&&h.themeElements.clrScheme&&(d.color.rgb=Md(h.themeElements.clrScheme[d.color.theme].rgb,d.color.tint||0)));break;case"<AlternateContent":case"<ext":g=!0;break;case"</AlternateContent>":case"</ext>":g=!1;break;default:if(f&&f.WTF&&!g)throw new Error("unrecognized "+m[0]+" in fonts")}})}(c,u,o,i),(c=s.match(t))&&function(l,A,h,f){A.Fills=[];var d={},g=!1;(l[0].match(us)||[]).forEach(function(p){var m=ci(p);switch(au(m[0])){case"<fills":case"<fills>":case"</fills>":case"</fill>":case"<gradientFill>":case"<patternFill/>":case"</patternFill>":case"<bgColor/>":case"</bgColor>":case"<fgColor/>":case"</fgColor>":case"<stop":case"<stop/>":case"</stop>":case"<color":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":d={},A.Fills.push(d);break;case"<gradientFill":case"</gradientFill>":A.Fills.push(d),d={};break;case"<patternFill":case"<patternFill>":m.patternType&&(d.patternType=m.patternType);break;case"<bgColor":d.bgColor||(d.bgColor={}),m.indexed&&(d.bgColor.indexed=parseInt(m.indexed,10)),m.theme&&(d.bgColor.theme=parseInt(m.theme,10)),m.tint&&(d.bgColor.tint=parseFloat(m.tint)),m.rgb&&(d.bgColor.rgb=m.rgb.slice(-6));break;case"<fgColor":d.fgColor||(d.fgColor={}),m.theme&&(d.fgColor.theme=parseInt(m.theme,10)),m.tint&&(d.fgColor.tint=parseFloat(m.tint)),m.rgb!=null&&(d.fgColor.rgb=m.rgb.slice(-6));break;case"<ext":g=!0;break;case"</ext>":g=!1;break;default:if(f&&f.WTF&&!g)throw new Error("unrecognized "+m[0]+" in fills")}})}(c,u,0,i),(c=s.match(a))&&function(l,A,h,f){A.Borders=[];var d={},g=!1;(l[0].match(us)||[]).forEach(function(p){var m=ci(p);switch(au(m[0])){case"<borders":case"<borders>":case"</borders>":case"</border>":case"<left/>":case"<left":case"<left>":case"</left>":case"<right/>":case"<right":case"<right>":case"</right>":case"<top/>":case"<top":case"<top>":case"</top>":case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>":case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":case"<start":case"<start>":case"<start/>":case"</start>":case"<end":case"<end>":case"<end/>":case"</end>":case"<color":case"<color>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":d={},m.diagonalUp&&(d.diagonalUp=Fa(m.diagonalUp)),m.diagonalDown&&(d.diagonalDown=Fa(m.diagonalDown)),A.Borders.push(d);break;case"<ext":g=!0;break;case"</ext>":g=!1;break;default:if(f&&f.WTF&&!g)throw new Error("unrecognized "+m[0]+" in borders")}})}(c,u,0,i),(c=s.match(r))&&function(l,A,h){var f;A.CellXf=[];var d=!1;(l[0].match(us)||[]).forEach(function(g){var p=ci(g),m=0;switch(au(p[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":case"</xf>":case"</alignment>":case"<protection":case"</protection>":case"<protection/>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(f=p)[0],m=0;m<Od.length;++m)f[Od[m]]&&(f[Od[m]]=parseInt(f[Od[m]],10));for(m=0;m<Pd.length;++m)f[Pd[m]]&&(f[Pd[m]]=Fa(f[Pd[m]]));if(A.NumberFmt&&f.numFmtId>392){for(m=392;m>60;--m)if(A.NumberFmt[f.numFmtId]==A.NumberFmt[m]){f.numFmtId=m;break}}A.CellXf.push(f);break;case"<alignment":case"<alignment/>":var v={};p.vertical&&(v.vertical=p.vertical),p.horizontal&&(v.horizontal=p.horizontal),p.textRotation!=null&&(v.textRotation=p.textRotation),p.indent&&(v.indent=p.indent),p.wrapText&&(v.wrapText=Fa(p.wrapText)),f.alignment=v;break;case"<AlternateContent":case"<ext":d=!0;break;case"</AlternateContent>":case"</ext>":d=!1;break;default:if(h&&h.WTF&&!d)throw new Error("unrecognized "+p[0]+" in cellXfs")}})}(c,u,i)),u}}();function Ud(e,r){var t,n=[fo,Zr("styleSheet",null,{xmlns:ql[0],"xmlns:vt":_o.vt})];return e.SSF&&(t=function(a){var s=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(o){for(var i=o[0];i<=o[1];++i)a[i]!=null&&(s[s.length]=Zr("numFmt",null,{numFmtId:i,formatCode:ca(a[i])}))}),s.length===1?"":(s[s.length]="</numFmts>",s[0]=Zr("numFmts",null,{count:s.length-2}).replace("/>",">"),s.join(""))}(e.SSF))!=null&&(n[n.length]=t),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(t=function(a){var s=[];return s[s.length]=Zr("cellXfs",null),a.forEach(function(o){s[s.length]=Zr("xf",null,o)}),s[s.length]="</cellXfs>",s.length===2?"":(s[0]=Zr("cellXfs",null,{count:s.length-2}).replace("/>",">"),s.join(""))}(r.cellXfs))&&(n[n.length]=t),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function cC(e,r,t){t||(t=Kt(6+4*r.length)),t.write_shift(2,e),Yo(r,t);var n=t.length>t.l?t.slice(0,t.l):t;return t.l==null&&(t.l=t.length),n}function uC(e,r){r||(r=Kt(153)),r.write_shift(2,20*e.sz),function(a,s){s||(s=Kt(2));var o=(a.italic?2:0)|(a.strike?8:0)|(a.outline?16:0)|(a.shadow?32:0)|(a.condense?64:0)|(a.extend?128:0);s.write_shift(1,o),s.write_shift(1,0)}(e,r),r.write_shift(2,e.bold?700:400);var t=0;e.vertAlign=="superscript"?t=1:e.vertAlign=="subscript"&&(t=2),r.write_shift(2,t),r.write_shift(1,e.underline||0),r.write_shift(1,e.family||0),r.write_shift(1,e.charset||0),r.write_shift(1,0),nf(e.color,r);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),r.write_shift(1,n),Yo(e.name,r),r.length>r.l?r.slice(0,r.l):r}var jd,lC=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],AC=ls;function tp(e,r){r||(r=Kt(84)),jd||(jd=bd(lC));var t=jd[e.patternType];t==null&&(t=40),r.write_shift(4,t);var n=0;if(t!=40)for(nf({auto:1},r),nf({auto:1},r);n<12;++n)r.write_shift(4,0);else{for(;n<4;++n)r.write_shift(4,0);for(;n<12;++n)r.write_shift(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Um(e,r,t){return t||(t=Kt(16)),t.write_shift(2,r||0),t.write_shift(2,e.numFmtId||0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(1,0),t}function ff(e,r){return r||(r=Kt(10)),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(4,0),r}var jm=ls;function hC(e){var r;wr(e,613,Pc(1)),wr(e,46,(r||(r=Kt(51)),r.write_shift(1,0),ff(0,r),ff(0,r),ff(0,r),ff(0,r),ff(0,r),r.length>r.l?r.slice(0,r.l):r)),wr(e,614)}function fC(e){var r,t;wr(e,619,Pc(1)),wr(e,48,(r={xfId:0,builtinId:0,name:"Normal"},t||(t=Kt(52)),t.write_shift(4,r.xfId),t.write_shift(2,1),t.write_shift(1,+r.builtinId),t.write_shift(1,0),kd(r.name||"",t),t.length>t.l?t.slice(0,t.l):t)),wr(e,620)}function dC(e){wr(e,508,function(r,t,n){var a=Kt(2052);return a.write_shift(4,r),kd(t,a),kd(n,a),a.length>a.l?a.slice(0,a.l):a}(0,"TableStyleMedium9","PivotStyleMedium4")),wr(e,509)}function gC(e,r){var t=Os();return wr(t,278),function(n,a){if(a){var s=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(o){for(var i=o[0];i<=o[1];++i)a[i]!=null&&++s}),s!=0&&(wr(n,615,Pc(s)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(o){for(var i=o[0];i<=o[1];++i)a[i]!=null&&wr(n,44,cC(i,a[i]))}),wr(n,616))}}(t,e.SSF),function(n){wr(n,611,Pc(1)),wr(n,43,uC({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),wr(n,612)}(t),function(n){wr(n,603,Pc(2)),wr(n,45,tp({patternType:"none"})),wr(n,45,tp({patternType:"gray125"})),wr(n,604)}(t),hC(t),function(n){wr(n,626,Pc(1)),wr(n,47,Um({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),wr(n,627)}(t),function(n,a){wr(n,617,Pc(a.length)),a.forEach(function(s){wr(n,47,Um(s,0))}),wr(n,618)}(t,r.cellXfs),fC(t),function(n){wr(n,505,Pc(0)),wr(n,506)}(t),dC(t),wr(t,279),t.end()}var pC=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function vC(e,r,t){r.themeElements.clrScheme=[];var n={};(e[0].match(us)||[]).forEach(function(a){var s=ci(a);switch(s[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=s.val;break;case"<a:sysClr":n.rgb=s.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":s[0].charAt(1)==="/"?(r.themeElements.clrScheme[pC.indexOf(s[0])]=n,n={}):n.name=s[0].slice(3,s[0].length-1);break;default:if(t&&t.WTF)throw new Error("Unrecognized "+s[0]+" in clrScheme")}})}function Hd(){}function Hm(){}var mC=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,yC=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,IC=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/,bC=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Ym(e,r){var t;e&&e.length!==0||(e=rp());var n={};if(!(t=e.match(bC)))throw new Error("themeElements not found in theme");return function(a,s,o){var i;s.themeElements={},[["clrScheme",mC,vC],["fontScheme",yC,Hd],["fmtScheme",IC,Hm]].forEach(function(c){if(!(i=a.match(c[1])))throw new Error(c[0]+" not found in themeElements");c[2](i,s,o)})}(t[0],n,r),n.raw=e,n}function rp(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[fo];return t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',t[t.length]="<a:themeElements>",t[t.length]='<a:clrScheme name="Office">',t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',t[t.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',t[t.length]="</a:clrScheme>",t[t.length]='<a:fontScheme name="Office">',t[t.length]="<a:majorFont>",t[t.length]='<a:latin typeface="Cambria"/>',t[t.length]='<a:ea typeface=""/>',t[t.length]='<a:cs typeface=""/>',t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>',t[t.length]='<a:font script="Hans" typeface="宋体"/>',t[t.length]='<a:font script="Hant" typeface="新細明體"/>',t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>',t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>',t[t.length]='<a:font script="Thai" typeface="Tahoma"/>',t[t.length]='<a:font script="Ethi" typeface="Nyala"/>',t[t.length]='<a:font script="Beng" typeface="Vrinda"/>',t[t.length]='<a:font script="Gujr" typeface="Shruti"/>',t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>',t[t.length]='<a:font script="Knda" typeface="Tunga"/>',t[t.length]='<a:font script="Guru" typeface="Raavi"/>',t[t.length]='<a:font script="Cans" typeface="Euphemia"/>',t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>',t[t.length]='<a:font script="Deva" typeface="Mangal"/>',t[t.length]='<a:font script="Telu" typeface="Gautami"/>',t[t.length]='<a:font script="Taml" typeface="Latha"/>',t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',t[t.length]='<a:font script="Orya" typeface="Kalinga"/>',t[t.length]='<a:font script="Mlym" typeface="Kartika"/>',t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>',t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>',t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>',t[t.length]="</a:majorFont>",t[t.length]="<a:minorFont>",t[t.length]='<a:latin typeface="Calibri"/>',t[t.length]='<a:ea typeface=""/>',t[t.length]='<a:cs typeface=""/>',t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>',t[t.length]='<a:font script="Hans" typeface="宋体"/>',t[t.length]='<a:font script="Hant" typeface="新細明體"/>',t[t.length]='<a:font script="Arab" typeface="Arial"/>',t[t.length]='<a:font script="Hebr" typeface="Arial"/>',t[t.length]='<a:font script="Thai" typeface="Tahoma"/>',t[t.length]='<a:font script="Ethi" typeface="Nyala"/>',t[t.length]='<a:font script="Beng" typeface="Vrinda"/>',t[t.length]='<a:font script="Gujr" typeface="Shruti"/>',t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>',t[t.length]='<a:font script="Knda" typeface="Tunga"/>',t[t.length]='<a:font script="Guru" typeface="Raavi"/>',t[t.length]='<a:font script="Cans" typeface="Euphemia"/>',t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>',t[t.length]='<a:font script="Deva" typeface="Mangal"/>',t[t.length]='<a:font script="Telu" typeface="Gautami"/>',t[t.length]='<a:font script="Taml" typeface="Latha"/>',t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',t[t.length]='<a:font script="Orya" typeface="Kalinga"/>',t[t.length]='<a:font script="Mlym" typeface="Kartika"/>',t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>',t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',t[t.length]='<a:font script="Viet" typeface="Arial"/>',t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>',t[t.length]="</a:minorFont>",t[t.length]="</a:fontScheme>",t[t.length]='<a:fmtScheme name="Office">',t[t.length]="<a:fillStyleLst>",t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>",t[t.length]='<a:lin ang="16200000" scaled="1"/>',t[t.length]="</a:gradFill>",t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>",t[t.length]='<a:lin ang="16200000" scaled="0"/>',t[t.length]="</a:gradFill>",t[t.length]="</a:fillStyleLst>",t[t.length]="<a:lnStyleLst>",t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',t[t.length]="</a:lnStyleLst>",t[t.length]="<a:effectStyleLst>",t[t.length]="<a:effectStyle>",t[t.length]="<a:effectLst>",t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',t[t.length]="</a:effectLst>",t[t.length]="</a:effectStyle>",t[t.length]="<a:effectStyle>",t[t.length]="<a:effectLst>",t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',t[t.length]="</a:effectLst>",t[t.length]="</a:effectStyle>",t[t.length]="<a:effectStyle>",t[t.length]="<a:effectLst>",t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',t[t.length]="</a:effectLst>",t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',t[t.length]="</a:effectStyle>",t[t.length]="</a:effectStyleLst>",t[t.length]="<a:bgFillStyleLst>",t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>",t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',t[t.length]="</a:gradFill>",t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>",t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',t[t.length]="</a:gradFill>",t[t.length]="</a:bgFillStyleLst>",t[t.length]="</a:fmtScheme>",t[t.length]="</a:themeElements>",t[t.length]="<a:objectDefaults>",t[t.length]="<a:spDef>",t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',t[t.length]="</a:spDef>",t[t.length]="<a:lnDef>",t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',t[t.length]="</a:lnDef>",t[t.length]="</a:objectDefaults>",t[t.length]="<a:extraClrSchemeLst/>",t[t.length]="</a:theme>",t.join("")}function Jm(e){var r={};switch(r.xclrType=e.read_shift(2),r.nTintShade=e.read_shift(2),r.xclrType){case 0:case 4:e.l+=4;break;case 1:r.xclrValue=function(t,n){return ls(t,n)}(e,4);break;case 2:r.xclrValue=vm(e);break;case 3:r.xclrValue=function(t){return t.read_shift(4)}(e)}return e.l+=8,r}function CC(e){var r=e.read_shift(2),t=e.read_shift(2)-4,n=[r];switch(r){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=Jm(e);break;case 6:n[1]=function(a,s){return ls(a,s)}(e,t);break;case 14:case 15:n[1]=e.read_shift(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t)}return n}function EC(){var e,r,t=Os();return wr(t,332),wr(t,334,Pc(1)),wr(t,335,((r=Kt(12+2*(e={name:"XLDAPR",version:12e4,flags:3496657072}).name.length)).write_shift(4,e.flags),r.write_shift(4,e.version),Yo(e.name,r),r.slice(0,r.l))),wr(t,336),wr(t,339,function(n,a){var s=Kt(8+2*a.length);return s.write_shift(4,n),Yo(a,s),s.slice(0,s.l)}(1,"XLDAPR")),wr(t,52),wr(t,35,Pc(514)),wr(t,4096,Pc(0)),wr(t,4097,mc(1)),wr(t,36),wr(t,53),wr(t,340),wr(t,337,function(n,a){var s=Kt(8);return s.write_shift(4,n),s.write_shift(4,a?1:0),s}(1,!0)),wr(t,51,function(n){var a=Kt(4+8*n.length);a.write_shift(4,n.length);for(var s=0;s<n.length;++s)a.write_shift(4,n[s][0]),a.write_shift(4,n[s][1]);return a}([[1,0]])),wr(t,338),wr(t,333),t.end()}function qm(){var e=[fo];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
  186. <metadataTypes count="1">
  187. <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
  188. </metadataTypes>
  189. <futureMetadata name="XLDAPR" count="1">
  190. <bk>
  191. <extLst>
  192. <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
  193. <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
  194. </ext>
  195. </extLst>
  196. </bk>
  197. </futureMetadata>
  198. <cellMetadata count="1">
  199. <bk>
  200. <rc t="1" v="0"/>
  201. </bk>
  202. </cellMetadata>
  203. </metadata>`),e.join("")}var nh=1024;function Wm(e,r){for(var t=[21600,21600],n=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(","),a=[Zr("xml",null,{"xmlns:v":nc.v,"xmlns:o":nc.o,"xmlns:x":nc.x,"xmlns:mv":nc.mv}).replace(/\/>/,">"),Zr("o:shapelayout",Zr("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Zr("v:shapetype",[Zr("v:stroke",null,{joinstyle:"miter"}),Zr("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:n})];nh<1e3*e;)nh+=1e3;return r.forEach(function(s){var o=Do(s[0]),i={color2:"#BEFF82",type:"gradient"};i.type=="gradient"&&(i.angle="-180");var c=i.type=="gradient"?Zr("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,u=Zr("v:fill",c,i);++nh,a=a.concat(["<v:shape"+Xh({id:"_x0000_s"+nh,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(s[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",u,Zr("v:shadow",null,{on:"t",obscured:"t"}),Zr("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Xo("x:Anchor",[o.c+1,0,o.r+1,0,o.c+3,20,o.r+5,20].join(",")),Xo("x:AutoFill","False"),Xo("x:Row",String(o.r)),Xo("x:Column",String(o.c)),s[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function Km(e,r,t,n){var a,s=Array.isArray(e);r.forEach(function(o){var i=Do(o.ref);if(s?(e[i.r]||(e[i.r]=[]),a=e[i.r][i.c]):a=e[o.ref],!a){a={t:"z"},s?e[i.r][i.c]=a:e[o.ref]=a;var c=ea(e["!ref"]||"BDWGO1000001:A1");c.s.r>i.r&&(c.s.r=i.r),c.e.r<i.r&&(c.e.r=i.r),c.s.c>i.c&&(c.s.c=i.c),c.e.c<i.c&&(c.e.c=i.c);var u=_i(c);u!==e["!ref"]&&(e["!ref"]=u)}a.c||(a.c=[]);var l={a:o.author,t:o.t,r:o.r,T:t};o.h&&(l.h=o.h);for(var A=a.c.length-1;A>=0;--A){if(!t&&a.c[A].T)return;t&&!a.c[A].T&&a.c.splice(A,1)}if(t&&n){for(A=0;A<n.length;++A)if(l.a==n[A].id){l.a=n[A].name||l.a;break}}a.c.push(l)})}function df(e){var r=[fo,Zr("comments",null,{xmlns:ql[0]})],t=[];return r.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var s=ca(a.a);t.indexOf(s)==-1&&(t.push(s),r.push("<author>"+s+"</author>")),a.T&&a.ID&&t.indexOf("tc="+a.ID)==-1&&(t.push("tc="+a.ID),r.push("<author>tc="+a.ID+"</author>"))})}),t.length==0&&(t.push("SheetJ5"),r.push("<author>SheetJ5</author>")),r.push("</authors>"),r.push("<commentList>"),e.forEach(function(n){var a=0,s=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=t.indexOf("tc="+n[1][0].ID):n[1].forEach(function(c){c.a&&(a=t.indexOf(ca(c.a))),s.push(c.t||"")}),r.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),s.length<=1)r.push(Xo("t",ca(s[0]||"")));else{for(var o=`Comment:
  204. `+s[0]+`
  205. `,i=1;i<s.length;++i)o+=`Reply:
  206. `+s[i]+`
  207. `;r.push(Xo("t",ca(o)))}r.push("</text></comment>")}),r.push("</commentList>"),r.length>2&&(r[r.length]="</comments>",r[1]=r[1].replace("/>",">")),r.join("")}function wC(e,r,t){var n=[fo,Zr("ThreadedComments",null,{xmlns:_o.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var s="";(a[1]||[]).forEach(function(o,i){if(o.T){o.a&&r.indexOf(o.a)==-1&&r.push(o.a);var c={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};i==0?s=c.id:c.parentId=s,o.ID=c.id,o.a&&(c.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(o.a)).slice(-12)+"}"),n.push(Zr("threadedComment",Xo("text",o.t||""),c))}else delete o.ID})}),n.push("</ThreadedComments>"),n.join("")}var BC=As;function QC(e){var r=Os(),t=[];return wr(r,628),wr(r,630),e.forEach(function(n){n[1].forEach(function(a){t.indexOf(a.a)>-1||(t.push(a.a.slice(0,54)),wr(r,632,function(s){return Yo(s.slice(0,54))}(a.a)))})}),wr(r,631),wr(r,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=t.indexOf(a.a);var s={s:Do(n[0]),e:Do(n[0])};wr(r,635,function(o,i){return i==null&&(i=Kt(36)),i.write_shift(4,o[1].iauthor),zA(o[0],i),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i}([s,a])),a.t&&a.t.length>0&&wr(r,637,jv(a)),wr(r,636),delete a.iauthor})}),wr(r,634),wr(r,629),r.end()}var kC="application/vnd.ms-office.vbaProject",zm=["xlsb","xlsm","xlam","biff8","xla"],ih=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,r={r:0,c:0};function t(n,a,s,o){var i=!1,c=!1;s.length==0?c=!0:s.charAt(0)=="["&&(c=!0,s=s.slice(1,-1)),o.length==0?i=!0:o.charAt(0)=="["&&(i=!0,o=o.slice(1,-1));var u=s.length>0?0|parseInt(s,10):0,l=o.length>0?0|parseInt(o,10):0;return i?l+=r.c:--l,c?u+=r.r:--u,a+(i?"":"$")+Eo(l)+(c?"":"$")+Ho(u)}return function(n,a){return r=a,n.replace(e,t)}}(),np=/(^|[^._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,ip=function(){return function(e,r){return e.replace(np,function(t,n,a,s,o,i){var c=Uv(s)-(a?0:r.c),u=Gv(i)-(o?0:r.r);return n+"R"+(u==0?"":o?u+1:"["+u+"]")+"C"+(c==0?"":a?c+1:"["+c+"]")})}}();function Vm(e,r){return e.replace(np,function(t,n,a,s,o,i){return n+(a=="$"?a+s:Eo(Uv(s)+r.c))+(o=="$"?o+i:Ho(Gv(i)+r.r))})}function xC(e,r,t){var n=Es(r).s,a=Do(t);return Vm(e,{r:a.r-n.r,c:a.c-n.c})}function ap(e){return e.replace(/_xlfn\./g,"")}function Bo(e){e.l+=1}function pl(e,r){var t=e.read_shift(r==1?1:2);return[16383&t,t>>14&1,t>>15&1]}function Zm(e,r,t){var n=2;if(t){if(t.biff>=2&&t.biff<=5)return Xm(e);t.biff==12&&(n=4)}var a=e.read_shift(n),s=e.read_shift(n),o=pl(e,2),i=pl(e,2);return{s:{r:a,c:o[0],cRel:o[1],rRel:o[2]},e:{r:s,c:i[0],cRel:i[1],rRel:i[2]}}}function Xm(e){var r=pl(e,2),t=pl(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:r[0],c:n,cRel:r[1],rRel:r[2]},e:{r:t[0],c:a,cRel:t[1],rRel:t[2]}}}function $m(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return function(s){var o=pl(s,2),i=s.read_shift(1);return{r:o[0],c:i,cRel:o[1],rRel:o[2]}}(e);var n=e.read_shift(t&&t.biff==12?4:2),a=pl(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function SC(e){var r=e.read_shift(2),t=e.read_shift(2);return{r,c:255&t,fQuoted:!!(16384&t),cRel:t>>15,rRel:t>>15}}function ey(e){var r=1&e[e.l+1];return e.l+=4,[r,1]}function ty(e){return[e.read_shift(1),e.read_shift(1)]}function _C(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2}switch(t[0]){case 4:t[1]=go(e,1)?"TRUE":"FALSE",r!=12&&(e.l+=7);break;case 37:case 16:t[1]=Lu[e[e.l]],e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=hs(e);break;case 2:t[1]=tA(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0])}return t}function DC(e,r,t){for(var n=e.read_shift(t.biff==12?4:2),a=[],s=0;s!=n;++s)a.push((t.biff==12?Vl:_d)(e));return a}function RC(e,r,t){var n=0,a=0;t.biff==12?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),t.biff>=2&&t.biff<8&&(--n,--a==0&&(a=256));for(var s=0,o=[];s!=n&&(o[s]=[]);++s)for(var i=0;i!=a;++i)o[s][i]=_C(e,t.biff);return o}function gf(e,r,t){return e.l+=2,[SC(e)]}function op(e){return e.l+=6,[]}function ry(e){return e.l+=2,[wo(e),1&e.read_shift(2)]}var FC=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],ny={1:{n:"PtgExp",f:function(e,r,t){return e.l++,t&&t.biff==12?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(t&&t.biff==2?1:2)]}},2:{n:"PtgTbl",f:ls},3:{n:"PtgAdd",f:Bo},4:{n:"PtgSub",f:Bo},5:{n:"PtgMul",f:Bo},6:{n:"PtgDiv",f:Bo},7:{n:"PtgPower",f:Bo},8:{n:"PtgConcat",f:Bo},9:{n:"PtgLt",f:Bo},10:{n:"PtgLe",f:Bo},11:{n:"PtgEq",f:Bo},12:{n:"PtgGe",f:Bo},13:{n:"PtgGt",f:Bo},14:{n:"PtgNe",f:Bo},15:{n:"PtgIsect",f:Bo},16:{n:"PtgUnion",f:Bo},17:{n:"PtgRange",f:Bo},18:{n:"PtgUplus",f:Bo},19:{n:"PtgUminus",f:Bo},20:{n:"PtgPercent",f:Bo},21:{n:"PtgParen",f:Bo},22:{n:"PtgMissArg",f:Bo},23:{n:"PtgStr",f:function(e,r,t){return e.l++,$A(e,0,t)}},26:{n:"PtgSheet",f:function(e,r,t){return e.l+=5,e.l+=2,e.l+=t.biff==2?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,r,t){return e.l+=t.biff==2?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,Lu[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,e.read_shift(1)!==0}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,hs(e)}},32:{n:"PtgArray",f:function(e,r,t){var n=(96&e[e.l++])>>5;return e.l+=t.biff==2?6:t.biff==12?14:7,[n]}},33:{n:"PtgFunc",f:function(e,r,t){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(t&&t.biff<=3?1:2);return[qC[a],oy[a],n]}},34:{n:"PtgFuncVar",f:function(e,r,t){var n=e[e.l++],a=e.read_shift(1),s=t&&t.biff<=3?[n==88?-1:0,e.read_shift(1)]:function(o){return[o[o.l+1]>>7,32767&o.read_shift(2)]}(e);return[a,(s[0]===0?oy:JC)[s[1]]]}},35:{n:"PtgName",f:function(e,r,t){var n=e.read_shift(1)>>>5&3,a=!t||t.biff>=8?4:2,s=e.read_shift(a);switch(t.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,s]}},36:{n:"PtgRef",f:function(e,r,t){var n=(96&e[e.l])>>5;return e.l+=1,[n,$m(e,0,t)]}},37:{n:"PtgArea",f:function(e,r,t){return[(96&e[e.l++])>>5,Zm(e,t.biff>=2&&t.biff,t)]}},38:{n:"PtgMemArea",f:function(e,r,t){var n=e.read_shift(1)>>>5&3;return e.l+=t&&t.biff==2?3:4,[n,e.read_shift(t&&t.biff==2?1:2)]}},39:{n:"PtgMemErr",f:ls},40:{n:"PtgMemNoMem",f:ls},41:{n:"PtgMemFunc",f:function(e,r,t){return[e.read_shift(1)>>>5&3,e.read_shift(t&&t.biff==2?1:2)]}},42:{n:"PtgRefErr",f:function(e,r,t){var n=e.read_shift(1)>>>5&3;return e.l+=4,t.biff<8&&e.l--,t.biff==12&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,r,t){var n=(96&e[e.l++])>>5;return e.l+=t&&t.biff>8?12:t.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,r,t){var n=(96&e[e.l])>>5;e.l+=1;var a=function(s,o,i){var c=i&&i.biff?i.biff:8;if(c>=2&&c<=5)return function(f){var d=f.read_shift(2),g=f.read_shift(1),p=(32768&d)>>15,m=(16384&d)>>14;return d&=16383,p==1&&d>=8192&&(d-=16384),m==1&&g>=128&&(g-=256),{r:d,c:g,cRel:m,rRel:p}}(s);var u=s.read_shift(c>=12?4:2),l=s.read_shift(2),A=(16384&l)>>14,h=(32768&l)>>15;if(l&=16383,h==1)for(;u>524287;)u-=1048576;if(A==1)for(;l>8191;)l-=16384;return{r:u,c:l,cRel:A,rRel:h}}(e,0,t);return[n,a]}},45:{n:"PtgAreaN",f:function(e,r,t){var n=(96&e[e.l++])>>5,a=function(s,o,i){if(i.biff<8)return Xm(s);var c=s.read_shift(i.biff==12?4:2),u=s.read_shift(i.biff==12?4:2),l=pl(s,2),A=pl(s,2);return{s:{r:c,c:l[0],cRel:l[1],rRel:l[2]},e:{r:u,c:A[0],cRel:A[1],rRel:A[2]}}}(e,0,t);return[n,a]}},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,r,t){return t.biff==5?function(n){var a=n.read_shift(1)>>>5&3,s=n.read_shift(2,"i");n.l+=8;var o=n.read_shift(2);return n.l+=12,[a,s,o]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,r,t){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return t&&t.biff==5&&(e.l+=12),[n,a,$m(e,0,t)]}},59:{n:"PtgArea3d",f:function(e,r,t){var n=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(t)switch(t.biff){case 5:e.l+=12;break}return[n,a,Zm(e,0,t)]}},60:{n:"PtgRefErr3d",f:function(e,r,t){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=4;if(t)switch(t.biff){case 5:s=15;break;case 12:s=6}return e.l+=s,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,r,t){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=8;if(t)switch(t.biff){case 5:e.l+=12,s=6;break;case 12:s=12}return e.l+=s,[n,a]}},255:{}},NC={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},MC={1:{n:"PtgElfLel",f:ry},2:{n:"PtgElfRw",f:gf},3:{n:"PtgElfCol",f:gf},6:{n:"PtgElfRwV",f:gf},7:{n:"PtgElfColV",f:gf},10:{n:"PtgElfRadical",f:gf},11:{n:"PtgElfRadicalS",f:op},13:{n:"PtgElfColS",f:op},15:{n:"PtgElfColSV",f:op},16:{n:"PtgElfRadicalLel",f:ry},25:{n:"PtgList",f:function(e){e.l+=2;var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),s=e.read_shift(2);return{ixti:r,coltype:3&t,rt:FC[t>>2&31],idx:n,c:a,C:s}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},TC={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,r,t){var n=255&e[e.l+1]?1:0;return e.l+=t&&t.biff==2?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,r,t){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,r,t){e.l+=2;for(var n=e.read_shift(t&&t.biff==2?1:2),a=[],s=0;s<=n;++s)a.push(e.read_shift(t&&t.biff==2?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,r,t){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}},16:{n:"PtgAttrSum",f:function(e,r,t){e.l+=t&&t.biff==2?3:4}},32:{n:"PtgAttrBaxcel",f:ey},33:{n:"PtgAttrBaxcel",f:ey},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),ty(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),ty(e)}},128:{n:"PtgAttrIfError",f:function(e){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(2)]}},255:{}};function pf(e,r,t,n){if(n.biff<8)return ls(e,r);for(var a=e.l+r,s=[],o=0;o!==t.length;++o)switch(t[o][0]){case"PtgArray":t[o][1]=RC(e,0,n),s.push(t[o][1]);break;case"PtgMemArea":t[o][2]=DC(e,t[o][1],n),s.push(t[o][2]);break;case"PtgExp":n&&n.biff==12&&(t[o][1][1]=e.read_shift(4),s.push(t[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+t[o][0]}return(r=a-e.l)!==0&&s.push(ls(e,r)),s}function vf(e,r,t){for(var n,a,s=e.l+r,o=[];s!=e.l;)r=s-e.l,a=e[e.l],n=ny[a]||ny[NC[a]],a!==24&&a!==25||(n=(a===24?MC:TC)[e[e.l+1]]),n&&n.f?o.push([n.n,n.f(e,r,t)]):ls(e,r);return o}function LC(e){for(var r=[],t=0;t<e.length;++t){for(var n=e[t],a=[],s=0;s<n.length;++s){var o=n[s];o?o[0]===2?a.push('"'+o[1].replace(/"/g,'""')+'"'):a.push(o[1]):a.push("")}r.push(a.join(","))}return r.join(";")}var OC={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function iy(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[r];if(t.biff<8)return r>1e4&&(r-=65536),r<0&&(r=-r),r==0?"":e.XTI[r-1];if(!n)return"SH33TJSERR1";var a="";if(t.biff>8)switch(e[n[0]][0]){case 357:return a=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return t.SID!=null?e.SheetNames[t.SID]:"SH33TJSSAME"+e[n[0]][0];default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(s){return s.Name}).join(";;");default:return e[n[0]][0][3]?(a=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function ay(e,r,t){var n=iy(e,r,t);return n=="#REF"?n:function(a,s){if(!(a||s&&s.biff<=5&&s.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(a)?"'"+a+"'":a}(n,t)}function gs(e,r,t,n,a){var s,o,i,c,u=a&&a.biff||8,l={s:{c:0,r:0},e:{c:0,r:0}},A=[],h=0,f=0,d="";if(!e[0]||!e[0][0])return"";for(var g=-1,p="",m=0,v=e[0].length;m<v;++m){var y=e[0][m];switch(y[0]){case"PtgUminus":A.push("-"+A.pop());break;case"PtgUplus":A.push("+"+A.pop());break;case"PtgPercent":A.push(A.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(s=A.pop(),o=A.pop(),g>=0){switch(e[0][g][1][0]){case 0:p=no(" ",e[0][g][1][1]);break;case 1:p=no("\r",e[0][g][1][1]);break;default:if(p="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}o+=p,g=-1}A.push(o+OC[y[0]]+s);break;case"PtgIsect":s=A.pop(),o=A.pop(),A.push(o+" "+s);break;case"PtgUnion":s=A.pop(),o=A.pop(),A.push(o+","+s);break;case"PtgRange":s=A.pop(),o=A.pop(),A.push(o+":"+s);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":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":i=tf(y[1][1],l,a),A.push(rf(i,u));break;case"PtgRefN":i=t?tf(y[1][1],t,a):y[1][1],A.push(rf(i,u));break;case"PtgRef3d":h=y[1][1],i=tf(y[1][2],l,a),d=ay(n,h,a),A.push(d+"!"+rf(i,u));break;case"PtgFunc":case"PtgFuncVar":var I=y[1][0],E=y[1][1];I||(I=0);var k=(I&=127)==0?[]:A.slice(-I);A.length-=I,E==="User"&&(E=k.shift()),A.push(E+"("+k.join(",")+")");break;case"PtgBool":A.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":A.push(y[1]);break;case"PtgNum":A.push(String(y[1]));break;case"PtgStr":A.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":c=Pv(y[1][1],t?{s:t}:l,a),A.push(k0(c,a));break;case"PtgArea":c=Pv(y[1][1],l,a),A.push(k0(c,a));break;case"PtgArea3d":h=y[1][1],c=y[1][2],d=ay(n,h,a),A.push(d+"!"+k0(c,a));break;case"PtgAttrSum":A.push("SUM("+A.pop()+")");break;case"PtgName":f=y[1][2];var R=(n.names||[])[f-1]||(n[0]||[])[f],T=R?R.Name:"SH33TJSNAME"+String(f);T&&T.slice(0,6)=="_xlfn."&&!a.xlfn&&(T=T.slice(6)),A.push(T);break;case"PtgNameX":var j,W=y[1][1];if(f=y[1][2],!(a.biff<=5)){var H="";if(((n[W]||[])[0]||[])[0]==14849||(((n[W]||[])[0]||[])[0]==1025?n[W][f]&&n[W][f].itab>0&&(H=n.SheetNames[n[W][f].itab-1]+"!"):H=n.SheetNames[f-1]+"!"),n[W]&&n[W][f])H+=n[W][f].Name;else if(n[0]&&n[0][f])H+=n[0][f].Name;else{var X=(iy(n,W,a)||"").split(";;");X[f-1]?H=X[f-1]:H+="SH33TJSERRX"}A.push(H);break}W<0&&(W=-W),n[W]&&(j=n[W][f]),j||(j={Name:"SH33TJSERRY"}),A.push(j.Name);break;case"PtgParen":var x="(",N=")";if(g>=0){switch(p="",e[0][g][1][0]){case 2:x=no(" ",e[0][g][1][1])+x;break;case 3:x=no("\r",e[0][g][1][1])+x;break;case 4:N=no(" ",e[0][g][1][1])+N;break;case 5:N=no("\r",e[0][g][1][1])+N;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}A.push(x+A.pop()+N);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":A.push("#REF!");break;case"PtgExp":i={c:y[1][1],r:y[1][0]};var C={c:t.c,r:t.r};if(n.sharedf[In(i)]){var w=n.sharedf[In(i)];A.push(gs(w,l,C,n,a))}else{var Q=!1;for(s=0;s!=n.arrayf.length;++s)if(o=n.arrayf[s],!(i.c<o[0].s.c||i.c>o[0].e.c||i.r<o[0].s.r||i.r>o[0].e.r)){A.push(gs(o[1],l,C,n,a)),Q=!0;break}Q||A.push(y[1])}break;case"PtgArray":A.push("{"+LC(y[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=m;break;case"PtgMissArg":A.push("");break;case"PtgList":A.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(a.biff!=3&&g>=0&&["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][m][0])==-1){var B=!0;switch((y=e[0][g])[1][0]){case 4:B=!1;case 0:p=no(" ",y[1][1]);break;case 5:B=!1;case 1:p=no("\r",y[1][1]);break;default:if(p="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}A.push((B?p:"")+A.pop()+(B?"":p)),g=-1}}if(A.length>1&&a.WTF)throw new Error("bad formula stack");return A[0]}function PC(e,r,t){var n,a=e.l+r,s=t.biff==2?1:2,o=e.read_shift(s);if(o==65535)return[[],ls(e,r-2)];var i=vf(e,o,t);return r!==o+s&&(n=pf(e,r-o-s,i,t)),e.l=a,[i,n]}function GC(e,r,t){var n,a=e.l+r,s=e.read_shift(2),o=vf(e,s,t);return s==65535?[[],ls(e,r-2)]:(r!==s+2&&(n=pf(e,a-s-2,o,t)),[o,n])}function sp(e,r,t){var n=e.l+r,a=su(e);t.biff==2&&++e.l;var s=function(c){var u;if(ou(c,c.l+6)!==65535)return[hs(c),"n"];switch(c[c.l]){case 0:return c.l+=8,["String","s"];case 1:return u=c[c.l+2]===1,c.l+=8,[u,"b"];case 2:return u=c[c.l+2],c.l+=8,[u,"e"];case 3:return c.l+=8,["","s"]}return[]}(e),o=e.read_shift(1);t.biff!=2&&(e.read_shift(1),t.biff>=5&&e.read_shift(4));var i=function(c,u,l){var A,h=c.l+u,f=l.biff==2?1:2,d=c.read_shift(f);if(d==65535)return[[],ls(c,u-2)];var g=vf(c,d,l);return u!==d+f&&(A=pf(c,u-d-f,g,l)),c.l=h,[g,A]}(e,n-e.l,t);return{cell:a,val:s[0],formula:i,shared:o>>3&1,tt:s[1]}}function UC(e,r,t,n,a){var s=rA(r,t,a),o=function(l){if(l==null){var A=Kt(8);return A.write_shift(1,3),A.write_shift(1,0),A.write_shift(2,0),A.write_shift(2,0),A.write_shift(2,65535),A}return Zl(typeof l=="number"?l:0)}(e.v),i=Kt(6);i.write_shift(2,33),i.write_shift(4,0);for(var c=Kt(e.bf.length),u=0;u<e.bf.length;++u)c[u]=e.bf[u];return jo([s,o,i,c])}function Yd(e,r,t){var n=e.read_shift(4),a=vf(e,n,t),s=e.read_shift(4);return[a,s>0?pf(e,s,a,t):null]}var jC=Yd,Jd=Yd,HC=Yd,YC=Yd,JC={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"},oy={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"},qC={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 sy(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1)).charCodeAt(0)==61&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(r,t){return t.replace(/\./g,"")})).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function cp(e){var r=e.split(":");return[r[0].split(".")[0],r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}var ah={},oh={},mf=typeof Map<"u";function up(e,r,t){var n=0,a=e.length;if(t){if(mf?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){for(var s=mf?t.get(r):t[r];n<s.length;++n)if(e[s[n]].t===r)return e.Count++,s[n]}}else for(;n<a;++n)if(e[n].t===r)return e.Count++,n;return e[a]={t:r},e.Count++,e.Unique++,t&&(mf?(t.has(r)||t.set(r,[]),t.get(r).push(a)):(Object.prototype.hasOwnProperty.call(t,r)||(t[r]=[]),t[r].push(a))),a}function qd(e,r){var t={min:e+1,max:e+1},n=-1;return r.MDW&&(ds=r.MDW),r.width!=null?t.customWidth=1:r.wpx!=null?n=rh(r.wpx):r.wch!=null&&(n=r.wch),n>-1?(t.width=Td(n),t.customWidth=1):r.width!=null&&(t.width=r.width),r.hidden&&(t.hidden=!0),r.level!=null&&(t.outlineLevel=t.level=r.level),t}function iA(e,r){if(e){var t=[.7,.7,.75,.75,.3,.3];r=="xlml"&&(t=[1,1,1,1,.5,.5]),e.left==null&&(e.left=t[0]),e.right==null&&(e.right=t[1]),e.top==null&&(e.top=t[2]),e.bottom==null&&(e.bottom=t[3]),e.header==null&&(e.header=t[4]),e.footer==null&&(e.footer=t[5])}}function vl(e,r,t){var n=t.revssf[r.z!=null?r.z:"General"],a=60,s=e.length;if(n==null&&t.ssf){for(;a<392;++a)if(t.ssf[a]==null){Fu(r.z,a),t.ssf[a]=r.z,t.revssf[r.z]=n=a;break}}for(a=0;a!=s;++a)if(e[a].numFmtId===n)return a;return e[s]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function cy(e,r,t,n,a,s){try{n.cellNF&&(e.z=ai[r])}catch(i){if(n.WTF)throw i}if(e.t!=="z"||n.cellStyles){if(e.t==="d"&&typeof e.v=="string"&&(e.v=Ga(e.v)),(!n||n.cellText!==!1)&&e.t!=="z")try{if(ai[r]==null&&Fu($2[r]||"General",r),e.t==="e")e.w=e.w||Lu[e.v];else if(r===0)if(e.t==="n")(0|e.v)===e.v?e.w=e.v.toString(10):e.w=qh(e.v);else if(e.t==="d"){var o=Zo(e.v);e.w=(0|o)===o?o.toString(10):qh(o)}else{if(e.v===void 0)return"";e.w=jl(e.v,oh)}else e.t==="d"?e.w=Cs(r,Zo(e.v),oh):e.w=Cs(r,e.v,oh)}catch(i){if(n.WTF)throw i}if(n.cellStyles&&t!=null)try{e.s=s.Fills[t],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Md(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Md(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(i){if(n.WTF&&s.Fills)throw i}}}function uy(e,r,t){if(e&&e["!ref"]){var n=ea(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}var ly=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,WC=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Ay=/<(?:\w:)?hyperlink [^>]*>/gm,KC=/"(\w*:\w*)"/,sh=/<(?:\w:)?col\b[^>]*[\/]?>/g,zC=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,VC=/<(?:\w:)?pageMargins[^>]*\/>/g,hy=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,ZC=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,XC=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function fy(e,r,t,n,a,s,o){if(!e)return e;n||(n={"!id":{}});var i=r.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},u="",l="",A=e.match(WC);A?(u=e.slice(0,A.index),l=e.slice(A.index+A[0].length)):u=l=e;var h=u.match(hy);h?lp(h[0],i,a,t):(h=u.match(ZC))&&function(W,H,X,x,N){lp(W.slice(0,W.indexOf(">")),X,x,N)}(h[0],h[1],i,a,t);var f=(u.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var d=u.slice(f,f+50).match(KC);d&&function(W,H){var X=ea(H);X.s.r<=X.e.r&&X.s.c<=X.e.c&&X.s.r>=0&&X.s.c>=0&&(W["!ref"]=_i(X))}(i,d[1])}var g=u.match(XC);g&&g[1]&&function(W,H){H.Views||(H.Views=[{}]),(W.match(eE)||[]).forEach(function(X,x){var N=ci(X);H.Views[x]||(H.Views[x]={}),+N.zoomScale&&(H.Views[x].zoom=+N.zoomScale),Fa(N.rightToLeft)&&(H.Views[x].RTL=!0)})}(g[1],a);var p=[];if(r.cellStyles){var m=u.match(sh);m&&function(W,H){for(var X=!1,x=0;x!=H.length;++x){var N=ci(H[x],!0);N.hidden&&(N.hidden=Fa(N.hidden));var C=parseInt(N.min,10)-1,w=parseInt(N.max,10)-1;for(N.outlineLevel&&(N.level=+N.outlineLevel||0),delete N.min,delete N.max,N.width=+N.width,!X&&N.width&&(X=!0,Ld(N.width)),dl(N);C<=w;)W[C++]=Ra(N)}}(p,m)}A&&dy(A[1],i,r,c,s,o);var v=l.match(zC);v&&(i["!autofilter"]=function(W){var H={ref:(W.match(/ref="([^"]*)"/)||[])[1]};return H}(v[0]));var y=[],I=l.match(ly);if(I)for(f=0;f!=I.length;++f)y[f]=ea(I[f].slice(I[f].indexOf('"')+1));var E=l.match(Ay);E&&function(W,H,X){for(var x=Array.isArray(W),N=0;N!=H.length;++N){var C=ci(ua(H[N]),!0);if(!C.ref)return;var w=((X||{})["!id"]||[])[C.id];w?(C.Target=w.Target,C.location&&(C.Target+="#"+Mi(C.location))):(C.Target="#"+Mi(C.location),w={Target:C.Target,TargetMode:"Internal"}),C.Rel=w,C.tooltip&&(C.Tooltip=C.tooltip,delete C.tooltip);for(var Q=ea(C.ref),B=Q.s.r;B<=Q.e.r;++B)for(var S=Q.s.c;S<=Q.e.c;++S){var O=In({c:S,r:B});x?(W[B]||(W[B]=[]),W[B][S]||(W[B][S]={t:"z",v:void 0}),W[B][S].l=C):(W[O]||(W[O]={t:"z",v:void 0}),W[O].l=C)}}}(i,E,n);var k,R,T=l.match(VC);if(T&&(i["!margins"]=(k=ci(T[0]),R={},["left","right","top","bottom","header","footer"].forEach(function(W){k[W]&&(R[W]=parseFloat(k[W]))}),R)),!i["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(i["!ref"]=_i(c)),r.sheetRows>0&&i["!ref"]){var j=ea(i["!ref"]);r.sheetRows<=+j.e.r&&(j.e.r=r.sheetRows-1,j.e.r>c.e.r&&(j.e.r=c.e.r),j.e.r<j.s.r&&(j.s.r=j.e.r),j.e.c>c.e.c&&(j.e.c=c.e.c),j.e.c<j.s.c&&(j.s.c=j.e.c),i["!fullref"]=i["!ref"],i["!ref"]=_i(j))}return p.length>0&&(i["!cols"]=p),y.length>0&&(i["!merges"]=y),i}function lp(e,r,t,n){var a=ci(e);t.Sheets[n]||(t.Sheets[n]={}),a.codeName&&(t.Sheets[n].CodeName=Mi(ua(a.codeName)))}var aA=["objects","scenarios","selectLockedCells","selectUnlockedCells"],$C=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"],eE=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function tE(e,r,t,n){if(e.c&&t["!comments"].push([r,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",s=e.t,o=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Lu[e.v];break;case"d":n&&n.cellDates?a=Ga(e.v,-1).toISOString():((e=Ra(e)).t="n",a=""+(e.v=Zo(Ga(e.v)))),e.z===void 0&&(e.z=ai[14]);break;default:a=e.v}var i=Xo("v",ca(a)),c={r},u=vl(n.cellXfs,e,n);switch(u!==0&&(c.s=u),e.t){case"n":case"z":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){i=Xo("v",""+up(n.Strings,e.v,n.revStrings)),c.t="s";break}c.t="str"}if(e.t!=s&&(e.t=s,e.v=o),typeof e.f=="string"&&e.f){var l=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;i=Zr("f",ca(e.f),l)+(e.v!=null?i:"")}return e.l&&t["!links"].push([r,e.l]),e.D&&(c.cm=1),Zr("c",i,c)}var dy=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/,t=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,s=Zh("v"),o=Zh("f");return function(i,c,u,l,A,h){for(var f,d,g,p,m,v=0,y="",I=[],E=[],k=0,R=0,T=0,j="",W=0,H=0,X=0,x=0,N=Array.isArray(h.CellXf),C=[],w=[],Q=Array.isArray(c),B=[],S={},O=!1,F=!!u.sheetStubs,Y=i.split(r),M=0,z=Y.length;M!=z;++M){var ue=(y=Y[M].trim()).length;if(ue!==0){var ae=0;e:for(v=0;v<ue;++v)switch(y[v]){case">":if(y[v-1]!="/"){++v;break e}if(u&&u.cellStyles){if(W=(d=ci(y.slice(ae,v),!0)).r!=null?parseInt(d.r,10):W+1,H=-1,u.sheetRows&&u.sheetRows<W)continue;S={},O=!1,d.ht&&(O=!0,S.hpt=parseFloat(d.ht),S.hpx=gl(S.hpt)),d.hidden=="1"&&(O=!0,S.hidden=!0),d.outlineLevel!=null&&(O=!0,S.level=+d.outlineLevel),O&&(B[W-1]=S)}break;case"<":ae=v}if(ae>=v)break;if(W=(d=ci(y.slice(ae,v),!0)).r!=null?parseInt(d.r,10):W+1,H=-1,!(u.sheetRows&&u.sheetRows<W)){l.s.r>W-1&&(l.s.r=W-1),l.e.r<W-1&&(l.e.r=W-1),u&&u.cellStyles&&(S={},O=!1,d.ht&&(O=!0,S.hpt=parseFloat(d.ht),S.hpx=gl(S.hpt)),d.hidden=="1"&&(O=!0,S.hidden=!0),d.outlineLevel!=null&&(O=!0,S.level=+d.outlineLevel),O&&(B[W-1]=S)),I=y.slice(v).split(e);for(var Ne=0;Ne!=I.length&&I[Ne].trim().charAt(0)=="<";++Ne);for(I=I.slice(Ne),v=0;v!=I.length;++v)if((y=I[v].trim()).length!==0){if(E=y.match(t),k=v,R=0,T=0,y="<c "+(y.slice(0,1)=="<"?">":"")+y,E!=null&&E.length===2){for(k=0,j=E[1],R=0;R!=j.length&&!((T=j.charCodeAt(R)-64)<1||T>26);++R)k=26*k+T;H=--k}else++H;for(R=0;R!=y.length&&y.charCodeAt(R)!==62;++R);if(++R,(d=ci(y.slice(0,R),!0)).r||(d.r=In({r:W-1,c:H})),f={t:""},(E=(j=y.slice(R)).match(s))!=null&&E[1]!==""&&(f.v=Mi(E[1])),u.cellFormula){if((E=j.match(o))!=null&&E[1]!==""){if(f.f=Mi(ua(E[1])).replace(/\r\n/g,`
  208. `),u.xlfn||(f.f=ap(f.f)),E[0].indexOf('t="array"')>-1)f.F=(j.match(a)||[])[1],f.F.indexOf(":")>-1&&C.push([ea(f.F),f.F]);else if(E[0].indexOf('t="shared"')>-1){p=ci(E[0]);var Ge=Mi(ua(E[1]));u.xlfn||(Ge=ap(Ge)),w[parseInt(p.si,10)]=[p,Ge,d.r]}}else(E=j.match(/<f[^>]*\/>/))&&w[(p=ci(E[0])).si]&&(f.f=xC(w[p.si][1],w[p.si][2],d.r));var Ye=Do(d.r);for(R=0;R<C.length;++R)Ye.r>=C[R][0].s.r&&Ye.r<=C[R][0].e.r&&Ye.c>=C[R][0].s.c&&Ye.c<=C[R][0].e.c&&(f.F=C[R][1])}if(d.t==null&&f.v===void 0)if(f.f||f.F)f.v=0,f.t="n";else{if(!F)continue;f.t="z"}else f.t=d.t||"n";switch(l.s.c>H&&(l.s.c=H),l.e.c<H&&(l.e.c=H),f.t){case"n":if(f.v==""||f.v==null){if(!F)continue;f.t="z"}else f.v=parseFloat(f.v);break;case"s":if(f.v===void 0){if(!F)continue;f.t="z"}else g=ah[parseInt(f.v,10)],f.v=g.t,f.r=g.r,u.cellHTML&&(f.h=g.h);break;case"str":f.t="s",f.v=f.v!=null?ua(f.v):"",u.cellHTML&&(f.h=C0(f.v));break;case"inlineStr":E=j.match(n),f.t="s",E!=null&&(g=Fd(E[1]))?(f.v=g.t,u.cellHTML&&(f.h=g.h)):f.v="";break;case"b":f.v=Fa(f.v);break;case"d":u.cellDates?f.v=Ga(f.v,1):(f.v=Zo(Ga(f.v,1)),f.t="n");break;case"e":u&&u.cellText===!1||(f.w=f.v),f.v=Kv[f.v]}if(X=x=0,m=null,N&&d.s!==void 0&&(m=h.CellXf[d.s])!=null&&(m.numFmtId!=null&&(X=m.numFmtId),u.cellStyles&&m.fillId!=null&&(x=m.fillId)),cy(f,X,x,u,A,h),u.cellDates&&N&&f.t=="n"&&JA(ai[X])&&(f.t="d",f.v=Kh(f.v)),d.cm&&u.xlmeta){var Ae=(u.xlmeta.Cell||[])[+d.cm-1];Ae&&Ae.type=="XLDAPR"&&(f.D=!0)}if(Q){var te=Do(d.r);c[te.r]||(c[te.r]=[]),c[te.r][te.c]=f}else c[d.r]=f}}}}B.length>0&&(c["!rows"]=B)}}();function gy(e,r,t,n){var a,s=[fo,Zr("worksheet",null,{xmlns:ql[0],"xmlns:r":_o.r})],o=t.SheetNames[e],i="",c=t.Sheets[o];c==null&&(c={});var u=c["!ref"]||"A1",l=ea(u);if(l.e.c>16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+u+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575),u=_i(l)}n||(n={}),c["!comments"]=[];var A=[];(function(p,m,v,y,I){var E=!1,k={},R=null;if(y.bookType!=="xlsx"&&m.vbaraw){var T=m.SheetNames[v];try{m.Workbook&&(T=m.Workbook.Sheets[v].CodeName||T)}catch{}E=!0,k.codeName=Oc(ca(T))}if(p&&p["!outline"]){var j={summaryBelow:1,summaryRight:1};p["!outline"].above&&(j.summaryBelow=0),p["!outline"].left&&(j.summaryRight=0),R=(R||"")+Zr("outlinePr",null,j)}(E||R)&&(I[I.length]=Zr("sheetPr",R,k))})(c,t,e,r,s),s[s.length]=Zr("dimension",null,{ref:u}),s[s.length]=function(p,m,v,y){var I={workbookViewId:"0"};return(((y||{}).Workbook||{}).Views||[])[0]&&(I.rightToLeft=y.Workbook.Views[0].RTL?"1":"0"),Zr("sheetViews",Zr("sheetView",null,I),{})}(0,0,0,t),r.sheetFormat&&(s[s.length]=Zr("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"})),c["!cols"]!=null&&c["!cols"].length>0&&(s[s.length]=function(p,m){for(var v,y=["<cols>"],I=0;I!=m.length;++I)(v=m[I])&&(y[y.length]=Zr("col",null,qd(I,v)));return y[y.length]="</cols>",y.join("")}(0,c["!cols"])),s[a=s.length]="<sheetData/>",c["!links"]=[],c["!ref"]!=null&&(i=function(p,m,v,y){var I,E,k=[],R=[],T=ea(p["!ref"]),j="",W="",H=[],X=0,x=0,N=p["!rows"],C=Array.isArray(p),w={r:W},Q=-1;for(x=T.s.c;x<=T.e.c;++x)H[x]=Eo(x);for(X=T.s.r;X<=T.e.r;++X){for(R=[],W=Ho(X),x=T.s.c;x<=T.e.c;++x){I=H[x]+W;var B=C?(p[X]||[])[x]:p[I];B!==void 0&&(j=tE(B,I,p,m))!=null&&R.push(j)}(R.length>0||N&&N[X])&&(w={r:W},N&&N[X]&&((E=N[X]).hidden&&(w.hidden=1),Q=-1,E.hpx?Q=hf(E.hpx):E.hpt&&(Q=E.hpt),Q>-1&&(w.ht=Q,w.customHeight=1),E.level&&(w.outlineLevel=E.level)),k[k.length]=Zr("row",R.join(""),w))}if(N)for(;X<N.length;++X)N&&N[X]&&(w={r:X+1},(E=N[X]).hidden&&(w.hidden=1),Q=-1,E.hpx?Q=hf(E.hpx):E.hpt&&(Q=E.hpt),Q>-1&&(w.ht=Q,w.customHeight=1),E.level&&(w.outlineLevel=E.level),k[k.length]=Zr("row","",w));return k.join("")}(c,r),i.length>0&&(s[s.length]=i)),s.length>a+1&&(s[s.length]="</sheetData>",s[a]=s[a].replace("/>",">")),c["!protect"]&&(s[s.length]=function(p){var m={sheet:1};return aA.forEach(function(v){p[v]!=null&&p[v]&&(m[v]="1")}),$C.forEach(function(v){p[v]==null||p[v]||(m[v]="0")}),p.password&&(m.password=Nd(p.password).toString(16).toUpperCase()),Zr("sheetProtection",null,m)}(c["!protect"])),c["!autofilter"]!=null&&(s[s.length]=function(p,m,v,y){var I=typeof p.ref=="string"?p.ref:_i(p.ref);v.Workbook||(v.Workbook={Sheets:[]}),v.Workbook.Names||(v.Workbook.Names=[]);var E=v.Workbook.Names,k=Es(I);k.s.r==k.e.r&&(k.e.r=Es(m["!ref"]).e.r,I=_i(k));for(var R=0;R<E.length;++R){var T=E[R];if(T.Name=="_xlnm._FilterDatabase"&&T.Sheet==y){T.Ref="'"+v.SheetNames[y]+"'!"+I;break}}return R==E.length&&E.push({Name:"_xlnm._FilterDatabase",Sheet:y,Ref:"'"+v.SheetNames[y]+"'!"+I}),Zr("autoFilter",null,{ref:I})}(c["!autofilter"],c,t,e)),c["!merges"]!=null&&c["!merges"].length>0&&(s[s.length]=function(p){if(p.length===0)return"";for(var m='<mergeCells count="'+p.length+'">',v=0;v!=p.length;++v)m+='<mergeCell ref="'+_i(p[v])+'"/>';return m+"</mergeCells>"}(c["!merges"]));var h,f,d=-1,g=-1;return c["!links"].length>0&&(s[s.length]="<hyperlinks>",c["!links"].forEach(function(p){p[1].Target&&(h={ref:p[0]},p[1].Target.charAt(0)!="#"&&(g=ta(n,-1,ca(p[1].Target).replace(/#.*$/,""),Si.HLINK),h["r:id"]="rId"+g),(d=p[1].Target.indexOf("#"))>-1&&(h.location=ca(p[1].Target.slice(d+1))),p[1].Tooltip&&(h.tooltip=ca(p[1].Tooltip)),s[s.length]=Zr("hyperlink",null,h))}),s[s.length]="</hyperlinks>"),delete c["!links"],c["!margins"]!=null&&(s[s.length]=(iA(f=c["!margins"]),Zr("pageMargins",null,f))),r&&!r.ignoreEC&&r.ignoreEC!=null||(s[s.length]=Xo("ignoredErrors",Zr("ignoredError",null,{numberStoredAsText:1,sqref:u}))),A.length>0&&(g=ta(n,-1,"../drawings/drawing"+(e+1)+".xml",Si.DRAW),s[s.length]=Zr("drawing",null,{"r:id":"rId"+g}),c["!drawing"]=A),c["!comments"].length>0&&(g=ta(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Si.VML),s[s.length]=Zr("legacyDrawing",null,{"r:id":"rId"+g}),c["!legacy"]=g),s.length>1&&(s[s.length]="</worksheet>",s[1]=s[1].replace("/>",">")),s.join("")}function rE(e,r,t,n){var a=function(s,o,i){var c=Kt(145),u=(i["!rows"]||[])[s]||{};c.write_shift(4,s),c.write_shift(4,0);var l=320;u.hpx?l=20*hf(u.hpx):u.hpt&&(l=20*u.hpt),c.write_shift(2,l),c.write_shift(1,0);var A=0;u.level&&(A|=u.level),u.hidden&&(A|=16),(u.hpx||u.hpt)&&(A|=32),c.write_shift(1,A),c.write_shift(1,0);var h=0,f=c.l;c.l+=4;for(var d={r:s,c:0},g=0;g<16;++g)if(!(o.s.c>g+1<<10||o.e.c<g<<10)){for(var p=-1,m=-1,v=g<<10;v<g+1<<10;++v)d.c=v,(Array.isArray(i)?(i[d.r]||[])[d.c]:i[In(d)])&&(p<0&&(p=v),m=v);p<0||(++h,c.write_shift(4,p),c.write_shift(4,m))}var y=c.l;return c.l=f,c.write_shift(4,h),c.l=y,c.length>c.l?c.slice(0,c.l):c}(n,t,r);(a.length>17||(r["!rows"]||[])[n])&&wr(e,0,a)}var nE=Vl,iE=zA;function py(e){return[hl(e),hs(e),"n"]}var aE=Vl,oE=zA,vy=["left","right","top","bottom","header","footer"];function sE(e,r,t,n,a,s,o){if(r.v===void 0)return!1;var i="";switch(r.t){case"b":i=r.v?"1":"0";break;case"d":(r=Ra(r)).z=r.z||ai[14],r.v=Zo(Ga(r.v)),r.t="n";break;case"n":case"e":i=""+r.v;break;default:i=r.v}var c={r:t,c:n};switch(c.s=vl(a.cellXfs,r,a),r.l&&s["!links"].push([In(c),r.l]),r.c&&s["!comments"].push([In(c),r.c]),r.t){case"s":case"str":return a.bookSST?(i=up(a.Strings,r.v,a.revStrings),c.t="s",c.v=i,o?wr(e,18,function(u,l,A){return A==null&&(A=Kt(8)),zl(l,A),A.write_shift(4,l.v),A}(0,c)):wr(e,7,function(u,l,A){return A==null&&(A=Kt(12)),Tu(l,A),A.write_shift(4,l.v),A}(0,c))):(c.t="str",o?wr(e,17,function(u,l,A){return A==null&&(A=Kt(8+4*u.v.length)),zl(l,A),Yo(u.v,A),A.length>A.l?A.slice(0,A.l):A}(r,c)):wr(e,6,function(u,l,A){return A==null&&(A=Kt(12+4*u.v.length)),Tu(l,A),Yo(u.v,A),A.length>A.l?A.slice(0,A.l):A}(r,c))),!0;case"n":return r.v==(0|r.v)&&r.v>-1e3&&r.v<1e3?o?wr(e,13,function(u,l,A){return A==null&&(A=Kt(8)),zl(l,A),N0(u.v,A),A}(r,c)):wr(e,2,function(u,l,A){return A==null&&(A=Kt(12)),Tu(l,A),N0(u.v,A),A}(r,c)):o?wr(e,16,function(u,l,A){return A==null&&(A=Kt(12)),zl(l,A),Zl(u.v,A),A}(r,c)):wr(e,5,function(u,l,A){return A==null&&(A=Kt(16)),Tu(l,A),Zl(u.v,A),A}(r,c)),!0;case"b":return c.t="b",o?wr(e,15,function(u,l,A){return A==null&&(A=Kt(5)),zl(l,A),A.write_shift(1,u.v?1:0),A}(r,c)):wr(e,4,function(u,l,A){return A==null&&(A=Kt(9)),Tu(l,A),A.write_shift(1,u.v?1:0),A}(r,c)),!0;case"e":return c.t="e",o?wr(e,14,function(u,l,A){return A==null&&(A=Kt(8)),zl(l,A),A.write_shift(1,u.v),A.write_shift(2,0),A.write_shift(1,0),A}(r,c)):wr(e,3,function(u,l,A){return A==null&&(A=Kt(9)),Tu(l,A),A.write_shift(1,u.v),A}(r,c)),!0}return o?wr(e,12,function(u,l,A){return A==null&&(A=Kt(4)),zl(l,A)}(0,c)):wr(e,1,function(u,l,A){return A==null&&(A=Kt(8)),Tu(l,A)}(0,c)),!0}function cE(e,r){var t,n;r&&r["!merges"]&&(wr(e,177,(t=r["!merges"].length,n==null&&(n=Kt(4)),n.write_shift(4,t),n)),r["!merges"].forEach(function(a){wr(e,176,oE(a))}),wr(e,178))}function uE(e,r){r&&r["!cols"]&&(wr(e,390),r["!cols"].forEach(function(t,n){t&&wr(e,60,function(a,s,o){o==null&&(o=Kt(18));var i=qd(a,s);o.write_shift(-4,a),o.write_shift(-4,a),o.write_shift(4,256*(i.width||10)),o.write_shift(4,0);var c=0;return s.hidden&&(c|=1),typeof i.width=="number"&&(c|=2),s.level&&(c|=s.level<<8),o.write_shift(2,c),o}(n,t))}),wr(e,391))}function my(e,r){var t,n;r&&r["!ref"]&&(wr(e,648),wr(e,649,(t=ea(r["!ref"]),(n=Kt(24)).write_shift(4,4),n.write_shift(4,1),zA(t,n),n)),wr(e,650))}function yy(e,r,t){r["!links"].forEach(function(n){if(n[1].Target){var a=ta(t,-1,n[1].Target.replace(/#.*$/,""),Si.HLINK);wr(e,494,function(s,o){var i=Kt(50+4*(s[1].Target.length+(s[1].Tooltip||"").length));zA({s:Do(s[0]),e:Do(s[0])},i),R0("rId"+o,i);var c=s[1].Target.indexOf("#");return Yo((c==-1?"":s[1].Target.slice(c+1))||"",i),Yo(s[1].Tooltip||"",i),Yo("",i),i.slice(0,i.l)}(n,a))}}),delete r["!links"]}function lE(e,r,t){wr(e,133),wr(e,137,function(n,a,s){s==null&&(s=Kt(30));var o=924;return(((a||{}).Views||[])[0]||{}).RTL&&(o|=32),s.write_shift(2,o),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(1,0),s.write_shift(1,0),s.write_shift(2,0),s.write_shift(2,100),s.write_shift(2,0),s.write_shift(2,0),s.write_shift(2,0),s.write_shift(4,0),s}(0,t)),wr(e,138),wr(e,134)}function AE(e,r){var t,n;r["!protect"]&&wr(e,535,(t=r["!protect"],n==null&&(n=Kt(66)),n.write_shift(2,t.password?Nd(t.password):0),n.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(a){a[1]?n.write_shift(4,t[a[0]]==null||t[a[0]]?0:1):n.write_shift(4,t[a[0]]!=null&&t[a[0]]?0:1)}),n))}function hE(e,r,t,n){var a=Os(),s=t.SheetNames[e],o=t.Sheets[s]||{},i=s;try{t&&t.Workbook&&(i=t.Workbook.Sheets[e].CodeName||i)}catch{}var c,u,l=ea(o["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],wr(a,129),(t.vbaraw||o["!outline"])&&wr(a,147,function(A,h,f){f==null&&(f=Kt(84+4*A.length));var d=192;h&&(h.above&&(d&=-65),h.left&&(d&=-129)),f.write_shift(1,d);for(var g=1;g<3;++g)f.write_shift(1,0);return nf({auto:1},f),f.write_shift(-4,-1),f.write_shift(-4,-1),Hv(A,f),f.slice(0,f.l)}(i,o["!outline"])),wr(a,148,iE(l)),lE(a,0,t.Workbook),uE(a,o),function(A,h,f,d){var g,p=ea(h["!ref"]||"A1"),m="",v=[];wr(A,145);var y=Array.isArray(h),I=p.e.r;h["!rows"]&&(I=Math.max(p.e.r,h["!rows"].length-1));for(var E=p.s.r;E<=I;++E){m=Ho(E),rE(A,h,p,E);var k=!1;if(E<=p.e.r)for(var R=p.s.c;R<=p.e.c;++R){E===p.s.r&&(v[R]=Eo(R)),g=v[R]+m;var T=y?(h[E]||[])[R]:h[g];k=!!T&&sE(A,T,E,R,d,h,k)}}wr(A,146)}(a,o,0,r),AE(a,o),function(A,h,f,d){if(h["!autofilter"]){var g=h["!autofilter"],p=typeof g.ref=="string"?g.ref:_i(g.ref);f.Workbook||(f.Workbook={Sheets:[]}),f.Workbook.Names||(f.Workbook.Names=[]);var m=f.Workbook.Names,v=Es(p);v.s.r==v.e.r&&(v.e.r=Es(h["!ref"]).e.r,p=_i(v));for(var y=0;y<m.length;++y){var I=m[y];if(I.Name=="_xlnm._FilterDatabase"&&I.Sheet==d){I.Ref="'"+f.SheetNames[d]+"'!"+p;break}}y==m.length&&m.push({Name:"_xlnm._FilterDatabase",Sheet:d,Ref:"'"+f.SheetNames[d]+"'!"+p}),wr(A,161,zA(ea(p))),wr(A,162)}}(a,o,t,e),cE(a,o),yy(a,o,n),o["!margins"]&&wr(a,476,(c=o["!margins"],u==null&&(u=Kt(48)),iA(c),vy.forEach(function(A){Zl(c[A],u)}),u)),r&&!r.ignoreEC&&r.ignoreEC!=null||my(a,o),function(A,h,f,d){if(h["!comments"].length>0){var g=ta(d,-1,"../drawings/vmlDrawing"+(f+1)+".vml",Si.VML);wr(A,551,R0("rId"+g)),h["!legacy"]=g}}(a,o,e,n),wr(a,130),a.end()}function fE(e,r,t,n,a,s){var o=s||{"!type":"chart"};if(!e)return s;var i=0,c=0,u="A",l={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(A){var h=function(f){var d,g=[],p=f.match(/^<c:numCache>/);(f.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(v){var y=v.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);y&&(g[+y[1]]=p?+y[2]:y[2])});var m=Mi((f.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(f.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(v){d=v.replace(/<.*?>/g,"")}),[g,m,d]}(A);l.s.r=l.s.c=0,l.e.c=i,u=Eo(i),h[0].forEach(function(f,d){o[u+Ho(d)]={t:"n",v:f,z:h[1]},c=d}),l.e.r<c&&(l.e.r=c),++i}),i>0&&(o["!ref"]=_i(l)),o}var Ap=[["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"]],dE=[["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"]],gE=[],pE=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Iy(e,r){for(var t=0;t!=e.length;++t)for(var n=e[t],a=0;a!=r.length;++a){var s=r[a];if(n[s[0]]==null)n[s[0]]=s[1];else switch(s[2]){case"bool":typeof n[s[0]]=="string"&&(n[s[0]]=Fa(n[s[0]]));break;case"int":typeof n[s[0]]=="string"&&(n[s[0]]=parseInt(n[s[0]],10))}}}function by(e,r){for(var t=0;t!=r.length;++t){var n=r[t];if(e[n[0]]==null)e[n[0]]=n[1];else switch(n[2]){case"bool":typeof e[n[0]]=="string"&&(e[n[0]]=Fa(e[n[0]]));break;case"int":typeof e[n[0]]=="string"&&(e[n[0]]=parseInt(e[n[0]],10))}}}function Cy(e){by(e.WBProps,Ap),by(e.CalcPr,pE),Iy(e.WBView,dE),Iy(e.Sheets,gE),oh.date1904=Fa(e.WBProps.date1904)}var vE="][*?/\\".split("");function Ey(e,r){if(e.length>31){if(r)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var t=!0;return vE.forEach(function(n){if(e.indexOf(n)!=-1){if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=!1}}),t}function mE(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r,t,n,a=e.Workbook&&e.Workbook.Sheets||[];r=e.SheetNames,t=a,n=!!e.vbaraw,r.forEach(function(o,i){Ey(o);for(var c=0;c<i;++c)if(o==r[c])throw new Error("Duplicate Sheet Name: "+o);if(n){var u=t&&t[i]&&t[i].CodeName||o;if(u.charCodeAt(0)==95&&u.length>22)throw new Error("Bad Code Name: Worksheet"+u)}});for(var s=0;s<e.SheetNames.length;++s)uy(e.Sheets[e.SheetNames[s]],e.SheetNames[s],s)}var yE=/<\w+:workbook/;function wy(e){var r=[fo];r[r.length]=Zr("workbook",null,{xmlns:ql[0],"xmlns:r":_o.r});var t=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Ap.forEach(function(i){e.Workbook.WBProps[i[0]]!=null&&e.Workbook.WBProps[i[0]]!=i[1]&&(n[i[0]]=e.Workbook.WBProps[i[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),r[r.length]=Zr("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],s=0;if(a&&a[0]&&a[0].Hidden){for(r[r.length]="<bookViews>",s=0;s!=e.SheetNames.length&&a[s]&&a[s].Hidden;++s);s==e.SheetNames.length&&(s=0),r[r.length]='<workbookView firstSheet="'+s+'" activeTab="'+s+'"/>',r[r.length]="</bookViews>"}for(r[r.length]="<sheets>",s=0;s!=e.SheetNames.length;++s){var o={name:ca(e.SheetNames[s].slice(0,31))};if(o.sheetId=""+(s+1),o["r:id"]="rId"+(s+1),a[s])switch(a[s].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden"}r[r.length]=Zr("sheet",null,o)}return r[r.length]="</sheets>",t&&(r[r.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(i){var c={name:i.Name};i.Comment&&(c.comment=i.Comment),i.Sheet!=null&&(c.localSheetId=""+i.Sheet),i.Hidden&&(c.hidden="1"),i.Ref&&(r[r.length]=Zr("definedName",ca(i.Ref),c))}),r[r.length]="</definedNames>"),r.length>2&&(r[r.length]="</workbook>",r[1]=r[1].replace("/>",">")),r.join("")}function IE(e,r){var t={};return e.read_shift(4),t.ArchID=e.read_shift(4),e.l+=r-8,t}function By(e,r){if(r.Workbook&&r.Workbook.Sheets){for(var t,n,a=r.Workbook.Sheets,s=0,o=-1,i=-1;s<a.length;++s)!a[s]||!a[s].Hidden&&o==-1?o=s:a[s].Hidden==1&&i==-1&&(i=s);i>o||(wr(e,135),wr(e,158,(t=o,n||(n=Kt(29)),n.write_shift(-4,0),n.write_shift(-4,460),n.write_shift(4,28800),n.write_shift(4,17600),n.write_shift(4,500),n.write_shift(4,t),n.write_shift(4,t),n.write_shift(1,120),n.length>n.l?n.slice(0,n.l):n)),wr(e,136))}}function Qy(e,r){var t=Os();return wr(t,131),wr(t,128,function(n,a){a||(a=Kt(127));for(var s=0;s!=4;++s)a.write_shift(4,0);return Yo("SheetJS",a),Yo(o0.version,a),Yo(o0.version,a),Yo("7262",a),a.length>a.l?a.slice(0,a.l):a}()),wr(t,153,function(n,a){a||(a=Kt(72));var s=0;return n&&n.filterPrivacy&&(s|=8),a.write_shift(4,s),a.write_shift(4,0),Hv(n&&n.CodeName||"ThisWorkbook",a),a.slice(0,a.l)}(e.Workbook&&e.Workbook.WBProps||null)),By(t,e),function(n,a){wr(n,143);for(var s=0;s!=a.SheetNames.length;++s)wr(n,156,(o={Hidden:a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[s]&&a.Workbook.Sheets[s].Hidden||0,iTabID:s+1,strRelID:"rId"+(s+1),name:a.SheetNames[s]},(i=void 0)||(i=Kt(127)),i.write_shift(4,o.Hidden),i.write_shift(4,o.iTabID),R0(o.strRelID,i),Yo(o.name.slice(0,31),i),i.length>i.l?i.slice(0,i.l):i));var o,i;wr(n,144)}(t,e),wr(t,132),t.end()}function hp(e,r,t){return r.slice(-4)===".bin"?function(n,a){var s={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},o=[],i=!1;a||(a={}),a.biff=12;var c=[],u=[[]];return u.SheetNames=[],u.XTI=[],Ef[16]={n:"BrtFRTArchID$",f:IE},Mu(n,function(l,A,h){switch(h){case 156:u.SheetNames.push(l.name),s.Sheets.push(l);break;case 153:s.WBProps=l;break;case 39:l.Sheet!=null&&(a.SID=l.Sheet),l.Ref=gs(l.Ptg,0,null,u,a),delete a.SID,delete l.Ptg,c.push(l);break;case 1036:case 361:case 2071:case 158:case 143:case 664:case 353:case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:case 16:break;case 357:case 358:case 355:case 667:u[0].length?u.push([h,l]):u[0]=[h,l],u[u.length-1].XTI=[];break;case 362:u.length===0&&(u[0]=[],u[0].XTI=[]),u[u.length-1].XTI=u[u.length-1].XTI.concat(l),u.XTI=u.XTI.concat(l);break;case 35:case 37:o.push(h),i=!0;break;case 36:case 38:o.pop(),i=!1;break;default:if(!A.T){if(!i||a.WTF&&o[o.length-1]!=37&&o[o.length-1]!=35)throw new Error("Unexpected record 0x"+h.toString(16))}}},a),Cy(s),s.Names=c,s.supbooks=u,s}(e,t):function(n,a){if(!n)throw new Error("Could not find file");var s={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},o=!1,i="xmlns",c={},u=0;if(n.replace(us,function(l,A){var h=ci(l);switch(au(h[0])){case"<?xml":case"</workbook>":case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":case"<bookViews":case"<bookViews>":case"</bookViews>":case"</workbookView>":case"<sheets":case"<sheets>":case"</sheets>":case"</sheet>":case"<functionGroups":case"<functionGroups/>":case"<functionGroup":case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":case"<definedName/>":case"</calcPr>":case"<oleSize":case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":case"<customWorkbookView":case"</customWorkbookView>":case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":case"<smartTagPr":case"<smartTagPr/>":case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":case"<webPublishing":case"<webPublishing/>":case"<fileRecoveryPr":case"<fileRecoveryPr/>":case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":case"<ArchID":case"<revisionPtr":break;case"<workbook":l.match(yE)&&(i="xmlns"+l.match(/<(\w+):/)[1]),s.xmlns=h[i];break;case"<fileVersion":delete h[0],s.AppVersion=h;break;case"<workbookPr":case"<workbookPr/>":Ap.forEach(function(f){if(h[f[0]]!=null)switch(f[2]){case"bool":s.WBProps[f[0]]=Fa(h[f[0]]);break;case"int":s.WBProps[f[0]]=parseInt(h[f[0]],10);break;default:s.WBProps[f[0]]=h[f[0]]}}),h.codeName&&(s.WBProps.CodeName=ua(h.codeName));break;case"<workbookView":case"<workbookView/>":delete h[0],s.WBView.push(h);break;case"<sheet":switch(h.state){case"hidden":h.Hidden=1;break;case"veryHidden":h.Hidden=2;break;default:h.Hidden=0}delete h.state,h.name=Mi(ua(h.name)),delete h[0],s.Sheets.push(h);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":o=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":o=!1;break;case"<definedName":(c={}).Name=ua(h.name),h.comment&&(c.Comment=h.comment),h.localSheetId&&(c.Sheet=+h.localSheetId),Fa(h.hidden||"0")&&(c.Hidden=!0),u=A+l.length;break;case"</definedName>":c.Ref=Mi(ua(n.slice(u,A))),s.Names.push(c);break;case"<calcPr":case"<calcPr/>":delete h[0],s.CalcPr=h;break;default:if(!o&&a.WTF)throw new Error("unrecognized "+h[0]+" in workbook")}return l}),ql.indexOf(s.xmlns)===-1)throw new Error("Unknown Namespace: "+s.xmlns);return Cy(s),s}(e,t)}function bE(e,r,t,n,a,s,o,i){return r.slice(-4)===".bin"?function(c,u,l,A,h,f,d){if(!c)return c;var g=u||{};A||(A={"!id":{}});var p,m,v,y,I,E,k,R,T,j,W=g.dense?[]:{},H={s:{r:2e6,c:2e6},e:{r:0,c:0}},X=!1,x=!1,N=[];g.biff=12,g["!row"]=0;var C=0,w=!1,Q=[],B={},S=g.supbooks||h.supbooks||[[]];if(S.sharedf=B,S.arrayf=Q,S.SheetNames=h.SheetNames||h.Sheets.map(function(ae){return ae.name}),!g.supbooks&&(g.supbooks=S,h.Names))for(var O=0;O<h.Names.length;++O)S[0][O+1]=h.Names[O];var F,Y=[],M=[],z=!1;if(Ef[16]={n:"BrtShortReal",f:py},Mu(c,function(ae,Ne,Ge){if(!x)switch(Ge){case 148:p=ae;break;case 0:m=ae,g.sheetRows&&g.sheetRows<=m.r&&(x=!0),T=Ho(I=m.r),g["!row"]=m.r,(ae.hidden||ae.hpt||ae.level!=null)&&(ae.hpt&&(ae.hpx=gl(ae.hpt)),M[ae.r]=ae);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(v={t:ae[2]},ae[2]){case"n":v.v=ae[1];break;case"s":R=ah[ae[1]],v.v=R.t,v.r=R.r;break;case"b":v.v=!!ae[1];break;case"e":v.v=ae[1],g.cellText!==!1&&(v.w=Lu[v.v]);break;case"str":v.t="s",v.v=ae[1];break;case"is":v.t="s",v.v=ae[1].t}if((y=d.CellXf[ae[0].iStyleRef])&&cy(v,y.numFmtId,null,g,f,d),E=ae[0].c==-1?E+1:ae[0].c,g.dense?(W[I]||(W[I]=[]),W[I][E]=v):W[Eo(E)+T]=v,g.cellFormula){for(w=!1,C=0;C<Q.length;++C){var Ye=Q[C];m.r>=Ye[0].s.r&&m.r<=Ye[0].e.r&&E>=Ye[0].s.c&&E<=Ye[0].e.c&&(v.F=_i(Ye[0]),w=!0)}!w&&ae.length>3&&(v.f=ae[3])}if(H.s.r>m.r&&(H.s.r=m.r),H.s.c>E&&(H.s.c=E),H.e.r<m.r&&(H.e.r=m.r),H.e.c<E&&(H.e.c=E),g.cellDates&&y&&v.t=="n"&&JA(ai[y.numFmtId])){var Ae=Ul(v.v);Ae&&(v.t="d",v.v=new Date(Ae.y,Ae.m-1,Ae.d,Ae.H,Ae.M,Ae.S,Ae.u))}F&&(F.type=="XLDAPR"&&(v.D=!0),F=void 0);break;case 1:case 12:if(!g.sheetStubs||X)break;v={t:"z",v:void 0},E=ae[0].c==-1?E+1:ae[0].c,g.dense?(W[I]||(W[I]=[]),W[I][E]=v):W[Eo(E)+T]=v,H.s.r>m.r&&(H.s.r=m.r),H.s.c>E&&(H.s.c=E),H.e.r<m.r&&(H.e.r=m.r),H.e.c<E&&(H.e.c=E),F&&(F.type=="XLDAPR"&&(v.D=!0),F=void 0);break;case 176:N.push(ae);break;case 49:F=((g.xlmeta||{}).Cell||[])[ae-1];break;case 494:var te=A["!id"][ae.relId];for(te?(ae.Target=te.Target,ae.loc&&(ae.Target+="#"+ae.loc),ae.Rel=te):ae.relId==""&&(ae.Target="#"+ae.loc),I=ae.rfx.s.r;I<=ae.rfx.e.r;++I)for(E=ae.rfx.s.c;E<=ae.rfx.e.c;++E)g.dense?(W[I]||(W[I]=[]),W[I][E]||(W[I][E]={t:"z",v:void 0}),W[I][E].l=ae):(k=In({c:E,r:I}),W[k]||(W[k]={t:"z",v:void 0}),W[k].l=ae);break;case 426:if(!g.cellFormula)break;Q.push(ae),(j=g.dense?W[I][E]:W[Eo(E)+T]).f=gs(ae[1],0,{r:m.r,c:E},S,g),j.F=_i(ae[0]);break;case 427:if(!g.cellFormula)break;B[In(ae[0].s)]=ae[1],(j=g.dense?W[I][E]:W[Eo(E)+T]).f=gs(ae[1],0,{r:m.r,c:E},S,g);break;case 60:if(!g.cellStyles)break;for(;ae.e>=ae.s;)Y[ae.e--]={width:ae.w/256,hidden:!!(1&ae.flags),level:ae.level},z||(z=!0,Ld(ae.w/256)),dl(Y[ae.e+1]);break;case 161:W["!autofilter"]={ref:_i(ae)};break;case 476:W["!margins"]=ae;break;case 147:h.Sheets[l]||(h.Sheets[l]={}),ae.name&&(h.Sheets[l].CodeName=ae.name),(ae.above||ae.left)&&(W["!outline"]={above:ae.above,left:ae.left});break;case 137:h.Views||(h.Views=[{}]),h.Views[0]||(h.Views[0]={}),ae.RTL&&(h.Views[0].RTL=!0);break;case 485:case 64:case 1053:case 151:case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:case 37:X=!0;break;case 36:case 38:X=!1;break;default:if(!Ne.T){if(!X||g.WTF)throw new Error("Unexpected record 0x"+Ge.toString(16))}}},g),delete g.supbooks,delete g["!row"],!W["!ref"]&&(H.s.r<2e6||p&&(p.e.r>0||p.e.c>0||p.s.r>0||p.s.c>0))&&(W["!ref"]=_i(p||H)),g.sheetRows&&W["!ref"]){var ue=ea(W["!ref"]);g.sheetRows<=+ue.e.r&&(ue.e.r=g.sheetRows-1,ue.e.r>H.e.r&&(ue.e.r=H.e.r),ue.e.r<ue.s.r&&(ue.s.r=ue.e.r),ue.e.c>H.e.c&&(ue.e.c=H.e.c),ue.e.c<ue.s.c&&(ue.s.c=ue.e.c),W["!fullref"]=W["!ref"],W["!ref"]=_i(ue))}return N.length>0&&(W["!merges"]=N),Y.length>0&&(W["!cols"]=Y),M.length>0&&(W["!rows"]=M),W}(e,n,t,a,s,o,i):fy(e,n,t,a,s,o,i)}function CE(e,r,t,n,a,s,o,i){return r.slice(-4)===".bin"?function(c,u,l,A,h){if(!c)return c;A||(A={"!id":{}});var f={"!type":"chart","!drawel":null,"!rel":""},d=!1;return Mu(c,function(g,p,m){switch(m){case 550:f["!rel"]=g;break;case 651:h.Sheets[l]||(h.Sheets[l]={}),g.name&&(h.Sheets[l].CodeName=g.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:case 37:case 38:break;case 35:d=!0;break;case 36:d=!1;break;default:if(!(p.T>0)){if(!(p.T<0)){if(!d||u.WTF)throw new Error("Unexpected record 0x"+m.toString(16))}}}},u),A["!id"][f["!rel"]]&&(f["!drawel"]=A["!id"][f["!rel"]]),f}(e,n,t,a,s):function(c,u,l,A,h){if(!c)return c;A||(A={"!id":{}});var f,d={"!type":"chart","!drawel":null,"!rel":""},g=c.match(hy);return g&&lp(g[0],0,h,l),(f=c.match(/drawing r:id="(.*?)"/))&&(d["!rel"]=f[1]),A["!id"][d["!rel"]]&&(d["!drawel"]=A["!id"][d["!rel"]]),d}(e,0,t,a,s)}function ky(e,r,t,n){return r.slice(-4)===".bin"?function(a,s,o){var i={NumberFmt:[]};for(var c in ai)i.NumberFmt[c]=ai[c];i.CellXf=[],i.Fonts=[];var u=[],l=!1;return Mu(a,function(A,h,f){switch(f){case 44:i.NumberFmt[A[0]]=A[1],Fu(A[1],A[0]);break;case 43:i.Fonts.push(A),A.color.theme!=null&&s&&s.themeElements&&s.themeElements.clrScheme&&(A.color.rgb=Md(s.themeElements.clrScheme[A.color.theme].rgb,A.color.tint||0));break;case 1025:case 45:case 46:case 48:case 507:case 572:case 475:case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 47:u[u.length-1]==617&&i.CellXf.push(A);break;case 35:l=!0;break;case 36:l=!1;break;case 37:u.push(f),l=!0;break;case 38:u.pop(),l=!1;break;default:if(h.T>0)u.push(f);else if(h.T<0)u.pop();else if(!l||o.WTF&&u[u.length-1]!=37)throw new Error("Unexpected record 0x"+f.toString(16))}}),i}(e,t,n):Gd(e,t,n)}function yf(e,r,t){return r.slice(-4)===".bin"?function(n,a){var s=[],o=!1;return Mu(n,function(i,c,u){switch(u){case 159:s.Count=i[0],s.Unique=i[1];break;case 19:s.push(i);break;case 160:return!0;case 35:o=!0;break;case 36:o=!1;break;default:if(c.T,!o||a.WTF)throw new Error("Unexpected record 0x"+u.toString(16))}}),s}(e,t):function(n,a){var s=[],o="";if(!n)return s;var i=n.match(zb);if(i){o=i[2].replace(Vb,"").split(Zb);for(var c=0;c!=o.length;++c){var u=Fd(o[c].trim(),a);u!=null&&(s[s.length]=u)}i=ci(i[1]),s.Count=i.count,s.Unique=i.uniqueCount}return s}(e,t)}function xy(e,r,t){return r.slice(-4)===".bin"?function(n,a){var s=[],o=[],i={},c=!1;return Mu(n,function(u,l,A){switch(A){case 632:o.push(u);break;case 635:i=u;break;case 637:i.t=u.t,i.h=u.h,i.r=u.r;break;case 636:if(i.author=o[i.iauthor],delete i.iauthor,a.sheetRows&&i.rfx&&a.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,s.push(i);break;case 3072:case 37:case 38:break;case 35:c=!0;break;case 36:c=!1;break;default:if(!l.T){if(!c||a.WTF)throw new Error("Unexpected record 0x"+A.toString(16))}}}),s}(e,t):function(n,a){if(n.match(/<(?:\w+:)?comments *\/>/))return[];var s=[],o=[],i=n.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(u){if(u!==""&&u.trim()!==""){var l=u.match(/<(?:\w+:)?author[^>]*>(.*)/);l&&s.push(l[1])}});var c=n.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return c&&c[1]&&c[1].split(/<\/\w*:?comment>/).forEach(function(u){if(u!==""&&u.trim()!==""){var l=u.match(/<(?:\w+:)?comment[^>]*>/);if(l){var A=ci(l[0]),h={author:A.authorId&&s[A.authorId]||"sheetjsghost",ref:A.ref,guid:A.guid},f=Do(A.ref);if(!(a.sheetRows&&a.sheetRows<=f.r)){var d=u.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),g=!!d&&!!d[1]&&Fd(d[1])||{r:"",t:"",h:""};h.r=g.r,g.r=="<t></t>"&&(g.t=g.h=""),h.t=(g.t||"").replace(/\r\n/g,`
  209. `).replace(/\r/g,`
  210. `),a.cellHTML&&(h.h=g.h),o.push(h)}}}}),o}(e,t)}function EE(e,r,t){return r.slice(-4)===".bin"?function(n,a,s){var o=[];return Mu(n,function(i,c,u){if(u===63)o.push(i);else if(!c.T)throw new Error("Unexpected record 0x"+u.toString(16))}),o}(e):function(n){var a=[];if(!n)return a;var s=1;return(n.match(us)||[]).forEach(function(o){var i=ci(o);switch(i[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete i[0],i.i?s=i.i:i.i=s,a.push(i)}}),a}(e)}function wE(e,r,t,n){if(t.slice(-4)===".bin")return function(a,s,o,i){if(!a)return a;var c=i||{},u=!1;Mu(a,function(l,A,h){switch(h){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:u=!0;break;case 36:u=!1;break;default:if(!A.T){if(!u||c.WTF)throw new Error("Unexpected record 0x"+h.toString(16))}}},c)}(e,0,0,n)}function BE(e,r,t){return r.slice(-4)===".bin"?function(n,a,s){var o={Types:[],Cell:[],Value:[]},i=s||{},c=[],u=!1,l=2;return Mu(n,function(A,h,f){switch(f){case 335:o.Types.push({name:A.name});break;case 51:A.forEach(function(d){l==1?o.Cell.push({type:o.Types[d[0]-1].name,index:d[1]}):l==0&&o.Value.push({type:o.Types[d[0]-1].name,index:d[1]})});break;case 337:l=A?1:0;break;case 338:l=2;break;case 35:c.push(f),u=!0;break;case 36:c.pop(),u=!1;break;default:if(!h.T){if(!u||i.WTF&&c[c.length-1]!=35)throw new Error("Unexpected record 0x"+f.toString(16))}}}),o}(e,0,t):function(n,a,s){var o={Types:[],Cell:[],Value:[]};if(!n)return o;var i,c=!1,u=2;return n.replace(us,function(l){var A=ci(l);switch(au(A[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":o.Types.push({name:A.name});break;case"<futureMetadata":for(var h=0;h<o.Types.length;++h)o.Types[h].name==A.name&&(i=o.Types[h]);break;case"<rc":u==1?o.Cell.push({type:o.Types[A.t-1].name,index:+A.v}):u==0&&o.Value.push({type:o.Types[A.t-1].name,index:+A.v});break;case"<cellMetadata":u=1;break;case"</cellMetadata>":case"</valueMetadata>":u=2;break;case"<valueMetadata":u=0;break;case"<ext":c=!0;break;case"</ext>":c=!1;break;case"<rvb":if(!i)break;i.offsets||(i.offsets=[]),i.offsets.push(+A.i);break;default:if(!c&&s.WTF)throw new Error("unrecognized "+A[0]+" in metadata")}return l}),o}(e,0,t)}function QE(e,r,t,n,a){return(r.slice(-4)===".bin"?hE:gy)(e,t,n,a)}function kE(e,r,t){return(r.slice(-4)===".bin"?QC:df)(e)}var If,Sy=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,_y=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Gc(e,r){var t=e.split(/\s+/),n=[];if(r||(n[0]=t[0]),t.length===1)return n;var a,s,o,i=e.match(Sy);if(i)for(o=0;o!=i.length;++o)(s=(a=i[o].match(_y))[1].indexOf(":"))===-1?n[a[1]]=a[2].slice(1,a[2].length-1):n[a[1].slice(0,6)==="xmlns:"?"xmlns"+a[1].slice(6):a[1].slice(s+1)]=a[2].slice(1,a[2].length-1);return n}function xE(e){var r={};if(e.split(/\s+/).length===1)return r;var t,n,a,s=e.match(Sy);if(s)for(a=0;a!=s.length;++a)(n=(t=s[a].match(_y))[1].indexOf(":"))===-1?r[t[1]]=t[2].slice(1,t[2].length-1):r[t[1].slice(0,6)==="xmlns:"?"xmlns"+t[1].slice(6):t[1].slice(n+1)]=t[2].slice(1,t[2].length-1);return r}function SE(e,r,t,n){var a=n;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Fa(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=Ga(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+t[0])}e[Mi(r)]=a}function _E(e,r,t){if(e.t!=="z"){if(!t||t.cellText!==!1)try{e.t==="e"?e.w=e.w||Lu[e.v]:r==="General"?e.t==="n"?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=qh(e.v):e.w=jl(e.v):e.w=(n=r||"General",a=e.v,(s=If[n]||Mi(n))==="General"?jl(a):Cs(s,a))}catch(c){if(t.WTF)throw c}var n,a,s;try{var o=If[r]||r||"General";if(t.cellNF&&(e.z=o),t.cellDates&&e.t=="n"&&JA(o)){var i=Ul(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(c){if(t.WTF)throw c}}}function Dy(e,r,t){if(t.cellStyles&&r.Interior){var n=r.Interior;n.Pattern&&(n.patternType=sC[n.Pattern]||n.Pattern)}e[r.ID]=r}function DE(e,r,t,n,a,s,o,i,c,u){var l="General",A=n.StyleID,h={};u=u||{};var f=[],d=0;for(A===void 0&&i&&(A=i.StyleID),A===void 0&&o&&(A=o.StyleID);s[A]!==void 0&&(s[A].nf&&(l=s[A].nf),s[A].Interior&&f.push(s[A].Interior),s[A].Parent);)A=s[A].Parent;switch(t.Type){case"Boolean":n.t="b",n.v=Fa(e);break;case"String":n.t="s",n.r=gv(Mi(e)),n.v=e.indexOf("<")>-1?Mi(r||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),n.v=(Ga(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=Mi(e):n.v<60&&(n.v=n.v-1),l&&l!="General"||(l="yyyy-mm-dd");case"Number":n.v===void 0&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Kv[e],u.cellText!==!1&&(n.w=e);break;default:e==""&&r==""?n.t="z":(n.t="s",n.v=gv(r||e))}if(_E(n,l,u),u.cellFormula!==!1)if(n.Formula){var g=Mi(n.Formula);g.charCodeAt(0)==61&&(g=g.slice(1)),n.f=ih(g,a),delete n.Formula,n.ArrayRange=="RC"?n.F=ih("RC:RC",a):n.ArrayRange&&(n.F=ih(n.ArrayRange,a),c.push([ea(n.F),n.F]))}else for(d=0;d<c.length;++d)a.r>=c[d][0].s.r&&a.r<=c[d][0].e.r&&a.c>=c[d][0].s.c&&a.c<=c[d][0].e.c&&(n.F=c[d][1]);u.cellStyles&&(f.forEach(function(p){!h.patternType&&p.patternType&&(h.patternType=p.patternType)}),n.s=h),n.StyleID!==void 0&&(n.ixfe=n.StyleID)}function Ry(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,`
  211. `).replace(/\r/g,`
  212. `),e.v=e.w=e.ixfe=void 0}function fp(e,r){var t=r||{};qA();var n=Yh(w0(e));t.type!="binary"&&t.type!="array"&&t.type!="base64"||(n=ua(n));var a,s=n.slice(0,1024).toLowerCase(),o=!1;if((1023&(s=s.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&s.indexOf(","),1023&s.indexOf(";"))){var i=Ra(t);return i.type="string",th.to_workbook(n,i)}if(s.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(Z){s.indexOf("<"+Z)>=0&&(o=!0)}),o)return function(Z,ce){var ye=Z.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!ye||ye.length==0)throw new Error("Invalid HTML: could not find <table>");if(ye.length==1)return Kl(Ty(ye[0],ce),ce);var Ve={SheetNames:[],Sheets:{}};return ye.forEach(function(dt,re){Zy(Ve,Ty(dt,ce),"Sheet"+(re+1))}),Ve}(n,t);If={"General Number":"General","General Date":ai[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":ai[15],"Short Date":ai[14],"Long Time":ai[19],"Medium Time":ai[18],"Short Time":ai[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:ai[2],Standard:ai[4],Percent:ai[10],Scientific:ai[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,u,l=[],A={},h=[],f=t.dense?[]:{},d="",g={},p={},m=Gc('<Data ss:Type="String">'),v=0,y=0,I=0,E={s:{r:2e6,c:2e6},e:{r:0,c:0}},k={},R={},T="",j=0,W=[],H={},X={},x=0,N=[],C=[],w={},Q=[],B=!1,S=[],O=[],F={},Y=0,M=0,z={Sheets:[],WBProps:{date1904:!1}},ue={};$h.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/gm,"");for(var ae="";a=$h.exec(n);)switch(a[3]=(ae=a[3]).toLowerCase()){case"data":if(ae=="data"){if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else a[0].charAt(a[0].length-2)!=="/"&&l.push([a[3],!0]);break}if(l[l.length-1][1])break;a[1]==="/"?DE(n.slice(v,a.index),T,m,l[l.length-1][0]=="comment"?w:g,{c:y,r:I},k,Q[y],p,S,t):(T="",m=Gc(a[0]),v=a.index+a[0].length);break;case"cell":if(a[1]==="/")if(C.length>0&&(g.c=C),(!t.sheetRows||t.sheetRows>I)&&g.v!==void 0&&(t.dense?(f[I]||(f[I]=[]),f[I][y]=g):f[Eo(y)+Ho(I)]=g),g.HRef&&(g.l={Target:Mi(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(Y=y+(0|parseInt(g.MergeAcross,10)),M=I+(0|parseInt(g.MergeDown,10)),W.push({s:{c:y,r:I},e:{c:Y,r:M}})),t.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var Ne=y;Ne<=Y;++Ne)for(var Ge=I;Ge<=M;++Ge)(Ne>y||Ge>I)&&(t.dense?(f[Ge]||(f[Ge]=[]),f[Ge][Ne]={t:"z"}):f[Eo(Ne)+Ho(Ge)]={t:"z"});y=Y+1}else++y;else g.MergeAcross?y=Y+1:++y;else(g=xE(a[0])).Index&&(y=+g.Index-1),y<E.s.c&&(E.s.c=y),y>E.e.c&&(E.e.c=y),a[0].slice(-2)==="/>"&&++y,C=[];break;case"row":a[1]==="/"||a[0].slice(-2)==="/>"?(I<E.s.r&&(E.s.r=I),I>E.e.r&&(E.e.r=I),a[0].slice(-2)==="/>"&&(p=Gc(a[0])).Index&&(I=+p.Index-1),y=0,++I):((p=Gc(a[0])).Index&&(I=+p.Index-1),F={},(p.AutoFitHeight=="0"||p.Height)&&(F.hpx=parseInt(p.Height,10),F.hpt=hf(F.hpx),O[I]=F),p.Hidden=="1"&&(F.hidden=!0,O[I]=F));break;case"worksheet":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));h.push(d),E.s.r<=E.e.r&&E.s.c<=E.e.c&&(f["!ref"]=_i(E),t.sheetRows&&t.sheetRows<=E.e.r&&(f["!fullref"]=f["!ref"],E.e.r=t.sheetRows-1,f["!ref"]=_i(E))),W.length&&(f["!merges"]=W),Q.length>0&&(f["!cols"]=Q),O.length>0&&(f["!rows"]=O),A[d]=f}else E={s:{r:2e6,c:2e6},e:{r:0,c:0}},I=y=0,l.push([a[3],!1]),c=Gc(a[0]),d=Mi(c.Name),f=t.dense?[]:{},W=[],S=[],O=[],ue={name:d,Hidden:0},z.Sheets.push(ue);break;case"table":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else{if(a[0].slice(-2)=="/>")break;l.push([a[3],!1]),Q=[],B=!1}break;case"style":a[1]==="/"?Dy(k,R,t):R=Gc(a[0]);break;case"numberformat":R.nf=Mi(Gc(a[0]).Format||"General"),If[R.nf]&&(R.nf=If[R.nf]);for(var Ye=0;Ye!=392&&ai[Ye]!=R.nf;++Ye);if(Ye==392){for(Ye=57;Ye!=392;++Ye)if(ai[Ye]==null){Fu(R.nf,Ye);break}}break;case"column":if(l[l.length-1][0]!=="table")break;if((u=Gc(a[0])).Hidden&&(u.hidden=!0,delete u.Hidden),u.Width&&(u.wpx=parseInt(u.Width,10)),!B&&u.wpx>10){B=!0,ds=Pm;for(var Ae=0;Ae<Q.length;++Ae)Q[Ae]&&dl(Q[Ae])}B&&dl(u),Q[u.Index-1||Q.length]=u;for(var te=0;te<+u.Span;++te)Q[Q.length]=Ra(u);break;case"namedrange":if(a[1]==="/")break;z.Names||(z.Names=[]);var he=ci(a[0]),de={Name:he.Name,Ref:ih(he.RefersTo.slice(1),{r:0,c:0})};z.Sheets.length>0&&(de.Sheet=z.Sheets.length-1),z.Names.push(de);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(a[0].slice(-2)==="/>")break;a[1]==="/"?T+=n.slice(j,a.index):j=a.index+a[0].length;break;case"interior":if(!t.cellStyles)break;R.Interior=Gc(a[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(a[0].slice(-2)==="/>")break;a[1]==="/"?im(H,ae,n.slice(x,a.index)):x=a.index+a[0].length;break;case"styles":case"workbook":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else l.push([a[3],!1]);break;case"comment":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"));Ry(w),C.push(w)}else l.push([a[3],!1]),w={a:(c=Gc(a[0])).Author};break;case"autofilter":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else if(a[0].charAt(a[0].length-2)!=="/"){var Ke=Gc(a[0]);f["!autofilter"]={ref:ih(Ke.Range).replace(/\$/g,"")},l.push([a[3],!0])}break;case"datavalidation":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else a[0].charAt(a[0].length-2)!=="/"&&l.push([a[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"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(a[1]==="/"){if((c=l.pop())[0]!==a[3])throw new Error("Bad state: "+c.join("|"))}else a[0].charAt(a[0].length-2)!=="/"&&l.push([a[3],!0]);break;default:if(l.length==0&&a[3]=="document"||l.length==0&&a[3]=="uof")return zd(n,t);var le=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(a[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:le=!1}break;case"componentoptions":switch(a[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:le=!1}break;case"excelworkbook":switch(a[3]){case"date1904":z.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:le=!1}break;case"workbookoptions":switch(a[3]){case"owcversion":case"height":case"width":break;default:le=!1}break;case"worksheetoptions":switch(a[3]){case"visible":if(a[0].slice(-2)!=="/>")if(a[1]==="/")switch(n.slice(x,a.index)){case"SheetHidden":ue.Hidden=1;break;case"SheetVeryHidden":ue.Hidden=2}else x=a.index+a[0].length;break;case"header":f["!margins"]||iA(f["!margins"]={},"xlml"),isNaN(+ci(a[0]).Margin)||(f["!margins"].header=+ci(a[0]).Margin);break;case"footer":f["!margins"]||iA(f["!margins"]={},"xlml"),isNaN(+ci(a[0]).Margin)||(f["!margins"].footer=+ci(a[0]).Margin);break;case"pagemargins":var Ce=ci(a[0]);f["!margins"]||iA(f["!margins"]={},"xlml"),isNaN(+Ce.Top)||(f["!margins"].top=+Ce.Top),isNaN(+Ce.Left)||(f["!margins"].left=+Ce.Left),isNaN(+Ce.Right)||(f["!margins"].right=+Ce.Right),isNaN(+Ce.Bottom)||(f["!margins"].bottom=+Ce.Bottom);break;case"displayrighttoleft":z.Views||(z.Views=[]),z.Views[0]||(z.Views[0]={}),z.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:le=!1}break;case"pivottable":case"pivotcache":switch(a[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:le=!1}break;case"pagebreaks":switch(a[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:le=!1}break;case"autofilter":switch(a[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:le=!1}break;case"querytable":switch(a[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:le=!1}break;case"datavalidation":switch(a[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:le=!1}break;case"sorting":case"conditionalformatting":switch(a[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:le=!1}break;case"mapinfo":case"schema":case"data":switch(a[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:le=!1}break;case"smarttags":break;default:le=!1}if(le||a[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+a[3]+"|"+l.join("|");if(l[l.length-1][0]==="customdocumentproperties"){if(a[0].slice(-2)==="/>")break;a[1]==="/"?SE(X,ae,N,n.slice(x,a.index)):(N=a,x=a.index+a[0].length);break}if(t.WTF)throw"Unrecognized tag: "+a[3]+"|"+l.join("|")}var At={};return t.bookSheets||t.bookProps||(At.Sheets=A),At.SheetNames=h,At.Workbook=z,At.SSF=Ra(ai),At.Props=H,At.Custprops=X,At}function bf(e,r){switch(Cp(r=r||{}),r.type||"base64"){case"base64":return fp($s(e),r);case"binary":case"buffer":case"file":return fp(e,r);case"array":return fp(Du(e),r)}}function dp(e,r){var t=[];return e.Props&&t.push(function(n,a){var s=[];return za(j0).map(function(o){for(var i=0;i<vc.length;++i)if(vc[i][1]==o)return vc[i];for(i=0;i<$l.length;++i)if($l[i][1]==o)return $l[i];throw o}).forEach(function(o){if(n[o[1]]!=null){var i=a&&a.Props&&a.Props[o[1]]!=null?a.Props[o[1]]:n[o[1]];o[2]==="date"&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"Z")),typeof i=="number"?i=String(i):i===!0||i===!1?i=i?"1":"0":i instanceof Date&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"")),s.push(Xo(j0[o[1]]||o[1],i))}}),Zr("DocumentProperties",s.join(""),{xmlns:nc.o})}(e.Props,r)),e.Custprops&&t.push(function(n,a){var s=["Worksheets","SheetNames"],o="CustomDocumentProperties",i=[];return n&&za(n).forEach(function(c){if(Object.prototype.hasOwnProperty.call(n,c)){for(var u=0;u<vc.length;++u)if(c==vc[u][1])return;for(u=0;u<$l.length;++u)if(c==$l[u][1])return;for(u=0;u<s.length;++u)if(c==s[u])return;var l=n[c],A="string";typeof l=="number"?(A="float",l=String(l)):l===!0||l===!1?(A="boolean",l=l?"1":"0"):l=String(l),i.push(Zr(fv(c),l,{"dt:dt":A}))}}),a&&za(a).forEach(function(c){if(Object.prototype.hasOwnProperty.call(a,c)&&(!n||!Object.prototype.hasOwnProperty.call(n,c))){var u=a[c],l="string";typeof u=="number"?(l="float",u=String(u)):u===!0||u===!1?(l="boolean",u=u?"1":"0"):u instanceof Date?(l="dateTime.tz",u=u.toISOString()):u=String(u),i.push(Zr(fv(c),u,{"dt:dt":l}))}}),"<"+o+' xmlns="'+nc.o+'">'+i.join("")+"</"+o+">"}(e.Props,e.Custprops)),t.join("")}function Wd(e){return Zr("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+ip(e.Ref,{r:0,c:0})})}function Fy(e,r,t,n,a,s,o){if(!e||e.v==null&&e.f==null)return"";var i={};if(e.f&&(i["ss:Formula"]="="+ca(ip(e.f,o))),e.F&&e.F.slice(0,r.length)==r){var c=Do(e.F.slice(r.length+1));i["ss:ArrayRange"]="RC:R"+(c.r==o.r?"":"["+(c.r-o.r)+"]")+"C"+(c.c==o.c?"":"["+(c.c-o.c)+"]")}if(e.l&&e.l.Target&&(i["ss:HRef"]=ca(e.l.Target),e.l.Tooltip&&(i["x:HRefScreenTip"]=ca(e.l.Tooltip))),t["!merges"])for(var u=t["!merges"],l=0;l!=u.length;++l)u[l].s.c==o.c&&u[l].s.r==o.r&&(u[l].e.c>u[l].s.c&&(i["ss:MergeAcross"]=u[l].e.c-u[l].s.c),u[l].e.r>u[l].s.r&&(i["ss:MergeDown"]=u[l].e.r-u[l].s.r));var A="",h="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":A="Number",h=String(e.v);break;case"b":A="Boolean",h=e.v?"1":"0";break;case"e":A="Error",h=Lu[e.v];break;case"d":A="DateTime",h=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||ai[14]);break;case"s":A="String",h=((e.v||"")+"").replace(b0,function(p){return I0[p]}).replace(dv,function(p){return"&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"})}var f=vl(n.cellXfs,e,n);i["ss:StyleID"]="s"+(21+f),i["ss:Index"]=o.c+1;var d=e.v!=null?h:"",g=e.t=="z"?"":'<Data ss:Type="'+A+'">'+d+"</Data>";return(e.c||[]).length>0&&(g+=e.c.map(function(p){var m=Zr("ss:Data",(p.t||"").replace(/(\r\n|[\r\n])/g,"&#10;"),{xmlns:"http://www.w3.org/TR/REC-html40"});return Zr("Comment",m,{"ss:Author":p.a})}).join("")),Zr("Cell",g,i)}function Ny(e,r){var t='<Row ss:Index="'+(e+1)+'"';return r&&(r.hpt&&!r.hpx&&(r.hpx=gl(r.hpt)),r.hpx&&(t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"'),r.hidden&&(t+=' ss:Hidden="1"')),t+">"}function RE(e,r,t){var n=[],a=t.SheetNames[e],s=t.Sheets[a],o=s?function(i,c,u,l){if(!i||!((l||{}).Workbook||{}).Names)return"";for(var A=l.Workbook.Names,h=[],f=0;f<A.length;++f){var d=A[f];d.Sheet==u&&(d.Name.match(/^_xlfn\./)||h.push(Wd(d)))}return h.join("")}(s,0,e,t):"";return o.length>0&&n.push("<Names>"+o+"</Names>"),o=s?function(i,c,u,l){if(!i["!ref"])return"";var A=ea(i["!ref"]),h=i["!merges"]||[],f=0,d=[];i["!cols"]&&i["!cols"].forEach(function(R,T){dl(R);var j=!!R.width,W=qd(T,R),H={"ss:Index":T+1};j&&(H["ss:Width"]=Af(W.width)),R.hidden&&(H["ss:Hidden"]="1"),d.push(Zr("Column",null,H))});for(var g=Array.isArray(i),p=A.s.r;p<=A.e.r;++p){for(var m=[Ny(p,(i["!rows"]||[])[p])],v=A.s.c;v<=A.e.c;++v){var y=!1;for(f=0;f!=h.length;++f)if(!(h[f].s.c>v||h[f].s.r>p||h[f].e.c<v||h[f].e.r<p)){h[f].s.c==v&&h[f].s.r==p||(y=!0);break}if(!y){var I={r:p,c:v},E=In(I),k=g?(i[p]||[])[v]:i[E];m.push(Fy(k,E,i,c,0,0,I))}}m.push("</Row>"),m.length>2&&d.push(m.join(""))}return d.join("")}(s,r):"",o.length>0&&n.push("<Table>"+o+"</Table>"),n.push(function(i,c,u,l){if(!i)return"";var A=[];if(i["!margins"]&&(A.push("<PageSetup>"),i["!margins"].header&&A.push(Zr("Header",null,{"x:Margin":i["!margins"].header})),i["!margins"].footer&&A.push(Zr("Footer",null,{"x:Margin":i["!margins"].footer})),A.push(Zr("PageMargins",null,{"x:Bottom":i["!margins"].bottom||"0.75","x:Left":i["!margins"].left||"0.7","x:Right":i["!margins"].right||"0.7","x:Top":i["!margins"].top||"0.75"})),A.push("</PageSetup>")),l&&l.Workbook&&l.Workbook.Sheets&&l.Workbook.Sheets[u])if(l.Workbook.Sheets[u].Hidden)A.push(Zr("Visible",l.Workbook.Sheets[u].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var h=0;h<u&&(!l.Workbook.Sheets[h]||l.Workbook.Sheets[h].Hidden);++h);h==u&&A.push("<Selected/>")}return((((l||{}).Workbook||{}).Views||[])[0]||{}).RTL&&A.push("<DisplayRightToLeft/>"),i["!protect"]&&(A.push(Xo("ProtectContents","True")),i["!protect"].objects&&A.push(Xo("ProtectObjects","True")),i["!protect"].scenarios&&A.push(Xo("ProtectScenarios","True")),i["!protect"].selectLockedCells==null||i["!protect"].selectLockedCells?i["!protect"].selectUnlockedCells==null||i["!protect"].selectUnlockedCells||A.push(Xo("EnableSelection","UnlockedCells")):A.push(Xo("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(f){i["!protect"][f[0]]&&A.push("<"+f[1]+"/>")})),A.length==0?"":Zr("WorksheetOptions",A.join(""),{xmlns:nc.x})}(s,0,e,t)),n.join("")}function Gu(e,r){r||(r={}),e.SSF||(e.SSF=Ra(ai)),e.SSF&&(qA(),Id(e.SSF),r.revssf=Cd(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF,r.cellXfs=[],vl(r.cellXfs,{},{revssf:{General:0}}));var t=[];t.push(dp(e,r)),t.push(""),t.push(""),t.push("");for(var n=0;n<e.SheetNames.length;++n)t.push(Zr("Worksheet",RE(n,r,e),{"ss:Name":ca(e.SheetNames[n])}));return t[2]=function(a,s){var o=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return s.cellXfs.forEach(function(i,c){var u=[];u.push(Zr("NumberFormat",null,{"ss:Format":ca(ai[i.numFmtId])}));var l={"ss:ID":"s"+(21+c)};o.push(Zr("Style",u.join(""),l))}),Zr("Styles",o.join(""))}(0,r),t[3]=function(a){if(!((a||{}).Workbook||{}).Names)return"";for(var s=a.Workbook.Names,o=[],i=0;i<s.length;++i){var c=s[i];c.Sheet==null&&(c.Name.match(/^_xlfn\./)||o.push(Wd(c)))}return Zr("Names",o.join(""))}(e),fo+Zr("Workbook",t.join(""),{xmlns:nc.ss,"xmlns:o":nc.o,"xmlns:x":nc.x,"xmlns:ss":nc.ss,"xmlns:dt":nc.dt,"xmlns:html":nc.html})}function FE(e){var r={},t=e.content;if(t.l=28,r.AnsiUserType=t.read_shift(0,"lpstr-ansi"),r.AnsiClipboardFormat=function(a){return M0(a,1)}(t),t.length-t.l<=4)return r;var n=t.read_shift(4);return n==0||n>40?r:(t.l-=4,r.Reserved1=t.read_shift(0,"lpstr-ansi"),t.length-t.l<=4||(n=t.read_shift(4))!==1907505652?r:(r.UnicodeClipboardFormat=function(a){return M0(a,2)}(t),(n=t.read_shift(4))==0||n>40?r:(t.l-=4,void(r.Reserved2=t.read_shift(0,"lpwstr")))))}var NE=[60,1084,2066,2165,2175];function ME(e,r,t,n,a){var s=n,o=[],i=t.slice(t.l,t.l+s);if(a&&a.enc&&a.enc.insitu&&i.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:a.enc.insitu(i)}o.push(i),t.l+=s;for(var c=ou(t,t.l),u=pp[c],l=0;u!=null&&NE.indexOf(c)>-1;)s=ou(t,t.l+2),l=t.l+4,c==2066?l+=4:c!=2165&&c!=2175||(l+=12),i=t.slice(l,t.l+4+s),o.push(i),t.l+=4+s,u=pp[c=ou(t,t.l)];var A=jo(o);$o(A,0);var h=0;A.lens=[];for(var f=0;f<o.length;++f)A.lens.push(h),h+=o[f].length;if(A.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+A.length+" < "+n;return r.f(A,A.length,a)}function Uc(e,r,t){if(e.t!=="z"&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,r.cellNF&&(e.z=ai[n])}catch(s){if(r.WTF)throw s}if(!r||r.cellText!==!1)try{e.t==="e"?e.w=e.w||Lu[e.v]:n===0||n=="General"?e.t==="n"?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=qh(e.v):e.w=jl(e.v):e.w=Cs(n,e.v,{date1904:!!t,dateNF:r&&r.dateNF})}catch(s){if(r.WTF)throw s}if(r.cellDates&&n&&e.t=="n"&&JA(ai[n]||String(n))){var a=Ul(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}}function Kd(e,r,t){return{v:e,ixfe:r,t}}function TE(e,r){var t,n,a,s,o,i,c,u,l={opts:{}},A={},h=r.dense?[]:{},f={},d={},g=null,p=[],m="",v={},y="",I={},E=[],k=[],R=[],T={Sheets:[],WBProps:{date1904:!1},Views:[{}]},j={},W=function(Me){return Me<8?VA[Me]:Me<64&&R[Me-8]||VA[Me]},H=function(Me,yt,pe){if(!(F>1||pe.sheetRows&&Me.r>=pe.sheetRows)){if(pe.cellStyles&&yt.XF&&yt.XF.data&&function(Re,Ze,ke){var Pe,_e=Ze.XF.data;_e&&_e.patternType&&ke&&ke.cellStyles&&(Ze.s={},Ze.s.patternType=_e.patternType,(Pe=lf(W(_e.icvFore)))&&(Ze.s.fgColor={rgb:Pe}),(Pe=lf(W(_e.icvBack)))&&(Ze.s.bgColor={rgb:Pe}))}(0,yt,pe),delete yt.ixfe,delete yt.XF,t=Me,y=In(Me),d&&d.s&&d.e||(d={s:{r:0,c:0},e:{r:0,c:0}}),Me.r<d.s.r&&(d.s.r=Me.r),Me.c<d.s.c&&(d.s.c=Me.c),Me.r+1>d.e.r&&(d.e.r=Me.r+1),Me.c+1>d.e.c&&(d.e.c=Me.c+1),pe.cellFormula&&yt.f){for(var me=0;me<E.length;++me)if(!(E[me][0].s.c>Me.c||E[me][0].s.r>Me.r||E[me][0].e.c<Me.c||E[me][0].e.r<Me.r)){yt.F=_i(E[me][0]),E[me][0].s.c==Me.c&&E[me][0].s.r==Me.r||delete yt.f,yt.f&&(yt.f=""+gs(E[me][1],0,Me,B,X));break}}pe.dense?(h[Me.r]||(h[Me.r]=[]),h[Me.r][Me.c]=yt):h[y]=yt}},X={enc:!1,sbcch:0,snames:[],sharedf:I,arrayf:E,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};r.password&&(X.password=r.password);var x=[],N=[],C=[],w=[],Q=!1,B=[];B.SheetNames=X.snames,B.sharedf=X.sharedf,B.arrayf=X.arrayf,B.names=[],B.XTI=[];var S,O=0,F=0,Y=0,M=[],z=[];X.codepage=1200,Mc(1200);for(var ue=!1;e.l<e.length-1;){var ae=e.l,Ne=e.read_shift(2);if(Ne===0&&O===10)break;var Ge=e.l===e.length?0:e.read_shift(2),Ye=pp[Ne];if(Ye&&Ye.f){if(r.bookSheets&&O===133&&Ne!==133)break;if(O=Ne,Ye.r===2||Ye.r==12){var Ae=e.read_shift(2);if(Ge-=2,!X.enc&&Ae!==Ne&&((255&Ae)<<8|Ae>>8)!==Ne)throw new Error("rt mismatch: "+Ae+"!="+Ne);Ye.r==12&&(e.l+=10,Ge-=10)}var te={};if(te=Ne===10?Ye.f(e,Ge,X):ME(Ne,Ye,e,Ge,X),F==0&&[9,521,1033,2057].indexOf(O)===-1)continue;switch(Ne){case 34:l.opts.Date1904=T.WBProps.date1904=te;break;case 134:l.opts.WriteProtect=!0;break;case 47:if(X.enc||(e.l=0),X.enc=te,!r.password)throw new Error("File is password-protected");if(te.valid==null)throw new Error("Encryption scheme unsupported");if(!te.valid)throw new Error("Password is incorrect");break;case 92:X.lastuser=te;break;case 66:var he=Number(te);switch(he){case 21010:he=1200;break;case 32768:he=1e4;break;case 32769:he=1252}Mc(X.codepage=he),ue=!0;break;case 317:X.rrtabid=te;break;case 25:X.winlocked=te;break;case 439:l.opts.RefreshAll=te;break;case 12:l.opts.CalcCount=te;break;case 16:l.opts.CalcDelta=te;break;case 17:l.opts.CalcIter=te;break;case 13:l.opts.CalcMode=te;break;case 14:l.opts.CalcPrecision=te;break;case 95:l.opts.CalcSaveRecalc=te;break;case 15:X.CalcRefMode=te;break;case 2211:l.opts.FullCalc=te;break;case 129:te.fDialog&&(h["!type"]="dialog"),te.fBelow||((h["!outline"]||(h["!outline"]={})).above=!0),te.fRight||((h["!outline"]||(h["!outline"]={})).left=!0);break;case 224:k.push(te);break;case 430:B.push([te]),B[B.length-1].XTI=[];break;case 35:case 547:B[B.length-1].push(te);break;case 24:case 536:S={Name:te.Name,Ref:gs(te.rgce,0,null,B,X)},te.itab>0&&(S.Sheet=te.itab-1),B.names.push(S),B[0]||(B[0]=[],B[0].XTI=[]),B[B.length-1].push(te),te.Name=="_xlnm._FilterDatabase"&&te.itab>0&&te.rgce&&te.rgce[0]&&te.rgce[0][0]&&te.rgce[0][0][0]=="PtgArea3d"&&(z[te.itab-1]={ref:_i(te.rgce[0][0][1][2])});break;case 22:X.ExternCount=te;break;case 23:B.length==0&&(B[0]=[],B[0].XTI=[]),B[B.length-1].XTI=B[B.length-1].XTI.concat(te),B.XTI=B.XTI.concat(te);break;case 2196:if(X.biff<8)break;S!=null&&(S.Comment=te[1]);break;case 18:h["!protect"]=te;break;case 19:te!==0&&X.WTF&&console.error("Password verifier: "+te);break;case 133:f[te.pos]=te,X.snames.push(te.name);break;case 10:if(--F)break;if(d.e){if(d.e.r>0&&d.e.c>0){if(d.e.r--,d.e.c--,h["!ref"]=_i(d),r.sheetRows&&r.sheetRows<=d.e.r){var de=d.e.r;d.e.r=r.sheetRows-1,h["!fullref"]=h["!ref"],h["!ref"]=_i(d),d.e.r=de}d.e.r++,d.e.c++}x.length>0&&(h["!merges"]=x),N.length>0&&(h["!objects"]=N),C.length>0&&(h["!cols"]=C),w.length>0&&(h["!rows"]=w),T.Sheets.push(j)}m===""?v=h:A[m]=h,h=r.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(X.biff===8&&(X.biff={9:2,521:3,1033:4}[Ne]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[te.BIFFVer]||8),X.biffguess=te.BIFFVer==0,te.BIFFVer==0&&te.dt==4096&&(X.biff=5,ue=!0,Mc(X.codepage=28591)),X.biff==8&&te.BIFFVer==0&&te.dt==16&&(X.biff=2),F++)break;if(h=r.dense?[]:{},X.biff<8&&!ue&&(ue=!0,Mc(X.codepage=r.codepage||1252)),X.biff<5||te.BIFFVer==0&&te.dt==4096){m===""&&(m="Sheet1"),d={s:{r:0,c:0},e:{r:0,c:0}};var Ke={pos:e.l-Ge,name:m};f[Ke.pos]=Ke,X.snames.push(m)}else m=(f[ae]||{name:""}).name;te.dt==32&&(h["!type"]="chart"),te.dt==64&&(h["!type"]="macro"),x=[],N=[],X.arrayf=E=[],C=[],w=[],Q=!1,j={Hidden:(f[ae]||{hs:0}).hs,name:m};break;case 515:case 3:case 2:h["!type"]=="chart"&&(r.dense?(h[te.r]||[])[te.c]:h[In({c:te.c,r:te.r})])&&++te.c,i={ixfe:te.ixfe,XF:k[te.ixfe]||{},v:te.val,t:"n"},Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:te.c,r:te.r},i,r);break;case 5:case 517:i={ixfe:te.ixfe,XF:k[te.ixfe],v:te.val,t:te.t},Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:te.c,r:te.r},i,r);break;case 638:i={ixfe:te.ixfe,XF:k[te.ixfe],v:te.rknum,t:"n"},Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:te.c,r:te.r},i,r);break;case 189:for(var le=te.c;le<=te.C;++le){var Ce=te.rkrec[le-te.c][0];i={ixfe:Ce,XF:k[Ce],v:te.rkrec[le-te.c][1],t:"n"},Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:le,r:te.r},i,r)}break;case 6:case 518:case 1030:if(te.val=="String"){g=te;break}if((i=Kd(te.val,te.cell.ixfe,te.tt)).XF=k[i.ixfe],r.cellFormula){var At=te.formula;if(At&&At[0]&&At[0][0]&&At[0][0][0]=="PtgExp"){var Z=At[0][0][1][0],ce=At[0][0][1][1],ye=In({r:Z,c:ce});I[ye]?i.f=""+gs(te.formula,0,te.cell,B,X):i.F=((r.dense?(h[Z]||[])[ce]:h[ye])||{}).F}else i.f=""+gs(te.formula,0,te.cell,B,X)}Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H(te.cell,i,r),g=te;break;case 7:case 519:if(!g)throw new Error("String record expects Formula");g.val=te,(i=Kd(te,g.cell.ixfe,"s")).XF=k[i.ixfe],r.cellFormula&&(i.f=""+gs(g.formula,0,g.cell,B,X)),Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H(g.cell,i,r),g=null;break;case 33:case 545:E.push(te);var Ve=In(te[0].s);if(n=r.dense?(h[te[0].s.r]||[])[te[0].s.c]:h[Ve],r.cellFormula&&n){if(!g||!Ve||!n)break;n.f=""+gs(te[1],0,te[0],B,X),n.F=_i(te[0])}break;case 1212:if(!r.cellFormula)break;if(y){if(!g)break;I[In(g.cell)]=te[0],((n=r.dense?(h[g.cell.r]||[])[g.cell.c]:h[In(g.cell)])||{}).f=""+gs(te[0],0,t,B,X)}break;case 253:i=Kd(p[te.isst].t,te.ixfe,"s"),p[te.isst].h&&(i.h=p[te.isst].h),i.XF=k[i.ixfe],Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:te.c,r:te.r},i,r);break;case 513:r.sheetStubs&&(i={ixfe:te.ixfe,XF:k[te.ixfe],t:"z"},Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:te.c,r:te.r},i,r));break;case 190:if(r.sheetStubs)for(var dt=te.c;dt<=te.C;++dt){var re=te.ixfe[dt-te.c];i={ixfe:re,XF:k[re],t:"z"},Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:dt,r:te.r},i,r)}break;case 214:case 516:case 4:(i=Kd(te.val,te.ixfe,"s")).XF=k[i.ixfe],Y>0&&(i.z=M[i.ixfe>>8&63]),Uc(i,r,l.opts.Date1904),H({c:te.c,r:te.r},i,r);break;case 0:case 512:F===1&&(d=te);break;case 252:p=te;break;case 1054:if(X.biff==4){M[Y++]=te[1];for(var ot=0;ot<Y+163&&ai[ot]!=te[1];++ot);ot>=163&&Fu(te[1],Y+163)}else Fu(te[1],te[0]);break;case 30:M[Y++]=te;for(var pt=0;pt<Y+163&&ai[pt]!=te;++pt);pt>=163&&Fu(te,Y+163);break;case 229:x=x.concat(te);break;case 93:N[te.cmo[0]]=X.lastobj=te;break;case 438:X.lastobj.TxO=te;break;case 127:X.lastobj.ImData=te;break;case 440:for(o=te[0].s.r;o<=te[0].e.r;++o)for(s=te[0].s.c;s<=te[0].e.c;++s)(n=r.dense?(h[o]||[])[s]:h[In({c:s,r:o})])&&(n.l=te[1]);break;case 2048:for(o=te[0].s.r;o<=te[0].e.r;++o)for(s=te[0].s.c;s<=te[0].e.c;++s)(n=r.dense?(h[o]||[])[s]:h[In({c:s,r:o})])&&n.l&&(n.l.Tooltip=te[1]);break;case 28:if(X.biff<=5&&X.biff>=2)break;n=r.dense?(h[te[0].r]||[])[te[0].c]:h[In(te[0])];var Be=N[te[2]];n||(r.dense?(h[te[0].r]||(h[te[0].r]=[]),n=h[te[0].r][te[0].c]={t:"z"}):n=h[In(te[0])]={t:"z"},d.e.r=Math.max(d.e.r,te[0].r),d.s.r=Math.min(d.s.r,te[0].r),d.e.c=Math.max(d.e.c,te[0].c),d.s.c=Math.min(d.s.c,te[0].c)),n.c||(n.c=[]),a={a:te[1],t:Be.TxO.t},n.c.push(a);break;case 2173:k[te.ixfe],te.ext.forEach(function(Me){Me[0]});break;case 125:if(!X.cellStyles)break;for(;te.e>=te.s;)C[te.e--]={width:te.w/256,level:te.level||0,hidden:!!(1&te.flags)},Q||(Q=!0,Ld(te.w/256)),dl(C[te.e+1]);break;case 520:var Ee={};te.level!=null&&(w[te.r]=Ee,Ee.level=te.level),te.hidden&&(w[te.r]=Ee,Ee.hidden=!0),te.hpt&&(w[te.r]=Ee,Ee.hpt=te.hpt,Ee.hpx=gl(te.hpt));break;case 38:case 39:case 40:case 41:h["!margins"]||iA(h["!margins"]={}),h["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[Ne]]=te;break;case 161:h["!margins"]||iA(h["!margins"]={}),h["!margins"].header=te.header,h["!margins"].footer=te.footer;break;case 574:te.RTL&&(T.Views[0].RTL=!0);break;case 146:R=te;break;case 2198:u=te;break;case 140:c=te;break;case 442:m?j.CodeName=te||j.name:T.WBProps.CodeName=te||"ThisWorkbook"}}else Ye||console.error("Missing Info for XLS Record 0x"+Ne.toString(16)),e.l+=Ge}return l.SheetNames=za(f).sort(function(Me,yt){return Number(Me)-Number(yt)}).map(function(Me){return f[Me].name}),r.bookSheets||(l.Sheets=A),!l.SheetNames.length&&v["!ref"]?(l.SheetNames.push("Sheet1"),l.Sheets&&(l.Sheets.Sheet1=v)):l.Preamble=v,l.Sheets&&z.forEach(function(Me,yt){l.Sheets[l.SheetNames[yt]]["!autofilter"]=Me}),l.Strings=p,l.SSF=Ra(ai),X.enc&&(l.Encryption=X.enc),u&&(l.Themes=u),l.Metadata={},c!==void 0&&(l.Metadata.Country=c),B.names.length>0&&(T.Names=B.names),l.Workbook=T,l}var Cf={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function gp(e,r){var t,n,a,s;if(r||(r={}),Cp(r),c0(),r.codepage&&HA(r.codepage),e.FullPaths){if(Pn.find(e,"/encryption"))throw new Error("File is password-protected");t=Pn.find(e,"!CompObj"),n=Pn.find(e,"/Workbook")||Pn.find(e,"/Book")}else{switch(r.type){case"base64":e=ec($s(e));break;case"binary":e=ec(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}$o(e,0),n={content:e}}if(t&&FE(t),r.bookProps&&!r.bookSheets)a={};else{var o=wi?"buffer":"array";if(n&&n.content)a=TE(n.content,r);else if((s=Pn.find(e,"PerfectOffice_MAIN"))&&s.content)a=nA.to_workbook(s.content,(r.type=o,r));else{if(!(s=Pn.find(e,"NativeContent_MAIN"))||!s.content)throw(s=Pn.find(e,"MN0"))&&s.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");a=nA.to_workbook(s.content,(r.type=o,r))}r.bookVBA&&e.FullPaths&&Pn.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(c){var u=Pn.utils.cfb_new({root:"R"});return c.FullPaths.forEach(function(l,A){if(l.slice(-1)!=="/"&&l.match(/_VBA_PROJECT_CUR/)){var h=l.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Pn.utils.cfb_add(u,h,c.FileIndex[A].content)}}),Pn.write(u)}(e))}var i={};return e.FullPaths&&function(c,u,l){var A=Pn.find(c,"/!DocumentSummaryInformation");if(A&&A.size>0)try{var h=fm(A,L0,Cf.DSI);for(var f in h)u[f]=h[f]}catch(m){if(l.WTF)throw m}var d=Pn.find(c,"/!SummaryInformation");if(d&&d.size>0)try{var g=fm(d,O0,Cf.SI);for(var p in g)u[p]==null&&(u[p]=g[p])}catch(m){if(l.WTF)throw m}u.HeadingPairs&&u.TitlesOfParts&&(tm(u.HeadingPairs,u.TitlesOfParts,u,l),delete u.HeadingPairs,delete u.TitlesOfParts)}(e,i,r),a.Props=a.Custprops=i,r.bookFiles&&(a.cfb=e),a}function LE(e,r){var t=r||{},n=Pn.utils.cfb_new({root:"R"}),a="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":t.bookType||(t.bookType="xla");case"biff8":a="/Workbook",t.biff=8;break;case"biff5":a="/Book",t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB")}return Pn.utils.cfb_add(n,a,My(e,t)),t.biff==8&&(e.Props||e.Custprops)&&function(s,o){var i,c=[],u=[],l=[],A=0,h=rv(L0,"n"),f=rv(O0,"n");if(s.Props)for(i=za(s.Props),A=0;A<i.length;++A)(Object.prototype.hasOwnProperty.call(h,i[A])?c:Object.prototype.hasOwnProperty.call(f,i[A])?u:l).push([i[A],s.Props[i[A]]]);if(s.Custprops)for(i=za(s.Custprops),A=0;A<i.length;++A)Object.prototype.hasOwnProperty.call(s.Props||{},i[A])||(Object.prototype.hasOwnProperty.call(h,i[A])?c:Object.prototype.hasOwnProperty.call(f,i[A])?u:l).push([i[A],s.Custprops[i[A]]]);var d=[];for(A=0;A<l.length;++A)Am.indexOf(l[A][0])>-1||em.indexOf(l[A][0])>-1||l[A][1]!=null&&d.push(l[A]);u.length&&Pn.utils.cfb_add(o,"/SummaryInformation",q0(u,Cf.SI,f,O0)),(c.length||d.length)&&Pn.utils.cfb_add(o,"/DocumentSummaryInformation",q0(c,Cf.DSI,h,L0,d.length?d:null,Cf.UDI))}(e,n),t.biff==8&&e.vbaraw&&function(s,o){o.FullPaths.forEach(function(i,c){if(c!=0){var u=i.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");u.slice(-1)!=="/"&&Pn.utils.cfb_add(s,u,o.FileIndex[c].content)}})}(n,Pn.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var Ef={0:{f:function(e,r){var t={},n=e.l+r;t.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var s=e.read_shift(1);return e.l=n,7&s&&(t.level=7&s),16&s&&(t.hidden=!0),32&s&&(t.hpt=a/20),t}},1:{f:function(e){return[pc(e)]}},2:{f:function(e){return[pc(e),F0(e),"n"]}},3:{f:function(e){return[pc(e),e.read_shift(1),"e"]}},4:{f:function(e){return[pc(e),e.read_shift(1),"b"]}},5:{f:function(e){return[pc(e),hs(e),"n"]}},6:{f:function(e){return[pc(e),As(e),"str"]}},7:{f:function(e){return[pc(e),e.read_shift(4),"s"]}},8:{f:function(e,r,t){var n=e.l+r,a=pc(e);a.r=t["!row"];var s=[a,As(e),"str"];if(t.cellFormula){e.l+=2;var o=Jd(e,n-e.l,t);s[3]=gs(o,0,a,t.supbooks,t)}else e.l=n;return s}},9:{f:function(e,r,t){var n=e.l+r,a=pc(e);a.r=t["!row"];var s=[a,hs(e),"n"];if(t.cellFormula){e.l+=2;var o=Jd(e,n-e.l,t);s[3]=gs(o,0,a,t.supbooks,t)}else e.l=n;return s}},10:{f:function(e,r,t){var n=e.l+r,a=pc(e);a.r=t["!row"];var s=[a,e.read_shift(1),"b"];if(t.cellFormula){e.l+=2;var o=Jd(e,n-e.l,t);s[3]=gs(o,0,a,t.supbooks,t)}else e.l=n;return s}},11:{f:function(e,r,t){var n=e.l+r,a=pc(e);a.r=t["!row"];var s=[a,e.read_shift(1),"e"];if(t.cellFormula){e.l+=2;var o=Jd(e,n-e.l,t);s[3]=gs(o,0,a,t.supbooks,t)}else e.l=n;return s}},12:{f:function(e){return[hl(e)]}},13:{f:function(e){return[hl(e),F0(e),"n"]}},14:{f:function(e){return[hl(e),e.read_shift(1),"e"]}},15:{f:function(e){return[hl(e),e.read_shift(1),"b"]}},16:{f:py},17:{f:function(e){return[hl(e),As(e),"str"]}},18:{f:function(e){return[hl(e),e.read_shift(4),"s"]}},19:{f:x0},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(e,r,t){var n=e.l+r;e.l+=4,e.l+=1;var a=e.read_shift(4),s=bb(e),o=HC(e,0,t),i=_0(e);e.l=n;var c={Name:s,Ptg:o};return a<268435455&&(c.Sheet=a),i&&(c.Comment=i),c}},40:{},42:{},43:{f:function(e,r,t){var n={};n.sz=e.read_shift(2)/20;var a=function(c){var u=c.read_shift(1);return c.l++,{fBold:1&u,fItalic:2&u,fUnderline:4&u,fStrikeout:8&u,fOutline:16&u,fShadow:32&u,fCondense:64&u,fExtend:128&u}}(e);switch(a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1),e.read_shift(2)===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var s=e.read_shift(1);s!=0&&(n.underline=s);var o=e.read_shift(1);o>0&&(n.family=o);var i=e.read_shift(1);switch(i>0&&(n.charset=i),e.l++,n.color=function(c){var u={},l=c.read_shift(1)>>>1,A=c.read_shift(1),h=c.read_shift(2,"i"),f=c.read_shift(1),d=c.read_shift(1),g=c.read_shift(1);switch(c.l++,l){case 0:u.auto=1;break;case 1:u.index=A;var p=VA[A];p&&(u.rgb=lf(p));break;case 2:u.rgb=lf([f,d,g]);break;case 3:u.theme=A}return h!=0&&(u.tint=h>0?h/32767:h/32768),u}(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=As(e),n}},44:{f:function(e,r){return[e.read_shift(2),As(e)]}},45:{f:AC},46:{f:jm},47:{f:function(e,r){var t=e.l+r,n=e.read_shift(2),a=e.read_shift(2);return e.l=t,{ixfe:n,numFmtId:a}}},48:{},49:{f:function(e){return e.read_shift(4,"i")}},50:{},51:{f:function(e){for(var r=[],t=e.read_shift(4);t-- >0;)r.push([e.read_shift(4),e.read_shift(4)]);return r}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Dm},62:{f:function(e){return[pc(e),x0(e),"is"]}},63:{f:function(e){var r={};r.i=e.read_shift(4);var t={};t.r=e.read_shift(4),t.c=e.read_shift(4),r.r=In(t);var n=e.read_shift(1);return 2&n&&(r.l="1"),8&n&&(r.a="1"),r}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ls,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var r=e.read_shift(2);return e.l+=28,{RTL:32&r}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,r){var t={},n=e[e.l];return++e.l,t.above=!(64&n),t.left=!(128&n),e.l+=18,t.name=Ib(e),t}},148:{f:nE,p:16},151:{f:function(){}},152:{},153:{f:function(e,r){var t={},n=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var a=r>8?As(e):"";return a.length>0&&(t.CodeName=a),t.autoCompressPictures=!!(65536&n),t.backupFile=!!(64&n),t.checkCompatibility=!!(4096&n),t.date1904=!!(1&n),t.filterPrivacy=!!(8&n),t.hidePivotFieldList=!!(1024&n),t.promptedSolutions=!!(16&n),t.publishItems=!!(2048&n),t.refreshAllConnections=!!(262144&n),t.saveExternalLinkValues=!!(128&n),t.showBorderUnselectedTables=!!(4&n),t.showInkAnnotation=!!(32&n),t.showObjects=["all","placeholders","none"][n>>13&3],t.showPivotChartFilter=!!(32768&n),t.updateLinks=["userSet","never","always"][n>>8&3],t}},154:{},155:{},156:{f:function(e,r){var t={};return t.Hidden=e.read_shift(4),t.iTabID=e.read_shift(4),t.strRelID=D0(e),t.name=As(e),t}},157:{},158:{},159:{T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:Vl},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:aE},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,r){return{flags:e.read_shift(4),version:e.read_shift(4),name:As(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,e.read_shift(4)!=0},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:D0},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Sm},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,r,t){var n=e.l+r,a=Yv(e),s=e.read_shift(1),o=[a];if(o[2]=s,t.cellFormula){var i=jC(e,n-e.l,t);o[1]=i}else e.l=n;return o}},427:{f:function(e,r,t){var n=e.l+r,a=[Vl(e)];if(t.cellFormula){var s=YC(e,n-e.l,t);a[1]=s,e.l=n}else e.l=n;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var r={};return vy.forEach(function(t){r[t]=hs(e)}),r}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,r){var t=e.l+r,n=Vl(e),a=_0(e),s=As(e),o=As(e),i=As(e);e.l=t;var c={rfx:n,relId:a,loc:s,display:i};return o&&(c.Tooltip=o),c}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:D0},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:BC},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var r={};r.iauthor=e.read_shift(4);var t=Vl(e);return r.rfx=t.s,r.ref=In(t.s),e.l+=16,r}},636:{T:-1},637:{f:S0},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,r){return e.l+=10,{name:As(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},pp={6:{f:sp},10:{f:Ou},12:{f:wo},13:{f:wo},14:{f:go},15:{f:go},16:{f:hs},17:{f:go},18:{f:go},19:{f:wo},20:{f:Qm},21:{f:Qm},23:{f:Sm},24:{f:xm},25:{f:go},26:{},27:{},28:{f:function(e,r,t){return function(n,a,s){if(!(s.biff<8)){var o=n.read_shift(2),i=n.read_shift(2),c=n.read_shift(2),u=n.read_shift(2),l=tA(n,0,s);return s.biff<8&&n.read_shift(1),[{r:o,c:i},l,u,c]}}(e,0,t)}},29:{},34:{f:go},35:{f:km},38:{f:hs},39:{f:hs},40:{f:hs},41:{f:hs},42:{f:go},43:{f:go},47:{f:function(e,r,t){var n={Type:t.biff>=8?e.read_shift(2):0};return n.Type?iC(e,r-2,n):function(a,s,o,i){var c={key:wo(a),verificationBytes:wo(a)};o.password&&(c.verifier=Nd(o.password)),i.valid=c.verificationBytes===c.verifier,i.valid&&(i.insitu=nC(o.password))}(e,t.biff,t,n),n}},49:{f:function(e,r,t){var n={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(t&&t.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return n.name=$A(e,0,t),n}},51:{f:wo},60:{},61:{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:{f:go},65:{f:function(){}},66:{f:wo},77:{},80:{},81:{},82:{},85:{f:wo},89:{},90:{},91:{},92:{f:function(e,r,t){if(t.enc)return e.l+=r,"";var n=e.l,a=tA(e,0,t);return e.read_shift(r+n-e.l),a}},93:{f:function(e,r,t){if(t&&t.biff<8)return function(s,o,i){s.l+=4;var c=s.read_shift(2),u=s.read_shift(2),l=s.read_shift(2);s.l+=2,s.l+=2,s.l+=2,s.l+=2,s.l+=2,s.l+=2,s.l+=2,s.l+=2,s.l+=2,s.l+=6,o-=36;var A=[];return A.push((Ob[c]||ls)(s,o,i)),{cmo:[u,c,l],ft:A}}(e,r,t);var n=bm(e),a=function(s,o){for(var i=s.l+o,c=[];s.l<i;){var u=s.read_shift(2);s.l-=2;try{c.push(Fb[u](s,i-s.l))}catch{return s.l=i,c}}return s.l!=i&&(s.l=i),c}(e,r-22,n[1]);return{cmo:n,ft:a}}},94:{},95:{f:go},96:{},97:{},99:{f:go},125:{f:Dm},128:{f:function(e){e.l+=4;var r=[e.read_shift(2),e.read_shift(2)];if(r[0]!==0&&r[0]--,r[1]!==0&&r[1]--,r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}},129:{f:function(e,r,t){var n=t&&t.biff==8||r==2?e.read_shift(2):(e.l+=r,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:wo},131:{f:go},132:{f:go},133:{f:function(e,r,t){var n=e.read_shift(4),a=3&e.read_shift(1),s=e.read_shift(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule"}var o=$A(e,0,t);return o.length===0&&(o="Sheet1"),{pos:n,hs:a,dt:s,name:o}}},134:{},140:{f:function(e){var r,t=[0,0];return r=e.read_shift(2),t[0]=Wv[r]||r,r=e.read_shift(2),t[1]=Wv[r]||r,t}},141:{f:wo},144:{},146:{f:function(e){for(var r=e.read_shift(2),t=[];r-- >0;)t.push(mm(e));return t}},151:{},152:{},153:{},154:{},155:{},156:{f:wo},157:{},158:{},160:{f:jb},161:{f:function(e,r){var t={};return r<32||(e.l+=16,t.header=hs(e),t.footer=hs(e),e.l+=2),t}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(e,r){for(var t=e.l+r-2,n=e.read_shift(2),a=e.read_shift(2),s=[];e.l<t;)s.push(W0(e));if(e.l!==t)throw new Error("MulRK read error");var o=e.read_shift(2);if(s.length!=o-a+1)throw new Error("MulRK length mismatch");return{r:n,c:a,C:o,rkrec:s}}},190:{f:function(e,r){for(var t=e.l+r-2,n=e.read_shift(2),a=e.read_shift(2),s=[];e.l<t;)s.push(e.read_shift(2));if(e.l!==t)throw new Error("MulBlank read error");var o=e.read_shift(2);if(s.length!=o-a+1)throw new Error("MulBlank length mismatch");return{r:n,c:a,C:o,ixfe:s}}},193:{f:Ou},197:{},198:{},199:{},200:{},201:{},202:{f:go},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:wo},220:{},221:{f:go},222:{},224:{f:function(e,r,t){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,n.data=function(a,s,o,i){var c={},u=a.read_shift(4),l=a.read_shift(4),A=a.read_shift(4),h=a.read_shift(2);return c.patternType=xd[A>>26],i.cellStyles&&(c.alc=7&u,c.fWrap=u>>3&1,c.alcV=u>>4&7,c.fJustLast=u>>7&1,c.trot=u>>8&255,c.cIndent=u>>16&15,c.fShrinkToFit=u>>20&1,c.iReadOrder=u>>22&2,c.fAtrNum=u>>26&1,c.fAtrFnt=u>>27&1,c.fAtrAlc=u>>28&1,c.fAtrBdr=u>>29&1,c.fAtrPat=u>>30&1,c.fAtrProt=u>>31&1,c.dgLeft=15&l,c.dgRight=l>>4&15,c.dgTop=l>>8&15,c.dgBottom=l>>12&15,c.icvLeft=l>>16&127,c.icvRight=l>>23&127,c.grbitDiag=l>>30&3,c.icvTop=127&A,c.icvBottom=A>>7&127,c.icvDiag=A>>14&127,c.dgDiag=A>>21&15,c.icvFore=127&h,c.icvBack=h>>7&127,c.fsxButton=h>>14&1),c}(e,0,n.fStyle,t),n}},225:{f:function(e,r){return r===0||e.read_shift(2),1200}},226:{f:Ou},227:{},229:{f:function(e,r){for(var t=[],n=e.read_shift(2);n--;)t.push(_d(e));return t}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(e,r){for(var t=e.l+r,n=e.read_shift(4),a=e.read_shift(4),s=[],o=0;o!=a&&e.l<t;++o)s.push(Sb(e));return s.Count=n,s.Unique=a,s}},253:{f:function(e){var r=su(e);return r.isst=e.read_shift(4),r}},255:{f:function(e,r){var t={};return t.dsst=e.read_shift(2),e.l+=r-2,t}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:XA},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:go},353:{f:Ou},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(e,r,t){var n=e.l+r,a=e.read_shift(2),s=e.read_shift(2);if(t.sbcch=s,s==1025||s==14849)return[s,a];if(s<1||s>255)throw new Error("Unexpected SupBook type: "+s);for(var o=eA(e,s),i=[];n>e.l;)i.push(of(e));return[s,a,o,i]}},431:{f:go},432:{},433:{},434:{},437:{},438:{f:function(e,r,t){var n=e.l,a="";try{e.l+=4;var s=(t.lastobj||{cmo:[0,0]}).cmo[1];[0,5,7,11,12,14].indexOf(s)==-1?e.l+=6:function(l){var A=l.read_shift(1);l.l++;var h=l.read_shift(2);return l.l+=2,[A,h]}(e);var o=e.read_shift(2);e.read_shift(2),wo(e);var i=e.read_shift(2);e.l+=i;for(var c=1;c<e.lens.length-1;++c){if(e.l-n!=e.lens[c])throw new Error("TxO: bad continue record");var u=e[e.l];if((a+=eA(e,e.lens[c+1]-e.lens[c]-1)).length>=(u?o:2*o))break}if(a.length!==o&&a.length!==2*o)throw new Error("cchText: "+o+" != "+a.length);return e.l=n+r,{t:a}}catch{return e.l=n+r,{t:a}}}},439:{f:go},440:{f:function(e,r){var t=_d(e);e.l+=16;var n=function(a,s){var o=a.l+s,i=a.read_shift(4);if(i!==2)throw new Error("Unrecognized streamVersion: "+i);var c=a.read_shift(2);a.l+=2;var u,l,A,h,f,d,g="";16&c&&(u=sf(a,a.l)),128&c&&(l=sf(a,a.l)),(257&c)==257&&(A=sf(a,a.l)),(257&c)==1&&(h=_b(a,a.l)),8&c&&(g=sf(a,a.l)),32&c&&(f=a.read_shift(16)),64&c&&(d=H0(a)),a.l=o;var p=l||A||h||"";p&&g&&(p+="#"+g),p||(p="#"+g),2&c&&p.charAt(0)=="/"&&p.charAt(1)!="/"&&(p="file://"+p);var m={Target:p};return f&&(m.guid=f),d&&(m.time=d),u&&(m.Tooltip=u),m}(e,r-24);return[t,n]}},441:{},442:{f:of},443:{},444:{f:wo},445:{},446:{},448:{f:Ou},449:{f:function(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{f:Ou},512:{f:Em},513:{f:Ub},515:{f:function(e,r,t){t.biffguess&&t.biff==2&&(t.biff=5);var n=su(e),a=hs(e);return n.val=a,n}},516:{f:function(e,r,t){t.biffguess&&t.biff==2&&(t.biff=5),e.l;var n=su(e);t.biff==2&&e.l++;var a=of(e,e.l,t);return n.val=a,n}},517:{f:Bm},519:{f:Hb},520:{f:function(e){var r={};r.r=e.read_shift(2),r.c=e.read_shift(2),r.cnt=e.read_shift(2)-r.c;var t=e.read_shift(2);e.l+=4;var n=e.read_shift(1);return e.l+=3,7&n&&(r.level=7&n),32&n&&(r.hidden=!0),64&n&&(r.hpt=t/20),r}},523:{},545:{f:_m},549:{f:Cm},566:{},574:{f:function(e,r,t){return t&&t.biff>=2&&t.biff<5?{}:{RTL:64&e.read_shift(2)}}},638:{f:function(e){var r=e.read_shift(2),t=e.read_shift(2),n=W0(e);return{r,c:t,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(e,r,t){return[e.read_shift(2),tA(e,0,t)]}},1084:{},1212:{f:function(e,r,t){var n=Im(e);e.l++;var a=e.read_shift(1);return[GC(e,r-=8,t),a,n]}},2048:{f:function(e,r){e.read_shift(2);var t=_d(e),n=e.read_shift((r-10)/2,"dbcs-cont");return[t,n=n.replace(bs,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Dd},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Ou},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(e){e.l+=2;var r={cxfs:0,crc:0};return r.cxfs=e.read_shift(2),r.crc=e.read_shift(4),r},r:12},2173:{f:function(e,r){e.l,e.l+=2;var t=e.read_shift(2);e.l+=2;for(var n=e.read_shift(2),a=[];n-- >0;)a.push(CC(e,e.l));return{ixfe:t,ext:a}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:go,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(e,r,t){if(!(t.biff<8)){var n=e.read_shift(2),a=e.read_shift(2);return[eA(e,n,t),eA(e,a,t)]}e.l+=r},r:12},2197:{},2198:{f:function(e,r,t){var n=e.l+r;if(e.read_shift(4)!==124226)if(t.cellStyles){var a,s=e.slice(e.l);e.l=n;try{a=Av(s,{type:"array"})}catch{return}var o=rc(a,"theme/theme/theme1.xml",!0);if(o)return Ym(o,t)}else e.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(e){return[e.read_shift(4)!==0,e.read_shift(4)!==0,e.read_shift(4)]},r:12},2203:{f:Ou},2204:{},2205:{},2206:{},2207:{},2211:{f:function(e){var r=function(t){var n=t.read_shift(2),a=t.read_shift(2);return t.l+=8,{type:n,flags:a}}(e);if(r.type!=2211)throw new Error("Invalid Future Record "+r.type);return e.read_shift(4)!==0}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:wo},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(e,r,t){var n={area:!1};if(t.biff!=5)return e.l+=r,n;var a=e.read_shift(1);return e.l+=3,16&a&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(e){for(var r=e.read_shift(2),t=[];r-- >0;)t.push(mm(e));return t}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Em},1:{},2:{f:function(e){var r=su(e);++e.l;var t=e.read_shift(2);return r.t="n",r.val=t,r}},3:{f:function(e){var r=su(e);++e.l;var t=hs(e);return r.t="n",r.val=t,r}},4:{f:function(e,r,t){t.biffguess&&t.biff==5&&(t.biff=2);var n=su(e);++e.l;var a=tA(e,0,t);return n.t="str",n.val=a,n}},5:{f:Bm},7:{f:function(e){var r=e.read_shift(1);return r===0?(e.l++,""):e.read_shift(r,"sbcs-cont")}},8:{},9:{f:Dd},11:{},22:{f:wo},30:{f:Tb},31:{},32:{},33:{f:_m},36:{},37:{f:Cm},50:{f:function(e,r){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=r-13}},62:{},52:{},67:{},68:{f:wo},69:{},86:{},126:{},127:{f:function(e){var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(4),a={fmt:r,env:t,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,a}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(e,r,t){var n=e.l+r,a=su(e),s=e.read_shift(2),o=eA(e,s,t);return e.l=n,a.t="str",a.val=o,a}},223:{},234:{},354:{},421:{},518:{f:sp},521:{f:Dd},536:{f:xm},547:{f:km},561:{},579:{},1030:{f:sp},1033:{f:Dd},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function en(e,r,t,n){var a=r;if(!isNaN(a)){var s=n||(t||[]).length||0,o=e.next(4);o.write_shift(2,a),o.write_shift(2,s),s>0&&Q0(t)&&e.push(t)}}function Gs(e,r,t){return e||(e=Kt(7)),e.write_shift(2,r),e.write_shift(2,t),e.write_shift(2,0),e.write_shift(1,0),e}function OE(e,r,t,n){if(r.v!=null)switch(r.t){case"d":case"n":var a=r.t=="d"?Zo(Ga(r.v)):r.v;return void(a==(0|a)&&a>=0&&a<65536?en(e,2,(s=t,o=n,i=a,c=Kt(9),Gs(c,s,o),c.write_shift(2,i),c)):en(e,3,function(u,l,A){var h=Kt(15);return Gs(h,u,l),h.write_shift(8,A,"f"),h}(t,n,a)));case"b":case"e":return void en(e,5,function(u,l,A,h){var f=Kt(9);return Gs(f,u,l),dm(A,h||"b",f),f}(t,n,r.v,r.t));case"s":case"str":return void en(e,4,function(u,l,A){var h=Kt(8+2*A.length);return Gs(h,u,l),h.write_shift(1,A.length),h.write_shift(A.length,A,"sbcs"),h.l<h.length?h.slice(0,h.l):h}(t,n,(r.v||"").slice(0,255)))}var s,o,i,c;en(e,1,Gs(null,t,n))}function PE(e,r){for(var t=r||{},n=Os(),a=0,s=0;s<e.SheetNames.length;++s)e.SheetNames[s]==t.sheet&&(a=s);if(a==0&&t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);return en(n,t.biff==4?1033:t.biff==3?521:9,Rd(0,16,t)),function(o,i,c,u){var l,A=Array.isArray(i),h=ea(i["!ref"]||"A1"),f="",d=[];if(h.e.c>255||h.e.r>16383){if(u.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");h.e.c=Math.min(h.e.c,255),h.e.r=Math.min(h.e.c,16383),l=_i(h)}for(var g=h.s.r;g<=h.e.r;++g){f=Ho(g);for(var p=h.s.c;p<=h.e.c;++p){g===h.s.r&&(d[p]=Eo(p)),l=d[p]+f;var m=A?(i[g]||[])[p]:i[l];m&&OE(o,m,g,p)}}}(n,e.Sheets[e.SheetNames[a]],0,t),en(n,10),n.end()}function GE(e,r,t){en(e,49,function(n,a){var s=n.name||"Arial",o=a&&a.biff==5,i=Kt(o?15+s.length:16+2*s.length);return i.write_shift(2,20*(n.sz||12)),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,s.length),o||i.write_shift(1,1),i.write_shift((o?1:2)*s.length,s,o?"sbcs":"utf16le"),i}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}function UE(e,r){if(r){var t=0;r.forEach(function(n,a){++t<=256&&n&&en(e,125,function(s,o){var i=Kt(12);i.write_shift(2,o),i.write_shift(2,o),i.write_shift(2,256*s.width),i.write_shift(2,0);var c=0;return s.hidden&&(c|=1),i.write_shift(1,c),c=s.level||0,i.write_shift(1,c),i.write_shift(2,0),i}(qd(a,n),a))})}}function jE(e,r,t,n,a){var s=16+vl(a.cellXfs,r,a);if(r.v!=null||r.bf)if(r.bf)en(e,6,UC(r,t,n,0,s));else switch(r.t){case"d":case"n":en(e,515,function(o,i,c,u){var l=Kt(14);return rA(o,i,u,l),Zl(c,l),l}(t,n,r.t=="d"?Zo(Ga(r.v)):r.v,s));break;case"b":case"e":en(e,517,function(o,i,c,u,l,A){var h=Kt(8);return rA(o,i,u,h),dm(c,A,h),h}(t,n,r.v,s,0,r.t));break;case"s":case"str":a.bookSST?en(e,253,function(o,i,c,u){var l=Kt(10);return rA(o,i,u,l),l.write_shift(4,c),l}(t,n,up(a.Strings,r.v,a.revStrings),s)):en(e,516,function(o,i,c,u,l){var A=!l||l.biff==8,h=Kt(+A+8+(1+A)*c.length);return rA(o,i,u,h),h.write_shift(2,c.length),A&&h.write_shift(1,1),h.write_shift((1+A)*c.length,c,A?"utf16le":"sbcs"),h}(t,n,(r.v||"").slice(0,255),s,a));break;default:en(e,513,rA(t,n,s))}else en(e,513,rA(t,n,s))}function HE(e,r,t){var n,a,s,o=Os(),i=t.SheetNames[e],c=t.Sheets[i]||{},u=(t||{}).Workbook||{},l=(u.Sheets||[])[e]||{},A=Array.isArray(c),h=r.biff==8,f="",d=[],g=ea(c["!ref"]||"A1"),p=h?65536:16384;if(g.e.c>255||g.e.r>=p){if(r.WTF)throw new Error("Range "+(c["!ref"]||"A1")+" exceeds format limit A1:IV16384");g.e.c=Math.min(g.e.c,255),g.e.r=Math.min(g.e.c,p-1)}en(o,2057,Rd(0,16,r)),en(o,13,mc(1)),en(o,12,mc(100)),en(o,15,ws(!0)),en(o,17,ws(!1)),en(o,16,Zl(.001)),en(o,95,ws(!0)),en(o,42,ws(!1)),en(o,43,ws(!1)),en(o,130,mc(1)),en(o,128,(a=[0,0],(s=Kt(8)).write_shift(4,0),s.write_shift(2,a[0]?a[0]+1:0),s.write_shift(2,a[1]?a[1]+1:0),s)),en(o,131,ws(!1)),en(o,132,ws(!1)),h&&UE(o,c["!cols"]),en(o,512,function(E,k){var R=k.biff!=8&&k.biff?2:4,T=Kt(2*R+6);return T.write_shift(R,E.s.r),T.write_shift(R,E.e.r+1),T.write_shift(2,E.s.c),T.write_shift(2,E.e.c+1),T.write_shift(2,0),T}(g,r)),h&&(c["!links"]=[]);for(var m=g.s.r;m<=g.e.r;++m){f=Ho(m);for(var v=g.s.c;v<=g.e.c;++v){m===g.s.r&&(d[v]=Eo(v)),n=d[v]+f;var y=A?(c[m]||[])[v]:c[n];y&&(jE(o,y,m,v,r),h&&y.l&&c["!links"].push([n,y.l]))}}var I=l.CodeName||l.name||i;return h&&en(o,574,function(E){var k=Kt(18),R=1718;return E&&E.RTL&&(R|=64),k.write_shift(2,R),k.write_shift(4,0),k.write_shift(4,64),k.write_shift(4,0),k.write_shift(4,0),k}((u.Views||[])[0])),h&&(c["!merges"]||[]).length&&en(o,229,function(E){var k=Kt(2+8*E.length);k.write_shift(2,E.length);for(var R=0;R<E.length;++R)ym(E[R],k);return k}(c["!merges"])),h&&function(E,k){for(var R=0;R<k["!links"].length;++R){var T=k["!links"][R];en(E,440,Pb(T)),T[1].Tooltip&&en(E,2048,Gb(T))}delete k["!links"]}(o,c),en(o,442,eh(I)),h&&function(E,k){var R=Kt(19);R.write_shift(4,2151),R.write_shift(4,0),R.write_shift(4,0),R.write_shift(2,3),R.write_shift(1,1),R.write_shift(4,0),en(E,2151,R),(R=Kt(39)).write_shift(4,2152),R.write_shift(4,0),R.write_shift(4,0),R.write_shift(2,3),R.write_shift(1,0),R.write_shift(4,0),R.write_shift(2,1),R.write_shift(4,4),R.write_shift(2,0),ym(ea(k["!ref"]||"A1"),R),R.write_shift(4,4),en(E,2152,R)}(o,c),en(o,10),o.end()}function vp(e,r,t){var n,a=Os(),s=(e||{}).Workbook||{},o=s.Sheets||[],i=s.WBProps||{},c=t.biff==8,u=t.biff==5;en(a,2057,Rd(0,5,t)),t.bookType=="xla"&&en(a,135),en(a,225,c?mc(1200):null),en(a,193,function(y,I){I||(I=Kt(y));for(var E=0;E<y;++E)I.write_shift(1,0);return I}(2)),u&&en(a,191),u&&en(a,192),en(a,226),en(a,92,function(y,I){var E=!I||I.biff==8,k=Kt(E?112:54);for(k.write_shift(I.biff==8?2:1,7),E&&k.write_shift(1,0),k.write_shift(4,859007059),k.write_shift(4,5458548|(E?0:536870912));k.l<k.length;)k.write_shift(1,E?0:32);return k}(0,t)),en(a,66,mc(c?1200:1252)),c&&en(a,353,mc(0)),c&&en(a,448),en(a,317,function(y){for(var I=Kt(2*y),E=0;E<y;++E)I.write_shift(2,E+1);return I}(e.SheetNames.length)),c&&e.vbaraw&&en(a,211),c&&e.vbaraw&&en(a,442,eh(i.CodeName||"ThisWorkbook")),en(a,156,mc(17)),en(a,25,ws(!1)),en(a,18,ws(!1)),en(a,19,mc(0)),c&&en(a,431,ws(!1)),c&&en(a,444,mc(0)),en(a,61,((n=Kt(18)).write_shift(2,0),n.write_shift(2,0),n.write_shift(2,29280),n.write_shift(2,17600),n.write_shift(2,56),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,1),n.write_shift(2,500),n)),en(a,64,ws(!1)),en(a,141,mc(0)),en(a,34,ws(function(y){return y.Workbook&&y.Workbook.WBProps&&Fa(y.Workbook.WBProps.date1904)?"true":"false"}(e)=="true")),en(a,14,ws(!0)),c&&en(a,439,ws(!1)),en(a,218,mc(0)),GE(a,0,t),function(y,I,E){I&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(k){for(var R=k[0];R<=k[1];++R)I[R]!=null&&en(y,1054,Mb(R,I[R],E))})}(a,e.SSF,t),function(y,I){for(var E=0;E<16;++E)en(y,224,wm({numFmtId:0,style:!0},0,I));I.cellXfs.forEach(function(k){en(y,224,wm(k,0,I))})}(a,t),c&&en(a,352,ws(!1));var l=a.end(),A=Os();c&&en(A,140,function(y){return y||(y=Kt(4)),y.write_shift(2,1),y.write_shift(2,1),y}()),c&&t.Strings&&function(y,I,E,k){var R=k||(E||[]).length||0;if(R<=8224)return en(y,I,E,R);var T=I;if(!isNaN(T)){for(var j=E.parts||[],W=0,H=0,X=0;X+(j[W]||8224)<=8224;)X+=j[W]||8224,W++;var x=y.next(4);for(x.write_shift(2,T),x.write_shift(2,X),y.push(E.slice(H,H+X)),H+=X;H<R;){for((x=y.next(4)).write_shift(2,60),X=0;X+(j[W]||8224)<=8224;)X+=j[W]||8224,W++;x.write_shift(2,X),y.push(E.slice(H,H+X)),H+=X}}}(A,252,function(y,I){var E=Kt(8);E.write_shift(4,y.Count),E.write_shift(4,y.Unique);for(var k=[],R=0;R<y.length;++R)k[R]=gm(y[R]);var T=jo([E].concat(k));return T.parts=[E.length].concat(k.map(function(j){return j.length})),T}(t.Strings)),en(A,10);var h=A.end(),f=Os(),d=0,g=0;for(g=0;g<e.SheetNames.length;++g)d+=(c?12:11)+(c?2:1)*e.SheetNames[g].length;var p=l.length+d+h.length;for(g=0;g<e.SheetNames.length;++g)en(f,133,Nb({pos:p,hs:(o[g]||{}).Hidden||0,dt:0,name:e.SheetNames[g]},t)),p+=r[g].length;var m=f.end();if(d!=m.length)throw new Error("BS8 "+d+" != "+m.length);var v=[];return l.length&&v.push(l),m.length&&v.push(m),h.length&&v.push(h),jo(v)}function My(e,r){for(var t=0;t<=e.SheetNames.length;++t){var n=e.Sheets[e.SheetNames[t]];n&&n["!ref"]&&Es(n["!ref"]).e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}var a=r||{};switch(a.biff||2){case 8:case 5:return function(s,o){var i=o||{},c=[];s&&!s.SSF&&(s.SSF=Ra(ai)),s&&s.SSF&&(qA(),Id(s.SSF),i.revssf=Cd(s.SSF),i.revssf[s.SSF[65535]]=0,i.ssf=s.SSF),i.Strings=[],i.Strings.Count=0,i.Strings.Unique=0,Ep(i),i.cellXfs=[],vl(i.cellXfs,{},{revssf:{General:0}}),s.Props||(s.Props={});for(var u=0;u<s.SheetNames.length;++u)c[c.length]=HE(u,i,s);return c.unshift(vp(s,c,i)),jo(c)}(e,r);case 4:case 3:case 2:return PE(e,r)}throw new Error("invalid type "+a.bookType+" for BIFF")}function Ty(e,r){var t=r||{},n=t.dense?[]:{},a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i),o=a.index,i=s&&s.index||e.length,c=ib(e.slice(o,i),/(:?<tr[^>]*>)/i,"<tr>"),u=-1,l=0,A=0,h=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},d=[];for(o=0;o<c.length;++o){var g=c[o].trim(),p=g.slice(0,3).toLowerCase();if(p!="<tr"){if(p=="<td"||p=="<th"){var m=g.split(/<\/t[dh]>/i);for(i=0;i<m.length;++i){var v=m[i].trim();if(v.match(/<t[dh]/i)){for(var y=v,I=0;y.charAt(0)=="<"&&(I=y.indexOf(">"))>-1;)y=y.slice(I+1);for(var E=0;E<d.length;++E){var k=d[E];k.s.c==l&&k.s.r<u&&u<=k.e.r&&(l=k.e.c+1,E=-1)}var R=ci(v.slice(0,v.indexOf(">")));h=R.colspan?+R.colspan:1,((A=+R.rowspan)>1||h>1)&&d.push({s:{r:u,c:l},e:{r:u+(A||1)-1,c:l+h-1}});var T=R.t||R["data-t"]||"";if(y.length)if(y=ub(y),f.s.r>u&&(f.s.r=u),f.e.r<u&&(f.e.r=u),f.s.c>l&&(f.s.c=l),f.e.c<l&&(f.e.c=l),y.length){var j={t:"s",v:y};t.raw||!y.trim().length||T=="s"||(y==="TRUE"?j={t:"b",v:!0}:y==="FALSE"?j={t:"b",v:!1}:isNaN(Nu(y))?isNaN(zh(y).getDate())||(j={t:"d",v:Ga(y)},t.cellDates||(j={t:"n",v:Zo(j.v)}),j.z=t.dateNF||ai[14]):j={t:"n",v:Nu(y)}),t.dense?(n[u]||(n[u]=[]),n[u][l]=j):n[In({r:u,c:l})]=j,l+=h}else l+=h;else l+=h}}}}else{if(++u,t.sheetRows&&t.sheetRows<=u){--u;break}l=0}}return n["!ref"]=_i(f),d.length&&(n["!merges"]=d),n}function YE(e,r,t,n){for(var a=e["!merges"]||[],s=[],o=r.s.c;o<=r.e.c;++o){for(var i=0,c=0,u=0;u<a.length;++u)if(!(a[u].s.r>t||a[u].s.c>o||a[u].e.r<t||a[u].e.c<o)){if(a[u].s.r<t||a[u].s.c<o){i=-1;break}i=a[u].e.r-a[u].s.r+1,c=a[u].e.c-a[u].s.c+1;break}if(!(i<0)){var l=In({r:t,c:o}),A=n.dense?(e[t]||[])[o]:e[l],h=A&&A.v!=null&&(A.h||C0(A.w||(ll(A),A.w)||""))||"",f={};i>1&&(f.rowspan=i),c>1&&(f.colspan=c),n.editable?h='<span contenteditable="true">'+h+"</span>":A&&(f["data-t"]=A&&A.t||"z",A.v!=null&&(f["data-v"]=A.v),A.z!=null&&(f["data-z"]=A.z),A.l&&(A.l.Target||"#").charAt(0)!="#"&&(h='<a href="'+A.l.Target+'">'+h+"</a>")),f.id=(n.id||"sjs")+"-"+l,s.push(Zr("td",h,f))}}return"<tr>"+s.join("")+"</tr>"}var JE='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',qE="</body></html>",WE={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Ly(e,r){var t,n,a,s,o,i,c,u,l=r||{},A=w0(e),h=[],f={name:""},d="",g=0,p={},m=[],v=l.dense?[]:{},y={value:""},I="",E=0,k=[],R=-1,T=-1,j={s:{r:1e6,c:1e7},e:{r:0,c:0}},W=0,H={},X=[],x={},N=[],C=1,w=1,Q=[],B={Names:[]},S={},O=["",""],F=[],Y={},M="",z=0,ue=!1,ae=!1,Ne=0;for($h.lastIndex=0,A=A.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");o=$h.exec(A);)switch(o[3]=o[3].replace(/_.*$/,"")){case"table":case"工作表":o[1]==="/"?(j.e.c>=j.s.c&&j.e.r>=j.s.r?v["!ref"]=_i(j):v["!ref"]="A1:A1",l.sheetRows>0&&l.sheetRows<=j.e.r&&(v["!fullref"]=v["!ref"],j.e.r=l.sheetRows-1,v["!ref"]=_i(j)),X.length&&(v["!merges"]=X),N.length&&(v["!rows"]=N),a.name=a.名称||a.name,typeof JSON<"u"&&JSON.stringify(a),m.push(a.name),p[a.name]=v,ae=!1):o[0].charAt(o[0].length-2)!=="/"&&(a=ci(o[0],!1),R=T=-1,j.s.r=j.s.c=1e7,j.e.r=j.e.c=0,v=l.dense?[]:{},X=[],N=[],ae=!0);break;case"table-row-group":o[1]==="/"?--W:++W;break;case"table-row":case"行":if(o[1]==="/"){R+=C,C=1;break}if((s=ci(o[0],!1)).行号?R=s.行号-1:R==-1&&(R=0),(C=+s["number-rows-repeated"]||1)<10)for(Ne=0;Ne<C;++Ne)W>0&&(N[R+Ne]={level:W});T=-1;break;case"covered-table-cell":o[1]!=="/"&&++T,l.sheetStubs&&(l.dense?(v[R]||(v[R]=[]),v[R][T]={t:"z"}):v[In({r:R,c:T})]={t:"z"}),I="",k=[];break;case"table-cell":case"数据":if(o[0].charAt(o[0].length-2)==="/")++T,y=ci(o[0],!1),w=parseInt(y["number-columns-repeated"]||"1",10),i={t:"z",v:null},y.formula&&l.cellFormula!=0&&(i.f=sy(Mi(y.formula))),(y.数据类型||y["value-type"])=="string"&&(i.t="s",i.v=Mi(y["string-value"]||""),l.dense?(v[R]||(v[R]=[]),v[R][T]=i):v[In({r:R,c:T})]=i),T+=w-1;else if(o[1]!=="/"){I="",E=0,k=[],w=1;var Ge=C?R+C-1:R;if(++T>j.e.c&&(j.e.c=T),T<j.s.c&&(j.s.c=T),R<j.s.r&&(j.s.r=R),Ge>j.e.r&&(j.e.r=Ge),F=[],Y={},i={t:(y=ci(o[0],!1)).数据类型||y["value-type"],v:null},l.cellFormula)if(y.formula&&(y.formula=Mi(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(x={s:{r:R,c:T},e:{r:R+(parseInt(y["number-matrix-rows-spanned"],10)||0)-1,c:T+(parseInt(y["number-matrix-columns-spanned"],10)||0)-1}},i.F=_i(x),Q.push([x,i.F])),y.formula)i.f=sy(y.formula);else for(Ne=0;Ne<Q.length;++Ne)R>=Q[Ne][0].s.r&&R<=Q[Ne][0].e.r&&T>=Q[Ne][0].s.c&&T<=Q[Ne][0].e.c&&(i.F=Q[Ne][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(x={s:{r:R,c:T},e:{r:R+(parseInt(y["number-rows-spanned"],10)||0)-1,c:T+(parseInt(y["number-columns-spanned"],10)||0)-1}},X.push(x)),y["number-columns-repeated"]&&(w=parseInt(y["number-columns-repeated"],10)),i.t){case"boolean":i.t="b",i.v=Fa(y["boolean-value"]);break;case"float":case"percentage":case"currency":i.t="n",i.v=parseFloat(y.value);break;case"date":i.t="d",i.v=Ga(y["date-value"]),l.cellDates||(i.t="n",i.v=Zo(i.v)),i.z="m/d/yy";break;case"time":i.t="n",i.v=tb(y["time-value"])/86400,l.cellDates&&(i.t="d",i.v=Kh(i.v)),i.z="HH:MM:SS";break;case"number":i.t="n",i.v=parseFloat(y.数据数值);break;default:if(i.t!=="string"&&i.t!=="text"&&i.t)throw new Error("Unsupported value type "+i.t);i.t="s",y["string-value"]!=null&&(I=Mi(y["string-value"]),k=[])}}else{if(ue=!1,i.t==="s"&&(i.v=I||"",k.length&&(i.R=k),ue=E==0),S.Target&&(i.l=S),F.length>0&&(i.c=F,F=[]),I&&l.cellText!==!1&&(i.w=I),ue&&(i.t="z",delete i.v),(!ue||l.sheetStubs)&&!(l.sheetRows&&l.sheetRows<=R))for(var Ye=0;Ye<C;++Ye){if(w=parseInt(y["number-columns-repeated"]||"1",10),l.dense)for(v[R+Ye]||(v[R+Ye]=[]),v[R+Ye][T]=Ye==0?i:Ra(i);--w>0;)v[R+Ye][T+w]=Ra(i);else for(v[In({r:R+Ye,c:T})]=i;--w>0;)v[In({r:R+Ye,c:T+w})]=Ra(i);j.e.c<=T&&(j.e.c=T)}T+=(w=parseInt(y["number-columns-repeated"]||"1",10))-1,w=0,i={},I="",k=[]}S={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(o[1]==="/"){if((t=h.pop())[0]!==o[3])throw"Bad state: "+t}else o[0].charAt(o[0].length-2)!=="/"&&h.push([o[3],!0]);break;case"annotation":if(o[1]==="/"){if((t=h.pop())[0]!==o[3])throw"Bad state: "+t;Y.t=I,k.length&&(Y.R=k),Y.a=M,F.push(Y)}else o[0].charAt(o[0].length-2)!=="/"&&h.push([o[3],!1]);M="",z=0,I="",E=0,k=[];break;case"creator":o[1]==="/"?M=A.slice(z,o.index):z=o.index+o[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(o[1]==="/"){if((t=h.pop())[0]!==o[3])throw"Bad state: "+t}else o[0].charAt(o[0].length-2)!=="/"&&h.push([o[3],!1]);I="",E=0,k=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script":case"libraries":case"automatic-styles":case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":case"fraction":case"boolean-style":case"boolean":case"text-style":case"text-content":case"text-properties":case"embedded-text":case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":case"s":case"date":case"object":case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(o[1]==="/"){if(H[f.name]=d,(t=h.pop())[0]!==o[3])throw"Bad state: "+t}else o[0].charAt(o[0].length-2)!=="/"&&(d="",f=ci(o[0],!1),h.push([o[3],!0]));break;case"number":case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(h[h.length-1][0]){case"time-style":case"date-style":n=ci(o[0],!1),d+=WE[o[3]][n.style==="long"?1:0]}break;case"text":if(o[0].slice(-2)==="/>")break;if(o[1]==="/")switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":d+=A.slice(g,o.index)}else g=o.index+o[0].length;break;case"named-range":O=cp((n=ci(o[0],!1))["cell-range-address"]);var Ae={Name:n.name,Ref:O[0]+"!"+O[1]};ae&&(Ae.Sheet=m.length),B.Names.push(Ae);break;case"p":case"文本串":if(["master-styles"].indexOf(h[h.length-1][0])>-1)break;if(o[1]!=="/"||y&&y["string-value"])ci(o[0],!1),E=o.index+o[0].length;else{var te=(c=A.slice(E,o.index),u=void 0,u=c.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(de,Ke){return Array(parseInt(Ke,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g," ").replace(/<text:line-break\/>/g,`
  213. `),[Mi(u.replace(/<[^>]*>/g,""))]);I=(I.length>0?I+`
  214. `:"")+te[0]}break;case"database-range":if(o[1]==="/")break;try{p[(O=cp(ci(o[0])["target-range-address"]))[0]]["!autofilter"]={ref:O[1]}}catch{}break;case"a":if(o[1]!=="/"){if(!(S=ci(o[0],!1)).href)break;S.Target=Mi(S.href),delete S.href,S.Target.charAt(0)=="#"&&S.Target.indexOf(".")>-1?(O=cp(S.Target.slice(1)),S.Target="#"+O[0]+"!"+O[1]):S.Target.match(/^\.\.[\\\/]/)&&(S.Target=S.Target.slice(3))}break;default:switch(o[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(l.WTF)throw new Error(o)}}var he={Sheets:p,SheetNames:m,Workbook:B};return l.bookSheets&&delete he.Sheets,he}function Oy(e,r){r=r||{},gc(e,"META-INF/manifest.xml")&&function(a,s){for(var o,i,c=w0(a);o=$h.exec(c);)switch(o[3]){case"manifest":break;case"file-entry":if((i=ci(o[0],!1)).path=="/"&&i.type!==wb)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(s&&s.WTF)throw o}}(Co(e,"META-INF/manifest.xml"),r);var t=rc(e,"content.xml");if(!t)throw new Error("Missing content.xml in ODS / UOF file");var n=Ly(ua(t),r);return gc(e,"meta.xml")&&(n.Props=Xv(Co(e,"meta.xml"))),n}function zd(e,r){return Ly(e,r)}var KE=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),r="<office:document-styles "+Xh({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return fo+r}}(),Py=function(){var e=` <table:table-cell />
  215. `,r=function(t,n,a){var s=[];s.push(' <table:table table:name="'+ca(n.SheetNames[a])+`" table:style-name="ta1">
  216. `);var o=0,i=0,c=Es(t["!ref"]||"A1"),u=t["!merges"]||[],l=0,A=Array.isArray(t);if(t["!cols"])for(i=0;i<=c.e.c;++i)s.push(" <table:table-column"+(t["!cols"][i]?' table:style-name="co'+t["!cols"][i].ods+'"':"")+`></table:table-column>
  217. `);var h="",f=t["!rows"]||[];for(o=0;o<c.s.r;++o)h=f[o]?' table:style-name="ro'+f[o].ods+'"':"",s.push(" <table:table-row"+h+`></table:table-row>
  218. `);for(;o<=c.e.r;++o){for(h=f[o]?' table:style-name="ro'+f[o].ods+'"':"",s.push(" <table:table-row"+h+`>
  219. `),i=0;i<c.s.c;++i)s.push(e);for(;i<=c.e.c;++i){var d=!1,g={},p="";for(l=0;l!=u.length;++l)if(!(u[l].s.c>i||u[l].s.r>o||u[l].e.c<i||u[l].e.r<o)){u[l].s.c==i&&u[l].s.r==o||(d=!0),g["table:number-columns-spanned"]=u[l].e.c-u[l].s.c+1,g["table:number-rows-spanned"]=u[l].e.r-u[l].s.r+1;break}if(d)s.push(` <table:covered-table-cell/>
  220. `);else{var m=In({r:o,c:i}),v=A?(t[o]||[])[i]:t[m];if(v&&v.f&&(g["table:formula"]=ca(("of:="+v.f.replace(np,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),v.F&&v.F.slice(0,m.length)==m)){var y=Es(v.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(v){switch(v.t){case"b":p=v.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=v.v?"true":"false";break;case"n":p=v.w||String(v.v||0),g["office:value-type"]="float",g["office:value"]=v.v||0;break;case"s":case"str":p=v.v==null?"":v.v,g["office:value-type"]="string";break;case"d":p=v.w||Ga(v.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=Ga(v.v).toISOString(),g["table:style-name"]="ce1";break;default:s.push(e);continue}var I=ca(p).replace(/ +/g,function(k){return'<text:s text:c="'+k.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>");if(v.l&&v.l.Target){var E=v.l.Target;(E=E.charAt(0)=="#"?"#"+E.slice(1).replace(/\./,"!"):E).charAt(0)=="#"||E.match(/^\w+:/)||(E="../"+E),I=Zr("text:a",I,{"xlink:href":E.replace(/&/g,"&amp;")})}s.push(" "+Zr("table:table-cell",Zr("text:p",I,{}),g)+`
  221. `)}else s.push(e)}}s.push(` </table:table-row>
  222. `)}return s.push(` </table:table>
  223. `),s.join("")};return function(t,n){var a=[fo],s=Xh({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=Xh({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});n.bookType=="fods"?(a.push("<office:document"+s+o+`>
  224. `),a.push(Zv().replace(/office:document-meta/g,"office:meta"))):a.push("<office:document-content"+s+`>
  225. `),function(c,u){c.push(` <office:automatic-styles>
  226. `),c.push(` <number:date-style style:name="N37" number:automatic-order="true">
  227. `),c.push(` <number:month number:style="long"/>
  228. `),c.push(` <number:text>/</number:text>
  229. `),c.push(` <number:day number:style="long"/>
  230. `),c.push(` <number:text>/</number:text>
  231. `),c.push(` <number:year/>
  232. `),c.push(` </number:date-style>
  233. `);var l=0;u.SheetNames.map(function(h){return u.Sheets[h]}).forEach(function(h){if(h&&h["!cols"]){for(var f=0;f<h["!cols"].length;++f)if(h["!cols"][f]){var d=h["!cols"][f];if(d.width==null&&d.wpx==null&&d.wch==null)continue;dl(d),d.ods=l;var g=h["!cols"][f].wpx+"px";c.push(' <style:style style:name="co'+l+`" style:family="table-column">
  234. `),c.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+g+`"/>
  235. `),c.push(` </style:style>
  236. `),++l}}});var A=0;u.SheetNames.map(function(h){return u.Sheets[h]}).forEach(function(h){if(h&&h["!rows"]){for(var f=0;f<h["!rows"].length;++f)if(h["!rows"][f]){h["!rows"][f].ods=A;var d=h["!rows"][f].hpx+"px";c.push(' <style:style style:name="ro'+A+`" style:family="table-row">
  237. `),c.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+d+`"/>
  238. `),c.push(` </style:style>
  239. `),++A}}}),c.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
  240. `),c.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
  241. `),c.push(` </style:style>
  242. `),c.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
  243. `),c.push(` </office:automatic-styles>
  244. `)}(a,t),a.push(` <office:body>
  245. `),a.push(` <office:spreadsheet>
  246. `);for(var i=0;i!=t.SheetNames.length;++i)a.push(r(t.Sheets[t.SheetNames[i]],t,i));return a.push(` </office:spreadsheet>
  247. `),a.push(` </office:body>
  248. `),n.bookType=="fods"?a.push("</office:document>"):a.push("</office:document-content>"),a.join("")}}();function Gy(e,r){if(r.bookType=="fods")return Py(e,r);var t=m0(),n="",a=[],s=[];return yi(t,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),yi(t,n="content.xml",Py(e,r)),a.push([n,"text/xml"]),s.push([n,"ContentFile"]),yi(t,n="styles.xml",KE(e,r)),a.push([n,"text/xml"]),s.push([n,"StylesFile"]),yi(t,n="meta.xml",fo+Zv()),a.push([n,"text/xml"]),s.push([n,"MetadataFile"]),yi(t,n="manifest.rdf",function(o){var i,c,u=[fo];u.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  249. `);for(var l=0;l!=o.length;++l)u.push(Vv(o[l][0],o[l][1])),u.push((i="",c=o[l][0],[' <rdf:Description rdf:about="'+i+`">
  250. `,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+c+`"/>
  251. `,` </rdf:Description>
  252. `].join("")));return u.push(Vv("","Document","pkg")),u.push("</rdf:RDF>"),u.join("")}(s)),a.push([n,"application/rdf+xml"]),yi(t,n="META-INF/manifest.xml",function(o){var i=[fo];i.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
  253. `),i.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
  254. `);for(var c=0;c<o.length;++c)i.push(' <manifest:file-entry manifest:full-path="'+o[c][0]+'" manifest:media-type="'+o[c][1]+`"/>
  255. `);return i.push("</manifest:manifest>"),i.join("")}(a)),t}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function Uu(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function mp(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):ua(Du(e))}function zE(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):ec(Oc(e))}function ml(e){var r=e.reduce(function(a,s){return a+s.length},0),t=new Uint8Array(r),n=0;return e.forEach(function(a){t.set(a,n),n+=a.length}),t}function Vd(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function wf(e,r){var t=r?r[0]:0,n=127&e[t];e:if(e[t++]>=128&&(n|=(127&e[t])<<7,e[t++]<128||(n|=(127&e[t])<<14,e[t++]<128)||(n|=(127&e[t])<<21,e[t++]<128)||(n+=(127&e[t])*Math.pow(2,28),++t,e[t++]<128)||(n+=(127&e[t])*Math.pow(2,35),++t,e[t++]<128)||(n+=(127&e[t])*Math.pow(2,42),++t,e[t++]<128)))break e;return r&&(r[0]=t),n}function la(e){var r=new Uint8Array(7);r[0]=127&e;var t=1;e:if(e>127){if(r[t-1]|=128,r[t]=e>>7&127,++t,e<=16383||(r[t-1]|=128,r[t]=e>>14&127,++t,e<=2097151)||(r[t-1]|=128,r[t]=e>>21&127,++t,e<=268435455)||(r[t-1]|=128,r[t]=e/256>>>21&127,++t,e<=34359738367)||(r[t-1]|=128,r[t]=e/65536>>>21&127,++t,e<=4398046511103))break e;r[t-1]|=128,r[t]=e/16777216>>>21&127,++t}return r.slice(0,t)}function io(e){var r=0,t=127&e[r];e:if(e[r++]>=128){if(t|=(127&e[r])<<7,e[r++]<128||(t|=(127&e[r])<<14,e[r++]<128)||(t|=(127&e[r])<<21,e[r++]<128))break e;t|=(127&e[r])<<28}return t}function Wi(e){for(var r=[],t=[0];t[0]<e.length;){var n,a=t[0],s=wf(e,t),o=7&s,i=0;if((s=Math.floor(s/8))==0)break;switch(o){case 0:for(var c=t[0];e[t[0]++]>=128;);n=e.slice(c,t[0]);break;case 5:i=4,n=e.slice(t[0],t[0]+i),t[0]+=i;break;case 1:i=8,n=e.slice(t[0],t[0]+i),t[0]+=i;break;case 2:i=wf(e,t),n=e.slice(t[0],t[0]+i),t[0]+=i;break;default:throw new Error("PB Type ".concat(o," for Field ").concat(s," at offset ").concat(a))}var u={data:n,type:o};r[s]==null?r[s]=[u]:r[s].push(u)}return r}function es(e){var r=[];return e.forEach(function(t,n){t.forEach(function(a){a.data&&(r.push(la(8*n+a.type)),a.type==2&&r.push(la(a.data.length)),r.push(a.data))})}),ml(r)}function Bf(e,r){return(e==null?void 0:e.map(function(t){return r(t.data)}))||[]}function ac(e){for(var r,t=[],n=[0];n[0]<e.length;){var a=wf(e,n),s=Wi(e.slice(n[0],n[0]+a));n[0]+=a;var o={id:io(s[1][0].data),messages:[]};s[2].forEach(function(i){var c=Wi(i.data),u=io(c[3][0].data);o.messages.push({meta:c,data:e.slice(n[0],n[0]+u)}),n[0]+=u}),(r=s[3])!=null&&r[0]&&(o.merge=io(s[3][0].data)>>>0>0),t.push(o)}return t}function ch(e){var r=[];return e.forEach(function(t){var n=[];n[1]=[{data:la(t.id),type:0}],n[2]=[],t.merge!=null&&(n[3]=[{data:la(+!!t.merge),type:0}]);var a=[];t.messages.forEach(function(o){a.push(o.data),o.meta[3]=[{type:0,data:la(o.data.length)}],n[2].push({data:es(o.meta),type:2})});var s=es(n);r.push(la(s.length)),r.push(s),a.forEach(function(o){return r.push(o)})}),ml(r)}function VE(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var t=[0],n=wf(r,t),a=[];t[0]<r.length;){var s=3&r[t[0]];if(s!=0){var o=0,i=0;if(s==1?(i=4+(r[t[0]]>>2&7),o=(224&r[t[0]++])<<3,o|=r[t[0]++]):(i=1+(r[t[0]++]>>2),s==2?(o=r[t[0]]|r[t[0]+1]<<8,t[0]+=2):(o=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0,t[0]+=4)),a=[ml(a)],o==0)throw new Error("Invalid offset 0");if(o>a[0].length)throw new Error("Invalid offset beyond length");if(i>=o)for(a.push(a[0].slice(-o)),i-=o;i>=a[a.length-1].length;)a.push(a[a.length-1]),i-=a[a.length-1].length;a.push(a[0].slice(-o,-o+i))}else{var c=r[t[0]++]>>2;if(c<60)++c;else{var u=c-59;c=r[t[0]],u>1&&(c|=r[t[0]+1]<<8),u>2&&(c|=r[t[0]+2]<<16),u>3&&(c|=r[t[0]+3]<<24),c>>>=0,c++,t[0]+=u}a.push(r.slice(t[0],t[0]+c)),t[0]+=c}}var l=ml(a);if(l.length!=n)throw new Error("Unexpected length: ".concat(l.length," != ").concat(n));return l}function yc(e){for(var r=[],t=0;t<e.length;){var n=e[t++],a=e[t]|e[t+1]<<8|e[t+2]<<16;t+=3,r.push(VE(n,e.slice(t,t+a))),t+=a}if(t!==e.length)throw new Error("data is not a valid framed stream!");return ml(r)}function uh(e){for(var r=[],t=0;t<e.length;){var n=Math.min(e.length-t,268435455),a=new Uint8Array(4);r.push(a);var s=la(n),o=s.length;r.push(s),n<=60?(o++,r.push(new Uint8Array([n-1<<2]))):n<=256?(o+=2,r.push(new Uint8Array([240,n-1&255]))):n<=65536?(o+=3,r.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(o+=4,r.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(o+=5,r.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),r.push(e.slice(t,t+n)),o+=n,a[0]=0,a[1]=255&o,a[2]=o>>8&255,a[3]=o>>16&255,t+=n}return ml(r)}function Uy(e,r,t){var n,a=Uu(e),s=a.getUint32(8,!0),o=12,i=-1,c=-1,u=NaN,l=NaN,A=new Date(2001,0,1);switch(1&s&&(u=function(h,f){for(var d=(127&h[f+15])<<7|h[f+14]>>1,g=1&h[f+14],p=f+13;p>=f;--p)g=256*g+h[p];return(128&h[f+15]?-g:g)*Math.pow(10,d-6176)}(e,o),o+=16),2&s&&(l=a.getFloat64(o,!0),o+=8),4&s&&(A.setTime(A.getTime()+1e3*a.getFloat64(o,!0)),o+=8),8&s&&(c=a.getUint32(o,!0),o+=4),16&s&&(i=a.getUint32(o,!0),o+=4),e[1]){case 0:break;case 2:case 10:n={t:"n",v:u};break;case 3:n={t:"s",v:r[c]};break;case 5:n={t:"d",v:A};break;case 6:n={t:"b",v:l>0};break;case 7:n={t:"n",v:l/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(i>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)));n={t:"s",v:t[i]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)))}return n}function yp(e,r){var t=new Uint8Array(32),n=Uu(t),a=12,s=0;switch(t[0]=5,e.t){case"n":t[1]=2,function(o,i,c){var u=Math.floor(c==0?0:Math.LOG10E*Math.log(Math.abs(c)))+6176-20,l=c/Math.pow(10,u-6176);o[i+15]|=u>>7,o[i+14]|=(127&u)<<1;for(var A=0;l>=1;++A,l/=256)o[i+A]=255&l;o[i+15]|=c>=0?0:128}(t,a,e.v),s|=1,a+=16;break;case"b":t[1]=6,n.setFloat64(a,e.v?1:0,!0),s|=2,a+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[1]=3,n.setUint32(a,r.indexOf(e.v),!0),s|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,s,!0),t.slice(0,a)}function Ip(e,r){var t=new Uint8Array(32),n=Uu(t),a=12,s=0;switch(t[0]=3,e.t){case"n":t[2]=2,n.setFloat64(a,e.v,!0),s|=32,a+=8;break;case"b":t[2]=6,n.setFloat64(a,e.v?1:0,!0),s|=32,a+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[2]=3,n.setUint32(a,r.indexOf(e.v),!0),s|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,s,!0),t.slice(0,a)}function jy(e,r,t){switch(e[0]){case 0:case 1:case 2:case 3:return function(n,a,s,o){var i,c=Uu(n),u=c.getUint32(4,!0),l=(o>1?12:8)+4*Vd(u&(o>1?3470:398)),A=-1,h=-1,f=NaN,d=new Date(2001,0,1);switch(512&u&&(A=c.getUint32(l,!0),l+=4),l+=4*Vd(u&(o>1?12288:4096)),16&u&&(h=c.getUint32(l,!0),l+=4),32&u&&(f=c.getFloat64(l,!0),l+=8),64&u&&(d.setTime(d.getTime()+1e3*c.getFloat64(l,!0)),l+=8),n[2]){case 0:break;case 2:i={t:"n",v:f};break;case 3:i={t:"s",v:a[h]};break;case 5:i={t:"d",v:d};break;case 6:i={t:"b",v:f>0};break;case 7:i={t:"n",v:f/86400};break;case 8:i={t:"e",v:0};break;case 9:if(A>-1)i={t:"s",v:s[A]};else if(h>-1)i={t:"s",v:a[h]};else{if(isNaN(f))throw new Error("Unsupported cell type ".concat(n.slice(0,4)));i={t:"n",v:f}}break;default:throw new Error("Unsupported cell type ".concat(n.slice(0,4)))}return i}(e,r,t,e[0]);case 5:return Uy(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function ps(e){return wf(Wi(e)[1][0].data)}function Hy(e,r){var t=Wi(r.data),n=io(t[1][0].data),a=t[3],s=[];return(a||[]).forEach(function(o){var i=Wi(o.data),c=io(i[1][0].data)>>>0;switch(n){case 1:s[c]=mp(i[3][0].data);break;case 8:var u=Wi(e[ps(i[9][0].data)][0].data),l=e[ps(u[1][0].data)][0],A=io(l.meta[1][0].data);if(A!=2001)throw new Error("2000 unexpected reference to ".concat(A));var h=Wi(l.data);s[c]=h[3].map(function(f){return mp(f.data)}).join("")}}),s}function ZE(e,r){var t,n=Wi(r.data),a=(t=n==null?void 0:n[7])!=null&&t[0]?io(n[7][0].data)>>>0>0?1:0:-1,s=Bf(n[5],function(o){return function(i,c){var u,l,A,h,f,d,g,p,m,v,y,I,E,k,R,T,j=Wi(i),W=io(j[1][0].data)>>>0,H=io(j[2][0].data)>>>0,X=((l=(u=j[8])==null?void 0:u[0])==null?void 0:l.data)&&io(j[8][0].data)>0||!1;if((h=(A=j[7])==null?void 0:A[0])!=null&&h.data&&c!=0)R=(d=(f=j[7])==null?void 0:f[0])==null?void 0:d.data,T=(p=(g=j[6])==null?void 0:g[0])==null?void 0:p.data;else{if(!((v=(m=j[4])==null?void 0:m[0])!=null&&v.data)||c==1)throw"NUMBERS Tile missing ".concat(c," cell storage");R=(I=(y=j[4])==null?void 0:y[0])==null?void 0:I.data,T=(k=(E=j[3])==null?void 0:E[0])==null?void 0:k.data}for(var x=X?4:1,N=Uu(R),C=[],w=0;w<R.length/2;++w){var Q=N.getUint16(2*w,!0);Q<65535&&C.push([w,Q])}if(C.length!=H)throw"Expected ".concat(H," cells, found ").concat(C.length);var B=[];for(w=0;w<C.length-1;++w)B[C[w][0]]=T.subarray(C[w][1]*x,C[w+1][1]*x);return C.length>=1&&(B[C[C.length-1][0]]=T.subarray(C[C.length-1][1]*x)),{R:W,cells:B}}(o,a)});return{nrows:io(n[4][0].data)>>>0,data:s.reduce(function(o,i){return o[i.R]||(o[i.R]=[]),i.cells.forEach(function(c,u){if(o[i.R][u])throw new Error("Duplicate cell r=".concat(i.R," c=").concat(u));o[i.R][u]=c}),o},[])}}function XE(e,r){var t={"!ref":"A1"},n=e[ps(Wi(r.data)[2][0].data)],a=io(n[0].meta[1][0].data);if(a!=6001)throw new Error("6000 unexpected reference to ".concat(a));return function(s,o,i){var c,u=Wi(o.data),l={s:{r:0,c:0},e:{r:0,c:0}};if(l.e.r=(io(u[6][0].data)>>>0)-1,l.e.r<0)throw new Error("Invalid row varint ".concat(u[6][0].data));if(l.e.c=(io(u[7][0].data)>>>0)-1,l.e.c<0)throw new Error("Invalid col varint ".concat(u[7][0].data));i["!ref"]=_i(l);var A=Wi(u[4][0].data),h=Hy(s,s[ps(A[4][0].data)][0]),f=(c=A[17])!=null&&c[0]?Hy(s,s[ps(A[17][0].data)][0]):[],d=Wi(A[3][0].data),g=0;d[1].forEach(function(p){var m=Wi(p.data),v=s[ps(m[2][0].data)][0],y=io(v.meta[1][0].data);if(y!=6002)throw new Error("6001 unexpected reference to ".concat(y));var I=ZE(0,v);I.data.forEach(function(E,k){E.forEach(function(R,T){var j=In({r:g+k,c:T}),W=jy(R,h,f);W&&(i[j]=W)})}),g+=I.nrows})}(e,n[0],t),t}function $E(e,r){var t={SheetNames:[],Sheets:{}};if(Bf(Wi(r.data)[1],ps).forEach(function(n){e[n].forEach(function(a){if(io(a.meta[1][0].data)==2){var s=function(o,i){var c,u=Wi(i.data),l={name:(c=u[1])!=null&&c[0]?mp(u[1][0].data):"",sheets:[]};return Bf(u[2],ps).forEach(function(A){o[A].forEach(function(h){io(h.meta[1][0].data)==6e3&&l.sheets.push(XE(o,h))})}),l}(e,a);s.sheets.forEach(function(o,i){Zy(t,o,i==0?s.name:s.name+"_"+i,!0)})}})}),t.SheetNames.length==0)throw new Error("Empty NUMBERS file");return t}function bp(e){var r,t,n,a,s={},o=[];if(e.FullPaths.forEach(function(c){if(c.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(c){if(c.name.match(/\.iwa$/)){var u,l;try{u=yc(c.content)}catch(A){return console.log("?? "+c.content.length+" "+(A.message||A))}try{l=ac(u)}catch(A){return console.log("## "+(A.message||A))}l.forEach(function(A){s[A.id]=A.messages,o.push(A.id)})}}),!o.length)throw new Error("File has no messages");var i=((a=(n=(t=(r=s==null?void 0:s[1])==null?void 0:r[0])==null?void 0:t.meta)==null?void 0:n[1])==null?void 0:a[0].data)&&io(s[1][0].meta[1][0].data)==1&&s[1][0];if(i||o.forEach(function(c){s[c].forEach(function(u){if(io(u.meta[1][0].data)>>>0==1){if(i)throw new Error("Document has multiple roots");i=u}})}),!i)throw new Error("Cannot find Document root");return $E(s,i)}function ew(e,r,t){var n,a,s,o;if(!((n=e[6])!=null&&n[0])||!((a=e[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";if((o=(s=e[8])==null?void 0:s[0])!=null&&o.data&&io(e[8][0].data)>0)throw"Math only works with normal offsets";for(var i=0,c=Uu(e[7][0].data),u=0,l=[],A=Uu(e[4][0].data),h=0,f=[],d=0;d<r.length;++d)if(r[d]!=null){var g,p;switch(c.setUint16(2*d,u,!0),A.setUint16(2*d,h,!0),typeof r[d]){case"string":g=yp({t:"s",v:r[d]},t),p=Ip({t:"s",v:r[d]},t);break;case"number":g=yp({t:"n",v:r[d]},t),p=Ip({t:"n",v:r[d]},t);break;case"boolean":g=yp({t:"b",v:r[d]},t),p=Ip({t:"b",v:r[d]},t);break;default:throw new Error("Unsupported value "+r[d])}l.push(g),u+=g.length,f.push(p),h+=p.length,++i}else c.setUint16(2*d,65535,!0),A.setUint16(2*d,65535);for(e[2][0].data=la(i);d<e[7][0].data.length/2;++d)c.setUint16(2*d,65535,!0),A.setUint16(2*d,65535,!0);return e[6][0].data=ml(l),e[3][0].data=ml(f),i}function Yy(e){return function(r){for(var t=0;t!=e.length;++t){var n=e[t];r[n[0]]===void 0&&(r[n[0]]=n[1]),n[2]==="n"&&(r[n[0]]=Number(r[n[0]]))}}}function Cp(e){Yy([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function Ep(e){Yy([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function tw(e,r,t,n,a,s,o,i,c,u,l,A){try{s[n]=Xl(rc(e,t,!0),r);var h,f=Co(e,r);switch(i){case"sheet":h=bE(f,r,a,c,s[n],u,l,A);break;case"chart":if(!(h=CE(f,r,a,c,s[n],u))||!h["!drawel"])break;var d=Vh(h["!drawel"].Target,r),g=af(d),p=function(E,k){if(!E)return"??";var R=(E.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return k["!id"][R].Target}(rc(e,d,!0),Xl(rc(e,g,!0),d)),m=Vh(p,d),v=af(m);h=fE(rc(e,m,!0),0,0,Xl(rc(e,v,!0),m),0,h);break;case"macro":I=r,s[n],I.slice(-4),h={"!type":"macro"};break;case"dialog":h=function(E,k,R,T,j,W,H,X){return k.slice(-4),{"!type":"dialog"}}(0,r,0,0,s[n]);break;default:throw new Error("Unrecognized sheet type "+i)}o[n]=h;var y=[];s&&s[n]&&za(s[n]).forEach(function(E){var k="";if(s[n][E].Type==Si.CMNT){k=Vh(s[n][E].Target,r);var R=xy(Co(e,k,!0),k,c);if(!R||!R.length)return;Km(h,R,!1)}s[n][E].Type==Si.TCMNT&&(k=Vh(s[n][E].Target,r),y=y.concat(function(T,j){var W=[],H=!1,X={},x=0;return T.replace(us,function(N,C){var w=ci(N);switch(au(w[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<threadedComment":X={author:w.personId,guid:w.id,ref:w.ref,T:1};break;case"</threadedComment>":X.t!=null&&W.push(X);break;case"<text>":case"<text":x=C+N.length;break;case"</text>":X.t=T.slice(x,C).replace(/\r\n/g,`
  256. `).replace(/\r/g,`
  257. `);break;case"<mentions":case"<mentions>":case"<ext":H=!0;break;case"</mentions>":case"</ext>":H=!1;break;default:if(!H&&j.WTF)throw new Error("unrecognized "+w[0]+" in threaded comments")}return N}),W}(Co(e,k,!0),c)))}),y&&y.length&&Km(h,y,!0,c.people||[])}catch(E){if(c.WTF)throw E}var I}function Ic(e){return e.charAt(0)=="/"?e.slice(1):e}function rw(e,r){if(qA(),Cp(r=r||{}),gc(e,"META-INF/manifest.xml")||gc(e,"objectdata.xml"))return Oy(e,r);if(gc(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(bp!==void 0){if(e.FileIndex)return bp(e);var t=Pn.utils.cfb_new();return lv(e).forEach(function(N){yi(t,N,uv(e,N))}),bp(t)}throw new Error("Unsupported NUMBERS file")}if(!gc(e,"[Content_Types].xml"))throw gc(e,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):gc(e,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var n,a,s=lv(e),o=function(N){var C={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!N||!N.match)return C;var w={};if((N.match(us)||[]).forEach(function(Q){var B=ci(Q);switch(B[0].replace(ob,"<")){case"<?xml":break;case"<Types":C.xmlns=B["xmlns"+(B[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":w[B.Extension]=B.ContentType;break;case"<Override":C[P0[B.ContentType]]!==void 0&&C[P0[B.ContentType]].push(B.PartName)}}),C.xmlns!==_o.CT)throw new Error("Unknown Namespace: "+C.xmlns);return C.calcchain=C.calcchains.length>0?C.calcchains[0]:"",C.sst=C.strs.length>0?C.strs[0]:"",C.style=C.styles.length>0?C.styles[0]:"",C.defaults=w,delete C.calcchains,C}(rc(e,"[Content_Types].xml")),i=!1;if(o.workbooks.length===0&&Co(e,a="xl/workbook.xml",!0)&&o.workbooks.push(a),o.workbooks.length===0){if(!Co(e,a="xl/workbook.bin",!0))throw new Error("Could not find workbook");o.workbooks.push(a),i=!0}o.workbooks[0].slice(-3)=="bin"&&(i=!0);var c={},u={};if(!r.bookSheets&&!r.bookProps){if(ah=[],o.sst)try{ah=yf(Co(e,Ic(o.sst)),o.sst,r)}catch(N){if(r.WTF)throw N}r.cellStyles&&o.themes.length&&(c=function(N,C,w){return Ym(N,w)}(rc(e,o.themes[0].replace(/^\//,""),!0)||"",o.themes[0],r)),o.style&&(u=ky(Co(e,Ic(o.style)),o.style,c,r))}o.links.map(function(N){try{return Xl(rc(e,af(Ic(N))),N),wE(Co(e,Ic(N)),0,N,r)}catch{}});var l=hp(Co(e,Ic(o.workbooks[0])),o.workbooks[0],r),A={},h="";o.coreprops.length&&((h=Co(e,Ic(o.coreprops[0]),!0))&&(A=Xv(h)),o.extprops.length!==0&&(h=Co(e,Ic(o.extprops[0]),!0))&&function(N,C,w){var Q={};C||(C={}),N=ua(N),$l.forEach(function(B){var S=(N.match(Zh(B[0]))||[])[1];switch(B[2]){case"string":S&&(C[B[1]]=Mi(S));break;case"bool":C[B[1]]=S==="true";break;case"raw":var O=N.match(new RegExp("<"+B[0]+"[^>]*>([\\s\\S]*?)</"+B[0]+">"));O&&O.length>0&&(Q[B[1]]=O[1])}}),Q.HeadingPairs&&Q.TitlesOfParts&&tm(Q.HeadingPairs,Q.TitlesOfParts,C,w)}(h,A,r));var f={};r.bookSheets&&!r.bookProps||o.custprops.length!==0&&(h=rc(e,Ic(o.custprops[0]),!0))&&(f=function(N,C){var w={},Q="",B=N.match(Qb);if(B)for(var S=0;S!=B.length;++S){var O=B[S],F=ci(O);switch(F[0]){case"<?xml":case"<Properties":break;case"<property":Q=Mi(F.name);break;case"</property>":Q=null;break;default:if(O.indexOf("<vt:")===0){var Y=O.split(">"),M=Y[0].slice(4),z=Y[1];switch(M){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":w[Q]=Mi(z);break;case"bool":w[Q]=Fa(z);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":w[Q]=parseInt(z,10);break;case"r4":case"r8":case"decimal":w[Q]=parseFloat(z);break;case"filetime":case"date":w[Q]=Ga(z);break;default:if(M.slice(-1)=="/")break;C.WTF&&typeof console<"u"&&console.warn("Unexpected",O,M,Y)}}else if(O.slice(0,2)!=="</"){if(C.WTF)throw new Error(O)}}}return w}(h,r));var d={};if((r.bookSheets||r.bookProps)&&(l.Sheets?n=l.Sheets.map(function(N){return N.name}):A.Worksheets&&A.SheetNames.length>0&&(n=A.SheetNames),r.bookProps&&(d.Props=A,d.Custprops=f),r.bookSheets&&n!==void 0&&(d.SheetNames=n),r.bookSheets?d.SheetNames:r.bookProps))return d;n={};var g={};r.bookDeps&&o.calcchain&&(g=EE(Co(e,Ic(o.calcchain)),o.calcchain));var p,m,v=0,y={},I=l.Sheets;A.Worksheets=I.length,A.SheetNames=[];for(var E=0;E!=I.length;++E)A.SheetNames[E]=I[E].name;var k=i?"bin":"xml",R=o.workbooks[0].lastIndexOf("/"),T=(o.workbooks[0].slice(0,R+1)+"_rels/"+o.workbooks[0].slice(R+1)+".rels").replace(/^\//,"");gc(e,T)||(T="xl/_rels/workbook."+k+".rels");var j=Xl(rc(e,T,!0),T.replace(/_rels.*/,"s5s"));(o.metadata||[]).length>=1&&(r.xlmeta=BE(Co(e,Ic(o.metadata[0])),o.metadata[0],r)),(o.people||[]).length>=1&&(r.people=function(N,C){var w=[],Q=!1;return N.replace(us,function(B){var S=ci(B);switch(au(S[0])){case"<?xml":case"<personList":case"</personList>":case"</person>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<person":w.push({name:S.displayname,id:S.id});break;case"<ext":Q=!0;break;case"</ext>":Q=!1;break;default:if(!Q&&C.WTF)throw new Error("unrecognized "+S[0]+" in threaded comments")}return B}),w}(Co(e,Ic(o.people[0])),r)),j&&(j=function(N,C){if(!N)return 0;try{N=C.map(function(w){return w.id||(w.id=w.strRelID),[w.name,N["!id"][w.id].Target,(Q=N["!id"][w.id].Type,Si.WS.indexOf(Q)>-1?"sheet":Q==Si.CS?"chart":Q==Si.DS?"dialog":Q==Si.MS?"macro":Q&&Q.length?Q:"sheet")];var Q})}catch{return null}return N&&N.length!==0?N:null}(j,l.Sheets));var W=Co(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=A.Worksheets;++v){var H="sheet";if(j&&j[v]?(p="xl/"+j[v][1].replace(/[\/]?xl\//,""),gc(e,p)||(p=j[v][1]),gc(e,p)||(p=T.replace(/_rels\/.*$/,"")+j[v][1]),H=j[v][2]):p=(p="xl/worksheets/sheet"+(v+1-W)+"."+k).replace(/sheet0\./,"sheet."),m=p.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(v!=r.sheets)continue e;break;case"string":if(A.SheetNames[v].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){for(var X=!1,x=0;x!=r.sheets.length;++x)typeof r.sheets[x]=="number"&&r.sheets[x]==v&&(X=1),typeof r.sheets[x]=="string"&&r.sheets[x].toLowerCase()==A.SheetNames[v].toLowerCase()&&(X=1);if(!X)continue e}}tw(e,p,m,A.SheetNames[v],v,y,n,H,r,l,c,u)}return d={Directory:o,Workbook:l,Props:A,Custprops:f,Deps:g,Sheets:n,SheetNames:A.SheetNames,Strings:ah,Styles:u,Themes:c,SSF:Ra(ai)},r&&r.bookFiles&&(e.files?(d.keys=s,d.files=e.files):(d.keys=[],d.files={},e.FullPaths.forEach(function(N,C){N=N.replace(/^Root Entry[\/]/,""),d.keys.push(N),d.files[N]=e.FileIndex[C]}))),r&&r.bookVBA&&(o.vba.length>0?d.vbaraw=Co(e,Ic(o.vba[0]),!0):o.defaults&&o.defaults.bin===kC&&(d.vbaraw=Co(e,"xl/vbaProject.bin",!0))),d}function nw(e,r){var t,n,a=r||{},s="Workbook",o=Pn.find(e,s);try{if(s="/!DataSpaces/Version",!(o=Pn.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);if(t=o.content,(n={}).id=t.read_shift(0,"lpp4"),n.R=Pu(t,4),n.U=Pu(t,4),n.W=Pu(t,4),s="/!DataSpaces/DataSpaceMap",!(o=Pn.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);var i=function(l){var A=[];l.l+=4;for(var h=l.read_shift(4);h-- >0;)A.push(eC(l));return A}(o.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+s);if(s="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(o=Pn.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);var c=function(l){var A=[];l.l+=4;for(var h=l.read_shift(4);h-- >0;)A.push(l.read_shift(0,"lpp4"));return A}(o.content);if(c.length!=1||c[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+s);if(s="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(o=Pn.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);Mm(o.content)}catch{}if(s="/EncryptionInfo",!(o=Pn.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);var u=function(l){var A=Pu(l);switch(A.Minor){case 2:return[A.Minor,tC(l)];case 3:return[A.Minor,Lm()];case 4:return[A.Minor,rC(l)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+A.Minor)}(o.content);if(s="/EncryptedPackage",!(o=Pn.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);if(u[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(u[1],o.content,a.password||"",a);if(u[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(u[1],o.content,a.password||"",a);throw new Error("File is password-protected")}function iw(e,r){return r.bookType=="ods"?Gy(e,r):r.bookType=="numbers"?function(t,n){if(!n||!n.numbers)throw new Error("Must pass a `numbers` option -- check the README");var a=t.Sheets[t.SheetNames[0]];t.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var s=Es(a["!ref"]);s.s.r=s.s.c=0;var o=!1;s.e.c>9&&(o=!0,s.e.c=9),s.e.r>49&&(o=!0,s.e.r=49),o&&console.error("The Numbers writer is currently limited to ".concat(_i(s)));var i=Ky(a,{range:s,header:1}),c=["~Sh33tJ5~"];i.forEach(function(M){return M.forEach(function(z){typeof z=="string"&&c.push(z)})});var u={},l=[],A=Pn.read(n.numbers,{type:"base64"});A.FileIndex.map(function(M,z){return[M,A.FullPaths[z]]}).forEach(function(M){var z=M[0],ue=M[1];z.type==2&&z.name.match(/\.iwa/)&&ac(yc(z.content)).forEach(function(ae){l.push(ae.id),u[ae.id]={deps:[],location:ue,type:io(ae.messages[0].meta[1][0].data)}})}),l.sort(function(M,z){return M-z});var h=l.filter(function(M){return M>1}).map(function(M){return[M,la(M)]});A.FileIndex.map(function(M,z){return[M,A.FullPaths[z]]}).forEach(function(M){var z=M[0];M[1],z.name.match(/\.iwa/)&&ac(yc(z.content)).forEach(function(ue){ue.messages.forEach(function(ae){h.forEach(function(Ne){ue.messages.some(function(Ge){return io(Ge.meta[1][0].data)!=11006&&function(Ye,Ae){e:for(var te=0;te<=Ye.length-Ae.length;++te){for(var he=0;he<Ae.length;++he)if(Ye[te+he]!=Ae[he])continue e;return!0}return!1}(Ge.data,Ne[1])})&&u[Ne[0]].deps.push(ue.id)})})})});for(var f,d=Pn.find(A,u[1].location),g=ac(yc(d.content)),p=0;p<g.length;++p){var m=g[p];m.id==1&&(f=m)}var v=ps(Wi(f.messages[0].data)[1][0].data);for(g=ac(yc((d=Pn.find(A,u[v].location)).content)),p=0;p<g.length;++p)(m=g[p]).id==v&&(f=m);for(v=ps(Wi(f.messages[0].data)[2][0].data),g=ac(yc((d=Pn.find(A,u[v].location)).content)),p=0;p<g.length;++p)(m=g[p]).id==v&&(f=m);for(v=ps(Wi(f.messages[0].data)[2][0].data),g=ac(yc((d=Pn.find(A,u[v].location)).content)),p=0;p<g.length;++p)(m=g[p]).id==v&&(f=m);var y=Wi(f.messages[0].data);y[6][0].data=la(s.e.r+1),y[7][0].data=la(s.e.c+1);for(var I=ps(y[46][0].data),E=Pn.find(A,u[I].location),k=ac(yc(E.content)),R=0;R<k.length&&k[R].id!=I;++R);if(k[R].id!=I)throw"Bad ColumnRowUIDMapArchive";var T=Wi(k[R].messages[0].data);T[1]=[],T[2]=[],T[3]=[];for(var j=0;j<=s.e.c;++j){var W=[];W[1]=W[2]=[{type:0,data:la(j+420690)}],T[1].push({type:2,data:es(W)}),T[2].push({type:0,data:la(j)}),T[3].push({type:0,data:la(j)})}T[4]=[],T[5]=[],T[6]=[];for(var H=0;H<=s.e.r;++H)(W=[])[1]=W[2]=[{type:0,data:la(H+726270)}],T[4].push({type:2,data:es(W)}),T[5].push({type:0,data:la(H)}),T[6].push({type:0,data:la(H)});k[R].messages[0].data=es(T),E.content=uh(ch(k)),E.size=E.content.length,delete y[46];var X=Wi(y[4][0].data);X[7][0].data=la(s.e.r+1);var x=ps(Wi(X[1][0].data)[2][0].data);if((k=ac(yc((E=Pn.find(A,u[x].location)).content)))[0].id!=x)throw"Bad HeaderStorageBucket";var N=Wi(k[0].messages[0].data);for(H=0;H<i.length;++H){var C=Wi(N[2][0].data);C[1][0].data=la(H),C[4][0].data=la(i[H].length),N[2][H]={type:N[2][0].type,data:es(C)}}k[0].messages[0].data=es(N),E.content=uh(ch(k)),E.size=E.content.length;var w=ps(X[2][0].data);if((k=ac(yc((E=Pn.find(A,u[w].location)).content)))[0].id!=w)throw"Bad HeaderStorageBucket";for(N=Wi(k[0].messages[0].data),j=0;j<=s.e.c;++j)(C=Wi(N[2][0].data))[1][0].data=la(j),C[4][0].data=la(s.e.r+1),N[2][j]={type:N[2][0].type,data:es(C)};k[0].messages[0].data=es(N),E.content=uh(ch(k)),E.size=E.content.length;var Q=ps(X[4][0].data);(function(){for(var M,z=Pn.find(A,u[Q].location),ue=ac(yc(z.content)),ae=0;ae<ue.length;++ae){var Ne=ue[ae];Ne.id==Q&&(M=Ne)}var Ge=Wi(M.messages[0].data);Ge[3]=[];var Ye=[];c.forEach(function(te,he){Ye[1]=[{type:0,data:la(he)}],Ye[2]=[{type:0,data:la(1)}],Ye[3]=[{type:2,data:zE(te)}],Ge[3].push({type:2,data:es(Ye)})}),M.messages[0].data=es(Ge);var Ae=uh(ch(ue));z.content=Ae,z.size=z.content.length})();var B=Wi(X[3][0].data),S=B[1][0];delete B[2];var O=Wi(S.data),F=ps(O[2][0].data);(function(){for(var M,z=Pn.find(A,u[F].location),ue=ac(yc(z.content)),ae=0;ae<ue.length;++ae){var Ne=ue[ae];Ne.id==F&&(M=Ne)}var Ge=Wi(M.messages[0].data);delete Ge[6],delete B[7];var Ye=new Uint8Array(Ge[5][0].data);Ge[5]=[];for(var Ae=0,te=0;te<=s.e.r;++te){var he=Wi(Ye);Ae+=ew(he,i[te],c),he[1][0].data=la(te),Ge[5].push({data:es(he),type:2})}Ge[1]=[{type:0,data:la(s.e.c+1)}],Ge[2]=[{type:0,data:la(s.e.r+1)}],Ge[3]=[{type:0,data:la(Ae)}],Ge[4]=[{type:0,data:la(s.e.r+1)}],M.messages[0].data=es(Ge);var de=uh(ch(ue));z.content=de,z.size=z.content.length})(),S.data=es(O),X[3][0].data=es(B),y[4][0].data=es(X),f.messages[0].data=es(y);var Y=uh(ch(g));return d.content=Y,d.size=d.content.length,A}(e,r):r.bookType=="xlsb"?function(t,n){nh=1024,t&&!t.SSF&&(t.SSF=Ra(ai)),t&&t.SSF&&(qA(),Id(t.SSF),n.revssf=Cd(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF),n.rels={},n.wbrels={},n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,mf?n.revStrings=new Map:(n.revStrings={},n.revStrings.foo=[],delete n.revStrings.foo);var a=n.bookType=="xlsb"?"bin":"xml",s=zm.indexOf(n.bookType)>-1,o={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};Ep(n=n||{});var i=m0(),c="",u=0;if(n.cellXfs=[],vl(n.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),yi(i,c="docProps/core.xml",$v(t.Props,n)),o.coreprops.push(c),ta(n.rels,2,c,Si.CORE_PROPS),c="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(t.Workbook&&t.Workbook.Sheets){for(var l=[],A=0;A<t.SheetNames.length;++A)(t.Workbook.Sheets[A]||{}).Hidden!=2&&l.push(t.SheetNames[A]);t.Props.SheetNames=l}else t.Props.SheetNames=t.SheetNames;for(t.Props.Worksheets=t.Props.SheetNames.length,yi(i,c,rm(t.Props)),o.extprops.push(c),ta(n.rels,3,c,Si.EXT_PROPS),t.Custprops!==t.Props&&za(t.Custprops||{}).length>0&&(yi(i,c="docProps/custom.xml",nm(t.Custprops)),o.custprops.push(c),ta(n.rels,4,c,Si.CUST_PROPS)),u=1;u<=t.SheetNames.length;++u){var h={"!id":{}},f=t.Sheets[t.SheetNames[u-1]];if((f||{})["!type"],yi(i,c="xl/worksheets/sheet"+u+"."+a,QE(u-1,c,n,t,h)),o.sheets.push(c),ta(n.wbrels,-1,"worksheets/sheet"+u+"."+a,Si.WS[0]),f){var d=f["!comments"],g=!1,p="";d&&d.length>0&&(yi(i,p="xl/comments"+u+"."+a,kE(d,p)),o.comments.push(p),ta(h,-1,"../comments"+u+"."+a,Si.CMNT),g=!0),f["!legacy"]&&g&&yi(i,"xl/drawings/vmlDrawing"+u+".vml",Wm(u,f["!comments"])),delete f["!comments"],delete f["!legacy"]}h["!id"].rId1&&yi(i,af(c),ZA(h))}return n.Strings!=null&&n.Strings.length>0&&(yi(i,c="xl/sharedStrings."+a,function(m,v,y){return(v.slice(-4)===".bin"?$b:Fm)(m,y)}(n.Strings,c,n)),o.strs.push(c),ta(n.wbrels,-1,"sharedStrings."+a,Si.SST)),yi(i,c="xl/workbook."+a,function(m,v,y){return(v.slice(-4)===".bin"?Qy:wy)(m)}(t,c)),o.workbooks.push(c),ta(n.rels,1,c,Si.WB),yi(i,c="xl/theme/theme1.xml",rp(t.Themes,n)),o.themes.push(c),ta(n.wbrels,-1,"theme/theme1.xml",Si.THEME),yi(i,c="xl/styles."+a,function(m,v,y){return(v.slice(-4)===".bin"?gC:Ud)(m,y)}(t,c,n)),o.styles.push(c),ta(n.wbrels,-1,"styles."+a,Si.STY),t.vbaraw&&s&&(yi(i,c="xl/vbaProject.bin",t.vbaraw),o.vba.push(c),ta(n.wbrels,-1,"vbaProject.bin",Si.VBA)),yi(i,c="xl/metadata."+a,function(m){return(m.slice(-4)===".bin"?EC:qm)()}(c)),o.metadata.push(c),ta(n.wbrels,-1,"metadata."+a,Si.XLMETA),yi(i,"[Content_Types].xml",zv(o,n)),yi(i,"_rels/.rels",ZA(n.rels)),yi(i,"xl/_rels/workbook."+a+".rels",ZA(n.wbrels)),delete n.revssf,delete n.ssf,i}(e,r):function(t,n){nh=1024,t&&!t.SSF&&(t.SSF=Ra(ai)),t&&t.SSF&&(qA(),Id(t.SSF),n.revssf=Cd(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF),n.rels={},n.wbrels={},n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,mf?n.revStrings=new Map:(n.revStrings={},n.revStrings.foo=[],delete n.revStrings.foo);var a="xml",s=zm.indexOf(n.bookType)>-1,o={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};Ep(n=n||{});var i=m0(),c="",u=0;if(n.cellXfs=[],vl(n.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),yi(i,c="docProps/core.xml",$v(t.Props,n)),o.coreprops.push(c),ta(n.rels,2,c,Si.CORE_PROPS),c="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(t.Workbook&&t.Workbook.Sheets){for(var l=[],A=0;A<t.SheetNames.length;++A)(t.Workbook.Sheets[A]||{}).Hidden!=2&&l.push(t.SheetNames[A]);t.Props.SheetNames=l}else t.Props.SheetNames=t.SheetNames;t.Props.Worksheets=t.Props.SheetNames.length,yi(i,c,rm(t.Props)),o.extprops.push(c),ta(n.rels,3,c,Si.EXT_PROPS),t.Custprops!==t.Props&&za(t.Custprops||{}).length>0&&(yi(i,c="docProps/custom.xml",nm(t.Custprops)),o.custprops.push(c),ta(n.rels,4,c,Si.CUST_PROPS));var h=["SheetJ5"];for(n.tcid=0,u=1;u<=t.SheetNames.length;++u){var f={"!id":{}},d=t.Sheets[t.SheetNames[u-1]];if((d||{})["!type"],yi(i,c="xl/worksheets/sheet"+u+"."+a,gy(u-1,n,t,f)),o.sheets.push(c),ta(n.wbrels,-1,"worksheets/sheet"+u+"."+a,Si.WS[0]),d){var g=d["!comments"],p=!1,m="";if(g&&g.length>0){var v=!1;g.forEach(function(y){y[1].forEach(function(I){I.T==1&&(v=!0)})}),v&&(yi(i,m="xl/threadedComments/threadedComment"+u+"."+a,wC(g,h,n)),o.threadedcomments.push(m),ta(f,-1,"../threadedComments/threadedComment"+u+"."+a,Si.TCMNT)),yi(i,m="xl/comments"+u+"."+a,df(g)),o.comments.push(m),ta(f,-1,"../comments"+u+"."+a,Si.CMNT),p=!0}d["!legacy"]&&p&&yi(i,"xl/drawings/vmlDrawing"+u+".vml",Wm(u,d["!comments"])),delete d["!comments"],delete d["!legacy"]}f["!id"].rId1&&yi(i,af(c),ZA(f))}return n.Strings!=null&&n.Strings.length>0&&(yi(i,c="xl/sharedStrings."+a,Fm(n.Strings,n)),o.strs.push(c),ta(n.wbrels,-1,"sharedStrings."+a,Si.SST)),yi(i,c="xl/workbook."+a,wy(t)),o.workbooks.push(c),ta(n.rels,1,c,Si.WB),yi(i,c="xl/theme/theme1.xml",rp(t.Themes,n)),o.themes.push(c),ta(n.wbrels,-1,"theme/theme1.xml",Si.THEME),yi(i,c="xl/styles."+a,Ud(t,n)),o.styles.push(c),ta(n.wbrels,-1,"styles."+a,Si.STY),t.vbaraw&&s&&(yi(i,c="xl/vbaProject.bin",t.vbaraw),o.vba.push(c),ta(n.wbrels,-1,"vbaProject.bin",Si.VBA)),yi(i,c="xl/metadata."+a,qm()),o.metadata.push(c),ta(n.wbrels,-1,"metadata."+a,Si.XLMETA),h.length>1&&(yi(i,c="xl/persons/person.xml",function(y){var I=[fo,Zr("personList",null,{xmlns:_o.TCMNT,"xmlns:x":ql[0]}).replace(/[\/]>/,">")];return y.forEach(function(E,k){I.push(Zr("person",null,{displayName:E,id:"{54EE7950-7262-4200-6969-"+("000000000000"+k).slice(-12)+"}",userId:E,providerId:"None"}))}),I.push("</personList>"),I.join("")}(h)),o.people.push(c),ta(n.wbrels,-1,"persons/person.xml",Si.PEOPLE)),yi(i,"[Content_Types].xml",zv(o,n)),yi(i,"_rels/.rels",ZA(n.rels)),yi(i,"xl/_rels/workbook."+a+".rels",ZA(n.wbrels)),delete n.revssf,delete n.ssf,i}(e,r)}function wp(e,r){var t="";switch((r||{}).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":t=$s(e.slice(0,12));break;case"binary":t=e;break;default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"))}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function Jy(e,r){var t=0;e:for(;t<e.length;)switch(e.charCodeAt(t)){case 10:case 13:case 32:++t;break;case 60:return bf(e.slice(t),r);default:break e}return th.to_workbook(e,r)}function Bp(e,r,t,n){return n?(t.type="string",th.to_workbook(e,t)):th.to_workbook(r,t)}function Qp(e,r){c0();var t=r||{};if(typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer)return Qp(new Uint8Array(e),((t=Ra(t)).type="array",t));typeof Uint8Array<"u"&&e instanceof Uint8Array&&!t.type&&(t.type=typeof Deno<"u"?"buffer":"array");var n,a=e,s=!1;if(t.cellStyles&&(t.cellNF=!0,t.sheetStubs=!0),oh={},t.dateNF&&(oh.dateNF=t.dateNF),t.type||(t.type=wi&&Buffer.isBuffer(e)?"buffer":"base64"),t.type=="file"&&(t.type=wi?"buffer":"binary",a=function(c){if(typeof Deno<"u")return Deno.readFileSync(c);if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var u=File(c);u.open("r"),u.encoding="binary";var l=u.read();return u.close(),l}catch(A){if(!A.message||!A.message.match(/onstruct/))throw A}throw new Error("Cannot access file "+c)}(e),typeof Uint8Array>"u"||wi||(t.type="array")),t.type=="string"&&(s=!0,t.type="binary",t.codepage=65001,a=function(c){return c.match(/[^\x00-\x7F]/)?Oc(c):c}(e)),t.type=="array"&&typeof Uint8Array<"u"&&e instanceof Uint8Array&&typeof ArrayBuffer<"u"){var o=new ArrayBuffer(3),i=new Uint8Array(o);if(i.foo="bar",!i.foo)return(t=Ra(t)).type="array",Qp(u0(a),t)}switch((n=wp(a,t))[0]){case 208:if(n[1]===207&&n[2]===17&&n[3]===224&&n[4]===161&&n[5]===177&&n[6]===26&&n[7]===225)return function(c,u){return Pn.find(c,"EncryptedPackage")?nw(c,u):gp(c,u)}(Pn.read(a,t),t);break;case 9:if(n[1]<=8)return gp(a,t);break;case 60:return bf(a,t);case 73:if(n[1]===73&&n[2]===42&&n[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(n[1]===68)return function(c,u){var l=u||{},A=!!l.WTF;l.WTF=!0;try{var h=V0.to_workbook(c,l);return l.WTF=A,h}catch(f){if(l.WTF=A,!f.message.match(/SYLK bad record ID/)&&A)throw f;return th.to_workbook(c,u)}}(a,t);break;case 84:if(n[1]===65&&n[2]===66&&n[3]===76)return Rm.to_workbook(a,t);break;case 80:return n[1]===75&&n[2]<9&&n[3]<9?function(c,u){var l=c,A=u||{};return A.type||(A.type=wi&&Buffer.isBuffer(c)?"buffer":"base64"),rw(Av(l,A),A)}(a,t):Bp(e,a,t,s);case 239:return n[3]===60?bf(a,t):Bp(e,a,t,s);case 255:if(n[1]===254)return function(c,u){var l=c;return u.type=="base64"&&(l=$s(l)),l=sl.utils.decode(1200,l.slice(2),"str"),u.type="binary",Jy(l,u)}(a,t);if(n[1]===0&&n[2]===2&&n[3]===0)return nA.to_workbook(a,t);break;case 0:if(n[1]===0&&(n[2]>=2&&n[3]===0||n[2]===0&&(n[3]===8||n[3]===9)))return nA.to_workbook(a,t);break;case 3:case 131:case 139:case 140:return z0.to_workbook(a,t);case 123:if(n[1]===92&&n[2]===114&&n[3]===116)return uf.to_workbook(a,t);break;case 10:case 13:case 32:return function(c,u){var l="",A=wp(c,u);switch(u.type){case"base64":l=$s(c);break;case"binary":l=c;break;case"buffer":l=c.toString("binary");break;case"array":l=Jl(c);break;default:throw new Error("Unrecognized type "+u.type)}return A[0]==239&&A[1]==187&&A[2]==191&&(l=ua(l)),u.type="binary",Jy(l,u)}(a,t);case 137:if(n[1]===80&&n[2]===78&&n[3]===71)throw new Error("PNG Image File is not a spreadsheet")}return Yb.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?z0.to_workbook(a,t):Bp(e,a,t,s)}function qy(e,r){switch(r.type){case"base64":case"binary":break;case"buffer":case"array":r.type="";break;case"file":return Wh(r.file,Pn.write(e,{type:wi?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type)}return Pn.write(e,r)}function aw(e,r){var t=Ra(r||{});return function(n,a){var s={},o=wi?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(a.compression&&(s.compression="DEFLATE"),a.password)s.type=o;else switch(a.type){case"base64":s.type="base64";break;case"binary":s.type="string";break;case"string":throw new Error("'string' output type invalid for '"+a.bookType+"' files");case"buffer":case"file":s.type=o;break;default:throw new Error("Unrecognized type "+a.type)}var i=n.FullPaths?Pn.write(n,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[s.type]||s.type,compression:!!a.compression}):n.generate(s);if(typeof Deno<"u"&&typeof i=="string"){if(a.type=="binary"||a.type=="base64")return i;i=new Uint8Array(hd(i))}return a.password&&typeof encrypt_agile<"u"?qy(encrypt_agile(i,a.password),a):a.type==="file"?Wh(a.file,i):a.type=="string"?ua(i):i}(iw(e,t),t)}function cu(e,r,t){t||(t="");var n=t+e;switch(r.type){case"base64":return YA(Oc(n));case"binary":return Oc(n);case"string":return e;case"file":return Wh(r.file,n,"utf8");case"buffer":return wi?_u(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):cu(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function Zd(e,r){switch(r.type){case"string":case"base64":case"binary":for(var t="",n=0;n<e.length;++n)t+=String.fromCharCode(e[n]);return r.type=="base64"?YA(t):r.type=="string"?ua(t):t;case"file":return Wh(r.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+r.type)}}function Wy(e,r){c0(),mE(e);var t=Ra(r||{});if(t.cellStyles&&(t.cellNF=!0,t.sheetStubs=!0),t.type=="array"){t.type="binary";var n=Wy(e,t);return t.type="array",hd(n)}var a=0;if(t.sheet&&(a=typeof t.sheet=="number"?t.sheet:e.SheetNames.indexOf(t.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+t.sheet+" : "+typeof t.sheet);switch(t.bookType||"xlsb"){case"xml":case"xlml":return cu(Gu(e,t),t);case"slk":case"sylk":return cu(V0.from_sheet(e.Sheets[e.SheetNames[a]],t),t);case"htm":case"html":return cu(function(s,o){var i=o||{},c=i.header!=null?i.header:JE,u=i.footer!=null?i.footer:qE,l=[c],A=Es(s["!ref"]);i.dense=Array.isArray(s),l.push(function(f,d,g){return[].join("")+"<table"+(g&&g.id?' id="'+g.id+'"':"")+">"}(0,0,i));for(var h=A.s.r;h<=A.e.r;++h)l.push(YE(s,A,h,i));return l.push("</table>"+u),l.join("")}(e.Sheets[e.SheetNames[a]],t),t);case"txt":return function(s,o){switch(o.type){case"base64":return YA(s);case"binary":case"string":return s;case"file":return Wh(o.file,s,"binary");case"buffer":return wi?_u(s,"binary"):s.split("").map(function(i){return i.charCodeAt(0)})}throw new Error("Unrecognized type "+o.type)}(function(s,o){o||(o={}),o.FS=" ",o.RS=`
  258. `;var i=Vy(s,o);return i}(e.Sheets[e.SheetNames[a]],t),t);case"csv":return cu(Vy(e.Sheets[e.SheetNames[a]],t),t,"\uFEFF");case"dif":return cu(Rm.from_sheet(e.Sheets[e.SheetNames[a]],t),t);case"dbf":return Zd(z0.from_sheet(e.Sheets[e.SheetNames[a]],t),t);case"prn":return cu(th.from_sheet(e.Sheets[e.SheetNames[a]],t),t);case"rtf":return cu(uf.from_sheet(e.Sheets[e.SheetNames[a]],t),t);case"eth":return cu(Z0.from_sheet(e.Sheets[e.SheetNames[a]],t),t);case"fods":return cu(Gy(e,t),t);case"wk1":return Zd(nA.sheet_to_wk1(e.Sheets[e.SheetNames[a]],t),t);case"wk3":return Zd(nA.book_to_wk3(e,t),t);case"biff2":t.biff||(t.biff=2);case"biff3":t.biff||(t.biff=3);case"biff4":return t.biff||(t.biff=4),Zd(My(e,t),t);case"biff5":t.biff||(t.biff=5);case"biff8":case"xla":case"xls":return t.biff||(t.biff=8),function(s,o){var i=o||{};return qy(LE(s,i),i)}(e,t);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return aw(e,t);default:throw new Error("Unrecognized bookType |"+t.bookType+"|")}}function ow(e,r,t,n,a,s,o,i){var c=Ho(t),u=i.defval,l=i.raw||!Object.prototype.hasOwnProperty.call(i,"raw"),A=!0,h=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:t,enumerable:!1})}catch{h.__rowNum__=t}else h.__rowNum__=t;if(!o||e[t])for(var f=r.s.c;f<=r.e.c;++f){var d=o?e[t][f]:e[n[f]+c];if(d!==void 0&&d.t!==void 0){var g=d.v;switch(d.t){case"z":if(g==null)break;continue;case"e":g=g==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+d.t)}if(s[f]!=null){if(g==null)if(d.t=="e"&&g===null)h[s[f]]=null;else if(u!==void 0)h[s[f]]=u;else{if(!l||g!==null)continue;h[s[f]]=null}else h[s[f]]=l&&(d.t!=="n"||d.t==="n"&&i.rawNumbers!==!1)?g:ll(d,g,i);g!=null&&(A=!1)}}else{if(u===void 0)continue;s[f]!=null&&(h[s[f]]=u)}}return{row:h,isempty:A}}function Ky(e,r){if(e==null||e["!ref"]==null)return[];var t={t:"n",v:0},n=0,a=1,s=[],o=0,i="",c={s:{r:0,c:0},e:{r:0,c:0}},u=r||{},l=u.range!=null?u.range:e["!ref"];switch(u.header===1?n=1:u.header==="A"?n=2:Array.isArray(u.header)?n=3:u.header==null&&(n=0),typeof l){case"string":c=ea(l);break;case"number":(c=ea(e["!ref"])).s.r=l;break;default:c=l}n>0&&(a=0);var A=Ho(c.s.r),h=[],f=[],d=0,g=0,p=Array.isArray(e),m=c.s.r,v=0,y={};p&&!e[m]&&(e[m]=[]);var I=u.skipHidden&&e["!cols"]||[],E=u.skipHidden&&e["!rows"]||[];for(v=c.s.c;v<=c.e.c;++v)if(!(I[v]||{}).hidden)switch(h[v]=Eo(v),t=p?e[m][v]:e[h[v]+A],n){case 1:s[v]=v-c.s.c;break;case 2:s[v]=h[v];break;case 3:s[v]=u.header[v-c.s.c];break;default:if(t==null&&(t={w:"__EMPTY",t:"s"}),i=o=ll(t,null,u),g=y[o]||0){do i=o+"_"+g++;while(y[i]);y[o]=g,y[i]=1}else y[o]=1;s[v]=i}for(m=c.s.r+a;m<=c.e.r;++m)if(!(E[m]||{}).hidden){var k=ow(e,c,m,h,n,s,p,u);(k.isempty===!1||(n===1?u.blankrows!==!1:u.blankrows))&&(f[d++]=k.row)}return f.length=d,f}var zy=/"/g;function Xd(e,r,t,n,a,s,o,i){for(var c=!0,u=[],l="",A=Ho(t),h=r.s.c;h<=r.e.c;++h)if(n[h]){var f=i.dense?(e[t]||[])[h]:e[n[h]+A];if(f==null)l="";else if(f.v!=null){c=!1,l=""+(i.rawNumbers&&f.t=="n"?f.v:ll(f,null,i));for(var d=0,g=0;d!==l.length;++d)if((g=l.charCodeAt(d))===a||g===s||g===34||i.forceQuotes){l='"'+l.replace(zy,'""')+'"';break}l=="ID"&&(l='"ID"')}else f.f==null||f.F?l="":(c=!1,(l="="+f.f).indexOf(",")>=0&&(l='"'+l.replace(zy,'""')+'"'));u.push(l)}return i.blankrows===!1&&c?null:u.join(o)}function Vy(e,r){var t=[],n=r??{};if(e==null||e["!ref"]==null)return"";var a=ea(e["!ref"]),s=n.FS!==void 0?n.FS:",",o=s.charCodeAt(0),i=n.RS!==void 0?n.RS:`
  259. `,c=i.charCodeAt(0),u=new RegExp((s=="|"?"\\|":s)+"+$"),l="",A=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],f=n.skipHidden&&e["!rows"]||[],d=a.s.c;d<=a.e.c;++d)(h[d]||{}).hidden||(A[d]=Eo(d));for(var g=0,p=a.s.r;p<=a.e.r;++p)(f[p]||{}).hidden||(l=Xd(e,a,p,A,o,c,s,n))!=null&&(n.strip&&(l=l.replace(u,"")),(l||n.blankrows!==!1)&&t.push((g++?i:"")+l));return delete n.dense,t.join("")}function Zy(e,r,t,n){var a=1;if(!t)for(;a<=65535&&e.SheetNames.indexOf(t="Sheet"+a)!=-1;++a,t=void 0);if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(t)>=0){var s=t.match(/(^.*?)(\d+)$/);a=s&&+s[2]||0;var o=s&&s[1]||t;for(++a;a<=65535&&e.SheetNames.indexOf(t=o+a)!=-1;++a);}if(Ey(t),e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");return e.SheetNames.push(t),e.Sheets[t]=r,t}function Xy(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}var kp=["#FFFFFF","#000000","#BFBFBF","#323232","#4472C4","#ED7D31","#A5A5A5","#FFC000","#5B9BD5","#71AD47"],xp=["#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#000000","#FFFFFF","#FF0000","#00FF00","#0000FF","#FFFF00","#FF00FF","#00FFFF","#800000","#008000","#000080","#808000","#800080","#008080","#C0C0C0","#808080","#9999FF","#993366","#FFFFCC","#CCFFFF","#660066","#FF8080","#0066CC","#CCCCFF","#000080","#FF00FF","#FFFF00","#00FFFF","#800080","#800000","#008080","#0000FF","#00CCFF","#CCFFFF","#CCFFCC","#FFFF99","#99CCFF","#FF99CC","#CC99FF","#FFCC99","#3366FF","#33CCCC","#99CC00","#FFCC00","#FF9900","#FF6600","#666699","#969696","#003366","#339966","#003300","#333300","#993300","#993366","#333399","#333333","#000000"],sw=80;function $y(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(t,n){return new Promise(function(a,s){var o=new XMLHttpRequest;o.open(n.method||"GET",t,!0),o.responseType=n.responseType||"arraybuffer",o.onload=function(){o.status===200?a(o.response):s(o.status)},o.onerror=function(){s(o.status)},o.withCredentials=n.withCredentials||!1,n.headers&&Object.keys(n.headers).forEach(function(i){o.setRequestHeader(i,n.headers[i])}),o.send(n.body)})}(function(t){return typeof t=="string"?t:t instanceof Blob?URL.createObjectURL(t):t instanceof ArrayBuffer?URL.createObjectURL(new Blob([t])):t instanceof Response?URL.createObjectURL(t.blob()):t}(e),r)}function Sp(e){if(typeof e=="object")return"#000000";if(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.test(e))return e.startsWith("#")?e:"#"+e;e=e.trim().toLowerCase();var r={};try{var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return r.r=parseInt(t[2],16),r.g=parseInt(t[3],16),r.b=parseInt(t[4],16),r.a=parseInt(t[1],16)/255,On("rgba(".concat(r.r,", ").concat(r.g,", ").concat(r.b,", ").concat(r.a,")")).toHexString()}catch(n){console.warn(n)}}function _p(e,r){return e>9?"#C7C9CC":r===void 0?kp[e]:r>0?function(t,n){for(var a=a0(t),s=0;s<3;s++)a[s]=Math.floor((255-a[s])*n+a[s]);return P1(a[0],a[1],a[2])}(kp[e],r):function(t,n){for(var a=a0(t),s=0;s<3;s++)a[s]=Math.floor(a[s]*(1-n));return P1(a[0],a[1],a[2])}(kp[e],Math.abs(r))}function cw(e){e.style=cd.cloneDeep(e.style);var r=null;e.style.fill&&e.style.fill.fgColor&&(r=e.style.fill.fgColor.argb?Sp(e.style.fill.fgColor.argb):e.style.fill.fgColor.hasOwnProperty("theme")?_p(e.style.fill.fgColor.theme,e.style.fill.fgColor.tint):e.style.fill.fgColor.indexed&&xp[e.style.fill.fgColor.indexed]||"#C7C9CC"),r&&(e.style.bgcolor=r);var t=null;if(e.style.font&&e.style.font.color&&(t=e.style.font.color.argb?Sp(e.style.font.color.argb):e.style.font.color.hasOwnProperty("theme")?_p(e.style.font.color.theme,e.style.font.color.tint):e.style.font.color.indexed&&xp[e.style.font.color.indexed]||"#000000"),t&&(e.style.color=t),e.style.alignment&&(e.style.alignment.horizontal&&(e.style.align=e.style.alignment.horizontal),e.style.alignment.vertical&&(e.style.valign=e.style.alignment.vertical)),e.style.alignment&&e.style.alignment.wrapText&&(e.style.textwrap=!0),e.style.border){var n={};Object.keys(e.style.border).forEach(function(a){var s=e.style.border[a],o="#000000";typeof s.color=="string"?o=s.color:s.color&&(s.color.argb?o=Sp(s.color.argb):s.color.hasOwnProperty("theme")?o=_p(s.color.theme,s.color.tint):s.color.indexed&&(o=xp[s.color.indexed])),n[a]=[s.style||"thin",o]}),e.style.border2=function(a){for(var s=1;s<arguments.length;s++){var o=arguments[s]!=null?arguments[s]:{};s%2?Xy(Object(o),!0).forEach(function(i){ht(a,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):Xy(Object(o)).forEach(function(i){Object.defineProperty(a,i,Object.getOwnPropertyDescriptor(o,i))})}return a}({},e.style.border),e.style.border=n}return e.style.font&&e.style.font.size&&typeof e.style.font.size=="number"&&(e.style.font.size=Math.round(e.style.font.size/1.333333)),e.style}function uw(e,r){var t=[],n=[];return e.eachSheet(function(a){n.push(a);var s={name:a.name,styles:[],rows:{},cols:{},merges:[],media:[]},o=[];for(var i in a._merges){s.merges.push(a._merges[i].shortRange);var c={};c.startAddress=a._merges[i].tl,c.endAddress=a._merges[i].br,c.YRange=a._merges[i].model.bottom-a._merges[i].model.top,c.XRange=a._merges[i].model.right-a._merges[i].model.left,o.push(c)}var u=0;(a._rows||[]).forEach(function(A,h){s.rows[h]={cells:{}},A._hidden?(s.rows[h].height=.1,A._cells=[]):A.height?s.rows[h].height=A.height+(r.heightOffset||0):s.rows[h].height=24+(r.heightOffset||0),(A._cells||[]).forEach(function(f,d){s.rows[h].cells[d]={},u=Math.max(u,d);var g=cd.find(o,function(p){return p.startAddress==f._address});g&&f.master.address!=g.startAddress||(g&&(s.rows[h].cells[d].merge=[g.YRange,g.XRange]),s.rows[h].cells[d].text=function(p){var m=p.numFmt,v=p.value;switch(p.type){case 2:try{if(p.style.numFmt){if(p.style.numFmt.endsWith("%")){var y=p.style.numFmt.match(/\.(\d+)%/);return y?(100*v).toFixed(y[1].length)+"%":100*v+"%"}if(/0(\.0+)?/.test(p.style.numFmt)){var I="";if(p.style.numFmt.startsWith("$")?I="$":p.style.numFmt.startsWith('"¥')&&(I="¥"),v===0&&p.style.numFmt.startsWith("_"))return"-";var E=p.style.numFmt.match(/0\.(0+)(_|;|$)/);E=E?E[1].length:0;var k=v.toFixed(E)+"";if(p.style.numFmt.includes("#,##")){for(var R=(k=k.split("."))[0].split("").reverse(),T=[],j=0;j<R.length;j++)T.push(R[j]),(j+1)%3==0&&j<R.length-1&&R[j+1]!=="-"&&T.push(",");k[0]=T.reverse().join(""),k=k.join(".")}return I+k}}return v+""}catch{return v}case 3:return v;case 4:switch(m){case"yyyy-mm-dd;@":default:return jA(v).format("YYYY-MM-DD");case"mm-dd-yy":return jA(v).format("YYYY/MM/DD");case"[$-F800]dddd, mmmm dd, yyyy":return jA(v).format("YYYY年M月D日 ddd");case'm"月"d"日";@':return jA(v).format("M月D日");case"yyyy/m/d h:mm;@":case'm/d/yy "h":mm':return jA(v).subtract(8,"hour").format("YYYY/M/DD HH:mm");case"h:mm;@":return jA(v).format("HH:mm")}case 5:return v.text;case 6:return cd.get(v,"result.error")||v.result;case 8:return p.text;case 9:return p.text.toUpperCase();default:return v}}(f),s.styles.push(cw(f)),s.rows[h].cells[d].style=s.styles.length-1)})}),s._media&&(s.media=s._media);var l=Object.keys(s.rows);s.rows.len=Math.max(+l[l.length-1]+1,r.hasOwnProperty("minRowLength")?r.minRowLength:100),a._columns&&a._columns.length>u+1&&(a._columns=a._columns.slice(0,u+1)),function(A,h,f){for(var d=0;d<(A.columns||[]).length;d++)h.cols[d.toString()]={},A.columns[d]._hidden?h.cols[d.toString()].width=.1:A.columns[d].width?h.cols[d.toString()].width=6*A.columns[d].width+(f.widthOffset||0):h.cols[d.toString()].width=sw+(f.widthOffset||0);h.cols.len=Math.max(Object.keys(h.cols).length,f.minColLength||0)}(a,s,r),t.push(s)}),e._worksheets=n,{workbookData:t,workbookSource:e,medias:e.media||[]}}var Qf=[];function $d(e,r,t,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};t&&t._media.length&&t._media.forEach(function(s){var o=s.imageId,i=s.range;if(s.type==="image"){var c=function(u,l,A,h){for(var f,d,g=h.widthOffset,p=h.heightOffset,m=l.tl,v=l.br,y=l.ext,I=m||{},E=I.nativeCol,k=E===void 0?0:E,R=I.nativeColOff,T=R===void 0?0:R,j=I.nativeRow,W=j===void 0?0:j,H=I.nativeRowOff,X=H===void 0?0:H,x=eg,N=tg,C=0;C<k;C++){var w;x+=6*(u==null||(w=u._columns)===null||w===void 0||(w=w[C])===null||w===void 0?void 0:w.width)||Dp,x+=g||0}for(var Q=0;Q<W;Q++){var B;N+=(u==null||(B=u._rows)===null||B===void 0||(B=B[Q])===null||B===void 0?void 0:B.height)||rg,N+=p||0}var S,O=x+T/12700,F=N+X/12700,Y=v||{},M=Y.nativeCol,z=M===void 0?0:M,ue=Y.nativeColOff,ae=ue===void 0?0:ue,Ne=Y.nativeRow,Ge=Ne===void 0?0:Ne,Ye=Y.nativeRowOff,Ae=Ye===void 0?0:Ye,te=0;if(k===z)te=(ae-T)/12700;else if(v){var he;te=(6*(u==null||(he=u._columns)===null||he===void 0||(he=he[k])===null||he===void 0?void 0:he.width)||Dp)-T/12700;for(var de=k+1;de<z;de++){var Ke;te+=6*(u==null||(Ke=u._columns)===null||Ke===void 0||(Ke=Ke[de])===null||Ke===void 0?void 0:Ke.width)||Dp}te+=ae/12700}else y!=null&&y.width&&(te=y.width/1.333333);if(W===Ge)S=(Ae-X)/12700;else if(v){var le;S=((u==null||(le=u._rows)===null||le===void 0||(le=le[W])===null||le===void 0?void 0:le.height)||rg)-X/12700;for(var Ce=W+1;Ce<Ge;Ce++){var At;S+=(u==null||(At=u._rows)===null||At===void 0||(At=At[Ce])===null||At===void 0?void 0:At.height)||rg}S+=Ae/12700}else y!=null&&y.height&&(S=y.height/1.333333);return{x:(O-((A==null||(f=A.scroll)===null||f===void 0?void 0:f.x)||0))*jc,y:(F-((A==null||(d=A.scroll)===null||d===void 0?void 0:d.y)||0))*jc,width:te*jc,height:S*jc}}(t,i,n,a);(function(u,l,A,h){(function(f,d){return new Promise(function(g,p){if(Qf[f])return g(Qf[f]);var m=d.buffer.buffer,v=new Blob([m],{type:"image/"+d.extension}),y=URL.createObjectURL(v),I=new Image;I.src=y,I.onload=function(){g(I),Qf[f]=I},I.onerror=function(E){p(E)}})})(l,A).then(function(f){var d=0,g=0,p=f.width,m=f.height,v=h.x,y=h.y,I=h.width,E=h.height,k=I/p,R=E/m;if(v<eg*jc){var T=eg*jc-v;v=eg*jc,I-=T,p-=T/k,d+=T/k}if(y<tg*jc){var j=tg*jc-y;y=tg*jc,E-=j,m-=j/R,g+=j/R}var W=window.outerWidth/window.innerWidth;u.drawImage(f,d,g,p,m,v*W,y*W,I*W,E*W)}).catch(function(f){console.error(f)})})(e,o,r[o],c)}})}var eg=60,tg=25,Dp=80,rg=24,jc=window.devicePixelRatio;function eI(){Qf=[]}function lw(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(c,u){if(c){if(typeof c=="string")return tI(c,u);var l=Object.prototype.toString.call(c).slice(8,-1);if(l==="Object"&&c.constructor&&(l=c.constructor.name),l==="Map"||l==="Set")return Array.from(c);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return tI(c,u)}}(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  260. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,o=!0,i=!1;return{s:function(){t=t.call(e)},n:function(){var c=t.next();return o=c.done,c},e:function(c){i=!0,s=c},f:function(){try{o||t.return==null||t.return()}finally{if(i)throw s}}}}function tI(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Aw(e){if(e){var r,t=lw(e.querySelectorAll("input"));try{for(t.s();!(r=t.n()).done;){var n=r.value;n&&!n.readOnly&&(n.readOnly=!0)}}catch(a){t.e(a)}finally{t.f()}document.activeElement&&document.activeElement.blur()}}const hw=(e,r)=>{const t=e.__vccOpts||e;for(const[n,a]of r)t[n]=a;return t};function rI(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Rp(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?rI(Object(t),!0).forEach(function(n){ht(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rI(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var nI={xls:!1,minColLength:20},fw=K.defineComponent({name:"VueOfficeExcel",props:{src:[String,ArrayBuffer,Blob],requestOptions:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return Rp({},nI)}}},emits:["rendered","error","switchSheet","cellSelected","cellsSelected"],setup:function(e,r){var t=r.emit,n=K.ref(null),a=K.ref(null),s={_worksheets:[]},o=[],i=0,c=null,u=null,l=null,A=null;function h(p){A=p,function(m,v){try{return v&&(m=Wy(Qp(m,{type:"array"}),{bookType:"xlsx",type:"array"})),new _1.Workbook().xlsx.load(m)}catch(y){return console.warn(y),Promise.reject(y)}}(p,e.options.xls).then(function(m){if(!m._worksheets||m._worksheets.length===0)throw new Error("未获取到数据,可能文件格式不正确或文件已损坏");e.options.beforeTransformData&&typeof e.options.beforeTransformData=="function"&&(m=e.options.beforeTransformData(m));var v=uw(m,Rp(Rp({},nI),e.options)),y=v.workbookData,I=v.medias,E=v.workbookSource;e.options.transformData&&typeof e.options.transformData=="function"&&(y=e.options.transformData(y)),o=I,s=E,l=null,i=0,eI(),u.loadData(y),$d(c,o,s._worksheets[i],l,e.options),t("rendered"),t("switchSheet",0)}).catch(function(m){console.warn(m),o=[],s={_worksheets:[]},eI(),u&&u.loadData({}),t("error",m),t("switchSheet",0)})}var f=cd.debounce(Aw,200).bind(this,a.value),d=new MutationObserver(f),g={attributes:!0,childList:!0,subtree:!0};return K.onMounted(function(){K.nextTick(function(){d.observe(a.value,g),f(a),(u=new I1(a.value,{mode:"read",showToolbar:!1,showContextmenu:e.options.showContextmenu||!1,view:{height:function(){return n.value&&n.value.clientHeight||300},width:function(){return n.value&&n.value.clientWidth||1200}},row:{height:24,len:100},col:{len:26,width:80,indexWidth:60,minWidth:60},autoFocus:!1}).loadData({})).on("cell-selected",function(I,E,k){t("cellSelected",{cell:I,rowIndex:E,columnIndex:k})}),u.on("cells-selected",function(I,E){var k=E.sri,R=E.sci,T=E.eri,j=E.eci;t("cellsSelected",{cell:I,startRowIndex:k,startColumnIndex:R,endRowIndex:T,endColumnIndex:j})});var p=u.bottombar.swapFunc;u.bottombar.swapFunc=function(I){p.call(u.bottombar,I),i=I,setTimeout(function(){u.reRender(),$d(c,o,s._worksheets[i],l,e.options),t("switchSheet",I)})};var m=u.sheet.editor.clear;u.sheet.editor.clear=function(){for(var I=arguments.length,E=new Array(I),k=0;k<I;k++)E[k]=arguments[k];m.apply(u.sheet.editor,E),setTimeout(function(){$d(c,o,s._worksheets[i],l,e.options)})};var v=u.sheet.editor.setOffset;u.sheet.editor.setOffset=function(){for(var I=arguments.length,E=new Array(I),k=0;k<I;k++)E[k]=arguments[k];v.apply(u.sheet.editor,E),l=E[0],$d(c,o,s._worksheets[i],l,e.options)};var y=a.value.querySelector("canvas");c=y.getContext("2d"),e.src&&$y(e.src,e.requestOptions).then(h).catch(function(I){o=[],s={_worksheets:[]},u.loadData({}),t("error",I)})})}),K.onBeforeUnmount(function(){d.disconnect(),u=null}),K.watch(function(){return e.src},function(){e.src?$y(e.src,e.requestOptions).then(h).catch(function(p){o=[],s={_worksheets:[]},u.loadData({}),t("error",p)}):(o=[],s={_worksheets:[]},u.loadData({}),t("error",new Error("src属性不能为空")))}),{wrapperRef:n,rootRef:a,save:function(p){(function(m,v){D1.apply(this,arguments)})(p||"vue-office-excel-".concat(new Date().getTime(),".xlsx"),A)}}}}),dw={class:"vue-office-excel",ref:"wrapperRef"},gw={class:"vue-office-excel-main",ref:"rootRef"};const ng=hw(fw,[["render",function(e,r,t,n,a,s){return ee.openBlock(),ee.createElementBlock("div",dw,[ee.createElementVNode("div",gw,null,512)],512)}]]);return ng.install=function(e){e.component(ng.name,ng)},ng})})($Q);var i_=$Q.exports;const a_=n1(i_);const o_={__name:"excel",props:{previewSrc:{type:String,required:!1,default:()=>""}},setup(D){const U={width:"100%",height:"100%"},K=()=>{console.log("rendered")},ee=ge=>{console.log("error",ge)};return(ge,Ue)=>(zr(),Ma(Ti(a_),{src:D.previewSrc,style:U,onRendered:K,onError:ee},null,8,["src"]))}},s_=zu(o_,[["__scopeId","data-v-e4e5e161"]]);var e4={exports:{}};(function(D,U){(function(K,ee){D.exports=ee(e3,t3)})(Iu,function(K,ee){var ge=Object.defineProperty,Ue=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,_t=(G,J,oe)=>J in G?ge(G,J,{enumerable:!0,configurable:!0,writable:!0,value:oe}):G[J]=oe,Jt=(G,J)=>{for(var oe in J||(J={}))ht.call(J,oe)&&_t(G,oe,J[oe]);if(Ue)for(var oe of Ue(J))ut.call(J,oe)&&_t(G,oe,J[oe]);return G},ar=(G,J,oe)=>new Promise((Se,et)=>{var ie=Bt=>{try{tt(oe.next(Bt))}catch(Gt){et(Gt)}},xe=Bt=>{try{tt(oe.throw(Bt))}catch(Gt){et(Gt)}},tt=Bt=>Bt.done?Se(Bt.value):Promise.resolve(Bt.value).then(ie,xe);tt((oe=oe.apply(G,J)).next())});const Tt=`/*! For license information please see worker.js.LICENSE.txt */
  261. var e={4186:(e,t,r)=>{var A=r(3749),n=r(8055),i=TypeError;e.exports=function(e){if(A(e))return e;throw new i(n(e)+" is not a function")}},9052:(e,t,r)=>{var A=r(8413),n=r(8055),i=TypeError;e.exports=function(e){if(A(e))return e;throw new i(n(e)+" is not a constructor")}},7330:(e,t,r)=>{var A=r(4597),n=String,i=TypeError;e.exports=function(e){if(A(e))return e;throw new i("Can't set "+n(e)+" as a prototype")}},4376:(e,t,r)=>{var A=r(418).has;e.exports=function(e){return A(e),e}},1458:(e,t,r)=>{var A=r(5811),n=r(5304),i=r(1601).f,a=A("unscopables"),o=Array.prototype;void 0===o[a]&&i(o,a,{configurable:!0,value:n(null)}),e.exports=function(e){o[a][e]=!0}},8149:(e,t,r)=>{var A=r(6903).charAt;e.exports=function(e,t,r){return t+(r?A(e,t).length:1)}},3399:(e,t,r)=>{var A=r(6921),n=TypeError;e.exports=function(e,t){if(A(t,e))return e;throw new n("Incorrect invocation")}},7447:(e,t,r)=>{var A=r(2674),n=String,i=TypeError;e.exports=function(e){if(A(e))return e;throw new i(n(e)+" is not an object")}},387:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8242:(e,t,r)=>{var A=r(4032),n=r(5026),i=r(9872),a=A.ArrayBuffer,o=A.TypeError;e.exports=a&&n(a.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new o("ArrayBuffer expected");return e.byteLength}},8102:(e,t,r)=>{var A=r(4032),n=r(2116),i=r(8242),a=A.ArrayBuffer,o=a&&a.prototype,s=o&&n(o.slice);e.exports=function(e){if(0!==i(e))return!1;if(!s)return!1;try{return s(e,0,0),!1}catch(e){return!0}}},7060:(e,t,r)=>{var A=r(3455);e.exports=A((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},6033:(e,t,r)=>{var A=r(8102),n=TypeError;e.exports=function(e){if(A(e))throw new n("ArrayBuffer is detached");return e}},4676:(e,t,r)=>{var A=r(4032),n=r(2608),i=r(5026),a=r(9088),o=r(6033),s=r(8242),c=r(7395),g=r(6572),u=A.structuredClone,l=A.ArrayBuffer,h=A.DataView,I=Math.min,f=l.prototype,C=h.prototype,B=n(f.slice),Q=i(f,"resizable","get"),E=i(f,"maxByteLength","get"),d=n(C.getInt8),y=n(C.setInt8);e.exports=(g||c)&&function(e,t,r){var A,n=s(e),i=void 0===t?n:a(t),f=!Q||!Q(e);if(o(e),g&&(e=u(e,{transfer:[e]}),n===i&&(r||f)))return e;if(n>=i&&(!r||f))A=B(e,0,i);else{var C=r&&!f&&E?{maxByteLength:E(e)}:void 0;A=new l(i,C);for(var p=new h(e),v=new h(A),m=I(i,n),w=0;w<m;w++)y(v,w,d(p,w))}return g||c(e),A}},4356:(e,t,r)=>{var A,n,i,a=r(387),o=r(2444),s=r(4032),c=r(3749),g=r(2674),u=r(9649),l=r(1179),h=r(8055),I=r(139),f=r(8552),C=r(8986),B=r(6921),Q=r(2611),E=r(9415),d=r(5811),y=r(5936),p=r(8301),v=p.enforce,m=p.get,w=s.Int8Array,b=w&&w.prototype,k=s.Uint8ClampedArray,D=k&&k.prototype,S=w&&Q(w),F=b&&Q(b),x=Object.prototype,R=s.TypeError,G=d("toStringTag"),N=y("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",U=a&&!!E&&"Opera"!==l(s.opera),M=!1,J={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},Y=function(e){var t=Q(e);if(g(t)){var r=m(t);return r&&u(r,L)?r[L]:Y(t)}},P=function(e){if(!g(e))return!1;var t=l(e);return u(J,t)||u(H,t)};for(A in J)(i=(n=s[A])&&n.prototype)?v(i)[L]=n:U=!1;for(A in H)(i=(n=s[A])&&n.prototype)&&(v(i)[L]=n);if((!U||!c(S)||S===Function.prototype)&&(S=function(){throw new R("Incorrect invocation")},U))for(A in J)s[A]&&E(s[A],S);if((!U||!F||F===x)&&(F=S.prototype,U))for(A in J)s[A]&&E(s[A].prototype,F);if(U&&Q(D)!==F&&E(D,F),o&&!u(F,G))for(A in M=!0,C(F,G,{configurable:!0,get:function(){return g(this)?this[N]:void 0}}),J)s[A]&&I(s[A],N,A);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:M&&N,aTypedArray:function(e){if(P(e))return e;throw new R("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!E||B(S,e)))return e;throw new R(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,A){if(o){if(r)for(var n in J){var i=s[n];if(i&&u(i.prototype,e))try{delete i.prototype[e]}catch(r){try{i.prototype[e]=t}catch(e){}}}F[e]&&!r||f(F,e,r?t:U&&b[e]||t,A)}},exportTypedArrayStaticMethod:function(e,t,r){var A,n;if(o){if(E){if(r)for(A in J)if((n=s[A])&&u(n,e))try{delete n[e]}catch(e){}if(S[e]&&!r)return;try{return f(S,e,r?t:U&&S[e]||t)}catch(e){}}for(A in J)!(n=s[A])||n[e]&&!r||f(n,e,t)}},getTypedArrayConstructor:Y,isView:function(e){if(!g(e))return!1;var t=l(e);return"DataView"===t||u(J,t)||u(H,t)},isTypedArray:P,TypedArray:S,TypedArrayPrototype:F}},7226:(e,t,r)=>{var A=r(4032),n=r(2608),i=r(2444),a=r(387),o=r(2542),s=r(139),c=r(8986),g=r(4183),u=r(3455),l=r(3399),h=r(1211),I=r(5806),f=r(9088),C=r(3505),B=r(1306),Q=r(2611),E=r(9415),d=r(9557),y=r(4224),p=r(3951),v=r(2924),m=r(6911),w=r(8301),b=o.PROPER,k=o.CONFIGURABLE,D="ArrayBuffer",S="DataView",F="prototype",x="Wrong index",R=w.getterFor(D),G=w.getterFor(S),N=w.set,L=A[D],U=L,M=U&&U[F],J=A[S],H=J&&J[F],Y=Object.prototype,P=A.Array,O=A.RangeError,K=n(d),T=n([].reverse),q=B.pack,j=B.unpack,W=function(e){return[255&e]},Z=function(e){return[255&e,e>>8&255]},_=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},X=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},V=function(e){return q(C(e),23,4)},z=function(e){return q(e,52,8)},$=function(e,t,r){c(e[F],t,{configurable:!0,get:function(){return r(this)[t]}})},ee=function(e,t,r,A){var n=G(e),i=f(r),a=!!A;if(i+t>n.byteLength)throw new O(x);var o=n.bytes,s=i+n.byteOffset,c=y(o,s,s+t);return a?c:T(c)},te=function(e,t,r,A,n,i){var a=G(e),o=f(r),s=A(+n),c=!!i;if(o+t>a.byteLength)throw new O(x);for(var g=a.bytes,u=o+a.byteOffset,l=0;l<t;l++)g[u+l]=s[c?l:t-l-1]};if(a){var re=b&&L.name!==D;u((function(){L(1)}))&&u((function(){new L(-1)}))&&!u((function(){return new L,new L(1.5),new L(NaN),1!==L.length||re&&!k}))?re&&k&&s(L,"name",D):((U=function(e){return l(this,M),p(new L(f(e)),this,U)})[F]=M,M.constructor=U,v(U,L)),E&&Q(H)!==Y&&E(H,Y);var Ae=new J(new U(2)),ne=n(H.setInt8);Ae.setInt8(0,2147483648),Ae.setInt8(1,2147483649),!Ae.getInt8(0)&&Ae.getInt8(1)||g(H,{setInt8:function(e,t){ne(this,e,t<<24>>24)},setUint8:function(e,t){ne(this,e,t<<24>>24)}},{unsafe:!0})}else M=(U=function(e){l(this,M);var t=f(e);N(this,{type:D,bytes:K(P(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)})[F],H=(J=function(e,t,r){l(this,H),l(e,M);var A=R(e),n=A.byteLength,a=h(t);if(a<0||a>n)throw new O("Wrong offset");if(a+(r=void 0===r?n-a:I(r))>n)throw new O("Wrong length");N(this,{type:S,buffer:e,byteLength:r,byteOffset:a,bytes:A.bytes}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)})[F],i&&($(U,"byteLength",R),$(J,"buffer",G),$(J,"byteLength",G),$(J,"byteOffset",G)),g(H,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return X(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return j(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return j(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,W,t)},setUint8:function(e,t){te(this,1,e,W,t)},setInt16:function(e,t){te(this,2,e,Z,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,Z,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,_,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,_,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,V,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,z,t,arguments.length>2&&arguments[2])}});m(U,D),m(J,S),e.exports={ArrayBuffer:U,DataView:J}},6677:(e,t,r)=>{var A=r(4165),n=r(9002),i=r(7878),a=r(1870),o=Math.min;e.exports=[].copyWithin||function(e,t){var r=A(this),s=i(r),c=n(e,s),g=n(t,s),u=arguments.length>2?arguments[2]:void 0,l=o((void 0===u?s:n(u,s))-g,s-c),h=1;for(g<c&&c<g+l&&(h=-1,g+=l-1,c+=l-1);l-- >0;)g in r?r[c]=r[g]:a(r,c),c+=h,g+=h;return r}},9557:(e,t,r)=>{var A=r(4165),n=r(9002),i=r(7878);e.exports=function(e){for(var t=A(this),r=i(t),a=arguments.length,o=n(a>1?arguments[1]:void 0,r),s=a>2?arguments[2]:void 0,c=void 0===s?r:n(s,r);c>o;)t[o++]=e;return t}},3147:(e,t,r)=>{var A=r(5645).forEach,n=r(1814)("forEach");e.exports=n?[].forEach:function(e){return A(this,e,arguments.length>1?arguments[1]:void 0)}},7434:(e,t,r)=>{var A=r(7878);e.exports=function(e,t,r){for(var n=0,i=arguments.length>2?r:A(t),a=new e(i);i>n;)a[n]=t[n++];return a}},3948:(e,t,r)=>{var A=r(4864),n=r(3453),i=r(4165),a=r(3535),o=r(993),s=r(8413),c=r(7878),g=r(3552),u=r(6961),l=r(7507),h=Array;e.exports=function(e){var t=i(e),r=s(this),I=arguments.length,f=I>1?arguments[1]:void 0,C=void 0!==f;C&&(f=A(f,I>2?arguments[2]:void 0));var B,Q,E,d,y,p,v=l(t),m=0;if(!v||this===h&&o(v))for(B=c(t),Q=r?new this(B):h(B);B>m;m++)p=C?f(t[m],m):t[m],g(Q,m,p);else for(Q=r?new this:[],y=(d=u(t,v)).next;!(E=n(y,d)).done;m++)p=C?a(d,f,[E.value,m],!0):E.value,g(Q,m,p);return Q.length=m,Q}},7921:(e,t,r)=>{var A=r(3637),n=r(9002),i=r(7878),a=function(e){return function(t,r,a){var o=A(t),s=i(o);if(0===s)return!e&&-1;var c,g=n(a,s);if(e&&r!=r){for(;s>g;)if((c=o[g++])!=c)return!0}else for(;s>g;g++)if((e||g in o)&&o[g]===r)return e||g||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},767:(e,t,r)=>{var A=r(4864),n=r(9455),i=r(4165),a=r(7878),o=function(e){var t=1===e;return function(r,o,s){for(var c,g=i(r),u=n(g),l=a(u),h=A(o,s);l-- >0;)if(h(c=u[l],l,g))switch(e){case 0:return c;case 1:return l}return t?-1:void 0}};e.exports={findLast:o(0),findLastIndex:o(1)}},5645:(e,t,r)=>{var A=r(4864),n=r(2608),i=r(9455),a=r(4165),o=r(7878),s=r(1453),c=n([].push),g=function(e){var t=1===e,r=2===e,n=3===e,g=4===e,u=6===e,l=7===e,h=5===e||u;return function(I,f,C,B){for(var Q,E,d=a(I),y=i(d),p=o(y),v=A(f,C),m=0,w=B||s,b=t?w(I,p):r||l?w(I,0):void 0;p>m;m++)if((h||m in y)&&(E=v(Q=y[m],m,d),e))if(t)b[m]=E;else if(E)switch(e){case 3:return!0;case 5:return Q;case 6:return m;case 2:c(b,Q)}else switch(e){case 4:return!1;case 7:c(b,Q)}return u?-1:n||g?g:b}};e.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterReject:g(7)}},3499:(e,t,r)=>{var A=r(3881),n=r(3637),i=r(1211),a=r(7878),o=r(1814),s=Math.min,c=[].lastIndexOf,g=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o("lastIndexOf"),l=g||!u;e.exports=l?function(e){if(g)return A(c,this,arguments)||0;var t=n(this),r=a(t);if(0===r)return-1;var o=r-1;for(arguments.length>1&&(o=s(o,i(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:c},9077:(e,t,r)=>{var A=r(3455),n=r(5811),i=r(6415),a=n("species");e.exports=function(e){return i>=51||!A((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},1814:(e,t,r)=>{var A=r(3455);e.exports=function(e,t){var r=[][e];return!!r&&A((function(){r.call(null,t||function(){return 1},1)}))}},4734:(e,t,r)=>{var A=r(4186),n=r(4165),i=r(9455),a=r(7878),o=TypeError,s="Reduce of empty array with no initial value",c=function(e){return function(t,r,c,g){var u=n(t),l=i(u),h=a(u);if(A(r),0===h&&c<2)throw new o(s);var I=e?h-1:0,f=e?-1:1;if(c<2)for(;;){if(I in l){g=l[I],I+=f;break}if(I+=f,e?I<0:h<=I)throw new o(s)}for(;e?I>=0:h>I;I+=f)I in l&&(g=r(g,l[I],I,u));return g}};e.exports={left:c(!1),right:c(!0)}},7375:(e,t,r)=>{var A=r(2444),n=r(5448),i=TypeError,a=Object.getOwnPropertyDescriptor,o=A&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(n(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4224:(e,t,r)=>{var A=r(2608);e.exports=A([].slice)},5272:(e,t,r)=>{var A=r(4224),n=Math.floor,i=function(e,t){var r=e.length;if(r<8)for(var a,o,s=1;s<r;){for(o=s,a=e[s];o&&t(e[o-1],a)>0;)e[o]=e[--o];o!==s++&&(e[o]=a)}else for(var c=n(r/2),g=i(A(e,0,c),t),u=i(A(e,c),t),l=g.length,h=u.length,I=0,f=0;I<l||f<h;)e[I+f]=I<l&&f<h?t(g[I],u[f])<=0?g[I++]:u[f++]:I<l?g[I++]:u[f++];return e};e.exports=i},2329:(e,t,r)=>{var A=r(5448),n=r(8413),i=r(2674),a=r(5811)("species"),o=Array;e.exports=function(e){var t;return A(e)&&(t=e.constructor,(n(t)&&(t===o||A(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?o:t}},1453:(e,t,r)=>{var A=r(2329);e.exports=function(e,t){return new(A(e))(0===t?0:t)}},6444:(e,t,r)=>{var A=r(7878);e.exports=function(e,t){for(var r=A(e),n=new t(r),i=0;i<r;i++)n[i]=e[r-i-1];return n}},920:(e,t,r)=>{var A=r(7878),n=r(1211),i=RangeError;e.exports=function(e,t,r,a){var o=A(e),s=n(r),c=s<0?o+s:s;if(c>=o||c<0)throw new i("Incorrect index");for(var g=new t(o),u=0;u<o;u++)g[u]=u===c?a:e[u];return g}},2996:e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",A=t+"-_",n=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:n(r),i2cUrl:A,c2iUrl:n(A)}},3535:(e,t,r)=>{var A=r(7447),n=r(5235);e.exports=function(e,t,r,i){try{return i?t(A(r)[0],r[1]):t(r)}catch(t){n(e,"throw",t)}}},4348:(e,t,r)=>{var A=r(5811)("iterator"),n=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){n=!0}};a[A]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!n)return!1}catch(e){return!1}var r=!1;try{var i={};i[A]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},9872:(e,t,r)=>{var A=r(2608),n=A({}.toString),i=A("".slice);e.exports=function(e){return i(n(e),8,-1)}},1179:(e,t,r)=>{var A=r(3724),n=r(3749),i=r(9872),a=r(5811)("toStringTag"),o=Object,s="Arguments"===i(function(){return arguments}());e.exports=A?i:function(e){var t,r,A;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=o(e),a))?r:s?i(t):"Object"===(A=i(t))&&n(t.callee)?"Arguments":A}},2042:(e,t,r)=>{var A=r(5304),n=r(8986),i=r(4183),a=r(4864),o=r(3399),s=r(6021),c=r(1804),g=r(656),u=r(9393),l=r(5409),h=r(2444),I=r(5227).fastKey,f=r(8301),C=f.set,B=f.getterFor;e.exports={getConstructor:function(e,t,r,g){var u=e((function(e,n){o(e,l),C(e,{type:t,index:A(null),first:null,last:null,size:0}),h||(e.size=0),s(n)||c(n,e[g],{that:e,AS_ENTRIES:r})})),l=u.prototype,f=B(t),Q=function(e,t,r){var A,n,i=f(e),a=E(e,t);return a?a.value=r:(i.last=a={index:n=I(t,!0),key:t,value:r,previous:A=i.last,next:null,removed:!1},i.first||(i.first=a),A&&(A.next=a),h?i.size++:e.size++,"F"!==n&&(i.index[n]=a)),e},E=function(e,t){var r,A=f(e),n=I(t);if("F"!==n)return A.index[n];for(r=A.first;r;r=r.next)if(r.key===t)return r};return i(l,{clear:function(){for(var e=f(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=A(null),h?e.size=0:this.size=0},delete:function(e){var t=this,r=f(t),A=E(t,e);if(A){var n=A.next,i=A.previous;delete r.index[A.index],A.removed=!0,i&&(i.next=n),n&&(n.previous=i),r.first===A&&(r.first=n),r.last===A&&(r.last=i),h?r.size--:t.size--}return!!A},forEach:function(e){for(var t,r=f(this),A=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(A(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!E(this,e)}}),i(l,r?{get:function(e){var t=E(this,e);return t&&t.value},set:function(e,t){return Q(this,0===e?0:e,t)}}:{add:function(e){return Q(this,e=0===e?0:e,e)}}),h&&n(l,"size",{configurable:!0,get:function(){return f(this).size}}),u},setStrong:function(e,t,r){var A=t+" Iterator",n=B(t),i=B(A);g(e,t,(function(e,t){C(this,{type:A,target:e,state:n(e),kind:t,last:null})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?u("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=null,u(void 0,!0))}),r?"entries":"values",!r,!0),l(t)}}},8153:(e,t,r)=>{var A=r(2608),n=r(4183),i=r(5227).getWeakData,a=r(3399),o=r(7447),s=r(6021),c=r(2674),g=r(1804),u=r(5645),l=r(9649),h=r(8301),I=h.set,f=h.getterFor,C=u.find,B=u.findIndex,Q=A([].splice),E=0,d=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},p=function(e,t){return C(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=p(this,e);if(t)return t[1]},has:function(e){return!!p(this,e)},set:function(e,t){var r=p(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=B(this.entries,(function(t){return t[0]===e}));return~t&&Q(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,A){var u=e((function(e,n){a(e,h),I(e,{type:t,id:E++,frozen:null}),s(n)||g(n,e[A],{that:e,AS_ENTRIES:r})})),h=u.prototype,C=f(t),B=function(e,t,r){var A=C(e),n=i(o(t),!0);return!0===n?d(A).set(t,r):n[A.id]=r,e};return n(h,{delete:function(e){var t=C(this);if(!c(e))return!1;var r=i(e);return!0===r?d(t).delete(e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=C(this);if(!c(e))return!1;var r=i(e);return!0===r?d(t).has(e):r&&l(r,t.id)}}),n(h,r?{get:function(e){var t=C(this);if(c(e)){var r=i(e);if(!0===r)return d(t).get(e);if(r)return r[t.id]}},set:function(e,t){return B(this,e,t)}}:{add:function(e){return B(this,e,!0)}}),u}}},9556:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(2608),a=r(5868),o=r(8552),s=r(5227),c=r(1804),g=r(3399),u=r(3749),l=r(6021),h=r(2674),I=r(3455),f=r(4348),C=r(6911),B=r(3951);e.exports=function(e,t,r){var Q=-1!==e.indexOf("Map"),E=-1!==e.indexOf("Weak"),d=Q?"set":"add",y=n[e],p=y&&y.prototype,v=y,m={},w=function(e){var t=i(p[e]);o(p,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(E&&!h(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return E&&!h(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(E&&!h(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(a(e,!u(y)||!(E||p.forEach&&!I((function(){(new y).entries().next()})))))v=r.getConstructor(t,e,Q,d),s.enable();else if(a(e,!0)){var b=new v,k=b[d](E?{}:-0,1)!==b,D=I((function(){b.has(1)})),S=f((function(e){new y(e)})),F=!E&&I((function(){for(var e=new y,t=5;t--;)e[d](t,t);return!e.has(-0)}));S||((v=t((function(e,t){g(e,p);var r=B(new y,e,v);return l(t)||c(t,r[d],{that:r,AS_ENTRIES:Q}),r}))).prototype=p,p.constructor=v),(D||F)&&(w("delete"),w("has"),Q&&w("get")),(F||k)&&w(d),E&&p.clear&&delete p.clear}return m[e]=v,A({global:!0,constructor:!0,forced:v!==y},m),C(v,e),E||r.setStrong(v,e,Q),v}},2924:(e,t,r)=>{var A=r(9649),n=r(2919),i=r(1139),a=r(1601);e.exports=function(e,t,r){for(var o=n(t),s=a.f,c=i.f,g=0;g<o.length;g++){var u=o[g];A(e,u)||r&&A(r,u)||s(e,u,c(t,u))}}},860:(e,t,r)=>{var A=r(5811)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[A]=!1,"/./"[e](t)}catch(e){}}return!1}},5139:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9393:e=>{e.exports=function(e,t){return{value:e,done:t}}},139:(e,t,r)=>{var A=r(2444),n=r(1601),i=r(4004);e.exports=A?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},4004:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3552:(e,t,r)=>{var A=r(2444),n=r(1601),i=r(4004);e.exports=function(e,t,r){A?n.f(e,t,i(0,r)):e[t]=r}},952:(e,t,r)=>{var A=r(7447),n=r(3118),i=TypeError;e.exports=function(e){if(A(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return n(this,e)}},8986:(e,t,r)=>{var A=r(1147),n=r(1601);e.exports=function(e,t,r){return r.get&&A(r.get,t,{getter:!0}),r.set&&A(r.set,t,{setter:!0}),n.f(e,t,r)}},8552:(e,t,r)=>{var A=r(3749),n=r(1601),i=r(1147),a=r(5801);e.exports=function(e,t,r,o){o||(o={});var s=o.enumerable,c=void 0!==o.name?o.name:t;if(A(r)&&i(r,c,o),o.global)s?e[t]=r:a(t,r);else{try{o.unsafe?e[t]&&(s=!0):delete e[t]}catch(e){}s?e[t]=r:n.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},4183:(e,t,r)=>{var A=r(8552);e.exports=function(e,t,r){for(var n in t)A(e,n,t[n],r);return e}},5801:(e,t,r)=>{var A=r(4032),n=Object.defineProperty;e.exports=function(e,t){try{n(A,e,{value:t,configurable:!0,writable:!0})}catch(r){A[e]=t}return t}},1870:(e,t,r)=>{var A=r(8055),n=TypeError;e.exports=function(e,t){if(!delete e[t])throw new n("Cannot delete property "+A(t)+" of "+A(e))}},2444:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7395:(e,t,r)=>{var A,n,i,a,o=r(4032),s=r(9685),c=r(6572),g=o.structuredClone,u=o.ArrayBuffer,l=o.MessageChannel,h=!1;if(c)h=function(e){g(e,{transfer:[e]})};else if(u)try{l||(A=s("worker_threads"))&&(l=A.MessageChannel),l&&(n=new l,i=new u(2),a=function(e){n.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(h=a)))}catch(e){}e.exports=h},5751:(e,t,r)=>{var A=r(4032),n=r(2674),i=A.document,a=n(i)&&n(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},9573:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},4090:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},2760:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},4784:(e,t,r)=>{var A=r(5751)("span").classList,n=A&&A.constructor&&A.constructor.prototype;e.exports=n===Object.prototype?void 0:n},5175:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7085:(e,t,r)=>{var A=r(7607).match(/firefox\\/(\\d+)/i);e.exports=!!A&&+A[1]},5123:(e,t,r)=>{var A=r(7607);e.exports=/MSIE|Trident/.test(A)},9081:(e,t,r)=>{var A=r(7607);e.exports=/ipad|iphone|ipod/i.test(A)&&"undefined"!=typeof Pebble},9352:(e,t,r)=>{var A=r(7607);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(A)},4529:(e,t,r)=>{var A=r(7351);e.exports="NODE"===A},628:(e,t,r)=>{var A=r(7607);e.exports=/web0s(?!.*chrome)/i.test(A)},7607:(e,t,r)=>{var A=r(4032).navigator,n=A&&A.userAgent;e.exports=n?String(n):""},6415:(e,t,r)=>{var A,n,i=r(4032),a=r(7607),o=i.process,s=i.Deno,c=o&&o.versions||s&&s.version,g=c&&c.v8;g&&(n=(A=g.split("."))[0]>0&&A[0]<4?1:+(A[0]+A[1])),!n&&a&&(!(A=a.match(/Edge\\/(\\d+)/))||A[1]>=74)&&(A=a.match(/Chrome\\/(\\d+)/))&&(n=+A[1]),e.exports=n},1911:(e,t,r)=>{var A=r(7607).match(/AppleWebKit\\/(\\d+)\\./);e.exports=!!A&&+A[1]},7351:(e,t,r)=>{var A=r(4032),n=r(7607),i=r(9872),a=function(e){return n.slice(0,e.length)===e};e.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":A.Bun&&"string"==typeof Bun.version?"BUN":A.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(A.process)?"NODE":A.window&&A.document?"BROWSER":"REST"},3633:(e,t,r)=>{var A=r(2608),n=Error,i=A("".replace),a=String(new n("zxcasd").stack),o=/\\n\\s*at [^:]*:[^\\n]*/,s=o.test(a);e.exports=function(e,t){if(s&&"string"==typeof e&&!n.prepareStackTrace)for(;t--;)e=i(e,o,"");return e}},4171:(e,t,r)=>{var A=r(139),n=r(3633),i=r(3427),a=Error.captureStackTrace;e.exports=function(e,t,r,o){i&&(a?a(e,t):A(e,"stack",n(r,o)))}},3427:(e,t,r)=>{var A=r(3455),n=r(4004);e.exports=!A((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",n(1,7)),7!==e.stack)}))},2912:(e,t,r)=>{var A=r(2444),n=r(3455),i=r(7447),a=r(8363),o=Error.prototype.toString,s=n((function(){if(A){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==o.call(e))return!0}return"2: 1"!==o.call({message:1,name:2})||"Error"!==o.call({})}));e.exports=s?function(){var e=i(this),t=a(e.name,"Error"),r=a(e.message);return t?r?t+": "+r:t:r}:o},5366:(e,t,r)=>{var A=r(4032),n=r(1139).f,i=r(139),a=r(8552),o=r(5801),s=r(2924),c=r(5868);e.exports=function(e,t){var r,g,u,l,h,I=e.target,f=e.global,C=e.stat;if(r=f?A:C?A[I]||o(I,{}):A[I]&&A[I].prototype)for(g in t){if(l=t[g],u=e.dontCallGetSet?(h=n(r,g))&&h.value:r[g],!c(f?g:I+(C?".":"#")+g,e.forced)&&void 0!==u){if(typeof l==typeof u)continue;s(l,u)}(e.sham||u&&u.sham)&&i(l,"sham",!0),a(r,g,l,e)}}},3455:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},4364:(e,t,r)=>{r(2823);var A=r(3453),n=r(8552),i=r(9867),a=r(3455),o=r(5811),s=r(139),c=o("species"),g=RegExp.prototype;e.exports=function(e,t,r,u){var l=o(e),h=!a((function(){var t={};return t[l]=function(){return 7},7!==""[e](t)})),I=h&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[l]=/./[l]),r.exec=function(){return t=!0,null},r[l](""),!t}));if(!h||!I||r){var f=/./[l],C=t(l,""[e],(function(e,t,r,n,a){var o=t.exec;return o===i||o===g.exec?h&&!a?{done:!0,value:A(f,t,r,n)}:{done:!0,value:A(e,r,t,n)}:{done:!1}}));n(String.prototype,e,C[0]),n(g,l,C[1])}u&&s(g[l],"sham",!0)}},2851:(e,t,r)=>{var A=r(5448),n=r(7878),i=r(9573),a=r(4864),o=function(e,t,r,s,c,g,u,l){for(var h,I,f=c,C=0,B=!!u&&a(u,l);C<s;)C in r&&(h=B?B(r[C],C,t):r[C],g>0&&A(h)?(I=n(h),f=o(e,t,h,I,f,g-1)-1):(i(f+1),e[f]=h),f++),C++;return f};e.exports=o},568:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){return Object.isExtensible(Object.preventExtensions({}))}))},3881:(e,t,r)=>{var A=r(9128),n=Function.prototype,i=n.apply,a=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(A?a.bind(i):function(){return a.apply(i,arguments)})},4864:(e,t,r)=>{var A=r(2116),n=r(4186),i=r(9128),a=A(A.bind);e.exports=function(e,t){return n(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},9128:(e,t,r)=>{var A=r(3455);e.exports=!A((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2230:(e,t,r)=>{var A=r(2608),n=r(4186),i=r(2674),a=r(9649),o=r(4224),s=r(9128),c=Function,g=A([].concat),u=A([].join),l={};e.exports=s?c.bind:function(e){var t=n(this),r=t.prototype,A=o(arguments,1),s=function(){var r=g(A,o(arguments));return this instanceof s?function(e,t,r){if(!a(l,t)){for(var A=[],n=0;n<t;n++)A[n]="a["+n+"]";l[t]=c("C,a","return new C("+u(A,",")+")")}return l[t](e,r)}(t,r.length,r):t.apply(e,r)};return i(r)&&(s.prototype=r),s}},3453:(e,t,r)=>{var A=r(9128),n=Function.prototype.call;e.exports=A?n.bind(n):function(){return n.apply(n,arguments)}},2542:(e,t,r)=>{var A=r(2444),n=r(9649),i=Function.prototype,a=A&&Object.getOwnPropertyDescriptor,o=n(i,"name"),s=o&&"something"===function(){}.name,c=o&&(!A||A&&a(i,"name").configurable);e.exports={EXISTS:o,PROPER:s,CONFIGURABLE:c}},5026:(e,t,r)=>{var A=r(2608),n=r(4186);e.exports=function(e,t,r){try{return A(n(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},2116:(e,t,r)=>{var A=r(9872),n=r(2608);e.exports=function(e){if("Function"===A(e))return n(e)}},2608:(e,t,r)=>{var A=r(9128),n=Function.prototype,i=n.call,a=A&&n.bind.bind(i,i);e.exports=A?a:function(e){return function(){return i.apply(e,arguments)}}},9685:(e,t,r)=>{var A=r(4032),n=r(4529);e.exports=function(e){if(n){try{return A.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},8711:(e,t,r)=>{var A=r(4032),n=r(3749);e.exports=function(e,t){return arguments.length<2?(r=A[e],n(r)?r:void 0):A[e]&&A[e][t];var r}},3447:e=>{e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},7507:(e,t,r)=>{var A=r(1179),n=r(8622),i=r(6021),a=r(5597),o=r(5811)("iterator");e.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||a[A(e)]}},6961:(e,t,r)=>{var A=r(3453),n=r(4186),i=r(7447),a=r(8055),o=r(7507),s=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(n(r))return i(A(r,e));throw new s(a(e)+" is not iterable")}},213:(e,t,r)=>{var A=r(2608),n=r(5448),i=r(3749),a=r(9872),o=r(687),s=A([].push);e.exports=function(e){if(i(e))return e;if(n(e)){for(var t=e.length,r=[],A=0;A<t;A++){var c=e[A];"string"==typeof c?s(r,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||s(r,o(c))}var g=r.length,u=!0;return function(e,t){if(u)return u=!1,t;if(n(this))return t;for(var A=0;A<g;A++)if(r[A]===e)return t}}}},8622:(e,t,r)=>{var A=r(4186),n=r(6021);e.exports=function(e,t){var r=e[t];return n(r)?void 0:A(r)}},3885:(e,t,r)=>{var A=r(4186),n=r(7447),i=r(3453),a=r(1211),o=r(3447),s="Invalid size",c=RangeError,g=TypeError,u=Math.max,l=function(e,t){this.set=e,this.size=u(t,0),this.has=A(e.has),this.keys=A(e.keys)};l.prototype={getIterator:function(){return o(n(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){n(e);var t=+e.size;if(t!=t)throw new g(s);var r=a(t);if(r<0)throw new c(s);return new l(e,r)}},3966:(e,t,r)=>{var A=r(2608),n=r(4165),i=Math.floor,a=A("".charAt),o=A("".replace),s=A("".slice),c=/\\$([$&'\`]|\\d{1,2}|<[^>]*>)/g,g=/\\$([$&'\`]|\\d{1,2})/g;e.exports=function(e,t,r,A,u,l){var h=r+e.length,I=A.length,f=g;return void 0!==u&&(u=n(u),f=c),o(l,f,(function(n,o){var c;switch(a(o,0)){case"$":return"$";case"&":return e;case"\`":return s(t,0,r);case"'":return s(t,h);case"<":c=u[s(o,1,-1)];break;default:var g=+o;if(0===g)return n;if(g>I){var l=i(g/10);return 0===l?n:l<=I?void 0===A[l-1]?a(o,1):A[l-1]+a(o,1):n}c=A[g-1]}return void 0===c?"":c}))}},4032:function(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9649:(e,t,r)=>{var A=r(2608),n=r(4165),i=A({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(n(e),t)}},2645:e=>{e.exports={}},4885:e=>{e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},3085:(e,t,r)=>{var A=r(8711);e.exports=A("document","documentElement")},8829:(e,t,r)=>{var A=r(2444),n=r(3455),i=r(5751);e.exports=!A&&!n((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1306:e=>{var t=Array,r=Math.abs,A=Math.pow,n=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,o,s){var c,g,u,l=t(s),h=8*s-o-1,I=(1<<h)-1,f=I>>1,C=23===o?A(2,-24)-A(2,-77):0,B=e<0||0===e&&1/e<0?1:0,Q=0;for((e=r(e))!=e||e===1/0?(g=e!=e?1:0,c=I):(c=n(i(e)/a),e*(u=A(2,-c))<1&&(c--,u*=2),(e+=c+f>=1?C/u:C*A(2,1-f))*u>=2&&(c++,u/=2),c+f>=I?(g=0,c=I):c+f>=1?(g=(e*u-1)*A(2,o),c+=f):(g=e*A(2,f-1)*A(2,o),c=0));o>=8;)l[Q++]=255&g,g/=256,o-=8;for(c=c<<o|g,h+=o;h>0;)l[Q++]=255&c,c/=256,h-=8;return l[Q-1]|=128*B,l},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,a=(1<<i)-1,o=a>>1,s=i-7,c=n-1,g=e[c--],u=127&g;for(g>>=7;s>0;)u=256*u+e[c--],s-=8;for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;)r=256*r+e[c--],s-=8;if(0===u)u=1-o;else{if(u===a)return r?NaN:g?-1/0:1/0;r+=A(2,t),u-=o}return(g?-1:1)*r*A(2,u-t)}}},9455:(e,t,r)=>{var A=r(2608),n=r(3455),i=r(9872),a=Object,o=A("".split);e.exports=n((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?o(e,""):a(e)}:a},3951:(e,t,r)=>{var A=r(3749),n=r(2674),i=r(9415);e.exports=function(e,t,r){var a,o;return i&&A(a=t.constructor)&&a!==r&&n(o=a.prototype)&&o!==r.prototype&&i(e,o),e}},6906:(e,t,r)=>{var A=r(2608),n=r(3749),i=r(2205),a=A(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2483:(e,t,r)=>{var A=r(2674),n=r(139);e.exports=function(e,t){A(t)&&"cause"in t&&n(e,"cause",t.cause)}},5227:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(2645),a=r(2674),o=r(9649),s=r(1601).f,c=r(3408),g=r(6442),u=r(8812),l=r(5936),h=r(568),I=!1,f=l("meta"),C=0,B=function(e){s(e,f,{value:{objectID:"O"+C++,weakData:{}}})},Q=e.exports={enable:function(){Q.enable=function(){},I=!0;var e=c.f,t=n([].splice),r={};r[f]=1,e(r).length&&(c.f=function(r){for(var A=e(r),n=0,i=A.length;n<i;n++)if(A[n]===f){t(A,n,1);break}return A},A({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:g.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,f)){if(!u(e))return"F";if(!t)return"E";B(e)}return e[f].objectID},getWeakData:function(e,t){if(!o(e,f)){if(!u(e))return!0;if(!t)return!1;B(e)}return e[f].weakData},onFreeze:function(e){return h&&I&&u(e)&&!o(e,f)&&B(e),e}};i[f]=!0},8301:(e,t,r)=>{var A,n,i,a=r(6206),o=r(4032),s=r(2674),c=r(139),g=r(9649),u=r(2205),l=r(2343),h=r(2645),I="Object already initialized",f=o.TypeError,C=o.WeakMap;if(a||u.state){var B=u.state||(u.state=new C);B.get=B.get,B.has=B.has,B.set=B.set,A=function(e,t){if(B.has(e))throw new f(I);return t.facade=e,B.set(e,t),t},n=function(e){return B.get(e)||{}},i=function(e){return B.has(e)}}else{var Q=l("state");h[Q]=!0,A=function(e,t){if(g(e,Q))throw new f(I);return t.facade=e,c(e,Q,t),t},n=function(e){return g(e,Q)?e[Q]:{}},i=function(e){return g(e,Q)}}e.exports={set:A,get:n,has:i,enforce:function(e){return i(e)?n(e):A(e,{})},getterFor:function(e){return function(t){var r;if(!s(t)||(r=n(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return r}}}},993:(e,t,r)=>{var A=r(5811),n=r(5597),i=A("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[i]===e)}},5448:(e,t,r)=>{var A=r(9872);e.exports=Array.isArray||function(e){return"Array"===A(e)}},5415:(e,t,r)=>{var A=r(1179);e.exports=function(e){var t=A(e);return"BigInt64Array"===t||"BigUint64Array"===t}},3749:e=>{var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8413:(e,t,r)=>{var A=r(2608),n=r(3455),i=r(3749),a=r(1179),o=r(8711),s=r(6906),c=function(){},g=o("Reflect","construct"),u=/^\\s*(?:class|function)\\b/,l=A(u.exec),h=!u.test(c),I=function(e){if(!i(e))return!1;try{return g(c,[],e),!0}catch(e){return!1}},f=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!l(u,s(e))}catch(e){return!0}};f.sham=!0,e.exports=!g||n((function(){var e;return I(I.call)||!I(Object)||!I((function(){e=!0}))||e}))?f:I},3007:(e,t,r)=>{var A=r(9649);e.exports=function(e){return void 0!==e&&(A(e,"value")||A(e,"writable"))}},5868:(e,t,r)=>{var A=r(3455),n=r(3749),i=/#|\\.prototype\\./,a=function(e,t){var r=s[o(e)];return r===g||r!==c&&(n(t)?A(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",g=a.POLYFILL="P";e.exports=a},2599:(e,t,r)=>{var A=r(2674),n=Math.floor;e.exports=Number.isInteger||function(e){return!A(e)&&isFinite(e)&&n(e)===e}},6021:e=>{e.exports=function(e){return null==e}},2674:(e,t,r)=>{var A=r(3749);e.exports=function(e){return"object"==typeof e?null!==e:A(e)}},4597:(e,t,r)=>{var A=r(2674);e.exports=function(e){return A(e)||null===e}},8507:e=>{e.exports=!1},6484:(e,t,r)=>{var A=r(2674),n=r(9872),i=r(5811)("match");e.exports=function(e){var t;return A(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===n(e))}},2277:(e,t,r)=>{var A=r(8711),n=r(3749),i=r(6921),a=r(4752),o=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=A("Symbol");return n(t)&&i(t.prototype,o(e))}},2939:(e,t,r)=>{var A=r(3453);e.exports=function(e,t,r){for(var n,i,a=r?e:e.iterator,o=e.next;!(n=A(o,a)).done;)if(void 0!==(i=t(n.value)))return i}},1804:(e,t,r)=>{var A=r(4864),n=r(3453),i=r(7447),a=r(8055),o=r(993),s=r(7878),c=r(6921),g=r(6961),u=r(7507),l=r(5235),h=TypeError,I=function(e,t){this.stopped=e,this.result=t},f=I.prototype;e.exports=function(e,t,r){var C,B,Q,E,d,y,p,v=r&&r.that,m=!(!r||!r.AS_ENTRIES),w=!(!r||!r.IS_RECORD),b=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),D=A(t,v),S=function(e){return C&&l(C,"normal",e),new I(!0,e)},F=function(e){return m?(i(e),k?D(e[0],e[1],S):D(e[0],e[1])):k?D(e,S):D(e)};if(w)C=e.iterator;else if(b)C=e;else{if(!(B=u(e)))throw new h(a(e)+" is not iterable");if(o(B)){for(Q=0,E=s(e);E>Q;Q++)if((d=F(e[Q]))&&c(f,d))return d;return new I(!1)}C=g(e,B)}for(y=w?e.next:C.next;!(p=n(y,C)).done;){try{d=F(p.value)}catch(e){l(C,"throw",e)}if("object"==typeof d&&d&&c(f,d))return d}return new I(!1)}},5235:(e,t,r)=>{var A=r(3453),n=r(7447),i=r(8622);e.exports=function(e,t,r){var a,o;n(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=A(a,e)}catch(e){o=!0,a=e}if("throw"===t)throw r;if(o)throw a;return n(a),r}},282:(e,t,r)=>{var A=r(2857).IteratorPrototype,n=r(5304),i=r(4004),a=r(6911),o=r(5597),s=function(){return this};e.exports=function(e,t,r,c){var g=t+" Iterator";return e.prototype=n(A,{next:i(+!c,r)}),a(e,g,!1,!0),o[g]=s,e}},2342:(e,t,r)=>{var A=r(3453),n=r(5304),i=r(139),a=r(4183),o=r(5811),s=r(8301),c=r(8622),g=r(2857).IteratorPrototype,u=r(9393),l=r(5235),h=o("toStringTag"),I="IteratorHelper",f="WrapForValidIterator",C=s.set,B=function(e){var t=s.getterFor(e?f:I);return a(n(g),{next:function(){var r=t(this);if(e)return r.nextHandler();try{var A=r.done?void 0:r.nextHandler();return u(A,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),n=r.iterator;if(r.done=!0,e){var i=c(n,"return");return i?A(i,n):u(void 0,!0)}if(r.inner)try{l(r.inner.iterator,"normal")}catch(e){return l(n,"throw",e)}return l(n,"normal"),u(void 0,!0)}})},Q=B(!0),E=B(!1);i(E,h,"Iterator Helper"),e.exports=function(e,t){var r=function(r,A){A?(A.iterator=r.iterator,A.next=r.next):A=r,A.type=t?f:I,A.nextHandler=e,A.counter=0,A.done=!1,C(this,A)};return r.prototype=t?Q:E,r}},656:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(8507),a=r(2542),o=r(3749),s=r(282),c=r(2611),g=r(9415),u=r(6911),l=r(139),h=r(8552),I=r(5811),f=r(5597),C=r(2857),B=a.PROPER,Q=a.CONFIGURABLE,E=C.IteratorPrototype,d=C.BUGGY_SAFARI_ITERATORS,y=I("iterator"),p="keys",v="values",m="entries",w=function(){return this};e.exports=function(e,t,r,a,I,C,b){s(r,t,a);var k,D,S,F=function(e){if(e===I&&L)return L;if(!d&&e&&e in G)return G[e];switch(e){case p:case v:case m:return function(){return new r(this,e)}}return function(){return new r(this)}},x=t+" Iterator",R=!1,G=e.prototype,N=G[y]||G["@@iterator"]||I&&G[I],L=!d&&N||F(I),U="Array"===t&&G.entries||N;if(U&&(k=c(U.call(new e)))!==Object.prototype&&k.next&&(i||c(k)===E||(g?g(k,E):o(k[y])||h(k,y,w)),u(k,x,!0,!0),i&&(f[x]=w)),B&&I===v&&N&&N.name!==v&&(!i&&Q?l(G,"name",v):(R=!0,L=function(){return n(N,this)})),I)if(D={values:F(v),keys:C?L:F(p),entries:F(m)},b)for(S in D)(d||R||!(S in G))&&h(G,S,D[S]);else A({target:t,proto:!0,forced:d||R},D);return i&&!b||G[y]===L||h(G,y,L,{name:I}),f[t]=L,D}},4009:(e,t,r)=>{var A=r(3453),n=r(4186),i=r(7447),a=r(3447),o=r(2342),s=r(3535),c=o((function(){var e=this.iterator,t=i(A(this.next,e));if(!(this.done=!!t.done))return s(e,this.mapper,[t.value,this.counter++],!0)}));e.exports=function(e){return i(this),n(e),new c(a(this),{mapper:e})}},2857:(e,t,r)=>{var A,n,i,a=r(3455),o=r(3749),s=r(2674),c=r(5304),g=r(2611),u=r(8552),l=r(5811),h=r(8507),I=l("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(n=g(g(i)))!==Object.prototype&&(A=n):f=!0),!s(A)||a((function(){var e={};return A[I].call(e)!==e}))?A={}:h&&(A=c(A)),o(A[I])||u(A,I,(function(){return this})),e.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:f}},5597:e=>{e.exports={}},7878:(e,t,r)=>{var A=r(5806);e.exports=function(e){return A(e.length)}},1147:(e,t,r)=>{var A=r(2608),n=r(3455),i=r(3749),a=r(9649),o=r(2444),s=r(2542).CONFIGURABLE,c=r(6906),g=r(8301),u=g.enforce,l=g.get,h=String,I=Object.defineProperty,f=A("".slice),C=A("".replace),B=A([].join),Q=o&&!n((function(){return 8!==I((function(){}),"length",{value:8}).length})),E=String(String).split("String"),d=e.exports=function(e,t,r){"Symbol("===f(h(t),0,7)&&(t="["+C(h(t),/^Symbol\\(([^)]*)\\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||s&&e.name!==t)&&(o?I(e,"name",{value:t,configurable:!0}):e.name=t),Q&&r&&a(r,"arity")&&e.length!==r.arity&&I(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?o&&I(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var A=u(e);return a(A,"source")||(A.source=B(E,"string"==typeof t?t:"")),e};Function.prototype.toString=d((function(){return i(this)&&l(this).source||c(this)}),"toString")},9676:(e,t,r)=>{var A=r(550),n=Math.abs,i=2220446049250313e-31,a=1/i;e.exports=function(e,t,r,o){var s=+e,c=n(s),g=A(s);if(c<o)return g*function(e){return e+a-a}(c/o/t)*o*t;var u=(1+t/i)*c,l=u-(u-c);return l>r||l!=l?g*(1/0):g*l}},3505:(e,t,r)=>{var A=r(9676);e.exports=Math.fround||function(e){return A(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},550:e=>{e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},2789:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var A=+e;return(A>0?r:t)(A)}},755:(e,t,r)=>{var A,n,i,a,o,s=r(4032),c=r(5725),g=r(4864),u=r(1369).set,l=r(3529),h=r(9352),I=r(9081),f=r(628),C=r(4529),B=s.MutationObserver||s.WebKitMutationObserver,Q=s.document,E=s.process,d=s.Promise,y=c("queueMicrotask");if(!y){var p=new l,v=function(){var e,t;for(C&&(e=E.domain)&&e.exit();t=p.get();)try{t()}catch(e){throw p.head&&A(),e}e&&e.enter()};h||C||f||!B||!Q?!I&&d&&d.resolve?((a=d.resolve(void 0)).constructor=d,o=g(a.then,a),A=function(){o(v)}):C?A=function(){E.nextTick(v)}:(u=g(u,s),A=function(){u(v)}):(n=!0,i=Q.createTextNode(""),new B(v).observe(i,{characterData:!0}),A=function(){i.data=n=!n}),y=function(e){p.head||A(),p.add(e)}}e.exports=y},9371:(e,t,r)=>{var A=r(4186),n=TypeError,i=function(e){var t,r;this.promise=new e((function(e,A){if(void 0!==t||void 0!==r)throw new n("Bad Promise constructor");t=e,r=A})),this.resolve=A(t),this.reject=A(r)};e.exports.f=function(e){return new i(e)}},8363:(e,t,r)=>{var A=r(687);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:A(e)}},3631:(e,t,r)=>{var A=r(6484),n=TypeError;e.exports=function(e){if(A(e))throw new n("The method doesn't accept regular expressions");return e}},8069:(e,t,r)=>{var A=r(2444),n=r(2608),i=r(3453),a=r(3455),o=r(496),s=r(6005),c=r(9221),g=r(4165),u=r(9455),l=Object.assign,h=Object.defineProperty,I=n([].concat);e.exports=!l||a((function(){if(A&&1!==l({b:1},l(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==l({},e)[r]||o(l({},t)).join("")!==n}))?function(e,t){for(var r=g(e),n=arguments.length,a=1,l=s.f,h=c.f;n>a;)for(var f,C=u(arguments[a++]),B=l?I(o(C),l(C)):o(C),Q=B.length,E=0;Q>E;)f=B[E++],A&&!i(h,C,f)||(r[f]=C[f]);return r}:l},5304:(e,t,r)=>{var A,n=r(7447),i=r(9217),a=r(5175),o=r(2645),s=r(3085),c=r(5751),g=r(2343),u="prototype",l="script",h=g("IE_PROTO"),I=function(){},f=function(e){return"<"+l+">"+e+"</"+l+">"},C=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},B=function(){try{A=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;B="undefined"!=typeof document?document.domain&&A?C(A):(t=c("iframe"),r="java"+l+":",t.style.display="none",s.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):C(A);for(var n=a.length;n--;)delete B[u][a[n]];return B()};o[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(I[u]=n(e),r=new I,I[u]=null,r[h]=e):r=B(),void 0===t?r:i.f(r,t)}},9217:(e,t,r)=>{var A=r(2444),n=r(782),i=r(1601),a=r(7447),o=r(3637),s=r(496);t.f=A&&!n?Object.defineProperties:function(e,t){a(e);for(var r,A=o(t),n=s(t),c=n.length,g=0;c>g;)i.f(e,r=n[g++],A[r]);return e}},1601:(e,t,r)=>{var A=r(2444),n=r(8829),i=r(782),a=r(7447),o=r(6201),s=TypeError,c=Object.defineProperty,g=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",h="writable";t.f=A?i?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var A=g(e,t);A&&A[h]&&(e[t]=r.value,r={configurable:l in r?r[l]:A[l],enumerable:u in r?r[u]:A[u],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new s("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1139:(e,t,r)=>{var A=r(2444),n=r(3453),i=r(9221),a=r(4004),o=r(3637),s=r(6201),c=r(9649),g=r(8829),u=Object.getOwnPropertyDescriptor;t.f=A?u:function(e,t){if(e=o(e),t=s(t),g)try{return u(e,t)}catch(e){}if(c(e,t))return a(!n(i.f,e,t),e[t])}},6442:(e,t,r)=>{var A=r(9872),n=r(3637),i=r(3408).f,a=r(4224),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"Window"===A(e)?function(e){try{return i(e)}catch(e){return a(o)}}(e):i(n(e))}},3408:(e,t,r)=>{var A=r(2468),n=r(5175).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return A(e,n)}},6005:(e,t)=>{t.f=Object.getOwnPropertySymbols},2611:(e,t,r)=>{var A=r(9649),n=r(3749),i=r(4165),a=r(2343),o=r(5139),s=a("IE_PROTO"),c=Object,g=c.prototype;e.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(A(t,s))return t[s];var r=t.constructor;return n(r)&&t instanceof r?r.prototype:t instanceof c?g:null}},8812:(e,t,r)=>{var A=r(3455),n=r(2674),i=r(9872),a=r(7060),o=Object.isExtensible,s=A((function(){o(1)}));e.exports=s||a?function(e){return!!n(e)&&(!a||"ArrayBuffer"!==i(e))&&(!o||o(e))}:o},6921:(e,t,r)=>{var A=r(2608);e.exports=A({}.isPrototypeOf)},2468:(e,t,r)=>{var A=r(2608),n=r(9649),i=r(3637),a=r(7921).indexOf,o=r(2645),s=A([].push);e.exports=function(e,t){var r,A=i(e),c=0,g=[];for(r in A)!n(o,r)&&n(A,r)&&s(g,r);for(;t.length>c;)n(A,r=t[c++])&&(~a(g,r)||s(g,r));return g}},496:(e,t,r)=>{var A=r(2468),n=r(5175);e.exports=Object.keys||function(e){return A(e,n)}},9221:(e,t)=>{var r={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,n=A&&!r.call({1:2},1);t.f=n?function(e){var t=A(this,e);return!!t&&t.enumerable}:r},9415:(e,t,r)=>{var A=r(5026),n=r(2674),i=r(7222),a=r(7330);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=A(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,A){return i(r),a(A),n(r)?(t?e(r,A):r.__proto__=A,r):r}}():void 0)},8885:(e,t,r)=>{var A=r(2444),n=r(3455),i=r(2608),a=r(2611),o=r(496),s=r(3637),c=i(r(9221).f),g=i([].push),u=A&&n((function(){var e=Object.create(null);return e[2]=2,!c(e,2)})),l=function(e){return function(t){for(var r,n=s(t),i=o(n),l=u&&null===a(n),h=i.length,I=0,f=[];h>I;)r=i[I++],A&&!(l?r in n:c(n,r))||g(f,e?[r,n[r]]:n[r]);return f}};e.exports={entries:l(!0),values:l(!1)}},3003:(e,t,r)=>{var A=r(3724),n=r(1179);e.exports=A?{}.toString:function(){return"[object "+n(this)+"]"}},3118:(e,t,r)=>{var A=r(3453),n=r(3749),i=r(2674),a=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&n(r=e.toString)&&!i(o=A(r,e)))return o;if(n(r=e.valueOf)&&!i(o=A(r,e)))return o;if("string"!==t&&n(r=e.toString)&&!i(o=A(r,e)))return o;throw new a("Can't convert object to primitive value")}},2919:(e,t,r)=>{var A=r(8711),n=r(2608),i=r(3408),a=r(6005),o=r(7447),s=n([].concat);e.exports=A("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?s(t,r(e)):t}},8799:(e,t,r)=>{var A=r(4032);e.exports=A},6703:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9492:(e,t,r)=>{var A=r(4032),n=r(5318),i=r(3749),a=r(5868),o=r(6906),s=r(5811),c=r(7351),g=r(8507),u=r(6415),l=n&&n.prototype,h=s("species"),I=!1,f=i(A.PromiseRejectionEvent),C=a("Promise",(function(){var e=o(n),t=e!==String(n);if(!t&&66===u)return!0;if(g&&(!l.catch||!l.finally))return!0;if(!u||u<51||!/native code/.test(e)){var r=new n((function(e){e(1)})),A=function(e){e((function(){}),(function(){}))};if((r.constructor={})[h]=A,!(I=r.then((function(){}))instanceof A))return!0}return!(t||"BROWSER"!==c&&"DENO"!==c||f)}));e.exports={CONSTRUCTOR:C,REJECTION_EVENT:f,SUBCLASSING:I}},5318:(e,t,r)=>{var A=r(4032);e.exports=A.Promise},1774:(e,t,r)=>{var A=r(7447),n=r(2674),i=r(9371);e.exports=function(e,t){if(A(e),n(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},2041:(e,t,r)=>{var A=r(5318),n=r(4348),i=r(9492).CONSTRUCTOR;e.exports=i||!n((function(e){A.all(e).then(void 0,(function(){}))}))},2848:(e,t,r)=>{var A=r(1601).f;e.exports=function(e,t,r){r in e||A(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},3529:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},4410:(e,t,r)=>{var A=r(3453),n=r(7447),i=r(3749),a=r(9872),o=r(9867),s=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var c=A(r,e,t);return null!==c&&n(c),c}if("RegExp"===a(e))return A(o,e,t);throw new s("RegExp#exec called on incompatible receiver")}},9867:(e,t,r)=>{var A,n,i=r(3453),a=r(2608),o=r(687),s=r(747),c=r(1837),g=r(4593),u=r(5304),l=r(8301).get,h=r(3651),I=r(9502),f=g("native-string-replace",String.prototype.replace),C=RegExp.prototype.exec,B=C,Q=a("".charAt),E=a("".indexOf),d=a("".replace),y=a("".slice),p=(n=/b*/g,i(C,A=/a/,"a"),i(C,n,"a"),0!==A.lastIndex||0!==n.lastIndex),v=c.BROKEN_CARET,m=void 0!==/()??/.exec("")[1];(p||m||v||h||I)&&(B=function(e){var t,r,A,n,a,c,g,h=this,I=l(h),w=o(e),b=I.raw;if(b)return b.lastIndex=h.lastIndex,t=i(B,b,w),h.lastIndex=b.lastIndex,t;var k=I.groups,D=v&&h.sticky,S=i(s,h),F=h.source,x=0,R=w;if(D&&(S=d(S,"y",""),-1===E(S,"g")&&(S+="g"),R=y(w,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\\n"!==Q(w,h.lastIndex-1))&&(F="(?: "+F+")",R=" "+R,x++),r=new RegExp("^(?:"+F+")",S)),m&&(r=new RegExp("^"+F+"$(?!\\\\s)",S)),p&&(A=h.lastIndex),n=i(C,D?r:h,R),D?n?(n.input=y(n.input,x),n[0]=y(n[0],x),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:p&&n&&(h.lastIndex=h.global?n.index+n[0].length:A),m&&n&&n.length>1&&i(f,n[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(n[a]=void 0)})),n&&k)for(n.groups=c=u(null),a=0;a<k.length;a++)c[(g=k[a])[0]]=n[g[1]];return n}),e.exports=B},747:(e,t,r)=>{var A=r(7447);e.exports=function(){var e=A(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},4554:(e,t,r)=>{var A=r(3453),n=r(9649),i=r(6921),a=r(747),o=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in o||n(e,"flags")||!i(o,e)?t:A(a,e)}},1837:(e,t,r)=>{var A=r(3455),n=r(4032).RegExp,i=A((function(){var e=n("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||A((function(){return!n("a","y").sticky})),o=i||A((function(){var e=n("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:o,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3651:(e,t,r)=>{var A=r(3455),n=r(4032).RegExp;e.exports=A((function(){var e=n(".","s");return!(e.dotAll&&e.test("\\n")&&"s"===e.flags)}))},9502:(e,t,r)=>{var A=r(3455),n=r(4032).RegExp;e.exports=A((function(){var e=n("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},7222:(e,t,r)=>{var A=r(6021),n=TypeError;e.exports=function(e){if(A(e))throw new n("Can't call method on "+e);return e}},5725:(e,t,r)=>{var A=r(4032),n=r(2444),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!n)return A[e];var t=i(A,e);return t&&t.value}},8550:(e,t,r)=>{var A=r(418),n=r(5605),i=A.Set,a=A.add;e.exports=function(e){var t=new i;return n(e,(function(e){a(t,e)})),t}},4656:(e,t,r)=>{var A=r(4376),n=r(418),i=r(8550),a=r(82),o=r(3885),s=r(5605),c=r(2939),g=n.has,u=n.remove;e.exports=function(e){var t=A(this),r=o(e),n=i(t);return a(t)<=r.size?s(t,(function(e){r.includes(e)&&u(n,e)})):c(r.getIterator(),(function(e){g(t,e)&&u(n,e)})),n}},418:(e,t,r)=>{var A=r(2608),n=Set.prototype;e.exports={Set,add:A(n.add),has:A(n.has),remove:A(n.delete),proto:n}},2446:(e,t,r)=>{var A=r(4376),n=r(418),i=r(82),a=r(3885),o=r(5605),s=r(2939),c=n.Set,g=n.add,u=n.has;e.exports=function(e){var t=A(this),r=a(e),n=new c;return i(t)>r.size?s(r.getIterator(),(function(e){u(t,e)&&g(n,e)})):o(t,(function(e){r.includes(e)&&g(n,e)})),n}},4545:(e,t,r)=>{var A=r(4376),n=r(418).has,i=r(82),a=r(3885),o=r(5605),s=r(2939),c=r(5235);e.exports=function(e){var t=A(this),r=a(e);if(i(t)<=r.size)return!1!==o(t,(function(e){if(r.includes(e))return!1}),!0);var g=r.getIterator();return!1!==s(g,(function(e){if(n(t,e))return c(g,"normal",!1)}))}},7918:(e,t,r)=>{var A=r(4376),n=r(82),i=r(5605),a=r(3885);e.exports=function(e){var t=A(this),r=a(e);return!(n(t)>r.size)&&!1!==i(t,(function(e){if(!r.includes(e))return!1}),!0)}},6111:(e,t,r)=>{var A=r(4376),n=r(418).has,i=r(82),a=r(3885),o=r(2939),s=r(5235);e.exports=function(e){var t=A(this),r=a(e);if(i(t)<r.size)return!1;var c=r.getIterator();return!1!==o(c,(function(e){if(!n(t,e))return s(c,"normal",!1)}))}},5605:(e,t,r)=>{var A=r(2608),n=r(2939),i=r(418),a=i.Set,o=i.proto,s=A(o.forEach),c=A(o.keys),g=c(new a).next;e.exports=function(e,t,r){return r?n({iterator:c(e),next:g},t):s(e,t)}},1716:(e,t,r)=>{var A=r(8711),n=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};e.exports=function(e){var t=A("Set");try{(new t)[e](n(0));try{return(new t)[e](n(-1)),!1}catch(e){return!0}}catch(e){return!1}}},82:(e,t,r)=>{var A=r(5026),n=r(418);e.exports=A(n.proto,"size","get")||function(e){return e.size}},5409:(e,t,r)=>{var A=r(8711),n=r(8986),i=r(5811),a=r(2444),o=i("species");e.exports=function(e){var t=A(e);a&&t&&!t[o]&&n(t,o,{configurable:!0,get:function(){return this}})}},4498:(e,t,r)=>{var A=r(4376),n=r(418),i=r(8550),a=r(3885),o=r(2939),s=n.add,c=n.has,g=n.remove;e.exports=function(e){var t=A(this),r=a(e).getIterator(),n=i(t);return o(r,(function(e){c(t,e)?g(n,e):s(n,e)})),n}},6911:(e,t,r)=>{var A=r(1601).f,n=r(9649),i=r(5811)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!n(e,i)&&A(e,i,{configurable:!0,value:t})}},9500:(e,t,r)=>{var A=r(4376),n=r(418).add,i=r(8550),a=r(3885),o=r(2939);e.exports=function(e){var t=A(this),r=a(e).getIterator(),s=i(t);return o(r,(function(e){n(s,e)})),s}},2343:(e,t,r)=>{var A=r(4593),n=r(5936),i=A("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},2205:(e,t,r)=>{var A=r(8507),n=r(4032),i=r(5801),a="__core-js_shared__",o=e.exports=n[a]||i(a,{});(o.versions||(o.versions=[])).push({version:"3.38.1",mode:A?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4593:(e,t,r)=>{var A=r(2205);e.exports=function(e,t){return A[e]||(A[e]=t||{})}},1365:(e,t,r)=>{var A=r(7447),n=r(9052),i=r(6021),a=r(5811)("species");e.exports=function(e,t){var r,o=A(e).constructor;return void 0===o||i(r=A(o)[a])?t:n(r)}},6903:(e,t,r)=>{var A=r(2608),n=r(1211),i=r(687),a=r(7222),o=A("".charAt),s=A("".charCodeAt),c=A("".slice),g=function(e){return function(t,r){var A,g,u=i(a(t)),l=n(r),h=u.length;return l<0||l>=h?e?"":void 0:(A=s(u,l))<55296||A>56319||l+1===h||(g=s(u,l+1))<56320||g>57343?e?o(u,l):A:e?c(u,l,l+2):g-56320+(A-55296<<10)+65536}};e.exports={codeAt:g(!1),charAt:g(!0)}},4903:(e,t,r)=>{var A=r(7607);e.exports=/Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(A)},6437:(e,t,r)=>{var A=r(2608),n=r(5806),i=r(687),a=r(6605),o=r(7222),s=A(a),c=A("".slice),g=Math.ceil,u=function(e){return function(t,r,A){var a,u,l=i(o(t)),h=n(r),I=l.length,f=void 0===A?" ":i(A);return h<=I||""===f?l:((u=s(f,g((a=h-I)/f.length))).length>a&&(u=c(u,0,a)),e?l+u:u+l)}};e.exports={start:u(!1),end:u(!0)}},5141:(e,t,r)=>{var A=r(2608),n=2147483647,i=/[^\\0-\\u007E]/,a=/[.\\u3002\\uFF0E\\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,c=A(a.exec),g=Math.floor,u=String.fromCharCode,l=A("".charCodeAt),h=A([].join),I=A([].push),f=A("".replace),C=A("".split),B=A("".toLowerCase),Q=function(e){return e+22+75*(e<26)},E=function(e,t,r){var A=0;for(e=r?g(e/700):e>>1,e+=g(e/t);e>455;)e=g(e/35),A+=36;return g(A+36*e/(e+38))},d=function(e){var t=[];e=function(e){for(var t=[],r=0,A=e.length;r<A;){var n=l(e,r++);if(n>=55296&&n<=56319&&r<A){var i=l(e,r++);56320==(64512&i)?I(t,((1023&n)<<10)+(1023&i)+65536):(I(t,n),r--)}else I(t,n)}return t}(e);var r,A,i=e.length,a=128,c=0,f=72;for(r=0;r<e.length;r++)(A=e[r])<128&&I(t,u(A));var C=t.length,B=C;for(C&&I(t,"-");B<i;){var d=n;for(r=0;r<e.length;r++)(A=e[r])>=a&&A<d&&(d=A);var y=B+1;if(d-a>g((n-c)/y))throw new s(o);for(c+=(d-a)*y,a=d,r=0;r<e.length;r++){if((A=e[r])<a&&++c>n)throw new s(o);if(A===a){for(var p=c,v=36;;){var m=v<=f?1:v>=f+26?26:v-f;if(p<m)break;var w=p-m,b=36-m;I(t,u(Q(m+w%b))),p=g(w/b),v+=36}I(t,u(Q(p))),f=E(c,y,B===C),c=0,B++}}c++,a++}return h(t,"")};e.exports=function(e){var t,r,A=[],n=C(f(B(e),a,"."),".");for(t=0;t<n.length;t++)r=n[t],I(A,c(i,r)?"xn--"+d(r):r);return h(A,".")}},6605:(e,t,r)=>{var A=r(1211),n=r(687),i=r(7222),a=RangeError;e.exports=function(e){var t=n(i(this)),r="",o=A(e);if(o<0||o===1/0)throw new a("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},2882:(e,t,r)=>{var A=r(9418).end,n=r(3794);e.exports=n("trimEnd")?function(){return A(this)}:"".trimEnd},3794:(e,t,r)=>{var A=r(2542).PROPER,n=r(3455),i=r(2284);e.exports=function(e){return n((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||A&&i[e].name!==e}))}},9418:(e,t,r)=>{var A=r(2608),n=r(7222),i=r(687),a=r(2284),o=A("".replace),s=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),g=function(e){return function(t){var r=i(n(t));return 1&e&&(r=o(r,s,"")),2&e&&(r=o(r,c,"$1")),r}};e.exports={start:g(1),end:g(2),trim:g(3)}},6572:(e,t,r)=>{var A=r(4032),n=r(3455),i=r(6415),a=r(7351),o=A.structuredClone;e.exports=!!o&&!n((function(){if("DENO"===a&&i>92||"NODE"===a&&i>94||"BROWSER"===a&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},6943:(e,t,r)=>{var A=r(6415),n=r(3455),i=r(4032).String;e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&A&&A<41}))},3042:(e,t,r)=>{var A=r(3453),n=r(8711),i=r(5811),a=r(8552);e.exports=function(){var e=n("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,o=i("toPrimitive");t&&!t[o]&&a(t,o,(function(e){return A(r,this)}),{arity:1})}},8592:(e,t,r)=>{var A=r(6943);e.exports=A&&!!Symbol.for&&!!Symbol.keyFor},1369:(e,t,r)=>{var A,n,i,a,o=r(4032),s=r(3881),c=r(4864),g=r(3749),u=r(9649),l=r(3455),h=r(3085),I=r(4224),f=r(5751),C=r(7900),B=r(9352),Q=r(4529),E=o.setImmediate,d=o.clearImmediate,y=o.process,p=o.Dispatch,v=o.Function,m=o.MessageChannel,w=o.String,b=0,k={},D="onreadystatechange";l((function(){A=o.location}));var S=function(e){if(u(k,e)){var t=k[e];delete k[e],t()}},F=function(e){return function(){S(e)}},x=function(e){S(e.data)},R=function(e){o.postMessage(w(e),A.protocol+"//"+A.host)};E&&d||(E=function(e){C(arguments.length,1);var t=g(e)?e:v(e),r=I(arguments,1);return k[++b]=function(){s(t,void 0,r)},n(b),b},d=function(e){delete k[e]},Q?n=function(e){y.nextTick(F(e))}:p&&p.now?n=function(e){p.now(F(e))}:m&&!B?(a=(i=new m).port2,i.port1.onmessage=x,n=c(a.postMessage,a)):o.addEventListener&&g(o.postMessage)&&!o.importScripts&&A&&"file:"!==A.protocol&&!l(R)?(n=R,o.addEventListener("message",x,!1)):n=D in f("script")?function(e){h.appendChild(f("script"))[D]=function(){h.removeChild(this),S(e)}}:function(e){setTimeout(F(e),0)}),e.exports={set:E,clear:d}},9002:(e,t,r)=>{var A=r(1211),n=Math.max,i=Math.min;e.exports=function(e,t){var r=A(e);return r<0?n(r+t,0):i(r,t)}},1198:(e,t,r)=>{var A=r(8921),n=TypeError;e.exports=function(e){var t=A(e,"number");if("number"==typeof t)throw new n("Can't convert number to bigint");return BigInt(t)}},9088:(e,t,r)=>{var A=r(1211),n=r(5806),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=A(e),r=n(t);if(t!==r)throw new i("Wrong length or index");return r}},3637:(e,t,r)=>{var A=r(9455),n=r(7222);e.exports=function(e){return A(n(e))}},1211:(e,t,r)=>{var A=r(2789);e.exports=function(e){var t=+e;return t!=t||0===t?0:A(t)}},5806:(e,t,r)=>{var A=r(1211),n=Math.min;e.exports=function(e){var t=A(e);return t>0?n(t,9007199254740991):0}},4165:(e,t,r)=>{var A=r(7222),n=Object;e.exports=function(e){return n(A(e))}},8402:(e,t,r)=>{var A=r(5590),n=RangeError;e.exports=function(e,t){var r=A(e);if(r%t)throw new n("Wrong offset");return r}},5590:(e,t,r)=>{var A=r(1211),n=RangeError;e.exports=function(e){var t=A(e);if(t<0)throw new n("The argument can't be less than 0");return t}},8921:(e,t,r)=>{var A=r(3453),n=r(2674),i=r(2277),a=r(8622),o=r(3118),s=r(5811),c=TypeError,g=s("toPrimitive");e.exports=function(e,t){if(!n(e)||i(e))return e;var r,s=a(e,g);if(s){if(void 0===t&&(t="default"),r=A(s,e,t),!n(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}},6201:(e,t,r)=>{var A=r(8921),n=r(2277);e.exports=function(e){var t=A(e,"string");return n(t)?t:t+""}},3724:(e,t,r)=>{var A={};A[r(5811)("toStringTag")]="z",e.exports="[object z]"===String(A)},687:(e,t,r)=>{var A=r(1179),n=String;e.exports=function(e){if("Symbol"===A(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},5215:e=>{var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},8055:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8975:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3453),a=r(2444),o=r(949),s=r(4356),c=r(7226),g=r(3399),u=r(4004),l=r(139),h=r(2599),I=r(5806),f=r(9088),C=r(8402),B=r(5215),Q=r(6201),E=r(9649),d=r(1179),y=r(2674),p=r(2277),v=r(5304),m=r(6921),w=r(9415),b=r(3408).f,k=r(2291),D=r(5645).forEach,S=r(5409),F=r(8986),x=r(1601),R=r(1139),G=r(7434),N=r(8301),L=r(3951),U=N.get,M=N.set,J=N.enforce,H=x.f,Y=R.f,P=n.RangeError,O=c.ArrayBuffer,K=O.prototype,T=c.DataView,q=s.NATIVE_ARRAY_BUFFER_VIEWS,j=s.TYPED_ARRAY_TAG,W=s.TypedArray,Z=s.TypedArrayPrototype,_=s.isTypedArray,X="BYTES_PER_ELEMENT",V="Wrong length",z=function(e,t){F(e,t,{configurable:!0,get:function(){return U(this)[t]}})},$=function(e){var t;return m(K,e)||"ArrayBuffer"===(t=d(e))||"SharedArrayBuffer"===t},ee=function(e,t){return _(e)&&!p(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=Q(t),ee(e,t)?u(2,e[t]):Y(e,t)},re=function(e,t,r){return t=Q(t),!(ee(e,t)&&y(r)&&E(r,"value"))||E(r,"get")||E(r,"set")||r.configurable||E(r,"writable")&&!r.writable||E(r,"enumerable")&&!r.enumerable?H(e,t,r):(e[t]=r.value,e)};a?(q||(R.f=te,x.f=re,z(Z,"buffer"),z(Z,"byteOffset"),z(Z,"byteLength"),z(Z,"length")),A({target:"Object",stat:!0,forced:!q},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var a=e.match(/\\d+/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,u="set"+e,h=n[s],Q=h,E=Q&&Q.prototype,d={},p=function(e,t){H(e,t,{get:function(){return function(e,t){var r=U(e);return r.view[c](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,A){var n=U(e);n.view[u](t*a+n.byteOffset,r?B(A):A,!0)}(this,t,e)},enumerable:!0})};q?o&&(Q=t((function(e,t,r,A){return g(e,E),L(y(t)?$(t)?void 0!==A?new h(t,C(r,a),A):void 0!==r?new h(t,C(r,a)):new h(t):_(t)?G(Q,t):i(k,Q,t):new h(f(t)),e,Q)})),w&&w(Q,W),D(b(h),(function(e){e in Q||l(Q,e,h[e])})),Q.prototype=E):(Q=t((function(e,t,r,A){g(e,E);var n,o,s,c=0,u=0;if(y(t)){if(!$(t))return _(t)?G(Q,t):i(k,Q,t);n=t,u=C(r,a);var l=t.byteLength;if(void 0===A){if(l%a)throw new P(V);if((o=l-u)<0)throw new P(V)}else if((o=I(A)*a)+u>l)throw new P(V);s=o/a}else s=f(t),n=new O(o=s*a);for(M(e,{buffer:n,byteOffset:u,byteLength:o,length:s,view:new T(n)});c<s;)p(e,c++)})),w&&w(Q,W),E=Q.prototype=v(Z)),E.constructor!==Q&&l(E,"constructor",Q),J(E).TypedArrayConstructor=Q,j&&l(E,j,s);var m=Q!==h;d[s]=Q,A({global:!0,constructor:!0,forced:m,sham:!q},d),X in Q||l(Q,X,a),X in E||l(E,X,a),S(s)}):e.exports=function(){}},949:(e,t,r)=>{var A=r(4032),n=r(3455),i=r(4348),a=r(4356).NATIVE_ARRAY_BUFFER_VIEWS,o=A.ArrayBuffer,s=A.Int8Array;e.exports=!a||!n((function(){s(1)}))||!n((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||n((function(){return 1!==new s(new o(2),1,void 0).length}))},85:(e,t,r)=>{var A=r(7434),n=r(580);e.exports=function(e,t){return A(n(e),t)}},2291:(e,t,r)=>{var A=r(4864),n=r(3453),i=r(9052),a=r(4165),o=r(7878),s=r(6961),c=r(7507),g=r(993),u=r(5415),l=r(4356).aTypedArrayConstructor,h=r(1198);e.exports=function(e){var t,r,I,f,C,B,Q,E,d=i(this),y=a(e),p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,w=c(y);if(w&&!g(w))for(E=(Q=s(y,w)).next,y=[];!(B=n(E,Q)).done;)y.push(B.value);for(m&&p>2&&(v=A(v,arguments[2])),r=o(y),I=new(l(d))(r),f=u(I),t=0;r>t;t++)C=m?v(y[t],t):y[t],I[t]=f?h(C):+C;return I}},580:(e,t,r)=>{var A=r(4356),n=r(1365),i=A.aTypedArrayConstructor,a=A.getTypedArrayConstructor;e.exports=function(e){return i(n(e,a(e)))}},5936:(e,t,r)=>{var A=r(2608),n=0,i=Math.random(),a=A(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}},8200:(e,t,r)=>{var A=r(3455),n=r(5811),i=r(2444),a=r(8507),o=n("iterator");e.exports=!A((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),A="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),A+=r+e})),r.delete("a",2),r.delete("b",void 0),a&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(a||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==A||"x"!==new URL("https://x",void 0).host}))},4752:(e,t,r)=>{var A=r(6943);e.exports=A&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},782:(e,t,r)=>{var A=r(2444),n=r(3455);e.exports=A&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7900:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},6206:(e,t,r)=>{var A=r(4032),n=r(3749),i=A.WeakMap;e.exports=n(i)&&/native code/.test(String(i))},5343:(e,t,r)=>{var A=r(8799),n=r(9649),i=r(4559),a=r(1601).f;e.exports=function(e){var t=A.Symbol||(A.Symbol={});n(t,e)||a(t,e,{value:i.f(e)})}},4559:(e,t,r)=>{var A=r(5811);t.f=A},5811:(e,t,r)=>{var A=r(4032),n=r(4593),i=r(9649),a=r(5936),o=r(6943),s=r(4752),c=A.Symbol,g=n("wks"),u=s?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(g,e)||(g[e]=o&&i(c,e)?c[e]:u("Symbol."+e)),g[e]}},2284:e=>{e.exports="\\t\\n\\v\\f\\r                 \\u2028\\u2029\\ufeff"},9257:(e,t,r)=>{var A=r(8711),n=r(9649),i=r(139),a=r(6921),o=r(9415),s=r(2924),c=r(2848),g=r(3951),u=r(8363),l=r(2483),h=r(4171),I=r(2444),f=r(8507);e.exports=function(e,t,r,C){var B="stackTraceLimit",Q=C?2:1,E=e.split("."),d=E[E.length-1],y=A.apply(null,E);if(y){var p=y.prototype;if(!f&&n(p,"cause")&&delete p.cause,!r)return y;var v=A("Error"),m=t((function(e,t){var r=u(C?t:e,void 0),A=C?new y(e):new y;return void 0!==r&&i(A,"message",r),h(A,m,A.stack,2),this&&a(p,this)&&g(A,this,m),arguments.length>Q&&l(A,arguments[Q]),A}));if(m.prototype=p,"Error"!==d?o?o(m,v):s(m,v,{name:!0}):I&&B in y&&(c(m,y,B),c(m,y,"prepareStackTrace")),s(m,y),!f)try{p.name!==d&&i(p,"name",d),p.constructor=m}catch(e){}return m}}},5015:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(7226),a=r(5409),o="ArrayBuffer",s=i[o];A({global:!0,constructor:!0,forced:n[o]!==s},{ArrayBuffer:s}),a(o)},9261:(e,t,r)=>{var A=r(2444),n=r(8986),i=r(8102),a=ArrayBuffer.prototype;A&&!("detached"in a)&&n(a,"detached",{configurable:!0,get:function(){return i(this)}})},6209:(e,t,r)=>{var A=r(5366),n=r(2116),i=r(3455),a=r(7226),o=r(7447),s=r(9002),c=r(5806),g=r(1365),u=a.ArrayBuffer,l=a.DataView,h=l.prototype,I=n(u.prototype.slice),f=n(h.getUint8),C=n(h.setUint8);A({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new u(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(I&&void 0===t)return I(o(this),e);for(var r=o(this).byteLength,A=s(e,r),n=s(void 0===t?r:t,r),i=new(g(this,u))(c(n-A)),a=new l(this),h=new l(i),B=0;A<n;)C(h,B++,f(a,A++));return i}})},3632:(e,t,r)=>{var A=r(5366),n=r(4676);n&&A({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return n(this,arguments.length?arguments[0]:void 0,!1)}})},3700:(e,t,r)=>{var A=r(5366),n=r(4676);n&&A({target:"ArrayBuffer",proto:!0},{transfer:function(){return n(this,arguments.length?arguments[0]:void 0,!0)}})},6347:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(7878),a=r(1211),o=r(1458);A({target:"Array",proto:!0},{at:function(e){var t=n(this),r=i(t),A=a(e),o=A>=0?A:r+A;return o<0||o>=r?void 0:t[o]}}),o("at")},3234:(e,t,r)=>{var A=r(5366),n=r(3455),i=r(5448),a=r(2674),o=r(4165),s=r(7878),c=r(9573),g=r(3552),u=r(1453),l=r(9077),h=r(5811),I=r(6415),f=h("isConcatSpreadable"),C=I>=51||!n((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),B=function(e){if(!a(e))return!1;var t=e[f];return void 0!==t?!!t:i(e)};A({target:"Array",proto:!0,arity:1,forced:!C||!l("concat")},{concat:function(e){var t,r,A,n,i,a=o(this),l=u(a,0),h=0;for(t=-1,A=arguments.length;t<A;t++)if(B(i=-1===t?a:arguments[t]))for(n=s(i),c(h+n),r=0;r<n;r++,h++)r in i&&g(l,h,i[r]);else c(h+1),g(l,h++,i);return l.length=h,l}})},456:(e,t,r)=>{var A=r(5366),n=r(5645).filter;A({target:"Array",proto:!0,forced:!r(9077)("filter")},{filter:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},6497:(e,t,r)=>{var A=r(5366),n=r(2851),i=r(4165),a=r(7878),o=r(1211),s=r(1453);A({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t),A=s(t,0);return A.length=n(A,t,t,r,0,void 0===e?1:o(e)),A}})},6746:(e,t,r)=>{var A=r(5366),n=r(3948);A({target:"Array",stat:!0,forced:!r(4348)((function(e){Array.from(e)}))},{from:n})},932:(e,t,r)=>{var A=r(5366),n=r(7921).includes,i=r(3455),a=r(1458);A({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},3276:(e,t,r)=>{var A=r(5366),n=r(2116),i=r(7921).indexOf,a=r(1814),o=n([].indexOf),s=!!o&&1/o([1],1,-0)<0;A({target:"Array",proto:!0,forced:s||!a("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return s?o(this,e,t)||0:i(this,e,t)}})},9024:(e,t,r)=>{var A=r(3637),n=r(1458),i=r(5597),a=r(8301),o=r(1601).f,s=r(656),c=r(9393),g=r(8507),u=r(2444),l="Array Iterator",h=a.set,I=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){h(this,{type:l,target:A(e),index:0,kind:t})}),(function(){var e=I(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(r,!1);case"values":return c(t[r],!1)}return c([r,t[r]],!1)}),"values");var f=i.Arguments=i.Array;if(n("keys"),n("values"),n("entries"),!g&&u&&"values"!==f.name)try{o(f,"name",{value:"values"})}catch(e){}},3177:(e,t,r)=>{var A=r(5366),n=r(3499);A({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},5550:(e,t,r)=>{var A=r(5366),n=r(5645).map;A({target:"Array",proto:!0,forced:!r(9077)("map")},{map:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},9138:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(7878),a=r(7375),o=r(9573);A({target:"Array",proto:!0,arity:1,forced:r(3455)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=n(this),r=i(t),A=arguments.length;o(r+A);for(var s=0;s<A;s++)t[r]=arguments[s],r++;return a(t,r),r}})},8408:(e,t,r)=>{var A=r(5366),n=r(4734).left,i=r(1814),a=r(6415);A({target:"Array",proto:!0,forced:!r(4529)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return n(this,e,t,t>1?arguments[1]:void 0)}})},6794:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(5448),a=n([].reverse),o=[1,2];A({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},750:(e,t,r)=>{var A=r(5366),n=r(5448),i=r(8413),a=r(2674),o=r(9002),s=r(7878),c=r(3637),g=r(3552),u=r(5811),l=r(9077),h=r(4224),I=l("slice"),f=u("species"),C=Array,B=Math.max;A({target:"Array",proto:!0,forced:!I},{slice:function(e,t){var r,A,u,l=c(this),I=s(l),Q=o(e,I),E=o(void 0===t?I:t,I);if(n(l)&&(r=l.constructor,(i(r)&&(r===C||n(r.prototype))||a(r)&&null===(r=r[f]))&&(r=void 0),r===C||void 0===r))return h(l,Q,E);for(A=new(void 0===r?C:r)(B(E-Q,0)),u=0;Q<E;Q++,u++)Q in l&&g(A,u,l[Q]);return A.length=u,A}})},7710:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(4186),a=r(4165),o=r(7878),s=r(1870),c=r(687),g=r(3455),u=r(5272),l=r(1814),h=r(7085),I=r(5123),f=r(6415),C=r(1911),B=[],Q=n(B.sort),E=n(B.push),d=g((function(){B.sort(void 0)})),y=g((function(){B.sort(null)})),p=l("sort"),v=!g((function(){if(f)return f<70;if(!(h&&h>3)){if(I)return!0;if(C)return C<603;var e,t,r,A,n="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(A=0;A<47;A++)B.push({k:t+A,v:r})}for(B.sort((function(e,t){return t.v-e.v})),A=0;A<B.length;A++)t=B[A].k.charAt(0),n.charAt(n.length-1)!==t&&(n+=t);return"DGBEFHACIJK"!==n}}));A({target:"Array",proto:!0,forced:d||!y||!p||!v},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(v)return void 0===e?Q(t):Q(t,e);var r,A,n=[],g=o(t);for(A=0;A<g;A++)A in t&&E(n,t[A]);for(u(n,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}}(e)),r=o(n),A=0;A<r;)t[A]=n[A++];for(;A<g;)s(t,A++);return t}})},122:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(9002),a=r(1211),o=r(7878),s=r(7375),c=r(9573),g=r(1453),u=r(3552),l=r(1870),h=r(9077)("splice"),I=Math.max,f=Math.min;A({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var r,A,h,C,B,Q,E=n(this),d=o(E),y=i(e,d),p=arguments.length;for(0===p?r=A=0:1===p?(r=0,A=d-y):(r=p-2,A=f(I(a(t),0),d-y)),c(d+r-A),h=g(E,A),C=0;C<A;C++)(B=y+C)in E&&u(h,C,E[B]);if(h.length=A,r<A){for(C=y;C<d-A;C++)Q=C+r,(B=C+A)in E?E[Q]=E[B]:l(E,Q);for(C=d;C>d-A+r;C--)l(E,C-1)}else if(r>A)for(C=d-A;C>y;C--)Q=C+r-1,(B=C+A-1)in E?E[Q]=E[B]:l(E,Q);for(C=0;C<r;C++)E[C+y]=arguments[C+2];return s(E,d-A+r),h}})},9722:(e,t,r)=>{r(1458)("flat")},8937:(e,t,r)=>{var A=r(5366),n=r(4165),i=r(7878),a=r(7375),o=r(1870),s=r(9573);A({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=n(this),r=i(t),A=arguments.length;if(A){s(r+A);for(var c=r;c--;){var g=c+A;c in t?t[g]=t[c]:o(t,g)}for(var u=0;u<A;u++)t[u]=arguments[u]}return a(t,r+A)}})},6851:(e,t,r)=>{var A=r(5366),n=r(3455),i=r(4165),a=r(8921);A({target:"Date",proto:!0,arity:1,forced:n((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),r=a(t,"number");return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},7316:(e,t,r)=>{var A=r(9649),n=r(8552),i=r(952),a=r(5811)("toPrimitive"),o=Date.prototype;A(o,a)||n(o,a,i)},184:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3881),a=r(9257),o="WebAssembly",s=n[o],c=7!==new Error("e",{cause:7}).cause,g=function(e,t){var r={};r[e]=a(e,t,c),A({global:!0,constructor:!0,arity:1,forced:c},r)},u=function(e,t){if(s&&s[e]){var r={};r[e]=a(o+"."+e,t,c),A({target:o,stat:!0,constructor:!0,arity:1,forced:c},r)}};g("Error",(function(e){return function(t){return i(e,this,arguments)}})),g("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),g("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),g("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),g("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),g("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),g("URIError",(function(e){return function(t){return i(e,this,arguments)}})),u("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),u("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),u("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},8169:(e,t,r)=>{var A=r(5366),n=r(4032);A({global:!0,forced:n.globalThis!==n},{globalThis:n})},9750:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(3881),a=r(3453),o=r(2608),s=r(3455),c=r(3749),g=r(2277),u=r(4224),l=r(213),h=r(6943),I=String,f=n("JSON","stringify"),C=o(/./.exec),B=o("".charAt),Q=o("".charCodeAt),E=o("".replace),d=o(1..toString),y=/[\\uD800-\\uDFFF]/g,p=/^[\\uD800-\\uDBFF]$/,v=/^[\\uDC00-\\uDFFF]$/,m=!h||s((function(){var e=n("Symbol")("stringify detection");return"[null]"!==f([e])||"{}"!==f({a:e})||"{}"!==f(Object(e))})),w=s((function(){return'"\\\\udf06\\\\ud834"'!==f("\\udf06\\ud834")||'"\\\\udead"'!==f("\\udead")})),b=function(e,t){var r=u(arguments),A=l(t);if(c(A)||void 0!==e&&!g(e))return r[1]=function(e,t){if(c(A)&&(t=a(A,this,I(e),t)),!g(t))return t},i(f,null,r)},k=function(e,t,r){var A=B(r,t-1),n=B(r,t+1);return C(p,e)&&!C(v,n)||C(v,e)&&!C(p,A)?"\\\\u"+d(Q(e,0),16):e};f&&A({target:"JSON",stat:!0,arity:3,forced:m||w},{stringify:function(e,t,r){var A=u(arguments),n=i(m?b:f,null,A);return w&&"string"==typeof n?E(n,y,k):n}})},7531:(e,t,r)=>{var A=r(4032);r(6911)(A.JSON,"JSON",!0)},6539:(e,t,r)=>{r(9556)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(2042))},1425:(e,t,r)=>{r(6539)},3821:(e,t,r)=>{var A=r(5366),n=Math.hypot,i=Math.abs,a=Math.sqrt;A({target:"Math",stat:!0,arity:2,forced:!!n&&n(1/0,NaN)!==1/0},{hypot:function(e,t){for(var r,A,n=0,o=0,s=arguments.length,c=0;o<s;)c<(r=i(arguments[o++]))?(n=n*(A=c/r)*A+1,c=r):n+=r>0?(A=r/c)*A:r;return c===1/0?1/0:c*a(n)}})},1999:(e,t,r)=>{r(6911)(Math,"Math",!0)},8674:(e,t,r)=>{var A=r(5366),n=r(8885).entries;A({target:"Object",stat:!0},{entries:function(e){return n(e)}})},1309:(e,t,r)=>{var A=r(5366),n=r(6943),i=r(3455),a=r(6005),o=r(4165);A({target:"Object",stat:!0,forced:!n||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(o(e)):[]}})},3379:(e,t,r)=>{var A=r(3724),n=r(8552),i=r(3003);A||n(Object.prototype,"toString",i,{unsafe:!0})},482:(e,t,r)=>{var A=r(5366),n=r(8885).values;A({target:"Object",stat:!0},{values:function(e){return n(e)}})},5204:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(9371),o=r(6703),s=r(1804);A({target:"Promise",stat:!0,forced:r(2041)},{allSettled:function(e){var t=this,r=a.f(t),A=r.resolve,c=r.reject,g=o((function(){var r=i(t.resolve),a=[],o=0,c=1;s(e,(function(e){var i=o++,s=!1;c++,n(r,t,e).then((function(e){s||(s=!0,a[i]={status:"fulfilled",value:e},--c||A(a))}),(function(e){s||(s=!0,a[i]={status:"rejected",reason:e},--c||A(a))}))})),--c||A(a)}));return g.error&&c(g.value),r.promise}})},6195:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(9371),o=r(6703),s=r(1804);A({target:"Promise",stat:!0,forced:r(2041)},{all:function(e){var t=this,r=a.f(t),A=r.resolve,c=r.reject,g=o((function(){var r=i(t.resolve),a=[],o=0,g=1;s(e,(function(e){var i=o++,s=!1;g++,n(r,t,e).then((function(e){s||(s=!0,a[i]=e,--g||A(a))}),c)})),--g||A(a)}));return g.error&&c(g.value),r.promise}})},1459:(e,t,r)=>{var A=r(5366),n=r(8507),i=r(9492).CONSTRUCTOR,a=r(5318),o=r(8711),s=r(3749),c=r(8552),g=a&&a.prototype;if(A({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!n&&s(a)){var u=o("Promise").prototype.catch;g.catch!==u&&c(g,"catch",u,{unsafe:!0})}},9236:(e,t,r)=>{var A,n,i,a=r(5366),o=r(8507),s=r(4529),c=r(4032),g=r(3453),u=r(8552),l=r(9415),h=r(6911),I=r(5409),f=r(4186),C=r(3749),B=r(2674),Q=r(3399),E=r(1365),d=r(1369).set,y=r(755),p=r(4885),v=r(6703),m=r(3529),w=r(8301),b=r(5318),k=r(9492),D=r(9371),S="Promise",F=k.CONSTRUCTOR,x=k.REJECTION_EVENT,R=k.SUBCLASSING,G=w.getterFor(S),N=w.set,L=b&&b.prototype,U=b,M=L,J=c.TypeError,H=c.document,Y=c.process,P=D.f,O=P,K=!!(H&&H.createEvent&&c.dispatchEvent),T="unhandledrejection",q=function(e){var t;return!(!B(e)||!C(t=e.then))&&t},j=function(e,t){var r,A,n,i=t.value,a=1===t.state,o=a?e.ok:e.fail,s=e.resolve,c=e.reject,u=e.domain;try{o?(a||(2===t.rejection&&V(t),t.rejection=1),!0===o?r=i:(u&&u.enter(),r=o(i),u&&(u.exit(),n=!0)),r===e.promise?c(new J("Promise-chain cycle")):(A=q(r))?g(A,r,s,c):s(r)):c(i)}catch(e){u&&!n&&u.exit(),c(e)}},W=function(e,t){e.notified||(e.notified=!0,y((function(){for(var r,A=e.reactions;r=A.get();)j(r,e);e.notified=!1,t&&!e.rejection&&_(e)})))},Z=function(e,t,r){var A,n;K?((A=H.createEvent("Event")).promise=t,A.reason=r,A.initEvent(e,!1,!0),c.dispatchEvent(A)):A={promise:t,reason:r},!x&&(n=c["on"+e])?n(A):e===T&&p("Unhandled promise rejection",r)},_=function(e){g(d,c,(function(){var t,r=e.facade,A=e.value;if(X(e)&&(t=v((function(){s?Y.emit("unhandledRejection",A,r):Z(T,r,A)})),e.rejection=s||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},V=function(e){g(d,c,(function(){var t=e.facade;s?Y.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},z=function(e,t,r){return function(A){e(t,A,r)}},$=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new J("Promise can't be resolved itself");var A=q(t);A?y((function(){var r={done:!1};try{g(A,t,z(ee,r,e),z($,r,e))}catch(t){$(r,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){$({done:!1},t,e)}}};if(F&&(M=(U=function(e){Q(this,M),f(e),g(A,this);var t=G(this);try{e(z(ee,t),z($,t))}catch(e){$(t,e)}}).prototype,(A=function(e){N(this,{type:S,done:!1,notified:!1,parent:!1,reactions:new m,rejection:!1,state:0,value:null})}).prototype=u(M,"then",(function(e,t){var r=G(this),A=P(E(this,U));return r.parent=!0,A.ok=!C(e)||e,A.fail=C(t)&&t,A.domain=s?Y.domain:void 0,0===r.state?r.reactions.add(A):y((function(){j(A,r)})),A.promise})),n=function(){var e=new A,t=G(e);this.promise=e,this.resolve=z(ee,t),this.reject=z($,t)},D.f=P=function(e){return e===U||void 0===e?new n(e):O(e)},!o&&C(b)&&L!==Object.prototype)){i=L.then,R||u(L,"then",(function(e,t){var r=this;return new U((function(e,t){g(i,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}l&&l(L,M)}a({global:!0,constructor:!0,wrap:!0,forced:F},{Promise:U}),h(U,S,!1,!0),I(S)},2431:(e,t,r)=>{var A=r(5366),n=r(8507),i=r(5318),a=r(3455),o=r(8711),s=r(3749),c=r(1365),g=r(1774),u=r(8552),l=i&&i.prototype;if(A({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){l.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,o("Promise")),r=s(e);return this.then(r?function(r){return g(t,e()).then((function(){return r}))}:e,r?function(r){return g(t,e()).then((function(){throw r}))}:e)}}),!n&&s(i)){var h=o("Promise").prototype.finally;l.finally!==h&&u(l,"finally",h,{unsafe:!0})}},1234:(e,t,r)=>{r(9236),r(6195),r(1459),r(5167),r(5257),r(1128)},5167:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(9371),o=r(6703),s=r(1804);A({target:"Promise",stat:!0,forced:r(2041)},{race:function(e){var t=this,r=a.f(t),A=r.reject,c=o((function(){var a=i(t.resolve);s(e,(function(e){n(a,t,e).then(r.resolve,A)}))}));return c.error&&A(c.value),r.promise}})},5257:(e,t,r)=>{var A=r(5366),n=r(9371);A({target:"Promise",stat:!0,forced:r(9492).CONSTRUCTOR},{reject:function(e){var t=n.f(this);return(0,t.reject)(e),t.promise}})},1128:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(8507),a=r(5318),o=r(9492).CONSTRUCTOR,s=r(1774),c=n("Promise"),g=i&&!o;A({target:"Promise",stat:!0,forced:i||o},{resolve:function(e){return s(g&&this===c?a:this,e)}})},9732:(e,t,r)=>{var A=r(5366),n=r(9371);A({target:"Promise",stat:!0},{withResolvers:function(){var e=n.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},489:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(3881),a=r(2230),o=r(9052),s=r(7447),c=r(2674),g=r(5304),u=r(3455),l=n("Reflect","construct"),h=Object.prototype,I=[].push,f=u((function(){function e(){}return!(l((function(){}),[],e)instanceof e)})),C=!u((function(){l((function(){}))})),B=f||C;A({target:"Reflect",stat:!0,forced:B,sham:B},{construct:function(e,t){o(e),s(t);var r=arguments.length<3?e:o(arguments[2]);if(C&&!f)return l(e,t,r);if(e===r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var A=[null];return i(I,A,t),new(i(a,e,A))}var n=r.prototype,u=g(c(n)?n:h),B=i(e,u,t);return c(B)?B:u}})},7288:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(2674),a=r(7447),o=r(3007),s=r(1139),c=r(2611);A({target:"Reflect",stat:!0},{get:function e(t,r){var A,g,u=arguments.length<3?t:arguments[2];return a(t)===u?t[r]:(A=s.f(t,r))?o(A)?A.value:void 0===A.get?void 0:n(A.get,u):i(g=c(t))?e(g,r,u):void 0}})},176:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(6911);A({global:!0},{Reflect:{}}),i(n.Reflect,"Reflect",!0)},4592:(e,t,r)=>{var A=r(2444),n=r(4032),i=r(2608),a=r(5868),o=r(3951),s=r(139),c=r(5304),g=r(3408).f,u=r(6921),l=r(6484),h=r(687),I=r(4554),f=r(1837),C=r(2848),B=r(8552),Q=r(3455),E=r(9649),d=r(8301).enforce,y=r(5409),p=r(5811),v=r(3651),m=r(9502),w=p("match"),b=n.RegExp,k=b.prototype,D=n.SyntaxError,S=i(k.exec),F=i("".charAt),x=i("".replace),R=i("".indexOf),G=i("".slice),N=/^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/,L=/a/g,U=/a/g,M=new b(L)!==L,J=f.MISSED_STICKY,H=f.UNSUPPORTED_Y;if(a("RegExp",A&&(!M||J||v||m||Q((function(){return U[w]=!1,b(L)!==L||b(U)===U||"/a/i"!==String(b(L,"i"))}))))){for(var Y=function(e,t){var r,A,n,i,a,g,f=u(k,this),C=l(e),B=void 0===t,Q=[],y=e;if(!f&&C&&B&&e.constructor===Y)return e;if((C||u(k,e))&&(e=e.source,B&&(t=I(y))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),y=e,v&&"dotAll"in L&&(A=!!t&&R(t,"s")>-1)&&(t=x(t,/s/g,"")),r=t,J&&"sticky"in L&&(n=!!t&&R(t,"y")>-1)&&H&&(t=x(t,/y/g,"")),m&&(i=function(e){for(var t,r=e.length,A=0,n="",i=[],a=c(null),o=!1,s=!1,g=0,u="";A<=r;A++){if("\\\\"===(t=F(e,A)))t+=F(e,++A);else if("]"===t)o=!1;else if(!o)switch(!0){case"["===t:o=!0;break;case"("===t:if(n+=t,"?:"===G(e,A+1,A+3))continue;S(N,G(e,A+1))&&(A+=2,s=!0),g++;continue;case">"===t&&s:if(""===u||E(a,u))throw new D("Invalid capture group name");a[u]=!0,i[i.length]=[u,g],s=!1,u="";continue}s?u+=t:n+=t}return[n,i]}(e),e=i[0],Q=i[1]),a=o(b(e,t),f?this:k,Y),(A||n||Q.length)&&(g=d(a),A&&(g.dotAll=!0,g.raw=Y(function(e){for(var t,r=e.length,A=0,n="",i=!1;A<=r;A++)"\\\\"!==(t=F(e,A))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),n+=t):n+="[\\\\s\\\\S]":n+=t+F(e,++A);return n}(e),r)),n&&(g.sticky=!0),Q.length&&(g.groups=Q)),e!==y)try{s(a,"source",""===y?"(?:)":y)}catch(e){}return a},P=g(b),O=0;P.length>O;)C(Y,b,P[O++]);k.constructor=Y,Y.prototype=k,B(n,"RegExp",Y,{constructor:!0})}y("RegExp")},8345:(e,t,r)=>{var A=r(2444),n=r(3651),i=r(9872),a=r(8986),o=r(8301).get,s=RegExp.prototype,c=TypeError;A&&n&&a(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!o(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},2823:(e,t,r)=>{var A=r(5366),n=r(9867);A({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},7879:(e,t,r)=>{var A=r(4032),n=r(2444),i=r(8986),a=r(747),o=r(3455),s=A.RegExp,c=s.prototype;n&&o((function(){var e=!0;try{s(".","d")}catch(t){e=!1}var t={},r="",A=e?"dgimsy":"gimsy",n=function(e,A){Object.defineProperty(t,e,{get:function(){return r+=A,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)n(a,i[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==A||r!==A}))&&i(c,"flags",{configurable:!0,get:a})},2865:(e,t,r)=>{var A=r(2444),n=r(1837).MISSED_STICKY,i=r(9872),a=r(8986),o=r(8301).get,s=RegExp.prototype,c=TypeError;A&&n&&a(s,"sticky",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!o(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},5594:(e,t,r)=>{r(2823);var A,n,i=r(5366),a=r(3453),o=r(3749),s=r(7447),c=r(687),g=(A=!1,(n=/[ac]/).exec=function(){return A=!0,/./.exec.apply(this,arguments)},!0===n.test("abc")&&A),u=/./.test;i({target:"RegExp",proto:!0,forced:!g},{test:function(e){var t=s(this),r=c(e),A=t.exec;if(!o(A))return a(u,t,r);var n=a(A,t,r);return null!==n&&(s(n),!0)}})},8397:(e,t,r)=>{var A=r(2542).PROPER,n=r(8552),i=r(7447),a=r(687),o=r(3455),s=r(4554),c="toString",g=RegExp.prototype,u=g[c],l=o((function(){return"/a/b"!==u.call({source:"a",flags:"b"})})),h=A&&u.name!==c;(l||h)&&n(g,c,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(s(e))}),{unsafe:!0})},4645:(e,t,r)=>{r(9556)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(2042))},5130:(e,t,r)=>{var A=r(5366),n=r(4656);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("difference")},{difference:n})},5636:(e,t,r)=>{var A=r(5366),n=r(3455),i=r(2446);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("intersection")||n((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},8509:(e,t,r)=>{var A=r(5366),n=r(4545);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("isDisjointFrom")},{isDisjointFrom:n})},7332:(e,t,r)=>{var A=r(5366),n=r(7918);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSubsetOf")},{isSubsetOf:n})},6555:(e,t,r)=>{var A=r(5366),n=r(6111);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSupersetOf")},{isSupersetOf:n})},9255:(e,t,r)=>{r(4645)},3296:(e,t,r)=>{var A=r(5366),n=r(4498);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("symmetricDifference")},{symmetricDifference:n})},4594:(e,t,r)=>{var A=r(5366),n=r(9500);A({target:"Set",proto:!0,real:!0,forced:!r(1716)("union")},{union:n})},8653:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(7222),a=r(1211),o=r(687),s=r(3455),c=n("".charAt);A({target:"String",proto:!0,forced:s((function(){return"\\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=o(i(this)),r=t.length,A=a(e),n=A>=0?A:r+A;return n<0||n>=r?void 0:c(t,n)}})},9657:(e,t,r)=>{var A,n=r(5366),i=r(2116),a=r(1139).f,o=r(5806),s=r(687),c=r(3631),g=r(7222),u=r(860),l=r(8507),h=i("".slice),I=Math.min,f=u("endsWith");n({target:"String",proto:!0,forced:!(!l&&!f&&(A=a(String.prototype,"endsWith"),A&&!A.writable)||f)},{endsWith:function(e){var t=s(g(this));c(e);var r=arguments.length>1?arguments[1]:void 0,A=t.length,n=void 0===r?A:I(o(r),A),i=s(e);return h(t,n-i.length,n)===i}})},2217:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(9002),a=RangeError,o=String.fromCharCode,s=String.fromCodePoint,c=n([].join);A({target:"String",stat:!0,arity:1,forced:!!s&&1!==s.length},{fromCodePoint:function(e){for(var t,r=[],A=arguments.length,n=0;A>n;){if(t=+arguments[n++],i(t,1114111)!==t)throw new a(t+" is not a valid code point");r[n]=t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320)}return c(r,"")}})},2467:(e,t,r)=>{var A=r(5366),n=r(2608),i=r(3631),a=r(7222),o=r(687),s=r(860),c=n("".indexOf);A({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~c(o(a(this)),o(i(e)),arguments.length>1?arguments[1]:void 0)}})},7460:(e,t,r)=>{var A=r(6903).charAt,n=r(687),i=r(8301),a=r(656),o=r(9393),s="String Iterator",c=i.set,g=i.getterFor(s);a(String,"String",(function(e){c(this,{type:s,string:n(e),index:0})}),(function(){var e,t=g(this),r=t.string,n=t.index;return n>=r.length?o(void 0,!0):(e=A(r,n),t.index+=e.length,o(e,!1))}))},1281:(e,t,r)=>{var A=r(3453),n=r(4364),i=r(7447),a=r(6021),o=r(5806),s=r(687),c=r(7222),g=r(8622),u=r(8149),l=r(4410);n("match",(function(e,t,r){return[function(t){var r=c(this),n=a(t)?void 0:g(t,e);return n?A(n,t,r):new RegExp(t)[e](s(r))},function(e){var A=i(this),n=s(e),a=r(t,A,n);if(a.done)return a.value;if(!A.global)return l(A,n);var c=A.unicode;A.lastIndex=0;for(var g,h=[],I=0;null!==(g=l(A,n));){var f=s(g[0]);h[I]=f,""===f&&(A.lastIndex=u(n,o(A.lastIndex),c)),I++}return 0===I?null:h}]}))},9484:(e,t,r)=>{var A=r(5366),n=r(6437).start;A({target:"String",proto:!0,forced:r(4903)},{padStart:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})},4413:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(2608),a=r(7222),o=r(3749),s=r(6021),c=r(6484),g=r(687),u=r(8622),l=r(4554),h=r(3966),I=r(5811),f=r(8507),C=I("replace"),B=TypeError,Q=i("".indexOf),E=i("".replace),d=i("".slice),y=Math.max;A({target:"String",proto:!0},{replaceAll:function(e,t){var r,A,i,I,p,v,m,w,b,k,D=a(this),S=0,F="";if(!s(e)){if((r=c(e))&&(A=g(a(l(e))),!~Q(A,"g")))throw new B("\`.replaceAll\` does not allow non-global regexes");if(i=u(e,C))return n(i,e,D,t);if(f&&r)return E(g(D),e,t)}for(I=g(D),p=g(e),(v=o(t))||(t=g(t)),m=p.length,w=y(1,m),b=Q(I,p);-1!==b;)k=v?g(t(p,b,I)):h(p,I,b,[],void 0,t),F+=d(I,S,b)+k,S=b+m,b=b+w>I.length?-1:Q(I,p,b+w);return S<I.length&&(F+=d(I,S)),F}})},4672:(e,t,r)=>{var A=r(3881),n=r(3453),i=r(2608),a=r(4364),o=r(3455),s=r(7447),c=r(3749),g=r(6021),u=r(1211),l=r(5806),h=r(687),I=r(7222),f=r(8149),C=r(8622),B=r(3966),Q=r(4410),E=r(5811)("replace"),d=Math.max,y=Math.min,p=i([].concat),v=i([].push),m=i("".indexOf),w=i("".slice),b="$0"==="a".replace(/./,"$0"),k=!!/./[E]&&""===/./[E]("a","$0");a("replace",(function(e,t,r){var i=k?"$":"$0";return[function(e,r){var A=I(this),i=g(e)?void 0:C(e,E);return i?n(i,e,A,r):n(t,h(A),e,r)},function(e,n){var a=s(this),o=h(e);if("string"==typeof n&&-1===m(n,i)&&-1===m(n,"$<")){var g=r(t,a,o,n);if(g.done)return g.value}var I=c(n);I||(n=h(n));var C,E=a.global;E&&(C=a.unicode,a.lastIndex=0);for(var b,k=[];null!==(b=Q(a,o))&&(v(k,b),E);)""===h(b[0])&&(a.lastIndex=f(o,l(a.lastIndex),C));for(var D,S="",F=0,x=0;x<k.length;x++){for(var R,G=h((b=k[x])[0]),N=d(y(u(b.index),o.length),0),L=[],U=1;U<b.length;U++)v(L,void 0===(D=b[U])?D:String(D));var M=b.groups;if(I){var J=p([G],L,N,o);void 0!==M&&v(J,M),R=h(A(n,void 0,J))}else R=B(G,o,N,L,M,n);N>=F&&(S+=w(o,F,N)+R,F=N+G.length)}return S+w(o,F)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!b||k)},4072:(e,t,r)=>{var A=r(3453),n=r(2608),i=r(4364),a=r(7447),o=r(6021),s=r(7222),c=r(1365),g=r(8149),u=r(5806),l=r(687),h=r(8622),I=r(4410),f=r(1837),C=r(3455),B=f.UNSUPPORTED_Y,Q=Math.min,E=n([].push),d=n("".slice),y=!C((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),p="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,t,r){var n="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:A(t,this,e,r)}:t;return[function(t,r){var i=s(this),a=o(t)?void 0:h(t,e);return a?A(a,t,i,r):A(n,l(i),t,r)},function(e,A){var i=a(this),o=l(e);if(!p){var s=r(n,i,o,A,n!==t);if(s.done)return s.value}var h=c(i,RegExp),f=i.unicode,C=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(B?"g":"y"),y=new h(B?"^(?:"+i.source+")":i,C),v=void 0===A?4294967295:A>>>0;if(0===v)return[];if(0===o.length)return null===I(y,o)?[o]:[];for(var m=0,w=0,b=[];w<o.length;){y.lastIndex=B?0:w;var k,D=I(y,B?d(o,w):o);if(null===D||(k=Q(u(y.lastIndex+(B?w:0)),o.length))===m)w=g(o,w,f);else{if(E(b,d(o,m,w)),b.length===v)return b;for(var S=1;S<=D.length-1;S++)if(E(b,D[S]),b.length===v)return b;w=m=k}}return E(b,d(o,m)),b}]}),p||!y,B)},9264:(e,t,r)=>{var A,n=r(5366),i=r(2116),a=r(1139).f,o=r(5806),s=r(687),c=r(3631),g=r(7222),u=r(860),l=r(8507),h=i("".slice),I=Math.min,f=u("startsWith");n({target:"String",proto:!0,forced:!(!l&&!f&&(A=a(String.prototype,"startsWith"),A&&!A.writable)||f)},{startsWith:function(e){var t=s(g(this));c(e);var r=o(I(arguments.length>1?arguments[1]:void 0,t.length)),A=s(e);return h(t,r,r+A.length)===A}})},98:(e,t,r)=>{r(3185);var A=r(5366),n=r(2882);A({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},3185:(e,t,r)=>{var A=r(5366),n=r(2882);A({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},9210:(e,t,r)=>{var A=r(5366),n=r(9418).trim;A({target:"String",proto:!0,forced:r(3794)("trim")},{trim:function(){return n(this)}})},4172:(e,t,r)=>{r(5343)("asyncIterator")},2873:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3453),a=r(2608),o=r(8507),s=r(2444),c=r(6943),g=r(3455),u=r(9649),l=r(6921),h=r(7447),I=r(3637),f=r(6201),C=r(687),B=r(4004),Q=r(5304),E=r(496),d=r(3408),y=r(6442),p=r(6005),v=r(1139),m=r(1601),w=r(9217),b=r(9221),k=r(8552),D=r(8986),S=r(4593),F=r(2343),x=r(2645),R=r(5936),G=r(5811),N=r(4559),L=r(5343),U=r(3042),M=r(6911),J=r(8301),H=r(5645).forEach,Y=F("hidden"),P="Symbol",O="prototype",K=J.set,T=J.getterFor(P),q=Object[O],j=n.Symbol,W=j&&j[O],Z=n.RangeError,_=n.TypeError,X=n.QObject,V=v.f,z=m.f,$=y.f,ee=b.f,te=a([].push),re=S("symbols"),Ae=S("op-symbols"),ne=S("wks"),ie=!X||!X[O]||!X[O].findChild,ae=function(e,t,r){var A=V(q,t);A&&delete q[t],z(e,t,r),A&&e!==q&&z(q,t,A)},oe=s&&g((function(){return 7!==Q(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?ae:z,se=function(e,t){var r=re[e]=Q(W);return K(r,{type:P,tag:e,description:t}),s||(r.description=t),r},ce=function(e,t,r){e===q&&ce(Ae,t,r),h(e);var A=f(t);return h(r),u(re,A)?(r.enumerable?(u(e,Y)&&e[Y][A]&&(e[Y][A]=!1),r=Q(r,{enumerable:B(0,!1)})):(u(e,Y)||z(e,Y,B(1,Q(null))),e[Y][A]=!0),oe(e,A,r)):z(e,A,r)},ge=function(e,t){h(e);var r=I(t),A=E(r).concat(Ie(r));return H(A,(function(t){s&&!i(ue,r,t)||ce(e,t,r[t])})),e},ue=function(e){var t=f(e),r=i(ee,this,t);return!(this===q&&u(re,t)&&!u(Ae,t))&&(!(r||!u(this,t)||!u(re,t)||u(this,Y)&&this[Y][t])||r)},le=function(e,t){var r=I(e),A=f(t);if(r!==q||!u(re,A)||u(Ae,A)){var n=V(r,A);return!n||!u(re,A)||u(r,Y)&&r[Y][A]||(n.enumerable=!0),n}},he=function(e){var t=$(I(e)),r=[];return H(t,(function(e){u(re,e)||u(x,e)||te(r,e)})),r},Ie=function(e){var t=e===q,r=$(t?Ae:I(e)),A=[];return H(r,(function(e){!u(re,e)||t&&!u(q,e)||te(A,re[e])})),A};c||(k(W=(j=function(){if(l(W,this))throw new _("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?C(arguments[0]):void 0,t=R(e),r=function(e){var A=void 0===this?n:this;A===q&&i(r,Ae,e),u(A,Y)&&u(A[Y],t)&&(A[Y][t]=!1);var a=B(1,e);try{oe(A,t,a)}catch(e){if(!(e instanceof Z))throw e;ae(A,t,a)}};return s&&ie&&oe(q,t,{configurable:!0,set:r}),se(t,e)})[O],"toString",(function(){return T(this).tag})),k(j,"withoutSetter",(function(e){return se(R(e),e)})),b.f=ue,m.f=ce,w.f=ge,v.f=le,d.f=y.f=he,p.f=Ie,N.f=function(e){return se(G(e),e)},s&&(D(W,"description",{configurable:!0,get:function(){return T(this).description}}),o||k(q,"propertyIsEnumerable",ue,{unsafe:!0}))),A({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:j}),H(E(ne),(function(e){L(e)})),A({target:P,stat:!0,forced:!c},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),A({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?Q(e):ge(Q(e),t)},defineProperty:ce,defineProperties:ge,getOwnPropertyDescriptor:le}),A({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:he}),U(),M(j,P),x[Y]=!0},4551:(e,t,r)=>{var A=r(5366),n=r(2444),i=r(4032),a=r(2608),o=r(9649),s=r(3749),c=r(6921),g=r(687),u=r(8986),l=r(2924),h=i.Symbol,I=h&&h.prototype;if(n&&s(h)&&(!("description"in I)||void 0!==h().description)){var f={},C=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:g(arguments[0]),t=c(I,this)?new h(e):void 0===e?h():h(e);return""===e&&(f[t]=!0),t};l(C,h),C.prototype=I,I.constructor=C;var B="Symbol(description detection)"===String(h("description detection")),Q=a(I.valueOf),E=a(I.toString),d=/^Symbol\\((.*)\\)[^)]+$/,y=a("".replace),p=a("".slice);u(I,"description",{configurable:!0,get:function(){var e=Q(this);if(o(f,e))return"";var t=E(e),r=B?p(t,7,-1):y(t,d,"$1");return""===r?void 0:r}}),A({global:!0,constructor:!0,forced:!0},{Symbol:C})}},4182:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(9649),a=r(687),o=r(4593),s=r(8592),c=o("string-to-symbol-registry"),g=o("symbol-to-string-registry");A({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var r=n("Symbol")(t);return c[t]=r,g[r]=t,r}})},7651:(e,t,r)=>{r(2873),r(4182),r(7876),r(9750),r(1309)},7876:(e,t,r)=>{var A=r(5366),n=r(9649),i=r(2277),a=r(8055),o=r(4593),s=r(8592),c=o("symbol-to-string-registry");A({target:"Symbol",stat:!0,forced:!s},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(n(c,e))return c[e]}})},5268:(e,t,r)=>{var A=r(5343),n=r(3042);A("toPrimitive"),n()},5997:(e,t,r)=>{var A=r(8711),n=r(5343),i=r(6911);n("toStringTag"),i(A("Symbol"),"Symbol")},3740:(e,t,r)=>{var A=r(4356),n=r(7878),i=r(1211),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("at",(function(e){var t=a(this),r=n(t),A=i(e),o=A>=0?A:r+A;return o<0||o>=r?void 0:t[o]}))},6542:(e,t,r)=>{var A=r(2608),n=r(4356),i=A(r(6677)),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},5738:(e,t,r)=>{var A=r(4356),n=r(5645).every,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("every",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2900:(e,t,r)=>{var A=r(4356),n=r(9557),i=r(1198),a=r(1179),o=r(3453),s=r(2608),c=r(3455),g=A.aTypedArray,u=A.exportTypedArrayMethod,l=s("".slice);u("fill",(function(e){var t=arguments.length;g(this);var r="Big"===l(a(this),0,3)?i(e):+e;return o(n,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},2051:(e,t,r)=>{var A=r(4356),n=r(5645).filter,i=r(85),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("filter",(function(e){var t=n(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},4211:(e,t,r)=>{var A=r(4356),n=r(5645).findIndex,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("findIndex",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},5294:(e,t,r)=>{var A=r(4356),n=r(767).findLastIndex,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("findLastIndex",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},9791:(e,t,r)=>{var A=r(4356),n=r(767).findLast,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("findLast",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3198:(e,t,r)=>{var A=r(4356),n=r(5645).find,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("find",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4306:(e,t,r)=>{r(8975)("Float32",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},6473:(e,t,r)=>{r(8975)("Float64",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},1526:(e,t,r)=>{var A=r(4356),n=r(5645).forEach,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("forEach",(function(e){n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2569:(e,t,r)=>{var A=r(949);(0,r(4356).exportTypedArrayStaticMethod)("from",r(2291),A)},6032:(e,t,r)=>{var A=r(4356),n=r(7921).includes,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("includes",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3659:(e,t,r)=>{var A=r(4356),n=r(7921).indexOf,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("indexOf",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3195:(e,t,r)=>{r(8975)("Int16",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},1237:(e,t,r)=>{r(8975)("Int32",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},4834:(e,t,r)=>{r(8975)("Int8",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},8551:(e,t,r)=>{var A=r(4032),n=r(3455),i=r(2608),a=r(4356),o=r(9024),s=r(5811)("iterator"),c=A.Uint8Array,g=i(o.values),u=i(o.keys),l=i(o.entries),h=a.aTypedArray,I=a.exportTypedArrayMethod,f=c&&c.prototype,C=!n((function(){f[s].call([1])})),B=!!f&&f.values&&f[s]===f.values&&"values"===f.values.name,Q=function(){return g(h(this))};I("entries",(function(){return l(h(this))}),C),I("keys",(function(){return u(h(this))}),C),I("values",Q,C||!B,{name:"values"}),I(s,Q,C||!B,{name:"values"})},8553:(e,t,r)=>{var A=r(4356),n=r(2608),i=A.aTypedArray,a=A.exportTypedArrayMethod,o=n([].join);a("join",(function(e){return o(i(this),e)}))},7612:(e,t,r)=>{var A=r(4356),n=r(3881),i=r(3499),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return n(i,a(this),t>1?[e,arguments[1]]:[e])}))},8579:(e,t,r)=>{var A=r(4356),n=r(5645).map,i=r(580),a=A.aTypedArray;(0,A.exportTypedArrayMethod)("map",(function(e){return n(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},7576:(e,t,r)=>{var A=r(4356),n=r(4734).right,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return n(i(this),e,t,t>1?arguments[1]:void 0)}))},7719:(e,t,r)=>{var A=r(4356),n=r(4734).left,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return n(i(this),e,t,t>1?arguments[1]:void 0)}))},2891:(e,t,r)=>{var A=r(4356),n=A.aTypedArray,i=A.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,r=n(t).length,A=a(r/2),i=0;i<A;)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},2605:(e,t,r)=>{var A=r(4032),n=r(3453),i=r(4356),a=r(7878),o=r(8402),s=r(4165),c=r(3455),g=A.RangeError,u=A.Int8Array,l=u&&u.prototype,h=l&&l.set,I=i.aTypedArray,f=i.exportTypedArrayMethod,C=!c((function(){var e=new Uint8ClampedArray(2);return n(h,e,{length:1,0:3},1),3!==e[1]})),B=C&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new u(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));f("set",(function(e){I(this);var t=o(arguments.length>1?arguments[1]:void 0,1),r=s(e);if(C)return n(h,this,r,t);var A=this.length,i=a(r),c=0;if(i+t>A)throw new g("Wrong length");for(;c<i;)this[t+c]=r[c++]}),!C||B)},4863:(e,t,r)=>{var A=r(4356),n=r(580),i=r(3455),a=r(4224),o=A.aTypedArray;(0,A.exportTypedArrayMethod)("slice",(function(e,t){for(var r=a(o(this),e,t),A=n(this),i=0,s=r.length,c=new A(s);s>i;)c[i]=r[i++];return c}),i((function(){new Int8Array(1).slice()})))},9637:(e,t,r)=>{var A=r(4356),n=r(5645).some,i=A.aTypedArray;(0,A.exportTypedArrayMethod)("some",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2709:(e,t,r)=>{var A=r(4032),n=r(2116),i=r(3455),a=r(4186),o=r(5272),s=r(4356),c=r(7085),g=r(5123),u=r(6415),l=r(1911),h=s.aTypedArray,I=s.exportTypedArrayMethod,f=A.Uint16Array,C=f&&n(f.prototype.sort),B=!(!C||i((function(){C(new f(2),null)}))&&i((function(){C(new f(2),{})}))),Q=!!C&&!i((function(){if(u)return u<74;if(c)return c<67;if(g)return!0;if(l)return l<602;var e,t,r=new f(516),A=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,A[e]=e-2*t+3;for(C(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==A[e])return!0}));I("sort",(function(e){return void 0!==e&&a(e),Q?C(this,e):o(h(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!Q||B)},8941:(e,t,r)=>{var A=r(4032),n=r(3881),i=r(4356),a=r(3455),o=r(4224),s=A.Int8Array,c=i.aTypedArray,g=i.exportTypedArrayMethod,u=[].toLocaleString,l=!!s&&a((function(){u.call(new s(1))}));g("toLocaleString",(function(){return n(u,l?o(c(this)):c(this),o(arguments))}),a((function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()}))||!a((function(){s.prototype.toLocaleString.call([1,2])})))},1579:(e,t,r)=>{var A=r(6444),n=r(4356),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=n.getTypedArrayConstructor;a("toReversed",(function(){return A(i(this),o(this))}))},6236:(e,t,r)=>{var A=r(4356),n=r(2608),i=r(4186),a=r(7434),o=A.aTypedArray,s=A.getTypedArrayConstructor,c=A.exportTypedArrayMethod,g=n(A.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&i(e);var t=o(this),r=a(s(t),t);return g(r,e)}))},7716:(e,t,r)=>{var A=r(4356).exportTypedArrayMethod,n=r(3455),i=r(4032),a=r(2608),o=i.Uint8Array,s=o&&o.prototype||{},c=[].toString,g=a([].join);n((function(){c.call({})}))&&(c=function(){return g(this)});var u=s.toString!==c;A("toString",c,u)},3034:(e,t,r)=>{r(8975)("Uint16",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},2044:(e,t,r)=>{r(8975)("Uint32",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},7329:(e,t,r)=>{r(8975)("Uint8",(function(e){return function(t,r,A){return e(this,t,r,A)}}))},4262:(e,t,r)=>{r(8975)("Uint8",(function(e){return function(t,r,A){return e(this,t,r,A)}}),!0)},1913:(e,t,r)=>{var A=r(920),n=r(4356),i=r(5415),a=r(1211),o=r(1198),s=n.aTypedArray,c=n.getTypedArrayConstructor,g=n.exportTypedArrayMethod,u=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();g("with",{with:function(e,t){var r=s(this),n=a(e),g=i(r)?o(t):+t;return A(r,c(r),n,g)}}.with,!u)},6722:(e,t,r)=>{var A,n=r(568),i=r(4032),a=r(2608),o=r(4183),s=r(5227),c=r(9556),g=r(8153),u=r(2674),l=r(8301).enforce,h=r(3455),I=r(6206),f=Object,C=Array.isArray,B=f.isExtensible,Q=f.isFrozen,E=f.isSealed,d=f.freeze,y=f.seal,p=!i.ActiveXObject&&"ActiveXObject"in i,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=c("WeakMap",v,g),w=m.prototype,b=a(w.set);if(I)if(p){A=g.getConstructor(v,"WeakMap",!0),s.enable();var k=a(w.delete),D=a(w.has),S=a(w.get);o(w,{delete:function(e){if(u(e)&&!B(e)){var t=l(this);return t.frozen||(t.frozen=new A),k(this,e)||t.frozen.delete(e)}return k(this,e)},has:function(e){if(u(e)&&!B(e)){var t=l(this);return t.frozen||(t.frozen=new A),D(this,e)||t.frozen.has(e)}return D(this,e)},get:function(e){if(u(e)&&!B(e)){var t=l(this);return t.frozen||(t.frozen=new A),D(this,e)?S(this,e):t.frozen.get(e)}return S(this,e)},set:function(e,t){if(u(e)&&!B(e)){var r=l(this);r.frozen||(r.frozen=new A),D(this,e)?b(this,e,t):r.frozen.set(e,t)}else b(this,e,t);return this}})}else n&&h((function(){var e=d([]);return b(new m,e,1),!Q(e)}))&&o(w,{set:function(e,t){var r;return C(e)&&(Q(e)?r=d:E(e)&&(r=y)),b(this,e,t),r&&r(e),this}})},8492:(e,t,r)=>{r(6722)},1176:(e,t,r)=>{r(9556)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(8153))},7121:(e,t,r)=>{r(1176)},4192:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(3399),a=r(7447),o=r(3749),s=r(2611),c=r(8986),g=r(3552),u=r(3455),l=r(9649),h=r(5811),I=r(2857).IteratorPrototype,f=r(2444),C=r(8507),B="constructor",Q="Iterator",E=h("toStringTag"),d=TypeError,y=n[Q],p=C||!o(y)||y.prototype!==I||!u((function(){y({})})),v=function(){if(i(this,I),s(this)===I)throw new d("Abstract class Iterator not directly constructable")},m=function(e,t){f?c(I,e,{configurable:!0,get:function(){return t},set:function(t){if(a(this),this===I)throw new d("You can't redefine this property");l(this,e)?this[e]=t:g(this,e,t)}}):I[e]=t};l(I,E)||m(E,Q),!p&&l(I,B)&&I[B]!==Object||m(B,v),v.prototype=I,A({global:!0,constructor:!0,forced:p},{Iterator:v})},463:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{every:function(e){a(this),i(e);var t=o(this),r=0;return!n(t,(function(t,A){if(!e(t,r++))return A()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8856:(e,t,r)=>{var A=r(5366),n=r(3453),i=r(4186),a=r(7447),o=r(3447),s=r(2342),c=r(3535),g=r(8507),u=s((function(){for(var e,t,r=this.iterator,A=this.predicate,i=this.next;;){if(e=a(n(i,r)),this.done=!!e.done)return;if(t=e.value,c(r,A,[t,this.counter++],!0))return t}}));A({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(e){return a(this),i(e),new u(o(this),{predicate:e})}})},4865:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{find:function(e){a(this),i(e);var t=o(this),r=0;return n(t,(function(t,A){if(e(t,r++))return A(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},1565:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{forEach:function(e){a(this),i(e);var t=o(this),r=0;n(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},5342:(e,t,r)=>{var A=r(5366),n=r(4009);A({target:"Iterator",proto:!0,real:!0,forced:r(8507)},{map:n})},8075:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447),s=TypeError;A({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),i(e);var t=o(this),r=arguments.length<2,A=r?void 0:arguments[1],c=0;if(n(t,(function(t){r?(r=!1,A=t):A=e(A,t,c),c++}),{IS_RECORD:!0}),r)throw new s("Reduce of empty iterator with no initial value");return A}})},9582:(e,t,r)=>{var A=r(5366),n=r(1804),i=r(4186),a=r(7447),o=r(3447);A({target:"Iterator",proto:!0,real:!0},{some:function(e){a(this),i(e);var t=o(this),r=0;return n(t,(function(t,A){if(e(t,r++))return A()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},7987:(e,t,r)=>{var A=r(5366),n=r(7447),i=r(1804),a=r(3447),o=[].push;A({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return i(a(n(this)),o,{that:e,IS_RECORD:!0}),e}})},6625:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(8711),a=r(2608),o=r(3453),s=r(3455),c=r(687),g=r(7900),u=r(2996).c2i,l=/[^\\d+/a-z]/i,h=/[\\t\\n\\f\\r ]+/g,I=/[=]{1,2}$/,f=i("atob"),C=String.fromCharCode,B=a("".charAt),Q=a("".replace),E=a(l.exec),d=!!f&&!s((function(){return"hi"!==f("aGk=")})),y=d&&s((function(){return""!==f(" ")})),p=d&&!s((function(){f("a")})),v=d&&!s((function(){f()})),m=d&&1!==f.length;A({global:!0,bind:!0,enumerable:!0,forced:!d||y||p||v||m},{atob:function(e){if(g(arguments.length,1),d&&!y&&!p)return o(f,n,e);var t,r,A,a=Q(c(e),h,""),s="",v=0,m=0;if(a.length%4==0&&(a=Q(a,I,"")),(t=a.length)%4==1||E(l,a))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;v<t;)r=B(a,v++),A=m%4?64*A+u[r]:u[r],m++%4&&(s+=C(255&A>>(-2*m&6)));return s}})},8316:(e,t,r)=>{var A=r(4032),n=r(2760),i=r(4784),a=r(3147),o=r(139),s=function(e){if(e&&e.forEach!==a)try{o(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in n)n[c]&&s(A[c]&&A[c].prototype);s(i)},3577:(e,t,r)=>{var A=r(4032),n=r(2760),i=r(4784),a=r(9024),o=r(139),s=r(6911),c=r(5811)("iterator"),g=a.values,u=function(e,t){if(e){if(e[c]!==g)try{o(e,c,g)}catch(t){e[c]=g}if(s(e,t,!0),n[t])for(var r in a)if(e[r]!==a[r])try{o(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var l in n)u(A[l]&&A[l].prototype,l);u(i,"DOMTokenList")},4967:(e,t,r)=>{var A=r(5366),n=r(8711),i=r(9685),a=r(3455),o=r(5304),s=r(4004),c=r(1601).f,g=r(8552),u=r(8986),l=r(9649),h=r(3399),I=r(7447),f=r(2912),C=r(8363),B=r(4090),Q=r(3633),E=r(8301),d=r(2444),y=r(8507),p="DOMException",v="DATA_CLONE_ERR",m=n("Error"),w=n(p)||function(){try{(new(n("MessageChannel")||i("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===v&&25===e.code)return e.constructor}}(),b=w&&w.prototype,k=m.prototype,D=E.set,S=E.getterFor(p),F="stack"in new m(p),x=function(e){return l(B,e)&&B[e].m?B[e].c:0},R=function(){h(this,G);var e=arguments.length,t=C(e<1?void 0:arguments[0]),r=C(e<2?void 0:arguments[1],"Error"),A=x(r);if(D(this,{type:p,name:r,message:t,code:A}),d||(this.name=r,this.message=t,this.code=A),F){var n=new m(t);n.name=p,c(this,"stack",s(1,Q(n.stack,1)))}},G=R.prototype=o(k),N=function(e){return{enumerable:!0,configurable:!0,get:e}},L=function(e){return N((function(){return S(this)[e]}))};d&&(u(G,"code",L("code")),u(G,"message",L("message")),u(G,"name",L("name"))),c(G,"constructor",s(1,R));var U=a((function(){return!(new w instanceof m)})),M=U||a((function(){return k.toString!==f||"2: 1"!==String(new w(1,2))})),J=U||a((function(){return 25!==new w(1,"DataCloneError").code})),H=U||25!==w[v]||25!==b[v],Y=y?M||J||H:U;A({global:!0,constructor:!0,forced:Y},{DOMException:Y?R:w});var P=n(p),O=P.prototype;for(var K in M&&(y||w===P)&&g(O,"toString",f),J&&d&&w===P&&u(O,"code",N((function(){return x(I(this).name)}))),B)if(l(B,K)){var T=B[K],q=T.s,j=s(6,T.c);l(P,q)||c(P,q,j),l(O,q)||c(O,q,j)}},6403:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(8711),a=r(4004),o=r(1601).f,s=r(9649),c=r(3399),g=r(3951),u=r(8363),l=r(4090),h=r(3633),I=r(2444),f=r(8507),C="DOMException",B=i("Error"),Q=i(C),E=function(){c(this,d);var e=arguments.length,t=u(e<1?void 0:arguments[0]),r=u(e<2?void 0:arguments[1],"Error"),A=new Q(t,r),n=new B(t);return n.name=C,o(A,"stack",a(1,h(n.stack,1))),g(A,this,E),A},d=E.prototype=Q.prototype,y="stack"in new B(C),p="stack"in new Q(1,2),v=Q&&I&&Object.getOwnPropertyDescriptor(n,C),m=!(!v||v.writable&&v.configurable),w=y&&!m&&!p;A({global:!0,constructor:!0,forced:f||w},{DOMException:w?E:Q});var b=i(C),k=b.prototype;if(k.constructor!==b)for(var D in f||o(k,"constructor",a(1,b)),l)if(s(l,D)){var S=l[D],F=S.s;s(b,F)||o(b,F,a(6,S.c))}},3355:(e,t,r)=>{var A=r(8711),n="DOMException";r(6911)(A(n),n)},8043:(e,t,r)=>{var A=r(5366),n=r(4032),i=r(8986),a=r(2444),o=TypeError,s=Object.defineProperty,c=n.self!==n;try{if(a){var g=Object.getOwnPropertyDescriptor(n,"self");!c&&g&&g.get&&g.enumerable||i(n,"self",{get:function(){return n},set:function(e){if(this!==n)throw new o("Illegal invocation");s(n,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else A({global:!0,simple:!0,forced:c},{self:n})}catch(e){}},9734:(e,t,r)=>{r(9024),r(2217);var A=r(5366),n=r(4032),i=r(5725),a=r(8711),o=r(3453),s=r(2608),c=r(2444),g=r(8200),u=r(8552),l=r(8986),h=r(4183),I=r(6911),f=r(282),C=r(8301),B=r(3399),Q=r(3749),E=r(9649),d=r(4864),y=r(1179),p=r(7447),v=r(2674),m=r(687),w=r(5304),b=r(4004),k=r(6961),D=r(7507),S=r(9393),F=r(7900),x=r(5811),R=r(5272),G=x("iterator"),N="URLSearchParams",L=N+"Iterator",U=C.set,M=C.getterFor(N),J=C.getterFor(L),H=i("fetch"),Y=i("Request"),P=i("Headers"),O=Y&&Y.prototype,K=P&&P.prototype,T=n.TypeError,q=n.encodeURIComponent,j=String.fromCharCode,W=a("String","fromCodePoint"),Z=parseInt,_=s("".charAt),X=s([].join),V=s([].push),z=s("".replace),$=s([].shift),ee=s([].splice),te=s("".split),re=s("".slice),Ae=s(/./.exec),ne=/\\+/g,ie=/^[0-9a-f]+$/i,ae=function(e,t){var r=re(e,t,t+2);return Ae(ie,r)?Z(r,16):NaN},oe=function(e){for(var t=0,r=128;r>0&&0!=(e&r);r>>=1)t++;return t},se=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ce=function(e){for(var t=(e=z(e,ne," ")).length,r="",A=0;A<t;){var n=_(e,A);if("%"===n){if("%"===_(e,A+1)||A+3>t){r+="%",A++;continue}var i=ae(e,A+1);if(i!=i){r+=n,A++;continue}A+=2;var a=oe(i);if(0===a)n=j(i);else{if(1===a||a>4){r+="�",A++;continue}for(var o=[i],s=1;s<a&&!(3+ ++A>t||"%"!==_(e,A));){var c=ae(e,A+1);if(c!=c){A+=3;break}if(c>191||c<128)break;V(o,c),A+=2,s++}if(o.length!==a){r+="�";continue}var g=se(o);null===g?r+="�":n=W(g)}}r+=n,A++}return r},ge=/[!'()~]|%20/g,ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},le=function(e){return ue[e]},he=function(e){return z(q(e),ge,le)},Ie=f((function(e,t){U(this,{type:L,target:M(e).entries,index:0,kind:t})}),N,(function(){var e=J(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,S(void 0,!0);var A=t[r];switch(e.kind){case"keys":return S(A.key,!1);case"values":return S(A.value,!1)}return S([A.key,A.value],!1)}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(v(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===_(e,0)?re(e,1):e:m(e)))};fe.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,A,n,i,a,s,c=this.entries,g=D(e);if(g)for(r=(t=k(e,g)).next;!(A=o(r,t)).done;){if(i=(n=k(p(A.value))).next,(a=o(i,n)).done||(s=o(i,n)).done||!o(i,n).done)throw new T("Expected sequence with length 2");V(c,{key:m(a.value),value:m(s.value)})}else for(var u in e)E(e,u)&&V(c,{key:u,value:m(e[u])})},parseQuery:function(e){if(e)for(var t,r,A=this.entries,n=te(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=te(t,"="),V(A,{key:ce($(r)),value:ce(X(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],A=0;A<t.length;)e=t[A++],V(r,he(e.key)+"="+he(e.value));return X(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Ce=function(){B(this,Be);var e=U(this,new fe(arguments.length>0?arguments[0]:void 0));c||(this.size=e.entries.length)},Be=Ce.prototype;if(h(Be,{append:function(e,t){var r=M(this);F(arguments.length,2),V(r.entries,{key:m(e),value:m(t)}),c||this.length++,r.updateURL()},delete:function(e){for(var t=M(this),r=F(arguments.length,1),A=t.entries,n=m(e),i=r<2?void 0:arguments[1],a=void 0===i?i:m(i),o=0;o<A.length;){var s=A[o];if(s.key!==n||void 0!==a&&s.value!==a)o++;else if(ee(A,o,1),void 0!==a)break}c||(this.size=A.length),t.updateURL()},get:function(e){var t=M(this).entries;F(arguments.length,1);for(var r=m(e),A=0;A<t.length;A++)if(t[A].key===r)return t[A].value;return null},getAll:function(e){var t=M(this).entries;F(arguments.length,1);for(var r=m(e),A=[],n=0;n<t.length;n++)t[n].key===r&&V(A,t[n].value);return A},has:function(e){for(var t=M(this).entries,r=F(arguments.length,1),A=m(e),n=r<2?void 0:arguments[1],i=void 0===n?n:m(n),a=0;a<t.length;){var o=t[a++];if(o.key===A&&(void 0===i||o.value===i))return!0}return!1},set:function(e,t){var r=M(this);F(arguments.length,1);for(var A,n=r.entries,i=!1,a=m(e),o=m(t),s=0;s<n.length;s++)(A=n[s]).key===a&&(i?ee(n,s--,1):(i=!0,A.value=o));i||V(n,{key:a,value:o}),c||(this.size=n.length),r.updateURL()},sort:function(){var e=M(this);R(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=M(this).entries,A=d(e,arguments.length>1?arguments[1]:void 0),n=0;n<r.length;)A((t=r[n++]).value,t.key,this)},keys:function(){return new Ie(this,"keys")},values:function(){return new Ie(this,"values")},entries:function(){return new Ie(this,"entries")}},{enumerable:!0}),u(Be,G,Be.entries,{name:"entries"}),u(Be,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),c&&l(Be,"size",{get:function(){return M(this).entries.length},configurable:!0,enumerable:!0}),I(Ce,N),A({global:!0,constructor:!0,forced:!g},{URLSearchParams:Ce}),!g&&Q(P)){var Qe=s(K.has),Ee=s(K.set),de=function(e){if(v(e)){var t,r=e.body;if(y(r)===N)return t=e.headers?new P(e.headers):new P,Qe(t,"content-type")||Ee(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(e,{body:b(0,m(r)),headers:b(0,t)})}return e};if(Q(H)&&A({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return H(e,arguments.length>1?de(arguments[1]):{})}}),Q(Y)){var ye=function(e){return B(this,O),new Y(e,arguments.length>1?de(arguments[1]):{})};O.constructor=ye,ye.prototype=O,A({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:Ce,getState:M}},1531:(e,t,r)=>{var A=r(8552),n=r(2608),i=r(687),a=r(7900),o=URLSearchParams,s=o.prototype,c=n(s.append),g=n(s.delete),u=n(s.forEach),l=n([].push),h=new o("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&A(s,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return g(this,e);var A=[];u(this,(function(e,t){l(A,{key:t,value:e})})),a(t,1);for(var n,o=i(e),s=i(r),h=0,I=0,f=!1,C=A.length;h<C;)n=A[h++],f||n.key===o?(f=!0,g(this,n.key)):I++;for(;I<C;)(n=A[I++]).key===o&&n.value===s||c(this,n.key,n.value)}),{enumerable:!0,unsafe:!0})},3678:(e,t,r)=>{var A=r(8552),n=r(2608),i=r(687),a=r(7900),o=URLSearchParams,s=o.prototype,c=n(s.getAll),g=n(s.has),u=new o("a=1");!u.has("a",2)&&u.has("a",void 0)||A(s,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return g(this,e);var A=c(this,e);a(t,1);for(var n=i(r),o=0;o<A.length;)if(A[o++]===n)return!0;return!1}),{enumerable:!0,unsafe:!0})},4520:(e,t,r)=>{r(9734)},4145:(e,t,r)=>{var A=r(2444),n=r(2608),i=r(8986),a=URLSearchParams.prototype,o=n(a.forEach);A&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return o(this,(function(){e++})),e},configurable:!0,enumerable:!0})},161:(e,t,r)=>{r(7460);var A,n=r(5366),i=r(2444),a=r(8200),o=r(4032),s=r(4864),c=r(2608),g=r(8552),u=r(8986),l=r(3399),h=r(9649),I=r(8069),f=r(3948),C=r(4224),B=r(6903).codeAt,Q=r(5141),E=r(687),d=r(6911),y=r(7900),p=r(9734),v=r(8301),m=v.set,w=v.getterFor("URL"),b=p.URLSearchParams,k=p.getState,D=o.URL,S=o.TypeError,F=o.parseInt,x=Math.floor,R=Math.pow,G=c("".charAt),N=c(/./.exec),L=c([].join),U=c(1..toString),M=c([].pop),J=c([].push),H=c("".replace),Y=c([].shift),P=c("".split),O=c("".slice),K=c("".toLowerCase),T=c([].unshift),q="Invalid scheme",j="Invalid host",W="Invalid port",Z=/[a-z]/i,_=/[\\d+-.a-z]/i,X=/\\d/,V=/^0x/i,z=/^[0-7]+$/,$=/^\\d+$/,ee=/^[\\da-f]+$/i,te=/[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/,re=/[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/,Ae=/^[\\u0000-\\u0020]+/,ne=/(^|[^\\u0000-\\u0020])[\\u0000-\\u0020]+$/,ie=/[\\t\\n\\r]/g,ae=function(e){var t,r,A,n;if("number"==typeof e){for(t=[],r=0;r<4;r++)T(t,e%256),e=x(e/256);return L(t,".")}if("object"==typeof e){for(t="",A=function(e){for(var t=null,r=1,A=null,n=0,i=0;i<8;i++)0!==e[i]?(n>r&&(t=A,r=n),A=null,n=0):(null===A&&(A=i),++n);return n>r?A:t}(e),r=0;r<8;r++)n&&0===e[r]||(n&&(n=!1),A===r?(t+=r?":":"::",n=!0):(t+=U(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},oe={},se=I({},oe,{" ":1,'"':1,"<":1,">":1,"\`":1}),ce=I({},se,{"#":1,"?":1,"{":1,"}":1}),ge=I({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var r=B(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},le={ftp:21,file:null,http:80,https:443,ws:80,wss:443},he=function(e,t){var r;return 2===e.length&&N(Z,G(e,0))&&(":"===(r=G(e,1))||!t&&"|"===r)},Ie=function(e){var t;return e.length>1&&he(O(e,0,2))&&(2===e.length||"/"===(t=G(e,2))||"\\\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===K(e)},Ce={},Be={},Qe={},Ee={},de={},ye={},pe={},ve={},me={},we={},be={},ke={},De={},Se={},Fe={},xe={},Re={},Ge={},Ne={},Le={},Ue={},Me=function(e,t,r){var A,n,i,a=E(e);if(t){if(n=this.parse(a))throw new S(n);this.searchParams=null}else{if(void 0!==r&&(A=new Me(r,!0)),n=this.parse(a,null,A))throw new S(n);(i=k(new b)).bindURL(this),this.searchParams=i}};Me.prototype={type:"URL",parse:function(e,t,r){var n,i,a,o,s,c=this,g=t||Ce,u=0,l="",I=!1,B=!1,Q=!1;for(e=E(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=H(e,Ae,""),e=H(e,ne,"$1")),e=H(e,ie,""),n=f(e);u<=n.length;){switch(i=n[u],g){case Ce:if(!i||!N(Z,i)){if(t)return q;g=Qe;continue}l+=K(i),g=Be;break;case Be:if(i&&(N(_,i)||"+"===i||"-"===i||"."===i))l+=K(i);else{if(":"!==i){if(t)return q;l="",g=Qe,u=0;continue}if(t&&(c.isSpecial()!==h(le,l)||"file"===l&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=l,t)return void(c.isSpecial()&&le[c.scheme]===c.port&&(c.port=null));l="","file"===c.scheme?g=Se:c.isSpecial()&&r&&r.scheme===c.scheme?g=Ee:c.isSpecial()?g=ve:"/"===n[u+1]?(g=de,u++):(c.cannotBeABaseURL=!0,J(c.path,""),g=Ne)}break;case Qe:if(!r||r.cannotBeABaseURL&&"#"!==i)return q;if(r.cannotBeABaseURL&&"#"===i){c.scheme=r.scheme,c.path=C(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,g=Ue;break}g="file"===r.scheme?Se:ye;continue;case Ee:if("/"!==i||"/"!==n[u+1]){g=ye;continue}g=me,u++;break;case de:if("/"===i){g=we;break}g=Ge;continue;case ye:if(c.scheme=r.scheme,i===A)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.query=r.query;else if("/"===i||"\\\\"===i&&c.isSpecial())g=pe;else if("?"===i)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.query="",g=Le;else{if("#"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.path.length--,g=Ge;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=C(r.path),c.query=r.query,c.fragment="",g=Ue}break;case pe:if(!c.isSpecial()||"/"!==i&&"\\\\"!==i){if("/"!==i){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,g=Ge;continue}g=we}else g=me;break;case ve:if(g=me,"/"!==i||"/"!==G(l,u+1))continue;u++;break;case me:if("/"!==i&&"\\\\"!==i){g=we;continue}break;case we:if("@"===i){I&&(l="%40"+l),I=!0,a=f(l);for(var d=0;d<a.length;d++){var y=a[d];if(":"!==y||Q){var p=ue(y,ge);Q?c.password+=p:c.username+=p}else Q=!0}l=""}else if(i===A||"/"===i||"?"===i||"#"===i||"\\\\"===i&&c.isSpecial()){if(I&&""===l)return"Invalid authority";u-=f(l).length+1,l="",g=be}else l+=i;break;case be:case ke:if(t&&"file"===c.scheme){g=xe;continue}if(":"!==i||B){if(i===A||"/"===i||"?"===i||"#"===i||"\\\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===l)return j;if(t&&""===l&&(c.includesCredentials()||null!==c.port))return;if(o=c.parseHost(l))return o;if(l="",g=Re,t)return;continue}"["===i?B=!0:"]"===i&&(B=!1),l+=i}else{if(""===l)return j;if(o=c.parseHost(l))return o;if(l="",g=De,t===ke)return}break;case De:if(!N(X,i)){if(i===A||"/"===i||"?"===i||"#"===i||"\\\\"===i&&c.isSpecial()||t){if(""!==l){var v=F(l,10);if(v>65535)return W;c.port=c.isSpecial()&&v===le[c.scheme]?null:v,l=""}if(t)return;g=Re;continue}return W}l+=i;break;case Se:if(c.scheme="file","/"===i||"\\\\"===i)g=Fe;else{if(!r||"file"!==r.scheme){g=Ge;continue}switch(i){case A:c.host=r.host,c.path=C(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=C(r.path),c.query="",g=Le;break;case"#":c.host=r.host,c.path=C(r.path),c.query=r.query,c.fragment="",g=Ue;break;default:Ie(L(C(n,u),""))||(c.host=r.host,c.path=C(r.path),c.shortenPath()),g=Ge;continue}}break;case Fe:if("/"===i||"\\\\"===i){g=xe;break}r&&"file"===r.scheme&&!Ie(L(C(n,u),""))&&(he(r.path[0],!0)?J(c.path,r.path[0]):c.host=r.host),g=Ge;continue;case xe:if(i===A||"/"===i||"\\\\"===i||"?"===i||"#"===i){if(!t&&he(l))g=Ge;else if(""===l){if(c.host="",t)return;g=Re}else{if(o=c.parseHost(l))return o;if("localhost"===c.host&&(c.host=""),t)return;l="",g=Re}continue}l+=i;break;case Re:if(c.isSpecial()){if(g=Ge,"/"!==i&&"\\\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==A&&(g=Ge,"/"!==i))continue}else c.fragment="",g=Ue;else c.query="",g=Le;break;case Ge:if(i===A||"/"===i||"\\\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(s=K(s=l))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"===i||"\\\\"===i&&c.isSpecial()||J(c.path,"")):fe(l)?"/"===i||"\\\\"===i&&c.isSpecial()||J(c.path,""):("file"===c.scheme&&!c.path.length&&he(l)&&(c.host&&(c.host=""),l=G(l,0)+":"),J(c.path,l)),l="","file"===c.scheme&&(i===A||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)Y(c.path);"?"===i?(c.query="",g=Le):"#"===i&&(c.fragment="",g=Ue)}else l+=ue(i,ce);break;case Ne:"?"===i?(c.query="",g=Le):"#"===i?(c.fragment="",g=Ue):i!==A&&(c.path[0]+=ue(i,oe));break;case Le:t||"#"!==i?i!==A&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":ue(i,oe)):(c.fragment="",g=Ue);break;case Ue:i!==A&&(c.fragment+=ue(i,se))}u++}},parseHost:function(e){var t,r,A;if("["===G(e,0)){if("]"!==G(e,e.length-1))return j;if(t=function(e){var t,r,A,n,i,a,o,s=[0,0,0,0,0,0,0,0],c=0,g=null,u=0,l=function(){return G(e,u)};if(":"===l()){if(":"!==G(e,1))return;u+=2,g=++c}for(;l();){if(8===c)return;if(":"!==l()){for(t=r=0;r<4&&N(ee,l());)t=16*t+F(l(),16),u++,r++;if("."===l()){if(0===r)return;if(u-=r,c>6)return;for(A=0;l();){if(n=null,A>0){if(!("."===l()&&A<4))return;u++}if(!N(X,l()))return;for(;N(X,l());){if(i=F(l(),10),null===n)n=i;else{if(0===n)return;n=10*n+i}if(n>255)return;u++}s[c]=256*s[c]+n,2!=++A&&4!==A||c++}if(4!==A)return;break}if(":"===l()){if(u++,!l())return}else if(l())return;s[c++]=t}else{if(null!==g)return;u++,g=++c}}if(null!==g)for(a=c-g,c=7;0!==c&&a>0;)o=s[c],s[c--]=s[g+a-1],s[g+--a]=o;else if(8!==c)return;return s}(O(e,1,-1)),!t)return j;this.host=t}else if(this.isSpecial()){if(e=Q(e),N(te,e))return j;if(t=function(e){var t,r,A,n,i,a,o,s=P(e,".");if(s.length&&""===s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(r=[],A=0;A<t;A++){if(""===(n=s[A]))return e;if(i=10,n.length>1&&"0"===G(n,0)&&(i=N(V,n)?16:8,n=O(n,8===i?1:2)),""===n)a=0;else{if(!N(10===i?$:8===i?z:ee,n))return e;a=F(n,i)}J(r,a)}for(A=0;A<t;A++)if(a=r[A],A===t-1){if(a>=R(256,5-t))return null}else if(a>255)return null;for(o=M(r),A=0;A<r.length;A++)o+=r[A]*R(256,3-A);return o}(e),null===t)return j;this.host=t}else{if(N(re,e))return j;for(t="",r=f(e),A=0;A<r.length;A++)t+=ue(r[A],oe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(le,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&he(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,A=e.password,n=e.host,i=e.port,a=e.path,o=e.query,s=e.fragment,c=t+":";return null!==n?(c+="//",e.includesCredentials()&&(c+=r+(A?":"+A:"")+"@"),c+=ae(n),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==o&&(c+="?"+o),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw new S(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Je(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(E(e)+":",Ce)},getUsername:function(){return this.username},setUsername:function(e){var t=f(E(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],ge)}},getPassword:function(){return this.password},setPassword:function(e){var t=f(E(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],ge)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,be)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ke)},getPort:function(){var e=this.port;return null===e?"":E(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=E(e))?this.port=null:this.parse(e,De))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Re))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=E(e))?this.query=null:("?"===G(e,0)&&(e=O(e,1)),this.query="",this.parse(e,Le)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=E(e))?("#"===G(e,0)&&(e=O(e,1)),this.fragment="",this.parse(e,Ue)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Je=function(e){var t=l(this,He),r=y(arguments.length,1)>1?arguments[1]:void 0,A=m(t,new Me(e,!1,r));i||(t.href=A.serialize(),t.origin=A.getOrigin(),t.protocol=A.getProtocol(),t.username=A.getUsername(),t.password=A.getPassword(),t.host=A.getHost(),t.hostname=A.getHostname(),t.port=A.getPort(),t.pathname=A.getPathname(),t.search=A.getSearch(),t.searchParams=A.getSearchParams(),t.hash=A.getHash())},He=Je.prototype,Ye=function(e,t){return{get:function(){return w(this)[e]()},set:t&&function(e){return w(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(u(He,"href",Ye("serialize","setHref")),u(He,"origin",Ye("getOrigin")),u(He,"protocol",Ye("getProtocol","setProtocol")),u(He,"username",Ye("getUsername","setUsername")),u(He,"password",Ye("getPassword","setPassword")),u(He,"host",Ye("getHost","setHost")),u(He,"hostname",Ye("getHostname","setHostname")),u(He,"port",Ye("getPort","setPort")),u(He,"pathname",Ye("getPathname","setPathname")),u(He,"search",Ye("getSearch","setSearch")),u(He,"searchParams",Ye("getSearchParams")),u(He,"hash",Ye("getHash","setHash"))),g(He,"toJSON",(function(){return w(this).serialize()}),{enumerable:!0}),g(He,"toString",(function(){return w(this).serialize()}),{enumerable:!0}),D){var Pe=D.createObjectURL,Oe=D.revokeObjectURL;Pe&&g(Je,"createObjectURL",s(Pe,D)),Oe&&g(Je,"revokeObjectURL",s(Oe,D))}d(Je,"URL"),n({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Je})},5728:(e,t,r)=>{r(161)},4136:(e,t,r)=>{var A=r(5366),n=r(3453);A({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return n(URL.prototype.toString,this)}})}},t={};function r(A){var n=t[A];if(void 0!==n)return n.exports;var i=t[A]={exports:{}};return e[A].call(i.exports,i,i.exports,r),i.exports}r.d=(e,t)=>{for(var A in t)r.o(t,A)&&!r.o(e,A)&&Object.defineProperty(e,A,{enumerable:!0,get:t[A]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var A,n=globalThis.pdfjsWorker={};function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function a(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,s(A.key),A)}}function o(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t,r){return t=l(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],l(e).constructor):t.apply(e,r))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&I(e,t)}function I(e,t){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},I(e,t)}r.d(n,{WorkerMessageHandler:()=>iL}),r(7651),r(4551),r(4172),r(5268),r(5997),r(184),r(3234),r(6497),r(6746),r(9024),r(5550),r(9138),r(6794),r(750),r(9722),r(5015),r(6209),r(9261),r(3700),r(3632),r(7316),r(7531),r(1999),r(3379),r(1234),r(2431),r(9732),r(2823),r(5594),r(8397),r(9255),r(5130),r(5636),r(8509),r(7332),r(6555),r(3296),r(4594),r(7329),r(3740),r(6542),r(5738),r(2900),r(2051),r(3198),r(4211),r(9791),r(5294),r(1526),r(6032),r(3659),r(8551),r(8553),r(7612),r(8579),r(7719),r(7576),r(2891),r(2605),r(4863),r(9637),r(2709),r(8941),r(1579),r(6236),r(7716),r(1913),r(4192),r(1565),r(5342),r(9582),r(8316),r(3577),r(8043),r(932),r(8169),r(1425),r(489),r(2467),r(1281),r(9484),r(4672),r(4413),r(9264),r(2044),r(5728),r(4136),r(4520),r(1531),r(3678),r(4145);var f=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),C=[1,0,0,1,0,0],B=[.001,0,0,.001,0,0],Q=1.35,E=.25925925925925924,d="pdfjs_internal_editor_",y={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},p="Group",v=32,m=8192,w=65536,b={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},k={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},D={O:"PageOpen",C:"PageClose"},S={ERRORS:0,WARNINGS:1,INFOS:5},F={NONE:0,BINARY:1},x=10,R=11,G=12,N=37,L=44,U=58,M=59,J=70,H=71,Y=83,P=85,O=S.WARNINGS;function K(){return O}function T(e){O>=S.INFOS&&console.log("Info: ".concat(e))}function q(e){O>=S.WARNINGS&&console.log("Warning: ".concat(e))}function j(e){throw new Error(e)}function W(e,t){e||j(t)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){var A=e.match(/\\./g);(null==A?void 0:A.length)>=2&&(e="http://".concat(e))}if(r.tryConvertEncoding)try{e=fe(e)}catch(e){}}var n=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}}(n))return n}catch(e){}return null}function _(e,t,r){var A=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.defineProperty(e,t,{value:r,enumerable:!A,configurable:!0,writable:!1}),r}var X=function(){function e(e,t){this.message=e,this.name=t}return e.prototype=new Error,e.constructor=e,e}(),V=function(e){function t(e,r){var A;return c(this,t),(A=g(this,t,[e,"PasswordException"])).code=r,A}return h(t,X),o(t)}(),z=function(e){function t(e,r){var A;return c(this,t),(A=g(this,t,[e,"UnknownErrorException"])).details=r,A}return h(t,X),o(t)}(),$=function(e){function t(e){return c(this,t),g(this,t,[e,"InvalidPDFException"])}return h(t,X),o(t)}(),ee=function(e){function t(e){return c(this,t),g(this,t,[e,"MissingPDFException"])}return h(t,X),o(t)}(),te=function(e){function t(e,r){var A;return c(this,t),(A=g(this,t,[e,"UnexpectedResponseException"])).status=r,A}return h(t,X),o(t)}(),re=function(e){function t(e){return c(this,t),g(this,t,[e,"FormatError"])}return h(t,X),o(t)}(),Ae=function(e){function t(e){return c(this,t),g(this,t,[e,"AbortException"])}return h(t,X),o(t)}();function ne(e){"object"==typeof e&&void 0!==(null==e?void 0:e.length)||j("Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var A=[],n=0;n<t;n+=r){var i=Math.min(n+r,t),a=e.subarray(n,i);A.push(String.fromCharCode.apply(null,a))}return A.join("")}function ie(e){"string"!=typeof e&&j("Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),A=0;A<t;++A)r[A]=255&e.charCodeAt(A);return r}function ae(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function oe(e){return Object.keys(e).length}var se=function(){return o((function e(){c(this,e)}),null,[{key:"isLittleEndian",get:function(){return _(this,"isLittleEndian",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}},{key:"isEvalSupported",get:function(){return _(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(e){return!1}}())}},{key:"isOffscreenCanvasSupported",get:function(){return _(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}},{key:"platform",get:function(){var e,t;return"undefined"!=typeof navigator&&"string"==typeof(null===(e=navigator)||void 0===e?void 0:e.platform)?_(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:"string"==typeof(null===(t=navigator)||void 0===t?void 0:t.userAgent)&&navigator.userAgent.includes("Firefox")}):_(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}},{key:"isCSSRoundSupported",get:function(){var e,t;return _(this,"isCSSRoundSupported",null===(e=globalThis.CSS)||void 0===e||null===(t=e.supports)||void 0===t?void 0:t.call(e,"width: round(1.5px, 1px)"))}}])}(),ce=Array.from(Array(256).keys(),(function(e){return e.toString(16).padStart(2,"0")})),ge=function(){function e(){c(this,e)}return o(e,null,[{key:"makeHexColor",value:function(e,t,r){return"#".concat(ce[e]).concat(ce[t]).concat(ce[r])}},{key:"scaleMinMax",value:function(e,t){var r;e[0]?(e[0]<0&&(r=t[0],t[0]=t[2],t[2]=r),t[0]*=e[0],t[2]*=e[0],e[3]<0&&(r=t[1],t[1]=t[3],t[3]=r),t[1]*=e[3],t[3]*=e[3]):(r=t[0],t[0]=t[1],t[1]=r,r=t[2],t[2]=t[3],t[3]=r,e[1]<0&&(r=t[1],t[1]=t[3],t[3]=r),t[1]*=e[1],t[3]*=e[1],e[2]<0&&(r=t[0],t[0]=t[2],t[2]=r),t[0]*=e[2],t[2]*=e[2]),t[0]+=e[4],t[1]+=e[5],t[2]+=e[4],t[3]+=e[5]}},{key:"transform",value:function(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]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var r=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])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(e,t){var r=this.applyTransform(e,t),A=this.applyTransform(e.slice(2,4),t),n=this.applyTransform([e[0],e[3]],t),i=this.applyTransform([e[2],e[1]],t);return[Math.min(r[0],A[0],n[0],i[0]),Math.min(r[1],A[1],n[1],i[1]),Math.max(r[0],A[0],n[0],i[0]),Math.max(r[1],A[1],n[1],i[1])]}},{key:"inverseTransform",value:function(e){var 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]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],A=e[0]*t[1]+e[1]*t[3],n=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],a=(r+i)/2,o=Math.sqrt(Math.pow(r+i,2)-4*(r*i-n*A))/2,s=a+o||1,c=a-o||1;return[Math.sqrt(s),Math.sqrt(c)]}},{key:"normalizeRect",value:function(e){var 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}},{key:"intersect",value:function(e,t){var r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),A=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>A)return null;var n=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),i=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return n>i?null:[r,n,A,i]}},{key:"bezierBoundingBox",value:function(t,r,A,n,a,o,s,c,g){return g?(g[0]=Math.min(g[0],t,s),g[1]=Math.min(g[1],r,c),g[2]=Math.max(g[2],t,s),g[3]=Math.max(g[3],r,c)):g=[Math.min(t,s),Math.min(r,c),Math.max(t,s),Math.max(r,c)],i(e,this,le).call(this,t,A,a,s,r,n,o,c,3*(3*(A-a)-t+s),6*(t-2*A+a),3*(A-t),g),i(e,this,le).call(this,t,A,a,s,r,n,o,c,3*(3*(n-o)-r+c),6*(r-2*n+o),3*(n-r),g),g}}])}();function ue(e,t,r,A,n,i,a,o,s,c){if(!(s<=0||s>=1)){var g=1-s,u=s*s,l=u*s,h=g*(g*(g*e+3*s*t)+3*u*r)+l*A,I=g*(g*(g*n+3*s*i)+3*u*a)+l*o;c[0]=Math.min(c[0],h),c[1]=Math.min(c[1],I),c[2]=Math.max(c[2],h),c[3]=Math.max(c[3],I)}}function le(e,t,r,n,a,o,s,c,g,u,l,h){if(Math.abs(g)<1e-12)Math.abs(u)>=1e-12&&i(A,this,ue).call(this,e,t,r,n,a,o,s,c,-l/u,h);else{var I=Math.pow(u,2)-4*l*g;if(!(I<0)){var f=Math.sqrt(I),C=2*g;i(A,this,ue).call(this,e,t,r,n,a,o,s,c,(-u+f)/C,h),i(A,this,ue).call(this,e,t,r,n,a,o,s,c,(-u-f)/C,h)}}}A=ge;var he=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function Ie(e){var t;if(e[0]>="ï"&&("þ"===e[0]&&"ÿ"===e[1]?(t="utf-16be",e.length%2==1&&(e=e.slice(0,-1))):"ÿ"===e[0]&&"þ"===e[1]?(t="utf-16le",e.length%2==1&&(e=e.slice(0,-1))):"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(t="utf-8"),t))try{var r=new TextDecoder(t,{fatal:!0}),A=ie(e),n=r.decode(A);return n.includes("\x1B")?n.replaceAll(/\\x1b[^\\x1b]*(?:\\x1b|$)/g,""):n}catch(e){q('stringToPDFString: "'.concat(e,'".'))}for(var i=[],a=0,o=e.length;a<o;a++){var s=e.charCodeAt(a);if(27!==s){var c=he[s];i.push(c?String.fromCharCode(c):e.charAt(a))}else for(;++a<o&&27!==e.charCodeAt(a););}return i.join("")}function fe(e){return decodeURIComponent(escape(e))}function Ce(e){return unescape(encodeURIComponent(e))}function Be(e,t){if(e.length!==t.length)return!1;for(var r=0,A=e.length;r<A;r++)if(e[r]!==t[r])return!1;return!0}function Qe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")}var Ee=null,de=null;function ye(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||ve(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ve(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ve(e,t){if(e){if("string"==typeof e)return me(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?me(e,t):void 0}}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function we(){we=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function be(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Fe(A.key),A)}}function Se(e,t,r){return t&&De(e.prototype,t),r&&De(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fe(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(4592),r(8345),r(2865),r(4072),r(463),r(8674),r(482);var xe=Symbol("CIRCULAR_REF"),Re=Symbol("EOF"),Ge=Object.create(null),Ne=Object.create(null),Le=Object.create(null),Ue=function(){function e(t){ke(this,e),this.name=t}return Se(e,null,[{key:"get",value:function(t){var r;return(r=Ne)[t]||(r[t]=new e(t))}}])}(),Me=function(){function e(t){ke(this,e),this.cmd=t}return Se(e,null,[{key:"get",value:function(t){var r;return(r=Ge)[t]||(r[t]=new e(t))}}])}(),Je=function(){return Je},He=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;ke(this,e),this._map=Object.create(null),this.xref=t,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=Je}return Se(e,[{key:"assignXref",value:function(e){this.xref=e}},{key:"size",get:function(){return Object.keys(this._map).length}},{key:"get",value:function(e,t,r){var A=this._map[e];return void 0===A&&void 0!==t&&void 0===(A=this._map[t])&&void 0!==r&&(A=this._map[r]),A instanceof Ye&&this.xref?this.xref.fetch(A,this.suppressEncryption):A}},{key:"getAsync",value:(t=we().mark((function e(t,r,A){var n;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===(n=this._map[t])&&void 0!==r&&void 0===(n=this._map[r])&&void 0!==A&&(n=this._map[A]),!(n instanceof Ye&&this.xref)){e.next=4;break}return e.abrupt("return",this.xref.fetchAsync(n,this.suppressEncryption));case 4:return e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,r=arguments;return new Promise((function(A,n){var i=t.apply(e,r);function a(e){be(i,A,n,a,o,"next",e)}function o(e){be(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e,t,A){return r.apply(this,arguments)})},{key:"getArray",value:function(e,t,r){var A=this._map[e];if(void 0===A&&void 0!==t&&void 0===(A=this._map[t])&&void 0!==r&&(A=this._map[r]),A instanceof Ye&&this.xref&&(A=this.xref.fetch(A,this.suppressEncryption)),Array.isArray(A))for(var n=0,i=(A=A.slice()).length;n<i;n++)A[n]instanceof Ye&&this.xref&&(A[n]=this.xref.fetch(A[n],this.suppressEncryption));return A}},{key:"getRaw",value:function(e){return this._map[e]}},{key:"getKeys",value:function(){return Object.keys(this._map)}},{key:"getRawValues",value:function(){return Object.values(this._map)}},{key:"set",value:function(e,t){this._map[e]=t}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this.get(t))}},{key:"clone",value:function(){var t,r=new e(this.xref),A=pe(this.getKeys());try{for(A.s();!(t=A.n()).done;){var n=t.value;r.set(n,this.getRaw(n))}}catch(e){A.e(e)}finally{A.f()}return r}},{key:"delete",value:function(e){delete this._map[e]}}],[{key:"empty",get:function(){var t=new e(null);return t.set=function(e,t){j("Should not call \`set\` on the empty dictionary.")},_(this,"empty",t)}},{key:"merge",value:function(t){var r,A=t.xref,n=t.dictArray,i=t.mergeSubDicts,a=void 0!==i&&i,o=new e(A),s=new Map,c=pe(n);try{for(c.s();!(r=c.n()).done;){var g=r.value;if(g instanceof e)for(var u=0,l=Object.entries(g._map);u<l.length;u++){var h=ye(l[u],2),I=h[0],f=h[1],C=s.get(I);if(void 0===C)C=[],s.set(I,C);else if(!(a&&f instanceof e))continue;C.push(f)}}}catch(e){c.e(e)}finally{c.f()}var B,Q=pe(s);try{for(Q.s();!(B=Q.n()).done;){var E=ye(B.value,2),d=E[0],y=E[1];if(1!==y.length&&y[0]instanceof e){var p,v=new e(A),m=pe(y);try{for(m.s();!(p=m.n()).done;)for(var w=p.value,b=0,k=Object.entries(w._map);b<k.length;b++){var D=ye(k[b],2),S=D[0],F=D[1];void 0===v._map[S]&&(v._map[S]=F)}}catch(e){m.e(e)}finally{m.f()}v.size>0&&(o._map[d]=v)}else o._map[d]=y[0]}}catch(e){Q.e(e)}finally{Q.f()}return s.clear(),o.size>0?o:e.empty}}]);var t,r}(),Ye=function(){function e(t,r){ke(this,e),this.num=t,this.gen=r}return Se(e,[{key:"toString",value:function(){return 0===this.gen?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}}],[{key:"fromString",value:function(t){var r=Le[t];if(r)return r;var A=/^(\\d+)R(\\d*)$/.exec(t);return A&&"0"!==A[1]?Le[t]=new e(parseInt(A[1]),A[2]?parseInt(A[2]):0):null}},{key:"get",value:function(t,r){var A,n=0===r?"".concat(t,"R"):"".concat(t,"R").concat(r);return(A=Le)[n]||(A[n]=new e(t,r))}}])}(),Pe=function(){return Se((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;ke(this,e),this._set=new Set(null==t?void 0:t._set)}),[{key:"has",value:function(e){return this._set.has(e.toString())}},{key:"put",value:function(e){this._set.add(e.toString())}},{key:"remove",value:function(e){this._set.delete(e.toString())}},{key:Symbol.iterator,value:function(){return this._set.values()}},{key:"clear",value:function(){this._set.clear()}}])}(),Oe=function(){return Se((function e(){ke(this,e),this._map=new Map}),[{key:"size",get:function(){return this._map.size}},{key:"get",value:function(e){return this._map.get(e.toString())}},{key:"has",value:function(e){return this._map.has(e.toString())}},{key:"put",value:function(e,t){this._map.set(e.toString(),t)}},{key:"putAlias",value:function(e,t){this._map.set(e.toString(),this.get(t))}},{key:Symbol.iterator,value:function(){return this._map.values()}},{key:"clear",value:function(){this._map.clear()}},{key:"items",value:we().mark((function e(){var t,r,A,n,i;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=pe(this._map),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=9;break}return A=ye(r.value,2),n=A[0],i=A[1],e.next=7,[Ye.fromString(n),i];case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))}])}();function Ke(e,t){return e instanceof Ue&&(void 0===t||e.name===t)}function Te(e,t){return e instanceof Me&&(void 0===t||e.cmd===t)}function qe(e,t){return e instanceof He&&(void 0===t||Ke(e.get("Type"),t))}function je(e,t){return e.num===t.num&&e.gen===t.gen}function We(){We=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Ze(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function _e(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Ze(i,A,n,a,o,"next",e)}function o(e){Ze(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Xe(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ve(A.key),A)}}function Ve(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var ze=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},t=[{key:"length",get:function(){j("Abstract getter \`length\` accessed")}},{key:"isEmpty",get:function(){j("Abstract getter \`isEmpty\` accessed")}},{key:"isDataLoaded",get:function(){return _(this,"isDataLoaded",!0)}},{key:"getByte",value:function(){j("Abstract method \`getByte\` called")}},{key:"getBytes",value:function(e){j("Abstract method \`getBytes\` called")}},{key:"getImageData",value:(A=_e(We().mark((function e(t,r){return We().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getBytes(t,r));case 1:case"end":return e.stop()}}),e,this)}))),function(e,t){return A.apply(this,arguments)})},{key:"asyncGetBytes",value:(r=_e(We().mark((function e(){return We().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:j("Abstract method \`asyncGetBytes\` called");case 1:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})},{key:"isAsync",get:function(){return!1}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return!1}},{key:"peekByte",value:function(){var e=this.getByte();return-1!==e&&this.pos--,e}},{key:"peekBytes",value:function(e){var t=this.getBytes(e);return this.pos-=t.length,t}},{key:"getUint16",value:function(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}},{key:"getInt32",value:function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}},{key:"getByteRange",value:function(e,t){j("Abstract method \`getByteRange\` called")}},{key:"getString",value:function(e){return ne(this.getBytes(e))}},{key:"skip",value:function(e){this.pos+=e||1}},{key:"reset",value:function(){j("Abstract method \`reset\` called")}},{key:"moveStart",value:function(){j("Abstract method \`moveStart\` called")}},{key:"makeSubStream",value:function(e,t){j("Abstract method \`makeSubStream\` called")}},{key:"getBaseStreams",value:function(){return null}}],t&&Xe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r,A}();function $e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||At(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(){et=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}var tt=et().mark(Ht);function rt(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=At(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function At(e,t){if(e){if("string"==typeof e)return nt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nt(e,t):void 0}}function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function it(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,ot(A.key),A)}}function at(e,t,r){return t&&it(e.prototype,t),r&&it(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ot(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function st(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t=ut(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gt()?Reflect.construct(t,r||[],ut(e).constructor):t.apply(e,r))}function gt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gt=function(){return!!e})()}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ut(e)}function lt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ht(e,t)}function ht(e,t){return ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ht(e,t)}var It=/^[1-9]\\.\\d$/;function ft(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}}var Ct=function(e){function t(e,r){var A;return st(this,t),(A=ct(this,t,["Missing data [".concat(e,", ").concat(r,")"),"MissingDataException"])).begin=e,A.end=r,A}return lt(t,X),at(t)}(),Bt=function(e){function t(e){return st(this,t),ct(this,t,[e,"ParserEOFException"])}return lt(t,X),at(t)}(),Qt=function(e){function t(e){return st(this,t),ct(this,t,[e,"XRefEntryException"])}return lt(t,X),at(t)}(),Et=function(e){function t(e){return st(this,t),ct(this,t,[e,"XRefParseException"])}return lt(t,X),at(t)}();function dt(e){var t=e.length;if(0===t)return new Uint8Array(0);if(1===t)return new Uint8Array(e[0]);for(var r=0,A=0;A<t;A++)r+=e[A].byteLength;for(var n=new Uint8Array(r),i=0,a=0;a<t;a++){var o=new Uint8Array(e[a]);n.set(o,i),i+=o.byteLength}return n}function yt(e){for(var t,r=e.dict,A=e.key,n=e.getArray,i=void 0!==n&&n,a=e.stopWhenFound,o=void 0===a||a,s=new Pe;r instanceof He&&(!r.objId||!s.has(r.objId));){r.objId&&s.put(r.objId);var c=i?r.getArray(A):r.get(A);if(void 0!==c){if(o)return c;(t||(t=[])).push(c)}r=r.get("Parent")}return t}var pt=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function vt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];W(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var r,A=[];e>=1e3;)e-=1e3,A.push("M");r=e/100|0,e%=100,A.push(pt[r]),r=e/10|0,e%=10,A.push(pt[10+r]),A.push(pt[20+e]);var n=A.join("");return t?n.toLowerCase():n}function mt(e){return e<=0?0:Math.ceil(Math.log2(e))}function wt(e,t){return e[t]<<24>>24}function bt(e,t){return e[t]<<8|e[t+1]}function kt(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function Dt(e){return 32===e||9===e||13===e||10===e}function St(e,t){return Array.isArray(e)?(null===t||e.length===t)&&e.every((function(e){return"number"==typeof e})):ArrayBuffer.isView(e)&&(0===e.length||"number"==typeof e[0])&&(null===t||e.length===t)}function Ft(e,t){return St(e,6)?e:t}function xt(e,t){return St(e,4)?e:t}function Rt(e,t){return St(e,4)?ge.normalizeRect(e):t}function Gt(e){var t=/(.+)\\[(\\d+)\\]$/;return e.split(".").map((function(e){var r=e.match(t);return r?{name:r[1],pos:parseInt(r[2],10)}:{name:e,pos:0}}))}function Nt(e){for(var t=[],r=0,A=0,n=e.length;A<n;A++){var i=e.charCodeAt(A);(i<33||i>126||35===i||40===i||41===i||60===i||62===i||91===i||93===i||123===i||125===i||47===i||37===i)&&(r<A&&t.push(e.substring(r,A)),t.push("#".concat(i.toString(16))),r=A+1)}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))}function Lt(e){return e.replaceAll(/([()\\\\\\n\\r])/g,(function(e){return"\\n"===e?"\\\\n":"\\r"===e?"\\\\r":"\\\\".concat(e)}))}function Ut(e,t,r,A){if(e){var n=null;if(e instanceof Ye){if(A.has(e))return;n=e,A.put(n),e=t.fetch(e)}if(Array.isArray(e)){var i,a=rt(e);try{for(a.s();!(i=a.n()).done;)Ut(i.value,t,r,A)}catch(e){a.e(e)}finally{a.f()}}else if(e instanceof He){if(Ke(e.get("S"),"JavaScript")){var o,s=e.get("JS");s instanceof ze?o=s.getString():"string"==typeof s&&(o=s),o&&(o=Ie(o).replaceAll("\\0","")),o&&r.push(o)}Ut(e.getRaw("Next"),t,r,A)}n&&A.remove(n)}}function Mt(e,t,r){var A=Object.create(null),n=yt({dict:t,key:"AA",stopWhenFound:!1});if(n)for(var i=n.length-1;i>=0;i--){var a=n[i];if(a instanceof He){var o,s=rt(a.getKeys());try{for(s.s();!(o=s.n()).done;){var c=o.value,g=r[c];if(g){var u=a.getRaw(c),l=new Pe,h=[];Ut(u,e,h,l),h.length>0&&(A[g]=h)}}}catch(e){s.e(e)}finally{s.f()}}}if(t.has("A")){var I=[];Ut(t.get("A"),e,I,new Pe),I.length>0&&(A.Action=I)}return oe(A)>0?A:null}var Jt={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"};function Ht(e){var t,r,A;return et().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=0,r=e.length;case 1:if(!(t<r)){n.next=9;break}return(A=e.codePointAt(t))>55295&&(A<57344||A>65533)&&t++,n.next=6,A;case 6:t++,n.next=1;break;case 9:case"end":return n.stop()}}),tt)}function Yt(e){for(var t=[],r=0,A=0,n=e.length;A<n;A++){var i=e.codePointAt(A);if(32<=i&&i<=126){var a=Jt[i];a&&(r<A&&t.push(e.substring(r,A)),t.push(a),r=A+1)}else r<A&&t.push(e.substring(r,A)),t.push("&#x".concat(i.toString(16).toUpperCase(),";")),i>55295&&(i<57344||i>65533)&&A++,r=A+1}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=/^("|').*("|')$/.exec(e);if(r&&r[1]===r[2]){if(new RegExp("[^\\\\\\\\]".concat(r[1])).test(e.slice(1,-1)))return t&&q("FontFamily contains unescaped ".concat(r[1],": ").concat(e,".")),!1}else{var A,n=rt(e.split(/[ \\t]+/));try{for(n.s();!(A=n.n()).done;){var i=A.value;if(/^(\\d|(-(\\d|-)))/.test(i)||!/^[\\w-\\\\]+$/.test(i))return t&&q("FontFamily contains invalid <custom-ident>: ".concat(e,".")),!1}}catch(e){n.e(e)}finally{n.f()}}return!0}function Ot(e){var t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),r=e.fontFamily,A=e.fontWeight,n=e.italicAngle;if(!Pt(r,!0))return!1;var i=A?A.toString():"";e.fontWeight=t.has(i)?i:"400";var a=parseFloat(n);return e.italicAngle=isNaN(a)||a<-90||a>90?"14":n.toString(),!0}function Kt(e){var t=new RegExp("^\\\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\\\.")+")\\\\((?:'|\\")([^'\\"]*)(?:'|\\")(?:,\\\\s*(\\\\w+)\\\\)|\\\\))","i").exec(e);if(null!=t&&t[2]){var r=t[2],A=!1;return"true"===t[3]&&"app.launchURL"===t[1]&&(A=!0),{url:r,newWindow:A}}return null}function Tt(e){if(Number.isInteger(e))return e.toString();var t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)}function qt(e){if(!e)return null;var t,r=new Map,A=rt(e);try{for(A.s();!(t=A.n()).done;){var n=$e(t.value,2),i=n[0],a=n[1];if(i.startsWith(d)){var o=r.get(a.pageIndex);o||(o=[],r.set(a.pageIndex,o)),o.push(a)}}}catch(e){A.e(e)}finally{A.f()}return r.size>0?r:null}function jt(e){return function(e){return/^[\\x00-\\x7F]*$/.test(e)}(e)?e:Zt(e,!0)}function Wt(e){for(var t=[],r=0,A=e.length;r<A;r++){var n=e.charCodeAt(r);t.push((n>>8&255).toString(16).padStart(2,"0"),(255&n).toString(16).padStart(2,"0"))}return t.join("")}function Zt(e){var t=[];arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&t.push("þÿ");for(var r=0,A=e.length;r<A;r++){var n=e.charCodeAt(r);t.push(String.fromCharCode(n>>8&255),String.fromCharCode(255&n))}return t.join("")}function _t(e,t,r){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,r];case 270:return[0,-1,1,0,0,r];default:throw new Error("Invalid rotation")}}function Xt(e){return Math.ceil(Math.ceil(Math.log2(1+e))/8)}function Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,er(A.key),A)}}function $t(e,t,r){return t&&zt(e.prototype,t),r&&zt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function er(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function tr(e,t,r){return t=Ar(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,rr()?Reflect.construct(t,r||[],Ar(e).constructor):t.apply(e,r))}function rr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rr=function(){return!!e})()}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ar(e)}function nr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ir(e,t)}function ir(e,t){return ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ir(e,t)}r(7710);var ar=function(e){function t(e,r,A,n){var i;return Vt(this,t),(i=tr(this,t)).bytes=e instanceof Uint8Array?e:new Uint8Array(e),i.start=r||0,i.pos=i.start,i.end=r+A||i.bytes.length,i.dict=n,i}return nr(t,ze),$t(t,[{key:"length",get:function(){return this.end-this.start}},{key:"isEmpty",get:function(){return 0===this.length}},{key:"getByte",value:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]}},{key:"getBytes",value:function(e){var t=this.bytes,r=this.pos,A=this.end;if(!e)return t.subarray(r,A);var n=r+e;return n>A&&(n=A),this.pos=n,t.subarray(r,n)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),this.bytes.subarray(e,t)}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},{key:"makeSubStream",value:function(e,r){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new t(this.bytes.buffer,e,r,A)}}])}(),or=function(e){function t(e){return Vt(this,t),tr(this,t,[ie(e)])}return nr(t,ar),$t(t)}(),sr=function(e){function t(){return Vt(this,t),tr(this,t,[new Uint8Array(0)])}return nr(t,ar),$t(t)}();function cr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return gr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function ur(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ir(A.key),A)}}function hr(e,t,r){return t&&lr(e.prototype,t),r&&lr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ir(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function fr(e,t,r){return t=Br(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cr()?Reflect.construct(t,r||[],Br(e).constructor):t.apply(e,r))}function Cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cr=function(){return!!e})()}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Br(e)}function Qr(e,t){return Qr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qr(e,t)}var Er=function(e){function t(e,r,A){var n;return ur(this,t),(n=fr(this,t,[new Uint8Array(e),0,e,null])).chunkSize=r,n._loadedChunks=new Set,n.numChunks=Math.ceil(e/r),n.manager=A,n.progressiveDataLength=0,n.lastSuccessfulEnsureByteChunk=-1,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qr(e,t)}(t,ar),hr(t,[{key:"getMissingChunks",value:function(){for(var e=[],t=0,r=this.numChunks;t<r;++t)this._loadedChunks.has(t)||e.push(t);return e}},{key:"numChunksLoaded",get:function(){return this._loadedChunks.size}},{key:"isDataLoaded",get:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(e,t){var r=this.chunkSize;if(e%r!=0)throw new Error("Bad begin offset: ".concat(e));var A=e+t.byteLength;if(A%r!=0&&A!==this.bytes.length)throw new Error("Bad end offset: ".concat(A));this.bytes.set(new Uint8Array(t),e);for(var n=Math.floor(e/r),i=Math.floor((A-1)/r)+1,a=n;a<i;++a)this._loadedChunks.add(a)}},{key:"onReceiveProgressiveData",value:function(e){var t=this.progressiveDataLength,r=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,this.progressiveDataLength=t;for(var A=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize),n=r;n<A;++n)this._loadedChunks.add(n)}},{key:"ensureByte",value:function(e){if(!(e<this.progressiveDataLength)){var t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new Ct(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}}},{key:"ensureRange",value:function(e,t){if(!(e>=t||t<=this.progressiveDataLength)){var r=Math.floor(e/this.chunkSize);if(!(r>this.numChunks))for(var A=Math.min(Math.floor((t-1)/this.chunkSize)+1,this.numChunks),n=r;n<A;++n)if(!this._loadedChunks.has(n))throw new Ct(e,t)}}},{key:"nextEmptyChunk",value:function(e){for(var t=this.numChunks,r=0;r<t;++r){var A=(e+r)%t;if(!this._loadedChunks.has(A))return A}return null}},{key:"hasChunk",value:function(e){return this._loadedChunks.has(e)}},{key:"getByte",value:function(){var e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}},{key:"getBytes",value:function(e){var t=this.bytes,r=this.pos,A=this.end;if(!e)return A>this.progressiveDataLength&&this.ensureRange(r,A),t.subarray(r,A);var n=r+e;return n>A&&(n=A),n>this.progressiveDataLength&&this.ensureRange(r,n),this.pos=n,t.subarray(r,n)}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),t>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;function A(){}t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e),A.prototype=Object.create(this),A.prototype.getMissingChunks=function(){for(var e=this.chunkSize,t=Math.floor(this.start/e),r=Math.floor((this.end-1)/e)+1,A=[],n=t;n<r;++n)this._loadedChunks.has(n)||A.push(n);return A},Object.defineProperty(A.prototype,"isDataLoaded",{get(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var n=new A;return n.pos=n.start=e,n.end=e+t||this.end,n.dict=r,n}},{key:"getBaseStreams",value:function(){return[this]}}])}(),dr=function(){return hr((function e(t,r){ur(this,e),this.length=r.length,this.chunkSize=r.rangeChunkSize,this.stream=new Er(this.length,this.chunkSize,this),this.pdfNetworkStream=t,this.disableAutoFetch=r.disableAutoFetch,this.msgHandler=r.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=Promise.withResolvers()}),[{key:"sendRequest",value:function(e,t){var r=this,A=this.pdfNetworkStream.getRangeReader(e,t);A.isStreamingSupported||(A.onProgress=this.onProgress.bind(this));var n=[],i=0;return new Promise((function(e,t){var a=function(o){var s=o.value,c=o.done;try{if(c){var g=dt(n);return n=null,void e(g)}i+=s.byteLength,A.isStreamingSupported&&r.onProgress({loaded:i}),n.push(s),A.read().then(a,t)}catch(e){t(e)}};A.read().then(a,t)})).then((function(t){r.aborted||r.onReceiveData({chunk:t,begin:e})}))}},{key:"requestAllChunks",value:function(){if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])){var e=this.stream.getMissingChunks();this._requestChunks(e)}return this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(e){var t=this,r=this.currRequestId++,A=new Set;this._chunksNeededByRequest.set(r,A);var n,i=cr(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;this.stream.hasChunk(a)||A.add(a)}}catch(e){i.e(e)}finally{i.f()}if(0===A.size)return Promise.resolve();var o=Promise.withResolvers();this._promisesByRequest.set(r,o);var s,c=[],g=cr(A);try{for(g.s();!(s=g.n()).done;){var u=s.value,l=this._requestsByChunk.get(u);l||(l=[],this._requestsByChunk.set(u,l),c.push(u)),l.push(r)}}catch(e){g.e(e)}finally{g.f()}if(c.length>0){var h,I=cr(this.groupChunks(c));try{for(I.s();!(h=I.n()).done;){var f=h.value,C=f.beginChunk*this.chunkSize,B=Math.min(f.endChunk*this.chunkSize,this.length);this.sendRequest(C,B).catch(o.reject)}}catch(e){I.e(e)}finally{I.f()}}return o.promise.catch((function(e){if(!t.aborted)throw e}))}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(e,t){t=Math.min(t,this.length);for(var r=this.getBeginChunk(e),A=this.getEndChunk(t),n=[],i=r;i<A;++i)n.push(i);return this._requestChunks(n)}},{key:"requestRanges",value:function(){var e,t=[],r=cr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(r.s();!(e=r.n()).done;)for(var A=e.value,n=this.getBeginChunk(A.begin),i=this.getEndChunk(A.end),a=n;a<i;++a)t.includes(a)||t.push(a)}catch(e){r.e(e)}finally{r.f()}return t.sort((function(e,t){return e-t})),this._requestChunks(t)}},{key:"groupChunks",value:function(e){for(var t=[],r=-1,A=-1,n=0,i=e.length;n<i;++n){var a=e[n];r<0&&(r=a),A>=0&&A+1!==a&&(t.push({beginChunk:r,endChunk:A+1}),r=a),n+1===e.length&&t.push({beginChunk:r,endChunk:a+1}),A=a}return t}},{key:"onProgress",value:function(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}},{key:"onReceiveData",value:function(e){var t=e.chunk,r=void 0===e.begin,A=r?this.progressiveDataLength:e.begin,n=A+t.byteLength,i=Math.floor(A/this.chunkSize),a=n<this.length?Math.floor(n/this.chunkSize):Math.ceil(n/this.chunkSize);r?(this.stream.onReceiveProgressiveData(t),this.progressiveDataLength=n):this.stream.onReceiveData(A,t),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);for(var o=[],s=i;s<a;++s){var c=this._requestsByChunk.get(s);if(c){this._requestsByChunk.delete(s);var g,u=cr(c);try{for(u.s();!(g=u.n()).done;){var l=g.value,h=this._chunksNeededByRequest.get(l);h.has(s)&&h.delete(s),h.size>0||o.push(l)}}catch(e){u.e(e)}finally{u.f()}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){var I;if(1===this.stream.numChunksLoaded){var f=this.stream.numChunks-1;this.stream.hasChunk(f)||(I=f)}else I=this.stream.nextEmptyChunk(a);Number.isInteger(I)&&this._requestChunks([I])}for(var C=0,B=o;C<B.length;C++){var Q=B[C],E=this._promisesByRequest.get(Q);this._promisesByRequest.delete(Q),E.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(e){this._loadedStreamCapability.reject(e)}},{key:"getBeginChunk",value:function(e){return Math.floor(e/this.chunkSize)}},{key:"getEndChunk",value:function(e){return Math.floor((e-1)/this.chunkSize)+1}},{key:"abort",value:function(e){var t;this.aborted=!0,null===(t=this.pdfNetworkStream)||void 0===t||t.cancelAllRequests(e);var r,A=cr(this._promisesByRequest.values());try{for(A.s();!(r=A.n()).done;)r.value.reject(e)}catch(e){A.e(e)}finally{A.f()}}}])}();function yr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return pr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function vr(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function mr(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function wr(e,t,r){return t=kr(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,br()?Reflect.construct(t,r||[],kr(e).constructor):t.apply(e,r))}function br(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(br=function(){return!!e})()}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kr(e)}function Dr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sr(e,t)}function Sr(e,t){return Sr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sr(e,t)}function Fr(){Fr=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function xr(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Rr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Lr(A.key),A)}}function Nr(e,t,r){return t&&Gr(e.prototype,t),r&&Gr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lr(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(6347),r(456),r(122),r(8653),r(7121),r(8856),r(8408),r(8937),r(7288),r(176),r(7879),r(98),r(4306),r(4262),r(2569),r(8492),r(4865),r(8075),r(3821),r(3034);var Ur=function(){function e(t,r){Rr(this,e),this.name=t,this.numComps=r}return Nr(e,[{key:"getRgb",value:function(e,t){var r=new Uint8ClampedArray(3);return this.getRgbItem(e,t,r,0),r}},{key:"getRgbItem",value:function(e,t,r,A){j("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){j("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(e,t){j("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function(e){return!1}},{key:"isDefaultDecode",value:function(t,r){return e.isDefaultDecode(t,this.numComps)}},{key:"fillRgb",value:function(e,t,r,A,n,i,a,o,s){var c=t*r,g=null,u=1<<a,l=r!==n||t!==A;if(this.isPassthrough(a))g=o;else if(1===this.numComps&&c>u&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){for(var h=a<=8?new Uint8Array(u):new Uint16Array(u),I=0;I<u;I++)h[I]=I;var f=new Uint8ClampedArray(3*u);if(this.getRgbBuffer(h,0,u,f,0,a,0),l){g=new Uint8Array(3*c);for(var C=0,B=0;B<c;++B){var Q=3*o[B];g[C++]=f[Q],g[C++]=f[Q+1],g[C++]=f[Q+2]}}else for(var E=0,d=0;d<c;++d){var y=3*o[d];e[E++]=f[y],e[E++]=f[y+1],e[E++]=f[y+2],E+=s}}else l?(g=new Uint8ClampedArray(3*c),this.getRgbBuffer(o,0,c,g,0,a,0)):this.getRgbBuffer(o,0,A*i,e,0,a,s);if(g)if(l)!function(e,t,r,A,n,i,a){a=1!==a?0:a;for(var o,s=r/n,c=A/i,g=0,u=new Uint16Array(n),l=3*r,h=0;h<n;h++)u[h]=3*Math.floor(h*s);for(var I=0;I<i;I++)for(var f=Math.floor(I*c)*l,C=0;C<n;C++)o=f+u[C],t[g++]=e[o++],t[g++]=e[o++],t[g++]=e[o++],g+=a}(g,e,t,r,A,n,s);else for(var p=0,v=0,m=0,w=A*i;m<w;m++)e[p++]=g[v++],e[p++]=g[v++],e[p++]=g[v++],p+=s}},{key:"usesZeroToOneRange",get:function(){return _(this,"usesZeroToOneRange",!0)}}],[{key:"_cache",value:function(e,t,r,A){if(!r)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!A)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');var n,i;e instanceof Ye&&(i=e,e=t.fetch(e)),e instanceof Ue&&(n=e.name),(n||i)&&r.set(n,i,A)}},{key:"getCached",value:function(e,t,r){if(!r)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(e instanceof Ye){var A=r.getByRef(e);if(A)return A;try{e=t.fetch(e)}catch(e){if(e instanceof Ct)throw e}}if(e instanceof Ue){var n=r.getByName(e.name);if(n)return n}return null}},{key:"parseAsync",value:(t=Fr().mark((function e(t){var r,A,n,i,a,o,s;return Fr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cs,A=t.xref,n=t.resources,i=void 0===n?null:n,a=t.pdfFunctionFactory,o=t.localColorSpaceCache,s=this._parse(r,A,i,a),this._cache(r,A,o,s),e.abrupt("return",s);case 4:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,r=arguments;return new Promise((function(A,n){var i=t.apply(e,r);function a(e){xr(i,A,n,a,o,"next",e)}function o(e){xr(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e){return r.apply(this,arguments)})},{key:"parse",value:function(e){var t=e.cs,r=e.xref,A=e.resources,n=void 0===A?null:A,i=e.pdfFunctionFactory,a=e.localColorSpaceCache,o=this.getCached(t,r,a);if(o)return o;var s=this._parse(t,r,n,i);return this._cache(t,r,a,s),s}},{key:"_parse",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,A=arguments.length>3?arguments[3]:void 0;if((e=t.fetchIfRef(e))instanceof Ue)switch(e.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"DeviceRGBA":return this.singletons.rgba;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new Jr(null);default:if(r instanceof He){var n=r.get("ColorSpace");if(n instanceof He){var i=n.get(e.name);if(i){if(i instanceof Ue)return this._parse(i,t,r,A);e=i;break}}}return q("Unrecognized ColorSpace: ".concat(e.name)),this.singletons.gray}if(Array.isArray(e)){var a,o,s,c,g,u,l=t.fetchIfRef(e[0]).name;switch(l){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return c=(a=t.fetchIfRef(e[1])).getArray("WhitePoint"),g=a.getArray("BlackPoint"),u=a.get("Gamma"),new Wr(c,g,u);case"CalRGB":c=(a=t.fetchIfRef(e[1])).getArray("WhitePoint"),g=a.getArray("BlackPoint"),u=a.getArray("Gamma");var h=a.getArray("Matrix");return new Xr(c,g,u,h);case"ICCBased":var I=t.fetchIfRef(e[1]).dict;o=I.get("N");var f=I.get("Alternate");if(f){var C=this._parse(f,t,r,A);if(C.numComps===o)return C;q("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===o)return this.singletons.gray;if(3===o)return this.singletons.rgb;if(4===o)return this.singletons.cmyk;break;case"Pattern":return(s=e[1]||null)&&(s=this._parse(s,t,r,A)),new Jr(s);case"I":case"Indexed":s=this._parse(e[1],t,r,A);var B=t.fetchIfRef(e[2])+1,Q=t.fetchIfRef(e[3]);return new Hr(s,B,Q);case"Separation":case"DeviceN":var E=t.fetchIfRef(e[1]);o=Array.isArray(E)?E.length:1,s=this._parse(e[2],t,r,A);var d=A.create(e[3]);return new Mr(o,s,d);case"Lab":c=(a=t.fetchIfRef(e[1])).getArray("WhitePoint"),g=a.getArray("BlackPoint");var y=a.getArray("Range");return new CA(c,g,y);default:return q("Unimplemented ColorSpace object: ".concat(l)),this.singletons.gray}}return q("Unrecognized ColorSpace object: ".concat(e)),this.singletons.gray}},{key:"isDefaultDecode",value:function(e,t){if(!Array.isArray(e))return!0;if(2*t!==e.length)return q("The decode map is not the correct length"),!0;for(var r=0,A=e.length;r<A;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0}},{key:"singletons",get:function(){return _(this,"singletons",{get gray(){return _(this,"gray",new Yr)},get rgb(){return _(this,"rgb",new Pr)},get rgba(){return _(this,"rgba",new Or)},get cmyk(){return _(this,"cmyk",new Tr)}})}}]);var t,r}(),Mr=function(e){function t(e,r,A){var n;return Rr(this,t),(n=wr(this,t,["Alternate",e])).base=r,n.tintFn=A,n.tmpBuf=new Float32Array(r.numComps),n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){var n=this.tmpBuf;this.tintFn(e,t,n,0),this.base.getRgbItem(n,0,r,A)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){var o,s,c=this.tintFn,g=this.base,u=1/((1<<i)-1),l=g.numComps,h=g.usesZeroToOneRange,I=(g.isPassthrough(8)||!h)&&0===a,f=I?n:0,C=I?A:new Uint8ClampedArray(l*r),B=this.numComps,Q=new Float32Array(B),E=new Float32Array(l);for(o=0;o<r;o++){for(s=0;s<B;s++)Q[s]=e[t++]*u;if(c(Q,0,E,0),h)for(s=0;s<l;s++)C[f++]=255*E[s];else g.getRgbItem(E,0,C,f),f+=l}I||g.getRgbBuffer(C,0,r,A,n,8,a)}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}])}(),Jr=function(e){function t(e){var r;return Rr(this,t),(r=wr(this,t,["Pattern",null])).base=e,r}return Dr(t,Ur),Nr(t,[{key:"isDefaultDecode",value:function(e,t){j("Should not call PatternCS.isDefaultDecode")}}])}(),Hr=function(e){function t(e,r,A){var n;Rr(this,t),(n=wr(this,t,["Indexed",1])).base=e,n.highVal=r;var i=e.numComps*r;if(n.lookup=new Uint8Array(i),A instanceof ze){var a=A.getBytes(i);n.lookup.set(a)}else{if("string"!=typeof A)throw new re("IndexedCS - unrecognized lookup table: ".concat(A));for(var o=0;o<i;++o)n.lookup[o]=255&A.charCodeAt(o)}return n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){var n=this.base.numComps,i=e[t]*n;this.base.getRgbBuffer(this.lookup,i,1,r,A,8,0)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=this.base,s=o.numComps,c=o.getOutputLength(s,a),g=this.lookup,u=0;u<r;++u){var l=e[t++]*s;o.getRgbBuffer(g,l,1,A,n,8,a),n+=c}}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}},{key:"isDefaultDecode",value:function(e,t){return!Array.isArray(e)||(2!==e.length?(q("Decode map length is not correct"),!0):!Number.isInteger(t)||t<1?(q("Bits per component is not correct"),!0):0===e[0]&&e[1]===(1<<t)-1)}}])}(),Yr=function(e){function t(){return Rr(this,t),wr(this,t,["DeviceGray",1])}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){var n=255*e[t];r[A]=r[A+1]=r[A+2]=n}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=255/((1<<i)-1),s=t,c=n,g=0;g<r;++g){var u=o*e[s++];A[c++]=u,A[c++]=u,A[c++]=u,c+=a}}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}])}(),Pr=function(e){function t(){return Rr(this,t),wr(this,t,["DeviceRGB",3])}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){r[A]=255*e[t],r[A+1]=255*e[t+1],r[A+2]=255*e[t+2]}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){if(8!==i||0!==a)for(var o=255/((1<<i)-1),s=t,c=n,g=0;g<r;++g)A[c++]=o*e[s++],A[c++]=o*e[s++],A[c++]=o*e[s++],c+=a;else A.set(e.subarray(t,t+3*r),n)}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isPassthrough",value:function(e){return 8===e}}])}(),Or=function(e){function t(){return Rr(this,t),wr(this,t,["DeviceRGBA",4])}return Dr(t,Ur),Nr(t,[{key:"getOutputLength",value:function(e,t){return 4*e}},{key:"isPassthrough",value:function(e){return 8===e}}])}(),Kr=new WeakSet,Tr=function(e){function t(){var e;return Rr(this,t),vr(e=wr(this,t,["DeviceCMYK",4]),Kr),e}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(Kr,this,qr).call(this,e,t,1,r,A)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=1/((1<<i)-1),s=0;s<r;s++)mr(Kr,this,qr).call(this,e,t,o,A,n),t+=4,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e/4*(3+t)|0}}])}();function qr(e,t,r,A,n){var i=e[t]*r,a=e[t+1]*r,o=e[t+2]*r,s=e[t+3]*r;A[n]=255+i*(-4.387332384609988*i+54.48615194189176*a+18.82290502165302*o+212.25662451639585*s-285.2331026137004)+a*(1.7149763477362134*a-5.6096736904047315*o+-17.873870861415444*s-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*s+17.5119270841813)+s*(-21.86122147463605*s-189.48180835922747),A[n+1]=255+i*(8.841041422036149*i+60.118027045597366*a+6.871425592049007*o+31.159100130055922*s-79.2970844816548)+a*(-15.310361306967817*a+17.575251261109482*o+131.35250912493976*s-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*s-24.86741582555878)+s*(-20.737325471181034*s-187.80453709719578),A[n+2]=255+i*(.8842522430003296*i+8.078677503112928*a+30.89978309703729*o-.23883238689178934*s-14.183576799673286)+a*(10.49593273432072*a+63.02378494754052*o+50.606957656360734*s-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*s-193.58209356861505)+s*(-22.33816807309886*s-180.12613974708367)}var jr=new WeakSet,Wr=function(e){function t(e,r,A){var n;if(Rr(this,t),vr(n=wr(this,t,["CalGray",1]),jr),!e)throw new re("WhitePoint missing - required for color space CalGray");var i=yr(e,3);n.XW=i[0],n.YW=i[1],n.ZW=i[2];var a=yr(r||[0,0,0],3);if(n.XB=a[0],n.YB=a[1],n.ZB=a[2],n.G=A||1,n.XW<0||n.ZW<0||1!==n.YW)throw new re("Invalid WhitePoint components for ".concat(n.name,", no fallback available"));return(n.XB<0||n.YB<0||n.ZB<0)&&(T("Invalid BlackPoint for ".concat(n.name,", falling back to default.")),n.XB=n.YB=n.ZB=0),0===n.XB&&0===n.YB&&0===n.ZB||q("".concat(n.name,", BlackPoint: XB: ").concat(n.XB,", YB: ").concat(n.YB,", ")+"ZB: ".concat(n.ZB,", only default values are supported.")),n.G<1&&(T("Invalid Gamma: ".concat(n.G," for ").concat(n.name,", falling back to default.")),n.G=1),n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(jr,this,Zr).call(this,e,t,r,A,1)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=1/((1<<i)-1),s=0;s<r;++s)mr(jr,this,Zr).call(this,e,t,A,n,o),t+=1,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}])}();function Zr(e,t,r,A,n){var i=e[t]*n,a=Math.pow(i,this.G),o=this.YW*a,s=Math.max(295.8*Math.pow(o,.3333333333333333)-40.8,0);r[A]=s,r[A+1]=s,r[A+2]=s}var _r=new WeakSet,Xr=function(e){function t(e,r,A,n){var i;if(Rr(this,t),vr(i=wr(this,t,["CalRGB",3]),_r),!e)throw new re("WhitePoint missing - required for color space CalRGB");var a=yr(i.whitePoint=e,3),o=a[0],s=a[1],c=a[2],g=yr(i.blackPoint=r||new Float32Array(3),3),u=g[0],l=g[1],h=g[2],I=yr(A||new Float32Array([1,1,1]),3);i.GR=I[0],i.GG=I[1],i.GB=I[2];var f=yr(n||new Float32Array([1,0,0,0,1,0,0,0,1]),9);if(i.MXA=f[0],i.MYA=f[1],i.MZA=f[2],i.MXB=f[3],i.MYB=f[4],i.MZB=f[5],i.MXC=f[6],i.MYC=f[7],i.MZC=f[8],o<0||c<0||1!==s)throw new re("Invalid WhitePoint components for ".concat(i.name,", no fallback available"));return(u<0||l<0||h<0)&&(T("Invalid BlackPoint for ".concat(i.name," [").concat(u,", ").concat(l,", ").concat(h,"], ")+"falling back to default."),i.blackPoint=new Float32Array(3)),(i.GR<0||i.GG<0||i.GB<0)&&(T("Invalid Gamma [".concat(i.GR,", ").concat(i.GG,", ").concat(i.GB,"] for ")+"".concat(i.name,", falling back to default.")),i.GR=i.GG=i.GB=1),i}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(_r,this,aA).call(this,e,t,r,A,1)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=1/((1<<i)-1),s=0;s<r;++s)mr(_r,this,aA).call(this,e,t,A,n,o),t+=3,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}}])}();function Vr(e,t,r){r[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],r[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],r[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}function zr(e,t,r){r[0]=1*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1*t[2]/e[2]}function $r(e,t,r){r[0]=.95047*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1.08883*t[2]/e[2]}function eA(e){return e<=.0031308?mr(_r,this,tA).call(this,0,1,12.92*e):e>=.99554525?1:mr(_r,this,tA).call(this,0,1,1.055*Math.pow(e,1/2.4)-.055)}function tA(e,t,r){return Math.max(e,Math.min(t,r))}function rA(e){return e<0?-mr(_r,this,rA).call(this,-e):e>8?Math.pow((e+16)/116,3):e*IA._}function AA(e,t,r){if(0===e[0]&&0===e[1]&&0===e[2])return r[0]=t[0],r[1]=t[1],void(r[2]=t[2]);var A=mr(_r,this,rA).call(this,0),n=(1-A)/(1-mr(_r,this,rA).call(this,e[0])),i=1-n,a=(1-A)/(1-mr(_r,this,rA).call(this,e[1])),o=1-a,s=(1-A)/(1-mr(_r,this,rA).call(this,e[2])),c=1-s;r[0]=t[0]*n+i,r[1]=t[1]*a+o,r[2]=t[2]*s+c}function nA(e,t,r){if(1===e[0]&&1===e[2])return r[0]=t[0],r[1]=t[1],void(r[2]=t[2]);var A=r;mr(_r,this,Vr).call(this,oA._,t,A);var n=uA._;mr(_r,this,zr).call(this,e,A,n),mr(_r,this,Vr).call(this,sA._,n,r)}function iA(e,t,r){var A=r;mr(_r,this,Vr).call(this,oA._,t,A);var n=uA._;mr(_r,this,$r).call(this,e,A,n),mr(_r,this,Vr).call(this,sA._,n,r)}function aA(e,t,r,A,n){var i=mr(_r,this,tA).call(this,0,1,e[t]*n),a=mr(_r,this,tA).call(this,0,1,e[t+1]*n),o=mr(_r,this,tA).call(this,0,1,e[t+2]*n),s=1===i?1:Math.pow(i,this.GR),c=1===a?1:Math.pow(a,this.GG),g=1===o?1:Math.pow(o,this.GB),u=this.MXA*s+this.MXB*c+this.MXC*g,l=this.MYA*s+this.MYB*c+this.MYC*g,h=this.MZA*s+this.MZB*c+this.MZC*g,I=lA._;I[0]=u,I[1]=l,I[2]=h;var f=hA._;mr(_r,this,nA).call(this,this.whitePoint,I,f);var C=lA._;mr(_r,this,AA).call(this,this.blackPoint,f,C);var B=hA._;mr(_r,this,iA).call(this,gA._,C,B);var Q=lA._;mr(_r,this,Vr).call(this,cA._,B,Q),r[A]=255*mr(_r,this,eA).call(this,Q[0]),r[A+1]=255*mr(_r,this,eA).call(this,Q[1]),r[A+2]=255*mr(_r,this,eA).call(this,Q[2])}var oA={_:new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296])},sA={_:new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867])},cA={_:new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252])},gA={_:new Float32Array([1,1,1])},uA={_:new Float32Array(3)},lA={_:new Float32Array(3)},hA={_:new Float32Array(3)},IA={_:Math.pow(24/116,3)/8},fA=new WeakSet,CA=function(e){function t(e,r,A){var n;if(Rr(this,t),vr(n=wr(this,t,["Lab",3]),fA),!e)throw new re("WhitePoint missing - required for color space Lab");var i=yr(e,3);n.XW=i[0],n.YW=i[1],n.ZW=i[2];var a=yr(A||[-100,100,-100,100],4);n.amin=a[0],n.amax=a[1],n.bmin=a[2],n.bmax=a[3];var o=yr(r||[0,0,0],3);if(n.XB=o[0],n.YB=o[1],n.ZB=o[2],n.XW<0||n.ZW<0||1!==n.YW)throw new re("Invalid WhitePoint components, no fallback available");return(n.XB<0||n.YB<0||n.ZB<0)&&(T("Invalid BlackPoint, falling back to default"),n.XB=n.YB=n.ZB=0),(n.amin>n.amax||n.bmin>n.bmax)&&(T("Invalid Range, falling back to defaults"),n.amin=-100,n.amax=100,n.bmin=-100,n.bmax=100),n}return Dr(t,Ur),Nr(t,[{key:"getRgbItem",value:function(e,t,r,A){mr(fA,this,EA).call(this,e,t,!1,r,A)}},{key:"getRgbBuffer",value:function(e,t,r,A,n,i,a){for(var o=(1<<i)-1,s=0;s<r;s++)mr(fA,this,EA).call(this,e,t,o,A,n),t+=3,n+=3+a}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isDefaultDecode",value:function(e,t){return!0}},{key:"usesZeroToOneRange",get:function(){return _(this,"usesZeroToOneRange",!1)}}])}();function BA(e){return e>=6/29?Math.pow(e,3):108/841*(e-4/29)}function QA(e,t,r,A){return r+e*(A-r)/t}function EA(e,t,r,A,n){var i=e[t],a=e[t+1],o=e[t+2];!1!==r&&(i=mr(fA,this,QA).call(this,i,r,0,100),a=mr(fA,this,QA).call(this,a,r,this.amin,this.amax),o=mr(fA,this,QA).call(this,o,r,this.bmin,this.bmax)),a>this.amax?a=this.amax:a<this.amin&&(a=this.amin),o>this.bmax?o=this.bmax:o<this.bmin&&(o=this.bmin);var s,c,g,u=(i+16)/116,l=u+a/500,h=u-o/200,I=this.XW*mr(fA,this,BA).call(this,l),f=this.YW*mr(fA,this,BA).call(this,u),C=this.ZW*mr(fA,this,BA).call(this,h);this.ZW<1?(s=3.1339*I+-1.617*f+-.4906*C,c=-.9785*I+1.916*f+.0333*C,g=.072*I+-.229*f+1.4057*C):(s=3.2406*I+-1.5372*f+-.4986*C,c=-.9689*I+1.8758*f+.0415*C,g=.0557*I+-.204*f+1.057*C),A[n]=255*Math.sqrt(s),A[n+1]=255*Math.sqrt(c),A[n+2]=255*Math.sqrt(g)}function dA(){dA=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function yA(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function pA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vA(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,wA(A.key),A)}}function mA(e,t,r){return t&&vA(e.prototype,t),r&&vA(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function wA(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function bA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function kA(e,t){for(var r=0,A=0;A<=t;A++)r=r<<8|e[A];return r>>>0}function DA(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode.apply(String,function(e){return function(e){if(Array.isArray(e))return bA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return bA(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bA(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.subarray(0,t+1)))}function SA(e,t,r){for(var A=0,n=r;n>=0;n--)A+=e[n]+t[n],e[n]=255&A,A>>=8}function FA(e,t){for(var r=1,A=t;A>=0&&r>0;A--)r+=e[A],e[A]=255&r,r>>=8}r(3276);var xA=16,RA=function(){return mA((function e(t){pA(this,e),this.buffer=t,this.pos=0,this.end=t.length,this.tmpBuf=new Uint8Array(19)}),[{key:"readByte",value:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]}},{key:"readNumber",value:function(){var e,t=0;do{var r=this.readByte();if(r<0)throw new re("unexpected EOF in bcmap");e=!(128&r),t=t<<7|127&r}while(!e);return t}},{key:"readSigned",value:function(){var e=this.readNumber();return 1&e?~(e>>>1):e>>>1}},{key:"readHex",value:function(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1)),this.pos+=t+1}},{key:"readHexNumber",value:function(e,t){var r,A=this.tmpBuf,n=0;do{var i=this.readByte();if(i<0)throw new re("unexpected EOF in bcmap");r=!(128&i),A[n++]=127&i}while(!r);for(var a=t,o=0,s=0;a>=0;){for(;s<8&&A.length>0;)o|=A[--n]<<s,s+=7;e[a]=255&o,a--,o>>=8,s-=8}}},{key:"readHexSigned",value:function(e,t){this.readHexNumber(e,t);for(var r=1&e[t]?255:0,A=0,n=0;n<=t;n++)A=(1&A)<<8|e[n],e[n]=A>>1^r}},{key:"readString",value:function(){for(var e=this.readNumber(),t=new Array(e),r=0;r<e;r++)t[r]=this.readNumber();return String.fromCharCode.apply(String,t)}}])}(),GA=function(){return mA((function e(){pA(this,e)}),[{key:"process",value:(e=dA().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m;return dA().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=new RA(t),i=n.readByte(),r.vertical=!!(1&i),a=null,o=new Uint8Array(xA),s=new Uint8Array(xA),c=new Uint8Array(xA),g=new Uint8Array(xA),u=new Uint8Array(xA);case 9:if(!((h=n.readByte())>=0)){e.next=68;break}if(7!=(I=h>>5)){e.next=20;break}e.t0=31&h,e.next=0===e.t0?15:1===e.t0?17:19;break;case 15:return n.readString(),e.abrupt("break",19);case 17:return a=n.readString(),e.abrupt("break",19);case 19:return e.abrupt("continue",9);case 20:if(f=!!(16&h),!(1+(C=15&h)>xA)){e.next=24;break}throw new Error("BinaryCMapReader.process: Invalid dataSize.");case 24:B=1,Q=n.readNumber(),e.t1=I,e.next=0===e.t1?29:1===e.t1?35:2===e.t1?41:3===e.t1?46:4===e.t1?53:5===e.t1?58:65;break;case 29:for(n.readHex(o,C),n.readHexNumber(s,C),SA(s,o,C),r.addCodespaceRange(C+1,kA(o,C),kA(s,C)),E=1;E<Q;E++)FA(s,C),n.readHexNumber(o,C),SA(o,s,C),n.readHexNumber(s,C),SA(s,o,C),r.addCodespaceRange(C+1,kA(o,C),kA(s,C));return e.abrupt("break",66);case 35:for(n.readHex(o,C),n.readHexNumber(s,C),SA(s,o,C),n.readNumber(),d=1;d<Q;d++)FA(s,C),n.readHexNumber(o,C),SA(o,s,C),n.readHexNumber(s,C),SA(s,o,C),n.readNumber();return e.abrupt("break",66);case 41:for(n.readHex(c,C),l=n.readNumber(),r.mapOne(kA(c,C),l),y=1;y<Q;y++)FA(c,C),f||(n.readHexNumber(u,C),SA(c,u,C)),l=n.readSigned()+(l+1),r.mapOne(kA(c,C),l);return e.abrupt("break",66);case 46:for(n.readHex(o,C),n.readHexNumber(s,C),SA(s,o,C),l=n.readNumber(),r.mapCidRange(kA(o,C),kA(s,C),l),p=1;p<Q;p++)FA(s,C),f?o.set(s):(n.readHexNumber(o,C),SA(o,s,C)),n.readHexNumber(s,C),SA(s,o,C),l=n.readNumber(),r.mapCidRange(kA(o,C),kA(s,C),l);return e.abrupt("break",66);case 53:for(n.readHex(c,B),n.readHex(g,C),r.mapOne(kA(c,B),DA(g,C)),v=1;v<Q;v++)FA(c,B),f||(n.readHexNumber(u,B),SA(c,u,B)),FA(g,C),n.readHexSigned(u,C),SA(g,u,C),r.mapOne(kA(c,B),DA(g,C));return e.abrupt("break",66);case 58:for(n.readHex(o,B),n.readHexNumber(s,B),SA(s,o,B),n.readHex(g,C),r.mapBfRange(kA(o,B),kA(s,B),DA(g,C)),m=1;m<Q;m++)FA(s,B),f?o.set(s):(n.readHexNumber(o,B),SA(o,s,B)),n.readHexNumber(s,B),SA(s,o,B),n.readHex(g,C),r.mapBfRange(kA(o,B),kA(s,B),DA(g,C));return e.abrupt("break",66);case 65:throw new Error("BinaryCMapReader.process - unknown type: ".concat(I));case 66:e.next=9;break;case 68:if(!a){e.next=70;break}return e.abrupt("return",A(a));case 70:return e.abrupt("return",r);case 71:case"end":return e.stop()}}),e)})),t=function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){yA(i,A,n,a,o,"next",e)}function o(e){yA(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e,r,A){return t.apply(this,arguments)})}]);var e,t}();function NA(e){return function(e){if(Array.isArray(e))return MA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||UA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function LA(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=UA(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function UA(e,t){if(e){if("string"==typeof e)return MA(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?MA(e,t):void 0}}function MA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function JA(){JA=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function HA(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function YA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PA(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,KA(A.key),A)}}function OA(e,t,r){return t&&PA(e.prototype,t),r&&PA(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function KA(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function TA(e,t,r){return t=jA(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qA()?Reflect.construct(t,r||[],jA(e).constructor):t.apply(e,r))}function qA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qA=function(){return!!e})()}function jA(e){return jA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jA(e)}function WA(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZA(e,t)}function ZA(e,t){return ZA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZA(e,t)}var _A=new Uint8Array(0),XA=function(e){function t(e){var r;if(YA(this,t),(r=TA(this,t))._rawMinBufferLength=e||0,r.pos=0,r.bufferLength=0,r.eof=!1,r.buffer=_A,r.minBufferLength=512,e)for(;r.minBufferLength<e;)r.minBufferLength*=2;return r}return WA(t,ze),OA(t,[{key:"isEmpty",get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}},{key:"ensureBuffer",value:function(e){var t=this.buffer;if(e<=t.byteLength)return t;for(var r=this.minBufferLength;r<e;)r*=2;var A=new Uint8Array(r);return A.set(t),this.buffer=A}},{key:"getByte",value:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}},{key:"getBytes",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,A=this.pos;if(e){for(this.ensureBuffer(A+e),t=A+e;!this.eof&&this.bufferLength<t;)this.readBlock(r);var n=this.bufferLength;t>n&&(t=n)}else{for(;!this.eof;)this.readBlock(r);t=this.bufferLength}return this.pos=t,this.buffer.subarray(A,t)}},{key:"getImageData",value:(r=JA().mark((function e(t){var r,A,n=arguments;return JA().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.length>1&&void 0!==n[1]?n[1]:null,this.canAsyncDecodeImageFromBuffer){e.next=3;break}return e.abrupt("return",this.getBytes(t,r));case 3:return e.next=5,this.stream.asyncGetBytes();case 5:return A=e.sent,e.abrupt("return",this.decodeImage(A,r));case 7:case"end":return e.stop()}}),e,this)})),A=function(){var e=this,t=arguments;return new Promise((function(A,n){var i=r.apply(e,t);function a(e){HA(i,A,n,a,o,"next",e)}function o(e){HA(i,A,n,a,o,"throw",e)}a(void 0)}))},function(e){return A.apply(this,arguments)})},{key:"reset",value:function(){this.pos=0}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(void 0===t)for(;!this.eof;)this.readBlock();else for(var A=e+t;this.bufferLength<=A&&!this.eof;)this.readBlock();return new ar(this.buffer,e,t,r)}},{key:"getBaseStreams",value:function(){return this.str?this.str.getBaseStreams():null}}]);var r,A}(),VA=function(e){function t(e){var r,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;YA(this,t);var n,i=0,a=LA(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;i+=o instanceof XA?o._rawMinBufferLength:o.length}}catch(e){a.e(e)}finally{a.f()}return(r=TA(this,t,[i])).streams=e,r._onError=A,r}return WA(t,XA),OA(t,[{key:"readBlock",value:function(){var e=this.streams;if(0!==e.length){var t,r=e.shift();try{t=r.getBytes()}catch(e){var A;if(this._onError)return void this._onError(e,null===(A=r.dict)||void 0===A?void 0:A.objId);throw e}var n=this.bufferLength,i=n+t.length;this.ensureBuffer(i).set(t,n),this.bufferLength=i}else this.eof=!0}},{key:"getBaseStreams",value:function(){var e,t=[],r=LA(this.streams);try{for(r.s();!(e=r.n()).done;){var A=e.value.getBaseStreams();A&&t.push.apply(t,NA(A))}}catch(e){r.e(e)}finally{r.f()}return t.length>0?t:null}}])}();function zA(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,$A(A.key),A)}}function $A(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function en(e,t,r){return t=rn(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tn()?Reflect.construct(t,r||[],rn(e).constructor):t.apply(e,r))}function tn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tn=function(){return!!e})()}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rn(e)}function An(e,t){return An=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},An(e,t)}var nn=function(e){function t(e,r){var A;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r&&(r*=.8),(A=en(this,t,[r])).str=e,A.dict=e.dict,A.input=new Uint8Array(5),A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&An(e,t)}(t,XA),r=t,A=[{key:"readBlock",value:function(){for(var e=this.str,t=e.getByte();Dt(t);)t=e.getByte();if(-1!==t&&126!==t){var r,A,n=this.bufferLength;if(122===t){for(r=this.ensureBuffer(n+4),A=0;A<4;++A)r[n+A]=0;this.bufferLength+=4}else{var i=this.input;for(i[0]=t,A=1;A<5;++A){for(t=e.getByte();Dt(t);)t=e.getByte();if(i[A]=t,-1===t||126===t)break}if(r=this.ensureBuffer(n+A-1),this.bufferLength+=A-1,A<5){for(;A<5;++A)i[A]=117;this.eof=!0}var a=0;for(A=0;A<5;++A)a=85*a+(i[A]-33);for(A=3;A>=0;--A)r[n+A]=255&a,a>>=8}}else this.eof=!0}}],A&&zA(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function on(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,sn(A.key),A)}}function sn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function cn(e,t,r){return t=un(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gn()?Reflect.construct(t,r||[],un(e).constructor):t.apply(e,r))}function gn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gn=function(){return!!e})()}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},un(e)}function ln(e,t){return ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ln(e,t)}var hn=function(e){function t(e,r){var A;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r&&(r*=.5),(A=cn(this,t,[r])).str=e,A.dict=e.dict,A.firstDigit=-1,A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ln(e,t)}(t,XA),r=t,(A=[{key:"readBlock",value:function(){var e=this.str.getBytes(8e3);if(e.length){var t,r=e.length+1>>1,A=this.ensureBuffer(this.bufferLength+r),n=this.bufferLength,i=this.firstDigit,a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return an(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?an(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(a.s();!(t=a.n()).done;){var o=t.value,s=void 0;if(o>=48&&o<=57)s=15&o;else{if(!(o>=65&&o<=70||o>=97&&o<=102)){if(62===o){this.eof=!0;break}continue}s=9+(15&o)}i<0?i=s:(A[n++]=i<<4|s,i=-1)}}catch(e){a.e(e)}finally{a.f()}i>=0&&this.eof&&(A[n++]=i<<4,i=-1),this.firstDigit=i,this.bufferLength=n}else this.eof=!0}}])&&on(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function In(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,fn(A.key),A)}}function fn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Cn=-1,Bn=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],Qn=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],En=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],dn=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],yn=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],pn=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]],vn=function(){return e=function e(t){var r,A,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t||"function"!=typeof t.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');for(this.source=t,this.eof=!1,this.encoding=n.K||0,this.eoline=n.EndOfLine||!1,this.byteAlign=n.EncodedByteAlign||!1,this.columns=n.Columns||1728,this.rows=n.Rows||0,this.eoblock=null===(r=n.EndOfBlock)||void 0===r||r,this.black=n.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;0===(A=this._lookBits(12));)this._eatBits(1);1===A&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))},(t=[{key:"readNextChar",value:function(){if(this.eof)return-1;var e,t,r,A,n,i=this.refLine,a=this.codingLine,o=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var s,c,g;if(this.err=!1,this.nextLine2D){for(A=0;a[A]<o;++A)i[A]=a[A];for(i[A++]=o,i[A]=o,a[0]=0,this.codingPos=0,e=0,t=0;a[this.codingPos]<o;)switch(s=this._getTwoDimCode()){case 0:this._addPixels(i[e+1],t),i[e+1]<o&&(e+=2);break;case 1:if(s=c=0,t){do{s+=g=this._getBlackCode()}while(g>=64);do{c+=g=this._getWhiteCode()}while(g>=64)}else{do{s+=g=this._getWhiteCode()}while(g>=64);do{c+=g=this._getBlackCode()}while(g>=64)}for(this._addPixels(a[this.codingPos]+s,t),a[this.codingPos]<o&&this._addPixels(a[this.codingPos]+c,1^t);i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 7:if(this._addPixels(i[e]+3,t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 5:if(this._addPixels(i[e]+2,t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 3:if(this._addPixels(i[e]+1,t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 2:if(this._addPixels(i[e],t),t^=1,a[this.codingPos]<o)for(++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 8:if(this._addPixelsNeg(i[e]-3,t),t^=1,a[this.codingPos]<o)for(e>0?--e:++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 6:if(this._addPixelsNeg(i[e]-2,t),t^=1,a[this.codingPos]<o)for(e>0?--e:++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case 4:if(this._addPixelsNeg(i[e]-1,t),t^=1,a[this.codingPos]<o)for(e>0?--e:++e;i[e]<=a[this.codingPos]&&i[e]<o;)e+=2;break;case Cn:this._addPixels(o,0),this.eof=!0;break;default:T("bad 2d code"),this._addPixels(o,0),this.err=!0}}else for(a[0]=0,this.codingPos=0,t=0;a[this.codingPos]<o;){if(s=0,t)do{s+=g=this._getBlackCode()}while(g>=64);else do{s+=g=this._getWhiteCode()}while(g>=64);this._addPixels(a[this.codingPos]+s,t),t^=1}var u=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(s=this._lookBits(12),this.eoline)for(;s!==Cn&&1!==s;)this._eatBits(1),s=this._lookBits(12);else for(;0===s;)this._eatBits(1),s=this._lookBits(12);1===s?(this._eatBits(12),u=!0):s===Cn&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&u&&this.byteAlign){if(1===(s=this._lookBits(12))){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(A=0;A<4;++A)1!==(s=this._lookBits(12))&&T("bad rtc code: "+s),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if((s=this._lookBits(13))===Cn)return this.eof=!0,-1;if(s>>1==1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&s))}this.outputBits=a[0]>0?a[this.codingPos=0]:a[this.codingPos=1],this.row++}if(this.outputBits>=8)n=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&a[this.codingPos]<o&&(this.codingPos++,this.outputBits=a[this.codingPos]-a[this.codingPos-1]);else{r=8,n=0;do{if("number"!=typeof this.outputBits)throw new re('Invalid /CCITTFaxDecode data, "outputBits" must be a number.');this.outputBits>r?(n<<=r,1&this.codingPos||(n|=255>>8-r),this.outputBits-=r,r=0):(n<<=this.outputBits,1&this.codingPos||(n|=255>>8-this.outputBits),r-=this.outputBits,this.outputBits=0,a[this.codingPos]<o?(this.codingPos++,this.outputBits=a[this.codingPos]-a[this.codingPos-1]):r>0&&(n<<=r,r=0))}while(r)}return this.black&&(n^=255),n}},{key:"_addPixels",value:function(e,t){var r=this.codingLine,A=this.codingPos;e>r[A]&&(e>this.columns&&(T("row is wrong length"),this.err=!0,e=this.columns),1&A^t&&++A,r[A]=e),this.codingPos=A}},{key:"_addPixelsNeg",value:function(e,t){var r=this.codingLine,A=this.codingPos;if(e>r[A])e>this.columns&&(T("row is wrong length"),this.err=!0,e=this.columns),1&A^t&&++A,r[A]=e;else if(e<r[A]){for(e<0&&(T("invalid code"),this.err=!0,e=0);A>0&&e<r[A-1];)--A;r[A]=e}this.codingPos=A}},{key:"_findTableCode",value:function(e,t,r,A){for(var n=A||0,i=e;i<=t;++i){var a=this._lookBits(i);if(a===Cn)return[!0,1,!1];if(i<t&&(a<<=t-i),!n||a>=n){var o=r[a-n];if(o[0]===i)return this._eatBits(i),[!0,o[1],!0]}}return[!1,0,!1]}},{key:"_getTwoDimCode",value:function(){var e,t=0;if(this.eoblock){var r;if(t=this._lookBits(7),(null===(r=e=Bn[t])||void 0===r?void 0:r[0])>0)return this._eatBits(e[0]),e[1]}else{var A=this._findTableCode(1,7,Bn);if(A[0]&&A[2])return A[1]}return T("Bad two dim code"),Cn}},{key:"_getWhiteCode",value:function(){var e,t=0;if(this.eoblock){if((t=this._lookBits(12))===Cn)return 1;if((e=t>>5==0?Qn[t]:En[t>>3])[0]>0)return this._eatBits(e[0]),e[1]}else{var r=this._findTableCode(1,9,En);if(r[0])return r[1];if((r=this._findTableCode(11,12,Qn))[0])return r[1]}return T("bad white code"),this._eatBits(1),1}},{key:"_getBlackCode",value:function(){var e,t;if(this.eoblock){if((e=this._lookBits(13))===Cn)return 1;if((t=e>>7==0?dn[e]:e>>9==0&&e>>7!=0?yn[(e>>1)-64]:pn[e>>7])[0]>0)return this._eatBits(t[0]),t[1]}else{var r=this._findTableCode(2,6,pn);if(r[0])return r[1];if((r=this._findTableCode(7,12,yn,64))[0])return r[1];if((r=this._findTableCode(10,13,dn))[0])return r[1]}return T("bad black code"),this._eatBits(1),1}},{key:"_lookBits",value:function(e){for(var t;this.inputBits<e;){if(-1===(t=this.source.next()))return 0===this.inputBits?Cn:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|t,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}},{key:"_eatBits",value:function(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}])&&In(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function mn(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,wn(A.key),A)}}function wn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function bn(e,t,r){return t=Dn(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,kn()?Reflect.construct(t,r||[],Dn(e).constructor):t.apply(e,r))}function kn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(kn=function(){return!!e})()}function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dn(e)}function Sn(e,t){return Sn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sn(e,t)}var Fn=function(e){function t(e,r,A){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=bn(this,t,[r])).str=e,n.dict=e.dict,A instanceof He||(A=He.empty);var i={next:()=>e.getByte()};return n.ccittFaxDecoder=new vn(i,{K:A.get("K"),EndOfLine:A.get("EndOfLine"),EncodedByteAlign:A.get("EncodedByteAlign"),Columns:A.get("Columns"),Rows:A.get("Rows"),EndOfBlock:A.get("EndOfBlock"),BlackIs1:A.get("BlackIs1")}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sn(e,t)}(t,XA),r=t,(A=[{key:"readBlock",value:function(){for(;!this.eof;){var e=this.ccittFaxDecoder.readNextChar();if(-1===e)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}])&&mn(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function xn(){xn=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Rn(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Gn(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Rn(i,A,n,a,o,"next",e)}function o(e){Rn(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Nn(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ln(A.key),A)}}function Ln(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Un(e,t,r){return t=Jn(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Mn()?Reflect.construct(t,r||[],Jn(e).constructor):t.apply(e,r))}function Mn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Mn=function(){return!!e})()}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jn(e)}function Hn(e,t){return Hn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hn(e,t)}function Yn(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function Pn(e){var t,r,A,n=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,A=Symbol.iterator);n--;){if(r&&null!=(t=e[r]))return t.call(e);if(A&&null!=(t=e[A]))return new On(t.call(e));r="@@asyncIterator",A="@@iterator"}throw new TypeError("Object is not async iterable")}function On(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return On=function(e){this.s=e,this.n=e.next},On.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new On(e)}r(1237);var Kn=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Tn=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),qn=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),jn=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],Wn=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],Zn=new WeakSet,_n=function(e){function t(e,r){var A;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(A=Un(this,t,[r]),Zn),A.str=e,A.dict=e.dict;var n=e.getByte(),i=e.getByte();if(-1===n||-1===i)throw new re("Invalid header in flate stream: ".concat(n,", ").concat(i));if(8!=(15&n))throw new re("Unknown compression method in flate stream: ".concat(n,", ").concat(i));if(((n<<8)+i)%31!=0)throw new re("Bad FCHECK in flate stream: ".concat(n,", ").concat(i));if(32&i)throw new re("FDICT bit set in flate stream: ".concat(n,", ").concat(i));return A.codeSize=0,A.codeBuf=0,A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hn(e,t)}(t,XA),r=t,A=[{key:"getImageData",value:(i=Gn(xn().mark((function e(t,r){var A;return xn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.asyncGetBytes();case 2:return A=e.sent,e.abrupt("return",(null==A?void 0:A.subarray(0,t))||this.getBytes(t));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"asyncGetBytes",value:(n=Gn(xn().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q;return xn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.str.reset(),t=this.str.getBytes(),e.prev=2,r=new DecompressionStream("deflate"),A=r.readable,n=r.writable,i=n.getWriter(),e.next=7,i.ready;case 7:i.write(t).then(Gn(xn().mark((function e(){return xn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.ready;case 2:return e.next=4,i.close();case 4:case"end":return e.stop()}}),e)})))).catch((function(){})),a=[],o=0,s=!1,c=!1,e.prev=12,u=Pn(A);case 14:return e.next=16,u.next();case 16:if(!(s=!(l=e.sent).done)){e.next=23;break}h=l.value,a.push(h),o+=h.byteLength;case 20:s=!1,e.next=14;break;case 23:e.next=29;break;case 25:e.prev=25,e.t0=e.catch(12),c=!0,g=e.t0;case 29:if(e.prev=29,e.prev=30,!s||null==u.return){e.next=34;break}return e.next=34,u.return();case 34:if(e.prev=34,!c){e.next=37;break}throw g;case 37:return e.finish(34);case 38:return e.finish(29);case 39:for(I=new Uint8Array(o),f=0,C=0,B=a;C<B.length;C++)Q=B[C],I.set(Q,f),f+=Q.byteLength;return e.abrupt("return",I);case 45:return e.prev=45,e.t1=e.catch(2),this.str=new ar(t,2,t.length,this.str.dict),this.reset(),e.abrupt("return",null);case 50:case"end":return e.stop()}}),e,this,[[2,45],[12,25,29,39],[30,,34,38]])}))),function(){return n.apply(this,arguments)})},{key:"isAsync",get:function(){return!0}},{key:"getBits",value:function(e){for(var t,r=this.str,A=this.codeSize,n=this.codeBuf;A<e;){if(-1===(t=r.getByte()))throw new re("Bad encoding in flate stream");n|=t<<A,A+=8}return t=n&(1<<e)-1,this.codeBuf=n>>e,this.codeSize=A-=e,t}},{key:"getCode",value:function(e){for(var t,r=this.str,A=e[0],n=e[1],i=this.codeSize,a=this.codeBuf;i<n&&-1!==(t=r.getByte());)a|=t<<i,i+=8;var o=A[a&(1<<n)-1],s=o>>16,c=65535&o;if(s<1||i<s)throw new re("Bad encoding in flate stream");return this.codeBuf=a>>s,this.codeSize=i-s,c}},{key:"generateHuffmanTable",value:function(e){var t,r=e.length,A=0;for(t=0;t<r;++t)e[t]>A&&(A=e[t]);for(var n=1<<A,i=new Int32Array(n),a=1,o=0,s=2;a<=A;++a,o<<=1,s<<=1)for(var c=0;c<r;++c)if(e[c]===a){var g=0,u=o;for(t=0;t<a;++t)g=g<<1|1&u,u>>=1;for(t=g;t<n;t+=s)i[t]=a<<16|c;++o}return[i,A]}},{key:"readBlock",value:function(){var e,t,r,A=this.str;try{t=this.getBits(3)}catch(e){return void Yn(Zn,this,Xn).call(this,e.message)}if(1&t&&(this.eof=!0),0!=(t>>=1)){var n,i;if(1===t)n=jn,i=Wn;else{if(2!==t)throw new re("Unknown block type in flate stream");var a,o=this.getBits(5)+257,s=this.getBits(5)+1,c=this.getBits(4)+4,g=new Uint8Array(Kn.length);for(a=0;a<c;++a)g[Kn[a]]=this.getBits(3);var u=this.generateHuffmanTable(g);r=0,a=0;for(var l,h,I,f=o+s,C=new Uint8Array(f);a<f;){var B=this.getCode(u);if(16===B)l=2,h=3,I=r;else if(17===B)l=3,h=3,I=r=0;else{if(18!==B){C[a++]=r=B;continue}l=7,h=11,I=r=0}for(var Q=this.getBits(l)+h;Q-- >0;)C[a++]=I}n=this.generateHuffmanTable(C.subarray(0,o)),i=this.generateHuffmanTable(C.subarray(o,f))}for(var E=(e=this.buffer)?e.length:0,d=this.bufferLength;;){var y=this.getCode(n);if(y<256)d+1>=E&&(E=(e=this.ensureBuffer(d+1)).length),e[d++]=y;else{if(256===y)return void(this.bufferLength=d);var p=(y=Tn[y-=257])>>16;p>0&&(p=this.getBits(p)),r=(65535&y)+p,y=this.getCode(i),(p=(y=qn[y])>>16)>0&&(p=this.getBits(p));var v=(65535&y)+p;d+r>=E&&(E=(e=this.ensureBuffer(d+r)).length);for(var m=0;m<r;++m,++d)e[d]=e[d-v]}}}else{var w;if(-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");var b=w;if(-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");if(b|=w<<8,-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");var k=w;if(-1===(w=A.getByte()))return void Yn(Zn,this,Xn).call(this,"Bad block header in flate stream");if((k|=w<<8)!=(65535&~b)&&(0!==b||0!==k))throw new re("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var D=this.bufferLength,S=D+b;if(e=this.ensureBuffer(S),this.bufferLength=S,0===b)-1===A.peekByte()&&(this.eof=!0);else{var F=A.getBytes(b);e.set(F,D),F.length<b&&(this.eof=!0)}}}}],A&&Nn(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A,n,i}();function Xn(e){T(e),this.eof=!0}function Vn(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,zn(A.key),A)}}function zn(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(4834);var $n=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}],ei=function(){return e=function e(t,r,A){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.bp=r,this.dataEnd=A,this.chigh=t[r],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768},(t=[{key:"byteIn",value:function(){var e=this.data,t=this.bp;255===e[t]?e[t+1]>143?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(e,t){var r,A=e[t]>>1,n=1&e[t],i=$n[A],a=i.qe,o=this.a-a;if(this.chigh<a)o<a?(o=a,r=n,A=i.nmps):(o=a,r=1^n,1===i.switchFlag&&(n=r),A=i.nlps);else{if(this.chigh-=a,0!=(32768&o))return this.a=o,n;o<a?(r=1^n,1===i.switchFlag&&(n=r),A=i.nlps):(r=n,A=i.nmps)}do{0===this.ct&&this.byteIn(),o<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0==(32768&o));return this.a=o,e[t]=A<<1|n,r}}])&&Vn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function ti(e){return function(e){if(Array.isArray(e))return ni(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ai(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ri(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ai(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Ai(e,t){if(e){if("string"==typeof e)return ni(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ni(e,t):void 0}}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function ii(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,oi(A.key),A)}}function ai(e,t,r){return t&&ii(e.prototype,t),r&&ii(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function oi(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function si(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ci(e,t,r){return t=ui(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gi()?Reflect.construct(t,r||[],ui(e).constructor):t.apply(e,r))}function gi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gi=function(){return!!e})()}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ui(e)}function li(e,t){return li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},li(e,t)}var hi=function(e){function t(e){return si(this,t),ci(this,t,[e,"Jbig2Error"])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&li(e,t)}(t,X),ai(t)}(),Ii=function(){return ai((function e(){si(this,e)}),[{key:"getContexts",value:function(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}])}(),fi=function(){return ai((function e(t,r,A){si(this,e),this.data=t,this.start=r,this.end=A}),[{key:"decoder",get:function(){return _(this,"decoder",new ei(this.data,this.start,this.end))}},{key:"contextCache",get:function(){return _(this,"contextCache",new Ii)}}])}(),Ci=Math.pow(2,31)-1,Bi=-Math.pow(2,31);function Qi(e,t,r){var A=e.getContexts(t),n=1;function i(e){for(var t=0,i=0;i<e;i++){var a=r.readBit(A,n);n=n<256?n<<1|a:511&(n<<1|a)|256,t=t<<1|a}return t>>>0}var a,o=i(1),s=i(1)?i(1)?i(1)?i(1)?i(1)?i(32)+4436:i(12)+340:i(8)+84:i(6)+20:i(4)+4:i(2);return 0===o?a=s:s>0&&(a=-s),a>=Bi&&a<=Ci?a:null}function Ei(e,t,r){for(var A=e.getContexts("IAID"),n=1,i=0;i<r;i++)n=n<<1|t.readBit(A,n);return r<31?n&(1<<r)-1:2147483647&n}var di=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],yi=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],pi=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],vi=[39717,1941,229,405],mi=[32,8];function wi(e,t,r,A,n,i,a,o){if(e)return Ki(new Yi(o.data,o.start,o.end),t,r,!1);if(0===A&&!i&&!n&&4===a.length&&3===a[0].x&&-1===a[0].y&&-3===a[1].x&&-1===a[1].y&&2===a[2].x&&-2===a[2].y&&-2===a[3].x&&-2===a[3].y)return function(e,t,r){var A,n,i,a,o,s,c,g=r.decoder,u=r.contextCache.getContexts("GB"),l=[];for(n=0;n<t;n++)for(o=l[n]=new Uint8Array(e),s=n<1?o:l[n-1],A=(c=n<2?o:l[n-2])[0]<<13|c[1]<<12|c[2]<<11|s[0]<<7|s[1]<<6|s[2]<<5|s[3]<<4,i=0;i<e;i++)o[i]=a=g.readBit(u,A),A=(31735&A)<<1|(i+3<e?c[i+3]<<11:0)|(i+4<e?s[i+4]<<4:0)|a;return l}(t,r,o);var s=!!i,c=yi[A].concat(a);c.sort((function(e,t){return e.y-t.y||e.x-t.x}));var g,u,l=c.length,h=new Int8Array(l),I=new Int8Array(l),f=[],C=0,B=0,Q=0,E=0;for(u=0;u<l;u++)h[u]=c[u].x,I[u]=c[u].y,B=Math.min(B,c[u].x),Q=Math.max(Q,c[u].x),E=Math.min(E,c[u].y),u<l-1&&c[u].y===c[u+1].y&&c[u].x===c[u+1].x-1?C|=1<<l-1-u:f.push(u);var d=f.length,y=new Int8Array(d),p=new Int8Array(d),v=new Uint16Array(d);for(g=0;g<d;g++)u=f[g],y[g]=c[u].x,p[g]=c[u].y,v[g]=1<<l-1-u;for(var m,w,b,k,D,S=-B,F=-E,x=t-Q,R=vi[A],G=new Uint8Array(t),N=[],L=o.decoder,U=o.contextCache.getContexts("GB"),M=0,J=0,H=0;H<r;H++)if(n&&(M^=L.readBit(U,R)))N.push(G);else for(G=new Uint8Array(G),N.push(G),m=0;m<t;m++)if(s&&i[H][m])G[m]=0;else{if(m>=S&&m<x&&H>=F)for(J=J<<1&C,u=0;u<d;u++)w=H+p[u],b=m+y[u],(k=N[w][b])&&(J|=k=v[u]);else for(J=0,D=l-1,u=0;u<l;u++,D--)(b=m+h[u])>=0&&b<t&&(w=H+I[u])>=0&&(k=N[w][b])&&(J|=k<<D);var Y=L.readBit(U,J);G[m]=Y}return N}function bi(e,t,r,A,n,i,a,o,s){var c=pi[r].coding;0===r&&(c=c.concat([o[0]]));var g,u=c.length,l=new Int32Array(u),h=new Int32Array(u);for(g=0;g<u;g++)l[g]=c[g].x,h[g]=c[g].y;var I=pi[r].reference;0===r&&(I=I.concat([o[1]]));var f=I.length,C=new Int32Array(f),B=new Int32Array(f);for(g=0;g<f;g++)C[g]=I[g].x,B[g]=I[g].y;for(var Q=A[0].length,E=A.length,d=mi[r],y=[],p=s.decoder,v=s.contextCache.getContexts("GR"),m=0,w=0;w<t;w++){if(a&&(m^=p.readBit(v,d)))throw new hi("prediction is not supported");var b=new Uint8Array(e);y.push(b);for(var k=0;k<e;k++){var D=void 0,S=void 0,F=0;for(g=0;g<u;g++)D=w+h[g],S=k+l[g],D<0||S<0||S>=e?F<<=1:F=F<<1|y[D][S];for(g=0;g<f;g++)D=w+B[g]-i,S=k+C[g]-n,D<0||D>=E||S<0||S>=Q?F<<=1:F=F<<1|A[D][S];var x=p.readBit(v,F);b[k]=x}}return y}function ki(e,t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q){if(e&&t)throw new hi("refinement with Huffman is not supported");var E,d,y=[];for(E=0;E<A;E++){if(d=new Uint8Array(r),n)for(var p=0;p<r;p++)d[p]=n;y.push(d)}var v=C.decoder,m=C.contextCache,w=e?-h.tableDeltaT.decode(Q):-Qi(m,"IADT",v),b=0;for(E=0;E<i;){w+=e?h.tableDeltaT.decode(Q):Qi(m,"IADT",v);for(var k=b+=e?h.tableFirstS.decode(Q):Qi(m,"IAFS",v);;){var D=0;a>1&&(D=e?Q.readBits(B):Qi(m,"IAIT",v));var S=a*w+D,F=e?h.symbolIDTable.decode(Q):Ei(m,v,s),x=t&&(e?Q.readBit():Qi(m,"IARI",v)),R=o[F],G=R[0].length,N=R.length;if(x){var L=Qi(m,"IARDW",v),U=Qi(m,"IARDH",v);R=bi(G+=L,N+=U,I,R,(L>>1)+Qi(m,"IARDX",v),(U>>1)+Qi(m,"IARDY",v),!1,f,C)}var M=0;c?1&u?M=N-1:k+=N-1:u>1?k+=G-1:M=G-1;var J=S-(1&u?0:N-1),H=k-(2&u?G-1:0),Y=void 0,P=void 0,O=void 0;if(c){for(Y=0;Y<N;Y++)if(d=y[H+Y]){O=R[Y];var K=Math.min(r-J,G);switch(l){case 0:for(P=0;P<K;P++)d[J+P]|=O[P];break;case 2:for(P=0;P<K;P++)d[J+P]^=O[P];break;default:throw new hi("operator ".concat(l," is not supported"))}}}else for(P=0;P<N;P++)if(d=y[J+P])switch(O=R[P],l){case 0:for(Y=0;Y<G;Y++)d[H+Y]|=O[Y];break;case 2:for(Y=0;Y<G;Y++)d[H+Y]^=O[Y];break;default:throw new hi("operator ".concat(l," is not supported"))}E++;var T=e?h.tableDeltaS.decode(Q):Qi(m,"IADS",v);if(null===T)break;k+=M+T+g}}return y}function Di(e,t){var r={};r.number=kt(e,t);var A=e[t+4],n=63&A;if(!di[n])throw new hi("invalid segment type: "+n);r.type=n,r.typeName=di[n],r.deferredNonRetain=!!(128&A);var i=!!(64&A),a=e[t+5],o=a>>5&7,s=[31&a],c=t+6;if(7===a){o=536870911&kt(e,c-1),c+=3;var g=o+7>>3;for(s[0]=e[c++];--g>0;)s.push(e[c++])}else if(5===a||6===a)throw new hi("invalid referred-to flags");r.retainBits=s;var u=4;r.number<=256?u=1:r.number<=65536&&(u=2);var l,h,I=[];for(l=0;l<o;l++){var f;f=1===u?e[c]:2===u?bt(e,c):kt(e,c),I.push(f),c+=u}if(r.referredTo=I,i?(r.pageAssociation=kt(e,c),c+=4):r.pageAssociation=e[c++],r.length=kt(e,c),c+=4,4294967295===r.length){if(38!==n)throw new hi("invalid unknown segment length");var C=Fi(e,c),B=!!(1&e[c+xi]),Q=new Uint8Array(6);for(B||(Q[0]=255,Q[1]=172),Q[2]=C.height>>>24&255,Q[3]=C.height>>16&255,Q[4]=C.height>>8&255,Q[5]=255&C.height,l=c,h=e.length;l<h;l++){for(var E=0;E<6&&Q[E]===e[l+E];)E++;if(6===E){r.length=l+6;break}}if(4294967295===r.length)throw new hi("segment end was not found")}return r.headerEnd=c,r}function Si(e,t,r,A){for(var n=[],i=r;i<A;){var a=Di(t,i);i=a.headerEnd;var o={header:a,data:t};if(e.randomAccess||(o.start=i,i+=a.length,o.end=i),n.push(o),51===a.type)break}if(e.randomAccess)for(var s=0,c=n.length;s<c;s++)n[s].start=i,i+=n[s].header.length,n[s].end=i;return n}function Fi(e,t){return{width:kt(e,t),height:kt(e,t+4),x:kt(e,t+8),y:kt(e,t+12),combinationOperator:7&e[t+16]}}var xi=17;function Ri(e,t){var r,A,n,i,a=e.header,o=e.data,s=e.end,c=e.start;switch(a.type){case 0:var g={},u=bt(o,c);if(g.huffman=!!(1&u),g.refinement=!!(2&u),g.huffmanDHSelector=u>>2&3,g.huffmanDWSelector=u>>4&3,g.bitmapSizeSelector=u>>6&1,g.aggregationInstancesSelector=u>>7&1,g.bitmapCodingContextUsed=!!(256&u),g.bitmapCodingContextRetained=!!(512&u),g.template=u>>10&3,g.refinementTemplate=u>>12&1,c+=2,!g.huffman){for(i=0===g.template?4:1,A=[],n=0;n<i;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;g.at=A}if(g.refinement&&!g.refinementTemplate){for(A=[],n=0;n<2;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;g.refinementAt=A}g.numberOfExportedSymbols=kt(o,c),c+=4,g.numberOfNewSymbols=kt(o,c),c+=4,r=[g,a.number,a.referredTo,o,c,s];break;case 6:case 7:var l={};l.info=Fi(o,c);var h=bt(o,c+=xi);if(c+=2,l.huffman=!!(1&h),l.refinement=!!(2&h),l.logStripSize=h>>2&3,l.stripSize=1<<l.logStripSize,l.referenceCorner=h>>4&3,l.transposed=!!(64&h),l.combinationOperator=h>>7&3,l.defaultPixelValue=h>>9&1,l.dsOffset=h<<17>>27,l.refinementTemplate=h>>15&1,l.huffman){var I=bt(o,c);c+=2,l.huffmanFS=3&I,l.huffmanDS=I>>2&3,l.huffmanDT=I>>4&3,l.huffmanRefinementDW=I>>6&3,l.huffmanRefinementDH=I>>8&3,l.huffmanRefinementDX=I>>10&3,l.huffmanRefinementDY=I>>12&3,l.huffmanRefinementSizeSelector=!!(16384&I)}if(l.refinement&&!l.refinementTemplate){for(A=[],n=0;n<2;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;l.refinementAt=A}l.numberOfSymbolInstances=kt(o,c),c+=4,r=[l,a.referredTo,o,c,s];break;case 16:var f={},C=o[c++];f.mmr=!!(1&C),f.template=C>>1&3,f.patternWidth=o[c++],f.patternHeight=o[c++],f.maxPatternIndex=kt(o,c),c+=4,r=[f,a.number,o,c,s];break;case 22:case 23:var B={};B.info=Fi(o,c),c+=xi;var Q=o[c++];B.mmr=!!(1&Q),B.template=Q>>1&3,B.enableSkip=!!(8&Q),B.combinationOperator=Q>>4&7,B.defaultPixelValue=Q>>7&1,B.gridWidth=kt(o,c),c+=4,B.gridHeight=kt(o,c),c+=4,B.gridOffsetX=4294967295&kt(o,c),c+=4,B.gridOffsetY=4294967295&kt(o,c),c+=4,B.gridVectorX=bt(o,c),c+=2,B.gridVectorY=bt(o,c),c+=2,r=[B,a.referredTo,o,c,s];break;case 38:case 39:var E={};E.info=Fi(o,c),c+=xi;var d=o[c++];if(E.mmr=!!(1&d),E.template=d>>1&3,E.prediction=!!(8&d),!E.mmr){for(i=0===E.template?4:1,A=[],n=0;n<i;n++)A.push({x:wt(o,c),y:wt(o,c+1)}),c+=2;E.at=A}r=[E,o,c,s];break;case 48:var y={width:kt(o,c),height:kt(o,c+4),resolutionX:kt(o,c+8),resolutionY:kt(o,c+12)};4294967295===y.height&&delete y.height;var p=o[c+16];bt(o,c+17),y.lossless=!!(1&p),y.refinement=!!(2&p),y.defaultPixelValue=p>>2&1,y.combinationOperator=p>>3&3,y.requiresBuffer=!!(32&p),y.combinationOperatorOverride=!!(64&p),r=[y];break;case 49:case 50:case 51:case 62:break;case 53:r=[a.number,o,c,s];break;default:throw new hi("segment type ".concat(a.typeName,"(").concat(a.type,") is not implemented"))}var v="on"+a.typeName;v in t&&t[v].apply(t,r)}function Gi(e,t){for(var r=0,A=e.length;r<A;r++)Ri(e[r],t)}var Ni=function(){return ai((function e(){si(this,e)}),[{key:"onPageInformation",value:function(e){this.currentPageInfo=e;var t=e.width+7>>3,r=new Uint8ClampedArray(t*e.height);e.defaultPixelValue&&r.fill(255),this.buffer=r}},{key:"drawBitmap",value:function(e,t){var r,A,n,i,a=this.currentPageInfo,o=e.width,s=e.height,c=a.width+7>>3,g=a.combinationOperatorOverride?e.combinationOperator:a.combinationOperator,u=this.buffer,l=128>>(7&e.x),h=e.y*c+(e.x>>3);switch(g){case 0:for(r=0;r<s;r++){for(n=l,i=h,A=0;A<o;A++)t[r][A]&&(u[i]|=n),(n>>=1)||(n=128,i++);h+=c}break;case 2:for(r=0;r<s;r++){for(n=l,i=h,A=0;A<o;A++)t[r][A]&&(u[i]^=n),(n>>=1)||(n=128,i++);h+=c}break;default:throw new hi("operator ".concat(g," is not supported"))}}},{key:"onImmediateGenericRegion",value:function(e,t,r,A){var n=e.info,i=new fi(t,r,A),a=wi(e.mmr,n.width,n.height,e.template,e.prediction,null,e.at,i);this.drawBitmap(n,a)}},{key:"onImmediateLosslessGenericRegion",value:function(){this.onImmediateGenericRegion.apply(this,arguments)}},{key:"onSymbolDictionary",value:function(e,t,r,A,n,i){var a,o;e.huffman&&(a=function(e,t,r){var A,n,i,a=0;switch(e.huffmanDHSelector){case 0:case 1:A=Hi(e.huffmanDHSelector+4);break;case 3:A=Pi(a,t,r),a++;break;default:throw new hi("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:n=Hi(e.huffmanDWSelector+2);break;case 3:n=Pi(a,t,r),a++;break;default:throw new hi("invalid Huffman DW selector")}return e.bitmapSizeSelector?(i=Pi(a,t,r),a++):i=Hi(1),{tableDeltaHeight:A,tableDeltaWidth:n,tableBitmapSize:i,tableAggregateInstances:e.aggregationInstancesSelector?Pi(a,t,r):Hi(1)}}(e,r,this.customTables),o=new Yi(A,n,i));var s=this.symbols;s||(this.symbols=s={});var c,g=[],u=ri(r);try{for(u.s();!(c=u.n()).done;){var l=s[c.value];l&&g.push.apply(g,ti(l))}}catch(e){u.e(e)}finally{u.f()}var h=new fi(A,n,i);s[t]=function(e,t,r,A,n,i,a,o,s,c,g,u){if(e&&t)throw new hi("symbol refinement with Huffman is not supported");var l,h,I=[],f=0,C=mt(r.length+A),B=g.decoder,Q=g.contextCache;for(e&&(l=Hi(1),h=[],C=Math.max(C,1));I.length<A;){f+=e?i.tableDeltaHeight.decode(u):Qi(Q,"IADH",B);for(var E=0,d=0,y=e?h.length:0;;){var p=e?i.tableDeltaWidth.decode(u):Qi(Q,"IADW",B);if(null===p)break;d+=E+=p;var v=void 0;if(t){var m=Qi(Q,"IAAI",B);if(m>1)v=ki(e,t,E,f,0,m,1,r.concat(I),C,0,0,1,0,i,s,c,g,0,u);else{var w=Ei(Q,B,C),b=Qi(Q,"IARDX",B),k=Qi(Q,"IARDY",B);v=bi(E,f,s,w<r.length?r[w]:I[w-r.length],b,k,!1,c,g)}I.push(v)}else e?h.push(E):(v=wi(!1,E,f,a,!1,null,o,g),I.push(v))}if(e&&!t){var D=i.tableBitmapSize.decode(u);u.byteAlign();var S=void 0;if(0===D)S=Oi(u,d,f);else{var F=u.end,x=u.position+D;u.end=x,S=Ki(u,d,f,!1),u.end=F,u.position=x}var R=h.length;if(y===R-1)I.push(S);else{var G=void 0,N=void 0,L=0,U=void 0,M=void 0;for(G=y;G<R;G++){for(U=L+h[G],M=[],N=0;N<f;N++)M.push(S[N].subarray(L,U));I.push(M),L=U}}}}for(var J,H,Y=[],P=[],O=!1,K=r.length+A;P.length<K;){for(var T=e?l.decode(u):Qi(Q,"IAEX",B);T--;)P.push(O);O=!O}for(J=0,H=r.length;J<H;J++)P[J]&&Y.push(r[J]);for(var q=0;q<A;J++,q++)P[J]&&Y.push(I[q]);return Y}(e.huffman,e.refinement,g,e.numberOfNewSymbols,e.numberOfExportedSymbols,a,e.template,e.at,e.refinementTemplate,e.refinementAt,h,o)}},{key:"onImmediateTextRegion",value:function(e,t,r,A,n){var i,a,o,s=e.info,c=this.symbols,g=[],u=ri(t);try{for(u.s();!(o=u.n()).done;){var l=c[o.value];l&&g.push.apply(g,ti(l))}}catch(e){u.e(e)}finally{u.f()}var h=mt(g.length);e.huffman&&(a=new Yi(r,A,n),i=function(e,t,r,A,n){for(var i=[],a=0;a<=34;a++){var o=n.readBits(4);i.push(new Li([a,o,0,0]))}var s=new Mi(i,!1);i.length=0;for(var c=0;c<A;){var g=s.decode(n);if(g>=32){var u=void 0,l=void 0,h=void 0;switch(g){case 32:if(0===c)throw new hi("no previous value in symbol ID table");l=n.readBits(2)+3,u=i[c-1].prefixLength;break;case 33:l=n.readBits(3)+3,u=0;break;case 34:l=n.readBits(7)+11,u=0;break;default:throw new hi("invalid code length in symbol ID table")}for(h=0;h<l;h++)i.push(new Li([c,u,0,0])),c++}else i.push(new Li([c,g,0,0])),c++}n.byteAlign();var I,f,C,B=new Mi(i,!1),Q=0;switch(e.huffmanFS){case 0:case 1:I=Hi(e.huffmanFS+6);break;case 3:I=Pi(Q,t,r),Q++;break;default:throw new hi("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:f=Hi(e.huffmanDS+8);break;case 3:f=Pi(Q,t,r),Q++;break;default:throw new hi("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:C=Hi(e.huffmanDT+11);break;case 3:C=Pi(Q,t,r),Q++;break;default:throw new hi("invalid Huffman DT selector")}if(e.refinement)throw new hi("refinement with Huffman is not supported");return{symbolIDTable:B,tableFirstS:I,tableDeltaS:f,tableDeltaT:C}}(e,t,this.customTables,g.length,a));var I=new fi(r,A,n),f=ki(e.huffman,e.refinement,s.width,s.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,g,h,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,i,e.refinementTemplate,e.refinementAt,I,e.logStripSize,a);this.drawBitmap(s,f)}},{key:"onImmediateLosslessTextRegion",value:function(){this.onImmediateTextRegion.apply(this,arguments)}},{key:"onPatternDictionary",value:function(e,t,r,A,n){var i=this.patterns;i||(this.patterns=i={});var a=new fi(r,A,n);i[t]=function(e,t,r,A,n,i){var a=[];e||(a.push({x:-t,y:0}),0===n&&a.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));for(var o=wi(e,(A+1)*t,r,n,!1,null,a,i),s=[],c=0;c<=A;c++){for(var g=[],u=t*c,l=u+t,h=0;h<r;h++)g.push(o[h].subarray(u,l));s.push(g)}return s}(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,a)}},{key:"onImmediateHalftoneRegion",value:function(e,t,r,A,n){var i=this.patterns[t[0]],a=e.info,o=new fi(r,A,n),s=function(e,t,r,A,n,i,a,o,s,c,g,u,l,h,I){if(a)throw new hi("skip is not supported");if(0!==o)throw new hi('operator "'.concat(o,'" is not supported in halftone region'));var f,C,B,Q=[];for(f=0;f<n;f++){if(B=new Uint8Array(A),i)for(C=0;C<A;C++)B[C]=i;Q.push(B)}var E=t.length,d=t[0],y=d[0].length,p=d.length,v=mt(E),m=[];e||(m.push({x:r<=1?3:2,y:-1}),0===r&&m.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));var w,b,k,D,S,F,x,R,G,N,L,U=[];for(e&&(w=new Yi(I.data,I.start,I.end)),f=v-1;f>=0;f--)b=e?Ki(w,s,c,!0):wi(!1,s,c,r,!1,null,m,I),U[f]=b;for(k=0;k<c;k++)for(D=0;D<s;D++){for(S=0,F=0,C=v-1;C>=0;C--)F|=(S^=U[C][k][D])<<C;if(x=t[F],G=u+k*l-D*h>>8,(R=g+k*h+D*l>>8)>=0&&R+y<=A&&G>=0&&G+p<=n)for(f=0;f<p;f++)for(L=Q[G+f],N=x[f],C=0;C<y;C++)L[R+C]|=N[C];else{var M=void 0,J=void 0;for(f=0;f<p;f++)if(!((J=G+f)<0||J>=n))for(L=Q[J],N=x[f],C=0;C<y;C++)(M=R+C)>=0&&M<A&&(L[M]|=N[C])}}return Q}(e.mmr,i,e.template,a.width,a.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,o);this.drawBitmap(a,s)}},{key:"onImmediateLosslessHalftoneRegion",value:function(){this.onImmediateHalftoneRegion.apply(this,arguments)}},{key:"onTables",value:function(e,t,r,A){var n=this.customTables;n||(this.customTables=n={}),n[e]=function(e,t,r){var A,n,i=e[t],a=4294967295&kt(e,t+1),o=4294967295&kt(e,t+5),s=new Yi(e,t+9,r),c=1+(i>>1&7),g=1+(i>>4&7),u=[],l=a;do{A=s.readBits(c),n=s.readBits(g),u.push(new Li([l,A,n,0])),l+=1<<n}while(l<o);return A=s.readBits(c),u.push(new Li([a-1,A,32,0,"lower"])),A=s.readBits(c),u.push(new Li([o,A,32,0])),1&i&&(A=s.readBits(c),u.push(new Li([A,0]))),new Mi(u,!1)}(t,r,A)}}])}(),Li=ai((function e(t){si(this,e),2===t.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=t[0],this.rangeLength=0,this.prefixCode=t[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=t[0],this.prefixLength=t[1],this.rangeLength=t[2],this.prefixCode=t[3],this.isLowerRange="lower"===t[4])})),Ui=function(){function e(t){si(this,e),this.children=[],t?(this.isLeaf=!0,this.rangeLength=t.rangeLength,this.rangeLow=t.rangeLow,this.isLowerRange=t.isLowerRange,this.isOOB=t.isOOB):this.isLeaf=!1}return ai(e,[{key:"buildTree",value:function(t,r){var A=t.prefixCode>>r&1;if(r<=0)this.children[A]=new e(t);else{var n=this.children[A];n||(this.children[A]=n=new e(null)),n.buildTree(t,r-1)}}},{key:"decodeNode",value:function(e){if(this.isLeaf){if(this.isOOB)return null;var t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var r=this.children[e.readBit()];if(!r)throw new hi("invalid Huffman data");return r.decodeNode(e)}}])}(),Mi=function(){return ai((function e(t,r){si(this,e),r||this.assignPrefixCodes(t),this.rootNode=new Ui(null);for(var A=0,n=t.length;A<n;A++){var i=t[A];i.prefixLength>0&&this.rootNode.buildTree(i,i.prefixLength-1)}}),[{key:"decode",value:function(e){return this.rootNode.decodeNode(e)}},{key:"assignPrefixCodes",value:function(e){for(var t=e.length,r=0,A=0;A<t;A++)r=Math.max(r,e[A].prefixLength);for(var n=new Uint32Array(r+1),i=0;i<t;i++)n[e[i].prefixLength]++;var a,o,s,c=1,g=0;for(n[0]=0;c<=r;){for(a=g=g+n[c-1]<<1,o=0;o<t;)(s=e[o]).prefixLength===c&&(s.prefixCode=a,a++),o++;c++}}}])}(),Ji={};function Hi(e){var t,r=Ji[e];if(r)return r;switch(e){case 1:t=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:t=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:t=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:t=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:t=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:t=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:t=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:t=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:t=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:t=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:t=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:t=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:t=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:t=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:t=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new hi("standard table B.".concat(e," does not exist"))}for(var A=0,n=t.length;A<n;A++)t[A]=new Li(t[A]);return r=new Mi(t,!0),Ji[e]=r,r}var Yi=function(){return ai((function e(t,r,A){si(this,e),this.data=t,this.start=r,this.end=A,this.position=r,this.shift=-1,this.currentByte=0}),[{key:"readBit",value:function(){if(this.shift<0){if(this.position>=this.end)throw new hi("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e}},{key:"readBits",value:function(e){var t,r=0;for(t=e-1;t>=0;t--)r|=this.readBit()<<t;return r}},{key:"byteAlign",value:function(){this.shift=-1}},{key:"next",value:function(){return this.position>=this.end?-1:this.data[this.position++]}}])}();function Pi(e,t,r){for(var A=0,n=0,i=t.length;n<i;n++){var a=r[t[n]];if(a){if(e===A)return a;A++}}throw new hi("can't find custom Huffman table")}function Oi(e,t,r){for(var A=[],n=0;n<r;n++){var i=new Uint8Array(t);A.push(i);for(var a=0;a<t;a++)i[a]=e.readBit();e.byteAlign()}return A}function Ki(e,t,r,A){for(var n,i=new vn(e,{K:-1,Columns:t,Rows:r,BlackIs1:!0,EndOfBlock:A}),a=[],o=!1,s=0;s<r;s++){var c=new Uint8Array(t);a.push(c);for(var g=-1,u=0;u<t;u++)g<0&&(-1===(n=i.readNextChar())&&(n=0,o=!0),g=7),c[u]=n>>g&1,g--}if(A&&!o)for(var l=0;l<5&&-1!==i.readNextChar();l++);return a}var Ti=function(){return ai((function e(){si(this,e)}),[{key:"parseChunks",value:function(e){return function(e){for(var t=new Ni,r=0,A=e.length;r<A;r++){var n=e[r];Gi(Si({},n.data,n.start,n.end),t)}return t.buffer}(e)}},{key:"parse",value:function(e){throw new Error("Not implemented: Jbig2Image.parse")}}])}();function qi(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,ji(A.key),A)}}function ji(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Wi(e,t,r){return t=_i(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zi()?Reflect.construct(t,r||[],_i(e).constructor):t.apply(e,r))}function Zi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Zi=function(){return!!e})()}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_i(e)}function Xi(e,t){return Xi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xi(e,t)}var Vi=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Wi(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=A,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xi(e,t)}(t,XA),r=t,(A=[{key:"bytes",get:function(){return _(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){this.decodeImage()}},{key:"decodeImage",value:function(e){if(this.eof)return this.buffer;e||(e=this.bytes);var t=new Ti,r=[];if(this.params instanceof He){var A=this.params.get("JBIG2Globals");if(A instanceof ze){var n=A.getBytes();r.push({data:n,start:0,end:n.length})}}r.push({data:e,start:0,end:e.length});for(var i=t.parseChunks(r),a=i.length,o=0;o<a;o++)i[o]^=255;return this.buffer=i,this.bufferLength=a,this.eof=!0,this.buffer}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return this.stream.isAsync}}])&&qi(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function zi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function $i(e){var t=e.src,r=e.srcPos,A=void 0===r?0:r,n=e.dest,i=e.width,a=e.height,o=e.nonBlackColor,s=void 0===o?4294967295:o,c=e.inverseDecode,g=void 0!==c&&c,u=se.isLittleEndian?4278190080:255,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zi(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zi(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(g?[s,u]:[u,s],2),h=l[0],I=l[1],f=i>>3,C=7&i,B=t.length;n=new Uint32Array(n.buffer);for(var Q=0,E=0;E<a;E++){for(var d=A+f;A<d;A++){var y=A<B?t[A]:255;n[Q++]=128&y?I:h,n[Q++]=64&y?I:h,n[Q++]=32&y?I:h,n[Q++]=16&y?I:h,n[Q++]=8&y?I:h,n[Q++]=4&y?I:h,n[Q++]=2&y?I:h,n[Q++]=1&y?I:h}if(0!==C)for(var p=A<B?t[A++]:255,v=0;v<C;v++)n[Q++]=p&1<<7-v?I:h}return{srcPos:A,destPos:Q}}function ea(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return ta(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ta(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ta(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function ra(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,na(A.key),A)}}function Aa(e,t,r){return t&&ra(e.prototype,t),r&&ra(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function na(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function ia(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aa(e,t,r){return t=sa(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oa()?Reflect.construct(t,r||[],sa(e).constructor):t.apply(e,r))}function oa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oa=function(){return!!e})()}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sa(e)}function ca(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ga(e,t)}function ga(e,t){return ga=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ga(e,t)}r(3195);var ua=function(e){function t(e){return ia(this,t),aa(this,t,[e,"JpegError"])}return ca(t,X),Aa(t)}(),la=function(e){function t(e,r){var A;return ia(this,t),(A=aa(this,t,[e,"DNLMarkerError"])).scanLines=r,A}return ca(t,X),Aa(t)}(),ha=function(e){function t(e){return ia(this,t),aa(this,t,[e,"EOIMarkerError"])}return ca(t,X),Aa(t)}(),Ia=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),fa=4017,Ca=799,Ba=3406,Qa=2276,Ea=1567,da=3784,ya=5793,pa=2896;function va(e,t){for(var r,A,n=0,i=16;i>0&&!e[i-1];)i--;var a,o=[{children:[],index:0}],s=o[0];for(r=0;r<i;r++){for(A=0;A<e[r];A++){for((s=o.pop()).children[s.index]=t[n];s.index>0;)s=o.pop();for(s.index++,o.push(s);o.length<=r;)o.push(a={children:[],index:0}),s.children[s.index]=a.children,s=a;n++}r+1<i&&(o.push(a={children:[],index:0}),s.children[s.index]=a.children,s=a)}return o[0].children}function ma(e,t,r){return 64*((e.blocksPerLine+1)*t+r)}function wa(e,t,r,A,n,i,a,o,s){var c=arguments.length>9&&void 0!==arguments[9]&&arguments[9],g=r.mcusPerLine,u=r.progressive,l=t,h=0,I=0;function f(){if(I>0)return I--,h>>I&1;if(255===(h=e[t++])){var A=e[t++];if(A){if(220===A&&c){var n=bt(e,t+=2);if(t+=2,n>0&&n!==r.scanLines)throw new la("Found DNL marker (0xFFDC) while parsing scan data",n)}else if(217===A){if(c){var i=p*(8===r.precision?8:0);if(i>0&&Math.round(r.scanLines/i)>=5)throw new la("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect \`scanLines\` parameter",i)}throw new ha("Found EOI marker (0xFFD9) while parsing scan data")}throw new ua("unexpected marker ".concat((h<<8|A).toString(16)))}}return I=7,h>>>7}function C(e){for(var t=e;;){switch(typeof(t=t[f()])){case"number":return t;case"object":continue}throw new ua("invalid huffman sequence")}}function B(e){for(var t=0;e>0;)t=t<<1|f(),e--;return t}function Q(e){if(1===e)return 1===f()?1:-1;var t=B(e);return t>=1<<e-1?t:t+(-1<<e)+1}var E,d=0,y=0,p=0;function v(e,t,r,A,n){var i=r%g;p=(r/g|0)*e.v+A;var a=i*e.h+n;t(e,ma(e,p,a))}function m(e,t,r){p=r/e.blocksPerLine|0;var A=r%e.blocksPerLine;t(e,ma(e,p,A))}var w,b,k,D,S,F,x=A.length;F=u?0===i?0===o?function(e,t){var r=C(e.huffmanTableDC),A=0===r?0:Q(r)<<s;e.blockData[t]=e.pred+=A}:function(e,t){e.blockData[t]|=f()<<s}:0===o?function(e,t){if(d>0)d--;else for(var r=i,A=a;r<=A;){var n=C(e.huffmanTableAC),o=15&n,c=n>>4;if(0!==o){var g=Ia[r+=c];e.blockData[t+g]=Q(o)*(1<<s),r++}else{if(c<15){d=B(c)+(1<<c)-1;break}r+=16}}}:function(e,t){for(var r,A,n=i,o=a,c=0;n<=o;){var g=t+Ia[n],u=e.blockData[g]<0?-1:1;switch(y){case 0:if(c=(A=C(e.huffmanTableAC))>>4,0==(r=15&A))c<15?(d=B(c)+(1<<c),y=4):(c=16,y=1);else{if(1!==r)throw new ua("invalid ACn encoding");E=Q(r),y=c?2:3}continue;case 1:case 2:e.blockData[g]?e.blockData[g]+=u*(f()<<s):0==--c&&(y=2===y?3:0);break;case 3:e.blockData[g]?e.blockData[g]+=u*(f()<<s):(e.blockData[g]=E<<s,y=0);break;case 4:e.blockData[g]&&(e.blockData[g]+=u*(f()<<s))}n++}4===y&&0==--d&&(y=0)}:function(e,t){var r=C(e.huffmanTableDC),A=0===r?0:Q(r);e.blockData[t]=e.pred+=A;for(var n=1;n<64;){var i=C(e.huffmanTableAC),a=15&i,o=i>>4;if(0!==a){var s=Ia[n+=o];e.blockData[t+s]=Q(a),n++}else{if(o<15)break;n+=16}}};for(var R,G,N,L=0,U=1===x?A[0].blocksPerLine*A[0].blocksPerColumn:g*r.mcusPerColumn;L<=U;){var M=n?Math.min(U-L,n):U;if(M>0){for(b=0;b<x;b++)A[b].pred=0;if(d=0,1===x)for(w=A[0],S=0;S<M;S++)m(w,F,L),L++;else for(S=0;S<M;S++){for(b=0;b<x;b++)for(G=(w=A[b]).h,N=w.v,k=0;k<N;k++)for(D=0;D<G;D++)v(w,F,L,k,D);L++}}if(I=0,!(R=Da(e,t)))break;if(R.invalid&&(q("decodeScan - ".concat(M>0?"unexpected":"excessive"," MCU data, current marker is: ").concat(R.invalid)),t=R.offset),!(R.marker>=65488&&R.marker<=65495))break;t+=2}return t-l}function ba(e,t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d=e.quantizationTable,y=e.blockData;if(!d)throw new ua("missing required Quantization Table.");for(var p=0;p<64;p+=8)u=y[t+p],l=y[t+p+1],h=y[t+p+2],I=y[t+p+3],f=y[t+p+4],C=y[t+p+5],B=y[t+p+6],Q=y[t+p+7],u*=d[p],0!=(l|h|I|f|C|B|Q)?(l*=d[p+1],h*=d[p+2],I*=d[p+3],f*=d[p+4],C*=d[p+5],B*=d[p+6],Q*=d[p+7],n=(A=(A=ya*u+128>>8)+(n=ya*f+128>>8)+1>>1)-n,E=(i=h)*da+(a=B)*Ea+128>>8,i=i*Ea-a*da+128>>8,c=(o=(o=pa*(l-Q)+128>>8)+(c=C<<4)+1>>1)-c,s=(g=(g=pa*(l+Q)+128>>8)+(s=I<<4)+1>>1)-s,a=(A=A+(a=E)+1>>1)-a,i=(n=n+i+1>>1)-i,E=o*Qa+g*Ba+2048>>12,o=o*Ba-g*Qa+2048>>12,g=E,E=s*Ca+c*fa+2048>>12,s=s*fa-c*Ca+2048>>12,c=E,r[p]=A+g,r[p+7]=A-g,r[p+1]=n+c,r[p+6]=n-c,r[p+2]=i+s,r[p+5]=i-s,r[p+3]=a+o,r[p+4]=a-o):(E=ya*u+512>>10,r[p]=E,r[p+1]=E,r[p+2]=E,r[p+3]=E,r[p+4]=E,r[p+5]=E,r[p+6]=E,r[p+7]=E);for(var v=0;v<8;++v)u=r[v],0!=((l=r[v+8])|(h=r[v+16])|(I=r[v+24])|(f=r[v+32])|(C=r[v+40])|(B=r[v+48])|(Q=r[v+56]))?(n=(A=4112+((A=ya*u+2048>>12)+(n=ya*f+2048>>12)+1>>1))-n,E=(i=h)*da+(a=B)*Ea+2048>>12,i=i*Ea-a*da+2048>>12,a=E,c=(o=(o=pa*(l-Q)+2048>>12)+(c=C)+1>>1)-c,s=(g=(g=pa*(l+Q)+2048>>12)+(s=I)+1>>1)-s,E=o*Qa+g*Ba+2048>>12,o=o*Ba-g*Qa+2048>>12,g=E,E=s*Ca+c*fa+2048>>12,s=s*fa-c*Ca+2048>>12,(u=(A=A+a+1>>1)+g)<16?u=0:u>=4080?u=255:u>>=4,(l=(n=n+i+1>>1)+(c=E))<16?l=0:l>=4080?l=255:l>>=4,(h=(i=n-i)+s)<16?h=0:h>=4080?h=255:h>>=4,(I=(a=A-a)+o)<16?I=0:I>=4080?I=255:I>>=4,(f=a-o)<16?f=0:f>=4080?f=255:f>>=4,(C=i-s)<16?C=0:C>=4080?C=255:C>>=4,(B=n-c)<16?B=0:B>=4080?B=255:B>>=4,(Q=A-g)<16?Q=0:Q>=4080?Q=255:Q>>=4,y[t+v]=u,y[t+v+8]=l,y[t+v+16]=h,y[t+v+24]=I,y[t+v+32]=f,y[t+v+40]=C,y[t+v+48]=B,y[t+v+56]=Q):(E=(E=ya*u+8192>>14)<-2040?0:E>=2024?255:E+2056>>4,y[t+v]=E,y[t+v+8]=E,y[t+v+16]=E,y[t+v+24]=E,y[t+v+32]=E,y[t+v+40]=E,y[t+v+48]=E,y[t+v+56]=E)}function ka(e,t){for(var r=t.blocksPerLine,A=t.blocksPerColumn,n=new Int16Array(64),i=0;i<A;i++)for(var a=0;a<r;a++)ba(t,ma(t,i,a),n);return t.blockData}function Da(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,A=e.length-1,n=r<t?r:t;if(t>=A)return null;var i=bt(e,t);if(i>=65472&&i<=65534)return{invalid:null,marker:i,offset:t};for(var a=bt(e,n);!(a>=65472&&a<=65534);){if(++n>=A)return null;a=bt(e,n)}return{invalid:i.toString(16),marker:a,offset:n}}var Sa=function(){return Aa((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.decodeTransform,A=void 0===r?null:r,n=t.colorTransform,i=void 0===n?-1:n;ia(this,e),this._decodeTransform=A,this._colorTransform=i}),[{key:"parse",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).dnlScanLines,r=void 0===t?null:t;function A(){var t=bt(e,o),r=(o+=2)+t-2,A=Da(e,r,o);null!=A&&A.invalid&&(q("readDataBlock - incorrect length, current marker is: "+A.invalid),r=A.offset);var n=e.subarray(o,r);return o+=n.length,n}function n(e){var t,r=Math.ceil(e.samplesPerLine/8/e.maxH),A=Math.ceil(e.scanLines/8/e.maxV),n=ea(e.components);try{for(n.s();!(t=n.n()).done;){var i=t.value,a=Math.ceil(Math.ceil(e.samplesPerLine/8)*i.h/e.maxH),o=Math.ceil(Math.ceil(e.scanLines/8)*i.v/e.maxV),s=r*i.h,c=A*i.v*64*(s+1);i.blockData=new Int16Array(c),i.blocksPerLine=a,i.blocksPerColumn=o}}catch(e){n.e(e)}finally{n.f()}e.mcusPerLine=r,e.mcusPerColumn=A}var i,a,o=0,s=null,c=null,g=0,u=[],l=[],h=[],I=bt(e,o);if(o+=2,65496!==I)throw new ua("SOI not found");I=bt(e,o),o+=2;e:for(;65497!==I;){var f=void 0,C=void 0,B=void 0;switch(I){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var Q=A();65504===I&&74===Q[0]&&70===Q[1]&&73===Q[2]&&70===Q[3]&&0===Q[4]&&(s={version:{major:Q[5],minor:Q[6]},densityUnits:Q[7],xDensity:Q[8]<<8|Q[9],yDensity:Q[10]<<8|Q[11],thumbWidth:Q[12],thumbHeight:Q[13],thumbData:Q.subarray(14,14+3*Q[12]*Q[13])}),65518===I&&65===Q[0]&&100===Q[1]&&111===Q[2]&&98===Q[3]&&101===Q[4]&&(c={version:Q[5]<<8|Q[6],flags0:Q[7]<<8|Q[8],flags1:Q[9]<<8|Q[10],transformCode:Q[11]});break;case 65499:for(var E=bt(e,o)+(o+=2)-2;o<E;){var d=e[o++],y=new Uint16Array(64);if(d>>4==0)for(C=0;C<64;C++)y[Ia[C]]=e[o++];else{if(d>>4!=1)throw new ua("DQT - invalid table spec");for(C=0;C<64;C++)y[Ia[C]]=bt(e,o),o+=2}u[15&d]=y}break;case 65472:case 65473:case 65474:if(i)throw new ua("Only single frame JPEGs supported");o+=2,(i={}).extended=65473===I,i.progressive=65474===I,i.precision=e[o++];var p=bt(e,o);o+=2,i.scanLines=r||p,i.samplesPerLine=bt(e,o),o+=2,i.components=[],i.componentIds={};var v=e[o++],m=0,w=0;for(f=0;f<v;f++){var b=e[o],k=e[o+1]>>4,D=15&e[o+1];m<k&&(m=k),w<D&&(w=D);var S=e[o+2];B=i.components.push({h:k,v:D,quantizationId:S,quantizationTable:null}),i.componentIds[b]=B-1,o+=3}i.maxH=m,i.maxV=w,n(i);break;case 65476:var F=bt(e,o);for(o+=2,f=2;f<F;){var x=e[o++],R=new Uint8Array(16),G=0;for(C=0;C<16;C++,o++)G+=R[C]=e[o];var N=new Uint8Array(G);for(C=0;C<G;C++,o++)N[C]=e[o];f+=17+G,(x>>4==0?h:l)[15&x]=va(R,N)}break;case 65501:a=bt(e,o+=2),o+=2;break;case 65498:var L=1==++g&&!r;o+=2;var U=e[o++],M=[];for(f=0;f<U;f++){var J=e[o++],H=i.componentIds[J],Y=i.components[H];Y.index=J;var P=e[o++];Y.huffmanTableDC=h[P>>4],Y.huffmanTableAC=l[15&P],M.push(Y)}var O=e[o++],K=e[o++],T=e[o++];try{var j=wa(e,o,i,M,a,O,K,T>>4,15&T,L);o+=j}catch(t){if(t instanceof la)return q("".concat(t.message," -- attempting to re-parse the JPEG image.")),this.parse(e,{dnlScanLines:t.scanLines});if(t instanceof ha){q("".concat(t.message," -- ignoring the rest of the image data."));break e}throw t}break;case 65500:o+=4;break;case 65535:255!==e[o]&&o--;break;default:var W=Da(e,o-2,o-3);if(null!=W&&W.invalid){q("JpegImage.parse - unexpected data, current marker is: "+W.invalid),o=W.offset;break}if(!W||o>=e.length-1){q("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new ua("JpegImage.parse - unknown marker: "+I.toString(16))}I=bt(e,o),o+=2}if(!i)throw new ua("JpegImage.parse - no frame data found.");this.width=i.samplesPerLine,this.height=i.scanLines,this.jfif=s,this.adobe=c,this.components=[];var Z,_=ea(i.components);try{for(_.s();!(Z=_.n()).done;){var X=Z.value,V=u[X.quantizationId];V&&(X.quantizationTable=V),this.components.push({index:X.index,output:ka(0,X),scaleX:X.h/i.maxH,scaleY:X.v/i.maxV,blocksPerLine:X.blocksPerLine,blocksPerColumn:X.blocksPerColumn})}}catch(e){_.e(e)}finally{_.f()}this.numComponents=this.components.length}},{key:"_getLinearizedBlockData",value:function(e,t){var r,A,n,i,a,o,s,c,g,u,l,h,I=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=this.width/e,C=this.height/t,B=0,Q=this.components.length,E=e*t*Q,d=new Uint8ClampedArray(E),y=new Uint32Array(e),p=4294967288;for(s=0;s<Q;s++){if(A=(r=this.components[s]).scaleX*f,n=r.scaleY*C,B=s,l=r.output,i=r.blocksPerLine+1<<3,A!==h){for(a=0;a<e;a++)c=0|a*A,y[a]=(c&p)<<3|7&c;h=A}for(o=0;o<t;o++)for(u=i*((c=0|o*n)&p)|(7&c)<<3,a=0;a<e;a++)d[B]=l[u+y[a]],B+=Q}var v=this._decodeTransform;if(I||4!==Q||v||(v=new Int32Array([-256,255,-256,255,-256,255,-256,255])),v)for(s=0;s<E;)for(c=0,g=0;c<Q;c++,s++,g+=2)d[s]=(d[s]*v[g]>>8)+v[g+1];return d}},{key:"_isColorConversionNeeded",get:function(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}},{key:"_convertYccToRgb",value:function(e){for(var t,r,A,n=0,i=e.length;n<i;n+=3)t=e[n],r=e[n+1],A=e[n+2],e[n]=t-179.456+1.402*A,e[n+1]=t+135.459-.344*r-.714*A,e[n+2]=t-226.816+1.772*r;return e}},{key:"_convertYccToRgba",value:function(e,t){for(var r=0,A=0,n=e.length;r<n;r+=3,A+=4){var i=e[r],a=e[r+1],o=e[r+2];t[A]=i-179.456+1.402*o,t[A+1]=i+135.459-.344*a-.714*o,t[A+2]=i-226.816+1.772*a,t[A+3]=255}return t}},{key:"_convertYcckToRgb",value:function(e){for(var t,r,A,n,i=0,a=0,o=e.length;a<o;a+=4)t=e[a],r=e[a+1],A=e[a+2],n=e[a+3],e[i++]=r*(-660635669420364e-19*r+.000437130475926232*A-54080610064599e-18*t+.00048449797120281*n-.154362151871126)-122.67195406894+A*(-.000957964378445773*A+.000817076911346625*t-.00477271405408747*n+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*n+.48357088451265)+n*(-.000336197177618394*n+.484791561490776),e[i++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*A+.000659397001245577*t+.000426105652938837*n-.176491792462875)+A*(-.000778269941513683*A+.00130872261408275*t+.000770482631801132*n-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*n+.25802910206845)+n*(-.000318913117588328*n-.213742400323665),e[i++]=r*(-.000570115196973677*r-263409051004589e-19*A+.0020741088115012*t-.00288260236853442*n+.814272968359295)-20.810012546947+A*(-153496057440975e-19*A-.000132689043961446*t+.000560833691242812*n-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*n+.116935020465145)+n*(-.000343531996510555*n+.24165260232407);return e.subarray(0,i)}},{key:"_convertYcckToRgba",value:function(e){for(var t=0,r=e.length;t<r;t+=4){var A=e[t],n=e[t+1],i=e[t+2],a=e[t+3];e[t]=n*(-660635669420364e-19*n+.000437130475926232*i-54080610064599e-18*A+.00048449797120281*a-.154362151871126)-122.67195406894+i*(-.000957964378445773*i+.000817076911346625*A-.00477271405408747*a+1.53380253221734)+A*(.000961250184130688*A-.00266257332283933*a+.48357088451265)+a*(-.000336197177618394*a+.484791561490776),e[t+1]=107.268039397724+n*(219927104525741e-19*n-.000640992018297945*i+.000659397001245577*A+.000426105652938837*a-.176491792462875)+i*(-.000778269941513683*i+.00130872261408275*A+.000770482631801132*a-.151051492775562)+A*(.00126935368114843*A-.00265090189010898*a+.25802910206845)+a*(-.000318913117588328*a-.213742400323665),e[t+2]=n*(-.000570115196973677*n-263409051004589e-19*i+.0020741088115012*A-.00288260236853442*a+.814272968359295)-20.810012546947+i*(-153496057440975e-19*i-.000132689043961446*A+.000560833691242812*a-.195152027534049)+A*(.00174418132927582*A-.00255243321439347*a+.116935020465145)+a*(-.000343531996510555*a+.24165260232407),e[t+3]=255}return e}},{key:"_convertYcckToCmyk",value:function(e){for(var t,r,A,n=0,i=e.length;n<i;n+=4)t=e[n],r=e[n+1],A=e[n+2],e[n]=434.456-t-1.402*A,e[n+1]=119.541-t+.344*r+.714*A,e[n+2]=481.816-t-1.772*r;return e}},{key:"_convertCmykToRgb",value:function(e){for(var t,r,A,n,i=0,a=0,o=e.length;a<o;a+=4)t=e[a],r=e[a+1],A=e[a+2],n=e[a+3],e[i++]=255+t*(-6747147073602441e-20*t+.0008379262121013727*r+.0002894718188643294*A+.003264231057537806*n-1.1185611867203937)+r*(26374107616089405e-21*r-8626949158638572e-20*A-.0002748769067499491*n-.02155688794978967)+A*(-3878099212869363e-20*A-.0003267808279485286*n+.0686742238595345)-n*(.0003361971776183937*n+.7430659151342254),e[i++]=255+t*(.00013596372813588848*t+.000924537132573585*r+.00010567359618683593*A+.0004791864687436512*n-.3109689587515875)+r*(-.00023545346108370344*r+.0002702845253534714*A+.0020200308977307156*n-.7488052167015494)+A*(6834815998235662e-20*A+.00015168452363460973*n-.09751927774728933)-n*(.0003189131175883281*n+.7364883807733168),e[i++]=255+t*(13598650411385307e-21*t+.00012423956175490851*r+.0004751985097583589*A-36729317476630422e-22*n-.05562186980264034)+r*(.00016141380598724676*r+.0009692239130725186*A+.0007782692450036253*n-.44015232367526463)+A*(5.068882914068769e-7*A+.0017778369011375071*n-.7591454649749609)-n*(.0003435319965105553*n+.7063770186160144);return e.subarray(0,i)}},{key:"_convertCmykToRgba",value:function(e){for(var t=0,r=e.length;t<r;t+=4){var A=e[t],n=e[t+1],i=e[t+2],a=e[t+3];e[t]=255+A*(-6747147073602441e-20*A+.0008379262121013727*n+.0002894718188643294*i+.003264231057537806*a-1.1185611867203937)+n*(26374107616089405e-21*n-8626949158638572e-20*i-.0002748769067499491*a-.02155688794978967)+i*(-3878099212869363e-20*i-.0003267808279485286*a+.0686742238595345)-a*(.0003361971776183937*a+.7430659151342254),e[t+1]=255+A*(.00013596372813588848*A+.000924537132573585*n+.00010567359618683593*i+.0004791864687436512*a-.3109689587515875)+n*(-.00023545346108370344*n+.0002702845253534714*i+.0020200308977307156*a-.7488052167015494)+i*(6834815998235662e-20*i+.00015168452363460973*a-.09751927774728933)-a*(.0003189131175883281*a+.7364883807733168),e[t+2]=255+A*(13598650411385307e-21*A+.00012423956175490851*n+.0004751985097583589*i-36729317476630422e-22*a-.05562186980264034)+n*(.00016141380598724676*n+.0009692239130725186*i+.0007782692450036253*a-.44015232367526463)+i*(5.068882914068769e-7*i+.0017778369011375071*a-.7591454649749609)-a*(.0003435319965105553*a+.7063770186160144),e[t+3]=255}return e}},{key:"getData",value:function(e){var t=e.width,r=e.height,A=e.forceRGBA,n=void 0!==A&&A,i=e.forceRGB,a=void 0!==i&&i,o=e.isSourcePDF,s=void 0!==o&&o;if(this.numComponents>4)throw new ua("Unsupported color mode");var c=this._getLinearizedBlockData(t,r,s);if(1===this.numComponents&&(n||a)){var g=c.length*(n?4:3),u=new Uint8ClampedArray(g),l=0;if(n)!function(e,t){if(se.isLittleEndian)for(var r=0,A=e.length;r<A;r++)t[r]=65793*e[r]|4278190080;else for(var n=0,i=e.length;n<i;n++)t[n]=16843008*e[n]|255}(c,new Uint32Array(u.buffer));else{var h,I=ea(c);try{for(I.s();!(h=I.n()).done;){var f=h.value;u[l++]=f,u[l++]=f,u[l++]=f}}catch(e){I.e(e)}finally{I.f()}}return u}if(3===this.numComponents&&this._isColorConversionNeeded){if(n){var C=new Uint8ClampedArray(c.length/3*4);return this._convertYccToRgba(c,C)}return this._convertYccToRgb(c)}if(4===this.numComponents){if(this._isColorConversionNeeded)return n?this._convertYcckToRgba(c):a?this._convertYcckToRgb(c):this._convertYcckToCmyk(c);if(n)return this._convertCmykToRgba(c);if(a)return this._convertCmykToRgb(c)}return c}}])}();function Fa(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,xa(A.key),A)}}function xa(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Ra(e,t,r){return t=Na(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ga()?Reflect.construct(t,r||[],Na(e).constructor):t.apply(e,r))}function Ga(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ga=function(){return!!e})()}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Na(e)}function La(e,t){return La=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},La(e,t)}var Ua,Ma,Ja=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Ra(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=A,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&La(e,t)}(t,XA),r=t,(A=[{key:"bytes",get:function(){return _(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){this.decodeImage()}},{key:"decodeImage",value:function(e){if(this.eof)return this.buffer;e||(e=this.bytes);for(var t=0,r=e.length-1;t<r;t++)if(255===e[t]&&216===e[t+1]){t>0&&(e=e.subarray(t));break}var A={decodeTransform:void 0,colorTransform:void 0},n=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(n)){for(var i=this.dict.get("BPC","BitsPerComponent")||8,a=n.length,o=new Int32Array(a),s=!1,c=(1<<i)-1,g=0;g<a;g+=2)o[g]=256*(n[g+1]-n[g])|0,o[g+1]=n[g]*c|0,256===o[g]&&0===o[g+1]||(s=!0);s&&(A.decodeTransform=o)}if(this.params instanceof He){var u=this.params.get("ColorTransform");Number.isInteger(u)&&(A.colorTransform=u)}var l=new Sa(A);l.parse(e);var h=l.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0});return this.buffer=h,this.bufferLength=h.length,this.eof=!0,this.buffer}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return this.stream.isAsync}}])&&Fa(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}(),Ha=(r(3177),r(6473),r(6625),r(4967),r(6403),r(3355),Ma="undefined"!=typeof document?null===(Ua=document.currentScript)||void 0===Ua?void 0:Ua.src:void 0,function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};new Promise((function(r,A){e=r,t=A})),r.decode=function(e,t){var A=t.numComponents,n=void 0===A?4:A,i=t.isIndexedColormap,a=void 0!==i&&i,o=t.smaskInData,s=void 0!==o&&o,c=e.length,g=r._malloc(c);r.HEAPU8.set(e,g);var u=r._jp2_decode(g,c,n>0?n:0,!!a,!!s);if(r._free(g),u){var l=r.errorMessages;return l?(delete r.errorMessages,l):"Unknown error"}var h=r.imageData;return r.imageData=null,h};var A=Object.assign({},r),n="./this.program",i="";"undefined"!=typeof document&&document.currentScript&&(i=document.currentScript.src),Ma&&(i=Ma),i=i.startsWith("blob:")?"":i.substr(0,i.replace(/[?#].*/,"").lastIndexOf("/")+1);var a,o,s,c,g,u=r.print||console.log.bind(console),l=r.printErr||console.error.bind(console);function h(){var e=o.buffer;r.HEAP8=s=new Int8Array(e),r.HEAP16=new Int16Array(e),r.HEAPU8=c=new Uint8Array(e),r.HEAPU16=new Uint16Array(e),r.HEAP32=new Int32Array(e),r.HEAPU32=g=new Uint32Array(e),r.HEAPF32=new Float32Array(e),r.HEAPF64=new Float64Array(e)}Object.assign(r,A),A=null,r.arguments&&r.arguments,r.thisProgram&&(n=r.thisProgram),r.quit&&r.quit,r.wasmBinary&&(a=r.wasmBinary);var I,f=[],C=[],B=[],Q=0,E=null,d=null,y="data:application/octet-stream;base64,",p=function(e){return e.startsWith(y)};function v(e,t){var r,A=function(e){if(e==I&&a)return new Uint8Array(a);var t=function(e){if(p(e))return function(e){for(var t=atob(e),r=new Uint8Array(t.length),A=0;A<t.length;++A)r[A]=t.charCodeAt(A);return r}(e.slice(y.length))}(e);if(t)return t;throw'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)'}(e);return r=new WebAssembly.Module(A),[new WebAssembly.Instance(r,t),r]}var m=function(e){for(;e.length>0;)e.shift()(r)};r.noExitRuntime;var w,b=function(e){var t=(e-o.buffer.byteLength+65535)/65536;try{return o.grow(t),h(),1}catch(e){}},k={},D=function(){if(!D.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:n||"./this.program"};for(var t in k)void 0===k[t]?delete e[t]:e[t]=k[t];var r=[];for(var t in e)r.push("".concat(t,"=").concat(e[t]));D.strings=r}return D.strings},S=[null,[],[]],F="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,x=function(e,t,r){for(var A=t+r,n=t;e[n]&&!(n>=A);)++n;if(n-t>16&&e.buffer&&F)return F.decode(e.subarray(t,n));for(var i="";t<n;){var a=e[t++];if(128&a){var o=63&e[t++];if(192!=(224&a)){var s=63&e[t++];if((a=224==(240&a)?(15&a)<<12|o<<6|s:(7&a)<<18|o<<12|s<<6|63&e[t++])<65536)i+=String.fromCharCode(a);else{var c=a-65536;i+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else i+=String.fromCharCode((31&a)<<6|o)}else i+=String.fromCharCode(a)}return i},R=function(e,t){return e?x(c,e,t):""},G={c:function(e,t,r){return c.copyWithin(e,t,t+r)},g:function(e,t){e>>=2;var A=r.imageData=new Uint8ClampedArray(t),n=r.HEAP32.subarray(e,e+t);A.set(n)},f:function(e,t,A,n){e>>=2,t>>=2,A>>=2;for(var i=r.imageData=new Uint8ClampedArray(3*n),a=r.HEAP32.subarray(e,e+n),o=r.HEAP32.subarray(t,t+n),s=r.HEAP32.subarray(A,A+n),c=0;c<n;c++)i[3*c]=a[c],i[3*c+1]=o[c],i[3*c+2]=s[c]},e:function(e,t,A,n,i){e>>=2,t>>=2,A>>=2,n>>=2;for(var a=r.imageData=new Uint8ClampedArray(4*i),o=r.HEAP32.subarray(e,e+i),s=r.HEAP32.subarray(t,t+i),c=r.HEAP32.subarray(A,A+i),g=r.HEAP32.subarray(n,n+i),u=0;u<i;u++)a[4*u]=o[u],a[4*u+1]=s[u],a[4*u+2]=c[u],a[4*u+3]=g[u]},k:function(e){var t=c.length,r=2147483648;if((e>>>=0)>r)return!1;for(var A,n=1;n<=4;n*=2){var i=t*(1+.2/n);i=Math.min(i,e+100663296);var a=Math.min(r,(A=Math.max(e,i))+(65536-A%65536)%65536);if(b(a))return!0}return!1},l:function(e,t){var r=0;return D().forEach((function(A,n){var i=t+r;g[e+4*n>>2]=i,function(e,t){for(var r=0;r<e.length;++r)s[t++]=e.charCodeAt(r);s[t]=0}(A,i),r+=A.length+1})),0},m:function(e,t){var r=D();g[e>>2]=r.length;var A=0;return r.forEach((function(e){return A+=e.length+1})),g[t>>2]=A,0},n:function(e){return 52},j:function(e,t,r,A,n){return 70},b:function(e,t,r,A){for(var n,i,a,o=0,s=0;s<r;s++){var h=g[t>>2],I=g[t+4>>2];t+=8;for(var f=0;f<I;f++)n=e,i=c[h+f],a=void 0,a=S[n],0===i||10===i?((1===n?u:l)(x(a,0)),a.length=0):a.push(i);o+=I}return g[A>>2]=o,0},o:function(e,t){e>>=2;for(var A=r.imageData=new Uint8ClampedArray(4*t),n=r.HEAP32.subarray(e,e+t),i=0;i<t;i++)A[4*i]=A[4*i+1]=A[4*i+2]=n[i],A[4*i+3]=255},i:function(e,t,A){e>>=2,t>>=2;for(var n=r.imageData=new Uint8ClampedArray(4*A),i=r.HEAP32.subarray(e,e+A),a=r.HEAP32.subarray(t,t+A),o=0;o<A;o++)n[4*o]=n[4*o+1]=n[4*o+2]=i[o],n[4*o+3]=a[o]},d:function(e){var t=R(e);(r.warn||console.warn)("OpenJPEG: ".concat(t))},h:function(e,t,A,n){e>>=2,t>>=2,A>>=2;for(var i=r.imageData=new Uint8ClampedArray(4*n),a=r.HEAP32.subarray(e,e+n),o=r.HEAP32.subarray(t,t+n),s=r.HEAP32.subarray(A,A+n),c=0;c<n;c++)i[4*c]=a[c],i[4*c+1]=o[c],i[4*c+2]=s[c],i[4*c+3]=255},a:function(e){var t=R(e);r.errorMessages?r.errorMessages+="\\n"+t:r.errorMessages=t}},N=function(){var e,A={a:G};function n(e,t){var A;return N=e.exports,o=N.p,h(),A=N.q,C.unshift(A),function(e){var t;if(Q--,null===(t=r.monitorRunDependencies)||void 0===t||t.call(r,Q),0==Q&&(null!==E&&(clearInterval(E),E=null),d)){var A=d;d=null,A()}}(),N}if(Q++,null===(e=r.monitorRunDependencies)||void 0===e||e.call(r,Q),r.instantiateWasm)try{return r.instantiateWasm(A,n)}catch(e){l("Module.instantiateWasm callback failed with error: ".concat(e)),t(e)}return I||(I="data:application/octet-stream;base64,AGFzbQEAAAABzgEaYAN/f38Bf2AEf39/fwF/YAF/AGACf38AYAF/AX9gA39/fwBgAn9/AX9gBH9/f38AYAN/fn8BfmAFf39/f38Bf2ACfn8Bf2ACfn8BfmAFf39/f38AYAN/fn8Bf2AAAX9gB39/f39/f38Bf2AJf39/f39/f39/AX9gC39/f39/f39/f39/AX9gBn9/f39/fwF/YAZ/fH9/f38Bf2AIf39/f39/f38AYAh/f39/f39/fwF/YAAAYAZ/f39/f38AYAd/f39/f39/AGACfH8BfAJbDwFhAWEAAgFhAWIAAQFhAWMABQFhAWQAAgFhAWUADAFhAWYABwFhAWcAAwFhAWgABwFhAWkABQFhAWoACQFhAWsABAFhAWwABgFhAW0ABgFhAW4ABAFhAW8AAwPAAb4BBwIFAAYEAAUGBAUBBAwFFAYCAgICAAYQEQQCChICBQIEBwQCDgICDQYCFQMHAAAEAwEWCQkDAAkGAQQEBQUODwEBAwADBgIQBBcYAgcGAwcHAQECAAQZBAYHBA8MAAQCAgIABgAGAQEBAQEBAQEAAAAAAAYDAgICAwMDAwMAAxMIBA4EAAgDAwkECAoLCAAAAQEBAQEBAQENAQAEBAUJDwESEQEAAAYDAwEFBQUFBQUFBQELAQEBAQEBAQEBCgQFAXABbm4FBwEBggKAgAIGCAF/AUGQ2QULBxsGAXACAAFxAEEBcgCYAQFzABABdAEAAXUAlwEJvQEBAEEBC21RzAHCAXNzNqcBnAGZAYsBigGJAYgBhwGGAYUBhAFSgQGAAX9+fXx7enl4d3Z1ywHKAckByAHHAcYBQMUBxAFAQMMBwQHAAb8BvgG9AbwBuwG6AbkBswGoAaYBpQGkAaMBogG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D9DQ8ODQwLCgkIBwYFBAMCAQD9CwAAIARBEGoiBCAFRw0ACyACIAVGDQELAkAgAkEDcSIGRQRAIAUhBAwBC0EAIQAgBSEEA0AgA0EBayIDIAEtAAA6AAAgBEEBaiEEIAFBAWohASAAQQFqIgAgBkcNAAsLIAUgAmtBfEsNAANAIANBAWsgAS0AADoAACADQQJrIAEtAAE6AAAgA0EDayABLQACOgAAIANBBGsiAyABLQADOgAAIAFBBGohASAEQQRqIgQgAkcNAAsLC4AEAQN/IAJBgARPBEAgACABIAIQAiAADwsgACACaiEDAkAgACABc0EDcUUEQAJAIABBA3FFBEAgACECDAELIAJFBEAgACECDAELIAAhAgNAIAIgAS0AADoAACABQQFqIQEgAkEBaiICQQNxRQ0BIAIgA0kNAAsLAkAgA0F8cSIEQcAASQ0AIAIgBEFAaiIFSw0AA0AgAiABKAIANgIAIAIgASgCBDYCBCACIAEoAgg2AgggAiABKAIMNgIMIAIgASgCEDYCECACIAEoAhQ2AhQgAiABKAIYNgIYIAIgASgCHDYCHCACIAEoAiA2AiAgAiABKAIkNgIkIAIgASgCKDYCKCACIAEoAiw2AiwgAiABKAIwNgIwIAIgASgCNDYCNCACIAEoAjg2AjggAiABKAI8NgI8IAFBQGshASACQUBrIgIgBU0NAAsLIAIgBE8NAQNAIAIgASgCADYCACABQQRqIQEgAkEEaiICIARJDQALDAELIANBBEkEQCAAIQIMAQsgACADQQRrIgRLBEAgACECDAELIAAhAgNAIAIgAS0AADoAACACIAEtAAE6AAEgAiABLQACOgACIAIgAS0AAzoAAyABQQRqIQEgAkEEaiICIARNDQALCyACIANJBEADQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAiADRw0ACwsgAAswAQF/AkAgAEUNACABRQ0AQQggACABbCIBECUiAARAIABBACABEBUaCyAAIQILIAILEQAgAEUEQEEADwtBCCAAECUL8gICAn8BfgJAIAJFDQAgACABOgAAIAAgAmoiA0EBayABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBA2sgAToAACAD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cNBQwGCyArICsoAgAgB0EBdEECakECdWs2AgAgLyAvKAIAICAoAgBBAXRBAmpBAnVrNgIAICMgIygCACAfKAIAQQF0QQJqQQJ1azYCACBDKAIAIgcLIQEgPSA9KAIAIAEgB2pBAmpBAnVrNgIAIBUhBiAQIgEiByAPSARAA0AgFCABQQV0aiIHIAf9AAIAIDYgBkEFdGr9AAIAIAf9AAIQ/a4B/QwCAAAAAgAAAAIAAAACAAAA/a4BQQL9rAH9sQH9CwIAIAEiBkEBaiIBIA9HDQALIA8hBwsgByAbTg0AA0AgB0EDdCEBIAcgLEghBgJAIAdBAEwEQCA2KAIAIQogB0EATgRAIBQgAUECdCIBaiIyIDIoAgAgCiABIDZqIEUgBhsoAgBqQQJqQQJ1azYCACABICRqIgogCigCACAgKAIAIAEgIGogPCAGGygCAGpBAmpBAnVrNgIAIAEgKmoiCiAKKAIAIB8oAgAgASAfaiA6IAYbKAIAakECakECdWs2AgAgQygCACABIENqICYgBhsoAgBqQQJqIQYgASApaiEBDAILIBQgAUECdCIBaiIGIAYoAgAgCkEBdEECakECdWs2AgAgASAkaiIGIAYoAgAgFCgCFEEBdEECakECdWs2AgAgASAqaiIGIAYoAgAgFCgCGEEBdEECakECdWs2AgAgASApaiEBIBQoAhxBAXRBAmohBgwBCyAUIAcgLCAGG0EDdEEEa0ECdCIKaigCACEyIAZFBEAgFCABQQJ0IgFqIgYgBigCACAyIEUoAgBqQQJqQQJ1azYCACABICRqIgYgBigCACAKICRqKAIAIDwoAgBqQQJqQQJ1azYCACABICpqIgYgBigCACAKICpqKAIAIDooAgBqQQJqQQJ1azYCACABIClqIQEgCiApaigCACAmKAIAakECaiEGDAELIBQgAUECdCIBaiIGIAYoAgAgMiAGKAIQakECakECdWs2AgAgASAkaiIGIAYoAgAgCiAkaigCACAGKAIQakECakECdWs2AgAgASAqaiIGIAYoAgAgCiAqaigCACAGKAIQakECakECdWs2AgAgCiApaigCACABIClqIgEoAhBqQQJqIQYLIAEgASgCACAGQQJ1azYCACAHQQFqIgcgG0cNAAsLIA4gHE4NACAMIA4iASIHSgRAA0AgFCABQQV0aiIHIAf9AAIgIAf9AAIA/a4BQQH9rAEgB/0AAhD9rgH9CwIQIAFBAWoiASAMRw0ACyAMIQcLIAcgHE4NAANAIEMgB0EDdCIBQQJ0aiIyAn8gB0EASARAIBQoAgAhBiAHQX9HBEAgNiABQQJ0IgFqIgogCigCACAGajYCACABICBqIgYgBigCACAkKAIAajYCACABIB9qIgEgASgCACAqKAIAajYCACApKAIADAILIDYgAUECdCIBaiIKIAooAgAgVygCACAGakEBdWo2AgAgASAgaiIGIAYoAgAgVigCACAkKAIAakEBdWo2AgAgASAfaiIBIAEoAgAgVSgCACAqKAIAakEBdWo2AgAgVCgCACApKAIAakEBdQwBCyABID4gByASSBshBiASIAdBAWoiZkwEQCA2IAFBAnQiCmoiASABKAIAIGsoAgAgFCAGQQJ0aiIBKAIAakEBdWo2AgAgCiAgaiIGIAYoAgAgaigCACABKAIEakEBdWo2AgAgCiAfaiIGIAYoAgAgaSgCACABKAIIakEBdWo2AgAgaCgCACABKAIMakEBdQwBCyA2IAFBAnQiCmoiASABKAIAIBQgZkEFdGoiASgCACAUIAZBAnRqIgYoAgBqQQF1ajYCACAKICBqImYgZigCACABKAIEIAYoAgRqQQF1ajYCACAKIB9qIgogCigCACABKAIIIAYoAghqQQF1ajYCACABKAIMIAYoAgxqQQF1CyAyKAIAajYCACAHQQFqIgcgHEcNAAsLIDkgFiBdIBggSCBeQQFBBEEAECYNAAsLDAILIBQQEEEBIQcLIDkgNUEQaygCACIBIF8oAgAiBmsgNUEMaygCACBgKAIAIgprIDVBCGsoAgAiCCAGayA1QQRrKAIAIAprIAkoAjRBASAIIAFrEB4gORAjDAMLIDkQIyAUEBBBACEHDAILIDkQI0EAIQcMAQtBACEHIA4QICAPEBALICVBIGokACAHDQEMBQsgASEIQQAhDv0MAAAAAAAAAAAAAAAAAAAAACGAASMAQUBqIhwkAAJAAn8CQCAZKAJABEAgCSgCH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CAAKAIYIAJKDQALIAEgACgCFDYCBCAAIAE2AhQgACAAKAIYQQFqNgIYIAAoAhwiAUUNACABKAIAQQA2AgggACABKAIENgIcIAAgACgCIEEBazYCICABEBALC/oCAQR/AkAgAEUNACAAKAKsKCIBBEAgACgCqCgiAgRAQQAhAQNAIAAoAqwoIAFBA3RqKAIAIgMEQCADEBAgACgCqCghAgsgAUEBaiIBIAJJDQALIAAoAqwoIQELIABBADYCqCggARAQIABBADYCrCgLIAAoArQoIgEEQCABEBAgAEEANgK0KAsgACgC0CsiAQRAIAEQECAAQQA2AtArCyAAKALsKyIBBEAgARAQIABBADYC7CsLIAAoAugrIgEEQCABEBAgAEEANgLoKwsgACgC/CsiAQRAIAEQECAAQQA2AoQsIABCADcC/CsLIAAoAvArIgEEQCAAKAL0KyIDBH9BACECA0AgASgCDCIEBEAgBBAQIAFBADYCDCAAKAL0KyEDCyABQRRqIQEgAkEBaiICIANJDQALIAAoAvArBSABCxAQIABBADYC8CsLIAAoAuQrIgEEQCABEBAgAEEANgLkKwsgACgC3CsiAUUNACABEBAgAEIANwLcKwsLyAcCEX8BfiAAKAIQIghBIE8EQCAAKQMIpw8LAkAgACgCFCIDQQROBEAgACgCACICQQNrKAIAIQEgACADQQRrIgM2AhQgACACQQRrNgIADAELIANBAEwEQAwBCyADQQFxIQ0gACgCACECAkAgA0EBRgRAQRghBAwBCyADQf7///8HcSEJQRghBANAIAAgAkEBayIGNgIAIAItAAAhDCAAIAJBAmsiAjYCACAAIANBAWs2AhQgBi0AACEGIAAgA0ECayIDNgIUIAwgBHQgAXIgBiAEQQhrdHIhASAEQRBrIQQgBUECaiIFIAlHDQALCyANBEAgACACQQFrNgIAIAItAAAhDiAAIANBAWs2AhQgDiAEdCABciEBC0EAIQMLIAAoAhghAiAAIAFB/wFxIglBjwFLNgIYIABBB0EIIAFBgICA+AdxQYCAgPgHRhtBCCACGyICQQhBB0EIIAFBgID8A3FBgID8A0YbIAFB/////3hNG2oiBEEIQQdBCCABQY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gCdCIBBEAgACgCcCICBEBBACEBA0AgACgCdCABQQN0aigCACIDBEAgAxAQIAAoAnAhAgsgAUEBaiIBIAJJDQALIAAoAnQhAQsgAEEANgJwIAEQECAAQQA2AnQLIAAoAogBEBAgAEEANgJ4IABBADYCiAEgACgCZBAQIABBADYCZCAALQC8AUECcUUEQCAAKAKoARAQCyAAQdAAakEAQfAAEBUaIAAoAsABEDIgAEEANgLAASAAKALEARAyIABBADYCwAEgACgCyAEiAQRAIAEoAhwiAgRAIAIQECABQQA2AhwLIAEoAigiAgRAIAEoAiQEQANAIAIgBUEobCIDaigCJCIEBEAgBBAQIAEoAigiAiADakEANgIkCyACIANqKAIQIgQEQCAEEBAgASgCKCICIANqQQA2AhALIAIgA2ooAhgiBARAIAQQECABKAIoIgIgA2pBADYCGAsgBUEBaiIFIAEoAiRJDQALCyACEBAgAUEANgIoCyABEBALIABBADYCyAEgACgCSBAhIABBADYCSCAAKAJMECEgAEEANgJMIAAoAtQBIgMEQAJAIAMoAghFDQAgAygCDARAIANBADYCKANAIAMoAhhBAEoNAAsLIANBATYCECADKAIAEBAgAygCHCICRQ0AA0AgAigCBCEBIAIQECADIAE2AhwgASICDQALCyADKAIkIgIEQCACKAIEIgVBAEoEQEEAIQEDQCACKAIAIAFBDGxqIgQoAggiBgRAIAQoAgQgBhECACACKAIEIQULIAFBAWoiASAFSA0ACwsgAigCABAQIAIQEAsgAxAQCyAAQQA2AtQBIAAQEAsL5gMCCH8EfiAAKAIUKAIAKAIUIAFBzABsaiIJKAIMIgggACgCGCgCGCABQTRsaiIKNQIEIhBCAX0iEiAANQI8fCAQgKciCyAIIAtJGyEMIAkoAggiCCAKNQIAIhFCAX0iEyAANQI4fCARgKciCiAIIApJGyEKIAkoAgQiCCASIAA1AjR8IBCApyILIAggC0sbIQsgCSgCACIIIBMgADUCMHwgEYCnIg0gCCANSxshDUEAIQggACgCICgC0CsgAUG4CGxqKAIUIQ4CQCAJKAIUQQAgAmtBfyACG2oiAkUEQCAK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wAFyOgAAQQIMAwsgAUGAQHFBgMADRyABQYCwA09xRQRAIAAgAUE/cUGAAXI6AAIgACABQQx2QeABcjoAACAAIAFBBnZBP3FBgAFyOgABQQMMAwsgAUGAgARrQf//P00EQCAAIAFBP3FBgAFyOgADIAAgAUESdkHwAXI6AAAgACABQQZ2QT9xQYABcjoAAiAAIAFBDHZBP3FBgAFyOgABQQQMAwsLQZTHAUEZNgIAQX8MAQsgACABOgAAQQELC7wCAAJAAkACQAJAAkACQAJAAkACQAJAAkAgAUEJaw4SAAgJCggJAQIDBAoJCgoICQUGBwsgAiACKAIAIgFBBGo2AgAgACABKAIANgIADwsgAiACKAIAIgFBBGo2AgAgACABMgEANwMADwsgAiACKAIAIgFBBGo2AgAgACABMwEANwMADwsgAiACKAIAIgFBBGo2AgAgACABMAAANwMADwsgAiACKAIAIgFBBGo2AgAgACABMQAANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKwMAOQMADwsgACACIAMRAwALDwsgAiACKAIAIgFBBGo2AgAgACABNAIANwMADwsgAiACKAIAIgFBBGo2AgAgACABNQIANwMADwsgAiACKAIAQQdqQXhxIgFBCGo2AgAgACABKQMANwMAC3MBBn8gACgCACIDLAAAQTBrIgFBCUsEQEEADwsDQEF/IQQgAkHMmbPmAE0EQEF/IAEgAkEKbCIFaiABIAVB/////wdzSxshBAsgACADQQFqIgU2AgAgAywAASEGIAQhAiAFIQMgBkEwayIBQQpJDQALIAILtBQCFX8BfiMAQUBqIggkACAIIAE2AjwgCEEnaiEWIAhBKGohEQJAAkACQAJAA0BBACEHA0AgASENIAcgDkH/////B3NKDQIgByAOaiEOAkACQAJAAkAgASIHLQAAIgsEQANAAkACQCALQf8BcSIBRQRAIAchAQwBCyABQSVHDQEgByELA0AgCy0AAUElRwRAIAshAQwCCyAHQQFqIQcgCy0AAiEZIAtBAmoiASELIBlBJUYNAAsLIAcgDWsiByAOQf////8HcyIXSg0JIAAEQCAAIA0gBxAZCyAHDQcgCCABNgI8IA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gAK0gBXwMAQsCQCADIASEUA0AIAVC//8BUg0AIARCBIYgA0I8iIRCgICAgICAgASEIQJC/w8MAQtC/w8gCkH+hwFLDQAaQgBBgPgAQYH4ACAFUCIBGyIAIAprIglB8ABKDQAaIAMhAiAEIARCgICAgICAwACEIAEbIgYhBAJAQYABIAlrIgFBwABxBEAgAyABQUBqrYYhBEIAIQIMAQsgAUUNACAEIAGtIgWGIAJBwAAgAWutiIQhBCACIAWGIQILIAggAjcDECAIIAQ3AxgCQCAJQcAAcQRAIAYgCUFAaq2IIQNCACEGDAELIAlFDQAgBkHAACAJa62GIAMgCa0iAoiEIQMgBiACiCEGCyAIIAM3AwAgCCAGNwMIIAgpAwhCBIYgCCkDACICQjyIhCEDAkAgACAKRyAIKQMQIAgpAxiEQgBSca0gAkL//////////w+DhCICQoGAgICAgICACFoEQCADQgF8IQMMAQsgAkKAgICAgICAgAhSDQAgA0IBgyADfCEDCyADQoCAgICAgIAIhSADIANC/////////wdWIgAbIQIgAK0LIQMgCEEgaiQAIAsgB0KAgICAgICAgIB/gyADQjSGhCAChL85AwALhhgDE38BfAN+IwBBsARrIgwkACAMQQA2AiwCQCABvSIaQgBTBEBBASERQboIIRMgAZoiAb0hGgwBCyAEQYAQcQRAQQEhEUG9CCETDAELQcAIQbsIIARBAXEiERshEyARRSEVCwJAIBpCgICAgICAgPj/AINCgICAgICAgPj/AFEEQCAAQSAgAiARQQNqIgMgBEH//3txEBwgACATIBEQGSAAQZIJQfYKIAVBIHEiBRtB+wlB+gogBRsgASABYhtBAxAZIABBICACIAMgBEGAwABzEBwgAyACIAIgA0gbIQoMAQsgDEEQaiESAkACfwJAIAEgDEEsahBlIgEgAaAiAUQAAAAAAAAAAGIEQCAMIAwoAiwiBkEBazYCLCAFQSByIg5B4QBHDQEMAwsgBUEgciIOQeEARg0CIAwoAiwhCUEGIAMgA0EASBsMAQsgDCAGQR1rIgk2AiwgAUQAAAAAAACwQaIhAUEGIAMgA0EASBsLIQsgDEEwakGgAk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AYQECACQQFB/w9BABAPQQAMBwsgBEECcUUEQCACQQFBwg9BABAPIAYQEEEADAcLIAAgBEH/////B3I2AmQgASAHIAVrrSINIAIgASgCKBEIACANUQ0DIAAtAGRBCHFFDQEgAkECQZIcQQAQDwsgBhAQQQEMBQsgAkEBQZIcQQAQDyAGEBBBAAwECyABIAQgBSACEBogBUcEQCACQQFBxBxBABAPIAQQEEEADAQLIAAgBCIGIAUgAiAKKAIEEQEADQALIAQQEEEADAILIAJBAUGiJUEAEA9BAAwBCyAGEBBBAAshDCADQfAAaiQAIAwL5gEBBn8gACgCCEE1IAIQJARAAkAgACgCCCIGKAIAIQMgBigCCCEFAkACQAJ/AkAgAwRAQQEhBCADQQFxIQcgA0EBRw0BQQAMAgsgBkEANgIADAILIANBfnEhAwNAAn9BACAERQ0AGkEAIAAgASACIAUoAgARAABFDQAaIAAgASACIAUoAgQRAABBAEcLIQQgBUEIaiEFIAhBAmoiCCADRw0ACyAERQshAyAHBEAgAw0CIAAgASACIAUoAgARAABBAEchBAsgBkEANgIAIARFDQILIAAoAgAaQQEPCyAGQQA2AgALC0EACwoAIAAoAgAaQQALFAAgACgCACIABEAgACABNgK4AQsLIQAgACgCACABEFMgAEEAOgB8IAAgASgCuEBBAXE2AoABCzIAIAJFBEBBAA8LIAAoAgAgASACIAMQSEUEQCADQQFBqS9BABAPQQAPCyAAIAIgAxBxC2kCAn8BfCMAQRBrIgMkACACBEADQCAAIANBCGoQRCABAn8gAysDCCIFmUQAAAAAAADgQWMEQCAFqgwBC0GAgICAeAs2AgAgAUEEaiEBIABBCGohACAEQQFqIgQgAkcNAAsLIANBEGokAAuEAQICfwF9IwBBEGsiAyQAIAIEQANAIAMgAC0AADoADyADIAAtAAE6AA4gAyAALQACOgANIAMgAC0AAzoADCABAn8gAyoCDCIFi0MAAABPXQRAIAWoDAELQYCAgIB4CzYCACABQQRqIQEgAEEEaiEAIARBAWoiBCACRw0ACwsgA0EQaiQAC0sBAn8jAEEQayIDJAAgAgRAA0AgACADQQxqQQQQESABIAMoAgw2AgAgAUEEaiEBIABBBGohACAEQQFqIgQgAkcNAAsLIANBEGokAAtLAQJ/IwBBEGsiAyQAIAIEQANAIAAgA0EMakECEBEgASADKAIMNgIAIAFBBGohASAAQQJqIQAgBEEBaiIEIAJHDQALCyADQRBqJAALSgECfyMAQRBrIgMkACACBEADQCAAIANBCGoQRCABIAMrAwi2OAIAIAFBBGohASAAQQhqIQAgBEEBaiIEIAJHDQALCyADQRBqJAALaAECfyMAQRBrIgMkACACBEADQCADIAAtAAA6AA8gAyAALQABOgAOIAMgAC0AAjoADSADIAAtAAM6AAwgASADKgIMOAIAIAFBBGohASAAQQRqIQAgBEEBaiIEIAJHDQALCyADQRBqJAALTAECfyMAQRBrIgMkACACBEADQCAAIANBDGpBBBARIAEgAygCDLM4AgAgAUEEaiEBIABBBGohACAEQQFqIgQgAkcNAAsLIANBEGokAAtMAQJ/IwBBEGsiAyQAIAIEQANAIAAgA0EMakECEBEgASADKAIMszgCACABQQRqIQEgAEECaiEAIARBAWoiBCACRw0ACwsgA0EQaiQAC6oIAg1/AXsjAEEQayIIJAACfyAAKAIIQRBGBEAgACgCnAEgACgCzAFBjCxsagwBCyAAKAIMCyEJAkAgAkUEQCADQQFB8B9BABAPDAELIAAoAkghBkEBIQQgASAIQQhqQQEQESAIKAIIIgVBAk8EQCADQQJBxsgAQQAQDwwBCyACIAVBAWpHBEBBACEEIANBAkHwH0EAEA8MAQsCQCAGKAIQIgNFDQAgCSgC0CshBCADQQhPBEAgA0F4cSEGQQAhAgNAIARBADYCvEMgBEEANgKEOyAEQQA2AswyIARBADYClCogBEEANgLcISAEQQA2AqQZIARBADYC7BAgBEEANgK0CCAEQcDDAGohBCACQQhqIgIgBkcNAAsLIANBB3EiA0UNAEEAIQIDQCAEQQA2ArQIIARBuAhqIQQgAkEBaiICIANHDQALCyAJKALoKyICBH8gAhAQIAlBADYC6CsgCCgCCAUgBQtFBEBBASEEDAELA0AgAUEBaiIBIAhBD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AAuAAAALwAAADAAAAAxAAAAMgAAADMAAAA0AAAAICBQajYAAABweXRmNwAAAGgycGo4AEHAwAELMnJkaGk5AAAAcmxvYzoAAABjY3BiOwAAAHJsY3A8AAAAcGFtYz0AAABmZWRjPgAAAPhiAEGAwQELQRkACwAZGRkAAAAABQAAAAAAAAkAAAAACwAAAAAAAAAAGQAKChkZGQMKBwABAAkLGAAACQYLAAALAAYZAAAAGRkZAEHRwQELIQ4AAAAAAAAAABkACw0ZGRkADQAAAgAJDgAAAAkADgAADgBBi8IBCwEMAEGXwgELFRMAAAAAEwAAAAAJDAAAAAAADAAADABBxcIBCwEQAEHRwgELFQ8AAAAEDwAAAAAJEAAAAAAAEAAAEABB/8IBCwESAEGLwwELHhEAAAAAEQAAAAAJEgAAAAAAEgAAEgAAGgAAABoaGgBBwsMBCw4aAAAAGhoaAAAAAAAACQBB88MBCwEUAEH/wwELFRcAAAAAFwAAAAAJFAAAAAAAFAAAFABBrcQBCwEWAEG5xAELJxUAAAAAFQAAAAAJFgAAAAAAFgAAFgAAMDEyMzQ1Njc4OUFCQ0RFRgBB4MQBCwmQbAEAAAAAAAUAQfTEAQsBaQBBjMUBCwpqAAAAawAAAHhoAEGkxQELAQIAQbTFAQsI//////////8AQfjFAQsBBQBBhMYBCwFsAEGcxgELDmoAAABtAAAAiGgAAAAEAEG0xgELAQEAQcTGAQsF/////wo="),n(v(I,A)[0])}();function L(){function t(){w||(w=!0,r.calledRun=!0,m(C),e(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),B.unshift(e);var e;m(B)}())}Q>0||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),f.unshift(e);var e;m(f)}(),Q>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),t()}),1)):t()))}if(N.q,r._malloc=N.r,r._free=N.s,r._jp2_decode=N.u,d=function e(){w||L(),w||(d=e)},r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();return L(),r});const Ya=Ha;function Pa(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function Oa(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ta(A.key),A)}}function Ka(e,t,r){return t&&Oa(e.prototype,t),r&&Oa(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ta(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function qa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ja(e,t,r){return t=Za(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Wa()?Reflect.construct(t,r||[],Za(e).constructor):t.apply(e,r))}function Wa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Wa=function(){return!!e})()}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Za(e)}function _a(e,t){return _a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_a(e,t)}var Xa=function(e){function t(e){return qa(this,t),ja(this,t,[e,"JpxError"])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_a(e,t)}(t,X),Ka(t)}(),Va=function(){function e(){qa(this,e)}return Ka(e,null,[{key:"decode",value:function(t,r){r||(r={}),Pa(e,this,za)._||(za._=Pa(e,this,Ya({warn:q})));var A=Pa(e,this,za)._.decode(t,r);if("string"==typeof A)throw new Xa(A);return A}},{key:"cleanup",value:function(){za._=Pa(e,this,null)}},{key:"parseImageProperties",value:function(e){for(var t=e.getByte();t>=0;)if(65361==(t<<8|(t=e.getByte()))){e.skip(4);var r=e.getInt32()>>>0,A=e.getInt32()>>>0,n=e.getInt32()>>>0,i=e.getInt32()>>>0;return e.skip(16),{width:r-n,height:A-i,bitsPerComponent:8,componentsCount:e.getUint16()}}throw new Xa("No size marker found in JPX stream")}}])}(),za={_:null};function $a(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,eo(A.key),A)}}function eo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function to(e,t,r){return t=Ao(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ro()?Reflect.construct(t,r||[],Ao(e).constructor):t.apply(e,r))}function ro(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ro=function(){return!!e})()}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ao(e)}function no(e,t){return no=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},no(e,t)}var io=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=to(this,t,[r])).stream=e,n.dict=e.dict,n.maybeLength=r,n.params=A,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&no(e,t)}(t,XA),r=t,(A=[{key:"bytes",get:function(){return _(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(e){this.decodeImage(null,e)}},{key:"decodeImage",value:function(e,t){return this.eof||(e||(e=this.bytes),this.buffer=Va.decode(e,t),this.bufferLength=this.buffer.length,this.eof=!0),this.buffer}},{key:"canAsyncDecodeImageFromBuffer",get:function(){return this.stream.isAsync}}])&&$a(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function ao(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,oo(A.key),A)}}function oo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function so(e,t,r){return t=go(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,co()?Reflect.construct(t,r||[],go(e).constructor):t.apply(e,r))}function co(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(co=function(){return!!e})()}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},go(e)}function uo(e,t){return uo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uo(e,t)}var lo=function(e){function t(e,r,A){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=so(this,t,[r])).str=e,n.dict=e.dict,n.cachedData=0,n.bitsCached=0;for(var i=4096,a={earlyChange:A,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(i),dictionaryLengths:new Uint16Array(i),dictionaryPrevCodes:new Uint16Array(i),currentSequence:new Uint8Array(i),currentSequenceLength:0},o=0;o<256;++o)a.dictionaryValues[o]=o,a.dictionaryLengths[o]=1;return n.lzwState=a,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uo(e,t)}(t,XA),r=t,(A=[{key:"readBits",value:function(e){for(var t=this.bitsCached,r=this.cachedData;t<e;){var A=this.str.getByte();if(-1===A)return this.eof=!0,null;r=r<<8|A,t+=8}return this.bitsCached=t-=e,this.cachedData=r,this.lastCode=null,r>>>t&(1<<e)-1}},{key:"readBlock",value:function(){var e,t,r,A=1024,n=this.lzwState;if(n){var i=n.earlyChange,a=n.nextCode,o=n.dictionaryValues,s=n.dictionaryLengths,c=n.dictionaryPrevCodes,g=n.codeLength,u=n.prevCode,l=n.currentSequence,h=n.currentSequenceLength,I=0,f=this.bufferLength,C=this.ensureBuffer(this.bufferLength+A);for(e=0;e<512;e++){var B=this.readBits(g),Q=h>0;if(B<256)l[0]=B,h=1;else{if(!(B>=258)){if(256===B){g=9,a=258,h=0;continue}this.eof=!0,delete this.lzwState;break}if(B<a)for(t=(h=s[B])-1,r=B;t>=0;t--)l[t]=o[r],r=c[r];else l[h++]=l[0]}if(Q&&(c[a]=u,s[a]=s[u]+1,o[a]=l[0],g=++a+i&a+i-1?g:0|Math.min(Math.log(a+i)/.6931471805599453+1,12)),u=B,A<(I+=h)){do{A+=512}while(A<I);C=this.ensureBuffer(this.bufferLength+A)}for(t=0;t<h;t++)C[f++]=l[t]}n.nextCode=a,n.codeLength=g,n.prevCode=u,n.currentSequenceLength=h,this.bufferLength=f}}}])&&ao(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function ho(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Io(A.key),A)}}function Io(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function fo(e,t,r){return t=Qo(t),Co(e,Bo()?Reflect.construct(t,r||[],Qo(e).constructor):t.apply(e,r))}function Co(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Bo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Bo=function(){return!!e})()}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qo(e)}function Eo(e,t){return Eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Eo(e,t)}var yo=function(e){function t(e,r,A){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=fo(this,t,[r]),!(A instanceof He))return Co(n,e);var i=n.predictor=A.get("Predictor")||1;if(i<=1)return Co(n,e);if(2!==i&&(i<10||i>15))throw new re("Unsupported predictor: ".concat(i));n.readBlock=2===i?n.readBlockTiff:n.readBlockPng,n.str=e,n.dict=e.dict;var a=n.colors=A.get("Colors")||1,o=n.bits=A.get("BPC","BitsPerComponent")||8,s=n.columns=A.get("Columns")||1;return n.pixBytes=a*o+7>>3,n.rowBytes=s*a*o+7>>3,Co(n,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Eo(e,t)}(t,XA),r=t,(A=[{key:"readBlockTiff",value:function(){var e=this.rowBytes,t=this.bufferLength,r=this.ensureBuffer(t+e),A=this.bits,n=this.colors,i=this.str.getBytes(e);if(this.eof=!i.length,!this.eof){var a,o=0,s=0,c=0,g=0,u=t;if(1===A&&1===n)for(a=0;a<e;++a){var l=i[a]^o;l^=l>>1,l^=l>>2,o=(1&(l^=l>>4))<<7,r[u++]=l}else if(8===A){for(a=0;a<n;++a)r[u++]=i[a];for(;a<e;++a)r[u]=r[u-n]+i[a],u++}else if(16===A){var h=2*n;for(a=0;a<h;++a)r[u++]=i[a];for(;a<e;a+=2){var I=((255&i[a])<<8)+(255&i[a+1])+((255&r[u-h])<<8)+(255&r[u-h+1]);r[u++]=I>>8&255,r[u++]=255&I}}else{var f=new Uint8Array(n+1),C=(1<<A)-1,B=0,Q=t,E=this.columns;for(a=0;a<E;++a)for(var d=0;d<n;++d)c<A&&(o=o<<8|255&i[B++],c+=8),f[d]=f[d]+(o>>c-A)&C,c-=A,s=s<<A|f[d],(g+=A)>=8&&(r[Q++]=s>>g-8&255,g-=8);g>0&&(r[Q++]=(s<<8-g)+(o&(1<<8-g)-1))}this.bufferLength+=e}}},{key:"readBlockPng",value:function(){var e=this.rowBytes,t=this.pixBytes,r=this.str.getByte(),A=this.str.getBytes(e);if(this.eof=!A.length,!this.eof){var n=this.bufferLength,i=this.ensureBuffer(n+e),a=i.subarray(n-e,n);0===a.length&&(a=new Uint8Array(e));var o,s,c,g=n;switch(r){case 0:for(o=0;o<e;++o)i[g++]=A[o];break;case 1:for(o=0;o<t;++o)i[g++]=A[o];for(;o<e;++o)i[g]=i[g-t]+A[o]&255,g++;break;case 2:for(o=0;o<e;++o)i[g++]=a[o]+A[o]&255;break;case 3:for(o=0;o<t;++o)i[g++]=(a[o]>>1)+A[o];for(;o<e;++o)i[g]=(a[o]+i[g-t]>>1)+A[o]&255,g++;break;case 4:for(o=0;o<t;++o)s=a[o],c=A[o],i[g++]=s+c;for(;o<e;++o){s=a[o];var u=a[o-t],l=i[g-t],h=l+s-u,I=h-l;I<0&&(I=-I);var f=h-s;f<0&&(f=-f);var C=h-u;C<0&&(C=-C),c=A[o],i[g++]=I<=f&&I<=C?l+c:f<=C?s+c:u+c}break;default:throw new re("Unsupported predictor: ".concat(r))}this.bufferLength+=e}}}])&&ho(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function po(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,vo(A.key),A)}}function vo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function mo(e,t,r){return t=bo(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wo()?Reflect.construct(t,r||[],bo(e).constructor):t.apply(e,r))}function wo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wo=function(){return!!e})()}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bo(e)}function ko(e,t){return ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ko(e,t)}var Do=function(e){function t(e,r){var A;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(A=mo(this,t,[r])).str=e,A.dict=e.dict,A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ko(e,t)}(t,XA),r=t,(A=[{key:"readBlock",value:function(){var e=this.str.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{var t,r=this.bufferLength,A=e[0];if(A<128){if((t=this.ensureBuffer(r+A+1))[r++]=e[1],A>0){var n=this.str.getBytes(A);t.set(n,r),r+=A}}else{A=257-A;var i=e[1];t=this.ensureBuffer(r+A+1);for(var a=0;a<A;a++)t[r++]=i}this.bufferLength=r}}}])&&po(r.prototype,A),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,A}();function So(e){return function(e){if(Array.isArray(e))return Ro(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||xo(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fo(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=xo(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function xo(e,t){if(e){if("string"==typeof e)return Ro(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ro(e,t):void 0}}function Ro(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Go(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function No(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Uo(A.key),A)}}function Lo(e,t,r){return t&&No(e.prototype,t),r&&No(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Uo(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Mo=new WeakSet,Jo=function(){return Lo((function e(t){var r=t.lexer,A=t.xref,n=t.allowStreams,i=void 0!==n&&n,a=t.recoveryMode,o=void 0!==a&&a;Go(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,Mo),this.lexer=r,this.xref=A,this.allowStreams=i,this.recoveryMode=o,this.imageCache=Object.create(null),this._imageId=0,this.refill()}),[{key:"refill",value:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof Me&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}},{key:"tryShift",value:function(){try{return this.shift(),!0}catch(e){if(e instanceof Ct)throw e;return!1}}},{key:"getObj",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.buf1;if(this.shift(),t instanceof Me)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var r=[];!Te(this.buf1,"]")&&this.buf1!==Re;)r.push(this.getObj(e));if(this.buf1===Re){if(this.recoveryMode)return r;throw new Bt("End of file inside array.")}return this.shift(),r;case"<<":for(var A=new He(this.xref);!Te(this.buf1,">>")&&this.buf1!==Re;)if(this.buf1 instanceof Ue){var n=this.buf1.name;if(this.shift(),this.buf1===Re)break;A.set(n,this.getObj(e))}else T("Malformed dictionary: key must be a name object"),this.shift();if(this.buf1===Re){if(this.recoveryMode)return A;throw new Bt("End of file inside dictionary.")}return Te(this.buf2,"stream")?this.allowStreams?this.makeStream(A,e):A:(this.shift(),A);default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&Te(this.buf2,"R")){var i=Ye.get(t,this.buf1);return this.shift(),this.shift(),i}return t}return"string"==typeof t&&e?e.decryptString(t):t}},{key:"findDefaultInlineStreamEnd",value:function(e){for(var t,r,A=this.lexer.knownCommands,n=e.pos,i=0;-1!==(t=e.getByte());)if(0===i)i=69===t?1:0;else if(1===i)i=73===t?2:0;else if(32===t||10===t||13===t){r=e.pos;var a=e.peekBytes(15),o=a.length;if(0===o)break;for(var s=0;s<o;s++)if((0!==(t=a[s])||0===a[s+1])&&10!==t&&13!==t&&(t<32||t>127)){i=0;break}if(2!==i)continue;if(!A){q("findDefaultInlineStreamEnd - \`lexer.knownCommands\` is undefined.");continue}var c=new Oo(new ar(a.slice()),A);c._hexStringWarn=function(){};for(var g=0;;){var u=c.getObj();if(u===Re){i=0;break}if(u instanceof Me){var l=A[u.cmd];if(!l){i=0;break}if(l.variableArgs?g<=l.numArgs:g===l.numArgs)break;g=0}else g++}if(2===i)break}else i=0;-1===t&&(q("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),r&&(q('... trying to recover by using the last "EI" occurrence.'),e.skip(-(e.pos-r))));var h=4;return e.skip(-h),t=e.peekByte(),e.skip(h),Dt(t)||h--,e.pos-h-n}},{key:"findDCTDecodeInlineStreamEnd",value:function(e){for(var t,r,A=e.pos,n=!1;-1!==(t=e.getByte());)if(255===t){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:n=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:(r=e.getUint16())>2?e.skip(r-2):e.skip(-2)}if(n)break}var i=e.pos-A;return-1===t?(q("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-i),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),i)}},{key:"findASCII85DecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte());)if(126===t){var A=e.pos;for(t=e.peekByte();Dt(t);)e.skip(),t=e.peekByte();if(62===t){e.skip();break}if(e.pos>A){var n=e.peekBytes(2);if(69===n[0]&&73===n[1])break}}var i=e.pos-r;return-1===t?(q("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-i),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),i)}},{key:"findASCIIHexDecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte())&&62!==t;);var A=e.pos-r;return-1===t?(q("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-A),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),A)}},{key:"inlineStreamSkipEI",value:function(e){for(var t,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;else if(1===r)r=73===t?2:0;else if(2===r)break}},{key:"makeInlineImage",value:function(e){for(var t,r=this.lexer,A=r.stream,n=Object.create(null);!Te(this.buf1,"ID")&&this.buf1!==Re;){if(!(this.buf1 instanceof Ue))throw new re("Dictionary key must be a name object");var i=this.buf1.name;if(this.shift(),this.buf1===Re)break;n[i]=this.getObj(e)}-1!==r.beginInlineImagePos&&(t=A.pos-r.beginInlineImagePos);var a,o=this.xref.fetchIfRef(n.F||n.Filter);if(o instanceof Ue)a=o.name;else if(Array.isArray(o)){var s=this.xref.fetchIfRef(o[0]);s instanceof Ue&&(a=s.name)}var c,g,u=A.pos;switch(a){case"DCT":case"DCTDecode":c=this.findDCTDecodeInlineStreamEnd(A);break;case"A85":case"ASCII85Decode":c=this.findASCII85DecodeInlineStreamEnd(A);break;case"AHx":case"ASCIIHexDecode":c=this.findASCIIHexDecodeInlineStreamEnd(A);break;default:c=this.findDefaultInlineStreamEnd(A)}if(c<1e3&&t>0){var l=A.pos;A.pos=r.beginInlineImagePos,g=function(e){for(var t=[],r=e.length,A=0;A<r-1;)t.push(e[A++]<<8|e[A++]);return A<r&&t.push(e[A]),r+"_"+String.fromCharCode.apply(null,t)}(A.getBytes(t+c)),A.pos=l;var h=this.imageCache[g];if(void 0!==h)return this.buf2=Me.get("EI"),this.shift(),h.reset(),h}var I=new He(this.xref);for(var f in n)I.set(f,n[f]);var C=A.makeSubStream(u,c,I);return e&&(C=e.createStream(C,c)),(C=this.filter(C,I,c)).dict=I,void 0!==g&&(C.cacheKey="inline_img_".concat(++this._imageId),this.imageCache[g]=C),this.buf2=Me.get("EI"),this.shift(),C}},{key:"makeStream",value:function(e,t){var r=this.lexer,A=r.stream;r.skipToNextLine();var n=A.pos-1,i=e.get("Length");if(Number.isInteger(i)||(T('Bad length "'.concat(i&&i.toString(),'" in stream.')),i=0),A.pos=n+i,r.nextChar(),this.tryShift()&&Te(this.buf2,"endstream"))this.shift();else{if(i=function(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}(Mo,this,Ho).call(this,n),i<0)throw new re("Missing endstream command.");r.nextChar(),this.shift(),this.shift()}return this.shift(),A=A.makeSubStream(n,i,e),t&&(A=t.createStream(A,i)),(A=this.filter(A,e,i)).dict=e,A}},{key:"filter",value:function(e,t,r){var A=t.get("F","Filter"),n=t.get("DP","DecodeParms");if(A instanceof Ue)return Array.isArray(n)&&q("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(e,A.name,r,n);var i=r;if(Array.isArray(A))for(var a=A,o=n,s=0,c=a.length;s<c;++s){if(!((A=this.xref.fetchIfRef(a[s]))instanceof Ue))throw new re('Bad filter name "'.concat(A,'"'));n=null,Array.isArray(o)&&s in o&&(n=this.xref.fetchIfRef(o[s])),e=this.makeFilter(e,A.name,i,n),i=null}return e}},{key:"makeFilter",value:function(e,t,r,A){if(0===r)return q('Empty "'.concat(t,'" stream.')),new sr;try{switch(t){case"Fl":case"FlateDecode":return A?new yo(new _n(e,r),r,A):new _n(e,r);case"LZW":case"LZWDecode":var n=1;return A?(A.has("EarlyChange")&&(n=A.get("EarlyChange")),new yo(new lo(e,r,n),r,A)):new lo(e,r,n);case"DCT":case"DCTDecode":return new Ja(e,r,A);case"JPX":case"JPXDecode":return new io(e,r,A);case"A85":case"ASCII85Decode":return new nn(e,r);case"AHx":case"ASCIIHexDecode":return new hn(e,r);case"CCF":case"CCITTFaxDecode":return new Fn(e,r,A);case"RL":case"RunLengthDecode":return new Do(e,r);case"JBIG2Decode":return new Vi(e,r,A)}return q('Filter "'.concat(t,'" is not supported.')),e}catch(e){if(e instanceof Ct)throw e;return q('Invalid stream: "'.concat(e,'"')),new sr}}}])}();function Ho(e){var t=this.lexer.stream;t.pos=e;for(var r=new Uint8Array([101,110,100]),A=r.length,n=[new Uint8Array([115,116,114,101,97,109]),new Uint8Array([115,116,101,97,109]),new Uint8Array([115,116,114,101,97])],i=9-A;t.pos<t.end;){var a=t.peekBytes(2048),o=a.length-9;if(o<=0)break;for(var s=0;s<o;){for(var c=0;c<A&&a[s+c]===r[c];)c++;if(c>=A){var g,u=!1,l=Fo(n);try{for(l.s();!(g=l.n()).done;){for(var h=g.value,I=h.length,f=0;f<I&&a[s+c+f]===h[f];)f++;if(f>=i){u=!0;break}if(f>=I){Dt(a[s+c+f])&&(T('Found "'.concat(ne([].concat(So(r),So(h))),'" when ')+"searching for endstream command."),u=!0);break}}}catch(e){l.e(e)}finally{l.f()}if(u)return t.pos+=s,t.pos-e}s++}t.pos+=o}return-1}var Yo=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Po(e){return e>=48&&e<=57?15&e:e>=65&&e<=70||e>=97&&e<=102?9+(15&e):-1}var Oo=function(){return Lo((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Go(this,e),this.stream=t,this.nextChar(),this.strBuf=[],this.knownCommands=r,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var e=this.currentChar,t=!1,r=0,A=1;if(45===e?(A=-1,45===(e=this.nextChar())&&(e=this.nextChar())):43===e&&(e=this.nextChar()),10===e||13===e)do{e=this.nextChar()}while(10===e||13===e);if(46===e&&(r=10,e=this.nextChar()),e<48||e>57){var n="Invalid number: ".concat(String.fromCharCode(e)," (charCode ").concat(e,")");if(Dt(e)||-1===e)return T('Lexer.getNumber - "'.concat(n,'".')),0;throw new re(n)}for(var i=e-48,a=0,o=1;(e=this.nextChar())>=0;)if(e>=48&&e<=57){var s=e-48;t?a=10*a+s:(0!==r&&(r*=10),i=10*i+s)}else if(46===e){if(0!==r)break;r=1}else if(45===e)q("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;if(43===(e=this.peekChar())||45===e)o=45===e?-1:1,this.nextChar();else if(e<48||e>57)break;t=!0}return 0!==r&&(i/=r),t&&(i*=Math.pow(10,o*a)),A*i}},{key:"getString",value:function(){var e=1,t=!1,r=this.strBuf;r.length=0;for(var A=this.nextChar();;){var n=!1;switch(0|A){case-1:q("Unterminated string"),t=!0;break;case 40:++e,r.push("(");break;case 41:0==--e?(this.nextChar(),t=!0):r.push(")");break;case 92:switch(A=this.nextChar()){case-1:q("Unterminated string"),t=!0;break;case 110:r.push("\\n");break;case 114:r.push("\\r");break;case 116:r.push("\\t");break;case 98:r.push("\\b");break;case 102:r.push("\\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(A));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var i=15&A;n=!0,(A=this.nextChar())>=48&&A<=55&&(i=(i<<3)+(15&A),(A=this.nextChar())>=48&&A<=55&&(n=!1,i=(i<<3)+(15&A))),r.push(String.fromCharCode(i));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(A))}break;default:r.push(String.fromCharCode(A))}if(t)break;n||(A=this.nextChar())}return r.join("")}},{key:"getName",value:function(){var e,t,r=this.strBuf;for(r.length=0;(e=this.nextChar())>=0&&!Yo[e];)if(35===e){if(e=this.nextChar(),Yo[e]){q("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),r.push("#");break}var A=Po(e);if(-1!==A){t=e;var n=Po(e=this.nextChar());if(-1===n){if(q("Lexer_getName: Illegal digit (".concat(String.fromCharCode(e),") ")+"in hexadecimal number."),r.push("#",String.fromCharCode(t)),Yo[e])break;r.push(String.fromCharCode(e));continue}r.push(String.fromCharCode(A<<4|n))}else r.push("#",String.fromCharCode(e))}else r.push(String.fromCharCode(e));return r.length>127&&q("Name token is longer than allowed by the spec: ".concat(r.length)),Ue.get(r.join(""))}},{key:"_hexStringWarn",value:function(e){5!=this._hexStringNumWarn++?this._hexStringNumWarn>5||q("getHexString - ignoring invalid character: ".concat(e)):q("getHexString - ignoring additional invalid characters.")}},{key:"getHexString",value:function(){var e=this.strBuf;e.length=0;var t=this.currentChar,r=-1,A=-1;for(this._hexStringNumWarn=0;;){if(t<0){q("Unterminated hex string");break}if(62===t){this.nextChar();break}1!==Yo[t]?(-1===(A=Po(t))?this._hexStringWarn(t):-1===r?r=A:(e.push(String.fromCharCode(r<<4|A)),r=-1),t=this.nextChar()):t=this.nextChar()}return-1!==r&&e.push(String.fromCharCode(r<<4)),e.join("")}},{key:"getObj",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return Re;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==Yo[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),Me.get("[");case 93:return this.nextChar(),Me.get("]");case 60:return 60===(t=this.nextChar())?(this.nextChar(),Me.get("<<")):this.getHexString();case 62:return 62===(t=this.nextChar())?(this.nextChar(),Me.get(">>")):Me.get(">");case 123:return this.nextChar(),Me.get("{");case 125:return this.nextChar(),Me.get("}");case 41:throw this.nextChar(),new re("Illegal character: ".concat(t))}var r=String.fromCharCode(t);if(t<32||t>127){var A=this.peekChar();if(A>=32&&A<=127)return this.nextChar(),Me.get(r)}for(var n=this.knownCommands,i=void 0!==(null==n?void 0:n[r]);(t=this.nextChar())>=0&&!Yo[t];){var a=r+String.fromCharCode(t);if(i&&void 0===n[a])break;if(128===r.length)throw new re("Command token too long: ".concat(r.length));r=a,i=void 0!==(null==n?void 0:n[r])}return"true"===r||"false"!==r&&("null"===r?null:("BI"===r&&(this.beginInlineImagePos=this.stream.pos),Me.get(r)))}},{key:"skipToNextLine",value:function(){for(var e=this.currentChar;e>=0;){if(13===e){10===(e=this.nextChar())&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}])}(),Ko=function(){return Lo((function e(){Go(this,e)}),null,[{key:"create",value:function(e){function t(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=e.get(t);if(Number.isInteger(A)&&(r?A>=0:A>0))return A;throw new Error('The "'.concat(t,'" parameter in the linearization ')+"dictionary is invalid.")}var r,A,n=new Jo({lexer:new Oo(e),xref:null}),i=n.getObj(),a=n.getObj(),o=n.getObj(),s=n.getObj();if(!(Number.isInteger(i)&&Number.isInteger(a)&&Te(o,"obj")&&s instanceof He&&"number"==typeof(r=s.get("Linearized"))&&r>0))return null;if((A=t(s,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:A,hints:function(e){var t,r=e.get("H");if(Array.isArray(r)&&(2===(t=r.length)||4===t)){for(var A=0;A<t;A++){var n=r[A];if(!(Number.isInteger(n)&&n>0))throw new Error("Hint (".concat(A,") in the linearization dictionary is invalid."))}return r}throw new Error("Hint array in the linearization dictionary is invalid.")}(s),objectNumberFirst:t(s,"O"),endFirst:t(s,"E"),numPages:t(s,"N"),mainXRefEntriesOffset:t(s,"T"),pageFirst:s.has("P")?t(s,"P",!0):0}}}])}();function To(){To=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function qo(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function jo(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){qo(i,A,n,a,o,"next",e)}function o(e){qo(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Wo(e,t,r){return t=_o(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zo()?Reflect.construct(t,r||[],_o(e).constructor):t.apply(e,r))}function Zo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Zo=function(){return!!e})()}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_o(e)}function Xo(e,t){return Xo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xo(e,t)}function Vo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zo(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,es(A.key),A)}}function $o(e,t,r){return t&&zo(e.prototype,t),r&&zo(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function es(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var ts=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],rs=Math.pow(2,24)-1,As=function(){return $o((function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Vo(this,e),this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=t}),[{key:"addCodespaceRange",value:function(e,t,r){this.codespaceRanges[e-1].push(t,r),this.numCodespaceRanges++}},{key:"mapCidRange",value:function(e,t,r){if(t-e>rs)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=r++}},{key:"mapBfRange",value:function(e,t,r){if(t-e>rs)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var A=r.length-1;e<=t;){this._map[e++]=r;var n=r.charCodeAt(A)+1;r=n>255?r.substring(0,A-1)+String.fromCharCode(r.charCodeAt(A-1)+1)+"\\0":r.substring(0,A)+String.fromCharCode(n)}}},{key:"mapBfRangeToArray",value:function(e,t,r){if(t-e>rs)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");for(var A=r.length,n=0;e<=t&&n<A;)this._map[e]=r[n++],++e}},{key:"mapOne",value:function(e,t){this._map[e]=t}},{key:"lookup",value:function(e){return this._map[e]}},{key:"contains",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){var t=this._map,r=t.length;if(r<=65536)for(var A=0;A<r;A++)void 0!==t[A]&&e(A,t[A]);else for(var n in t)e(n,t[n])}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(e,t,r){for(var A=0,n=this.codespaceRanges,i=0,a=n.length;i<a;i++){A=(A<<8|e.charCodeAt(t+i))>>>0;for(var o=n[i],s=0,c=o.length;s<c;){var g=o[s++],u=o[s++];if(A>=g&&A<=u)return r.charcode=A,void(r.length=i+1)}}r.charcode=0,r.length=1}},{key:"getCharCodeLength",value:function(e){for(var t=this.codespaceRanges,r=0,A=t.length;r<A;r++)for(var n=t[r],i=0,a=n.length;i<a;){var o=n[i++],s=n[i++];if(e>=o&&e<=s)return r+1}return 1}},{key:"length",get:function(){return this._map.length}},{key:"isIdentityCMap",get:function(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(var e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}])}(),ns=function(e){function t(e,r){var A;return Vo(this,t),(A=Wo(this,t)).vertical=e,A.addCodespaceRange(r,0,65535),A}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xo(e,t)}(t,As),$o(t,[{key:"mapCidRange",value:function(e,t,r){j("should not call mapCidRange")}},{key:"mapBfRange",value:function(e,t,r){j("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(e,t,r){j("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(e,t){j("should not call mapCidOne")}},{key:"lookup",value:function(e){return Number.isInteger(e)&&e<=65535?e:void 0}},{key:"contains",value:function(e){return Number.isInteger(e)&&e<=65535}},{key:"forEach",value:function(e){for(var t=0;t<=65535;t++)e(t,t)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e<=65535?e:-1}},{key:"getMap",value:function(){for(var e=new Array(65536),t=0;t<=65535;t++)e[t]=t;return e}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){j("should not access .isIdentityCMap")}}])}();function is(e){for(var t=0,r=0;r<e.length;r++)t=t<<8|e.charCodeAt(r);return t>>>0}function as(e){if("string"!=typeof e)throw new re("Malformed CMap: expected string.")}function os(e){if(!Number.isInteger(e))throw new re("Malformed CMap: expected int.")}function ss(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endbfchar"))return;as(r);var A=is(r);as(r=t.getObj());var n=r;e.mapOne(A,n)}}function cs(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endbfrange"))return;as(r);var A=is(r);as(r=t.getObj());var n=is(r);if(r=t.getObj(),Number.isInteger(r)||"string"==typeof r){var i=Number.isInteger(r)?String.fromCharCode(r):r;e.mapBfRange(A,n,i)}else{if(!Te(r,"["))break;r=t.getObj();for(var a=[];!Te(r,"]")&&r!==Re;)a.push(r),r=t.getObj();e.mapBfRangeToArray(A,n,a)}}throw new re("Invalid bf range.")}function gs(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endcidchar"))return;as(r);var A=is(r);os(r=t.getObj());var n=r;e.mapOne(A,n)}}function us(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endcidrange"))return;as(r);var A=is(r);as(r=t.getObj());var n=is(r);os(r=t.getObj());var i=r;e.mapCidRange(A,n,i)}}function ls(e,t){for(;;){var r=t.getObj();if(r===Re)break;if(Te(r,"endcodespacerange"))return;if("string"!=typeof r)break;var A=is(r);if("string"!=typeof(r=t.getObj()))break;var n=is(r);e.addCodespaceRange(r.length,A,n)}throw new re("Invalid codespace range.")}function hs(e,t){var r=t.getObj();Number.isInteger(r)&&(e.vertical=!!r)}function Is(e,t){var r=t.getObj();r instanceof Ue&&(e.name=r.name)}function fs(e,t,r,A){return Cs.apply(this,arguments)}function Cs(){return(Cs=jo(To().mark((function e(t,r,A,n){var i,a,o;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,(o=r.getObj())!==Re){e.next=7;break}return e.abrupt("break",39);case 7:if(!(o instanceof Ue)){e.next=12;break}"WMode"===o.name?hs(t,r):"CMapName"===o.name&&Is(t,r),i=o,e.next=29;break;case 12:if(!(o instanceof Me)){e.next=29;break}e.t0=o.cmd,e.next="endcmap"===e.t0?16:"usecmap"===e.t0?17:"begincodespacerange"===e.t0?19:"beginbfchar"===e.t0?21:"begincidchar"===e.t0?23:"beginbfrange"===e.t0?25:"begincidrange"===e.t0?27:29;break;case 16:return e.abrupt("break",39);case 17:return i instanceof Ue&&(a=i.name),e.abrupt("break",29);case 19:return ls(t,r),e.abrupt("break",29);case 21:return ss(t,r),e.abrupt("break",29);case 23:return gs(t,r),e.abrupt("break",29);case 25:return cs(t,r),e.abrupt("break",29);case 27:return us(t,r),e.abrupt("break",29);case 29:e.next=37;break;case 31:if(e.prev=31,e.t1=e.catch(1),!(e.t1 instanceof Ct)){e.next=35;break}throw e.t1;case 35:return q("Invalid cMap data: "+e.t1),e.abrupt("continue",0);case 37:e.next=0;break;case 39:if(!n&&a&&(n=a),!n){e.next=42;break}return e.abrupt("return",Bs(t,A,n));case 42:return e.abrupt("return",t);case 43:case"end":return e.stop()}}),e,null,[[1,31]])})))).apply(this,arguments)}function Bs(e,t,r){return Qs.apply(this,arguments)}function Qs(){return(Qs=jo(To().mark((function e(t,r,A){var n,i;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Es(A,r);case 2:if(t.useCMap=e.sent,0===t.numCodespaceRanges){for(n=t.useCMap.codespaceRanges,i=0;i<n.length;i++)t.codespaceRanges[i]=n[i].slice();t.numCodespaceRanges=t.useCMap.numCodespaceRanges}return t.useCMap.forEach((function(e,r){t.contains(e)||t.mapOne(e,t.useCMap.lookup(e))})),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Es(e,t){return ds.apply(this,arguments)}function ds(){return(ds=jo(To().mark((function e(t,r){var A,n,i,a,o;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Identity-H"!==t){e.next=4;break}return e.abrupt("return",new ns(!1,2));case 4:if("Identity-V"!==t){e.next=6;break}return e.abrupt("return",new ns(!0,2));case 6:if(ts.includes(t)){e.next=8;break}throw new Error("Unknown CMap name: "+t);case 8:if(r){e.next=10;break}throw new Error("Built-in CMap parameters are not provided.");case 10:return e.next=12,r(t);case 12:if(A=e.sent,n=A.cMapData,i=A.compressionType,a=new As(!0),i!==F.BINARY){e.next=18;break}return e.abrupt("return",(new GA).process(n,a,(function(e){return Bs(a,r,e)})));case 18:if(i!==F.NONE){e.next=21;break}return o=new Oo(new ar(n)),e.abrupt("return",fs(a,o,r,null));case 21:throw new Error('Invalid CMap "compressionType" value: '.concat(i));case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ys=function(){return $o((function e(){Vo(this,e)}),null,[{key:"create",value:(e=jo(To().mark((function e(t){var r,A,n,i;return To().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.encoding,A=t.fetchBuiltInCMap,n=t.useCMap,!(r instanceof Ue)){e.next=5;break}return e.abrupt("return",Es(r.name,A));case 5:if(!(r instanceof ze)){e.next=12;break}return e.next=8,fs(new As,new Oo(r),A,n);case 8:if(!(i=e.sent).isIdentityCMap){e.next=11;break}return e.abrupt("return",Es(i.name,A));case 11:return e.abrupt("return",i);case 12:throw new Error("Encoding required.");case 13:case"end":return e.stop()}}),e)}))),function(t){return e.apply(this,arguments)})}]);var e}(),ps=(r(7987),[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"]),vs=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],ms=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"],ws=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],bs=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],ks=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"],Ds=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""],Ss=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"],Fs=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""],xs=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];function Rs(e){switch(e){case"WinAnsiEncoding":return Ss;case"StandardEncoding":return Ds;case"MacRomanEncoding":return ks;case"SymbolSetEncoding":return Fs;case"ZapfDingbatsEncoding":return xs;case"ExpertEncoding":return ws;case"MacExpertEncoding":return bs;default:return null}}function Gs(e){return function(e){if(Array.isArray(e))return Os(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ps(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ns(e,t,r){return t=Us(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ls()?Reflect.construct(t,r||[],Us(e).constructor):t.apply(e,r))}function Ls(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ls=function(){return!!e})()}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Us(e)}function Ms(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Js(e,t)}function Js(e,t){return Js=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Js(e,t)}function Hs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Ps(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ys(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ps(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Ps(e,t){if(e){if("string"==typeof e)return Os(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Os(e,t):void 0}}function Os(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ts(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,js(A.key),A)}}function qs(e,t,r){return t&&Ts(e.prototype,t),r&&Ts(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function js(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Ws=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],Zs=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],_s=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}],Xs=function(){return qs((function e(t,r,A){Ks(this,e),this.bytes=t.getBytes(),this.properties=r,this.seacAnalysisEnabled=!!A}),[{key:"parse",value:function(){var e=this.properties,t=new Vs;this.cff=t;var r=this.parseHeader(),A=this.parseIndex(r.endPos),n=this.parseIndex(A.endPos),i=this.parseIndex(n.endPos),a=this.parseIndex(i.endPos),o=this.parseDict(n.obj.get(0)),s=this.createDict(Ac,o,t.strings);t.header=r.obj,t.names=this.parseNameIndex(A.obj),t.strings=this.parseStringIndex(i.obj),t.topDict=s,t.globalSubrIndex=a.obj,this.parsePrivateDict(t.topDict),t.isCIDFont=s.hasName("ROS");var c=s.getByName("CharStrings"),g=this.parseIndex(c).obj,u=s.getByName("FontMatrix");u&&(e.fontMatrix=u);var l,h,I=s.getByName("FontBBox");if(I&&(e.ascent=Math.max(I[3],I[1]),e.descent=Math.min(I[1],I[3]),e.ascentScaled=!0),t.isCIDFont){for(var f=this.parseIndex(s.getByName("FDArray")).obj,C=0,B=f.count;C<B;++C){var Q=f.get(C),E=this.createDict(Ac,this.parseDict(Q),t.strings);this.parsePrivateDict(E),t.fdArray.push(E)}h=null,l=this.parseCharsets(s.getByName("charset"),g.count,t.strings,!0),t.fdSelect=this.parseFDSelect(s.getByName("FDSelect"),g.count)}else l=this.parseCharsets(s.getByName("charset"),g.count,t.strings,!1),h=this.parseEncoding(s.getByName("Encoding"),e,t.strings,l.charset);t.charset=l,t.encoding=h;var d=this.parseCharStrings({charStrings:g,localSubrIndex:s.privateDict.subrsIndex,globalSubrIndex:a.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:s.privateDict});return t.charStrings=d.charStrings,t.seacs=d.seacs,t.widths=d.widths,t}},{key:"parseHeader",value:function(){for(var e=this.bytes,t=e.length,r=0;r<t&&1!==e[r];)++r;if(r>=t)throw new re("Invalid CFF header");0!==r&&(T("cff data is shifted"),e=e.subarray(r),this.bytes=e);var A=e[0],n=e[1],i=e[2],a=e[3];return{obj:new zs(A,n,i,a),endPos:i}}},{key:"parseDict",value:function(e){var t=0;var r,A=[],n=[];t=0;for(var i=e.length;t<i;){var a=e[t];a<=21?(12===a&&(a=a<<8|e[++t]),n.push([a,A]),A=[],++t):A.push((r=void 0,30===(r=e[t++])?function(){for(var r="",A=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],n=e.length;t<n;){var i=e[t++],a=i>>4,o=15&i;if(15===a)break;if(r+=A[a],15===o)break;r+=A[o]}return parseFloat(r)}():28===r?r=((r=e[t++])<<24|e[t++]<<16)>>16:29===r?r=(r=(r=(r=e[t++])<<8|e[t++])<<8|e[t++])<<8|e[t++]:r>=32&&r<=246?r-139:r>=247&&r<=250?256*(r-247)+e[t++]+108:r>=251&&r<=254?-256*(r-251)-e[t++]-108:(q('CFFParser_parseDict: "'+r+'" is a reserved command.'),NaN)))}return n}},{key:"parseIndex",value:function(e){var t,r,A=new ec,n=this.bytes,i=n[e++]<<8|n[e++],a=[],o=e;if(0!==i){var s=n[e++],c=e+(i+1)*s-1;for(t=0,r=i+1;t<r;++t){for(var g=0,u=0;u<s;++u)g<<=8,g+=n[e++];a.push(c+g)}o=a[i]}for(t=0,r=a.length-1;t<r;++t){var l=a[t],h=a[t+1];A.add(n.subarray(l,h))}return{obj:A,endPos:o}}},{key:"parseNameIndex",value:function(e){for(var t=[],r=0,A=e.count;r<A;++r){var n=e.get(r);t.push(ne(n))}return t}},{key:"parseStringIndex",value:function(e){for(var t=new $s,r=0,A=e.count;r<A;++r){var n=e.get(r);t.add(ne(n))}return t}},{key:"createDict",value:function(e,t,r){var A,n=new e(r),i=Ys(t);try{for(i.s();!(A=i.n()).done;){var a=Hs(A.value,2),o=a[0],s=a[1];n.setByKey(o,s)}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"parseCharString",value:function(e,t,r,A){if(!t||e.callDepth>10)return!1;for(var n=e.stackSize,i=e.stack,a=t.length,o=0;o<a;){var s=t[o++],c=null;if(12===s){var g=t[o++];0===g?(t[o-2]=139,t[o-1]=22,n=0):c=_s[g]}else if(28===s)i[n]=(t[o]<<24|t[o+1]<<16)>>16,o+=2,n++;else if(14===s){if(n>=4&&(n-=4,this.seacAnalysisEnabled))return e.seac=i.slice(n,n+4),!1;c=Zs[s]}else if(s>=32&&s<=246)i[n]=s-139,n++;else if(s>=247&&s<=254)i[n]=s<251?(s-247<<8)+t[o]+108:-(s-251<<8)-t[o]-108,o++,n++;else if(255===s)i[n]=(t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3])/65536,o+=4,n++;else if(19===s||20===s){if(e.hints+=n>>1,0===e.hints){t.copyWithin(o-1,o,-1),o-=1,a-=1;continue}o+=e.hints+7>>3,n%=2,c=Zs[s]}else{if(10===s||29===s){var u=10===s?r:A;if(!u)return q("Missing subrsIndex for "+(c=Zs[s]).id),!1;var l=32768;u.count<1240?l=107:u.count<33900&&(l=1131);var h=i[--n]+l;if(h<0||h>=u.count||isNaN(h))return q("Out of bounds subrIndex for "+(c=Zs[s]).id),!1;if(e.stackSize=n,e.callDepth++,!this.parseCharString(e,u.get(h),r,A))return!1;e.callDepth--,n=e.stackSize;continue}if(11===s)return e.stackSize=n,!0;if(0===s&&o===t.length)t[o-1]=14,c=Zs[14];else{if(9===s){t.copyWithin(o-1,o,-1),o-=1,a-=1;continue}c=Zs[s]}}if(c){if(c.stem&&(e.hints+=n>>1,3===s||23===s?e.hasVStems=!0:!e.hasVStems||1!==s&&18!==s||(q("CFF stem hints are in wrong order"),t[o-1]=1===s?3:23)),"min"in c&&!e.undefStack&&n<c.min)return q("Not enough parameters for "+c.id+"; actual: "+n+", expected: "+c.min),0===n&&(t[o-1]=14,!0);e.firstStackClearing&&c.stackClearing&&(e.firstStackClearing=!1,(n-=c.min)>=2&&c.stem?n%=2:n>1&&q("Found too many parameters for stack-clearing command"),n>0&&(e.width=i[n-1])),"stackDelta"in c?("stackFn"in c&&c.stackFn(i,n),n+=c.stackDelta):c.stackClearing?n=0:c.resetStack?(n=0,e.undefStack=!1):c.undefStack&&(n=0,e.undefStack=!0,e.firstStackClearing=!1)}}return a<t.length&&t.fill(14,a),e.stackSize=n,!0}},{key:"parseCharStrings",value:function(e){for(var t=e.charStrings,r=e.localSubrIndex,A=e.globalSubrIndex,n=e.fdSelect,i=e.fdArray,a=e.privateDict,o=[],s=[],c=t.count,g=0;g<c;g++){var u=t.get(g),l={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},h=!0,I=null,f=a;if(n&&i.length){var C=n.getFDIndex(g);-1===C&&(q("Glyph index is not in fd select."),h=!1),C>=i.length&&(q("Invalid fd index for glyph index."),h=!1),h&&(I=(f=i[C].privateDict).subrsIndex)}else r&&(I=r);if(h&&(h=this.parseCharString(l,u,I,A)),null!==l.width){var B=f.getByName("nominalWidthX");s[g]=B+l.width}else{var Q=f.getByName("defaultWidthX");s[g]=Q}null!==l.seac&&(o[g]=l.seac),h||t.set(g,new Uint8Array([14]))}return{charStrings:t,seacs:o,widths:s}}},{key:"emptyPrivateDictionary",value:function(e){var t=this.createDict(ic,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}},{key:"parsePrivateDict",value:function(e){if(e.hasName("Private")){var t=e.getByName("Private");if(Array.isArray(t)&&2===t.length){var r=t[0],A=t[1];if(0===r||A>=this.bytes.length)this.emptyPrivateDictionary(e);else{var n=A+r,i=this.bytes.subarray(A,n),a=this.parseDict(i),o=this.createDict(ic,a,e.strings);if(e.privateDict=o,0===o.getByName("ExpansionFactor")&&o.setByName("ExpansionFactor",.06),o.getByName("Subrs")){var s=o.getByName("Subrs"),c=A+s;if(0===s||c>=this.bytes.length)this.emptyPrivateDictionary(e);else{var g=this.parseIndex(c);o.subrsIndex=g.obj}}}}else e.removeByName("Private")}else this.emptyPrivateDictionary(e)}},{key:"parseCharsets",value:function(e,t,r,A){if(0===e)return new oc(!0,ac.ISO_ADOBE,ps);if(1===e)return new oc(!0,ac.EXPERT,vs);if(2===e)return new oc(!0,ac.EXPERT_SUBSET,ms);var n,i,a,o=this.bytes,s=e,c=o[e++],g=[A?0:".notdef"];switch(t-=1,c){case 0:for(a=0;a<t;a++)n=o[e++]<<8|o[e++],g.push(A?n:r.get(n));break;case 1:for(;g.length<=t;)for(n=o[e++]<<8|o[e++],i=o[e++],a=0;a<=i;a++)g.push(A?n++:r.get(n++));break;case 2:for(;g.length<=t;)for(n=o[e++]<<8|o[e++],i=o[e++]<<8|o[e++],a=0;a<=i;a++)g.push(A?n++:r.get(n++));break;default:throw new re("Unknown charset format")}var u=e,l=o.subarray(s,u);return new oc(!1,c,g,l)}},{key:"parseEncoding",value:function(e,t,r,A){var n,i,a,o=Object.create(null),s=this.bytes,c=!1,g=null;if(0===e||1===e){c=!0,n=e;var u=e?ws:Ds;for(i=0,a=A.length;i<a;i++){var l=u.indexOf(A[i]);-1!==l&&(o[l]=i)}}else{var h=e;switch(127&(n=s[e++])){case 0:var I=s[e++];for(i=1;i<=I;i++)o[s[e++]]=i;break;case 1:var f=s[e++],C=1;for(i=0;i<f;i++)for(var B=s[e++],Q=s[e++],E=B;E<=B+Q;E++)o[E]=C++;break;default:throw new re("Unknown encoding format: ".concat(n," in CFF"))}var d=e;128&n&&(s[h]&=127,function(){var t=s[e++];for(i=0;i<t;i++){var n=s[e++],a=(s[e++]<<8)+(255&s[e++]);o[n]=A.indexOf(r.get(a))}}()),g=s.subarray(h,d)}return new sc(c,n&=127,o,g)}},{key:"parseFDSelect",value:function(e,t){var r,A=this.bytes,n=A[e++],i=[];switch(n){case 0:for(r=0;r<t;++r){var a=A[e++];i.push(a)}break;case 3:var o=A[e++]<<8|A[e++];for(r=0;r<o;++r){var s=A[e++]<<8|A[e++];0===r&&0!==s&&(q("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),s=0);for(var c=A[e++],g=A[e]<<8|A[e+1],u=s;u<g;++u)i.push(c)}e+=2;break;default:throw new re('parseFDSelect: Unknown format "'.concat(n,'".'))}if(i.length!==t)throw new re("parseFDSelect: Invalid font data.");return new cc(n,i)}}])}(),Vs=function(){return qs((function e(){Ks(this,e),this.header=null,this.names=[],this.topDict=null,this.strings=new $s,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}),[{key:"duplicateFirstGlyph",value:function(){if(this.charStrings.count>=65535)q("Not enough space in charstrings to duplicate first glyph.");else{var e=this.charStrings.get(0);this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.charStrings.count)&&this.charStrings.get(e).length>0}}])}(),zs=qs((function e(t,r,A,n){Ks(this,e),this.major=t,this.minor=r,this.hdrSize=A,this.offSize=n})),$s=function(){return qs((function e(){Ks(this,e),this.strings=[]}),[{key:"get",value:function(e){return e>=0&&e<=390?Ws[e]:e-391<=this.strings.length?this.strings[e-391]:Ws[0]}},{key:"getSID",value:function(e){var t=Ws.indexOf(e);return-1!==t?t:-1!==(t=this.strings.indexOf(e))?t+391:-1}},{key:"add",value:function(e){this.strings.push(e)}},{key:"count",get:function(){return this.strings.length}}])}(),ec=function(){return qs((function e(){Ks(this,e),this.objects=[],this.length=0}),[{key:"add",value:function(e){this.length+=e.length,this.objects.push(e)}},{key:"set",value:function(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}},{key:"get",value:function(e){return this.objects[e]}},{key:"count",get:function(){return this.objects.length}}])}(),tc=function(){return qs((function e(t,r){Ks(this,e),this.keyToNameMap=t.keyToNameMap,this.nameToKeyMap=t.nameToKeyMap,this.defaults=t.defaults,this.types=t.types,this.opcodes=t.opcodes,this.order=t.order,this.strings=r,this.values=Object.create(null)}),[{key:"setByKey",value:function(e,t){if(!(e in this.keyToNameMap))return!1;if(0===t.length)return!0;var r,A=Ys(t);try{for(A.s();!(r=A.n()).done;){var n=r.value;if(isNaN(n))return q('Invalid CFFDict value: "'.concat(t,'" for key "').concat(e,'".')),!0}}catch(e){A.e(e)}finally{A.f()}var i=this.types[e];return"num"!==i&&"sid"!==i&&"offset"!==i||(t=t[0]),this.values[e]=t,!0}},{key:"setByName",value:function(e,t){if(!(e in this.nameToKeyMap))throw new re('Invalid dictionary name "'.concat(e,'"'));this.values[this.nameToKeyMap[e]]=t}},{key:"hasName",value:function(e){return this.nameToKeyMap[e]in this.values}},{key:"getByName",value:function(e){if(!(e in this.nameToKeyMap))throw new re("Invalid dictionary name ".concat(e,'"'));var t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]}},{key:"removeByName",value:function(e){delete this.values[this.nameToKeyMap[e]]}}],[{key:"createTables",value:function(e){var t,r={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},A=Ys(e);try{for(A.s();!(t=A.n()).done;){var n=t.value,i=Array.isArray(n[0])?(n[0][0]<<8)+n[0][1]:n[0];r.keyToNameMap[i]=n[1],r.nameToKeyMap[n[1]]=i,r.types[i]=n[2],r.defaults[i]=n[3],r.opcodes[i]=Array.isArray(n[0])?n[0]:[n[0]],r.order.push(i)}}catch(e){A.e(e)}finally{A.f()}return r}}])}(),rc=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],Ac=function(e){function t(e){var r;return Ks(this,t),(r=Ns(this,t,[t.tables,e])).privateDict=null,r}return Ms(t,tc),qs(t,null,[{key:"tables",get:function(){return _(this,"tables",this.createTables(rc))}}])}(),nc=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],ic=function(e){function t(e){var r;return Ks(this,t),(r=Ns(this,t,[t.tables,e])).subrsIndex=null,r}return Ms(t,tc),qs(t,null,[{key:"tables",get:function(){return _(this,"tables",this.createTables(nc))}}])}(),ac={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},oc=qs((function e(t,r,A,n){Ks(this,e),this.predefined=t,this.format=r,this.charset=A,this.raw=n})),sc=qs((function e(t,r,A,n){Ks(this,e),this.predefined=t,this.format=r,this.encoding=A,this.raw=n})),cc=function(){return qs((function e(t,r){Ks(this,e),this.format=t,this.fdSelect=r}),[{key:"getFDIndex",value:function(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}])}(),gc=function(){return qs((function e(){Ks(this,e),this.offsets=Object.create(null)}),[{key:"isTracking",value:function(e){return e in this.offsets}},{key:"track",value:function(e,t){if(e in this.offsets)throw new re("Already tracking location of ".concat(e));this.offsets[e]=t}},{key:"offset",value:function(e){for(var t in this.offsets)this.offsets[t]+=e}},{key:"setEntryLocation",value:function(e,t,r){if(!(e in this.offsets))throw new re("Not tracking location of ".concat(e));for(var A=r.data,n=this.offsets[e],i=0,a=t.length;i<a;++i){var o=5*i+n,s=o+1,c=o+2,g=o+3,u=o+4;if(29!==A[o]||0!==A[s]||0!==A[c]||0!==A[g]||0!==A[u])throw new re("writing to an offset that is not empty");var l=t[i];A[o]=29,A[s]=l>>24&255,A[c]=l>>16&255,A[g]=l>>8&255,A[u]=255&l}}}])}(),uc=function(){function e(t){Ks(this,e),this.cff=t}return qs(e,[{key:"compile",value:function(){var e=this.cff,t={data:[],length:0,add(e){try{var t;(t=this.data).push.apply(t,Gs(e))}catch(t){this.data=this.data.concat(e)}this.length=this.data.length}},r=this.compileHeader(e.header);t.add(r);var A=this.compileNameIndex(e.names);if(t.add(A),e.isCIDFont&&e.topDict.hasName("FontMatrix")){var n=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");var i,a=Ys(e.fdArray);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=n.slice(0);o.hasName("FontMatrix")&&(s=ge.transform(s,o.getByName("FontMatrix"))),o.setByName("FontMatrix",s)}}catch(e){a.e(e)}finally{a.f()}}var c=e.topDict.getByName("XUID");(null==c?void 0:c.length)>16&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);var g=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.add(g.output);var u=g.trackers[0],l=this.compileStringIndex(e.strings.strings);t.add(l);var h=this.compileIndex(e.globalSubrIndex);if(t.add(h),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)u.setEntryLocation("Encoding",[e.encoding.format],t);else{var I=this.compileEncoding(e.encoding);u.setEntryLocation("Encoding",[t.length],t),t.add(I)}var f=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);u.setEntryLocation("charset",[t.length],t),t.add(f);var C=this.compileCharStrings(e.charStrings);if(u.setEntryLocation("CharStrings",[t.length],t),t.add(C),e.isCIDFont){u.setEntryLocation("FDSelect",[t.length],t);var B=this.compileFDSelect(e.fdSelect);t.add(B),g=this.compileTopDicts(e.fdArray,t.length,!0),u.setEntryLocation("FDArray",[t.length],t),t.add(g.output);var Q=g.trackers;this.compilePrivateDicts(e.fdArray,Q,t)}return this.compilePrivateDicts([e.topDict],[u],t),t.add([0]),t.data}},{key:"encodeNumber",value:function(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}},{key:"encodeFloat",value:function(t){var r=t.toString(),A=e.EncodeFloatRegExp.exec(r);if(A){var n=parseFloat("1e"+((A[2]?+A[2]:0)+A[1].length));r=(Math.round(t*n)/n).toString()}var i,a,o="";for(i=0,a=r.length;i<a;++i){var s=r[i];o+="e"===s?"-"===r[++i]?"c":"b":"."===s?"a":"-"===s?"e":s}var c=[30];for(i=0,a=(o+=1&o.length?"f":"ff").length;i<a;i+=2)c.push(parseInt(o.substring(i,i+2),16));return c}},{key:"encodeInteger",value:function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e]}},{key:"compileHeader",value:function(e){return[e.major,e.minor,4,e.offSize]}},{key:"compileNameIndex",value:function(e){var t,r=new ec,A=Ys(e);try{for(A.s();!(t=A.n()).done;){for(var n=t.value,i=Math.min(n.length,127),a=new Array(i),o=0;o<i;o++){var s=n[o];(s<"!"||s>"~"||"["===s||"]"===s||"("===s||")"===s||"{"===s||"}"===s||"<"===s||">"===s||"/"===s||"%"===s)&&(s="_"),a[o]=s}""===(a=a.join(""))&&(a="Bad_Font_Name"),r.add(ie(a))}}catch(e){A.e(e)}finally{A.f()}return this.compileIndex(r)}},{key:"compileTopDicts",value:function(e,t,r){var A,n=[],i=new ec,a=Ys(e);try{for(a.s();!(A=a.n()).done;){var o=A.value;r&&(o.removeByName("CIDFontVersion"),o.removeByName("CIDFontRevision"),o.removeByName("CIDFontType"),o.removeByName("CIDCount"),o.removeByName("UIDBase"));var s=new gc,c=this.compileDict(o,s);n.push(s),i.add(c),s.offset(t)}}catch(e){a.e(e)}finally{a.f()}return{trackers:n,output:i=this.compileIndex(i,n)}}},{key:"compilePrivateDicts",value:function(e,t,r){for(var A=0,n=e.length;A<n;++A){var i=e[A],a=i.privateDict;if(!a||!i.hasName("Private"))throw new re("There must be a private dictionary.");var o=new gc,s=this.compileDict(a,o),c=r.length;if(o.offset(c),s.length||(c=0),t[A].setEntryLocation("Private",[s.length,c],r),r.add(s),a.subrsIndex&&a.hasName("Subrs")){var g=this.compileIndex(a.subrsIndex);o.setEntryLocation("Subrs",[s.length],r),r.add(g)}}}},{key:"compileDict",value:function(e,t){var r,A=[],n=Ys(e.order);try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i in e.values){var a=e.values[i],o=e.types[i];if(Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]),0!==a.length){for(var s=0,c=o.length;s<c;++s){var g=o[s],u=a[s];switch(g){case"num":case"sid":A.push.apply(A,Gs(this.encodeNumber(u)));break;case"offset":var l=e.keyToNameMap[i];t.isTracking(l)||t.track(l,A.length),A.push(29,0,0,0,0);break;case"array":case"delta":A.push.apply(A,Gs(this.encodeNumber(u)));for(var h=1,I=a.length;h<I;++h)A.push.apply(A,Gs(this.encodeNumber(a[h])));break;default:throw new re("Unknown data type of ".concat(g))}}A.push.apply(A,Gs(e.opcodes[i]))}}}}catch(e){n.e(e)}finally{n.f()}return A}},{key:"compileStringIndex",value:function(e){var t,r=new ec,A=Ys(e);try{for(A.s();!(t=A.n()).done;){var n=t.value;r.add(ie(n))}}catch(e){A.e(e)}finally{A.f()}return this.compileIndex(r)}},{key:"compileCharStrings",value:function(e){for(var t=new ec,r=0;r<e.count;r++){var A=e.get(r);0!==A.length?t.add(A):t.add(new Uint8Array([139,14]))}return this.compileIndex(t)}},{key:"compileCharset",value:function(e,t,r,A){var n,i=t-1;if(A)n=new Uint8Array([2,0,0,i>>8&255,255&i]);else{(n=new Uint8Array(1+2*i))[0]=0;for(var a=0,o=e.charset.length,s=!1,c=1;c<n.length;c+=2){var g=0;if(a<o){var u=e.charset[a++];-1===(g=r.getSID(u))&&(g=0,s||(s=!0,q("Couldn't find ".concat(u," in CFF strings"))))}n[c]=g>>8&255,n[c+1]=255&g}}return this.compileTypedArray(n)}},{key:"compileEncoding",value:function(e){return this.compileTypedArray(e.raw)}},{key:"compileFDSelect",value:function(e){var t,r,A=e.format;switch(A){case 0:for((t=new Uint8Array(1+e.fdSelect.length))[0]=A,r=0;r<e.fdSelect.length;r++)t[r+1]=e.fdSelect[r];break;case 3:var n=e.fdSelect[0],i=[A,0,0,0,0,n];for(r=1;r<e.fdSelect.length;r++){var a=e.fdSelect[r];a!==n&&(i.push(r>>8&255,255&r,a),n=a)}var o=(i.length-3)/3;i[1]=o>>8&255,i[2]=255&o,i.push(r>>8&255,255&r),t=new Uint8Array(i)}return this.compileTypedArray(t)}},{key:"compileTypedArray",value:function(e){return Array.from(e)}},{key:"compileIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.objects,A=r.length;if(0===A)return[0,0];var n,i,a=[A>>8&255,255&A],o=1;for(n=0;n<A;++n)o+=r[n].length;i=o<256?1:o<65536?2:o<16777216?3:4,a.push(i);var s=1;for(n=0;n<A+1;n++)1===i?a.push(255&s):2===i?a.push(s>>8&255,255&s):3===i?a.push(s>>16&255,s>>8&255,255&s):a.push(s>>>24&255,s>>16&255,s>>8&255,255&s),r[n]&&(s+=r[n].length);for(n=0;n<A;n++)t[n]&&t[n].offset(a.length),a.push.apply(a,Gs(r[n]));return a}}],[{key:"EncodeFloatRegExp",get:function(){return _(this,"EncodeFloatRegExp",/\\.(\\d*?)(?:9{5,20}|0{5,20})\\d{0,2}(?:e(.+)|$)/)}}])}(),lc=ft((function(e){e.A=65,e.AE=198,e.AEacute=508,e.AEmacron=482,e.AEsmall=63462,e.Aacute=193,e.Aacutesmall=63457,e.Abreve=258,e.Abreveacute=7854,e.Abrevecyrillic=1232,e.Abrevedotbelow=7862,e.Abrevegrave=7856,e.Abrevehookabove=7858,e.Abrevetilde=7860,e.Acaron=461,e.Acircle=9398,e.Acircumflex=194,e.Acircumflexacute=7844,e.Acircumflexdotbelow=7852,e.Acircumflexgrave=7846,e.Acircumflexhookabove=7848,e.Acircumflexsmall=63458,e.Acircumflextilde=7850,e.Acute=63177,e.Acutesmall=63412,e.Acyrillic=1040,e.Adblgrave=512,e.Adieresis=196,e.Adieresiscyrillic=1234,e.Adieresismacron=478,e.Adieresissmall=63460,e.Adotbelow=7840,e.Adotmacron=480,e.Agrave=192,e.Agravesmall=63456,e.Ahookabove=7842,e.Aiecyrillic=1236,e.Ainvertedbreve=514,e.Alpha=913,e.Alphatonos=902,e.Amacron=256,e.Amonospace=65313,e.Aogonek=260,e.Aring=197,e.Aringacute=506,e.Aringbelow=7680,e.Aringsmall=63461,e.Asmall=63329,e.Atilde=195,e.Atildesmall=63459,e.Aybarmenian=1329,e.B=66,e.Bcircle=9399,e.Bdotaccent=7682,e.Bdotbelow=7684,e.Becyrillic=1041,e.Benarmenian=1330,e.Beta=914,e.Bhook=385,e.Blinebelow=7686,e.Bmonospace=65314,e.Brevesmall=63220,e.Bsmall=63330,e.Btopbar=386,e.C=67,e.Caarmenian=1342,e.Cacute=262,e.Caron=63178,e.Caronsmall=63221,e.Ccaron=268,e.Ccedilla=199,e.Ccedillaacute=7688,e.Ccedillasmall=63463,e.Ccircle=9400,e.Ccircumflex=264,e.Cdot=266,e.Cdotaccent=266,e.Cedillasmall=63416,e.Chaarmenian=1353,e.Cheabkhasiancyrillic=1212,e.Checyrillic=1063,e.Chedescenderabkhasiancyrillic=1214,e.Chedescendercyrillic=1206,e.Chedieresiscyrillic=1268,e.Cheharmenian=1347,e.Chekhakassiancyrillic=1227,e.Cheverticalstrokecyrillic=1208,e.Chi=935,e.Chook=391,e.Circumflexsmall=63222,e.Cmonospace=65315,e.Coarmenian=1361,e.Csmall=63331,e.D=68,e.DZ=497,e.DZcaron=452,e.Daarmenian=1332,e.Dafrican=393,e.Dcaron=270,e.Dcedilla=7696,e.Dcircle=9401,e.Dcircumflexbelow=7698,e.Dcroat=272,e.Ddotaccent=7690,e.Ddotbelow=7692,e.Decyrillic=1044,e.Deicoptic=1006,e.Delta=8710,e.Deltagreek=916,e.Dhook=394,e.Dieresis=63179,e.DieresisAcute=63180,e.DieresisGrave=63181,e.Dieresissmall=63400,e.Digammagreek=988,e.Djecyrillic=1026,e.Dlinebelow=7694,e.Dmonospace=65316,e.Dotaccentsmall=63223,e.Dslash=272,e.Dsmall=63332,e.Dtopbar=395,e.Dz=498,e.Dzcaron=453,e.Dzeabkhasiancyrillic=1248,e.Dzecyrillic=1029,e.Dzhecyrillic=1039,e.E=69,e.Eacute=201,e.Eacutesmall=63465,e.Ebreve=276,e.Ecaron=282,e.Ecedillabreve=7708,e.Echarmenian=1333,e.Ecircle=9402,e.Ecircumflex=202,e.Ecircumflexacute=7870,e.Ecircumflexbelow=7704,e.Ecircumflexdotbelow=7878,e.Ecircumflexgrave=7872,e.Ecircumflexhookabove=7874,e.Ecircumflexsmall=63466,e.Ecircumflextilde=7876,e.Ecyrillic=1028,e.Edblgrave=516,e.Edieresis=203,e.Edieresissmall=63467,e.Edot=278,e.Edotaccent=278,e.Edotbelow=7864,e.Efcyrillic=1060,e.Egrave=200,e.Egravesmall=63464,e.Eharmenian=1335,e.Ehookabove=7866,e.Eightroman=8551,e.Einvertedbreve=518,e.Eiotifiedcyrillic=1124,e.Elcyrillic=1051,e.Elevenroman=8554,e.Emacron=274,e.Emacronacute=7702,e.Emacrongrave=7700,e.Emcyrillic=1052,e.Emonospace=65317,e.Encyrillic=1053,e.Endescendercyrillic=1186,e.Eng=330,e.Enghecyrillic=1188,e.Enhookcyrillic=1223,e.Eogonek=280,e.Eopen=400,e.Epsilon=917,e.Epsilontonos=904,e.Ercyrillic=1056,e.Ereversed=398,e.Ereversedcyrillic=1069,e.Escyrillic=1057,e.Esdescendercyrillic=1194,e.Esh=425,e.Esmall=63333,e.Eta=919,e.Etarmenian=1336,e.Etatonos=905,e.Eth=208,e.Ethsmall=63472,e.Etilde=7868,e.Etildebelow=7706,e.Euro=8364,e.Ezh=439,e.Ezhcaron=494,e.Ezhreversed=440,e.F=70,e.Fcircle=9403,e.Fdotaccent=7710,e.Feharmenian=1366,e.Feicoptic=996,e.Fhook=401,e.Fitacyrillic=1138,e.Fiveroman=8548,e.Fmonospace=65318,e.Fourroman=8547,e.Fsmall=63334,e.G=71,e.GBsquare=13191,e.Gacute=500,e.Gamma=915,e.Gammaafrican=404,e.Gangiacoptic=1002,e.Gbreve=286,e.Gcaron=486,e.Gcedilla=290,e.Gcircle=9404,e.Gcircumflex=284,e.Gcommaaccent=290,e.Gdot=288,e.Gdotaccent=288,e.Gecyrillic=1043,e.Ghadarmenian=1346,e.Ghemiddlehookcyrillic=1172,e.Ghestrokecyrillic=1170,e.Gheupturncyrillic=1168,e.Ghook=403,e.Gimarmenian=1331,e.Gjecyrillic=1027,e.Gmacron=7712,e.Gmonospace=65319,e.Grave=63182,e.Gravesmall=63328,e.Gsmall=63335,e.Gsmallhook=667,e.Gstroke=484,e.H=72,e.H18533=9679,e.H18543=9642,e.H18551=9643,e.H22073=9633,e.HPsquare=13259,e.Haabkhasiancyrillic=1192,e.Hadescendercyrillic=1202,e.Hardsigncyrillic=1066,e.Hbar=294,e.Hbrevebelow=7722,e.Hcedilla=7720,e.Hcircle=9405,e.Hcircumflex=292,e.Hdieresis=7718,e.Hdotaccent=7714,e.Hdotbelow=7716,e.Hmonospace=65320,e.Hoarmenian=1344,e.Horicoptic=1e3,e.Hsmall=63336,e.Hungarumlaut=63183,e.Hungarumlautsmall=63224,e.Hzsquare=13200,e.I=73,e.IAcyrillic=1071,e.IJ=306,e.IUcyrillic=1070,e.Iacute=205,e.Iacutesmall=63469,e.Ibreve=300,e.Icaron=463,e.Icircle=9406,e.Icircumflex=206,e.Icircumflexsmall=63470,e.Icyrillic=1030,e.Idblgrave=520,e.Idieresis=207,e.Idieresisacute=7726,e.Idieresiscyrillic=1252,e.Idieresissmall=63471,e.Idot=304,e.Idotaccent=304,e.Idotbelow=7882,e.Iebrevecyrillic=1238,e.Iecyrillic=1045,e.Ifraktur=8465,e.Igrave=204,e.Igravesmall=63468,e.Ihookabove=7880,e.Iicyrillic=1048,e.Iinvertedbreve=522,e.Iishortcyrillic=1049,e.Imacron=298,e.Imacroncyrillic=1250,e.Imonospace=65321,e.Iniarmenian=1339,e.Iocyrillic=1025,e.Iogonek=302,e.Iota=921,e.Iotaafrican=406,e.Iotadieresis=938,e.Iotatonos=906,e.Ismall=63337,e.Istroke=407,e.Itilde=296,e.Itildebelow=7724,e.Izhitsacyrillic=1140,e.Izhitsadblgravecyrillic=1142,e.J=74,e.Jaarmenian=1345,e.Jcircle=9407,e.Jcircumflex=308,e.Jecyrillic=1032,e.Jheharmenian=1355,e.Jmonospace=65322,e.Jsmall=63338,e.K=75,e.KBsquare=13189,e.KKsquare=13261,e.Kabashkircyrillic=1184,e.Kacute=7728,e.Kacyrillic=1050,e.Kadescendercyrillic=1178,e.Kahookcyrillic=1219,e.Kappa=922,e.Kastrokecyrillic=1182,e.Kaverticalstrokecyrillic=1180,e.Kcaron=488,e.Kcedilla=310,e.Kcircle=9408,e.Kcommaaccent=310,e.Kdotbelow=7730,e.Keharmenian=1364,e.Kenarmenian=1343,e.Khacyrillic=1061,e.Kheicoptic=998,e.Khook=408,e.Kjecyrillic=1036,e.Klinebelow=7732,e.Kmonospace=65323,e.Koppacyrillic=1152,e.Koppagreek=990,e.Ksicyrillic=1134,e.Ksmall=63339,e.L=76,e.LJ=455,e.LL=63167,e.Lacute=313,e.Lambda=923,e.Lcaron=317,e.Lcedilla=315,e.Lcircle=9409,e.Lcircumflexbelow=7740,e.Lcommaaccent=315,e.Ldot=319,e.Ldotaccent=319,e.Ldotbelow=7734,e.Ldotbelowmacron=7736,e.Liwnarmenian=1340,e.Lj=456,e.Ljecyrillic=1033,e.Llinebelow=7738,e.Lmonospace=65324,e.Lslash=321,e.Lslashsmall=63225,e.Lsmall=63340,e.M=77,e.MBsquare=13190,e.Macron=63184,e.Macronsmall=63407,e.Macute=7742,e.Mcircle=9410,e.Mdotaccent=7744,e.Mdotbelow=7746,e.Menarmenian=1348,e.Mmonospace=65325,e.Msmall=63341,e.Mturned=412,e.Mu=924,e.N=78,e.NJ=458,e.Nacute=323,e.Ncaron=327,e.Ncedilla=325,e.Ncircle=9411,e.Ncircumflexbelow=7754,e.Ncommaaccent=325,e.Ndotaccent=7748,e.Ndotbelow=7750,e.Nhookleft=413,e.Nineroman=8552,e.Nj=459,e.Njecyrillic=1034,e.Nlinebelow=7752,e.Nmonospace=65326,e.Nowarmenian=1350,e.Nsmall=63342,e.Ntilde=209,e.Ntildesmall=63473,e.Nu=925,e.O=79,e.OE=338,e.OEsmall=63226,e.Oacute=211,e.Oacutesmall=63475,e.Obarredcyrillic=1256,e.Obarreddieresiscyrillic=1258,e.Obreve=334,e.Ocaron=465,e.Ocenteredtilde=415,e.Ocircle=9412,e.Ocircumflex=212,e.Ocircumflexacute=7888,e.Ocircumflexdotbelow=7896,e.Ocircumflexgrave=7890,e.Ocircumflexhookabove=7892,e.Ocircumflexsmall=63476,e.Ocircumflextilde=7894,e.Ocyrillic=1054,e.Odblacute=336,e.Odblgrave=524,e.Odieresis=214,e.Odieresiscyrillic=1254,e.Odieresissmall=63478,e.Odotbelow=7884,e.Ogoneksmall=63227,e.Ograve=210,e.Ogravesmall=63474,e.Oharmenian=1365,e.Ohm=8486,e.Ohookabove=7886,e.Ohorn=416,e.Ohornacute=7898,e.Ohorndotbelow=7906,e.Ohorngrave=7900,e.Ohornhookabove=7902,e.Ohorntilde=7904,e.Ohungarumlaut=336,e.Oi=418,e.Oinvertedbreve=526,e.Omacron=332,e.Omacronacute=7762,e.Omacrongrave=7760,e.Omega=8486,e.Omegacyrillic=1120,e.Omegagreek=937,e.Omegaroundcyrillic=1146,e.Omegatitlocyrillic=1148,e.Omegatonos=911,e.Omicron=927,e.Omicrontonos=908,e.Omonospace=65327,e.Oneroman=8544,e.Oogonek=490,e.Oogonekmacron=492,e.Oopen=390,e.Oslash=216,e.Oslashacute=510,e.Oslashsmall=63480,e.Osmall=63343,e.Ostrokeacute=510,e.Otcyrillic=1150,e.Otilde=213,e.Otildeacute=7756,e.Otildedieresis=7758,e.Otildesmall=63477,e.P=80,e.Pacute=7764,e.Pcircle=9413,e.Pdotaccent=7766,e.Pecyrillic=1055,e.Peharmenian=1354,e.Pemiddlehookcyrillic=1190,e.Phi=934,e.Phook=420,e.Pi=928,e.Piwrarmenian=1363,e.Pmonospace=65328,e.Psi=936,e.Psicyrillic=1136,e.Psmall=63344,e.Q=81,e.Qcircle=9414,e.Qmonospace=65329,e.Qsmall=63345,e.R=82,e.Raarmenian=1356,e.Racute=340,e.Rcaron=344,e.Rcedilla=342,e.Rcircle=9415,e.Rcommaaccent=342,e.Rdblgrave=528,e.Rdotaccent=7768,e.Rdotbelow=7770,e.Rdotbelowmacron=7772,e.Reharmenian=1360,e.Rfraktur=8476,e.Rho=929,e.Ringsmall=63228,e.Rinvertedbreve=530,e.Rlinebelow=7774,e.Rmonospace=65330,e.Rsmall=63346,e.Rsmallinverted=641,e.Rsmallinvertedsuperior=694,e.S=83,e.SF010000=9484,e.SF020000=9492,e.SF030000=9488,e.SF040000=9496,e.SF050000=9532,e.SF060000=9516,e.SF070000=9524,e.SF080000=9500,e.SF090000=9508,e.SF100000=9472,e.SF110000=9474,e.SF190000=9569,e.SF200000=9570,e.SF210000=9558,e.SF220000=9557,e.SF230000=9571,e.SF240000=9553,e.SF250000=9559,e.SF260000=9565,e.SF270000=9564,e.SF280000=9563,e.SF360000=9566,e.SF370000=9567,e.SF380000=9562,e.SF390000=9556,e.SF400000=9577,e.SF410000=9574,e.SF420000=9568,e.SF430000=9552,e.SF440000=9580,e.SF450000=9575,e.SF460000=9576,e.SF470000=9572,e.SF480000=9573,e.SF490000=9561,e.SF500000=9560,e.SF510000=9554,e.SF520000=9555,e.SF530000=9579,e.SF540000=9578,e.Sacute=346,e.Sacutedotaccent=7780,e.Sampigreek=992,e.Scaron=352,e.Scarondotaccent=7782,e.Scaronsmall=63229,e.Scedilla=350,e.Schwa=399,e.Schwacyrillic=1240,e.Schwadieresiscyrillic=1242,e.Scircle=9416,e.Scircumflex=348,e.Scommaaccent=536,e.Sdotaccent=7776,e.Sdotbelow=7778,e.Sdotbelowdotaccent=7784,e.Seharmenian=1357,e.Sevenroman=8550,e.Shaarmenian=1351,e.Shacyrillic=1064,e.Shchacyrillic=1065,e.Sheicoptic=994,e.Shhacyrillic=1210,e.Shimacoptic=1004,e.Sigma=931,e.Sixroman=8549,e.Smonospace=65331,e.Softsigncyrillic=1068,e.Ssmall=63347,e.Stigmagreek=986,e.T=84,e.Tau=932,e.Tbar=358,e.Tcaron=356,e.Tcedilla=354,e.Tcircle=9417,e.Tcircumflexbelow=7792,e.Tcommaaccent=354,e.Tdotaccent=7786,e.Tdotbelow=7788,e.Tecyrillic=1058,e.Tedescendercyrillic=1196,e.Tenroman=8553,e.Tetsecyrillic=1204,e.Theta=920,e.Thook=428,e.Thorn=222,e.Thornsmall=63486,e.Threeroman=8546,e.Tildesmall=63230,e.Tiwnarmenian=1359,e.Tlinebelow=7790,e.Tmonospace=65332,e.Toarmenian=1337,e.Tonefive=444,e.Tonesix=388,e.Tonetwo=423,e.Tretroflexhook=430,e.Tsecyrillic=1062,e.Tshecyrillic=1035,e.Tsmall=63348,e.Twelveroman=8555,e.Tworoman=8545,e.U=85,e.Uacute=218,e.Uacutesmall=63482,e.Ubreve=364,e.Ucaron=467,e.Ucircle=9418,e.Ucircumflex=219,e.Ucircumflexbelow=7798,e.Ucircumflexsmall=63483,e.Ucyrillic=1059,e.Udblacute=368,e.Udblgrave=532,e.Udieresis=220,e.Udieresisacute=471,e.Udieresisbelow=7794,e.Udieresiscaron=473,e.Udieresiscyrillic=1264,e.Udieresisgrave=475,e.Udieresismacron=469,e.Udieresissmall=63484,e.Udotbelow=7908,e.Ugrave=217,e.Ugravesmall=63481,e.Uhookabove=7910,e.Uhorn=431,e.Uhornacute=7912,e.Uhorndotbelow=7920,e.Uhorngrave=7914,e.Uhornhookabove=7916,e.Uhorntilde=7918,e.Uhungarumlaut=368,e.Uhungarumlautcyrillic=1266,e.Uinvertedbreve=534,e.Ukcyrillic=1144,e.Umacron=362,e.Umacroncyrillic=1262,e.Umacrondieresis=7802,e.Umonospace=65333,e.Uogonek=370,e.Upsilon=933,e.Upsilon1=978,e.Upsilonacutehooksymbolgreek=979,e.Upsilonafrican=433,e.Upsilondieresis=939,e.Upsilondieresishooksymbolgreek=980,e.Upsilonhooksymbol=978,e.Upsilontonos=910,e.Uring=366,e.Ushortcyrillic=1038,e.Usmall=63349,e.Ustraightcyrillic=1198,e.Ustraightstrokecyrillic=1200,e.Utilde=360,e.Utildeacute=7800,e.Utildebelow=7796,e.V=86,e.Vcircle=9419,e.Vdotbelow=7806,e.Vecyrillic=1042,e.Vewarmenian=1358,e.Vhook=434,e.Vmonospace=65334,e.Voarmenian=1352,e.Vsmall=63350,e.Vtilde=7804,e.W=87,e.Wacute=7810,e.Wcircle=9420,e.Wcircumflex=372,e.Wdieresis=7812,e.Wdotaccent=7814,e.Wdotbelow=7816,e.Wgrave=7808,e.Wmonospace=65335,e.Wsmall=63351,e.X=88,e.Xcircle=9421,e.Xdieresis=7820,e.Xdotaccent=7818,e.Xeharmenian=1341,e.Xi=926,e.Xmonospace=65336,e.Xsmall=63352,e.Y=89,e.Yacute=221,e.Yacutesmall=63485,e.Yatcyrillic=1122,e.Ycircle=9422,e.Ycircumflex=374,e.Ydieresis=376,e.Ydieresissmall=63487,e.Ydotaccent=7822,e.Ydotbelow=7924,e.Yericyrillic=1067,e.Yerudieresiscyrillic=1272,e.Ygrave=7922,e.Yhook=435,e.Yhookabove=7926,e.Yiarmenian=1349,e.Yicyrillic=1031,e.Yiwnarmenian=1362,e.Ymonospace=65337,e.Ysmall=63353,e.Ytilde=7928,e.Yusbigcyrillic=1130,e.Yusbigiotifiedcyrillic=1132,e.Yuslittlecyrillic=1126,e.Yuslittleiotifiedcyrillic=1128,e.Z=90,e.Zaarmenian=1334,e.Zacute=377,e.Zcaron=381,e.Zcaronsmall=63231,e.Zcircle=9423,e.Zcircumflex=7824,e.Zdot=379,e.Zdotaccent=379,e.Zdotbelow=7826,e.Zecyrillic=1047,e.Zedescendercyrillic=1176,e.Zedieresiscyrillic=1246,e.Zeta=918,e.Zhearmenian=1338,e.Zhebrevecyrillic=1217,e.Zhecyrillic=1046,e.Zhedescendercyrillic=1174,e.Zhedieresiscyrillic=1244,e.Zlinebelow=7828,e.Zmonospace=65338,e.Zsmall=63354,e.Zstroke=437,e.a=97,e.aabengali=2438,e.aacute=225,e.aadeva=2310,e.aagujarati=2694,e.aagurmukhi=2566,e.aamatragurmukhi=2622,e.aarusquare=13059,e.aavowelsignbengali=2494,e.aavowelsigndeva=2366,e.aavowelsigngujarati=2750,e.abbreviationmarkarmenian=1375,e.abbreviationsigndeva=2416,e.abengali=2437,e.abopomofo=12570,e.abreve=259,e.abreveacute=7855,e.abrevecyrillic=1233,e.abrevedotbelow=7863,e.abrevegrave=7857,e.abrevehookabove=7859,e.abrevetilde=7861,e.acaron=462,e.acircle=9424,e.acircumflex=226,e.acircumflexacute=7845,e.acircumflexdotbelow=7853,e.acircumflexgrave=7847,e.acircumflexhookabove=7849,e.acircumflextilde=7851,e.acute=180,e.acutebelowcmb=791,e.acutecmb=769,e.acutecomb=769,e.acutedeva=2388,e.acutelowmod=719,e.acutetonecmb=833,e.acyrillic=1072,e.adblgrave=513,e.addakgurmukhi=2673,e.adeva=2309,e.adieresis=228,e.adieresiscyrillic=1235,e.adieresismacron=479,e.adotbelow=7841,e.adotmacron=481,e.ae=230,e.aeacute=509,e.aekorean=12624,e.aemacron=483,e.afii00208=8213,e.afii08941=8356,e.afii10017=1040,e.afii10018=1041,e.afii10019=1042,e.afii10020=1043,e.afii10021=1044,e.afii10022=1045,e.afii10023=1025,e.afii10024=1046,e.afii10025=1047,e.afii10026=1048,e.afii10027=1049,e.afii10028=1050,e.afii10029=1051,e.afii10030=1052;e.afii10031=1053,e.afii10032=1054,e.afii10033=1055,e.afii10034=1056,e.afii10035=1057,e.afii10036=1058,e.afii10037=1059,e.afii10038=1060,e.afii10039=1061,e.afii10040=1062,e.afii10041=1063,e.afii10042=1064,e.afii10043=1065,e.afii10044=1066,e.afii10045=1067,e.afii10046=1068,e.afii10047=1069,e.afii10048=1070,e.afii10049=1071,e.afii10050=1168,e.afii10051=1026,e.afii10052=1027,e.afii10053=1028,e.afii10054=1029,e.afii10055=1030,e.afii10056=1031,e.afii10057=1032,e.afii10058=1033,e.afii10059=1034,e.afii10060=1035,e.afii10061=1036,e.afii10062=1038,e.afii10063=63172,e.afii10064=63173,e.afii10065=1072,e.afii10066=1073,e.afii10067=1074,e.afii10068=1075,e.afii10069=1076,e.afii10070=1077,e.afii10071=1105,e.afii10072=1078,e.afii10073=1079,e.afii10074=1080,e.afii10075=1081,e.afii10076=1082,e.afii10077=1083,e.afii10078=1084,e.afii10079=1085,e.afii10080=1086,e.afii10081=1087,e.afii10082=1088,e.afii10083=1089,e.afii10084=1090,e.afii10085=1091,e.afii10086=1092,e.afii10087=1093,e.afii10088=1094,e.afii10089=1095,e.afii10090=1096,e.afii10091=1097,e.afii10092=1098,e.afii10093=1099,e.afii10094=1100,e.afii10095=1101,e.afii10096=1102,e.afii10097=1103,e.afii10098=1169,e.afii10099=1106,e.afii10100=1107,e.afii10101=1108,e.afii10102=1109,e.afii10103=1110,e.afii10104=1111,e.afii10105=1112,e.afii10106=1113,e.afii10107=1114,e.afii10108=1115,e.afii10109=1116,e.afii10110=1118,e.afii10145=1039,e.afii10146=1122,e.afii10147=1138,e.afii10148=1140,e.afii10192=63174,e.afii10193=1119,e.afii10194=1123,e.afii10195=1139,e.afii10196=1141,e.afii10831=63175,e.afii10832=63176,e.afii10846=1241,e.afii299=8206,e.afii300=8207,e.afii301=8205,e.afii57381=1642,e.afii57388=1548,e.afii57392=1632,e.afii57393=1633,e.afii57394=1634,e.afii57395=1635,e.afii57396=1636,e.afii57397=1637,e.afii57398=1638,e.afii57399=1639,e.afii57400=1640,e.afii57401=1641,e.afii57403=1563,e.afii57407=1567,e.afii57409=1569,e.afii57410=1570,e.afii57411=1571,e.afii57412=1572,e.afii57413=1573,e.afii57414=1574,e.afii57415=1575,e.afii57416=1576,e.afii57417=1577,e.afii57418=1578,e.afii57419=1579,e.afii57420=1580,e.afii57421=1581,e.afii57422=1582,e.afii57423=1583,e.afii57424=1584,e.afii57425=1585,e.afii57426=1586,e.afii57427=1587,e.afii57428=1588,e.afii57429=1589,e.afii57430=1590,e.afii57431=1591,e.afii57432=1592,e.afii57433=1593,e.afii57434=1594,e.afii57440=1600,e.afii57441=1601,e.afii57442=1602,e.afii57443=1603,e.afii57444=1604,e.afii57445=1605,e.afii57446=1606,e.afii57448=1608,e.afii57449=1609,e.afii57450=1610,e.afii57451=1611,e.afii57452=1612,e.afii57453=1613,e.afii57454=1614,e.afii57455=1615,e.afii57456=1616,e.afii57457=1617,e.afii57458=1618,e.afii57470=1607,e.afii57505=1700,e.afii57506=1662,e.afii57507=1670,e.afii57508=1688,e.afii57509=1711,e.afii57511=1657,e.afii57512=1672,e.afii57513=1681,e.afii57514=1722,e.afii57519=1746,e.afii57534=1749,e.afii57636=8362,e.afii57645=1470,e.afii57658=1475,e.afii57664=1488,e.afii57665=1489,e.afii57666=1490,e.afii57667=1491,e.afii57668=1492,e.afii57669=1493,e.afii57670=1494,e.afii57671=1495,e.afii57672=1496,e.afii57673=1497,e.afii57674=1498,e.afii57675=1499,e.afii57676=1500,e.afii57677=1501,e.afii57678=1502,e.afii57679=1503,e.afii57680=1504,e.afii57681=1505,e.afii57682=1506,e.afii57683=1507,e.afii57684=1508,e.afii57685=1509,e.afii57686=1510,e.afii57687=1511,e.afii57688=1512,e.afii57689=1513,e.afii57690=1514,e.afii57694=64298,e.afii57695=64299,e.afii57700=64331,e.afii57705=64287,e.afii57716=1520,e.afii57717=1521,e.afii57718=1522,e.afii57723=64309,e.afii57793=1460,e.afii57794=1461,e.afii57795=1462,e.afii57796=1467,e.afii57797=1464,e.afii57798=1463,e.afii57799=1456,e.afii57800=1458,e.afii57801=1457,e.afii57802=1459,e.afii57803=1474,e.afii57804=1473,e.afii57806=1465,e.afii57807=1468,e.afii57839=1469,e.afii57841=1471,e.afii57842=1472,e.afii57929=700,e.afii61248=8453,e.afii61289=8467,e.afii61352=8470,e.afii61573=8236,e.afii61574=8237,e.afii61575=8238,e.afii61664=8204,e.afii63167=1645,e.afii64937=701,e.agrave=224,e.agujarati=2693,e.agurmukhi=2565,e.ahiragana=12354,e.ahookabove=7843,e.aibengali=2448,e.aibopomofo=12574,e.aideva=2320,e.aiecyrillic=1237,e.aigujarati=2704,e.aigurmukhi=2576,e.aimatragurmukhi=2632,e.ainarabic=1593,e.ainfinalarabic=65226,e.aininitialarabic=65227,e.ainmedialarabic=65228,e.ainvertedbreve=515,e.aivowelsignbengali=2504,e.aivowelsigndeva=2376,e.aivowelsigngujarati=2760,e.akatakana=12450,e.akatakanahalfwidth=65393,e.akorean=12623,e.alef=1488,e.alefarabic=1575,e.alefdageshhebrew=64304,e.aleffinalarabic=65166,e.alefhamzaabovearabic=1571,e.alefhamzaabovefinalarabic=65156,e.alefhamzabelowarabic=1573,e.alefhamzabelowfinalarabic=65160,e.alefhebrew=1488,e.aleflamedhebrew=64335,e.alefmaddaabovearabic=1570,e.alefmaddaabovefinalarabic=65154,e.alefmaksuraarabic=1609,e.alefmaksurafinalarabic=65264,e.alefmaksurainitialarabic=65267,e.alefmaksuramedialarabic=65268,e.alefpatahhebrew=64302,e.alefqamatshebrew=64303,e.aleph=8501,e.allequal=8780,e.alpha=945,e.alphatonos=940,e.amacron=257,e.amonospace=65345,e.ampersand=38,e.ampersandmonospace=65286,e.ampersandsmall=63270,e.amsquare=13250,e.anbopomofo=12578,e.angbopomofo=12580,e.angbracketleft=12296,e.angbracketright=12297,e.angkhankhuthai=3674,e.angle=8736,e.anglebracketleft=12296,e.anglebracketleftvertical=65087,e.anglebracketright=12297,e.anglebracketrightvertical=65088,e.angleleft=9001,e.angleright=9002,e.angstrom=8491,e.anoteleia=903,e.anudattadeva=2386,e.anusvarabengali=2434,e.anusvaradeva=2306,e.anusvaragujarati=2690,e.aogonek=261,e.apaatosquare=13056,e.aparen=9372,e.apostrophearmenian=1370,e.apostrophemod=700,e.apple=63743,e.approaches=8784,e.approxequal=8776,e.approxequalorimage=8786,e.approximatelyequal=8773,e.araeaekorean=12686,e.araeakorean=12685,e.arc=8978,e.arighthalfring=7834,e.aring=229,e.aringacute=507,e.aringbelow=7681,e.arrowboth=8596,e.arrowdashdown=8675,e.arrowdashleft=8672,e.arrowdashright=8674,e.arrowdashup=8673,e.arrowdblboth=8660,e.arrowdbldown=8659,e.arrowdblleft=8656,e.arrowdblright=8658,e.arrowdblup=8657,e.arrowdown=8595,e.arrowdownleft=8601,e.arrowdownright=8600,e.arrowdownwhite=8681,e.arrowheaddownmod=709,e.arrowheadleftmod=706,e.arrowheadrightmod=707,e.arrowheadupmod=708,e.arrowhorizex=63719,e.arrowleft=8592,e.arrowleftdbl=8656,e.arrowleftdblstroke=8653,e.arrowleftoverright=8646,e.arrowleftwhite=8678,e.arrowright=8594,e.arrowrightdblstroke=8655,e.arrowrightheavy=10142,e.arrowrightoverleft=8644,e.arrowrightwhite=8680,e.arrowtableft=8676,e.arrowtabright=8677,e.arrowup=8593,e.arrowupdn=8597,e.arrowupdnbse=8616,e.arrowupdownbase=8616,e.arrowupleft=8598,e.arrowupleftofdown=8645,e.arrowupright=8599,e.arrowupwhite=8679,e.arrowvertex=63718,e.asciicircum=94,e.asciicircummonospace=65342,e.asciitilde=126,e.asciitildemonospace=65374,e.ascript=593,e.ascriptturned=594,e.asmallhiragana=12353,e.asmallkatakana=12449,e.asmallkatakanahalfwidth=65383,e.asterisk=42,e.asteriskaltonearabic=1645,e.asteriskarabic=1645,e.asteriskmath=8727,e.asteriskmonospace=65290,e.asterisksmall=65121,e.asterism=8258,e.asuperior=63209,e.asymptoticallyequal=8771,e.at=64,e.atilde=227,e.atmonospace=65312,e.atsmall=65131,e.aturned=592,e.aubengali=2452,e.aubopomofo=12576,e.audeva=2324,e.augujarati=2708,e.augurmukhi=2580,e.aulengthmarkbengali=2519,e.aumatragurmukhi=2636,e.auvowelsignbengali=2508,e.auvowelsigndeva=2380,e.auvowelsigngujarati=2764,e.avagrahadeva=2365,e.aybarmenian=1377,e.ayin=1506,e.ayinaltonehebrew=64288,e.ayinhebrew=1506,e.b=98,e.babengali=2476,e.backslash=92,e.backslashmonospace=65340,e.badeva=2348,e.bagujarati=2732,e.bagurmukhi=2604,e.bahiragana=12400,e.bahtthai=3647,e.bakatakana=12496,e.bar=124,e.barmonospace=65372,e.bbopomofo=12549,e.bcircle=9425,e.bdotaccent=7683,e.bdotbelow=7685,e.beamedsixteenthnotes=9836,e.because=8757,e.becyrillic=1073,e.beharabic=1576,e.behfinalarabic=65168,e.behinitialarabic=65169,e.behiragana=12409,e.behmedialarabic=65170,e.behmeeminitialarabic=64671,e.behmeemisolatedarabic=64520,e.behnoonfinalarabic=64621,e.bekatakana=12505,e.benarmenian=1378,e.bet=1489,e.beta=946,e.betasymbolgreek=976,e.betdagesh=64305,e.betdageshhebrew=64305,e.bethebrew=1489,e.betrafehebrew=64332,e.bhabengali=2477,e.bhadeva=2349,e.bhagujarati=2733,e.bhagurmukhi=2605,e.bhook=595,e.bihiragana=12403,e.bikatakana=12499,e.bilabialclick=664,e.bindigurmukhi=2562,e.birusquare=13105,e.blackcircle=9679,e.blackdiamond=9670,e.blackdownpointingtriangle=9660,e.blackleftpointingpointer=9668,e.blackleftpointingtriangle=9664,e.blacklenticularbracketleft=12304,e.blacklenticularbracketleftvertical=65083,e.blacklenticularbracketright=12305,e.blacklenticularbracketrightvertical=65084,e.blacklowerlefttriangle=9699,e.blacklowerrighttriangle=9698,e.blackrectangle=9644,e.blackrightpointingpointer=9658,e.blackrightpointingtriangle=9654,e.blacksmallsquare=9642,e.blacksmilingface=9787,e.blacksquare=9632,e.blackstar=9733,e.blackupperlefttriangle=9700,e.blackupperrighttriangle=9701,e.blackuppointingsmalltriangle=9652,e.blackuppointingtriangle=9650,e.blank=9251,e.blinebelow=7687,e.block=9608,e.bmonospace=65346,e.bobaimaithai=3610,e.bohiragana=12412,e.bokatakana=12508,e.bparen=9373,e.bqsquare=13251,e.braceex=63732,e.braceleft=123,e.braceleftbt=63731,e.braceleftmid=63730,e.braceleftmonospace=65371,e.braceleftsmall=65115,e.bracelefttp=63729,e.braceleftvertical=65079,e.braceright=125,e.bracerightbt=63742,e.bracerightmid=63741,e.bracerightmonospace=65373,e.bracerightsmall=65116,e.bracerighttp=63740,e.bracerightvertical=65080,e.bracketleft=91,e.bracketleftbt=63728,e.bracketleftex=63727,e.bracketleftmonospace=65339,e.bracketlefttp=63726,e.bracketright=93,e.bracketrightbt=63739,e.bracketrightex=63738,e.bracketrightmonospace=65341,e.bracketrighttp=63737,e.breve=728,e.brevebelowcmb=814,e.brevecmb=774,e.breveinvertedbelowcmb=815,e.breveinvertedcmb=785,e.breveinverteddoublecmb=865,e.bridgebelowcmb=810,e.bridgeinvertedbelowcmb=826,e.brokenbar=166,e.bstroke=384,e.bsuperior=63210,e.btopbar=387,e.buhiragana=12406,e.bukatakana=12502,e.bullet=8226,e.bulletinverse=9688,e.bulletoperator=8729,e.bullseye=9678,e.c=99,e.caarmenian=1390,e.cabengali=2458,e.cacute=263,e.cadeva=2330,e.cagujarati=2714,e.cagurmukhi=2586,e.calsquare=13192,e.candrabindubengali=2433,e.candrabinducmb=784,e.candrabindudeva=2305,e.candrabindugujarati=2689,e.capslock=8682,e.careof=8453,e.caron=711,e.caronbelowcmb=812,e.caroncmb=780,e.carriagereturn=8629,e.cbopomofo=12568,e.ccaron=269,e.ccedilla=231,e.ccedillaacute=7689,e.ccircle=9426,e.ccircumflex=265,e.ccurl=597,e.cdot=267,e.cdotaccent=267,e.cdsquare=13253,e.cedilla=184,e.cedillacmb=807,e.cent=162,e.centigrade=8451,e.centinferior=63199,e.centmonospace=65504,e.centoldstyle=63394,e.centsuperior=63200,e.chaarmenian=1401,e.chabengali=2459,e.chadeva=2331,e.chagujarati=2715,e.chagurmukhi=2587,e.chbopomofo=12564,e.cheabkhasiancyrillic=1213,e.checkmark=10003,e.checyrillic=1095,e.chedescenderabkhasiancyrillic=1215,e.chedescendercyrillic=1207,e.chedieresiscyrillic=1269,e.cheharmenian=1395,e.chekhakassiancyrillic=1228,e.cheverticalstrokecyrillic=1209,e.chi=967,e.chieuchacirclekorean=12919,e.chieuchaparenkorean=12823,e.chieuchcirclekorean=12905,e.chieuchkorean=12618,e.chieuchparenkorean=12809,e.chochangthai=3594,e.chochanthai=3592,e.chochingthai=3593,e.chochoethai=3596,e.chook=392,e.cieucacirclekorean=12918,e.cieucaparenkorean=12822,e.cieuccirclekorean=12904,e.cieuckorean=12616,e.cieucparenkorean=12808,e.cieucuparenkorean=12828,e.circle=9675,e.circlecopyrt=169,e.circlemultiply=8855,e.circleot=8857,e.circleplus=8853,e.circlepostalmark=12342,e.circlewithlefthalfblack=9680,e.circlewithrighthalfblack=9681,e.circumflex=710,e.circumflexbelowcmb=813,e.circumflexcmb=770,e.clear=8999,e.clickalveolar=450,e.clickdental=448,e.clicklateral=449,e.clickretroflex=451,e.club=9827,e.clubsuitblack=9827,e.clubsuitwhite=9831,e.cmcubedsquare=13220,e.cmonospace=65347,e.cmsquaredsquare=13216,e.coarmenian=1409,e.colon=58,e.colonmonetary=8353,e.colonmonospace=65306,e.colonsign=8353,e.colonsmall=65109,e.colontriangularhalfmod=721,e.colontriangularmod=720,e.comma=44,e.commaabovecmb=787,e.commaaboverightcmb=789,e.commaaccent=63171,e.commaarabic=1548,e.commaarmenian=1373,e.commainferior=63201,e.commamonospace=65292,e.commareversedabovecmb=788,e.commareversedmod=701,e.commasmall=65104,e.commasuperior=63202,e.commaturnedabovecmb=786,e.commaturnedmod=699,e.compass=9788,e.congruent=8773,e.contourintegral=8750,e.control=8963,e.controlACK=6,e.controlBEL=7,e.controlBS=8,e.controlCAN=24,e.controlCR=13,e.controlDC1=17,e.controlDC2=18,e.controlDC3=19,e.controlDC4=20,e.controlDEL=127,e.controlDLE=16,e.controlEM=25,e.controlENQ=5,e.controlEOT=4,e.controlESC=27,e.controlETB=23,e.controlETX=3,e.controlFF=12,e.controlFS=28,e.controlGS=29,e.controlHT=9,e.controlLF=10,e.controlNAK=21,e.controlNULL=0,e.controlRS=30,e.controlSI=15,e.controlSO=14,e.controlSOT=2,e.controlSTX=1,e.controlSUB=26,e.controlSYN=22,e.controlUS=31,e.controlVT=11,e.copyright=169,e.copyrightsans=63721,e.copyrightserif=63193,e.cornerbracketleft=12300,e.cornerbracketlefthalfwidth=65378,e.cornerbracketleftvertical=65089,e.cornerbracketright=12301,e.cornerbracketrighthalfwidth=65379,e.cornerbracketrightvertical=65090,e.corporationsquare=13183,e.cosquare=13255,e.coverkgsquare=13254,e.cparen=9374,e.cruzeiro=8354,e.cstretched=663,e.curlyand=8911,e.curlyor=8910,e.currency=164,e.cyrBreve=63185,e.cyrFlex=63186,e.cyrbreve=63188,e.cyrflex=63189,e.d=100,e.daarmenian=1380,e.dabengali=2470,e.dadarabic=1590,e.dadeva=2342,e.dadfinalarabic=65214,e.dadinitialarabic=65215,e.dadmedialarabic=65216,e.dagesh=1468,e.dageshhebrew=1468,e.dagger=8224,e.daggerdbl=8225,e.dagujarati=2726,e.dagurmukhi=2598,e.dahiragana=12384,e.dakatakana=12480,e.dalarabic=1583,e.dalet=1491,e.daletdagesh=64307,e.daletdageshhebrew=64307,e.dalethebrew=1491,e.dalfinalarabic=65194,e.dammaarabic=1615,e.dammalowarabic=1615,e.dammatanaltonearabic=1612,e.dammatanarabic=1612,e.danda=2404,e.dargahebrew=1447,e.dargalefthebrew=1447,e.dasiapneumatacyrilliccmb=1157,e.dblGrave=63187,e.dblanglebracketleft=12298,e.dblanglebracketleftvertical=65085,e.dblanglebracketright=12299,e.dblanglebracketrightvertical=65086,e.dblarchinvertedbelowcmb=811,e.dblarrowleft=8660,e.dblarrowright=8658,e.dbldanda=2405,e.dblgrave=63190,e.dblgravecmb=783,e.dblintegral=8748,e.dbllowline=8215,e.dbllowlinecmb=819,e.dbloverlinecmb=831,e.dblprimemod=698,e.dblverticalbar=8214,e.dblverticallineabovecmb=782,e.dbopomofo=12553,e.dbsquare=13256,e.dcaron=271,e.dcedilla=7697,e.dcircle=9427,e.dcircumflexbelow=7699,e.dcroat=273,e.ddabengali=2465,e.ddadeva=2337,e.ddagujarati=2721,e.ddagurmukhi=2593,e.ddalarabic=1672,e.ddalfinalarabic=64393,e.dddhadeva=2396,e.ddhabengali=2466,e.ddhadeva=2338,e.ddhagujarati=2722,e.ddhagurmukhi=2594,e.ddotaccent=7691,e.ddotbelow=7693,e.decimalseparatorarabic=1643,e.decimalseparatorpersian=1643,e.decyrillic=1076,e.degree=176,e.dehihebrew=1453,e.dehiragana=12391,e.deicoptic=1007,e.dekatakana=12487,e.deleteleft=9003,e.deleteright=8998,e.delta=948,e.deltaturned=397,e.denominatorminusonenumeratorbengali=2552,e.dezh=676,e.dhabengali=2471,e.dhadeva=2343,e.dhagujarati=2727,e.dhagurmukhi=2599,e.dhook=599,e.dialytikatonos=901,e.dialytikatonoscmb=836,e.diamond=9830,e.diamondsuitwhite=9826,e.dieresis=168,e.dieresisacute=63191,e.dieresisbelowcmb=804,e.dieresiscmb=776,e.dieresisgrave=63192,e.dieresistonos=901,e.dihiragana=12386,e.dikatakana=12482,e.dittomark=12291,e.divide=247,e.divides=8739,e.divisionslash=8725,e.djecyrillic=1106,e.dkshade=9619,e.dlinebelow=7695,e.dlsquare=13207,e.dmacron=273,e.dmonospace=65348,e.dnblock=9604,e.dochadathai=3598,e.dodekthai=3604,e.dohiragana=12393,e.dokatakana=12489,e.dollar=36;e.dollarinferior=63203,e.dollarmonospace=65284,e.dollaroldstyle=63268,e.dollarsmall=65129,e.dollarsuperior=63204,e.dong=8363,e.dorusquare=13094,e.dotaccent=729,e.dotaccentcmb=775,e.dotbelowcmb=803,e.dotbelowcomb=803,e.dotkatakana=12539,e.dotlessi=305,e.dotlessj=63166,e.dotlessjstrokehook=644,e.dotmath=8901,e.dottedcircle=9676,e.doubleyodpatah=64287,e.doubleyodpatahhebrew=64287,e.downtackbelowcmb=798,e.downtackmod=725,e.dparen=9375,e.dsuperior=63211,e.dtail=598,e.dtopbar=396,e.duhiragana=12389,e.dukatakana=12485,e.dz=499,e.dzaltone=675,e.dzcaron=454,e.dzcurl=677,e.dzeabkhasiancyrillic=1249,e.dzecyrillic=1109,e.dzhecyrillic=1119,e.e=101,e.eacute=233,e.earth=9793,e.ebengali=2447,e.ebopomofo=12572,e.ebreve=277,e.ecandradeva=2317,e.ecandragujarati=2701,e.ecandravowelsigndeva=2373,e.ecandravowelsigngujarati=2757,e.ecaron=283,e.ecedillabreve=7709,e.echarmenian=1381,e.echyiwnarmenian=1415,e.ecircle=9428,e.ecircumflex=234,e.ecircumflexacute=7871,e.ecircumflexbelow=7705,e.ecircumflexdotbelow=7879,e.ecircumflexgrave=7873,e.ecircumflexhookabove=7875,e.ecircumflextilde=7877,e.ecyrillic=1108,e.edblgrave=517,e.edeva=2319,e.edieresis=235,e.edot=279,e.edotaccent=279,e.edotbelow=7865,e.eegurmukhi=2575,e.eematragurmukhi=2631,e.efcyrillic=1092,e.egrave=232,e.egujarati=2703,e.eharmenian=1383,e.ehbopomofo=12573,e.ehiragana=12360,e.ehookabove=7867,e.eibopomofo=12575,e.eight=56,e.eightarabic=1640,e.eightbengali=2542,e.eightcircle=9319,e.eightcircleinversesansserif=10129,e.eightdeva=2414,e.eighteencircle=9329,e.eighteenparen=9349,e.eighteenperiod=9369,e.eightgujarati=2798,e.eightgurmukhi=2670,e.eighthackarabic=1640,e.eighthangzhou=12328,e.eighthnotebeamed=9835,e.eightideographicparen=12839,e.eightinferior=8328,e.eightmonospace=65304,e.eightoldstyle=63288,e.eightparen=9339,e.eightperiod=9359,e.eightpersian=1784,e.eightroman=8567,e.eightsuperior=8312,e.eightthai=3672,e.einvertedbreve=519,e.eiotifiedcyrillic=1125,e.ekatakana=12456,e.ekatakanahalfwidth=65396,e.ekonkargurmukhi=2676,e.ekorean=12628,e.elcyrillic=1083,e.element=8712,e.elevencircle=9322,e.elevenparen=9342,e.elevenperiod=9362,e.elevenroman=8570,e.ellipsis=8230,e.ellipsisvertical=8942,e.emacron=275,e.emacronacute=7703,e.emacrongrave=7701,e.emcyrillic=1084,e.emdash=8212,e.emdashvertical=65073,e.emonospace=65349,e.emphasismarkarmenian=1371,e.emptyset=8709,e.enbopomofo=12579,e.encyrillic=1085,e.endash=8211,e.endashvertical=65074,e.endescendercyrillic=1187,e.eng=331,e.engbopomofo=12581,e.enghecyrillic=1189,e.enhookcyrillic=1224,e.enspace=8194,e.eogonek=281,e.eokorean=12627,e.eopen=603,e.eopenclosed=666,e.eopenreversed=604,e.eopenreversedclosed=606,e.eopenreversedhook=605,e.eparen=9376,e.epsilon=949,e.epsilontonos=941,e.equal=61,e.equalmonospace=65309,e.equalsmall=65126,e.equalsuperior=8316,e.equivalence=8801,e.erbopomofo=12582,e.ercyrillic=1088,e.ereversed=600,e.ereversedcyrillic=1101,e.escyrillic=1089,e.esdescendercyrillic=1195,e.esh=643,e.eshcurl=646,e.eshortdeva=2318,e.eshortvowelsigndeva=2374,e.eshreversedloop=426,e.eshsquatreversed=645,e.esmallhiragana=12359,e.esmallkatakana=12455,e.esmallkatakanahalfwidth=65386,e.estimated=8494,e.esuperior=63212,e.eta=951,e.etarmenian=1384,e.etatonos=942,e.eth=240,e.etilde=7869,e.etildebelow=7707,e.etnahtafoukhhebrew=1425,e.etnahtafoukhlefthebrew=1425,e.etnahtahebrew=1425,e.etnahtalefthebrew=1425,e.eturned=477,e.eukorean=12641,e.euro=8364,e.evowelsignbengali=2503,e.evowelsigndeva=2375,e.evowelsigngujarati=2759,e.exclam=33,e.exclamarmenian=1372,e.exclamdbl=8252,e.exclamdown=161,e.exclamdownsmall=63393,e.exclammonospace=65281,e.exclamsmall=63265,e.existential=8707,e.ezh=658,e.ezhcaron=495,e.ezhcurl=659,e.ezhreversed=441,e.ezhtail=442,e.f=102,e.fadeva=2398,e.fagurmukhi=2654,e.fahrenheit=8457,e.fathaarabic=1614,e.fathalowarabic=1614,e.fathatanarabic=1611,e.fbopomofo=12552,e.fcircle=9429,e.fdotaccent=7711,e.feharabic=1601,e.feharmenian=1414,e.fehfinalarabic=65234,e.fehinitialarabic=65235,e.fehmedialarabic=65236,e.feicoptic=997,e.female=9792,e.ff=64256,e.f_f=64256,e.ffi=64259,e.f_f_i=64259,e.ffl=64260,e.f_f_l=64260,e.fi=64257,e.f_i=64257,e.fifteencircle=9326,e.fifteenparen=9346,e.fifteenperiod=9366,e.figuredash=8210,e.filledbox=9632,e.filledrect=9644,e.finalkaf=1498,e.finalkafdagesh=64314,e.finalkafdageshhebrew=64314,e.finalkafhebrew=1498,e.finalmem=1501,e.finalmemhebrew=1501,e.finalnun=1503,e.finalnunhebrew=1503,e.finalpe=1507,e.finalpehebrew=1507,e.finaltsadi=1509,e.finaltsadihebrew=1509,e.firsttonechinese=713,e.fisheye=9673,e.fitacyrillic=1139,e.five=53,e.fivearabic=1637,e.fivebengali=2539,e.fivecircle=9316,e.fivecircleinversesansserif=10126,e.fivedeva=2411,e.fiveeighths=8541,e.fivegujarati=2795,e.fivegurmukhi=2667,e.fivehackarabic=1637,e.fivehangzhou=12325,e.fiveideographicparen=12836,e.fiveinferior=8325,e.fivemonospace=65301,e.fiveoldstyle=63285,e.fiveparen=9336,e.fiveperiod=9356,e.fivepersian=1781,e.fiveroman=8564,e.fivesuperior=8309,e.fivethai=3669,e.fl=64258,e.f_l=64258,e.florin=402,e.fmonospace=65350,e.fmsquare=13209,e.fofanthai=3615,e.fofathai=3613,e.fongmanthai=3663,e.forall=8704,e.four=52,e.fourarabic=1636,e.fourbengali=2538,e.fourcircle=9315,e.fourcircleinversesansserif=10125,e.fourdeva=2410,e.fourgujarati=2794,e.fourgurmukhi=2666,e.fourhackarabic=1636,e.fourhangzhou=12324,e.fourideographicparen=12835,e.fourinferior=8324,e.fourmonospace=65300,e.fournumeratorbengali=2551,e.fouroldstyle=63284,e.fourparen=9335,e.fourperiod=9355,e.fourpersian=1780,e.fourroman=8563,e.foursuperior=8308,e.fourteencircle=9325,e.fourteenparen=9345,e.fourteenperiod=9365,e.fourthai=3668,e.fourthtonechinese=715,e.fparen=9377,e.fraction=8260,e.franc=8355,e.g=103,e.gabengali=2455,e.gacute=501,e.gadeva=2327,e.gafarabic=1711,e.gaffinalarabic=64403,e.gafinitialarabic=64404,e.gafmedialarabic=64405,e.gagujarati=2711,e.gagurmukhi=2583,e.gahiragana=12364,e.gakatakana=12460,e.gamma=947,e.gammalatinsmall=611,e.gammasuperior=736,e.gangiacoptic=1003,e.gbopomofo=12557,e.gbreve=287,e.gcaron=487,e.gcedilla=291,e.gcircle=9430,e.gcircumflex=285,e.gcommaaccent=291,e.gdot=289,e.gdotaccent=289,e.gecyrillic=1075,e.gehiragana=12370,e.gekatakana=12466,e.geometricallyequal=8785,e.gereshaccenthebrew=1436,e.gereshhebrew=1523,e.gereshmuqdamhebrew=1437,e.germandbls=223,e.gershayimaccenthebrew=1438,e.gershayimhebrew=1524,e.getamark=12307,e.ghabengali=2456,e.ghadarmenian=1394,e.ghadeva=2328,e.ghagujarati=2712,e.ghagurmukhi=2584,e.ghainarabic=1594,e.ghainfinalarabic=65230,e.ghaininitialarabic=65231,e.ghainmedialarabic=65232,e.ghemiddlehookcyrillic=1173,e.ghestrokecyrillic=1171,e.gheupturncyrillic=1169,e.ghhadeva=2394,e.ghhagurmukhi=2650,e.ghook=608,e.ghzsquare=13203,e.gihiragana=12366,e.gikatakana=12462,e.gimarmenian=1379,e.gimel=1490,e.gimeldagesh=64306,e.gimeldageshhebrew=64306,e.gimelhebrew=1490,e.gjecyrillic=1107,e.glottalinvertedstroke=446,e.glottalstop=660,e.glottalstopinverted=662,e.glottalstopmod=704,e.glottalstopreversed=661,e.glottalstopreversedmod=705,e.glottalstopreversedsuperior=740,e.glottalstopstroke=673,e.glottalstopstrokereversed=674,e.gmacron=7713,e.gmonospace=65351,e.gohiragana=12372,e.gokatakana=12468,e.gparen=9378,e.gpasquare=13228,e.gradient=8711,e.grave=96,e.gravebelowcmb=790,e.gravecmb=768,e.gravecomb=768,e.gravedeva=2387,e.gravelowmod=718,e.gravemonospace=65344,e.gravetonecmb=832,e.greater=62,e.greaterequal=8805,e.greaterequalorless=8923,e.greatermonospace=65310,e.greaterorequivalent=8819,e.greaterorless=8823,e.greateroverequal=8807,e.greatersmall=65125,e.gscript=609,e.gstroke=485,e.guhiragana=12368,e.guillemotleft=171,e.guillemotright=187,e.guilsinglleft=8249,e.guilsinglright=8250,e.gukatakana=12464,e.guramusquare=13080,e.gysquare=13257,e.h=104,e.haabkhasiancyrillic=1193,e.haaltonearabic=1729,e.habengali=2489,e.hadescendercyrillic=1203,e.hadeva=2361,e.hagujarati=2745,e.hagurmukhi=2617,e.haharabic=1581,e.hahfinalarabic=65186,e.hahinitialarabic=65187,e.hahiragana=12399,e.hahmedialarabic=65188,e.haitusquare=13098,e.hakatakana=12495,e.hakatakanahalfwidth=65418,e.halantgurmukhi=2637,e.hamzaarabic=1569,e.hamzalowarabic=1569,e.hangulfiller=12644,e.hardsigncyrillic=1098,e.harpoonleftbarbup=8636,e.harpoonrightbarbup=8640,e.hasquare=13258,e.hatafpatah=1458,e.hatafpatah16=1458,e.hatafpatah23=1458,e.hatafpatah2f=1458,e.hatafpatahhebrew=1458,e.hatafpatahnarrowhebrew=1458,e.hatafpatahquarterhebrew=1458,e.hatafpatahwidehebrew=1458,e.hatafqamats=1459,e.hatafqamats1b=1459,e.hatafqamats28=1459,e.hatafqamats34=1459,e.hatafqamatshebrew=1459,e.hatafqamatsnarrowhebrew=1459,e.hatafqamatsquarterhebrew=1459,e.hatafqamatswidehebrew=1459,e.hatafsegol=1457,e.hatafsegol17=1457,e.hatafsegol24=1457,e.hatafsegol30=1457,e.hatafsegolhebrew=1457,e.hatafsegolnarrowhebrew=1457,e.hatafsegolquarterhebrew=1457,e.hatafsegolwidehebrew=1457,e.hbar=295,e.hbopomofo=12559,e.hbrevebelow=7723,e.hcedilla=7721,e.hcircle=9431,e.hcircumflex=293,e.hdieresis=7719,e.hdotaccent=7715,e.hdotbelow=7717,e.he=1492,e.heart=9829,e.heartsuitblack=9829,e.heartsuitwhite=9825,e.hedagesh=64308,e.hedageshhebrew=64308,e.hehaltonearabic=1729,e.heharabic=1607,e.hehebrew=1492,e.hehfinalaltonearabic=64423,e.hehfinalalttwoarabic=65258,e.hehfinalarabic=65258,e.hehhamzaabovefinalarabic=64421,e.hehhamzaaboveisolatedarabic=64420,e.hehinitialaltonearabic=64424,e.hehinitialarabic=65259,e.hehiragana=12408,e.hehmedialaltonearabic=64425,e.hehmedialarabic=65260,e.heiseierasquare=13179,e.hekatakana=12504,e.hekatakanahalfwidth=65421,e.hekutaarusquare=13110,e.henghook=615,e.herutusquare=13113,e.het=1495,e.hethebrew=1495,e.hhook=614,e.hhooksuperior=689,e.hieuhacirclekorean=12923,e.hieuhaparenkorean=12827,e.hieuhcirclekorean=12909,e.hieuhkorean=12622,e.hieuhparenkorean=12813,e.hihiragana=12402,e.hikatakana=12498,e.hikatakanahalfwidth=65419,e.hiriq=1460,e.hiriq14=1460,e.hiriq21=1460,e.hiriq2d=1460,e.hiriqhebrew=1460,e.hiriqnarrowhebrew=1460,e.hiriqquarterhebrew=1460,e.hiriqwidehebrew=1460,e.hlinebelow=7830,e.hmonospace=65352,e.hoarmenian=1392,e.hohipthai=3627,e.hohiragana=12411,e.hokatakana=12507,e.hokatakanahalfwidth=65422,e.holam=1465,e.holam19=1465,e.holam26=1465,e.holam32=1465,e.holamhebrew=1465,e.holamnarrowhebrew=1465,e.holamquarterhebrew=1465,e.holamwidehebrew=1465,e.honokhukthai=3630,e.hookabovecomb=777,e.hookcmb=777,e.hookpalatalizedbelowcmb=801,e.hookretroflexbelowcmb=802,e.hoonsquare=13122,e.horicoptic=1001,e.horizontalbar=8213,e.horncmb=795,e.hotsprings=9832,e.house=8962,e.hparen=9379,e.hsuperior=688,e.hturned=613,e.huhiragana=12405,e.huiitosquare=13107,e.hukatakana=12501,e.hukatakanahalfwidth=65420,e.hungarumlaut=733,e.hungarumlautcmb=779,e.hv=405,e.hyphen=45,e.hypheninferior=63205,e.hyphenmonospace=65293,e.hyphensmall=65123,e.hyphensuperior=63206,e.hyphentwo=8208,e.i=105,e.iacute=237,e.iacyrillic=1103,e.ibengali=2439,e.ibopomofo=12583,e.ibreve=301,e.icaron=464,e.icircle=9432,e.icircumflex=238,e.icyrillic=1110,e.idblgrave=521,e.ideographearthcircle=12943,e.ideographfirecircle=12939,e.ideographicallianceparen=12863,e.ideographiccallparen=12858,e.ideographiccentrecircle=12965,e.ideographicclose=12294,e.ideographiccomma=12289,e.ideographiccommaleft=65380,e.ideographiccongratulationparen=12855,e.ideographiccorrectcircle=12963,e.ideographicearthparen=12847,e.ideographicenterpriseparen=12861,e.ideographicexcellentcircle=12957,e.ideographicfestivalparen=12864,e.ideographicfinancialcircle=12950,e.ideographicfinancialparen=12854,e.ideographicfireparen=12843,e.ideographichaveparen=12850,e.ideographichighcircle=12964,e.ideographiciterationmark=12293,e.ideographiclaborcircle=12952,e.ideographiclaborparen=12856,e.ideographicleftcircle=12967,e.ideographiclowcircle=12966,e.ideographicmedicinecircle=12969,e.ideographicmetalparen=12846,e.ideographicmoonparen=12842,e.ideographicnameparen=12852,e.ideographicperiod=12290,e.ideographicprintcircle=12958,e.ideographicreachparen=12867,e.ideographicrepresentparen=12857,e.ideographicresourceparen=12862,e.ideographicrightcircle=12968,e.ideographicsecretcircle=12953,e.ideographicselfparen=12866,e.ideographicsocietyparen=12851,e.ideographicspace=12288,e.ideographicspecialparen=12853,e.ideographicstockparen=12849,e.ideographicstudyparen=12859,e.ideographicsunparen=12848,e.ideographicsuperviseparen=12860,e.ideographicwaterparen=12844,e.ideographicwoodparen=12845,e.ideographiczero=12295,e.ideographmetalcircle=12942,e.ideographmooncircle=12938,e.ideographnamecircle=12948,e.ideographsuncircle=12944,e.ideographwatercircle=12940,e.ideographwoodcircle=12941,e.ideva=2311,e.idieresis=239,e.idieresisacute=7727,e.idieresiscyrillic=1253,e.idotbelow=7883,e.iebrevecyrillic=1239,e.iecyrillic=1077,e.ieungacirclekorean=12917,e.ieungaparenkorean=12821,e.ieungcirclekorean=12903,e.ieungkorean=12615,e.ieungparenkorean=12807,e.igrave=236,e.igujarati=2695,e.igurmukhi=2567,e.ihiragana=12356,e.ihookabove=7881,e.iibengali=2440,e.iicyrillic=1080,e.iideva=2312,e.iigujarati=2696,e.iigurmukhi=2568,e.iimatragurmukhi=2624,e.iinvertedbreve=523,e.iishortcyrillic=1081,e.iivowelsignbengali=2496,e.iivowelsigndeva=2368,e.iivowelsigngujarati=2752,e.ij=307,e.ikatakana=12452,e.ikatakanahalfwidth=65394,e.ikorean=12643,e.ilde=732,e.iluyhebrew=1452,e.imacron=299,e.imacroncyrillic=1251,e.imageorapproximatelyequal=8787,e.imatragurmukhi=2623,e.imonospace=65353,e.increment=8710,e.infinity=8734,e.iniarmenian=1387,e.integral=8747,e.integralbottom=8993,e.integralbt=8993,e.integralex=63733,e.integraltop=8992,e.integraltp=8992,e.intersection=8745,e.intisquare=13061,e.invbullet=9688,e.invcircle=9689,e.invsmileface=9787,e.iocyrillic=1105,e.iogonek=303,e.iota=953,e.iotadieresis=970,e.iotadieresistonos=912,e.iotalatin=617,e.iotatonos=943,e.iparen=9380,e.irigurmukhi=2674,e.ismallhiragana=12355,e.ismallkatakana=12451,e.ismallkatakanahalfwidth=65384,e.issharbengali=2554,e.istroke=616,e.isuperior=63213,e.iterationhiragana=12445,e.iterationkatakana=12541,e.itilde=297,e.itildebelow=7725,e.iubopomofo=12585,e.iucyrillic=1102,e.ivowelsignbengali=2495,e.ivowelsigndeva=2367,e.ivowelsigngujarati=2751,e.izhitsacyrillic=1141,e.izhitsadblgravecyrillic=1143,e.j=106,e.jaarmenian=1393,e.jabengali=2460,e.jadeva=2332,e.jagujarati=2716,e.jagurmukhi=2588,e.jbopomofo=12560,e.jcaron=496,e.jcircle=9433,e.jcircumflex=309,e.jcrossedtail=669,e.jdotlessstroke=607,e.jecyrillic=1112,e.jeemarabic=1580,e.jeemfinalarabic=65182,e.jeeminitialarabic=65183,e.jeemmedialarabic=65184,e.jeharabic=1688,e.jehfinalarabic=64395,e.jhabengali=2461,e.jhadeva=2333,e.jhagujarati=2717,e.jhagurmukhi=2589,e.jheharmenian=1403,e.jis=12292,e.jmonospace=65354,e.jparen=9381,e.jsuperior=690,e.k=107,e.kabashkircyrillic=1185,e.kabengali=2453,e.kacute=7729,e.kacyrillic=1082,e.kadescendercyrillic=1179,e.kadeva=2325,e.kaf=1499,e.kafarabic=1603,e.kafdagesh=64315,e.kafdageshhebrew=64315,e.kaffinalarabic=65242,e.kafhebrew=1499,e.kafinitialarabic=65243,e.kafmedialarabic=65244,e.kafrafehebrew=64333,e.kagujarati=2709,e.kagurmukhi=2581,e.kahiragana=12363,e.kahookcyrillic=1220,e.kakatakana=12459,e.kakatakanahalfwidth=65398,e.kappa=954,e.kappasymbolgreek=1008,e.kapyeounmieumkorean=12657,e.kapyeounphieuphkorean=12676,e.kapyeounpieupkorean=12664,e.kapyeounssangpieupkorean=12665,e.karoriisquare=13069,e.kashidaautoarabic=1600,e.kashidaautonosidebearingarabic=1600,e.kasmallkatakana=12533,e.kasquare=13188,e.kasraarabic=1616,e.kasratanarabic=1613,e.kastrokecyrillic=1183,e.katahiraprolongmarkhalfwidth=65392,e.kaverticalstrokecyrillic=1181,e.kbopomofo=12558,e.kcalsquare=13193,e.kcaron=489,e.kcedilla=311,e.kcircle=9434,e.kcommaaccent=311,e.kdotbelow=7731,e.keharmenian=1412,e.kehiragana=12369,e.kekatakana=12465,e.kekatakanahalfwidth=65401,e.kenarmenian=1391,e.kesmallkatakana=12534,e.kgreenlandic=312,e.khabengali=2454,e.khacyrillic=1093,e.khadeva=2326,e.khagujarati=2710,e.khagurmukhi=2582,e.khaharabic=1582,e.khahfinalarabic=65190,e.khahinitialarabic=65191,e.khahmedialarabic=65192,e.kheicoptic=999,e.khhadeva=2393,e.khhagurmukhi=2649,e.khieukhacirclekorean=12920,e.khieukhaparenkorean=12824,e.khieukhcirclekorean=12906,e.khieukhkorean=12619,e.khieukhparenkorean=12810,e.khokhaithai=3586,e.khokhonthai=3589,e.khokhuatthai=3587,e.khokhwaithai=3588,e.khomutthai=3675,e.khook=409,e.khorakhangthai=3590,e.khzsquare=13201,e.kihiragana=12365,e.kikatakana=12461,e.kikatakanahalfwidth=65399,e.kiroguramusquare=13077,e.kiromeetorusquare=13078,e.kirosquare=13076,e.kiyeokacirclekorean=12910,e.kiyeokaparenkorean=12814,e.kiyeokcirclekorean=12896,e.kiyeokkorean=12593,e.kiyeokparenkorean=12800,e.kiyeoksioskorean=12595;e.kjecyrillic=1116,e.klinebelow=7733,e.klsquare=13208,e.kmcubedsquare=13222,e.kmonospace=65355,e.kmsquaredsquare=13218,e.kohiragana=12371,e.kohmsquare=13248,e.kokaithai=3585,e.kokatakana=12467,e.kokatakanahalfwidth=65402,e.kooposquare=13086,e.koppacyrillic=1153,e.koreanstandardsymbol=12927,e.koroniscmb=835,e.kparen=9382,e.kpasquare=13226,e.ksicyrillic=1135,e.ktsquare=13263,e.kturned=670,e.kuhiragana=12367,e.kukatakana=12463,e.kukatakanahalfwidth=65400,e.kvsquare=13240,e.kwsquare=13246,e.l=108,e.labengali=2482,e.lacute=314,e.ladeva=2354,e.lagujarati=2738,e.lagurmukhi=2610,e.lakkhangyaothai=3653,e.lamaleffinalarabic=65276,e.lamalefhamzaabovefinalarabic=65272,e.lamalefhamzaaboveisolatedarabic=65271,e.lamalefhamzabelowfinalarabic=65274,e.lamalefhamzabelowisolatedarabic=65273,e.lamalefisolatedarabic=65275,e.lamalefmaddaabovefinalarabic=65270,e.lamalefmaddaaboveisolatedarabic=65269,e.lamarabic=1604,e.lambda=955,e.lambdastroke=411,e.lamed=1500,e.lameddagesh=64316,e.lameddageshhebrew=64316,e.lamedhebrew=1500,e.lamfinalarabic=65246,e.lamhahinitialarabic=64714,e.laminitialarabic=65247,e.lamjeeminitialarabic=64713,e.lamkhahinitialarabic=64715,e.lamlamhehisolatedarabic=65010,e.lammedialarabic=65248,e.lammeemhahinitialarabic=64904,e.lammeeminitialarabic=64716,e.largecircle=9711,e.lbar=410,e.lbelt=620,e.lbopomofo=12556,e.lcaron=318,e.lcedilla=316,e.lcircle=9435,e.lcircumflexbelow=7741,e.lcommaaccent=316,e.ldot=320,e.ldotaccent=320,e.ldotbelow=7735,e.ldotbelowmacron=7737,e.leftangleabovecmb=794,e.lefttackbelowcmb=792,e.less=60,e.lessequal=8804,e.lessequalorgreater=8922,e.lessmonospace=65308,e.lessorequivalent=8818,e.lessorgreater=8822,e.lessoverequal=8806,e.lesssmall=65124,e.lezh=622,e.lfblock=9612,e.lhookretroflex=621,e.lira=8356,e.liwnarmenian=1388,e.lj=457,e.ljecyrillic=1113,e.ll=63168,e.lladeva=2355,e.llagujarati=2739,e.llinebelow=7739,e.llladeva=2356,e.llvocalicbengali=2529,e.llvocalicdeva=2401,e.llvocalicvowelsignbengali=2531,e.llvocalicvowelsigndeva=2403,e.lmiddletilde=619,e.lmonospace=65356,e.lmsquare=13264,e.lochulathai=3628,e.logicaland=8743,e.logicalnot=172,e.logicalnotreversed=8976,e.logicalor=8744,e.lolingthai=3621,e.longs=383,e.lowlinecenterline=65102,e.lowlinecmb=818,e.lowlinedashed=65101,e.lozenge=9674,e.lparen=9383,e.lslash=322,e.lsquare=8467,e.lsuperior=63214,e.ltshade=9617,e.luthai=3622,e.lvocalicbengali=2444,e.lvocalicdeva=2316,e.lvocalicvowelsignbengali=2530,e.lvocalicvowelsigndeva=2402,e.lxsquare=13267,e.m=109,e.mabengali=2478,e.macron=175,e.macronbelowcmb=817,e.macroncmb=772,e.macronlowmod=717,e.macronmonospace=65507,e.macute=7743,e.madeva=2350,e.magujarati=2734,e.magurmukhi=2606,e.mahapakhhebrew=1444,e.mahapakhlefthebrew=1444,e.mahiragana=12414,e.maichattawalowleftthai=63637,e.maichattawalowrightthai=63636,e.maichattawathai=3659,e.maichattawaupperleftthai=63635,e.maieklowleftthai=63628,e.maieklowrightthai=63627,e.maiekthai=3656,e.maiekupperleftthai=63626,e.maihanakatleftthai=63620,e.maihanakatthai=3633,e.maitaikhuleftthai=63625,e.maitaikhuthai=3655,e.maitholowleftthai=63631,e.maitholowrightthai=63630,e.maithothai=3657,e.maithoupperleftthai=63629,e.maitrilowleftthai=63634,e.maitrilowrightthai=63633,e.maitrithai=3658,e.maitriupperleftthai=63632,e.maiyamokthai=3654,e.makatakana=12510,e.makatakanahalfwidth=65423,e.male=9794,e.mansyonsquare=13127,e.maqafhebrew=1470,e.mars=9794,e.masoracirclehebrew=1455,e.masquare=13187,e.mbopomofo=12551,e.mbsquare=13268,e.mcircle=9436,e.mcubedsquare=13221,e.mdotaccent=7745,e.mdotbelow=7747,e.meemarabic=1605,e.meemfinalarabic=65250,e.meeminitialarabic=65251,e.meemmedialarabic=65252,e.meemmeeminitialarabic=64721,e.meemmeemisolatedarabic=64584,e.meetorusquare=13133,e.mehiragana=12417,e.meizierasquare=13182,e.mekatakana=12513,e.mekatakanahalfwidth=65426,e.mem=1502,e.memdagesh=64318,e.memdageshhebrew=64318,e.memhebrew=1502,e.menarmenian=1396,e.merkhahebrew=1445,e.merkhakefulahebrew=1446,e.merkhakefulalefthebrew=1446,e.merkhalefthebrew=1445,e.mhook=625,e.mhzsquare=13202,e.middledotkatakanahalfwidth=65381,e.middot=183,e.mieumacirclekorean=12914,e.mieumaparenkorean=12818,e.mieumcirclekorean=12900,e.mieumkorean=12609,e.mieumpansioskorean=12656,e.mieumparenkorean=12804,e.mieumpieupkorean=12654,e.mieumsioskorean=12655,e.mihiragana=12415,e.mikatakana=12511,e.mikatakanahalfwidth=65424,e.minus=8722,e.minusbelowcmb=800,e.minuscircle=8854,e.minusmod=727,e.minusplus=8723,e.minute=8242,e.miribaarusquare=13130,e.mirisquare=13129,e.mlonglegturned=624,e.mlsquare=13206,e.mmcubedsquare=13219,e.mmonospace=65357,e.mmsquaredsquare=13215,e.mohiragana=12418,e.mohmsquare=13249,e.mokatakana=12514,e.mokatakanahalfwidth=65427,e.molsquare=13270,e.momathai=3617,e.moverssquare=13223,e.moverssquaredsquare=13224,e.mparen=9384,e.mpasquare=13227,e.mssquare=13235,e.msuperior=63215,e.mturned=623,e.mu=181,e.mu1=181,e.muasquare=13186,e.muchgreater=8811,e.muchless=8810,e.mufsquare=13196,e.mugreek=956,e.mugsquare=13197,e.muhiragana=12416,e.mukatakana=12512,e.mukatakanahalfwidth=65425,e.mulsquare=13205,e.multiply=215,e.mumsquare=13211,e.munahhebrew=1443,e.munahlefthebrew=1443,e.musicalnote=9834,e.musicalnotedbl=9835,e.musicflatsign=9837,e.musicsharpsign=9839,e.mussquare=13234,e.muvsquare=13238,e.muwsquare=13244,e.mvmegasquare=13241,e.mvsquare=13239,e.mwmegasquare=13247,e.mwsquare=13245,e.n=110,e.nabengali=2472,e.nabla=8711,e.nacute=324,e.nadeva=2344,e.nagujarati=2728,e.nagurmukhi=2600,e.nahiragana=12394,e.nakatakana=12490,e.nakatakanahalfwidth=65413,e.napostrophe=329,e.nasquare=13185,e.nbopomofo=12555,e.nbspace=160,e.ncaron=328,e.ncedilla=326,e.ncircle=9437,e.ncircumflexbelow=7755,e.ncommaaccent=326,e.ndotaccent=7749,e.ndotbelow=7751,e.nehiragana=12397,e.nekatakana=12493,e.nekatakanahalfwidth=65416,e.newsheqelsign=8362,e.nfsquare=13195,e.ngabengali=2457,e.ngadeva=2329,e.ngagujarati=2713,e.ngagurmukhi=2585,e.ngonguthai=3591,e.nhiragana=12435,e.nhookleft=626,e.nhookretroflex=627,e.nieunacirclekorean=12911,e.nieunaparenkorean=12815,e.nieuncieuckorean=12597,e.nieuncirclekorean=12897,e.nieunhieuhkorean=12598,e.nieunkorean=12596,e.nieunpansioskorean=12648,e.nieunparenkorean=12801,e.nieunsioskorean=12647,e.nieuntikeutkorean=12646,e.nihiragana=12395,e.nikatakana=12491,e.nikatakanahalfwidth=65414,e.nikhahitleftthai=63641,e.nikhahitthai=3661,e.nine=57,e.ninearabic=1641,e.ninebengali=2543,e.ninecircle=9320,e.ninecircleinversesansserif=10130,e.ninedeva=2415,e.ninegujarati=2799,e.ninegurmukhi=2671,e.ninehackarabic=1641,e.ninehangzhou=12329,e.nineideographicparen=12840,e.nineinferior=8329,e.ninemonospace=65305,e.nineoldstyle=63289,e.nineparen=9340,e.nineperiod=9360,e.ninepersian=1785,e.nineroman=8568,e.ninesuperior=8313,e.nineteencircle=9330,e.nineteenparen=9350,e.nineteenperiod=9370,e.ninethai=3673,e.nj=460,e.njecyrillic=1114,e.nkatakana=12531,e.nkatakanahalfwidth=65437,e.nlegrightlong=414,e.nlinebelow=7753,e.nmonospace=65358,e.nmsquare=13210,e.nnabengali=2467,e.nnadeva=2339,e.nnagujarati=2723,e.nnagurmukhi=2595,e.nnnadeva=2345,e.nohiragana=12398,e.nokatakana=12494,e.nokatakanahalfwidth=65417,e.nonbreakingspace=160,e.nonenthai=3603,e.nonuthai=3609,e.noonarabic=1606,e.noonfinalarabic=65254,e.noonghunnaarabic=1722,e.noonghunnafinalarabic=64415,e.nooninitialarabic=65255,e.noonjeeminitialarabic=64722,e.noonjeemisolatedarabic=64587,e.noonmedialarabic=65256,e.noonmeeminitialarabic=64725,e.noonmeemisolatedarabic=64590,e.noonnoonfinalarabic=64653,e.notcontains=8716,e.notelement=8713,e.notelementof=8713,e.notequal=8800,e.notgreater=8815,e.notgreaternorequal=8817,e.notgreaternorless=8825,e.notidentical=8802,e.notless=8814,e.notlessnorequal=8816,e.notparallel=8742,e.notprecedes=8832,e.notsubset=8836,e.notsucceeds=8833,e.notsuperset=8837,e.nowarmenian=1398,e.nparen=9385,e.nssquare=13233,e.nsuperior=8319,e.ntilde=241,e.nu=957,e.nuhiragana=12396,e.nukatakana=12492,e.nukatakanahalfwidth=65415,e.nuktabengali=2492,e.nuktadeva=2364,e.nuktagujarati=2748,e.nuktagurmukhi=2620,e.numbersign=35,e.numbersignmonospace=65283,e.numbersignsmall=65119,e.numeralsigngreek=884,e.numeralsignlowergreek=885,e.numero=8470,e.nun=1504,e.nundagesh=64320,e.nundageshhebrew=64320,e.nunhebrew=1504,e.nvsquare=13237,e.nwsquare=13243,e.nyabengali=2462,e.nyadeva=2334,e.nyagujarati=2718,e.nyagurmukhi=2590,e.o=111,e.oacute=243,e.oangthai=3629,e.obarred=629,e.obarredcyrillic=1257,e.obarreddieresiscyrillic=1259,e.obengali=2451,e.obopomofo=12571,e.obreve=335,e.ocandradeva=2321,e.ocandragujarati=2705,e.ocandravowelsigndeva=2377,e.ocandravowelsigngujarati=2761,e.ocaron=466,e.ocircle=9438,e.ocircumflex=244,e.ocircumflexacute=7889,e.ocircumflexdotbelow=7897,e.ocircumflexgrave=7891,e.ocircumflexhookabove=7893,e.ocircumflextilde=7895,e.ocyrillic=1086,e.odblacute=337,e.odblgrave=525,e.odeva=2323,e.odieresis=246,e.odieresiscyrillic=1255,e.odotbelow=7885,e.oe=339,e.oekorean=12634,e.ogonek=731,e.ogonekcmb=808,e.ograve=242,e.ogujarati=2707,e.oharmenian=1413,e.ohiragana=12362,e.ohookabove=7887,e.ohorn=417,e.ohornacute=7899,e.ohorndotbelow=7907,e.ohorngrave=7901,e.ohornhookabove=7903,e.ohorntilde=7905,e.ohungarumlaut=337,e.oi=419,e.oinvertedbreve=527,e.okatakana=12458,e.okatakanahalfwidth=65397,e.okorean=12631,e.olehebrew=1451,e.omacron=333,e.omacronacute=7763,e.omacrongrave=7761,e.omdeva=2384,e.omega=969,e.omega1=982,e.omegacyrillic=1121,e.omegalatinclosed=631,e.omegaroundcyrillic=1147,e.omegatitlocyrillic=1149,e.omegatonos=974,e.omgujarati=2768,e.omicron=959,e.omicrontonos=972,e.omonospace=65359,e.one=49,e.onearabic=1633,e.onebengali=2535,e.onecircle=9312,e.onecircleinversesansserif=10122,e.onedeva=2407,e.onedotenleader=8228,e.oneeighth=8539,e.onefitted=63196,e.onegujarati=2791,e.onegurmukhi=2663,e.onehackarabic=1633,e.onehalf=189,e.onehangzhou=12321,e.oneideographicparen=12832,e.oneinferior=8321,e.onemonospace=65297,e.onenumeratorbengali=2548,e.oneoldstyle=63281,e.oneparen=9332,e.oneperiod=9352,e.onepersian=1777,e.onequarter=188,e.oneroman=8560,e.onesuperior=185,e.onethai=3665,e.onethird=8531,e.oogonek=491,e.oogonekmacron=493,e.oogurmukhi=2579,e.oomatragurmukhi=2635,e.oopen=596,e.oparen=9386,e.openbullet=9702,e.option=8997,e.ordfeminine=170,e.ordmasculine=186,e.orthogonal=8735,e.oshortdeva=2322,e.oshortvowelsigndeva=2378,e.oslash=248,e.oslashacute=511,e.osmallhiragana=12361,e.osmallkatakana=12457,e.osmallkatakanahalfwidth=65387,e.ostrokeacute=511,e.osuperior=63216,e.otcyrillic=1151,e.otilde=245,e.otildeacute=7757,e.otildedieresis=7759,e.oubopomofo=12577,e.overline=8254,e.overlinecenterline=65098,e.overlinecmb=773,e.overlinedashed=65097,e.overlinedblwavy=65100,e.overlinewavy=65099,e.overscore=175,e.ovowelsignbengali=2507,e.ovowelsigndeva=2379,e.ovowelsigngujarati=2763,e.p=112,e.paampssquare=13184,e.paasentosquare=13099,e.pabengali=2474,e.pacute=7765,e.padeva=2346,e.pagedown=8671,e.pageup=8670,e.pagujarati=2730,e.pagurmukhi=2602,e.pahiragana=12401,e.paiyannoithai=3631,e.pakatakana=12497,e.palatalizationcyrilliccmb=1156,e.palochkacyrillic=1216,e.pansioskorean=12671,e.paragraph=182,e.parallel=8741,e.parenleft=40,e.parenleftaltonearabic=64830,e.parenleftbt=63725,e.parenleftex=63724,e.parenleftinferior=8333,e.parenleftmonospace=65288,e.parenleftsmall=65113,e.parenleftsuperior=8317,e.parenlefttp=63723,e.parenleftvertical=65077,e.parenright=41,e.parenrightaltonearabic=64831,e.parenrightbt=63736,e.parenrightex=63735,e.parenrightinferior=8334,e.parenrightmonospace=65289,e.parenrightsmall=65114,e.parenrightsuperior=8318,e.parenrighttp=63734,e.parenrightvertical=65078,e.partialdiff=8706,e.paseqhebrew=1472,e.pashtahebrew=1433,e.pasquare=13225,e.patah=1463,e.patah11=1463,e.patah1d=1463,e.patah2a=1463,e.patahhebrew=1463,e.patahnarrowhebrew=1463,e.patahquarterhebrew=1463,e.patahwidehebrew=1463,e.pazerhebrew=1441,e.pbopomofo=12550,e.pcircle=9439,e.pdotaccent=7767,e.pe=1508,e.pecyrillic=1087,e.pedagesh=64324,e.pedageshhebrew=64324,e.peezisquare=13115,e.pefinaldageshhebrew=64323,e.peharabic=1662,e.peharmenian=1402,e.pehebrew=1508,e.pehfinalarabic=64343,e.pehinitialarabic=64344,e.pehiragana=12410,e.pehmedialarabic=64345,e.pekatakana=12506,e.pemiddlehookcyrillic=1191,e.perafehebrew=64334,e.percent=37,e.percentarabic=1642,e.percentmonospace=65285,e.percentsmall=65130,e.period=46,e.periodarmenian=1417,e.periodcentered=183,e.periodhalfwidth=65377,e.periodinferior=63207,e.periodmonospace=65294,e.periodsmall=65106,e.periodsuperior=63208,e.perispomenigreekcmb=834,e.perpendicular=8869,e.perthousand=8240,e.peseta=8359,e.pfsquare=13194,e.phabengali=2475,e.phadeva=2347,e.phagujarati=2731,e.phagurmukhi=2603,e.phi=966,e.phi1=981,e.phieuphacirclekorean=12922,e.phieuphaparenkorean=12826,e.phieuphcirclekorean=12908,e.phieuphkorean=12621,e.phieuphparenkorean=12812,e.philatin=632,e.phinthuthai=3642,e.phisymbolgreek=981,e.phook=421,e.phophanthai=3614,e.phophungthai=3612,e.phosamphaothai=3616,e.pi=960,e.pieupacirclekorean=12915,e.pieupaparenkorean=12819,e.pieupcieuckorean=12662,e.pieupcirclekorean=12901,e.pieupkiyeokkorean=12658,e.pieupkorean=12610,e.pieupparenkorean=12805,e.pieupsioskiyeokkorean=12660,e.pieupsioskorean=12612,e.pieupsiostikeutkorean=12661,e.pieupthieuthkorean=12663,e.pieuptikeutkorean=12659,e.pihiragana=12404,e.pikatakana=12500,e.pisymbolgreek=982,e.piwrarmenian=1411,e.planckover2pi=8463,e.planckover2pi1=8463,e.plus=43,e.plusbelowcmb=799,e.pluscircle=8853,e.plusminus=177,e.plusmod=726,e.plusmonospace=65291,e.plussmall=65122,e.plussuperior=8314,e.pmonospace=65360,e.pmsquare=13272,e.pohiragana=12413,e.pointingindexdownwhite=9759,e.pointingindexleftwhite=9756,e.pointingindexrightwhite=9758,e.pointingindexupwhite=9757,e.pokatakana=12509,e.poplathai=3611,e.postalmark=12306,e.postalmarkface=12320,e.pparen=9387,e.precedes=8826,e.prescription=8478,e.primemod=697,e.primereversed=8245,e.product=8719,e.projective=8965,e.prolongedkana=12540,e.propellor=8984,e.propersubset=8834,e.propersuperset=8835,e.proportion=8759,e.proportional=8733,e.psi=968,e.psicyrillic=1137,e.psilipneumatacyrilliccmb=1158,e.pssquare=13232,e.puhiragana=12407,e.pukatakana=12503,e.pvsquare=13236,e.pwsquare=13242,e.q=113,e.qadeva=2392,e.qadmahebrew=1448,e.qafarabic=1602,e.qaffinalarabic=65238,e.qafinitialarabic=65239,e.qafmedialarabic=65240,e.qamats=1464,e.qamats10=1464,e.qamats1a=1464,e.qamats1c=1464,e.qamats27=1464,e.qamats29=1464,e.qamats33=1464,e.qamatsde=1464,e.qamatshebrew=1464,e.qamatsnarrowhebrew=1464,e.qamatsqatanhebrew=1464,e.qamatsqatannarrowhebrew=1464,e.qamatsqatanquarterhebrew=1464,e.qamatsqatanwidehebrew=1464,e.qamatsquarterhebrew=1464,e.qamatswidehebrew=1464,e.qarneyparahebrew=1439,e.qbopomofo=12561,e.qcircle=9440,e.qhook=672,e.qmonospace=65361,e.qof=1511,e.qofdagesh=64327,e.qofdageshhebrew=64327,e.qofhebrew=1511,e.qparen=9388,e.quarternote=9833,e.qubuts=1467,e.qubuts18=1467,e.qubuts25=1467,e.qubuts31=1467,e.qubutshebrew=1467,e.qubutsnarrowhebrew=1467,e.qubutsquarterhebrew=1467,e.qubutswidehebrew=1467,e.question=63,e.questionarabic=1567,e.questionarmenian=1374,e.questiondown=191,e.questiondownsmall=63423,e.questiongreek=894,e.questionmonospace=65311,e.questionsmall=63295,e.quotedbl=34,e.quotedblbase=8222,e.quotedblleft=8220,e.quotedblmonospace=65282,e.quotedblprime=12318,e.quotedblprimereversed=12317,e.quotedblright=8221,e.quoteleft=8216,e.quoteleftreversed=8219,e.quotereversed=8219,e.quoteright=8217,e.quoterightn=329,e.quotesinglbase=8218,e.quotesingle=39,e.quotesinglemonospace=65287,e.r=114,e.raarmenian=1404,e.rabengali=2480,e.racute=341,e.radeva=2352,e.radical=8730,e.radicalex=63717,e.radoverssquare=13230,e.radoverssquaredsquare=13231,e.radsquare=13229,e.rafe=1471,e.rafehebrew=1471,e.ragujarati=2736,e.ragurmukhi=2608,e.rahiragana=12425,e.rakatakana=12521,e.rakatakanahalfwidth=65431,e.ralowerdiagonalbengali=2545,e.ramiddlediagonalbengali=2544,e.ramshorn=612,e.ratio=8758,e.rbopomofo=12566,e.rcaron=345,e.rcedilla=343,e.rcircle=9441,e.rcommaaccent=343,e.rdblgrave=529,e.rdotaccent=7769,e.rdotbelow=7771,e.rdotbelowmacron=7773,e.referencemark=8251,e.reflexsubset=8838,e.reflexsuperset=8839,e.registered=174,e.registersans=63720,e.registerserif=63194,e.reharabic=1585,e.reharmenian=1408,e.rehfinalarabic=65198,e.rehiragana=12428,e.rekatakana=12524;e.rekatakanahalfwidth=65434,e.resh=1512,e.reshdageshhebrew=64328,e.reshhebrew=1512,e.reversedtilde=8765,e.reviahebrew=1431,e.reviamugrashhebrew=1431,e.revlogicalnot=8976,e.rfishhook=638,e.rfishhookreversed=639,e.rhabengali=2525,e.rhadeva=2397,e.rho=961,e.rhook=637,e.rhookturned=635,e.rhookturnedsuperior=693,e.rhosymbolgreek=1009,e.rhotichookmod=734,e.rieulacirclekorean=12913,e.rieulaparenkorean=12817,e.rieulcirclekorean=12899,e.rieulhieuhkorean=12608,e.rieulkiyeokkorean=12602,e.rieulkiyeoksioskorean=12649,e.rieulkorean=12601,e.rieulmieumkorean=12603,e.rieulpansioskorean=12652,e.rieulparenkorean=12803,e.rieulphieuphkorean=12607,e.rieulpieupkorean=12604,e.rieulpieupsioskorean=12651,e.rieulsioskorean=12605,e.rieulthieuthkorean=12606,e.rieultikeutkorean=12650,e.rieulyeorinhieuhkorean=12653,e.rightangle=8735,e.righttackbelowcmb=793,e.righttriangle=8895,e.rihiragana=12426,e.rikatakana=12522,e.rikatakanahalfwidth=65432,e.ring=730,e.ringbelowcmb=805,e.ringcmb=778,e.ringhalfleft=703,e.ringhalfleftarmenian=1369,e.ringhalfleftbelowcmb=796,e.ringhalfleftcentered=723,e.ringhalfright=702,e.ringhalfrightbelowcmb=825,e.ringhalfrightcentered=722,e.rinvertedbreve=531,e.rittorusquare=13137,e.rlinebelow=7775,e.rlongleg=636,e.rlonglegturned=634,e.rmonospace=65362,e.rohiragana=12429,e.rokatakana=12525,e.rokatakanahalfwidth=65435,e.roruathai=3619,e.rparen=9389,e.rrabengali=2524,e.rradeva=2353,e.rragurmukhi=2652,e.rreharabic=1681,e.rrehfinalarabic=64397,e.rrvocalicbengali=2528,e.rrvocalicdeva=2400,e.rrvocalicgujarati=2784,e.rrvocalicvowelsignbengali=2500,e.rrvocalicvowelsigndeva=2372,e.rrvocalicvowelsigngujarati=2756,e.rsuperior=63217,e.rtblock=9616,e.rturned=633,e.rturnedsuperior=692,e.ruhiragana=12427,e.rukatakana=12523,e.rukatakanahalfwidth=65433,e.rupeemarkbengali=2546,e.rupeesignbengali=2547,e.rupiah=63197,e.ruthai=3620,e.rvocalicbengali=2443,e.rvocalicdeva=2315,e.rvocalicgujarati=2699,e.rvocalicvowelsignbengali=2499,e.rvocalicvowelsigndeva=2371,e.rvocalicvowelsigngujarati=2755,e.s=115,e.sabengali=2488,e.sacute=347,e.sacutedotaccent=7781,e.sadarabic=1589,e.sadeva=2360,e.sadfinalarabic=65210,e.sadinitialarabic=65211,e.sadmedialarabic=65212,e.sagujarati=2744,e.sagurmukhi=2616,e.sahiragana=12373,e.sakatakana=12469,e.sakatakanahalfwidth=65403,e.sallallahoualayhewasallamarabic=65018,e.samekh=1505,e.samekhdagesh=64321,e.samekhdageshhebrew=64321,e.samekhhebrew=1505,e.saraaathai=3634,e.saraaethai=3649,e.saraaimaimalaithai=3652,e.saraaimaimuanthai=3651,e.saraamthai=3635,e.saraathai=3632,e.saraethai=3648,e.saraiileftthai=63622,e.saraiithai=3637,e.saraileftthai=63621,e.saraithai=3636,e.saraothai=3650,e.saraueeleftthai=63624,e.saraueethai=3639,e.saraueleftthai=63623,e.sarauethai=3638,e.sarauthai=3640,e.sarauuthai=3641,e.sbopomofo=12569,e.scaron=353,e.scarondotaccent=7783,e.scedilla=351,e.schwa=601,e.schwacyrillic=1241,e.schwadieresiscyrillic=1243,e.schwahook=602,e.scircle=9442,e.scircumflex=349,e.scommaaccent=537,e.sdotaccent=7777,e.sdotbelow=7779,e.sdotbelowdotaccent=7785,e.seagullbelowcmb=828,e.second=8243,e.secondtonechinese=714,e.section=167,e.seenarabic=1587,e.seenfinalarabic=65202,e.seeninitialarabic=65203,e.seenmedialarabic=65204,e.segol=1462,e.segol13=1462,e.segol1f=1462,e.segol2c=1462,e.segolhebrew=1462,e.segolnarrowhebrew=1462,e.segolquarterhebrew=1462,e.segoltahebrew=1426,e.segolwidehebrew=1462,e.seharmenian=1405,e.sehiragana=12379,e.sekatakana=12475,e.sekatakanahalfwidth=65406,e.semicolon=59,e.semicolonarabic=1563,e.semicolonmonospace=65307,e.semicolonsmall=65108,e.semivoicedmarkkana=12444,e.semivoicedmarkkanahalfwidth=65439,e.sentisquare=13090,e.sentosquare=13091,e.seven=55,e.sevenarabic=1639,e.sevenbengali=2541,e.sevencircle=9318,e.sevencircleinversesansserif=10128,e.sevendeva=2413,e.seveneighths=8542,e.sevengujarati=2797,e.sevengurmukhi=2669,e.sevenhackarabic=1639,e.sevenhangzhou=12327,e.sevenideographicparen=12838,e.seveninferior=8327,e.sevenmonospace=65303,e.sevenoldstyle=63287,e.sevenparen=9338,e.sevenperiod=9358,e.sevenpersian=1783,e.sevenroman=8566,e.sevensuperior=8311,e.seventeencircle=9328,e.seventeenparen=9348,e.seventeenperiod=9368,e.seventhai=3671,e.sfthyphen=173,e.shaarmenian=1399,e.shabengali=2486,e.shacyrillic=1096,e.shaddaarabic=1617,e.shaddadammaarabic=64609,e.shaddadammatanarabic=64606,e.shaddafathaarabic=64608,e.shaddakasraarabic=64610,e.shaddakasratanarabic=64607,e.shade=9618,e.shadedark=9619,e.shadelight=9617,e.shademedium=9618,e.shadeva=2358,e.shagujarati=2742,e.shagurmukhi=2614,e.shalshelethebrew=1427,e.shbopomofo=12565,e.shchacyrillic=1097,e.sheenarabic=1588,e.sheenfinalarabic=65206,e.sheeninitialarabic=65207,e.sheenmedialarabic=65208,e.sheicoptic=995,e.sheqel=8362,e.sheqelhebrew=8362,e.sheva=1456,e.sheva115=1456,e.sheva15=1456,e.sheva22=1456,e.sheva2e=1456,e.shevahebrew=1456,e.shevanarrowhebrew=1456,e.shevaquarterhebrew=1456,e.shevawidehebrew=1456,e.shhacyrillic=1211,e.shimacoptic=1005,e.shin=1513,e.shindagesh=64329,e.shindageshhebrew=64329,e.shindageshshindot=64300,e.shindageshshindothebrew=64300,e.shindageshsindot=64301,e.shindageshsindothebrew=64301,e.shindothebrew=1473,e.shinhebrew=1513,e.shinshindot=64298,e.shinshindothebrew=64298,e.shinsindot=64299,e.shinsindothebrew=64299,e.shook=642,e.sigma=963,e.sigma1=962,e.sigmafinal=962,e.sigmalunatesymbolgreek=1010,e.sihiragana=12375,e.sikatakana=12471,e.sikatakanahalfwidth=65404,e.siluqhebrew=1469,e.siluqlefthebrew=1469,e.similar=8764,e.sindothebrew=1474,e.siosacirclekorean=12916,e.siosaparenkorean=12820,e.sioscieuckorean=12670,e.sioscirclekorean=12902,e.sioskiyeokkorean=12666,e.sioskorean=12613,e.siosnieunkorean=12667,e.siosparenkorean=12806,e.siospieupkorean=12669,e.siostikeutkorean=12668,e.six=54,e.sixarabic=1638,e.sixbengali=2540,e.sixcircle=9317,e.sixcircleinversesansserif=10127,e.sixdeva=2412,e.sixgujarati=2796,e.sixgurmukhi=2668,e.sixhackarabic=1638,e.sixhangzhou=12326,e.sixideographicparen=12837,e.sixinferior=8326,e.sixmonospace=65302,e.sixoldstyle=63286,e.sixparen=9337,e.sixperiod=9357,e.sixpersian=1782,e.sixroman=8565,e.sixsuperior=8310,e.sixteencircle=9327,e.sixteencurrencydenominatorbengali=2553,e.sixteenparen=9347,e.sixteenperiod=9367,e.sixthai=3670,e.slash=47,e.slashmonospace=65295,e.slong=383,e.slongdotaccent=7835,e.smileface=9786,e.smonospace=65363,e.sofpasuqhebrew=1475,e.softhyphen=173,e.softsigncyrillic=1100,e.sohiragana=12381,e.sokatakana=12477,e.sokatakanahalfwidth=65407,e.soliduslongoverlaycmb=824,e.solidusshortoverlaycmb=823,e.sorusithai=3625,e.sosalathai=3624,e.sosothai=3595,e.sosuathai=3626,e.space=32,e.spacehackarabic=32,e.spade=9824,e.spadesuitblack=9824,e.spadesuitwhite=9828,e.sparen=9390,e.squarebelowcmb=827,e.squarecc=13252,e.squarecm=13213,e.squarediagonalcrosshatchfill=9641,e.squarehorizontalfill=9636,e.squarekg=13199,e.squarekm=13214,e.squarekmcapital=13262,e.squareln=13265,e.squarelog=13266,e.squaremg=13198,e.squaremil=13269,e.squaremm=13212,e.squaremsquared=13217,e.squareorthogonalcrosshatchfill=9638,e.squareupperlefttolowerrightfill=9639,e.squareupperrighttolowerleftfill=9640,e.squareverticalfill=9637,e.squarewhitewithsmallblack=9635,e.srsquare=13275,e.ssabengali=2487,e.ssadeva=2359,e.ssagujarati=2743,e.ssangcieuckorean=12617,e.ssanghieuhkorean=12677,e.ssangieungkorean=12672,e.ssangkiyeokkorean=12594,e.ssangnieunkorean=12645,e.ssangpieupkorean=12611,e.ssangsioskorean=12614,e.ssangtikeutkorean=12600,e.ssuperior=63218,e.sterling=163,e.sterlingmonospace=65505,e.strokelongoverlaycmb=822,e.strokeshortoverlaycmb=821,e.subset=8834,e.subsetnotequal=8842,e.subsetorequal=8838,e.succeeds=8827,e.suchthat=8715,e.suhiragana=12377,e.sukatakana=12473,e.sukatakanahalfwidth=65405,e.sukunarabic=1618,e.summation=8721,e.sun=9788,e.superset=8835,e.supersetnotequal=8843,e.supersetorequal=8839,e.svsquare=13276,e.syouwaerasquare=13180,e.t=116,e.tabengali=2468,e.tackdown=8868,e.tackleft=8867,e.tadeva=2340,e.tagujarati=2724,e.tagurmukhi=2596,e.taharabic=1591,e.tahfinalarabic=65218,e.tahinitialarabic=65219,e.tahiragana=12383,e.tahmedialarabic=65220,e.taisyouerasquare=13181,e.takatakana=12479,e.takatakanahalfwidth=65408,e.tatweelarabic=1600,e.tau=964,e.tav=1514,e.tavdages=64330,e.tavdagesh=64330,e.tavdageshhebrew=64330,e.tavhebrew=1514,e.tbar=359,e.tbopomofo=12554,e.tcaron=357,e.tccurl=680,e.tcedilla=355,e.tcheharabic=1670,e.tchehfinalarabic=64379,e.tchehinitialarabic=64380,e.tchehmedialarabic=64381,e.tcircle=9443,e.tcircumflexbelow=7793,e.tcommaaccent=355,e.tdieresis=7831,e.tdotaccent=7787,e.tdotbelow=7789,e.tecyrillic=1090,e.tedescendercyrillic=1197,e.teharabic=1578,e.tehfinalarabic=65174,e.tehhahinitialarabic=64674,e.tehhahisolatedarabic=64524,e.tehinitialarabic=65175,e.tehiragana=12390,e.tehjeeminitialarabic=64673,e.tehjeemisolatedarabic=64523,e.tehmarbutaarabic=1577,e.tehmarbutafinalarabic=65172,e.tehmedialarabic=65176,e.tehmeeminitialarabic=64676,e.tehmeemisolatedarabic=64526,e.tehnoonfinalarabic=64627,e.tekatakana=12486,e.tekatakanahalfwidth=65411,e.telephone=8481,e.telephoneblack=9742,e.telishagedolahebrew=1440,e.telishaqetanahebrew=1449,e.tencircle=9321,e.tenideographicparen=12841,e.tenparen=9341,e.tenperiod=9361,e.tenroman=8569,e.tesh=679,e.tet=1496,e.tetdagesh=64312,e.tetdageshhebrew=64312,e.tethebrew=1496,e.tetsecyrillic=1205,e.tevirhebrew=1435,e.tevirlefthebrew=1435,e.thabengali=2469,e.thadeva=2341,e.thagujarati=2725,e.thagurmukhi=2597,e.thalarabic=1584,e.thalfinalarabic=65196,e.thanthakhatlowleftthai=63640,e.thanthakhatlowrightthai=63639,e.thanthakhatthai=3660,e.thanthakhatupperleftthai=63638,e.theharabic=1579,e.thehfinalarabic=65178,e.thehinitialarabic=65179,e.thehmedialarabic=65180,e.thereexists=8707,e.therefore=8756,e.theta=952,e.theta1=977,e.thetasymbolgreek=977,e.thieuthacirclekorean=12921,e.thieuthaparenkorean=12825,e.thieuthcirclekorean=12907,e.thieuthkorean=12620,e.thieuthparenkorean=12811,e.thirteencircle=9324,e.thirteenparen=9344,e.thirteenperiod=9364,e.thonangmonthothai=3601,e.thook=429,e.thophuthaothai=3602,e.thorn=254,e.thothahanthai=3607,e.thothanthai=3600,e.thothongthai=3608,e.thothungthai=3606,e.thousandcyrillic=1154,e.thousandsseparatorarabic=1644,e.thousandsseparatorpersian=1644,e.three=51,e.threearabic=1635,e.threebengali=2537,e.threecircle=9314,e.threecircleinversesansserif=10124,e.threedeva=2409,e.threeeighths=8540,e.threegujarati=2793,e.threegurmukhi=2665,e.threehackarabic=1635,e.threehangzhou=12323,e.threeideographicparen=12834,e.threeinferior=8323,e.threemonospace=65299,e.threenumeratorbengali=2550,e.threeoldstyle=63283,e.threeparen=9334,e.threeperiod=9354,e.threepersian=1779,e.threequarters=190,e.threequartersemdash=63198,e.threeroman=8562,e.threesuperior=179,e.threethai=3667,e.thzsquare=13204,e.tihiragana=12385,e.tikatakana=12481,e.tikatakanahalfwidth=65409,e.tikeutacirclekorean=12912,e.tikeutaparenkorean=12816,e.tikeutcirclekorean=12898,e.tikeutkorean=12599,e.tikeutparenkorean=12802,e.tilde=732,e.tildebelowcmb=816,e.tildecmb=771,e.tildecomb=771,e.tildedoublecmb=864,e.tildeoperator=8764,e.tildeoverlaycmb=820,e.tildeverticalcmb=830,e.timescircle=8855,e.tipehahebrew=1430,e.tipehalefthebrew=1430,e.tippigurmukhi=2672,e.titlocyrilliccmb=1155,e.tiwnarmenian=1407,e.tlinebelow=7791,e.tmonospace=65364,e.toarmenian=1385,e.tohiragana=12392,e.tokatakana=12488,e.tokatakanahalfwidth=65412,e.tonebarextrahighmod=741,e.tonebarextralowmod=745,e.tonebarhighmod=742,e.tonebarlowmod=744,e.tonebarmidmod=743,e.tonefive=445,e.tonesix=389,e.tonetwo=424,e.tonos=900,e.tonsquare=13095,e.topatakthai=3599,e.tortoiseshellbracketleft=12308,e.tortoiseshellbracketleftsmall=65117,e.tortoiseshellbracketleftvertical=65081,e.tortoiseshellbracketright=12309,e.tortoiseshellbracketrightsmall=65118,e.tortoiseshellbracketrightvertical=65082,e.totaothai=3605,e.tpalatalhook=427,e.tparen=9391,e.trademark=8482,e.trademarksans=63722,e.trademarkserif=63195,e.tretroflexhook=648,e.triagdn=9660,e.triaglf=9668,e.triagrt=9658,e.triagup=9650,e.ts=678,e.tsadi=1510,e.tsadidagesh=64326,e.tsadidageshhebrew=64326,e.tsadihebrew=1510,e.tsecyrillic=1094,e.tsere=1461,e.tsere12=1461,e.tsere1e=1461,e.tsere2b=1461,e.tserehebrew=1461,e.tserenarrowhebrew=1461,e.tserequarterhebrew=1461,e.tserewidehebrew=1461,e.tshecyrillic=1115,e.tsuperior=63219,e.ttabengali=2463,e.ttadeva=2335,e.ttagujarati=2719,e.ttagurmukhi=2591,e.tteharabic=1657,e.ttehfinalarabic=64359,e.ttehinitialarabic=64360,e.ttehmedialarabic=64361,e.tthabengali=2464,e.tthadeva=2336,e.tthagujarati=2720,e.tthagurmukhi=2592,e.tturned=647,e.tuhiragana=12388,e.tukatakana=12484,e.tukatakanahalfwidth=65410,e.tusmallhiragana=12387,e.tusmallkatakana=12483,e.tusmallkatakanahalfwidth=65391,e.twelvecircle=9323,e.twelveparen=9343,e.twelveperiod=9363,e.twelveroman=8571,e.twentycircle=9331,e.twentyhangzhou=21316,e.twentyparen=9351,e.twentyperiod=9371,e.two=50,e.twoarabic=1634,e.twobengali=2536,e.twocircle=9313,e.twocircleinversesansserif=10123,e.twodeva=2408,e.twodotenleader=8229,e.twodotleader=8229,e.twodotleadervertical=65072,e.twogujarati=2792,e.twogurmukhi=2664,e.twohackarabic=1634,e.twohangzhou=12322,e.twoideographicparen=12833,e.twoinferior=8322,e.twomonospace=65298,e.twonumeratorbengali=2549,e.twooldstyle=63282,e.twoparen=9333,e.twoperiod=9353,e.twopersian=1778,e.tworoman=8561,e.twostroke=443,e.twosuperior=178,e.twothai=3666,e.twothirds=8532,e.u=117,e.uacute=250,e.ubar=649,e.ubengali=2441,e.ubopomofo=12584,e.ubreve=365,e.ucaron=468,e.ucircle=9444,e.ucircumflex=251,e.ucircumflexbelow=7799,e.ucyrillic=1091,e.udattadeva=2385,e.udblacute=369,e.udblgrave=533,e.udeva=2313,e.udieresis=252,e.udieresisacute=472,e.udieresisbelow=7795,e.udieresiscaron=474,e.udieresiscyrillic=1265,e.udieresisgrave=476,e.udieresismacron=470,e.udotbelow=7909,e.ugrave=249,e.ugujarati=2697,e.ugurmukhi=2569,e.uhiragana=12358,e.uhookabove=7911,e.uhorn=432,e.uhornacute=7913,e.uhorndotbelow=7921,e.uhorngrave=7915,e.uhornhookabove=7917,e.uhorntilde=7919,e.uhungarumlaut=369,e.uhungarumlautcyrillic=1267,e.uinvertedbreve=535,e.ukatakana=12454,e.ukatakanahalfwidth=65395,e.ukcyrillic=1145,e.ukorean=12636,e.umacron=363,e.umacroncyrillic=1263,e.umacrondieresis=7803,e.umatragurmukhi=2625,e.umonospace=65365,e.underscore=95,e.underscoredbl=8215,e.underscoremonospace=65343,e.underscorevertical=65075,e.underscorewavy=65103,e.union=8746,e.universal=8704,e.uogonek=371,e.uparen=9392,e.upblock=9600,e.upperdothebrew=1476,e.upsilon=965,e.upsilondieresis=971,e.upsilondieresistonos=944,e.upsilonlatin=650,e.upsilontonos=973,e.uptackbelowcmb=797,e.uptackmod=724,e.uragurmukhi=2675,e.uring=367,e.ushortcyrillic=1118,e.usmallhiragana=12357,e.usmallkatakana=12453,e.usmallkatakanahalfwidth=65385,e.ustraightcyrillic=1199,e.ustraightstrokecyrillic=1201,e.utilde=361,e.utildeacute=7801,e.utildebelow=7797,e.uubengali=2442,e.uudeva=2314,e.uugujarati=2698,e.uugurmukhi=2570,e.uumatragurmukhi=2626,e.uuvowelsignbengali=2498,e.uuvowelsigndeva=2370,e.uuvowelsigngujarati=2754,e.uvowelsignbengali=2497,e.uvowelsigndeva=2369,e.uvowelsigngujarati=2753,e.v=118,e.vadeva=2357,e.vagujarati=2741,e.vagurmukhi=2613,e.vakatakana=12535,e.vav=1493,e.vavdagesh=64309,e.vavdagesh65=64309,e.vavdageshhebrew=64309,e.vavhebrew=1493,e.vavholam=64331,e.vavholamhebrew=64331,e.vavvavhebrew=1520,e.vavyodhebrew=1521,e.vcircle=9445,e.vdotbelow=7807,e.vecyrillic=1074,e.veharabic=1700,e.vehfinalarabic=64363,e.vehinitialarabic=64364,e.vehmedialarabic=64365,e.vekatakana=12537,e.venus=9792,e.verticalbar=124,e.verticallineabovecmb=781,e.verticallinebelowcmb=809,e.verticallinelowmod=716,e.verticallinemod=712,e.vewarmenian=1406,e.vhook=651,e.vikatakana=12536,e.viramabengali=2509,e.viramadeva=2381,e.viramagujarati=2765,e.visargabengali=2435,e.visargadeva=2307,e.visargagujarati=2691,e.vmonospace=65366,e.voarmenian=1400,e.voicediterationhiragana=12446,e.voicediterationkatakana=12542,e.voicedmarkkana=12443,e.voicedmarkkanahalfwidth=65438,e.vokatakana=12538,e.vparen=9393,e.vtilde=7805,e.vturned=652,e.vuhiragana=12436,e.vukatakana=12532,e.w=119,e.wacute=7811,e.waekorean=12633,e.wahiragana=12431,e.wakatakana=12527,e.wakatakanahalfwidth=65436,e.wakorean=12632,e.wasmallhiragana=12430,e.wasmallkatakana=12526,e.wattosquare=13143,e.wavedash=12316,e.wavyunderscorevertical=65076,e.wawarabic=1608,e.wawfinalarabic=65262,e.wawhamzaabovearabic=1572,e.wawhamzaabovefinalarabic=65158,e.wbsquare=13277,e.wcircle=9446,e.wcircumflex=373,e.wdieresis=7813,e.wdotaccent=7815,e.wdotbelow=7817,e.wehiragana=12433,e.weierstrass=8472,e.wekatakana=12529,e.wekorean=12638,e.weokorean=12637,e.wgrave=7809,e.whitebullet=9702,e.whitecircle=9675,e.whitecircleinverse=9689,e.whitecornerbracketleft=12302,e.whitecornerbracketleftvertical=65091,e.whitecornerbracketright=12303,e.whitecornerbracketrightvertical=65092,e.whitediamond=9671,e.whitediamondcontainingblacksmalldiamond=9672,e.whitedownpointingsmalltriangle=9663;e.whitedownpointingtriangle=9661,e.whiteleftpointingsmalltriangle=9667,e.whiteleftpointingtriangle=9665,e.whitelenticularbracketleft=12310,e.whitelenticularbracketright=12311,e.whiterightpointingsmalltriangle=9657,e.whiterightpointingtriangle=9655,e.whitesmallsquare=9643,e.whitesmilingface=9786,e.whitesquare=9633,e.whitestar=9734,e.whitetelephone=9743,e.whitetortoiseshellbracketleft=12312,e.whitetortoiseshellbracketright=12313,e.whiteuppointingsmalltriangle=9653,e.whiteuppointingtriangle=9651,e.wihiragana=12432,e.wikatakana=12528,e.wikorean=12639,e.wmonospace=65367,e.wohiragana=12434,e.wokatakana=12530,e.wokatakanahalfwidth=65382,e.won=8361,e.wonmonospace=65510,e.wowaenthai=3623,e.wparen=9394,e.wring=7832,e.wsuperior=695,e.wturned=653,e.wynn=447,e.x=120,e.xabovecmb=829,e.xbopomofo=12562,e.xcircle=9447,e.xdieresis=7821,e.xdotaccent=7819,e.xeharmenian=1389,e.xi=958,e.xmonospace=65368,e.xparen=9395,e.xsuperior=739,e.y=121,e.yaadosquare=13134,e.yabengali=2479,e.yacute=253,e.yadeva=2351,e.yaekorean=12626,e.yagujarati=2735,e.yagurmukhi=2607,e.yahiragana=12420,e.yakatakana=12516,e.yakatakanahalfwidth=65428,e.yakorean=12625,e.yamakkanthai=3662,e.yasmallhiragana=12419,e.yasmallkatakana=12515,e.yasmallkatakanahalfwidth=65388,e.yatcyrillic=1123,e.ycircle=9448,e.ycircumflex=375,e.ydieresis=255,e.ydotaccent=7823,e.ydotbelow=7925,e.yeharabic=1610,e.yehbarreearabic=1746,e.yehbarreefinalarabic=64431,e.yehfinalarabic=65266,e.yehhamzaabovearabic=1574,e.yehhamzaabovefinalarabic=65162,e.yehhamzaaboveinitialarabic=65163,e.yehhamzaabovemedialarabic=65164,e.yehinitialarabic=65267,e.yehmedialarabic=65268,e.yehmeeminitialarabic=64733,e.yehmeemisolatedarabic=64600,e.yehnoonfinalarabic=64660,e.yehthreedotsbelowarabic=1745,e.yekorean=12630,e.yen=165,e.yenmonospace=65509,e.yeokorean=12629,e.yeorinhieuhkorean=12678,e.yerahbenyomohebrew=1450,e.yerahbenyomolefthebrew=1450,e.yericyrillic=1099,e.yerudieresiscyrillic=1273,e.yesieungkorean=12673,e.yesieungpansioskorean=12675,e.yesieungsioskorean=12674,e.yetivhebrew=1434,e.ygrave=7923,e.yhook=436,e.yhookabove=7927,e.yiarmenian=1397,e.yicyrillic=1111,e.yikorean=12642,e.yinyang=9775,e.yiwnarmenian=1410,e.ymonospace=65369,e.yod=1497,e.yoddagesh=64313,e.yoddageshhebrew=64313,e.yodhebrew=1497,e.yodyodhebrew=1522,e.yodyodpatahhebrew=64287,e.yohiragana=12424,e.yoikorean=12681,e.yokatakana=12520,e.yokatakanahalfwidth=65430,e.yokorean=12635,e.yosmallhiragana=12423,e.yosmallkatakana=12519,e.yosmallkatakanahalfwidth=65390,e.yotgreek=1011,e.yoyaekorean=12680,e.yoyakorean=12679,e.yoyakthai=3618,e.yoyingthai=3597,e.yparen=9396,e.ypogegrammeni=890,e.ypogegrammenigreekcmb=837,e.yr=422,e.yring=7833,e.ysuperior=696,e.ytilde=7929,e.yturned=654,e.yuhiragana=12422,e.yuikorean=12684,e.yukatakana=12518,e.yukatakanahalfwidth=65429,e.yukorean=12640,e.yusbigcyrillic=1131,e.yusbigiotifiedcyrillic=1133,e.yuslittlecyrillic=1127,e.yuslittleiotifiedcyrillic=1129,e.yusmallhiragana=12421,e.yusmallkatakana=12517,e.yusmallkatakanahalfwidth=65389,e.yuyekorean=12683,e.yuyeokorean=12682,e.yyabengali=2527,e.yyadeva=2399,e.z=122,e.zaarmenian=1382,e.zacute=378,e.zadeva=2395,e.zagurmukhi=2651,e.zaharabic=1592,e.zahfinalarabic=65222,e.zahinitialarabic=65223,e.zahiragana=12374,e.zahmedialarabic=65224,e.zainarabic=1586,e.zainfinalarabic=65200,e.zakatakana=12470,e.zaqefgadolhebrew=1429,e.zaqefqatanhebrew=1428,e.zarqahebrew=1432,e.zayin=1494,e.zayindagesh=64310,e.zayindageshhebrew=64310,e.zayinhebrew=1494,e.zbopomofo=12567,e.zcaron=382,e.zcircle=9449,e.zcircumflex=7825,e.zcurl=657,e.zdot=380,e.zdotaccent=380,e.zdotbelow=7827,e.zecyrillic=1079,e.zedescendercyrillic=1177,e.zedieresiscyrillic=1247,e.zehiragana=12380,e.zekatakana=12476,e.zero=48,e.zeroarabic=1632,e.zerobengali=2534,e.zerodeva=2406,e.zerogujarati=2790,e.zerogurmukhi=2662,e.zerohackarabic=1632,e.zeroinferior=8320,e.zeromonospace=65296,e.zerooldstyle=63280,e.zeropersian=1776,e.zerosuperior=8304,e.zerothai=3664,e.zerowidthjoiner=65279,e.zerowidthnonjoiner=8204,e.zerowidthspace=8203,e.zeta=950,e.zhbopomofo=12563,e.zhearmenian=1386,e.zhebrevecyrillic=1218,e.zhecyrillic=1078,e.zhedescendercyrillic=1175,e.zhedieresiscyrillic=1245,e.zihiragana=12376,e.zikatakana=12472,e.zinorhebrew=1454,e.zlinebelow=7829,e.zmonospace=65370,e.zohiragana=12382,e.zokatakana=12478,e.zparen=9397,e.zretroflexhook=656,e.zstroke=438,e.zuhiragana=12378,e.zukatakana=12474,e[".notdef"]=0,e.angbracketleftbig=9001,e.angbracketleftBig=9001,e.angbracketleftbigg=9001,e.angbracketleftBigg=9001,e.angbracketrightBig=9002,e.angbracketrightbig=9002,e.angbracketrightBigg=9002,e.angbracketrightbigg=9002,e.arrowhookleft=8618,e.arrowhookright=8617,e.arrowlefttophalf=8636,e.arrowleftbothalf=8637,e.arrownortheast=8599,e.arrownorthwest=8598,e.arrowrighttophalf=8640,e.arrowrightbothalf=8641,e.arrowsoutheast=8600,e.arrowsouthwest=8601,e.backslashbig=8726,e.backslashBig=8726,e.backslashBigg=8726,e.backslashbigg=8726,e.bardbl=8214,e.bracehtipdownleft=65079,e.bracehtipdownright=65079,e.bracehtipupleft=65080,e.bracehtipupright=65080,e.braceleftBig=123,e.braceleftbig=123,e.braceleftbigg=123,e.braceleftBigg=123,e.bracerightBig=125,e.bracerightbig=125,e.bracerightbigg=125,e.bracerightBigg=125,e.bracketleftbig=91,e.bracketleftBig=91,e.bracketleftbigg=91,e.bracketleftBigg=91,e.bracketrightBig=93,e.bracketrightbig=93,e.bracketrightbigg=93,e.bracketrightBigg=93,e.ceilingleftbig=8968,e.ceilingleftBig=8968,e.ceilingleftBigg=8968,e.ceilingleftbigg=8968,e.ceilingrightbig=8969,e.ceilingrightBig=8969,e.ceilingrightbigg=8969,e.ceilingrightBigg=8969,e.circledotdisplay=8857,e.circledottext=8857,e.circlemultiplydisplay=8855,e.circlemultiplytext=8855,e.circleplusdisplay=8853,e.circleplustext=8853,e.contintegraldisplay=8750,e.contintegraltext=8750,e.coproductdisplay=8720,e.coproducttext=8720,e.floorleftBig=8970,e.floorleftbig=8970,e.floorleftbigg=8970,e.floorleftBigg=8970,e.floorrightbig=8971,e.floorrightBig=8971,e.floorrightBigg=8971,e.floorrightbigg=8971,e.hatwide=770,e.hatwider=770,e.hatwidest=770,e.intercal=7488,e.integraldisplay=8747,e.integraltext=8747,e.intersectiondisplay=8898,e.intersectiontext=8898,e.logicalanddisplay=8743,e.logicalandtext=8743,e.logicalordisplay=8744,e.logicalortext=8744,e.parenleftBig=40,e.parenleftbig=40,e.parenleftBigg=40,e.parenleftbigg=40,e.parenrightBig=41,e.parenrightbig=41,e.parenrightBigg=41,e.parenrightbigg=41,e.prime=8242,e.productdisplay=8719,e.producttext=8719,e.radicalbig=8730,e.radicalBig=8730,e.radicalBigg=8730,e.radicalbigg=8730,e.radicalbt=8730,e.radicaltp=8730,e.radicalvertex=8730,e.slashbig=47,e.slashBig=47,e.slashBigg=47,e.slashbigg=47,e.summationdisplay=8721,e.summationtext=8721,e.tildewide=732,e.tildewider=732,e.tildewidest=732,e.uniondisplay=8899,e.unionmultidisplay=8846,e.unionmultitext=8846,e.unionsqdisplay=8852,e.unionsqtext=8852,e.uniontext=8899,e.vextenddouble=8741,e.vextendsingle=8739})),hc=ft((function(e){e.space=32,e.a1=9985,e.a2=9986,e.a202=9987,e.a3=9988,e.a4=9742,e.a5=9990,e.a119=9991,e.a118=9992,e.a117=9993,e.a11=9755,e.a12=9758,e.a13=9996,e.a14=9997,e.a15=9998,e.a16=9999,e.a105=1e4,e.a17=10001,e.a18=10002,e.a19=10003,e.a20=10004,e.a21=10005,e.a22=10006,e.a23=10007,e.a24=10008,e.a25=10009,e.a26=10010,e.a27=10011,e.a28=10012,e.a6=10013,e.a7=10014,e.a8=10015,e.a9=10016,e.a10=10017,e.a29=10018,e.a30=10019,e.a31=10020,e.a32=10021,e.a33=10022,e.a34=10023,e.a35=9733,e.a36=10025,e.a37=10026,e.a38=10027,e.a39=10028,e.a40=10029,e.a41=10030,e.a42=10031,e.a43=10032,e.a44=10033,e.a45=10034,e.a46=10035,e.a47=10036,e.a48=10037,e.a49=10038,e.a50=10039,e.a51=10040,e.a52=10041,e.a53=10042,e.a54=10043,e.a55=10044,e.a56=10045,e.a57=10046,e.a58=10047,e.a59=10048,e.a60=10049,e.a61=10050,e.a62=10051,e.a63=10052,e.a64=10053,e.a65=10054,e.a66=10055,e.a67=10056,e.a68=10057,e.a69=10058,e.a70=10059,e.a71=9679,e.a72=10061,e.a73=9632,e.a74=10063,e.a203=10064,e.a75=10065,e.a204=10066,e.a76=9650,e.a77=9660,e.a78=9670,e.a79=10070,e.a81=9687,e.a82=10072,e.a83=10073,e.a84=10074,e.a97=10075,e.a98=10076,e.a99=10077,e.a100=10078,e.a101=10081,e.a102=10082,e.a103=10083,e.a104=10084,e.a106=10085,e.a107=10086,e.a108=10087,e.a112=9827,e.a111=9830,e.a110=9829,e.a109=9824,e.a120=9312,e.a121=9313,e.a122=9314,e.a123=9315,e.a124=9316,e.a125=9317,e.a126=9318,e.a127=9319,e.a128=9320,e.a129=9321,e.a130=10102,e.a131=10103,e.a132=10104,e.a133=10105,e.a134=10106,e.a135=10107,e.a136=10108,e.a137=10109,e.a138=10110,e.a139=10111,e.a140=10112,e.a141=10113,e.a142=10114,e.a143=10115,e.a144=10116,e.a145=10117,e.a146=10118,e.a147=10119,e.a148=10120,e.a149=10121,e.a150=10122,e.a151=10123,e.a152=10124,e.a153=10125,e.a154=10126,e.a155=10127,e.a156=10128,e.a157=10129,e.a158=10130,e.a159=10131,e.a160=10132,e.a161=8594,e.a163=8596,e.a164=8597,e.a196=10136,e.a165=10137,e.a192=10138,e.a166=10139,e.a167=10140,e.a168=10141,e.a169=10142,e.a170=10143,e.a171=10144,e.a172=10145,e.a173=10146,e.a162=10147,e.a174=10148,e.a175=10149,e.a176=10150,e.a177=10151,e.a178=10152,e.a179=10153,e.a193=10154,e.a180=10155,e.a199=10156,e.a181=10157,e.a200=10158,e.a182=10159,e.a201=10161,e.a183=10162,e.a184=10163,e.a197=10164,e.a185=10165,e.a194=10166,e.a198=10167,e.a186=10168,e.a195=10169,e.a187=10170,e.a188=10171,e.a189=10172,e.a190=10173,e.a191=10174,e.a89=10088,e.a90=10089,e.a93=10090,e.a94=10091,e.a91=10092,e.a92=10093,e.a205=10094,e.a85=10095,e.a206=10096,e.a86=10097,e.a87=10098,e.a88=10099,e.a95=10100,e.a96=10101,e[".notdef"]=0})),Ic=ft((function(e){e[63721]=169,e[63193]=169,e[63720]=174,e[63194]=174,e[63722]=8482,e[63195]=8482,e[63729]=9127,e[63730]=9128,e[63731]=9129,e[63740]=9131,e[63741]=9132,e[63742]=9133,e[63726]=9121,e[63727]=9122,e[63728]=9123,e[63737]=9124,e[63738]=9125,e[63739]=9126,e[63723]=9115,e[63724]=9116,e[63725]=9117,e[63734]=9118,e[63735]=9119,e[63736]=9120}));function fc(e,t){var r=t[e];if(void 0!==r)return r;if(!e)return-1;if("u"===e[0]){var A,n=e.length;if(7===n&&"n"===e[1]&&"i"===e[2])A=e.substring(3);else{if(!(n>=5&&n<=7))return-1;A=e.substring(1)}if(A===A.toUpperCase()&&(r=parseInt(A,16))>=0)return r}return-1}var Cc=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];function Bc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(-1!==t)for(var r=Cc[t],A=0,n=r.length;A<n;A+=2)if(e>=r[A]&&e<=r[A+1])return t;for(var i=0,a=Cc.length;i<a;i++)for(var o=Cc[i],s=0,c=o.length;s<c;s+=2)if(e>=o[s]&&e<=o[s+1])return i;return-1}var Qc=new RegExp("^(\\\\s)|(\\\\p{Mn})|(\\\\p{Cf})$","u"),Ec=new Map,dc=!0,yc=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function pc(e,t){if(void 0!==t[e])return e;var r=fc(e,t);if(-1!==r)for(var A in t)if(t[A]===r)return A;return T("Unable to recover a standard glyph name for: "+e),e}function vc(e,t,r){var A,n,i,a=Object.create(null),o=!!(4&e.flags);if(e.isInternalFont)for(i=t,n=0;n<i.length;n++)A=r.indexOf(i[n]),a[n]=A>=0?A:0;else if(e.baseEncodingName)for(i=Rs(e.baseEncodingName),n=0;n<i.length;n++)A=r.indexOf(i[n]),a[n]=A>=0?A:0;else if(o)for(n in t)a[n]=t[n];else for(i=Ds,n=0;n<i.length;n++)A=r.indexOf(i[n]),a[n]=A>=0?A:0;var s,c=e.differences;if(c)for(n in c){var g=c[n];if(-1===(A=r.indexOf(g))){s||(s=lc());var u=pc(g,s);u!==g&&(A=r.indexOf(u))}a[n]=A>=0?A:0}return a}function mc(e){return e.replaceAll(/[,_]/g,"-").replaceAll(/\\s/g,"")}var wc=ft((function(e){e[8211]=65074,e[8212]=65073,e[8229]=65072,e[8230]=65049,e[12289]=65041,e[12290]=65042,e[12296]=65087,e[12297]=65088,e[12298]=65085,e[12299]=65086,e[12300]=65089,e[12301]=65090,e[12302]=65091,e[12303]=65092,e[12304]=65083,e[12305]=65084,e[12308]=65081,e[12309]=65082,e[12310]=65047,e[12311]=65048,e[65103]=65076,e[65281]=65045,e[65288]=65077,e[65289]=65078,e[65292]=65040,e[65306]=65043,e[65307]=65044,e[65311]=65046,e[65339]=65095,e[65341]=65096,e[65343]=65075,e[65371]=65079,e[65373]=65080})),bc=ft((function(e){e["Times-Roman"]="Times-Roman",e.Helvetica="Helvetica",e.Courier="Courier",e.Symbol="Symbol",e["Times-Bold"]="Times-Bold",e["Helvetica-Bold"]="Helvetica-Bold",e["Courier-Bold"]="Courier-Bold",e.ZapfDingbats="ZapfDingbats",e["Times-Italic"]="Times-Italic",e["Helvetica-Oblique"]="Helvetica-Oblique",e["Courier-Oblique"]="Courier-Oblique",e["Times-BoldItalic"]="Times-BoldItalic",e["Helvetica-BoldOblique"]="Helvetica-BoldOblique",e["Courier-BoldOblique"]="Courier-BoldOblique",e.ArialNarrow="Helvetica",e["ArialNarrow-Bold"]="Helvetica-Bold",e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",e["ArialNarrow-Italic"]="Helvetica-Oblique",e.ArialBlack="Helvetica",e["ArialBlack-Bold"]="Helvetica-Bold",e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",e["ArialBlack-Italic"]="Helvetica-Oblique",e["Arial-Black"]="Helvetica",e["Arial-Black-Bold"]="Helvetica-Bold",e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Black-Italic"]="Helvetica-Oblique",e.Arial="Helvetica",e["Arial-Bold"]="Helvetica-Bold",e["Arial-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Italic"]="Helvetica-Oblique",e.ArialMT="Helvetica",e["Arial-BoldItalicMT"]="Helvetica-BoldOblique",e["Arial-BoldMT"]="Helvetica-Bold",e["Arial-ItalicMT"]="Helvetica-Oblique",e["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",e["Arial-BoldMT-Bold"]="Helvetica-Bold",e["Arial-ItalicMT-Italic"]="Helvetica-Oblique",e.ArialUnicodeMS="Helvetica",e["ArialUnicodeMS-Bold"]="Helvetica-Bold",e["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",e["ArialUnicodeMS-Italic"]="Helvetica-Oblique",e["Courier-BoldItalic"]="Courier-BoldOblique",e["Courier-Italic"]="Courier-Oblique",e.CourierNew="Courier",e["CourierNew-Bold"]="Courier-Bold",e["CourierNew-BoldItalic"]="Courier-BoldOblique",e["CourierNew-Italic"]="Courier-Oblique",e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",e["CourierNewPS-BoldMT"]="Courier-Bold",e["CourierNewPS-ItalicMT"]="Courier-Oblique",e.CourierNewPSMT="Courier",e["Helvetica-BoldItalic"]="Helvetica-BoldOblique",e["Helvetica-Italic"]="Helvetica-Oblique",e["Symbol-Bold"]="Symbol",e["Symbol-BoldItalic"]="Symbol",e["Symbol-Italic"]="Symbol",e.TimesNewRoman="Times-Roman",e["TimesNewRoman-Bold"]="Times-Bold",e["TimesNewRoman-BoldItalic"]="Times-BoldItalic",e["TimesNewRoman-Italic"]="Times-Italic",e.TimesNewRomanPS="Times-Roman",e["TimesNewRomanPS-Bold"]="Times-Bold",e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",e["TimesNewRomanPS-BoldMT"]="Times-Bold",e["TimesNewRomanPS-Italic"]="Times-Italic",e["TimesNewRomanPS-ItalicMT"]="Times-Italic",e.TimesNewRomanPSMT="Times-Roman",e["TimesNewRomanPSMT-Bold"]="Times-Bold",e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPSMT-Italic"]="Times-Italic"})),kc=ft((function(e){e.Courier="FoxitFixed.pfb",e["Courier-Bold"]="FoxitFixedBold.pfb",e["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",e["Courier-Oblique"]="FoxitFixedItalic.pfb",e.Helvetica="LiberationSans-Regular.ttf",e["Helvetica-Bold"]="LiberationSans-Bold.ttf",e["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",e["Helvetica-Oblique"]="LiberationSans-Italic.ttf",e["Times-Roman"]="FoxitSerif.pfb",e["Times-Bold"]="FoxitSerifBold.pfb",e["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",e["Times-Italic"]="FoxitSerifItalic.pfb",e.Symbol="FoxitSymbol.pfb",e.ZapfDingbats="FoxitDingbats.pfb",e["LiberationSans-Regular"]="LiberationSans-Regular.ttf",e["LiberationSans-Bold"]="LiberationSans-Bold.ttf",e["LiberationSans-Italic"]="LiberationSans-Italic.ttf",e["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"})),Dc=ft((function(e){e.Calibri="Helvetica",e["Calibri-Bold"]="Helvetica-Bold",e["Calibri-BoldItalic"]="Helvetica-BoldOblique",e["Calibri-Italic"]="Helvetica-Oblique",e.CenturyGothic="Helvetica",e["CenturyGothic-Bold"]="Helvetica-Bold",e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",e["CenturyGothic-Italic"]="Helvetica-Oblique",e.ComicSansMS="Comic Sans MS",e["ComicSansMS-Bold"]="Comic Sans MS-Bold",e["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",e["ComicSansMS-Italic"]="Comic Sans MS-Italic",e.GillSansMT="Helvetica",e["GillSansMT-Bold"]="Helvetica-Bold",e["GillSansMT-BoldItalic"]="Helvetica-BoldOblique",e["GillSansMT-Italic"]="Helvetica-Oblique",e.Impact="Helvetica",e["ItcSymbol-Bold"]="Helvetica-Bold",e["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",e["ItcSymbol-Book"]="Helvetica",e["ItcSymbol-BookItalic"]="Helvetica-Oblique",e["ItcSymbol-Medium"]="Helvetica",e["ItcSymbol-MediumItalic"]="Helvetica-Oblique",e.LucidaConsole="Courier",e["LucidaConsole-Bold"]="Courier-Bold",e["LucidaConsole-BoldItalic"]="Courier-BoldOblique",e["LucidaConsole-Italic"]="Courier-Oblique",e["LucidaSans-Demi"]="Helvetica-Bold",e["MS-Gothic"]="MS Gothic",e["MS-Gothic-Bold"]="MS Gothic-Bold",e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",e["MS-Gothic-Italic"]="MS Gothic-Italic",e["MS-Mincho"]="MS Mincho",e["MS-Mincho-Bold"]="MS Mincho-Bold",e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",e["MS-Mincho-Italic"]="MS Mincho-Italic",e["MS-PGothic"]="MS PGothic",e["MS-PGothic-Bold"]="MS PGothic-Bold",e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",e["MS-PGothic-Italic"]="MS PGothic-Italic",e["MS-PMincho"]="MS PMincho",e["MS-PMincho-Bold"]="MS PMincho-Bold",e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",e["MS-PMincho-Italic"]="MS PMincho-Italic",e.NuptialScript="Times-Italic",e.SegoeUISymbol="Helvetica"})),Sc=ft((function(e){e["Adobe Jenson"]=!0,e["Adobe Text"]=!0,e.Albertus=!0,e.Aldus=!0,e.Alexandria=!0,e.Algerian=!0,e["American Typewriter"]=!0,e.Antiqua=!0,e.Apex=!0,e.Arno=!0,e.Aster=!0,e.Aurora=!0,e.Baskerville=!0,e.Bell=!0,e.Bembo=!0,e["Bembo Schoolbook"]=!0,e.Benguiat=!0,e["Berkeley Old Style"]=!0,e["Bernhard Modern"]=!0,e["Berthold City"]=!0,e.Bodoni=!0,e["Bauer Bodoni"]=!0,e["Book Antiqua"]=!0,e.Bookman=!0,e["Bordeaux Roman"]=!0,e["Californian FB"]=!0,e.Calisto=!0,e.Calvert=!0,e.Capitals=!0,e.Cambria=!0,e.Cartier=!0,e.Caslon=!0,e.Catull=!0,e.Centaur=!0,e["Century Old Style"]=!0,e["Century Schoolbook"]=!0,e.Chaparral=!0,e["Charis SIL"]=!0,e.Cheltenham=!0,e["Cholla Slab"]=!0,e.Clarendon=!0,e.Clearface=!0,e.Cochin=!0,e.Colonna=!0,e["Computer Modern"]=!0,e["Concrete Roman"]=!0,e.Constantia=!0,e["Cooper Black"]=!0,e.Corona=!0,e.Ecotype=!0,e.Egyptienne=!0,e.Elephant=!0,e.Excelsior=!0,e.Fairfield=!0,e["FF Scala"]=!0,e.Folkard=!0,e.Footlight=!0,e.FreeSerif=!0,e["Friz Quadrata"]=!0,e.Garamond=!0,e.Gentium=!0,e.Georgia=!0,e.Gloucester=!0,e["Goudy Old Style"]=!0,e["Goudy Schoolbook"]=!0,e["Goudy Pro Font"]=!0,e.Granjon=!0,e["Guardian Egyptian"]=!0,e.Heather=!0,e.Hercules=!0,e["High Tower Text"]=!0,e.Hiroshige=!0,e["Hoefler Text"]=!0,e["Humana Serif"]=!0,e.Imprint=!0,e["Ionic No. 5"]=!0,e.Janson=!0,e.Joanna=!0,e.Korinna=!0,e.Lexicon=!0,e.LiberationSerif=!0,e["Liberation Serif"]=!0,e["Linux Libertine"]=!0,e.Literaturnaya=!0,e.Lucida=!0,e["Lucida Bright"]=!0,e.Melior=!0,e.Memphis=!0,e.Miller=!0,e.Minion=!0,e.Modern=!0,e["Mona Lisa"]=!0,e["Mrs Eaves"]=!0,e["MS Serif"]=!0,e["Museo Slab"]=!0,e["New York"]=!0,e["Nimbus Roman"]=!0,e["NPS Rawlinson Roadway"]=!0,e.NuptialScript=!0,e.Palatino=!0,e.Perpetua=!0,e.Plantin=!0,e["Plantin Schoolbook"]=!0,e.Playbill=!0,e["Poor Richard"]=!0,e["Rawlinson Roadway"]=!0,e.Renault=!0,e.Requiem=!0,e.Rockwell=!0,e.Roman=!0,e["Rotis Serif"]=!0,e.Sabon=!0,e.Scala=!0,e.Seagull=!0,e.Sistina=!0,e.Souvenir=!0,e.STIX=!0,e["Stone Informal"]=!0,e["Stone Serif"]=!0,e.Sylfaen=!0,e.Times=!0,e.Trajan=!0,e["Trinité"]=!0,e["Trump Mediaeval"]=!0,e.Utopia=!0,e["Vale Type"]=!0,e["Bitstream Vera"]=!0,e["Vera Serif"]=!0,e.Versailles=!0,e.Wanted=!0,e.Weiss=!0,e["Wide Latin"]=!0,e.Windsor=!0,e.XITS=!0})),Fc=ft((function(e){e.Dingbats=!0,e.Symbol=!0,e.ZapfDingbats=!0,e.Wingdings=!0,e["Wingdings-Bold"]=!0,e["Wingdings-Regular"]=!0})),xc=ft((function(e){e[2]=10,e[3]=32,e[4]=33,e[5]=34,e[6]=35,e[7]=36,e[8]=37,e[9]=38,e[10]=39,e[11]=40,e[12]=41,e[13]=42,e[14]=43,e[15]=44,e[16]=45,e[17]=46,e[18]=47,e[19]=48,e[20]=49,e[21]=50,e[22]=51,e[23]=52,e[24]=53,e[25]=54,e[26]=55,e[27]=56,e[28]=57,e[29]=58,e[30]=894,e[31]=60,e[32]=61,e[33]=62,e[34]=63,e[35]=64,e[36]=65,e[37]=66,e[38]=67,e[39]=68,e[40]=69,e[41]=70,e[42]=71,e[43]=72,e[44]=73,e[45]=74,e[46]=75,e[47]=76,e[48]=77,e[49]=78,e[50]=79,e[51]=80,e[52]=81,e[53]=82,e[54]=83,e[55]=84,e[56]=85,e[57]=86,e[58]=87,e[59]=88,e[60]=89,e[61]=90,e[62]=91,e[63]=92,e[64]=93,e[65]=94,e[66]=95,e[67]=96,e[68]=97,e[69]=98,e[70]=99,e[71]=100,e[72]=101,e[73]=102,e[74]=103,e[75]=104,e[76]=105,e[77]=106,e[78]=107,e[79]=108,e[80]=109,e[81]=110,e[82]=111,e[83]=112,e[84]=113,e[85]=114,e[86]=115,e[87]=116,e[88]=117,e[89]=118,e[90]=119,e[91]=120,e[92]=121,e[93]=122,e[94]=123,e[95]=124,e[96]=125,e[97]=126,e[98]=196,e[99]=197,e[100]=199,e[101]=201,e[102]=209,e[103]=214,e[104]=220,e[105]=225,e[106]=224,e[107]=226,e[108]=228,e[109]=227,e[110]=229,e[111]=231,e[112]=233,e[113]=232,e[114]=234,e[115]=235,e[116]=237,e[117]=236,e[118]=238,e[119]=239,e[120]=241,e[121]=243,e[122]=242,e[123]=244,e[124]=246,e[125]=245,e[126]=250,e[127]=249,e[128]=251,e[129]=252,e[130]=8224,e[131]=176,e[132]=162,e[133]=163,e[134]=167,e[135]=8226,e[136]=182,e[137]=223,e[138]=174,e[139]=169,e[140]=8482,e[141]=180,e[142]=168,e[143]=8800,e[144]=198,e[145]=216,e[146]=8734,e[147]=177,e[148]=8804,e[149]=8805,e[150]=165,e[151]=181,e[152]=8706,e[153]=8721,e[154]=8719,e[156]=8747,e[157]=170,e[158]=186,e[159]=8486,e[160]=230,e[161]=248,e[162]=191,e[163]=161,e[164]=172,e[165]=8730,e[166]=402,e[167]=8776,e[168]=8710,e[169]=171,e[170]=187,e[171]=8230,e[179]=8220,e[180]=8221,e[181]=8216,e[182]=8217,e[200]=193,e[203]=205,e[207]=211,e[210]=218,e[223]=711,e[224]=321,e[225]=322,e[226]=352,e[227]=353,e[228]=381,e[229]=382,e[233]=221,e[234]=253,e[252]=263,e[253]=268,e[254]=269,e[258]=258,e[260]=260,e[261]=261,e[265]=280,e[266]=281,e[267]=282,e[268]=283,e[269]=313,e[275]=323,e[276]=324,e[278]=328,e[283]=344,e[284]=345,e[285]=346,e[286]=347,e[292]=367,e[295]=377,e[296]=378,e[298]=380,e[305]=963,e[306]=964,e[307]=966,e[308]=8215,e[309]=8252,e[310]=8319,e[311]=8359,e[312]=8592,e[313]=8593,e[337]=9552,e[493]=1039,e[494]=1040,e[672]=1488,e[673]=1489,e[674]=1490,e[675]=1491,e[676]=1492,e[677]=1493,e[678]=1494,e[679]=1495,e[680]=1496,e[681]=1497,e[682]=1498,e[683]=1499,e[684]=1500,e[685]=1501,e[686]=1502,e[687]=1503,e[688]=1504,e[689]=1505,e[690]=1506,e[691]=1507,e[692]=1508,e[693]=1509,e[694]=1510,e[695]=1511,e[696]=1512,e[697]=1513,e[698]=1514,e[705]=1524,e[706]=8362,e[710]=64288,e[711]=64298,e[759]=1617,e[761]=1776,e[763]=1778,e[775]=1652,e[777]=1764,e[778]=1780,e[779]=1781,e[780]=1782,e[782]=771,e[783]=64726,e[786]=8363,e[788]=8532,e[790]=768,e[791]=769,e[792]=768,e[795]=803,e[797]=64336,e[798]=64337,e[799]=64342,e[800]=64343,e[801]=64344,e[802]=64345,e[803]=64362,e[804]=64363,e[805]=64364,e[2424]=7821,e[2425]=7822,e[2426]=7823,e[2427]=7824,e[2428]=7825,e[2429]=7826,e[2430]=7827,e[2433]=7682,e[2678]=8045,e[2679]=8046,e[2830]=1552,e[2838]=686,e[2840]=751,e[2842]=753,e[2843]=754,e[2844]=755,e[2846]=757,e[2856]=767,e[2857]=848,e[2858]=849,e[2862]=853,e[2863]=854,e[2864]=855,e[2865]=861,e[2866]=862,e[2906]=7460,e[2908]=7462,e[2909]=7463,e[2910]=7464,e[2912]=7466,e[2913]=7467,e[2914]=7468,e[2916]=7470,e[2917]=7471,e[2918]=7472,e[2920]=7474,e[2921]=7475,e[2922]=7476,e[2924]=7478,e[2925]=7479,e[2926]=7480,e[2928]=7482,e[2929]=7483,e[2930]=7484,e[2932]=7486,e[2933]=7487,e[2934]=7488,e[2936]=7490,e[2937]=7491,e[2938]=7492,e[2940]=7494,e[2941]=7495,e[2942]=7496,e[2944]=7498,e[2946]=7500,e[2948]=7502,e[2950]=7504,e[2951]=7505,e[2952]=7506,e[2954]=7508,e[2955]=7509,e[2956]=7510,e[2958]=7512,e[2959]=7513,e[2960]=7514,e[2962]=7516,e[2963]=7517,e[2964]=7518,e[2966]=7520,e[2967]=7521,e[2968]=7522,e[2970]=7524,e[2971]=7525,e[2972]=7526,e[2974]=7528,e[2975]=7529,e[2976]=7530,e[2978]=1537,e[2979]=1538,e[2980]=1539,e[2982]=1549,e[2983]=1551,e[2984]=1552,e[2986]=1554,e[2987]=1555,e[2988]=1556,e[2990]=1623,e[2991]=1624,e[2995]=1775,e[2999]=1791,e[3002]=64290,e[3003]=64291,e[3004]=64292,e[3006]=64294,e[3007]=64295,e[3008]=64296,e[3011]=1900,e[3014]=8223,e[3015]=8244,e[3017]=7532,e[3018]=7533,e[3019]=7534,e[3075]=7590,e[3076]=7591,e[3079]=7594,e[3080]=7595,e[3083]=7598,e[3084]=7599,e[3087]=7602,e[3088]=7603,e[3091]=7606,e[3092]=7607,e[3095]=7610,e[3096]=7611,e[3099]=7614,e[3100]=7615,e[3103]=7618,e[3104]=7619,e[3107]=8337,e[3108]=8338,e[3116]=1884,e[3119]=1885,e[3120]=1885,e[3123]=1886,e[3124]=1886,e[3127]=1887,e[3128]=1887,e[3131]=1888,e[3132]=1888,e[3135]=1889,e[3136]=1889,e[3139]=1890,e[3140]=1890,e[3143]=1891,e[3144]=1891,e[3147]=1892,e[3148]=1892,e[3153]=580,e[3154]=581,e[3157]=584,e[3158]=585,e[3161]=588,e[3162]=589,e[3165]=891,e[3166]=892,e[3169]=1274,e[3170]=1275,e[3173]=1278,e[3174]=1279,e[3181]=7622,e[3182]=7623,e[3282]=11799,e[3316]=578,e[3379]=42785,e[3393]=1159,e[3416]=8377})),Rc=ft((function(e){e[227]=322,e[264]=261,e[291]=346})),Gc=ft((function(e){e[1]=32,e[4]=65,e[5]=192,e[6]=193,e[9]=196,e[17]=66,e[18]=67,e[21]=268,e[24]=68,e[28]=69,e[29]=200,e[30]=201,e[32]=282,e[38]=70,e[39]=71,e[44]=72,e[47]=73,e[48]=204,e[49]=205,e[58]=74,e[60]=75,e[62]=76,e[68]=77,e[69]=78,e[75]=79,e[76]=210,e[80]=214,e[87]=80,e[89]=81,e[90]=82,e[92]=344,e[94]=83,e[97]=352,e[100]=84,e[104]=85,e[109]=220,e[115]=86,e[116]=87,e[121]=88,e[122]=89,e[124]=221,e[127]=90,e[129]=381,e[258]=97,e[259]=224,e[260]=225,e[263]=228,e[268]=261,e[271]=98,e[272]=99,e[273]=263,e[275]=269,e[282]=100,e[286]=101,e[287]=232,e[288]=233,e[290]=283,e[295]=281,e[296]=102,e[336]=103,e[346]=104,e[349]=105,e[350]=236,e[351]=237,e[361]=106,e[364]=107,e[367]=108,e[371]=322,e[373]=109,e[374]=110,e[381]=111,e[382]=242,e[383]=243,e[386]=246,e[393]=112,e[395]=113,e[396]=114,e[398]=345,e[400]=115,e[401]=347,e[403]=353,e[410]=116,e[437]=117,e[442]=252,e[448]=118,e[449]=119,e[454]=120,e[455]=121,e[457]=253,e[460]=122,e[462]=382,e[463]=380,e[853]=44,e[855]=58,e[856]=46,e[876]=47,e[878]=45,e[882]=45,e[894]=40,e[895]=41,e[896]=91,e[897]=93,e[923]=64,e[1004]=48,e[1005]=49,e[1006]=50,e[1007]=51,e[1008]=52,e[1009]=53,e[1010]=54,e[1011]=55,e[1012]=56,e[1013]=57,e[1081]=37,e[1085]=43,e[1086]=45}));function Nc(e){var t=mc(e);return bc()[t]}function Lc(e){var t=mc(e);return!!(bc()[t]||Dc()[t]||Sc()[t]||Fc()[t])}function Uc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Hc(A.key),A)}}function Jc(e,t,r){return t&&Mc(e.prototype,t),r&&Mc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hc(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Yc=function(){return Jc((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Uc(this,e),this._map=t}),[{key:"length",get:function(){return this._map.length}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this._map[t].charCodeAt(0))}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"get",value:function(e){return this._map[e]}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"amend",value:function(e){for(var t in e)this._map[t]=e[t]}}])}(),Pc=function(){return Jc((function e(t,r){Uc(this,e),this.firstChar=t,this.lastChar=r}),[{key:"length",get:function(){return this.lastChar+1-this.firstChar}},{key:"forEach",value:function(e){for(var t=this.firstChar,r=this.lastChar;t<=r;t++)e(t,t)}},{key:"has",value:function(e){return this.firstChar<=e&&e<=this.lastChar}},{key:"get",value:function(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}},{key:"amend",value:function(e){j("Should not call amend()")}}])}();function Oc(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Kc(A.key),A)}}function Kc(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Tc=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.properties=r;var A=new Xs(t,r,dc);this.cff=A.parse(),this.cff.duplicateFirstGlyph();var n=new uc(this.cff);this.seacs=this.cff.seacs;try{this.data=n.compile()}catch(e){q("Failed to compile font "+r.loadedName),this.data=t}this._createBuiltInEncoding()},(t=[{key:"numGlyphs",get:function(){return this.cff.charStrings.count}},{key:"getCharset",value:function(){return this.cff.charset.charset}},{key:"getGlyphMapping",value:function(){var e,t,r=this.cff,A=this.properties,n=A.cidToGidMap,i=A.cMap,a=r.charset.charset;if(A.composite){var o,s;if((null==n?void 0:n.length)>0){o=Object.create(null);for(var c=0,g=n.length;c<g;c++){var u=n[c];void 0!==u&&(o[u]=c)}}if(e=Object.create(null),r.isCIDFont)for(t=0;t<a.length;t++){var l,h=a[t];s=i.charCodeOf(h),void 0!==(null===(l=o)||void 0===l?void 0:l[s])&&(s=o[s]),e[s]=t}else for(t=0;t<r.charStrings.count;t++)e[s=i.charCodeOf(t)]=t;return e}var I=r.encoding?r.encoding.encoding:null;return A.isInternalFont&&(I=A.defaultEncoding),vc(A,I,a)}},{key:"hasGlyphId",value:function(e){return this.cff.hasGlyphId(e)}},{key:"_createBuiltInEncoding",value:function(){var e=this.cff,t=e.charset,r=e.encoding;if(t&&r){var A=t.charset,n=r.encoding,i=[];for(var a in n){var o=n[a];if(o>=0){var s=A[o];s&&(i[a]=s)}}i.length>0&&(this.properties.builtInEncoding=i)}}}])&&Oc(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function qc(e,t,r){return t=Wc(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jc()?Reflect.construct(t,r||[],Wc(e).constructor):t.apply(e,r))}function jc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jc=function(){return!!e})()}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wc(e)}function Zc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_c(e,t)}function _c(e,t){return _c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_c(e,t)}function Xc(e){return function(e){if(Array.isArray(e))return Vc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Vc(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $c(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,tg(A.key),A)}}function eg(e,t,r){return t&&$c(e.prototype,t),r&&$c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function tg(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function rg(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function Ag(e,t){return e[t]<<8|e[t+1]}function ng(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function ig(e,t){return e[t]<<24>>24}function ag(e,t){return ng(e,t)/16384}function og(e){var t=e.length,r=32768;return t<1240?r=107:t<33900&&(r=1131),r}function sg(e,t,r){var A,n,i,a=1===Ag(e,t+2)?rg(e,t+8):rg(e,t+16),o=Ag(e,t+a);if(4===o){Ag(e,t+a+2);var s=Ag(e,t+a+6)>>1;for(n=t+a+14,A=[],i=0;i<s;i++,n+=2)A[i]={end:Ag(e,n)};for(n+=2,i=0;i<s;i++,n+=2)A[i].start=Ag(e,n);for(i=0;i<s;i++,n+=2)A[i].idDelta=Ag(e,n);for(i=0;i<s;i++,n+=2){var c=Ag(e,n);if(0!==c){A[i].ids=[];for(var g=0,u=A[i].end-A[i].start+1;g<u;g++)A[i].ids[g]=Ag(e,n+c),c+=2}}return A}if(12===o){var l=rg(e,t+a+12);for(n=t+a+16,A=[],i=0;i<l;i++)t=rg(e,n),A.push({start:t,end:rg(e,n+4),idDelta:rg(e,n+8)-t}),n+=12;return A}throw new re("unsupported cmap: ".concat(o))}function cg(e,t,r,A){var n,i,a=new Xs(new ar(e,t,r-t),{},A).parse();return{glyphs:a.charStrings.objects,subrs:null===(n=a.topDict.privateDict)||void 0===n||null===(n=n.subrsIndex)||void 0===n?void 0:n.objects,gsubrs:null===(i=a.globalSubrIndex)||void 0===i?void 0:i.objects,isCFFCIDFont:a.isCIDFont,fdSelect:a.fdSelect,fdArray:a.fdArray}}function gg(e,t){for(var r=t.codePointAt(0),A=0,n=0,i=e.length-1;n<i;){var a=n+i+1>>1;r<e[a].start?i=a-1:n=a}return e[n].start<=r&&r<=e[n].end&&(A=e[n].idDelta+(e[n].ids?e[n].ids[r-e[n].start]:r)&65535),{charCode:r,glyphId:A}}function ug(e,t,r){function A(e,r){t.add(1,[e,r])}function n(e,r){t.add(2,[e,r])}function i(e,r,A,n){t.add(3,[e,r,A,n])}var a,o=0,s=ng(e,o),c=0,g=0;if(o+=10,s<0)do{a=Ag(e,o);var u=Ag(e,o+2);o+=4;var l=void 0,h=void 0;1&a?(2&a?(l=ng(e,o),h=ng(e,o+2)):(l=Ag(e,o),h=Ag(e,o+2)),o+=4):2&a?(l=ig(e,o++),h=ig(e,o++)):(l=e[o++],h=e[o++]),2&a?(c=l,g=h):(c=0,g=0);var I=1,f=1,C=0,B=0;8&a?(I=f=ag(e,o),o+=2):64&a?(I=ag(e,o),f=ag(e,o+2),o+=4):128&a&&(I=ag(e,o),C=ag(e,o+2),B=ag(e,o+4),f=ag(e,o+6),o+=8);var Q=r.glyphs[u];Q&&(t.add(5),t.add(7,[I,C,B,f,c,g]),ug(Q,t,r),t.add(4))}while(32&a);else{var E,d,y=[];for(E=0;E<s;E++)y.push(Ag(e,o)),o+=2;o+=2+Ag(e,o);for(var p=y.at(-1)+1,v=[];v.length<p;){var m=1;for(8&(a=e[o++])&&(m+=e[o++]);m-- >0;)v.push({flags:a})}for(E=0;E<p;E++){switch(18&v[E].flags){case 0:c+=ng(e,o),o+=2;break;case 2:c-=e[o++];break;case 18:c+=e[o++]}v[E].x=c}for(E=0;E<p;E++){switch(36&v[E].flags){case 0:g+=ng(e,o),o+=2;break;case 4:g-=e[o++];break;case 36:g+=e[o++]}v[E].y=g}var w=0;for(o=0;o<s;o++){var b=y[o],k=v.slice(w,b+1);if(1&k[0].flags)k.push(k[0]);else if(1&k.at(-1).flags)k.unshift(k.at(-1));else{var D={flags:1,x:(k[0].x+k.at(-1).x)/2,y:(k[0].y+k.at(-1).y)/2};k.unshift(D),k.push(D)}for(A(k[0].x,k[0].y),E=1,d=k.length;E<d;E++)1&k[E].flags?n(k[E].x,k[E].y):1&k[E+1].flags?(i(k[E].x,k[E].y,k[E+1].x,k[E+1].y),E++):i(k[E].x,k[E].y,(k[E].x+k[E+1].x)/2,(k[E].y+k[E+1].y)/2);w=b+1}}}function lg(e,t,r,A){function n(e,r){t.add(1,[e,r])}function i(e,r){t.add(2,[e,r])}function a(e,r,A,n,i,a){t.add(0,[e,r,A,n,i,a])}var o=[],s=0,c=0,g=0;!function e(u){for(var l=0;l<u.length;){var h=!1,I=u[l++],f=void 0,C=void 0,B=void 0,Q=void 0,E=void 0,d=void 0,y=void 0,p=void 0;switch(I){case 1:case 3:case 18:case 23:g+=o.length>>1,h=!0;break;case 4:c+=o.pop(),n(s,c),h=!0;break;case 5:for(;o.length>0;)s+=o.shift(),c+=o.shift(),i(s,c);break;case 6:for(;o.length>0&&(i(s+=o.shift(),c),0!==o.length);)c+=o.shift(),i(s,c);break;case 7:for(;o.length>0&&(c+=o.shift(),i(s,c),0!==o.length);)i(s+=o.shift(),c);break;case 8:for(;o.length>0;)f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c);break;case 10:if(y=o.pop(),p=null,r.isCFFCIDFont){var v=r.fdSelect.getFDIndex(A);if(v>=0&&v<r.fdArray.length){var m,w=r.fdArray[v],b=void 0;null!==(m=w.privateDict)&&void 0!==m&&m.subrsIndex&&(b=w.privateDict.subrsIndex.objects),b&&(p=b[y+=og(b)])}else q("Invalid fd index for glyph index.")}else p=r.subrs[y+r.subrsBias];p&&e(p);break;case 11:return;case 12:switch(I=u[l++]){case 34:C=(f=s+o.shift())+o.shift(),E=c+o.shift(),s=C+o.shift(),a(f,c,C,E,s,E),C=(f=s+o.shift())+o.shift(),s=C+o.shift(),a(f,E,C,c,s,c);break;case 35:f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c),f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c),o.pop();break;case 36:a(f=s+o.shift(),E=c+o.shift(),C=f+o.shift(),d=E+o.shift(),s=C+o.shift(),d),a(f=s+o.shift(),d,C=f+o.shift(),d+o.shift(),s=C+o.shift(),c);break;case 37:var k=s,D=c;f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c),f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C,c=Q,Math.abs(s-k)>Math.abs(c-D)?s+=o.shift():c+=o.shift(),a(f,B,C,Q,s,c);break;default:throw new re("unknown operator: 12 ".concat(I))}break;case 14:if(o.length>=4){var S=o.pop(),F=o.pop();c=o.pop(),s=o.pop(),t.add(5),t.add(8,[s,c]);var x=gg(r.cmap,String.fromCharCode(r.glyphNameMap[Ds[S]]));lg(r.glyphs[x.glyphId],t,r,x.glyphId),t.add(4),x=gg(r.cmap,String.fromCharCode(r.glyphNameMap[Ds[F]])),lg(r.glyphs[x.glyphId],t,r,x.glyphId)}return;case 19:case 20:l+=(g+=o.length>>1)+7>>3,h=!0;break;case 21:c+=o.pop(),n(s+=o.pop(),c),h=!0;break;case 22:n(s+=o.pop(),c),h=!0;break;case 24:for(;o.length>2;)f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c);s+=o.shift(),c+=o.shift(),i(s,c);break;case 25:for(;o.length>6;)s+=o.shift(),c+=o.shift(),i(s,c);f=s+o.shift(),B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s,c);break;case 26:for(o.length%2&&(s+=o.shift());o.length>0;)f=s,B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C,c=Q+o.shift(),a(f,B,C,Q,s,c);break;case 27:for(o.length%2&&(c+=o.shift());o.length>0;)a(f=s+o.shift(),B=c,C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q);break;case 28:o.push((u[l]<<24|u[l+1]<<16)>>16),l+=2;break;case 29:y=o.pop()+r.gsubrsBias,(p=r.gsubrs[y])&&e(p);break;case 30:for(;o.length>0&&(f=s,B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+(1===o.length?o.shift():0),a(f,B,C,Q,s,c),0!==o.length);)f=s+o.shift(),B=c,C=f+o.shift(),Q=B+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s=C+(1===o.length?o.shift():0),c);break;case 31:for(;o.length>0&&(f=s+o.shift(),B=c,C=f+o.shift(),Q=B+o.shift(),c=Q+o.shift(),a(f,B,C,Q,s=C+(1===o.length?o.shift():0),c),0!==o.length);)f=s,B=c+o.shift(),C=f+o.shift(),Q=B+o.shift(),s=C+o.shift(),c=Q+(1===o.length?o.shift():0),a(f,B,C,Q,s,c);break;default:if(I<32)throw new re("unknown operator: ".concat(I));I<247?o.push(I-139):I<251?o.push(256*(I-247)+u[l++]+108):I<255?o.push(256*-(I-251)-u[l++]-108):(o.push((u[l]<<24|u[l+1]<<16|u[l+2]<<8|u[l+3])/65536),l+=4)}h&&(o.length=0)}}(e)}var hg=[],Ig=function(){return eg((function e(){var t,r,A;zc(this,e),t=this,A=[],(r=tg(r="cmds"))in t?Object.defineProperty(t,r,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[r]=A}),[{key:"add",value:function(e,t){if(t)if(St(t,null)){var r;(r=this.cmds).push.apply(r,[e].concat(Xc(t)))}else{var A;q('Commands.add - "'.concat(e,'" has at least one non-number arg: "').concat(t,'".'));var n=t.map((function(e){return"number"==typeof e?e:0}));(A=this.cmds).push.apply(A,[e].concat(Xc(n)))}else this.cmds.push(e)}}])}(),fg=function(){return eg((function e(t){zc(this,e),this.fontMatrix=t,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}),[{key:"getPathJs",value:function(e){var t,r,A,n=gg(this.cmap,e),i=n.charCode,a=n.glyphId,o=this.compiledGlyphs[a];if(!o){try{o=this.compileGlyph(this.glyphs[a],a)}catch(e){o=hg,A=e}this.compiledGlyphs[a]=o}if(null!==(r=(t=this.compiledCharCodeToGlyphId)[i])&&void 0!==r||(t[i]=a),A)throw A;return o}},{key:"compileGlyph",value:function(e,t){if(!e||0===e.length||14===e[0])return hg;var r=this.fontMatrix;if(this.isCFFCIDFont){var A=this.fdSelect.getFDIndex(t);A>=0&&A<this.fdArray.length?r=this.fdArray[A].getByName("FontMatrix")||B:q("Invalid fd index for glyph index.")}var n=new Ig;return n.add(5),n.add(7,r.slice()),n.add(6),this.compileGlyphImpl(e,n,t),n.add(4),n.cmds}},{key:"compileGlyphImpl",value:function(){j("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(e){var t=gg(this.cmap,e),r=t.charCode,A=t.glyphId;return void 0!==this.compiledGlyphs[A]&&void 0!==this.compiledCharCodeToGlyphId[r]}}])}(),Cg=function(e){function t(e,r,A){var n;return zc(this,t),(n=qc(this,t,[A||[488e-6,0,0,488e-6,0,0]])).glyphs=e,n.cmap=r,n}return Zc(t,fg),eg(t,[{key:"compileGlyphImpl",value:function(e,t){ug(e,t,this)}}])}(),Bg=function(e){function t(e,r,A,n){var i;return zc(this,t),(i=qc(this,t,[A||[.001,0,0,.001,0,0]])).glyphs=e.glyphs,i.gsubrs=e.gsubrs||[],i.subrs=e.subrs||[],i.cmap=r,i.glyphNameMap=n||lc(),i.gsubrsBias=og(i.gsubrs),i.subrsBias=og(i.subrs),i.isCFFCIDFont=e.isCFFCIDFont,i.fdSelect=e.fdSelect,i.fdArray=e.fdArray,i}return Zc(t,fg),eg(t,[{key:"compileGlyphImpl",value:function(e,t,r){lg(e,t,this,r)}}])}(),Qg=function(){return eg((function e(){zc(this,e)}),null,[{key:"create",value:function(e,t){for(var r,A,n,i,a,o,s=new Uint8Array(e.data),c=Ag(s,4),g=0,u=12;g<c;g++,u+=16){var l=ne(s.subarray(u,u+4)),h=rg(s,u+8),I=rg(s,u+12);switch(l){case"cmap":r=sg(s,h);break;case"glyf":A=s.subarray(h,h+I);break;case"loca":n=s.subarray(h,h+I);break;case"head":o=Ag(s,h+18),a=Ag(s,h+50);break;case"CFF ":i=cg(s,h,h+I,t)}}if(A){var f=o?[1/o,0,0,1/o,0,0]:e.fontMatrix;return new Cg(function(e,t,r){var A,n;r?(A=4,n=rg):(A=2,n=function(e,t){return 2*Ag(e,t)});for(var i=[],a=n(t,0),o=A;o<t.length;o+=A){var s=n(t,o);i.push(e.subarray(a,s)),a=s}return i}(A,n,a),r,f)}return new Bg(i,r,e.fontMatrix,e.glyphNameMap)}}])}(),Eg=ft((function(e){e.Courier=600,e["Courier-Bold"]=600,e["Courier-BoldOblique"]=600,e["Courier-Oblique"]=600,e.Helvetica=ft((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Bold"]=ft((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-BoldOblique"]=ft((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Oblique"]=ft((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e.Symbol=ft((function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790})),e["Times-Roman"]=ft((function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Bold"]=ft((function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-BoldItalic"]=ft((function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Italic"]=ft((function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e.ZapfDingbats=ft((function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918}))})),dg=ft((function(e){e.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},e["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},e["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},e["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},e["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},e["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},e.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},e.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}));function yg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||vg(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pg(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=vg(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function vg(e,t){if(e){if("string"==typeof e)return mg(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mg(e,t):void 0}}function mg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function wg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Dg(A.key),A)}}function kg(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dg(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Sg=function(){return kg((function e(t){var r=t.glyfTable,A=t.isGlyphLocationsLong,n=t.locaTable,i=t.numGlyphs;wg(this,e),this.glyphs=[];for(var a=new DataView(n.buffer,n.byteOffset,n.byteLength),o=new DataView(r.buffer,r.byteOffset,r.byteLength),s=A?4:2,c=A?a.getUint32(0):2*a.getUint16(0),g=0,u=0;u<i;u++){g+=s;var l=A?a.getUint32(g):2*a.getUint16(g);if(l!==c){var h=Fg.parse(c,o);this.glyphs.push(h),c=l}else this.glyphs.push(new Fg({}))}}),[{key:"getSize",value:function(){return this.glyphs.reduce((function(e,t){return e+(t.getSize()+3&-4)}),0)}},{key:"write",value:function(){var e=this.getSize(),t=new DataView(new ArrayBuffer(e)),r=e>131070,A=r?4:2,n=new DataView(new ArrayBuffer((this.glyphs.length+1)*A));r?n.setUint32(0,0):n.setUint16(0,0);var i,a=0,o=0,s=pg(this.glyphs);try{for(s.s();!(i=s.n()).done;)a=(a+=i.value.write(a,t))+3&-4,o+=A,r?n.setUint32(o,a):n.setUint16(o,a>>1)}catch(e){s.e(e)}finally{s.f()}return{isLocationLong:r,loca:new Uint8Array(n.buffer),glyf:new Uint8Array(t.buffer)}}},{key:"scale",value:function(e){for(var t=0,r=this.glyphs.length;t<r;t++)this.glyphs[t].scale(e[t])}}])}(),Fg=function(){function e(t){var r=t.header,A=void 0===r?null:r,n=t.simple,i=void 0===n?null:n,a=t.composites,o=void 0===a?null:a;wg(this,e),this.header=A,this.simple=i,this.composites=o}return kg(e,[{key:"getSize",value:function(){if(!this.header)return 0;var e=this.simple?this.simple.getSize():this.composites.reduce((function(e,t){return e+t.getSize()}),0);return this.header.getSize()+e}},{key:"write",value:function(e,t){if(!this.header)return 0;var r=e;if(e+=this.header.write(e,t),this.simple)e+=this.simple.write(e,t);else{var A,n=pg(this.composites);try{for(n.s();!(A=n.n()).done;)e+=A.value.write(e,t)}catch(e){n.e(e)}finally{n.f()}}return e-r}},{key:"scale",value:function(e){if(this.header){var t=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(t,e),this.simple)this.simple.scale(t,e);else{var r,A=pg(this.composites);try{for(A.s();!(r=A.n()).done;)r.value.scale(t,e)}catch(e){A.e(e)}finally{A.f()}}}}}],[{key:"parse",value:function(t,r){var A=yg(xg.parse(t,r),2),n=A[0],i=A[1];if(t+=n,i.numberOfContours<0){for(var a=[];;){var o=yg(Ng.parse(t,r),2),s=o[0],c=o[1];if(t+=s,a.push(c),!(32&c.flags))break}return new e({header:i,composites:a})}return new e({header:i,simple:Gg.parse(t,r,i.numberOfContours)})}}])}(),xg=function(){function e(t){var r=t.numberOfContours,A=t.xMin,n=t.yMin,i=t.xMax,a=t.yMax;wg(this,e),this.numberOfContours=r,this.xMin=A,this.yMin=n,this.xMax=i,this.yMax=a}return kg(e,[{key:"getSize",value:function(){return 10}},{key:"write",value:function(e,t){return t.setInt16(e,this.numberOfContours),t.setInt16(e+2,this.xMin),t.setInt16(e+4,this.yMin),t.setInt16(e+6,this.xMax),t.setInt16(e+8,this.yMax),10}},{key:"scale",value:function(e,t){this.xMin=Math.round(e+(this.xMin-e)*t),this.xMax=Math.round(e+(this.xMax-e)*t)}}],[{key:"parse",value:function(t,r){return[10,new e({numberOfContours:r.getInt16(t),xMin:r.getInt16(t+2),yMin:r.getInt16(t+4),xMax:r.getInt16(t+6),yMax:r.getInt16(t+8)})]}}])}(),Rg=kg((function e(t){var r=t.flags,A=t.xCoordinates,n=t.yCoordinates;wg(this,e),this.xCoordinates=A,this.yCoordinates=n,this.flags=r})),Gg=function(){function e(t){var r=t.contours,A=t.instructions;wg(this,e),this.contours=r,this.instructions=A}return kg(e,[{key:"getSize",value:function(){var e,t=2*this.contours.length+2+this.instructions.length,r=0,A=0,n=pg(this.contours);try{for(n.s();!(e=n.n()).done;){var i=e.value;t+=i.flags.length;for(var a=0,o=i.xCoordinates.length;a<o;a++){var s=i.xCoordinates[a],c=i.yCoordinates[a],g=Math.abs(s-r);g>255?t+=2:g>0&&(t+=1),r=s,(g=Math.abs(c-A))>255?t+=2:g>0&&(t+=1),A=c}}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"write",value:function(e,t){var r,A=e,n=[],i=[],a=[],o=0,s=0,c=pg(this.contours);try{for(c.s();!(r=c.n()).done;){for(var g=r.value,u=0,l=g.xCoordinates.length;u<l;u++){var h=g.flags[u],I=g.xCoordinates[u],f=I-o;if(0===f)h|=16,n.push(0);else{var C=Math.abs(f);C<=255?(h|=f>=0?18:2,n.push(C)):n.push(f)}o=I;var B=g.yCoordinates[u];if(0==(f=B-s))h|=32,i.push(0);else{var Q=Math.abs(f);Q<=255?(h|=f>=0?36:4,i.push(Q)):i.push(f)}s=B,a.push(h)}t.setUint16(e,n.length-1),e+=2}}catch(e){c.e(e)}finally{c.f()}t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length);for(var E=0,d=a;E<d.length;E++){var y=d[E];t.setUint8(e++,y)}for(var p=0,v=n.length;p<v;p++){var m=n[p],w=a[p];2&w?t.setUint8(e++,m):16&w||(t.setInt16(e,m),e+=2)}for(var b=0,k=i.length;b<k;b++){var D=i[b],S=a[b];4&S?t.setUint8(e++,D):32&S||(t.setInt16(e,D),e+=2)}return e-A}},{key:"scale",value:function(e,t){var r,A=pg(this.contours);try{for(A.s();!(r=A.n()).done;){var n=r.value;if(0!==n.xCoordinates.length)for(var i=0,a=n.xCoordinates.length;i<a;i++)n.xCoordinates[i]=Math.round(e+(n.xCoordinates[i]-e)*t)}}catch(e){A.e(e)}finally{A.f()}}}],[{key:"parse",value:function(t,r,A){for(var n=[],i=0;i<A;i++){var a=r.getUint16(t);t+=2,n.push(a)}var o=n[A-1]+1,s=r.getUint16(t);t+=2;var c=new Uint8Array(r).slice(t,t+s);t+=s;for(var g=[],u=0;u<o;t++,u++){var l=r.getUint8(t);if(g.push(l),8&l){var h=r.getUint8(++t);l^=8;for(var I=0;I<h;I++)g.push(l);u+=h}}for(var f=[],C=[],B=[],Q=[],E=[],d=0,y=0,p=0;p<o;p++){var v=g[p];if(2&v){var m=r.getUint8(t++);y+=16&v?m:-m,C.push(y)}else 16&v||(y+=r.getInt16(t),t+=2),C.push(y);n[d]===p&&(d++,f.push(C),C=[])}y=0,d=0;for(var w=0;w<o;w++){var b=g[w];if(4&b){var k=r.getUint8(t++);y+=32&b?k:-k,B.push(y)}else 32&b||(y+=r.getInt16(t),t+=2),B.push(y);Q.push(1&b|64&b),n[d]===w&&(C=f[d],d++,E.push(new Rg({flags:Q,xCoordinates:C,yCoordinates:B})),B=[],Q=[])}return new e({contours:E,instructions:c})}}])}(),Ng=function(){function e(t){var r=t.flags,A=t.glyphIndex,n=t.argument1,i=t.argument2,a=t.transf,o=t.instructions;wg(this,e),this.flags=r,this.glyphIndex=A,this.argument1=n,this.argument2=i,this.transf=a,this.instructions=o}return kg(e,[{key:"getSize",value:function(){var e=4+2*this.transf.length;return 256&this.flags&&(e+=2+this.instructions.length),e+=2,2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(e+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(e+=2),e}},{key:"write",value:function(e,t){var r=e;return 2&this.flags?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=1):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=1),t.setUint16(e,this.flags),t.setUint16(e+2,this.glyphIndex),e+=4,1&this.flags?(2&this.flags?(t.setInt16(e,this.argument1),t.setInt16(e+2,this.argument2)):(t.setUint16(e,this.argument1),t.setUint16(e+2,this.argument2)),e+=4):(t.setUint8(e,this.argument1),t.setUint8(e+1,this.argument2),e+=2),256&this.flags&&(t.setUint16(e,this.instructions.length),e+=2,this.instructions.length&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length)),e-r}},{key:"scale",value:function(e,t){}}],[{key:"parse",value:function(t,r){var A,n,i=t,a=[],o=r.getUint16(t),s=r.getUint16(t+2);t+=4,1&o?(2&o?(A=r.getInt16(t),n=r.getInt16(t+2)):(A=r.getUint16(t),n=r.getUint16(t+2)),t+=4,o^=1):(2&o?(A=r.getInt8(t),n=r.getInt8(t+1)):(A=r.getUint8(t),n=r.getUint8(t+1)),t+=2),8&o?(a.push(r.getUint16(t)),t+=2):64&o?(a.push(r.getUint16(t),r.getUint16(t+2)),t+=4):128&o&&(a.push(r.getUint16(t),r.getUint16(t+2),r.getUint16(t+4),r.getUint16(t+6)),t+=8);var c=null;if(256&o){var g=r.getUint16(t);t+=2,c=new Uint8Array(r).slice(t,t+g),t+=g}return[t-i,new e({flags:o,glyphIndex:s,argument1:A,argument2:n,transf:a,instructions:c})]}}])}();function Lg(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ug(A.key),A)}}function Ug(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Mg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Jg(e,t,r){e[t]=r>>8&255,e[t+1]=255&r}function Hg(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function Yg(e,t,r){if(r instanceof Uint8Array)e.set(r,t);else if("string"==typeof r)for(var A=0,n=r.length;A<n;A++)e[t++]=255&r.charCodeAt(A);else{var i,a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Mg(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Mg(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(r);try{for(a.s();!(i=a.n()).done;){var o=i.value;e[t++]=255&o}}catch(e){a.e(e)}finally{a.f()}}}var Pg=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sfnt=t,this.tables=Object.create(null)}return t=e,A=[{key:"getSearchParams",value:function(e,t){for(var r=1,A=0;(r^e)>r;)r<<=1,A++;var n=r*t;return{range:n,entry:A,rangeShift:t*e-n}}}],(r=[{key:"toArray",value:function(){var t=this.sfnt,r=this.tables,A=Object.keys(r);A.sort();var n,i,a,o,s,c=A.length,g=12+16*c,u=[g];for(n=0;n<c;n++)g+=((o=r[A[n]]).length+3&-4)>>>0,u.push(g);var l=new Uint8Array(g);for(n=0;n<c;n++)o=r[A[n]],Yg(l,u[n],o);"true"===t&&(t=ae(65536)),l[0]=255&t.charCodeAt(0),l[1]=255&t.charCodeAt(1),l[2]=255&t.charCodeAt(2),l[3]=255&t.charCodeAt(3),Jg(l,4,c);var h=e.getSearchParams(c,16);for(Jg(l,6,h.range),Jg(l,8,h.entry),Jg(l,10,h.rangeShift),g=12,n=0;n<c;n++){s=A[n],l[g]=255&s.charCodeAt(0),l[g+1]=255&s.charCodeAt(1),l[g+2]=255&s.charCodeAt(2),l[g+3]=255&s.charCodeAt(3);var I=0;for(i=u[n],a=u[n+1];i<a;i+=4)I=I+kt(l,i)>>>0;Hg(l,g+4,I),Hg(l,g+8,u[n]),Hg(l,g+12,r[s].length),g+=16}return l}},{key:"addTable",value:function(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}])&&Lg(t.prototype,r),A&&Lg(t,A),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,A}();function Og(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jg(A.key),A)}}function qg(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jg(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Wg=[4],Zg=[5],_g=[6],Xg=[7],Vg=[8],zg=[12,35],$g=[14],eu=[21],tu=[22],ru=[30],Au=[31],nu=function(){return qg((function e(){Kg(this,e),this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}),[{key:"convert",value:function(e,t,r){for(var A,n,i,a=e.length,o=!1,s=0;s<a;s++){var c=e[s];if(c<32){switch(12===c&&(c=(c<<8)+e[++s]),c){case 1:case 3:case 9:case 3072:case 3073:case 3074:case 3105:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){o=!0;break}var g=this.stack.pop();this.stack.push(0,g);break}o=this.executeCommand(1,Wg);break;case 5:o=this.executeCommand(2,Zg);break;case 6:o=this.executeCommand(1,_g);break;case 7:o=this.executeCommand(1,Xg);break;case 8:o=this.executeCommand(6,Vg);break;case 10:if(this.stack.length<1){o=!0;break}if(!t[i=this.stack.pop()]){o=!0;break}o=this.convert(t[i],t,r);break;case 11:return o;case 13:if(this.stack.length<2){o=!0;break}A=this.stack.pop(),n=this.stack.pop(),this.lsb=n,this.width=A,this.stack.push(A,n),o=this.executeCommand(2,tu);break;case 14:this.output.push($g[0]);break;case 21:if(this.flexing)break;o=this.executeCommand(2,eu);break;case 22:if(this.flexing){this.stack.push(0);break}o=this.executeCommand(1,tu);break;case 30:o=this.executeCommand(4,ru);break;case 31:o=this.executeCommand(4,Au);break;case 3078:if(r){var u=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-u,o=this.executeCommand(0,$g)}else o=this.executeCommand(4,$g);break;case 3079:if(this.stack.length<4){o=!0;break}this.stack.pop(),A=this.stack.pop();var l=this.stack.pop();n=this.stack.pop(),this.lsb=n,this.width=A,this.stack.push(A,n,l),o=this.executeCommand(3,eu);break;case 3084:if(this.stack.length<2){o=!0;break}var h=this.stack.pop(),I=this.stack.pop();this.stack.push(I/h);break;case 3088:if(this.stack.length<2){o=!0;break}i=this.stack.pop();var f=this.stack.pop();if(0===i&&3===f){var C=this.stack.splice(-17,17);this.stack.push(C[2]+C[0],C[3]+C[1],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14]),o=this.executeCommand(13,zg,!0),this.flexing=!1,this.stack.push(C[15],C[16])}else 1===i&&0===f&&(this.flexing=!0);break;case 3089:break;default:q('Unknown type 1 charstring command of "'+c+'"')}if(o)break}else c<=246?c-=139:c=c<=250?256*(c-247)+e[++s]+108:c<=254?-256*(c-251)-e[++s]-108:(255&e[++s])<<24|(255&e[++s])<<16|(255&e[++s])<<8|(255&e[++s])<<0,this.stack.push(c)}return o}},{key:"executeCommand",value:function(e,t,r){var A,n=this.stack.length;if(e>n)return!0;for(var i=n-e,a=i;a<n;a++){var o=this.stack[a];Number.isInteger(o)?this.output.push(28,o>>8&255,255&o):(o=65536*o|0,this.output.push(255,o>>24&255,o>>16&255,o>>8&255,255&o))}return(A=this.output).push.apply(A,function(e){return function(e){if(Array.isArray(e))return Og(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Og(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Og(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t)),r?this.stack.splice(i,e):this.stack.length=0,!1}}])}();function iu(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function au(e,t,r){if(r>=e.length)return new Uint8Array(0);var A,n,i=0|t;for(A=0;A<r;A++)i=52845*(e[A]+i)+22719&65535;var a=e.length-r,o=new Uint8Array(a);for(A=r,n=0;n<a;A++,n++){var s=e[A];o[n]=s^i>>8,i=52845*(s+i)+22719&65535}return o}function ou(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}var su=function(){return qg((function e(t,r,A){if(Kg(this,e),r){var n=t.getBytes(),i=!((iu(n[0])||Dt(n[0]))&&iu(n[1])&&iu(n[2])&&iu(n[3])&&iu(n[4])&&iu(n[5])&&iu(n[6])&&iu(n[7]));t=new ar(i?au(n,55665,4):function(e,t,r){var A,n,i=55665,a=e.length,o=new Uint8Array(a>>>1);for(A=0,n=0;A<a;A++){var s=e[A];if(iu(s)){A++;for(var c=void 0;A<a&&!iu(c=e[A]);)A++;if(A<a){var g=parseInt(String.fromCharCode(s,c),16);o[n++]=g^i>>8,i=52845*(g+i)+22719&65535}}}return o.slice(4,n)}(n))}this.seacAnalysisEnabled=!!A,this.stream=t,this.nextChar()}),[{key:"readNumberArray",value:function(){this.getToken();for(var e=[];;){var t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}},{key:"readNumber",value:function(){var e=this.getToken();return parseFloat(e||0)}},{key:"readInt",value:function(){var e=this.getToken();return 0|parseInt(e||0,10)}},{key:"readBoolean",value:function(){return"true"===this.getToken()?1:0}},{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"prevChar",value:function(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!Dt(t))break;t=this.nextChar()}if(ou(t))return this.nextChar(),String.fromCharCode(t);var r="";do{r+=String.fromCharCode(t),t=this.nextChar()}while(t>=0&&!Dt(t)&&!ou(t));return r}},{key:"readCharStrings",value:function(e,t){return-1===t?e:au(e,4330,t)}},{key:"extractFontProgram",value:function(e){var t=this.stream,r=[],A=[],n=Object.create(null);n.lenIV=4;for(var i,a,o,s,c={subrs:[],charstrings:[],properties:{privateData:n}};null!==(i=this.getToken());)if("/"===i)switch(i=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(i=this.getToken())&&"end"!==i;)if("/"===i){var g=this.getToken();a=this.readInt(),this.getToken(),o=a>0?t.getBytes(a):new Uint8Array(0),s=c.properties.privateData.lenIV;var u=this.readCharStrings(o,s);this.nextChar(),"noaccess"===(i=this.getToken())?this.getToken():"/"===i&&this.prevChar(),A.push({glyph:g,encoded:u})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){var l=this.readInt();a=this.readInt(),this.getToken(),o=a>0?t.getBytes(a):new Uint8Array(0),s=c.properties.privateData.lenIV;var h=this.readCharStrings(o,s);this.nextChar(),"noaccess"===(i=this.getToken())&&this.getToken(),r[l]=h}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var I=this.readNumberArray();I.length>0&&I.length;break;case"StemSnapH":case"StemSnapV":c.properties.privateData[i]=this.readNumberArray();break;case"StdHW":case"StdVW":c.properties.privateData[i]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":c.properties.privateData[i]=this.readNumber();break;case"ExpansionFactor":c.properties.privateData[i]=this.readNumber()||.06;break;case"ForceBold":c.properties.privateData[i]=this.readBoolean()}for(var f=0,C=A;f<C.length;f++){var B=C[f],Q=B.encoded,E=B.glyph,d=new nu,y=d.convert(Q,r,this.seacAnalysisEnabled),p=d.output;y&&(p=[14]);var v={glyphName:E,charstring:p,width:d.width,lsb:d.lsb,seac:d.seac};if(".notdef"===E?c.charstrings.unshift(v):c.charstrings.push(v),e.builtInEncoding){var m=e.builtInEncoding.indexOf(E);m>-1&&void 0===e.widths[m]&&m>=e.firstChar&&m<=e.lastChar&&(e.widths[m]=d.width)}}return c}},{key:"extractFontHeader",value:function(e){for(var t;null!==(t=this.getToken());)if("/"===t)switch(t=this.getToken()){case"FontMatrix":var r=this.readNumberArray();e.fontMatrix=r;break;case"Encoding":var A=this.getToken(),n=void 0;if(/^\\d+$/.test(A)){n=[];var i=0|parseInt(A,10);this.getToken();for(var a=0;a<i;a++){for(t=this.getToken();"dup"!==t&&"def"!==t;)if(null===(t=this.getToken()))return;if("def"===t)break;var o=this.readInt();this.getToken();var s=this.getToken();n[o]=s,this.getToken()}}else n=Rs(A);e.builtInEncoding=n;break;case"FontBBox":var c=this.readNumberArray();e.ascent=Math.max(c[3],c[1]),e.descent=Math.min(c[1],c[3]),e.ascentScaled=!0}}}])}();function cu(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return gu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gu(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function gu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function uu(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,lu(A.key),A)}}function lu(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function hu(e,t,r){for(var A=e.length,n=t.length,i=A-n,a=r,o=!1;a<i;){for(var s=0;s<n&&e[a+s]===t[s];)s++;if(s>=n){for(a+=s;a<A&&Dt(e[a]);)a++;o=!0;break}a++}return{found:o,length:a}}var Iu=function(){return e=function e(t,r,A){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=A.length1,i=(A.length2,r.peekBytes(6)),a=128===i[0]&&1===i[1];a&&(r.skip(6),n=i[5]<<24|i[4]<<16|i[3]<<8|i[2]);var o=function(e,t){var r,A,n,i,a=[101,101,120,101,99],o=e.pos;try{A=(r=e.getBytes(t)).length}catch(e){}if(A===t&&(n=hu(r,a,t-2*a.length)).found&&n.length===t)return{stream:new ar(r),length:t};for(q('Invalid "Length1" property in Type1 font -- trying to recover.'),e.pos=o;0!==(n=hu(e.peekBytes(2048),a,0)).length;)if(e.pos+=n.length,n.found){i=e.pos-o;break}return e.pos=o,i?{stream:new ar(e.getBytes(i)),length:i}:(q('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new ar(e.getBytes(t)),length:t})}(r,n);new su(o.stream,!1,dc).extractFontHeader(A),a&&((i=r.getBytes(6))[5],i[4],i[3],i[2]);var s=function(e,t){var r=e.getBytes();if(0===r.length)throw new re("getEexecBlock - no font program found.");return{stream:new ar(r),length:r.length}}(r),c=new su(s.stream,!0,dc).extractFontProgram(A);for(var g in c.properties)A[g]=c.properties[g];var u=c.charstrings,l=this.getType2Charstrings(u),h=this.getType2Subrs(c.subrs);this.charstrings=u,this.data=this.wrap(t,l,this.charstrings,h,A),this.seacs=this.getSeacs(c.charstrings)},(t=[{key:"numGlyphs",get:function(){return this.charstrings.length+1}},{key:"getCharset",value:function(){var e,t=[".notdef"],r=cu(this.charstrings);try{for(r.s();!(e=r.n()).done;){var A=e.value.glyphName;t.push(A)}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"getGlyphMapping",value:function(e){var t=this.charstrings;if(e.composite){for(var r=Object.create(null),A=0,n=t.length;A<n;A++)r[e.cMap.charCodeOf(A)]=A+1;return r}var i,a,o=[".notdef"];for(a=0;a<t.length;a++)o.push(t[a].glyphName);var s=e.builtInEncoding;if(s)for(var c in i=Object.create(null),s)(a=o.indexOf(s[c]))>=0&&(i[c]=a);return vc(e,i,o)}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.numGlyphs)&&(0===e||this.charstrings[e-1].charstring.length>0)}},{key:"getSeacs",value:function(e){for(var t=[],r=0,A=e.length;r<A;r++){var n=e[r];n.seac&&(t[r+1]=n.seac)}return t}},{key:"getType2Charstrings",value:function(e){var t,r=[],A=cu(e);try{for(A.s();!(t=A.n()).done;){var n=t.value;r.push(n.charstring)}}catch(e){A.e(e)}finally{A.f()}return r}},{key:"getType2Subrs",value:function(e){var t,r=e.length;t=r<1133?107:r<33769?1131:32768;var A,n=[];for(A=0;A<t;A++)n.push([11]);for(A=0;A<r;A++)n.push(e[A]);return n}},{key:"wrap",value:function(e,t,r,A,n){var i=new Vs;i.header=new zs(1,0,4,4),i.names=[e];var a=new Ac;a.setByName("version",391),a.setByName("Notice",392),a.setByName("FullName",393),a.setByName("FamilyName",394),a.setByName("Weight",395),a.setByName("Encoding",null),a.setByName("FontMatrix",n.fontMatrix),a.setByName("FontBBox",n.bbox),a.setByName("charset",null),a.setByName("CharStrings",null),a.setByName("Private",null),i.topDict=a;var o=new $s;o.add("Version 0.11"),o.add("See original notice"),o.add(e),o.add(e),o.add("Medium"),i.strings=o,i.globalSubrIndex=new ec;var s,c,g=t.length,u=[".notdef"];for(s=0;s<g;s++){var l=r[s].glyphName;-1===Ws.indexOf(l)&&o.add(l),u.push(l)}i.charset=new oc(!1,0,u);var h=new ec;for(h.add([139,14]),s=0;s<g;s++)h.add(t[s]);i.charStrings=h;var I=new ic;I.setByName("Subrs",null);var f=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(s=0,c=f.length;s<c;s++){var C=f[s];if(C in n.privateData){var B=n.privateData[C];if(Array.isArray(B))for(var Q=B.length-1;Q>0;Q--)B[Q]-=B[Q-1];I.setByName(C,B)}}i.topDict.privateDict=I;var E=new ec;for(s=0,c=A.length;s<c;s++)E.add(A[s]);return I.subrsIndex=E,new uc(i).compile()}}])&&uu(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function fu(e){return function(e){if(Array.isArray(e))return vu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||pu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qu(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,du(A.key),A)}}function Eu(e,t,r){return t&&Qu(e.prototype,t),r&&Qu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function du(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function yu(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pu(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function pu(e,t){if(e){if("string"==typeof e)return vu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vu(e,t):void 0}}function vu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var mu=[[57344,63743],[1048576,1114109]],wu=1e3,bu=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","systemFontInfo","type","vertical"],ku=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function Du(e){if(e.fontMatrix&&e.fontMatrix[0]!==B[0]){var t=.001/e.fontMatrix[0],r=e.widths;for(var A in r)r[A]*=t;e.defaultWidth*=t}}function Su(e){if(e.fallbackToUnicode&&!(e.toUnicode instanceof Pc)){var t=[];for(var r in e.fallbackToUnicode)e.toUnicode.has(r)||(t[r]=e.fallbackToUnicode[r]);t.length>0&&e.toUnicode.amend(t)}}var Fu=function(){return Eu((function e(t,r,A,n,i,a,o,s,c){Bu(this,e),this.originalCharCode=t,this.fontChar=r,this.unicode=A,this.accent=n,this.width=i,this.vmetric=a,this.operatorListId=o,this.isSpace=s,this.isInFont=c}),[{key:"category",get:function(){return _(this,"category",function(e){var t=Ec.get(e);if(t)return t;var r=e.match(Qc),A={isWhitespace:!(null==r||!r[1]),isZeroWidthDiacritic:!(null==r||!r[2]),isInvisibleFormatMark:!(null==r||!r[3])};return Ec.set(e,A),A}(this.unicode),!0)}}])}();function xu(e,t){return(e<<8)+t}function Ru(e,t,r){e[t+1]=r,e[t]=r>>>8}function Gu(e,t){var r=(e<<8)+t;return 32768&r?r-65536:r}function Nu(e){return String.fromCharCode(e>>8&255,255&e)}function Lu(e){return e>32767?e=32767:e<-32768&&(e=-32768),String.fromCharCode(e>>8&255,255&e)}function Uu(e){return"ttcf"===ne(e.peekBytes(4))}function Mu(e,t){for(var r in t)e[+r]=t[r]}function Ju(e,t,r){for(var A,n=[],i=0,a=e.length;i<a;i++)-1!==(A=fc(e[i],t))&&(n[i]=A);for(var o in r)-1!==(A=fc(r[o],t))&&(n[+o]=A);return n}function Hu(e){return 1===e.platform&&0===e.encoding&&0===e.language}function Yu(e){return 3===e.platform&&1===e.encoding&&1033===e.language}function Pu(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];switch(t.length){case 1:return t.charCodeAt(0);case 2:return t.charCodeAt(0)<<8|t.charCodeAt(1)}var A="Unsupported CID string (charCode ".concat(e,'): "').concat(t,'".');if(r)throw new re(A);return q(A),t}function Ou(e,t,r,A){var n,i=Object.create(null),a=new Map,o=[],s=new Set,c=0,g=mu[c][0],u=mu[c][1];for(var l in e){var h=e[l];if(t(h)){if(g>u){if(++c>=mu.length){q("Ran out of space in font private use area.");break}g=mu[c][0],u=mu[c][1]}var I=g++;0===h&&(h=r);var f=A.get(l);"string"==typeof f&&(f=f.codePointAt(0)),!f||(n=f,mu[0][0]<=n&&n<=mu[0][1]||mu[1][0]<=n&&n<=mu[1][1])||s.has(h)||(a.set(f,h),s.add(h)),i[I]=h,o[l]=I}}return{toFontChar:o,charCodeToGlyphId:i,toUnicodeExtraMap:a,nextAvailableFontCharCode:g}}function Ku(e,t,r){var A,n,i,a,o=function(e,t,r){var A=[];for(var n in e)e[n]>=r||A.push({fontCharCode:0|n,glyphId:e[n]});if(t){var i,a=yu(t);try{for(a.s();!(i=a.n()).done;){var o=Cu(i.value,2),s=o[0],c=o[1];c>=r||A.push({fontCharCode:s,glyphId:c})}}catch(e){a.e(e)}finally{a.f()}}0===A.length&&A.push({fontCharCode:0,glyphId:0}),A.sort((function(e,t){return e.fontCharCode-t.fontCharCode}));for(var g=[],u=A.length,l=0;l<u;){var h=A[l].fontCharCode,I=[A[l].glyphId];++l;for(var f=h;l<u&&f+1===A[l].fontCharCode&&(I.push(A[l].glyphId),++l,65535!=++f););g.push([h,f,I])}return g}(e,t,r),s=o.at(-1)[1]>65535?2:1,c="\\0\\0"+Nu(s)+"\\0\\0"+ae(4+8*s);for(A=o.length-1;A>=0&&!(o[A][0]<=65535);--A);var g=A+1;o[A][0]<65535&&65535===o[A][1]&&(o[A][1]=65534);var u,l,h,I,f=o[A][1]<65535?1:0,C=g+f,B=Pg.getSearchParams(C,2),Q="",E="",d="",y="",p="",v=0;for(A=0,n=g;A<n;A++){l=(u=o[A])[0],h=u[1],Q+=Nu(l),E+=Nu(h);var m=!0;for(i=1,a=(I=u[2]).length;i<a;++i)if(I[i]!==I[i-1]+1){m=!1;break}if(m)d+=Nu(I[0]-l&65535),y+=Nu(0);else{var w=2*(C-A)+2*v;for(v+=h-l+1,d+=Nu(0),y+=Nu(w),i=0,a=I.length;i<a;++i)p+=Nu(I[i])}}f>0&&(E+="ÿÿ",Q+="ÿÿ",d+="\\0",y+="\\0\\0");var b="\\0\\0"+Nu(2*C)+Nu(B.range)+Nu(B.entry)+Nu(B.rangeShift)+E+"\\0\\0"+Q+d+y+p,k="",D="";if(s>1){for(c+="\\0\\0\\n"+ae(4+8*s+4+b.length),k="",A=0,n=o.length;A<n;A++){l=(u=o[A])[0];var S=(I=u[2])[0];for(i=1,a=I.length;i<a;++i)I[i]!==I[i-1]+1&&(h=u[0]+i-1,k+=ae(l)+ae(h)+ae(S),l=h+1,S=I[i]);k+=ae(l)+ae(u[1])+ae(S)}D="\\0\\f\\0\\0"+ae(k.length+16)+"\\0\\0\\0\\0"+ae(k.length/12)}return c+"\\0"+Nu(b.length+4)+b+D+k}function Tu(e,t,r){r||(r={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0});var A=0,n=0,i=0,a=0,o=null,s=0,c=-1;if(t){for(var g in t)if((o>(g|=0)||!o)&&(o=g),s<g&&(s=g),(c=Bc(g,c))<32)A|=1<<c;else if(c<64)n|=1<<c-32;else if(c<96)i|=1<<c-64;else{if(!(c<123))throw new re("Unicode ranges Bits > 123 are reserved for internal usage");a|=1<<c-96}s>65535&&(s=65535)}else o=0,s=255;var u=e.bbox||[0,0,0,0],l=r.unitsPerEm||(e.fontMatrix?1/Math.max.apply(Math,fu(e.fontMatrix.slice(0,4).map(Math.abs))):1e3),h=e.ascentScaled?1:l/wu,I=r.ascent||Math.round(h*(e.ascent||u[3])),f=r.descent||Math.round(h*(e.descent||u[1]));f>0&&e.descent>0&&u[1]<0&&(f=-f);var C=r.yMax||I,B=-r.yMin||-f;return"\\0$ô\\0\\0\\0Š»\\0\\0\\0ŒŠ»\\0\\0ß\\x001\\0\\0\\0\\0"+String.fromCharCode(e.fixedPitch?9:0)+"\\0\\0\\0\\0\\0\\0"+ae(A)+ae(n)+ae(i)+ae(a)+"*21*"+Nu(e.italicAngle?1:0)+Nu(o||e.firstChar)+Nu(s||e.lastChar)+Nu(I)+Nu(f)+"\\0d"+Nu(C)+Nu(B)+"\\0\\0\\0\\0\\0\\0\\0\\0"+Nu(e.xHeight)+Nu(e.capHeight)+Nu(0)+Nu(o||e.firstChar)+"\\0"}function qu(e){return"\\0\\0\\0"+ae(Math.floor(e.italicAngle*Math.pow(2,16)))+"\\0\\0\\0\\0"+ae(e.fixedPitch?1:0)+"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"}function ju(e){return e.replaceAll(/[^\\x21-\\x7E]|[[\\](){}<>/%]/g,"").slice(0,63)}function Wu(e,t){t||(t=[[],[]]);var r,A,n,i,a,o=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||ju(e),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],s=[];for(r=0,A=o.length;r<A;r++){var c=[];for(n=0,i=(a=t[1][r]||o[r]).length;n<i;n++)c.push(Nu(a.charCodeAt(n)));s.push(c.join(""))}var g=[o,s],u=["\\0","\\0"],l=["\\0\\0","\\0"],h=["\\0\\0","\\t"],I=o.length*u.length,f="\\0\\0"+Nu(I)+Nu(12*I+6),C=0;for(r=0,A=u.length;r<A;r++){var B=g[r];for(n=0,i=B.length;n<i;n++)a=B[n],f+=u[r]+l[r]+h[r]+Nu(n)+Nu(a.length)+Nu(C),C+=a.length}return f+(o.join("")+s.join(""))}var Zu=function(){return Eu((function e(t,r,A){var n;Bu(this,e),this.name=t,this.psName=null,this.mimetype=null,this.disableFontFace=!1,this.loadedName=A.loadedName,this.isType3Font=A.isType3Font,this.missingFile=!1,this.cssFontInfo=A.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);var i=!!(2&A.flags);if(!i&&!A.isSimulatedFlags){var a,o=t.replaceAll(/[,_]/g,"-").split("-",1)[0],s=Sc(),c=yu(o.split("+"));try{for(c.s();!(a=c.n()).done;)if(s[a.value]){i=!0;break}}catch(e){c.e(e)}finally{c.f()}}this.isSerifFont=i,this.isSymbolicFont=!!(4&A.flags),this.isMonospace=!!(1&A.flags);var g=A.type,u=A.subtype;this.type=g,this.subtype=u,this.systemFontInfo=A.systemFontInfo;var l=t.match(/^InvalidPDFjsFont_(.*)_\\d+$/);if(this.isInvalidPDFjsFont=!!l,this.isInvalidPDFjsFont?this.fallbackName=l[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif",null!==(n=this.systemFontInfo)&&void 0!==n&&n.guessFallback&&(this.systemFontInfo.guessFallback=!1,this.systemFontInfo.css+=",".concat(this.fallbackName)),this.differences=A.differences,this.widths=A.widths,this.defaultWidth=A.defaultWidth,this.composite=A.composite,this.cMap=A.cMap,this.capHeight=A.capHeight/wu,this.ascent=A.ascent/wu,this.descent=A.descent/wu,this.lineHeight=this.ascent-this.descent,this.fontMatrix=A.fontMatrix,this.bbox=A.bbox,this.defaultEncoding=A.defaultEncoding,this.toUnicode=A.toUnicode,this.toFontChar=[],"Type3"!==A.type){if(this.cidEncoding=A.cidEncoding||"",this.vertical=!!A.vertical,this.vertical&&(this.vmetrics=A.vmetrics,this.defaultVMetrics=A.defaultVMetrics),!r||r.isEmpty)return r&&q('Font file is empty in "'+t+'" ('+this.loadedName+")"),void this.fallbackToSystemFont(A);var h,I=Cu(function(e,t){var r,A,n=t.type,i=t.subtype,a=t.composite;return function(e){var t=e.peekBytes(4);return 65536===kt(t,0)||"true"===ne(t)}(e)||Uu(e)?r=a?"CIDFontType2":"TrueType":function(e){return"OTTO"===ne(e.peekBytes(4))}(e)?r=a?"CIDFontType2":"OpenType":function(e){var t=e.peekBytes(2);return 37===t[0]&&33===t[1]||128===t[0]&&1===t[1]}(e)?r=a?"CIDFontType0":"MMType1"===n?"MMType1":"Type1":function(e){var t=e.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}(e)?a?(r="CIDFontType0",A="CIDFontType0C"):(r="MMType1"===n?"MMType1":"Type1",A="Type1C"):(q("getFontFileType: Unable to detect correct font file Type/Subtype."),r=n,A=i),[r,A]}(r,A),2);g=I[0],u=I[1],g===this.type&&u===this.subtype||T("Inconsistent font file Type/SubType, expected: "+"".concat(this.type,"/").concat(this.subtype," but found: ").concat(g,"/").concat(u,"."));try{switch(g){case"MMType1":T("MMType1 font ("+t+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var f="Type1C"===u||"CIDFontType0C"===u?new Tc(r,A):new Iu(t,r,A);Du(A),h=this.convert(t,f,A);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",h=this.checkAndRepair(t,r,A),this.isOpenType&&(Du(A),g="OpenType");break;default:throw new re("Font ".concat(g," is not supported"))}}catch(e){return q(e),void this.fallbackToSystemFont(A)}Su(A),this.data=h,this.type=g,this.subtype=u,this.fontMatrix=A.fontMatrix,this.widths=A.widths,this.defaultWidth=A.defaultWidth,this.toUnicode=A.toUnicode,this.seacMap=A.seacMap}else for(var C=0;C<256;C++)this.toFontChar[C]=this.differences[C]||A.defaultEncoding[C]}),[{key:"renderer",get:function(){return _(this,"renderer",Qg.create(this,dc))}},{key:"exportData",value:function(){var e,t,r,A=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?[].concat(bu,ku):bu,n=Object.create(null),i=yu(A);try{for(i.s();!(r=i.n()).done;)void 0!==(t=this[e=r.value])&&(n[e]=t)}catch(e){i.e(e)}finally{i.f()}return n}},{key:"fallbackToSystemFont",value:function(e){var t=this;this.missingFile=!0;var r=this.name,A=this.type,n=mc(r),i=bc(),a=Dc(),o=!!i[n],s=!(!a[n]||!i[a[n]]);n=i[n]||a[n]||n;var c=dg()[n];c&&(isNaN(this.ascent)&&(this.ascent=c.ascent/wu),isNaN(this.descent)&&(this.descent=c.descent/wu),isNaN(this.capHeight)&&(this.capHeight=c.capHeight/wu)),this.bold=/bold/gi.test(n),this.italic=/oblique|italic/gi.test(n),this.black=/Black/g.test(r);var g=/Narrow/g.test(r);if(this.remeasure=(!o||g)&&Object.keys(this.widths).length>0,(o||s)&&"CIDFontType2"===A&&this.cidEncoding.startsWith("Identity-")){var u=e.cidToGidMap,l=[];if(Mu(l,xc()),/Arial-?Black/i.test(r)?Mu(l,Rc()):/Calibri/i.test(r)&&Mu(l,Gc()),u){for(var h in l){var I=l[h];void 0!==u[I]&&(l[+h]=u[I])}u.length!==this.toUnicode.length&&e.hasIncludedToUnicodeMap&&this.toUnicode instanceof Pc&&this.toUnicode.forEach((function(e,t){var r=l[e];void 0===u[r]&&(l[+e]=t)}))}this.toUnicode instanceof Pc||this.toUnicode.forEach((function(e,t){l[+e]=t})),this.toFontChar=l,this.toUnicode=new Yc(l)}else if(/Symbol/i.test(n))this.toFontChar=Ju(Fs,lc(),this.differences);else if(/Dingbats/i.test(n))this.toFontChar=Ju(xs,hc(),this.differences);else if(o||s){var f=Ju(this.defaultEncoding,lc(),this.differences);"CIDFontType2"!==A||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof Pc||this.toUnicode.forEach((function(e,t){f[+e]=t})),this.toFontChar=f}else{var C=lc(),B=[];this.toUnicode.forEach((function(e,r){if(!t.composite){var A=fc(t.differences[e]||t.defaultEncoding[e],C);-1!==A&&(r=A)}B[+e]=r})),this.composite&&this.toUnicode instanceof Pc&&/Tahoma|Verdana/i.test(r)&&Mu(B,xc()),this.toFontChar=B}Su(e),this.loadedName=n.split("-",1)[0]}},{key:"checkAndRepair",value:function(e,t,r){var A,n,i=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function a(e,t){var r=Object.create(null);r["OS/2"]=null,r.cmap=null,r.head=null,r.hhea=null,r.hmtx=null,r.maxp=null,r.name=null,r.post=null;for(var A=0;A<t;A++){var n=o(e);i.includes(n.tag)&&0!==n.length&&(r[n.tag]=n)}return r}function o(e){var t=e.getString(4),r=e.getInt32()>>>0,A=e.getInt32()>>>0,n=e.getInt32()>>>0,i=e.pos;e.pos=e.start||0,e.skip(A);var a=e.getBytes(n);return e.pos=i,"head"===t&&(a[8]=a[9]=a[10]=a[11]=0,a[17]|=32),{tag:t,checksum:r,length:n,offset:A,data:a}}function s(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function c(e,t,r,A,n,i){var a={length:0,sizeOfInstructions:0};if(t<0||t>=e.length||r>e.length||r-t<=12)return a;var o=e.subarray(t,r),s=Gu(o[2],o[3]),c=Gu(o[4],o[5]),g=Gu(o[6],o[7]),u=Gu(o[8],o[9]);s>g&&(Ru(o,2,g),Ru(o,6,s)),c>u&&(Ru(o,4,u),Ru(o,8,c));var l=Gu(o[0],o[1]);if(l<0)return l<-1||(A.set(o,n),a.length=o.length),a;var h,I=10,f=0;for(h=0;h<l;h++)f=1+(o[I]<<8|o[I+1]),I+=2;var C=I,B=o[I]<<8|o[I+1];a.sizeOfInstructions=B;var Q=I+=2+B,E=0;for(h=0;h<f;h++){var d=o[I++];192&d&&(o[I-1]=63&d);var y=2;2&d?y=1:16&d&&(y=0);var p=2;4&d?p=1:32&d&&(p=0);var v=y+p;if(E+=v,8&d){var m=o[I++];0===m&&(o[I-1]^=8),h+=m,E+=m*v}}if(0===E)return a;var w=I+E;return w>o.length?a:!i&&B>0?(A.set(o.subarray(0,C),n),A.set([0,0],n+C),A.set(o.subarray(Q,w),n+C+2),w-=B,o.length-w>3&&(w=w+3&-4),a.length=w,a):o.length-w>3?(w=w+3&-4,A.set(o.subarray(0,w),n),a.length=w,a):(A.set(o,n),a.length=o.length,a)}function g(e){var r=(t.start||0)+e.offset;t.pos=r;var A=[[],[]],n=[],i=e.length,a=r+i;if(0!==t.getUint16()||i<6)return[A,n];var o,s,c=t.getUint16(),g=t.getUint16();for(o=0;o<c&&t.pos+12<=a;o++){var u={platform:t.getUint16(),encoding:t.getUint16(),language:t.getUint16(),name:t.getUint16(),length:t.getUint16(),offset:t.getUint16()};(Hu(u)||Yu(u))&&n.push(u)}for(o=0,s=n.length;o<s;o++){var l=n[o];if(!(l.length<=0)){var h=r+g+l.offset;if(!(h+l.length>a)){t.pos=h;var I=l.name;if(l.encoding){for(var f="",C=0,B=l.length;C<B;C+=2)f+=String.fromCharCode(t.getUint16());A[1][I]=f}else A[0][I]=t.getString(l.length)}}}return[A,n]}var u,l,h,I,f=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function C(e,t){for(var r,A,n,i,a,o=e.data,s=0,c=0,g=0,u=[],l=[],h=[],I=t.tooComplexToFollowFunctions,C=!1,B=0,Q=0,E=o.length;s<E;){var d=o[s++];if(64===d)if(A=o[s++],C||Q)s+=A;else for(r=0;r<A;r++)u.push(o[s++]);else if(65===d)if(A=o[s++],C||Q)s+=2*A;else for(r=0;r<A;r++)n=o[s++],u.push(n<<8|o[s++]);else if(176==(248&d))if(A=d-176+1,C||Q)s+=A;else for(r=0;r<A;r++)u.push(o[s++]);else if(184==(248&d))if(A=d-184+1,C||Q)s+=2*A;else for(r=0;r<A;r++)n=o[s++],u.push(Gu(n,o[s++]));else if(43!==d||I)if(44!==d||I){if(45===d)if(C)C=!1,c=s;else{if(!(a=l.pop()))return q("TT: ENDF bad stack"),void(t.hintsValid=!1);i=h.pop(),o=a.data,s=a.i,t.functionsStackDeltas[i]=u.length-a.stackTop}else if(137===d)(C||Q)&&(q("TT: nested IDEFs not allowed"),I=!0),C=!0,g=s;else if(88===d)++B;else if(27===d)Q=B;else if(89===d)Q===B&&(Q=0),--B;else if(28===d&&!C&&!Q){var y=u.at(-1);y>0&&(s+=y-1)}}else(C||Q)&&(q("TT: nested FDEFs not allowed"),I=!0),C=!0,g=s,i=u.pop(),t.functionsDefined[i]={data:o,i:s};else if(!C&&!Q)if(i=u.at(-1),isNaN(i))T("TT: CALL empty stack (or invalid entry).");else if(t.functionsUsed[i]=!0,i in t.functionsStackDeltas){var p=u.length+t.functionsStackDeltas[i];if(p<0)return q("TT: CALL invalid functions stack delta."),void(t.hintsValid=!1);u.length=p}else if(i in t.functionsDefined&&!h.includes(i)){if(l.push({data:o,i:s,stackTop:u.length-1}),h.push(i),!(a=t.functionsDefined[i]))return q("TT: CALL non-existent function"),void(t.hintsValid=!1);o=a.data,s=a.i}if(!C&&!Q){var v=0;for(d<=142?v=f[d]:d>=192&&d<=223?v=-1:d>=224&&(v=-2),d>=113&&d<=117&&(A=u.pop(),isNaN(A)||(v=2*-A));v<0&&u.length>0;)u.pop(),v++;for(;v>0;)u.push(NaN),v--}}t.tooComplexToFollowFunctions=I;var m=[o];s>o.length&&m.push(new Uint8Array(s-o.length)),g>c&&(q("TT: complementing a missing function tail"),m.push(new Uint8Array([34,45]))),function(e,t){if(t.length>1){var r,A,n=0;for(r=0,A=t.length;r<A;r++)n+=t[r].length;n=n+3&-4;var i=new Uint8Array(n),a=0;for(r=0,A=t.length;r<A;r++)i.set(t[r],a),a+=t[r].length;e.data=i,e.length=n}}(e,m)}if(Uu(t=new ar(new Uint8Array(t.getBytes())))){var B=function(e,t){for(var r,A=function(e){var t=e.getString(4);W("ttcf"===t,"Must be a TrueType Collection font.");for(var r=e.getUint16(),A=e.getUint16(),n=e.getInt32()>>>0,i=[],a=0;a<n;a++)i.push(e.getInt32()>>>0);var o={ttcTag:t,majorVersion:r,minorVersion:A,numFonts:n,offsetTable:i};switch(r){case 1:return o;case 2:return o.dsigTag=e.getInt32()>>>0,o.dsigLength=e.getInt32()>>>0,o.dsigOffset=e.getInt32()>>>0,o}throw new re("Invalid TrueType Collection majorVersion: ".concat(r,"."))}(e),n=A.numFonts,i=A.offsetTable,o=t.split("+"),c=0;c<n;c++){e.pos=(e.start||0)+i[c];var u=s(e),l=a(e,u.numTables);if(!l.name)throw new re('TrueType Collection font must contain a "name" table.');for(var h=Cu(g(l.name),1)[0],I=0,f=h.length;I<f;I++)for(var C=0,B=h[I].length;C<B;C++){var Q,E=null===(Q=h[I][C])||void 0===Q?void 0:Q.replaceAll(/\\s/g,"");if(E){if(E===t)return{header:u,tables:l};if(!(o.length<2)){var d,y=yu(o);try{for(y.s();!(d=y.n()).done;){var p=d.value;E===p&&(r={name:p,header:u,tables:l})}}catch(e){y.e(e)}finally{y.f()}}}}}if(r)return q('TrueType Collection does not contain "'.concat(t,'" font, ')+'falling back to "'.concat(r.name,'" font instead.')),{header:r.header,tables:r.tables};throw new re('TrueType Collection does not contain "'.concat(t,'" font.'))}(t,this.name);u=B.header,l=B.tables}else u=s(t),l=a(t,u.numTables);var Q=!l["CFF "];if(Q){if(!l.loca)throw new re('Required "loca" table is not found');l.glyf||(q('Required "glyf" table is not found -- trying to recover.'),l.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{var E,d=r.composite&&((null===(E=r.cidToGidMap)||void 0===E?void 0:E.length)>0||!(r.cMap instanceof ns));if("OTTO"===u.version&&!d||!l.head||!l.hhea||!l.maxp||!l.post)return I=new ar(l["CFF "].data),h=new Tc(I,r),Du(r),this.convert(e,h,r);delete l.glyf,delete l.loca,delete l.fpgm,delete l.prep,delete l["cvt "],this.isOpenType=!0}if(!l.maxp)throw new re('Required "maxp" table is not found');t.pos=(t.start||0)+l.maxp.offset;var y,p,v=t.getInt32(),m=t.getUint16();if(65536!==v&&20480!==v){if(6===l.maxp.length)v=20480;else{if(!(l.maxp.length>=32))throw new re('"maxp" table has a wrong version number');v=65536}p=v,(y=l.maxp.data)[3+0]=255&p,y[2]=p>>>8,y[1]=p>>>16,y[0]=p>>>24}if((null===(A=r.scaleFactors)||void 0===A?void 0:A.length)===m&&Q){var w=r.scaleFactors,b=xu(l.head.data[50],l.head.data[51]),k=new Sg({glyfTable:l.glyf.data,isGlyphLocationsLong:b,locaTable:l.loca.data,numGlyphs:m});k.scale(w);var D=k.write(),S=D.glyf,F=D.loca,x=D.isLocationLong;l.glyf.data=S,l.loca.data=F,x!==!!b&&(l.head.data[50]=0,l.head.data[51]=x?1:0);for(var R=l.hmtx.data,G=0;G<m;G++){var N=4*G,L=Math.round(w[G]*xu(R[N],R[N+1]));R[N]=L>>8&255,R[N+1]=255&L,Ru(R,N+2,Math.round(w[G]*Gu(R[N+2],R[N+3])))}}var U=m+1,M=!0;U>65535&&(M=!1,U=m,q("Not enough space in glyfs to duplicate first glyph."));var J=0,H=0;v>=65536&&l.maxp.length>=32&&(t.pos+=8,t.getUint16()>2&&(l.maxp.data[14]=0,l.maxp.data[15]=2),t.pos+=4,J=t.getUint16(),t.pos+=4,H=t.getUint16()),l.maxp.data[4]=U>>8,l.maxp.data[5]=255&U;var Y=function(e,t,r,A){var n={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(e&&C(e,n),t&&C(t,n),e&&function(e,t){if(!e.tooComplexToFollowFunctions){if(e.functionsDefined.length>t)return q("TT: more functions defined than expected"),void(e.hintsValid=!1);for(var r=0,A=e.functionsUsed.length;r<A;r++){if(r>t)return q("TT: invalid function id: "+r),void(e.hintsValid=!1);if(e.functionsUsed[r]&&!e.functionsDefined[r])return q("TT: undefined function: "+r),void(e.hintsValid=!1)}}}(n,A),r&&1&r.length){var i=new Uint8Array(r.length+1);i.set(r.data),r.data=i}return n.hintsValid}(l.fpgm,l.prep,l["cvt "],J);if(Y||(delete l.fpgm,delete l.prep,delete l["cvt "]),function(e,t,r,A,n,i){if(t){e.pos=(e.start||0)+t.offset,e.pos+=4,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2;var a=e.getUint16();e.pos+=8,e.pos+=2;var o=e.getUint16();0!==a&&(2&xu(A.data[44],A.data[45])||(t.data[22]=0,t.data[23]=0)),o>n&&(T("The numOfMetrics (".concat(o,") should not be ")+"greater than the numGlyphs (".concat(n,").")),o=n,t.data[34]=(65280&o)>>8,t.data[35]=255&o);var s=n-o-(r.length-4*o>>1);if(s>0){var c=new Uint8Array(r.length+2*s);c.set(r.data),i&&(c[r.length]=r.data[2],c[r.length+1]=r.data[3]),r.data=c}}else r&&(r.data=null)}(t,l.hhea,l.hmtx,l.head,U,M),!l.head)throw new re('Required "head" table is not found');!function(e,t,r){var A=e.data,n=(A[0]<<24)+(A[1]<<16)+(A[2]<<8)+A[3];n>>16!=1&&(T("Attempting to fix invalid version in head table: "+n),A[0]=0,A[1]=1,A[2]=0,A[3]=0);var i=xu(A[50],A[51]);if(i<0||i>1){T("Attempting to fix invalid indexToLocFormat in head table: "+i);var a=t+1;if(r===a<<1)A[50]=0,A[51]=0;else{if(r!==a<<2)throw new re("Could not fix indexToLocFormat: "+i);A[50]=0,A[51]=1}}}(l.head,m,Q?l.loca.length:0);var P=Object.create(null);if(Q){var O=xu(l.head.data[50],l.head.data[51]),K=function(e,t,r,A,n,i,a){var o,s,g;A?(o=4,s=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},g=function(e,t,r){e[t]=r>>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}):(o=2,s=function(e,t){return e[t]<<9|e[t+1]<<1},g=function(e,t,r){e[t]=r>>9&255,e[t+1]=r>>1&255});var u=i?r+1:r,l=o*(1+u),h=new Uint8Array(l);h.set(e.data.subarray(0,l)),e.data=h;var I,f,C=t.data,B=C.length,Q=new Uint8Array(B),E=[];for(I=0,f=0;I<r+1;I++,f+=o){var d=s(h,f);d>B&&(d=B),E.push({index:I,offset:d,endOffset:0})}for(E.sort((function(e,t){return e.offset-t.offset})),I=0;I<r;I++)E[I].endOffset=E[I+1].offset;for(E.sort((function(e,t){return e.index-t.index})),I=0;I<r;I++){var y=E[I],p=y.offset,v=y.endOffset;if(0!==p||0!==v)break;var m=E[I+1].offset;if(0!==m){E[I].endOffset=m;break}}var w=E.at(-2);0!==w.offset&&0===w.endOffset&&(w.endOffset=B);var b=Object.create(null),k=0;for(g(h,0,k),I=0,f=o;I<r;I++,f+=o){var D=c(C,E[I].offset,E[I].endOffset,Q,k,n),S=D.length;0===S&&(b[I]=!0),D.sizeOfInstructions>a&&(a=D.sizeOfInstructions),g(h,f,k+=S)}if(0===k){var F=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(I=0,f=o;I<u;I++,f+=o)g(h,f,F.length);t.data=F}else if(i){var x=s(h,o);Q.length>x+k?t.data=Q.subarray(0,x+k):(t.data=new Uint8Array(x+k),t.data.set(Q.subarray(0,k))),t.data.set(Q.subarray(0,x),k),g(e.data,h.length-o,k+x)}else t.data=Q.subarray(0,k);return{missingGlyphs:b,maxSizeOfInstructions:a}}(l.loca,l.glyf,m,O,Y,M,H);P=K.missingGlyphs,v>=65536&&l.maxp.length>=32&&(l.maxp.data[26]=K.maxSizeOfInstructions>>8,l.maxp.data[27]=255&K.maxSizeOfInstructions)}if(!l.hhea)throw new re('Required "hhea" table is not found');0===l.hhea.data[10]&&0===l.hhea.data[11]&&(l.hhea.data[10]=255,l.hhea.data[11]=255);var j={unitsPerEm:xu(l.head.data[18],l.head.data[19]),yMax:Gu(l.head.data[42],l.head.data[43]),yMin:Gu(l.head.data[38],l.head.data[39]),ascent:Gu(l.hhea.data[4],l.hhea.data[5]),descent:Gu(l.hhea.data[6],l.hhea.data[7]),lineGap:Gu(l.hhea.data[8],l.hhea.data[9])};this.ascent=j.ascent/j.unitsPerEm,this.descent=j.descent/j.unitsPerEm,this.lineGap=j.lineGap/j.unitsPerEm,null!==(n=this.cssFontInfo)&&void 0!==n&&n.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,l.post&&function(e,r,A){var n=(t.start||0)+e.offset;t.pos=n;var i,a=n+e.length,o=t.getInt32();t.skip(28);var s,c=!0;switch(o){case 65536:i=yc;break;case 131072:var g=t.getUint16();if(g!==A){c=!1;break}var u=[];for(s=0;s<g;++s){var l=t.getUint16();if(l>=32768){c=!1;break}u.push(l)}if(!c)break;for(var h=[],I=[];t.pos<a;){var f=t.getByte();for(I.length=f,s=0;s<f;++s)I[s]=String.fromCharCode(t.getByte());h.push(I.join(""))}for(i=[],s=0;s<g;++s){var C=u[s];C<258?i.push(yc[C]):i.push(h[C-258])}break;case 196608:break;default:q("Unknown/unsupported post table version "+o),c=!1,r.defaultEncoding&&(i=r.defaultEncoding)}r.glyphNames=i}(l.post,r,m),l.post={tag:"post",data:qu(r)};var Z=Object.create(null);function _(e){return!P[e]}if(r.composite){var X=r.cidToGidMap||[],V=0===X.length;r.cMap.forEach((function(e,t){if("string"==typeof t&&(t=Pu(e,t,!0)),t>65535)throw new re("Max size of CID is 65,535");var r=-1;V?r=t:void 0!==X[t]&&(r=X[t]),r>=0&&r<m&&_(r)&&(Z[e]=r)}))}else{var z=function(e,t,r,A){if(!e)return q("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var n,i=(t.start||0)+e.offset;t.pos=i,t.skip(2);for(var a,o=t.getUint16(),s=!1,c=0;c<o;c++){var g,u,l=t.getUint16(),h=t.getUint16(),I=t.getInt32()>>>0,f=!1;if((null===(g=a)||void 0===g?void 0:g.platformId)!==l||(null===(u=a)||void 0===u?void 0:u.encodingId)!==h){if(0!==l||0!==h&&1!==h&&3!==h)if(1===l&&0===h)f=!0;else if(3!==l||1!==h||!A&&a){if(r&&3===l&&0===h){f=!0;var C=!0;if(c<o-1){var B=t.peekBytes(2);xu(B[0],B[1])<l&&(C=!1)}C&&(s=!0)}}else f=!0,r||(s=!0);else f=!0;if(f&&(a={platformId:l,encodingId:h,offset:I}),s)break}}if(a&&(t.pos=i+a.offset),!a||-1===t.peekByte())return q("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var Q,E,d=t.getUint16(),y=!1,p=[];if(0===d){for(t.skip(4),Q=0;Q<256;Q++){var v=t.getByte();v&&p.push({charCode:Q,glyphId:v})}y=!0}else if(2===d){t.skip(4);for(var m=[],w=0,b=0;b<256;b++){var k=t.getUint16()>>3;m.push(k),w=Math.max(k,w)}for(var D=[],S=0;S<=w;S++)D.push({firstCode:t.getUint16(),entryCount:t.getUint16(),idDelta:Gu(t.getByte(),t.getByte()),idRangePos:t.pos+t.getUint16()});for(var F=0;F<256;F++)if(0===m[F])t.pos=D[0].idRangePos+2*F,E=t.getUint16(),p.push({charCode:F,glyphId:E});else{var x=D[m[F]];for(Q=0;Q<x.entryCount;Q++){var R=(F<<8)+Q+x.firstCode;t.pos=x.idRangePos+2*Q,0!==(E=t.getUint16())&&(E=(E+x.idDelta)%65536),p.push({charCode:R,glyphId:E})}}}else if(4===d){t.skip(4);var G=t.getUint16()>>1;t.skip(6);var N,L=[];for(N=0;N<G;N++)L.push({end:t.getUint16()});for(t.skip(2),N=0;N<G;N++)L[N].start=t.getUint16();for(N=0;N<G;N++)L[N].delta=t.getUint16();var U,M=0;for(N=0;N<G;N++){n=L[N];var J=t.getUint16();J?(U=(J>>1)-(G-N),n.offsetIndex=U,M=Math.max(M,U+n.end-n.start+1)):n.offsetIndex=-1}var H=[];for(Q=0;Q<M;Q++)H.push(t.getUint16());for(N=0;N<G;N++){i=(n=L[N]).start;var Y=n.end,P=n.delta;for(U=n.offsetIndex,Q=i;Q<=Y;Q++)65535!==Q&&(E=(E=U<0?Q:H[U+Q-i])+P&65535,p.push({charCode:Q,glyphId:E}))}}else if(6===d){t.skip(4);var O=t.getUint16(),K=t.getUint16();for(Q=0;Q<K;Q++){E=t.getUint16();var T=O+Q;p.push({charCode:T,glyphId:E})}}else{if(12!==d)return q("cmap table has unsupported format: "+d),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};t.skip(10);var j=t.getInt32()>>>0;for(Q=0;Q<j;Q++)for(var W=t.getInt32()>>>0,Z=t.getInt32()>>>0,_=t.getInt32()>>>0,X=W;X<=Z;X++)p.push({charCode:X,glyphId:_++})}p.sort((function(e,t){return e.charCode-t.charCode}));for(var V=1;V<p.length;V++)p[V-1].charCode===p[V].charCode&&(p.splice(V,1),V--);return{platformId:a.platformId,encodingId:a.encodingId,mappings:p,hasShortCmap:y}}(l.cmap,t,this.isSymbolicFont,r.hasEncoding),$=z.platformId,ee=z.encodingId,te=z.mappings,Ae=[],ne=!1;if(!r.hasEncoding||"MacRomanEncoding"!==r.baseEncodingName&&"WinAnsiEncoding"!==r.baseEncodingName||(Ae=Rs(r.baseEncodingName)),r.hasEncoding&&!this.isSymbolicFont&&(3===$&&1===ee||1===$&&0===ee))for(var ie=lc(),ae=0;ae<256;ae++){var oe;if(oe=void 0!==this.differences[ae]?this.differences[ae]:Ae.length&&""!==Ae[ae]?Ae[ae]:Ds[ae]){var se=pc(oe,ie),ce=void 0;if(3===$&&1===ee?ce=ie[se]:1===$&&0===ee&&(ce=ks.indexOf(se)),void 0===ce){if(!r.glyphNames&&r.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof Pc)){var ge=this.toUnicode.get(ae);ge&&(ce=ge.codePointAt(0))}if(void 0===ce)continue}var ue,le=yu(te);try{for(le.s();!(ue=le.n()).done;){var he=ue.value;if(he.charCode===ce){Z[ae]=he.glyphId;break}}}catch(e){le.e(e)}finally{le.f()}}}else if(0===$){var Ie,fe=yu(te);try{for(fe.s();!(Ie=fe.n()).done;){var Ce=Ie.value;Z[Ce.charCode]=Ce.glyphId}}catch(e){fe.e(e)}finally{fe.f()}ne=!0}else if(3===$&&0===ee){var Be,Qe=yu(te);try{for(Qe.s();!(Be=Qe.n()).done;){var Ee=Be.value,de=Ee.charCode;de>=61440&&de<=61695&&(de&=255),Z[de]=Ee.glyphId}}catch(e){Qe.e(e)}finally{Qe.f()}}else{var ye,pe=yu(te);try{for(pe.s();!(ye=pe.n()).done;){var ve=ye.value;Z[ve.charCode]=ve.glyphId}}catch(e){pe.e(e)}finally{pe.f()}}if(r.glyphNames&&(Ae.length||this.differences.length))for(var me=0;me<256;++me)if(ne||void 0===Z[me]){var we=this.differences[me]||Ae[me];if(we){var be=r.glyphNames.indexOf(we);be>0&&_(be)&&(Z[me]=be)}}}0===Z.length&&(Z[0]=0);var ke=U-1;if(M||(ke=0),!r.cssFontInfo){var De=Ou(Z,_,ke,this.toUnicode);this.toFontChar=De.toFontChar,l.cmap={tag:"cmap",data:Ku(De.charCodeToGlyphId,De.toUnicodeExtraMap,U)},l["OS/2"]&&function(e,t){t.pos=(t.start||0)+e.offset;var r=t.getUint16();t.skip(60);var A=t.getUint16();return!(r<4&&768&A||t.getUint16()>t.getUint16()||(t.skip(6),0===t.getUint16()||(e.data[8]=e.data[9]=0,0)))}(l["OS/2"],t)||(l["OS/2"]={tag:"OS/2",data:Tu(r,De.charCodeToGlyphId,j)})}if(!Q)try{I=new ar(l["CFF "].data),(h=new Xs(I,r,dc).parse()).duplicateFirstGlyph();var Se=new uc(h);l["CFF "].data=Se.compile()}catch(e){q("Failed to compile font "+r.loadedName)}if(l.name){var Fe=Cu(g(l.name),2),xe=Fe[0],Re=Fe[1];l.name.data=Wu(e,xe),this.psName=xe[0][6]||null,r.composite||function(e,t,r){if(!e.isInternalFont&&!e.hasIncludedToUnicodeMap&&!e.hasEncoding&&!(e.toUnicode instanceof Pc)&&t&&0!==r.length&&e.defaultEncoding!==Ss){var A,n=yu(r);try{for(n.s();!(A=n.n()).done;)if(!Yu(A.value))return}catch(e){n.e(e)}finally{n.f()}var i=Ss,a=[],o=lc();for(var s in i){var c=i[s];if(""!==c){var g=o[c];void 0!==g&&(a[s]=String.fromCharCode(g))}}a.length>0&&e.toUnicode.amend(a)}}(r,this.isSymbolicFont,Re)}else l.name={tag:"name",data:Wu(this.name)};var Ge=new Pg(u.version);for(var Ne in l)Ge.addTable(Ne,l[Ne].data);return Ge.toArray()}},{key:"convert",value:function(e,t,r){r.fixedPitch=!1,r.builtInEncoding&&function(e,t){if(!e.isInternalFont&&!(e.hasIncludedToUnicodeMap||t===e.defaultEncoding||e.toUnicode instanceof Pc)){var r=[],A=lc();for(var n in t)if(!e.hasEncoding||!e.baseEncodingName&&void 0===e.differences[n]){var i=fc(t[n],A);-1!==i&&(r[n]=String.fromCharCode(i))}r.length>0&&e.toUnicode.amend(r)}}(r,r.builtInEncoding);var A=1;t instanceof Tc&&(A=t.numGlyphs-1);var n=t.getGlyphMapping(r),i=null,a=n,o=null;r.cssFontInfo||(i=Ou(n,t.hasGlyphId.bind(t),A,this.toUnicode),this.toFontChar=i.toFontChar,a=i.charCodeToGlyphId,o=i.toUnicodeExtraMap);var s=t.numGlyphs;function c(e,t){var r=null;for(var A in e)t===e[A]&&(r||(r=[])).push(0|A);return r}function g(e,t){for(var r in e)if(t===e[r])return 0|r;return i.charCodeToGlyphId[i.nextAvailableFontCharCode]=t,i.nextAvailableFontCharCode++}var u=t.seacs;if(i&&null!=u&&u.length){var l=r.fontMatrix||B,h=t.getCharset(),I=Object.create(null);for(var f in u){var C=u[f|=0],Q=Ds[C[2]],E=Ds[C[3]],d=h.indexOf(Q),y=h.indexOf(E);if(!(d<0||y<0)){var p={x:C[0]*l[0]+C[1]*l[2]+l[4],y:C[0]*l[1]+C[1]*l[3]+l[5]},v=c(n,f);if(v){var m,w=yu(v);try{for(w.s();!(m=w.n()).done;){var b=m.value,k=i.charCodeToGlyphId,D=g(k,d),S=g(k,y);I[b]={baseFontCharCode:D,accentFontCharCode:S,accentOffset:p}}}catch(e){w.e(e)}finally{w.f()}}}}r.seacMap=I}var F=r.fontMatrix?1/Math.max.apply(Math,fu(r.fontMatrix.slice(0,4).map(Math.abs))):1e3,x=new Pg("OTTO");return x.addTable("CFF ",t.data),x.addTable("OS/2",Tu(r,a)),x.addTable("cmap",Ku(a,o,s)),x.addTable("head","\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0_<õ\\0\\0"+Lu(F)+"\\0\\0\\0\\0ž\\v~'\\0\\0\\0\\0ž\\v~'\\0\\0"+Lu(r.descent)+"ÿ"+Lu(r.ascent)+Nu(r.italicAngle?2:0)+"\\0\\0\\0\\0\\0\\0\\0"),x.addTable("hhea","\\0\\0\\0"+Lu(r.ascent)+Lu(r.descent)+"\\0\\0ÿÿ\\0\\0\\0\\0\\0\\0"+Lu(r.capHeight)+Lu(Math.tan(r.italicAngle)*r.xHeight)+"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"+Nu(s)),x.addTable("hmtx",function(){for(var e=t.charstrings,r=t.cff?t.cff.widths:null,A="\\0\\0\\0\\0",n=1,i=s;n<i;n++){var a=0;if(e){var o=e[n-1];a="width"in o?o.width:0}else r&&(a=Math.ceil(r[n]||0));A+=Nu(a)+Nu(0)}return A}()),x.addTable("maxp","\\0\\0P\\0"+Nu(s)),x.addTable("name",Wu(e)),x.addTable("post",qu(r)),x.toArray()}},{key:"_spaceWidth",get:function(){for(var e,t=0,r=["space","minus","one","i","I"];t<r.length;t++){var A=r[t];if(A in this.widths){e=this.widths[A];break}var n=lc()[A],i=0;if(this.composite&&this.cMap.contains(n)&&"string"==typeof(i=this.cMap.lookup(n))&&(i=Pu(n,i)),!i&&this.toUnicode&&(i=this.toUnicode.charCodeOf(n)),i<=0&&(i=n),e=this.widths[i])break}return _(this,"_spaceWidth",e||this.defaultWidth)}},{key:"_charToGlyph",value:function(e){var t,r,A,n,i,a,o,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this._glyphCache[e];if((null===(t=c)||void 0===t?void 0:t.isSpace)===s)return c;var g=e;null!==(r=this.cMap)&&void 0!==r&&r.contains(e)&&"string"==typeof(g=this.cMap.lookup(e))&&(g=Pu(e,g)),"number"!=typeof(a=this.widths[g])&&(a=this.defaultWidth);var u=null===(A=this.vmetrics)||void 0===A?void 0:A[g],l=this.toUnicode.get(e)||e;"number"==typeof l&&(l=String.fromCharCode(l));var h,I=void 0!==this.toFontChar[e];if(i=this.toFontChar[e]||e,this.missingFile){var f=this.differences[e]||this.defaultEncoding[e];".notdef"!==f&&""!==f||"Type1"!==this.type||(i=32,""===f&&(a||(a=this._spaceWidth),l=String.fromCharCode(i))),i=(h=i)>=65520&&h<=65535?0:h>=62976&&h<=63743?Ic()[h]||h:173===h?45:h}this.isType3Font&&(o=i);var C=null;if(null!==(n=this.seacMap)&&void 0!==n&&n[e]){I=!0;var B=this.seacMap[e];i=B.baseFontCharCode,C={fontChar:String.fromCodePoint(B.accentFontCharCode),offset:B.accentOffset}}var Q="";if("number"==typeof i&&(i<=1114111?Q=String.fromCodePoint(i):q("charToGlyph - invalid fontCharCode: ".concat(i))),this.missingFile&&this.vertical&&1===Q.length){var E=wc()[Q.charCodeAt(0)];E&&(Q=l=String.fromCharCode(E))}return c=new Fu(e,Q,l,C,a,u,o,s,I),this._glyphCache[e]=c}},{key:"charsToGlyphs",value:function(e){var t=this._charsCache[e];if(t)return t;if(t=[],this.cMap)for(var r=Object.create(null),A=e.length,n=0;n<A;){this.cMap.readCharCode(e,n,r);var i=r.charcode,a=r.length;n+=a;var o=this._charToGlyph(i,1===a&&32===e.charCodeAt(n-1));t.push(o)}else for(var s=0,c=e.length;s<c;++s){var g=e.charCodeAt(s),u=this._charToGlyph(g,32===g);t.push(u)}return this._charsCache[e]=t}},{key:"getCharPositions",value:function(e){var t=[];if(this.cMap)for(var r=Object.create(null),A=0;A<e.length;){this.cMap.readCharCode(e,A,r);var n=r.length;t.push([A,A+n]),A+=n}else for(var i=0,a=e.length;i<a;++i)t.push([i,i+1]);return t}},{key:"glyphCacheValues",get:function(){return Object.values(this._glyphCache)}},{key:"encodeString",value:function(e){for(var t=this,r=[],A=[],n=function(){return r.length%2==1},i=this.toUnicode instanceof Pc?function(e){return t.toUnicode.charCodeOf(e)}:function(e){return t.toUnicode.charCodeOf(String.fromCodePoint(e))},a=0,o=e.length;a<o;a++){var s=e.codePointAt(a);if(s>55295&&(s<57344||s>65533)&&a++,this.toUnicode){var c=i(s);if(-1!==c){n()&&(r.push(A.join("")),A.length=0);for(var g=(this.cMap?this.cMap.getCharCodeLength(c):1)-1;g>=0;g--)A.push(String.fromCharCode(c>>8*g&255));continue}}n()||(r.push(A.join("")),A.length=0),A.push(String.fromCodePoint(s))}return r.push(A.join("")),r}}])}(),_u=function(){return Eu((function e(t){Bu(this,e),this.error=t,this.loadedName="g_font_error",this.missingFile=!0}),[{key:"charsToGlyphs",value:function(){return[]}},{key:"encodeString",value:function(e){return[e]}},{key:"exportData",value:function(){return{error:this.error}}}])}();function Xu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function zu(e,t,r){return t=tl(t),$u(e,el()?Reflect.construct(t,r||[],tl(e).constructor):t.apply(e,r))}function $u(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function el(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(el=function(){return!!e})()}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tl(e)}function rl(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Al(e,t)}function Al(e,t){return Al=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Al(e,t)}function nl(e,t,r){return(t=sl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function al(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,sl(A.key),A)}}function ol(e,t,r){return t&&al(e.prototype,t),r&&al(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sl(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var cl=function(){return ol((function e(){il(this,e),j("Cannot initialize Pattern.")}),null,[{key:"parseShading",value:function(e,t,r,A,n){var i=e instanceof ze?e.dict:e,a=i.get("ShadingType");try{switch(a){case 2:case 3:return new ul(i,t,r,A,n);case 4:case 5:case 6:case 7:return new fl(e,t,r,A,n);default:throw new re("Unsupported ShadingType: "+a)}}catch(e){if(e instanceof Ct)throw e;return q(e),new Cl}}}])}(),gl=function(){return ol((function e(){il(this,e)}),[{key:"getIR",value:function(){j("Abstract method \`getIR\` called.")}}])}();nl(gl,"SMALL_NUMBER",1e-6);var ul=function(e){function t(e,r,A,n,i){var a;il(this,t),(a=zu(this,t)).shadingType=e.get("ShadingType");var o=0;if(2===a.shadingType?o=4:3===a.shadingType&&(o=6),a.coordsArr=e.getArray("Coords"),!St(a.coordsArr,o))throw new re("RadialAxialShading: Invalid /Coords array.");var s=Ur.parse({cs:e.getRaw("CS")||e.getRaw("ColorSpace"),xref:r,resources:A,pdfFunctionFactory:n,localColorSpaceCache:i});a.bbox=Rt(e.getArray("BBox"),null);var c=0,g=1,u=e.getArray("Domain");if(St(u,2)){var l=Xu(u,2);c=l[0],g=l[1]}var h,I=!1,f=!1,C=e.getArray("Extend");if(h=C,2,Array.isArray(h)&&2===h.length&&h.every((function(e){return"boolean"==typeof e}))){var B=Xu(C,2);I=B[0],f=B[1]}if(!(3!==a.shadingType||I&&f)){var Q=Xu(a.coordsArr,6),E=Q[0],d=Q[1],y=Q[2],p=Q[3],v=Q[4],m=Q[5],w=Math.hypot(E-p,d-v);y<=m+w&&m<=y+w&&q("Unsupported radial gradient.")}a.extendStart=I,a.extendEnd=f;var b=e.getRaw("Function"),k=n.createFromArray(b),D=(g-c)/840,S=a.colorStops=[];if(c>=g||D<=0)return T("Bad shading domain."),$u(a);var F,x=new Float32Array(s.numComps),R=new Float32Array(1),G=0;R[0]=c,k(R,0,x,0);var N=s.getRgb(x,0),L=ge.makeHexColor(N[0],N[1],N[2]);S.push([0,L]);var U=1;R[0]=c+D,k(R,0,x,0);for(var M=s.getRgb(x,0),J=M[0]-N[0]+1,H=M[1]-N[1]+1,Y=M[2]-N[2]+1,P=M[0]-N[0]-1,O=M[1]-N[1]-1,K=M[2]-N[2]-1,j=2;j<840;j++){R[0]=c+j*D,k(R,0,x,0),F=s.getRgb(x,0);var W=j-G;if(J=Math.min(J,(F[0]-N[0]+1)/W),H=Math.min(H,(F[1]-N[1]+1)/W),Y=Math.min(Y,(F[2]-N[2]+1)/W),P=Math.max(P,(F[0]-N[0]-1)/W),O=Math.max(O,(F[1]-N[1]-1)/W),K=Math.max(K,(F[2]-N[2]-1)/W),!(P<=J&&O<=H&&K<=Y)){var Z=ge.makeHexColor(M[0],M[1],M[2]);S.push([U/840,Z]),J=F[0]-M[0]+1,H=F[1]-M[1]+1,Y=F[2]-M[2]+1,P=F[0]-M[0]-1,O=F[1]-M[1]-1,K=F[2]-M[2]-1,G=U,N=M}U=j,M=F}var _=ge.makeHexColor(M[0],M[1],M[2]);S.push([1,_]);var X="transparent";return e.has("Background")&&(F=s.getRgb(e.get("Background"),0),X=ge.makeHexColor(F[0],F[1],F[2])),I||(S.unshift([0,X]),S[1][0]+=gl.SMALL_NUMBER),f||(S.at(-1)[0]-=gl.SMALL_NUMBER,S.push([1,X])),a.colorStops=S,a}return rl(t,gl),ol(t,[{key:"getIR",value:function(){var e,t,r,A,n,i=this.coordsArr,a=this.shadingType;return 2===a?(t=[i[0],i[1]],r=[i[2],i[3]],A=null,n=null,e="axial"):3===a?(t=[i[0],i[1]],r=[i[3],i[4]],A=i[2],n=i[5],e="radial"):j("getPattern type unknown: ".concat(a)),["RadialAxial",e,this.bbox,this.colorStops,t,r,A,n]}}])}(),ll=function(){return ol((function e(t,r){il(this,e),this.stream=t,this.context=r,this.buffer=0,this.bufferLength=0;var A=r.numComps;this.tmpCompsBuf=new Float32Array(A);var n=r.colorSpace.numComps;this.tmpCsCompsBuf=r.colorFn?new Float32Array(n):this.tmpCompsBuf}),[{key:"hasData",get:function(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var e=this.stream.getByte();return!(e<0||(this.buffer=e,this.bufferLength=8,0))}},{key:"readBits",value:function(e){var t=this.buffer,r=this.bufferLength;if(32===e){if(0===r)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var A=this.stream.getByte();return this.buffer=A&(1<<r)-1,(t<<8-r|(255&A)>>r)>>>0}if(8===e&&0===r)return this.stream.getByte();for(;r<e;)t=t<<8|this.stream.getByte(),r+=8;return r-=e,this.bufferLength=r,this.buffer=t&(1<<r)-1,t>>r}},{key:"align",value:function(){this.buffer=0,this.bufferLength=0}},{key:"readFlag",value:function(){return this.readBits(this.context.bitsPerFlag)}},{key:"readCoordinate",value:function(){var e=this.context.bitsPerCoordinate,t=this.readBits(e),r=this.readBits(e),A=this.context.decode,n=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*n*(A[1]-A[0])+A[0],r*n*(A[3]-A[2])+A[2]]}},{key:"readComponents",value:function(){for(var e=this.context.numComps,t=this.context.bitsPerComponent,r=t<32?1/((1<<t)-1):2.3283064365386963e-10,A=this.context.decode,n=this.tmpCompsBuf,i=0,a=4;i<e;i++,a+=2){var o=this.readBits(t);n[i]=o*r*(A[a+1]-A[a])+A[a]}var s=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(n,0,s,0),this.context.colorSpace.getRgb(s,0)}}])}(),hl=Object.create(null);function Il(e){var t;return(t=hl)[e]||(t[e]=function(e){for(var t=[],r=0;r<=e;r++){var A=r/e,n=1-A;t.push(new Float32Array([Math.pow(n,3),3*A*Math.pow(n,2),3*Math.pow(A,2)*n,Math.pow(A,3)]))}return t}(e))}var fl=function(e){function t(e,r,A,n,i){var a;if(il(this,t),a=zu(this,t),!(e instanceof ze))throw new re("Mesh data is not a stream");var o=e.dict;a.shadingType=o.get("ShadingType"),a.bbox=Rt(o.getArray("BBox"),null);var s=Ur.parse({cs:o.getRaw("CS")||o.getRaw("ColorSpace"),xref:r,resources:A,pdfFunctionFactory:n,localColorSpaceCache:i});a.background=o.has("Background")?s.getRgb(o.get("Background"),0):null;var c=o.getRaw("Function"),g=c?n.createFromArray(c):null;a.coords=[],a.colors=[],a.figures=[];var u={bitsPerCoordinate:o.get("BitsPerCoordinate"),bitsPerComponent:o.get("BitsPerComponent"),bitsPerFlag:o.get("BitsPerFlag"),decode:o.getArray("Decode"),colorFn:g,colorSpace:s,numComps:g?1:s.numComps},l=new ll(e,u),h=!1;switch(a.shadingType){case 4:a._decodeType4Shading(l);break;case 5:var I=0|o.get("VerticesPerRow");if(I<2)throw new re("Invalid VerticesPerRow");a._decodeType5Shading(l,I);break;case 6:a._decodeType6Shading(l),h=!0;break;case 7:a._decodeType7Shading(l),h=!0;break;default:j("Unsupported mesh type.")}if(h){a._updateBounds();for(var f=0,C=a.figures.length;f<C;f++)a._buildFigureFromPatch(f)}return a._updateBounds(),a._packData(),a}return rl(t,gl),ol(t,[{key:"_decodeType4Shading",value:function(e){for(var t=this.coords,r=this.colors,A=[],n=[],i=0;e.hasData;){var a=e.readFlag(),o=e.readCoordinate(),s=e.readComponents();if(0===i){if(!(0<=a&&a<=2))throw new re("Unknown type4 flag");switch(a){case 0:i=3;break;case 1:n.push(n.at(-2),n.at(-1)),i=1;break;case 2:n.push(n.at(-3),n.at(-1)),i=1}A.push(a)}n.push(t.length),t.push(o),r.push(s),i--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(n),colors:new Int32Array(n)})}},{key:"_decodeType5Shading",value:function(e,t){for(var r=this.coords,A=this.colors,n=[];e.hasData;){var i=e.readCoordinate(),a=e.readComponents();n.push(r.length),r.push(i),A.push(a)}this.figures.push({type:"lattice",coords:new Int32Array(n),colors:new Int32Array(n),verticesPerRow:t})}},{key:"_decodeType6Shading",value:function(e){for(var t=this.coords,r=this.colors,A=new Int32Array(16),n=new Int32Array(4);e.hasData;){var i=e.readFlag();if(!(0<=i&&i<=3))throw new re("Unknown type6 flag");for(var a=t.length,o=0,s=0!==i?8:12;o<s;o++)t.push(e.readCoordinate());for(var c=r.length,g=0,u=0!==i?2:4;g<u;g++)r.push(e.readComponents());var l=void 0,h=void 0,I=void 0,f=void 0;switch(i){case 0:A[12]=a+3,A[13]=a+4,A[14]=a+5,A[15]=a+6,A[8]=a+2,A[11]=a+7,A[4]=a+1,A[7]=a+8,A[0]=a,A[1]=a+11,A[2]=a+10,A[3]=a+9,n[2]=c+1,n[3]=c+2,n[0]=c,n[1]=c+3;break;case 1:l=A[12],h=A[13],I=A[14],f=A[15],A[12]=f,A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=I,A[11]=a+3,A[4]=h,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[2],h=n[3],n[2]=h,n[3]=c,n[0]=l,n[1]=c+1;break;case 2:l=A[15],h=A[11],A[12]=A[3],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[7],A[11]=a+3,A[4]=h,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[3],n[2]=n[1],n[3]=c,n[0]=l,n[1]=c+1;break;case 3:A[12]=A[0],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[1],A[11]=a+3,A[4]=A[2],A[7]=a+4,A[0]=A[3],A[1]=a+7,A[2]=a+6,A[3]=a+5,n[2]=n[0],n[3]=c,n[0]=n[1],n[1]=c+1}A[5]=t.length,t.push([(-4*t[A[0]][0]-t[A[15]][0]+6*(t[A[4]][0]+t[A[1]][0])-2*(t[A[12]][0]+t[A[3]][0])+3*(t[A[13]][0]+t[A[7]][0]))/9,(-4*t[A[0]][1]-t[A[15]][1]+6*(t[A[4]][1]+t[A[1]][1])-2*(t[A[12]][1]+t[A[3]][1])+3*(t[A[13]][1]+t[A[7]][1]))/9]),A[6]=t.length,t.push([(-4*t[A[3]][0]-t[A[12]][0]+6*(t[A[2]][0]+t[A[7]][0])-2*(t[A[0]][0]+t[A[15]][0])+3*(t[A[4]][0]+t[A[14]][0]))/9,(-4*t[A[3]][1]-t[A[12]][1]+6*(t[A[2]][1]+t[A[7]][1])-2*(t[A[0]][1]+t[A[15]][1])+3*(t[A[4]][1]+t[A[14]][1]))/9]),A[9]=t.length,t.push([(-4*t[A[12]][0]-t[A[3]][0]+6*(t[A[8]][0]+t[A[13]][0])-2*(t[A[0]][0]+t[A[15]][0])+3*(t[A[11]][0]+t[A[1]][0]))/9,(-4*t[A[12]][1]-t[A[3]][1]+6*(t[A[8]][1]+t[A[13]][1])-2*(t[A[0]][1]+t[A[15]][1])+3*(t[A[11]][1]+t[A[1]][1]))/9]),A[10]=t.length,t.push([(-4*t[A[15]][0]-t[A[0]][0]+6*(t[A[11]][0]+t[A[14]][0])-2*(t[A[12]][0]+t[A[3]][0])+3*(t[A[2]][0]+t[A[8]][0]))/9,(-4*t[A[15]][1]-t[A[0]][1]+6*(t[A[11]][1]+t[A[14]][1])-2*(t[A[12]][1]+t[A[3]][1])+3*(t[A[2]][1]+t[A[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(A),colors:new Int32Array(n)})}}},{key:"_decodeType7Shading",value:function(e){for(var t=this.coords,r=this.colors,A=new Int32Array(16),n=new Int32Array(4);e.hasData;){var i=e.readFlag();if(!(0<=i&&i<=3))throw new re("Unknown type7 flag");for(var a=t.length,o=0,s=0!==i?12:16;o<s;o++)t.push(e.readCoordinate());for(var c=r.length,g=0,u=0!==i?2:4;g<u;g++)r.push(e.readComponents());var l=void 0,h=void 0,I=void 0,f=void 0;switch(i){case 0:A[12]=a+3,A[13]=a+4,A[14]=a+5,A[15]=a+6,A[8]=a+2,A[9]=a+13,A[10]=a+14,A[11]=a+7,A[4]=a+1,A[5]=a+12,A[6]=a+15,A[7]=a+8,A[0]=a,A[1]=a+11,A[2]=a+10,A[3]=a+9,n[2]=c+1,n[3]=c+2,n[0]=c,n[1]=c+3;break;case 1:l=A[12],h=A[13],I=A[14],f=A[15],A[12]=f,A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=I,A[9]=a+9,A[10]=a+10,A[11]=a+3,A[4]=h,A[5]=a+8,A[6]=a+11,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[2],h=n[3],n[2]=h,n[3]=c,n[0]=l,n[1]=c+1;break;case 2:l=A[15],h=A[11],A[12]=A[3],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[7],A[9]=a+9,A[10]=a+10,A[11]=a+3,A[4]=h,A[5]=a+8,A[6]=a+11,A[7]=a+4,A[0]=l,A[1]=a+7,A[2]=a+6,A[3]=a+5,l=n[3],n[2]=n[1],n[3]=c,n[0]=l,n[1]=c+1;break;case 3:A[12]=A[0],A[13]=a+0,A[14]=a+1,A[15]=a+2,A[8]=A[1],A[9]=a+9,A[10]=a+10,A[11]=a+3,A[4]=A[2],A[5]=a+8,A[6]=a+11,A[7]=a+4,A[0]=A[3],A[1]=a+7,A[2]=a+6,A[3]=a+5,n[2]=n[0],n[3]=c,n[0]=n[1],n[1]=c+1}this.figures.push({type:"patch",coords:new Int32Array(A),colors:new Int32Array(n)})}}},{key:"_buildFigureFromPatch",value:function(e){var r=this.figures[e];W("patch"===r.type,"Unexpected patch mesh figure");var A=this.coords,n=this.colors,i=r.coords,a=r.colors,o=Math.min(A[i[0]][0],A[i[3]][0],A[i[12]][0],A[i[15]][0]),s=Math.min(A[i[0]][1],A[i[3]][1],A[i[12]][1],A[i[15]][1]),c=Math.max(A[i[0]][0],A[i[3]][0],A[i[12]][0],A[i[15]][0]),g=Math.max(A[i[0]][1],A[i[3]][1],A[i[12]][1],A[i[15]][1]),u=Math.ceil((c-o)*t.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));u=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,u));var l=Math.ceil((g-s)*t.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));l=Math.max(t.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(t.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,l));for(var h=u+1,I=new Int32Array((l+1)*h),f=new Int32Array((l+1)*h),C=0,B=new Uint8Array(3),Q=new Uint8Array(3),E=n[a[0]],d=n[a[1]],y=n[a[2]],p=n[a[3]],v=Il(l),m=Il(u),w=0;w<=l;w++){B[0]=(E[0]*(l-w)+y[0]*w)/l|0,B[1]=(E[1]*(l-w)+y[1]*w)/l|0,B[2]=(E[2]*(l-w)+y[2]*w)/l|0,Q[0]=(d[0]*(l-w)+p[0]*w)/l|0,Q[1]=(d[1]*(l-w)+p[1]*w)/l|0,Q[2]=(d[2]*(l-w)+p[2]*w)/l|0;for(var b=0;b<=u;b++,C++)if(0!==w&&w!==l||0!==b&&b!==u){for(var k=0,D=0,S=0,F=0;F<=3;F++)for(var x=0;x<=3;x++,S++){var R=v[w][F]*m[b][x];k+=A[i[S]][0]*R,D+=A[i[S]][1]*R}I[C]=A.length,A.push([k,D]),f[C]=n.length;var G=new Uint8Array(3);G[0]=(B[0]*(u-b)+Q[0]*b)/u|0,G[1]=(B[1]*(u-b)+Q[1]*b)/u|0,G[2]=(B[2]*(u-b)+Q[2]*b)/u|0,n.push(G)}}I[0]=i[0],f[0]=a[0],I[u]=i[3],f[u]=a[1],I[h*l]=i[12],f[h*l]=a[2],I[h*l+u]=i[15],f[h*l+u]=a[3],this.figures[e]={type:"lattice",coords:I,colors:f,verticesPerRow:h}}},{key:"_updateBounds",value:function(){for(var e=this.coords[0][0],t=this.coords[0][1],r=e,A=t,n=1,i=this.coords.length;n<i;n++){var a=this.coords[n][0],o=this.coords[n][1];e=e>a?a:e,t=t>o?o:t,r=r<a?a:r,A=A<o?o:A}this.bounds=[e,t,r,A]}},{key:"_packData",value:function(){var e,t,r,A,n=this.coords,i=new Float32Array(2*n.length);for(e=0,r=0,t=n.length;e<t;e++){var a=n[e];i[r++]=a[0],i[r++]=a[1]}this.coords=i;var o=this.colors,s=new Uint8Array(3*o.length);for(e=0,r=0,t=o.length;e<t;e++){var c=o[e];s[r++]=c[0],s[r++]=c[1],s[r++]=c[2]}this.colors=s;var g=this.figures;for(e=0,t=g.length;e<t;e++){var u=g[e],l=u.coords,h=u.colors;for(r=0,A=l.length;r<A;r++)l[r]*=2,h[r]*=3}}},{key:"getIR",value:function(){var e=this.bounds;if(e[2]-e[0]==0||e[3]-e[1]==0)throw new re("Invalid MeshShading bounds: [".concat(e,"]."));return["Mesh",this.shadingType,this.coords,this.colors,this.figures,e,this.bbox,this.background]}}])}();nl(fl,"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",3),nl(fl,"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",20),nl(fl,"TRIANGLE_DENSITY",20);var Cl=function(e){function t(){return il(this,t),zu(this,t,arguments)}return rl(t,gl),ol(t,[{key:"getIR",value:function(){return["Dummy"]}}])}();function Bl(e,t,r){var A=Ft(t.getArray("Matrix"),C),n=Rt(t.getArray("BBox"),null);if(!n||n[2]-n[0]==0||n[3]-n[1]==0)throw new re("Invalid getTilingPatternIR /BBox array.");var i=t.get("XStep");if("number"!=typeof i)throw new re("Invalid getTilingPatternIR /XStep value.");var a=t.get("YStep");if("number"!=typeof a)throw new re("Invalid getTilingPatternIR /YStep value.");var o=t.get("PaintType");if(!Number.isInteger(o))throw new re("Invalid getTilingPatternIR /PaintType value.");var s=t.get("TilingType");if(!Number.isInteger(s))throw new re("Invalid getTilingPatternIR /TilingType value.");return["TilingPattern",r,e,A,n,i,a,o,s]}var Ql=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],El={lineHeight:1.2207,lineGap:.2207},dl=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],yl={lineHeight:1.2207,lineGap:.2207},pl=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],vl={lineHeight:1.2207,lineGap:.2207},ml=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],wl={lineHeight:1.2207,lineGap:.2207},bl=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],kl={lineHeight:1.2,lineGap:.2},Dl=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],Sl={lineHeight:1.35,lineGap:.2},Fl=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],xl={lineHeight:1.35,lineGap:.2},Rl=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Gl={lineHeight:1.2,lineGap:.2},Nl=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Ll=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Ul=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],Ml=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Jl=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Hl=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Yl=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],Pl=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],Ol=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Kl={lineHeight:1.2,lineGap:.2},Tl=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],ql={lineHeight:1.2,lineGap:.2},jl=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Wl={lineHeight:1.2,lineGap:.2},Zl=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],_l={lineHeight:1.2,lineGap:.2},Xl=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],Vl={lineHeight:1.33008,lineGap:0},zl=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],$l={lineHeight:1.33008,lineGap:0},eh=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],th={lineHeight:1.33008,lineGap:0},rh=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],Ah={lineHeight:1.33008,lineGap:0};function nh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||ih(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ih(e,t){if(e){if("string"==typeof e)return ah(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ah(e,t):void 0}}function ah(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var oh=ft((function(e){e["MyriadPro-Regular"]=e["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:Zl,baseWidths:Yl,baseMapping:Pl,metrics:_l},e["MyriadPro-Bold"]=e["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:Ol,baseWidths:Nl,baseMapping:Ll,metrics:Kl},e["MyriadPro-It"]=e["MyriadPro-Italic"]=e["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:jl,baseWidths:Jl,baseMapping:Hl,metrics:Wl},e["MyriadPro-BoldIt"]=e["MyriadPro-BoldItalic"]=e["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:Tl,baseWidths:Ul,baseMapping:Ml,metrics:ql},e.ArialMT=e.Arial=e["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:Yl,baseMapping:Pl},e["Arial-BoldMT"]=e["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:Nl,baseMapping:Ll},e["Arial-ItalicMT"]=e["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:Jl,baseMapping:Hl},e["Arial-BoldItalicMT"]=e["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:Ul,baseMapping:Ml},e["Calibri-Regular"]={name:"LiberationSans-Regular",factors:ml,baseWidths:Yl,baseMapping:Pl,metrics:wl},e["Calibri-Bold"]={name:"LiberationSans-Bold",factors:Ql,baseWidths:Nl,baseMapping:Ll,metrics:El},e["Calibri-Italic"]={name:"LiberationSans-Italic",factors:pl,baseWidths:Jl,baseMapping:Hl,metrics:vl},e["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:dl,baseWidths:Ul,baseMapping:Ml,metrics:yl},e["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:rh,baseWidths:Yl,baseMapping:Pl,metrics:Ah},e["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:Xl,baseWidths:Nl,baseMapping:Ll,metrics:Vl},e["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:eh,baseWidths:Jl,baseMapping:Hl,metrics:th},e["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:zl,baseWidths:Ul,baseMapping:Ml,metrics:$l},e["Helvetica-Regular"]=e.Helvetica={name:"LiberationSans-Regular",factors:Rl,baseWidths:Yl,baseMapping:Pl,metrics:Gl},e["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:bl,baseWidths:Nl,baseMapping:Ll,metrics:kl},e["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:Fl,baseWidths:Jl,baseMapping:Hl,metrics:xl},e["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:Dl,baseWidths:Ul,baseMapping:Ml,metrics:Sl}}));function sh(e){var t=mc(e);return oh()[t]}function ch(e){var t=function(e){var t=sh(e);if(!t)return null;var r,A,n=t.baseWidths,i=t.baseMapping,a=t.factors,o=a?n.map((function(e,t){return e*a[t]})):n,s=-2,c=[],g=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ih(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(i.map((function(e,t){return[e,t]})).sort((function(e,t){return nh(e,1)[0]-nh(t,1)[0]})));try{for(g.s();!(A=g.n()).done;){var u=nh(A.value,2),l=u[0],h=u[1];-1!==l&&(l===s+1?(r.push(o[h]),s+=1):(s=l,r=[o[h]],c.push(l,r)))}}catch(e){g.e(e)}finally{g.f()}return c}(e),r=new He(null);r.set("BaseFont",Ue.get(e)),r.set("Type",Ue.get("Font")),r.set("Subtype",Ue.get("CIDFontType2")),r.set("Encoding",Ue.get("Identity-H")),r.set("CIDToGIDMap",Ue.get("Identity")),r.set("W",t),r.set("FirstChar",t[0]),r.set("LastChar",t.at(-2)+t.at(-1).length-1);var A=new He(null);r.set("FontDescriptor",A);var n=new He(null);return n.set("Ordering","Identity"),n.set("Registry","Adobe"),n.set("Supplement",0),r.set("CIDSystemInfo",n),r}function gh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uh(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,hh(A.key),A)}}function lh(e,t,r){return t&&uh(e.prototype,t),r&&uh(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hh(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Ih,fh=function(){return lh((function e(t){gh(this,e),this.lexer=t,this.operators=[],this.token=null,this.prev=null}),[{key:"nextToken",value:function(){this.prev=this.token,this.token=this.lexer.getToken()}},{key:"accept",value:function(e){return this.token.type===e&&(this.nextToken(),!0)}},{key:"expect",value:function(e){if(this.accept(e))return!0;throw new re("Unexpected symbol: found ".concat(this.token.type," expected ").concat(e,"."))}},{key:"parse",value:function(){return this.nextToken(),this.expect(Ch.LBRACE),this.parseBlock(),this.expect(Ch.RBRACE),this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(Ch.NUMBER))this.operators.push(this.prev.value);else if(this.accept(Ch.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(Ch.LBRACE))return;this.parseCondition()}}},{key:"parseCondition",value:function(){var e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(Ch.RBRACE),this.accept(Ch.IF))this.operators[e]=this.operators.length,this.operators[e+1]="jz";else{if(!this.accept(Ch.LBRACE))throw new re("PS Function: error parsing conditional.");var t=this.operators.length;this.operators.push(null,null);var r=this.operators.length;this.parseBlock(),this.expect(Ch.RBRACE),this.expect(Ch.IFELSE),this.operators[t]=this.operators.length,this.operators[t+1]="j",this.operators[e]=r,this.operators[e+1]="jz"}}}])}(),Ch={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},Bh=function(){function e(t,r){gh(this,e),this.type=t,this.value=r}return lh(e,null,[{key:"opCache",get:function(){return _(this,"opCache",Object.create(null))}},{key:"getOperator",value:function(t){var r;return(r=e.opCache)[t]||(r[t]=new e(Ch.OPERATOR,t))}},{key:"LBRACE",get:function(){return _(this,"LBRACE",new e(Ch.LBRACE,"{"))}},{key:"RBRACE",get:function(){return _(this,"RBRACE",new e(Ch.RBRACE,"}"))}},{key:"IF",get:function(){return _(this,"IF",new e(Ch.IF,"IF"))}},{key:"IFELSE",get:function(){return _(this,"IFELSE",new e(Ch.IFELSE,"IFELSE"))}}])}(),Qh=function(){return lh((function e(t){gh(this,e),this.stream=t,this.nextChar(),this.strBuf=[]}),[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return Re;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!Dt(t))break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new Bh(Ch.NUMBER,this.getNumber());case 123:return this.nextChar(),Bh.LBRACE;case 125:return this.nextChar(),Bh.RBRACE}var r=this.strBuf;for(r.length=0,r[0]=String.fromCharCode(t);(t=this.nextChar())>=0&&(t>=65&&t<=90||t>=97&&t<=122);)r.push(String.fromCharCode(t));var A=r.join("");switch(A.toLowerCase()){case"if":return Bh.IF;case"ifelse":return Bh.IFELSE;default:return Bh.getOperator(A)}}},{key:"getNumber",value:function(){var e=this.currentChar,t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=48&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var r=parseFloat(t.join(""));if(isNaN(r))throw new re("Invalid floating point number: ".concat(r));return r}}])}();function Eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function dh(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function yh(e,t,r){return(t=Gh(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ph(e,t){return e.get(mh(e,t))}function vh(e,t,r){return r(mh(e,t))}function mh(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function wh(e,t,r){return t=kh(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bh()?Reflect.construct(t,r||[],kh(e).constructor):t.apply(e,r))}function bh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bh=function(){return!!e})()}function kh(e){return kh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kh(e)}function Dh(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sh(e,t)}function Sh(e,t){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sh(e,t)}function Fh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Gh(A.key),A)}}function Rh(e,t,r){return t&&xh(e.prototype,t),r&&xh(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gh(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Nh=function(){return Rh((function e(t){Fh(this,e),this._onlyRefs=!0===(null==t?void 0:t.onlyRefs),this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new Oe}),[{key:"getByName",value:function(e){this._onlyRefs&&j("Should not call \`getByName\` method.");var t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}},{key:"getByRef",value:function(e){return this._imageCache.get(e)||null}},{key:"set",value:function(e,t,r){j("Abstract method \`set\` called.")}}])}(),Lh=function(e){function t(){return Fh(this,t),wh(this,t,arguments)}return Dh(t,Nh),Rh(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(),Uh=function(e){function t(){return Fh(this,t),wh(this,t,arguments)}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t){if(this._imageCache.has(t))return;return null!==e&&this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(),Mh=function(e){function t(e){return Fh(this,t),wh(this,t,[{onlyRefs:!0}])}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(),Jh=function(e){function t(){return Fh(this,t),wh(this,t,arguments)}return Dh(t,Nh),Rh(t,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}])}(),Hh=function(e){function t(e){return Fh(this,t),wh(this,t,[{onlyRefs:!0}])}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(),Yh=function(e){function t(e){return Fh(this,t),wh(this,t,[{onlyRefs:!0}])}return Dh(t,Nh),Rh(t,[{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(e)||this._imageCache.put(e,t)}}])}(),Ph=new WeakMap,Oh=new WeakSet,Kh=function(){function e(){var t;Fh(this,e),dh(this,t=Oh),t.add(this),function(e,t,r){dh(e,t),t.set(e,r)}(this,Ph,new Pe),this._refCache=new Oe,this._imageCache=new Oe}return Rh(e,[{key:"shouldCache",value:function(t,r){var A=this._refCache.get(t);return A||(A=new Set,this._refCache.put(t,A)),A.add(r),!(A.size<e.NUM_PAGES_THRESHOLD||!this._imageCache.has(t)&&vh(Oh,this,qh))}},{key:"addDecodeFailed",value:function(e){ph(Ph,this).put(e)}},{key:"hasDecodeFailed",value:function(e){return ph(Ph,this).has(e)}},{key:"addByteSize",value:function(e,t){var r=this._imageCache.get(e);r&&(r.byteSize||(r.byteSize=t))}},{key:"getData",value:function(t,r){var A=this._refCache.get(t);if(!A)return null;if(A.size<e.NUM_PAGES_THRESHOLD)return null;var n=this._imageCache.get(t);return n?(A.add(r),n):null}},{key:"setData",value:function(e,t){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.');this._imageCache.has(e)||(vh(Oh,this,qh)?q("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(e,t))}},{key:"clear",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||(ph(Ph,this).clear(),this._refCache.clear()),this._imageCache.clear()}}])}();function Th(e){var t,r=0,A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Eh(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Eh(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e._imageCache);try{for(A.s();!(t=A.n()).done;)r+=t.value.byteSize}catch(e){A.e(e)}finally{A.f()}return r}function qh(e){return!(e._imageCache.size<Ih.MIN_IMAGES_TO_CACHE||vh(Oh,e,Th)<Ih.MAX_BYTE_SIZE)}function jh(e){return function(e){if(Array.isArray(e))return eI(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wh(e,t,r){return t=_h(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Zh()?Reflect.construct(t,r||[],_h(e).constructor):t.apply(e,r))}function Zh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Zh=function(){return!!e})()}function _h(e){return _h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_h(e)}function Xh(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vh(e,t)}function Vh(e,t){return Vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vh(e,t)}function zh(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$h(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function $h(e,t){if(e){if("string"==typeof e)return eI(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?eI(e,t):void 0}}function eI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function tI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rI(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,nI(A.key),A)}}function AI(e,t,r){return t&&rI(e.prototype,t),r&&rI(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nI(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}Ih=Kh,yh(Kh,"NUM_PAGES_THRESHOLD",2),yh(Kh,"MIN_IMAGES_TO_CACHE",10),yh(Kh,"MAX_BYTE_SIZE",5e7);var iI=function(){return AI((function e(t){var r=t.xref,A=t.isEvalSupported,n=void 0===A||A;tI(this,e),this.xref=r,this.isEvalSupported=!1!==n}),[{key:"create",value:function(e){var t=this.getCached(e);if(t)return t;var r=oI.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:e instanceof Ye?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"createFromArray",value:function(e){var t=this.getCached(e);if(t)return t;var r=oI.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:e instanceof Ye?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"getCached",value:function(e){var t;if(e instanceof Ye)t=e;else if(e instanceof He)t=e.objId;else if(e instanceof ze){var r;t=null===(r=e.dict)||void 0===r?void 0:r.objId}if(t){var A=this._localFunctionCache.getByRef(t);if(A)return A}return null}},{key:"_cache",value:function(e,t){if(!t)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');var r;if(e instanceof Ye)r=e;else if(e instanceof He)r=e.objId;else if(e instanceof ze){var A;r=null===(A=e.dict)||void 0===A?void 0:A.objId}r&&this._localFunctionCache.set(null,r,t)}},{key:"_localFunctionCache",get:function(){return _(this,"_localFunctionCache",new Mh)}}])}();function aI(e){return Array.isArray(e)?St(e,null)?e:e.map((function(e){return+e})):null}var oI=function(){return AI((function e(){tI(this,e)}),null,[{key:"getSampleArray",value:function(e,t,r,A){var n,i,a=1;for(n=0,i=e.length;n<i;n++)a*=e[n];a*=t;var o=new Array(a),s=0,c=0,g=1/(Math.pow(2,r)-1),u=A.getBytes((a*r+7)/8),l=0;for(n=0;n<a;n++){for(;s<r;)c<<=8,c|=u[l++],s+=8;s-=r,o[n]=(c>>s)*g,c&=(1<<s)-1}return o}},{key:"parse",value:function(e){var t=e.xref,r=e.isEvalSupported,A=e.fn,n=A.dict||A;switch(n.get("FunctionType")){case 0:return this.constructSampled({xref:t,isEvalSupported:r,fn:A,dict:n});case 1:break;case 2:return this.constructInterpolated({xref:t,isEvalSupported:r,dict:n});case 3:return this.constructStiched({xref:t,isEvalSupported:r,dict:n});case 4:return this.constructPostScript({xref:t,isEvalSupported:r,fn:A,dict:n})}throw new re("Unknown type of function")}},{key:"parseArray",value:function(e){var t=e.xref,r=e.isEvalSupported,A=e.fnObj;if(!Array.isArray(A))return this.parse({xref:t,isEvalSupported:r,fn:A});var n,i=[],a=zh(A);try{for(a.s();!(n=a.n()).done;){var o=n.value;i.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(o)}))}}catch(e){a.e(e)}finally{a.f()}return function(e,t,r,A){for(var n=0,a=i.length;n<a;n++)i[n](e,t,r,A+n)}}},{key:"constructSampled",value:function(e){e.xref,e.isEvalSupported;var t=e.fn,r=e.dict;function A(e){for(var t=e.length,r=[],A=0,n=0;n<t;n+=2)r[A++]=[e[n],e[n+1]];return r}function n(e,t,r,A,n){return A+(n-A)/(r-t)*(e-t)}var i=aI(r.getArray("Domain")),a=aI(r.getArray("Range"));if(!i||!a)throw new re("No domain or range");var o=i.length/2,s=a.length/2;i=A(i),a=A(a);var c=aI(r.getArray("Size")),g=r.get("BitsPerSample"),u=r.get("Order")||1;1!==u&&T("No support for cubic spline interpolation: "+u);var l=aI(r.getArray("Encode"));if(l)l=A(l);else{l=[];for(var h=0;h<o;++h)l.push([0,c[h]-1])}var I=aI(r.getArray("Decode"));I=I?A(I):a;var f=this.getSampleArray(c,s,g,t);return function(e,t,r,A){var g,u,h=1<<o,C=new Float64Array(h),B=new Uint32Array(h);for(u=0;u<h;u++)C[u]=1;var Q=s,E=1;for(g=0;g<o;++g){var d=i[g][0],y=i[g][1],p=n(Math.min(Math.max(e[t+g],d),y),d,y,l[g][0],l[g][1]),v=c[g],m=(p=Math.min(Math.max(p,0),v-1))<v-1?Math.floor(p):p-1,w=m+1-p,b=p-m,k=m*Q,D=k+Q;for(u=0;u<h;u++)u&E?(C[u]*=b,B[u]+=D):(C[u]*=w,B[u]+=k);Q*=v,E<<=1}for(u=0;u<s;++u){var S=0;for(g=0;g<h;g++)S+=f[B[g]+u]*C[g];S=n(S,0,1,I[u][0],I[u][1]),r[A+u]=Math.min(Math.max(S,a[u][0]),a[u][1])}}}},{key:"constructInterpolated",value:function(e){e.xref,e.isEvalSupported;for(var t=e.dict,r=aI(t.getArray("C0"))||[0],A=aI(t.getArray("C1"))||[1],n=t.get("N"),i=[],a=0,o=r.length;a<o;++a)i.push(A[a]-r[a]);var s=i.length;return function(e,t,A,a){for(var o=1===n?e[t]:Math.pow(e[t],n),c=0;c<s;++c)A[a+c]=r[c]+o*i[c]}}},{key:"constructStiched",value:function(e){var t=e.xref,r=e.isEvalSupported,A=e.dict,n=aI(A.getArray("Domain"));if(!n)throw new re("No domain");if(1!=n.length/2)throw new re("Bad domain for stiched function");var i,a=[],o=zh(A.get("Functions"));try{for(o.s();!(i=o.n()).done;){var s=i.value;a.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(s)}))}}catch(e){o.e(e)}finally{o.f()}var c=aI(A.getArray("Bounds")),g=aI(A.getArray("Encode")),u=new Float32Array(1);return function(e,t,r,A){var i,o=function(e,t,r){return e>r?e=r:e<t&&(e=t),e}(e[t],n[0],n[1]),s=c.length;for(i=0;i<s&&!(o<c[i]);++i);var l=n[0];i>0&&(l=c[i-1]);var h=n[1];i<c.length&&(h=c[i]);var I=g[2*i],f=g[2*i+1];u[0]=l===h?I:I+(o-l)*(f-I)/(h-l),a[i](u,0,r,A)}}},{key:"constructPostScript",value:function(e){e.xref;var t=e.isEvalSupported,r=e.fn,A=e.dict,n=aI(A.getArray("Domain")),i=aI(A.getArray("Range"));if(!n)throw new re("No domain.");if(!i)throw new re("No range.");var a=new Qh(r),o=new fh(a).parse();if(t&&se.isEvalSupported){var s=(new wI).compile(o,n,i);if(s)return new Function("src","srcOffset","dest","destOffset",s)}T("Unable to compile PS function");var c=i.length>>1,g=n.length>>1,u=new lI(o),l=Object.create(null),h=8192,I=new Float32Array(g);return function(e,t,r,A){var n,a,o="",s=I;for(n=0;n<g;n++)a=e[t+n],s[n]=a,o+=a+"_";var f=l[o];if(void 0===f){var C=new Float32Array(c),B=u.execute(s),Q=B.length-c;for(n=0;n<c;n++){a=B[Q+n];var E=i[2*n];(a<E||a>(E=i[2*n+1]))&&(a=E),C[n]=a}h>0&&(h--,l[o]=C),r.set(C,A)}else r.set(f,A)}}}])}();function sI(e){var t;if(e instanceof He)t=e;else{if(!(e instanceof ze))return!1;t=e.dict}return t.has("FunctionType")}var cI,gI,uI=function(){function e(t){tI(this,e),this.stack=t?Array.from(t):[]}return AI(e,[{key:"push",value:function(t){if(this.stack.length>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(t)}},{key:"pop",value:function(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}},{key:"copy",value:function(t){if(this.stack.length+t>=e.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");for(var r=this.stack,A=r.length-t,n=t-1;n>=0;n--,A++)r.push(r[A])}},{key:"index",value:function(e){this.push(this.stack[this.stack.length-e-1])}},{key:"roll",value:function(e,t){for(var r=this.stack,A=r.length-e,n=r.length-1,i=A+(t-Math.floor(t/e)*e),a=A,o=n;a<o;a++,o--){var s=r[a];r[a]=r[o],r[o]=s}for(var c=A,g=i-1;c<g;c++,g--){var u=r[c];r[c]=r[g],r[g]=u}for(var l=i,h=n;l<h;l++,h--){var I=r[l];r[l]=r[h],r[h]=I}}}])}();cI=uI,(gI=nI(gI="MAX_STACK_SIZE"))in cI?Object.defineProperty(cI,gI,{value:100,enumerable:!0,configurable:!0,writable:!0}):cI[gI]=100;var lI=function(){return AI((function e(t){tI(this,e),this.operators=t}),[{key:"execute",value:function(e){for(var t,r,A,n=new uI(e),i=0,a=this.operators,o=a.length;i<o;)if("number"!=typeof(t=a[i++]))switch(t){case"jz":A=n.pop(),(r=n.pop())||(i=A);break;case"j":i=r=n.pop();break;case"abs":r=n.pop(),n.push(Math.abs(r));break;case"add":A=n.pop(),r=n.pop(),n.push(r+A);break;case"and":A=n.pop(),"boolean"==typeof(r=n.pop())&&"boolean"==typeof A?n.push(r&&A):n.push(r&A);break;case"atan":A=n.pop(),r=n.pop(),(r=Math.atan2(r,A)/Math.PI*180)<0&&(r+=360),n.push(r);break;case"bitshift":A=n.pop(),(r=n.pop())>0?n.push(r<<A):n.push(r>>A);break;case"ceiling":r=n.pop(),n.push(Math.ceil(r));break;case"copy":r=n.pop(),n.copy(r);break;case"cos":r=n.pop(),n.push(Math.cos(r%360/180*Math.PI));break;case"cvi":r=0|n.pop(),n.push(r);break;case"cvr":break;case"div":A=n.pop(),r=n.pop(),n.push(r/A);break;case"dup":n.copy(1);break;case"eq":A=n.pop(),r=n.pop(),n.push(r===A);break;case"exch":n.roll(2,1);break;case"exp":A=n.pop(),r=n.pop(),n.push(Math.pow(r,A));break;case"false":n.push(!1);break;case"floor":r=n.pop(),n.push(Math.floor(r));break;case"ge":A=n.pop(),r=n.pop(),n.push(r>=A);break;case"gt":A=n.pop(),r=n.pop(),n.push(r>A);break;case"idiv":A=n.pop(),r=n.pop(),n.push(r/A|0);break;case"index":r=n.pop(),n.index(r);break;case"le":A=n.pop(),r=n.pop(),n.push(r<=A);break;case"ln":r=n.pop(),n.push(Math.log(r));break;case"log":r=n.pop(),n.push(Math.log10(r));break;case"lt":A=n.pop(),r=n.pop(),n.push(r<A);break;case"mod":A=n.pop(),r=n.pop(),n.push(r%A);break;case"mul":A=n.pop(),r=n.pop(),n.push(r*A);break;case"ne":A=n.pop(),r=n.pop(),n.push(r!==A);break;case"neg":r=n.pop(),n.push(-r);break;case"not":"boolean"==typeof(r=n.pop())?n.push(!r):n.push(~r);break;case"or":A=n.pop(),"boolean"==typeof(r=n.pop())&&"boolean"==typeof A?n.push(r||A):n.push(r|A);break;case"pop":n.pop();break;case"roll":A=n.pop(),r=n.pop(),n.roll(r,A);break;case"round":r=n.pop(),n.push(Math.round(r));break;case"sin":r=n.pop(),n.push(Math.sin(r%360/180*Math.PI));break;case"sqrt":r=n.pop(),n.push(Math.sqrt(r));break;case"sub":A=n.pop(),r=n.pop(),n.push(r-A);break;case"true":n.push(!0);break;case"truncate":r=(r=n.pop())<0?Math.ceil(r):Math.floor(r),n.push(r);break;case"xor":A=n.pop(),"boolean"==typeof(r=n.pop())&&"boolean"==typeof A?n.push(r!==A):n.push(r^A);break;default:throw new re("Unknown operator ".concat(t))}else n.push(t);return n.stack}}])}(),hI=function(){return AI((function e(t){tI(this,e),this.type=t}),[{key:"visit",value:function(e){j("abstract method")}}])}(),II=function(e){function t(e,r,A){var n;return tI(this,t),(n=Wh(this,t,["args"])).index=e,n.min=r,n.max=A,n}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitArgument(this)}}])}(),fI=function(e){function t(e){var r;return tI(this,t),(r=Wh(this,t,["literal"])).number=e,r.min=e,r.max=e,r}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitLiteral(this)}}])}(),CI=function(e){function t(e,r,A,n,i){var a;return tI(this,t),(a=Wh(this,t,["binary"])).op=e,a.arg1=r,a.arg2=A,a.min=n,a.max=i,a}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitBinaryOperation(this)}}])}(),BI=function(e){function t(e,r){var A;return tI(this,t),(A=Wh(this,t,["max"])).arg=e,A.min=e.min,A.max=r,A}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitMin(this)}}])}(),QI=function(e){function t(e,r,A){var n;return tI(this,t),(n=Wh(this,t,["var"])).index=e,n.min=r,n.max=A,n}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitVariable(this)}}])}(),EI=function(e){function t(e,r){var A;return tI(this,t),(A=Wh(this,t,["definition"])).variable=e,A.arg=r,A}return Xh(t,hI),AI(t,[{key:"visit",value:function(e){e.visitVariableDefinition(this)}}])}(),dI=function(){return AI((function e(){tI(this,e),this.parts=[]}),[{key:"visitArgument",value:function(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}},{key:"visitVariable",value:function(e){this.parts.push("v",e.index)}},{key:"visitLiteral",value:function(e){this.parts.push(e.number)}},{key:"visitBinaryOperation",value:function(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}},{key:"visitVariableDefinition",value:function(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}},{key:"visitMin",value:function(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}},{key:"toString",value:function(){return this.parts.join("")}}])}();function yI(e,t){return"literal"===t.type&&0===t.number?e:"literal"===e.type&&0===e.number?t:"literal"===t.type&&"literal"===e.type?new fI(e.number+t.number):new CI("+",e,t,e.min+t.min,e.max+t.max)}function pI(e,t){if("literal"===t.type){if(0===t.number)return new fI(0);if(1===t.number)return e;if("literal"===e.type)return new fI(e.number*t.number)}if("literal"===e.type){if(0===e.number)return new fI(0);if(1===e.number)return t}var r=Math.min(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max),A=Math.max(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max);return new CI("*",e,t,r,A)}function vI(e,t){if("literal"===t.type){if(0===t.number)return e;if("literal"===e.type)return new fI(e.number-t.number)}return"binary"===t.type&&"-"===t.op&&"literal"===e.type&&1===e.number&&"literal"===t.arg1.type&&1===t.arg1.number?t.arg2:new CI("-",e,t,e.min-t.max,e.max-t.min)}function mI(e,t){return e.min>=t?new fI(t):e.max<=t?e:new BI(e,t)}var wI=function(){return AI((function e(){tI(this,e)}),[{key:"compile",value:function(e,t,r){for(var A,n,i,a,o,s,c,g,u=[],l=[],h=t.length>>1,I=r.length>>1,f=0,C=0;C<h;C++)u.push(new II(C,t[2*C],t[2*C+1]));for(var B=0,Q=e.length;B<Q;B++)if("number"!=typeof(g=e[B]))switch(g){case"add":if(u.length<2)return null;a=u.pop(),i=u.pop(),u.push(yI(i,a));break;case"cvr":if(u.length<1)return null;break;case"mul":if(u.length<2)return null;a=u.pop(),i=u.pop(),u.push(pI(i,a));break;case"sub":if(u.length<2)return null;a=u.pop(),i=u.pop(),u.push(vI(i,a));break;case"exch":if(u.length<2)return null;o=u.pop(),s=u.pop(),u.push(o,s);break;case"pop":if(u.length<1)return null;u.pop();break;case"index":if(u.length<1)return null;if("literal"!==(i=u.pop()).type)return null;if((A=i.number)<0||!Number.isInteger(A)||u.length<A)return null;if("literal"===(o=u[u.length-A-1]).type||"var"===o.type){u.push(o);break}c=new QI(f++,o.min,o.max),u[u.length-A-1]=c,u.push(c),l.push(new EI(c,o));break;case"dup":if(u.length<1)return null;if("number"==typeof e[B+1]&&"gt"===e[B+2]&&e[B+3]===B+7&&"jz"===e[B+4]&&"pop"===e[B+5]&&e[B+6]===e[B+1]){i=u.pop(),u.push(mI(i,e[B+1])),B+=6;break}if("literal"===(o=u.at(-1)).type||"var"===o.type){u.push(o);break}c=new QI(f++,o.min,o.max),u[u.length-1]=c,u.push(c),l.push(new EI(c,o));break;case"roll":if(u.length<2)return null;if(a=u.pop(),i=u.pop(),"literal"!==a.type||"literal"!==i.type)return null;if(n=a.number,(A=i.number)<=0||!Number.isInteger(A)||!Number.isInteger(n)||u.length<A)return null;if(0==(n=(n%A+A)%A))break;u.push.apply(u,jh(u.splice(u.length-A,A-n)));break;default:return null}else u.push(new fI(g));if(u.length!==I)return null;for(var E=[],d=0,y=l;d<y.length;d++){var p=y[d],v=new dI;p.visit(v),E.push(v.toString())}for(var m=0,w=u.length;m<w;m++){var b=u[m],k=new dI;b.visit(k);var D=r[2*m],S=r[2*m+1],F=[k.toString()];D>b.min&&(F.unshift("Math.max(",D,", "),F.push(")")),S<b.max&&(F.unshift("Math.min(",S,", "),F.push(")")),F.unshift("dest[destOffset + ",m,"] = "),F.push(";"),E.push(F.join(""))}return E.join("\\n")}}])}(),bI=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],kI=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function DI(e){return 0!=(1&e)}function SI(e){return 0==(1&e)}function FI(e,t,r){var A,n;for(A=t,n=e.length;A<n;++A)if(e[A]!==r)return A;return A}function xI(e,t,r,A){for(var n=t;n<r;++n)e[n]=A}function RI(e,t,r){for(var A=t,n=r-1;A<n;++A,--n){var i=e[A];e[A]=e[n],e[n]=i}}function GI(e,t){var r="ltr";return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?r="ttb":t||(r="rtl"),{str:e,dir:r}}var NI=[],LI=[];function UI(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=!0,n=e.length;if(0===n||r)return GI(e,A,r);NI.length=n,LI.length=n;var i,a,o=0;for(i=0;i<n;++i){NI[i]=e.charAt(i);var s=e.charCodeAt(i),c="L";s<=255?c=bI[s]:1424<=s&&s<=1524?c="R":1536<=s&&s<=1791?(c=kI[255&s])||q("Bidi: invalid Unicode character "+s.toString(16)):(1792<=s&&s<=2220||64336<=s&&s<=65023||65136<=s&&s<=65279)&&(c="AL"),"R"!==c&&"AL"!==c&&"AN"!==c||o++,LI[i]=c}if(0===o)return GI(e,A=!0);-1===t&&(o/n<.3&&n>4?(A=!0,t=0):(A=!1,t=1));var g=[];for(i=0;i<n;++i)g[i]=t;var u,l=DI(t)?"R":"L",h=l,I=h,f=h;for(i=0;i<n;++i)"NSM"===LI[i]?LI[i]=f:f=LI[i];for(f=h,i=0;i<n;++i)"EN"===(u=LI[i])?LI[i]="AL"===f?"AN":"EN":"R"!==u&&"L"!==u&&"AL"!==u||(f=u);for(i=0;i<n;++i)"AL"===(u=LI[i])&&(LI[i]="R");for(i=1;i<n-1;++i)"ES"===LI[i]&&"EN"===LI[i-1]&&"EN"===LI[i+1]&&(LI[i]="EN"),"CS"!==LI[i]||"EN"!==LI[i-1]&&"AN"!==LI[i-1]||LI[i+1]!==LI[i-1]||(LI[i]=LI[i-1]);for(i=0;i<n;++i)if("EN"===LI[i]){for(var C=i-1;C>=0&&"ET"===LI[C];--C)LI[C]="EN";for(var B=i+1;B<n&&"ET"===LI[B];++B)LI[B]="EN"}for(i=0;i<n;++i)"WS"!==(u=LI[i])&&"ES"!==u&&"ET"!==u&&"CS"!==u||(LI[i]="ON");for(f=h,i=0;i<n;++i)"EN"===(u=LI[i])?LI[i]="L"===f?"L":"EN":"R"!==u&&"L"!==u||(f=u);for(i=0;i<n;++i)if("ON"===LI[i]){var Q=FI(LI,i+1,"ON"),E=h;i>0&&(E=LI[i-1]);var d=I;Q+1<n&&(d=LI[Q+1]),"L"!==E&&(E="R"),"L"!==d&&(d="R"),E===d&&xI(LI,i,Q,E),i=Q-1}for(i=0;i<n;++i)"ON"===LI[i]&&(LI[i]=l);for(i=0;i<n;++i)u=LI[i],SI(g[i])?"R"===u?g[i]+=1:"AN"!==u&&"EN"!==u||(g[i]+=2):"L"!==u&&"AN"!==u&&"EN"!==u||(g[i]+=1);var y,p=-1,v=99;for(i=0,a=g.length;i<a;++i)p<(y=g[i])&&(p=y),v>y&&DI(y)&&(v=y);for(y=p;y>=v;--y){var m=-1;for(i=0,a=g.length;i<a;++i)g[i]<y?m>=0&&(RI(NI,m,i),m=-1):m<0&&(m=i);m>=0&&RI(NI,m,g.length)}for(i=0,a=NI.length;i<a;++i){var w=NI[i];"<"!==w&&">"!==w||(NI[i]="")}return GI(NI.join(""),A)}function MI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||HI(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function JI(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=HI(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function HI(e,t){if(e){if("string"==typeof e)return YI(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?YI(e,t):void 0}}function YI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var PI={style:"normal",weight:"normal"},OI={style:"normal",weight:"bold"},KI={style:"italic",weight:"normal"},TI={style:"italic",weight:"bold"},qI=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:PI,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:OI,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:KI,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:TI,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:PI,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:OI,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:KI,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:TI,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:PI,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:OI,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:KI,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:TI,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:PI,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:OI,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:KI,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:TI,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:PI,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:OI,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:KI,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:TI,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:PI}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),jI=new Map([["Arial-Black","ArialBlack"]]);function WI(e){var t=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return e.split(/[- ,+]+/g).filter((function(e){return!t.has(e.toLowerCase())})).join(" ")}function ZI(e,t,r){var A=e.alias,n=e.local,i=e.path,a=e.fallback,o=e.style,s=e.ultimate,c=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],g=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",l={style:null,ultimate:null};if(n){var h,I=u?" ".concat(u):"",f=JI(n);try{for(f.s();!(h=f.n()).done;){var C=h.value;t.push("local(".concat(C).concat(I,")"))}}catch(e){f.e(e)}finally{f.f()}}if(A){var B=qI.get(A),Q=u||function(e){switch(e){case OI:return"Bold";case KI:return"Italic";case TI:return"Bold Italic";default:if("bold"===(null==e?void 0:e.weight))return"Bold";if("italic"===(null==e?void 0:e.style))return"Italic"}return""}(o);Object.assign(l,ZI(B,t,r,c&&!a,g&&!i,Q))}if(o&&(l.style=o),s&&(l.ultimate=s),c&&a){var E=ZI(qI.get(a),t,r,c,g&&!i,u).ultimate;l.ultimate||(l.ultimate=E)}return g&&i&&r&&t.push("url(".concat(r).concat(i,")")),l}function _I(e,t,r,A,n,i){if(A.startsWith("InvalidPDFjsFont_"))return null;"TrueType"!==i&&"Type1"!==i||!/^[A-Z]{6}\\+/.test(A)||(A=A.slice(7));var a=A=mc(A),o=e.get(a);if(o)return o;var s=qI.get(A);if(!s){var c,g=JI(jI);try{for(g.s();!(c=g.n()).done;){var u=MI(c.value,2),l=u[0],h=u[1];if(A.startsWith(l)){A="".concat(h).concat(A.substring(l.length)),s=qI.get(A);break}}}catch(e){g.e(e)}finally{g.f()}}var I=!1;s||(s=qI.get(n),I=!0);var f="".concat(t.getDocId(),"_s").concat(t.createFontId());if(!s){if(!Pt(A))return q("Cannot substitute the font because of its name: ".concat(A)),e.set(a,null),null;var C=/bold/gi.test(A),B=/oblique|italic/gi.test(A),Q=C&&B&&TI||C&&OI||B&&KI||PI;return o={css:'"'.concat(WI(A),'",').concat(f),guessFallback:!0,loadedName:f,baseFontName:A,src:"local(".concat(A,")"),style:Q},e.set(a,o),o}var E=[];I&&Pt(A)&&E.push("local(".concat(A,")"));var d=ZI(s,E,r),y=d.style,p=d.ultimate,v=null===p,m=v?"":",".concat(p);return o={css:'"'.concat(WI(A),'",').concat(f).concat(m),guessFallback:v,loadedName:f,baseFontName:A,src:E.join(","),style:y},e.set(a,o),o}function XI(){XI=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function VI(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return zI(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zI(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function zI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function $I(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function ef(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){$I(i,A,n,a,o,"next",e)}function o(e){$I(i,A,n,a,o,"throw",e)}a(void 0)}))}}function tf(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,rf(A.key),A)}}function rf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Af=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._imgData=t,this._isMask=r}return function(e,t,r){return t&&tf(e.prototype,t),r&&tf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"_createImage",value:(r=ef(XI().mark((function t(){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v;return XI().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this._encodeBMP(),A=new Blob([r.buffer],{type:"image/bmp"}),n=createImageBitmap(A),i=e.MAX_AREA,a=e.MAX_DIM,o=this._imgData,s=o.width,c=o.height,g=Math.max(s/a,c/a,Math.sqrt(s*c/i)),u=Math.max(g,2),l=Math.round(10*(g+1.25))/10/u,h=Math.floor(Math.log2(l)),(I=new Array(h+2).fill(2))[0]=u,I.splice(-1,1,l/(1<<h)),f=s,C=c,t.next=17,n;case 17:B=t.sent,Q=VI(I);try{for(Q.s();!(E=Q.n()).done;)d=E.value,y=f,p=C,f=Math.floor(f/d)-1,C=Math.floor(C/d)-1,(v=new OffscreenCanvas(f,C)).getContext("2d").drawImage(B,0,0,y,p,0,0,f,C),B=v.transferToImageBitmap()}catch(e){Q.e(e)}finally{Q.f()}return o.data=null,o.bitmap=B,o.width=f,o.height=C,t.abrupt("return",o);case 25:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"_encodeBMP",value:function(){var e,t=this._imgData,r=t.width,A=t.height,n=t.kind,i=this._imgData.data,a=new Uint8Array(0),o=a,s=0;switch(n){case 1:e=1,a=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);var c=r+7>>3,g=c+3&-4;if(c!==g){for(var u=new Uint8Array(g*A),l=0,h=0,I=A*c;h<I;h+=c,l+=g)u.set(i.subarray(h,h+c),l);i=u}break;case 2:if(e=24,3&r){for(var f=3*r,C=f+3&-4,B=C-f,Q=new Uint8Array(C*A),E=0,d=0,y=A*f;d<y;d+=f){for(var p=i.subarray(d,d+f),v=0;v<f;v+=3)Q[E++]=p[v+2],Q[E++]=p[v+1],Q[E++]=p[v];E+=B}i=Q}else for(var m=0,w=i.length;m<w;m+=3){var b=i[m];i[m]=i[m+2],i[m+2]=b}break;case 3:e=32,s=3,o=new Uint8Array(68);var k=new DataView(o.buffer);se.isLittleEndian?(k.setUint32(0,255,!0),k.setUint32(4,65280,!0),k.setUint32(8,16711680,!0),k.setUint32(12,4278190080,!0)):(k.setUint32(0,4278190080,!0),k.setUint32(4,16711680,!0),k.setUint32(8,65280,!0),k.setUint32(12,255,!0));break;default:throw new Error("invalid format")}var D=0,S=40+o.length,F=14+S+a.length+i.length,x=new Uint8Array(F),R=new DataView(x.buffer);return R.setUint16(D,19778,!0),D+=2,R.setUint32(D,F,!0),D+=4,R.setUint32(D,0,!0),D+=4,R.setUint32(D,14+S+a.length,!0),D+=4,R.setUint32(D,S,!0),D+=4,R.setInt32(D,r,!0),D+=4,R.setInt32(D,-A,!0),D+=4,R.setUint16(D,1,!0),D+=2,R.setUint16(D,e,!0),D+=2,R.setUint32(D,s,!0),D+=4,R.setUint32(D,0,!0),D+=4,R.setInt32(D,0,!0),D+=4,R.setInt32(D,0,!0),D+=4,R.setUint32(D,a.length/4,!0),D+=4,R.setUint32(D,0,!0),D+=4,x.set(o,D),D+=o.length,x.set(a,D),D+=a.length,x.set(i,D),x}}],[{key:"needsToBeResized",value:function(e,t){if(e<=this._goodSquareLength&&t<=this._goodSquareLength)return!1;var r=this.MAX_DIM;if(e>r||t>r)return!0;var A=e*t;return this._hasMaxArea?A>this.MAX_AREA:!(A<Math.pow(this._goodSquareLength,2))&&(this._areGoodDims(e,t)?(this._goodSquareLength=Math.max(this._goodSquareLength,Math.floor(Math.sqrt(e*t))),!1):(this._goodSquareLength=this._guessMax(this._goodSquareLength,r,128,0),A>(this.MAX_AREA=Math.pow(this._goodSquareLength,2))))}},{key:"MAX_DIM",get:function(){return _(this,"MAX_DIM",this._guessMax(2048,65537,0,1))}},{key:"MAX_AREA",get:function(){return this._hasMaxArea=!0,_(this,"MAX_AREA",Math.pow(this._guessMax(e._goodSquareLength,this.MAX_DIM,128,0),2))},set:function(e){e>=0&&(this._hasMaxArea=!0,_(this,"MAX_AREA",e))}},{key:"setMaxArea",value:function(e){this._hasMaxArea||(this.MAX_AREA=e>>2)}},{key:"_areGoodDims",value:function(e,t){try{var r=new OffscreenCanvas(e,t),A=r.getContext("2d");A.fillRect(0,0,1,1);var n=A.getImageData(0,0,1,1).data[3];return r.width=r.height=1,0!==n}catch(e){return!1}}},{key:"_guessMax",value:function(e,t,r,A){for(;e+r+1<t;){var n=Math.floor((e+t)/2),i=A||n;this._areGoodDims(n,i)?e=n:t=n}return e}},{key:"createImage",value:(t=ef(XI().mark((function t(r){var A,n=arguments;return XI().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=n.length>1&&void 0!==n[1]&&n[1],t.abrupt("return",new e(r,A)._createImage());case 2:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)})}]);var t,r}();function nf(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,af(A.key),A)}}function af(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}Af._goodSquareLength=2048;var of,sf=3285377520,cf=4294901760,gf=65535,uf=function(){return function(e,t,r){return t&&nf(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.h1=t?4294967295&t:sf,this.h2=t?4294967295&t:sf}),[{key:"update",value:function(e){var t,r;if("string"==typeof e){t=new Uint8Array(2*e.length),r=0;for(var A=0,n=e.length;A<n;A++){var i=e.charCodeAt(A);i<=255?t[r++]=i:(t[r++]=i>>>8,t[r++]=255&i)}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");r=(t=e.slice()).byteLength}for(var a=r>>2,o=r-4*a,s=new Uint32Array(t.buffer,0,a),c=0,g=0,u=this.h1,l=this.h2,h=3432918353,I=461845907,f=11601,C=13715,B=0;B<a;B++)1&B?u=5*(u=(u^=c=(c=(c=(c=s[B])*h&cf|c*f&gf)<<15|c>>>17)*I&cf|c*C&gf)<<13|u>>>19)+3864292196:l=5*(l=(l^=g=(g=(g=(g=s[B])*h&cf|g*f&gf)<<15|g>>>17)*I&cf|g*C&gf)<<13|l>>>19)+3864292196;switch(c=0,o){case 3:c^=t[4*a+2]<<16;case 2:c^=t[4*a+1]<<8;case 1:c=(c=(c=(c^=t[4*a])*h&cf|c*f&gf)<<15|c>>>17)*I&cf|c*C&gf,1&a?u^=c:l^=c}this.h1=u,this.h2=l}},{key:"hexdigest",value:function(){var e=this.h1,t=this.h2;return e=3981806797*(e^=t>>>1)&cf|36045*e&gf,e=444984403*(e^=(t=4283543511*t&cf|(2950163797*(t<<16|e>>>16)&cf)>>>16)>>>1)&cf|60499*e&gf,((e^=(t=3301882366*t&cf|(3120437893*(t<<16|e>>>16)&cf)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}])}();function lf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return hf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function hf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function If(e,t,r){return(t=pf(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e,t,r){return t=Bf(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cf()?Reflect.construct(t,r||[],Bf(e).constructor):t.apply(e,r))}function Cf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cf=function(){return!!e})()}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bf(e)}function Qf(e,t){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qf(e,t)}function Ef(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function df(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,pf(A.key),A)}}function yf(e,t,r){return t&&df(e.prototype,t),r&&df(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function pf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function vf(e,t,r,A,n){for(var i=e,a=0,o=t.length-1;a<o;a++){var s,c=t[a];i=(s=i)[c]||(s[c]=[])}i[t.at(-1)]={checkFn:r,iterateFn:A,processFn:n}}var mf=[];vf(mf,[x,G,86,R],null,(function(e,t){var r=e.fnArray,A=(t-(e.iCurr-3))%4;switch(A){case 0:return r[t]===x;case 1:return r[t]===G;case 2:return 86===r[t];case 3:return r[t]===R}throw new Error("iterateInlineImageGroup - invalid pos: ".concat(A))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-3,a=n-2,o=n-1,s=Math.min(Math.floor((t-i)/4),200);if(s<10)return t-(t-i)%4;for(var c=0,g=[],u=0,l=1,h=1,I=0;I<s;I++){var f=A[a+(I<<2)],C=A[o+(I<<2)][0];l+C.width>1e3&&(c=Math.max(c,l),h+=u+2,l=0,u=0),g.push({transform:f,x:l,y:h,w:C.width,h:C.height}),l+=C.width+2,u=Math.max(u,C.height)}for(var B=Math.max(c,l)+1,Q=h+u+1,E=new Uint8Array(B*Q*4),d=B<<2,y=0;y<s;y++){var p=A[o+(y<<2)][0].data,v=g[y].w<<2,m=0,w=g[y].x+g[y].y*B<<2;E.set(p.subarray(0,v),w-d);for(var b=0,k=g[y].h;b<k;b++)E.set(p.subarray(m,m+v),w),m+=v,w+=d;for(E.set(p.subarray(m-v,m),w);w>=0;)p[w-4]=p[w],p[w-3]=p[w+1],p[w-2]=p[w+2],p[w-1]=p[w+3],p[w+v]=p[w+v-4],p[w+v+1]=p[w+v-3],p[w+v+2]=p[w+v-2],p[w+v+3]=p[w+v-1],w-=d}var D={width:B,height:Q};if(e.isOffscreenCanvasSupported){var S=new OffscreenCanvas(B,Q);S.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(E.buffer),B,Q),0,0),D.bitmap=S.transferToImageBitmap(),D.data=null}else D.kind=3,D.data=E;return r.splice(i,4*s,87),A.splice(i,4*s,[D,g]),i+1})),vf(mf,[x,G,Y,R],null,(function(e,t){var r=e.fnArray,A=(t-(e.iCurr-3))%4;switch(A){case 0:return r[t]===x;case 1:return r[t]===G;case 2:return r[t]===Y;case 3:return r[t]===R}throw new Error("iterateImageMaskGroup - invalid pos: ".concat(A))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-3,a=n-2,o=n-1,s=Math.floor((t-i)/4);if(s<10)return t-(t-i)%4;var c,g,u=!1,l=A[o][0],h=A[a][0],I=A[a][1],f=A[a][2],C=A[a][3];if(I===f){u=!0,c=a+4;for(var B=o+4,Q=1;Q<s;Q++,c+=4,B+=4)if(g=A[c],A[B][0]!==l||g[0]!==h||g[1]!==I||g[2]!==f||g[3]!==C){Q<10?u=!1:s=Q;break}}if(u){s=Math.min(s,1e3);var E=new Float32Array(2*s);c=a;for(var d=0;d<s;d++,c+=4)g=A[c],E[d<<1]=g[4],E[1+(d<<1)]=g[5];r.splice(i,4*s,89),A.splice(i,4*s,[l,h,I,f,C,E])}else{s=Math.min(s,100);for(var y=[],p=0;p<s;p++){g=A[a+(p<<2)];var v=A[o+(p<<2)][0];y.push({data:v.data,width:v.width,height:v.height,interpolate:v.interpolate,count:v.count,transform:g})}r.splice(i,4*s,84),A.splice(i,4*s,[y])}return i+1})),vf(mf,[x,G,P,R],(function(e){var t=e.argsArray,r=e.iCurr-2;return 0===t[r][1]&&0===t[r][2]}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===x;case 1:if(r[t]!==G)return!1;var i=e.iCurr-2,a=A[i][0],o=A[i][3];return A[t][0]===a&&0===A[t][1]&&0===A[t][2]&&A[t][3]===o;case 2:if(r[t]!==P)return!1;var s=A[e.iCurr-1][0];return A[t][0]===s;case 3:return r[t]===R}throw new Error("iterateImageGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-3,a=n-2,o=A[n-1][0],s=A[a][0],c=A[a][3],g=Math.min(Math.floor((t-i)/4),1e3);if(g<3)return t-(t-i)%4;for(var u=new Float32Array(2*g),l=a,h=0;h<g;h++,l+=4){var I=A[l];u[h<<1]=I[4],u[1+(h<<1)]=I[5]}var f=[o,s,c,u];return r.splice(i,4*g,88),A.splice(i,4*g,f),i+1})),vf(mf,[31,N,42,L,32],null,(function(e,t){var r=e.fnArray,A=e.argsArray,n=(t-(e.iCurr-4))%5;switch(n){case 0:return 31===r[t];case 1:return r[t]===N;case 2:return 42===r[t];case 3:if(r[t]!==L)return!1;var i=e.iCurr-3,a=A[i][0],o=A[i][1];return A[t][0]===a&&A[t][1]===o;case 4:return 32===r[t]}throw new Error("iterateShowTextGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,A=e.argsArray,n=e.iCurr,i=n-4,a=n-3,o=n-2,s=n-1,c=n,g=A[a][0],u=A[a][1],l=Math.min(Math.floor((t-i)/5),1e3);if(l<3)return t-(t-i)%5;var h=i;i>=4&&r[i-4]===r[a]&&r[i-3]===r[o]&&r[i-2]===r[s]&&r[i-1]===r[c]&&A[i-4][0]===g&&A[i-4][1]===u&&(l++,h-=5);for(var I=h+4,f=1;f<l;f++)r.splice(I,3),A.splice(I,3),I+=2;return I+1}));var wf=function(){return yf((function e(t){Ef(this,e),this.queue=t}),[{key:"_optimize",value:function(){}},{key:"push",value:function(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}},{key:"flush",value:function(){}},{key:"reset",value:function(){}}])}(),bf=function(e){function t(e){var r;return Ef(this,t),(r=ff(this,t,[e])).state=null,r.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray,isOffscreenCanvasSupported:!1},r.match=null,r.lastProcessed=0,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qf(e,t)}(t,wf),yf(t,[{key:"isOffscreenCanvasSupported",set:function(e){this.context.isOffscreenCanvasSupported=e}},{key:"_optimize",value:function(){var e=this.queue.fnArray,t=this.lastProcessed,r=e.length,A=this.state,n=this.match;if(A||n||t+1!==r||mf[e[t]]){for(var i=this.context;t<r;){if(n){if((0,n.iterateFn)(i,t)){t++;continue}if(t=(0,n.processFn)(i,t+1),n=null,A=null,t>=(r=e.length))break}(A=(A||mf)[e[t]])&&!Array.isArray(A)?(i.iCurr=t,t++,!A.checkFn||(0,A.checkFn)(i)?(n=A,A=null):A=null):t++}this.state=A,this.match=n,this.lastProcessed=t}else this.lastProcessed=r}},{key:"flush",value:function(){for(;this.match;){var e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}},{key:"reset",value:function(){this.state=null,this.match=null,this.lastProcessed=0}}])}(),kf=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1?arguments[1]:void 0;Ef(this,e),this._streamSink=r,this.fnArray=[],this.argsArray=[],this.optimizer=!r||256&t?new wf(this):new bf(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=r?null:Promise.resolve()}return yf(e,[{key:"isOffscreenCanvasSupported",set:function(e){this.optimizer.isOffscreenCanvasSupported=e}},{key:"length",get:function(){return this.argsArray.length}},{key:"ready",get:function(){return this._resolved||this._streamSink.ready}},{key:"totalLength",get:function(){return this._totalLength+this.length}},{key:"addOp",value:function(t,r){this.optimizer.push(t,r),this.weight++,this._streamSink&&(this.weight>=e.CHUNK_SIZE||this.weight>=e.CHUNK_SIZE_ABOUT&&(t===R||32===t))&&this.flush()}},{key:"addImageOps",value:function(e,t,r){void 0!==r&&this.addOp(J,["OC",r]),this.addOp(e,t),void 0!==r&&this.addOp(H,[])}},{key:"addDependency",value:function(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(1,[e]))}},{key:"addDependencies",value:function(e){var t,r=lf(e);try{for(r.s();!(t=r.n()).done;){var A=t.value;this.addDependency(A)}}catch(e){r.e(e)}finally{r.f()}}},{key:"addOpList",value:function(t){if(t instanceof e){var r,A=lf(t.dependencies);try{for(A.s();!(r=A.n()).done;){var n=r.value;this.dependencies.add(n)}}catch(e){A.e(e)}finally{A.f()}for(var i=0,a=t.length;i<a;i++)this.addOp(t.fnArray[i],t.argsArray[i])}else q('addOpList - ignoring invalid "opList" parameter.')}},{key:"getIR",value:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}},{key:"_transfers",get:function(){for(var e,t=[],r=this.fnArray,A=this.argsArray,n=this.length,i=0;i<n;i++)switch(r[i]){case 86:case 87:case Y:var a=A[i][0];!a.cached&&(null===(e=a.data)||void 0===e?void 0:e.buffer)instanceof ArrayBuffer&&t.push(a.data.buffer)}return t}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.optimizer.flush();var r=this.length;this._totalLength+=r,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:t,length:r},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}])}();function Df(){Df=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Sf(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Ff(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Sf(i,A,n,a,o,"next",e)}function o(e){Sf(i,A,n,a,o,"throw",e)}a(void 0)}))}}function xf(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Rf(A.key),A)}}function Rf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Gf(e,t,r,A){return(e=t+e*r)<0?e=0:e>A&&(e=A),e}function Nf(e,t,r,A,n,i){var a,o=n*i;a=t<=8?new Uint8Array(o):t<=16?new Uint16Array(o):new Uint32Array(o);var s,c,g,u,l=r/n,h=A/i,I=0,f=new Uint16Array(n),C=r;for(s=0;s<n;s++)f[s]=Math.floor(s*l);for(s=0;s<i;s++)for(g=Math.floor(s*h)*C,c=0;c<n;c++)u=g+f[c],a[I++]=e[u];return a}of=kf,If(kf,"CHUNK_SIZE",1e3),If(kf,"CHUNK_SIZE_ABOUT",of.CHUNK_SIZE-5);var Lf=function(){function e(t){var r=t.xref,A=t.res,n=t.image,i=t.isInline,a=void 0!==i&&i,o=t.smask,s=void 0===o?null:o,c=t.mask,g=void 0===c?null:c,u=t.isMask,l=void 0!==u&&u,h=t.pdfFunctionFactory,I=t.localColorSpaceCache;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.image=n;var f,C=n.dict,B=C.get("F","Filter");if(B instanceof Ue)f=B.name;else if(Array.isArray(B)){var Q=r.fetchIfRef(B[0]);Q instanceof Ue&&(f=Q.name)}switch(f){case"JPXDecode":var E=Va.parseImageProperties(n.stream);n.width=E.width,n.height=E.height,n.numComps=E.componentsCount,n.bitsPerComponent=E.bitsPerComponent,n.stream.reset(),this.jpxDecoderOptions={numComponents:0,isIndexedColormap:!1,smaskInData:C.has("SMaskInData")};break;case"JBIG2Decode":n.bitsPerComponent=1,n.numComps=1}var d=C.get("W","Width"),y=C.get("H","Height");if(Number.isInteger(n.width)&&n.width>0&&Number.isInteger(n.height)&&n.height>0&&(n.width!==d||n.height!==y)&&(q("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),d=n.width,y=n.height),d<1||y<1)throw new re("Invalid image width: ".concat(d," or height: ").concat(y));this.width=d,this.height=y,this.interpolate=C.get("I","Interpolate"),this.imageMask=C.get("IM","ImageMask")||!1,this.matte=C.get("Matte")||!1;var p=n.bitsPerComponent;if(!p&&!(p=C.get("BPC","BitsPerComponent"))){if(!this.imageMask)throw new re("Bits per component missing in image: ".concat(this.imageMask));p=1}if(this.bpc=p,!this.imageMask){var v,m=C.getRaw("CS")||C.getRaw("ColorSpace"),w=!!m;if(w)null!==(v=this.jpxDecoderOptions)&&void 0!==v&&v.smaskInData&&(m=Ue.get("DeviceRGBA"));else if(this.jpxDecoderOptions)m=Ue.get("DeviceRGBA");else switch(n.numComps){case 1:m=Ue.get("DeviceGray");break;case 3:m=Ue.get("DeviceRGB");break;case 4:m=Ue.get("DeviceCMYK");break;default:throw new Error("Images with ".concat(n.numComps," color components not supported."))}this.colorSpace=Ur.parse({cs:m,xref:r,resources:a?A:null,pdfFunctionFactory:h,localColorSpaceCache:I}),this.numComps=this.colorSpace.numComps,this.jpxDecoderOptions&&(this.jpxDecoderOptions.numComponents=w?this.numComp:0,this.jpxDecoderOptions.isIndexedColormap="Indexed"===this.colorSpace.name)}if(this.decode=C.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,p)||l&&!Ur.isDefaultDecode(this.decode,1))){var b;this.needsDecode=!0;var k=(1<<p)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var D="Indexed"===(null===(b=this.colorSpace)||void 0===b?void 0:b.name),S=0,F=0;S<this.decode.length;S+=2,++F){var x=this.decode[S],R=this.decode[S+1];this.decodeCoefficients[F]=D?(R-x)/k:R-x,this.decodeAddends[F]=D?x:k*x}}s?this.smask=new e({xref:r,res:A,image:s,isInline:a,pdfFunctionFactory:h,localColorSpaceCache:I}):g&&(g instanceof ze?g.dict.get("IM","ImageMask")?this.mask=new e({xref:r,res:A,image:g,isInline:a,isMask:!0,pdfFunctionFactory:h,localColorSpaceCache:I}):q("Ignoring /Mask in image without /ImageMask."):this.mask=g)}return function(e,t,r){return t&&xf(e.prototype,t),r&&xf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"drawWidth",get:function(){var e,t;return Math.max(this.width,(null===(e=this.smask)||void 0===e?void 0:e.width)||0,(null===(t=this.mask)||void 0===t?void 0:t.width)||0)}},{key:"drawHeight",get:function(){var e,t;return Math.max(this.height,(null===(e=this.smask)||void 0===e?void 0:e.height)||0,(null===(t=this.mask)||void 0===t?void 0:t.height)||0)}},{key:"decodeBuffer",value:function(e){var t,r,A=this.bpc,n=this.numComps,i=this.decodeAddends,a=this.decodeCoefficients,o=(1<<A)-1;if(1!==A){var s=0;for(t=0,r=this.width*this.height;t<r;t++)for(var c=0;c<n;c++)e[s]=Gf(e[s],i[c],a[c],o),s++}else for(t=0,r=e.length;t<r;t++)e[t]=+!e[t]}},{key:"getComponents",value:function(e){var t=this.bpc;if(8===t)return e;var r,A=this.width,n=this.height,i=this.numComps,a=A*n*i,o=0;r=t<=8?new Uint8Array(a):t<=16?new Uint16Array(a):new Uint32Array(a);var s,c,g=A*i,u=(1<<t)-1,l=0;if(1===t)for(var h,I,f,C=0;C<n;C++){for(I=l+(-8&g),f=l+g;l<I;)c=e[o++],r[l]=c>>7&1,r[l+1]=c>>6&1,r[l+2]=c>>5&1,r[l+3]=c>>4&1,r[l+4]=c>>3&1,r[l+5]=c>>2&1,r[l+6]=c>>1&1,r[l+7]=1&c,l+=8;if(l<f)for(c=e[o++],h=128;l<f;)r[l++]=+!!(c&h),h>>=1}else{var B=0;for(c=0,l=0,s=a;l<s;++l){for(l%g==0&&(c=0,B=0);B<t;)c=c<<8|e[o++],B+=8;var Q=B-t,E=c>>Q;E<0?E=0:E>u&&(E=u),r[l]=E,c&=(1<<Q)-1,B=Q}}return r}},{key:"fillOpacity",value:(a=Ff(Df().mark((function t(r,A,n,i,a){var o,s,c,g,u,l,h,I,f,C,B,Q,E;return Df().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=this.smask,s=this.mask,!o){t.next=11;break}return g=o.width,u=o.height,c=new Uint8ClampedArray(g*u),t.next=8,o.fillGrayBuffer(c);case 8:g===A&&u===n||(c=Nf(c,o.bpc,g,u,A,n)),t.next=47;break;case 11:if(!s){t.next=47;break}if(!(s instanceof e)){t.next=23;break}return g=s.width,u=s.height,c=new Uint8ClampedArray(g*u),s.numComps=1,t.next=19,s.fillGrayBuffer(c);case 19:for(l=0,h=g*u;l<h;++l)c[l]=255-c[l];g===A&&u===n||(c=Nf(c,s.bpc,g,u,A,n)),t.next=47;break;case 23:if(!Array.isArray(s)){t.next=46;break}c=new Uint8ClampedArray(A*n),f=this.numComps,l=0,h=A*n;case 27:if(!(l<h)){t.next=44;break}C=0,B=l*f,I=0;case 31:if(!(I<f)){t.next=40;break}if(!((Q=a[B+I])<s[E=2*I]||Q>s[E+1])){t.next=37;break}return C=255,t.abrupt("break",40);case 37:++I,t.next=31;break;case 40:c[l]=C;case 41:++l,t.next=27;break;case 44:t.next=47;break;case 46:throw new re("Unknown mask format.");case 47:if(c)for(l=0,I=3,h=A*i;l<h;++l,I+=4)r[I]=c[l];else for(l=0,I=3,h=A*i;l<h;++l,I+=4)r[I]=255;case 48:case"end":return t.stop()}}),t,this)}))),function(e,t,r,A,n){return a.apply(this,arguments)})},{key:"undoPreblend",value:function(e,t,r){var A,n=null===(A=this.smask)||void 0===A?void 0:A.matte;if(n)for(var i=this.colorSpace.getRgb(n,0),a=i[0],o=i[1],s=i[2],c=t*r*4,g=0;g<c;g+=4){var u=e[g+3];if(0!==u){var l=255/u;e[g]=(e[g]-a)*l+a,e[g+1]=(e[g+1]-o)*l+o,e[g+2]=(e[g+2]-s)*l+s}else e[g]=255,e[g+1]=255,e[g+2]=255}}},{key:"createImageData",value:(i=Ff(Df().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x=arguments;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=x.length>0&&void 0!==x[0]&&x[0],r=x.length>1&&void 0!==x[1]&&x[1],A=this.drawWidth,n=this.drawHeight,i={width:A,height:n,interpolate:this.interpolate,kind:0,data:null},a=this.numComps,o=this.width,s=this.height,c=this.bpc,g=o*a*c+7>>3,u=r&&Af.needsToBeResized(A,n),"DeviceRGBA"!==this.colorSpace.name){e.next=21;break}return i.kind=3,e.next=15,this.getImageBytes(s*o*4,{});case 15:if(l=i.data=e.sent,!r){e.next=20;break}if(u){e.next=19;break}return e.abrupt("return",this.createBitmap(3,A,n,l));case 19:return e.abrupt("return",Af.createImage(i,!1));case 20:return e.abrupt("return",i);case 21:if(t){e.next=68;break}if("DeviceGray"===this.colorSpace.name&&1===c?h=1:"DeviceRGB"!==this.colorSpace.name||8!==c||this.needsDecode||(h=2),!h||this.smask||this.mask||A!==o||n!==s){e.next=35;break}return e.next=26,this.getImageBytes(s*g,{});case 26:if(I=e.sent,!r){e.next=31;break}if(!u){e.next=30;break}return e.abrupt("return",Af.createImage({data:I,kind:h,width:A,height:n,interpolate:this.interpolate},this.needsDecode));case 30:return e.abrupt("return",this.createBitmap(h,o,s,I));case 31:if(i.kind=h,i.data=I,this.needsDecode)for(W(1===h,"PDFImage.createImageData: The image must be grayscale."),f=i.data,C=0,B=f.length;C<B;C++)f[C]^=255;return e.abrupt("return",i);case 35:if(!(this.image instanceof Ja)||this.smask||this.mask||this.needsDecode){e.next=68;break}if(Q=s*g,!r||u){e.next=57;break}E=!1,e.t0=this.colorSpace.name,e.next="DeviceGray"===e.t0?42:"DeviceRGB"===e.t0?45:"DeviceCMYK"===e.t0?48:50;break;case 42:return Q*=4,E=!0,e.abrupt("break",50);case 45:return Q=Q/3*4,E=!0,e.abrupt("break",50);case 48:return E=!0,e.abrupt("break",50);case 50:if(!E){e.next=55;break}return e.next=53,this.getImageBytes(Q,{drawWidth:A,drawHeight:n,forceRGBA:!0});case 53:return d=e.sent,e.abrupt("return",this.createBitmap(3,A,n,d));case 55:e.next=68;break;case 57:e.t1=this.colorSpace.name,e.next="DeviceGray"===e.t1?60:"DeviceRGB"===e.t1||"DeviceCMYK"===e.t1?61:68;break;case 60:Q*=3;case 61:return i.kind=2,e.next=64,this.getImageBytes(Q,{drawWidth:A,drawHeight:n,forceRGB:!0});case 64:if(i.data=e.sent,!u){e.next=67;break}return e.abrupt("return",Af.createImage(i));case 67:return e.abrupt("return",i);case 68:return e.next=70,this.getImageBytes(s*g,{internal:!0});case 70:if(y=e.sent,p=0|y.length/g*n/s,v=this.getComponents(y),r&&!u&&(b=new OffscreenCanvas(A,n),k=b.getContext("2d"),D=k.createImageData(A,n),S=D.data),i.kind=3,t||this.smask||this.mask){e.next=80;break}!r||u?(i.kind=2,S=new Uint8ClampedArray(A*n*3),m=0):(new Uint32Array(S.buffer).fill(se.isLittleEndian?4278190080:255),m=1),w=!1,e.next=85;break;case 80:return r&&!u||(S=new Uint8ClampedArray(A*n*4)),m=1,w=!0,e.next=85,this.fillOpacity(S,A,n,p,v);case 85:if(this.needsDecode&&this.decodeBuffer(v),this.colorSpace.fillRgb(S,o,s,A,n,p,c,v,m),w&&this.undoPreblend(S,A,p),!r||u){e.next=92;break}return k.putImageData(D,0,0),F=b.transferToImageBitmap(),e.abrupt("return",{data:null,width:A,height:n,bitmap:F,interpolate:this.interpolate});case 92:if(i.data=S,!u){e.next=95;break}return e.abrupt("return",Af.createImage(i));case 95:return e.abrupt("return",i);case 96:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"fillGrayBuffer",value:(n=Ff(Df().mark((function e(t){var r,A,n,i,a,o,s,c,g,u;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(1===(r=this.numComps)){e.next=3;break}throw new re("Reading gray scale from a color image: ".concat(r));case 3:return A=this.width,n=this.height,i=this.bpc,a=A*r*i+7>>3,e.next=9,this.getImageBytes(n*a,{internal:!0});case 9:if(o=e.sent,s=this.getComponents(o),1!==i){e.next=15;break}if(g=A*n,this.needsDecode)for(c=0;c<g;++c)t[c]=s[c]-1&255;else for(c=0;c<g;++c)t[c]=255&-s[c];return e.abrupt("return");case 15:for(this.needsDecode&&this.decodeBuffer(s),g=A*n,u=255/((1<<i)-1),c=0;c<g;++c)t[c]=u*s[c];case 19:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"createBitmap",value:function(e,t,r,A){var n,i=new OffscreenCanvas(t,r),a=i.getContext("2d");return 3===e?n=new ImageData(A,t,r):(n=a.createImageData(t,r),function(e){switch(e.kind){case 1:return $i(e);case 2:return function(e){var t=e.src,r=e.srcPos,A=void 0===r?0:r,n=e.dest,i=e.destPos,a=void 0===i?0:i,o=(e.width,e.height,0),s=t.length>>2,c=new Uint32Array(t.buffer,A,s);if(se.isLittleEndian){for(;o<s-2;o+=3,a+=4){var g=c[o],u=c[o+1],l=c[o+2];n[a]=4278190080|g,n[a+1]=g>>>24|u<<8|4278190080,n[a+2]=u>>>16|l<<16|4278190080,n[a+3]=l>>>8|4278190080}for(var h=4*o,I=t.length;h<I;h+=3)n[a++]=t[h]|t[h+1]<<8|t[h+2]<<16|4278190080}else{for(;o<s-2;o+=3,a+=4){var f=c[o],C=c[o+1],B=c[o+2];n[a]=255|f,n[a+1]=f<<24|C>>>8|255,n[a+2]=C<<16|B>>>16|255,n[a+3]=B<<8|255}for(var Q=4*o,E=t.length;Q<E;Q+=3)n[a++]=t[Q]<<24|t[Q+1]<<16|t[Q+2]<<8|255}return{srcPos:A,destPos:a}}(e)}}({kind:e,src:A,dest:new Uint32Array(n.data.buffer),width:t,height:r,inverseDecode:this.needsDecode})),a.putImageData(n,0,0),{data:null,width:t,height:r,bitmap:i.transferToImageBitmap(),interpolate:this.interpolate}}},{key:"getImageBytes",value:(A=Ff(Df().mark((function e(t,r){var A,n,i,a,o,s,c,g,u;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A=r.drawWidth,n=r.drawHeight,i=r.forceRGBA,a=void 0!==i&&i,o=r.forceRGB,s=void 0!==o&&o,c=r.internal,g=void 0!==c&&c,this.image.reset(),this.image.drawWidth=A||this.width,this.image.drawHeight=n||this.height,this.image.forceRGBA=!!a,this.image.forceRGB=!!s,e.next=8,this.image.getImageData(t,this.jpxDecoderOptions);case 8:if(u=e.sent,!(g||this.image instanceof XA)){e.next=11;break}return e.abrupt("return",u);case 11:return W(u instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),e.abrupt("return",new Uint8Array(u));case 13:case"end":return e.stop()}}),e,this)}))),function(e,t){return A.apply(this,arguments)})}],[{key:"buildImage",value:(r=Ff(Df().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I;return Df().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=r.xref,n=r.res,i=r.image,a=r.isInline,o=void 0!==a&&a,s=r.pdfFunctionFactory,c=r.localColorSpaceCache,g=i,u=null,l=null,h=i.dict.get("SMask"),I=i.dict.get("Mask"),h?h instanceof ze?u=h:q("Unsupported /SMask format."):I&&(I instanceof ze||Array.isArray(I)?l=I:q("Unsupported /Mask format.")),t.abrupt("return",new e({xref:A,res:n,image:g,isInline:o,smask:u,mask:l,pdfFunctionFactory:s,localColorSpaceCache:c}));case 8:case"end":return t.stop()}}),t)}))),function(e){return r.apply(this,arguments)})},{key:"createRawMask",value:function(e){var t,r,A=e.imgArray,n=e.width,i=e.height,a=e.imageIsFromDecodeStream,o=e.inverseDecode,s=e.interpolate,c=(n+7>>3)*i,g=A.byteLength;if(!a||o&&c!==g?o?((t=new Uint8Array(c)).set(A),t.fill(255,g)):t=new Uint8Array(A):t=A,o)for(r=0;r<g;r++)t[r]^=255;return{data:t,width:n,height:i,interpolate:s}}},{key:"createMask",value:(t=Ff(Df().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f;return Df().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.imgArray,A=t.width,n=t.height,i=t.imageIsFromDecodeStream,a=t.inverseDecode,o=t.interpolate,s=t.isOffscreenCanvasSupported,c=void 0!==s&&s,!(g=1===A&&1===n&&a===(0===r.length||!!(128&r[0])))){e.next=4;break}return e.abrupt("return",{isSingleOpaquePixel:g});case 4:if(!c){e.next=16;break}if(!Af.needsToBeResized(A,n)){e.next=9;break}return u=new Uint8ClampedArray(A*n*4),$i({src:r,dest:u,width:A,height:n,nonBlackColor:0,inverseDecode:a}),e.abrupt("return",Af.createImage({kind:3,data:u,width:A,height:n,interpolate:o}));case 9:return l=new OffscreenCanvas(A,n),h=l.getContext("2d"),I=h.createImageData(A,n),$i({src:r,dest:I.data,width:A,height:n,nonBlackColor:0,inverseDecode:a}),h.putImageData(I,0,0),f=l.transferToImageBitmap(),e.abrupt("return",{data:null,width:A,height:n,interpolate:o,bitmap:f});case 16:return e.abrupt("return",this.createRawMask({imgArray:r,width:A,height:n,inverseDecode:a,imageIsFromDecodeStream:i,interpolate:o}));case 17:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]);var t,r,A,n,i,a}();function Uf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Wf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mf(e){return function(e){if(Array.isArray(e))return Zf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Wf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jf(){Jf=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Hf(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function Yf(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){Hf(i,A,n,a,o,"next",e)}function o(e){Hf(i,A,n,a,o,"throw",e)}a(void 0)}))}}function Pf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,qf(A.key),A)}}function Kf(e,t,r){return t&&Of(e.prototype,t),r&&Of(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tf(e,t,r){return(t=qf(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function jf(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Wf(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Wf(e,t){if(e){if("string"==typeof e)return Zf(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zf(e,t):void 0}}function Zf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var _f=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),Xf=Promise.resolve();function Vf(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){var r,A=jf(e);try{for(A.s();!(r=A.n()).done;){var n=Vf(r.value,!0);if(n)return n}}catch(e){A.e(e)}finally{A.f()}return q("Unsupported blend mode Array: ".concat(e)),"source-over"}if(!(e instanceof Ue))return t?null:"source-over";switch(e.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return t?null:(q("Unsupported blend mode: ".concat(e.name)),"source-over")}function zf(e,t){var r;t.objId&&e.addDependency(t.objId),e.addImageOps(t.fn,t.args,t.optionalContent),t.fn===Y&&(null===(r=t.args[0])||void 0===r?void 0:r.count)>0&&t.args[0].count++}var $f=function(){function e(){Pf(this,e),this.reset()}return Kf(e,[{key:"check",value:function(){return!(++this.checked<e.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}},{key:"reset",value:function(){this.endTime=Date.now()+e.TIME_SLOT_DURATION_MS,this.checked=0}}])}();Tf($f,"TIME_SLOT_DURATION_MS",20),Tf($f,"CHECK_TIME_EVERY",100);var eC=function(){function e(t){var r=t.xref,A=t.handler,n=t.pageIndex,i=t.idFactory,a=t.fontCache,o=t.builtInCMapCache,s=t.standardFontDataCache,c=t.globalImageCache,g=t.systemFontCache,u=t.options,l=void 0===u?null:u;Pf(this,e),this.xref=r,this.handler=A,this.pageIndex=n,this.idFactory=i,this.fontCache=a,this.builtInCMapCache=o,this.standardFontDataCache=s,this.globalImageCache=c,this.systemFontCache=g,this.options=l||_f,this.type3FontRefs=null,this._regionalImageCache=new Yh,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this),Af.setMaxArea(this.options.canvasMaxAreaInBytes)}return Kf(e,[{key:"_pdfFunctionFactory",get:function(){return _(this,"_pdfFunctionFactory",new iI({xref:this.xref,isEvalSupported:this.options.isEvalSupported}))}},{key:"parsingType3Font",get:function(){return!!this.type3FontRefs}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=Object.create(this);return t.options=Object.assign(Object.create(null),this.options,e),t}},{key:"hasBlendModes",value:function(e,t){if(!(e instanceof He))return!1;if(e.objId&&t.has(e.objId))return!1;var r=new Pe(t);e.objId&&r.put(e.objId);for(var A=[e],n=this.xref;A.length;){var i=A.shift(),a=i.get("ExtGState");if(a instanceof He){var o,s=jf(a.getRawValues());try{for(s.s();!(o=s.n()).done;){var c=o.value;if(c instanceof Ye){if(r.has(c))continue;try{c=n.fetch(c)}catch(e){r.put(c),T('hasBlendModes - ignoring ExtGState: "'.concat(e,'".'));continue}}if(c instanceof He){c.objId&&r.put(c.objId);var g=c.get("BM");if(g instanceof Ue){if("Normal"!==g.name)return!0}else if(void 0!==g&&Array.isArray(g)){var u,l=jf(g);try{for(l.s();!(u=l.n()).done;){var h=u.value;if(h instanceof Ue&&"Normal"!==h.name)return!0}}catch(e){l.e(e)}finally{l.f()}}}}}catch(e){s.e(e)}finally{s.f()}}var I=i.get("XObject");if(I instanceof He){var f,C=jf(I.getRawValues());try{for(C.s();!(f=C.n()).done;){var B=f.value;if(B instanceof Ye){if(r.has(B))continue;try{B=n.fetch(B)}catch(e){r.put(B),T('hasBlendModes - ignoring XObject: "'.concat(e,'".'));continue}}if(B instanceof ze){B.dict.objId&&r.put(B.dict.objId);var Q=B.dict.get("Resources");Q instanceof He&&(Q.objId&&r.has(Q.objId)||(A.push(Q),Q.objId&&r.put(Q.objId)))}}}catch(e){C.e(e)}finally{C.f()}}}var E,d=jf(r);try{for(d.s();!(E=d.n()).done;){var y=E.value;t.put(y)}}catch(e){d.e(e)}finally{d.f()}return!1}},{key:"fetchBuiltInCMap",value:(u=Yf(Jf().mark((function e(t){var r,A,n,i;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.builtInCMapCache.get(t))){e.next=3;break}return e.abrupt("return",r);case 3:if(null===this.options.cMapUrl){e.next=19;break}return n="".concat(this.options.cMapUrl).concat(t,".bcmap"),e.next=7,fetch(n);case 7:if((i=e.sent).ok){e.next=10;break}throw new Error('fetchBuiltInCMap: failed to fetch file "'.concat(n,'" with "').concat(i.statusText,'".'));case 10:return e.t0=Uint8Array,e.next=13,i.arrayBuffer();case 13:e.t1=e.sent,e.t2=new e.t0(e.t1),e.t3=F.BINARY,A={cMapData:e.t2,compressionType:e.t3},e.next=22;break;case 19:return e.next=21,this.handler.sendWithPromise("FetchBuiltInCMap",{name:t});case 21:A=e.sent;case 22:return A.compressionType!==F.NONE&&this.builtInCMapCache.set(t,A),e.abrupt("return",A);case 24:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"fetchStandardFontData",value:(g=Yf(Jf().mark((function e(t){var r,A,n,i,a,o;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.standardFontDataCache.get(t))){e.next=3;break}return e.abrupt("return",new ar(r));case 3:if(!this.options.useSystemFonts||"Symbol"===t||"ZapfDingbats"===t){e.next=5;break}return e.abrupt("return",null);case 5:if(A=kc(),n=A[t],null===this.options.standardFontDataUrl){e.next=22;break}return a="".concat(this.options.standardFontDataUrl).concat(n),e.next=10,fetch(a);case 10:if((o=e.sent).ok){e.next=15;break}q('fetchStandardFontData: failed to fetch file "'.concat(a,'" with "').concat(o.statusText,'".')),e.next=20;break;case 15:return e.t0=Uint8Array,e.next=18,o.arrayBuffer();case 18:e.t1=e.sent,i=new e.t0(e.t1);case 20:e.next=31;break;case 22:return e.prev=22,e.next=25,this.handler.sendWithPromise("FetchStandardFontData",{filename:n});case 25:i=e.sent,e.next=31;break;case 28:e.prev=28,e.t2=e.catch(22),q('fetchStandardFontData: failed to fetch file "'.concat(n,'" with "').concat(e.t2,'".'));case 31:if(i){e.next=33;break}return e.abrupt("return",null);case 33:return this.standardFontDataCache.set(t,i),e.abrupt("return",new ar(i));case 35:case"end":return e.stop()}}),e,this,[[22,28]])}))),function(e){return g.apply(this,arguments)})},{key:"buildFormXObject",value:(c=Yf(Jf().mark((function e(t,r,A,n,i,a,o){var s,c,g,u,l,h,I,f,C,B,Q;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=r.dict,c=Ft(s.getArray("Matrix"),null),g=Rt(s.getArray("BBox"),null),!s.has("OC")){e.next=7;break}return e.next=6,this.parseMarkedContentProps(s.get("OC"),t);case 6:u=e.sent;case 7:if(void 0!==u&&n.addOp(J,["OC",u]),!(h=s.get("Group"))){e.next=28;break}if(l={matrix:c,bbox:g,smask:A,isolated:!1,knockout:!1},I=h.get("S"),f=null,!Ke(I,"Transparency")){e.next=26;break}if(l.isolated=h.get("I")||!1,l.knockout=h.get("K")||!1,!h.has("CS")){e.next=26;break}if(C=h.getRaw("CS"),!(B=Ur.getCached(C,this.xref,o))){e.next=23;break}f=B,e.next=26;break;case 23:return e.next=25,this.parseColorSpace({cs:C,resources:t,localColorSpaceCache:o});case 25:f=e.sent;case 26:null!=A&&A.backdrop&&(f||(f=Ur.singletons.rgb),A.backdrop=f.getRgb(A.backdrop,0)),n.addOp(76,[l]);case 28:return Q=h?[c,null]:[c,g],n.addOp(74,Q),e.next=32,this.getOperatorList({stream:r,task:i,resources:s.get("Resources")||t,operatorList:n,initialState:a});case 32:n.addOp(75,[]),h&&n.addOp(77,[l]),void 0!==u&&n.addOp(H,[]);case 35:case"end":return e.stop()}}),e,this)}))),function(e,t,r,A,n,i,a){return c.apply(this,arguments)})},{key:"_sendImgData",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||r?this.handler.send("commonobj",[e,"Image",t],A):this.handler.send("obj",[e,this.pageIndex,"Image",t],A)}},{key:"buildPaintImageXObject",value:(s=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G=this;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.resources,A=t.image,n=t.isInline,i=void 0!==n&&n,a=t.operatorList,o=t.cacheKey,s=t.localImageCache,c=t.localColorSpaceCache,g=A.dict,u=g.objId,l=g.get("W","Width"),h=g.get("H","Height"),l&&"number"==typeof l&&h&&"number"==typeof h){e.next=8;break}return q("Image dimensions are missing, or not numbers."),e.abrupt("return");case 8:if(!(-1!==(I=this.options.maxImageSize)&&l*h>I)){e.next=15;break}if(f="Image exceeded maximum allowed size and was removed.",!this.options.ignoreErrors){e.next=14;break}return q(f),e.abrupt("return");case 14:throw new Error(f);case 15:if(!g.has("OC")){e.next=19;break}return e.next=18,this.parseMarkedContentProps(g.get("OC"),r);case 18:C=e.sent;case 19:if(!g.get("IM","ImageMask")){e.next=47;break}if(E=g.get("I","Interpolate"),d=l+7>>3,y=A.getBytes(d*h),p=g.getArray("D","Decode"),!this.parsingType3Font){e.next=32;break}return(B=Lf.createRawMask({imgArray:y,width:l,height:h,imageIsFromDecodeStream:A instanceof XA,inverseDecode:(null==p?void 0:p[0])>0,interpolate:E})).cached=!!o,Q=[B],a.addImageOps(Y,Q,C),o&&(v={fn:Y,args:Q,optionalContent:C},s.set(o,u,v),u&&this._regionalImageCache.set(null,u,v)),e.abrupt("return");case 32:return e.next=34,Lf.createMask({imgArray:y,width:l,height:h,imageIsFromDecodeStream:A instanceof XA,inverseDecode:(null==p?void 0:p[0])>0,interpolate:E,isOffscreenCanvasSupported:this.options.isOffscreenCanvasSupported});case 34:if(!(B=e.sent).isSingleOpaquePixel){e.next=39;break}return a.addImageOps(90,[],C),o&&(m={fn:90,args:[],optionalContent:C},s.set(o,u,m),u&&this._regionalImageCache.set(null,u,m)),e.abrupt("return");case 39:return w="mask_".concat(this.idFactory.createObjId()),a.addDependency(w),B.dataLen=B.bitmap?B.width*B.height*4:B.data.length,this._sendImgData(w,B),Q=[{data:w,width:B.width,height:B.height,interpolate:B.interpolate,count:1}],a.addImageOps(Y,Q,C),o&&(b={objId:w,fn:Y,args:Q,optionalContent:C},s.set(o,u,b),u&&this._regionalImageCache.set(null,u,b)),e.abrupt("return");case 47:if(!(i&&l+h<200)||g.has("SMask")||g.has("Mask")){e.next=65;break}return e.prev=49,k=new Lf({xref:this.xref,res:r,image:A,isInline:i,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:c}),e.next=53,k.createImageData(!0,!1);case 53:B=e.sent,a.isOffscreenCanvasSupported=this.options.isOffscreenCanvasSupported,a.addImageOps(86,[B],C),e.next=64;break;case 58:if(e.prev=58,e.t0=e.catch(49),D='Unable to decode inline image: "'.concat(e.t0,'".'),this.options.ignoreErrors){e.next=63;break}throw new Error(D);case 63:q(D);case 64:return e.abrupt("return");case 65:if(S="img_".concat(this.idFactory.createObjId()),F=!1,this.parsingType3Font?S="".concat(this.idFactory.getDocId(),"_type3_").concat(S):o&&u&&(F=this.globalImageCache.shouldCache(u,this.pageIndex))&&(W(!i,"Cannot cache an inline image globally."),S="".concat(this.idFactory.getDocId(),"_").concat(S)),a.addDependency(S),Q=[S,l,h],a.addImageOps(P,Q,C),!F){e.next=83;break}if(!this.globalImageCache.hasDecodeFailed(u)){e.next=75;break}return this.globalImageCache.setData(u,{objId:S,fn:P,args:Q,optionalContent:C,byteSize:0}),this._sendImgData(S,null,F),e.abrupt("return");case 75:if(!(l*h>25e4||g.has("SMask")||g.has("Mask"))){e.next=83;break}return e.next=78,this.handler.sendWithPromise("commonobj",[S,"CopyLocalImage",{imageRef:u}]);case 78:if(!(x=e.sent)){e.next=83;break}return this.globalImageCache.setData(u,{objId:S,fn:P,args:Q,optionalContent:C,byteSize:0}),this.globalImageCache.addByteSize(u,x),e.abrupt("return");case 83:Lf.buildImage({xref:this.xref,res:r,image:A,isInline:i,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:c}).then(function(){var e=Yf(Jf().mark((function e(t){return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.createImageData(!1,G.options.isOffscreenCanvasSupported);case 2:return(B=e.sent).dataLen=B.bitmap?B.width*B.height*4:B.data.length,B.ref=u,F&&G.globalImageCache.addByteSize(u,B.dataLen),e.abrupt("return",G._sendImgData(S,B,F));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return q('Unable to decode image "'.concat(S,'": "').concat(e,'".')),u&&G.globalImageCache.addDecodeFailed(u),G._sendImgData(S,null,F)})),o&&(R={objId:S,fn:P,args:Q,optionalContent:C},s.set(o,u,R),u&&(this._regionalImageCache.set(null,u,R),F&&this.globalImageCache.setData(u,{objId:S,fn:P,args:Q,optionalContent:C,byteSize:0})));case 85:case"end":return e.stop()}}),e,this,[[49,58]])}))),function(e){return s.apply(this,arguments)})},{key:"handleSMask",value:function(e,t,r,A,n,i){var a=e.get("G"),o={subtype:e.get("S").name,backdrop:e.get("BC")},s=e.get("TR");if(sI(s)){for(var c=this._pdfFunctionFactory.create(s),g=new Uint8Array(256),u=new Float32Array(1),l=0;l<256;l++)u[0]=l/255,c(u,0,u,0),g[l]=255*u[0]|0;o.transferMap=g}return this.buildFormXObject(t,a,o,r,A,n.state.clone(),i)}},{key:"handleTransferFunction",value:function(e){var t;if(Array.isArray(e))t=e;else{if(!sI(e))return null;t=[e]}var r,A=[],n=0,i=0,a=jf(t);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=this.xref.fetchIfRef(o);if(n++,Ke(s,"Identity"))A.push(null);else{if(!sI(s))return null;for(var c=this._pdfFunctionFactory.create(s),g=new Uint8Array(256),u=new Float32Array(1),l=0;l<256;l++)u[0]=l/255,c(u,0,u,0),g[l]=255*u[0]|0;A.push(g),i++}}}catch(e){a.e(e)}finally{a.f()}return 1!==n&&4!==n||0===i?null:A}},{key:"handleTilingType",value:function(e,t,r,A,n,i,a,o){var s=this,c=new kf,g=He.merge({xref:this.xref,dictArray:[n.get("Resources"),r]});return this.getOperatorList({stream:A,task:a,resources:g,operatorList:c}).then((function(){var r=c.getIR(),A=Bl(r,n,t);i.addDependencies(c.dependencies),i.addOp(e,A),n.objId&&o.set(null,n.objId,{operatorListIR:r,dict:n})})).catch((function(e){if(!(e instanceof Ae)){if(!s.options.ignoreErrors)throw e;q('handleTilingType - ignoring pattern: "'.concat(e,'".'))}}))}},{key:"handleSetFont",value:(o=Yf(Jf().mark((function e(t,r,A,n,i,a){var o,s,c,g,u=arguments;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=u.length>6&&void 0!==u[6]?u[6]:null,s=u.length>7&&void 0!==u[7]?u[7]:null,c=(null==r?void 0:r[0])instanceof Ue?r[0].name:null,e.next=5,this.loadFont(c,A,t,o,s);case 5:if(!(g=e.sent).font.isType3Font){e.next=16;break}return e.prev=7,e.next=10,g.loadType3Data(this,t,i);case 10:n.addDependencies(g.type3Dependencies),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(7),g=new tC({loadedName:"g_font_error",font:new _u("Type3 font load error: ".concat(e.t0)),dict:g.font,evaluatorOptions:this.options});case 16:return a.font=g.font,g.send(this.handler),e.abrupt("return",g.loadedName);case 19:case"end":return e.stop()}}),e,this,[[7,13]])}))),function(e,t,r,A,n,i){return o.apply(this,arguments)})},{key:"handleText",value:function(t,r){var A=r.font,n=A.charsToGlyphs(t);return A.data&&(4&r.textRenderingMode||"Pattern"===r.fillColorSpace.name||A.disableFontFace||this.options.disableFontFace)&&e.buildFontPaths(A,n,this.handler,this.options),n}},{key:"ensureStateFont",value:function(e){if(!e.font){var t=new re("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw t;q('ensureStateFont: "'.concat(t,'".'))}}},{key:"setGState",value:(a=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B=this;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.resources,A=t.gState,n=t.operatorList,i=t.cacheKey,a=t.task,o=t.stateManager,s=t.localGStateCache,c=t.localColorSpaceCache,g=A.objId,u=!0,l=[],h=Promise.resolve(),I=jf(A.getKeys()),e.prev=6,C=Jf().mark((function e(){var t,i,s;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=f.value,i=A.get(t),e.t0=t,e.next="Type"===e.t0?5:"LW"===e.t0||"LC"===e.t0||"LJ"===e.t0||"ML"===e.t0||"D"===e.t0||"RI"===e.t0||"FL"===e.t0||"CA"===e.t0||"ca"===e.t0?6:"Font"===e.t0?8:"BM"===e.t0?11:"SMask"===e.t0?13:"TR"===e.t0?18:"OP"===e.t0||"op"===e.t0||"OPM"===e.t0||"BG"===e.t0||"BG2"===e.t0||"UCR"===e.t0||"UCR2"===e.t0||"TR2"===e.t0||"HT"===e.t0||"SM"===e.t0||"SA"===e.t0||"AIS"===e.t0||"TK"===e.t0?21:23;break;case 5:return e.abrupt("break",25);case 6:return l.push([t,i]),e.abrupt("break",25);case 8:return u=!1,h=h.then((function(){return B.handleSetFont(r,null,i[0],n,a,o.state).then((function(e){n.addDependency(e),l.push([t,[e,i[1]]])}))})),e.abrupt("break",25);case 11:return l.push([t,Vf(i)]),e.abrupt("break",25);case 13:if(!Ke(i,"None")){e.next=16;break}return l.push([t,!1]),e.abrupt("break",25);case 16:return i instanceof He?(u=!1,h=h.then((function(){return B.handleSMask(i,r,n,a,o,c)})),l.push([t,!0])):q("Unsupported SMask type"),e.abrupt("break",25);case 18:return s=B.handleTransferFunction(i),l.push([t,s]),e.abrupt("break",25);case 21:return T("graphic state operator "+t),e.abrupt("break",25);case 23:return T("Unknown graphic state operator "+t),e.abrupt("break",25);case 25:case"end":return e.stop()}}),e)})),I.s();case 9:if((f=I.n()).done){e.next=13;break}return e.delegateYield(C(),"t0",11);case 11:e.next=9;break;case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(6),I.e(e.t1);case 18:return e.prev=18,I.f(),e.finish(18);case 21:return e.next=23,h;case 23:l.length>0&&n.addOp(9,[l]),u&&s.set(i,g,l);case 25:case"end":return e.stop()}}),e,null,[[6,15,18,21]])}))),function(e){return a.apply(this,arguments)})},{key:"loadFont",value:function(t,r,A){var n,i,a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,c=function(){var e=Yf(Jf().mark((function e(){return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new tC({loadedName:"g_font_error",font:new _u('Font "'.concat(t,'" is not available.')),dict:r,evaluatorOptions:a.options}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(r)r instanceof Ye&&(i=r);else{var g=A.get("Font");g&&(i=g.getRaw(t))}if(i){var u;if(null!==(u=this.type3FontRefs)&&void 0!==u&&u.has(i))return c();if(this.fontCache.has(i))return this.fontCache.get(i);try{r=this.xref.fetchIfRef(i)}catch(e){q('loadFont - lookup failed: "'.concat(e,'".'))}}if(!(r instanceof He)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return q('Font "'.concat(t,'" is not available.')),c();q('Font "'.concat(t,'" is not available -- attempting to fallback to a default font.')),r=o||e.fallbackFontDict}if(r.cacheKey&&this.fontCache.has(r.cacheKey))return this.fontCache.get(r.cacheKey);var l,h=Promise.withResolvers(),I=h.promise,f=h.resolve;try{(l=this.preEvaluateFont(r)).cssFontInfo=s}catch(e){return q('loadFont - preEvaluateFont failed: "'.concat(e,'".')),c()}var C,B=l,Q=B.descriptor,E=B.hash,d=i instanceof Ye;if(E&&Q instanceof He){var y=Q.fontAliases||(Q.fontAliases=Object.create(null));if(y[E]){var p=y[E].aliasRef;if(d&&p&&this.fontCache.has(p))return this.fontCache.putAlias(i,p),this.fontCache.get(i)}else y[E]={fontID:this.idFactory.createFontId()};d&&(y[E].aliasRef=i),C=y[E].fontID}else C=this.idFactory.createFontId();return W(null===(n=C)||void 0===n?void 0:n.startsWith("f"),'The "fontID" must be (correctly) defined.'),d?this.fontCache.put(i,I):(r.cacheKey="cacheKey_".concat(C),this.fontCache.put(r.cacheKey,I)),r.loadedName="".concat(this.idFactory.getDocId(),"_").concat(C),this.translateFont(l).then((function(e){f(new tC({loadedName:r.loadedName,font:e,dict:r,evaluatorOptions:a.options}))})).catch((function(e){q('loadFont - translateFont failed: "'.concat(e,'".')),f(new tC({loadedName:r.loadedName,font:new _u(e instanceof Error?e.message:e),dict:r,evaluatorOptions:a.options}))})),I}},{key:"buildPath",value:function(e,t,r){var A=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=e.length-1;if(r||(r=[]),n<0||91!==e.fnArray[n]){var i;switch(A&&(q('Encountered path operator "'.concat(t,'" inside of a text object.')),e.addOp(x,null)),t){case 19:var a=r[0]+r[2],o=r[1]+r[3];i=[Math.min(r[0],a),Math.min(r[1],o),Math.max(r[0],a),Math.max(r[1],o)];break;case 13:case 14:i=[r[0],r[1],r[0],r[1]];break;default:i=[1/0,1/0,-1/0,-1/0]}e.addOp(91,[[t],r,i]),A&&e.addOp(R,null)}else{var s,c=e.argsArray[n];c[0].push(t),(s=c[1]).push.apply(s,Mf(r));var g=c[2];switch(t){case 19:var u=r[0]+r[2],l=r[1]+r[3];g[0]=Math.min(g[0],r[0],u),g[1]=Math.min(g[1],r[1],l),g[2]=Math.max(g[2],r[0],u),g[3]=Math.max(g[3],r[1],l);break;case 13:case 14:g[0]=Math.min(g[0],r[0]),g[1]=Math.min(g[1],r[1]),g[2]=Math.max(g[2],r[0]),g[3]=Math.max(g[3],r[1])}}}},{key:"parseColorSpace",value:function(e){var t=this,r=e.cs,A=e.resources,n=e.localColorSpaceCache;return Ur.parseAsync({cs:r,xref:this.xref,resources:A,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:n}).catch((function(e){if(e instanceof Ae)return null;if(t.options.ignoreErrors)return q('parseColorSpace - ignoring ColorSpace: "'.concat(e,'".')),null;throw e}))}},{key:"parseShading",value:function(e){var t,r=e.shading,A=e.resources,n=e.localColorSpaceCache,i=e.localShadingPatternCache,a=i.get(r);if(a)return a;try{t=cl.parseShading(r,this.xref,A,this._pdfFunctionFactory,n).getIR()}catch(e){if(e instanceof Ae)return null;if(this.options.ignoreErrors)return q('parseShading - ignoring shading: "'.concat(e,'".')),i.set(r,null),null;throw e}return a="pattern_".concat(this.idFactory.createObjId()),this.parsingType3Font&&(a="".concat(this.idFactory.getDocId(),"_type3_").concat(a)),i.set(r,a),this.parsingType3Font?this.handler.send("commonobj",[a,"Pattern",t]):this.handler.send("obj",[a,this.pageIndex,"Pattern",t]),a}},{key:"handleColorN",value:function(e,t,r,A,n,i,a,o,s,c){var g=r.pop();if(g instanceof Ue){var u=n.getRaw(g.name),l=u instanceof Ye&&s.getByRef(u);if(l)try{var h=A.base?A.base.getRgb(r,0):null,I=Bl(l.operatorListIR,l.dict,h);return void e.addOp(t,I)}catch(e){}var f=this.xref.fetchIfRef(u);if(f){var C=f instanceof ze?f.dict:f,B=C.get("PatternType");if(1===B){var Q=A.base?A.base.getRgb(r,0):null;return this.handleTilingType(t,Q,i,f,C,e,a,s)}if(2===B){var E=C.get("Shading"),d=this.parseShading({shading:E,resources:i,localColorSpaceCache:o,localShadingPatternCache:c});if(d){var y=Ft(C.getArray("Matrix"),null);e.addOp(t,["Shading",d,y])}return}throw new re("Unknown PatternType: ".concat(B))}}throw new re("Unknown PatternName: ".concat(g))}},{key:"_parseVisibilityExpression",value:function(e,t,r){if(++t>10)q("Visibility expression is too deeply nested");else{var A=e.length,n=this.xref.fetchIfRef(e[0]);if(!(A<2)&&n instanceof Ue){switch(n.name){case"And":case"Or":case"Not":r.push(n.name);break;default:return void q("Invalid operator ".concat(n.name," in visibility expression"))}for(var i=1;i<A;i++){var a=e[i],o=this.xref.fetchIfRef(a);if(Array.isArray(o)){var s=[];r.push(s),this._parseVisibilityExpression(o,t,s)}else a instanceof Ye&&r.push(a.toString())}}else q("Invalid visibility expression")}}},{key:"parseMarkedContentProps",value:(i=Yf(Jf().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Ue)){e.next=5;break}i=r.get("Properties"),n=i.get(t.name),e.next=10;break;case 5:if(!(t instanceof He)){e.next=9;break}n=t,e.next=10;break;case 9:throw new re("Optional content properties malformed.");case 10:if("OCG"!==(a=null===(A=n.get("Type"))||void 0===A?void 0:A.name)){e.next=15;break}return e.abrupt("return",{type:a,id:n.objId});case 15:if("OCMD"!==a){e.next=31;break}if(o=n.get("VE"),!Array.isArray(o)){e.next=22;break}if(s=[],this._parseVisibilityExpression(o,0,s),!(s.length>0)){e.next=22;break}return e.abrupt("return",{type:"OCMD",expression:s});case 22:if(c=n.get("OCGs"),!(Array.isArray(c)||c instanceof He)){e.next=29;break}if(g=[],Array.isArray(c)){u=jf(c);try{for(u.s();!(l=u.n()).done;)h=l.value,g.push(h.toString())}catch(e){u.e(e)}finally{u.f()}}else g.push(c.objId);return e.abrupt("return",{type:a,ids:g,policy:n.get("P")instanceof Ue?n.get("P").name:null,expression:null});case 29:if(!(c instanceof Ye)){e.next=31;break}return e.abrupt("return",{type:a,id:c.toString()});case 31:return e.abrupt("return",null);case 32:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"getOperatorList",value:function(e){var t=this,r=e.stream,A=e.task,n=e.resources,i=e.operatorList,a=e.initialState,o=void 0===a?null:a,s=e.fallbackFontDict,c=void 0===s?null:s;if(n||(n=He.empty),o||(o=new nC),!i)throw new Error('getOperatorList: missing "operatorList" parameter');var g=this,u=this.xref,l=!1,h=new Lh,I=new Uh,f=new Jh,C=new Hh,B=new Map,Q=n.get("XObject")||He.empty,E=n.get("Pattern")||He.empty,d=new rC(o),y=new iC(r,u,d),p=new $f;function v(e){for(var t=0,r=y.savedStatesDepth;t<r;t++)i.addOp(R,[])}return new Promise((function e(t,r){var a=function(A){Promise.all([A,i.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};A.ensureNotTerminated(),p.reset();for(var o,s,m,w,b,k,D={};!(o=p.check())&&(D.args=null,y.read(D));){var S=D.args,F=D.fn;switch(0|F){case 66:if(k=S[0]instanceof Ue,b=S[0].name,k){var x=h.getByName(b);if(x){zf(i,x),S=null;continue}}return void a(new Promise((function(e,t){if(!k)throw new re("XObject must be referred to by name.");var r=Q.getRaw(b);if(r instanceof Ye){var a=h.getByRef(r)||g._regionalImageCache.getByRef(r);if(a)return zf(i,a),void e();var o=g.globalImageCache.getData(r,g.pageIndex);if(o)return i.addDependency(o.objId),i.addImageOps(o.fn,o.args,o.optionalContent),void e();r=u.fetch(r)}if(!(r instanceof ze))throw new re("XObject should be a stream");var s=r.dict.get("Subtype");if(!(s instanceof Ue))throw new re("XObject should have a Name subtype");if("Form"===s.name)return d.save(),void g.buildFormXObject(n,r,null,i,A,d.state.clone(),I).then((function(){d.restore(),e()}),t);if("Image"!==s.name){if("PS"!==s.name)throw new re("Unhandled XObject subtype ".concat(s.name));T("Ignored XObject subtype PS"),e()}else g.buildPaintImageXObject({resources:n,image:r,operatorList:i,cacheKey:b,localImageCache:h,localColorSpaceCache:I}).then(e,t)})).catch((function(e){if(!(e instanceof Ae)){if(!g.options.ignoreErrors)throw e;q('getOperatorList - ignoring XObject: "'.concat(e,'".'))}})));case N:var R=S[1];return void a(g.handleSetFont(n,S,null,i,A,d.state,c).then((function(e){i.addDependency(e),i.addOp(N,[e,R])})));case 31:l=!0;break;case 32:l=!1;break;case 65:var G=S[0].cacheKey;if(G){var H=h.getByName(G);if(H){zf(i,H),S=null;continue}}return void a(g.buildPaintImageXObject({resources:n,image:S[0],isInline:!0,operatorList:i,cacheKey:G,localImageCache:h,localColorSpaceCache:I}));case L:if(!d.state.font){g.ensureStateFont(d.state);continue}S[0]=g.handleText(S[0],d.state);break;case 45:if(!d.state.font){g.ensureStateFont(d.state);continue}var Y,P=[],O=d.state,K=jf(S[0]);try{for(K.s();!(Y=K.n()).done;){var j,W=Y.value;"string"==typeof W?(j=P).push.apply(j,Mf(g.handleText(W,O))):"number"==typeof W&&P.push(W)}}catch(e){K.e(e)}finally{K.f()}S[0]=P,F=L;break;case 46:if(!d.state.font){g.ensureStateFont(d.state);continue}i.addOp(43),S[0]=g.handleText(S[0],d.state),F=L;break;case 47:if(!d.state.font){g.ensureStateFont(d.state);continue}i.addOp(43),i.addOp(34,[S.shift()]),i.addOp(33,[S.shift()]),S[0]=g.handleText(S[0],d.state),F=L;break;case 38:d.state.textRenderingMode=S[0];break;case 51:var Z=Ur.getCached(S[0],u,I);if(Z){d.state.fillColorSpace=Z;continue}return void a(g.parseColorSpace({cs:S[0],resources:n,localColorSpaceCache:I}).then((function(e){d.state.fillColorSpace=e||Ur.singletons.gray})));case 50:var _=Ur.getCached(S[0],u,I);if(_){d.state.strokeColorSpace=_;continue}return void a(g.parseColorSpace({cs:S[0],resources:n,localColorSpaceCache:I}).then((function(e){d.state.strokeColorSpace=e||Ur.singletons.gray})));case 54:S=(w=d.state.fillColorSpace).getRgb(S,0),F=M;break;case 52:S=(w=d.state.strokeColorSpace).getRgb(S,0),F=U;break;case 57:d.state.fillColorSpace=Ur.singletons.gray,S=Ur.singletons.gray.getRgb(S,0),F=M;break;case 56:d.state.strokeColorSpace=Ur.singletons.gray,S=Ur.singletons.gray.getRgb(S,0),F=U;break;case 61:d.state.fillColorSpace=Ur.singletons.cmyk,S=Ur.singletons.cmyk.getRgb(S,0),F=M;break;case 60:d.state.strokeColorSpace=Ur.singletons.cmyk,S=Ur.singletons.cmyk.getRgb(S,0),F=U;break;case M:d.state.fillColorSpace=Ur.singletons.rgb,S=Ur.singletons.rgb.getRgb(S,0);break;case U:d.state.strokeColorSpace=Ur.singletons.rgb,S=Ur.singletons.rgb.getRgb(S,0);break;case 55:if(!(w=d.state.patternFillColorSpace)){S=[],F=93;break}if("Pattern"===w.name)return void a(g.handleColorN(i,55,S,w,E,n,A,I,C,B));S=w.getRgb(S,0),F=M;break;case 53:if(!(w=d.state.patternStrokeColorSpace)){S=[],F=92;break}if("Pattern"===w.name)return void a(g.handleColorN(i,53,S,w,E,n,A,I,C,B));S=w.getRgb(S,0),F=U;break;case 62:var X=void 0;try{var V=n.get("Shading");if(!V)throw new re("No shading resource found");if(!(X=V.get(S[0].name)))throw new re("No shading object found")}catch(e){if(e instanceof Ae)continue;if(g.options.ignoreErrors){q('getOperatorList - ignoring Shading: "'.concat(e,'".'));continue}throw e}var z=g.parseShading({shading:X,resources:n,localColorSpaceCache:I,localShadingPatternCache:B});if(!z)continue;S=[z],F=62;break;case 9:if(k=S[0]instanceof Ue,b=S[0].name,k){var $=f.getByName(b);if($){$.length>0&&i.addOp(9,[$]),S=null;continue}}return void a(new Promise((function(e,t){if(!k)throw new re("GState must be referred to by name.");var r=n.get("ExtGState");if(!(r instanceof He))throw new re("ExtGState should be a dictionary.");var a=r.get(b);if(!(a instanceof He))throw new re("GState should be a dictionary.");g.setGState({resources:n,gState:a,operatorList:i,cacheKey:b,task:A,stateManager:d,localGStateCache:f,localColorSpaceCache:I}).then(e,t)})).catch((function(e){if(!(e instanceof Ae)){if(!g.options.ignoreErrors)throw e;q('getOperatorList - ignoring ExtGState: "'.concat(e,'".'))}})));case 13:case 14:case 15:case 16:case 17:case 18:case 19:g.buildPath(i,F,S,l);continue;case 67:case 68:case 72:case 73:continue;case J:if(!(S[0]instanceof Ue)){q("Expected name for beginMarkedContentProps arg0=".concat(S[0])),i.addOp(J,["OC",null]);continue}if("OC"===S[0].name)return void a(g.parseMarkedContentProps(S[1],n).then((function(e){i.addOp(J,["OC",e])})).catch((function(e){if(!(e instanceof Ae)){if(g.options.ignoreErrors)return q('getOperatorList - ignoring beginMarkedContentProps: "'.concat(e,'".')),void i.addOp(J,["OC",null]);throw e}})));S=[S[0].name,S[1]instanceof He?S[1].get("MCID"):null];break;default:if(null!==S){for(s=0,m=S.length;s<m&&!(S[s]instanceof He);s++);if(s<m){q("getOperatorList - ignoring operator: "+F);continue}}}i.addOp(F,S)}o?a(Xf):(v(),t())})).catch((function(e){if(!(e instanceof Ae)){if(t.options.ignoreErrors)return q('getOperatorList - ignoring errors during "'.concat(A.name,'" ')+'task: "'.concat(e,'".')),void v();throw e}}))}},{key:"getTextContent",value:function(e){var t=this,r=e.stream,A=e.task,n=e.resources,i=e.stateManager,a=void 0===i?null:i,o=e.includeMarkedContent,s=void 0!==o&&o,c=e.sink,g=e.seenStyles,u=void 0===g?new Set:g,l=e.viewBox,h=e.lang,I=void 0===h?null:h,f=e.markedContentData,Q=void 0===f?null:f,E=e.disableNormalization,d=void 0!==E&&E,y=e.keepWhiteSpace,p=void 0!==y&&y;n||(n=He.empty),a||(a=new rC(new AC)),s&&(Q||(Q={level:0}));var v={items:[],styles:Object.create(null),lang:I},m={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},w=[" "," "],b=0;function k(e){var t=(b+1)%2,r=" "!==w[b]&&" "===w[t];return w[b]=e,b=t,!p&&r}function D(){return!p&&" "!==w[b]&&" "===w[(b+1)%2]}function S(){w[0]=w[1]=" ",b=0}var F,x=.102,G=.03,U=-.2,M=.102,Y=.6,P=.25,O=this,K=this.xref,T=[],j=null,W=new Lh,Z=new Jh,_=new iC(r,K,a);function X(e){var t=e.width,r=void 0===t?0:t,A=e.height,n=void 0===A?0:A,i=e.transform,a=void 0===i?m.prevTransform:i,o=e.fontName,s=void 0===o?m.fontName:o;v.items.push({str:" ",dir:"ltr",width:r,height:n,transform:a,fontName:s,hasEOL:!1})}function V(){var e=F.font,t=[F.fontSize*F.textHScale,0,0,F.fontSize,0,F.textRise];if(e.isType3Font&&(F.fontSize<=1||e.isCharBBox)&&!Be(F.fontMatrix,B)){var r=e.bbox[3]-e.bbox[1];r>0&&(t[3]*=r*F.fontMatrix[3])}return ge.transform(F.ctm,ge.transform(F.textMatrix,t))}function z(){if(m.initialized)return m;var e=F,t=e.font,r=e.loadedName;if(!u.has(r)&&(u.add(r),v.styles[r]={fontFamily:t.fallbackName,ascent:t.ascent,descent:t.descent,vertical:t.vertical},O.options.fontExtraProperties&&t.systemFontInfo)){var A=v.styles[r];A.fontSubstitution=t.systemFontInfo.css,A.fontSubstitutionLoadedName=t.systemFontInfo.loadedName}m.fontName=r;var n=m.transform=V();t.vertical?(m.width=m.totalWidth=Math.hypot(n[0],n[1]),m.height=m.totalHeight=0,m.vertical=!0):(m.width=m.totalWidth=0,m.height=m.totalHeight=Math.hypot(n[2],n[3]),m.vertical=!1);var i=Math.hypot(F.textLineMatrix[0],F.textLineMatrix[1]),a=Math.hypot(F.ctm[0],F.ctm[1]);m.textAdvanceScale=a*i;var o=F.fontSize;return m.trackingSpaceMin=o*x,m.notASpace=o*G,m.negativeSpaceMax=o*U,m.spaceInFlowMin=o*M,m.spaceInFlowMax=o*Y,m.hasEOL=!1,m.initialized=!0,m}function $(){if(m.initialized){var e=Math.hypot(F.textLineMatrix[0],F.textLineMatrix[1]),t=Math.hypot(F.ctm[0],F.ctm[1])*e;t!==m.textAdvanceScale&&(m.vertical?(m.totalHeight+=m.height*m.textAdvanceScale,m.height=0):(m.totalWidth+=m.width*m.textAdvanceScale,m.width=0),m.textAdvanceScale=t)}}function ee(e,t){return te.apply(this,arguments)}function te(){return(te=Yf(Jf().mark((function e(t,r){var i;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.loadFont(t,r,n);case 2:if(!(i=e.sent).font.isType3Font){e.next=11;break}return e.prev=4,e.next=7,i.loadType3Data(O,n,A);case 7:e.next=11;break;case 9:e.prev=9,e.t0=e.catch(4);case 11:F.loadedName=i.loadedName,F.font=i.font,F.fontMatrix=i.font.fontMatrix||B;case 14:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function ne(e,t,r){var A=Math.hypot(r[0],r[1]);return[(r[0]*e+r[1]*t)/A,(r[2]*e+r[3]*t)/A]}function ie(e){var t,r=V(),A=r[4],n=r[5];if(null!==(t=F.font)&&void 0!==t&&t.vertical){if(A<l[0]||A>l[2]||n+e<l[1]||n>l[3])return!1}else if(A+e<l[0]||A>l[2]||n<l[1]||n>l[3])return!1;if(!F.font||!m.prevTransform)return!0;var i=m.prevTransform[4],a=m.prevTransform[5];if(i===A&&a===n)return!0;var o=-1;switch(r[0]&&0===r[1]&&0===r[2]?o=r[0]>0?0:180:r[1]&&0===r[0]&&0===r[3]&&(o=r[1]>0?90:270),o){case 0:break;case 90:var s=[n,A];A=s[0],n=s[1];var c=[a,i];i=c[0],a=c[1];break;case 180:var g=[-A,-n,-i,-a];A=g[0],n=g[1],i=g[2],a=g[3];break;case 270:var u=[-n,-A];A=u[0],n=u[1];var h=[-a,-i];i=h[0],a=h[1];break;default:var I=Uf(ne(A,n,r),2);A=I[0],n=I[1];var f=Uf(ne(i,a,m.prevTransform),2);i=f[0],a=f[1]}if(F.font.vertical){var C=(a-n)/m.textAdvanceScale,B=A-i,Q=Math.sign(m.height);return C<Q*m.negativeSpaceMax?Math.abs(B)>.5*m.width?(oe(),!0):(S(),ce(),!0):Math.abs(B)>m.width?(oe(),!0):(C<=Q*m.notASpace&&S(),C<=Q*m.trackingSpaceMin?D()?(S(),ce(),X({height:Math.abs(C)})):m.height+=C:se(C,m.prevTransform,Q)||(0===m.str.length?(S(),X({height:Math.abs(C)})):m.height+=C),Math.abs(B)>m.width*P&&ce(),!0)}var E=(A-i)/m.textAdvanceScale,d=n-a,y=Math.sign(m.width);return E<y*m.negativeSpaceMax?Math.abs(d)>.5*m.height?(oe(),!0):(S(),ce(),!0):Math.abs(d)>m.height?(oe(),!0):(E<=y*m.notASpace&&S(),E<=y*m.trackingSpaceMin?D()?(S(),ce(),X({width:Math.abs(E)})):m.width+=E:se(E,m.prevTransform,y)||(0===m.str.length?(S(),X({width:Math.abs(E)})):m.width+=E),Math.abs(d)>m.height*P&&ce(),!0)}function ae(e){var t=e.chars,r=e.extraSpacing,A=F.font;if(!t){var n=F.charSpacing+r;return n&&(A.vertical?F.translateTextMatrix(0,-n):F.translateTextMatrix(n*F.textHScale,0)),void(p&&ie(0))}for(var i=A.charsToGlyphs(t),a=F.fontMatrix[0]*F.fontSize,o=0,s=i.length;o<s;o++){var c=i[o],g=c.category;if(!g.isInvisibleFormatMark){var u=F.charSpacing+(o+1===s?r:0),l=c.width;A.vertical&&(l=c.vmetric?c.vmetric[0]:-l);var h=l*a;if(p||!g.isWhitespace)if(g.isZeroWidthDiacritic||ie(h)){var I=z();g.isZeroWidthDiacritic&&(h=0),A.vertical?(F.translateTextMatrix(0,h),h=Math.abs(h),I.height+=h):(h*=F.textHScale,F.translateTextMatrix(h,0),I.width+=h),h&&(I.prevTransform=V());var f=c.unicode;k(f)&&I.str.push(" "),I.str.push(f),u&&(A.vertical?F.translateTextMatrix(0,-u):F.translateTextMatrix(u*F.textHScale,0))}else A.vertical?F.translateTextMatrix(0,h):F.translateTextMatrix(h*F.textHScale,0);else A.vertical?(u+=-h+F.wordSpacing,F.translateTextMatrix(0,-u)):(u+=h+F.wordSpacing,F.translateTextMatrix(u*F.textHScale,0)),k(" ")}}}function oe(){S(),m.initialized?(m.hasEOL=!0,ce()):v.items.push({str:"",dir:"ltr",width:0,height:0,transform:V(),fontName:F.loadedName,hasEOL:!0})}function se(e,t,r){if(r*m.spaceInFlowMin<=e&&e<=r*m.spaceInFlowMax)return m.initialized&&(S(),m.str.push(" ")),!1;var A=m.fontName,n=0;return m.vertical&&(n=e,e=0),ce(),S(),X({width:Math.abs(e),height:Math.abs(n),transform:t||V(),fontName:A}),!0}function ce(){m.initialized&&m.str&&(m.vertical?m.totalHeight+=m.height*m.textAdvanceScale:m.totalWidth+=m.width*m.textAdvanceScale,v.items.push(function(e){var t,r=e.str.join("");d||(t=r,Ee||(Ee=/([\\xA0\\xB5\\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+)/g,de=new Map([["ſt","ſt"]])),r=t.replaceAll(Ee,(function(e,t,r){return t?t.normalize("NFKC"):de.get(r)})));var A=UI(r,-1,e.vertical);return{str:A.str,dir:A.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}(m)),m.initialized=!1,m.str.length=0)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.items.length;0!==t&&(e&&t<10||(c.enqueue(v,t),v.items=[],v.styles=Object.create(null)))}var le=new $f;return new Promise((function e(t,r){var i=function(A){ue(!0),Promise.all([A,c.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};A.ensureNotTerminated(),le.reset();for(var o,g={},h=[];!(o=le.check())&&(h.length=0,g.args=h,_.read(g));){var f=F;F=a.state;var B=g.fn;switch(h=g.args,0|B){case N:var E=h[0].name,y=h[1];if(F.font&&E===F.fontName&&y===F.fontSize)break;return ce(),F.fontName=E,F.fontSize=y,void i(ee(E,null));case 39:F.textRise=h[0];break;case 35:F.textHScale=h[0]/100;break;case 36:F.leading=h[0];break;case 40:F.translateTextLineMatrix(h[0],h[1]),F.textMatrix=F.textLineMatrix.slice();break;case 41:F.leading=-h[1],F.translateTextLineMatrix(h[0],h[1]),F.textMatrix=F.textLineMatrix.slice();break;case 43:F.carriageReturn();break;case 42:F.setTextMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),F.setTextLineMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),$();break;case 33:F.charSpacing=h[0];break;case 34:F.wordSpacing=h[0];break;case 31:F.textMatrix=C.slice(),F.textLineMatrix=C.slice();break;case 45:if(!a.state.font){O.ensureStateFont(a.state);continue}for(var m=(F.font.vertical?1:-1)*F.fontSize/1e3,w=h[0],b=0,k=w.length;b<k;b++){var D=w[b];if("string"==typeof D)T.push(D);else if("number"==typeof D&&0!==D){var S=T.join("");T.length=0,ae({chars:S,extraSpacing:D*m})}}if(T.length>0){var x=T.join("");T.length=0,ae({chars:x,extraSpacing:0})}break;case L:if(!a.state.font){O.ensureStateFont(a.state);continue}ae({chars:h[0],extraSpacing:0});break;case 46:if(!a.state.font){O.ensureStateFont(a.state);continue}F.carriageReturn(),ae({chars:h[0],extraSpacing:0});break;case 47:if(!a.state.font){O.ensureStateFont(a.state);continue}F.wordSpacing=h[0],F.charSpacing=h[1],F.carriageReturn(),ae({chars:h[2],extraSpacing:0});break;case 66:ce(),j||(j=n.get("XObject")||He.empty);var G=h[0]instanceof Ue,U=h[0].name;if(G&&W.getByName(U))break;return void i(new Promise((function(e,t){if(!G)throw new re("XObject must be referred to by name.");var r=j.getRaw(U);if(r instanceof Ye){if(W.getByRef(r))return void e();if(O.globalImageCache.getData(r,O.pageIndex))return void e();r=K.fetch(r)}if(!(r instanceof ze))throw new re("XObject should be a stream");var i=r.dict.get("Subtype");if(!(i instanceof Ue))throw new re("XObject should have a Name subtype");if("Form"!==i.name)return W.set(U,r.dict.objId,!0),void e();var o=a.state.clone(),g=new rC(o),h=Ft(r.dict.getArray("Matrix"),null);h&&g.transform(h),ue();var f={enqueueInvoked:!1,enqueue(e,t){this.enqueueInvoked=!0,c.enqueue(e,t)},get desiredSize(){return c.desiredSize},get ready(){return c.ready}};O.getTextContent({stream:r,task:A,resources:r.dict.get("Resources")||n,stateManager:g,includeMarkedContent:s,sink:f,seenStyles:u,viewBox:l,lang:I,markedContentData:Q,disableNormalization:d,keepWhiteSpace:p}).then((function(){f.enqueueInvoked||W.set(U,r.dict.objId,!0),e()}),t)})).catch((function(e){if(!(e instanceof Ae)){if(!O.options.ignoreErrors)throw e;q('getTextContent - ignoring XObject: "'.concat(e,'".'))}})));case 9:if(G=h[0]instanceof Ue,U=h[0].name,G&&Z.getByName(U))break;return void i(new Promise((function(e,t){if(!G)throw new re("GState must be referred to by name.");var r=n.get("ExtGState");if(!(r instanceof He))throw new re("ExtGState should be a dictionary.");var A=r.get(U);if(!(A instanceof He))throw new re("GState should be a dictionary.");var i=A.get("Font");if(!i)return Z.set(U,A.objId,!0),void e();ce(),F.fontName=null,F.fontSize=i[1],ee(null,i[0]).then(e,t)})).catch((function(e){if(!(e instanceof Ae)){if(!O.options.ignoreErrors)throw e;q('getTextContent - ignoring ExtGState: "'.concat(e,'".'))}})));case 69:ce(),s&&(Q.level++,v.items.push({type:"beginMarkedContent",tag:h[0]instanceof Ue?h[0].name:null}));break;case J:if(ce(),s){Q.level++;var M=null;h[1]instanceof He&&(M=h[1].get("MCID")),v.items.push({type:"beginMarkedContentProps",id:Number.isInteger(M)?"".concat(O.idFactory.getPageObjId(),"_mc").concat(M):null,tag:h[0]instanceof Ue?h[0].name:null})}break;case H:if(ce(),s){if(0===Q.level)break;Q.level--,v.items.push({type:"endMarkedContent"})}break;case R:!f||f.font===F.font&&f.fontSize===F.fontSize&&f.fontName===F.fontName||ce()}if(v.items.length>=c.desiredSize){o=!0;break}}o?i(Xf):(ce(),ue(),t())})).catch((function(e){if(!(e instanceof Ae)){if(t.options.ignoreErrors)return q('getTextContent - ignoring errors during "'.concat(A.name,'" ')+'task: "'.concat(e,'".')),ce(),void ue();throw e}}))}},{key:"extractDataStructures",value:(n=Yf(Jf().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A=this.xref,i=this.readToUnicode(r.toUnicode),!r.composite){e.next=15;break}(a=t.get("CIDSystemInfo"))instanceof He&&(r.cidSystemInfo={registry:Ie(a.get("Registry")),ordering:Ie(a.get("Ordering")),supplement:a.get("Supplement")}),e.prev=5,(o=t.get("CIDToGIDMap"))instanceof ze&&(n=o.getBytes()),e.next=15;break;case 10:if(e.prev=10,e.t0=e.catch(5),this.options.ignoreErrors){e.next=14;break}throw e.t0;case 14:q('extractDataStructures - ignoring CIDToGIDMap data: "'.concat(e.t0,'".'));case 15:if(s=[],c=null,!t.has("Encoding")){e.next=61;break}if(!((g=t.get("Encoding"))instanceof He)){e.next=52;break}if(c=(c=g.get("BaseEncoding"))instanceof Ue?c.name:null,!g.has("Differences")){e.next=50;break}u=g.get("Differences"),l=0,h=jf(u),e.prev=26,h.s();case 28:if((I=h.n()).done){e.next=42;break}if(f=I.value,"number"!=typeof(C=A.fetchIfRef(f))){e.next=35;break}l=C,e.next=40;break;case 35:if(!(C instanceof Ue)){e.next=39;break}s[l++]=C.name,e.next=40;break;case 39:throw new re("Invalid entry in 'Differences' array: ".concat(C));case 40:e.next=28;break;case 42:e.next=47;break;case 44:e.prev=44,e.t1=e.catch(26),h.e(e.t1);case 47:return e.prev=47,h.f(),e.finish(47);case 50:e.next=60;break;case 52:if(!(g instanceof Ue)){e.next=56;break}c=g.name,e.next=60;break;case 56:if(B="Encoding is not a Name nor a Dict",this.options.ignoreErrors){e.next=59;break}throw new re(B);case 59:q(B);case 60:"MacRomanEncoding"!==c&&"MacExpertEncoding"!==c&&"WinAnsiEncoding"!==c&&(c=null);case 61:return Q=!r.file||r.isInternalFont,E=Fc()[r.name],c&&Q&&E&&(c=null),c?r.defaultEncoding=Rs(c):(d=!!(4&r.flags),y=!!(32&r.flags),g=Ds,"TrueType"!==r.type||y||(g=Ss),(d||E)&&(g=ks,Q&&(/Symbol/i.test(r.name)?g=Fs:/Dingbats/i.test(r.name)?g=xs:/Wingdings/i.test(r.name)&&(g=Ss))),r.defaultEncoding=g),r.differences=s,r.baseEncodingName=c,r.hasEncoding=!!c||s.length>0,r.dict=t,e.next=70,i;case 70:return r.toUnicode=e.sent,e.next=73,this.buildToUnicode(r);case 73:return p=e.sent,r.toUnicode=p,n&&(r.cidToGidMap=this.readCidToGidMap(n,p)),e.abrupt("return",r);case 77:case"end":return e.stop()}}),e,this,[[5,10],[26,44,47,50]])}))),function(e,t){return n.apply(this,arguments)})},{key:"_simpleFontToUnicode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];W(!e.composite,"Must be a simple font.");var r=[],A=e.defaultEncoding.slice(),n=e.baseEncodingName,i=e.differences;for(var a in i){var o=i[a];".notdef"!==o&&(A[a]=o)}var s=lc();for(var c in A){var g=A[c];if(""!==g){var u=s[g];if(void 0===u){var l=0;switch(g[0]){case"G":3===g.length&&(l=parseInt(g.substring(1),16));break;case"g":5===g.length&&(l=parseInt(g.substring(1),16));break;case"C":case"c":if(g.length>=3&&g.length<=4){var h=g.substring(1);if(t){l=parseInt(h,16);break}if(l=+h,Number.isNaN(l)&&Number.isInteger(parseInt(h,16)))return this._simpleFontToUnicode(e,!0)}break;case"u":-1!==(u=fc(g,s))&&(l=u);break;default:switch(g){case"f_h":case"f_t":case"T_h":r[c]=g.replaceAll("_","");continue}}if(l>0&&l<=1114111&&Number.isInteger(l)){if(n&&l===+c){var I=Rs(n);if(I&&(g=I[c])){r[c]=String.fromCharCode(s[g]);continue}}r[c]=String.fromCodePoint(l)}}else r[c]=String.fromCharCode(u)}}return r}},{key:"buildToUnicode",value:(A=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.hasIncludedToUnicodeMap=(null===(r=t.toUnicode)||void 0===r?void 0:r.length)>0,!t.hasIncludedToUnicodeMap){e.next=4;break}return!t.composite&&t.hasEncoding&&(t.fallbackToUnicode=this._simpleFontToUnicode(t)),e.abrupt("return",t.toUnicode);case 4:if(t.composite){e.next=6;break}return e.abrupt("return",new Yc(this._simpleFontToUnicode(t)));case 6:if(!t.composite||(!t.cMap.builtInCMap||t.cMap instanceof ns)&&("Adobe"!==(null===(A=t.cidSystemInfo)||void 0===A?void 0:A.registry)||"GB1"!==t.cidSystemInfo.ordering&&"CNS1"!==t.cidSystemInfo.ordering&&"Japan1"!==t.cidSystemInfo.ordering&&"Korea1"!==t.cidSystemInfo.ordering)){e.next=15;break}return n=t.cidSystemInfo,i=n.registry,a=n.ordering,o=Ue.get("".concat(i,"-").concat(a,"-UCS2")),e.next=11,ys.create({encoding:o,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 11:return s=e.sent,c=[],g=[],t.cMap.forEach((function(e,t){if(t>65535)throw new re("Max size of CID is 65,535");var r=s.lookup(t);if(r){g.length=0;for(var A=0,n=r.length;A<n;A+=2)g.push((r.charCodeAt(A)<<8)+r.charCodeAt(A+1));c[e]=String.fromCharCode.apply(String,g)}})),e.abrupt("return",new Yc(c));case 15:return e.abrupt("return",new Pc(t.firstChar,t.lastChar));case 16:case"end":return e.stop()}}),e,this)}))),function(e){return A.apply(this,arguments)})},{key:"readToUnicode",value:(r=Yf(Jf().mark((function e(t){var r,A,n;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",null);case 2:if(!(t instanceof Ue)){e.next=9;break}return e.next=5,ys.create({encoding:t,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 5:if(!((r=e.sent)instanceof ns)){e.next=8;break}return e.abrupt("return",new Pc(0,65535));case 8:return e.abrupt("return",new Yc(r.getMap()));case 9:if(!(t instanceof ze)){e.next=29;break}return e.prev=10,e.next=13,ys.create({encoding:t,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 13:if(!((A=e.sent)instanceof ns)){e.next=16;break}return e.abrupt("return",new Pc(0,65535));case 16:return n=new Array(A.length),A.forEach((function(e,t){if("number"!=typeof t){t.length%2!=0&&(t="\\0"+t);for(var r=[],A=0;A<t.length;A+=2){var i=t.charCodeAt(A)<<8|t.charCodeAt(A+1);if(55296==(63488&i)){A+=2;var a=t.charCodeAt(A)<<8|t.charCodeAt(A+1);r.push(((1023&i)<<10)+(1023&a)+65536)}else r.push(i)}n[e]=String.fromCodePoint.apply(String,r)}else n[e]=String.fromCodePoint(t)})),e.abrupt("return",new Yc(n));case 21:if(e.prev=21,e.t0=e.catch(10),!(e.t0 instanceof Ae)){e.next=25;break}return e.abrupt("return",null);case 25:if(!this.options.ignoreErrors){e.next=28;break}return q('readToUnicode - ignoring ToUnicode data: "'.concat(e.t0,'".')),e.abrupt("return",null);case 28:throw e.t0;case 29:return e.abrupt("return",null);case 30:case"end":return e.stop()}}),e,this,[[10,21]])}))),function(e){return r.apply(this,arguments)})},{key:"readCidToGidMap",value:function(e,t){for(var r=[],A=0,n=e.length;A<n;A++){var i=e[A++]<<8|e[A],a=A>>1;(0!==i||t.has(a))&&(r[a]=i)}return r}},{key:"extractWidths",value:function(e,t,r){var A,n=this.xref,i=[],a=0,o=[];if(r.composite){var s=e.get("DW");a="number"==typeof s?Math.ceil(s):1e3;var c=e.get("W");if(Array.isArray(c))for(var g=0,u=c.length;g<u;g++){var l=n.fetchIfRef(c[g++]);if(!Number.isInteger(l))break;var h=n.fetchIfRef(c[g]);if(Array.isArray(h)){var I,f=jf(h);try{for(f.s();!(I=f.n()).done;){var C=I.value,B=n.fetchIfRef(C);"number"==typeof B&&(i[l]=B),l++}}catch(e){f.e(e)}finally{f.f()}}else{if(!Number.isInteger(h))break;var Q=n.fetchIfRef(c[++g]);if("number"!=typeof Q)continue;for(var E=l;E<=h;E++)i[E]=Q}}if(r.vertical){var d=e.getArray("DW2"),y=St(d,2)?d:[880,-1e3];if(A=[y[1],.5*a,y[0]],y=e.get("W2"),Array.isArray(y))for(var p=0,v=y.length;p<v;p++){var m=n.fetchIfRef(y[p++]);if(!Number.isInteger(m))break;var w=n.fetchIfRef(y[p]);if(Array.isArray(w))for(var b=0,k=w.length;b<k;b++){var D=[n.fetchIfRef(w[b++]),n.fetchIfRef(w[b++]),n.fetchIfRef(w[b])];St(D,null)&&(o[m]=D),m++}else{if(!Number.isInteger(w))break;var S=[n.fetchIfRef(y[++p]),n.fetchIfRef(y[++p]),n.fetchIfRef(y[++p])];if(!St(S,null))continue;for(var F=m;F<=w;F++)o[F]=S}}}}else{var x=e.get("Widths");if(Array.isArray(x)){var R,G=r.firstChar,N=jf(x);try{for(N.s();!(R=N.n()).done;){var L=R.value,U=n.fetchIfRef(L);"number"==typeof U&&(i[G]=U),G++}}catch(e){N.e(e)}finally{N.f()}var M=t.get("MissingWidth");a="number"==typeof M?M:0}else{var J=e.get("BaseFont");if(J instanceof Ue){var H=this.getBaseFontMetrics(J.name);i=this.buildCharCodeToWidth(H.widths,r),a=H.defaultWidth}}}var Y=!0,P=a;for(var O in i){var K=i[O];if(K)if(P){if(P!==K){Y=!1;break}}else P=K}Y?r.flags|=1:r.flags&=-2,r.defaultWidth=a,r.widths=i,r.defaultVMetrics=A,r.vmetrics=o}},{key:"isSerifFont",value:function(e){var t=e.split("-",1)[0];return t in Sc()||/serif/gi.test(t)}},{key:"getBaseFontMetrics",value:function(e){var t=0,r=Object.create(null),A=!1,n=bc()[e]||e,i=Eg();n in i||(n=this.isSerifFont(e)?"Times-Roman":"Helvetica");var a=i[n];return"number"==typeof a?(t=a,A=!0):r=a(),{defaultWidth:t,monospace:A,widths:r}}},{key:"buildCharCodeToWidth",value:function(e,t){for(var r=Object.create(null),A=t.differences,n=t.defaultEncoding,i=0;i<256;i++)i in A&&e[A[i]]?r[i]=e[A[i]]:i in n&&e[n[i]]&&(r[i]=e[n[i]]);return r}},{key:"preEvaluateFont",value:function(e){var t=e,r=e.get("Subtype");if(!(r instanceof Ue))throw new re("invalid font Subtype");var A,n=!1;if("Type0"===r.name){var i=e.get("DescendantFonts");if(!i)throw new re("Descendant fonts are not specified");if(!((e=Array.isArray(i)?this.xref.fetchIfRef(i[0]):i)instanceof He))throw new re("Descendant font is not a dictionary.");if(!((r=e.get("Subtype"))instanceof Ue))throw new re("invalid font Subtype");n=!0}var a=e.get("FirstChar");Number.isInteger(a)||(a=0);var o=e.get("LastChar");Number.isInteger(o)||(o=n?65535:255);var s=e.get("FontDescriptor"),c=e.get("ToUnicode")||t.get("ToUnicode");if(s){A=new uf;var g=t.getRaw("Encoding");if(g instanceof Ue)A.update(g.name);else if(g instanceof Ye)A.update(g.toString());else if(g instanceof He){var u,l=jf(g.getRawValues());try{for(l.s();!(u=l.n()).done;){var h=u.value;if(h instanceof Ue)A.update(h.name);else if(h instanceof Ye)A.update(h.toString());else if(Array.isArray(h)){for(var I=h.length,f=new Array(I),C=0;C<I;C++){var B=h[C];B instanceof Ue?f[C]=B.name:("number"==typeof B||B instanceof Ye)&&(f[C]=B.toString())}A.update(f.join())}}}catch(e){l.e(e)}finally{l.f()}}if(A.update("".concat(a,"-").concat(o)),c instanceof ze){var Q=c.str||c,E=Q.buffer?new Uint8Array(Q.buffer.buffer,0,Q.bufferLength):new Uint8Array(Q.bytes.buffer,Q.start,Q.end-Q.start);A.update(E)}else c instanceof Ue&&A.update(c.name);var d=e.get("Widths")||t.get("Widths");if(Array.isArray(d)){var y,p=[],v=jf(d);try{for(v.s();!(y=v.n()).done;){var m=y.value;("number"==typeof m||m instanceof Ye)&&p.push(m.toString())}}catch(e){v.e(e)}finally{v.f()}A.update(p.join())}if(n){A.update("compositeFont");var w=e.get("W")||t.get("W");if(Array.isArray(w)){var b,k=[],D=jf(w);try{for(D.s();!(b=D.n()).done;){var S=b.value;if("number"==typeof S||S instanceof Ye)k.push(S.toString());else if(Array.isArray(S)){var F,x=[],R=jf(S);try{for(R.s();!(F=R.n()).done;){var G=F.value;("number"==typeof G||G instanceof Ye)&&x.push(G.toString())}}catch(e){R.e(e)}finally{R.f()}k.push("[".concat(x.join(),"]"))}}}catch(e){D.e(e)}finally{D.f()}A.update(k.join())}var N=e.getRaw("CIDToGIDMap")||t.getRaw("CIDToGIDMap");N instanceof Ue?A.update(N.name):N instanceof Ye?A.update(N.toString()):N instanceof ze&&A.update(N.peekBytes())}}return{descriptor:s,dict:e,baseDict:t,composite:n,type:r.name,firstChar:a,lastChar:o,toUnicode:c,hash:A?A.hexdigest():""}}},{key:"translateFont",value:(t=Yf(Jf().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,j,W,Z,_,X,V,z,$,ee,te,Ae,ne,ie,ae;return Jf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.descriptor,i=t.dict,a=t.baseDict,o=t.composite,s=t.type,c=t.firstChar,g=t.lastChar,u=t.toUnicode,l=t.cssFontInfo,h="Type3"===s,n){e.next=32;break}if(!h){e.next=10;break}I=Rt(i.getArray("FontBBox"),[0,0,0,0]),(n=new He(null)).set("FontName",Ue.get(s)),n.set("FontBBox",I),e.next=32;break;case 10:if((f=i.get("BaseFont"))instanceof Ue){e.next=13;break}throw new re("Base font is not specified");case 13:if(f=f.name.replaceAll(/[,_]/g,"-"),C=this.getBaseFontMetrics(f),Q=f.split("-",1)[0],E=(this.isSerifFont(Q)?2:0)|(C.monospace?1:0)|(Fc()[Q]?4:32),d={type:s,name:f,loadedName:a.loadedName,systemFontInfo:null,widths:C.widths,defaultWidth:C.defaultWidth,isSimulatedFlags:!0,flags:E,firstChar:c,lastChar:g,toUnicode:u,xHeight:0,capHeight:0,italicAngle:0,isType3Font:h},y=i.get("Widths"),p=Nc(f),v=null,!p){e.next=26;break}return e.next=24,this.fetchStandardFontData(p);case 24:v=e.sent,d.isInternalFont=!!v;case 26:return!d.isInternalFont&&this.options.useSystemFonts&&(d.systemFontInfo=_I(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,f,p,s)),e.next=29,this.extractDataStructures(i,d);case 29:if(m=e.sent,Array.isArray(y)){w=[],b=c,k=jf(y);try{for(k.s();!(D=k.n()).done;)S=D.value,"number"==typeof(F=this.xref.fetchIfRef(S))&&(w[b]=F),b++}catch(e){k.e(e)}finally{k.f()}m.widths=w}else m.widths=this.buildCharCodeToWidth(C.widths,m);return e.abrupt("return",new Zu(f,v,m));case 32:if(x=n.get("FontName"),R=i.get("BaseFont"),"string"==typeof x&&(x=Ue.get(x)),"string"==typeof R&&(R=Ue.get(R)),G=null===(r=x)||void 0===r?void 0:r.name,N=null===(A=R)||void 0===A?void 0:A.name,h||G===N||(T("The FontDescriptor's FontName is \\"".concat(G,'" but ')+"should be the same as the Font's BaseFont \\"".concat(N,'".')),G&&N&&(N.startsWith(G)||!Lc(G)&&Lc(N))&&(x=null)),x||(x=R),x instanceof Ue){e.next=42;break}throw new re("invalid font name");case 42:e.prev=42,L=n.get("FontFile","FontFile2","FontFile3"),e.next=52;break;case 46:if(e.prev=46,e.t0=e.catch(42),this.options.ignoreErrors){e.next=50;break}throw e.t0;case 50:q('translateFont - fetching "'.concat(x.name,'" font file: "').concat(e.t0,'".')),L=new sr;case 52:if(Y=!1,P=null,O=null,!L){e.next=59;break}L.dict&&((K=L.dict.get("Subtype"))instanceof Ue&&(U=K.name),M=L.dict.get("Length1"),J=L.dict.get("Length2"),H=L.dict.get("Length3")),e.next=81;break;case 59:if(!l){e.next=73;break}if(!(j=sh(x.name))){e.next=71;break}return l.fontFamily="".concat(l.fontFamily,"-PdfJS-XFA"),l.metrics=j.metrics||null,P=j.factors||null,e.next=67,this.fetchStandardFontData(j.name);case 67:L=e.sent,Y=!!L,a=i=ch(x.name),o=!0;case 71:e.next=81;break;case 73:if(h){e.next=81;break}if(!(W=Nc(x.name))){e.next=80;break}return e.next=78,this.fetchStandardFontData(W);case 78:L=e.sent,Y=!!L;case 80:!Y&&this.options.useSystemFonts&&(O=_I(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,x.name,W,s));case 81:if(Z=Ft(i.getArray("FontMatrix"),B),_=Rt(n.getArray("FontBBox")||i.getArray("FontBBox"),void 0),"number"!=typeof(X=n.get("Ascent"))&&(X=void 0),"number"!=typeof(V=n.get("Descent"))&&(V=void 0),"number"!=typeof(z=n.get("XHeight"))&&(z=0),"number"!=typeof($=n.get("CapHeight"))&&($=0),ee=n.get("Flags"),Number.isInteger(ee)||(ee=0),"number"!=typeof(te=n.get("ItalicAngle"))&&(te=0),Ae={type:s,name:x.name,subtype:U,file:L,length1:M,length2:J,length3:H,isInternalFont:Y,loadedName:a.loadedName,composite:o,fixedPitch:!1,fontMatrix:Z,firstChar:c,lastChar:g,toUnicode:u,bbox:_,ascent:X,descent:V,xHeight:z,capHeight:$,flags:ee,italicAngle:te,isType3Font:h,cssFontInfo:l,scaleFactors:P,systemFontInfo:O},!o){e.next=104;break}return(ne=a.get("Encoding"))instanceof Ue&&(Ae.cidEncoding=ne.name),e.next=101,ys.create({encoding:ne,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 101:ie=e.sent,Ae.cMap=ie,Ae.vertical=Ae.cMap.vertical;case 104:return e.next=106,this.extractDataStructures(i,Ae);case 106:return ae=e.sent,this.extractWidths(i,n,ae),e.abrupt("return",new Zu(x.name,L,ae));case 109:case"end":return e.stop()}}),e,this,[[42,46]])}))),function(e){return t.apply(this,arguments)})}],[{key:"buildFontPaths",value:function(e,t,r,A){function n(t){var n="".concat(e.loadedName,"_path_").concat(t);try{if(e.renderer.hasBuiltPath(t))return;r.send("commonobj",[n,"FontPath",e.renderer.getPathJs(t)])}catch(e){if(A.ignoreErrors)return void q("buildFontPaths - ignoring ".concat(n,' glyph: "').concat(e,'".'));throw e}}var i,a=jf(t);try{for(a.s();!(i=a.n()).done;){var o=i.value;n(o.fontChar);var s=o.accent;null!=s&&s.fontChar&&n(s.fontChar)}}catch(e){a.e(e)}finally{a.f()}}},{key:"fallbackFontDict",get:function(){var e=new He;return e.set("BaseFont",Ue.get("Helvetica")),e.set("Type",Ue.get("FallbackType")),e.set("Subtype",Ue.get("FallbackType")),e.set("Encoding",Ue.get("WinAnsiEncoding")),_(this,"fallbackFontDict",e)}}]);var t,r,A,n,i,a,o,s,c,g,u}(),tC=function(){return Kf((function e(t){var r=t.loadedName,A=t.font,n=t.dict,i=t.evaluatorOptions;Pf(this,e),this.loadedName=r,this.font=A,this.dict=n,this._evaluatorOptions=i||_f,this.type3Loaded=null,this.type3Dependencies=A.isType3Font?new Set:null,this.sent=!1}),[{key:"send",value:function(e){this.sent||(this.sent=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}},{key:"fallback",value:function(e){this.font.data&&(this.font.disableFontFace=!0,eC.buildFontPaths(this.font,this.font.glyphCacheValues,e,this._evaluatorOptions))}},{key:"loadType3Data",value:function(e,t,r){var A=this;if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");var n=e.clone({ignoreErrors:!1}),i=new Pe(e.type3FontRefs);this.dict.objId&&!i.has(this.dict.objId)&&i.put(this.dict.objId),n.type3FontRefs=i;var a,o=this.font,s=this.type3Dependencies,c=Promise.resolve(),g=this.dict.get("CharProcs"),u=this.dict.get("Resources")||t,l=Object.create(null),h=ge.normalizeRect(o.bbox||[0,0,0,0]),I=h[2]-h[0],f=h[3]-h[1],C=Math.hypot(I,f),B=jf(g.getKeys());try{var Q=function(){var e=a.value;c=c.then((function(){var t=g.get(e),i=new kf;return n.getOperatorList({stream:t,task:r,resources:u,operatorList:i}).then((function(){49===i.fnArray[0]&&A._removeType3ColorOperators(i,C),l[e]=i.getIR();var t,r=jf(i.dependencies);try{for(r.s();!(t=r.n()).done;){var n=t.value;s.add(n)}}catch(e){r.e(e)}finally{r.f()}})).catch((function(t){q('Type3 font resource "'.concat(e,'" is not available.'));var r=new kf;l[e]=r.getIR()}))}))};for(B.s();!(a=B.n()).done;)Q()}catch(e){B.e(e)}finally{B.f()}return this.type3Loaded=c.then((function(){o.charProcOperatorList=l,A._bbox&&(o.isCharBBox=!0,o.bbox=A._bbox)})),this.type3Loaded}},{key:"_removeType3ColorOperators",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,r=ge.normalizeRect(e.argsArray[0].slice(2)),A=r[2]-r[0],n=r[3]-r[1],i=Math.hypot(A,n);0===A||0===n?(e.fnArray.splice(0,1),e.argsArray.splice(0,1)):(0===t||Math.round(i/t)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],r[0]),this._bbox[1]=Math.min(this._bbox[1],r[1]),this._bbox[2]=Math.max(this._bbox[2],r[2]),this._bbox[3]=Math.max(this._bbox[3],r[3]));for(var a=0,o=e.length;a<o;){switch(e.fnArray[a]){case 49:break;case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case U:case M:case 60:case 61:case 62:case 7:e.fnArray.splice(a,1),e.argsArray.splice(a,1),o--;continue;case 9:for(var s=Uf(e.argsArray[a],1)[0],c=0,g=s.length;c<g;){switch(Uf(s[c],1)[0]){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":s.splice(c,1),g--;continue}c++}}a++}}}])}(),rC=function(){return Kf((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new nC;Pf(this,e),this.state=t,this.stateStack=[]}),[{key:"save",value:function(){var e=this.state;this.stateStack.push(this.state),this.state=e.clone()}},{key:"restore",value:function(){var e=this.stateStack.pop();e&&(this.state=e)}},{key:"transform",value:function(e){this.state.ctm=ge.transform(this.state.ctm,e)}}])}(),AC=function(){return Kf((function e(){Pf(this,e),this.ctm=new Float32Array(C),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=B,this.textMatrix=C.slice(),this.textLineMatrix=C.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}),[{key:"setTextMatrix",value:function(e,t,r,A,n,i){var a=this.textMatrix;a[0]=e,a[1]=t,a[2]=r,a[3]=A,a[4]=n,a[5]=i}},{key:"setTextLineMatrix",value:function(e,t,r,A,n,i){var a=this.textLineMatrix;a[0]=e,a[1]=t,a[2]=r,a[3]=A,a[4]=n,a[5]=i}},{key:"translateTextMatrix",value:function(e,t){var r=this.textMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"translateTextLineMatrix",value:function(e,t){var r=this.textLineMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"carriageReturn",value:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}},{key:"clone",value:function(){var e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}])}(),nC=function(){return Kf((function e(){Pf(this,e),this.ctm=new Float32Array(C),this.font=null,this.textRenderingMode=0,this._fillColorSpace=Ur.singletons.gray,this._strokeColorSpace=Ur.singletons.gray,this.patternFillColorSpace=null,this.patternStrokeColorSpace=null}),[{key:"fillColorSpace",get:function(){return this._fillColorSpace},set:function(e){this._fillColorSpace=this.patternFillColorSpace=e}},{key:"strokeColorSpace",get:function(){return this._strokeColorSpace},set:function(e){this._strokeColorSpace=this.patternStrokeColorSpace=e}},{key:"clone",value:function(){return Object.create(this)}}])}(),iC=function(){function e(t,r){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new rC;Pf(this,e),this.parser=new Jo({lexer:new Oo(t,e.opMap),xref:r}),this.stateManager=A,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}return Kf(e,[{key:"savedStatesDepth",get:function(){return this.stateManager.stateStack.length}},{key:"read",value:function(t){for(var r=t.args;;){var A=this.parser.getObj();if(A instanceof Me){var n=A.cmd,i=e.opMap[n];if(!i){q('Unknown command "'.concat(n,'".'));continue}var a=i.id,o=i.numArgs,s=null!==r?r.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=a>=13&&a<=28,i.variableArgs)s>o&&T("Command ".concat(n,": expected [0, ").concat(o,"] args, ")+"but received ".concat(s," args."));else{if(s!==o){for(var c=this.nonProcessedArgs;s>o;)c.push(r.shift()),s--;for(;s<o&&0!==c.length;)null===r&&(r=[]),r.unshift(c.pop()),s++}if(s<o){var g="command ".concat(n,": expected ").concat(o," args, ")+"but received ".concat(s," args.");if(this._isPathOp&&++this._numInvalidPathOPS>e.MAX_INVALID_PATH_OPS)throw new re("Invalid ".concat(g));q("Skipping ".concat(g)),null!==r&&(r.length=0);continue}}return this.preprocessCommand(a,r),t.fn=a,t.args=r,!0}if(A===Re)return!1;if(null!==A&&(null===r&&(r=[]),r.push(A),r.length>33))throw new re("Too many arguments")}}},{key:"preprocessCommand",value:function(e,t){switch(0|e){case x:this.stateManager.save();break;case R:this.stateManager.restore();break;case G:this.stateManager.transform(t)}}}],[{key:"opMap",get:function(){return _(this,"opMap",Object.assign(Object.create(null),{w:{id:2,numArgs:1,variableArgs:!1},J:{id:3,numArgs:1,variableArgs:!1},j:{id:4,numArgs:1,variableArgs:!1},M:{id:5,numArgs:1,variableArgs:!1},d:{id:6,numArgs:2,variableArgs:!1},ri:{id:7,numArgs:1,variableArgs:!1},i:{id:8,numArgs:1,variableArgs:!1},gs:{id:9,numArgs:1,variableArgs:!1},q:{id:x,numArgs:0,variableArgs:!1},Q:{id:R,numArgs:0,variableArgs:!1},cm:{id:G,numArgs:6,variableArgs:!1},m:{id:13,numArgs:2,variableArgs:!1},l:{id:14,numArgs:2,variableArgs:!1},c:{id:15,numArgs:6,variableArgs:!1},v:{id:16,numArgs:4,variableArgs:!1},y:{id:17,numArgs:4,variableArgs:!1},h:{id:18,numArgs:0,variableArgs:!1},re:{id:19,numArgs:4,variableArgs:!1},S:{id:20,numArgs:0,variableArgs:!1},s:{id:21,numArgs:0,variableArgs:!1},f:{id:22,numArgs:0,variableArgs:!1},F:{id:22,numArgs:0,variableArgs:!1},"f*":{id:23,numArgs:0,variableArgs:!1},B:{id:24,numArgs:0,variableArgs:!1},"B*":{id:25,numArgs:0,variableArgs:!1},b:{id:26,numArgs:0,variableArgs:!1},"b*":{id:27,numArgs:0,variableArgs:!1},n:{id:28,numArgs:0,variableArgs:!1},W:{id:29,numArgs:0,variableArgs:!1},"W*":{id:30,numArgs:0,variableArgs:!1},BT:{id:31,numArgs:0,variableArgs:!1},ET:{id:32,numArgs:0,variableArgs:!1},Tc:{id:33,numArgs:1,variableArgs:!1},Tw:{id:34,numArgs:1,variableArgs:!1},Tz:{id:35,numArgs:1,variableArgs:!1},TL:{id:36,numArgs:1,variableArgs:!1},Tf:{id:N,numArgs:2,variableArgs:!1},Tr:{id:38,numArgs:1,variableArgs:!1},Ts:{id:39,numArgs:1,variableArgs:!1},Td:{id:40,numArgs:2,variableArgs:!1},TD:{id:41,numArgs:2,variableArgs:!1},Tm:{id:42,numArgs:6,variableArgs:!1},"T*":{id:43,numArgs:0,variableArgs:!1},Tj:{id:L,numArgs:1,variableArgs:!1},TJ:{id:45,numArgs:1,variableArgs:!1},"'":{id:46,numArgs:1,variableArgs:!1},'"':{id:47,numArgs:3,variableArgs:!1},d0:{id:48,numArgs:2,variableArgs:!1},d1:{id:49,numArgs:6,variableArgs:!1},CS:{id:50,numArgs:1,variableArgs:!1},cs:{id:51,numArgs:1,variableArgs:!1},SC:{id:52,numArgs:4,variableArgs:!0},SCN:{id:53,numArgs:33,variableArgs:!0},sc:{id:54,numArgs:4,variableArgs:!0},scn:{id:55,numArgs:33,variableArgs:!0},G:{id:56,numArgs:1,variableArgs:!1},g:{id:57,numArgs:1,variableArgs:!1},RG:{id:U,numArgs:3,variableArgs:!1},rg:{id:M,numArgs:3,variableArgs:!1},K:{id:60,numArgs:4,variableArgs:!1},k:{id:61,numArgs:4,variableArgs:!1},sh:{id:62,numArgs:1,variableArgs:!1},BI:{id:63,numArgs:0,variableArgs:!1},ID:{id:64,numArgs:0,variableArgs:!1},EI:{id:65,numArgs:1,variableArgs:!1},Do:{id:66,numArgs:1,variableArgs:!1},MP:{id:67,numArgs:1,variableArgs:!1},DP:{id:68,numArgs:2,variableArgs:!1},BMC:{id:69,numArgs:1,variableArgs:!1},BDC:{id:J,numArgs:2,variableArgs:!1},EMC:{id:H,numArgs:0,variableArgs:!1},BX:{id:72,numArgs:0,variableArgs:!1},EX:{id:73,numArgs:0,variableArgs:!1},BM:null,BD:null,true:null,fa:null,fal:null,fals:null,false:null,nu:null,nul:null,null:null}))}}])}();function aC(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sC(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function oC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||sC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sC(e,t){if(e){if("string"==typeof e)return cC(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cC(e,t):void 0}}function cC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function gC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uC(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,hC(A.key),A)}}function lC(e,t,r){return t&&uC(e.prototype,t),r&&uC(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hC(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function IC(e,t,r){return t=CC(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fC()?Reflect.construct(t,r||[],CC(e).constructor):t.apply(e,r))}function fC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fC=function(){return!!e})()}function CC(e){return CC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},CC(e)}function BC(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&QC(e,t)}function QC(e,t){return QC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},QC(e,t)}Tf(iC,"MAX_INVALID_PATH_OPS",10);var EC=function(e){function t(e){return gC(this,t),IC(this,t,[new or(e)])}return BC(t,iC),lC(t,[{key:"parse",value:function(){var e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,this.read(e);)if(0===this.savedStatesDepth){var r=e.fn,A=e.args;switch(0|r){case N:var n=oC(A,2),i=n[0],a=n[1];i instanceof Ue&&(t.fontName=i.name),"number"==typeof a&&a>0&&(t.fontSize=a);break;case M:Ur.singletons.rgb.getRgbItem(A,0,t.fontColor,0);break;case 57:Ur.singletons.gray.getRgbItem(A,0,t.fontColor,0);break;case 61:Ur.singletons.cmyk.getRgbItem(A,0,t.fontColor,0)}}}catch(e){q('parseDefaultAppearance - ignoring errors: "'.concat(e,'".'))}return t}}])}();function dC(e){return new EC(e).parse()}var yC=function(e){function t(e,r,A){var n,i;return gC(this,t),(i=IC(this,t,[e])).stream=e,i.evaluatorOptions=r,i.xref=A,i.resources=null===(n=e.dict)||void 0===n?void 0:n.get("Resources"),i}return BC(t,iC),lC(t,[{key:"parse",value:function(){var e={fn:0,args:[]},t={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:Ur.singletons.gray},r=!1,A=[];try{for(;e.args.length=0,!r&&this.read(e);){var n=e.fn,i=e.args;switch(0|n){case x:A.push({scaleFactor:t.scaleFactor,fontSize:t.fontSize,fontName:t.fontName,fontColor:t.fontColor.slice(),fillColorSpace:t.fillColorSpace});break;case R:t=A.pop()||t;break;case 42:t.scaleFactor*=Math.hypot(i[0],i[1]);break;case N:var a=oC(i,2),o=a[0],s=a[1];o instanceof Ue&&(t.fontName=o.name),"number"==typeof s&&s>0&&(t.fontSize=s*t.scaleFactor);break;case 51:t.fillColorSpace=Ur.parse({cs:i[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:this._localColorSpaceCache});break;case 54:t.fillColorSpace.getRgbItem(i,0,t.fontColor,0);break;case M:Ur.singletons.rgb.getRgbItem(i,0,t.fontColor,0);break;case 57:Ur.singletons.gray.getRgbItem(i,0,t.fontColor,0);break;case 61:Ur.singletons.cmyk.getRgbItem(i,0,t.fontColor,0);break;case L:case 45:case 46:case 47:r=!0}}}catch(e){q('parseAppearanceStream - ignoring errors: "'.concat(e,'".'))}return this.stream.reset(),delete t.scaleFactor,delete t.fillColorSpace,t}},{key:"_localColorSpaceCache",get:function(){return _(this,"_localColorSpaceCache",new Uh)}},{key:"_pdfFunctionFactory",get:function(){return _(this,"_pdfFunctionFactory",new iI({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported}))}}])}();function pC(e,t){if(e[0]===e[1]&&e[1]===e[2]){var r=e[0]/255;return"".concat(Tt(r)," ").concat(t?"g":"G")}return Array.from(e,(function(e){return Tt(e/255)})).join(" ")+" ".concat(t?"rg":"RG")}var vC=function(){function e(t,r){gC(this,e),this.xref=t,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=r;var A=new OffscreenCanvas(1,1);this.ctxMeasure=A.getContext("2d",{willReadFrequently:!0}),e._fontNameId||(e._fontNameId=1),this.fontName=Ue.get("InvalidPDFjsFont_".concat(r,"_").concat(e._fontNameId++))}return lC(e,[{key:"fontDescriptorRef",get:function(){if(!e._fontDescriptorRef){var t=new He(this.xref);t.set("Type",Ue.get("FontDescriptor")),t.set("FontName",this.fontName),t.set("FontFamily","MyriadPro Regular"),t.set("FontBBox",[0,0,0,0]),t.set("FontStretch",Ue.get("Normal")),t.set("FontWeight",400),t.set("ItalicAngle",0),e._fontDescriptorRef=this.xref.getNewPersistentRef(t)}return e._fontDescriptorRef}},{key:"descendantFontRef",get:function(){var e=new He(this.xref);e.set("BaseFont",this.fontName),e.set("Type",Ue.get("Font")),e.set("Subtype",Ue.get("CIDFontType0")),e.set("CIDToGIDMap",Ue.get("Identity")),e.set("FirstChar",this.firstChar),e.set("LastChar",this.lastChar),e.set("FontDescriptor",this.fontDescriptorRef),e.set("DW",1e3);var t,r=[],A=null,n=null,i=aC(function(e){return function(e){if(Array.isArray(e))return cC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sC(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.widths.entries()).sort());try{for(i.s();!(t=i.n()).done;){var a=oC(t.value,2),o=a[0],s=a[1];A?o===A+n.length?n.push(s):(r.push(A,n),A=o,n=[s]):(A=o,n=[s])}}catch(e){i.e(e)}finally{i.f()}A&&r.push(A,n),e.set("W",r);var c=new He(this.xref);return c.set("Ordering","Identity"),c.set("Registry","Adobe"),c.set("Supplement",0),e.set("CIDSystemInfo",c),this.xref.getNewPersistentRef(e)}},{key:"baseFontRef",get:function(){var e=new He(this.xref);return e.set("BaseFont",this.fontName),e.set("Type",Ue.get("Font")),e.set("Subtype",Ue.get("Type0")),e.set("Encoding",Ue.get("Identity-H")),e.set("DescendantFonts",[this.descendantFontRef]),e.set("ToUnicode",Ue.get("Identity-H")),this.xref.getNewPersistentRef(e)}},{key:"resources",get:function(){var e=new He(this.xref),t=new He(this.xref);return t.set(this.fontName.name,this.baseFontRef),e.set("Font",t),e}},{key:"_createContext",value:function(){return this.widths=new Map,this.ctxMeasure.font="1000px ".concat(this.fontFamily),this.ctxMeasure}},{key:"createFontResources",value:function(e){var t,r=this._createContext(),A=aC(e.split(/\\r\\n?|\\n/));try{for(A.s();!(t=A.n()).done;){var n,i=aC(t.value.split(""));try{for(i.s();!(n=i.n()).done;){var a=n.value,o=a.charCodeAt(0);if(!this.widths.has(o)){var s=r.measureText(a),c=Math.ceil(s.width);this.widths.set(o,c),this.firstChar=Math.min(o,this.firstChar),this.lastChar=Math.max(o,this.lastChar)}}}catch(e){i.e(e)}finally{i.f()}}}catch(e){A.e(e)}finally{A.f()}return this.resources}},{key:"createAppearance",value:function(e,t,r,A,n,i){var a,o=this._createContext(),s=[],c=-1/0,g=aC(e.split(/\\r\\n?|\\n/));try{for(g.s();!(a=g.n()).done;){var u=a.value;s.push(u);var l=o.measureText(u).width;c=Math.max(c,l);var h,I=aC(Ht(u));try{for(I.s();!(h=I.n()).done;){var f=h.value,C=String.fromCodePoint(f),B=this.widths.get(f);if(void 0===B){var E=o.measureText(C);B=Math.ceil(E.width),this.widths.set(f,B),this.firstChar=Math.min(f,this.firstChar),this.lastChar=Math.max(f,this.lastChar)}}}catch(e){I.e(e)}finally{I.f()}}}catch(e){g.e(e)}finally{g.f()}c*=A/1e3;var d=oC(t,4),y=d[0],p=d[1],v=d[2]-y,m=d[3]-p;if(r%180!=0){var w=[m,v];v=w[0],m=w[1]}var b=1;c>v&&(b=v/c);var k=1,D=Q*A,S=.35*A,F=D*s.length;F>m&&(k=m/F);var x=A*Math.min(b,k),R=["q","0 0 ".concat(Tt(v)," ").concat(Tt(m)," re W n"),"BT","1 0 0 1 0 ".concat(Tt(m+S)," Tm 0 Tc ").concat(pC(n,!0)),"/".concat(this.fontName.name," ").concat(Tt(x)," Tf")],G=this.resources;if(1!==(i="number"==typeof i&&i>=0&&i<=1?i:1)){R.push("/R0 gs");var N=new He(this.xref),L=new He(this.xref);L.set("ca",i),L.set("CA",i),L.set("Type",Ue.get("ExtGState")),N.set("R0",L),G.set("ExtGState",N)}for(var U=Tt(D),M=0,J=s;M<J.length;M++){var H=J[M];R.push("0 -".concat(U," Td <").concat(Wt(H),"> Tj"))}R.push("ET","Q");var Y=R.join("\\n"),P=new He(this.xref);if(P.set("Subtype",Ue.get("Form")),P.set("Type",Ue.get("XObject")),P.set("BBox",[0,0,v,m]),P.set("Length",Y.length),P.set("Resources",G),r){var O=_t(r,v,m);P.set("Matrix",O)}var K=new or(Y);return K.dict=P,K}}],[{key:"getFirstPositionInfo",value:function(e,t,r){var A=oC(e,4),n=A[0],i=A[1],a=A[2]-n,o=A[3]-i;if(t%180!=0){var s=[o,a];a=s[0],o=s[1]}var c=Q*r;return{coords:[0,o+.35*r-c],bbox:[0,0,a,o],matrix:0!==t?_t(t,o,c):void 0}}}])}();function mC(e,t,r){return t=bC(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wC()?Reflect.construct(t,r||[],bC(e).constructor):t.apply(e,r))}function wC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wC=function(){return!!e})()}function bC(e){return bC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bC(e)}function kC(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DC(e,t)}function DC(e,t){return DC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DC(e,t)}function SC(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return FC(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?FC(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function FC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function xC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RC(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,NC(A.key),A)}}function GC(e,t,r){return t&&RC(e.prototype,t),r&&RC(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function NC(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(6851),r(9750);var LC=function(){return GC((function e(t,r,A){xC(this,e),this.root=t,this.xref=r,this._type=A}),[{key:"getAll",value:function(){var e=new Map;if(!this.root)return e;var t=this.xref,r=new Pe;r.put(this.root);for(var A=[this.root];A.length>0;){var n=t.fetchIfRef(A.shift());if(n instanceof He)if(n.has("Kids")){var i=n.get("Kids");if(!Array.isArray(i))continue;var a,o=SC(i);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(r.has(s))throw new re('Duplicate entry in "'.concat(this._type,'" tree.'));A.push(s),r.put(s)}}catch(e){o.e(e)}finally{o.f()}}else{var c=n.get(this._type);if(Array.isArray(c))for(var g=0,u=c.length;g<u;g+=2)e.set(t.fetchIfRef(c[g]),t.fetchIfRef(c[g+1]))}}return e}},{key:"getRaw",value:function(e){if(!this.root)return null;for(var t=this.xref,r=t.fetchIfRef(this.root),A=0;r.has("Kids");){if(++A>10)return q('Search depth limit reached for "'.concat(this._type,'" tree.')),null;var n=r.get("Kids");if(!Array.isArray(n))return null;for(var i=0,a=n.length-1;i<=a;){var o=i+a>>1,s=t.fetchIfRef(n[o]),c=s.get("Limits");if(e<t.fetchIfRef(c[0]))a=o-1;else{if(!(e>t.fetchIfRef(c[1]))){r=s;break}i=o+1}}if(i>a)return null}var g=r.get(this._type);if(Array.isArray(g))for(var u=0,l=g.length-2;u<=l;){var h=u+l>>1,I=h+(1&h),f=t.fetchIfRef(g[I]);if(e<f)l=I-2;else{if(!(e>f))return g[I+1];u=I+2}}return null}},{key:"get",value:function(e){return this.xref.fetchIfRef(this.getRaw(e))}}])}(),UC=function(e){function t(e,r){return xC(this,t),mC(this,t,[e,r,"Names"])}return kC(t,LC),GC(t)}(),MC=function(e){function t(e,r){return xC(this,t),mC(this,t,[e,r,"Nums"])}return kC(t,LC),GC(t)}();function JC(){hl=Object.create(null),Ge=Object.create(null),Ne=Object.create(null),Le=Object.create(null),Ec.clear(),Va.cleanup()}function HC(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,YC(A.key),A)}}function YC(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function PC(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function OC(e){return e instanceof He?e.has("UF")?e.get("UF"):e.has("F")?e.get("F"):e.has("Unix")?e.get("Unix"):e.has("Mac")?e.get("Mac"):e.has("DOS")?e.get("DOS"):null:null}var KC=new WeakMap,TC=function(){return function(e,t,r){return t&&HC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){var A,n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,KC,!1),t instanceof He&&(this.xref=r,this.root=t,t.has("FS")&&(this.fs=t.get("FS")),t.has("RF")&&q("Related file specifications are not supported"),i||(t.has("EF")?(n=this,(A=KC).set(PC(A,n),!0)):q("Non-embedded file specifications are not supported")))}),[{key:"filename",get:function(){var e="",t=OC(this.root);return t&&"string"==typeof t&&(e=Ie(t).replaceAll("\\\\\\\\","\\\\").replaceAll("\\\\/","/").replaceAll("\\\\","/")),_(this,"filename",e||"unnamed")}},{key:"content",get:function(){var e,t;if(this,!(t=KC).get(PC(t,this)))return null;this._contentRef||(this._contentRef=OC(null===(e=this.root)||void 0===e?void 0:e.get("EF")));var r=null;if(this._contentRef){var A=this.xref.fetchIfRef(this._contentRef);A instanceof ze?r=A.getBytes():q("Embedded file specification points to non-existing/invalid content")}else q("Embedded file specification does not have any content");return r}},{key:"description",get:function(){var e,t="",r=null===(e=this.root)||void 0===e?void 0:e.get("Desc");return r&&"string"==typeof r&&(t=Ie(r)),_(this,"description",t)}},{key:"serializable",get:function(){return{rawFilename:this.filename,filename:(e=this.filename,e.substring(e.lastIndexOf("/")+1)),content:this.content,description:this.description};var e}}])}();function qC(e,t,r){return t=WC(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jC()?Reflect.construct(t,r||[],WC(e).constructor):t.apply(e,r))}function jC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jC=function(){return!!e})()}function WC(e){return WC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WC(e)}function ZC(e,t){return ZC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZC(e,t)}function _C(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=VC(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function XC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||VC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function VC(e,t){if(e){if("string"==typeof e)return zC(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zC(e,t):void 0}}function zC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function $C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,rB(A.key),A)}}function tB(e,t,r){return t&&eB(e.prototype,t),r&&eB(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function rB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}r(9210);function AB(e,t){var r=e[t];return" "===r||"\\n"===r||"\\r"===r||"\\t"===r}var nB=function(){return tB((function e(){$C(this,e)}),[{key:"_resolveEntities",value:function(e){var t=this;return e.replaceAll(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCodePoint(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCodePoint(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r=[],A=t;function n(){for(;A<e.length&&AB(e,A);)++A}for(;A<e.length&&!AB(e,A)&&">"!==e[A]&&"/"!==e[A];)++A;var i=e.substring(t,A);for(n();A<e.length&&">"!==e[A]&&"/"!==e[A]&&"?"!==e[A];){n();for(var a,o="";A<e.length&&!AB(e,A)&&"="!==e[A];)o+=e[A],++A;if(n(),"="!==e[A])return null;++A,n();var s=e[A];if('"'!==s&&"'"!==s)return null;var c=e.indexOf(s,++A);if(c<0)return null;a=e.substring(A,c),r.push({name:o,value:this._resolveEntities(a)}),A=c+1,n()}return{name:i,attributes:r,parsed:A-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var r=t;r<e.length&&!AB(e,r)&&">"!==e[r]&&"?"!==e[r]&&"/"!==e[r];)++r;var A=e.substring(t,r);!function(){for(;r<e.length&&AB(e,r);)++r}();for(var n=r;r<e.length&&("?"!==e[r]||">"!==e[r+1]);)++r;return{name:A,value:e.substring(n,r),parsed:r-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var r=t;if("<"===e[t]){var A=void 0;switch(e[++r]){case"/":if(++r,(A=e.indexOf(">",r))<0)return void this.onError(-9);this.onEndElement(e.substring(r,A)),r=A+1;break;case"?":++r;var n=this._parseProcessingInstruction(e,r);if("?>"!==e.substring(r+n.parsed,r+n.parsed+2))return void this.onError(-3);this.onPi(n.name,n.value),r+=n.parsed+2;break;case"!":if("--"===e.substring(r+1,r+3)){if((A=e.indexOf("--\\x3e",r+3))<0)return void this.onError(-5);this.onComment(e.substring(r+3,A)),r=A+3}else if("[CDATA["===e.substring(r+1,r+8)){if((A=e.indexOf("]]>",r+8))<0)return void this.onError(-2);this.onCdata(e.substring(r+8,A)),r=A+3}else{if("DOCTYPE"!==e.substring(r+1,r+8))return void this.onError(-6);var i=e.indexOf("[",r+8),a=!1;if((A=e.indexOf(">",r+8))<0)return void this.onError(-4);if(i>0&&A>i){if((A=e.indexOf("]>",r+8))<0)return void this.onError(-4);a=!0}var o=e.substring(r+8,A+(a?1:0));this.onDoctype(o),r=A+(a?2:1)}break;default:var s=this._parseContent(e,r);if(null===s)return void this.onError(-6);var c=!1;if("/>"===e.substring(r+s.parsed,r+s.parsed+2))c=!0;else if(">"!==e.substring(r+s.parsed,r+s.parsed+1))return void this.onError(-9);this.onBeginElement(s.name,s.attributes,c),r+=s.parsed+(c?2:1)}}else{for(;r<e.length&&"<"!==e[r];)r++;var g=e.substring(t,r);this.onText(this._resolveEntities(g))}t=r}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}])}(),iB=function(){return tB((function e(t,r){$C(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}),[{key:"firstChild",get:function(){var e;return null===(e=this.childNodes)||void 0===e?void 0:e[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}},{key:"children",get:function(){return this.childNodes||[]}},{key:"hasChildNodes",value:function(){var e;return(null===(e=this.childNodes)||void 0===e?void 0:e.length)>0}},{key:"searchNode",value:function(e,t){if(t>=e.length)return this;var r=e[t];if(r.name.startsWith("#")&&t<e.length-1)return this.searchNode(e,t+1);for(var A=[],n=this;;){var i;if(r.name===n.nodeName){if(0!==r.pos){if(0===A.length)return null;var a,o=0,s=_C(XC(A.pop(),1)[0].childNodes);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(r.name===c.nodeName){if(o===r.pos)return c.searchNode(e,t+1);o++}}}catch(e){s.e(e)}finally{s.f()}return n.searchNode(e,t+1)}var g=n.searchNode(e,t+1);if(null!==g)return g}if((null===(i=n.childNodes)||void 0===i?void 0:i.length)>0)A.push([n,0]),n=n.childNodes[0];else{if(0===A.length)return null;for(;0!==A.length;){var u=XC(A.pop(),2),l=u[0],h=u[1]+1;if(h<l.childNodes.length){A.push([l,h]),n=l.childNodes[h];break}}if(0===A.length)return null}}}},{key:"dump",value:function(e){if("#text"!==this.nodeName){if(e.push("<".concat(this.nodeName)),this.attributes){var t,r=_C(this.attributes);try{for(r.s();!(t=r.n()).done;){var A=t.value;e.push(" ".concat(A.name,'="').concat(Yt(A.value),'"'))}}catch(e){r.e(e)}finally{r.f()}}if(this.hasChildNodes()){e.push(">");var n,i=_C(this.childNodes);try{for(i.s();!(n=i.n()).done;)n.value.dump(e)}catch(e){i.e(e)}finally{i.f()}e.push("</".concat(this.nodeName,">"))}else this.nodeValue?e.push(">".concat(Yt(this.nodeValue),"</").concat(this.nodeName,">")):e.push("/>")}else e.push(Yt(this.nodeValue))}}])}(),aB=function(e){function t(e){var r,A=e.hasAttributes,n=void 0!==A&&A,i=e.lowerCaseName,a=void 0!==i&&i;return $C(this,t),(r=qC(this,t))._currentFragment=null,r._stack=null,r._errorCode=0,r._hasAttributes=n,r._lowerCaseName=a,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZC(e,t)}(t,nB),tB(t,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=0,this.parseXml(e),0===this._errorCode){var t=XC(this._currentFragment,1)[0];if(t)return{documentElement:t}}}},{key:"onText",value:function(e){if(!function(e){for(var t=0,r=e.length;t<r;t++)if(!AB(e,t))return!1;return!0}(e)){var t=new iB("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new iB("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){this._lowerCaseName&&(e=e.toLowerCase());var A=new iB(e);A.childNodes=[],this._hasAttributes&&(A.attributes=t),this._currentFragment.push(A),r||(this._stack.push(this._currentFragment),this._currentFragment=A.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment.at(-1);if(!t)return null;var r,A=_C(t.childNodes);try{for(A.s();!(r=A.n()).done;)r.value.parentNode=t}catch(e){A.e(e)}finally{A.f()}return t}},{key:"onError",value:function(e){this._errorCode=e}}])}();function oB(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sB(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function sB(e,t){if(e){if("string"==typeof e)return cB(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cB(e,t):void 0}}function cB(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function gB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,uB(A.key),A)}}function uB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var lB=function(){return function(e,t,r){return t&&gB(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this._repair(t);var r=new aB({lowerCaseName:!0}).parseFromString(t);this._metadataMap=new Map,this._data=t,r&&this._parse(r)}),[{key:"_repair",value:function(e){return e.replace(/^[^<]+/,"").replaceAll(/>\\\\376\\\\377([^<]+)/g,(function(e,t){for(var r=t.replaceAll(/\\\\([0-3])([0-7])([0-7])/g,(function(e,t,r,A){return String.fromCharCode(64*t+8*r+1*A)})).replaceAll(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))})),A=[">"],n=0,i=r.length;n<i;n+=2){var a=256*r.charCodeAt(n)+r.charCodeAt(n+1);a>=32&&a<127&&60!==a&&62!==a&&38!==a?A.push(String.fromCharCode(a)):A.push("&#x"+(65536+a).toString(16).substring(1)+";")}return A.join("")}))}},{key:"_getSequence",value:function(e){var t=e.nodeName;return"rdf:bag"!==t&&"rdf:seq"!==t&&"rdf:alt"!==t?null:e.childNodes.filter((function(e){return"rdf:li"===e.nodeName}))}},{key:"_parseArray",value:function(e){if(e.hasChildNodes()){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||sB(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.childNodes,1)[0],r=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,r.map((function(e){return e.textContent.trim()})))}}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName)for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName;)t=t.nextSibling;if(t&&"rdf:rdf"===t.nodeName&&t.hasChildNodes()){var r,A=oB(t.childNodes);try{for(A.s();!(r=A.n()).done;){var n=r.value;if("rdf:description"===n.nodeName){var i,a=oB(n.childNodes);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=o.nodeName;switch(s){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(o);continue}this._metadataMap.set(s,o.textContent.trim())}}catch(e){a.e(e)}finally{a.f()}}}}catch(e){A.e(e)}finally{A.f()}}}},{key:"serializable",get:function(){return{parsedData:this._metadataMap,rawData:this._data}}}])}();function hB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,IB(A.key),A)}}function IB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function fB(e,t,r){return t=BB(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,CB()?Reflect.construct(t,r||[],BB(e).constructor):t.apply(e,r))}function CB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(CB=function(){return!!e})()}function BB(e){return BB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},BB(e)}function QB(e,t){return QB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},QB(e,t)}var EB=function(e){function t(e,r,A){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=fB(this,t,[r])).str=e,n.dict=e.dict,n.decrypt=A,n.nextChunk=null,n.initialized=!1,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&QB(e,t)}(t,XA),function(e,t,r){return t&&hB(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"readBlock",value:function(){var e,t;if(this.initialized?t=this.nextChunk:(t=this.str.getBytes(512),this.initialized=!0),t&&0!==t.length){this.nextChunk=this.str.getBytes(512);var r=(null===(e=this.nextChunk)||void 0===e?void 0:e.length)>0;t=(0,this.decrypt)(t,!r);var A=this.bufferLength,n=A+t.length;this.ensureBuffer(n).set(t,A),this.bufferLength=n}else this.eof=!0}}])}();function dB(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function yB(e,t,r){return t=vB(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pB()?Reflect.construct(t,r||[],vB(e).constructor):t.apply(e,r))}function pB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pB=function(){return!!e})()}function vB(e){return vB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vB(e)}function mB(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wB(e,t)}function wB(e,t){return wB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wB(e,t)}function bB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kB(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,SB(A.key),A)}}function DB(e,t,r){return t&&kB(e.prototype,t),r&&kB(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function SB(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var FB=function(){return DB((function e(t){bB(this,e),this.a=0,this.b=0;for(var r=new Uint8Array(256),A=t.length,n=0;n<256;++n)r[n]=n;for(var i=0,a=0;i<256;++i){var o=r[i];a=a+o+t[i%A]&255,r[i]=r[a],r[a]=o}this.s=r}),[{key:"encryptBlock",value:function(e){for(var t=this.a,r=this.b,A=this.s,n=e.length,i=new Uint8Array(n),a=0;a<n;++a){var o=A[t=t+1&255],s=A[r=r+o&255];A[t]=s,A[r]=o,i[a]=e[a]^A[o+s&255]}return this.a=t,this.b=r,i}},{key:"decryptBlock",value:function(e){return this.encryptBlock(e)}},{key:"encrypt",value:function(e){return this.encryptBlock(e)}}])}(),xB=function(){var e=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),t=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);return function(r,A,n){var i,a,o=1732584193,s=-271733879,c=-1732584194,g=271733878,u=n+72&-64,l=new Uint8Array(u);for(i=0;i<n;++i)l[i]=r[A++];l[i++]=128;for(var h=u-8;i<h;)l[i++]=0;l[i++]=n<<3&255,l[i++]=n>>5&255,l[i++]=n>>13&255,l[i++]=n>>21&255,l[i++]=n>>>29&255,l[i++]=0,l[i++]=0,l[i++]=0;var I=new Int32Array(16);for(i=0;i<u;){for(a=0;a<16;++a,i+=4)I[a]=l[i]|l[i+1]<<8|l[i+2]<<16|l[i+3]<<24;var f=o,C=s,B=c,Q=g,E=void 0,d=void 0;for(a=0;a<64;++a){a<16?(E=C&B|~C&Q,d=a):a<32?(E=Q&C|~Q&B,d=5*a+1&15):a<48?(E=C^B^Q,d=3*a+5&15):(E=B^(C|~Q),d=7*a&15);var y=Q,p=f+E+t[a]+I[d]|0,v=e[a];Q=B,B=C,C=C+(p<<v|p>>>32-v)|0,f=y}o=o+f|0,s=s+C|0,c=c+B|0,g=g+Q|0}return new Uint8Array([255&o,o>>8&255,o>>16&255,o>>>24&255,255&s,s>>8&255,s>>16&255,s>>>24&255,255&c,c>>8&255,c>>16&255,c>>>24&255,255&g,g>>8&255,g>>16&255,g>>>24&255])}}(),RB=function(){return DB((function e(t,r){bB(this,e),this.high=0|t,this.low=0|r}),[{key:"and",value:function(e){this.high&=e.high,this.low&=e.low}},{key:"xor",value:function(e){this.high^=e.high,this.low^=e.low}},{key:"or",value:function(e){this.high|=e.high,this.low|=e.low}},{key:"shiftRight",value:function(e){e>=32?(this.low=this.high>>>e-32|0,this.high=0):(this.low=this.low>>>e|this.high<<32-e,this.high=this.high>>>e|0)}},{key:"shiftLeft",value:function(e){e>=32?(this.high=this.low<<e-32,this.low=0):(this.high=this.high<<e|this.low>>>32-e,this.low<<=e)}},{key:"rotateRight",value:function(e){var t,r;32&e?(r=this.low,t=this.high):(t=this.low,r=this.high),e&=31,this.low=t>>>e|r<<32-e,this.high=r>>>e|t<<32-e}},{key:"not",value:function(){this.high=~this.high,this.low=~this.low}},{key:"add",value:function(e){var t=(this.low>>>0)+(e.low>>>0),r=(this.high>>>0)+(e.high>>>0);t>4294967295&&(r+=1),this.low=0|t,this.high=0|r}},{key:"copyTo",value:function(e,t){e[t]=this.high>>>24&255,e[t+1]=this.high>>16&255,e[t+2]=this.high>>8&255,e[t+3]=255&this.high,e[t+4]=this.low>>>24&255,e[t+5]=this.low>>16&255,e[t+6]=this.low>>8&255,e[t+7]=255&this.low}},{key:"assign",value:function(e){this.high=e.high,this.low=e.low}}])}(),GB=function(){function e(e,t){return e>>>t|e<<32-t}function t(e,t,r){return e&t^~e&r}function r(e,t,r){return e&t^e&r^t&r}function A(t){return e(t,2)^e(t,13)^e(t,22)}function n(t){return e(t,6)^e(t,11)^e(t,25)}function i(t){return e(t,7)^e(t,18)^t>>>3}var a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return function(o,s,c){var g,u,l=1779033703,h=3144134277,I=1013904242,f=2773480762,C=1359893119,B=2600822924,Q=528734635,E=1541459225,d=64*Math.ceil((c+9)/64),y=new Uint8Array(d);for(g=0;g<c;++g)y[g]=o[s++];y[g++]=128;for(var p=d-8;g<p;)y[g++]=0;y[g++]=0,y[g++]=0,y[g++]=0,y[g++]=c>>>29&255,y[g++]=c>>21&255,y[g++]=c>>13&255,y[g++]=c>>5&255,y[g++]=c<<3&255;var v,m=new Uint32Array(64);for(g=0;g<d;){for(u=0;u<16;++u)m[u]=y[g]<<24|y[g+1]<<16|y[g+2]<<8|y[g+3],g+=4;for(u=16;u<64;++u)m[u]=0|(e(v=m[u-2],17)^e(v,19)^v>>>10)+m[u-7]+i(m[u-15])+m[u-16];var w=l,b=h,k=I,D=f,S=C,F=B,x=Q,R=E,G=void 0,N=void 0;for(u=0;u<64;++u)G=R+n(S)+t(S,F,x)+a[u]+m[u],N=A(w)+r(w,b,k),R=x,x=F,F=S,S=D+G|0,D=k,k=b,b=w,w=G+N|0;l=l+w|0,h=h+b|0,I=I+k|0,f=f+D|0,C=C+S|0,B=B+F|0,Q=Q+x|0,E=E+R|0}return new Uint8Array([l>>24&255,l>>16&255,l>>8&255,255&l,h>>24&255,h>>16&255,h>>8&255,255&h,I>>24&255,I>>16&255,I>>8&255,255&I,f>>24&255,f>>16&255,f>>8&255,255&f,C>>24&255,C>>16&255,C>>8&255,255&C,B>>24&255,B>>16&255,B>>8&255,255&B,Q>>24&255,Q>>16&255,Q>>8&255,255&Q,E>>24&255,E>>16&255,E>>8&255,255&E])}}(),NB=function(){function e(e,t,r,A,n){e.assign(t),e.and(r),n.assign(t),n.not(),n.and(A),e.xor(n)}function t(e,t,r,A,n){e.assign(t),e.and(r),n.assign(t),n.and(A),e.xor(n),n.assign(r),n.and(A),e.xor(n)}function r(e,t,r){e.assign(t),e.rotateRight(28),r.assign(t),r.rotateRight(34),e.xor(r),r.assign(t),r.rotateRight(39),e.xor(r)}function A(e,t,r){e.assign(t),e.rotateRight(14),r.assign(t),r.rotateRight(18),e.xor(r),r.assign(t),r.rotateRight(41),e.xor(r)}function n(e,t,r){e.assign(t),e.rotateRight(1),r.assign(t),r.rotateRight(8),e.xor(r),r.assign(t),r.shiftRight(7),e.xor(r)}function i(e,t,r){e.assign(t),e.rotateRight(19),r.assign(t),r.rotateRight(61),e.xor(r),r.assign(t),r.shiftRight(6),e.xor(r)}var a=[new RB(1116352408,3609767458),new RB(1899447441,602891725),new RB(3049323471,3964484399),new RB(3921009573,2173295548),new RB(961987163,4081628472),new RB(1508970993,3053834265),new RB(2453635748,2937671579),new RB(2870763221,3664609560),new RB(3624381080,2734883394),new RB(310598401,1164996542),new RB(607225278,1323610764),new RB(1426881987,3590304994),new RB(1925078388,4068182383),new RB(2162078206,991336113),new RB(2614888103,633803317),new RB(3248222580,3479774868),new RB(3835390401,2666613458),new RB(4022224774,944711139),new RB(264347078,2341262773),new RB(604807628,2007800933),new RB(770255983,1495990901),new RB(1249150122,1856431235),new RB(1555081692,3175218132),new RB(1996064986,2198950837),new RB(2554220882,3999719339),new RB(2821834349,766784016),new RB(2952996808,2566594879),new RB(3210313671,3203337956),new RB(3336571891,1034457026),new RB(3584528711,2466948901),new RB(113926993,3758326383),new RB(338241895,168717936),new RB(666307205,1188179964),new RB(773529912,1546045734),new RB(1294757372,1522805485),new RB(1396182291,2643833823),new RB(1695183700,2343527390),new RB(1986661051,1014477480),new RB(2177026350,1206759142),new RB(2456956037,344077627),new RB(2730485921,1290863460),new RB(2820302411,3158454273),new RB(3259730800,3505952657),new RB(3345764771,106217008),new RB(3516065817,3606008344),new RB(3600352804,1432725776),new RB(4094571909,1467031594),new RB(275423344,851169720),new RB(430227734,3100823752),new RB(506948616,1363258195),new RB(659060556,3750685593),new RB(883997877,3785050280),new RB(958139571,3318307427),new RB(1322822218,3812723403),new RB(1537002063,2003034995),new RB(1747873779,3602036899),new RB(1955562222,1575990012),new RB(2024104815,1125592928),new RB(2227730452,2716904306),new RB(2361852424,442776044),new RB(2428436474,593698344),new RB(2756734187,3733110249),new RB(3204031479,2999351573),new RB(3329325298,3815920427),new RB(3391569614,3928383900),new RB(3515267271,566280711),new RB(3940187606,3454069534),new RB(4118630271,4000239992),new RB(116418474,1914138554),new RB(174292421,2731055270),new RB(289380356,3203993006),new RB(460393269,320620315),new RB(685471733,587496836),new RB(852142971,1086792851),new RB(1017036298,365543100),new RB(1126000580,2618297676),new RB(1288033470,3409855158),new RB(1501505948,4234509866),new RB(1607167915,987167468),new RB(1816402316,1246189591)];return function(o,s,c){var g,u,l,h,I,f,C,B,Q=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Q?(g=new RB(3418070365,3238371032),u=new RB(1654270250,914150663),l=new RB(2438529370,812702999),h=new RB(355462360,4144912697),I=new RB(1731405415,4290775857),f=new RB(2394180231,1750603025),C=new RB(3675008525,1694076839),B=new RB(1203062813,3204075428)):(g=new RB(1779033703,4089235720),u=new RB(3144134277,2227873595),l=new RB(1013904242,4271175723),h=new RB(2773480762,1595750129),I=new RB(1359893119,2917565137),f=new RB(2600822924,725511199),C=new RB(528734635,4215389547),B=new RB(1541459225,327033209));var E,d,y=128*Math.ceil((c+17)/128),p=new Uint8Array(y);for(E=0;E<c;++E)p[E]=o[s++];p[E++]=128;for(var v=y-16;E<v;)p[E++]=0;p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=0,p[E++]=c>>>29&255,p[E++]=c>>21&255,p[E++]=c>>13&255,p[E++]=c>>5&255,p[E++]=c<<3&255;var m=new Array(80);for(E=0;E<80;E++)m[E]=new RB(0,0);var w,b,k=new RB(0,0),D=new RB(0,0),S=new RB(0,0),F=new RB(0,0),x=new RB(0,0),R=new RB(0,0),G=new RB(0,0),N=new RB(0,0),L=new RB(0,0),U=new RB(0,0),M=new RB(0,0),J=new RB(0,0);for(E=0;E<y;){for(d=0;d<16;++d)m[d].high=p[E]<<24|p[E+1]<<16|p[E+2]<<8|p[E+3],m[d].low=p[E+4]<<24|p[E+5]<<16|p[E+6]<<8|p[E+7],E+=8;for(d=16;d<80;++d)i(w=m[d],m[d-2],J),w.add(m[d-7]),n(M,m[d-15],J),w.add(M),w.add(m[d-16]);for(k.assign(g),D.assign(u),S.assign(l),F.assign(h),x.assign(I),R.assign(f),G.assign(C),N.assign(B),d=0;d<80;++d)L.assign(N),A(M,x,J),L.add(M),e(M,x,R,G,J),L.add(M),L.add(a[d]),L.add(m[d]),r(U,k,J),t(M,k,D,S,J),U.add(M),w=N,N=G,G=R,R=x,F.add(L),x=F,F=S,S=D,D=k,w.assign(L),w.add(U),k=w;g.add(k),u.add(D),l.add(S),h.add(F),I.add(x),f.add(R),C.add(G),B.add(N)}return Q?(b=new Uint8Array(48),g.copyTo(b,0),u.copyTo(b,8),l.copyTo(b,16),h.copyTo(b,24),I.copyTo(b,32),f.copyTo(b,40)):(b=new Uint8Array(64),g.copyTo(b,0),u.copyTo(b,8),l.copyTo(b,16),h.copyTo(b,24),I.copyTo(b,32),f.copyTo(b,40),C.copyTo(b,48),B.copyTo(b,56)),b}}(),LB=function(){return DB((function e(){bB(this,e)}),[{key:"decryptBlock",value:function(e){return e}},{key:"encrypt",value:function(e){return e}}])}(),UB=function(){return DB((function e(){bB(this,e),this._s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),this._inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),this._mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]),this._mixCol=new Uint8Array(256);for(var t=0;t<256;t++)this._mixCol[t]=t<128?t<<1:t<<1^27;this.buffer=new Uint8Array(16),this.bufferPosition=0}),[{key:"_expandKey",value:function(e){j("Cannot call \`_expandKey\` on the base class")}},{key:"_decrypt",value:function(e,t){var r,A,n,i=new Uint8Array(16);i.set(e);for(var a=0,o=this._keySize;a<16;++a,++o)i[a]^=t[o];for(var s=this._cyclesOfRepetition-1;s>=1;--s){r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],A=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=A,r=i[15],A=i[11],n=i[7],i[15]=i[3],i[11]=r,i[7]=A,i[3]=n;for(var c=0;c<16;++c)i[c]=this._inv_s[i[c]];for(var g=0,u=16*s;g<16;++g,++u)i[g]^=t[u];for(var l=0;l<16;l+=4){var h=this._mix[i[l]],I=this._mix[i[l+1]],f=this._mix[i[l+2]],C=this._mix[i[l+3]];r=h^I>>>8^I<<24^f>>>16^f<<16^C>>>24^C<<8,i[l]=r>>>24&255,i[l+1]=r>>16&255,i[l+2]=r>>8&255,i[l+3]=255&r}}r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],A=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=A,r=i[15],A=i[11],n=i[7],i[15]=i[3],i[11]=r,i[7]=A,i[3]=n;for(var B=0;B<16;++B)i[B]=this._inv_s[i[B]],i[B]^=t[B];return i}},{key:"_encrypt",value:function(e,t){var r,A,n,i=this._s,a=new Uint8Array(16);a.set(e);for(var o=0;o<16;++o)a[o]^=t[o];for(var s=1;s<this._cyclesOfRepetition;s++){for(var c=0;c<16;++c)a[c]=i[a[c]];n=a[1],a[1]=a[5],a[5]=a[9],a[9]=a[13],a[13]=n,n=a[2],A=a[6],a[2]=a[10],a[6]=a[14],a[10]=n,a[14]=A,n=a[3],A=a[7],r=a[11],a[3]=a[15],a[7]=n,a[11]=A,a[15]=r;for(var g=0;g<16;g+=4){var u=a[g+0],l=a[g+1],h=a[g+2],I=a[g+3];r=u^l^h^I,a[g+0]^=r^this._mixCol[u^l],a[g+1]^=r^this._mixCol[l^h],a[g+2]^=r^this._mixCol[h^I],a[g+3]^=r^this._mixCol[I^u]}for(var f=0,C=16*s;f<16;++f,++C)a[f]^=t[C]}for(var B=0;B<16;++B)a[B]=i[a[B]];n=a[1],a[1]=a[5],a[5]=a[9],a[9]=a[13],a[13]=n,n=a[2],A=a[6],a[2]=a[10],a[6]=a[14],a[10]=n,a[14]=A,n=a[3],A=a[7],r=a[11],a[3]=a[15],a[7]=n,a[11]=A,a[15]=r;for(var Q=0,E=this._keySize;Q<16;++Q,++E)a[Q]^=t[E];return a}},{key:"_decryptBlock2",value:function(e,t){for(var r=e.length,A=this.buffer,n=this.bufferPosition,i=[],a=this.iv,o=0;o<r;++o)if(A[n]=e[o],!(++n<16)){for(var s=this._decrypt(A,this._key),c=0;c<16;++c)s[c]^=a[c];a=A,i.push(s),A=new Uint8Array(16),n=0}if(this.buffer=A,this.bufferLength=n,this.iv=a,0===i.length)return new Uint8Array(0);var g=16*i.length;if(t){var u=i.at(-1),l=u[15];if(l<=16){for(var h=15,I=16-l;h>=I;--h)if(u[h]!==l){l=0;break}g-=l,i[i.length-1]=u.subarray(0,16-l)}}for(var f=new Uint8Array(g),C=0,B=0,Q=i.length;C<Q;++C,B+=16)f.set(i[C],B);return f}},{key:"decryptBlock",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,A=e.length,n=this.buffer,i=this.bufferPosition;if(r)this.iv=r;else{for(var a=0;i<16&&a<A;++a,++i)n[i]=e[a];if(i<16)return this.bufferLength=i,new Uint8Array(0);this.iv=n,e=e.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(e,t)}},{key:"encrypt",value:function(e,t){var r=e.length,A=this.buffer,n=this.bufferPosition,i=[];t||(t=new Uint8Array(16));for(var a=0;a<r;++a)if(A[n]=e[a],!(++n<16)){for(var o=0;o<16;++o)A[o]^=t[o];var s=this._encrypt(A,this._key);t=s,i.push(s),A=new Uint8Array(16),n=0}if(this.buffer=A,this.bufferLength=n,this.iv=t,0===i.length)return new Uint8Array(0);for(var c=16*i.length,g=new Uint8Array(c),u=0,l=0,h=i.length;u<h;++u,l+=16)g.set(i[u],l);return g}}])}(),MB=function(e){function t(e){var r;return bB(this,t),(r=yB(this,t))._cyclesOfRepetition=10,r._keySize=160,r._rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),r._key=r._expandKey(e),r}return mB(t,UB),DB(t,[{key:"_expandKey",value:function(e){var t=this._s,r=this._rcon,A=new Uint8Array(176);A.set(e);for(var n=16,i=1;n<176;++i){var a=A[n-3],o=A[n-2],s=A[n-1],c=A[n-4];a=t[a],o=t[o],s=t[s],c=t[c],a^=r[i];for(var g=0;g<4;++g)A[n]=a^=A[n-16],A[++n]=o^=A[n-16],A[++n]=s^=A[n-16],A[++n]=c^=A[n-16],n++}return A}}])}(),JB=function(e){function t(e){var r;return bB(this,t),(r=yB(this,t))._cyclesOfRepetition=14,r._keySize=224,r._key=r._expandKey(e),r}return mB(t,UB),DB(t,[{key:"_expandKey",value:function(e){var t=this._s,r=new Uint8Array(240);r.set(e);for(var A,n,i,a,o=1,s=32,c=1;s<240;++c){s%32==16?(A=t[A],n=t[n],i=t[i],a=t[a]):s%32==0&&(A=r[s-3],n=r[s-2],i=r[s-1],a=r[s-4],A=t[A],n=t[n],i=t[i],a=t[a],A^=o,(o<<=1)>=256&&(o=255&(27^o)));for(var g=0;g<4;++g)r[s]=A^=r[s-32],r[++s]=n^=r[s-32],r[++s]=i^=r[s-32],r[++s]=a^=r[s-32],s++}return r}}])}(),HB=function(){return DB((function e(){bB(this,e)}),[{key:"checkOwnerPassword",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);return n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length),Be(GB(n,0,n.length),A)}},{key:"checkUserPassword",value:function(e,t,r){var A=new Uint8Array(e.length+8);return A.set(e,0),A.set(t,e.length),Be(GB(A,0,A.length),r)}},{key:"getOwnerKey",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length);var i=GB(n,0,n.length);return new JB(i).decryptBlock(A,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var A=new Uint8Array(e.length+8);A.set(e,0),A.set(t,e.length);var n=GB(A,0,A.length);return new JB(n).decryptBlock(r,!1,new Uint8Array(16))}}])}(),YB=function(){return DB((function e(){bB(this,e)}),[{key:"_hash",value:function(e,t,r){for(var A,n,i=GB(t,0,t.length).subarray(0,32),a=[0],o=0;o<64||a.at(-1)>o-32;){var s=e.length+i.length+r.length,c=new Uint8Array(s),g=0;c.set(e,g),g+=e.length,c.set(i,g),g+=i.length,c.set(r,g);for(var u=new Uint8Array(64*s),l=0,h=0;l<64;l++,h+=s)u.set(c,h);var I=(a=new MB(i.subarray(0,16)).encrypt(u,i.subarray(16,32))).slice(0,16).reduce((function(e,t){return e+t}),0)%3;0===I?i=GB(a,0,a.length):1===I?(A=a,0,n=a.length,i=NB(A,0,n,!0)):2===I&&(i=NB(a,0,a.length)),o++}return i.subarray(0,32)}},{key:"checkOwnerPassword",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);return n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length),Be(this._hash(e,n,r),A)}},{key:"checkUserPassword",value:function(e,t,r){var A=new Uint8Array(e.length+8);return A.set(e,0),A.set(t,e.length),Be(this._hash(e,A,[]),r)}},{key:"getOwnerKey",value:function(e,t,r,A){var n=new Uint8Array(e.length+56);n.set(e,0),n.set(t,e.length),n.set(r,e.length+t.length);var i=this._hash(e,n,r);return new JB(i).decryptBlock(A,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var A=new Uint8Array(e.length+8);A.set(e,0),A.set(t,e.length);var n=this._hash(e,A,[]);return new JB(n).decryptBlock(r,!1,new Uint8Array(16))}}])}(),PB=function(){return DB((function e(t,r){bB(this,e),this.StringCipherConstructor=t,this.StreamCipherConstructor=r}),[{key:"createStream",value:function(e,t){var r=new this.StreamCipherConstructor;return new EB(e,t,(function(e,t){return r.decryptBlock(e,t)}))}},{key:"decryptString",value:function(e){var t=new this.StringCipherConstructor,r=ie(e);return ne(r=t.decryptBlock(r,!0))}},{key:"encryptString",value:function(e){var t=new this.StringCipherConstructor;if(t instanceof UB){var r=16-e.length%16;e+=String.fromCharCode(r).repeat(r);var A=new Uint8Array(16);if("undefined"!=typeof crypto)crypto.getRandomValues(A);else for(var n=0;n<16;n++)A[n]=Math.floor(256*Math.random());var i=ie(e);i=t.encrypt(i,A);var a=new Uint8Array(16+i.length);return a.set(A),a.set(i,16),ne(a)}var o=ie(e);return ne(o=t.encrypt(o))}}])}(),OB=new WeakSet,KB=function(){return DB((function e(t,r,A){bB(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,OB);var n=t.get("Filter");if(!Ke(n,"Standard"))throw new re("unknown encryption method");this.filterName=n.name,this.dict=t;var i=t.get("V");if(!Number.isInteger(i)||1!==i&&2!==i&&4!==i&&5!==i)throw new re("unsupported encryption algorithm");this.algorithm=i;var a=t.get("Length");if(!a)if(i<=3)a=40;else{var o=t.get("CF"),s=t.get("StmF");if(o instanceof He&&s instanceof Ue){o.suppressEncryption=!0;var c=o.get(s.name);(a=(null==c?void 0:c.get("Length"))||128)<40&&(a<<=3)}}if(!Number.isInteger(a)||a<40||a%8!=0)throw new re("invalid key length");var g=ie(t.get("O")),u=ie(t.get("U")),l=g.subarray(0,32),h=u.subarray(0,32),I=t.get("P"),f=t.get("R"),C=(4===i||5===i)&&!1!==t.get("EncryptMetadata");this.encryptMetadata=C;var B,Q,E=ie(r);if(A){if(6===f)try{A=Ce(A)}catch(e){q("CipherTransformFactory: Unable to convert UTF8 encoded password.")}B=ie(A)}if(5!==i)Q=dB(OB,this,qB).call(this,E,B,l,h,I,f,a,C);else{var d=g.subarray(32,40),y=g.subarray(40,48),p=u.subarray(0,48),v=u.subarray(32,40),m=u.subarray(40,48),w=ie(t.get("OE")),b=ie(t.get("UE")),k=ie(t.get("Perms"));Q=dB(OB,this,TB).call(this,f,B,l,d,y,p,h,v,m,w,b,k)}if(!Q&&!A)throw new V("No password given",1);if(!Q&&A){var D=dB(OB,this,jB).call(this,B,l,f,a);Q=dB(OB,this,qB).call(this,E,D,l,h,I,f,a,C)}if(!Q)throw new V("Incorrect Password",2);if(this.encryptionKey=Q,i>=4){var S=t.get("CF");S instanceof He&&(S.suppressEncryption=!0),this.cf=S,this.stmf=t.get("StmF")||Ue.get("Identity"),this.strf=t.get("StrF")||Ue.get("Identity"),this.eff=t.get("EFF")||this.stmf}}),[{key:"createCipherTransform",value:function(e,t){if(4===this.algorithm||5===this.algorithm)return new PB(dB(OB,this,ZB).call(this,this.cf,this.strf,e,t,this.encryptionKey),dB(OB,this,ZB).call(this,this.cf,this.stmf,e,t,this.encryptionKey));var r=dB(OB,this,WB).call(this,e,t,this.encryptionKey,!1),A=function(){return new FB(r)};return new PB(A,A)}}])}();function TB(e,t,r,A,n,i,a,o,s,c,g,u){if(t){var l=Math.min(127,t.length);t=t.subarray(0,l)}else t=[];var h=6===e?new YB:new HB;return h.checkUserPassword(t,o,a)?h.getUserKey(t,s,g):t.length&&h.checkOwnerPassword(t,A,i,r)?h.getOwnerKey(t,n,i,c):null}function qB(e,t,r,A,n,i,a,o){var s,c,g=40+r.length+e.length,u=new Uint8Array(g),l=0;if(t)for(c=Math.min(32,t.length);l<c;++l)u[l]=t[l];for(s=0;l<32;)u[l++]=XB._[s++];for(s=0,c=r.length;s<c;++s)u[l++]=r[s];for(u[l++]=255&n,u[l++]=n>>8&255,u[l++]=n>>16&255,u[l++]=n>>>24&255,s=0,c=e.length;s<c;++s)u[l++]=e[s];i>=4&&!o&&(u[l++]=255,u[l++]=255,u[l++]=255,u[l++]=255);var h=xB(u,0,l),I=a>>3;if(i>=3)for(s=0;s<50;++s)h=xB(h,0,I);var f,C=h.subarray(0,I);if(i>=3){for(l=0;l<32;++l)u[l]=XB._[l];for(s=0,c=e.length;s<c;++s)u[l++]=e[s];f=new FB(C).encryptBlock(xB(u,0,l)),c=C.length;var B=new Uint8Array(c);for(s=1;s<=19;++s){for(var Q=0;Q<c;++Q)B[Q]=C[Q]^s;f=new FB(B).encryptBlock(f)}for(s=0,c=f.length;s<c;++s)if(A[s]!==f[s])return null}else for(s=0,c=(f=new FB(C).encryptBlock(XB._)).length;s<c;++s)if(A[s]!==f[s])return null;return C}function jB(e,t,r,A){for(var n=new Uint8Array(32),i=0,a=Math.min(32,e.length);i<a;++i)n[i]=e[i];for(var o=0;i<32;)n[i++]=XB._[o++];var s,c=xB(n,0,i),g=A>>3;if(r>=3)for(o=0;o<50;++o)c=xB(c,0,c.length);if(r>=3){s=t;var u=new Uint8Array(g);for(o=19;o>=0;o--){for(var l=0;l<g;++l)u[l]=c[l]^o;s=new FB(u).encryptBlock(s)}}else s=new FB(c.subarray(0,g)).encryptBlock(t);return s}function WB(e,t,r){var A,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=new Uint8Array(r.length+9),a=r.length;for(A=0;A<a;++A)i[A]=r[A];return i[A++]=255&e,i[A++]=e>>8&255,i[A++]=e>>16&255,i[A++]=255&t,i[A++]=t>>8&255,n&&(i[A++]=115,i[A++]=65,i[A++]=108,i[A++]=84),xB(i,0,A).subarray(0,Math.min(r.length+5,16))}function ZB(e,t,r,A,n){if(!(t instanceof Ue))throw new re("Invalid crypt filter name.");var i=this,a=e.get(t.name),o=null==a?void 0:a.get("CFM");if(!o||"None"===o.name)return function(){return new LB};if("V2"===o.name)return function(){return new FB(dB(OB,i,WB).call(i,r,A,n,!1))};if("AESV2"===o.name)return function(){return new MB(dB(OB,i,WB).call(i,r,A,n,!0))};if("AESV3"===o.name)return function(){return new JB(n)};throw new re("Unknown crypto method")}var _B,XB={_:new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122])};function VB(e){return function(e){if(Array.isArray(e))return rQ(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||tQ(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||tQ(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $B(){$B=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function eQ(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=tQ(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function tQ(e,t){if(e){if("string"==typeof e)return rQ(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rQ(e,t):void 0}}function rQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function AQ(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function nQ(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){AQ(i,A,n,a,o,"next",e)}function o(e){AQ(i,A,n,a,o,"throw",e)}a(void 0)}))}}function iQ(e,t,r,A){return aQ.apply(this,arguments)}function aQ(){return(aQ=nQ($B().mark((function e(t,r,A,n){var i,a,o;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.encrypt,o=null==(a=void 0===i?null:i)?void 0:a.createCipherTransform(t.num,t.gen),A.push("".concat(t.num," ").concat(t.gen," obj\\n")),!(r instanceof He)){e.next=8;break}return e.next=6,oQ(r,A,o);case 6:e.next=16;break;case 8:if(!(r instanceof ze)){e.next=13;break}return e.next=11,cQ(r,A,o);case 11:e.next=16;break;case 13:if(!Array.isArray(r)&&!ArrayBuffer.isView(r)){e.next=16;break}return e.next=16,uQ(r,A,o);case 16:A.push("\\nendobj\\n");case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oQ(e,t,r){return sQ.apply(this,arguments)}function sQ(){return(sQ=nQ($B().mark((function e(t,r,A){var n,i,a;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.push("<<"),n=eQ(t.getKeys()),e.prev=2,n.s();case 4:if((i=n.n()).done){e.next=11;break}return a=i.value,r.push(" /".concat(Nt(a)," ")),e.next=9,hQ(t.getRaw(a),r,A);case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),n.e(e.t0);case 16:return e.prev=16,n.f(),e.finish(16);case 19:r.push(">>");case 20:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})))).apply(this,arguments)}function cQ(e,t,r){return gQ.apply(this,arguments)}function gQ(){return(gQ=nQ($B().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getBytes(),i=t.dict,e.next=4,Promise.all([i.getAsync("Filter"),i.getAsync("DecodeParms")]);case 4:if(a=e.sent,o=zB(a,2),s=o[0],c=o[1],!Array.isArray(s)){e.next=14;break}return e.next=11,i.xref.fetchIfRefAsync(s[0]);case 11:e.t0=e.sent,e.next=15;break;case 14:e.t0=s;case 15:if(g=e.t0,u=Ke(g,"FlateDecode"),!(n.length>=256||u)){e.next=37;break}return e.prev=19,l=new CompressionStream("deflate"),h=l.writable.getWriter(),e.next=24,h.ready;case 24:return h.write(n).then(nQ($B().mark((function e(){return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.ready;case 2:return e.next=4,h.close();case 4:case"end":return e.stop()}}),e)})))).catch((function(){})),e.next=27,new Response(l.readable).arrayBuffer();case 27:I=e.sent,n=new Uint8Array(I),s?u||(f=Array.isArray(s)?[Ue.get("FlateDecode")].concat(VB(s)):[Ue.get("FlateDecode"),s],c&&(C=Array.isArray(c)?[null].concat(VB(c)):[null,c])):f=Ue.get("FlateDecode"),f&&i.set("Filter",f),C&&i.set("DecodeParms",C),e.next=37;break;case 34:e.prev=34,e.t1=e.catch(19),T('writeStream - cannot compress data: "'.concat(e.t1,'".'));case 37:return B=ne(n),A&&(B=A.encryptString(B)),i.set("Length",B.length),e.next=42,oQ(i,r,A);case 42:r.push(" stream\\n",B,"\\nendstream");case 43:case"end":return e.stop()}}),e,null,[[19,34]])})))).apply(this,arguments)}function uQ(e,t,r){return lQ.apply(this,arguments)}function lQ(){return(lQ=nQ($B().mark((function e(t,r,A){var n,i,a,o;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.push("["),n=!0,i=eQ(t),e.prev=3,i.s();case 5:if((a=i.n()).done){e.next=12;break}return o=a.value,n?n=!1:r.push(" "),e.next=10,hQ(o,r,A);case 10:e.next=5;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(3),i.e(e.t0);case 17:return e.prev=17,i.f(),e.finish(17);case 20:r.push("]");case 21:case"end":return e.stop()}}),e,null,[[3,14,17,20]])})))).apply(this,arguments)}function hQ(e,t,r){return IQ.apply(this,arguments)}function IQ(){return(IQ=nQ($B().mark((function e(t,r,A){return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Ue)){e.next=4;break}r.push("/".concat(Nt(t.name))),e.next=37;break;case 4:if(!(t instanceof Ye)){e.next=8;break}r.push("".concat(t.num," ").concat(t.gen," R")),e.next=37;break;case 8:if(!Array.isArray(t)&&!ArrayBuffer.isView(t)){e.next=13;break}return e.next=11,uQ(t,r,A);case 11:e.next=37;break;case 13:if("string"!=typeof t){e.next=18;break}A&&(t=A.encryptString(t)),r.push("(".concat(Lt(t),")")),e.next=37;break;case 18:if("number"!=typeof t){e.next=22;break}r.push(Tt(t)),e.next=37;break;case 22:if("boolean"!=typeof t){e.next=26;break}r.push(t.toString()),e.next=37;break;case 26:if(!(t instanceof He)){e.next=31;break}return e.next=29,oQ(t,r,A);case 29:e.next=37;break;case 31:if(!(t instanceof ze)){e.next=36;break}return e.next=34,cQ(t,r,A);case 34:e.next=37;break;case 36:null===t?r.push("null"):q("Unhandled value in writer: ".concat(typeof t,", please file a bug."));case 37:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fQ(e,t,r,A){for(var n=t+r-1;n>r-1;n--)A[n]=255&e,e>>=8;return r+t}function CQ(e,t,r){for(var A=0,n=e.length;A<n;A++)r[t+A]=255&e.charCodeAt(A)}function BQ(e){return QQ.apply(this,arguments)}function QQ(){return(QQ=nQ($B().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.xref,A=t.acroForm,n=t.acroFormRef,i=t.hasXfa,a=t.hasXfaDatasetsEntry,o=t.xfaDatasetsRef,s=t.needAppearances,c=t.newRefs,!i||a||o||q("XFA - Cannot save it"),s||i&&o&&!a){e.next=4;break}return e.abrupt("return");case 4:return g=A.clone(),i&&!a&&((u=A.get("XFA").slice()).splice(2,0,"datasets"),u.splice(3,0,o),g.set("XFA",u)),s&&g.set("NeedAppearances",!0),l=[],e.next=10,iQ(n,g,l,r);case 10:c.push({ref:n,data:l.join("")});case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function EQ(e){var t=e.xfaData,r=e.xfaDatasetsRef,A=e.newRefs,n=e.xref;null===t&&(t=function(e,t){var r,A=new aB({hasAttributes:!0}).parseFromString(e),n=eQ(t);try{for(n.s();!(r=n.n()).done;){var i=r.value.xfa;if(i){var a=i.path,o=i.value;if(a){var s=Gt(a),c=A.documentElement.searchNode(s,0);!c&&s.length>1&&(c=A.documentElement.searchNode([s.at(-1)],0)),c?c.childNodes=Array.isArray(o)?o.map((function(e){return new iB("value",e)})):[new iB("#text",o)]:q("Node not found for path: ".concat(a))}}}}catch(e){n.e(e)}finally{n.f()}var g=[];return A.documentElement.dump(g),g.join("")}(n.fetchIfRef(r).getString(),A));var i=n.encrypt;i&&(t=i.createCipherTransform(r.num,r.gen).encryptString(t));var a="".concat(r.num," ").concat(r.gen," obj\\n")+"<< /Type /EmbeddedFile /Length ".concat(t.length,">>\\nstream\\n")+t+"\\nendstream\\nendobj\\n";A.push({ref:r,data:a})}function dQ(e,t,r,A,n){return yQ.apply(this,arguments)}function yQ(){return(yQ=nQ($B().mark((function e(t,r,A,n,i){var a,o,s,c,g,u,l;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.push("xref\\n"),a=pQ(A),o=0,s=eQ(A);try{for(s.s();!(c=s.n()).done;)g=c.value,u=g.ref,l=g.data,u.num===a[o]&&(i.push("".concat(a[o]," ").concat(a[o+1],"\\n")),o+=2),null!==l?(i.push("".concat(r.toString().padStart(10,"0")," ").concat(Math.min(u.gen,65535).toString().padStart(5,"0")," n\\r\\n")),r+=l.length):i.push("0000000000 ".concat(Math.min(u.gen+1,65535).toString().padStart(5,"0")," f\\r\\n"))}catch(e){s.e(e)}finally{s.f()}return wQ(r,t,n),i.push("trailer\\n"),e.next=9,oQ(n,i);case 9:i.push("\\nstartxref\\n",r.toString(),"\\n%%EOF\\n");case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pQ(e){var t,r=[],A=eQ(e);try{for(A.s();!(t=A.n()).done;){var n=t.value.ref;n.num===r.at(-2)+r.at(-1)?r[r.length-1]+=1:r.push(n.num,1)}}catch(e){A.e(e)}finally{A.f()}return r}function vQ(e,t,r,A,n){return mQ.apply(this,arguments)}function mQ(){return(mQ=nQ($B().mark((function e(t,r,A,n,i){var a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=[],o=0,s=0,c=eQ(A);try{for(c.s();!(g=c.n()).done;)u=g.value,l=u.ref,h=u.data,I=void 0,o=Math.max(o,r),null!==h?(I=Math.min(l.gen,65535),a.push([1,r,I]),r+=h.length):(I=Math.min(l.gen+1,65535),a.push([0,0,I])),s=Math.max(s,I)}catch(e){c.e(e)}finally{c.f()}for(n.set("Index",pQ(A)),f=Xt(o),C=Xt(s),B=[1,f,C],n.set("W",B),wQ(r,t,n),Q=B.reduce((function(e,t){return e+t}),0),E=new Uint8Array(Q*a.length),(d=new ar(E)).dict=n,y=0,p=0,v=a;p<v.length;p++)m=zB(v[p],3),w=m[0],b=m[1],k=m[2],y=fQ(w,B[0],y,E),y=fQ(b,B[1],y,E),y=fQ(k,B[2],y,E);return e.next=19,iQ(t.newRef,d,i,{});case 19:i.push("startxref\\n",r.toString(),"\\n%%EOF\\n");case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function wQ(e,t,r){if(Array.isArray(t.fileIds)&&t.fileIds.length>0){var A=function(e,t){for(var r=Math.floor(Date.now()/1e3),A=t.filename||"",n=[r.toString(),A,e.toString()],i=n.reduce((function(e,t){return e+t.length}),0),a=0,o=Object.values(t.info);a<o.length;a++){var s=o[a];n.push(s),i+=s.length}for(var c=new Uint8Array(i),g=0,u=0,l=n;u<l.length;u++){var h=l[u];CQ(h,g,c),g+=h.length}return ne(xB(c))}(e,t);r.set("ID",[t.fileIds[0],A])}}function bQ(e,t,r){var A=new He(null);A.set("Prev",e.startXRef);var n=e.newRef;return r?(t.push({ref:n,data:""}),A.set("Size",n.num+1),A.set("Type",Ue.get("XRef"))):A.set("Size",n.num),null!==e.rootRef&&A.set("Root",e.rootRef),null!==e.infoRef&&A.set("Info",e.infoRef),null!==e.encryptRef&&A.set("Encrypt",e.encryptRef),A}function kQ(e){return DQ.apply(this,arguments)}function DQ(){return(DQ=nQ($B().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N;return $B().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.originalData,A=t.xrefInfo,n=t.newRefs,i=t.xref,a=void 0===i?null:i,o=t.hasXfa,s=void 0!==o&&o,c=t.xfaDatasetsRef,g=void 0===c?null:c,u=t.hasXfaDatasetsEntry,l=void 0!==u&&u,h=t.needAppearances,I=t.acroFormRef,f=void 0===I?null:I,C=t.acroForm,B=void 0===C?null:C,Q=t.xfaData,E=void 0===Q?null:Q,d=t.useXrefStream,y=void 0!==d&&d,e.next=3,BQ({xref:a,acroForm:B,acroFormRef:f,hasXfa:s,hasXfaDatasetsEntry:l,xfaDatasetsRef:g,needAppearances:h,newRefs:n});case 3:s&&EQ({xfaData:E,xfaDatasetsRef:g,newRefs:n,xref:a}),p=[],v=r.length,10!==(m=r.at(-1))&&13!==m&&(p.push("\\n"),v+=1),w=bQ(A,n,y),n=n.sort((function(e,t){return e.ref.num-t.ref.num})),b=eQ(n);try{for(b.s();!(k=b.n()).done;)null!==(D=k.value.data)&&p.push(D)}catch(e){b.e(e)}finally{b.f()}return e.next=14,y?vQ(A,v,n,w,p):dQ(A,v,n,w,p);case 14:for(S=p.reduce((function(e,t){return e+t.length}),r.length),(F=new Uint8Array(S)).set(r),x=r.length,R=0,G=p;R<G.length;R++)CQ(N=G[R],x,F),x+=N.length;return e.abrupt("return",F);case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function SQ(){SQ=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function FQ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||RQ(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xQ(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=RQ(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function RQ(e,t){if(e){if("string"==typeof e)return GQ(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?GQ(e,t):void 0}}function GQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function NQ(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function LQ(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){NQ(i,A,n,a,o,"next",e)}function o(e){NQ(i,A,n,a,o,"throw",e)}a(void 0)}))}}function UQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MQ(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,HQ(A.key),A)}}function JQ(e,t,r){return t&&MQ(e.prototype,t),r&&MQ(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function HQ(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function YQ(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var PQ=new WeakSet,OQ=function(){function e(t,r){UQ(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,PQ),this.dict=t,this.ref=r instanceof Ye?r:null,this.roleMap=new Map,this.structParentIds=null}return JQ(e,[{key:"init",value:function(){this.readRoleMap()}},{key:"addAnnotationIdToPage",value:function(e,t){YQ(PQ,this,KQ).call(this,e,t,4)}},{key:"readRoleMap",value:function(){var e=this,t=this.dict.get("RoleMap");t instanceof He&&t.forEach((function(t,r){r instanceof Ue&&e.roleMap.set(t,r.name)}))}},{key:"canUpdateStructTree",value:(n=LQ(SQ().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G;return SQ().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(A=r.pdfManager,n=r.xref,i=r.newAnnotationsByPage,this.ref){t.next=4;break}return q("Cannot update the struct tree: no root reference."),t.abrupt("return",!1);case 4:if(a=this.dict.get("ParentTreeNextKey"),Number.isInteger(a)&&!(a<0)){t.next=8;break}return q("Cannot update the struct tree: invalid next key."),t.abrupt("return",!1);case 8:if((o=this.dict.get("ParentTree"))instanceof He){t.next=12;break}return q("Cannot update the struct tree: ParentTree isn't a dict."),t.abrupt("return",!1);case 12:if(s=o.get("Nums"),Array.isArray(s)){t.next=16;break}return q("Cannot update the struct tree: nums isn't an array."),t.abrupt("return",!1);case 16:c=new MC(o,n),g=xQ(i.keys()),t.prev=18,g.s();case 20:if((u=g.n()).done){t.next=34;break}return l=u.value,t.next=24,A.getPage(l);case 24:if(h=t.sent,(I=h.pageDict).has("StructParents")){t.next=28;break}return t.abrupt("continue",32);case 28:if(f=I.get("StructParents"),Number.isInteger(f)&&Array.isArray(c.get(f))){t.next=32;break}return q("Cannot save the struct tree: page ".concat(l," has a wrong id.")),t.abrupt("return",!1);case 32:t.next=20;break;case 34:t.next=39;break;case 36:t.prev=36,t.t0=t.catch(18),g.e(t.t0);case 39:return t.prev=39,g.f(),t.finish(39);case 42:C=!0,B=xQ(i),t.prev=44,B.s();case 46:if((Q=B.n()).done){t.next=57;break}return E=FQ(Q.value,2),d=E[0],y=E[1],t.next=50,A.getPage(d);case 50:p=t.sent,v=p.pageDict,WQ.call(e,{elements:y,xref:this.dict.xref,pageDict:v,numberTree:c}),m=xQ(y);try{for(m.s();!(w=m.n()).done;)k=w.value,null!==(b=k.accessibilityData)&&void 0!==b&&b.type&&(k.accessibilityData.structParent>=0||(k.parentTreeId=a++),C=!1)}catch(e){m.e(e)}finally{m.f()}case 55:t.next=46;break;case 57:t.next=62;break;case 59:t.prev=59,t.t1=t.catch(44),B.e(t.t1);case 62:return t.prev=62,B.f(),t.finish(62);case 65:if(!C){t.next=69;break}D=xQ(i.values());try{for(D.s();!(S=D.n()).done;){F=S.value,x=xQ(F);try{for(x.s();!(R=x.n()).done;)delete(G=R.value).parentTreeId,delete G.structTreeParent}catch(e){x.e(e)}finally{x.f()}}}catch(e){D.e(e)}finally{D.f()}return t.abrupt("return",!1);case 69:return t.abrupt("return",!0);case 70:case"end":return t.stop()}}),t,this,[[18,36,39,42],[44,59,62,65]])}))),function(e){return n.apply(this,arguments)})},{key:"updateStructureTree",value:(A=LQ(SQ().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return SQ().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=r.newAnnotationsByPage,n=r.pdfManager,i=r.newRefs,a=this.dict.xref,o=this.dict.clone(),s=this.ref,(c=new Oe).put(s,o),(g=o.getRaw("ParentTree"))instanceof Ye?u=a.fetch(g):(u=g,g=a.getNewTemporaryRef(),o.set("ParentTree",g)),u=u.clone(),c.put(g,u),l=u.getRaw("Nums"),h=null,l instanceof Ye&&(h=l,l=a.fetch(h)),l=l.slice(),h||u.set("Nums",l),t.next=17,TQ.call(e,{newAnnotationsByPage:A,structTreeRootRef:s,structTreeRoot:this,kids:null,nums:l,xref:a,pdfManager:n,newRefs:i,cache:c});case 17:if(-1!==(I=t.sent)){t.next=20;break}return t.abrupt("return");case 20:o.set("ParentTreeNextKey",I),h&&c.put(h,l),f=[],C=xQ(c.items()),t.prev=24,C.s();case 26:if((B=C.n()).done){t.next=34;break}return Q=FQ(B.value,2),E=Q[0],d=Q[1],f.length=0,t.next=31,iQ(E,d,f,a);case 31:i.push({ref:E,data:f.join("")});case 32:t.next=26;break;case 34:t.next=39;break;case 36:t.prev=36,t.t0=t.catch(24),C.e(t.t0);case 39:return t.prev=39,C.f(),t.finish(39);case 42:case"end":return t.stop()}}),t,this,[[24,36,39,42]])}))),function(e){return A.apply(this,arguments)})}],[{key:"canCreateStructureTree",value:(r=LQ(SQ().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return SQ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.catalogRef,A=t.pdfManager,n=t.newAnnotationsByPage,r instanceof Ye){e.next=4;break}return q("Cannot save the struct tree: no catalog reference."),e.abrupt("return",!1);case 4:i=0,a=!0,o=xQ(n),e.prev=7,o.s();case 9:if((s=o.n()).done){e.next=23;break}return c=FQ(s.value,2),g=c[0],u=c[1],e.next=13,A.getPage(g);case 13:if(e.sent.ref instanceof Ye){e.next=19;break}return q("Cannot save the struct tree: page ".concat(g," has no ref.")),a=!0,e.abrupt("break",23);case 19:l=xQ(u);try{for(l.s();!(h=l.n()).done;)f=h.value,null!==(I=f.accessibilityData)&&void 0!==I&&I.type&&(f.parentTreeId=i++,a=!1)}catch(e){l.e(e)}finally{l.f()}case 21:e.next=9;break;case 23:e.next=28;break;case 25:e.prev=25,e.t0=e.catch(7),o.e(e.t0);case 28:return e.prev=28,o.f(),e.finish(28);case 31:if(!a){e.next=35;break}C=xQ(n.values());try{for(C.s();!(B=C.n()).done;){Q=B.value,E=xQ(Q);try{for(E.s();!(d=E.n()).done;)delete d.value.parentTreeId}catch(e){E.e(e)}finally{E.f()}}}catch(e){C.e(e)}finally{C.f()}return e.abrupt("return",!1);case 35:return e.abrupt("return",!0);case 36:case"end":return e.stop()}}),e,null,[[7,25,28,31]])}))),function(e){return r.apply(this,arguments)})},{key:"createStructureTree",value:(t=LQ(SQ().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p;return SQ().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=r.newAnnotationsByPage,n=r.xref,i=r.catalogRef,a=r.pdfManager,o=r.newRefs,s=a.catalog.cloneDict(),(c=new Oe).put(i,s),g=n.getNewTemporaryRef(),s.set("StructTreeRoot",g),(u=new He(n)).set("Type",Ue.get("StructTreeRoot")),l=n.getNewTemporaryRef(),u.set("ParentTree",l),h=[],u.set("K",h),c.put(g,u),I=new He(n),f=[],I.set("Nums",f),t.next=18,YQ(e,this,TQ).call(this,{newAnnotationsByPage:A,structTreeRootRef:g,structTreeRoot:null,kids:h,nums:f,xref:n,pdfManager:a,newRefs:o,cache:c});case 18:C=t.sent,u.set("ParentTreeNextKey",C),c.put(l,I),B=[],Q=xQ(c.items()),t.prev=23,Q.s();case 25:if((E=Q.n()).done){t.next=33;break}return d=FQ(E.value,2),y=d[0],p=d[1],B.length=0,t.next=30,iQ(y,p,B,n);case 30:o.push({ref:y,data:B.join("")});case 31:t.next=25;break;case 33:t.next=38;break;case 35:t.prev=35,t.t0=t.catch(23),Q.e(t.t0);case 38:return t.prev=38,Q.f(),t.finish(38);case 41:case"end":return t.stop()}}),t,this,[[23,35,38,41]])}))),function(e){return t.apply(this,arguments)})}]);var t,r,A,n}();function KQ(e,t,r){if(e instanceof Ye&&!(t<0)){this.structParentIds||(this.structParentIds=new Oe);var A=this.structParentIds.get(e);A||(A=[],this.structParentIds.put(e,A)),A.push([t,r])}}function TQ(e){return qQ.apply(this,arguments)}function qQ(){return(qQ=LQ(SQ().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J;return SQ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.newAnnotationsByPage,A=t.structTreeRootRef,n=t.structTreeRoot,i=t.kids,a=t.nums,o=t.xref,s=t.pdfManager,c=t.newRefs,g=t.cache,u=Ue.get("OBJR"),l=-1,I=[],f=xQ(r),e.prev=5,f.s();case 7:if((C=f.n()).done){e.next=59;break}return B=FQ(C.value,2),Q=B[0],E=B[1],e.next=11,s.getPage(Q);case 11:d=e.sent,y=d.ref,p=y instanceof Ye,v=xQ(E),e.prev=15,v.s();case 17:if((m=v.n()).done){e.next=49;break}if(w=m.value,b=w.accessibilityData,k=w.ref,D=w.parentTreeId,S=w.structTreeParent,null!=b&&b.type){e.next=21;break}return e.abrupt("continue",47);case 21:if(F=b.structParent,!(n&&Number.isInteger(F)&&F>=0)){e.next=34;break}if(void 0===(R=(h||(h=new Map)).get(Q))&&(G=new zQ(n,d.pageDict),R=G.collectObjects(y),h.set(Q,R)),!(N=null===(x=R)||void 0===x?void 0:x.get(F))){e.next=34;break}return L=o.fetch(N).clone(),jQ.call(_B,L,b),I.length=0,e.next=32,iQ(N,L,I,o);case 32:return c.push({ref:N,data:I.join("")}),e.abrupt("continue",47);case 34:return l=Math.max(l,D),U=o.getNewTemporaryRef(),M=new He(o),jQ.call(_B,M,b),e.next=40,YQ(_B,this,ZQ).call(this,{structTreeParent:S,tagDict:M,newTagRef:U,structTreeRootRef:A,fallbackKids:i,xref:o,cache:g});case 40:J=new He(o),M.set("K",J),J.set("Type",u),p&&J.set("Pg",y),J.set("Obj",k),g.put(U,M),a.push(D,U);case 47:e.next=17;break;case 49:e.next=54;break;case 51:e.prev=51,e.t0=e.catch(15),v.e(e.t0);case 54:return e.prev=54,v.f(),e.finish(54);case 57:e.next=7;break;case 59:e.next=64;break;case 61:e.prev=61,e.t1=e.catch(5),f.e(e.t1);case 64:return e.prev=64,f.f(),e.finish(64);case 67:return e.abrupt("return",l+1);case 68:case"end":return e.stop()}}),e,this,[[5,61,64,67],[15,51,54,57]])})))).apply(this,arguments)}function jQ(e,t){var r=t.type,A=t.title,n=t.lang,i=t.alt,a=t.expanded,o=t.actualText;e.set("S",Ue.get(r)),A&&e.set("T",jt(A)),n&&e.set("Lang",jt(n)),i&&e.set("Alt",jt(i)),a&&e.set("E",jt(a)),o&&e.set("ActualText",jt(o))}function WQ(e){var t,r=e.elements,A=e.xref,n=e.pageDict,i=e.numberTree,a=new Map,o=xQ(r);try{for(o.s();!(t=o.n()).done;){var s=t.value;if(s.structTreeParentId){var c=parseInt(s.structTreeParentId.split("_mc")[1],10),g=a.get(c);g||(g=[],a.set(c,g)),g.push(s)}}}catch(e){o.e(e)}finally{o.f()}var u=n.get("StructParents");if(Number.isInteger(u)){var l,h=function(e,t,r){var n=a.get(e);if(n){var i=t.getRaw("P"),o=A.fetchIfRef(i);if(i instanceof Ye&&o instanceof He){var s,c={ref:r,dict:t},g=xQ(n);try{for(g.s();!(s=g.n()).done;)s.value.structTreeParent=c}catch(e){g.e(e)}finally{g.f()}}return!0}return!1},I=xQ(i.get(u));try{for(I.s();!(l=I.n()).done;){var f=l.value;if(f instanceof Ye){var C=A.fetch(f),B=C.get("K");if(Number.isInteger(B))h(B,C,f);else if(Array.isArray(B)){var Q,E=xQ(B);try{for(E.s();!(Q=E.n()).done;){var d=Q.value;if(d=A.fetchIfRef(d),Number.isInteger(d)&&h(d,C,f))break;if(d instanceof He){if(!Ke(d.get("Type"),"MCR"))break;var y=d.get("MCID");if(Number.isInteger(y)&&h(y,C,f))break}}}catch(e){E.e(e)}finally{E.f()}}}}}catch(e){I.e(e)}finally{I.f()}}}function ZQ(e){return _Q.apply(this,arguments)}function _Q(){return(_Q=LQ(SQ().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C;return SQ().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.structTreeParent,A=t.tagDict,n=t.newTagRef,i=t.structTreeRootRef,a=t.fallbackKids,o=t.xref,s=t.cache,c=null,r?(c=r.ref,g=r.dict.getRaw("P")||i):g=i,A.set("P",g),u=o.fetchIfRef(g)){e.next=8;break}return a.push(n),e.abrupt("return");case 8:(l=s.get(g))||(l=u.clone(),s.put(g,l)),h=l.getRaw("K"),(I=h instanceof Ye?s.get(h):null)||(I=o.fetchIfRef(h),I=Array.isArray(I)?I.slice():[h],f=o.getNewTemporaryRef(),l.set("K",f),s.put(f,I)),C=I.indexOf(c),I.splice(C>=0?C+1:I.length,0,n);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}_B=OQ;var XQ=function(){return JQ((function e(t,r){UQ(this,e),this.tree=t,this.dict=r,this.kids=[],this.parseKids()}),[{key:"role",get:function(){var e=this.dict.get("S"),t=e instanceof Ue?e.name:"",r=this.tree.root;return r.roleMap.has(t)?r.roleMap.get(t):t}},{key:"parseKids",value:function(){var e=null,t=this.dict.getRaw("Pg");t instanceof Ye&&(e=t.toString());var r=this.dict.get("K");if(Array.isArray(r)){var A,n=xQ(r);try{for(n.s();!(A=n.n()).done;){var i=A.value,a=this.parseKid(e,i);a&&this.kids.push(a)}}catch(e){n.e(e)}finally{n.f()}}else{var o=this.parseKid(e,r);o&&this.kids.push(o)}}},{key:"parseKid",value:function(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new VQ({type:1,mcid:t,pageObjId:e});var r=null;if(t instanceof Ye?r=this.dict.xref.fetch(t):t instanceof He&&(r=t),!r)return null;var A=r.getRaw("Pg");A instanceof Ye&&(e=A.toString());var n=r.get("Type")instanceof Ue?r.get("Type").name:null;if("MCR"===n){if(this.tree.pageDict.objId!==e)return null;var i=r.getRaw("Stm");return new VQ({type:2,refObjId:i instanceof Ye?i.toString():null,pageObjId:e,mcid:r.get("MCID")})}if("OBJR"===n){if(this.tree.pageDict.objId!==e)return null;var a=r.getRaw("Obj");return new VQ({type:3,refObjId:a instanceof Ye?a.toString():null,pageObjId:e})}return new VQ({type:5,dict:r})}}])}(),VQ=JQ((function e(t){var r=t.type,A=t.dict,n=void 0===A?null:A,i=t.mcid,a=void 0===i?null:i,o=t.pageObjId,s=void 0===o?null:o,c=t.refObjId,g=void 0===c?null:c;UQ(this,e),this.type=r,this.dict=n,this.mcid=a,this.pageObjId=s,this.refObjId=g,this.parentNode=null})),zQ=function(){return JQ((function e(t,r){UQ(this,e),this.root=t,this.rootDict=t?t.dict:null,this.pageDict=r,this.nodes=[]}),[{key:"collectObjects",value:function(e){var t;if(!(this.root&&this.rootDict&&e instanceof Ye))return null;var r=this.rootDict.get("ParentTree");if(!r)return null;var A=null===(t=this.root.structParentIds)||void 0===t?void 0:t.get(e);if(!A)return null;var n,i=new Map,a=new MC(r,this.rootDict.xref),o=xQ(A);try{for(o.s();!(n=o.n()).done;){var s=FQ(n.value,1)[0],c=a.getRaw(s);c instanceof Ye&&i.set(s,c)}}catch(e){o.e(e)}finally{o.f()}return i}},{key:"parse",value:function(e){var t;if(this.root&&this.rootDict&&e instanceof Ye){var r=this.rootDict.get("ParentTree");if(r){var A=this.pageDict.get("StructParents"),n=null===(t=this.root.structParentIds)||void 0===t?void 0:t.get(e);if(Number.isInteger(A)||n){var i=new Map,a=new MC(r,this.rootDict.xref);if(Number.isInteger(A)){var o=a.get(A);if(Array.isArray(o)){var s,c=xQ(o);try{for(c.s();!(s=c.n()).done;){var g=s.value;g instanceof Ye&&this.addNode(this.rootDict.xref.fetch(g),i)}}catch(e){c.e(e)}finally{c.f()}}}if(n){var u,l=xQ(n);try{for(l.s();!(u=l.n()).done;){var h=FQ(u.value,2),I=h[0],f=h[1],C=a.get(I);if(C){var B,Q=this.addNode(this.rootDict.xref.fetchIfRef(C),i);1===(null==Q||null===(B=Q.kids)||void 0===B?void 0:B.length)&&3===Q.kids[0].type&&(Q.kids[0].type=f)}}}catch(e){l.e(e)}finally{l.f()}}}}}}},{key:"addNode",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r>40)return q("StructTree MAX_DEPTH reached."),null;if(!(e instanceof He))return null;if(t.has(e))return t.get(e);var A=new XQ(this,e);t.set(e,A);var n=e.get("P");if(!n||Ke(n.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(e,A)||t.delete(e),A;var i=this.addNode(n,t,r+1);if(!i)return A;var a,o=!1,s=xQ(i.kids);try{for(s.s();!(a=s.n()).done;){var c=a.value;5===c.type&&c.dict===e&&(c.parentNode=A,o=!0)}}catch(e){s.e(e)}finally{s.f()}return o||t.delete(e),A}},{key:"addTopLevelNode",value:function(e,t){var r=this.rootDict.get("K");if(!r)return!1;if(r instanceof He)return r.objId===e.objId&&(this.nodes[0]=t,!0);if(!Array.isArray(r))return!0;for(var A=!1,n=0;n<r.length;n++){var i=r[n];(null==i?void 0:i.toString())===e.objId&&(this.nodes[n]=t,A=!0)}return A}},{key:"serializable",get:function(){function e(t,r){var A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(A>40)q("StructTree too deep to be fully serialized.");else{var n=Object.create(null);n.role=t.role,n.children=[],r.children.push(n);var i=t.dict.get("Alt");"string"!=typeof i&&(i=t.dict.get("ActualText")),"string"==typeof i&&(n.alt=Ie(i));var a=t.dict.get("A");if(a instanceof He){var o=Rt(a.getArray("BBox"),null);if(o)n.bbox=o;else{var s=a.get("Width"),c=a.get("Height");"number"==typeof s&&s>0&&"number"==typeof c&&c>0&&(n.bbox=[0,0,s,c])}}var g=t.dict.get("Lang");"string"==typeof g&&(n.lang=Ie(g));var u,l=xQ(t.kids);try{for(l.s();!(u=l.n()).done;){var h=u.value,I=5===h.type?h.parentNode:null;I?e(I,n,A+1):1===h.type||2===h.type?n.children.push({type:"content",id:"p".concat(h.pageObjId,"_mc").concat(h.mcid)}):3===h.type?n.children.push({type:"object",id:h.refObjId}):4===h.type&&n.children.push({type:"annotation",id:"".concat("pdfjs_internal_id_").concat(h.refObjId)})}}catch(e){l.e(e)}finally{l.f()}}}var t=Object.create(null);t.children=[],t.role="Root";var r,A=xQ(this.nodes);try{for(A.s();!(r=A.n()).done;){var n=r.value;n&&e(n,t)}}catch(e){A.e(e)}finally{A.f()}return t}}])}();function $Q(){$Q=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function eE(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function tE(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){eE(i,A,n,a,o,"next",e)}function o(e){eE(i,A,n,a,o,"throw",e)}a(void 0)}))}}function rE(e,t){return gE(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||sE(e,t)||oE()}function AE(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,nE(A.key),A)}}function nE(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function iE(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function aE(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sE(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function oE(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sE(e,t){if(e){if("string"==typeof e)return cE(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cE(e,t):void 0}}function cE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function gE(e){if(Array.isArray(e))return e}function uE(e){if(!Array.isArray(e)||e.length<2)return!1;var t=function(e){return gE(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sE(e)||oE()}(e),r=t[0],A=t[1],n=t.slice(2);if(!(r instanceof Ye||Number.isInteger(r)))return!1;if(!(A instanceof Ue))return!1;var i=n.length,a=!0;switch(A.name){case"XYZ":if(i<2||i>3)return!1;break;case"Fit":case"FitB":return 0===i;case"FitH":case"FitBH":case"FitV":case"FitBV":if(i>1)return!1;break;case"FitR":if(4!==i)return!1;a=!1;break;default:return!1}var o,s=aE(n);try{for(s.s();!(o=s.n()).done;){var c=o.value;if(!("number"==typeof c||a&&null===c))return!1}}catch(e){s.e(e)}finally{s.f()}return!0}function lE(e){return e instanceof He&&(e=e.get("D")),uE(e)?e:null}function hE(e){var t=e.get("D");if(t){if(t instanceof Ue&&(t=t.name),"string"==typeof t)return Ie(t);if(uE(t))return JSON.stringify(t)}return null}var IE=new WeakSet,fE=function(){function e(t,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,IE),this.pdfManager=t,this.xref=r,this._catDict=r.getCatalogObj(),!(this._catDict instanceof He))throw new re("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new Oe,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new Kh,this.pageKidsCountCache=new Oe,this.pageIndexCache=new Oe,this.pageDictCache=new Oe,this.nonBlendModesSet=new Pe,this.systemFontCache=new Map}return function(e,t,r){return t&&AE(e.prototype,t),r&&AE(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"cloneDict",value:function(){return this._catDict.clone()}},{key:"version",get:function(){var e=this._catDict.get("Version");if(e instanceof Ue){if(It.test(e.name))return _(this,"version",e.name);q("Invalid PDF catalog version: ".concat(e.name))}return _(this,"version",null)}},{key:"lang",get:function(){var e=this._catDict.get("Lang");return _(this,"lang",e&&"string"==typeof e?Ie(e):null)}},{key:"needsRendering",get:function(){var e=this._catDict.get("NeedsRendering");return _(this,"needsRendering","boolean"==typeof e&&e)}},{key:"collection",get:function(){var e=null;try{var t=this._catDict.get("Collection");t instanceof He&&t.size>0&&(e=t)}catch(e){if(e instanceof Ct)throw e;T("Cannot fetch Collection entry; assuming no collection is present.")}return _(this,"collection",e)}},{key:"acroForm",get:function(){var e=null;try{var t=this._catDict.get("AcroForm");t instanceof He&&t.size>0&&(e=t)}catch(e){if(e instanceof Ct)throw e;T("Cannot fetch AcroForm entry; assuming no forms are present.")}return _(this,"acroForm",e)}},{key:"acroFormRef",get:function(){var e=this._catDict.getRaw("AcroForm");return _(this,"acroFormRef",e instanceof Ye?e:null)}},{key:"metadata",get:function(){var e=this._catDict.getRaw("Metadata");if(!(e instanceof Ye))return _(this,"metadata",null);var t=null;try{var r,A=this.xref.fetch(e,!(null!==(r=this.xref.encrypt)&&void 0!==r&&r.encryptMetadata));if(A instanceof ze&&A.dict instanceof He){var n=A.dict.get("Type"),i=A.dict.get("Subtype");if(Ke(n,"Metadata")&&Ke(i,"XML")){var a=fe(A.getString());a&&(t=new lB(a).serializable)}}}catch(e){if(e instanceof Ct)throw e;T('Skipping invalid Metadata: "'.concat(e,'".'))}return _(this,"metadata",t)}},{key:"markInfo",get:function(){var e=null;try{e=this._readMarkInfo()}catch(e){if(e instanceof Ct)throw e;q("Unable to read mark info.")}return _(this,"markInfo",e)}},{key:"_readMarkInfo",value:function(){var e=this._catDict.get("MarkInfo");if(!(e instanceof He))return null;var t={Marked:!1,UserProperties:!1,Suspects:!1};for(var r in t){var A=e.get(r);"boolean"==typeof A&&(t[r]=A)}return t}},{key:"structTreeRoot",get:function(){var e=null;try{e=this._readStructTreeRoot()}catch(e){if(e instanceof Ct)throw e;q("Unable read to structTreeRoot info.")}return _(this,"structTreeRoot",e)}},{key:"_readStructTreeRoot",value:function(){var e=this._catDict.getRaw("StructTreeRoot"),t=this.xref.fetchIfRef(e);if(!(t instanceof He))return null;var r=new OQ(t,e);return r.init(),r}},{key:"toplevelPagesDict",get:function(){var e=this._catDict.get("Pages");if(!(e instanceof He))throw new re("Invalid top-level pages dictionary.");return _(this,"toplevelPagesDict",e)}},{key:"documentOutline",get:function(){var e=null;try{e=this._readDocumentOutline()}catch(e){if(e instanceof Ct)throw e;q("Unable to read document outline.")}return _(this,"documentOutline",e)}},{key:"_readDocumentOutline",value:function(){var t=this._catDict.get("Outlines");if(!(t instanceof He))return null;if(!((t=t.getRaw("First"))instanceof Ye))return null;var r={items:[]},A=[{obj:t,parent:r}],n=new Pe;n.put(t);for(var i=this.xref,a=new Uint8ClampedArray(3);A.length>0;){var o=A.shift(),s=i.fetchIfRef(o.obj);if(null!==s){s.has("Title")||q("Invalid outline item encountered.");var c={url:null,dest:null,action:null};e.parseDestDictionary({destDict:s,resultObj:c,docBaseUrl:this.baseUrl,docAttachments:this.attachments});var g=s.get("Title"),u=s.get("F")||0,l=s.getArray("C"),h=s.get("Count"),I=a;!St(l,3)||0===l[0]&&0===l[1]&&0===l[2]||(I=Ur.singletons.rgb.getRgb(l,0));var f={action:c.action,attachment:c.attachment,dest:c.dest,url:c.url,unsafeUrl:c.unsafeUrl,newWindow:c.newWindow,setOCGState:c.setOCGState,title:"string"==typeof g?Ie(g):"",color:I,count:Number.isInteger(h)?h:void 0,bold:!!(2&u),italic:!!(1&u),items:[]};o.parent.items.push(f),(t=s.getRaw("First"))instanceof Ye&&!n.has(t)&&(A.push({obj:t,parent:f}),n.put(t)),(t=s.getRaw("Next"))instanceof Ye&&!n.has(t)&&(A.push({obj:t,parent:o.parent}),n.put(t))}}return r.items.length>0?r.items:null}},{key:"permissions",get:function(){var e=null;try{e=this._readPermissions()}catch(e){if(e instanceof Ct)throw e;q("Unable to read permissions.")}return _(this,"permissions",e)}},{key:"_readPermissions",value:function(){var e=this.xref.trailer.get("Encrypt");if(!(e instanceof He))return null;var t=e.get("P");if("number"!=typeof t)return null;t+=Math.pow(2,32);var r=[];for(var A in y){var n=y[A];t&n&&r.push(n)}return r}},{key:"optionalContentConfig",get:function(){var e=null;try{var t=this._catDict.get("OCProperties");if(!t)return _(this,"optionalContentConfig",null);var r=t.get("D");if(!r)return _(this,"optionalContentConfig",null);var A=t.get("OCGs");if(!Array.isArray(A))return _(this,"optionalContentConfig",null);var n,i=[],a=new Pe,o=aE(A);try{for(o.s();!(n=o.n()).done;){var s=n.value;s instanceof Ye&&!a.has(s)&&(a.put(s),i.push(iE(IE,this,CE).call(this,s)))}}catch(e){o.e(e)}finally{o.f()}(e=iE(IE,this,BE).call(this,r,a)).groups=i}catch(e){if(e instanceof Ct)throw e;q("Unable to read optional content config: ".concat(e))}return _(this,"optionalContentConfig",e)}},{key:"setActualNumPages",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._actualNumPages=e}},{key:"hasActualNumPages",get:function(){return null!==this._actualNumPages}},{key:"_pagesCount",get:function(){var e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new re("Page count in top-level pages dictionary is not an integer.");return _(this,"_pagesCount",e)}},{key:"numPages",get:function(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}},{key:"destinations",get:function(){var e=this._readDests(),t=Object.create(null);if(e instanceof UC){var r,A=aE(e.getAll());try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=lE(n[1]);a&&(t[Ie(i)]=a)}}catch(e){A.e(e)}finally{A.f()}}else e instanceof He&&e.forEach((function(e,r){var A=lE(r);A&&(t[e]=A)}));return _(this,"destinations",t)}},{key:"getDestination",value:function(e){var t=this._readDests();if(t instanceof UC){var r=lE(t.get(e));if(r)return r;var A=this.destinations[e];if(A)return q('Found "'.concat(e,'" at an incorrect position in the NameTree.')),A}else if(t instanceof He){var n=lE(t.get(e));if(n)return n}return null}},{key:"_readDests",value:function(){var e=this._catDict.get("Names");return null!=e&&e.has("Dests")?new UC(e.getRaw("Dests"),this.xref):this._catDict.has("Dests")?this._catDict.get("Dests"):void 0}},{key:"pageLabels",get:function(){var e=null;try{e=this._readPageLabels()}catch(e){if(e instanceof Ct)throw e;q("Unable to read page labels.")}return _(this,"pageLabels",e)}},{key:"_readPageLabels",value:function(){var e=this._catDict.getRaw("PageLabels");if(!e)return null;for(var t=new Array(this.numPages),r=null,A="",n=new MC(e,this.xref).getAll(),i="",a=1,o=0,s=this.numPages;o<s;o++){var c=n.get(o);if(void 0!==c){if(!(c instanceof He))throw new re("PageLabel is not a dictionary.");if(c.has("Type")&&!Ke(c.get("Type"),"PageLabel"))throw new re("Invalid type in PageLabel dictionary.");if(c.has("S")){var g=c.get("S");if(!(g instanceof Ue))throw new re("Invalid style in PageLabel dictionary.");r=g.name}else r=null;if(c.has("P")){var u=c.get("P");if("string"!=typeof u)throw new re("Invalid prefix in PageLabel dictionary.");A=Ie(u)}else A="";if(c.has("St")){var l=c.get("St");if(!(Number.isInteger(l)&&l>=1))throw new re("Invalid start in PageLabel dictionary.");a=l}else a=1}switch(r){case"D":i=a;break;case"R":case"r":i=vt(a,"r"===r);break;case"A":case"a":var h="a"===r?97:65,I=a-1;i=String.fromCharCode(h+I%26).repeat(Math.floor(I/26)+1);break;default:if(r)throw new re('Invalid style "'.concat(r,'" in PageLabel dictionary.'));i=""}t[o]=A+i,a++}return t}},{key:"pageLayout",get:function(){var e=this._catDict.get("PageLayout"),t="";if(e instanceof Ue)switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":t=e.name}return _(this,"pageLayout",t)}},{key:"pageMode",get:function(){var e=this._catDict.get("PageMode"),t="UseNone";if(e instanceof Ue)switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=e.name}return _(this,"pageMode",t)}},{key:"viewerPreferences",get:function(){var e=this,t=this._catDict.get("ViewerPreferences");if(!(t instanceof He))return _(this,"viewerPreferences",null);var r,A=null,n=aE(t.getKeys());try{for(n.s();!(r=n.n()).done;){var i=r.value,a=t.get(i),o=void 0;switch(i){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":"boolean"==typeof a&&(o=a);break;case"NonFullScreenPageMode":if(a instanceof Ue)switch(a.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":o=a.name;break;default:o="UseNone"}break;case"Direction":if(a instanceof Ue)switch(a.name){case"L2R":case"R2L":o=a.name;break;default:o="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(a instanceof Ue)switch(a.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":o=a.name;break;default:o="CropBox"}break;case"PrintScaling":if(a instanceof Ue)switch(a.name){case"None":case"AppDefault":o=a.name;break;default:o="AppDefault"}break;case"Duplex":if(a instanceof Ue)switch(a.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":o=a.name;break;default:o="None"}break;case"PrintPageRange":Array.isArray(a)&&a.length%2==0&&a.every((function(t,r,A){return Number.isInteger(t)&&t>0&&(0===r||t>=A[r-1])&&t<=e.numPages}))&&(o=a);break;case"NumCopies":Number.isInteger(a)&&a>0&&(o=a);break;default:q("Ignoring non-standard key in ViewerPreferences: ".concat(i,"."));continue}void 0!==o?(A||(A=Object.create(null)),A[i]=o):q('Bad value, for key "'.concat(i,'", in ViewerPreferences: ').concat(a,"."))}}catch(e){n.e(e)}finally{n.f()}return _(this,"viewerPreferences",A)}},{key:"openAction",get:function(){var t=this._catDict.get("OpenAction"),r=Object.create(null);if(t instanceof He){var A=new He(this.xref);A.set("A",t);var n={url:null,dest:null,action:null};e.parseDestDictionary({destDict:A,resultObj:n}),Array.isArray(n.dest)?r.dest=n.dest:n.action&&(r.action=n.action)}else Array.isArray(t)&&(r.dest=t);return _(this,"openAction",oe(r)>0?r:null)}},{key:"attachments",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof He&&e.has("EmbeddedFiles")){var r,A=aE(new UC(e.getRaw("EmbeddedFiles"),this.xref).getAll());try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=n[1],o=new TC(a,this.xref);t||(t=Object.create(null)),t[Ie(i)]=o.serializable}}catch(e){A.e(e)}finally{A.f()}}return _(this,"attachments",t)}},{key:"xfaImages",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof He&&e.has("XFAImages")){var r,A=aE(new UC(e.getRaw("XFAImages"),this.xref).getAll());try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=n[1];t||(t=new He(this.xref)),t.set(Ie(i),a)}}catch(e){A.e(e)}finally{A.f()}}return _(this,"xfaImages",t)}},{key:"_collectJavaScript",value:function(){var e=this._catDict.get("Names"),t=null;function r(e,r){if(r instanceof He&&Ke(r.get("S"),"JavaScript")){var A=r.get("JS");if(A instanceof ze)A=A.getString();else if("string"!=typeof A)return;(A=Ie(A).replaceAll("\\0",""))&&(t||(t=new Map)).set(e,A)}}if(e instanceof He&&e.has("JavaScript")){var A,n=aE(new UC(e.getRaw("JavaScript"),this.xref).getAll());try{for(n.s();!(A=n.n()).done;){var i=rE(A.value,2),a=i[0],o=i[1];r(Ie(a),o)}}catch(e){n.e(e)}finally{n.f()}}var s=this._catDict.get("OpenAction");return s&&r("OpenAction",s),t}},{key:"jsActions",get:function(){var e=this._collectJavaScript(),t=Mt(this.xref,this._catDict,k);if(e){t||(t=Object.create(null));var r,A=aE(e);try{for(A.s();!(r=A.n()).done;){var n=rE(r.value,2),i=n[0],a=n[1];i in t?t[i].push(a):t[i]=[a]}}catch(e){A.e(e)}finally{A.f()}}return _(this,"jsActions",t)}},{key:"fontFallback",value:(n=tE($Q().mark((function e(t,r){var A,n,i,a;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.fontCache);case 2:A=e.sent,n=aE(A),e.prev=4,n.s();case 6:if((i=n.n()).done){e.next=13;break}if((a=i.value).loadedName!==t){e.next=11;break}return a.fallback(r),e.abrupt("return");case 11:e.next=6;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),n.e(e.t0);case 18:return e.prev=18,n.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[4,15,18,21]])}))),function(e,t){return n.apply(this,arguments)})},{key:"cleanup",value:(A=tE($Q().mark((function e(){var t,r,A,n,i=arguments;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]&&i[0],JC(),this.globalImageCache.clear(t),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.pageDictCache.clear(),this.nonBlendModesSet.clear(),e.next=9,Promise.all(this.fontCache);case 9:r=e.sent,A=aE(r);try{for(A.s();!(n=A.n()).done;)delete n.value.dict.cacheKey}catch(e){A.e(e)}finally{A.f()}this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear(),this.systemFontCache.clear();case 16:case"end":return e.stop()}}),e,this)}))),function(){return A.apply(this,arguments)})},{key:"getPageDict",value:(r=tE($Q().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[this.toplevelPagesDict],A=new Pe,(n=this._catDict.getRaw("Pages"))instanceof Ye&&A.put(n),i=this.xref,a=this.pageKidsCountCache,o=this.pageIndexCache,s=this.pageDictCache,c=0;case 6:if(!r.length){e.next=67;break}if(!((g=r.pop())instanceof Ye)){e.next=34;break}if(!((u=a.get(g))>=0&&c+u<=t)){e.next=13;break}return c+=u,e.abrupt("continue",6);case 13:if(!A.has(g)){e.next=15;break}throw new re("Pages tree contains circular reference.");case 15:return A.put(g),e.next=18,s.get(g)||i.fetchAsync(g);case 18:if(!((l=e.sent)instanceof He)){e.next=32;break}if(!((h=l.getRaw("Type"))instanceof Ye)){e.next=25;break}return e.next=24,i.fetchAsync(h);case 24:h=e.sent;case 25:if(!Ke(h,"Page")&&l.has("Kids")){e.next=32;break}if(a.has(g)||a.put(g,1),o.has(g)||o.put(g,c),c!==t){e.next=30;break}return e.abrupt("return",[l,g]);case 30:return c++,e.abrupt("continue",6);case 32:return r.push(l),e.abrupt("continue",6);case 34:if(g instanceof He){e.next=36;break}throw new re("Page dictionary kid reference points to wrong type of object.");case 36:if(I=g.objId,!((f=g.getRaw("Count"))instanceof Ye)){e.next=42;break}return e.next=41,i.fetchAsync(f);case 41:f=e.sent;case 42:if(!(Number.isInteger(f)&&f>=0)){e.next=47;break}if(I&&!a.has(I)&&a.put(I,f),!(c+f<=t)){e.next=47;break}return c+=f,e.abrupt("continue",6);case 47:if(!((C=g.getRaw("Kids"))instanceof Ye)){e.next=52;break}return e.next=51,i.fetchAsync(C);case 51:C=e.sent;case 52:if(Array.isArray(C)){e.next=64;break}if(!((B=g.getRaw("Type"))instanceof Ye)){e.next=58;break}return e.next=57,i.fetchAsync(B);case 57:B=e.sent;case 58:if(!Ke(B,"Page")&&g.has("Kids")){e.next=63;break}if(c!==t){e.next=61;break}return e.abrupt("return",[g,null]);case 61:return c++,e.abrupt("continue",6);case 63:throw new re("Page dictionary kids object is not an array.");case 64:for(Q=C.length-1;Q>=0;Q--)E=C[Q],r.push(E),g===this.toplevelPagesDict&&E instanceof Ye&&!s.has(E)&&s.put(E,i.fetchAsync(E));e.next=6;break;case 67:throw new Error("Page index ".concat(t," not found."));case 68:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getAllPageDicts",value:(t=tE($Q().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E=arguments;return $Q().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u=function(e){if(e instanceof Qt&&!t)throw e;t&&r&&0===c&&(q('getAllPageDicts - Skipping invalid first page: "'.concat(e,'".')),e=He.empty),a.set(c++,[e,null])},g=function(e,t){t&&!s.has(t)&&s.put(t,c),a.set(c++,[e,t])},t=E.length>0&&void 0!==E[0]&&E[0],r=this.pdfManager.evaluatorOptions.ignoreErrors,A=[{currentNode:this.toplevelPagesDict,posInKids:0}],n=new Pe,(i=this._catDict.getRaw("Pages"))instanceof Ye&&n.put(i),a=new Map,o=this.xref,s=this.pageIndexCache,c=0;case 10:if(!(A.length>0)){e.next=70;break}if(l=A.at(-1),h=l.currentNode,I=l.posInKids,!((f=h.getRaw("Kids"))instanceof Ye)){e.next=25;break}return e.prev=15,e.next=18,o.fetchAsync(f);case 18:f=e.sent,e.next=25;break;case 21:return e.prev=21,e.t0=e.catch(15),u(e.t0),e.abrupt("break",70);case 25:if(Array.isArray(f)){e.next=28;break}return u(new re("Page dictionary kids object is not an array.")),e.abrupt("break",70);case 28:if(!(I>=f.length)){e.next=31;break}return A.pop(),e.abrupt("continue",10);case 31:if(C=f[I],B=void 0,!(C instanceof Ye)){e.next=50;break}if(!n.has(C)){e.next=37;break}return u(new re("Pages tree contains circular reference.")),e.abrupt("break",70);case 37:return n.put(C),e.prev=38,e.next=41,o.fetchAsync(C);case 41:B=e.sent,e.next=48;break;case 44:return e.prev=44,e.t1=e.catch(38),u(e.t1),e.abrupt("break",70);case 48:e.next=51;break;case 50:B=C;case 51:if(B instanceof He){e.next=54;break}return u(new re("Page dictionary kid reference points to wrong type of object.")),e.abrupt("break",70);case 54:if(!((Q=B.getRaw("Type"))instanceof Ye)){e.next=66;break}return e.prev=56,e.next=59,o.fetchAsync(Q);case 59:Q=e.sent,e.next=66;break;case 62:return e.prev=62,e.t2=e.catch(56),u(e.t2),e.abrupt("break",70);case 66:Ke(Q,"Page")||!B.has("Kids")?g(B,C instanceof Ye?C:null):A.push({currentNode:B,posInKids:0}),l.posInKids++,e.next=10;break;case 70:return e.abrupt("return",a);case 71:case"end":return e.stop()}}),e,this,[[15,21],[38,44],[56,62]])}))),function(){return t.apply(this,arguments)})},{key:"getPageIndex",value:function(e){var t=this,r=this.pageIndexCache.get(e);if(void 0!==r)return Promise.resolve(r);var A=this.xref,n=0,i=function(r){return function(t){var r,n=0;return A.fetchAsync(t).then((function(A){if(je(t,e)&&!qe(A,"Page")&&!(A instanceof He&&!A.has("Type")&&A.has("Contents")))throw new re("The reference does not point to a /Page dictionary.");if(!A)return null;if(!(A instanceof He))throw new re("Node must be a dictionary.");return r=A.getRaw("Parent"),A.getAsync("Parent")})).then((function(e){if(!e)return null;if(!(e instanceof He))throw new re("Parent must be a dictionary.");return e.getAsync("Kids")})).then((function(e){if(!e)return null;var i,a=[],o=!1,s=aE(e);try{for(s.s();!(i=s.n()).done;){var c=i.value;if(!(c instanceof Ye))throw new re("Kid must be a reference.");if(je(c,t)){o=!0;break}a.push(A.fetchAsync(c).then((function(e){if(!(e instanceof He))throw new re("Kid node must be a dictionary.");e.has("Count")?n+=e.get("Count"):n++})))}}catch(e){s.e(e)}finally{s.f()}if(!o)throw new re("Kid reference not found in parent's kids.");return Promise.all(a).then((function(){return[n,r]}))}))}(r).then((function(r){if(!r)return t.pageIndexCache.put(e,n),n;var A=rE(r,2),a=A[0],o=A[1];return n+=a,i(o)}))};return i(e)}},{key:"baseUrl",get:function(){var e=this._catDict.get("URI");if(e instanceof He){var t=e.get("Base");if("string"==typeof t){var r=Z(t,null,{tryConvertEncoding:!0});if(r)return _(this,"baseUrl",r.href)}}return _(this,"baseUrl",this.pdfManager.docBaseUrl)}}],[{key:"parseDestDictionary",value:function(e){var t=e.destDict,r=e.resultObj,A=e.docBaseUrl,n=void 0===A?null:A,i=e.docAttachments,a=void 0===i?null:i;if(t instanceof He){var o,s,c=t.get("A");if(c instanceof He||(t.has("Dest")?c=t.get("Dest"):(c=t.get("AA"))instanceof He&&(c.has("D")?c=c.get("D"):c.has("U")&&(c=c.get("U")))),c instanceof He){var g=c.get("S");if(!(g instanceof Ue))return void q("parseDestDictionary: Invalid type in Action dictionary.");var u=g.name;switch(u){case"ResetForm":var l,h=c.get("Flags"),I=0==(1&("number"==typeof h?h:0)),f=[],C=[],B=aE(c.get("Fields")||[]);try{for(B.s();!(l=B.n()).done;){var Q=l.value;Q instanceof Ye?C.push(Q.toString()):"string"==typeof Q&&f.push(Ie(Q))}}catch(e){B.e(e)}finally{B.f()}r.resetForm={fields:f,refs:C,include:I};break;case"URI":(o=c.get("URI"))instanceof Ue&&(o="/"+o.name);break;case"GoTo":s=c.get("D");break;case"Launch":case"GoToR":var E=c.get("F");E instanceof He?o=new TC(E,null,!0).serializable.rawFilename:"string"==typeof E&&(o=E);var d=hE(c);d&&"string"==typeof o&&(o=o.split("#",1)[0]+"#"+d);var y=c.get("NewWindow");"boolean"==typeof y&&(r.newWindow=y);break;case"GoToE":var p,v=c.get("T");if(a&&v instanceof He){var m=v.get("R"),w=v.get("N");Ke(m,"C")&&"string"==typeof w&&(p=a[Ie(w)])}if(p){r.attachment=p;var b=hE(c);b&&(r.attachmentDest=b)}else q('parseDestDictionary - unimplemented "GoToE" action.');break;case"Named":var k=c.get("N");k instanceof Ue&&(r.action=k.name);break;case"SetOCGState":var D=c.get("State"),S=c.get("PreserveRB");if(!Array.isArray(D)||0===D.length)break;var F,x=[],R=aE(D);try{for(R.s();!(F=R.n()).done;){var G=F.value;if(G instanceof Ue)switch(G.name){case"ON":case"OFF":case"Toggle":x.push(G.name)}else G instanceof Ye&&x.push(G.toString())}}catch(e){R.e(e)}finally{R.f()}if(x.length!==D.length)break;r.setOCGState={state:x,preserveRB:"boolean"!=typeof S||S};break;case"JavaScript":var N,L=c.get("JS");L instanceof ze?N=L.getString():"string"==typeof L&&(N=L);var U=N&&Kt(Ie(N));if(U){o=U.url,r.newWindow=U.newWindow;break}default:if("JavaScript"===u||"SubmitForm"===u)break;q('parseDestDictionary - unsupported action: "'.concat(u,'".'))}}else t.has("Dest")&&(s=t.get("Dest"));if("string"==typeof o){var M=Z(o,n,{addDefaultProtocol:!0,tryConvertEncoding:!0});M&&(r.url=M.href),r.unsafeUrl=o}s&&(s instanceof Ue&&(s=s.name),"string"==typeof s?r.dest=Ie(s):uE(s)&&(r.dest=s))}else q("parseDestDictionary: \`destDict\` must be a dictionary.")}}]);var t,r,A,n}();function CE(e){var t=this.xref.fetch(e),r={id:e.toString(),name:null,intent:null,usage:{print:null,view:null}},A=t.get("Name");"string"==typeof A&&(r.name=Ie(A));var n=t.getArray("Intent");Array.isArray(n)||(n=[n]),n.every((function(e){return e instanceof Ue}))&&(r.intent=n.map((function(e){return e.name})));var i=t.get("Usage");if(!(i instanceof He))return r;var a=r.usage,o=i.get("Print");if(o instanceof He){var s=o.get("PrintState");if(s instanceof Ue)switch(s.name){case"ON":case"OFF":a.print={printState:s.name}}}var c=i.get("View");if(c instanceof He){var g=c.get("ViewState");if(g instanceof Ue)switch(g.name){case"ON":case"OFF":a.view={viewState:g.name}}}return r}function BE(e,t){function r(e){var r=[];if(Array.isArray(e)){var A,n=aE(e);try{for(n.s();!(A=n.n()).done;){var i=A.value;i instanceof Ye&&t.has(i)&&r.push(i.toString())}}catch(e){n.e(e)}finally{n.f()}}return r}function A(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e))return null;var A,i=[],o=aE(e);try{for(o.s();!(A=o.n()).done;){var s=A.value;if(s instanceof Ye&&t.has(s))a.put(s),i.push(s.toString());else{var c=n(s,r);c&&i.push(c)}}}catch(e){o.e(e)}finally{o.f()}if(r>0)return i;var g,u=[],l=aE(t);try{for(l.s();!(g=l.n()).done;){var h=g.value;a.has(h)||u.push(h.toString())}}catch(e){l.e(e)}finally{l.f()}return u.length&&i.push({name:null,order:u}),i}function n(e,t){if(++t>o)return q("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;var r=i.fetchIfRef(e);if(!Array.isArray(r))return null;var n=i.fetchIfRef(r[0]);if("string"!=typeof n)return null;var a=A(r.slice(1),t);return a&&a.length?{name:Ie(n),order:a}:null}var i=this.xref,a=new Pe,o=10;return{name:"string"==typeof e.get("Name")?Ie(e.get("Name")):null,creator:"string"==typeof e.get("Creator")?Ie(e.get("Creator")):null,baseState:e.get("BaseState")instanceof Ue?e.get("BaseState").name:null,on:r(e.get("ON")),off:r(e.get("OFF")),order:A(e.get("Order")),groups:null}}function QE(){QE=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function EE(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function dE(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){EE(i,A,n,a,o,"next",e)}function o(e){EE(i,A,n,a,o,"throw",e)}a(void 0)}))}}function yE(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,pE(A.key),A)}}function pE(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function vE(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return mE(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mE(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function mE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function wE(e,t){if(e instanceof He)e=e.getRawValues();else if(e instanceof ze)e=e.dict.getRawValues();else if(!Array.isArray(e))return;var r,A,n=vE(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;((A=i)instanceof Ye||A instanceof He||A instanceof ze||Array.isArray(A))&&t.push(i)}}catch(e){n.e(e)}finally{n.f()}}var bE=function(){return function(e,t,r){return t&&yE(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r,A){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dict=t,this.keys=r,this.xref=A,this.refSet=null}),[{key:"load",value:(t=dE(QE().mark((function e(){var t,r,A,n,i,a,o;return QE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xref.stream.isDataLoaded){e.next=2;break}return e.abrupt("return",void 0);case 2:t=this.keys,r=this.dict,this.refSet=new Pe,A=[],n=vE(t);try{for(n.s();!(i=n.n()).done;)a=i.value,void 0!==(o=r.getRaw(a))&&A.push(o)}catch(e){n.e(e)}finally{n.f()}return e.abrupt("return",this._walk(A));case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_walk",value:(e=dE(QE().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h;return QE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[],A=[];case 2:if(!t.length){e.next=48;break}if(!((n=t.pop())instanceof Ye)){e.next=21;break}if(!this.refSet.has(n)){e.next=7;break}return e.abrupt("continue",2);case 7:e.prev=7,this.refSet.put(n),n=this.xref.fetch(n),e.next=21;break;case 12:if(e.prev=12,e.t0=e.catch(7),e.t0 instanceof Ct){e.next=19;break}return q('ObjectLoader._walk - requesting all data: "'.concat(e.t0,'".')),this.refSet=null,i=this.xref.stream.manager,e.abrupt("return",i.requestAllChunks());case 19:r.push(n),A.push({begin:e.t0.begin,end:e.t0.end});case 21:if(!(n instanceof ze)){e.next=45;break}if(!(a=n.getBaseStreams())){e.next=45;break}o=!1,s=vE(a),e.prev=26,s.s();case 28:if((c=s.n()).done){e.next=36;break}if(!(g=c.value).isDataLoaded){e.next=32;break}return e.abrupt("continue",34);case 32:o=!0,A.push({begin:g.start,end:g.end});case 34:e.next=28;break;case 36:e.next=41;break;case 38:e.prev=38,e.t1=e.catch(26),s.e(e.t1);case 41:return e.prev=41,s.f(),e.finish(41);case 44:o&&r.push(n);case 45:wE(n,t),e.next=2;break;case 48:if(!A.length){e.next=54;break}return e.next=51,this.xref.stream.manager.requestRanges(A);case 51:u=vE(r);try{for(u.s();!(l=u.n()).done;)(h=l.value)instanceof Ye&&this.refSet.remove(h)}catch(e){u.e(e)}finally{u.f()}return e.abrupt("return",this._walk(r));case 54:return this.refSet=null,e.abrupt("return",void 0);case 56:case"end":return e.stop()}}),e,this,[[7,12],[26,38,41,44]])}))),function(t){return e.apply(this,arguments)})}]);var e,t}(),kE=Symbol(),DE=Symbol(),SE=Symbol(),FE=Symbol(),xE=Symbol(),RE=Symbol(),GE=Symbol(),NE=Symbol(),LE=Symbol(),UE=Symbol("content"),ME=Symbol("data"),JE=Symbol(),HE=Symbol("extra"),YE=Symbol(),PE=Symbol(),OE=Symbol(),KE=Symbol(),TE=Symbol(),qE=Symbol(),jE=Symbol(),WE=Symbol(),ZE=Symbol(),_E=Symbol(),XE=Symbol(),VE=Symbol(),zE=Symbol(),$E=Symbol(),ed=Symbol(),td=Symbol(),rd=Symbol(),Ad=Symbol(),nd=Symbol(),id=Symbol(),ad=Symbol(),od=Symbol(),sd=Symbol(),cd=Symbol(),gd=Symbol(),ud=Symbol(),ld=Symbol(),hd=Symbol(),Id=Symbol(),fd=Symbol(),Cd=Symbol(),Bd=Symbol(),Qd=Symbol("namespaceId"),Ed=Symbol("nodeName"),dd=Symbol(),yd=Symbol(),pd=Symbol(),vd=Symbol(),md=Symbol(),wd=Symbol(),bd=Symbol(),kd=Symbol(),Dd=Symbol("root"),Sd=Symbol(),Fd=Symbol(),xd=Symbol(),Rd=Symbol(),Gd=Symbol(),Nd=Symbol(),Ld=Symbol(),Ud=Symbol(),Md=Symbol(),Jd=Symbol(),Hd=Symbol(),Yd=Symbol("uid"),Pd=(r(9657),Symbol()),Od={config:{id:0,check:function(e){return e.startsWith("http://www.xfa.org/schema/xci/")}},connectionSet:{id:1,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-connection-set/")}},datasets:{id:2,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-data/")}},form:{id:3,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-form/")}},localeSet:{id:4,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-locale-set/")}},pdf:{id:5,check:function(e){return"http://ns.adobe.com/xdp/pdf/"===e}},signature:{id:6,check:function(e){return"http://www.w3.org/2000/09/xmldsig#"===e}},sourceSet:{id:7,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-source-set/")}},stylesheet:{id:8,check:function(e){return"http://www.w3.org/1999/XSL/Transform"===e}},template:{id:9,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-template/")}},xdc:{id:10,check:function(e){return e.startsWith("http://www.xfa.org/schema/xdc/")}},xdp:{id:11,check:function(e){return"http://ns.adobe.com/xdp/"===e}},xfdf:{id:12,check:function(e){return"http://ns.adobe.com/xfdf/"===e}},xhtml:{id:13,check:function(e){return"http://www.w3.org/1999/xhtml"===e}},xmpmeta:{id:14,check:function(e){return"http://ns.adobe.com/xmpmeta/"===e}}};function Kd(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Td(A.key),A)}}function Td(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function qd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jd(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jd(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var Wd={pt:function(e){return e},cm:function(e){return e/2.54*72},mm:function(e){return e/25.4*72},in:function(e){return 72*e},px:function(e){return e}},Zd=/([+-]?\\d+\\.?\\d*)(.*)/;function _d(e){return e.startsWith("'")||e.startsWith('"')?e.slice(1,-1):e}function Xd(e){var t=e.data,r=e.defaultValue,A=e.validate;if(!t)return r;t=t.trim();var n=parseInt(t,10);return!isNaN(n)&&A(n)?n:r}function Vd(e){var t=e.data,r=e.defaultValue,A=e.validate;if(!t)return r;t=t.trim();var n=parseFloat(t);return!isNaN(n)&&A(n)?n:r}function zd(e){var t=e.data,r=e.defaultValue,A=e.validate;return t&&A(t=t.trim())?t:r}function $d(e,t){return zd({data:e,defaultValue:t[0],validate:function(e){return t.includes(e)}})}function ey(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(t||(t="0"),!e)return ey(t);var r=e.trim().match(Zd);if(!r)return ey(t);var A=qd(r,3),n=A[1],i=A[2],a=parseFloat(n);if(isNaN(a))return ey(t);if(0===a)return 0;var o=Wd[i];return o?o(a):a}function ty(e){if(!e)return{num:1,den:1};var t=e.trim().split(/\\s*:\\s*/).map((function(e){return parseFloat(e)})).filter((function(e){return!isNaN(e)}));if(1===t.length&&t.push(1),0===t.length)return{num:1,den:1};var r=qd(t,2);return{num:r[0],den:r[1]}}function ry(e){return e?e.trim().split(/\\s+/).map((function(e){return{excluded:"-"===e[0],viewname:e.substring(1)}})):[]}var Ay=function(){function e(t,r,A,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.success=t,this.html=r,this.bbox=A,this.breakNode=n}return function(e,t,r){return t&&Kd(e.prototype,t),r&&Kd(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"isBreak",value:function(){return!!this.breakNode}}],[{key:"FAILURE",get:function(){return _(this,"FAILURE",new e(!1,null,null,null))}},{key:"EMPTY",get:function(){return _(this,"EMPTY",new e(!0,null,null,null))}},{key:"breakNode",value:function(t){return new e(!1,null,null,t)}},{key:"success",value:function(t){return new e(!0,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,null)}}])}();function ny(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||ay(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iy(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ay(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ay(e,t){if(e){if("string"==typeof e)return oy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oy(e,t):void 0}}function oy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function sy(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,cy(A.key),A)}}function cy(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var gy=function(){return function(e,t,r){return t&&sy(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(t)}),[{key:"add",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,A=iy(e);try{for(A.s();!(t=A.n()).done;){var n=t.value;this.addPdfFont(n)}}catch(e){A.e(e)}finally{A.f()}var i,a=iy(this.fonts.values());try{for(a.s();!(i=a.n()).done;){var o=i.value;o.regular||(o.regular=o.italic||o.bold||o.bolditalic)}}catch(e){a.e(e)}finally{a.f()}if(r&&0!==r.size){var s,c=this.fonts.get("PdfJS-Fallback-PdfJS-XFA"),g=iy(r);try{for(g.s();!(s=g.n()).done;){var u=s.value;this.fonts.set(u,c)}}catch(e){g.e(e)}finally{g.f()}}}},{key:"addPdfFont",value:function(e){var t=e.cssFontInfo,r=t.fontFamily,A=this.fonts.get(r);A||(A=Object.create(null),this.fonts.set(r,A),this.defaultFont||(this.defaultFont=A));var n,i,a,o="",s=parseFloat(t.fontWeight);0!==parseFloat(t.italicAngle)?o=s>=700?"bolditalic":"italic":s>=700&&(o="bold"),o||((e.name.includes("Bold")||null!==(n=e.psName)&&void 0!==n&&n.includes("Bold"))&&(o="bold"),(e.name.includes("Italic")||e.name.endsWith("It")||null!==(i=e.psName)&&void 0!==i&&i.includes("Italic")||null!==(a=e.psName)&&void 0!==a&&a.endsWith("It"))&&(o+="italic")),o||(o="regular"),A[o]=e}},{key:"getDefault",value:function(){return this.defaultFont}},{key:"find",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.fonts.get(e)||this.cache.get(e);if(r)return r;var A=/,|-|_| |bolditalic|bold|italic|regular|it/gi,n=e.replaceAll(A,"");if(r=this.fonts.get(n))return this.cache.set(e,r),r;n=n.toLowerCase();var i,a=[],o=iy(this.fonts.entries());try{for(o.s();!(i=o.n()).done;){var s=ny(i.value,2),c=s[0],g=s[1];c.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(g)}}catch(e){o.e(e)}finally{o.f()}if(0===a.length){var u,l=iy(this.fonts.entries());try{for(l.s();!(u=l.n()).done;){var h,I=ny(u.value,2)[1];null!==(h=I.regular.name)&&void 0!==h&&h.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(I)}}catch(e){l.e(e)}finally{l.f()}}if(0===a.length){n=n.replaceAll(/psmt|mt/gi,"");var f,C=iy(this.fonts.entries());try{for(C.s();!(f=C.n()).done;){var B=ny(f.value,2),Q=B[0],E=B[1];Q.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(E)}}catch(e){C.e(e)}finally{C.f()}}if(0===a.length){var d,y=iy(this.fonts.values());try{for(y.s();!(d=y.n()).done;){var p,v=d.value;null!==(p=v.regular.name)&&void 0!==p&&p.replaceAll(A,"").toLowerCase().startsWith(n)&&a.push(v)}}catch(e){y.e(e)}finally{y.f()}}return a.length>=1?(1!==a.length&&t&&q("XFA - Too many choices to guess the correct font: ".concat(e)),this.cache.set(e,a[0]),a[0]):(t&&!this.warned.has(e)&&(this.warned.add(e),q("XFA - Cannot find the font: ".concat(e))),null)}}])}();function uy(e,t){return"italic"===e.posture?"bold"===e.weight?t.bolditalic:t.italic:"bold"===e.weight?t.bold:t.regular}function ly(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Iy(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function hy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Iy(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Iy(e,t){if(e){if("string"==typeof e)return fy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fy(e,t):void 0}}function fy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function By(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Ey(A.key),A)}}function Qy(e,t,r){return t&&By(e.prototype,t),r&&By(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ey(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var dy=function(){return Qy((function e(t,r,A,n){if(Cy(this,e),this.lineHeight=A,this.paraMargin=r||{top:0,bottom:0,left:0,right:0},!t){var i=hy(this.defaultFont(n),2);return this.pdfFont=i[0],void(this.xfaFont=i[1])}this.xfaFont={typeface:t.typeface,posture:t.posture,weight:t.weight,size:t.size,letterSpacing:t.letterSpacing};var a=n.find(t.typeface);if(!a){var o=hy(this.defaultFont(n),2);return this.pdfFont=o[0],void(this.xfaFont=o[1])}if(this.pdfFont=uy(t,a),!this.pdfFont){var s=hy(this.defaultFont(n),2);this.pdfFont=s[0],this.xfaFont=s[1]}}),[{key:"defaultFont",value:function(e){var t=e.find("Helvetica",!1)||e.find("Myriad Pro",!1)||e.find("Arial",!1)||e.getDefault();if(null!=t&&t.regular){var r=t.regular;return[r,{typeface:r.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0}]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}])}(),yy=function(){return Qy((function e(t,r,A,n){Cy(this,e),this.fontFinder=n,this.stack=[new dy(t,r,A,n)]}),[{key:"pushData",value:function(e,t,r){for(var A=this.stack.at(-1),n=0,i=["typeface","posture","weight","size","letterSpacing"];n<i.length;n++){var a=i[n];e[a]||(e[a]=A.xfaFont[a])}for(var o=0,s=["top","bottom","left","right"];o<s.length;o++){var c=s[o];isNaN(t[c])&&(t[c]=A.paraMargin[c])}var g=new dy(e,t,r||A.lineHeight,this.fontFinder);g.pdfFont||(g.pdfFont=A.pdfFont),this.stack.push(g)}},{key:"popFont",value:function(){this.stack.pop()}},{key:"topFont",value:function(){return this.stack.at(-1)}}])}(),py=function(){return Qy((function e(t,r,A,n){Cy(this,e),this.glyphs=[],this.fontSelector=new yy(t,r,A,n),this.extraHeight=0}),[{key:"pushData",value:function(e,t,r){this.fontSelector.pushData(e,t,r)}},{key:"popFont",value:function(e){return this.fontSelector.popFont()}},{key:"addPara",value:function(){var e=this.fontSelector.topFont();this.extraHeight+=e.paraMargin.top+e.paraMargin.bottom}},{key:"addString",value:function(e){if(e){var t=this.fontSelector.topFont(),r=t.xfaFont.size;if(t.pdfFont){var A,n=t.xfaFont.letterSpacing,i=t.pdfFont,a=i.lineHeight||1.2,o=t.lineHeight||Math.max(1.2,a)*r,s=a-(void 0===i.lineGap?.2:i.lineGap),c=Math.max(1,s)*r,g=r/1e3,u=i.defaultWidth||i.charsToGlyphs(" ")[0].width,l=ly(e.split(/[\\u2029\\n]/));try{for(l.s();!(A=l.n()).done;){var h,I=A.value,f=i.encodeString(I).join(""),C=ly(i.charsToGlyphs(f));try{for(C.s();!(h=C.n()).done;){var B=h.value,Q=B.width||u;this.glyphs.push([Q*g+n,o,c,B.unicode,!1])}}catch(e){C.e(e)}finally{C.f()}this.glyphs.push([0,0,0,"\\n",!0])}}catch(e){l.e(e)}finally{l.f()}this.glyphs.pop()}else{var E,d=ly(e.split(/[\\u2029\\n]/));try{for(d.s();!(E=d.n()).done;){var y,p=ly(E.value.split(""));try{for(p.s();!(y=p.n()).done;){var v=y.value;this.glyphs.push([r,1.2*r,r,v,!1])}}catch(e){p.e(e)}finally{p.f()}this.glyphs.push([0,0,0,"\\n",!0])}}catch(e){d.e(e)}finally{d.f()}this.glyphs.pop()}}}},{key:"compute",value:function(e){for(var t=-1,r=0,A=0,n=0,i=0,a=0,o=!1,s=!0,c=0,g=this.glyphs.length;c<g;c++){var u=hy(this.glyphs[c],5),l=u[0],h=u[1],I=u[2],f=" "===u[3],C=s?I:h;u[4]?(A=Math.max(A,i),i=0,n+=a,a=C,t=-1,r=0,s=!1):f?i+l>e?(A=Math.max(A,i),i=0,n+=a,a=C,t=-1,r=0,o=!0,s=!1):(a=Math.max(C,a),r=i,i+=l,t=c):i+l>e?(n+=a,a=C,-1!==t?(c=t,A=Math.max(A,r),i=0,t=-1,r=0):(A=Math.max(A,i),i=l),o=!0,s=!1):(i+=l,a=Math.max(C,a))}return{width:1.02*(A=Math.max(A,i)),height:n+=a+this.extraHeight,isBroken:o}}}])}();function vy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||my(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function my(e,t){if(e){if("string"==typeof e)return wy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wy(e,t):void 0}}function wy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var by=/^[^.[]+/,ky=/^[^\\]]+/,Dy={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},Sy=new Map([["$data",function(e,t){return e.datasets?e.datasets.data:e}],["$record",function(e,t){return(e.datasets?e.datasets.data:e)[VE]()[0]}],["$template",function(e,t){return e.template}],["$connectionSet",function(e,t){return e.connectionSet}],["$form",function(e,t){return e.form}],["$layout",function(e,t){return e.layout}],["$host",function(e,t){return e.host}],["$dataWindow",function(e,t){return e.dataWindow}],["$event",function(e,t){return e.event}],["!",function(e,t){return e.datasets}],["$xfa",function(e,t){return e}],["xfa",function(e,t){return e}],["$",function(e,t){return t}]]),Fy=new WeakMap;function xy(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],A=e.match(by);if(!A)return null;for(var n,i=vy(A,1)[0],a=[{name:i,cacheName:"."+i,index:0,js:null,formCalc:null,operator:Dy.dot}],o=i.length;o<e.length;){var s=o;if("["!==e.charAt(o++)){var c=void 0;switch(e.charAt(o)){case".":if(!t)return null;o++,c=Dy.dotDot;break;case"#":o++,c=Dy.dotHash;break;case"[":if(r)return q("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."),null;c=Dy.dotBracket;break;case"(":if(r)return q("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."),null;c=Dy.dotParen;break;default:c=Dy.dot}if(!(A=e.slice(o).match(by)))break;o+=(i=vy(A,1)[0]).length,a.push({name:i,cacheName:e.slice(s,o),operator:c,index:0,js:null,formCalc:null})}else{if(!(A=e.slice(o).match(ky)))return q("XFA - Invalid index in SOM expression"),null;a.at(-1).index="*"===(n=(n=A[0]).trim())?1/0:parseInt(n,10)||0,o+=A[0].length+1}}return a}function Ry(e,t,r){var A=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],n=xy(r,!(arguments.length>3&&void 0!==arguments[3])||arguments[3]);if(!n)return null;var i,a=Sy.get(n[0].name),o=0;a?(i=!0,e=[a(e,t)],o=1):(i=null===t,e=[t||e]);for(var s,c=function(){var r,a=n[o],s=a.name,c=a.cacheName,g=a.operator,u=a.index,l=[],h=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=my(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(h.s();!(r=h.n()).done;){var I=r.value;if(I.isXFAObject){var f=void 0,C=void 0;if(A&&((C=Fy.get(I))||(C=new Map,Fy.set(I,C)),f=C.get(c)),!f){switch(g){case Dy.dot:f=I[jE](s,!1);break;case Dy.dotDot:f=I[jE](s,!0);break;case Dy.dotHash:f=(f=I[qE](s)).isXFAObjectArray?f.children:[f]}A&&C.set(c,f)}f.length>0&&l.push(f)}}}catch(e){h.e(e)}finally{h.f()}if(0===l.length&&!i&&0===o){var B=t[td]();return(t=B)?(o=-1,e=[t],0):{v:null}}e=isFinite(u)?l.filter((function(e){return u<e.length})).map((function(e){return e[u]})):l.flat()},g=n.length;o<g;o++)if(0!==(s=c())&&s)return s.v;return 0===e.length?null:e}function Gy(e,t,r){var A=xy(r);if(!A)return null;if(A.some((function(e){return e.operator===Dy.dotDot})))return null;var n=Sy.get(A[0].name),i=0;n?(e=n(e,t),i=1):e=t||e;for(var a=A.length;i<a;i++){var o=A[i],s=o.name,c=o.operator,g=o.index;if(!isFinite(g))return A[i].index=0,e.createNodes(A.slice(i));var u=void 0;switch(c){case Dy.dot:u=e[jE](s,!1);break;case Dy.dotDot:u=e[jE](s,!0);break;case Dy.dotHash:u=(u=e[qE](s)).isXFAObjectArray?u.children:[u]}if(0===u.length)return e.createNodes(A.slice(i));if(!(g<u.length))return A[i].index=g-u.length,e.createNodes(A.slice(i));var l=u[g];if(!l.isXFAObject)return q("XFA - Cannot create a node."),null;e=l}return null}function Ny(e,t,r,A){var n=Ly(Hy(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function Ly(){return Ly="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Hy(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},Ly.apply(null,arguments)}function Uy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Ty(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function My(e,t,r){return t=Hy(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Jy()?Reflect.construct(t,r||[],Hy(e).constructor):t.apply(e,r))}function Jy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Jy=function(){return!!e})()}function Hy(e){return Hy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hy(e)}function Yy(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Py(e,t)}function Py(e,t){return Py=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Py(e,t)}function Oy(){Oy=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function Ky(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ty(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Ty(e,t){if(e){if("string"==typeof e)return qy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qy(e,t):void 0}}function qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function jy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wy(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,_y(A.key),A)}}function Zy(e,t,r){return t&&Wy(e.prototype,t),r&&Wy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _y(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Xy=Symbol(),Vy=Symbol(),zy=Symbol(),$y=Symbol("_children"),ep=Symbol(),tp=Symbol(),rp=Symbol(),Ap=Symbol(),np=Symbol(),ip=Symbol(),ap=Symbol(),op=Symbol(),sp=Symbol(),cp=Symbol("parent"),gp=Symbol(),up=Symbol(),lp=Symbol(),hp=0,Ip=Od.datasets.id,fp=function(){function e(t,r){var A=arguments.length>2&&void 0!==arguments[2]&&arguments[2];jy(this,e),this[Qd]=t,this[Ed]=r,this[ap]=A,this[cp]=null,this[$y]=[],this[Yd]="".concat(r).concat(hp++),this[Ad]=null}return Zy(e,[{key:"isXFAObject",get:function(){return!0}},{key:"isXFAObjectArray",get:function(){return!1}},{key:"createNodes",value:function(e){var t,r=this,A=null,n=Ky(e);try{for(n.s();!(t=n.n()).done;){for(var i=t.value,a=i.name,o=i.index,s=0,c=isFinite(o)?o:0;s<=c;s++){var g=r[Qd]===Ip?-1:r[Qd];A=new Qp(g,a),r[SE](A)}r=A}}catch(e){n.e(e)}finally{n.f()}return A}},{key:yd,value:function(e){if(!this[ap]||!this[pd](e))return!1;var t=e[Ed],r=this[t];if(!(r instanceof Cp))return null!==r&&this[kd](r),this[t]=e,this[SE](e),!0;if(r.push(e))return this[SE](e),!0;var A="";return this.id?A=" (id: ".concat(this.id,")"):this.name&&(A=" (name: ".concat(this.name," ").concat(this.h.value,")")),q('XFA - node "'.concat(this[Ed],'"').concat(A,' has already enough "').concat(t,'"!')),!1}},{key:pd,value:function(e){return this.hasOwnProperty(e[Ed])&&e[Qd]===this[Qd]}},{key:ld,value:function(){return!1}},{key:kE,value:function(){return!1}},{key:sd,value:function(){return!1}},{key:cd,value:function(){return!1}},{key:wd,value:function(){this.para&&this[rd]()[HE].paraStack.pop()}},{key:bd,value:function(){this[rd]()[HE].paraStack.push(this.para)}},{key:xd,value:function(e){this.id&&this[Qd]===Od.template.id&&e.set(this.id,this)}},{key:rd,value:function(){return this[Ad].template}},{key:hd,value:function(){return!1}},{key:Id,value:function(){return!1}},{key:SE,value:function(e){e[cp]=this,this[$y].push(e),!e[Ad]&&this[Ad]&&(e[Ad]=this[Ad])}},{key:kd,value:function(e){var t=this[$y].indexOf(e);this[$y].splice(t,1)}},{key:nd,value:function(){return this.hasOwnProperty("value")}},{key:Gd,value:function(e){}},{key:vd,value:function(e){}},{key:YE,value:function(){}},{key:xE,value:function(e){delete this[ap],this[GE]&&(e.clean(this[GE]),delete this[GE])}},{key:ad,value:function(e){return this[$y].indexOf(e)}},{key:od,value:function(e,t){t[cp]=this,this[$y].splice(e,0,t),!t[Ad]&&this[Ad]&&(t[Ad]=this[Ad])}},{key:fd,value:function(){return!this.name}},{key:Bd,value:function(){return""}},{key:Ld,value:function(){return 0===this[$y].length?this[UE]:this[$y].map((function(e){return e[Ld]()})).join("")}},{key:zy,get:function(){var t=Object.getPrototypeOf(this);if(!t._attributes){var r,A=t._attributes=new Set,n=Ky(Object.getOwnPropertyNames(this));try{for(n.s();!(r=n.n()).done;){var i=r.value;if(null===this[i]||this[i]instanceof e||this[i]instanceof Cp)break;A.add(i)}}catch(e){n.e(e)}finally{n.f()}}return _(this,zy,t._attributes)}},{key:ud,value:function(e){for(var t=this;t;){if(t===e)return!0;t=t[td]()}return!1}},{key:td,value:function(){return this[cp]}},{key:ed,value:function(){return this[td]()}},{key:VE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[e]:this[$y]}},{key:JE,value:function(){var t=Object.create(null);this[UE]&&(t.$content=this[UE]);var r,A=Ky(Object.getOwnPropertyNames(this));try{for(A.s();!(r=A.n()).done;){var n=r.value,i=this[n];null!==i&&(i instanceof e?t[n]=i[JE]():i instanceof Cp?i.isEmpty()||(t[n]=i.dump()):t[n]=i)}}catch(e){A.e(e)}finally{A.f()}return t}},{key:Hd,value:function(){return null}},{key:Md,value:function(){return Ay.EMPTY}},{key:zE,value:Oy().mark((function e(){var t,r,A;return Oy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Ky(this[VE]()),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=9;break}return A=r.value,e.next=7,A;case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))},{key:Ap,value:Oy().mark((function e(t,r){var A,n,i,a,o;return Oy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:A=Ky(this[zE]()),e.prev=1,A.s();case 3:if((n=A.n()).done){e.next=13;break}if(i=n.value,t&&r!==t.has(i[Ed])){e.next=11;break}return a=this[TE](),(o=i[Md](a)).success||(this[HE].failingNode=i),e.next=11,o;case 11:e.next=3;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(1),A.e(e.t0);case 18:return e.prev=18,A.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[1,15,18,21]])}))},{key:PE,value:function(){return null}},{key:DE,value:function(e,t){this[HE].children.push(e)}},{key:TE,value:function(){}},{key:FE,value:function(e){var t=e.filter,r=void 0===t?null:t,A=e.include,n=void 0===A||A;if(this[HE].generator){var i=this[TE](),a=this[HE].failingNode[Md](i);if(!a.success)return a;a.html&&this[DE](a.html,a.bbox),delete this[HE].failingNode}else this[HE].generator=this[Ap](r,n);for(;;){var o=this[HE].generator.next();if(o.done)break;var s=o.value;if(!s.success)return s;s.html&&this[DE](s.html,s.bbox)}return this[HE].generator=null,Ay.EMPTY}},{key:Rd,value:function(e){this[up]=new Set(Object.keys(e))}},{key:ip,value:function(e){var t=this[zy],r=this[up];return function(e){return function(e){if(Array.isArray(e))return qy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ty(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e).filter((function(e){return t.has(e)&&!r.has(e)}))}},{key:Sd,value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,A=Ky(this[$y]);try{for(A.s();!(t=A.n()).done;)t.value[gp](e,r)}catch(e){A.e(e)}finally{A.f()}}},{key:gp,value:function(e,t){var r=this[np](e,t);r?this[Xy](r,e,t):this[Sd](e,t)}},{key:np,value:function(e,t){var r=this.use,A=this.usehref;if(!r&&!A)return null;var n=null,i=null,a=null,o=r;if(A?(o=A,A.startsWith("#som(")&&A.endsWith(")")?i=A.slice(5,-1):A.startsWith(".#som(")&&A.endsWith(")")?i=A.slice(6,-1):A.startsWith("#")?a=A.slice(1):A.startsWith(".#")&&(a=A.slice(2))):r.startsWith("#")?a=r.slice(1):i=r,this.use=this.usehref="",a?n=e.get(a):(n=Ry(e.get(Dd),this,i,!0,!1))&&(n=n[0]),!n)return q("XFA - Invalid prototype reference: ".concat(o,".")),null;if(n[Ed]!==this[Ed])return q("XFA - Incompatible prototype: ".concat(n[Ed]," !== ").concat(this[Ed],".")),null;if(t.has(n))return q("XFA - Cycle detected in prototypes use."),null;t.add(n);var s=n[np](e,t);return s&&n[Xy](s,e,t),n[Sd](e,t),t.delete(n),n}},{key:Xy,value:function(e,t,r){if(r.has(e))q("XFA - Cycle detected in prototypes use.");else{!this[UE]&&e[UE]&&(this[UE]=e[UE]),new Set(r).add(e);var A,n=Ky(this[ip](e[up]));try{for(n.s();!(A=n.n()).done;){var i=A.value;this[i]=e[i],this[up]&&this[up].add(i)}}catch(e){n.e(e)}finally{n.f()}var a,o=Ky(Object.getOwnPropertyNames(this));try{for(o.s();!(a=o.n()).done;){var s=a.value;if(!this[zy].has(s)){var c=this[s],g=e[s];if(c instanceof Cp){var u,l=Ky(c[$y]);try{for(l.s();!(u=l.n()).done;)u.value[gp](t,r)}catch(e){l.e(e)}finally{l.f()}for(var h=c[$y].length,I=g[$y].length;h<I;h++){var f=e[$y][h][NE]();if(!c.push(f))break;f[cp]=this,this[$y].push(f),f[gp](t,r)}}else if(null===c){if(null!==g){var C=g[NE]();C[cp]=this,this[s]=C,this[$y].push(C),C[gp](t,r)}}else c[Sd](t,r),g&&c[Xy](g,t,r)}}}catch(e){o.e(e)}finally{o.f()}}}},{key:NE,value:function(){var t,r=Object.create(Object.getPrototypeOf(this)),A=Ky(Object.getOwnPropertySymbols(this));try{for(A.s();!(t=A.n()).done;){var n=t.value;try{r[n]=this[n]}catch(e){_(r,n,this[n])}}}catch(e){A.e(e)}finally{A.f()}r[Yd]="".concat(r[Ed]).concat(hp++),r[$y]=[];var i,a=Ky(Object.getOwnPropertyNames(this));try{for(a.s();!(i=a.n()).done;){var o=i.value;if(this[zy].has(o))r[o]=e[ep](this[o]);else{var s=this[o];r[o]=s instanceof Cp?new Cp(s[op]):null}}}catch(e){a.e(e)}finally{a.f()}var c,g=Ky(this[$y]);try{for(g.s();!(c=g.n()).done;){var u=c.value,l=u[Ed],h=u[NE]();r[$y].push(h),h[cp]=r,null===r[l]?r[l]=h:r[l][$y].push(h)}}catch(e){g.e(e)}finally{g.f()}return r}},{key:VE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[$y].filter((function(t){return t[Ed]===e})):this[$y]}},{key:qE,value:function(e){return this[e]}},{key:jE,value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.from(this[WE](e,t,r))}},{key:WE,value:function(e,t){var r=this,A=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Oy().mark((function n(){var i,a,o;return Oy().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("parent"!==e){n.next=4;break}return n.next=3,r[cp];case 3:return n.abrupt("return");case 4:i=Ky(r[$y]),n.prev=5,i.s();case 7:if((a=i.n()).done){n.next=19;break}if((o=a.value)[Ed]!==e){n.next=12;break}return n.next=12,o;case 12:if(o.name!==e){n.next=15;break}return n.next=15,o;case 15:if(!t&&!o[fd]()){n.next=17;break}return n.delegateYield(o[WE](e,t,!1),"t0",17);case 17:n.next=7;break;case 19:n.next=24;break;case 21:n.prev=21,n.t1=n.catch(5),i.e(n.t1);case 24:return n.prev=24,i.f(),n.finish(24);case 27:if(!A||!r[zy].has(e)){n.next=30;break}return n.next=30,new Bp(r,e,r[e]);case 30:case"end":return n.stop()}}),n,null,[[5,21,24,27]])}))()}}],[{key:ep,value:function(t){return Array.isArray(t)?t.map((function(t){return e[ep](t)})):"object"==typeof t&&null!==t?Object.assign({},t):t}}])}(),Cp=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;jy(this,e),this[op]=t,this[$y]=[]}return Zy(e,[{key:"isXFAObject",get:function(){return!1}},{key:"isXFAObjectArray",get:function(){return!0}},{key:"push",value:function(e){return this[$y].length<=this[op]?(this[$y].push(e),!0):(q('XFA - node "'.concat(e[Ed],'" accepts no more than ').concat(this[op]," children")),!1)}},{key:"isEmpty",value:function(){return 0===this[$y].length}},{key:"dump",value:function(){return 1===this[$y].length?this[$y][0][JE]():this[$y].map((function(e){return e[JE]()}))}},{key:NE,value:function(){var t=new e(this[op]);return t[$y]=this[$y].map((function(e){return e[NE]()})),t}},{key:"children",get:function(){return this[$y]}},{key:"clear",value:function(){this[$y].length=0}}])}(),Bp=function(){return Zy((function e(t,r,A){jy(this,e),this[cp]=t,this[Ed]=r,this[UE]=A,this[LE]=!1,this[Yd]="attribute".concat(hp++)}),[{key:td,value:function(){return this[cp]}},{key:gd,value:function(){return!0}},{key:ZE,value:function(){return this[UE].trim()}},{key:Gd,value:function(e){e=e.value||"",this[UE]=e.toString()}},{key:Ld,value:function(){return this[UE]}},{key:ud,value:function(e){return this[cp]===e||this[cp][ud](e)}}])}(),Qp=function(e){function t(e,r){var A,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(jy(this,t),(A=My(this,t,[e,r]))[UE]="",A[tp]=null,"#text"!==r){var i=new Map;A[Vy]=i;for(var a=0,o=Object.entries(n);a<o.length;a++){var s=Uy(o[a],2),c=s[0],g=s[1];i.set(c,new Bp(A,c,g))}if(n.hasOwnProperty(dd)){var u=n[dd].xfa.dataNode;void 0!==u&&("dataGroup"===u?A[tp]=!1:"dataValue"===u&&(A[tp]=!0))}}return A[LE]=!1,A}return Yy(t,fp),Zy(t,[{key:Jd,value:function(e){var t=this[Ed];if("#text"!==t){var r=Ce(t),A=this[Qd]===Ip?"xfa:":"";e.push("<".concat(A).concat(r));var n,i=Ky(this[Vy].entries());try{for(i.s();!(n=i.n()).done;){var a=Uy(n.value,2),o=a[0],s=a[1],c=Ce(o);e.push(" ".concat(c,'="').concat(Yt(s[UE]),'"'))}}catch(e){i.e(e)}finally{i.f()}if(null!==this[tp]&&(this[tp]?e.push(' xfa:dataNode="dataValue"'):e.push(' xfa:dataNode="dataGroup"')),this[UE]||0!==this[$y].length){if(e.push(">"),this[UE])"string"==typeof this[UE]?e.push(Yt(this[UE])):this[UE][Jd](e);else{var g,u=Ky(this[$y]);try{for(u.s();!(g=u.n()).done;)g.value[Jd](e)}catch(e){u.e(e)}finally{u.f()}}e.push("</".concat(A).concat(r,">"))}else e.push("/>")}else e.push(Yt(this[UE]))}},{key:yd,value:function(e){if(this[UE]){var r=new t(this[Qd],"#text");this[SE](r),r[UE]=this[UE],this[UE]=""}return this[SE](e),!0}},{key:vd,value:function(e){this[UE]+=e}},{key:YE,value:function(){if(this[UE]&&this[$y].length>0){var e=new t(this[Qd],"#text");this[SE](e),e[UE]=this[UE],delete this[UE]}}},{key:Md,value:function(){return"#text"===this[Ed]?Ay.success({name:"#text",value:this[UE]}):Ay.EMPTY}},{key:VE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[$y].filter((function(t){return t[Ed]===e})):this[$y]}},{key:KE,value:function(){return this[Vy]}},{key:qE,value:function(e){var t=this[Vy].get(e);return void 0!==t?t:this[VE](e)}},{key:WE,value:Oy().mark((function(e,t){var r,A,n,i;return Oy().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(r=this[Vy].get(e))){a.next=4;break}return a.next=4,r;case 4:A=Ky(this[$y]),a.prev=5,A.s();case 7:if((n=A.n()).done){a.next=16;break}if((i=n.value)[Ed]!==e){a.next=12;break}return a.next=12,i;case 12:if(!t){a.next=14;break}return a.delegateYield(i[WE](e,t),"t0",14);case 14:a.next=7;break;case 16:a.next=21;break;case 18:a.prev=18,a.t1=a.catch(5),A.e(a.t1);case 21:return a.prev=21,A.f(),a.finish(21);case 24:case"end":return a.stop()}}),r,this,[[5,18,21,24]])}))},{key:OE,value:Oy().mark((function(e,t){var r,A,n,i;return Oy().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(r=this[Vy].get(e))||t&&r[LE]){a.next=4;break}return a.next=4,r;case 4:A=Ky(this[$y]),a.prev=5,A.s();case 7:if((n=A.n()).done){a.next=12;break}return i=n.value,a.delegateYield(i[OE](e,t),"t0",10);case 10:a.next=7;break;case 12:a.next=17;break;case 14:a.prev=14,a.t1=a.catch(5),A.e(a.t1);case 17:return a.prev=17,A.f(),a.finish(17);case 20:case"end":return a.stop()}}),r,this,[[5,14,17,20]])}))},{key:XE,value:Oy().mark((function e(t,r,A){var n,i,a;return Oy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=Ky(this[$y]),e.prev=1,n.s();case 3:if((i=n.n()).done){e.next=12;break}if((a=i.value)[Ed]!==t||A&&a[LE]){e.next=8;break}return e.next=8,a;case 8:if(!r){e.next=10;break}return e.delegateYield(a[XE](t,r,A),"t0",10);case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t1=e.catch(1),n.e(e.t1);case 17:return e.prev=17,n.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,14,17,20]])}))},{key:gd,value:function(){return null===this[tp]?0===this[$y].length||this[$y][0][Qd]===Od.xhtml.id:this[tp]}},{key:ZE,value:function(){return null===this[tp]?0===this[$y].length?this[UE].trim():this[$y][0][Qd]===Od.xhtml.id?this[$y][0][Ld]().trim():null:this[UE].trim()}},{key:Gd,value:function(e){e=e.value||"",this[UE]=e.toString()}},{key:JE,value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Object.create(null);e&&(t.$ns=this[Qd]),this[UE]&&(t.$content=this[UE]),t.$name=this[Ed],t.children=[];var r,A=Ky(this[$y]);try{for(A.s();!(r=A.n()).done;){var n=r.value;t.children.push(n[JE](e))}}catch(e){A.e(e)}finally{A.f()}t.attributes=Object.create(null);var i,a=Ky(this[Vy]);try{for(a.s();!(i=a.n()).done;){var o=Uy(i.value,2),s=o[0],c=o[1];t.attributes[s]=c[UE]}}catch(e){a.e(e)}finally{a.f()}return t}}])}(),Ep=function(e){function t(e,r){var A;return jy(this,t),(A=My(this,t,[e,r]))[UE]="",A}return Yy(t,fp),Zy(t,[{key:vd,value:function(e){this[UE]+=e}},{key:YE,value:function(){}}])}(),dp=function(e){function t(e,r,A){var n;return jy(this,t),(n=My(this,t,[e,r]))[sp]=A,n}return Yy(t,Ep),Zy(t,[{key:YE,value:function(){var e=this;this[UE]=zd({data:this[UE],defaultValue:this[sp][0],validate:function(t){return e[sp].includes(t)}})}},{key:xE,value:function(e){Ny(t,xE,this,3)([e]),delete this[sp]}}])}(),yp=function(e){function t(){return jy(this,t),My(this,t,arguments)}return Yy(t,Ep),Zy(t,[{key:YE,value:function(){this[UE]=this[UE].trim()}}])}(),pp=function(e){function t(e,r,A,n){var i;return jy(this,t),(i=My(this,t,[e,r]))[rp]=A,i[lp]=n,i}return Yy(t,Ep),Zy(t,[{key:YE,value:function(){this[UE]=Xd({data:this[UE],defaultValue:this[rp],validate:this[lp]})}},{key:xE,value:function(e){Ny(t,xE,this,3)([e]),delete this[rp],delete this[lp]}}])}(),vp=function(e){function t(e,r){return jy(this,t),My(this,t,[e,r,0,function(e){return 1===e}])}return Yy(t,pp),Zy(t)}(),mp=function(e){function t(e,r){return jy(this,t),My(this,t,[e,r,1,function(e){return 0===e}])}return Yy(t,pp),Zy(t)}();function wp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bp(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function kp(e){return"string"==typeof e?"0px":Number.isInteger(e)?"".concat(e,"px"):"".concat(e.toFixed(2),"px")}var Dp={anchorType(e,t){var r=e[ed]();if(r&&(!r.layout||"position"===r.layout))switch("transform"in t||(t.transform=""),e.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)"}},dimensions(e,t){var r,A=e[ed](),n=e.w,i=e.h;if(null!==(r=A.layout)&&void 0!==r&&r.includes("row")){var a,o=A[HE],s=e.colSpan;-1===s?(a=o.columnWidths.slice(o.currentColumn).reduce((function(e,t){return e+t}),0),o.currentColumn=0):(a=o.columnWidths.slice(o.currentColumn,o.currentColumn+s).reduce((function(e,t){return e+t}),0),o.currentColumn=(o.currentColumn+e.colSpan)%o.columnWidths.length),isNaN(a)||(n=e.w=a)}t.width=""!==n?kp(n):"auto",t.height=""!==i?kp(i):"auto"},position(e,t){var r=e[ed]();null!=r&&r.layout&&"position"!==r.layout||(t.position="absolute",t.left=kp(e.x),t.top=kp(e.y))},rotate(e,t){e.rotate&&("transform"in t||(t.transform=""),t.transform+="rotate(-".concat(e.rotate,"deg)"),t.transformOrigin="top left")},presence(e,t){switch(e.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none"}},hAlign(e,t){if("para"===e[Ed])switch(e.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=e.hAlign}else switch(e.hAlign){case"left":t.alignSelf="start";break;case"center":t.alignSelf="center";break;case"right":t.alignSelf="end"}},margin(e,t){e.margin&&(t.margin=e.margin[Hd]().margin)}};function Sp(e,t){"position"===e[ed]().layout&&(e.minW>0&&(t.minWidth=kp(e.minW)),e.maxW>0&&(t.maxWidth=kp(e.maxW)),e.minH>0&&(t.minHeight=kp(e.minH)),e.maxH>0&&(t.maxHeight=kp(e.maxH)))}function Fp(e,t,r,A,n,i){var a=new py(t,r,A,n);return"string"==typeof e?a.addString(e):e[md](a),a.compute(i)}function xp(e,t){var r=null,A=null,n=!1;if((!e.w||!e.h)&&e.value){var i=0,a=0;e.margin&&(i=e.margin.leftInset+e.margin.rightInset,a=e.margin.topInset+e.margin.bottomInset);var o=null,s=null;e.para&&(s=Object.create(null),o=""===e.para.lineHeight?null:e.para.lineHeight,s.top=""===e.para.spaceAbove?0:e.para.spaceAbove,s.bottom=""===e.para.spaceBelow?0:e.para.spaceBelow,s.left=""===e.para.marginLeft?0:e.para.marginLeft,s.right=""===e.para.marginRight?0:e.para.marginRight);var c=e.font;if(!c)for(var g=e[rd](),u=e[td]();u&&u!==g;){if(u.font){c=u.font;break}u=u[td]()}var l=(e.w||t.width)-i,h=e[Ad].fontFinder;if(e.value.exData&&e.value.exData[UE]&&"text/html"===e.value.exData.contentType){var I=Fp(e.value.exData[UE],c,s,o,h,l);A=I.width,r=I.height,n=I.isBroken}else{var f=e.value[Ld]();if(f){var C=Fp(f,c,s,o,h,l);A=C.width,r=C.height,n=C.isBroken}}null===A||e.w||(A+=i),null===r||e.h||(r+=a)}return{w:A,h:r,isBroken:n}}function Rp(e,t,r){var A;if(""!==e.w&&""!==e.h)A=[e.x,e.y,e.w,e.h];else{if(!r)return null;var n=e.w;if(""===n){if(0===e.maxW){var i=e[ed]();n="position"===i.layout&&""!==i.w?0:e.minW}else n=Math.min(e.maxW,r.width);t.attributes.style.width=kp(n)}var a=e.h;if(""===a){if(0===e.maxH){var o=e[ed]();a="position"===o.layout&&""!==o.h?0:e.minH}else a=Math.min(e.maxH,r.height);t.attributes.style.height=kp(a)}A=[e.x,e.y,n,a]}return A}function Gp(e){var t,r=e[ed]();if(null!==(t=r.layout)&&void 0!==t&&t.includes("row")){var A,n=r[HE],i=e.colSpan;A=-1===i?n.columnWidths.slice(n.currentColumn).reduce((function(e,t){return e+t}),0):n.columnWidths.slice(n.currentColumn,n.currentColumn+i).reduce((function(e,t){return e+t}),0),isNaN(A)||(e.w=A)}r.layout&&"position"!==r.layout&&(e.x=e.y=0),"table"===e.layout&&""===e.w&&Array.isArray(e.columnWidths)&&(e.w=e.columnWidths.reduce((function(e,t){return e+t}),0))}function Np(e){switch(e.layout){case"position":default:return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb"}}function Lp(e){for(var t=Object.create(null),r=arguments.length,A=new Array(r>1?r-1:0),n=1;n<r;n++)A[n-1]=arguments[n];for(var i=0,a=A;i<a.length;i++){var o=a[i],s=e[o];if(null!==s)if(Dp.hasOwnProperty(o))Dp[o](e,t);else if(s instanceof fp){var c=s[Hd]();c?Object.assign(t,c):q("(DEBUG) - XFA - style for ".concat(o," not implemented yet"))}}return t}function Up(e,t){var r=t.attributes,A=r.style,n={name:"div",attributes:{class:["xfaWrapper"],style:Object.create(null)},children:[]};if(r.class.push("xfaWrapped"),e.border){var i,a,o=e.border[HE],s=o.widths,c=o.insets,g=c[0],u=c[3],l=c[0]+c[2],h=c[1]+c[3];switch(e.border.hand){case"even":g-=s[0]/2,u-=s[3]/2,i="calc(100% + ".concat((s[1]+s[3])/2-h,"px)"),a="calc(100% + ".concat((s[0]+s[2])/2-l,"px)");break;case"left":g-=s[0],u-=s[3],i="calc(100% + ".concat(s[1]+s[3]-h,"px)"),a="calc(100% + ".concat(s[0]+s[2]-l,"px)");break;case"right":i=h?"calc(100% - ".concat(h,"px)"):"100%",a=l?"calc(100% - ".concat(l,"px)"):"100%"}var I=["xfaBorder"];Hp(e.border)&&I.push("xfaPrintOnly");for(var f={name:"div",attributes:{class:I,style:{top:"".concat(g,"px"),left:"".concat(u,"px"),width:i,height:a}},children:[]},C=0,B=["border","borderWidth","borderColor","borderRadius","borderStyle"];C<B.length;C++){var Q=B[C];void 0!==A[Q]&&(f.attributes.style[Q]=A[Q],delete A[Q])}n.children.push(f,t)}else n.children.push(t);for(var E=0,d=["background","backgroundClip","top","left","width","height","minWidth","minHeight","maxWidth","maxHeight","transform","transformOrigin","visibility"];E<d.length;E++){var y=d[E];void 0!==A[y]&&(n.attributes.style[y]=A[y],delete A[y])}return n.attributes.style.position="absolute"===A.position?"absolute":"relative",delete A.position,A.alignSelf&&(n.attributes.style.alignSelf=A.alignSelf,delete A.alignSelf),n}function Mp(e){var t=ey(e.textIndent,"0px");if(!(t>=0)){var r="padding"+("left"==("right"===e.textAlign?"right":"left")?"Left":"Right"),A=ey(e[r],"0px");e[r]="".concat(A-t,"px")}}function Jp(e,t){switch(e.access){case"nonInteractive":t.push("xfaNonInteractive");break;case"readOnly":t.push("xfaReadOnly");break;case"protected":t.push("xfaDisabled")}}function Hp(e){return e.relevant.length>0&&!e.relevant[0].excluded&&"print"===e.relevant[0].viewname}function Yp(e){var t=e[rd]()[HE].paraStack;return t.length?t.at(-1):null}function Pp(e,t,r){var A;if(null!==(A=r.attributes.class)&&void 0!==A&&A.includes("xfaRich")){t&&(""===e.h&&(t.height="auto"),""===e.w&&(t.width="auto"));var n=Yp(e);if(n){var i=r.attributes.style;switch(i.display="flex",i.flexDirection="column",n.vAlign){case"top":i.justifyContent="start";break;case"bottom":i.justifyContent="end";break;case"middle":i.justifyContent="center"}for(var a=n[Hd](),o=0,s=Object.entries(a);o<s.length;o++){var c=wp(s[o],2),g=c[0],u=c[1];g in i||(i[g]=u)}}}}function Op(e,t,r,A){if(r){var n=_d(e.typeface);A.fontFamily='"'.concat(n,'"');var i=r.find(n);if(i){var a=i.regular.cssFontInfo.fontFamily;a!==n&&(A.fontFamily='"'.concat(a,'"'));var o=Yp(t);if(o&&""!==o.lineHeight)return;if(A.lineHeight)return;var s=uy(e,i);s&&(A.lineHeight=Math.max(1.2,s.lineHeight))}}else delete A.fontFamily}function Kp(e){var t=Z(e,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return t?t.href:null}function Tp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||qp(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qp(e,t){if(e){if("string"==typeof e)return jp(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jp(e,t):void 0}}function jp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Wp(e,t){return{name:"div",attributes:{class:["lr-tb"===e.layout?"xfaLr":"xfaRl"]},children:t}}function Zp(e){if(!e[HE])return null;var t={name:"div",attributes:e[HE].attributes,children:e[HE].children};if(e[HE].failingNode){var r=e[HE].failingNode[PE]();r&&(e.layout.endsWith("-tb")?t.children.push(Wp(e,[r])):t.children.push(r))}return 0===t.children.length?null:t}function _p(e,t,r){var A=e[HE],n=A.availableSpace,i=Tp(r,4),a=i[0],o=i[1],s=i[2],c=i[3];switch(e.layout){case"position":A.width=Math.max(A.width,a+s),A.height=Math.max(A.height,o+c),A.children.push(t);break;case"lr-tb":case"rl-tb":A.line&&1!==A.attempt||(A.line=Wp(e,[]),A.children.push(A.line),A.numberInLine=0),A.numberInLine+=1,A.line.children.push(t),0===A.attempt?(A.currentWidth+=s,A.height=Math.max(A.height,A.prevHeight+c)):(A.currentWidth=s,A.prevHeight=A.height,A.height+=c,A.attempt=0),A.width=Math.max(A.width,A.currentWidth);break;case"rl-row":case"row":A.children.push(t),A.width+=s,A.height=Math.max(A.height,c);var g,u=kp(A.height),l=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=qp(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(A.children);try{for(l.s();!(g=l.n()).done;)g.value.attributes.style.height=u}catch(e){l.e(e)}finally{l.f()}break;case"table":case"tb":A.width=Math.min(n.width,Math.max(A.width,s)),A.height+=c,A.children.push(t)}}function Xp(e){var t=e[HE].availableSpace,r=e.margin?e.margin.topInset+e.margin.bottomInset:0,A=e.margin?e.margin.leftInset+e.margin.rightInset:0;switch(e.layout){case"lr-tb":case"rl-tb":return 0===e[HE].attempt?{width:t.width-A-e[HE].currentWidth,height:t.height-r-e[HE].prevHeight}:{width:t.width-A,height:t.height-r-e[HE].height};case"rl-row":case"row":return{width:e[HE].columnWidths.slice(e[HE].currentColumn).reduce((function(e,t){return e+t})),height:t.height-A};case"table":case"tb":return{width:t.width-A,height:t.height-r-e[HE].height};default:return t}}function Vp(e,t){var r;if(null===e[rd]()[HE].firstUnsplittable)return!0;if(0===e.w||0===e.h)return!0;var A=e[ed](),n=(null===(r=A[HE])||void 0===r?void 0:r.attempt)||0,i=function(e){var t,r,A=""===e.w?NaN:e.w,n=""===e.h?NaN:e.h,i=0,a=0;switch(e.anchorType||""){case"bottomCenter":i=A/2,a=n;break;case"bottomLeft":i=0,a=n;break;case"bottomRight":i=A,a=n;break;case"middleCenter":i=A/2,a=n/2;break;case"middleLeft":i=0,a=n/2;break;case"middleRight":i=A,a=n/2;break;case"topCenter":i=A/2,a=0;break;case"topRight":i=A,a=0}switch(e.rotate||0){case 0:t=-i,r=-a;break;case 90:t=-a,r=i;var o=[n,-A];A=o[0],n=o[1];break;case 180:t=i,r=a;var s=[-A,-n];A=s[0],n=s[1];break;case 270:t=a,r=-i;var c=[-n,A];A=c[0],n=c[1]}return[e.x+t+Math.min(0,A),e.y+r+Math.min(0,n),Math.abs(A),Math.abs(n)]}(e),a=Tp(i,4),o=a[1],s=a[2],c=a[3];switch(A.layout){case"lr-tb":case"rl-tb":return 0===n?e[rd]()[HE].noLayoutFailure?""!==e.w?Math.round(s-t.width)<=2:t.width>2:!(""!==e.h&&Math.round(c-t.height)>2)&&(""!==e.w?Math.round(s-t.width)<=2||0===A[HE].numberInLine&&t.height>2:t.width>2):!!e[rd]()[HE].noLayoutFailure||!(""!==e.h&&Math.round(c-t.height)>2)&&(""===e.w||Math.round(s-t.width)<=2||!A[Id]())&&t.height>2;case"table":case"tb":return!!e[rd]()[HE].noLayoutFailure||(""===e.h||e[hd]()?(""===e.w||Math.round(s-t.width)<=2||!A[Id]())&&t.height>2:Math.round(c-t.height)<=2);case"position":return!!e[rd]()[HE].noLayoutFailure||""===e.h||Math.round(c+o-t.height)<=2||c+o>e[rd]()[HE].currentContentArea.h;case"rl-row":case"row":return!!e[rd]()[HE].noLayoutFailure||""===e.h||Math.round(c-t.height)<=2;default:return!0}}function zp(e,t,r,A){var n=$p(ov(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function $p(){return $p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ov(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},$p.apply(null,arguments)}function ev(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||hv(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tv(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Av(A.key),A)}}function rv(e,t,r){return t&&tv(e.prototype,t),r&&tv(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Av(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function nv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iv(e,t,r){return t=ov(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,av()?Reflect.construct(t,r||[],ov(e).constructor):t.apply(e,r))}function av(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(av=function(){return!!e})()}function ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ov(e)}function sv(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cv(e,t)}function cv(e,t){return cv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cv(e,t)}function gv(){gv=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}var uv=gv().mark(vv);function lv(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=hv(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function hv(e,t){if(e){if("string"==typeof e)return Iv(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Iv(e,t):void 0}}function Iv(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var fv=Od.template.id,Cv="http://www.w3.org/2000/svg",Bv=/^H(\\d+)$/,Qv=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),Ev=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function dv(e){if(!e||!e.border)return{w:0,h:0};var t=e.border[_E]();return t?{w:t.widths[0]+t.widths[2]+t.insets[0]+t.insets[2],h:t.widths[1]+t.widths[3]+t.insets[1]+t.insets[3]}:{w:0,h:0}}function yv(e){return e.margin&&(e.margin.topInset||e.margin.rightInset||e.margin.bottomInset||e.margin.leftInset)}function pv(e,t){if(!e.value){var r=new Uw({});e[SE](r),e.value=r}e.value[Gd](t)}function vv(e){var t,r,A;return gv().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t=lv(e[VE]()),n.prev=1,t.s();case 3:if((r=t.n()).done){n.next=12;break}if(!((A=r.value)instanceof pw)){n.next=8;break}return n.delegateYield(A[zE](),"t0",7);case 7:return n.abrupt("continue",10);case 8:return n.next=10,A;case 10:n.next=3;break;case 12:n.next=17;break;case 14:n.prev=14,n.t1=n.catch(1),t.e(n.t1);case 17:return n.prev=17,t.f(),n.finish(17);case 20:case"end":return n.stop()}}),uv,null,[[1,14,17,20]])}function mv(e){var t;return"error"===(null===(t=e.validate)||void 0===t?void 0:t.nullTest)}function wv(e){for(;e;){if(!e.traversal)return void(e[Nd]=e[td]()[Nd]);if(e[Nd])return;var t,r=null,A=lv(e.traversal[VE]());try{for(A.s();!(t=A.n()).done;){var n=t.value;if("next"===n.operation){r=n;break}}}catch(e){A.e(e)}finally{A.f()}if(!r||!r.ref)return void(e[Nd]=e[td]()[Nd]);var i=e[rd]();e[Nd]=++i[Nd];var a=i[Fd](r.ref,e);if(!a)return;e=a[0]}}function bv(e,t){var r=e.assist;if(r){var A=r[Md]();A&&(t.title=A);var n=r.role.match(Bv);if(n){var i=n[1];t.role="heading",t["aria-level"]=i}}if("table"===e.layout)t.role="table";else if("row"===e.layout)t.role="row";else{var a,o=e[td]();"row"===o.layout&&(t.role="TH"===(null===(a=o.assist)||void 0===a?void 0:a.role)?"columnheader":"cell")}}function kv(e){if(!e.assist)return null;var t=e.assist;return t.speak&&""!==t.speak[UE]?t.speak[UE]:t.toolTip?t.toolTip[UE]:null}function Dv(e){return Ay.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:e}]})}function Sv(e){var t=e[rd]();null===t[HE].firstUnsplittable&&(t[HE].firstUnsplittable=e,t[HE].noLayoutFailure=!0)}function Fv(e){var t=e[rd]();t[HE].firstUnsplittable===e&&(t[HE].noLayoutFailure=!1)}function xv(e){if(e[HE])return!1;if(e[HE]=Object.create(null),"auto"===e.targetType)return!1;var t=e[rd](),r=null;if(e.target){if(!(r=t[Fd](e.target,e[td]())))return!1;r=r[0]}var A=t[HE],n=A.currentPageArea,i=A.currentContentArea;if("pageArea"===e.targetType)return r instanceof tw||(r=null),e.startNew?(e[HE].target=r||n,!0):!(!r||r===n||(e[HE].target=r,0));r instanceof rm||(r=null);var a,o=r&&r[td](),s=o;if(e.startNew)if(r){var c=o.contentArea.children,g=c.indexOf(i),u=c.indexOf(r);-1!==g&&g<u&&(s=null),a=u-1}else a=n.contentArea.children.indexOf(i);else{if(!r||r===i)return!1;a=o.contentArea.children.indexOf(r)-1,s=o===n?null:o}return e[HE].target=s,e[HE].index=a,!0}function Rv(e,t,r){var A=e[rd](),n=A[HE].noLayoutFailure,i=t[ed];t[ed]=function(){return e},A[HE].noLayoutFailure=!0;var a=t[Md](r);e[DE](a.html,a.bbox),A[HE].noLayoutFailure=n,t[ed]=i}var Gv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"appearanceFilter"])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Nv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"arc",!0])).circular=Xd({data:e.circular,defaultValue:0,validate:function(e){return 1===e}}),r.hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.startAngle=Vd({data:e.startAngle,defaultValue:0,validate:function(e){return!0}}),r.sweepAngle=Vd({data:e.sweepAngle,defaultValue:360,validate:function(e){return!0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.edge=null,r.fill=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t,r=this.edge||new hm({}),A=r[Hd](),n=Object.create(null);"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)?Object.assign(n,this.fill[Hd]()):n.fill="transparent",n.strokeWidth=kp("visible"===r.presence?r.thickness:0),n.stroke=A.color;var i={xmlns:Cv,style:{width:"100%",height:"100%",overflow:"visible"}};if(360===this.sweepAngle)t={name:"ellipse",attributes:{xmlns:Cv,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:n}};else{var a=this.startAngle*Math.PI/180,o=this.sweepAngle*Math.PI/180,s=this.sweepAngle>180?1:0,c=50*(1+Math.cos(a)),g=50*(1-Math.sin(a)),u=50*(1+Math.cos(a+o)),l=50*(1-Math.sin(a+o));t={name:"path",attributes:{xmlns:Cv,d:"M ".concat(c," ").concat(g," A 50 50 0 ").concat(s," 0 ").concat(u," ").concat(l),vectorEffect:"non-scaling-stroke",style:n}},Object.assign(i,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}var h={name:"svg",children:[t],attributes:i};return yv(this[td]()[td]())?Ay.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[h]}):(h.attributes.style.position="absolute",Ay.success(h))}}])}(),Lv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"area",!0])).colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.id=e.id||"",r.name=e.name||"",r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.desc=null,r.extras=null,r.area=new Cp,r.draw=new Cp,r.exObject=new Cp,r.exclGroup=new Cp,r.field=new Cp,r.subform=new Cp,r.subformSet=new Cp,r}return sv(t,fp),rv(t,[{key:zE,value:gv().mark((function e(){return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(vv(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:fd,value:function(){return!0}},{key:cd,value:function(){return!0}},{key:DE,value:function(e,t){var r=ev(t,4),A=r[0],n=r[1],i=r[2],a=r[3];this[HE].width=Math.max(this[HE].width,A+i),this[HE].height=Math.max(this[HE].height,n+a),this[HE].children.push(e)}},{key:TE,value:function(){return this[HE].availableSpace}},{key:Md,value:function(e){var t=Lp(this,"position"),r={style:t,id:this[Yd],class:["xfaArea"]};Hp(this)&&r.class.push("xfaPrintOnly"),this.name&&(r.xfaName=this.name);var A=[];this[HE]={children:A,width:0,height:0,availableSpace:e};var n=this[FE]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!n.success)return n.isBreak()?n:(delete this[HE],Ay.FAILURE);t.width=kp(this[HE].width),t.height=kp(this[HE].height);var i={name:"div",attributes:r,children:A},a=[this.x,this.y,this[HE].width,this[HE].height];return delete this[HE],Ay.success(i,a)}}])}(),Uv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"assist",!0])).id=e.id||"",r.role=e.role||"",r.use=e.use||"",r.usehref=e.usehref||"",r.speak=null,r.toolTip=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e;return(null===(e=this.toolTip)||void 0===e?void 0:e[UE])||null}}])}(),Mv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"barcode",!0])).charEncoding=zd({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\\d{2}/)}}),r.checksum=$d(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),r.dataColumnCount=Xd({data:e.dataColumnCount,defaultValue:-1,validate:function(e){return e>=0}}),r.dataLength=Xd({data:e.dataLength,defaultValue:-1,validate:function(e){return e>=0}}),r.dataPrep=$d(e.dataPrep,["none","flateCompress"]),r.dataRowCount=Xd({data:e.dataRowCount,defaultValue:-1,validate:function(e){return e>=0}}),r.endChar=e.endChar||"",r.errorCorrectionLevel=Xd({data:e.errorCorrectionLevel,defaultValue:-1,validate:function(e){return e>=0&&e<=8}}),r.id=e.id||"",r.moduleHeight=ey(e.moduleHeight,"5mm"),r.moduleWidth=ey(e.moduleWidth,"0.25mm"),r.printCheckDigit=Xd({data:e.printCheckDigit,defaultValue:0,validate:function(e){return 1===e}}),r.rowColumnRatio=ty(e.rowColumnRatio),r.startChar=e.startChar||"",r.textLocation=$d(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),r.truncate=Xd({data:e.truncate,defaultValue:0,validate:function(e){return 1===e}}),r.type=$d(e.type?e.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),r.upsMode=$d(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),r.use=e.use||"",r.usehref=e.usehref||"",r.wideNarrowRatio=ty(e.wideNarrowRatio),r.encrypt=null,r.extras=null,r}return sv(t,fp),rv(t)}(),Jv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"bind",!0])).match=$d(e.match,["once","dataRef","global","none"]),r.ref=e.ref||"",r.picture=null,r}return sv(t,fp),rv(t)}(),Hv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"bindItems"])).connection=e.connection||"",r.labelRef=e.labelRef||"",r.ref=e.ref||"",r.valueRef=e.valueRef||"",r}return sv(t,fp),rv(t)}(),Yv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"bookend"])).id=e.id||"",r.leader=e.leader||"",r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),Pv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"boolean"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,vp),rv(t,[{key:Md,value:function(e){return Dv(1===this[UE]?"1":"0")}}])}(),Ov=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"border",!0])).break=$d(e.break,["close","open"]),r.hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.corner=new Cp(4),r.edge=new Cp(4),r.extras=null,r.fill=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:_E,value:function(){if(!this[HE]){var e=this.edge.children.slice();if(e.length<4)for(var t=e.at(-1)||new hm({}),r=e.length;r<4;r++)e.push(t);var A=e.map((function(e){return e.thickness})),n=[0,0,0,0];this.margin&&(n[0]=this.margin.topInset,n[1]=this.margin.rightInset,n[2]=this.margin.bottomInset,n[3]=this.margin.leftInset),this[HE]={widths:A,insets:n,edges:e}}return this[HE]}},{key:Hd,value:function(){var e,t=this[_E]().edges.map((function(e){var t=e[Hd]();return t.color||(t.color="#000000"),t})),r=Object.create(null);if(this.margin&&Object.assign(r,this.margin[Hd]()),"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)&&Object.assign(r,this.fill[Hd]()),this.corner.children.some((function(e){return 0!==e.radius}))){var A=this.corner.children.map((function(e){return e[Hd]()}));if(2===A.length||3===A.length)for(var n=A.at(-1),i=A.length;i<4;i++)A.push(n);r.borderRadius=A.map((function(e){return e.radius})).join(" ")}switch(this.presence){case"invisible":case"hidden":r.borderStyle="";break;case"inactive":r.borderStyle="none";break;default:r.borderStyle=t.map((function(e){return e.style})).join(" ")}return r.borderWidth=t.map((function(e){return e.width})).join(" "),r.borderColor=t.map((function(e){return e.color})).join(" "),r}}])}(),Kv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"break",!0])).after=$d(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.afterTarget=e.afterTarget||"",r.before=$d(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),r.beforeTarget=e.beforeTarget||"",r.bookendLeader=e.bookendLeader||"",r.bookendTrailer=e.bookendTrailer||"",r.id=e.id||"",r.overflowLeader=e.overflowLeader||"",r.overflowTarget=e.overflowTarget||"",r.overflowTrailer=e.overflowTrailer||"",r.startNew=Xd({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t)}(),Tv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"breakAfter",!0])).id=e.id||"",r.leader=e.leader||"",r.startNew=Xd({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.target=e.target||"",r.targetType=$d(e.targetType,["auto","contentArea","pageArea"]),r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r.script=null,r}return sv(t,fp),rv(t)}(),qv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"breakBefore",!0])).id=e.id||"",r.leader=e.leader||"",r.startNew=Xd({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),r.target=e.target||"",r.targetType=$d(e.targetType,["auto","contentArea","pageArea"]),r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r.script=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){return this[HE]={},Ay.FAILURE}}])}(),jv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"button",!0])).highlight=$d(e.highlight,["inverted","none","outline","push"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r=this[td]()[td](),A={name:"button",attributes:{id:this[Yd],class:["xfaButton"],style:{}},children:[]},n=lv(r.event.children);try{for(n.s();!(t=n.n()).done;){var i=t.value;if("click"===i.activity&&i.script){var a=Kt(i.script[UE]);if(a){var o=Kp(a.url);o&&A.children.push({name:"a",attributes:{id:"link"+this[Yd],href:o,newWindow:a.newWindow,class:["xfaLink"],style:{}},children:[]})}}}}catch(e){n.e(e)}finally{n.f()}return Ay.success(A)}}])}(),Wv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"calculate",!0])).id=e.id||"",r.override=$d(e.override,["disabled","error","ignore","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.script=null,r}return sv(t,fp),rv(t)}(),Zv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"caption",!0])).id=e.id||"",r.placement=$d(e.placement,["left","bottom","inline","right","top"]),r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.reserve=Math.ceil(ey(e.reserve)),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.font=null,r.margin=null,r.para=null,r.value=null,r}return sv(t,fp),rv(t,[{key:Gd,value:function(e){pv(this,e)}},{key:_E,value:function(e){if(!this[HE]){var t=e.width,r=e.height;switch(this.placement){case"left":case"right":case"inline":t=this.reserve<=0?t:this.reserve;break;case"top":case"bottom":r=this.reserve<=0?r:this.reserve}this[HE]=xp(this,{width:t,height:r})}return this[HE]}},{key:Md,value:function(e){if(!this.value)return Ay.EMPTY;this[bd]();var t=this.value[Md](e).html;if(!t)return this[wd](),Ay.EMPTY;var r=this.reserve;if(this.reserve<=0){var A=this[_E](e),n=A.w,i=A.h;switch(this.placement){case"left":case"right":case"inline":this.reserve=n;break;case"top":case"bottom":this.reserve=i}}var a=[];"string"==typeof t?a.push({name:"#text",value:t}):a.push(t);var o=Lp(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(o.width=kp(this.reserve));break;case"top":case"bottom":this.reserve>0&&(o.height=kp(this.reserve))}return Pp(this,null,t),this[wd](),this.reserve=r,Ay.success({name:"div",attributes:{style:o,class:["xfaCaption"]},children:a})}}])}(),_v=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"certificate"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Xv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"certificates",!0])).credentialServerPolicy=$d(e.credentialServerPolicy,["optional","required"]),r.id=e.id||"",r.url=e.url||"",r.urlPolicy=e.urlPolicy||"",r.use=e.use||"",r.usehref=e.usehref||"",r.encryption=null,r.issuers=null,r.keyUsage=null,r.oids=null,r.signing=null,r.subjectDNs=null,r}return sv(t,fp),rv(t)}(),Vv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"checkButton",!0])).id=e.id||"",r.mark=$d(e.mark,["default","check","circle","cross","diamond","square","star"]),r.shape=$d(e.shape,["square","round"]),r.size=ey(e.size,"10pt"),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r,A,n,i=Lp("margin"),a=kp(this.size);i.width=i.height=a;var o,s,c,g=this[td]()[td](),u=g.items.children.length&&g.items.children[0][Md]().html||[],l={on:(void 0!==u[0]?u[0]:"on").toString(),off:(void 0!==u[1]?u[1]:"off").toString()},h=((null===(t=g.value)||void 0===t?void 0:t[Ld]())||"off")===l.on||void 0,I=g[ed](),f=g[Yd];I instanceof mm?(n=I[Yd],r="radio",A="xfaRadio",o=(null===(s=I[ME])||void 0===s?void 0:s[Yd])||I[Yd]):(r="checkbox",A="xfaCheckbox",o=(null===(c=g[ME])||void 0===c?void 0:c[Yd])||g[Yd]);var C={name:"input",attributes:{class:[A],style:i,fieldId:f,dataId:o,type:r,checked:h,xfaOn:l.on,xfaOff:l.off,"aria-label":kv(g),"aria-required":!1}};return n&&(C.attributes.name=n),mv(g)&&(C.attributes["aria-required"]=!0,C.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[C]})}}])}(),zv=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"choiceList",!0])).commitOn=$d(e.commitOn,["select","exit"]),r.id=e.id||"",r.open=$d(e.open,["userControl","always","multiSelect","onEntry"]),r.textEntry=Xd({data:e.textEntry,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r,A=Lp(this,"border","margin"),n=this[td]()[td](),i=(null===(t=n.font)||void 0===t?void 0:t.size)||10,a={fontSize:"calc(".concat(i,"px * var(--scale-factor))")},o=[];if(n.items.children.length>0){var s,c=n.items,g=0,u=0;2===c.children.length&&(u=1-(g=c.children[0].save));for(var l=c.children[g][Md]().html,h=c.children[u][Md]().html,I=!1,f=(null===(s=n.value)||void 0===s?void 0:s[Ld]())||"",C=0,B=l.length;C<B;C++){var Q={name:"option",attributes:{value:h[C]||l[C],style:a},value:l[C]};h[C]===f&&(Q.attributes.selected=I=!0),o.push(Q)}I||o.splice(0,0,{name:"option",attributes:{hidden:!0,selected:!0},value:" "})}var E={class:["xfaSelect"],fieldId:n[Yd],dataId:(null===(r=n[ME])||void 0===r?void 0:r[Yd])||n[Yd],style:A,"aria-label":kv(n),"aria-required":!1};return mv(n)&&(E["aria-required"]=!0,E.required=!0),"multiSelect"===this.open&&(E.multiple=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[{name:"select",children:o,attributes:E}]})}}])}(),$v=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"color",!0])).cSpace=$d(e.cSpace,["SRGB"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.value=e.value?function(e){var t=qd(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],3),r=t[0],A=t[1],n=t[2];if(!e)return{r,g:A,b:n};var i=e.trim().split(/\\s*,\\s*/).map((function(e){return Math.min(Math.max(0,parseInt(e.trim(),10)),255)})).map((function(e){return isNaN(e)?0:e}));if(i.length<3)return{r,g:A,b:n};var a=qd(i,3);return{r:r=a[0],g:A=a[1],b:n=a[2]}}(e.value):"",r.extras=null,r}return sv(t,fp),rv(t,[{key:nd,value:function(){return!1}},{key:Hd,value:function(){return this.value?ge.makeHexColor(this.value.r,this.value.g,this.value.b):null}}])}(),em=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"comb"])).id=e.id||"",r.numberOfCells=Xd({data:e.numberOfCells,defaultValue:0,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),tm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"connect",!0])).connection=e.connection||"",r.id=e.id||"",r.ref=e.ref||"",r.usage=$d(e.usage,["exportAndImport","exportOnly","importOnly"]),r.use=e.use||"",r.usehref=e.usehref||"",r.picture=null,r}return sv(t,fp),rv(t)}(),rm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"contentArea",!0])).h=ey(e.h),r.id=e.id||"",r.name=e.name||"",r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.w=ey(e.w),r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.desc=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t={left:kp(this.x),top:kp(this.y),width:kp(this.w),height:kp(this.h)},r=["xfaContentarea"];return Hp(this)&&r.push("xfaPrintOnly"),Ay.success({name:"div",children:[],attributes:{style:t,class:r,id:this[Yd]}})}}])}(),Am=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"corner",!0])).id=e.id||"",r.inverted=Xd({data:e.inverted,defaultValue:0,validate:function(e){return 1===e}}),r.join=$d(e.join,["square","round"]),r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.radius=ey(e.radius),r.stroke=$d(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),r.thickness=ey(e.thickness,"0.5pt"),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e=Lp(this,"visibility");return e.radius=kp("square"===this.join?0:this.radius),e}}])}(),nm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"date"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=this[UE].trim();this[UE]=e?new Date(e):null}},{key:Md,value:function(e){return Dv(this[UE]?this[UE].toString():"")}}])}(),im=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"dateTime"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=this[UE].trim();this[UE]=e?new Date(e):null}},{key:Md,value:function(e){return Dv(this[UE]?this[UE].toString():"")}}])}(),am=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"dateTimeEdit",!0])).hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.picker=$d(e.picker,["host","none"]),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r=Lp(this,"border","font","margin"),A=this[td]()[td](),n={name:"input",attributes:{type:"text",fieldId:A[Yd],dataId:(null===(t=A[ME])||void 0===t?void 0:t[Yd])||A[Yd],class:["xfaTextfield"],style:r,"aria-label":kv(A),"aria-required":!1}};return mv(A)&&(n.attributes["aria-required"]=!0,n.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}}])}(),om=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"decimal"])).fracDigits=Xd({data:e.fracDigits,defaultValue:2,validate:function(e){return!0}}),r.id=e.id||"",r.leadDigits=Xd({data:e.leadDigits,defaultValue:-1,validate:function(e){return!0}}),r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=parseFloat(this[UE].trim());this[UE]=isNaN(e)?null:e}},{key:Md,value:function(e){return Dv(null!==this[UE]?this[UE].toString():"")}}])}(),sm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"defaultUi",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t)}(),cm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"desc",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t)}(),gm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,dp),rv(t)}(),um=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"digestMethods",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.digestMethod=new Cp,r}return sv(t,fp),rv(t)}(),lm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"draw",!0])).anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.locale=e.locale||"",r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.rotate=Xd({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.border=null,r.caption=null,r.desc=null,r.extras=null,r.font=null,r.keep=null,r.margin=null,r.para=null,r.traversal=null,r.ui=null,r.value=null,r.setProperty=new Cp,r}return sv(t,fp),rv(t,[{key:Gd,value:function(e){pv(this,e)}},{key:Md,value:function(e){if(wv(this),"hidden"===this.presence||"inactive"===this.presence)return Ay.EMPTY;Gp(this),this[bd]();var t=this.w,r=this.h,A=xp(this,e),n=A.w,i=A.h,a=A.isBroken;if(n&&""===this.w){if(a&&this[ed]()[Id]())return this[wd](),Ay.FAILURE;this.w=n}if(i&&""===this.h&&(this.h=i),Sv(this),!Vp(this,e))return this.w=t,this.h=r,this[wd](),Ay.FAILURE;Fv(this);var o=Lp(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");Sp(this,o),o.margin&&(o.padding=o.margin,delete o.margin);var s=["xfaDraw"];this.font&&s.push("xfaFont"),Hp(this)&&s.push("xfaPrintOnly");var c={style:o,id:this[Yd],class:s};this.name&&(c.xfaName=this.name);var g={name:"div",attributes:c,children:[]};bv(this,c);var u=Rp(this,g,e),l=this.value?this.value[Md](e).html:null;return null===l?(this.w=t,this.h=r,this[wd](),Ay.success(Up(this,g),u)):(g.children.push(l),Pp(this,o,l),this.w=t,this.h=r,this[wd](),Ay.success(Up(this,g),u))}}])}(),hm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"edge",!0])).cap=$d(e.cap,["square","butt","round"]),r.id=e.id||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.stroke=$d(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),r.thickness=ey(e.thickness,"0.5pt"),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e=Lp(this,"visibility");if(Object.assign(e,{linecap:this.cap,width:kp(this.thickness),color:this.color?this.color[Hd]():"#000000",style:""}),"visible"!==this.presence)e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset"}return e}}])}(),Im=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,dp),rv(t)}(),fm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encodings",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encoding=new Cp,r}return sv(t,fp),rv(t)}(),Cm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encrypt",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=null,r}return sv(t,fp),rv(t)}(),Bm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryptData",!0])).id=e.id||"",r.operation=$d(e.operation,["encrypt","decrypt"]),r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return sv(t,fp),rv(t)}(),Qm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryption",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new Cp,r}return sv(t,fp),rv(t)}(),Em=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,dp),rv(t)}(),dm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"encryptionMethods",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.encryptionMethod=new Cp,r}return sv(t,fp),rv(t)}(),ym=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"event",!0])).activity=$d(e.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),r.id=e.id||"",r.listen=$d(e.listen,["refOnly","refAndDescendents"]),r.name=e.name||"",r.ref=e.ref||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.encryptData=null,r.execute=null,r.script=null,r.signData=null,r.submit=null,r}return sv(t,fp),rv(t)}(),pm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"exData"])).contentType=e.contentType||"",r.href=e.href||"",r.id=e.id||"",r.maxLength=Xd({data:e.maxLength,defaultValue:-1,validate:function(e){return e>=-1}}),r.name=e.name||"",r.rid=e.rid||"",r.transferEncoding=$d(e.transferEncoding,["none","base64","package"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:sd,value:function(){return"text/html"===this.contentType}},{key:yd,value:function(e){return("text/html"===this.contentType&&e[Qd]===Od.xhtml.id||"text/xml"===this.contentType)&&(this[UE]=e,!0)}},{key:Md,value:function(e){return"text/html"===this.contentType&&this[UE]?this[UE][Md](e):Ay.EMPTY}}])}(),vm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"exObject",!0])).archive=e.archive||"",r.classId=e.classId||"",r.codeBase=e.codeBase||"",r.codeType=e.codeType||"",r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.exObject=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t)}(),mm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"exclGroup",!0])).access=$d(e.access,["open","nonInteractive","protected","readOnly"]),r.accessKey=e.accessKey||"",r.anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.layout=$d(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.bind=null,r.border=null,r.calculate=null,r.caption=null,r.desc=null,r.extras=null,r.margin=null,r.para=null,r.traversal=null,r.validate=null,r.connect=new Cp,r.event=new Cp,r.field=new Cp,r.setProperty=new Cp,r}return sv(t,fp),rv(t,[{key:cd,value:function(){return!0}},{key:nd,value:function(){return!0}},{key:Gd,value:function(e){var t,r=lv(this.field.children);try{for(r.s();!(t=r.n()).done;){var A=t.value;if(!A.value){var n=new Uw({});A[SE](n),A.value=n}A.value[Gd](e)}}catch(e){r.e(e)}finally{r.f()}}},{key:Id,value:function(){return this.layout.endsWith("-tb")&&0===this[HE].attempt&&this[HE].numberInLine>0||this[td]()[Id]()}},{key:hd,value:function(){var e,t=this[ed]();return!!t[hd]()&&(void 0!==this[HE]._isSplittable?this[HE]._isSplittable:"position"===this.layout||this.layout.includes("row")?(this[HE]._isSplittable=!1,!1):!(null!==(e=t.layout)&&void 0!==e&&e.endsWith("-tb")&&0!==t[HE].numberInLine||(this[HE]._isSplittable=!0,0)))}},{key:PE,value:function(){return Zp(this)}},{key:DE,value:function(e,t){_p(this,e,t)}},{key:TE,value:function(){return Xp(this)}},{key:Md,value:function(e){if(wv(this),"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return Ay.EMPTY;Gp(this);var t=[],r={id:this[Yd],class:[]};Jp(this,r.class),this[HE]||(this[HE]=Object.create(null)),Object.assign(this[HE],{children:t,attributes:r,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var A=this[hd]();if(A||Sv(this),!Vp(this,e))return Ay.FAILURE;var n=new Set(["field"]);if(this.layout.includes("row")){var i=this[ed]().columnWidths;Array.isArray(i)&&i.length>0&&(this[HE].columnWidths=i,this[HE].currentColumn=0)}var a=Lp(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),o=["xfaExclgroup"],s=Np(this);s&&o.push(s),Hp(this)&&o.push("xfaPrintOnly"),r.style=a,r.class=o,this.name&&(r.xfaName=this.name),this[bd]();for(var c="lr-tb"===this.layout||"rl-tb"===this.layout,g=c?2:1;this[HE].attempt<g;this[HE].attempt++){c&&1===this[HE].attempt&&(this[HE].numberInLine=0);var u=this[FE]({filter:n,include:!0});if(u.success)break;if(u.isBreak())return this[wd](),u;if(c&&0===this[HE].attempt&&0===this[HE].numberInLine&&!this[rd]()[HE].noLayoutFailure){this[HE].attempt=g;break}}if(this[wd](),A||Fv(this),this[HE].attempt===g)return A||delete this[HE],Ay.FAILURE;var l=0,h=0;this.margin&&(l=this.margin.leftInset+this.margin.rightInset,h=this.margin.topInset+this.margin.bottomInset);var I=Math.max(this[HE].width+l,this.w||0),f=Math.max(this[HE].height+h,this.h||0),C=[this.x,this.y,I,f];""===this.w&&(a.width=kp(I)),""===this.h&&(a.height=kp(f));var B={name:"div",attributes:r,children:t};return bv(this,r),delete this[HE],Ay.success(Up(this,B),C)}}])}(),wm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"execute"])).connection=e.connection||"",r.executeType=$d(e.executeType,["import","remerge"]),r.id=e.id||"",r.runAt=$d(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),bm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"extras",!0])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.extras=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t)}(),km=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"field",!0])).access=$d(e.access,["open","nonInteractive","protected","readOnly"]),r.accessKey=e.accessKey||"",r.anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.locale=e.locale||"",r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.rotate=Xd({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.bind=null,r.border=null,r.calculate=null,r.caption=null,r.desc=null,r.extras=null,r.font=null,r.format=null,r.items=new Cp(2),r.keep=null,r.margin=null,r.para=null,r.traversal=null,r.ui=null,r.validate=null,r.value=null,r.bindItems=new Cp,r.connect=new Cp,r.event=new Cp,r.setProperty=new Cp,r}return sv(t,fp),rv(t,[{key:cd,value:function(){return!0}},{key:Gd,value:function(e){pv(this,e)}},{key:Md,value:function(e){var t;if(wv(this),!this.ui){var r;switch(this.ui=new Nw({}),this.ui[Ad]=this[Ad],this[SE](this.ui),this.items.children.length){case 0:r=new Dw({}),this.ui.textEdit=r;break;case 1:r=new Vv({}),this.ui.checkButton=r;break;case 2:r=new zv({}),this.ui.choiceList=r}this.ui[SE](r)}if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return Ay.EMPTY;this.caption&&delete this.caption[HE],this[bd]();var A=this.caption?this.caption[Md](e).html:null,n=this.w,i=this.h,a=0,o=0;this.margin&&(a=this.margin.leftInset+this.margin.rightInset,o=this.margin.topInset+this.margin.bottomInset);var s=null;if(""===this.w||""===this.h){var c=null,g=null,u=0,l=0;if(this.ui.checkButton)u=l=this.ui.checkButton.size;else{var h=xp(this,e),I=h.w,f=h.h;null!==I?(u=I,l=f):l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null;if(e){var A=_d(e.typeface),n=e[Ad].fontFinder.find(A);r=uy(e,n)}if(!r)return{lineHeight:12,lineGap:2,lineNoGap:10};var i=e.size||10,a=r.lineHeight?Math.max(t?0:1.2,r.lineHeight):1.2,o=void 0===r.lineGap?.2:r.lineGap;return{lineHeight:a*i,lineGap:o*i,lineNoGap:Math.max(1,a-o)*i}}(this.font,!0).lineNoGap}if(u+=(s=dv(this.ui[_E]())).w,l+=s.h,this.caption){var C=this.caption[_E](e),B=C.w,Q=C.h;if(C.isBroken&&this[ed]()[Id]())return this[wd](),Ay.FAILURE;switch(c=B,g=Q,this.caption.placement){case"left":case"right":case"inline":c+=u;break;case"top":case"bottom":g+=l}}else c=u,g=l;c&&""===this.w&&(c+=a,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1<c?c:this.minW)),g&&""===this.h&&(g+=o,this.h=Math.min(this.maxH<=0?1/0:this.maxH,this.minH+1<g?g:this.minH))}if(this[wd](),Gp(this),Sv(this),!Vp(this,e))return this.w=n,this.h=i,this[wd](),Ay.FAILURE;Fv(this);var E=Lp(this,"font","dimensions","position","rotate","anchorType","presence","margin","hAlign");Sp(this,E);var d=["xfaField"];this.font&&d.push("xfaFont"),Hp(this)&&d.push("xfaPrintOnly");var y={style:E,id:this[Yd],class:d};E.margin&&(E.padding=E.margin,delete E.margin),Jp(this,d),this.name&&(y.xfaName=this.name);var p=[],v={name:"div",attributes:y,children:p};bv(this,y);var m,w=this.border?this.border[Hd]():null,b=Rp(this,v,e),k=this.ui[Md]().html;if(!k)return Object.assign(E,w),Ay.success(Up(this,v),b);this[Nd]&&(null!==(m=k.children)&&void 0!==m&&m[0]?k.children[0].attributes.tabindex=this[Nd]:k.attributes.tabindex=this[Nd]),k.attributes.style||(k.attributes.style=Object.create(null));var D=null;if(this.ui.button?(1===k.children.length&&(D=ev(k.children.splice(0,1),1)[0]),Object.assign(k.attributes.style,w)):Object.assign(E,w),p.push(k),this.value)if(this.ui.imageEdit)k.children.push(this.value[Md]().html);else if(!this.ui.button){var S,F="";if(this.value.exData)F=this.value.exData[Ld]();else if(this.value.text)F=this.value.text[_E]();else{var x=this.value[Md]().html;null!==x&&(F=x.children[0].value)}this.ui.textEdit&&null!==(S=this.value.text)&&void 0!==S&&S.maxChars&&(k.children[0].attributes.maxLength=this.value.text.maxChars),F&&(this.ui.numericEdit&&(F=parseFloat(F),F=isNaN(F)?"":F.toString()),"textarea"===k.children[0].name?k.children[0].attributes.textContent=F:k.children[0].attributes.value=F)}if(!this.ui.imageEdit&&null!==(t=k.children)&&void 0!==t&&t[0]&&this.h){s=s||dv(this.ui[_E]());var R=0;if(this.caption&&["top","bottom"].includes(this.caption.placement)){(R=this.caption.reserve)<=0&&(R=this.caption[_E](e).h);var G=this.h-R-o-s.h;k.children[0].attributes.style.height=kp(G)}else k.children[0].attributes.style.height="100%"}if(D&&k.children.push(D),!A)return k.attributes.class&&k.attributes.class.push("xfaLeft"),this.w=n,this.h=i,Ay.success(Up(this,v),b);if(this.ui.button)return E.padding&&delete E.padding,"div"===A.name&&(A.name="span"),k.children.push(A),Ay.success(v,b);switch(this.ui.checkButton&&(A.attributes.class[0]="xfaCaptionForCheckButton"),k.attributes.class||(k.attributes.class=[]),k.children.splice(0,0,A),this.caption.placement){case"left":case"inline":k.attributes.class.push("xfaLeft");break;case"right":k.attributes.class.push("xfaRight");break;case"top":k.attributes.class.push("xfaTop");break;case"bottom":k.attributes.class.push("xfaBottom")}return this.w=n,this.h=i,Ay.success(Up(this,v),b)}}])}(),Dm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"fill",!0])).id=e.id||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r.linear=null,r.pattern=null,r.radial=null,r.solid=null,r.stipple=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e,t=this[td](),r=t[td]()[td](),A=Object.create(null),n="color",i=n;t instanceof Ov&&(n="background-color",i="background",r instanceof Nw&&(A.backgroundColor="white")),(t instanceof uw||t instanceof Nv)&&(n=i="fill",A.fill="white");var a,o=lv(Object.getOwnPropertyNames(this));try{for(o.s();!(a=o.n()).done;){var s=a.value;if("extras"!==s&&"color"!==s){var c=this[s];if(c instanceof fp){var g=c[Hd](this.color);return g&&(A[g.startsWith("#")?n:i]=g),A}}}}catch(e){o.e(e)}finally{o.f()}if(null!==(e=this.color)&&void 0!==e&&e.value){var u=this.color[Hd]();A[u.startsWith("#")?n:i]=u}return A}}])}(),Sm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"filter",!0])).addRevocationInfo=$d(e.addRevocationInfo,["","required","optional","none"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.version=Xd({data:r.version,defaultValue:5,validate:function(e){return e>=1&&e<=5}}),r.appearanceFilter=null,r.certificates=null,r.digestMethods=null,r.encodings=null,r.encryptionMethods=null,r.handler=null,r.lockDocument=null,r.mdp=null,r.reasons=null,r.timeStamp=null,r}return sv(t,fp),rv(t)}(),Fm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"float"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=parseFloat(this[UE].trim());this[UE]=isNaN(e)?null:e}},{key:Md,value:function(e){return Dv(null!==this[UE]?this[UE].toString():"")}}])}(),xm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"font",!0])).baselineShift=ey(e.baselineShift),r.fontHorizontalScale=Vd({data:e.fontHorizontalScale,defaultValue:100,validate:function(e){return e>=0}}),r.fontVerticalScale=Vd({data:e.fontVerticalScale,defaultValue:100,validate:function(e){return e>=0}}),r.id=e.id||"",r.kerningMode=$d(e.kerningMode,["none","pair"]),r.letterSpacing=ey(e.letterSpacing,"0"),r.lineThrough=Xd({data:e.lineThrough,defaultValue:0,validate:function(e){return 1===e||2===e}}),r.lineThroughPeriod=$d(e.lineThroughPeriod,["all","word"]),r.overline=Xd({data:e.overline,defaultValue:0,validate:function(e){return 1===e||2===e}}),r.overlinePeriod=$d(e.overlinePeriod,["all","word"]),r.posture=$d(e.posture,["normal","italic"]),r.size=ey(e.size,"10pt"),r.typeface=e.typeface||"Courier",r.underline=Xd({data:e.underline,defaultValue:0,validate:function(e){return 1===e||2===e}}),r.underlinePeriod=$d(e.underlinePeriod,["all","word"]),r.use=e.use||"",r.usehref=e.usehref||"",r.weight=$d(e.weight,["normal","bold"]),r.extras=null,r.fill=null,r}return sv(t,fp),rv(t,[{key:xE,value:function(e){zp(t,xE,this,3)([e]),this[Ad].usedTypefaces.add(this.typeface)}},{key:Hd,value:function(){var e=Lp(this,"fill"),t=e.color;return t&&("#000000"===t?delete e.color:t.startsWith("#")||(e.background=t,e.backgroundClip="text",e.color="transparent")),this.baselineShift&&(e.verticalAlign=kp(this.baselineShift)),e.fontKerning="none"===this.kerningMode?"none":"normal",e.letterSpacing=kp(this.letterSpacing),0!==this.lineThrough&&(e.textDecoration="line-through",2===this.lineThrough&&(e.textDecorationStyle="double")),0!==this.overline&&(e.textDecoration="overline",2===this.overline&&(e.textDecorationStyle="double")),e.fontStyle=this.posture,e.fontSize=kp(.99*this.size),Op(this,this,this[Ad].fontFinder,e),0!==this.underline&&(e.textDecoration="underline",2===this.underline&&(e.textDecorationStyle="double")),e.fontWeight=this.weight,e}}])}(),Rm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"format",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.picture=null,r}return sv(t,fp),rv(t)}(),Gm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"handler"])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Nm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"hyphenation"])).excludeAllCaps=Xd({data:e.excludeAllCaps,defaultValue:0,validate:function(e){return 1===e}}),r.excludeInitialCap=Xd({data:e.excludeInitialCap,defaultValue:0,validate:function(e){return 1===e}}),r.hyphenate=Xd({data:e.hyphenate,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.pushCharacterCount=Xd({data:e.pushCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),r.remainCharacterCount=Xd({data:e.remainCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),r.use=e.use||"",r.usehref=e.usehref||"",r.wordCharacterCount=Xd({data:e.wordCharacterCount,defaultValue:7,validate:function(e){return e>=0}}),r}return sv(t,fp),rv(t)}(),Lm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"image"])).aspect=$d(e.aspect,["fit","actual","height","none","width"]),r.contentType=e.contentType||"",r.href=e.href||"",r.id=e.id||"",r.name=e.name||"",r.transferEncoding=$d(e.transferEncoding,["base64","none","package"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t,[{key:Md,value:function(){if(this.contentType&&!Qv.has(this.contentType.toLowerCase()))return Ay.EMPTY;var e=this[Ad].images&&this[Ad].images.get(this.href);if(!e&&(this.href||!this[UE]))return Ay.EMPTY;if(e||"base64"!==this.transferEncoding||(e=ie(atob(this[UE]))),!e)return Ay.EMPTY;if(!this.contentType){for(var t=0,r=Ev;t<r.length;t++){var A=ev(r[t],2),n=A[0],i=A[1];if(e.length>n.length&&n.every((function(t,r){return t===e[r]}))){this.contentType=i;break}}if(!this.contentType)return Ay.EMPTY}var a,o=new Blob([e],{type:this.contentType});switch(this.aspect){case"fit":case"actual":break;case"height":a={height:"100%",objectFit:"fill"};break;case"none":a={width:"100%",height:"100%",objectFit:"fill"};break;case"width":a={width:"100%",objectFit:"fill"}}var s=this[td]();return Ay.success({name:"img",attributes:{class:["xfaImage"],style:a,src:URL.createObjectURL(o),alt:s?kv(s[td]()):null}})}}])}(),Um=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"imageEdit",!0])).data=$d(e.data,["link","embed"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){return"embed"===this.data?Ay.success({name:"div",children:[],attributes:{}}):Ay.EMPTY}}])}(),Mm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"integer"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){var e=parseInt(this[UE].trim(),10);this[UE]=isNaN(e)?null:e}},{key:Md,value:function(e){return Dv(null!==this[UE]?this[UE].toString():"")}}])}(),Jm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"issuers",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new Cp,r}return sv(t,fp),rv(t)}(),Hm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"items",!0])).id=e.id||"",r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.ref=e.ref||"",r.save=Xd({data:e.save,defaultValue:0,validate:function(e){return 1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t=[],r=lv(this[VE]());try{for(r.s();!(e=r.n()).done;){var A=e.value;t.push(A[Ld]())}}catch(e){r.e(e)}finally{r.f()}return Ay.success(t)}}])}(),Ym=function(e){function t(e){var r;nv(this,t),(r=iv(this,t,[fv,"keep",!0])).id=e.id||"";var A=["none","contentArea","pageArea"];return r.intact=$d(e.intact,A),r.next=$d(e.next,A),r.previous=$d(e.previous,A),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t)}(),Pm=function(e){function t(e){var r;nv(this,t);var A=["","yes","no"];return(r=iv(this,t,[fv,"keyUsage"])).crlSign=$d(e.crlSign,A),r.dataEncipherment=$d(e.dataEncipherment,A),r.decipherOnly=$d(e.decipherOnly,A),r.digitalSignature=$d(e.digitalSignature,A),r.encipherOnly=$d(e.encipherOnly,A),r.id=e.id||"",r.keyAgreement=$d(e.keyAgreement,A),r.keyCertSign=$d(e.keyCertSign,A),r.keyEncipherment=$d(e.keyEncipherment,A),r.nonRepudiation=$d(e.nonRepudiation,A),r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),Om=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"line",!0])).hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.slope=$d(e.slope,["\\\\","/"]),r.use=e.use||"",r.usehref=e.usehref||"",r.edge=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t,r,A,n=this[td]()[td](),i=this.edge||new hm({}),a=i[Hd](),o=Object.create(null),s="visible"===i.presence?i.thickness:0;o.strokeWidth=kp(s),o.stroke=a.color;var c="100%",g="100%";n.w<=s?(e="50%",t=0,r="50%",A="100%",c=o.strokeWidth):n.h<=s?(e=0,t="50%",r="100%",A="50%",g=o.strokeWidth):"\\\\"===this.slope?(e=0,t=0,r="100%",A="100%"):(e=0,t="100%",r="100%",A=0);var u={name:"svg",children:[{name:"line",attributes:{xmlns:Cv,x1:e,y1:t,x2:r,y2:A,style:o}}],attributes:{xmlns:Cv,width:c,height:g,style:{overflow:"visible"}}};return yv(n)?Ay.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[u]}):(u.attributes.style.position="absolute",Ay.success(u))}}])}(),Km=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"linear",!0])).id=e.id||"",r.type=$d(e.type,["toRight","toBottom","toLeft","toTop"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){e=e?e[Hd]():"#FFFFFF";var t=this.type.replace(/([RBLT])/," $1").toLowerCase(),r=this.color?this.color[Hd]():"#000000";return"linear-gradient(".concat(t,", ").concat(e,", ").concat(r,")")}}])}(),Tm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"lockDocument"])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){this[UE]=$d(this[UE],["auto","0","1"])}}])}(),qm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"manifest",!0])).action=$d(e.action,["include","all","exclude"]),r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.ref=new Cp,r}return sv(t,fp),rv(t)}(),jm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"margin",!0])).bottomInset=ey(e.bottomInset,"0"),r.id=e.id||"",r.leftInset=ey(e.leftInset,"0"),r.rightInset=ey(e.rightInset,"0"),r.topInset=ey(e.topInset,"0"),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){return{margin:kp(this.topInset)+" "+kp(this.rightInset)+" "+kp(this.bottomInset)+" "+kp(this.leftInset)}}}])}(),Wm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"mdp"])).id=e.id||"",r.permissions=Xd({data:e.permissions,defaultValue:2,validate:function(e){return 1===e||3===e}}),r.signatureType=$d(e.signatureType,["filler","author"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),Zm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"medium"])).id=e.id||"",r.imagingBBox=function(e){var t=-1;if(!e)return{x:t,y:t,width:t,height:t};var r=e.trim().split(/\\s*,\\s*/).map((function(e){return ey(e,"-1")}));if(r.length<4||r[2]<0||r[3]<0)return{x:t,y:t,width:t,height:t};var A=qd(r,4);return{x:A[0],y:A[1],width:A[2],height:A[3]}}(e.imagingBBox),r.long=ey(e.long),r.orientation=$d(e.orientation,["portrait","landscape"]),r.short=ey(e.short),r.stock=e.stock||"",r.trayIn=$d(e.trayIn,["auto","delegate","pageFront"]),r.trayOut=$d(e.trayOut,["auto","delegate"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),_m=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"message",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.text=new Cp,r}return sv(t,fp),rv(t)}(),Xm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"numericEdit",!0])).hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r=Lp(this,"border","font","margin"),A=this[td]()[td](),n={name:"input",attributes:{type:"text",fieldId:A[Yd],dataId:(null===(t=A[ME])||void 0===t?void 0:t[Yd])||A[Yd],class:["xfaTextfield"],style:r,"aria-label":kv(A),"aria-required":!1}};return mv(A)&&(n.attributes["aria-required"]=!0,n.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[n]})}}])}(),Vm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"occur",!0])).id=e.id||"",r.initial=""!==e.initial?Xd({data:e.initial,defaultValue:"",validate:function(e){return!0}}):"",r.max=""!==e.max?Xd({data:e.max,defaultValue:1,validate:function(e){return!0}}):"",r.min=""!==e.min?Xd({data:e.min,defaultValue:1,validate:function(e){return!0}}):"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:xE,value:function(){var e=this[td](),t=this.min;""===this.min&&(this.min=e instanceof tw||e instanceof rw?0:1),""===this.max&&(this.max=""===t?e instanceof tw||e instanceof rw?-1:1:this.min),-1!==this.max&&this.max<this.min&&(this.max=this.min),""===this.initial&&(this.initial=e instanceof bw?1:this.min)}}])}(),zm=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"oid"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),$m=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"oids",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.oid=new Cp,r}return sv(t,fp),rv(t)}(),ew=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"overflow"])).id=e.id||"",r.leader=e.leader||"",r.target=e.target||"",r.trailer=e.trailer||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t,[{key:_E,value:function(){if(!this[HE]){var e=this[td](),t=this[rd](),r=t[Fd](this.target,e),A=t[Fd](this.leader,e),n=t[Fd](this.trailer,e);this[HE]={target:(null==r?void 0:r[0])||null,leader:(null==A?void 0:A[0])||null,trailer:(null==n?void 0:n[0])||null,addLeader:!1,addTrailer:!1}}return this[HE]}}])}(),tw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"pageArea",!0])).blankOrNotBlank=$d(e.blankOrNotBlank,["any","blank","notBlank"]),r.id=e.id||"",r.initialNumber=Xd({data:e.initialNumber,defaultValue:1,validate:function(e){return!0}}),r.name=e.name||"",r.numbered=Xd({data:e.numbered,defaultValue:1,validate:function(e){return!0}}),r.oddOrEven=$d(e.oddOrEven,["any","even","odd"]),r.pagePosition=$d(e.pagePosition,["any","first","last","only","rest"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.desc=null,r.extras=null,r.medium=null,r.occur=null,r.area=new Cp,r.contentArea=new Cp,r.draw=new Cp,r.exclGroup=new Cp,r.field=new Cp,r.subform=new Cp,r}return sv(t,fp),rv(t,[{key:Cd,value:function(){return this[HE]?!this.occur||-1===this.occur.max||this[HE].numberOfUse<this.occur.max:(this[HE]={numberOfUse:0},!0)}},{key:RE,value:function(){delete this[HE]}},{key:$E,value:function(){this[HE]||(this[HE]={numberOfUse:0});var e=this[td]();return"orderedOccurrence"===e.relation&&this[Cd]()?(this[HE].numberOfUse+=1,this):e[$E]()}},{key:TE,value:function(){return this[HE].space||{width:0,height:0}}},{key:Md,value:function(){this[HE]||(this[HE]={numberOfUse:1});var e=[];this[HE].children=e;var t=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(t.width=kp(this.medium.short),t.height=kp(this.medium.long),this[HE].space={width:this.medium.short,height:this.medium.long},"landscape"===this.medium.orientation){var r=t.width;t.width=t.height,t.height=r,this[HE].space={width:this.medium.long,height:this.medium.short}}}else q("XFA - No medium specified in pageArea: please file a bug.");return this[FE]({filter:new Set(["area","draw","field","subform"]),include:!0}),this[FE]({filter:new Set(["contentArea"]),include:!0}),Ay.success({name:"div",children:e,attributes:{class:["xfaPage"],id:this[Yd],style:t,xfaName:this.name}})}}])}(),rw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"pageSet",!0])).duplexImposition=$d(e.duplexImposition,["longEdge","shortEdge"]),r.id=e.id||"",r.name=e.name||"",r.relation=$d(e.relation,["orderedOccurrence","duplexPaginated","simplexPaginated"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.occur=null,r.pageArea=new Cp,r.pageSet=new Cp,r}return sv(t,fp),rv(t,[{key:RE,value:function(){var e,t=lv(this.pageArea.children);try{for(t.s();!(e=t.n()).done;)e.value[RE]()}catch(e){t.e(e)}finally{t.f()}var r,A=lv(this.pageSet.children);try{for(A.s();!(r=A.n()).done;)r.value[RE]()}catch(e){A.e(e)}finally{A.f()}}},{key:Cd,value:function(){return!this.occur||-1===this.occur.max||this[HE].numberOfUse<this.occur.max}},{key:$E,value:function(){if(this[HE]||(this[HE]={numberOfUse:1,pageIndex:-1,pageSetIndex:-1}),"orderedOccurrence"===this.relation){if(this[HE].pageIndex+1<this.pageArea.children.length)return this[HE].pageIndex+=1,this.pageArea.children[this[HE].pageIndex][$E]();if(this[HE].pageSetIndex+1<this.pageSet.children.length)return this[HE].pageSetIndex+=1,this.pageSet.children[this[HE].pageSetIndex][$E]();if(this[Cd]())return this[HE].numberOfUse+=1,this[HE].pageIndex=-1,this[HE].pageSetIndex=-1,this[$E]();var e=this[td]();return e instanceof t?e[$E]():(this[RE](),this[$E]())}var r=this[rd]()[HE].pageNumber,A=r%2==0?"even":"odd",n=0===r?"first":"rest",i=this.pageArea.children.find((function(e){return e.oddOrEven===A&&e.pagePosition===n}));return i||((i=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&e.pagePosition===n})))?i:(i=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&"any"===e.pagePosition})))||this.pageArea.children[0])}}])}(),Aw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"para",!0])).hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.lineHeight=e.lineHeight?ey(e.lineHeight,"0pt"):"",r.marginLeft=e.marginLeft?ey(e.marginLeft,"0pt"):"",r.marginRight=e.marginRight?ey(e.marginRight,"0pt"):"",r.orphans=Xd({data:e.orphans,defaultValue:0,validate:function(e){return e>=0}}),r.preserve=e.preserve||"",r.radixOffset=e.radixOffset?ey(e.radixOffset,"0pt"):"",r.spaceAbove=e.spaceAbove?ey(e.spaceAbove,"0pt"):"",r.spaceBelow=e.spaceBelow?ey(e.spaceBelow,"0pt"):"",r.tabDefault=e.tabDefault?ey(r.tabDefault):"",r.tabStops=(e.tabStops||"").trim().split(/\\s+/).map((function(e,t){return t%2==1?ey(e):e})),r.textIndent=e.textIndent?ey(e.textIndent,"0pt"):"",r.use=e.use||"",r.usehref=e.usehref||"",r.vAlign=$d(e.vAlign,["top","bottom","middle"]),r.widows=Xd({data:e.widows,defaultValue:0,validate:function(e){return e>=0}}),r.hyphenation=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(){var e=Lp(this,"hAlign");return""!==this.marginLeft&&(e.paddingLeft=kp(this.marginLeft)),""!==this.marginRight&&(e.paddingight=kp(this.marginRight)),""!==this.spaceAbove&&(e.paddingTop=kp(this.spaceAbove)),""!==this.spaceBelow&&(e.paddingBottom=kp(this.spaceBelow)),""!==this.textIndent&&(e.textIndent=kp(this.textIndent),Mp(e)),this.lineHeight>0&&(e.lineHeight=kp(this.lineHeight)),""!==this.tabDefault&&(e.tabSize=kp(this.tabDefault)),this.tabStops.length,this.hyphenatation&&Object.assign(e,this.hyphenatation[Hd]()),e}}])}(),nw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"passwordEdit",!0])).hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.passwordChar=e.passwordChar||"*",r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t)}(),iw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"pattern",!0])).id=e.id||"",r.type=$d(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){e=e?e[Hd]():"#FFFFFF";var t=this.color?this.color[Hd]():"#000000",r="repeating-linear-gradient",A="".concat(e,",").concat(e," ").concat(5,"px,").concat(t," ").concat(5,"px,").concat(t," ").concat(10,"px");switch(this.type){case"crossHatch":return"".concat(r,"(to top,").concat(A,") ").concat(r,"(to right,").concat(A,")");case"crossDiagonal":return"".concat(r,"(45deg,").concat(A,") ").concat(r,"(-45deg,").concat(A,")");case"diagonalLeft":return"".concat(r,"(45deg,").concat(A,")");case"diagonalRight":return"".concat(r,"(-45deg,").concat(A,")");case"horizontal":return"".concat(r,"(to top,").concat(A,")");case"vertical":return"".concat(r,"(to right,").concat(A,")")}return""}}])}(),aw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"picture"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),ow=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"proto",!0])).appearanceFilter=new Cp,r.arc=new Cp,r.area=new Cp,r.assist=new Cp,r.barcode=new Cp,r.bindItems=new Cp,r.bookend=new Cp,r.boolean=new Cp,r.border=new Cp,r.break=new Cp,r.breakAfter=new Cp,r.breakBefore=new Cp,r.button=new Cp,r.calculate=new Cp,r.caption=new Cp,r.certificate=new Cp,r.certificates=new Cp,r.checkButton=new Cp,r.choiceList=new Cp,r.color=new Cp,r.comb=new Cp,r.connect=new Cp,r.contentArea=new Cp,r.corner=new Cp,r.date=new Cp,r.dateTime=new Cp,r.dateTimeEdit=new Cp,r.decimal=new Cp,r.defaultUi=new Cp,r.desc=new Cp,r.digestMethod=new Cp,r.digestMethods=new Cp,r.draw=new Cp,r.edge=new Cp,r.encoding=new Cp,r.encodings=new Cp,r.encrypt=new Cp,r.encryptData=new Cp,r.encryption=new Cp,r.encryptionMethod=new Cp,r.encryptionMethods=new Cp,r.event=new Cp,r.exData=new Cp,r.exObject=new Cp,r.exclGroup=new Cp,r.execute=new Cp,r.extras=new Cp,r.field=new Cp,r.fill=new Cp,r.filter=new Cp,r.float=new Cp,r.font=new Cp,r.format=new Cp,r.handler=new Cp,r.hyphenation=new Cp,r.image=new Cp,r.imageEdit=new Cp,r.integer=new Cp,r.issuers=new Cp,r.items=new Cp,r.keep=new Cp,r.keyUsage=new Cp,r.line=new Cp,r.linear=new Cp,r.lockDocument=new Cp,r.manifest=new Cp,r.margin=new Cp,r.mdp=new Cp,r.medium=new Cp,r.message=new Cp,r.numericEdit=new Cp,r.occur=new Cp,r.oid=new Cp,r.oids=new Cp,r.overflow=new Cp,r.pageArea=new Cp,r.pageSet=new Cp,r.para=new Cp,r.passwordEdit=new Cp,r.pattern=new Cp,r.picture=new Cp,r.radial=new Cp,r.reason=new Cp,r.reasons=new Cp,r.rectangle=new Cp,r.ref=new Cp,r.script=new Cp,r.setProperty=new Cp,r.signData=new Cp,r.signature=new Cp,r.signing=new Cp,r.solid=new Cp,r.speak=new Cp,r.stipple=new Cp,r.subform=new Cp,r.subformSet=new Cp,r.subjectDN=new Cp,r.subjectDNs=new Cp,r.submit=new Cp,r.text=new Cp,r.textEdit=new Cp,r.time=new Cp,r.timeStamp=new Cp,r.toolTip=new Cp,r.traversal=new Cp,r.traverse=new Cp,r.ui=new Cp,r.validate=new Cp,r.value=new Cp,r.variables=new Cp,r}return sv(t,fp),rv(t)}(),sw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"radial",!0])).id=e.id||"",r.type=$d(e.type,["toEdge","toCenter"]),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){e=e?e[Hd]():"#FFFFFF";var t=this.color?this.color[Hd]():"#000000",r="toEdge"===this.type?"".concat(e,",").concat(t):"".concat(t,",").concat(e);return"radial-gradient(circle at center, ".concat(r,")")}}])}(),cw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"reason"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),gw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"reasons",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.reason=new Cp,r}return sv(t,fp),rv(t)}(),uw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"rectangle",!0])).hand=$d(e.hand,["even","left","right"]),r.id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.corner=new Cp(4),r.edge=new Cp(4),r.fill=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(){var e,t=this.edge.children.length?this.edge.children[0]:new hm({}),r=t[Hd](),A=Object.create(null);"visible"===(null===(e=this.fill)||void 0===e?void 0:e.presence)?Object.assign(A,this.fill[Hd]()):A.fill="transparent",A.strokeWidth=kp("visible"===t.presence?t.thickness:0),A.stroke=r.color;var n=(this.corner.children.length?this.corner.children[0]:new Am({}))[Hd](),i={name:"svg",children:[{name:"rect",attributes:{xmlns:Cv,width:"100%",height:"100%",x:0,y:0,rx:n.radius,ry:n.radius,style:A}}],attributes:{xmlns:Cv,style:{overflow:"visible"},width:"100%",height:"100%"}};return yv(this[td]()[td]())?Ay.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[i]}):(i.attributes.style.position="absolute",Ay.success(i))}}])}(),lw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"ref"])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),hw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"script"])).binding=e.binding||"",r.contentType=e.contentType||"",r.id=e.id||"",r.name=e.name||"",r.runAt=$d(e.runAt,["client","both","server"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Iw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"setProperty"])).connection=e.connection||"",r.ref=e.ref||"",r.target=e.target||"",r}return sv(t,fp),rv(t)}(),fw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"signData",!0])).id=e.id||"",r.operation=$d(e.operation,["sign","clear","verify"]),r.ref=e.ref||"",r.target=e.target||"",r.use=e.use||"",r.usehref=e.usehref||"",r.filter=null,r.manifest=null,r}return sv(t,fp),rv(t)}(),Cw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"signature",!0])).id=e.id||"",r.type=$d(e.type,["PDF1.3","PDF1.6"]),r.use=e.use||"",r.usehref=e.usehref||"",r.border=null,r.extras=null,r.filter=null,r.manifest=null,r.margin=null,r}return sv(t,fp),rv(t)}(),Bw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"signing",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.certificate=new Cp,r}return sv(t,fp),rv(t)}(),Qw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"solid",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){return e?e[Hd]():"#FFFFFF"}}])}(),Ew=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"speak"])).disable=Xd({data:e.disable,defaultValue:0,validate:function(e){return 1===e}}),r.id=e.id||"",r.priority=$d(e.priority,["custom","caption","name","toolTip"]),r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),dw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"stipple",!0])).id=e.id||"",r.rate=Xd({data:e.rate,defaultValue:50,validate:function(e){return e>=0&&e<=100}}),r.use=e.use||"",r.usehref=e.usehref||"",r.color=null,r.extras=null,r}return sv(t,fp),rv(t,[{key:Hd,value:function(e){var t=this.rate/100;return ge.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}}])}(),yw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subform",!0])).access=$d(e.access,["open","nonInteractive","protected","readOnly"]),r.allowMacro=Xd({data:e.allowMacro,defaultValue:0,validate:function(e){return 1===e}}),r.anchorType=$d(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),r.colSpan=Xd({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),r.columnWidths=(e.columnWidths||"").trim().split(/\\s+/).map((function(e){return"-1"===e?-1:ey(e)})),r.h=e.h?ey(e.h):"",r.hAlign=$d(e.hAlign,["left","center","justify","justifyAll","radix","right"]),r.id=e.id||"",r.layout=$d(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),r.locale=e.locale||"",r.maxH=ey(e.maxH,"0pt"),r.maxW=ey(e.maxW,"0pt"),r.mergeMode=$d(e.mergeMode,["consumeData","matchTemplate"]),r.minH=ey(e.minH,"0pt"),r.minW=ey(e.minW,"0pt"),r.name=e.name||"",r.presence=$d(e.presence,["visible","hidden","inactive","invisible"]),r.relevant=ry(e.relevant),r.restoreState=$d(e.restoreState,["manual","auto"]),r.scope=$d(e.scope,["name","none"]),r.use=e.use||"",r.usehref=e.usehref||"",r.w=e.w?ey(e.w):"",r.x=ey(e.x,"0pt"),r.y=ey(e.y,"0pt"),r.assist=null,r.bind=null,r.bookend=null,r.border=null,r.break=null,r.calculate=null,r.desc=null,r.extras=null,r.keep=null,r.margin=null,r.occur=null,r.overflow=null,r.pageSet=null,r.para=null,r.traversal=null,r.validate=null,r.variables=null,r.area=new Cp,r.breakAfter=new Cp,r.breakBefore=new Cp,r.connect=new Cp,r.draw=new Cp,r.event=new Cp,r.exObject=new Cp,r.exclGroup=new Cp,r.field=new Cp,r.proto=new Cp,r.setProperty=new Cp,r.subform=new Cp,r.subformSet=new Cp,r}return sv(t,fp),rv(t,[{key:ed,value:function(){var e=this[td]();return e instanceof pw?e[ed]():e}},{key:cd,value:function(){return!0}},{key:Id,value:function(){return this.layout.endsWith("-tb")&&0===this[HE].attempt&&this[HE].numberInLine>0||this[td]()[Id]()}},{key:zE,value:gv().mark((function e(){return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(vv(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:PE,value:function(){return Zp(this)}},{key:DE,value:function(e,t){_p(this,e,t)}},{key:TE,value:function(){return Xp(this)}},{key:hd,value:function(){var e,t=this[ed]();return!!t[hd]()&&(void 0!==this[HE]._isSplittable?this[HE]._isSplittable:"position"===this.layout||this.layout.includes("row")||this.keep&&"none"!==this.keep.intact?(this[HE]._isSplittable=!1,!1):!(null!==(e=t.layout)&&void 0!==e&&e.endsWith("-tb")&&0!==t[HE].numberInLine||(this[HE]._isSplittable=!0,0)))}},{key:Md,value:function(e){var t;if(wv(this),this.break){if("auto"!==this.break.after||""!==this.break.afterTarget){var r=new Tv({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});r[Ad]=this[Ad],this[SE](r),this.breakAfter.push(r)}if("auto"!==this.break.before||""!==this.break.beforeTarget){var A=new qv({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});A[Ad]=this[Ad],this[SE](A),this.breakBefore.push(A)}if(""!==this.break.overflowTarget){var n=new ew({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});n[Ad]=this[Ad],this[SE](n),this.overflow.push(n)}this[kd](this.break),this.break=null}if("hidden"===this.presence||"inactive"===this.presence)return Ay.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&q("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){var i=this.breakBefore.children[0];if(xv(i))return Ay.breakNode(i)}if(null!==(t=this[HE])&&void 0!==t&&t.afterBreakAfter)return Ay.EMPTY;Gp(this);var a=[],o={id:this[Yd],class:[]};Jp(this,o.class),this[HE]||(this[HE]=Object.create(null)),Object.assign(this[HE],{children:a,line:null,attributes:o,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,e.width),height:Math.min(this.h||1/0,e.height)},width:0,height:0,prevHeight:0,currentWidth:0});var s=this[rd](),c=s[HE].noLayoutFailure,g=this[hd]();if(g||Sv(this),!Vp(this,e))return Ay.FAILURE;var u=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){var l=this[ed]().columnWidths;Array.isArray(l)&&l.length>0&&(this[HE].columnWidths=l,this[HE].currentColumn=0)}var h=Lp(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),I=["xfaSubform"],f=Np(this);if(f&&I.push(f),o.style=h,o.class=I,this.name&&(o.xfaName=this.name),this.overflow){var C=this.overflow[_E]();C.addLeader&&(C.addLeader=!1,Rv(this,C.leader,e))}this[bd]();for(var B="lr-tb"===this.layout||"rl-tb"===this.layout,Q=B?2:1;this[HE].attempt<Q;this[HE].attempt++){B&&1===this[HE].attempt&&(this[HE].numberInLine=0);var E=this[FE]({filter:u,include:!0});if(E.success)break;if(E.isBreak())return this[wd](),E;if(B&&0===this[HE].attempt&&0===this[HE].numberInLine&&!s[HE].noLayoutFailure){this[HE].attempt=Q;break}}if(this[wd](),g||Fv(this),s[HE].noLayoutFailure=c,this[HE].attempt===Q)return this.overflow&&(this[rd]()[HE].overflowNode=this.overflow),g||delete this[HE],Ay.FAILURE;if(this.overflow){var d=this.overflow[_E]();d.addTrailer&&(d.addTrailer=!1,Rv(this,d.trailer,e))}var y=0,p=0;this.margin&&(y=this.margin.leftInset+this.margin.rightInset,p=this.margin.topInset+this.margin.bottomInset);var v=Math.max(this[HE].width+y,this.w||0),m=Math.max(this[HE].height+p,this.h||0),w=[this.x,this.y,v,m];if(""===this.w&&(h.width=kp(v)),""===this.h&&(h.height=kp(m)),("0px"===h.width||"0px"===h.height)&&0===a.length)return Ay.EMPTY;var b={name:"div",attributes:o,children:a};bv(this,o);var k=Ay.success(Up(this,b),w);if(this.breakAfter.children.length>=1){var D=this.breakAfter.children[0];if(xv(D))return this[HE].afterBreakAfter=k,Ay.breakNode(D)}return delete this[HE],k}}])}(),pw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subformSet",!0])).id=e.id||"",r.name=e.name||"",r.relation=$d(e.relation,["ordered","choice","unordered"]),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.bookend=null,r.break=null,r.desc=null,r.extras=null,r.occur=null,r.overflow=null,r.breakAfter=new Cp,r.breakBefore=new Cp,r.subform=new Cp,r.subformSet=new Cp,r}return sv(t,fp),rv(t,[{key:zE,value:gv().mark((function e(){return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(vv(this),"t0",1);case 1:case"end":return e.stop()}}),e,this)}))},{key:ed,value:function(){for(var e=this[td]();!(e instanceof yw);)e=e[td]();return e}},{key:cd,value:function(){return!0}}])}(),vw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subjectDN"])).delimiter=e.delimiter||",",r.id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:YE,value:function(){this[UE]=new Map(this[UE].split(this.delimiter).map((function(e){return(e=e.split("=",2))[0]=e[0].trim(),e})))}}])}(),mw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"subjectDNs",!0])).id=e.id||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r.subjectDN=new Cp,r}return sv(t,fp),rv(t)}(),ww=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"submit",!0])).embedPDF=Xd({data:e.embedPDF,defaultValue:0,validate:function(e){return 1===e}}),r.format=$d(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),r.id=e.id||"",r.target=e.target||"",r.textEncoding=zd({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-\\d{2}/)}}),r.use=e.use||"",r.usehref=e.usehref||"",r.xdpContent=e.xdpContent||"",r.encrypt=null,r.encryptData=new Cp,r.signData=new Cp,r}return sv(t,fp),rv(t)}(),bw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"template",!0])).baseProfile=$d(e.baseProfile,["full","interactiveForms"]),r.extras=null,r.subform=new Cp,r}return sv(t,fp),rv(t,[{key:YE,value:function(){0===this.subform.children.length&&q("XFA - No subforms in template node."),this.subform.children.length>=2&&q("XFA - Several subforms in template node: please file a bug."),this[Nd]=5e3}},{key:hd,value:function(){return!0}},{key:Fd,value:function(e,t){return e.startsWith("#")?[this[id].get(e.slice(1))]:Ry(this,t,e,!0,!0)}},{key:Ud,value:gv().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E=this;return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.subform.children.length){e.next=2;break}return e.abrupt("return",Ay.success({name:"div",children:[]}));case 2:this[HE]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]},(A=this.subform.children[0]).pageSet[RE](),n=A.pageSet.pageArea.children,i={name:"div",children:[]},a=null,o=null,s=null,A.breakBefore.children.length>=1?(o=A.breakBefore.children[0],s=o.target):A.subform.children.length>=1&&A.subform.children[0].breakBefore.children.length>=1?(o=A.subform.children[0].breakBefore.children[0],s=o.target):null!==(t=A.break)&&void 0!==t&&t.beforeTarget?(o=A.break,s=o.beforeTarget):A.subform.children.length>=1&&null!==(r=A.subform.children[0].break)&&void 0!==r&&r.beforeTarget&&(o=A.subform.children[0].break,s=o.beforeTarget),o&&(c=this[Fd](s,o[td]()))instanceof tw&&(a=c,o[HE]={}),a||(a=n[0]),a[HE]={numberOfUse:1},(g=a[td]())[HE]={numberOfUse:1,pageIndex:g.pageArea.children.indexOf(a),pageSetIndex:0},l=null,h=null,I=!0,f=0,C=0,B=gv().mark((function e(){var t,r,n,o,s,c,g,B,Q,d,y,p,v,m,w,b;return gv().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(I){e.next=7;break}if(i.children.pop(),3!=++f){e.next=5;break}return q("XFA - Something goes wrong: please file a bug."),e.abrupt("return",{v:i});case 5:e.next=8;break;case 7:f=0;case 8:u=null,E[HE].currentPageArea=a,t=a[Md]().html,i.children.push(t),l&&(E[HE].noLayoutFailure=!0,t.children.push(l[Md](a[HE].space).html),l=null),h&&(E[HE].noLayoutFailure=!0,t.children.push(h[Md](a[HE].space).html),h=null),r=a.contentArea.children,n=t.children.filter((function(e){return e.attributes.class.includes("xfaContentarea")})),I=!1,E[HE].firstUnsplittable=null,E[HE].noLayoutFailure=!1,o=function(e){var t,r=A[PE]();r&&(I||(I=(null===(t=r.children)||void 0===t?void 0:t.length)>0),n[e].children.push(r))},s=C,c=r.length;case 21:if(!(s<c)){e.next=56;break}if(g=E[HE].currentContentArea=r[s],B={width:g.w,height:g.h},C=0,l&&(n[s].children.push(l[Md](B).html),l=null),h&&(n[s].children.push(h[Md](B).html),h=null),!(Q=A[Md](B)).success){e.next=31;break}return Q.html?(I||(I=(null===(d=Q.html.children)||void 0===d?void 0:d.length)>0),n[s].children.push(Q.html)):!I&&i.children.length>1&&i.children.pop(),e.abrupt("return",{v:i});case 31:if(!Q.isBreak()){e.next=40;break}if(y=Q.breakNode,o(s),"auto"!==y.targetType){e.next=36;break}return e.abrupt("continue",53);case 36:return y.leader&&(l=(l=E[Fd](y.leader,y[td]()))?l[0]:null),y.trailer&&(h=(h=E[Fd](y.trailer,y[td]()))?h[0]:null),"pageArea"===y.targetType?(u=y[HE].target,s=1/0):y[HE].target?(u=y[HE].target,C=y[HE].index+1,s=1/0):s=y[HE].index,e.abrupt("continue",53);case 40:if(!E[HE].overflowNode){e.next=52;break}return p=E[HE].overflowNode,E[HE].overflowNode=null,v=p[_E](),m=v.target,v.addLeader=null!==v.leader,v.addTrailer=null!==v.trailer,o(s),w=s,s=1/0,m instanceof tw?u=m:m instanceof rm&&(-1!==(b=r.indexOf(m))?b>w?s=b-1:C=b:(u=m[td](),C=u.contentArea.children.indexOf(m))),e.abrupt("continue",53);case 52:o(s);case 53:s++,e.next=21;break;case 56:return E[HE].pageNumber+=1,u&&(u[Cd]()?u[HE].numberOfUse+=1:u=null),a=u||a[$E](),e.next=61,null;case 61:case"end":return e.stop()}}),e)}));case 22:return e.delegateYield(B(),"t0",24);case 24:if(!(Q=e.t0)){e.next=27;break}return e.abrupt("return",Q.v);case 27:e.next=22;break;case 29:case"end":return e.stop()}}),e,this)}))}])}(),kw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"text"])).id=e.id||"",r.maxChars=Xd({data:e.maxChars,defaultValue:0,validate:function(e){return e>=0}}),r.name=e.name||"",r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,Ep),rv(t,[{key:kE,value:function(){return!0}},{key:yd,value:function(e){return e[Qd]===Od.xhtml.id?(this[UE]=e,!0):(q("XFA - Invalid content in Text: ".concat(e[Ed],".")),!1)}},{key:vd,value:function(e){this[UE]instanceof fp||zp(t,vd,this,3)([e])}},{key:YE,value:function(){"string"==typeof this[UE]&&(this[UE]=this[UE].replaceAll("\\r\\n","\\n"))}},{key:_E,value:function(){return"string"==typeof this[UE]?this[UE].split(/[\\u2029\\u2028\\n]/).reduce((function(e,t){return t&&e.push(t),e}),[]).join("\\n"):this[UE][Ld]()}},{key:Md,value:function(e){if("string"==typeof this[UE]){var t=Dv(this[UE]).html;return this[UE].includes("\\u2029")?(t.name="div",t.children=[],this[UE].split("\\u2029").map((function(e){return e.split(/[\\u2028\\n]/).reduce((function(e,t){return e.push({name:"span",value:t},{name:"br"}),e}),[])})).forEach((function(e){t.children.push({name:"p",children:e})}))):/[\\u2028\\n]/.test(this[UE])&&(t.name="div",t.children=[],this[UE].split(/[\\u2028\\n]/).forEach((function(e){t.children.push({name:"span",value:e},{name:"br"})}))),Ay.success(t)}return this[UE][Md](e)}}])}(),Dw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"textEdit",!0])).allowRichText=Xd({data:e.allowRichText,defaultValue:0,validate:function(e){return 1===e}}),r.hScrollPolicy=$d(e.hScrollPolicy,["auto","off","on"]),r.id=e.id||"",r.multiLine=Xd({data:e.multiLine,defaultValue:"",validate:function(e){return 0===e||1===e}}),r.use=e.use||"",r.usehref=e.usehref||"",r.vScrollPolicy=$d(e.vScrollPolicy,["auto","off","on"]),r.border=null,r.comb=null,r.extras=null,r.margin=null,r}return sv(t,fp),rv(t,[{key:Md,value:function(e){var t,r,A,n=Lp(this,"border","font","margin"),i=this[td]()[td]();return""===this.multiLine&&(this.multiLine=i instanceof lm?1:0),t=1===this.multiLine?{name:"textarea",attributes:{dataId:(null===(r=i[ME])||void 0===r?void 0:r[Yd])||i[Yd],fieldId:i[Yd],class:["xfaTextfield"],style:n,"aria-label":kv(i),"aria-required":!1}}:{name:"input",attributes:{type:"text",dataId:(null===(A=i[ME])||void 0===A?void 0:A[Yd])||i[Yd],fieldId:i[Yd],class:["xfaTextfield"],style:n,"aria-label":kv(i),"aria-required":!1}},mv(i)&&(t.attributes["aria-required"]=!0,t.attributes.required=!0),Ay.success({name:"label",attributes:{class:["xfaLabel"]},children:[t]})}}])}(),Sw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"time"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t,[{key:YE,value:function(){var e=this[UE].trim();this[UE]=e?new Date(e):null}},{key:Md,value:function(e){return Dv(this[UE]?this[UE].toString():"")}}])}(),Fw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"timeStamp"])).id=e.id||"",r.server=e.server||"",r.type=$d(e.type,["optional","required"]),r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,fp),rv(t)}(),xw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"toolTip"])).id=e.id||"",r.rid=e.rid||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return sv(t,yp),rv(t)}(),Rw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"traversal",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.traverse=new Cp,r}return sv(t,fp),rv(t)}(),Gw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"traverse",!0])).id=e.id||"",r.operation=$d(e.operation,["next","back","down","first","left","right","up"]),r.ref=e.ref||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.script=null,r}return sv(t,fp),rv(t,[{key:"name",get:function(){return this.operation}},{key:fd,value:function(){return!1}}])}(),Nw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"ui",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.picture=null,r.barcode=null,r.button=null,r.checkButton=null,r.choiceList=null,r.dateTimeEdit=null,r.defaultUi=null,r.imageEdit=null,r.numericEdit=null,r.passwordEdit=null,r.signature=null,r.textEdit=null,r}return sv(t,fp),rv(t,[{key:_E,value:function(){if(void 0===this[HE]){var e,t=lv(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("extras"!==r&&"picture"!==r){var A=this[r];if(A instanceof fp)return this[HE]=A,A}}}catch(e){t.e(e)}finally{t.f()}this[HE]=null}return this[HE]}},{key:Md,value:function(e){var t=this[_E]();return t?t[Md](e):Ay.EMPTY}}])}(),Lw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"validate",!0])).formatTest=$d(e.formatTest,["warning","disabled","error"]),r.id=e.id||"",r.nullTest=$d(e.nullTest,["disabled","error","warning"]),r.scriptTest=$d(e.scriptTest,["error","disabled","warning"]),r.use=e.use||"",r.usehref=e.usehref||"",r.extras=null,r.message=null,r.picture=null,r.script=null,r}return sv(t,fp),rv(t)}(),Uw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"value",!0])).id=e.id||"",r.override=Xd({data:e.override,defaultValue:0,validate:function(e){return 1===e}}),r.relevant=ry(e.relevant),r.use=e.use||"",r.usehref=e.usehref||"",r.arc=null,r.boolean=null,r.date=null,r.dateTime=null,r.decimal=null,r.exData=null,r.float=null,r.image=null,r.integer=null,r.line=null,r.rectangle=null,r.text=null,r.time=null,r}return sv(t,fp),rv(t,[{key:Gd,value:function(e){var t,r=this[td]();if(r instanceof km&&null!==(t=r.ui)&&void 0!==t&&t.imageEdit)return this.image||(this.image=new Lm({}),this[SE](this.image)),void(this.image[UE]=e[UE]);var A=e[Ed];if(null===this[A]){var n,i=lv(Object.getOwnPropertyNames(this));try{for(i.s();!(n=i.n()).done;){var a=n.value,o=this[a];o instanceof fp&&(this[a]=null,this[kd](o))}}catch(e){i.e(e)}finally{i.f()}this[e[Ed]]=e,this[SE](e)}else this[A][UE]=e[UE]}},{key:Ld,value:function(){if(this.exData)return"string"==typeof this.exData[UE]?this.exData[UE].trim():this.exData[UE][Ld]().trim();var e,t=lv(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("image"!==r){var A=this[r];if(A instanceof fp)return(A[UE]||"").toString().trim()}}}catch(e){t.e(e)}finally{t.f()}return null}},{key:Md,value:function(e){var t,r=lv(Object.getOwnPropertyNames(this));try{for(r.s();!(t=r.n()).done;){var A=this[t.value];if(A instanceof fp)return A[Md](e)}}catch(e){r.e(e)}finally{r.f()}return Ay.EMPTY}}])}(),Mw=function(e){function t(e){var r;return nv(this,t),(r=iv(this,t,[fv,"variables",!0])).id=e.id||"",r.use=e.use||"",r.usehref=e.usehref||"",r.boolean=new Cp,r.date=new Cp,r.dateTime=new Cp,r.decimal=new Cp,r.exData=new Cp,r.float=new Cp,r.image=new Cp,r.integer=new Cp,r.manifest=new Cp,r.script=new Cp,r.text=new Cp,r.time=new Cp,r}return sv(t,fp),rv(t,[{key:fd,value:function(){return!0}}])}(),Jw=function(){function e(){nv(this,e)}return rv(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t)){var A=e[t](r);return A[Rd](r),A}}},{key:"appearanceFilter",value:function(e){return new Gv(e)}},{key:"arc",value:function(e){return new Nv(e)}},{key:"area",value:function(e){return new Lv(e)}},{key:"assist",value:function(e){return new Uv(e)}},{key:"barcode",value:function(e){return new Mv(e)}},{key:"bind",value:function(e){return new Jv(e)}},{key:"bindItems",value:function(e){return new Hv(e)}},{key:"bookend",value:function(e){return new Yv(e)}},{key:"boolean",value:function(e){return new Pv(e)}},{key:"border",value:function(e){return new Ov(e)}},{key:"break",value:function(e){return new Kv(e)}},{key:"breakAfter",value:function(e){return new Tv(e)}},{key:"breakBefore",value:function(e){return new qv(e)}},{key:"button",value:function(e){return new jv(e)}},{key:"calculate",value:function(e){return new Wv(e)}},{key:"caption",value:function(e){return new Zv(e)}},{key:"certificate",value:function(e){return new _v(e)}},{key:"certificates",value:function(e){return new Xv(e)}},{key:"checkButton",value:function(e){return new Vv(e)}},{key:"choiceList",value:function(e){return new zv(e)}},{key:"color",value:function(e){return new $v(e)}},{key:"comb",value:function(e){return new em(e)}},{key:"connect",value:function(e){return new tm(e)}},{key:"contentArea",value:function(e){return new rm(e)}},{key:"corner",value:function(e){return new Am(e)}},{key:"date",value:function(e){return new nm(e)}},{key:"dateTime",value:function(e){return new im(e)}},{key:"dateTimeEdit",value:function(e){return new am(e)}},{key:"decimal",value:function(e){return new om(e)}},{key:"defaultUi",value:function(e){return new sm(e)}},{key:"desc",value:function(e){return new cm(e)}},{key:"digestMethod",value:function(e){return new gm(e)}},{key:"digestMethods",value:function(e){return new um(e)}},{key:"draw",value:function(e){return new lm(e)}},{key:"edge",value:function(e){return new hm(e)}},{key:"encoding",value:function(e){return new Im(e)}},{key:"encodings",value:function(e){return new fm(e)}},{key:"encrypt",value:function(e){return new Cm(e)}},{key:"encryptData",value:function(e){return new Bm(e)}},{key:"encryption",value:function(e){return new Qm(e)}},{key:"encryptionMethod",value:function(e){return new Em(e)}},{key:"encryptionMethods",value:function(e){return new dm(e)}},{key:"event",value:function(e){return new ym(e)}},{key:"exData",value:function(e){return new pm(e)}},{key:"exObject",value:function(e){return new vm(e)}},{key:"exclGroup",value:function(e){return new mm(e)}},{key:"execute",value:function(e){return new wm(e)}},{key:"extras",value:function(e){return new bm(e)}},{key:"field",value:function(e){return new km(e)}},{key:"fill",value:function(e){return new Dm(e)}},{key:"filter",value:function(e){return new Sm(e)}},{key:"float",value:function(e){return new Fm(e)}},{key:"font",value:function(e){return new xm(e)}},{key:"format",value:function(e){return new Rm(e)}},{key:"handler",value:function(e){return new Gm(e)}},{key:"hyphenation",value:function(e){return new Nm(e)}},{key:"image",value:function(e){return new Lm(e)}},{key:"imageEdit",value:function(e){return new Um(e)}},{key:"integer",value:function(e){return new Mm(e)}},{key:"issuers",value:function(e){return new Jm(e)}},{key:"items",value:function(e){return new Hm(e)}},{key:"keep",value:function(e){return new Ym(e)}},{key:"keyUsage",value:function(e){return new Pm(e)}},{key:"line",value:function(e){return new Om(e)}},{key:"linear",value:function(e){return new Km(e)}},{key:"lockDocument",value:function(e){return new Tm(e)}},{key:"manifest",value:function(e){return new qm(e)}},{key:"margin",value:function(e){return new jm(e)}},{key:"mdp",value:function(e){return new Wm(e)}},{key:"medium",value:function(e){return new Zm(e)}},{key:"message",value:function(e){return new _m(e)}},{key:"numericEdit",value:function(e){return new Xm(e)}},{key:"occur",value:function(e){return new Vm(e)}},{key:"oid",value:function(e){return new zm(e)}},{key:"oids",value:function(e){return new $m(e)}},{key:"overflow",value:function(e){return new ew(e)}},{key:"pageArea",value:function(e){return new tw(e)}},{key:"pageSet",value:function(e){return new rw(e)}},{key:"para",value:function(e){return new Aw(e)}},{key:"passwordEdit",value:function(e){return new nw(e)}},{key:"pattern",value:function(e){return new iw(e)}},{key:"picture",value:function(e){return new aw(e)}},{key:"proto",value:function(e){return new ow(e)}},{key:"radial",value:function(e){return new sw(e)}},{key:"reason",value:function(e){return new cw(e)}},{key:"reasons",value:function(e){return new gw(e)}},{key:"rectangle",value:function(e){return new uw(e)}},{key:"ref",value:function(e){return new lw(e)}},{key:"script",value:function(e){return new hw(e)}},{key:"setProperty",value:function(e){return new Iw(e)}},{key:"signData",value:function(e){return new fw(e)}},{key:"signature",value:function(e){return new Cw(e)}},{key:"signing",value:function(e){return new Bw(e)}},{key:"solid",value:function(e){return new Qw(e)}},{key:"speak",value:function(e){return new Ew(e)}},{key:"stipple",value:function(e){return new dw(e)}},{key:"subform",value:function(e){return new yw(e)}},{key:"subformSet",value:function(e){return new pw(e)}},{key:"subjectDN",value:function(e){return new vw(e)}},{key:"subjectDNs",value:function(e){return new mw(e)}},{key:"submit",value:function(e){return new ww(e)}},{key:"template",value:function(e){return new bw(e)}},{key:"text",value:function(e){return new kw(e)}},{key:"textEdit",value:function(e){return new Dw(e)}},{key:"time",value:function(e){return new Sw(e)}},{key:"timeStamp",value:function(e){return new Fw(e)}},{key:"toolTip",value:function(e){return new xw(e)}},{key:"traversal",value:function(e){return new Rw(e)}},{key:"traverse",value:function(e){return new Gw(e)}},{key:"ui",value:function(e){return new Nw(e)}},{key:"validate",value:function(e){return new Lw(e)}},{key:"value",value:function(e){return new Uw(e)}},{key:"variables",value:function(e){return new Mw(e)}}])}();function Hw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Pw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yw(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Pw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function Pw(e,t){if(e){if("string"==typeof e)return Ow(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ow(e,t):void 0}}function Ow(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Kw(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Tw(A.key),A)}}function Tw(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var qw=Od.datasets.id;function jw(e){var t=new kw({});return t[UE]=e,t}var Ww=function(){return function(e,t,r){return t&&Kw(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.root=t,this.datasets=t.datasets,this.data=(null===(r=t.datasets)||void 0===r?void 0:r.data)||new Qp(Od.datasets.id,"data"),this.emptyMerge=0===this.data[VE]().length,this.root.form=this.form=t.template[NE]()}),[{key:"_isConsumeData",value:function(){return!this.emptyMerge&&this._mergeMode}},{key:"_isMatchTemplate",value:function(){return!this._isConsumeData()}},{key:"bind",value:function(){return this._bindElement(this.form,this.data),this.form}},{key:"getData",value:function(){return this.data}},{key:"_bindValue",value:function(e,t,r){var A;if(e[ME]=t,e[nd]())if(t[gd]()){var n=t[ZE]();e[Gd](jw(n))}else if(e instanceof km&&"multiSelect"===(null===(A=e.ui)||void 0===A||null===(A=A.choiceList)||void 0===A?void 0:A.open)){var i=t[VE]().map((function(e){return e[UE].trim()})).join("\\n");e[Gd](jw(i))}else this._isConsumeData()&&q("XFA - Nodes haven't the same type.");else!t[gd]()||this._isMatchTemplate()?this._bindElement(e,t):q("XFA - Nodes haven't the same type.")}},{key:"_findDataByNameToConsume",value:function(e,t,r,A){var n,i,a;if(!e)return null;for(var o=0;o<3;o++){for(i=r[XE](e,!1,!0);a=i.next().value;)if(t===a[gd]())return a;if(r[Qd]===Od.datasets.id&&"data"===r[Ed])break;r=r[td]()}return A&&((a=(i=this.data[XE](e,!0,!1)).next().value)||null!==(n=a=(i=this.data[OE](e,!0)).next().value)&&void 0!==n&&n[gd]())?a:null}},{key:"_setProperties",value:function(e,t){if(e.hasOwnProperty("setProperty")){var r,A=Yw(e.setProperty.children);try{for(A.s();!(r=A.n()).done;){var n=r.value,i=n.ref,a=n.target;if(!n.connection&&i){var o=Ry(this.root,t,i,!1,!1);if(o){var s=Hw(o,1)[0];if(s[ud](this.data)){var c=Ry(this.root,e,a,!1,!1);if(c){var g=Hw(c,1)[0];if(g[ud](e)){var u=g[td]();if(g instanceof Iw||u instanceof Iw)q("XFA - Invalid target: cannot be a setProperty or one of its properties.");else if(g instanceof Hv||u instanceof Hv)q("XFA - Invalid target: cannot be a bindItems or one of its properties.");else{var l=s[Ld](),h=g[Ed];if(g instanceof Bp){var I=Object.create(null);I[h]=l;var f=Reflect.construct(Object.getPrototypeOf(u).constructor,[I]);u[h]=f[h]}else g.hasOwnProperty(UE)?(g[ME]=s,g[UE]=l,g[YE]()):q("XFA - Invalid node to use in setProperty")}}else q("XFA - Invalid target: must be a property or subproperty.")}else q("XFA - Invalid target: ".concat(a,"."))}else q("XFA - Invalid node: must be a data node.")}else q("XFA - Invalid reference: ".concat(i,"."))}}}catch(e){A.e(e)}finally{A.f()}}}},{key:"_bindItems",value:function(e,t){if(e.hasOwnProperty("items")&&e.hasOwnProperty("bindItems")&&!e.bindItems.isEmpty()){var r,A=Yw(e.items.children);try{for(A.s();!(r=A.n()).done;){var n=r.value;e[kd](n)}}catch(e){A.e(e)}finally{A.f()}e.items.clear();var i=new Hm({}),a=new Hm({});e[SE](i),e.items.push(i),e[SE](a),e.items.push(a);var o,s=Yw(e.bindItems.children);try{for(s.s();!(o=s.n()).done;){var c=o.value,g=c.ref,u=c.labelRef,l=c.valueRef;if(!c.connection&&g){var h=Ry(this.root,t,g,!1,!1);if(h){var I,f=Yw(h);try{for(f.s();!(I=f.n()).done;){var C=I.value;if(C[ud](this.datasets)){var B=Ry(this.root,C,u,!0,!1);if(B){var Q=Hw(B,1)[0];if(Q[ud](this.datasets)){var E=Ry(this.root,C,l,!0,!1);if(E){var d=Hw(E,1)[0];if(d[ud](this.datasets)){var y=jw(Q[Ld]()),p=jw(d[Ld]());i[SE](y),i.text.push(y),a[SE](p),a.text.push(p)}else q("XFA - Invalid value: must be a datasets child.")}else q("XFA - Invalid value: ".concat(l,"."))}else q("XFA - Invalid label: must be a datasets child.")}else q("XFA - Invalid label: ".concat(u,"."))}else q("XFA - Invalid ref (".concat(g,"): must be a datasets child."))}}catch(e){f.e(e)}finally{f.f()}}else q("XFA - Invalid reference: ".concat(g,"."))}}}catch(e){s.e(e)}finally{s.f()}}}},{key:"_bindOccurrences",value:function(e,t,r){var A;if(t.length>1&&((A=e[NE]())[kd](A.occur),A.occur=null),this._bindValue(e,t[0],r),this._setProperties(e,t[0]),this._bindItems(e,t[0]),1!==t.length)for(var n=e[td](),i=e[Ed],a=n[ad](e),o=1,s=t.length;o<s;o++){var c=t[o],g=A[NE]();n[i].push(g),n[od](a+o,g),this._bindValue(g,c,r),this._setProperties(g,c),this._bindItems(g,c)}}},{key:"_createOccurrences",value:function(e){if(this.emptyMerge){var t=e.occur;if(t&&!(t.initial<=1)){var r=e[td](),A=e[Ed];if(r[A]instanceof Cp){var n;n=e.name?r[A].children.filter((function(t){return t.name===e.name})).length:r[A].children.length;var i=r[ad](e)+1,a=t.initial-n;if(a){var o=e[NE]();o[kd](o.occur),o.occur=null,r[A].push(o),r[od](i,o);for(var s=1;s<a;s++){var c=o[NE]();r[A].push(c),r[od](i+s,c)}}}}}}},{key:"_getOccurInfo",value:function(e){var t=e.name,r=e.occur;if(!r||!t)return[1,1];var A=-1===r.max?1/0:r.max;return[r.min,A]}},{key:"_setAndBind",value:function(e,t){this._setProperties(e,t),this._bindItems(e,t),this._bindElement(e,t)}},{key:"_bindElement",value:function(e,t){var r=[];this._createOccurrences(e);var A,n=Yw(e[VE]());try{for(n.s();!(A=n.n()).done;){var i=A.value;if(!i[ME])if(void 0!==this._mergeMode||"subform"!==i[Ed]){if(i[cd]()){var a=!1,o=null,s=null,c=null;if(i.bind){switch(i.bind.match){case"none":this._setAndBind(i,t);continue;case"global":a=!0;break;case"dataRef":if(!i.bind.ref){q("XFA - ref is empty in node ".concat(i[Ed],".")),this._setAndBind(i,t);continue}s=i.bind.ref}i.bind.picture&&(o=i.bind.picture[UE])}var g=Hw(this._getOccurInfo(i),2),u=g[0],l=g[1];if(s){if(null===(c=Ry(this.root,t,s,!0,!1))){if(!(c=Gy(this.data,t,s)))continue;this._isConsumeData()&&(c[LE]=!0),this._setAndBind(i,c);continue}this._isConsumeData()&&(c=c.filter((function(e){return!e[LE]}))),c.length>l?c=c.slice(0,l):0===c.length&&(c=null),c&&this._isConsumeData()&&c.forEach((function(e){e[LE]=!0}))}else{if(!i.name){this._setAndBind(i,t);continue}if(this._isConsumeData()){for(var h=[];h.length<l;){var I=this._findDataByNameToConsume(i.name,i[nd](),t,a);if(!I)break;I[LE]=!0,h.push(I)}c=h.length>0?h:null}else{if(!(c=t[XE](i.name,!1,this.emptyMerge).next().value)){if(0===u){r.push(i);continue}var f=t[Qd]===qw?-1:t[Qd];c=i[ME]=new Qp(f,i.name),this.emptyMerge&&(c[LE]=!0),t[SE](c),this._setAndBind(i,c);continue}this.emptyMerge&&(c[LE]=!0),c=[c]}}c?this._bindOccurrences(i,c,o):u>0?this._setAndBind(i,t):r.push(i)}}else{this._mergeMode="consumeData"===i.mergeMode;var C=t[VE]();if(C.length>0)this._bindOccurrences(i,[C[0]],null);else if(this.emptyMerge){var B=t[Qd]===qw?-1:t[Qd],Q=i[ME]=new Qp(B,i.name||"root");t[SE](Q),this._bindElement(i,Q)}}}}catch(e){n.e(e)}finally{n.f()}r.forEach((function(e){return e[td]()[kd](e)}))}}])}();function Zw(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Xw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function _w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Xw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xw(e,t){if(e){if("string"==typeof e)return Vw(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vw(e,t):void 0}}function Vw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function zw(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,$w(A.key),A)}}function $w(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var eb=function(){return function(e,t,r){return t&&zw(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=r,this.dataset=t.datasets||null}),[{key:"serialize",value:function(e){for(var t=[[-1,this.data[VE]()]];t.length>0;){var r=t.at(-1),A=_w(r,2),n=A[0],i=A[1];if(n+1!==i.length){var a=i[++r[0]],o=e.get(a[Yd]);if(o)a[Gd](o);else{var s,c=Zw(a[KE]().values());try{for(c.s();!(s=c.n()).done;){var g=s.value,u=e.get(g[Yd]);if(u){g[Gd](u);break}}}catch(e){c.e(e)}finally{c.f()}}var l=a[VE]();l.length>0&&t.push([-1,l])}else t.pop()}var h=['<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">'];if(this.dataset){var I,f=Zw(this.dataset[VE]());try{for(f.s();!(I=f.n()).done;){var C=I.value;"data"!==C[Ed]&&C[Jd](h)}}catch(e){f.e(e)}finally{f.f()}}return this.data[Jd](h),h.push("</xfa:datasets>"),h.join("")}}])}();function tb(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function rb(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,nb(A.key),A)}}function Ab(e,t,r){return t&&rb(e.prototype,t),r&&rb(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function nb(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function ib(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t=sb(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ob()?Reflect.construct(t,r||[],sb(e).constructor):t.apply(e,r))}function ob(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ob=function(){return!!e})()}function sb(e){return sb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sb(e)}function cb(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gb(e,t)}function gb(e,t){return gb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gb(e,t)}var ub=Od.config.id,lb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"acrobat",!0])).acrobat7=null,r.autoSave=null,r.common=null,r.validate=null,r.validateApprovalSignatures=null,r.submitUrl=new Cp,r}return cb(t,fp),Ab(t)}(),hb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"acrobat7",!0])).dynamicRender=null,r}return cb(t,fp),Ab(t)}(),Ib=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"ADBE_JSConsole",["delegate","Enable","Disable"]])}return cb(t,dp),Ab(t)}(),fb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"ADBE_JSDebugger",["delegate","Enable","Disable"]])}return cb(t,dp),Ab(t)}(),Cb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"addSilentPrint"])}return cb(t,vp),Ab(t)}(),Bb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"addViewerPreferences"])}return cb(t,vp),Ab(t)}(),Qb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"adjustData"])}return cb(t,mp),Ab(t)}(),Eb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"adobeExtensionLevel",0,function(e){return e>=1&&e<=8}])}return cb(t,pp),Ab(t)}(),db=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"agent",!0])).name=e.name?e.name.trim():"",r.common=new Cp,r}return cb(t,fp),Ab(t)}(),yb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"alwaysEmbed"])}return cb(t,Ep),Ab(t)}(),pb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"amd"])}return cb(t,yp),Ab(t)}(),vb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"area"])).level=Xd({data:e.level,defaultValue:0,validate:function(e){return e>=1&&e<=3}}),r.name=$d(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"]),r}return cb(t,fp),Ab(t)}(),mb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"attributes",["preserve","delegate","ignore"]])}return cb(t,dp),Ab(t)}(),wb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"autoSave",["disabled","enabled"]])}return cb(t,dp),Ab(t)}(),bb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"base"])}return cb(t,yp),Ab(t)}(),kb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"batchOutput"])).format=$d(e.format,["none","concat","zip","zipCompress"]),r}return cb(t,fp),Ab(t)}(),Db=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"behaviorOverride"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=new Map(this[UE].trim().split(/\\s+/).filter((function(e){return e.includes(":")})).map((function(e){return e.split(":",2)})))}}])}(),Sb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"cache",!0])).templateCache=null,r}return cb(t,fp),Ab(t)}(),Fb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"change"])}return cb(t,vp),Ab(t)}(),xb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"common",!0])).data=null,r.locale=null,r.localeSet=null,r.messaging=null,r.suppressBanner=null,r.template=null,r.validationMessaging=null,r.versionControl=null,r.log=new Cp,r}return cb(t,fp),Ab(t)}(),Rb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"compress"])).scope=$d(e.scope,["imageOnly","document"]),r}return cb(t,fp),Ab(t)}(),Gb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"compressLogicalStructure"])}return cb(t,vp),Ab(t)}(),Nb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"compressObjectStream"])}return cb(t,mp),Ab(t)}(),Lb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"compression",!0])).compressLogicalStructure=null,r.compressObjectStream=null,r.level=null,r.type=null,r}return cb(t,fp),Ab(t)}(),Ub=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"config",!0])).acrobat=null,r.present=null,r.trace=null,r.agent=new Cp,r}return cb(t,fp),Ab(t)}(),Mb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"conformance",["A","B"]])}return cb(t,dp),Ab(t)}(),Jb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"contentCopy"])}return cb(t,vp),Ab(t)}(),Hb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"copies",1,function(e){return e>=1}])}return cb(t,pp),Ab(t)}(),Yb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"creator"])}return cb(t,yp),Ab(t)}(),Pb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"currentPage",0,function(e){return e>=0}])}return cb(t,pp),Ab(t)}(),Ob=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"data",!0])).adjustData=null,r.attributes=null,r.incrementalLoad=null,r.outputXSL=null,r.range=null,r.record=null,r.startNode=null,r.uri=null,r.window=null,r.xsl=null,r.excludeNS=new Cp,r.transform=new Cp,r}return cb(t,fp),Ab(t)}(),Kb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"debug",!0])).uri=null,r}return cb(t,fp),Ab(t)}(),Tb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"defaultTypeface"])).writingScript=$d(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"]),r}return cb(t,Ep),Ab(t)}(),qb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"destination",["pdf","pcl","ps","webClient","zpl"]])}return cb(t,dp),Ab(t)}(),jb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"documentAssembly"])}return cb(t,vp),Ab(t)}(),Wb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"driver",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),Zb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"]])}return cb(t,dp),Ab(t)}(),_b=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"dynamicRender",["forbidden","required"]])}return cb(t,dp),Ab(t)}(),Xb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"embed"])}return cb(t,vp),Ab(t)}(),Vb=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"encrypt"])}return cb(t,vp),Ab(t)}(),zb=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"encryption",!0])).encrypt=null,r.encryptionLevel=null,r.permissions=null,r}return cb(t,fp),Ab(t)}(),$b=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"encryptionLevel",["40bit","128bit"]])}return cb(t,dp),Ab(t)}(),ek=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"enforce"])}return cb(t,yp),Ab(t)}(),tk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"equate"])).force=Xd({data:e.force,defaultValue:1,validate:function(e){return 0===e}}),r.from=e.from||"",r.to=e.to||"",r}return cb(t,fp),Ab(t)}(),rk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"equateRange"])).from=e.from||"",r.to=e.to||"",r._unicodeRange=e.unicodeRange||"",r}return cb(t,fp),Ab(t,[{key:"unicodeRange",get:function(){var e,t=[],r=/U\\+([0-9a-fA-F]+)/,A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return tb(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tb(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this._unicodeRange.split(",").map((function(e){return e.trim()})).filter((function(e){return!!e})));try{for(A.s();!(e=A.n()).done;){var n=e.value;1===(n=n.split("-",2).map((function(e){var t=e.match(r);return t?parseInt(t[1],16):0}))).length&&n.push(n[0]),t.push(n)}}catch(e){A.e(e)}finally{A.f()}return _(this,"unicodeRange",t)}}])}(),Ak=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"exclude"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s+/).filter((function(e){return e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e)}))}}])}(),nk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"excludeNS"])}return cb(t,yp),Ab(t)}(),ik=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"flipLabel",["usePrinterSetting","on","off"]])}return cb(t,dp),Ab(t)}(),ak=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"fontInfo",!0])).embed=null,r.map=null,r.subsetBelow=null,r.alwaysEmbed=new Cp,r.defaultTypeface=new Cp,r.neverEmbed=new Cp,r}return cb(t,fp),Ab(t)}(),ok=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"formFieldFilling"])}return cb(t,vp),Ab(t)}(),sk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"groupParent"])}return cb(t,yp),Ab(t)}(),ck=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"ifEmpty",["dataValue","dataGroup","ignore","remove"]])}return cb(t,dp),Ab(t)}(),gk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"includeXDPContent"])}return cb(t,yp),Ab(t)}(),uk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"incrementalLoad",["none","forwardOnly"]])}return cb(t,dp),Ab(t)}(),lk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"incrementalMerge"])}return cb(t,vp),Ab(t)}(),hk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"interactive"])}return cb(t,vp),Ab(t)}(),Ik=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"jog",["usePrinterSetting","none","pageSet"]])}return cb(t,dp),Ab(t)}(),fk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"labelPrinter",!0])).name=$d(e.name,["zpl","dpl","ipl","tcpl"]),r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),Ck=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"layout",["paginate","panel"]])}return cb(t,dp),Ab(t)}(),Bk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"level",0,function(e){return e>0}])}return cb(t,pp),Ab(t)}(),Qk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"linearized"])}return cb(t,vp),Ab(t)}(),Ek=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"locale"])}return cb(t,yp),Ab(t)}(),dk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"localeSet"])}return cb(t,yp),Ab(t)}(),yk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"log",!0])).mode=null,r.threshold=null,r.to=null,r.uri=null,r}return cb(t,fp),Ab(t)}(),pk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"map",!0])).equate=new Cp,r.equateRange=new Cp,r}return cb(t,fp),Ab(t)}(),vk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"mediumInfo",!0])).map=null,r}return cb(t,fp),Ab(t)}(),mk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"message",!0])).msgId=null,r.severity=null,r}return cb(t,fp),Ab(t)}(),wk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"messaging",!0])).message=new Cp,r}return cb(t,fp),Ab(t)}(),bk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"mode",["append","overwrite"]])}return cb(t,dp),Ab(t)}(),kk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"modifyAnnots"])}return cb(t,vp),Ab(t)}(),Dk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"msgId",1,function(e){return e>=1}])}return cb(t,pp),Ab(t)}(),Sk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"nameAttr"])}return cb(t,yp),Ab(t)}(),Fk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"neverEmbed"])}return cb(t,Ep),Ab(t)}(),xk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"numberOfCopies",null,function(e){return e>=2&&e<=5}])}return cb(t,pp),Ab(t)}(),Rk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"openAction",!0])).destination=null,r}return cb(t,fp),Ab(t)}(),Gk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"output",!0])).to=null,r.type=null,r.uri=null,r}return cb(t,fp),Ab(t)}(),Nk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"outputBin"])}return cb(t,yp),Ab(t)}(),Lk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"outputXSL",!0])).uri=null,r}return cb(t,fp),Ab(t)}(),Uk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"overprint",["none","both","draw","field"]])}return cb(t,dp),Ab(t)}(),Mk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"packets"])}return cb(t,yp),Ab(t,[{key:YE,value:function(){"*"!==this[UE]&&(this[UE]=this[UE].trim().split(/\\s+/).filter((function(e){return["config","datasets","template","xfdf","xslt"].includes(e)})))}}])}(),Jk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pageOffset"])).x=Xd({data:e.x,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r.y=Xd({data:e.y,defaultValue:"useXDCSetting",validate:function(e){return!0}}),r}return cb(t,fp),Ab(t)}(),Hk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"pageRange"])}return cb(t,yp),Ab(t,[{key:YE,value:function(){for(var e=this[UE].trim().split(/\\s+/).map((function(e){return parseInt(e,10)})),t=[],r=0,A=e.length;r<A;r+=2)t.push(e.slice(r,r+2));this[UE]=t}}])}(),Yk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"pagination",["simplex","duplexShortEdge","duplexLongEdge"]])}return cb(t,dp),Ab(t)}(),Pk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"]])}return cb(t,dp),Ab(t)}(),Ok=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"part",1,function(e){return!1}])}return cb(t,pp),Ab(t)}(),Kk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pcl",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.pageOffset=null,r.staple=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),Tk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pdf",!0])).name=e.name||"",r.adobeExtensionLevel=null,r.batchOutput=null,r.compression=null,r.creator=null,r.encryption=null,r.fontInfo=null,r.interactive=null,r.linearized=null,r.openAction=null,r.pdfa=null,r.producer=null,r.renderPolicy=null,r.scriptModel=null,r.silentPrint=null,r.submitFormat=null,r.tagged=null,r.version=null,r.viewerPreferences=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),qk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"pdfa",!0])).amd=null,r.conformance=null,r.includeXDPContent=null,r.part=null,r}return cb(t,fp),Ab(t)}(),jk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"permissions",!0])).accessibleContent=null,r.change=null,r.contentCopy=null,r.documentAssembly=null,r.formFieldFilling=null,r.modifyAnnots=null,r.plaintextMetadata=null,r.print=null,r.printHighQuality=null,r}return cb(t,fp),Ab(t)}(),Wk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"pickTrayByPDFSize"])}return cb(t,vp),Ab(t)}(),Zk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"picture"])}return cb(t,yp),Ab(t)}(),_k=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"plaintextMetadata"])}return cb(t,vp),Ab(t)}(),Xk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"]])}return cb(t,dp),Ab(t)}(),Vk=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"present",!0])).behaviorOverride=null,r.cache=null,r.common=null,r.copies=null,r.destination=null,r.incrementalMerge=null,r.layout=null,r.output=null,r.overprint=null,r.pagination=null,r.paginationOverride=null,r.script=null,r.validate=null,r.xdp=null,r.driver=new Cp,r.labelPrinter=new Cp,r.pcl=new Cp,r.pdf=new Cp,r.ps=new Cp,r.submitUrl=new Cp,r.webClient=new Cp,r.zpl=new Cp,r}return cb(t,fp),Ab(t)}(),zk=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"print"])}return cb(t,vp),Ab(t)}(),$k=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"printHighQuality"])}return cb(t,vp),Ab(t)}(),eD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"printScaling",["appdefault","noScaling"]])}return cb(t,dp),Ab(t)}(),tD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"printerName"])}return cb(t,yp),Ab(t)}(),rD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"producer"])}return cb(t,yp),Ab(t)}(),AD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"ps",!0])).name=e.name||"",r.batchOutput=null,r.fontInfo=null,r.jog=null,r.mediumInfo=null,r.outputBin=null,r.staple=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),nD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"range"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s*,\\s*/,2).map((function(e){return e.split("-").map((function(e){return parseInt(e.trim(),10)}))})).filter((function(e){return e.every((function(e){return!isNaN(e)}))})).map((function(e){return 1===e.length&&e.push(e[0]),e}))}}])}(),iD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"record"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim();var e=parseInt(this[UE],10);!isNaN(e)&&e>=0&&(this[UE]=e)}}])}(),aD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"relevant"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s+/)}}])}(),oD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"rename"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim(),(this[UE].toLowerCase().startsWith("xml")||new RegExp("[\\\\p{L}_][\\\\p{L}\\\\d._\\\\p{M}-]*","u").test(this[UE]))&&q("XFA - Rename: invalid XFA name")}}])}(),sD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"renderPolicy",["server","client"]])}return cb(t,dp),Ab(t)}(),cD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"runScripts",["both","client","none","server"]])}return cb(t,dp),Ab(t)}(),gD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"script",!0])).currentPage=null,r.exclude=null,r.runScripts=null,r}return cb(t,fp),Ab(t)}(),uD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"scriptModel",["XFA","none"]])}return cb(t,dp),Ab(t)}(),lD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"severity",["ignore","error","information","trace","warning"]])}return cb(t,dp),Ab(t)}(),hD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"silentPrint",!0])).addSilentPrint=null,r.printerName=null,r}return cb(t,fp),Ab(t)}(),ID=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"staple"])).mode=$d(e.mode,["usePrinterSetting","on","off"]),r}return cb(t,fp),Ab(t)}(),fD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"startNode"])}return cb(t,yp),Ab(t)}(),CD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"startPage",0,function(e){return!0}])}return cb(t,pp),Ab(t)}(),BD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"submitFormat",["html","delegate","fdf","xml","pdf"]])}return cb(t,dp),Ab(t)}(),QD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"submitUrl"])}return cb(t,yp),Ab(t)}(),ED=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"subsetBelow",100,function(e){return e>=0&&e<=100}])}return cb(t,pp),Ab(t)}(),dD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"suppressBanner"])}return cb(t,vp),Ab(t)}(),yD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"tagged"])}return cb(t,vp),Ab(t)}(),pD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"template",!0])).base=null,r.relevant=null,r.startPage=null,r.uri=null,r.xsl=null,r}return cb(t,fp),Ab(t)}(),vD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"threshold",["trace","error","information","warning"]])}return cb(t,dp),Ab(t)}(),mD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"to",["null","memory","stderr","stdout","system","uri"]])}return cb(t,dp),Ab(t)}(),wD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"templateCache"])).maxEntries=Xd({data:e.maxEntries,defaultValue:5,validate:function(e){return e>=0}}),r}return cb(t,fp),Ab(t)}(),bD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"trace",!0])).area=new Cp,r}return cb(t,fp),Ab(t)}(),kD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"transform",!0])).groupParent=null,r.ifEmpty=null,r.nameAttr=null,r.picture=null,r.presence=null,r.rename=null,r.whitespace=null,r}return cb(t,fp),Ab(t)}(),DD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"]])}return cb(t,dp),Ab(t)}(),SD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"uri"])}return cb(t,yp),Ab(t)}(),FD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"validate",["preSubmit","prePrint","preExecute","preSave"]])}return cb(t,dp),Ab(t)}(),xD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"validateApprovalSignatures"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){this[UE]=this[UE].trim().split(/\\s+/).filter((function(e){return["docReady","postSign"].includes(e)}))}}])}(),RD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"]])}return cb(t,dp),Ab(t)}(),GD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"version",["1.7","1.6","1.5","1.4","1.3","1.2"]])}return cb(t,dp),Ab(t)}(),ND=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"VersionControl"])).outputBelow=$d(e.outputBelow,["warn","error","update"]),r.sourceAbove=$d(e.sourceAbove,["warn","error"]),r.sourceBelow=$d(e.sourceBelow,["update","maintain"]),r}return cb(t,fp),Ab(t)}(),LD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"viewerPreferences",!0])).ADBE_JSConsole=null,r.ADBE_JSDebugger=null,r.addViewerPreferences=null,r.duplexOption=null,r.enforce=null,r.numberOfCopies=null,r.pageRange=null,r.pickTrayByPDFSize=null,r.printScaling=null,r}return cb(t,fp),Ab(t)}(),UD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"webClient",!0])).name=e.name?e.name.trim():"",r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),MD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"whitespace",["preserve","ltrim","normalize","rtrim","trim"]])}return cb(t,dp),Ab(t)}(),JD=function(e){function t(e){return ib(this,t),ab(this,t,[ub,"window"])}return cb(t,Ep),Ab(t,[{key:YE,value:function(){var e=this[UE].trim().split(/\\s*,\\s*/,2).map((function(e){return parseInt(e,10)}));e.some((function(e){return isNaN(e)}))?this[UE]=[0,0]:(1===e.length&&e.push(e[0]),this[UE]=e)}}])}(),HD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"xdc",!0])).uri=new Cp,r.xsl=new Cp,r}return cb(t,fp),Ab(t)}(),YD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"xdp",!0])).packets=null,r}return cb(t,fp),Ab(t)}(),PD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"xsl",!0])).debug=null,r.uri=null,r}return cb(t,fp),Ab(t)}(),OD=function(e){function t(e){var r;return ib(this,t),(r=ab(this,t,[ub,"zpl",!0])).name=e.name?e.name.trim():"",r.batchOutput=null,r.flipLabel=null,r.fontInfo=null,r.xdc=null,r}return cb(t,fp),Ab(t)}(),KD=function(){function e(){ib(this,e)}return Ab(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"acrobat",value:function(e){return new lb(e)}},{key:"acrobat7",value:function(e){return new hb(e)}},{key:"ADBE_JSConsole",value:function(e){return new Ib(e)}},{key:"ADBE_JSDebugger",value:function(e){return new fb(e)}},{key:"addSilentPrint",value:function(e){return new Cb(e)}},{key:"addViewerPreferences",value:function(e){return new Bb(e)}},{key:"adjustData",value:function(e){return new Qb(e)}},{key:"adobeExtensionLevel",value:function(e){return new Eb(e)}},{key:"agent",value:function(e){return new db(e)}},{key:"alwaysEmbed",value:function(e){return new yb(e)}},{key:"amd",value:function(e){return new pb(e)}},{key:"area",value:function(e){return new vb(e)}},{key:"attributes",value:function(e){return new mb(e)}},{key:"autoSave",value:function(e){return new wb(e)}},{key:"base",value:function(e){return new bb(e)}},{key:"batchOutput",value:function(e){return new kb(e)}},{key:"behaviorOverride",value:function(e){return new Db(e)}},{key:"cache",value:function(e){return new Sb(e)}},{key:"change",value:function(e){return new Fb(e)}},{key:"common",value:function(e){return new xb(e)}},{key:"compress",value:function(e){return new Rb(e)}},{key:"compressLogicalStructure",value:function(e){return new Gb(e)}},{key:"compressObjectStream",value:function(e){return new Nb(e)}},{key:"compression",value:function(e){return new Lb(e)}},{key:"config",value:function(e){return new Ub(e)}},{key:"conformance",value:function(e){return new Mb(e)}},{key:"contentCopy",value:function(e){return new Jb(e)}},{key:"copies",value:function(e){return new Hb(e)}},{key:"creator",value:function(e){return new Yb(e)}},{key:"currentPage",value:function(e){return new Pb(e)}},{key:"data",value:function(e){return new Ob(e)}},{key:"debug",value:function(e){return new Kb(e)}},{key:"defaultTypeface",value:function(e){return new Tb(e)}},{key:"destination",value:function(e){return new qb(e)}},{key:"documentAssembly",value:function(e){return new jb(e)}},{key:"driver",value:function(e){return new Wb(e)}},{key:"duplexOption",value:function(e){return new Zb(e)}},{key:"dynamicRender",value:function(e){return new _b(e)}},{key:"embed",value:function(e){return new Xb(e)}},{key:"encrypt",value:function(e){return new Vb(e)}},{key:"encryption",value:function(e){return new zb(e)}},{key:"encryptionLevel",value:function(e){return new $b(e)}},{key:"enforce",value:function(e){return new ek(e)}},{key:"equate",value:function(e){return new tk(e)}},{key:"equateRange",value:function(e){return new rk(e)}},{key:"exclude",value:function(e){return new Ak(e)}},{key:"excludeNS",value:function(e){return new nk(e)}},{key:"flipLabel",value:function(e){return new ik(e)}},{key:"fontInfo",value:function(e){return new ak(e)}},{key:"formFieldFilling",value:function(e){return new ok(e)}},{key:"groupParent",value:function(e){return new sk(e)}},{key:"ifEmpty",value:function(e){return new ck(e)}},{key:"includeXDPContent",value:function(e){return new gk(e)}},{key:"incrementalLoad",value:function(e){return new uk(e)}},{key:"incrementalMerge",value:function(e){return new lk(e)}},{key:"interactive",value:function(e){return new hk(e)}},{key:"jog",value:function(e){return new Ik(e)}},{key:"labelPrinter",value:function(e){return new fk(e)}},{key:"layout",value:function(e){return new Ck(e)}},{key:"level",value:function(e){return new Bk(e)}},{key:"linearized",value:function(e){return new Qk(e)}},{key:"locale",value:function(e){return new Ek(e)}},{key:"localeSet",value:function(e){return new dk(e)}},{key:"log",value:function(e){return new yk(e)}},{key:"map",value:function(e){return new pk(e)}},{key:"mediumInfo",value:function(e){return new vk(e)}},{key:"message",value:function(e){return new mk(e)}},{key:"messaging",value:function(e){return new wk(e)}},{key:"mode",value:function(e){return new bk(e)}},{key:"modifyAnnots",value:function(e){return new kk(e)}},{key:"msgId",value:function(e){return new Dk(e)}},{key:"nameAttr",value:function(e){return new Sk(e)}},{key:"neverEmbed",value:function(e){return new Fk(e)}},{key:"numberOfCopies",value:function(e){return new xk(e)}},{key:"openAction",value:function(e){return new Rk(e)}},{key:"output",value:function(e){return new Gk(e)}},{key:"outputBin",value:function(e){return new Nk(e)}},{key:"outputXSL",value:function(e){return new Lk(e)}},{key:"overprint",value:function(e){return new Uk(e)}},{key:"packets",value:function(e){return new Mk(e)}},{key:"pageOffset",value:function(e){return new Jk(e)}},{key:"pageRange",value:function(e){return new Hk(e)}},{key:"pagination",value:function(e){return new Yk(e)}},{key:"paginationOverride",value:function(e){return new Pk(e)}},{key:"part",value:function(e){return new Ok(e)}},{key:"pcl",value:function(e){return new Kk(e)}},{key:"pdf",value:function(e){return new Tk(e)}},{key:"pdfa",value:function(e){return new qk(e)}},{key:"permissions",value:function(e){return new jk(e)}},{key:"pickTrayByPDFSize",value:function(e){return new Wk(e)}},{key:"picture",value:function(e){return new Zk(e)}},{key:"plaintextMetadata",value:function(e){return new _k(e)}},{key:"presence",value:function(e){return new Xk(e)}},{key:"present",value:function(e){return new Vk(e)}},{key:"print",value:function(e){return new zk(e)}},{key:"printHighQuality",value:function(e){return new $k(e)}},{key:"printScaling",value:function(e){return new eD(e)}},{key:"printerName",value:function(e){return new tD(e)}},{key:"producer",value:function(e){return new rD(e)}},{key:"ps",value:function(e){return new AD(e)}},{key:"range",value:function(e){return new nD(e)}},{key:"record",value:function(e){return new iD(e)}},{key:"relevant",value:function(e){return new aD(e)}},{key:"rename",value:function(e){return new oD(e)}},{key:"renderPolicy",value:function(e){return new sD(e)}},{key:"runScripts",value:function(e){return new cD(e)}},{key:"script",value:function(e){return new gD(e)}},{key:"scriptModel",value:function(e){return new uD(e)}},{key:"severity",value:function(e){return new lD(e)}},{key:"silentPrint",value:function(e){return new hD(e)}},{key:"staple",value:function(e){return new ID(e)}},{key:"startNode",value:function(e){return new fD(e)}},{key:"startPage",value:function(e){return new CD(e)}},{key:"submitFormat",value:function(e){return new BD(e)}},{key:"submitUrl",value:function(e){return new QD(e)}},{key:"subsetBelow",value:function(e){return new ED(e)}},{key:"suppressBanner",value:function(e){return new dD(e)}},{key:"tagged",value:function(e){return new yD(e)}},{key:"template",value:function(e){return new pD(e)}},{key:"templateCache",value:function(e){return new wD(e)}},{key:"threshold",value:function(e){return new vD(e)}},{key:"to",value:function(e){return new mD(e)}},{key:"trace",value:function(e){return new bD(e)}},{key:"transform",value:function(e){return new kD(e)}},{key:"type",value:function(e){return new DD(e)}},{key:"uri",value:function(e){return new SD(e)}},{key:"validate",value:function(e){return new FD(e)}},{key:"validateApprovalSignatures",value:function(e){return new xD(e)}},{key:"validationMessaging",value:function(e){return new RD(e)}},{key:"version",value:function(e){return new GD(e)}},{key:"versionControl",value:function(e){return new ND(e)}},{key:"viewerPreferences",value:function(e){return new LD(e)}},{key:"webClient",value:function(e){return new UD(e)}},{key:"whitespace",value:function(e){return new MD(e)}},{key:"window",value:function(e){return new JD(e)}},{key:"xdc",value:function(e){return new HD(e)}},{key:"xdp",value:function(e){return new YD(e)}},{key:"xsl",value:function(e){return new PD(e)}},{key:"zpl",value:function(e){return new OD(e)}}])}();function TD(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jD(A.key),A)}}function qD(e,t,r){return t&&TD(e.prototype,t),r&&TD(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jD(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function WD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZD(e,t,r){return t=XD(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_D()?Reflect.construct(t,r||[],XD(e).constructor):t.apply(e,r))}function _D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_D=function(){return!!e})()}function XD(e){return XD=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},XD(e)}function VD(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zD(e,t)}function zD(e,t){return zD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zD(e,t)}var $D=Od.connectionSet.id,eS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"connectionSet",!0])).wsdlConnection=new Cp,r.xmlConnection=new Cp,r.xsdConnection=new Cp,r}return VD(t,fp),qD(t)}(),tS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"effectiveInputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,fp),qD(t)}(),rS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"effectiveOutputPolicy"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,fp),qD(t)}(),AS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"operation"])).id=e.id||"",r.input=e.input||"",r.name=e.name||"",r.output=e.output||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),nS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"rootElement"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),iS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"soapAction"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),aS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"soapAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),oS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"uri"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),sS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"wsdlAddress"])).id=e.id||"",r.name=e.name||"",r.use=e.use||"",r.usehref=e.usehref||"",r}return VD(t,yp),qD(t)}(),cS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"wsdlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.effectiveInputPolicy=null,r.effectiveOutputPolicy=null,r.operation=null,r.soapAction=null,r.soapAddress=null,r.wsdlAddress=null,r}return VD(t,fp),qD(t)}(),gS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"xmlConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.uri=null,r}return VD(t,fp),qD(t)}(),uS=function(e){function t(e){var r;return WD(this,t),(r=ZD(this,t,[$D,"xsdConnection",!0])).dataDescription=e.dataDescription||"",r.name=e.name||"",r.rootElement=null,r.uri=null,r}return VD(t,fp),qD(t)}(),lS=function(){function e(){WD(this,e)}return qD(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"connectionSet",value:function(e){return new eS(e)}},{key:"effectiveInputPolicy",value:function(e){return new tS(e)}},{key:"effectiveOutputPolicy",value:function(e){return new rS(e)}},{key:"operation",value:function(e){return new AS(e)}},{key:"rootElement",value:function(e){return new nS(e)}},{key:"soapAction",value:function(e){return new iS(e)}},{key:"soapAddress",value:function(e){return new aS(e)}},{key:"uri",value:function(e){return new oS(e)}},{key:"wsdlAddress",value:function(e){return new sS(e)}},{key:"wsdlConnection",value:function(e){return new cS(e)}},{key:"xmlConnection",value:function(e){return new gS(e)}},{key:"xsdConnection",value:function(e){return new uS(e)}}])}();function hS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IS(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,CS(A.key),A)}}function fS(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function CS(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function BS(e,t,r){return t=ES(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,QS()?Reflect.construct(t,r||[],ES(e).constructor):t.apply(e,r))}function QS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(QS=function(){return!!e})()}function ES(e){return ES=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ES(e)}function dS(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yS(e,t)}function yS(e,t){return yS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yS(e,t)}var pS=Od.datasets.id,vS=function(e){function t(e){return hS(this,t),BS(this,t,[pS,"data",e])}return dS(t,Qp),fS(t,[{key:ld,value:function(){return!0}}])}(),mS=function(e){function t(e){var r;return hS(this,t),(r=BS(this,t,[pS,"datasets",!0])).data=null,r.Signature=null,r}return dS(t,fp),fS(t,[{key:yd,value:function(e){var t=e[Ed];("data"===t&&e[Qd]===pS||"Signature"===t&&e[Qd]===Od.signature.id)&&(this[t]=e),this[SE](e)}}])}(),wS=function(){function e(){hS(this,e)}return fS(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"datasets",value:function(e){return new mS(e)}},{key:"data",value:function(e){return new vS(e)}}])}();function bS(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,DS(A.key),A)}}function kS(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function DS(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function SS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t,r){return t=RS(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xS()?Reflect.construct(t,r||[],RS(e).constructor):t.apply(e,r))}function xS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xS=function(){return!!e})()}function RS(e){return RS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},RS(e)}function GS(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NS(e,t)}function NS(e,t){return NS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NS(e,t)}var LS=Od.localeSet.id,US=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"calendarSymbols",!0])).name="gregorian",r.dayNames=new Cp(2),r.eraNames=null,r.meridiemNames=null,r.monthNames=new Cp(2),r}return GS(t,fp),kS(t)}(),MS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"currencySymbol"])).name=$d(e.name,["symbol","isoname","decimal"]),r}return GS(t,yp),kS(t)}(),JS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"currencySymbols",!0])).currencySymbol=new Cp(3),r}return GS(t,fp),kS(t)}(),HS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"datePattern"])).name=$d(e.name,["full","long","med","short"]),r}return GS(t,yp),kS(t)}(),YS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"datePatterns",!0])).datePattern=new Cp(4),r}return GS(t,fp),kS(t)}(),PS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"dateTimeSymbols"])}return GS(t,Ep),kS(t)}(),OS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"day"])}return GS(t,yp),kS(t)}(),KS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"dayNames",!0])).abbr=Xd({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.day=new Cp(7),r}return GS(t,fp),kS(t)}(),TS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"era"])}return GS(t,yp),kS(t)}(),qS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"eraNames",!0])).era=new Cp(2),r}return GS(t,fp),kS(t)}(),jS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"locale",!0])).desc=e.desc||"",r.name="isoname",r.calendarSymbols=null,r.currencySymbols=null,r.datePatterns=null,r.dateTimeSymbols=null,r.numberPatterns=null,r.numberSymbols=null,r.timePatterns=null,r.typeFaces=null,r}return GS(t,fp),kS(t)}(),WS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"localeSet",!0])).locale=new Cp,r}return GS(t,fp),kS(t)}(),ZS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"meridiem"])}return GS(t,yp),kS(t)}(),_S=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"meridiemNames",!0])).meridiem=new Cp(2),r}return GS(t,fp),kS(t)}(),XS=function(e){function t(e){return SS(this,t),FS(this,t,[LS,"month"])}return GS(t,yp),kS(t)}(),VS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"monthNames",!0])).abbr=Xd({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),r.month=new Cp(12),r}return GS(t,fp),kS(t)}(),zS=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberPattern"])).name=$d(e.name,["full","long","med","short"]),r}return GS(t,yp),kS(t)}(),$S=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberPatterns",!0])).numberPattern=new Cp(4),r}return GS(t,fp),kS(t)}(),eF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberSymbol"])).name=$d(e.name,["decimal","grouping","percent","minus","zero"]),r}return GS(t,yp),kS(t)}(),tF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"numberSymbols",!0])).numberSymbol=new Cp(5),r}return GS(t,fp),kS(t)}(),rF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"timePattern"])).name=$d(e.name,["full","long","med","short"]),r}return GS(t,yp),kS(t)}(),AF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"timePatterns",!0])).timePattern=new Cp(4),r}return GS(t,fp),kS(t)}(),nF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"typeFace",!0])).name=""|e.name,r}return GS(t,fp),kS(t)}(),iF=function(e){function t(e){var r;return SS(this,t),(r=FS(this,t,[LS,"typeFaces",!0])).typeFace=new Cp,r}return GS(t,fp),kS(t)}(),aF=function(){function e(){SS(this,e)}return kS(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"calendarSymbols",value:function(e){return new US(e)}},{key:"currencySymbol",value:function(e){return new MS(e)}},{key:"currencySymbols",value:function(e){return new JS(e)}},{key:"datePattern",value:function(e){return new HS(e)}},{key:"datePatterns",value:function(e){return new YS(e)}},{key:"dateTimeSymbols",value:function(e){return new PS(e)}},{key:"day",value:function(e){return new OS(e)}},{key:"dayNames",value:function(e){return new KS(e)}},{key:"era",value:function(e){return new TS(e)}},{key:"eraNames",value:function(e){return new qS(e)}},{key:"locale",value:function(e){return new jS(e)}},{key:"localeSet",value:function(e){return new WS(e)}},{key:"meridiem",value:function(e){return new ZS(e)}},{key:"meridiemNames",value:function(e){return new _S(e)}},{key:"month",value:function(e){return new XS(e)}},{key:"monthNames",value:function(e){return new VS(e)}},{key:"numberPattern",value:function(e){return new zS(e)}},{key:"numberPatterns",value:function(e){return new $S(e)}},{key:"numberSymbol",value:function(e){return new eF(e)}},{key:"numberSymbols",value:function(e){return new tF(e)}},{key:"timePattern",value:function(e){return new rF(e)}},{key:"timePatterns",value:function(e){return new AF(e)}},{key:"typeFace",value:function(e){return new nF(e)}},{key:"typeFaces",value:function(e){return new iF(e)}}])}();function oF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,cF(A.key),A)}}function sF(e,t,r){return t&&oF(e.prototype,t),r&&oF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function cF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function gF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uF(e,t,r){return t=hF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lF()?Reflect.construct(t,r||[],hF(e).constructor):t.apply(e,r))}function lF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lF=function(){return!!e})()}function hF(e){return hF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hF(e)}function IF(e,t){return IF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IF(e,t)}var fF=Od.signature.id,CF=function(e){function t(e){return gF(this,t),uF(this,t,[fF,"signature",!0])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IF(e,t)}(t,fp),sF(t)}(),BF=function(){function e(){gF(this,e)}return sF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"signature",value:function(e){return new CF(e)}}])}();function QF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,dF(A.key),A)}}function EF(e,t,r){return t&&QF(e.prototype,t),r&&QF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function dF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function yF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pF(e,t,r){return t=mF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vF()?Reflect.construct(t,r||[],mF(e).constructor):t.apply(e,r))}function vF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vF=function(){return!!e})()}function mF(e){return mF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},mF(e)}function wF(e,t){return wF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wF(e,t)}var bF=Od.stylesheet.id,kF=function(e){function t(e){return yF(this,t),pF(this,t,[bF,"stylesheet",!0])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wF(e,t)}(t,fp),EF(t)}(),DF=function(){function e(){yF(this,e)}return EF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"stylesheet",value:function(e){return new kF(e)}}])}();function SF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,RF(A.key),A)}}function xF(e,t,r){return t&&FF(e.prototype,t),r&&FF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function RF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function GF(e,t,r){return t=LF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,NF()?Reflect.construct(t,r||[],LF(e).constructor):t.apply(e,r))}function NF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(NF=function(){return!!e})()}function LF(e){return LF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},LF(e)}function UF(e,t){return UF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},UF(e,t)}var MF=Od.xdp.id,JF=function(e){function t(e){var r;return SF(this,t),(r=GF(this,t,[MF,"xdp",!0])).uuid=e.uuid||"",r.timeStamp=e.timeStamp||"",r.config=null,r.connectionSet=null,r.datasets=null,r.localeSet=null,r.stylesheet=new Cp,r.template=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&UF(e,t)}(t,fp),xF(t,[{key:pd,value:function(e){var t=Od[e[Ed]];return t&&e[Qd]===t.id}}])}(),HF=function(){function e(){SF(this,e)}return xF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"xdp",value:function(e){return new JF(e)}}])}();function YF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PF(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,KF(A.key),A)}}function OF(e,t,r){return t&&PF(e.prototype,t),r&&PF(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function KF(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function TF(e,t,r){return t=ZF(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qF()?Reflect.construct(t,r||[],ZF(e).constructor):t.apply(e,r))}function qF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qF=function(){return!!e})()}function jF(e,t,r,A){var n=WF(ZF(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function WF(){return WF="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ZF(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},WF.apply(null,arguments)}function ZF(e){return ZF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ZF(e)}function _F(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XF(e,t)}function XF(e,t){return XF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XF(e,t)}function VF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||$F(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zF(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$F(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function $F(e,t){if(e){if("string"==typeof e)return ex(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ex(e,t):void 0}}function ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}var tx=Od.xhtml.id,rx=Symbol(),Ax=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),nx=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",function(e){return"none"===e?"none":"normal"}],["xfa-font-horizontal-scale",function(e){return"scaleX(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-font-vertical-scale",function(e){return"scaleY(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",function(e,t){return kp(.99*(e=t.fontSize=ey(e)))}],["letter-spacing",function(e){return kp(ey(e))}],["line-height",function(e){return kp(ey(e))}],["margin",function(e){return kp(ey(e))}],["margin-bottom",function(e){return kp(ey(e))}],["margin-left",function(e){return kp(ey(e))}],["margin-right",function(e){return kp(ey(e))}],["margin-top",function(e){return kp(ey(e))}],["text-indent",function(e){return kp(ey(e))}],["font-family",function(e){return e}],["vertical-align",function(e){return kp(ey(e))}]]),ix=/\\s+/g,ax=/[\\r\\n]+/g,ox=/\\r\\n?/g;function sx(e,t,r){var A=Object.create(null);if(!e)return A;var n,i=Object.create(null),a=zF(e.split(";").map((function(e){return e.split(":",2)})));try{for(a.s();!(n=a.n()).done;){var o=VF(n.value,2),s=o[0],c=o[1],g=nx.get(s);if(""!==g){var u=c;g&&(u="string"==typeof g?g:g(c,i)),s.endsWith("scale")?A.transform=A.transform?"".concat(A[s]," ").concat(u):u:A[s.replaceAll(/-([a-zA-Z])/g,(function(e,t){return t.toUpperCase()}))]=u}}}catch(e){a.e(e)}finally{a.f()}if(A.fontFamily&&Op({typeface:A.fontFamily,weight:A.fontWeight||"normal",posture:A.fontStyle||"normal",size:i.fontSize||0},t,t[Ad].fontFinder,A),r&&A.verticalAlign&&"0px"!==A.verticalAlign&&A.fontSize){var l=ey(A.fontSize);A.fontSize=kp(.583*l),A.verticalAlign=kp(Math.sign(ey(A.verticalAlign))*l*.333)}return r&&A.fontSize&&(A.fontSize="calc(".concat(A.fontSize," * var(--scale-factor))")),Mp(A),A}var cx=new Set(["body","html"]),gx=function(e){function t(e,r){var A;return YF(this,t),(A=TF(this,t,[tx,r]))[rx]=!1,A.style=e.style||"",A}return _F(t,Qp),OF(t,[{key:xE,value:function(e){var r;jF(t,xE,this,3)([e]),this.style=(r=this).style?r.style.trim().split(/\\s*;\\s*/).filter((function(e){return!!e})).map((function(e){return e.split(/\\s*:\\s*/,2)})).filter((function(e){var t=VF(e,2),A=t[0],n=t[1];return"font-family"===A&&r[Ad].usedTypefaces.add(n),Ax.has(A)})).map((function(e){return e.join(":")})).join(";"):""}},{key:kE,value:function(){return!cx.has(this[Ed])}},{key:vd,value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this[rx]=!0:(e=e.replaceAll(ax,""),this.style.includes("xfa-spacerun:yes")||(e=e.replaceAll(ix," "))),e&&(this[UE]+=e)}},{key:md,value:function(e){var t,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],A=Object.create(null),n={top:NaN,bottom:NaN,left:NaN,right:NaN},i=null,a=zF(this.style.split(";").map((function(e){return e.split(":",2)})));try{for(a.s();!(t=a.n()).done;){var o=VF(t.value,2),s=o[0],c=o[1];switch(s){case"font-family":A.typeface=_d(c);break;case"font-size":A.size=ey(c);break;case"font-weight":A.weight=c;break;case"font-style":A.posture=c;break;case"letter-spacing":A.letterSpacing=ey(c);break;case"margin":var g=c.split(/ \\t/).map((function(e){return ey(e)}));switch(g.length){case 1:n.top=n.bottom=n.left=n.right=g[0];break;case 2:n.top=n.bottom=g[0],n.left=n.right=g[1];break;case 3:n.top=g[0],n.bottom=g[2],n.left=n.right=g[1];break;case 4:n.top=g[0],n.left=g[1],n.bottom=g[2],n.right=g[3]}break;case"margin-top":n.top=ey(c);break;case"margin-bottom":n.bottom=ey(c);break;case"margin-left":n.left=ey(c);break;case"margin-right":n.right=ey(c);break;case"line-height":i=ey(c)}}}catch(e){a.e(e)}finally{a.f()}if(e.pushData(A,n,i),this[UE])e.addString(this[UE]);else{var u,l=zF(this[VE]());try{for(l.s();!(u=l.n()).done;){var h=u.value;"#text"!==h[Ed]?h[md](e):e.addString(h[UE])}}catch(e){l.e(e)}finally{l.f()}}r&&e.popFont()}},{key:Md,value:function(e){var t,r=[];return this[HE]={children:r},this[FE]({}),0!==r.length||this[UE]?(t=this[rx]?this[UE]?this[UE].replaceAll(ox,"\\n"):void 0:this[UE]||void 0,Ay.success({name:this[Ed],attributes:{href:this.href,style:sx(this.style,this,this[rx])},children:r,value:t})):Ay.EMPTY}}])}(),ux=function(e){function t(e){var r;return YF(this,t),(r=TF(this,t,[e,"a"])).href=Kp(e.href)||"",r}return _F(t,gx),OF(t)}(),lx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"b"])}return _F(t,gx),OF(t,[{key:md,value:function(e){e.pushFont({weight:"bold"}),jF(t,md,this,3)([e]),e.popFont()}}])}(),hx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"body"])}return _F(t,gx),OF(t,[{key:Md,value:function(e){var r=jF(t,Md,this,3)([e]),A=r.html;return A?(A.name="div",A.attributes.class=["xfaRich"],r):Ay.EMPTY}}])}(),Ix=function(e){function t(e){return YF(this,t),TF(this,t,[e,"br"])}return _F(t,gx),OF(t,[{key:Ld,value:function(){return"\\n"}},{key:md,value:function(e){e.addString("\\n")}},{key:Md,value:function(e){return Ay.success({name:"br"})}}])}(),fx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"html"])}return _F(t,gx),OF(t,[{key:Md,value:function(e){var t=[];if(this[HE]={children:t},this[FE]({}),0===t.length)return Ay.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[UE]||""});if(1===t.length){var r,A=t[0];if(null!==(r=A.attributes)&&void 0!==r&&r.class.includes("xfaRich"))return Ay.success(A)}return Ay.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:t})}}])}(),Cx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"i"])}return _F(t,gx),OF(t,[{key:md,value:function(e){e.pushFont({posture:"italic"}),jF(t,md,this,3)([e]),e.popFont()}}])}(),Bx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"li"])}return _F(t,gx),OF(t)}(),Qx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"ol"])}return _F(t,gx),OF(t)}(),Ex=function(e){function t(e){return YF(this,t),TF(this,t,[e,"p"])}return _F(t,gx),OF(t,[{key:md,value:function(e){jF(t,md,this,3)([e,!1]),e.addString("\\n"),e.addPara(),e.popFont()}},{key:Ld,value:function(){return this[td]()[VE]().at(-1)===this?jF(t,Ld,this,3)([]):jF(t,Ld,this,3)([])+"\\n"}}])}(),dx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"span"])}return _F(t,gx),OF(t)}(),yx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"sub"])}return _F(t,gx),OF(t)}(),px=function(e){function t(e){return YF(this,t),TF(this,t,[e,"sup"])}return _F(t,gx),OF(t)}(),vx=function(e){function t(e){return YF(this,t),TF(this,t,[e,"ul"])}return _F(t,gx),OF(t)}(),mx=function(){function e(){YF(this,e)}return OF(e,null,[{key:Pd,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"a",value:function(e){return new ux(e)}},{key:"b",value:function(e){return new lx(e)}},{key:"body",value:function(e){return new hx(e)}},{key:"br",value:function(e){return new Ix(e)}},{key:"html",value:function(e){return new fx(e)}},{key:"i",value:function(e){return new Cx(e)}},{key:"li",value:function(e){return new Bx(e)}},{key:"ol",value:function(e){return new Qx(e)}},{key:"p",value:function(e){return new Ex(e)}},{key:"span",value:function(e){return new dx(e)}},{key:"sub",value:function(e){return new yx(e)}},{key:"sup",value:function(e){return new px(e)}},{key:"ul",value:function(e){return new vx(e)}}])}(),wx={config:KD,connection:lS,datasets:wS,localeSet:aF,signature:BF,stylesheet:DF,template:Jw,xdp:HF,xhtml:mx};function bx(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,kx(A.key),A)}}function kx(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var Dx=function(){return function(e,t,r){return t&&bx(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.namespaceId=t}),[{key:Pd,value:function(e,t){return new Qp(this.namespaceId,e,t)}}])}();function Sx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||Fx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fx(e,t){if(e){if("string"==typeof e)return xx(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xx(e,t):void 0}}function xx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gx(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,Lx(A.key),A)}}function Nx(e,t,r){return t&&Gx(e.prototype,t),r&&Gx(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lx(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Ux(e,t,r){return t=Hx(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Mx()?Reflect.construct(t,r||[],Hx(e).constructor):t.apply(e,r))}function Mx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Mx=function(){return!!e})()}function Jx(){return Jx="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Hx(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},Jx.apply(null,arguments)}function Hx(e){return Hx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hx(e)}function Yx(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Px(e,t)}function Px(e,t){return Px=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Px(e,t)}var Ox=function(e){function t(e){var r;return Rx(this,t),(r=Ux(this,t,[-1,"root",Object.create(null)])).element=null,r[id]=e,r}return Yx(t,fp),Nx(t,[{key:yd,value:function(e){return this.element=e,!0}},{key:YE,value:function(){!function(e,t,r,A){var n=Jx(Hx(e.prototype),t,r);return"function"==typeof n?function(e){return n.apply(r,e)}:n}(t,YE,this)([]),this.element.template instanceof bw&&(this[id].set(Dd,this.element),this.element.template[Sd](this[id]),this.element.template[id]=this[id])}}])}(),Kx=function(e){function t(){return Rx(this,t),Ux(this,t,[-1,"",Object.create(null)])}return Yx(t,fp),Nx(t,[{key:yd,value:function(e){return!1}}])}(),Tx=function(){return Nx((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Rx(this,e),this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max.apply(Math,function(e){return function(e){if(Array.isArray(e))return xx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Fx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Object.values(Od).map((function(e){return e.id})))),this._currentNamespace=t||new Dx(++this._nextNsId)}),[{key:"buildRoot",value:function(e){return new Ox(e)}},{key:"build",value:function(e){var t=e.nsPrefix,r=e.name,A=e.attributes,n=e.namespace,i=e.prefixes,a=null!==n;if(a&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(n)),i&&this._addNamespacePrefix(i),A.hasOwnProperty(dd)){for(var o=wx.datasets,s=A[dd],c=null,g=0,u=Object.entries(s);g<u.length;g++){var l=Sx(u[g],2),h=l[0],I=l[1];if(this._getNamespaceToUse(h)===o){c={xfa:I};break}}c?A[dd]=c:delete A[dd]}var f=this._getNamespaceToUse(t),C=(null==f?void 0:f[Pd](r,A))||new Kx;return C[ld]()&&this._nsAgnosticLevel++,(a||i||C[ld]())&&(C[GE]={hasNamespace:a,prefixes:i,nsAgnostic:C[ld]()}),C}},{key:"isNsAgnostic",value:function(){return this._nsAgnosticLevel>0}},{key:"_searchNamespace",value:function(e){var t=this._namespaces.get(e);if(t)return t;for(var r=0,A=Object.entries(Od);r<A.length;r++){var n=Sx(A[r],2),i=n[0];if((0,n[1].check)(e)){if(t=wx[i])return this._namespaces.set(e,t),t;break}}return t=new Dx(++this._nextNsId),this._namespaces.set(e,t),t}},{key:"_addNamespacePrefix",value:function(e){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Fx(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(r.s();!(t=r.n()).done;){var A=t.value,n=A.prefix,i=A.value,a=this._searchNamespace(i),o=this._namespacePrefixes.get(n);o||(o=[],this._namespacePrefixes.set(n,o)),o.push(a)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_getNamespaceToUse",value:function(e){if(!e)return this._currentNamespace;var t=this._namespacePrefixes.get(e);return(null==t?void 0:t.length)>0?t.at(-1):(q("Unknown namespace prefix: ".concat(e,".")),null)}},{key:"clean",value:function(e){var t=this,r=e.hasNamespace,A=e.prefixes,n=e.nsAgnostic;r&&(this._currentNamespace=this._namespaceStack.pop()),A&&A.forEach((function(e){var r=e.prefix;t._namespacePrefixes.get(r).pop()})),n&&this._nsAgnosticLevel--}}])}();function qx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||jx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jx(e,t){if(e){if("string"==typeof e)return Wx(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wx(e,t):void 0}}function Wx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function Zx(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,_x(A.key),A)}}function _x(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function Xx(e,t,r){return t=zx(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vx()?Reflect.construct(t,r||[],zx(e).constructor):t.apply(e,r))}function Vx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vx=function(){return!!e})()}function zx(e){return zx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zx(e)}function $x(e,t){return $x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$x(e,t)}var eR=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,A=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Xx(this,t))._builder=new Tx(r),e._stack=[],e._globalData={usedTypefaces:new Set},e._ids=new Map,e._current=e._builder.buildRoot(e._ids),e._errorCode=0,e._whiteRegex=/^\\s+$/,e._nbsps=/\\xa0+/g,e._richText=A,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$x(e,t)}(t,nB),function(e,t,r){return t&&Zx(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"parse",value:function(e){if(this.parseXml(e),0===this._errorCode)return this._current[YE](),this._current.element}},{key:"onText",value:function(e){e=e.replace(this._nbsps,(function(e){return e.slice(1)+" "})),this._richText||this._current[kE]()?this._current[vd](e,this._richText):this._whiteRegex.test(e)||this._current[vd](e.trim())}},{key:"onCdata",value:function(e){this._current[vd](e)}},{key:"_mkAttributes",value:function(e,t){var r,A=null,n=null,i=Object.create({}),a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=jx(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(e);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=o.name,c=o.value;if("xmlns"===s)A?q("XFA - multiple namespace definition in <".concat(t,">")):A=c;else if(s.startsWith("xmlns:")){var g=s.substring(6);n||(n=[]),n.push({prefix:g,value:c})}else{var u=s.indexOf(":");if(-1===u)i[s]=c;else{var l,h=i[dd];h||(h=i[dd]=Object.create(null));var I=[s.slice(0,u),s.slice(u+1)],f=I[0],C=I[1];((l=h)[f]||(l[f]=Object.create(null)))[C]=c}}}}catch(e){a.e(e)}finally{a.f()}return[A,n,i]}},{key:"_getNameAndPrefix",value:function(e,t){var r=e.indexOf(":");return-1===r?[e,null]:[e.substring(r+1),t?"":e.substring(0,r)]}},{key:"onBeginElement",value:function(e,t,r){var A=qx(this._mkAttributes(t,e),3),n=A[0],i=A[1],a=A[2],o=qx(this._getNameAndPrefix(e,this._builder.isNsAgnostic()),2),s=o[0],c=o[1],g=this._builder.build({nsPrefix:c,name:s,attributes:a,namespace:n,prefixes:i});if(g[Ad]=this._globalData,r)return g[YE](),this._current[yd](g)&&g[xd](this._ids),void g[xE](this._builder);this._stack.push(this._current),this._current=g}},{key:"onEndElement",value:function(e){var r=this._current;if(r[sd]()&&"string"==typeof r[UE]){var A=new t;A._globalData=this._globalData;var n=A.parse(r[UE]);r[UE]=null,r[yd](n)}r[YE](),this._current=this._stack.pop(),this._current[yd](r)&&r[xd](this._ids),r[xE](this._builder)}},{key:"onError",value:function(e){this._errorCode=e}}])}();function tR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function rR(){rR=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function AR(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function nR(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){AR(i,A,n,a,o,"next",e)}function o(e){AR(i,A,n,a,o,"throw",e)}a(void 0)}))}}function iR(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,aR(A.key),A)}}function aR(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var oR=function(){return function(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);try{this.root=(new eR).parse(e._createDocument(t));var r=new Ww(this.root);this.form=r.bind(),this.dataHandler=new eb(this.root,r.getData()),this.form[Ad].template=this.form}catch(e){q("XFA - an error occurred during parsing and binding: ".concat(e))}}),[{key:"isValid",value:function(){return this.root&&this.form}},{key:"_createPagesHelper",value:function(){var e=this.form[Ud]();return new Promise((function(t,r){var A=function(){try{var n=e.next();n.done?t(n.value):setTimeout(A,0)}catch(e){r(e)}};setTimeout(A,0)}))}},{key:"_createPages",value:(r=nR(rR().mark((function e(){return rR().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPagesHelper();case 3:this.pages=e.sent,this.dims=this.pages.children.map((function(e){var t=e.attributes.style,r=t.width,A=t.height;return[0,0,parseInt(r),parseInt(A)]})),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),q("XFA - an error occurred during layout: ".concat(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return r.apply(this,arguments)})},{key:"getBoundingBox",value:function(e){return this.dims[e]}},{key:"getNumPages",value:(t=nR(rR().mark((function e(){return rR().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.pages){e.next=3;break}return e.next=3,this._createPages();case 3:return e.abrupt("return",this.dims.length);case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"setImages",value:function(e){this.form[Ad].images=e}},{key:"setFonts",value:function(e){this.form[Ad].fontFinder=new gy(e);var t,r=[],A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return tR(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tR(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this.form[Ad].usedTypefaces);try{for(A.s();!(t=A.n()).done;){var n=t.value;n=_d(n),this.form[Ad].fontFinder.find(n)||r.push(n)}}catch(e){A.e(e)}finally{A.f()}return r.length>0?r:null}},{key:"appendFonts",value:function(e,t){this.form[Ad].fontFinder.add(e,t)}},{key:"getPages",value:(e=nR(rR().mark((function e(){var t;return rR().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.pages){e.next=3;break}return e.next=3,this._createPages();case 3:return t=this.pages,this.pages=null,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"serializeData",value:function(e){return this.dataHandler.serialize(e)}}],[{key:"_createDocument",value:function(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}},{key:"getRichTextAsHtml",value:function(e){if(!e||"string"!=typeof e)return null;try{var t=new eR(mx,!0).parse(e);if(!["body","xhtml"].includes(t[Ed])){var r=mx.body({});r[SE](t),t=r}var A=t[Md]();if(!A.success)return null;var n=A.html,i=n.attributes;return i&&(i.class&&(i.class=i.class.filter((function(e){return!e.startsWith("xfa")}))),i.dir="auto"),{html:n,str:t[Ld]()}}catch(e){q("XFA - an error occurred during parsing of rich text: ".concat(e))}return null}}]);var e,t,r}();function sR(e,t,r){return e.set(cR(e,t),r),r}function cR(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function gR(e,t,r,A){var n=uR(fR(1&A?e.prototype:e),t,r);return 2&A&&"function"==typeof n?function(e){return n.apply(r,e)}:n}function uR(){return uR="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=fR(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},uR.apply(null,arguments)}function lR(e,t,r){return t=fR(t),hR(e,IR()?Reflect.construct(t,r||[],fR(e).constructor):t.apply(e,r))}function hR(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function IR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(IR=function(){return!!e})()}function fR(e){return fR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fR(e)}function CR(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&BR(e,t)}function BR(e,t){return BR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},BR(e,t)}function QR(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=vR(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ER(){ER=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function dR(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function yR(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){dR(i,A,n,a,o,"next",e)}function o(e){dR(i,A,n,a,o,"throw",e)}a(void 0)}))}}function pR(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||vR(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vR(e,t){if(e){if("string"==typeof e)return mR(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mR(e,t):void 0}}function mR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function wR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bR(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,DR(A.key),A)}}function kR(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function DR(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var SR=function(){return kR((function e(){wR(this,e)}),null,[{key:"createGlobals",value:function(e){return Promise.all([e.ensureCatalog("acroForm"),e.ensureDoc("xfaDatasets"),e.ensureCatalog("structTreeRoot"),e.ensureCatalog("baseUrl"),e.ensureCatalog("attachments")]).then((function(t){var r=pR(t,5),A=r[0],n=r[1],i=r[2],a=r[3],o=r[4];return{pdfManager:e,acroForm:A instanceof He?A:He.empty,xfaDatasets:n,structTreeRoot:i,baseUrl:a,attachments:o}}),(function(e){return q('createGlobals: "'.concat(e,'".')),null}))}},{key:"create",value:(A=yR(ER().mark((function e(t,r,A,n,i,a,o){var s;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=6;break}return e.next=3,this._getPageIndex(t,r,A.pdfManager);case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=null;case 7:return s=e.t0,e.abrupt("return",A.pdfManager.ensure(this,"_create",[t,r,A,n,i,a,s,o]));case 9:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n,i,a,o){return A.apply(this,arguments)})},{key:"_create",value:function(e,t,r,A){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,s=e.fetchIfRef(t);if(s instanceof He){var c=r.acroForm,g=r.pdfManager,u=t instanceof Ye?t.toString():"annot_".concat(A.createObjId()),l=s.get("Subtype"),h={xref:e,ref:t,dict:s,subtype:l=l instanceof Ue?l.name:null,id:u,annotationGlobals:r,collectFields:n,orphanFields:i,needAppearances:!n&&!0===c.get("NeedAppearances"),pageIndex:a,evaluatorOptions:g.evaluatorOptions,pageRef:o};switch(l){case"Link":return new KR(h);case"Text":return new OR(h);case"Widget":var I=yt({dict:s,key:"FT"});switch(I=I instanceof Ue?I.name:null){case"Tx":return new JR(h);case"Btn":return new HR(h);case"Ch":return new YR(h);case"Sig":return new PR(h)}return q('Unimplemented widget field type "'.concat(I,'", ')+"falling back to base field type."),new MR(h);case"Popup":return new TR(h);case"FreeText":return new qR(h);case"Line":return new jR(h);case"Square":return new WR(h);case"Circle":return new ZR(h);case"PolyLine":return new _R(h);case"Polygon":return new XR(h);case"Caret":return new VR(h);case"Ink":return new zR(h);case"Highlight":return new $R(h);case"Underline":return new eG(h);case"Squiggly":return new tG(h);case"StrikeOut":return new rG(h);case"Stamp":return new nG(h);case"FileAttachment":return new iG(h);default:return n||q(l?'Unimplemented annotation type "'.concat(l,'", ')+"falling back to base annotation.":"Annotation is missing the required /Subtype."),new NR(h)}}}},{key:"_getPageIndex",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.fetchIfRefAsync(r);case 3:if((n=e.sent)instanceof He){e.next=6;break}return e.abrupt("return",-1);case 6:if(!((i=n.getRaw("P"))instanceof Ye)){e.next=18;break}return e.prev=8,e.next=11,A.ensureCatalog("getPageIndex",[i]);case 11:return a=e.sent,e.abrupt("return",a);case 15:e.prev=15,e.t0=e.catch(8),T('_getPageIndex -- not a valid page reference: "'.concat(e.t0,'".'));case 18:if(!n.has("Kids")){e.next=20;break}return e.abrupt("return",-1);case 20:return e.next=22,A.ensureDoc("numPages");case 22:o=e.sent,s=0;case 24:if(!(s<o)){e.next=51;break}return e.next=27,A.getPage(s);case 27:return c=e.sent,e.next=30,A.ensure(c,"annotations");case 30:g=e.sent,u=QR(g),e.prev=32,u.s();case 34:if((l=u.n()).done){e.next=40;break}if(!((h=l.value)instanceof Ye&&je(h,r))){e.next=38;break}return e.abrupt("return",s);case 38:e.next=34;break;case 40:e.next=45;break;case 42:e.prev=42,e.t1=e.catch(32),u.e(e.t1);case 45:return e.prev=45,u.f(),e.finish(45);case 48:s++,e.next=24;break;case 51:e.next=56;break;case 53:e.prev=53,e.t2=e.catch(0),q('_getPageIndex: "'.concat(e.t2,'".'));case 56:return e.abrupt("return",-1);case 57:case"end":return e.stop()}}),e,null,[[0,53],[8,15],[32,42,45,48]])}))),function(e,t,A){return r.apply(this,arguments)})},{key:"generateImages",value:function(e,t,r){if(!r)return q("generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images."),null;var A,n,i=QR(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=a.bitmapId,s=a.bitmap;s&&(A||(A=new Map),A.set(o,nG.createImage(s,t)))}}catch(e){i.e(e)}finally{i.f()}return A}},{key:"saveNewAnnotations",value:(t=yR(ER().mark((function e(t,r,A,n){var i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=t.xref,o=[],s=[],c=t.options.isOffscreenCanvasSupported,g=QR(A),e.prev=5,g.s();case 7:if((u=g.n()).done){e.next=58;break}if(!(l=u.value).deleted){e.next=11;break}return e.abrupt("continue",56);case 11:e.t0=l.annotationType,e.next=3===e.t0?14:9===e.t0?27:15===e.t0?29:13===e.t0?31:56;break;case 14:if(a){e.next=25;break}return(h=new He(i)).set("BaseFont",Ue.get("Helvetica")),h.set("Type",Ue.get("Font")),h.set("Subtype",Ue.get("Type1")),h.set("Encoding",Ue.get("WinAnsiEncoding")),I=[],a=i.getNewTemporaryRef(),e.next=24,iQ(a,h,I,i);case 24:o.push({ref:a,data:I.join("")});case 25:return s.push(qR.createNewAnnotation(i,l,o,{evaluator:t,task:r,baseFontRef:a})),e.abrupt("break",56);case 27:return l.quadPoints?s.push($R.createNewAnnotation(i,l,o)):s.push(zR.createNewAnnotation(i,l,o)),e.abrupt("break",56);case 29:return s.push(zR.createNewAnnotation(i,l,o)),e.abrupt("break",56);case 31:if(!c){e.next=37;break}return e.next=34,null==n?void 0:n.get(l.bitmapId);case 34:e.t1=e.sent,e.next=38;break;case 37:e.t1=null;case 38:if(null==(f=e.t1)||!f.imageStream){e.next=54;break}if(C=f.imageStream,B=f.smaskStream,Q=[],!B){e.next=49;break}return E=i.getNewTemporaryRef(),e.next=46,iQ(E,B,Q,i);case 46:o.push({ref:E,data:Q.join("")}),C.dict.set("SMask",E),Q.length=0;case 49:return d=f.imageRef=i.getNewTemporaryRef(),e.next=52,iQ(d,C,Q,i);case 52:o.push({ref:d,data:Q.join("")}),f.imageStream=f.smaskStream=null;case 54:return s.push(nG.createNewAnnotation(i,l,o,{image:f})),e.abrupt("break",56);case 56:e.next=7;break;case 58:e.next=63;break;case 60:e.prev=60,e.t2=e.catch(5),g.e(e.t2);case 63:return e.prev=63,g.f(),e.finish(63);case 66:return e.next=68,Promise.all(s);case 68:return e.t3=e.sent,e.t4=o,e.abrupt("return",{annotations:e.t3,dependencies:e.t4});case 71:case"end":return e.stop()}}),e,null,[[5,60,63,66]])}))),function(e,r,A,n){return t.apply(this,arguments)})},{key:"printNewAnnotations",value:(e=yR(ER().mark((function e(t,r,A,n,i){var a,o,s,c,g,u,l,h,I;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:a=r.options,o=r.xref,s=[],c=QR(n),e.prev=5,c.s();case 7:if((g=c.n()).done){e.next=33;break}if(!(u=g.value).deleted){e.next=11;break}return e.abrupt("continue",31);case 11:e.t0=u.annotationType,e.next=3===e.t0?14:9===e.t0?16:15===e.t0?18:13===e.t0?20:31;break;case 14:return s.push(qR.createNewPrintAnnotation(t,o,u,{evaluator:r,task:A,evaluatorOptions:a})),e.abrupt("break",31);case 16:return u.quadPoints?s.push($R.createNewPrintAnnotation(t,o,u,{evaluatorOptions:a})):s.push(zR.createNewPrintAnnotation(t,o,u,{evaluatorOptions:a})),e.abrupt("break",31);case 18:return s.push(zR.createNewPrintAnnotation(t,o,u,{evaluatorOptions:a})),e.abrupt("break",31);case 20:if(!a.isOffscreenCanvasSupported){e.next=26;break}return e.next=23,null==i?void 0:i.get(u.bitmapId);case 23:e.t1=e.sent,e.next=27;break;case 26:e.t1=null;case 27:return null!=(l=e.t1)&&l.imageStream&&(h=l.imageStream,(I=l.smaskStream)&&h.dict.set("SMask",I),l.imageRef=new Ja(h,h.length),l.imageStream=l.smaskStream=null),s.push(nG.createNewPrintAnnotation(t,o,u,{image:l,evaluatorOptions:a})),e.abrupt("break",31);case 31:e.next=7;break;case 33:e.next=38;break;case 35:e.prev=35,e.t2=e.catch(5),c.e(e.t2);case 38:return e.prev=38,c.f(),e.finish(38);case 41:return e.abrupt("return",Promise.all(s));case 42:case"end":return e.stop()}}),e,null,[[5,35,38,41]])}))),function(t,r,A,n,i){return e.apply(this,arguments)})}]);var e,t,r,A}();function FR(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(e))return t;var r=t||new Uint8ClampedArray(3);switch(e.length){case 0:return null;case 1:return Ur.singletons.gray.getRgbItem(e,0,r,0),r;case 3:return Ur.singletons.rgb.getRgbItem(e,0,r,0),r;case 4:return Ur.singletons.cmyk.getRgbItem(e,0,r,0),r;default:return t}}function xR(e){return Array.from(e,(function(e){return e/255}))}function RR(e,t){var r=e.getArray("QuadPoints");if(!St(r,null)||0===r.length||r.length%8>0)return null;for(var A=new Float32Array(r.length),n=0,i=r.length;n<i;n+=8){var a=pR(r.slice(n,n+8),8),o=a[0],s=a[1],c=a[2],g=a[3],u=a[4],l=a[5],h=a[6],I=a[7],f=Math.min(o,c,u,h),C=Math.max(o,c,u,h),B=Math.min(s,g,l,I),Q=Math.max(s,g,l,I);if(null!==t&&(f<t[0]||C>t[2]||B<t[1]||Q>t[3]))return null;A.set([f,Q,C,Q,f,B,C,B],n)}return A}function GR(e,t,r){var A=pR(ge.getAxialAlignedBoundingBox(t,r),4),n=A[0],i=A[1],a=A[2],o=A[3];if(n===a||i===o)return[1,0,0,1,e[0],e[1]];var s=(e[2]-e[0])/(a-n),c=(e[3]-e[1])/(o-i);return[s,0,0,c,e[0]-n*s,e[1]-i*c]}var NR=function(){return kR((function e(t){wR(this,e);var r=t.dict,A=t.xref,n=t.annotationGlobals,i=t.ref,a=t.orphanFields,o=null==a?void 0:a.get(i);o&&r.set("Parent",o),this.setTitle(r.get("T")),this.setContents(r.get("Contents")),this.setModificationDate(r.get("M")),this.setFlags(r.get("F")),this.setRectangle(r.getArray("Rect")),this.setColor(r.getArray("C")),this.setBorderStyle(r),this.setAppearance(r),this.setOptionalContent(r);var s=r.get("MK");this.setBorderAndBackgroundColors(s),this.setRotation(s,r),this.ref=t.ref instanceof Ye?t.ref:null,this._streams=[],this.appearance&&this._streams.push(this.appearance);var c=!!(128&this.flags),g=!!(512&this.flags);if(this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:t.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:t.subtype,hasOwnCanvas:!1,noRotate:!!(16&this.flags),noHTML:c&&g,isEditable:!1,structParent:-1},n.structTreeRoot){var u=r.get("StructParent");this.data.structParent=u=Number.isInteger(u)&&u>=0?u:-1,n.structTreeRoot.addAnnotationIdToPage(t.pageRef,u)}if(t.collectFields){var l=r.get("Kids");if(Array.isArray(l)){var h,I=[],f=QR(l);try{for(f.s();!(h=f.n()).done;){var C=h.value;C instanceof Ye&&I.push(C.toString())}}catch(e){f.e(e)}finally{f.f()}0!==I.length&&(this.data.kidIds=I)}this.data.actions=Mt(A,r,b),this.data.fieldName=this._constructFieldName(r),this.data.pageIndex=t.pageIndex}var B=r.get("IT");B instanceof Ue&&(this.data.it=B.name),this._isOffscreenCanvasSupported=t.evaluatorOptions.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}),[{key:"_hasFlag",value:function(e,t){return!!(e&t)}},{key:"_buildFlags",value:function(e,t){var r=this.flags;if(void 0===e){if(void 0===t)return;return t?-5&r:-3&r|4}return e?(r|=4,t?-33&r|2:-3&r|v):(r&=-35,t?-5&r:4|r)}},{key:"_isViewable",value:function(e){return!this._hasFlag(e,1)&&!this._hasFlag(e,v)}},{key:"_isPrintable",value:function(e){return this._hasFlag(e,4)&&!this._hasFlag(e,2)&&!this._hasFlag(e,1)}},{key:"mustBeViewed",value:function(e,t){var r,A=null==e||null===(r=e.get(this.data.id))||void 0===r?void 0:r.noView;return void 0!==A?!A:this.viewable&&!this._hasFlag(this.flags,2)}},{key:"mustBePrinted",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.noPrint;return void 0!==r?!r:this.printable}},{key:"mustBeViewedWhenEditing",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?!this.data.isEditable:!(null!=t&&t.has(this.data.id))}},{key:"viewable",get:function(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}},{key:"printable",get:function(){return null!==this.data.quadPoints&&0!==this.flags&&this._isPrintable(this.flags)}},{key:"_parseStringHelper",value:function(e){var t="string"==typeof e?Ie(e):"";return{str:t,dir:t&&"rtl"===UI(t).dir?"rtl":"ltr"}}},{key:"setDefaultAppearance",value:function(e){var t=e.dict,r=e.annotationGlobals,A=yt({dict:t,key:"DA"})||r.acroForm.get("DA");this._defaultAppearance="string"==typeof A?A:"",this.data.defaultAppearanceData=dC(this._defaultAppearance)}},{key:"setTitle",value:function(e){this._title=this._parseStringHelper(e)}},{key:"setContents",value:function(e){this._contents=this._parseStringHelper(e)}},{key:"setModificationDate",value:function(e){this.modificationDate="string"==typeof e?e:null}},{key:"setFlags",value:function(e){this.flags=Number.isInteger(e)&&e>0?e:0,1&this.flags&&"Annotation"!==this.constructor.name&&(this.flags^=1)}},{key:"hasFlag",value:function(e){return this._hasFlag(this.flags,e)}},{key:"setRectangle",value:function(e){this.rectangle=Rt(e,[0,0,0,0])}},{key:"setColor",value:function(e){this.color=FR(e)}},{key:"setLineEndings",value:function(e){if(this.lineEndings=["None","None"],Array.isArray(e)&&2===e.length)for(var t=0;t<2;t++){var r=e[t];if(r instanceof Ue)switch(r.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[t]=r.name;continue}q("Ignoring invalid lineEnding: ".concat(r))}}},{key:"setRotation",value:function(e,t){this.rotation=0;var r=e instanceof He?e.get("R")||0:t.get("Rotate")||0;Number.isInteger(r)&&0!==r&&((r%=360)<0&&(r+=360),r%90==0&&(this.rotation=r))}},{key:"setBorderAndBackgroundColors",value:function(e){e instanceof He?(this.borderColor=FR(e.getArray("BC"),null),this.backgroundColor=FR(e.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}},{key:"setBorderStyle",value:function(e){if(this.borderStyle=new LR,e instanceof He)if(e.has("BS")){var t=e.get("BS");if(t instanceof He){var r=t.get("Type");r&&!Ke(r,"Border")||(this.borderStyle.setWidth(t.get("W"),this.rectangle),this.borderStyle.setStyle(t.get("S")),this.borderStyle.setDashArray(t.getArray("D")))}}else if(e.has("Border")){var A=e.getArray("Border");Array.isArray(A)&&A.length>=3&&(this.borderStyle.setHorizontalCornerRadius(A[0]),this.borderStyle.setVerticalCornerRadius(A[1]),this.borderStyle.setWidth(A[2],this.rectangle),4===A.length&&this.borderStyle.setDashArray(A[3],!0))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(e){this.appearance=null;var t=e.get("AP");if(t instanceof He){var r=t.get("N");if(r instanceof ze)this.appearance=r;else if(r instanceof He){var A=e.get("AS");if(A instanceof Ue&&r.has(A.name)){var n=r.get(A.name);n instanceof ze&&(this.appearance=n)}}}}},{key:"setOptionalContent",value:function(e){this.oc=null;var t=e.get("OC");t instanceof Ue?q("setOptionalContent: Support for /Name-entry is not implemented."):t instanceof He&&(this.oc=t)}},{key:"loadResources",value:function(e,t){return t.dict.getAsync("Resources").then((function(t){if(t)return new bE(t,e,t.xref).load().then((function(){return t}))}))}},{key:"getOperatorList",value:(r=yR(ER().mark((function e(t,r,A,n){var i,a,o,s,c,g,u,l,h,I,f,B,Q;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=this.data,a=i.hasOwnCanvas,o=i.id,s=i.rect,c=this.appearance,!(g=!!(a&&2&A))||s[0]!==s[2]&&s[1]!==s[3]){e.next=6;break}return this.data.hasOwnCanvas=!1,e.abrupt("return",{opList:new kf,separateForm:!1,separateCanvas:!1});case 6:if(c){e.next=11;break}if(g){e.next=9;break}return e.abrupt("return",{opList:new kf,separateForm:!1,separateCanvas:!1});case 9:(c=new or("")).dict=new He;case 11:return u=c.dict,e.next=14,this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],c);case 14:if(l=e.sent,h=xt(u.getArray("BBox"),[0,0,1,1]),I=Ft(u.getArray("Matrix"),C),f=GR(s,h,I),B=new kf,!this.oc){e.next=23;break}return e.next=22,t.parseMarkedContentProps(this.oc,null);case 22:Q=e.sent;case 23:return void 0!==Q&&B.addOp(J,["OC",Q]),B.addOp(80,[o,s,f,I,g]),e.next=27,t.getOperatorList({stream:c,task:r,resources:l,operatorList:B,fallbackFontDict:this._fallbackFontDict});case 27:return B.addOp(81,[]),void 0!==Q&&B.addOp(H,[]),this.reset(),e.abrupt("return",{opList:B,separateForm:!1,separateCanvas:g});case 31:case"end":return e.stop()}}),e,this)}))),function(e,t,A,n){return r.apply(this,arguments)})},{key:"save",value:(t=yR(ER().mark((function e(t,r,A){return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)}))),function(e,r,A){return t.apply(this,arguments)})},{key:"hasTextContent",get:function(){return!1}},{key:"extractTextContent",value:(e=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.appearance){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance);case 4:return n=e.sent,i=[],a=[],o=null,e.t0=Math.Infinity,u={desiredSize:e.t0,ready:!0,enqueue(e,t){s=QR(e.items);try{for(s.s();!(c=s.n()).done;)void 0!==(g=c.value).str&&(o||(o=g.transform.slice(-2)),a.push(g.str),g.hasEOL&&(i.push(a.join("").trimEnd()),a.length=0))}catch(e){s.e(e)}finally{s.f()}}},e.next=12,t.getTextContent({stream:this.appearance,task:r,resources:n,includeMarkedContent:!0,keepWhiteSpace:!0,sink:u,viewBox:A});case 12:this.reset(),a.length&&i.push(a.join("").trimEnd()),(i.length>1||i[0])&&(l=this.appearance.dict,h=xt(l.getArray("BBox"),null),I=Ft(l.getArray("Matrix"),null),this.data.textPosition=this._transformPoint(o,h,I),this.data.textContent=i);case 15:case"end":return e.stop()}}),e,this)}))),function(t,r,A){return e.apply(this,arguments)})},{key:"_transformPoint",value:function(e,t,r){var A=this.data.rect;t||(t=[0,0,1,1]),r||(r=[1,0,0,1,0,0]);var n=GR(A,t,r);return n[4]-=A[0],n[5]-=A[1],e=ge.applyTransform(e,n),ge.applyTransform(e,r)}},{key:"getFieldObject",value:function(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}},{key:"reset",value:function(){var e,t=QR(this._streams);try{for(t.s();!(e=t.n()).done;)e.value.reset()}catch(e){t.e(e)}finally{t.f()}}},{key:"_constructFieldName",value:function(e){if(!e.has("T")&&!e.has("Parent"))return q("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return Ie(e.get("T"));var t=[];e.has("T")&&t.unshift(Ie(e.get("T")));var r=e,A=new Pe;for(e.objId&&A.put(e.objId);r.has("Parent")&&(r=r.get("Parent"))instanceof He&&(!r.objId||!A.has(r.objId));)r.objId&&A.put(r.objId),r.has("T")&&t.unshift(Ie(r.get("T")));return t.join(".")}}]);var e,t,r}(),LR=function(){return kR((function e(){wR(this,e),this.width=1,this.rawWidth=1,this.style=1,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}),[{key:"setWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0,0];if(e instanceof Ue)this.width=0;else if("number"==typeof e){if(e>0){this.rawWidth=e;var r=(t[2]-t[0])/2,A=(t[3]-t[1])/2;r>0&&A>0&&(e>r||e>A)&&(q("AnnotationBorderStyle.setWidth - ignoring width: ".concat(e)),e=1)}this.width=e}}},{key:"setStyle",value:function(e){if(e instanceof Ue)switch(e.name){case"S":this.style=1;break;case"D":this.style=2;break;case"B":this.style=3;break;case"I":this.style=4;break;case"U":this.style=5}}},{key:"setDashArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){var r,A=!0,n=!0,i=QR(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(!(+a>=0)){A=!1;break}a>0&&(n=!1)}}catch(e){i.e(e)}finally{i.f()}0===e.length||A&&!n?(this.dashArray=e,t&&this.setStyle(Ue.get("D"))):this.width=0}else e&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}},{key:"setVerticalCornerRadius",value:function(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}])}(),UR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict;if(A.has("IRT")){var n=A.getRaw("IRT");r.data.inReplyTo=n instanceof Ye?n.toString():null;var i=A.get("RT");r.data.replyType=i instanceof Ue?i.name:"R"}var a=null;if(r.data.replyType===p){var o=A.get("IRT");r.setTitle(o.get("T")),r.data.titleObj=r._title,r.setContents(o.get("Contents")),r.data.contentsObj=r._contents,o.has("CreationDate")?(r.setCreationDate(o.get("CreationDate")),r.data.creationDate=r.creationDate):r.data.creationDate=null,o.has("M")?(r.setModificationDate(o.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,a=o.getRaw("Popup"),o.has("C")?(r.setColor(o.getArray("C")),r.data.color=r.color):r.data.color=null}else r.data.titleObj=r._title,r.setCreationDate(A.get("CreationDate")),r.data.creationDate=r.creationDate,a=A.getRaw("Popup"),A.has("C")||(r.data.color=null);return r.data.popupRef=a instanceof Ye?a.toString():null,A.has("RC")&&(r.data.richText=oR.getRichTextAsHtml(A.get("RC"))),r}return CR(t,NR),kR(t,[{key:"setCreationDate",value:function(e){this.creationDate="string"==typeof e?e:null}},{key:"_setDefaultAppearance",value:function(e){var t=e.xref,r=e.extra,A=e.strokeColor,n=e.fillColor,i=e.blendMode,a=e.strokeAlpha,o=e.fillAlpha,s=e.pointsCallback,c=Number.MAX_VALUE,g=Number.MAX_VALUE,u=Number.MIN_VALUE,l=Number.MIN_VALUE,h=["q"];r&&h.push(r),A&&h.push("".concat(A[0]," ").concat(A[1]," ").concat(A[2]," RG")),n&&h.push("".concat(n[0]," ").concat(n[1]," ").concat(n[2]," rg"));var I=this.data.quadPoints;I||(I=Float32Array.from([this.rectangle[0],this.rectangle[3],this.rectangle[2],this.rectangle[3],this.rectangle[0],this.rectangle[1],this.rectangle[2],this.rectangle[1]]));for(var f=0,C=I.length;f<C;f+=8){var B=pR(s(h,I.subarray(f,f+8)),4),Q=B[0],E=B[1],d=B[2],y=B[3];c=Math.min(c,Q),u=Math.max(u,E),g=Math.min(g,d),l=Math.max(l,y)}h.push("Q");var p=new He(t),v=new He(t);v.set("Subtype",Ue.get("Form"));var m=new or(h.join(" "));m.dict=v,p.set("Fm0",m);var w=new He(t);i&&w.set("BM",Ue.get(i)),"number"==typeof a&&w.set("CA",a),"number"==typeof o&&w.set("ca",o);var b=new He(t);b.set("GS0",w);var k=new He(t);k.set("ExtGState",b),k.set("XObject",p);var D=new He(t);D.set("Resources",k);var S=this.data.rect=[c,g,u,l];D.set("BBox",S),this.appearance=new or("/GS0 gs /Fm0 Do"),this.appearance.dict=D,this._streams.push(this.appearance,m)}}],[{key:"createNewAnnotation",value:(A=yR(ER().mark((function e(t,r,A,n){var i,a,o,s,c;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.ref||(r.ref=t.getNewTemporaryRef()),i=r.ref,e.next=4,this.createNewAppearanceStream(r,t,n);case 4:if(a=e.sent,o=[],!a){e.next=14;break}return c=t.getNewTemporaryRef(),s=this.createNewDict(r,t,{apRef:c}),e.next=11,iQ(c,a,o,t);case 11:A.push({ref:c,data:o.join("")}),e.next=15;break;case 14:s=this.createNewDict(r,t,{});case 15:return Number.isInteger(r.parentTreeId)&&s.set("StructParent",r.parentTreeId),o.length=0,e.next=19,iQ(i,s,o,t);case 19:return e.abrupt("return",{ref:i,data:o.join("")});case 20:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return A.apply(this,arguments)})},{key:"createNewPrintAnnotation",value:(r=yR(ER().mark((function e(t,r,A,n){var i,a,o;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createNewAppearanceStream(A,r,n);case 2:return i=e.sent,a=this.createNewDict(A,r,i?{ap:i}:{}),o=new this.prototype.constructor({dict:a,xref:r,annotationGlobals:t,evaluatorOptions:n.evaluatorOptions}),A.ref&&(o.ref=o.refToReplace=A.ref),e.abrupt("return",o);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t,A,n){return r.apply(this,arguments)})}]);var r,A}(),MR=function(e){function t(e){var r,A;wR(this,t),A=lR(this,t,[e]);var n=e.dict,i=e.xref,a=e.annotationGlobals,o=A.data;A._needAppearances=e.needAppearances,o.annotationType=20,void 0===o.fieldName&&(o.fieldName=A._constructFieldName(n)),void 0===o.actions&&(o.actions=Mt(i,n,b));var s=yt({dict:n,key:"V",getArray:!0});o.fieldValue=A._decodeFormValue(s);var c=yt({dict:n,key:"DV",getArray:!0});if(o.defaultFieldValue=A._decodeFormValue(c),void 0===s&&a.xfaDatasets){var g=A._title.str;g&&(A._hasValueFromXFA=!0,o.fieldValue=s=a.xfaDatasets.getValue(g))}void 0===s&&null!==o.defaultFieldValue&&(o.fieldValue=o.defaultFieldValue),o.alternativeText=Ie(n.get("TU")||""),A.setDefaultAppearance(e),o.hasAppearance||(o.hasAppearance=A._needAppearances&&void 0!==o.fieldValue&&null!==o.fieldValue);var u=yt({dict:n,key:"FT"});o.fieldType=u instanceof Ue?u.name:null;var l=yt({dict:n,key:"DR"}),h=a.acroForm.get("DR"),I=null===(r=A.appearance)||void 0===r?void 0:r.dict.get("Resources");return A._fieldResources={localResources:l,acroFormResources:h,appearanceResources:I,mergedResources:He.merge({xref:i,dictArray:[l,I,h],mergeSubDicts:!0})},o.fieldFlags=yt({dict:n,key:"Ff"}),(!Number.isInteger(o.fieldFlags)||o.fieldFlags<0)&&(o.fieldFlags=0),o.readOnly=A.hasFieldFlag(1),o.required=A.hasFieldFlag(2),o.hidden=A._hasFlag(o.annotationFlags,2)||A._hasFlag(o.annotationFlags,v),A}return CR(t,NR),kR(t,[{key:"_decodeFormValue",value:function(e){return Array.isArray(e)?e.filter((function(e){return"string"==typeof e})).map((function(e){return Ie(e)})):e instanceof Ue?Ie(e.name):"string"==typeof e?Ie(e):null}},{key:"hasFieldFlag",value:function(e){return!!(this.data.fieldFlags&e)}},{key:"_isViewable",value:function(e){return!0}},{key:"mustBeViewed",value:function(e,r){return r?this.viewable:gR(t,"mustBeViewed",this,3)([e,r])&&!this._hasFlag(this.flags,v)}},{key:"getRotationMatrix",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.rotation;return void 0===r&&(r=this.rotation),0===r?C:_t(r,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1])}},{key:"getBorderAndBackgroundAppearances",value:function(e){var t,r=null==e||null===(t=e.get(this.data.id))||void 0===t?void 0:t.rotation;if(void 0===r&&(r=this.rotation),!this.backgroundColor&&!this.borderColor)return"";var A=this.data.rect[2]-this.data.rect[0],n=this.data.rect[3]-this.data.rect[1],i=0===r||180===r?"0 0 ".concat(A," ").concat(n," re"):"0 0 ".concat(n," ").concat(A," re"),a="";if(this.backgroundColor&&(a="".concat(pC(this.backgroundColor,!0)," ").concat(i," f ")),this.borderColor){var o=this.borderStyle.width||1;a+="".concat(o," w ").concat(pC(this.borderColor,!1)," ").concat(i," S ")}return a}},{key:"getOperatorList",value:(i=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l,h;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(16&n)||this instanceof PR||this.data.noHTML||this.data.hasOwnCanvas){e.next=2;break}return e.abrupt("return",{opList:new kf,separateForm:!0,separateCanvas:!1});case 2:if(this._hasText){e.next=4;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,i]));case 4:return e.next=6,this._getAppearance(r,A,n,i);case 6:if(a=e.sent,!this.appearance||null!==a){e.next=9;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,i]));case 9:if(o=new kf,this._defaultAppearance&&null!==a){e.next=12;break}return e.abrupt("return",{opList:o,separateForm:!1,separateCanvas:!1});case 12:if(s=!!(this.data.hasOwnCanvas&&2&n),c=[1,0,0,1,0,0],g=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],u=GR(this.data.rect,g,c),!this.oc){e.next=20;break}return e.next=19,r.parseMarkedContentProps(this.oc,null);case 19:l=e.sent;case 20:return void 0!==l&&o.addOp(J,["OC",l]),o.addOp(80,[this.data.id,this.data.rect,u,this.getRotationMatrix(i),s]),h=new or(a),e.next=25,r.getOperatorList({stream:h,task:A,resources:this._fieldResources.mergedResources,operatorList:o});case 25:return o.addOp(81,[]),void 0!==l&&o.addOp(H,[]),e.abrupt("return",{opList:o,separateForm:!1,separateCanvas:s});case 28:case"end":return e.stop()}}),e,this)}))),function(e,t,r,A){return i.apply(this,arguments)})},{key:"_getMKDict",value:function(e){var t=new He(null);return e&&t.set("R",e),this.borderColor&&t.set("BC",xR(this.borderColor)),this.backgroundColor&&t.set("BG",xR(this.backgroundColor)),t.size>0?t:null}},{key:"amendSavedDict",value:function(e,t){}},{key:"save",value:(n=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,B,Q,E,d,y,p,v,m,w,b,k,D;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null==A?void 0:A.get(this.data.id),a=this._buildFlags(null==i?void 0:i.noView,null==i?void 0:i.noPrint),o=null==i?void 0:i.value,s=null==i?void 0:i.rotation,o!==this.data.fieldValue&&void 0!==o){e.next=7;break}if(this._hasValueFromXFA||void 0!==s||void 0!==a){e.next=6;break}return e.abrupt("return",null);case 6:o||(o=this.data.fieldValue);case 7:if(void 0!==s||this._hasValueFromXFA||!Array.isArray(o)||!Array.isArray(this.data.fieldValue)||!Be(o,this.data.fieldValue)||void 0!==a){e.next=9;break}return e.abrupt("return",null);case 9:if(void 0===s&&(s=this.rotation),c=null,this._needAppearances){e.next=19;break}return e.next=14,this._getAppearance(t,r,8,A);case 14:if(null!==(c=e.sent)||void 0!==a){e.next=17;break}return e.abrupt("return",null);case 17:e.next=19;break;case 19:if(g=!1,null!==(n=c)&&void 0!==n&&n.needAppearances&&(g=!0,c=null),u=t.xref,(l=u.fetchIfRef(this.ref))instanceof He){e.next=25;break}return e.abrupt("return",null);case 25:h=new He(u),I=QR(l.getKeys());try{for(I.s();!(f=I.n()).done;)"AP"!==(B=f.value)&&h.set(B,l.getRaw(B))}catch(e){I.e(e)}finally{I.f()}if(void 0!==a&&(h.set("F",a),null!==c||g||(Q=l.getRaw("AP"))&&h.set("AP",Q)),E={path:this.data.fieldName,value:o},h.set("V",Array.isArray(o)?o.map(jt):jt(o)),this.amendSavedDict(A,h),(d=this._getMKDict(s))&&h.set("MK",d),y=[],p=[{ref:this.ref,data:"",xfa:E,needAppearances:g}],null===c){e.next=53;break}return v=u.getNewTemporaryRef(),m=new He(u),h.set("AP",m),m.set("N",v),w=this._getSaveFieldResources(u),b=new or(c),(k=b.dict=new He(u)).set("Subtype",Ue.get("Form")),k.set("Resources",w),k.set("BBox",[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]]),(D=this.getRotationMatrix(A))!==C&&k.set("Matrix",D),e.next=51,iQ(v,b,y,u);case 51:p.push({ref:v,data:y.join(""),xfa:null,needAppearances:!1}),y.length=0;case 53:return h.set("M","D:".concat(Qe())),e.next=56,iQ(this.ref,h,y,u);case 56:return p[0].data=y.join(""),e.abrupt("return",p);case 58:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_getAppearance",value:(A=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l,h,I,f,C,B,Q,d,y,p,v,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,T,j,Z,_,X,V,z,$;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.hasFieldFlag(m)){e.next=3;break}return e.abrupt("return",null);case 3:if((a=null==i?void 0:i.get(this.data.id))&&(o=a.formattedValue||a.value,s=a.rotation),void 0!==s||void 0!==o||this._needAppearances){e.next=8;break}if(this._hasValueFromXFA&&!this.appearance){e.next=8;break}return e.abrupt("return",null);case 8:if(c=this.getBorderAndBackgroundAppearances(i),void 0!==o){e.next=13;break}if(o=this.data.fieldValue){e.next=13;break}return e.abrupt("return","/Tx BMC q ".concat(c,"Q EMC"));case 13:if(Array.isArray(o)&&1===o.length&&(o=o[0]),W("string"==typeof o,"Expected \`value\` to be a string."),o=o.trimEnd(),this.data.combo&&(g=this.data.options.find((function(e){var t=e.exportValue;return o===t})),o=(null==g?void 0:g.displayValue)||o),""!==o){e.next=19;break}return e.abrupt("return","/Tx BMC q ".concat(c,"Q EMC"));case 19:return void 0===s&&(s=this.rotation),u=-1,this.data.multiLine?(l=o.split(/\\r\\n?|\\n/).map((function(e){return e.normalize("NFC")})),u=l.length):l=[o.replace(/\\r\\n?|\\n/,"").normalize("NFC")],h=1,I=2,f=this.data.rect[3]-this.data.rect[1],C=this.data.rect[2]-this.data.rect[0],90!==s&&270!==s||(C=(B=[f,C])[0],f=B[1]),this._defaultAppearance||(this.data.defaultAppearanceData=dC(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=30,t._getFontData(r,A,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 30:Q=e.sent,v=[],w=!1,b=QR(l);try{for(b.s();!(k=b.n()).done;)D=k.value,(S=Q.encodeString(D)).length>1&&(w=!0),v.push(S.join(""))}catch(e){b.e(e)}finally{b.f()}if(!(w&&8&n)){e.next=37;break}return e.abrupt("return",{needAppearances:!0});case 37:if(!w||!this._isOffscreenCanvasSupported){e.next=59;break}if(F=this.data.comb?"monospace":"sans-serif",x=new vC(r.xref,F),R=x.createFontResources(l.join("")),G=R.getRaw("Font"),this._fieldResources.mergedResources.has("Font")){N=this._fieldResources.mergedResources.get("Font"),L=QR(G.getKeys());try{for(L.s();!(U=L.n()).done;)M=U.value,N.set(M,G.getRaw(M))}catch(e){L.e(e)}finally{L.f()}}else this._fieldResources.mergedResources.set("Font",G);return J=x.fontName.name,e.next=46,t._getFontData(r,A,{fontName:J,fontSize:0},R);case 46:for(Q=e.sent,H=0,Y=v.length;H<Y;H++)v[H]=Zt(l[H]);P=Object.assign(Object.create(null),this.data.defaultAppearanceData),this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=J,O=this._computeFontSize(f-2*h,C-2*I,o,Q,u),K=pR(O,3),d=K[0],y=K[1],p=K[2],this.data.defaultAppearanceData=P,e.next=65;break;case 59:this._isOffscreenCanvasSupported||q("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."),T=this._computeFontSize(f-2*h,C-2*I,o,Q,u),j=pR(T,3),d=j[0],y=j[1],p=j[2];case 65:if(Z=Q.descent,Z=isNaN(Z)?E*p:Math.max(E*p,Math.abs(Z)*y),_=Math.min(Math.floor((f-y)/2),h),X=this.data.textAlignment,!this.data.multiLine){e.next=71;break}return e.abrupt("return",this._getMultilineAppearance(d,v,Q,y,C,f,X,I,_,Z,p,i));case 71:if(!this.data.comb){e.next=73;break}return e.abrupt("return",this._getCombAppearance(d,Q,v[0],y,C,f,I,_,Z,p,i));case 73:if(V=_+Z,!(0===X||X>2)){e.next=76;break}return e.abrupt("return","/Tx BMC q ".concat(c,"BT ")+d+" 1 0 0 1 ".concat(Tt(I)," ").concat(Tt(V)," Tm (").concat(Lt(v[0]),") Tj")+" ET Q EMC");case 76:return z={shift:0},$=this._renderText(v[0],Q,y,C,X,z,I,V),e.abrupt("return","/Tx BMC q ".concat(c,"BT ")+d+" 1 0 0 1 0 0 Tm ".concat($)+" ET Q EMC");case 79:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return A.apply(this,arguments)})},{key:"_getTextWidth",value:function(e,t){return t.charsToGlyphs(e).reduce((function(e,t){return e+t.width}),0)/1e3}},{key:"_computeFontSize",value:function(e,t,r,A,n){var i=this,a=this.data.defaultAppearanceData.fontSize,o=(a||12)*Q,s=Math.round(e/o);if(!a){var c=function(e){return Math.floor(100*e)/100};if(-1===n){var g=this._getTextWidth(r,A);a=c(Math.min(e/Q,t/g)),s=1}else{var u,l=r.split(/\\r\\n?|\\n/),h=[],I=QR(l);try{for(I.s();!(u=I.n()).done;){var f=u.value,C=A.encodeString(f).join(""),B=A.charsToGlyphs(C),E=A.getCharPositions(C);h.push({line:C,glyphs:B,positions:E})}}catch(e){I.e(e)}finally{I.f()}var d=function(r){for(var n=0,a=0,o=h;a<o.length;a++){var s=o[a];if((n+=i._splitLine(null,A,r,t,s).length*r)>e)return!0}return!1};for(s=Math.max(s,n);d(a=c((o=e/s)/Q));)s++}var y=this.data.defaultAppearanceData,p=y.fontName,v=y.fontColor;this._defaultAppearance=function(e){var t=e.fontSize,r=e.fontColor;return"/".concat(Nt(e.fontName)," ").concat(t," Tf ").concat(pC(r,!0))}({fontSize:a,fontName:p,fontColor:v})}return[this._defaultAppearance,a,e/s]}},{key:"_renderText",value:function(e,t,r,A,n,i,a,o){var s,c=Tt((s=1===n?(A-this._getTextWidth(e,t)*r)/2:2===n?A-this._getTextWidth(e,t)*r-a:a)-i.shift);return i.shift=s,o=Tt(o),"".concat(c," ").concat(o," Td (").concat(Lt(e),") Tj")}},{key:"_getSaveFieldResources",value:function(e){var t,r=this._fieldResources,A=r.localResources,n=r.appearanceResources,i=r.acroFormResources,a=null===(t=this.data.defaultAppearanceData)||void 0===t?void 0:t.fontName;if(!a)return A||He.empty;for(var o=0,s=[A,n];o<s.length;o++){var c=s[o];if(c instanceof He){var g=c.get("Font");if(g instanceof He&&g.has(a))return c}}if(i instanceof He){var u=i.get("Font");if(u instanceof He&&u.has(a)){var l=new He(e);l.set(a,u.getRaw(a));var h=new He(e);return h.set("Font",l),He.merge({xref:e,dictArray:[h,A],mergeSubDicts:!0})}}return A||He.empty}},{key:"getFieldObject",value:function(){return null}}],[{key:"_getFontData",value:(r=yR(ER().mark((function e(t,r,A,n){var i,a,o,s;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=new kf,a={font:null,clone(){return this}},o=A.fontName,s=A.fontSize,e.next=5,t.handleSetFont(n,[o&&Ue.get(o),s],null,i,r,a,null);case 5:return e.abrupt("return",a.font);case 6:case"end":return e.stop()}}),e)}))),function(e,t,A,n){return r.apply(this,arguments)})}]);var r,A,n,i}(),JR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict;A.has("PMD")&&(r.flags|=2,r.data.hidden=!0,q("Barcodes are not supported")),r.data.hasOwnCanvas=r.data.readOnly&&!r.data.noHTML,r._hasText=!0,"string"!=typeof r.data.fieldValue&&(r.data.fieldValue="");var n=yt({dict:A,key:"Q"});(!Number.isInteger(n)||n<0||n>2)&&(n=null),r.data.textAlignment=n;var i=yt({dict:A,key:"MaxLen"});return(!Number.isInteger(i)||i<0)&&(i=0),r.data.maxLen=i,r.data.multiLine=r.hasFieldFlag(4096),r.data.comb=r.hasFieldFlag(16777216)&&!r.hasFieldFlag(4096)&&!r.hasFieldFlag(m)&&!r.hasFieldFlag(1048576)&&0!==r.data.maxLen,r.data.doNotScroll=r.hasFieldFlag(8388608),r}return CR(t,MR),kR(t,[{key:"hasTextContent",get:function(){return!!this.appearance&&!this._needAppearances}},{key:"_getCombAppearance",value:function(e,t,r,A,n,i,a,o,s,c,g){var u,l=n/this.data.maxLen,h=this.getBorderAndBackgroundAppearances(g),I=[],f=QR(t.getCharPositions(r));try{for(f.s();!(u=f.n()).done;){var C=pR(u.value,2),B=C[0],Q=C[1];I.push("(".concat(Lt(r.substring(B,Q)),") Tj"))}}catch(e){f.e(e)}finally{f.f()}var E=I.join(" ".concat(Tt(l)," 0 Td "));return"/Tx BMC q ".concat(h,"BT ")+e+" 1 0 0 1 ".concat(Tt(a)," ").concat(Tt(o+s)," Tm ").concat(E)+" ET Q EMC"}},{key:"_getMultilineAppearance",value:function(e,t,r,A,n,i,a,o,s,c,g,u){for(var l=[],h=n-2*o,I={shift:0},f=0,C=t.length;f<C;f++)for(var B=t[f],Q=this._splitLine(B,r,A,h),E=0,d=Q.length;E<d;E++){var y=Q[E],p=0===f&&0===E?-s-(g-c):-g;l.push(this._renderText(y,r,A,n,a,I,o,p))}var v=this.getBorderAndBackgroundAppearances(u),m=l.join("\\n");return"/Tx BMC q ".concat(v,"BT ")+e+" 1 0 0 1 0 ".concat(Tt(i)," Tm ").concat(m)+" ET Q EMC"}},{key:"_splitLine",value:function(e,t,r,A){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};e=n.line||e;var i=n.glyphs||t.charsToGlyphs(e);if(i.length<=1)return[e];for(var a=n.positions||t.getCharPositions(e),o=r/1e3,s=[],c=-1,g=-1,u=-1,l=0,h=0,I=0,f=i.length;I<f;I++){var C=pR(a[I],2),B=C[0],Q=C[1],E=i[I],d=E.width*o;" "===E.unicode?h+d>A?(s.push(e.substring(l,B)),l=B,h=d,c=-1,u=-1):(h+=d,c=B,g=Q,u=I):h+d>A?-1!==c?(s.push(e.substring(l,g)),l=g,I=u+1,c=-1,h=0):(s.push(e.substring(l,B)),l=B,h=d):h+=d}return l<e.length&&s.push(e.substring(l,e.length)),s}},{key:"extractTextContent",value:(r=yR(ER().mark((function e(r,A,n){var i,a,o;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,gR(t,"extractTextContent",this,3)([r,A,n]);case 2:if(i=this.data.textContent){e.next=5;break}return e.abrupt("return");case 5:if((a=i.join("\\n"))!==this.data.fieldValue){e.next=8;break}return e.abrupt("return");case 8:o=a.replaceAll(/([.*+?^\${}()|[\\]\\\\])|(\\s+)/g,(function(e,t){return t?"\\\\".concat(t):"\\\\s+"})),new RegExp("^\\\\s*".concat(o,"\\\\s*$")).test(this.data.fieldValue)&&(this.data.textContent=this.data.fieldValue.split("\\n"));case 10:case"end":return e.stop()}}),e,this)}))),function(e,t,A){return r.apply(this,arguments)})},{key:"getFieldObject",value:function(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.hasFieldFlag(m),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:"text"}}}]);var r}(),HR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).checkedAppearance=null,r.uncheckedAppearance=null,r.data.checkBox=!r.hasFieldFlag(32768)&&!r.hasFieldFlag(w),r.data.radioButton=r.hasFieldFlag(32768)&&!r.hasFieldFlag(w),r.data.pushButton=r.hasFieldFlag(w),r.data.isTooltipOnly=!1,r.data.checkBox?r._processCheckBox(e):r.data.radioButton?r._processRadioButton(e):r.data.pushButton?(r.data.hasOwnCanvas=!0,r.data.noHTML=!1,r._processPushButton(e)):q("Invalid field flags for button widget annotation"),r}return CR(t,MR),kR(t,[{key:"getOperatorList",value:(i=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.pushButton){e.next=2;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,!1,i]));case 2:if(a=null,o=null,i&&(s=i.get(this.data.id),a=s?s.value:null,o=s?s.rotation:null),null!==a||!this.appearance){e.next=7;break}return e.abrupt("return",gR(t,"getOperatorList",this,3)([r,A,n,i]));case 7:if(null==a&&(a=this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue),!(c=a?this.checkedAppearance:this.uncheckedAppearance)){e.next=18;break}return g=this.appearance,u=Ft(c.dict.getArray("Matrix"),C),o&&c.dict.set("Matrix",this.getRotationMatrix(i)),this.appearance=c,l=gR(t,"getOperatorList",this,3)([r,A,n,i]),this.appearance=g,c.dict.set("Matrix",u),e.abrupt("return",l);case 18:return e.abrupt("return",{opList:new kf,separateForm:!1,separateCanvas:!1});case 19:case"end":return e.stop()}}),e,this)}))),function(e,t,r,A){return i.apply(this,arguments)})},{key:"save",value:(n=yR(ER().mark((function e(t,r,A){return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.checkBox){e.next=2;break}return e.abrupt("return",this._saveCheckbox(t,r,A));case 2:if(!this.data.radioButton){e.next=4;break}return e.abrupt("return",this._saveRadioButton(t,r,A));case 4:return e.abrupt("return",null);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_saveCheckbox",value:(A=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A){e.next=2;break}return e.abrupt("return",null);case 2:if(n=A.get(this.data.id),i=this._buildFlags(null==n?void 0:n.noView,null==n?void 0:n.noPrint),a=null==n?void 0:n.rotation,o=null==n?void 0:n.value,void 0!==a||void 0!==i){e.next=11;break}if(void 0!==o){e.next=8;break}return e.abrupt("return",null);case 8:if(this.data.fieldValue===this.data.exportValue!==o){e.next=11;break}return e.abrupt("return",null);case 11:if((s=t.xref.fetchIfRef(this.ref))instanceof He){e.next=14;break}return e.abrupt("return",null);case 14:return s=s.clone(),void 0===a&&(a=this.rotation),void 0===o&&(o=this.data.fieldValue===this.data.exportValue),c={path:this.data.fieldName,value:o?this.data.exportValue:""},g=Ue.get(o?this.data.exportValue:"Off"),s.set("V",g),s.set("AS",g),s.set("M","D:".concat(Qe())),void 0!==i&&s.set("F",i),(u=this._getMKDict(a))&&s.set("MK",u),l=[],e.next=28,iQ(this.ref,s,l,t.xref);case 28:return e.abrupt("return",[{ref:this.ref,data:l.join(""),xfa:c}]);case 29:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return A.apply(this,arguments)})},{key:"_saveRadioButton",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A){e.next=2;break}return e.abrupt("return",null);case 2:if(n=A.get(this.data.id),i=this._buildFlags(null==n?void 0:n.noView,null==n?void 0:n.noPrint),a=null==n?void 0:n.rotation,o=null==n?void 0:n.value,void 0!==a||void 0!==i){e.next=11;break}if(void 0!==o){e.next=8;break}return e.abrupt("return",null);case 8:if(this.data.fieldValue===this.data.buttonValue!==o){e.next=11;break}return e.abrupt("return",null);case 11:if((s=t.xref.fetchIfRef(this.ref))instanceof He){e.next=14;break}return e.abrupt("return",null);case 14:if(s=s.clone(),void 0===o&&(o=this.data.fieldValue===this.data.buttonValue),void 0===a&&(a=this.rotation),c={path:this.data.fieldName,value:o?this.data.buttonValue:""},g=Ue.get(o?this.data.buttonValue:"Off"),u=[],l=null,!o){e.next=32;break}if(!(this.parent instanceof Ye)){e.next=31;break}return(h=t.xref.fetch(this.parent)).set("V",g),e.next=27,iQ(this.parent,h,u,t.xref);case 27:l=u.join(""),u.length=0,e.next=32;break;case 31:this.parent instanceof He&&this.parent.set("V",g);case 32:return this.parent||s.set("V",g),s.set("AS",g),s.set("M","D:".concat(Qe())),void 0!==i&&s.set("F",i),(I=this._getMKDict(a))&&s.set("MK",I),e.next=40,iQ(this.ref,s,u,t.xref);case 40:return f=[{ref:this.ref,data:u.join(""),xfa:c}],l&&f.push({ref:this.parent,data:l,xfa:null}),e.abrupt("return",f);case 43:case"end":return e.stop()}}),e,this)}))),function(e,t,A){return r.apply(this,arguments)})},{key:"_getDefaultCheckedAppearance",value:function(e,t){var r,A,n=this.data.rect[2]-this.data.rect[0],i=this.data.rect[3]-this.data.rect[1],a=[0,0,n,i],o=.8*Math.min(n,i);"check"===t?(r={width:.755*o,height:.705*o},A="3"):"disc"===t?(r={width:.791*o,height:.705*o},A="l"):j("_getDefaultCheckedAppearance - unsupported type: ".concat(t));var s=Tt((n-r.width)/2),c=Tt((i-r.height)/2),g="q BT /PdfJsZaDb ".concat(o," Tf 0 g ").concat(s," ").concat(c," Td (").concat(A,") Tj ET Q"),u=new He(e.xref);u.set("FormType",1),u.set("Subtype",Ue.get("Form")),u.set("Type",Ue.get("XObject")),u.set("BBox",a),u.set("Matrix",[1,0,0,1,0,0]),u.set("Length",g.length);var l=new He(e.xref),h=new He(e.xref);h.set("PdfJsZaDb",this.fallbackFontDict),l.set("Font",h),u.set("Resources",l),this.checkedAppearance=new or(g),this.checkedAppearance.dict=u,this._streams.push(this.checkedAppearance)}},{key:"_processCheckBox",value:function(e){var t=e.dict.get("AP");if(t instanceof He){var r=t.get("N");if(r instanceof He){var A=this._decodeFormValue(e.dict.get("AS"));"string"==typeof A&&(this.data.fieldValue=A);var n=null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes",i=r.getKeys();if(0===i.length)i.push("Off",n);else if(1===i.length)"Off"===i[0]?i.push(n):i.unshift("Off");else if(i.includes(n))i.length=0,i.push("Off",n);else{var a=i.find((function(e){return"Off"!==e}));i.length=0,i.push("Off",a)}i.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=i[1];var o=r.get(this.data.exportValue);this.checkedAppearance=o instanceof ze?o:null;var s=r.get("Off");this.uncheckedAppearance=s instanceof ze?s:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}}}},{key:"_processRadioButton",value:function(e){this.data.buttonValue=null;var t=e.dict.get("Parent");if(t instanceof He){this.parent=e.dict.getRaw("Parent");var r=t.get("V");r instanceof Ue&&(this.data.fieldValue=this._decodeFormValue(r))}var A=e.dict.get("AP");if(A instanceof He){var n=A.get("N");if(n instanceof He){var i,a=QR(n.getKeys());try{for(a.s();!(i=a.n()).done;){var o=i.value;if("Off"!==o){this.data.buttonValue=this._decodeFormValue(o);break}}}catch(e){a.e(e)}finally{a.f()}var s=n.get(this.data.buttonValue);this.checkedAppearance=s instanceof ze?s:null;var c=n.get("Off");this.uncheckedAppearance=c instanceof ze?c:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict,null===this.data.defaultFieldValue&&(this.data.defaultFieldValue="Off")}}}},{key:"_processPushButton",value:function(e){var t=e.dict,r=e.annotationGlobals;t.has("A")||t.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!t.has("A")&&!t.has("AA"),fE.parseDestDictionary({destDict:t,resultObj:this.data,docBaseUrl:r.baseUrl,docAttachments:r.attachments})):q("Push buttons without action dictionaries are not supported")}},{key:"getFieldObject",value:function(){var e,t="button";return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}},{key:"fallbackFontDict",get:function(){var e=new He;return e.set("BaseFont",Ue.get("ZapfDingbats")),e.set("Type",Ue.get("FallbackType")),e.set("Subtype",Ue.get("FallbackType")),e.set("Encoding",Ue.get("ZapfDingbatsEncoding")),_(this,"fallbackFontDict",e)}}]);var r,A,n,i}(),YR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;r.indices=A.getArray("I"),r.hasIndices=Array.isArray(r.indices)&&r.indices.length>0,r.data.options=[];var i=yt({dict:A,key:"Opt"});if(Array.isArray(i))for(var a=0,o=i.length;a<o;a++){var s=n.fetchIfRef(i[a]),c=Array.isArray(s);r.data.options[a]={exportValue:r._decodeFormValue(c?n.fetchIfRef(s[0]):s),displayValue:r._decodeFormValue(c?n.fetchIfRef(s[1]):s)}}if(r.hasIndices){r.data.fieldValue=[];var g,u=r.data.options.length,l=QR(r.indices);try{for(l.s();!(g=l.n()).done;){var h=g.value;Number.isInteger(h)&&h>=0&&h<u&&r.data.fieldValue.push(r.data.options[h].exportValue)}}catch(e){l.e(e)}finally{l.f()}}else"string"==typeof r.data.fieldValue?r.data.fieldValue=[r.data.fieldValue]:r.data.fieldValue||(r.data.fieldValue=[]);return r.data.combo=r.hasFieldFlag(131072),r.data.multiSelect=r.hasFieldFlag(2097152),r._hasText=!0,r}return CR(t,MR),kR(t,[{key:"getFieldObject",value:function(){var e=this.data.combo?"combobox":"listbox",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}},{key:"amendSavedDict",value:function(e,t){var r;if(this.hasIndices){var A=null==e||null===(r=e.get(this.data.id))||void 0===r?void 0:r.value;Array.isArray(A)||(A=[A]);for(var n=[],i=this.data.options,a=0,o=0,s=i.length;a<s;a++)i[a].exportValue===A[o]&&(n.push(a),o+=1);t.set("I",n)}}},{key:"_getAppearance",value:(r=yR(ER().mark((function e(r,A,n,i){var a,o,s,c,g,u,l,h,I,f,C,B,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,T,q;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.combo){e.next=2;break}return e.abrupt("return",gR(t,"_getAppearance",this,3)([r,A,n,i]));case 2:if((s=null==i?void 0:i.get(this.data.id))&&(o=s.rotation,a=s.value),void 0!==o||void 0!==a||this._needAppearances){e.next=6;break}return e.abrupt("return",null);case 6:for(void 0===a?a=this.data.fieldValue:Array.isArray(a)||(a=[a]),c=1,g=2,u=this.data.rect[3]-this.data.rect[1],l=this.data.rect[2]-this.data.rect[0],90!==o&&270!==o||(l=(h=[u,l])[0],u=h[1]),I=this.data.options.length,f=[],C=0;C<I;C++)B=this.data.options[C].exportValue,a.includes(B)&&f.push(C);return this._defaultAppearance||(this.data.defaultAppearanceData=dC(this._defaultAppearance="/Helvetica 0 Tf 0 g")),e.next=18,MR._getFontData(r,A,this.data.defaultAppearanceData,this._fieldResources.mergedResources);case 18:if(E=e.sent,y=this.data.defaultAppearanceData.fontSize)d=this._defaultAppearance;else{p=(u-c)/I,v=-1,w=QR(this.data.options);try{for(w.s();!(b=w.n()).done;)k=b.value.displayValue,(D=this._getTextWidth(k,E))>v&&(v=D,m=k)}catch(e){w.e(e)}finally{w.f()}S=this._computeFontSize(p,l-2*g,m,E,-1),F=pR(S,2),d=F[0],y=F[1]}if(R=((x=y*Q)-y)/2,G=Math.floor(u/x),N=0,f.length>0&&(L=Math.min.apply(Math,f),U=Math.max.apply(Math,f),(N=Math.max(0,U-G+1))>L&&(N=L)),M=Math.min(N+G+1,I),J=["/Tx BMC q","1 1 ".concat(l," ").concat(u," re W n")],f.length){J.push("0.600006 0.756866 0.854904 rg"),H=QR(f);try{for(H.s();!(Y=H.n()).done;)P=Y.value,N<=P&&P<M&&J.push("1 ".concat(u-(P-N+1)*x," ").concat(l," ").concat(x," re f"))}catch(e){H.e(e)}finally{H.f()}}for(J.push("BT",d,"1 0 0 1 0 ".concat(u," Tm")),O={shift:0},K=N;K<M;K++)T=this.data.options[K].displayValue,q=K===N?R:0,J.push(this._renderText(T,E,y,l,0,O,g,-x+q));return J.push("ET Q EMC"),e.abrupt("return",J.join("\\n"));case 34:case"end":return e.stop()}}),e,this)}))),function(e,t,A,n){return r.apply(this,arguments)})}]);var r}(),PR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).data.fieldValue=null,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!r.data.hasOwnCanvas,r}return CR(t,MR),kR(t,[{key:"getFieldObject",value:function(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}])}(),OR=function(e){function t(e){var r;wR(this,t),(r=lR(this,t,[e])).data.noRotate=!0,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1;var A=e.dict;return r.data.annotationType=1,r.data.hasAppearance?r.data.name="NoIcon":(r.data.rect[1]=r.data.rect[3]-22,r.data.rect[2]=r.data.rect[0]+22,r.data.name=A.has("Name")?A.get("Name").name:"Note"),A.has("State")?(r.data.state=A.get("State")||null,r.data.stateModel=A.get("StateModel")||null):(r.data.state=null,r.data.stateModel=null),r}return CR(t,UR),kR(t)}(),KR=function(e){function t(e){var r,A;wR(this,t),A=lR(this,t,[e]);var n=e.dict,i=e.annotationGlobals;A.data.annotationType=2,A.data.noHTML=!1;var a=RR(n,A.rectangle);return a&&(A.data.quadPoints=a),(r=A.data).borderColor||(r.borderColor=A.data.color),fE.parseDestDictionary({destDict:n,resultObj:A.data,docBaseUrl:i.baseUrl,docAttachments:i.attachments}),A}return CR(t,NR),kR(t)}(),TR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict;r.data.annotationType=16,r.data.noHTML=!1,r.data.rect[0]!==r.data.rect[2]&&r.data.rect[1]!==r.data.rect[3]||(r.data.rect=null);var n=A.get("Parent");if(!n)return q("Popup annotation has a missing or invalid parent annotation."),hR(r);if(r.data.parentRect=Rt(n.getArray("Rect"),null),Ke(n.get("RT"),p)&&(n=n.get("IRT")),n.has("M")?(r.setModificationDate(n.get("M")),r.data.modificationDate=r.modificationDate):r.data.modificationDate=null,n.has("C")?(r.setColor(n.getArray("C")),r.data.color=r.color):r.data.color=null,!r.viewable){var i=n.get("F");r._isViewable(i)&&r.setFlags(i)}return r.setTitle(n.get("T")),r.data.titleObj=r._title,r.setContents(n.get("Contents")),r.data.contentsObj=r._contents,n.has("RC")&&(r.data.richText=oR.getRichTextAsHtml(n.get("RC"))),r.data.open=!!A.get("Open"),r}return CR(t,NR),kR(t)}(),qR=function(e){function t(e){var r;wR(this,t),(r=lR(this,t,[e])).data.hasOwnCanvas=r.data.noRotate,r.data.isEditable=!r.data.noHTML,r.data.noHTML=!1;var A=e.evaluatorOptions,n=e.xref;if(r.data.annotationType=3,r.setDefaultAppearance(e),r._hasAppearance=!!r.appearance,r._hasAppearance){var i=function(e,t,r){return new yC(e,t,r).parse()}(r.appearance,A,n),a=i.fontColor,o=i.fontSize;r.data.defaultAppearanceData.fontColor=a,r.data.defaultAppearanceData.fontSize=o||10}else{var s;(s=r.data.defaultAppearanceData).fontSize||(s.fontSize=10);var c=r.data.defaultAppearanceData,g=c.fontColor,u=c.fontSize;if(r._contents.str){r.data.textContent=r._contents.str.split(/\\r\\n?|\\n/).map((function(e){return e.trimEnd()}));var l=vC.getFirstPositionInfo(r.rectangle,r.rotation,u),h=l.coords,I=l.bbox,f=l.matrix;r.data.textPosition=r._transformPoint(h,I,f)}if(r._isOffscreenCanvasSupported){var C=e.dict.get("CA"),B=new vC(n,"sans-serif");r.appearance=B.createAppearance(r._contents.str,r.rectangle,r.rotation,u,g,C),r._streams.push(r.appearance)}else q("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}return r}return CR(t,UR),kR(t,[{key:"hasTextContent",get:function(){return this._hasAppearance}}],[{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.color,a=e.fontSize,o=e.oldAnnotation,s=e.rect,c=e.rotation,g=e.user,u=e.value,l=o||new He(t);l.set("Type",Ue.get("Annot")),l.set("Subtype",Ue.get("FreeText")),o?(l.set("M","D:".concat(Qe())),l.delete("RC")):l.set("CreationDate","D:".concat(Qe())),l.set("Rect",s);var h="/Helv ".concat(a," Tf ").concat(pC(i,!0));if(l.set("DA",h),l.set("Contents",jt(u)),l.set("F",4),l.set("Border",[0,0,0]),l.set("Rotate",c),g&&l.set("T",jt(g)),A||n){var I=new He(t);l.set("AP",I),A?I.set("N",A):I.set("N",n)}return l}},{key:"createNewAppearanceStream",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O,K,T,q,j,W,Z,_,X,V,z,$,ee,te;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=A.baseFontRef,i=A.evaluator,a=A.task,o=t.color,s=t.fontSize,c=t.rect,g=t.rotation,u=t.value,l=new He(r),h=new He(r),n?h.set("Helv",n):((I=new He(r)).set("BaseFont",Ue.get("Helvetica")),I.set("Type",Ue.get("Font")),I.set("Subtype",Ue.get("Type1")),I.set("Encoding",Ue.get("WinAnsiEncoding")),h.set("Helv",I)),l.set("Font",h),e.next=8,MR._getFontData(i,a,{fontName:"Helv",fontSize:s},l);case 8:f=e.sent,C=pR(c,4),B=C[0],E=C[1],d=C[2],y=C[3],p=d-B,v=y-E,g%180!=0&&(p=(m=[v,p])[0],v=m[1]),w=u.split("\\n"),b=s/1e3,k=-1/0,D=[],S=QR(w),e.prev=18,S.s();case 20:if((F=S.n()).done){e.next=34;break}if(x=F.value,!((R=f.encodeString(x)).length>1)){e.next=25;break}return e.abrupt("return",null);case 25:x=R.join(""),D.push(x),G=0,N=f.charsToGlyphs(x),L=QR(N);try{for(L.s();!(U=L.n()).done;)M=U.value,G+=M.width*b}catch(e){L.e(e)}finally{L.f()}k=Math.max(k,G);case 32:e.next=20;break;case 34:e.next=39;break;case 36:e.prev=36,e.t0=e.catch(18),S.e(e.t0);case 39:return e.prev=39,S.f(),e.finish(39);case 42:J=1,k>p&&(J=p/k),H=1,P=1*s,(O=(Y=Q*s)*w.length)>v&&(H=v/O),K=Math.min(J,H),T=s*K,e.t1=g,e.next=0===e.t1?54:90===e.t1?58:180===e.t1?62:270===e.t1?66:70;break;case 54:return W=[1,0,0,1],j=[c[0],c[1],p,v],q=[c[0],c[3]-P],e.abrupt("break",70);case 58:return W=[0,1,-1,0],j=[c[1],-c[2],p,v],q=[c[1],-c[0]-P],e.abrupt("break",70);case 62:return W=[-1,0,0,-1],j=[-c[2],-c[3],p,v],q=[-c[2],-c[1]-P],e.abrupt("break",70);case 66:return W=[0,-1,1,0],j=[-c[3],c[0],p,v],q=[-c[3],c[2]-P],e.abrupt("break",70);case 70:for((Z=["q","".concat(W.join(" ")," 0 0 cm"),"".concat(j.join(" ")," re W n"),"BT","".concat(pC(o,!0)),"0 Tc /Helv ".concat(Tt(T)," Tf")]).push("".concat(q.join(" ")," Td (").concat(Lt(D[0]),") Tj")),_=Tt(Y),X=1,V=D.length;X<V;X++)z=D[X],Z.push("0 -".concat(_," Td (").concat(Lt(z),") Tj"));return Z.push("ET","Q"),$=Z.join("\\n"),(ee=new He(r)).set("FormType",1),ee.set("Subtype",Ue.get("Form")),ee.set("Type",Ue.get("XObject")),ee.set("BBox",c),ee.set("Resources",l),ee.set("Matrix",[1,0,0,1,-c[0],-c[1]]),(te=new or($)).dict=ee,e.abrupt("return",te);case 86:case"end":return e.stop()}}),e,null,[[18,36,39,42]])}))),function(e,t,A){return r.apply(this,arguments)})}]);var r}(),jR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;r.data.annotationType=4,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1;var i=xt(A.getArray("L"),[0,0,0,0]);if(r.data.lineCoordinates=ge.normalizeRect(i),r.setLineEndings(A.getArray("LE")),r.data.lineEndings=r.lineEndings,!r.appearance){var a=r.color?xR(r.color):[0,0,0],o=A.get("CA"),s=FR(A.getArray("IC"),null),c=s?xR(s):null,g=c?o:null,u=r.borderStyle.width||1,l=2*u,h=[r.data.lineCoordinates[0]-l,r.data.lineCoordinates[1]-l,r.data.lineCoordinates[2]+l,r.data.lineCoordinates[3]+l];ge.intersect(r.rectangle,h)||(r.rectangle=h),r._setDefaultAppearance({xref:n,extra:"".concat(u," w"),strokeColor:a,fillColor:c,strokeAlpha:o,fillAlpha:g,pointsCallback:function(e,t){return e.push("".concat(i[0]," ").concat(i[1]," m"),"".concat(i[2]," ").concat(i[3]," l"),"S"),[t[0]-u,t[2]+u,t[7]-u,t[3]+u]}})}return r}return CR(t,UR),kR(t)}(),WR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=5,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1,!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA"),o=FR(A.getArray("IC"),null),s=o?xR(o):null,c=s?a:null;if(0===r.borderStyle.width&&!s)return hR(r);r._setDefaultAppearance({xref:n,extra:"".concat(r.borderStyle.width," w"),strokeColor:i,fillColor:s,strokeAlpha:a,fillAlpha:c,pointsCallback:function(e,t){var A=t[4]+r.borderStyle.width/2,n=t[5]+r.borderStyle.width/2,i=t[6]-t[4]-r.borderStyle.width,a=t[3]-t[7]-r.borderStyle.width;return e.push("".concat(A," ").concat(n," ").concat(i," ").concat(a," re")),s?e.push("B"):e.push("S"),[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t)}(),ZR=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=6,!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA"),o=FR(A.getArray("IC"),null),s=o?xR(o):null,c=s?a:null;if(0===r.borderStyle.width&&!s)return hR(r);var g=4/3*Math.tan(Math.PI/8);r._setDefaultAppearance({xref:n,extra:"".concat(r.borderStyle.width," w"),strokeColor:i,fillColor:s,strokeAlpha:a,fillAlpha:c,pointsCallback:function(e,t){var A=t[0]+r.borderStyle.width/2,n=t[1]-r.borderStyle.width/2,i=t[6]-r.borderStyle.width/2,a=t[7]+r.borderStyle.width/2,o=A+(i-A)/2,c=n+(a-n)/2,u=(i-A)/2*g,l=(a-n)/2*g;return e.push("".concat(o," ").concat(a," m"),"".concat(o+u," ").concat(a," ").concat(i," ").concat(c+l," ").concat(i," ").concat(c," c"),"".concat(i," ").concat(c-l," ").concat(o+u," ").concat(n," ").concat(o," ").concat(n," c"),"".concat(o-u," ").concat(n," ").concat(A," ").concat(c-l," ").concat(A," ").concat(c," c"),"".concat(A," ").concat(c+l," ").concat(o-u," ").concat(a," ").concat(o," ").concat(a," c"),"h"),s?e.push("B"):e.push("S"),[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t)}(),_R=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;r.data.annotationType=8,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1,r.data.vertices=null,r instanceof XR||(r.setLineEndings(A.getArray("LE")),r.data.lineEndings=r.lineEndings);var i=A.getArray("Vertices");if(!St(i,null))return hR(r);var a=r.data.vertices=Float32Array.from(i);if(!r.appearance){for(var o=r.color?xR(r.color):[0,0,0],s=A.get("CA"),c=r.borderStyle.width||1,g=2*c,u=[1/0,1/0,-1/0,-1/0],l=0,h=a.length;l<h;l+=2)u[0]=Math.min(u[0],a[l]-g),u[1]=Math.min(u[1],a[l+1]-g),u[2]=Math.max(u[2],a[l]+g),u[3]=Math.max(u[3],a[l+1]+g);ge.intersect(r.rectangle,u)||(r.rectangle=u),r._setDefaultAppearance({xref:n,extra:"".concat(c," w"),strokeColor:o,strokeAlpha:s,pointsCallback:function(e,t){for(var r=0,A=a.length;r<A;r+=2)e.push("".concat(a[r]," ").concat(a[r+1]," ").concat(0===r?"m":"l"));return e.push("S"),[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t)}(),XR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).data.annotationType=7,r}return CR(t,_R),kR(t)}(),VR=function(e){function t(e){var r;return wR(this,t),(r=lR(this,t,[e])).data.annotationType=14,r}return CR(t,UR),kR(t)}(),zR=function(e){function t(e){var r;wR(this,t),(r=lR(this,t,[e])).data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1;var A=e.dict,n=e.xref;r.data.annotationType=15,r.data.inkLists=[],r.data.isEditable=!r.data.noHTML&&"InkHighlight"===r.data.it,r.data.noHTML=!1,r.data.opacity=A.get("CA")||1;var i=A.getArray("InkList");if(!Array.isArray(i))return hR(r);for(var a=0,o=i.length;a<o;++a)if(Array.isArray(i[a])){var s=new Float32Array(i[a].length);r.data.inkLists.push(s);for(var c=0,g=i[a].length;c<g;c+=2){var u=n.fetchIfRef(i[a][c]),l=n.fetchIfRef(i[a][c+1]);"number"==typeof u&&"number"==typeof l&&(s[c]=u,s[c+1]=l)}}if(!r.appearance){var h,I=r.color?xR(r.color):[0,0,0],f=A.get("CA"),C=r.borderStyle.width||1,B=2*C,Q=[1/0,1/0,-1/0,-1/0],E=QR(r.data.inkLists);try{for(E.s();!(h=E.n()).done;)for(var d=h.value,y=0,p=d.length;y<p;y+=2)Q[0]=Math.min(Q[0],d[y]-B),Q[1]=Math.min(Q[1],d[y+1]-B),Q[2]=Math.max(Q[2],d[y]+B),Q[3]=Math.max(Q[3],d[y+1]+B)}catch(e){E.e(e)}finally{E.f()}ge.intersect(r.rectangle,Q)||(r.rectangle=Q),r._setDefaultAppearance({xref:n,extra:"".concat(C," w"),strokeColor:I,strokeAlpha:f,pointsCallback:function(e,t){var A,n=QR(r.data.inkLists);try{for(n.s();!(A=n.n()).done;){for(var i=A.value,a=0,o=i.length;a<o;a+=2)e.push("".concat(i[a]," ").concat(i[a+1]," ").concat(0===a?"m":"l"));e.push("S")}}catch(e){n.e(e)}finally{n.f()}return[t[0],t[2],t[7],t[3]]}})}return r}return CR(t,UR),kR(t,null,[{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.color,a=e.opacity,o=e.paths,s=e.outlines,c=e.rect,g=e.rotation,u=e.thickness,l=new He(t);l.set("Type",Ue.get("Annot")),l.set("Subtype",Ue.get("Ink")),l.set("CreationDate","D:".concat(Qe())),l.set("Rect",c),l.set("InkList",(null==s?void 0:s.points)||o.map((function(e){return e.points}))),l.set("F",4),l.set("Rotate",g),s&&l.set("IT",Ue.get("InkHighlight"));var h=new He(t);l.set("BS",h),h.set("W",u),l.set("C",Array.from(i,(function(e){return e/255}))),l.set("CA",a);var I=new He(t);return l.set("AP",I),A?I.set("N",A):I.set("N",n),l}},{key:"createNewAppearanceStream",value:(A=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.outlines){e.next=2;break}return e.abrupt("return",this.createNewAppearanceStreamForHighlight(t,r,A));case 2:n=t.color,i=t.rect,a=t.paths,o=t.thickness,s=t.opacity,c=["".concat(o," w 1 J 1 j"),"".concat(pC(n,!1))],1!==s&&c.push("/R0 gs"),g=[],u=QR(a);try{for(u.s();!(l=u.n()).done;){if(h=l.value.bezier,g.length=0,g.push("".concat(Tt(h[0])," ").concat(Tt(h[1])," m")),2===h.length)g.push("".concat(Tt(h[0])," ").concat(Tt(h[1])," l S"));else{for(I=2,f=h.length;I<f;I+=6)C=h.slice(I,I+6).map(Tt).join(" "),g.push("".concat(C," c"));g.push("S")}c.push(g.join("\\n"))}}catch(e){u.e(e)}finally{u.f()}return B=c.join("\\n"),(Q=new He(r)).set("FormType",1),Q.set("Subtype",Ue.get("Form")),Q.set("Type",Ue.get("XObject")),Q.set("BBox",i),Q.set("Length",B.length),1!==s&&(E=new He(r),d=new He(r),(y=new He(r)).set("CA",s),y.set("Type",Ue.get("ExtGState")),d.set("R0",y),E.set("ExtGState",d),Q.set("Resources",E)),(p=new or(B)).dict=Q,e.abrupt("return",p);case 19:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return A.apply(this,arguments)})},{key:"createNewAppearanceStreamForHighlight",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=t.color,i=t.rect,a=t.outlines.outline,o=t.opacity,(s=["".concat(pC(n,!0)),"/R0 gs"]).push("".concat(Tt(a[4])," ").concat(Tt(a[5])," m")),c=6,g=a.length;c<g;c+=6)isNaN(a[c])||null===a[c]?s.push("".concat(Tt(a[c+4])," ").concat(Tt(a[c+5])," l")):(u=a.slice(c,c+6).map(Tt).join(" "),s.push("".concat(u," c")));return s.push("h f"),l=s.join("\\n"),(h=new He(r)).set("FormType",1),h.set("Subtype",Ue.get("Form")),h.set("Type",Ue.get("XObject")),h.set("BBox",i),h.set("Length",l.length),I=new He(r),f=new He(r),I.set("ExtGState",f),h.set("Resources",I),C=new He(r),f.set("R0",C),C.set("BM",Ue.get("Multiply")),1!==o&&(C.set("ca",o),C.set("Type",Ue.get("ExtGState"))),(B=new or(l)).dict=h,e.abrupt("return",B);case 23:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})}]);var r,A}(),$R=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=9,r.data.isEditable=!r.data.noHTML,r.data.noHTML=!1,r.data.opacity=A.get("CA")||1,r.data.quadPoints=RR(A,null)){var i,a=null===(i=r.appearance)||void 0===i?void 0:i.dict.get("Resources");if(!r.appearance||null==a||!a.has("ExtGState")){r.appearance&&q("HighlightAnnotation - ignoring built-in appearance stream.");var o=r.color?xR(r.color):[1,1,0],s=A.get("CA");r._setDefaultAppearance({xref:n,fillColor:o,blendMode:"Multiply",fillAlpha:s,pointsCallback:function(e,t){return e.push("".concat(t[0]," ").concat(t[1]," m"),"".concat(t[2]," ").concat(t[3]," l"),"".concat(t[6]," ").concat(t[7]," l"),"".concat(t[4]," ").concat(t[5]," l"),"f"),[t[0],t[2],t[7],t[3]]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t,null,[{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.color,a=e.oldAnnotation,o=e.opacity,s=e.rect,c=e.rotation,g=e.user,u=e.quadPoints,l=a||new He(t);if(l.set("Type",Ue.get("Annot")),l.set("Subtype",Ue.get("Highlight")),l.set(a?"M":"CreationDate","D:".concat(Qe())),l.set("CreationDate","D:".concat(Qe())),l.set("Rect",s),l.set("F",4),l.set("Border",[0,0,0]),l.set("Rotate",c),l.set("QuadPoints",u),l.set("C",Array.from(i,(function(e){return e/255}))),l.set("CA",o),g&&l.set("T",jt(g)),A||n){var h=new He(t);l.set("AP",h),h.set("N",A||n)}return l}},{key:"createNewAppearanceStream",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.color,i=t.rect,a=t.outlines,o=t.opacity,s=["".concat(pC(n,!0)),"/R0 gs"],c=[],g=QR(a);try{for(g.s();!(u=g.n()).done;){for(l=u.value,c.length=0,c.push("".concat(Tt(l[0])," ").concat(Tt(l[1])," m")),h=2,I=l.length;h<I;h+=2)c.push("".concat(Tt(l[h])," ").concat(Tt(l[h+1])," l"));c.push("h"),s.push(c.join("\\n"))}}catch(e){g.e(e)}finally{g.f()}return s.push("f*"),f=s.join("\\n"),(C=new He(r)).set("FormType",1),C.set("Subtype",Ue.get("Form")),C.set("Type",Ue.get("XObject")),C.set("BBox",i),C.set("Length",f.length),B=new He(r),Q=new He(r),B.set("ExtGState",Q),C.set("Resources",B),E=new He(r),Q.set("R0",E),E.set("BM",Ue.get("Multiply")),1!==o&&(E.set("ca",o),E.set("Type",Ue.get("ExtGState"))),(d=new or(f)).dict=C,e.abrupt("return",d);case 24:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})}]);var r}(),eG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=10,r.data.quadPoints=RR(A,null)){if(!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA");r._setDefaultAppearance({xref:n,extra:"[] 0 d 0.571 w",strokeColor:i,strokeAlpha:a,pointsCallback:function(e,t){return e.push("".concat(t[4]," ").concat(t[5]+1.3," m"),"".concat(t[6]," ").concat(t[7]+1.3," l"),"S"),[t[0],t[2],t[7],t[3]]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t)}(),tG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=11,r.data.quadPoints=RR(A,null)){if(!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA");r._setDefaultAppearance({xref:n,extra:"[] 0 d 1 w",strokeColor:i,strokeAlpha:a,pointsCallback:function(e,t){var r=(t[1]-t[5])/6,A=r,n=t[4],i=t[5],a=t[6];e.push("".concat(n," ").concat(i+A," m"));do{n+=2,A=0===A?r:0,e.push("".concat(n," ").concat(i+A," l"))}while(n<a);return e.push("S"),[t[4],a,i-2*r,i+2*r]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t)}(),rG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref;if(r.data.annotationType=12,r.data.quadPoints=RR(A,null)){if(!r.appearance){var i=r.color?xR(r.color):[0,0,0],a=A.get("CA");r._setDefaultAppearance({xref:n,extra:"[] 0 d 1 w",strokeColor:i,strokeAlpha:a,pointsCallback:function(e,t){return e.push("".concat((t[0]+t[4])/2," ")+"".concat((t[1]+t[5])/2," m"),"".concat((t[2]+t[6])/2," ")+"".concat((t[3]+t[7])/2," l"),"S"),[t[0],t[2],t[7],t[3]]}})}}else r.data.popupRef=null;return r}return CR(t,UR),kR(t)}(),AG=new WeakMap,nG=function(e){function t(e){var r;return wR(this,t),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(r=lR(this,t,[e]),AG,void 0),r.data.annotationType=13,sR(AG,r,r.data.hasOwnCanvas=r.data.noRotate),r.data.isEditable=!r.data.noHTML,r.data.noHTML=!1,r}return CR(t,UR),kR(t,[{key:"mustBeViewedWhenEditing",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?!!this.data.isEditable&&(sR(AG,this,this.data.hasOwnCanvas),this.data.hasOwnCanvas=!0,!0):(this.data.hasOwnCanvas=(this,(t=AG).get(cR(t,this))),!(null!=r&&r.has(this.data.id)))}}],[{key:"createImage",value:(A=yR(ER().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(A=t.width,n=t.height,i=new OffscreenCanvas(A,n),(a=i.getContext("2d",{alpha:!0})).drawImage(t,0,0),o=a.getImageData(0,0,A,n).data,s=new Uint32Array(o.buffer),(c=s.some(se.isLittleEndian?function(e){return e>>>24!=255}:function(e){return 255!=(255&e)}))&&(a.fillStyle="white",a.fillRect(0,0,A,n),a.drawImage(t,0,0)),g=i.convertToBlob({type:"image/jpeg",quality:1}).then((function(e){return e.arrayBuffer()})),u=Ue.get("XObject"),l=Ue.get("Image"),(h=new He(r)).set("Type",u),h.set("Subtype",l),h.set("BitsPerComponent",8),h.set("ColorSpace",Ue.get("DeviceRGB")),h.set("Filter",Ue.get("DCTDecode")),h.set("BBox",[0,0,A,n]),h.set("Width",A),h.set("Height",n),I=null,c){if(f=new Uint8Array(s.length),se.isLittleEndian)for(C=0,B=s.length;C<B;C++)f[C]=s[C]>>>24;else for(Q=0,E=s.length;Q<E;Q++)f[Q]=255&s[Q];(d=new He(r)).set("Type",u),d.set("Subtype",l),d.set("BitsPerComponent",8),d.set("ColorSpace",Ue.get("DeviceGray")),d.set("Width",A),d.set("Height",n),I=new ar(f,0,0,d)}return e.t0=ar,e.next=25,g;case 25:return e.t1=e.sent,e.t2=h,y=new e.t0(e.t1,0,0,e.t2),e.abrupt("return",{imageStream:y,smaskStream:I,width:A,height:n});case 29:case"end":return e.stop()}}),e)}))),function(e,t){return A.apply(this,arguments)})},{key:"createNewDict",value:function(e,t,r){var A=r.apRef,n=r.ap,i=e.oldAnnotation,a=e.rect,o=e.rotation,s=e.user,c=i||new He(t);if(c.set("Type",Ue.get("Annot")),c.set("Subtype",Ue.get("Stamp")),c.set(i?"M":"CreationDate","D:".concat(Qe())),c.set("CreationDate","D:".concat(Qe())),c.set("Rect",a),c.set("F",4),c.set("Border",[0,0,0]),c.set("Rotate",o),s&&c.set("T",jt(s)),A||n){var g=new He(t);c.set("AP",g),A?g.set("N",A):g.set("N",n)}return c}},{key:"createNewAppearanceStream",value:(r=yR(ER().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I;return ER().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.oldAnnotation){e.next=2;break}return e.abrupt("return",null);case 2:return n=t.rotation,i=A.image,a=i.imageRef,o=i.width,s=i.height,c=new He(r),g=new He(r),c.set("XObject",g),g.set("Im0",a),u="q ".concat(o," 0 0 ").concat(s," 0 0 cm /Im0 Do Q"),(l=new He(r)).set("FormType",1),l.set("Subtype",Ue.get("Form")),l.set("Type",Ue.get("XObject")),l.set("BBox",[0,0,o,s]),l.set("Resources",c),n&&(h=_t(n,o,s),l.set("Matrix",h)),(I=new or(u)).dict=l,e.abrupt("return",I);case 19:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})}]);var r,A}(),iG=function(e){function t(e){var r;wR(this,t),r=lR(this,t,[e]);var A=e.dict,n=e.xref,i=new TC(A.get("FS"),n);r.data.annotationType=17,r.data.hasOwnCanvas=r.data.noRotate,r.data.noHTML=!1,r.data.file=i.serializable;var a=A.get("Name");r.data.name=a instanceof Ue?Ie(a.name):"PushPin";var o=A.get("ca");return r.data.fillAlpha="number"==typeof o&&o>=0&&o<=1?o:null,r}return CR(t,UR),kR(t)}();function aG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oG(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,cG(A.key),A)}}function sG(e,t,r){return t&&oG(e.prototype,t),r&&oG(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function cG(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function gG(e,t,r){return t=hG(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,uG()?Reflect.construct(t,r||[],hG(e).constructor):t.apply(e,r))}function uG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(uG=function(){return!!e})()}function lG(){return lG="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var A=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=hG(e)););return e}(e,t);if(A){var n=Object.getOwnPropertyDescriptor(A,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},lG.apply(null,arguments)}function hG(e){return hG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hG(e)}function IG(e,t){return IG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IG(e,t)}function fG(e){try{return fe(e)}catch(t){return q('UTF-8 decoding failed: "'.concat(t,'".')),e}}var CG=function(e){function t(e){var r;return aG(this,t),(r=gG(this,t,[e])).node=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IG(e,t)}(t,aB),sG(t,[{key:"onEndElement",value:function(e){var r=function(e,t,r,A){var n=lG(hG(e.prototype),"onEndElement",r);return"function"==typeof n?function(e){return n.apply(r,e)}:n}(t,0,this)([e]);if(r&&"xfa:datasets"===e)throw this.node=r,new Error("Aborting DatasetXMLParser.")}}])}(),BG=function(){return sG((function e(t){if(aG(this,e),t.datasets)this.node=new aB({hasAttributes:!0}).parseFromString(t.datasets).documentElement;else{var r=new CG({hasAttributes:!0});try{r.parseFromString(t["xdp:xdp"])}catch(e){}this.node=r.node}}),[{key:"getValue",value:function(e){if(!this.node||!e)return"";var t=this.node.searchNode(Gt(e),0);if(!t)return"";var r=t.firstChild;return"value"===(null==r?void 0:r.nodeName)?t.children.map((function(e){return fG(e.textContent)})):fG(t.textContent)}}])}();function QG(){QG=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function EG(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function dG(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){EG(i,A,n,a,o,"next",e)}function o(e){EG(i,A,n,a,o,"throw",e)}a(void 0)}))}}function yG(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||pG(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pG(e,t){if(e){if("string"==typeof e)return vG(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vG(e,t):void 0}}function vG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function mG(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,wG(A.key),A)}}function wG(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function bG(e,t,r){return e.set(DG(e,t),r),r}function kG(e,t){return e.get(DG(e,t))}function DG(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var SG=new WeakMap,FG=function(){return function(e,t,r){return t&&mG(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}(this,SG,null),this.stream=t,this.pdfManager=r,this.entries=[],this._xrefStms=new Set,this._cacheMap=new Map,this._pendingRefs=new Pe,this._newPersistentRefNum=null,this._newTemporaryRefNum=null,this._persistentRefsCache=null}),[{key:"getNewPersistentRef",value:function(e){null===this._newPersistentRefNum&&(this._newPersistentRefNum=this.entries.length||1);var t=this._newPersistentRefNum++;return this._cacheMap.set(t,e),Ye.get(t,0)}},{key:"getNewTemporaryRef",value:function(){if(null===this._newTemporaryRefNum&&(this._newTemporaryRefNum=this.entries.length||1,this._newPersistentRefNum)){this._persistentRefsCache=new Map;for(var e=this._newTemporaryRefNum;e<this._newPersistentRefNum;e++)this._persistentRefsCache.set(e,this._cacheMap.get(e)),this._cacheMap.delete(e)}return Ye.get(this._newTemporaryRefNum++,0)}},{key:"resetNewTemporaryRef",value:function(){if(this._newTemporaryRefNum=null,this._persistentRefsCache){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pG(e))){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this._persistentRefsCache);try{for(t.s();!(e=t.n()).done;){var r=yG(e.value,2),A=r[0],n=r[1];this._cacheMap.set(A,n)}}catch(e){t.e(e)}finally{t.f()}}this._persistentRefsCache=null}},{key:"setStartXRef",value:function(e){this.startXRefQueue=[e]}},{key:"parse",value:function(){var e,t,r,A=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A?(q("Indexing all PDF objects"),e=this.indexObjects()):e=this.readXRef(),e.assignXref(this),this.trailer=e;try{t=e.get("Encrypt")}catch(e){if(e instanceof Ct)throw e;q('XRef.parse - Invalid "Encrypt" reference: "'.concat(e,'".'))}if(t instanceof He){var n=e.get("ID"),i=null!=n&&n.length?n[0]:"";t.suppressEncryption=!0,this.encrypt=new KB(t,i,this.pdfManager.password)}try{r=e.get("Root")}catch(e){if(e instanceof Ct)throw e;q('XRef.parse - Invalid "Root" reference: "'.concat(e,'".'))}if(r instanceof He)try{if(r.get("Pages")instanceof He)return void(this.root=r)}catch(e){if(e instanceof Ct)throw e;q('XRef.parse - Invalid "Pages" reference: "'.concat(e,'".'))}if(!A)throw new Et;throw new $("Invalid Root reference.")}},{key:"processXRefTable",value:function(e){if("tableState"in this||(this.tableState={entryNum:0,streamPos:e.lexer.stream.pos,parserBuf1:e.buf1,parserBuf2:e.buf2}),!Te(this.readXRefTable(e),"trailer"))throw new re("Invalid XRef table: could not find trailer dictionary");var t=e.getObj();if(t instanceof He||!t.dict||(t=t.dict),!(t instanceof He))throw new re("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,t}},{key:"readXRefTable",value:function(e){var t,r=e.lexer.stream,A=this.tableState;for(r.pos=A.streamPos,e.buf1=A.parserBuf1,e.buf2=A.parserBuf2;;){if(!("firstEntryNum"in A)||!("entryCount"in A)){if(Te(t=e.getObj(),"trailer"))break;A.firstEntryNum=t,A.entryCount=e.getObj()}var n=A.firstEntryNum,i=A.entryCount;if(!Number.isInteger(n)||!Number.isInteger(i))throw new re("Invalid XRef table: wrong types in subsection header");for(var a=A.entryNum;a<i;a++){A.streamPos=r.pos,A.entryNum=a,A.parserBuf1=e.buf1,A.parserBuf2=e.buf2;var o={};o.offset=e.getObj(),o.gen=e.getObj();var s=e.getObj();if(s instanceof Me)switch(s.cmd){case"f":o.free=!0;break;case"n":o.uncompressed=!0}if(!Number.isInteger(o.offset)||!Number.isInteger(o.gen)||!o.free&&!o.uncompressed)throw new re("Invalid entry in XRef subsection: ".concat(n,", ").concat(i));0===a&&o.free&&1===n&&(n=0),this.entries[a+n]||(this.entries[a+n]=o)}A.entryNum=0,A.streamPos=r.pos,A.parserBuf1=e.buf1,A.parserBuf2=e.buf2,delete A.firstEntryNum,delete A.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new re("Invalid XRef table: unexpected first object");return t}},{key:"processXRefStream",value:function(e){if(!("streamState"in this)){var t=e.dict,r=t.get("W"),A=t.get("Index");A||(A=[0,t.get("Size")]),this.streamState={entryRanges:A,byteWidths:r,entryNum:0,streamPos:e.pos}}return this.readXRefStream(e),delete this.streamState,e.dict}},{key:"readXRefStream",value:function(e){var t=this.streamState;e.pos=t.streamPos;for(var r=yG(t.byteWidths,3),A=r[0],n=r[1],i=r[2],a=t.entryRanges;a.length>0;){var o=yG(a,2),s=o[0],c=o[1];if(!Number.isInteger(s)||!Number.isInteger(c))throw new re("Invalid XRef range fields: ".concat(s,", ").concat(c));if(!Number.isInteger(A)||!Number.isInteger(n)||!Number.isInteger(i))throw new re("Invalid XRef entry fields length: ".concat(s,", ").concat(c));for(var g=t.entryNum;g<c;++g){t.entryNum=g,t.streamPos=e.pos;for(var u=0,l=0,h=0,I=0;I<A;++I){var f=e.getByte();if(-1===f)throw new re("Invalid XRef byteWidths 'type'.");u=u<<8|f}0===A&&(u=1);for(var C=0;C<n;++C){var B=e.getByte();if(-1===B)throw new re("Invalid XRef byteWidths 'offset'.");l=l<<8|B}for(var Q=0;Q<i;++Q){var E=e.getByte();if(-1===E)throw new re("Invalid XRef byteWidths 'generation'.");h=h<<8|E}var d={};switch(d.offset=l,d.gen=h,u){case 0:d.free=!0;break;case 1:d.uncompressed=!0;break;case 2:break;default:throw new re("Invalid XRef entry type: ".concat(u))}this.entries[s+g]||(this.entries[s+g]=d)}t.entryNum=0,t.streamPos=e.pos,a.splice(0,2)}}},{key:"indexObjects",value:function(){function e(e,t){for(var r="",A=e[t];10!==A&&13!==A&&60!==A&&!(++t>=e.length);)r+=String.fromCharCode(A),A=e[t];return r}function t(e,t,r){for(var A=r.length,n=e.length,i=0;t<n;){for(var a=0;a<A&&e[t+a]===r[a];)++a;if(a>=A)break;t++,i++}return i}var r=/\\b(endobj|\\d+\\s+\\d+\\s+obj|xref|trailer\\s*<<)\\b/g,A=/\\b(startxref|\\d+\\s+\\d+\\s+obj)\\b/g,n=/^(\\d+)\\s+(\\d+)\\s+obj\\b/,i=new Uint8Array([116,114,97,105,108,101,114]),a=new Uint8Array([115,116,97,114,116,120,114,101,102]),o=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();var s=this.stream;s.pos=0;for(var c=s.getBytes(),g=ne(c),u=c.length,l=s.start,h=[],I=[];l<u;){var f=c[l];if(9!==f&&10!==f&&13!==f&&32!==f)if(37!==f){var C=e(c,l),B=void 0;if(C.startsWith("xref")&&(4===C.length||/\\s/.test(C[4])))l+=t(c,l,i),h.push(l),l+=t(c,l,a);else if(B=n.exec(C)){var Q=0|B[1],E=0|B[2],d=l+C.length,y=void 0,p=!1;if(this.entries[Q]){if(this.entries[Q].gen===E)try{new Jo({lexer:new Oo(s.makeSubStream(d))}).getObj(),p=!0}catch(e){e instanceof Bt?q("indexObjects -- checking object (".concat(C,'): "').concat(e,'".')):p=!0}}else p=!0;p&&(this.entries[Q]={offset:l-s.start,gen:E,uncompressed:!0}),r.lastIndex=d;var v=r.exec(g);v?(y=r.lastIndex+1-l,"endobj"!==v[1]&&(q('indexObjects: Found "'.concat(v[1],'" inside of another "obj", ')+'caused by missing "endobj" -- trying to recover.'),y-=v[1].length+1)):y=u-l;var m=c.subarray(l,l+y),w=t(m,0,o);w<y&&m[w+5]<64&&(I.push(l-s.start),this._xrefStms.add(l-s.start)),l+=y}else if(C.startsWith("trailer")&&(7===C.length||/\\s/.test(C[7]))){h.push(l);var b=l+C.length,k=void 0;A.lastIndex=b;var D=A.exec(g);D?(k=A.lastIndex+1-l,"startxref"!==D[1]&&(q('indexObjects: Found "'.concat(D[1],'" after "trailer", ')+'caused by missing "startxref" -- trying to recover.'),k-=D[1].length+1)):k=u-l,l+=k}else l+=C.length+1}else do{if(++l>=u)break;f=c[l]}while(10!==f&&13!==f);else++l}for(var S=0,F=I;S<F.length;S++){var x=F[S];this.startXRefQueue.push(x),this.readXRef(!0)}for(var R,G,N=[],L=!1,U=0,M=h;U<M.length;U++){var J=M[U];s.pos=J;var H=new Jo({lexer:new Oo(s),xref:this,allowStreams:!0,recoveryMode:!0});if(Te(H.getObj(),"trailer")){var Y=H.getObj();Y instanceof He&&(N.push(Y),Y.has("Encrypt")&&(L=!0))}}for(var P=0,O=[].concat(N,["genFallback"],N);P<O.length;P++){var K=O[P];if("genFallback"!==K){var T=!1;try{var j=K.get("Root");if(!(j instanceof He))continue;var W=j.get("Pages");if(!(W instanceof He))continue;var Z=W.get("Count");Number.isInteger(Z)&&(T=!0)}catch(e){G=e;continue}if(T&&(!L||K.has("Encrypt"))&&K.has("ID"))return K;R=K}else{if(!G)break;this._generationFallback=!0}}if(R)return R;if(this.topDict)return this.topDict;throw new $("Invalid PDF structure.")}},{key:"readXRef",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.stream,r=new Set;this.startXRefQueue.length;){try{var A=this.startXRefQueue[0];if(r.has(A)){q("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}r.add(A),t.pos=A+t.start;var n=new Jo({lexer:new Oo(t),xref:this,allowStreams:!0}),i=n.getObj(),a=void 0;if(Te(i,"xref")){var o;a=this.processXRefTable(n),this.topDict||(this.topDict=a),i=a.get("XRefStm"),Number.isInteger(i)&&!this._xrefStms.has(i)&&(this._xrefStms.add(i),this.startXRefQueue.push(i),null!==(o=kG(SG,this))&&void 0!==o||bG(SG,this,i))}else{if(!Number.isInteger(i))throw new re("Invalid XRef stream header");if(!(Number.isInteger(n.getObj())&&Te(n.getObj(),"obj")&&(i=n.getObj())instanceof ze))throw new re("Invalid XRef stream");if(a=this.processXRefStream(i),this.topDict||(this.topDict=a),!a)throw new re("Failed to read XRef stream")}i=a.get("Prev"),Number.isInteger(i)?this.startXRefQueue.push(i):i instanceof Ye&&this.startXRefQueue.push(i.num)}catch(e){if(e instanceof Ct)throw e;T("(while reading XRef): "+e)}this.startXRefQueue.shift()}if(this.topDict)return this.topDict;if(!e)throw new Et}},{key:"lastXRefStreamPos",get:function(){var e;return null!==(e=kG(SG,this))&&void 0!==e?e:this._xrefStms.size>0?Math.max.apply(Math,function(e){return function(e){if(Array.isArray(e))return vG(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pG(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this._xrefStms)):null}},{key:"getEntry",value:function(e){var t=this.entries[e];return t&&!t.free&&t.offset?t:null}},{key:"fetchIfRef",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e instanceof Ye?this.fetch(e,t):e}},{key:"fetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(e instanceof Ye))throw new Error("ref object is not a reference");var r=e.num,A=this._cacheMap.get(r);if(void 0!==A)return A instanceof He&&!A.objId&&(A.objId=e.toString()),A;var n=this.getEntry(r);if(null===n)return this._cacheMap.set(r,n),n;if(this._pendingRefs.has(e))return this._pendingRefs.remove(e),q("Ignoring circular reference: ".concat(e,".")),xe;this._pendingRefs.put(e);try{n=n.uncompressed?this.fetchUncompressed(e,n,t):this.fetchCompressed(e,n,t),this._pendingRefs.remove(e)}catch(t){throw this._pendingRefs.remove(e),t}return n instanceof He?n.objId=e.toString():n instanceof ze&&(n.dict.objId=e.toString()),n}},{key:"fetchUncompressed",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],A=e.gen,n=e.num;if(t.gen!==A){var i="Inconsistent generation in XRef: ".concat(e);if(this._generationFallback&&t.gen<A)return q(i),this.fetchUncompressed(Ye.get(n,t.gen),t,r);throw new Qt(i)}var a=this.stream.makeSubStream(t.offset+this.stream.start),o=new Jo({lexer:new Oo(a),xref:this,allowStreams:!0}),s=o.getObj(),c=o.getObj(),g=o.getObj();if(s!==n||c!==A||!(g instanceof Me))throw new Qt("Bad (uncompressed) XRef entry: ".concat(e));if("obj"!==g.cmd){if(g.cmd.startsWith("obj")&&(n=parseInt(g.cmd.substring(3),10),!Number.isNaN(n)))return n;throw new Qt("Bad (uncompressed) XRef entry: ".concat(e))}return(t=this.encrypt&&!r?o.getObj(this.encrypt.createCipherTransform(n,A)):o.getObj())instanceof ze||this._cacheMap.set(n,t),t}},{key:"fetchCompressed",value:function(e,t){var r=t.offset,A=this.fetch(Ye.get(r,0));if(!(A instanceof ze))throw new re("bad ObjStm stream");var n=A.dict.get("First"),i=A.dict.get("N");if(!Number.isInteger(n)||!Number.isInteger(i))throw new re("invalid first and n parameters for ObjStm stream");for(var a=new Jo({lexer:new Oo(A),xref:this,allowStreams:!0}),o=new Array(i),s=new Array(i),c=0;c<i;++c){var g=a.getObj();if(!Number.isInteger(g))throw new re("invalid object number in the ObjStm stream: ".concat(g));var u=a.getObj();if(!Number.isInteger(u))throw new re("invalid object offset in the ObjStm stream: ".concat(u));o[c]=g,s[c]=u}for(var l=(A.start||0)+n,h=new Array(i),I=0;I<i;++I){var f=I<i-1?s[I+1]-s[I]:void 0;if(f<0)throw new re("Invalid offset in the ObjStm stream.");var C=(a=new Jo({lexer:new Oo(A.makeSubStream(l+s[I],f,A.dict)),xref:this,allowStreams:!0})).getObj();if(h[I]=C,!(C instanceof ze)){var B=o[I],Q=this.entries[B];Q&&Q.offset===r&&Q.gen===I&&this._cacheMap.set(B,C)}}if(void 0===(t=h[t.gen]))throw new Qt("Bad (compressed) XRef entry: ".concat(e));return t}},{key:"fetchIfRefAsync",value:(t=dG(QG().mark((function e(t,r){return QG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Ye)){e.next=2;break}return e.abrupt("return",this.fetchAsync(t,r));case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"fetchAsync",value:(e=dG(QG().mark((function e(t,r){return QG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",this.fetch(t,r));case 4:if(e.prev=4,e.t0=e.catch(0),e.t0 instanceof Ct){e.next=8;break}throw e.t0;case 8:return e.next=10,this.pdfManager.requestRange(e.t0.begin,e.t0.end);case 10:return e.abrupt("return",this.fetchAsync(t,r));case 11:case"end":return e.stop()}}),e,this,[[0,4]])}))),function(t,r){return e.apply(this,arguments)})},{key:"getCatalogObj",value:function(){return this.root}}]);var e,t}();function xG(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||LG(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function RG(){RG=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function GG(e){return function(e){if(Array.isArray(e))return UG(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||LG(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function NG(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=LG(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function LG(e,t){if(e){if("string"==typeof e)return UG(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?UG(e,t):void 0}}function UG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function MG(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function JG(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){MG(i,A,n,a,o,"next",e)}function o(e){MG(i,A,n,a,o,"throw",e)}a(void 0)}))}}function HG(e,t,r){return t=PG(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,YG()?Reflect.construct(t,r||[],PG(e).constructor):t.apply(e,r))}function YG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(YG=function(){return!!e})()}function PG(e){return PG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},PG(e)}function OG(e,t){return OG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},OG(e,t)}function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TG(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,jG(A.key),A)}}function qG(e,t,r){return t&&TG(e.prototype,t),r&&TG(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jG(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function WG(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function ZG(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}var _G=[0,0,612,792],XG=new WeakSet,VG=function(){return qG((function e(t){var r=t.pdfManager,A=t.xref,n=t.pageIndex,i=t.pageDict,a=t.ref,o=t.globalIdFactory,s=t.fontCache,c=t.builtInCMapCache,g=t.standardFontDataCache,u=t.globalImageCache,l=t.systemFontCache,h=t.nonBlendModesSet,I=t.xfaFactory;KG(this,e),WG(this,XG),this.pdfManager=r,this.pageIndex=n,this.pageDict=i,this.xref=A,this.ref=a,this.fontCache=s,this.builtInCMapCache=c,this.standardFontDataCache=g,this.globalImageCache=u,this.systemFontCache=l,this.nonBlendModesSet=h,this.evaluatorOptions=r.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=I;var f={obj:0};this._localIdFactory=function(e){function t(){return KG(this,t),HG(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&OG(e,t)}(t,e),qG(t,null,[{key:"createObjId",value:function(){return"p".concat(n,"_").concat(++f.obj)}},{key:"getPageObjId",value:function(){return"p".concat(a.toString())}}])}(o)}),[{key:"_getInheritableProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=yt({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(r)?1!==r.length&&r[0]instanceof He?He.merge({xref:this.xref,dictArray:r}):r[0]:r}},{key:"content",get:function(){return this.pageDict.getArray("Contents")}},{key:"resources",get:function(){var e=this._getInheritableProperty("Resources");return _(this,"resources",e instanceof He?e:He.empty)}},{key:"_getBoundingBox",value:function(e){if(this.xfaData)return this.xfaData.bbox;var t=Rt(this._getInheritableProperty(e,!0),null);if(t){if(t[2]-t[0]>0&&t[3]-t[1]>0)return t;q("Empty, or invalid, /".concat(e," entry."))}return null}},{key:"mediaBox",get:function(){return _(this,"mediaBox",this._getBoundingBox("MediaBox")||_G)}},{key:"cropBox",get:function(){return _(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var e=this.pageDict.get("UserUnit");return("number"!=typeof e||e<=0)&&(e=1),_(this,"userUnit",e)}},{key:"view",get:function(){var e=this.cropBox,t=this.mediaBox;if(e!==t&&!Be(e,t)){var r=ge.intersect(e,t);if(r&&r[2]-r[0]>0&&r[3]-r[1]>0)return _(this,"view",r);q("Empty /CropBox and /MediaBox intersection.")}return _(this,"view",t)}},{key:"rotate",get:function(){var e=this._getInheritableProperty("Rotate")||0;return e%90!=0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360),_(this,"rotate",e)}},{key:"_onSubStreamError",value:function(e,t){if(!this.evaluatorOptions.ignoreErrors)throw e;q("getContentStream - ignoring sub-stream (".concat(t,'): "').concat(e,'".'))}},{key:"getContentStream",value:function(){var e=this;return this.pdfManager.ensure(this,"content").then((function(t){return t instanceof ze?t:Array.isArray(t)?new VA(t,e._onSubStreamError.bind(e)):new sr}))}},{key:"xfaData",get:function(){return _(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}},{key:"saveNewAnnotations",value:(A=JG(RG().mark((function e(t,r,A,n){var i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xfaFactory){e.next=2;break}throw new Error("XFA: Cannot save new annotations.");case 2:return i=new eC({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),a=new Oe,o=new Pe,e.next=7,ZG(XG,this,zG).call(this,A,a,o);case 7:return s=this.pageDict,c=this.annotations.filter((function(e){return!(e instanceof Ye&&a.has(e))})),e.next=11,SR.saveNewAnnotations(i,r,A,n);case 11:g=e.sent,u=NG(g.annotations);try{for(u.s();!(l=u.n()).done;)(h=l.value.ref)instanceof Ye&&!o.has(h)&&c.push(h)}catch(e){u.e(e)}finally{u.f()}return I=s.get("Annots"),s.set("Annots",c),f=[],e.next=19,iQ(this.ref,s,f,this.xref);case 19:I&&s.set("Annots",I),(C=g.dependencies).push.apply(C,[{ref:this.ref,data:f.join("")}].concat(GG(g.annotations))),B=NG(a);try{for(B.s();!(Q=B.n()).done;)E=Q.value,C.push({ref:E,data:null})}catch(e){B.e(e)}finally{B.f()}return e.abrupt("return",C);case 25:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n){return A.apply(this,arguments)})},{key:"save",value:function(e,t,r){var A=new eC({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions});return this._parsedAnnotations.then((function(e){var n,i=[],a=NG(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;i.push(o.save(A,t,r).catch((function(e){return q("save - ignoring annotation data during "+'"'.concat(t.name,'" task: "').concat(e,'".')),null})))}}catch(e){a.e(e)}finally{a.f()}return Promise.all(i).then((function(e){return e.filter((function(e){return!!e}))}))}))}},{key:"loadResources",value:function(e){var t=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then((function(){return new bE(t.resources,e,t.xref).load()}))}},{key:"getOperatorList",value:function(e){var t=this,r=e.handler,A=e.sink,n=e.task,i=e.intent,a=e.cacheKey,o=e.annotationStorage,s=void 0===o?null:o,c=e.modifiedIds,g=void 0===c?null:c,u=this.getContentStream(),l=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),h=new eC({xref:this.xref,handler:r,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),I=this.xfaFactory?null:qt(s),f=null==I?void 0:I.get(this.pageIndex),C=Promise.resolve(null),B=null;if(f){var Q,E,y=this.pdfManager.ensureDoc("annotationGlobals"),p=new Set,v=NG(f);try{for(v.s();!(E=v.n()).done;){var m=E.value,w=m.bitmapId,b=m.bitmap;!w||b||p.has(w)||p.add(w)}}catch(e){v.e(e)}finally{v.f()}var k=this.evaluatorOptions.isOffscreenCanvasSupported;if(p.size>0){var D,S=f.slice(),F=NG(s);try{for(F.s();!(D=F.n()).done;){var x=xG(D.value,2),R=x[0],G=x[1];R.startsWith(d)&&G.bitmap&&p.has(G.bitmapId)&&S.push(G)}}catch(e){F.e(e)}finally{F.f()}Q=SR.generateImages(S,this.xref,k)}else Q=SR.generateImages(f,this.xref,k);B=new Pe,C=Promise.all([y,ZG(XG,this,zG).call(this,f,B,null)]).then((function(e){var t=xG(e,1)[0];return t?SR.printNewAnnotations(t,h,n,f,Q):null}))}var N=Promise.all([u,l]).then((function(e){var o=xG(e,1)[0],s=new kf(i,A);return r.send("StartRenderPage",{transparency:h.hasBlendModes(t.resources,t.nonBlendModesSet),pageIndex:t.pageIndex,cacheKey:a}),h.getOperatorList({stream:o,task:n,resources:t.resources,operatorList:s}).then((function(){return s}))}));return Promise.all([N,this._parsedAnnotations,C]).then((function(e){var t=xG(e,3),r=t[0],A=t[1],a=t[2];if(a){A=A.filter((function(e){return!(e.ref&&B.has(e.ref))}));for(var o=function(e,t){var r=a[e];if(r.refToReplace){var n=A.findIndex((function(e){return e.ref&&je(e.ref,r.refToReplace)}));n>=0&&(A.splice(n,1,r),a.splice(e--,1),t--)}c=e,u=t},c=0,u=a.length;c<u;c++)o(c,u);A=A.concat(a)}if(0===A.length||64&i)return r.flush(!0),{length:r.totalLength};var l,I=!!(16&i),f=!!(128&i),C=!!(1&i),Q=!!(2&i),E=!!(4&i),d=[],y=NG(A);try{for(y.s();!(l=y.n()).done;){var p=l.value;(C||Q&&p.mustBeViewed(s,I)&&p.mustBeViewedWhenEditing(f,g)||E&&p.mustBePrinted(s))&&d.push(p.getOperatorList(h,n,i,s).catch((function(e){return q("getOperatorList - ignoring annotation data during "+'"'.concat(n.name,'" task: "').concat(e,'".')),{opList:null,separateForm:!1,separateCanvas:!1}})))}}catch(e){y.e(e)}finally{y.f()}return Promise.all(d).then((function(e){var t,A=!1,n=!1,i=NG(e);try{for(i.s();!(t=i.n()).done;){var a=t.value,o=a.opList,s=a.separateForm,c=a.separateCanvas;r.addOpList(o),A||(A=s),n||(n=c)}}catch(e){i.e(e)}finally{i.f()}return r.flush(!0,{form:A,canvas:n}),{length:r.totalLength}}))}))}},{key:"extractTextContent",value:(r=JG(RG().mark((function e(t){var r,A,n,i,a,o,s,c,g,u,l,h,I;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.handler,A=t.task,n=t.includeMarkedContent,i=t.disableNormalization,a=t.sink,o=this.getContentStream(),s=this.loadResources(["ExtGState","Font","Properties","XObject"]),c=this.pdfManager.ensureCatalog("lang"),e.next=6,Promise.all([o,s,c]);case 6:return g=e.sent,u=xG(g,3),l=u[0],h=u[2],I=new eC({xref:this.xref,handler:r,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),e.abrupt("return",I.getTextContent({stream:l,task:A,resources:this.resources,includeMarkedContent:n,disableNormalization:i,sink:a,viewBox:this.view,lang:h}));case 12:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getStructTree",value:(t=JG(RG().mark((function e(){var t,r;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("structTreeRoot");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,this._parsedAnnotations;case 7:return e.next=9,this.pdfManager.ensure(this,"_parseStructTree",[t]);case 9:return r=e.sent,e.abrupt("return",r.serializable);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_parseStructTree",value:function(e){var t=new zQ(e,this.pageDict);return t.parse(this.ref),t}},{key:"getAnnotationsData",value:(e=JG(RG().mark((function e(t,r,A){var n,i,a,o,s,c,g,u,l,h,I;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._parsedAnnotations;case 2:if(0!==(n=e.sent).length){e.next=5;break}return e.abrupt("return",n);case 5:i=[],a=[],s=!!(1&A),c=!!(2&A),g=!!(4&A),u=NG(n);try{for(u.s();!(l=u.n()).done;)h=l.value,((I=s||c&&h.viewable)||g&&h.printable)&&i.push(h.data),h.hasTextContent&&I&&(o||(o=new eC({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions})),a.push(h.extractTextContent(o,r,[-1/0,-1/0,1/0,1/0]).catch((function(e){q('getAnnotationsData - ignoring textContent during "'.concat(r.name,'" task: "').concat(e,'".'))}))))}catch(e){u.e(e)}finally{u.f()}return e.next=11,Promise.all(a);case 11:return e.abrupt("return",i);case 12:case"end":return e.stop()}}),e,this)}))),function(t,r,A){return e.apply(this,arguments)})},{key:"annotations",get:function(){var e=this._getInheritableProperty("Annots");return _(this,"annotations",Array.isArray(e)?e:[])}},{key:"_parsedAnnotations",get:function(){var e=this,t=this.pdfManager.ensure(this,"annotations").then(function(){var t=JG(RG().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B;return RG().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==r.length){t.next=2;break}return t.abrupt("return",r);case 2:return t.next=4,Promise.all([e.pdfManager.ensureDoc("annotationGlobals"),e.pdfManager.ensureDoc("fieldObjects")]);case 4:if(A=t.sent,n=xG(A,2),i=n[0],a=n[1],i){t.next=10;break}return t.abrupt("return",[]);case 10:o=null==a?void 0:a.orphanFields,s=[],c=NG(r);try{for(c.s();!(g=c.n()).done;)u=g.value,s.push(SR.create(e.xref,u,i,e._localIdFactory,!1,o,e.ref).catch((function(e){return q('_parsedAnnotations: "'.concat(e,'".')),null})))}catch(e){c.e(e)}finally{c.f()}return l=[],t.t0=NG,t.next=18,Promise.all(s);case 18:t.t1=t.sent,f=(0,t.t0)(t.t1),t.prev=20,f.s();case 22:if((C=f.n()).done){t.next=35;break}if(B=C.value){t.next=26;break}return t.abrupt("continue",33);case 26:if(!(B instanceof MR)){t.next=29;break}return(I||(I=[])).push(B),t.abrupt("continue",33);case 29:if(!(B instanceof TR)){t.next=32;break}return(h||(h=[])).push(B),t.abrupt("continue",33);case 32:l.push(B);case 33:t.next=22;break;case 35:t.next=40;break;case 37:t.prev=37,t.t2=t.catch(20),f.e(t.t2);case 40:return t.prev=40,f.f(),t.finish(40);case 43:return I&&l.push.apply(l,GG(I)),h&&l.push.apply(l,GG(h)),t.abrupt("return",l);case 46:case"end":return t.stop()}}),t,null,[[20,37,40,43]])})));return function(e){return t.apply(this,arguments)}}());return _(this,"_parsedAnnotations",t)}},{key:"jsActions",get:function(){return _(this,"jsActions",Mt(this.xref,this.pageDict,D))}}]);var e,t,r,A}();function zG(e,t,r){return $G.apply(this,arguments)}function $G(){return($G=JG(RG().mark((function e(t,r,A){var n,i,a,o,s=this;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[],i=NG(t),e.prev=2,o=RG().mark((function e(){var t,i,o;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=a.value).id){e.next=14;break}if(i=Ye.fromString(t.id)){e.next=6;break}return q("A non-linked annotation cannot be modified: ".concat(t.id)),e.abrupt("return",0);case 6:if(!t.deleted){e.next=10;break}return r.put(i,i),t.popupRef&&(o=Ye.fromString(t.popupRef))&&r.put(o,o),e.abrupt("return",0);case 10:null==A||A.put(i),t.ref=i,n.push(s.xref.fetchAsync(i).then((function(e){e instanceof He&&(t.oldAnnotation=e.clone())}),(function(){q("Cannot fetch \`oldAnnotation\` for: ".concat(i,"."))}))),delete t.id;case 14:case"end":return e.stop()}}),e)})),i.s();case 5:if((a=i.n()).done){e.next=12;break}return e.delegateYield(o(),"t0",7);case 7:if(0!==e.t0){e.next=10;break}return e.abrupt("continue",10);case 10:e.next=5;break;case 12:e.next=17;break;case 14:e.prev=14,e.t1=e.catch(2),i.e(e.t1);case 17:return e.prev=17,i.f(),e.finish(17);case 20:return e.next=22,Promise.all(n);case 22:case"end":return e.stop()}}),e,null,[[2,14,17,20]])})))).apply(this,arguments)}var eN=new Uint8Array([37,80,68,70,45]),tN=new Uint8Array([115,116,97,114,116,120,114,101,102]),rN=new Uint8Array([101,110,100,111,98,106]);function AN(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,A=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=t.length,i=e.peekBytes(r),a=i.length-n;if(a<=0)return!1;if(A)for(var o=n-1,s=i.length-1;s>=o;){for(var c=0;c<n&&i[s-c]===t[o-c];)c++;if(c>=n)return e.pos+=s-o,!0;s--}else for(var g=0;g<=a;){for(var u=0;u<n&&i[g+u]===t[u];)u++;if(u>=n)return e.pos+=g,!0;g++}return!1}var nN=new WeakSet,iN=function(){return qG((function e(t,r){if(KG(this,e),WG(this,nN),r.length<=0)throw new $("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=t,this.stream=r,this.xref=new FG(r,t),this._pagePromises=new Map,this._version=null;var A={font:0};this._globalIdFactory=function(){return qG((function e(){KG(this,e)}),null,[{key:"getDocId",value:function(){return"g_".concat(t.docId)}},{key:"createFontId",value:function(){return"f".concat(++A.font)}},{key:"createObjId",value:function(){j("Abstract method \`createObjId\` called.")}},{key:"getPageObjId",value:function(){j("Abstract method \`getPageObjId\` called.")}}])}()}),[{key:"parse",value:function(e){this.xref.parse(e),this.catalog=new fE(this.pdfManager,this.xref)}},{key:"linearization",get:function(){var e=null;try{e=Ko.create(this.stream)}catch(e){if(e instanceof Ct)throw e;T(e)}return _(this,"linearization",e)}},{key:"startXRef",get:function(){var e=this.stream,t=0;if(this.linearization){if(e.reset(),AN(e,rN)){e.skip(6);for(var r=e.peekByte();Dt(r);)e.pos++,r=e.peekByte();t=e.pos-e.start}}else{for(var A=tN.length,n=!1,i=e.end;!n&&i>0;)(i-=1024-A)<0&&(i=0),e.pos=i,n=AN(e,tN,1024,!0);if(n){var a;e.skip(9);do{a=e.getByte()}while(Dt(a));for(var o="";a>=32&&a<=57;)o+=String.fromCharCode(a),a=e.getByte();t=parseInt(o,10),isNaN(t)&&(t=0)}}return _(this,"startXRef",t)}},{key:"checkHeader",value:function(){var e=this.stream;if(e.reset(),AN(e,eN)){e.moveStart(),e.skip(eN.length);for(var t,r="";(t=e.getByte())>32&&r.length<7;)r+=String.fromCharCode(t);It.test(r)?this._version=r:q("Invalid PDF header version: ".concat(r))}}},{key:"parseStartXRef",value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"numPages",get:function(){return _(this,"numPages",this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():this.linearization?this.linearization.numPages:this.catalog.numPages)}},{key:"_hasOnlyDocumentSignatures",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!Array.isArray(e)&&e.every((function(e){if(!((e=t.xref.fetchIfRef(e))instanceof He))return!1;if(e.has("Kids"))return++r>10?(q("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):t._hasOnlyDocumentSignatures(e.get("Kids"),r);var A=Ke(e.get("FT"),"Sig"),n=e.get("Rect"),i=Array.isArray(n)&&n.every((function(e){return 0===e}));return A&&i}))}},{key:"_xfaStreams",get:function(){var e=this.catalog.acroForm;if(!e)return null;var t=e.get("XFA"),r={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(t instanceof ze&&!t.isEmpty)return r["xdp:xdp"]=t,r;if(!Array.isArray(t)||0===t.length)return null;for(var A=0,n=t.length;A<n;A+=2){var i;if(i=0===A?"xdp:xdp":A===n-2?"/xdp:xdp":t[A],r.hasOwnProperty(i)){var a=this.xref.fetchIfRef(t[A+1]);a instanceof ze&&!a.isEmpty&&(r[i]=a)}}return r}},{key:"xfaDatasets",get:function(){var e=this._xfaStreams;if(!e)return _(this,"xfaDatasets",null);for(var t=0,r=["datasets","xdp:xdp"];t<r.length;t++){var A=r[t],n=e[A];if(n)try{var i=fe(n.getString());return _(this,"xfaDatasets",new BG({[A]:i}))}catch(e){q("XFA - Invalid utf-8 string.");break}}return _(this,"xfaDatasets",null)}},{key:"xfaData",get:function(){var e=this._xfaStreams;if(!e)return null;for(var t=Object.create(null),r=0,A=Object.entries(e);r<A.length;r++){var n=xG(A[r],2),i=n[0],a=n[1];if(a)try{t[i]=fe(a.getString())}catch(e){return q("XFA - Invalid utf-8 string."),null}}return t}},{key:"xfaFactory",get:function(){var e;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(e=this.xfaData),_(this,"xfaFactory",e?new oR(e):null)}},{key:"isPureXfa",get:function(){return!!this.xfaFactory&&this.xfaFactory.isValid()}},{key:"htmlForXfa",get:function(){return this.xfaFactory?this.xfaFactory.getPages():null}},{key:"loadXfaImages",value:(o=JG(RG().mark((function e(){var t,r,A,n,i,a,o,s;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("xfaImages");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return");case 5:return r=t.getKeys(),A=new bE(t,r,this.xref),e.next=9,A.load();case 9:n=new Map,i=NG(r);try{for(i.s();!(a=i.n()).done;)o=a.value,(s=t.get(o))instanceof ze&&n.set(o,s.getBytes())}catch(e){i.e(e)}finally{i.f()}this.xfaFactory.setImages(n);case 13:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"loadXfaFonts",value:(a=JG(RG().mark((function e(t,r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("acroForm");case 2:if(A=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,A.getAsync("DR");case 7:if((n=e.sent)instanceof He){e.next=10;break}return e.abrupt("return");case 10:return i=new bE(n,["Font"],this.xref),e.next=13,i.load();case 13:if((a=n.get("Font"))instanceof He){e.next=16;break}return e.abrupt("return");case 16:(o=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions)).useSystemFonts=!1,s=new eC({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:o}),c=new kf,g=[],u={get font(){return g.at(-1)},set font(e){g.push(e)},clone(){return this}},l=new Map,a.forEach((function(e,t){l.set(e,t)})),h=[],I=NG(l),e.prev=26,I.s();case 28:if((f=I.n()).done){e.next=43;break}if(C=xG(f.value,2),B=C[0],Q=C[1],(E=Q.get("FontDescriptor"))instanceof He){e.next=33;break}return e.abrupt("continue",41);case 33:if(d=(d=E.get("FontFamily")).replaceAll(/[ ]+(\\d)/g,"$1"),y=E.get("FontWeight"),p=-E.get("ItalicAngle"),Ot(v={fontFamily:d,fontWeight:y,italicAngle:p})){e.next=40;break}return e.abrupt("continue",41);case 40:h.push(s.handleSetFont(n,[Ue.get(B),1],null,c,r,u,null,v).catch((function(e){return q('loadXfaFonts: "'.concat(e,'".')),null})));case 41:e.next=28;break;case 43:e.next=48;break;case 45:e.prev=45,e.t0=e.catch(26),I.e(e.t0);case 48:return e.prev=48,I.f(),e.finish(48);case 51:return e.next=53,Promise.all(h);case 53:if(m=this.xfaFactory.setFonts(g)){e.next=56;break}return e.abrupt("return");case 56:o.ignoreErrors=!0,h.length=0,g.length=0,w=new Set,b=NG(m);try{for(b.s();!(k=b.n()).done;)D=k.value,sh("".concat(D,"-Regular"))||w.add(D)}catch(e){b.e(e)}finally{b.f()}w.size&&m.push("PdfJS-Fallback"),S=NG(m),e.prev=64,S.s();case 66:if((F=S.n()).done){e.next=73;break}if(x=F.value,!w.has(x)){e.next=70;break}return e.abrupt("continue",71);case 70:for(R=0,G=[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}];R<G.length;R++)N=G[R],L="".concat(x,"-").concat(N.name),U=ch(L),h.push(s.handleSetFont(n,[Ue.get(L),1],null,c,r,u,U,{fontFamily:x,fontWeight:N.fontWeight,italicAngle:N.italicAngle}).catch((function(e){return q('loadXfaFonts: "'.concat(e,'".')),null})));case 71:e.next=66;break;case 73:e.next=78;break;case 75:e.prev=75,e.t1=e.catch(64),S.e(e.t1);case 78:return e.prev=78,S.f(),e.finish(78);case 81:return e.next=83,Promise.all(h);case 83:this.xfaFactory.appendFonts(g,w);case 84:case"end":return e.stop()}}),e,this,[[26,45,48,51],[64,75,78,81]])}))),function(e,t){return a.apply(this,arguments)})},{key:"serializeXfaData",value:(i=JG(RG().mark((function e(t){return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.xfaFactory?this.xfaFactory.serializeData(t):null);case 1:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"version",get:function(){return this.catalog.version||this._version}},{key:"formInfo",get:function(){var e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},t=this.catalog.acroForm;if(!t)return _(this,"formInfo",e);try{var r=t.get("Fields"),A=Array.isArray(r)&&r.length>0;e.hasFields=A;var n=t.get("XFA");e.hasXfa=Array.isArray(n)&&n.length>0||n instanceof ze&&!n.isEmpty;var i=!!(1&t.get("SigFlags")),a=i&&this._hasOnlyDocumentSignatures(r);e.hasAcroForm=A&&!a,e.hasSignatures=i}catch(e){if(e instanceof Ct)throw e;q('Cannot fetch form information: "'.concat(e,'".'))}return _(this,"formInfo",e)}},{key:"documentInfo",get:function(){var e,t={PDFFormatVersion:this.version,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};try{e=this.xref.trailer.get("Info")}catch(e){if(e instanceof Ct)throw e;T("The document information dictionary is invalid.")}if(!(e instanceof He))return _(this,"documentInfo",t);var r,A=NG(e.getKeys());try{for(A.s();!(r=A.n()).done;){var n=r.value,i=e.get(n);switch(n){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"==typeof i){t[n]=Ie(i);continue}break;case"Trapped":if(i instanceof Ue){t[n]=i;continue}break;default:var a=void 0;switch(typeof i){case"string":a=Ie(i);break;case"number":case"boolean":a=i;break;default:i instanceof Ue&&(a=i)}if(void 0===a){q('Bad value, for custom key "'.concat(n,'", in Info: ').concat(i,"."));continue}t.Custom||(t.Custom=Object.create(null)),t.Custom[n]=a;continue}q('Bad value, for key "'.concat(n,'", in Info: ').concat(i,"."))}}catch(e){A.e(e)}finally{A.f()}return _(this,"documentInfo",t)}},{key:"fingerprints",get:function(){function e(e){return"string"==typeof e&&e.length>0&&"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"!==e}function t(e){var t,r=[],A=NG(e);try{for(A.s();!(t=A.n()).done;){var n=t.value.toString(16);r.push(n.padStart(2,"0"))}}catch(e){A.e(e)}finally{A.f()}return r.join("")}var r,A,n=this.xref.trailer.get("ID");return Array.isArray(n)&&e(n[0])?(r=ie(n[0]),n[1]!==n[0]&&e(n[1])&&(A=ie(n[1]))):r=xB(this.stream.getByteRange(0,1024),0,1024),_(this,"fingerprints",[t(r),A?t(A):null])}},{key:"_getLinearizationPage",value:(n=JG(RG().mark((function e(t){var r,A,n,i,a,o;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.catalog,A=this.linearization,n=this.xref,i=Ye.get(A.objectNumberFirst,0),e.prev=2,e.next=5,n.fetchAsync(i);case 5:if(!((a=e.sent)instanceof He)){e.next=16;break}if(!((o=a.getRaw("Type"))instanceof Ye)){e.next=12;break}return e.next=11,n.fetchAsync(o);case 11:o=e.sent;case 12:if(!Ke(o,"Page")&&(a.has("Type")||a.has("Kids")||!a.has("Contents"))){e.next=16;break}return r.pageKidsCountCache.has(i)||r.pageKidsCountCache.put(i,1),r.pageIndexCache.has(i)||r.pageIndexCache.put(i,0),e.abrupt("return",[a,i]);case 16:throw new re("The Linearization dictionary doesn't point to a valid Page dictionary.");case 19:return e.prev=19,e.t0=e.catch(2),q('_getLinearizationPage: "'.concat(e.t0.message,'".')),e.abrupt("return",r.getPageDict(t));case 23:case"end":return e.stop()}}),e,this,[[2,19]])}))),function(e){return n.apply(this,arguments)})},{key:"getPage",value:function(e){var t=this,r=this._pagePromises.get(e);if(r)return r;var A,n=this.catalog,i=this.linearization,a=this.xfaFactory;return A=(A=a?Promise.resolve([He.empty,null]):(null==i?void 0:i.pageFirst)===e?this._getLinearizationPage(e):n.getPageDict(e)).then((function(r){var A=xG(r,2),i=A[0],o=A[1];return new VG({pdfManager:t.pdfManager,xref:t.xref,pageIndex:e,pageDict:i,ref:o,globalIdFactory:t._globalIdFactory,fontCache:n.fontCache,builtInCMapCache:n.builtInCMapCache,standardFontDataCache:n.standardFontDataCache,globalImageCache:n.globalImageCache,systemFontCache:n.systemFontCache,nonBlendModesSet:n.nonBlendModesSet,xfaFactory:a})})),this._pagePromises.set(e,A),A}},{key:"checkFirstPage",value:(A=JG(RG().mark((function e(){var t=arguments;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.length>0&&void 0!==t[0]&&t[0])){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,this.getPage(0);case 6:e.next=15;break;case 8:if(e.prev=8,e.t0=e.catch(3),!(e.t0 instanceof Qt)){e.next=15;break}return this._pagePromises.delete(0),e.next=14,this.cleanup();case 14:throw new Et;case 15:case"end":return e.stop()}}),e,this,[[3,8]])}))),function(){return A.apply(this,arguments)})},{key:"checkLastPage",value:(r=JG(RG().mark((function e(){var t,r,A,n,i,a,o,s,c,g,u,l,h,I=arguments;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=I.length>0&&void 0!==I[0]&&I[0],r=this.catalog,A=this.pdfManager,r.setActualNumPages(),e.prev=3,e.next=6,Promise.all([A.ensureDoc("xfaFactory"),A.ensureDoc("linearization"),A.ensureCatalog("numPages")]);case 6:if(!this.xfaFactory){e.next=10;break}return e.abrupt("return");case 10:n=this.linearization?this.linearization.numPages:r.numPages;case 11:if(Number.isInteger(n)){e.next=15;break}throw new re("Page count is not an integer.");case 15:if(!(n<=1)){e.next=17;break}return e.abrupt("return");case 17:return e.next=19,this.getPage(n-1);case 19:e.next=44;break;case 21:return e.prev=21,e.t0=e.catch(3),this._pagePromises.delete(n-1),e.next=26,this.cleanup();case 26:if(!(e.t0 instanceof Qt)||t){e.next=28;break}throw new Et;case 28:return q("checkLastPage - invalid /Pages tree /Count: ".concat(n,".")),e.prev=29,e.next=32,r.getAllPageDicts(t);case 32:i=e.sent,e.next=41;break;case 35:if(e.prev=35,e.t1=e.catch(29),!(e.t1 instanceof Qt)||t){e.next=39;break}throw new Et;case 39:return r.setActualNumPages(1),e.abrupt("return");case 41:a=NG(i);try{for(a.s();!(o=a.n()).done;)s=xG(o.value,2),c=s[0],g=xG(s[1],2),u=g[0],l=g[1],h=void 0,u instanceof Error?(h=Promise.reject(u)).catch((function(){})):h=Promise.resolve(new VG({pdfManager:A,xref:this.xref,pageIndex:c,pageDict:u,ref:l,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,systemFontCache:r.systemFontCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(c,h)}catch(e){a.e(e)}finally{a.f()}r.setActualNumPages(i.size);case 44:case"end":return e.stop()}}),e,this,[[3,21],[29,35]])}))),function(){return r.apply(this,arguments)})},{key:"fontFallback",value:function(e,t){return this.catalog.fontFallback(e,t)}},{key:"cleanup",value:(t=JG(RG().mark((function e(){var t,r=arguments;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]&&r[0],e.abrupt("return",this.catalog?this.catalog.cleanup(t):JC());case 2:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"fieldObjects",get:function(){var e=this,t=this.pdfManager.ensureDoc("formInfo").then(function(){var t=JG(RG().mark((function t(r){var A,n,i,a,o,s,c,g,u,l,h,I,f,C,B;return RG().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r.hasFields){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,Promise.all([e.pdfManager.ensureDoc("annotationGlobals"),e.pdfManager.ensureCatalog("acroForm")]);case 4:if(A=t.sent,n=xG(A,2),i=n[0],a=n[1],i){t.next=10;break}return t.abrupt("return",null);case 10:return o=new Pe,s=Object.create(null),c=new Map,g=new Oe,t.t0=NG,t.next=17,a.getAsync("Fields");case 17:t.t1=t.sent,u=(0,t.t0)(t.t1),t.prev=19,u.s();case 21:if((l=u.n()).done){t.next=27;break}return h=l.value,t.next=25,ZG(nN,e,aN).call(e,"",null,h,c,i,o,g);case 25:t.next=21;break;case 27:t.next=32;break;case 29:t.prev=29,t.t2=t.catch(19),u.e(t.t2);case 32:return t.prev=32,u.f(),t.finish(32);case 35:I=[],f=NG(c),t.prev=37,B=RG().mark((function e(){var t,r,A;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=xG(C.value,2),r=t[0],A=t[1],I.push(Promise.all(A).then((function(e){(e=e.filter((function(e){return!!e}))).length>0&&(s[r]=e)})));case 2:case"end":return e.stop()}}),e)})),f.s();case 40:if((C=f.n()).done){t.next=44;break}return t.delegateYield(B(),"t3",42);case 42:t.next=40;break;case 44:t.next=49;break;case 46:t.prev=46,t.t4=t.catch(37),f.e(t.t4);case 49:return t.prev=49,f.f(),t.finish(49);case 52:return t.next=54,Promise.all(I);case 54:return t.abrupt("return",{allFields:s,orphanFields:g});case 55:case"end":return t.stop()}}),t,null,[[19,29,32,35],[37,46,49,52]])})));return function(e){return t.apply(this,arguments)}}());return _(this,"fieldObjects",t)}},{key:"hasJSActions",get:function(){return _(this,"hasJSActions",this.pdfManager.ensureDoc("_parseHasJSActions"))}},{key:"_parseHasJSActions",value:(e=JG(RG().mark((function e(){var t,r,A,n;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);case 2:if(t=e.sent,r=xG(t,2),A=r[0],n=r[1],!A){e.next=8;break}return e.abrupt("return",!0);case 8:if(!n){e.next=10;break}return e.abrupt("return",Object.values(n.allFields).some((function(e){return e.some((function(e){return null!==e.actions}))})));case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"calculationOrderIds",get:function(){var e,t=null===(e=this.catalog.acroForm)||void 0===e?void 0:e.get("CO");if(!Array.isArray(t)||0===t.length)return _(this,"calculationOrderIds",null);var r,A=[],n=NG(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;i instanceof Ye&&A.push(i.toString())}}catch(e){n.e(e)}finally{n.f()}return _(this,"calculationOrderIds",A.length?A:null)}},{key:"annotationGlobals",get:function(){return _(this,"annotationGlobals",SR.createGlobals(this.pdfManager))}}]);var e,t,r,A,n,i,a,o}();function aN(e,t,r,A,n,i,a){return oN.apply(this,arguments)}function oN(){return(oN=JG(RG().mark((function e(t,r,A,n,i,a,o){var s,c,g,u,l,h,I,f,C;return RG().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=this.xref,A instanceof Ye&&!a.has(A)){e.next=3;break}return e.abrupt("return");case 3:return a.put(A),e.next=6,s.fetchAsync(A);case 6:if((c=e.sent)instanceof He){e.next=9;break}return e.abrupt("return");case 9:if(!c.has("T")){e.next=18;break}return e.t0=Ie,e.next=13,c.getAsync("T");case 13:e.t1=e.sent,g=(0,e.t0)(e.t1),t=""===t?g:"".concat(t,".").concat(g),e.next=39;break;case 18:u=c;case 19:if(!((u=u.getRaw("Parent")||r)instanceof Ye)){e.next=27;break}if(!a.has(u)){e.next=24;break}return e.abrupt("break",39);case 24:return e.next=26,s.fetchAsync(u);case 26:u=e.sent;case 27:if(u instanceof He){e.next=29;break}return e.abrupt("break",39);case 29:if(!u.has("T")){e.next=37;break}return e.t2=Ie,e.next=33,u.getAsync("T");case 33:return e.t3=e.sent,l=(0,e.t2)(e.t3),t=""===t?l:"".concat(t,".").concat(l),e.abrupt("break",39);case 37:e.next=19;break;case 39:if(r&&!c.has("Parent")&&Ke(c.get("Subtype"),"Widget")&&o.put(A,r),n.has(t)||n.set(t,[]),n.get(t).push(SR.create(s,A,i,null,!0,o,null).then((function(e){return null==e?void 0:e.getFieldObject()})).catch((function(e){return q('#collectFieldObjects: "'.concat(e,'".')),null}))),c.has("Kids")){e.next=44;break}return e.abrupt("return");case 44:return e.next=46,c.getAsync("Kids");case 46:if(h=e.sent,!Array.isArray(h)){e.next=65;break}I=NG(h),e.prev=49,I.s();case 51:if((f=I.n()).done){e.next=57;break}return C=f.value,e.next=55,ZG(nN,this,aN).call(this,t,A,C,n,i,a,o);case 55:e.next=51;break;case 57:e.next=62;break;case 59:e.prev=59,e.t4=e.catch(49),I.e(e.t4);case 62:return e.prev=62,I.f(),e.finish(62);case 65:case"end":return e.stop()}}),e,this,[[49,59,62,65]])})))).apply(this,arguments)}function sN(e,t,r){return t=gN(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cN()?Reflect.construct(t,r||[],gN(e).constructor):t.apply(e,r))}function cN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cN=function(){return!!e})()}function gN(e){return gN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gN(e)}function uN(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lN(e,t)}function lN(e,t){return lN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lN(e,t)}function hN(){hN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function IN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function fN(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){IN(i,A,n,a,o,"next",e)}function o(e){IN(i,A,n,a,o,"throw",e)}a(void 0)}))}}function CN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BN(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,EN(A.key),A)}}function QN(e,t,r){return t&&BN(e.prototype,t),r&&BN(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function EN(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var dN=function(){return QN((function e(t){var r;CN(this,e),this._docBaseUrl=function(e){if(e){var t=Z(e);if(t)return t.href;q('Invalid absolute docBaseUrl: "'.concat(e,'".'))}return null}(t.docBaseUrl),this._docId=t.docId,this._password=t.password,this.enableXfa=t.enableXfa,(r=t.evaluatorOptions).isOffscreenCanvasSupported&&(r.isOffscreenCanvasSupported=se.isOffscreenCanvasSupported),this.evaluatorOptions=Object.freeze(t.evaluatorOptions)}),[{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){return this._docBaseUrl}},{key:"catalog",get:function(){return this.pdfDocument.catalog}},{key:"ensureDoc",value:function(e,t){return this.ensure(this.pdfDocument,e,t)}},{key:"ensureXRef",value:function(e,t){return this.ensure(this.pdfDocument.xref,e,t)}},{key:"ensureCatalog",value:function(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}},{key:"getPage",value:function(e){return this.pdfDocument.getPage(e)}},{key:"fontFallback",value:function(e,t){return this.pdfDocument.fontFallback(e,t)}},{key:"loadXfaFonts",value:function(e,t){return this.pdfDocument.loadXfaFonts(e,t)}},{key:"loadXfaImages",value:function(){return this.pdfDocument.loadXfaImages()}},{key:"serializeXfaData",value:function(e){return this.pdfDocument.serializeXfaData(e)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pdfDocument.cleanup(e)}},{key:"ensure",value:(e=fN(hN().mark((function e(t,r,A){return hN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:j("Abstract method \`ensure\` called");case 1:case"end":return e.stop()}}),e)}))),function(t,r,A){return e.apply(this,arguments)})},{key:"requestRange",value:function(e,t){j("Abstract method \`requestRange\` called")}},{key:"requestLoadedStream",value:function(){j("Abstract method \`requestLoadedStream\` called")}},{key:"sendProgressiveData",value:function(e){j("Abstract method \`sendProgressiveData\` called")}},{key:"updatePassword",value:function(e){this._password=e}},{key:"terminate",value:function(e){j("Abstract method \`terminate\` called")}}]);var e}(),yN=function(e){function t(e){var r;CN(this,t),r=sN(this,t,[e]);var A=new ar(e.source);return r.pdfDocument=new iN(r,A),r._loadedStreamPromise=Promise.resolve(A),r}return uN(t,dN),QN(t,[{key:"ensure",value:(r=fN(hN().mark((function e(t,r,A){var n;return hN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof(n=t[r])){e.next=3;break}return e.abrupt("return",n.apply(t,A));case 3:return e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)}))),function(e,t,A){return r.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(e){}}]);var r}(),pN=function(e){function t(e){var r;return CN(this,t),(r=sN(this,t,[e])).streamManager=new dr(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize}),r.pdfDocument=new iN(r,r.streamManager.getStream()),r}return uN(t,dN),QN(t,[{key:"ensure",value:(r=fN(hN().mark((function e(t,r,A){var n;return hN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"function"!=typeof(n=t[r])){e.next=4;break}return e.abrupt("return",n.apply(t,A));case 4:return e.abrupt("return",n);case 7:if(e.prev=7,e.t0=e.catch(0),e.t0 instanceof Ct){e.next=11;break}throw e.t0;case 11:return e.next=13,this.requestRange(e.t0.begin,e.t0.end);case 13:return e.abrupt("return",this.ensure(t,r,A));case 14:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e,t,A){return r.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return this.streamManager.requestRange(e,t)}},{key:"requestLoadedStream",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.streamManager.requestAllChunks(e)}},{key:"sendProgressiveData",value:function(e){this.streamManager.onReceiveData({chunk:e})}},{key:"terminate",value:function(e){this.streamManager.abort(e)}}]);var r}();function vN(){vN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function mN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function wN(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,bN(A.key),A)}}function bN(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function kN(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}r(5204);function DN(e){switch(e instanceof Error||"object"==typeof e&&null!==e||j('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new Ae(e.message);case"MissingPDFException":return new ee(e.message);case"PasswordException":return new V(e.message,e.code);case"UnexpectedResponseException":return new te(e.message,e.status);case"UnknownErrorException":return new z(e.message,e.details);default:return new z(e.message,e.toString())}}var SN=new WeakSet,FN=function(){return function(e,t,r){return t&&wN(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,r,A){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}(this,SN),this.sourceName=t,this.targetName=r,this.comObj=A,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),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===n.sourceName)if(t.stream)kN(SN,n,RN).call(n,t);else if(t.callback){var r=t.callbackId,i=n.callbackCapabilities[r];if(!i)throw new Error("Cannot resolve callback ".concat(r));if(delete n.callbackCapabilities[r],1===t.callback)i.resolve(t.data);else{if(2!==t.callback)throw new Error("Unexpected callback case");i.reject(DN(t.reason))}}else{var a=n.actionHandler[t.action];if(!a)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var o=n.sourceName,s=t.sourceName;new Promise((function(e){e(a(t.data))})).then((function(e){A.postMessage({sourceName:o,targetName:s,callback:1,callbackId:t.callbackId,data:e})}),(function(e){A.postMessage({sourceName:o,targetName:s,callback:2,callbackId:t.callbackId,reason:DN(e)})}))}else t.streamId?kN(SN,n,xN).call(n,t):a(t.data)}},A.addEventListener("message",this._onComObjOnMessage)}),[{key:"on",value:function(e,t){var r=this.actionHandler;if(r[e])throw new Error('There is already an actionName called "'.concat(e,'"'));r[e]=t}},{key:"send",value:function(e,t,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)}},{key:"sendWithPromise",value:function(e,t,r){var A=this.callbackId++,n=Promise.withResolvers();this.callbackCapabilities[A]=n;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:A,data:t},r)}catch(e){n.reject(e)}return n.promise}},{key:"sendWithStream",value:function(e,t,r,A){var n=this,i=this.streamId++,a=this.sourceName,o=this.targetName,s=this.comObj;return new ReadableStream({start:function(r){var c=Promise.withResolvers();return n.streamControllers[i]={controller:r,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},s.postMessage({sourceName:a,targetName:o,action:e,streamId:i,data:t,desiredSize:r.desiredSize},A),c.promise},pull:function(e){var t=Promise.withResolvers();return n.streamControllers[i].pullCall=t,s.postMessage({sourceName:a,targetName:o,stream:6,streamId:i,desiredSize:e.desiredSize}),t.promise},cancel:function(e){W(e instanceof Error,"cancel must have a valid reason");var t=Promise.withResolvers();return n.streamControllers[i].cancelCall=t,n.streamControllers[i].isClosed=!0,s.postMessage({sourceName:a,targetName:o,stream:1,streamId:i,reason:DN(e)}),t.promise}},r)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])}();function xN(e){var t=e.streamId,r=this.sourceName,A=e.sourceName,n=this.comObj,i=this,a=this.actionHandler[e.action],o={enqueue(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var o=this.desiredSize;this.desiredSize-=i,o>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),n.postMessage({sourceName:r,targetName:A,stream:4,streamId:t,chunk:e},a)}},close(){this.isCancelled||(this.isCancelled=!0,n.postMessage({sourceName:r,targetName:A,stream:3,streamId:t}),delete i.streamSinks[t])},error(e){W(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,n.postMessage({sourceName:r,targetName:A,stream:5,streamId:t,reason:DN(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,new Promise((function(t){t(a(e.data,o))})).then((function(){n.postMessage({sourceName:r,targetName:A,stream:8,streamId:t,success:!0})}),(function(e){n.postMessage({sourceName:r,targetName:A,stream:8,streamId:t,reason:DN(e)})}))}function RN(e){var t=e.streamId,r=this.sourceName,A=e.sourceName,n=this.comObj,i=this.streamControllers[t],a=this.streamSinks[t];switch(e.stream){case 8:e.success?i.startCall.resolve():i.startCall.reject(DN(e.reason));break;case 7:e.success?i.pullCall.resolve():i.pullCall.reject(DN(e.reason));break;case 6:if(!a){n.postMessage({sourceName:r,targetName:A,stream:7,streamId:t,success:!0});break}a.desiredSize<=0&&e.desiredSize>0&&a.sinkCapability.resolve(),a.desiredSize=e.desiredSize,new Promise((function(e){var t;e(null===(t=a.onPull)||void 0===t?void 0:t.call(a))})).then((function(){n.postMessage({sourceName:r,targetName:A,stream:7,streamId:t,success:!0})}),(function(e){n.postMessage({sourceName:r,targetName:A,stream:7,streamId:t,reason:DN(e)})}));break;case 4:if(W(i,"enqueue should have stream controller"),i.isClosed)break;i.controller.enqueue(e.chunk);break;case 3:if(W(i,"close should have stream controller"),i.isClosed)break;i.isClosed=!0,i.controller.close(),kN(SN,this,GN).call(this,i,t);break;case 5:W(i,"error should have stream controller"),i.controller.error(DN(e.reason)),kN(SN,this,GN).call(this,i,t);break;case 2:e.success?i.cancelCall.resolve():i.cancelCall.reject(DN(e.reason)),kN(SN,this,GN).call(this,i,t);break;case 1:if(!a)break;new Promise((function(t){var r;t(null===(r=a.onCancel)||void 0===r?void 0:r.call(a,DN(e.reason)))})).then((function(){n.postMessage({sourceName:r,targetName:A,stream:2,streamId:t,success:!0})}),(function(e){n.postMessage({sourceName:r,targetName:A,stream:2,streamId:t,reason:DN(e)})})),a.sinkCapability.reject(DN(e.reason)),a.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}function GN(e,t){return NN.apply(this,arguments)}function NN(){var e;return e=vN().mark((function e(t,r){var A,n,i;return vN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([null===(A=t.startCall)||void 0===A?void 0:A.promise,null===(n=t.pullCall)||void 0===n?void 0:n.promise,null===(i=t.cancelCall)||void 0===i?void 0:i.promise]);case 2:delete this.streamControllers[r];case 3:case"end":return e.stop()}}),e,this)})),NN=function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){mN(i,A,n,a,o,"next",e)}function o(e){mN(i,A,n,a,o,"throw",e)}a(void 0)}))},NN.apply(this,arguments)}function LN(){LN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function UN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function MN(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){UN(i,A,n,a,o,"next",e)}function o(e){UN(i,A,n,a,o,"throw",e)}a(void 0)}))}}function JN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function HN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YN(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,ON(A.key),A)}}function PN(e,t,r){return t&&YN(e.prototype,t),r&&YN(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ON(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var KN=function(){return PN((function e(t){HN(this,e),this._msgHandler=t,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"getFullReader",value:function(){return W(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new TN(this._msgHandler),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new qN(e,t,this._msgHandler);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){var t;null===(t=this._fullRequestReader)||void 0===t||t.cancel(e);var r,A=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return JN(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?JN(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(this._rangeRequestReaders.slice(0));try{for(A.s();!(r=A.n()).done;)r.value.cancel(e)}catch(e){A.e(e)}finally{A.f()}}}])}(),TN=function(){return PN((function e(t){var r=this;HN(this,e),this._msgHandler=t,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var A=this._msgHandler.sendWithStream("GetReader");this._reader=A.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((function(e){r._isStreamingSupported=e.isStreamingSupported,r._isRangeSupported=e.isRangeSupported,r._contentLength=e.contentLength}))}),[{key:"headersReady",get:function(){return this._headersReady}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"read",value:(e=MN(LN().mark((function e(){var t,r;return LN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]);var e}(),qN=function(){return PN((function e(t,r,A){HN(this,e),this._msgHandler=A,this.onProgress=null;var n=this._msgHandler.sendWithStream("GetRangeReader",{begin:t,end:r});this._reader=n.getReader()}),[{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(e=MN(LN().mark((function e(){var t,r;return LN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]);var e}();function jN(){jN=function(){return t};var e,t={},r=Object.prototype,A=r.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function g(e,t,r,A){var i=t&&t.prototype instanceof B?t:B,a=Object.create(i.prototype),o=new F(A||[]);return n(a,"_invoke",{value:b(e,r,o)}),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=g;var l="suspendedStart",h="suspendedYield",I="executing",f="completed",C={};function B(){}function Q(){}function E(){}var d={};c(d,a,(function(){return this}));var y=Object.getPrototypeOf,p=y&&y(y(x([])));p&&p!==r&&A.call(p,a)&&(d=p);var v=E.prototype=B.prototype=Object.create(d);function m(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function r(n,i,a,o){var s=u(e[n],e,i);if("throw"!==s.type){var c=s.arg,g=c.value;return g&&"object"==typeof g&&A.call(g,"__await")?t.resolve(g.__await).then((function(e){r("next",e,a,o)}),(function(e){r("throw",e,a,o)})):t.resolve(g).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,o)}))}o(s.arg)}var i;n(this,"_invoke",{value:function(e,A){function n(){return new t((function(t,n){r(e,A,t,n)}))}return i=i?i.then(n,n):n()}})}function b(t,r,A){var n=l;return function(i,a){if(n===I)throw Error("Generator is already running");if(n===f){if("throw"===i)throw a;return{value:e,done:!0}}for(A.method=i,A.arg=a;;){var o=A.delegate;if(o){var s=k(o,A);if(s){if(s===C)continue;return s}}if("next"===A.method)A.sent=A._sent=A.arg;else if("throw"===A.method){if(n===l)throw n=f,A.arg;A.dispatchException(A.arg)}else"return"===A.method&&A.abrupt("return",A.arg);n=I;var c=u(t,r,A);if("normal"===c.type){if(n=A.done?f:h,c.arg===C)continue;return{value:c.arg,done:A.done}}"throw"===c.type&&(n=f,A.method="throw",A.arg=c.arg)}}}function k(t,r){var A=r.method,n=t.iterator[A];if(n===e)return r.delegate=null,"throw"===A&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==A&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+A+"' method")),C;var i=u(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,C;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,C):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,C)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function x(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(A.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return Q.prototype=E,n(v,"constructor",{value:E,configurable:!0}),n(E,"constructor",{value:Q,configurable:!0}),Q.displayName=c(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===Q||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,c(e,s,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},m(w.prototype),c(w.prototype,o,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,A,n,i){void 0===i&&(i=Promise);var a=new w(g(e,r,A,n),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),c(v,s,"Generator"),c(v,a,(function(){return this})),c(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var A in t)r.push(A);return r.reverse(),function e(){for(;r.length;){var A=r.pop();if(A in t)return e.value=A,e.done=!1,e}return e.done=!0,e}},t.values=x,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&A.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(A,n){return o.type="throw",o.arg=t,r.next=A,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=A.call(a,"catchLoc"),c=A.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&A.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),S(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var A=r.completion;if("throw"===A.type){var n=A.arg;S(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,A){return this.delegate={iterator:x(t),resultName:r,nextLoc:A},"next"===this.method&&(this.arg=e),C}},t}function WN(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_N(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var A=0,n=function(){};return{s:n,n:function(){return A>=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){o=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function ZN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var A,n,i,a,o=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(A=i.call(r)).done)&&(o.push(A.value),o.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return o}}(e,t)||_N(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _N(e,t){if(e){if("string"==typeof e)return XN(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?XN(e,t):void 0}}function XN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,A=Array(t);r<t;r++)A[r]=e[r];return A}function VN(e,t,r,A,n,i,a){try{var o=e[i](a),s=o.value}catch(e){return void r(e)}o.done?t(s):Promise.resolve(s).then(A,n)}function zN(e){return function(){var t=this,r=arguments;return new Promise((function(A,n){var i=e.apply(t,r);function a(e){VN(i,A,n,a,o,"next",e)}function o(e){VN(i,A,n,a,o,"throw",e)}a(void 0)}))}}function $N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eL(e,t){for(var r=0;r<t.length;r++){var A=t[r];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(e,rL(A.key),A)}}function tL(e,t,r){return t&&eL(e.prototype,t),r&&eL(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function rL(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var A=r.call(e,"string");if("object"!=typeof A)return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var AL,nL=function(){return tL((function e(t){$N(this,e),this.name=t,this.terminated=!1,this._capability=Promise.withResolvers()}),[{key:"finished",get:function(){return this._capability.promise}},{key:"finish",value:function(){this._capability.resolve()}},{key:"terminate",value:function(){this.terminated=!0}},{key:"ensureNotTerminated",value:function(){if(this.terminated)throw new Error("Worker task was terminated")}}])}(),iL=function(){function e(){$N(this,e)}return tL(e,null,[{key:"setup",value:function(t,r){var A=!1;t.on("test",(function(e){A||(A=!0,t.send("test",e instanceof Uint8Array))})),t.on("configure",(function(e){var t;t=e.verbosity,Number.isInteger(t)&&(O=t)})),t.on("GetDocRequest",(function(t){return e.createDocumentHandler(t,r)}))}},{key:"createDocumentHandler",value:function(e,t){var r,A=!1,n=null,i=new Set,a=K(),o=e,s=o.docId,c=o.apiVersion,g="4.7.0";if(c!==g)throw new Error('The API version "'.concat(c,'" does not match ')+'the Worker version "'.concat(g,'".'));var u=[];for(var l in[])u.push(l);if(u.length)throw new Error("The \`Array.prototype\` contains unexpected enumerable properties: "+u.join(", ")+"; thus breaking e.g. \`for...in\` iteration of \`Array\`s.");var h=s+"_worker",I=new FN(h,s,t);function f(){if(A)throw new Error("Worker was terminated")}function C(e){i.add(e)}function B(e){e.finish(),i.delete(e)}function Q(e){return E.apply(this,arguments)}function E(){return(E=zN(jN().mark((function e(t){var A,n,i,a,o,s,c;return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.ensureDoc("checkHeader");case 2:return e.next=4,r.ensureDoc("parseStartXRef");case 4:return e.next=6,r.ensureDoc("parse",[t]);case 6:return e.next=8,r.ensureDoc("checkFirstPage",[t]);case 8:return e.next=10,r.ensureDoc("checkLastPage",[t]);case 10:return e.next=12,r.ensureDoc("isPureXfa");case 12:if(!(A=e.sent)){e.next=18;break}return C(n=new nL("loadXfaFonts")),e.next=18,Promise.all([r.loadXfaFonts(I,n).catch((function(e){})).then((function(){return B(n)})),r.loadXfaImages()]);case 18:return e.next=20,Promise.all([r.ensureDoc("numPages"),r.ensureDoc("fingerprints")]);case 20:if(i=e.sent,a=ZN(i,2),o=a[0],s=a[1],!A){e.next=30;break}return e.next=27,r.ensureDoc("htmlForXfa");case 27:e.t0=e.sent,e.next=31;break;case 30:e.t0=null;case 31:return c=e.t0,e.abrupt("return",{numPages:o,fingerprints:s,htmlForXfa:c});case 33:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return I.on("GetPage",(function(e){return r.getPage(e.pageIndex).then((function(e){return Promise.all([r.ensure(e,"rotate"),r.ensure(e,"ref"),r.ensure(e,"userUnit"),r.ensure(e,"view")]).then((function(e){var t,r=ZN(e,4),A=r[0],n=r[1],i=r[2],a=r[3];return{rotate:A,ref:n,refStr:null!==(t=null==n?void 0:n.toString())&&void 0!==t?t:null,userUnit:i,view:a}}))}))})),I.on("GetPageIndex",(function(e){var t=Ye.get(e.num,e.gen);return r.ensureCatalog("getPageIndex",[t])})),I.on("GetDestinations",(function(e){return r.ensureCatalog("destinations")})),I.on("GetDestination",(function(e){return r.ensureCatalog("getDestination",[e.id])})),I.on("GetPageLabels",(function(e){return r.ensureCatalog("pageLabels")})),I.on("GetPageLayout",(function(e){return r.ensureCatalog("pageLayout")})),I.on("GetPageMode",(function(e){return r.ensureCatalog("pageMode")})),I.on("GetViewerPreferences",(function(e){return r.ensureCatalog("viewerPreferences")})),I.on("GetOpenAction",(function(e){return r.ensureCatalog("openAction")})),I.on("GetAttachments",(function(e){return r.ensureCatalog("attachments")})),I.on("GetDocJSActions",(function(e){return r.ensureCatalog("jsActions")})),I.on("GetPageJSActions",(function(e){var t=e.pageIndex;return r.getPage(t).then((function(e){return r.ensure(e,"jsActions")}))})),I.on("GetOutline",(function(e){return r.ensureCatalog("documentOutline")})),I.on("GetOptionalContentConfig",(function(e){return r.ensureCatalog("optionalContentConfig")})),I.on("GetPermissions",(function(e){return r.ensureCatalog("permissions")})),I.on("GetMetadata",(function(e){return Promise.all([r.ensureDoc("documentInfo"),r.ensureCatalog("metadata")])})),I.on("GetMarkInfo",(function(e){return r.ensureCatalog("markInfo")})),I.on("GetData",(function(e){return r.requestLoadedStream().then((function(e){return e.bytes}))})),I.on("GetAnnotations",(function(e){var t=e.pageIndex,A=e.intent;return r.getPage(t).then((function(e){var r=new nL("GetAnnotations: page ".concat(t));return C(r),e.getAnnotationsData(I,r,A).then((function(e){return B(r),e}),(function(e){throw B(r),e}))}))})),I.on("GetFieldObjects",(function(e){return r.ensureDoc("fieldObjects").then((function(e){return(null==e?void 0:e.allFields)||null}))})),I.on("HasJSActions",(function(e){return r.ensureDoc("hasJSActions")})),I.on("GetCalculationOrderIds",(function(e){return r.ensureDoc("calculationOrderIds")})),I.on("SaveDocument",function(){var e=zN(jN().mark((function e(t){var A,n,i,a,o,s,c,g,u,l,h,f,C,Q,E,d,y,p,v,m,w,b,k,D,S,F,x,R,G,N,L,U,M,J,H,Y,P,O;return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A=t.isPureXfa,n=t.numPages,i=t.annotationStorage,a=t.filename,o=[r.requestLoadedStream(),r.ensureCatalog("acroForm"),r.ensureCatalog("acroFormRef"),r.ensureDoc("startXRef"),r.ensureDoc("xref"),r.ensureDoc("linearization"),r.ensureCatalog("structTreeRoot")],s=[],c=A?null:qt(i),e.next=6,Promise.all(o);case 6:if(g=e.sent,u=ZN(g,7),l=u[0],h=u[1],f=u[2],C=u[3],Q=u[4],E=u[5],d=u[6],y=Q.trailer.getRaw("Root")||null,!c){e.next=47;break}if(d){e.next=24;break}return e.next=20,OQ.canCreateStructureTree({catalogRef:y,pdfManager:r,newAnnotationsByPage:c});case 20:if(!e.sent){e.next=22;break}p=null;case 22:e.next=28;break;case 24:return e.next=26,d.canUpdateStructTree({pdfManager:r,xref:Q,newAnnotationsByPage:c});case 26:if(!e.sent){e.next=28;break}p=d;case 28:v=SR.generateImages(i.values(),Q,r.evaluatorOptions.isOffscreenCanvasSupported),m=void 0===p?s:[],w=WN(c),e.prev=31,k=jN().mark((function e(){var t,A,n;return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=ZN(b.value,2),A=t[0],n=t[1],m.push(r.getPage(A).then((function(e){var t=new nL("Save (editor): page ".concat(A));return e.saveNewAnnotations(I,t,n,v).finally((function(){B(t)}))})));case 2:case"end":return e.stop()}}),e)})),w.s();case 34:if((b=w.n()).done){e.next=38;break}return e.delegateYield(k(),"t0",36);case 36:e.next=34;break;case 38:e.next=43;break;case 40:e.prev=40,e.t1=e.catch(31),w.e(e.t1);case 43:return e.prev=43,w.f(),e.finish(43);case 46:null===p?s.push(Promise.all(m).then(function(){var e=zN(jN().mark((function e(t){return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,OQ.createStructureTree({newAnnotationsByPage:c,xref:Q,catalogRef:y,pdfManager:r,newRefs:t});case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())):p&&s.push(Promise.all(m).then(function(){var e=zN(jN().mark((function e(t){return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.updateStructureTree({newAnnotationsByPage:c,pdfManager:r,newRefs:t});case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 47:if(!A){e.next=51;break}s.push(r.serializeXfaData(i)),e.next=58;break;case 51:D=jN().mark((function e(t){return jN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s.push(r.getPage(t).then((function(e){var r=new nL("Save: page ".concat(t));return e.save(I,r,i).finally((function(){B(r)}))})));case 1:case"end":return e.stop()}}),e)})),S=0;case 53:if(!(S<n)){e.next=58;break}return e.delegateYield(D(S),"t2",55);case 55:S++,e.next=53;break;case 58:return e.next=60,Promise.all(s);case 60:if(F=e.sent,x=[],R=null,!A){e.next=69;break}if(R=F[0]){e.next=67;break}return e.abrupt("return",l.bytes);case 67:e.next=72;break;case 69:if(0!==(x=F.flat(2)).length){e.next=72;break}return e.abrupt("return",l.bytes);case 72:if(G=f&&h instanceof He&&x.some((function(e){return e.needAppearances})),N=h instanceof He&&h.get("XFA")||null,L=null,U=!1,Array.isArray(N)){for(M=0,J=N.length;M<J;M+=2)"datasets"===N[M]&&(L=N[M+1],U=!0);null===L&&(L=Q.getNewTemporaryRef())}else N&&q("Unsupported XFA type.");return H=Object.create(null),Q.trailer&&(P=Object.create(null),(O=Q.trailer.get("Info")||null)instanceof He&&O.forEach((function(e,t){"string"==typeof t&&(P[e]=Ie(t))})),H={rootRef:y,encryptRef:Q.trailer.getRaw("Encrypt")||null,newRef:Q.getNewTemporaryRef(),infoRef:Q.trailer.getRaw("Info")||null,info:P,fileIds:Q.trailer.get("ID")||null,startXRef:E?C:null!==(Y=Q.lastXRefStreamPos)&&void 0!==Y?Y:C,filename:a}),e.abrupt("return",kQ({originalData:l.bytes,xrefInfo:H,newRefs:x,xref:Q,hasXfa:!!N,xfaDatasetsRef:L,hasXfaDatasetsEntry:U,needAppearances:G,acroFormRef:f,acroForm:h,xfaData:R,useXrefStream:qe(Q.topDict,"XRef")}).finally((function(){Q.resetNewTemporaryRef()})));case 80:case"end":return e.stop()}}),e,null,[[31,40,43,46]])})));return function(t){return e.apply(this,arguments)}}()),I.on("GetOperatorList",(function(e,t){var A=e.pageIndex;r.getPage(A).then((function(r){var n=new nL("GetOperatorList: page ".concat(A));C(n);var i=a>=S.INFOS?Date.now():0;r.getOperatorList({handler:I,sink:t,task:n,intent:e.intent,cacheKey:e.cacheKey,annotationStorage:e.annotationStorage,modifiedIds:e.modifiedIds}).then((function(e){B(n),i&&T("page=".concat(A+1," - getOperatorList: time=")+"".concat(Date.now()-i,"ms, len=").concat(e.length)),t.close()}),(function(e){B(n),n.terminated||t.error(e)}))}))})),I.on("GetTextContent",(function(e,t){var A=e.pageIndex,n=e.includeMarkedContent,i=e.disableNormalization;r.getPage(A).then((function(e){var r=new nL("GetTextContent: page "+A);C(r);var o=a>=S.INFOS?Date.now():0;e.extractTextContent({handler:I,task:r,sink:t,includeMarkedContent:n,disableNormalization:i}).then((function(){B(r),o&&T("page=".concat(A+1," - getTextContent: time=")+"".concat(Date.now()-o,"ms")),t.close()}),(function(e){B(r),r.terminated||t.error(e)}))}))})),I.on("GetStructTree",(function(e){return r.getPage(e.pageIndex).then((function(e){return r.ensure(e,"getStructTree")}))})),I.on("FontFallback",(function(e){return r.fontFallback(e.id,I)})),I.on("Cleanup",(function(e){return r.cleanup(!0)})),I.on("Terminate",(function(e){A=!0;var t=[];if(r){r.terminate(new Ae("Worker was terminated."));var a=r.cleanup();t.push(a),r=null}else JC();n&&n(new Ae("Worker was terminated."));var o,s=WN(i);try{for(s.s();!(o=s.n()).done;){var c=o.value;t.push(c.finished),c.terminate()}}catch(e){s.e(e)}finally{s.f()}return Promise.all(t).then((function(){I.destroy(),I=null}))})),I.on("Ready",(function(t){!function(e){function t(e){f(),I.send("GetDoc",{pdfInfo:e})}function i(e){if(f(),e instanceof V){var t=new nL("PasswordException: response ".concat(e.code));C(t),I.sendWithPromise("PasswordRequest",e).then((function(e){var A=e.password;B(t),r.updatePassword(A),a()})).catch((function(){B(t),I.send("DocException",e)}))}else e instanceof $||e instanceof ee||e instanceof te||e instanceof z?I.send("DocException",e):I.send("DocException",new z(e.message,e.toString()))}function a(){f(),Q(!1).then(t,(function(e){f(),e instanceof Et?r.requestLoadedStream().then((function(){f(),Q(!0).then(t,i)})):i(e)}))}f(),function(e){var t,r=e.data,A=e.password,i=e.disableAutoFetch,a=e.rangeChunkSize,o=e.length,c=e.docBaseUrl,g=e.enableXfa,u=e.evaluatorOptions,l={source:null,disableAutoFetch:i,docBaseUrl:c,docId:s,enableXfa:g,evaluatorOptions:u,handler:I,length:o,password:A,rangeChunkSize:a},h=Promise.withResolvers();if(r){try{l.source=r,t=new yN(l),h.resolve(t)}catch(e){h.reject(e)}return h.promise}var C,B=[];try{C=new KN(I)}catch(e){return h.reject(e),h.promise}var Q=C.getFullReader();Q.headersReady.then((function(){if(Q.isRangeSupported){l.source=C,l.length=Q.contentLength,l.disableAutoFetch||(l.disableAutoFetch=Q.isStreamingSupported),t=new pN(l);for(var e=0,r=B;e<r.length;e++){var A=r[e];t.sendProgressiveData(A)}B=[],h.resolve(t),n=null}})).catch((function(e){h.reject(e),n=null}));var E=0;return new Promise((function(e,r){var A=function(e){var i=e.value,a=e.done;try{if(f(),a)return t||function(){var e=dt(B);o&&e.length!==o&&q("reported HTTP length is different from actual");try{l.source=e,t=new yN(l),h.resolve(t)}catch(e){h.reject(e)}B=[]}(),void(n=null);E+=i.byteLength,Q.isStreamingSupported||I.send("DocProgress",{loaded:E,total:Math.max(E,Q.contentLength||0)}),t?t.sendProgressiveData(i):B.push(i),Q.read().then(A,r)}catch(e){r(e)}};Q.read().then(A,r)})).catch((function(e){h.reject(e),n=null})),n=function(e){C.cancelAllRequests(e)},h.promise}(e).then((function(e){if(A)throw e.terminate(new Ae("Worker was terminated.")),new Error("Worker was terminated");(r=e).requestLoadedStream(!0).then((function(e){I.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(a,i)}(e),e=null})),h}},{key:"initializeFromPort",value:function(t){var r=new FN("worker","main",t);e.setup(r,t),r.send("ready",null)}}])}();"undefined"==typeof window&&!f&&"undefined"!=typeof self&&"function"==typeof(AL=self).postMessage&&"onmessage"in AL&&iL.initializeFromPort(self);`,Fe=`/*! For license information please see pdf.js.LICENSE.txt */
  262. var t={4186:(t,e,r)=>{var n=r(3749),i=r(8055),a=TypeError;t.exports=function(t){if(n(t))return t;throw new a(i(t)+" is not a function")}},9052:(t,e,r)=>{var n=r(8413),i=r(8055),a=TypeError;t.exports=function(t){if(n(t))return t;throw new a(i(t)+" is not a constructor")}},7330:(t,e,r)=>{var n=r(4597),i=String,a=TypeError;t.exports=function(t){if(n(t))return t;throw new a("Can't set "+i(t)+" as a prototype")}},4376:(t,e,r)=>{var n=r(418).has;t.exports=function(t){return n(t),t}},1458:(t,e,r)=>{var n=r(5811),i=r(5304),a=r(1601).f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),t.exports=function(t){s[o][t]=!0}},8149:(t,e,r)=>{var n=r(6903).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},3399:(t,e,r)=>{var n=r(6921),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},7447:(t,e,r)=>{var n=r(2674),i=String,a=TypeError;t.exports=function(t){if(n(t))return t;throw new a(i(t)+" is not an object")}},387:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},8242:(t,e,r)=>{var n=r(4032),i=r(5026),a=r(9872),o=n.ArrayBuffer,s=n.TypeError;t.exports=o&&i(o.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==a(t))throw new s("ArrayBuffer expected");return t.byteLength}},8102:(t,e,r)=>{var n=r(4032),i=r(2116),a=r(8242),o=n.ArrayBuffer,s=o&&o.prototype,u=s&&i(s.slice);t.exports=function(t){if(0!==a(t))return!1;if(!u)return!1;try{return u(t,0,0),!1}catch(t){return!0}}},7060:(t,e,r)=>{var n=r(3455);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},6033:(t,e,r)=>{var n=r(8102),i=TypeError;t.exports=function(t){if(n(t))throw new i("ArrayBuffer is detached");return t}},4676:(t,e,r)=>{var n=r(4032),i=r(2608),a=r(5026),o=r(9088),s=r(6033),u=r(8242),c=r(7395),l=r(6572),h=n.structuredClone,f=n.ArrayBuffer,d=n.DataView,v=Math.min,p=f.prototype,y=d.prototype,g=i(p.slice),m=a(p,"resizable","get"),b=a(p,"maxByteLength","get"),w=i(y.getInt8),k=i(y.setInt8);t.exports=(l||c)&&function(t,e,r){var n,i=u(t),a=void 0===e?i:o(e),p=!m||!m(t);if(s(t),l&&(t=h(t,{transfer:[t]}),i===a&&(r||p)))return t;if(i>=a&&(!r||p))n=g(t,0,a);else{var y=r&&!p&&b?{maxByteLength:b(t)}:void 0;n=new f(a,y);for(var x=new d(t),A=new d(n),_=v(a,i),E=0;E<_;E++)k(A,E,w(x,E))}return l||c(t),n}},4356:(t,e,r)=>{var n,i,a,o=r(387),s=r(2444),u=r(4032),c=r(3749),l=r(2674),h=r(9649),f=r(1179),d=r(8055),v=r(139),p=r(8552),y=r(8986),g=r(6921),m=r(2611),b=r(9415),w=r(5811),k=r(5936),x=r(8301),A=x.enforce,_=x.get,E=u.Int8Array,S=E&&E.prototype,O=u.Uint8ClampedArray,T=O&&O.prototype,P=E&&m(E),L=S&&m(S),M=Object.prototype,C=u.TypeError,j=w("toStringTag"),I=k("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",F=o&&!!b&&"Opera"!==f(u.opera),D=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},B=function(t){var e=m(t);if(l(e)){var r=_(e);return r&&h(r,R)?r[R]:B(e)}},G=function(t){if(!l(t))return!1;var e=f(t);return h(N,e)||h(W,e)};for(n in N)(a=(i=u[n])&&i.prototype)?A(a)[R]=i:F=!1;for(n in W)(a=(i=u[n])&&i.prototype)&&(A(a)[R]=i);if((!F||!c(P)||P===Function.prototype)&&(P=function(){throw new C("Incorrect invocation")},F))for(n in N)u[n]&&b(u[n],P);if((!F||!L||L===M)&&(L=P.prototype,F))for(n in N)u[n]&&b(u[n].prototype,L);if(F&&m(T)!==L&&b(T,L),s&&!h(L,j))for(n in D=!0,y(L,j,{configurable:!0,get:function(){return l(this)?this[I]:void 0}}),N)u[n]&&v(u[n],I,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:F,TYPED_ARRAY_TAG:D&&I,aTypedArray:function(t){if(G(t))return t;throw new C("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!b||g(P,t)))return t;throw new C(d(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(s){if(r)for(var i in N){var a=u[i];if(a&&h(a.prototype,t))try{delete a.prototype[t]}catch(r){try{a.prototype[t]=e}catch(t){}}}L[t]&&!r||p(L,t,r?e:F&&S[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,i;if(s){if(b){if(r)for(n in N)if((i=u[n])&&h(i,t))try{delete i[t]}catch(t){}if(P[t]&&!r)return;try{return p(P,t,r?e:F&&P[t]||e)}catch(t){}}for(n in N)!(i=u[n])||i[t]&&!r||p(i,t,e)}},getTypedArrayConstructor:B,isView:function(t){if(!l(t))return!1;var e=f(t);return"DataView"===e||h(N,e)||h(W,e)},isTypedArray:G,TypedArray:P,TypedArrayPrototype:L}},7226:(t,e,r)=>{var n=r(4032),i=r(2608),a=r(2444),o=r(387),s=r(2542),u=r(139),c=r(8986),l=r(4183),h=r(3455),f=r(3399),d=r(1211),v=r(5806),p=r(9088),y=r(3505),g=r(1306),m=r(2611),b=r(9415),w=r(9557),k=r(4224),x=r(3951),A=r(2924),_=r(6911),E=r(8301),S=s.PROPER,O=s.CONFIGURABLE,T="ArrayBuffer",P="DataView",L="prototype",M="Wrong index",C=E.getterFor(T),j=E.getterFor(P),I=E.set,R=n[T],F=R,D=F&&F[L],N=n[P],W=N&&N[L],B=Object.prototype,G=n.Array,H=n.RangeError,U=i(w),z=i([].reverse),V=g.pack,q=g.unpack,Y=function(t){return[255&t]},X=function(t){return[255&t,t>>8&255]},K=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Q=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},J=function(t){return V(y(t),23,4)},$=function(t){return V(t,52,8)},Z=function(t,e,r){c(t[L],e,{configurable:!0,get:function(){return r(this)[e]}})},tt=function(t,e,r,n){var i=j(t),a=p(r),o=!!n;if(a+e>i.byteLength)throw new H(M);var s=i.bytes,u=a+i.byteOffset,c=k(s,u,u+e);return o?c:z(c)},et=function(t,e,r,n,i,a){var o=j(t),s=p(r),u=n(+i),c=!!a;if(s+e>o.byteLength)throw new H(M);for(var l=o.bytes,h=s+o.byteOffset,f=0;f<e;f++)l[h+f]=u[c?f:e-f-1]};if(o){var rt=S&&R.name!==T;h((function(){R(1)}))&&h((function(){new R(-1)}))&&!h((function(){return new R,new R(1.5),new R(NaN),1!==R.length||rt&&!O}))?rt&&O&&u(R,"name",T):((F=function(t){return f(this,D),x(new R(p(t)),this,F)})[L]=D,D.constructor=F,A(F,R)),b&&m(W)!==B&&b(W,B);var nt=new N(new F(2)),it=i(W.setInt8);nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||l(W,{setInt8:function(t,e){it(this,t,e<<24>>24)},setUint8:function(t,e){it(this,t,e<<24>>24)}},{unsafe:!0})}else D=(F=function(t){f(this,D);var e=p(t);I(this,{type:T,bytes:U(G(e),0),byteLength:e}),a||(this.byteLength=e,this.detached=!1)})[L],W=(N=function(t,e,r){f(this,W),f(t,D);var n=C(t),i=n.byteLength,o=d(e);if(o<0||o>i)throw new H("Wrong offset");if(o+(r=void 0===r?i-o:v(r))>i)throw new H("Wrong length");I(this,{type:P,buffer:t,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=t,this.byteLength=r,this.byteOffset=o)})[L],a&&(Z(F,"byteLength",C),Z(N,"buffer",j),Z(N,"byteLength",j),Z(N,"byteOffset",j)),l(W,{getInt8:function(t){return tt(this,1,t)[0]<<24>>24},getUint8:function(t){return tt(this,1,t)[0]},getInt16:function(t){var e=tt(this,2,t,arguments.length>1&&arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=tt(this,2,t,arguments.length>1&&arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return Q(tt(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return Q(tt(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return q(tt(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return q(tt(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,e){et(this,1,t,Y,e)},setUint8:function(t,e){et(this,1,t,Y,e)},setInt16:function(t,e){et(this,2,t,X,e,arguments.length>2&&arguments[2])},setUint16:function(t,e){et(this,2,t,X,e,arguments.length>2&&arguments[2])},setInt32:function(t,e){et(this,4,t,K,e,arguments.length>2&&arguments[2])},setUint32:function(t,e){et(this,4,t,K,e,arguments.length>2&&arguments[2])},setFloat32:function(t,e){et(this,4,t,J,e,arguments.length>2&&arguments[2])},setFloat64:function(t,e){et(this,8,t,$,e,arguments.length>2&&arguments[2])}});_(F,T),_(N,P),t.exports={ArrayBuffer:F,DataView:N}},6677:(t,e,r)=>{var n=r(4165),i=r(9002),a=r(7878),o=r(1870),s=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),u=a(r),c=i(t,u),l=i(e,u),h=arguments.length>2?arguments[2]:void 0,f=s((void 0===h?u:i(h,u))-l,u-c),d=1;for(l<c&&c<l+f&&(d=-1,l+=f-1,c+=f-1);f-- >0;)l in r?r[c]=r[l]:o(r,c),c+=d,l+=d;return r}},9557:(t,e,r)=>{var n=r(4165),i=r(9002),a=r(7878);t.exports=function(t){for(var e=n(this),r=a(e),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),u=o>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);c>s;)e[s++]=t;return e}},3147:(t,e,r)=>{var n=r(5645).forEach,i=r(1814)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},7434:(t,e,r)=>{var n=r(7878);t.exports=function(t,e,r){for(var i=0,a=arguments.length>2?r:n(e),o=new t(a);a>i;)o[i]=e[i++];return o}},3948:(t,e,r)=>{var n=r(4864),i=r(3453),a=r(4165),o=r(3535),s=r(993),u=r(8413),c=r(7878),l=r(3552),h=r(6961),f=r(7507),d=Array;t.exports=function(t){var e=a(t),r=u(this),v=arguments.length,p=v>1?arguments[1]:void 0,y=void 0!==p;y&&(p=n(p,v>2?arguments[2]:void 0));var g,m,b,w,k,x,A=f(e),_=0;if(!A||this===d&&s(A))for(g=c(e),m=r?new this(g):d(g);g>_;_++)x=y?p(e[_],_):e[_],l(m,_,x);else for(m=r?new this:[],k=(w=h(e,A)).next;!(b=i(k,w)).done;_++)x=y?o(w,p,[b.value,_],!0):b.value,l(m,_,x);return m.length=_,m}},7921:(t,e,r)=>{var n=r(3637),i=r(9002),a=r(7878),o=function(t){return function(e,r,o){var s=n(e),u=a(s);if(0===u)return!t&&-1;var c,l=i(o,u);if(t&&r!=r){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},767:(t,e,r)=>{var n=r(4864),i=r(9455),a=r(4165),o=r(7878),s=function(t){var e=1===t;return function(r,s,u){for(var c,l=a(r),h=i(l),f=o(h),d=n(s,u);f-- >0;)if(d(c=h[f],f,l))switch(t){case 0:return c;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},5645:(t,e,r)=>{var n=r(4864),i=r(2608),a=r(9455),o=r(4165),s=r(7878),u=r(1453),c=i([].push),l=function(t){var e=1===t,r=2===t,i=3===t,l=4===t,h=6===t,f=7===t,d=5===t||h;return function(v,p,y,g){for(var m,b,w=o(v),k=a(w),x=s(k),A=n(p,y),_=0,E=g||u,S=e?E(v,x):r||f?E(v,0):void 0;x>_;_++)if((d||_ in k)&&(b=A(m=k[_],_,w),t))if(e)S[_]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return _;case 2:c(S,m)}else switch(t){case 4:return!1;case 7:c(S,m)}return h?-1:i||l?l:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},3499:(t,e,r)=>{var n=r(3881),i=r(3637),a=r(1211),o=r(7878),s=r(1814),u=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,h=s("lastIndexOf"),f=l||!h;t.exports=f?function(t){if(l)return n(c,this,arguments)||0;var e=i(this),r=o(e);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=u(s,a(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:c},9077:(t,e,r)=>{var n=r(3455),i=r(5811),a=r(6415),o=i("species");t.exports=function(t){return a>=51||!n((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},1814:(t,e,r)=>{var n=r(3455);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},4734:(t,e,r)=>{var n=r(4186),i=r(4165),a=r(9455),o=r(7878),s=TypeError,u="Reduce of empty array with no initial value",c=function(t){return function(e,r,c,l){var h=i(e),f=a(h),d=o(h);if(n(r),0===d&&c<2)throw new s(u);var v=t?d-1:0,p=t?-1:1;if(c<2)for(;;){if(v in f){l=f[v],v+=p;break}if(v+=p,t?v<0:d<=v)throw new s(u)}for(;t?v>=0:d>v;v+=p)v in f&&(l=r(l,f[v],v,h));return l}};t.exports={left:c(!1),right:c(!0)}},7375:(t,e,r)=>{var n=r(2444),i=r(5448),a=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!o(t,"length").writable)throw new a("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4224:(t,e,r)=>{var n=r(2608);t.exports=n([].slice)},5272:(t,e,r)=>{var n=r(4224),i=Math.floor,a=function(t,e){var r=t.length;if(r<8)for(var o,s,u=1;u<r;){for(s=u,o=t[u];s&&e(t[s-1],o)>0;)t[s]=t[--s];s!==u++&&(t[s]=o)}else for(var c=i(r/2),l=a(n(t,0,c),e),h=a(n(t,c),e),f=l.length,d=h.length,v=0,p=0;v<f||p<d;)t[v+p]=v<f&&p<d?e(l[v],h[p])<=0?l[v++]:h[p++]:v<f?l[v++]:h[p++];return t};t.exports=a},2329:(t,e,r)=>{var n=r(5448),i=r(8413),a=r(2674),o=r(5811)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||a(e)&&null===(e=e[o]))&&(e=void 0)),void 0===e?s:e}},1453:(t,e,r)=>{var n=r(2329);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},6444:(t,e,r)=>{var n=r(7878);t.exports=function(t,e){for(var r=n(t),i=new e(r),a=0;a<r;a++)i[a]=t[r-a-1];return i}},920:(t,e,r)=>{var n=r(7878),i=r(1211),a=RangeError;t.exports=function(t,e,r,o){var s=n(t),u=i(r),c=u<0?s+u:u;if(c>=s||c<0)throw new a("Incorrect index");for(var l=new e(s),h=0;h<s;h++)l[h]=h===c?o:t[h];return l}},2996:t=>{var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=e+"+/",n=e+"-_",i=function(t){for(var e={},r=0;r<64;r++)e[t.charAt(r)]=r;return e};t.exports={i2c:r,c2i:i(r),i2cUrl:n,c2iUrl:i(n)}},3535:(t,e,r)=>{var n=r(7447),i=r(5235);t.exports=function(t,e,r,a){try{return a?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},4348:(t,e,r)=>{var n=r(5811)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},t(a)}catch(t){}return r}},9872:(t,e,r)=>{var n=r(2608),i=n({}.toString),a=n("".slice);t.exports=function(t){return a(i(t),8,-1)}},1179:(t,e,r)=>{var n=r(3724),i=r(3749),a=r(9872),o=r(5811)("toStringTag"),s=Object,u="Arguments"===a(function(){return arguments}());t.exports=n?a:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),o))?r:u?a(e):"Object"===(n=a(e))&&i(e.callee)?"Arguments":n}},2042:(t,e,r)=>{var n=r(5304),i=r(8986),a=r(4183),o=r(4864),s=r(3399),u=r(6021),c=r(1804),l=r(656),h=r(9393),f=r(5409),d=r(2444),v=r(5227).fastKey,p=r(8301),y=p.set,g=p.getterFor;t.exports={getConstructor:function(t,e,r,l){var h=t((function(t,i){s(t,f),y(t,{type:e,index:n(null),first:null,last:null,size:0}),d||(t.size=0),u(i)||c(i,t[l],{that:t,AS_ENTRIES:r})})),f=h.prototype,p=g(e),m=function(t,e,r){var n,i,a=p(t),o=b(t,e);return o?o.value=r:(a.last=o={index:i=v(e,!0),key:e,value:r,previous:n=a.last,next:null,removed:!1},a.first||(a.first=o),n&&(n.next=o),d?a.size++:t.size++,"F"!==i&&(a.index[i]=o)),t},b=function(t,e){var r,n=p(t),i=v(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===e)return r};return a(f,{clear:function(){for(var t=p(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=n(null),d?t.size=0:this.size=0},delete:function(t){var e=this,r=p(e),n=b(e,t);if(n){var i=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=i),i&&(i.previous=a),r.first===n&&(r.first=i),r.last===n&&(r.last=a),d?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=p(this),n=o(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),a(f,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),d&&i(f,"size",{configurable:!0,get:function(){return p(this).size}}),h},setStrong:function(t,e,r){var n=e+" Iterator",i=g(e),a=g(n);l(t,e,(function(t,e){y(this,{type:n,target:t,state:i(t),kind:e,last:null})}),(function(){for(var t=a(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?h("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,h(void 0,!0))}),r?"entries":"values",!r,!0),f(e)}}},8153:(t,e,r)=>{var n=r(2608),i=r(4183),a=r(5227).getWeakData,o=r(3399),s=r(7447),u=r(6021),c=r(2674),l=r(1804),h=r(5645),f=r(9649),d=r(8301),v=d.set,p=d.getterFor,y=h.find,g=h.findIndex,m=n([].splice),b=0,w=function(t){return t.frozen||(t.frozen=new k)},k=function(){this.entries=[]},x=function(t,e){return y(t.entries,(function(t){return t[0]===e}))};k.prototype={get:function(t){var e=x(this,t);if(e)return e[1]},has:function(t){return!!x(this,t)},set:function(t,e){var r=x(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,(function(e){return e[0]===t}));return~e&&m(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,r,n){var h=t((function(t,i){o(t,d),v(t,{type:e,id:b++,frozen:null}),u(i)||l(i,t[n],{that:t,AS_ENTRIES:r})})),d=h.prototype,y=p(e),g=function(t,e,r){var n=y(t),i=a(s(e),!0);return!0===i?w(n).set(e,r):i[n.id]=r,t};return i(d,{delete:function(t){var e=y(this);if(!c(t))return!1;var r=a(t);return!0===r?w(e).delete(t):r&&f(r,e.id)&&delete r[e.id]},has:function(t){var e=y(this);if(!c(t))return!1;var r=a(t);return!0===r?w(e).has(t):r&&f(r,e.id)}}),i(d,r?{get:function(t){var e=y(this);if(c(t)){var r=a(t);if(!0===r)return w(e).get(t);if(r)return r[e.id]}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),h}}},9556:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(2608),o=r(5868),s=r(8552),u=r(5227),c=r(1804),l=r(3399),h=r(3749),f=r(6021),d=r(2674),v=r(3455),p=r(4348),y=r(6911),g=r(3951);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=m?"set":"add",k=i[t],x=k&&k.prototype,A=k,_={},E=function(t){var e=a(x[t]);s(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!d(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(o(t,!h(k)||!(b||x.forEach&&!v((function(){(new k).entries().next()})))))A=r.getConstructor(e,t,m,w),u.enable();else if(o(t,!0)){var S=new A,O=S[w](b?{}:-0,1)!==S,T=v((function(){S.has(1)})),P=p((function(t){new k(t)})),L=!b&&v((function(){for(var t=new k,e=5;e--;)t[w](e,e);return!t.has(-0)}));P||((A=e((function(t,e){l(t,x);var r=g(new k,t,A);return f(e)||c(e,r[w],{that:r,AS_ENTRIES:m}),r}))).prototype=x,x.constructor=A),(T||L)&&(E("delete"),E("has"),m&&E("get")),(L||O)&&E(w),b&&x.clear&&delete x.clear}return _[t]=A,n({global:!0,constructor:!0,forced:A!==k},_),y(A,t),b||r.setStrong(A,t,m),A}},2924:(t,e,r)=>{var n=r(9649),i=r(2919),a=r(1139),o=r(1601);t.exports=function(t,e,r){for(var s=i(e),u=o.f,c=a.f,l=0;l<s.length;l++){var h=s[l];n(t,h)||r&&n(r,h)||u(t,h,c(e,h))}}},860:(t,e,r)=>{var n=r(5811)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},5139:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},9393:t=>{t.exports=function(t,e){return{value:t,done:e}}},139:(t,e,r)=>{var n=r(2444),i=r(1601),a=r(4004);t.exports=n?function(t,e,r){return i.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},4004:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3552:(t,e,r)=>{var n=r(2444),i=r(1601),a=r(4004);t.exports=function(t,e,r){n?i.f(t,e,a(0,r)):t[e]=r}},952:(t,e,r)=>{var n=r(7447),i=r(3118),a=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new a("Incorrect hint");return i(this,t)}},8986:(t,e,r)=>{var n=r(1147),i=r(1601);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},8552:(t,e,r)=>{var n=r(3749),i=r(1601),a=r(1147),o=r(5801);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:e;if(n(r)&&a(r,c,s),s.global)u?t[e]=r:o(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},4183:(t,e,r)=>{var n=r(8552);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},5801:(t,e,r)=>{var n=r(4032),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},1870:(t,e,r)=>{var n=r(8055),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},2444:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7395:(t,e,r)=>{var n,i,a,o,s=r(4032),u=r(9685),c=r(6572),l=s.structuredClone,h=s.ArrayBuffer,f=s.MessageChannel,d=!1;if(c)d=function(t){l(t,{transfer:[t]})};else if(h)try{f||(n=u("worker_threads"))&&(f=n.MessageChannel),f&&(i=new f,a=new h(2),o=function(t){i.port1.postMessage(null,[t])},2===a.byteLength&&(o(a),0===a.byteLength&&(d=o)))}catch(t){}t.exports=d},5751:(t,e,r)=>{var n=r(4032),i=r(2674),a=n.document,o=i(a)&&i(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},9573:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},4090:t=>{t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},2760:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},4784:(t,e,r)=>{var n=r(5751)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},5175:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7085:(t,e,r)=>{var n=r(7607).match(/firefox\\/(\\d+)/i);t.exports=!!n&&+n[1]},5123:(t,e,r)=>{var n=r(7607);t.exports=/MSIE|Trident/.test(n)},9081:(t,e,r)=>{var n=r(7607);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},9352:(t,e,r)=>{var n=r(7607);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},4529:(t,e,r)=>{var n=r(7351);t.exports="NODE"===n},628:(t,e,r)=>{var n=r(7607);t.exports=/web0s(?!.*chrome)/i.test(n)},7607:(t,e,r)=>{var n=r(4032).navigator,i=n&&n.userAgent;t.exports=i?String(i):""},6415:(t,e,r)=>{var n,i,a=r(4032),o=r(7607),s=a.process,u=a.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\\/(\\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\\/(\\d+)/))&&(i=+n[1]),t.exports=i},1911:(t,e,r)=>{var n=r(7607).match(/AppleWebKit\\/(\\d+)\\./);t.exports=!!n&&+n[1]},7351:(t,e,r)=>{var n=r(4032),i=r(7607),a=r(9872),o=function(t){return i.slice(0,t.length)===t};t.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},3633:(t,e,r)=>{var n=r(2608),i=Error,a=n("".replace),o=String(new i("zxcasd").stack),s=/\\n\\s*at [^:]*:[^\\n]*/,u=s.test(o);t.exports=function(t,e){if(u&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=a(t,s,"");return t}},4171:(t,e,r)=>{var n=r(139),i=r(3633),a=r(3427),o=Error.captureStackTrace;t.exports=function(t,e,r,s){a&&(o?o(t,e):n(t,"stack",i(r,s)))}},3427:(t,e,r)=>{var n=r(3455),i=r(4004);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},2912:(t,e,r)=>{var n=r(2444),i=r(3455),a=r(7447),o=r(8363),s=Error.prototype.toString,u=i((function(){if(n){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==s.call(t))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));t.exports=u?function(){var t=a(this),e=o(t.name,"Error"),r=o(t.message);return e?r?e+": "+r:e:r}:s},5366:(t,e,r)=>{var n=r(4032),i=r(1139).f,a=r(139),o=r(8552),s=r(5801),u=r(2924),c=r(5868);t.exports=function(t,e){var r,l,h,f,d,v=t.target,p=t.global,y=t.stat;if(r=p?n:y?n[v]||s(v,{}):n[v]&&n[v].prototype)for(l in e){if(f=e[l],h=t.dontCallGetSet?(d=i(r,l))&&d.value:r[l],!c(p?l:v+(y?".":"#")+l,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;u(f,h)}(t.sham||h&&h.sham)&&a(f,"sham",!0),o(r,l,f,t)}}},3455:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4364:(t,e,r)=>{r(2823);var n=r(3453),i=r(8552),a=r(9867),o=r(3455),s=r(5811),u=r(139),c=s("species"),l=RegExp.prototype;t.exports=function(t,e,r,h){var f=s(t),d=!o((function(){var e={};return e[f]=function(){return 7},7!==""[t](e)})),v=d&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return e=!0,null},r[f](""),!e}));if(!d||!v||r){var p=/./[f],y=e(f,""[t],(function(t,e,r,i,o){var s=e.exec;return s===a||s===l.exec?d&&!o?{done:!0,value:n(p,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(l,f,y[1])}h&&u(l[f],"sham",!0)}},2851:(t,e,r)=>{var n=r(5448),i=r(7878),a=r(9573),o=r(4864),s=function(t,e,r,u,c,l,h,f){for(var d,v,p=c,y=0,g=!!h&&o(h,f);y<u;)y in r&&(d=g?g(r[y],y,e):r[y],l>0&&n(d)?(v=i(d),p=s(t,e,d,v,p,l-1)-1):(a(p+1),t[p]=d),p++),y++;return p};t.exports=s},568:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},3881:(t,e,r)=>{var n=r(9128),i=Function.prototype,a=i.apply,o=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},4864:(t,e,r)=>{var n=r(2116),i=r(4186),a=r(9128),o=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:a?o(t,e):function(){return t.apply(e,arguments)}}},9128:(t,e,r)=>{var n=r(3455);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2230:(t,e,r)=>{var n=r(2608),i=r(4186),a=r(2674),o=r(9649),s=r(4224),u=r(9128),c=Function,l=n([].concat),h=n([].join),f={};t.exports=u?c.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),u=function(){var r=l(n,s(arguments));return this instanceof u?function(t,e,r){if(!o(f,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";f[e]=c("C,a","return new C("+h(n,",")+")")}return f[e](t,r)}(e,r.length,r):e.apply(t,r)};return a(r)&&(u.prototype=r),u}},3453:(t,e,r)=>{var n=r(9128),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},2542:(t,e,r)=>{var n=r(2444),i=r(9649),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&o(a,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},5026:(t,e,r)=>{var n=r(2608),i=r(4186);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},2116:(t,e,r)=>{var n=r(9872),i=r(2608);t.exports=function(t){if("Function"===n(t))return i(t)}},2608:(t,e,r)=>{var n=r(9128),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);t.exports=n?o:function(t){return function(){return a.apply(t,arguments)}}},9685:(t,e,r)=>{var n=r(4032),i=r(4529);t.exports=function(t){if(i){try{return n.process.getBuiltinModule(t)}catch(t){}try{return Function('return require("'+t+'")')()}catch(t){}}}},8711:(t,e,r)=>{var n=r(4032),i=r(3749);t.exports=function(t,e){return arguments.length<2?(r=n[t],i(r)?r:void 0):n[t]&&n[t][e];var r}},3447:t=>{t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},1750:(t,e,r)=>{var n=r(3453),i=r(7447),a=r(3447),o=r(7507);t.exports=function(t,e){e&&"string"==typeof t||i(t);var r=o(t);return a(i(void 0!==r?n(r,t):t))}},7507:(t,e,r)=>{var n=r(1179),i=r(8622),a=r(6021),o=r(5597),s=r(5811)("iterator");t.exports=function(t){if(!a(t))return i(t,s)||i(t,"@@iterator")||o[n(t)]}},6961:(t,e,r)=>{var n=r(3453),i=r(4186),a=r(7447),o=r(8055),s=r(7507),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return a(n(r,t));throw new u(o(t)+" is not iterable")}},213:(t,e,r)=>{var n=r(2608),i=r(5448),a=r(3749),o=r(9872),s=r(687),u=n([].push);t.exports=function(t){if(a(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var c=t[n];"string"==typeof c?u(r,c):"number"!=typeof c&&"Number"!==o(c)&&"String"!==o(c)||u(r,s(c))}var l=r.length,h=!0;return function(t,e){if(h)return h=!1,e;if(i(this))return e;for(var n=0;n<l;n++)if(r[n]===t)return e}}}},8622:(t,e,r)=>{var n=r(4186),i=r(6021);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},3885:(t,e,r)=>{var n=r(4186),i=r(7447),a=r(3453),o=r(1211),s=r(3447),u="Invalid size",c=RangeError,l=TypeError,h=Math.max,f=function(t,e){this.set=t,this.size=h(e,0),this.has=n(t.has),this.keys=n(t.keys)};f.prototype={getIterator:function(){return s(i(a(this.keys,this.set)))},includes:function(t){return a(this.has,this.set,t)}},t.exports=function(t){i(t);var e=+t.size;if(e!=e)throw new l(u);var r=o(e);if(r<0)throw new c(u);return new f(t,r)}},3966:(t,e,r)=>{var n=r(2608),i=r(4165),a=Math.floor,o=n("".charAt),s=n("".replace),u=n("".slice),c=/\\$([$&'\`]|\\d{1,2}|<[^>]*>)/g,l=/\\$([$&'\`]|\\d{1,2})/g;t.exports=function(t,e,r,n,h,f){var d=r+t.length,v=n.length,p=l;return void 0!==h&&(h=i(h),p=c),s(f,p,(function(i,s){var c;switch(o(s,0)){case"$":return"$";case"&":return t;case"\`":return u(e,0,r);case"'":return u(e,d);case"<":c=h[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>v){var f=a(l/10);return 0===f?i:f<=v?void 0===n[f-1]?o(s,1):n[f-1]+o(s,1):i}c=n[l-1]}return void 0===c?"":c}))}},4032:function(t){var e=function(t){return t&&t.Math===Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9649:(t,e,r)=>{var n=r(2608),i=r(4165),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(i(t),e)}},2645:t=>{t.exports={}},4885:t=>{t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},3085:(t,e,r)=>{var n=r(8711);t.exports=n("document","documentElement")},8829:(t,e,r)=>{var n=r(2444),i=r(3455),a=r(5751);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},1306:t=>{var e=Array,r=Math.abs,n=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2;t.exports={pack:function(t,s,u){var c,l,h,f=e(u),d=8*u-s-1,v=(1<<d)-1,p=v>>1,y=23===s?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,m=0;for((t=r(t))!=t||t===1/0?(l=t!=t?1:0,c=v):(c=i(a(t)/o),t*(h=n(2,-c))<1&&(c--,h*=2),(t+=c+p>=1?y/h:y*n(2,1-p))*h>=2&&(c++,h/=2),c+p>=v?(l=0,c=v):c+p>=1?(l=(t*h-1)*n(2,s),c+=p):(l=t*n(2,p-1)*n(2,s),c=0));s>=8;)f[m++]=255&l,l/=256,s-=8;for(c=c<<s|l,d+=s;d>0;)f[m++]=255&c,c/=256,d-=8;return f[m-1]|=128*g,f},unpack:function(t,e){var r,i=t.length,a=8*i-e-1,o=(1<<a)-1,s=o>>1,u=a-7,c=i-1,l=t[c--],h=127&l;for(l>>=7;u>0;)h=256*h+t[c--],u-=8;for(r=h&(1<<-u)-1,h>>=-u,u+=e;u>0;)r=256*r+t[c--],u-=8;if(0===h)h=1-s;else{if(h===o)return r?NaN:l?-1/0:1/0;r+=n(2,e),h-=s}return(l?-1:1)*r*n(2,h-e)}}},9455:(t,e,r)=>{var n=r(2608),i=r(3455),a=r(9872),o=Object,s=n("".split);t.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"===a(t)?s(t,""):o(t)}:o},3951:(t,e,r)=>{var n=r(3749),i=r(2674),a=r(9415);t.exports=function(t,e,r){var o,s;return a&&n(o=e.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(t,s),t}},6906:(t,e,r)=>{var n=r(2608),i=r(3749),a=r(2205),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(t){return o(t)}),t.exports=a.inspectSource},2483:(t,e,r)=>{var n=r(2674),i=r(139);t.exports=function(t,e){n(e)&&"cause"in e&&i(t,"cause",e.cause)}},5227:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(2645),o=r(2674),s=r(9649),u=r(1601).f,c=r(3408),l=r(6442),h=r(8812),f=r(5936),d=r(568),v=!1,p=f("meta"),y=0,g=function(t){u(t,p,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},v=!0;var t=c.f,e=i([].splice),r={};r[p]=1,t(r).length&&(c.f=function(r){for(var n=t(r),i=0,a=n.length;i<a;i++)if(n[i]===p){e(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,p)){if(!h(t))return"F";if(!e)return"E";g(t)}return t[p].objectID},getWeakData:function(t,e){if(!s(t,p)){if(!h(t))return!0;if(!e)return!1;g(t)}return t[p].weakData},onFreeze:function(t){return d&&v&&h(t)&&!s(t,p)&&g(t),t}};a[p]=!0},8301:(t,e,r)=>{var n,i,a,o=r(6206),s=r(4032),u=r(2674),c=r(139),l=r(9649),h=r(2205),f=r(2343),d=r(2645),v="Object already initialized",p=s.TypeError,y=s.WeakMap;if(o||h.state){var g=h.state||(h.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new p(v);return e.facade=t,g.set(t,e),e},i=function(t){return g.get(t)||{}},a=function(t){return g.has(t)}}else{var m=f("state");d[m]=!0,n=function(t,e){if(l(t,m))throw new p(v);return e.facade=t,c(t,m,e),e},i=function(t){return l(t,m)?t[m]:{}},a=function(t){return l(t,m)}}t.exports={set:n,get:i,has:a,enforce:function(t){return a(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},993:(t,e,r)=>{var n=r(5811),i=r(5597),a=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[a]===t)}},5448:(t,e,r)=>{var n=r(9872);t.exports=Array.isArray||function(t){return"Array"===n(t)}},5415:(t,e,r)=>{var n=r(1179);t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},3749:t=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},8413:(t,e,r)=>{var n=r(2608),i=r(3455),a=r(3749),o=r(1179),s=r(8711),u=r(6906),c=function(){},l=s("Reflect","construct"),h=/^\\s*(?:class|function)\\b/,f=n(h.exec),d=!h.test(c),v=function(t){if(!a(t))return!1;try{return l(c,[],t),!0}catch(t){return!1}},p=function(t){if(!a(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(h,u(t))}catch(t){return!0}};p.sham=!0,t.exports=!l||i((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?p:v},3007:(t,e,r)=>{var n=r(9649);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},5868:(t,e,r)=>{var n=r(3455),i=r(3749),a=/#|\\.prototype\\./,o=function(t,e){var r=u[s(t)];return r===l||r!==c&&(i(e)?n(e):!!e)},s=o.normalize=function(t){return String(t).replace(a,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},2599:(t,e,r)=>{var n=r(2674),i=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&i(t)===t}},6021:t=>{t.exports=function(t){return null==t}},2674:(t,e,r)=>{var n=r(3749);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},4597:(t,e,r)=>{var n=r(2674);t.exports=function(t){return n(t)||null===t}},8507:t=>{t.exports=!1},6484:(t,e,r)=>{var n=r(2674),i=r(9872),a=r(5811)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[a])?!!e:"RegExp"===i(t))}},2277:(t,e,r)=>{var n=r(8711),i=r(3749),a=r(6921),o=r(4752),s=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&a(e.prototype,s(t))}},2939:(t,e,r)=>{var n=r(3453);t.exports=function(t,e,r){for(var i,a,o=r?t:t.iterator,s=t.next;!(i=n(s,o)).done;)if(void 0!==(a=e(i.value)))return a}},1804:(t,e,r)=>{var n=r(4864),i=r(3453),a=r(7447),o=r(8055),s=r(993),u=r(7878),c=r(6921),l=r(6961),h=r(7507),f=r(5235),d=TypeError,v=function(t,e){this.stopped=t,this.result=e},p=v.prototype;t.exports=function(t,e,r){var y,g,m,b,w,k,x,A=r&&r.that,_=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),S=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),T=n(e,A),P=function(t){return y&&f(y,"normal",t),new v(!0,t)},L=function(t){return _?(a(t),O?T(t[0],t[1],P):T(t[0],t[1])):O?T(t,P):T(t)};if(E)y=t.iterator;else if(S)y=t;else{if(!(g=h(t)))throw new d(o(t)+" is not iterable");if(s(g)){for(m=0,b=u(t);b>m;m++)if((w=L(t[m]))&&c(p,w))return w;return new v(!1)}y=l(t,g)}for(k=E?t.next:y.next;!(x=i(k,y)).done;){try{w=L(x.value)}catch(t){f(y,"throw",t)}if("object"==typeof w&&w&&c(p,w))return w}return new v(!1)}},5235:(t,e,r)=>{var n=r(3453),i=r(7447),a=r(8622);t.exports=function(t,e,r){var o,s;i(t);try{if(!(o=a(t,"return"))){if("throw"===e)throw r;return r}o=n(o,t)}catch(t){s=!0,o=t}if("throw"===e)throw r;if(s)throw o;return i(o),r}},282:(t,e,r)=>{var n=r(2857).IteratorPrototype,i=r(5304),a=r(4004),o=r(6911),s=r(5597),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=i(n,{next:a(+!c,r)}),o(t,l,!1,!0),s[l]=u,t}},2342:(t,e,r)=>{var n=r(3453),i=r(5304),a=r(139),o=r(4183),s=r(5811),u=r(8301),c=r(8622),l=r(2857).IteratorPrototype,h=r(9393),f=r(5235),d=s("toStringTag"),v="IteratorHelper",p="WrapForValidIterator",y=u.set,g=function(t){var e=u.getterFor(t?p:v);return o(i(l),{next:function(){var r=e(this);if(t)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return h(n,r.done)}catch(t){throw r.done=!0,t}},return:function(){var r=e(this),i=r.iterator;if(r.done=!0,t){var a=c(i,"return");return a?n(a,i):h(void 0,!0)}if(r.inner)try{f(r.inner.iterator,"normal")}catch(t){return f(i,"throw",t)}return f(i,"normal"),h(void 0,!0)}})},m=g(!0),b=g(!1);a(b,d,"Iterator Helper"),t.exports=function(t,e){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=e?p:v,n.nextHandler=t,n.counter=0,n.done=!1,y(this,n)};return r.prototype=e?m:b,r}},656:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(8507),o=r(2542),s=r(3749),u=r(282),c=r(2611),l=r(9415),h=r(6911),f=r(139),d=r(8552),v=r(5811),p=r(5597),y=r(2857),g=o.PROPER,m=o.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,k=v("iterator"),x="keys",A="values",_="entries",E=function(){return this};t.exports=function(t,e,r,o,v,y,S){u(r,e,o);var O,T,P,L=function(t){if(t===v&&R)return R;if(!w&&t&&t in j)return j[t];switch(t){case x:case A:case _:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",C=!1,j=t.prototype,I=j[k]||j["@@iterator"]||v&&j[v],R=!w&&I||L(v),F="Array"===e&&j.entries||I;if(F&&(O=c(F.call(new t)))!==Object.prototype&&O.next&&(a||c(O)===b||(l?l(O,b):s(O[k])||d(O,k,E)),h(O,M,!0,!0),a&&(p[M]=E)),g&&v===A&&I&&I.name!==A&&(!a&&m?f(j,"name",A):(C=!0,R=function(){return i(I,this)})),v)if(T={values:L(A),keys:y?R:L(x),entries:L(_)},S)for(P in T)(w||C||!(P in j))&&d(j,P,T[P]);else n({target:e,proto:!0,forced:w||C},T);return a&&!S||j[k]===R||d(j,k,R,{name:v}),p[e]=R,T}},4009:(t,e,r)=>{var n=r(3453),i=r(4186),a=r(7447),o=r(3447),s=r(2342),u=r(3535),c=s((function(){var t=this.iterator,e=a(n(this.next,t));if(!(this.done=!!e.done))return u(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function(t){return a(this),i(t),new c(o(this),{mapper:t})}},2857:(t,e,r)=>{var n,i,a,o=r(3455),s=r(3749),u=r(2674),c=r(5304),l=r(2611),h=r(8552),f=r(5811),d=r(8507),v=f("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(i=l(l(a)))!==Object.prototype&&(n=i):p=!0),!u(n)||o((function(){var t={};return n[v].call(t)!==t}))?n={}:d&&(n=c(n)),s(n[v])||h(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},5597:t=>{t.exports={}},7878:(t,e,r)=>{var n=r(5806);t.exports=function(t){return n(t.length)}},1147:(t,e,r)=>{var n=r(2608),i=r(3455),a=r(3749),o=r(9649),s=r(2444),u=r(2542).CONFIGURABLE,c=r(6906),l=r(8301),h=l.enforce,f=l.get,d=String,v=Object.defineProperty,p=n("".slice),y=n("".replace),g=n([].join),m=s&&!i((function(){return 8!==v((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===p(d(e),0,7)&&(e="["+y(d(e),/^Symbol\\(([^)]*)\\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!o(t,"name")||u&&t.name!==e)&&(s?v(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&o(r,"arity")&&t.length!==r.arity&&v(t,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=h(t);return o(n,"source")||(n.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return a(this)&&f(this).source||c(this)}),"toString")},9676:(t,e,r)=>{var n=r(550),i=Math.abs,a=2220446049250313e-31,o=1/a;t.exports=function(t,e,r,s){var u=+t,c=i(u),l=n(u);if(c<s)return l*function(t){return t+o-o}(c/s/e)*s*e;var h=(1+e/a)*c,f=h-(h-c);return f>r||f!=f?l*(1/0):l*f}},3505:(t,e,r)=>{var n=r(9676);t.exports=Math.fround||function(t){return n(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},550:t=>{t.exports=Math.sign||function(t){var e=+t;return 0===e||e!=e?e:e<0?-1:1}},2789:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},755:(t,e,r)=>{var n,i,a,o,s,u=r(4032),c=r(5725),l=r(4864),h=r(1369).set,f=r(3529),d=r(9352),v=r(9081),p=r(628),y=r(4529),g=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,k=c("queueMicrotask");if(!k){var x=new f,A=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};d||y||p||!g||!m?!v&&w&&w.resolve?((o=w.resolve(void 0)).constructor=w,s=l(o.then,o),n=function(){s(A)}):y?n=function(){b.nextTick(A)}:(h=l(h,u),n=function(){h(A)}):(i=!0,a=m.createTextNode(""),new g(A).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),k=function(t){x.head||n(),x.add(t)}}t.exports=k},9371:(t,e,r)=>{var n=r(4186),i=TypeError,a=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new a(t)}},8363:(t,e,r)=>{var n=r(687);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},821:t=>{var e=RangeError;t.exports=function(t){if(t==t)return t;throw new e("NaN is not allowed")}},3631:(t,e,r)=>{var n=r(6484),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},8069:(t,e,r)=>{var n=r(2444),i=r(2608),a=r(3453),o=r(3455),s=r(496),u=r(6005),c=r(9221),l=r(4165),h=r(9455),f=Object.assign,d=Object.defineProperty,v=i([].concat);t.exports=!f||o((function(){if(n&&1!==f({b:1},f(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach((function(t){e[t]=t})),7!==f({},t)[r]||s(f({},e)).join("")!==i}))?function(t,e){for(var r=l(t),i=arguments.length,o=1,f=u.f,d=c.f;i>o;)for(var p,y=h(arguments[o++]),g=f?v(s(y),f(y)):s(y),m=g.length,b=0;m>b;)p=g[b++],n&&!a(d,y,p)||(r[p]=y[p]);return r}:f},5304:(t,e,r)=>{var n,i=r(7447),a=r(9217),o=r(5175),s=r(2645),u=r(3085),c=r(5751),l=r(2343),h="prototype",f="script",d=l("IE_PROTO"),v=function(){},p=function(t){return"<"+f+">"+t+"</"+f+">"},y=function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;g="undefined"!=typeof document?document.domain&&n?y(n):(e=c("iframe"),r="java"+f+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):y(n);for(var i=o.length;i--;)delete g[h][o[i]];return g()};s[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[h]=i(t),r=new v,v[h]=null,r[d]=t):r=g(),void 0===e?r:a.f(r,e)}},9217:(t,e,r)=>{var n=r(2444),i=r(782),a=r(1601),o=r(7447),s=r(3637),u=r(496);e.f=n&&!i?Object.defineProperties:function(t,e){o(t);for(var r,n=s(e),i=u(e),c=i.length,l=0;c>l;)a.f(t,r=i[l++],n[r]);return t}},1601:(t,e,r)=>{var n=r(2444),i=r(8829),a=r(782),o=r(7447),s=r(6201),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=n?a?function(t,e,r){if(o(t),e=s(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=l(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(o(t),e=s(e),o(r),i)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1139:(t,e,r)=>{var n=r(2444),i=r(3453),a=r(9221),o=r(4004),s=r(3637),u=r(6201),c=r(9649),l=r(8829),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=s(t),e=u(e),l)try{return h(t,e)}catch(t){}if(c(t,e))return o(!i(a.f,t,e),t[e])}},6442:(t,e,r)=>{var n=r(9872),i=r(3637),a=r(3408).f,o=r(4224),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return a(t)}catch(t){return o(s)}}(t):a(i(t))}},3408:(t,e,r)=>{var n=r(2468),i=r(5175).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},6005:(t,e)=>{e.f=Object.getOwnPropertySymbols},2611:(t,e,r)=>{var n=r(9649),i=r(3749),a=r(4165),o=r(2343),s=r(5139),u=o("IE_PROTO"),c=Object,l=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=a(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},8812:(t,e,r)=>{var n=r(3455),i=r(2674),a=r(9872),o=r(7060),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||o?function(t){return!!i(t)&&(!o||"ArrayBuffer"!==a(t))&&(!s||s(t))}:s},6921:(t,e,r)=>{var n=r(2608);t.exports=n({}.isPrototypeOf)},2468:(t,e,r)=>{var n=r(2608),i=r(9649),a=r(3637),o=r(7921).indexOf,s=r(2645),u=n([].push);t.exports=function(t,e){var r,n=a(t),c=0,l=[];for(r in n)!i(s,r)&&i(n,r)&&u(l,r);for(;e.length>c;)i(n,r=e[c++])&&(~o(l,r)||u(l,r));return l}},496:(t,e,r)=>{var n=r(2468),i=r(5175);t.exports=Object.keys||function(t){return n(t,i)}},9221:(t,e)=>{var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},9415:(t,e,r)=>{var n=r(5026),i=r(2674),a=r(7222),o=r(7330);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return a(r),o(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},8885:(t,e,r)=>{var n=r(2444),i=r(3455),a=r(2608),o=r(2611),s=r(496),u=r(3637),c=a(r(9221).f),l=a([].push),h=n&&i((function(){var t=Object.create(null);return t[2]=2,!c(t,2)})),f=function(t){return function(e){for(var r,i=u(e),a=s(i),f=h&&null===o(i),d=a.length,v=0,p=[];d>v;)r=a[v++],n&&!(f?r in i:c(i,r))||l(p,t?[r,i[r]]:i[r]);return p}};t.exports={entries:f(!0),values:f(!1)}},3003:(t,e,r)=>{var n=r(3724),i=r(1179);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},3118:(t,e,r)=>{var n=r(3453),i=r(3749),a=r(2674),o=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!a(s=n(r,t)))return s;if(i(r=t.valueOf)&&!a(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!a(s=n(r,t)))return s;throw new o("Can't convert object to primitive value")}},2919:(t,e,r)=>{var n=r(8711),i=r(2608),a=r(3408),o=r(6005),s=r(7447),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=a.f(s(t)),r=o.f;return r?u(e,r(t)):e}},1448:(t,e,r)=>{var n=r(2608),i=r(9649),a=SyntaxError,o=parseInt,s=String.fromCharCode,u=n("".charAt),c=n("".slice),l=n(/./.exec),h={'\\\\"':'"',"\\\\\\\\":"\\\\","\\\\/":"/","\\\\b":"\\b","\\\\f":"\\f","\\\\n":"\\n","\\\\r":"\\r","\\\\t":"\\t"},f=/^[\\da-f]{4}$/i,d=/^[\\u0000-\\u001F]$/;t.exports=function(t,e){for(var r=!0,n="";e<t.length;){var v=u(t,e);if("\\\\"===v){var p=c(t,e,e+2);if(i(h,p))n+=h[p],e+=2;else{if("\\\\u"!==p)throw new a('Unknown escape sequence: "'+p+'"');var y=c(t,e+=2,e+4);if(!l(f,y))throw new a("Bad Unicode escape at: "+e);n+=s(o(y,16)),e+=4}}else{if('"'===v){r=!1,e++;break}if(l(d,v))throw new a("Bad control character in string literal at: "+e);n+=v,e++}}if(r)throw new a("Unterminated string at: "+e);return{value:n,end:e}}},8799:(t,e,r)=>{var n=r(4032);t.exports=n},6703:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9492:(t,e,r)=>{var n=r(4032),i=r(5318),a=r(3749),o=r(5868),s=r(6906),u=r(5811),c=r(7351),l=r(8507),h=r(6415),f=i&&i.prototype,d=u("species"),v=!1,p=a(n.PromiseRejectionEvent),y=o("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===h)return!0;if(l&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[d]=n,!(v=r.then((function(){}))instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||p)}));t.exports={CONSTRUCTOR:y,REJECTION_EVENT:p,SUBCLASSING:v}},5318:(t,e,r)=>{var n=r(4032);t.exports=n.Promise},1774:(t,e,r)=>{var n=r(7447),i=r(2674),a=r(9371);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=a.f(t);return(0,r.resolve)(e),r.promise}},2041:(t,e,r)=>{var n=r(5318),i=r(4348),a=r(9492).CONSTRUCTOR;t.exports=a||!i((function(t){n.all(t).then(void 0,(function(){}))}))},2848:(t,e,r)=>{var n=r(1601).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},3529:t=>{var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},4410:(t,e,r)=>{var n=r(3453),i=r(7447),a=r(3749),o=r(9872),s=r(9867),u=TypeError;t.exports=function(t,e){var r=t.exec;if(a(r)){var c=n(r,t,e);return null!==c&&i(c),c}if("RegExp"===o(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},9867:(t,e,r)=>{var n,i,a=r(3453),o=r(2608),s=r(687),u=r(747),c=r(1837),l=r(4593),h=r(5304),f=r(8301).get,d=r(3651),v=r(9502),p=l("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,g=y,m=o("".charAt),b=o("".indexOf),w=o("".replace),k=o("".slice),x=(i=/b*/g,a(y,n=/a/,"a"),a(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),A=c.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(x||_||A||d||v)&&(g=function(t){var e,r,n,i,o,c,l,d=this,v=f(d),E=s(t),S=v.raw;if(S)return S.lastIndex=d.lastIndex,e=a(g,S,E),d.lastIndex=S.lastIndex,e;var O=v.groups,T=A&&d.sticky,P=a(u,d),L=d.source,M=0,C=E;if(T&&(P=w(P,"y",""),-1===b(P,"g")&&(P+="g"),C=k(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\\n"!==m(E,d.lastIndex-1))&&(L="(?: "+L+")",C=" "+C,M++),r=new RegExp("^(?:"+L+")",P)),_&&(r=new RegExp("^"+L+"$(?!\\\\s)",P)),x&&(n=d.lastIndex),i=a(y,T?r:d,C),T?i?(i.input=k(i.input,M),i[0]=k(i[0],M),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:x&&i&&(d.lastIndex=d.global?i.index+i[0].length:n),_&&i&&i.length>1&&a(p,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&O)for(i.groups=c=h(null),o=0;o<O.length;o++)c[(l=O[o])[0]]=i[l[1]];return i}),t.exports=g},747:(t,e,r)=>{var n=r(7447);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4554:(t,e,r)=>{var n=r(3453),i=r(9649),a=r(6921),o=r(747),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!a(s,t)?e:n(o,t)}},1837:(t,e,r)=>{var n=r(3455),i=r(4032).RegExp,a=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),o=a||n((function(){return!i("a","y").sticky})),s=a||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:o,UNSUPPORTED_Y:a}},3651:(t,e,r)=>{var n=r(3455),i=r(4032).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\\n")&&"s"===t.flags)}))},9502:(t,e,r)=>{var n=r(3455),i=r(4032).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},7222:(t,e,r)=>{var n=r(6021),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},5725:(t,e,r)=>{var n=r(4032),i=r(2444),a=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=a(n,t);return e&&e.value}},8550:(t,e,r)=>{var n=r(418),i=r(5605),a=n.Set,o=n.add;t.exports=function(t){var e=new a;return i(t,(function(t){o(e,t)})),e}},4656:(t,e,r)=>{var n=r(4376),i=r(418),a=r(8550),o=r(82),s=r(3885),u=r(5605),c=r(2939),l=i.has,h=i.remove;t.exports=function(t){var e=n(this),r=s(t),i=a(e);return o(e)<=r.size?u(e,(function(t){r.includes(t)&&h(i,t)})):c(r.getIterator(),(function(t){l(e,t)&&h(i,t)})),i}},418:(t,e,r)=>{var n=r(2608),i=Set.prototype;t.exports={Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},2446:(t,e,r)=>{var n=r(4376),i=r(418),a=r(82),o=r(3885),s=r(5605),u=r(2939),c=i.Set,l=i.add,h=i.has;t.exports=function(t){var e=n(this),r=o(t),i=new c;return a(e)>r.size?u(r.getIterator(),(function(t){h(e,t)&&l(i,t)})):s(e,(function(t){r.includes(t)&&l(i,t)})),i}},4545:(t,e,r)=>{var n=r(4376),i=r(418).has,a=r(82),o=r(3885),s=r(5605),u=r(2939),c=r(5235);t.exports=function(t){var e=n(this),r=o(t);if(a(e)<=r.size)return!1!==s(e,(function(t){if(r.includes(t))return!1}),!0);var l=r.getIterator();return!1!==u(l,(function(t){if(i(e,t))return c(l,"normal",!1)}))}},7918:(t,e,r)=>{var n=r(4376),i=r(82),a=r(5605),o=r(3885);t.exports=function(t){var e=n(this),r=o(t);return!(i(e)>r.size)&&!1!==a(e,(function(t){if(!r.includes(t))return!1}),!0)}},6111:(t,e,r)=>{var n=r(4376),i=r(418).has,a=r(82),o=r(3885),s=r(2939),u=r(5235);t.exports=function(t){var e=n(this),r=o(t);if(a(e)<r.size)return!1;var c=r.getIterator();return!1!==s(c,(function(t){if(!i(e,t))return u(c,"normal",!1)}))}},5605:(t,e,r)=>{var n=r(2608),i=r(2939),a=r(418),o=a.Set,s=a.proto,u=n(s.forEach),c=n(s.keys),l=c(new o).next;t.exports=function(t,e,r){return r?i({iterator:c(t),next:l},e):u(t,e)}},1716:(t,e,r)=>{var n=r(8711),i=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=n("Set");try{(new e)[t](i(0));try{return(new e)[t](i(-1)),!1}catch(t){return!0}}catch(t){return!1}}},82:(t,e,r)=>{var n=r(5026),i=r(418);t.exports=n(i.proto,"size","get")||function(t){return t.size}},5409:(t,e,r)=>{var n=r(8711),i=r(8986),a=r(5811),o=r(2444),s=a("species");t.exports=function(t){var e=n(t);o&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},4498:(t,e,r)=>{var n=r(4376),i=r(418),a=r(8550),o=r(3885),s=r(2939),u=i.add,c=i.has,l=i.remove;t.exports=function(t){var e=n(this),r=o(t).getIterator(),i=a(e);return s(r,(function(t){c(e,t)?l(i,t):u(i,t)})),i}},6911:(t,e,r)=>{var n=r(1601).f,i=r(9649),a=r(5811)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,a)&&n(t,a,{configurable:!0,value:e})}},9500:(t,e,r)=>{var n=r(4376),i=r(418).add,a=r(8550),o=r(3885),s=r(2939);t.exports=function(t){var e=n(this),r=o(t).getIterator(),u=a(e);return s(r,(function(t){i(u,t)})),u}},2343:(t,e,r)=>{var n=r(4593),i=r(5936),a=n("keys");t.exports=function(t){return a[t]||(a[t]=i(t))}},2205:(t,e,r)=>{var n=r(8507),i=r(4032),a=r(5801),o="__core-js_shared__",s=t.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},4593:(t,e,r)=>{var n=r(2205);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},1365:(t,e,r)=>{var n=r(7447),i=r(9052),a=r(6021),o=r(5811)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||a(r=n(s)[o])?e:i(r)}},6903:(t,e,r)=>{var n=r(2608),i=r(1211),a=r(687),o=r(7222),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,h=a(o(e)),f=i(r),d=h.length;return f<0||f>=d?t?"":void 0:(n=u(h,f))<55296||n>56319||f+1===d||(l=u(h,f+1))<56320||l>57343?t?s(h,f):n:t?c(h,f,f+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},4903:(t,e,r)=>{var n=r(7607);t.exports=/Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(n)},6437:(t,e,r)=>{var n=r(2608),i=r(5806),a=r(687),o=r(6605),s=r(7222),u=n(o),c=n("".slice),l=Math.ceil,h=function(t){return function(e,r,n){var o,h,f=a(s(e)),d=i(r),v=f.length,p=void 0===n?" ":a(n);return d<=v||""===p?f:((h=u(p,l((o=d-v)/p.length))).length>o&&(h=c(h,0,o)),t?f+h:h+f)}};t.exports={start:h(!1),end:h(!0)}},5141:(t,e,r)=>{var n=r(2608),i=2147483647,a=/[^\\0-\\u007E]/,o=/[.\\u3002\\uFF0E\\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,c=n(o.exec),l=Math.floor,h=String.fromCharCode,f=n("".charCodeAt),d=n([].join),v=n([].push),p=n("".replace),y=n("".split),g=n("".toLowerCase),m=function(t){return t+22+75*(t<26)},b=function(t,e,r){var n=0;for(t=r?l(t/700):t>>1,t+=l(t/e);t>455;)t=l(t/35),n+=36;return l(n+36*t/(t+38))},w=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=f(t,r++);if(i>=55296&&i<=56319&&r<n){var a=f(t,r++);56320==(64512&a)?v(e,((1023&i)<<10)+(1023&a)+65536):(v(e,i),r--)}else v(e,i)}return e}(t);var r,n,a=t.length,o=128,c=0,p=72;for(r=0;r<t.length;r++)(n=t[r])<128&&v(e,h(n));var y=e.length,g=y;for(y&&v(e,"-");g<a;){var w=i;for(r=0;r<t.length;r++)(n=t[r])>=o&&n<w&&(w=n);var k=g+1;if(w-o>l((i-c)/k))throw new u(s);for(c+=(w-o)*k,o=w,r=0;r<t.length;r++){if((n=t[r])<o&&++c>i)throw new u(s);if(n===o){for(var x=c,A=36;;){var _=A<=p?1:A>=p+26?26:A-p;if(x<_)break;var E=x-_,S=36-_;v(e,h(m(_+E%S))),x=l(E/S),A+=36}v(e,h(m(x))),p=b(c,k,g===y),c=0,g++}}c++,o++}return d(e,"")};t.exports=function(t){var e,r,n=[],i=y(p(g(t),o,"."),".");for(e=0;e<i.length;e++)r=i[e],v(n,c(a,r)?"xn--"+w(r):r);return d(n,".")}},6605:(t,e,r)=>{var n=r(1211),i=r(687),a=r(7222),o=RangeError;t.exports=function(t){var e=i(a(this)),r="",s=n(t);if(s<0||s===1/0)throw new o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(r+=e);return r}},2882:(t,e,r)=>{var n=r(9418).end,i=r(3794);t.exports=i("trimEnd")?function(){return n(this)}:"".trimEnd},3794:(t,e,r)=>{var n=r(2542).PROPER,i=r(3455),a=r(2284);t.exports=function(t){return i((function(){return!!a[t]()||"​…᠎"!=="​…᠎"[t]()||n&&a[t].name!==t}))}},9418:(t,e,r)=>{var n=r(2608),i=r(7222),a=r(687),o=r(2284),s=n("".replace),u=RegExp("^["+o+"]+"),c=RegExp("(^|[^"+o+"])["+o+"]+$"),l=function(t){return function(e){var r=a(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,c,"$1")),r}};t.exports={start:l(1),end:l(2),trim:l(3)}},6572:(t,e,r)=>{var n=r(4032),i=r(3455),a=r(6415),o=r(7351),s=n.structuredClone;t.exports=!!s&&!i((function(){if("DENO"===o&&a>92||"NODE"===o&&a>94||"BROWSER"===o&&a>97)return!1;var t=new ArrayBuffer(8),e=s(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},6943:(t,e,r)=>{var n=r(6415),i=r(3455),a=r(4032).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3042:(t,e,r)=>{var n=r(3453),i=r(8711),a=r(5811),o=r(8552);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=a("toPrimitive");e&&!e[s]&&o(e,s,(function(t){return n(r,this)}),{arity:1})}},8592:(t,e,r)=>{var n=r(6943);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1369:(t,e,r)=>{var n,i,a,o,s=r(4032),u=r(3881),c=r(4864),l=r(3749),h=r(9649),f=r(3455),d=r(3085),v=r(4224),p=r(5751),y=r(7900),g=r(9352),m=r(4529),b=s.setImmediate,w=s.clearImmediate,k=s.process,x=s.Dispatch,A=s.Function,_=s.MessageChannel,E=s.String,S=0,O={},T="onreadystatechange";f((function(){n=s.location}));var P=function(t){if(h(O,t)){var e=O[t];delete O[t],e()}},L=function(t){return function(){P(t)}},M=function(t){P(t.data)},C=function(t){s.postMessage(E(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=l(t)?t:A(t),r=v(arguments,1);return O[++S]=function(){u(e,void 0,r)},i(S),S},w=function(t){delete O[t]},m?i=function(t){k.nextTick(L(t))}:x&&x.now?i=function(t){x.now(L(t))}:_&&!g?(o=(a=new _).port2,a.port1.onmessage=M,i=c(o.postMessage,o)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(C)?(i=C,s.addEventListener("message",M,!1)):i=T in p("script")?function(t){d.appendChild(p("script"))[T]=function(){d.removeChild(this),P(t)}}:function(t){setTimeout(L(t),0)}),t.exports={set:b,clear:w}},9002:(t,e,r)=>{var n=r(1211),i=Math.max,a=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):a(r,e)}},1198:(t,e,r)=>{var n=r(8921),i=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new i("Can't convert number to bigint");return BigInt(e)}},9088:(t,e,r)=>{var n=r(1211),i=r(5806),a=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=i(e);if(e!==r)throw new a("Wrong length or index");return r}},3637:(t,e,r)=>{var n=r(9455),i=r(7222);t.exports=function(t){return n(i(t))}},1211:(t,e,r)=>{var n=r(2789);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},5806:(t,e,r)=>{var n=r(1211),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},4165:(t,e,r)=>{var n=r(7222),i=Object;t.exports=function(t){return i(n(t))}},8402:(t,e,r)=>{var n=r(5590),i=RangeError;t.exports=function(t,e){var r=n(t);if(r%e)throw new i("Wrong offset");return r}},5590:(t,e,r)=>{var n=r(1211),i=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new i("The argument can't be less than 0");return e}},8921:(t,e,r)=>{var n=r(3453),i=r(2674),a=r(2277),o=r(8622),s=r(3118),u=r(5811),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!i(t)||a(t))return t;var r,u=o(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||a(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6201:(t,e,r)=>{var n=r(8921),i=r(2277);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},3724:(t,e,r)=>{var n={};n[r(5811)("toStringTag")]="z",t.exports="[object z]"===String(n)},687:(t,e,r)=>{var n=r(1179),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},5215:t=>{var e=Math.round;t.exports=function(t){var r=e(t);return r<0?0:r>255?255:255&r}},8055:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},8975:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3453),o=r(2444),s=r(949),u=r(4356),c=r(7226),l=r(3399),h=r(4004),f=r(139),d=r(2599),v=r(5806),p=r(9088),y=r(8402),g=r(5215),m=r(6201),b=r(9649),w=r(1179),k=r(2674),x=r(2277),A=r(5304),_=r(6921),E=r(9415),S=r(3408).f,O=r(2291),T=r(5645).forEach,P=r(5409),L=r(8986),M=r(1601),C=r(1139),j=r(7434),I=r(8301),R=r(3951),F=I.get,D=I.set,N=I.enforce,W=M.f,B=C.f,G=i.RangeError,H=c.ArrayBuffer,U=H.prototype,z=c.DataView,V=u.NATIVE_ARRAY_BUFFER_VIEWS,q=u.TYPED_ARRAY_TAG,Y=u.TypedArray,X=u.TypedArrayPrototype,K=u.isTypedArray,Q="BYTES_PER_ELEMENT",J="Wrong length",$=function(t,e){L(t,e,{configurable:!0,get:function(){return F(this)[e]}})},Z=function(t){var e;return _(U,t)||"ArrayBuffer"===(e=w(t))||"SharedArrayBuffer"===e},tt=function(t,e){return K(t)&&!x(e)&&e in t&&d(+e)&&e>=0},et=function(t,e){return e=m(e),tt(t,e)?h(2,t[e]):B(t,e)},rt=function(t,e,r){return e=m(e),!(tt(t,e)&&k(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?W(t,e,r):(t[e]=r.value,t)};o?(V||(C.f=et,M.f=rt,$(X,"buffer"),$(X,"byteOffset"),$(X,"byteLength"),$(X,"length")),n({target:"Object",stat:!0,forced:!V},{getOwnPropertyDescriptor:et,defineProperty:rt}),t.exports=function(t,e,r){var o=t.match(/\\d+/)[0]/8,u=t+(r?"Clamped":"")+"Array",c="get"+t,h="set"+t,d=i[u],m=d,b=m&&m.prototype,w={},x=function(t,e){W(t,e,{get:function(){return function(t,e){var r=F(t);return r.view[c](e*o+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var i=F(t);i.view[h](e*o+i.byteOffset,r?g(n):n,!0)}(this,e,t)},enumerable:!0})};V?s&&(m=e((function(t,e,r,n){return l(t,b),R(k(e)?Z(e)?void 0!==n?new d(e,y(r,o),n):void 0!==r?new d(e,y(r,o)):new d(e):K(e)?j(m,e):a(O,m,e):new d(p(e)),t,m)})),E&&E(m,Y),T(S(d),(function(t){t in m||f(m,t,d[t])})),m.prototype=b):(m=e((function(t,e,r,n){l(t,b);var i,s,u,c=0,h=0;if(k(e)){if(!Z(e))return K(e)?j(m,e):a(O,m,e);i=e,h=y(r,o);var f=e.byteLength;if(void 0===n){if(f%o)throw new G(J);if((s=f-h)<0)throw new G(J)}else if((s=v(n)*o)+h>f)throw new G(J);u=s/o}else u=p(e),i=new H(s=u*o);for(D(t,{buffer:i,byteOffset:h,byteLength:s,length:u,view:new z(i)});c<u;)x(t,c++)})),E&&E(m,Y),b=m.prototype=A(X)),b.constructor!==m&&f(b,"constructor",m),N(b).TypedArrayConstructor=m,q&&f(b,q,u);var _=m!==d;w[u]=m,n({global:!0,constructor:!0,forced:_,sham:!V},w),Q in m||f(m,Q,o),Q in b||f(b,Q,o),P(u)}):t.exports=function(){}},949:(t,e,r)=>{var n=r(4032),i=r(3455),a=r(4348),o=r(4356).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;t.exports=!o||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!a((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},85:(t,e,r)=>{var n=r(7434),i=r(580);t.exports=function(t,e){return n(i(t),e)}},2291:(t,e,r)=>{var n=r(4864),i=r(3453),a=r(9052),o=r(4165),s=r(7878),u=r(6961),c=r(7507),l=r(993),h=r(5415),f=r(4356).aTypedArrayConstructor,d=r(1198);t.exports=function(t){var e,r,v,p,y,g,m,b,w=a(this),k=o(t),x=arguments.length,A=x>1?arguments[1]:void 0,_=void 0!==A,E=c(k);if(E&&!l(E))for(b=(m=u(k,E)).next,k=[];!(g=i(b,m)).done;)k.push(g.value);for(_&&x>2&&(A=n(A,arguments[2])),r=s(k),v=new(f(w))(r),p=h(v),e=0;r>e;e++)y=_?A(k[e],e):k[e],v[e]=p?d(y):+y;return v}},580:(t,e,r)=>{var n=r(4356),i=r(1365),a=n.aTypedArrayConstructor,o=n.getTypedArrayConstructor;t.exports=function(t){return a(i(t,o(t)))}},5936:(t,e,r)=>{var n=r(2608),i=0,a=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++i+a,36)}},8200:(t,e,r)=>{var n=r(3455),i=r(5811),a=r(2444),o=r(8507),s=i("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),r.delete("a",2),r.delete("b",void 0),o&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(o||!a)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},4752:(t,e,r)=>{var n=r(6943);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},782:(t,e,r)=>{var n=r(2444),i=r(3455);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7900:t=>{var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},6206:(t,e,r)=>{var n=r(4032),i=r(3749),a=n.WeakMap;t.exports=i(a)&&/native code/.test(String(a))},5343:(t,e,r)=>{var n=r(8799),i=r(9649),a=r(4559),o=r(1601).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||o(e,t,{value:a.f(t)})}},4559:(t,e,r)=>{var n=r(5811);e.f=n},5811:(t,e,r)=>{var n=r(4032),i=r(4593),a=r(9649),o=r(5936),s=r(6943),u=r(4752),c=n.Symbol,l=i("wks"),h=u?c.for||c:c&&c.withoutSetter||o;t.exports=function(t){return a(l,t)||(l[t]=s&&a(c,t)?c[t]:h("Symbol."+t)),l[t]}},2284:t=>{t.exports="\\t\\n\\v\\f\\r                 \\u2028\\u2029\\ufeff"},9257:(t,e,r)=>{var n=r(8711),i=r(9649),a=r(139),o=r(6921),s=r(9415),u=r(2924),c=r(2848),l=r(3951),h=r(8363),f=r(2483),d=r(4171),v=r(2444),p=r(8507);t.exports=function(t,e,r,y){var g="stackTraceLimit",m=y?2:1,b=t.split("."),w=b[b.length-1],k=n.apply(null,b);if(k){var x=k.prototype;if(!p&&i(x,"cause")&&delete x.cause,!r)return k;var A=n("Error"),_=e((function(t,e){var r=h(y?e:t,void 0),n=y?new k(t):new k;return void 0!==r&&a(n,"message",r),d(n,_,n.stack,2),this&&o(x,this)&&l(n,this,_),arguments.length>m&&f(n,arguments[m]),n}));if(_.prototype=x,"Error"!==w?s?s(_,A):u(_,A,{name:!0}):v&&g in k&&(c(_,k,g),c(_,k,"prepareStackTrace")),u(_,k),!p)try{x.name!==w&&a(x,"name",w),x.constructor=_}catch(t){}return _}}},5015:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(7226),o=r(5409),s="ArrayBuffer",u=a[s];n({global:!0,constructor:!0,forced:i[s]!==u},{ArrayBuffer:u}),o(s)},9261:(t,e,r)=>{var n=r(2444),i=r(8986),a=r(8102),o=ArrayBuffer.prototype;n&&!("detached"in o)&&i(o,"detached",{configurable:!0,get:function(){return a(this)}})},6209:(t,e,r)=>{var n=r(5366),i=r(2116),a=r(3455),o=r(7226),s=r(7447),u=r(9002),c=r(5806),l=r(1365),h=o.ArrayBuffer,f=o.DataView,d=f.prototype,v=i(h.prototype.slice),p=i(d.getUint8),y=i(d.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a((function(){return!new h(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(v&&void 0===e)return v(s(this),t);for(var r=s(this).byteLength,n=u(t,r),i=u(void 0===e?r:e,r),a=new(l(this,h))(c(i-n)),o=new f(this),d=new f(a),g=0;n<i;)y(d,g++,p(o,n++));return a}})},3632:(t,e,r)=>{var n=r(5366),i=r(4676);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},3700:(t,e,r)=>{var n=r(5366),i=r(4676);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},6347:(t,e,r)=>{var n=r(5366),i=r(4165),a=r(7878),o=r(1211),s=r(1458);n({target:"Array",proto:!0},{at:function(t){var e=i(this),r=a(e),n=o(t),s=n>=0?n:r+n;return s<0||s>=r?void 0:e[s]}}),s("at")},3234:(t,e,r)=>{var n=r(5366),i=r(3455),a=r(5448),o=r(2674),s=r(4165),u=r(7878),c=r(9573),l=r(3552),h=r(1453),f=r(9077),d=r(5811),v=r(6415),p=d("isConcatSpreadable"),y=v>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),g=function(t){if(!o(t))return!1;var e=t[p];return void 0!==e?!!e:a(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!f("concat")},{concat:function(t){var e,r,n,i,a,o=s(this),f=h(o,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(g(a=-1===e?o:arguments[e]))for(i=u(a),c(d+i),r=0;r<i;r++,d++)r in a&&l(f,d,a[r]);else c(d+1),l(f,d++,a);return f.length=d,f}})},456:(t,e,r)=>{var n=r(5366),i=r(5645).filter;n({target:"Array",proto:!0,forced:!r(9077)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},4302:(t,e,r)=>{var n=r(5366),i=r(2851),a=r(4186),o=r(4165),s=r(7878),u=r(1453);n({target:"Array",proto:!0},{flatMap:function(t){var e,r=o(this),n=s(r);return a(t),(e=u(r,0)).length=i(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},6746:(t,e,r)=>{var n=r(5366),i=r(3948);n({target:"Array",stat:!0,forced:!r(4348)((function(t){Array.from(t)}))},{from:i})},8551:(t,e,r)=>{var n=r(5366),i=r(7921).includes,a=r(3455),o=r(1458);n({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},3276:(t,e,r)=>{var n=r(5366),i=r(2116),a=r(7921).indexOf,o=r(1814),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:u||!o("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return u?s(this,t,e)||0:a(this,t,e)}})},9024:(t,e,r)=>{var n=r(3637),i=r(1458),a=r(5597),o=r(8301),s=r(1601).f,u=r(656),c=r(9393),l=r(8507),h=r(2444),f="Array Iterator",d=o.set,v=o.getterFor(f);t.exports=u(Array,"Array",(function(t,e){d(this,{type:f,target:n(t),index:0,kind:e})}),(function(){var t=v(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var p=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!l&&h&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},3177:(t,e,r)=>{var n=r(5366),i=r(3499);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},5550:(t,e,r)=>{var n=r(5366),i=r(5645).map;n({target:"Array",proto:!0,forced:!r(9077)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},9138:(t,e,r)=>{var n=r(5366),i=r(4165),a=r(7878),o=r(7375),s=r(9573);n({target:"Array",proto:!0,arity:1,forced:r(3455)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=i(this),r=a(e),n=arguments.length;s(r+n);for(var u=0;u<n;u++)e[r]=arguments[u],r++;return o(e,r),r}})},8408:(t,e,r)=>{var n=r(5366),i=r(4734).left,a=r(1814),o=r(6415);n({target:"Array",proto:!0,forced:!r(4529)&&o>79&&o<83||!a("reduce")},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},4413:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(5448),o=i([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),o(this)}})},750:(t,e,r)=>{var n=r(5366),i=r(5448),a=r(8413),o=r(2674),s=r(9002),u=r(7878),c=r(3637),l=r(3552),h=r(5811),f=r(9077),d=r(4224),v=f("slice"),p=h("species"),y=Array,g=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(t,e){var r,n,h,f=c(this),v=u(f),m=s(t,v),b=s(void 0===e?v:e,v);if(i(f)&&(r=f.constructor,(a(r)&&(r===y||i(r.prototype))||o(r)&&null===(r=r[p]))&&(r=void 0),r===y||void 0===r))return d(f,m,b);for(n=new(void 0===r?y:r)(g(b-m,0)),h=0;m<b;m++,h++)m in f&&l(n,h,f[m]);return n.length=h,n}})},7710:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(4186),o=r(4165),s=r(7878),u=r(1870),c=r(687),l=r(3455),h=r(5272),f=r(1814),d=r(7085),v=r(5123),p=r(6415),y=r(1911),g=[],m=i(g.sort),b=i(g.push),w=l((function(){g.sort(void 0)})),k=l((function(){g.sort(null)})),x=f("sort"),A=!l((function(){if(p)return p<70;if(!(d&&d>3)){if(v)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:e+n,v:r})}for(g.sort((function(t,e){return e.v-t.v})),n=0;n<g.length;n++)e=g[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!k||!x||!A},{sort:function(t){void 0!==t&&a(t);var e=o(this);if(A)return void 0===t?m(e):m(e,t);var r,n,i=[],l=s(e);for(n=0;n<l;n++)n in e&&b(i,e[n]);for(h(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:c(e)>c(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<l;)u(e,n++);return e}})},122:(t,e,r)=>{var n=r(5366),i=r(4165),a=r(9002),o=r(1211),s=r(7878),u=r(7375),c=r(9573),l=r(1453),h=r(3552),f=r(1870),d=r(9077)("splice"),v=Math.max,p=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(t,e){var r,n,d,y,g,m,b=i(this),w=s(b),k=a(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-k):(r=x-2,n=p(v(o(e),0),w-k)),c(w+r-n),d=l(b,n),y=0;y<n;y++)(g=k+y)in b&&h(d,y,b[g]);if(d.length=n,r<n){for(y=k;y<w-n;y++)m=y+r,(g=y+n)in b?b[m]=b[g]:f(b,m);for(y=w;y>w-n+r;y--)f(b,y-1)}else if(r>n)for(y=w-n;y>k;y--)m=y+r-1,(g=y+n-1)in b?b[m]=b[g]:f(b,m);for(y=0;y<r;y++)b[y+k]=arguments[y+2];return u(b,w-n+r),d}})},7149:(t,e,r)=>{r(1458)("flatMap")},6851:(t,e,r)=>{var n=r(5366),i=r(3455),a=r(4165),o=r(8921);n({target:"Date",proto:!0,arity:1,forced:i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=a(this),r=o(e,"number");return"number"!=typeof r||isFinite(r)?e.toISOString():null}})},7316:(t,e,r)=>{var n=r(9649),i=r(8552),a=r(952),o=r(5811)("toPrimitive"),s=Date.prototype;n(s,o)||i(s,o,a)},184:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3881),o=r(9257),s="WebAssembly",u=i[s],c=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=o(t,e,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},h=function(t,e){if(u&&u[t]){var r={};r[t]=o(s+"."+t,e,c),n({target:s,stat:!0,constructor:!0,arity:1,forced:c},r)}};l("Error",(function(t){return function(e){return a(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return a(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return a(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return a(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return a(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return a(t,this,arguments)}})),l("URIError",(function(t){return function(e){return a(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return a(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return a(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return a(t,this,arguments)}}))},8169:(t,e,r)=>{var n=r(5366),i=r(4032);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},9750:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(3881),o=r(3453),s=r(2608),u=r(3455),c=r(3749),l=r(2277),h=r(4224),f=r(213),d=r(6943),v=String,p=i("JSON","stringify"),y=s(/./.exec),g=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),k=/[\\uD800-\\uDFFF]/g,x=/^[\\uD800-\\uDBFF]$/,A=/^[\\uDC00-\\uDFFF]$/,_=!d||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==p([t])||"{}"!==p({a:t})||"{}"!==p(Object(t))})),E=u((function(){return'"\\\\udf06\\\\ud834"'!==p("\\udf06\\ud834")||'"\\\\udead"'!==p("\\udead")})),S=function(t,e){var r=h(arguments),n=f(e);if(c(n)||void 0!==t&&!l(t))return r[1]=function(t,e){if(c(n)&&(e=o(n,this,v(t),e)),!l(e))return e},a(p,null,r)},O=function(t,e,r){var n=g(r,e-1),i=g(r,e+1);return y(x,t)&&!y(A,i)||y(A,t)&&!y(x,n)?"\\\\u"+w(m(t,0),16):t};p&&n({target:"JSON",stat:!0,arity:3,forced:_||E},{stringify:function(t,e,r){var n=h(arguments),i=a(_?S:p,null,n);return E&&"string"==typeof i?b(i,k,O):i}})},7531:(t,e,r)=>{var n=r(4032);r(6911)(n.JSON,"JSON",!0)},6539:(t,e,r)=>{r(9556)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(2042))},1425:(t,e,r)=>{r(6539)},3821:(t,e,r)=>{var n=r(5366),i=Math.hypot,a=Math.abs,o=Math.sqrt;n({target:"Math",stat:!0,arity:2,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(t,e){for(var r,n,i=0,s=0,u=arguments.length,c=0;s<u;)c<(r=a(arguments[s++]))?(i=i*(n=c/r)*n+1,c=r):i+=r>0?(n=r/c)*n:r;return c===1/0?1/0:c*o(i)}})},1999:(t,e,r)=>{r(6911)(Math,"Math",!0)},8674:(t,e,r)=>{var n=r(5366),i=r(8885).entries;n({target:"Object",stat:!0},{entries:function(t){return i(t)}})},4129:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(3552);n({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,(function(t,r){a(e,t,r)}),{AS_ENTRIES:!0}),e}})},702:(t,e,r)=>{var n=r(5366),i=r(2444),a=r(2919),o=r(3637),s=r(1139),u=r(3552);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=o(t),i=s.f,c=a(n),l={},h=0;c.length>h;)void 0!==(r=i(n,e=c[h++]))&&u(l,e,r);return l}})},1309:(t,e,r)=>{var n=r(5366),i=r(6943),a=r(3455),o=r(6005),s=r(4165);n({target:"Object",stat:!0,forced:!i||a((function(){o.f(1)}))},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(s(t)):[]}})},3379:(t,e,r)=>{var n=r(3724),i=r(8552),a=r(3003);n||i(Object.prototype,"toString",a,{unsafe:!0})},482:(t,e,r)=>{var n=r(5366),i=r(8885).values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},5204:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(9371),s=r(6703),u=r(1804);n({target:"Promise",stat:!0,forced:r(2041)},{allSettled:function(t){var e=this,r=o.f(e),n=r.resolve,c=r.reject,l=s((function(){var r=a(e.resolve),o=[],s=0,c=1;u(t,(function(t){var a=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,o[a]={status:"fulfilled",value:t},--c||n(o))}),(function(t){u||(u=!0,o[a]={status:"rejected",reason:t},--c||n(o))}))})),--c||n(o)}));return l.error&&c(l.value),r.promise}})},6195:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(9371),s=r(6703),u=r(1804);n({target:"Promise",stat:!0,forced:r(2041)},{all:function(t){var e=this,r=o.f(e),n=r.resolve,c=r.reject,l=s((function(){var r=a(e.resolve),o=[],s=0,l=1;u(t,(function(t){var a=s++,u=!1;l++,i(r,e,t).then((function(t){u||(u=!0,o[a]=t,--l||n(o))}),c)})),--l||n(o)}));return l.error&&c(l.value),r.promise}})},1459:(t,e,r)=>{var n=r(5366),i=r(8507),a=r(9492).CONSTRUCTOR,o=r(5318),s=r(8711),u=r(3749),c=r(8552),l=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(o)){var h=s("Promise").prototype.catch;l.catch!==h&&c(l,"catch",h,{unsafe:!0})}},9236:(t,e,r)=>{var n,i,a,o=r(5366),s=r(8507),u=r(4529),c=r(4032),l=r(3453),h=r(8552),f=r(9415),d=r(6911),v=r(5409),p=r(4186),y=r(3749),g=r(2674),m=r(3399),b=r(1365),w=r(1369).set,k=r(755),x=r(4885),A=r(6703),_=r(3529),E=r(8301),S=r(5318),O=r(9492),T=r(9371),P="Promise",L=O.CONSTRUCTOR,M=O.REJECTION_EVENT,C=O.SUBCLASSING,j=E.getterFor(P),I=E.set,R=S&&S.prototype,F=S,D=R,N=c.TypeError,W=c.document,B=c.process,G=T.f,H=G,U=!!(W&&W.createEvent&&c.dispatchEvent),z="unhandledrejection",V=function(t){var e;return!(!g(t)||!y(e=t.then))&&e},q=function(t,e){var r,n,i,a=e.value,o=1===e.state,s=o?t.ok:t.fail,u=t.resolve,c=t.reject,h=t.domain;try{s?(o||(2===e.rejection&&J(e),e.rejection=1),!0===s?r=a:(h&&h.enter(),r=s(a),h&&(h.exit(),i=!0)),r===t.promise?c(new N("Promise-chain cycle")):(n=V(r))?l(n,r,u,c):u(r)):c(a)}catch(t){h&&!i&&h.exit(),c(t)}},Y=function(t,e){t.notified||(t.notified=!0,k((function(){for(var r,n=t.reactions;r=n.get();)q(r,t);t.notified=!1,e&&!t.rejection&&K(t)})))},X=function(t,e,r){var n,i;U?((n=W.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),c.dispatchEvent(n)):n={promise:e,reason:r},!M&&(i=c["on"+t])?i(n):t===z&&x("Unhandled promise rejection",r)},K=function(t){l(w,c,(function(){var e,r=t.facade,n=t.value;if(Q(t)&&(e=A((function(){u?B.emit("unhandledRejection",n,r):X(z,r,n)})),t.rejection=u||Q(t)?2:1,e.error))throw e.value}))},Q=function(t){return 1!==t.rejection&&!t.parent},J=function(t){l(w,c,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):X("rejectionhandled",e,t.value)}))},$=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Y(t,!0))},tt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new N("Promise can't be resolved itself");var n=V(e);n?k((function(){var r={done:!1};try{l(n,e,$(tt,r,t),$(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,Y(t,!1))}catch(e){Z({done:!1},e,t)}}};if(L&&(D=(F=function(t){m(this,D),p(t),l(n,this);var e=j(this);try{t($(tt,e),$(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){I(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:0,value:null})}).prototype=h(D,"then",(function(t,e){var r=j(this),n=G(b(this,F));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):k((function(){q(n,r)})),n.promise})),i=function(){var t=new n,e=j(t);this.promise=t,this.resolve=$(tt,e),this.reject=$(Z,e)},T.f=G=function(t){return t===F||void 0===t?new i(t):H(t)},!s&&y(S)&&R!==Object.prototype)){a=R.then,C||h(R,"then",(function(t,e){var r=this;return new F((function(t,e){l(a,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete R.constructor}catch(t){}f&&f(R,D)}o({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:F}),d(F,P,!1,!0),v(P)},2431:(t,e,r)=>{var n=r(5366),i=r(8507),a=r(5318),o=r(3455),s=r(8711),u=r(3749),c=r(1365),l=r(1774),h=r(8552),f=a&&a.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&o((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=c(this,s("Promise")),r=u(t);return this.then(r?function(r){return l(e,t()).then((function(){return r}))}:t,r?function(r){return l(e,t()).then((function(){throw r}))}:t)}}),!i&&u(a)){var d=s("Promise").prototype.finally;f.finally!==d&&h(f,"finally",d,{unsafe:!0})}},1234:(t,e,r)=>{r(9236),r(6195),r(1459),r(5167),r(5257),r(1128)},5167:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(9371),s=r(6703),u=r(1804);n({target:"Promise",stat:!0,forced:r(2041)},{race:function(t){var e=this,r=o.f(e),n=r.reject,c=s((function(){var o=a(e.resolve);u(t,(function(t){i(o,e,t).then(r.resolve,n)}))}));return c.error&&n(c.value),r.promise}})},5257:(t,e,r)=>{var n=r(5366),i=r(9371);n({target:"Promise",stat:!0,forced:r(9492).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},1128:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(8507),o=r(5318),s=r(9492).CONSTRUCTOR,u=r(1774),c=i("Promise"),l=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(t){return u(l&&this===c?o:this,t)}})},9732:(t,e,r)=>{var n=r(5366),i=r(9371);n({target:"Promise",stat:!0},{withResolvers:function(){var t=i.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},489:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(3881),o=r(2230),s=r(9052),u=r(7447),c=r(2674),l=r(5304),h=r(3455),f=i("Reflect","construct"),d=Object.prototype,v=[].push,p=h((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),y=!h((function(){f((function(){}))})),g=p||y;n({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!p)return f(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return a(v,n,e),new(a(o,t,n))}var i=r.prototype,h=l(c(i)?i:d),g=a(t,h,e);return c(g)?g:h}})},7288:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(2674),o=r(7447),s=r(3007),u=r(1139),c=r(2611);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,l,h=arguments.length<3?e:arguments[2];return o(e)===h?e[r]:(n=u.f(e,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,h):a(l=c(e))?t(l,r,h):void 0}})},176:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(6911);n({global:!0},{Reflect:{}}),a(i.Reflect,"Reflect",!0)},4592:(t,e,r)=>{var n=r(2444),i=r(4032),a=r(2608),o=r(5868),s=r(3951),u=r(139),c=r(5304),l=r(3408).f,h=r(6921),f=r(6484),d=r(687),v=r(4554),p=r(1837),y=r(2848),g=r(8552),m=r(3455),b=r(9649),w=r(8301).enforce,k=r(5409),x=r(5811),A=r(3651),_=r(9502),E=x("match"),S=i.RegExp,O=S.prototype,T=i.SyntaxError,P=a(O.exec),L=a("".charAt),M=a("".replace),C=a("".indexOf),j=a("".slice),I=/^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/,R=/a/g,F=/a/g,D=new S(R)!==R,N=p.MISSED_STICKY,W=p.UNSUPPORTED_Y;if(o("RegExp",n&&(!D||N||A||_||m((function(){return F[E]=!1,S(R)!==R||S(F)===F||"/a/i"!==String(S(R,"i"))}))))){for(var B=function(t,e){var r,n,i,a,o,l,p=h(O,this),y=f(t),g=void 0===e,m=[],k=t;if(!p&&y&&g&&t.constructor===B)return t;if((y||h(O,t))&&(t=t.source,g&&(e=v(k))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),k=t,A&&"dotAll"in R&&(n=!!e&&C(e,"s")>-1)&&(e=M(e,/s/g,"")),r=e,N&&"sticky"in R&&(i=!!e&&C(e,"y")>-1)&&W&&(e=M(e,/y/g,"")),_&&(a=function(t){for(var e,r=t.length,n=0,i="",a=[],o=c(null),s=!1,u=!1,l=0,h="";n<=r;n++){if("\\\\"===(e=L(t,n)))e+=L(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:if(i+=e,"?:"===j(t,n+1,n+3))continue;P(I,j(t,n+1))&&(n+=2,u=!0),l++;continue;case">"===e&&u:if(""===h||b(o,h))throw new T("Invalid capture group name");o[h]=!0,a[a.length]=[h,l],u=!1,h="";continue}u?h+=e:i+=e}return[i,a]}(t),t=a[0],m=a[1]),o=s(S(t,e),p?this:O,B),(n||i||m.length)&&(l=w(o),n&&(l.dotAll=!0,l.raw=B(function(t){for(var e,r=t.length,n=0,i="",a=!1;n<=r;n++)"\\\\"!==(e=L(t,n))?a||"."!==e?("["===e?a=!0:"]"===e&&(a=!1),i+=e):i+="[\\\\s\\\\S]":i+=e+L(t,++n);return i}(t),r)),i&&(l.sticky=!0),m.length&&(l.groups=m)),t!==k)try{u(o,"source",""===k?"(?:)":k)}catch(t){}return o},G=l(S),H=0;G.length>H;)y(B,S,G[H++]);O.constructor=B,B.prototype=O,g(i,"RegExp",B,{constructor:!0})}k("RegExp")},8345:(t,e,r)=>{var n=r(2444),i=r(3651),a=r(9872),o=r(8986),s=r(8301).get,u=RegExp.prototype,c=TypeError;n&&i&&o(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},2823:(t,e,r)=>{var n=r(5366),i=r(9867);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},2865:(t,e,r)=>{var n=r(2444),i=r(1837).MISSED_STICKY,a=r(9872),o=r(8986),s=r(8301).get,u=RegExp.prototype,c=TypeError;n&&i&&o(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},5594:(t,e,r)=>{r(2823);var n,i,a=r(5366),o=r(3453),s=r(3749),u=r(7447),c=r(687),l=(n=!1,(i=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===i.test("abc")&&n),h=/./.test;a({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=u(this),r=c(t),n=e.exec;if(!s(n))return o(h,e,r);var i=o(n,e,r);return null!==i&&(u(i),!0)}})},8397:(t,e,r)=>{var n=r(2542).PROPER,i=r(8552),a=r(7447),o=r(687),s=r(3455),u=r(4554),c="toString",l=RegExp.prototype,h=l[c],f=s((function(){return"/a/b"!==h.call({source:"a",flags:"b"})})),d=n&&h.name!==c;(f||d)&&i(l,c,(function(){var t=a(this);return"/"+o(t.source)+"/"+o(u(t))}),{unsafe:!0})},4645:(t,e,r)=>{r(9556)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(2042))},5130:(t,e,r)=>{var n=r(5366),i=r(4656);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("difference")},{difference:i})},5636:(t,e,r)=>{var n=r(5366),i=r(3455),a=r(2446);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:a})},8509:(t,e,r)=>{var n=r(5366),i=r(4545);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("isDisjointFrom")},{isDisjointFrom:i})},7332:(t,e,r)=>{var n=r(5366),i=r(7918);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSubsetOf")},{isSubsetOf:i})},6555:(t,e,r)=>{var n=r(5366),i=r(6111);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("isSupersetOf")},{isSupersetOf:i})},9255:(t,e,r)=>{r(4645)},3296:(t,e,r)=>{var n=r(5366),i=r(4498);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("symmetricDifference")},{symmetricDifference:i})},4594:(t,e,r)=>{var n=r(5366),i=r(9500);n({target:"Set",proto:!0,real:!0,forced:!r(1716)("union")},{union:i})},8653:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(7222),o=r(1211),s=r(687),u=r(3455),c=i("".charAt);n({target:"String",proto:!0,forced:u((function(){return"\\ud842"!=="𠮷".at(-2)}))},{at:function(t){var e=s(a(this)),r=e.length,n=o(t),i=n>=0?n:r+n;return i<0||i>=r?void 0:c(e,i)}})},9657:(t,e,r)=>{var n,i=r(5366),a=r(2116),o=r(1139).f,s=r(5806),u=r(687),c=r(3631),l=r(7222),h=r(860),f=r(8507),d=a("".slice),v=Math.min,p=h("endsWith");i({target:"String",proto:!0,forced:!(!f&&!p&&(n=o(String.prototype,"endsWith"),n&&!n.writable)||p)},{endsWith:function(t){var e=u(l(this));c(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,i=void 0===r?n:v(s(r),n),a=u(t);return d(e,i-a.length,i)===a}})},2217:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(9002),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=i([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,i=0;n>i;){if(e=+arguments[i++],a(e,1114111)!==e)throw new o(e+" is not a valid code point");r[i]=e<65536?s(e):s(55296+((e-=65536)>>10),e%1024+56320)}return c(r,"")}})},2467:(t,e,r)=>{var n=r(5366),i=r(2608),a=r(3631),o=r(7222),s=r(687),u=r(860),c=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~c(s(o(this)),s(a(t)),arguments.length>1?arguments[1]:void 0)}})},7460:(t,e,r)=>{var n=r(6903).charAt,i=r(687),a=r(8301),o=r(656),s=r(9393),u="String Iterator",c=a.set,l=a.getterFor(u);o(String,"String",(function(t){c(this,{type:u,string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},1281:(t,e,r)=>{var n=r(3453),i=r(4364),a=r(7447),o=r(6021),s=r(5806),u=r(687),c=r(7222),l=r(8622),h=r(8149),f=r(4410);i("match",(function(t,e,r){return[function(e){var r=c(this),i=o(e)?void 0:l(e,t);return i?n(i,e,r):new RegExp(e)[t](u(r))},function(t){var n=a(this),i=u(t),o=r(e,n,i);if(o.done)return o.value;if(!n.global)return f(n,i);var c=n.unicode;n.lastIndex=0;for(var l,d=[],v=0;null!==(l=f(n,i));){var p=u(l[0]);d[v]=p,""===p&&(n.lastIndex=h(i,s(n.lastIndex),c)),v++}return 0===v?null:d}]}))},4853:(t,e,r)=>{var n=r(5366),i=r(6437).end;n({target:"String",proto:!0,forced:r(4903)},{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},9484:(t,e,r)=>{var n=r(5366),i=r(6437).start;n({target:"String",proto:!0,forced:r(4903)},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},6794:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(2608),o=r(7222),s=r(3749),u=r(6021),c=r(6484),l=r(687),h=r(8622),f=r(4554),d=r(3966),v=r(5811),p=r(8507),y=v("replace"),g=TypeError,m=a("".indexOf),b=a("".replace),w=a("".slice),k=Math.max;n({target:"String",proto:!0},{replaceAll:function(t,e){var r,n,a,v,x,A,_,E,S,O,T=o(this),P=0,L="";if(!u(t)){if((r=c(t))&&(n=l(o(f(t))),!~m(n,"g")))throw new g("\`.replaceAll\` does not allow non-global regexes");if(a=h(t,y))return i(a,t,T,e);if(p&&r)return b(l(T),t,e)}for(v=l(T),x=l(t),(A=s(e))||(e=l(e)),_=x.length,E=k(1,_),S=m(v,x);-1!==S;)O=A?l(e(x,S,v)):d(x,v,S,[],void 0,e),L+=w(v,P,S)+O,P=S+_,S=S+E>v.length?-1:m(v,x,S+E);return P<v.length&&(L+=w(v,P)),L}})},4672:(t,e,r)=>{var n=r(3881),i=r(3453),a=r(2608),o=r(4364),s=r(3455),u=r(7447),c=r(3749),l=r(6021),h=r(1211),f=r(5806),d=r(687),v=r(7222),p=r(8149),y=r(8622),g=r(3966),m=r(4410),b=r(5811)("replace"),w=Math.max,k=Math.min,x=a([].concat),A=a([].push),_=a("".indexOf),E=a("".slice),S="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");o("replace",(function(t,e,r){var a=O?"$":"$0";return[function(t,r){var n=v(this),a=l(t)?void 0:y(t,b);return a?i(a,t,n,r):i(e,d(n),t,r)},function(t,i){var o=u(this),s=d(t);if("string"==typeof i&&-1===_(i,a)&&-1===_(i,"$<")){var l=r(e,o,s,i);if(l.done)return l.value}var v=c(i);v||(i=d(i));var y,b=o.global;b&&(y=o.unicode,o.lastIndex=0);for(var S,O=[];null!==(S=m(o,s))&&(A(O,S),b);)""===d(S[0])&&(o.lastIndex=p(s,f(o.lastIndex),y));for(var T,P="",L=0,M=0;M<O.length;M++){for(var C,j=d((S=O[M])[0]),I=w(k(h(S.index),s.length),0),R=[],F=1;F<S.length;F++)A(R,void 0===(T=S[F])?T:String(T));var D=S.groups;if(v){var N=x([j],R,I,s);void 0!==D&&A(N,D),C=d(n(i,void 0,N))}else C=g(j,s,I,R,D,i);I>=L&&(P+=E(s,L,I)+C,L=I+j.length)}return P+E(s,L)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!S||O)},4072:(t,e,r)=>{var n=r(3453),i=r(2608),a=r(4364),o=r(7447),s=r(6021),u=r(7222),c=r(1365),l=r(8149),h=r(5806),f=r(687),d=r(8622),v=r(4410),p=r(1837),y=r(3455),g=p.UNSUPPORTED_Y,m=Math.min,b=i([].push),w=i("".slice),k=!y((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),x="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;a("split",(function(t,e,r){var i="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:n(e,this,t,r)}:e;return[function(e,r){var a=u(this),o=s(e)?void 0:d(e,t);return o?n(o,e,a,r):n(i,f(a),e,r)},function(t,n){var a=o(this),s=f(t);if(!x){var u=r(i,a,s,n,i!==e);if(u.done)return u.value}var d=c(a,RegExp),p=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(g?"g":"y"),k=new d(g?"^(?:"+a.source+")":a,y),A=void 0===n?4294967295:n>>>0;if(0===A)return[];if(0===s.length)return null===v(k,s)?[s]:[];for(var _=0,E=0,S=[];E<s.length;){k.lastIndex=g?0:E;var O,T=v(k,g?w(s,E):s);if(null===T||(O=m(h(k.lastIndex+(g?E:0)),s.length))===_)E=l(s,E,p);else{if(b(S,w(s,_,E)),S.length===A)return S;for(var P=1;P<=T.length-1;P++)if(b(S,T[P]),S.length===A)return S;E=_=O}}return b(S,w(s,_)),S}]}),x||!k,g)},9264:(t,e,r)=>{var n,i=r(5366),a=r(2116),o=r(1139).f,s=r(5806),u=r(687),c=r(3631),l=r(7222),h=r(860),f=r(8507),d=a("".slice),v=Math.min,p=h("startsWith");i({target:"String",proto:!0,forced:!(!f&&!p&&(n=o(String.prototype,"startsWith"),n&&!n.writable)||p)},{startsWith:function(t){var e=u(l(this));c(t);var r=s(v(arguments.length>1?arguments[1]:void 0,e.length)),n=u(t);return d(e,r,r+n.length)===n}})},98:(t,e,r)=>{r(3185);var n=r(5366),i=r(2882);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},3185:(t,e,r)=>{var n=r(5366),i=r(2882);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},9210:(t,e,r)=>{var n=r(5366),i=r(9418).trim;n({target:"String",proto:!0,forced:r(3794)("trim")},{trim:function(){return i(this)}})},4172:(t,e,r)=>{r(5343)("asyncIterator")},2873:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3453),o=r(2608),s=r(8507),u=r(2444),c=r(6943),l=r(3455),h=r(9649),f=r(6921),d=r(7447),v=r(3637),p=r(6201),y=r(687),g=r(4004),m=r(5304),b=r(496),w=r(3408),k=r(6442),x=r(6005),A=r(1139),_=r(1601),E=r(9217),S=r(9221),O=r(8552),T=r(8986),P=r(4593),L=r(2343),M=r(2645),C=r(5936),j=r(5811),I=r(4559),R=r(5343),F=r(3042),D=r(6911),N=r(8301),W=r(5645).forEach,B=L("hidden"),G="Symbol",H="prototype",U=N.set,z=N.getterFor(G),V=Object[H],q=i.Symbol,Y=q&&q[H],X=i.RangeError,K=i.TypeError,Q=i.QObject,J=A.f,$=_.f,Z=k.f,tt=S.f,et=o([].push),rt=P("symbols"),nt=P("op-symbols"),it=P("wks"),at=!Q||!Q[H]||!Q[H].findChild,ot=function(t,e,r){var n=J(V,e);n&&delete V[e],$(t,e,r),n&&t!==V&&$(V,e,n)},st=u&&l((function(){return 7!==m($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?ot:$,ut=function(t,e){var r=rt[t]=m(Y);return U(r,{type:G,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===V&&ct(nt,e,r),d(t);var n=p(e);return d(r),h(rt,n)?(r.enumerable?(h(t,B)&&t[B][n]&&(t[B][n]=!1),r=m(r,{enumerable:g(0,!1)})):(h(t,B)||$(t,B,g(1,m(null))),t[B][n]=!0),st(t,n,r)):$(t,n,r)},lt=function(t,e){d(t);var r=v(e),n=b(r).concat(vt(r));return W(n,(function(e){u&&!a(ht,r,e)||ct(t,e,r[e])})),t},ht=function(t){var e=p(t),r=a(tt,this,e);return!(this===V&&h(rt,e)&&!h(nt,e))&&(!(r||!h(this,e)||!h(rt,e)||h(this,B)&&this[B][e])||r)},ft=function(t,e){var r=v(t),n=p(e);if(r!==V||!h(rt,n)||h(nt,n)){var i=J(r,n);return!i||!h(rt,n)||h(r,B)&&r[B][n]||(i.enumerable=!0),i}},dt=function(t){var e=Z(v(t)),r=[];return W(e,(function(t){h(rt,t)||h(M,t)||et(r,t)})),r},vt=function(t){var e=t===V,r=Z(e?nt:v(t)),n=[];return W(r,(function(t){!h(rt,t)||e&&!h(V,t)||et(n,rt[t])})),n};c||(O(Y=(q=function(){if(f(Y,this))throw new K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=C(t),r=function(t){var n=void 0===this?i:this;n===V&&a(r,nt,t),h(n,B)&&h(n[B],e)&&(n[B][e]=!1);var o=g(1,t);try{st(n,e,o)}catch(t){if(!(t instanceof X))throw t;ot(n,e,o)}};return u&&at&&st(V,e,{configurable:!0,set:r}),ut(e,t)})[H],"toString",(function(){return z(this).tag})),O(q,"withoutSetter",(function(t){return ut(C(t),t)})),S.f=ht,_.f=ct,E.f=lt,A.f=ft,w.f=k.f=dt,x.f=vt,I.f=function(t){return ut(j(t),t)},u&&(T(Y,"description",{configurable:!0,get:function(){return z(this).description}}),s||O(V,"propertyIsEnumerable",ht,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),W(b(it),(function(t){R(t)})),n({target:G,stat:!0,forced:!c},{useSetter:function(){at=!0},useSimple:function(){at=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?m(t):lt(m(t),e)},defineProperty:ct,defineProperties:lt,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt}),F(),D(q,G),M[B]=!0},4551:(t,e,r)=>{var n=r(5366),i=r(2444),a=r(4032),o=r(2608),s=r(9649),u=r(3749),c=r(6921),l=r(687),h=r(8986),f=r(2924),d=a.Symbol,v=d&&d.prototype;if(i&&u(d)&&(!("description"in v)||void 0!==d().description)){var p={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(v,this)?new d(t):void 0===t?d():d(t);return""===t&&(p[e]=!0),e};f(y,d),y.prototype=v,v.constructor=y;var g="Symbol(description detection)"===String(d("description detection")),m=o(v.valueOf),b=o(v.toString),w=/^Symbol\\((.*)\\)[^)]+$/,k=o("".replace),x=o("".slice);h(v,"description",{configurable:!0,get:function(){var t=m(this);if(s(p,t))return"";var e=b(t),r=g?x(e,7,-1):k(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},4182:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(9649),o=r(687),s=r(4593),u=r(8592),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=o(t);if(a(c,e))return c[e];var r=i("Symbol")(e);return c[e]=r,l[r]=e,r}})},7651:(t,e,r)=>{r(2873),r(4182),r(7876),r(9750),r(1309)},7876:(t,e,r)=>{var n=r(5366),i=r(9649),a=r(2277),o=r(8055),s=r(4593),u=r(8592),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!a(t))throw new TypeError(o(t)+" is not a symbol");if(i(c,t))return c[t]}})},5268:(t,e,r)=>{var n=r(5343),i=r(3042);n("toPrimitive"),i()},5997:(t,e,r)=>{var n=r(8711),i=r(5343),a=r(6911);i("toStringTag"),a(n("Symbol"),"Symbol")},3740:(t,e,r)=>{var n=r(4356),i=r(7878),a=r(1211),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function(t){var e=o(this),r=i(e),n=a(t),s=n>=0?n:r+n;return s<0||s>=r?void 0:e[s]}))},6542:(t,e,r)=>{var n=r(2608),i=r(4356),a=n(r(6677)),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return a(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},5738:(t,e,r)=>{var n=r(4356),i=r(5645).every,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},2900:(t,e,r)=>{var n=r(4356),i=r(9557),a=r(1198),o=r(1179),s=r(3453),u=r(2608),c=r(3455),l=n.aTypedArray,h=n.exportTypedArrayMethod,f=u("".slice);h("fill",(function(t){var e=arguments.length;l(this);var r="Big"===f(o(this),0,3)?a(t):+t;return s(i,this,r,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),c((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})))},2051:(t,e,r)=>{var n=r(4356),i=r(5645).filter,a=r(85),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(t){var e=i(o(this),t,arguments.length>1?arguments[1]:void 0);return a(this,e)}))},4211:(t,e,r)=>{var n=r(4356),i=r(5645).findIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},5294:(t,e,r)=>{var n=r(4356),i=r(767).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},9791:(t,e,r)=>{var n=r(4356),i=r(767).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},3198:(t,e,r)=>{var n=r(4356),i=r(5645).find,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},4306:(t,e,r)=>{r(8975)("Float32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},6473:(t,e,r)=>{r(8975)("Float64",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},1526:(t,e,r)=>{var n=r(4356),i=r(5645).forEach,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(t){i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},6032:(t,e,r)=>{var n=r(4356),i=r(7921).includes,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},3659:(t,e,r)=>{var n=r(4356),i=r(7921).indexOf,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},1237:(t,e,r)=>{r(8975)("Int32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},932:(t,e,r)=>{var n=r(4032),i=r(3455),a=r(2608),o=r(4356),s=r(9024),u=r(5811)("iterator"),c=n.Uint8Array,l=a(s.values),h=a(s.keys),f=a(s.entries),d=o.aTypedArray,v=o.exportTypedArrayMethod,p=c&&c.prototype,y=!i((function(){p[u].call([1])})),g=!!p&&p.values&&p[u]===p.values&&"values"===p.values.name,m=function(){return l(d(this))};v("entries",(function(){return f(d(this))}),y),v("keys",(function(){return h(d(this))}),y),v("values",m,y||!g,{name:"values"}),v(u,m,y||!g,{name:"values"})},8553:(t,e,r)=>{var n=r(4356),i=r(2608),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=i([].join);o("join",(function(t){return s(a(this),t)}))},7612:(t,e,r)=>{var n=r(4356),i=r(3881),a=r(3499),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return i(a,o(this),e>1?[t,arguments[1]]:[t])}))},8579:(t,e,r)=>{var n=r(4356),i=r(5645).map,a=r(580),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(a(t))(e)}))}))},7576:(t,e,r)=>{var n=r(4356),i=r(4734).right,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return i(a(this),t,e,e>1?arguments[1]:void 0)}))},7719:(t,e,r)=>{var n=r(4356),i=r(4734).left,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return i(a(this),t,e,e>1?arguments[1]:void 0)}))},2891:(t,e,r)=>{var n=r(4356),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){for(var t,e=this,r=i(e).length,n=o(r/2),a=0;a<n;)t=e[a],e[a++]=e[--r],e[r]=t;return e}))},2605:(t,e,r)=>{var n=r(4032),i=r(3453),a=r(4356),o=r(7878),s=r(8402),u=r(4165),c=r(3455),l=n.RangeError,h=n.Int8Array,f=h&&h.prototype,d=f&&f.set,v=a.aTypedArray,p=a.exportTypedArrayMethod,y=!c((function(){var t=new Uint8ClampedArray(2);return i(d,t,{length:1,0:3},1),3!==t[1]})),g=y&&a.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var t=new h(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));p("set",(function(t){v(this);var e=s(arguments.length>1?arguments[1]:void 0,1),r=u(t);if(y)return i(d,this,r,e);var n=this.length,a=o(r),c=0;if(a+e>n)throw new l("Wrong length");for(;c<a;)this[e+c]=r[c++]}),!y||g)},4863:(t,e,r)=>{var n=r(4356),i=r(580),a=r(3455),o=r(4224),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(t,e){for(var r=o(s(this),t,e),n=i(this),a=0,u=r.length,c=new n(u);u>a;)c[a]=r[a++];return c}),a((function(){new Int8Array(1).slice()})))},9637:(t,e,r)=>{var n=r(4356),i=r(5645).some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0)}))},2709:(t,e,r)=>{var n=r(4032),i=r(2116),a=r(3455),o=r(4186),s=r(5272),u=r(4356),c=r(7085),l=r(5123),h=r(6415),f=r(1911),d=u.aTypedArray,v=u.exportTypedArrayMethod,p=n.Uint16Array,y=p&&i(p.prototype.sort),g=!(!y||a((function(){y(new p(2),null)}))&&a((function(){y(new p(2),{})}))),m=!!y&&!a((function(){if(h)return h<74;if(c)return c<67;if(l)return!0;if(f)return f<602;var t,e,r=new p(516),n=Array(516);for(t=0;t<516;t++)e=t%4,r[t]=515-t,n[t]=t-2*e+3;for(y(r,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(r[t]!==n[t])return!0}));v("sort",(function(t){return void 0!==t&&o(t),m?y(this,t):s(d(this),function(t){return function(e,r){return void 0!==t?+t(e,r)||0:r!=r?-1:e!=e?1:0===e&&0===r?1/e>0&&1/r<0?1:-1:e>r}}(t))}),!m||g)},8941:(t,e,r)=>{var n=r(4032),i=r(3881),a=r(4356),o=r(3455),s=r(4224),u=n.Int8Array,c=a.aTypedArray,l=a.exportTypedArrayMethod,h=[].toLocaleString,f=!!u&&o((function(){h.call(new u(1))}));l("toLocaleString",(function(){return i(h,f?s(c(this)):c(this),s(arguments))}),o((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!o((function(){u.prototype.toLocaleString.call([1,2])})))},1579:(t,e,r)=>{var n=r(6444),i=r(4356),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;o("toReversed",(function(){return n(a(this),s(this))}))},6236:(t,e,r)=>{var n=r(4356),i=r(2608),a=r(4186),o=r(7434),s=n.aTypedArray,u=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,l=i(n.TypedArrayPrototype.sort);c("toSorted",(function(t){void 0!==t&&a(t);var e=s(this),r=o(u(e),e);return l(r,t)}))},7716:(t,e,r)=>{var n=r(4356).exportTypedArrayMethod,i=r(3455),a=r(4032),o=r(2608),s=a.Uint8Array,u=s&&s.prototype||{},c=[].toString,l=o([].join);i((function(){c.call({})}))&&(c=function(){return l(this)});var h=u.toString!==c;n("toString",c,h)},2044:(t,e,r)=>{r(8975)("Uint32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},7329:(t,e,r)=>{r(8975)("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},1913:(t,e,r)=>{var n=r(920),i=r(4356),a=r(5415),o=r(1211),s=r(1198),u=i.aTypedArray,c=i.getTypedArrayConstructor,l=i.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();l("with",{with:function(t,e){var r=u(this),i=o(t),l=a(r)?s(e):+e;return n(r,c(r),i,l)}}.with,!h)},6722:(t,e,r)=>{var n,i=r(568),a=r(4032),o=r(2608),s=r(4183),u=r(5227),c=r(9556),l=r(8153),h=r(2674),f=r(8301).enforce,d=r(3455),v=r(6206),p=Object,y=Array.isArray,g=p.isExtensible,m=p.isFrozen,b=p.isSealed,w=p.freeze,k=p.seal,x=!a.ActiveXObject&&"ActiveXObject"in a,A=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},_=c("WeakMap",A,l),E=_.prototype,S=o(E.set);if(v)if(x){n=l.getConstructor(A,"WeakMap",!0),u.enable();var O=o(E.delete),T=o(E.has),P=o(E.get);s(E,{delete:function(t){if(h(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new n),O(this,t)||e.frozen.delete(t)}return O(this,t)},has:function(t){if(h(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new n),T(this,t)||e.frozen.has(t)}return T(this,t)},get:function(t){if(h(t)&&!g(t)){var e=f(this);return e.frozen||(e.frozen=new n),T(this,t)?P(this,t):e.frozen.get(t)}return P(this,t)},set:function(t,e){if(h(t)&&!g(t)){var r=f(this);r.frozen||(r.frozen=new n),T(this,t)?S(this,t,e):r.frozen.set(t,e)}else S(this,t,e);return this}})}else i&&d((function(){var t=w([]);return S(new _,t,1),!m(t)}))&&s(E,{set:function(t,e){var r;return y(t)&&(m(t)?r=w:b(t)&&(r=k)),S(this,t,e),r&&r(t),this}})},8492:(t,e,r)=>{r(6722)},1176:(t,e,r)=>{r(9556)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(8153))},7121:(t,e,r)=>{r(1176)},4192:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(3399),o=r(7447),s=r(3749),u=r(2611),c=r(8986),l=r(3552),h=r(3455),f=r(9649),d=r(5811),v=r(2857).IteratorPrototype,p=r(2444),y=r(8507),g="constructor",m="Iterator",b=d("toStringTag"),w=TypeError,k=i[m],x=y||!s(k)||k.prototype!==v||!h((function(){k({})})),A=function(){if(a(this,v),u(this)===v)throw new w("Abstract class Iterator not directly constructable")},_=function(t,e){p?c(v,t,{configurable:!0,get:function(){return e},set:function(e){if(o(this),this===v)throw new w("You can't redefine this property");f(this,t)?this[t]=e:l(this,t,e)}}):v[t]=e};f(v,b)||_(b,m),!x&&f(v,g)&&v[g]!==Object||_(g,A),A.prototype=v,n({global:!0,constructor:!0,forced:x},{Iterator:A})},7895:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(7447),o=r(3447),s=r(821),u=r(5590),c=r(2342),l=r(8507),h=c((function(){for(var t,e=this.iterator,r=this.next;this.remaining;)if(this.remaining--,t=a(i(r,e)),this.done=!!t.done)return;if(t=a(i(r,e)),!(this.done=!!t.done))return t.value}));n({target:"Iterator",proto:!0,real:!0,forced:l},{drop:function(t){a(this);var e=u(s(+t));return new h(o(this),{remaining:e})}})},463:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(4186),o=r(7447),s=r(3447);n({target:"Iterator",proto:!0,real:!0},{every:function(t){o(this),a(t);var e=s(this),r=0;return!i(e,(function(e,n){if(!t(e,r++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8856:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(7447),s=r(3447),u=r(2342),c=r(3535),l=r(8507),h=u((function(){for(var t,e,r=this.iterator,n=this.predicate,a=this.next;;){if(t=o(i(a,r)),this.done=!!t.done)return;if(e=t.value,c(r,n,[e,this.counter++],!0))return e}}));n({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(t){return o(this),a(t),new h(s(this),{predicate:t})}})},9166:(t,e,r)=>{var n=r(5366),i=r(3453),a=r(4186),o=r(7447),s=r(3447),u=r(1750),c=r(2342),l=r(5235),h=r(8507),f=c((function(){for(var t,e,r=this.iterator,n=this.mapper;;){if(e=this.inner)try{if(!(t=o(i(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){l(r,"throw",t)}if(t=o(i(this.next,r)),this.done=!!t.done)return;try{this.inner=u(n(t.value,this.counter++),!1)}catch(t){l(r,"throw",t)}}}));n({target:"Iterator",proto:!0,real:!0,forced:h},{flatMap:function(t){return o(this),a(t),new f(s(this),{mapper:t,inner:null})}})},1565:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(4186),o=r(7447),s=r(3447);n({target:"Iterator",proto:!0,real:!0},{forEach:function(t){o(this),a(t);var e=s(this),r=0;i(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})},5342:(t,e,r)=>{var n=r(5366),i=r(4009);n({target:"Iterator",proto:!0,real:!0,forced:r(8507)},{map:i})},9582:(t,e,r)=>{var n=r(5366),i=r(1804),a=r(4186),o=r(7447),s=r(3447);n({target:"Iterator",proto:!0,real:!0},{some:function(t){o(this),a(t);var e=s(this),r=0;return i(e,(function(e,n){if(t(e,r++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},31:(t,e,r)=>{var n=r(5366),i=r(2444),a=r(4032),o=r(8711),s=r(2608),u=r(3453),c=r(3749),l=r(2674),h=r(5448),f=r(9649),d=r(687),v=r(7878),p=r(3552),y=r(3455),g=r(1448),m=r(6943),b=a.JSON,w=a.Number,k=a.SyntaxError,x=b&&b.parse,A=o("Object","keys"),_=Object.getOwnPropertyDescriptor,E=s("".charAt),S=s("".slice),O=s(/./.exec),T=s([].push),P=/^\\d$/,L=/^[1-9]$/,M=/^[\\d-]$/,C=/^[\\t\\n\\r ]$/,j=function(t,e,r,n){var i,a,o,s,c,d=t[e],p=n&&d===n.value,y=p&&"string"==typeof n.source?{source:n.source}:{};if(l(d)){var g=h(d),m=p?n.nodes:g?[]:{};if(g)for(i=m.length,o=v(d),s=0;s<o;s++)I(d,s,j(d,""+s,r,s<i?m[s]:void 0));else for(a=A(d),o=v(a),s=0;s<o;s++)c=a[s],I(d,c,j(d,c,r,f(m,c)?m[c]:void 0))}return u(r,t,e,d,y)},I=function(t,e,r){if(i){var n=_(t,e);if(n&&!n.configurable)return}void 0===r?delete t[e]:p(t,e,r)},R=function(t,e,r,n){this.value=t,this.end=e,this.source=r,this.nodes=n},F=function(t,e){this.source=t,this.index=e};F.prototype={fork:function(t){return new F(this.source,t)},parse:function(){var t=this.source,e=this.skip(C,this.index),r=this.fork(e),n=E(t,e);if(O(M,n))return r.number();switch(n){case"{":return r.object();case"[":return r.array();case'"':return r.string();case"t":return r.keyword(!0);case"f":return r.keyword(!1);case"n":return r.keyword(null)}throw new k('Unexpected character: "'+n+'" at: '+e)},node:function(t,e,r,n,i){return new R(e,n,t?null:S(this.source,r,n),i)},object:function(){for(var t=this.source,e=this.index+1,r=!1,n={},i={};e<t.length;){if(e=this.until(['"',"}"],e),"}"===E(t,e)&&!r){e++;break}var a=this.fork(e).string(),o=a.value;e=a.end,e=this.until([":"],e)+1,e=this.skip(C,e),a=this.fork(e).parse(),p(i,o,a),p(n,o,a.value),e=this.until([",","}"],a.end);var s=E(t,e);if(","===s)r=!0,e++;else if("}"===s){e++;break}}return this.node(1,n,this.index,e,i)},array:function(){for(var t=this.source,e=this.index+1,r=!1,n=[],i=[];e<t.length;){if(e=this.skip(C,e),"]"===E(t,e)&&!r){e++;break}var a=this.fork(e).parse();if(T(i,a),T(n,a.value),e=this.until([",","]"],a.end),","===E(t,e))r=!0,e++;else if("]"===E(t,e)){e++;break}}return this.node(1,n,this.index,e,i)},string:function(){var t=this.index,e=g(this.source,this.index+1);return this.node(0,e.value,t,e.end)},number:function(){var t=this.source,e=this.index,r=e;if("-"===E(t,r)&&r++,"0"===E(t,r))r++;else{if(!O(L,E(t,r)))throw new k("Failed to parse number at: "+r);r=this.skip(P,r+1)}if(!("."===E(t,r)&&(r=this.skip(P,r+1)),"e"!==E(t,r)&&"E"!==E(t,r)||(r++,"+"!==E(t,r)&&"-"!==E(t,r)||r++,r!==(r=this.skip(P,r)))))throw new k("Failed to parse number's exponent value at: "+r);return this.node(0,w(S(t,e,r)),e,r)},keyword:function(t){var e=""+t,r=this.index,n=r+e.length;if(S(this.source,r,n)!==e)throw new k("Failed to parse value at: "+r);return this.node(0,t,r,n)},skip:function(t,e){for(var r=this.source;e<r.length&&O(t,E(r,e));e++);return e},until:function(t,e){e=this.skip(C,e);for(var r=E(this.source,e),n=0;n<t.length;n++)if(t[n]===r)return e;throw new k('Unexpected character: "'+r+'" at: '+e)}};var D=y((function(){var t,e="9007199254740993";return x(e,(function(e,r,n){t=n.source})),t!==e})),N=m&&!y((function(){return 1/x("-0 \\t")!=-1/0}));n({target:"JSON",stat:!0,forced:D},{parse:function(t,e){return N&&!c(e)?x(t):function(t,e){t=d(t);var r=new F(t,0,""),n=r.parse(),i=n.value,a=r.skip(C,n.end);if(a<t.length)throw new k('Unexpected extra character: "'+E(t,a)+'" after the parsed data at: '+a);return c(e)?j({"":i},"",e,n):i}(t,e)}})},6625:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(8711),o=r(2608),s=r(3453),u=r(3455),c=r(687),l=r(7900),h=r(2996).c2i,f=/[^\\d+/a-z]/i,d=/[\\t\\n\\f\\r ]+/g,v=/[=]{1,2}$/,p=a("atob"),y=String.fromCharCode,g=o("".charAt),m=o("".replace),b=o(f.exec),w=!!p&&!u((function(){return"hi"!==p("aGk=")})),k=w&&u((function(){return""!==p(" ")})),x=w&&!u((function(){p("a")})),A=w&&!u((function(){p()})),_=w&&1!==p.length;n({global:!0,bind:!0,enumerable:!0,forced:!w||k||x||A||_},{atob:function(t){if(l(arguments.length,1),w&&!k&&!x)return s(p,i,t);var e,r,n,o=m(c(t),d,""),u="",A=0,_=0;if(o.length%4==0&&(o=m(o,v,"")),(e=o.length)%4==1||b(f,o))throw new(a("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;A<e;)r=g(o,A++),n=_%4?64*n+h[r]:h[r],_++%4&&(u+=y(255&n>>(-2*_&6)));return u}})},8316:(t,e,r)=>{var n=r(4032),i=r(2760),a=r(4784),o=r(3147),s=r(139),u=function(t){if(t&&t.forEach!==o)try{s(t,"forEach",o)}catch(e){t.forEach=o}};for(var c in i)i[c]&&u(n[c]&&n[c].prototype);u(a)},3577:(t,e,r)=>{var n=r(4032),i=r(2760),a=r(4784),o=r(9024),s=r(139),u=r(6911),c=r(5811)("iterator"),l=o.values,h=function(t,e){if(t){if(t[c]!==l)try{s(t,c,l)}catch(e){t[c]=l}if(u(t,e,!0),i[e])for(var r in o)if(t[r]!==o[r])try{s(t,r,o[r])}catch(e){t[r]=o[r]}}};for(var f in i)h(n[f]&&n[f].prototype,f);h(a,"DOMTokenList")},4967:(t,e,r)=>{var n=r(5366),i=r(8711),a=r(9685),o=r(3455),s=r(5304),u=r(4004),c=r(1601).f,l=r(8552),h=r(8986),f=r(9649),d=r(3399),v=r(7447),p=r(2912),y=r(8363),g=r(4090),m=r(3633),b=r(8301),w=r(2444),k=r(8507),x="DOMException",A="DATA_CLONE_ERR",_=i("Error"),E=i(x)||function(){try{(new(i("MessageChannel")||a("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if(t.name===A&&25===t.code)return t.constructor}}(),S=E&&E.prototype,O=_.prototype,T=b.set,P=b.getterFor(x),L="stack"in new _(x),M=function(t){return f(g,t)&&g[t].m?g[t].c:0},C=function(){d(this,j);var t=arguments.length,e=y(t<1?void 0:arguments[0]),r=y(t<2?void 0:arguments[1],"Error"),n=M(r);if(T(this,{type:x,name:r,message:e,code:n}),w||(this.name=r,this.message=e,this.code=n),L){var i=new _(e);i.name=x,c(this,"stack",u(1,m(i.stack,1)))}},j=C.prototype=s(O),I=function(t){return{enumerable:!0,configurable:!0,get:t}},R=function(t){return I((function(){return P(this)[t]}))};w&&(h(j,"code",R("code")),h(j,"message",R("message")),h(j,"name",R("name"))),c(j,"constructor",u(1,C));var F=o((function(){return!(new E instanceof _)})),D=F||o((function(){return O.toString!==p||"2: 1"!==String(new E(1,2))})),N=F||o((function(){return 25!==new E(1,"DataCloneError").code})),W=F||25!==E[A]||25!==S[A],B=k?D||N||W:F;n({global:!0,constructor:!0,forced:B},{DOMException:B?C:E});var G=i(x),H=G.prototype;for(var U in D&&(k||E===G)&&l(H,"toString",p),N&&w&&E===G&&h(H,"code",I((function(){return M(v(this).name)}))),g)if(f(g,U)){var z=g[U],V=z.s,q=u(6,z.c);f(G,V)||c(G,V,q),f(H,V)||c(H,V,q)}},6403:(t,e,r)=>{var n=r(5366),i=r(4032),a=r(8711),o=r(4004),s=r(1601).f,u=r(9649),c=r(3399),l=r(3951),h=r(8363),f=r(4090),d=r(3633),v=r(2444),p=r(8507),y="DOMException",g=a("Error"),m=a(y),b=function(){c(this,w);var t=arguments.length,e=h(t<1?void 0:arguments[0]),r=h(t<2?void 0:arguments[1],"Error"),n=new m(e,r),i=new g(e);return i.name=y,s(n,"stack",o(1,d(i.stack,1))),l(n,this,b),n},w=b.prototype=m.prototype,k="stack"in new g(y),x="stack"in new m(1,2),A=m&&v&&Object.getOwnPropertyDescriptor(i,y),_=!(!A||A.writable&&A.configurable),E=k&&!_&&!x;n({global:!0,constructor:!0,forced:p||E},{DOMException:E?b:m});var S=a(y),O=S.prototype;if(O.constructor!==S)for(var T in p||s(O,"constructor",o(1,S)),f)if(u(f,T)){var P=f[T],L=P.s;u(S,L)||s(S,L,o(6,P.c))}},3355:(t,e,r)=>{var n=r(8711),i="DOMException";r(6911)(n(i),i)},9734:(t,e,r)=>{r(9024),r(2217);var n=r(5366),i=r(4032),a=r(5725),o=r(8711),s=r(3453),u=r(2608),c=r(2444),l=r(8200),h=r(8552),f=r(8986),d=r(4183),v=r(6911),p=r(282),y=r(8301),g=r(3399),m=r(3749),b=r(9649),w=r(4864),k=r(1179),x=r(7447),A=r(2674),_=r(687),E=r(5304),S=r(4004),O=r(6961),T=r(7507),P=r(9393),L=r(7900),M=r(5811),C=r(5272),j=M("iterator"),I="URLSearchParams",R=I+"Iterator",F=y.set,D=y.getterFor(I),N=y.getterFor(R),W=a("fetch"),B=a("Request"),G=a("Headers"),H=B&&B.prototype,U=G&&G.prototype,z=i.TypeError,V=i.encodeURIComponent,q=String.fromCharCode,Y=o("String","fromCodePoint"),X=parseInt,K=u("".charAt),Q=u([].join),J=u([].push),$=u("".replace),Z=u([].shift),tt=u([].splice),et=u("".split),rt=u("".slice),nt=u(/./.exec),it=/\\+/g,at=/^[0-9a-f]+$/i,ot=function(t,e){var r=rt(t,e,e+2);return nt(at,r)?X(r,16):NaN},st=function(t){for(var e=0,r=128;r>0&&0!=(t&r);r>>=1)e++;return e},ut=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ct=function(t){for(var e=(t=$(t,it," ")).length,r="",n=0;n<e;){var i=K(t,n);if("%"===i){if("%"===K(t,n+1)||n+3>e){r+="%",n++;continue}var a=ot(t,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=st(a);if(0===o)i=q(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],u=1;u<o&&!(3+ ++n>e||"%"!==K(t,n));){var c=ot(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;J(s,c),n+=2,u++}if(s.length!==o){r+="�";continue}var l=ut(s);null===l?r+="�":i=Y(l)}}r+=i,n++}return r},lt=/[!'()~]|%20/g,ht={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ft=function(t){return ht[t]},dt=function(t){return $(V(t),lt,ft)},vt=p((function(t,e){F(this,{type:R,target:D(t).entries,index:0,kind:e})}),I,(function(){var t=N(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,P(void 0,!0);var n=e[r];switch(t.kind){case"keys":return P(n.key,!1);case"values":return P(n.value,!1)}return P([n.key,n.value],!1)}),!0),pt=function(t){this.entries=[],this.url=null,void 0!==t&&(A(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===K(t,0)?rt(t,1):t:_(t)))};pt.prototype={type:I,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,i,a,o,u,c=this.entries,l=T(t);if(l)for(r=(e=O(t,l)).next;!(n=s(r,e)).done;){if(a=(i=O(x(n.value))).next,(o=s(a,i)).done||(u=s(a,i)).done||!s(a,i).done)throw new z("Expected sequence with length 2");J(c,{key:_(o.value),value:_(u.value)})}else for(var h in t)b(t,h)&&J(c,{key:h,value:_(t[h])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,i=et(t,"&"),a=0;a<i.length;)(e=i[a++]).length&&(r=et(e,"="),J(n,{key:ct(Z(r)),value:ct(Q(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],J(r,dt(t.key)+"="+dt(t.value));return Q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var yt=function(){g(this,gt);var t=F(this,new pt(arguments.length>0?arguments[0]:void 0));c||(this.size=t.entries.length)},gt=yt.prototype;if(d(gt,{append:function(t,e){var r=D(this);L(arguments.length,2),J(r.entries,{key:_(t),value:_(e)}),c||this.length++,r.updateURL()},delete:function(t){for(var e=D(this),r=L(arguments.length,1),n=e.entries,i=_(t),a=r<2?void 0:arguments[1],o=void 0===a?a:_(a),s=0;s<n.length;){var u=n[s];if(u.key!==i||void 0!==o&&u.value!==o)s++;else if(tt(n,s,1),void 0!==o)break}c||(this.size=n.length),e.updateURL()},get:function(t){var e=D(this).entries;L(arguments.length,1);for(var r=_(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=D(this).entries;L(arguments.length,1);for(var r=_(t),n=[],i=0;i<e.length;i++)e[i].key===r&&J(n,e[i].value);return n},has:function(t){for(var e=D(this).entries,r=L(arguments.length,1),n=_(t),i=r<2?void 0:arguments[1],a=void 0===i?i:_(i),o=0;o<e.length;){var s=e[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(t,e){var r=D(this);L(arguments.length,1);for(var n,i=r.entries,a=!1,o=_(t),s=_(e),u=0;u<i.length;u++)(n=i[u]).key===o&&(a?tt(i,u--,1):(a=!0,n.value=s));a||J(i,{key:o,value:s}),c||(this.size=i.length),r.updateURL()},sort:function(){var t=D(this);C(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,r=D(this).entries,n=w(t,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((e=r[i++]).value,e.key,this)},keys:function(){return new vt(this,"keys")},values:function(){return new vt(this,"values")},entries:function(){return new vt(this,"entries")}},{enumerable:!0}),h(gt,j,gt.entries,{name:"entries"}),h(gt,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),c&&f(gt,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),v(yt,I),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:yt}),!l&&m(G)){var mt=u(U.has),bt=u(U.set),wt=function(t){if(A(t)){var e,r=t.body;if(k(r)===I)return e=t.headers?new G(t.headers):new G,mt(e,"content-type")||bt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(t,{body:S(0,_(r)),headers:S(0,e)})}return t};if(m(W)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return W(t,arguments.length>1?wt(arguments[1]):{})}}),m(B)){var kt=function(t){return g(this,H),new B(t,arguments.length>1?wt(arguments[1]):{})};H.constructor=kt,kt.prototype=H,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}t.exports={URLSearchParams:yt,getState:D}},1531:(t,e,r)=>{var n=r(8552),i=r(2608),a=r(687),o=r(7900),s=URLSearchParams,u=s.prototype,c=i(u.append),l=i(u.delete),h=i(u.forEach),f=i([].push),d=new s("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&n(u,"delete",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return l(this,t);var n=[];h(this,(function(t,e){f(n,{key:e,value:t})})),o(e,1);for(var i,s=a(t),u=a(r),d=0,v=0,p=!1,y=n.length;d<y;)i=n[d++],p||i.key===s?(p=!0,l(this,i.key)):v++;for(;v<y;)(i=n[v++]).key===s&&i.value===u||c(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},3678:(t,e,r)=>{var n=r(8552),i=r(2608),a=r(687),o=r(7900),s=URLSearchParams,u=s.prototype,c=i(u.getAll),l=i(u.has),h=new s("a=1");!h.has("a",2)&&h.has("a",void 0)||n(u,"has",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return l(this,t);var n=c(this,t);o(e,1);for(var i=a(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},4520:(t,e,r)=>{r(9734)},4145:(t,e,r)=>{var n=r(2444),i=r(2608),a=r(8986),o=URLSearchParams.prototype,s=i(o.forEach);n&&!("size"in o)&&a(o,"size",{get:function(){var t=0;return s(this,(function(){t++})),t},configurable:!0,enumerable:!0})},161:(t,e,r)=>{r(7460);var n,i=r(5366),a=r(2444),o=r(8200),s=r(4032),u=r(4864),c=r(2608),l=r(8552),h=r(8986),f=r(3399),d=r(9649),v=r(8069),p=r(3948),y=r(4224),g=r(6903).codeAt,m=r(5141),b=r(687),w=r(6911),k=r(7900),x=r(9734),A=r(8301),_=A.set,E=A.getterFor("URL"),S=x.URLSearchParams,O=x.getState,T=s.URL,P=s.TypeError,L=s.parseInt,M=Math.floor,C=Math.pow,j=c("".charAt),I=c(/./.exec),R=c([].join),F=c(1..toString),D=c([].pop),N=c([].push),W=c("".replace),B=c([].shift),G=c("".split),H=c("".slice),U=c("".toLowerCase),z=c([].unshift),V="Invalid scheme",q="Invalid host",Y="Invalid port",X=/[a-z]/i,K=/[\\d+-.a-z]/i,Q=/\\d/,J=/^0x/i,$=/^[0-7]+$/,Z=/^\\d+$/,tt=/^[\\da-f]+$/i,et=/[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/,rt=/[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/,nt=/^[\\u0000-\\u0020]+/,it=/(^|[^\\u0000-\\u0020])[\\u0000-\\u0020]+$/,at=/[\\t\\n\\r]/g,ot=function(t){var e,r,n,i;if("number"==typeof t){for(e=[],r=0;r<4;r++)z(e,t%256),t=M(t/256);return R(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,i=0,a=0;a<8;a++)0!==t[a]?(i>r&&(e=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:e}(t),r=0;r<8;r++)i&&0===t[r]||(i&&(i=!1),n===r?(e+=r?":":"::",i=!0):(e+=F(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},st={},ut=v({},st,{" ":1,'"':1,"<":1,">":1,"\`":1}),ct=v({},ut,{"#":1,"?":1,"{":1,"}":1}),lt=v({},ct,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\\\":1,"]":1,"^":1,"|":1}),ht=function(t,e){var r=g(t,0);return r>32&&r<127&&!d(e,t)?t:encodeURIComponent(t)},ft={ftp:21,file:null,http:80,https:443,ws:80,wss:443},dt=function(t,e){var r;return 2===t.length&&I(X,j(t,0))&&(":"===(r=j(t,1))||!e&&"|"===r)},vt=function(t){var e;return t.length>1&&dt(H(t,0,2))&&(2===t.length||"/"===(e=j(t,2))||"\\\\"===e||"?"===e||"#"===e)},pt=function(t){return"."===t||"%2e"===U(t)},yt={},gt={},mt={},bt={},wt={},kt={},xt={},At={},_t={},Et={},St={},Ot={},Tt={},Pt={},Lt={},Mt={},Ct={},jt={},It={},Rt={},Ft={},Dt=function(t,e,r){var n,i,a,o=b(t);if(e){if(i=this.parse(o))throw new P(i);this.searchParams=null}else{if(void 0!==r&&(n=new Dt(r,!0)),i=this.parse(o,null,n))throw new P(i);(a=O(new S)).bindURL(this),this.searchParams=a}};Dt.prototype={type:"URL",parse:function(t,e,r){var i,a,o,s,u,c=this,l=e||yt,h=0,f="",v=!1,g=!1,m=!1;for(t=b(t),e||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,t=W(t,nt,""),t=W(t,it,"$1")),t=W(t,at,""),i=p(t);h<=i.length;){switch(a=i[h],l){case yt:if(!a||!I(X,a)){if(e)return V;l=mt;continue}f+=U(a),l=gt;break;case gt:if(a&&(I(K,a)||"+"===a||"-"===a||"."===a))f+=U(a);else{if(":"!==a){if(e)return V;f="",l=mt,h=0;continue}if(e&&(c.isSpecial()!==d(ft,f)||"file"===f&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=f,e)return void(c.isSpecial()&&ft[c.scheme]===c.port&&(c.port=null));f="","file"===c.scheme?l=Pt:c.isSpecial()&&r&&r.scheme===c.scheme?l=bt:c.isSpecial()?l=At:"/"===i[h+1]?(l=wt,h++):(c.cannotBeABaseURL=!0,N(c.path,""),l=It)}break;case mt:if(!r||r.cannotBeABaseURL&&"#"!==a)return V;if(r.cannotBeABaseURL&&"#"===a){c.scheme=r.scheme,c.path=y(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,l=Ft;break}l="file"===r.scheme?Pt:kt;continue;case bt:if("/"!==a||"/"!==i[h+1]){l=kt;continue}l=_t,h++;break;case wt:if("/"===a){l=Et;break}l=jt;continue;case kt:if(c.scheme=r.scheme,a===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query=r.query;else if("/"===a||"\\\\"===a&&c.isSpecial())l=xt;else if("?"===a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query="",l=Rt;else{if("#"!==a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.path.length--,l=jt;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=y(r.path),c.query=r.query,c.fragment="",l=Ft}break;case xt:if(!c.isSpecial()||"/"!==a&&"\\\\"!==a){if("/"!==a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,l=jt;continue}l=Et}else l=_t;break;case At:if(l=_t,"/"!==a||"/"!==j(f,h+1))continue;h++;break;case _t:if("/"!==a&&"\\\\"!==a){l=Et;continue}break;case Et:if("@"===a){v&&(f="%40"+f),v=!0,o=p(f);for(var w=0;w<o.length;w++){var k=o[w];if(":"!==k||m){var x=ht(k,lt);m?c.password+=x:c.username+=x}else m=!0}f=""}else if(a===n||"/"===a||"?"===a||"#"===a||"\\\\"===a&&c.isSpecial()){if(v&&""===f)return"Invalid authority";h-=p(f).length+1,f="",l=St}else f+=a;break;case St:case Ot:if(e&&"file"===c.scheme){l=Mt;continue}if(":"!==a||g){if(a===n||"/"===a||"?"===a||"#"===a||"\\\\"===a&&c.isSpecial()){if(c.isSpecial()&&""===f)return q;if(e&&""===f&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(f))return s;if(f="",l=Ct,e)return;continue}"["===a?g=!0:"]"===a&&(g=!1),f+=a}else{if(""===f)return q;if(s=c.parseHost(f))return s;if(f="",l=Tt,e===Ot)return}break;case Tt:if(!I(Q,a)){if(a===n||"/"===a||"?"===a||"#"===a||"\\\\"===a&&c.isSpecial()||e){if(""!==f){var A=L(f,10);if(A>65535)return Y;c.port=c.isSpecial()&&A===ft[c.scheme]?null:A,f=""}if(e)return;l=Ct;continue}return Y}f+=a;break;case Pt:if(c.scheme="file","/"===a||"\\\\"===a)l=Lt;else{if(!r||"file"!==r.scheme){l=jt;continue}switch(a){case n:c.host=r.host,c.path=y(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=y(r.path),c.query="",l=Rt;break;case"#":c.host=r.host,c.path=y(r.path),c.query=r.query,c.fragment="",l=Ft;break;default:vt(R(y(i,h),""))||(c.host=r.host,c.path=y(r.path),c.shortenPath()),l=jt;continue}}break;case Lt:if("/"===a||"\\\\"===a){l=Mt;break}r&&"file"===r.scheme&&!vt(R(y(i,h),""))&&(dt(r.path[0],!0)?N(c.path,r.path[0]):c.host=r.host),l=jt;continue;case Mt:if(a===n||"/"===a||"\\\\"===a||"?"===a||"#"===a){if(!e&&dt(f))l=jt;else if(""===f){if(c.host="",e)return;l=Ct}else{if(s=c.parseHost(f))return s;if("localhost"===c.host&&(c.host=""),e)return;f="",l=Ct}continue}f+=a;break;case Ct:if(c.isSpecial()){if(l=jt,"/"!==a&&"\\\\"!==a)continue}else if(e||"?"!==a)if(e||"#"!==a){if(a!==n&&(l=jt,"/"!==a))continue}else c.fragment="",l=Ft;else c.query="",l=Rt;break;case jt:if(a===n||"/"===a||"\\\\"===a&&c.isSpecial()||!e&&("?"===a||"#"===a)){if(".."===(u=U(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"===a||"\\\\"===a&&c.isSpecial()||N(c.path,"")):pt(f)?"/"===a||"\\\\"===a&&c.isSpecial()||N(c.path,""):("file"===c.scheme&&!c.path.length&&dt(f)&&(c.host&&(c.host=""),f=j(f,0)+":"),N(c.path,f)),f="","file"===c.scheme&&(a===n||"?"===a||"#"===a))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"===a?(c.query="",l=Rt):"#"===a&&(c.fragment="",l=Ft)}else f+=ht(a,ct);break;case It:"?"===a?(c.query="",l=Rt):"#"===a?(c.fragment="",l=Ft):a!==n&&(c.path[0]+=ht(a,st));break;case Rt:e||"#"!==a?a!==n&&("'"===a&&c.isSpecial()?c.query+="%27":c.query+="#"===a?"%23":ht(a,st)):(c.fragment="",l=Ft);break;case Ft:a!==n&&(c.fragment+=ht(a,ut))}h++}},parseHost:function(t){var e,r,n;if("["===j(t,0)){if("]"!==j(t,t.length-1))return q;if(e=function(t){var e,r,n,i,a,o,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,h=0,f=function(){return j(t,h)};if(":"===f()){if(":"!==j(t,1))return;h+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(e=r=0;r<4&&I(tt,f());)e=16*e+L(f(),16),h++,r++;if("."===f()){if(0===r)return;if(h-=r,c>6)return;for(n=0;f();){if(i=null,n>0){if(!("."===f()&&n<4))return;h++}if(!I(Q,f()))return;for(;I(Q,f());){if(a=L(f(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;h++}u[c]=256*u[c]+i,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;u[c++]=e}else{if(null!==l)return;h++,l=++c}}if(null!==l)for(o=c-l,c=7;0!==c&&o>0;)s=u[c],u[c--]=u[l+o-1],u[l+--o]=s;else if(8!==c)return;return u}(H(t,1,-1)),!e)return q;this.host=e}else if(this.isSpecial()){if(t=m(t),I(et,t))return q;if(e=function(t){var e,r,n,i,a,o,s,u=G(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""===(i=u[n]))return t;if(a=10,i.length>1&&"0"===j(i,0)&&(a=I(J,i)?16:8,i=H(i,8===a?1:2)),""===i)o=0;else{if(!I(10===a?Z:8===a?$:tt,i))return t;o=L(i,a)}N(r,o)}for(n=0;n<e;n++)if(o=r[n],n===e-1){if(o>=C(256,5-e))return null}else if(o>255)return null;for(s=D(r),n=0;n<r.length;n++)s+=r[n]*C(256,3-n);return s}(t),null===e)return q;this.host=e}else{if(I(rt,t))return q;for(e="",r=p(t),n=0;n<r.length;n++)e+=ht(r[n],st);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(ft,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&dt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,i=t.host,a=t.port,o=t.path,s=t.query,u=t.fragment,c=e+":";return null!==i?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=ot(i),null!==a&&(c+=":"+a)):"file"===e&&(c+="//"),c+=t.cannotBeABaseURL?o[0]:o.length?"/"+R(o,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new P(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Nt(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+ot(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(b(t)+":",yt)},getUsername:function(){return this.username},setUsername:function(t){var e=p(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=ht(e[r],lt)}},getPassword:function(){return this.password},setPassword:function(t){var e=p(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=ht(e[r],lt)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ot(t):ot(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,St)},getHostname:function(){var t=this.host;return null===t?"":ot(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Ot)},getPort:function(){var t=this.port;return null===t?"":b(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=b(t))?this.port=null:this.parse(t,Tt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+R(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ct))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=b(t))?this.query=null:("?"===j(t,0)&&(t=H(t,1)),this.query="",this.parse(t,Rt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=b(t))?("#"===j(t,0)&&(t=H(t,1)),this.fragment="",this.parse(t,Ft)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Nt=function(t){var e=f(this,Wt),r=k(arguments.length,1)>1?arguments[1]:void 0,n=_(e,new Dt(t,!1,r));a||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Wt=Nt.prototype,Bt=function(t,e){return{get:function(){return E(this)[t]()},set:e&&function(t){return E(this)[e](t)},configurable:!0,enumerable:!0}};if(a&&(h(Wt,"href",Bt("serialize","setHref")),h(Wt,"origin",Bt("getOrigin")),h(Wt,"protocol",Bt("getProtocol","setProtocol")),h(Wt,"username",Bt("getUsername","setUsername")),h(Wt,"password",Bt("getPassword","setPassword")),h(Wt,"host",Bt("getHost","setHost")),h(Wt,"hostname",Bt("getHostname","setHostname")),h(Wt,"port",Bt("getPort","setPort")),h(Wt,"pathname",Bt("getPathname","setPathname")),h(Wt,"search",Bt("getSearch","setSearch")),h(Wt,"searchParams",Bt("getSearchParams")),h(Wt,"hash",Bt("getHash","setHash"))),l(Wt,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),l(Wt,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),T){var Gt=T.createObjectURL,Ht=T.revokeObjectURL;Gt&&l(Nt,"createObjectURL",u(Gt,T)),Ht&&l(Nt,"revokeObjectURL",u(Ht,T))}w(Nt,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:Nt})},5728:(t,e,r)=>{r(161)},4136:(t,e,r)=>{var n=r(5366),i=r(3453);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={exports:{}};return t[n].call(a.exports,a,a.exports,r),a.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n,i=globalThis.pdfjsLib={};function a(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||s(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h(n.key),n)}}function l(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function h(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e,r){return e=p(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,v()?Reflect.construct(e,r||[],p(t).constructor):e.apply(t,r))}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}r.d(i,{AbortException:()=>Y,AnnotationEditorLayer:()=>Ak,AnnotationEditorParamsType:()=>_,AnnotationEditorType:()=>A,AnnotationEditorUIManager:()=>Kn,AnnotationLayer:()=>np,AnnotationMode:()=>x,CMapCompressionType:()=>T,ColorPicker:()=>Tg,DOMSVGFactory:()=>me,DrawLayer:()=>Vk,FeatureTest:()=>J,GlobalWorkerOptions:()=>mu,ImageKind:()=>S,InvalidPDFException:()=>U,MissingPDFException:()=>z,OPS:()=>P,OutputScale:()=>Fe,PDFDataRangeTransport:()=>rf,PDFDateString:()=>Le,PDFWorker:()=>pf,PasswordResponses:()=>L,PermissionFlag:()=>E,PixelsPerInch:()=>Vt,RenderingCancelledException:()=>we,TextLayer:()=>uh,UnexpectedResponseException:()=>V,Util:()=>Z,VerbosityLevel:()=>O,XfaLayer:()=>td,build:()=>Bf,createValidAbsoluteUrl:()=>N,fetchData:()=>ve,getDocument:()=>$h,getFilenameFromUrl:()=>Ae,getPdfFilenameFromUrl:()=>_e,getXfaPageViewport:()=>Me,isDataScheme:()=>ke,isPdfFile:()=>xe,noContextMenu:()=>Te,normalizeUnicode:()=>it,setLayerDimensions:()=>Re,shadow:()=>W,version:()=>Wf}),r(8169),r(7651),r(4551),r(5268),r(184),r(3234),r(6746),r(8551),r(9024),r(9138),r(750),r(5015),r(6209),r(9261),r(3700),r(3632),r(7316),r(1425),r(3379),r(489),r(2823),r(5594),r(8397),r(2467),r(1281),r(9484),r(4672),r(6794),r(9264),r(7329),r(2044),r(3740),r(6542),r(5738),r(2900),r(2051),r(3198),r(4211),r(9791),r(5294),r(1526),r(6032),r(3659),r(932),r(8553),r(7612),r(8579),r(7719),r(7576),r(2891),r(2605),r(4863),r(9637),r(2709),r(8941),r(1579),r(6236),r(7716),r(1913),r(3577),r(5728),r(4136),r(4520),r(1531),r(3678),r(4145);var m=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),b=[1,0,0,1,0,0],w=[.001,0,0,.001,0,0],k=1.35,x={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},A={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},_={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},E={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},S={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},O={ERRORS:0,WARNINGS:1,INFOS:5},T={NONE:0,BINARY:1},P={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},L={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},M=O.WARNINGS;function C(t){Number.isInteger(t)&&(M=t)}function j(){return M}function I(t){M>=O.INFOS&&console.log("Info: ".concat(t))}function R(t){M>=O.WARNINGS&&console.log("Warning: ".concat(t))}function F(t){throw new Error(t)}function D(t,e){t||F(e)}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;try{if(r&&"string"==typeof t){if(r.addDefaultProtocol&&t.startsWith("www.")){var n=t.match(/\\./g);(null==n?void 0:n.length)>=2&&(t="http://".concat(t))}if(r.tryConvertEncoding)try{t=decodeURIComponent(escape(t))}catch(t){}}var i=e?new URL(t,e):new URL(t);if(function(t){switch(null==t?void 0:t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(i))return i}catch(t){}return null}function W(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.defineProperty(t,e,{value:r,enumerable:!n,configurable:!0,writable:!1}),r}var B=function(){function t(t,e){this.message=t,this.name=e}return t.prototype=new Error,t.constructor=t,t}(),G=function(t){function e(t,r){var n;return f(this,e),(n=d(this,e,[t,"PasswordException"])).code=r,n}return y(e,B),l(e)}(),H=function(t){function e(t,r){var n;return f(this,e),(n=d(this,e,[t,"UnknownErrorException"])).details=r,n}return y(e,B),l(e)}(),U=function(t){function e(t){return f(this,e),d(this,e,[t,"InvalidPDFException"])}return y(e,B),l(e)}(),z=function(t){function e(t){return f(this,e),d(this,e,[t,"MissingPDFException"])}return y(e,B),l(e)}(),V=function(t){function e(t,r){var n;return f(this,e),(n=d(this,e,[t,"UnexpectedResponseException"])).status=r,n}return y(e,B),l(e)}(),q=function(t){function e(t){return f(this,e),d(this,e,[t,"FormatError"])}return y(e,B),l(e)}(),Y=function(t){function e(t){return f(this,e),d(this,e,[t,"AbortException"])}return y(e,B),l(e)}();function X(t){"object"==typeof t&&void 0!==(null==t?void 0:t.length)||F("Invalid argument for bytesToString");var e=t.length,r=8192;if(e<r)return String.fromCharCode.apply(null,t);for(var n=[],i=0;i<e;i+=r){var a=Math.min(i+r,e),o=t.subarray(i,a);n.push(String.fromCharCode.apply(null,o))}return n.join("")}function K(t){"string"!=typeof t&&F("Invalid argument for stringToBytes");for(var e=t.length,r=new Uint8Array(e),n=0;n<e;++n)r[n]=255&t.charCodeAt(n);return r}function Q(t){var e,r=Object.create(null),n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=s(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){u=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw a}}}}(t);try{for(n.s();!(e=n.n()).done;){var i=o(e.value,2),a=i[0],u=i[1];r[a]=u}}catch(t){n.e(t)}finally{n.f()}return r}var J=function(){return l((function t(){f(this,t)}),null,[{key:"isLittleEndian",get:function(){return W(this,"isLittleEndian",((t=new Uint8Array(4))[0]=1,1===new Uint32Array(t.buffer,0,1)[0]));var t}},{key:"isEvalSupported",get:function(){return W(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(t){return!1}}())}},{key:"isOffscreenCanvasSupported",get:function(){return W(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}},{key:"platform",get:function(){var t,e;return"undefined"!=typeof navigator&&"string"==typeof(null===(t=navigator)||void 0===t?void 0:t.platform)?W(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:"string"==typeof(null===(e=navigator)||void 0===e?void 0:e.userAgent)&&navigator.userAgent.includes("Firefox")}):W(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}},{key:"isCSSRoundSupported",get:function(){var t,e;return W(this,"isCSSRoundSupported",null===(t=globalThis.CSS)||void 0===t||null===(e=t.supports)||void 0===e?void 0:e.call(t,"width: round(1.5px, 1px)"))}}])}(),$=Array.from(Array(256).keys(),(function(t){return t.toString(16).padStart(2,"0")})),Z=function(){function t(){f(this,t)}return l(t,null,[{key:"makeHexColor",value:function(t,e,r){return"#".concat($[t]).concat($[e]).concat($[r])}},{key:"scaleMinMax",value:function(t,e){var r;t[0]?(t[0]<0&&(r=e[0],e[0]=e[2],e[2]=r),e[0]*=t[0],e[2]*=t[0],t[3]<0&&(r=e[1],e[1]=e[3],e[3]=r),e[1]*=t[3],e[3]*=t[3]):(r=e[0],e[0]=e[1],e[1]=r,r=e[2],e[2]=e[3],e[3]=r,t[1]<0&&(r=e[1],e[1]=e[3],e[3]=r),e[1]*=t[1],e[3]*=t[1],t[2]<0&&(r=e[0],e[0]=e[2],e[2]=r),e[0]*=t[2],e[2]*=t[2]),e[0]+=t[4],e[1]+=t[5],e[2]+=t[4],e[3]+=t[5]}},{key:"transform",value:function(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}},{key:"applyTransform",value:function(t,e){return[t[0]*e[0]+t[1]*e[2]+e[4],t[0]*e[1]+t[1]*e[3]+e[5]]}},{key:"applyInverseTransform",value:function(t,e){var r=e[0]*e[3]-e[1]*e[2];return[(t[0]*e[3]-t[1]*e[2]+e[2]*e[5]-e[4]*e[3])/r,(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(t,e){var r=this.applyTransform(t,e),n=this.applyTransform(t.slice(2,4),e),i=this.applyTransform([t[0],t[3]],e),a=this.applyTransform([t[2],t[1]],e);return[Math.min(r[0],n[0],i[0],a[0]),Math.min(r[1],n[1],i[1],a[1]),Math.max(r[0],n[0],i[0],a[0]),Math.max(r[1],n[1],i[1],a[1])]}},{key:"inverseTransform",value:function(t){var e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}},{key:"singularValueDecompose2dScale",value:function(t){var e=[t[0],t[2],t[1],t[3]],r=t[0]*e[0]+t[1]*e[2],n=t[0]*e[1]+t[1]*e[3],i=t[2]*e[0]+t[3]*e[2],a=t[2]*e[1]+t[3]*e[3],o=(r+a)/2,s=Math.sqrt(Math.pow(r+a,2)-4*(r*a-i*n))/2,u=o+s||1,c=o-s||1;return[Math.sqrt(u),Math.sqrt(c)]}},{key:"normalizeRect",value:function(t){var e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}},{key:"intersect",value:function(t,e){var r=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),n=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(r>n)return null;var i=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),a=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return i>a?null:[r,i,n,a]}},{key:"bezierBoundingBox",value:function(e,r,n,i,o,s,u,c,l){return l?(l[0]=Math.min(l[0],e,u),l[1]=Math.min(l[1],r,c),l[2]=Math.max(l[2],e,u),l[3]=Math.max(l[3],r,c)):l=[Math.min(e,u),Math.min(r,c),Math.max(e,u),Math.max(r,c)],a(t,this,et).call(this,e,n,o,u,r,i,s,c,3*(3*(n-o)-e+u),6*(e-2*n+o),3*(n-e),l),a(t,this,et).call(this,e,n,o,u,r,i,s,c,3*(3*(i-s)-r+c),6*(r-2*i+s),3*(i-r),l),l}}])}();function tt(t,e,r,n,i,a,o,s,u,c){if(!(u<=0||u>=1)){var l=1-u,h=u*u,f=h*u,d=l*(l*(l*t+3*u*e)+3*h*r)+f*n,v=l*(l*(l*i+3*u*a)+3*h*o)+f*s;c[0]=Math.min(c[0],d),c[1]=Math.min(c[1],v),c[2]=Math.max(c[2],d),c[3]=Math.max(c[3],v)}}function et(t,e,r,i,o,s,u,c,l,h,f,d){if(Math.abs(l)<1e-12)Math.abs(h)>=1e-12&&a(n,this,tt).call(this,t,e,r,i,o,s,u,c,-f/h,d);else{var v=Math.pow(h,2)-4*f*l;if(!(v<0)){var p=Math.sqrt(v),y=2*l;a(n,this,tt).call(this,t,e,r,i,o,s,u,c,(-h+p)/y,d),a(n,this,tt).call(this,t,e,r,i,o,s,u,c,(-h-p)/y,d)}}}n=Z;var rt=null,nt=null;function it(t){return rt||(rt=/([\\xA0\\xB5\\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+)/g,nt=new Map([["ſt","ſt"]])),t.replaceAll(rt,(function(t,e,r){return e?e.normalize("NFKC"):nt.get(r)}))}var at="pdfjs_internal_id_";function ot(){ot=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function st(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ut(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){st(a,n,i,o,s,"next",t)}function s(t){st(a,n,i,o,s,"throw",t)}o(void 0)}))}}function ct(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function lt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dt(n.key),n)}}function ft(t,e,r){return e&&ht(t.prototype,e),r&&ht(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function dt(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(4172),r(5997),r(456),r(5550),r(4413),r(7531),r(1999),r(702),r(1234),r(2431),r(9732),r(9255),r(5130),r(5636),r(8509),r(7332),r(6555),r(3296),r(4594),r(8492),r(7121),r(8856),r(5342),r(4192),r(1565),r(8316),r(4967),r(6403),r(3355),r(6851),r(9750),r(8674),r(3821),r(9657),r(6347),r(122),r(8653),r(9210),r(7895),r(463),r(9582),r(31),r(3177),r(4592),r(8345),r(2865),r(4853),r(4072);var vt,pt=function(){return ft((function t(){lt(this,t)}),[{key:"addFilter",value:function(t){return"none"}},{key:"addHCMFilter",value:function(t,e){return"none"}},{key:"addAlphaFilter",value:function(t){return"none"}},{key:"addLuminosityFilter",value:function(t){return"none"}},{key:"addHighlightHCMFilter",value:function(t,e,r,n,i){return"none"}},{key:"destroy",value:function(){}}])}(),yt=new WeakMap,gt=function(){return ft((function t(e){var r,n,i=e.enableHWA,a=void 0!==i&&i;lt(this,t),function(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}(this,yt,!1),n=a,(r=yt).set(ct(r,this),n)}),[{key:"create",value:function(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");var r,n=this._createCanvas(t,e);return{canvas:n,context:n.getContext("2d",{willReadFrequently:(r=yt,this,!r.get(ct(r,this)))})}}},{key:"reset",value:function(t,e,r){if(!t.canvas)throw new Error("Canvas is not specified");if(e<=0||r<=0)throw new Error("Invalid canvas size");t.canvas.width=e,t.canvas.height=r}},{key:"destroy",value:function(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}},{key:"_createCanvas",value:function(t,e){F("Abstract method \`_createCanvas\` called.")}}])}(),mt=function(){return ft((function t(e){var r=e.baseUrl,n=void 0===r?null:r,i=e.isCompressed,a=void 0===i||i;lt(this,t),this.baseUrl=n,this.isCompressed=a}),[{key:"fetch",value:(t=ut(ot().mark((function t(e){var r,n,i,a=this;return ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.name,this.baseUrl){t.next=3;break}throw new Error("Ensure that the \`cMapUrl\` and \`cMapPacked\` API parameters are provided.");case 3:if(r){t.next=5;break}throw new Error("CMap name must be specified.");case 5:return n=this.baseUrl+r+(this.isCompressed?".bcmap":""),i=this.isCompressed?T.BINARY:T.NONE,t.abrupt("return",this._fetchData(n,i).catch((function(t){throw new Error("Unable to load ".concat(a.isCompressed?"binary ":"","CMap at: ").concat(n))})));case 8:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(t,e){F("Abstract method \`_fetchData\` called.")}}]);var t}(),bt=function(){return ft((function t(e){var r=e.baseUrl,n=void 0===r?null:r;lt(this,t),this.baseUrl=n}),[{key:"fetch",value:(t=ut(ot().mark((function t(e){var r,n;return ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.filename,this.baseUrl){t.next=3;break}throw new Error("Ensure that the \`standardFontDataUrl\` API parameter is provided.");case 3:if(r){t.next=5;break}throw new Error("Font filename must be specified.");case 5:return n="".concat(this.baseUrl).concat(r),t.abrupt("return",this._fetchData(n).catch((function(t){throw new Error("Unable to load font data at: ".concat(n))})));case 7:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(t){F("Abstract method \`_fetchData\` called.")}}]);var t}(),wt=function(){return ft((function t(){lt(this,t)}),[{key:"create",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t<=0||e<=0)throw new Error("Invalid SVG dimensions");var n=this._createSVG("svg:svg");return n.setAttribute("version","1.1"),r||(n.setAttribute("width","".concat(t,"px")),n.setAttribute("height","".concat(e,"px"))),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 ".concat(t," ").concat(e)),n}},{key:"createElement",value:function(t){if("string"!=typeof t)throw new Error("Invalid SVG element type");return this._createSVG(t)}},{key:"_createSVG",value:function(t){F("Abstract method \`_createSVG\` called.")}}])}();function kt(){kt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function xt(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=St(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function At(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function _t(t){return function(t){if(Array.isArray(t))return Ot(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||St(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Et(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||St(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function St(t,e){if(t){if("string"==typeof t)return Ot(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(t,e):void 0}}function Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Tt(t,e,r){return e=Lt(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Pt()?Reflect.construct(e,r||[],Lt(t).constructor):e.apply(t,r))}function Pt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Pt=function(){return!!t})()}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Lt(t)}function Mt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ct(t,e)}function Ct(t,e){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ct(t,e)}function jt(t,e,r){It(t,e),e.set(t,r)}function It(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Rt(t,e,r){return r(Nt(t,e))}function Ft(t,e){return t.get(Nt(t,e))}function Dt(t,e,r){return t.set(Nt(t,e),r),r}function Nt(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Wt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ut(n.key),n)}}function Bt(t,e,r){return e&&Wt(t.prototype,e),r&&Wt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Gt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ht(t,e,r){return(e=Ut(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ut(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var zt="http://www.w3.org/2000/svg",Vt=Bt((function t(){Gt(this,t)}));vt=Vt,Ht(Vt,"CSS",96),Ht(Vt,"PDF",72),Ht(Vt,"PDF_TO_CSS_UNITS",vt.CSS/vt.PDF);var qt=new WeakMap,Yt=new WeakMap,Xt=new WeakMap,Kt=new WeakMap,Qt=new WeakMap,Jt=new WeakMap,$t=new WeakMap,Zt=new WeakSet,te=function(t){function e(t){var r,n,i,a=t.docId,o=t.ownerDocument,s=void 0===o?globalThis.document:o;return Gt(this,e),It(n=r=Tt(this,e),i=Zt),i.add(n),jt(r,qt,void 0),jt(r,Yt,void 0),jt(r,Xt,void 0),jt(r,Kt,void 0),jt(r,Qt,void 0),jt(r,Jt,void 0),jt(r,$t,0),Dt(Kt,r,a),Dt(Qt,r,s),r}return Mt(e,pt),Bt(e,[{key:"addFilter",value:function(t){var e,r;if(!t)return"none";var n=Rt(Zt,this,ee).get(t);if(n)return n;var i=Et(Nt(Zt,this,ie).call(this,t),3),a=i[0],o=i[1],s=i[2],u=1===t.length?a:"".concat(a).concat(o).concat(s);if(n=Rt(Zt,this,ee).get(u))return Rt(Zt,this,ee).set(t,n),n;var c="g_".concat(Ft(Kt,this),"_transfer_map_").concat((Dt($t,this,(e=Ft($t,this),r=e++,e)),r)),l=Nt(Zt,this,ae).call(this,c);Rt(Zt,this,ee).set(t,l),Rt(Zt,this,ee).set(u,l);var h=Nt(Zt,this,ue).call(this,c);return Nt(Zt,this,le).call(this,a,o,s,h),l}},{key:"addHCMFilter",value:function(t,e){var r,n,i="".concat(t,"-").concat(e),a="base",o=Rt(Zt,this,re).get(a);if((null===(r=o)||void 0===r?void 0:r.key)===i)return o.url;if(o?(null===(n=o.filter)||void 0===n||n.remove(),o.key=i,o.url="none",o.filter=null):(o={key:i,url:"none",filter:null},Rt(Zt,this,re).set(a,o)),!t||!e)return o.url;var s=Nt(Zt,this,fe).call(this,t);t=Z.makeHexColor.apply(Z,_t(s));var u=Nt(Zt,this,fe).call(this,e);if(e=Z.makeHexColor.apply(Z,_t(u)),Rt(Zt,this,ne).style.color="","#000000"===t&&"#ffffff"===e||t===e)return o.url;for(var c=new Array(256),l=0;l<=255;l++){var h=l/255;c[l]=h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4)}var f=c.join(","),d="g_".concat(Ft(Kt,this),"_hcm_filter"),v=o.filter=Nt(Zt,this,ue).call(this,d);Nt(Zt,this,le).call(this,f,f,f,v),Nt(Zt,this,se).call(this,v);var p=function(t,e){for(var r=s[t]/255,n=u[t]/255,i=new Array(e+1),a=0;a<=e;a++)i[a]=r+a/e*(n-r);return i.join(",")};return Nt(Zt,this,le).call(this,p(0,5),p(1,5),p(2,5),v),o.url=Nt(Zt,this,ae).call(this,d),o.url}},{key:"addAlphaFilter",value:function(t){var e,r,n=Rt(Zt,this,ee).get(t);if(n)return n;var i=Et(Nt(Zt,this,ie).call(this,[t]),1)[0],a="alpha_".concat(i);if(n=Rt(Zt,this,ee).get(a))return Rt(Zt,this,ee).set(t,n),n;var o="g_".concat(Ft(Kt,this),"_alpha_map_").concat((Dt($t,this,(e=Ft($t,this),r=e++,e)),r)),s=Nt(Zt,this,ae).call(this,o);Rt(Zt,this,ee).set(t,s),Rt(Zt,this,ee).set(a,s);var u=Nt(Zt,this,ue).call(this,o);return Nt(Zt,this,he).call(this,i,u),s}},{key:"addLuminosityFilter",value:function(t){var e,r,n,i,a=Rt(Zt,this,ee).get(t||"luminosity");if(a)return a;if(t?(n=Et(Nt(Zt,this,ie).call(this,[t]),1)[0],i="luminosity_".concat(n)):i="luminosity",a=Rt(Zt,this,ee).get(i))return Rt(Zt,this,ee).set(t,a),a;var o="g_".concat(Ft(Kt,this),"_luminosity_map_").concat((Dt($t,this,(e=Ft($t,this),r=e++,e)),r)),s=Nt(Zt,this,ae).call(this,o);Rt(Zt,this,ee).set(t,s),Rt(Zt,this,ee).set(i,s);var u=Nt(Zt,this,ue).call(this,o);return Nt(Zt,this,oe).call(this,u),t&&Nt(Zt,this,he).call(this,n,u),s}},{key:"addHighlightHCMFilter",value:function(t,e,r,n,i){var a,o,s="".concat(e,"-").concat(r,"-").concat(n,"-").concat(i),u=Rt(Zt,this,re).get(t);if((null===(a=u)||void 0===a?void 0:a.key)===s)return u.url;if(u?(null===(o=u.filter)||void 0===o||o.remove(),u.key=s,u.url="none",u.filter=null):(u={key:s,url:"none",filter:null},Rt(Zt,this,re).set(t,u)),!e||!r)return u.url;var c=Et([e,r].map(Nt(Zt,this,fe).bind(this)),2),l=c[0],h=c[1],f=Math.round(.2126*l[0]+.7152*l[1]+.0722*l[2]),d=Math.round(.2126*h[0]+.7152*h[1]+.0722*h[2]),v=Et([n,i].map(Nt(Zt,this,fe).bind(this)),2),p=v[0],y=v[1];if(d<f){var g=[d,f,y,p];f=g[0],d=g[1],p=g[2],y=g[3]}Rt(Zt,this,ne).style.color="";var m=function(t,e,r){for(var n=new Array(256),i=(d-f)/r,a=t/255,o=(e-t)/(255*r),s=0,u=0;u<=r;u++){for(var c=Math.round(f+u*i),l=a+u*o,h=s;h<=c;h++)n[h]=l;s=c+1}for(var v=s;v<256;v++)n[v]=n[s-1];return n.join(",")},b="g_".concat(Ft(Kt,this),"_hcm_").concat(t,"_filter"),w=u.filter=Nt(Zt,this,ue).call(this,b);return Nt(Zt,this,se).call(this,w),Nt(Zt,this,le).call(this,m(p[0],y[0],5),m(p[1],y[1],5),m(p[2],y[2],5),w),u.url=Nt(Zt,this,ae).call(this,b),u.url}},{key:"destroy",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&0!==Rt(Zt,this,re).size||(Ft(Xt,this)&&(Ft(Xt,this).parentNode.parentNode.remove(),Dt(Xt,this,null)),Ft(Yt,this)&&(Ft(Yt,this).clear(),Dt(Yt,this,null)),Dt($t,this,0))}}])}();function ee(t){return Ft(Yt,t)||Dt(Yt,t,new Map)}function re(t){return Ft(Jt,t)||Dt(Jt,t,new Map)}function ne(t){if(!Ft(Xt,t)){var e=Ft(Qt,t).createElement("div"),r=e.style;r.visibility="hidden",r.contain="strict",r.width=r.height=0,r.position="absolute",r.top=r.left=0,r.zIndex=-1;var n=Ft(Qt,t).createElementNS(zt,"svg");n.setAttribute("width",0),n.setAttribute("height",0),Dt(Xt,t,Ft(Qt,t).createElementNS(zt,"defs")),e.append(n),n.append(Ft(Xt,t)),Ft(Qt,t).body.append(e)}return Ft(Xt,t)}function ie(t){if(1===t.length){for(var e=t[0],r=new Array(256),n=0;n<256;n++)r[n]=e[n]/255;var i=r.join(",");return[i,i,i]}for(var a=Et(t,3),o=a[0],s=a[1],u=a[2],c=new Array(256),l=new Array(256),h=new Array(256),f=0;f<256;f++)c[f]=o[f]/255,l[f]=s[f]/255,h[f]=u[f]/255;return[c.join(","),l.join(","),h.join(",")]}function ae(t){if(void 0===Ft(qt,this)){Dt(qt,this,"");var e=Ft(Qt,this).URL;e!==Ft(Qt,this).baseURI&&(ke(e)?R('#createUrl: ignore "data:"-URL for performance reasons.'):Dt(qt,this,e.split("#",1)[0]))}return"url(".concat(Ft(qt,this),"#").concat(t,")")}function oe(t){var e=Ft(Qt,this).createElementNS(zt,"feColorMatrix");e.setAttribute("type","matrix"),e.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"),t.append(e)}function se(t){var e=Ft(Qt,this).createElementNS(zt,"feColorMatrix");e.setAttribute("type","matrix"),e.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"),t.append(e)}function ue(t){var e=Ft(Qt,this).createElementNS(zt,"filter");return e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("id",t),Rt(Zt,this,ne).append(e),e}function ce(t,e,r){var n=Ft(Qt,this).createElementNS(zt,e);n.setAttribute("type","discrete"),n.setAttribute("tableValues",r),t.append(n)}function le(t,e,r,n){var i=Ft(Qt,this).createElementNS(zt,"feComponentTransfer");n.append(i),Nt(Zt,this,ce).call(this,i,"feFuncR",t),Nt(Zt,this,ce).call(this,i,"feFuncG",e),Nt(Zt,this,ce).call(this,i,"feFuncB",r)}function he(t,e){var r=Ft(Qt,this).createElementNS(zt,"feComponentTransfer");e.append(r),Nt(Zt,this,ce).call(this,r,"feFuncA",t)}function fe(t){return Rt(Zt,this,ne).style.color=t,Ce(getComputedStyle(Rt(Zt,this,ne)).getPropertyValue("color"))}var de=function(t){function e(t){var r,n=t.ownerDocument,i=void 0===n?globalThis.document:n,a=t.enableHWA,o=void 0!==a&&a;return Gt(this,e),(r=Tt(this,e,[{enableHWA:o}]))._document=i,r}return Mt(e,gt),Bt(e,[{key:"_createCanvas",value:function(t,e){var r=this._document.createElement("canvas");return r.width=t,r.height=e,r}}])}();function ve(t){return pe.apply(this,arguments)}function pe(){var t;return t=kt().mark((function t(e){var r,n,i=arguments;return kt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=i.length>1&&void 0!==i[1]?i[1]:"text",!Oe(e,document.baseURI)){t.next=14;break}return t.next=4,fetch(e);case 4:if((n=t.sent).ok){t.next=7;break}throw new Error(n.statusText);case 7:t.t0=r,t.next="arraybuffer"===t.t0?10:"blob"===t.t0?11:"json"===t.t0?12:13;break;case 10:return t.abrupt("return",n.arrayBuffer());case 11:return t.abrupt("return",n.blob());case 12:return t.abrupt("return",n.json());case 13:return t.abrupt("return",n.text());case 14:return t.abrupt("return",new Promise((function(t,n){var i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType=r,i.onreadystatechange=function(){if(i.readyState===XMLHttpRequest.DONE)if(200!==i.status&&0!==i.status)n(new Error(i.statusText));else{switch(r){case"arraybuffer":case"blob":case"json":return void t(i.response)}t(i.responseText)}},i.send(null)})));case 15:case"end":return t.stop()}}),t)})),pe=function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){At(a,n,i,o,s,"next",t)}function s(t){At(a,n,i,o,s,"throw",t)}o(void 0)}))},pe.apply(this,arguments)}var ye=function(t){function e(){return Gt(this,e),Tt(this,e,arguments)}return Mt(e,mt),Bt(e,[{key:"_fetchData",value:function(t,e){return ve(t,this.isCompressed?"arraybuffer":"text").then((function(t){return{cMapData:t instanceof ArrayBuffer?new Uint8Array(t):K(t),compressionType:e}}))}}])}(),ge=function(t){function e(){return Gt(this,e),Tt(this,e,arguments)}return Mt(e,bt),Bt(e,[{key:"_fetchData",value:function(t){return ve(t,"arraybuffer").then((function(t){return new Uint8Array(t)}))}}])}(),me=function(t){function e(){return Gt(this,e),Tt(this,e,arguments)}return Mt(e,wt),Bt(e,[{key:"_createSVG",value:function(t){return document.createElementNS(zt,t)}}])}(),be=function(){function t(e){var r=e.viewBox,n=e.scale,i=e.rotation,a=e.offsetX,o=void 0===a?0:a,s=e.offsetY,u=void 0===s?0:s,c=e.dontFlip,l=void 0!==c&&c;Gt(this,t),this.viewBox=r,this.scale=n,this.rotation=i,this.offsetX=o,this.offsetY=u;var h,f,d,v,p,y,g,m,b=(r[2]+r[0])/2,w=(r[3]+r[1])/2;switch((i%=360)<0&&(i+=360),i){case 180:h=-1,f=0,d=0,v=1;break;case 90:h=0,f=1,d=1,v=0;break;case 270:h=0,f=-1,d=-1,v=0;break;case 0:h=1,f=0,d=0,v=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}l&&(d=-d,v=-v),0===h?(p=Math.abs(w-r[1])*n+o,y=Math.abs(b-r[0])*n+u,g=(r[3]-r[1])*n,m=(r[2]-r[0])*n):(p=Math.abs(b-r[0])*n+o,y=Math.abs(w-r[1])*n+u,g=(r[2]-r[0])*n,m=(r[3]-r[1])*n),this.transform=[h*n,f*n,d*n,v*n,p-h*n*b-d*n*w,y-f*n*b-v*n*w],this.width=g,this.height=m}return Bt(t,[{key:"rawDims",get:function(){var t=this.viewBox;return W(this,"rawDims",{pageWidth:t[2]-t[0],pageHeight:t[3]-t[1],pageX:t[0],pageY:t[1]})}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.scale,n=void 0===r?this.scale:r,i=e.rotation,a=void 0===i?this.rotation:i,o=e.offsetX,s=void 0===o?this.offsetX:o,u=e.offsetY,c=void 0===u?this.offsetY:u,l=e.dontFlip,h=void 0!==l&&l;return new t({viewBox:this.viewBox.slice(),scale:n,rotation:a,offsetX:s,offsetY:c,dontFlip:h})}},{key:"convertToViewportPoint",value:function(t,e){return Z.applyTransform([t,e],this.transform)}},{key:"convertToViewportRectangle",value:function(t){var e=Z.applyTransform([t[0],t[1]],this.transform),r=Z.applyTransform([t[2],t[3]],this.transform);return[e[0],e[1],r[0],r[1]]}},{key:"convertToPdfPoint",value:function(t,e){return Z.applyInverseTransform([t,e],this.transform)}}])}(),we=function(t){function e(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Gt(this,e),(r=Tt(this,e,[t,"RenderingCancelledException"])).extraDelay=n,r}return Mt(e,B),Bt(e)}();function ke(t){for(var e=t.length,r=0;r<e&&""===t[r].trim();)r++;return"data:"===t.substring(r,r+5).toLowerCase()}function xe(t){return"string"==typeof t&&/\\.pdf$/i.test(t)}function Ae(t){var e=t.split(/[#?]/,1);return(t=Et(e,1)[0]).substring(t.lastIndexOf("/")+1)}function _e(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof t)return e;if(ke(t))return R('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),e;var r=/[^/?#=]+\\.pdf\\b(?!.*\\.pdf\\b)/i,n=/^(?:(?:[^:]+:)?\\/\\/[^/]+)?([^?#]*)(\\?[^#]*)?(#.*)?$/.exec(t),i=r.exec(n[1])||r.exec(n[2])||r.exec(n[3]);if(i&&(i=i[0]).includes("%"))try{i=r.exec(decodeURIComponent(i))[0]}catch(t){}return i||e}var Ee,Se=function(){return Bt((function t(){Gt(this,t),Ht(this,"started",Object.create(null)),Ht(this,"times",[])}),[{key:"time",value:function(t){t in this.started&&R("Timer is already running for ".concat(t)),this.started[t]=Date.now()}},{key:"timeEnd",value:function(t){t in this.started||R("Timer has not been started for ".concat(t)),this.times.push({name:t,start:this.started[t],end:Date.now()}),delete this.started[t]}},{key:"toString",value:function(){var t,e=[],r=0,n=xt(this.times);try{for(n.s();!(t=n.n()).done;){var i=t.value.name;r=Math.max(i.length,r)}}catch(t){n.e(t)}finally{n.f()}var a,o=xt(this.times);try{for(o.s();!(a=o.n()).done;){var s=a.value,u=s.name,c=s.start,l=s.end;e.push("".concat(u.padEnd(r)," ").concat(l-c,"ms\\n"))}}catch(t){o.e(t)}finally{o.f()}return e.join("")}}])}();function Oe(t,e){try{var r=(e?new URL(t,e):new URL(t)).protocol;return"http:"===r||"https:"===r}catch(t){return!1}}function Te(t){t.preventDefault()}function Pe(t){console.log("Deprecated API usage: "+t)}var Le=function(){return Bt((function t(){Gt(this,t)}),null,[{key:"toDateObject",value:function(t){if(!t||"string"!=typeof t)return null;Ee||(Ee=new RegExp("^D:(\\\\d{4})(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?(\\\\d{2})?([Z|+|-])?(\\\\d{2})?'?(\\\\d{2})?'?"));var e=Ee.exec(t);if(!e)return null;var r=parseInt(e[1],10),n=parseInt(e[2],10);n=n>=1&&n<=12?n-1:0;var i=parseInt(e[3],10);i=i>=1&&i<=31?i:1;var a=parseInt(e[4],10);a=a>=0&&a<=23?a:0;var o=parseInt(e[5],10);o=o>=0&&o<=59?o:0;var s=parseInt(e[6],10);s=s>=0&&s<=59?s:0;var u=e[7]||"Z",c=parseInt(e[8],10);c=c>=0&&c<=23?c:0;var l=parseInt(e[9],10)||0;return l=l>=0&&l<=59?l:0,"-"===u?(a+=c,o+=l):"+"===u&&(a-=c,o-=l),new Date(Date.UTC(r,n,i,a,o,s))}}])}();function Me(t,e){var r=e.scale,n=void 0===r?1:r,i=e.rotation,a=void 0===i?0:i,o=t.attributes.style,s=o.width,u=o.height,c=[0,0,parseInt(s),parseInt(u)];return new be({viewBox:c,scale:n,rotation:a})}function Ce(t){if(t.startsWith("#")){var e=parseInt(t.slice(1),16);return[(16711680&e)>>16,(65280&e)>>8,255&e]}return t.startsWith("rgb(")?t.slice(4,-1).split(",").map((function(t){return parseInt(t)})):t.startsWith("rgba(")?t.slice(5,-1).split(",").map((function(t){return parseInt(t)})).slice(0,3):(R('Not a valid color format: "'.concat(t,'"')),[0,0,0])}function je(t){var e=t.getTransform();return[e.a,e.b,e.c,e.d,e.e,e.f]}function Ie(t){var e=t.getTransform().invertSelf();return[e.a,e.b,e.c,e.d,e.e,e.f]}function Re(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e instanceof be){var i=e.rawDims,a=i.pageWidth,o=i.pageHeight,s=t.style,u=J.isCSSRoundSupported,c="var(--scale-factor) * ".concat(a,"px"),l="var(--scale-factor) * ".concat(o,"px"),h=u?"round(down, ".concat(c,", var(--scale-round-x, 1px))"):"calc(".concat(c,")"),f=u?"round(down, ".concat(l,", var(--scale-round-y, 1px))"):"calc(".concat(l,")");r&&e.rotation%180!=0?(s.width=f,s.height=h):(s.width=h,s.height=f)}n&&t.setAttribute("data-main-rotation",e.rotation)}var Fe=function(){return Bt((function t(){Gt(this,t);var e=window.devicePixelRatio||1;this.sx=e,this.sy=e}),[{key:"scaled",get:function(){return 1!==this.sx||1!==this.sy}},{key:"symmetric",get:function(){return this.sx===this.sy}}])}();function De(t,e){if(t){if("string"==typeof t)return Ne(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ne(t,e):void 0}}function Ne(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function We(){We=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Be(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Ge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ze(n.key),n)}}function Ue(t,e,r){return e&&He(t.prototype,e),r&&He(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ze(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Ve(t,e){Ye(t,e),e.add(t)}function qe(t,e,r){Ye(t,e),e.set(t,r)}function Ye(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Xe(t,e,r){return r(Je(t,e))}function Ke(t,e){return t.get(Je(t,e))}function Qe(t,e,r){return t.set(Je(t,e),r),r}function Je(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var $e=new WeakMap,Ze=new WeakMap,tr=new WeakMap,er=new WeakMap,rr=new WeakMap,nr=new WeakSet,ir=function(){return Ue((function t(e){Ge(this,t),Ve(this,nr),qe(this,$e,null),qe(this,Ze,null),qe(this,tr,void 0),qe(this,er,null),qe(this,rr,null),Qe(tr,this,e),fr._||(fr._=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"}))}),[{key:"render",value:function(){var t=Qe($e,this,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");var e=Ke(tr,this)._uiManager._signal;t.addEventListener("contextmenu",Te,{signal:e}),t.addEventListener("pointerdown",ar,{signal:e});var r=Qe(er,this,document.createElement("div"));r.className="buttons",t.append(r);var n=Ke(tr,this).toolbarPosition;if(n){var i=t.style,a="ltr"===Ke(tr,this)._uiManager.direction?1-n[0]:n[0];i.insetInlineEnd="".concat(100*a,"%"),i.top="calc(".concat(100*n[1],"% + var(--editor-toolbar-vert-offset))")}return Je(nr,this,cr).call(this),t}},{key:"div",get:function(){return Ke($e,this)}},{key:"hide",value:function(){var t;Ke($e,this).classList.add("hidden"),null===(t=Ke(Ze,this))||void 0===t||t.hideDropdown()}},{key:"show",value:function(){var t;Ke($e,this).classList.remove("hidden"),null===(t=Ke(rr,this))||void 0===t||t.shown()}},{key:"addAltText",value:(t=We().mark((function t(e){var r;return We().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.render();case 2:r=t.sent,Je(nr,this,ur).call(this,r),Ke(er,this).prepend(r,Xe(nr,this,lr)),Qe(rr,this,e);case 6:case"end":return t.stop()}}),t,this)})),e=function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Be(a,n,i,o,s,"next",t)}function s(t){Be(a,n,i,o,s,"throw",t)}o(void 0)}))},function(t){return e.apply(this,arguments)})},{key:"addColorPicker",value:function(t){Qe(Ze,this,t);var e=t.renderButton();Je(nr,this,ur).call(this,e),Ke(er,this).prepend(e,Xe(nr,this,lr))}},{key:"remove",value:function(){var t;Ke($e,this).remove(),null===(t=Ke(Ze,this))||void 0===t||t.destroy(),Qe(Ze,this,null)}}]);var t,e}();function ar(t){t.stopPropagation()}function or(t){Ke(tr,this)._focusEventsAllowed=!1,t.preventDefault(),t.stopPropagation()}function sr(t){Ke(tr,this)._focusEventsAllowed=!0,t.preventDefault(),t.stopPropagation()}function ur(t){var e=Ke(tr,this)._uiManager._signal;t.addEventListener("focusin",Je(nr,this,or).bind(this),{capture:!0,signal:e}),t.addEventListener("focusout",Je(nr,this,sr).bind(this),{capture:!0,signal:e}),t.addEventListener("contextmenu",Te,{signal:e})}function cr(){var t=Ke(tr,this),e=t.editorType,r=t._uiManager,n=document.createElement("button");n.className="delete",n.tabIndex=0,n.setAttribute("data-l10n-id",fr._[e]),Je(nr,this,ur).call(this,n),n.addEventListener("click",(function(t){r.delete()}),{signal:r._signal}),Ke(er,this).append(n)}function lr(t){var e=document.createElement("div");return e.className="divider",e}var hr,fr={_:null},dr=new WeakMap,vr=new WeakMap,pr=new WeakMap,yr=new WeakSet,gr=function(){return Ue((function t(e){Ge(this,t),Ve(this,yr),qe(this,dr,null),qe(this,vr,null),qe(this,pr,void 0),Qe(pr,this,e)}),[{key:"show",value:function(t,e,r){var n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||De(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Je(yr,this,br).call(this,e,r),2),i=n[0],a=n[1],o=(Ke(vr,this)||Qe(vr,this,Je(yr,this,mr).call(this))).style;t.append(Ke(vr,this)),o.insetInlineEnd="".concat(100*i,"%"),o.top="calc(".concat(100*a,"% + var(--editor-toolbar-vert-offset))")}},{key:"hide",value:function(){Ke(vr,this).remove()}}])}();function mr(){var t=Qe(vr,this,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",Te,{signal:Ke(pr,this)._signal});var e=Qe(dr,this,document.createElement("div"));return e.className="buttons",t.append(e),Je(yr,this,wr).call(this),t}function br(t,e){var r,n=0,i=0,a=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=De(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(t);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=o.y+o.height;if(!(s<n)){var u=o.x+(e?o.width:0);s>n?(i=u,n=s):e?u>i&&(i=u):u<i&&(i=u)}}}catch(t){a.e(t)}finally{a.f()}return[e?1-i:i,n]}function wr(){var t=this,e=document.createElement("button");e.className="highlightButton",e.tabIndex=0,e.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");var r=document.createElement("span");e.append(r),r.className="visuallyHidden",r.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");var n=Ke(pr,this)._signal;e.addEventListener("contextmenu",Te,{signal:n}),e.addEventListener("click",(function(){Ke(pr,t).highlightSelection("floating_button")}),{signal:n}),Ke(dr,this).append(e)}function kr(t,e,r){return(e=Mr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xr(t){return function(t){if(Array.isArray(t))return Wr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Nr(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ar(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Nr(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _r(){_r=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Er(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Sr(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Er(a,n,i,o,s,"next",t)}function s(t){Er(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Or(t,e){jr(t,e),e.add(t)}function Tr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mr(n.key),n)}}function Lr(t,e,r){return e&&Pr(t.prototype,e),r&&Pr(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Mr(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Cr(t,e,r){jr(t,e),e.set(t,r)}function jr(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ir(t,e){return t.get(Fr(t,e))}function Rr(t,e,r){return t.set(Fr(t,e),r),r}function Fr(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Dr(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Nr(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Nr(t,e){if(t){if("string"==typeof t)return Wr(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wr(t,e):void 0}}function Wr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Br(t,e,r){var n,i=Dr(r);try{for(i.s();!(n=i.n()).done;){var a=n.value;e.addEventListener(a,t[a].bind(t))}}catch(t){i.e(t)}finally{i.f()}}var Gr=new WeakMap,Hr=function(){return Lr((function t(){Tr(this,t),Cr(this,Gr,0)}),[{key:"id",get:function(){var t,e;return"".concat("pdfjs_internal_editor_").concat((Rr(Gr,this,(t=Ir(Gr,this),e=t++,t)),e))}}])}(),Ur=new WeakMap,zr=new WeakMap,Vr=new WeakMap,qr=new WeakSet,Yr=function(){return Lr((function t(){Tr(this,t),Or(this,qr),Cr(this,Ur,function(){var t,e;if("undefined"!=typeof crypto&&"function"==typeof(null===(t=crypto)||void 0===t?void 0:t.randomUUID))return crypto.randomUUID();var r=new Uint8Array(32);if("undefined"!=typeof crypto&&"function"==typeof(null===(e=crypto)||void 0===e?void 0:e.getRandomValues))crypto.getRandomValues(r);else for(var n=0;n<32;n++)r[n]=Math.floor(255*Math.random());return X(r)}()),Cr(this,zr,0),Cr(this,Vr,null)}),[{key:"getFromFile",value:(n=Sr(_r().mark((function t(e){var r,n,i,a;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.lastModified,n=e.name,i=e.size,a=e.type,t.abrupt("return",Fr(qr,this,Xr).call(this,"".concat(r,"_").concat(n,"_").concat(i,"_").concat(a),e));case 2:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"getFromUrl",value:(r=Sr(_r().mark((function t(e){return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Fr(qr,this,Xr).call(this,e,e));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"getFromBlob",value:(e=Sr(_r().mark((function t(e,r){var n;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r;case 2:return n=t.sent,t.abrupt("return",Fr(qr,this,Xr).call(this,e,n));case 4:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"getFromId",value:(t=Sr(_r().mark((function t(e){var r,n;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Ir(Vr,this)||Rr(Vr,this,new Map),r=Ir(Vr,this).get(e)){t.next=4;break}return t.abrupt("return",null);case 4:if(!r.bitmap){t.next=7;break}return r.refCounter+=1,t.abrupt("return",r);case 7:if(!r.file){t.next=9;break}return t.abrupt("return",this.getFromFile(r.file));case 9:if(!r.blobPromise){t.next=13;break}return n=r.blobPromise,delete r.blobPromise,t.abrupt("return",this.getFromBlob(r.id,n));case 13:return t.abrupt("return",this.getFromUrl(r.url));case 14:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"getFromCanvas",value:function(t,e){var r,n,i;Ir(Vr,this)||Rr(Vr,this,new Map);var a=Ir(Vr,this).get(t);if(null!==(i=a)&&void 0!==i&&i.bitmap)return a.refCounter+=1,a;var o=new OffscreenCanvas(e.width,e.height);return o.getContext("2d").drawImage(e,0,0),a={bitmap:o.transferToImageBitmap(),id:"image_".concat(Ir(Ur,this),"_").concat((Rr(zr,this,(r=Ir(zr,this),n=r++,r)),n)),refCounter:1,isSvg:!1},Ir(Vr,this).set(t,a),Ir(Vr,this).set(a.id,a),a}},{key:"getSvgUrl",value:function(t){var e=Ir(Vr,this).get(t);return null!=e&&e.isSvg?e.svgUrl:null}},{key:"deleteId",value:function(t){var e;Ir(Vr,this)||Rr(Vr,this,new Map);var r=Ir(Vr,this).get(t);if(r&&(r.refCounter-=1,0===r.refCounter)){var n=r.bitmap;if(!r.url&&!r.file){var i=new OffscreenCanvas(n.width,n.height);i.getContext("bitmaprenderer").transferFromImageBitmap(n),r.blobPromise=i.convertToBlob()}null===(e=n.close)||void 0===e||e.call(n),r.bitmap=null}}},{key:"isValidId",value:function(t){return t.startsWith("image_".concat(Ir(Ur,this),"_"))}}],[{key:"_isSVGFittingCanvas",get:function(){var t=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',W(this,"_isSVGFittingCanvas",e.decode().then((function(){return t.drawImage(e,0,0,1,1,0,0,1,3),0===new Uint32Array(t.getImageData(0,0,1,1).data.buffer)[0]})))}}]);var t,e,r,n}();function Xr(t,e){return Kr.apply(this,arguments)}function Kr(){return(Kr=Sr(_r().mark((function t(e,r){var n,i,a,o,s,u,c,l,h;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Ir(Vr,this)||Rr(Vr,this,new Map),null!==(i=Ir(Vr,this).get(e))){t.next=4;break}return t.abrupt("return",null);case 4:if(null===(n=i)||void 0===n||!n.bitmap){t.next=7;break}return i.refCounter+=1,t.abrupt("return",i);case 7:if(t.prev=7,i||(i={bitmap:null,id:"image_".concat(Ir(Ur,this),"_").concat((Rr(zr,this,(a=Ir(zr,this),o=a++,a)),o)),refCounter:0,isSvg:!1}),"string"!=typeof r){t.next=16;break}return i.url=r,t.next=13,ve(r,"blob");case 13:s=t.sent,t.next=17;break;case 16:r instanceof File?s=i.file=r:r instanceof Blob&&(s=r);case 17:if("image/svg+xml"!==s.type){t.next=27;break}return u=hr._isSVGFittingCanvas,c=new FileReader,l=new Image,h=new Promise((function(t,e){l.onload=function(){i.bitmap=l,i.isSvg=!0,t()},c.onload=Sr(_r().mark((function t(){var e;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=i.svgUrl=c.result,t.next=3,u;case 3:if(!t.sent){t.next=7;break}t.t0="".concat(e,"#svgView(preserveAspectRatio(none))"),t.next=8;break;case 7:t.t0=e;case 8:l.src=t.t0;case 9:case"end":return t.stop()}}),t)}))),l.onerror=c.onerror=e})),c.readAsDataURL(s),t.next=25,h;case 25:t.next=30;break;case 27:return t.next=29,createImageBitmap(s);case 29:i.bitmap=t.sent;case 30:i.refCounter=1,t.next=37;break;case 33:t.prev=33,t.t0=t.catch(7),console.error(t.t0),i=null;case 37:return Ir(Vr,this).set(e,i),i&&Ir(Vr,this).set(i.id,i),t.abrupt("return",i);case 40:case"end":return t.stop()}}),t,this,[[7,33]])})))).apply(this,arguments)}hr=Yr;var Qr=new WeakMap,Jr=new WeakMap,$r=new WeakMap,Zr=new WeakMap,tn=function(){return Lr((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:128;Tr(this,t),Cr(this,Qr,[]),Cr(this,Jr,!1),Cr(this,$r,void 0),Cr(this,Zr,-1),Rr($r,this,e)}),[{key:"add",value:function(t){var e=t.cmd,r=t.undo,n=t.post,i=t.mustExec,a=t.type,o=void 0===a?NaN:a,s=t.overwriteIfSameType,u=void 0!==s&&s,c=t.keepUndo,l=void 0!==c&&c;if(i&&e(),!Ir(Jr,this)){var h={cmd:e,undo:r,post:n,type:o};if(-1===Ir(Zr,this))return Ir(Qr,this).length>0&&(Ir(Qr,this).length=0),Rr(Zr,this,0),void Ir(Qr,this).push(h);if(u&&Ir(Qr,this)[Ir(Zr,this)].type===o)return l&&(h.undo=Ir(Qr,this)[Ir(Zr,this)].undo),void(Ir(Qr,this)[Ir(Zr,this)]=h);var f=Ir(Zr,this)+1;f===Ir($r,this)?Ir(Qr,this).splice(0,1):(Rr(Zr,this,f),f<Ir(Qr,this).length&&Ir(Qr,this).splice(f)),Ir(Qr,this).push(h)}}},{key:"undo",value:function(){if(-1!==Ir(Zr,this)){Rr(Jr,this,!0);var t=Ir(Qr,this)[Ir(Zr,this)],e=t.undo,r=t.post;e(),null==r||r(),Rr(Jr,this,!1),Rr(Zr,this,Ir(Zr,this)-1)}}},{key:"redo",value:function(){if(Ir(Zr,this)<Ir(Qr,this).length-1){Rr(Zr,this,Ir(Zr,this)+1),Rr(Jr,this,!0);var t=Ir(Qr,this)[Ir(Zr,this)],e=t.cmd,r=t.post;e(),null==r||r(),Rr(Jr,this,!1)}}},{key:"hasSomethingToUndo",value:function(){return-1!==Ir(Zr,this)}},{key:"hasSomethingToRedo",value:function(){return Ir(Zr,this)<Ir(Qr,this).length-1}},{key:"destroy",value:function(){Rr(Qr,this,null)}}])}(),en=new WeakSet,rn=function(){return Lr((function t(e){Tr(this,t),Or(this,en),this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;var r,n=J.platform.isMac,i=Dr(e);try{for(i.s();!(r=i.n()).done;){var a,o=Ar(r.value,3),s=o[0],u=o[1],c=o[2],l=void 0===c?{}:c,h=Dr(s);try{for(h.s();!(a=h.n()).done;){var f=a.value,d=f.startsWith("mac+");n&&d?(this.callbacks.set(f.slice(4),{callback:u,options:l}),this.allKeys.add(f.split("+").at(-1))):n||d||(this.callbacks.set(f,{callback:u,options:l}),this.allKeys.add(f.split("+").at(-1)))}}catch(t){h.e(t)}finally{h.f()}}}catch(t){i.e(t)}finally{i.f()}}),[{key:"exec",value:function(t,e){if(this.allKeys.has(e.key)){var r=this.callbacks.get(Fr(en,this,nn).call(this,e));if(r){var n=r.callback,i=r.options,a=i.bubbles,o=void 0!==a&&a,s=i.args,u=void 0===s?[]:s,c=i.checker,l=void 0===c?null:c;l&&!l(t,e)||(n.bind.apply(n,[t].concat(xr(u),[e]))(),o||(e.stopPropagation(),e.preventDefault()))}}}}])}();function nn(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);var e=this.buffer.join("+");return this.buffer.length=0,e}var an=function(){function t(){Tr(this,t)}return Lr(t,[{key:"_colors",get:function(){var t=new Map([["CanvasText",null],["Canvas",null]]);return function(t){var e=document.createElement("span");e.style.visibility="hidden",document.body.append(e);var r,n=xt(t.keys());try{for(n.s();!(r=n.n()).done;){var i=r.value;e.style.color=i;var a=window.getComputedStyle(e).color;t.set(i,Ce(a))}}catch(t){n.e(t)}finally{n.f()}e.remove()}(t),W(this,"_colors",t)}},{key:"convert",value:function(e){var r=Ce(e);if(!window.matchMedia("(forced-colors: active)").matches)return r;var n,i=Dr(this._colors);try{for(i.s();!(n=i.n()).done;){var a=Ar(n.value,2),o=a[0];if(a[1].every((function(t,e){return t===r[e]})))return t._colorsMapping.get(o)}}catch(t){i.e(t)}finally{i.f()}return r}},{key:"getHexCode",value:function(t){var e=this._colors.get(t);return e?Z.makeHexColor.apply(Z,xr(e)):t}}])}();kr(an,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));var on,sn=new WeakMap,un=new WeakMap,cn=new WeakMap,ln=new WeakMap,hn=new WeakMap,fn=new WeakMap,dn=new WeakMap,vn=new WeakMap,pn=new WeakMap,yn=new WeakMap,gn=new WeakMap,mn=new WeakMap,bn=new WeakMap,wn=new WeakMap,kn=new WeakMap,xn=new WeakMap,An=new WeakMap,_n=new WeakMap,En=new WeakMap,Sn=new WeakMap,On=new WeakMap,Tn=new WeakMap,Pn=new WeakMap,Ln=new WeakMap,Mn=new WeakMap,Cn=new WeakMap,jn=new WeakMap,In=new WeakMap,Rn=new WeakMap,Fn=new WeakMap,Dn=new WeakMap,Nn=new WeakMap,Wn=new WeakMap,Bn=new WeakMap,Gn=new WeakMap,Hn=new WeakMap,Un=new WeakMap,zn=new WeakMap,Vn=new WeakMap,qn=new WeakMap,Yn=new WeakMap,Xn=new WeakSet,Kn=function(){function t(e,r,n,i,a,o,s,u,c,l,h){var f=this;Tr(this,t),Or(this,Xn),Cr(this,sn,new AbortController),Cr(this,un,null),Cr(this,cn,new Map),Cr(this,ln,new Map),Cr(this,hn,null),Cr(this,fn,null),Cr(this,dn,null),Cr(this,vn,new tn),Cr(this,pn,null),Cr(this,yn,0),Cr(this,gn,new Set),Cr(this,mn,null),Cr(this,bn,null),Cr(this,wn,new Set),Cr(this,kn,!1),Cr(this,xn,!1),Cr(this,An,!1),Cr(this,_n,null),Cr(this,En,null),Cr(this,Sn,null),Cr(this,On,null),Cr(this,Tn,!1),Cr(this,Pn,null),Cr(this,Ln,new Hr),Cr(this,Mn,!1),Cr(this,Cn,!1),Cr(this,jn,null),Cr(this,In,null),Cr(this,Rn,null),Cr(this,Fn,null),Cr(this,Dn,A.NONE),Cr(this,Nn,new Set),Cr(this,Wn,null),Cr(this,Bn,null),Cr(this,Gn,null),Cr(this,Hn,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1}),Cr(this,Un,[0,0]),Cr(this,zn,null),Cr(this,Vn,null),Cr(this,qn,null),Cr(this,Yn,null);var d=this._signal=Ir(sn,this).signal;Rr(Vn,this,e),Rr(qn,this,r),Rr(hn,this,n),this._eventBus=i,i._on("editingaction",this.onEditingAction.bind(this),{signal:d}),i._on("pagechanging",this.onPageChanging.bind(this),{signal:d}),i._on("scalechanging",this.onScaleChanging.bind(this),{signal:d}),i._on("rotationchanging",this.onRotationChanging.bind(this),{signal:d}),i._on("setpreference",this.onSetPreference.bind(this),{signal:d}),i._on("switchannotationeditorparams",(function(t){return f.updateParams(t.type,t.value)}),{signal:d}),Fr(Xn,this,ei).call(this),Fr(Xn,this,ui).call(this),Fr(Xn,this,ii).call(this),Rr(fn,this,a.annotationStorage),Rr(_n,this,a.filterFactory),Rr(Bn,this,o),Rr(On,this,s||null),Rr(kn,this,u),Rr(xn,this,c),Rr(An,this,l),Rr(Fn,this,h||null),this.viewParameters={realScale:Vt.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1}return Lr(t,[{key:"destroy",value:function(){var t,e,r,n;null===(t=Ir(Yn,this))||void 0===t||t.resolve(),Rr(Yn,this,null),null===(e=Ir(sn,this))||void 0===e||e.abort(),Rr(sn,this,null),this._signal=null;var i,a=Dr(Ir(ln,this).values());try{for(a.s();!(i=a.n()).done;)i.value.destroy()}catch(t){a.e(t)}finally{a.f()}Ir(ln,this).clear(),Ir(cn,this).clear(),Ir(wn,this).clear(),Rr(un,this,null),Ir(Nn,this).clear(),Ir(vn,this).destroy(),null===(r=Ir(hn,this))||void 0===r||r.destroy(),null===(n=Ir(Pn,this))||void 0===n||n.hide(),Rr(Pn,this,null),Ir(En,this)&&(clearTimeout(Ir(En,this)),Rr(En,this,null)),Ir(zn,this)&&(clearTimeout(Ir(zn,this)),Rr(zn,this,null))}},{key:"combinedSignal",value:function(t){return AbortSignal.any([this._signal,t.signal])}},{key:"mlManager",get:function(){return Ir(Fn,this)}},{key:"useNewAltTextFlow",get:function(){return Ir(xn,this)}},{key:"useNewAltTextWhenAddingImage",get:function(){return Ir(An,this)}},{key:"hcmFilter",get:function(){return W(this,"hcmFilter",Ir(Bn,this)?Ir(_n,this).addHCMFilter(Ir(Bn,this).foreground,Ir(Bn,this).background):"none")}},{key:"direction",get:function(){return W(this,"direction",getComputedStyle(Ir(Vn,this)).direction)}},{key:"highlightColors",get:function(){return W(this,"highlightColors",Ir(On,this)?new Map(Ir(On,this).split(",").map((function(t){return t.split("=").map((function(t){return t.trim()}))}))):null)}},{key:"highlightColorNames",get:function(){return W(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,(function(t){return t.reverse()}))):null)}},{key:"setMainHighlightColorPicker",value:function(t){Rr(Rn,this,t)}},{key:"editAltText",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];null===(e=Ir(hn,this))||void 0===e||e.editAltText(this,t,r)}},{key:"switchToMode",value:function(t,e){this._eventBus.on("annotationeditormodechanged",e,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}},{key:"setPreference",value:function(t,e){this._eventBus.dispatch("setpreference",{source:this,name:t,value:e})}},{key:"onSetPreference",value:function(t){var e=t.name,r=t.value;"enableNewAltTextWhenAddingImage"===e&&Rr(An,this,r)}},{key:"onPageChanging",value:function(t){var e=t.pageNumber;Rr(yn,this,e-1)}},{key:"focusMainContainer",value:function(){Ir(Vn,this).focus()}},{key:"findParent",value:function(t,e){var r,n=Dr(Ir(ln,this).values());try{for(n.s();!(r=n.n()).done;){var i=r.value,a=i.div.getBoundingClientRect(),o=a.x,s=a.y,u=a.width,c=a.height;if(t>=o&&t<=o+u&&e>=s&&e<=s+c)return i}}catch(t){n.e(t)}finally{n.f()}return null}},{key:"disableUserSelect",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Ir(qn,this).classList.toggle("noUserSelect",t)}},{key:"addShouldRescale",value:function(t){Ir(wn,this).add(t)}},{key:"removeShouldRescale",value:function(t){Ir(wn,this).delete(t)}},{key:"onScaleChanging",value:function(t){var e=t.scale;this.commitOrRemove(),this.viewParameters.realScale=e*Vt.PDF_TO_CSS_UNITS;var r,n=Dr(Ir(wn,this));try{for(n.s();!(r=n.n()).done;)r.value.onScaleChanging()}catch(t){n.e(t)}finally{n.f()}}},{key:"onRotationChanging",value:function(t){var e=t.pagesRotation;this.commitOrRemove(),this.viewParameters.rotation=e}},{key:"highlightSelection",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=document.getSelection();if(r&&!r.isCollapsed){var n=r.anchorNode,i=r.anchorOffset,a=r.focusNode,o=r.focusOffset,s=r.toString(),u=Fr(Xn,this,Qn).call(this,r).closest(".textLayer"),c=this.getSelectionBoxes(u);if(c){r.empty();var l=Fr(Xn,this,Jn).call(this,u),h=Ir(Dn,this)===A.NONE,f=function(){null==l||l.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:e,boxes:c,anchorNode:n,anchorOffset:i,focusNode:a,focusOffset:o,text:s}),h&&t.showAllEditors("highlight",!0,!0)};h?this.switchToMode(A.HIGHLIGHT,f):f()}}}},{key:"addToAnnotationStorage",value:function(t){t.isEmpty()||!Ir(fn,this)||Ir(fn,this).has(t.id)||Ir(fn,this).setValue(t.id,t)}},{key:"blur",value:function(){if(this.isShiftKeyDown=!1,Ir(Tn,this)&&(Rr(Tn,this,!1),Fr(Xn,this,ti).call(this,"main_toolbar")),this.hasSelection){var t,e=document.activeElement,r=Dr(Ir(Nn,this));try{for(r.s();!(t=r.n()).done;){var n=t.value;if(n.div.contains(e)){Rr(In,this,[n,e]),n._focusEventsAllowed=!1;break}}}catch(t){r.e(t)}finally{r.f()}}}},{key:"focus",value:function(){if(Ir(In,this)){var t=Ar(Ir(In,this),2),e=t[0],r=t[1];Rr(In,this,null),r.addEventListener("focusin",(function(){e._focusEventsAllowed=!0}),{once:!0,signal:this._signal}),r.focus()}}},{key:"addEditListeners",value:function(){Fr(Xn,this,ii).call(this),Fr(Xn,this,oi).call(this)}},{key:"removeEditListeners",value:function(){Fr(Xn,this,ai).call(this),Fr(Xn,this,si).call(this)}},{key:"dragOver",value:function(t){var e,r=Dr(t.dataTransfer.items);try{for(r.s();!(e=r.n()).done;){var n,i=e.value.type,a=Dr(Ir(bn,this));try{for(a.s();!(n=a.n()).done;)if(n.value.isHandlingMimeForPasting(i))return t.dataTransfer.dropEffect="copy",void t.preventDefault()}catch(t){a.e(t)}finally{a.f()}}}catch(t){r.e(t)}finally{r.f()}}},{key:"drop",value:function(t){var e,r=Dr(t.dataTransfer.items);try{for(r.s();!(e=r.n()).done;){var n,i=e.value,a=Dr(Ir(bn,this));try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.isHandlingMimeForPasting(i.type))return o.paste(i,this.currentLayer),void t.preventDefault()}}catch(t){a.e(t)}finally{a.f()}}}catch(t){r.e(t)}finally{r.f()}}},{key:"copy",value:function(t){var e;if(t.preventDefault(),null===(e=Ir(un,this))||void 0===e||e.commitOrRemove(),this.hasSelection){var r,n=[],i=Dr(Ir(Nn,this));try{for(i.s();!(r=i.n()).done;){var a=r.value.serialize(!0);a&&n.push(a)}}catch(t){i.e(t)}finally{i.f()}0!==n.length&&t.clipboardData.setData("application/pdfjs",JSON.stringify(n))}}},{key:"cut",value:function(t){this.copy(t),this.delete()}},{key:"paste",value:(r=Sr(_r().mark((function t(e){var r,n,i,a,o,s,u,c,l,h,f,d,v,p,y,g,m=this;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.preventDefault(),r=e.clipboardData,n=Dr(r.items),t.prev=3,n.s();case 5:if((i=n.n()).done){t.next=27;break}a=i.value,o=Dr(Ir(bn,this)),t.prev=8,o.s();case 10:if((s=o.n()).done){t.next=17;break}if(!(u=s.value).isHandlingMimeForPasting(a.type)){t.next=15;break}return u.paste(a,this.currentLayer),t.abrupt("return");case 15:t.next=10;break;case 17:t.next=22;break;case 19:t.prev=19,t.t0=t.catch(8),o.e(t.t0);case 22:return t.prev=22,o.f(),t.finish(22);case 25:t.next=5;break;case 27:t.next=32;break;case 29:t.prev=29,t.t1=t.catch(3),n.e(t.t1);case 32:return t.prev=32,n.f(),t.finish(32);case 35:if(c=r.getData("application/pdfjs")){t.next=38;break}return t.abrupt("return");case 38:t.prev=38,c=JSON.parse(c),t.next=46;break;case 42:return t.prev=42,t.t2=t.catch(38),R('paste: "'.concat(t.t2.message,'".')),t.abrupt("return");case 46:if(Array.isArray(c)){t.next=48;break}return t.abrupt("return");case 48:this.unselectAll(),l=this.currentLayer,t.prev=50,h=[],f=Dr(c),t.prev=53,f.s();case 55:if((d=f.n()).done){t.next=65;break}return v=d.value,t.next=59,l.deserialize(v);case 59:if(p=t.sent){t.next=62;break}return t.abrupt("return");case 62:h.push(p);case 63:t.next=55;break;case 65:t.next=70;break;case 67:t.prev=67,t.t3=t.catch(53),f.e(t.t3);case 70:return t.prev=70,f.f(),t.finish(70);case 73:y=function(){for(var t=0,e=h;t<e.length;t++){var r=e[t];Fr(Xn,m,vi).call(m,r)}Fr(Xn,m,yi).call(m,h)},g=function(){for(var t=0,e=h;t<e.length;t++)e[t].remove()},this.addCommands({cmd:y,undo:g,mustExec:!0}),t.next=81;break;case 78:t.prev=78,t.t4=t.catch(50),R('paste: "'.concat(t.t4.message,'".'));case 81:case"end":return t.stop()}}),t,this,[[3,29,32,35],[8,19,22,25],[38,42],[50,78],[53,67,70,73]])}))),function(t){return r.apply(this,arguments)})},{key:"keydown",value:function(e){this.isShiftKeyDown||"Shift"!==e.key||(this.isShiftKeyDown=!0),Ir(Dn,this)===A.NONE||this.isEditorHandlingKeyboard||t._keyboardManager.exec(this,e)}},{key:"keyup",value:function(t){this.isShiftKeyDown&&"Shift"===t.key&&(this.isShiftKeyDown=!1,Ir(Tn,this)&&(Rr(Tn,this,!1),Fr(Xn,this,ti).call(this,"main_toolbar")))}},{key:"onEditingAction",value:function(t){var e=t.name;switch(e){case"undo":case"redo":case"delete":case"selectAll":this[e]();break;case"highlightSelection":this.highlightSelection("context_menu")}}},{key:"setEditingState",value:function(t){t?(Fr(Xn,this,ri).call(this),Fr(Xn,this,oi).call(this),Fr(Xn,this,ci).call(this,{isEditing:Ir(Dn,this)!==A.NONE,isEmpty:Fr(Xn,this,pi).call(this),hasSomethingToUndo:Ir(vn,this).hasSomethingToUndo(),hasSomethingToRedo:Ir(vn,this).hasSomethingToRedo(),hasSelectedEditor:!1})):(Fr(Xn,this,ni).call(this),Fr(Xn,this,si).call(this),Fr(Xn,this,ci).call(this,{isEditing:!1}),this.disableUserSelect(!1))}},{key:"registerEditorTypes",value:function(t){if(!Ir(bn,this)){Rr(bn,this,t);var e,r=Dr(Ir(bn,this));try{for(r.s();!(e=r.n()).done;){var n=e.value;Fr(Xn,this,li).call(this,n.defaultPropertiesToUpdate)}}catch(t){r.e(t)}finally{r.f()}}}},{key:"getId",value:function(){return Ir(Ln,this).id}},{key:"currentLayer",get:function(){return Ir(ln,this).get(Ir(yn,this))}},{key:"getLayer",value:function(t){return Ir(ln,this).get(t)}},{key:"currentPageIndex",get:function(){return Ir(yn,this)}},{key:"addLayer",value:function(t){Ir(ln,this).set(t.pageIndex,t),Ir(Mn,this)?t.enable():t.disable()}},{key:"removeLayer",value:function(t){Ir(ln,this).delete(t.pageIndex)}},{key:"updateMode",value:(e=Sr(_r().mark((function t(e){var r,n,i,a,o,s,u,c=arguments;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=c.length>1&&void 0!==c[1]?c[1]:null,n=c.length>2&&void 0!==c[2]&&c[2],Ir(Dn,this)!==e){t.next=4;break}return t.abrupt("return");case 4:if(!Ir(Yn,this)){t.next=9;break}return t.next=7,Ir(Yn,this).promise;case 7:if(Ir(Yn,this)){t.next=9;break}return t.abrupt("return");case 9:if(Rr(Yn,this,Promise.withResolvers()),Rr(Dn,this,e),e!==A.NONE){t.next=16;break}return this.setEditingState(!1),Fr(Xn,this,di).call(this),Ir(Yn,this).resolve(),t.abrupt("return");case 16:return this.setEditingState(!0),t.next=19,Fr(Xn,this,hi).call(this);case 19:this.unselectAll(),i=Dr(Ir(ln,this).values());try{for(i.s();!(a=i.n()).done;)a.value.updateMode(e)}catch(t){i.e(t)}finally{i.f()}if(r){t.next=26;break}return n&&this.addNewEditorFromKeyboard(),Ir(Yn,this).resolve(),t.abrupt("return");case 26:o=Dr(Ir(cn,this).values());try{for(o.s();!(s=o.n()).done;)(u=s.value).annotationElementId===r?(this.setSelected(u),u.enterInEditMode()):u.unselect()}catch(t){o.e(t)}finally{o.f()}Ir(Yn,this).resolve();case 29:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"addNewEditorFromKeyboard",value:function(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}},{key:"updateToolbar",value:function(t){t!==Ir(Dn,this)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:t})}},{key:"updateParams",value:function(t,e){var r;if(Ir(bn,this)){switch(t){case _.CREATE:return void this.currentLayer.addNewEditor();case _.HIGHLIGHT_DEFAULT_COLOR:null===(r=Ir(Rn,this))||void 0===r||r.updateColor(e);break;case _.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(Ir(Gn,this)||Rr(Gn,this,new Map)).set(t,e),this.showAllEditors("highlight",e)}var n,i=Dr(Ir(Nn,this));try{for(i.s();!(n=i.n()).done;)n.value.updateParams(t,e)}catch(t){i.e(t)}finally{i.f()}var a,o=Dr(Ir(bn,this));try{for(o.s();!(a=o.n()).done;)a.value.updateDefaultParams(t,e)}catch(t){o.e(t)}finally{o.f()}}}},{key:"showAllEditors",value:function(t,e){var r,n,i,a=Dr(Ir(cn,this).values());try{for(a.s();!(i=a.n()).done;){var o=i.value;o.editorType===t&&o.show(e)}}catch(t){a.e(t)}finally{a.f()}(null===(r=null===(n=Ir(Gn,this))||void 0===n?void 0:n.get(_.HIGHLIGHT_SHOW_ALL))||void 0===r||r)!==e&&Fr(Xn,this,li).call(this,[[_.HIGHLIGHT_SHOW_ALL,e]])}},{key:"enableWaiting",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(Ir(Cn,this)!==t){Rr(Cn,this,t);var e,r=Dr(Ir(ln,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;t?n.disableClick():n.enableClick(),n.div.classList.toggle("waiting",t)}}catch(t){r.e(t)}finally{r.f()}}}},{key:"getEditors",value:function(t){var e,r=[],n=Dr(Ir(cn,this).values());try{for(n.s();!(e=n.n()).done;){var i=e.value;i.pageIndex===t&&r.push(i)}}catch(t){n.e(t)}finally{n.f()}return r}},{key:"getEditor",value:function(t){return Ir(cn,this).get(t)}},{key:"addEditor",value:function(t){Ir(cn,this).set(t.id,t)}},{key:"removeEditor",value:function(t){var e,r=this;t.div.contains(document.activeElement)&&(Ir(En,this)&&clearTimeout(Ir(En,this)),Rr(En,this,setTimeout((function(){r.focusMainContainer(),Rr(En,r,null)}),0))),Ir(cn,this).delete(t.id),this.unselect(t),t.annotationElementId&&Ir(gn,this).has(t.annotationElementId)||null===(e=Ir(fn,this))||void 0===e||e.remove(t.id)}},{key:"addDeletedAnnotationElement",value:function(t){Ir(gn,this).add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}},{key:"isDeletedAnnotationElement",value:function(t){return Ir(gn,this).has(t)}},{key:"removeDeletedAnnotationElement",value:function(t){Ir(gn,this).delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}},{key:"setActiveEditor",value:function(t){Ir(un,this)!==t&&(Rr(un,this,t),t&&Fr(Xn,this,li).call(this,t.propertiesToUpdate))}},{key:"updateUI",value:function(t){(function(t){var e,r=null,n=Dr(Ir(Nn,t));try{for(n.s();!(e=n.n()).done;)r=e.value}catch(t){n.e(t)}finally{n.f()}return r})(Fr(Xn,this))===t&&Fr(Xn,this,li).call(this,t.propertiesToUpdate)}},{key:"toggleSelected",value:function(t){if(Ir(Nn,this).has(t))return Ir(Nn,this).delete(t),t.unselect(),void Fr(Xn,this,ci).call(this,{hasSelectedEditor:this.hasSelection});Ir(Nn,this).add(t),t.select(),Fr(Xn,this,li).call(this,t.propertiesToUpdate),Fr(Xn,this,ci).call(this,{hasSelectedEditor:!0})}},{key:"setSelected",value:function(t){var e,r=Dr(Ir(Nn,this));try{for(r.s();!(e=r.n()).done;){var n=e.value;n!==t&&n.unselect()}}catch(t){r.e(t)}finally{r.f()}Ir(Nn,this).clear(),Ir(Nn,this).add(t),t.select(),Fr(Xn,this,li).call(this,t.propertiesToUpdate),Fr(Xn,this,ci).call(this,{hasSelectedEditor:!0})}},{key:"isSelected",value:function(t){return Ir(Nn,this).has(t)}},{key:"firstSelectedEditor",get:function(){return Ir(Nn,this).values().next().value}},{key:"unselect",value:function(t){t.unselect(),Ir(Nn,this).delete(t),Fr(Xn,this,ci).call(this,{hasSelectedEditor:this.hasSelection})}},{key:"hasSelection",get:function(){return 0!==Ir(Nn,this).size}},{key:"isEnterHandled",get:function(){return 1===Ir(Nn,this).size&&this.firstSelectedEditor.isEnterHandled}},{key:"undo",value:function(){Ir(vn,this).undo(),Fr(Xn,this,ci).call(this,{hasSomethingToUndo:Ir(vn,this).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:Fr(Xn,this,pi).call(this)})}},{key:"redo",value:function(){Ir(vn,this).redo(),Fr(Xn,this,ci).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:Ir(vn,this).hasSomethingToRedo(),isEmpty:Fr(Xn,this,pi).call(this)})}},{key:"addCommands",value:function(t){Ir(vn,this).add(t),Fr(Xn,this,ci).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:Fr(Xn,this,pi).call(this)})}},{key:"delete",value:function(){var t=this;if(this.commitOrRemove(),this.hasSelection){var e=xr(Ir(Nn,this));this.addCommands({cmd:function(){var t,r=Dr(e);try{for(r.s();!(t=r.n()).done;)t.value.remove()}catch(t){r.e(t)}finally{r.f()}},undo:function(){var r,n=Dr(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;Fr(Xn,t,vi).call(t,i)}}catch(t){n.e(t)}finally{n.f()}},mustExec:!0})}}},{key:"commitOrRemove",value:function(){var t;null===(t=Ir(un,this))||void 0===t||t.commitOrRemove()}},{key:"hasSomethingToControl",value:function(){return Ir(un,this)||this.hasSelection}},{key:"selectAll",value:function(){var t,e=Dr(Ir(Nn,this));try{for(e.s();!(t=e.n()).done;)t.value.commit()}catch(t){e.e(t)}finally{e.f()}Fr(Xn,this,yi).call(this,Ir(cn,this).values())}},{key:"unselectAll",value:function(){if((!Ir(un,this)||(Ir(un,this).commitOrRemove(),Ir(Dn,this)===A.NONE))&&this.hasSelection){var t,e=Dr(Ir(Nn,this));try{for(e.s();!(t=e.n()).done;)t.value.unselect()}catch(t){e.e(t)}finally{e.f()}Ir(Nn,this).clear(),Fr(Xn,this,ci).call(this,{hasSelectedEditor:!1})}}},{key:"translateSelectedEditors",value:function(t,e){var r=this;if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]||this.commitOrRemove(),this.hasSelection){Ir(Un,this)[0]+=t,Ir(Un,this)[1]+=e;var n=Ar(Ir(Un,this),2),i=n[0],a=n[1],o=xr(Ir(Nn,this));Ir(zn,this)&&clearTimeout(Ir(zn,this)),Rr(zn,this,setTimeout((function(){Rr(zn,r,null),Ir(Un,r)[0]=Ir(Un,r)[1]=0,r.addCommands({cmd:function(){var t,e=Dr(o);try{for(e.s();!(t=e.n()).done;){var n=t.value;Ir(cn,r).has(n.id)&&n.translateInPage(i,a)}}catch(t){e.e(t)}finally{e.f()}},undo:function(){var t,e=Dr(o);try{for(e.s();!(t=e.n()).done;){var n=t.value;Ir(cn,r).has(n.id)&&n.translateInPage(-i,-a)}}catch(t){e.e(t)}finally{e.f()}},mustExec:!1})}),1e3));var s,u=Dr(o);try{for(u.s();!(s=u.n()).done;)s.value.translateInPage(t,e)}catch(t){u.e(t)}finally{u.f()}}}},{key:"setUpDragSession",value:function(){if(this.hasSelection){this.disableUserSelect(!0),Rr(mn,this,new Map);var t,e=Dr(Ir(Nn,this));try{for(e.s();!(t=e.n()).done;){var r=t.value;Ir(mn,this).set(r,{savedX:r.x,savedY:r.y,savedPageIndex:r.pageIndex,newX:0,newY:0,newPageIndex:-1})}}catch(t){e.e(t)}finally{e.f()}}}},{key:"endDragSession",value:function(){var t=this;if(!Ir(mn,this))return!1;this.disableUserSelect(!1);var e=Ir(mn,this);Rr(mn,this,null);var r,n=!1,i=Dr(e);try{for(i.s();!(r=i.n()).done;){var a=Ar(r.value,2),o=a[0],s=o.x,u=o.y,c=o.pageIndex,l=a[1];l.newX=s,l.newY=u,l.newPageIndex=c,n||(n=s!==l.savedX||u!==l.savedY||c!==l.savedPageIndex)}}catch(t){i.e(t)}finally{i.f()}if(!n)return!1;var h=function(e,r,n,i){if(Ir(cn,t).has(e.id)){var a=Ir(ln,t).get(i);a?e._setParentAndPosition(a,r,n):(e.pageIndex=i,e.x=r,e.y=n)}};return this.addCommands({cmd:function(){var t,r=Dr(e);try{for(r.s();!(t=r.n()).done;){var n=Ar(t.value,2),i=n[0],a=n[1],o=a.newX,s=a.newY,u=a.newPageIndex;h(i,o,s,u)}}catch(t){r.e(t)}finally{r.f()}},undo:function(){var t,r=Dr(e);try{for(r.s();!(t=r.n()).done;){var n=Ar(t.value,2),i=n[0],a=n[1],o=a.savedX,s=a.savedY,u=a.savedPageIndex;h(i,o,s,u)}}catch(t){r.e(t)}finally{r.f()}},mustExec:!0}),!0}},{key:"dragSelectedEditors",value:function(t,e){if(Ir(mn,this)){var r,n=Dr(Ir(mn,this).keys());try{for(n.s();!(r=n.n()).done;)r.value.drag(t,e)}catch(t){n.e(t)}finally{n.f()}}}},{key:"rebuild",value:function(t){if(null===t.parent){var e=this.getLayer(t.pageIndex);e?(e.changeParent(t),e.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}},{key:"isEditorHandlingKeyboard",get:function(){var t;return(null===(t=this.getActive())||void 0===t?void 0:t.shouldGetKeyboardEvents())||1===Ir(Nn,this).size&&this.firstSelectedEditor.shouldGetKeyboardEvents()}},{key:"isActive",value:function(t){return Ir(un,this)===t}},{key:"getActive",value:function(){return Ir(un,this)}},{key:"getMode",value:function(){return Ir(Dn,this)}},{key:"imageManager",get:function(){return W(this,"imageManager",new Yr)}},{key:"getSelectionBoxes",value:function(t){if(!t)return null;for(var e=document.getSelection(),r=0,n=e.rangeCount;r<n;r++)if(!t.contains(e.getRangeAt(r).commonAncestorContainer))return null;var i,a=t.getBoundingClientRect(),o=a.x,s=a.y,u=a.width,c=a.height;switch(t.getAttribute("data-main-rotation")){case"90":i=function(t,e,r,n){return{x:(e-s)/c,y:1-(t+r-o)/u,width:n/c,height:r/u}};break;case"180":i=function(t,e,r,n){return{x:1-(t+r-o)/u,y:1-(e+n-s)/c,width:r/u,height:n/c}};break;case"270":i=function(t,e,r,n){return{x:1-(e+n-s)/c,y:(t-o)/u,width:n/c,height:r/u}};break;default:i=function(t,e,r,n){return{x:(t-o)/u,y:(e-s)/c,width:r/u,height:n/c}}}for(var l=[],h=0,f=e.rangeCount;h<f;h++){var d=e.getRangeAt(h);if(!d.collapsed){var v,p=Dr(d.getClientRects());try{for(p.s();!(v=p.n()).done;){var y=v.value,g=y.x,m=y.y,b=y.width,w=y.height;0!==b&&0!==w&&l.push(i(g,m,b,w))}}catch(t){p.e(t)}finally{p.f()}}}return 0===l.length?null:l}},{key:"addChangedExistingAnnotation",value:function(t){var e=t.annotationElementId,r=t.id;(Ir(dn,this)||Rr(dn,this,new Map)).set(e,r)}},{key:"removeChangedExistingAnnotation",value:function(t){var e,r=t.annotationElementId;null===(e=Ir(dn,this))||void 0===e||e.delete(r)}},{key:"renderAnnotationElement",value:function(t){var e,r=null===(e=Ir(dn,this))||void 0===e?void 0:e.get(t.data.id);if(r){var n=Ir(fn,this).getRawValue(r);n&&(Ir(Dn,this)!==A.NONE||n.hasBeenModified)&&n.renderAnnotationElement(t)}}}],[{key:"_keyboardManager",get:function(){var e=t.prototype,r=function(t){return Ir(Vn,t).contains(document.activeElement)&&"BUTTON"!==document.activeElement.tagName&&t.hasSomethingToControl()},n=function(t,e){var r=e.target;if(r instanceof HTMLInputElement){var n=r.type;return"text"!==n&&"number"!==n}return!0},i=this.TRANSLATE_SMALL,a=this.TRANSLATE_BIG;return W(this,"_keyboardManager",new rn([[["ctrl+a","mac+meta+a"],e.selectAll,{checker:n}],[["ctrl+z","mac+meta+z"],e.undo,{checker:n}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],e.redo,{checker:n}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],e.delete,{checker:n}],[["Enter","mac+Enter"],e.addNewEditorFromKeyboard,{checker:function(t,e){var r=e.target;return!(r instanceof HTMLButtonElement)&&Ir(Vn,t).contains(r)&&!t.isEnterHandled}}],[[" ","mac+ "],e.addNewEditorFromKeyboard,{checker:function(t,e){return!(e.target instanceof HTMLButtonElement)&&Ir(Vn,t).contains(document.activeElement)}}],[["Escape","mac+Escape"],e.unselectAll],[["ArrowLeft","mac+ArrowLeft"],e.translateSelectedEditors,{args:[-i,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e.translateSelectedEditors,{args:[-a,0],checker:r}],[["ArrowRight","mac+ArrowRight"],e.translateSelectedEditors,{args:[i,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e.translateSelectedEditors,{args:[a,0],checker:r}],[["ArrowUp","mac+ArrowUp"],e.translateSelectedEditors,{args:[0,-i],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e.translateSelectedEditors,{args:[0,-a],checker:r}],[["ArrowDown","mac+ArrowDown"],e.translateSelectedEditors,{args:[0,i],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e.translateSelectedEditors,{args:[0,a],checker:r}]]))}}]);var e,r}();function Qn(t){var e=t.anchorNode;return e.nodeType===Node.TEXT_NODE?e.parentElement:e}function Jn(t){var e=this.currentLayer;if(e.hasTextLayer(t))return e;var r,n=Dr(Ir(ln,this).values());try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i.hasTextLayer(t))return i}}catch(t){n.e(t)}finally{n.f()}return null}function $n(){var t=document.getSelection();if(t&&!t.isCollapsed){var e=Fr(Xn,this,Qn).call(this,t).closest(".textLayer"),r=this.getSelectionBoxes(e);r&&(Ir(Pn,this)||Rr(Pn,this,new gr(this)),Ir(Pn,this).show(e,r,"ltr"===this.direction))}}function Zn(){var t,e=this,r=document.getSelection();if(r&&!r.isCollapsed){var n=r.anchorNode;if(n!==Ir(Wn,this)){var i,a=Fr(Xn,this,Qn).call(this,r).closest(".textLayer");if(a){if(null===(t=Ir(Pn,this))||void 0===t||t.hide(),Rr(Wn,this,n),Fr(Xn,this,ci).call(this,{hasSelectedText:!0}),(Ir(Dn,this)===A.HIGHLIGHT||Ir(Dn,this)===A.NONE)&&(Ir(Dn,this)===A.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),Rr(Tn,this,this.isShiftKeyDown),!this.isShiftKeyDown)){var o=Ir(Dn,this)===A.HIGHLIGHT?Fr(Xn,this,Jn).call(this,a):null;null==o||o.toggleDrawing();var s=new AbortController,u=this.combinedSignal(s),c=function(t){"pointerup"===t.type&&0!==t.button||(s.abort(),null==o||o.toggleDrawing(!0),"pointerup"===t.type&&Fr(Xn,e,ti).call(e,"main_toolbar"))};window.addEventListener("pointerup",c,{signal:u}),window.addEventListener("blur",c,{signal:u})}}else Ir(Wn,this)&&(null===(i=Ir(Pn,this))||void 0===i||i.hide(),Rr(Wn,this,null),Fr(Xn,this,ci).call(this,{hasSelectedText:!1}))}}else{var l;Ir(Wn,this)&&(null===(l=Ir(Pn,this))||void 0===l||l.hide(),Rr(Wn,this,null),Fr(Xn,this,ci).call(this,{hasSelectedText:!1}))}}function ti(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Ir(Dn,this)===A.HIGHLIGHT?this.highlightSelection(t):Ir(kn,this)&&Fr(Xn,this,$n).call(this)}function ei(){document.addEventListener("selectionchange",Fr(Xn,this,Zn).bind(this),{signal:this._signal})}function ri(){if(!Ir(Sn,this)){Rr(Sn,this,new AbortController);var t=this.combinedSignal(Ir(Sn,this));window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})}}function ni(){var t;null===(t=Ir(Sn,this))||void 0===t||t.abort(),Rr(Sn,this,null)}function ii(){if(!Ir(jn,this)){Rr(jn,this,new AbortController);var t=this.combinedSignal(Ir(jn,this));window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})}}function ai(){var t;null===(t=Ir(jn,this))||void 0===t||t.abort(),Rr(jn,this,null)}function oi(){if(!Ir(pn,this)){Rr(pn,this,new AbortController);var t=this.combinedSignal(Ir(pn,this));document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})}}function si(){var t;null===(t=Ir(pn,this))||void 0===t||t.abort(),Rr(pn,this,null)}function ui(){var t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})}function ci(t){var e=this;Object.entries(t).some((function(t){var r=Ar(t,2),n=r[0],i=r[1];return Ir(Hn,e)[n]!==i}))&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(Ir(Hn,this),t)}),Ir(Dn,this)===A.HIGHLIGHT&&!1===t.hasSelectedEditor&&Fr(Xn,this,li).call(this,[[_.HIGHLIGHT_FREE,!0]]))}function li(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})}function hi(){return fi.apply(this,arguments)}function fi(){return(fi=Sr(_r().mark((function t(){var e,r,n,i,a,o;return _r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Ir(Mn,this)){t.next=9;break}Rr(Mn,this,!0),e=[],r=Dr(Ir(ln,this).values());try{for(r.s();!(n=r.n()).done;)i=n.value,e.push(i.enable())}catch(t){r.e(t)}finally{r.f()}return t.next=7,Promise.all(e);case 7:a=Dr(Ir(cn,this).values());try{for(a.s();!(o=a.n()).done;)o.value.enable()}catch(t){a.e(t)}finally{a.f()}case 9:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function di(){if(this.unselectAll(),Ir(Mn,this)){Rr(Mn,this,!1);var t,e=Dr(Ir(ln,this).values());try{for(e.s();!(t=e.n()).done;)t.value.disable()}catch(t){e.e(t)}finally{e.f()}var r,n=Dr(Ir(cn,this).values());try{for(n.s();!(r=n.n()).done;)r.value.disable()}catch(t){n.e(t)}finally{n.f()}}}function vi(t){var e=Ir(ln,this).get(t.pageIndex);e?e.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))}function pi(){if(0===Ir(cn,this).size)return!0;if(1===Ir(cn,this).size){var t,e=Dr(Ir(cn,this).values());try{for(e.s();!(t=e.n()).done;)return t.value.isEmpty()}catch(t){e.e(t)}finally{e.f()}}return!1}function yi(t){var e,r=Dr(Ir(Nn,this));try{for(r.s();!(e=r.n()).done;)e.value.unselect()}catch(t){r.e(t)}finally{r.f()}Ir(Nn,this).clear();var n,i=Dr(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;a.isEmpty()||(Ir(Nn,this).add(a),a.select())}}catch(t){i.e(t)}finally{i.f()}Fr(Xn,this,ci).call(this,{hasSelectedEditor:this.hasSelection})}function gi(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return mi(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mi(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function mi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bi(){bi=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function wi(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ki(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){wi(a,n,i,o,s,"next",t)}function s(t){wi(a,n,i,o,s,"throw",t)}o(void 0)}))}}function xi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ai(n.key),n)}}function Ai(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function _i(t,e,r){Ei(t,e),e.set(t,r)}function Ei(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Si(t,e,r){return r(Pi(t,e))}function Oi(t,e){return t.get(Pi(t,e))}function Ti(t,e,r){return t.set(Pi(t,e),r),r}function Pi(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}kr(Kn,"TRANSLATE_SMALL",1),kr(Kn,"TRANSLATE_BIG",10);var Li=new WeakMap,Mi=new WeakMap,Ci=new WeakMap,ji=new WeakMap,Ii=new WeakMap,Ri=new WeakMap,Fi=new WeakMap,Di=new WeakMap,Ni=new WeakMap,Wi=new WeakMap,Bi=new WeakMap,Gi=new WeakSet,Hi=function(){function t(e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ei(this,r=Gi),r.add(this),_i(this,Li,null),_i(this,Mi,!1),_i(this,Ci,null),_i(this,ji,null),_i(this,Ii,null),_i(this,Ri,!1),_i(this,Fi,null),_i(this,Di,null),_i(this,Ni,null),_i(this,Wi,null),_i(this,Bi,!1),Ti(Di,this,e),Ti(Bi,this,e._uiManager.useNewAltTextFlow),Ki._||(Ki._=Object.freeze({added:"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button-label"}))}return e=t,r=[{key:"render",value:function(){var e=ki(bi().mark((function e(){var r,n,i,a,o=this;return bi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=Ti(Ci,this,document.createElement("button"))).className="altText",!Oi(Bi,this)){e.next=9;break}return r.classList.add("new"),e.next=6,t._l10nPromise.get(Ki._.missing);case 6:n=e.sent,e.next=12;break;case 9:return e.next=11,t._l10nPromise.get("pdfjs-editor-alt-text-button-label");case 11:n=e.sent;case 12:return r.textContent=n,r.setAttribute("aria-label",n),r.tabIndex="0",i=Oi(Di,this)._uiManager._signal,r.addEventListener("contextmenu",Te,{signal:i}),r.addEventListener("pointerdown",(function(t){return t.stopPropagation()}),{signal:i}),a=function(t){t.preventDefault(),Oi(Di,o)._uiManager.editAltText(Oi(Di,o)),Oi(Bi,o)&&Oi(Di,o)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:Si(Gi,o,Ui)}})},r.addEventListener("click",a,{capture:!0,signal:i}),r.addEventListener("keydown",(function(t){t.target===r&&"Enter"===t.key&&(Ti(Ri,o,!0),a(t))}),{signal:i}),e.next=23,Pi(Gi,this,zi).call(this);case 23:return e.abrupt("return",r);case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"finish",value:function(){Oi(Ci,this)&&(Oi(Ci,this).focus({focusVisible:Oi(Ri,this)}),Ti(Ri,this,!1))}},{key:"isEmpty",value:function(){return Oi(Bi,this)?null===Oi(Li,this):!Oi(Li,this)&&!Oi(Mi,this)}},{key:"hasData",value:function(){return Oi(Bi,this)?null!==Oi(Li,this)||!!Oi(Ni,this):this.isEmpty()}},{key:"guessedText",get:function(){return Oi(Ni,this)}},{key:"setGuessedText",value:(i=ki(bi().mark((function e(r){return bi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===Oi(Li,this)){e.next=2;break}return e.abrupt("return");case 2:return Ti(Ni,this,r),e.t0=Ti,e.t1=Wi,e.t2=this,e.next=8,t._l10nPromise.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer")({generatedAltText:r});case 8:e.t3=e.sent,(0,e.t0)(e.t1,e.t2,e.t3),Pi(Gi,this,zi).call(this);case 11:case"end":return e.stop()}}),e,this)}))),function(t){return i.apply(this,arguments)})},{key:"toggleAltTextBadge",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!Oi(Bi,this)||Oi(Li,this))return null===(t=Oi(Fi,this))||void 0===t||t.remove(),void Ti(Fi,this,null);if(!Oi(Fi,this)){var r=Ti(Fi,this,document.createElement("div"));r.className="noAltTextBadge",Oi(Di,this).div.append(r)}Oi(Fi,this).classList.toggle("hidden",!e)}},{key:"serialize",value:function(t){var e=Oi(Li,this);return t||Oi(Ni,this)!==e||(e=Oi(Wi,this)),{altText:e,decorative:Oi(Mi,this),guessedText:Oi(Ni,this),textWithDisclaimer:Oi(Wi,this)}}},{key:"data",get:function(){return{altText:Oi(Li,this),decorative:Oi(Mi,this)}},set:function(t){var e=t.altText,r=t.decorative,n=t.guessedText,i=t.textWithDisclaimer,a=t.cancel,o=void 0!==a&&a;n&&(Ti(Ni,this,n),Ti(Wi,this,i)),Oi(Li,this)===e&&Oi(Mi,this)===r||(o||(Ti(Li,this,e),Ti(Mi,this,r)),Pi(Gi,this,zi).call(this))}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Oi(Ci,this)&&(!t&&Oi(Ii,this)&&(clearTimeout(Oi(Ii,this)),Ti(Ii,this,null)),Oi(Ci,this).disabled=!t)}},{key:"shown",value:function(){Oi(Di,this)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:Si(Gi,this,Ui)}})}},{key:"destroy",value:function(){var t,e;null===(t=Oi(Ci,this))||void 0===t||t.remove(),Ti(Ci,this,null),Ti(ji,this,null),null===(e=Oi(Fi,this))||void 0===e||e.remove(),Ti(Fi,this,null)}}],n=[{key:"initialize",value:function(e){t._l10nPromise||(t._l10nPromise=e)}}],r&&xi(e.prototype,r),n&&xi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n,i}();function Ui(t){return(Oi(Li,t)?"added":null===Oi(Li,t)&&t.guessedText&&"review")||"missing"}function zi(){return Vi.apply(this,arguments)}function Vi(){return(Vi=ki(bi().mark((function t(){var e,r,n,i,a,o,s=this;return bi().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=Oi(Ci,this)){t.next=3;break}return t.abrupt("return");case 3:if(!Oi(Bi,this)){t.next=11;break}if(e.classList.toggle("done",!!Oi(Li,this)),on._l10nPromise.get(Ki._[Si(Gi,this,Ui)]).then((function(t){e.setAttribute("aria-label",t);var r,n=gi(e.childNodes);try{for(n.s();!(r=n.n()).done;){var i=r.value;if(i.nodeType===Node.TEXT_NODE){i.textContent=t;break}}}catch(t){n.e(t)}finally{n.f()}})),Oi(Li,this)){t.next=9;break}return null===(r=Oi(ji,this))||void 0===r||r.remove(),t.abrupt("return");case 9:t.next=17;break;case 11:if(Oi(Li,this)||Oi(Mi,this)){t.next=15;break}return e.classList.remove("done"),null===(n=Oi(ji,this))||void 0===n||n.remove(),t.abrupt("return");case 15:e.classList.add("done"),on._l10nPromise.get("pdfjs-editor-alt-text-edit-button-label").then((function(t){e.setAttribute("aria-label",t)}));case 17:if((i=Oi(ji,this))||(Ti(ji,this,i=document.createElement("span")),i.className="tooltip",i.setAttribute("role","tooltip"),i.id="alt-text-tooltip-".concat(Oi(Di,this).id),(a=Oi(Di,this)._uiManager._signal).addEventListener("abort",(function(){clearTimeout(Oi(Ii,s)),Ti(Ii,s,null)}),{once:!0}),e.addEventListener("mouseenter",(function(){Ti(Ii,s,setTimeout((function(){Ti(Ii,s,null),Oi(ji,s).classList.add("show"),Oi(Di,s)._reportTelemetry({action:"alt_text_tooltip"})}),100))}),{signal:a}),e.addEventListener("mouseleave",(function(){var t;Oi(Ii,s)&&(clearTimeout(Oi(Ii,s)),Ti(Ii,s,null)),null===(t=Oi(ji,s))||void 0===t||t.classList.remove("show")}),{signal:a})),!Oi(Mi,this)){t.next=25;break}return t.next=22,on._l10nPromise.get("pdfjs-editor-alt-text-decorative-tooltip");case 22:t.t0=t.sent,t.next=26;break;case 25:t.t0=Oi(Li,this);case 26:i.innerText=t.t0,i.parentNode||e.append(i),null==(o=Oi(Di,this).getImageForAltText())||o.setAttribute("aria-describedby",i.id);case 30:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}on=Hi;var qi,Yi,Xi,Ki={_:null};function Qi(t,e,r){return e=$i(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ji()?Reflect.construct(e,r||[],$i(t).constructor):e.apply(t,r))}function Ji(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ji=function(){return!!t})()}function $i(t){return $i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$i(t)}function Zi(t,e){return Zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zi(t,e)}function ta(t){return function(t){if(Array.isArray(t))return sa(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||oa(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ea(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=oa(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function ra(){ra=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function na(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ia(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){na(a,n,i,o,s,"next",t)}function s(t){na(a,n,i,o,s,"throw",t)}o(void 0)}))}}function aa(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||oa(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oa(t,e){if(t){if("string"==typeof t)return sa(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sa(t,e):void 0}}function sa(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ua(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fa(n.key),n)}}function la(t,e,r){return e&&ca(t.prototype,e),r&&ca(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ha(t,e,r){return(e=fa(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fa(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function da(t,e,r){va(t,e),e.set(t,r)}function va(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function pa(t,e,r){return t.set(ga(t,e),r),r}function ya(t,e){return t.get(ga(t,e))}function ga(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}qi=Hi,(Yi=Ai(Yi="_l10nPromise"))in qi?Object.defineProperty(qi,Yi,{value:null,enumerable:!0,configurable:!0,writable:!0}):qi[Yi]=null;var ma=new WeakMap,ba=new WeakMap,wa=new WeakMap,ka=new WeakMap,xa=new WeakMap,Aa=new WeakMap,_a=new WeakMap,Ea=new WeakMap,Sa=new WeakMap,Oa=new WeakMap,Ta=new WeakMap,Pa=new WeakMap,La=new WeakMap,Ma=new WeakMap,Ca=new WeakMap,ja=new WeakMap,Ia=new WeakMap,Ra=new WeakMap,Fa=new WeakMap,Da=new WeakMap,Na=new WeakSet,Wa=function(){function t(e){ua(this,t),function(t,e){va(t,e),e.add(t)}(this,Na),da(this,ma,null),da(this,ba,null),da(this,wa,null),da(this,ka,!1),da(this,xa,!1),da(this,Aa,null),da(this,_a,null),da(this,Ea,null),da(this,Sa,""),da(this,Oa,!1),da(this,Ta,null),da(this,Pa,!1),da(this,La,!1),da(this,Ma,!1),da(this,Ca,null),da(this,ja,0),da(this,Ia,0),da(this,Ra,null),ha(this,"_editToolbar",null),ha(this,"_initialOptions",Object.create(null)),ha(this,"_initialData",null),ha(this,"_isVisible",!0),ha(this,"_uiManager",null),ha(this,"_focusEventsAllowed",!0),da(this,Fa,!1),da(this,Da,t._zIndex++),this.parent=e.parent,this.id=e.id,this.width=this.height=null,this.pageIndex=e.parent.pageIndex,this.name=e.name,this.div=null,this._uiManager=e.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=e.isCentered,this._structTreeParentId=null;var r=this.parent.viewport,n=r.rotation,i=r.rawDims,a=i.pageWidth,o=i.pageHeight,s=i.pageX,u=i.pageY;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[a,o],this.pageTranslation=[s,u];var c=aa(this.parentDimensions,2),l=c[0],h=c[1];this.x=e.x/l,this.y=e.y/h,this.isAttachedToDOM=!1,this.deleted=!1}return la(t,[{key:"editorType",get:function(){return Object.getPrototypeOf(this).constructor._type}},{key:"propertiesToUpdate",get:function(){return[]}},{key:"_isDraggable",get:function(){return ya(Fa,this)},set:function(t){var e;pa(Fa,this,t),null===(e=this.div)||void 0===e||e.classList.toggle("draggable",t)}},{key:"isEnterHandled",get:function(){return!0}},{key:"center",value:function(){var t=aa(this.pageDimensions,2),e=t[0],r=t[1];switch(this.parentRotation){case 90:this.x-=this.height*r/(2*e),this.y+=this.width*e/(2*r);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*r/(2*e),this.y-=this.width*e/(2*r);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}},{key:"addCommands",value:function(t){this._uiManager.addCommands(t)}},{key:"currentLayer",get:function(){return this._uiManager.currentLayer}},{key:"setInBackground",value:function(){this.div.style.zIndex=0}},{key:"setInForeground",value:function(){this.div.style.zIndex=ya(Da,this)}},{key:"setParent",value:function(t){null!==t?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):ga(Na,this,to).call(this),this.parent=t}},{key:"focusin",value:function(t){this._focusEventsAllowed&&(ya(Oa,this)?pa(Oa,this,!1):this.parent.setSelected(this))}},{key:"focusout",value:function(t){var e;if(this._focusEventsAllowed&&this.isAttachedToDOM){var r=t.relatedTarget;null!=r&&r.closest("#".concat(this.id))||(t.preventDefault(),null!==(e=this.parent)&&void 0!==e&&e.isMultipleSelection||this.commitOrRemove())}}},{key:"commitOrRemove",value:function(){this.isEmpty()?this.remove():this.commit()}},{key:"commit",value:function(){this.addToAnnotationStorage()}},{key:"addToAnnotationStorage",value:function(){this._uiManager.addToAnnotationStorage(this)}},{key:"setAt",value:function(t,e,r,n){var i=aa(this.parentDimensions,2),a=i[0],o=i[1],s=aa(this.screenToPageTranslation(r,n),2);r=s[0],n=s[1],this.x=(t+r)/a,this.y=(e+n)/o,this.fixAndSetPosition()}},{key:"translate",value:function(t,e){ga(Na,this,Ba).call(this,this.parentDimensions,t,e)}},{key:"translateInPage",value:function(t,e){ya(Ta,this)||pa(Ta,this,[this.x,this.y]),ga(Na,this,Ba).call(this,this.pageDimensions,t,e),this.div.scrollIntoView({block:"nearest"})}},{key:"drag",value:function(t,e){ya(Ta,this)||pa(Ta,this,[this.x,this.y]);var r=aa(this.parentDimensions,2),n=r[0],i=r[1];if(this.x+=t/n,this.y+=e/i,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){var a=this.div.getBoundingClientRect(),o=a.x,s=a.y;this.parent.findNewParent(this,o,s)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}var u=this.x,c=this.y,l=aa(this.getBaseTranslation(),2);u+=l[0],c+=l[1],this.div.style.left="".concat((100*u).toFixed(2),"%"),this.div.style.top="".concat((100*c).toFixed(2),"%"),this.div.scrollIntoView({block:"nearest"})}},{key:"_hasBeenMoved",get:function(){return!!ya(Ta,this)&&(ya(Ta,this)[0]!==this.x||ya(Ta,this)[1]!==this.y)}},{key:"getBaseTranslation",value:function(){var e=aa(this.parentDimensions,2),r=e[0],n=e[1],i=t._borderLineWidth,a=i/r,o=i/n;switch(this.rotation){case 90:return[-a,o];case 180:return[a,o];case 270:return[a,-o];default:return[-a,-o]}}},{key:"_mustFixPosition",get:function(){return!0}},{key:"fixAndSetPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.rotation,e=aa(this.pageDimensions,2),r=e[0],n=e[1],i=this.x,a=this.y,o=this.width,s=this.height;if(o*=r,s*=n,i*=r,a*=n,this._mustFixPosition)switch(t){case 0:i=Math.max(0,Math.min(r-o,i)),a=Math.max(0,Math.min(n-s,a));break;case 90:i=Math.max(0,Math.min(r-s,i)),a=Math.min(n,Math.max(o,a));break;case 180:i=Math.min(r,Math.max(o,i)),a=Math.min(n,Math.max(s,a));break;case 270:i=Math.min(r,Math.max(s,i)),a=Math.max(0,Math.min(n-o,a))}this.x=i/=r,this.y=a/=n;var u=aa(this.getBaseTranslation(),2);i+=u[0],a+=u[1];var c=this.div.style;c.left="".concat((100*i).toFixed(2),"%"),c.top="".concat((100*a).toFixed(2),"%"),this.moveInDOM()}},{key:"screenToPageTranslation",value:function(e,r){return Ga.call(t,e,r,this.parentRotation)}},{key:"pageTranslationToScreen",value:function(e,r){return Ga.call(t,e,r,360-this.parentRotation)}},{key:"parentScale",get:function(){return this._uiManager.viewParameters.realScale}},{key:"parentRotation",get:function(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}},{key:"parentDimensions",get:function(){var t=this.parentScale,e=aa(this.pageDimensions,2);return[e[0]*t,e[1]*t]}},{key:"setDims",value:function(t,e){var r=aa(this.parentDimensions,2),n=r[0],i=r[1];this.div.style.width="".concat((100*t/n).toFixed(2),"%"),ya(xa,this)||(this.div.style.height="".concat((100*e/i).toFixed(2),"%"))}},{key:"fixDims",value:function(){var t=this.div.style,e=t.height,r=t.width,n=r.endsWith("%"),i=!ya(xa,this)&&e.endsWith("%");if(!n||!i){var a=aa(this.parentDimensions,2),o=a[0],s=a[1];n||(t.width="".concat((100*parseFloat(r)/o).toFixed(2),"%")),ya(xa,this)||i||(t.height="".concat((100*parseFloat(e)/s).toFixed(2),"%"))}}},{key:"getInitialTranslation",value:function(){return[0,0]}},{key:"altTextFinish",value:function(){var t;null===(t=ya(wa,this))||void 0===t||t.finish()}},{key:"addEditToolbar",value:(i=ia(ra().mark((function t(){return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._editToolbar&&!ya(La,this)){t.next=2;break}return t.abrupt("return",this._editToolbar);case 2:if(this._editToolbar=new ir(this),this.div.append(this._editToolbar.render()),!ya(wa,this)){t.next=7;break}return t.next=7,this._editToolbar.addAltText(ya(wa,this));case 7:return t.abrupt("return",this._editToolbar);case 8:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"removeEditToolbar",value:function(){var t;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,null===(t=ya(wa,this))||void 0===t||t.destroy())}},{key:"addContainer",value:function(t){var e,r=null===(e=this._editToolbar)||void 0===e?void 0:e.div;r?r.before(t):this.div.append(t)}},{key:"getClientDimensions",value:function(){return this.div.getBoundingClientRect()}},{key:"addAltTextButton",value:(n=ia(ra().mark((function e(){return ra().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ya(wa,this)){e.next=2;break}return e.abrupt("return");case 2:return Hi.initialize(t._l10nPromise),pa(wa,this,new Hi(this)),ya(ma,this)&&(ya(wa,this).data=ya(ma,this),pa(ma,this,null)),e.next=7,this.addEditToolbar();case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"altTextData",get:function(){var t;return null===(t=ya(wa,this))||void 0===t?void 0:t.data},set:function(t){ya(wa,this)&&(ya(wa,this).data=t)}},{key:"guessedAltText",get:function(){var t;return null===(t=ya(wa,this))||void 0===t?void 0:t.guessedText}},{key:"setGuessedAltText",value:(r=ia(ra().mark((function t(e){var r;return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null===(r=ya(wa,this))||void 0===r?void 0:r.setGuessedText(e);case 2:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"serializeAltText",value:function(t){var e;return null===(e=ya(wa,this))||void 0===e?void 0:e.serialize(t)}},{key:"hasAltText",value:function(){return!!ya(wa,this)&&!ya(wa,this).isEmpty()}},{key:"hasAltTextData",value:function(){var t,e;return null!==(t=null===(e=ya(wa,this))||void 0===e?void 0:e.hasData())&&void 0!==t&&t}},{key:"render",value:function(){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=ya(ka,this)?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),ga(Na,this,Ka).call(this);var t=aa(this.parentDimensions,2),e=t[0],r=t[1];this.parentRotation%180!=0&&(this.div.style.maxWidth="".concat((100*r/e).toFixed(2),"%"),this.div.style.maxHeight="".concat((100*e/r).toFixed(2),"%"));var n=aa(this.getInitialTranslation(),2),i=n[0],a=n[1];return this.translate(i,a),Br(this,this.div,["pointerdown"]),this.div}},{key:"pointerdown",value:function(t){var e=J.platform.isMac;0!==t.button||t.ctrlKey&&e?t.preventDefault():(pa(Oa,this,!0),this._isDraggable?ga(Na,this,Xa).call(this,t):ga(Na,this,Ya).call(this,t))}},{key:"isSelected",get:function(){return this._uiManager.isSelected(this)}},{key:"moveInDOM",value:function(){var t=this;ya(Ca,this)&&clearTimeout(ya(Ca,this)),pa(Ca,this,setTimeout((function(){var e;pa(Ca,t,null),null===(e=t.parent)||void 0===e||e.moveEditorInDOM(t)}),0))}},{key:"_setParentAndPosition",value:function(t,e,r){t.changeParent(this),this.x=e,this.y=r,this.fixAndSetPosition()}},{key:"getRect",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.rotation,n=this.parentScale,i=aa(this.pageDimensions,2),a=i[0],o=i[1],s=aa(this.pageTranslation,2),u=s[0],c=s[1],l=t/n,h=e/n,f=this.x*a,d=this.y*o,v=this.width*a,p=this.height*o;switch(r){case 0:return[f+l+u,o-d-h-p+c,f+l+v+u,o-d-h+c];case 90:return[f+h+u,o-d+l+c,f+h+p+u,o-d+l+v+c];case 180:return[f-l-v+u,o-d+h+c,f-l+u,o-d+h+p+c];case 270:return[f-h-p+u,o-d-l-v+c,f-h+u,o-d-l+c];default:throw new Error("Invalid rotation")}}},{key:"getRectInCurrentCoords",value:function(t,e){var r=aa(t,4),n=r[0],i=r[1],a=r[2],o=r[3],s=a-n,u=o-i;switch(this.rotation){case 0:return[n,e-o,s,u];case 90:return[n,e-i,u,s];case 180:return[a,e-i,s,u];case 270:return[a,e-o,u,s];default:throw new Error("Invalid rotation")}}},{key:"onceAdded",value:function(){}},{key:"isEmpty",value:function(){return!1}},{key:"enableEditMode",value:function(){pa(La,this,!0)}},{key:"disableEditMode",value:function(){pa(La,this,!1)}},{key:"isInEditMode",value:function(){return ya(La,this)}},{key:"shouldGetKeyboardEvents",value:function(){return ya(Ma,this)}},{key:"needsToBeRebuilt",value:function(){return this.div&&!this.isAttachedToDOM}},{key:"rebuild",value:function(){ga(Na,this,Ka).call(this)}},{key:"rotate",value:function(t){}},{key:"serializeDeleted",value:function(){var t;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:(null===(t=this._initialData)||void 0===t?void 0:t.popupRef)||""}}},{key:"serialize",value:function(){F("An editor must be serializable")}},{key:"hasBeenModified",get:function(){return!!this.annotationElementId&&(this.deleted||null!==this.serialize())}},{key:"remove",value:function(){var t;if(null===(t=ya(Ea,this))||void 0===t||t.abort(),pa(Ea,this,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),ya(Ca,this)&&(clearTimeout(ya(Ca,this)),pa(Ca,this,null)),ga(Na,this,to).call(this),this.removeEditToolbar(),ya(Ra,this)){var e,r=ea(ya(Ra,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;clearTimeout(n)}}catch(t){r.e(t)}finally{r.f()}pa(Ra,this,null)}this.parent=null}},{key:"isResizable",get:function(){return!1}},{key:"makeResizable",value:function(){this.isResizable&&(ga(Na,this,Ua).call(this),ya(Aa,this).classList.remove("hidden"),Br(this,this.div,["keydown"]))}},{key:"toolbarPosition",get:function(){return null}},{key:"keydown",value:function(e){if(this.isResizable&&e.target===this.div&&"Enter"===e.key){this._uiManager.setSelected(this),pa(_a,this,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});var r=ya(Aa,this).children;if(!ya(ba,this)){pa(ba,this,Array.from(r));var n,i=ga(Na,this,Qa).bind(this),a=ga(Na,this,Ja).bind(this),o=this._uiManager._signal,s=ea(ya(ba,this));try{for(s.s();!(n=s.n()).done;){var u=n.value,c=u.getAttribute("data-resizer-name");u.setAttribute("role","spinbutton"),u.addEventListener("keydown",i,{signal:o}),u.addEventListener("blur",a,{signal:o}),u.addEventListener("focus",ga(Na,this,$a).bind(this,c),{signal:o}),u.setAttribute("data-l10n-id",t._l10nResizer[c])}}catch(t){s.e(t)}finally{s.f()}}var l,h=ya(ba,this)[0],f=0,d=ea(r);try{for(d.s();!(l=d.n()).done&&l.value!==h;)f++}catch(t){d.e(t)}finally{d.f()}var v=(360-this.rotation+this.parentRotation)%360/90*(ya(ba,this).length/4);if(v!==f){if(v<f)for(var p=0;p<f-v;p++)ya(Aa,this).append(ya(Aa,this).firstChild);else if(v>f)for(var y=0;y<v-f;y++)ya(Aa,this).firstChild.before(ya(Aa,this).lastChild);var g,m=0,b=ea(r);try{for(b.s();!(g=b.n()).done;){var w=g.value,k=ya(ba,this)[m++].getAttribute("data-resizer-name");w.setAttribute("data-l10n-id",t._l10nResizer[k])}}catch(t){b.e(t)}finally{b.f()}}ga(Na,this,Za).call(this,0),pa(Ma,this,!0),ya(Aa,this).firstChild.focus({focusVisible:!0}),e.preventDefault(),e.stopImmediatePropagation()}}},{key:"_resizeWithKeyboard",value:function(t,e){ya(Ma,this)&&ga(Na,this,qa).call(this,ya(Sa,this),{movementX:t,movementY:e})}},{key:"_stopResizingWithKeyboard",value:function(){ga(Na,this,to).call(this),this.div.focus()}},{key:"select",value:function(){var t,e,r,n=this;this.makeResizable(),null===(t=this.div)||void 0===t||t.classList.add("selectedEditor"),this._editToolbar?(null===(e=this._editToolbar)||void 0===e||e.show(),null===(r=ya(wa,this))||void 0===r||r.toggleAltTextBadge(!1)):this.addEditToolbar().then((function(){var t,e;null!==(t=n.div)&&void 0!==t&&t.classList.contains("selectedEditor")&&(null===(e=n._editToolbar)||void 0===e||e.show())}))}},{key:"unselect",value:function(){var t,e,r,n,i;null===(t=ya(Aa,this))||void 0===t||t.classList.add("hidden"),null===(e=this.div)||void 0===e||e.classList.remove("selectedEditor"),null!==(r=this.div)&&void 0!==r&&r.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),null===(n=this._editToolbar)||void 0===n||n.hide(),null===(i=ya(wa,this))||void 0===i||i.toggleAltTextBadge(!0)}},{key:"updateParams",value:function(t,e){}},{key:"disableEditing",value:function(){}},{key:"enableEditing",value:function(){}},{key:"enterInEditMode",value:function(){}},{key:"getImageForAltText",value:function(){return null}},{key:"contentDiv",get:function(){return this.div}},{key:"isEditing",get:function(){return ya(Pa,this)},set:function(t){pa(Pa,this,t),this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}},{key:"setAspectRatio",value:function(t,e){pa(xa,this,!0);var r=t/e,n=this.div.style;n.aspectRatio=r,n.height="auto"}},{key:"telemetryInitialData",get:function(){return{action:"added"}}},{key:"telemetryFinalData",get:function(){return null}},{key:"_reportTelemetry",value:function(e){var r=this;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){ya(Ra,this)||pa(Ra,this,new Map);var n=e.action,i=ya(Ra,this).get(n);return i&&clearTimeout(i),i=setTimeout((function(){r._reportTelemetry(e),ya(Ra,r).delete(n),0===ya(Ra,r).size&&pa(Ra,r,null)}),t._telemetryTimeout),void ya(Ra,this).set(n,i)}e.type||(e.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:e}})}},{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible;this.div.classList.toggle("hidden",!t),this._isVisible=t}},{key:"enable",value:function(){this.div&&(this.div.tabIndex=0),pa(ka,this,!1)}},{key:"disable",value:function(){this.div&&(this.div.tabIndex=-1),pa(ka,this,!0)}},{key:"renderAnnotationElement",value:function(t){var e=t.container.querySelector(".annotationContent");if(e){if("CANVAS"===e.nodeName){var r=e;(e=document.createElement("div")).classList.add("annotationContent",this.editorType),r.before(e)}}else(e=document.createElement("div")).classList.add("annotationContent",this.editorType),t.container.prepend(e);return e}},{key:"resetAnnotationElement",value:function(t){var e=t.container.firstChild;"DIV"===(null==e?void 0:e.nodeName)&&e.classList.contains("annotationContent")&&e.remove()}}],[{key:"_resizerKeyboardManager",get:function(){var e=t.prototype._resizeWithKeyboard,r=Kn.TRANSLATE_SMALL,n=Kn.TRANSLATE_BIG;return W(this,"_resizerKeyboardManager",new rn([[["ArrowLeft","mac+ArrowLeft"],e,{args:[-r,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e,{args:[-n,0]}],[["ArrowRight","mac+ArrowRight"],e,{args:[r,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e,{args:[n,0]}],[["ArrowUp","mac+ArrowUp"],e,{args:[0,-r]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e,{args:[0,-n]}],[["ArrowDown","mac+ArrowDown"],e,{args:[0,r]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e,{args:[0,n]}],[["Escape","mac+Escape"],t.prototype._stopResizingWithKeyboard]]))}},{key:"_defaultLineColor",get:function(){return W(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}},{key:"deleteAnnotationElement",value:function(t){var e=new eo({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});e.annotationElementId=t.annotationElementId,e.deleted=!0,e._uiManager.addToAnnotationStorage(e)}},{key:"initialize",value:function(e,r,n){if(t._l10nResizer||(t._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"})),t._l10nPromise||(t._l10nPromise=new Map([].concat(ta(["pdfjs-editor-alt-text-button-label","pdfjs-editor-alt-text-edit-button-label","pdfjs-editor-alt-text-decorative-tooltip","pdfjs-editor-new-alt-text-added-button-label","pdfjs-editor-new-alt-text-missing-button-label","pdfjs-editor-new-alt-text-to-review-button-label"].map((function(t){return[t,e.get(t)]}))),ta(["pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer"].map((function(t){return[t,e.get.bind(e,t)]})))))),null!=n&&n.strings){var i,a=ea(n.strings);try{for(a.s();!(i=a.n()).done;){var o=i.value;t._l10nPromise.set(o,e.get(o))}}catch(t){a.e(t)}finally{a.f()}}if(-1===t._borderLineWidth){var s=getComputedStyle(document.documentElement);t._borderLineWidth=parseFloat(s.getPropertyValue("--outline-width"))||0}}},{key:"updateDefaultParams",value:function(t,e){}},{key:"defaultPropertiesToUpdate",get:function(){return[]}},{key:"isHandlingMimeForPasting",value:function(t){return!1}},{key:"paste",value:function(t,e){F("Not implemented")}},{key:"deserialize",value:(e=ia(ra().mark((function t(e,r,n){var i,a,o,s,u,c,l,h,f,d;return ra().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(i=new this.prototype.constructor({parent:r,id:r.getNextId(),uiManager:n})).rotation=e.rotation,pa(ma,i,e.accessibilityData),a=aa(i.pageDimensions,2),o=a[0],s=a[1],u=i.getRectInCurrentCoords(e.rect,s),c=aa(u,4),l=c[0],h=c[1],f=c[2],d=c[3],i.x=l/o,i.y=h/s,i.width=f/o,i.height=d/s,t.abrupt("return",i);case 10:case"end":return t.stop()}}),t,this)}))),function(t,r,n){return e.apply(this,arguments)})},{key:"MIN_SIZE",get:function(){return 16}},{key:"canCreateNewEmptyEditor",value:function(){return!0}}]);var e,r,n,i}();function Ba(t,e,r){var n=aa(t,2),i=n[0],a=n[1],o=aa(this.screenToPageTranslation(e,r),2);e=o[0],r=o[1],this.x+=e/i,this.y+=r/a,this.fixAndSetPosition()}function Ga(t,e,r){switch(r){case 90:return[e,-t];case 180:return[-t,-e];case 270:return[-e,t];default:return[t,e]}}function Ha(t){switch(t){case 90:var e=aa(this.pageDimensions,2),r=e[0],n=e[1];return[0,-r/n,n/r,0];case 180:return[-1,0,0,-1];case 270:var i=aa(this.pageDimensions,2),a=i[0],o=i[1];return[0,a/o,-o/a,0];default:return[1,0,0,1]}}function Ua(){if(!ya(Aa,this)){pa(Aa,this,document.createElement("div")),ya(Aa,this).classList.add("resizers");for(var t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],e=this._uiManager._signal,r=0,n=t;r<n.length;r++){var i=n[r],a=document.createElement("div");ya(Aa,this).append(a),a.classList.add("resizer",i),a.setAttribute("data-resizer-name",i),a.addEventListener("pointerdown",ga(Na,this,za).bind(this,i),{signal:e}),a.addEventListener("contextmenu",Te,{signal:e}),a.tabIndex=-1}this.div.prepend(ya(Aa,this))}}function za(t,e){var r,n=this;e.preventDefault();var i=J.platform.isMac;if(!(0!==e.button||e.ctrlKey&&i)){null===(r=ya(wa,this))||void 0===r||r.toggle(!1);var a=this._isDraggable;this._isDraggable=!1;var o=new AbortController,s=this._uiManager.combinedSignal(o);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",ga(Na,this,qa).bind(this,t),{passive:!0,capture:!0,signal:s}),window.addEventListener("contextmenu",Te,{signal:s});var u=this.x,c=this.y,l=this.width,h=this.height,f=this.parent.div.style.cursor,d=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(e.target).cursor;var v=function(){var t;o.abort(),n.parent.togglePointerEvents(!0),null===(t=ya(wa,n))||void 0===t||t.toggle(!0),n._isDraggable=a,n.parent.div.style.cursor=f,n.div.style.cursor=d,ga(Na,n,Va).call(n,u,c,l,h)};window.addEventListener("pointerup",v,{signal:s}),window.addEventListener("blur",v,{signal:s})}}function Va(t,e,r,n){var i=this,a=this.x,o=this.y,s=this.width,u=this.height;a===t&&o===e&&s===r&&u===n||this.addCommands({cmd:function(){i.width=s,i.height=u,i.x=a,i.y=o;var t=aa(i.parentDimensions,2),e=t[0],r=t[1];i.setDims(e*s,r*u),i.fixAndSetPosition()},undo:function(){i.width=r,i.height=n,i.x=t,i.y=e;var a=aa(i.parentDimensions,2),o=a[0],s=a[1];i.setDims(o*r,s*n),i.fixAndSetPosition()},mustExec:!0})}function qa(t,e){var r,n,i=aa(this.parentDimensions,2),a=i[0],o=i[1],s=this.x,u=this.y,c=this.width,l=this.height,h=Xi.MIN_SIZE/a,f=Xi.MIN_SIZE/o,d=function(t){return Math.round(1e4*t)/1e4},v=ga(Na,this,Ha).call(this,this.rotation),p=function(t,e){return[v[0]*t+v[2]*e,v[1]*t+v[3]*e]},y=ga(Na,this,Ha).call(this,360-this.rotation),g=!1,m=!1;switch(t){case"topLeft":g=!0,r=function(t,e){return[0,0]},n=function(t,e){return[t,e]};break;case"topMiddle":r=function(t,e){return[t/2,0]},n=function(t,e){return[t/2,e]};break;case"topRight":g=!0,r=function(t,e){return[t,0]},n=function(t,e){return[0,e]};break;case"middleRight":m=!0,r=function(t,e){return[t,e/2]},n=function(t,e){return[0,e/2]};break;case"bottomRight":g=!0,r=function(t,e){return[t,e]},n=function(t,e){return[0,0]};break;case"bottomMiddle":r=function(t,e){return[t/2,e]},n=function(t,e){return[t/2,0]};break;case"bottomLeft":g=!0,r=function(t,e){return[0,e]},n=function(t,e){return[t,0]};break;case"middleLeft":m=!0,r=function(t,e){return[0,e/2]},n=function(t,e){return[t,e/2]}}var b,w,k=r(c,l),x=n(c,l),A=p.apply(void 0,ta(x)),_=d(s+A[0]),E=d(u+A[1]),S=1,O=1,T=aa(this.screenToPageTranslation(e.movementX,e.movementY),2),P=T[0],L=T[1],M=aa((b=P/a,w=L/o,[y[0]*b+y[2]*w,y[1]*b+y[3]*w]),2);if(P=M[0],L=M[1],g){var C=Math.hypot(c,l);S=O=Math.max(Math.min(Math.hypot(x[0]-k[0]-P,x[1]-k[1]-L)/C,1/c,1/l),h/c,f/l)}else m?S=Math.max(h,Math.min(1,Math.abs(x[0]-k[0]-P)))/c:O=Math.max(f,Math.min(1,Math.abs(x[1]-k[1]-L)))/l;var j=d(c*S),I=d(l*O),R=_-(A=p.apply(void 0,ta(n(j,I))))[0],F=E-A[1];this.width=j,this.height=I,this.x=R,this.y=F,this.setDims(a*j,o*I),this.fixAndSetPosition()}function Ya(t){var e=J.platform.isMac;t.ctrlKey&&!e||t.shiftKey||t.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this)}function Xa(t){var e=this,r=this.isSelected;this._uiManager.setUpDragSession();var n=new AbortController,i=this._uiManager.combinedSignal(n);r&&(this.div.classList.add("moving"),pa(ja,this,t.clientX),pa(Ia,this,t.clientY),window.addEventListener("pointermove",(function(t){var r=t.clientX,n=t.clientY,i=aa(e.screenToPageTranslation(r-ya(ja,e),n-ya(Ia,e)),2),a=i[0],o=i[1];pa(ja,e,r),pa(Ia,e,n),e._uiManager.dragSelectedEditors(a,o)}),{passive:!0,capture:!0,signal:i}));var a=function(){n.abort(),r&&e.div.classList.remove("moving"),pa(Oa,e,!1),e._uiManager.endDragSession()||ga(Na,e,Ya).call(e,t)};window.addEventListener("pointerup",a,{signal:i}),window.addEventListener("blur",a,{signal:i})}function Ka(){if(!ya(Ea,this)&&this.div){pa(Ea,this,new AbortController);var t=this._uiManager.combinedSignal(ya(Ea,this));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})}}function Qa(t){Xi._resizerKeyboardManager.exec(this,t)}function Ja(t){var e;ya(Ma,this)&&(null===(e=t.relatedTarget)||void 0===e?void 0:e.parentNode)!==ya(Aa,this)&&ga(Na,this,to).call(this)}function $a(t){pa(Sa,this,ya(Ma,this)?t:"")}function Za(t){if(ya(ba,this)){var e,r=ea(ya(ba,this));try{for(r.s();!(e=r.n()).done;)e.value.tabIndex=t}catch(t){r.e(t)}finally{r.f()}}}function to(){if(pa(Ma,this,!1),ga(Na,this,Za).call(this,-1),ya(_a,this)){var t=ya(_a,this),e=t.savedX,r=t.savedY,n=t.savedWidth,i=t.savedHeight;ga(Na,this,Va).call(this,e,r,n,i),pa(_a,this,null)}}Xi=Wa,ha(Wa,"_l10nPromise",null),ha(Wa,"_l10nResizer",null),ha(Wa,"_borderLineWidth",-1),ha(Wa,"_colorManager",new an),ha(Wa,"_zIndex",1),ha(Wa,"_telemetryTimeout",1e3);var eo=function(t){function e(t){var r;return ua(this,e),(r=Qi(this,e,[t])).annotationElementId=t.annotationElementId,r.deleted=!0,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Zi(t,e)}(e,Wa),la(e,[{key:"serialize",value:function(){return this.serializeDeleted()}}])}();function ro(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,no(n.key),n)}}function no(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var io=3285377520,ao=4294901760,oo=65535,so=function(){return function(t,e,r){return e&&ro(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.h1=e?4294967295&e:io,this.h2=e?4294967295&e:io}),[{key:"update",value:function(t){var e,r;if("string"==typeof t){e=new Uint8Array(2*t.length),r=0;for(var n=0,i=t.length;n<i;n++){var a=t.charCodeAt(n);a<=255?e[r++]=a:(e[r++]=a>>>8,e[r++]=255&a)}}else{if(!ArrayBuffer.isView(t))throw new Error("Invalid data format, must be a string or TypedArray.");r=(e=t.slice()).byteLength}for(var o=r>>2,s=r-4*o,u=new Uint32Array(e.buffer,0,o),c=0,l=0,h=this.h1,f=this.h2,d=3432918353,v=461845907,p=11601,y=13715,g=0;g<o;g++)1&g?h=5*(h=(h^=c=(c=(c=(c=u[g])*d&ao|c*p&oo)<<15|c>>>17)*v&ao|c*y&oo)<<13|h>>>19)+3864292196:f=5*(f=(f^=l=(l=(l=(l=u[g])*d&ao|l*p&oo)<<15|l>>>17)*v&ao|l*y&oo)<<13|f>>>19)+3864292196;switch(c=0,s){case 3:c^=e[4*o+2]<<16;case 2:c^=e[4*o+1]<<8;case 1:c=(c=(c=(c^=e[4*o])*d&ao|c*p&oo)<<15|c>>>17)*v&ao|c*y&oo,1&o?h^=c:f^=c}this.h1=h,this.h2=f}},{key:"hexdigest",value:function(){var t=this.h1,e=this.h2;return t=3981806797*(t^=e>>>1)&ao|36045*t&oo,t=444984403*(t^=(e=4283543511*e&ao|(2950163797*(e<<16|t>>>16)&ao)>>>16)>>>1)&ao|60499*t&oo,((t^=(e=3301882366*e&ao|(3120437893*(e<<16|t>>>16)&ao)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}}])}();function uo(t,e,r){return e=lo(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,co()?Reflect.construct(e,r||[],lo(t).constructor):e.apply(t,r))}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(co=function(){return!!t})()}function lo(t){return lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},lo(t)}function ho(t,e){return ho=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ho(t,e)}function fo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||po(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vo(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=po(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function po(t,e){if(t){if("string"==typeof t)return yo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yo(t,e):void 0}}function yo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,wo(n.key),n)}}function bo(t,e,r){return e&&mo(t.prototype,e),r&&mo(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function wo(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function ko(t,e,r){xo(t,e),e.set(t,r)}function xo(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ao(t,e,r){return t.set(Eo(t,e),r),r}function _o(t,e){return t.get(Eo(t,e))}function Eo(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var So=Object.freeze({map:null,hash:"",transfer:void 0}),Oo=new WeakMap,To=new WeakMap,Po=new WeakMap,Lo=new WeakSet,Mo=function(){return bo((function t(){go(this,t),function(t,e){xo(t,e),e.add(t)}(this,Lo),ko(this,Oo,!1),ko(this,To,null),ko(this,Po,new Map),this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}),[{key:"getValue",value:function(t,e){var r=_o(Po,this).get(t);return void 0===r?e:Object.assign(e,r)}},{key:"getRawValue",value:function(t){return _o(Po,this).get(t)}},{key:"remove",value:function(t){if(_o(Po,this).delete(t),0===_o(Po,this).size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){var e,r=vo(_o(Po,this).values());try{for(r.s();!(e=r.n()).done;)if(e.value instanceof Wa)return}catch(t){r.e(t)}finally{r.f()}this.onAnnotationEditor(null)}}},{key:"setValue",value:function(t,e){var r=_o(Po,this).get(t),n=!1;if(void 0!==r)for(var i=0,a=Object.entries(e);i<a.length;i++){var o=fo(a[i],2),s=o[0],u=o[1];r[s]!==u&&(n=!0,r[s]=u)}else n=!0,_o(Po,this).set(t,e);n&&Eo(Lo,this,Co).call(this),e instanceof Wa&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(e.constructor._type)}},{key:"has",value:function(t){return _o(Po,this).has(t)}},{key:"getAll",value:function(){return _o(Po,this).size>0?Q(_o(Po,this)):null}},{key:"setAll",value:function(t){for(var e=0,r=Object.entries(t);e<r.length;e++){var n=fo(r[e],2),i=n[0],a=n[1];this.setValue(i,a)}}},{key:"size",get:function(){return _o(Po,this).size}},{key:"resetModified",value:function(){_o(Oo,this)&&(Ao(Oo,this,!1),"function"==typeof this.onResetModified&&this.onResetModified())}},{key:"print",get:function(){return new Io(this)}},{key:"serializable",get:function(){if(0===_o(Po,this).size)return So;var t,e=new Map,r=new so,n=[],i=Object.create(null),a=!1,o=vo(_o(Po,this));try{for(o.s();!(t=o.n()).done;){var s=fo(t.value,2),u=s[0],c=s[1],l=c instanceof Wa?c.serialize(!1,i):c;l&&(e.set(u,l),r.update("".concat(u,":").concat(JSON.stringify(l))),a||(a=!!l.bitmap))}}catch(t){o.e(t)}finally{o.f()}if(a){var h,f=vo(e.values());try{for(f.s();!(h=f.n()).done;){var d=h.value;d.bitmap&&n.push(d.bitmap)}}catch(t){f.e(t)}finally{f.f()}}return e.size>0?{map:e,hash:r.hexdigest(),transfer:n}:So}},{key:"editorStats",get:function(){var t,e=null,r=new Map,n=vo(_o(Po,this).values());try{for(n.s();!(t=n.n()).done;){var i,a=t.value;if(a instanceof Wa){var o=a.telemetryFinalData;if(o){var s=o.type;r.has(s)||r.set(s,Object.getPrototypeOf(a).constructor),e||(e=Object.create(null));for(var u=(i=e)[s]||(i[s]=new Map),c=0,l=Object.entries(o);c<l.length;c++){var h,f=fo(l[c],2),d=f[0],v=f[1];if("type"!==d){var p=u.get(d);p||(p=new Map,u.set(d,p));var y=null!==(h=p.get(v))&&void 0!==h?h:0;p.set(v,y+1)}}}}}}catch(t){n.e(t)}finally{n.f()}var g,m=vo(r);try{for(m.s();!(g=m.n()).done;){var b=fo(g.value,2),w=b[0],k=b[1];e[w]=k.computeTelemetryFinalData(e[w])}}catch(t){m.e(t)}finally{m.f()}return e}},{key:"resetModifiedIds",value:function(){Ao(To,this,null)}},{key:"modifiedIds",get:function(){if(_o(To,this))return _o(To,this);var t,e=[],r=vo(_o(Po,this).values());try{for(r.s();!(t=r.n()).done;){var n=t.value;n instanceof Wa&&n.annotationElementId&&n.serialize()&&e.push(n.annotationElementId)}}catch(t){r.e(t)}finally{r.f()}return Ao(To,this,{ids:new Set(e),hash:e.join(",")})}}])}();function Co(){_o(Oo,this)||(Ao(Oo,this,!0),"function"==typeof this.onSetModified&&this.onSetModified())}var jo=new WeakMap,Io=function(t){function e(t){var r;go(this,e),ko(r=uo(this,e),jo,void 0);var n=t.serializable,i=n.map,a=n.hash,o=n.transfer,s=structuredClone(i,o?{transfer:o}:null);return Ao(jo,r,{map:s,hash:a,transfer:o}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ho(t,e)}(e,Mo),bo(e,[{key:"print",get:function(){F("Should not call PrintAnnotationStorage.print")}},{key:"serializable",get:function(){return _o(jo,this)}},{key:"modifiedIds",get:function(){return W(this,"modifiedIds",{ids:new Set,hash:""})}}])}();function Ro(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Wo(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fo(){Fo=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Do(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function No(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Do(a,n,i,o,s,"next",t)}function s(t){Do(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Wo(t,e){if(t){if("string"==typeof t)return Bo(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bo(t,e):void 0}}function Bo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Go(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,zo(n.key),n)}}function Uo(t,e,r){return e&&Ho(t.prototype,e),r&&Ho(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function zo(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Vo(t,e){return t.get(function(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}(t,e))}r(6625);var qo=new WeakMap,Yo=function(){return Uo((function t(e){var r=e.ownerDocument,n=void 0===r?globalThis.document:r;e.styleElement,Go(this,t),function(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}(this,qo,new Set),this._document=n,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}),[{key:"addNativeFontFace",value:function(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}},{key:"removeNativeFontFace",value:function(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}},{key:"insertRule",value:function(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));var e=this.styleElement.sheet;e.insertRule(t,e.cssRules.length)}},{key:"clear",value:function(){var t,e=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Wo(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(this.nativeFontFaces);try{for(e.s();!(t=e.n()).done;){var r=t.value;this._document.fonts.delete(r)}}catch(t){e.e(t)}finally{e.f()}this.nativeFontFaces.clear(),Vo(qo,this).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"loadSystemFont",value:(e=No(Fo().mark((function t(e){var r,n,i,a,o,s;return Fo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.systemFontInfo,n=e._inspectFont,r&&!Vo(qo,this).has(r.loadedName)){t.next=3;break}return t.abrupt("return");case 3:if(D(!this.disableFontFace,"loadSystemFont shouldn't be called when \`disableFontFace\` is set."),!this.isFontLoadingAPISupported){t.next=20;break}return i=r.loadedName,a=r.src,o=r.style,s=new FontFace(i,a,o),this.addNativeFontFace(s),t.prev=8,t.next=11,s.load();case 11:Vo(qo,this).add(i),null==n||n(r),t.next=19;break;case 15:t.prev=15,t.t0=t.catch(8),R("Cannot load system font: ".concat(r.baseFontName,", installing it could help to improve PDF rendering.")),this.removeNativeFontFace(s);case 19:return t.abrupt("return");case 20:F("Not implemented: loadSystemFont without the Font Loading API.");case 21:case"end":return t.stop()}}),t,this,[[8,15]])}))),function(t){return e.apply(this,arguments)})},{key:"bind",value:(t=No(Fo().mark((function t(e){var r,n,i=this;return Fo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e.attached||e.missingFile&&!e.systemFontInfo)){t.next=2;break}return t.abrupt("return");case 2:if(e.attached=!0,!e.systemFontInfo){t.next=7;break}return t.next=6,this.loadSystemFont(e);case 6:case 21:return t.abrupt("return");case 7:if(!this.isFontLoadingAPISupported){t.next=22;break}if(!(r=e.createNativeFontFace())){t.next=21;break}return this.addNativeFontFace(r),t.prev=11,t.next=14,r.loaded;case 14:t.next=21;break;case 16:throw t.prev=16,t.t0=t.catch(11),R("Failed to load font '".concat(r.family,"': '").concat(t.t0,"'.")),e.disableFontFace=!0,t.t0;case 22:if(!(n=e.createFontFaceRule())){t.next=29;break}if(this.insertRule(n),!this.isSyncFontLoadingSupported){t.next=27;break}return t.abrupt("return");case 27:return t.next=29,new Promise((function(t){var r=i._queueLoadingCallback(t);i._prepareFontLoadEvent(e,r)}));case 29:case"end":return t.stop()}}),t,this,[[11,16]])}))),function(e){return t.apply(this,arguments)})},{key:"isFontLoadingAPISupported",get:function(){var t;return W(this,"isFontLoadingAPISupported",!(null===(t=this._document)||void 0===t||!t.fonts))}},{key:"isSyncFontLoadingSupported",get:function(){var t,e=!1;return(m||"undefined"!=typeof navigator&&"string"==typeof(null===(t=navigator)||void 0===t?void 0:t.userAgent)&&/Mozilla\\/5.0.*?rv:\\d+.*? Gecko/.test(navigator.userAgent))&&(e=!0),W(this,"isSyncFontLoadingSupported",e)}},{key:"_queueLoadingCallback",value:function(t){var e=this.loadingRequests,r={done:!1,complete:function(){for(D(!r.done,"completeRequest() cannot be called twice."),r.done=!0;e.length>0&&e[0].done;){var t=e.shift();setTimeout(t.callback,0)}},callback:t};return e.push(r),r}},{key:"_loadTestFont",get:function(){return W(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}},{key:"_prepareFontLoadEvent",value:function(t,e){function r(t,e){return t.charCodeAt(e)<<24|t.charCodeAt(e+1)<<16|t.charCodeAt(e+2)<<8|255&t.charCodeAt(e+3)}function n(t,e,r,n){return t.substring(0,e)+n+t.substring(e+r)}var i,a,o=this._document.createElement("canvas");o.width=1,o.height=1;var s,u=o.getContext("2d"),c=0,l="lt".concat(Date.now()).concat(this.loadTestFontId++),h=this._loadTestFont,f=1482184792,d=r(h=n(h,976,l.length,l),16);for(i=0,a=l.length-3;i<a;i+=4)d=d-f+r(l,i)|0;i<l.length&&(d=d-f+r(l+"XXX",i)|0),h=n(h,16,4,(s=d,String.fromCharCode(s>>24&255,s>>16&255,s>>8&255,255&s)));var v="url(data:font/opentype;base64,".concat(btoa(h),");"),p='@font-face {font-family:"'.concat(l,'";src:').concat(v,"}");this.insertRule(p);var y=this._document.createElement("div");y.style.visibility="hidden",y.style.width=y.style.height="10px",y.style.position="absolute",y.style.top=y.style.left="0px";for(var g=0,m=[t.loadedName,l];g<m.length;g++){var b=m[g],w=this._document.createElement("span");w.textContent="Hi",w.style.fontFamily=b,y.append(w)}this._document.body.append(y),function t(e,r){if(++c>30)return R("Load test font never loaded."),void r();u.font="30px "+e,u.fillText(".",0,20),u.getImageData(0,0,1,1).data[3]>0?r():setTimeout(t.bind(null,e,r))}(l,(function(){y.remove(),e.complete()}))}}]);var t,e}(),Xo=function(){return Uo((function t(e,r){var n=r.disableFontFace,i=void 0!==n&&n,a=r.inspectFont,o=void 0===a?null:a;for(var s in Go(this,t),this.compiledGlyphs=Object.create(null),e)this[s]=e[s];this.disableFontFace=!0===i,this._inspectFont=o}),[{key:"createNativeFontFace",value:function(){var t,e;if(!this.data||this.disableFontFace)return null;if(this.cssFontInfo){var r={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(r.style="oblique ".concat(this.cssFontInfo.italicAngle,"deg")),e=new FontFace(this.cssFontInfo.fontFamily,this.data,r)}else e=new FontFace(this.loadedName,this.data,{});return null===(t=this._inspectFont)||void 0===t||t.call(this,this),e}},{key:"createFontFaceRule",value:function(){var t;if(!this.data||this.disableFontFace)return null;var e,r=X(this.data),n="url(data:".concat(this.mimetype,";base64,").concat(btoa(r),");");if(this.cssFontInfo){var i="font-weight: ".concat(this.cssFontInfo.fontWeight,";");this.cssFontInfo.italicAngle&&(i+="font-style: oblique ".concat(this.cssFontInfo.italicAngle,"deg;")),e='@font-face {font-family:"'.concat(this.cssFontInfo.fontFamily,'";').concat(i,"src:").concat(n,"}")}else e='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(n,"}");return null===(t=this._inspectFont)||void 0===t||t.call(this,this,n),e}},{key:"getPathGenerator",value:function(t,e){if(void 0!==this.compiledGlyphs[e])return this.compiledGlyphs[e];var r;try{r=t.get(this.loadedName+"_path_"+e)}catch(t){R('getPathGenerator - ignoring character: "'.concat(t,'".'))}if(!Array.isArray(r)||0===r.length)return this.compiledGlyphs[e]=function(t,e){};for(var n=[],i=function(t){switch(r[t++]){case 0:var e=Ro(r.slice(t,t+6),6),i=e[0],o=e[1],s=e[2],u=e[3],c=e[4],l=e[5];n.push((function(t){return t.bezierCurveTo(i,o,s,u,c,l)})),t+=6;break;case 1:var h=Ro(r.slice(t,t+2),2),f=h[0],d=h[1];n.push((function(t){return t.moveTo(f,d)})),t+=2;break;case 2:var v=Ro(r.slice(t,t+2),2),p=v[0],y=v[1];n.push((function(t){return t.lineTo(p,y)})),t+=2;break;case 3:var g=Ro(r.slice(t,t+4),4),m=g[0],b=g[1],w=g[2],k=g[3];n.push((function(t){return t.quadraticCurveTo(m,b,w,k)})),t+=4;break;case 4:n.push((function(t){return t.restore()}));break;case 5:n.push((function(t){return t.save()}));break;case 6:D(2===n.length,"Scale command is only valid at the third position.");break;case 7:var x=Ro(r.slice(t,t+6),6),A=x[0],_=x[1],E=x[2],S=x[3],O=x[4],T=x[5];n.push((function(t){return t.transform(A,_,E,S,O,T)})),t+=6;break;case 8:var P=Ro(r.slice(t,t+2),2),L=P[0],M=P[1];n.push((function(t){return t.translate(L,M)})),t+=2}a=t},a=0,o=r.length;a<o;)i(a);return this.compiledGlyphs[e]=function(t,e){n[0](t),n[1](t),t.scale(e,-e);for(var r=2,i=n.length;r<i;r++)n[r](t)}}}])}();function Ko(t,e,r){return e=Jo(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Qo()?Reflect.construct(e,r||[],Jo(t).constructor):e.apply(t,r))}function Qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Qo=function(){return!!t})()}function Jo(t){return Jo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jo(t)}function $o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Zo(t,e)}function Zo(t,e){return Zo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zo(t,e)}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ns(n.key),n)}}function rs(t,e,r){return e&&es(t.prototype,e),r&&es(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ns(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function is(){is=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function as(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}if(m){var os=Promise.withResolvers(),ss=null,us=function(){var t,e=(t=is().mark((function t(){var e,r,n,i,a,o;return is().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,import("fs");case 2:return e=t.sent,t.next=5,import("http");case 5:return r=t.sent,t.next=8,import("https");case 8:return n=t.sent,t.next=11,import("url");case 11:return i=t.sent,t.prev=12,t.next=15,import("canvas");case 15:a=t.sent,t.next=20;break;case 18:t.prev=18,t.t0=t.catch(12);case 20:return t.prev=20,t.next=23,import("path2d");case 23:o=t.sent,t.next=28;break;case 26:t.prev=26,t.t1=t.catch(20);case 28:return t.abrupt("return",new Map(Object.entries({fs:e,http:r,https:n,url:i,canvas:a,path2d:o})));case 29:case"end":return t.stop()}}),t,null,[[12,18],[20,26]])})),function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){as(a,n,i,o,s,"next",t)}function s(t){as(a,n,i,o,s,"throw",t)}o(void 0)}))});return function(){return e.apply(this,arguments)}}();us().then((function(t){if(ss=t,os.resolve(),!globalThis.DOMMatrix){var e,r=null===(e=t.get("canvas"))||void 0===e?void 0:e.DOMMatrix;r?globalThis.DOMMatrix=r:R("Cannot polyfill \`DOMMatrix\`, rendering may be broken.")}if(!globalThis.Path2D){var n,i,a,o=null===(n=t.get("canvas"))||void 0===n?void 0:n.CanvasRenderingContext2D,s=null===(i=t.get("path2d"))||void 0===i?void 0:i.applyPath2DToCanvasRenderingContext,u=null===(a=t.get("path2d"))||void 0===a?void 0:a.Path2D;o&&s&&u?(s(o),globalThis.Path2D=u):R("Cannot polyfill \`Path2D\`, rendering may be broken.")}}),(function(t){R("loadPackages: ".concat(t)),ss=new Map,os.resolve()}))}var cs=function(){return rs((function t(){ts(this,t)}),null,[{key:"promise",get:function(){return os.promise}},{key:"get",value:function(t){var e;return null===(e=ss)||void 0===e?void 0:e.get(t)}}])}(),ls=function(t){return cs.get("fs").promises.readFile(t).then((function(t){return new Uint8Array(t)}))},hs=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,pt),rs(e)}(),fs=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,gt),rs(e,[{key:"_createCanvas",value:function(t,e){return cs.get("canvas").createCanvas(t,e)}}])}(),ds=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,mt),rs(e,[{key:"_fetchData",value:function(t,e){return ls(t).then((function(t){return{cMapData:t,compressionType:e}}))}}])}(),vs=function(t){function e(){return ts(this,e),Ko(this,e,arguments)}return $o(e,bt),rs(e,[{key:"_fetchData",value:function(t){return ls(t)}}])}();function ps(t){return function(t){if(Array.isArray(t))return ms(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||gs(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ys(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=gs(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function gs(t,e){if(t){if("string"==typeof t)return ms(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ms(t,e):void 0}}function ms(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bs(t,e,r){return e=ks(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ws()?Reflect.construct(e,r||[],ks(t).constructor):e.apply(t,r))}function ws(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ws=function(){return!!t})()}function ks(t){return ks=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ks(t)}function xs(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&As(t,e)}function As(t,e){return As=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},As(t,e)}function _s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Os(n.key),n)}}function Ss(t,e,r){return e&&Es(t.prototype,e),r&&Es(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Os(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(1237);var Ts="Fill",Ps="Stroke",Ls="Shading";function Ms(t,e){if(e){var r=e[2]-e[0],n=e[3]-e[1],i=new Path2D;i.rect(e[0],e[1],r,n),t.clip(i)}}var Cs=function(){return Ss((function t(){_s(this,t)}),[{key:"getPattern",value:function(){F("Abstract method \`getPattern\` called.")}}])}(),js=function(t){function e(t){var r;return _s(this,e),(r=bs(this,e))._type=t[1],r._bbox=t[2],r._colorStops=t[3],r._p0=t[4],r._p1=t[5],r._r0=t[6],r._r1=t[7],r.matrix=null,r}return xs(e,Cs),Ss(e,[{key:"_createGradient",value:function(t){var e;"axial"===this._type?e=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(e=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));var r,n=ys(this._colorStops);try{for(n.s();!(r=n.n()).done;){var i=r.value;e.addColorStop(i[0],i[1])}}catch(t){n.e(t)}finally{n.f()}return e}},{key:"getPattern",value:function(t,e,r,n){var i;if(n===Ps||n===Ts){var a=e.current.getClippedPathBoundingBox(n,je(t))||[0,0,0,0],o=Math.ceil(a[2]-a[0])||1,s=Math.ceil(a[3]-a[1])||1,u=e.cachedCanvases.getCanvas("pattern",o,s),c=u.context;c.clearRect(0,0,c.canvas.width,c.canvas.height),c.beginPath(),c.rect(0,0,c.canvas.width,c.canvas.height),c.translate(-a[0],-a[1]),r=Z.transform(r,[1,0,0,1,a[0],a[1]]),c.transform.apply(c,ps(e.baseTransform)),this.matrix&&c.transform.apply(c,ps(this.matrix)),Ms(c,this._bbox),c.fillStyle=this._createGradient(c),c.fill(),i=t.createPattern(u.canvas,"no-repeat");var l=new DOMMatrix(r);i.setTransform(l)}else Ms(t,this._bbox),i=this._createGradient(t);return i}}])}();function Is(t,e,r,n,i,a,o,s){var u,c=e.coords,l=e.colors,h=t.data,f=4*t.width;c[r+1]>c[n+1]&&(u=r,r=n,n=u,u=a,a=o,o=u),c[n+1]>c[i+1]&&(u=n,n=i,i=u,u=o,o=s,s=u),c[r+1]>c[n+1]&&(u=r,r=n,n=u,u=a,a=o,o=u);var d=(c[r]+e.offsetX)*e.scaleX,v=(c[r+1]+e.offsetY)*e.scaleY,p=(c[n]+e.offsetX)*e.scaleX,y=(c[n+1]+e.offsetY)*e.scaleY,g=(c[i]+e.offsetX)*e.scaleX,m=(c[i+1]+e.offsetY)*e.scaleY;if(!(v>=m))for(var b,w,k,x,A,_,E,S,O=l[a],T=l[a+1],P=l[a+2],L=l[o],M=l[o+1],C=l[o+2],j=l[s],I=l[s+1],R=l[s+2],F=Math.round(v),D=Math.round(m),N=F;N<=D;N++){if(N<y){var W=N<v?0:(v-N)/(v-y);b=d-(d-p)*W,w=O-(O-L)*W,k=T-(T-M)*W,x=P-(P-C)*W}else{var B;b=p-(p-g)*(B=N>m?1:y===m?0:(y-N)/(y-m)),w=L-(L-j)*B,k=M-(M-I)*B,x=C-(C-R)*B}var G=void 0;A=d-(d-g)*(G=N<v?0:N>m?1:(v-N)/(v-m)),_=O-(O-j)*G,E=T-(T-I)*G,S=P-(P-R)*G;for(var H=Math.round(Math.min(b,A)),U=Math.round(Math.max(b,A)),z=f*N+4*H,V=H;V<=U;V++)(G=(b-V)/(b-A))<0?G=0:G>1&&(G=1),h[z++]=w-(w-_)*G|0,h[z++]=k-(k-E)*G|0,h[z++]=x-(x-S)*G|0,h[z++]=255}}function Rs(t,e,r){var n,i,a=e.coords,o=e.colors;switch(e.type){case"lattice":var s=e.verticesPerRow,u=Math.floor(a.length/s)-1,c=s-1;for(n=0;n<u;n++)for(var l=n*s,h=0;h<c;h++,l++)Is(t,r,a[l],a[l+1],a[l+s],o[l],o[l+1],o[l+s]),Is(t,r,a[l+s+1],a[l+1],a[l+s],o[l+s+1],o[l+1],o[l+s]);break;case"triangles":for(n=0,i=a.length;n<i;n+=3)Is(t,r,a[n],a[n+1],a[n+2],o[n],o[n+1],o[n+2]);break;default:throw new Error("illegal figure")}}var Fs=function(t){function e(t){var r;return _s(this,e),(r=bs(this,e))._coords=t[2],r._colors=t[3],r._figures=t[4],r._bounds=t[5],r._bbox=t[7],r._background=t[8],r.matrix=null,r}return xs(e,Cs),Ss(e,[{key:"_createMeshCanvas",value:function(t,e,r){var n=Math.floor(this._bounds[0]),i=Math.floor(this._bounds[1]),a=Math.ceil(this._bounds[2])-n,o=Math.ceil(this._bounds[3])-i,s=Math.min(Math.ceil(Math.abs(a*t[0]*1.1)),3e3),u=Math.min(Math.ceil(Math.abs(o*t[1]*1.1)),3e3),c=a/s,l=o/u,h={coords:this._coords,colors:this._colors,offsetX:-n,offsetY:-i,scaleX:1/c,scaleY:1/l},f=s+4,d=u+4,v=r.getCanvas("mesh",f,d),p=v.context,y=p.createImageData(s,u);if(e)for(var g=y.data,m=0,b=g.length;m<b;m+=4)g[m]=e[0],g[m+1]=e[1],g[m+2]=e[2],g[m+3]=255;var w,k=ys(this._figures);try{for(k.s();!(w=k.n()).done;)Rs(y,w.value,h)}catch(t){k.e(t)}finally{k.f()}return p.putImageData(y,2,2),{canvas:v.canvas,offsetX:n-2*c,offsetY:i-2*l,scaleX:c,scaleY:l}}},{key:"getPattern",value:function(t,e,r,n){var i;if(Ms(t,this._bbox),n===Ls)i=Z.singularValueDecompose2dScale(je(t));else if(i=Z.singularValueDecompose2dScale(e.baseTransform),this.matrix){var a=Z.singularValueDecompose2dScale(this.matrix);i=[i[0]*a[0],i[1]*a[1]]}var o=this._createMeshCanvas(i,n===Ls?null:this._background,e.cachedCanvases);return n!==Ls&&(t.setTransform.apply(t,ps(e.baseTransform)),this.matrix&&t.transform.apply(t,ps(this.matrix))),t.translate(o.offsetX,o.offsetY),t.scale(o.scaleX,o.scaleY),t.createPattern(o.canvas,"no-repeat")}}])}(),Ds=function(t){function e(){return _s(this,e),bs(this,e,arguments)}return xs(e,Cs),Ss(e,[{key:"getPattern",value:function(){return"hotpink"}}])}(),Ns=function(){function t(e,r,n,i,a){_s(this,t),this.operatorList=e[2],this.matrix=e[3],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=r,this.ctx=n,this.canvasGraphicsFactory=i,this.baseTransform=a}return Ss(t,[{key:"createPatternCanvas",value:function(t){var e=this.bbox,r=this.operatorList,n=this.paintType,i=this.tilingType,a=this.color,o=this.canvasGraphicsFactory,s=this.xstep,u=this.ystep;s=Math.abs(s),u=Math.abs(u),I("TilingType: "+i);var c=e[0],l=e[1],h=e[2],f=e[3],d=h-c,v=f-l,p=Z.singularValueDecompose2dScale(this.matrix),y=Z.singularValueDecompose2dScale(this.baseTransform),g=p[0]*y[0],m=p[1]*y[1],b=d,w=v,k=!1,x=!1,A=Math.ceil(s*g),_=Math.ceil(u*m);A>=Math.ceil(d*g)?b=s:k=!0,_>=Math.ceil(v*m)?w=u:x=!0;var E=this.getSizeAndScale(b,this.ctx.canvas.width,g),S=this.getSizeAndScale(w,this.ctx.canvas.height,m),O=t.cachedCanvases.getCanvas("pattern",E.size,S.size),T=O.context,P=o.createCanvasGraphics(T);if(P.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(P,n,a),T.translate(-E.scale*c,-S.scale*l),P.transform(E.scale,0,0,S.scale,0,0),T.save(),this.clipBbox(P,c,l,h,f),P.baseTransform=je(P.ctx),P.executeOperatorList(r),P.endDrawing(),T.restore(),k||x){var L=O.canvas;k&&(b=s),x&&(w=u);for(var M=this.getSizeAndScale(b,this.ctx.canvas.width,g),C=this.getSizeAndScale(w,this.ctx.canvas.height,m),j=M.size,R=C.size,F=t.cachedCanvases.getCanvas("pattern-workaround",j,R),D=F.context,N=k?Math.floor(d/s):0,W=x?Math.floor(v/u):0,B=0;B<=N;B++)for(var G=0;G<=W;G++)D.drawImage(L,j*B,R*G,j,R,0,0,j,R);return{canvas:F.canvas,scaleX:M.scale,scaleY:C.scale,offsetX:c,offsetY:l}}return{canvas:O.canvas,scaleX:E.scale,scaleY:S.scale,offsetX:c,offsetY:l}}},{key:"getSizeAndScale",value:function(e,r,n){var i=Math.max(t.MAX_PATTERN_SIZE,r),a=Math.ceil(e*n);return a>=i?a=i:n=a/e,{scale:n,size:a}}},{key:"clipBbox",value:function(t,e,r,n,i){var a=n-e,o=i-r;t.ctx.rect(e,r,a,o),t.current.updateRectMinMax(je(t.ctx),[e,r,n,i]),t.clip(),t.endPath()}},{key:"setFillAndStrokeStyleToContext",value:function(t,e,r){var n=t.ctx,i=t.current;switch(e){case 1:var a=this.ctx;n.fillStyle=a.fillStyle,n.strokeStyle=a.strokeStyle,i.fillColor=a.fillStyle,i.strokeColor=a.strokeStyle;break;case 2:var o=Z.makeHexColor(r[0],r[1],r[2]);n.fillStyle=o,n.strokeStyle=o,i.fillColor=o,i.strokeColor=o;break;default:throw new q("Unsupported paint type: ".concat(e))}}},{key:"getPattern",value:function(t,e,r,n){var i=r;n!==Ls&&(i=Z.transform(i,e.baseTransform),this.matrix&&(i=Z.transform(i,this.matrix)));var a=this.createPatternCanvas(e),o=new DOMMatrix(i);o=(o=o.translate(a.offsetX,a.offsetY)).scale(1/a.scaleX,1/a.scaleY);var s=t.createPattern(a.canvas,"repeat");return s.setTransform(o),s}}])}();function Ws(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Bs(t){var e=t.src,r=t.srcPos,n=void 0===r?0:r,i=t.dest,a=t.width,o=t.height,s=t.nonBlackColor,u=void 0===s?4294967295:s,c=t.inverseDecode,l=void 0!==c&&c,h=J.isLittleEndian?4278190080:255,f=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ws(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ws(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(l?[u,h]:[h,u],2),d=f[0],v=f[1],p=a>>3,y=7&a,g=e.length;i=new Uint32Array(i.buffer);for(var m=0,b=0;b<o;b++){for(var w=n+p;n<w;n++){var k=n<g?e[n]:255;i[m++]=128&k?v:d,i[m++]=64&k?v:d,i[m++]=32&k?v:d,i[m++]=16&k?v:d,i[m++]=8&k?v:d,i[m++]=4&k?v:d,i[m++]=2&k?v:d,i[m++]=1&k?v:d}if(0!==y)for(var x=n<g?e[n++]:255,A=0;A<y;A++)i[m++]=x&1<<7-A?v:d}return{srcPos:n,destPos:m}}function Gs(t){return function(t){if(Array.isArray(t))return qs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Vs(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hs(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Us(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Vs(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function zs(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Vs(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vs(t,e){if(t){if("string"==typeof t)return qs(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qs(t,e):void 0}}function qs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Ys(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Qs(n.key),n)}}function Ks(t,e,r){return e&&Xs(t.prototype,e),r&&Xs(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Qs(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}!function(t,e,r){(e=Os(e))in t?Object.defineProperty(t,e,{value:3e3,enumerable:!0,configurable:!0,writable:!0}):t[e]=3e3}(Ns,"MAX_PATTERN_SIZE");var Js=16,$s=function(){return Ks((function t(e){Ys(this,t),this.canvasFactory=e,this.cache=Object.create(null)}),[{key:"getCanvas",value:function(t,e,r){var n;return void 0!==this.cache[t]?(n=this.cache[t],this.canvasFactory.reset(n,e,r)):(n=this.canvasFactory.create(e,r),this.cache[t]=n),n}},{key:"delete",value:function(t){delete this.cache[t]}},{key:"clear",value:function(){for(var t in this.cache){var e=this.cache[t];this.canvasFactory.destroy(e),delete this.cache[t]}}}])}();function Zs(t,e,r,n,i,a,o,s,u,c){var l=zs(je(t),6),h=l[0],f=l[1],d=l[2],v=l[3],p=l[4],y=l[5];if(0===f&&0===d){var g=o*h+p,m=Math.round(g),b=s*v+y,w=Math.round(b),k=(o+u)*h+p,x=Math.abs(Math.round(k)-m)||1,A=(s+c)*v+y,_=Math.abs(Math.round(A)-w)||1;return t.setTransform(Math.sign(h),0,0,Math.sign(v),m,w),t.drawImage(e,r,n,i,a,0,0,x,_),t.setTransform(h,f,d,v,p,y),[x,_]}if(0===h&&0===v){var E=s*d+p,S=Math.round(E),O=o*f+y,T=Math.round(O),P=(s+c)*d+p,L=Math.abs(Math.round(P)-S)||1,M=(o+u)*f+y,C=Math.abs(Math.round(M)-T)||1;return t.setTransform(0,Math.sign(f),Math.sign(d),0,S,T),t.drawImage(e,r,n,i,a,0,0,C,L),t.setTransform(h,f,d,v,p,y),[C,L]}return t.drawImage(e,r,n,i,a,o,s,u,c),[Math.hypot(h,f)*u,Math.hypot(d,v)*c]}var tu=function(){return Ks((function t(e,r){Ys(this,t),this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=b,this.textMatrixScale=1,this.fontMatrix=w,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=0,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,e,r])}),[{key:"clone",value:function(){var t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}},{key:"setCurrentPoint",value:function(t,e){this.x=t,this.y=e}},{key:"updatePathMinMax",value:function(t,e,r){var n=zs(Z.applyTransform([e,r],t),2);e=n[0],r=n[1],this.minX=Math.min(this.minX,e),this.minY=Math.min(this.minY,r),this.maxX=Math.max(this.maxX,e),this.maxY=Math.max(this.maxY,r)}},{key:"updateRectMinMax",value:function(t,e){var r=Z.applyTransform(e,t),n=Z.applyTransform(e.slice(2),t),i=Z.applyTransform([e[0],e[3]],t),a=Z.applyTransform([e[2],e[1]],t);this.minX=Math.min(this.minX,r[0],n[0],i[0],a[0]),this.minY=Math.min(this.minY,r[1],n[1],i[1],a[1]),this.maxX=Math.max(this.maxX,r[0],n[0],i[0],a[0]),this.maxY=Math.max(this.maxY,r[1],n[1],i[1],a[1])}},{key:"updateScalingPathMinMax",value:function(t,e){Z.scaleMinMax(t,e),this.minX=Math.min(this.minX,e[0]),this.minY=Math.min(this.minY,e[1]),this.maxX=Math.max(this.maxX,e[2]),this.maxY=Math.max(this.maxY,e[3])}},{key:"updateCurvePathMinMax",value:function(t,e,r,n,i,a,o,s,u,c){var l=Z.bezierBoundingBox(e,r,n,i,a,o,s,u,c);c||this.updateRectMinMax(t,l)}},{key:"getPathBoundingBox",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ts,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[this.minX,this.minY,this.maxX,this.maxY];if(t===Ps){e||F("Stroke bounding box must include transform.");var n=Z.singularValueDecompose2dScale(e),i=n[0]*this.lineWidth/2,a=n[1]*this.lineWidth/2;r[0]-=i,r[1]-=a,r[2]+=i,r[3]+=a}return r}},{key:"updateClipFromPath",value:function(){var t=Z.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}},{key:"isEmptyClip",value:function(){return this.minX===1/0}},{key:"startNewPathAndClipBox",value:function(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}},{key:"getClippedPathBoundingBox",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ts,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Z.intersect(this.clipBox,this.getPathBoundingBox(t,e))}}])}();function eu(t,e){if("undefined"!=typeof ImageData&&e instanceof ImageData)t.putImageData(e,0,0);else{var r,n,i,a,o,s=e.height,u=e.width,c=s%Js,l=(s-c)/Js,h=0===c?l:l+1,f=t.createImageData(u,Js),d=0,v=e.data,p=f.data;if(e.kind===S.GRAYSCALE_1BPP){var y=v.byteLength,g=new Uint32Array(p.buffer,0,p.byteLength>>2),m=g.length,b=u+7>>3,w=4294967295,k=J.isLittleEndian?4278190080:255;for(n=0;n<h;n++){for(a=n<l?Js:c,r=0,i=0;i<a;i++){for(var x=y-d,A=0,_=x>b?u:8*x-7,E=-8&_,O=0,T=0;A<E;A+=8)T=v[d++],g[r++]=128&T?w:k,g[r++]=64&T?w:k,g[r++]=32&T?w:k,g[r++]=16&T?w:k,g[r++]=8&T?w:k,g[r++]=4&T?w:k,g[r++]=2&T?w:k,g[r++]=1&T?w:k;for(;A<_;A++)0===O&&(T=v[d++],O=128),g[r++]=T&O?w:k,O>>=1}for(;r<m;)g[r++]=0;t.putImageData(f,0,n*Js)}}else if(e.kind===S.RGBA_32BPP){for(i=0,o=u*Js*4,n=0;n<l;n++)p.set(v.subarray(d,d+o)),d+=o,t.putImageData(f,0,i),i+=Js;n<h&&(o=u*c*4,p.set(v.subarray(d,d+o)),t.putImageData(f,0,i))}else{if(e.kind!==S.RGB_24BPP)throw new Error("bad image kind: ".concat(e.kind));for(o=u*(a=Js),n=0;n<h;n++){for(n>=l&&(o=u*(a=c)),r=0,i=o;i--;)p[r++]=v[d++],p[r++]=v[d++],p[r++]=v[d++],p[r++]=255;t.putImageData(f,0,n*Js)}}}}function ru(t,e){if(e.bitmap)t.drawImage(e.bitmap,0,0);else for(var r=e.height,n=e.width,i=r%Js,a=(r-i)/Js,o=0===i?a:a+1,s=t.createImageData(n,Js),u=0,c=e.data,l=s.data,h=0;h<o;h++)u=Bs({src:c,srcPos:u,dest:l,width:n,height:h<a?Js:i,nonBlackColor:0}).srcPos,t.putImageData(s,0,h*Js)}function nu(t,e){for(var r=0,n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];r<n.length;r++){var i=n[r];void 0!==t[i]&&(e[i]=t[i])}void 0!==t.setLineDash&&(e.setLineDash(t.getLineDash()),e.lineDashOffset=t.lineDashOffset)}function iu(t){if(t.strokeStyle=t.fillStyle="#000000",t.fillRule="nonzero",t.globalAlpha=1,t.lineWidth=1,t.lineCap="butt",t.lineJoin="miter",t.miterLimit=10,t.globalCompositeOperation="source-over",t.font="10px sans-serif",void 0!==t.setLineDash&&(t.setLineDash([]),t.lineDashOffset=0),!m){var e=t.filter;"none"!==e&&""!==e&&(t.filter="none")}}function au(t,e){if(e)return!0;var r=Z.singularValueDecompose2dScale(t);r[0]=Math.fround(r[0]),r[1]=Math.fround(r[1]);var n=Math.fround((globalThis.devicePixelRatio||1)*Vt.PDF_TO_CSS_UNITS);return r[0]<=n&&r[1]<=n}var ou=["butt","round","square"],su=["miter","round","bevel"],uu={},cu={},lu=new WeakSet,hu=function(){function t(e,r,n,i,a,o,s,u){var c=o.optionalContentConfig,l=o.markedContentStack,h=void 0===l?null:l;Ys(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,lu),this.ctx=e,this.current=new tu(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=r,this.objs=n,this.canvasFactory=i,this.filterFactory=a,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=h||[],this.optionalContentConfig=c,this.cachedCanvases=new $s(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=s,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=u,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}return Ks(t,[{key:"getObject",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"string"==typeof t?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):e}},{key:"beginDrawing",value:function(t){var e,r,n=t.transform,i=t.viewport,a=t.transparency,o=void 0!==a&&a,s=t.background,u=void 0===s?null:s,c=this.ctx.canvas.width,l=this.ctx.canvas.height,h=this.ctx.fillStyle;if(this.ctx.fillStyle=u||"#ffffff",this.ctx.fillRect(0,0,c,l),this.ctx.fillStyle=h,o){var f,d=this.cachedCanvases.getCanvas("transparent",c,l);this.compositeCtx=this.ctx,this.transparentCanvas=d.canvas,this.ctx=d.context,this.ctx.save(),(f=this.ctx).transform.apply(f,Gs(je(this.compositeCtx)))}this.ctx.save(),iu(this.ctx),n&&((r=this.ctx).transform.apply(r,Gs(n)),this.outputScaleX=n[0],this.outputScaleY=n[0]),(e=this.ctx).transform.apply(e,Gs(i.transform)),this.viewportScale=i.scale,this.baseTransform=je(this.ctx)}},{key:"executeOperatorList",value:function(t,e,r,n){var i=t.argsArray,a=t.fnArray,o=e||0,s=i.length;if(s===o)return o;for(var u,c=s-o>10&&"function"==typeof r,l=c?Date.now()+15:0,h=0,f=this.commonObjs,d=this.objs;;){if(void 0!==n&&o===n.nextBreakPoint)return n.breakIt(o,r),o;if((u=a[o])!==P.dependency)this[u].apply(this,i[o]);else{var v,p=Us(i[o]);try{for(p.s();!(v=p.n()).done;){var y=v.value,g=y.startsWith("g_")?f:d;if(!g.has(y))return g.get(y,r),o}}catch(t){p.e(t)}finally{p.f()}}if(++o===s)return o;if(c&&++h>10){if(Date.now()>l)return r(),o;h=0}}}},{key:"endDrawing",value:function(){Hs(lu,this,fu).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();var t,e=Us(this._cachedBitmapsMap.values());try{for(e.s();!(t=e.n()).done;){var r,n=t.value,i=Us(n.values());try{for(i.s();!(r=i.n()).done;){var a=r.value;"undefined"!=typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement&&(a.width=a.height=0)}}catch(t){i.e(t)}finally{i.f()}n.clear()}}catch(t){e.e(t)}finally{e.f()}this._cachedBitmapsMap.clear(),Hs(lu,this,du).call(this)}},{key:"_scaleImage",value:function(t,e){for(var r,n,i=t.width,a=t.height,o=Math.max(Math.hypot(e[0],e[1]),1),s=Math.max(Math.hypot(e[2],e[3]),1),u=i,c=a,l="prescale1";o>2&&u>1||s>2&&c>1;){var h=u,f=c;o>2&&u>1&&(o/=u/(h=u>=16384?Math.floor(u/2)-1||1:Math.ceil(u/2))),s>2&&c>1&&(s/=c/(f=c>=16384?Math.floor(c/2)-1||1:Math.ceil(c)/2)),(n=(r=this.cachedCanvases.getCanvas(l,h,f)).context).clearRect(0,0,h,f),n.drawImage(t,0,0,u,c,0,0,h,f),t=r.canvas,u=h,c=f,l="prescale1"===l?"prescale2":"prescale1"}return{img:t,paintWidth:u,paintHeight:c}}},{key:"_createMaskCanvas",value:function(t){var e,r,n,i,a=this.ctx,o=t.width,s=t.height,u=this.current.fillColor,c=this.current.patternFill,l=je(a);if((t.bitmap||t.data)&&t.count>1){var h=t.bitmap||t.data.buffer;r=JSON.stringify(c?l:[l.slice(0,4),u]),(e=this._cachedBitmapsMap.get(h))||(e=new Map,this._cachedBitmapsMap.set(h,e));var f=e.get(r);if(f&&!c)return{canvas:f,offsetX:Math.round(Math.min(l[0],l[2])+l[4]),offsetY:Math.round(Math.min(l[1],l[3])+l[5])};n=f}n||ru((i=this.cachedCanvases.getCanvas("maskCanvas",o,s)).context,t);var d=Z.transform(l,[1/o,0,0,-1/s,0,0]);d=Z.transform(d,[1,0,0,1,0,-s]);var v=zs(Z.getAxialAlignedBoundingBox([0,0,o,s],d),4),p=v[0],y=v[1],g=v[2],m=v[3],b=Math.round(g-p)||1,w=Math.round(m-y)||1,k=this.cachedCanvases.getCanvas("fillCanvas",b,w),x=k.context,A=p,_=y;x.translate(-A,-_),x.transform.apply(x,Gs(d)),n||(n=(n=this._scaleImage(i.canvas,Ie(x))).img,e&&c&&e.set(r,n)),x.imageSmoothingEnabled=au(je(x),t.interpolate),Zs(x,n,0,0,n.width,n.height,0,0,o,s),x.globalCompositeOperation="source-in";var E=Z.transform(Ie(x),[1,0,0,1,-A,-_]);return x.fillStyle=c?u.getPattern(a,this,E,Ts):u,x.fillRect(0,0,o,s),e&&!c&&(this.cachedCanvases.delete("fillCanvas"),e.set(r,k.canvas)),{canvas:k.canvas,offsetX:Math.round(A),offsetY:Math.round(_)}}},{key:"setLineWidth",value:function(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}},{key:"setLineCap",value:function(t){this.ctx.lineCap=ou[t]}},{key:"setLineJoin",value:function(t){this.ctx.lineJoin=su[t]}},{key:"setMiterLimit",value:function(t){this.ctx.miterLimit=t}},{key:"setDash",value:function(t,e){var r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(t),r.lineDashOffset=e)}},{key:"setRenderingIntent",value:function(t){}},{key:"setFlatness",value:function(t){}},{key:"setGState",value:function(t){var e,r=Us(t);try{for(r.s();!(e=r.n()).done;){var n=zs(e.value,2),i=n[0],a=n[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a[0],a[1]);break;case"CA":this.current.strokeAlpha=a;break;case"ca":this.current.fillAlpha=a,this.ctx.globalAlpha=a;break;case"BM":this.ctx.globalCompositeOperation=a;break;case"SMask":this.current.activeSMask=a?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(a)}}}catch(t){r.e(t)}finally{r.f()}}},{key:"inSMaskMode",get:function(){return!!this.suspendedCtx}},{key:"checkSMaskState",value:function(){var t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}},{key:"beginSMaskMode",value:function(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");var t=this.ctx.canvas.width,e=this.ctx.canvas.height,r="smaskGroupAt"+this.groupLevel,n=this.cachedCanvases.getCanvas(r,t,e);this.suspendedCtx=this.ctx,this.ctx=n.context;var i=this.ctx;i.setTransform.apply(i,Gs(je(this.suspendedCtx))),nu(this.suspendedCtx,i),function(t,e){if(t._removeMirroring)throw new Error("Context is already forwarding operations.");t.__originalSave=t.save,t.__originalRestore=t.restore,t.__originalRotate=t.rotate,t.__originalScale=t.scale,t.__originalTranslate=t.translate,t.__originalTransform=t.transform,t.__originalSetTransform=t.setTransform,t.__originalResetTransform=t.resetTransform,t.__originalClip=t.clip,t.__originalMoveTo=t.moveTo,t.__originalLineTo=t.lineTo,t.__originalBezierCurveTo=t.bezierCurveTo,t.__originalRect=t.rect,t.__originalClosePath=t.closePath,t.__originalBeginPath=t.beginPath,t._removeMirroring=function(){t.save=t.__originalSave,t.restore=t.__originalRestore,t.rotate=t.__originalRotate,t.scale=t.__originalScale,t.translate=t.__originalTranslate,t.transform=t.__originalTransform,t.setTransform=t.__originalSetTransform,t.resetTransform=t.__originalResetTransform,t.clip=t.__originalClip,t.moveTo=t.__originalMoveTo,t.lineTo=t.__originalLineTo,t.bezierCurveTo=t.__originalBezierCurveTo,t.rect=t.__originalRect,t.closePath=t.__originalClosePath,t.beginPath=t.__originalBeginPath,delete t._removeMirroring},t.save=function(){e.save(),this.__originalSave()},t.restore=function(){e.restore(),this.__originalRestore()},t.translate=function(t,r){e.translate(t,r),this.__originalTranslate(t,r)},t.scale=function(t,r){e.scale(t,r),this.__originalScale(t,r)},t.transform=function(t,r,n,i,a,o){e.transform(t,r,n,i,a,o),this.__originalTransform(t,r,n,i,a,o)},t.setTransform=function(t,r,n,i,a,o){e.setTransform(t,r,n,i,a,o),this.__originalSetTransform(t,r,n,i,a,o)},t.resetTransform=function(){e.resetTransform(),this.__originalResetTransform()},t.rotate=function(t){e.rotate(t),this.__originalRotate(t)},t.clip=function(t){e.clip(t),this.__originalClip(t)},t.moveTo=function(t,r){e.moveTo(t,r),this.__originalMoveTo(t,r)},t.lineTo=function(t,r){e.lineTo(t,r),this.__originalLineTo(t,r)},t.bezierCurveTo=function(t,r,n,i,a,o){e.bezierCurveTo(t,r,n,i,a,o),this.__originalBezierCurveTo(t,r,n,i,a,o)},t.rect=function(t,r,n,i){e.rect(t,r,n,i),this.__originalRect(t,r,n,i)},t.closePath=function(){e.closePath(),this.__originalClosePath()},t.beginPath=function(){e.beginPath(),this.__originalBeginPath()}}(i,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}},{key:"endSMaskMode",value:function(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),nu(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}},{key:"compose",value:function(t){if(this.current.activeSMask){t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];var e=this.current.activeSMask,r=this.suspendedCtx;this.composeSMask(r,e,this.ctx,t),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()}}},{key:"composeSMask",value:function(t,e,r,n){var i=n[0],a=n[1],o=n[2]-i,s=n[3]-a;0!==o&&0!==s&&(this.genericComposeSMask(e.context,r,o,s,e.subtype,e.backdrop,e.transferMap,i,a,e.offsetX,e.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(r.canvas,0,0),t.restore())}},{key:"genericComposeSMask",value:function(t,e,r,n,i,a,o,s,u,c,l){var h=t.canvas,f=s-c,d=u-l;if(a)if(f<0||d<0||f+r>h.width||d+n>h.height){var v=this.cachedCanvases.getCanvas("maskExtension",r,n),p=v.context;p.drawImage(h,-f,-d),a.some((function(t){return 0!==t}))&&(p.globalCompositeOperation="destination-atop",p.fillStyle=Z.makeHexColor.apply(Z,Gs(a)),p.fillRect(0,0,r,n),p.globalCompositeOperation="source-over"),h=v.canvas,f=d=0}else if(a.some((function(t){return 0!==t}))){t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);var y=new Path2D;y.rect(f,d,r,n),t.clip(y),t.globalCompositeOperation="destination-atop",t.fillStyle=Z.makeHexColor.apply(Z,Gs(a)),t.fillRect(f,d,r,n),t.restore()}e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0),"Alpha"===i&&o?e.filter=this.filterFactory.addAlphaFilter(o):"Luminosity"===i&&(e.filter=this.filterFactory.addLuminosityFilter(o));var g=new Path2D;g.rect(s,u,r,n),e.clip(g),e.globalCompositeOperation="destination-in",e.drawImage(h,f,d,r,n,s,u,r,n),e.restore()}},{key:"save",value:function(){this.inSMaskMode?(nu(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();var t=this.current;this.stateStack.push(t),this.current=t.clone()}},{key:"restore",value:function(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),nu(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}},{key:"transform",value:function(t,e,r,n,i,a){this.ctx.transform(t,e,r,n,i,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}},{key:"constructPath",value:function(t,e,r){for(var n,i,a=this.ctx,o=this.current,s=o.x,u=o.y,c=je(a),l=0===c[0]&&0===c[3]||0===c[1]&&0===c[2],h=l?r.slice(0):null,f=0,d=0,v=t.length;f<v;f++)switch(0|t[f]){case P.rectangle:s=e[d++],u=e[d++];var p=e[d++],y=e[d++],g=s+p,m=u+y;a.moveTo(s,u),0===p||0===y?a.lineTo(g,m):(a.lineTo(g,u),a.lineTo(g,m),a.lineTo(s,m)),l||o.updateRectMinMax(c,[s,u,g,m]),a.closePath();break;case P.moveTo:s=e[d++],u=e[d++],a.moveTo(s,u),l||o.updatePathMinMax(c,s,u);break;case P.lineTo:s=e[d++],u=e[d++],a.lineTo(s,u),l||o.updatePathMinMax(c,s,u);break;case P.curveTo:n=s,i=u,s=e[d+4],u=e[d+5],a.bezierCurveTo(e[d],e[d+1],e[d+2],e[d+3],s,u),o.updateCurvePathMinMax(c,n,i,e[d],e[d+1],e[d+2],e[d+3],s,u,h),d+=6;break;case P.curveTo2:n=s,i=u,a.bezierCurveTo(s,u,e[d],e[d+1],e[d+2],e[d+3]),o.updateCurvePathMinMax(c,n,i,s,u,e[d],e[d+1],e[d+2],e[d+3],h),s=e[d+2],u=e[d+3],d+=4;break;case P.curveTo3:n=s,i=u,s=e[d+2],u=e[d+3],a.bezierCurveTo(e[d],e[d+1],s,u,s,u),o.updateCurvePathMinMax(c,n,i,e[d],e[d+1],s,u,s,u,h),d+=4;break;case P.closePath:a.closePath()}l&&o.updateScalingPathMinMax(c,h),o.setCurrentPoint(s,u)}},{key:"closePath",value:function(){this.ctx.closePath()}},{key:"stroke",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.ctx,r=this.current.strokeColor;e.globalAlpha=this.current.strokeAlpha,this.contentVisible&&("object"==typeof r&&null!=r&&r.getPattern?(e.save(),e.strokeStyle=r.getPattern(e,this,Ie(e),Ps),this.rescaleAndStroke(!1),e.restore()):this.rescaleAndStroke(!0)),t&&this.consumePath(this.current.getClippedPathBoundingBox()),e.globalAlpha=this.current.fillAlpha}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"fill",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.ctx,r=this.current.fillColor,n=!1;this.current.patternFill&&(e.save(),e.fillStyle=r.getPattern(e,this,Ie(e),Ts),n=!0);var i=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==i&&(this.pendingEOFill?(e.fill("evenodd"),this.pendingEOFill=!1):e.fill()),n&&e.restore(),t&&this.consumePath(i)}},{key:"eoFill",value:function(){this.pendingEOFill=!0,this.fill()}},{key:"fillStroke",value:function(){this.fill(!1),this.stroke(!1),this.consumePath()}},{key:"eoFillStroke",value:function(){this.pendingEOFill=!0,this.fillStroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}},{key:"endPath",value:function(){this.consumePath()}},{key:"clip",value:function(){this.pendingClip=uu}},{key:"eoClip",value:function(){this.pendingClip=cu}},{key:"beginText",value:function(){this.current.textMatrix=b,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"endText",value:function(){var t=this.pendingTextPaths,e=this.ctx;if(void 0!==t){e.save(),e.beginPath();var r,n=Us(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;e.setTransform.apply(e,Gs(i.transform)),e.translate(i.x,i.y),i.addToPath(e,i.fontSize)}}catch(t){n.e(t)}finally{n.f()}e.restore(),e.clip(),e.beginPath(),delete this.pendingTextPaths}else e.beginPath()}},{key:"setCharSpacing",value:function(t){this.current.charSpacing=t}},{key:"setWordSpacing",value:function(t){this.current.wordSpacing=t}},{key:"setHScale",value:function(t){this.current.textHScale=t/100}},{key:"setLeading",value:function(t){this.current.leading=-t}},{key:"setFont",value:function(t,e){var r,n=this.commonObjs.get(t),i=this.current;if(!n)throw new Error("Can't find font for ".concat(t));if(i.fontMatrix=n.fontMatrix||w,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||R("Invalid font matrix for font "+t),e<0?(e=-e,i.fontDirection=-1):i.fontDirection=1,this.current.font=n,this.current.fontSize=e,!n.isType3Font){var a=n.loadedName||"sans-serif",o=(null===(r=n.systemFontInfo)||void 0===r?void 0:r.css)||'"'.concat(a,'", ').concat(n.fallbackName),s="normal";n.black?s="900":n.bold&&(s="bold");var u=n.italic?"italic":"normal",c=e;e<16?c=16:e>100&&(c=100),this.current.fontSizeScale=e/c,this.ctx.font="".concat(u," ").concat(s," ").concat(c,"px ").concat(o)}}},{key:"setTextRenderingMode",value:function(t){this.current.textRenderingMode=t}},{key:"setTextRise",value:function(t){this.current.textRise=t}},{key:"moveText",value:function(t,e){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=e}},{key:"setLeadingMoveText",value:function(t,e){this.setLeading(-e),this.moveText(t,e)}},{key:"setTextMatrix",value:function(t,e,r,n,i,a){this.current.textMatrix=[t,e,r,n,i,a],this.current.textMatrixScale=Math.hypot(t,e),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"paintChar",value:function(t,e,r,n){var i,a=this.ctx,o=this.current,s=o.font,u=o.textRenderingMode,c=o.fontSize/o.fontSizeScale,l=3&u,h=!!(4&u),f=o.patternFill&&!s.missingFile;(s.disableFontFace||h||f)&&(i=s.getPathGenerator(this.commonObjs,t)),s.disableFontFace||f?(a.save(),a.translate(e,r),a.beginPath(),i(a,c),n&&a.setTransform.apply(a,Gs(n)),0!==l&&2!==l||a.fill(),1!==l&&2!==l||a.stroke(),a.restore()):(0!==l&&2!==l||a.fillText(t,e,r),1!==l&&2!==l||a.strokeText(t,e,r)),h&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:je(a),x:e,y:r,fontSize:c,addToPath:i})}},{key:"isFontSubpixelAAEnabled",get:function(){var t=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;t.scale(1.5,1),t.fillText("I",0,10);for(var e=t.getImageData(0,0,10,10).data,r=!1,n=3;n<e.length;n+=4)if(e[n]>0&&e[n]<255){r=!0;break}return W(this,"isFontSubpixelAAEnabled",r)}},{key:"showText",value:function(t){var e=this.current,r=e.font;if(r.isType3Font)return this.showType3Text(t);var n=e.fontSize;if(0!==n){var i,a=this.ctx,o=e.fontSizeScale,s=e.charSpacing,u=e.wordSpacing,c=e.fontDirection,l=e.textHScale*c,h=t.length,f=r.vertical,d=f?1:-1,v=r.defaultVMetrics,p=n*e.fontMatrix[0],y=0===e.textRenderingMode&&!r.disableFontFace&&!e.patternFill;if(a.save(),a.transform.apply(a,Gs(e.textMatrix)),a.translate(e.x,e.y+e.textRise),c>0?a.scale(l,-1):a.scale(l,1),e.patternFill){a.save();var g=e.fillColor.getPattern(a,this,Ie(a),Ts);i=je(a),a.restore(),a.fillStyle=g}var m=e.lineWidth,b=e.textMatrixScale;if(0===b||0===m){var w=3&e.textRenderingMode;1!==w&&2!==w||(m=this.getSinglePixelWidth())}else m/=b;if(1!==o&&(a.scale(o,o),m/=o),a.lineWidth=m,r.isInvalidPDFjsFont){var k,x=[],A=0,_=Us(t);try{for(_.s();!(k=_.n()).done;){var E=k.value;x.push(E.unicode),A+=E.width}}catch(t){_.e(t)}finally{_.f()}return a.fillText(x.join(""),0,0),e.x+=A*p*l,a.restore(),void this.compose()}var S,O=0;for(S=0;S<h;++S){var T=t[S];if("number"!=typeof T){var P=!1,L=(T.isSpace?u:0)+s,M=T.fontChar,C=T.accent,j=void 0,I=void 0,R=T.width;if(f){var F=T.vmetric||v,D=-(T.vmetric?F[1]:.5*R)*p,N=F[2]*p;R=F?-F[0]:R,j=D/o,I=(O+N)/o}else j=O/o,I=0;if(r.remeasure&&R>0){var W=1e3*a.measureText(M).width/n*o;if(R<W&&this.isFontSubpixelAAEnabled){var B=R/W;P=!0,a.save(),a.scale(B,1),j/=B}else R!==W&&(j+=(R-W)/2e3*n/o)}if(this.contentVisible&&(T.isInFont||r.missingFile))if(y&&!C)a.fillText(M,j,I);else if(this.paintChar(M,j,I,i),C){var G=j+n*C.offset.x/o,H=I-n*C.offset.y/o;this.paintChar(C.fontChar,G,H,i)}O+=f?R*p-L*c:R*p+L*c,P&&a.restore()}else O+=d*T*n/1e3}f?e.y-=O:e.x+=O*l,a.restore(),this.compose()}}},{key:"showType3Text",value:function(t){var e,r,n,i,a=this.ctx,o=this.current,s=o.font,u=o.fontSize,c=o.fontDirection,l=s.vertical?1:-1,h=o.charSpacing,f=o.wordSpacing,d=o.textHScale*c,v=o.fontMatrix||w,p=t.length;if(3!==o.textRenderingMode&&0!==u){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,Gs(o.textMatrix)),a.translate(o.x,o.y),a.scale(d,c),e=0;e<p;++e)if("number"!=typeof(r=t[e])){var y=(r.isSpace?f:0)+h,g=s.charProcOperatorList[r.operatorListId];g?(this.contentVisible&&(this.processingType3=r,this.save(),a.scale(u,u),a.transform.apply(a,Gs(v)),this.executeOperatorList(g),this.restore()),n=Z.applyTransform([r.width,0],v)[0]*u+y,a.translate(n,0),o.x+=n*d):R('Type3 character "'.concat(r.operatorListId,'" is not available.'))}else i=l*r*u/1e3,this.ctx.translate(i,0),o.x+=i*d;a.restore(),this.processingType3=null}}},{key:"setCharWidth",value:function(t,e){}},{key:"setCharWidthAndBounds",value:function(t,e,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.ctx.clip(),this.endPath()}},{key:"getColorN_Pattern",value:function(e){var r,n=this;if("TilingPattern"===e[0]){var i=e[1],a=this.baseTransform||je(this.ctx),o={createCanvasGraphics:function(e){return new t(e,n.commonObjs,n.objs,n.canvasFactory,n.filterFactory,{optionalContentConfig:n.optionalContentConfig,markedContentStack:n.markedContentStack})}};r=new Ns(e,i,this.ctx,o,a)}else r=this._getPattern(e[1],e[2]);return r}},{key:"setStrokeColorN",value:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)}},{key:"setFillColorN",value:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}},{key:"setStrokeRGBColor",value:function(t,e,r){this.ctx.strokeStyle=this.current.strokeColor=Z.makeHexColor(t,e,r)}},{key:"setStrokeTransparent",value:function(){this.ctx.strokeStyle=this.current.strokeColor="transparent"}},{key:"setFillRGBColor",value:function(t,e,r){this.ctx.fillStyle=this.current.fillColor=Z.makeHexColor(t,e,r),this.current.patternFill=!1}},{key:"setFillTransparent",value:function(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}},{key:"_getPattern",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.cachedPatterns.has(t)?e=this.cachedPatterns.get(t):(e=function(t){switch(t[0]){case"RadialAxial":return new js(t);case"Mesh":return new Fs(t);case"Dummy":return new Ds}throw new Error("Unknown IR type: ".concat(t[0]))}(this.getObject(t)),this.cachedPatterns.set(t,e)),r&&(e.matrix=r),e}},{key:"shadingFill",value:function(t){if(this.contentVisible){var e=this.ctx;this.save();var r=this._getPattern(t);e.fillStyle=r.getPattern(e,this,Ie(e),Ls);var n=Ie(e);if(n){var i=e.canvas,a=i.width,o=i.height,s=zs(Z.getAxialAlignedBoundingBox([0,0,a,o],n),4),u=s[0],c=s[1],l=s[2],h=s[3];this.ctx.fillRect(u,c,l-u,h-c)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}}},{key:"beginInlineImage",value:function(){F("Should not call beginInlineImage")}},{key:"beginImageData",value:function(){F("Should not call beginImageData")}},{key:"paintFormXObjectBegin",value:function(t,e){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform.apply(this,Gs(t)),this.baseTransform=je(this.ctx),e)){var r=e[2]-e[0],n=e[3]-e[1];this.ctx.rect(e[0],e[1],r,n),this.current.updateRectMinMax(je(this.ctx),e),this.clip(),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}},{key:"beginGroup",value:function(t){if(this.contentVisible){this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);var e=this.ctx;t.isolated||I("TODO: Support non-isolated groups."),t.knockout&&R("Knockout groups not supported.");var r=je(e);if(t.matrix&&e.transform.apply(e,Gs(t.matrix)),!t.bbox)throw new Error("Bounding box is required.");var n=Z.getAxialAlignedBoundingBox(t.bbox,je(e)),i=[0,0,e.canvas.width,e.canvas.height];n=Z.intersect(n,i)||[0,0,0,0];var a=Math.floor(n[0]),o=Math.floor(n[1]),s=Math.max(Math.ceil(n[2])-a,1),u=Math.max(Math.ceil(n[3])-o,1);this.current.startNewPathAndClipBox([0,0,s,u]);var c="groupAt"+this.groupLevel;t.smask&&(c+="_smask_"+this.smaskCounter++%2);var l=this.cachedCanvases.getCanvas(c,s,u),h=l.context;h.translate(-a,-o),h.transform.apply(h,Gs(r)),t.smask?this.smaskStack.push({canvas:l.canvas,context:h,offsetX:a,offsetY:o,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(e.setTransform(1,0,0,1,0,0),e.translate(a,o),e.save()),nu(e,h),this.ctx=h,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(e),this.groupLevel++}}},{key:"endGroup",value:function(t){if(this.contentVisible){this.groupLevel--;var e=this.ctx,r=this.groupStack.pop();if(this.ctx=r,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{var n;this.ctx.restore();var i=je(this.ctx);this.restore(),this.ctx.save(),(n=this.ctx).setTransform.apply(n,Gs(i));var a=Z.getAxialAlignedBoundingBox([0,0,e.canvas.width,e.canvas.height],i);this.ctx.drawImage(e.canvas,0,0),this.ctx.restore(),this.compose(a)}}}},{key:"beginAnnotation",value:function(t,e,r,n,i){var a;if(Hs(lu,this,fu).call(this),iu(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&(a=this.ctx).setTransform.apply(a,Gs(this.baseTransform)),e){var o=e[2]-e[0],s=e[3]-e[1];if(i&&this.annotationCanvasMap){(r=r.slice())[4]-=e[0],r[5]-=e[1],(e=e.slice())[0]=e[1]=0,e[2]=o,e[3]=s;var u=zs(Z.singularValueDecompose2dScale(je(this.ctx)),2),c=u[0],l=u[1],h=this.viewportScale,f=Math.ceil(o*this.outputScaleX*h),d=Math.ceil(s*this.outputScaleY*h);this.annotationCanvas=this.canvasFactory.create(f,d);var v=this.annotationCanvas,p=v.canvas,y=v.context;this.annotationCanvasMap.set(t,p),this.annotationCanvas.savedCtx=this.ctx,this.ctx=y,this.ctx.save(),this.ctx.setTransform(c,0,0,-l,0,s*l),iu(this.ctx)}else iu(this.ctx),this.endPath(),this.ctx.rect(e[0],e[1],o,s),this.ctx.clip(),this.ctx.beginPath()}this.current=new tu(this.ctx.canvas.width,this.ctx.canvas.height),this.transform.apply(this,Gs(r)),this.transform.apply(this,Gs(n))}},{key:"endAnnotation",value:function(){this.annotationCanvas&&(this.ctx.restore(),Hs(lu,this,du).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}},{key:"paintImageMaskXObject",value:function(t){if(this.contentVisible){var e=t.count;(t=this.getObject(t.data,t)).count=e;var r=this.ctx,n=this.processingType3;if(n&&(void 0===n.compiled&&(n.compiled=function(t){var e=t.width,r=t.height;if(e>1e3||r>1e3)return null;var n,i,a,o,s=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=e+1,c=new Uint8Array(u*(r+1)),l=e+7&-8,h=new Uint8Array(l*r),f=0,d=Us(t.data);try{for(d.s();!(o=d.n()).done;)for(var v=o.value,p=128;p>0;)h[f++]=v&p?0:255,p>>=1}catch(t){d.e(t)}finally{d.f()}var y=0;for(0!==h[f=0]&&(c[0]=1,++y),i=1;i<e;i++)h[f]!==h[f+1]&&(c[i]=h[f]?2:1,++y),f++;for(0!==h[f]&&(c[i]=2,++y),n=1;n<r;n++){a=n*u,h[(f=n*l)-l]!==h[f]&&(c[a]=h[f]?1:8,++y);var g=(h[f]?4:0)+(h[f-l]?8:0);for(i=1;i<e;i++)s[g=(g>>2)+(h[f+1]?4:0)+(h[f-l+1]?8:0)]&&(c[a+i]=s[g],++y),f++;if(h[f-l]!==h[f]&&(c[a+i]=h[f]?2:4,++y),y>1e3)return null}for(a=n*u,0!==h[f=l*(r-1)]&&(c[a]=8,++y),i=1;i<e;i++)h[f]!==h[f+1]&&(c[a+i]=h[f]?4:8,++y),f++;if(0!==h[f]&&(c[a+i]=4,++y),y>1e3)return null;var m=new Int32Array([0,u,-1,0,-u,0,0,0,1]),b=new Path2D;for(n=0;y&&n<=r;n++){for(var w=n*u,k=w+e;w<k&&!c[w];)w++;if(w!==k){b.moveTo(w%u,n);var x=w,A=c[w];do{var _=m[A];do{w+=_}while(!c[w]);var E=c[w];5!==E&&10!==E?(A=E,c[w]=0):(A=E&51*A>>4,c[w]&=A>>2|A<<2),b.lineTo(w%u,w/u|0),c[w]||--y}while(x!==w);--n}}return h=null,c=null,function(t){t.save(),t.scale(1/e,-1/r),t.translate(0,-r),t.fill(b),t.beginPath(),t.restore()}}(t)),n.compiled))n.compiled(r);else{var i=this._createMaskCanvas(t),a=i.canvas;r.save(),r.setTransform(1,0,0,1,0,0),r.drawImage(a,i.offsetX,i.offsetY),r.restore(),this.compose()}}}},{key:"paintImageMaskXObjectRepeat",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;if(this.contentVisible){t=this.getObject(t.data,t);var o=this.ctx;o.save();var s=je(o);o.transform(e,r,n,i,0,0);var u=this._createMaskCanvas(t);o.setTransform(1,0,0,1,u.offsetX-s[4],u.offsetY-s[5]);for(var c=0,l=a.length;c<l;c+=2){var h=Z.transform(s,[e,r,n,i,a[c],a[c+1]]),f=zs(Z.applyTransform([0,0],h),2),d=f[0],v=f[1];o.drawImage(u.canvas,d,v)}o.restore(),this.compose()}}},{key:"paintImageMaskXObjectGroup",value:function(t){if(this.contentVisible){var e,r=this.ctx,n=this.current.fillColor,i=this.current.patternFill,a=Us(t);try{for(a.s();!(e=a.n()).done;){var o=e.value,s=o.data,u=o.width,c=o.height,l=o.transform,h=this.cachedCanvases.getCanvas("maskCanvas",u,c),f=h.context;f.save(),ru(f,this.getObject(s,o)),f.globalCompositeOperation="source-in",f.fillStyle=i?n.getPattern(f,this,Ie(r),Ts):n,f.fillRect(0,0,u,c),f.restore(),r.save(),r.transform.apply(r,Gs(l)),r.scale(1,-1),Zs(r,h.canvas,0,0,u,c,0,-1,1,1),r.restore()}}catch(t){a.e(t)}finally{a.f()}this.compose()}}},{key:"paintImageXObject",value:function(t){if(this.contentVisible){var e=this.getObject(t);e?this.paintInlineImageXObject(e):R("Dependent image isn't ready yet")}}},{key:"paintImageXObjectRepeat",value:function(t,e,r,n){if(this.contentVisible){var i=this.getObject(t);if(i){for(var a=i.width,o=i.height,s=[],u=0,c=n.length;u<c;u+=2)s.push({transform:[e,0,0,r,n[u],n[u+1]],x:0,y:0,w:a,h:o});this.paintInlineImageXObjectGroup(i,s)}else R("Dependent image isn't ready yet")}}},{key:"applyTransferMapsToCanvas",value:function(t){return"none"!==this.current.transferMaps&&(t.filter=this.current.transferMaps,t.drawImage(t.canvas,0,0),t.filter="none"),t.canvas}},{key:"applyTransferMapsToBitmap",value:function(t){if("none"===this.current.transferMaps)return t.bitmap;var e=t.bitmap,r=t.width,n=t.height,i=this.cachedCanvases.getCanvas("inlineImage",r,n),a=i.context;return a.filter=this.current.transferMaps,a.drawImage(e,0,0),a.filter="none",i.canvas}},{key:"paintInlineImageXObject",value:function(t){if(this.contentVisible){var e,r=t.width,n=t.height,i=this.ctx;if(this.save(),!m){var a=i.filter;"none"!==a&&""!==a&&(i.filter="none")}if(i.scale(1/r,-1/n),t.bitmap)e=this.applyTransferMapsToBitmap(t);else if("function"==typeof HTMLElement&&t instanceof HTMLElement||!t.data)e=t;else{var o=this.cachedCanvases.getCanvas("inlineImage",r,n).context;eu(o,t),e=this.applyTransferMapsToCanvas(o)}var s=this._scaleImage(e,Ie(i));i.imageSmoothingEnabled=au(je(i),t.interpolate),Zs(i,s.img,0,0,s.paintWidth,s.paintHeight,0,-n,r,n),this.compose(),this.restore()}}},{key:"paintInlineImageXObjectGroup",value:function(t,e){if(this.contentVisible){var r,n=this.ctx;if(t.bitmap)r=t.bitmap;else{var i=t.width,a=t.height,o=this.cachedCanvases.getCanvas("inlineImage",i,a).context;eu(o,t),r=this.applyTransferMapsToCanvas(o)}var s,u=Us(e);try{for(u.s();!(s=u.n()).done;){var c=s.value;n.save(),n.transform.apply(n,Gs(c.transform)),n.scale(1,-1),Zs(n,r,c.x,c.y,c.w,c.h,0,-1,1,1),n.restore()}}catch(t){u.e(t)}finally{u.f()}this.compose()}}},{key:"paintSolidColorImageMask",value:function(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}},{key:"markPoint",value:function(t){}},{key:"markPointProps",value:function(t,e){}},{key:"beginMarkedContent",value:function(t){this.markedContentStack.push({visible:!0})}},{key:"beginMarkedContentProps",value:function(t,e){"OC"===t?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(e)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}},{key:"endMarkedContent",value:function(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}},{key:"beginCompat",value:function(){}},{key:"endCompat",value:function(){}},{key:"consumePath",value:function(t){var e=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(t);var r=this.ctx;this.pendingClip&&(e||(this.pendingClip===cu?r.clip("evenodd"):r.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),r.beginPath()}},{key:"getSinglePixelWidth",value:function(){if(!this._cachedGetSinglePixelWidth){var t=je(this.ctx);if(0===t[1]&&0===t[2])this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(t[0]),Math.abs(t[3]));else{var e=Math.abs(t[0]*t[3]-t[2]*t[1]),r=Math.hypot(t[0],t[2]),n=Math.hypot(t[1],t[3]);this._cachedGetSinglePixelWidth=Math.max(r,n)/e}}return this._cachedGetSinglePixelWidth}},{key:"getScaleForStroking",value:function(){if(-1===this._cachedScaleForStroking[0]){var t,e,r=this.current.lineWidth,n=this.ctx.getTransform(),i=n.a,a=n.b,o=n.c,s=n.d;if(0===a&&0===o){var u=Math.abs(i),c=Math.abs(s);if(u===c)if(0===r)t=e=1/u;else{var l=u*r;t=e=l<1?1/l:1}else if(0===r)t=1/u,e=1/c;else{var h=u*r,f=c*r;t=h<1?1/h:1,e=f<1?1/f:1}}else{var d=Math.abs(i*s-a*o),v=Math.hypot(i,a),p=Math.hypot(o,s);if(0===r)t=p/d,e=v/d;else{var y=r*d;t=p>y?p/y:1,e=v>y?v/y:1}}this._cachedScaleForStroking[0]=t,this._cachedScaleForStroking[1]=e}return this._cachedScaleForStroking}},{key:"rescaleAndStroke",value:function(t){var e=this.ctx,r=this.current.lineWidth,n=zs(this.getScaleForStroking(),2),i=n[0],a=n[1];if(e.lineWidth=r||1,1!==i||1!==a){var o=e.getLineDash();if(t&&e.save(),e.scale(i,a),o.length>0){var s=Math.max(i,a);e.setLineDash(o.map((function(t){return t/s}))),e.lineDashOffset/=s}e.stroke(),t&&e.restore()}else e.stroke()}},{key:"isContentVisible",value:function(){for(var t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}}])}();function fu(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}function du(){if(this.pageColors){var t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if("none"!==t){var e=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=e}}}for(var vu in P)void 0!==hu.prototype[vu]&&(hu.prototype[P[vu]]=hu.prototype[vu]);function pu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,yu(n.key),n)}}function yu(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function gu(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var mu=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,r){return r&&pu(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,0,[{key:"workerPort",get:function(){return gu(t,this,bu)._},set:function(e){if(!("undefined"!=typeof Worker&&e instanceof Worker)&&null!==e)throw new Error("Invalid \`workerPort\` type.");bu._=gu(t,this,e)}},{key:"workerSrc",get:function(){return gu(t,this,wu)._},set:function(e){if("string"!=typeof e)throw new Error("Invalid \`workerSrc\` type.");wu._=gu(t,this,e)}}])}(),bu={_:null},wu={_:""};function ku(){ku=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function xu(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Au(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_u(n.key),n)}}function _u(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Eu(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}r(5204);function Su(t){switch(t instanceof Error||"object"==typeof t&&null!==t||F('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),t.name){case"AbortException":return new Y(t.message);case"MissingPDFException":return new z(t.message);case"PasswordException":return new G(t.message,t.code);case"UnexpectedResponseException":return new V(t.message,t.status);case"UnknownErrorException":return new H(t.message,t.details);default:return new H(t.message,t.toString())}}var Ou=new WeakSet,Tu=function(){return function(t,e,r){return e&&Au(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e,r,n){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}(this,Ou),this.sourceName=e,this.targetName=r,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),this._onComObjOnMessage=function(t){var e=t.data;if(e.targetName===i.sourceName)if(e.stream)Eu(Ou,i,Lu).call(i,e);else if(e.callback){var r=e.callbackId,a=i.callbackCapabilities[r];if(!a)throw new Error("Cannot resolve callback ".concat(r));if(delete i.callbackCapabilities[r],1===e.callback)a.resolve(e.data);else{if(2!==e.callback)throw new Error("Unexpected callback case");a.reject(Su(e.reason))}}else{var o=i.actionHandler[e.action];if(!o)throw new Error("Unknown action from worker: ".concat(e.action));if(e.callbackId){var s=i.sourceName,u=e.sourceName;new Promise((function(t){t(o(e.data))})).then((function(t){n.postMessage({sourceName:s,targetName:u,callback:1,callbackId:e.callbackId,data:t})}),(function(t){n.postMessage({sourceName:s,targetName:u,callback:2,callbackId:e.callbackId,reason:Su(t)})}))}else e.streamId?Eu(Ou,i,Pu).call(i,e):o(e.data)}},n.addEventListener("message",this._onComObjOnMessage)}),[{key:"on",value:function(t,e){var r=this.actionHandler;if(r[t])throw new Error('There is already an actionName called "'.concat(t,'"'));r[t]=e}},{key:"send",value:function(t,e,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},r)}},{key:"sendWithPromise",value:function(t,e,r){var n=this.callbackId++,i=Promise.withResolvers();this.callbackCapabilities[n]=i;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:n,data:e},r)}catch(t){i.reject(t)}return i.promise}},{key:"sendWithStream",value:function(t,e,r,n){var i=this,a=this.streamId++,o=this.sourceName,s=this.targetName,u=this.comObj;return new ReadableStream({start:function(r){var c=Promise.withResolvers();return i.streamControllers[a]={controller:r,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},u.postMessage({sourceName:o,targetName:s,action:t,streamId:a,data:e,desiredSize:r.desiredSize},n),c.promise},pull:function(t){var e=Promise.withResolvers();return i.streamControllers[a].pullCall=e,u.postMessage({sourceName:o,targetName:s,stream:6,streamId:a,desiredSize:t.desiredSize}),e.promise},cancel:function(t){D(t instanceof Error,"cancel must have a valid reason");var e=Promise.withResolvers();return i.streamControllers[a].cancelCall=e,i.streamControllers[a].isClosed=!0,u.postMessage({sourceName:o,targetName:s,stream:1,streamId:a,reason:Su(t)}),e.promise}},r)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])}();function Pu(t){var e=t.streamId,r=this.sourceName,n=t.sourceName,i=this.comObj,a=this,o=this.actionHandler[t.action],s={enqueue(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var s=this.desiredSize;this.desiredSize-=a,s>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),i.postMessage({sourceName:r,targetName:n,stream:4,streamId:e,chunk:t},o)}},close(){this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:r,targetName:n,stream:3,streamId:e}),delete a.streamSinks[e])},error(t){D(t instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:r,targetName:n,stream:5,streamId:e,reason:Su(t)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};s.sinkCapability.resolve(),s.ready=s.sinkCapability.promise,this.streamSinks[e]=s,new Promise((function(e){e(o(t.data,s))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:8,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:r,targetName:n,stream:8,streamId:e,reason:Su(t)})}))}function Lu(t){var e=t.streamId,r=this.sourceName,n=t.sourceName,i=this.comObj,a=this.streamControllers[e],o=this.streamSinks[e];switch(t.stream){case 8:t.success?a.startCall.resolve():a.startCall.reject(Su(t.reason));break;case 7:t.success?a.pullCall.resolve():a.pullCall.reject(Su(t.reason));break;case 6:if(!o){i.postMessage({sourceName:r,targetName:n,stream:7,streamId:e,success:!0});break}o.desiredSize<=0&&t.desiredSize>0&&o.sinkCapability.resolve(),o.desiredSize=t.desiredSize,new Promise((function(t){var e;t(null===(e=o.onPull)||void 0===e?void 0:e.call(o))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:7,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:r,targetName:n,stream:7,streamId:e,reason:Su(t)})}));break;case 4:if(D(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(t.chunk);break;case 3:if(D(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),Eu(Ou,this,Mu).call(this,a,e);break;case 5:D(a,"error should have stream controller"),a.controller.error(Su(t.reason)),Eu(Ou,this,Mu).call(this,a,e);break;case 2:t.success?a.cancelCall.resolve():a.cancelCall.reject(Su(t.reason)),Eu(Ou,this,Mu).call(this,a,e);break;case 1:if(!o)break;new Promise((function(e){var r;e(null===(r=o.onCancel)||void 0===r?void 0:r.call(o,Su(t.reason)))})).then((function(){i.postMessage({sourceName:r,targetName:n,stream:2,streamId:e,success:!0})}),(function(t){i.postMessage({sourceName:r,targetName:n,stream:2,streamId:e,reason:Su(t)})})),o.sinkCapability.reject(Su(t.reason)),o.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}}function Mu(t,e){return Cu.apply(this,arguments)}function Cu(){var t;return t=ku().mark((function t(e,r){var n,i,a;return ku().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.allSettled([null===(n=e.startCall)||void 0===n?void 0:n.promise,null===(i=e.pullCall)||void 0===i?void 0:i.promise,null===(a=e.cancelCall)||void 0===a?void 0:a.promise]);case 2:delete this.streamControllers[r];case 3:case"end":return t.stop()}}),t,this)})),Cu=function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){xu(a,n,i,o,s,"next",t)}function s(t){xu(a,n,i,o,s,"throw",t)}o(void 0)}))},Cu.apply(this,arguments)}function ju(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Iu(n.key),n)}}function Iu(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Ru(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function Fu(t,e){return t.get(Nu(t,e))}function Du(t,e,r){return t.set(Nu(t,e),r),r}function Nu(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Wu=new WeakMap,Bu=new WeakMap,Gu=function(){return function(t,e,r){return e&&ju(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){var r=e.parsedData,n=e.rawData;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ru(this,Wu,void 0),Ru(this,Bu,void 0),Du(Wu,this,r),Du(Bu,this,n)}),[{key:"getRaw",value:function(){return Fu(Bu,this)}},{key:"get",value:function(t){var e;return null!==(e=Fu(Wu,this).get(t))&&void 0!==e?e:null}},{key:"getAll",value:function(){return Q(Fu(Wu,this))}},{key:"has",value:function(t){return Fu(Wu,this).has(t)}}])}();function Hu(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||zu(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uu(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=zu(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function zu(t,e){if(t){if("string"==typeof t)return Vu(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vu(t,e):void 0}}function Vu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ku(n.key),n)}}function Xu(t,e,r){return e&&Yu(t.prototype,e),r&&Yu(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ku(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Qu(t,e,r){Ju(t,e),e.set(t,r)}function Ju(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $u(t,e){return t.get(tc(t,e))}function Zu(t,e,r){return t.set(tc(t,e),r),r}function tc(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var ec=Symbol("INTERNAL"),rc=new WeakMap,nc=new WeakMap,ic=new WeakMap,ac=new WeakMap,oc=function(){return Xu((function t(e,r){var n=r.name,i=r.intent,a=r.usage;qu(this,t),Qu(this,rc,!1),Qu(this,nc,!1),Qu(this,ic,!1),Qu(this,ac,!0),Zu(rc,this,!!(2&e)),Zu(nc,this,!!(4&e)),this.name=n,this.intent=i,this.usage=a}),[{key:"visible",get:function(){if($u(ic,this))return $u(ac,this);if(!$u(ac,this))return!1;var t=this.usage,e=t.print,r=t.view;return $u(rc,this)?"OFF"!==(null==r?void 0:r.viewState):!$u(nc,this)||"OFF"!==(null==e?void 0:e.printState)}},{key:"_setVisible",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t!==ec&&F("Internal method \`_setVisible\` called."),Zu(ic,this,r),Zu(ac,this,e)}}])}(),sc=new WeakMap,uc=new WeakMap,cc=new WeakMap,lc=new WeakMap,hc=new WeakSet,fc=function(){return Xu((function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(qu(this,t),function(t,e){Ju(t,e),e.add(t)}(this,hc),Qu(this,sc,null),Qu(this,uc,new Map),Qu(this,cc,null),Qu(this,lc,null),this.renderingIntent=r,this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,Zu(lc,this,e.order);var n,i=Uu(e.groups);try{for(i.s();!(n=i.n()).done;){var a=n.value;$u(uc,this).set(a.id,new oc(r,a))}}catch(t){i.e(t)}finally{i.f()}if("OFF"===e.baseState){var o,s=Uu($u(uc,this).values());try{for(s.s();!(o=s.n()).done;)o.value._setVisible(ec,!1)}catch(t){s.e(t)}finally{s.f()}}var u,c=Uu(e.on);try{for(c.s();!(u=c.n()).done;){var l=u.value;$u(uc,this).get(l)._setVisible(ec,!0)}}catch(t){c.e(t)}finally{c.f()}var h,f=Uu(e.off);try{for(f.s();!(h=f.n()).done;){var d=h.value;$u(uc,this).get(d)._setVisible(ec,!1)}}catch(t){f.e(t)}finally{f.f()}Zu(cc,this,this.getHash())}}),[{key:"isVisible",value:function(t){if(0===$u(uc,this).size)return!0;if(!t)return I("Optional content group not defined."),!0;if("OCG"===t.type)return $u(uc,this).has(t.id)?$u(uc,this).get(t.id).visible:(R("Optional content group not found: ".concat(t.id)),!0);if("OCMD"===t.type){if(t.expression)return tc(hc,this,dc).call(this,t.expression);if(!t.policy||"AnyOn"===t.policy){var e,r=Uu(t.ids);try{for(r.s();!(e=r.n()).done;){var n=e.value;if(!$u(uc,this).has(n))return R("Optional content group not found: ".concat(n)),!0;if($u(uc,this).get(n).visible)return!0}}catch(t){r.e(t)}finally{r.f()}return!1}if("AllOn"===t.policy){var i,a=Uu(t.ids);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(!$u(uc,this).has(o))return R("Optional content group not found: ".concat(o)),!0;if(!$u(uc,this).get(o).visible)return!1}}catch(t){a.e(t)}finally{a.f()}return!0}if("AnyOff"===t.policy){var s,u=Uu(t.ids);try{for(u.s();!(s=u.n()).done;){var c=s.value;if(!$u(uc,this).has(c))return R("Optional content group not found: ".concat(c)),!0;if(!$u(uc,this).get(c).visible)return!0}}catch(t){u.e(t)}finally{u.f()}return!1}if("AllOff"===t.policy){var l,h=Uu(t.ids);try{for(h.s();!(l=h.n()).done;){var f=l.value;if(!$u(uc,this).has(f))return R("Optional content group not found: ".concat(f)),!0;if($u(uc,this).get(f).visible)return!1}}catch(t){h.e(t)}finally{h.f()}return!0}return R("Unknown optional content policy ".concat(t.policy,".")),!0}return R("Unknown group type ".concat(t.type,".")),!0}},{key:"setVisibility",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=$u(uc,this).get(t);r?(r._setVisible(ec,!!e,!0),Zu(sc,this,null)):R("Optional content group not found: ".concat(t))}},{key:"setOCGState",value:function(t){var e,r,n=t.state,i=(t.preserveRB,Uu(n));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a){case"ON":case"OFF":case"Toggle":e=a;continue}var o=$u(uc,this).get(a);if(o)switch(e){case"ON":o._setVisible(ec,!0);break;case"OFF":o._setVisible(ec,!1);break;case"Toggle":o._setVisible(ec,!o.visible)}}}catch(t){i.e(t)}finally{i.f()}Zu(sc,this,null)}},{key:"hasInitialVisibility",get:function(){return null===$u(cc,this)||this.getHash()===$u(cc,this)}},{key:"getOrder",value:function(){return $u(uc,this).size?$u(lc,this)?$u(lc,this).slice():function(t){return function(t){if(Array.isArray(t))return Vu(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||zu(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}($u(uc,this).keys()):null}},{key:"getGroups",value:function(){return $u(uc,this).size>0?Q($u(uc,this)):null}},{key:"getGroup",value:function(t){return $u(uc,this).get(t)||null}},{key:"getHash",value:function(){if(null!==$u(sc,this))return $u(sc,this);var t,e=new so,r=Uu($u(uc,this));try{for(r.s();!(t=r.n()).done;){var n=Hu(t.value,2),i=n[0],a=n[1];e.update("".concat(i,":").concat(a.visible))}}catch(t){r.e(t)}finally{r.f()}return Zu(sc,this,e.hexdigest())}}])}();function dc(t){var e=t.length;if(e<2)return!0;for(var r=t[0],n=1;n<e;n++){var i=t[n],a=void 0;if(Array.isArray(i))a=tc(hc,this,dc).call(this,i);else{if(!$u(uc,this).has(i))return R("Optional content group not found: ".concat(i)),!0;a=$u(uc,this).get(i).visible}switch(r){case"And":if(!a)return!1;break;case"Or":if(a)return!0;break;case"Not":return!a;default:return!0}}return"And"===r}function vc(){vc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function pc(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function yc(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){pc(a,n,i,o,s,"next",t)}function s(t){pc(a,n,i,o,s,"throw",t)}o(void 0)}))}}function gc(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return mc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mc(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function mc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wc(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,xc(n.key),n)}}function kc(t,e,r){return e&&wc(t.prototype,e),r&&wc(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function xc(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(3276);var Ac=function(){return kc((function t(e,r){var n=this,i=r.disableRange,a=void 0!==i&&i,o=r.disableStream,s=void 0!==o&&o;bc(this,t),D(e,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');var u=e.length,c=e.initialData,l=e.progressiveDone,h=e.contentDispositionFilename;if(this._queuedChunks=[],this._progressiveDone=l,this._contentDispositionFilename=h,(null==c?void 0:c.length)>0){var f=c instanceof Uint8Array&&c.byteLength===c.buffer.byteLength?c.buffer:new Uint8Array(c).buffer;this._queuedChunks.push(f)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!s,this._isRangeSupported=!a,this._contentLength=u,this._fullRequestReader=null,this._rangeReaders=[],e.addRangeListener((function(t,e){n._onReceiveData({begin:t,chunk:e})})),e.addProgressListener((function(t,e){n._onProgress({loaded:t,total:e})})),e.addProgressiveReadListener((function(t){n._onReceiveData({chunk:t})})),e.addProgressiveDoneListener((function(){n._onProgressiveDone()})),e.transportReady()}),[{key:"_onReceiveData",value:function(t){var e=t.begin,r=t.chunk,n=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;void 0===e?this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n):D(this._rangeReaders.some((function(t){return t._begin===e&&(t._enqueue(n),!0)})),"_onReceiveData - no \`PDFDataTransportStreamRangeReader\` instance found.")}},{key:"_progressiveDataLength",get:function(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}},{key:"_onProgress",value:function(t){var e,r,n,i;void 0===t.total?null===(e=this._rangeReaders[0])||void 0===e||null===(r=e.onProgress)||void 0===r||r.call(e,{loaded:t.loaded}):null===(n=this._fullRequestReader)||void 0===n||null===(i=n.onProgress)||void 0===i||i.call(n,{loaded:t.loaded,total:t.total})}},{key:"_onProgressiveDone",value:function(){var t;null===(t=this._fullRequestReader)||void 0===t||t.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(t){var e=this._rangeReaders.indexOf(t);e>=0&&this._rangeReaders.splice(e,1)}},{key:"getFullReader",value:function(){D(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var t=this._queuedChunks;return this._queuedChunks=null,new _c(this,t,this._progressiveDone,this._contentDispositionFilename)}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var r=new Ec(this,t,e);return this._pdfDataRangeTransport.requestDataRange(t,e),this._rangeReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=gc(this._rangeReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}this._pdfDataRangeTransport.abort()}}])}(),_c=function(){return kc((function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;bc(this,t),this._stream=e,this._done=n||!1,this._filename=xe(i)?i:null,this._queuedChunks=r||[],this._loaded=0;var a,o=gc(this._queuedChunks);try{for(o.s();!(a=o.n()).done;){var s=a.value;this._loaded+=s.byteLength}}catch(t){o.e(t)}finally{o.f()}this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}),[{key:"_enqueue",value:function(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}},{key:"read",value:(t=yc(vc().mark((function t(){var e,r;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this._queuedChunks.length>0)){t.next=3;break}return e=this._queuedChunks.shift(),t.abrupt("return",{value:e,done:!1});case 3:if(!this._done){t.next=5;break}return t.abrupt("return",{value:void 0,done:!0});case 5:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 8:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0;var e,r=gc(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}}]);var t}(),Ec=function(){return kc((function t(e,r,n){bc(this,t),this._stream=e,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}),[{key:"_enqueue",value:function(t){if(!this._done){if(0===this._requests.length)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});var e,r=gc(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=yc(vc().mark((function t(){var e,r;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._queuedChunk){t.next=4;break}return e=this._queuedChunk,this._queuedChunk=null,t.abrupt("return",{value:e,done:!1});case 4:if(!this._done){t.next=6;break}return t.abrupt("return",{value:void 0,done:!0});case 6:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 9:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0;var e,r=gc(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._stream._removeRangeReader(this)}}]);var t}();function Sc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Oc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oc(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Tc(t,e){var r=new Headers;if(!t||!e||"object"!=typeof e)return r;for(var n in e){var i=e[n];void 0!==i&&r.append(n,i)}return r}function Pc(t){var e=t.responseHeaders,r=t.isHttp,n=t.rangeChunkSize,i=t.disableRange,a={allowRangeRequests:!1,suggestedLength:void 0},o=parseInt(e.get("Content-Length"),10);return Number.isInteger(o)?(a.suggestedLength=o,o<=2*n||i||!r||"bytes"!==e.get("Accept-Ranges")||"identity"!==(e.get("Content-Encoding")||"identity")||(a.allowRangeRequests=!0),a):a}function Lc(t){var e=t.get("Content-Disposition");if(e){var r=function(t){var e=!0,r=a("filename\\\\*","i").exec(t);if(r){var n=u(r=r[1]);return s(n=l(n=c(n=unescape(n))))}if(r=function(t){for(var e,r=[],n=a("filename\\\\*((?!0\\\\d)\\\\d+)(\\\\*?)","ig");null!==(e=n.exec(t));){var i=Sc(e,4),o=i[1],s=i[2],l=i[3];if((o=parseInt(o,10))in r){if(0===o)break}else r[o]=[s,l]}for(var h=[],f=0;f<r.length&&f in r;++f){var d=Sc(r[f],2),v=d[0],p=d[1];p=u(p),v&&(p=unescape(p),0===f&&(p=c(p))),h.push(p)}return h.join("")}(t))return s(l(r));if(r=a("filename","i").exec(t)){var i=u(r=r[1]);return s(i=l(i))}function a(t,e){return new RegExp("(?:^|;)\\\\s*"+t+'\\\\s*=\\\\s*([^";\\\\s][^;\\\\s]*|"(?:[^"\\\\\\\\]|\\\\\\\\"?)+"?)',e)}function o(t,r){if(t){if(!/^[\\x00-\\xFF]+$/.test(r))return r;try{var n=new TextDecoder(t,{fatal:!0}),i=K(r);r=n.decode(i),e=!1}catch(t){}}return r}function s(t){return e&&/[\\x80-\\xff]/.test(t)&&(t=o("utf-8",t),e&&(t=o("iso-8859-1",t))),t}function u(t){if(t.startsWith('"')){for(var e=t.slice(1).split('\\\\"'),r=0;r<e.length;++r){var n=e[r].indexOf('"');-1!==n&&(e[r]=e[r].slice(0,n),e.length=r+1),e[r]=e[r].replaceAll(/\\\\(.)/g,"$1")}t=e.join('"')}return t}function c(t){var e=t.indexOf("'");return-1===e?t:o(t.slice(0,e),t.slice(e+1).replace(/^[^']*'/,""))}function l(t){return!t.startsWith("=?")||/[\\x00-\\x19\\x80-\\xff]/.test(t)?t:t.replaceAll(/=\\?([\\w-]*)\\?([QqBb])\\?((?:[^?]|\\?(?!=))*)\\?=/g,(function(t,e,r,n){if("q"===r||"Q"===r)return o(e,n=(n=n.replaceAll("_"," ")).replaceAll(/=([0-9a-fA-F]{2})/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})));try{n=atob(n)}catch(t){}return o(e,n)}))}return""}(e);if(r.includes("%"))try{r=decodeURIComponent(r)}catch(t){}if(xe(r))return r}return null}function Mc(t,e){return 404===t||0===t&&e.startsWith("file:")?new z('Missing PDF "'+e+'".'):new V("Unexpected server response (".concat(t,') while retrieving PDF "').concat(e,'".'),t)}function Cc(t){return 200===t||206===t}function jc(){jc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Ic(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Rc(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Ic(a,n,i,o,s,"next",t)}function s(t){Ic(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Fc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Dc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nc(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Bc(n.key),n)}}function Wc(t,e,r){return e&&Nc(t.prototype,e),r&&Nc(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Bc(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Gc(t,e,r){return{method:"GET",headers:t,signal:r.signal,mode:"cors",credentials:e?"include":"same-origin",redirect:"follow"}}function Hc(t){return t instanceof Uint8Array?t.buffer:t instanceof ArrayBuffer?t:(R("getArrayBuffer - unexpected data format: ".concat(t)),new Uint8Array(t).buffer)}var Uc=function(){return Wc((function t(e){Dc(this,t),this.source=e,this.isHttp=/^https?:/i.test(e.url),this.headers=Tc(this.isHttp,e.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"_progressiveDataLength",get:function(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}},{key:"getFullReader",value:function(){return D(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new zc(this),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var r=new Vc(this,t,e);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Fc(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fc(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(this._rangeRequestReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}}}])}(),zc=function(){return Wc((function t(e){var r=this;Dc(this,t),this._stream=e,this._reader=null,this._loaded=0,this._filename=null;var n=e.source;this._withCredentials=n.withCredentials||!1,this._contentLength=n.length,this._headersCapability=Promise.withResolvers(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange;var i=new Headers(e.headers),a=n.url;fetch(a,Gc(i,this._withCredentials,this._abortController)).then((function(t){if(!Cc(t.status))throw Mc(t.status,a);r._reader=t.body.getReader(),r._headersCapability.resolve();var n=t.headers,i=Pc({responseHeaders:n,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),o=i.allowRangeRequests,s=i.suggestedLength;r._isRangeSupported=o,r._contentLength=s||r._contentLength,r._filename=Lc(n),!r._isStreamingSupported&&r._isRangeSupported&&r.cancel(new Y("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}),[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=Rc(jc().mark((function t(){var e,r,n,i;return jc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._headersCapability.promise;case 2:return t.next=4,this._reader.read();case 4:if(r=t.sent,n=r.value,!(i=r.done)){t.next=9;break}return t.abrupt("return",{value:n,done:i});case 9:return this._loaded+=n.byteLength,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded,total:this._contentLength}),t.abrupt("return",{value:Hc(n),done:!1});case 12:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){var e;null===(e=this._reader)||void 0===e||e.cancel(t),this._abortController.abort()}}]);var t}(),Vc=function(){return Wc((function t(e,r,n){var i=this;Dc(this,t),this._stream=e,this._reader=null,this._loaded=0;var a=e.source;this._withCredentials=a.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!a.disableStream,this._abortController=new AbortController;var o=new Headers(e.headers);o.append("Range","bytes=".concat(r,"-").concat(n-1));var s=a.url;fetch(s,Gc(o,this._withCredentials,this._abortController)).then((function(t){if(!Cc(t.status))throw Mc(t.status,s);i._readCapability.resolve(),i._reader=t.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}),[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=Rc(jc().mark((function t(){var e,r,n,i;return jc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:return t.next=4,this._reader.read();case 4:if(r=t.sent,n=r.value,!(i=r.done)){t.next=9;break}return t.abrupt("return",{value:n,done:i});case 9:return this._loaded+=n.byteLength,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded}),t.abrupt("return",{value:Hc(n),done:!1});case 12:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){var e;null===(e=this._reader)||void 0===e||e.cancel(t),this._abortController.abort()}}]);var t}();function qc(){qc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Yc(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Xc(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Yc(a,n,i,o,s,"next",t)}function s(t){Yc(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Kc(t,e){return Jc(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Zc(t,e)||Qc()}function Qc(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jc(t){if(Array.isArray(t))return t}function $c(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Zc(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Zc(t,e){if(t){if("string"==typeof t)return tl(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tl(t,e):void 0}}function tl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function el(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,il(n.key),n)}}function nl(t,e,r){return e&&rl(t.prototype,e),r&&rl(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function il(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var al=function(){return nl((function t(e){var r=e.url,n=e.httpHeaders,i=e.withCredentials;el(this,t),this.url=r,this.isHttp=/^https?:/i.test(r),this.headers=Tc(this.isHttp,n),this.withCredentials=i||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}),[{key:"requestRange",value:function(t,e,r){var n={begin:t,end:e};for(var i in r)n[i]=r[i];return this.request(n)}},{key:"requestFull",value:function(t){return this.request(t)}},{key:"request",value:function(t){var e=new XMLHttpRequest,r=this.currXhrId++,n=this.pendingRequests[r]={xhr:e};e.open("GET",this.url),e.withCredentials=this.withCredentials;var i,a=$c(this.headers);try{for(a.s();!(i=a.n()).done;){var o=Kc(i.value,2),s=o[0],u=o[1];e.setRequestHeader(s,u)}}catch(t){a.e(t)}finally{a.f()}return this.isHttp&&"begin"in t&&"end"in t?(e.setRequestHeader("Range","bytes=".concat(t.begin,"-").concat(t.end-1)),n.expectedStatus=206):n.expectedStatus=200,e.responseType="arraybuffer",t.onError&&(e.onerror=function(r){t.onError(e.status)}),e.onreadystatechange=this.onStateChange.bind(this,r),e.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=t.onHeadersReceived,n.onDone=t.onDone,n.onError=t.onError,n.onProgress=t.onProgress,e.send(null),r}},{key:"onProgress",value:function(t,e){var r,n=this.pendingRequests[t];n&&(null===(r=n.onProgress)||void 0===r||r.call(n,e))}},{key:"onStateChange",value:function(t,e){var r=this.pendingRequests[t];if(r){var n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4===n.readyState&&t in this.pendingRequests)if(delete this.pendingRequests[t],0===n.status&&this.isHttp){var i;null===(i=r.onError)||void 0===i||i.call(r,n.status)}else{var a=n.status||200;if(200===a&&206===r.expectedStatus||a===r.expectedStatus){var o=function(t){var e=t.response;return"string"!=typeof e?e:K(e).buffer}(n);if(206===a){var s=n.getResponseHeader("Content-Range"),u=/bytes (\\d+)-(\\d+)\\/(\\d+)/.exec(s);r.onDone({begin:parseInt(u[1],10),chunk:o})}else if(o)r.onDone({begin:0,chunk:o});else{var c;null===(c=r.onError)||void 0===c||c.call(r,n.status)}}else{var l;null===(l=r.onError)||void 0===l||l.call(r,n.status)}}}}},{key:"getRequestXhr",value:function(t){return this.pendingRequests[t].xhr}},{key:"isPendingRequest",value:function(t){return t in this.pendingRequests}},{key:"abortRequest",value:function(t){var e=this.pendingRequests[t].xhr;delete this.pendingRequests[t],e.abort()}}])}(),ol=function(){return nl((function t(e){el(this,t),this._source=e,this._manager=new al(e),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"_onRangeRequestReaderClosed",value:function(t){var e=this._rangeRequestReaders.indexOf(t);e>=0&&this._rangeRequestReaders.splice(e,1)}},{key:"getFullReader",value:function(){return D(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new sl(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){var r=new ul(this._manager,t,e);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=$c(this._rangeRequestReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}}}])}(),sl=function(){return nl((function t(e,r){el(this,t),this._manager=e;var n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=e.requestFull(n),this._headersCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.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}),[{key:"_onHeadersReceived",value:function(){var t=this._fullRequestId,e=this._manager.getRequestXhr(t),r=new Headers(e.getAllResponseHeaders().trim().split(/[\\r\\n]+/).map((function(t){var e=function(t){return Jc(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Zc(t)||Qc()}(t.split(": "));return[e[0],e.slice(1).join(": ")]}))),n=Pc({responseHeaders:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=n.allowRangeRequests,a=n.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=Lc(r),this._isRangeSupported&&this._manager.abortRequest(t),this._headersCapability.resolve()}},{key:"_onDone",value:function(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0}}},{key:"_onError",value:function(t){this._storedError=Mc(t,this._url),this._headersCapability.reject(this._storedError);var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.reject(this._storedError)}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._cachedChunks.length=0}},{key:"_onProgress",value:function(t){var e;null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"read",value:(t=Xc(qc().mark((function t(){var e,r;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._storedError){t.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){t.next=5;break}return e=this._cachedChunks.shift(),t.abrupt("return",{value:e,done:!1});case 5:if(!this._done){t.next=7;break}return t.abrupt("return",{value:void 0,done:!0});case 7:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 10:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0,this._headersCapability.reject(t);var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}]);var t}(),ul=function(){return nl((function t(e,r,n){el(this,t),this._manager=e;var i={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(r,n,i),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}),[{key:"_close",value:function(){var t;null===(t=this.onClosed)||void 0===t||t.call(this,this)}},{key:"_onDone",value:function(t){var e=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,this._done=!0;var r,n=$c(this._requests);try{for(n.s();!(r=n.n()).done;)r.value.resolve({value:void 0,done:!0})}catch(t){n.e(t)}finally{n.f()}this._requests.length=0,this._close()}},{key:"_onError",value:function(t){this._storedError=Mc(t,this._url);var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.reject(this._storedError)}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._queuedChunk=null}},{key:"_onProgress",value:function(t){var e;this.isStreamingSupported||null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:t.loaded})}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=Xc(qc().mark((function t(){var e,r;return qc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._storedError){t.next=2;break}throw this._storedError;case 2:if(null===this._queuedChunk){t.next=6;break}return e=this._queuedChunk,this._queuedChunk=null,t.abrupt("return",{value:e,done:!1});case 6:if(!this._done){t.next=8;break}return t.abrupt("return",{value:void 0,done:!0});case 8:return r=Promise.withResolvers(),this._requests.push(r),t.abrupt("return",r.promise);case 11:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._done=!0;var e,r=$c(this._requests);try{for(r.s();!(e=r.n()).done;)e.value.resolve({value:void 0,done:!0})}catch(t){r.e(t)}finally{r.f()}this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}]);var t}();function cl(t,e,r){return e=hl(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ll()?Reflect.construct(e,r||[],hl(t).constructor):e.apply(t,r))}function ll(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ll=function(){return!!t})()}function hl(t){return hl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hl(t)}function fl(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&dl(t,e)}function dl(t,e){return dl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},dl(t,e)}function vl(){vl=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function pl(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function yl(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){pl(a,n,i,o,s,"next",t)}function s(t){pl(a,n,i,o,s,"throw",t)}o(void 0)}))}}function gl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ml(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kl(n.key),n)}}function wl(t,e,r){return e&&bl(t.prototype,e),r&&bl(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function kl(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}r(4129);var xl=/^[a-z][a-z0-9\\-+.]+:/i;function Al(t,e,r){return"http:"===t.protocol?cs.get("http").request(t,{headers:e},r):cs.get("https").request(t,{headers:e},r)}var _l,El=function(){return wl((function t(e){ml(this,t),this.source=e,this.url=function(t){if(xl.test(t))return new URL(t);var e=cs.get("url");return new URL(e.pathToFileURL(t))}(e.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.headers=Tc(this.isHttp,e.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}),[{key:"_progressiveDataLength",get:function(){var t,e;return null!==(t=null===(e=this._fullRequestReader)||void 0===e?void 0:e._loaded)&&void 0!==t?t:0}},{key:"getFullReader",value:function(){return D(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new Ll(this):new Tl(this),this._fullRequestReader}},{key:"getRangeReader",value:function(t,e){if(e<=this._progressiveDataLength)return null;var r=this.isFsUrl?new Ml(this,t,e):new Pl(this,t,e);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(t){var e;null===(e=this._fullRequestReader)||void 0===e||e.cancel(t);var r,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return gl(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gl(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(this._rangeRequestReaders.slice(0));try{for(n.s();!(r=n.n()).done;)r.value.cancel(t)}catch(t){n.e(t)}finally{n.f()}}}])}(),Sl=function(){return wl((function t(e){ml(this,t),this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;var r=e.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers()}),[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=yl(vl().mark((function t(){var e,r,n;return vl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:if(!this._done){t.next=4;break}return t.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){t.next=6;break}throw this._storedError;case 6:if(null!==(r=this._readableStream.read())){t.next=10;break}return this._readCapability=Promise.withResolvers(),t.abrupt("return",this.read());case 10:return this._loaded+=r.length,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded,total:this._contentLength}),n=new Uint8Array(r).buffer,t.abrupt("return",{value:n,done:!1});case 14:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}},{key:"_error",value:function(t){this._storedError=t,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(t){var e=this;this._readableStream=t,t.on("readable",(function(){e._readCapability.resolve()})),t.on("end",(function(){t.destroy(),e._done=!0,e._readCapability.resolve()})),t.on("error",(function(t){e._error(t)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new Y("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}]);var t}(),Ol=function(){return wl((function t(e){ml(this,t),this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();var r=e.source;this._isStreamingSupported=!r.disableStream}),[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=yl(vl().mark((function t(){var e,r,n;return vl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._readCapability.promise;case 2:if(!this._done){t.next=4;break}return t.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){t.next=6;break}throw this._storedError;case 6:if(null!==(r=this._readableStream.read())){t.next=10;break}return this._readCapability=Promise.withResolvers(),t.abrupt("return",this.read());case 10:return this._loaded+=r.length,null===(e=this.onProgress)||void 0===e||e.call(this,{loaded:this._loaded}),n=new Uint8Array(r).buffer,t.abrupt("return",{value:n,done:!1});case 14:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}},{key:"_error",value:function(t){this._storedError=t,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(t){var e=this;this._readableStream=t,t.on("readable",(function(){e._readCapability.resolve()})),t.on("end",(function(){t.destroy(),e._done=!0,e._readCapability.resolve()})),t.on("error",(function(t){e._error(t)})),this._storedError&&this._readableStream.destroy(this._storedError)}}]);var t}(),Tl=function(t){function e(t){var r;ml(this,e),r=cl(this,e,[t]);var n=Object.fromEntries(t.headers);return r._request=Al(r._url,n,(function(e){if(404===e.statusCode){var n=new z('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(e);var i=new Headers(r._readableStream.headers),a=Pc({responseHeaders:i,isHttp:t.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),o=a.allowRangeRequests,s=a.suggestedLength;r._isRangeSupported=o,r._contentLength=s||r._contentLength,r._filename=Lc(i)})),r._request.on("error",(function(t){r._storedError=t,r._headersCapability.reject(t)})),r._request.end(),r}return fl(e,Sl),wl(e)}(),Pl=function(t){function e(t,r,n){var i;ml(this,e),i=cl(this,e,[t]);var a=Object.fromEntries(t.headers);return a.Range="bytes=".concat(r,"-").concat(n-1),i._request=Al(i._url,a,(function(t){if(404!==t.statusCode)i._setReadableStream(t);else{var e=new z('Missing PDF "'.concat(i._url,'".'));i._storedError=e}})),i._request.on("error",(function(t){i._storedError=t})),i._request.end(),i}return fl(e,Ol),wl(e)}(),Ll=function(t){function e(t){var r;ml(this,e),r=cl(this,e,[t]);var n=cs.get("fs");return n.promises.lstat(r._url).then((function(t){r._contentLength=t.size,r._setReadableStream(n.createReadStream(r._url)),r._headersCapability.resolve()}),(function(t){"ENOENT"===t.code&&(t=new z('Missing PDF "'.concat(r._url,'".'))),r._storedError=t,r._headersCapability.reject(t)})),r}return fl(e,Sl),wl(e)}(),Ml=function(t){function e(t,r,n){var i;ml(this,e),i=cl(this,e,[t]);var a=cs.get("fs");return i._setReadableStream(a.createReadStream(i._url,{start:r,end:n-1})),i}return fl(e,Ol),wl(e)}();function Cl(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return jl(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jl(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function jl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Il(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Rl(n.key),n)}}function Rl(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Fl(t,e,r){Dl(t,e),e.set(t,r)}function Dl(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Nl(t,e){return t.get(Bl(t,e))}function Wl(t,e,r){return t.set(Bl(t,e),r),r}function Bl(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Gl=30,Hl=.8,Ul=new WeakMap,zl=new WeakMap,Vl=new WeakMap,ql=new WeakMap,Yl=new WeakMap,Xl=new WeakMap,Kl=new WeakMap,Ql=new WeakMap,Jl=new WeakMap,$l=new WeakMap,Zl=new WeakMap,th=new WeakMap,eh=new WeakMap,rh=new WeakMap,nh=new WeakMap,ih=new WeakMap,ah=new WeakMap,oh=new WeakMap,sh=new WeakSet,uh=function(){function t(e){var r,n=this,i=e.textContentSource,a=e.container,o=e.viewport;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){Dl(t,e),e.add(t)}(this,sh),Fl(this,Ul,Promise.withResolvers()),Fl(this,zl,null),Fl(this,Vl,!1),Fl(this,ql,!(null===(r=globalThis.FontInspector)||void 0===r||!r.enabled)),Fl(this,Yl,null),Fl(this,Xl,null),Fl(this,Kl,0),Fl(this,Ql,0),Fl(this,Jl,null),Fl(this,$l,null),Fl(this,Zl,0),Fl(this,th,0),Fl(this,eh,Object.create(null)),Fl(this,rh,[]),Fl(this,nh,null),Fl(this,ih,[]),Fl(this,ah,new WeakMap),Fl(this,oh,null),i instanceof ReadableStream)Wl(nh,this,i);else{if("object"!=typeof i)throw new Error('No "textContentSource" parameter specified.');Wl(nh,this,new ReadableStream({start(t){t.enqueue(i),t.close()}}))}Wl(zl,this,Wl($l,this,a)),Wl(th,this,o.scale*(globalThis.devicePixelRatio||1)),Wl(Zl,this,o.rotation),Wl(Xl,this,{div:null,properties:null,ctx:null});var s=o.rawDims,u=s.pageWidth,c=s.pageHeight,l=s.pageX,h=s.pageY;Wl(oh,this,[1,0,0,-1,-l,h+c]),Wl(Ql,this,u),Wl(Kl,this,c),vh.call(t),Re(a,o),Nl(Ul,this).promise.finally((function(){wh._.delete(n),Wl(Xl,n,null),Wl(eh,n,null)})).catch((function(){}))}return function(t,e,r){return e&&Il(t.prototype,e),r&&Il(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"render",value:function(){var t=this,e=function(){Nl(Jl,t).read().then((function(r){var n,i=r.value;r.done?Nl(Ul,t).resolve():(null!==(n=Nl(Yl,t))&&void 0!==n||Wl(Yl,t,i.lang),Object.assign(Nl(eh,t),i.styles),Bl(sh,t,ch).call(t,i.items),e())}),Nl(Ul,t).reject)};return Wl(Jl,this,Nl(nh,this).getReader()),wh._.add(this),e(),Nl(Ul,this).promise}},{key:"update",value:function(e){var r=e.viewport,n=e.onBefore,i=void 0===n?null:n,a=r.scale*(globalThis.devicePixelRatio||1),o=r.rotation;if(o!==Nl(Zl,this)&&(null==i||i(),Wl(Zl,this,o),Re(Nl($l,this),{rotation:o})),a!==Nl(th,this)){null==i||i(),Wl(th,this,a);var s,u={div:null,properties:null,ctx:fh.call(t,Nl(Yl,this))},c=Cl(Nl(ih,this));try{for(c.s();!(s=c.n()).done;){var l=s.value;u.properties=Nl(ah,this).get(l),u.div=l,Bl(sh,this,hh).call(this,u)}}catch(t){c.e(t)}finally{c.f()}}}},{key:"cancel",value:function(){var t,e=new Y("TextLayer task cancelled.");null===(t=Nl(Jl,this))||void 0===t||t.cancel(e).catch((function(){})),Wl(Jl,this,null),Nl(Ul,this).reject(e)}},{key:"textDivs",get:function(){return Nl(ih,this)}},{key:"textContentItemsStr",get:function(){return Nl(rh,this)}}],[{key:"fontFamilyMap",get:function(){var t=J.platform,e=t.isWindows,r=t.isFirefox;return W(this,"fontFamilyMap",new Map([["sans-serif","".concat(e&&r?"Calibri, ":"","sans-serif")],["monospace","".concat(e&&r?"Lucida Console, ":"","monospace")]]))}},{key:"cleanup",value:function(){if(!(Bl(t,this,wh)._.size>0)){Bl(t,this,yh)._.clear();var e,r=Cl(Bl(t,this,gh)._.values());try{for(r.s();!(e=r.n()).done;)e.value.canvas.remove()}catch(t){r.e(t)}finally{r.f()}Bl(t,this,gh)._.clear()}}}])}();function ch(t){var e,r;if(!Nl(Vl,this)){null!==(r=(e=Nl(Xl,this)).ctx)&&void 0!==r||(e.ctx=fh.call(_l,Nl(Yl,this)));var n,i=Nl(ih,this),a=Nl(rh,this),o=Cl(t);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(i.length>1e5)return R("Ignoring additional textDivs for performance reasons."),void Wl(Vl,this,!0);if(void 0!==s.str)a.push(s.str),Bl(sh,this,lh).call(this,s);else if("beginMarkedContentProps"===s.type||"beginMarkedContent"===s.type){var u=Nl(zl,this);Wl(zl,this,document.createElement("span")),Nl(zl,this).classList.add("markedContent"),null!==s.id&&Nl(zl,this).setAttribute("id","".concat(s.id)),u.append(Nl(zl,this))}else"endMarkedContent"===s.type&&Wl(zl,this,Nl(zl,this).parentNode)}}catch(t){o.e(t)}finally{o.f()}}}function lh(t){var e=document.createElement("span"),r={angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,fontSize:0};Nl(ih,this).push(e);var n=Z.transform(Nl(oh,this),t.transform),i=Math.atan2(n[1],n[0]),a=Nl(eh,this)[t.fontName];a.vertical&&(i+=Math.PI/2);var o=Nl(ql,this)&&a.fontSubstitution||a.fontFamily;o=_l.fontFamilyMap.get(o)||o;var s,u,c=Math.hypot(n[2],n[3]),l=c*ph.call(_l,o,Nl(Yl,this));0===i?(s=n[4],u=n[5]-l):(s=n[4]+l*Math.sin(i),u=n[5]-l*Math.cos(i));var h="calc(var(--scale-factor)*",f=e.style;Nl(zl,this)===Nl($l,this)?(f.left="".concat((100*s/Nl(Ql,this)).toFixed(2),"%"),f.top="".concat((100*u/Nl(Kl,this)).toFixed(2),"%")):(f.left="".concat(h).concat(s.toFixed(2),"px)"),f.top="".concat(h).concat(u.toFixed(2),"px)")),f.fontSize="".concat(h).concat((bh._*c).toFixed(2),"px)"),f.fontFamily=o,r.fontSize=c,e.setAttribute("role","presentation"),e.textContent=t.str,e.dir=t.dir,Nl(ql,this)&&(e.dataset.fontName=a.fontSubstitutionLoadedName||t.fontName),0!==i&&(r.angle=i*(180/Math.PI));var d=!1;if(t.str.length>1)d=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){var v=Math.abs(t.transform[0]),p=Math.abs(t.transform[3]);v!==p&&Math.max(v,p)/Math.min(v,p)>1.5&&(d=!0)}if(d&&(r.canvasWidth=a.vertical?t.height:t.width),Nl(ah,this).set(e,r),Nl(Xl,this).div=e,Nl(Xl,this).properties=r,Bl(sh,this,hh).call(this,Nl(Xl,this)),r.hasText&&Nl(zl,this).append(e),r.hasEOL){var y=document.createElement("br");y.setAttribute("role","presentation"),Nl(zl,this).append(y)}}function hh(t){var e=t.div,r=t.properties,n=t.ctx,i=e.style,a="";if(bh._>1&&(a="scale(".concat(1/bh._,")")),0!==r.canvasWidth&&r.hasText){var o=i.fontFamily,s=r.canvasWidth,u=r.fontSize;dh.call(_l,n,u*Nl(th,this),o);var c=n.measureText(e.textContent).width;c>0&&(a="scaleX(".concat(s*Nl(th,this)/c,") ").concat(a))}0!==r.angle&&(a="rotate(".concat(r.angle,"deg) ").concat(a)),a.length>0&&(i.transform=a)}function fh(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=Bl(_l,this,gh)._.get(t||(t=""));if(!e){var r=document.createElement("canvas");r.className="hiddenCanvasElement",r.lang=t,document.body.append(r),e=r.getContext("2d",{alpha:!1,willReadFrequently:!0}),Bl(_l,this,gh)._.set(t,e),Bl(_l,this,mh)._.set(e,{size:0,family:""})}return e}function dh(t,e,r){var n=Bl(_l,this,mh)._.get(t);e===n.size&&r===n.family||(t.font="".concat(e,"px ").concat(r),n.size=e,n.family=r)}function vh(){if(null===Bl(_l,this,bh)._){var t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),bh._=Bl(_l,this,t.getBoundingClientRect().height),t.remove()}}function ph(t,e){var r=Bl(_l,this,yh)._.get(t);if(r)return r;var n=Bl(_l,this,fh).call(this,e);n.canvas.width=n.canvas.height=Gl,Bl(_l,this,dh).call(this,n,Gl,t);var i=n.measureText(""),a=i.fontBoundingBoxAscent,o=Math.abs(i.fontBoundingBoxDescent);if(a){var s=a/(a+o);return Bl(_l,this,yh)._.set(t,s),n.canvas.width=n.canvas.height=0,s}n.strokeStyle="red",n.clearRect(0,0,Gl,Gl),n.strokeText("g",0,0);var u=n.getImageData(0,0,Gl,Gl).data;o=0;for(var c=u.length-1-3;c>=0;c-=4)if(u[c]>0){o=Math.ceil(c/4/Gl);break}n.clearRect(0,0,Gl,Gl),n.strokeText("A",0,Gl),a=0;for(var l=0,h=(u=n.getImageData(0,0,Gl,Gl).data).length;l<h;l+=4)if(u[l]>0){a=Gl-Math.floor(l/4/Gl);break}n.canvas.width=n.canvas.height=0;var f=a?a/(a+o):Hl;return Bl(_l,this,yh)._.set(t,f),f}_l=uh;var yh={_:new Map},gh={_:new Map},mh={_:new WeakMap},bh={_:null},wh={_:new Set};function kh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function xh(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ah(n.key),n)}}function Ah(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var _h,Eh=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,r){return r&&xh(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,0,[{key:"textContent",value:function(e){var r=[],n={items:r,styles:Object.create(null)};return function e(n){var i;if(n){var a=null,o=n.name;if("#text"===o)a=n.value;else{if(!t.shouldBuildText(o))return;null!=n&&null!==(i=n.attributes)&&void 0!==i&&i.textContent?a=n.attributes.textContent:n.value&&(a=n.value)}if(null!==a&&r.push({str:a}),n.children){var s,u=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return kh(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kh(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(n.children);try{for(u.s();!(s=u.n()).done;)e(s.value)}catch(t){u.e(t)}finally{u.f()}}}}(e),n}},{key:"shouldBuildText",value:function(t){return!("textarea"===t||"input"===t||"option"===t||"select"===t)}}])}();function Sh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Sh(Object(r),!0).forEach((function(e){Th(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Th(t,e,r){return(e=qh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ph(t,e,r){return r(Fh(t,e))}function Lh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Nh(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mh(t,e){jh(t,e),e.add(t)}function Ch(t,e,r){jh(t,e),e.set(t,r)}function jh(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ih(t,e){return t.get(Fh(t,e))}function Rh(t,e,r){return t.set(Fh(t,e),r),r}function Fh(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Dh(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Nh(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Nh(t,e){if(t){if("string"==typeof t)return Wh(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wh(t,e):void 0}}function Wh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Bh(){Bh=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Gh(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Hh(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Gh(a,n,i,o,s,"next",t)}function s(t){Gh(a,n,i,o,s,"throw",t)}o(void 0)}))}}function Uh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zh(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,qh(n.key),n)}}function Vh(t,e,r){return e&&zh(t.prototype,e),r&&zh(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function qh(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var Yh=65536,Xh=m?fs:de,Kh=m?ds:ye,Qh=m?hs:te,Jh=m?vs:ge;function $h(){var t,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof r||r instanceof URL?r={url:r}:(r instanceof ArrayBuffer||ArrayBuffer.isView(r))&&(r={data:r});var n=new tf,i=n.docId,a=r.url?function(t){if(t instanceof URL)return t.href;try{return new URL(t,window.location).href}catch(e){if(m&&"string"==typeof t)return t}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}(r.url):null,o=r.data?function(t){if(m&&"undefined"!=typeof Buffer&&t instanceof Buffer)throw new Error("Please provide binary data as \`Uint8Array\`, rather than \`Buffer\`.");if(t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength)return t;if("string"==typeof t)return K(t);if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)||"object"==typeof t&&!isNaN(null==t?void 0:t.length))return new Uint8Array(t);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}(r.data):null,s=r.httpHeaders||null,u=!0===r.withCredentials,c=null!==(t=r.password)&&void 0!==t?t:null,l=r.range instanceof rf?r.range:null,h=Number.isInteger(r.rangeChunkSize)&&r.rangeChunkSize>0?r.rangeChunkSize:Yh,f=r.worker instanceof pf?r.worker:null,d=r.verbosity,v="string"!=typeof r.docBaseUrl||ke(r.docBaseUrl)?null:r.docBaseUrl,p="string"==typeof r.cMapUrl?r.cMapUrl:null,y=!1!==r.cMapPacked,g=r.CMapReaderFactory||Kh,b="string"==typeof r.standardFontDataUrl?r.standardFontDataUrl:null,w=r.StandardFontDataFactory||Jh,k=!0!==r.stopAtErrors,x=Number.isInteger(r.maxImageSize)&&r.maxImageSize>-1?r.maxImageSize:-1,A=!1!==r.isEvalSupported,_="boolean"==typeof r.isOffscreenCanvasSupported?r.isOffscreenCanvasSupported:!m,E=Number.isInteger(r.canvasMaxAreaInBytes)?r.canvasMaxAreaInBytes:-1,S="boolean"==typeof r.disableFontFace?r.disableFontFace:m,O=!0===r.fontExtraProperties,T=!0===r.enableXfa,P=r.ownerDocument||globalThis.document,L=!0===r.disableRange,M=!0===r.disableStream,j=!0===r.disableAutoFetch,I=!0===r.pdfBug,R=r.CanvasFactory||Xh,F=r.FilterFactory||Qh,D=!0===r.enableHWA,N=l?l.length:null!==(e=r.length)&&void 0!==e?e:NaN,W="boolean"==typeof r.useSystemFonts?r.useSystemFonts:!m&&!S,B="boolean"==typeof r.useWorkerFetch?r.useWorkerFetch:g===ye&&w===ge&&p&&b&&Oe(p,document.baseURI)&&Oe(b,document.baseURI);r.canvasFactory&&Pe("\`canvasFactory\`-instance option, please use \`CanvasFactory\` instead."),r.filterFactory&&Pe("\`filterFactory\`-instance option, please use \`FilterFactory\` instead."),C(d);var G={canvasFactory:new R({ownerDocument:P,enableHWA:D}),filterFactory:new F({docId:i,ownerDocument:P}),cMapReaderFactory:B?null:new g({baseUrl:p,isCompressed:y}),standardFontDataFactory:B?null:new w({baseUrl:b})};if(!f){var H={verbosity:d,port:mu.workerPort};f=H.port?pf.fromPort(H):new pf(H),n._worker=f}var U={docId:i,apiVersion:"4.7.0",data:o,password:c,disableAutoFetch:j,rangeChunkSize:h,length:N,docBaseUrl:v,enableXfa:T,evaluatorOptions:{maxImageSize:x,disableFontFace:S,ignoreErrors:k,isEvalSupported:A,isOffscreenCanvasSupported:_,canvasMaxAreaInBytes:E,fontExtraProperties:O,useSystemFonts:W,cMapUrl:B?p:null,standardFontDataUrl:B?b:null}},z={disableFontFace:S,fontExtraProperties:O,ownerDocument:P,pdfBug:I,styleElement:null,loadingParams:{disableAutoFetch:j,enableXfa:T}};return f.promise.then((function(){if(n.destroyed)throw new Error("Loading aborted");if(f.destroyed)throw new Error("Worker was destroyed");var t,e=f.messageHandler.sendWithPromise("GetDocRequest",U,o?[o.buffer]:null);if(l)t=new Ac(l,{disableRange:L,disableStream:M});else if(!o){if(!a)throw new Error("getDocument - no \`url\` parameter provided.");var r;r=m?"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&Oe(a)?Uc:El:Oe(a)?Uc:ol,t=new r({url:a,length:N,httpHeaders:s,withCredentials:u,rangeChunkSize:h,disableRange:L,disableStream:M})}return e.then((function(e){if(n.destroyed)throw new Error("Loading aborted");if(f.destroyed)throw new Error("Worker was destroyed");var r=new Tu(i,e,f.port),a=new Of(r,n,t,z,G);n._transport=a,r.send("Ready",null)}))})).catch(n._capability.reject),n}function Zh(t){return"object"==typeof t&&Number.isInteger(null==t?void 0:t.num)&&t.num>=0&&Number.isInteger(null==t?void 0:t.gen)&&t.gen>=0}var tf=function(){return Vh((function t(){var e,r;Uh(this,t),this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId="d".concat((ef._=(e=ef._,r=e++,e),r)),this.destroyed=!1,this.onPassword=null,this.onProgress=null}),[{key:"promise",get:function(){return this._capability.promise}},{key:"destroy",value:(t=Hh(Bh().mark((function t(){var e,r,n;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.destroyed=!0,t.prev=1,null!==(e=this._worker)&&void 0!==e&&e.port&&(this._worker._pendingDestroy=!0),t.next=5,null===(r=this._transport)||void 0===r?void 0:r.destroy();case 5:t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(1),null!==(n=this._worker)&&void 0!==n&&n.port&&delete this._worker._pendingDestroy,t.t0;case 11:this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null);case 13:case"end":return t.stop()}}),t,this,[[1,7]])}))),function(){return t.apply(this,arguments)})}]);var t}(),ef={_:0},rf=function(){return Vh((function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Uh(this,t),this.length=e,this.initialData=r,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}),[{key:"addRangeListener",value:function(t){this._rangeListeners.push(t)}},{key:"addProgressListener",value:function(t){this._progressListeners.push(t)}},{key:"addProgressiveReadListener",value:function(t){this._progressiveReadListeners.push(t)}},{key:"addProgressiveDoneListener",value:function(t){this._progressiveDoneListeners.push(t)}},{key:"onDataRange",value:function(t,e){var r,n=Dh(this._rangeListeners);try{for(n.s();!(r=n.n()).done;)(0,r.value)(t,e)}catch(t){n.e(t)}finally{n.f()}}},{key:"onDataProgress",value:function(t,e){var r=this;this._readyCapability.promise.then((function(){var n,i=Dh(r._progressListeners);try{for(i.s();!(n=i.n()).done;)(0,n.value)(t,e)}catch(t){i.e(t)}finally{i.f()}}))}},{key:"onDataProgressiveRead",value:function(t){var e=this;this._readyCapability.promise.then((function(){var r,n=Dh(e._progressiveReadListeners);try{for(n.s();!(r=n.n()).done;)(0,r.value)(t)}catch(t){n.e(t)}finally{n.f()}}))}},{key:"onDataProgressiveDone",value:function(){var t=this;this._readyCapability.promise.then((function(){var e,r=Dh(t._progressiveDoneListeners);try{for(r.s();!(e=r.n()).done;)(0,e.value)()}catch(t){r.e(t)}finally{r.f()}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(t,e){F("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}])}(),nf=function(){return Vh((function t(e,r){Uh(this,t),this._pdfInfo=e,this._transport=r}),[{key:"annotationStorage",get:function(){return this._transport.annotationStorage}},{key:"canvasFactory",get:function(){return this._transport.canvasFactory}},{key:"filterFactory",get:function(){return this._transport.filterFactory}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprints",get:function(){return this._pdfInfo.fingerprints}},{key:"isPureXfa",get:function(){return W(this,"isPureXfa",!!this._transport._htmlForXfa)}},{key:"allXfaHtml",get:function(){return this._transport._htmlForXfa}},{key:"getPage",value:function(t){return this._transport.getPage(t)}},{key:"getPageIndex",value:function(t){return this._transport.getPageIndex(t)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(t){return this._transport.getDestination(t)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJSActions",value:function(){return this._transport.getDocJSActions()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getOptionalContentConfig",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intent,e=void 0===t?"display":t,r=this._transport.getRenderingIntent(e).renderingIntent;return this._transport.getOptionalContentConfig(r)}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getMarkInfo",value:function(){return this._transport.getMarkInfo()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"saveDocument",value:function(){return this._transport.saveDocument()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"cleanup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._transport.startCleanup(t||this.isPureXfa)}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"cachedPageNumber",value:function(t){return this._transport.cachedPageNumber(t)}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}},{key:"getFieldObjects",value:function(){return this._transport.getFieldObjects()}},{key:"hasJSActions",value:function(){return this._transport.hasJSActions()}},{key:"getCalculationOrderIds",value:function(){return this._transport.getCalculationOrderIds()}}])}(),af=new WeakMap,of=new WeakMap,sf=new WeakSet,uf=function(){return Vh((function t(e,r,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Uh(this,t),Mh(this,sf),Ch(this,af,null),Ch(this,of,!1),this._pageIndex=e,this._pageInfo=r,this._transport=n,this._stats=i?new Se:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new Cf,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}),[{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"getViewport",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scale,r=t.rotation,n=void 0===r?this.rotate:r,i=t.offsetX,a=void 0===i?0:i,o=t.offsetY,s=void 0===o?0:o,u=t.dontFlip,c=void 0!==u&&u;return new be({viewBox:this.view,scale:e,rotation:n,offsetX:a,offsetY:s,dontFlip:c})}},{key:"getAnnotations",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intent,e=void 0===t?"display":t,r=this._transport.getRenderingIntent(e).renderingIntent;return this._transport.getAnnotations(this._pageIndex,r)}},{key:"getJSActions",value:function(){return this._transport.getPageJSActions(this._pageIndex)}},{key:"filterFactory",get:function(){return this._transport.filterFactory}},{key:"isPureXfa",get:function(){return W(this,"isPureXfa",!!this._transport._htmlForXfa)}},{key:"getXfa",value:(t=Hh(Bh().mark((function t(){var e;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(null===(e=this._transport._htmlForXfa)||void 0===e?void 0:e.children[this._pageIndex])||null);case 1:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(t){var e,r,n=this,i=t.canvasContext,a=t.viewport,o=t.intent,s=void 0===o?"display":o,u=t.annotationMode,c=void 0===u?x.ENABLE:u,l=t.transform,h=void 0===l?null:l,f=t.background,d=void 0===f?null:f,v=t.optionalContentConfigPromise,p=void 0===v?null:v,y=t.annotationCanvasMap,g=void 0===y?null:y,m=t.pageColors,b=void 0===m?null:m,w=t.printAnnotationStorage,k=void 0===w?null:w,A=t.isEditing,_=void 0!==A&&A;null===(e=this._stats)||void 0===e||e.time("Overall");var E=this._transport.getRenderingIntent(s,c,k,_),S=E.renderingIntent,O=E.cacheKey;Rh(of,this,!1),Fh(sf,this,lf).call(this),p||(p=this._transport.getOptionalContentConfig(S));var T=this._intentStates.get(O);T||(T=Object.create(null),this._intentStates.set(O,T)),T.streamReaderCancelTimeout&&(clearTimeout(T.streamReaderCancelTimeout),T.streamReaderCancelTimeout=null);var P,L=!!(4&S);T.displayReadyCapability||(T.displayReadyCapability=Promise.withResolvers(),T.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null===(P=this._stats)||void 0===P||P.time("Page Request"),this._pumpOperatorList(E));var M=function(t){var e;T.renderTasks.delete(C),(n._maybeCleanupAfterRender||L)&&Rh(of,n,!0),Fh(sf,n,cf).call(n,!L),t?(C.capability.reject(t),n._abortOperatorList({intentState:T,reason:t instanceof Error?t:new Error(t)})):C.capability.resolve(),n._stats&&(n._stats.timeEnd("Rendering"),n._stats.timeEnd("Overall"),null!==(e=globalThis.Stats)&&void 0!==e&&e.enabled&&globalThis.Stats.add(n.pageNumber,n._stats))},C=new Df({callback:M,params:{canvasContext:i,viewport:a,transform:h,background:d},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:g,operatorList:T.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!L,pdfBug:this._pdfBug,pageColors:b});((r=T).renderTasks||(r.renderTasks=new Set)).add(C);var j=C.task;return Promise.all([T.displayReadyCapability.promise,p]).then((function(t){var e,r=Lh(t,2),i=r[0],a=r[1];if(n.destroyed)M();else{if(null===(e=n._stats)||void 0===e||e.time("Rendering"),!(a.renderingIntent&S))throw new Error("Must use the same \`intent\`-argument when calling the \`PDFPageProxy.render\` and \`PDFDocumentProxy.getOptionalContentConfig\` methods.");C.initializeGraphics({transparency:i,optionalContentConfig:a}),C.operatorListChanged()}})).catch(M),j}},{key:"getOperatorList",value:function(){var t,e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.intent,a=void 0===i?"display":i,o=n.annotationMode,s=void 0===o?x.ENABLE:o,u=n.printAnnotationStorage,c=void 0===u?null:u,l=n.isEditing,h=void 0!==l&&l,f=this._transport.getRenderingIntent(a,s,c,h,!0),d=this._intentStates.get(f.cacheKey);return d||(d=Object.create(null),this._intentStates.set(f.cacheKey,d)),d.opListReadCapability||((t=Object.create(null)).operatorListChanged=function(){d.operatorList.lastChunk&&(d.opListReadCapability.resolve(d.operatorList),d.renderTasks.delete(t))},d.opListReadCapability=Promise.withResolvers(),((e=d).renderTasks||(e.renderTasks=new Set)).add(t),d.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},null===(r=this._stats)||void 0===r||r.time("Page Request"),this._pumpOperatorList(f)),d.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.includeMarkedContent,r=void 0!==e&&e,n=t.disableNormalization,i=void 0!==n&&n;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===r,disableNormalization:!0===i},{highWaterMark:100,size:t=>t.items.length})}},{key:"getTextContent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then((function(t){return Eh.textContent(t)}));var e=this.streamTextContent(t);return new Promise((function(t,r){var n=e.getReader(),i={items:[],styles:Object.create(null),lang:null};!function e(){n.read().then((function(r){var n,a,o=r.value;r.done?t(i):(null!==(n=i.lang)&&void 0!==n||(i.lang=o.lang),Object.assign(i.styles,o.styles),(a=i.items).push.apply(a,function(t){return function(t){if(Array.isArray(t))return Wh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Nh(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o.items)),e())}),r)}()}))}},{key:"getStructTree",value:function(){return this._transport.getStructTree(this._pageIndex)}},{key:"_destroy",value:function(){this.destroyed=!0;var t,e=[],r=Dh(this._intentStates.values());try{for(r.s();!(t=r.n()).done;){var n=t.value;if(this._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),!n.opListReadCapability){var i,a=Dh(n.renderTasks);try{for(a.s();!(i=a.n()).done;){var o=i.value;e.push(o.completed),o.cancel()}}catch(t){a.e(t)}finally{a.f()}}}}catch(t){r.e(t)}finally{r.f()}return this.objs.clear(),Rh(of,this,!1),Fh(sf,this,lf).call(this),Promise.all(e)}},{key:"cleanup",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Rh(of,this,!0);var e=Fh(sf,this,cf).call(this,!1);return t&&e&&this._stats&&(this._stats=new Se),e}},{key:"_startRenderPage",value:function(t,e){var r,n,i=this._intentStates.get(e);i&&(null===(r=this._stats)||void 0===r||r.timeEnd("Page Request"),null===(n=i.displayReadyCapability)||void 0===n||n.resolve(t))}},{key:"_renderPageChunk",value:function(t,e){for(var r=0,n=t.length;r<n;r++)e.operatorList.fnArray.push(t.fnArray[r]),e.operatorList.argsArray.push(t.argsArray[r]);e.operatorList.lastChunk=t.lastChunk,e.operatorList.separateAnnots=t.separateAnnots;var i,a=Dh(e.renderTasks);try{for(a.s();!(i=a.n()).done;)i.value.operatorListChanged()}catch(t){a.e(t)}finally{a.f()}t.lastChunk&&Fh(sf,this,cf).call(this,!0)}},{key:"_pumpOperatorList",value:function(t){var e=this,r=t.renderingIntent,n=t.cacheKey,i=t.annotationStorageSerializable,a=t.modifiedIds,o=i.map,s=i.transfer,u=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:r,cacheKey:n,annotationStorage:o,modifiedIds:a},s).getReader(),c=this._intentStates.get(n);c.streamReader=u;var l=function(){u.read().then((function(t){var r=t.value;t.done?c.streamReader=null:e._transport.destroyed||(e._renderPageChunk(r,c),l())}),(function(t){if(c.streamReader=null,!e._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;var r,n=Dh(c.renderTasks);try{for(n.s();!(r=n.n()).done;)r.value.operatorListChanged()}catch(t){n.e(t)}finally{n.f()}Fh(sf,e,cf).call(e,!0)}if(c.displayReadyCapability)c.displayReadyCapability.reject(t);else{if(!c.opListReadCapability)throw t;c.opListReadCapability.reject(t)}}}))};l()}},{key:"_abortOperatorList",value:function(t){var e=this,r=t.intentState,n=t.reason,i=t.force,a=void 0!==i&&i;if(r.streamReader){if(r.streamReaderCancelTimeout&&(clearTimeout(r.streamReaderCancelTimeout),r.streamReaderCancelTimeout=null),!a){if(r.renderTasks.size>0)return;if(n instanceof we){var o=100;return n.extraDelay>0&&n.extraDelay<1e3&&(o+=n.extraDelay),void(r.streamReaderCancelTimeout=setTimeout((function(){r.streamReaderCancelTimeout=null,e._abortOperatorList({intentState:r,reason:n,force:!0})}),o))}}if(r.streamReader.cancel(new Y(n.message)).catch((function(){})),r.streamReader=null,!this._transport.destroyed){var s,u=Dh(this._intentStates);try{for(u.s();!(s=u.n()).done;){var c=Lh(s.value,2),l=c[0];if(c[1]===r){this._intentStates.delete(l);break}}}catch(t){u.e(t)}finally{u.f()}this.cleanup()}}}},{key:"stats",get:function(){return this._stats}}]);var t}();function cf(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(Fh(sf,this,lf).call(this),!Ih(of,this)||this.destroyed)return!1;if(e)return Rh(af,this,setTimeout((function(){Rh(af,t,null),Fh(sf,t,cf).call(t,!1)}),5e3)),!1;var r,n=Dh(this._intentStates.values());try{for(n.s();!(r=n.n()).done;){var i=r.value,a=i.renderTasks,o=i.operatorList;if(a.size>0||!o.lastChunk)return!1}}catch(t){n.e(t)}finally{n.f()}return this._intentStates.clear(),this.objs.clear(),Rh(of,this,!1),!0}function lf(){Ih(af,this)&&(clearTimeout(Ih(af,this)),Rh(af,this,null))}var hf=new WeakMap,ff=new WeakMap,df=function(){return Vh((function t(){Uh(this,t),Ch(this,hf,new Set),Ch(this,ff,Promise.resolve())}),[{key:"postMessage",value:function(t,e){var r=this,n={data:structuredClone(t,e?{transfer:e}:null)};Ih(ff,this).then((function(){var t,e=Dh(Ih(hf,r));try{for(e.s();!(t=e.n()).done;)t.value.call(r,n)}catch(t){e.e(t)}finally{e.f()}}))}},{key:"addEventListener",value:function(t,e){Ih(hf,this).add(e)}},{key:"removeEventListener",value:function(t,e){Ih(hf,this).delete(e)}},{key:"terminate",value:function(){Ih(hf,this).clear()}}])}(),vf=new WeakSet,pf=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.name,n=void 0===r?null:r,i=e.port,a=void 0===i?null:i,o=e.verbosity,s=void 0===o?j():o;if(Uh(this,t),Mh(this,vf),this.name=n,this.destroyed=!1,this.verbosity=s,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,a){var u;if(null!==(u=wf._)&&void 0!==u&&u.has(a))throw new Error("Cannot use more than one PDFWorker per port.");return(wf._||(wf._=new WeakMap)).set(a,this),void this._initializeFromPort(a)}this._initialize()}return Vh(t,[{key:"promise",get:function(){return m?Promise.all([cs.promise,this._readyCapability.promise]):this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}},{key:"_initializeFromPort",value:function(t){this._port=t,this._messageHandler=new Tu("main","worker",t),this._messageHandler.on("ready",(function(){})),Fh(vf,this,yf).call(this)}},{key:"_initialize",value:function(){var e=this;if(bf._||gf())this._setupFakeWorker();else{var r=t.workerSrc;try{t._isSameOrigin(window.location.href,r)||(r=t._createCDNWrapper(new URL(r,window.location).href));var n=new Worker(r,{type:"module"}),i=new Tu("main","worker",n),a=function(){o.abort(),i.destroy(),n.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},o=new AbortController;n.addEventListener("error",(function(){e._webWorker||a()}),{signal:o.signal}),i.on("test",(function(t){o.abort(),!e.destroyed&&t?(e._messageHandler=i,e._port=n,e._webWorker=n,Fh(vf,e,yf).call(e)):a()})),i.on("ready",(function(t){if(o.abort(),e.destroyed)a();else try{s()}catch(t){e._setupFakeWorker()}}));var s=function(){var t=new Uint8Array;i.send("test",t,[t.buffer])};return void s()}catch(t){I("The worker has been disabled.")}this._setupFakeWorker()}}},{key:"_setupFakeWorker",value:function(){var e=this;bf._||(R("Setting up fake worker."),bf._=!0),t._setupFakeWorkerGlobal.then((function(t){var r,n;if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var i=new df;e._port=i;var a="fake".concat((mf._=(r=mf._,n=r++,r),n)),o=new Tu(a+"_worker",a,i);t.setup(o,i),e._messageHandler=new Tu(a,a+"_worker",i),Fh(vf,e,yf).call(e)}})).catch((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){var t;this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),null===(t=wf._)||void 0===t||t.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}}],[{key:"fromPort",value:function(e){var r;if(null==e||!e.port)throw new Error("PDFWorker.fromPort - invalid method signature.");var n=null===(r=Fh(t,this,wf)._)||void 0===r?void 0:r.get(e.port);if(n){if(n._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\\nPlease remember to await \`PDFDocumentLoadingTask.destroy()\`-calls.");return n}return new t(e)}},{key:"workerSrc",get:function(){if(mu.workerSrc)return mu.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}},{key:"_setupFakeWorkerGlobal",get:function(){var e=this,r=function(){var r=Hh(Bh().mark((function r(){var n;return Bh().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!Ph(t,e,gf)){r.next=2;break}return r.abrupt("return",Ph(t,e,gf));case 2:return r.next=4,import(e.workerSrc);case 4:return n=r.sent,r.abrupt("return",n.WorkerMessageHandler);case 6:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}();return W(this,"_setupFakeWorkerGlobal",r())}}])}();function yf(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}function gf(t){try{var e;return(null===(e=globalThis.pdfjsWorker)||void 0===e?void 0:e.WorkerMessageHandler)||null}catch(t){return null}}_h=pf;var mf={_:0},bf={_:!1},wf={_:void 0};m&&(bf._=Fh(_h,_h,!0),mu.workerSrc||(mu.workerSrc="./pdf.worker.mjs")),_h._isSameOrigin=function(t,e){var r;try{if(!(r=new URL(t)).origin||"null"===r.origin)return!1}catch(t){return!1}var n=new URL(e,r);return r.origin===n.origin},_h._createCDNWrapper=function(t){var e='await import("'.concat(t,'");');return URL.createObjectURL(new Blob([e],{type:"text/javascript"}))};var kf=new WeakMap,xf=new WeakMap,Af=new WeakMap,_f=new WeakMap,Ef=new WeakMap,Sf=new WeakSet,Of=function(){return Vh((function t(e,r,n,i,a){Uh(this,t),Mh(this,Sf),Ch(this,kf,new Map),Ch(this,xf,new Map),Ch(this,Af,new Map),Ch(this,_f,new Map),Ch(this,Ef,null),this.messageHandler=e,this.loadingTask=r,this.commonObjs=new Cf,this.fontLoader=new Yo({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=a.canvasFactory,this.filterFactory=a.filterFactory,this.cMapReaderFactory=a.cMapReaderFactory,this.standardFontDataFactory=a.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}),[{key:"annotationStorage",get:function(){return W(this,"annotationStorage",new Mo)}},{key:"getRenderingIntent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.ENABLE,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=2,o=So;switch(t){case"any":a=1;break;case"display":break;case"print":a=4;break;default:R("getRenderingIntent - invalid intent: ".concat(t))}var s=4&a&&r instanceof Io?r:this.annotationStorage;switch(e){case x.DISABLE:a+=64;break;case x.ENABLE:break;case x.ENABLE_FORMS:a+=16;break;case x.ENABLE_STORAGE:a+=32,o=s.serializable;break;default:R("getRenderingIntent - invalid annotationMode: ".concat(e))}n&&(a+=128),i&&(a+=256);var u=s.modifiedIds,c=u.ids,l=u.hash;return{renderingIntent:a,cacheKey:[a,o.hash,l].join("_"),annotationStorageSerializable:o,modifiedIds:c}}},{key:"destroy",value:function(){var t,e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),null===(t=Ih(Ef,this))||void 0===t||t.reject(new Error("Worker was destroyed during onPassword callback"));var r,n=[],i=Dh(Ih(xf,this).values());try{for(i.s();!(r=i.n()).done;){var a=r.value;n.push(a._destroy())}}catch(t){i.e(t)}finally{i.f()}Ih(xf,this).clear(),Ih(Af,this).clear(),Ih(_f,this).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();var o=this.messageHandler.sendWithPromise("Terminate",null);return n.push(o),Promise.all(n).then((function(){var t;e.commonObjs.clear(),e.fontLoader.clear(),Ih(kf,e).clear(),e.filterFactory.destroy(),uh.cleanup(),null===(t=e._networkStream)||void 0===t||t.cancelAllRequests(new Y("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var t=this,e=this.messageHandler,r=this.loadingTask;e.on("GetReader",(function(e,r){D(t._networkStream,"GetReader - no \`IPDFStream\` instance available."),t._fullReader=t._networkStream.getFullReader(),t._fullReader.onProgress=function(e){t._lastProgress={loaded:e.loaded,total:e.total}},r.onPull=function(){t._fullReader.read().then((function(t){var e=t.value;t.done?r.close():(D(e instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(e),1,[e]))})).catch((function(t){r.error(t)}))},r.onCancel=function(e){t._fullReader.cancel(e),r.ready.catch((function(e){if(!t.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(function(e){var n=Promise.withResolvers(),i=t._fullReader;return i.headersReady.then((function(){var e;i.isStreamingSupported&&i.isRangeSupported||(t._lastProgress&&(null===(e=r.onProgress)||void 0===e||e.call(r,t._lastProgress)),i.onProgress=function(t){var e;null===(e=r.onProgress)||void 0===e||e.call(r,{loaded:t.loaded,total:t.total})});n.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),n.reject),n.promise})),e.on("GetRangeReader",(function(e,r){D(t._networkStream,"GetRangeReader - no \`IPDFStream\` instance available.");var n=t._networkStream.getRangeReader(e.begin,e.end);n?(r.onPull=function(){n.read().then((function(t){var e=t.value;t.done?r.close():(D(e instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(e),1,[e]))})).catch((function(t){r.error(t)}))},r.onCancel=function(e){n.cancel(e),r.ready.catch((function(e){if(!t.destroyed)throw e}))}):r.close()})),e.on("GetDoc",(function(e){var n=e.pdfInfo;t._numPages=n.numPages,t._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,r._capability.resolve(new nf(n,t))})),e.on("DocException",(function(t){var e;switch(t.name){case"PasswordException":e=new G(t.message,t.code);break;case"InvalidPDFException":e=new U(t.message);break;case"MissingPDFException":e=new z(t.message);break;case"UnexpectedResponseException":e=new V(t.message,t.status);break;case"UnknownErrorException":e=new H(t.message,t.details);break;default:F("DocException - expected a valid Error.")}r._capability.reject(e)})),e.on("PasswordRequest",(function(e){if(Rh(Ef,t,Promise.withResolvers()),r.onPassword)try{r.onPassword((function(e){e instanceof Error?Ih(Ef,t).reject(e):Ih(Ef,t).resolve({password:e})}),e.code)}catch(e){Ih(Ef,t).reject(e)}else Ih(Ef,t).reject(new G(e.message,e.code));return Ih(Ef,t).promise})),e.on("DataLoaded",(function(e){var n;null===(n=r.onProgress)||void 0===n||n.call(r,{loaded:e.length,total:e.length}),t.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(function(e){t.destroyed||Ih(xf,t).get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)})),e.on("commonobj",(function(r){var n,i=Lh(r,3),a=i[0],o=i[1],s=i[2];if(t.destroyed)return null;if(t.commonObjs.has(a))return null;switch(o){case"Font":var u=t._params,c=u.disableFontFace,l=u.fontExtraProperties,h=u.pdfBug;if("error"in s){var f=s.error;R("Error during font loading: ".concat(f)),t.commonObjs.resolve(a,f);break}var d=h&&null!==(n=globalThis.FontInspector)&&void 0!==n&&n.enabled?function(t,e){return globalThis.FontInspector.fontAdded(t,e)}:null,v=new Xo(s,{disableFontFace:c,inspectFont:d});t.fontLoader.bind(v).catch((function(){return e.sendWithPromise("FontFallback",{id:a})})).finally((function(){!l&&v.data&&(v.data=null),t.commonObjs.resolve(a,v)}));break;case"CopyLocalImage":var p=s.imageRef;D(p,"The imageRef must be defined.");var y,g=Dh(Ih(xf,t).values());try{for(g.s();!(y=g.n()).done;){var m,b=Dh(y.value.objs);try{for(b.s();!(m=b.n()).done;){var w=Lh(m.value,2)[1];if((null==w?void 0:w.ref)===p)return w.dataLen?(t.commonObjs.resolve(a,structuredClone(w)),w.dataLen):null}}catch(t){b.e(t)}finally{b.f()}}}catch(t){g.e(t)}finally{g.f()}break;case"FontPath":case"Image":case"Pattern":t.commonObjs.resolve(a,s);break;default:throw new Error("Got unknown common object type ".concat(o))}return null})),e.on("obj",(function(e){var r=Lh(e,4),n=r[0],i=r[1],a=r[2],o=r[3];if(!t.destroyed){var s,u=Ih(xf,t).get(i);if(!u.objs.has(n))if(0!==u._intentStates.size)switch(a){case"Image":u.objs.resolve(n,o),(null==o?void 0:o.dataLen)>1e7&&(u._maybeCleanupAfterRender=!0);break;case"Pattern":u.objs.resolve(n,o);break;default:throw new Error("Got unknown object type ".concat(a))}else null==o||null===(s=o.bitmap)||void 0===s||s.close()}})),e.on("DocProgress",(function(e){var n;t.destroyed||null===(n=r.onProgress)||void 0===n||n.call(r,{loaded:e.loaded,total:e.total})})),e.on("FetchBuiltInCMap",(function(e){return t.destroyed?Promise.reject(new Error("Worker was destroyed.")):t.cMapReaderFactory?t.cMapReaderFactory.fetch(e):Promise.reject(new Error("CMapReaderFactory not initialized, see the \`useWorkerFetch\` parameter."))})),e.on("FetchStandardFontData",(function(e){return t.destroyed?Promise.reject(new Error("Worker was destroyed.")):t.standardFontDataFactory?t.standardFontDataFactory.fetch(e):Promise.reject(new Error("StandardFontDataFactory not initialized, see the \`useWorkerFetch\` parameter."))}))}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"saveDocument",value:function(){var t,e,r=this;this.annotationStorage.size<=0&&R("saveDocument called while \`annotationStorage\` is empty, please use the getData-method instead.");var n=this.annotationStorage.serializable,i=n.map,a=n.transfer;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:i,filename:null!==(t=null===(e=this._fullReader)||void 0===e?void 0:e.filename)&&void 0!==t?t:null},a).finally((function(){r.annotationStorage.resetModified()}))}},{key:"getPage",value:function(t){var e=this;if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));var r=t-1,n=Ih(Af,this).get(r);if(n)return n;var i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then((function(n){if(e.destroyed)throw new Error("Transport destroyed");n.refStr&&Ih(_f,e).set(n.refStr,t);var i=new uf(r,n,e,e._params.pdfBug);return Ih(xf,e).set(r,i),i}));return Ih(Af,this).set(r,i),i}},{key:"getPageIndex",value:function(t){return Zh(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}},{key:"getAnnotations",value:function(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:e})}},{key:"getFieldObjects",value:function(){return Fh(Sf,this,Tf).call(this,"GetFieldObjects")}},{key:"hasJSActions",value:function(){return Fh(Sf,this,Tf).call(this,"HasJSActions")}},{key:"getCalculationOrderIds",value:function(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(t){return"string"!=typeof t?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getDocJSActions",value:function(){return Fh(Sf,this,Tf).call(this,"GetDocJSActions")}},{key:"getPageJSActions",value:function(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}},{key:"getStructTree",value:function(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getOptionalContentConfig",value:function(t){return Fh(Sf,this,Tf).call(this,"GetOptionalContentConfig").then((function(e){return new fc(e,t)}))}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var t=this,e="GetMetadata",r=Ih(kf,this).get(e);if(r)return r;var n=this.messageHandler.sendWithPromise(e,null).then((function(e){var r,n,i,a;return{info:e[0],metadata:e[1]?new Gu(e[1]):null,contentDispositionFilename:null!==(r=null===(n=t._fullReader)||void 0===n?void 0:n.filename)&&void 0!==r?r:null,contentLength:null!==(i=null===(a=t._fullReader)||void 0===a?void 0:a.contentLength)&&void 0!==i?i:null}}));return Ih(kf,this).set(e,n),n}},{key:"getMarkInfo",value:function(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}},{key:"startCleanup",value:(t=Hh(Bh().mark((function t(){var e,r,n,i,a=arguments;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]&&a[0],!this.destroyed){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,this.messageHandler.sendWithPromise("Cleanup",null);case 5:r=Dh(Ih(xf,this).values()),t.prev=6,r.s();case 8:if((n=r.n()).done){t.next=15;break}if((i=n.value).cleanup()){t.next=13;break}throw new Error("startCleanup: Page ".concat(i.pageNumber," is currently rendering."));case 13:t.next=8;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(6),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:this.commonObjs.clear(),e||this.fontLoader.clear(),Ih(kf,this).clear(),this.filterFactory.destroy(!0),uh.cleanup();case 28:case"end":return t.stop()}}),t,this,[[6,17,20,23]])}))),function(){return t.apply(this,arguments)})},{key:"cachedPageNumber",value:function(t){var e;if(!Zh(t))return null;var r=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);return null!==(e=Ih(_f,this).get(r))&&void 0!==e?e:null}}]);var t}();function Tf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Ih(kf,this).get(t);if(r)return r;var n=this.messageHandler.sendWithPromise(t,e);return Ih(kf,this).set(t,n),n}var Pf=Symbol("INITIAL_DATA"),Lf=new WeakMap,Mf=new WeakSet,Cf=function(){return Vh((function t(){Uh(this,t),Mh(this,Mf),Ch(this,Lf,Object.create(null))}),[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e){var r=Fh(Mf,this,jf).call(this,t);return r.promise.then((function(){return e(r.data)})),null}var n=Ih(Lf,this)[t];if(!n||n.data===Pf)throw new Error("Requesting object that isn't resolved yet ".concat(t,"."));return n.data}},{key:"has",value:function(t){var e=Ih(Lf,this)[t];return!!e&&e.data!==Pf}},{key:"resolve",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Fh(Mf,this,jf).call(this,t);r.data=e,r.resolve()}},{key:"clear",value:function(){for(var t in Ih(Lf,this)){var e,r=Ih(Lf,this)[t].data;null==r||null===(e=r.bitmap)||void 0===e||e.close()}Rh(Lf,this,Object.create(null))}},{key:Symbol.iterator,value:Bh().mark((function t(){var e,r;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=Bh().keys(Ih(Lf,this));case 1:if((t.t1=t.t0()).done){t.next=10;break}if(e=t.t1.value,(r=Ih(Lf,this)[e].data)!==Pf){t.next=6;break}return t.abrupt("continue",1);case 6:return t.next=8,[e,r];case 8:t.next=1;break;case 10:case"end":return t.stop()}}),t,this)}))}])}();function jf(t){var e;return(e=Ih(Lf,this))[t]||(e[t]=Oh(Oh({},Promise.withResolvers()),{},{data:Pf}))}var If=new WeakMap,Rf=function(){return Vh((function t(e){Uh(this,t),Ch(this,If,null),Rh(If,this,e),this.onContinue=null}),[{key:"promise",get:function(){return Ih(If,this).capability.promise}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;Ih(If,this).cancel(null,t)}},{key:"separateAnnots",get:function(){var t=Ih(If,this).operatorList.separateAnnots;if(!t)return!1;var e=Ih(If,this).annotationCanvasMap;return t.form||t.canvas&&(null==e?void 0:e.size)>0}}])}(),Ff=new WeakMap,Df=function(){return Vh((function t(e){var r=e.callback,n=e.params,i=e.objs,a=e.commonObjs,o=e.annotationCanvasMap,s=e.operatorList,u=e.pageIndex,c=e.canvasFactory,l=e.filterFactory,h=e.useRequestAnimationFrame,f=void 0!==h&&h,d=e.pdfBug,v=void 0!==d&&d,p=e.pageColors,y=void 0===p?null:p;Uh(this,t),Ch(this,Ff,null),this.callback=r,this.params=n,this.objs=i,this.commonObjs=a,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=s,this._pageIndex=u,this.canvasFactory=c,this.filterFactory=l,this._pdfBug=v,this.pageColors=y,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===f&&"undefined"!=typeof window,this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new Rf(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=n.canvasContext.canvas}),[{key:"completed",get:function(){return this.capability.promise.catch((function(){}))}},{key:"initializeGraphics",value:function(t){var e,r,n=t.transparency,i=void 0!==n&&n,a=t.optionalContentConfig;if(!this.cancelled){if(this._canvas){if(Nf._.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.");Nf._.add(this._canvas)}this._pdfBug&&null!==(e=globalThis.StepperManager)&&void 0!==e&&e.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var o=this.params,s=o.canvasContext,u=o.viewport,c=o.transform,l=o.background;this.gfx=new hu(s,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:a},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:c,viewport:u,transparency:i,background:l}),this.operatorListIdx=0,this.graphicsReady=!0,null===(r=this.graphicsReadyCallback)||void 0===r||r.call(this)}}},{key:"cancel",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.running=!1,this.cancelled=!0,null===(t=this.gfx)||void 0===t||t.endDrawing(),Ih(Ff,this)&&(window.cancelAnimationFrame(Ih(Ff,this)),Rh(Ff,this,null)),Nf._.delete(this._canvas),this.callback(e||new we("Rendering cancelled, page ".concat(this._pageIndex+1),r))}},{key:"operatorListChanged",value:function(){var t;this.graphicsReady?(null===(t=this.stepper)||void 0===t||t.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var t=this;this._useRequestAnimationFrame?Rh(Ff,this,window.requestAnimationFrame((function(){Rh(Ff,t,null),t._nextBound().catch(t._cancelBound)}))):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}},{key:"_next",value:(t=Hh(Bh().mark((function t(){return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2: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(),Nf._.delete(this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}]);var t}(),Nf={_:new WeakSet},Wf="4.7.0",Bf="";function Gf(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Hf(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hf(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Uf(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,zf(n.key),n)}}function zf(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Vf(t){return Math.floor(255*Math.max(0,Math.min(1,t))).toString(16).padStart(2,"0")}function qf(t){return Math.max(0,Math.min(255,255*t))}r(7288),r(176),r(8408),r(98),r(4302),r(7149),r(482),r(9166);var Yf=function(){return function(t,e,r){return r&&Uf(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}),0,[{key:"CMYK_G",value:function(t){var e=Gf(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return["G",1-Math.min(1,.3*r+.59*i+.11*n+a)]}},{key:"G_CMYK",value:function(t){return["CMYK",0,0,0,1-Gf(t,1)[0]]}},{key:"G_RGB",value:function(t){var e=Gf(t,1)[0];return["RGB",e,e,e]}},{key:"G_rgb",value:function(t){var e=Gf(t,1)[0];return[e=qf(e),e,e]}},{key:"G_HTML",value:function(t){var e=Vf(Gf(t,1)[0]);return"#".concat(e).concat(e).concat(e)}},{key:"RGB_G",value:function(t){var e=Gf(t,3);return["G",.3*e[0]+.59*e[1]+.11*e[2]]}},{key:"RGB_rgb",value:function(t){return t.map(qf)}},{key:"RGB_HTML",value:function(t){return"#".concat(t.map(Vf).join(""))}},{key:"T_HTML",value:function(){return"#00000000"}},{key:"T_rgb",value:function(){return[null]}},{key:"CMYK_RGB",value:function(t){var e=Gf(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return["RGB",1-Math.min(1,r+a),1-Math.min(1,i+a),1-Math.min(1,n+a)]}},{key:"CMYK_rgb",value:function(t){var e=Gf(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return[qf(1-Math.min(1,r+a)),qf(1-Math.min(1,i+a)),qf(1-Math.min(1,n+a))]}},{key:"CMYK_HTML",value:function(t){var e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}},{key:"RGB_CMYK",value:function(t){var e=Gf(t,3),r=1-e[0],n=1-e[1],i=1-e[2];return["CMYK",r,n,i,Math.min(r,n,i)]}}])}();function Xf(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Qf(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kf(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Qf(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Qf(t,e){if(t){if("string"==typeof t)return Jf(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jf(t,e):void 0}}function Jf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function $f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Zf(n.key),n)}}function Zf(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var td=function(){return function(t,e,r){return r&&$f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}),0,[{key:"setupStorage",value:function(t,e,r,n,i){var a=n.getValue(e,{value:null});switch(r.name){case"textarea":if(null!==a.value&&(t.textContent=a.value),"print"===i)break;t.addEventListener("input",(function(t){n.setValue(e,{value:t.target.value})}));break;case"input":if("radio"===r.attributes.type||"checkbox"===r.attributes.type){if(a.value===r.attributes.xfaOn?t.setAttribute("checked",!0):a.value===r.attributes.xfaOff&&t.removeAttribute("checked"),"print"===i)break;t.addEventListener("change",(function(t){n.setValue(e,{value:t.target.checked?t.target.getAttribute("xfaOn"):t.target.getAttribute("xfaOff")})}))}else{if(null!==a.value&&t.setAttribute("value",a.value),"print"===i)break;t.addEventListener("input",(function(t){n.setValue(e,{value:t.target.value})}))}break;case"select":if(null!==a.value){t.setAttribute("value",a.value);var o,s=Kf(r.children);try{for(s.s();!(o=s.n()).done;){var u=o.value;u.attributes.value===a.value?u.attributes.selected=!0:u.attributes.hasOwnProperty("selected")&&delete u.attributes.selected}}catch(t){s.e(t)}finally{s.f()}}t.addEventListener("input",(function(t){var r=t.target.options,i=-1===r.selectedIndex?"":r[r.selectedIndex].value;n.setValue(e,{value:i})}))}}},{key:"setAttributes",value:function(t){var e=t.html,r=t.element,n=t.storage,i=void 0===n?null:n,a=t.intent,o=t.linkService,s=r.attributes,u=e instanceof HTMLAnchorElement;"radio"===s.type&&(s.name="".concat(s.name,"-").concat(a));for(var c=0,l=Object.entries(s);c<l.length;c++){var h=Xf(l[c],2),f=h[0],d=h[1];if(null!=d)switch(f){case"class":d.length&&e.setAttribute(f,d.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",d);break;case"style":Object.assign(e.style,d);break;case"textContent":e.textContent=d;break;default:(!u||"href"!==f&&"newWindow"!==f)&&e.setAttribute(f,d)}}u&&o.addLinkAttributes(e,s.href,s.newWindow),i&&s.dataId&&this.setupStorage(e,s.dataId,r,i)}},{key:"render",value:function(t){var e=t.annotationStorage,r=t.linkService,n=t.xfaHtml,i=t.intent||"display",a=document.createElement(n.name);n.attributes&&this.setAttributes({html:a,element:n,intent:i,linkService:r});var o="richText"!==i,s=t.div;if(s.append(a),t.viewport){var u="matrix(".concat(t.viewport.transform.join(","),")");s.style.transform=u}o&&s.setAttribute("class","xfaLayer xfaFont");var c=[];if(0===n.children.length){if(n.value){var l=document.createTextNode(n.value);a.append(l),o&&Eh.shouldBuildText(n.name)&&c.push(l)}return{textDivs:c}}for(var h=[[n,-1,a]];h.length>0;){var f,d,v=Xf(h.at(-1),3),p=v[0],y=v[1],g=v[2];if(y+1!==p.children.length){var m=p.children[++h.at(-1)[1]];if(null!==m){var b=m.name;if("#text"!==b){var w=null!=m&&null!==(f=m.attributes)&&void 0!==f&&f.xmlns?document.createElementNS(m.attributes.xmlns,b):document.createElement(b);if(g.append(w),m.attributes&&this.setAttributes({html:w,element:m,storage:e,intent:i,linkService:r}),(null===(d=m.children)||void 0===d?void 0:d.length)>0)h.push([m,-1,w]);else if(m.value){var k=document.createTextNode(m.value);o&&Eh.shouldBuildText(b)&&c.push(k),w.append(k)}}else{var x=document.createTextNode(m.value);c.push(x),g.append(x)}}}else h.pop()}var A,_=Kf(s.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"));try{for(_.s();!(A=_.n()).done;)A.value.setAttribute("readOnly",!0)}catch(t){_.e(t)}finally{_.f()}return{textDivs:c}}},{key:"update",value:function(t){var e="matrix(".concat(t.viewport.transform.join(","),")");t.div.style.transform=e,t.div.hidden=!1}}])}();function ed(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function rd(t,e,r){return(e=Td(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nd(){nd=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function id(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function ad(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){id(a,n,i,o,s,"next",t)}function s(t){id(a,n,i,o,s,"throw",t)}o(void 0)}))}}function od(t,e,r){e||(e=[]);var n=e.length++;return Object.defineProperty({},"_",{set:function(i){e[n]=i,t.apply(r,e)}})}function sd(t,e,r){return r(_d(t,e))}function ud(){return ud="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=fd(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},ud.apply(null,arguments)}function cd(t){return function(t){if(Array.isArray(t))return md(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||gd(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ld(t,e,r){return e=fd(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,hd()?Reflect.construct(e,r||[],fd(t).constructor):e.apply(t,r))}function hd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(hd=function(){return!!t})()}function fd(t){return fd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},fd(t)}function dd(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&vd(t,e)}function vd(t,e){return vd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},vd(t,e)}function pd(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=gd(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function yd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||gd(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gd(t,e){if(t){if("string"==typeof t)return md(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?md(t,e):void 0}}function md(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function bd(t,e){kd(t,e),e.add(t)}function wd(t,e,r){kd(t,e),e.set(t,r)}function kd(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function xd(t,e,r){return t.set(_d(t,e),r),r}function Ad(t,e){return t.get(_d(t,e))}function _d(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function Ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sd(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Td(n.key),n)}}function Od(t,e,r){return e&&Sd(t.prototype,e),r&&Sd(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Td(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}var Pd=1e3,Ld=new WeakSet;function Md(t){return{width:t[2]-t[0],height:t[3]-t[1]}}var Cd=function(){return Od((function t(){Ed(this,t)}),null,[{key:"create",value:function(t){switch(t.data.annotationType){case 2:return new Bd(t);case 1:return new zd(t);case 20:switch(t.data.fieldType){case"Tx":return new qd(t);case"Btn":return t.data.radioButton?new Kd(t):t.data.checkBox?new Xd(t):new Qd(t);case"Ch":return new Jd(t);case"Sig":return new Yd(t)}return new Vd(t);case 16:return new $d(t);case 3:return new Pv(t);case 4:return new Mv(t);case 5:return new jv(t);case 6:return new Rv(t);case 8:return new Dv(t);case 14:return new Wv(t);case 15:return new Gv(t);case 7:return new Nv(t);case 9:return new Hv(t);case 10:return new Uv(t);case 11:return new zv(t);case 12:return new Vv(t);case 13:return new qv(t);case 17:return new Kv(t);default:return new Dd(t)}}}])}(),jd=new WeakMap,Id=new WeakMap,Rd=new WeakMap,Fd=new WeakSet,Dd=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.isRenderable,i=void 0!==n&&n,a=r.ignoreBorder,o=void 0!==a&&a,s=r.createQuadrilaterals,u=void 0!==s&&s;Ed(this,t),bd(this,Fd),wd(this,jd,null),wd(this,Id,!1),wd(this,Rd,null),this.isRenderable=i,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,i&&(this.container=this._createContainer(o)),u&&this._createQuadrilaterals()}return Od(t,[{key:"_isEditable",get:function(){return this.data.isEditable}},{key:"hasPopupData",get:function(){return t._hasPopupData(this.data)}},{key:"updateEdited",value:function(t){var e;if(this.container){Ad(jd,this)||xd(jd,this,{rect:this.data.rect.slice(0)});var r=t.rect;r&&_d(Fd,this,Nd).call(this,r),null===(e=Ad(Rd,this))||void 0===e||e.popup.updateEdited(t)}}},{key:"resetEdited",value:function(){var t;Ad(jd,this)&&(_d(Fd,this,Nd).call(this,Ad(jd,this).rect),null===(t=Ad(Rd,this))||void 0===t||t.popup.resetEdited(),xd(jd,this,null))}},{key:"_createContainer",value:function(t){var e=this.data,r=this.parent,n=r.page,i=r.viewport,a=document.createElement("section");a.setAttribute("data-annotation-id",e.id),this instanceof Vd||(a.tabIndex=Pd);var o=a.style;if(o.zIndex=this.parent.zIndex++,e.popupRef&&a.setAttribute("aria-haspopup","dialog"),e.alternativeText&&(a.title=e.alternativeText),e.noRotate&&a.classList.add("norotate"),!e.rect||this instanceof $d){var s=e.rotation;return e.hasOwnCanvas||0===s||this.setRotation(s,a),a}var u=Md(e.rect),c=u.width,l=u.height;if(!t&&e.borderStyle.width>0){o.borderWidth="".concat(e.borderStyle.width,"px");var h=e.borderStyle.horizontalCornerRadius,f=e.borderStyle.verticalCornerRadius;if(h>0||f>0){var d="calc(".concat(h,"px * var(--scale-factor)) / calc(").concat(f,"px * var(--scale-factor))");o.borderRadius=d}else if(this instanceof Kd){var v="calc(".concat(c,"px * var(--scale-factor)) / calc(").concat(l,"px * var(--scale-factor))");o.borderRadius=v}switch(e.borderStyle.style){case 1:o.borderStyle="solid";break;case 2:o.borderStyle="dashed";break;case 3:R("Unimplemented border style: beveled");break;case 4:R("Unimplemented border style: inset");break;case 5:o.borderBottomStyle="solid"}var p=e.borderColor||null;p?(xd(Id,this,!0),o.borderColor=Z.makeHexColor(0|p[0],0|p[1],0|p[2])):o.borderWidth=0}var y=Z.normalizeRect([e.rect[0],n.view[3]-e.rect[1]+n.view[1],e.rect[2],n.view[3]-e.rect[3]+n.view[1]]),g=i.rawDims,m=g.pageWidth,b=g.pageHeight,w=g.pageX,k=g.pageY;o.left="".concat(100*(y[0]-w)/m,"%"),o.top="".concat(100*(y[1]-k)/b,"%");var x=e.rotation;return e.hasOwnCanvas||0===x?(o.width="".concat(100*c/m,"%"),o.height="".concat(100*l/b,"%")):this.setRotation(x,a),a}},{key:"setRotation",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.container;if(this.data.rect){var r,n,i=this.parent.viewport.rawDims,a=i.pageWidth,o=i.pageHeight,s=Md(this.data.rect),u=s.width,c=s.height;t%180==0?(r=100*u/a,n=100*c/o):(r=100*c/a,n=100*u/o),e.style.width="".concat(r,"%"),e.style.height="".concat(n,"%"),e.setAttribute("data-main-rotation",(360-t)%360)}}},{key:"_commonActions",get:function(){var t=this,e=function(e,r,n){var i=n.detail[e],a=i[0],o=i.slice(1);n.target.style[r]=Yf["".concat(a,"_HTML")](o),t.annotationStorage.setValue(t.data.id,{[r]:Yf["".concat(a,"_rgb")](o)})};return W(this,"_commonActions",{display:function(e){var r=e.detail.display,n=r%2==1;t.container.style.visibility=n?"hidden":"visible",t.annotationStorage.setValue(t.data.id,{noView:n,noPrint:1===r||2===r})},print:function(e){t.annotationStorage.setValue(t.data.id,{noPrint:!e.detail.print})},hidden:function(e){var r=e.detail.hidden;t.container.style.visibility=r?"hidden":"visible",t.annotationStorage.setValue(t.data.id,{noPrint:r,noView:r})},focus:function(t){setTimeout((function(){return t.target.focus({preventScroll:!1})}),0)},userName:function(t){t.target.title=t.detail.userName},readonly:function(t){t.target.disabled=t.detail.readonly},required:function(e){t._setRequired(e.target,e.detail.required)},bgColor:function(t){e("bgColor","backgroundColor",t)},fillColor:function(t){e("fillColor","backgroundColor",t)},fgColor:function(t){e("fgColor","color",t)},textColor:function(t){e("textColor","color",t)},borderColor:function(t){e("borderColor","borderColor",t)},strokeColor:function(t){e("strokeColor","borderColor",t)},rotation:function(e){var r=e.detail.rotation;t.setRotation(r),t.annotationStorage.setValue(t.data.id,{rotation:r})}})}},{key:"_dispatchEventFromSandbox",value:function(t,e){for(var r=this._commonActions,n=0,i=Object.keys(e.detail);n<i.length;n++){var a=i[n],o=t[a]||r[a];null==o||o(e)}}},{key:"_setDefaultPropertiesFromJS",value:function(t){if(this.enableScripting){var e=this.annotationStorage.getRawValue(this.data.id);if(e)for(var r=this._commonActions,n=0,i=Object.entries(e);n<i.length;n++){var a=yd(i[n],2),o=a[0],s=a[1],u=r[o];u&&(u({detail:{[o]:s},target:t}),delete e[o])}}}},{key:"_createQuadrilaterals",value:function(){if(this.container){var t=this.data.quadPoints;if(t){var e=this.data.rect.map((function(t){return Math.fround(t)})),r=yd(e,4),n=r[0],i=r[1],a=r[2],o=r[3];if(8===t.length){var s=yd(t.subarray(2,6),4),u=s[0],c=s[1],l=s[2],h=s[3];if(a===u&&o===c&&n===l&&i===h)return}var f,d=this.container.style;if(Ad(Id,this)){var v=d.borderColor,p=d.borderWidth;d.borderWidth=0,f=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">','<g fill="transparent" stroke="'.concat(v,'" stroke-width="').concat(p,'">')],this.container.classList.add("hasBorder")}var y=a-n,g=o-i,m=this.svgFactory,b=m.createElement("svg");b.classList.add("quadrilateralsContainer"),b.setAttribute("width",0),b.setAttribute("height",0);var w=m.createElement("defs");b.append(w);var k=m.createElement("clipPath"),x="clippath_".concat(this.data.id);k.setAttribute("id",x),k.setAttribute("clipPathUnits","objectBoundingBox"),w.append(k);for(var A=2,_=t.length;A<_;A+=8){var E,S=t[A],O=t[A+1],T=t[A+2],P=t[A+3],L=m.createElement("rect"),M=(T-n)/y,C=(o-O)/g,j=(S-T)/y,I=(O-P)/g;L.setAttribute("x",M),L.setAttribute("y",C),L.setAttribute("width",j),L.setAttribute("height",I),k.append(L),null===(E=f)||void 0===E||E.push('<rect vector-effect="non-scaling-stroke" x="'.concat(M,'" y="').concat(C,'" width="').concat(j,'" height="').concat(I,'"/>'))}Ad(Id,this)&&(f.push("</g></svg>')"),d.backgroundImage=f.join("")),this.container.append(b),this.container.style.clipPath="url(#".concat(x,")")}}}},{key:"_createPopup",value:function(){var t=this.container,e=this.data;t.setAttribute("aria-haspopup","dialog");var r=xd(Rd,this,new $d({data:{color:e.color,titleObj:e.titleObj,modificationDate:e.modificationDate,contentsObj:e.contentsObj,richText:e.richText,parentRect:e.rect,borderStyle:0,id:"popup_".concat(e.id),rotation:e.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(r.render())}},{key:"render",value:function(){F("Abstract method \`AnnotationElement.render\` called")}},{key:"_getElementsByName",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[];if(this._fieldObjects){var n=this._fieldObjects[t];if(n){var i,a=pd(n);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=o.page,u=o.id,c=o.exportValues;if(-1!==s&&u!==e){var l="string"==typeof c?c:null,h=document.querySelector('[data-element-id="'.concat(u,'"]'));!h||Ld.has(h)?r.push({id:u,exportValue:l,domElement:h}):R("_getElementsByName - element not allowed: ".concat(u))}}}catch(t){a.e(t)}finally{a.f()}}return r}var f,d=pd(document.getElementsByName(t));try{for(d.s();!(f=d.n()).done;){var v=f.value,p=v.exportValue,y=v.getAttribute("data-element-id");y!==e&&Ld.has(v)&&r.push({id:y,exportValue:p,domElement:v})}}catch(t){d.e(t)}finally{d.f()}return r}},{key:"show",value:function(){var t;this.container&&(this.container.hidden=!1),null===(t=this.popup)||void 0===t||t.maybeShow()}},{key:"hide",value:function(){var t;this.container&&(this.container.hidden=!0),null===(t=this.popup)||void 0===t||t.forceHide()}},{key:"getElementsToTriggerPopup",value:function(){return this.container}},{key:"addHighlightArea",value:function(){var t=this.getElementsToTriggerPopup();if(Array.isArray(t)){var e,r=pd(t);try{for(r.s();!(e=r.n()).done;)e.value.classList.add("highlightArea")}catch(t){r.e(t)}finally{r.f()}}else t.classList.add("highlightArea")}},{key:"_editOnDoubleClick",value:function(){var t=this;if(this._isEditable){var e=this.annotationEditorType,r=this.data.id;this.container.addEventListener("dblclick",(function(){var n;null===(n=t.linkService.eventBus)||void 0===n||n.dispatch("switchannotationeditormode",{source:t,mode:e,editId:r})}))}}}],[{key:"_hasPopupData",value:function(t){var e=t.titleObj,r=t.contentsObj,n=t.richText;return!!(null!=e&&e.str||null!=r&&r.str||null!=n&&n.str)}}])}();function Nd(t){var e=this.container.style,r=this.data,n=r.rect,i=r.rotation,a=this.parent.viewport.rawDims,o=a.pageWidth,s=a.pageHeight,u=a.pageX,c=a.pageY;null==n||n.splice.apply(n,[0,4].concat(cd(t)));var l=Md(t),h=l.width,f=l.height;e.left="".concat(100*(t[0]-u)/o,"%"),e.top="".concat(100*(s-t[3]+c)/s,"%"),0===i?(e.width="".concat(100*h/o,"%"),e.height="".concat(100*f/s,"%")):this.setRotation(i)}var Wd=new WeakSet,Bd=function(t){function e(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Ed(this,e),bd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!(null==n||!n.ignoreBorder),createQuadrilaterals:!0}]),Wd),r.isTooltipOnly=t.data.isTooltipOnly,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){var t=this.data,e=this.linkService,r=document.createElement("a");r.setAttribute("data-element-id",t.id);var n=!1;return t.url?(e.addLinkAttributes(r,t.url,t.newWindow),n=!0):t.action?(this._bindNamedAction(r,t.action),n=!0):t.attachment?(_d(Wd,this,Hd).call(this,r,t.attachment,t.attachmentDest),n=!0):t.setOCGState?(_d(Wd,this,Ud).call(this,r,t.setOCGState),n=!0):t.dest?(this._bindLink(r,t.dest),n=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(r,t),n=!0),t.resetForm?(this._bindResetFormAction(r,t.resetForm),n=!0):this.isTooltipOnly&&!n&&(this._bindLink(r,""),n=!0)),this.container.classList.add("linkAnnotation"),n&&this.container.append(r),this.container}},{key:"_bindLink",value:function(t,e){var r=this;t.href=this.linkService.getDestinationHash(e),t.onclick=function(){return e&&r.linkService.goToDestination(e),!1},(e||""===e)&&_d(Wd,this,Gd).call(this)}},{key:"_bindNamedAction",value:function(t,e){var r=this;t.href=this.linkService.getAnchorUrl(""),t.onclick=function(){return r.linkService.executeNamedAction(e),!1},_d(Wd,this,Gd).call(this)}},{key:"_bindJSAction",value:function(t,e){var r=this;t.href=this.linkService.getAnchorUrl("");for(var n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]),i=function(){var i=o[a],s=n.get(i);if(!s)return 1;t[s]=function(){var t;return null===(t=r.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:r,detail:{id:e.id,name:i}}),!1}},a=0,o=Object.keys(e.actions);a<o.length;a++)i();t.onclick||(t.onclick=function(){return!1}),_d(Wd,this,Gd).call(this)}},{key:"_bindResetFormAction",value:function(t,e){var r=this,n=t.onclick;if(n||(t.href=this.linkService.getAnchorUrl("")),_d(Wd,this,Gd).call(this),!this._fieldObjects)return R('_bindResetFormAction - "resetForm" action not supported, ensure that the \`fieldObjects\` parameter is provided.'),void(n||(t.onclick=function(){return!1}));t.onclick=function(){null==n||n();var t=e.fields,i=e.refs,a=e.include,o=[];if(0!==t.length||0!==i.length){var s,u=new Set(i),c=pd(t);try{for(c.s();!(s=c.n()).done;){var l,h=s.value,f=pd(r._fieldObjects[h]||[]);try{for(f.s();!(l=f.n()).done;){var d=l.value.id;u.add(d)}}catch(t){f.e(t)}finally{f.f()}}}catch(t){c.e(t)}finally{c.f()}for(var v=0,p=Object.values(r._fieldObjects);v<p.length;v++){var y,g=pd(p[v]);try{for(g.s();!(y=g.n()).done;){var m=y.value;u.has(m.id)===a&&o.push(m)}}catch(t){g.e(t)}finally{g.f()}}}else for(var b=0,w=Object.values(r._fieldObjects);b<w.length;b++){var k=w[b];o.push.apply(o,cd(k))}for(var x,A=r.annotationStorage,_=[],E=0,S=o;E<S.length;E++){var O=S[E],T=O.id;switch(_.push(T),O.type){case"text":var P=O.defaultValue||"";A.setValue(T,{value:P});break;case"checkbox":case"radiobutton":var L=O.defaultValue===O.exportValues;A.setValue(T,{value:L});break;case"combobox":case"listbox":var M=O.defaultValue||"";A.setValue(T,{value:M});break;default:continue}var C=document.querySelector('[data-element-id="'.concat(T,'"]'));C&&(Ld.has(C)?C.dispatchEvent(new Event("resetform")):R("_bindResetFormAction - element not allowed: ".concat(T)))}return r.enableScripting&&(null===(x=r.linkService.eventBus)||void 0===x||x.dispatch("dispatcheventinsandbox",{source:r,detail:{id:"app",ids:_,name:"ResetForm"}})),!1}}}])}();function Gd(){this.container.setAttribute("data-internal-link","")}function Hd(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t.href=this.linkService.getAnchorUrl(""),e.description&&(t.title=e.description),t.onclick=function(){var t;return null===(t=r.downloadManager)||void 0===t||t.openOrDownloadData(e.content,e.filename,n),!1},_d(Wd,this,Gd).call(this)}function Ud(t,e){var r=this;t.href=this.linkService.getAnchorUrl(""),t.onclick=function(){return r.linkService.executeSetOCGState(e),!1},_d(Wd,this,Gd).call(this)}var zd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("textAnnotation");var t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}])}(),Vd=function(t){function e(){return Ed(this,e),ld(this,e,arguments)}return dd(e,Dd),Od(e,[{key:"render",value:function(){return this.container}},{key:"showElementAndHideCanvas",value:function(t){var e;this.data.hasOwnCanvas&&("CANVAS"===(null===(e=t.previousSibling)||void 0===e?void 0:e.nodeName)&&(t.previousSibling.hidden=!0),t.hidden=!1)}},{key:"_getKeyModifier",value:function(t){return J.platform.isMac?t.metaKey:t.ctrlKey}},{key:"_setEventListener",value:function(t,e,r,n,i){var a=this;r.includes("mouse")?t.addEventListener(r,(function(t){var e;null===(e=a.linkService.eventBus)||void 0===e||e.dispatch("dispatcheventinsandbox",{source:a,detail:{id:a.data.id,name:n,value:i(t),shift:t.shiftKey,modifier:a._getKeyModifier(t)}})})):t.addEventListener(r,(function(t){var o;if("blur"===r){if(!e.focused||!t.relatedTarget)return;e.focused=!1}else if("focus"===r){if(e.focused)return;e.focused=!0}i&&(null===(o=a.linkService.eventBus)||void 0===o||o.dispatch("dispatcheventinsandbox",{source:a,detail:{id:a.data.id,name:n,value:i(t)}}))}))}},{key:"_setEventListeners",value:function(t,e,r,n){var i,a=pd(r);try{for(a.s();!(i=a.n()).done;){var o,s,u,c=yd(i.value,2),l=c[0],h=c[1];("Action"===h||null!==(o=this.data.actions)&&void 0!==o&&o[h])&&("Focus"!==h&&"Blur"!==h||e||(e={focused:!1}),this._setEventListener(t,e,l,h,n),"Focus"!==h||null!==(s=this.data.actions)&&void 0!==s&&s.Blur?"Blur"!==h||null!==(u=this.data.actions)&&void 0!==u&&u.Focus||this._setEventListener(t,e,"focus","Focus",null):this._setEventListener(t,e,"blur","Blur",null))}}catch(t){a.e(t)}finally{a.f()}}},{key:"_setBackgroundColor",value:function(t){var e=this.data.backgroundColor||null;t.style.backgroundColor=null===e?"transparent":Z.makeHexColor(e[0],e[1],e[2])}},{key:"_setTextStyle",value:function(t){var e,r=this.data.defaultAppearanceData.fontColor,n=this.data.defaultAppearanceData.fontSize||9,i=t.style,a=function(t){return Math.round(10*t)/10};if(this.data.multiLine){var o=Math.abs(this.data.rect[3]-this.data.rect[1]-2),s=o/(Math.round(o/(k*n))||1);e=Math.min(n,a(s/k))}else{var u=Math.abs(this.data.rect[3]-this.data.rect[1]-2);e=Math.min(n,a(u/k))}i.fontSize="calc(".concat(e,"px * var(--scale-factor))"),i.color=Z.makeHexColor(r[0],r[1],r[2]),null!==this.data.textAlignment&&(i.textAlign=["left","center","right"][this.data.textAlignment])}},{key:"_setRequired",value:function(t,e){e?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",e)}}])}(),qd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue}])}return dd(e,Vd),Od(e,[{key:"setPropertyOnSiblings",value:function(t,e,r,n){var i,a=this.annotationStorage,o=pd(this._getElementsByName(t.name,t.id));try{for(o.s();!(i=o.n()).done;){var s=i.value;s.domElement&&(s.domElement[e]=r),a.setValue(s.id,{[n]:r})}}catch(t){o.e(t)}finally{o.f()}}},{key:"render",value:function(){var t=this,e=this.annotationStorage,r=this.data.id;this.container.classList.add("textWidgetAnnotation");var n=null;if(this.renderForms){var i,a=e.getValue(r,{value:this.data.fieldValue}),o=a.value||"",s=e.getValue(r,{charLimit:this.data.maxLen}).charLimit;s&&o.length>s&&(o=o.slice(0,s));var u=a.formattedValue||(null===(i=this.data.textContent)||void 0===i?void 0:i.join("\\n"))||null;u&&this.data.comb&&(u=u.replaceAll(/\\s+/g,""));var c,l,h={userValue:o,formattedValue:u,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?((n=document.createElement("textarea")).textContent=null!==(c=u)&&void 0!==c?c:o,this.data.doNotScroll&&(n.style.overflowY="hidden")):((n=document.createElement("input")).type="text",n.setAttribute("value",null!==(l=u)&&void 0!==l?l:o),this.data.doNotScroll&&(n.style.overflowX="hidden")),this.data.hasOwnCanvas&&(n.hidden=!0),Ld.add(n),n.setAttribute("data-element-id",r),n.disabled=this.data.readOnly,n.name=this.data.fieldName,n.tabIndex=Pd,this._setRequired(n,this.data.required),s&&(n.maxLength=s),n.addEventListener("input",(function(i){e.setValue(r,{value:i.target.value}),t.setPropertyOnSiblings(n,"value",i.target.value,"value"),h.formattedValue=null})),n.addEventListener("resetform",(function(e){var r,i=null!==(r=t.data.defaultFieldValue)&&void 0!==r?r:"";n.value=h.userValue=i,h.formattedValue=null}));var f=function(t){var e=h.formattedValue;null!=e&&(t.target.value=e),t.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){var d;n.addEventListener("focus",(function(e){var r;if(!h.focused){var n=e.target;h.userValue&&(n.value=h.userValue),h.lastCommittedValue=n.value,h.commitKey=1,null!==(r=t.data.actions)&&void 0!==r&&r.Focus||(h.focused=!0)}})),n.addEventListener("updatefromsandbox",(function(n){t.showElementAndHideCanvas(n.target);var i={value(t){var n;h.userValue=null!==(n=t.detail.value)&&void 0!==n?n:"",e.setValue(r,{value:h.userValue.toString()}),t.target.value=h.userValue},formattedValue(t){var n=t.detail.formattedValue;h.formattedValue=n,null!=n&&t.target!==document.activeElement&&(t.target.value=n),e.setValue(r,{formattedValue:n})},selRange(t){var e;(e=t.target).setSelectionRange.apply(e,cd(t.detail.selRange))},charLimit:function(n){var i,a=n.detail.charLimit,o=n.target;if(0!==a){o.setAttribute("maxLength",a);var s=h.userValue;!s||s.length<=a||(s=s.slice(0,a),o.value=h.userValue=s,e.setValue(r,{value:s}),null===(i=t.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:s,willCommit:!0,commitKey:1,selStart:o.selectionStart,selEnd:o.selectionEnd}}))}else o.removeAttribute("maxLength")}};t._dispatchEventFromSandbox(i,n)})),n.addEventListener("keydown",(function(e){var n;h.commitKey=1;var i=-1;if("Escape"===e.key?i=0:"Enter"!==e.key||t.data.multiLine?"Tab"===e.key&&(h.commitKey=3):i=2,-1!==i){var a=e.target.value;h.lastCommittedValue!==a&&(h.lastCommittedValue=a,h.userValue=a,null===(n=t.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:a,willCommit:!0,commitKey:i,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}}));var v=f;f=null,n.addEventListener("blur",(function(e){var n;if(h.focused&&e.relatedTarget){null!==(n=t.data.actions)&&void 0!==n&&n.Blur||(h.focused=!1);var i,a=e.target.value;h.userValue=a,h.lastCommittedValue!==a&&(null===(i=t.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:a,willCommit:!0,commitKey:h.commitKey,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}})),v(e)}})),null!==(d=this.data.actions)&&void 0!==d&&d.Keystroke&&n.addEventListener("beforeinput",(function(e){var n;h.lastCommittedValue=null;var i=e.data,a=e.target,o=a.value,s=a.selectionStart,u=a.selectionEnd,c=s,l=u;switch(e.inputType){case"deleteWordBackward":var f=o.substring(0,s).match(/\\w*[^\\w]*$/);f&&(c-=f[0].length);break;case"deleteWordForward":var d=o.substring(s).match(/^[^\\w]*\\w*/);d&&(l+=d[0].length);break;case"deleteContentBackward":s===u&&(c-=1);break;case"deleteContentForward":s===u&&(l+=1)}e.preventDefault(),null===(n=t.linkService.eventBus)||void 0===n||n.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:o,change:i||"",willCommit:!1,selStart:c,selEnd:l}})})),this._setEventListeners(n,h,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(t){return t.target.value}))}if(f&&n.addEventListener("blur",f),this.data.comb){var p=(this.data.rect[2]-this.data.rect[0])/s;n.classList.add("comb"),n.style.letterSpacing="calc(".concat(p,"px * var(--scale-factor) - 1ch)")}}else(n=document.createElement("div")).textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell",this.data.hasOwnCanvas&&(n.hidden=!0);return this._setTextStyle(n),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}])}(),Yd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!!t.data.hasOwnCanvas}])}return dd(e,Vd),Od(e)}(),Xd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms}])}return dd(e,Vd),Od(e,[{key:"render",value:function(){var t=this,e=this.annotationStorage,r=this.data,n=r.id,i=e.getValue(n,{value:r.exportValue===r.fieldValue}).value;"string"==typeof i&&(i="Off"!==i,e.setValue(n,{value:i})),this.container.classList.add("buttonWidgetAnnotation","checkBox");var a=document.createElement("input");return Ld.add(a),a.setAttribute("data-element-id",n),a.disabled=r.readOnly,this._setRequired(a,this.data.required),a.type="checkbox",a.name=r.fieldName,i&&a.setAttribute("checked",!0),a.setAttribute("exportValue",r.exportValue),a.tabIndex=Pd,a.addEventListener("change",(function(i){var a,o=i.target,s=o.name,u=o.checked,c=pd(t._getElementsByName(s,n));try{for(c.s();!(a=c.n()).done;){var l=a.value,h=u&&l.exportValue===r.exportValue;l.domElement&&(l.domElement.checked=h),e.setValue(l.id,{value:h})}}catch(t){c.e(t)}finally{c.f()}e.setValue(n,{value:u})})),a.addEventListener("resetform",(function(t){var e=r.defaultFieldValue||"Off";t.target.checked=e===r.exportValue})),this.enableScripting&&this.hasJSActions&&(a.addEventListener("updatefromsandbox",(function(r){var i={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(n,{value:t.target.checked})}};t._dispatchEventFromSandbox(i,r)})),this._setEventListeners(a,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(t){return t.target.checked}))),this._setBackgroundColor(a),this._setDefaultPropertiesFromJS(a),this.container.append(a),this.container}}])}(),Kd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms}])}return dd(e,Vd),Od(e,[{key:"render",value:function(){var t=this;this.container.classList.add("buttonWidgetAnnotation","radioButton");var e=this.annotationStorage,r=this.data,n=r.id,i=e.getValue(n,{value:r.fieldValue===r.buttonValue}).value;if("string"==typeof i&&(i=i!==r.buttonValue,e.setValue(n,{value:i})),i){var a,o=pd(this._getElementsByName(r.fieldName,n));try{for(o.s();!(a=o.n()).done;){var s=a.value;e.setValue(s.id,{value:!1})}}catch(t){o.e(t)}finally{o.f()}}var u=document.createElement("input");if(Ld.add(u),u.setAttribute("data-element-id",n),u.disabled=r.readOnly,this._setRequired(u,this.data.required),u.type="radio",u.name=r.fieldName,i&&u.setAttribute("checked",!0),u.tabIndex=Pd,u.addEventListener("change",(function(r){var i,a=r.target,o=a.name,s=a.checked,u=pd(t._getElementsByName(o,n));try{for(u.s();!(i=u.n()).done;){var c=i.value;e.setValue(c.id,{value:!1})}}catch(t){u.e(t)}finally{u.f()}e.setValue(n,{value:s})})),u.addEventListener("resetform",(function(t){var e=r.defaultFieldValue;t.target.checked=null!=e&&e===r.buttonValue})),this.enableScripting&&this.hasJSActions){var c=r.buttonValue;u.addEventListener("updatefromsandbox",(function(r){var i={value:function(r){var i,a=c===r.detail.value,o=pd(t._getElementsByName(r.target.name));try{for(o.s();!(i=o.n()).done;){var s=i.value,u=a&&s.id===n;s.domElement&&(s.domElement.checked=u),e.setValue(s.id,{value:u})}}catch(t){o.e(t)}finally{o.f()}}};t._dispatchEventFromSandbox(i,r)})),this._setEventListeners(u,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(t){return t.target.checked}))}return this._setBackgroundColor(u),this._setDefaultPropertiesFromJS(u),this.container.append(u),this.container}}])}(),Qd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{ignoreBorder:t.data.hasAppearance}])}return dd(e,Bd),Od(e,[{key:"render",value:function(){var t=this,r=function(t,e,r,n){var i=ud(fd(t.prototype),"render",r);return"function"==typeof i?function(t){return i.apply(r,t)}:i}(e,0,this)([]);r.classList.add("buttonWidgetAnnotation","pushButton");var n=r.lastChild;return this.enableScripting&&this.hasJSActions&&n&&(this._setDefaultPropertiesFromJS(n),n.addEventListener("updatefromsandbox",(function(e){t._dispatchEventFromSandbox({},e)}))),r}}])}(),Jd=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:t.renderForms}])}return dd(e,Vd),Od(e,[{key:"render",value:function(){var t=this;this.container.classList.add("choiceWidgetAnnotation");var e=this.annotationStorage,r=this.data.id,n=e.getValue(r,{value:this.data.fieldValue}),i=document.createElement("select");Ld.add(i),i.setAttribute("data-element-id",r),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=Pd;var a=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",(function(e){var r,n=t.data.defaultFieldValue,a=pd(i.options);try{for(a.s();!(r=a.n()).done;){var o=r.value;o.selected=o.value===n}}catch(t){a.e(t)}finally{a.f()}}));var o,s=pd(this.data.options);try{for(s.s();!(o=s.n()).done;){var u=o.value,c=document.createElement("option");c.textContent=u.displayValue,c.value=u.exportValue,n.value.includes(u.exportValue)&&(c.setAttribute("selected",!0),a=!1),i.append(c)}}catch(t){s.e(t)}finally{s.f()}var l=null;if(a){var h=document.createElement("option");h.value=" ",h.setAttribute("hidden",!0),h.setAttribute("selected",!0),i.prepend(h),l=function(){h.remove(),i.removeEventListener("input",l),l=null},i.addEventListener("input",l)}var f=function(t){var e=t?"value":"textContent",r=i.options;return i.multiple?Array.prototype.filter.call(r,(function(t){return t.selected})).map((function(t){return t[e]})):-1===r.selectedIndex?null:r[r.selectedIndex][e]},d=f(!1),v=function(t){var e=t.target.options;return Array.prototype.map.call(e,(function(t){return{displayValue:t.textContent,exportValue:t.value}}))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",(function(n){var a={value(t){var n;null===(n=l)||void 0===n||n();var a,o=t.detail.value,s=new Set(Array.isArray(o)?o:[o]),u=pd(i.options);try{for(u.s();!(a=u.n()).done;){var c=a.value;c.selected=s.has(c.value)}}catch(t){u.e(t)}finally{u.f()}e.setValue(r,{value:f(!0)}),d=f(!1)},multipleSelection(t){i.multiple=!0},remove(t){var n=i.options,a=t.detail.remove;if(n[a].selected=!1,i.remove(a),n.length>0){var o=Array.prototype.findIndex.call(n,(function(t){return t.selected}));-1===o&&(n[0].selected=!0)}e.setValue(r,{value:f(!0),items:v(t)}),d=f(!1)},clear(t){for(;0!==i.length;)i.remove(0);e.setValue(r,{value:null,items:[]}),d=f(!1)},insert(t){var n=t.detail.insert,a=n.index,o=n.displayValue,s=n.exportValue,u=i.children[a],c=document.createElement("option");c.textContent=o,c.value=s,u?u.before(c):i.append(c),e.setValue(r,{value:f(!0),items:v(t)}),d=f(!1)},items(t){for(var n=t.detail.items;0!==i.length;)i.remove(0);var a,o=pd(n);try{for(o.s();!(a=o.n()).done;){var s=a.value,u=s.displayValue,c=s.exportValue,l=document.createElement("option");l.textContent=u,l.value=c,i.append(l)}}catch(t){o.e(t)}finally{o.f()}i.options.length>0&&(i.options[0].selected=!0),e.setValue(r,{value:f(!0),items:v(t)}),d=f(!1)},indices(t){var n,i=new Set(t.detail.indices),a=pd(t.target.options);try{for(a.s();!(n=a.n()).done;){var o=n.value;o.selected=i.has(o.index)}}catch(t){a.e(t)}finally{a.f()}e.setValue(r,{value:f(!0)}),d=f(!1)},editable(t){t.target.disabled=!t.detail.editable}};t._dispatchEventFromSandbox(a,n)})),i.addEventListener("input",(function(n){var i,a=f(!0),o=f(!1);e.setValue(r,{value:a}),n.preventDefault(),null===(i=t.linkService.eventBus)||void 0===i||i.dispatch("dispatcheventinsandbox",{source:t,detail:{id:r,name:"Keystroke",value:d,change:o,changeEx:a,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"]],(function(t){return t.target.value}))):i.addEventListener("input",(function(t){e.setValue(r,{value:f(!0)})})),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}])}(),$d=function(t){function e(t){var r;Ed(this,e);var n=t.data,i=t.elements;return(r=ld(this,e,[t,{isRenderable:Dd._hasPopupData(n)}])).elements=i,r.popup=null,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("popupAnnotation");var t,e=this.popup=new bv({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}),r=[],n=pd(this.elements);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.popup=e,r.push(i.data.id),i.addHighlightArea()}}catch(t){n.e(t)}finally{n.f()}return this.container.setAttribute("aria-controls",r.map((function(t){return"".concat(at).concat(t)})).join(",")),this.container}}])}(),Zd=new WeakMap,tv=new WeakMap,ev=new WeakMap,rv=new WeakMap,nv=new WeakMap,iv=new WeakMap,av=new WeakMap,ov=new WeakMap,sv=new WeakMap,uv=new WeakMap,cv=new WeakMap,lv=new WeakMap,hv=new WeakMap,fv=new WeakMap,dv=new WeakMap,vv=new WeakMap,pv=new WeakMap,yv=new WeakMap,gv=new WeakMap,mv=new WeakSet,bv=function(){return Od((function t(e){var r=e.container,n=e.color,i=e.elements,a=e.titleObj,o=e.modificationDate,s=e.contentsObj,u=e.richText,c=e.parent,l=e.rect,h=e.parentRect,f=e.open;Ed(this,t),bd(this,mv),wd(this,Zd,_d(mv,this,_v).bind(this)),wd(this,tv,_d(mv,this,Tv).bind(this)),wd(this,ev,_d(mv,this,Ov).bind(this)),wd(this,rv,_d(mv,this,Sv).bind(this)),wd(this,nv,null),wd(this,iv,null),wd(this,av,null),wd(this,ov,null),wd(this,sv,null),wd(this,uv,null),wd(this,cv,null),wd(this,lv,!1),wd(this,hv,null),wd(this,fv,null),wd(this,dv,null),wd(this,vv,null),wd(this,pv,null),wd(this,yv,null),wd(this,gv,!1),xd(iv,this,r),xd(pv,this,a),xd(av,this,s),xd(vv,this,u),xd(uv,this,c),xd(nv,this,n),xd(dv,this,l),xd(cv,this,h),xd(sv,this,i),xd(ov,this,Le.toDateObject(o)),this.trigger=i.flatMap((function(t){return t.getElementsToTriggerPopup()}));var d,v=pd(this.trigger);try{for(v.s();!(d=v.n()).done;){var p=d.value;p.addEventListener("click",Ad(rv,this)),p.addEventListener("mouseenter",Ad(ev,this)),p.addEventListener("mouseleave",Ad(tv,this)),p.classList.add("popupTriggerArea")}}catch(t){v.e(t)}finally{v.f()}var y,g=pd(i);try{for(g.s();!(y=g.n()).done;){var m;null===(m=y.value.container)||void 0===m||m.addEventListener("keydown",Ad(Zd,this))}}catch(t){g.e(t)}finally{g.f()}Ad(iv,this).hidden=!0,f&&_d(mv,this,Sv).call(this)}),[{key:"render",value:function(){if(!Ad(hv,this)){var t=xd(hv,this,document.createElement("div"));if(t.className="popup",Ad(nv,this)){var e=t.style.outlineColor=Z.makeHexColor.apply(Z,cd(Ad(nv,this)));CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?t.style.backgroundColor="color-mix(in srgb, ".concat(e," 30%, white)"):t.style.backgroundColor=Z.makeHexColor.apply(Z,cd(Ad(nv,this).map((function(t){return Math.floor(.7*(255-t)+t)}))))}var r=document.createElement("span");r.className="header";var n=document.createElement("h1");r.append(n);var i=Ad(pv,this);if(n.dir=i.dir,n.textContent=i.str,t.append(r),Ad(ov,this)){var a=document.createElement("span");a.classList.add("popupDate"),a.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),a.setAttribute("data-l10n-args",JSON.stringify({dateObj:Ad(ov,this).valueOf()})),r.append(a)}var o=sd(mv,this,wv);if(o)td.render({xfaHtml:o,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{var s=this._formatContents(Ad(av,this));t.append(s)}Ad(iv,this).append(t)}}},{key:"_formatContents",value:function(t){var e=t.str,r=t.dir,n=document.createElement("p");n.classList.add("popupContent"),n.dir=r;for(var i=e.split(/(?:\\r\\n?|\\n)/),a=0,o=i.length;a<o;++a){var s=i[a];n.append(document.createTextNode(s)),a<o-1&&n.append(document.createElement("br"))}return n}},{key:"updateEdited",value:function(t){var e,r=t.rect,n=t.popupContent;Ad(yv,this)||xd(yv,this,{contentsObj:Ad(av,this),richText:Ad(vv,this)}),r&&xd(fv,this,null),n&&(xd(vv,this,_d(mv,this,Av).call(this,n)),xd(av,this,null)),null===(e=Ad(hv,this))||void 0===e||e.remove(),xd(hv,this,null)}},{key:"resetEdited",value:function(){var t;if(Ad(yv,this)){var e=Ad(yv,this);od(xd,[av,this])._=e.contentsObj,od(xd,[vv,this])._=e.richText,xd(yv,this,null),null===(t=Ad(hv,this))||void 0===t||t.remove(),xd(hv,this,null),xd(fv,this,null)}}},{key:"forceHide",value:function(){xd(gv,this,this.isVisible),Ad(gv,this)&&(Ad(iv,this).hidden=!0)}},{key:"maybeShow",value:function(){Ad(gv,this)&&(Ad(hv,this)||_d(mv,this,Ov).call(this),xd(gv,this,!1),Ad(iv,this).hidden=!1)}},{key:"isVisible",get:function(){return!1===Ad(iv,this).hidden}}])}();function wv(t){var e=Ad(vv,t),r=Ad(av,t);return null==e||!e.str||null!=r&&r.str&&r.str!==e.str?null:Ad(vv,t).html||null}function kv(t){var e;return(null===(e=sd(mv,t,wv))||void 0===e||null===(e=e.attributes)||void 0===e||null===(e=e.style)||void 0===e?void 0:e.fontSize)||0}function xv(t){var e;return(null===(e=sd(mv,t,wv))||void 0===e||null===(e=e.attributes)||void 0===e||null===(e=e.style)||void 0===e?void 0:e.color)||null}function Av(t){var e,r=[],n={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:r}]}},i={style:{color:sd(mv,this,xv),fontSize:sd(mv,this,kv)?"calc(".concat(sd(mv,this,kv),"px * var(--scale-factor))"):""}},a=pd(t.split("\\n"));try{for(a.s();!(e=a.n()).done;){var o=e.value;r.push({name:"span",value:o,attributes:i})}}catch(t){a.e(t)}finally{a.f()}return n}function _v(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||("Enter"===t.key||"Escape"===t.key&&Ad(lv,this))&&_d(mv,this,Sv).call(this)}function Ev(){if(null===Ad(fv,this)){var t,e=Ad(uv,this),r=e.page.view,n=e.viewport.rawDims,i=n.pageWidth,a=n.pageHeight,o=n.pageX,s=n.pageY,u=!!Ad(cv,this),c=Ad(u?cv:dv,this),l=pd(Ad(sv,this));try{for(l.s();!(t=l.n()).done;){var h=t.value;if(!c||null!==Z.intersect(h.data.rect,c)){c=h.data.rect,u=!0;break}}}catch(t){l.e(t)}finally{l.f()}var f=Z.normalizeRect([c[0],r[3]-c[1]+r[1],c[2],r[3]-c[3]+r[1]]),d=u?c[2]-c[0]+5:0,v=f[0]+d,p=f[1];xd(fv,this,[100*(v-o)/i,100*(p-s)/a]);var y=Ad(iv,this).style;y.left="".concat(Ad(fv,this)[0],"%"),y.top="".concat(Ad(fv,this)[1],"%")}}function Sv(){xd(lv,this,!Ad(lv,this)),Ad(lv,this)?(_d(mv,this,Ov).call(this),Ad(iv,this).addEventListener("click",Ad(rv,this)),Ad(iv,this).addEventListener("keydown",Ad(Zd,this))):(_d(mv,this,Tv).call(this),Ad(iv,this).removeEventListener("click",Ad(rv,this)),Ad(iv,this).removeEventListener("keydown",Ad(Zd,this)))}function Ov(){Ad(hv,this)||this.render(),this.isVisible?Ad(lv,this)&&Ad(iv,this).classList.add("focused"):(_d(mv,this,Ev).call(this),Ad(iv,this).hidden=!1,Ad(iv,this).style.zIndex=parseInt(Ad(iv,this).style.zIndex)+1e3)}function Tv(){Ad(iv,this).classList.remove("focused"),!Ad(lv,this)&&this.isVisible&&(Ad(iv,this).hidden=!0,Ad(iv,this).style.zIndex=parseInt(Ad(iv,this).style.zIndex)-1e3)}var Pv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}])).textContent=t.data.textContent,r.textPosition=t.data.textPosition,r.annotationEditorType=A.FREETEXT,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){var t=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");var e,r=pd(this.textContent);try{for(r.s();!(e=r.n()).done;){var n=e.value,i=document.createElement("span");i.textContent=n,t.append(i)}}catch(t){r.e(t)}finally{r.f()}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}])}(),Lv=new WeakMap,Mv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Lv,null),r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("lineAnnotation");var t=this.data,e=Md(t.rect),r=e.width,n=e.height,i=this.svgFactory.create(r,n,!0),a=xd(Lv,this,this.svgFactory.createElement("svg:line"));return a.setAttribute("x1",t.rect[2]-t.lineCoordinates[0]),a.setAttribute("y1",t.rect[3]-t.lineCoordinates[1]),a.setAttribute("x2",t.rect[2]-t.lineCoordinates[2]),a.setAttribute("y2",t.rect[3]-t.lineCoordinates[3]),a.setAttribute("stroke-width",t.borderStyle.width||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Lv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Cv=new WeakMap,jv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Cv,null),r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("squareAnnotation");var t=this.data,e=Md(t.rect),r=e.width,n=e.height,i=this.svgFactory.create(r,n,!0),a=t.borderStyle.width,o=xd(Cv,this,this.svgFactory.createElement("svg:rect"));return o.setAttribute("x",a/2),o.setAttribute("y",a/2),o.setAttribute("width",r-a),o.setAttribute("height",n-a),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),i.append(o),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Cv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Iv=new WeakMap,Rv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Iv,null),r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add("circleAnnotation");var t=this.data,e=Md(t.rect),r=e.width,n=e.height,i=this.svgFactory.create(r,n,!0),a=t.borderStyle.width,o=xd(Iv,this,this.svgFactory.createElement("svg:ellipse"));return o.setAttribute("cx",r/2),o.setAttribute("cy",n/2),o.setAttribute("rx",r/2-a/2),o.setAttribute("ry",n/2-a/2),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),i.append(o),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Iv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Fv=new WeakMap,Dv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Fv,null),r.containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add(this.containerClassName);var t=this.data,e=t.rect,r=t.vertices,n=t.borderStyle,i=t.popupRef;if(!r)return this.container;for(var a=Md(e),o=a.width,s=a.height,u=this.svgFactory.create(o,s,!0),c=[],l=0,h=r.length;l<h;l+=2){var f=r[l]-e[0],d=e[3]-r[l+1];c.push("".concat(f,",").concat(d))}c=c.join(" ");var v=xd(Fv,this,this.svgFactory.createElement(this.svgElementName));return v.setAttribute("points",c),v.setAttribute("stroke-width",n.width||1),v.setAttribute("stroke","transparent"),v.setAttribute("fill","transparent"),u.append(v),this.container.append(u),!i&&this.hasPopupData&&this._createPopup(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Fv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Nv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t])).containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return dd(e,Dv),Od(e)}(),Wv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}])}(),Bv=new WeakMap,Gv=function(t){function e(t){var r;return Ed(this,e),wd(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}]),Bv,[]),r.containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r.annotationEditorType="InkHighlight"===r.data.it?A.HIGHLIGHT:A.INK,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){this.container.classList.add(this.containerClassName);var t,e=this.data,r=e.rect,n=e.inkLists,i=e.borderStyle,a=e.popupRef,o=Md(r),s=o.width,u=o.height,c=this.svgFactory.create(s,u,!0),l=pd(n);try{for(l.s();!(t=l.n()).done;){for(var h=t.value,f=[],d=0,v=h.length;d<v;d+=2){var p=h[d]-r[0],y=r[3]-h[d+1];f.push("".concat(p,",").concat(y))}f=f.join(" ");var g=this.svgFactory.createElement(this.svgElementName);Ad(Bv,this).push(g),g.setAttribute("points",f),g.setAttribute("stroke-width",i.width||1),g.setAttribute("stroke","transparent"),g.setAttribute("fill","transparent"),!a&&this.hasPopupData&&this._createPopup(),c.append(g)}}catch(t){l.e(t)}finally{l.f()}return this.container.append(c),this._editOnDoubleClick(),this.container}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Bv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}(),Hv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])).annotationEditorType=A.HIGHLIGHT,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this._editOnDoubleClick(),this.container}}])}(),Uv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}}])}(),zv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}}])}(),Vv=function(t){function e(t){return Ed(this,e),ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}])}return dd(e,Dd),Od(e,[{key:"render",value:function(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}}])}(),qv=function(t){function e(t){var r;return Ed(this,e),(r=ld(this,e,[t,{isRenderable:!0,ignoreBorder:!0}])).annotationEditorType=A.STAMP,r}return dd(e,Dd),Od(e,[{key:"render",value:function(){return this.container.classList.add("stampAnnotation"),this.container.setAttribute("role","img"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}])}(),Yv=new WeakMap,Xv=new WeakSet,Kv=function(t){function e(t){var r,n;Ed(this,e),bd(n=ld(this,e,[t,{isRenderable:!0}]),Xv),wd(n,Yv,null);var i=n.data.file;return n.filename=i.filename,n.content=i.content,null===(r=n.linkService.eventBus)||void 0===r||r.dispatch("fileattachmentannotation",function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ed(Object(r),!0).forEach((function(e){rd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ed(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({source:n},i)),n}return dd(e,Dd),Od(e,[{key:"render",value:function(){var t=this;this.container.classList.add("fileAttachmentAnnotation");var e,r=this.container,n=this.data;n.hasAppearance||0===n.fillAlpha?e=document.createElement("div"):((e=document.createElement("img")).src="".concat(this.imageResourcesPath,"annotation-").concat(/paperclip/i.test(n.name)?"paperclip":"pushpin",".svg"),n.fillAlpha&&n.fillAlpha<1&&(e.style="filter: opacity(".concat(Math.round(100*n.fillAlpha),"%);"))),e.addEventListener("dblclick",_d(Xv,this,Qv).bind(this)),xd(Yv,this,e);var i=J.platform.isMac;return r.addEventListener("keydown",(function(e){"Enter"===e.key&&(i?e.metaKey:e.ctrlKey)&&_d(Xv,t,Qv).call(t)})),!n.popupRef&&this.hasPopupData?this._createPopup():e.classList.add("popupTriggerArea"),r.append(e),r}},{key:"getElementsToTriggerPopup",value:function(){return Ad(Yv,this)}},{key:"addHighlightArea",value:function(){this.container.classList.add("highlightArea")}}])}();function Qv(){var t;null===(t=this.downloadManager)||void 0===t||t.openOrDownloadData(this.content,this.filename)}var Jv,$v=new WeakMap,Zv=new WeakMap,tp=new WeakMap,ep=new WeakMap,rp=new WeakSet,np=function(){return Od((function t(e){var r=e.div,n=e.accessibilityManager,i=e.annotationCanvasMap,a=e.annotationEditorUIManager,o=e.page,s=e.viewport,u=e.structTreeLayer;Ed(this,t),bd(this,rp),wd(this,$v,null),wd(this,Zv,null),wd(this,tp,new Map),wd(this,ep,null),this.div=r,xd($v,this,n),xd(Zv,this,i),xd(ep,this,u||null),this.page=o,this.viewport=s,this.zIndex=0,this._annotationEditorUIManager=a}),[{key:"hasEditableAnnotations",value:function(){return Ad(tp,this).size>0}},{key:"render",value:function(){var t=ad(nd().mark((function t(e){var r,n,i,a,o,s,u,c,l,h,f,d,v,p,y,g;return nd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.annotations,Re(n=this.div,this.viewport),i=new Map,a={data:null,layer:n,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new me,annotationStorage:e.annotationStorage||new Mo,enableScripting:!0===e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null},o=pd(r),t.prev=6,o.s();case 8:if((s=o.n()).done){t.next=35;break}if(!(u=s.value).noHTML){t.next=12;break}return t.abrupt("continue",33);case 12:if(c=16===u.annotationType){t.next=19;break}if(l=Md(u.rect),h=l.width,f=l.height,!(h<=0||f<=0)){t.next=17;break}return t.abrupt("continue",33);case 17:t.next=23;break;case 19:if(d=i.get(u.id)){t.next=22;break}return t.abrupt("continue",33);case 22:a.elements=d;case 23:if(a.data=u,(v=Cd.create(a)).isRenderable){t.next=27;break}return t.abrupt("continue",33);case 27:return!c&&u.popupRef&&((p=i.get(u.popupRef))?p.push(v):i.set(u.popupRef,[v])),y=v.render(),u.hidden&&(y.style.visibility="hidden"),t.next=32,_d(rp,this,ip).call(this,y,u.id);case 32:v._isEditable&&(Ad(tp,this).set(v.data.id,v),null===(g=this._annotationEditorUIManager)||void 0===g||g.renderAnnotationElement(v));case 33:t.next=8;break;case 35:t.next=40;break;case 37:t.prev=37,t.t0=t.catch(6),o.e(t.t0);case 40:return t.prev=40,o.f(),t.finish(40);case 43:_d(rp,this,op).call(this);case 44:case"end":return t.stop()}}),t,this,[[6,37,40,43]])})));return function(e){return t.apply(this,arguments)}}()},{key:"update",value:function(t){var e=t.viewport,r=this.div;this.viewport=e,Re(r,{rotation:e.rotation}),_d(rp,this,op).call(this),r.hidden=!1}},{key:"getEditableAnnotations",value:function(){return Array.from(Ad(tp,this).values())}},{key:"getEditableAnnotation",value:function(t){return Ad(tp,this).get(t)}}])}();function ip(t,e){return ap.apply(this,arguments)}function ap(){return(ap=ad(nd().mark((function t(e,r){var n,i,a,o,s,u,c,l,h,f;return nd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.firstChild||e,o=a.id="".concat(at).concat(r),t.next=4,null===(n=Ad(ep,this))||void 0===n?void 0:n.getAriaAttributes(o);case 4:if(s=t.sent){u=pd(s);try{for(u.s();!(c=u.n()).done;)l=yd(c.value,2),h=l[0],f=l[1],a.setAttribute(h,f)}catch(t){u.e(t)}finally{u.f()}}this.div.append(e),null===(i=Ad($v,this))||void 0===i||i.moveElementInDOM(this.div,e,a,!1);case 8:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function op(){if(Ad(Zv,this)){var t,e=this.div,r=pd(Ad(Zv,this));try{for(r.s();!(t=r.n()).done;){var n=yd(t.value,2),i=n[0],a=n[1],o=e.querySelector('[data-annotation-id="'.concat(i,'"]'));if(o){a.className="annotationContent";var s=o.firstChild;s?"CANVAS"===s.nodeName?s.replaceWith(a):s.classList.contains("annotationContent")?s.after(a):s.before(a):o.append(a)}}}catch(t){r.e(t)}finally{r.f()}Ad(Zv,this).clear()}}function sp(){sp=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function up(t){return function(t){if(Array.isArray(t))return dp(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||fp(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cp(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function lp(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=fp(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function hp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||fp(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fp(t,e){if(t){if("string"==typeof t)return dp(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dp(t,e):void 0}}function dp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function vp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vp(Object(r),!0).forEach((function(e){Ap(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_p(n.key),n)}}function gp(t,e,r){return e=kp(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,mp()?Reflect.construct(e,r||[],kp(t).constructor):e.apply(t,r))}function mp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(mp=function(){return!!t})()}function bp(t,e,r,n){var i=wp(kp(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function wp(){return wp="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=kp(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},wp.apply(null,arguments)}function kp(t){return kp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},kp(t)}function xp(t,e){return xp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},xp(t,e)}function Ap(t,e,r){return(e=_p(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _p(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Ep(t,e,r){Sp(t,e),e.set(t,r)}function Sp(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Op(t,e){return t.get(Pp(t,e))}function Tp(t,e,r){return t.set(Pp(t,e),r),r}function Pp(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Lp=/\\r\\n?|\\n/g,Mp=new WeakMap,Cp=new WeakMap,jp=new WeakMap,Ip=new WeakMap,Rp=new WeakMap,Fp=new WeakSet,Dp=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){Sp(t,e),e.add(t)}(r=gp(this,e,[pp(pp({},t),{},{name:"freeTextEditor"})]),Fp),Ep(r,Mp,void 0),Ep(r,Cp,""),Ep(r,jp,"".concat(r.id,"-editor")),Ep(r,Ip,null),Ep(r,Rp,void 0),Tp(Mp,r,t.color||e._defaultColor||Wa._defaultLineColor),Tp(Rp,r,t.fontSize||e._defaultFontSize),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xp(t,e)}(e,Wa),function(t,e,r){return e&&yp(t.prototype,e),r&&yp(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"updateParams",value:function(t,e){switch(t){case _.FREETEXT_SIZE:Pp(Fp,this,Np).call(this,e);break;case _.FREETEXT_COLOR:Pp(Fp,this,Wp).call(this,e)}}},{key:"propertiesToUpdate",get:function(){return[[_.FREETEXT_SIZE,Op(Rp,this)],[_.FREETEXT_COLOR,Op(Mp,this)]]}},{key:"_translateEmpty",value:function(t,e){this._uiManager.translateSelectedEditors(t,e,!0)}},{key:"getInitialTranslation",value:function(){var t=this.parentScale;return[-e._internalPadding*t,-(e._internalPadding+Op(Rp,this))*t]}},{key:"rebuild",value:function(){this.parent&&(bp(e,"rebuild",this,3)([]),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}},{key:"enableEditMode",value:function(){if(!this.isInEditMode()){this.parent.setEditingState(!1),this.parent.updateToolbar(A.FREETEXT),bp(e,"enableEditMode",this,3)([]),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),Tp(Ip,this,new AbortController);var t=this._uiManager.combinedSignal(Op(Ip,this));this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:t}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:t}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:t}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:t}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:t})}}},{key:"disableEditMode",value:function(){var t;this.isInEditMode()&&(this.parent.setEditingState(!0),bp(e,"disableEditMode",this,3)([]),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",Op(jp,this)),this._isDraggable=!0,null===(t=Op(Ip,this))||void 0===t||t.abort(),Tp(Ip,this,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}},{key:"focusin",value:function(t){this._focusEventsAllowed&&(bp(e,"focusin",this,3)([t]),t.target!==this.editorDiv&&this.editorDiv.focus())}},{key:"onceAdded",value:function(){var t;this.width||(this.enableEditMode(),this.editorDiv.focus(),null!==(t=this._initialOptions)&&void 0!==t&&t.isCentered&&this.center(),this._initialOptions=null)}},{key:"isEmpty",value:function(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}},{key:"remove",value:function(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),bp(e,"remove",this,3)([])}},{key:"commit",value:function(){var t=this;if(this.isInEditMode()){bp(e,"commit",this,3)([]),this.disableEditMode();var r=Op(Cp,this),n=Tp(Cp,this,Pp(Fp,this,Bp).call(this).trimEnd());if(r!==n){var i=function(e){Tp(Cp,t,e),e?(Pp(Fp,t,Up).call(t),t._uiManager.rebuild(t),Pp(Fp,t,Gp).call(t)):t.remove()};this.addCommands({cmd:function(){i(n)},undo:function(){i(r)},mustExec:!1}),Pp(Fp,this,Gp).call(this)}}}},{key:"shouldGetKeyboardEvents",value:function(){return this.isInEditMode()}},{key:"enterInEditMode",value:function(){this.enableEditMode(),this.editorDiv.focus()}},{key:"dblclick",value:function(t){this.enterInEditMode()}},{key:"keydown",value:function(t){t.target===this.div&&"Enter"===t.key&&(this.enterInEditMode(),t.preventDefault())}},{key:"editorDivKeydown",value:function(t){e._keyboardManager.exec(this,t)}},{key:"editorDivFocus",value:function(t){this.isEditing=!0}},{key:"editorDivBlur",value:function(t){this.isEditing=!1}},{key:"editorDivInput",value:function(t){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}},{key:"disableEditing",value:function(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}},{key:"enableEditing",value:function(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}},{key:"render",value:function(){var t,r,n=this;if(this.div)return this.div;this.width&&(t=this.x,r=this.y),bp(e,"render",this,3)([]),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",Op(jp,this)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text"),this.enableEditing(),Wa._l10nPromise.get("pdfjs-free-text-default-content").then((function(t){var e;return null===(e=n.editorDiv)||void 0===e?void 0:e.setAttribute("default-content",t)})),this.editorDiv.contentEditable=!0;var i=this.editorDiv.style;if(i.fontSize="calc(".concat(Op(Rp,this),"px * var(--scale-factor))"),i.color=Op(Mp,this),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),Br(this,this.div,["dblclick","keydown"]),this.width){var a=hp(this.parentDimensions,2),o=a[0],s=a[1];if(this.annotationElementId){var u=this._initialData.position,c=hp(this.getInitialTranslation(),2),l=c[0],h=c[1],f=hp(this.pageTranslationToScreen(l,h),2);l=f[0],h=f[1];var d,v,p=hp(this.pageDimensions,2),y=p[0],g=p[1],m=hp(this.pageTranslation,2),b=m[0],w=m[1];switch(this.rotation){case 0:d=t+(u[0]-b)/y,v=r+this.height-(u[1]-w)/g;break;case 90:d=t+(u[0]-b)/y,v=r-(u[1]-w)/g;var k=[h,-l];l=k[0],h=k[1];break;case 180:d=t-this.width+(u[0]-b)/y,v=r-(u[1]-w)/g;var x=[-l,-h];l=x[0],h=x[1];break;case 270:d=t+(u[0]-b-this.height*g)/y,v=r+(u[1]-w-this.width*y)/g;var A=[-h,l];l=A[0],h=A[1]}this.setAt(d*o,v*s,l,h)}else this.setAt(t*o,r*s,this.width*o,this.height*s);Pp(Fp,this,Up).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}},{key:"editorDivPaste",value:function(t){var r=t.clipboardData||window.clipboardData,n=r.types;if(1!==n.length||"text/plain"!==n[0]){t.preventDefault();var i=Vp.call(e,r.getData("text")||"").replaceAll(Lp,"\\n");if(i){var a=window.getSelection();if(a.rangeCount){this.editorDiv.normalize(),a.deleteFromDocument();var o=a.getRangeAt(0);if(!i.includes("\\n"))return o.insertNode(document.createTextNode(i)),this.editorDiv.normalize(),void a.collapseToStart();var s=o.startContainer,u=o.startOffset,c=[],l=[];if(s.nodeType===Node.TEXT_NODE){var h=s.parentElement;if(l.push(s.nodeValue.slice(u).replaceAll(Lp,"")),h!==this.editorDiv){var f,d=c,v=lp(this.editorDiv.childNodes);try{for(v.s();!(f=v.n()).done;){var p=f.value;p!==h?d.push(Hp.call(e,p)):d=l}}catch(t){v.e(t)}finally{v.f()}}c.push(s.nodeValue.slice(0,u).replaceAll(Lp,""))}else if(s===this.editorDiv){var y,g=c,m=0,b=lp(this.editorDiv.childNodes);try{for(b.s();!(y=b.n()).done;){var w=y.value;m++===u&&(g=l),g.push(Hp.call(e,w))}}catch(t){b.e(t)}finally{b.f()}}Tp(Cp,this,"".concat(c.join("\\n")).concat(i).concat(l.join("\\n"))),Pp(Fp,this,Up).call(this);var k,x=new Range,A=c.reduce((function(t,e){return t+e.length}),0),_=lp(this.editorDiv.childNodes);try{for(_.s();!(k=_.n()).done;){var E=k.value.firstChild;if(E.nodeType===Node.TEXT_NODE){var S=E.nodeValue.length;if(A<=S){x.setStart(E,A),x.setEnd(E,A);break}A-=S}}}catch(t){_.e(t)}finally{_.f()}a.removeAllRanges(),a.addRange(x)}}}}},{key:"contentDiv",get:function(){return this.editorDiv}},{key:"serialize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();var r=e._internalPadding*this.parentScale,n=this.getRect(r,r),i=Wa._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:Op(Mp,this)),a={annotationType:A.FREETEXT,color:i,fontSize:Op(Rp,this),value:Pp(Fp,this,zp).call(this),pageIndex:this.pageIndex,rect:n,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?a:this.annotationElementId&&!Pp(Fp,this,qp).call(this,a)?null:(a.id=this.annotationElementId,a)}},{key:"renderAnnotationElement",value:function(t){var r=bp(e,"renderAnnotationElement",this,3)([t]);if(this.deleted)return r;var n=r.style;n.fontSize="calc(".concat(Op(Rp,this),"px * var(--scale-factor))"),n.color=Op(Mp,this),r.replaceChildren();var i,a=lp(Op(Cp,this).split("\\n"));try{for(a.s();!(i=a.n()).done;){var o=i.value,s=document.createElement("div");s.append(o?document.createTextNode(o):document.createElement("br")),r.append(s)}}catch(t){a.e(t)}finally{a.f()}var u=e._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(u,u),popupContent:Op(Cp,this)}),r}},{key:"resetAnnotationElement",value:function(t){bp(e,"resetAnnotationElement",this,3)([t]),t.resetEdited()}}],[{key:"_keyboardManager",get:function(){var t=e.prototype,r=function(t){return t.isEmpty()},n=Kn.TRANSLATE_SMALL,i=Kn.TRANSLATE_BIG;return W(this,"_keyboardManager",new rn([[["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:[-n,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:r}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[n,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[i,0],checker:r}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-n],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:r}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,n],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,i],checker:r}]]))}},{key:"initialize",value:function(t,e){Wa.initialize(t,e,{strings:["pdfjs-free-text-default-content"]});var r=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(r.getPropertyValue("--freetext-padding"))}},{key:"updateDefaultParams",value:function(t,r){switch(t){case _.FREETEXT_SIZE:e._defaultFontSize=r;break;case _.FREETEXT_COLOR:e._defaultColor=r}}},{key:"defaultPropertiesToUpdate",get:function(){return[[_.FREETEXT_SIZE,e._defaultFontSize],[_.FREETEXT_COLOR,e._defaultColor||Wa._defaultLineColor]]}},{key:"deserialize",value:(r=sp().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m;return sp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=null,!(r instanceof Pv)){t.next=6;break}if(s=(o=r).data,u=s.defaultAppearanceData,c=u.fontSize,l=u.fontColor,h=s.rect,f=s.rotation,d=s.id,v=s.popupRef,p=o.textContent,y=o.textPosition,g=o.parent.page.pageNumber,p&&0!==p.length){t.next=5;break}return t.abrupt("return",null);case 5:a=r={annotationType:A.FREETEXT,color:Array.from(l),fontSize:c,value:p.join("\\n"),position:y,pageIndex:g-1,rect:h.slice(0),rotation:f,id:d,deleted:!1,popupRef:v};case 6:return t.next=8,bp(e,"deserialize",this,2)([r,n,i]);case 8:return m=t.sent,Tp(Rp,m,r.fontSize),Tp(Mp,m,Z.makeHexColor.apply(Z,up(r.color))),Tp(Cp,m,Vp.call(e,r.value)),m.annotationElementId=r.id||null,m._initialData=a,t.abrupt("return",m);case 15:case"end":return t.stop()}}),t,this)})),n=function(){var t=this,e=arguments;return new Promise((function(n,i){var a=r.apply(t,e);function o(t){cp(a,n,i,o,s,"next",t)}function s(t){cp(a,n,i,o,s,"throw",t)}o(void 0)}))},function(t,e,r){return n.apply(this,arguments)})}]);var r,n}();function Np(t){var e=this,r=function(t){e.editorDiv.style.fontSize="calc(".concat(t,"px * var(--scale-factor))"),e.translate(0,-(t-Op(Rp,e))*e.parentScale),Tp(Rp,e,t),Pp(Fp,e,Gp).call(e)},n=Op(Rp,this);this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}function Wp(t){var e=this,r=function(t){Tp(Mp,e,e.editorDiv.style.color=t)},n=Op(Mp,this);this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function Bp(){var t=[];this.editorDiv.normalize();var e,r=null,n=lp(this.editorDiv.childNodes);try{for(n.s();!(e=n.n()).done;){var i,a=e.value;(null===(i=r)||void 0===i?void 0:i.nodeType)===Node.TEXT_NODE&&"BR"===a.nodeName||(t.push(Hp.call(Jv,a)),r=a)}}catch(t){n.e(t)}finally{n.f()}return t.join("\\n")}function Gp(){var t,e=hp(this.parentDimensions,2),r=e[0],n=e[1];if(this.isAttachedToDOM)t=this.div.getBoundingClientRect();else{var i=this.currentLayer,a=this.div,o=a.style.display,s=a.classList.contains("hidden");a.classList.remove("hidden"),a.style.display="hidden",i.div.append(this.div),t=a.getBoundingClientRect(),a.remove(),a.style.display=o,a.classList.toggle("hidden",s)}this.rotation%180==this.parentRotation%180?(this.width=t.width/r,this.height=t.height/n):(this.width=t.height/r,this.height=t.width/n),this.fixAndSetPosition()}function Hp(t){return(t.nodeType===Node.TEXT_NODE?t.nodeValue:t.innerText).replaceAll(Lp,"")}function Up(){if(this.editorDiv.replaceChildren(),Op(Cp,this)){var t,e=lp(Op(Cp,this).split("\\n"));try{for(e.s();!(t=e.n()).done;){var r=t.value,n=document.createElement("div");n.append(r?document.createTextNode(r):document.createElement("br")),this.editorDiv.append(n)}}catch(t){e.e(t)}finally{e.f()}}}function zp(){return Op(Cp,this).replaceAll(" "," ")}function Vp(t){return t.replaceAll(" "," ")}function qp(t){var e=this._initialData,r=e.value,n=e.fontSize,i=e.color,a=e.pageIndex;return this._hasBeenMoved||t.value!==r||t.fontSize!==n||t.color.some((function(t,e){return t!==i[e]}))||t.pageIndex!==a}function Yp(t,e,r){return e=Kp(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Xp()?Reflect.construct(e,r||[],Kp(t).constructor):e.apply(t,r))}function Xp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Xp=function(){return!!t})()}function Kp(t){return Kp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Kp(t)}function Qp(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Jp(t,e)}function Jp(t,e){return Jp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Jp(t,e)}function $p(t){return function(t){if(Array.isArray(t))return ry(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ey(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||ey(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ty(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ey(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function ey(t,e){if(t){if("string"==typeof t)return ry(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ry(t,e):void 0}}function ry(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ny(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iy(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oy(n.key),n)}}function ay(t,e,r){return e&&iy(t.prototype,e),r&&iy(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function oy(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function sy(t,e){cy(t,e),e.add(t)}function uy(t,e,r){cy(t,e),e.set(t,r)}function cy(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ly(t,e,r){return t.set(fy(t,e),r),r}function hy(t,e){return t.get(fy(t,e))}function fy(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}Jv=Dp,Ap(Dp,"_freeTextDefaultContent",""),Ap(Dp,"_internalPadding",0),Ap(Dp,"_defaultColor",null),Ap(Dp,"_defaultFontSize",10),Ap(Dp,"_type","freetext"),Ap(Dp,"_editorType",A.FREETEXT),r(4306),r(7710),r(6473);var dy=new WeakMap,vy=new WeakMap,py=new WeakMap,yy=new WeakSet,gy=function(){return ay((function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];ny(this,t),sy(this,yy),uy(this,dy,void 0),uy(this,vy,[]),uy(this,py,[]);var a,o=1/0,s=-1/0,u=1/0,c=-1/0,l=Math.pow(10,-4),h=ty(e);try{for(h.s();!(a=h.n()).done;){var f=a.value,d=f.x,v=f.y,p=f.width,y=f.height,g=Math.floor((d-r)/l)*l,m=Math.ceil((d+p+r)/l)*l,b=Math.floor((v-r)/l)*l,w=Math.ceil((v+y+r)/l)*l,k=[g,b,w,!0],x=[m,b,w,!1];hy(vy,this).push(k,x),o=Math.min(o,g),s=Math.max(s,m),u=Math.min(u,b),c=Math.max(c,w)}}catch(t){h.e(t)}finally{h.f()}var A,_=s-o+2*n,E=c-u+2*n,S=o-n,O=u-n,T=hy(vy,this).at(i?-1:-2),P=[T[0],T[2]],L=ty(hy(vy,this));try{for(L.s();!(A=L.n()).done;){var M=A.value,C=Zp(M,3),j=C[0],I=C[1],R=C[2];M[0]=(j-S)/_,M[1]=(I-O)/E,M[2]=(R-O)/E}}catch(t){L.e(t)}finally{L.f()}ly(dy,this,{x:S,y:O,width:_,height:E,lastPoint:P})}),[{key:"getOutlines",value:function(){hy(vy,this).sort((function(t,e){return t[0]-e[0]||t[1]-e[1]||t[2]-e[2]}));var t,e=[],r=ty(hy(vy,this));try{for(r.s();!(t=r.n()).done;){var n=t.value;n[3]?(e.push.apply(e,$p(fy(yy,this,xy).call(this,n))),fy(yy,this,wy).call(this,n)):(fy(yy,this,ky).call(this,n),e.push.apply(e,$p(fy(yy,this,xy).call(this,n))))}}catch(t){r.e(t)}finally{r.f()}return fy(yy,this,my).call(this,e)}}])}();function my(t){var e,r=[],n=new Set,i=ty(t);try{for(i.s();!(e=i.n()).done;){var a=e.value,o=Zp(a,3),s=o[0],u=o[1],c=o[2];r.push([s,u,a],[s,c,a])}}catch(t){i.e(t)}finally{i.f()}r.sort((function(t,e){return t[1]-e[1]||t[0]-e[0]}));for(var l=0,h=r.length;l<h;l+=2){var f=r[l][2],d=r[l+1][2];f.push(d),d.push(f),n.add(f),n.add(d)}for(var v,p=[];n.size>0;){var y=n.values().next().value,g=Zp(y,5),m=g[0],b=g[1],w=g[2],k=g[3],x=g[4];n.delete(y);var A=m,_=b;for(v=[m,w],p.push(v);;){var E=void 0;if(n.has(k))E=k;else{if(!n.has(x))break;E=x}n.delete(E);var S=Zp(E,5);m=S[0],b=S[1],w=S[2],k=S[3],x=S[4],A!==m&&(v.push(A,_,m,_===b?b:w),A=m),_=_===b?w:b}v.push(A,_)}return new Sy(p,hy(dy,this))}function by(t){for(var e=hy(py,this),r=0,n=e.length-1;r<=n;){var i=r+n>>1,a=e[i][0];if(a===t)return i;a<t?r=i+1:n=i-1}return n+1}function wy(t){var e=Zp(t,3),r=e[1],n=e[2],i=fy(yy,this,by).call(this,r);hy(py,this).splice(i,0,[r,n])}function ky(t){for(var e=Zp(t,3),r=e[1],n=e[2],i=fy(yy,this,by).call(this,r),a=i;a<hy(py,this).length;a++){var o=Zp(hy(py,this)[a],2),s=o[0],u=o[1];if(s!==r)break;if(s===r&&u===n)return void hy(py,this).splice(a,1)}for(var c=i-1;c>=0;c--){var l=Zp(hy(py,this)[c],2),h=l[0],f=l[1];if(h!==r)break;if(h===r&&f===n)return void hy(py,this).splice(c,1)}}function xy(t){for(var e=Zp(t,3),r=e[0],n=e[1],i=e[2],a=[[r,n,i]],o=fy(yy,this,by).call(this,i),s=0;s<o;s++)for(var u=Zp(hy(py,this)[s],2),c=u[0],l=u[1],h=0,f=a.length;h<f;h++){var d=Zp(a[h],3),v=d[1],p=d[2];if(!(l<=v||p<=c))if(v>=c)if(p>l)a[h][1]=l;else{if(1===f)return[];a.splice(h,1),h--,f--}else a[h][2]=c,p>l&&a.push([r,l,p])}return a}var Ay=function(){return ay((function t(){ny(this,t)}),[{key:"toSVGPath",value:function(){throw new Error("Abstract method \`toSVGPath\` must be implemented.")}},{key:"box",get:function(){throw new Error("Abstract getter \`box\` must be implemented.")}},{key:"serialize",value:function(t,e){throw new Error("Abstract method \`serialize\` must be implemented.")}},{key:"free",get:function(){return this instanceof tg}}])}(),_y=new WeakMap,Ey=new WeakMap,Sy=function(t){function e(t,r){var n;return ny(this,e),uy(n=Yp(this,e),_y,void 0),uy(n,Ey,void 0),ly(Ey,n,t),ly(_y,n,r),n}return Qp(e,Ay),ay(e,[{key:"toSVGPath",value:function(){var t,e=[],r=ty(hy(Ey,this));try{for(r.s();!(t=r.n()).done;){var n=t.value,i=Zp(n,2),a=i[0],o=i[1];e.push("M".concat(a," ").concat(o));for(var s=2;s<n.length;s+=2){var u=n[s],c=n[s+1];u===a?(e.push("V".concat(c)),o=c):c===o&&(e.push("H".concat(u)),a=u)}e.push("Z")}}catch(t){r.e(t)}finally{r.f()}return e.join(" ")}},{key:"serialize",value:function(t,e){var r,n=Zp(t,4),i=n[0],a=n[1],o=n[2],s=n[3],u=[],c=o-i,l=s-a,h=ty(hy(Ey,this));try{for(h.s();!(r=h.n()).done;){for(var f=r.value,d=new Array(f.length),v=0;v<f.length;v+=2)d[v]=i+f[v]*c,d[v+1]=s-f[v+1]*l;u.push(d)}}catch(t){h.e(t)}finally{h.f()}return u}},{key:"box",get:function(){return hy(_y,this)}}])}(),Oy=new WeakMap,Ty=new WeakMap,Py=new WeakMap,Ly=new WeakMap,My=new WeakMap,Cy=new WeakMap,jy=new WeakMap,Iy=new WeakMap,Ry=new WeakMap,Fy=new WeakMap,Dy=new WeakMap,Ny=new WeakMap,Wy=new WeakMap,By=new WeakSet,Gy=function(){return ay((function t(e,r,n,i,a){var o=e.x,s=e.y,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;ny(this,t),sy(this,By),uy(this,Oy,void 0),uy(this,Ty,[]),uy(this,Py,void 0),uy(this,Ly,void 0),uy(this,My,[]),uy(this,Cy,new Float64Array(18)),uy(this,jy,void 0),uy(this,Iy,void 0),uy(this,Ry,void 0),uy(this,Fy,void 0),uy(this,Dy,void 0),uy(this,Ny,void 0),uy(this,Wy,[]),ly(Oy,this,r),ly(Ny,this,i*n),ly(Ly,this,a),hy(Cy,this).set([NaN,NaN,NaN,NaN,o,s],6),ly(Py,this,u),ly(Fy,this,zy._*n),ly(Ry,this,Vy._*n),ly(Dy,this,n),hy(Wy,this).push(o,s)}),[{key:"free",get:function(){return!0}},{key:"isEmpty",value:function(){return isNaN(hy(Cy,this)[8])}},{key:"add",value:function(t){var e,r=t.x,n=t.y;ly(jy,this,r),ly(Iy,this,n);var i=Zp(hy(Oy,this),4),a=i[0],o=i[1],s=i[2],u=i[3],c=Zp(hy(Cy,this).subarray(8,12),4),l=c[0],h=c[1],f=c[2],d=c[3],v=r-f,p=n-d,y=Math.hypot(v,p);if(y<hy(Ry,this))return!1;var g=y-hy(Fy,this),m=g/y,b=m*v,w=m*p,k=l,x=h;l=f,h=d,f+=b,d+=w,null===(e=hy(Wy,this))||void 0===e||e.push(r,n);var A=b/g,_=-w/g*hy(Ny,this),E=A*hy(Ny,this);if(hy(Cy,this).set(hy(Cy,this).subarray(2,8),0),hy(Cy,this).set([f+_,d+E],4),hy(Cy,this).set(hy(Cy,this).subarray(14,18),12),hy(Cy,this).set([f-_,d-E],16),isNaN(hy(Cy,this)[6]))return 0===hy(My,this).length&&(hy(Cy,this).set([l+_,h+E],2),hy(My,this).push(NaN,NaN,NaN,NaN,(l+_-a)/s,(h+E-o)/u),hy(Cy,this).set([l-_,h-E],14),hy(Ty,this).push(NaN,NaN,NaN,NaN,(l-_-a)/s,(h-E-o)/u)),hy(Cy,this).set([k,x,l,h,f,d],6),!this.isEmpty();if(hy(Cy,this).set([k,x,l,h,f,d],6),Math.abs(Math.atan2(x-h,k-l)-Math.atan2(w,b))<Math.PI/2){var S=Zp(hy(Cy,this).subarray(2,6),4);l=S[0],h=S[1],f=S[2],d=S[3],hy(My,this).push(NaN,NaN,NaN,NaN,((l+f)/2-a)/s,((h+d)/2-o)/u);var O=Zp(hy(Cy,this).subarray(14,18),4);return l=O[0],h=O[1],k=O[2],x=O[3],hy(Ty,this).push(NaN,NaN,NaN,NaN,((k+l)/2-a)/s,((x+h)/2-o)/u),!0}var T=Zp(hy(Cy,this).subarray(0,6),6);k=T[0],x=T[1],l=T[2],h=T[3],f=T[4],d=T[5],hy(My,this).push(((k+5*l)/6-a)/s,((x+5*h)/6-o)/u,((5*l+f)/6-a)/s,((5*h+d)/6-o)/u,((l+f)/2-a)/s,((h+d)/2-o)/u);var P=Zp(hy(Cy,this).subarray(12,18),6);return f=P[0],d=P[1],l=P[2],h=P[3],k=P[4],x=P[5],hy(Ty,this).push(((k+5*l)/6-a)/s,((x+5*h)/6-o)/u,((5*l+f)/6-a)/s,((5*h+d)/6-o)/u,((l+f)/2-a)/s,((h+d)/2-o)/u),!0}},{key:"toSVGPath",value:function(){if(this.isEmpty())return"";var t=hy(My,this),e=hy(Ty,this),r=hy(Cy,this).subarray(4,6),n=hy(Cy,this).subarray(16,18),i=Zp(hy(Oy,this),4),a=i[0],o=i[1],s=i[2],u=i[3],c=Zp(fy(By,this,Hy).call(this),4),l=c[0],h=c[1],f=c[2],d=c[3];if(isNaN(hy(Cy,this)[6])&&!this.isEmpty())return"M".concat((hy(Cy,this)[2]-a)/s," ").concat((hy(Cy,this)[3]-o)/u," L").concat((hy(Cy,this)[4]-a)/s," ").concat((hy(Cy,this)[5]-o)/u," L").concat(l," ").concat(h," L").concat(f," ").concat(d," L").concat((hy(Cy,this)[16]-a)/s," ").concat((hy(Cy,this)[17]-o)/u," L").concat((hy(Cy,this)[14]-a)/s," ").concat((hy(Cy,this)[15]-o)/u," Z");var v=[];v.push("M".concat(t[4]," ").concat(t[5]));for(var p=6;p<t.length;p+=6)isNaN(t[p])?v.push("L".concat(t[p+4]," ").concat(t[p+5])):v.push("C".concat(t[p]," ").concat(t[p+1]," ").concat(t[p+2]," ").concat(t[p+3]," ").concat(t[p+4]," ").concat(t[p+5]));v.push("L".concat((r[0]-a)/s," ").concat((r[1]-o)/u," L").concat(l," ").concat(h," L").concat(f," ").concat(d," L").concat((n[0]-a)/s," ").concat((n[1]-o)/u));for(var y=e.length-6;y>=6;y-=6)isNaN(e[y])?v.push("L".concat(e[y+4]," ").concat(e[y+5])):v.push("C".concat(e[y]," ").concat(e[y+1]," ").concat(e[y+2]," ").concat(e[y+3]," ").concat(e[y+4]," ").concat(e[y+5]));return v.push("L".concat(e[4]," ").concat(e[5]," Z")),v.join(" ")}},{key:"getOutlines",value:function(){for(var t,e,r=hy(My,this),n=hy(Ty,this),i=hy(Cy,this),a=i.subarray(4,6),o=i.subarray(16,18),s=Zp(hy(Oy,this),4),u=s[0],c=s[1],l=s[2],h=s[3],f=new Float64Array((null!==(t=null===(e=hy(Wy,this))||void 0===e?void 0:e.length)&&void 0!==t?t:0)+2),d=0,v=f.length-2;d<v;d+=2)f[d]=(hy(Wy,this)[d]-u)/l,f[d+1]=(hy(Wy,this)[d+1]-c)/h;f[f.length-2]=(hy(jy,this)-u)/l,f[f.length-1]=(hy(Iy,this)-c)/h;var p=Zp(fy(By,this,Hy).call(this),4),y=p[0],g=p[1],m=p[2],b=p[3];if(isNaN(i[6])&&!this.isEmpty()){var w=new Float64Array(36);return w.set([NaN,NaN,NaN,NaN,(i[2]-u)/l,(i[3]-c)/h,NaN,NaN,NaN,NaN,(i[4]-u)/l,(i[5]-c)/h,NaN,NaN,NaN,NaN,y,g,NaN,NaN,NaN,NaN,m,b,NaN,NaN,NaN,NaN,(i[16]-u)/l,(i[17]-c)/h,NaN,NaN,NaN,NaN,(i[14]-u)/l,(i[15]-c)/h],0),new tg(w,f,hy(Oy,this),hy(Dy,this),hy(Py,this),hy(Ly,this))}for(var k=new Float64Array(hy(My,this).length+24+hy(Ty,this).length),x=r.length,A=0;A<x;A+=2)isNaN(r[A])?k[A]=k[A+1]=NaN:(k[A]=r[A],k[A+1]=r[A+1]);k.set([NaN,NaN,NaN,NaN,(a[0]-u)/l,(a[1]-c)/h,NaN,NaN,NaN,NaN,y,g,NaN,NaN,NaN,NaN,m,b,NaN,NaN,NaN,NaN,(o[0]-u)/l,(o[1]-c)/h],x),x+=24;for(var _=n.length-6;_>=6;_-=6)for(var E=0;E<6;E+=2)isNaN(n[_+E])?(k[x]=k[x+1]=NaN,x+=2):(k[x]=n[_+E],k[x+1]=n[_+E+1],x+=2);return k.set([NaN,NaN,NaN,NaN,n[4],n[5]],x),new tg(k,f,hy(Oy,this),hy(Dy,this),hy(Py,this),hy(Ly,this))}}])}();function Hy(){var t=hy(Cy,this).subarray(4,6),e=hy(Cy,this).subarray(16,18),r=Zp(hy(Oy,this),4),n=r[0],i=r[1],a=r[2],o=r[3];return[(hy(jy,this)+(t[0]-e[0])/2-n)/a,(hy(Iy,this)+(t[1]-e[1])/2-i)/o,(hy(jy,this)+(e[0]-t[0])/2-n)/a,(hy(Iy,this)+(e[1]-t[1])/2-i)/o]}var Uy,zy={_:8},Vy={_:zy._+2},qy=new WeakMap,Yy=new WeakMap,Xy=new WeakMap,Ky=new WeakMap,Qy=new WeakMap,Jy=new WeakMap,$y=new WeakMap,Zy=new WeakSet,tg=function(t){function e(t,r,n,i,a,o){var s;ny(this,e),sy(s=Yp(this,e),Zy),uy(s,qy,void 0),uy(s,Yy,null),uy(s,Xy,void 0),uy(s,Ky,void 0),uy(s,Qy,void 0),uy(s,Jy,void 0),uy(s,$y,void 0),ly($y,s,t),ly(Qy,s,r),ly(qy,s,n),ly(Jy,s,i),ly(Xy,s,a),ly(Ky,s,o),fy(Zy,s,ng).call(s,o);for(var u=hy(Yy,s),c=u.x,l=u.y,h=u.width,f=u.height,d=0,v=t.length;d<v;d+=2)t[d]=(t[d]-c)/h,t[d+1]=(t[d+1]-l)/f;for(var p=0,y=r.length;p<y;p+=2)r[p]=(r[p]-c)/h,r[p+1]=(r[p+1]-l)/f;return s}return Qp(e,Ay),ay(e,[{key:"toSVGPath",value:function(){for(var t=["M".concat(hy($y,this)[4]," ").concat(hy($y,this)[5])],e=6,r=hy($y,this).length;e<r;e+=6)isNaN(hy($y,this)[e])?t.push("L".concat(hy($y,this)[e+4]," ").concat(hy($y,this)[e+5])):t.push("C".concat(hy($y,this)[e]," ").concat(hy($y,this)[e+1]," ").concat(hy($y,this)[e+2]," ").concat(hy($y,this)[e+3]," ").concat(hy($y,this)[e+4]," ").concat(hy($y,this)[e+5]));return t.push("Z"),t.join(" ")}},{key:"serialize",value:function(t,e){var r,n,i=Zp(t,4),a=i[0],o=i[1],s=i[2],u=i[3],c=s-a,l=u-o;switch(e){case 0:r=fy(Zy,this,eg).call(this,hy($y,this),a,u,c,-l),n=fy(Zy,this,eg).call(this,hy(Qy,this),a,u,c,-l);break;case 90:r=fy(Zy,this,rg).call(this,hy($y,this),a,o,c,l),n=fy(Zy,this,rg).call(this,hy(Qy,this),a,o,c,l);break;case 180:r=fy(Zy,this,eg).call(this,hy($y,this),s,o,-c,l),n=fy(Zy,this,eg).call(this,hy(Qy,this),s,o,-c,l);break;case 270:r=fy(Zy,this,rg).call(this,hy($y,this),s,u,-c,-l),n=fy(Zy,this,rg).call(this,hy(Qy,this),s,u,-c,-l)}return{outline:Array.from(r),points:[Array.from(n)]}}},{key:"box",get:function(){return hy(Yy,this)}},{key:"getNewOutline",value:function(t,e){for(var r=hy(Yy,this),n=r.x,i=r.y,a=r.width,o=r.height,s=Zp(hy(qy,this),4),u=s[0],c=s[1],l=s[2],h=s[3],f=a*l,d=o*h,v=n*l+u,p=i*h+c,y=new Gy({x:hy(Qy,this)[0]*f+v,y:hy(Qy,this)[1]*d+p},hy(qy,this),hy(Jy,this),t,hy(Ky,this),null!=e?e:hy(Xy,this)),g=2;g<hy(Qy,this).length;g+=2)y.add({x:hy(Qy,this)[g]*f+v,y:hy(Qy,this)[g+1]*d+p});return y.getOutlines()}}])}();function eg(t,e,r,n,i){for(var a=new Float64Array(t.length),o=0,s=t.length;o<s;o+=2)a[o]=e+t[o]*n,a[o+1]=r+t[o+1]*i;return a}function rg(t,e,r,n,i){for(var a=new Float64Array(t.length),o=0,s=t.length;o<s;o+=2)a[o]=e+t[o+1]*n,a[o+1]=r+t[o]*i;return a}function ng(t){for(var e=hy($y,this),r=e[4],n=e[5],i=r,a=n,o=r,s=n,u=r,c=n,l=t?Math.max:Math.min,h=6,f=e.length;h<f;h+=6){if(isNaN(e[h]))i=Math.min(i,e[h+4]),a=Math.min(a,e[h+5]),o=Math.max(o,e[h+4]),s=Math.max(s,e[h+5]),c<e[h+5]?(u=e[h+4],c=e[h+5]):c===e[h+5]&&(u=l(u,e[h+4]));else{var d=Z.bezierBoundingBox.apply(Z,[r,n].concat($p(e.slice(h,h+6))));i=Math.min(i,d[0]),a=Math.min(a,d[1]),o=Math.max(o,d[2]),s=Math.max(s,d[3]),c<d[3]?(u=d[2],c=d[3]):c===d[3]&&(u=l(u,d[2]))}r=e[h+4],n=e[h+5]}var v=i-hy(Xy,this),p=a-hy(Xy,this),y=o-i+2*hy(Xy,this),g=s-a+2*hy(Xy,this);ly(Yy,this,{x:v,y:p,width:y,height:g,lastPoint:[u,c]})}function ig(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||og(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ag(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=og(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function og(t,e){if(t){if("string"==typeof t)return sg(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sg(t,e):void 0}}function sg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ug(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,cg(n.key),n)}}function cg(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function lg(t,e,r){hg(t,e),e.set(t,r)}function hg(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fg(t,e,r){return r(pg(t,e))}function dg(t,e){return t.get(pg(t,e))}function vg(t,e,r){return t.set(pg(t,e),r),r}function pg(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var yg=new WeakMap,gg=new WeakMap,mg=new WeakMap,bg=new WeakMap,wg=new WeakMap,kg=new WeakMap,xg=new WeakMap,Ag=new WeakMap,_g=new WeakMap,Eg=new WeakMap,Sg=new WeakMap,Og=new WeakSet,Tg=function(){function t(e){var r,n=e.editor,i=void 0===n?null:n,a=e.uiManager,o=void 0===a?null:a;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){hg(t,e),e.add(t)}(this,Og),lg(this,yg,null),lg(this,gg,null),lg(this,mg,void 0),lg(this,bg,null),lg(this,wg,!1),lg(this,kg,!1),lg(this,xg,null),lg(this,Ag,void 0),lg(this,_g,null),lg(this,Eg,null),lg(this,Sg,void 0),i?(vg(kg,this,!1),vg(Sg,this,_.HIGHLIGHT_COLOR),vg(xg,this,i)):(vg(kg,this,!0),vg(Sg,this,_.HIGHLIGHT_DEFAULT_COLOR)),vg(Eg,this,(null==i?void 0:i._uiManager)||o),vg(Ag,this,dg(Eg,this)._eventBus),vg(mg,this,(null==i?void 0:i.color)||(null===(r=dg(Eg,this))||void 0===r?void 0:r.highlightColors.values().next().value)||"#FFFF98"),Fg._||(Fg._=Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"}))}return function(t,e,r){return e&&ug(t.prototype,e),r&&ug(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"renderButton",value:function(){var t=vg(yg,this,document.createElement("button"));t.className="colorPicker",t.tabIndex="0",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),t.setAttribute("aria-haspopup",!0);var e=dg(Eg,this)._signal;t.addEventListener("click",pg(Og,this,Cg).bind(this),{signal:e}),t.addEventListener("keydown",pg(Og,this,Mg).bind(this),{signal:e});var r=vg(gg,this,document.createElement("span"));return r.className="swatch",r.setAttribute("aria-hidden",!0),r.style.backgroundColor=dg(mg,this),t.append(r),t}},{key:"renderMainDropdown",value:function(){var t=vg(bg,this,pg(Og,this,Pg).call(this));return t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-labelledby","highlightColorPickerLabel"),t}},{key:"_colorSelectFromKeyboard",value:function(t){if(t.target!==dg(yg,this)){var e=t.target.getAttribute("data-color");e&&pg(Og,this,Lg).call(this,e,t)}else pg(Og,this,Cg).call(this,t)}},{key:"_moveToNext",value:function(t){var e,r;fg(Og,this,Ig)?t.target!==dg(yg,this)?null===(e=t.target.nextSibling)||void 0===e||e.focus():null===(r=dg(bg,this).firstChild)||void 0===r||r.focus():pg(Og,this,Cg).call(this,t)}},{key:"_moveToPrevious",value:function(t){var e,r;t.target!==(null===(e=dg(bg,this))||void 0===e?void 0:e.firstChild)&&t.target!==dg(yg,this)?(fg(Og,this,Ig)||pg(Og,this,Cg).call(this,t),null===(r=t.target.previousSibling)||void 0===r||r.focus()):fg(Og,this,Ig)&&this._hideDropdownFromKeyboard()}},{key:"_moveToBeginning",value:function(t){var e;fg(Og,this,Ig)?null===(e=dg(bg,this).firstChild)||void 0===e||e.focus():pg(Og,this,Cg).call(this,t)}},{key:"_moveToEnd",value:function(t){var e;fg(Og,this,Ig)?null===(e=dg(bg,this).lastChild)||void 0===e||e.focus():pg(Og,this,Cg).call(this,t)}},{key:"hideDropdown",value:function(){var t,e;null===(t=dg(bg,this))||void 0===t||t.classList.add("hidden"),null===(e=dg(_g,this))||void 0===e||e.abort(),vg(_g,this,null)}},{key:"_hideDropdownFromKeyboard",value:function(){var t;dg(kg,this)||(fg(Og,this,Ig)?(this.hideDropdown(),dg(yg,this).focus({preventScroll:!0,focusVisible:dg(wg,this)})):null===(t=dg(xg,this))||void 0===t||t.unselect())}},{key:"updateColor",value:function(t){if(dg(gg,this)&&(dg(gg,this).style.backgroundColor=t),dg(bg,this)){var e,r=dg(Eg,this).highlightColors.values(),n=ag(dg(bg,this).children);try{for(n.s();!(e=n.n()).done;)e.value.setAttribute("aria-selected",r.next().value===t)}catch(t){n.e(t)}finally{n.f()}}}},{key:"destroy",value:function(){var t,e;null===(t=dg(yg,this))||void 0===t||t.remove(),vg(yg,this,null),vg(gg,this,null),null===(e=dg(bg,this))||void 0===e||e.remove(),vg(bg,this,null)}}],[{key:"_keyboardManager",get:function(){return W(this,"_keyboardManager",new rn([[["Escape","mac+Escape"],t.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],t.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],t.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],t.prototype._moveToPrevious],[["Home","mac+Home"],t.prototype._moveToBeginning],[["End","mac+End"],t.prototype._moveToEnd]]))}}])}();function Pg(){var t=document.createElement("div"),e=dg(Eg,this)._signal;t.addEventListener("contextmenu",Te,{signal:e}),t.className="dropdown",t.role="listbox",t.setAttribute("aria-multiselectable",!1),t.setAttribute("aria-orientation","vertical"),t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown");var r,n=ag(dg(Eg,this).highlightColors);try{for(n.s();!(r=n.n()).done;){var i=ig(r.value,2),a=i[0],o=i[1],s=document.createElement("button");s.tabIndex="0",s.role="option",s.setAttribute("data-color",o),s.title=a,s.setAttribute("data-l10n-id",Fg._[a]);var u=document.createElement("span");s.append(u),u.className="swatch",u.style.backgroundColor=o,s.setAttribute("aria-selected",o===dg(mg,this)),s.addEventListener("click",pg(Og,this,Lg).bind(this,o),{signal:e}),t.append(s)}}catch(t){n.e(t)}finally{n.f()}return t.addEventListener("keydown",pg(Og,this,Mg).bind(this),{signal:e}),t}function Lg(t,e){e.stopPropagation(),dg(Ag,this).dispatch("switchannotationeditorparams",{source:this,type:dg(Sg,this),value:t})}function Mg(t){Uy._keyboardManager.exec(this,t)}function Cg(t){if(fg(Og,this,Ig))this.hideDropdown();else if(vg(wg,this,0===t.detail),dg(_g,this)||(vg(_g,this,new AbortController),window.addEventListener("pointerdown",pg(Og,this,jg).bind(this),{signal:dg(Eg,this).combinedSignal(dg(_g,this))})),dg(bg,this))dg(bg,this).classList.remove("hidden");else{var e=vg(bg,this,pg(Og,this,Pg).call(this));dg(yg,this).append(e)}}function jg(t){var e;null!==(e=dg(bg,this))&&void 0!==e&&e.contains(t.target)||this.hideDropdown()}function Ig(t){return dg(bg,t)&&!dg(bg,t).classList.contains("hidden")}Uy=Tg;var Rg,Fg={_:null};function Dg(t){return function(t){if(Array.isArray(t))return Bg(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Wg(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ng(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Wg(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wg(t,e){if(t){if("string"==typeof t)return Bg(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bg(t,e):void 0}}function Bg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Gg(){Gg=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Hg(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Ug(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Hg(a,n,i,o,s,"next",t)}function s(t){Hg(a,n,i,o,s,"throw",t)}o(void 0)}))}}function zg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zg(Object(r),!0).forEach((function(e){Zg(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zg(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qg(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,tm(n.key),n)}}function Yg(t,e,r){return e=Jg(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Xg()?Reflect.construct(e,r||[],Jg(t).constructor):e.apply(t,r))}function Xg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Xg=function(){return!!t})()}function Kg(t,e,r,n){var i=Qg(Jg(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function Qg(){return Qg="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=Jg(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},Qg.apply(null,arguments)}function Jg(t){return Jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jg(t)}function $g(t,e){return $g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},$g(t,e)}function Zg(t,e,r){return(e=tm(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tm(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function em(t,e,r){rm(t,e),e.set(t,r)}function rm(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function nm(t,e,r){e||(e=[]);var n=e.length++;return Object.defineProperty({},"_",{set:function(i){e[n]=i,t.apply(r,e)}})}function im(t,e){return t.get(om(t,e))}function am(t,e,r){return t.set(om(t,e),r),r}function om(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var sm,um=new WeakMap,cm=new WeakMap,lm=new WeakMap,hm=new WeakMap,fm=new WeakMap,dm=new WeakMap,vm=new WeakMap,pm=new WeakMap,ym=new WeakMap,gm=new WeakMap,mm=new WeakMap,bm=new WeakMap,wm=new WeakMap,km=new WeakMap,xm=new WeakMap,Am=new WeakMap,_m=new WeakMap,Em=new WeakMap,Sm=new WeakSet,Om=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){rm(t,e),e.add(t)}(r=Yg(this,e,[Vg(Vg({},t),{},{name:"highlightEditor"})]),Sm),em(r,um,null),em(r,cm,0),em(r,lm,void 0),em(r,hm,null),em(r,fm,null),em(r,dm,null),em(r,vm,null),em(r,pm,0),em(r,ym,null),em(r,gm,null),em(r,mm,null),em(r,bm,!1),em(r,wm,null),em(r,km,void 0),em(r,xm,null),em(r,Am,""),em(r,_m,void 0),em(r,Em,""),r.color=t.color||e._defaultColor,am(_m,r,t.thickness||e._defaultThickness),am(km,r,t.opacity||e._defaultOpacity),am(lm,r,t.boxes||null),am(Em,r,t.methodOfCreation||""),am(Am,r,t.text||""),r._isDraggable=!1,t.highlightId>-1?(am(bm,r,!0),om(Sm,r,Pm).call(r,t),om(Sm,r,Im).call(r)):im(lm,r)&&(am(um,r,t.anchorNode),am(cm,r,t.anchorOffset),am(vm,r,t.focusNode),am(pm,r,t.focusOffset),om(Sm,r,Tm).call(r),om(Sm,r,Im).call(r),r.rotate(r.rotation)),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$g(t,e)}(e,Wa),function(t,e,r){return e&&qg(t.prototype,e),r&&qg(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"telemetryInitialData",get:function(){return{action:"added",type:im(bm,this)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:im(_m,this),methodOfCreation:im(Em,this)}}},{key:"telemetryFinalData",get:function(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}},{key:"translateInPage",value:function(t,e){}},{key:"toolbarPosition",get:function(){return im(wm,this)}},{key:"updateParams",value:function(t,e){switch(t){case _.HIGHLIGHT_COLOR:om(Sm,this,Lm).call(this,e);break;case _.HIGHLIGHT_THICKNESS:om(Sm,this,Mm).call(this,e)}}},{key:"propertiesToUpdate",get:function(){return[[_.HIGHLIGHT_COLOR,this.color||e._defaultColor],[_.HIGHLIGHT_THICKNESS,im(_m,this)||e._defaultThickness],[_.HIGHLIGHT_FREE,im(bm,this)]]}},{key:"addEditToolbar",value:(n=Ug(Gg().mark((function t(){var r;return Gg().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Kg(e,"addEditToolbar",this,3)([]);case 2:if(r=t.sent){t.next=5;break}return t.abrupt("return",null);case 5:return this._uiManager.highlightColors&&(am(fm,this,new Tg({editor:this})),r.addColorPicker(im(fm,this))),t.abrupt("return",r);case 7:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"disableEditing",value:function(){Kg(e,"disableEditing",this,3)([]),this.div.classList.toggle("disabled",!0)}},{key:"enableEditing",value:function(){Kg(e,"enableEditing",this,3)([]),this.div.classList.toggle("disabled",!1)}},{key:"fixAndSetPosition",value:function(){return Kg(e,"fixAndSetPosition",this,3)([om(Sm,this,Nm).call(this)])}},{key:"getBaseTranslation",value:function(){return[0,0]}},{key:"getRect",value:function(t,r){return Kg(e,"getRect",this,3)([t,r,om(Sm,this,Nm).call(this)])}},{key:"onceAdded",value:function(){this.annotationElementId||this.parent.addUndoableEditor(this),this.div.focus()}},{key:"remove",value:function(){om(Sm,this,jm).call(this),this._reportTelemetry({action:"deleted"}),Kg(e,"remove",this,3)([])}},{key:"rebuild",value:function(){this.parent&&(Kg(e,"rebuild",this,3)([]),null!==this.div&&(om(Sm,this,Im).call(this),this.isAttachedToDOM||this.parent.add(this)))}},{key:"setParent",value:function(t){var r=!1;if(this.parent&&!t)om(Sm,this,jm).call(this);else if(t){var n;om(Sm,this,Im).call(this,t),r=!this.parent&&(null===(n=this.div)||void 0===n?void 0:n.classList.contains("selectedEditor"))}Kg(e,"setParent",this,3)([t]),this.show(this._isVisible),r&&this.select()}},{key:"rotate",value:function(t){var r,n=this.parent.drawLayer;im(bm,this)?(t=(t-this.rotation+360)%360,r=Rm.call(e,im(gm,this).box,t)):r=Rm.call(e,this,t),n.rotate(im(mm,this),t),n.rotate(im(xm,this),t),n.updateBox(im(mm,this),r),n.updateBox(im(xm,this),Rm.call(e,im(dm,this).box,t))}},{key:"render",value:function(){if(this.div)return this.div;var t=Kg(e,"render",this,3)([]);im(Am,this)&&(t.setAttribute("aria-label",im(Am,this)),t.setAttribute("role","mark")),im(bm,this)?t.classList.add("free"):this.div.addEventListener("keydown",om(Sm,this,Fm).bind(this),{signal:this._uiManager._signal});var r=am(ym,this,document.createElement("div"));t.append(r),r.setAttribute("aria-hidden","true"),r.className="internal",r.style.clipPath=im(hm,this);var n=Ng(this.parentDimensions,2),i=n[0],a=n[1];return this.setDims(this.width*i,this.height*a),Br(this,im(ym,this),["pointerover","pointerleave"]),this.enableEditing(),t}},{key:"pointerover",value:function(){this.isSelected||this.parent.drawLayer.addClass(im(xm,this),"hovered")}},{key:"pointerleave",value:function(){this.isSelected||this.parent.drawLayer.removeClass(im(xm,this),"hovered")}},{key:"_moveCaret",value:function(t){switch(this.parent.unselect(this),t){case 0:case 2:om(Sm,this,Dm).call(this,!0);break;case 1:case 3:om(Sm,this,Dm).call(this,!1)}}},{key:"select",value:function(){var t,r;Kg(e,"select",this,3)([]),im(xm,this)&&(null===(t=this.parent)||void 0===t||t.drawLayer.removeClass(im(xm,this),"hovered"),null===(r=this.parent)||void 0===r||r.drawLayer.addClass(im(xm,this),"selected"))}},{key:"unselect",value:function(){var t;Kg(e,"unselect",this,3)([]),im(xm,this)&&(null===(t=this.parent)||void 0===t||t.drawLayer.removeClass(im(xm,this),"selected"),im(bm,this)||om(Sm,this,Dm).call(this,!1))}},{key:"_mustFixPosition",get:function(){return!im(bm,this)}},{key:"show",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible;Kg(e,"show",this,3)([t]),this.parent&&(this.parent.drawLayer.show(im(mm,this),t),this.parent.drawLayer.show(im(xm,this),t))}},{key:"serialize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isEmpty()||t)return null;if(this.deleted)return this.serializeDeleted();var e=this.getRect(0,0),r=Wa._colorManager.convert(this.color),n={annotationType:A.HIGHLIGHT,color:r,opacity:im(km,this),thickness:im(_m,this),quadPoints:om(Sm,this,Wm).call(this),outlines:om(Sm,this,Bm).call(this,e),pageIndex:this.pageIndex,rect:e,rotation:om(Sm,this,Nm).call(this),structTreeParentId:this._structTreeParentId};return this.annotationElementId&&!om(Sm,this,Um).call(this,n)?null:(n.id=this.annotationElementId,n)}},{key:"renderAnnotationElement",value:function(t){return t.updateEdited({rect:this.getRect(0,0)}),null}}],[{key:"_keyboardManager",get:function(){var t=e.prototype;return W(this,"_keyboardManager",new rn([[["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]}]]))}},{key:"computeTelemetryFinalData",value:function(t){return{numberOfColors:t.get("color").size}}},{key:"initialize",value:function(t,r){var n;Wa.initialize(t,r),e._defaultColor||(e._defaultColor=(null===(n=r.highlightColors)||void 0===n?void 0:n.values().next().value)||"#fff066")}},{key:"updateDefaultParams",value:function(t,r){switch(t){case _.HIGHLIGHT_DEFAULT_COLOR:e._defaultColor=r;break;case _.HIGHLIGHT_THICKNESS:e._defaultThickness=r}}},{key:"defaultPropertiesToUpdate",get:function(){return[[_.HIGHLIGHT_DEFAULT_COLOR,e._defaultColor],[_.HIGHLIGHT_THICKNESS,e._defaultThickness]]}},{key:"startHighlighting",value:function(t,r,n){var i=this,a=n.target,o=n.x,s=n.y,u=a.getBoundingClientRect(),c=u.x,l=u.y,h=u.width,f=u.height,d=new AbortController,v=t.combinedSignal(d),p=function(r){d.abort(),om(e,i,Hm).call(i,t,r)};window.addEventListener("blur",p,{signal:v}),window.addEventListener("pointerup",p,{signal:v}),window.addEventListener("pointerdown",(function(t){t.preventDefault(),t.stopPropagation()}),{capture:!0,passive:!1,signal:v}),window.addEventListener("contextmenu",Te,{signal:v}),a.addEventListener("pointermove",om(e,this,Gm).bind(this,t),{signal:v}),this._freeHighlight=new Gy({x:o,y:s},[c,l,h,f],t.scale,this._defaultThickness/2,r,.001);var y=t.drawLayer.highlight(this._freeHighlight,this._defaultColor,this._defaultOpacity,!0);this._freeHighlightId=y.id,this._freeHighlightClipId=y.clipPathId}},{key:"deserialize",value:(r=Ug(Gg().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m,b,w,k,x,_,E,S,O,T,P,L,M,C,j,I,R,F,D,N,W,B,G,H,U,z,V,q,Y,X;return Gg().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=null,r instanceof Hv?(s=(o=r).data,u=s.quadPoints,c=s.rect,l=s.rotation,h=s.id,f=s.color,d=s.opacity,v=s.popupRef,p=o.parent.page.pageNumber,a=r={annotationType:A.HIGHLIGHT,color:Array.from(f),opacity:d,quadPoints:u,boxes:null,pageIndex:p-1,rect:c.slice(0),rotation:l,id:h,deleted:!1,popupRef:v}):r instanceof Gv&&(g=(y=r).data,m=g.inkLists,b=g.rect,w=g.rotation,k=g.id,x=g.color,_=g.borderStyle.rawWidth,E=g.popupRef,S=y.parent.page.pageNumber,a=r={annotationType:A.HIGHLIGHT,color:Array.from(x),thickness:_,inkLists:m,boxes:null,pageIndex:S-1,rect:b.slice(0),rotation:w,id:k,deleted:!1,popupRef:E}),T=(O=r).color,P=O.quadPoints,L=O.inkLists,M=O.opacity,t.next=5,Kg(e,"deserialize",this,2)([r,n,i]);case 5:if((C=t.sent).color=Z.makeHexColor.apply(Z,Dg(T)),am(km,C,M||1),L&&am(_m,C,r.thickness),C.annotationElementId=r.id||null,C._initialData=a,j=Ng(C.pageDimensions,2),I=j[0],R=j[1],F=Ng(C.pageTranslation,2),D=F[0],N=F[1],P){for(W=am(lm,C,[]),B=0;B<P.length;B+=8)W.push({x:(P[B]-D)/I,y:1-(P[B+1]-N)/R,width:(P[B+2]-P[B])/I,height:(P[B+1]-P[B+5])/R});om(Sm,C,Tm).call(C),om(Sm,C,Im).call(C),C.rotate(C.rotation)}else if(L){for(am(bm,C,!0),G=L[0],H={x:G[0]-D,y:R-(G[1]-N)},U=new Gy(H,[0,0,I,R],1,im(_m,C)/2,!0,.001),z=0,V=G.length;z<V;z+=2)H.x=G[z]-D,H.y=R-(G[z+1]-N),U.add(H);q=n.drawLayer.highlight(U,C.color,C._defaultOpacity,!0),Y=q.id,X=q.clipPathId,om(Sm,C,Pm).call(C,{highlightOutlines:U.getOutlines(),highlightId:Y,clipPathId:X}),om(Sm,C,Im).call(C)}return t.abrupt("return",C);case 15:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return r.apply(this,arguments)})},{key:"canCreateNewEmptyEditor",value:function(){return!1}}]);var r,n}();function Tm(){var t=new gy(im(lm,this),.001);am(gm,this,t.getOutlines());var e=im(gm,this).box;this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height;var r=new gy(im(lm,this),.0025,.001,"ltr"===this._uiManager.direction);am(dm,this,r.getOutlines());var n=im(dm,this).box.lastPoint;am(wm,this,[(n[0]-this.x)/this.width,(n[1]-this.y)/this.height])}function Pm(t){var e=t.highlightOutlines,r=t.highlightId,n=t.clipPathId;if(am(gm,this,e),am(dm,this,e.getNewOutline(im(_m,this)/2+1.5,.0025)),r>=0)am(mm,this,r),am(hm,this,n),this.parent.drawLayer.finalizeLine(r,e),am(xm,this,this.parent.drawLayer.highlightOutline(im(dm,this)));else if(this.parent){var i=this.parent.viewport.rotation;this.parent.drawLayer.updateLine(im(mm,this),e),this.parent.drawLayer.updateBox(im(mm,this),Rm.call(Rg,im(gm,this).box,(i-this.rotation+360)%360)),this.parent.drawLayer.updateLine(im(xm,this),im(dm,this)),this.parent.drawLayer.updateBox(im(xm,this),Rm.call(Rg,im(dm,this).box,i))}var a=e.box,o=a.x,s=a.y,u=a.width,c=a.height;switch(this.rotation){case 0:this.x=o,this.y=s,this.width=u,this.height=c;break;case 90:var l=Ng(this.parentDimensions,2),h=l[0],f=l[1];this.x=s,this.y=1-o,this.width=u*f/h,this.height=c*h/f;break;case 180:this.x=1-o,this.y=1-s,this.width=u,this.height=c;break;case 270:var d=Ng(this.parentDimensions,2),v=d[0],p=d[1];this.x=1-s,this.y=o,this.width=u*p/v,this.height=c*v/p}var y=im(dm,this).box.lastPoint;am(wm,this,[(y[0]-o)/u,(y[1]-s)/c])}function Lm(t){var e=this,r=function(t,r){var n,i,a;e.color=t,null===(n=e.parent)||void 0===n||n.drawLayer.changeColor(im(mm,e),t),null===(i=im(fm,e))||void 0===i||i.updateColor(t),am(km,e,r),null===(a=e.parent)||void 0===a||a.drawLayer.changeOpacity(im(mm,e),r)},n=this.color,i=im(km,this);this.addCommands({cmd:r.bind(this,t,Rg._defaultOpacity),undo:r.bind(this,n,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(t)},!0)}function Mm(t){var e=this,r=im(_m,this),n=function(t){am(_m,e,t),om(Sm,e,Cm).call(e,t)};this.addCommands({cmd:n.bind(this,t),undo:n.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:t},!0)}function Cm(t){if(im(bm,this)){om(Sm,this,Pm).call(this,{highlightOutlines:im(gm,this).getNewOutline(t/2)}),this.fixAndSetPosition();var e=Ng(this.parentDimensions,2),r=e[0],n=e[1];this.setDims(this.width*r,this.height*n)}}function jm(){null!==im(mm,this)&&this.parent&&(this.parent.drawLayer.remove(im(mm,this)),am(mm,this,null),this.parent.drawLayer.remove(im(xm,this)),am(xm,this,null))}function Im(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.parent;if(null===im(mm,this)){var e=t.drawLayer.highlight(im(gm,this),this.color,im(km,this));nm(am,[mm,this])._=e.id,nm(am,[hm,this])._=e.clipPathId,am(xm,this,t.drawLayer.highlightOutline(im(dm,this))),im(ym,this)&&(im(ym,this).style.clipPath=im(hm,this))}}function Rm(t,e){var r=t.x,n=t.y,i=t.width,a=t.height;switch(e){case 90:return{x:1-n-a,y:r,width:a,height:i};case 180:return{x:1-r-i,y:1-n-a,width:i,height:a};case 270:return{x:n,y:1-r-i,width:a,height:i}}return{x:r,y:n,width:i,height:a}}function Fm(t){Rg._keyboardManager.exec(this,t)}function Dm(t){if(im(um,this)){var e=window.getSelection();t?e.setPosition(im(um,this),im(cm,this)):e.setPosition(im(vm,this),im(pm,this))}}function Nm(){return im(bm,this)?this.rotation:0}function Wm(){if(im(bm,this))return null;var t,e=Ng(this.pageDimensions,2),r=e[0],n=e[1],i=Ng(this.pageTranslation,2),a=i[0],o=i[1],s=im(lm,this),u=new Float32Array(8*s.length),c=0,l=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Wg(t))){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(s);try{for(l.s();!(t=l.n()).done;){var h=t.value,f=h.x,d=h.y,v=h.width,p=h.height,y=f*r+a,g=(1-d-p)*n+o;u[c]=u[c+4]=y,u[c+1]=u[c+3]=g,u[c+2]=u[c+6]=y+v*r,u[c+5]=u[c+7]=g+p*n,c+=8}}catch(t){l.e(t)}finally{l.f()}return u}function Bm(t){return im(gm,this).serialize(t,om(Sm,this,Nm).call(this))}function Gm(t,e){this._freeHighlight.add(e)&&t.drawLayer.updatePath(this._freeHighlightId,this._freeHighlight)}function Hm(t,e){this._freeHighlight.isEmpty()?t.drawLayer.removeFreeHighlight(this._freeHighlightId):t.createAndAddNewEditor(e,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""}function Um(t){var e=this._initialData.color;return t.color.some((function(t,r){return t!==e[r]}))}function zm(){zm=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Vm(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Km(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function qm(t){return function(t){if(Array.isArray(t))return Qm(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Km(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ym(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Xm(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Km(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Km(t,e){if(t){if("string"==typeof t)return Qm(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qm(t,e):void 0}}function Qm(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Jm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jm(Object(r),!0).forEach((function(e){ob(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jm(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Zm(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sb(n.key),n)}}function tb(t,e,r){return e=ib(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,eb()?Reflect.construct(e,r||[],ib(t).constructor):e.apply(t,r))}function eb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(eb=function(){return!!t})()}function rb(t,e,r,n){var i=nb(ib(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function nb(){return nb="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=ib(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},nb.apply(null,arguments)}function ib(t){return ib=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ib(t)}function ab(t,e){return ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ab(t,e)}function ob(t,e,r){return(e=sb(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sb(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function ub(t,e,r){cb(t,e),e.set(t,r)}function cb(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function lb(t,e,r){return t.set(fb(t,e),r),r}function hb(t,e){return t.get(fb(t,e))}function fb(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}Rg=Om,Zg(Om,"_defaultColor",null),Zg(Om,"_defaultOpacity",1),Zg(Om,"_defaultThickness",12),Zg(Om,"_type","highlight"),Zg(Om,"_editorType",A.HIGHLIGHT),Zg(Om,"_freeHighlightId",-1),Zg(Om,"_freeHighlight",null),Zg(Om,"_freeHighlightClipId","");var db,vb=new WeakMap,pb=new WeakMap,yb=new WeakMap,gb=new WeakMap,mb=new WeakMap,bb=new WeakMap,wb=new WeakMap,kb=new WeakMap,xb=new WeakMap,Ab=new WeakMap,_b=new WeakMap,Eb=new WeakMap,Sb=new WeakMap,Ob=new WeakSet,Tb=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){cb(t,e),e.add(t)}(r=tb(this,e,[$m($m({},t),{},{name:"inkEditor"})]),Ob),ub(r,vb,0),ub(r,pb,0),ub(r,yb,null),ub(r,gb,new Path2D),ub(r,mb,!1),ub(r,bb,null),ub(r,wb,!1),ub(r,kb,!1),ub(r,xb,null),ub(r,Ab,null),ub(r,_b,0),ub(r,Eb,0),ub(r,Sb,null),r.color=t.color||null,r.thickness=t.thickness||null,r.opacity=t.opacity||null,r.paths=[],r.bezierPath2D=[],r.allRawPaths=[],r.currentPath=[],r.scaleFactor=1,r.translationX=r.translationY=0,r.x=0,r.y=0,r._willKeepAspectRatio=!0,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ab(t,e)}(e,Wa),function(t,e,r){return e&&Zm(t.prototype,e),r&&Zm(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"updateParams",value:function(t,e){switch(t){case _.INK_THICKNESS:fb(Ob,this,Pb).call(this,e);break;case _.INK_COLOR:fb(Ob,this,Lb).call(this,e);break;case _.INK_OPACITY:fb(Ob,this,Mb).call(this,e)}}},{key:"propertiesToUpdate",get:function(){var t;return[[_.INK_THICKNESS,this.thickness||e._defaultThickness],[_.INK_COLOR,this.color||e._defaultColor||Wa._defaultLineColor],[_.INK_OPACITY,Math.round(100*(null!==(t=this.opacity)&&void 0!==t?t:e._defaultOpacity))]]}},{key:"rebuild",value:function(){this.parent&&(rb(e,"rebuild",this,3)([]),null!==this.div&&(this.canvas||(fb(Ob,this,Vb).call(this),fb(Ob,this,qb).call(this)),this.isAttachedToDOM||(this.parent.add(this),fb(Ob,this,Yb).call(this)),fb(Ob,this,rw).call(this)))}},{key:"remove",value:function(){var t;null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,hb(yb,this)&&(clearTimeout(hb(yb,this)),lb(yb,this,null)),null===(t=hb(xb,this))||void 0===t||t.disconnect(),lb(xb,this,null),rb(e,"remove",this,3)([]))}},{key:"setParent",value:function(t){!this.parent&&t?this._uiManager.removeShouldRescale(this):this.parent&&null===t&&this._uiManager.addShouldRescale(this),rb(e,"setParent",this,3)([t])}},{key:"onScaleChanging",value:function(){var t=Xm(this.parentDimensions,2),e=t[0],r=t[1],n=this.width*e,i=this.height*r;this.setDimensions(n,i)}},{key:"enableEditMode",value:function(){hb(mb,this)||null===this.canvas||(rb(e,"enableEditMode",this,3)([]),this._isDraggable=!1,fb(Ob,this,Hb).call(this))}},{key:"disableEditMode",value:function(){this.isInEditMode()&&null!==this.canvas&&(rb(e,"disableEditMode",this,3)([]),this._isDraggable=!this.isEmpty(),this.div.classList.remove("editing"),fb(Ob,this,Ub).call(this))}},{key:"onceAdded",value:function(){this._isDraggable=!this.isEmpty()}},{key:"isEmpty",value:function(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}},{key:"commit",value:function(){hb(mb,this)||(rb(e,"commit",this,3)([]),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),lb(mb,this,!0),this.div.classList.add("disabled"),fb(Ob,this,rw).call(this,!0),this.select(),this.parent.addInkEditorIfNeeded(!0),this.moveInDOM(),this.div.focus({preventScroll:!0}))}},{key:"focusin",value:function(t){this._focusEventsAllowed&&(rb(e,"focusin",this,3)([t]),this.enableEditMode())}},{key:"canvasPointerdown",value:function(t){0===t.button&&this.isInEditMode()&&!hb(mb,this)&&(this.setInForeground(),t.preventDefault(),this.div.contains(document.activeElement)||this.div.focus({preventScroll:!0}),fb(Ob,this,Ib).call(this,t.offsetX,t.offsetY))}},{key:"canvasPointermove",value:function(t){t.preventDefault(),fb(Ob,this,Rb).call(this,t.offsetX,t.offsetY)}},{key:"canvasPointerup",value:function(t){t.preventDefault(),fb(Ob,this,zb).call(this,t)}},{key:"canvasPointerleave",value:function(t){fb(Ob,this,zb).call(this,t)}},{key:"isResizable",get:function(){return!this.isEmpty()&&hb(mb,this)}},{key:"render",value:function(){if(this.div)return this.div;var t,r;this.width&&(t=this.x,r=this.y),rb(e,"render",this,3)([]),this.div.setAttribute("data-l10n-id","pdfjs-ink");var n=Xm(fb(Ob,this,Cb).call(this),4),i=n[0],a=n[1],o=n[2],s=n[3];if(this.setAt(i,a,0,0),this.setDims(o,s),fb(Ob,this,Vb).call(this),this.width){var u=Xm(this.parentDimensions,2),c=u[0],l=u[1];this.setAspectRatio(this.width*c,this.height*l),this.setAt(t*c,r*l,this.width*c,this.height*l),lb(kb,this,!0),fb(Ob,this,Yb).call(this),this.setDims(this.width*c,this.height*l),fb(Ob,this,Gb).call(this),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return fb(Ob,this,qb).call(this),this.div}},{key:"setDimensions",value:function(t,e){var r=Math.round(t),n=Math.round(e);if(hb(_b,this)!==r||hb(Eb,this)!==n){lb(_b,this,r),lb(Eb,this,n),this.canvas.style.visibility="hidden";var i=Xm(this.parentDimensions,2),a=i[0],o=i[1];this.width=t/a,this.height=e/o,this.fixAndSetPosition(),hb(mb,this)&&fb(Ob,this,Xb).call(this,t,e),fb(Ob,this,Yb).call(this),fb(Ob,this,Gb).call(this),this.canvas.style.visibility="visible",this.fixDims()}}},{key:"serialize",value:function(){if(this.isEmpty())return null;var t=this.getRect(0,0),e=Wa._colorManager.convert(this.ctx.strokeStyle);return{annotationType:A.INK,color:e,thickness:this.thickness,opacity:this.opacity,paths:fb(Ob,this,Zb).call(this,this.scaleFactor/this.parentScale,this.translationX,this.translationY,t),pageIndex:this.pageIndex,rect:t,rotation:this.rotation,structTreeParentId:this._structTreeParentId}}}],[{key:"initialize",value:function(t,e){Wa.initialize(t,e)}},{key:"updateDefaultParams",value:function(t,r){switch(t){case _.INK_THICKNESS:e._defaultThickness=r;break;case _.INK_COLOR:e._defaultColor=r;break;case _.INK_OPACITY:e._defaultOpacity=r/100}}},{key:"defaultPropertiesToUpdate",get:function(){return[[_.INK_THICKNESS,e._defaultThickness],[_.INK_COLOR,e._defaultColor||Wa._defaultLineColor],[_.INK_OPACITY,Math.round(100*e._defaultOpacity)]]}},{key:"deserialize",value:(r=zm().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m,b,w,k,x,A,_,E,S,O,T,P,L,M;return zm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r instanceof Gv)){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,rb(e,"deserialize",this,2)([r,n,i]);case 4:(a=t.sent).thickness=r.thickness,a.color=Z.makeHexColor.apply(Z,qm(r.color)),a.opacity=r.opacity,o=Xm(a.pageDimensions,2),s=o[0],u=o[1],c=a.width*s,l=a.height*u,h=a.parentScale,f=r.thickness/2,lb(mb,a,!0),lb(_b,a,Math.round(c)),lb(Eb,a,Math.round(l)),d=r.paths,v=r.rect,p=r.rotation,y=Vm(d);try{for(y.s();!(g=y.n()).done;){for(m=g.value.bezier,m=$b.call(e,m,v,p),b=[],a.paths.push(b),w=h*(m[0]-f),k=h*(m[1]-f),x=2,A=m.length;x<A;x+=6)_=h*(m[x]-f),E=h*(m[x+1]-f),S=h*(m[x+2]-f),O=h*(m[x+3]-f),T=h*(m[x+4]-f),P=h*(m[x+5]-f),b.push([[w,k],[_,E],[S,O],[T,P]]),w=T,k=P;L=fb(e,this,Qb).call(this,b),a.bezierPath2D.push(L)}}catch(t){y.e(t)}finally{y.f()}return M=fb(Ob,a,tw).call(a),lb(pb,a,Math.max(Wa.MIN_SIZE,M[2]-M[0])),lb(vb,a,Math.max(Wa.MIN_SIZE,M[3]-M[1])),fb(Ob,a,Xb).call(a,c,l),t.abrupt("return",a);case 24:case"end":return t.stop()}}),t,this)})),n=function(){var t=this,e=arguments;return new Promise((function(n,i){var a=r.apply(t,e);function o(t){Ym(a,n,i,o,s,"next",t)}function s(t){Ym(a,n,i,o,s,"throw",t)}o(void 0)}))},function(t,e,r){return n.apply(this,arguments)})}]);var r,n}();function Pb(t){var e=this,r=function(t){e.thickness=t,fb(Ob,e,rw).call(e)},n=this.thickness;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}function Lb(t){var e=this,r=function(t){e.color=t,fb(Ob,e,Gb).call(e)},n=this.color;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function Mb(t){var e=this,r=function(t){e.opacity=t,fb(Ob,e,Gb).call(e)};t/=100;var n=this.opacity;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:_.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}function Cb(){var t=this.parentRotation,e=Xm(this.parentDimensions,2),r=e[0],n=e[1];switch(t){case 90:return[0,n,n,r];case 180:return[r,n,r,n];case 270:return[r,0,n,r];default:return[0,0,r,n]}}function jb(){var t=this.ctx,e=this.color,r=this.opacity,n=this.thickness,i=this.parentScale,a=this.scaleFactor;t.lineWidth=n*i/a,t.lineCap="round",t.lineJoin="round",t.miterLimit=10,t.strokeStyle="".concat(e).concat(function(t){return Math.round(Math.min(255,Math.max(1,255*t))).toString(16).padStart(2,"0")}(r))}function Ib(t,e){var r=this;this.canvas.addEventListener("contextmenu",Te,{signal:this._uiManager._signal}),fb(Ob,this,Ub).call(this),lb(bb,this,new AbortController);var n,i=this._uiManager.combinedSignal(hb(bb,this));this.canvas.addEventListener("pointerleave",this.canvasPointerleave.bind(this),{signal:i}),this.canvas.addEventListener("pointermove",this.canvasPointermove.bind(this),{signal:i}),this.canvas.addEventListener("pointerup",this.canvasPointerup.bind(this),{signal:i}),this.isEditing=!0,hb(kb,this)||(lb(kb,this,!0),fb(Ob,this,Yb).call(this),this.thickness||(this.thickness=sm._defaultThickness),this.color||(this.color=sm._defaultColor||Wa._defaultLineColor),null!==(n=this.opacity)&&void 0!==n||(this.opacity=sm._defaultOpacity)),this.currentPath.push([t,e]),lb(wb,this,!1),fb(Ob,this,jb).call(this),lb(Sb,this,(function(){fb(Ob,r,Nb).call(r),hb(Sb,r)&&window.requestAnimationFrame(hb(Sb,r))})),window.requestAnimationFrame(hb(Sb,this))}function Rb(t,e){var r,n=Xm(this.currentPath.at(-1),2),i=n[0],a=n[1];if(!(this.currentPath.length>1&&t===i&&e===a)){var o,s,u=this.currentPath,c=hb(gb,this);if(u.push([t,e]),lb(wb,this,!0),u.length<=2)return(o=c).moveTo.apply(o,qm(u[0])),void c.lineTo(t,e);3===u.length&&(lb(gb,this,c=new Path2D),(s=c).moveTo.apply(s,qm(u[0]))),(r=fb(Ob,this,Wb)).call.apply(r,[this,c].concat(qm(u.at(-3)),qm(u.at(-2)),[t,e]))}}function Fb(){var t;if(0!==this.currentPath.length){var e=this.currentPath.at(-1);(t=hb(gb,this)).lineTo.apply(t,qm(e))}}function Db(t,e){var r,n=this;if(lb(Sb,this,null),t=Math.min(Math.max(t,0),this.canvas.width),e=Math.min(Math.max(e,0),this.canvas.height),fb(Ob,this,Rb).call(this,t,e),fb(Ob,this,Fb).call(this),1!==this.currentPath.length)r=fb(Ob,this,Bb).call(this);else{var i=[t,e];r=[[i,i.slice(),i.slice(),i]]}var a=hb(gb,this),o=this.currentPath;this.currentPath=[],lb(gb,this,new Path2D),this.addCommands({cmd:function(){n.allRawPaths.push(o),n.paths.push(r),n.bezierPath2D.push(a),n._uiManager.rebuild(n)},undo:function(){n.allRawPaths.pop(),n.paths.pop(),n.bezierPath2D.pop(),0===n.paths.length?n.remove():(n.canvas||(fb(Ob,n,Vb).call(n),fb(Ob,n,qb).call(n)),fb(Ob,n,rw).call(n))},mustExec:!0})}function Nb(){if(hb(wb,this)){lb(wb,this,!1);Math.ceil(this.thickness*this.parentScale);var t=this.currentPath.slice(-3),e=t.map((function(t){return t[0]})),r=t.map((function(t){return t[1]})),n=(Math.min.apply(Math,qm(e)),Math.max.apply(Math,qm(e)),Math.min.apply(Math,qm(r)),Math.max.apply(Math,qm(r)),this.ctx);n.save(),n.clearRect(0,0,this.canvas.width,this.canvas.height);var i,a=Vm(this.bezierPath2D);try{for(a.s();!(i=a.n()).done;){var o=i.value;n.stroke(o)}}catch(t){a.e(t)}finally{a.f()}n.stroke(hb(gb,this)),n.restore()}}function Wb(t,e,r,n,i,a,o){var s=(e+n)/2,u=(r+i)/2,c=(n+a)/2,l=(i+o)/2;t.bezierCurveTo(s+2*(n-s)/3,u+2*(i-u)/3,c+2*(n-c)/3,l+2*(i-l)/3,c,l)}function Bb(){var t=this.currentPath;if(t.length<=2)return[[t[0],t[0],t.at(-1),t.at(-1)]];var e,r=[],n=Xm(t[0],2),i=n[0],a=n[1];for(e=1;e<t.length-2;e++){var o=Xm(t[e],2),s=o[0],u=o[1],c=Xm(t[e+1],2),l=(s+c[0])/2,h=(u+c[1])/2,f=[i+2*(s-i)/3,a+2*(u-a)/3],d=[l+2*(s-l)/3,h+2*(u-h)/3];r.push([[i,a],f,d,[l,h]]),i=l,a=h}var v=Xm(t[e],2),p=v[0],y=v[1],g=Xm(t[e+1],2),m=g[0],b=g[1],w=[i+2*(p-i)/3,a+2*(y-a)/3],k=[m+2*(p-m)/3,b+2*(y-b)/3];return r.push([[i,a],w,k,[m,b]]),r}function Gb(){if(this.isEmpty())fb(Ob,this,Kb).call(this);else{fb(Ob,this,jb).call(this);var t=this.canvas,e=this.ctx;e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,t.width,t.height),fb(Ob,this,Kb).call(this);var r,n=Vm(this.bezierPath2D);try{for(n.s();!(r=n.n()).done;){var i=r.value;e.stroke(i)}}catch(t){n.e(t)}finally{n.f()}}}function Hb(){if(!hb(Ab,this)){lb(Ab,this,new AbortController);var t=this._uiManager.combinedSignal(hb(Ab,this));this.canvas.addEventListener("pointerdown",this.canvasPointerdown.bind(this),{signal:t})}}function Ub(){var t;null===(t=this.pointerdownAC)||void 0===t||t.abort(),this.pointerdownAC=null}function zb(t){var e,r=this;null===(e=hb(bb,this))||void 0===e||e.abort(),lb(bb,this,null),fb(Ob,this,Hb).call(this),hb(yb,this)&&clearTimeout(hb(yb,this)),lb(yb,this,setTimeout((function(){lb(yb,r,null),r.canvas.removeEventListener("contextmenu",Te)}),10)),fb(Ob,this,Db).call(this,t.offsetX,t.offsetY),this.addToAnnotationStorage(),this.setInBackground()}function Vb(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",this.canvas.setAttribute("data-l10n-id","pdfjs-ink-canvas"),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}function qb(){var t=this;lb(xb,this,new ResizeObserver((function(e){var r=e[0].contentRect;r.width&&r.height&&t.setDimensions(r.width,r.height)}))),hb(xb,this).observe(this.div),this._uiManager._signal.addEventListener("abort",(function(){var e;null===(e=hb(xb,t))||void 0===e||e.disconnect(),lb(xb,t,null)}),{once:!0})}function Yb(){if(hb(kb,this)){var t=Xm(this.parentDimensions,2),e=t[0],r=t[1];this.canvas.width=Math.ceil(this.width*e),this.canvas.height=Math.ceil(this.height*r),fb(Ob,this,Kb).call(this)}}function Xb(t,e){var r=fb(Ob,this,ew).call(this),n=(t-r)/hb(pb,this),i=(e-r)/hb(vb,this);this.scaleFactor=Math.min(n,i)}function Kb(){var t=fb(Ob,this,ew).call(this)/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+t,this.translationY*this.scaleFactor+t)}function Qb(t){for(var e=new Path2D,r=0,n=t.length;r<n;r++){var i=Xm(t[r],4),a=i[0],o=i[1],s=i[2],u=i[3];0===r&&e.moveTo.apply(e,qm(a)),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}return e}function Jb(t,e,r){var n=Xm(e,4),i=n[0],a=n[1],o=n[2],s=n[3];switch(r){case 0:for(var u=0,c=t.length;u<c;u+=2)t[u]+=i,t[u+1]=s-t[u+1];break;case 90:for(var l=0,h=t.length;l<h;l+=2){var f=t[l];t[l]=t[l+1]+i,t[l+1]=f+a}break;case 180:for(var d=0,v=t.length;d<v;d+=2)t[d]=o-t[d],t[d+1]+=a;break;case 270:for(var p=0,y=t.length;p<y;p+=2){var g=t[p];t[p]=o-t[p+1],t[p+1]=s-g}break;default:throw new Error("Invalid rotation")}return t}function $b(t,e,r){var n=Xm(e,4),i=n[0],a=n[1],o=n[2],s=n[3];switch(r){case 0:for(var u=0,c=t.length;u<c;u+=2)t[u]-=i,t[u+1]=s-t[u+1];break;case 90:for(var l=0,h=t.length;l<h;l+=2){var f=t[l];t[l]=t[l+1]-a,t[l+1]=f-i}break;case 180:for(var d=0,v=t.length;d<v;d+=2)t[d]=o-t[d],t[d+1]-=a;break;case 270:for(var p=0,y=t.length;p<y;p+=2){var g=t[p];t[p]=s-t[p+1],t[p+1]=o-g}break;default:throw new Error("Invalid rotation")}return t}function Zb(t,e,r,n){var i,a=[],o=this.thickness/2,s=t*e+o,u=t*r+o,c=Vm(this.paths);try{for(c.s();!(i=c.n()).done;){for(var l=i.value,h=[],f=[],d=0,v=l.length;d<v;d++){var p=Xm(l[d],4),y=p[0],g=p[1],m=p[2],b=p[3];if(y[0]===b[0]&&y[1]===b[1]&&1===v){var w=t*y[0]+s,k=t*y[1]+u;h.push(w,k),f.push(w,k);break}var x=t*y[0]+s,A=t*y[1]+u,_=t*g[0]+s,E=t*g[1]+u,S=t*m[0]+s,O=t*m[1]+u,T=t*b[0]+s,P=t*b[1]+u;0===d&&(h.push(x,A),f.push(x,A)),h.push(_,E,S,O,T,P),f.push(_,E),d===v-1&&f.push(T,P)}a.push({bezier:Jb.call(sm,h,n,this.rotation),points:Jb.call(sm,f,n,this.rotation)})}}catch(t){c.e(t)}finally{c.f()}return a}function tw(){var t,e=1/0,r=-1/0,n=1/0,i=-1/0,a=Vm(this.paths);try{for(a.s();!(t=a.n()).done;){var o,s=Vm(t.value);try{for(s.s();!(o=s.n()).done;){var u=Xm(o.value,4),c=u[0],l=u[1],h=u[2],f=u[3],d=Z.bezierBoundingBox.apply(Z,qm(c).concat(qm(l),qm(h),qm(f)));e=Math.min(e,d[0]),n=Math.min(n,d[1]),r=Math.max(r,d[2]),i=Math.max(i,d[3])}}catch(t){s.e(t)}finally{s.f()}}}catch(t){a.e(t)}finally{a.f()}return[e,n,r,i]}function ew(){return hb(mb,this)?Math.ceil(this.thickness*this.parentScale):0}function rw(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isEmpty())if(hb(mb,this)){var e=fb(Ob,this,tw).call(this),r=fb(Ob,this,ew).call(this);lb(pb,this,Math.max(Wa.MIN_SIZE,e[2]-e[0])),lb(vb,this,Math.max(Wa.MIN_SIZE,e[3]-e[1]));var n=Math.ceil(r+hb(pb,this)*this.scaleFactor),i=Math.ceil(r+hb(vb,this)*this.scaleFactor),a=Xm(this.parentDimensions,2),o=a[0],s=a[1];this.width=n/o,this.height=i/s,this.setAspectRatio(n,i);var u=this.translationX,c=this.translationY;this.translationX=-e[0],this.translationY=-e[1],fb(Ob,this,Yb).call(this),fb(Ob,this,Gb).call(this),lb(_b,this,n),lb(Eb,this,i),this.setDims(n,i);var l=t?r/this.scaleFactor/2:0;this.translate(u-this.translationX-l,c-this.translationY-l)}else fb(Ob,this,Gb).call(this)}function nw(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return iw(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?iw(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iw(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function aw(){aw=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function ow(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function sw(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){ow(a,n,i,o,s,"next",t)}function s(t){ow(a,n,i,o,s,"throw",t)}o(void 0)}))}}function uw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function cw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uw(Object(r),!0).forEach((function(e){gw(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uw(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lw(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mw(n.key),n)}}function hw(t,e,r){return e=pw(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,fw()?Reflect.construct(e,r||[],pw(t).constructor):e.apply(t,r))}function fw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(fw=function(){return!!t})()}function dw(t,e,r,n){var i=vw(pw(1&n?t.prototype:t),e,r);return 2&n&&"function"==typeof i?function(t){return i.apply(r,t)}:i}function vw(){return vw="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=pw(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},vw.apply(null,arguments)}function pw(t){return pw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},pw(t)}function yw(t,e){return yw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yw(t,e)}function gw(t,e,r){return(e=mw(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mw(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function bw(t,e,r){ww(t,e),e.set(t,r)}function ww(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function kw(t,e){return t.get(Aw(t,e))}function xw(t,e,r){return t.set(Aw(t,e),r),r}function Aw(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}sm=Tb,ob(Tb,"_defaultColor",null),ob(Tb,"_defaultOpacity",1),ob(Tb,"_defaultThickness",1),ob(Tb,"_type","ink"),ob(Tb,"_editorType",A.INK);var _w=new WeakMap,Ew=new WeakMap,Sw=new WeakMap,Ow=new WeakMap,Tw=new WeakMap,Pw=new WeakMap,Lw=new WeakMap,Mw=new WeakMap,Cw=new WeakMap,jw=new WeakMap,Iw=new WeakMap,Rw=new WeakSet,Fw=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){ww(t,e),e.add(t)}(r=hw(this,e,[cw(cw({},t),{},{name:"stampEditor"})]),Rw),bw(r,_w,null),bw(r,Ew,null),bw(r,Sw,null),bw(r,Ow,null),bw(r,Tw,null),bw(r,Pw,""),bw(r,Lw,null),bw(r,Mw,null),bw(r,Cw,null),bw(r,jw,!1),bw(r,Iw,!1),xw(Ow,r,t.bitmapUrl),xw(Tw,r,t.bitmapFile),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&yw(t,e)}(e,Wa),function(t,e,r){return e&&lw(t.prototype,e),r&&lw(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"altTextFinish",value:function(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),dw(e,"altTextFinish",this,3)([])}},{key:"telemetryFinalData",get:function(){var t;return{type:"stamp",hasAltText:!(null===(t=this.altTextData)||void 0===t||!t.altText)}}},{key:"mlGuessAltText",value:(n=sw(aw().mark((function t(){var e,r,n,i,a,o,s,u,c,l=arguments;return aw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]?l[0]:null,r=!(l.length>1&&void 0!==l[1])||l[1],!this.hasAltTextData()){t.next=4;break}return t.abrupt("return",null);case 4:if(n=this._uiManager.mlManager){t.next=7;break}throw new Error("No ML.");case 7:return t.next=9,n.isEnabledFor("altText");case 9:if(t.sent){t.next=11;break}throw new Error("ML isn't enabled for alt text.");case 11:return i=e||this.copyCanvas(null,null,!0).imageData,a=i.data,o=i.width,s=i.height,t.next=14,n.guess({name:"altText",request:{data:a,width:o,height:s,channels:a.length/(o*s)}});case 14:if(u=t.sent){t.next=17;break}throw new Error("No response from the AI service.");case 17:if(!u.error){t.next=19;break}throw new Error("Error from the AI service.");case 19:if(!u.cancel){t.next=21;break}return t.abrupt("return",null);case 21:if(u.output){t.next=23;break}throw new Error("No valid response from the AI service.");case 23:return c=u.output,t.next=26,this.setGuessedAltText(c);case 26:return r&&!this.hasAltTextData()&&(this.altTextData={alt:c,decorative:!1}),t.abrupt("return",c);case 28:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"remove",value:function(){var t,r;kw(Ew,this)&&(xw(_w,this,null),this._uiManager.imageManager.deleteId(kw(Ew,this)),null===(t=kw(Lw,this))||void 0===t||t.remove(),xw(Lw,this,null),null===(r=kw(Mw,this))||void 0===r||r.disconnect(),xw(Mw,this,null),kw(Cw,this)&&(clearTimeout(kw(Cw,this)),xw(Cw,this,null))),dw(e,"remove",this,3)([])}},{key:"rebuild",value:function(){this.parent?(dw(e,"rebuild",this,3)([]),null!==this.div&&(kw(Ew,this)&&null===kw(Lw,this)&&Aw(Rw,this,Ww).call(this),this.isAttachedToDOM||this.parent.add(this))):kw(Ew,this)&&Aw(Rw,this,Ww).call(this)}},{key:"onceAdded",value:function(){this._isDraggable=!0,this.div.focus()}},{key:"isEmpty",value:function(){return!(kw(Sw,this)||kw(_w,this)||kw(Ow,this)||kw(Tw,this)||kw(Ew,this))}},{key:"isResizable",get:function(){return!0}},{key:"render",value:function(){if(this.div)return this.div;var t,r;if(this.width&&(t=this.x,r=this.y),dw(e,"render",this,3)([]),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),kw(_w,this)?Aw(Rw,this,Bw).call(this):Aw(Rw,this,Ww).call(this),this.width&&!this.annotationElementId){var n=nw(this.parentDimensions,2),i=n[0],a=n[1];this.setAt(t*i,r*a,this.width*i,this.height*a)}return this.div}},{key:"copyCanvas",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t||(t=224);var n=kw(_w,this),i=n.width,a=n.height,o=new Fe,s=kw(_w,this),u=i,c=a,l=null;if(e){var h,f;if(i>e||a>e){var d=Math.min(e/i,e/a);u=Math.floor(i*d),c=Math.floor(a*d)}var v=(l=document.createElement("canvas")).width=Math.ceil(u*o.sx),p=l.height=Math.ceil(c*o.sy);kw(jw,this)||(s=Aw(Rw,this,Hw).call(this,v,p));var y=l.getContext("2d");y.filter=this._uiManager.hcmFilter;var g="white",m="#cfcfd8";"none"!==this._uiManager.hcmFilter?m="black":null!==(h=(f=window).matchMedia)&&void 0!==h&&h.call(f,"(prefers-color-scheme: dark)").matches&&(g="#8f8f9d",m="#42414d");var b=15*o.sx,w=15*o.sy,k=new OffscreenCanvas(2*b,2*w),x=k.getContext("2d");x.fillStyle=g,x.fillRect(0,0,2*b,2*w),x.fillStyle=m,x.fillRect(0,0,b,w),x.fillRect(b,w,b,w),y.fillStyle=y.createPattern(k,"repeat"),y.fillRect(0,0,v,p),y.drawImage(s,0,0,s.width,s.height,0,0,v,p)}var A=null;if(r){var _,E;if(o.symmetric&&s.width<t&&s.height<t)_=s.width,E=s.height;else if(s=kw(_w,this),i>t||a>t){var S=Math.min(t/i,t/a);_=Math.floor(i*S),E=Math.floor(a*S),kw(jw,this)||(s=Aw(Rw,this,Hw).call(this,_,E))}var O=new OffscreenCanvas(_,E).getContext("2d",{willReadFrequently:!0});O.drawImage(s,0,0,s.width,s.height,0,0,_,E),A={width:_,height:E,data:O.getImageData(0,0,_,E).data}}return{canvas:l,width:u,height:c,imageData:A}}},{key:"getImageForAltText",value:function(){return kw(Lw,this)}},{key:"serialize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();var r={annotationType:A.STAMP,bitmapId:kw(Ew,this),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:kw(jw,this),structTreeParentId:this._structTreeParentId};if(t)return r.bitmapUrl=Aw(Rw,this,zw).call(this,!0),r.accessibilityData=this.serializeAltText(!0),r;var n=this.serializeAltText(!1),i=n.decorative,a=n.altText;if(!i&&a&&(r.accessibilityData={type:"Figure",alt:a}),this.annotationElementId){var o,s=Aw(Rw,this,qw).call(this,r);if(s.isSame)return null;s.isSameAltText?delete r.accessibilityData:r.accessibilityData.structParent=null!==(o=this._initialData.structParent)&&void 0!==o?o:-1}if(r.id=this.annotationElementId,null===e)return r;e.stamps||(e.stamps=new Map);var u=kw(jw,this)?(r.rect[2]-r.rect[0])*(r.rect[3]-r.rect[1]):null;if(e.stamps.has(kw(Ew,this))){if(kw(jw,this)){var c=e.stamps.get(kw(Ew,this));u>c.area&&(c.area=u,c.serialized.bitmap.close(),c.serialized.bitmap=Aw(Rw,this,zw).call(this,!1))}}else e.stamps.set(kw(Ew,this),{area:u,serialized:r}),r.bitmap=Aw(Rw,this,zw).call(this,!1);return r}},{key:"renderAnnotationElement",value:function(t){return t.updateEdited({rect:this.getRect(0,0)}),null}}],[{key:"initialize",value:function(t,e){Wa.initialize(t,e)}},{key:"supportedTypes",get:function(){return W(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map((function(t){return"image/".concat(t)})))}},{key:"supportedTypesStr",get:function(){return W(this,"supportedTypesStr",this.supportedTypes.join(","))}},{key:"isHandlingMimeForPasting",value:function(t){return this.supportedTypes.includes(t)}},{key:"paste",value:function(t,e){e.pasteEditor(A.STAMP,{bitmapFile:t.getAsFile()})}},{key:"computeTelemetryFinalData",value:function(t){var e,r,n=t.get("hasAltText");return{hasAltText:null!==(e=n.get(!0))&&void 0!==e?e:0,hasNoAltText:null!==(r=n.get(!1))&&void 0!==r?r:0}}},{key:"deserialize",value:(r=sw(aw().mark((function t(r,n,i){var a,o,s,u,c,l,h,f,d,v,p,y,g,m,b,w,k,x,_,E,S,O,T,P,L;return aw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=null,!(r instanceof qv)){t.next=22;break}return u=(s=r).data,c=u.rect,l=u.rotation,h=u.id,f=u.structParent,d=u.popupRef,v=s.container,p=s.parent.page.pageNumber,y=v.querySelector("canvas"),g=i.imageManager.getFromCanvas(v.id,y),y.remove(),t.next=8,n._structTree.getAriaAttributes("".concat(at).concat(h));case 8:if(t.t2=o=t.sent,t.t1=null===t.t2,t.t1){t.next=12;break}t.t1=void 0===o;case 12:if(!t.t1){t.next=16;break}t.t3=void 0,t.next=17;break;case 16:t.t3=o.get("aria-label");case 17:if(t.t0=t.t3,t.t0){t.next=20;break}t.t0="";case 20:m=t.t0,a=r={annotationType:A.STAMP,bitmapId:g.id,bitmap:g.bitmap,pageIndex:p-1,rect:c.slice(0),rotation:l,id:h,deleted:!1,accessibilityData:{decorative:!1,altText:m},isSvg:!1,structParent:f,popupRef:d};case 22:return t.next=24,dw(e,"deserialize",this,2)([r,n,i]);case 24:return b=t.sent,k=(w=r).rect,x=w.bitmap,_=w.bitmapUrl,E=w.bitmapId,S=w.isSvg,O=w.accessibilityData,E&&i.imageManager.isValidId(E)?(xw(Ew,b,E),x&&xw(_w,b,x)):xw(Ow,b,_),xw(jw,b,S),T=nw(b.pageDimensions,2),P=T[0],L=T[1],b.width=(k[2]-k[0])/P,b.height=(k[3]-k[1])/L,b.annotationElementId=r.id||null,O&&(b.altTextData=O),b._initialData=a,xw(Iw,b,!!a),t.abrupt("return",b);case 36:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return r.apply(this,arguments)})}]);var r,n}();function Dw(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?(xw(_w,this,t.bitmap),e||(xw(Ew,this,t.id),xw(jw,this,t.isSvg)),t.file&&xw(Pw,this,t.file.name),Aw(Rw,this,Bw).call(this)):this.remove()}function Nw(){if(xw(Sw,this,null),this._uiManager.enableWaiting(!1),kw(Lw,this)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&kw(_w,this))return this._editToolbar.hide(),void this._uiManager.editAltText(this,!0);if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&kw(_w,this)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch(t){}}this.div.focus()}}function Ww(){var t=this;if(kw(Ew,this))return this._uiManager.enableWaiting(!0),void this._uiManager.imageManager.getFromId(kw(Ew,this)).then((function(e){return Aw(Rw,t,Dw).call(t,e,!0)})).finally((function(){return Aw(Rw,t,Nw).call(t)}));if(kw(Ow,this)){var e=kw(Ow,this);return xw(Ow,this,null),this._uiManager.enableWaiting(!0),void xw(Sw,this,this._uiManager.imageManager.getFromUrl(e).then((function(e){return Aw(Rw,t,Dw).call(t,e)})).finally((function(){return Aw(Rw,t,Nw).call(t)})))}if(kw(Tw,this)){var r=kw(Tw,this);return xw(Tw,this,null),this._uiManager.enableWaiting(!0),void xw(Sw,this,this._uiManager.imageManager.getFromFile(r).then((function(e){return Aw(Rw,t,Dw).call(t,e)})).finally((function(){return Aw(Rw,t,Nw).call(t)})))}var n=document.createElement("input");n.type="file",n.accept=db.supportedTypesStr;var i=this._uiManager._signal;xw(Sw,this,new Promise((function(e){n.addEventListener("change",sw(aw().mark((function r(){var i;return aw().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n.files&&0!==n.files.length){r.next=4;break}t.remove(),r.next=10;break;case 4:return t._uiManager.enableWaiting(!0),r.next=7,t._uiManager.imageManager.getFromFile(n.files[0]);case 7:i=r.sent,t._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:t._uiManager.useNewAltTextFlow}}),Aw(Rw,t,Dw).call(t,i);case 10:e();case 11:case"end":return r.stop()}}),r)}))),{signal:i}),n.addEventListener("cancel",(function(){t.remove(),e()}),{signal:i})})).finally((function(){return Aw(Rw,t,Nw).call(t)}))),n.click()}function Bw(){var t=this.div,e=kw(_w,this),r=e.width,n=e.height,i=nw(this.pageDimensions,2),a=i[0],o=i[1],s=.75;if(this.width)r=this.width*a,n=this.height*o;else if(r>s*a||n>s*o){var u=Math.min(s*a/r,s*o/n);r*=u,n*=u}var c=nw(this.parentDimensions,2),l=c[0],h=c[1];this.setDims(r*l/a,n*h/o),this._uiManager.enableWaiting(!1);var f=xw(Lw,this,document.createElement("canvas"));f.setAttribute("role","img"),this.addContainer(f),this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&!this.annotationElementId||(t.hidden=!1),Aw(Rw,this,Uw).call(this,r,n),Aw(Rw,this,Vw).call(this),kw(Iw,this)||(this.parent.addUndoableEditor(this),xw(Iw,this,!0)),this._reportTelemetry({action:"inserted_image"}),kw(Pw,this)&&f.setAttribute("aria-label",kw(Pw,this))}function Gw(t,e){var r,n=this,i=nw(this.parentDimensions,2),a=i[0],o=i[1];this.width=t/a,this.height=e/o,null!==(r=this._initialOptions)&&void 0!==r&&r.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,null!==kw(Cw,this)&&clearTimeout(kw(Cw,this)),xw(Cw,this,setTimeout((function(){xw(Cw,n,null),Aw(Rw,n,Uw).call(n,t,e)}),200))}function Hw(t,e){for(var r=kw(_w,this),n=r.width,i=r.height,a=kw(_w,this);n>2*t||i>2*e;){var o=n,s=i;n>2*t&&(n=n>=16384?Math.floor(n/2)-1:Math.ceil(n/2)),i>2*e&&(i=i>=16384?Math.floor(i/2)-1:Math.ceil(i/2));var u=new OffscreenCanvas(n,i);u.getContext("2d").drawImage(a,0,0,o,s,0,0,n,i),a=u.transferToImageBitmap()}return a}function Uw(t,e){var r=new Fe,n=Math.ceil(t*r.sx),i=Math.ceil(e*r.sy),a=kw(Lw,this);if(a&&(a.width!==n||a.height!==i)){a.width=n,a.height=i;var o=kw(jw,this)?kw(_w,this):Aw(Rw,this,Hw).call(this,n,i),s=a.getContext("2d");s.filter=this._uiManager.hcmFilter,s.drawImage(o,0,0,o.width,o.height,0,0,n,i)}}function zw(t){if(t){if(kw(jw,this)){var e=this._uiManager.imageManager.getSvgUrl(kw(Ew,this));if(e)return e}var r=document.createElement("canvas"),n=kw(_w,this);return r.width=n.width,r.height=n.height,r.getContext("2d").drawImage(kw(_w,this),0,0),r.toDataURL()}if(kw(jw,this)){var i=nw(this.pageDimensions,2),a=i[0],o=i[1],s=Math.round(this.width*a*Vt.PDF_TO_CSS_UNITS),u=Math.round(this.height*o*Vt.PDF_TO_CSS_UNITS),c=new OffscreenCanvas(s,u);return c.getContext("2d").drawImage(kw(_w,this),0,0,kw(_w,this).width,kw(_w,this).height,0,0,s,u),c.transferToImageBitmap()}return structuredClone(kw(_w,this))}function Vw(){var t=this;this._uiManager._signal&&(xw(Mw,this,new ResizeObserver((function(e){var r=e[0].contentRect;r.width&&r.height&&Aw(Rw,t,Gw).call(t,r.width,r.height)}))),kw(Mw,this).observe(this.div),this._uiManager._signal.addEventListener("abort",(function(){var e;null===(e=kw(Mw,t))||void 0===e||e.disconnect(),xw(Mw,t,null)}),{once:!0}))}function qw(t){var e,r=this._initialData,n=r.rect,i=r.pageIndex,a=r.accessibilityData.altText,o=t.rect.every((function(t,e){return Math.abs(t-n[e])<1})),s=t.pageIndex===i,u=((null===(e=t.accessibilityData)||void 0===e?void 0:e.alt)||"")===a;return{isSame:o&&s&&u,isSameAltText:u}}function Yw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Xw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yw(Object(r),!0).forEach((function(e){rk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yw(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Kw(){Kw=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),s=new L(n||[]);return i(o,"_invoke",{value:S(t,r,s)}),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",v="executing",p="completed",y={};function g(){}function m(){}function b(){}var w={};c(w,o,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(M([])));x&&x!==r&&n.call(x,o)&&(w=x);var A=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,a,o,s){var u=h(t[i],t,a);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(l).then((function(t){c.value=t,o(c)}),(function(t){return r("throw",t,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=f;return function(a,o){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=O(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=v;var c=h(e,r,n);if("normal"===c.type){if(i=n.done?p:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=p,n.method="throw",n.arg=c.arg)}}}function O(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function M(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=b,i(A,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},_(E.prototype),c(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new E(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},_(A),c(A,u,"Generator"),c(A,o,(function(){return this})),c(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function Qw(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Jw(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){Qw(a,n,i,o,s,"next",t)}function s(t){Qw(a,n,i,o,s,"throw",t)}o(void 0)}))}}function $w(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Zw(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Zw(t,e){if(t){if("string"==typeof t)return tk(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tk(t,e):void 0}}function tk(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function ek(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nk(n.key),n)}}function rk(t,e,r){return(e=nk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nk(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function ik(t,e,r){ak(t,e),e.set(t,r)}function ak(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ok(t,e,r){return r(ck(t,e))}function sk(t,e){return t.get(ck(t,e))}function uk(t,e,r){return t.set(ck(t,e),r),r}function ck(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}db=Fw,gw(Fw,"_type","stamp"),gw(Fw,"_editorType",A.STAMP);var lk=new WeakMap,hk=new WeakMap,fk=new WeakMap,dk=new WeakMap,vk=new WeakMap,pk=new WeakMap,yk=new WeakMap,gk=new WeakMap,mk=new WeakMap,bk=new WeakMap,wk=new WeakMap,kk=new WeakMap,xk=new WeakSet,Ak=function(){return function(t,e,r){return e&&ek(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){var r=e.uiManager,n=e.pageIndex,i=e.div,a=e.structTreeLayer,o=e.accessibilityManager,s=e.annotationLayer,u=e.drawLayer,c=e.textLayer,l=e.viewport,h=e.l10n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){ak(t,e),e.add(t)}(this,xk),ik(this,lk,void 0),ik(this,hk,!1),ik(this,fk,null),ik(this,dk,null),ik(this,vk,null),ik(this,pk,new Map),ik(this,yk,!1),ik(this,gk,!1),ik(this,mk,!1),ik(this,bk,null),ik(this,wk,null),ik(this,kk,void 0);var f=function(t){return function(t){if(Array.isArray(t))return tk(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Zw(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Lk._.values());if(!t._initialized){t._initialized=!0;var d,v=$w(f);try{for(v.s();!(d=v.n()).done;)d.value.initialize(h,r)}catch(t){v.e(t)}finally{v.f()}}r.registerEditorTypes(f),uk(kk,this,r),this.pageIndex=n,this.div=i,uk(lk,this,o),uk(fk,this,s),this.viewport=l,uk(bk,this,c),this.drawLayer=u,this._structTree=a,sk(kk,this).addLayer(this)}),[{key:"isEmpty",get:function(){return 0===sk(pk,this).size}},{key:"isInvisible",get:function(){return this.isEmpty&&sk(kk,this).getMode()===A.NONE}},{key:"updateToolbar",value:function(t){sk(kk,this).updateToolbar(t)}},{key:"updateMode",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sk(kk,this).getMode();switch(ck(xk,this,Tk).call(this),t){case A.NONE:return this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),void this.disableClick();case A.INK:this.addInkEditorIfNeeded(!1),this.disableTextSelection(),this.togglePointerEvents(!0),this.disableClick();break;case A.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);var e,r=this.div.classList,n=$w(Lk._.values());try{for(n.s();!(e=n.n()).done;){var i=e.value;r.toggle("".concat(i._type,"Editing"),t===i._editorType)}}catch(t){n.e(t)}finally{n.f()}this.div.hidden=!1}},{key:"hasTextLayer",value:function(t){var e;return t===(null===(e=sk(bk,this))||void 0===e?void 0:e.div)}},{key:"addInkEditorIfNeeded",value:function(t){if(sk(kk,this).getMode()===A.INK){if(!t){var e,r=$w(sk(pk,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;if(n.isEmpty())return void n.setInBackground()}}catch(t){r.e(t)}finally{r.f()}}this.createAndAddNewEditor({offsetX:0,offsetY:0},!1).setInBackground()}}},{key:"setEditingState",value:function(t){sk(kk,this).setEditingState(t)}},{key:"addCommands",value:function(t){sk(kk,this).addCommands(t)}},{key:"toggleDrawing",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.div.classList.toggle("drawing",!t)}},{key:"togglePointerEvents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.div.classList.toggle("disabled",!t)}},{key:"toggleAnnotationLayerPointerEvents",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];null===(t=sk(fk,this))||void 0===t||t.div.classList.toggle("disabled",!e)}},{key:"enable",value:(e=Jw(Kw().mark((function t(){var e,r,n,i,a,o,s,u,c;return Kw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.div.tabIndex=0,this.togglePointerEvents(!0),e=new Set,r=$w(sk(pk,this).values());try{for(r.s();!(n=r.n()).done;)(i=n.value).enableEditing(),i.show(!0),i.annotationElementId&&(sk(kk,this).removeChangedExistingAnnotation(i),e.add(i.annotationElementId))}catch(t){r.e(t)}finally{r.f()}if(sk(fk,this)){t.next=7;break}return t.abrupt("return");case 7:a=sk(fk,this).getEditableAnnotations(),o=$w(a),t.prev=9,o.s();case 11:if((s=o.n()).done){t.next=27;break}if((u=s.value).hide(),!sk(kk,this).isDeletedAnnotationElement(u.data.id)){t.next=16;break}return t.abrupt("continue",25);case 16:if(!e.has(u.data.id)){t.next=18;break}return t.abrupt("continue",25);case 18:return t.next=20,this.deserialize(u);case 20:if(c=t.sent){t.next=23;break}return t.abrupt("continue",25);case 23:this.addOrRebuild(c),c.enableEditing();case 25:t.next=11;break;case 27:t.next=32;break;case 29:t.prev=29,t.t0=t.catch(9),o.e(t.t0);case 32:return t.prev=32,o.f(),t.finish(32);case 35:case"end":return t.stop()}}),t,this,[[9,29,32,35]])}))),function(){return e.apply(this,arguments)})},{key:"disable",value:function(){uk(mk,this,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);var t,e=new Map,r=new Map,n=$w(sk(pk,this).values());try{for(n.s();!(t=n.n()).done;){var i,a=t.value;a.disableEditing(),a.annotationElementId&&(null===a.serialize()?(r.set(a.annotationElementId,a),null===(i=this.getEditableAnnotation(a.annotationElementId))||void 0===i||i.show(),a.remove()):e.set(a.annotationElementId,a))}}catch(t){n.e(t)}finally{n.f()}if(sk(fk,this)){var o,s=$w(sk(fk,this).getEditableAnnotations());try{for(s.s();!(o=s.n()).done;){var u=o.value,c=u.data.id;if(!sk(kk,this).isDeletedAnnotationElement(c)){var l=r.get(c);l?(l.resetAnnotationElement(u),l.show(!1),u.show()):((l=e.get(c))&&(sk(kk,this).addChangedExistingAnnotation(l),l.renderAnnotationElement(u)&&l.show(!1)),u.show())}}}catch(t){s.e(t)}finally{s.f()}}ck(xk,this,Tk).call(this),this.isEmpty&&(this.div.hidden=!0);var h,f=this.div.classList,d=$w(Lk._.values());try{for(d.s();!(h=d.n()).done;){var v=h.value;f.remove("".concat(v._type,"Editing"))}}catch(t){d.e(t)}finally{d.f()}this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),uk(mk,this,!1)}},{key:"getEditableAnnotation",value:function(t){var e;return(null===(e=sk(fk,this))||void 0===e?void 0:e.getEditableAnnotation(t))||null}},{key:"setActiveEditor",value:function(t){sk(kk,this).getActive()!==t&&sk(kk,this).setActiveEditor(t)}},{key:"enableTextSelection",value:function(){var t;if(this.div.tabIndex=-1,null!==(t=sk(bk,this))&&void 0!==t&&t.div&&!sk(wk,this)){uk(wk,this,new AbortController);var e=sk(kk,this).combinedSignal(sk(wk,this));sk(bk,this).div.addEventListener("pointerdown",ck(xk,this,_k).bind(this),{signal:e}),sk(bk,this).div.classList.add("highlighting")}}},{key:"disableTextSelection",value:function(){var t;this.div.tabIndex=0,null!==(t=sk(bk,this))&&void 0!==t&&t.div&&sk(wk,this)&&(sk(wk,this).abort(),uk(wk,this,null),sk(bk,this).div.classList.remove("highlighting"))}},{key:"enableClick",value:function(){if(!sk(dk,this)){uk(dk,this,new AbortController);var t=sk(kk,this).combinedSignal(sk(dk,this));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t}),this.div.addEventListener("pointerup",this.pointerup.bind(this),{signal:t})}}},{key:"disableClick",value:function(){var t;null===(t=sk(dk,this))||void 0===t||t.abort(),uk(dk,this,null)}},{key:"attach",value:function(t){sk(pk,this).set(t.id,t);var e=t.annotationElementId;e&&sk(kk,this).isDeletedAnnotationElement(e)&&sk(kk,this).removeDeletedAnnotationElement(t)}},{key:"detach",value:function(t){var e;sk(pk,this).delete(t.id),null===(e=sk(lk,this))||void 0===e||e.removePointerInTextLayer(t.contentDiv),!sk(mk,this)&&t.annotationElementId&&sk(kk,this).addDeletedAnnotationElement(t)}},{key:"remove",value:function(t){this.detach(t),sk(kk,this).removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1,sk(gk,this)||this.addInkEditorIfNeeded(!1)}},{key:"changeParent",value:function(t){var e;t.parent!==this&&(t.parent&&t.annotationElementId&&(sk(kk,this).addDeletedAnnotationElement(t.annotationElementId),Wa.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),null===(e=t.parent)||void 0===e||e.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}},{key:"add",value:function(t){if(t.parent!==this||!t.isAttachedToDOM){if(this.changeParent(t),sk(kk,this).addEditor(t),this.attach(t),!t.isAttachedToDOM){var e=t.render();this.div.append(e),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(),sk(kk,this).addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}},{key:"moveEditorInDOM",value:function(t){var e,r=this;if(t.isAttachedToDOM){var n=document.activeElement;t.div.contains(n)&&!sk(vk,this)&&(t._focusEventsAllowed=!1,uk(vk,this,setTimeout((function(){uk(vk,r,null),t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",(function(){t._focusEventsAllowed=!0}),{once:!0,signal:sk(kk,r)._signal}),n.focus())}),0))),t._structTreeParentId=null===(e=sk(lk,this))||void 0===e?void 0:e.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}}},{key:"addOrRebuild",value:function(t){t.needsToBeRebuilt()?(t.parent||(t.parent=this),t.rebuild(),t.show()):this.add(t)}},{key:"addUndoableEditor",value:function(t){this.addCommands({cmd:function(){return t._uiManager.rebuild(t)},undo:function(){t.remove()},mustExec:!1})}},{key:"getNextId",value:function(){return sk(kk,this).getId()}},{key:"combinedSignal",value:function(t){return sk(kk,this).combinedSignal(t)}},{key:"canCreateNewEmptyEditor",value:function(){var t;return null===(t=ok(xk,this,Ek))||void 0===t?void 0:t.canCreateNewEmptyEditor()}},{key:"pasteEditor",value:function(t,e){sk(kk,this).updateToolbar(t),sk(kk,this).updateMode(t);var r=ck(xk,this,Ok).call(this),n=r.offsetX,i=r.offsetY,a=this.getNextId(),o=ck(xk,this,Sk).call(this,Xw({parent:this,id:a,x:n,y:i,uiManager:sk(kk,this),isCentered:!0},e));o&&this.add(o)}},{key:"deserialize",value:(t=Jw(Kw().mark((function t(e){var r,n;return Kw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null===(r=Lk._.get(null!==(n=e.annotationType)&&void 0!==n?n:e.annotationEditorType))||void 0===r?void 0:r.deserialize(e,this,sk(kk,this));case 2:if(t.t0=t.sent,t.t0){t.next=5;break}t.t0=null;case 5:return t.abrupt("return",t.t0);case 6:case"end":return t.stop()}}),t,this)}))),function(e){return t.apply(this,arguments)})},{key:"createAndAddNewEditor",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getNextId(),i=ck(xk,this,Sk).call(this,Xw({parent:this,id:n,x:t.offsetX,y:t.offsetY,uiManager:sk(kk,this),isCentered:e},r));return i&&this.add(i),i}},{key:"addNewEditor",value:function(){this.createAndAddNewEditor(ck(xk,this,Ok).call(this),!0)}},{key:"setSelected",value:function(t){sk(kk,this).setSelected(t)}},{key:"toggleSelected",value:function(t){sk(kk,this).toggleSelected(t)}},{key:"unselect",value:function(t){sk(kk,this).unselect(t)}},{key:"pointerup",value:function(t){var e=J.platform.isMac;0!==t.button||t.ctrlKey&&e||t.target===this.div&&sk(yk,this)&&(uk(yk,this,!1),sk(hk,this)?sk(kk,this).getMode()!==A.STAMP?this.createAndAddNewEditor(t,!1):sk(kk,this).unselectAll():uk(hk,this,!0))}},{key:"pointerdown",value:function(t){if(sk(kk,this).getMode()===A.HIGHLIGHT&&this.enableTextSelection(),sk(yk,this))uk(yk,this,!1);else{var e=J.platform.isMac;if(!(0!==t.button||t.ctrlKey&&e)&&t.target===this.div){uk(yk,this,!0);var r=sk(kk,this).getActive();uk(hk,this,!r||r.isEmpty())}}}},{key:"findNewParent",value:function(t,e,r){var n=sk(kk,this).findParent(e,r);return null!==n&&n!==this&&(n.changeParent(t),!0)}},{key:"destroy",value:function(){var t;(null===(t=sk(kk,this).getActive())||void 0===t?void 0:t.parent)===this&&(sk(kk,this).commitOrRemove(),sk(kk,this).setActiveEditor(null)),sk(vk,this)&&(clearTimeout(sk(vk,this)),uk(vk,this,null));var e,r=$w(sk(pk,this).values());try{for(r.s();!(e=r.n()).done;){var n,i=e.value;null===(n=sk(lk,this))||void 0===n||n.removePointerInTextLayer(i.contentDiv),i.setParent(null),i.isAttachedToDOM=!1,i.div.remove()}}catch(t){r.e(t)}finally{r.f()}this.div=null,sk(pk,this).clear(),sk(kk,this).removeLayer(this)}},{key:"render",value:function(t){var e=t.viewport;this.viewport=e,Re(this.div,e);var r,n=$w(sk(kk,this).getEditors(this.pageIndex));try{for(n.s();!(r=n.n()).done;){var i=r.value;this.add(i),i.rebuild()}}catch(t){n.e(t)}finally{n.f()}this.updateMode()}},{key:"update",value:function(t){var e=t.viewport;sk(kk,this).commitOrRemove(),ck(xk,this,Tk).call(this);var r=this.viewport.rotation,n=e.rotation;if(this.viewport=e,Re(this.div,{rotation:n}),r!==n){var i,a=$w(sk(pk,this).values());try{for(a.s();!(i=a.n()).done;)i.value.rotate(n)}catch(t){a.e(t)}finally{a.f()}}this.addInkEditorIfNeeded(!1)}},{key:"pageDimensions",get:function(){var t=this.viewport.rawDims;return[t.pageWidth,t.pageHeight]}},{key:"scale",get:function(){return sk(kk,this).viewParameters.realScale}}]);var t,e}();function _k(t){var e=this;sk(kk,this).unselectAll();var r=t.target;if(r===sk(bk,this).div||("img"===r.getAttribute("role")||r.classList.contains("endOfContent"))&&sk(bk,this).div.contains(r)){var n=J.platform.isMac;if(0!==t.button||t.ctrlKey&&n)return;sk(kk,this).showAllEditors("highlight",!0,!0),sk(bk,this).div.classList.add("free"),this.toggleDrawing(),Om.startHighlighting(this,"ltr"===sk(kk,this).direction,{target:sk(bk,this).div,x:t.x,y:t.y}),sk(bk,this).div.addEventListener("pointerup",(function(){sk(bk,e).div.classList.remove("free"),e.toggleDrawing(!0)}),{once:!0,signal:sk(kk,this)._signal}),t.preventDefault()}}function Ek(t){return Lk._.get(sk(kk,t).getMode())}function Sk(t){var e=ok(xk,this,Ek);return e?new e.prototype.constructor(t):null}function Ok(){var t=this.div.getBoundingClientRect(),e=t.x,r=t.y,n=t.width,i=t.height,a=Math.max(0,e),o=Math.max(0,r),s=(a+Math.min(window.innerWidth,e+n))/2-e,u=(o+Math.min(window.innerHeight,r+i))/2-r,c=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(t,e)||Zw(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.viewport.rotation%180==0?[s,u]:[u,s],2);return{offsetX:c[0],offsetY:c[1]}}function Tk(){uk(gk,this,!0);var t,e=$w(sk(pk,this).values());try{for(e.s();!(t=e.n()).done;){var r=t.value;r.isEmpty()&&r.remove()}}catch(t){e.e(t)}finally{e.f()}uk(gk,this,!1)}rk(Ak,"_initialized",!1);var Pk,Lk={_:new Map([Dp,Tb,Fw,Om].map((function(t){return[t._editorType,t]})))};function Mk(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Ck(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ck(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Ck(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function jk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ik(n.key),n)}}function Ik(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function Rk(t,e,r){Fk(t,e),e.set(t,r)}function Fk(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Dk(t,e,r){return t.set(Wk(t,e),r),r}function Nk(t,e){return t.get(Wk(t,e))}function Wk(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var Bk=new WeakMap,Gk=new WeakMap,Hk=new WeakMap,Uk=new WeakMap,zk=new WeakSet,Vk=function(){function t(e){var r=e.pageIndex;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){Fk(t,e),e.add(t)}(this,zk),Rk(this,Bk,null),Rk(this,Gk,0),Rk(this,Hk,new Map),Rk(this,Uk,new Map),this.pageIndex=r}return function(t,e,r){return e&&jk(t.prototype,e),r&&jk(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"setParent",value:function(t){if(Nk(Bk,this)){if(Nk(Bk,this)!==t){if(Nk(Hk,this).size>0){var e,r=Mk(Nk(Hk,this).values());try{for(r.s();!(e=r.n()).done;){var n=e.value;n.remove(),t.append(n)}}catch(t){r.e(t)}finally{r.f()}}Dk(Bk,this,t)}}else Dk(Bk,this,t)}},{key:"highlight",value:function(e,r,n){var i,a,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=(Dk(Gk,this,(i=Nk(Gk,this),a=i++,i)),a),u=Wk(zk,this,Yk).call(this,e.box);u.classList.add("highlight"),e.free&&u.classList.add("free");var c=t._svgFactory.createElement("defs");u.append(c);var l=t._svgFactory.createElement("path");c.append(l);var h="path_p".concat(this.pageIndex,"_").concat(s);l.setAttribute("id",h),l.setAttribute("d",e.toSVGPath()),o&&Nk(Uk,this).set(s,l);var f=Wk(zk,this,Xk).call(this,c,h),d=t._svgFactory.createElement("use");return u.append(d),u.setAttribute("fill",r),u.setAttribute("fill-opacity",n),d.setAttribute("href","#".concat(h)),Nk(Hk,this).set(s,u),{id:s,clipPathId:"url(#".concat(f,")")}}},{key:"highlightOutline",value:function(e){var r,n,i=(Dk(Gk,this,(r=Nk(Gk,this),n=r++,r)),n),a=Wk(zk,this,Yk).call(this,e.box);a.classList.add("highlightOutline");var o=t._svgFactory.createElement("defs");a.append(o);var s=t._svgFactory.createElement("path");o.append(s);var u,c="path_p".concat(this.pageIndex,"_").concat(i);if(s.setAttribute("id",c),s.setAttribute("d",e.toSVGPath()),s.setAttribute("vector-effect","non-scaling-stroke"),e.free){a.classList.add("free");var l=t._svgFactory.createElement("mask");o.append(l),u="mask_p".concat(this.pageIndex,"_").concat(i),l.setAttribute("id",u),l.setAttribute("maskUnits","objectBoundingBox");var h=t._svgFactory.createElement("rect");l.append(h),h.setAttribute("width","1"),h.setAttribute("height","1"),h.setAttribute("fill","white");var f=t._svgFactory.createElement("use");l.append(f),f.setAttribute("href","#".concat(c)),f.setAttribute("stroke","none"),f.setAttribute("fill","black"),f.setAttribute("fill-rule","nonzero"),f.classList.add("mask")}var d=t._svgFactory.createElement("use");a.append(d),d.setAttribute("href","#".concat(c)),u&&d.setAttribute("mask","url(#".concat(u,")"));var v=d.cloneNode();return a.append(v),d.classList.add("mainOutline"),v.classList.add("secondaryOutline"),Nk(Hk,this).set(i,a),i}},{key:"finalizeLine",value:function(t,e){var r=Nk(Uk,this).get(t);Nk(Uk,this).delete(t),this.updateBox(t,e.box),r.setAttribute("d",e.toSVGPath())}},{key:"updateLine",value:function(t,e){Nk(Hk,this).get(t).firstChild.firstChild.setAttribute("d",e.toSVGPath())}},{key:"removeFreeHighlight",value:function(t){this.remove(t),Nk(Uk,this).delete(t)}},{key:"updatePath",value:function(t,e){Nk(Uk,this).get(t).setAttribute("d",e.toSVGPath())}},{key:"updateBox",value:function(e,r){qk.call(t,Nk(Hk,this).get(e),r)}},{key:"show",value:function(t,e){Nk(Hk,this).get(t).classList.toggle("hidden",!e)}},{key:"rotate",value:function(t,e){Nk(Hk,this).get(t).setAttribute("data-main-rotation",e)}},{key:"changeColor",value:function(t,e){Nk(Hk,this).get(t).setAttribute("fill",e)}},{key:"changeOpacity",value:function(t,e){Nk(Hk,this).get(t).setAttribute("fill-opacity",e)}},{key:"addClass",value:function(t,e){Nk(Hk,this).get(t).classList.add(e)}},{key:"removeClass",value:function(t,e){Nk(Hk,this).get(t).classList.remove(e)}},{key:"getSVGRoot",value:function(t){return Nk(Hk,this).get(t)}},{key:"remove",value:function(t){null!==Nk(Bk,this)&&(Nk(Hk,this).get(t).remove(),Nk(Hk,this).delete(t))}},{key:"destroy",value:function(){Dk(Bk,this,null);var t,e=Mk(Nk(Hk,this).values());try{for(e.s();!(t=e.n()).done;)t.value.remove()}catch(t){e.e(t)}finally{e.f()}Nk(Hk,this).clear()}}],[{key:"_svgFactory",get:function(){return W(this,"_svgFactory",new me)}}])}();function qk(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.x,n=void 0===r?0:r,i=e.y,a=void 0===i?0:i,o=e.width,s=void 0===o?1:o,u=e.height,c=void 0===u?1:u,l=t.style;l.top="".concat(100*a,"%"),l.left="".concat(100*n,"%"),l.width="".concat(100*s,"%"),l.height="".concat(100*c,"%")}function Yk(t){var e=Pk._svgFactory.create(1,1,!0);return Nk(Bk,this).append(e),e.setAttribute("aria-hidden",!0),qk.call(Pk,e,t),e}function Xk(t,e){var r=Pk._svgFactory.createElement("clipPath");t.append(r);var n="clip_".concat(e);r.setAttribute("id",n),r.setAttribute("clipPathUnits","objectBoundingBox");var i=Pk._svgFactory.createElement("use");return r.append(i),i.setAttribute("href","#".concat(e)),i.classList.add("clip"),n}Pk=Vk;`;function yr(G,J){return typeof G=="string"?G:G instanceof Blob?URL.createObjectURL(G):G instanceof ArrayBuffer?URL.createObjectURL(new Blob([G],J)):G instanceof Response?URL.createObjectURL(G.blob()):G}function Le(G){return new Promise((J,oe)=>{let Se=document.createElement("script");Se.src=G,Se.onload=function(){J()},Se.onerror=function(){oe()},document.body.append(Se)})}function sr(G,J){return ar(this,null,function*(){J&&(J instanceof ArrayBuffer&&(J=new Blob([J])),Ir(G,URL.createObjectURL(J)))})}function Ir(G,J){let oe=document.createElement("a");oe.download=G,oe.style.display="none",oe.href=J,document.body.appendChild(oe),oe.click(),document.body.removeChild(oe)}function hn(G){var J,oe,Se,et,ie;for(J="",Se=G.length,oe=0;oe<Se;oe++)et=G.charCodeAt(oe),et>=1&&et<=127?J+=G.charAt(oe):et>2047?(ie=224|et>>12&15,J+=String.fromCharCode(ie),ie=128|et>>6&63,J+=String.fromCharCode(ie),ie=128|et>>0&63,J+=String.fromCharCode(ie)):(ie=192|et>>6&31,J+=String.fromCharCode(ie),ie=128|et>>0&63,J+=String.fromCharCode(ie));return J}var Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Et(G){var J,oe,Se,et,ie,xe;for(Se=G.length,oe=0,J="";oe<Se;){if(et=G.charCodeAt(oe++)&255,oe==Se){J+=Oe.charAt(et>>2),J+=Oe.charAt((et&3)<<4),J+="==";break}if(ie=G.charCodeAt(oe++),oe==Se){J+=Oe.charAt(et>>2),J+=Oe.charAt((et&3)<<4|(ie&240)>>4),J+=Oe.charAt((ie&15)<<2),J+="=";break}xe=G.charCodeAt(oe++),J+=Oe.charAt(et>>2),J+=Oe.charAt((et&3)<<4|(ie&240)>>4),J+=Oe.charAt((ie&15)<<2|(xe&192)>>6),J+=Oe.charAt(xe&63)}return J}function qt(G){return Et(hn(G))}var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Iu<"u"?Iu:typeof self<"u"?self:{};function Nr(G){return G&&G.__esModule&&Object.prototype.hasOwnProperty.call(G,"default")?G.default:G}function zt(G,J){for(var oe=-1,Se=G==null?0:G.length,et=Array(Se);++oe<Se;)et[oe]=J(G[oe],oe,G);return et}var Cr=zt;function Wr(){this.__data__=[],this.size=0}var un=Wr;function Ui(G,J){return G===J||G!==G&&J!==J}var Ea=Ui,Po=Ea;function Ds(G,J){for(var oe=G.length;oe--;)if(Po(G[oe][0],J))return oe;return-1}var co=Ds,kt=co,Qa=Array.prototype,Ji=Qa.splice;function La(G){var J=this.__data__,oe=kt(J,G);if(oe<0)return!1;var Se=J.length-1;return oe==Se?J.pop():Ji.call(J,oe,1),--this.size,!0}var yo=La,_a=co;function ln(G){var J=this.__data__,oe=_a(J,G);return oe<0?void 0:J[oe][1]}var gn=ln,cn=co;function Dn(G){return cn(this.__data__,G)>-1}var xn=Dn,Wn=co;function Vi(G,J){var oe=this.__data__,Se=Wn(oe,G);return Se<0?(++this.size,oe.push([G,J])):oe[Se][1]=J,this}var uo=Vi,tn=un,xr=yo,Ei=gn,Ni=xn,ji=uo;function wa(G){var J=-1,oe=G==null?0:G.length;for(this.clear();++J<oe;){var Se=G[J];this.set(Se[0],Se[1])}}wa.prototype.clear=tn,wa.prototype.delete=xr,wa.prototype.get=Ei,wa.prototype.has=Ni,wa.prototype.set=ji;var Oa=wa,Ja=Oa;function lo(){this.__data__=new Ja,this.size=0}var Go=lo;function Sc(G){var J=this.__data__,oe=J.delete(G);return this.size=J.size,oe}var zs=Sc;function Vs(G){return this.__data__.get(G)}var So=Vs;function Rs(G){return this.__data__.has(G)}var Or=Rs,$r=typeof nr=="object"&&nr&&nr.Object===Object&&nr,jn=$r,gi=jn,da=typeof self=="object"&&self&&self.Object===Object&&self,Sr=gi||da||Function("return this")(),br=Sr,Ln=br,Ai=Ln.Symbol,ei=Ai,Li=ei,lr=Object.prototype,Lt=lr.hasOwnProperty,ro=lr.toString,Is=Li?Li.toStringTag:void 0;function Fs(G){var J=Lt.call(G,Is),oe=G[Is];try{G[Is]=void 0;var Se=!0}catch{}var et=ro.call(G);return Se&&(J?G[Is]=oe:delete G[Is]),et}var Zc=Fs,Eu=Object.prototype,Xc=Eu.toString;function $c(G){return Xc.call(G)}var _c=$c,wu=ei,Sn=Zc,Zs=_c,ga="[object Null]",Bu="[object Undefined]",Zu=wu?wu.toStringTag:void 0;function Ml(G){return G==null?G===void 0?Bu:ga:Zu&&Zu in Object(G)?Sn(G):Zs(G)}var Ac=Ml;function sa(G){var J=typeof G;return G!=null&&(J=="object"||J=="function")}var qa=sa,Ao=Ac,xA=qa,Vo="[object AsyncFunction]",Xu="[object Function]",Gf="[object GeneratorFunction]",Mt="[object Proxy]";function di(G){if(!xA(G))return!1;var J=Ao(G);return J==Xu||J==Gf||J==Vo||J==Mt}var Ur=di,Bg=br,Uo=Bg["__core-js_shared__"],Uf=Uo,Dh=Uf,jf=function(){var G=/[^.]+$/.exec(Dh&&Dh.keys&&Dh.keys.IE_PROTO||"");return G?"Symbol(src)_1."+G:""}();function Rh(G){return!!jf&&jf in G}var SA=Rh,Qg=Function.prototype,kg=Qg.toString;function xg(G){if(G!=null){try{return kg.call(G)}catch{}try{return G+""}catch{}}return""}var Fh=xg,Hf=Ur,Sg=SA,Yf=qa,_g=Fh,Dg=/[\\^$.*+?()[\]{}|]/g,Qu=/^\[object .+?Constructor\]$/,_A=Function.prototype,$u=Object.prototype,hi=_A.toString,ku=$u.hasOwnProperty,Rg=RegExp("^"+hi.call(ku).replace(Dg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jf(G){if(!Yf(G)||Sg(G))return!1;var J=Hf(G)?Rg:Qu;return J.test(_g(G))}var Ba=Jf;function pa(G,J){return G==null?void 0:G[J]}var DA=pa,Fg=Ba,Ng=DA;function Nh(G,J){var oe=Ng(G,J);return Fg(oe)?oe:void 0}var eu=Nh,bi=eu,el=br,hc=bi(el,"Map"),tu=hc,va=eu,qf=va(Object,"create"),tl=qf,xu=tl;function rl(){this.__data__=xu?xu(null):{},this.size=0}var RA=rl;function Wf(G){var J=this.has(G)&&delete this.__data__[G];return this.size-=J?1:0,J}var FA=Wf,Kf=tl,NA="__lodash_hash_undefined__",Mg=Object.prototype,MA=Mg.hasOwnProperty;function Tg(G){var J=this.__data__;if(Kf){var oe=J[G];return oe===NA?void 0:oe}return MA.call(J,G)?J[G]:void 0}var Lg=Tg,TA=tl,ru=Object.prototype,LA=ru.hasOwnProperty;function zf(G){var J=this.__data__;return TA?J[G]!==void 0:LA.call(J,G)}var Og=zf,Pg=tl,Gg="__lodash_hash_undefined__";function Ug(G,J){var oe=this.__data__;return this.size+=this.has(G)?0:1,oe[G]=Pg&&J===void 0?Gg:J,this}var jg=Ug,OA=RA,Ie=FA,P=Lg,L=Og,V=jg;function ne(G){var J=-1,oe=G==null?0:G.length;for(this.clear();++J<oe;){var Se=G[J];this.set(Se[0],Se[1])}}ne.prototype.clear=OA,ne.prototype.delete=Ie,ne.prototype.get=P,ne.prototype.has=L,ne.prototype.set=V;var fe=ne,we=fe,Qe=Oa,je=tu;function rt(){this.size=0,this.__data__={hash:new we,map:new(je||Qe),string:new we}}var gt=rt;function vt(G){var J=typeof G;return J=="string"||J=="number"||J=="symbol"||J=="boolean"?G!=="__proto__":G===null}var mt=vt,We=mt;function ct(G,J){var oe=G.__data__;return We(J)?oe[typeof J=="string"?"string":"hash"]:oe.map}var He=ct,it=He;function Xe(G){var J=it(this,G).delete(G);return this.size-=J?1:0,J}var lt=Xe,Qt=He;function Nt(G){return Qt(this,G).get(G)}var Rt=Nt,pr=He;function $t(G){return pr(this,G).has(G)}var Pr=$t,Vt=He;function Xr(G,J){var oe=Vt(this,G),Se=oe.size;return oe.set(G,J),this.size+=oe.size==Se?0:1,this}var Vn=Xr,It=gt,rr=lt,De=Rt,Ar=Pr,li=Vn;function Rr(G){var J=-1,oe=G==null?0:G.length;for(this.clear();++J<oe;){var Se=G[J];this.set(Se[0],Se[1])}}Rr.prototype.clear=It,Rr.prototype.delete=rr,Rr.prototype.get=De,Rr.prototype.has=Ar,Rr.prototype.set=li;var pi=Rr,Gr=Oa,ti=tu,Ht=pi,jt=200;function Kn(G,J){var oe=this.__data__;if(oe instanceof Gr){var Se=oe.__data__;if(!ti||Se.length<jt-1)return Se.push([G,J]),this.size=++oe.size,this;oe=this.__data__=new Ht(Se)}return oe.set(G,J),this.size=oe.size,this}var En=Kn,sn=Oa,Wa=Go,ho=zs,Ri=So,qi=Or,Io=En;function ma(G){var J=this.__data__=new sn(G);this.size=J.size}ma.prototype.clear=Wa,ma.prototype.delete=ho,ma.prototype.get=Ri,ma.prototype.has=qi,ma.prototype.set=Io;var Ns=ma;function Xs(G,J){for(var oe=-1,Se=G==null?0:G.length;++oe<Se&&J(G[oe],oe,G)!==!1;);return G}var ve=Xs,cr=eu,Yt=function(){try{var G=cr(Object,"defineProperty");return G({},"",{}),G}catch{}}(),st=Yt,nt=st;function xt(G,J,oe){J=="__proto__"&&nt?nt(G,J,{configurable:!0,enumerable:!0,value:oe,writable:!0}):G[J]=oe}var Er=xt,_r=Er,Pt=Ea,Jr=Object.prototype,wn=Jr.hasOwnProperty;function Vr(G,J,oe){var Se=G[J];(!(wn.call(G,J)&&Pt(Se,oe))||oe===void 0&&!(J in G))&&_r(G,J,oe)}var Un=Vr,ya=Un,Fi=Er;function Ms(G,J,oe,Se){var et=!oe;oe||(oe={});for(var ie=-1,xe=J.length;++ie<xe;){var tt=J[ie],Bt=Se?Se(oe[tt],G[tt],tt,oe,G):void 0;Bt===void 0&&(Bt=G[tt]),et?Fi(oe,tt,Bt):ya(oe,tt,Bt)}return oe}var Dc=Ms;function fc(G,J){for(var oe=-1,Se=Array(G);++oe<G;)Se[oe]=J(oe);return Se}var Tl=fc;function Ka(G){return G!=null&&typeof G=="object"}var Ts=Ka,Mh=Ac,Rc=Ts,Vf="[object Arguments]";function Hg(G){return Rc(G)&&Mh(G)==Vf}var Yg=Hg,Zf=Yg,Xf=Ts,nl=Object.prototype,PA=nl.hasOwnProperty,u1=nl.propertyIsEnumerable,l2=Zf(function(){return arguments}())?Zf:function(G){return Xf(G)&&PA.call(G,"callee")&&!u1.call(G,"callee")},Jg=l2,GA=Array.isArray,dc=GA,Th={exports:{}};function A2(){return!1}var h2=A2;Th.exports,function(G,J){var oe=br,Se=h2,et=J&&!J.nodeType&&J,ie=et&&!0&&G&&!G.nodeType&&G,xe=ie&&ie.exports===et,tt=xe?oe.Buffer:void 0,Bt=tt?tt.isBuffer:void 0,Gt=Bt||Se;G.exports=Gt}(Th,Th.exports);var il=Th.exports,qg=9007199254740991,f2=/^(?:0|[1-9]\d*)$/;function al(G,J){var oe=typeof G;return J=J??qg,!!J&&(oe=="number"||oe!="symbol"&&f2.test(G))&&G>-1&&G%1==0&&G<J}var Wg=al,d2=9007199254740991;function l1(G){return typeof G=="number"&&G>-1&&G%1==0&&G<=d2}var $f=l1,g2=Ac,A1=$f,p2=Ts,h1="[object Arguments]",Kg="[object Array]",v2="[object Boolean]",Ll="[object Date]",nu="[object Error]",m2="[object Function]",y2="[object Map]",I2="[object Number]",zg="[object Object]",Vg="[object RegExp]",b2="[object Set]",Ls="[object String]",Lh="[object WeakMap]",Zg="[object ArrayBuffer]",f1="[object DataView]",Oh="[object Float32Array]",C2="[object Float64Array]",d1="[object Int8Array]",E2="[object Int16Array]",w2="[object Int32Array]",g1="[object Uint8Array]",Ph="[object Uint8ClampedArray]",Gh="[object Uint16Array]",B2="[object Uint32Array]",Da={};Da[Oh]=Da[C2]=Da[d1]=Da[E2]=Da[w2]=Da[g1]=Da[Ph]=Da[Gh]=Da[B2]=!0,Da[h1]=Da[Kg]=Da[Zg]=Da[v2]=Da[f1]=Da[Ll]=Da[nu]=Da[m2]=Da[y2]=Da[I2]=Da[zg]=Da[Vg]=Da[b2]=Da[Ls]=Da[Lh]=!1;function Q2(G){return p2(G)&&A1(G.length)&&!!Da[g2(G)]}var k2=Q2;function Xg(G){return function(J){return G(J)}}var Ol=Xg,ed={exports:{}};ed.exports,function(G,J){var oe=jn,Se=J&&!J.nodeType&&J,et=Se&&!0&&G&&!G.nodeType&&G,ie=et&&et.exports===Se,xe=ie&&oe.process,tt=function(){try{var Bt=et&&et.require&&et.require("util").types;return Bt||xe&&xe.binding&&xe.binding("util")}catch{}}();G.exports=tt}(ed,ed.exports);var $g=ed.exports,x2=k2,S2=Ol,p1=$g,v1=p1&&p1.isTypedArray,_2=v1?S2(v1):x2,m1=_2,D2=Tl,R2=Jg,F2=dc,y1=il,I1=Wg,b1=m1,Oi=Object.prototype,C1=Oi.hasOwnProperty;function E1(G,J){var oe=F2(G),Se=!oe&&R2(G),et=!oe&&!Se&&y1(G),ie=!oe&&!Se&&!et&&b1(G),xe=oe||Se||et||ie,tt=xe?D2(G.length,String):[],Bt=tt.length;for(var Gt in G)(J||C1.call(G,Gt))&&!(xe&&(Gt=="length"||et&&(Gt=="offset"||Gt=="parent")||ie&&(Gt=="buffer"||Gt=="byteLength"||Gt=="byteOffset")||I1(Gt,Bt)))&&tt.push(Gt);return tt}var UA=E1,mi=Object.prototype;function w1(G){var J=G&&G.constructor,oe=typeof J=="function"&&J.prototype||mi;return G===oe}var td=w1;function B1(G,J){return function(oe){return G(J(oe))}}var Q1=B1,rd=Q1,N2=rd(Object.keys,Object),mn=N2,e0=td,k1=mn,ir=Object.prototype,nd=ir.hasOwnProperty;function x1(G){if(!e0(G))return k1(G);var J=[];for(var oe in Object(G))nd.call(G,oe)&&oe!="constructor"&&J.push(oe);return J}var S1=x1,bo=Ur,t0=$f;function r0(G){return G!=null&&t0(G.length)&&!bo(G)}var _1=r0,D1=UA,M2=S1,n0=_1;function T2(G){return n0(G)?D1(G):M2(G)}var id=T2,On=Dc,R1=id;function F1(G,J){return G&&On(J,R1(J),G)}var N1=F1;function M1(G){var J=[];if(G!=null)for(var oe in Object(G))J.push(oe);return J}var L2=M1,O2=qa,P2=td,G2=L2,U2=Object.prototype,j2=U2.hasOwnProperty;function H2(G){if(!O2(G))return G2(G);var J=P2(G),oe=[];for(var Se in G)Se=="constructor"&&(J||!j2.call(G,Se))||oe.push(Se);return oe}var Y2=H2,T1=UA,J2=Y2,q2=_1;function W2(G){return q2(G)?T1(G,!0):J2(G)}var Uh=W2,K2=Dc,L1=Uh;function Pa(G,J){return G&&K2(J,L1(J),G)}var ad=Pa,ss={exports:{}};ss.exports,function(G,J){var oe=br,Se=J&&!J.nodeType&&J,et=Se&&!0&&G&&!G.nodeType&&G,ie=et&&et.exports===Se,xe=ie?oe.Buffer:void 0,tt=xe?xe.allocUnsafe:void 0;function Bt(Gt,Xt){if(Xt)return Gt.slice();var Yr=Gt.length,qr=tt?tt(Yr):new Gt.constructor(Yr);return Gt.copy(qr),qr}G.exports=Bt}(ss,ss.exports);var Fc=ss.exports;function jh(G,J){var oe=-1,Se=G.length;for(J||(J=Array(Se));++oe<Se;)J[oe]=G[oe];return J}var od=jh;function O1(G,J){for(var oe=-1,Se=G==null?0:G.length,et=0,ie=[];++oe<Se;){var xe=G[oe];J(xe,oe,G)&&(ie[et++]=xe)}return ie}var ol=O1;function sd(){return[]}var Hh=sd,Nc=ol,Su=Hh,i0=Object.prototype,cd=i0.propertyIsEnumerable,a0=Object.getOwnPropertySymbols,P1=a0?function(G){return G==null?[]:(G=Object(G),Nc(a0(G),function(J){return cd.call(G,J)}))}:Su,ud=P1,jA=Dc,o0=ud;function G1(G,J){return jA(G,o0(G),J)}var z2=G1;function s0(G,J){for(var oe=-1,Se=J.length,et=G.length;++oe<Se;)G[et+oe]=J[oe];return G}var HA=s0,Mc=Q1,c0=Mc(Object.getPrototypeOf,Object),ld=c0,U1=HA,sl=ld,Yh=ud,Ad=Hh,j1=Object.getOwnPropertySymbols,cl=j1?function(G){for(var J=[];G;)U1(J,Yh(G)),G=sl(G);return J}:Ad,YA=cl,$s=Dc,wi=YA;function _u(G,J){return $s(G,wi(G),J)}var ul=_u,H1=HA,ec=dc;function hd(G,J,oe){var Se=J(G);return ec(G)?Se:H1(Se,oe(G))}var Du=hd,u0=Du,jo=ud,bs=id;function Jh(G){return u0(G,bs,jo)}var Pl=Jh,Tc=Du,l0=YA,fd=Uh;function Y1(G){return Tc(G,fd,l0)}var Gl=Y1,dd=eu,J1=br,A0=dd(J1,"DataView"),ai=A0,q1=eu,V2=br,gd=q1(V2,"Promise"),Ul=gd,W1=eu,Z2=br,X2=W1(Z2,"Set"),K1=X2,h0=eu,qh=br,jl=h0(qh,"WeakMap"),z1=jl,iu=ai,pd=tu,vd=Ul,md=K1,yd=z1,f0=Ac,Hl=Fh,cs="[object Map]",V1="[object Object]",d0="[object Promise]",tc="[object Set]",g0="[object WeakMap]",Lc="[object DataView]",Ru=Hl(iu),Z1=Hl(pd),JA=Hl(vd),X1=Hl(md),$1=Hl(yd),Yl=f0;(iu&&Yl(new iu(new ArrayBuffer(1)))!=Lc||pd&&Yl(new pd)!=cs||vd&&Yl(vd.resolve())!=d0||md&&Yl(new md)!=tc||yd&&Yl(new yd)!=g0)&&(Yl=function(G){var J=f0(G),oe=J==V1?G.constructor:void 0,Se=oe?Hl(oe):"";if(Se)switch(Se){case Ru:return Lc;case Z1:return cs;case JA:return d0;case X1:return tc;case $1:return g0}return J});var Cs=Yl,Fu=Object.prototype,Id=Fu.hasOwnProperty;function qA(G){var J=G.length,oe=new G.constructor(J);return J&&typeof G[0]=="string"&&Id.call(G,"index")&&(oe.index=G.index,oe.input=G.input),oe}var $2=qA,ev=br,eb=ev.Uint8Array,Pn=eb,tv=Pn;function Wh(G){var J=new G.constructor(G.byteLength);return new tv(J).set(new tv(G)),J}var za=Wh,rv=za;function bd(G,J){var oe=J?rv(G.buffer):G.buffer;return new G.constructor(oe,G.byteOffset,G.byteLength)}var Cd=bd,Ed=/\w*$/;function Zo(G){var J=new G.constructor(G.source,Ed.exec(G));return J.lastIndex=G.lastIndex,J}var nv=Zo,iv=ei,p0=iv?iv.prototype:void 0,Kh=p0?p0.valueOf:void 0;function tb(G){return Kh?Object(Kh.call(G)):{}}var av=tb,ov=za;function rb(G,J){var oe=J?ov(G.buffer):G.buffer;return new G.constructor(oe,G.byteOffset,G.length)}var Ga=rb,Jl=za,Ra=Cd,no=nv,Nu=av,nb=Ga,zh="[object Boolean]",ib="[object Date]",sv="[object Map]",cv="[object Number]",gc="[object RegExp]",v0="[object Set]",Co="[object String]",rc="[object Symbol]",uv="[object ArrayBuffer]",lv="[object DataView]",yi="[object Float32Array]",m0="[object Float64Array]",Av="[object Int8Array]",Vh="[object Int16Array]",fo="[object Int32Array]",ab="[object Uint8Array]",hv="[object Uint8ClampedArray]",us="[object Uint16Array]",ob="[object Uint32Array]";function sb(G,J,oe){var Se=G.constructor;switch(J){case uv:return Jl(G);case zh:case ib:return new Se(+G);case lv:return Ra(G,oe);case yi:case m0:case Av:case Vh:case fo:case ab:case hv:case us:case ob:return nb(G,oe);case sv:return new Se;case cv:case Co:return new Se(G);case gc:return no(G);case v0:return new Se;case rc:return Nu(G)}}var ci=sb,au=qa,y0=Object.create,I0=function(){function G(){}return function(J){if(!au(J))return{};if(y0)return y0(J);G.prototype=J;var oe=new G;return G.prototype=void 0,oe}}(),Mi=I0,b0=Mi,cb=ld,ca=td;function fv(G){return typeof G.constructor=="function"&&!ca(G)?b0(cb(G)):{}}var dv=fv,C0=Cs,gv=Ts,Fa="[object Map]";function E0(G){return gv(G)&&C0(G)==Fa}var pv=E0,vv=pv,wd=Ol,ua=$g,Oc=ua&&ua.isMap,Zh=Oc?wd(Oc):vv,ub=Zh,lb=Cs,Ab=Ts,hb="[object Set]";function mv(G){return Ab(G)&&lb(G)==hb}var yv=mv,Xo=yv,Xh=Ol,Zr=$g,Bd=Zr&&Zr.isSet,w0=Bd?Xh(Bd):Xo,$h=w0,_o=Ns,ql=ve,nc=Un,Iv=N1,bv=ad,Cv=Fc,B0=od,Ev=z2,wv=ul,Bv=Pl,ef=Gl,Qv=Cs,kv=$2,xv=ci,Sv=dv,_v=dc,Dv=il,Rv=ub,Fv=qa,Nv=$h,Mv=id,Tv=Uh,Qd=1,Q0=2,WA=4,ou="[object Arguments]",fb="[object Array]",ic="[object Boolean]",Wl="[object Date]",db="[object Error]",KA="[object Function]",gb="[object GeneratorFunction]",pb="[object Map]",vb="[object Number]",Lv="[object Object]",Ov="[object RegExp]",$o="[object Set]",ls="[object String]",Kt="[object Symbol]",Mu="[object WeakMap]",Os="[object ArrayBuffer]",wr="[object DataView]",tf="[object Float32Array]",Pv="[object Float64Array]",rf="[object Int8Array]",k0="[object Int16Array]",Gv="[object Int32Array]",Ho="[object Uint8Array]",Uv="[object Uint8ClampedArray]",Eo="[object Uint16Array]",Do="[object Uint32Array]",In={};In[ou]=In[fb]=In[Os]=In[wr]=In[ic]=In[Wl]=In[tf]=In[Pv]=In[rf]=In[k0]=In[Gv]=In[pb]=In[vb]=In[Lv]=In[Ov]=In[$o]=In[ls]=In[Kt]=In[Ho]=In[Uv]=In[Eo]=In[Do]=!0,In[db]=In[KA]=In[Mu]=!1;function Es(G,J,oe,Se,et,ie){var xe,tt=J&Qd,Bt=J&Q0,Gt=J&WA;if(oe&&(xe=et?oe(G,Se,et,ie):oe(G)),xe!==void 0)return xe;if(!Fv(G))return G;var Xt=_v(G);if(Xt){if(xe=kv(G),!tt)return B0(G,xe)}else{var Yr=Qv(G),qr=Yr==KA||Yr==gb;if(Dv(G))return Cv(G,tt);if(Yr==Lv||Yr==ou||qr&&!et){if(xe=Bt||qr?{}:Sv(G),!tt)return Bt?wv(G,bv(xe,G)):Ev(G,Iv(xe,G))}else{if(!In[Yr])return et?G:{};xe=xv(G,Yr,tt)}}ie||(ie=new _o);var Bn=ie.get(G);if(Bn)return Bn;ie.set(G,xe),Nv(G)?G.forEach(function(Xn){xe.add(Es(Xn,J,oe,Xn,G,ie))}):Rv(G)&&G.forEach(function(Xn,ni){xe.set(ni,Es(Xn,J,oe,ni,G,ie))});var Zn=Gt?Bt?ef:Bv:Bt?Tv:Mv,Yn=Xt?void 0:Zn(G);return ql(Yn||G,function(Xn,ni){Yn&&(ni=Xn,Xn=G[ni]),nc(xe,ni,Es(Xn,J,oe,ni,G,ie))}),xe}var _i=Es,ea=Ac,mb=Ts,ll="[object Symbol]";function Kl(G){return typeof G=="symbol"||mb(G)&&ea(G)==ll}var Al=Kl,Pc=dc,As=Al,Yo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yb=/^\w*$/;function x0(G,J){if(Pc(G))return!1;var oe=typeof G;return oe=="number"||oe=="symbol"||oe=="boolean"||G==null||As(G)?!0:yb.test(G)||!Yo.test(G)||J!=null&&G in Object(J)}var S0=x0,jv=pi,pc="Expected a function";function Tu(G,J){if(typeof G!="function"||J!=null&&typeof J!="function")throw new TypeError(pc);var oe=function(){var Se=arguments,et=J?J.apply(this,Se):Se[0],ie=oe.cache;if(ie.has(et))return ie.get(et);var xe=G.apply(this,Se);return oe.cache=ie.set(et,xe)||ie,xe};return oe.cache=new(Tu.Cache||jv),oe}Tu.Cache=jv;var hl=Tu,zl=hl,Ib=500;function Hv(G){var J=zl(G,function(Se){return oe.size===Ib&&oe.clear(),Se}),oe=J.cache;return J}var _0=Hv,kd=_0,bb=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,D0=/\\(\\)?/g,R0=kd(function(G){var J=[];return G.charCodeAt(0)===46&&J.push(""),G.replace(bb,function(oe,Se,et,ie){J.push(et?ie.replace(D0,"$1"):Se||oe)}),J}),F0=R0,N0=ei,Yv=Cr,Vl=dc,zA=Al,hs=1/0,Zl=N0?N0.prototype:void 0,nf=Zl?Zl.toString:void 0;function M0(G){if(typeof G=="string")return G;if(Vl(G))return Yv(G,M0)+"";if(zA(G))return nf?nf.call(G):"";var J=G+"";return J=="0"&&1/G==-hs?"-0":J}var T0=M0,Ps=T0;function Jv(G){return G==null?"":Ps(G)}var Jo=Jv,qv=dc,Cb=S0,L0=F0,O0=Jo;function Wv(G,J){return qv(G)?G:Cb(G,J)?[G]:L0(O0(G))}var xd=Wv;function Eb(G){var J=G==null?0:G.length;return J?G[J-1]:void 0}var VA=Eb,Lu=Al,Kv=1/0;function P0(G){if(typeof G=="string"||Lu(G))return G;var J=G+"";return J=="0"&&1/G==-Kv?"-0":J}var fl=P0,zv=xd,Si=fl;function af(G,J){J=zv(J,G);for(var oe=0,Se=J.length;G!=null&&oe<Se;)G=G[Si(J[oe++])];return oe&&oe==Se?G:void 0}var Xl=af;function ZA(G,J,oe){var Se=-1,et=G.length;J<0&&(J=-J>et?0:et+J),oe=oe>et?et:oe,oe<0&&(oe+=et),et=J>oe?0:oe-J>>>0,J>>>=0;for(var ie=Array(et);++Se<et;)ie[Se]=G[Se+J];return ie}var ta=ZA,wb=Xl,Vv=ta;function Zv(G,J){return J.length<2?G:wb(G,Vv(J,0,-1))}var vc=Zv,Bb=xd,Xv=VA,G0=vc,$v=fl;function $l(G,J){return J=Bb(J,G),G=G0(G,J),G==null||delete G[$v(Xv(J))]}var em=$l,tm=Ac,rm=ld,Qb=Ts,nm="[object Object]",U0=Function.prototype,j0=Object.prototype,im=U0.toString,H0=j0.hasOwnProperty,am=im.call(Object);function om(G){if(!Qb(G)||tm(G)!=nm)return!1;var J=rm(G);if(J===null)return!0;var oe=H0.call(J,"constructor")&&J.constructor;return typeof oe=="function"&&oe instanceof oe&&im.call(oe)==am}var sm=om,cm=sm;function kb(G){return cm(G)?void 0:G}var um=kb,Y0=ei,Sd=Jg,lm=dc,J0=Y0?Y0.isConcatSpreadable:void 0;function Am(G){return lm(G)||Sd(G)||!!(J0&&G&&G[J0])}var xb=Am,hm=HA,fm=xb;function q0(G,J,oe,Se,et){var ie=-1,xe=G.length;for(oe||(oe=fm),et||(et=[]);++ie<xe;){var tt=G[ie];J>0&&oe(tt)?J>1?q0(tt,J-1,oe,Se,et):hm(et,tt):Se||(et[et.length]=tt)}return et}var Ou=q0,go=Ou;function ws(G){var J=G==null?0:G.length;return J?go(G,1):[]}var wo=ws;function mc(G,J,oe){switch(oe.length){case 0:return G.call(J);case 1:return G.call(J,oe[0]);case 2:return G.call(J,oe[0],oe[1]);case 3:return G.call(J,oe[0],oe[1],oe[2])}return G.apply(J,oe)}var XA=mc,dm=XA,$A=Math.max;function Sb(G,J,oe){return J=$A(J===void 0?G.length-1:J,0),function(){for(var Se=arguments,et=-1,ie=$A(Se.length-J,0),xe=Array(ie);++et<ie;)xe[et]=Se[J+et];et=-1;for(var tt=Array(J+1);++et<J;)tt[et]=Se[et];return tt[J]=oe(xe),dm(G,this,tt)}}var gm=Sb;function eA(G){return function(){return G}}var of=eA;function tA(G){return G}var eh=tA,_b=of,sf=st,pm=eh,Db=sf?function(G,J){return sf(G,"toString",{configurable:!0,enumerable:!1,value:_b(J),writable:!0})}:pm,vm=Db,mm=800,su=16,rA=Date.now;function Rb(G){var J=0,oe=0;return function(){var Se=rA(),et=su-(Se-oe);if(oe=Se,et>0){if(++J>=mm)return arguments[0]}else J=0;return G.apply(void 0,arguments)}}var W0=Rb,_d=vm,ym=W0,Im=ym(_d),K0=Im,bm=wo,fs=gm,Fb=K0;function Dd(G){return Fb(fs(G,void 0,bm),G+"")}var Rd=Dd,Nb=Cr,Cm=_i,Mb=em,Tb=xd,Em=Dc,wm=um,Bm=Rd,Qm=Gl,km=1,Lb=2,xm=4,Sm=Bm(function(G,J){var oe={};if(G==null)return oe;var Se=!1;J=Nb(J,function(ie){return ie=Tb(ie,G),Se||(Se=ie.length>1),ie}),Em(G,Qm(G),oe),Se&&(oe=Cm(oe,km|Lb|xm,wm));for(var et=J.length;et--;)Mb(oe,J[et]);return oe}),_m=Sm;const Ob=Nr(_m);var Pb=/\s/;function Gb(G){for(var J=G.length;J--&&Pb.test(G.charAt(J)););return J}var Dm=Gb,Ub=Dm,jb=/^\s+/;function Hb(G){return G&&G.slice(0,Ub(G)+1).replace(jb,"")}var Yb=Hb,z0=Yb,V0=qa,Rm=Al,Z0=0/0,th=/^[-+]0x[0-9a-f]+$/i,nA=/^0b[01]+$/i,Jb=/^0o[0-7]+$/i,qb=parseInt;function Wb(G){if(typeof G=="number")return G;if(Rm(G))return Z0;if(V0(G)){var J=typeof G.valueOf=="function"?G.valueOf():G;G=V0(J)?J+"":J}if(typeof G!="string")return G===0?G:+G;G=z0(G);var oe=nA.test(G);return oe||Jb.test(G)?qb(G.slice(2),oe?2:8):th.test(G)?Z0:+G}var X0=Wb,Kb=X0,Fd=1/0,zb=17976931348623157e292;function Vb(G){if(!G)return G===0?G:0;if(G=Kb(G),G===Fd||G===-Fd){var J=G<0?-1:1;return J*zb}return G===G?G:0}var Zb=Vb,Xb=Zb;function Fm(G){var J=Xb(G),oe=J%1;return J===J?oe?J-oe:J:0}var cf=Fm,$b=cf,Nm="Expected a function";function Pu(G,J){if(typeof J!="function")throw new TypeError(Nm);return G=$b(G),function(){if(--G<1)return J.apply(this,arguments)}}var eC=Pu,Mm=z1,Tm=Mm&&new Mm,$0=Tm,tC=eh,Lm=$0,rC=Lm?function(G,J){return Lm.set(G,J),G}:tC,Nd=rC,Om=Mi,nC=qa;function iC(G){return function(){var J=arguments;switch(J.length){case 0:return new G;case 1:return new G(J[0]);case 2:return new G(J[0],J[1]);case 3:return new G(J[0],J[1],J[2]);case 4:return new G(J[0],J[1],J[2],J[3]);case 5:return new G(J[0],J[1],J[2],J[3],J[4]);case 6:return new G(J[0],J[1],J[2],J[3],J[4],J[5]);case 7:return new G(J[0],J[1],J[2],J[3],J[4],J[5],J[6])}var oe=Om(G.prototype),Se=G.apply(oe,J);return nC(Se)?Se:oe}}var uf=iC,lf=uf,Md=br,Pm=1;function aC(G,J,oe){var Se=J&Pm,et=lf(G);function ie(){var xe=this&&this!==Md&&this instanceof ie?et:G;return xe.apply(Se?oe:this,arguments)}return ie}var oC=aC,ds=Math.max;function Af(G,J,oe,Se){for(var et=-1,ie=G.length,xe=oe.length,tt=-1,Bt=J.length,Gt=ds(ie-xe,0),Xt=Array(Bt+Gt),Yr=!Se;++tt<Bt;)Xt[tt]=J[tt];for(;++et<xe;)(Yr||et<ie)&&(Xt[oe[et]]=G[et]);for(;Gt--;)Xt[tt++]=G[et++];return Xt}var rh=Af,Td=Math.max;function ep(G,J,oe,Se){for(var et=-1,ie=G.length,xe=-1,tt=oe.length,Bt=-1,Gt=J.length,Xt=Td(ie-tt,0),Yr=Array(Xt+Gt),qr=!Se;++et<Xt;)Yr[et]=G[et];for(var Bn=et;++Bt<Gt;)Yr[Bn+Bt]=J[Bt];for(;++xe<tt;)(qr||et<ie)&&(Yr[Bn+oe[xe]]=G[et++]);return Yr}var Ld=ep;function dl(G,J){for(var oe=G.length,Se=0;oe--;)G[oe]===J&&++Se;return Se}var Gm=dl;function hf(){}var gl=hf,sC=Mi,Od=gl,Pd=4294967295;function Gd(G){this.__wrapped__=G,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Pd,this.__views__=[]}Gd.prototype=sC(Od.prototype),Gd.prototype.constructor=Gd;var Ud=Gd;function cC(){}var uC=cC,jd=$0,lC=uC,AC=jd?function(G){return jd.get(G)}:lC,tp=AC,Um={},ff=Um,jm=ff,hC=Object.prototype,fC=hC.hasOwnProperty;function dC(G){for(var J=G.name+"",oe=jm[J],Se=fC.call(jm,J)?oe.length:0;Se--;){var et=oe[Se],ie=et.func;if(ie==null||ie==G)return et.name}return J}var gC=dC,pC=Mi,vC=gl;function Hd(G,J){this.__wrapped__=G,this.__actions__=[],this.__chain__=!!J,this.__index__=0,this.__values__=void 0}Hd.prototype=pC(vC.prototype),Hd.prototype.constructor=Hd;var Hm=Hd,mC=Ud,yC=Hm,IC=od;function bC(G){if(G instanceof mC)return G.clone();var J=new yC(G.__wrapped__,G.__chain__);return J.__actions__=IC(G.__actions__),J.__index__=G.__index__,J.__values__=G.__values__,J}var Ym=bC,rp=Ud,Jm=Hm,CC=gl,EC=dc,qm=Ts,nh=Ym,Wm=Object.prototype,Km=Wm.hasOwnProperty;function df(G){if(qm(G)&&!EC(G)&&!(G instanceof rp)){if(G instanceof Jm)return G;if(Km.call(G,"__wrapped__"))return nh(G)}return new Jm(G)}df.prototype=CC.prototype,df.prototype.constructor=df;var wC=df,BC=Ud,QC=tp,kC=gC,zm=wC;function ih(G){var J=kC(G),oe=zm[J];if(typeof oe!="function"||!(J in BC.prototype))return!1;if(G===oe)return!0;var Se=QC(oe);return!!Se&&G===Se[0]}var np=ih,ip=Nd,Vm=W0,xC=Vm(ip),ap=xC,Bo=/\{\n\/\* \[wrapped with (.+)\] \*/,pl=/,? & /;function Zm(G){var J=G.match(Bo);return J?J[1].split(pl):[]}var Xm=Zm,$m=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function SC(G,J){var oe=J.length;if(!oe)return G;var Se=oe-1;return J[Se]=(oe>1?"& ":"")+J[Se],J=J.join(oe>2?", ":" "),G.replace($m,`{
  263. /* [wrapped with `+J+`] */
  264. `)}var ey=SC;function ty(G,J,oe,Se){for(var et=G.length,ie=oe+(Se?1:-1);Se?ie--:++ie<et;)if(J(G[ie],ie,G))return ie;return-1}var _C=ty;function DC(G){return G!==G}var RC=DC;function gf(G,J,oe){for(var Se=oe-1,et=G.length;++Se<et;)if(G[Se]===J)return Se;return-1}var op=gf,ry=_C,FC=RC,ny=op;function NC(G,J,oe){return J===J?ny(G,J,oe):ry(G,FC,oe)}var MC=NC,TC=MC;function pf(G,J){var oe=G==null?0:G.length;return!!oe&&TC(G,J,0)>-1}var vf=pf,LC=ve,OC=vf,iy=1,ay=2,gs=8,PC=16,GC=32,sp=64,UC=128,Yd=256,jC=512,Jd=[["ary",UC],["bind",iy],["bindKey",ay],["curry",gs],["curryRight",PC],["flip",jC],["partial",GC],["partialRight",sp],["rearg",Yd]];function HC(G,J){return LC(Jd,function(oe){var Se="_."+oe[0];J&oe[1]&&!OC(G,Se)&&G.push(Se)}),G.sort()}var YC=HC,JC=Xm,oy=ey,qC=K0,sy=YC;function cp(G,J,oe){var Se=J+"";return qC(G,oy(Se,sy(JC(Se),oe)))}var ah=cp,oh=np,mf=ap,up=ah,qd=1,iA=2,vl=4,cy=8,uy=32,ly=64;function WC(G,J,oe,Se,et,ie,xe,tt,Bt,Gt){var Xt=J&cy,Yr=Xt?xe:void 0,qr=Xt?void 0:xe,Bn=Xt?ie:void 0,Zn=Xt?void 0:ie;J|=Xt?uy:ly,J&=~(Xt?ly:uy),J&vl||(J&=~(qd|iA));var Yn=[G,J,et,Bn,Yr,Zn,qr,tt,Bt,Gt],Xn=oe.apply(void 0,Yn);return oh(G)&&mf(Xn,Yn),Xn.placeholder=Se,up(Xn,G,J)}var Ay=WC;function KC(G){var J=G;return J.placeholder}var sh=KC,zC=od,VC=Wg,hy=Math.min;function ZC(G,J){for(var oe=G.length,Se=hy(J.length,oe),et=zC(G);Se--;){var ie=J[Se];G[Se]=VC(ie,oe)?et[ie]:void 0}return G}var XC=ZC,fy="__lodash_placeholder__";function lp(G,J){for(var oe=-1,Se=G.length,et=0,ie=[];++oe<Se;){var xe=G[oe];(xe===J||xe===fy)&&(G[oe]=fy,ie[et++]=oe)}return ie}var aA=lp,$C=rh,eE=Ld,tE=Gm,dy=uf,gy=Ay,rE=sh,nE=XC,iE=aA,py=br,aE=1,oE=2,vy=8,sE=16,cE=128,uE=512;function my(G,J,oe,Se,et,ie,xe,tt,Bt,Gt){var Xt=J&cE,Yr=J&aE,qr=J&oE,Bn=J&(vy|sE),Zn=J&uE,Yn=qr?void 0:dy(G);function Xn(){for(var ni=arguments.length,Cn=Array(ni),ja=ni;ja--;)Cn[ja]=arguments[ja];if(Bn)var Za=rE(Xn),Ha=tE(Cn,Za);if(Se&&(Cn=$C(Cn,Se,et,Bn)),ie&&(Cn=eE(Cn,ie,xe,Bn)),ni-=Ha,Bn&&ni<Gt){var Xi=iE(Cn,Za);return gy(G,J,my,Xn.placeholder,oe,Cn,Xi,tt,Bt,Gt-ni)}var Ko=Yr?oe:this,js=qr?Ko[G]:G;return ni=Cn.length,tt?Cn=nE(Cn,tt):Zn&&ni>1&&Cn.reverse(),Xt&&Bt<ni&&(Cn.length=Bt),this&&this!==py&&this instanceof Xn&&(js=Yn||dy(js)),js.apply(Ko,Cn)}return Xn}var yy=my,lE=XA,AE=uf,hE=yy,fE=Ay,Ap=sh,dE=aA,gE=br;function pE(G,J,oe){var Se=AE(G);function et(){for(var ie=arguments.length,xe=Array(ie),tt=ie,Bt=Ap(et);tt--;)xe[tt]=arguments[tt];var Gt=ie<3&&xe[0]!==Bt&&xe[ie-1]!==Bt?[]:dE(xe,Bt);if(ie-=Gt.length,ie<oe)return fE(G,J,hE,et.placeholder,void 0,xe,Gt,void 0,void 0,oe-ie);var Xt=this&&this!==gE&&this instanceof et?Se:G;return lE(Xt,this,xe)}return et}var Iy=pE,by=XA,Cy=uf,vE=br,Ey=1;function mE(G,J,oe,Se){var et=J&Ey,ie=Cy(G);function xe(){for(var tt=-1,Bt=arguments.length,Gt=-1,Xt=Se.length,Yr=Array(Xt+Bt),qr=this&&this!==vE&&this instanceof xe?ie:G;++Gt<Xt;)Yr[Gt]=Se[Gt];for(;Bt--;)Yr[Gt++]=arguments[++tt];return by(qr,et?oe:this,Yr)}return xe}var yE=mE,wy=rh,IE=Ld,By=aA,Qy="__lodash_placeholder__",hp=1,bE=2,CE=4,ky=8,yf=128,xy=256,EE=Math.min;function wE(G,J){var oe=G[1],Se=J[1],et=oe|Se,ie=et<(hp|bE|yf),xe=Se==yf&&oe==ky||Se==yf&&oe==xy&&G[7].length<=J[8]||Se==(yf|xy)&&J[7].length<=J[8]&&oe==ky;if(!(ie||xe))return G;Se&hp&&(G[2]=J[2],et|=oe&hp?0:CE);var tt=J[3];if(tt){var Bt=G[3];G[3]=Bt?wy(Bt,tt,J[4]):tt,G[4]=Bt?By(G[3],Qy):J[4]}return tt=J[5],tt&&(Bt=G[5],G[5]=Bt?IE(Bt,tt,J[6]):tt,G[6]=Bt?By(G[5],Qy):J[6]),tt=J[7],tt&&(G[7]=tt),Se&yf&&(G[8]=G[8]==null?J[8]:EE(G[8],J[8])),G[9]==null&&(G[9]=J[9]),G[0]=J[0],G[1]=et,G}var BE=wE,QE=Nd,kE=oC,If=Iy,Sy=yy,_y=yE,Gc=tp,xE=BE,SE=ap,_E=ah,Dy=cf,DE="Expected a function",Ry=1,fp=2,bf=8,dp=16,Wd=32,Fy=64,Ny=Math.max;function RE(G,J,oe,Se,et,ie,xe,tt){var Bt=J&fp;if(!Bt&&typeof G!="function")throw new TypeError(DE);var Gt=Se?Se.length:0;if(Gt||(J&=~(Wd|Fy),Se=et=void 0),xe=xe===void 0?xe:Ny(Dy(xe),0),tt=tt===void 0?tt:Dy(tt),Gt-=et?et.length:0,J&Fy){var Xt=Se,Yr=et;Se=et=void 0}var qr=Bt?void 0:Gc(G),Bn=[G,J,oe,Se,et,Xt,Yr,ie,xe,tt];if(qr&&xE(Bn,qr),G=Bn[0],J=Bn[1],oe=Bn[2],Se=Bn[3],et=Bn[4],tt=Bn[9]=Bn[9]===void 0?Bt?0:G.length:Ny(Bn[9]-Gt,0),!tt&&J&(bf|dp)&&(J&=~(bf|dp)),!J||J==Ry)var Zn=kE(G,J,oe);else J==bf||J==dp?Zn=If(G,J,tt):(J==Wd||J==(Ry|Wd))&&!et.length?Zn=_y(G,J,oe,Se):Zn=Sy.apply(void 0,Bn);var Yn=qr?QE:SE;return _E(Yn(Zn,Bn),G,J)}var Gu=RE,FE=Gu,NE=128;function ME(G,J,oe){return J=oe?void 0:J,J=G&&J==null?G.length:J,FE(G,NE,void 0,void 0,void 0,void 0,J)}var Uc=ME,Kd=cf,TE="Expected a function";function Cf(G,J){var oe;if(typeof J!="function")throw new TypeError(TE);return G=Kd(G),function(){return--G>0&&(oe=J.apply(this,arguments)),G<=1&&(J=void 0),oe}}var gp=Cf,LE=eh,Ef=gm,pp=K0;function en(G,J){return pp(Ef(G,J,LE),G+"")}var Gs=en,OE=Gs,PE=Gu,GE=sh,UE=aA,jE=1,HE=32,vp=OE(function(G,J,oe){var Se=jE;if(oe.length){var et=UE(oe,GE(vp));Se|=HE}return PE(G,Se,J,oe,et)});vp.placeholder={};var My=vp,Ty=Gs,YE=Gu,JE=sh,qE=aA,WE=1,Ly=2,Oy=32,zd=Ty(function(G,J,oe){var Se=WE|Ly;if(oe.length){var et=qE(oe,JE(zd));Se|=Oy}return YE(J,Se,G,oe,et)});zd.placeholder={};var KE=zd,Py=Gu,Gy=8;function Uu(G,J,oe){J=oe?void 0:J;var Se=Py(G,Gy,void 0,void 0,void 0,void 0,void 0,J);return Se.placeholder=Uu.placeholder,Se}Uu.placeholder={};var mp=Uu,zE=Gu,ml=16;function Vd(G,J,oe){J=oe?void 0:J;var Se=zE(G,ml,void 0,void 0,void 0,void 0,void 0,J);return Se.placeholder=Vd.placeholder,Se}Vd.placeholder={};var wf=Vd,la=br,io=function(){return la.Date.now()},Wi=io,es=qa,Bf=Wi,ac=X0,ch="Expected a function",VE=Math.max,yc=Math.min;function uh(G,J,oe){var Se,et,ie,xe,tt,Bt,Gt=0,Xt=!1,Yr=!1,qr=!0;if(typeof G!="function")throw new TypeError(ch);J=ac(J)||0,es(oe)&&(Xt=!!oe.leading,Yr="maxWait"in oe,ie=Yr?VE(ac(oe.maxWait)||0,J):ie,qr="trailing"in oe?!!oe.trailing:qr);function Bn(Xi){var Ko=Se,js=et;return Se=et=void 0,Gt=Xi,xe=G.apply(js,Ko),xe}function Zn(Xi){return Gt=Xi,tt=setTimeout(ni,J),Xt?Bn(Xi):xe}function Yn(Xi){var Ko=Xi-Bt,js=Xi-Gt,Hu=J-Ko;return Yr?yc(Hu,ie-js):Hu}function Xn(Xi){var Ko=Xi-Bt,js=Xi-Gt;return Bt===void 0||Ko>=J||Ko<0||Yr&&js>=ie}function ni(){var Xi=Bf();if(Xn(Xi))return Cn(Xi);tt=setTimeout(ni,Yn(Xi))}function Cn(Xi){return tt=void 0,qr&&Se?Bn(Xi):(Se=et=void 0,xe)}function ja(){tt!==void 0&&clearTimeout(tt),Gt=0,Se=Bt=et=tt=void 0}function Za(){return tt===void 0?xe:Cn(Bf())}function Ha(){var Xi=Bf(),Ko=Xn(Xi);if(Se=arguments,et=this,Bt=Xi,Ko){if(tt===void 0)return Zn(Bt);if(Yr)return clearTimeout(tt),tt=setTimeout(ni,J),Bn(Bt)}return tt===void 0&&(tt=setTimeout(ni,J)),xe}return Ha.cancel=ja,Ha.flush=Za,Ha}var Uy=uh,yp="Expected a function";function Ip(G,J,oe){if(typeof G!="function")throw new TypeError(yp);return setTimeout(function(){G.apply(void 0,oe)},J)}var jy=Ip,ps=jy,Hy=Gs,ZE=Hy(function(G,J){return ps(G,1,J)}),XE=ZE,$E=jy,bp=Gs,ew=X0,Yy=bp(function(G,J,oe){return $E(G,ew(J)||0,oe)}),Cp=Yy,Ep=Gu,tw=512;function Ic(G){return Ep(G,tw)}var rw=Ic,nw="Expected a function";function iw(G){if(typeof G!="function")throw new TypeError(nw);return function(){var J=arguments;switch(J.length){case 0:return!G.call(this);case 1:return!G.call(this,J[0]);case 2:return!G.call(this,J[0],J[1]);case 3:return!G.call(this,J[0],J[1],J[2])}return!G.apply(this,J)}}var wp=iw,Jy=gp;function Bp(G){return Jy(2,G)}var Qp=Bp,qy="__lodash_hash_undefined__";function aw(G){return this.__data__.set(G,qy),this}var cu=aw;function Zd(G){return this.__data__.has(G)}var Wy=Zd,ow=pi,Ky=cu,zy=Wy;function Xd(G){var J=-1,oe=G==null?0:G.length;for(this.__data__=new ow;++J<oe;)this.add(G[J])}Xd.prototype.add=Xd.prototype.push=Ky,Xd.prototype.has=zy;var Vy=Xd;function Zy(G,J){for(var oe=-1,Se=G==null?0:G.length;++oe<Se;)if(J(G[oe],oe,G))return!0;return!1}var Xy=Zy;function kp(G,J){return G.has(J)}var xp=kp,sw=Vy,$y=Xy,Sp=xp,_p=1,cw=2;function uw(G,J,oe,Se,et,ie){var xe=oe&_p,tt=G.length,Bt=J.length;if(tt!=Bt&&!(xe&&Bt>tt))return!1;var Gt=ie.get(G),Xt=ie.get(J);if(Gt&&Xt)return Gt==J&&Xt==G;var Yr=-1,qr=!0,Bn=oe&cw?new sw:void 0;for(ie.set(G,J),ie.set(J,G);++Yr<tt;){var Zn=G[Yr],Yn=J[Yr];if(Se)var Xn=xe?Se(Yn,Zn,Yr,J,G,ie):Se(Zn,Yn,Yr,G,J,ie);if(Xn!==void 0){if(Xn)continue;qr=!1;break}if(Bn){if(!$y(J,function(ni,Cn){if(!Sp(Bn,Cn)&&(Zn===ni||et(Zn,ni,oe,Se,ie)))return Bn.push(Cn)})){qr=!1;break}}else if(!(Zn===Yn||et(Zn,Yn,oe,Se,ie))){qr=!1;break}}return ie.delete(G),ie.delete(J),qr}var Qf=uw;function $d(G){var J=-1,oe=Array(G.size);return G.forEach(function(Se,et){oe[++J]=[et,Se]}),oe}var eg=$d;function tg(G){var J=-1,oe=Array(G.size);return G.forEach(function(Se){oe[++J]=Se}),oe}var Dp=tg,rg=ei,jc=Pn,eI=Ea,lw=Qf,tI=eg,Aw=Dp,hw=1,rI=2,Rp="[object Boolean]",nI="[object Date]",fw="[object Error]",dw="[object Map]",gw="[object Number]",ng="[object RegExp]",e="[object Set]",r="[object String]",t="[object Symbol]",n="[object ArrayBuffer]",a="[object DataView]",s=rg?rg.prototype:void 0,o=s?s.valueOf:void 0;function i(G,J,oe,Se,et,ie,xe){switch(oe){case a:if(G.byteLength!=J.byteLength||G.byteOffset!=J.byteOffset)return!1;G=G.buffer,J=J.buffer;case n:return!(G.byteLength!=J.byteLength||!ie(new jc(G),new jc(J)));case Rp:case nI:case gw:return eI(+G,+J);case fw:return G.name==J.name&&G.message==J.message;case ng:case r:return G==J+"";case dw:var tt=tI;case e:var Bt=Se&hw;if(tt||(tt=Aw),G.size!=J.size&&!Bt)return!1;var Gt=xe.get(G);if(Gt)return Gt==J;Se|=rI,xe.set(G,J);var Xt=lw(tt(G),tt(J),Se,et,ie,xe);return xe.delete(G),Xt;case t:if(o)return o.call(G)==o.call(J)}return!1}var c=i,u=Pl,l=1,A=Object.prototype,h=A.hasOwnProperty;function f(G,J,oe,Se,et,ie){var xe=oe&l,tt=u(G),Bt=tt.length,Gt=u(J),Xt=Gt.length;if(Bt!=Xt&&!xe)return!1;for(var Yr=Bt;Yr--;){var qr=tt[Yr];if(!(xe?qr in J:h.call(J,qr)))return!1}var Bn=ie.get(G),Zn=ie.get(J);if(Bn&&Zn)return Bn==J&&Zn==G;var Yn=!0;ie.set(G,J),ie.set(J,G);for(var Xn=xe;++Yr<Bt;){qr=tt[Yr];var ni=G[qr],Cn=J[qr];if(Se)var ja=xe?Se(Cn,ni,qr,J,G,ie):Se(ni,Cn,qr,G,J,ie);if(!(ja===void 0?ni===Cn||et(ni,Cn,oe,Se,ie):ja)){Yn=!1;break}Xn||(Xn=qr=="constructor")}if(Yn&&!Xn){var Za=G.constructor,Ha=J.constructor;Za!=Ha&&"constructor"in G&&"constructor"in J&&!(typeof Za=="function"&&Za instanceof Za&&typeof Ha=="function"&&Ha instanceof Ha)&&(Yn=!1)}return ie.delete(G),ie.delete(J),Yn}var d=f,g=Ns,p=Qf,m=c,v=d,y=Cs,I=dc,E=il,k=m1,R=1,T="[object Arguments]",j="[object Array]",W="[object Object]",H=Object.prototype,X=H.hasOwnProperty;function x(G,J,oe,Se,et,ie){var xe=I(G),tt=I(J),Bt=xe?j:y(G),Gt=tt?j:y(J);Bt=Bt==T?W:Bt,Gt=Gt==T?W:Gt;var Xt=Bt==W,Yr=Gt==W,qr=Bt==Gt;if(qr&&E(G)){if(!E(J))return!1;xe=!0,Xt=!1}if(qr&&!Xt)return ie||(ie=new g),xe||k(G)?p(G,J,oe,Se,et,ie):m(G,J,Bt,oe,Se,et,ie);if(!(oe&R)){var Bn=Xt&&X.call(G,"__wrapped__"),Zn=Yr&&X.call(J,"__wrapped__");if(Bn||Zn){var Yn=Bn?G.value():G,Xn=Zn?J.value():J;return ie||(ie=new g),et(Yn,Xn,oe,Se,ie)}}return qr?(ie||(ie=new g),v(G,J,oe,Se,et,ie)):!1}var N=x,C=N,w=Ts;function Q(G,J,oe,Se,et){return G===J?!0:G==null||J==null||!w(G)&&!w(J)?G!==G&&J!==J:C(G,J,oe,Se,Q,et)}var B=Q,S=Ns,O=B,F=1,Y=2;function M(G,J,oe,Se){var et=oe.length,ie=et,xe=!Se;if(G==null)return!ie;for(G=Object(G);et--;){var tt=oe[et];if(xe&&tt[2]?tt[1]!==G[tt[0]]:!(tt[0]in G))return!1}for(;++et<ie;){tt=oe[et];var Bt=tt[0],Gt=G[Bt],Xt=tt[1];if(xe&&tt[2]){if(Gt===void 0&&!(Bt in G))return!1}else{var Yr=new S;if(Se)var qr=Se(Gt,Xt,Bt,G,J,Yr);if(!(qr===void 0?O(Xt,Gt,F|Y,Se,Yr):qr))return!1}}return!0}var z=M,ue=qa;function ae(G){return G===G&&!ue(G)}var Ne=ae,Ge=Ne,Ye=id;function Ae(G){for(var J=Ye(G),oe=J.length;oe--;){var Se=J[oe],et=G[Se];J[oe]=[Se,et,Ge(et)]}return J}var te=Ae;function he(G,J){return function(oe){return oe==null?!1:oe[G]===J&&(J!==void 0||G in Object(oe))}}var de=he,Ke=z,le=te,Ce=de;function At(G){var J=le(G);return J.length==1&&J[0][2]?Ce(J[0][0],J[0][1]):function(oe){return oe===G||Ke(oe,G,J)}}var Z=At,ce=Xl;function ye(G,J,oe){var Se=G==null?void 0:ce(G,J);return Se===void 0?oe:Se}var Ve=ye;function dt(G,J){return G!=null&&J in Object(G)}var re=dt,ot=xd,pt=Jg,Be=dc,Ee=Wg,Me=$f,yt=fl;function pe(G,J,oe){J=ot(J,G);for(var Se=-1,et=J.length,ie=!1;++Se<et;){var xe=yt(J[Se]);if(!(ie=G!=null&&oe(G,xe)))break;G=G[xe]}return ie||++Se!=et?ie:(et=G==null?0:G.length,!!et&&Me(et)&&Ee(xe,et)&&(Be(G)||pt(G)))}var me=pe,Re=re,Ze=me;function ke(G,J){return G!=null&&Ze(G,J,Re)}var Pe=ke,_e=B,Je=Ve,at=Pe,Dt=S0,St=Ne,hr=de,Wt=fl,Ut=1,ur=2;function Br(G,J){return Dt(G)&&St(J)?hr(Wt(G),J):function(oe){var Se=Je(oe,G);return Se===void 0&&Se===J?at(oe,G):_e(J,Se,Ut|ur)}}var fr=Br;function Mr(G){return function(J){return J==null?void 0:J[G]}}var er=Mr,Tr=Xl;function fn(G){return function(J){return Tr(J,G)}}var _n=fn,dr=er,rn=_n,Kr=S0,tr=fl;function on(G){return Kr(G)?dr(tr(G)):rn(G)}var nn=on,An=Z,bn=fr,Gn=eh,Dr=dc,Nn=nn;function Mn(G){return typeof G=="function"?G:G==null?Gn:typeof G=="object"?Dr(G)?bn(G[0],G[1]):An(G):Nn(G)}var Hn=Mn,vi=Gs,qe=vi,bt=qe,Ft=XA,Lr=Cr,kn=Ou,Bi=Hn,ka=Gs,Va=Ol,qo=bt,Ro=dc,po=Math.min,Fo=qo(function(G,J){J=J.length==1&&Ro(J[0])?Lr(J[0],Va(Bi)):Lr(kn(J,1),Va(Bi));var oe=J.length;return ka(function(Se){for(var et=-1,ie=po(Se.length,oe);++et<ie;)Se[et]=J[et].call(this,Se[et]);return Ft(G,this,Se)})}),ri=Fo,$n=Gs,Bs=Gu,No=sh,Qs=aA,bc=32,oA=$n(function(G,J){var oe=Qs(J,No(oA));return Bs(G,bc,void 0,J,oe)});oA.placeholder={};var Na=oA,uu=Gs,Hc=Gu,lu=sh,yl=aA,Wo=64,Il=uu(function(G,J){var oe=yl(J,lu(Il));return Hc(G,Wo,void 0,J,oe)});Il.placeholder={};var lh=Il,bl=Gu,Ah=Rd,sA=256,hh=Ah(function(G,J){return bl(G,sA,void 0,void 0,void 0,J)}),ts=hh,fh=Gs,Mo=cf,Au="Expected a function";function dh(G,J){if(typeof G!="function")throw new TypeError(Au);return J=J===void 0?J:Mo(J),fh(G,J)}var Cc=dh,ks=ta;function Cl(G,J,oe){var Se=G.length;return oe=oe===void 0?Se:oe,!J&&oe>=Se?G:ks(G,J,oe)}var Ia=Cl,Ec=XA,cA=HA,gh=Gs,oc=Ia,ph=cf,ju="Expected a function",Yc=Math.max;function xs(G,J){if(typeof G!="function")throw new TypeError(ju);return J=J==null?0:Yc(ph(J),0),gh(function(oe){var Se=oe[J],et=oc(oe,0,J);return Se&&cA(et,Se),Ec(G,this,et)})}var Us=xs,vh=Uy,El=qa,Jc="Expected a function";function wl(G,J,oe){var Se=!0,et=!0;if(typeof G!="function")throw new TypeError(Jc);return El(oe)&&(Se="leading"in oe?!!oe.leading:Se,et="trailing"in oe?!!oe.trailing:et),vh(G,J,{leading:Se,maxWait:J,trailing:et})}var hu=wl,Bl=Uc;function Ql(G){return Bl(G,1)}var uA=Ql,rs=eh;function $e(G){return typeof G=="function"?G:rs}var wt=$e,mr=wt,pn=Na;function ra(G,J){return pn(mr(J),G)}var ui=ra,Hi={after:eC,ary:Uc,before:gp,bind:My,bindKey:KE,curry:mp,curryRight:wf,debounce:Uy,defer:XE,delay:Cp,flip:rw,memoize:hl,negate:wp,once:Qp,overArgs:ri,partial:Na,partialRight:lh,rearg:ts,rest:Cc,spread:Us,throttle:hu,unary:uA,wrap:ui};const Aa=(G,J)=>{const oe=G.__vccOpts||G;for(const[Se,et]of J)oe[Se]=et;return oe},ao=`data:text/javascript;base64,${qt(Fe)}`,Zi=`data:text/javascript;base64,${qt(Tt)}`;let Yi=!1,Qo=!1;const Ua=K.defineComponent({name:"VueOfficePdf",props:{src:[String,ArrayBuffer,Blob],requestOptions:{type:Object,default:()=>({})},staticFileUrl:{type:String,default:"https://unpkg.com/pdfjs-dist@3.1.81/"},options:{type:Object,default:()=>({})}},emits:["rendered","error"],setup(G,{emit:J}){let oe=null,Se=null;const et=K.ref(null),ie=K.ref(null),xe=K.ref([]),tt=K.ref(0);let Bt=0,Gt=0,Xt=0,Yr=0,qr=6,Bn=0,Zn=0,Yn=null,Xn=2;K.onBeforeUnmount(()=>{oe!==null&&(oe.destroy(),oe=null,Se=null,Yn&&clearTimeout(Yn))});function ni(){return Le(ao).then(()=>{if(window.pdfjsLib&&!Qo)Qo=!0,window.pdfjsLib.GlobalWorkerOptions.workerSrc=Zi;else return Promise.reject("window.pdfjsLib未找到")})}function Cn(){return new Promise($i=>{const Ki=()=>{window.pdfjsLib?$i():Yn=setTimeout(Ki,10)};Ki()})}function ja(){return window.pdfjsLib?Promise.resolve():Yi?Cn():(Yi=!0,ni())}function Za(){ie.value.innerHTML=""}function Ha(){if(!G.src){Za(),J("error",new Error("src不能为空"));return}Se=window.pdfjsLib.getDocument(Jt({url:yr(G.src,{type:"application/pdf"}),withCredentials:G.requestOptions&&G.requestOptions.withCredentials,cMapUrl:`${G.staticFileUrl.endsWith("/")?G.staticFileUrl:G.staticFileUrl+"/"}cmaps/`,cMapPacked:!0,enableXfa:!0},Ob(G.options,["width"]))),Se.promise.then($i=>{oe&&oe.destroy(),oe=$i,Xi(oe).then(Ki=>{Bt=oe.numPages,Yr=et.value.getBoundingClientRect().height,Gt=Ki.width,Xt=Ki.height,Bn=Ki.canvasWidth,Zn=Ki.canvasHeight;let oo=G.options.gap||10;qr=Math.ceil(Yr/(Xt+oo))+4;let Qi=(Xt+oo)*Bt-oo;ie.value.style.height=Qi+"px",Za(),Hu(1,Math.min(Bt,qr))})}).catch($i=>{J("error",$i)})}function Xi($i){return $i.getPage(1).then(Ki=>{let oo=G.options.width||ie.value.getBoundingClientRect().width-20,Qi=Ki.getViewport({scale:1});Qi.width>oo*1.5?Xn=.5:Qi.width>oo?Xn=1:Xn=2,Qi=Ki.getViewport({scale:Xn});const ko=window.devicePixelRatio>2?1.5:2;let Xa=Math.floor(Qi.width*ko),zo=Math.floor(Qi.height*ko),fa=Math.floor(Qi.width),vo=Math.floor(Qi.height);if(G.options.width){let Fp=G.options.width/fa;fa=Math.floor(G.options.width),vo=Math.floor(vo*Fp)}let Wc=ie.value.getBoundingClientRect().width-20;if(fa>Wc){let Fp=Wc/fa;fa=Math.floor(Wc),vo=Math.floor(vo*Fp)}return{width:fa,height:vo,canvasWidth:Xa,canvasHeight:zo}}).catch(Ki=>{J("error",Ki)})}const Ko=Hi.debounce(function($i){const{scrollTop:Ki}=$i.target;let oo=parseInt(getComputedStyle(ie.value).paddingTop)||0;const Qi=G.options.gap||10,ko=Math.max(Math.floor(Math.max(Ki-oo,0)/(Xt+Qi))-1,1),Xa=Math.min(ko+qr-1,Bt);Hu(ko,Xa)},60);function js($i){let Ki=parseInt(getComputedStyle(ie.value).paddingTop)||0,oo=G.options.gap||10;const Qi=document.createElement("canvas");return Qi.style.position="absolute",Qi.style.top=($i-1)*(Xt+oo)+Ki+"px",Qi.style.left="50%",Qi.style.transform="translate(-50%)",Qi.style.backgroundColor="#fff",Qi.setAttribute("data-id",$i),Qi.width=Bn,Qi.height=Zn,Qi.style.width=`${Gt}px`,Qi.style.height=`${Xt}px`,Qi}function Hu($i,Ki){let oo=ie.value,Qi=[...oo.childNodes],ko=[];if(oo.childNodes.length===0)for(let Xa=$i;Xa<=Ki;Xa++){let zo=js(Xa);oo.appendChild(zo),ko.push(qc(Xa,zo))}else{let Xa=+Qi[0].getAttribute("data-id"),zo=+Qi[Qi.length-1].getAttribute("data-id");if(Ki<Xa||$i>zo)for(let fa=$i;fa<=Ki;fa++){let vo=js(fa);oo.appendChild(vo),ko.push(qc(fa,vo))}if($i<Xa&&Ki>=Xa){let fa=Qi[0];for(let vo=Xa-1;vo>=$i;vo--){let Wc=js(vo);oo.insertBefore(Wc,fa),fa=Wc,ko.push(qc(vo,Wc))}}for(let fa=0;fa<=zo-Xa;fa++){let vo=+Qi[fa].getAttribute("data-id");(vo<$i||vo>Ki)&&oo.removeChild(Qi[fa])}if(Ki>zo&&$i<=zo)for(let fa=zo+1;fa<=Ki;fa++){let vo=js(fa);oo.appendChild(vo),ko.push(qc(fa,vo))}}Promise.all(ko).then(Xa=>{J("rendered")}).catch(Xa=>{J("error",Xa)})}function qc($i,Ki){return oe.getPage($i).then(oo=>{const Qi=oo.getViewport({scale:Xn});let ko=window.devicePixelRatio>2?1.5:2;if(Bn*Qi.height!==Zn*Qi.width){let fa=Math.floor(Qi.width*ko),vo=Math.floor(Qi.height*ko),Wc=Zn/vo;ko=ko*Wc,Ki.width=fa*Wc,Ki.style.width=parseInt(Ki.style.width)*Wc+"px"}const Xa=Ki.getContext("2d"),zo=ko!==1?[ko,0,0,ko,0,0]:null;return oo.render({canvasContext:Xa,transform:zo,viewport:Qi}).promise})}function ig(){Hu(1,Math.min(Bt,qr))}K.onMounted(()=>{G.src&&ja().then(Ha).catch($i=>{console.warn($i)})}),K.watch(()=>G.src,()=>{ja().then(Ha).catch($i=>{console.warn($i)})});function iI($i){oe&&oe._transport&&oe._transport.getData().then(Ki=>{sr($i||`vue-office-pdf-${new Date().getTime()}.pdf`,Ki.buffer)})}return{containerRef:et,wrapperRef:ie,rootRef:xe,numPages:tt,save:iI,onScrollPdf:Ko,rerender:ig}}}),ha={ref:"wrapperRef",class:"vue-office-pdf-wrapper",style:{background:"gray",padding:"30px 0",position:"relative","box-sizing":"content-box"}};function ns(G,J,oe,Se,et,ie){return ee.openBlock(),ee.createElementBlock("div",{class:"vue-office-pdf",ref:"containerRef",style:{"text-align":"center","overflow-y":"auto",position:"relative"},onScroll:J[0]||(J[0]=(...xe)=>G.onScrollPdf&&G.onScrollPdf(...xe))},[ee.createElementVNode("div",ha,null,512),ee.renderSlot(G.$slots,"default")],544)}const vs=Aa(Ua,[["render",ns]]);return vs.install=function(G){G.component(vs.name,vs)},vs})})(e4);var c_=e4.exports;const u_=n1(c_);const l_={__name:"Pdf",props:{previewSrc:{type:String,required:!1,default:()=>""}},setup(D){const U={width:"100%",height:"100%"},K=()=>{console.log("rendered")},ee=ge=>{console.log("error",ge)};return(ge,Ue)=>(zr(),Ma(Ti(u_),{src:D.previewSrc,style:U,onRendered:K,onError:ee},null,8,["src"]))}},A_=zu(l_,[["__scopeId","data-v-592d4c54"]]);const h_=["textContent"],f_={__name:"txt",props:{previewSrc:{type:String,required:!1,default:()=>""}},setup(D){let U=Zt("");const K=D;i1(()=>K.previewSrc,()=>{ee()});const ee=()=>{U.value="",fetch(K.previewSrc,{responseType:"arraybuffer"}).then(ge=>ge.arrayBuffer()).then(ge=>{const Ue=new TextDecoder("gbk");U.value=Ue.decode(ge)})};return ee(),(ge,Ue)=>(zr(),Fn("div",null,[or("pre",{textContent:xa(Ti(U))},null,8,h_)]))}},d_=zu(f_,[["__scopeId","data-v-69c567f4"]]),g_={class:"container",id:"container"},p_={class:"center"},v_={class:"header___lEPyH"},m_={class:"chatHeader"},y_={class:"chatHeaderBox"},I_={style:{width:"100px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},b_={class:"chat-item"},C_={key:0},E_=["src"],w_={key:0},B_={key:1},Q_=["src"],k_={key:2},x_=["src"],S_={key:1},__=["onClick"],D_=["src"],R_={class:"icon-text"},F_=["onClick"],N_={class:"chat_bottom"},M_={class:"center-bottom"},T_={style:{width:"100%",display:"flex","justify-content":"space-between"},class:"uploadFileDis"},L_={key:0,class:"uploadFileList"},O_=["src"],P_={class:"center"},G_={class:"center",style:{padding:"0"}},U_={class:"center",style:{padding:"0"}},j_={class:"center"},H_={style:{width:"100%","text-align":"right"}},Y_=Of({__name:"index",setup(D){const U=Zt([{content:"你好! 我是你的助理,有什么可以帮到你的吗?",role:"assistant"}]),K=Zt({});Zt([]),Ta({add:!1}),Zt("");const ee=Zt(!1),ge=Zt(!1),Ue=Zt(!1),ht=Zt("1"),ut=Zt("未命名会话");let _t=Ta({}),Jt=Ta({name:"未命名会话"});const ar=Zt(0),Tt=Zt("");let Fe=null;const yr=Zt(""),Le=Zt(""),sr=Zt(""),Ir=Zt(2);Zt([]),Ta({});const hn=Ta({});Zt([]),Zt("");const Oe=Zt({});Zt([]);const Et=Zt([]);Zt(),Zt([]),Zt("");const qt=Zt(),nr=Ta({}),Nr=Zt(!1),zt=Zt(!1);let Cr=!1,Wr=Zt("docx"),un=Zt("");const Ea=X5().hrefUrl,Po={name:[{required:!0,message:"名称不允许为空"}]},Ds=async({values:Sr,errors:br})=>{if(br)return;let Ln={id:_t.id,dialog_id:_t.dialog_id,conversation_desc:Jt.name};const{code:Ai,data:ei}=await Qh(Ln);ei&&(ys.success("修改成功"),Dn(),ei!=null&&ei.id&&(sr.value=ei.id),Vs(sr.value))};let co=[];const kt=Sr=>!!/##[0-9]\$\$/.test(Sr),Qa=Sr=>Sr.split(`
  265. `),Ji=Sr=>Sr.replace(/\*\*|\#\#\#/g,""),La=Sr=>{let br=[],Ln=0,Ai=Sr.match(/##([0-9]+)\$\$/g);return Ai==null||Ai.map(ei=>{let Li=Sr.indexOf(ei);br.push({index:Li,item:ei,preIndex:Ln,len:Ai.length}),Ln=Li}),br},yo=(Sr,br,Ln,Ai)=>{if(kt(Ln)){if(br=="assistant"&&Ai){let ei=Ai/2-1>0?Ai/2-1:0;Sr.length==1&&(ei=0),Sr.length==ei&&(ei=Sr.length-1),co=Sr[ei].doc_aggs}}else co=[];return co},_a=(Sr,br)=>{let Ln="",Ai=br/2-1>0?br/2-1:0;Sr.length==1&&(Ai=0),Sr.length==Ai&&(Ai=Sr.length-1);let ei=0;return Sr[Ai].chunks.forEach(Li=>{Li.similarity>ei&&(ei=Li.similarity,Ln=Li.content_with_weight)}),Ln},ln=async Sr=>{Wr.value=Sr.doc_name.split(".").pop(),un.value=Ea+`/api/v1/document/get/${Sr.doc_id}?t=`+new Date().getTime(),zt.value=!0},gn=wA(()=>Sr=>{const br=Zt("");switch(br.value=Sr.split(".").pop(),br.value){case"pptx":case"ppt":case"pdf":return tQ;case"docx":case"doc":return rQ;case"xlsx":case"xls":return nQ;case"txt":return iQ;default:return aQ}}),cn=()=>{Nr.value=!0},Dn=()=>{Nr.value=!1},xn=Sr=>{},Wn=(Sr,br)=>{Et.value=[...Et.value,...Sr],sr.value=br};let Vi=Zt(!1);const uo=Sr=>{console.log(Et.value),Et.value.splice(Sr.index,1)},{toClipboard:tn}=DB(),xr=async Sr=>{await tn(Sr)};Zt(!1);const Ei=async(Sr,br="未命名会话")=>{var Ai,ei;console.log(br,"新建会话名称");const Ln=await Qh({dialog_id:Sr,conversation_desc:br});Ln.code==200?(sr.value=(Ai=Ln.data)==null?void 0:Ai.conversation_id,Vs((ei=Ln.data)==null?void 0:ei.conversation_id)):ys.error("创建会话失败,请重试")},Ni=Sr=>{Sr.preventDefault(),Le.value+=`
  266. `},ji=()=>{Tt.value="",Oa("click"),Et.value=[]},wa=()=>{let Sr=U.value[U.value.length-2].content;Go(Sr)},Oa=async Sr=>{var br,Ln;if((Sr.keyCode==13||Sr==="click")&&!Sr.shiftKey)if(Sr!=="click"&&Sr.preventDefault(),Le.value)if(sr.value)Go(Le.value),Le.value="";else{console.log(Le.value,"新建会话名称");const Ai=await Qh({dialog_id:"",conversation_desc:Le.value});if(Ai.code==200){sr.value=(br=Ai.data)==null?void 0:br.conversation_id;const{code:ei,data:Li}=await pg((Ln=Ai.data)==null?void 0:Ln.conversation_id);ei===200&&(console.log(Li,"新建会话详情"),Object.assign(_t,Li),Go(Le.value),Le.value="")}else ys.error("创建会话失败,请重试")}else ys.warning("消息不能为空")};let Ja=[],lo="";const Go=async Sr=>{var Ai;ee.value=!0,Ue.value=!0,Cr=!1,Tt.value="",ge.value=!0,U.value.push({content:Sr,role:"user"}),U.value.push({role:"last"}),$r();const br=await fetch("/api/tech/cloudminds/query?modeltype=localragflow",{method:"POST",headers:{Authorization:JI(),"Content-Type":"application/json"},body:JSON.stringify({conversation_id:sr.value,messages:Sr})}),Ln=(Ai=br==null?void 0:br.body)==null?void 0:Ai.pipeThrough(new TextDecoderStream).pipeThrough(new qI).getReader();for(ar.value=0;;){if(Cr){Ja.push(lo),zs(nr);break}const ei=await(Ln==null?void 0:Ln.read());if(ei){const{done:Li,value:lr}=ei;try{const Lt=JSON.parse((lr==null?void 0:lr.data)||""),ro=Lt==null?void 0:Lt.data;if(lo!=ro.message_id)lo=ro.message_id,Ja=[];else if(Ja.findIndex(Fs=>Fs===lo)>-1)break;typeof ro!="boolean"&&(yr.value=ro.content,ge.value=!1,da())}catch(Lt){console.warn(Lt)}if(Li){console.info("done"),Tt.value="",ge.value=!1,Vs(sr.value),ia.emit("queryAppUsageList");break}}}ee.value=!1,Ue.value=!1},Sc=async()=>{Ue.value=!1,ee.value=!1,Cr=!0,console.log("stopChat"),console.log(Tt.value,"displayedText"),console.log(U.value,"sessionDetailList");let br=[{content:U.value[U.value.length-2].content,role:"user"},{content:Tt.value,role:"assistant"}];U.value=U.value.splice(0,U.value.length-2).concat(br),console.log(U.value,"sessionDetailList2"),console.log(_t,"chatObj对象"),_t!=null&&_t.message&&(_t.message=_t.message.concat(br)),Object.assign(nr,{id:_t.id,conversation_id:_t.id,message:U.value})},zs=async Sr=>{const{code:br,data:Ln}=await Qh(Sr);Ln&&(clearTimeout(Fe),Fe=null,Vs(sr.value))},Vs=async Sr=>{sr.value=Sr;const{code:br,data:Ln}=await pg(Sr);br===200&&(console.log(Ln,"新建会话详情"),Object.assign(_t,Ln),U.value=Ln.message,K.value=Ln,ut.value=Ln.name,Jt.name=Ln.name,$r())},So=(Sr,br)=>{Ir.value=Ir.value+1,Et.value=[],ht.value=Sr,console.log(Sr,"val")},Rs=async Sr=>{Oe.value=Sr,sr.value=Sr.id,Jt.name=Sr.name;const{code:br,data:Ln}=await pg(Sr.id);br===200&&(Object.assign(_t,Ln),U.value=Ln.message,K.value=Ln,$r())},Or=Zt(null),$r=()=>{XI(()=>{const Sr=document.getElementById("home");Or.value.scrollTop(Sr.scrollHeight)})};t1(()=>{sr.value=""}),_h(()=>{document.getElementById("container").addEventListener("click",()=>{}),ia.on("newChat",()=>{Et.value=[],ht.value="1",_t={},Ir.value=Ir.value+1,sr.value="",U.value=[{content:"你好! 我是你的助理,有什么可以帮到你的吗?",role:"assistant"}],Jt.name="未命名会话"})}),bg(()=>{ia.off("newChat")});const jn=xB(),gi=wA(()=>jn.theme),da=()=>{Fe&&clearTimeout(Fe);const Sr=yr.value;ar.value<Sr.length?(Tt.value+=Sr[ar.value],ar.value++,setTimeout(da,100),$r()):(clearTimeout(Fe),Fe=null)};return(Sr,br)=>{const Ln=vn("a-col"),Ai=vn("icon-down"),ei=vn("a-button"),Li=vn("icon-edit"),lr=vn("a-popover"),Lt=vn("a-comment"),ro=vn("a-tooltip"),Is=vn("a-card"),Fs=vn("a-textarea"),Zc=vn("icon-copy"),Eu=vn("icon-refresh"),Xc=vn("a-spin"),$c=vn("icon-record-stop"),_c=vn("a-scrollbar"),wu=vn("icon-send"),Sn=vn("icon-sync"),Zs=vn("icon-close-circle-fill"),ga=vn("a-row"),Bu=vn("a-modal"),Zu=vn("a-input"),Ml=vn("a-form-item"),Ac=vn("a-form");return zr(),Fn("div",g_,[Qr(ga,{gutter:[5,5],style:{"margin-top":"3px"}},{default:Fr(()=>[Qr(Ln,{span:1},{default:Fr(()=>[Qr(B9,{onCreateSession:Ei,onQuerySessionDetail:Rs,onChangeAgentType:So})]),_:1}),wh(Qr(Ln,{span:23},{default:Fr(()=>[or("div",p_,[or("div",v_,[or("div",m_,[or("div",y_,[Qr(lr,{position:"bottom",trigger:"click"},{content:Fr(()=>[Qr(ei,{type:"text",class:"button",style:{color:"#2a2a2b"},onClick:br[0]||(br[0]=sa=>cn())},{icon:Fr(()=>[Qr(Li)]),default:Fr(()=>[br[8]||(br[8]=Ya(" 修改名称 "))]),_:1})]),default:Fr(()=>[Qr(ei,{border:""},{default:Fr(()=>[or("span",I_,xa(Ti(Jt).name),1),Qr(Ai,{style:{"margin-left":"4px"}})]),_:1})]),_:1})])])]),Qr(_c,{ref_key:"scrollbar",ref:Or,id:"home",class:"chat-list",style:mu([{width:"80%",overflow:"auto",margin:"0px auto 20px"},{height:Et.value.length>0?"calc(100vh - 480px)":"calc(100vh - 380px)"}])},{default:Fr(()=>[(zr(!0),Fn(_s,null,lc(U.value,(sa,qa)=>(zr(),Fn("div",b_,[sa.role==="user"?(zr(),Ma(Lt,{key:0},{avatar:Fr(()=>br[9]||(br[9]=[or("img",{class:"icon-user-jpg",src:SB,alt:"本地图片"},null,-1)])),content:Fr(()=>[or("div",{class:qs({chartUserText:gi.value==="light"})},xa(sa.content),3)]),_:2},1024)):sa.role==="assistant"?(zr(),Ma(Lt,{key:1},{avatar:Fr(()=>br[10]||(br[10]=[or("img",{class:"icon-user-jpg",src:Vp,alt:"本地图片"},null,-1)])),content:Fr(()=>[kt(sa.content)?(zr(),Ma(Is,{key:0,style:{padding:"10px"}},{default:Fr(()=>[(zr(!0),Fn(_s,null,lc(Qa(sa.content),(Ao,xA)=>(zr(),Fn("div",{class:qs({chatItemAnswer:gi.value==="light"}),style:mu([{backgroundColor:gi.value==="light"?"#ffffff":"#000000"},{border:"none"}])},[kt(Ao)?(zr(),Fn("div",{key:0,class:qs({chatItemAnswer:gi.value==="light"}),style:mu([{backgroundColor:gi.value==="light"?"#ffffff":"#000000"},{border:"none"}])},[(zr(!0),Fn(_s,null,lc(La(Ao),(Vo,Xu)=>(zr(),Fn("div",{class:qs({chatItemAnswer:gi.value==="light"}),style:mu([{backgroundColor:gi.value==="light"?"#ffffff":"#000000"},{border:"none"}])},[Xu==0?(zr(),Fn("span",C_,[Ya(xa(Ao.substring(0,Vo.index))+" ",1),Qr(ro,{"background-color":"#3491FA",content:_a(K.value.reference,qa)},{default:Fr(()=>[or("img",{style:{width:"15px",height:"15px"},src:Ti(yB)},null,8,E_)]),_:2},1032,["content"]),Xu==Vo.len-1?(zr(),Fn("span",w_,xa(Ao.substring(Vo.index+5)),1)):Ca("",!0)])):Xu==Vo.len-1?(zr(),Fn("span",B_,[Ya(xa(Ao.substring(Vo.preIndex+Vo.item.length,Vo.index))+" ",1),Qr(ro,{"background-color":"#3491FA",content:_a(K.value.reference,qa)},{default:Fr(()=>[or("img",{style:{width:"15px",height:"15px"},src:Ti(yB)},null,8,Q_)]),_:2},1032,["content"]),Ya(" "+xa(Ao.substring(Vo.index+5)),1)])):(zr(),Fn("span",k_,[Ya(xa(Ao.substring(Vo.preIndex+Vo.item.length,Vo.index))+" ",1),Qr(ro,{"background-color":"#3491FA",content:_a(K.value.reference,qa)},{default:Fr(()=>[or("img",{style:{width:"15px",height:"15px"},src:Ti(yB)},null,8,x_)]),_:2},1032,["content"])]))],6))),256))],6)):(zr(),Fn("div",S_,xa(Ao),1))],6))),256))]),_:2},1024)):(zr(),Ma(Is,{key:1},{default:Fr(()=>[Qr(Fs,{readonly:"","auto-size":"","default-value":Ji(sa.content),class:qs({chatItemAnswer:gi.value==="light"}),style:mu([{backgroundColor:gi.value==="light"?"#ffffff":"#000000"},{border:"none"}])},null,8,["default-value","class","style"])]),_:2},1024))]),actions:Fr(()=>[or("div",null,[or("div",null,[(zr(!0),Fn(_s,null,lc(yo(K.value.reference,sa.role,sa.content,qa),(Ao,xA)=>(zr(),Fn("div",{key:xA,class:"icon-box",onClick:Vo=>ln(Ao)},[or("div",null,[or("img",{src:gn.value(Ao.doc_name),alt:""},null,8,D_)]),or("div",R_,xa(Ao.doc_name),1)],8,__))),128))])]),qa!=0?(zr(),Fn("span",{key:0,class:"action",onClick:Ao=>xr(sa.content)},[Qr(Zc),br[11]||(br[11]=Ya(" 复制 "))],8,F_)):Ca("",!0),qa!=0&&qa==U.value.length-1?(zr(),Fn("span",{key:1,class:"action",onClick:br[1]||(br[1]=Ao=>wa())},[Qr(Eu),br[12]||(br[12]=Ya(" 重新生成 "))])):Ca("",!0)]),_:2},1024)):sa.role==="last"?(zr(),Ma(Lt,{key:2},{avatar:Fr(()=>br[13]||(br[13]=[or("img",{class:"icon-user-jpg",src:Vp,alt:"本地图片"},null,-1)])),content:Fr(()=>[Qr(Xc,{loading:ge.value,dot:"",style:{width:"100%"}},{default:Fr(()=>[Qr(Fs,{readonly:"","auto-size":"",modelValue:Tt.value,"onUpdate:modelValue":br[2]||(br[2]=Ao=>Tt.value=Ao),class:qs({chatItemAnswer:gi.value==="light"}),style:mu([{backgroundColor:gi.value==="light"?"#ffffff":"#000000"},{border:"none"}])},null,8,["modelValue","class","style"])]),_:1},8,["loading"])]),actions:Fr(()=>[Tt.value!=""?(zr(),Fn("div",{key:0,class:"action",onClick:Sc,style:{background:"var(--color-bg-2)",color:"var(--color-primary-light-4)"}},[Qr($c),br[14]||(br[14]=Ya(" 停止生成 "))])):Ca("",!0)]),_:1})):Ca("",!0)]))),256))]),_:1},8,["style"]),or("div",N_,[or("div",M_,[Qr(Fs,{modelValue:Le.value,"onUpdate:modelValue":br[3]||(br[3]=sa=>Le.value=sa),onKeydown:[Ig(r1(Ni,["shift"]),["enter"]),Ig(Oa,["enter"])],placeholder:Et.value.length>0?"整理这些文件的核心内容":"输入您想了解的内容,Shift+Enter换行,Enter发送","allow-clear":"","show-word-limit":"",disabled:ee.value,class:qs({textItemAnswer:gi.value==="dark"}),style:mu([{backgroundColor:gi.value==="light"?"#ffffff":"#000000"},{border:"none"}]),"auto-size":{minRows:12,maxRows:5}},null,8,["modelValue","onKeydown","placeholder","disabled","class","style"]),or("div",T_,[Qr($S,{ref_key:"fileInput",ref:qt,sessionId:sr.value,hide:Ir.value,onSelectFileCallback:Wn},null,8,["sessionId","hide"]),Qr(ei,{disabled:ee.value,onClick:ji,type:"text",style:{"border-radius":"24px"},loading:Ue.value},{default:Fr(()=>[Qr(wu,{size:"32",style:{color:"#0960bd"}})]),_:1},8,["disabled","loading"])])]),Et.value.length>0?(zr(),Fn("div",L_,[(zr(!0),Fn(_s,null,lc(Et.value,(sa,qa)=>(zr(),Fn("div",{class:"files",key:qa,style:{position:"relative",width:"200px","margin-top":"10px","margin-right":"20px"}},[Qr(Lt,{author:sa.name,content:sa.size,style:{background:"var(--color-bg-2)",padding:"10px","border-radius":"10px","font-size":"12px"}},{avatar:Fr(()=>[Ti(Vi)?(zr(),Ma(Xc,{key:0,loading:Ti(Vi)},{icon:Fr(()=>[Qr(Sn)]),_:1},8,["loading"])):Ca("",!0),or("img",{src:gn.value(sa.name),alt:""},null,8,O_)]),_:2},1032,["author","content"]),Qr(Zs,{size:"18px",onClick:Ao=>uo(sa),style:{position:"absolute",right:"-4px",top:"-4px",color:"red",cursor:"pointer"}},null,8,["onClick"])]))),128))])):Ca("",!0)])])]),_:1},512),[[Bh,ht.value=="1"]]),wh(Qr(Ln,{span:23},{default:Fr(()=>[or("div",P_,[Qr(Y9,{modalObj:hn},null,8,["modalObj"])])]),_:1},512),[[Bh,ht.value=="2"]]),wh(Qr(Ln,{span:23},{default:Fr(()=>[or("div",G_,[Qr(RS,{onQuerySessionDetail:Rs,onChangeAgentType:So})])]),_:1},512),[[Bh,ht.value=="3"]]),wh(Qr(Ln,{span:23},{default:Fr(()=>[or("div",U_,[Qr(zS,{onCreateSession:Ei,onQuerySessionDetail:Rs,onChangeAgentType:So})])]),_:1},512),[[Bh,ht.value=="4"]]),wh(Qr(Ln,{span:23},{default:Fr(()=>[or("div",j_,[Qr(E6,{modalObj:hn},null,8,["modalObj"])])]),_:1},512),[[Bh,ht.value=="5"]])]),_:1}),Qr(Bu,{title:" ",visible:zt.value,"onUpdate:visible":br[4]||(br[4]=sa=>zt.value=sa),footer:!1,fullscreen:""},{default:Fr(()=>[Ti(Wr)=="docx"?(zr(),Ma(n_,{key:0,previewSrc:Ti(un)},null,8,["previewSrc"])):Ca("",!0),Ti(Wr)=="xlsx"?(zr(),Ma(s_,{key:1,previewSrc:Ti(un)},null,8,["previewSrc"])):Ca("",!0),Ti(Wr)=="pdf"?(zr(),Ma(A_,{key:2,previewSrc:Ti(un)},null,8,["previewSrc"])):Ca("",!0),Ti(Wr)=="txt"?(zr(),Ma(d_,{key:3,previewSrc:Ti(un)},null,8,["previewSrc"])):Ca("",!0)]),_:1},8,["visible"]),Qr(Bu,{visible:Nr.value,"onUpdate:visible":br[7]||(br[7]=sa=>Nr.value=sa),title:"修改名称",onBeforeOpen:xn,onCancel:Dn,footer:!1,"title-align":"start"},{default:Fr(()=>[Qr(Ac,{ref:"formRef",rules:Po,model:Ti(Jt),onSubmit:Ds},{default:Fr(()=>[Qr(Ml,{field:"name",label:"名称"},{default:Fr(()=>[Qr(Zu,{modelValue:Ti(Jt).name,"onUpdate:modelValue":br[5]||(br[5]=sa=>Ti(Jt).name=sa),placeholder:"请输入名称"},null,8,["modelValue"])]),_:1}),Qr(Ml,null,{default:Fr(()=>[or("div",H_,[Qr(ei,{onClick:br[6]||(br[6]=sa=>Nr.value=!1)},{default:Fr(()=>br[15]||(br[15]=[Ya("取消")])),_:1}),Qr(ei,{style:{"margin-left":"10px"},type:"primary","html-type":"submit"},{default:Fr(()=>br[16]||(br[16]=[Ya("确定")])),_:1})])]),_:1})]),_:1},8,["model"])]),_:1},8,["visible"])])}}});const V_=zu(Y_,[["__scopeId","data-v-11a1a198"]]);export{V_ as default};