mirror of https://gitee.com/godoos/godoos.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
364 lines
1.8 MiB
364 lines
1.8 MiB
const mx=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}};mx();const Rx=[],b1=[],yx={margins:[100,120,100,120],watermark:{data:"",size:120},pageNumber:{format:"\u7B2C{pageNo}\u9875/\u5171{pageCount}\u9875"},placeholder:{data:"\u8BF7\u8F93\u5165\u6B63\u6587"},zone:{tipDisabled:!1},maskMargin:[60,0,30,0]};var qe=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Wm(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}),e}function mc(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Xm={exports:{}};(function(t){var e=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
*
|
|
* @license MIT <https://opensource.org/licenses/MIT>
|
|
* @author Lea Verou <https://lea.verou.me>
|
|
* @namespace
|
|
* @public
|
|
*/var n=function(r){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,a={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function m(v){return v instanceof c?new c(v.type,m(v.content),v.alias):Array.isArray(v)?v.map(m):v.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(m){return Object.prototype.toString.call(m).slice(8,-1)},objId:function(m){return m.__id||Object.defineProperty(m,"__id",{value:++o}),m.__id},clone:function m(v,x){x=x||{};var O,E;switch(s.util.type(v)){case"Object":if(E=s.util.objId(v),x[E])return x[E];O={},x[E]=O;for(var N in v)v.hasOwnProperty(N)&&(O[N]=m(v[N],x));return O;case"Array":return E=s.util.objId(v),x[E]?x[E]:(O=[],x[E]=O,v.forEach(function(M,_){O[_]=m(M,x)}),O);default:return v}},getLanguage:function(m){for(;m;){var v=i.exec(m.className);if(v)return v[1].toLowerCase();m=m.parentElement}return"none"},setLanguage:function(m,v){m.className=m.className.replace(RegExp(i,"gi"),""),m.classList.add("language-"+v)},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(O){var m=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(O.stack)||[])[1];if(m){var v=document.getElementsByTagName("script");for(var x in v)if(v[x].src==m)return v[x]}return null}},isActive:function(m,v,x){for(var O="no-"+v;m;){var E=m.classList;if(E.contains(v))return!0;if(E.contains(O))return!1;m=m.parentElement}return!!x}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(m,v){var x=s.util.clone(s.languages[m]);for(var O in v)x[O]=v[O];return x},insertBefore:function(m,v,x,O){O=O||s.languages;var E=O[m],N={};for(var M in E)if(E.hasOwnProperty(M)){if(M==v)for(var _ in x)x.hasOwnProperty(_)&&(N[_]=x[_]);x.hasOwnProperty(M)||(N[M]=E[M])}var B=O[m];return O[m]=N,s.languages.DFS(s.languages,function(q,T){T===B&&q!=m&&(this[q]=N)}),N},DFS:function m(v,x,O,E){E=E||{};var N=s.util.objId;for(var M in v)if(v.hasOwnProperty(M)){x.call(v,M,v[M],O||M);var _=v[M],B=s.util.type(_);B==="Object"&&!E[N(_)]?(E[N(_)]=!0,m(_,x,null,E)):B==="Array"&&!E[N(_)]&&(E[N(_)]=!0,m(_,x,M,E))}}},plugins:{},highlightAll:function(m,v){s.highlightAllUnder(document,m,v)},highlightAllUnder:function(m,v,x){var O={callback:x,container:m,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",O),O.elementsLSKUKXLZ RKZP[VZ RVYWWWapply(O.container.querySelectorAll(O.selector)),s.hooks.run("before-all-elements-highlight",O);for(var E=0,N;N=O.elements[E++];)s.highlightElement(N,v===!0,O.callback)},highlightElement:function(m,v,x){var O=s.util.getLanguage(m),E=s.languages[O];s.util.setLanguage(m,O);var N=m.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(N,O);var M=m.textContent,_={element:m,language:O,grammar:E,code:M};function B(T){_.highlightedCode=T,s.hooks.run("before-insert",_),_.element.innerHTML=_.highlightedCode,s.hooks.run("after-highlight",_),s.hooks.run("complete",_),x&&x.call(_.element)}if(s.hooks.run("before-sanity-check",_),N=_.element.parentElement,N&&N.nodeName.toLowerCase()==="pre"&&!N.hasAttribute("tabindex")&&N.setAttribute("tabindex","0"),!_.code){s.hooks.run("complete",_),x&&x.call(_.element);return}if(s.hooks.run("before-highlight",_),!_.grammar){B(s.util.encode(_.code));return}if(v&&r.Worker){var q=new Worker(s.filename);q.onmessage=function(T){B(T.data)},q.postMessage(JSON.stringify({language:_.language,code:_.code,immediateClose:!0}))}else B(s.highlight(_.code,_.grammar,_.language))},highlight:function(m,v,x){var O={code:m,grammar:v,language:x};if(s.hooks.run("before-tokenize",O),!O.grammar)throw new Error('The language "'+O.language+'" has no grammar.');return O.tokens=s.tokenize(O.code,O.grammar),s.hooks.run("after-tokenize",O),c.stringify(s.util.encode(O.tokens),O.language)},tokenize:function(m,v){var x=v.rest;if(x){for(var O in x)v[O]=x[O];delete v.rest}var E=new h;return d(E,E.head,m),l(m,E,v,E.head,0),p(E)},hooks:{all:{},add:function(m,v){var x=s.hooks.all;x[m]=x[m]||[],x[m].push(v)},run:function(m,v){var x=s.hooks.all[m];if(!(!x||!x.length))for(var O=0,E;E=x[O++];)E(v)}},Token:c};r.Prism=s;function c(m,v,x,O){this.type=m,this.content=v,this.alias=x,this.length=(O||"").length|0}c.stringify=function m(v,x){if(typeof v=="string")return v;if(Array.isArray(v)){var O="";return v.forEach(function(B){O+=m(B,x)}),O}var E={type:v.type,content:m(v.content,x),tag:"span",classes:["token",v.type],attributes:{},language:x},N=v.alias;N&&(Array.isArray(N)?Array.prototype.push.apply(E.classes,N):E.classes.push(N)),s.hooks.run("wrap",E);var M="";for(var _ in E.attributes)M+=" "+_+'="'+(E.attributes[_]||"").replace(/"/g,""")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+M+">"+E.content+"</"+E.tag+">"};function u(m,v,x,O){m.lastIndex=v;var E=m.exec(x);if(E&&O&&E[1]){var N=E[1].length;E.index+=N,E[0]=E[0].slice(N)}return E}function l(m,v,x,O,E,N){for(var M in x)if(!(!x.hasOwnProperty(M)||!x[M])){var _=x[M];_=Array.isArray(_)?_:[_];for(var B=0;B<_.length;++B){if(N&&N.cause==M+","+B)return;var q=_[B],T=q.inside,I=!!q.lookbehind,b=!!q.greedy,P=q.alias;if(b&&!q.pattern.global){var U=q.pattern.toString().match(/[imsuy]*$/)[0];q.pattern=RegExp(q.pattern.source,U+"g")}for(var X=q.pattern||q,V=O.next,k=E;V!==v.tail&&!(N&&k>=N.reach);k+=V.value.length,V=V.next){var re=V.value;if(v.length>m.length)return;if(!(re instanceof c)){var Z=1,C;if(b){if(C=u(X,k,m,I),!C||C.index>=m.length)break;var ce=C.index,ne=C.index+C[0].length,oe=k;for(oe+=V.value.length;ce>=oe;)V=V.next,oe+=V.value.length;if(oe-=V.value.length,k=oe,V.value instanceof c)continue;for(var ue=V;ue!==v.tail&&(oe<ne||typeof ue.value=="string");ue=ue.next)Z++,oe+=ue.value.length;Z--,re=m.slice(k,oe),C.index-=k}else if(C=u(X,0,re,I),!C)continue;var ce=C.index,W=C[0],A=re.slice(0,ce),Q=re.slice(ce+W.length),z=k+re.length;N&&z>N.reach&&(N.reach=z);var H=V.prev;A&&(H=d(v,H,A),k+=A.length),f(v,H,Z);var j=new c(M,T?s.tokenize(W,T):W,P,W);if(V=d(v,H,j),Q&&d(v,V,Q),Z>1){var ge={cause:M+","+B,reach:z};l(m,v,x,V.prev,k,ge),N&&ge.reach>N.reach&&(N.reach=ge.reach)}}}}}}function h(){var m={value:null,prev:null,next:null},v={value:null,prev:m,next:null};m.next=v,this.head=m,this.tail=v,this.length=0}function d(m,v,x){var O=v.next,E={value:x,prev:v,next:O};return v.next=E,O.prev=E,m.length++,E}function f(m,v,x){for(var O=v.next,E=0;E<x&&O!==m.tail;E++)O=O.next;v.next=O,O.prev=v,m.length-=E}function p(m){for(var v=[],x=m.head.next;x!==m.tail;)v.push(x.value),x=x.next;return v}if(!r.document)return r.addEventListener&&(s.disableWorkerMessageHandler||r.addEventListener("message",function(m){var v=JSON.parse(m.data),x=v.language,O=v.code,E=v.immediateClose;r.postMessage(s.highlight(O,s.languages[x],x)),E&&r.close()},!1)),s;var g=s.util.currentScript();g&&(s.filename=g.src,g.hasAttribute("data-manual")&&(s.manual=!0));function y(){s.manual||s.highlightAll()}if(!s.manual){var R=document.readyState;R==="loading"||R==="interactive"&&g&&g.defer?document.addEventListener("DOMContentLoaded",y):window.requestAnimationFrame?window.requestAnimationFrame(y):window.setTimeout(y,16)}return s}(e);t.exports&&(t.exports=n),typeof qe!="undefined"&&(qe.Prism=n),n.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]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(i,o){var a={};a["language-"+o]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[o]},a.cdata=/^<!\[CDATA\[|\]\]>$/i;var s={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:a}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(r,i){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\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:[i,"language-"+i],inside:n.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(r){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+i.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\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,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:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css;var o=r.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(n),n.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:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.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:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript,function(){if(typeof n=="undefined"||typeof document=="undefined")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var r="Loading\u2026",i=function(g,y){return"\u2716 Error "+g+" while fetching file: "+y},o="\u2716 Error: File does not exist or is empty",a={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},s="data-src-status",c="loading",u="loaded",l="failed",h="pre[data-src]:not(["+s+'="'+u+'"]):not(['+s+'="'+c+'"])';function d(g,y,R){var m=new XMLHttpRequest;m.open("GET",g,!0),m.onreadystatechange=function(){m.readyState==4&&(m.status<400&&m.responseText?y(m.responseText):m.status>=400?R(i(m.status,m.statusText)):R(o))},m.send(null)}function f(g){var y=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(g||"");if(y){var R=Number(y[1]),m=y[2],v=y[3];return m?v?[R,Number(v)]:[R,void 0]:[R,R]}}n.hooks.add("before-highlightall",function(g){g.selector+=", "+h}),n.hooks.add("before-sanity-check",function(g){var y=g.element;if(y.matches(h)){g.code="",y.setAttribute(s,c);var R=y.appendChild(document.createElement("CODE"));R.textContent=r;var m=y.getAttribute("data-src"),v=g.language;if(v==="none"){var x=(/\.(\w+)$/.exec(m)||[,"none"])[1];v=a[x]||x}n.util.setLanguage(R,v),n.util.setLanguage(y,v);var O=n.plugins.autoloader;O&&O.loadLanguages(v),d(m,function(E){y.setAttribute(s,u);var N=f(y.getAttribute("data-range"));if(N){var M=E.split(/\r\n?|\n/g),_=N[0],B=N[1]==null?M.length:N[1];_<0&&(_+=M.length),_=Math.max(0,Math.min(_-1,M.length)),B<0&&(B+=M.length),B=Math.max(0,Math.min(B,M.length)),E=M.slice(_,B).join(`
|
|
`),y.hasAttribute("data-start")||y.setAttribute("data-start",String(_+1))}R.textContent=E,n.highlightElement(R)},function(E){y.setAttribute(s,l),R.textContent=E})}}),n.plugins.fileHighlight={highlight:function(y){for(var R=(y||document).querySelectorAll(h),m=0,v;v=R[m++];)n.highlightElement(v)}};var p=!1;n.fileHighlight=function(){p||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),p=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Xm);var x1=Xm.exports;const vx="0.9.81";var ea=(t=>(t.HALF="half",t.ONE_THIRD="one-third",t.QUARTER="quarter",t))(ea||{}),ou=(t=>(t.ARABIC="arabic",t.CHINESE="chinese",t))(ou||{}),ht=(t=>(t.INLINE="inline",t.BLOCK="block",t.FLOAT_TOP="float-top",t.FLOAT_BOTTOM="float-bottom",t))(ht||{});const We="\u200B",w1=`
|
|
`,bx=" ",T1=" ",xx=["\xB7","\u3001",":","\uFF1A",",","\uFF0C",".","\u3002",";","\uFF1B","?","\uFF1F","!","\uFF01"],Vm={[ea.HALF]:1/2,[ea.ONE_THIRD]:1/3,[ea.QUARTER]:1/4},wx={ENGLISH:"A-Za-z",SPANISH:"A-Za-z\xC1\xC9\xCD\xD3\xDA\xE1\xE9\xED\xF3\xFA\xD1\xF1\xDC\xFC",FRENCH:"A-Za-z\xC0\xC2\xC7\xE0\xE2\xE7\xC9\xE9\xC8\xE8\xCA\xEA\xCB\xEB\xCE\xEE\xCF\xEF\xD4\xF4\xD9\xF9\xDB\xFB\u0178\xFF",GERMAN:"A-Za-z\xC4\xE4\xD6\xF6\xDC\xFC\xDF",RUSSIAN:"\u0410-\u042F\u0430-\u044F\u0401\u0451",PORTUGUESE:"A-Za-z\xC1\xC9\xCD\xD3\xDA\xE1\xE9\xED\xF3\xFA\xC3\xD5\xE3\xF5\xC7\xE7",ITALIAN:"A-Za-z\xC0\xE0\xC8\xE8\xC9\xE9\xCC\xEC\xCD\xED\xCE\xEE\xD3\xF3\xD2\xF2\xD9\xF9",DUTCH:"A-Za-z\xC0\xE0\xC1\xE1\xC2\xE2\xC4\xE4\xC8\xE8\xC9\xE9\xCA\xEA\xCB\xEB\xCC\xEC\xCD\xED\xCE\xEE\xCF\xEF\xD3\xF3\xD2\xF2\xD4\xF4\xD6\xF6\xD9\xF9\xDB\xFB\xDC\xFC",SWEDISH:"A-Za-z\xC5\xE5\xC4\xE4\xD6\xF6",GREEK:"\u0391\u03B1\u0392\u03B2\u0393\u03B3\u0394\u03B4\u0395\u03B5\u0396\u03B6\u0397\u03B7\u0398\u03B8\u0399\u03B9\u039A\u03BA\u039B\u03BB\u039C\u03BC\u039D\u03BD\u039E\u03BE\u039F\u03BF\u03A0\u03C0\u03A1\u03C1\u03A3\u03C3\u03C2\u03A4\u03C4\u03A5\u03C5\u03A6\u03C6\u03A7\u03C7\u03A8\u03C8\u03A9\u03C9"},Tx="\u65E5";var at=(t=>(t.LEFT="left",t.CENTER="center",t.RIGHT="right",t.ALIGNMENT="alignment",t.JUSTIFY="justify",t))(at||{});const Pl=/[0-9.]/,Sx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,Dx=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,Ox=new RegExp(`${Dx.source}|${Sx.source}`,"g"),_x=/[、,。?!;:……「」“”‘’*()【】〔〕〖〗〘〙〚〛《》———﹝﹞–—\\/·.,!?;:`~<>()[\]{}'"|]/,Ym=new RegExp(`^[${We}
|
|
]`);function Bm(t,e){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout(()=>{t.apply(this,r)},e)}}function Ex(t,e){let n=0,r;return function(...i){const o=Date.now();o-n>=e?(window.clearTimeout(r),t.apply(this,i),n=o):(window.clearTimeout(r),r=window.setTimeout(()=>{t.apply(this,i),n=o},e))}}function id(t,e){if(!t||typeof t!="object")return t;let n={};return Array.isArray(t)?n=t.map(r=>id(r,e)):Object.keys(t).forEach(r=>{if(!e.includes(r))return n[r]=id(t[r],e)}),n}function Ft(t){if(!t||typeof t!="object")return t;let e={};return Array.isArray(t)?e=t.map(n=>Ft(n)):Object.keys(t).forEach(n=>e[n]=Ft(t[n])),e}function Ml(t){return t&&t.nodeType===1&&t.tagName.toLowerCase()==="body"}function au(t,e,n){if(t&&!Ml(t))for(t=n?t:t.parentNode;t;){if(!e||e(t)||Ml(t))return e&&!e(t)&&Ml(t)?null:t;t=t.parentNode}return null}function vt(){function t(){return((1+Math.random())*65536|0).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}function vr(t){const e=[];if(Intl.Segmenter){const r=new Intl.Segmenter().segment(t);for(const{segment:i}of r)e.push(i)}else{const n=new Map;for(const i of t.matchAll(Ox))n.set(i.index,i[0]);let r=0;for(;r<t.length;){const i=n.get(r);i?(e.push(i),r+=i.length):(e.push(t[r]),r++)}}return e}function Zm(t,e){const n=document.createElement("a");n.href=t,n.download=e,n.click()}function Ix(t,e){Nx(3,t,e)}function Nx(t,e,n){let r=0,i=0;const o=function(a){r=new Date().getTime()-i<300?r+1:0,i=new Date().getTime(),r>=t-1&&(n(a),r=0)};e.addEventListener("click",o)}function su(t){return Object.prototype.toString.call(t)==="[object Object]"}function S1(t){return Array.isArray(t)}function km(t,e){if(su(t)&&su(e)){const n=e;for(const[r,i]of Object.entries(t))n[r]?n[r]=km(i,n[r]):n[r]=i}else S1(t)&&S1(e)&&e.push(...t);return e}function cu(t){setTimeout(()=>{t()},0)}function D1(t){const e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],n=["","\u5341","\u767E","\u5343","\u4E07","\u5341","\u767E","\u5343","\u4EBF","\u5341","\u767E","\u5343","\u4E07","\u5341","\u767E","\u5343","\u4EBF"];if(!t||isNaN(t))return"\u96F6";const r=t.toString().split("");let i="";for(let o=0;o<r.length;o++){const a=r.length-1-o;i=`${n[o]}${i}`,i=`${e[Number(r[a])]}${i}`}return i=i.replace(/零(千|百|十)/g,"\u96F6").replace(/十零/g,"\u5341"),i=i.replace(/零+/g,"\u96F6"),i=i.replace(/零亿/g,"\u4EBF").replace(/零万/g,"\u4E07"),i=i.replace(/亿万/g,"\u4EBF"),i=i.replace(/零+$/,""),i=i.replace(/^一十/g,"\u5341"),i}function Gc(t,e,n){for(let r=0;r<t.length;r++){const i=t[r],o=e[i];o!==void 0?n[i]=o:delete n[i]}}function Qr(t,e){const n={};for(const r in t)e.includes(r)&&(n[r]=t[r]);return n}function vs(t,e){const n={};for(const r in t)e.includes(r)||(n[r]=t[r]);return n}function Fx(t){const n=new TextEncoder().encode(t),r=Array.from(n,o=>String.fromCharCode(o));return window.btoa(r.join(""))}function Px(t){let e=t.parentElement;for(;e;){const r=window.getComputedStyle(e).getPropertyValue("overflow-y");if(e.scrollHeight>e.clientHeight&&(r==="auto"||r==="scroll"))return e;e=e.parentElement}return document.documentElement}function Mx(t,e){return t.length!==e.length?!1:!t.some(n=>!e.includes(n))}function Lx(t,e){if(!su(t)||!su(e))return!1;const n=Object.keys(t),r=Object.keys(e);return n.length!==r.length?!1:!n.some(i=>e[i]!==t[i])}const Cx=12,Ax={width:1,color:"#000000",dragWidth:2,dragColor:"#0000FF"},Jr="editor-component",ke="ce",zd=`${ke}-clipboard`;var bn=(t=>(t.UP="top",t.DOWN="down",t.LEFT="left",t.RIGHT="right",t))(bn||{}),fe=(t=>(t.TEXT="text",t.IMAGE="image",t.TABLE="table",t.HYPERLINK="hyperlink",t.SUPERSCRIPT="superscript",t.SUBSCRIPT="subscript",t.SEPARATOR="separator",t.PAGE_BREAK="pageBreak",t.CONTROL="control",t.CHECKBOX="checkbox",t.RADIO="radio",t.LATEX="latex",t.TAB="tab",t.DATE="date",t.BLOCK="block",t.TITLE="title",t.LIST="list",t))(fe||{});const po=["bold","color","highlight","font","size","italic","underline","strikeout","textDecoration"],Ns=["rowFlex","rowMargin"],Ux=["type","font","size","bold","color","italic","highlight","underline","strikeout","rowFlex","url","hyperlinkId","dateId","dateFormat","groupIds","rowMargin","textDecoration"],Wx=["type","font","size","bold","color","italic","highlight","underline","strikeout","rowFlex","rowMargin","dashArray","trList","borderType","width","height","url","colgroup","valueList","control","checkbox","radio","dateFormat","block","level","title","listType","listStyle","listWrap","groupIds","conceptId","imgDisplay","imgFloatPosition","textDecoration","extension","externalId"],Xx=["verticalAlign","backgroundColor","borderTypes","slashTypes"],$d=["tdId","trId","tableId"],Vx=["level","titleId","title"],Qm=["listId","listType","listStyle"],O1=["control","controlId","controlComponent"],sa=["font","size","bold","highlight","italic","strikeout"],Km=[...$d,...Vx,...Qm,...Ns],Nr=[fe.TEXT,fe.HYPERLINK,fe.SUBSCRIPT,fe.SUPERSCRIPT,fe.CONTROL,fe.DATE],Yx=[fe.IMAGE,fe.LATEX],Bx=[fe.BLOCK,fe.PAGE_BREAK,fe.SEPARATOR,fe.TABLE],Zx=["HR","TABLE","UL","OL"],kx=[fe.TITLE,fe.LIST];class Hm{constructor(e){this.draw=e,this.options=e.getOptions(),this.container=e.getContainer(),this.imageCache=new Map,this.floatImageContainer=null,this.floatImage=null}createFloatImage(e){const{scale:n}=this.options;let r=this.floatImageContainer,i=this.floatImage;r||(r=document.createElement("div"),r.classList.add(`${ke}-float-image`),this.container.append(r),this.floatImageContainer=r),i||(i=document.createElement("img"),r.append(i),this.floatImage=i),r.style.display="none",i.style.width=`${e.width*n}px`,i.style.height=`${e.height*n}px`;const o=this.draw.getHeight(),a=this.draw.getPageGap(),s=this.draw.getPageNo()*(o+a),c=e.imgFloatPosition;r.style.left=`${c.x}px`,r.style.top=`${s+c.y}px`,i.src=e.value}dragFloatImage(e,n){if(!this.floatImageContainer)return;this.floatImageContainer.style.display="block";const r=parseFloat(this.floatImageContainer.style.left)+e,i=parseFloat(this.floatImageContainer.style.top)+n;this.floatImageContainer.style.left=`${r}px`,this.floatImageContainer.style.top=`${i}px`}destroyFloatImage(){this.floatImageContainer&&(this.floatImageContainer.style.display="none")}addImageObserver(e){this.draw.getImageObserver().add(e)}getFallbackImage(e,n){const i=(e-Math.ceil(e/8)*8)/2,o=(n-Math.ceil(n/8)*8)/2,a=`<svg xmlns="http://www.w3.org/2000/svg" width="${e}" height="${n}" viewBox="0 0 ${e} ${n}">
|
|
<rect width="${e}" height="${n}" fill="url(#mosaic)" />
|
|
<defs>
|
|
<pattern id="mosaic" x="${i}" y="${o}" width="${8*2}" height="${8*2}" patternUnits="userSpaceOnUse">
|
|
<rect width="${8}" height="${8}" fill="#cccccc" />
|
|
<rect width="${8}" height="${8}" fill="#cccccc" transform="translate(${8}, ${8})" />
|
|
</pattern>
|
|
</defs>
|
|
</svg>`,s=new Image;return s.src=`data:image/svg+xml;base64,${Fx(a)}`,s}render(e,n,r,i){const{scale:o}=this.options,a=n.width*o,s=n.height*o;if(this.imageCache.has(n.id)){const c=this.imageCache.get(n.id);e.drawImage(c,r,i,a,s)}else{const c=new Promise((u,l)=>{const h=new Image;h.setAttribute("crossOrigin","Anonymous"),h.src=n.value,h.onload=()=>{this.imageCache.set(n.id,h),u(n),n.imgDisplay===ht.FLOAT_BOTTOM?this.draw.render({isCompute:!1,isSetCursor:!1,isSubmitHistory:!1}):e.drawImage(h,r,i,a,s)},h.onerror=d=>{const f=this.getFallbackImage(a,s);f.onload=()=>{e.drawImage(f,r,i,a,s),this.imageCache.set(n.id,f)},l(d)}});this.addImageObserver(c)}}}const Rc="R".charCodeAt(0);function Qo(t){return od[t]==null&&Qx(t),od[t]}function Qx(t){const e=Kx[t];if(e==null)return;const n=e.substring(3,5),r=1*n.charCodeAt(0)-Rc,i=1*n.charCodeAt(1)-Rc,o=e.substring(5),a=[[]];let s=1/0,c=-1/0,u=1/0,l=-1/0,h=0;for(;h<o.length;){const d=o.substring(h,h+2);if(d==" R")a.push([]);else{const f=d.charCodeAt(0)-Rc-r,p=d.charCodeAt(1)-Rc;s=Math.min(p,s),c=Math.max(p,c),u=Math.min(f,u),l=Math.max(f,l),a[a.length-1].push([f,p])}h+=2}od[t]={w:i-r,xmin:u,xmax:l,ymin:s,ymax:c,polylines:a}}const od={},Kx={1:" 9MWRMNV RRMVV RPSTS",2:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",3:" 11MXVNTMRMPNOPOSPURVTVVU",4:" 12MWOMOV ROMRMTNUPUSTURVOV",5:" 12MWOMOV ROMUM ROQSQ ROVUV",6:" 9MVOMOV ROMUM ROQSQ",7:" 15MXVNTMRMPNOPOSPURVTVVUVR RSRVR",8:" 9MWOMOV RUMUV ROQUQ",9:" 3PTRMRV",10:" 7NUSMSTRVPVOTOS",11:" 9MWOMOV RUMOS RQQUV",12:" 6MVOMOV ROVUV",13:" 12LXNMNV RNMRV RVMRV RVMVV",14:" 9MWOMOV ROMUV RUMUV",15:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",16:" 10MWOMOV ROMSMUNUQSROR",17:" 17MXRMPNOPOSPURVSVUUVSVPUNSMRM RSTVW",18:" 13MWOMOV ROMSMUNUQSROR RRRUV",19:" 13MWUNSMQMONOOPPTRUSUUSVQVOU",20:" 6MWRMRV RNMVM",21:" 9MXOMOSPURVSVUUVSVM",22:" 6MWNMRV RVMRV",23:" 12LXNMPV RRMPV RRMTV RVMTV",24:" 6MWOMUV RUMOV",25:" 7MWNMRQRV RVMRQ",26:" 9MWUMOV ROMUM ROVUV",27:" 9MWRMNV RRMVV RPSTS",28:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",29:" 6MVOMOV ROMUM",30:" 9MWRMNV RRMVV RNVVV",31:" 12MWOMOV ROMUM ROQSQ ROVUV",32:" 9MWUMOV ROMUM ROVUV",33:" 9MWOMOV RUMUV ROQUQ",34:" 20MXRMPNOPOSPURVSVUUVSVPUNSMRM RQQTR RTQQR",35:" 3PTRMRV",36:" 9MWOMOV RUMOS RQQUV",37:" 6MWRMNV RRMVV",38:" 12LXNMNV RNMRV RVMRV RVMVV",39:" 9MWOMOV ROMUV RUMUV",40:" 12MWOMUM RPQTR RTQPR ROVUV",41:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",42:" 9MWOMOV RUMUV ROMUM",43:" 10MWOMOV ROMSMUNUQSROR",44:" 10MWOMRQOV ROMUM ROVUV",45:" 6MWRMRV RNMVM",46:" 15MWNONNOMPMQNRPRV RVOVNUMTMSNRP",47:" 13LXRMRV RPONPNSPTTTVSVPTOPO",48:" 6MWOMUV RUMOV",49:" 12LXRMRV RNOOPOSQTSTUSUPVO",50:" 13MXOVQVOROPPNRMSMUNVPVRTVVV",200:" 12MWRMPNOPOSPURVTUUSUPTNRM",201:" 4MWPORMRV",202:" 9MWONQMSMUNUPTROVUV",203:" 15MWONQMSMUNUPSQ RRQSQURUUSVQVOU",204:" 7MWSMSV RSMNSVS",205:" 14MWPMOQQPRPTQUSTURVQVOU RPMTM",206:" 14MWTMRMPNOPOSPURVTUUSTQRPPQOS",207:" 6MWUMQV ROMUM",208:" 19MWQMONOPQQSQUPUNSMQM RQQOROUQVSVUUURSQ",209:" 14MWUPTRRSPROPPNRMTNUPUSTURVPV",210:" 6PURURVSVSURU",211:" 7PUSVRVRUSUSWRY",212:" 12PURPRQSQSPRP RRURVSVSURU",213:" 13PURPRQSQSPRP RSVRVRUSUSWRY",214:" 12PURMRR RSMSR RRURVSVSURU",215:" 17NWPNRMSMUNUPRQRRSRSQUP RRURVSVSURU",216:" 3PTRMRQ",217:" 6NVPMPQ RTMTQ",218:" 10NVQMPNPPQQSQTPTNSMQM",219:" 16MWUNSMQMONOPQQTRUSUUSVQVOU RRLRW",220:" 3MWVLNW",221:" 7OVTLRNQPQSRUTW",222:" 7NUPLRNSPSSRUPW",223:" 3PTRLRW",224:" 3LXNRVR",225:" 6LXRNRV RNRVR",226:" 6LXNPVP RNTVT",227:" 6MWOOUU RUOOU",228:" 9MWRORU ROPUT RUPOT",229:" 6PURQRRSRSQRQ",230:" 7PUSMRORQSQSPRP",231:" 7PUSNRNRMSMSORQ",232:" 7LXSOVRSU RNRVR",233:" 12MXRLPW RULSW ROPVP ROSVS",234:" 21LXVRURTSSURVOVNUNSORRQSPSNRMPMONOPQSSUUVVV",235:" 20LXNNOQOSNV RVNUQUSVV RNNQOSOVN RNVQUSUVV",501:" 9I[RFJ[ RRFZ[ RMTWT",502:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",503:" 19H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV",504:" 16G\\KFK[ RKFRFUGWIXKYNYSXVWXUZR[K[",505:" 12H[LFL[ RLFYF RLPTP RL[Y[",506:" 9HZLFL[ RLFYF RLPTP",507:" 23H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZS RUSZS",508:" 9G]KFK[ RYFY[ RKPYP",509:" 3NVRFR[",510:" 11JZVFVVUYTZR[P[NZMYLVLT",511:" 9G\\KFK[ RYFKT RPOY[",512:" 6HYLFL[ RL[X[",513:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",514:" 9G]KFK[ RKFY[ RYFY[",515:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",516:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",517:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RSWY]",518:" 17G\\KFK[ RKFTFWGXHYJYLXNWOTPKP RRPY[",519:" 21H\\YIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",520:" 6JZRFR[ RKFYF",521:" 11G]KFKULXNZQ[S[VZXXYUYF",522:" 6I[JFR[ RZFR[",523:" 12F^HFM[ RRFM[ RRFW[ R\\FW[",524:" 6H\\KFY[ RYFK[",525:" 7I[JFRPR[ RZFRP",526:" 9H\\YFK[ RKFYF RK[Y[",527:" 9I[RFJ[ RRFZ[ RMTWT",528:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",529:" 6HYLFL[ RLFXF",530:" 9I[RFJ[ RRFZ[ RJ[Z[",531:" 12H[LFL[ RLFYF RLPTP RL[Y[",532:" 9H\\YFK[ RKFYF RK[Y[",533:" 9G]KFK[ RYFY[ RKPYP",534:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF ROPUP",535:" 3NVRFR[",536:" 9G\\KFK[ RYFKT RPOY[",537:" 6I[RFJ[ RRFZ[",538:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",539:" 9G]KFK[ RKFY[ RYFY[",540:" 9I[KFYF ROPUP RK[Y[",541:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",542:" 9G]KFK[ RYFY[ RKFYF",543:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",544:" 10I[KFRPK[ RKFYF RK[Y[",545:" 6JZRFR[ RKFYF",546:" 19I[KKKILGMFOFPGQIRMR[ RYKYIXGWFUFTGSIRM",547:" 21H\\RFR[ RPKMLLMKOKRLTMUPVTVWUXTYRYOXMWLTKPK",548:" 6H\\KFY[ RK[YF",549:" 18G]RFR[ RILJLKMLQMSNTQUSUVTWSXQYMZL[L",550:" 17H\\K[O[LTKPKLLINGQFSFVGXIYLYPXTU[Y[",551:" 20G[G[IZLWOSSLVFV[UXSUQSNQLQKRKTLVNXQZT[Y[",552:" 41F]SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFXFZG[I[KZMYNWOTP RSPTPWQXRYTYWXYWZU[R[PZOX",553:" 24H\\TLTMUNWNYMZKZIYGWFTFQGOIMLLNKRKVLYMZO[Q[TZVXWV",554:" 35G^TFRGQIPMOSNVMXKZI[G[FZFXGWIWKXMZP[S[VZXXZT[O[KZHYGWFTFRHRJSMUPWRZT\\U",555:" 28H\\VJVKWLYLZKZIYGVFRFOGNINLONPOSPPPMQLRKTKWLYMZP[S[VZXXYV",556:" 28H\\RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV RQPZP",557:" 29G^G[IZMVPQQNRJRGQFPFOGNINLONQOUOXNYMZKZQYVXXVZS[O[LZJXIVIT",558:" 38F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX RMRVOXN[L]J^H^G]F\\FZHXLVRUWUZV[W[YZZY\\V",559:" 25IZWVUTSQROQLQIRGSFUFVGWIWLVQTVSXQZO[M[KZJXJVKUMUOV",560:" 25JYT^R[PVOPOJPGRFTFUGVJVMURR[PaOdNfLgKfKdLaN^P\\SZWX",561:" 39F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX R^I^G]F\\FZGXIVLTNROPO RROSQSXTZU[V[XZYY[V",562:" 29I\\MRORSQVOXMYKYHXFVFUGTISNRSQVPXNZL[J[IZIXJWLWNXQZT[V[YZ[X",563:" 45@aEMCLBJBICGEFFFHGIIIKHPGTE[ RGTJLLHMGOFPFRGSISKRPQTO[ RQTTLVHWGYFZF\\G]I]K\\PZWZZ[[\\[^Z_YaV",564:" 32E]JMHLGJGIHGJFKFMGNINKMPLTJ[ RLTOLQHRGTFVFXGYIYKXPVWVZW[X[ZZ[Y]V",565:" 29H]TFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGVFTFRHRKSNUQWSZU\\V",566:" 31F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFZF\\G]H^J^M]O\\PZQWQUPTO",567:" 32H^ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[YZ[X",568:" 38F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFYF[G\\H]J]M\\O[PYQVQSPTQUSUXVZX[ZZ[Y]V",569:" 28H\\H[JZLXOTQQSMTJTGSFRFQGPIPKQMSOVQXSYUYWXYWZT[P[MZKXJVJT",570:" 25H[RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV",571:" 33E]JMHLGJGIHGJFKFMGNINKMOLRKVKXLZN[P[RZSYUUXMZF RXMWQVWVZW[X[ZZ[Y]V",572:" 32F]KMILHJHIIGKFLFNGOIOKNOMRLVLYM[O[QZTWVTXPYMZIZGYFXFWGVIVKWNYP[Q",573:" 25C_HMFLEJEIFGHFIFKGLILLK[ RUFK[ RUFS[ RaF_G\\JYNVTS[",574:" 36F^NLLLKKKILGNFPFRGSISLQUQXRZT[V[XZYXYVXUVU R]I]G\\FZFXGVITLPUNXLZJ[H[GZGX",575:" 38F]KMILHJHIIGKFLFNGOIOKNOMRLVLXMZN[P[RZTXVUWSYM R[FYMVWT]RbPfNgMfMdNaP^S[VY[V",576:" 40H]ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWTTWPZN[K[JZJXKWNWPXQYR[R^QaPcNfLgKfKdLaN^Q[TYZV",583:" 9I[JFR[ RZFR[ RJFZF",601:" 18I\\XMX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",602:" 18H[LFL[ RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",603:" 15I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX",604:" 18I\\XFX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",605:" 18I[LSXSXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX",606:" 9MYWFUFSGRJR[ ROMVM",607:" 23I\\XMX]W`VaTbQbOa RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",608:" 11I\\MFM[ RMQPNRMUMWNXQX[",609:" 9NVQFRGSFREQF RRMR[",610:" 12MWRFSGTFSERF RSMS^RaPbNb",611:" 9IZMFM[ RWMMW RQSX[",612:" 3NVRFR[",613:" 19CaGMG[ RGQJNLMOMQNRQR[ RRQUNWMZM\\N]Q][",614:" 11I\\MMM[ RMQPNRMUMWNXQX[",615:" 18I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM",616:" 18H[LMLb RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",617:" 18I\\XMXb RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",618:" 9KXOMO[ ROSPPRNTMWM",619:" 18J[XPWNTMQMNNMPNRPSUTWUXWXXWZT[Q[NZMX",620:" 9MYRFRWSZU[W[ ROMVM",621:" 11I\\MMMWNZP[S[UZXW RXMX[",622:" 6JZLMR[ RXMR[",623:" 12G]JMN[ RRMN[ RRMV[ RZMV[",624:" 6J[MMX[ RXMM[",625:" 10JZLMR[ RXMR[P_NaLbKb",626:" 9J[XMM[ RMMXM RM[X[",627:" 24H]QMONMPLRKUKXLZN[P[RZUWWTYPZM RQMSMTNUPWXXZY[Z[",628:" 31I\\UFSGQIOMNPMTLZKb RUFWFYHYKXMWNUORO RROTPVRWTWWVYUZS[Q[OZNYMV",629:" 17I\\JPLNNMOMQNROSRSVR[ RZMYPXRR[P_Ob",630:" 24I[TMQMONMPLSLVMYNZP[R[TZVXWUWRVOTMRKQIQGRFTFVGXI",631:" 19JZWOVNTMQMONOPPRSS RSSOTMVMXNZP[S[UZWX",632:" 23JYTFRGQHQIRJUKXK RXKTMQONRMUMWNYP[S]T_TaSbQbP`",633:" 19H\\IQJOLMNMONOPNTL[ RNTPPRNTMVMXOXRWWTb",634:" 27G\\HQIOKMMMNNNPMUMXNZO[Q[SZUWVUWRXMXJWGUFSFRHRJSMUPWRZT",635:" 9LWRMPTOXOZP[R[TYUW",636:" 19I[OMK[ RYNXMWMUNQROSNS RNSPTQUSZT[U[VZ",637:" 9JZKFMFOGPHX[ RRML[",638:" 21H]OMIb RNQMVMYO[Q[SZUXWT RYMWTVXVZW[Y[[Y\\W",639:" 14I[LMOMNSMXL[ RYMXPWRUURXOZL[",640:" 29JZTFRGQHQIRJUKXK RUKRLPMOOOQQSTTVT RTTPUNVMXMZO\\S^T_TaRbPb",641:" 18J[RMPNNPMSMVNYOZQ[S[UZWXXUXRWOVNTMRM",642:" 13G]PML[ RUMVSWXX[ RIPKNNM[M",643:" 19I[MSMVNYOZQ[S[UZWXXUXRWOVNTMRMPNNPMSIb",644:" 18I][MQMONMPLSLVMYNZP[R[TZVXWUWRVOUNSM",645:" 8H\\SMP[ RJPLNOMZM",646:" 16H\\IQJOLMNMONOPMVMYO[Q[TZVXXTYPYM",647:" 21G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb",648:" 14I[KMMMOOU`WbYb RZMYOWRM]K`Jb",649:" 20F]VFNb RGQHOJMLMMNMPLULXMZO[Q[TZVXXUZP[M",650:" 23F]NMLNJQITIWJZK[M[OZQW RRSQWRZS[U[WZYWZTZQYNXM",651:" 22L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXVRUWUZV[W[YZZY\\V",652:" 23M[MVOSRNSLTITGSFQGPIOMNTNZO[P[RZTXUUURVVWWYW[V",653:" 14MXTTTSSRQROSNTMVMXNZP[S[VYXV",654:" 24L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXZF RVRUWUZV[W[YZZY\\V",655:" 17NXOYQXRWSUSSRRQROSNUNXOZQ[S[UZVYXV",656:" 24OWOVSQUNVLWIWGVFTGSIQQNZKaJdJfKgMfNcOZP[R[TZUYWV",657:" 28L[UUTSRRPRNSMTLVLXMZO[Q[SZTY RVRTYPdOfMgLfLdMaP^S\\U[XY[V",658:" 29M\\MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUUXUZV[W[YZZY\\V",659:" 16PWSMSNTNTMSM RPVRRPXPZQ[R[TZUYWV",660:" 20PWSMSNTNTMSM RPVRRLdKfIgHfHdIaL^O\\Q[TYWV",661:" 33M[MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUTVQV RQVSWTZU[V[XZYY[V",662:" 18OWOVQSTNULVIVGUFSGRIQMPTPZQ[R[TZUYWV",663:" 33E^EVGSIRJSJTIXH[ RIXJVLSNRPRQSQTPXO[ RPXQVSSURWRXSXUWXWZX[Y[[Z\\Y^V",664:" 23J\\JVLSNROSOTNXM[ RNXOVQSSRURVSVUUXUZV[W[YZZY\\V",665:" 23LZRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXWXYWZV",666:" 24KZKVMSNQMUGg RMUNSPRRRTSUUUWTYSZQ[ RMZO[R[UZWYZV",667:" 27L[UUTSRRPRNSMTLVLXMZO[Q[SZ RVRUUSZPaOdOfPgRfScS\\U[XY[V",668:" 15MZMVOSPQPSSSTTTVSYSZT[U[WZXYZV",669:" 16NYNVPSQQQSSVTXTZR[ RNZP[T[VZWYYV",670:" 16OXOVQSSO RVFPXPZQ[S[UZVYXV RPNWN",671:" 19L[LVNRLXLZM[O[QZSXUU RVRTXTZU[V[XZYY[V",672:" 17L[LVNRMWMZN[O[RZTXUUUR RURVVWWYW[V",673:" 25I^LRJTIWIYJ[L[NZPX RRRPXPZQ[S[UZWXXUXR RXRYVZW\\W^V",674:" 20JZJVLSNRPRQSQZR[U[XYZV RWSVRTRSSOZN[L[KZ",675:" 23L[LVNRLXLZM[O[QZSXUU RVRPdOfMgLfLdMaP^S\\U[XY[V",676:" 23LZLVNSPRRRTTTVSXQZN[P\\Q^QaPdOfMgLfLdMaP^S\\WYZV",677:" 22J\\K[NZQXSVUSWOXKXIWGUFSGRHQJPOPTQXRZT[V[XZYY",683:" 26I[WUWRVOUNSMQMONMPLSLVMYNZP[R[TZVXWUXPXKWHVGTFRFPGNI",684:" 16JZWNUMRMPNNPMSMVNYOZQ[T[VZ RMTUT",685:" 23J[TFRGPJOLNOMTMXNZO[Q[SZUWVUWRXMXIWGVFTF RNPWP",686:" 21H\\VFNb RQMNNLPKSKVLXNZQ[S[VZXXYUYRXPVNSMQM",687:" 16I[XOWNTMQMNNMOLQLSMUOWSZT\\T^S_Q_",700:" 18H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF",701:" 5H\\NJPISFS[",702:" 15H\\LKLJMHNGPFTFVGWHXJXLWNUQK[Y[",703:" 16H\\MFXFRNUNWOXPYSYUXXVZS[P[MZLYKW",704:" 7H\\UFKTZT RUFU[",705:" 18H\\WFMFLOMNPMSMVNXPYSYUXXVZS[P[MZLYKW",706:" 24H\\XIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQLT",707:" 6H\\YFO[ RKFYF",708:" 30H\\PFMGLILKMMONSOVPXRYTYWXYWZT[P[MZLYKWKTLRNPQOUNWMXKXIWGTFPF",709:" 24H\\XMWPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLX",710:" 6MWRYQZR[SZRY",711:" 9MWSZR[QZRYSZS\\R^Q_",712:" 12MWRMQNROSNRM RRYQZR[SZRY",713:" 15MWRMQNROSNRM RSZR[QZRYSZS\\R^Q_",714:" 9MWRFRT RRYQZR[SZRY",715:" 21I[LKLJMHNGPFTFVGWHXJXLWNVORQRT RRYQZR[SZRY",716:" 3NVRFRM",717:" 6JZNFNM RVFVM",718:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",719:" 27H\\PBP_ RTBT_ RYIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",720:" 3G][BIb",721:" 11KYVBTDRGPKOPOTPYR]T`Vb",722:" 11KYNBPDRGTKUPUTTYR]P`Nb",723:" 3NVRBRb",724:" 3E_IR[R",725:" 6E_RIR[ RIR[R",726:" 6E_IO[O RIU[U",727:" 6G]KKYY RYKKY",728:" 9JZRLRX RMOWU RWOMU",729:" 6MWRQQRRSSRRQ",730:" 8MWSFRGQIQKRLSKRJ",731:" 8MWRHQGRFSGSIRKQL",732:" 9E_UMXP[RXTUW RIR[R",733:" 12H]SBLb RYBRb RLOZO RKUYU",734:" 35E_\\O\\N[MZMYNXPVUTXRZP[L[JZIYHWHUISJRQNRMSKSIRGPFNGMIMKNNPQUXWZY[[[\\Z\\Y",735:" 28G]IIJKKOKUJYI[ R[IZKYOYUZY[[ RIIKJOKUKYJ[I RI[KZOYUYYZ[[",737:" 6KYOBO[ RUBU[",738:" 6F^RBR[ RI[[[",739:" 4F^[BI[[[",740:" 18E_RIQJRKSJRI RIYHZI[JZIY R[YZZ[[\\Z[Y",741:" 33F^RHNLKPJSJUKWMXOXQWRU RRHVLYPZSZUYWWXUXSWRU RRUQYP\\ RRUSYT\\ RP\\T\\",742:" 26F^RNQKPINHMHKIJKJOKRLTNWR\\ RRNSKTIVHWHYIZKZOYRXTVWR\\",743:" 20F^RGPJLOIR RRGTJXO[R RIRLUPZR] R[RXUTZR]",744:" 48F^RTTWVXXXZW[U[SZQXPVPSQ RSQUOVMVKUISHQHOINKNMOOQQ RQQNPLPJQISIUJWLXNXPWRT RRTQYP\\ RRTSYT\\ RP\\T\\",745:" 55F^RRR[Q\\ RRVQ\\ RRIQHOHNINKONRR RRISHUHVIVKUNRR RRRNOLNJNIOIQJR RRRVOXNZN[O[QZR RRRNULVJVIUISJR RRRVUXVZV[U[SZR",746:" 55F^ISJSLTMVMXLZ RISIRJQLQMRNTNWMYLZ RRGPIOLOOQUQXPZR\\ RRGTIULUOSUSXTZR\\ R[S[RZQXQWRVTVWWYXZ R[SZSXTWVWXXZ RKVYV",750:" 18PSSRRSQSPRPQQPRPSQSSRUQV RQQQRRRRQQQ",751:" 16PTQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",752:" 9NVPOTU RTOPU RNRVR",753:" 28MWRKQMOPMR RRKSMUPWR RRMOQ RRMUQ RROPQ RROTQ RQQSQ RMRWR",754:" 26MWMRMQNOONQMSMUNVOWQWR RPNTN ROOUO RNPVP RNQVQ RMRWR",755:" 14LRLFLRRRLF RLIPQ RLLOR RLOMQ",756:" 10MWRKQMOPMR RRKSMUPWR",757:" 11MWWRWQVOUNSMQMONNOMQMR",758:" 13G]]R]P\\MZJWHTGPGMHJJHMGPGR",759:" 11MWMRMSNUOVQWSWUVVUWSWR",760:" 7LXLPNRQSSSVRXP",761:" 6RURUTTURTPRO",762:" 7RVRRUPVNVLUKTK",763:" 7NRRROPNNNLOKPK",764:" 21MWWHVGTFQFOGNHMJMLNNOOUSVTWVWXVZU[S\\P\\N[MZ",765:" 21G]IWHVGTGQHOINKMMMONPOTUUVWWYW[V\\U]S]P\\N[M",766:" 31G]RRTUUVWWYW[V\\U]S]Q\\O[NYMWMUNTOPUOVMWKWIVHUGSGQHOINKMMMONPORR",767:" 22H\\KFK[ RHF[FQP[Z RZV[Y\\[ RZVZY RWYZY RWYZZ\\[",768:" 30KYUARBPCNELHKLKRLUNWQXSXVWXUYR RKPLMNKQJSJVKXMYPYVXZV]T_R`Oa",796:" 3>f>RfR",797:" 3D`D``D",798:" 3RRR>Rf",799:" 3D`DD``",800:" 3D`DR`R",801:" 3F^FY^K",802:" 3KYK^YF",803:" 3RRRDR`",804:" 3KYKFY^",805:" 3F^FK^Y",806:" 3KYKRYR",807:" 3MWMWWM",808:" 3RRRKRY",809:" 3MWMMWW",810:" 8GRRGPGMHJJHMGPGR",811:" 8GRGRGTHWJZM\\P]R]",812:" 8R]R]T]W\\ZZ\\W]T]R",813:" 8R]]R]P\\MZJWHTGRG",814:" 9D`DOGQKSPTTTYS]Q`O",815:" 9PUUDSGQKPPPTQYS]U`",816:" 9OTODQGSKTPTTSYQ]O`",817:" 9D`DUGSKQPPTPYQ]S`U",818:" 5KYRJYNKVRZ",819:" 5JZJRNKVYZR",820:" 5KYKVKNYVYN",821:" 5JZLXJPZTXL",822:" 23JZJ]L]O\\Q[TXUVVSVOULTJSIQIPJOLNONSOVPXS[U\\X]Z]",823:" 23I]]Z]X\\U[SXPVOSNONLOJPIQISJTLUOVSVVUXT[Q\\O]L]J",824:" 23JZZGXGUHSIPLONNQNUOXPZQ[S[TZUXVUVQUNTLQIOHLGJG",825:" 23G[GJGLHOIQLTNUQVUVXUZT[S[QZPXOUNQNNOLPISHUGXGZ",826:" 21E[EPFRHTJUMVQVUUXSZP[NZLWLSMQNNPLSKVKYL\\M^",827:" 19EYETHVKWPWSVVTXQYNYLXKVKSLPNNQMTMYN\\P_",828:" 26OUQOOQOSQUSUUSUQSOQO RQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",829:" 11RWRMSMUNVOWQWSVUUVSWRW",830:" 9D`DRJR RORUR RZR`R",831:" 5D`DUDO`O`U",832:" 6JZRDJR RRDZR",833:" 9D`DR`R RJYZY RP`T`",834:" 9D`DR`R RDRRb R`RRb",840:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",841:" 6LXLLLXXXXLLL",842:" 5KYRJKVYVRJ",843:" 6LXRHLRR\\XRRH",844:" 12JZRIPOJOOSMYRUWYUSZOTORI",845:" 6KYRKRY RKRYR",846:" 6MWMMWW RWMMW",847:" 9MWRLRX RMOWU RWOMU",850:" 35NVQNOONQNSOUQVSVUUVSVQUOSNQN ROQOS RPPPT RQOQU RRORU RSOSU RTPTT RUQUS",851:" 27NVNNNVVVVNNN ROOOU RPOPU RQOQU RRORU RSOSU RTOTU RUOUU",852:" 17MWRLMUWURL RROOT RROUT RRRQT RRRST",853:" 17LULRUWUMLR RORTU RORTO RRRTS RRRTQ",854:" 17MWRXWOMORX RRUUP RRUOP RRRSP RRRQP",855:" 17OXXROMOWXR RURPO RURPU RRRPQ RRRPS",856:" 22LXRLNWXPLPVWRL RRRRL RRRLP RRRNW RRRVW RRRXP",857:" 11RYRKRY RRKYNRQ RSMVNSO",860:" 13MWRLRX ROOUO RMUOWQXSXUWWU",861:" 11LXRLRX RLQMOWOXQ RPWTW",862:" 14KYMNWX RWNMX ROLLOKQ RULXOYQ",863:" 18I[NII[ RVI[[ RMM[[ RWMI[ RNIVI RMMWM",864:" 21I[RGRV RMJWP RWJMP RIVL\\ R[VX\\ RIV[V RL\\X\\",865:" 11G[MJSV RKPSL RG\\[\\[RG\\",866:" 14LXPLPPLPLTPTPXTXTTXTXPTPTLPL",867:" 32KYYPXNVLSKQKNLLNKQKSLVNXQYSYVXXVYT RYPWNUMSMQNPOOQOSPUQVSWUWWVYT",868:" 10KYRJKVYVRJ RRZYNKNRZ",869:" 34G]PIPGQFSFTGTI RGZHXJVKTLPLKMJOIUIWJXKXPYTZV\\X]Z RGZ]Z RQZP[Q\\S\\T[SZ",870:" 64JZRMRS RRSQ\\ RRSS\\ RQ\\S\\ RRMQJPHNG RQJNG RRMSJTHVG RSJVG RRMNKLKJM RPLLLJM RRMVKXKZM RTLXLZM RRMPNOOOR RRMPOOR RRMTNUOUR RRMTOUR",871:" 94JZRIRK RRNRP RRSRU RRYQ\\ RRYS\\ RQ\\S\\ RRGQIPJ RRGSITJ RPJRITJ RRKPNNOMN RRKTNVOWN RNOPORNTOVO RRPPSNTLTKRKSLT RRPTSVTXTYRYSXT RNTPTRSTTVT RRUPXOYMZLZKYJWJYLZ RRUTXUYWZXZYYZWZYXZ RMZOZRYUZWZ",872:" 40JZRYQ\\ RRYS\\ RQ\\S\\ RRYUZXZZXZUYTWTYRZOYMWLUMVJUHSGQGOHNJOMMLKMJOKRMTKTJUJXLZOZRY",873:" 32JZRYQ\\ RRYS\\ RQ\\S\\ RRYVXVVXUXRZQZLYIXHVHTGPGNHLHKIJLJQLRLUNVNXRY",874:" 15I[IPKR RLKNP RRGRO RXKVP R[PYR",899:" 6QSRQQRRSSRRQ",900:" 10PTQPPQPSQTSTTSTQSPQP",901:" 14NVQNOONQNSOUQVSVUUVSVQUOSNQN",902:" 18MWQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM",903:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",904:" 22G]PGMHJJHMGPGTHWJZM\\P]T]W\\ZZ\\W]T]P\\MZJWHTGPG",905:" 34AcPALBJCGEEGCJBLAPATBXCZE]G_JaLbPcTcXbZa]__]aZbXcTcPbLaJ_G]EZCXBTAPA",906:" 34<hP<K=G?DAAD?G=K<P<T=Y?]A`DcGeKgPhThYg]e`cc`e]gYhThPgKeGcD`A]?Y=T<P<",907:" 50){O)I*E+@-;073370;-@+E*I)O)U*[+_-d0i3m7q;t@wEyIzO{U{[z_ydwitmqqmtiwdy_z[{U{OzIyEw@t;q7m3i0d-_+[*U)O)",908:" 34>fRAPCMDJDGCEA>H@JAMAZB]D_G`M`PaRc RRATCWDZD]C_AfHdJcMcZb]`_]`W`TaRc",909:" 33AcRAPCMDJDGCEABGAKAPBTDXG\\L`Rc RRATCWDZD]C_AbGcKcPbT`X]\\X`Rc RBHbH",997:" 3MWMXWX",998:" 3JZJZZZ",999:" 3JZJ]Z]",1001:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1002:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1003:" 24KYVLWKWOVLTKQKOLNMMPMSNVOWQXTXVWWU RQKOMNPNSOVQX",1004:" 26JZNKNX ROKOX RLKSKVLWMXPXSWVVWSXLX RSKULVMWPWSVVUWSX",1005:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1006:" 20JXNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXQX",1007:" 36K[VLWKWOVLTKQKOLNMMPMSNVOWQXTXVW RQKOMNPNSOVQX RTXUWVU RVSVX RWSWX RTSYS",1008:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1009:" 12NWRKRX RSKSX RPKUK RPXUX",1010:" 19LXSKSURWQX RTKTUSWQXPXNWMUNTOUNV RQKVK",1011:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1012:" 14KXOKOX RPKPX RMKRK RMXWXWTVX",1013:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1014:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1015:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1016:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1017:" 47KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RPWPUQTSTTUUZV[W[XZ RTUUXVZW[",1018:" 37JZNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX RSRTSUWVXWXXW RSRUSVWWX",1019:" 32KZVMWKWOVMULSKQKOLNMNOOPQQTRVSWT RNNOOQPTQVRWSWVVWTXRXPWOVNTNXOV",1020:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1021:" 20J[NKNUOWQXTXVWWUWK ROKOUPWQX RLKQK RUKYK",1022:" 15KYMKRX RNKRU RWKRX RKKPK RTKYK",1023:" 24I[LKOX RMKOT RRKOX RRKUX RSKUT RXKUX RJKOK RVKZK",1024:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1025:" 20LYNKRRRX ROKSR RWKSRSX RLKQK RTKYK RPXUX",1026:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1027:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1028:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1029:" 14KXOKOX RPKPX RMKWKWOVK RMXRX",1030:" 15KYRKLX RRMWX RRKXX RMWVW RLXXX",1031:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1032:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1033:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1034:" 44KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RQOQT RTOTT RQQTQ RQRTR",1035:" 12NWRKRX RSKSX RPKUK RPXUX",1036:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1037:" 15KYRKMX RRNVX RRKWX RKXPX RTXYX",1038:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1039:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1040:" 36JZMJLM RXJWM RPPOS RUPTS RMVLY RXVWY RMKWK RMLWL RPQTQ RPRTR RMWWW RMXWX",1041:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1042:" 21J[NKNX ROKOX RVKVX RWKWX RLKYK RLXQX RTXYX",1043:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1044:" 20K[MKRQ RNKSQMX RMKWKXOVK RNWWW RMXWXXTVX",1045:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1046:" 33KZMONLOKPKQLRORX RXOWLVKUKTLSOSX RMONMOLPLQMRO RXOWMVLULTMSO RPXUX",1047:" 40KZRKRX RSKSX RQNNOMQMRNTQUTUWTXRXQWOTNQN RQNOONQNROTQU RTUVTWRWQVOTN RPKUK RPXUX",1048:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1049:" 33J[RKRX RSKSX RLPMONOOSQU RTUVSWOXOYP RMONROTQUTUVTWRXO RPKUK RPXUX",1050:" 35KZMVNXQXMRMONMOLQKTKVLWMXOXRTXWXXV ROUNRNOOMQK RTKVMWOWRVU RNWPW RUWWW",1051:" 18KYTKKX RSMTX RTKUX RNTTT RIXNX RRXWX",1052:" 34JYPKLX RQKMX RNKUKWLWNVPSQ RUKVLVNUPSQ ROQRQTRUSUUTWQXJX RRQTSTUSWQX",1053:" 25KXVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUU RRKPMOONRNVPX",1054:" 26JYPKLX RQKMX RNKTKVLWNWQVTUVTWQXJX RTKULVNVQUTTVSWQX",1055:" 22JYPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXTXUUSX",1056:" 20JXPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXOX",1057:" 33KYVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUVVS RRKPMOONRNVPX RRXTVUS RSSXS",1058:" 27J[PKLX RQKMX RXKTX RYKUX RNKSK RVK[K ROQVQ RJXOX RRXWX",1059:" 12NWTKPX RUKQX RRKWK RNXSX",1060:" 19LXUKRUQWPX RVKSURWPXOXMWLUMTNUMV RSKXK",1061:" 27JZPKLX RQKMX RYKOR RRPTX RSPUX RNKSK RVK[K RJXOX RRXWX",1062:" 14KXQKMX RRKNX ROKTK RKXUXVUTX",1063:" 30I\\OKKX ROMPX RPKQV RYKPX RYKUX RZKVX RMKPK RYK\\K RIXMX RSXXX",1064:" 21JZPKLX RPKTX RQKTU RXKTX RNKQK RVKZK RJXNX",1065:" 32KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK",1066:" 24JYPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RJXOX",1067:" 46KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK ROWOVPUQURVRZS[T[UZ RRVSZT[",1068:" 35JZPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RSRTWUXVXWW RSRTSUWVX RJXOX",1069:" 28KZWLXLYKXNWLUKRKPLOMOOPPUSVT RONPOURVSVVUWSXPXNWMULXMWNW",1070:" 16KZTKPX RUKQX RPKNNOKZKYNYK RNXSX",1071:" 20J[PKMUMWOXSXUWVUYK RQKNUNWOX RNKSK RWK[K",1072:" 15KYOKPX RPKQV RYKPX RMKRK RVK[K",1073:" 24I[NKMX ROKNV RTKMX RTKSX RUKTV RZKSX RLKQK RXK\\K",1074:" 21KZPKTX RQKUX RYKLX RNKSK RVK[K RJXOX RRXWX",1075:" 20LYPKRQPX RQKSQ RYKSQQX RNKSK RVK[K RNXSX",1076:" 16LYXKLX RYKMX RQKONPKYK RLXUXVUTX",1101:" 32LZQOPPPQOQOPQOTOVQVWWXXX RTOUQUWWX RURRSPTOUOWPXSXTWUU RRSPUPWQX",1102:" 29JYNKNX ROKOX RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLKOK",1103:" 24LXVQUQURVRVQUPSOQOOPNRNUOWQXSXUWVV RQOPPOROUPWQX",1104:" 32L[VKVX RWKWX RVRUPSOQOOPNRNUOWQXSXUWVU RQOPPOROUPWQX RTKWK RVXYX",1105:" 26LXOSVSVRUPSOQOOPNRNUOWQXSXUWVV RUSUQSO RQOPPOROUPWQX",1106:" 20LWTKULUMVMVLTKRKPMPX RRKQMQX RNOSO RNXSX",1107:" 42LYQOOQOSQUSUUSUQSOQO RQOPQPSQU RSUTSTQSO RTPUOVO RPTOUOXPYTYVZ ROWPXTXVYV[T\\P\\N[NYPX",1108:" 28J[NKNX ROKOX RORPPROTOVPWRWX RTOUPVRVX RLKOK RLXQX RTXYX",1109:" 18NWRKRLSLSKRK RRORX RSOSX RPOSO RPXUX",1110:" 23NWSKSLTLTKSK RSOSZR\\ RTOTZR\\P\\O[OZPZP[O[ RQOTO",1111:" 27JZNKNX ROKOX RWOOU RRSVX RSSWX RLKOK RTOYO RLXQX RTXYX",1112:" 12NWRKRX RSKSX RPKSK RPXUX",1113:" 44F_JOJX RKOKX RKRLPNOPORPSRSX RPOQPRRRX RSRTPVOXOZP[R[X RXOYPZRZX RHOKO RHXMX RPXUX RXX]X",1114:" 28J[NONX ROOOX RORPPROTOVPWRWX RTOUPVRVX RLOOO RLXQX RTXYX",1115:" 28LYQOOPNRNUOWQXTXVWWUWRVPTOQO RQOPPOROUPWQX RTXUWVUVRUPTO",1116:" 32JYNON\\ ROOO\\ RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLOOO RL\\Q\\",1117:" 29KYUOU\\ RVOV\\ RURTPROPONPMRMUNWPXRXTWUU RPOOPNRNUOWPX RS\\X\\",1118:" 22KXOOOX RPOPX RPRQPSOUOVPVQUQUPVP RMOPO RMXRX",1119:" 26LYTOUPUQVQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWOVPVPWQX",1120:" 14LWPKPVRXTXUWUV RQKQVRX RNOTO",1121:" 28J[NONUOWQXSXUWVU ROOOUPWQX RVOVX RWOWX RLOOO RTOWO RVXYX",1122:" 15KYNORX ROORV RVORX RLOQO RTOXO",1123:" 24I[LOOX RMOOU RROOX RROUX RSOUU RXOUX RJOOO RVOZO",1124:" 21KYNOUX ROOVX RVONX RLOQO RTOXO RLXPX RSXXX",1125:" 23KYNORX ROORV RVORXP[N\\M\\L[LZMZM[L[ RLOQO RTOXO",1126:" 16LXUONX RVOOX ROONQNOVO RNXVXVVUX",1127:" 32K[QOOPNQMSMUNWPXQXSWUUWRXO RQOOQNSNUOWPX RQOSOUPWWXX RSOTPVWXXYX",1128:" 40KXRKPMOOMUK\\ RQLPNNTL\\ RRKTKVLVNUPRQ RTKULUNTPRQ RRQTRUTUVTWRXQXOWNT RRQSRTTTVRX",1129:" 19KYLQNOPORPSSSXR\\ RLQNPPPRQSS RWOVRSXQ\\",1130:" 39KYSOQOOPNQMSMUNWPXRXTWUVVTVRUPRNQLQKRJTJUKVM RQOOQNSNVPX RRXTVUTUQSO RQLRKTKVM",1131:" 27LXVPTOQOOPOQPRRS RQOPPPQRS RRSOTNUNWPXSXUW RRSPTOUOWPX",1132:" 28LWRKQLQMSNVNVMSNPOOPNRNTOVPWRXSYS[R\\P\\O[ RSNQOPPOROTPVRX",1133:" 26IYJRKPLONOOPOQMX RMONPNQLX ROQPPROTOVPVRS\\ RTOUPURR\\",1134:" 35IYJSKQLPNPOQOVPX RMPNQNUOWPXQXSWTVUTVQVNULTKRKQLQNRPURWS RQXSVTTUQUNTK",1135:" 13NWROPVPWQXSXUWVU RSOQVQWRX",1136:" 26KYOOLX RPOMX RUOVPWPVOTORQOR RORPSRWTXVWWU RORQSSWTX",1137:" 15LXLKNKPLWX RNKOLVX RRPMX RRPNX",1138:" 26KZOOK\\ RPOL\\ RNUNWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1139:" 19JYNOMX ROONUMX RVRVOWOVRTUQWNXMX RLOOO",1140:" 36MXRKQLQMSNVN RTNQOPPPRRSUS RTNROQPQRRS RSSPTOUOWQXSYTZT[S\\Q\\ RSSQTPUPWQX",1141:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1142:" 20IZPPMX RPPNX RTPSX RTPTX RKQMOXO RKQMPXP",1143:" 29JXSOQOOPNQMSJ\\ RQOOQNSK\\ RSOUPVRVTUVTWRXPXNWMU RSOUQUTTVRX",1144:" 28K[YOQOOPNQMSMUNWPXRXTWUVVTVRUPYP RQOOQNSNVPX RRXTVUTUQSO",1145:" 14KZSPQX RSPRX RMQOOXO RMQOPXP",1146:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1147:" 35KZOPNQMSMUNWPXRXUWWUXRXPWOUOTPSRRUO\\ RMUNVPWRWUVWTXR RXQWPUPSR RRUQXP\\",1148:" 17KXMONOPPS[T\\ RNOOPR[T\\U\\ RVOTRNYL\\",1149:" 28I[TKQ\\ RUKP\\ RJRKPLONOOPOVPWSWUVWT RMONPNTOWPXSXUWWTXRYO",1150:" 36JZNPPPPONPMQLSLUMWNXPXQWRUSR RLUNWPWRU RRRRWSXUXWVXTXRWPVOVPWP RRUSWUWWV",1151:" 32KZVOTVTWUXWXXWYU RWOUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1152:" 32JXOKMR RPKNRNVPX RNROPQOSOUPVRVTUVTWRXPXNWMUMR RSOUQUTTVRX RMKPK",1153:" 22KXUPUQVQUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1154:" 35KZWKTVTWUXWXXWYU RXKUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RUKXK",1155:" 23KWNURTTSURUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1156:" 23MXWKXLXKVKTLSNPYO[N\\ RVKULTNQYP[N\\L\\L[M\\ RPOVO",1157:" 34KYVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1158:" 29KZPKLX RQKMX ROQPPROTOVPVRUUUWVX RTOUPURTUTWUXWXXWYU RNKQK",1159:" 26MWSKSLTLTKSK RNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1160:" 26MWTKTLULUKTK RORPPQOSOTPTRRYQ[O\\M\\M[N\\ RROSPSRQYP[O\\",1161:" 32KXPKLX RQKMX RVPUQVQVPUOTORQPROR RORPSQWRXTXUWVU RORQSRWSX RNKQK",1162:" 16NVSKPVPWQXSXTWUU RTKQVQWRX RQKTK",1163:" 46F^GRHPIOKOLPLQJX RJOKPKQIX RLQMPOOQOSPSQQX RQORPRQPX RSQTPVOXOZPZRYUYWZX RXOYPYRXUXWYX[X\\W]U",1164:" 33J[KRLPMOOOPPPQNX RNOOPOQMX RPQQPSOUOWPWRVUVWWX RUOVPVRUUUWVXXXYWZU",1165:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1166:" 35JYKRLPMOOOPPPQM\\ RNOOPOQL\\ RPQROTOVPWRWTVVUWSXQXOVOT RTOVQVTUVSX RJ\\O\\",1167:" 28KYVOR\\ RWOS\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RP\\U\\",1168:" 22LXMRNPOOQORPRQPX RPOQPQQOX RRQSPUOVOWPWQVQWP",1169:" 24LYVPVQWQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWNVOVOW",1170:" 16NWSKPVPWQXSXTWUU RTKQVQWRX RPOUO",1171:" 33IZJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1172:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1173:" 37H\\IRJPKOMONPNRMUMWNX RLOMPMRLULWNXOXQWRV RTORVRWTX RUOSVSWTXUXWWYUZRZOYOZP",1174:" 38JZMRNPPOROSPSR RQORPRRQUPWNXMXLWLVMVLW RXPWQXQXPWOVOTPSRRURWSX RQUQWRXTXVWWU",1175:" 35IYJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\",1176:" 27KYWOWPVQNVMWMX RNQOOROUQ ROPRPUQVQ RNVOVRWUW ROVRXUXVV",1177:" 39H[RKSLSMTMTLRKOKMLLNLX ROKNLMNMX RXKYLYMZMZLXKVKTMTX RVKUMUX RJOWO RJXOX RRXWX",1178:" 29J[UKVLWLWKQKOLNNNX RQKPLONOX RVOVX RWOWX RLOWO RLXQX RTXYX",1179:" 27J[WKQKOLNNNX RQKPLONOX RUKVLVX RWKWX RLOVO RLXQX RTXYX",1180:" 48F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX RYKZL[L[KUKSLRNRX RUKTLSNSX RZOZX R[O[X RHO[O RHXMX RPXUX RXX]X",1181:" 46F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX R[KUKSLRNRX RUKTLSNSX RYKZLZX R[K[X RHOZO RHXMX RPXUX RXX]X",1182:" 12NWRORX RSOSX RPOSO RPXUX",1184:" 21LXVPTOROPPOQNSNUOWQXSXUW RROPQOSOVQX ROSSS",1185:" 35LYSKQLPMOONRNUOWPXRXTWUVVTWQWNVLUKSK RSKQMPOOSOVPX RRXTVUTVPVMUK ROQVQ",1186:" 34KZTKQ\\ RUKP\\ RQONPMRMUNWQXTXWWXUXRWPTOQO RQOOPNRNUOWQX RTXVWWUWRVPTO",1187:" 22LXUPVRVQUPSOQOOPNRNTOVRX RQOOQOTPVRXSYS[R\\P\\",1191:" 45I[VKWLXLVKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RZK[L[KYKWLVNSYR[Q\\ RYKXLWNTYS[Q\\O\\O[P\\ RLOYO",1192:" 38IZVKWLXLXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RVOTVTWUXWXXWYU RWOUVUWVX RLOWO",1193:" 38IZVKWL RXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RWKTVTWUXWXXWYU RXKUVUWVX RLOVO",1194:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L\\L\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ RZOXVXWYX[X\\W]U R[OYVYWZX RIO[O",1195:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L R\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ R[KXVXWYX[X\\W]U R\\KYVYWZX RIOZO",1196:" 20MWNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1200:" 28LYQKOLNONTOWQXTXVWWTWOVLTKQK RQKPLOOOTPWQX RTXUWVTVOULTK",1201:" 10LYPNSKSX RRLRX ROXVX",1202:" 35LYOMONNNNMOLQKTKVLWNVPTQQROSNUNX RTKULVNUPTQ RNWOVPVSWVWWV RPVSXVXWVWU",1203:" 39LYOMONNNNMOLQKTKVLWNVPTQ RTKULVNUPTQ RRQTQVRWTWUVWTXQXOWNVNUOUOV RTQURVTVUUWTX",1204:" 13LYSMSX RTKTX RTKMTXT RQXVX",1205:" 33LYOKNQ ROKVK ROLSLVK RNQOPQOTOVPWRWUVWTXQXOWNVNUOUOV RTOUPVRVUUWTX",1206:" 36LYVMVNWNWMVLTKRKPLOMNPNUOWQXTXVWWUWSVQTPQPNR RRKPMOPOUPWQX RTXUWVUVSUQTP",1207:" 22LYNKNO RVMRTPX RWKTQQX RNMPKRKUM RNMPLRLUMVM",1208:" 51LYQKOLNNOPQQTQVPWNVLTKQK RQKPLONPPQQ RTQUPVNULTK RQQORNTNUOWQXTXVWWUWTVRTQ RQQPROTOUPWQX RTXUWVUVTURTQ",1209:" 36LYOVOUNUNVOWQXSXUWVVWSWNVLTKQKOLNNNPORQSTSWQ RSXUVVSVNULTK RQKPLONOPPRQS",1210:" 6NVRVQWRXSWRV",1211:" 8NVSWRXQWRVSWSYQ[",1212:" 12NVROQPRQSPRO RRVQWRXSWRV",1213:" 14NVROQPRQSPRO RSWRXQWRVSWSYQ[",1214:" 15NVRKQLRSSLRK RRLRO RRVQWRXSWRV",1215:" 29LYNNONOONONNOLQKTKVLWNWOVQSRRSRTST RTKVMVPUQSR RRWRXSXSWRW",1216:" 6OVRKRP RSKRP",1217:" 12LXOKOP RPKOP RUKUP RVKUP",1218:" 10MWQKPLPNQOSOTNTLSKQK",1219:" 9MWRJRP ROKUO RUKOO",1220:" 3KZXHM\\",1221:" 16MWUHSJQMPPPTQWSZU\\ RSJRLQPQTRXSZ",1222:" 16MWOHQJSMTPTTSWQZO\\ RQJRLSPSTRXQZ",1223:" 12MWPHP\\ RQHQ\\ RPHUH RP\\U\\",1224:" 12MWSHS\\ RTHT\\ ROHTH RO\\T\\",1225:" 38LWSHQIPJPLRNSP RQIPL RSNRQ RPJQLSNSPRQPRRSSTSVQXPZ RRSSV RPXQ[ RSTRVPXPZQ[S\\",1226:" 38MXQHSITJTLRNQP RSITL RQNRQ RTJSLQNQPRQTRRSQTQVSXTZ RRSQV RTXS[ RQTRVTXTZS[Q\\",1227:" 4MWTHPRT\\",1228:" 4MWPHTRP\\",1229:" 3OURHR\\",1230:" 6MWPHP\\ RTHT\\",1231:" 3I[LRXR",1232:" 6I[RLRX RLRXR",1233:" 9JZRMRX RMRWR RMXWX",1234:" 9JZRMRX RMMWM RMRWR",1235:" 6JZMMWW RWMMW",1236:" 6NVRQQRRSSRRQ",1237:" 15I[RLQMRNSMRL RLRXR RRVQWRXSWRV",1238:" 6I[LPXP RLTXT",1239:" 9I[WLMX RLPXP RLTXT",1240:" 9I[LNXN RLRXR RLVXV",1241:" 4JZWLMRWX",1242:" 4JZMLWRMX",1243:" 10JZWKMOWS RMTWT RMXWX",1244:" 10JZMKWOMS RMTWT RMXWX",1245:" 21H[YUWUUTTSRPQOONNNLOKQKRLTNUOUQTRSTPUOWNYN",1246:" 16JZLTLRMPOPUSWSXR RLRMQOQUTWTXRXP",1247:" 8JZMSRPWS RMSRQWS",1248:" 7NVSKPO RSKTLPO",1249:" 7NVQKTO RQKPLTO",1250:" 14LXNKOMQNSNUMVK RNKONQOSOUNVK",1251:" 8NVSLRMQLRKSLSNQP",1252:" 8NVSKQMQORPSORNQO",1253:" 8NVQLRMSLRKQLQNSP",1254:" 8NVQKSMSORPQORNSO",1256:" 11JZWMQMONNOMQMSNUOVQWWW",1257:" 11JZMMMSNUOVQWSWUVVUWSWM",1258:" 11JZMMSMUNVOWQWSVUUVSWMW",1259:" 11JZMWMQNOONQMSMUNVOWQWW",1260:" 14JZWMQMONNOMQMSNUOVQWWW RMRUR",1261:" 13I[TOUPXRUTTU RUPWRUT RLRWR",1262:" 13MWRMRX ROPPORLTOUP RPORMTO",1263:" 13I[POOPLROTPU ROPMROT RMRXR",1264:" 13MWRLRW ROTPURXTUUT RPURWTU",1265:" 37KYVSUPSOQOOPNQMSMUNWPXRXTWUVVTWQWNVLTKQKPLQLRK RQOOQNSNVPX RRXTVUTVQVNULTK",1266:" 15JZLKRX RMKRV RXKRX RLKXK RNLWL",1267:" 10G[IOLORW RKORX R[FRX",1268:" 26I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[",1269:" 40I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[ RQNOONQNSOUQVSVUUVSVQUOSNQN",1270:" 26H\\ZRYTWUVUTTSSQPPONNMNKOJQJRKTMUNUPTQSSPTOVNWNYOZQZR",1271:" 26JZXKLX ROKPLPNOOMOLNLLMKOKSLVLXK RUTTUTWUXWXXWXUWTUT",1272:" 41J[YPXPXQYQYPXOWOVPUTTVSWQXOXMWLVLTMSORRPSNSLRKPKOLONPQUWWXXXYW ROXMVMTOR RONPPVWWX",1273:" 29J[UPSOQOPQPRQTSTUS RUOUSVTXTYRYQXNVLSKRKOLMNLQLRMUOWRXSXVW",1274:" 34KZQHQ\\ RTHT\\ RWLVLVMWMWLUKPKNLNNOPVSWT RNNOOVRWTWVVWTXQXOWNVNUOUOVNV",1275:" 12KYRKN\\ RVKR\\ RNQWQ RMVVV",1276:" 40LXTLSLSMTMTLSKQKPLPNQPTRUS RPNQOTQUSUUSW RQPOROTPVSXTY ROTPUSWTYT[S\\Q\\P[PZQZQ[P[",1277:" 29LXRKQLRMSLRK RRMRQ RRQQSRVSSRQ RRVR\\ RPOONNOOPPOTOUNVOUPTO",1278:" 42LXRMSLRKQLRMRQQRSURV RRQSRQURVRZQ[R\\S[RZ RPOONNOOPPOTOUNVOUPTO RPXOWNXOYPXTXUWVXUYTX",1279:" 12LYVKVX RNKVK RQQVQ RNXVX",1281:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRQQRRSSRRQ",1282:" 33LYQKPLPMQN RTKULUMTN RRNPOOQORPTRUSUUTVRVQUOSNRN RRURY RSUSY ROWVW",1283:" 23LYRKPLONOOPQRRSRUQVOVNULSKRK RRRRX RSRSX ROUVU",1284:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRKRY RKRYR",1285:" 25JYRRPQOQMRLTLUMWOXPXRWSUSTRR RWMRR RRMWMWR RRMVNWR",1286:" 25JZLLMKOKQLRNRPQRPSNT ROKPLQNQQPS RVKUX RWKTX RNTXT",1287:" 27JYNKNU ROKNR RNROPQOSOUPVQVTTVTXUYVYWX RSOUQUTTV RLKOK",1288:" 27LYONRKRQ RVNSKSQ RRQPROTOUPWRXSXUWVUVTURSQ RRTRUSUSTRT",1289:" 27JZRKRY RMKMPNRPSTSVRWPWK RLMMKNM RQMRKSM RVMWKXM ROVUV",1290:" 27JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXVXVUUX",1291:" 20LYWKTKQLONNQNSOVQXTYWY RWKTLRNQQQSRVTXWY",1292:" 23JZRRPQOQMRLTLUMWOXPXRWSUSTRR RSLQQ RWMRR RXQSS",1293:" 12KYPMTW RTMPW RMPWT RWPMT",1294:" 34J[OUMULVLXMYOYPXPVNTMRMONMOLQKTKVLWMXOXRWTUVUXVYXYYXYVXUVU RNMPLULWM",1295:" 34J[OOMOLNLLMKOKPLPNNPMRMUNWOXQYTYVXWWXUXRWPUNULVKXKYLYNXOVO RNWPXUXWW",1401:" 21F^KHK\\ RLHL\\ RXHX\\ RYHY\\ RHH\\H RH\\O\\ RU\\\\\\",1402:" 20H]KHRQJ\\ RJHQQ RJHYHZMXH RK[X[ RJ\\Y\\ZWX\\",1403:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",1404:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",1405:" 12KYOBOb RPBPb ROBVB RObVb",1406:" 12KYTBTb RUBUb RNBUB RNbUb",1407:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",1408:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",1409:" 24KYU@RCPFOIOLPOSVTYT\\S_Ra RRCQEPHPKQNTUUXU[T^RaOd",1410:" 24KYO@RCTFUIULTOQVPYP\\Q_Ra RRCSETHTKSNPUOXO[P^RaUd",1411:" 13AXCRGRR` RGSRa RFSRb RX:Rb",1412:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2001:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2002:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2003:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2004:" 30G]LFL[ RMFM[ RIFSFVGXIYKZNZSYVXXVZS[I[ RSFUGWIXKYNYSXVWXUZS[",2005:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2006:" 20G[LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[P[",2007:" 40G^XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXX RQFOGMILKKNKSLVMXOZQ[ RXSX[ RYSY[ RUS\\S",2008:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2009:" 12MXRFR[ RSFS[ ROFVF RO[V[",2010:" 20KZUFUWTZR[P[NZMXMVNUOVNW RTFTWSZR[ RQFXF",2011:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2012:" 14I[NFN[ ROFO[ RKFRF RK[Z[ZUY[",2013:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2014:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2015:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2016:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2017:" 64G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF RNYNXOVQURUTVUXV_W`Y`Z^Z] RUXV\\W^X_Y_Z^",2018:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUPMP RUFWGXHYJYLXNWOUP RI[P[ RRPTQURXYYZZZ[Y RTQUSWZX[Z[[Y[X",2019:" 34H\\XIYFYLXIVGSFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[Q[NZLXKUK[LX",2020:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2021:" 23F^KFKULXNZQ[S[VZXXYUYF RLFLUMXOZQ[ RHFOF RVF\\F",2022:" 15H\\KFR[ RLFRX RYFR[ RIFOF RUF[F",2023:" 24F^JFN[ RKFNV RRFN[ RRFV[ RSFVV RZFV[ RGFNF RWF]F",2024:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2025:" 20H]KFRQR[ RLFSQS[ RZFSQ RIFOF RVF\\F RO[V[",2026:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2027:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2028:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2029:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2030:" 15H\\RFJ[ RRFZ[ RRIY[ RKZYZ RJ[Z[",2031:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2032:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2033:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2034:" 56G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF ROMOT RUMUT ROPUP ROQUQ",2035:" 12MXRFR[ RSFS[ ROFVF RO[V[",2036:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2037:" 15H\\RFK[ RRFY[ RRIX[ RI[O[ RU[[[",2038:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2039:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2040:" 36G]KEJJ RZEYJ RONNS RVNUS RKWJ\\ RZWY\\ RKGYG RKHYH ROPUP ROQUQ RKYYY RKZYZ",2041:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2042:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2043:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2044:" 20H]KFRPJ[ RJFQP RJFYFZLXF RKZXZ RJ[Y[ZUX[",2045:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2046:" 33I\\KKKILGMFOFPGQIRMR[ RKIMGOGQI RZKZIYGXFVFUGTISMS[ RZIXGVGTI RO[V[",2047:" 48H]RFR[ RSFS[ RPKMLLMKOKRLTMUPVUVXUYTZRZOYMXLUKPK RPKNLMMLOLRMTNUPV RUVWUXTYRYOXMWLUK ROFVF RO[V[",2048:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2049:" 41G^RFR[ RSFS[ RIMJLLMMQNSOTQU RJLKMLQMSNTQUTUWTXSYQZM[L RTUVTWSXQYM[L\\M ROFVF RO[V[",2050:" 43G]JXK[O[MWKSJPJLKIMGPFTFWGYIZLZPYSWWU[Y[ZX RMWLTKPKLLINGPF RTFVGXIYLYPXTWW RKZNZ RVZYZ",2051:" 18H\\UFH[ RUFV[ RTHU[ RLUUU RF[L[ RR[X[",2052:" 41F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVP RWFYGZIZKYNXOVP RMPVPXQYSYUXXVZR[F[ RVPWQXSXUWXUZR[",2053:" 34H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RTFRGPINLMOLSLVMYNZP[",2054:" 30F]OFI[ RPFJ[ RLFUFXGYHZKZOYSWWUYSZO[F[ RUFWGXHYKYOXSVWTYRZO[",2055:" 22F]OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[U[WVT[",2056:" 20F\\OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[M[",2057:" 42H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RTFRGPINLMOLSLVMYNZP[ RR[TZVXXT RUT\\T",2058:" 27E_NFH[ ROFI[ R[FU[ R\\FV[ RKFRF RXF_F RLPXP RE[L[ RR[Y[",2059:" 12LYUFO[ RVFP[ RRFYF RL[S[",2060:" 21I[XFSWRYQZO[M[KZJXJVKULVKW RWFRWQYO[ RTF[F",2061:" 27F]OFI[ RPFJ[ R]FLS RSOW[ RROV[ RLFSF RYF_F RF[M[ RS[Y[",2062:" 14H\\QFK[ RRFL[ RNFUF RH[W[YUV[",2063:" 30E`NFH[ RNFO[ ROFPY R\\FO[ R\\FV[ R]FW[ RKFOF R\\F`F RE[K[ RS[Z[",2064:" 21F_OFI[ ROFVX ROIV[ R\\FV[ RLFOF RYF_F RF[L[",2065:" 42G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF",2066:" 27F]OFI[ RPFJ[ RLFXF[G\\I\\K[NYPUQMQ RXFZG[I[KZNXPUQ RF[M[",2067:" 61G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF RLYLXMVOUPURVSXS_T`V`W^W] RSXT^U_V_W^",2068:" 42F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVPMP RWFYGZIZKYNXOVP RRPTQURVZW[Y[ZYZX RURWYXZYZZY RF[M[",2069:" 35G^ZH[H\\F[L[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJUI[JYKY",2070:" 16H]UFO[ RVFP[ ROFLLNF]F\\L\\F RL[S[",2071:" 25F_NFKQJUJXKZN[R[UZWXXU\\F ROFLQKUKXLZN[ RKFRF RYF_F",2072:" 15H\\NFO[ ROFPY R\\FO[ RLFRF RXF^F",2073:" 24E_MFK[ RNFLY RUFK[ RUFS[ RVFTY R]FS[ RJFQF RZF`F",2074:" 21G]NFU[ ROFV[ R\\FH[ RLFRF RXF^F RF[L[ RR[X[",2075:" 20H]NFRPO[ ROFSPP[ R]FSP RLFRF RYF_F RL[S[",2076:" 16G][FH[ R\\FI[ ROFLLNF\\F RH[V[XUU[",2077:" 46H\\KILKXWYYY[ RLLXX RKIKKLMXYY[ RPPLTKVKXLZK[ RKVMZ RLTLVMXMZK[ RSSXN RVIVLWNYNYLWKVI RVIWLYN",2101:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2102:" 33G\\LFL[ RMFM[ RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIFMF",2103:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2104:" 36H]WFW[ RXFX[ RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTFXF RW[[[",2105:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2106:" 22KXUGTHUIVHVGUFSFQGPIP[ RSFRGQIQ[ RMMUM RM[T[",2107:" 60I\\QMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM RONNPNTOV RUVVTVPUN RVOWNYMYNWN RNUMVLXLYM[P\\U\\X]Y^ RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[",2108:" 28G]LFL[ RMFM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIFMF RI[P[ RT[[[",2109:" 18MXRFQGRHSGRF RRMR[ RSMS[ ROMSM RO[V[",2110:" 25MXSFRGSHTGSF RTMT_SaQbObNaN`O_P`Oa RSMS_RaQb RPMTM",2111:" 27G\\LFL[ RMFM[ RWMMW RRSX[ RQSW[ RIFMF RTMZM RI[P[ RT[Z[",2112:" 12MXRFR[ RSFS[ ROFSF RO[V[",2113:" 44BcGMG[ RHMH[ RHPJNMMOMRNSPS[ ROMQNRPR[ RSPUNXMZM]N^P^[ RZM\\N]P][ RDMHM RD[K[ RO[V[ RZ[a[",2114:" 28G]LML[ RMMM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIMMM RI[P[ RT[[[",2115:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2116:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2117:" 33H\\WMWb RXMXb RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTb[b",2118:" 23IZNMN[ ROMO[ ROSPPRNTMWMXNXOWPVOWN RKMOM RK[R[",2119:" 32J[WOXMXQWOVNTMPMNNMOMQNRPSUUWVXW RMPNQPRUTWUXVXYWZU[Q[OZNYMWM[NY",2120:" 16KZPFPWQZS[U[WZXX RQFQWRZS[ RMMUM",2121:" 28G]LMLXMZP[R[UZWX RMMMXNZP[ RWMW[ RXMX[ RIMMM RTMXM RW[[[",2122:" 15I[LMR[ RMMRY RXMR[ RJMPM RTMZM",2123:" 24F^JMN[ RKMNX RRMN[ RRMV[ RSMVX RZMV[ RGMNM RWM]M",2124:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2125:" 22H[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2126:" 16I[WML[ RXMM[ RMMLQLMXM RL[X[XWW[",2127:" 40G^QMNNLPKRJUJXKZN[P[RZUWWTYPZM RQMONMPLRKUKXLZN[ RQMSMUNVPXXYZZ[ RSMTNUPWXXZZ[[[",2128:" 57G\\TFQGOIMMLPKTJZIb RTFRGPINMMPLTKZJb RTFVFXGYHYKXMWNTOPO RVFXHXKWMVNTO RPOTPVRWTWWVYUZR[P[NZMYLV RPOSPURVTVWUYTZR[",2129:" 28H\\IPKNMMOMQNROSRSVRZOb RJOLNPNRO RZMYPXRSYP^Nb RYMXPWRSY",2130:" 44I\\VNTMRMONMQLTLWMYNZP[R[UZWWXTXQWOSJRHRFSEUEWFYH RRMPNNQMTMXNZ RR[TZVWWTWPVNTKSISGTFVFYH",2131:" 32I[XPVNTMPMNNNPPRSS RPMONOPQRSS RSSNTLVLXMZP[S[UZWX RSSOTMVMXNZP[",2132:" 31I[TFRGQHQIRJUKZKZJWKSMPOMRLULWMYP[S]T_TaSbQbPa RULQONRMUMWNYP[",2133:" 32G]HQIOKMNMONOPNTL[ RMMNNNPMTK[ RNTPPRNTMVMXNYOYRXWUb RVMXOXRWWTb",2134:" 44F]GQHOJMMMNNNPMUMXNZO[ RLMMNMPLULXMZO[Q[SZUXWUXRYMYIXGVFTFRHRJSMUPWRZT RSZUWVUWRXMXIWGVF",2135:" 15LXRMPTOXOZP[S[UYVW RSMQTPXPZQ[",2136:" 29H\\NMJ[ ROMK[ RXMYNZNYMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW",2137:" 23H\\KFMFOGPHQJWXXZY[ RMFOHPJVXWZY[Z[ RRMJ[ RRMK[",2138:" 28F]MMGb RNMHb RMPLVLYN[P[RZTXVU RXMUXUZV[Y[[Y\\W RYMVXVZW[",2139:" 24H\\NML[ ROMNSMXL[ RYMXQVU RZMYPXRVUTWQYOZL[ RKMOM",2140:" 45IZTFRGQHQIRJUKXK RUKQLOMNONQPSSTVT RUKRLPMOOOQQSST RSTOUMVLXLZN\\S^T_TaRbPb RSTPUNVMXMZO\\S^",2141:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2142:" 22G]PNL[ RPNM[ RVNV[ RVNW[ RIPKNNM[M RIPKONN[N",2143:" 31H[LVMYNZP[R[UZWWXTXQWOVNTMRMONMQLTHb RR[TZVWWTWPVN RRMPNNQMTIb",2144:" 35H][MQMNNLQKTKWLYMZO[Q[TZVWWTWQVOUNSM RQMONMQLTLXMZ RQ[SZUWVTVPUN RUN[N",2145:" 16H\\SNP[ RSNQ[ RJPLNOMZM RJPLOONZN",2146:" 31H\\IQJOLMOMPNPPNVNYP[ RNMONOPMVMYNZP[Q[TZVXXUYRYOXMWNXOYR RXUYO",2147:" 37G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb RJWLYNZQZTYWWYU RZOXNVNTPRSPYNb",2148:" 23I[KMMMONPPU_VaWb RMMNNOPT_UaWbYb RZMYOWRM]K`Jb",2149:" 34F]UFOb RVFNb RGQHOJMMMNNNPMUMXOZRZTYWVYS RLMMNMPLULXMZO[R[TZVXXUYS[M",2150:" 44F]JQLOONNMLNJQITIWJZK[M[OZQWRT RIWJYKZMZOYQW RQTQWRZS[U[WZYWZTZQYNXMWNYOZQ RQWRYSZUZWYYW",2151:" 39H]XMVTUXUZV[Y[[Y\\W RYMWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2152:" 36H[PFLSLVMYNZ RQFMS RMSNPPNRMTMVNWOXQXTWWUZR[P[NZMWMS RVNWPWTVWTZR[ RMFQF",2153:" 25I[WPWQXQXPWNUMRMONMQLTLWMYNZP[R[UZWW RRMPNNQMTMXNZ",2154:" 42H]ZFVTUXUZV[Y[[Y\\W R[FWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RWF[F",2155:" 26I[MVQUTTWRXPWNUMRMONMQLTLWMYNZP[R[UZWX RRMPNNQMTMXNZ",2156:" 35KZZGYHZI[H[GZFXFVGUHTJSMP[O_Na RXFVHUJTNRWQ[P^O`NaLbJbIaI`J_K`Ja ROMYM",2157:" 43H\\YMU[T^RaObLbJaI`I_J^K_J` RXMT[S^QaOb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2158:" 31H]PFJ[ RQFK[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W RMFQF",2159:" 26LYUFTGUHVGUF RMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2160:" 32LYVFUGVHWGVF RNQOOQMTMUNUQR[Q^P`OaMbKbJaJ`K_L`Ka RSMTNTQQ[P^O`Mb",2161:" 34H\\PFJ[ RQFK[ RXNWOXPYOYNXMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW RMFQF",2162:" 18MYUFQTPXPZQ[T[VYWW RVFRTQXQZR[ RRFVF",2163:" 52AbBQCOEMHMINIPHTF[ RGMHNHPGTE[ RHTJPLNNMPMRNSOSQP[ RPMRORQO[ RRTTPVNXMZM\\N]O]Q[W[Z\\[ RZM\\O\\QZWZZ[[^[`YaW",2164:" 37F]GQHOJMMMNNNPMTK[ RLMMNMPLTJ[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W",2165:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2166:" 42G\\HQIOKMNMONOPNTJb RMMNNNPMTIb RNTOQQNSMUMWNXOYQYTXWVZS[Q[OZNWNT RWNXPXTWWUZS[ RFbMb",2167:" 33H\\XMRb RYMSb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RObVb",2168:" 26IZJQKOMMPMQNQPPTN[ ROMPNPPOTM[ RPTRPTNVMXMYNYOXPWOXN",2169:" 28J[XOXPYPYOXNUMRMONNONQORVVWW RNPOQVUWVWYVZS[P[MZLYLXMXMY",2170:" 18KYTFPTOXOZP[S[UYVW RUFQTPXPZQ[ RNMWM",2171:" 37F]GQHOJMMMNNNQLWLYN[ RLMMNMQKWKYLZN[P[RZTXVT RXMVTUXUZV[Y[[Y\\W RYMWTVXVZW[",2172:" 26H\\IQJOLMOMPNPQNWNYP[ RNMONOQMWMYNZP[Q[TZVXXUYQYMXMYO",2173:" 41C`DQEOGMJMKNKQIWIYK[ RIMJNJQHWHYIZK[M[OZQXRV RTMRVRYSZU[W[YZ[X\\V]R]M\\M]O RUMSVSYU[",2174:" 42H\\KQMNOMRMSOSR RQMRORRQVPXNZL[K[JZJYKXLYKZ RQVQYR[U[WZYW RYNXOYPZOZNYMXMVNTPSRRVRYS[",2175:" 41G\\HQIOKMNMONOQMWMYO[ RMMNNNQLWLYMZO[Q[SZUXWT RZMV[U^SaPbMbKaJ`J_K^L_K` RYMU[T^RaPb",2176:" 31H\\YMXOVQNWLYK[ RLQMOOMRMVO RMOONRNVOXO RLYNYRZUZWY RNYR[U[WYXW",2177:" 43G^VGUHVIWHWGUFRFOGMILLL[ RRFPGNIMLM[ R\\G[H\\I]H]G\\FZFXGWIW[ RZFYGXIX[ RIM[M RI[P[ RT[[[",2178:" 33G]WGVHWIXHWGUFRFOGMILLL[ RRFPGNIMLM[ RWMW[ RXMX[ RIMXM RI[P[ RT[[[",2179:" 35G]VGUHVIWHWGUF RXFRFOGMILLL[ RRFPGNIMLM[ RWHW[ RXFX[ RIMWM RI[P[ RT[[[",2180:" 54BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R]G\\H]I^H]G[FXFUGSIRLR[ RXFVGTISLS[ R]M][ R^M^[ RDM^M RD[K[ RO[V[ RZ[a[",2181:" 56BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R\\G[H\\I]H]G[F R^FXFUGSIRLR[ RXFVGTISLS[ R]H][ R^F^[ RDM]M RD[K[ RO[V[ RZ[a[",2182:" 12MXRMR[ RSMS[ ROMSM RO[V[",2184:" 25IZWNUMRMONMPLSLVMYNZQ[T[VZ RRMPNNPMSMVNYOZQ[ RMTUT",2185:" 43I\\TFQGOJNLMOLTLXMZO[Q[TZVWWUXRYMYIXGVFTF RTFRGPJOLNOMTMXNZO[ RQ[SZUWVUWRXMXIWGVF RNPWP",2186:" 42G]UFOb RVFNb RQMMNKPJSJVKXMZP[S[WZYXZUZRYPWNTMQM RQMNNLPKSKVLXNZP[ RS[VZXXYUYRXPVNTM",2187:" 27I[TMVNXPXOWNTMQMNNMOLQLSMUOWSZ RQMONNOMQMSNUSZT\\T^S_Q_",2190:" 45G]LMKNJPJRKUOYP[ RJRKTOXP[P]O`MbLbKaJ_J\\KXMTOQRNTMVMYNZPZTYXWZU[T[SZSXTWUXTY RVMXNYPYTXXWZ",2191:" 69E_YGXHYIZHYGWFTFQGOINKMNLRJ[I_Ha RTFRGPIOKNNLWK[J^I`HaFbDbCaC`D_E`Da R_G^H_I`H`G_F]F[GZHYJXMU[T_Sa R]F[HZJYNWWV[U^T`SaQbObNaN`O_P`Oa RIM^M",2192:" 52F^[GZH[I\\H[GXFUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea RYMWTVXVZW[Z[\\Y]W RZMXTWXWZX[ RJMZM",2193:" 54F^YGXHYIZHZGXF R\\FUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea R[FWTVXVZW[Z[\\Y]W R\\FXTWXWZX[ RJMYM",2194:" 86@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R`G_H`IaH`G]FZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R^M\\T[X[Z\\[_[aYbW R_M]T\\X\\Z][ RDM_M",2195:" 88@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R^G]H^I_H_G]F RaFZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R`F\\T[X[Z\\[_[aYbW RaF]T\\X\\Z][ RDM^M",2196:" 20LYMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2200:" 40H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RQFOGNHMJLOLRMWNYOZQ[ RS[UZVYWWXRXOWJVHUGSF",2201:" 11H\\NJPISFS[ RRGR[ RN[W[",2202:" 45H\\LJMKLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RTFVGWHXJXLWNTPPR RKYLXNXSZVZXYYX RNXS[W[XZYXYV",2203:" 47H\\LJMKLLKKKJLHMGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[P[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2204:" 13H\\THT[ RUFU[ RUFJUZU RQ[X[",2205:" 39H\\MFKP RKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMVLW RSMUNWPXSXUWXUZS[ RMFWF RMGRGWF",2206:" 48H\\WIVJWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNRNOOMQLT RRFPGNIMKLOLUMXOZQ[ RS[UZWXXUXTWQUOSN",2207:" 31H\\KFKL RKJLHNFPFUIWIXHYF RLHNGPGUI RYFYIXLTQSSRVR[ RXLSQRSQVQ[",2208:" 63H\\PFMGLILLMNPOTOWNXLXIWGTFPF RPFNGMIMLNNPO RTOVNWLWIVGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RPONPMQLSLWMYNZP[ RT[VZWYXWXSWQVPTO",2209:" 48H\\XMWPURRSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNWMX RQSORMPLMLLMIOGQF RSFUGWIXLXRWVVXTZR[",2210:" 6MWRYQZR[SZRY",2211:" 8MWR[QZRYSZS\\R^Q_",2212:" 12MWRMQNROSNRM RRYQZR[SZRY",2213:" 14MWRMQNROSNRM RR[QZRYSZS\\R^Q_",2214:" 15MWRFQHRTSHRF RRHRN RRYQZR[SZRY",2215:" 32I[MJNKMLLKLJMHNGPFSFVGWHXJXLWNVORQRT RSFUGVHWJWLVNTP RRYQZR[SZRY",2216:" 6NVRFQM RSFQM",2217:" 12JZNFMM ROFMM RVFUM RWFUM",2218:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",2219:" 9JZRFRR RMIWO RWIMO",2220:" 3G][BIb",2221:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",2222:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",2223:" 12KYOBOb RPBPb ROBVB RObVb",2224:" 12KYTBTb RUBUb RNBUB RNbUb",2225:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",2226:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",2227:" 4KYUBNRUb",2228:" 4KYOBVROb",2229:" 3NVRBRb",2230:" 6KYOBOb RUBUb",2231:" 3E_IR[R",2232:" 6E_RIR[ RIR[R",2233:" 9F^RJR[ RJRZR RJ[Z[",2234:" 9F^RJR[ RJJZJ RJRZR",2235:" 6G]KKYY RYKKY",2236:" 6MWRQQRRSSRRQ",2237:" 15E_RIQJRKSJRI RIR[R RRYQZR[SZRY",2238:" 6E_IO[O RIU[U",2239:" 9E_YIK[ RIO[O RIU[U",2240:" 9E_IM[M RIR[R RIW[W",2241:" 4F^ZIJRZ[",2242:" 4F^JIZRJ[",2243:" 10F^ZFJMZT RJVZV RJ[Z[",2244:" 10F^JFZMJT RJVZV RJ[Z[",2245:" 21F_[WYWWVUTRPQOONMNKOJQJSKUMVOVQURTUPWNYM[M",2246:" 24F^IUISJPLONOPPTSVTXTZS[Q RISJQLPNPPQTTVUXUZT[Q[O",2247:" 8G]JTROZT RJTRPZT",2248:" 7LXTFOL RTFUGOL",2249:" 7LXPFUL RPFOGUL",2250:" 18H\\KFLHNJQKSKVJXHYF RKFLINKQLSLVKXIYF",2251:" 8MWRHQGRFSGSIRKQL",2252:" 8MWSFRGQIQKRLSKRJ",2253:" 8MWRHSGRFQGQIRKSL",2254:" 8MWQFRGSISKRLQKRJ",2255:" 10E[HMLMRY RKMR[ R[BR[",2256:" 13F^ZJSJOKMLKNJQJSKVMXOYSZZZ",2257:" 13F^JJJQKULWNYQZSZVYXWYUZQZJ",2258:" 13F^JJQJUKWLYNZQZSYVWXUYQZJZ",2259:" 13F^JZJSKOLMNKQJSJVKXMYOZSZZ",2260:" 16F^ZJSJOKMLKNJQJSKVMXOYSZZZ RJRVR",2261:" 11E_XP[RXT RUMZRUW RIRZR",2262:" 11JZPLRITL RMORJWO RRJR[",2263:" 11E_LPIRLT ROMJROW RJR[R",2264:" 11JZPXR[TX RMURZWU RRIRZ",2265:" 44I\\XRWOVNTMRMONMQLTLWMYNZP[R[UZWXXUYPYKXHWGUFRFPGOHOIPIPH RRMPNNQMTMXNZ RR[TZVXWUXPXKWHUF",2266:" 15H\\JFR[ RKFRY RZFR[ RJFZF RKGYG",2267:" 10AbDMIMRY RHNR[ Rb:R[",2268:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2269:" 50F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia RQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",2270:" 26F_\\S[UYVWVUUTTQPPONNLNJOIQISJULVNVPUQTTPUOWNYN[O\\Q\\S",2271:" 32F^[FI[ RNFPHPJOLMMKMIKIIJGLFNFPGSHVHYG[F RWTUUTWTYV[X[ZZ[X[VYTWT",2272:" 49F_[NZO[P\\O\\N[MZMYNXPVUTXRZP[M[JZIXIUJSPORMSKSIRGPFNGMIMKNNPQUXWZZ[[[\\Z\\Y RM[KZJXJUKSMQ RMKNMVXXZZ[",2273:" 56E`WNVLTKQKOLNMMPMSNUPVSVUUVS RQKOMNPNSOUPV RWKVSVUXVZV\\T]Q]O\\L[JYHWGTFQFNGLHJJILHOHRIUJWLYNZQ[T[WZYYZX RXKWSWUXV",2274:" 42H\\PBP_ RTBT_ RXIWJXKYJYIWGTFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[P[MZKXKWLVMWLX",2275:" 12H]SFLb RYFRb RLQZQ RKWYW",2276:" 46JZUITJUKVJVIUGSFQFOGNINKOMQOVR ROMTPVRWTWVVXTZ RPNNPMRMTNVPXU[ RNVSYU[V]V_UaSbQbOaN_N^O]P^O_",2277:" 30JZRFQHRJSHRF RRFRb RRQQTRbSTRQ RLMNNPMNLLM RLMXM RTMVNXMVLTM",2278:" 56JZRFQHRJSHRF RRFRT RRPQRSVRXQVSRRP RRTRb RR^Q`RbS`R^ RLMNNPMNLLM RLMXM RTMVNXMVLTM RL[N\\P[NZL[ RL[X[ RT[V\\X[VZT[",2279:" 12I\\XFX[ RKFXF RPPXP RK[X[",2281:" 38E`QFNGKIILHOHRIUKXNZQ[T[WZZX\\U]R]O\\LZIWGTFQF RROQPQQRRSRTQTPSORO RRPRQSQSPRP",2282:" 45J[PFNGOIQJ RPFOGOI RUFWGVITJ RUFVGVI RQJOKNLMNMQNSOTQUTUVTWSXQXNWLVKTJQJ RRUR[ RSUS[ RNXWX",2283:" 27I\\RFOGMILLLMMPORRSSSVRXPYMYLXIVGSFRF RRSR[ RSSS[ RNWWW",2284:" 28D`PFMGJIHLGOGSHVJYM[P\\T\\W[ZY\\V]S]O\\LZIWGTFPF RRFR\\ RGQ]Q",2285:" 31G`PMMNKPJSJTKWMYPZQZTYVWWTWSVPTNQMPM R]GWG[HUN R]G]M\\IVO R\\HVN",2286:" 28F\\IIJGLFOFQGRIRLQOPQNSKU ROFPGQIQMPPNS RVFT[ RWFS[ RKUYU",2287:" 30I\\MFMU RNFMQ RMQNOONQMTMWNXPXRWTUV RTMVNWPWRTXTZU[W[YY RKFNF",2288:" 44I\\RNOOMQLTLUMXOZR[S[VZXXYUYTXQVOSNRN RRHNJRFRN RSHWJSFSN RRSQTQURVSVTUTTSSRS RRTRUSUSTRT",2289:" 37G^QHRFR[ RTHSFS[ RJHKFKMLPNRQSRS RMHLFLNMQ R[HZFZMYPWRTSSS RXHYFYNXQ RNWWW",2290:" 31G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[Y[YVX[",2291:" 24H[YGUGQHNJLMKPKSLVNYQ[U\\Y\\ RYGVHSJQMPPPSQVSYV[Y\\",2292:" 27F_OQMQKRJSIUIWJYKZM[O[QZRYSWSURSQROQ RSHPQ RZJRR R\\QST",2293:" 12H\\OKUY RUKOY RKOYU RYOKU",2294:" 48F^NVLUKUIVHXHYI[K\\L\\N[OYOXNVKRJOJMKJMHPGTGWHYJZMZOYRVVUXUYV[X\\Y\\[[\\Y\\X[VYUXUVV RJMKKMIPHTHWIYKZM",2295:" 48F^NMLNKNIMHKHJIHKGLGNHOJOKNMKQJTJVKYM[P\\T\\W[YYZVZTYQVMUKUJVHXGYG[H\\J\\K[MYNXNVM RJVKXMZP[T[WZYXZV",2301:" 40F_JMILIJJHLGNGPHQIRKSP RIJKHMHOIPJQLRPR[ R[M\\L\\J[HYGWGUHTISKRP R\\JZHXHVIUJTLSPS[",2302:" 51F^IGJKKMMOPPTPWOYMZK[G RIGJJKLMNPOTOWNYLZJ[G RPONPMQLSLVMXOZQ[S[UZWXXVXSWQVPTO RPPNQMSMVNY RVYWVWSVQTP",2303:" 30F^MJMV RNKNU RVKVU RWJWV RIGKIMJPKTKWJYI[G RIYKWMVPUTUWVYW[Y",2304:" 48F^[ILIJJILINJPLQNQPPQNQLPJ[J RIMJOKPMQ RQMPKOJMI RIXXXZW[U[SZQXPVPTQSSSUTWIW R[TZRYQWP RSTTVUWWX",2305:" 48F]OUMTLTJUIWIXJZL[M[OZPXPWOUJPINIKJILHOGSGWHYJZLZOYRVUUWUYV[X[YZZX RMSKPJNJKKILH RSGVHXJYLYOXRVU",2306:" 48G_HKKHMKMV RJILLLV RMKPHRKRU ROIQLQU RRKUHWKW[ RTIVLV[ RWKZH[J\\M\\P[SZUXWUYP[ RYIZJ[M[PZSYUWWTYP[",2307:" 41F^ISMSLRKOKMLJNHQGSGVHXJYMYOXRWS[S RITOTMRLOLMMJOHQG RSGUHWJXMXOWRUT[T RKXYX RKYYY",2308:" 30F_GLJIMLMX RIJLMLX RMLPISLSX ROJRMRX RSLVIYLYW[Y RUJXMXXZZ]W",2309:" 33G]ZIJY RZIWJQJ RXKUKQJ RZIYLYR RXKXNYR RQRJR RPSMSJR RQRQY RPSPVQY",2310:" 33F^HOJKOU RJMOWRPWPZO[M[KZIXHWHUITKTMUPVRWUWXUZ RWHVIUKUMWQXTXWWYUZ",2311:" 36F^IOLLPN RKMOORLUN RQMTOWLYN RVMXO[L RIULRPT RKSOURRUT RQSTUWRYT RVSXU[R",2312:" 48F^JHNJPLQOQRPUNWJY RJHMIOJQLRO RRRQUOWMXJY RZHWIUJSLRO RRRSUUWWXZY RZHVJTLSOSRTUVWZY RIP[P RIQ[Q",2317:" 12NVQQQSSSSQQQ RQQSS RSQQS",2318:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2319:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2320:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2321:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2322:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2323:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2324:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2325:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2326:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2327:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2328:" 49JZMLWX RMLONQOTOVNWMWKUKUMTO RONTO RQOWM RVKVN RULWL RWXUVSUPUNVMWMYOYOWPU RUVPU RSUMW RNVNY RMXOX",2329:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLWY",2330:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2331:"103EfNSOUQVSVUUVSVQUOSNQNOONPMSMVNYP[S\\V\\Y[[Y\\W]T]P\\MZJXIUHRHOIMJKLIOHSHXI]KaMcPeTfYf]e`cba RKLJNIRIXJ\\L`NbQdUeYe]d_cba RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU RaLaNcNcLaL RbLbN RaMcM RaVaXcXcVaV RbVbX RaWcW",2332:" 30D`H@Hd RM@Md RW@Wd R\\@\\d RMMWK RMNWL RMOWM RMWWU RMXWV RMYWW",2367:" 12NVQQQSSSSQQQ RQQSS RSQQS",2368:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2369:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2370:" 32H\\PMMNLOKQKSLUMVPWTWWVXUYSYQXOWNTMPM RMNLPLSMUNVPW RWVXTXQWOVNTM",2371:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2372:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2373:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2374:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2375:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2376:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2377:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2378:" 36JZQCVMRTRU RULQS RTITKPRRUUY RW\\UYSXQXOYN[N]O_Ra RW\\UZSYOYO]P_Ra RSXPZN]",2379:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLSY",2380:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2381:" 89IjNQOOQNSNUOVQVSUUSVQVOUNTMQMNNKPISHWH[I^K`NaRaW`[_]]`ZcVfQiMk RWHZI]K_N`R`W_[^]\\`YcTgQi RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU ReLeNgNgLeL RfLfN ReMgM ReVeXgXgVeV RfVfX ReWgW",2382:" 85D`H>Hf RI>If RM>Mf RQBSBSDQDQAR?T>W>Y?[A\\D\\I[LYNWOUOSNRLQNOQNROSQVRXSVUUWUYV[X\\[\\`[cYeWfTfReQcQ`S`SbQb RRBRD RQCSC RY?ZA[D[IZLYN RRLRNPQNRPSRVRX RYVZX[[[`ZcYe RR`Rb RQaSa",2401:" 21AcHBHb RIBIb R[B[b R\\B\\b RDB`B RDbMb RWb`b",2402:" 23BaGBQPFb RFBPP REBPQ REB\\B^I[B RGa\\a RFb\\b^[[b",2403:" 28I[X+U1R8P=OANFMNMVN^OcPgRlUsXy RU1S6Q<P@OFNNNVO^PdQhSnUs",2404:" 28I[L+O1R8T=UAVFWNWVV^UcTgRlOsLy RO1Q6S<T@UFVNVVU^TdShQnOs",2405:" 14I[M+MRMy RN+NRNy RM+X+ RMyXy",2406:" 14I[V+VRVy RW+WRWy RL+W+ RLyWy",2407:" 48I[V+S-Q/P1O4O8P<TDUGUJTMRP RS-Q0P4P8Q;UCVGVJUMRPNRRTUWVZV]UaQiPlPpQtSw RRTTWUZU]T`PhOlOpPsQuSwVy",2408:" 48I[N+Q-S/T1U4U8T<PDOGOJPMRP RQ-S0T4T8S;OCNGNJOMRPVRRTOWNZN]OaSiTlTpStQw RRTPWOZO]P`ThUlUpTsSuQwNy",2409:" 32I[V.S1Q4O8N=NCOIPMSXT\\UbUgTlSoQs RS1Q5P8O=OBPHQLTWU[VaVgUlSpQsNv",2410:" 32I[N.Q1S4U8V=VCUITMQXP\\ObOgPlQoSs RQ1S5T8U=UBTHSLPWO[NaNgOlQpSsVv",2411:' 147Z:RARRo R@RQo R?RRr RZ"VJRr',2412:" 57Ca].\\.[/[0\\1]1^0^.],[+Y+W,U.T0S3R:QJQjPsOv R\\/\\0]0]/\\/ RR:Rj RU.T1S:SZRjQqPtOvMxKyIyGxFvFtGsHsItIuHvGv RGtGuHuHtGt",2501:" 20H\\RFJ[ RRIK[J[ RRIY[Z[ RRFZ[ RMUWU RLVXV",2502:" 44H\\LFL[ RMGMZ RLFTFWGXHYJYMXOWPTQ RMGTGWHXJXMWOTP RMPTPWQXRYTYWXYWZT[L[ RMQTQWRXTXWWYTZMZ",2503:" 38H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV RZKYKXIWHUGQGOHMKLNLSMVOYQZUZWYXXYVZV",2504:" 32H]LFL[ RMGMZ RLFSFVGXIYKZNZSYVXXVZS[L[ RMGSGVHWIXKYNYSXVWXVYSZMZ",2505:" 27I\\MFM[ RNGNZ RMFYF RNGYGYF RNPTPTQ RNQTQ RNZYZY[ RM[Y[",2506:" 21I[MFM[ RNGN[M[ RMFYF RNGYGYF RNPTPTQ RNQTQ",2507:" 44H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZRUR RZKYKXIWHUGQGOHNIMKLNLSMVNXOYQZUZWYXXYVYSUSUR",2508:" 22G]KFK[ RKFLFL[K[ RYFXFX[Y[ RYFY[ RLPXP RLQXQ",2509:" 8NWRFR[S[ RRFSFS[",2510:" 20J[VFVVUYSZQZOYNVMV RVFWFWVVYUZS[Q[OZNYMV",2511:" 22H]LFL[M[ RLFMFM[ RZFYFMR RZFMS RPOY[Z[ RQOZ[",2512:" 14IZMFM[ RMFNFNZ RNZYZY[ RM[Y[",2513:" 26F^JFJ[ RKKK[J[ RKKR[ RJFRX RZFRX RYKR[ RYKY[Z[ RZFZ[",2514:" 20G]KFK[ RLIL[K[ RLIY[ RKFXX RXFXX RXFYFY[",2515:" 40G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG",2516:" 27H\\LFL[ RMGM[L[ RLFUFWGXHYJYMXOWPUQMQ RMGUGWHXJXMWOUPMP",2517:" 48G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG RSXX]Y] RSXTXY]",2518:" 34H\\LFL[ RMGM[L[ RLFTFWGXHYJYMXOWPTQMQ RMGTGWHXJXMWOTPMP RRQX[Y[ RSQY[",2519:" 43H\\YIWGTFPFMGKIKKLMMNOOTQVRWSXUXXWYTZPZNYMXKX RYIWIVHTGPGMHLILKMMONTPVQXSYUYXWZT[P[MZKX",2520:" 15J[RGR[ RSGS[R[ RLFYFYG RLFLGYG",2521:" 24G]KFKULXNZQ[S[VZXXYUYF RKFLFLUMXNYQZSZVYWXXUXFYF",2522:" 14H\\JFR[ RJFKFRX RZFYFRX RZFR[",2523:" 26E_GFM[ RGFHFMX RRFMX RRIM[ RRIW[ RRFWX R]F\\FWX R]FW[",2524:" 16H\\KFX[Y[ RKFLFY[ RYFXFK[ RYFL[K[",2525:" 17I\\KFRPR[S[ RKFLFSP RZFYFRP RZFSPS[",2526:" 20H\\XFK[ RYFL[ RKFYF RKFKGXG RLZYZY[ RK[Y[",2551:" 38E\\XFVHTKQPOSLWIZG[E[DZDXEWFXEY RXFWJUTT[ RXFU[ RT[TYSVRTPRNQLQKRKTLWOZR[V[XZ",2552:" 70F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFXFZG[I[KZMXNTORO RXFYGZIZKYMXN RTOWPXQYSYVXYWZU[S[RZRXSU RTOVPWQXSXVWYU[",2553:" 41H]KHJJJLKNNOQOUNWMYKZIZGYFWFTGQJOMMQLULXMZP[R[UZWXXVXTWRURSSRU RWFUGRJPMNQMUMXNZP[",2554:" 43F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWJWLXNZP[S[UZWXYTZOZLYIWGUFPFMGKIJKJMKNMNNMOK",2555:" 49I\\WIVJVLWMYMZKZIYGWFTFRGQHPJPLQNSO RTFRHQJQMSO RSOQONPLRKTKWLYMZO[R[UZWXXVXTWRURSSRU RQOOPMRLTLXMZ",2556:" 46G\\WHVJTORUQWOZM[ RQLPNNOLOKMKKLINGQF[FXGWHVKTSSVRXPZM[K[IZHYHXIWJXIY RSFWGXG ROSPRRQVQXPZMXT",2557:" 53G]JIIKIMJOLPOPROTNWKXHXGWFVFTGRIQKPNPQQSSTUTWSYQZO RWFUGSIRKQNQRST RZOYSWWUYSZO[L[JZIXIWJVKWJX RYSWVUXRZO[",2558:" 55F^LLKKKILGOFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RJTKSMRVOXN[L]J^H^G]F\\FZGXJWLURTVTYV[W[YZ[X R\\FZHXLVRUVUYV[",2559:" 33IYWHUKSPQUPWNZL[ RYLWNTOQOONNLNJOHQGUFYFWHVJTPRVQXOZL[J[IZIXJWKXJY",2560:" 34IZYFWHUKSPPYN] RYMWOTPQPOONMNKOIQGUFYFWIVKSTQXPZN]M^K_J^J\\KZMXOWRVVU",2561:" 59F^LLKKKIMGPFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RZGWKUMSNPO R]G\\H]I^H^G]F\\FZGWLVMTNPO RPOSPTRUYV[ RPORPSRTYV[W[YZ[X",2562:" 40I[MILKLMMOOPRPUOWNZK[H[GZFYFWGVHTKPUOWMZK[ RVHTLRSQVPXNZK[I[HZHXIWKWMXPZR[U[WZYX",2563:" 49D`RFNOKUIXGZE[C[BZBXCWDXCY RRFPMOQNVNZP[ RRFQJPOOVOZP[ R[FWORXP[ R[FYMXQWVWZY[Z[\\Z^X R[FZJYOXVXZY[",2564:" 38G^RFQJOPMULWJZH[F[EZEXFWGXFY RRFRKSVT[ RRFSKTVT[ R`G_H`IaHaG`F^F\\GZJYLWQUWT[",2565:" 34H]SFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGWGUHSJQNPSPV RQGOJMNLRLVMYO[",2566:" 53F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFVFYGZH[J[MZOYPVQTQRP RVFXGYHZJZMYOXPVQ",2567:" 43H]UJULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[XZZX RWFXGYIYMXPVSSVOYK[",2568:" 65F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFWFZG[I[KZMYNVORO RWFYGZIZKYMXNVO RROUPVRWYX[ RROTPURVYX[Y[[Z]X",2569:" 36H\\NIMKMMNOPPSPVOXN[K\\H\\G[FZFXGWHVJUMSTRWPZN[ RVJUNTUSXQZN[K[IZHXHWIVJWIX",2570:" 38I[YHXJVOTUSWQZO[ RSLRNPONOMMMKNIPGSF\\FZGYHXKVSUVTXRZO[M[KZJYJXKWLXKY RUFYGZG",2571:" 39G]HJJGLFMFOHOKNNKVKYL[ RMFNHNKKSJVJYL[N[PZSWUTVR RZFVRUVUYW[X[ZZ\\X R[FWRVVVYW[",2572:" 36G\\HJJGLFMFOHOKNOLVLYM[ RMFNHNKLRKVKYM[N[QZTWVTXPYMZIZGYFXFWGVIVLWNYP[Q]Q",2573:" 41F]ILHLGKGIHGJFNFMHLLKUJ[ RLLLUK[ RVFTHRLOUMYK[ RVFUHTLSUR[ RTLTUS[ R`F^G\\IZLWUUYS[",2574:" 52H\\PKOLMLLKLIMGOFQFSGTITLSPQUOXMZJ[H[GZGXHWIXHY RQFRGSISLRPPUNXLZJ[ R]G\\H]I^H^G]F[FYGWIULSPRURXSZT[U[WZYX",2575:" 42G]JJLGNFOFQGQIOOORPT ROFPGPINONRPTRTUSWQYNZL R\\FZLWTUX R]F[LYQWUUXSZP[L[JZIXIWJVKWJX",2576:" 44G\\ZHYJWOVRUTSWQYOZL[ RSLRNPONOMMMKNIPGSF]F[GZHYKXOVUTXQZL[H[GZGXHWJWLXOZQ[T[WZYX RVFZG[G",2601:" 36H\\WMW[X[ RWMXMX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2602:" 36H\\LFL[M[ RLFMFM[ RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2603:" 32I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX RXPWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2604:" 36H\\WFW[X[ RWFXFX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2605:" 36I[MTXTXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX RMSWSWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2606:" 24LZWFUFSGRJR[S[ RWFWGUGSH RTGSJS[ ROMVMVN ROMONVN",2607:" 48H\\XMWMW\\V_U`SaQaO`N_L_ RXMX\\W_UaSbPbNaL_ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2608:" 25H\\LFL[M[ RLFMFM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2609:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMR[S[ RRMSMS[",2610:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMRbSb RRMSMSb",2611:" 22H[LFL[M[ RLFMFM[ RXMWMMW RXMMX RPTV[X[ RQSX[",2612:" 8NWRFR[S[ RRFSFS[",2613:" 42CbGMG[H[ RGMHMH[ RHQKNMMPMRNSQS[ RHQKOMNONQORQR[S[ RSQVNXM[M]N^Q^[ RSQVOXNZN\\O]Q][^[",2614:" 25H\\LML[M[ RLMMMM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2615:" 36I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM RQNOONPMSMUNXOYQZTZVYWXXUXSWPVOTNQN",2616:" 36H\\LMLbMb RLMMMMb RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2617:" 36H\\WMWbXb RWMXMXb RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2618:" 21KYOMO[P[ ROMPMP[ RPSQPSNUMXM RPSQQSOUNXNXM",2619:" 50J[XPWNTMQMNNMPNRPSUUWV RVUWWWXVZ RWYTZQZNY ROZNXMX RXPWPVN RWOTNQNNO RONNPOR RNQPRUTWUXWXXWZT[Q[NZMX",2620:" 16MXRFR[S[ RRFSFS[ ROMVMVN ROMONVN",2621:" 25H\\LMLWMZO[R[TZWW RLMMMMWNYPZRZTYWW RWMW[X[ RWMXMX[",2622:" 14JZLMR[ RLMMMRY RXMWMRY RXMR[",2623:" 26F^IMN[ RIMJMNX RRMNX RRPN[ RRPV[ RRMVX R[MZMVX R[MV[",2624:" 16I[LMW[X[ RLMMMX[ RXMWML[ RXMM[L[",2625:" 17JZLMR[ RLMMMRY RXMWMRYNb RXMR[ObNb",2626:" 20I[VNL[ RXMNZ RLMXM RLMLNVN RNZXZX[ RL[X[",2651:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRTXTZV[XZYY[V RWRUXUZV[",2652:" 23LZLVNSPO RSFMXMZO[P[RZTXUUURVVWWXWZV RTFNXNZO[",2653:" 22LXTSSTTTTSSRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2654:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RZFTXTZV[XZYY[V R[FUXUZV[",2655:" 23LXOYQXRWSUSSRRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2656:" 27OXRRUOWLXIXGWFUGTIKdKfLgNfOcPZQ[S[UZVYXV RTISNRRO[M`Kd",2657:" 38K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2658:" 30L[LVNSPO RSFL[ RTFM[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2659:" 19NVSLRMSNTMSL RQROXOZQ[SZTYVV RRRPXPZQ[",2660:" 24NVSLRMSNTMSL RQRKd RRRO[M`KdJfHgGfGdHaJ_M]Q[TYVV",2661:" 31LZLVNSPO RSFL[ RTFM[ RURUSVSURTRRTOU ROURVSZT[ ROUQVRZT[U[XYZV",2662:" 17NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[",2663:" 45E^EVGSIRKSKUI[ RIRJSJUH[ RKUMSORPRRSRUP[ RPRQSQUO[ RRUTSVRWRYSYUXXXZY[ RWRXSXUWXWZY[[Z\\Y^V",2664:" 32I[IVKSMROSOUM[ RMRNSNUL[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2665:" 29KYRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXVXXWYV RPRNTMVMYO[",2666:" 30L[LVNSPO RQLHg RRLIg ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2667:" 35K[UUTSRRPRNSMTLVLXMZO[Q[SZ RPRNTMVMYO[ RVRPdPfQgSfTcT[V[YY[V RWRT[R`Pd",2668:" 24LZLVNSPRRSRUP[ RPRQSQUO[ RRUTSVRWRVU RVRVUWWXWZV",2669:" 22NZNVPSQQQSTUUWUYTZR[ RQSSUTWTYR[ RNZP[U[XYZV",2670:" 20NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[ RPNVN",2671:" 27K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRTXTZV[XZYY[V RWRUXUZV[",2672:" 23KZNRMTLWLZN[O[RZTXUUUR RORNTMWMZN[ RURVVWWXWZV",2673:" 36H]LRJTIWIZK[L[NZPX RMRKTJWJZK[ RRRPXPZR[S[UZWXXUXR RSRQXQZR[ RXRYVZW[W]V",2674:" 42JZJVLSNRPRQSQUPXOZM[L[KZKYLYKZ RWSVTWTWSVRURSSRUQXQZR[U[XYZV RQSRU RSSQU RPXQZ RQXOZ",2675:" 32K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2676:" 38LYLVNSPRRRTSTVSXPZN[ RRRSSSVRXPZ RN[P\\Q^QaPdNfLgKfKdLaO^R\\VYYV RN[O\\P^PaOdNf",2700:" 42H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF ROGMJLOLRMWOZ RNYQZSZVY RUZWWXRXOWJUG RVHSGQGNH",2701:" 12H\\NJPISFS[ RNJNKPJRHR[S[",2702:" 34H\\LKLJMHNGPFTFVGWHXJXLWNUQL[ RLKMKMJNHPGTGVHWJWLVNTQK[ RLZYZY[ RK[Y[",2703:" 48H\\MFXFQO RMFMGWG RWFPO RQNSNVOXQYTYUXXVZS[P[MZLYKWLW RPOSOVPXS RTOWQXTXUWXTZ RXVVYSZPZMYLW ROZLX",2704:" 18H\\UIU[V[ RVFV[ RVFKVZV RUILV RLUZUZV",2705:" 53H\\MFLO RNGMN RMFWFWG RNGWG RMNPMSMVNXPYSYUXXVZS[P[MZLYKWLW RLOMOONSNVOXR RTNWPXSXUWXTZ RXVVYSZPZMYLW ROZLX",2706:" 62H\\VGWIXIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQ RWHTGRGOH RPGNJMOMTNXQZ RMVOYRZSZVYXV RTZWXXUXTWQTO RXSVPSOROOPMS RQONQMT",2707:" 12H\\KFYFO[ RKFKGXG RXFN[O[",2708:" 68H\\PFMGLILKMMNNPOTPVQWRXTXWWYTZPZMYLWLTMRNQPPTOVNWMXKXIWGTFPF RNGMIMKNMPNTOVPXRYTYWXYWZT[P[MZLYKWKTLRNPPOTNVMWKWIVG RWHTGPGMH RLXOZ RUZXX",2709:" 62H\\WPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLXMXNZ RWMVPSR RWNUQRRQRNQLN RPRMPLMLLMIPG RLKNHQGRGUHWK RSGVIWMWRVWTZ RUYRZPZMY",2710:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2711:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2712:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2713:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2714:" 24MXRFRTST RRFSFST RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2715:" 58I\\LKLJMHNGQFTFWGXHYJYLXNWOUPRQ RLKMKMJNHQGTGWHXJXLWNUORP RMIPG RUGXI RXMTP RRPRTSTSP RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2716:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",2717:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",2718:" 71F_\\MZMXNWPUVTXSYQZMZKYJWJUKSLRQOSMTKTISGQFPFNGMIMKNNPQUWXZZ[\\[ R\\M\\NZNXO RYNXPVVUXSZQ[M[KZJYIWIUJSLQQNRMSKSIRG RSHQGPGNH ROGNINKONQQVWXYZZ\\Z\\[",2719:" 51I\\RBR_S_ RRBSBS_ RWIYIWGTFQFNGLILKMMNNVRWSXUXWWYTZQZOYNX RWIVHTGQGNHMIMKNMVQXSYUYWXYWZT[Q[NZLXNX RXXUZ",2720:" 8G^[BIbJb R[B\\BJb",2721:" 24KYUBSDQGOKNPNTOYQ]S`UbVb RUBVBTDRGPKOPOTPYR]T`Vb",2722:" 24KYNBPDRGTKUPUTTYR]P`NbOb RNBOBQDSGUKVPVTUYS]Q`Ob",2723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",2724:" 8F_JQ[Q[R RJQJR[R",2725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",2726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",2727:" 11NWSFRGRM RSGRM RSFTGRM",2728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",2729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",2750:" 42H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RTFRGPINLMOLSLVMYO[ RQ[SZUXWUXRYNYKXHVF",2751:" 15H]TJO[ RVFP[ RVFSIPKNL RUIQKNL",2752:" 42H]OJPKOLNKNJOHPGSFVFYGZIZKYMWOTQPSMUKWI[ RVFXGYIYKXMVOPS RJYKXMXRZUZWYXW RMXR[U[WZXW",2753:" 50H]OJPKOLNKNJOHPGSFVFYGZIZKYMVOSP RVFXGYIYKXMVO RQPSPVQWRXTXWWYVZS[O[LZKYJWJVKULVKW RSPUQVRWTWWVYUZS[",2754:" 10H]XGR[ RYFS[ RYFJUZU",2755:" 39H]QFLP RQF[F RQGVG[F RLPMOPNSNVOWPXRXUWXUZR[O[LZKYJWJVKULVKW RSNUOVPWRWUVXTZR[",2756:" 46H]YIXJYKZJZIYGWFTFQGOIMLLOKSKWLYMZO[R[UZWXXVXSWQVPTOQOOPMRLT RTFRGPINLMOLSLXMZ RR[TZVXWVWRVP",2757:" 30H]NFLL R[FZIXLSRQUPWO[ RXLRRPUOWN[ RMIPFRFWI RNHPGRGWIYIZH[F",2758:" 63H]SFPGOHNJNMOOQPTPXOYNZLZIYGVFSF RSFQGPHOJOMPOQP RTPWOXNYLYIXGVF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RQPNQLSKUKXLZN[ RR[UZVYWWWSVQ",2759:" 46H]YMXOVQTRQROQNPMNMKNIPGSFVFXGYHZJZNYRXUVXTZQ[N[LZKXKWLVMWLX ROQNONKOIQGSF RXGYIYNXRWUUXSZQ[",2760:" 6MXPYOZP[QZPY",2761:" 8MXP[OZPYQZQ[P]N_",2762:" 11MXSMRNSOTNSM RPYOZP[QZ",2763:" 14MXSMRNSOTNSM RP[OZPYQZQ[P]N_",2764:" 17MXUFTGRS RUGRS RUFVGRS RPYOZP[QZPY",2765:" 34H]OJPKOLNKNJOHPGSFWFZG[I[KZMYNSPQQQSRTTT RWFYGZIZKYMXNVO RPYOZP[QZPY",2766:" 8MXVFTHSJSKTLUKTJ",2767:" 8MXUHTGUFVGVHUJSL",2768:" 55E_\\N[O\\P]O]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQUSXUZW[Y[ZYZX RK[IZHXHVITJSPP ROLPQQTSWUYWZYZZY",2769:" 41H]TBL_ RYBQ_ RZJYKZL[K[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJVKULVKW",2770:" 3G]_BEb",2771:" 20KZZBVESHQKOONTNXO]P`Qb RVESIQMPPOUOZP_Qb",2772:" 20JYSBTDUGVLVPUUSYQ\\N_Jb RSBTEUJUOTTSWQ[N_",2773:" 9J[TFTR ROIYO RYIOO",2774:" 3E_IR[R",2775:" 6E_RIR[ RIR[R",2776:" 6E_IO[O RIU[U",2777:" 6NWUFSM RVFSM",2778:" 12I[PFNM RQFNM RYFWM RZFWM",2779:" 14KZSFQGPIPKQMSNUNWMXKXIWGUFSF",2801:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2802:" 31G]LFL[ RMFM[ RIFYFYLXF RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2803:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2804:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2805:" 31F^NFNLMTLXKZJ[ RXFX[ RYFY[ RKF\\F RG[\\[ RG[Gb RH[Gb R[[\\b R\\[\\b",2806:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2807:" 71CbRFR[ RSFS[ ROFVF RGGHHGIFHFGGFHFIGJIKMLONPWPYOZM[I\\G]F^F_G_H^I]H^G RNPLQKSJXIZH[ RNPMQLSKXJZI[G[FZEX RWPYQZS[X\\Z][ RWPXQYSZX[Z\\[^[_Z`X RO[V[",2808:" 45H\\LIKFKLLINGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[O[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2809:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[",2810:" 37F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[ RN@N?M?M@NBPCTCVBW@",2811:" 43F^KFK[ RLFL[ RHFOF RLPSPUOVMWIXGYFZF[G[HZIYHZG RSPUQVSWXXZY[ RSPTQUSVXWZX[Z[[Z\\X RH[O[",2812:" 25E^MFMLLTKXJZI[H[GZGYHXIYHZ RXFX[ RYFY[ RJF\\F RU[\\[",2813:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2814:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2815:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2816:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2817:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2818:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2819:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2820:" 24H]KFRV RLFSV RZFSVQYPZN[M[LZLYMXNYMZ RIFOF RVF\\F",2821:" 48F_RFR[ RSFS[ ROFVF RPILJJLIOIRJULWPXUXYW[U\\R\\O[LYJUIPI RPIMJKLJOJRKUMWPX RUXXWZU[R[OZLXJUI RO[V[",2822:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2823:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RH[\\[ R[[\\b R\\[\\b",2824:" 28F]KFKQLSOTRTUSWQ RLFLQMSOT RWFW[ RXFX[ RHFOF RTF[F RT[[[",2825:" 30BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[",2826:" 36BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[ R`[ab Ra[ab",2827:" 31F`PFP[ RQFQ[ RIFHLHFTF RQPXP[Q\\R]T]W\\Y[ZX[M[ RXPZQ[R\\T\\W[YZZX[",2828:" 41CaHFH[ RIFI[ REFLF RIPPPSQTRUTUWTYSZP[E[ RPPRQSRTTTWSYRZP[ R[F[[ R\\F\\[ RXF_F RX[_[",2829:" 29H]MFM[ RNFN[ RJFQF RNPUPXQYRZTZWYYXZU[J[ RUPWQXRYTYWXYWZU[",2830:" 39H]LIKFKLLINGQFSFVGXIYKZNZSYVXXVZS[P[MZLYKWKVLUMVLW RSFUGWIXKYNYSXVWXUZS[ RPPYP",2831:" 59CbHFH[ RIFI[ REFLF RE[L[ RVFSGQIPKOOORPVQXSZV[X[[Z]X^V_R_O^K]I[GXFVF RVFTGRIQKPOPRQVRXTZV[ RX[ZZ\\X]V^R^O]K\\IZGXF RIPOP",2832:" 45G]WFW[ RXFX[ R[FOFLGKHJJJLKNLOOPWP ROFMGLHKJKLLNMOOP RRPPQORLYKZJZIY RPQOSMZL[J[IYIX RT[[[",2901:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2902:" 48H\\XFWGQINKLNKQKULXNZQ[S[VZXXYUYSXPVNSMQMNNLPKS RXFWHUIQJNLLN RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2903:" 37H\\MMM[ RNMN[ RJMUMXNYPYQXSUT RUMWNXPXQWSUT RNTUTXUYWYXXZU[J[ RUTWUXWXXWZU[",2904:" 14HZMMM[ RNMN[ RJMXMXRWM RJ[Q[",2905:" 22F]NMNQMWLZK[ RWMW[ RXMX[ RKM[M RI[H`H[[[[`Z[",2906:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2907:" 59E`RMR[ RSMS[ ROMVM RJNIOHNIMJMKNMRNSPTUTWSXRZN[M\\M]N\\O[N RPTNUMVKZJ[ RPTNVLZK[I[HZGX RUTWUXVZZ[[ RUTWVYZZ[\\[]Z^X RO[V[",2908:" 42I[MOLMLQMONNPMTMWNXPXQWSTT RTMVNWPWQVSTT RQTTTWUXWXXWZT[P[MZLXLWMVNWMX RTTVUWWWXVZT[",2909:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ",2910:" 37G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ ROGOFNFNGOIQJSJUIVG",2911:" 38H\\MMM[ RNMN[ RJMQM RNTPTSSTRVNWMXMYNXOWN RPTSUTVVZW[ RPTRUSVUZV[X[YZZX RJ[Q[",2912:" 22G]NMNQMWLZK[J[IZJYKZ RWMW[ RXMX[ RKM[M RT[[[",2913:" 30G^LML[ RLMR[ RMMRY RXMR[ RXMX[ RYMY[ RIMMM RXM\\M RI[O[ RU[\\[",2914:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RMTWT RI[P[ RT[[[",2915:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2916:" 21G]LML[ RMMM[ RWMW[ RXMX[ RIM[M RI[P[ RT[[[",2917:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2918:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2919:" 16I\\RMR[ RSMS[ RMMLRLMYMYRXM RO[V[",2920:" 22I[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2921:" 52H]RFRb RSFSb ROFSF RRPQNPMNMLNKQKWLZN[P[QZRX RNMMNLQLWMZN[ RWMXNYQYWXZW[ RSPTNUMWMYNZQZWYZW[U[TZSX RObVb",2922:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2923:" 23G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[[[[`Z[",2924:" 28G]LMLTMVPWRWUVWT RMMMTNVPW RWMW[ RXMX[ RIMPM RTM[M RT[[[",2925:" 30CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[",2926:" 32CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[``_[",2927:" 27H]QMQ[ RRMR[ RLMKRKMUM RRTVTYUZWZXYZV[N[ RVTXUYWYXXZV[",2928:" 37E_JMJ[ RKMK[ RGMNM RKTOTRUSWSXRZO[G[ ROTQURWRXQZO[ RYMY[ RZMZ[ RVM]M RV[][",2929:" 25J[OMO[ RPMP[ RLMSM RPTTTWUXWXXWZT[L[ RTTVUWWWXVZT[",2930:" 34I\\MOLMLQMONNPMSMVNXPYSYUXXVZS[P[NZLXLWMVNWMX RSMUNWPXSXUWXUZS[ RRTXT",2931:" 51DaIMI[ RJMJ[ RFMMM RF[M[ RVMSNQPPSPUQXSZV[X[[Z]X^U^S]P[NXMVM RVMTNRPQSQURXTZV[ RX[ZZ\\X]U]S\\PZNXM RJTPT",2932:" 40G\\VMV[ RWMW[ RZMOMLNKPKQLSOTVT ROMMNLPLQMSOT RTTQUPVNZM[ RTTRUQVOZN[L[KZJX RS[Z[",3001:" 36H\\RFKZ RQIW[ RRIX[ RRFY[ RMUVU RI[O[ RT[[[ RKZJ[ RKZM[ RWZU[ RWYV[ RXYZ[",3002:" 78G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUP RXHYJYLXN RUFWGXIXMWOUP RNPUPXQYRZTZWYYXZU[I[ RXRYTYWXY RUPWQXSXXWZU[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3003:" 37G\\XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXXYV RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[",3004:" 62G]LFL[ RMGMZ RNFN[ RIFSFVGXIYKZNZSYVXXVZS[I[ RWIXKYNYSXVWX RSFUGWJXNXSWWUZS[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3005:" 83G\\LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Y[YU RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[ RT[YZ RV[YY RW[YX RX[YU",3006:" 70G[LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Q[ RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[",3007:" 60G^XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXZY[YS RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[ RXTXY RWSWYVZ RTS\\S RUSWT RVSWU RZSYU R[SYT",3008:" 81F^KFK[ RLGLZ RMFM[ RWFW[ RXGXZ RYFY[ RHFPF RTF\\F RMPWP RH[P[ RT[\\[ RIFKG RJFKH RNFMH ROFMG RUFWG RVFWH RZFYH R[FYG RKZI[ RKYJ[ RMYN[ RMZO[ RWZU[ RWYV[ RYYZ[ RYZ[[",3009:" 39LXQFQ[ RRGRZ RSFS[ RNFVF RN[V[ ROFQG RPFQH RTFSH RUFSG RQZO[ RQYP[ RSYT[ RSZU[",3010:" 45JYSFSWRZQ[ RTGTWSZ RUFUWTZQ[O[MZLXLVMUNUOVOWNXMX RMVMWNWNVMV RPFXF RQFSG RRFSH RVFUH RWFUG",3011:" 69F\\KFK[ RLGLZ RMFM[ RXGMR RPPW[ RQPX[ RQNY[ RHFPF RUF[F RH[P[ RT[[[ RIFKG RJFKH RNFMH ROFMG RWFXG RZFXG RKZI[ RKYJ[ RMYN[ RMZO[ RWYU[ RWYZ[",3012:" 52I[NFN[ ROGOZ RPFP[ RKFSF RK[Z[ZU RLFNG RMFNH RQFPH RRFPG RNZL[ RNYM[ RPYQ[ RPZR[ RU[ZZ RW[ZY RX[ZX RY[ZU",3013:" 63E_JFJZ RJFQ[ RKFQX RLFRX RXFQ[ RXFX[ RYGYZ RZFZ[ RGFLF RXF]F RG[M[ RU[][ RHFJG R[FZH R\\FZG RJZH[ RJZL[ RXZV[ RXYW[ RZY[[ RZZ\\[",3014:" 39F^KFKZ RKFY[ RLFXX RMFYX RYGY[ RHFMF RVF\\F RH[N[ RIFKG RWFYG R[FYG RKZI[ RKZM[",3015:" 54G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF",3016:" 59G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZMYOXPUQNQ RXHYJYMXO RUFWGXIXNWPUQ RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3017:" 77G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF RNXOVQURUTVUXV^W`Y`Z^Z\\ RV\\W^X_Y_ RUXW]X^Y^Z]",3018:" 80G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUPNP RXHYJYLXN RUFWGXIXMWOUP RRPTQUSWYX[Z[[Y[W RWWXYYZZZ RTQURXXYYZY[X RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3019:" 44H\\XIYFYLXIVGSFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[Q[NZLXKUK[LX",3020:" 57H\\JFJL RQFQ[ RRGRZ RSFS[ RZFZL RJFZF RN[V[ RKFJL RLFJI RMFJH ROFJG RUFZG RWFZH RXFZI RYFZL RQZO[ RQYP[ RSYT[ RSZU[",3021:" 45F^KFKULXNZQ[S[VZXXYUYG RLGLVMX RMFMVNYOZQ[ RHFPF RVF\\F RIFKG RJFKH RNFMH ROFMG RWFYG R[FYG",3022:" 34H\\KFR[ RLFRXR[ RMFSX RYGR[ RIFPF RUF[F RJFLH RNFMH ROFMG RWFYG RZFYG",3023:" 55F^JFN[ RKFNVN[ RLFOV RRFOVN[ RRFV[ RSFVVV[ RTFWV RZGWVV[ RGFOF RRFTF RWF]F RHFKG RIFKH RMFLH RNFLG RXFZG R\\FZG",3024:" 54H\\KFW[ RLFX[ RMFY[ RXGLZ RIFPF RUF[F RI[O[ RT[[[ RJFMH RNFMH ROFMG RVFXG RZFXG RLZJ[ RLZN[ RWZU[ RWYV[ RWYZ[",3025:" 48G]JFQQQ[ RKFRQRZ RLFSQS[ RYGSQ RHFOF RVF\\F RN[V[ RIFKG RNFLG RWFYG R[FYG RQZO[ RQYP[ RSYT[ RSZU[",3026:" 41H\\YFKFKL RWFK[ RXFL[ RYFM[ RK[Y[YU RLFKL RMFKI RNFKH RPFKG RT[YZ RV[YY RW[YX RX[YU",3051:" 38H\\UFIZ RSJT[ RTHUZ RUFUHVYV[ RLUTU RF[L[ RQ[X[ RIZG[ RIZK[ RTZR[ RTYS[ RVYW[",3052:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVP RYGZIZKYNXO RWFXGYIYKXNVP RNPVPXQYSYUXXVZR[F[ RWQXSXUWXUZ RVPWRWUVXTZR[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3053:" 41H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RQHOJNLMOLSLWMY RTFRGPJOLNOMSMXNZP[",3054:" 63F]OFI[ RPFJ[ RQFK[ RLFUFXGYHZKZOYSWWUYSZO[F[ RWGXHYKYOXSVWTY RUFWHXKXOWSUWRZO[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3055:" 80F]OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[U[WV RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[ RP[UZ RR[UY RUYWV",3056:" 70F\\OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[N[ RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[",3057:" 65H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RQHOJNLMOLSLWMY RVXWWXT RTFRGPJOLNOMSMXNZP[ RR[TZVWWT RTT\\T RUTWU RVTWW RZTXV R[TXU",3058:" 81E_NFH[ ROFI[ RPFJ[ RZFT[ R[FU[ R\\FV[ RKFSF RWF_F RLPXP RE[M[ RQ[Y[ RLFOG RMFNH RQFOH RRFOG RXF[G RYFZH R]F[H R^F[G RIZF[ RIYG[ RJYK[ RIZL[ RUZR[ RUYS[ RVYW[ RUZX[",3059:" 39KYTFN[ RUFO[ RVFP[ RQFYF RK[S[ RRFUG RSFTH RWFUH RXFUG ROZL[ ROYM[ RPYQ[ ROZR[",3060:" 47I\\WFRWQYO[ RXFTSSVRX RYFUSSXQZO[M[KZJXJVKULUMVMWLXKX RKVKWLWLVKV RTF\\F RUFXG RVFWH RZFXH R[FXG",3061:" 72F]OFI[ RPFJ[ RQFK[ R\\GMR RQOU[ RROV[ RSNWZ RLFTF RYF_F RF[N[ RR[Y[ RMFPG RNFOH RRFPH RSFPG RZF\\G R^F\\G RJZG[ RJYH[ RKYL[ RJZM[ RUZS[ RUYT[ RVYX[",3062:" 49H\\QFK[ RRFL[ RSFM[ RNFVF RH[W[YU ROFRG RPFQH RTFRH RUFRG RLZI[ RLYJ[ RMYN[ RLZO[ RR[WZ RT[XX RV[YU",3063:" 68D`MFGZ RMGNYN[ RNFOY ROFPX R[FPXN[ R[FU[ R\\FV[ R]FW[ RJFOF R[F`F RD[J[ RR[Z[ RKFMG RLFMH R^F\\H R_F\\G RGZE[ RGZI[ RVZS[ RVYT[ RWYX[ RVZY[",3064:" 43F_OFIZ ROFV[ RPFVX RQFWX R\\GWXV[ RLFQF RYF_F RF[L[ RMFPG RNFPH RZF\\G R^F\\G RIZG[ RIZK[",3065:" 56G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF",3066:" 60F]OFI[ RPFJ[ RQFK[ RLFXF[G\\I\\K[NYPUQMQ RZG[I[KZNXP RXFYGZIZKYNWPUQ RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3067:" 78G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF RLXMVOUPURVSXT]U^V^W] RT^U_V_ RSXS_T`V`W]W\\",3068:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVPNP RYGZIZKYNXO RWFXGYIYKXNVP RRPTQURWXXYYYZX RWYXZYZ RURVZW[Y[ZXZW RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3069:" 44G^ZH[H\\F[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJUI[JYKY",3070:" 54G]TFN[ RUFO[ RVFP[ RMFKL R]F\\L RMF]F RK[S[ RNFKL RPFLI RRFMG RYF\\G RZF\\H R[F\\I R\\F\\L ROZL[ ROYM[ RPYQ[ ROZR[",3071:" 48F_NFKQJUJXKZN[R[UZWXXU\\G ROFLQKUKYLZ RPFMQLULYN[ RKFSF RYF_F RLFOG RMFNH RQFOH RRFOG RZF\\G R^F\\G",3072:" 35H\\NFNHOYO[ ROGPX RPFQW R[GO[ RLFSF RXF^F RMFNH RQFPH RRFOG RYF[G R]F[G",3073:" 57E_MFMHKYK[ RNGLX ROFMW RUFMWK[ RUFUHSYS[ RVGTX RWFUW R]GUWS[ RJFRF RUFWF RZF`F RKFNG RLFMH RPFNI RQFNG R[F]G R_F]G",3074:" 54G]NFT[ ROFU[ RPFV[ R[GIZ RLFSF RXF^F RF[L[ RQ[X[ RMFOH RQFPH RRFPG RYF[G R]F[G RIZG[ RIZK[ RTZR[ RTYS[ RUYW[",3075:" 51G]MFQPN[ RNFRPO[ ROFSPP[ R\\GSP RKFRF RYF_F RK[S[ RLFNG RPFOH RQFNG RZF\\G R^F\\G ROZL[ ROYM[ RPYQ[ ROZR[",3076:" 35G]ZFH[ R[FI[ R\\FJ[ R\\FNFLL RH[V[XU ROFLL RPFMI RRFNG RR[VZ RT[WX RU[XU",3101:" 54I]NPNOOOOQMQMONNPMTMVNWOXQXXYZZ[ RVOWQWXXZ RTMUNVPVXWZZ[[[ RVRUSPTMULWLXMZP[S[UZVX RNUMWMXNZ RUSQTOUNWNXOZP[",3102:" 47G\\LFL[MZOZ RMGMY RIFNFNZ RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RJFLG RKFLH",3103:" 34H[WQWPVPVRXRXPVNTMQMNNLPKSKULXNZQ[S[VZXX RMPLRLVMX RQMONNOMRMVNYOZQ[",3104:" 52H]VFV[[[ RWGWZ RSFXFX[ RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RTFVG RUFVH RXYY[ RXZZ[",3105:" 41H[MSXSXQWOVNSMQMNNLPKSKULXNZQ[S[VZXX RWRWQVO RMPLRLVMX RVSVPUNSM RQMONNOMRMVNYOZQ[",3106:" 40KYWHWGVGVIXIXGWFTFRGQHPKP[ RRHQKQZ RTFSGRIR[ RMMVM RM[U[ RPZN[ RPYO[ RRYS[ RRZT[",3107:" 89I\\XNYOZNYMXMVNUO RQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM ROONQNSOU RUUVSVQUO RQMPNOPOTPVQW RSWTVUTUPTNSM RNUMVLXLYM[N\\Q]U]X^Y_ RN[Q\\U\\X] RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[ RObMaL_L^M\\O[",3108:" 65G^LFL[ RMGMZ RIFNFN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJFLG RKFLH RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3109:" 43LXQFQHSHSFQF RRFRH RQGSG RQMQ[ RRNRZ RNMSMS[ RN[V[ ROMQN RPMQO RQZO[ RQYP[ RSYT[ RSZU[",3110:" 41KXRFRHTHTFRF RSFSH RRGTG RRMR^QaPb RSNS]R` ROMTMT]S`RaPbMbLaL_N_NaMaM` RPMRN RQMRO",3111:" 61G]LFL[ RMGMZ RIFNFN[ RWNNW RRSY[ RRTX[ RQTW[ RTM[M RI[Q[ RT[[[ RJFLG RKFLH RUMWN RZMWN RLZJ[ RLYK[ RNYO[ RNZP[ RWYU[ RVYZ[",3112:" 31LXQFQ[ RRGRZ RNFSFS[ RN[V[ ROFQG RPFQH RQZO[ RQYP[ RSYT[ RSZU[",3113:" 99AcFMF[ RGNGZ RCMHMH[ RHQIOJNLMOMQNROSRS[ RQORRRZ ROMPNQQQ[ RSQTOUNWMZM\\N]O^R^[ R\\O]R]Z RZM[N\\Q\\[ RC[K[ RN[V[ RY[a[ RDMFN REMFO RFZD[ RFYE[ RHYI[ RHZJ[ RQZO[ RQYP[ RSYT[ RSZU[ R\\ZZ[ R\\Y[[ R^Y_[ R^Z`[",3114:" 65G^LML[ RMNMZ RIMNMN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJMLN RKMLO RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3115:" 46H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RMPLRLVMX RWXXVXRWP RQMONNOMRMVNYOZQ[ RS[UZVYWVWRVOUNSM",3116:" 60G\\LMLb RMNMa RIMNMNb RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RIbQb RJMLN RKMLO RLaJb RL`Kb RN`Ob RNaPb",3117:" 55H\\VNVb RWOWa RUNWNXMXb RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RSb[b RVaTb RV`Ub RX`Yb RXaZb",3118:" 43IZNMN[ RONOZ RKMPMP[ RWOWNVNVPXPXNWMUMSNQPPS RK[S[ RLMNN RMMNO RNZL[ RNYM[ RPYQ[ RPZR[",3119:" 43J[WOXMXQWOVNTMPMNNMOMQNSPTUUWVXY RNNMQ RNRPSUTWU RXVWZ RMONQPRUSWTXVXYWZU[Q[OZNYMWM[NY",3120:" 22KZPHPVQYRZT[V[XZYX RQHQWRY RPHRFRWSZT[ RMMVM",3121:" 43G^LMLVMYNZP[S[UZVYWW RMNMWNY RIMNMNWOZP[ RWMW[\\[ RXNXZ RTMYMY[ RJMLN RKMLO RYYZ[ RYZ[[",3122:" 31I[LMR[ RMMRY RNMSY RXNSYR[ RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3123:" 45F^JMN[ RKMNX RLMOX RRMOXN[ RRMV[ RSMVX RRMTMWX RZNWXV[ RGMOM RWM]M RHMKN RNMLN RXMZN R\\MZN",3124:" 48H\\LMV[ RMMW[ RNMX[ RWNMZ RJMQM RTMZM RJ[P[ RS[Z[ RKMMN RPMNN RUMWN RYMWN RMZK[ RMZO[ RVZT[ RWZY[",3125:" 40H[LMR[ RMMRY RNMSY RXNSYP_NaLbJbIaI_K_KaJaJ` RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3126:" 41I[VML[ RWMM[ RXMN[ RXMLMLQ RL[X[XW RMMLQ RNMLP ROMLO RQMLN RS[XZ RU[XY RV[XX RW[XW",3151:" 50G]WMUTUXVZW[Y[[Y\\W RXMVTVZ RWMYMWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RNNLQKTKWLY RPMNOMQLTLWMZN[",3152:" 52I\\PFNMMSMWNYOZQ[S[VZXWYTYRXOWNUMSMQNPOOQNT RQFOMNQNWOZ RVYWWXTXQWO RMFRFPMNT RS[UYVWWTWQVNUM RNFQG ROFPH",3153:" 34I[WQWPVPVRXRXPWNUMRMONMQLTLVMYNZP[R[UZWW ROONQMTMWNY RRMPOOQNTNWOZP[",3154:" 58G]YFVQUUUXVZW[Y[[Y\\W RZFWQVUVZ RVF[FWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RWFZG RXFYH",3155:" 33I[MVQUTTWRXPWNUMRMONMQLTLVMYNZP[R[UZWX ROONQMTMWNY RRMPOOQNTNWOZP[",3156:" 45JZZHZGYGYI[I[GZFXFVGTISKRNQRO[N^M`Kb RTJSMRRP[O^ RXFVHUJTMSRQZP]O_MaKbIbHaH_J_JaIaI` RNMYM",3157:" 57H]XMT[S^QaOb RYMU[S_ RXMZMV[T_RaObLbJaI`I^K^K`J`J_ RVTVQUNSMQMNNLQKTKVLYMZO[Q[SZTYUWVT RNOMQLTLWMY RQMOONQMTMWNZO[",3158:" 41G]OFI[K[ RPFJ[ RLFQFK[ RMTOPQNSMUMWNXPXSVX RWNWRVVVZ RWPUUUXVZW[Y[[Y\\W RMFPG RNFOH",3159:" 35KXSFSHUHUFSF RTFTH RSGUG RLQMOOMQMRNSPSSQX RRNRRQVQZ RRPPUPXQZR[T[VYWW",3160:" 45KXUFUHWHWFUF RVFVH RUGWG RMQNOPMRMSNTPTSRZQ]P_NaLbJbIaI_K_KaJaJ` RSNSSQZP]O_ RSPRTP[O^N`Lb",3161:" 49G]OFI[K[ RPFJ[ RLFQFK[ RYOYNXNXPZPZNYMWMUNQROS RMSOSQTRUTYUZWZ RQUSYTZ ROSPTRZS[U[WZYW RMFPG RNFOH",3162:" 26LXTFQQPUPXQZR[T[VYWW RUFRQQUQZ RQFVFRTQX RRFUG RSFTH",3163:" 61@cAQBODMFMGNHPHSF[ RGNGSE[ RGPFTD[F[ RHSJPLNNMPMRNSPSSQ[ RRNRSP[ RRPQTO[Q[ RSSUPWNYM[M]N^P^S\\X R]N]R\\V\\Z R]P[U[X\\Z][_[aYbW",3164:" 42F^GQHOJMLMMNNPNSL[ RMNMSK[ RMPLTJ[L[ RNSPPRNTMVMXNYPYSWX RXNXRWVWZ RXPVUVXWZX[Z[\\Y]W",3165:" 46H\\QMNNLQKTKVLYMZP[S[VZXWYTYRXOWNTMQM RNOMQLTLWMY RVYWWXTXQWO RQMOONQMTMWNZP[ RS[UYVWWTWQVNTM",3166:" 66G]HQIOKMMMNNOPOSNWKb RNNNSMWJb RNPMTIb ROTPQQORNTMVMXNYOZRZTYWWZT[R[PZOWOT RXOYQYTXWWY RVMWNXQXTWWVYT[ RFbNb RJaGb RJ`Hb RK`Lb RJaMb",3167:" 57G\\WMQb RXMRb RWMYMSb RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RNbVb RRaOb RR`Pb RS`Tb RRaUb",3168:" 30I[JQKOMMOMPNQPQTO[ RPNPTN[ RPPOTM[O[ RYOYNXNXPZPZNYMWMUNSPQT",3169:" 47J[XPXOWOWQYQYOXNUMRMONNONQOSQTTUVVWX RONNQ RORQSTTVU RWVVZ RNOOQQRTSVTWVWXVZS[P[MZLYLWNWNYMYMX",3170:" 23KYTFQQPUPXQZR[T[VYWW RUFRQQUQZ RTFVFRTQX RNMXM",3171:" 42F^GQHOJMLMMNNPNSLX RMNMRLVLZ RMPKUKXLZN[P[RZTXVU RXMVUVXWZX[Z[\\Y]W RYMWUWZ RXMZMXTWX",3172:" 29H\\IQJOLMNMONPPPSNX RONORNVNZ ROPMUMXNZP[R[TZVXXUYQYMXMXNYP",3173:" 48CaDQEOGMIMJNKPKSIX RJNJRIVIZ RJPHUHXIZK[M[OZQXRU RTMRURXSZU[W[YZ[X]U^Q^M]M]N^P RUMSUSZ RTMVMTTSX",3174:" 51G]JQLNNMPMRNSPSR RPMQNQRPVOXMZK[I[HZHXJXJZIZIY RRORRQVQY RZOZNYNYP[P[NZMXMVNTPSRRVRZS[ RPVPXQZS[U[WZYW",3175:" 49G]HQIOKMMMNNOPOSMX RNNNRMVMZ RNPLULXMZO[Q[SZUXWT RYMU[T^RaPb RZMV[T_ RYM[MW[U_SaPbMbKaJ`J^L^L`K`K_",3176:" 39H\\YMXOVQNWLYK[ RXOOOMPLR RVORNONNO RVORMOMMOLR RLYUYWXXV RNYRZUZVY RNYR[U[WYXV",3200:" 50H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RNHMJLNLSMWNY RVYWWXSXNWJVH RQFOGNIMNMSNXOZQ[ RS[UZVXWSWNVIUGSF",3201:" 28H\\QHQ[ RRHRZ RSFS[ RSFPINJ RM[W[ RQZO[ RQYP[ RSYT[ RSZU[",3202:" 62H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RWHXJXLWN RTFVGWJWLVNTPPR RKYLXNXSYWYYX RNXSZWZXY RNXS[W[XZYXYV",3203:" 76H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXIXLWNTO RVGWIWLVN RSFUGVIVLUNSO RQOTOVPXRYTYWXYWZT[P[MZLYKWKVLUMUNVNWMXLX RWRXTXWWY RSOUPVQWTWWVZT[ RLVLWMWMVLV",3204:" 28H\\SIS[ RTHTZ RUFU[ RUFJUZU RP[X[ RSZQ[ RSYR[ RUYV[ RUZW[",3205:" 55H\\MFKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMUNVNWMXLX RWPXRXVWX RSMUNVOWRWVVYUZS[ RLVLWMWMVLV RMFWF RMGUG RMHQHUGWF",3206:" 69H\\VIVJWJWIVI RWHVHUIUJVKWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNQNOONPMR RNIMKLOLUMXNY RWXXVXSWQ RRFPGOHNJMNMUNXOZQ[ RS[UZVYWVWSVPUOSN",3207:" 43H\\KFKL RYFYIXLTQSSRWR[ RSRRTQWQ[ RXLSQQTPWP[R[ RKJLHNFPFUIWIXHYF RMHNGPGRH RKJLINHPHUI",3208:" 79H\\PFMGLILLMNPOTOWNXLXIWGTFPF RNGMIMLNN RVNWLWIVG RPFOGNINLONPO RTOUNVLVIUGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RMQLSLWMY RWYXWXSWQ RPONPMSMWNZP[ RT[VZWWWSVPTO",3209:" 69H\\MWMXNXNWMW RWOVQURSSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNVOWOXNYMY RMPLNLKMI RVHWIXLXRWVVX RQSORNQMNMKNHOGQF RSFUGVIWLWSVWUYTZR[",3210:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3211:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3212:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3213:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3214:" 34MXRFQGQIRQ RRFRTST RRFSFST RSFTGTISQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3215:" 52I\\MKMJNJNLLLLJMHNGPFTFWGXHYJYLXNWOSQ RWHXIXMWN RTFVGWIWMVOUP RRQRTSTSQRQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3216:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",3217:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",3218:" 74E_[O[NZNZP\\P\\N[MZMYNXPVUTXRZP[L[JZIXIUJSPORMSKSIRGPFNGMIMLNOPRTWWZY[[[\\Y\\X RKZJXJUKSLR RRMSI RSKRG RNGMK RNNPQTVWYYZ RN[LZKXKULSPO RMINMQQUVXYZZ[Z\\Y",3219:" 56H\\PBP_ RTBT_ RXKXJWJWLYLYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWKUMUMWLWLV",3220:" 8G^[BIbJb R[B\\BJb",3221:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3222:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3223:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3224:" 8F_JQ[Q[R RJQJR[R",3225:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3226:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3227:" 11NWSFRGRM RSGRM RSFTGRM",3228:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3229:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3250:" 58H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RQHOJNLMOLSLWMY RTYVWWUXRYNYJXH RTFRGPJOLNOMSMXNZO[ RQ[SZUWVUWRXNXIWGVF",3251:" 20H]TJO[Q[ RWFUJP[ RWFQ[ RWFTIQKOL RTJRKOL",3252:" 52H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMWOMUKWI[ RXGYIYKXMVOSQ RVFWGXIXKWMUOMU RJYKXMXRYWYXX RMXRZWZ RMXR[U[WZXXXW",3253:" 64H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMXNVOSP RXGYIYKXMWN RVFWGXIXKWMUOSP RQPSPVQWRXTXWWYUZR[O[LZKYJWJULULWKWKV RVRWTWWVY RSPUQVSVWUYTZR[",3254:" 15H]WJR[T[ RZFXJS[ RZFT[ RZFJUZU",3255:" 49H]QFLP RQF[F RQGYG RPHUHYG[F RLPMOPNSNVOWPXRXUWXUZQ[N[LZKYJWJULULWKWKV RVPWRWUVXTZ RSNUOVQVUUXSZQ[",3256:" 61H]YJYIXIXKZKZIYGWFTFQGOIMLLOKSKVLYMZO[R[UZWXXVXSWQVPTOQOOPNQMS RPINLMOLSLWMY RVXWVWSVQ RTFRGPJOLNOMSMXNZO[ RR[TZUYVVVRUPTO",3257:" 39H]NFLL R[FZIXLTQRTQWP[ RRSPWO[ RXLRRPUOWN[P[ RMIPFRFWI ROGRGWI RMIOHRHWIYIZH[F",3258:"104H]SFPGOHNJNMOOQPTPWOYNZLZIYGWFSF RUFPG RPHOJONPO ROORP RSPWO RXNYLYIXG RYGUF RSFQHPJPNQP RTPVOWNXLXHWF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RRPMQ RNQLSKUKXLZ RKZP[VZ RVYWWWTVR RVQSP RQPOQMSLULXMZN[ RR[TZUYVWVSUQTP",3259:" 61H]XNWPVQTRQROQNPMNMKNIPGSFVFXGYHZKZNYRXUVXTZQ[N[LZKXKVMVMXLXLW ROPNNNKOI RXHYJYNXRWUUX RQRPQOOOKPHQGSF RVFWGXIXNWRVUUWSZQ[",3260:" 16MXPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3261:" 22MXQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3262:" 32MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3263:" 38MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3264:" 34MXVFUFTGRT RVGUGRT RVGVHRT RVFWGWHRT RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3265:" 59H]OKOJPJPLNLNJOHPGSFWFZG[I[KZMYNWOSPQQQSSTTT RUFZG RYGZIZKYMXNVO RWFXGYIYKXMWNSPRQRSST RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3266:" 22MXWFUGTHSJSLTMUMVLVKUJTJ RUGTITJ RTKTLULUKTK",3267:" 22MXVIUITHTGUFVFWGWIVKULSM RUGUHVHVGUG RVIVJUL",3268:" 72E_\\O\\N[N[P]P]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQURWTZV[X[YYYX RL[HZ RIZHXHVITJSLR RPPQSTYVZ RK[JZIXIVJTKSMRRO ROLPOQRSVUYWZXZYY",3269:" 52H]TBL_ RYBQ_ RZKZJYJYL[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJULULWKWKV",3270:" 8G^_BEbFb R_B`BFb",3271:" 32JZZBXCUERHPKNOMSMXN\\O_Qb RSHQKOONTN\\ RZBWDTGRJQLPOOSN\\ RNTO]P`Qb",3272:" 32JZSBUEVHWLWQVUTYR\\O_LaJb RVHVPUUSYQ\\ RSBTDUGVP RVHUQTUSXRZP]M`Jb",3273:" 39J[TFSGUQTR RTFTR RTFUGSQTR ROIPIXOYO ROIYO ROIOJYNYO RYIXIPOOO RYIOO RYIYJONOO",3274:" 8F_JQ[Q[R RJQJR[R",3275:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3276:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3277:" 11MWUFTGRM RUGRM RUFVGRM",3278:" 22H\\PFOGMM RPGMM RPFQGMM RZFYGWM RZGWM RZF[GWM",3279:" 30KZSFQGPIPKQMSNUNWMXKXIWGUFSF RSFPIQMUNXKWGSF RUFQGPKSNWMXIUF",3301:" 62F^IHJIIJHIIGKFMFOGPHQKQOPRNTLUIV ROHPKPPOR RMFNGOJOPNSLU RLVOY RKVOZ RIVN[UV R\\G[H\\H\\G[FYFWGVHUJUYW[[W RWHVJVXXZ RYFXGWJWWYY",3302:"101E_GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RYM[O\\R\\U[XYZV[S[PZJWIWHX RXNYN[P RVNYO[Q\\S RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3303:" 79F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G",3304:" 79E_HLHKIIKGNFRFUGWHYJ[M\\Q\\U[XYZV[S[PZJWIWHX RKHMGRGUHWIYK[N RTZRZLWKW RHKJIMHRHUIWJYL[O\\R RZYXZUZRYNWKVIVHXHZI[JZIY RPHMKLMLONSNU RMNMONQNR RMKMMOQOSNUMVKVJUJT",3305:" 95F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G RUNYK RYKZL\\L RXLYMZM RWMXNZN\\L",3306:" 94F^MNKMJKJIKGNFQFTGXI RKHMGRGUH RJKKIMHRHXIZI[H[GZFYF RSHRIQKQMROVSWVWYV\\U]S^ RTPWSXVXYW[ RQMSOVQXSYVYYX[V]S^O^L]K\\JZJWLTLRKQ RL\\K[KWLU RO^M]L[LWMTMRLQJQIRIS RUPYL RYLZM\\M RXMYNZN RWNXOZO\\M",3307:" 99E_UJTHSGQFNFKGIJHNHRIUJWLYNZQ[T[WZYY[W\\T\\Q[NYL RKHJJIMIRJUKW RZW[U[QZNYM RNFLGKIJMJRKVLXNZ RWZYXZUZQYOWM RUFRHPJOLOMPOSQTSTU RPLPMTQTR RPJPKQMTOUQUSTURVQVOUNS RTOYLZJ R\\FZJ RYG]I R\\F[GYGZHZJ[I]I\\H\\F",3308:" 92F_RFPGNIMKMMNOPQQSQU RNLNMQQQR RNINKOMQORQRSQUPVNWLWJVIUHSHQIPJQIR RRFTHVHXG RQGSH RPGQHSIUIXG RRPYK RYK[N\\Q\\T[WYYVZR[ RXLZN[Q[UZW RVMWMYOZRZVYXXYVZ RVZTZRYPYNZM\\N^P_R_T^ RSZQZ RR[PZNZ",3309:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3310:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3311:" 81E_[KZIXGUFRFOGMILKLNMQPWPYN[ RMNMOPUPV RNHMJMMNOPSQVQXPZN[L[JZ RHVJZ RGYKW RHVHXGYIYJZJXKWIWHV RNONMOKQJTJVKXMYM RUKWM RRJTKULVN RYMPQ RUOYXZY[Y RTPXXZZ RSPWYY[\\X",3312:" 73G^ZSYTVTUSUQVOXLYJYH RVQVPYLYK RWTVSVRWPYNZLZJYHXGUFPFMGLHKJKLLNNQOSOTNV RLKLLOQOR RLHLJMLOOPQPSOUMWJY RMWOWRYUZXZZY RNXOXSZTZ RJYLXMXQZT[V[YZZY[W",3313:"128BbEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFKFMGOIPLPROUNWLYI[HZGZ RNIOLORNUMW RJZIYHY RKFMHNKNRMVLXKYJXIXF[ RNGPFRFTGVIWLWRVUUWSYQ[PZOZ RUIVLVRUV RRZQYPY RRFTHUKUSTWSYRXQXN[ RUHVGXFZF\\G]H^J_K R\\H]J RZF[G\\J]K_K R_K\\M[NZQZT[X][`X R\\N[P[T\\W^Z R_K]M\\O\\S]W_Y",3314:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGRISLSRRUQWOYL[KZIZG[ RQIRKRRQUPWOX RMZKYIY RNFPHQKQRPVNYLXJXG[ RRHSGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KYMXNWQWTXXZ[]X RYNXPXTYW[Z R\\KZMYOYSZW\\Y",3315:" 72D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZXXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RYYWZTZQYMWJVHVGXGZH[IZHY",3316:"100E`HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSU RSWS\\R^P_M_L^L\\M[N\\M] RQHRJR\\Q^ ROFPGQJQU RQWQ\\P^O_ RSJXF RXFZI[K\\O\\R[UYXV[ RWGZK[N[O RVHXJZM[P[SZVYX RWYUVSU RQUOVMX RWZUWSVPV RV[TXSW RQWOWMX",3317:" 88D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZX RXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RXZTZQYMWJVHVGXGZH[IZHY RTXVVXV\\Z]Z RWWXW[Z RUWVWZ[\\[^Y",3318:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRVQXOZM[K[IZ RPHQJQVPX RNFOGPJPVOYM[ RGVIZ RFYJW RGVGXFYHYIZIXJWHWGV RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RTOXYZ[]X RUOYX[Z RVNZX[Y\\Y",3319:" 83E`\\H[G\\F]G]I\\KZKVISHOHKIIK RYJVHSGOGLH R]I\\JZJVGSFOFLGJIIKHNHRIUJWLYNZQ[U[XZZY\\W]T]Q\\OZNWNUOSRQSOS RLXNYQZUZYY RIUKWMXPYUYYX[W\\V]T RXOWOSSRS R]Q[OYOWPUSSTQTOSNQNOOMQL",3320:" 81F_LNJMIKIIJGMFRFUGYJ[J\\I RJHLGRGUHXJ RIKJILHRHUIYK[K\\I\\G[FZG[H RUIRLQNQPSTSV RRORPSRSS RRLRNTRTTSVRWPWOVOT RJYKZJ[IZIXJVLVOWSYVZYZ[Y RLWMWSZUZ RIXJWKWMXQZT[W[ZZ\\X",3321:" 45G]JHKHLILWJX RKGMHMXPZ RIILFNHNWPYRY RJXKXMYO[RYVV RTHUHVIVYX[[X RUGWHWYYZ RSIVFYHXIXXYYZY",3322:"100D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYG[J\\K RYHZJ RWFXGYJZK\\K RZKXKWLWNXP[R\\T RXO[Q RWMXN[P\\R\\V[XYZW[S[PZJWIWHX RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3323:"143BcEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFLFNGOHPJPNOQMTKV RNHOJOONR RLFMGNJNOMSKV RNGPFSFUG RWFTGSISMTPVSWUWWVY RTMTNWSWT RWFUGTITLUNWQXTXVWXUZS[O[MZKXIWGWFX RNZKWJW RQ[OZLWJVGVFXFZG[HZGY RWFZF\\G^J_K R\\H]J RZF[G\\J]K_K R]K[KZLZN[P^R_T R[O^Q RZM[N^P_R_W^Y]Z[[X[UZ RYZXZVY R^Y\\ZZZXYWX",3324:" 86F^KHMHOIPJQMQO RQQQUPXM[KZI[ RNZLYKY ROYNYLXI[ RMGPHQIRLRUSWUYWZ RIINFPGRISLSO RSQSTTWUXWYYY RQURXTZV[[X RSLTIWFYG[F RVGXHYH RUHVHXI[F RKSMOQO RSOWOYM RMPWP RKSMQQQ RSQWQYM",3325:" 74E_HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSORRQTQUSWTW RQHRJRPQSPUSX ROFPGQJQPPTOVRYUV RSJ[F RYGYZX] RZGZXY[ R[F[VZZY\\W^T_P_M^K\\JZKYLZK[",3326:" 74F^NIOGQFTFVGWHXJXMWOVPTQ RQQOPNN RVHWIWNVO RTFUGVIVNUPTQ RMUNSORQQTQWRYTZVZZY\\W^T_P_N^KZJY RXTYVYZX\\ RTQWSXUX[W]V^T_ RO^N]LZKY RR_P^O]MZLYIYHZH\\I]J]",3401:" 46J[TMQNOONPMSMVNYO[UX RNVOYPZ RQNOPNSNUOXQZ RRNSOUPUYW[ZX RSNVPVXXZ RTMUNWOXO RWPXO RWPWXXYYY",3402:" 50J[LHMINK RTFQGOINKNXMY RPIOKOXRZ RTFRGQHPKPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3403:" 27KXRNTPVOTMRNOPNRNWOYQ[UY RSNUO RPPOROWPYQZ RQOPQPVQXSZ",3404:" 47J[QFNINKOLSNVPWRWUVXTZ ROJOKSMVOWP ROHOIPJUMWOXRXUWXTZQ[ RRNNPNXMY ROPOXRZ RPOPXRYSZ RMYNYPZQ[",3405:" 27KXPUVQSMOPNRNWOYQ[UY RUQRN RPPOROWPYQZ RTRROQOPQPVQXSZ",3406:" 49LYXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKQMRNTOVOVP RNPPP RRPVP RPPPTQ` RSOPOQNQ[ RRPRTQ`",3407:" 53J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV[V]U_ RSNVPVZ RTMUNWOXO RWPXO RWPW\\V^U_S`P`N_M^M]N]N^",3408:" 50J[LHMINK RTFQGOINKNXMY RPIOKOYPZ RTFRGQHPKPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3409:" 39MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQYS[VX RPNRORXTZ RNPQMRNTO RSPTO RSPSXTYUY",3410:" 45MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQ[P^O_M` RPNROR[Q] RNPQMRNTO RSPTO RSPS[R]P_M` RS[T]U^",3411:" 63KYNHOIPK RUFSGQIPKPMOONP RPPPXOY RRIQKQM RQOPOQMQXSZ RUFSHRKRO RRPRXSYTY ROYQZR[UX RRLVIWJWLUNSO RUJVKVLUN RROWOWP RNPPP RRPWP",3412:" 29MWOHPIQK RWFTGRIQKQXPY RSIRKRYTZ RWFUGTHSKSXTYUY RPYRZS[VX",3413:" 74E_GOHOIPIXHYJ[ RHNJPJXIYJZKYJX RFPIMKOKXLYJ[ RNNPOQQQXPYR[ RPNQORQRXQYRZSYRX RKPNNPMRNSPSXTYR[ RVNWOYPYY[[^X RWNZPZX\\Z RSPVNXMYN[O\\O R[P\\O R[P[X\\Y]Y",3414:" 49I[KOLOMPMXLYN[ RLNNPNXMYNZOYNX RJPMMOOOXPYN[ RRNSOUPUYW[ZX RSNVPVXXZ ROPRNTMUNWOXO RWPXO RWPWXXYYY",3415:" 41J[NPNXMY ROPOXRZ RQOPPPXRYSZ RMYNYPZQ[TZ RNPQOVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3416:" 57J[OJMLMNNQNXLZ RNYO` RNMNNOQO[ RNKNLONPQPXQXSYTZ RPYO` RSZQY RTZR[PY RNYLZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3417:" 43J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV` RSNVPV[ RTMUNWOXO RWPXO RWPWXV`",3418:" 32KYNOOOPPPXOY RONQPQYSZ RMPPMRORXSYTY ROYQZR[UX RTNUPWOVMRO RUNVO",3419:" 42LWXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKRP RPPPTQ` RQOPOQNQ[ RRPRTQ` RNPPP",3420:" 37LXSIRLQNPONP RSISOVOVP RNPQP RSPVP RQPQXPY RROQORMRXTZ RSPSXTYUY RPYRZS[VX",3421:" 47I[KOLOMPMXLY RLNNPNXPZ RJPMMOOOXQYRZ RLYMYOZP[RZUX RVMTOUPUYW[ZX RVPWOVNUOVPVXXZ RVMXOWPWXXYYY",3422:" 47J[OKMMMONRNXMY RNNNOOROXRZ RNLNMOOPRPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3423:" 72F_KKIMIOJRJXIYK[ RJNJOKRKXJYKZLYKX RJLJMKOLRLXMYK[ RONQORQRXQY RQNROSQSXVZ RLPONQMSNTPTXVYWZ RQYRYTZU[XZ RTPZM[O\\R\\T[XZYXZ RYNZO[Q RXNZP[S[UZXXZ",3424:" 44KZOOPOQPQXPXNYM[M]N_P`S`V_V^U^U_ RPNRPRXUZ RNPQMSOSXUYVZ RXYT[SZQYOYM[ RUNVPXOWMSO RVNWO",3425:" 47J[OKMMMONRNXMY RNNNOOROYQZ RNLNMOOPRPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3426:" 43KYNPSMUNVPVRUTQV RSNUO RRNTOUQURTTSU RSUUWVYV]U_S`Q`O_N]N[OYQXWV RRVTWUY RQVTXUZU]T_S`",3427:" 61JZRMPNMPMRNU RNPNROT RPNOOORPT RPNROTOVNWMWKVJTJ RQNSN RRMTNVN RNUVRWUWWVYR[ RUSVUVXUY RTSUUUXTZ RTZRYOYL[ RSZQZ RR[PZNZL[",3428:" 78J[VFUGSGQFOFNHNMMOLP RTHRHPGOG RVFUHTIRIPHOHNI RNKPP RNPNTO` ROONOONO[ RPPPTO` RLPNP RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3429:" 62J[PIOLNNMOKP RPIPXQYO[ ROONOONOXNYOZPYOX RKPNPNXMYO[ RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3501:" 60G]LINGPFRFSGZW[X]X RQGRHYXZZ[YYX RNGPGQHXXYZZ[[[]X RLMMLOKPKQL RPLPM RMLOLPN RG[IYKXNXPY RJYNYOZ RG[JZMZN[PY RRJLX RNSVS",3502:"110F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RRIQJPLPU RQKQS RRIRRQTPU RRIXFZG[I[KYMUO RXGZIZK RVGXHYIYLWN RWNZP[R[X RYPZRZW RWNXOYQYX RJ[MYPXTXWY RLZOYTYVZ RJ[NZSZU[WYYX[X RUOUX RURYR RUUYU",3503:" 69E]NGLHJJILHOHSIVJXMZP[S[VZXYZW[U RJKINISKWNYQZTZWY RNGLIKKJNJRKUNXQYTYWXYW[U RPJPV RQJQT RRIRSQUPV RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RWIWX",3504:" 72G^IFWFYGZIZX RKGWGYIYW RIFJGLHWHXIXX ROKNLMNMOKOJPJRKQMQMV RNMNT RKPNP ROKOSNUMV RI[LYOXSXVY RKZNYSYUZ RI[MZRZT[VYXXZX RRHRX RRMTNVNXM RRSTRVRXS",3505:" 94G]IHKFMFOGQF RLGNG RIHKGMHOHQF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RQMRJSHTGVFXF[G RTHVGXGZH RRJSIUHWHYI[G RQURRSPTOVOXP RTPVPWQ RRRSQUQVRXP RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RQMQX",3506:" 91F]JHLFOFQGSF RMGPG RJHLGNHQHSF RPKOLNNNOLOKPKRLQNQNV ROMOT RLPOP RPKPSOUNV RSJSYRZQZMXKXIYG[ RTJTX RTPXP RPZOZMYJY RUIUOXO RXQUQUWTYP[N[LZJZG[ RSJUIXFZG\\G]F RWGYH[H RVHXIZI\\H]F RXIXW",3507:" 87E^NGLHJJILHOHRIUJWLYNZQ[U[XZZX[V[SZQYPWOUO RJKINISJV RNGLIKKJNJSKVLXNZ RYXZWZSYQ RU[WZXYYWYSXQWPUO RPJPW RQJQU RRIRTQVPW RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RYHUOU[ RUSYS RUVYV",3508:"112F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZOYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOWNYLZM[P[TZXX[ RXMYNZPZUYX RWNXNYPYUX[ RUOUY RURYR RUUYU",3509:" 67I\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZSZOXMXKYI[ RWKWW RRZQZOYLY RYHXJXVWXUZS[P[NZKZI[",3510:" 65H\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZ RWKWW RYHXJXVWXUZR[O[LZJXJVKULUMVLWKW RJVMV",3511:"115F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOXLYM[N RWMYN[N R[NYQWSUU RWSYTZX[Z\\Z RYVZZ RWSXTYZZ[[[\\Z RUOUY",3512:" 85G]IHKFNFPGRF RLGOG RIHKGMHPHRF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RSIRJQLQU RRKRS RSISRRTQU RSIUGWFYF[G RXGYGZH RUGWGYI[G RWGWX",3513:"107D`LJKKJMJOHOGPGRHQJQJU RKLKS RHPKP RLJLRKTJU RE[GYIXKXMYNYOX RHYKYMZ RE[GZJZL[M[NZOX RLJPFTJTWUYVY RPGSJSXRYSZTYSX RPPSP RNHOHRKROOO ROQRQRXQYS[VYWX RTJXF\\J\\W]Y^Y RXG[J[X]Z RXP[P RVHWHZKZOWO RWQZQZY\\[^Y ROHOX RWHWX",3514:" 84E^GIIGKFMFOGQJVUXXYY RMGOIPKVWYZ RIGKGMHOKTVVYWZY[ RVHXIZI\\H]F RWGYH[H RVHXFZG\\G]F RKOIOHPHRIQKQ RIPKP RG[IYKXNXPY RJYMYOZ RG[JZMZN[PY RKGKX RYIY[ RRLSMUNWNYM RKTMSQSST",3515:" 79E_NFLGJIIKHNHRIUJWLYNZQ[S[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS",3516:" 70H^KFLGMIMOKOJPJRKQMQMYJ[MZMbO` RMHNJN` RKPNP RKFMGNHOJO` ROKRIVFZJZX RVGYJYX RTHUHXKXY RRXUXXY RSYUYWZ RRZTZV[XYZX RRIR_ RRMTNVNXM RRSTRVRXS",3517:" 99E_NFLGJIIKHNHRIUJWLYNZP[T[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS RP[QZRZT[X`Za[a RT\\V_XaYa RRZS[VaXbZb[a",3518:"108F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXRXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRIUGWFYGZIZLYNXOTQRR RWGXGYIYMXN RUGWHXJXMWOTQ RTQVRWSZX[Y\\Y RWTYX[Z RTQVSXYZ[\\Y",3519:" 94G^UITHRGOF RVHTG RWGSFOFLGKHJJKLLMONWNYOZPZRYU RKKLLOMXMZN[O[QZS RKHKJLKOLYL[M\\O\\QYUU[ RIOJPLQUQVRVSUU RJQLRTRUS RIOIPJRLSSSUTUU RI[LYPXSXVY RKZNYRYUZ RI[MZRZU[ RWGUISL RRNPQ ROSMUKVJVJUKV",3520:" 71E]JJILHOHSIVKYMZP[S[VZXYZW[U RISJVLXNYQZTZWY RJJIMIQJTLWNXQYTYWXYW[U RHIIGKFOFUGYG[F RPGTHXH RHIIHKGNGTIWIYH[F RSIRJPKPV RQKQT RRJRSQUPV RWIWX",3521:" 89F^HHJFLFOGQF RKGNG RHHJGMHOHQF RKJJLIOISJVKXMZP[S[VZXYZ[\\Y RJSKVNYQZTZ RKJJNJQKTLVNXQYUYXX RUIQJPLPV RQKQT RRJRSQUPV RUIWHYFZG\\HZIZW[Y\\Y RYIZHYGXHYIYX[Z RWHXIXX RUIUY RUNXN RURXR",3522:" 72G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXXZX RRJUIWHYFZG\\HZIZX RYIZHYGXHYIYW RWHXIXX RRJRX RRMTNVNXM RRSTRVRXS",3523:" 95E`HFIGJIJOHOGPGRHQJQJXHY RJHKJKX RHPKP RLYNYPZ RHFJGKHLJLXOXQY RHYKYNZO[QYTXVYW[YY\\X ROHRFTHTXWXYY RRGSHSX ROHQHRIRXQY RWYXZ RWHZF\\H\\X RZG[H[X RWHYHZIZXYY ROHOX RWHWX RONRN RORRR RWNZN RWRZR",3524:" 65G]HIJGLFNFOGWYXZZZ RMGNHVYWZ RJGLGMHUZV[X[ZZ\\X RWFYG[G\\F RWGXHZH RVHWIYI[H\\F RH[IYKXMXNY RJYLYMZ RH[IZKZM[ RWFSO RQRM[ RLPPP RSPXP",3525:" 86G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXX RRJUIWHYFZG\\HZIZ^Y`WbUaQ`L` RYIZHYGXHYIYY RWHXIXXZ[ RXaV`S` RY`V_P_L` RRJRX RRMTNVNXM RRSTRVRXS",3526:" 57H\\XGWIROOSMWJ[ RVKNV RZFWJUNRRMXLZ RJHLFOGUGZF RKGOHSHWG RJHNIRIVHXG RLZNYRXVXZY RMZQYUYYZ RJ[OZUZX[ZY RMPQP RTPXP",3601:" 53J[PRNTMVMXNZP[RYUX RMVNXOYQZ RNTNVOXQYRY RNPPPSOUNVMXOWPWXXYYY RONNOQO RTOWOVNVYWZ RMOOMPNROUPUYW[YY RMORT",3602:" 44I[LHMJMXKY RNJMHNGNXQZ RLHOFOXQYRZ RKYMYOZP[RZUYWY ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3603:" 35JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMUNWOXO RSNTOVO RPORNTPVPXO",3604:" 41IZRMPNMOMXKY RNONXQZ RRMOOOXQYRZ RKYMYOZP[RZUYWY RMHPFQIWOWY RPINHOGPIVOVX RMHUPUY",3605:" 32JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMWQURPU RSNVQ RPORNUR",3606:" 41JWNHNXLYMYOZP[ ROHOYQZ RPHPXRYSYQZP[ RNHQGSFTGVHWH RRGSHUH RPHQGSIUIWH RKMNM RPMTM",3607:" 56I[MOMXKYLYNZO[PZRYUX RNPNYPZ ROOOXQYRY RMOOORNTMUNWOYOWPW\\V_TaRbQaO`M` RSNVPV\\ RSaQ`P` RRNSOUPUZV]V_ RTaS`Q_O_M`",3608:" 47I[LHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPROTNUMVNXOYOWPWYU[T] RTNVOVYU[ RROSOUPUYT]T`UbVbT`",3609:" 35MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[UY RRPSORNQORPRYSZ RRMSNUOSPSXTYUY",3610:" 39MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[T] RRPSORNQORPRYS[ RRMSNUOSPSYT]T`RbPbPaRb",3611:" 50IZLHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPRNTMVPSROU RSNUP RRNTQ RSRTSVXWYXY RSSTTUYVZ RRSSTTYV[XY",3612:" 22MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[",3613:" 67E_GOHOIPIXGYHYJZK[ RINJOJYLZ RGOIMKOKXMYK[ RKPNOPNQMSOSXUYS[ RPNRORYTZ RNOOOQPQXPYRZS[ RSPVOXNYMZN\\O]O[P[X\\Y]Y RXNZOZY[Z RVOWOYPYY[[]Y",3614:" 45I[KOLOMPMXKYLYNZO[ RMNNONYPZ RKOMMOOOXQYO[ ROPROTNUMVNXOYOWPWXXYYY RTNVOVYWZ RROSOUPUYW[YY",3615:" 40I[MOMXKY RNPNXQZ ROOOXQYRZ RKYMYOZP[RZUYWY RMOOORNTMUNWOYOWPWY RSNVPVX RRNSOUPUY",3616:" 54I[LMMOMXKYMYMb RMNNONaO`N^ RNYOYQZ RLMNNOOOXQYRZ ROZP[RZUYWY ROZO^P`Mb ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3617:" 44I[MOMXKY RNPNYPZ ROOOXQYRY RKYLYNZO[PZRYUX RMOOORNTMUNWOYOWPWb RSNVPVaU`V^ RRNSOUPU^T`Wb",3618:" 38JXLOMONPNXLYMYOZP[ RMNOOOYQZ RLONMPOPXRYSYQZP[ RPOTMUNWOXO RSNTOVO RRNTPVPXO",3619:" 59JZMOMSOTUTWUWY RNONS RVUVY RPNOOOSQT RSTUUUYTZ RMOPNRMTNVNWM RQNSN RPNROTOVN RWYTZR[PZNZL[ RSZQZ RTZRYOYL[ RWMVOTROWL[",3620:" 28MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[ RNMQM RSMVM",3621:" 47I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPWXXYYY RTNVOVYWZ RUMSOUPUYW[YY",3622:" 36I[LMMOMXP[RYUXWX RMNNONXQZ RLMNNOOOWPXRY RUMVNXOYOWPWX RTNVOVW RUMSOUPUX",3623:" 57E_HMIOIXL[NYQX RINJOJXMZ RHMJNKOKWLXNY RQMOOQPQXT[VYYX[X RPNRORXUZ RQMRNTOSPSWTXVY RYMZN\\O]O[P[X RXNZOZW RYMWOYPYX",3624:" 59H[KOLONPOQSYTZV[XY RMNOOTYVZ RKOMMONPOTWUXWYXY RRSUMVNXNYM RUNVOWO RTOVPXOYM RQUN[MZKZJ[ RNZMYLY ROYMXKYJ[ RMTPT RSTVT",3625:" 60I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPW\\V_TaRbQaO`M` RTNVOV\\ RSaQ`P` RUMSOUPUZV]V_ RTaS`Q_O_M`",3626:" 38I[XML[ RLONPQPTOXM RMNOOSO RLONMPNTNXM RL[PYSXVXXY RQYUYWZ RL[PZTZV[XY RNTVT",3700:" 42H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJYLYNZO[QZVYXY",3701:" 27H\\OHPIQKQXOY RQIPHQGRIRYTZ ROHRFSHSXUYVY ROYPYRZS[TZVY",3702:" 48H\\LHNHPGQFSGVHXH RPHRG RLHNIPIRHSG RVHVP RWIWO RXHXPQPNQLSKVK[ RK[OYSXVXZY RNZQYVYYZ RK[PZUZX[ZY",3703:" 57H\\LHMHOGPFRGVHXH ROHQG RLHNIPIRG RVHVO RWIWN RXHXOVOSPQQ RQPSQVRXRXY RWSWX RVRVY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3704:" 41H\\UFKPKUTU RVUZU[V[TZU RLPLT RMNMU RTGTXRY RUJVHUGUYWZ RUFWHVJVXXYYY RRYSYUZV[WZYY",3705:" 53H\\LFLO RLFXF RMGVG RLHUHWGXF RVLUMSNOOLO RSNTNVOVY RUMWNWX RVLWMYNZNXOXY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3706:" 59H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHRGTFUGWHXH RSGUH RRGTIVIXH RNPOPSOUNVM RSOTOVPVY RUNWPWX RVMWNYOZOXPXY RJYLYNZO[QZVYXY",3707:" 38H\\KHMFPGUGZF RLGOHTHWG RKHOIRIVHZF RZFYHWKSOQRPUPXQ[ RRQQTQWRZ RUMSPRSRVSYQ[",3708:" 71H\\LILO RMJMN RNINO RLINISHUGVF RSHTHVIVO RUGWHWN RVFWGYHZHXIXO RLONOVRXR RXOVONRLR RLRLXJY RMSMXPZ RNRNXPYQZ RVRVY RWSWX RXRXY RJYLYNZO[QZVYXY",3709:" 60H\\LHLQJR RMIMROS RNHNQPRQR RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJRKRMSNTOSQRUQVQ RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3710:" 11LXRXPZR[TZRX RRYQZSZRY",3711:" 14LXR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3712:" 22LXRMPORPTORM RRNQOSORN RRXPZR[TZRX RRYQZSZRY",3713:" 25LXRMPORPTORM RRNQOSORN RR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3714:" 30LXRFQGOHQIRT RRISHRGQHRIRT RRFSGUHSIRT RRXPZR[TZRX RRYQZSZRY",3715:" 51I[LJMHNGQFSFVGWHXJXLWNUPSQ RMJNH RVHWIWMVN RLJNKNIOGQF RSFUGVIVMUOSQ RRQRTSQQQRT RRXPZR[TZRX RRYQZSZRY",3716:" 14LXTFRGQIQKRMTKRIRG RRJRLSKRJ",3717:" 14LXRLRJPHRFSHSJRLPM RRGQHRIRG",3718:" 62E_YNZO[O\\N RXOYP[P RXPYQZQ[P\\N RYNST RRUL[HVNP ROOSKOFJLPRTXVZX[Z[[Z\\X RLZIV RRKOG RKLPQTWVYXZ[Z RMZIU RRLNG RKKQQUWVXXY[Y\\X",3719:" 60H\\PBP_ RTBT_ RTFVGWIWKYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RXJWH RLLMNOOUQWRXT RMYLW RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWMVMXNZP[",3720:" 8G^[BIbJb R[B\\BJb",3721:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3722:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3724:" 8F_JQ[Q[R RJQJR[R",3725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3727:" 11NWSFRGRM RSGRM RSFTGRM",3728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3801:" 52E_NHLIJKIMHPHSIUKV RJLIOISJU RNHLJKLJOJRKVKXJZH[ RVHXHXYVY RYHYY RZGZZ RHFKGQHVHZG\\F RJPXP RH[KZQYVYZZ\\[",3802:" 65E_LGLZ RMGMZ RPFNGNZP[ RHJJHLGPFUFXGZIZKYM RXHYIYKXM RUFWGXIXKWL RQUOTNRNPONPMSLVLYM[O\\Q\\T[WYYWZT[P[LZJYHW RZO[Q[UZW RVLYNZQZUYXWZ",3803:" 60E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS",3804:" 46E_KGKZ RLGLZ RNFMGMZN[ RHKIIKGNFSFVGXHZJ[L\\O\\R[UZWXYVZS[N[KZIXHV RZK[N[SZV RVGXIYKZNZSYVXXVZ",3805:" 86E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZMXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS RJPKONOUQXQZP RPPRQURWRYQ RMORRUSWSYRZP RZMYLXLWMXNYM",3806:" 69E_JHJZ RMGKHKY ROFMGLILYNY RHJJHLGOFSFVGXHYI\\F R\\F[HZLZO[S\\U RZIYK RVGXIYLZO RLPMOOOTPWPYO RQPTQVQXP RNOTRVRXQYOYLXKWKVLWMXL RH[JZNYSYYZ\\[",3807:" 90E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[T[VZXYYXZV[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RXXYVYR RVZWYXVXQ RKSLRMSLTKTJS RJPKNMMOMRNUPWQ RKOMNONROTP RJPLOOOUQYQZP",3808:" 50E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKVKYL[N\\Q\\T[UYV RZN[P[SZU RVKXLYMZOZSYVYXZZ\\[ RH[LZPZU[",3809:" 23E_QIQY RRJRX RSISY RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3810:" 42E_TIVIVXUZS[ RWIWXVY RXHXY RHFLHPITIXH\\F RIOHQHUIXKZN[S[VZXYZW\\T RIUJXKY RHSJUKXLZN[",3811:" 70E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKUKXLYMYOXPSRQSPTPUQVRUQT RWLXMXOWP RUKWMWOVPSR RSRVRYSZUZWYX RWSYUYW RSRVSXUYXZZ[[\\[ RH[LZPZU[",3812:" 45E_JGJZ RKHKY RNHLHLYNY R\\KZNYPXSXUYW[X RZOYRYUZW R\\K[MZQZT[X\\[ RHFJGNHSHYG\\F RH[JZNYSYYZ\\[",3813:" 68E_QIQY RRJRX RSISY RNYLWJVIUHRHMIJKHMGPFTFWGYH[J\\M\\R[UZVXWVY RJUIRIMJJ RLWKUJRJLKIMG RZJ[M[RZU RWGYIZLZRYUXW RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3814:" 48E_JHJZH[ RLHKIKZ ROFMGLILZ RHJJHLGOFSFVGXHZJ[L\\O\\S[UYV RZK[N[RZU RVGXIYKZNZRYVYXZZ[[\\[ RH[LZPZU[",3815:" 54E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG",3816:" 51E_JIJZ RMHKJKY RQFOGMILKLYNY RHKJINGQFTFWGYH[J\\M\\O[RYTVURUOTMRLO RZJ[L[PZR RWGYIZLZPYSVU RH[JZNYSYYZ\\[",3817:" 74E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG RJSKUNVTW[W\\X\\Z[[[Z\\Y RPWRW RKUNWQXSXTW",3818:" 69E_JIJZH[ RKIKZ RLHLZ RHKJILHNGQFUFYG[I\\K\\N[PZQ RYHZI[K[NZP RUFWGYIZKZOYQ RXRUSRSPRPPROUOXPZR\\U\\W[XZX RXQYR[V[WZT RTOVPXRYTZX[Z\\[ RH[LZPZU[",3819:" 94E_TFZG\\F[H[JYHWGTFPFMGJJIMIOJRLTOURUTTUSVQVP R[GZH[J RJPKRLSOTRTTS RKIJKJNKPMRPSRSTRVPWOXO RLQMQNPPNRMUMWNYPZRZUYXWZ RPMRLULXMZO[R[UZW RIWJYIZ RNPNOOMPLRKUKXL[O\\R\\T[WYYWZT[P[MZKYIWIYH[JZP[",3820:" 66E_QHMHKIJJILHOHSIVJXKYMZP[S[VZXYZW[U\\R\\N[KYIWH RUHTITKULVKUJ RISJVLXNYQZTZWY RJJINIQJTLWNXQYTYWXYW[T\\R RHFKI RKHLG RIGJGKFMGQHWHZG\\F",3821:" 51E_LHJJILHOHRIUJWLYNZQ[U[XZZY RKJJLIOISJV RKILJLKKMJPJSKVLXNZ RVHXHXXWZU[ RYHYXXY RZGZY\\[ RHFKGQHVHZG\\F",3822:" 31E_HFR[ RIGJHQWRY RJGKHRWSX R\\FR[ RWNUS RYLUQTTTV RHFJGOHUHZG\\F",3823:" 67E_LHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXH RJLIOIRJUKW RJJKKKLJOJRKVLXNZ RYWZU[R[OZL RVZXXYVZRZOYLYKZJ RQIQ[ RRJRZ RSIS[ RHFLHPITIXH\\F",3824:" 41E_HFXYYZ RIGKHZZ RLH\\[ R\\FSP RQRJZ RPSMULW RQRMTLUKWKY RHFLHPITIXH\\F RH[JZNYSYYZ\\[",3825:" 47E_XHXZ RYHYY RZGZY RKHIJHMHPISKUMVPWSWVVXU RLUOVUV RHPIRKTNUTUVV RHFLHPITIXH\\F RHWJYLZP[T[XZ\\X",3826:" 73E_HFIGKHNHSFVFYGZIZKYM RXGYIYKXM RVFWGXIXL RXNTOROPNPLRKTKXL RTKVLWMVNTO RYM[O\\R\\T[WYYWZT[P[MZKYIWHTHRIOJNLMNMPNPPOQNPOO RXMZO[Q[UZW RXNYOZQZUYXWZ",3901:" 42J[PQMTMXP[TY RNTNXPZ ROROWRZ RRSMNNMONNO RONSNUMWOWXXY RUNVOVXUYVZWYVX RSNUPUXTYV[XY",3902:" 31IZNHLFMJMXP[UYWX RNHNXPZ RNHPFOJOWRZ ROOTMWPWX RTNVPVX RRNUQUY",3903:" 23KWNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMVOTPRN RSNUO",3904:" 32JZRMMPMXP[RZUYWY RNPNXPZ ROOOWRZ RPIPFQIWPWY RPIVPVX RPIMIPJUPUY",3905:" 25KXNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMWQPU RSNVQ RRNUR",3906:" 32KWOIOXNYP[ RPIPXOYPZQYPX RQHQXRYP[ ROIUFWHUISG RTGVH RLMOM RQMUM",3907:" 41J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW]V_U`SaQaO`MaObQa RTNVPV]U_ RPaNa RRNUQU^T`Sa",3908:" 42I[NHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROORNTMWPWYT]T`UbVbT` RTNVPVYU[ RRNUQUZT]",3909:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQXPYR[ RRPSORNQORPRXQYRZSYRX RRMTOSPSXTYR[",3910:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQYT] RRPSORNQORPRYS[ RRMTOSPSZT]T`RbPaPbRb",3911:" 51IZNHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROPRNTMVPSROU RSNUP RRNTQ RRSSTTYV[XY RSSTUUYVZ RSRTSVXWYXY",3912:" 21MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[",3913:" 66E_GOHOIPIXHYJ[ RINJOJXIYJZKYJX RGOIMKOKXLYJ[ RKONNPMSOSXTYR[ RPNRORXQYRZSYRX RNNQPQXPYR[ RSOVNXM[O[X\\YZ[ RXNZOZXYYZZ[YZX RVNYPYXXYZ[",3914:" 44I[KOLOMPMXLYN[ RMNNONXMYNZOYNX RKOMMOOOXPYN[ ROORNTMWOWXXYV[ RTNVOVXUYVZWYVX RRNUPUXTYV[",3915:" 28JZMPMXP[UYWX RNPNXPZ ROOOWRZ RMPOOTMWPWX RTNVPVX RRNUQUY",3916:" 47IZLMMOMXKYMYM_LbN` RNON` RLMNNOOOXQYRZ RNYOYQZ ROZP[UYWX ROZO_PbN` ROORNTMWPWX RTNVPVX RRNUQUY",3917:" 31J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW_XbV` RTNVPV` RRNUQU_TbV`",3918:" 31KXMONOOPOXNYP[ RONPOPXOYPZQYPX RMOOMQOQXRYP[ RQOUMWOUPSN RTNVO",3919:" 41JZMPMSOUURWTWX RNPNSOT ROOOSPT RUSVTVX RTSUTUY RMPSMVNTOQN RRNUN RWXQ[MYOXSZ ROYQZ",3920:" 27MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[ RNMQM RSMVM",3921:" 40I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPWXXYYY RVPWOVNUOVPVYWZ RVMTOUPUYW[YY",3922:" 36I[LMMOMXQ[SYWW RMNNONXQZ RLMNNOOOWRYSY RVMXOWPWW RVPWOVNUOVPVW RVMTOUPUX",3923:" 59E_HMIOIXM[OYQX RINJOJXMZ RHMJNKOKWNYOY RRMPOQPQXU[WY[W RRPSORNQORPRXUZ RRMTOSPSWVYWY RZM\\O[P[W RZP[OZNYOZPZW RZMXOYPYX",3924:" 39I[LONPUZV[XY RMNOOUYWZ RLONMONVXXY RXMVMVOXOXMVOSS RQUNYL[N[NYLYL[ RNTQT RSTVT",3925:" 49I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPW]V_U`SaQaO`MaObQa RVPWOVNUOVPV^U_ RPaNa RVMTOUPU^T`Sa",3926:" 43L[RNOPOORNTMWOWSRU RTNVOVS RRNUPUSTT RRUWWW]V_U`SaQaO`MaObQa RVWV^U_ RPaNa RTVUWU^T`Sa"},ot={"\\frac":{glyph:0,arity:2,flags:{}},"\\binom":{glyph:0,arity:2,flags:{}},"\\sqrt":{glyph:2267,arity:1,flags:{opt:!0,xfl:!0,yfl:!0}},"^":{glyph:0,arity:1,flags:{}},_:{glyph:0,arity:1,flags:{}},"(":{glyph:2221,arity:0,flags:{yfl:!0}},")":{glyph:2222,arity:0,flags:{yfl:!0}},"[":{glyph:2223,arity:0,flags:{yfl:!0}},"]":{glyph:2224,arity:0,flags:{yfl:!0}},"\\langle":{glyph:2227,arity:0,flags:{yfl:!0}},"\\rangle":{glyph:2228,arity:0,flags:{yfl:!0}},"|":{glyph:2229,arity:0,flags:{yfl:!0}},"\\|":{glyph:2230,arity:0,flags:{yfl:!0}},"\\{":{glyph:2225,arity:0,flags:{yfl:!0}},"\\}":{glyph:2226,arity:0,flags:{yfl:!0}},"\\#":{glyph:2275,arity:0,flags:{}},"\\$":{glyph:2274,arity:0,flags:{}},"\\&":{glyph:2273,arity:0,flags:{}},"\\%":{glyph:2271,arity:0,flags:{}},"\\begin":{glyph:0,arity:1,flags:{}},"\\end":{glyph:0,arity:1,flags:{}},"\\left":{glyph:0,arity:1,flags:{}},"\\right":{glyph:0,arity:1,flags:{}},"\\middle":{glyph:0,arity:1,flags:{}},"\\cdot":{glyph:2236,arity:0,flags:{}},"\\pm":{glyph:2233,arity:0,flags:{}},"\\mp":{glyph:2234,arity:0,flags:{}},"\\times":{glyph:2235,arity:0,flags:{}},"\\div":{glyph:2237,arity:0,flags:{}},"\\leqq":{glyph:2243,arity:0,flags:{}},"\\geqq":{glyph:2244,arity:0,flags:{}},"\\leq":{glyph:2243,arity:0,flags:{}},"\\geq":{glyph:2244,arity:0,flags:{}},"\\propto":{glyph:2245,arity:0,flags:{}},"\\sim":{glyph:2246,arity:0,flags:{}},"\\equiv":{glyph:2240,arity:0,flags:{}},"\\dagger":{glyph:2277,arity:0,flags:{}},"\\ddagger":{glyph:2278,arity:0,flags:{}},"\\ell":{glyph:662,arity:0,flags:{}},"\\vec":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overrightarrow":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overleftarrow":{glyph:2263,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\bar":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\overline":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\widehat":{glyph:2247,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\hat":{glyph:2247,arity:1,flags:{hat:!0}},"\\acute":{glyph:2248,arity:1,flags:{hat:!0}},"\\grave":{glyph:2249,arity:1,flags:{hat:!0}},"\\breve":{glyph:2250,arity:1,flags:{hat:!0}},"\\tilde":{glyph:2246,arity:1,flags:{hat:!0}},"\\underline":{glyph:2231,arity:1,flags:{mat:!0,xfl:!0}},"\\not":{glyph:2220,arity:1,flags:{}},"\\neq":{glyph:2239,arity:1,flags:{}},"\\ne":{glyph:2239,arity:1,flags:{}},"\\exists":{glyph:2279,arity:0,flags:{}},"\\in":{glyph:2260,arity:0,flags:{}},"\\subset":{glyph:2256,arity:0,flags:{}},"\\supset":{glyph:2258,arity:0,flags:{}},"\\cup":{glyph:2257,arity:0,flags:{}},"\\cap":{glyph:2259,arity:0,flags:{}},"\\infty":{glyph:2270,arity:0,flags:{}},"\\partial":{glyph:2265,arity:0,flags:{}},"\\nabla":{glyph:2266,arity:0,flags:{}},"\\aleph":{glyph:2077,arity:0,flags:{}},"\\wp":{glyph:2190,arity:0,flags:{}},"\\therefore":{glyph:740,arity:0,flags:{}},"\\mid":{glyph:2229,arity:0,flags:{}},"\\sum":{glyph:2402,arity:0,flags:{big:!0}},"\\prod":{glyph:2401,arity:0,flags:{big:!0}},"\\bigoplus":{glyph:2284,arity:0,flags:{big:!0}},"\\bigodot":{glyph:2281,arity:0,flags:{big:!0}},"\\int":{glyph:2412,arity:0,flags:{yfl:!0}},"\\oint":{glyph:2269,arity:0,flags:{yfl:!0}},"\\oplus":{glyph:1284,arity:0,flags:{}},"\\odot":{glyph:1281,arity:0,flags:{}},"\\perp":{glyph:738,arity:0,flags:{}},"\\angle":{glyph:739,arity:0,flags:{}},"\\triangle":{glyph:842,arity:0,flags:{}},"\\Box":{glyph:841,arity:0,flags:{}},"\\rightarrow":{glyph:2261,arity:0,flags:{}},"\\to":{glyph:2261,arity:0,flags:{}},"\\leftarrow":{glyph:2263,arity:0,flags:{}},"\\gets":{glyph:2263,arity:0,flags:{}},"\\circ":{glyph:902,arity:0,flags:{}},"\\bigcirc":{glyph:904,arity:0,flags:{}},"\\bullet":{glyph:828,arity:0,flags:{}},"\\star":{glyph:856,arity:0,flags:{}},"\\diamond":{glyph:743,arity:0,flags:{}},"\\ast":{glyph:728,arity:0,flags:{}},"\\log":{glyph:0,arity:0,flags:{txt:!0}},"\\ln":{glyph:0,arity:0,flags:{txt:!0}},"\\exp":{glyph:0,arity:0,flags:{txt:!0}},"\\mod":{glyph:0,arity:0,flags:{txt:!0}},"\\lim":{glyph:0,arity:0,flags:{txt:!0,big:!0}},"\\sin":{glyph:0,arity:0,flags:{txt:!0}},"\\cos":{glyph:0,arity:0,flags:{txt:!0}},"\\tan":{glyph:0,arity:0,flags:{txt:!0}},"\\csc":{glyph:0,arity:0,flags:{txt:!0}},"\\sec":{glyph:0,arity:0,flags:{txt:!0}},"\\cot":{glyph:0,arity:0,flags:{txt:!0}},"\\sinh":{glyph:0,arity:0,flags:{txt:!0}},"\\cosh":{glyph:0,arity:0,flags:{txt:!0}},"\\tanh":{glyph:0,arity:0,flags:{txt:!0}},"\\csch":{glyph:0,arity:0,flags:{txt:!0}},"\\sech":{glyph:0,arity:0,flags:{txt:!0}},"\\coth":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsin":{glyph:0,arity:0,flags:{txt:!0}},"\\arccos":{glyph:0,arity:0,flags:{txt:!0}},"\\arctan":{glyph:0,arity:0,flags:{txt:!0}},"\\arccsc":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsec":{glyph:0,arity:0,flags:{txt:!0}},"\\arccot":{glyph:0,arity:0,flags:{txt:!0}},"\\text":{glyph:0,arity:1,flags:{}},"\\mathnormal":{glyph:0,arity:1,flags:{}},"\\mathrm":{glyph:0,arity:1,flags:{}},"\\mathit":{glyph:0,arity:1,flags:{}},"\\mathbf":{glyph:0,arity:1,flags:{}},"\\mathsf":{glyph:0,arity:1,flags:{}},"\\mathtt":{glyph:0,arity:1,flags:{}},"\\mathfrak":{glyph:0,arity:1,flags:{}},"\\mathcal":{glyph:0,arity:1,flags:{}},"\\mathbb":{glyph:0,arity:1,flags:{}},"\\mathscr":{glyph:0,arity:1,flags:{}},"\\rm":{glyph:0,arity:1,flags:{}},"\\it":{glyph:0,arity:1,flags:{}},"\\bf":{glyph:0,arity:1,flags:{}},"\\sf":{glyph:0,arity:1,flags:{}},"\\tt":{glyph:0,arity:1,flags:{}},"\\frak":{glyph:0,arity:1,flags:{}},"\\cal":{glyph:0,arity:1,flags:{}},"\\bb":{glyph:0,arity:1,flags:{}},"\\scr":{glyph:0,arity:1,flags:{}},"\\quad":{glyph:0,arity:0,flags:{}},"\\,":{glyph:0,arity:0,flags:{}},"\\.":{glyph:0,arity:0,flags:{}},"\\;":{glyph:0,arity:0,flags:{}},"\\!":{glyph:0,arity:0,flags:{}},"\\alpha":{glyph:2127,flags:{}},"\\beta":{glyph:2128,flags:{}},"\\gamma":{glyph:2129,flags:{}},"\\delta":{glyph:2130,flags:{}},"\\varepsilon":{glyph:2131,flags:{}},"\\zeta":{glyph:2132,flags:{}},"\\eta":{glyph:2133,flags:{}},"\\vartheta":{glyph:2134,flags:{}},"\\iota":{glyph:2135,flags:{}},"\\kappa":{glyph:2136,flags:{}},"\\lambda":{glyph:2137,flags:{}},"\\mu":{glyph:2138,flags:{}},"\\nu":{glyph:2139,flags:{}},"\\xi":{glyph:2140,flags:{}},"\\omicron":{glyph:2141,flags:{}},"\\pi":{glyph:2142,flags:{}},"\\rho":{glyph:2143,flags:{}},"\\sigma":{glyph:2144,flags:{}},"\\tau":{glyph:2145,flags:{}},"\\upsilon":{glyph:2146,flags:{}},"\\varphi":{glyph:2147,flags:{}},"\\chi":{glyph:2148,flags:{}},"\\psi":{glyph:2149,flags:{}},"\\omega":{glyph:2150,flags:{}},"\\epsilon":{glyph:2184,flags:{}},"\\theta":{glyph:2185,flags:{}},"\\phi":{glyph:2186,flags:{}},"\\varsigma":{glyph:2187,flags:{}},"\\Alpha":{glyph:2027,flags:{}},"\\Beta":{glyph:2028,flags:{}},"\\Gamma":{glyph:2029,flags:{}},"\\Delta":{glyph:2030,flags:{}},"\\Epsilon":{glyph:2031,flags:{}},"\\Zeta":{glyph:2032,flags:{}},"\\Eta":{glyph:2033,flags:{}},"\\Theta":{glyph:2034,flags:{}},"\\Iota":{glyph:2035,flags:{}},"\\Kappa":{glyph:2036,flags:{}},"\\Lambda":{glyph:2037,flags:{}},"\\Mu":{glyph:2038,flags:{}},"\\Nu":{glyph:2039,flags:{}},"\\Xi":{glyph:2040,flags:{}},"\\Omicron":{glyph:2041,flags:{}},"\\Pi":{glyph:2042,flags:{}},"\\Rho":{glyph:2043,flags:{}},"\\Sigma":{glyph:2044,flags:{}},"\\Tau":{glyph:2045,flags:{}},"\\Upsilon":{glyph:2046,flags:{}},"\\Phi":{glyph:2047,flags:{}},"\\Chi":{glyph:2048,flags:{}},"\\Psi":{glyph:2049,flags:{}},"\\Omega":{glyph:2050,flags:{}}};function Jc(t,e="math"){const n=t.charCodeAt(0);if(65<=n&&n<=90){const r=n-65;return e=="text"||e=="rm"?r+2001:e=="tt"?r+501:e=="bf"||e=="bb"?r+3001:e=="sf"?r+2501:e=="frak"?r+3301:e=="scr"||e=="cal"?r+2551:r+2051}if(97<=n&&n<=122){const r=n-97;return e=="text"||e=="rm"?r+2101:e=="tt"?r+601:e=="bf"||e=="bb"?r+3101:e=="sf"?r+2601:e=="frak"?r+3401:e=="scr"||e=="cal"?r+2651:r+2151}if(48<=n&&n<=57){const r=n-48;return e=="it"?r+2750:e=="bf"?r+3200:e=="tt"?r+700:r+2200}return{".":2210,",":2211,":":2212,";":2213,"!":2214,"?":2215,"'":2216,'"':2217,"*":2219,"/":2220,"-":2231,"+":2232,"=":2238,"<":2241,">":2242,"~":2246,"@":2273,"\\":804}[t]}const Rr={SUB_SUP_SCALE:.5,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function Hx(t){t=t.replace(/\n/g," ");let e=0;const n=[];let r="";for(;e<t.length;)t[e]==" "?r.length&&(n.push(r),r=""):t[e]=="\\"?r.length==1&&r[0]=="\\"?(r+=t[e],n.push(r),r=""):(r.length&&n.push(r),r=t[e]):/[A-Za-z0-9\.]/.test(t[e])?r+=t[e]:(r.length&&r!="\\"&&(n.push(r),r=""),r+=t[e],n.push(r),r=""),e++;return r.length&&n.push(r),n}function Gx(t){return{type:ot[t]?"symb":"char",mode:"math",text:t,chld:[],bbox:null}}function ad(t){let e=0,n={type:"node",text:"",mode:"math",chld:[],bbox:null};function r(){if(t[e]!="[")return null;let o=0,a=e;for(;a<t.length;){if(t[a]=="[")o++;else if(t[a]=="]"&&(o--,!o))break;a++}const s=ad(t.slice(e+1,a));return e=a,s}function i(o){let a=e,s=a,c=0,u=0;const l=[];for(;a<t.length;){if(t[a]=="{")c||(s=a),c++;else if(t[a]=="}"){if(c--,!c&&(l.push(ad(t.slice(s+1,a))),u++,u==o))break}else if(c==0&&(l.push(Gx(t[a])),u++,u==o))break;a++}return e=a,l}for(e=0;e<t.length;e++){const o=ot[t[e]],a={type:"",text:t[e],mode:"math",chld:[],bbox:null};if(o)if(o.arity){e++,a.type="func";let s=null;o.flags.opt&&(s=r(),s&&e++);const c=i(o.arity);a.chld=c,s&&a.chld.push(s)}else a.type="symb";else t[e]=="{"?(a.type="node",a.text="",a.chld=i(1)):a.type="char";n.chld.push(a)}return n.chld.length==1&&(n=n.chld[0]),n}function Gm(t){let e=0;for(;e<t.length;){if(t[e].text=="\\begin"){let n;for(n=e;n<t.length&&t[n].text!="\\end";n++);const r=t.splice(e+1,n-(e+1));Gm(r),t[e].text=t[e].chld[0].text,t[e].chld=r,t.splice(e+1,1)}e++}}function Kn(t,e,n,r,i,o){if(n==null&&(n=e),!!t.bbox){o&&(t.bbox.x*=e,t.bbox.y*=n),t.bbox.w*=e,t.bbox.h*=n;for(let a=0;a<t.chld.length;a++)Kn(t.chld[a],e,n,0,0,!0);t.bbox.x+=r,t.bbox.y+=i}}function Jm(t){let e=1/0,n=-1/0,r=1/0,i=-1/0;for(let o=0;o<t.length;o++)!t[o].bbox||(e=Math.min(e,t[o].bbox.x),r=Math.min(r,t[o].bbox.y),n=Math.max(n,t[o].bbox.x+t[o].bbox.w),i=Math.max(i,t[o].bbox.y+t[o].bbox.h));return{x:e,y:r,w:n-e,h:i-r}}function Jx(t){if(!t.length)return null;const e=Jm(t);for(let r=0;r<t.length;r++)!t[r].bbox||(t[r].bbox.x-=e.x,t[r].bbox.y-=e.y);return{type:"node",text:"",mode:"math",chld:t,bbox:e}}function zx(t,e="center"){for(let u=0;u<t.length;u++)if(t[u].text=="^"||t[u].text=="'"){let l=0,h=u;for(;h>0&&(t[h].text=="^"||t[h].text=="_"||t[h].text=="'");)h--;l=t[h].bbox.y,t[u].text=="'"?t[u].bbox.y=l:(Kn(t[u],Rr.SUB_SUP_SCALE,null,0,0),ot[t[h].text]&&ot[t[h].text].flags.big?t[u].bbox.y=l-t[u].bbox.h:t[h].text=="\\int"?t[u].bbox.y=l:t[u].bbox.y=l-t[u].bbox.h/2)}else if(t[u].text=="_"){let l=1,h=u;for(;h>0&&(t[h].text=="^"||t[h].text=="_"||t[h].text=="'");)h--;l=t[h].bbox.y+t[h].bbox.h,Kn(t[u],Rr.SUB_SUP_SCALE,null,0,0),ot[t[h].text]&&ot[t[h].text].flags.big?t[u].bbox.y=l:t[h].text=="\\int"?t[u].bbox.y=l-t[u].bbox.h:t[u].bbox.y=l-t[u].bbox.h/2}function n(u,l,h,d,f){let p=u,g=f,y=1/0,R=-1/0;for(;d>0?p<t.length:p>=0;){if(t[p].text==l)g++;else if(t[p].text==h){if(g--,g==0)break}else t[p].text=="^"||t[p].text=="_"||t[p].bbox&&(y=Math.min(y,t[p].bbox.y),R=Math.max(R,t[p].bbox.y+t[p].bbox.h));p+=d}return[y,R]}for(let u=0;u<t.length;u++)if(t[u].text=="\\left"){const[l,h]=n(u,"\\left","\\right",1,0);l!=1/0&&h!=-1/0&&(t[u].bbox.y=l,Kn(t[u],1,(h-l)/t[u].bbox.h,0,0))}else if(t[u].text=="\\right"){const[l,h]=n(u,"\\right","\\left",-1,0);l!=1/0&&h!=-1/0&&(t[u].bbox.y=l,Kn(t[u],1,(h-l)/t[u].bbox.h,0,0))}else if(t[u].text=="\\middle"){const[l,h]=n(u,"\\right","\\left",-1,1),[d,f]=n(u,"\\left","\\right",1,1),p=Math.min(l,d),g=Math.max(h,f);p!=1/0&&g!=-1/0&&(t[u].bbox.y=p,Kn(t[u],1,(g-p)/t[u].bbox.h,0,0))}if(!t.some(u=>u.text=="&"||u.text=="\\\\"))return;const r=[];let i=[],o=[];for(let u=0;u<t.length;u++)t[u].text=="&"?(i.push(o),o=[]):t[u].text=="\\\\"?(o.length&&(i.push(o),o=[]),r.push(i),i=[]):o.push(t[u]);o.length&&i.push(o),i.length&&r.push(i);const a=[],s=[];for(let u=0;u<r.length;u++){const l=[];for(let h=0;h<r[u].length;h++){const d=Jx(r[u][h]);d&&(a[h]=a[h]||0,a[h]=Math.max(d.bbox.w+1,a[h])),l[h]=d}s.push(l)}const c=[];for(let u=0;u<s.length;u++){let l=1/0,h=-1/0;for(let d=0;d<s[u].length;d++)!s[u][d]||(l=Math.min(l,s[u][d].bbox.y),h=Math.max(h,s[u][d].bbox.y+s[u][d].bbox.h));c.push([l,h])}for(let u=0;u<c.length;u++)(c[u][0]==1/0||c[u][1]==1/0)&&(c[u][0]=u==0?0:c[u-1][1],c[u][1]=c[u][0]+2);for(let u=1;u<s.length;u++){const l=c[u-1][1]-c[u][0]+Rr.LINE_SPACING;for(let h=0;h<s[u].length;h++)s[u][h]&&(s[u][h].bbox.y+=l);c[u][0]+=l,c[u][1]+=l}t.splice(0,t.length);for(let u=0;u<s.length;u++){let l=0;for(let h=0;h<s[u].length;h++){const d=s[u][h];if(!d){l+=a[h];continue}d.bbox.x+=l,l+=a[h]-d.bbox.w,e=="center"?d.bbox.x+=(a[h]-d.bbox.w)/2:e=="left"||(e=="right"||e=="equation"&&h!=s[u].length-1)&&(d.bbox.x+=a[h]-d.bbox.w),t.push(d)}}}function Cr(t,e="math"){var r,i,o;const n=(r={"\\text":"text","\\mathnormal":"math","\\mathrm":"rm","\\mathit":"it","\\mathbf":"bf","\\mathsf":"sf","\\mathtt":"tt","\\mathfrak":"frak","\\mathcal":"cal","\\mathbb":"bb","\\mathscr":"scr","\\rm":"rm","\\it":"it","\\bf":"bf","\\sf":"tt","\\tt":"tt","\\frak":"frak","\\cal":"cal","\\bb":"bb","\\scr":"scr"}[t.text])!=null?r:e;if(!t.chld.length){if(ot[t.text])if(ot[t.text].flags.big)t.text=="\\lim"?t.bbox={x:0,y:0,w:3.5,h:2}:t.bbox={x:0,y:-.5,w:3,h:3};else if(ot[t.text].flags.txt){let a=0;for(let s=1;s<t.text.length;s++)a+=Qo(Jc(t.text[s],"text")).w;a/=16,t.bbox={x:0,y:0,w:a,h:2}}else if(ot[t.text].glyph){let a=Qo(ot[t.text].glyph).w;a/=16,t.text=="\\int"||t.text=="\\oint"?t.bbox={x:0,y:-1.5,w:a,h:5}:t.bbox={x:0,y:0,w:a,h:2}}else t.bbox={x:0,y:0,w:1,h:2};else{let a=0;for(let s=0;s<t.text.length;s++)!Qo(Jc(t.text[s],n))||(n=="tt"?a+=16:a+=Qo(Jc(t.text[s],n)).w);a/=16,t.bbox={x:0,y:0,w:a,h:2}}t.mode=n;return}if(t.text=="\\frac"){const a=t.chld[0],s=t.chld[1],c=Rr.FRAC_SCALE;Cr(a),Cr(s),a.bbox.x=0,a.bbox.y=0,s.bbox.x=0,s.bbox.y=0;const u=Math.max(a.bbox.w,s.bbox.w)*c;Kn(a,c,null,(u-a.bbox.w*c)/2,0),Kn(s,c,null,(u-s.bbox.w*c)/2,a.bbox.h+Rr.FRAC_SPACING),t.bbox={x:0,y:-a.bbox.h+1-Rr.FRAC_SPACING/2,w:u,h:a.bbox.h+s.bbox.h+Rr.FRAC_SPACING}}else if(t.text=="\\binom"){const a=t.chld[0],s=t.chld[1];Cr(a),Cr(s),a.bbox.x=0,a.bbox.y=0,s.bbox.x=0,s.bbox.y=0;const c=Math.max(a.bbox.w,s.bbox.w);Kn(a,1,null,(c-a.bbox.w)/2+1,0),Kn(s,1,null,(c-s.bbox.w)/2+1,a.bbox.h),t.bbox={x:0,y:-a.bbox.h+1,w:c+2,h:a.bbox.h+s.bbox.h}}else if(t.text=="\\sqrt"){const a=t.chld[0];Cr(a);const s=t.chld[1];let c=0;s&&(Cr(s),c=Math.max(s.bbox.w*Rr.SQRT_MAG_SCALE-.5,0),Kn(s,Rr.SQRT_MAG_SCALE,null,0,.5)),Kn(a,1,null,1+c,.5),t.bbox={x:0,y:2-a.bbox.h-.5,w:a.bbox.w+1+c,h:a.bbox.h+.5}}else if(ot[t.text]&&ot[t.text].flags.hat){const a=t.chld[0];Cr(a);const s=a.bbox.y-.5;a.bbox.y=.5,t.bbox={x:0,y:s,w:a.bbox.w,h:a.bbox.h+.5}}else if(ot[t.text]&&ot[t.text].flags.mat){const a=t.chld[0];Cr(a),t.bbox={x:0,y:0,w:a.bbox.w,h:a.bbox.h+.5}}else{let a=0,s=0,c=1;for(let p=0;p<t.chld.length;p++){const g=t.chld[p],y=(i={"\\quad":2,"\\,":2*3/18,"\\:":2*4/18,"\\;":2*5/18,"\\!":2*-3/18}[g.text])!=null?i:null;if(g.text=="\\\\"){s+=c,a=0,c=1;continue}else{if(g.text=="&")continue;if(y!=null){a+=y;continue}else{if(Cr(g,n),Kn(g,1,null,a,s),g.text=="^"||g.text=="_"||g.text=="'"){let R=p;for(;R>0&&(t.chld[R].text=="^"||t.chld[R].text=="_"||t.chld[R].text=="'");)R--;const m=ot[t.chld[R].text]&&ot[t.chld[R].text].flags.big;if(g.text=="'"){let v=R+1,x=0;for(;v<p;)t.chld[v].text=="'"&&x++,v++;g.bbox.x=t.chld[R].bbox.x+t.chld[R].bbox.w+g.bbox.w*x,a=Math.max(a,g.bbox.x+g.bbox.w)}else if(m){const v=t.chld[R].bbox.x+(t.chld[R].bbox.w-g.bbox.w*Rr.SUB_SUP_SCALE)/2;g.bbox.x=v,a=Math.max(a,t.chld[R].bbox.x+t.chld[R].bbox.w+(g.bbox.w*Rr.SUB_SUP_SCALE-t.chld[R].bbox.w)/2)}else g.bbox.x=t.chld[R].bbox.x+t.chld[R].bbox.w,a=Math.max(a,g.bbox.x+g.bbox.w*Rr.SUB_SUP_SCALE)}else a+=g.bbox.w;e=="text"&&(a+=1),c=Math.max(g.bbox.y+g.bbox.h-s,c)}}}s+=c;const u={bmatrix:["[","]"],pmatrix:["(",")"],Bmatrix:["\\{","\\}"],cases:["\\{"]},l=(o={bmatrix:"center",pmatrix:"center",Bmatrix:"center",cases:"left",matrix:"center",aligned:"equation"}[t.text])!=null?o:"left",h=!!u[t.text],d=!!u[t.text]&&u[t.text].length>1;zx(t.chld,l);const f=Jm(t.chld);t.text=="\\text"&&(f.x-=1,f.w+=2);for(let p=0;p<t.chld.length;p++)Kn(t.chld[p],1,null,-f.x+(h?1.5:0),-f.y);t.bbox={x:0,y:0,w:f.w+1.5*Number(h)+1.5*Number(d),h:f.h},h&&t.chld.unshift({type:"symb",text:u[t.text][0],mode:t.mode,chld:[],bbox:{x:0,y:0,w:1,h:f.h}}),d&&t.chld.push({type:"symb",text:u[t.text][1],mode:t.mode,chld:[],bbox:{x:f.w+2,y:0,w:1,h:f.h}}),(h||d||t.text=="matrix")&&(t.type="node",t.text="",t.bbox.y-=(t.bbox.h-2)/2)}}function $x(t){function e(r,i,o){const a=[];if(r.bbox){if(i+=r.bbox.x,o+=r.bbox.y,r.text=="\\frac"){const s=r.chld[1].bbox.y-(r.chld[0].bbox.y+r.chld[0].bbox.h),c={type:"symb",mode:r.mode,text:"\\bar",bbox:{x:i,y:o+(r.chld[1].bbox.y-s/2)-s/2,w:r.bbox.w,h:s},chld:[]};a.push(c)}else if(r.text=="\\sqrt"){const s=r.chld[0].bbox.y,c=Math.max(0,r.chld[0].bbox.x-r.chld[0].bbox.h/2),u={type:"symb",mode:r.mode,text:"\\sqrt",bbox:{x:i+c,y:o+s/2,w:r.chld[0].bbox.x-c,h:r.bbox.h-s/2},chld:[]};a.push(u),a.push({type:"symb",text:"\\bar",mode:r.mode,bbox:{x:i+r.chld[0].bbox.x,y:o,w:r.bbox.w-r.chld[0].bbox.x,h:s},chld:[]})}else if(r.text=="\\binom"){const s=Math.min(r.chld[0].bbox.x,r.chld[1].bbox.x),c={type:"symb",mode:r.mode,text:"(",bbox:{x:i,y:o,w:s,h:r.bbox.h},chld:[]};a.push(c),a.push({type:"symb",text:")",mode:r.mode,bbox:{x:i+r.bbox.w-s,y:o,w:s,h:r.bbox.h},chld:[]})}else if(ot[r.text]&&ot[r.text].flags.hat){const s=r.chld[0].bbox.y,c={type:"symb",mode:r.mode,text:r.text,bbox:{x:i,y:o,w:r.bbox.w,h:s},chld:[]};a.push(c)}else if(ot[r.text]&&ot[r.text].flags.mat){const s=r.chld[0].bbox.h,c={type:"symb",text:r.text,mode:r.mode,bbox:{x:i,y:o+s,w:r.bbox.w,h:r.bbox.h-s},chld:[]};a.push(c)}else if(r.type!="node"&&r.text!="^"&&r.text!="_"){const s={type:r.type=="func"?"symb":r.type,text:r.text,mode:r.mode,bbox:{x:i,y:o,w:r.bbox.w,h:r.bbox.h},chld:[]};a.push(s)}}for(let s=0;s<r.chld.length;s++){const c=e(r.chld[s],i,o);a.push(...c)}return a}const n=e(t,-t.bbox.x,-t.bbox.y);t.type="node",t.text="",t.chld=n}function jx(t){const e=[];for(let n=0;n<t.chld.length;n++){const r=t.chld[n];let i=r.bbox.h/2,o=!1;if(ot[r.text]&&ot[r.text].flags.hat&&!ot[r.text].flags.xfl&&!ot[r.text].flags.yfl&&(i*=4,o=!0),ot[r.text]&&ot[r.text].glyph){const a=Qo(ot[r.text].glyph);for(let s=0;s<a.polylines.length;s++){const c=[];for(let u=0;u<a.polylines[s].length;u++){let l=a.polylines[s][u][0],h=a.polylines[s][u][1];if(ot[r.text].flags.xfl)l=(l-a.xmin)/Math.max(a.xmax-a.xmin,1)*r.bbox.w,l+=r.bbox.x;else if(a.w/16*i>r.bbox.w)l=l/Math.max(a.w,1)*r.bbox.w,l+=r.bbox.x;else{l=l/16*i;const d=(r.bbox.w-a.w/16*i)/2;l+=r.bbox.x+d}ot[r.text].flags.yfl?(h=(h-a.ymin)/Math.max(a.ymax-a.ymin,1)*r.bbox.h,h+=r.bbox.y):(h=h/16*i,o&&(h-=(a.ymax+a.ymin)/2/16*i),h+=r.bbox.y+r.bbox.h/2),c.push([l,h])}e.push(c)}}else if(ot[r.text]&&ot[r.text].flags.txt||r.type=="char"){let a=r.bbox.x;const s=!!(ot[r.text]&&ot[r.text].flags.txt);for(let c=Number(s);c<r.text.length;c++){const u=Qo(Jc(r.text[c],s?"text":r.mode));if(!u){console.warn("unmapped character: "+r.text[c]);continue}for(let l=0;l<u.polylines.length;l++){const h=[];for(let d=0;d<u.polylines[l].length;d++){let f=u.polylines[l][d][0],p=u.polylines[l][d][1];f/=16,p/=16,f*=i,p*=i,r.mode=="tt"&&(u.w>16?f*=16/u.w:f+=(16-u.w)/2/16),f+=a,p+=r.bbox.y+r.bbox.h/2,h.push([f,p])}e.push(h)}r.mode=="tt"?a+=i:a+=u.w/16*i}}}return e}function Lr(t){return Math.round(t*100)/100}class qx{constructor(e){this._latex=e,this._tokens=Hx(e),this._tree=ad(this._tokens),Gm(this._tree.chld),Cr(this._tree),$x(this._tree),this._polylines=jx(this._tree)}resolveScale(e){var a,s,c,u;if(e==null)return[16,16,16,16];let n=(a=e.SCALE_X)!=null?a:16,r=(s=e.SCALE_Y)!=null?s:16;if(e.MIN_CHAR_H!=null){let l=0;for(let d=0;d<this._tree.chld.length;d++){const f=this._tree.chld[d];(f.type=="char"||ot[f.text]&&(ot[f.text].flags.txt||!Object.keys(ot[f.text].flags).length))&&(l=Math.min(f.bbox.h,l))}const h=Math.max(1,e.MIN_CHAR_H/l);n*=h,r*=h}if(e.MAX_W!=null){const l=n;n=Math.min(n,e.MAX_W/this._tree.bbox.w),r*=n/l}if(e.MAX_H!=null){const l=r;r=Math.min(r,e.MAX_H/this._tree.bbox.h),n*=r/l}const i=(c=e.MARGIN_X)!=null?c:n,o=(u=e.MARGIN_Y)!=null?u:r;return[i,o,n,r]}polylines(e){e||(e={});const n=[],[r,i,o,a]=this.resolveScale(e);for(let s=0;s<this._polylines.length;s++){n.push([]);for(let c=0;c<this._polylines[s].length;c++){const[u,l]=this._polylines[s][c];n[n.length-1].push([r+u*o,i+l*a])}}return n}pathd(e){e||(e={});let n="";const[r,i,o,a]=this.resolveScale(e);for(let s=0;s<this._polylines.length;s++)for(let c=0;c<this._polylines[s].length;c++){const[u,l]=this._polylines[s][c];n+=c?"L":"M",n+=`${Lr(r+u*o)} ${Lr(i+l*a)}`}return n}svg(e){var u,l;e||(e={});const[n,r,i,o]=this.resolveScale(e),a=Lr(this._tree.bbox.w*i+n*2),s=Lr(this._tree.bbox.h*o+r*2);let c=`<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width="${a}" height="${s}"
|
|
fill="none" stroke="${(u=e.FG_COLOR)!=null?u:"black"}" stroke-width="${(l=e.STROKE_W)!=null?l:1}"
|
|
stroke-linecap="round" stroke-linejoin="round"
|
|
>`;e.BG_COLOR&&(c+=`<rect x="${0}" y="${0}" width="${a}" height="${s}" fill="${e.BG_COLOR}" stroke="none"></rect>`),c+='<path d="';for(let h=0;h<this._polylines.length;h++){c+="M";for(let d=0;d<this._polylines[h].length;d++){const[f,p]=this._polylines[h][d];c+=Lr(n+f*i)+" "+Lr(r+p*o)+" "}}return c+='"/>',c+="</svg>",{svg:`data:image/svg+xml;base64,${window.btoa(c)}`,width:Math.ceil(a),height:Math.ceil(s)}}pdf(e){var h;e||(e={});const[n,r,i,o]=this.resolveScale(e),a=Lr(this._tree.bbox.w*i+n*2),s=Lr(this._tree.bbox.h*o+r*2);let c=`%PDF-1.1
|
|
%%\xA5\xB1\xEB
|
|
1 0 obj
|
|
<< /Type /Catalog
|
|
/Pages 2 0 R
|
|
>>endobj
|
|
2 0 obj
|
|
<< /Type /Pages
|
|
/Kids [3 0 R]
|
|
/Count 1
|
|
/MediaBox [0 0 ${a} ${s}]
|
|
>>
|
|
endobj
|
|
3 0 obj
|
|
<< /Type /Page
|
|
/Parent 2 0 R
|
|
/Resources
|
|
<< /Font
|
|
<< /F1
|
|
<< /Type /Font
|
|
/Subtype /Type1
|
|
/BaseFont /Times-Roman
|
|
>>
|
|
>>
|
|
>>
|
|
/Contents [`,u="",l=4;for(let d=0;d<this._polylines.length;d++){u+=`${l} 0 obj
|
|
<< /Length 0 >>
|
|
stream
|
|
1 j 1 J ${(h=e.STROKE_W)!=null?h:1} w
|
|
`;for(let f=0;f<this._polylines[d].length;f++){const[p,g]=this._polylines[d][f];u+=`${Lr(n+p*i)} ${Lr(s-(r+g*o))} ${f?"l":"m"} `}u+=`
|
|
S
|
|
endstream
|
|
endobj
|
|
`,c+=`${l} 0 R `,l++}return c+=`]
|
|
>>
|
|
endobj
|
|
`,u+=`
|
|
trailer
|
|
<< /Root 1 0 R
|
|
/Size 0
|
|
>>startxref
|
|
|
|
%%EOF
|
|
`,c+u}boxes(e){e||(e={});const[n,r,i,o]=this.resolveScale(e),a=[];for(let s=0;s<this._tree.chld.length;s++){const{x:c,y:u,w:l,h}=this._tree.chld[s].bbox;a.push({x:n+c*i,y:r+u*o,w:l*i,h:h*o})}return a}box(e){e||(e={});const[n,r,i,o]=this.resolveScale(e);return{x:n+this._tree.bbox.x*i,y:r+this._tree.bbox.y*o,w:this._tree.bbox.w*i,h:this._tree.bbox.h*o}}}class zm extends Hm{static convertLaTextToSVG(e){return new qx(e).svg({SCALE_X:10,SCALE_Y:10,MARGIN_X:0,MARGIN_Y:0})}render(e,n,r,i){const{scale:o}=this.options,a=n.width*o,s=n.height*o;if(this.imageCache.has(n.value)){const c=this.imageCache.get(n.value);e.drawImage(c,r,i,a,s)}else{const c=new Promise((u,l)=>{const h=new Image;h.src=n.laTexSVG,h.onload=()=>{e.drawImage(h,r,i,a,s),this.imageCache.set(n.value,h),u(n)},h.onerror=d=>{l(d)}});this.addImageObserver(c)}}}var zr=(t=>(t.UL="ul",t.OL="ol",t))(zr||{}),Ko=(t=>(t.DISC="disc",t.CIRCLE="circle",t.SQUARE="square",t.CHECKBOX="checkbox",t))(Ko||{}),or=(t=>(t.DISC="disc",t.CIRCLE="circle",t.SQUARE="square",t.DECIMAL="decimal",t.CHECKBOX="checkbox",t))(or||{});const sd={[Ko.DISC]:"\u2022",[Ko.CIRCLE]:"\u25E6",[Ko.SQUARE]:"\u25AB\uFE0E",[Ko.CHECKBOX]:"\u2611\uFE0F"},ew={[zr.OL]:"ol",[zr.UL]:"ul"},tw={[or.DISC]:"disc",[or.CIRCLE]:"circle",[or.SQUARE]:"square",[or.DECIMAL]:"decimal",[or.CHECKBOX]:"checkbox"};var mt=(t=>(t.FIRST="first",t.SECOND="second",t.THIRD="third",t.FOURTH="fourth",t.FIFTH="fifth",t.SIXTH="sixth",t))(mt||{});const nw={defaultFirstSize:26,defaultSecondSize:24,defaultThirdSize:22,defaultFourthSize:20,defaultFifthSize:18,defaultSixthSize:16},$m={[mt.FIRST]:"defaultFirstSize",[mt.SECOND]:"defaultSecondSize",[mt.THIRD]:"defaultThirdSize",[mt.FOURTH]:"defaultFourthSize",[mt.FIFTH]:"defaultFifthSize",[mt.SIXTH]:"defaultSixthSize"},cd={[mt.FIRST]:1,[mt.SECOND]:2,[mt.THIRD]:3,[mt.FOURTH]:4,[mt.FIFTH]:5,[mt.SIXTH]:6},rw={H1:mt.FIRST,H2:mt.SECOND,H3:mt.THIRD,H4:mt.FOURTH,H5:mt.FIFTH,H6:mt.SIXTH};var yt=(t=>(t.TEXT="text",t.SELECT="select",t.CHECKBOX="checkbox",t.RADIO="radio",t.DATE="date",t))(yt||{}),Se=(t=>(t.PREFIX="prefix",t.POSTFIX="postfix",t.PLACEHOLDER="placeholder",t.VALUE="value",t.CHECKBOX="checkbox",t.RADIO="radio",t))(Se||{}),jm=(t=>(t.ROW_START="rowStart",t.VALUE_START="valueStart",t))(jm||{});function _1(t){const e=[];for(let n=0;n<t.length;n++){const r=t[n],i=vr(r.value);for(let o=0;o<i.length;o++)e.push({...r,value:i[o]})}return e}function cr(t,e){const{isHandleFirstElement:n,editorOptions:r}={isHandleFirstElement:!0,...e},i=t[0];n&&(i==null?void 0:i.type)!==fe.LIST&&((i==null?void 0:i.type)&&i.type!==fe.TEXT||!Ym.test(i==null?void 0:i.value))&&t.unshift({value:We});let o=0;for(;o<t.length;){let a=t[o];if(a.type===fe.TITLE){t.splice(o,1);const s=a.valueList||[];if(cr(s,{...e,isHandleFirstElement:!1}),s.length){const c=vt(),u=r.title;for(let l=0;l<s.length;l++){const h=s[l];h.title=a.title,a.level&&(h.titleId=c,h.level=a.level),eR(h)&&(h.size||(h.size=u[$m[h.level]]),h.bold===void 0&&(h.bold=!0)),t.splice(o,0,h),o++}}o--}else if(a.type===fe.LIST){t.splice(o,1);const s=a.valueList||[];if(cr(s,{...e,isHandleFirstElement:!0}),s.length){const c=vt();for(let u=0;u<s.length;u++){const l=s[u];l.listId=c,l.listType=a.listType,l.listStyle=a.listStyle,t.splice(o,0,l),o++}}o--}else if(a.type===fe.TABLE){const s=vt();if(a.id=s,a.trList){const{defaultTrMinHeight:c}=r.table;for(let u=0;u<a.trList.length;u++){const l=a.trList[u],h=vt();l.id=h,(!l.minHeight||l.minHeight<c)&&(l.minHeight=c),l.height<l.minHeight&&(l.height=l.minHeight);for(let d=0;d<l.tdList.length;d++){const f=l.tdList[d],p=vt();f.id=p,cr(f.value,{...e,isHandleFirstElement:!0});for(let g=0;g<f.value.length;g++){const y=f.value[g];y.tdId=p,y.trId=h,y.tableId=s}}}}}else if(a.type===fe.HYPERLINK){t.splice(o,1);const s=_1(a.valueList||[]);if(s.length){const c=vt();for(let u=0;u<s.length;u++){const l=s[u];l.type=a.type,l.url=a.url,l.hyperlinkId=c,t.splice(o,0,l),o++}}o--}else if(a.type===fe.DATE){t.splice(o,1);const s=_1(a.valueList||[]);if(s.length){const c=vt();for(let u=0;u<s.length;u++){const l=s[u];l.type=a.type,l.dateFormat=a.dateFormat,l.dateId=c,t.splice(o,0,l),o++}}o--}else if(a.type===fe.CONTROL){if(!a.control){o++;continue}const{prefix:s,postfix:c,value:u,placeholder:l,code:h,type:d,valueSets:f}=a.control,{editorOptions:{control:p,checkbox:g,radio:y}}=e,R=vt();t.splice(o,1);const m=Qr(a,Km),v=Qr(a.control,sa),x={...v,color:r.control.bracketColor},O=vr(s||p.prefix);for(let N=0;N<O.length;N++){const M=O[N];t.splice(o,0,{...m,...x,controlId:R,value:M,type:a.type,control:a.control,controlComponent:Se.PREFIX}),o++}if(u&&u.length||d===yt.CHECKBOX||d===yt.RADIO||d===yt.SELECT&&h&&(!u||!u.length)){let N=u||[];if(d===yt.CHECKBOX){const M=h?h.split(","):[];if(Array.isArray(f)&&f.length){const _=N.reduce((q,T)=>q.concat(T.value.split("").map(I=>({...T,value:I}))),[]);let B=0;for(let q=0;q<f.length;q++){const T=f[q];t.splice(o,0,{...m,controlId:R,value:"",type:a.type,control:a.control,controlComponent:Se.CHECKBOX,checkbox:{code:T.code,value:M.includes(T.code)}}),o++;const I=vr(T.value);for(let b=0;b<I.length;b++){const P=I[b],U=b===I.length-1;t.splice(o,0,{...m,...v,..._[B],controlId:R,value:P===`
|
|
`?We:P,letterSpacing:U?g.gap:0,control:a.control,controlComponent:Se.VALUE}),B++,o++}}}}else if(d===yt.RADIO){if(Array.isArray(f)&&f.length){const M=N.reduce((B,q)=>B.concat(q.value.split("").map(T=>({...q,value:T}))),[]);let _=0;for(let B=0;B<f.length;B++){const q=f[B];t.splice(o,0,{...m,controlId:R,value:"",type:a.type,control:a.control,controlComponent:Se.RADIO,radio:{code:q.code,value:h===q.code}}),o++;const T=vr(q.value);for(let I=0;I<T.length;I++){const b=T[I],P=I===T.length-1;t.splice(o,0,{...m,...v,...M[_],controlId:R,value:b===`
|
|
`?We:b,letterSpacing:P?y.gap:0,control:a.control,controlComponent:Se.VALUE}),_++,o++}}}}else{if((!u||!u.length)&&Array.isArray(f)&&f.length){const M=f.find(_=>_.code===h);M&&(N=[{value:M.value}])}cr(N,{...e,isHandleFirstElement:!1});for(let M=0;M<N.length;M++){const _=N[M],B=_.value;t.splice(o,0,{...m,...v,..._,controlId:R,value:B===`
|
|
`?We:B,type:_.type||fe.TEXT,control:a.control,controlComponent:Se.VALUE}),o++}}}else if(l){const N={...v,color:r.control.placeholderColor},M=vr(l);for(let _=0;_<M.length;_++){const B=M[_];t.splice(o,0,{...m,...N,controlId:R,value:B===`
|
|
`?We:B,type:a.type,control:a.control,controlComponent:Se.PLACEHOLDER}),o++}}const E=vr(c||p.postfix);for(let N=0;N<E.length;N++){const M=E[N];t.splice(o,0,{...m,...x,controlId:R,value:M,type:a.type,control:a.control,controlComponent:Se.POSTFIX}),o++}o--}else if((!a.type||Nr.includes(a.type))&&a.value.length>1){t.splice(o,1);const s=vr(a.value);for(let c=0;c<s.length;c++)t.splice(o+c,0,{...a,value:s[c]});a=t[o]}if(a.value===`
|
|
`&&(a.value=We),(a.type===fe.IMAGE||a.type===fe.BLOCK)&&(a.id=vt()),a.type===fe.LATEX){const{svg:s,width:c,height:u}=zm.convertLaTextToSVG(a.value);a.width=a.width||c,a.height=a.height||u,a.laTexSVG=s,a.id=vt()}o++}}function iw(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(o!=="value"&&!(o==="groupIds"&&Array.isArray(t[o])&&Array.isArray(e[o])&&Mx(t[o],e[o]))&&t[o]!==e[o])return!1}return!0}function ta(t,e={}){const{extraPickAttrs:n}=e,r=Wx;n&&r.push(...n);const i={value:t.value===We?`
|
|
`:t.value};return r.forEach(o=>{const a=t[o];a!==void 0&&(i[o]=a)}),i}function Wt(t,e={}){const{extraPickAttrs:n}=e,r=Ft(t),i=[];let o=0;for(;o<r.length;){let a=r[o];if(o===0&&a.value===We&&!a.listId&&(!a.type||a.type===fe.TEXT)){o++;continue}if(a.titleId&&a.level){const c=a.titleId;if(c){const u=a.level,l={type:fe.TITLE,title:a.title,value:"",level:u},h=[];for(;o<r.length;){const d=r[o];if(c!==d.titleId){o--;break}delete d.level,delete d.title,h.push(d),o++}l.valueList=Wt(h,e),a=l}}else if(a.listId&&a.listType){const c=a.listId;if(c){const u=a.listType,l=a.listStyle,h={type:fe.LIST,value:"",listId:c,listType:u,listStyle:l},d=[];for(;o<r.length;){const f=r[o];if(c!==f.listId){o--;break}delete f.listType,delete f.listStyle,d.push(f),o++}h.valueList=Wt(d,e),a=h}}else if(a.type===fe.TABLE){if(a.pagingId){let c=o+1,u=0;for(;c<r.length;){const l=r[c];if(l.pagingId===a.pagingId)a.height+=l.height,a.trList.push(...l.trList),c++,u++;else break}o+=u}if(a.trList)for(let c=0;c<a.trList.length;c++){const u=a.trList[c];delete u.id;for(let l=0;l<u.tdList.length;l++){const h=u.tdList[l],d={colspan:h.colspan,rowspan:h.rowspan,value:Wt(h.value,e)};Xx.forEach(f=>{const p=h[f];p!==void 0&&(d[f]=p)}),u.tdList[l]=d}}}else if(a.type===fe.HYPERLINK){const c=a.hyperlinkId;if(c){const u={type:fe.HYPERLINK,value:"",url:a.url},l=[];for(;o<r.length;){const h=r[o];if(c!==h.hyperlinkId){o--;break}delete h.type,delete h.url,l.push(h),o++}u.valueList=Wt(l,e),a=u}}else if(a.type===fe.DATE){const c=a.dateId;if(c){const u={type:fe.DATE,value:"",dateFormat:a.dateFormat},l=[];for(;o<r.length;){const h=r[o];if(c!==h.dateId){o--;break}delete h.type,delete h.dateFormat,l.push(h),o++}u.valueList=Wt(l,e),a=u}}else if(a.controlId){const c=a.controlId;if(c){const u=Qr(a,sa),l={...a.control,...u},h={...Qr(a,Ns),type:fe.CONTROL,value:"",control:l,controlId:c},d=[];for(;o<r.length;){const f=r[o];if(c!==f.controlId){o--;break}f.controlComponent===Se.VALUE&&(delete f.control,delete f.controlId,d.push(f)),o++}h.control.value=Wt(d,e),a=ta(h,{extraPickAttrs:n})}}const s=ta(a,{extraPickAttrs:n});if(!a.type||a.type===fe.TEXT||a.type===fe.SUBSCRIPT||a.type===fe.SUPERSCRIPT)for(;o<r.length;){const c=r[o+1];if(o++,c&&iw(s,ta(c,{extraPickAttrs:n}))){const u=c.value===We?`
|
|
`:c.value;s.value+=u}else break}else o++;i.push(s)}return i}function ow(t){switch(window.getComputedStyle(t).textAlign){case"left":case"start":return at.LEFT;case"center":return at.CENTER;case"right":case"end":return at.RIGHT;case"justify":return at.ALIGNMENT;case"justify-all":return at.JUSTIFY;default:return at.LEFT}}function qm(t){return t===at.ALIGNMENT?"justify":t}function aw(t){switch(t){case at.LEFT:return"flex-start";case at.CENTER:return"center";case at.RIGHT:return"flex-end";case at.ALIGNMENT:case at.JUSTIFY:return"space-between";default:return"flex-start"}}function eR(t){return!t.type||Nr.includes(t.type)}function Fs(t,e){const n=t[e];if(!n)return null;const r=t[e+1];return!n.listId&&n.value===We&&r&&r.value!==We?r:n}function wn(t,e,n,r){var s,c;const i=Fs(t,n);if(!i)return;const{isBreakWhenWrap:o=!1}=r||{};let a=!1;for(let u=0;u<e.length;u++){const l=e[u];if(o&&!i.listId&&/^\n/.test(l.value)&&(a=!0),a||!i.listId&&l.type===fe.LIST){const h=[...$d,...Ns];Gc(h,i,l),(s=l.valueList)==null||s.forEach(d=>{Gc(h,i,d)});continue}(c=l.valueList)!=null&&c.length&&wn(t,l.valueList,n),Gc(Km,i,l)}}function sw(t,e){let n="span";t.type===fe.SUPERSCRIPT?n="sup":t.type===fe.SUBSCRIPT&&(n="sub");const r=document.createElement(n);return r.style.fontFamily=t.font||e.defaultFont,t.rowFlex&&(r.style.textAlign=qm(t.rowFlex)),t.color&&(r.style.color=t.color),t.bold&&(r.style.fontWeight="600"),t.italic&&(r.style.fontStyle="italic"),r.style.fontSize=`${t.size||e.defaultSize}px`,t.highlight&&(r.style.backgroundColor=t.highlight),t.underline&&(r.style.textDecoration="underline"),t.strikeout&&(r.style.textDecoration+=" line-through"),r.innerText=t.value.replace(new RegExp(`${We}`,"g"),`
|
|
`),r}function tR(t){let e=0;const n=new Map;for(let r=0;r<t.length;r++){const i=t[r];if(r===0){if(i.checkbox)continue;i.value=i.value.replace(Ym,"")}if(i.listWrap){const o=n.get(e)||[];o.push(i),n.set(e,o)}else{const o=i.value.split(`
|
|
`);for(let a=0;a<o.length;a++){a>0&&(e+=1);const s=o[a],c=n.get(e)||[];c.push({...i,value:s}),n.set(e,c)}}}return n}function cw(t){var r;const e=[];if(!t.length)return e;let n=((r=t[0])==null?void 0:r.rowFlex)||null;e.push({rowFlex:n,data:[t[0]]});for(let i=1;i<t.length;i++){const o=t[i],a=o.rowFlex||null;n===a&&!uu(o)&&!uu(t[i-1])?e[e.length-1].data.push(o):(e.push({rowFlex:a,data:[o]}),n=a)}for(let i=0;i<e.length;i++){const o=e[i];o.data=Wt(o.data)}return e}function ps(t,e){function n(o){var s,c,u,l,h,d,f,p,g;const a=document.createElement("div");for(let y=0;y<o.length;y++){const R=o[y];if(R.type===fe.TABLE){const m=document.createElement("table");m.setAttribute("cellSpacing","0"),m.setAttribute("cellpadding","0"),m.setAttribute("border","0");const v="1px solid #000000";!R.borderType||R.borderType===Kr.ALL?(m.style.borderTop=v,m.style.borderLeft=v):R.borderType===Kr.EXTERNAL&&(m.style.border=v),m.style.width=`${R.width}px`;const x=document.createElement("colgroup");for(let E=0;E<R.colgroup.length;E++){const N=R.colgroup[E],M=document.createElement("col");M.setAttribute("width",`${N.width}`),x.append(M)}m.append(x);const O=R.trList;for(let E=0;E<O.length;E++){const N=document.createElement("tr"),M=O[E];N.style.height=`${M.height}px`;for(let _=0;_<M.tdList.length;_++){const B=document.createElement("td");(!R.borderType||R.borderType===Kr.ALL)&&(B.style.borderBottom=B.style.borderRight="1px solid");const q=M.tdList[_];B.colSpan=q.colspan,B.rowSpan=q.rowspan,B.style.verticalAlign=q.verticalAlign||"top",(s=q.borderTypes)!=null&&s.includes(ur.TOP)&&(B.style.borderTop=v),(c=q.borderTypes)!=null&&c.includes(ur.RIGHT)&&(B.style.borderRight=v),(u=q.borderTypes)!=null&&u.includes(ur.BOTTOM)&&(B.style.borderBottom=v),(l=q.borderTypes)!=null&&l.includes(ur.LEFT)&&(B.style.borderLeft=v);const T=ps(q.value,e);B.innerHTML=T.innerHTML,q.backgroundColor&&(B.style.backgroundColor=q.backgroundColor),N.append(B)}m.append(N)}a.append(m)}else if(R.type===fe.HYPERLINK){const m=document.createElement("a");m.innerText=R.valueList.map(v=>v.value).join(""),R.url&&(m.href=R.url),a.append(m)}else if(R.type===fe.TITLE){const m=document.createElement(`h${cd[R.level]}`),v=n(R.valueList);m.innerHTML=v.innerHTML,a.append(m)}else if(R.type===fe.LIST){const m=document.createElement(ew[R.listType]);R.listStyle&&(m.style.listStyleType=tw[R.listStyle]);const v=Wt(R.valueList);tR(v).forEach(O=>{const E=document.createElement("li"),N=n(O);E.innerHTML=N.innerHTML,m.append(E)}),a.append(m)}else if(R.type===fe.IMAGE){const m=document.createElement("img");R.value&&(m.src=R.value,m.width=R.width,m.height=R.height),a.append(m)}else if(R.type===fe.SEPARATOR){const m=document.createElement("hr");a.append(m)}else if(R.type===fe.CHECKBOX){const m=document.createElement("input");m.type="checkbox",(h=R.checkbox)!=null&&h.value&&m.setAttribute("checked","true"),a.append(m)}else if(R.type===fe.RADIO){const m=document.createElement("input");m.type="radio",(d=R.radio)!=null&&d.value&&m.setAttribute("checked","true"),a.append(m)}else if(R.type===fe.TAB){const m=document.createElement("span");m.innerHTML=`${T1}${T1}`,a.append(m)}else if(R.type===fe.CONTROL){const m=document.createElement("span"),v=n(((f=R.control)==null?void 0:f.value)||[]);m.innerHTML=v.innerHTML,a.append(m)}else if(!R.type||R.type===fe.LATEX||Nr.includes(R.type)){let m="";if(R.type===fe.DATE?m=((p=R.valueList)==null?void 0:p.map(x=>x.value).join(""))||"":m=R.value,!m)continue;const v=sw(R,e);((g=o[y-1])==null?void 0:g.type)===fe.TITLE&&(m=m.replace(/^\n/,"")),v.innerText=m.replace(new RegExp(`${We}`,"g"),`
|
|
`),a.append(v)}}return a}const r=document.createElement("div"),i=cw(t);for(let o=0;o<i.length;o++){const a=i[o],s=!a.rowFlex||a.rowFlex===at.LEFT,c=document.createElement("div");if(!s){const u=a.data[0];uu(u)?(c.style.display="flex",c.style.justifyContent=aw(u.rowFlex)):c.style.textAlign=qm(a.rowFlex)}c.innerHTML=n(a.data).innerHTML,s?c.childNodes.forEach(u=>{r.append(u.cloneNode(!0))}):r.append(c)}return r}function uw(t){if(!t||t.nodeType!==3)return null;const e=t.parentNode,n=e.nodeName==="FONT"?e.parentNode:e,r=ow(n),i=t.textContent,o=window.getComputedStyle(n);if(!i||n.nodeName==="STYLE")return null;const a={value:i,color:o.color,bold:Number(o.fontWeight)>500,italic:o.fontStyle.includes("italic"),size:Math.floor(parseFloat(o.fontSize))};return n.nodeName==="SUB"||o.verticalAlign==="sub"?a.type=fe.SUBSCRIPT:(n.nodeName==="SUP"||o.verticalAlign==="super")&&(a.type=fe.SUPERSCRIPT),r!==at.LEFT&&(a.rowFlex=r),o.backgroundColor!=="rgba(0, 0, 0, 0)"&&(a.highlight=o.backgroundColor),o.textDecorationLine.includes("underline")&&(a.underline=!0),o.textDecorationLine.includes("line-through")&&(a.strikeout=!0),a}function gs(t,e){const n=[];function r(a){if(a.nodeType===3){const s=uw(a);s&&n.push(s)}else if(a.nodeType===1){const s=a.childNodes;for(let c=0;c<s.length;c++){const u=s[c];if(u.nodeName==="BR")n.push({value:`
|
|
`});else if(u.nodeName==="A"){const l=u,h=l.innerText;h&&n.push({type:fe.HYPERLINK,value:"",valueList:[{value:h}],url:l.href})}else if(/H[1-6]/.test(u.nodeName)){const h=gs(lw(u,"div").outerHTML,e);n.push({value:"",type:fe.TITLE,level:rw[u.nodeName],valueList:h}),u.nextSibling&&!Zx.includes(u.nextSibling.nodeName)&&n.push({value:`
|
|
`})}else if(u.nodeName==="UL"||u.nodeName==="OL"){const l=u,h={value:"",type:fe.LIST,valueList:[]};u.nodeName==="OL"?h.listType=zr.OL:(h.listType=zr.UL,h.listStyle=l.style.listStyleType),l.querySelectorAll("li").forEach(d=>{const f=gs(d.innerHTML,e);f.forEach(p=>{p.value===`
|
|
`&&(p.listWrap=!0)}),f.unshift({value:`
|
|
`}),h.valueList.push(...f)}),n.push(h)}else if(u.nodeName==="HR")n.push({value:`
|
|
`,type:fe.SEPARATOR});else if(u.nodeName==="IMG"){const{src:l,width:h,height:d}=u;l&&h&&d&&n.push({width:h,height:d,value:l,type:fe.IMAGE})}else if(u.nodeName==="TABLE"){const l=u,h={type:fe.TABLE,value:`
|
|
`,colgroup:[],trList:[]};if(l.querySelectorAll("tr").forEach(d=>{const f=window.getComputedStyle(d).height.replace("px",""),p={height:Number(f),tdList:[]};d.querySelectorAll("th,td").forEach(g=>{const y=g,R=gs(y.innerHTML,e),m={colspan:y.colSpan,rowspan:y.rowSpan,value:R};y.style.backgroundColor&&(m.backgroundColor=y.style.backgroundColor),p.tdList.push(m)}),p.tdList.length&&h.trList.push(p)}),h.trList.length){const d=h.trList[0].tdList.reduce((p,g)=>p+g.colspan,0),f=Math.ceil(e.innerWidth/d);for(let p=0;p<d;p++)h.colgroup.push({width:f});n.push(h)}}else u.nodeName==="INPUT"&&u.type===Se.CHECKBOX?n.push({type:fe.CHECKBOX,value:"",checkbox:{value:u.checked}}):u.nodeName==="INPUT"&&u.type===Se.RADIO?n.push({type:fe.RADIO,value:"",radio:{value:u.checked}}):(r(u),u.nodeType===1&&c!==s.length-1&&window.getComputedStyle(u).display==="block"&&n.push({value:`
|
|
`}))}}}const i=document.createElement("div");i.innerHTML=t,document.body.appendChild(i);const o=[];return i.childNodes.forEach(a=>{var s;a.nodeType!==1&&!((s=a.textContent)!=null&&s.trim())&&o.push(a)}),o.forEach(a=>a.remove()),r(i),i.remove(),n}function yc(t){function e(n){var i,o,a,s,c;let r="";for(let u=0;u<n.length;u++){const l=n[u];if(l.type===fe.TABLE){r+=`
|
|
`;const h=l.trList;for(let d=0;d<h.length;d++){const f=h[d];for(let p=0;p<f.tdList.length;p++){const g=f.tdList[p],y=e(Wt(g.value)),R=p===0,m=f.tdList.length-1===p;r+=`${R?"":" "}${y}${m?`
|
|
`:""}`}}}else if(l.type===fe.TAB)r+=" ";else if(l.type===fe.HYPERLINK)r+=l.valueList.map(h=>h.value).join("");else if(l.type===fe.TITLE)r+=`${e(Wt(l.valueList))}`;else if(l.type===fe.LIST){const h=Wt(l.valueList),d=tR(h);let f="";l.listType===zr.UL&&(f=sd[l.listStyle]),d.forEach((p,g)=>{const y=d.size-1===g;r+=`
|
|
${f||`${g+1}.`}${e(p)}${y?`
|
|
`:""}`})}else if(l.type===fe.CHECKBOX)r+=(i=l.checkbox)!=null&&i.value?"\u2611":"\u25A1";else if(l.type===fe.RADIO)r+=(o=l.radio)!=null&&o.value?"\u2609":"\u25CB";else if(!l.type||l.type===fe.LATEX||Nr.includes(l.type)){let h="";l.type===fe.CONTROL?h=((s=(a=l.control.value)==null?void 0:a[0])==null?void 0:s.value)||"":l.type===fe.DATE?h=((c=l.valueList)==null?void 0:c.map(d=>d.value).join(""))||"":h=l.value,r+=h.replace(new RegExp(`${We}`,"g"),`
|
|
`)}}return r}return e(Wt(t))}function Ll(t){return id(t,["metrics","style"])}function uu(t){return!!(t!=null&&t.type)&&(Bx.includes(t.type)||t.imgDisplay===ht.INLINE)}function lw(t,e){const n=document.createElement(e);for(let r=0;r<t.attributes.length;r++){const i=t.attributes[r];n.setAttribute(i.name,i.value)}return n.innerHTML=t.innerHTML,n}function hw(t){localStorage.setItem(zd,JSON.stringify({text:t.text,elementList:t.elementList}))}function nR(){const t=localStorage.getItem(zd);return t?JSON.parse(t):null}function rR(){localStorage.removeItem(zd)}function dw(t,e,n){if(!t&&!e&&!n.length)return;const r=new Blob([t],{type:"text/plain"}),i=new Blob([e],{type:"text/html"});if(window.ClipboardItem){const o=new ClipboardItem({[r.type]:r,[i.type]:i});window.navigator.clipboard.write([o])}else{const o=document.createElement("div");o.setAttribute("contenteditable","true"),o.innerHTML=e,document.body.append(o);const a=window.getSelection(),s=document.createRange(),c=document.createElement("span");c.innerText=`
|
|
`,o.append(c),s.selectNodeContents(o),a==null||a.removeAllRanges(),a==null||a.addRange(s),document.execCommand("copy"),o.remove()}hw({text:t,elementList:n})}function iR(t,e){const n=ps(t,e);document.body.append(n);const r=n.innerText;n.remove();const i=n.innerHTML;!r&&!i&&!t.length||dw(r,i,Wt(t))}function fw(t){let e=!1;for(let n=0;n<t.items.length;n++)if(t.items[n].kind==="file"){e=!0;break}return e}function jd(t,e){const n=t.getDraw();if(n.isReadonly())return;const i=n.getRange(),{startIndex:o}=i.getRange(),a=n.getElementList();if(~o&&!i.getIsSelectAll()){const s=a[o];if((s==null?void 0:s.titleId)||(s==null?void 0:s.listId)){let c=0;for(;c<e.length;){const u=e[c];if(s.titleId&&/^\n/.test(u.value))break;if(kx.includes(u.type)){if(e.splice(c,1),u.valueList)for(let l=0;l<u.valueList.length;l++){const h=u.valueList[l];h.value===We||h.value===`
|
|
`||(e.splice(c,0,h),c++)}c--}c++}}wn(a,e,o,{isBreakWhenWrap:!0})}n.insertElementList(e)}function oR(t,e){const n=t.getDraw();if(n.isReadonly())return;const i=gs(e,{innerWidth:n.getOriginalInnerWidth()});jd(t,i)}function qd(t,e){const n=t.getDraw();if(n.isReadonly())return;const i=n.getRange(),{startIndex:o}=i.getRange(),a=n.getElementList(),s=new FileReader;s.readAsDataURL(e),s.onload=()=>{const c=new Image,u=s.result;c.src=u,c.onload=()=>{const l={value:u,type:fe.IMAGE,width:c.width,height:c.height};~o&&wn(a,[l],o),n.insertElementList([l])}}}function pw(t,e){const n=t.getDraw();if(n.isReadonly())return;const i=e.clipboardData;if(!i)return;const{paste:o}=n.getOverride();if(o){o(e);return}if(!fw(i)){const s=i.getData("text"),c=nR();if(s===(c==null?void 0:c.text)){jd(t,c.elementList);return}}rR();let a=!1;for(let s=0;s<i.items.length;s++)if(i.items[s].type==="text/html"){a=!0;break}for(let s=0;s<i.items.length;s++){const c=i.items[s];if(c.kind==="string"){if(c.type==="text/plain"&&!a){c.getAsString(u=>{t.input(u)});break}if(c.type==="text/html"&&a){c.getAsString(u=>{oR(t,u)});break}}else if(c.kind==="file"&&c.type.includes("image")){const u=c.getAsFile();u&&qd(t,u)}}}async function gw(t,e){const n=t.getDraw();if(n.isReadonly())return;const{paste:i}=n.getOverride();if(i){i();return}const o=await navigator.clipboard.readText(),a=nR();if(o===(a==null?void 0:a.text)){jd(t,a.elementList);return}if(rR(),e!=null&&e.isPlainText)o&&t.input(o);else{const s=await navigator.clipboard.read();let c=!1;for(const u of s)if(u.types.includes("text/html")){c=!0;break}for(const u of s)if(u.types.includes("text/plain")&&!c){const h=await(await u.getType("text/plain")).text();h&&t.input(h)}else if(u.types.includes("text/html")&&c){const h=await(await u.getType("text/html")).text();h&&oR(t,h)}else if(u.types.some(l=>l.startsWith("image/"))){const l=u.types.find(d=>d.startsWith("image/")),h=await u.getType(l);qd(t,h)}}}class mw{constructor(e,n){this.draw=e,this.container=e.getContainer(),this.canvasEvent=n;const r=document.createElement("textarea");r.autocomplete="off",r.classList.add(`${ke}-inputarea`),r.innerText="",this.container.append(r),this.agentCursorDom=r,r.onkeydown=i=>this._keyDown(i),r.oninput=Bm(this._input.bind(this),0),r.onpaste=i=>this._paste(i),r.addEventListener("compositionstart",this._compositionstart.bind(this)),r.addEventListener("compositionend",this._compositionend.bind(this))}getAgentCursorDom(){return this.agentCursorDom}_keyDown(e){this.canvasEvent.keydown(e)}_input(e){!e.data||this.canvasEvent.input(e.data)}_paste(e){this.draw.isReadonly()||!e.clipboardData||(pw(this.canvasEvent,e),e.preventDefault())}_compositionstart(){this.canvasEvent.compositionstart()}_compositionend(e){this.canvasEvent.compositionend(e)}}class Rw{constructor(e,n){this.ANIMATION_CLASS=`${ke}-cursor--animation`,this.draw=e,this.container=e.getContainer(),this.position=e.getPosition(),this.options=e.getOptions(),this.cursorDom=document.createElement("div"),this.cursorDom.classList.add(`${ke}-cursor`),this.container.append(this.cursorDom),this.cursorAgent=new mw(e,n),this.blinkTimeout=null}getCursorDom(){return this.cursorDom}getAgentDom(){return this.cursorAgent.getAgentCursorDom()}getAgentIsActive(){return this.getAgentDom()===document.activeElement}getAgentDomValue(){return this.getAgentDom().value}clearAgentDomValue(){this.getAgentDom().value=""}_blinkStart(){this.cursorDom.classList.add(this.ANIMATION_CLASS)}_blinkStop(){this.cursorDom.classList.remove(this.ANIMATION_CLASS)}_setBlinkTimeout(){this._clearBlinkTimeout(),this.blinkTimeout=window.setTimeout(()=>{this._blinkStart()},500)}_clearBlinkTimeout(){this.blinkTimeout&&(this._blinkStop(),window.clearTimeout(this.blinkTimeout),this.blinkTimeout=null)}drawCursor(e){let n=this.position.getCursorPosition();if(!n)return;const{scale:r,cursor:i}=this.options,{color:o,width:a,isShow:s=!0,isBlink:c=!0,isFocus:u=!0,hitLineStartIndex:l}={...i,...e},h=this.draw.getHeight(),d=this.draw.getPageGap();l&&(n=this.position.getPositionList()[l]);const{metrics:f,coordinate:{leftTop:p,rightTop:g},ascent:y,pageNo:R}=n,x=(this.draw.getZone().isMainActive()?R:this.draw.getPageNo())*(h+d),O=Cx*r,E=Math.min(f.height/4,O),N=f.height+E*2,M=this.cursorAgent.getAgentCursorDom();u&&setTimeout(()=>{M.focus(),M.setSelectionRange(0,0)});const _=f.boundingBoxDescent<0?0:f.boundingBoxDescent,B=p[1]+y+_-(N-E)+x,q=l?p[0]:g[0];if(M.style.left=`${q}px`,M.style.top=`${B+N-O}px`,!s){this.recoveryCursor();return}const T=this.draw.isReadonly();this.cursorDom.style.width=`${a*r}px`,this.cursorDom.style.backgroundColor=o,this.cursorDom.style.left=`${q}px`,this.cursorDom.style.top=`${B}px`,this.cursorDom.style.display=T?"none":"block",this.cursorDom.style.height=`${N}px`,c?this._setBlinkTimeout():this._clearBlinkTimeout()}recoveryCursor(){this.cursorDom.style.display="none",this._clearBlinkTimeout()}moveCursorToVisible(e){const{cursorPosition:n,direction:r}=e;if(!n||!r)return;const{pageNo:i,coordinate:{leftTop:o,leftBottom:a}}=n,s=i*(this.draw.getHeight()+this.draw.getPageGap())+this.container.getBoundingClientRect().top,c=r===bn.UP,u=a[0],l=c?o[1]+s:a[1]+s,h=Px(this.container),d={left:0,right:0,top:0,bottom:0};if(h===document.documentElement)d.right=window.innerWidth,d.bottom=window.innerHeight;else{const{left:p,right:g,top:y,bottom:R}=h.getBoundingClientRect();d.left=p,d.right=g,d.top=y,d.bottom=R}const{maskMargin:f}=this.options;if(d.top+=f[0],d.bottom-=f[2],!(u>=d.left&&u<=d.right&&l>=d.top&&l<=d.bottom)){const{scrollLeft:p,scrollTop:g}=h;c?h.scroll(p,g-(d.top-l)):h.scroll(p,g+l-d.bottom)}}}var aR=(t=>(t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT",t))(aR||{});const io=typeof navigator!="undefined"&&/Mac OS X/.test(navigator.userAgent),yw=typeof navigator!="undefined"&&/iPad|iPhone/.test(navigator.userAgent);function Xr(t){return io?t.metaKey:t.ctrlKey}var Qe=(t=>(t.Delete="Delete",t.Backspace="Backspace",t.Enter="Enter",t.Left="ArrowLeft",t.Right="ArrowRight",t.Up="ArrowUp",t.Down="ArrowDown",t.ESC="Escape",t.TAB="Tab",t.META="Meta",t.LEFT_BRACKET="[",t.RIGHT_BRACKET="]",t.COMMA=",",t.PERIOD=".",t.LEFT_ANGLE_BRACKET="<",t.RIGHT_ANGLE_BRACKET=">",t.EQUAL="=",t.MINUS="-",t.PLUS="+",t.A="a",t.B="b",t.C="c",t.D="d",t.E="e",t.F="f",t.G="g",t.H="h",t.I="i",t.J="j",t.K="k",t.L="l",t.M="m",t.N="n",t.O="o",t.P="p",t.Q="q",t.R="r",t.S="s",t.T="t",t.U="u",t.V="v",t.W="w",t.X="x",t.Y="y",t.Z="z",t.A_UPPERCASE="A",t.B_UPPERCASE="B",t.C_UPPERCASE="C",t.D_UPPERCASE="D",t.E_UPPERCASE="E",t.F_UPPERCASE="F",t.G_UPPERCASE="G",t.H_UPPERCASE="H",t.I_UPPERCASE="I",t.J_UPPERCASE="J",t.K_UPPERCASE="K",t.L_UPPERCASE="L",t.M_UPPERCASE="M",t.N_UPPERCASE="N",t.O_UPPERCASE="O",t.P_UPPERCASE="P",t.Q_UPPERCASE="Q",t.R_UPPERCASE="R",t.S_UPPERCASE="S",t.T_UPPERCASE="T",t.U_UPPERCASE="U",t.V_UPPERCASE="V",t.W_UPPERCASE="W",t.X_UPPERCASE="X",t.Y_UPPERCASE="Y",t.Z_UPPERCASE="Z",t.ZERO="0",t.ONE="1",t.TWO="2",t.THREE="3",t.FOUR="4",t.FIVE="5",t.SIX="6",t.SEVEN="7",t.EIGHT="8",t.NINE="9",t))(Qe||{});class lu{constructor(e,n){this.element=e,this.control=n}setElement(e){this.element=e}getElement(){return this.element}getCode(){var e;return((e=this.element.control)==null?void 0:e.code)||null}getValue(){const e=this.control.getElementList(),{startIndex:n}=this.control.getRange(),r=e[n],i=[];let o=n;for(;o>0;){const s=e[o];if(s.controlId!==r.controlId||s.controlComponent===Se.PREFIX)break;s.controlComponent===Se.VALUE&&i.unshift(s),o--}let a=n+1;for(;a<e.length;){const s=e[a];if(s.controlId!==r.controlId||s.controlComponent===Se.POSTFIX)break;s.controlComponent===Se.VALUE&&i.push(s),a++}return i}setValue(){return-1}setSelect(e,n={},r={}){if(!r.isIgnoreDisabledRule&&this.control.getIsDisabledControl())return;const{control:i}=this.element,o=n.elementList||this.control.getElementList(),{startIndex:a}=n.range||this.control.getRange(),s=o[a];let c=a;for(;c>0;){const l=o[c];if(l.controlId!==s.controlId||l.controlComponent===Se.PREFIX)break;if(l.controlComponent===Se.CHECKBOX){const h=l.checkbox;h.value=e.includes(h.code)}c--}let u=a+1;for(;u<o.length;){const l=o[u];if(l.controlId!==s.controlId||l.controlComponent===Se.POSTFIX)break;if(l.controlComponent===Se.CHECKBOX){const h=l.checkbox;h.value=e.includes(h.code)}u++}i.code=e.join(","),this.control.repaintControl()}keydown(e){if(this.control.getIsDisabledControl())return null;const n=this.control.getRange();this.control.shrinkBoundary();const{startIndex:r,endIndex:i}=n;return e.key===Qe.Backspace||e.key===Qe.Delete?this.control.removeControl(r):i}cut(){return-1}}class ud extends lu{setSelect(e,n={},r={}){if(!r.isIgnoreDisabledRule&&this.control.getIsDisabledControl())return;const{control:i}=this.element,o=n.elementList||this.control.getElementList(),{startIndex:a}=n.range||this.control.getRange(),s=o[a];let c=a;for(;c>0;){const l=o[c];if(l.controlId!==s.controlId||l.controlComponent===Se.PREFIX)break;if(l.controlComponent===Se.RADIO){const h=l.radio;h.value=e.includes(h.code)}c--}let u=a+1;for(;u<o.length;){const l=o[u];if(l.controlId!==s.controlId||l.controlComponent===Se.POSTFIX)break;if(l.controlComponent===Se.RADIO){const h=l.radio;h.value=e.includes(h.code)}u++}i.code=e.join(","),this.control.repaintControl()}}function E1(t){const e=t.getDraw(),n=e.getPosition(),r=e.getRange();t.isAllowDrag=!0,t.cacheRange=Ft(r.getRange()),t.cacheElementList=e.getElementList(),t.cachePositionList=n.getPositionList(),t.cachePositionContext=n.getPositionContext()}function vw(t,e){var T;if(t.button===aR.RIGHT)return;const n=e.getDraw(),r=n.isReadonly(),i=n.getRange(),o=n.getPosition();if(!e.isAllowDrag){const I=i.getRange();if(!r&&I.startIndex!==I.endIndex&&i.getIsPointInRange(t.offsetX,t.offsetY)){E1(e);return}}const s=t.target.dataset.index;s&&n.setPageNo(Number(s)),e.isAllowSelection=!0;const c=o.adjustPositionContext({x:t.offsetX,y:t.offsetY});if(!c)return;const{index:u,isDirectHit:l,isCheckbox:h,isRadio:d,isImage:f,isTable:p,tdValueIndex:g,hitLineStartIndex:y}=c;e.mouseDownStartPosition={...c,index:p?g:u,x:t.offsetX,y:t.offsetY};const R=n.getElementList(),m=o.getPositionList(),v=p?g:u,x=R[v],O=!!(l&&f),E=!!(l&&h),N=!!(l&&d);if(~u){i.setRange(v,v),o.setCursorPosition(m[v]);const I=E&&!r,b=N&&!r;if(I){const{checkbox:P,control:U}=x;if(!U)n.getCheckboxParticle().setSelect(x);else{const X=((T=U==null?void 0:U.code)==null?void 0:T.split(","))||[];if(P!=null&&P.value){const k=X.findIndex(re=>re===P.code);X.splice(k,1)}else P!=null&&P.code&&X.push(P.code);const V=n.getControl().getActiveControl();V instanceof lu&&V.setSelect(X)}}else if(b){const{control:P,radio:U}=x;if(!P)n.getRadioParticle().setSelect(x);else{const X=U!=null&&U.code?[U.code]:[],V=n.getControl().getActiveControl();V instanceof ud&&V.setSelect(X)}}else n.render({curIndex:v,isCompute:!1,isSubmitHistory:!1,isSetCursor:!O&&!E&&!N});y&&e.getDraw().getCursor().drawCursor({hitLineStartIndex:y})}const M=n.getPreviewer();M.clearResizer(),O&&(M.drawResizer(x,m[v],x.type===fe.LATEX?{mime:"svg",srcKey:"laTexSVG"}:{}),n.getCursor().drawCursor({isShow:!1}),E1(e),(x.imgDisplay===ht.FLOAT_TOP||x.imgDisplay===ht.FLOAT_BOTTOM)&&n.getImageParticle().createFloatImage(x));const _=n.getTableTool();_.dispose(),p&&!r&&_.render();const B=n.getHyperlinkParticle();B.clearHyperlinkPopup(),x.type===fe.HYPERLINK&&(Xr(t)?B.openHyperlink(x):B.drawHyperlinkPopup(x,m[v]));const q=n.getDateParticle();q.clearDatePicker(),x.type===fe.DATE&&!r&&q.renderDatePicker(x,m[v])}function vc(t){const e=vt();return Reflect.set(t,"dragId",e),e}function bc(t,e){return e.findIndex(n=>n.dragId===t)}function I1(t,e,n){const r=n.getDraw();if(t.imgDisplay===ht.FLOAT_TOP||t.imgDisplay===ht.FLOAT_BOTTOM){const i=e.offsetX-n.mouseDownStartPosition.x,o=e.offsetY-n.mouseDownStartPosition.y,a=t.imgFloatPosition;t.imgFloatPosition={x:a.x+i,y:a.y+o}}r.getImageParticle().destroyFloatImage()}function bw(t,e){var n,r,i,o;if(e.isAllowDrop){const a=e.getDraw();if(a.isReadonly())return;const s=a.getPosition(),c=s.getPositionList(),u=s.getPositionContext(),l=a.getRange(),h=e.cacheRange,d=e.cacheElementList,f=e.cachePositionList,p=l.getRange(),g=h.startIndex===h.endIndex,y=g?h.startIndex-1:h.startIndex,R=h.endIndex;if(p.startIndex>=y&&p.endIndex<=R&&((n=e.cachePositionContext)==null?void 0:n.tdId)===u.tdId){a.clearSideEffect();let A=!1;if(g){const Q=d[R];if(Q.type===fe.IMAGE||Q.type===fe.LATEX)if(I1(Q,t,e),Q.imgDisplay===ht.FLOAT_TOP||Q.imgDisplay===ht.FLOAT_BOTTOM)a.getPreviewer().drawResizer(Q),A=!0;else{const z=f[R];a.getPreviewer().drawResizer(Q,z)}}l.replaceRange({...h}),a.render({isSetCursor:!1,isCompute:!1,isSubmitHistory:A});return}const m=d.slice(y+1,R+1),v=m.find(A=>A.controlId);if(v){const A=d[y+1],Q=d[R];if(!((!A.controlId||A.controlComponent===Se.PREFIX)&&(!Q.controlId||Q.controlComponent===Se.POSTFIX)||A.controlId===Q.controlId&&A.controlComponent===Se.PREFIX&&Q.controlComponent===Se.POSTFIX||((r=A.control)==null?void 0:r.type)===yt.TEXT&&A.controlComponent===Se.VALUE&&((i=Q.control)==null?void 0:i.type)===yt.TEXT&&Q.controlComponent===Se.VALUE)){a.render({curIndex:p.startIndex,isCompute:!1,isSubmitHistory:!1});return}}const x=a.getControl(),O=a.getElementList(),E=!v||!!O[p.startIndex].controlId||!x.getIsElementListContainFullControl(m),N=a.getOptions(),M=m.map(A=>{if(!A.type||A.type===fe.TEXT){const Q={value:A.value},z=po;return E||z.push(...O1),z.forEach(H=>{const j=A[H];j!==void 0&&(Q[H]=j)}),Q}else{let Q=Ft(A);return E&&(Q=vs(Q,O1)),cr([Q],{isHandleFirstElement:!1,editorOptions:N}),Q}});wn(O,M,p.startIndex);const _=d[y],B=f[y],q=vc(d[y]),T=vc(d[R]),I=M.length;let b=p.startIndex,P=b+I;const U=x.getActiveControl();if(U&&d[b].controlComponent!==Se.POSTFIX?(P=U.setValue(M),b=P-I):a.spliceElementList(O,b+1,0,...M),!~P){a.render({isSetCursor:!1});return}const X=vc(O[b]),V=vc(O[P]),k=bc(q,d),re=bc(T,d),Z=d[re];Z.controlId&&Z.controlComponent!==Se.POSTFIX?(l.replaceRange({...h,startIndex:k,endIndex:re}),(o=x.getActiveControl())==null||o.cut()):a.spliceElementList(d,k+1,re-k);const C=O[p.startIndex],ne=c[p.startIndex];let oe=u.index;oe&&(C.tableId&&!_.tableId?B.index<oe&&(oe-=I):!C.tableId&&_.tableId&&ne.index<oe&&(oe+=I),s.setPositionContext({...u,index:oe}));const ue=bc(X,O),ce=bc(V,O);l.setRange(g?ce:ue,ce,p.tableId,p.startTdIndex,p.endTdIndex,p.startTrIndex,p.endTrIndex),a.clearSideEffect();let W=null;if(g){const Q=a.getElementList()[ce];(Q.type===fe.IMAGE||Q.type===fe.LATEX)&&(I1(Q,t,e),W=Q)}if(a.render({isSetCursor:!1}),W)if(W.imgDisplay===ht.FLOAT_TOP||W.imgDisplay===ht.FLOAT_BOTTOM)a.getPreviewer().drawResizer(W);else{const Q=s.getPositionList()[ce];a.getPreviewer().drawResizer(W,Q)}}else e.isAllowDrag&&e.mousedown(t)}function xw(t,e){const r=e.getDraw().getPageContainer(),{x:i,y:o,width:a,height:s}=r.getBoundingClientRect();t.x>=i&&t.x<=i+a&&t.y>=o&&t.y<=o+s||e.setIsAllowSelection(!1)}function ww(t,e){var x;const n=e.getDraw();if(e.isAllowDrag){const O=t.offsetX,E=t.offsetY,{startIndex:N,endIndex:M}=e.cacheRange,_=e.cachePositionList;for(let q=N+1;q<=M;q++){const{coordinate:{leftTop:T,rightBottom:I}}=_[q];if(O>=T[0]&&O<=I[0]&&E>=T[1]&&E<=I[1])return}const B=(x=e.cacheRange)==null?void 0:x.startIndex;if(B){const q=e.cacheElementList[B];(q==null?void 0:q.type)===fe.IMAGE&&(q.imgDisplay===ht.FLOAT_TOP||q.imgDisplay===ht.FLOAT_BOTTOM)&&(n.getPreviewer().clearResizer(),n.getImageParticle().dragFloatImage(t.movementX,t.movementY))}e.dragover(t),e.isAllowDrop=!0;return}if(!e.isAllowSelection||!e.mouseDownStartPosition)return;const i=t.target.dataset.index;i&&n.setPageNo(Number(i));const a=n.getPosition().getPositionByXY({x:t.offsetX,y:t.offsetY});if(!~a.index)return;const{index:s,isTable:c,tdValueIndex:u,tdIndex:l,trIndex:h,tableId:d}=a,{index:f,isTable:p,tdIndex:g,trIndex:y,tableId:R}=e.mouseDownStartPosition,m=c?u:s,v=n.getRange();if(c&&p&&(l!==g||h!==y))v.setRange(m,m,d,g,l,y,h);else{let O=~m?m:0;if((p||c)&&R!==d)return;let E=f;if(E>O&&([E,O]=[O,E]),E===O)return;const N=n.getElementList(),M=N[E+1],_=N[O];if((M==null?void 0:M.controlComponent)===Se.PLACEHOLDER&&(_==null?void 0:_.controlComponent)===Se.PLACEHOLDER&&M.controlId===_.controlId)return;v.setRange(E,O)}n.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1})}var $r=(t=>(t.COMPONENT="component",t.MENU="menu",t.MAIN="main",t.FOOTER="footer",t.CONTEXTMENU="contextmenu",t.POPUP="popup",t.CATALOG="catalog",t.COMMENT="comment",t))($r||{}),Fi=(t=>(t.PAGE="page",t.TABLE="table",t))(Fi||{}),Zt=(t=>(t.EDIT="edit",t.CLEAN="clean",t.READONLY="readonly",t.FORM="form",t.PRINT="print",t))(Zt||{}),it=(t=>(t.HEADER="header",t.MAIN="main",t.FOOTER="footer",t))(it||{}),Pi=(t=>(t.PAGING="paging",t.CONTINUITY="continuity",t))(Pi||{}),uo=(t=>(t.VERTICAL="vertical",t.HORIZONTAL="horizontal",t))(uo||{}),ef=(t=>(t.BREAK_ALL="break-all",t.BREAK_WORD="break-word",t))(ef||{});function Tw(t,e){const n=e.getDraw();if(n.isReadonly())return;const r=n.getRange();if(!r.getIsCanInput())return;const i=n.getControl();let o;if(i.getActiveControl()&&i.getIsRangeCanCaptureEvent())o=i.keydown(t);else{const a=n.getPosition(),s=a.getCursorPosition();if(!s)return;const{index:c}=s,{startIndex:u,endIndex:l}=r.getRange(),h=r.getIsCollapsed(),d=n.getElementList();if(h&&c===0){const p=d[c];if(p.value===We){p.listId&&n.getListParticle().unsetList(),t.preventDefault();return}}const f=d[u];if(h&&f.rowFlex&&f.value===We){const p=n.getRowList(),y=a.getPositionList()[u].rowNo;p[y].elementList.forEach(m=>{delete m.rowFlex})}h?n.spliceElementList(d,c,1):n.spliceElementList(d,u+1,l-u),o=h?c-1:u}o!==null&&(n.getGlobalEvent().setCanvasEventAbility(),r.setRange(o,o),n.render({curIndex:o}))}function Sw(t,e){var u;const n=e.getDraw();if(n.isReadonly())return;const r=n.getRange();if(!r.getIsCanInput())return;const{startIndex:i,endIndex:o}=r.getRange(),a=n.getElementList(),s=n.getControl();let c;if(s.getActiveControl()&&s.getIsRangeWithinControl())c=s.keydown(t);else if((u=a[o+1])!=null&&u.controlId)c=s.removeControl(o+1);else{const l=n.getPosition(),h=l.getCursorPosition();if(!h)return;const{index:d}=h,f=l.getPositionContext();if(f.isDirectHit&&f.isImage)n.spliceElementList(a,d,1),c=d-1;else{const p=r.getIsCollapsed();if(!p)n.spliceElementList(a,i+1,o-i);else{if(!a[d+1])return;n.spliceElementList(a,d+1,1)}c=p?d:i}}c!==null&&(n.getGlobalEvent().setCanvasEventAbility(),r.setRange(c,c),n.render({curIndex:c}))}function Dw(t,e){var p,g;const n=e.getDraw();if(n.isReadonly())return;const r=n.getRange();if(!r.getIsCanInput())return;const{startIndex:i,endIndex:o}=r.getRange(),a=r.getIsCollapsed(),s=n.getElementList(),c=s[i],u=s[o];if(a&&u.listId&&u.value===We&&((p=s[o+1])==null?void 0:p.listId)!==u.listId){n.getListParticle().unsetList();return}const l={value:We};if(t.shiftKey&&c.listId&&(l.listWrap=!0),!(u.titleId&&u.titleId!==((g=s[o+1])==null?void 0:g.titleId))){wn(s,[l],i);const y=Fs(s,o);if(y){const R=[...Ns];y.controlComponent!==Se.POSTFIX&&R.push(...po),R.forEach(m=>{const v=y[m];v!==void 0&&(l[m]=v)})}}const h=n.getControl(),d=h.getActiveControl();let f;if(d&&h.getIsRangeWithinControl())f=h.setValue([l]);else{const R=n.getPosition().getCursorPosition();if(!R)return;const{index:m}=R;a?n.spliceElementList(s,m+1,0,l):n.spliceElementList(s,i+1,o-i,l),f=m+1}~f&&(r.setRange(f,f),n.render({curIndex:f})),t.preventDefault()}function Ow(t,e){var v,x;const n=e.getDraw();if(n.isReadonly())return;const i=n.getPosition(),o=i.getCursorPosition();if(!o)return;const a=i.getPositionContext(),{index:s}=o;if(s<=0&&!a.isTable)return;const c=n.getRange(),{startIndex:u,endIndex:l}=c.getRange(),h=c.getIsCollapsed(),d=n.getElementList(),f=n.getControl();if(n.getMode()===Zt.FORM&&f.getActiveControl()&&((v=d[s])==null?void 0:v.controlComponent)===Se.PREFIX){f.initNextControl({direction:bn.UP});return}let p=1;if(Xr(t)){const O=n.getLetterReg(),E=t.shiftKey&&!h&&u===(o==null?void 0:o.index)?l:u;if(O.test((x=d[E])==null?void 0:x.value)){let N=E-1;for(;N>0;){const M=d[N];if(!O.test(M.value))break;p++,N--}}}const g=u-p;let y=g,R=g;if(t.shiftKey&&o&&(u!==l?u===o.index?(y=u,R=l-p):(y=g,R=l):R=l),!t.shiftKey){const O=d[u];if(O.type===fe.TABLE){const E=O.trList,N=E.length-1,M=E[N],_=M.tdList.length-1,B=M.tdList[_];i.setPositionContext({isTable:!0,index:u,trIndex:N,tdIndex:_,tdId:B.id,trId:M.id,tableId:O.id}),y=B.value.length-1,R=y,n.getTableTool().render()}else if(O.tableId&&u===0){const N=n.getOriginalElementList()[a.index].trList;e:for(let M=0;M<N.length;M++){const _=N[M];if(_.id!==O.trId)continue;const B=_.tdList;for(let q=0;q<B.length;q++)if(B[q].id===O.tdId){if(M===0&&q===0)i.setPositionContext({isTable:!1}),y=a.index-1,R=y,n.getTableTool().dispose();else{let I=M,b=q-1;b<0&&(I=M-1,b=N[I].tdList.length-1);const P=N[I],U=P.tdList[b];i.setPositionContext({isTable:!0,index:a.index,trIndex:I,tdIndex:b,tdId:U.id,trId:P.id,tableId:O.id}),y=U.value.length-1,R=y,n.getTableTool().render()}break e}}}}if(!~y||!~R)return;c.setRange(y,R);const m=y===R;n.render({curIndex:m?y:void 0,isSetCursor:m,isSubmitHistory:!1,isCompute:!1}),t.preventDefault()}function _w(t,e){var O,E;const n=e.getDraw();if(n.isReadonly())return;const i=n.getPosition(),o=i.getCursorPosition();if(!o)return;const{index:a}=o,s=i.getPositionList(),c=i.getPositionContext();if(a>s.length-1&&!c.isTable)return;const u=n.getRange(),{startIndex:l,endIndex:h}=u.getRange(),d=u.getIsCollapsed();let f=n.getElementList();const p=n.getControl();if(n.getMode()===Zt.FORM&&p.getActiveControl()&&((O=f[a+1])==null?void 0:O.controlComponent)===Se.POSTFIX){p.initNextControl({direction:bn.DOWN});return}let g=1;if(Xr(t)){const N=n.getLetterReg(),M=t.shiftKey&&!d&&l===(o==null?void 0:o.index)?h:l;if(N.test((E=f[M+1])==null?void 0:E.value)){let _=M+2;for(;_<f.length;){const B=f[_];if(!N.test(B.value))break;g++,_++}}}const y=h+g;let R=y,m=y;if(t.shiftKey&&o&&(l!==h?l===o.index?(R=l,m=y):(R=l+g,m=h):R=l),!t.shiftKey){const N=f[h],M=f[h+1];if((M==null?void 0:M.type)===fe.TABLE){const B=M.trList[0],q=B.tdList[0];i.setPositionContext({isTable:!0,index:h+1,trIndex:0,tdIndex:0,tdId:q.id,trId:B.id,tableId:M.id}),R=0,m=0,n.getTableTool().render()}else if(N.tableId&&!M){const B=n.getOriginalElementList()[c.index].trList;e:for(let q=0;q<B.length;q++){const T=B[q];if(T.id!==N.trId)continue;const I=T.tdList;for(let b=0;b<I.length;b++)if(I[b].id===N.tdId){if(q===B.length-1&&b===I.length-1)i.setPositionContext({isTable:!1}),R=c.index,m=R,f=n.getElementList(),n.getTableTool().dispose();else{let U=q,X=b+1;X>I.length-1&&(U=q+1,X=0);const V=B[U],k=V.tdList[X];i.setPositionContext({isTable:!0,index:c.index,trIndex:U,tdIndex:X,tdId:k.id,trId:V.id,tableId:N.id}),R=0,m=R,n.getTableTool().render()}break e}}}}const v=f.length-1;if(R>v||m>v)return;u.setRange(R,m);const x=R===m;n.render({curIndex:x?R:void 0,isSetCursor:x,isSubmitHistory:!1,isCompute:!1}),t.preventDefault()}function Ew(t,e){const n=e.getDraw();if(n.isReadonly())return;t.preventDefault();const i=n.getControl();if(i.getActiveControl()&&i.getIsRangeWithinControl())i.initNextControl({direction:t.shiftKey?bn.UP:bn.DOWN});else{const a={type:fe.TAB,value:""},s=n.getRange(),{startIndex:c}=s.getRange(),u=n.getElementList();wn(u,[a],c),n.insertElementList([a])}}function Cl(t){const{positionList:e,index:n,isUp:r,rowNo:i,cursorX:o}=t;let a=-1;const s=[];if(r){let c=n-1;for(;c>=0;){const u=e[c];if(c--,u.rowNo!==i){if(s[0]&&s[0].rowNo!==u.rowNo)break;s.unshift(u)}}}else{let c=n+1;for(;c<e.length;){const u=e[c];if(c++,u.rowNo!==i){if(s[0]&&s[0].rowNo!==u.rowNo)break;s.push(u)}}}for(let c=0;c<s.length;c++){const u=s[c],{coordinate:{leftTop:[l],rightTop:[h]}}=u;if(c===s.length-1&&(a=u.index),!(o<l||o>h)){a=u.index;break}}return a}function Iw(t,e){const n=e.getDraw();if(n.isReadonly())return;const i=n.getPosition(),o=i.getCursorPosition();if(!o)return;const a=n.getRange(),{startIndex:s,endIndex:c}=a.getRange();let u=i.getPositionList();const l=t.key===Qe.Up;let h=-1,d=-1;const f=i.getPositionContext();if(!t.shiftKey&&f.isTable&&(l&&o.rowIndex===0||!l&&o.rowIndex===n.getRowCount()-1)){const{index:g,trIndex:y,tdIndex:R,tableId:m}=f;if(l)if(y===0)i.setPositionContext({isTable:!1}),h=g-1,d=h,n.getTableTool().dispose();else{let v=-1,x=-1;const E=n.getOriginalElementList()[g].trList,N=E[y].tdList[R].colIndex;e:for(let B=y-1;B>=0;B--){const T=E[B].tdList;for(let I=0;I<T.length;I++){const b=T[I];if(b.colIndex===N||b.colIndex+b.colspan-1>=N&&b.colIndex<=N){v=B,x=I;break e}}}if(!~v||!~x)return;const M=E[v],_=M.tdList[x];i.setPositionContext({isTable:!0,index:g,trIndex:v,tdIndex:x,tdId:M.id,trId:_.id,tableId:m}),h=_.value.length-1,d=h,n.getTableTool().render()}else{const x=n.getOriginalElementList()[g].trList;if(y===x.length-1)i.setPositionContext({isTable:!1}),h=g,d=h,n.getTableTool().dispose();else{let O=-1,E=-1;const N=x[y].tdList[R].colIndex;e:for(let B=y+1;B<x.length;B++){const T=x[B].tdList;for(let I=0;I<T.length;I++){const b=T[I];if(b.colIndex===N||b.colIndex+b.colspan-1>=N&&b.colIndex<=N){O=B,E=I;break e}}}if(!~O||!~E)return;const M=x[O],_=M.tdList[E];i.setPositionContext({isTable:!0,index:g,trIndex:O,tdIndex:E,tdId:M.id,trId:_.id,tableId:m}),h=_.value.length-1,d=h,n.getTableTool().render()}}}else{let g=o;t.shiftKey&&(s===o.index?g=u[c]:g=u[s]);const{index:y,rowNo:R,rowIndex:m,coordinate:{rightTop:[v]}}=g;if(l&&m===0||!l&&m===n.getRowCount()-1)return;const x=Cl({positionList:u,index:y,rowNo:R,isUp:l,cursorX:v});if(x<0)return;h=x,d=x,t.shiftKey&&(s!==c?s===o.index?h=s:d=c:l?d=c:h=s);const E=n.getElementList()[x];if(E.type===fe.TABLE){const{scale:N}=n.getOptions(),M=n.getMargins(),_=E.trList;let B=-1,q=-1,T=-1;if(l){e:for(let I=_.length-1;I>=0;I--){const P=_[I].tdList;for(let U=0;U<P.length;U++){const X=P[U],V=X.x*N+M[3],k=X.width*N;if(v>=V&&v<=V+k){const re=X.positionList,Z=re[re.length-1],C=Cl({positionList:re,index:Z.index+1,rowNo:Z.rowNo-1,isUp:l,cursorX:v})||Z.index;B=I,q=U,T=C;break e}}}}else{e:for(let I=0;I<_.length;I++){const P=_[I].tdList;for(let U=0;U<P.length;U++){const X=P[U],V=X.x*N+M[3],k=X.width*N;if(v>=V&&v<=V+k){const re=X.positionList,Z=Cl({positionList:re,index:-1,rowNo:-1,isUp:l,cursorX:v})||0;B=I,q=U,T=Z;break e}}}}if(~B&&~q&&~T){const I=_[B],b=I.tdList[q];i.setPositionContext({isTable:!0,index:x,trIndex:B,tdIndex:q,tdId:b.id,trId:I.id,tableId:E.id}),h=T,d=h,u=i.getPositionList(),n.getTableTool().render()}}}if(!~h||!~d)return;h>d&&([h,d]=[d,h]),a.setRange(h,d);const p=h===d;n.render({curIndex:p?h:void 0,isSetCursor:p,isSubmitHistory:!1,isCompute:!1}),n.getCursor().moveCursorToVisible({cursorPosition:u[l?h:d],direction:l?bn.UP:bn.DOWN})}function Nw(t,e){if(e.isComposing)return;const n=e.getDraw();if(t.key===Qe.Backspace)Tw(t,e);else if(t.key===Qe.Delete)Sw(t,e);else if(t.key===Qe.Enter)Dw(t,e);else if(t.key===Qe.Left)Ow(t,e);else if(t.key===Qe.Right)_w(t,e);else if(t.key===Qe.Up||t.key===Qe.Down)Iw(t,e);else if(Xr(t)&&t.key===Qe.Z){if(n.isReadonly()&&n.getMode()!==Zt.FORM)return;n.getHistoryManager().undo(),t.preventDefault()}else if(Xr(t)&&t.key===Qe.Y){if(n.isReadonly()&&n.getMode()!==Zt.FORM)return;n.getHistoryManager().redo(),t.preventDefault()}else if(Xr(t)&&t.key===Qe.C)e.copy(),t.preventDefault();else if(Xr(t)&&t.key===Qe.X)e.cut(),t.preventDefault();else if(Xr(t)&&t.key===Qe.A)e.selectAll(),t.preventDefault();else if(Xr(t)&&t.key===Qe.S){if(n.isReadonly())return;const r=n.getListener();r.saved&&r.saved(n.getValue());const i=n.getEventBus();i.isSubscribe("saved")&&i.emit("saved",n.getValue()),t.preventDefault()}else if(t.key===Qe.ESC){e.clearPainterStyle();const r=n.getZone();r.isMainActive()||r.setZone(it.MAIN),t.preventDefault()}else t.key===Qe.TAB&&Ew(t,e)}function sR(t,e){var x;const n=e.getDraw();if(n.isReadonly())return;const i=n.getPosition().getCursorPosition();if(!t||!i)return;const o=e.isComposing;if(o&&((x=e.compositionInfo)==null?void 0:x.value)===t)return;const a=n.getRange();if(!a.getIsCanInput())return;cR(e),o||n.getCursor().clearAgentDomValue();const{TEXT:s,HYPERLINK:c,SUBSCRIPT:u,SUPERSCRIPT:l,DATE:h}=fe,d=t.replaceAll(`
|
|
`,We),{startIndex:f,endIndex:p}=a.getRange(),g=n.getElementList(),y=Fs(g,p);if(!y)return;const R=vr(d).map(O=>{const E={value:O},N=g[p+1];return(!y.type||y.type===s||y.type===c&&(N==null?void 0:N.type)===c||y.type===h&&(N==null?void 0:N.type)===h||y.type===u&&(N==null?void 0:N.type)===u||y.type===l&&(N==null?void 0:N.type)===l)&&Ux.forEach(M=>{if(M==="groupIds"&&!(N!=null&&N.groupIds))return;const _=y[M];_!==void 0&&(E[M]=_)}),o&&(E.underline=!0),E}),m=n.getControl();let v;if(m.getActiveControl()&&m.getIsRangeWithinControl())v=m.setValue(R);else{const O=f+1;f!==p&&n.spliceElementList(g,O,p-f),wn(g,R,f),n.spliceElementList(g,O,0,...R),v=f+R.length}~v&&(a.setRange(v,v),n.render({curIndex:v,isSubmitHistory:!o})),o&&(e.compositionInfo={elementList:g,value:d,startIndex:v-R.length,endIndex:v})}function cR(t){if(!t.compositionInfo)return;const{elementList:e,startIndex:n,endIndex:r}=t.compositionInfo;e.splice(n+1,r-n),t.getDraw().getRange().setRange(n,n),t.compositionInfo=null}function Fw(t){const e=t.getDraw(),n=e.getRange(),{startIndex:r,endIndex:i}=n.getRange();if(!~r&&!~r||e.isReadonly()||!n.getIsCanInput())return;const o=e.getElementList();let a=r,s=i;if(r===i){const d=e.getPosition().getPositionList(),f=d[r],p=f.rowNo,g=f.pageNo,y=[];for(let m=0;m<d.length;m++){const v=d[m];if(v.pageNo>g)break;v.pageNo===g&&v.rowNo===p&&y.push(m)}const R=y[0]-1;a=R<0?0:R,s=y[y.length-1]}const c=e.getOptions();iR(o.slice(a+1,s+1),c);const u=e.getControl();let l;u.getActiveControl()&&u.getIsRangeWithinControl()?l=u.cut():(e.spliceElementList(o,a+1,s-a),l=a),n.setRange(l,l),e.render({curIndex:l})}function Pw(t){const e=t.getDraw(),{copy:n}=e.getOverride();if(n){n();return}const r=e.getRange(),i=r.getIsCollapsed()?r.getRangeRowElementList():r.getSelectionElementList();!(i!=null&&i.length)||iR(i,e.getOptions())}function Mw(t,e){var o,a;const n=e.getDraw(),{drop:r}=n.getOverride();if(r){r(t);return}t.preventDefault();const i=(o=t.dataTransfer)==null?void 0:o.getData("text");if(i)e.input(i);else{const s=(a=t.dataTransfer)==null?void 0:a.files;if(!s)return;for(let c=0;c<s.length;c++){const u=s[c];u.type.startsWith("image")&&qd(e,u)}}}function Lw(t){var d;if(!Intl.Segmenter)return null;const e=t.getDraw(),n=e.getPosition().getCursorPosition();if(!n)return null;const i=e.getRange().getRangeParagraphInfo();if(!i)return null;const o=((d=i==null?void 0:i.elementList)==null?void 0:d.map(f=>!f.type||f.type!==fe.CONTROL&&Nr.includes(f.type)?f.value:We).join(""))||"";if(!o)return null;const a=n.index,s=i.startIndex,u=new Intl.Segmenter(void 0,{granularity:"word"}).segment(o);let l=-1,h=-1;for(const{segment:f,index:p,isWordLike:g}of u){const y=p+s;if(g&&a>=y&&a<y+f.length){l=y-1,h=l+f.length;break}}return~l&&~h?{startIndex:l,endIndex:h}:null}function Cw(t){const e=t.getDraw(),n=e.getPosition().getCursorPosition();if(!n)return null;const{value:r,index:i}=n,o=e.getLetterReg();let a=0,s=0;const c=Pl.test(r);if(c||o.test(r)){const l=e.getElementList();let h=i-1;for(;h>0;){const f=l[h].value;if(c&&Pl.test(f)||!c&&o.test(f))a++,h--;else break}let d=i+1;for(;d<l.length;){const f=l[d].value;if(c&&Pl.test(f)||!c&&o.test(f))s++,d++;else break}}const u=i-a-1;return u<0?null:{startIndex:u,endIndex:i+s}}function Aw(t,e){const n=t.getDraw(),r=n.getPosition(),i=r.getPositionByXY({x:e.offsetX,y:e.offsetY});if(i.isImage&&i.isDirectHit){n.getPreviewer().render();return}if(n.getIsPagingMode()&&!~i.index&&i.zone){n.getZone().setZone(i.zone),n.clearSideEffect(),r.setPositionContext({isTable:!1});return}if((i.isCheckbox||i.isRadio)&&i.isDirectHit)return;const o=n.getRange(),a=Lw(t)||Cw(t);!a||(o.setRange(a.startIndex,a.endIndex),n.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1}),o.setRangeStyle())}function Uw(t){var f,p;const e=t.getDraw(),r=e.getPosition().getCursorPosition();if(!r)return;const{index:i}=r,o=e.getElementList();let a=0,s=0,c=i-1;for(;c>0;){const g=o[c],y=o[c-1];if(g.value===We&&!g.listWrap||g.listId!==(y==null?void 0:y.listId)||g.titleId!==(y==null?void 0:y.titleId))break;a++,c--}let u=i+1;for(;u<o.length;){const g=o[u],y=o[u+1];if(g.value===We&&!g.listWrap||g.listId!==(y==null?void 0:y.listId)||g.titleId!==(y==null?void 0:y.titleId))break;s++,u++}const l=e.getRange();let h=i-a-1;if(((f=o[h])==null?void 0:f.value)!==We&&(h-=1),h<0)return;let d=i+s+1;((p=o[d])==null?void 0:p.value)===We&&(d-=1),l.setRange(h,d),e.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1})}var N1={dblclick:Aw,threeClick:Uw};function Ww(t){t.isComposing=!0}function Xw(t,e){t.isComposing=!1;const n=t.getDraw();if(e.data)setTimeout(()=>{t.compositionInfo&&sR(e.data,t)},1);else{cR(t);const i=n.getRange(),{endIndex:o}=i.getRange();n.render({curIndex:o,isSubmitHistory:!1})}n.getCursor().clearAgentDomValue()}var F1={compositionstart:Ww,compositionend:Xw};function Vw(t,e){const n=e.getDraw();if(n.isReadonly())return;t.preventDefault();const i=n.getPageContainer();if(!au(t.target,m=>m===i,!0))return;const s=t.target.dataset.index;s&&n.setPageNo(Number(s));const c=n.getPosition(),u=c.adjustPositionContext({x:t.offsetX,y:t.offsetY});if(!u)return;const{isTable:l,tdValueIndex:h,index:d}=u,f=c.getPositionList(),p=l?h:d;~d&&(n.getRange().setRange(p,p),c.setCursorPosition(f[p]));const g=n.getCursor(),{cursor:{dragColor:y,dragWidth:R}}=n.getOptions();g.drawCursor({width:R,color:y,isBlink:!1})}var Yw={dragover:Vw};class Bw{constructor(e){this.draw=e,this.pageContainer=e.getPageContainer(),this.pageList=e.getPageList(),this.range=this.draw.getRange(),this.position=this.draw.getPosition(),this.isAllowSelection=!1,this.isComposing=!1,this.compositionInfo=null,this.isAllowDrag=!1,this.isAllowDrop=!1,this.cacheRange=null,this.cacheElementList=null,this.cachePositionList=null,this.cachePositionContext=null,this.mouseDownStartPosition=null}getDraw(){return this.draw}register(){this.pageContainer.addEventListener("click",this.click.bind(this)),this.pageContainer.addEventListener("mousedown",this.mousedown.bind(this)),this.pageContainer.addEventListener("mouseup",this.mouseup.bind(this)),this.pageContainer.addEventListener("mouseleave",this.mouseleave.bind(this)),this.pageContainer.addEventListener("mousemove",this.mousemove.bind(this)),this.pageContainer.addEventListener("dblclick",this.dblclick.bind(this)),this.pageContainer.addEventListener("dragover",this.dragover.bind(this)),this.pageContainer.addEventListener("drop",this.drop.bind(this)),Ix(this.pageContainer,this.threeClick.bind(this))}setIsAllowSelection(e){this.isAllowSelection=e,e||this.applyPainterStyle()}setIsAllowDrag(e){this.isAllowDrag=e,this.isAllowDrop=e}clearPainterStyle(){this.pageList.forEach(e=>{e.style.cursor="text"}),this.draw.setPainterStyle(null)}applyPainterStyle(){const e=this.draw.getPainterStyle();if(!e)return;const n=this.range.getSelection();if(!n)return;const r=Object.keys(e);n.forEach(o=>{r.forEach(a=>{const s=a;o[s]=e[s]})}),this.draw.render({isSetCursor:!1});const i=this.draw.getPainterOptions();(!i||!i.isDblclick)&&this.clearPainterStyle()}selectAll(){const e=this.position.getPositionList();this.range.setRange(0,e.length-1),this.draw.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1})}mousemove(e){ww(e,this)}mousedown(e){vw(e,this)}click(){yw&&!this.draw.isReadonly()&&this.draw.getCursor().getAgentDom().focus()}mouseup(e){bw(e,this)}mouseleave(e){xw(e,this)}keydown(e){Nw(e,this)}dblclick(e){N1.dblclick(this,e)}threeClick(){N1.threeClick(this)}input(e){sR(e,this)}cut(){Fw(this)}copy(){Pw(this)}compositionstart(){F1.compositionstart(this)}compositionend(e){F1.compositionend(this,e)}drop(e){Mw(e,this)}dragover(e){Yw.dragover(e,this)}}class Zw{constructor(e,n){this.clearSideEffect=r=>{if(!this.cursor)return;const i=(r==null?void 0:r.composedPath()[0])||r.target,o=this.draw.getPageList();if(au(i,c=>o.includes(c),!0)){this.setRangeStyle();return}if(au(i,c=>!!c&&c.nodeType===1&&!!c.getAttribute(Jr),!0)){this.setRangeStyle(),this.watchCursorActive();return}this.cursor.recoveryCursor(),this.range.recoveryRangeStyle(),this.previewer.clearResizer(),this.tableTool.dispose(),this.hyperlinkParticle.clearHyperlinkPopup(),this.control.destroyControl(),this.dateParticle.clearDatePicker()},this.setCanvasEventAbility=()=>{this.canvasEvent.setIsAllowDrag(!1),this.canvasEvent.setIsAllowSelection(!1)},this.setRangeStyle=()=>{this.range.setRangeStyle()},this.setPageScale=r=>{if(!r.ctrlKey)return;r.preventDefault();const{scale:i}=this.options;if(r.deltaY<0){const o=i*10+1;o<=30&&this.draw.setPageScale(o/10)}else{const o=i*10-1;o>=5&&this.draw.setPageScale(o/10)}},this._handleVisibilityChange=()=>{if(document.visibilityState==="visible"){const r=this.range.getRange(),i=!!~r.startIndex&&!!~r.endIndex&&r.startIndex===r.endIndex;this.range.replaceRange(r),this.draw.render({isSetCursor:i,isCompute:!1,isSubmitHistory:!1,curIndex:r.startIndex})}},this._handleDprChange=()=>{this.draw.setPageDevicePixel()},this.draw=e,this.options=e.getOptions(),this.canvasEvent=n,this.cursor=null,this.range=e.getRange(),this.previewer=e.getPreviewer(),this.tableTool=e.getTableTool(),this.hyperlinkParticle=e.getHyperlinkParticle(),this.dateParticle=e.getDateParticle(),this.control=e.getControl(),this.dprMediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`)}register(){this.cursor=this.draw.getCursor(),this.addEvent()}addEvent(){window.addEventListener("blur",this.clearSideEffect),document.addEventListener("keyup",this.setRangeStyle),document.addEventListener("click",this.clearSideEffect),document.addEventListener("mouseup",this.setCanvasEventAbility),document.addEventListener("wheel",this.setPageScale,{passive:!1}),document.addEventListener("visibilitychange",this._handleVisibilityChange),this.dprMediaQueryList.addEventListener("change",this._handleDprChange)}removeEvent(){window.removeEventListener("blur",this.clearSideEffect),document.removeEventListener("keyup",this.setRangeStyle),document.removeEventListener("click",this.clearSideEffect),document.removeEventListener("mouseup",this.setCanvasEventAbility),document.removeEventListener("wheel",this.setPageScale),document.removeEventListener("visibilitychange",this._handleVisibilityChange),this.dprMediaQueryList.removeEventListener("change",this._handleDprChange)}watchCursorActive(){!this.range.getIsCollapsed()||setTimeout(()=>{var e,n;(e=this.cursor)!=null&&e.getAgentIsActive()||(n=this.cursor)==null||n.drawCursor({isFocus:!1,isBlink:!1})})}}class kw{constructor(e){this.undoStack=[],this.redoStack=[],this.maxRecordCount=e.getOptions().historyMaxRecordCount+1}undo(){if(this.undoStack.length>1){const e=this.undoStack.pop();this.redoStack.push(e),this.undoStack.length&&this.undoStack[this.undoStack.length-1]()}}redo(){if(this.redoStack.length){const e=this.redoStack.pop();this.undoStack.push(e),e()}}execute(e){for(this.undoStack.push(e),this.redoStack.length&&(this.redoStack=[]);this.undoStack.length>this.maxRecordCount;)this.undoStack.shift()}isCanUndo(){return this.undoStack.length>1}isCanRedo(){return!!this.redoStack.length}isStackEmpty(){return!this.undoStack.length&&!this.redoStack.length}recovery(){this.undoStack=[],this.redoStack=[]}popUndo(){return this.undoStack.pop()}}class Qw{constructor(e){this.positionList=[],this.floatPositionList=[],this.cursorPosition=null,this.positionContext={isTable:!1,isControl:!1},this.draw=e,this.options=e.getOptions()}getFloatPositionList(){return this.floatPositionList}getTablePositionList(e){const{index:n,trIndex:r,tdIndex:i}=this.positionContext;return e[n].trList[r].tdList[i].positionList||[]}getPositionList(){return this.positionContext.isTable?this.getTablePositionList(this.draw.getOriginalElementList()):this.getOriginalPositionList()}getMainPositionList(){return this.positionContext.isTable?this.getTablePositionList(this.draw.getOriginalMainElementList()):this.positionList}getOriginalPositionList(){const e=this.draw.getZone();return e.isHeaderActive()?this.draw.getHeader().getPositionList():e.isFooterActive()?this.draw.getFooter().getPositionList():this.positionList}getOriginalMainPositionList(){return this.positionList}getSelectionPositionList(){const{startIndex:e,endIndex:n}=this.draw.getRange().getRange();return e===n?null:this.getPositionList().slice(e+1,n+1)}setPositionList(e){this.positionList=e}setFloatPositionList(e){this.floatPositionList=e}computePageRowPosition(e){const{positionList:n,rowList:r,pageNo:i,startX:o,startY:a,startRowIndex:s,startIndex:c,innerWidth:u,zone:l}=e,{scale:h,table:{tdPadding:d}}=this.options;let f=o,p=a,g=c;for(let y=0;y<r.length;y++){const R=r[y],m=R.width+(R.offsetX||0);R.rowFlex===at.CENTER?f+=(u-m)/2:R.rowFlex===at.RIGHT&&(f+=u-m),f+=R.offsetX||0;const v=f,x=p;for(let O=0;O<R.elementList.length;O++){const E=R.elementList[O],N=E.metrics,M=E.imgDisplay!==ht.INLINE&&E.type===fe.IMAGE||E.type===fe.LATEX?R.ascent-N.height:R.ascent;E.left&&(f+=E.left);const _={pageNo:i,index:g,value:E.value,rowIndex:s+y,rowNo:y,metrics:N,left:E.left||0,ascent:M,lineHeight:R.height,isFirstLetter:O===0,isLastLetter:O===R.elementList.length-1,coordinate:{leftTop:[f,p],leftBottom:[f,p+R.height],rightTop:[f+N.width,p],rightBottom:[f+N.width,p+R.height]}};if(E.imgDisplay===ht.FLOAT_TOP||E.imgDisplay===ht.FLOAT_BOTTOM){const B=n[n.length-1];B&&(_.metrics=B.metrics,_.coordinate=B.coordinate),E.imgFloatPosition||(E.imgFloatPosition={x:f,y:p}),this.floatPositionList.push({pageNo:i,element:E,position:_,isTable:e.isTable,index:e.index,tdIndex:e.tdIndex,trIndex:e.trIndex,tdValueIndex:g,zone:l})}if(n.push(_),g++,f+=N.width,E.type===fe.TABLE){const B=d[1]+d[3],q=d[0]+d[2];for(let T=0;T<E.trList.length;T++){const I=E.trList[T];for(let b=0;b<I.tdList.length;b++){const P=I.tdList[b];P.positionList=[];const U=P.rowList,X=this.computePageRowPosition({positionList:P.positionList,rowList:U,pageNo:i,startRowIndex:0,startIndex:0,startX:(P.x+d[3])*h+v,startY:(P.y+d[0])*h+x,innerWidth:(P.width-B)*h,isTable:!0,index:g-1,tdIndex:b,trIndex:T,zone:l});if(P.verticalAlign===Mi.MIDDLE||P.verticalAlign===Mi.BOTTOM){const V=U.reduce((Z,C)=>Z+C.height,0),k=(P.height-q)*h-V,re=P.verticalAlign===Mi.MIDDLE?k/2:k;Math.floor(re)>0&&P.positionList.forEach(Z=>{const{coordinate:{leftTop:C,leftBottom:ne,rightBottom:oe,rightTop:ue}}=Z;C[1]+=re,ne[1]+=re,oe[1]+=re,ue[1]+=re})}f=X.x,p=X.y}}f=v,p=x}}f=o,p+=R.height}return{x:f,y:p,index:g}}computePositionList(){var u;this.positionList=[];const e=this.draw.getInnerWidth(),n=this.draw.getPageRowList(),r=this.draw.getMargins(),i=r[3],a=this.draw.getHeader().getExtraHeight(),s=r[0]+a;let c=0;for(let l=0;l<n.length;l++){const h=n[l],d=(u=h[0])==null?void 0:u.startIndex;this.computePageRowPosition({positionList:this.positionList,rowList:h,pageNo:l,startRowIndex:c,startIndex:d,startX:i,startY:s,innerWidth:e}),c+=h.length}}computeRowPosition(e){const{row:n,innerWidth:r}=e,i=[];return this.computePageRowPosition({positionList:i,innerWidth:r,rowList:[Ft(n)],pageNo:0,startX:0,startY:0,startIndex:0,startRowIndex:0}),i}setCursorPosition(e){this.cursorPosition=e}getCursorPosition(){return this.cursorPosition}getPositionContext(){return this.positionContext}setPositionContext(e){this.positionContext=e}getPositionByXY(e){var g,y,R,m,v;const{x:n,y:r,isTable:i}=e;let{elementList:o,positionList:a}=e;o||(o=this.draw.getOriginalElementList()),a||(a=this.getOriginalPositionList());const s=this.draw.getZone(),c=(g=e.pageNo)!=null?g:this.draw.getPageNo(),u=s.isMainActive(),l=u?c:0;if(!i){const x=this.getFloatPositionByXY({...e,imgDisplay:ht.FLOAT_TOP});if(x)return x}for(let x=0;x<a.length;x++){const{index:O,pageNo:E,left:N,isFirstLetter:M,coordinate:{leftTop:_,rightTop:B,leftBottom:q}}=a[x];if(l===E){if(E>l)break;if(_[0]-N<=n&&B[0]>=n&&_[1]<=r&&q[1]>=r){let T=x;const I=o[x];if(I.type===fe.TABLE)for(let P=0;P<I.trList.length;P++){const U=I.trList[P];for(let X=0;X<U.tdList.length;X++){const V=U.tdList[X],k=this.getPositionByXY({x:n,y:r,td:V,tablePosition:a[x],isTable:!0,elementList:V.value,positionList:V.positionList});if(~k.index){const{index:re,hitLineStartIndex:Z}=k,C=V.value[re];return{index:O,isCheckbox:k.isCheckbox||C.type===fe.CHECKBOX||C.controlComponent===Se.CHECKBOX,isRadio:C.type===fe.RADIO||C.controlComponent===Se.RADIO,isControl:!!C.controlId,isImage:k.isImage,isDirectHit:k.isDirectHit,isTable:!0,tdIndex:X,trIndex:P,tdValueIndex:re,tdId:V.id,trId:U.id,tableId:I.id,hitLineStartIndex:Z}}}}if(I.type===fe.IMAGE||I.type===fe.LATEX)return{index:T,isDirectHit:!0,isImage:!0};if(I.type===fe.CHECKBOX||I.controlComponent===Se.CHECKBOX)return{index:T,isDirectHit:!0,isCheckbox:!0};if(I.type===fe.RADIO||I.controlComponent===Se.RADIO)return{index:T,isDirectHit:!0,isRadio:!0};let b;if(o[O].value!==We){const P=B[0]-_[0];n<_[0]+P/2&&(T=x-1,M&&(b=x))}return{hitLineStartIndex:b,index:T,isControl:!!I.controlId}}}}if(!i){const x=this.getFloatPositionByXY({...e,imgDisplay:ht.FLOAT_BOTTOM});if(x)return x}let h=!1,d=-1,f;if(i){const{scale:x}=this.options,{td:O,tablePosition:E}=e;if(O&&E){const{leftTop:N}=E.coordinate,M=O.x*x+N[0],_=O.y*x+N[1],B=O.width*x,q=O.height*x;if(!(M<n&&n<M+B&&_<r&&r<_+q))return{index:d}}}const p=a.filter(x=>x.isLastLetter&&x.pageNo===l);for(let x=0;x<p.length;x++){const{index:O,rowNo:E,coordinate:{leftTop:N,leftBottom:M}}=p[x];if(r>N[1]&&r<=M[1]){const _=a.findIndex(B=>B.pageNo===l&&B.rowNo===E);if(n<this.options.margins[3])~_?a[_].value===We?d=_:(d=_-1,f=_):d=O;else{if(o[_].listStyle===or.CHECKBOX&&n<N[0])return{index:_,isDirectHit:!0,isCheckbox:!0};d=O}h=!0;break}}if(!h){const x=this.draw.getHeader(),O=x.getHeight(),E=x.getHeaderTop()+O,N=this.draw.getFooter(),_=this.draw.getHeight()-(N.getFooterBottom()+N.getHeight());if(u){if(r<E)return{index:-1,zone:it.HEADER};if(r>_)return{index:-1,zone:it.FOOTER}}else if(r<=_&&r>=E)return{index:-1,zone:it.MAIN};const B=this.draw.getMargins();if(r<=B[1])for(let q=0;q<a.length;q++){const T=a[q];if(T.pageNo!==l||T.rowNo!==0)continue;const{leftTop:I,rightTop:b}=T.coordinate;if(n<=B[3]||n>=I[0]&&n<=b[0]||((y=a[q+1])==null?void 0:y.rowNo)!==0)return{index:T.index}}else{const q=p[p.length-1];if(q){const T=q.rowNo;for(let I=0;I<a.length;I++){const b=a[I];if(b.pageNo!==l||b.rowNo!==T)continue;const{leftTop:P,rightTop:U}=b.coordinate;if(n<=B[3]||n>=P[0]&&n<=U[0]||((R=a[I+1])==null?void 0:R.rowNo)!==T)return{index:b.index}}}}return{index:((m=p[p.length-1])==null?void 0:m.index)||a.length-1}}return{hitLineStartIndex:f,index:d,isControl:!!((v=o[d])!=null&&v.controlId)}}getFloatPositionByXY(e){const{x:n,y:r}=e,i=this.draw.getZone().getZone();for(let o=0;o<this.floatPositionList.length;o++){const{position:a,element:s,isTable:c,index:u,trIndex:l,tdIndex:h,tdValueIndex:d,zone:f}=this.floatPositionList[o];if(s.type===fe.IMAGE&&s.imgDisplay===e.imgDisplay&&(!f||f===i)){const p=s.imgFloatPosition;if(n>=p.x&&n<=p.x+s.width&&r>=p.y&&r<=p.y+s.height)return c?{index:u,isDirectHit:!0,isImage:!0,isTable:c,trIndex:l,tdIndex:h,tdValueIndex:d,tdId:s.tdId,trId:s.trId,tableId:s.tableId}:{index:a.index,isDirectHit:!0,isImage:!0}}}}adjustPositionContext(e){const n=this.getPositionByXY(e);if(!~n.index)return null;if(n.isControl&&this.draw.getMode()!==Zt.READONLY){const{index:g,isTable:y,trIndex:R,tdIndex:m,tdValueIndex:v}=n,x=this.draw.getControl(),{newIndex:O}=x.moveCursor({index:g,isTable:y,trIndex:R,tdIndex:m,tdValueIndex:v});y?n.tdValueIndex=O:n.index=O}const{index:r,isCheckbox:i,isRadio:o,isControl:a,isImage:s,isDirectHit:c,isTable:u,trIndex:l,tdIndex:h,tdId:d,trId:f,tableId:p}=n;return this.setPositionContext({isTable:u||!1,isCheckbox:i||!1,isRadio:o||!1,isControl:a||!1,isImage:s||!1,isDirectHit:c||!1,index:r,trIndex:l,tdIndex:h,tdId:d,trId:f,tableId:p}),n}}class Kw{constructor(e){this.draw=e,this.options=e.getOptions(),this.listener=e.getListener(),this.eventBus=e.getEventBus(),this.position=e.getPosition(),this.historyManager=e.getHistoryManager(),this.range={startIndex:-1,endIndex:-1}}getRange(){return this.range}clearRange(){this.setRange(-1,-1)}getIsCollapsed(){const{startIndex:e,endIndex:n}=this.range;return e===n}getSelection(){const{startIndex:e,endIndex:n}=this.range;return e===n?null:this.draw.getElementList().slice(e+1,n+1)}getSelectionElementList(){if(this.range.isCrossRowCol){const e=this.draw.getTableParticle().getRangeRowCol();if(!e)return null;const n=[];for(let r=0;r<e.length;r++){const i=e[r];for(let o=0;o<i.length;o++){const a=i[o];n.push(...a.value)}}return n}return this.getSelection()}getTextLikeSelection(){const e=this.getSelection();return e?e.filter(n=>!n.type||Nr.includes(n.type)):null}getTextLikeSelectionElementList(){const e=this.getSelectionElementList();return e?e.filter(n=>!n.type||Nr.includes(n.type)):null}getRangeRow(){const{startIndex:e,endIndex:n}=this.range;if(!~e&&!~n)return null;const r=this.position.getPositionList(),i=new Map;for(let o=e;o<n+1;o++){const{pageNo:a,rowNo:s}=r[o],c=i.get(a);c?c.has(s)||c.add(s):i.set(a,new Set([s]))}return i}getRangeRowElementList(){const{startIndex:e,endIndex:n,isCrossRowCol:r}=this.range;if(!~e&&!~n)return null;if(r)return this.getSelectionElementList();const i=this.getRangeRow();if(!i)return null;const o=this.position.getPositionList(),a=this.draw.getElementList(),s=[];for(let c=0;c<o.length;c++){const u=o[c],l=i.get(u.pageNo);!l||l.has(u.rowNo)&&s.push(a[c])}return s}getRangeParagraph(){const{startIndex:e,endIndex:n}=this.range;if(!~e&&!~n)return null;const r=this.position.getPositionList(),i=this.draw.getElementList(),o=new Map;let a=e;for(;a>=0;){const{pageNo:c,rowNo:u}=r[a];let l=o.get(c);l||(l=[],o.set(c,l)),l.includes(u)||l.unshift(u);const h=i[a],d=i[a-1];if(h.value===We&&!h.listWrap||h.listId!==(d==null?void 0:d.listId)||h.titleId!==(d==null?void 0:d.titleId))break;a--}if(e!==n){let c=e+1;for(;c<n;){const{pageNo:u,rowNo:l}=r[c];let h=o.get(u);h||(h=[],o.set(u,h)),h.includes(l)||h.push(l),c++}}let s=n;for(;s<r.length;){const c=i[s],u=i[s+1];if(c.value===We&&!c.listWrap||c.listId!==(u==null?void 0:u.listId)||c.titleId!==(u==null?void 0:u.titleId))break;const{pageNo:l,rowNo:h}=r[s];let d=o.get(l);d||(d=[],o.set(l,d)),d.includes(h)||d.push(h),s++}return o}getRangeParagraphInfo(){const{startIndex:e,endIndex:n}=this.range;if(!~e&&!~n)return null;let r=-1;const i=[],o=this.getRangeParagraph();if(!o)return null;const a=this.draw.getElementList(),s=this.position.getPositionList();for(let c=0;c<s.length;c++){const u=s[c],l=o.get(u.pageNo);!l||l.includes(u.rowNo)&&(~r||(r=u.index),i.push(a[c]))}return i.length?{elementList:i,startIndex:r}:null}getRangeParagraphElementList(){var e;return((e=this.getRangeParagraphInfo())==null?void 0:e.elementList)||null}getIsSelectAll(){const e=this.draw.getElementList(),{startIndex:n,endIndex:r}=this.range;return n===0&&e.length-1===r&&!this.position.getPositionContext().isTable}getIsPointInRange(e,n){const{startIndex:r,endIndex:i}=this.range,o=this.position.getPositionList();for(let a=r+1;a<=i&&o[a];a++){const{coordinate:{leftTop:c,rightBottom:u}}=o[a];if(e>=c[0]&&e<=u[0]&&n>=c[1]&&n<=u[1])return!0}return!1}getKeywordRangeList(e){const n=this.draw.getSearch().getMatchList(e,this.draw.getOriginalElementList()),r=new Map;for(const o of n){const a=r.get(o.groupId);if(a)a.endIndex+=1;else{const{type:s,groupId:c,tableId:u,index:l,tdIndex:h,trIndex:d}=o,f={startIndex:l-1,endIndex:l};s===Fi.TABLE&&(f.tableId=u,f.startTdIndex=h,f.endTdIndex=h,f.startTrIndex=d,f.endTrIndex=d),r.set(c,f)}}const i=[];return r.forEach(o=>{i.push(o)}),i}getIsCanInput(){const{startIndex:e,endIndex:n}=this.getRange();if(!~e&&!~n)return!1;if(e===n)return!0;const r=this.draw.getElementList(),i=r[e],o=r[n];return!i.controlId&&!o.controlId||(!i.controlId||i.controlComponent===Se.POSTFIX)&&(!o.controlId||o.controlComponent===Se.POSTFIX)||!!i.controlId&&o.controlId===i.controlId&&o.controlComponent!==Se.POSTFIX}setRange(e,n,r,i,o,a,s){this.range.startIndex=e,this.range.endIndex=n,this.range.tableId=r,this.range.startTdIndex=i,this.range.endTdIndex=o,this.range.startTrIndex=a,this.range.endTrIndex=s,this.range.isCrossRowCol=!!(i||o||a||s),this.range.zone=this.draw.getZone().getZone();const c=this.draw.getControl();if(~e&&~n){const l=this.draw.getElementList()[e];if(l!=null&&l.controlId){c.initControl();return}}c.destroyControl()}replaceRange(e){this.setRange(e.startIndex,e.endIndex,e.tableId,e.startTdIndex,e.endTdIndex,e.startTrIndex,e.endTrIndex)}setRangeStyle(){var b;const e=this.listener.rangeStyleChange,n=this.eventBus.isSubscribe("rangeStyleChange");if(!e&&!n)return;const{startIndex:r,endIndex:i,isCrossRowCol:o}=this.range;if(!~r&&!~i)return;let a;if(o){const P=this.draw.getOriginalElementList(),U=this.position.getPositionContext();a=P[U.index]}else{const P=~i?i:0,U=this.draw.getElementList();a=Fs(U,P)}if(!a)return;const s=this.getSelection()||[a],c=a.type||fe.TEXT,u=a.font||this.options.defaultFont,l=a.size||this.options.defaultSize,h=!~s.findIndex(P=>!P.bold),d=!~s.findIndex(P=>!P.italic),f=!~s.findIndex(P=>{var U;return!P.underline&&!((U=P.control)!=null&&U.underline)}),p=!~s.findIndex(P=>!P.strikeout),g=a.color||null,y=a.highlight||null,R=a.rowFlex||null,m=a.rowMargin||this.options.defaultRowMargin,v=a.dashArray||[],x=a.level||null,O=a.listType||null,E=a.listStyle||null,N=f&&a.textDecoration||null,M=!!this.draw.getPainterStyle(),_=this.historyManager.isCanUndo(),B=this.historyManager.isCanRedo(),q=a.groupIds||null,T=(b=a.extension)!=null?b:null,I={type:c,undo:_,redo:B,painter:M,font:u,size:l,bold:h,italic:d,underline:f,strikeout:p,color:g,highlight:y,rowFlex:R,rowMargin:m,dashArray:v,level:x,listType:O,listStyle:E,groupIds:q,textDecoration:N,extension:T};e&&e(I),n&&this.eventBus.emit("rangeStyleChange",I)}recoveryRangeStyle(){const e=this.listener.rangeStyleChange,n=this.eventBus.isSubscribe("rangeStyleChange");if(!e&&!n)return;const r=this.options.defaultFont,i=this.options.defaultSize,o=this.options.defaultRowMargin,a=!!this.draw.getPainterStyle(),s=this.historyManager.isCanUndo(),c=this.historyManager.isCanRedo(),u={type:null,undo:s,redo:c,painter:a,font:r,size:i,bold:!1,italic:!1,underline:!1,strikeout:!1,color:null,highlight:null,rowFlex:null,rowMargin:o,dashArray:[],level:null,listType:null,listStyle:null,groupIds:null,textDecoration:null,extension:null};e&&e(u),n&&this.eventBus.emit("rangeStyleChange",u)}shrinkBoundary(e={}){const n=e.elementList||this.draw.getElementList(),r=e.range||this.getRange(),{startIndex:i,endIndex:o}=r;if(!~i&&!~o)return;const a=n[i],s=n[o];if(i===o){if(a.controlComponent===Se.PLACEHOLDER){let c=i-1;for(;c>0;){const u=n[c];if(u.controlId!==a.controlId||u.controlComponent===Se.PREFIX){r.startIndex=c,r.endIndex=c;break}c--}}}else{if(a.controlComponent===Se.PLACEHOLDER||s.controlComponent===Se.PLACEHOLDER){let c=o-1;for(;c>0;){const u=n[c];if(u.controlId!==s.controlId||u.controlComponent===Se.PREFIX){r.startIndex=c,r.endIndex=c;return}c--}}if(a.controlComponent===Se.PREFIX){let c=i+1;for(;c<n.length;){const u=n[c];if(u.controlId!==a.controlId||u.controlComponent===Se.VALUE){r.startIndex=c-1;break}else if(u.controlComponent===Se.PLACEHOLDER){r.startIndex=c-1,r.endIndex=c-1;return}c++}}if(s.controlComponent!==Se.VALUE){let c=i-1;for(;c>0;){const u=n[c];if(u.controlId!==a.controlId||u.controlComponent===Se.VALUE){r.startIndex=c;break}else if(u.controlComponent===Se.PLACEHOLDER){r.startIndex=c,r.endIndex=c;return}c--}}}}render(e,n,r,i,o){e.save(),e.globalAlpha=this.options.rangeAlpha,e.fillStyle=this.options.rangeColor,e.fillRect(n,r,i,o),e.restore()}toString(){const e=this.getTextLikeSelection();return e?e.map(n=>n.value).join("").replace(new RegExp(We,"g"),""):""}}var tf=(t=>(t.CONTAIN="contain",t.COVER="cover",t))(tf||{}),ro=(t=>(t.REPEAT="repeat",t.NO_REPEAT="no-repeat",t.REPEAT_X="repeat-x",t.REPEAT_Y="repeat-y",t))(ro||{});class Hw{constructor(e){this.draw=e,this.options=e.getOptions(),this.imageCache=new Map}_renderBackgroundColor(e,n,r,i){e.save(),e.fillStyle=n,e.fillRect(0,0,r,i),e.restore()}_drawImage(e,n,r,i){const{background:o,scale:a}=this.options;if(o.size===tf.CONTAIN){const s=n.width*a,c=n.height*a;if(!o.repeat||o.repeat===ro.NO_REPEAT)e.drawImage(n,0,0,s,c);else{let u=0,l=0;const h=o.repeat===ro.REPEAT||o.repeat===ro.REPEAT_X?Math.ceil(r*a/s):1,d=o.repeat===ro.REPEAT||o.repeat===ro.REPEAT_Y?Math.ceil(i*a/c):1;for(let f=0;f<h;f++){for(let p=0;p<d;p++)e.drawImage(n,u,l,s,c),l+=c;l=0,u+=s}}}else e.drawImage(n,0,0,r*a,i*a)}_renderBackgroundImage(e,n,r){const{background:i}=this.options,o=this.imageCache.get(i.image);if(o)this._drawImage(e,o,n,r);else{const a=new Image;a.setAttribute("crossOrigin","Anonymous"),a.src=i.image,a.onload=()=>{this.imageCache.set(i.image,a),this._drawImage(e,a,n,r),this.draw.render({isCompute:!1,isSubmitHistory:!1})}}}render(e,n){const{background:r}=this.options;if(r.image){const{width:i,height:o}=this.options;this._renderBackgroundImage(e,i,o)}else{const i=this.draw.getCanvasWidth(n),o=this.draw.getCanvasHeight(n);this._renderBackgroundColor(e,r.color,i,o)}}}class nf{constructor(){this.fillRect=this.clearFillInfo()}clearFillInfo(){return this.fillColor=void 0,this.fillDecorationStyle=void 0,this.fillRect={x:0,y:0,width:0,height:0},this.fillRect}recordFillInfo(e,n,r,i,o,a,s){const c=!this.fillRect.width;if(!c&&(this.fillColor!==a||this.fillDecorationStyle!==s)){this.render(e),this.clearFillInfo(),this.recordFillInfo(e,n,r,i,o,a,s);return}c&&(this.fillRect.x=n,this.fillRect.y=r),o&&this.fillRect.height<o&&(this.fillRect.height=o),this.fillRect.width+=i,this.fillColor=a,this.fillDecorationStyle=s}}class Gw extends nf{constructor(e){super(),this.options=e.getOptions()}render(e){if(!this.fillRect.width)return;const{highlightAlpha:n}=this.options,{x:r,y:i,width:o,height:a}=this.fillRect;e.save(),e.globalAlpha=n,e.fillStyle=this.fillColor,e.fillRect(r,i,o,a),e.restore(),this.clearFillInfo()}}class Jw{constructor(e){this.draw=e,this.options=e.getOptions()}render(e,n){const{marginIndicatorColor:r,pageMode:i}=this.options,o=this.draw.getWidth(),a=i===Pi.CONTINUITY?this.draw.getCanvasHeight(n):this.draw.getHeight(),s=this.draw.getMargins(),c=this.draw.getMarginIndicatorSize();e.save(),e.translate(.5,.5),e.strokeStyle=r,e.beginPath();const u=[s[3],s[0]],l=[o-s[1],s[0]],h=[s[3],a-s[2]],d=[o-s[1],a-s[2]];e.moveTo(u[0]-c,u[1]),e.lineTo(...u),e.lineTo(u[0],u[1]-c),e.moveTo(l[0]+c,l[1]),e.lineTo(...l),e.lineTo(l[0],l[1]-c),e.moveTo(h[0]-c,h[1]),e.lineTo(...h),e.lineTo(h[0],h[1]+c),e.moveTo(d[0]+c,d[1]),e.lineTo(...d),e.lineTo(d[0],d[1]+c),e.stroke(),e.restore()}}class zw{constructor(e){this.draw=e,this.options=e.getOptions(),this.position=e.getPosition(),this.searchNavigateIndex=null,this.searchKeyword=null,this.searchMatchList=[]}getSearchKeyword(){return this.searchKeyword}setSearchKeyword(e){this.searchKeyword=e,this.searchNavigateIndex=null}searchNavigatePre(){if(!this.searchMatchList.length||!this.searchKeyword)return null;if(this.searchNavigateIndex===null)this.searchNavigateIndex=0;else{let e=this.searchNavigateIndex-1,n=!1;const r=this.searchMatchList[this.searchNavigateIndex].groupId;for(;e>=0;){const i=this.searchMatchList[e];if(r!==i.groupId){n=!0,this.searchNavigateIndex=e-(this.searchKeyword.length-1);break}e--}if(!n){if(this.searchMatchList[this.searchMatchList.length-1].groupId===r)return null;this.searchNavigateIndex=this.searchMatchList.length-1-(this.searchKeyword.length-1)}}return this.searchNavigateIndex}searchNavigateNext(){if(!this.searchMatchList.length||!this.searchKeyword)return null;if(this.searchNavigateIndex===null)this.searchNavigateIndex=0;else{let e=this.searchNavigateIndex+1,n=!1;const r=this.searchMatchList[this.searchNavigateIndex].groupId;for(;e<this.searchMatchList.length;){const i=this.searchMatchList[e];if(r!==i.groupId){n=!0,this.searchNavigateIndex=e;break}e++}if(!n){if(this.searchMatchList[0].groupId===r)return null;this.searchNavigateIndex=0}}return this.searchNavigateIndex}searchNavigateScrollIntoView(e){const{coordinate:{leftTop:n,leftBottom:r,rightTop:i},pageNo:o}=e,a=this.draw.getHeight(),s=this.draw.getPageGap(),c=o*(a+s),u=document.createElement("div");u.style.position="absolute";const l=50;u.style.width=`${i[0]-n[0]+l}px`,u.style.height=`${r[1]-n[1]+l}px`,u.style.left=`${n[0]}px`,u.style.top=`${n[1]+c}px`,this.draw.getContainer().append(u),u.scrollIntoView(!1),u.remove()}getSearchNavigateIndexList(){return this.searchNavigateIndex===null||!this.searchKeyword?[]:new Array(this.searchKeyword.length).fill(this.searchNavigateIndex).map((e,n)=>e+n)}getSearchMatchList(){return this.searchMatchList}getSearchNavigateInfo(){if(!this.searchKeyword||!this.searchMatchList.length)return null;const e=this.searchNavigateIndex!==null?this.searchNavigateIndex/this.searchKeyword.length+1:0;let n=0,r=null;for(let i=0;i<this.searchMatchList.length;i++){const o=this.searchMatchList[i];r!==o.groupId&&(r=o.groupId,n+=1)}return{index:e,count:n}}getMatchList(e,n){const r=e.toLocaleLowerCase(),i=[],o=[],a=n.length,s=[];for(let h=0;h<a;h++)n[h].type===fe.TABLE&&s.push(h);let c=0,u=0;for(;u<a-1;){const h=s.length?s[c]:a,d=n.slice(u,h);d.length&&o.push({index:u,type:Fi.PAGE,elementList:d});const f=n[h];f&&o.push({index:h,type:Fi.TABLE,elementList:[f]}),u=h+1,c++}function l(h,d,f,p){if(!h)return;const g=f.map(m=>!m.type||Nr.includes(m.type)&&m.controlComponent!==Se.CHECKBOX?m.value:We).filter(Boolean).join("").toLocaleLowerCase(),y=[];let R=g.indexOf(h);for(;R!==-1;)y.push(R),R=g.indexOf(h,R+h.length);for(let m=0;m<y.length;m++){const v=y[m],x=vt();for(let O=0;O<h.length;O++){const E=v+O+((p==null?void 0:p.startIndex)||0);i.push({type:d,index:E,groupId:x,...p})}}}for(let h=0;h<o.length;h++){const d=o[h];if(d.type===Fi.TABLE){const f=d.elementList[0];for(let p=0;p<f.trList.length;p++){const g=f.trList[p];for(let y=0;y<g.tdList.length;y++){const R=g.tdList[y],m={tableId:f.id,tableIndex:d.index,trIndex:p,tdIndex:y,tdId:R.id};l(r,d.type,R.value,m)}}}else l(r,d.type,d.elementList,{startIndex:d.index})}return i}compute(e){this.searchMatchList=this.getMatchList(e,this.draw.getOriginalElementList())}render(e,n){var c,u;if(!this.searchMatchList||!this.searchMatchList.length||!this.searchKeyword)return;const{searchMatchAlpha:r,searchMatchColor:i,searchNavigateMatchColor:o}=this.options,a=this.position.getOriginalPositionList(),s=this.draw.getOriginalElementList();e.save(),e.globalAlpha=r;for(let l=0;l<this.searchMatchList.length;l++){const h=this.searchMatchList[l];let d=null;if(h.type===Fi.TABLE){const{tableIndex:E,trIndex:N,tdIndex:M,index:_}=h;d=(u=(c=s[E])==null?void 0:c.trList[N].tdList[M])==null?void 0:u.positionList[_]}else d=a[h.index];if(!d)continue;const{coordinate:{leftTop:f,leftBottom:p,rightTop:g},pageNo:y}=d;if(y!==n)continue;if(this.getSearchNavigateIndexList().includes(l)){e.fillStyle=o;const E=this.searchMatchList[l-1];(!E||E.groupId!==h.groupId)&&this.searchNavigateScrollIntoView(d)}else e.fillStyle=i;const m=f[0],v=f[1],x=g[0]-f[0],O=p[1]-f[1];e.fillRect(m,v,x,O)}e.restore()}}class $w extends nf{constructor(e){super(),this.options=e.getOptions()}render(e){if(!this.fillRect.width)return;const{scale:n,strikeoutColor:r}=this.options,{x:i,y:o,width:a}=this.fillRect;e.save(),e.lineWidth=n,e.strokeStyle=r;const s=o+.5;e.beginPath(),e.moveTo(i,s),e.lineTo(i+a,s),e.stroke(),e.restore(),this.clearFillInfo()}}var as=(t=>(t.SOLID="solid",t.DOUBLE="double",t.DASHED="dashed",t.DOTTED="dotted",t.WAVY="wavy",t))(as||{}),ss=(t=>(t.SOLID="solid",t.DASHED="dashed",t.DOTTED="dotted",t))(ss||{});class jw extends nf{constructor(e){super(),this.options=e.getOptions()}_drawLine(e,n,r,i,o){const a=n+i;switch(e.beginPath(),o){case ss.DASHED:e.setLineDash([3,1]);break;case ss.DOTTED:e.setLineDash([1,1]);break}e.moveTo(n,r),e.lineTo(a,r),e.stroke()}_drawDouble(e,n,r,i){const a=n+i,s=r+3*this.options.scale;e.beginPath(),e.moveTo(n,r),e.lineTo(a,r),e.stroke(),e.beginPath(),e.moveTo(n,s),e.lineTo(a,s),e.stroke()}_drawWave(e,n,r,i){const{scale:o}=this.options,a=1.2*o,s=1/o,c=r+2*a;e.beginPath();for(let u=0;u<i;u++){const l=a*Math.sin(s*u);e.lineTo(n+u,c+l)}e.stroke()}render(e){if(!this.fillRect.width)return;const{underlineColor:n,scale:r}=this.options,{x:i,y:o,width:a}=this.fillRect;e.save(),e.strokeStyle=this.fillColor||n,e.lineWidth=r;const s=Math.floor(o+2*e.lineWidth)+.5;switch(this.fillDecorationStyle){case as.WAVY:this._drawWave(e,i,s,a);break;case as.DOUBLE:this._drawDouble(e,i,s,a);break;case as.DASHED:this._drawLine(e,i,s,a,ss.DASHED);break;case as.DOTTED:this._drawLine(e,i,s,a,ss.DOTTED);break;default:this._drawLine(e,i,s,a);break}e.restore(),this.clearFillInfo()}}class qw{constructor(e){this.draw=e,this.options=e.getOptions(),this.ctx=e.getCtx(),this.curX=-1,this.curY=-1,this.text="",this.curStyle="",this.cacheMeasureText=new Map}measureBasisWord(e,n){e.save(),e.font=n;const r=this.measureText(e,{value:Tx});return e.restore(),r}measureWord(e,n,r){const i=this.draw.getLetterReg();let o=0,a=n[r],s=r;for(;s<n.length;){const c=n[s];if(c.type&&c.type!==fe.TEXT||!i.test(c.value)){a=c;break}o+=this.measureText(e,c).width,s++}return{width:o,endElement:a}}measurePunctuationWidth(e,n){return!n||!xx.includes(n.value)?0:this.measureText(e,n).width}measureText(e,n){if(n.width){const a=e.measureText(n.value);return{width:n.width,actualBoundingBoxAscent:a.actualBoundingBoxAscent,actualBoundingBoxDescent:a.actualBoundingBoxDescent,actualBoundingBoxLeft:a.actualBoundingBoxLeft,actualBoundingBoxRight:a.actualBoundingBoxRight,fontBoundingBoxAscent:a.fontBoundingBoxAscent,fontBoundingBoxDescent:a.fontBoundingBoxDescent}}const r=`${n.value}${e.font}`,i=this.cacheMeasureText.get(r);if(i)return i;const o=e.measureText(n.value);return this.cacheMeasureText.set(r,o),o}complete(){this._render(),this.text=""}record(e,n,r,i){this.ctx=e,this.text||this._setCurXY(r,i),(this.curStyle&&n.style!==this.curStyle||n.color!==this.curColor)&&(this.complete(),this._setCurXY(r,i)),this.text+=n.value,this.curStyle=n.style,this.curColor=n.color}_setCurXY(e,n){this.curX=e,this.curY=n}_render(){!this.text||!~this.curX||!~this.curX||(this.ctx.save(),this.ctx.font=this.curStyle,this.ctx.fillStyle=this.curColor||this.options.defaultColor,this.ctx.fillText(this.text,this.curX,this.curY),this.ctx.restore())}}const ld={PAGE_NO:"{pageNo}",PAGE_COUNT:"{pageCount}"},eT={bottom:60,size:12,font:"Microsoft YaHei",color:"#000000",rowFlex:at.CENTER,format:ld.PAGE_NO,numberType:ou.ARABIC,disabled:!1,startPageNo:1,fromPageNo:0,maxPageNo:null};class tT{constructor(e){this.draw=e,this.options=e.getOptions()}render(e,n){const{scale:r,pageMode:i,pageNumber:{size:o,font:a,color:s,rowFlex:c,numberType:u,format:l,startPageNo:h,fromPageNo:d}}=this.options;if(n<d)return;let f=l;const p=new RegExp(ld.PAGE_NO);if(p.test(f)){const N=n+h-d,M=u===ou.CHINESE?D1(N):`${N}`;f=f.replace(p,M)}const g=new RegExp(ld.PAGE_COUNT);if(g.test(f)){const N=this.draw.getPageCount()-d,M=u===ou.CHINESE?D1(N):`${N}`;f=f.replace(g,M)}const y=this.draw.getWidth(),R=i===Pi.CONTINUITY?this.draw.getCanvasHeight(n):this.draw.getHeight(),m=this.draw.getPageNumberBottom(),v=R-m;e.save(),e.fillStyle=s,e.font=`${o*r}px ${a}`;let x=0;const O=this.draw.getMargins(),{width:E}=e.measureText(f);c===at.CENTER?x=(y-E)/2:c===at.RIGHT?x=y-E-O[1]:x=O[3],e.fillText(f,x,v),e.restore()}}class nT{constructor(e){this._observer=Bm(()=>{const{intersectionPageNo:n,visiblePageNoList:r}=this.getPageVisibleInfo();this.draw.setIntersectionPageNo(n),this.draw.setVisiblePageNoList(r)},150),this.draw=e,this.options=e.getOptions(),this.scrollContainer=this.getScrollContainer(),setTimeout(()=>{window.scrollY||this._observer()}),this._addEvent()}getScrollContainer(){return this.options.scrollContainerSelector&&document.querySelector(this.options.scrollContainerSelector)||document}_addEvent(){this.scrollContainer.addEventListener("scroll",this._observer)}removeEvent(){this.scrollContainer.removeEventListener("scroll",this._observer)}getElementVisibleInfo(e){const n=e.getBoundingClientRect(),r=this.scrollContainer===document?Math.max(document.documentElement.clientHeight,window.innerHeight):this.scrollContainer.clientHeight,i=Math.min(n.bottom,r)-Math.max(n.top,0);return{intersectionHeight:i>0?i:0}}getPageVisibleInfo(){const e=this.draw.getPageList(),n=[];let r=0,i=0;for(let o=0;o<e.length;o++){const a=e[o],{intersectionHeight:s}=this.getElementVisibleInfo(a);if(i&&!s)break;s&&n.push(o),s>i&&(i=s,r=o)}return{intersectionPageNo:r,visiblePageNoList:n}}}class rT{constructor(e){this.step=5,this.thresholdPoints=[70,40,10,20],this._mousedown=()=>{this.isMousedown=!0},this._mouseup=()=>{this.isMousedown=!1,this._stopMove()},this._mousemove=n=>{if(!this.isMousedown||this.rangeManager.getIsCollapsed())return;const{x:r,y:i}=n,o=document.documentElement.clientWidth,a=document.documentElement.clientHeight;i<this.thresholdPoints[0]?this._startMove(bn.UP):a-i<=this.thresholdPoints[1]?this._startMove(bn.DOWN):r<this.thresholdPoints[2]?this._startMove(bn.LEFT):o-r<this.thresholdPoints[3]?this._startMove(bn.RIGHT):this._stopMove()},this.requestAnimationFrameId=null,this.isMousedown=!1,this.isMoving=!1,this.rangeManager=e.getRange(),this._addEvent()}_addEvent(){document.addEventListener("mousedown",this._mousedown),document.addEventListener("mousemove",this._mousemove),document.addEventListener("mouseup",this._mouseup)}removeEvent(){document.removeEventListener("mousedown",this._mousedown),document.removeEventListener("mousemove",this._mousemove),document.removeEventListener("mouseup",this._mouseup)}_move(e){const n=window.scrollX,r=window.scrollY;e===bn.DOWN?window.scrollTo(n,r+this.step):e===bn.UP?window.scrollTo(n,r-this.step):e===bn.LEFT?window.scrollTo(n-this.step,r):window.scrollTo(n+this.step,r),this.requestAnimationFrameId=window.requestAnimationFrame(this._move.bind(this,e))}_startMove(e){this.isMoving||(this.isMoving=!0,this._move(e))}_stopMove(){this.requestAnimationFrameId&&(window.cancelAnimationFrame(this.requestAnimationFrameId),this.requestAnimationFrameId=null,this.isMoving=!1)}}var Kr=(t=>(t.ALL="all",t.EMPTY="empty",t.EXTERNAL="external",t))(Kr||{}),ur=(t=>(t.TOP="top",t.RIGHT="right",t.BOTTOM="bottom",t.LEFT="left",t))(ur||{}),bs=(t=>(t.FORWARD="forward",t.BACK="back",t))(bs||{});class iT{constructor(e){this.draw=e,this.range=e.getRange(),this.options=e.getOptions()}getTrListGroupByCol(e){var r;const n=Ft(e);for(let i=0;i<e.length;i++){const o=n[i];for(let a=o.tdList.length-1;a>=0;a--){const s=o.tdList[a],{rowspan:c,rowIndex:u,colIndex:l}=s,h=u+c-1;if(h!==a){const d=o.tdList.splice(a,1)[0];(r=n[h])==null||r.tdList.splice(l,0,d)}}}return n}getRangeRowCol(){const{isTable:e,index:n,trIndex:r,tdIndex:i}=this.draw.getPosition().getPositionContext();if(!e)return null;const{isCrossRowCol:o,startTdIndex:a,endTdIndex:s,startTrIndex:c,endTrIndex:u}=this.range.getRange(),d=this.draw.getOriginalElementList()[n].trList;if(!o)return[[d[r].tdList[i]]];let f=d[c].tdList[a],p=d[u].tdList[s];(f.x>p.x||f.y>p.y)&&([f,p]=[p,f]);const g=f.colIndex,y=p.colIndex+(p.colspan-1),R=f.rowIndex,m=p.rowIndex+(p.rowspan-1),v=[];for(let x=0;x<d.length;x++){const O=d[x],E=[];for(let N=0;N<O.tdList.length;N++){const M=O.tdList[N],_=M.colIndex,B=M.rowIndex;_>=g&&_<=y&&B>=R&&B<=m&&E.push(M)}E.length&&v.push(E)}return v.length?v:null}_drawOuterBorder(e){const{ctx:n,startX:r,startY:i,width:o,height:a,isDrawFullBorder:s}=e;n.beginPath();const c=Math.round(r),u=Math.round(i);n.translate(.5,.5),s?n.rect(c,u,o,a):(n.moveTo(c,u+a),n.lineTo(c,u),n.lineTo(c+o,u)),n.stroke(),n.translate(-.5,-.5)}_drawSlash(e,n,r,i){var l,h;const{scale:o}=this.options;e.save();const a=n.width*o,s=n.height*o,c=Math.round(n.x*o+r),u=Math.round(n.y*o+i);(l=n.slashTypes)!=null&&l.includes(bs.FORWARD)&&(e.moveTo(c+a,u),e.lineTo(c,u+s)),(h=n.slashTypes)!=null&&h.includes(bs.BACK)&&(e.moveTo(c,u),e.lineTo(c+a,u+s)),e.stroke(),e.restore()}_drawBorder(e,n,r,i){var f,p,g,y,R,m;const{colgroup:o,trList:a,borderType:s}=n;if(!o||!a)return;const{scale:c}=this.options,u=n.width*c,l=n.height*c,h=s===Kr.EMPTY,d=s===Kr.EXTERNAL;e.save(),e.lineWidth=c,h||this._drawOuterBorder({ctx:e,startX:r,startY:i,width:u,height:l,isDrawFullBorder:d});for(let v=0;v<a.length;v++){const x=a[v];for(let O=0;O<x.tdList.length;O++){const E=x.tdList[O];if((f=E.slashTypes)!=null&&f.length&&this._drawSlash(e,E,r,i),!((p=E.borderTypes)!=null&&p.length)&&(h||d))continue;const N=E.width*c,M=E.height*c,_=Math.round(E.x*c+r+N),B=Math.round(E.y*c+i);e.translate(.5,.5),e.beginPath(),(g=E.borderTypes)!=null&&g.includes(ur.TOP)&&(e.moveTo(_-N,B),e.lineTo(_,B),e.stroke()),(y=E.borderTypes)!=null&&y.includes(ur.RIGHT)&&(e.moveTo(_,B),e.lineTo(_,B+M),e.stroke()),(R=E.borderTypes)!=null&&R.includes(ur.BOTTOM)&&(e.moveTo(_,B+M),e.lineTo(_-N,B+M),e.stroke()),(m=E.borderTypes)!=null&&m.includes(ur.LEFT)&&(e.moveTo(_-N,B),e.lineTo(_-N,B+M),e.stroke()),!h&&!d&&(e.moveTo(_,B),e.lineTo(_,B+M),e.lineTo(_-N,B+M),e.stroke()),e.translate(-.5,-.5)}}e.restore()}_drawBackgroundColor(e,n,r,i){const{trList:o}=n;if(!o)return;const{scale:a}=this.options;for(let s=0;s<o.length;s++){const c=o[s];for(let u=0;u<c.tdList.length;u++){const l=c.tdList[u];if(!l.backgroundColor)continue;e.save();const h=l.width*a,d=l.height*a,f=Math.round(l.x*a+r),p=Math.round(l.y*a+i);e.fillStyle=l.backgroundColor,e.fillRect(f,p,h,d),e.restore()}}}getTableWidth(e){return e.colgroup.reduce((n,r)=>n+r.width,0)}getTableHeight(e){const n=e.trList;return n!=null&&n.length?this.getTdListByColIndex(n,0).reduce((r,i)=>r+i.height,0):0}getRowCountByColIndex(e,n){return this.getTdListByColIndex(e,n).reduce((r,i)=>r+i.rowspan,0)}getTdListByColIndex(e,n){const r=[];for(let i=0;i<e.length;i++){const o=e[i].tdList;for(let a=0;a<o.length;a++){const s=o[a],c=s.colIndex,u=c+s.colspan-1;n>=c&&n<=u&&r.push(s)}}return r}computeRowColInfo(e){const{colgroup:n,trList:r}=e;if(!n||!r)return;let i=0,o=0;for(let a=0;a<r.length;a++){const s=r[a],c=r.length-1===a;let u=0;for(let l=0;l<s.tdList.length;l++){const h=s.tdList[l];let d=0;if(r.length>1&&a!==0){const m=s.tdList[l-1],v=m?m.colIndex+m.colspan:l;for(let x=v;x<n.length;x++)if(this.getRowCountByColIndex(r.slice(0,a),x)===a){d=x;let E=0;for(let N=0;N<x;N++)E+=n[N].width;i=E;break}}else{const m=s.tdList[l-1];m&&(d=m.colIndex+m.colspan)}let f=0;for(let m=0;m<h.colspan;m++)f+=n[m+d].width;let p=0;for(let m=0;m<h.rowspan;m++)p+=(r[m+a]||r[a]).height;(u===0||u>p)&&(u=p);const g=s.tdList.length-1===l;let y=c;if(!y&&h.rowspan>1){const m=r.length-1-a;y=h.rowspan-1===m}const R=c&&g;h.isLastRowTd=g,h.isLastColTd=y,h.isLastTd=R,h.x=i,h.y=o,h.width=f,h.height=p,h.rowIndex=a,h.colIndex=d,i+=f,g&&!R&&(i=0,o+=u)}}}drawRange(e,n,r,i){const{scale:o,rangeAlpha:a,rangeColor:s}=this.options,{type:c,trList:u}=n;if(!u||c!==fe.TABLE)return;const{isCrossRowCol:l,startTdIndex:h,endTdIndex:d,startTrIndex:f,endTrIndex:p}=this.range.getRange();if(!l)return;let g=u[f].tdList[h],y=u[p].tdList[d];(g.x>y.x||g.y>y.y)&&([g,y]=[y,g]);const R=g.colIndex,m=y.colIndex+(y.colspan-1),v=g.rowIndex,x=y.rowIndex+(y.rowspan-1);e.save();for(let O=0;O<u.length;O++){const E=u[O];for(let N=0;N<E.tdList.length;N++){const M=E.tdList[N],_=M.colIndex,B=M.rowIndex;if(_>=R&&_<=m&&B>=v&&B<=x){const q=M.x*o,T=M.y*o,I=M.width*o,b=M.height*o;e.globalAlpha=a,e.fillStyle=s,e.fillRect(q+r,T+i,I,b)}}}e.restore()}render(e,n,r,i){this._drawBackgroundColor(e,n,r,i),this._drawBorder(e,n,r,i)}}var Ei=(t=>(t.ROW="row",t.COL="col",t))(Ei||{});class oT{constructor(e){this.MIN_TD_WIDTH=20,this.ROW_COL_OFFSET=18,this.BORDER_VALUE=4,this.draw=e,this.canvas=e.getPage(),this.options=e.getOptions(),this.position=e.getPosition(),this.container=e.getContainer(),this.toolRowContainer=null,this.toolColContainer=null,this.toolBorderContainer=null,this.anchorLine=null,this.mousedownX=0,this.mousedownY=0}dispose(){var e,n,r;(e=this.toolRowContainer)==null||e.remove(),(n=this.toolColContainer)==null||n.remove(),(r=this.toolBorderContainer)==null||r.remove(),this.toolRowContainer=null,this.toolColContainer=null,this.toolBorderContainer=null}render(){const{isTable:e,index:n,trIndex:r,tdIndex:i}=this.position.getPositionContext();if(!e)return;this.dispose();const{scale:o}=this.options,a=this.draw.getOriginalElementList(),s=this.position.getOriginalPositionList(),c=a[n],u=s[n],{colgroup:l,trList:h}=c,{coordinate:{leftTop:d}}=u,f=this.draw.getHeight(),p=this.draw.getPageGap(),g=this.draw.getPageNo()*(f+p),y=d[0],R=d[1]+g,m=c.trList[r].tdList[i],v=m.rowIndex,x=m.colIndex,O=h.map(T=>T.height),E=document.createElement("div");E.classList.add(`${ke}-table-tool__row`),E.style.transform=`translateX(-${this.ROW_COL_OFFSET*o}px)`;for(let T=0;T<O.length;T++){const I=O[T]*o,b=document.createElement("div");b.classList.add(`${ke}-table-tool__row__item`),T===v&&b.classList.add("active");const P=document.createElement("div");P.classList.add(`${ke}-table-tool__anchor`),P.onmousedown=U=>{this._mousedown({evt:U,element:c,index:T,order:Ei.ROW})},b.append(P),b.style.height=`${I}px`,E.append(b)}E.style.left=`${y}px`,E.style.top=`${R}px`,this.container.append(E),this.toolRowContainer=E;const N=l.map(T=>T.width),M=document.createElement("div");M.classList.add(`${ke}-table-tool__col`),M.style.transform=`translateY(-${this.ROW_COL_OFFSET*o}px)`;for(let T=0;T<N.length;T++){const I=N[T]*o,b=document.createElement("div");b.classList.add(`${ke}-table-tool__col__item`),T===x&&b.classList.add("active");const P=document.createElement("div");P.classList.add(`${ke}-table-tool__anchor`),P.onmousedown=U=>{this._mousedown({evt:U,element:c,index:T,order:Ei.COL})},b.append(P),b.style.width=`${I}px`,M.append(b)}M.style.left=`${y}px`,M.style.top=`${R}px`,this.container.append(M),this.toolColContainer=M;const _=c.height*o,B=c.width*o,q=document.createElement("div");q.classList.add(`${ke}-table-tool__border`),q.style.height=`${_}px`,q.style.width=`${B}px`,q.style.left=`${y}px`,q.style.top=`${R}px`;for(let T=0;T<h.length;T++){const I=h[T];for(let b=0;b<I.tdList.length;b++){const P=I.tdList[b],U=document.createElement("div");U.classList.add(`${ke}-table-tool__border__row`),U.style.width=`${P.width*o}px`,U.style.height=`${this.BORDER_VALUE}px`,U.style.top=`${(P.y+P.height)*o-this.BORDER_VALUE/2}px`,U.style.left=`${P.x*o}px`,U.onmousedown=V=>{this._mousedown({evt:V,element:c,index:P.rowIndex+P.rowspan-1,order:Ei.ROW})},q.appendChild(U);const X=document.createElement("div");X.classList.add(`${ke}-table-tool__border__col`),X.style.width=`${this.BORDER_VALUE}px`,X.style.height=`${P.height*o}px`,X.style.top=`${P.y*o}px`,X.style.left=`${(P.x+P.width)*o-this.BORDER_VALUE/2}px`,X.onmousedown=V=>{this._mousedown({evt:V,element:c,index:P.colIndex+P.colspan-1,order:Ei.COL})},q.appendChild(X)}}this.container.append(q),this.toolBorderContainer=q}_mousedown(e){const{evt:n,index:r,order:i,element:o}=e;this.canvas=this.draw.getPage();const{scale:a}=this.options,s=this.draw.getWidth(),c=this.draw.getHeight(),u=this.draw.getPageGap(),l=this.draw.getPageNo()*(c+u);this.mousedownX=n.x,this.mousedownY=n.y;const h=n.target,d=this.canvas.getBoundingClientRect(),f=window.getComputedStyle(h).cursor;document.body.style.cursor=f,this.canvas.style.cursor=f;let p=0,g=0;const y=document.createElement("div");y.classList.add(`${ke}-table-anchor__line`),i===Ei.ROW?(y.classList.add(`${ke}-table-anchor__line__row`),y.style.width=`${s}px`,p=0,g=l+this.mousedownY-d.top):(y.classList.add(`${ke}-table-anchor__line__col`),y.style.height=`${c}px`,p=this.mousedownX-d.left,g=l),y.style.left=`${p}px`,y.style.top=`${g}px`,this.container.append(y),this.anchorLine=y;let R=0,m=0;const v=x=>{const O=this._mousemove(x,i,p,g);O&&(R=O.dx,m=O.dy)};document.addEventListener("mousemove",v),document.addEventListener("mouseup",()=>{var O;let x=!1;if(i===Ei.ROW){const E=o.trList,N=E[r]||E[r-1],{defaultTrMinHeight:M}=this.options.table;m<0&&N.height+m<M&&(m=M-N.height),m&&(N.height+=m,N.minHeight=N.height,x=!0)}else{const{colgroup:E}=o;if(E&&R){const N=this.draw.getInnerWidth(),M=E[r].width;R<0&&M+R<this.MIN_TD_WIDTH&&(R=this.MIN_TD_WIDTH-M);const _=(O=E[r+1])==null?void 0:O.width;R>0&&_&&_-R<this.MIN_TD_WIDTH&&(R=_-this.MIN_TD_WIDTH);const B=M+R;if(r===E.length-1){let q=0;for(let T=0;T<E.length;T++){const I=E[T];T===r+1&&(q-=R),T===r&&(q+=B),T!==r&&(q+=I.width)}if(q>N){const T=o.width;R=N-T}}R&&(E.length-1!==r&&(E[r+1].width-=R/a),E[r].width+=R/a,x=!0)}}x&&this.draw.render({isSetCursor:!1}),y.remove(),document.removeEventListener("mousemove",v),document.body.style.cursor="",this.canvas.style.cursor="text"},{once:!0}),n.preventDefault()}_mousemove(e,n,r,i){if(!this.anchorLine)return null;const o=e.x-this.mousedownX,a=e.y-this.mousedownY;return n===Ei.ROW?this.anchorLine.style.top=`${i+a}px`:this.anchorLine.style.left=`${r+o}px`,e.preventDefault(),{dx:o,dy:a}}}class aT{constructor(e){this.draw=e,this.options=e.getOptions(),this.container=e.getContainer();const{hyperlinkPopupContainer:n,hyperlinkDom:r}=this._createHyperlinkPopupDom();this.hyperlinkDom=r,this.hyperlinkPopupContainer=n}_createHyperlinkPopupDom(){const e=document.createElement("div");e.classList.add(`${ke}-hyperlink-popup`);const n=document.createElement("a");return n.target="_blank",n.rel="noopener",e.append(n),this.container.append(e),{hyperlinkPopupContainer:e,hyperlinkDom:n}}drawHyperlinkPopup(e,n){const{coordinate:{leftTop:[r,i]},lineHeight:o}=n,a=this.draw.getHeight(),s=this.draw.getPageGap(),c=this.draw.getPageNo()*(a+s);this.hyperlinkPopupContainer.style.display="block",this.hyperlinkPopupContainer.style.left=`${r}px`,this.hyperlinkPopupContainer.style.top=`${i+c+o}px`;const u=e.url||"#";this.hyperlinkDom.href=u,this.hyperlinkDom.title=u,this.hyperlinkDom.innerText=u}clearHyperlinkPopup(){this.hyperlinkPopupContainer.style.display="none"}openHyperlink(e){const n=window.open(e.url,"_blank");n&&(n.opener=null)}render(e,n,r,i){e.save(),e.font=n.style,n.color||(n.color=this.options.defaultHyperlinkColor),e.fillStyle=n.color,n.underline===void 0&&(n.underline=!0),e.fillText(n.value,r,i),e.restore()}}class sT{constructor(e,n){this.draw=e,this.position=e.getPosition(),this.options=e.getOptions(),this.elementList=n||[],this.rowList=[],this.positionList=[]}getRowList(){return this.rowList}setElementList(e){this.elementList=e}getElementList(){return this.elementList}getPositionList(){return this.positionList}compute(){this.recovery(),this._computeRowList(),this._computePositionList()}recovery(){this.rowList=[],this.positionList=[]}_computeRowList(){const e=this.draw.getInnerWidth();this.rowList=this.draw.computeRowList({innerWidth:e,elementList:this.elementList})}_computePositionList(){const e=this.getHeaderTop(),n=this.draw.getInnerWidth(),i=this.draw.getMargins()[3],o=e;this.position.computePageRowPosition({positionList:this.positionList,rowList:this.rowList,pageNo:0,startRowIndex:0,startIndex:0,startX:i,startY:o,innerWidth:n,zone:it.HEADER})}getHeaderTop(){const{header:{top:e,disabled:n},scale:r}=this.options;return n?0:Math.floor(e*r)}getMaxHeight(){const{header:{maxHeightRadio:e}}=this.options,n=this.draw.getHeight();return Math.floor(n*Vm[e])}getHeight(){const e=this.getMaxHeight(),n=this.getRowHeight();return n>e?e:n}getRowHeight(){return this.rowList.reduce((e,n)=>e+n.height,0)}getExtraHeight(){const e=this.draw.getMargins(),n=this.getHeight(),i=this.getHeaderTop()+n-e[0];return i<=0?0:i}render(e,n){e.globalAlpha=1;const r=this.draw.getInnerWidth(),i=this.getMaxHeight(),o=[];let a=0;for(let s=0;s<this.rowList.length;s++){const c=this.rowList[s];if(a+c.height>i)break;o.push(c),a+=c.height}this.draw.drawRow(e,{elementList:this.elementList,positionList:this.positionList,rowList:o,pageNo:n,startIndex:0,innerWidth:r,zone:it.HEADER})}}class cT{getOffsetY(e){return-e.metrics.height/2}render(e,n,r,i){e.save(),e.font=n.style,n.color&&(e.fillStyle=n.color),e.fillText(n.value,r,i+this.getOffsetY(n)),e.restore()}}class uT{getOffsetY(e){return e.metrics.height/2}render(e,n,r,i){e.save(),e.font=n.style,n.color&&(e.fillStyle=n.color),e.fillText(n.value,r,i+this.getOffsetY(n)),e.restore()}}class lT{constructor(e){this.options=e.getOptions()}render(e,n,r,i){var u;e.save();const{scale:o,separator:{lineWidth:a,strokeStyle:s}}=this.options;e.lineWidth=a*o,e.strokeStyle=n.color||s,(u=n.dashArray)!=null&&u.length&&e.setLineDash(n.dashArray);const c=Math.round(i);e.translate(0,e.lineWidth/2),e.beginPath(),e.moveTo(r,c),e.lineTo(r+n.width*o,c),e.stroke(),e.restore()}}class hT{constructor(e){this.draw=e,this.options=e.getOptions(),this.i18n=e.getI18n()}render(e,n,r,i){const{pageBreak:{font:o,fontSize:a,lineDash:s}}=this.options,c=this.i18n.t("pageBreak.displayName"),{scale:u,defaultRowMargin:l}=this.options,h=a*u,d=n.width*u,f=this.draw.getDefaultBasicRowMarginHeight()*l;e.save(),e.font=`${h}px ${o}`;const p=e.measureText(c),g=(d-p.width)/2;e.setLineDash(s),e.translate(0,.5+f),e.beginPath(),e.moveTo(r,i),e.lineTo(r+g,i),e.moveTo(r+g+p.width,i),e.lineTo(r+d,i),e.stroke(),e.fillText(c,r+g,i+p.actualBoundingBoxAscent-h/2),e.restore()}}class dT{constructor(e){this.draw=e,this.options=e.getOptions()}render(e){const{watermark:{data:n,opacity:r,font:i,size:o,color:a},scale:s}=this.options,c=this.draw.getWidth(),u=this.draw.getHeight(),l=c/2,h=u/2;e.save(),e.globalAlpha=r,e.font=`${o*s}px ${i}`,e.fillStyle=a;const d=e.measureText(n);e.translate(l,h),e.rotate(-45*Math.PI/180),e.fillText(n,-d.width/2,d.actualBoundingBoxAscent-o/2),e.restore()}}class fT{constructor(e){this.draw=e.getDraw(),this.options=this.draw.getOptions(),this.highlightList=[],this.highlightMatchResult=[]}getHighlightMatchResult(){return this.highlightMatchResult}getHighlightList(){return this.highlightList}setHighlightList(e){this.highlightList=e}computeHighlightList(){const e=this.draw.getSearch(),n=(r,i)=>{var a;let o=0;for(;o<r.length;){const s=r[o];if(o++,s.type===fe.TABLE){const g=s.trList;for(let y=0;y<g.length;y++){const R=g[y];for(let m=0;m<R.tdList.length;m++){const v=R.tdList[m],x={tableId:s.id,tableIndex:o-1,trIndex:y,tdIndex:m,tdId:v.id};n(v.value,x)}}}const c=(a=s==null?void 0:s.control)==null?void 0:a.conceptId;if(!c)continue;const u=this.highlightList.findIndex(g=>g.conceptId===c);if(!~u)continue;const l=o;let h=o;for(;h<r.length&&r[h].controlId===s.controlId;)h++;o=h;const d=r.slice(l,h),f=this.highlightList[u],{ruleList:p}=f;for(let g=0;g<p.length;g++){const y=p[g],R=e.getMatchList(y.keyword,d);this.highlightMatchResult.push(...R.map(m=>({...m,...y,...i,index:m.index+l})))}}};this.highlightMatchResult=[],n(this.draw.getOriginalMainElementList())}renderHighlightList(e,n){var s,c,u;if(!((s=this.highlightMatchResult)!=null&&s.length))return;const{searchMatchAlpha:r,searchMatchColor:i}=this.options,o=this.draw.getPosition().getOriginalPositionList(),a=this.draw.getOriginalElementList();e.save();for(let l=0;l<this.highlightMatchResult.length;l++){const h=this.highlightMatchResult[l];let d=null;if(h.tableId){const{tableIndex:O,trIndex:E,tdIndex:N,index:M}=h;d=(u=(c=a[O])==null?void 0:c.trList[E].tdList[N])==null?void 0:u.positionList[M]}else d=o[h.index];if(!d)continue;const{coordinate:{leftTop:f,leftBottom:p,rightTop:g},pageNo:y}=d;if(y!==n)continue;e.fillStyle=h.backgroundColor||i,e.globalAlpha=h.alpha||r;const R=f[0],m=f[1],v=g[0]-f[0],x=p[1]-f[1];e.fillRect(R,m,v,x)}e.restore()}}class pT{constructor(e){this.borderRect=this.clearBorderInfo(),this.options=e.getOptions()}clearBorderInfo(){return this.borderRect={x:0,y:0,width:0,height:0},this.borderRect}recordBorderInfo(e,n,r,i){!this.borderRect.width&&(this.borderRect.x=e,this.borderRect.y=n,this.borderRect.height=i),this.borderRect.width+=r}render(e){if(!this.borderRect.width)return;const{scale:n,control:{borderWidth:r,borderColor:i}}=this.options,{x:o,y:a,width:s,height:c}=this.borderRect;e.save(),e.translate(0,1*n),e.lineWidth=r*n,e.strokeStyle=i,e.beginPath(),e.rect(o,a,s,c),e.stroke(),e.restore(),this.clearBorderInfo()}}class Za{constructor(e,n){this.element=e,this.control=n,this.isPopup=!1,this.selectDom=null}setElement(e){this.element=e}getElement(){return this.element}getIsPopup(){return this.isPopup}getCode(){var e;return((e=this.element.control)==null?void 0:e.code)||null}getValue(e={}){const n=e.elementList||this.control.getElementList(),{startIndex:r}=e.range||this.control.getRange(),i=n[r],o=[];let a=r;for(;a>0;){const c=n[a];if(c.controlId!==i.controlId||c.controlComponent===Se.PREFIX)break;c.controlComponent===Se.VALUE&&o.unshift(c),a--}let s=r+1;for(;s<n.length;){const c=n[s];if(c.controlId!==i.controlId||c.controlComponent===Se.POSTFIX)break;c.controlComponent===Se.VALUE&&o.push(c),s++}return o}setValue(){return-1}keydown(e){if(this.control.getIsDisabledControl())return null;const n=this.control.getElementList(),r=this.control.getRange();this.control.shrinkBoundary();const{startIndex:i,endIndex:o}=r,a=n[i],s=n[o];if(e.key===Qe.Backspace)return i!==o?this.clearSelect():a.controlComponent===Se.PREFIX||s.controlComponent===Se.POSTFIX||a.controlComponent===Se.PLACEHOLDER?this.control.removeControl(i):this.clearSelect();if(e.key===Qe.Delete){if(i!==o)return this.clearSelect();{const c=n[o+1];return a.controlComponent===Se.PREFIX&&c.controlComponent===Se.PLACEHOLDER||c.controlComponent===Se.POSTFIX||a.controlComponent===Se.PLACEHOLDER?this.control.removeControl(i):this.clearSelect()}}return o}cut(){if(this.control.getIsDisabledControl())return-1;this.control.shrinkBoundary();const{startIndex:e,endIndex:n}=this.control.getRange();return e===n?e:this.clearSelect()}clearSelect(e={},n={}){const{isIgnoreDisabledRule:r=!1,isAddPlaceholder:i=!0}=n;if(!r&&this.control.getIsDisabledControl())return-1;const o=e.elementList||this.control.getElementList(),{startIndex:a}=e.range||this.control.getRange(),s=o[a];let c=-1,u=-1,l=a;for(;l>0;){const f=o[l];if(f.controlId!==s.controlId||f.controlComponent===Se.PREFIX){c=l;break}l--}let h=a+1;for(;h<o.length;){const f=o[h];if(f.controlId!==s.controlId||f.controlComponent===Se.POSTFIX){u=h-1;break}h++}return!~c||!~u?-1:(this.control.getDraw().spliceElementList(o,c+1,u-c),i&&this.control.addPlaceholder(l,e),this.element.control.code=null,l)}setSelect(e,n={},r={}){if(!r.isIgnoreDisabledRule&&this.control.getIsDisabledControl())return;const i=n.elementList||this.control.getElementList(),o=n.range||this.control.getRange(),a=this.element.control,s=a.code;if(e===s){this.control.repaintControl({curIndex:o.startIndex,isCompute:!1,isSubmitHistory:!1}),this.destroy();return}const c=a.valueSets;if(!Array.isArray(c)||!c.length)return;const u=c.find(R=>R.code===e);if(!u)return;const l=this.getValue(n)[0],h=l?Qr(l,po):Qr(i[o.startIndex],sa),d=this.clearSelect(n,{isAddPlaceholder:!1});if(!~d)return;s||this.control.removePlaceholder(d,n);const f=vs(i[d],po),p=d+1,g=vr(u.value),y=this.control.getDraw();for(let R=0;R<g.length;R++){const m={...h,...f,type:fe.TEXT,value:g[R],controlComponent:Se.VALUE};wn(i,[m],d),y.spliceElementList(i,p+R,0,m)}if(a.code=e,!n.range){const R=p+g.length-1;this.control.repaintControl({curIndex:R}),this.destroy()}}_createSelectPopupDom(){const n=this.element.control.valueSets;if(!Array.isArray(n)||!n.length)return;const r=this.control.getPosition();if(!r)return;const i=document.createElement("div");i.classList.add(`${ke}-select-control-popup`),i.setAttribute(Jr,$r.POPUP);const o=document.createElement("ul");for(let h=0;h<n.length;h++){const d=n[h],f=document.createElement("li");this.getCode()===d.code&&f.classList.add("active"),f.onclick=()=>{this.setSelect(d.code)},f.append(document.createTextNode(d.value)),o.append(f)}i.append(o);const{coordinate:{leftTop:[a,s]},lineHeight:c}=r,u=this.control.getPreY();i.style.left=`${a}px`,i.style.top=`${s+u+c}px`,this.control.getContainer().append(i),this.selectDom=i}awake(){var r;if(this.isPopup||this.control.getIsDisabledControl())return;const{startIndex:e}=this.control.getRange();((r=this.control.getElementList()[e+1])==null?void 0:r.controlId)===this.element.controlId&&(this._createSelectPopupDom(),this.isPopup=!0)}destroy(){var e;!this.isPopup||((e=this.selectDom)==null||e.remove(),this.isPopup=!1)}}class P1{constructor(e,n){this.element=e,this.control=n}setElement(e){this.element=e}getElement(){return this.element}getValue(e={}){const n=e.elementList||this.control.getElementList(),{startIndex:r}=e.range||this.control.getRange(),i=n[r],o=[];let a=r;for(;a>0;){const c=n[a];if(c.controlId!==i.controlId||c.controlComponent===Se.PREFIX)break;c.controlComponent===Se.VALUE&&o.unshift(c),a--}let s=r+1;for(;s<n.length;){const c=n[s];if(c.controlId!==i.controlId||c.controlComponent===Se.POSTFIX)break;c.controlComponent===Se.VALUE&&o.push(c),s++}return o}setValue(e,n={},r={}){if(!r.isIgnoreDisabledRule&&this.control.getIsDisabledControl())return-1;const i=n.elementList||this.control.getElementList(),o=n.range||this.control.getRange();this.control.shrinkBoundary(n);const{startIndex:a,endIndex:s}=o,c=this.control.getDraw();a!==s?c.spliceElementList(i,a+1,s-a):this.control.removePlaceholder(a,n);const u=i[a],l=u.type&&!Nr.includes(u.type)||u.controlComponent===Se.PREFIX?Qr(u,["control","controlId",...sa]):vs(u,["type"]),h=o.startIndex+1;for(let d=0;d<e.length;d++){const f={...l,...e[d],controlComponent:Se.VALUE};wn(i,[f],a),c.spliceElementList(i,h+d,0,f)}return h+e.length-1}clearValue(e={},n={}){if(!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl())return-1;const r=e.elementList||this.control.getElementList(),i=e.range||this.control.getRange(),{startIndex:o,endIndex:a}=i;return this.control.getDraw().spliceElementList(r,o+1,a-o),this.getValue(e).length||this.control.addPlaceholder(o),o}keydown(e){if(this.control.getIsDisabledControl())return null;const n=this.control.getElementList(),r=this.control.getRange();this.control.shrinkBoundary();const{startIndex:i,endIndex:o}=r,a=n[i],s=n[o],c=this.control.getDraw();if(e.key===Qe.Backspace)return i!==o?(c.spliceElementList(n,i+1,o-i),this.getValue().length||this.control.addPlaceholder(i),i):a.controlComponent===Se.PREFIX||s.controlComponent===Se.POSTFIX||a.controlComponent===Se.PLACEHOLDER?this.control.removeControl(i):(c.spliceElementList(n,i,1),this.getValue().length||this.control.addPlaceholder(i-1),i-1);if(e.key===Qe.Delete){if(i!==o)return c.spliceElementList(n,i+1,o-i),this.getValue().length||this.control.addPlaceholder(i),i;{const u=n[o+1];return a.controlComponent===Se.PREFIX&&u.controlComponent===Se.PLACEHOLDER||u.controlComponent===Se.POSTFIX||a.controlComponent===Se.PLACEHOLDER?this.control.removeControl(i):(c.spliceElementList(n,i+1,1),this.getValue().length||this.control.addPlaceholder(i),i)}}return o}cut(){if(this.control.getIsDisabledControl())return-1;this.control.shrinkBoundary();const{startIndex:e,endIndex:n}=this.control.getRange();if(e===n)return e;const r=this.control.getDraw(),i=this.control.getElementList();return r.spliceElementList(i,e+1,n-e),this.getValue().length||this.control.addPlaceholder(e),e}}class uR{constructor(e,n={}){this.draw=e,this.options=n,this.lang=this._getLang(),this.now=new Date,this.dom=this._createDom(),this.renderOptions=null,this.isDatePicker=!0,this.pickDate=null,this._bindEvent()}_createDom(){const e=document.createElement("div");e.classList.add(`${ke}-date-container`),e.setAttribute(Jr,$r.POPUP);const n=document.createElement("div");n.classList.add(`${ke}-date-wrap`);const r=document.createElement("div");r.classList.add(`${ke}-date-title`);const i=document.createElement("span");i.classList.add(`${ke}-date-title__pre-year`),i.innerText="<<";const o=document.createElement("span");o.classList.add(`${ke}-date-title__pre-month`),o.innerText="<";const a=document.createElement("span");a.classList.add(`${ke}-date-title__now`);const s=document.createElement("span");s.classList.add(`${ke}-date-title__next-month`),s.innerText=">";const c=document.createElement("span");c.classList.add(`${ke}-date-title__next-year`),c.innerText=">>",r.append(i),r.append(o),r.append(a),r.append(s),r.append(c);const u=document.createElement("div");u.classList.add(`${ke}-date-week`);const{weeks:{sun:l,mon:h,tue:d,wed:f,thu:p,fri:g,sat:y}}=this.lang;[l,h,d,f,p,g,y].forEach(T=>{const I=document.createElement("span");I.innerText=`${T}`,u.append(I)});const m=document.createElement("div");m.classList.add(`${ke}-date-day`),n.append(r),n.append(u),n.append(m);const v=document.createElement("ul");v.classList.add(`${ke}-time-wrap`);let x,O,E;[this.lang.hour,this.lang.minute,this.lang.second].forEach((T,I)=>{const b=document.createElement("li"),P=document.createElement("span");P.innerText=T,b.append(P);const U=document.createElement("ol"),X=I===0,V=I===1,k=X?24:60;for(let re=0;re<k;re++){const Z=document.createElement("li");Z.innerText=`${String(re).padStart(2,"0")}`,Z.setAttribute("data-id",`${re}`),U.append(Z)}X?x=U:V?O=U:E=U,b.append(U),v.append(b)});const M=document.createElement("div");M.classList.add(`${ke}-date-menu`);const _=document.createElement("button");_.classList.add(`${ke}-date-menu__time`),_.innerText=this.lang.timeSelect;const B=document.createElement("button");B.classList.add(`${ke}-date-menu__now`),B.innerText=this.lang.now;const q=document.createElement("button");return q.classList.add(`${ke}-date-menu__submit`),q.innerText=this.lang.confirm,M.append(_),M.append(B),M.append(q),e.append(n),e.append(v),e.append(M),this.draw.getContainer().append(e),{container:e,dateWrap:n,datePickerWeek:u,timeWrap:v,title:{preYear:i,preMonth:o,now:a,nextMonth:s,nextYear:c},day:m,time:{hour:x,minute:O,second:E},menu:{time:_,now:B,submit:q}}}_bindEvent(){this.dom.title.preYear.onclick=()=>{this._preYear()},this.dom.title.preMonth.onclick=()=>{this._preMonth()},this.dom.title.nextMonth.onclick=()=>{this._nextMonth()},this.dom.title.nextYear.onclick=()=>{this._nextYear()},this.dom.menu.time.onclick=()=>{this.isDatePicker=!this.isDatePicker,this._toggleDateTimePicker()},this.dom.menu.now.onclick=()=>{this._now(),this._submit()},this.dom.menu.submit.onclick=()=>{this.dispose(),this._submit()},this.dom.time.hour.onclick=e=>{if(!this.pickDate)return;const r=e.target.dataset.id;!r||(this.pickDate.setHours(Number(r)),this._setTimePick(!1))},this.dom.time.minute.onclick=e=>{if(!this.pickDate)return;const r=e.target.dataset.id;!r||(this.pickDate.setMinutes(Number(r)),this._setTimePick(!1))},this.dom.time.second.onclick=e=>{if(!this.pickDate)return;const r=e.target.dataset.id;!r||(this.pickDate.setSeconds(Number(r)),this._setTimePick(!1))}}_setPosition(){if(!this.renderOptions)return;const{position:{coordinate:{leftTop:[e,n]},lineHeight:r,pageNo:i}}=this.renderOptions,o=this.draw.getHeight(),a=this.draw.getPageGap(),c=(i!=null?i:this.draw.getPageNo())*(o+a);this.dom.container.style.left=`${e}px`,this.dom.container.style.top=`${n+c+r}px`}isInvalidDate(e){return e.toDateString()==="Invalid Date"}_setValue(){var n;const e=(n=this.renderOptions)==null?void 0:n.value;if(e){const r=new Date(e);this.now=this.isInvalidDate(r)?new Date:r}else this.now=new Date;this.pickDate=new Date(this.now)}_getLang(){const e=this.draw.getI18n(),n=e.t.bind(e);return{now:n("datePicker.now"),confirm:n("datePicker.confirm"),return:n("datePicker.return"),timeSelect:n("datePicker.timeSelect"),weeks:{sun:n("datePicker.weeks.sun"),mon:n("datePicker.weeks.mon"),tue:n("datePicker.weeks.tue"),wed:n("datePicker.weeks.wed"),thu:n("datePicker.weeks.thu"),fri:n("datePicker.weeks.fri"),sat:n("datePicker.weeks.sat")},year:n("datePicker.year"),month:n("datePicker.month"),hour:n("datePicker.hour"),minute:n("datePicker.minute"),second:n("datePicker.second")}}_setLangChange(){this.dom.menu.time.innerText=this.lang.timeSelect,this.dom.menu.now.innerText=this.lang.now,this.dom.menu.submit.innerText=this.lang.confirm;const{weeks:{sun:e,mon:n,tue:r,wed:i,thu:o,fri:a,sat:s}}=this.lang,c=[e,n,r,i,o,a,s];this.dom.datePickerWeek.childNodes.forEach((d,f)=>{const p=d;p.innerText=c[f]});const u=this.dom.time.hour.previousElementSibling;u.innerText=this.lang.hour;const l=this.dom.time.minute.previousElementSibling;l.innerText=this.lang.minute;const h=this.dom.time.second.previousElementSibling;h.innerText=this.lang.second}_update(){const e=new Date,n=e.getFullYear(),r=e.getMonth()+1,i=e.getDate();let o=null,a=null,s=null;this.pickDate&&(o=this.pickDate.getFullYear(),a=this.pickDate.getMonth()+1,s=this.pickDate.getDate());const c=this.now.getFullYear(),u=this.now.getMonth()+1;this.dom.title.now.innerText=`${c}${this.lang.year} ${String(u).padStart(2,"0")}${this.lang.month}`;const h=new Date(c,u,0).getDate();let d=new Date(c,u-1,1).getDay();d===0&&(d=7);const f=new Date(c,u-1,0).getDate();this.dom.day.innerHTML="";const p=f-d+1;for(let y=p;y<=f;y++){const R=document.createElement("div");R.classList.add("disable"),R.innerText=`${y}`,R.onclick=()=>{const m=u-2;this.now=new Date(c,m,y),this._setDatePick(c,m,y)},this.dom.day.append(R)}for(let y=1;y<=h;y++){const R=document.createElement("div");n===c&&r===u&&i===y&&R.classList.add("active"),this.pickDate&&o===c&&a===u&&s===y&&R.classList.add("select"),R.innerText=`${y}`,R.onclick=m=>{const v=u-1;this.now=new Date(c,v,y),this._setDatePick(c,v,y),m.stopPropagation()},this.dom.day.append(R)}const g=6*7-d-h;for(let y=1;y<=g;y++){const R=document.createElement("div");R.classList.add("disable"),R.innerText=`${y}`,R.onclick=()=>{this.now=new Date(c,u,y),this._setDatePick(c,u,y)},this.dom.day.append(R)}}_toggleDateTimePicker(){this.isDatePicker?(this.dom.dateWrap.classList.add("active"),this.dom.timeWrap.classList.remove("active"),this.dom.menu.time.innerText=this.lang.timeSelect):(this.dom.dateWrap.classList.remove("active"),this.dom.timeWrap.classList.add("active"),this.dom.menu.time.innerText=this.lang.return,this._setTimePick())}_setDatePick(e,n,r){var i,o,a;this.now=new Date(e,n,r),(i=this.pickDate)==null||i.setFullYear(e),(o=this.pickDate)==null||o.setMonth(n),(a=this.pickDate)==null||a.setDate(r),this._update()}_setTimePick(e=!0){var l,h,d;const n=((l=this.pickDate)==null?void 0:l.getHours())||0,r=((h=this.pickDate)==null?void 0:h.getMinutes())||0,i=((d=this.pickDate)==null?void 0:d.getSeconds())||0,{hour:o,minute:a,second:s}=this.dom.time;[o,a,s].forEach(f=>{f.querySelectorAll("li").forEach(p=>p.classList.remove("active"))}),[[o,n],[a,r],[s,i]].forEach(([f,p])=>{const g=f.querySelector(`[data-id='${p}']`);g.classList.add("active"),e&&this._scrollIntoView(f,g)})}_scrollIntoView(e,n){if(!n){e.scrollTop=0;return}const r=[];let i=n.offsetParent;for(;i&&e!==i&&e.contains(i);)r.push(i),i=i.offsetParent;const o=n.offsetTop+r.reduce((u,l)=>u+l.offsetTop,0),a=o+n.offsetHeight,s=e.scrollTop,c=s+e.clientHeight;o<s?e.scrollTop=o:a>c&&(e.scrollTop=a-e.clientHeight)}_preMonth(){this.now.setMonth(this.now.getMonth()-1),this._update()}_nextMonth(){this.now.setMonth(this.now.getMonth()+1),this._update()}_preYear(){this.now.setFullYear(this.now.getFullYear()-1),this._update()}_nextYear(){this.now.setFullYear(this.now.getFullYear()+1),this._update()}_now(){this.pickDate=new Date,this.dispose()}_toggleVisible(e){e?this.dom.container.classList.add("active"):this.dom.container.classList.remove("active")}_submit(){var e;if(this.options.onSubmit&&this.pickDate){const n=(e=this.renderOptions)==null?void 0:e.dateFormat,r=this.formatDate(this.pickDate,n);this.options.onSubmit(r)}}formatDate(e,n="yyyy-MM-dd hh:mm:ss"){let r=n;const i={"y+":e.getFullYear().toString(),"M+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"h+":e.getHours().toString(),"m+":e.getMinutes().toString(),"s+":e.getSeconds().toString()};for(const o in i){const a=new RegExp("("+o+")").exec(n),s=o;a&&(r=r.replace(a[1],a[1].length===1?i[s]:i[s].padStart(a[1].length,"0")))}return r}render(e){this.renderOptions=e,this.lang=this._getLang(),this._setLangChange(),this._setValue(),this._update(),this._setPosition(),this.isDatePicker=!0,this._toggleDateTimePicker(),this._toggleVisible(!0)}dispose(){this._toggleVisible(!1)}destroy(){this.dom.container.remove()}}class ka{constructor(e,n){const r=n.getDraw();this.draw=r,this.element=e,this.control=n,this.isPopup=!1,this.datePicker=null}setElement(e){this.element=e}getElement(){return this.element}getIsPopup(){return this.isPopup}getValueRange(e={}){const n=e.elementList||this.control.getElementList(),{startIndex:r}=e.range||this.control.getRange(),i=n[r];let o=r;for(;o>0;){const s=n[o];if(s.controlId!==i.controlId||s.controlComponent===Se.PREFIX)break;o--}let a=r+1;for(;a<n.length;){const s=n[a];if(s.controlId!==i.controlId||s.controlComponent===Se.POSTFIX)break;a++}return o===a?null:[o,a-1]}getValue(e={}){const n=e.elementList||this.control.getElementList(),r=this.getValueRange(e);if(!r)return[];const i=[],[o,a]=r;for(let s=o;s<=a;s++){const c=n[s];c.controlComponent===Se.VALUE&&i.push(c)}return i}setValue(e,n={},r={}){if(!r.isIgnoreDisabledRule&&this.control.getIsDisabledControl())return-1;const i=n.elementList||this.control.getElementList(),o=n.range||this.control.getRange();this.control.shrinkBoundary(n);const{startIndex:a,endIndex:s}=o,c=this.control.getDraw();a!==s?c.spliceElementList(i,a+1,s-a):this.control.removePlaceholder(a,n);const u=i[a],l=u.type&&!Nr.includes(u.type)||u.controlComponent===Se.PREFIX?Qr(u,["control","controlId",...sa]):vs(u,["type"]),h=o.startIndex+1;for(let d=0;d<e.length;d++){const f={...l,...e[d],controlComponent:Se.VALUE};wn(i,[f],a),c.spliceElementList(i,h+d,0,f)}return h+e.length-1}clearSelect(e={},n={}){const{isIgnoreDisabledRule:r=!1,isAddPlaceholder:i=!0}=n;if(!r&&this.control.getIsDisabledControl())return-1;const o=this.getValueRange(e);if(!o)return-1;const[a,s]=o;if(!~a||!~s)return-1;const c=e.elementList||this.control.getElementList();return this.control.getDraw().spliceElementList(c,a+1,s-a),i&&this.control.addPlaceholder(a,e),a}setSelect(e,n={},r={}){if(!r.isIgnoreDisabledRule&&this.control.getIsDisabledControl())return;const i=n.elementList||this.control.getElementList(),o=n.range||this.control.getRange(),a=this.getValue(n)[0],s=a?Qr(a,po):Qr(i[o.startIndex],sa),c=this.clearSelect(n,{isAddPlaceholder:!1});if(!~c)return;const u=vs(i[c],po),l=c+1,h=this.control.getDraw();for(let d=0;d<e.length;d++){const f={...s,...u,type:fe.TEXT,value:e[d],controlComponent:Se.VALUE};wn(i,[f],c),h.spliceElementList(i,l+d,0,f)}if(!n.range){const d=l+e.length-1;this.control.repaintControl({curIndex:d}),this.destroy()}}keydown(e){if(this.control.getIsDisabledControl())return null;const n=this.control.getElementList(),r=this.control.getRange();this.control.shrinkBoundary();const{startIndex:i,endIndex:o}=r,a=n[i],s=n[o],c=this.control.getDraw();if(e.key===Qe.Backspace)return i!==o?(c.spliceElementList(n,i+1,o-i),this.getValue().length||this.control.addPlaceholder(i),i):a.controlComponent===Se.PREFIX||s.controlComponent===Se.POSTFIX||a.controlComponent===Se.PLACEHOLDER?this.control.removeControl(i):(c.spliceElementList(n,i,1),this.getValue().length||this.control.addPlaceholder(i-1),i-1);if(e.key===Qe.Delete){if(i!==o)return c.spliceElementList(n,i+1,o-i),this.getValue().length||this.control.addPlaceholder(i),i;{const u=n[o+1];return a.controlComponent===Se.PREFIX&&u.controlComponent===Se.PLACEHOLDER||u.controlComponent===Se.POSTFIX||a.controlComponent===Se.PLACEHOLDER?this.control.removeControl(i):(c.spliceElementList(n,i+1,1),this.getValue().length||this.control.addPlaceholder(i),i)}}return o}cut(){if(this.control.getIsDisabledControl())return-1;this.control.shrinkBoundary();const{startIndex:e,endIndex:n}=this.control.getRange();if(e===n)return e;const r=this.control.getDraw(),i=this.control.getElementList();return r.spliceElementList(i,e+1,n-e),this.getValue().length||this.control.addPlaceholder(e),e}awake(){var a,s;if(this.isPopup||this.control.getIsDisabledControl())return;const e=this.control.getPosition();if(!e)return;const n=this.draw.getElementList(),{startIndex:r}=this.control.getRange();if(((a=n[r+1])==null?void 0:a.controlId)!==this.element.controlId)return;this.datePicker=new uR(this.draw,{onSubmit:this._setDate.bind(this)});const i=this.getValue().map(c=>c.value).join("")||"",o=(s=this.element.control)==null?void 0:s.dateFormat;this.datePicker.render({value:i,position:e,dateFormat:o}),this.isPopup=!0}destroy(){var e;!this.isPopup||((e=this.datePicker)==null||e.destroy(),this.isPopup=!1)}_setDate(e){e?this.setSelect(e):this.clearSelect(),this.destroy()}}class gT{constructor(e){this.controlBorder=new pT(e),this.draw=e,this.range=e.getRange(),this.listener=e.getListener(),this.eventBus=e.getEventBus(),this.controlSearch=new fT(this),this.options=e.getOptions(),this.controlOptions=this.options.control,this.activeControl=null}setHighlightList(e){this.controlSearch.setHighlightList(e)}computeHighlightList(){this.controlSearch.getHighlightList().length&&this.controlSearch.computeHighlightList()}renderHighlightList(e,n){this.controlSearch.getHighlightMatchResult().length&&this.controlSearch.renderHighlightList(e,n)}getDraw(){return this.draw}filterAssistElement(e){return e.filter(n=>{var r;if(n.type===fe.TABLE){const i=n.trList;for(let o=0;o<i.length;o++){const a=i[o];for(let s=0;s<a.tdList.length;s++){const c=a.tdList[s];c.value=this.filterAssistElement(c.value)}}}return n.controlId?(r=n.control)!=null&&r.minWidth&&(n.controlComponent===Se.PREFIX||n.controlComponent===Se.POSTFIX)?(n.value="",!0):n.controlComponent!==Se.PREFIX&&n.controlComponent!==Se.POSTFIX&&n.controlComponent!==Se.PLACEHOLDER:!0})}getIsRangeCanCaptureEvent(){if(!this.activeControl)return!1;const{startIndex:e,endIndex:n}=this.getRange();if(!~e&&!~n)return!1;const r=this.getElementList(),i=r[e];if(e===n&&i.controlComponent===Se.POSTFIX)return!0;const o=r[n];return!!(i.controlId&&i.controlId===o.controlId&&o.controlComponent!==Se.POSTFIX)}getIsRangeInPostfix(){if(!this.activeControl)return!1;const{startIndex:e,endIndex:n}=this.getRange();return e!==n?!1:this.getElementList()[e].controlComponent===Se.POSTFIX}getIsRangeWithinControl(){const{startIndex:e,endIndex:n}=this.getRange();if(!~e&&!~n)return!1;const r=this.getElementList(),i=r[e],o=r[n];return!!(i.controlId&&i.controlId===o.controlId&&o.controlComponent!==Se.POSTFIX)}getIsElementListContainFullControl(e){if(!e.some(i=>i.controlId))return!1;let n=0,r=0;for(let i=0;i<e.length;i++){const o=e[i];o.controlComponent===Se.PREFIX?n++:o.controlComponent===Se.POSTFIX&&r++}return!n||!r?!1:n===r}getIsDisabledControl(){var e,n;return!!((n=(e=this.activeControl)==null?void 0:e.getElement().control)!=null&&n.disabled)}getContainer(){return this.draw.getContainer()}getElementList(){return this.draw.getElementList()}getPosition(){const e=this.draw.getPosition().getPositionList(),{endIndex:n}=this.range.getRange();return e[n]||null}getPreY(){var i,o;const e=this.draw.getHeight(),n=this.draw.getPageGap();return((o=(i=this.getPosition())==null?void 0:i.pageNo)!=null?o:this.draw.getPageNo())*(e+n)}getRange(){return this.range.getRange()}shrinkBoundary(e={}){this.range.shrinkBoundary(e)}getActiveControl(){return this.activeControl}initControl(){if(this.draw.isReadonly())return;const n=this.getElementList(),r=this.getRange(),i=n[r.startIndex];if(this.activeControl){(this.activeControl instanceof Za||this.activeControl instanceof ka)&&(i.controlComponent===Se.POSTFIX?this.activeControl.destroy():this.activeControl.awake());const a=this.activeControl.getElement();if(i.controlId===a.controlId)return}this.destroyControl();const o=i.control;if(o.type===yt.TEXT)this.activeControl=new P1(i,this);else if(o.type===yt.SELECT){const a=new Za(i,this);this.activeControl=a,a.awake()}else if(o.type===yt.CHECKBOX)this.activeControl=new lu(i,this);else if(o.type===yt.RADIO)this.activeControl=new ud(i,this);else if(o.type===yt.DATE){const a=new ka(i,this);this.activeControl=a,a.awake()}cu(()=>{var l;const a=this.listener.controlChange,s=this.eventBus.isSubscribe("controlChange");if(!a&&!s)return;let c;const u=(l=this.activeControl)==null?void 0:l.getValue();u&&u.length?c=Wt(u)[0].control:c=ta(Ft(i)).control,a&&a(c),s&&this.eventBus.emit("controlChange",c)})}destroyControl(){this.activeControl&&((this.activeControl instanceof Za||this.activeControl instanceof ka)&&this.activeControl.destroy(),this.activeControl=null,cu(()=>{const e=this.listener.controlChange,n=this.eventBus.isSubscribe("controlChange");!e&&!n||(e&&e(null),n&&this.eventBus.emit("controlChange",null))}))}repaintControl(e={}){const{curIndex:n,isCompute:r=!0,isSubmitHistory:i=!0}=e;n===void 0?(this.range.clearRange(),this.draw.render({isCompute:r,isSubmitHistory:i,isSetCursor:!1})):(this.range.setRange(n,n),this.draw.render({curIndex:n,isCompute:r,isSubmitHistory:i}))}reAwakeControl(){if(!this.activeControl)return;const e=this.getElementList(),n=this.getRange(),r=e[n.startIndex];this.activeControl.setElement(r),(this.activeControl instanceof ka||this.activeControl instanceof Za)&&this.activeControl.getIsPopup()&&(this.activeControl.destroy(),this.activeControl.awake())}moveCursor(e){const{index:n,trIndex:r,tdIndex:i,tdValueIndex:o}=e;let a=this.draw.getOriginalElementList(),s;const c=e.isTable?o:n;if(e.isTable?(a=a[n].trList[r].tdList[i].value,s=a[o]):s=a[n],s.controlComponent===Se.VALUE)return{newIndex:c,newElement:s};if(s.controlComponent===Se.POSTFIX){let u=c+1;for(;u<a.length;){if(a[u].controlId!==s.controlId)return{newIndex:u-1,newElement:a[u-1]};u++}}else if(s.controlComponent===Se.PREFIX){let u=c+1;for(;u<a.length;){const l=a[u];if(l.controlId!==s.controlId||l.controlComponent!==Se.PREFIX)return{newIndex:u-1,newElement:a[u-1]};u++}}else if(s.controlComponent===Se.PLACEHOLDER){let u=c-1;for(;u>0;){const l=a[u];if(l.controlId!==s.controlId||l.controlComponent===Se.PREFIX)return{newIndex:u,newElement:a[u]};u--}}return{newIndex:c,newElement:s}}removeControl(e,n={}){const r=n.elementList||this.getElementList(),i=r[e],{deletable:o=!0}=i.control;if(!o)return null;let a=-1,s=-1,c=e;for(;c>0;){if(r[c].controlId!==i.controlId){a=c;break}c--}let u=e+1;for(;u<r.length;){if(r[u].controlId!==i.controlId){s=u-1;break}u++}return u===r.length&&(s=u-1),!~a&&!~s?e:(a=~a?a:0,this.draw.spliceElementList(r,a+1,s-a),a)}removePlaceholder(e,n={}){const r=n.elementList||this.getElementList(),i=r[e],o=r[e+1];if(i.controlComponent===Se.PLACEHOLDER||o.controlComponent===Se.PLACEHOLDER){let a=!1,s=e;for(;s<r.length;){const c=r[s];if(c.controlId!==i.controlId)break;c.controlComponent===Se.PLACEHOLDER?(a||(a=!0,this.draw.getHistoryManager().popUndo(),this.draw.submitHistory(e)),r.splice(s,1)):s++}}}addPlaceholder(e,n={}){const r=n.elementList||this.getElementList(),i=r[e],o=i.control;if(!o.placeholder)return;const a=vr(o.placeholder);for(let s=0;s<a.length;s++){const u={value:a[s],controlId:i.controlId,type:fe.CONTROL,control:i.control,controlComponent:Se.PLACEHOLDER,color:this.controlOptions.placeholderColor};wn(r,[u],e),this.draw.spliceElementList(r,e+s+1,0,u)}}setValue(e){if(!this.activeControl)throw new Error("active control is null");return this.activeControl.setValue(e)}keydown(e){if(!this.activeControl)throw new Error("active control is null");return this.activeControl.keydown(e)}cut(){if(!this.activeControl)throw new Error("active control is null");return this.activeControl.cut()}getValueByConceptId(e){const{conceptId:n}=e,r=[],i=(a,s)=>{var u;let c=0;for(;c<a.length;){const l=a[c];if(c++,l.type===fe.TABLE){const y=l.trList;for(let R=0;R<y.length;R++){const m=y[R];for(let v=0;v<m.tdList.length;v++){const x=m.tdList[v];i(x.value,s)}}}if(((u=l==null?void 0:l.control)==null?void 0:u.conceptId)!==n)continue;const{type:h,code:d,valueSets:f}=l.control;let p=c,g="";for(;p<a.length;){const y=a[p];if(y.controlId!==l.controlId)break;(h===yt.TEXT||h===yt.DATE)&&y.controlComponent===Se.VALUE&&(g+=y.value),p++}if(h===yt.TEXT||h===yt.DATE)r.push({...l.control,zone:s,value:g||null,innerText:g||null});else if(h===yt.SELECT||h===yt.CHECKBOX||h===yt.RADIO){const y=d==null?void 0:d.split(",").map(R=>{var m;return(m=f==null?void 0:f.find(v=>v.code===R))==null?void 0:m.value}).filter(Boolean).join("");r.push({...l.control,zone:s,value:d||null,innerText:y||null})}c=p}},o=[{zone:it.HEADER,elementList:this.draw.getHeaderElementList()},{zone:it.MAIN,elementList:this.draw.getOriginalMainElementList()},{zone:it.FOOTER,elementList:this.draw.getFooterElementList()}];for(const{zone:a,elementList:s}of o)i(s,a);return r}setValueByConceptId(e){if(this.draw.isReadonly())return;let r=!1;const{conceptId:i,value:o}=e,a=c=>{var l;let u=0;for(;u<c.length;){const h=c[u];if(u++,h.type===fe.TABLE){const m=h.trList;for(let v=0;v<m.length;v++){const x=m[v];for(let O=0;O<x.tdList.length;O++){const E=x.tdList[O];a(E.value)}}}if(((l=h==null?void 0:h.control)==null?void 0:l.conceptId)!==i)continue;r=!0;const{type:d}=h.control;let f=u;for(;f<c.length&&c[f].controlId===h.controlId;)f++;const g={range:{startIndex:u-1,endIndex:f-2},elementList:c},y={isIgnoreDisabledRule:!0};if(d===yt.TEXT){const m=[{value:o}];cr(m,{isHandleFirstElement:!1,editorOptions:this.options});const v=new P1(h,this);this.activeControl=v,o?v.setValue(m,g,y):v.clearValue(g,y)}else if(d===yt.SELECT){const m=new Za(h,this);this.activeControl=m,o?m.setSelect(o,g,y):m.clearSelect(g,y)}else if(d===yt.CHECKBOX){const m=new lu(h,this);this.activeControl=m;const v=(o==null?void 0:o.split(","))||[];m.setSelect(v,g,y)}else if(d===yt.RADIO){const m=new ud(h,this);this.activeControl=m;const v=o?[o]:[];m.setSelect(v,g,y)}else if(d===yt.DATE){const m=new ka(h,this);this.activeControl=m,o?m.setSelect(o,g,y):m.clearSelect(g,y)}this.activeControl=null;let R=u;for(;R<c.length&&c[R].controlId===h.controlId;)R++;u=R}};this.destroyControl();const s=[this.draw.getHeaderElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooterElementList()];for(const c of s)a(c);r&&this.draw.render({isSetCursor:!1})}setExtensionByConceptId(e){if(this.draw.isReadonly())return;const{conceptId:r,extension:i}=e,o=s=>{var u;let c=0;for(;c<s.length;){const l=s[c];if(c++,l.type===fe.TABLE){const d=l.trList;for(let f=0;f<d.length;f++){const p=d[f];for(let g=0;g<p.tdList.length;g++){const y=p.tdList[g];o(y.value)}}}if(((u=l==null?void 0:l.control)==null?void 0:u.conceptId)!==r)continue;l.control.extension=i;let h=c;for(;h<s.length&&s[h].controlId===l.controlId;)h++;c=h}},a=[this.draw.getHeaderElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooterElementList()];for(const s of a)o(s)}setPropertiesByConceptId(e){var s;if(this.draw.isReadonly())return;const{conceptId:r,properties:i}=e;let o=!1;const a={header:this.draw.getHeaderElementList(),main:this.draw.getOriginalMainElementList(),footer:this.draw.getFooterElementList()};for(const c in a){const u=a[c];let l=0;for(;l<u.length;){const h=u[l];if(l++,((s=h==null?void 0:h.control)==null?void 0:s.conceptId)!==r)continue;o=!0,h.control={...h.control,...i,value:h.control.value};let d=l;for(;d<u.length&&u[d].controlId===h.controlId;)d++;l=d}}if(!!o){for(const c in a){const u=c,l=Wt(a[u]);a[u]=l,cr(l,{editorOptions:this.options})}this.draw.setEditorData(a),this.draw.render({isSetCursor:!1})}}getList(){const e=[];function n(i){for(let o=0;o<i.length;o++){const a=i[o];if(a.type===fe.TABLE){const s=a.trList;for(let c=0;c<s.length;c++){const u=s[c];for(let l=0;l<u.tdList.length;l++){const d=u.tdList[l].value;n(d)}}}a.controlId&&e.push(a)}}const r=[this.draw.getHeader().getElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooter().getElementList()];for(const i of r)n(i);return Wt(e,{extraPickAttrs:["controlId"]})}recordBorderInfo(e,n,r,i){this.controlBorder.recordBorderInfo(e,n,r,i)}drawBorder(e){this.controlBorder.render(e)}getPreControlContext(){if(!this.activeControl)return null;const n=this.draw.getPosition().getPositionContext();if(!n)return null;const r=this.activeControl.getElement();function i(c,u){for(let l=u;l>0;l--){const h=c[l];if(h.type===fe.TABLE){const f=h.trList||[];for(let p=f.length-1;p>=0;p--){const g=f[p],y=g.tdList;for(let R=y.length-1;R>=0;R--){const m=y[R],v=i(m.value,m.value.length-1);if(v)return{positionContext:{isTable:!0,index:l,trIndex:p,tdIndex:R,tdId:m.id,trId:g.id,tableId:h.id},nextIndex:v.nextIndex}}}}if(!h.controlId||h.controlId===r.controlId)continue;let d=l;for(;d>0;){const f=c[d];if(f.controlComponent===Se.VALUE||f.controlComponent===Se.PREFIX)break;d--}return{positionContext:{isTable:!1},nextIndex:d}}return null}const{startIndex:o}=this.range.getRange(),a=this.getElementList(),s=i(a,o);if(s)return{positionContext:n.isTable?n:s.positionContext,nextIndex:s.nextIndex};if(r.tableId){const c=this.draw.getOriginalElementList(),{index:u,trIndex:l,tdIndex:h}=n,d=c[u].trList;for(let p=l;p>=0;p--){const g=d[p],y=g.tdList;for(let R=y.length-1;R>=0;R--){if(l===p&&R>=h)continue;const m=y[R],v=i(m.value,m.value.length-1);if(v)return{positionContext:{isTable:!0,index:n.index,trIndex:p,tdIndex:R,tdId:m.id,trId:g.id,tableId:r.tableId},nextIndex:v.nextIndex}}}const f=i(c,u-1);if(f)return{positionContext:{isTable:!1},nextIndex:f.nextIndex}}return null}getNextControlContext(){if(!this.activeControl)return null;const n=this.draw.getPosition().getPositionContext();if(!n)return null;const r=this.activeControl.getElement();function i(c,u){for(let l=u;l<c.length;l++){const h=c[l];if(h.type===fe.TABLE){const d=h.trList||[];for(let f=0;f<d.length;f++){const p=d[f],g=p.tdList;for(let y=0;y<g.length;y++){const R=g[y],m=i(R.value,0);if(m)return{positionContext:{isTable:!0,index:l,trIndex:f,tdIndex:y,tdId:R.id,trId:p.id,tableId:h.id},nextIndex:m.nextIndex}}}}if(!(!h.controlId||h.controlId===r.controlId))return{positionContext:{isTable:!1},nextIndex:l}}return null}const{endIndex:o}=this.range.getRange(),a=this.getElementList(),s=i(a,o);if(s)return{positionContext:n.isTable?n:s.positionContext,nextIndex:s.nextIndex};if(r.tableId){const c=this.draw.getOriginalElementList(),{index:u,trIndex:l,tdIndex:h}=n,d=c[u].trList;for(let p=l;p<d.length;p++){const g=d[p],y=g.tdList;for(let R=0;R<y.length;R++){if(l===p&&R<=h)continue;const m=y[R],v=i(m.value,0);if(v)return{positionContext:{isTable:!0,index:n.index,trIndex:p,tdIndex:R,tdId:m.id,trId:g.id,tableId:r.tableId},nextIndex:v.nextIndex}}}const f=i(c,u+1);if(f)return{positionContext:{isTable:!1},nextIndex:f.nextIndex}}return null}initNextControl(e={}){const{direction:n=bn.DOWN}=e;let r=null;if(n===bn.UP?r=this.getPreControlContext():r=this.getNextControlContext(),!r)return;const{nextIndex:i,positionContext:o}=r,a=this.draw.getPosition();a.setPositionContext(o),this.draw.getRange().replaceRange({startIndex:i,endIndex:i}),this.draw.render({curIndex:i,isCompute:!1,isSetCursor:!0,isSubmitHistory:!1});const s=a.getPositionList();this.draw.getCursor().moveCursorToVisible({cursorPosition:s[i],direction:n})}}class mT{constructor(e){this.draw=e,this.options=e.getOptions()}setSelect(e){const{checkbox:n}=e;n?n.value=!n.value:e.checkbox={value:!0},this.draw.render({isCompute:!1,isSetCursor:!1})}render(e,n,r,i){const{checkbox:{gap:o,lineWidth:a,fillStyle:s,strokeStyle:c},scale:u}=this.options,{metrics:l,checkbox:h}=n,d=Math.round(r+o*u),f=Math.round(i-l.height+a),p=l.width-o*2*u,g=l.height;e.save(),e.beginPath(),e.translate(.5,.5),h!=null&&h.value?(e.lineWidth=a,e.strokeStyle=s,e.rect(d,f,p,g),e.stroke(),e.beginPath(),e.fillStyle=s,e.fillRect(d,f,p,g),e.beginPath(),e.strokeStyle=c,e.lineWidth=a*2*u,e.moveTo(d+2*u,f+g/2),e.lineTo(d+p/2,f+g-3*u),e.lineTo(d+p-2*u,f+3*u),e.stroke()):(e.lineWidth=a,e.rect(d,f,p,g),e.stroke()),e.closePath(),e.restore()}}class RT{constructor(e){this.draw=e,this.options=e.getOptions()}setSelect(e){const{radio:n}=e;n?n.value=!n.value:e.radio={value:!0},this.draw.render({isCompute:!1,isSetCursor:!1})}render(e,n,r,i){const{radio:{gap:o,lineWidth:a,fillStyle:s,strokeStyle:c},scale:u}=this.options,{metrics:l,radio:h}=n,d=Math.round(r+o*u),f=Math.round(i-l.height+a),p=l.width-o*2*u,g=l.height;e.save(),e.beginPath(),e.translate(.5,.5),e.strokeStyle=h!=null&&h.value?s:c,e.lineWidth=a,e.arc(d+p/2,f+g/2,p/2,0,Math.PI*2),e.stroke(),h!=null&&h.value&&(e.beginPath(),e.fillStyle=s,e.arc(d+p/2,f+g/2,p/3,0,Math.PI*2),e.fill()),e.closePath(),e.restore()}}const lR="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2NvbnN0IGE9Ilx1MjAwQiIsdT1gCmA7ZnVuY3Rpb24gZihpKXtsZXQgcz0iIixuPTA7Zm9yKDtuPGkubGVuZ3RoOyl7Y29uc3QgZT1pW25dO2lmKGUudHlwZT09PSJ0YWJsZSIpe2lmKGUudHJMaXN0KWZvcihsZXQgbD0wO2w8ZS50ckxpc3QubGVuZ3RoO2wrKyl7Y29uc3Qgbz1lLnRyTGlzdFtsXTtmb3IobGV0IHQ9MDt0PG8udGRMaXN0Lmxlbmd0aDt0Kyspe2NvbnN0IHI9by50ZExpc3RbdF07cys9ZihyLnZhbHVlKX19fWVsc2UgaWYoZS50eXBlPT09Imh5cGVybGluayIpe2NvbnN0IGw9ZS5oeXBlcmxpbmtJZCxvPVtdO2Zvcig7bjxpLmxlbmd0aDspe2NvbnN0IHQ9aVtuXTtpZihsIT09dC5oeXBlcmxpbmtJZCl7bi0tO2JyZWFrfWRlbGV0ZSB0LnR5cGUsby5wdXNoKHQpLG4rK31zKz1mKG8pfWVsc2UgaWYoZS5jb250cm9sSWQpe2NvbnN0IGw9ZS5jb250cm9sSWQsbz1bXTtmb3IoO248aS5sZW5ndGg7KXtjb25zdCB0PWlbbl07aWYobCE9PXQuY29udHJvbElkKXtuLS07YnJlYWt9dC5jb250cm9sQ29tcG9uZW50PT09InZhbHVlIiYmKGRlbGV0ZSB0LmNvbnRyb2xJZCxvLnB1c2godCkpLG4rK31zKz1mKG8pfWVsc2UoIWUudHlwZXx8ZS50eXBlPT09InRleHQiKSYmKHMrPWUudmFsdWUpO24rK31yZXR1cm4gc31mdW5jdGlvbiBoKGkpe2NvbnN0IHM9W10sbj0vWzAtOV0vLGU9L1tBLVphLXpdLyxsPS9ccy87bGV0IG89ITEsdD0hMSxyPSIiO2Z1bmN0aW9uIHAoKXtyJiYocy5wdXNoKHIpLHI9IiIpfWZvcihjb25zdCBjIG9mIGkpZS50ZXN0KGMpPyhvfHxwKCkscis9YyxvPSEwLHQ9ITEpOm4udGVzdChjKT8odHx8cCgpLHIrPWMsbz0hMSx0PSEwKToocCgpLG89ITEsdD0hMSxsLnRlc3QoYyl8fHMucHVzaChjKSk7cmV0dXJuIHAoKSxzfW9ubWVzc2FnZT1pPT57Y29uc3Qgcz1pLmRhdGEsZT1mKHMpLnJlcGxhY2UobmV3IFJlZ0V4cChgXiR7YX1gKSwiIikucmVwbGFjZShuZXcgUmVnRXhwKGEsImciKSx1KSxsPWgoZSk7cG9zdE1lc3NhZ2UobC5sZW5ndGgpfX0pKCk7Cg==",M1=typeof window!="undefined"&&window.Blob&&new Blob([atob(lR)],{type:"text/javascript;charset=utf-8"});function yT(){const t=M1&&(window.URL||window.webkitURL).createObjectURL(M1);try{return t?new Worker(t,{}):new Worker("data:application/javascript;base64,"+lR,{type:"module"})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}const hR="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2NvbnN0IHU9e2ZpcnN0OjEsc2Vjb25kOjIsdGhpcmQ6Myxmb3VydGg6NCxmaWZ0aDo1LHNpeHRoOjZ9LGc9WyJ0ZXh0IiwiaHlwZXJsaW5rIiwic3Vic2NyaXB0Iiwic3VwZXJzY3JpcHQiLCJjb250cm9sIiwiZGF0ZSJdLGg9Ilx1MjAwQiI7ZnVuY3Rpb24gcChuKXtyZXR1cm4hbi50eXBlfHxnLmluY2x1ZGVzKG4udHlwZSl9ZnVuY3Rpb24gZChuKXtjb25zdCBvPVtdO2xldCBzPTA7Zm9yKDtzPG4ubGVuZ3RoOyl7Y29uc3QgZT1uW3NdO2lmKGUudGl0bGVJZCl7Y29uc3QgbD1lLnRpdGxlSWQsdD1lLmxldmVsLGk9e3R5cGU6InRpdGxlIix2YWx1ZToiIixsZXZlbDp0LHRpdGxlSWQ6bH0sYz1bXTtmb3IoO3M8bi5sZW5ndGg7KXtjb25zdCBhPW5bc107aWYobCE9PWEudGl0bGVJZCl7cy0tO2JyZWFrfWMucHVzaChhKSxzKyt9aS52YWx1ZT1jLmZpbHRlcihhPT5wKGEpKS5tYXAoYT0+YS52YWx1ZSkuam9pbigiIikucmVwbGFjZShuZXcgUmVnRXhwKGgsImciKSwiIiksby5wdXNoKGkpfXMrK31pZighby5sZW5ndGgpcmV0dXJuIG51bGw7Y29uc3Qgdj0oZSxsKT0+e2NvbnN0IHQ9bC5zdWJDYXRhbG9nW2wuc3ViQ2F0YWxvZy5sZW5ndGgtMV0saT11W3Q9PW51bGw/dm9pZCAwOnQubGV2ZWxdLGM9dVtlLmxldmVsXTt0JiZjPmk/dihlLHQpOmwuc3ViQ2F0YWxvZy5wdXNoKHtpZDplLnRpdGxlSWQsbmFtZTplLnZhbHVlLGxldmVsOmUubGV2ZWwsc3ViQ2F0YWxvZzpbXX0pfSxyPVtdO2ZvcihsZXQgZT0wO2U8by5sZW5ndGg7ZSsrKXtjb25zdCBsPW9bZV0sdD1yW3IubGVuZ3RoLTFdLGk9dVt0PT1udWxsP3ZvaWQgMDp0LmxldmVsXSxjPXVbbC5sZXZlbF07dCYmYz5pP3YobCx0KTpyLnB1c2goe2lkOmwudGl0bGVJZCxuYW1lOmwudmFsdWUsbGV2ZWw6bC5sZXZlbCxzdWJDYXRhbG9nOltdfSl9cmV0dXJuIHJ9b25tZXNzYWdlPW49Pntjb25zdCBvPW4uZGF0YSxzPWQobyk7cG9zdE1lc3NhZ2Uocyl9fSkoKTsK",L1=typeof window!="undefined"&&window.Blob&&new Blob([atob(hR)],{type:"text/javascript;charset=utf-8"});function vT(){const t=L1&&(window.URL||window.webkitURL).createObjectURL(L1);try{return t?new Worker(t,{}):new Worker("data:application/javascript;base64,"+hR,{type:"module"})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}const dR="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIHUoZSl7Y29uc3QgdD1bXTtmb3IoY29uc3QgcyBvZiBlKXtpZihzLnR5cGU9PT0idGFibGUiKXtjb25zdCBvPXMudHJMaXN0O2ZvcihsZXQgbj0wO248by5sZW5ndGg7bisrKXtjb25zdCBjPW9bbl07Zm9yKGxldCByPTA7cjxjLnRkTGlzdC5sZW5ndGg7cisrKXtjb25zdCBpPWMudGRMaXN0W3JdO3QucHVzaCguLi51KGkudmFsdWUpKX19fWlmKCEhcy5ncm91cElkcylmb3IoY29uc3QgbyBvZiBzLmdyb3VwSWRzKXQuaW5jbHVkZXMobyl8fHQucHVzaChvKX1yZXR1cm4gdH1vbm1lc3NhZ2U9ZT0+e2NvbnN0IHQ9ZS5kYXRhLHM9dSh0KTtwb3N0TWVzc2FnZShzKX19KSgpOwo=",C1=typeof window!="undefined"&&window.Blob&&new Blob([atob(dR)],{type:"text/javascript;charset=utf-8"});function bT(){const t=C1&&(window.URL||window.webkitURL).createObjectURL(C1);try{return t?new Worker(t,{}):new Worker("data:application/javascript;base64,"+dR,{type:"module"})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class xT{constructor(e){this.draw=e,this.wordCountWorker=new yT,this.catalogWorker=new vT,this.groupWorker=new bT}getWordCount(){return new Promise((e,n)=>{this.wordCountWorker.onmessage=i=>{e(i.data)},this.wordCountWorker.onerror=i=>{n(i)};const r=this.draw.getOriginalMainElementList();this.wordCountWorker.postMessage(r)})}getCatalog(){return new Promise((e,n)=>{this.catalogWorker.onmessage=i=>{e(i.data)},this.catalogWorker.onerror=i=>{n(i)};const r=this.draw.getOriginalMainElementList();this.catalogWorker.postMessage(r)})}getGroupIds(){return new Promise((e,n)=>{this.groupWorker.onmessage=i=>{e(i.data)},this.groupWorker.onerror=i=>{n(i)};const r=this.draw.getOriginalMainElementList();this.groupWorker.postMessage(r)})}}class wT{constructor(e){this._keydown=()=>{this.resizerSelection.style.display==="block"&&(this.clearResizer(),document.removeEventListener("keydown",this._keydown))},this.container=e.getContainer(),this.canvas=e.getPage(),this.draw=e,this.options=e.getOptions(),this.curElement=null,this.curElementSrc="",this.previewerDrawOption={},this.curPosition=null;const{resizerSelection:n,resizerHandleList:r,resizerImageContainer:i,resizerImage:o,resizerSize:a}=this._createResizerDom();this.resizerSelection=n,this.resizerHandleList=r,this.resizerImageContainer=i,this.resizerImage=o,this.resizerSize=a,this.width=0,this.height=0,this.mousedownX=0,this.mousedownY=0,this.curHandleIndex=0,this.previewerContainer=null,this.previewerImage=null}_getElementPosition(e,n=null){var u;let r=0,i=0;const o=this.draw.getHeight(),a=this.draw.getPageGap(),c=((u=n==null?void 0:n.pageNo)!=null?u:this.draw.getPageNo())*(o+a);if(e.imgFloatPosition)r=e.imgFloatPosition.x,i=e.imgFloatPosition.y+c;else if(n){const{coordinate:{leftTop:[l,h]},ascent:d}=n;r=l,i=h+c+d}return{x:r,y:i}}_createResizerDom(){const e=document.createElement("div");e.classList.add(`${ke}-resizer-selection`),e.style.display="none",e.style.borderColor=this.options.resizerColor;const n=[];for(let s=0;s<8;s++){const c=document.createElement("div");c.style.background=this.options.resizerColor,c.classList.add("resizer-handle"),c.classList.add(`handle-${s}`),c.setAttribute("data-index",String(s)),c.onmousedown=this._mousedown.bind(this),e.append(c),n.push(c)}this.container.append(e);const r=document.createElement("div");r.classList.add(`${ke}-resizer-size-view`);const i=document.createElement("span");r.append(i),e.append(r);const o=document.createElement("div");o.classList.add(`${ke}-resizer-image`),o.style.display="none";const a=document.createElement("img");return o.append(a),this.container.append(o),{resizerSelection:e,resizerHandleList:n,resizerImageContainer:o,resizerImage:a,resizerSize:i}}_mousedown(e){if(this.canvas=this.draw.getPage(),!this.curElement)return;const{scale:n}=this.options;this.mousedownX=e.x,this.mousedownY=e.y;const r=e.target;this.curHandleIndex=Number(r.dataset.index);const i=window.getComputedStyle(r).cursor;document.body.style.cursor=i,this.canvas.style.cursor=i,this.resizerImage.src=this.curElementSrc,this.resizerImageContainer.style.display="block";const{x:o,y:a}=this._getElementPosition(this.curElement,this.curPosition);this.resizerImageContainer.style.left=`${o}px`,this.resizerImageContainer.style.top=`${a}px`,this.resizerImage.style.width=`${this.curElement.width*n}px`,this.resizerImage.style.height=`${this.curElement.height*n}px`;const s=this._mousemove.bind(this);document.addEventListener("mousemove",s),document.addEventListener("mouseup",()=>{var c;this.curElement&&(this.curElement.width=this.width,this.curElement.height=this.height,this.draw.render({isSetCursor:!0,curIndex:(c=this.curPosition)==null?void 0:c.index})),this.resizerImageContainer.style.display="none",document.removeEventListener("mousemove",s),document.body.style.cursor="",this.canvas.style.cursor="text"},{once:!0}),e.preventDefault()}_mousemove(e){if(!this.curElement)return;const{scale:n}=this.options;let r=0,i=0;switch(this.curHandleIndex){case 0:{const u=this.mousedownX-e.x,l=this.mousedownY-e.y;r=Math.cbrt(u**3+l**3),i=this.curElement.height*r/this.curElement.width}break;case 1:i=this.mousedownY-e.y;break;case 2:{const u=e.x-this.mousedownX,l=this.mousedownY-e.y;r=Math.cbrt(u**3+l**3),i=this.curElement.height*r/this.curElement.width}break;case 4:{const u=e.x-this.mousedownX,l=e.y-this.mousedownY;r=Math.cbrt(u**3+l**3),i=this.curElement.height*r/this.curElement.width}break;case 3:r=e.x-this.mousedownX;break;case 5:i=e.y-this.mousedownY;break;case 6:{const u=this.mousedownX-e.x,l=e.y-this.mousedownY;r=Math.cbrt(u**3+l**3),i=this.curElement.height*r/this.curElement.width}break;case 7:r=this.mousedownX-e.x;break}const o=this.curElement.width+r/n,a=this.curElement.height+i/n;if(o<=0||a<=0)return;this.width=o,this.height=a;const s=o*n,c=a*n;this.resizerImage.style.width=`${s}px`,this.resizerImage.style.height=`${c}px`,this._updateResizerRect(s,c),this._updateResizerSizeView(s,c),e.preventDefault()}_drawPreviewer(){const e=document.createElement("div");e.classList.add(`${ke}-image-previewer`);const n=document.createElement("i");n.classList.add("image-close"),n.onclick=()=>{this._clearPreviewer()},e.append(n);const r=document.createElement("div");r.classList.add(`${ke}-image-container`);const i=document.createElement("img");i.src=this.curElementSrc,i.draggable=!1,r.append(i),this.previewerImage=i,e.append(r);let o=0,a=0,s=1,c=0;const u=document.createElement("div");u.classList.add(`${ke}-image-menu`);const l=document.createElement("i");l.classList.add("zoom-in"),l.onclick=()=>{s+=.1,this._setPreviewerTransform(s,c,o,a)},u.append(l);const h=document.createElement("i");h.onclick=()=>{s-.1<=.1||(s-=.1,this._setPreviewerTransform(s,c,o,a))},h.classList.add("zoom-out"),u.append(h);const d=document.createElement("i");d.classList.add("rotate"),d.onclick=()=>{c+=1,this._setPreviewerTransform(s,c,o,a)},u.append(d);const f=document.createElement("i");f.classList.add("original-size"),f.onclick=()=>{o=0,a=0,s=1,c=0,this._setPreviewerTransform(s,c,o,a)},u.append(f);const p=document.createElement("i");p.classList.add("image-download"),p.onclick=()=>{var v;const{mime:m}=this.previewerDrawOption;Zm(i.src,`${(v=this.curElement)==null?void 0:v.id}.${m||"png"}`)},u.append(p),e.append(u),this.previewerContainer=e,document.body.append(e);let g=0,y=0,R=!1;i.onmousedown=m=>{R=!0,g=m.x,y=m.y,e.style.cursor="move"},e.onmousemove=m=>{!R||(o+=m.x-g,a+=m.y-y,g=m.x,y=m.y,this._setPreviewerTransform(s,c,o,a))},e.onmouseup=()=>{R=!1,e.style.cursor="auto"},e.onwheel=m=>{if(m.preventDefault(),m.deltaY<0)s+=.1;else{if(s-.1<=.1)return;s-=.1}this._setPreviewerTransform(s,c,o,a)}}_setPreviewerTransform(e,n,r,i){!this.previewerImage||(this.previewerImage.style.left=`${r}px`,this.previewerImage.style.top=`${i}px`,this.previewerImage.style.transform=`scale(${e}) rotate(${n*90}deg)`)}_clearPreviewer(){var e;(e=this.previewerContainer)==null||e.remove(),this.previewerContainer=null,document.body.style.overflow="auto"}_updateResizerRect(e,n){const r=this.options.resizerSize;this.resizerSelection.style.width=`${e}px`,this.resizerSelection.style.height=`${n}px`;for(let i=0;i<8;i++){const o=i===0||i===6||i===7?-r:i===1||i===5?e/2:e-r,a=i===0||i===1||i===2?-r:i===3||i===7?n/2-r:n-r;this.resizerHandleList[i].style.left=`${o}px`,this.resizerHandleList[i].style.top=`${a}px`}}_updateResizerSizeView(e,n){this.resizerSize.innerText=`${Math.round(e)} \xD7 ${Math.round(n)}`}render(){this._drawPreviewer(),document.body.style.overflow="hidden"}drawResizer(e,n=null,r={}){this.previewerDrawOption=r,this.curElementSrc=e[r.srcKey||"value"]||"",this.updateResizer(e,n),document.addEventListener("keydown",this._keydown)}updateResizer(e,n=null){const{scale:r}=this.options,i=e.width*r,o=e.height*r;this._updateResizerSizeView(i,o);const{x:a,y:s}=this._getElementPosition(e,n);this.resizerSelection.style.left=`${a}px`,this.resizerSelection.style.top=`${s}px`,this._updateResizerRect(i,o),this.resizerSelection.style.display="block",this.curElement=e,this.curPosition=n,this.width=i,this.height=o}clearResizer(){this.resizerSelection.style.display="none",document.removeEventListener("keydown",this._keydown)}}class TT{constructor(e){this.draw=e,this.range=e.getRange(),this.datePicker=new uR(e,{onSubmit:this._setValue.bind(this)})}_setValue(e){if(!e)return;const n=this.getDateElementRange();if(!n)return;const[r,i]=n,o=this.draw.getElementList(),a=o[r+1];this.draw.spliceElementList(o,r+1,i-r),this.range.setRange(r,r);const s={type:fe.DATE,value:"",dateFormat:a.dateFormat,valueList:[{value:e}]};wn(o,[s],r),this.draw.insertElementList([s])}getDateElementRange(){let e=-1,n=-1;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return null;const o=this.draw.getElementList(),a=o[r];if(a.type!==fe.DATE)return null;let s=r;for(;s>0;){if(o[s].dateId!==a.dateId){e=s;break}s--}let c=r+1;for(;c<o.length;){if(o[c].dateId!==a.dateId){n=c-1;break}c++}return c===o.length&&(n=c-1),!~e||!~n?null:[e,n]}clearDatePicker(){this.datePicker.dispose()}renderDatePicker(e,n){const r=this.draw.getElementList(),i=this.getDateElementRange(),o=i?r.slice(i[0]+1,i[1]+1).map(a=>a.value).join(""):"";this.datePicker.render({value:o,position:n,dateFormat:e.dateFormat})}}var xs=(t=>(t.IFRAME="iframe",t.VIDEO="video",t))(xs||{});const fR=class{constructor(t){this.element=t}_defineIframeProperties(t){Object.defineProperties(t,{parent:{get:()=>null},__POWERED_BY_CANVAS_EDITOR__:{get:()=>!0}})}render(t){var r,i;const e=this.element.block,n=document.createElement("iframe");n.setAttribute("data-id",this.element.id),n.sandbox.add(...fR.sandbox),n.style.border="none",n.style.width="100%",n.style.height="100%",(r=e.iframeBlock)!=null&&r.src?n.src=e.iframeBlock.src:(i=e.iframeBlock)!=null&&i.srcdoc&&(n.srcdoc=e.iframeBlock.srcdoc),t.append(n),this._defineIframeProperties(n.contentWindow)}};let pR=fR;pR.sandbox=["allow-scripts","allow-same-origin"];class ST{constructor(e){this.element=e}render(e){var i;const n=this.element.block,r=document.createElement("video");r.style.width="100%",r.style.height="100%",r.style.objectFit="contain",r.src=((i=n.videoBlock)==null?void 0:i.src)||"",r.controls=!0,r.crossOrigin="anonymous",e.append(r)}}class DT{constructor(e,n){this.draw=e.getDraw(),this.blockContainer=e.getBlockContainer(),this.element=n,this.block=null,this.blockItem=this._createBlockItem(),this.blockContainer.append(this.blockItem)}getBlockElement(){return this.element}_createBlockItem(){const e=document.createElement("div");return e.classList.add(`${ke}-block-item`),e}render(){const e=this.element.block;e.type===xs.IFRAME?(this.block=new pR(this.element),this.block.render(this.blockItem)):e.type===xs.VIDEO&&(this.block=new ST(this.element),this.block.render(this.blockItem))}setClientRects(e,n,r){const i=this.draw.getHeight(),o=this.draw.getPageGap(),a=e*(i+o),{metrics:s}=this.element;this.blockItem.style.width=`${s.width}px`,this.blockItem.style.height=`${s.height}px`,this.blockItem.style.left=`${n}px`,this.blockItem.style.top=`${a+r}px`}remove(){this.blockItem.remove()}}class OT{constructor(e){this.draw=e,this.container=e.getContainer(),this.blockMap=new Map,this.blockContainer=this._createBlockContainer(),this.container.append(this.blockContainer)}_createBlockContainer(){const e=document.createElement("div");return e.classList.add(`${ke}-block-container`),e}getDraw(){return this.draw}getBlockContainer(){return this.blockContainer}render(e,n,r,i){const o=n.id,a=this.blockMap.get(o);if(a)a.setClientRects(e,r,i);else{const s=new DT(this,n);s.render(),s.setClientRects(e,r,i),this.blockMap.set(o,s)}}clear(){if(!this.blockMap.size)return;const e=this.draw.getElementList(),n=[];for(let r=0;r<e.length;r++){const i=e[r];i.type===fe.BLOCK&&n.push(i.id)}this.blockMap.forEach(r=>{const i=r.getBlockElement().id;n.includes(i)||(r.remove(),this.blockMap.delete(i))})}}const _T={global:{cut:"\u526A\u5207",copy:"\u590D\u5236",paste:"\u7C98\u8D34",selectAll:"\u5168\u9009",print:"\u6253\u5370"},control:{delete:"\u5220\u9664\u63A7\u4EF6"},hyperlink:{delete:"\u5220\u9664\u94FE\u63A5",cancel:"\u53D6\u6D88\u94FE\u63A5",edit:"\u7F16\u8F91\u94FE\u63A5"},image:{change:"\u66F4\u6539\u56FE\u7247",saveAs:"\u53E6\u5B58\u4E3A\u56FE\u7247",textWrap:"\u6587\u5B57\u73AF\u7ED5",textWrapType:{embed:"\u5D4C\u5165\u578B",upDown:"\u4E0A\u4E0B\u578B\u73AF\u7ED5",floatTop:"\u6D6E\u4E8E\u6587\u5B57\u4E0A\u65B9",floatBottom:"\u886C\u4E8E\u6587\u5B57\u4E0B\u65B9"}},table:{insertRowCol:"\u63D2\u5165\u884C\u5217",insertTopRow:"\u4E0A\u65B9\u63D2\u51651\u884C",insertBottomRow:"\u4E0B\u65B9\u63D2\u51651\u884C",insertLeftCol:"\u5DE6\u4FA7\u63D2\u51651\u5217",insertRightCol:"\u53F3\u4FA7\u63D2\u51651\u5217",deleteRowCol:"\u5220\u9664\u884C\u5217",deleteRow:"\u5220\u96641\u884C",deleteCol:"\u5220\u96641\u5217",deleteTable:"\u5220\u9664\u6574\u4E2A\u8868\u683C",mergeCell:"\u5408\u5E76\u5355\u5143\u683C",mergeCancelCell:"\u53D6\u6D88\u5408\u5E76",verticalAlign:"\u5782\u76F4\u5BF9\u9F50",verticalAlignTop:"\u9876\u7AEF\u5BF9\u9F50",verticalAlignMiddle:"\u5782\u76F4\u5C45\u4E2D",verticalAlignBottom:"\u5E95\u7AEF\u5BF9\u9F50",border:"\u8868\u683C\u8FB9\u6846",borderAll:"\u6240\u6709\u6846\u7EBF",borderEmpty:"\u65E0\u6846\u7EBF",borderExternal:"\u5916\u4FA7\u6846\u7EBF",borderTd:"\u5355\u5143\u683C\u8FB9\u6846",borderTdTop:"\u4E0A\u8FB9\u6846",borderTdRight:"\u53F3\u8FB9\u6846",borderTdBottom:"\u4E0B\u8FB9\u6846",borderTdLeft:"\u5DE6\u8FB9\u6846",borderTdForward:"\u6B63\u659C\u7EBF",borderTdBack:"\u53CD\u659C\u7EBF"}},ET={now:"\u6B64\u523B",confirm:"\u786E\u5B9A",return:"\u8FD4\u56DE\u65E5\u671F",timeSelect:"\u65F6\u95F4\u9009\u62E9",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},year:"\u5E74",month:"\u6708",hour:"\u65F6",minute:"\u5206",second:"\u79D2"},IT={header:"\u9875\u7709",footer:"\u9875\u811A"},NT={displayName:"\u5206\u9875\u7B26"},FT={headerTip:"\u53CC\u51FB\u7F16\u8F91\u9875\u7709",footerTip:"\u53CC\u51FB\u7F16\u8F91\u9875\u811A"};var Al={contextmenu:_T,datePicker:ET,frame:IT,pageBreak:NT,zone:FT};const PT={global:{cut:"Cut",copy:"Copy",paste:"Paste",selectAll:"Select all",print:"Print"},control:{delete:"Delete control"},hyperlink:{delete:"Delete hyperlink",cancel:"Cancel hyperlink",edit:"Edit hyperlink"},image:{change:"Change image",saveAs:"Save as image",textWrap:"Text wrap",textWrapType:{embed:"Embed",upDown:"Up down",floatTop:"Float above text",floatBottom:"Float below text"}},table:{insertRowCol:"Insert row col",insertTopRow:"Insert top 1 row",insertBottomRow:"Insert bottom 1 row",insertLeftCol:"Insert left 1 col",insertRightCol:"Insert right 1 col",deleteRowCol:"Delete row col",deleteRow:"Delete 1 row",deleteCol:"Delete 1 col",deleteTable:"Delete table",mergeCell:"Merge cell",mergeCancelCell:"Cancel merge cell",verticalAlign:"Vertical align",verticalAlignTop:"Top",verticalAlignMiddle:"Middle",verticalAlignBottom:"Bottom",border:"Table border",borderAll:"All",borderEmpty:"Empty",borderExternal:"External",borderTd:"Table cell border",borderTdTop:"Top",borderTdRight:"Right",borderTdBottom:"Bottom",borderTdLeft:"Left",borderTdForward:"Forward",borderTdBack:"Back"}},MT={now:"Now",confirm:"Confirm",return:"Return",timeSelect:"Time select",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},year:" ",month:" ",hour:"Hour",minute:"Minute",second:"Second"},LT={header:"Header",footer:"Footer"},CT={displayName:"Page Break"},AT={headerTip:"Double click to edit header",footerTip:"Double click to edit footer"};var UT={contextmenu:PT,datePicker:MT,frame:LT,pageBreak:CT,zone:AT};class WT{constructor(){this.langMap=new Map([["zhCN",Al],["en",UT]]),this.currentLocale="zhCN"}registerLangMap(e,n){const r=this.langMap.get(e);this.langMap.set(e,km(r||Al,n))}getLocale(){return this.currentLocale}setLocale(e){this.currentLocale=e}getLang(){return this.langMap.get(this.currentLocale)||Al}t(e){const n=e.split(".");let r="",i=this.getLang();for(let o=0;o<n.length;o++){const a=n[o],s=Reflect.get(i,a);if(s)r=i=s;else return""}return r}}class XT{constructor(){this.promiseList=[]}add(e){this.promiseList.push(e)}clearAll(){this.promiseList=[]}allSettled(){return Promise.allSettled(this.promiseList)}}class VT{constructor(e,n){this.draw=e,this.zone=n,this.i18n=e.getI18n(),this.container=e.getContainer(),this.pageContainer=e.getPageContainer();const{tipContainer:r,tipContent:i}=this._drawZoneTip();this.tipContainer=r,this.tipContent=i,this.isDisableMouseMove=!0,this.currentMoveZone=it.MAIN;const o=[],{header:a,footer:s}=e.getOptions();a.disabled||o.push(it.HEADER),s.disabled||o.push(it.FOOTER),o.length&&this._watchMouseMoveZoneChange(o)}_watchMouseMoveZoneChange(e){this.pageContainer.addEventListener("mousemove",Ex(n=>{if(!(this.isDisableMouseMove||!this.draw.getIsPagingMode())&&!!n.offsetY)if(n.target instanceof HTMLCanvasElement){const r=this.zone.getZoneByY(n.offsetY);if(!e.includes(r)){this._updateZoneTip(!1);return}this.currentMoveZone=r,this._updateZoneTip(this.zone.getZone()===it.MAIN&&(r===it.HEADER||r===it.FOOTER),n.x,n.y)}else this._updateZoneTip(!1)},250)),this.pageContainer.addEventListener("mouseenter",()=>{this.isDisableMouseMove=!1}),this.pageContainer.addEventListener("mouseleave",()=>{this.isDisableMouseMove=!0,this._updateZoneTip(!1)})}_drawZoneTip(){const e=document.createElement("div");e.classList.add(`${ke}-zone-tip`);const n=document.createElement("span");return e.append(n),this.container.append(e),{tipContainer:e,tipContent:n}}_updateZoneTip(e,n,r){e?(this.tipContainer.classList.add("show"),this.tipContainer.style.left=`${n}px`,this.tipContainer.style.top=`${r}px`,this.tipContent.innerText=this.i18n.t(`zone.${this.currentMoveZone===it.HEADER?"headerTip":"footerTip"}`)):this.tipContainer.classList.remove("show")}}class YT{constructor(e){this.INDICATOR_PADDING=2,this.INDICATOR_TITLE_TRANSLATE=[20,5],this.draw=e,this.i18n=e.getI18n(),this.options=e.getOptions(),this.container=e.getContainer(),this.currentZone=it.MAIN,this.indicatorContainer=null,this.options.zone.tipDisabled||new VT(e,this)}isHeaderActive(){return this.getZone()===it.HEADER}isMainActive(){return this.getZone()===it.MAIN}isFooterActive(){return this.getZone()===it.FOOTER}getZone(){return this.currentZone}setZone(e){this.currentZone!==e&&(this.currentZone=e,this.draw.getRange().clearRange(),this.draw.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1}),this.drawZoneIndicator(),cu(()=>{const n=this.draw.getListener();n.zoneChange&&n.zoneChange(e);const r=this.draw.getEventBus();r.isSubscribe("zoneChange")&&r.emit("zoneChange",e)}))}getZoneByY(e){const n=this.draw.getHeader(),r=n.getHeaderTop()+n.getHeight(),i=this.draw.getFooter(),a=this.draw.getHeight()-(i.getFooterBottom()+i.getHeight());return e<r?it.HEADER:e>a?it.FOOTER:it.MAIN}drawZoneIndicator(){if(this._clearZoneIndicator(),!this.isHeaderActive()&&!this.isFooterActive())return;const{scale:e}=this.options,n=this.isHeaderActive(),[r,i]=this.INDICATOR_TITLE_TRANSLATE,o=this.draw.getPageList(),a=this.draw.getMargins(),s=this.draw.getInnerWidth(),c=this.draw.getHeight(),u=this.draw.getPageGap(),l=c+u;this.indicatorContainer=document.createElement("div"),this.indicatorContainer.classList.add(`${ke}-zone-indicator`);const h=this.draw.getHeader(),d=this.draw.getFooter(),f=n?h.getHeight():d.getHeight(),p=n?h.getHeaderTop():c-d.getFooterBottom()-f;for(let g=0;g<o.length;g++){const y=l*g+p,R=a[3]-this.INDICATOR_PADDING,m=a[3]+s+this.INDICATOR_PADDING,v=n?y-this.INDICATOR_PADDING:y+f+this.INDICATOR_PADDING,x=n?y+f+this.INDICATOR_PADDING:y-this.INDICATOR_PADDING,O=document.createElement("div");O.innerText=this.i18n.t(`frame.${n?"header":"footer"}`),O.style.top=`${x}px`,O.style.transform=`translate(${r*e}px, ${i*e}px) scale(${e})`,this.indicatorContainer.append(O);const E=document.createElement("span");E.classList.add(`${ke}-zone-indicator-border__top`),E.style.top=`${v}px`,E.style.width=`${s}px`,E.style.marginLeft=`${a[3]}px`,this.indicatorContainer.append(E);const N=document.createElement("span");N.classList.add(`${ke}-zone-indicator-border__left`),N.style.top=`${y}px`,N.style.height=`${f}px`,N.style.left=`${R}px`,this.indicatorContainer.append(N);const M=document.createElement("span");M.classList.add(`${ke}-zone-indicator-border__bottom`),M.style.top=`${x}px`,this.indicatorContainer.append(M);const _=document.createElement("span");_.classList.add(`${ke}-zone-indicator-border__right`),_.style.top=`${y}px`,_.style.height=`${f}px`,_.style.left=`${m}px`,this.indicatorContainer.append(_)}this.container.append(this.indicatorContainer)}_clearZoneIndicator(){var e;(e=this.indicatorContainer)==null||e.remove(),this.indicatorContainer=null}}class BT{constructor(e,n){this.draw=e,this.position=e.getPosition(),this.options=e.getOptions(),this.elementList=n||[],this.rowList=[],this.positionList=[]}getRowList(){return this.rowList}setElementList(e){this.elementList=e}getElementList(){return this.elementList}getPositionList(){return this.positionList}compute(){this.recovery(),this._computeRowList(),this._computePositionList()}recovery(){this.rowList=[],this.positionList=[]}_computeRowList(){const e=this.draw.getInnerWidth();this.rowList=this.draw.computeRowList({innerWidth:e,elementList:this.elementList})}_computePositionList(){const e=this.getFooterBottom(),n=this.draw.getInnerWidth(),i=this.draw.getMargins()[3],o=this.draw.getHeight(),a=this.getHeight(),s=o-e-a;this.position.computePageRowPosition({positionList:this.positionList,rowList:this.rowList,pageNo:0,startRowIndex:0,startIndex:0,startX:i,startY:s,innerWidth:n,zone:it.FOOTER})}getFooterBottom(){const{footer:{bottom:e,disabled:n},scale:r}=this.options;return n?0:Math.floor(e*r)}getMaxHeight(){const{footer:{maxHeightRadio:e}}=this.options,n=this.draw.getHeight();return Math.floor(n*Vm[e])}getHeight(){const e=this.getMaxHeight(),n=this.getRowHeight();return n>e?e:n}getRowHeight(){return this.rowList.reduce((e,n)=>e+n.height,0)}getExtraHeight(){const e=this.draw.getMargins(),n=this.getHeight(),i=this.getFooterBottom()+n-e[2];return i<=0?0:i}render(e,n){e.globalAlpha=1;const r=this.draw.getInnerWidth(),i=this.getMaxHeight(),o=[];let a=0;for(let s=0;s<this.rowList.length;s++){const c=this.rowList[s];if(a+c.height>i)break;o.push(c),a+=c.height}this.draw.drawRow(e,{elementList:this.elementList,positionList:this.positionList,rowList:o,pageNo:n,startIndex:0,innerWidth:r,zone:it.FOOTER})}}class ZT{constructor(e){this.UN_COUNT_STYLE_WIDTH=20,this.MEASURE_BASE_TEXT="0",this.LIST_GAP=10,this.draw=e,this.range=e.getRange(),this.options=e.getOptions()}setList(e,n){if(this.draw.isReadonly())return;const{startIndex:i,endIndex:o}=this.range.getRange();if(!~i&&!~o)return;const a=this.range.getRangeParagraphElementList();if(!a||!a.length)return;if(a.find(h=>h.listType===e&&h.listStyle===n)||!e){this.unsetList();return}const c=vt();a.forEach(h=>{h.listId=c,h.listType=e,h.listStyle=n});const u=i===o,l=u?o:i;this.draw.render({curIndex:l,isSetCursor:u})}unsetList(){var u;if(this.draw.isReadonly())return;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return;const i=(u=this.range.getRangeParagraphElementList())==null?void 0:u.filter(l=>l.listId);if(!i||!i.length)return;const o=this.draw.getElementList(),a=o[r];if(a.listId){let l=r+1;for(;l<o.length;){const h=o[l];if(h.value===We&&!h.listWrap)break;if(h.listId!==a.listId){this.draw.spliceElementList(o,l,0,{value:We});break}l++}}i.forEach(l=>{delete l.listId,delete l.listType,delete l.listStyle,delete l.listWrap});const s=n===r,c=s?r:n;this.draw.render({curIndex:c,isSetCursor:s})}computeListStyle(e,n){const r=new Map;let i=0,o=n[i].listId,a=[];const s=n.length;for(;i<s;){const c=n[i];if(o&&o===c.listId)a.push(c);else if(c.listId&&c.listId!==o){if(a.length){const u=this.getListStyleWidth(e,a);r.set(o,u)}o=c.listId,a=o?[c]:[]}i++}if(a.length){const c=this.getListStyleWidth(e,a);r.set(o,c)}return r}getListStyleWidth(e,n){const{scale:r,checkbox:i}=this.options,o=n[0];if(o.listStyle&&o.listStyle!==or.DECIMAL)return o.listStyle===or.CHECKBOX?(i.width+this.LIST_GAP)*r:this.UN_COUNT_STYLE_WIDTH*r;const a=n.reduce((u,l)=>(l.value===We&&(u+=1),u),0);if(!a)return 0;const s=`${this.MEASURE_BASE_TEXT.repeat(String(a).length)}${Qe.PERIOD}`,c=e.measureText(s);return Math.ceil((c.width+this.LIST_GAP)*r)}drawListStyle(e,n,r){var m;const{elementList:i,offsetX:o,listIndex:a,ascent:s}=n,c=i[0];if(c.value!==We||c.listWrap)return;let u=0;const{defaultTabWidth:l,scale:h,defaultFont:d,defaultSize:f}=this.options;for(let v=1;v<i.length;v++){const x=i[v];if((x==null?void 0:x.type)!==fe.TAB)break;u+=l*h}const{coordinate:{leftTop:[p,g]}}=r,y=p-o+u,R=g+s;if(c.listStyle===or.CHECKBOX){const{width:v,height:x,gap:O}=this.options.checkbox,E={...c,checkbox:{value:!!((m=c.checkbox)!=null&&m.value)},metrics:{...c.metrics,width:(v+O*2)*h,height:x*h}};this.draw.getCheckboxParticle().render(e,E,y-O*h,R)}else{let v="";if(c.listType===zr.UL?v=sd[c.listStyle]||sd[Ko.DISC]:v=`${a+1}${Qe.PERIOD}`,!v)return;e.save(),e.font=`${f*h}px ${d}`,e.fillText(v,y,R),e.restore()}}}const gR=class{constructor(t){this.options=t.getOptions()}render(t,e,n,r){const{scale:i,lineBreak:{color:o,lineWidth:a}}=this.options;t.save(),t.beginPath();const s=r-gR.HEIGHT*i/2,c=n+e.metrics.width;t.translate(c,s),t.scale(i,i),t.strokeStyle=o,t.lineWidth=a,t.lineCap="round",t.lineJoin="round",t.beginPath(),t.moveTo(8,0),t.lineTo(12,0),t.lineTo(12,6),t.lineTo(3,6),t.moveTo(3,6),t.lineTo(6,3),t.moveTo(3,6),t.lineTo(6,9),t.stroke(),t.closePath(),t.restore()}};let ca=gR;ca.WIDTH=12;ca.HEIGHT=9;ca.GAP=3;class kT{constructor(e){this.draw=e,this.position=e.getPosition(),this.options=e.getOptions(),this.elementList=[],this.rowList=[],this.positionList=[]}_recovery(){this.elementList=[],this.rowList=[],this.positionList=[]}_compute(){this._computeRowList(),this._computePositionList()}_computeRowList(){const e=this.draw.getInnerWidth();this.rowList=this.draw.computeRowList({innerWidth:e,elementList:this.elementList})}_computePositionList(){const{lineBreak:e,scale:n}=this.options,r=this.draw.getHeader().getExtraHeight(),i=this.draw.getInnerWidth(),o=this.draw.getMargins();let a=o[3];e.disabled||(a+=(ca.WIDTH+ca.GAP)*n);const s=o[0]+r;this.position.computePageRowPosition({positionList:this.positionList,rowList:this.rowList,pageNo:0,startRowIndex:0,startIndex:0,startX:a,startY:s,innerWidth:i})}render(e){const{placeholder:{data:n,font:r,size:i,color:o,opacity:a}}=this.options;if(!n)return;this._recovery(),this.elementList=[{value:n,font:r,size:i,color:o}],cr(this.elementList,{editorOptions:this.options}),this._compute();const s=this.draw.getInnerWidth();e.save(),e.globalAlpha=a,this.draw.drawRow(e,{elementList:this.elementList,positionList:this.positionList,rowList:this.rowList,pageNo:0,startIndex:0,innerWidth:s,isDrawLineBreak:!1}),e.restore()}}class QT{constructor(e){this.draw=e,this.options=e.getOptions(),this.range=e.getRange(),this.fillRectMap=new Map}setGroup(){if(this.draw.isReadonly()||this.draw.getZone().getZone()!==it.MAIN)return null;const e=this.range.getSelection();if(!e)return null;const n=vt();return e.forEach(r=>{Array.isArray(r.groupIds)||(r.groupIds=[]),r.groupIds.push(n)}),this.draw.render({isSetCursor:!1,isCompute:!1}),n}getElementListByGroupId(e,n){var i,o;const r=[];for(let a=0;a<e.length;a++){const s=e[a];if(s.type===fe.TABLE){const c=s.trList;for(let u=0;u<c.length;u++){const l=c[u];for(let h=0;h<l.tdList.length;h++){const d=l.tdList[h],f=this.getElementListByGroupId(d.value,n);if(f.length)return r.push(...f),r}}}if((i=s==null?void 0:s.groupIds)!=null&&i.includes(n)){r.push(s);const c=e[a+1];if(!((o=c==null?void 0:c.groupIds)!=null&&o.includes(n)))break}}return r}deleteGroup(e){if(this.draw.isReadonly())return;const n=this.draw.getOriginalMainElementList(),r=this.getElementListByGroupId(n,e);if(!!r.length){for(let i=0;i<r.length;i++){const o=r[i],a=o.groupIds,s=a.findIndex(c=>c===e);a.splice(s,1),a.length||delete o.groupIds}this.draw.render({isSetCursor:!1,isCompute:!1})}}getContextByGroupId(e,n){var r,i;for(let o=0;o<e.length;o++){const a=e[o];if(a.type===fe.TABLE){const c=a.trList;for(let u=0;u<c.length;u++){const l=c[u];for(let h=0;h<l.tdList.length;h++){const d=l.tdList[h],f=this.getContextByGroupId(d.value,n);if(f)return{...f,isTable:!0,index:o,trIndex:u,tdIndex:h,tdId:d.id,trId:l.id,tableId:a.tableId}}}}const s=e[o+1];if(((r=a.groupIds)==null?void 0:r.includes(n))&&!((i=s==null?void 0:s.groupIds)!=null&&i.includes(n)))return{isTable:!1,startIndex:o,endIndex:o}}return null}clearFillInfo(){this.fillRectMap.clear()}recordFillInfo(e,n,r,i,o){const a=e.groupIds;if(!!a)for(const s of a){const c=this.fillRectMap.get(s);c?c.width+=i:this.fillRectMap.set(s,{x:n,y:r,width:i,height:o})}}render(e){var u;if(!this.fillRectMap.size)return;const n=this.range.getRange(),i=(u=this.draw.getElementList()[n.endIndex])==null?void 0:u.groupIds,{group:{backgroundColor:o,opacity:a,activeOpacity:s,activeBackgroundColor:c}}=this.options;e.save(),this.fillRectMap.forEach((l,h)=>{const{x:d,y:f,width:p,height:g}=l;i!=null&&i.includes(h)?(e.globalAlpha=s,e.fillStyle=c):(e.globalAlpha=a,e.fillStyle=o),e.fillRect(d,f,p,g)}),e.restore(),this.clearFillInfo()}}class KT{constructor(e,n,r,i,o,a){this.container=this._wrapContainer(e),this.pageList=[],this.ctxList=[],this.pageNo=0,this.pagePixelRatio=null,this.mode=n.mode,this.options=n,this.elementList=r.main,this.listener=i,this.eventBus=o,this.override=a,this._formatContainer(),this.pageContainer=this._createPageContainer(),this._createPage(0),this.i18n=new WT,this.historyManager=new kw(this),this.position=new Qw(this),this.zone=new YT(this),this.range=new Kw(this),this.margin=new Jw(this),this.background=new Hw(this),this.search=new zw(this),this.group=new QT(this),this.underline=new jw(this),this.strikeout=new $w(this),this.highlight=new Gw(this),this.previewer=new wT(this),this.imageParticle=new Hm(this),this.laTexParticle=new zm(this),this.textParticle=new qw(this),this.tableParticle=new iT(this),this.tableTool=new oT(this),this.pageNumber=new tT(this),this.waterMark=new dT(this),this.placeholder=new kT(this),this.header=new sT(this,r.header),this.footer=new BT(this,r.footer),this.hyperlinkParticle=new aT(this),this.dateParticle=new TT(this),this.separatorParticle=new lT(this),this.pageBreakParticle=new hT(this),this.superscriptParticle=new cT,this.subscriptParticle=new uT,this.checkboxParticle=new mT(this),this.radioParticle=new RT(this),this.blockParticle=new OT(this),this.listParticle=new ZT(this),this.lineBreakParticle=new ca(this),this.control=new gT(this),this.scrollObserver=new nT(this),this.selectionObserver=new rT(this),this.imageObserver=new XT,this.canvasEvent=new Bw(this),this.cursor=new Rw(this,this.canvasEvent),this.canvasEvent.register(),this.globalEvent=new Zw(this,this.canvasEvent),this.globalEvent.register(),this.workerManager=new xT(this);const{letterClass:s}=n;this.LETTER_REG=new RegExp(`[${s.join("")}]`),this.WORD_LIKE_REG=new RegExp(`${s.map(c=>`[^${c}][${c}]`).join("|")}`),this.rowList=[],this.pageRowList=[],this.painterStyle=null,this.painterOptions=null,this.visiblePageNoList=[],this.intersectionPageNo=0,this.lazyRenderIntersectionObserver=null,this.printModeData=null,this.render({isInit:!0,isSetCursor:!1,isFirstRender:!0})}getLetterReg(){return this.LETTER_REG}getMode(){return this.mode}setMode(e){if(this.mode!==e){if(e===Zt.PRINT){this.printModeData={header:this.header.getElementList(),main:this.elementList,footer:this.footer.getElementList()};const n=Ft(this.printModeData);["header","main","footer"].forEach(i=>{n[i]=this.control.filterAssistElement(n[i])}),this.setEditorData(n)}this.mode===Zt.PRINT&&this.printModeData&&(this.setEditorData(this.printModeData),this.printModeData=null),this.range.clearRange(),this.mode=e,this.render({isSetCursor:!1,isSubmitHistory:!1})}}isReadonly(){switch(this.mode){case Zt.READONLY:case Zt.PRINT:return!0;case Zt.FORM:return!this.control.getIsRangeWithinControl();default:return!1}}getOriginalWidth(){const{paperDirection:e,width:n,height:r}=this.options;return e===uo.VERTICAL?n:r}getOriginalHeight(){const{paperDirection:e,width:n,height:r}=this.options;return e===uo.VERTICAL?r:n}getWidth(){return Math.floor(this.getOriginalWidth()*this.options.scale)}getHeight(){return Math.floor(this.getOriginalHeight()*this.options.scale)}getMainHeight(){return this.getHeight()-this.getMainOuterHeight()}getMainOuterHeight(){const e=this.getMargins(),n=this.header.getExtraHeight(),r=this.footer.getExtraHeight();return e[0]+e[2]+n+r}getCanvasWidth(e=-1){return this.getPage(e).width}getCanvasHeight(e=-1){return this.getPage(e).height}getInnerWidth(){const e=this.getWidth(),n=this.getMargins();return e-n[1]-n[3]}getOriginalInnerWidth(){const e=this.getOriginalWidth(),n=this.getOriginalMargins();return e-n[1]-n[3]}getMargins(){return this.getOriginalMargins().map(e=>e*this.options.scale)}getOriginalMargins(){const{margins:e,paperDirection:n}=this.options;return n===uo.VERTICAL?e:[e[1],e[2],e[3],e[0]]}getPageGap(){return this.options.pageGap*this.options.scale}getOriginalPageGap(){return this.options.pageGap}getPageNumberBottom(){const{pageNumber:{bottom:e},scale:n}=this.options;return e*n}getMarginIndicatorSize(){return this.options.marginIndicatorSize*this.options.scale}getDefaultBasicRowMarginHeight(){return this.options.defaultBasicRowMarginHeight*this.options.scale}getTdPadding(){const{table:{tdPadding:e},scale:n}=this.options;return e.map(r=>r*n)}getContainer(){return this.container}getPageContainer(){return this.pageContainer}getVisiblePageNoList(){return this.visiblePageNoList}setVisiblePageNoList(e){this.visiblePageNoList=e,this.listener.visiblePageNoListChange&&this.listener.visiblePageNoListChange(this.visiblePageNoList),this.eventBus.isSubscribe("visiblePageNoListChange")&&this.eventBus.emit("visiblePageNoListChange",this.visiblePageNoList)}getIntersectionPageNo(){return this.intersectionPageNo}setIntersectionPageNo(e){this.intersectionPageNo=e,this.listener.intersectionPageNoChange&&this.listener.intersectionPageNoChange(this.intersectionPageNo),this.eventBus.isSubscribe("intersectionPageNoChange")&&this.eventBus.emit("intersectionPageNoChange",this.intersectionPageNo)}getPageNo(){return this.pageNo}setPageNo(e){this.pageNo=e}getPage(e=-1){return this.pageList[~e?e:this.pageNo]}getPageList(){return this.pageList}getPageCount(){return this.pageList.length}getTableRowList(e){const n=this.position.getPositionContext(),{index:r,trIndex:i,tdIndex:o}=n;return e[r].trList[i].tdList[o].rowList}getOriginalRowList(){const e=this.getZone();return e.isHeaderActive()?this.header.getRowList():e.isFooterActive()?this.footer.getRowList():this.rowList}getRowList(){return this.position.getPositionContext().isTable?this.getTableRowList(this.getOriginalElementList()):this.getOriginalRowList()}getPageRowList(){return this.pageRowList}getCtx(){return this.ctxList[this.pageNo]}getOptions(){return this.options}getSearch(){return this.search}getGroup(){return this.group}getHistoryManager(){return this.historyManager}getPosition(){return this.position}getZone(){return this.zone}getRange(){return this.range}getLineBreakParticle(){return this.lineBreakParticle}getHeaderElementList(){return this.header.getElementList()}getTableElementList(e){var a;const n=this.position.getPositionContext(),{index:r,trIndex:i,tdIndex:o}=n;return((a=e[r].trList)==null?void 0:a[i].tdList[o].value)||[]}getElementList(){const e=this.position.getPositionContext(),n=this.getOriginalElementList();return e.isTable?this.getTableElementList(n):n}getMainElementList(){return this.position.getPositionContext().isTable?this.getTableElementList(this.elementList):this.elementList}getOriginalElementList(){const e=this.getZone();return e.isHeaderActive()?this.getHeaderElementList():e.isFooterActive()?this.getFooterElementList():this.elementList}getOriginalMainElementList(){return this.elementList}getFooterElementList(){return this.footer.getElementList()}insertElementList(e){if(!e.length||!this.range.getIsCanInput())return;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return;cr(e,{isHandleFirstElement:!1,editorOptions:this.options});let i=-1,o=this.control.getActiveControl();if(!o&&this.control.getIsRangeWithinControl()&&(this.control.initControl(),o=this.control.getActiveControl()),o&&this.control.getIsRangeWithinControl())i=o.setValue(e,void 0,{isIgnoreDisabledRule:!0});else{const a=this.getElementList(),s=n===r,c=n+1;s||this.spliceElementList(a,c,r-n),this.spliceElementList(a,c,0,...e),i=n+e.length;const u=a[c-1];e[0].listId&&u&&!u.listId&&(u==null?void 0:u.value)===We&&(!u.type||u.type===fe.TEXT)&&(a.splice(n,1),i-=1)}~i&&(this.range.setRange(i,i),this.render({curIndex:i}))}appendElementList(e,n={}){if(!e.length)return;cr(e,{isHandleFirstElement:!1,editorOptions:this.options});let r;const{isPrepend:i}=n;i?(this.elementList.splice(1,0,...e),r=e.length):(this.elementList.push(...e),r=this.elementList.length-1),this.range.setRange(r,r),this.render({curIndex:r})}spliceElementList(e,n,r,...i){var o,a,s;if(r>0){const c=n+r,u=e[c],l=u==null?void 0:u.listId;if(l&&((o=e[n-1])==null?void 0:o.listId)!==l){let h=c;for(;h<e.length;){const d=e[h];if(d.listId!==l||d.value===We)break;delete d.listId,delete d.listType,delete d.listStyle,h++}}if(this.control.getActiveControl())e.splice(n,r);else{let h=c-1;for(;h>=n;)((s=(a=e[h])==null?void 0:a.control)==null?void 0:s.deletable)!==!1&&e.splice(h,1),h--}}for(let c=0;c<i.length;c++)e.splice(n+c,0,i[c])}getCanvasEvent(){return this.canvasEvent}getGlobalEvent(){return this.globalEvent}getListener(){return this.listener}getEventBus(){return this.eventBus}getOverride(){return this.override}getCursor(){return this.cursor}getPreviewer(){return this.previewer}getImageParticle(){return this.imageParticle}getTableTool(){return this.tableTool}getTableParticle(){return this.tableParticle}getHeader(){return this.header}getFooter(){return this.footer}getHyperlinkParticle(){return this.hyperlinkParticle}getDateParticle(){return this.dateParticle}getListParticle(){return this.listParticle}getCheckboxParticle(){return this.checkboxParticle}getRadioParticle(){return this.radioParticle}getControl(){return this.control}getWorkerManager(){return this.workerManager}getImageObserver(){return this.imageObserver}getI18n(){return this.i18n}getRowCount(){return this.getRowList().length}async getDataURL(e={}){const{pixelRatio:n,mode:r}=e;n&&this.setPagePixelRatio(n);const i=this.mode,o=!!r&&i!==r;o&&this.setMode(r),this.render({isLazy:!1,isCompute:!1,isSetCursor:!1,isSubmitHistory:!1}),await this.imageObserver.allSettled();const a=this.pageList.map(s=>s.toDataURL());return n&&this.setPagePixelRatio(null),o&&this.setMode(i),a}getPainterStyle(){return this.painterStyle&&Object.keys(this.painterStyle).length?this.painterStyle:null}getPainterOptions(){return this.painterOptions}setPainterStyle(e,n){this.painterStyle=e,this.painterOptions=n||null,this.getPainterStyle()&&this.pageList.forEach(r=>r.style.cursor="copy")}setDefaultRange(){!this.elementList.length||setTimeout(()=>{const e=this.elementList.length-1;this.range.setRange(e,e),this.range.setRangeStyle()})}getIsPagingMode(){return this.options.pageMode===Pi.PAGING}setPageMode(e){if(!e||this.options.pageMode===e)return;if(this.options.pageMode=e,e===Pi.PAGING){const{height:i}=this.options,o=this.getPagePixelRatio(),a=this.pageList[0];a.style.height=`${i}px`,a.height=i*o,this._initPageContext(this.ctxList[0])}else this._disconnectLazyRender(),this.header.recovery(),this.footer.recovery(),this.zone.setZone(it.MAIN);const{startIndex:n}=this.range.getRange(),r=this.range.getIsCollapsed();this.render({isSetCursor:!0,curIndex:n,isSubmitHistory:!1}),r||this.cursor.drawCursor({isShow:!1}),setTimeout(()=>{this.listener.pageModeChange&&this.listener.pageModeChange(e),this.eventBus.isSubscribe("pageModeChange")&&this.eventBus.emit("pageModeChange",e)})}setPageScale(e){const n=this.getPagePixelRatio();this.options.scale=e;const r=this.getWidth(),i=this.getHeight();this.container.style.width=`${r}px`,this.pageList.forEach((a,s)=>{a.width=r*n,a.height=i*n,a.style.width=`${r}px`,a.style.height=`${i}px`,a.style.marginBottom=`${this.getPageGap()}px`,this._initPageContext(this.ctxList[s])});const o=this.position.getCursorPosition();this.render({isSubmitHistory:!1,isSetCursor:!!o,curIndex:o==null?void 0:o.index}),this.listener.pageScaleChange&&this.listener.pageScaleChange(e),this.eventBus.isSubscribe("pageScaleChange")&&this.eventBus.emit("pageScaleChange",e)}getPagePixelRatio(){return this.pagePixelRatio||window.devicePixelRatio}setPagePixelRatio(e){!this.pagePixelRatio&&e===window.devicePixelRatio||e===this.pagePixelRatio||(this.pagePixelRatio=e,this.setPageDevicePixel())}setPageDevicePixel(){const e=this.getPagePixelRatio(),n=this.getWidth(),r=this.getHeight();this.pageList.forEach((i,o)=>{i.width=n*e,i.height=r*e,this._initPageContext(this.ctxList[o])}),this.render({isSubmitHistory:!1,isSetCursor:!1})}setPaperSize(e,n){this.options.width=e,this.options.height=n;const r=this.getPagePixelRatio(),i=this.getWidth(),o=this.getHeight();this.container.style.width=`${i}px`,this.pageList.forEach((a,s)=>{a.width=i*r,a.height=o*r,a.style.width=`${i}px`,a.style.height=`${o}px`,this._initPageContext(this.ctxList[s])}),this.render({isSubmitHistory:!1,isSetCursor:!1})}setPaperDirection(e){const n=this.getPagePixelRatio();this.options.paperDirection=e;const r=this.getWidth(),i=this.getHeight();this.container.style.width=`${r}px`,this.pageList.forEach((o,a)=>{o.width=r*n,o.height=i*n,o.style.width=`${r}px`,o.style.height=`${i}px`,this._initPageContext(this.ctxList[a])}),this.render({isSubmitHistory:!1,isSetCursor:!1})}setPaperMargin(e){this.options.margins=e,this.render({isSubmitHistory:!1,isSetCursor:!1})}getValue(e={}){const{pageNo:n}=e;let r=this.elementList;Number.isInteger(n)&&n>=0&&n<this.pageRowList.length&&(r=this.pageRowList[n].flatMap(o=>o.elementList));const i={header:Wt(this.getHeaderElementList()),main:Wt(r),footer:Wt(this.getFooterElementList())};return{version:vx,data:i,options:Ft(this.options)}}setValue(e){const{header:n,main:r,footer:i}=Ft(e);if(!n&&!r&&!i)return;[n,r,i].forEach(a=>{!a||cr(a,{editorOptions:this.options})}),this.setEditorData({header:n,main:r,footer:i}),this.historyManager.recovery(),this.render({isSetCursor:!1,isFirstRender:!0})}setEditorData(e){const{header:n,main:r,footer:i}=e;n&&this.header.setElementList(n),r&&(this.elementList=r),i&&this.footer.setElementList(i)}_wrapContainer(e){const n=document.createElement("div");return e.append(n),n}_formatContainer(){this.container.style.position="relative",this.container.style.width=`${this.getWidth()}px`,this.container.setAttribute(Jr,$r.MAIN)}_createPageContainer(){const e=document.createElement("div");return e.classList.add(`${ke}-page-container`),this.container.append(e),e}_createPage(e){const n=this.getWidth(),r=this.getHeight(),i=document.createElement("canvas");i.style.width=`${n}px`,i.style.height=`${r}px`,i.style.display="block",i.style.backgroundColor="#ffffff",i.style.marginBottom=`${this.getPageGap()}px`,i.setAttribute("data-index",String(e)),this.pageContainer.append(i);const o=this.getPagePixelRatio();i.width=n*o,i.height=r*o,i.style.cursor="text";const a=i.getContext("2d");this._initPageContext(a),this.pageList.push(i),this.ctxList.push(a)}_initPageContext(e){const n=this.getPagePixelRatio();e.scale(n,n),e.letterSpacing="0px",e.wordSpacing="0px",e.direction="ltr"}getElementFont(e,n=1){const{defaultSize:r,defaultFont:i}=this.options,o=e.font||i,a=e.actualSize||e.size||r;return`${e.italic?"italic ":""}${e.bold?"bold ":""}${a*n}px ${o}`}getElementSize(e){return e.actualSize||e.size||this.options.defaultSize}getElementRowMargin(e){const{defaultBasicRowMarginHeight:n,defaultRowMargin:r,scale:i}=this.options;return n*(e.rowMargin||r)*i}computeRowList(e){var m,v,x,O,E,N,M,_,B,q;const{innerWidth:n,elementList:r,isPagingMode:i=!1}=e,{defaultSize:o,defaultRowMargin:a,scale:s,table:{tdPadding:c},defaultTabWidth:u}=this.options,l=this.getDefaultBasicRowMarginHeight(),d=document.createElement("canvas").getContext("2d"),f=this.listParticle.computeListStyle(d,r),p=[];r.length&&p.push({width:0,height:0,ascent:0,elementList:[],startIndex:0,rowFlex:((m=r==null?void 0:r[0])==null?void 0:m.rowFlex)||((v=r==null?void 0:r[1])==null?void 0:v.rowFlex)});let g,y=0,R=0;for(let T=0;T<r.length;T++){const I=p[p.length-1],b=r[T],P=l*(b.rowMargin||a),U={width:0,height:0,boundingBoxAscent:0,boundingBoxDescent:0},X=I.offsetX||b.listId&&f.get(b.listId)||0,V=n-X;if(b.type===fe.IMAGE||b.type===fe.LATEX){if(b.imgDisplay===ht.FLOAT_TOP||b.imgDisplay===ht.FLOAT_BOTTOM)U.width=0,U.height=0,U.boundingBoxDescent=0;else{const W=b.width*s,A=b.height*s;if(W>V){const Q=A*V/W;b.width=V/s,b.height=Q/s,U.width=V,U.height=Q,U.boundingBoxDescent=Q}else U.width=W,U.height=A,U.boundingBoxDescent=A}U.boundingBoxAscent=0}else if(b.type===fe.TABLE){const W=c[1]+c[3],A=c[0]+c[2];if(b.pagingId){let ie=T+1,L=0;for(;ie<r.length;){const w=r[ie];if(w.pagingId===b.pagingId){const S=w.trList.filter(F=>!F.pagingRepeat);b.trList.push(...S),b.height+=w.height,ie++,L++}else break}L&&r.splice(T+1,L)}b.pagingIndex=(x=b.pagingIndex)!=null?x:0,this.tableParticle.computeRowColInfo(b);const Q=b.trList;for(let ie=0;ie<Q.length;ie++){const L=Q[ie];for(let w=0;w<L.tdList.length;w++){const S=L.tdList[w],F=this.computeRowList({innerWidth:(S.width-W)*s,elementList:S.value,isPagingMode:i}),G=F.reduce((ae,he)=>ae+he.height,0);S.rowList=F;const ee=G/s+A;if(S.height<ee){const ae=ee-S.height,he=Q[ie+S.rowspan-1];he.height+=ae,he.tdList.forEach(xe=>{xe.height+=ae})}let K=0,J=0,te=0;for(;te<S.rowspan;){const ae=Q[te+ie]||Q[ie];K+=ae.minHeight,J+=ae.height,te++}S.realMinHeight=K,S.realHeight=J,S.mainHeight=ee}}const z=this.tableParticle.getTrListGroupByCol(Q);for(let ie=0;ie<z.length;ie++){const L=z[ie];let w=-1;for(let S=0;S<L.tdList.length;S++){const F=L.tdList[S],G=F.realHeight,ee=F.mainHeight,K=F.realMinHeight,J=ee<K?G-K:G-ee;(!~w||J<w)&&(w=J)}if(w>0){const S=Q[ie];S.height-=w,S.tdList.forEach(F=>{F.height-=w})}}this.tableParticle.computeRowColInfo(b);const H=this.tableParticle.getTableHeight(b),j=this.tableParticle.getTableWidth(b);b.width=j,b.height=H;const ge=j*s,D=H*s;if(U.width=ge,U.height=D,U.boundingBoxDescent=D,U.boundingBoxAscent=-P,i){const ie=this.getHeight(),L=this.getMainOuterHeight();let w=L;for(let F=0;F<p.length;F++){const G=p[F];G.height+w>ie||((O=p[F-1])==null?void 0:O.isPageBreak)?w=L+G.height:w+=G.height}const S=P*2*s;if((w+b.trList[0].height+S>ie||b.pagingIndex!==0&&b.trList[0].pagingRepeat)&&(w=L),w+S+D>ie){const F=b.trList;let G=0,ee=0,K=0;if(F.length>1)for(let J=0;J<F.length;J++){const te=F[J],ae=te.height*s;if(w+S+K+ae>ie){const he=te.tdList.reduce((xe,_e)=>xe+_e.colspan,0);((E=b.colgroup)==null?void 0:E.length)!==he&&(ee=0);break}else G=J+1,ee=F.length-G,K+=ae}if(ee){const J=F.splice(G,ee),te=J.reduce((_e,Me)=>_e+Me.height,0),ae=b.pagingId||vt();b.pagingId=ae,b.height-=te,U.height-=te,U.boundingBoxDescent-=te;const he=Ft(b);he.pagingId=ae,he.pagingIndex=b.pagingIndex+1;const xe=F.filter(_e=>_e.pagingRepeat);if(xe.length){const _e=Ft(xe);_e.forEach(Me=>Me.id=vt()),J.unshift(..._e)}he.trList=J,he.id=vt(),this.spliceElementList(r,T+1,0,he)}}if(b.pagingId){const F=this.position.getPositionContext();if(F.isTable){let G=-1,ee=-1,K=T;for(;K<r.length;){const J=r[K];if(J.pagingId!==b.pagingId)break;const te=J.trList.findIndex(ae=>ae.id===F.trId);if(~te){G=K,ee=te;break}K++}~G&&(F.index=G,F.trIndex=ee,this.position.setPositionContext(F))}}}}else if(b.type===fe.SEPARATOR){const{separator:{lineWidth:W}}=this.options;b.width=V/s,U.width=V,U.height=W*s,U.boundingBoxAscent=-P,U.boundingBoxDescent=-P+U.height}else if(b.type===fe.PAGE_BREAK)b.width=V/s,U.width=V,U.height=o;else if(b.type===fe.RADIO||b.controlComponent===Se.RADIO){const{width:W,height:A,gap:Q}=this.options.radio,z=W+Q*2;b.width=z,U.width=z*s,U.height=A*s}else if(b.type===fe.CHECKBOX||b.controlComponent===Se.CHECKBOX){const{width:W,height:A,gap:Q}=this.options.checkbox,z=W+Q*2;b.width=z,U.width=z*s,U.height=A*s}else if(b.type===fe.TAB)U.width=u*s,U.height=o*s,U.boundingBoxDescent=0,U.boundingBoxAscent=U.height;else if(b.type===fe.BLOCK){if(!b.width)U.width=V;else{const W=b.width*s;U.width=Math.min(W,V)}U.height=b.height*s,U.boundingBoxDescent=U.height,U.boundingBoxAscent=0}else{const W=b.size||o;(b.type===fe.SUPERSCRIPT||b.type===fe.SUBSCRIPT)&&(b.actualSize=Math.ceil(W*.6)),U.height=(b.actualSize||W)*s,d.font=this.getElementFont(b);const A=this.textParticle.measureText(d,b);U.width=A.width*s,b.letterSpacing&&(U.width+=b.letterSpacing*s),U.boundingBoxAscent=(b.value===We?b.size||o:A.actualBoundingBoxAscent)*s,U.boundingBoxDescent=A.actualBoundingBoxDescent*s,b.type===fe.SUPERSCRIPT?U.boundingBoxAscent+=U.height/2:b.type===fe.SUBSCRIPT&&(U.boundingBoxDescent+=U.height/2)}const k=b.imgDisplay!==ht.INLINE&&b.type===fe.IMAGE||b.type===fe.LATEX?U.height+P:U.boundingBoxAscent+P,re=P+U.boundingBoxAscent+U.boundingBoxDescent+P,Z=Object.assign(b,{metrics:U,style:this.getElementFont(b,s)});if((N=Z.control)!=null&&N.minWidth&&(Z.controlComponent&&(R+=U.width),Z.controlComponent===Se.POSTFIX)){const W=Z.control.minWidth-R;if(W>0){const A=V-I.width-U.width,Q=Math.min(A,W)*s;Z.left=Q,I.width+=Q}else Z.left=0;R=0}const C=r[T-1];let ne=r[T+1],oe=I.width+U.width;if(this.options.wordBreak===ef.BREAK_WORD&&(!(C!=null&&C.type)||(C==null?void 0:C.type)===fe.TEXT)&&(!b.type||b.type===fe.TEXT)){const W=`${(C==null?void 0:C.value)||""}${b.value}`;if(this.WORD_LIKE_REG.test(W)){const{width:A,endElement:Q}=this.textParticle.measureWord(d,r,T);A<=V&&(oe+=A,ne=Q)}oe+=this.textParticle.measurePunctuationWidth(d,ne)}b.listId&&(b.listId!==g?y=0:b.value===We&&!b.listWrap&&y++),g=b.listId;const ue=b.type===fe.SEPARATOR||b.type===fe.TABLE||(C==null?void 0:C.type)===fe.TABLE||(C==null?void 0:C.type)===fe.BLOCK||b.type===fe.BLOCK||(C==null?void 0:C.imgDisplay)===ht.INLINE||b.imgDisplay===ht.INLINE||(C==null?void 0:C.listId)!==b.listId||T!==0&&b.value===We,ce=oe>V;if(ue||ce){const W={width:U.width,height:re,startIndex:T,elementList:[Z],ascent:k,rowFlex:((M=r[T])==null?void 0:M.rowFlex)||((_=r[T+1])==null?void 0:_.rowFlex),isPageBreak:b.type===fe.PAGE_BREAK};if(Z.controlComponent!==Se.PREFIX&&((B=Z.control)==null?void 0:B.indentation)===jm.VALUE_START){const A=I.elementList.findIndex(Q=>Q.controlId===Z.controlId&&Q.controlComponent!==Se.PREFIX);if(~A){const z=this.position.computeRowPosition({row:I,innerWidth:this.getInnerWidth()})[A];z&&(W.offsetX=z.coordinate.leftTop[0])}}b.listId&&(W.isList=!0,W.offsetX=f.get(b.listId),W.listIndex=y),p.push(W)}else I.width+=U.width,T===0&&uu(r[1])?(I.height=l,I.ascent=l):I.height<re&&(I.height=re,I.ascent=k),I.elementList.push(Z);if((ue||ce||T===r.length-1)&&(I.isWidthNotEnough=ce&&!ue,(C==null?void 0:C.rowFlex)===at.JUSTIFY||(C==null?void 0:C.rowFlex)===at.ALIGNMENT&&ce)){const W=((q=I.elementList[0])==null?void 0:q.value)===We?I.elementList.slice(1):I.elementList,A=(V-I.width)/(W.length-1);for(let Q=0;Q<W.length-1;Q++){const z=W[Q];z.metrics.width+=A}I.width=V}}return p}_computePageList(){var c;const e=[[]],{pageMode:n,pageNumber:{maxPageNo:r}}=this.options,i=this.getHeight(),o=this.getMainOuterHeight();let a=o,s=0;if(n===Pi.CONTINUITY){e[0]=this.rowList,a+=this.rowList.reduce((d,f)=>d+f.height,0);const u=this.getPagePixelRatio(),l=this.pageList[0],h=Number(l.style.height.replace("px",""));if(a>h)l.style.height=`${a}px`,l.height=a*u;else{const d=a<i?i:a;l.style.height=`${d}px`,l.height=d*u}this._initPageContext(this.ctxList[0])}else for(let u=0;u<this.rowList.length;u++){const l=this.rowList[u];if(l.height+a>i||((c=this.rowList[u-1])==null?void 0:c.isPageBreak)){if(Number.isInteger(r)&&s>=r){this.elementList=this.elementList.slice(0,l.startIndex);break}a=o+l.height,e.push([l]),s++}else a+=l.height,e[s].push(l)}return e}_drawHighlight(e,n){const{rowList:r,positionList:i}=n;for(let o=0;o<r.length;o++){const a=r[o];for(let s=0;s<a.elementList.length;s++){const c=a.elementList[s],u=a.elementList[s-1];if(c.highlight){u&&u.highlight&&u.highlight!==c.highlight&&this.highlight.render(e);const{coordinate:{leftTop:[l,h]}}=i[a.startIndex+s];this.highlight.recordFillInfo(e,l,h,c.metrics.width,a.height,c.highlight)}else u!=null&&u.highlight&&this.highlight.render(e)}this.highlight.render(e)}}drawRow(e,n){var m,v,x,O,E,N;this._drawHighlight(e,n);const{scale:r,table:{tdPadding:i},group:o,lineBreak:a}=this.options,{rowList:s,pageNo:c,elementList:u,positionList:l,startIndex:h,zone:d,isDrawLineBreak:f=!a.disabled}=n,p=this.mode===Zt.PRINT,{isCrossRowCol:g,tableId:y}=this.range.getRange();let R=h;for(let M=0;M<s.length;M++){const _=s[M],B={x:0,y:0,width:0,height:0};let q=null;for(let T=0;T<_.elementList.length;T++){const I=_.elementList[T],b=I.metrics,{ascent:P,coordinate:{leftTop:[U,X]}}=l[_.startIndex+T],V=_.elementList[T-1];if(I.type===fe.IMAGE)this.textParticle.complete(),I.imgDisplay!==ht.FLOAT_TOP&&I.imgDisplay!==ht.FLOAT_BOTTOM&&this.imageParticle.render(e,I,U,X+P);else if(I.type===fe.LATEX)this.textParticle.complete(),this.laTexParticle.render(e,I,U,X+P);else if(I.type===fe.TABLE)g&&(B.x=U,B.y=X,q=I),this.tableParticle.render(e,I,U,X);else if(I.type===fe.HYPERLINK)this.textParticle.complete(),this.hyperlinkParticle.render(e,I,U,X+P);else if(I.type===fe.DATE){const C=_.elementList[T+1];(!V||V.dateId!==I.dateId)&&this.textParticle.complete(),this.textParticle.record(e,I,U,X+P),(!C||C.dateId!==I.dateId)&&this.textParticle.complete()}else I.type===fe.SUPERSCRIPT?(this.textParticle.complete(),this.superscriptParticle.render(e,I,U,X+P)):I.type===fe.SUBSCRIPT?(this.underline.render(e),this.textParticle.complete(),this.subscriptParticle.render(e,I,U,X+P)):I.type===fe.SEPARATOR?this.separatorParticle.render(e,I,U,X):I.type===fe.PAGE_BREAK?this.mode!==Zt.CLEAN&&!p&&this.pageBreakParticle.render(e,I,U,X):I.type===fe.CHECKBOX||I.controlComponent===Se.CHECKBOX?(this.textParticle.complete(),this.checkboxParticle.render(e,I,U,X+P)):I.type===fe.RADIO||I.controlComponent===Se.RADIO?(this.textParticle.complete(),this.radioParticle.render(e,I,U,X+P)):I.type===fe.TAB?this.textParticle.complete():I.rowFlex===at.ALIGNMENT||I.rowFlex===at.JUSTIFY?(this.textParticle.record(e,I,U,X+P),this.textParticle.complete()):I.type===fe.BLOCK?(this.textParticle.complete(),this.blockParticle.render(c,I,U,X)):(I.left&&this.textParticle.complete(),this.textParticle.record(e,I,U,X+P),(I.width||I.letterSpacing||_x.test(I.value))&&this.textParticle.complete());if(f&&!p&&this.mode!==Zt.CLEAN&&!_.isWidthNotEnough&&T===_.elementList.length-1&&this.lineBreakParticle.render(e,I,U,X+_.height/2),(m=I.control)!=null&&m.border){((v=V==null?void 0:V.control)==null?void 0:v.border)&&V.controlId!==I.controlId&&this.control.drawBorder(e);const C=this.getElementRowMargin(I);this.control.recordBorderInfo(U,X+C,I.metrics.width,_.height-2*C)}else(x=V==null?void 0:V.control)!=null&&x.border&&this.control.drawBorder(e);if(I.underline||((O=I.control)==null?void 0:O.underline)){(V==null?void 0:V.type)===fe.SUBSCRIPT&&I.type!==fe.SUBSCRIPT&&this.underline.render(e);const C=this.getElementRowMargin(I),ne=I.left||0;let oe=0;I.type===fe.SUBSCRIPT&&(oe=this.subscriptParticle.getOffsetY(I));const ue=I.controlComponent===Se.PLACEHOLDER?void 0:I.color;this.underline.recordFillInfo(e,U-ne,X+_.height-C+oe,b.width+ne,0,ue,(E=I.textDecoration)==null?void 0:E.style)}else((V==null?void 0:V.underline)||((N=V==null?void 0:V.control)==null?void 0:N.underline))&&this.underline.render(e);if(I.strikeout){if(!I.type||Nr.includes(I.type)){V&&(V.type===fe.SUBSCRIPT&&I.type!==fe.SUBSCRIPT||V.type===fe.SUPERSCRIPT&&I.type!==fe.SUPERSCRIPT||this.getElementSize(V)!==this.getElementSize(I))&&this.strikeout.render(e);const C=this.textParticle.measureBasisWord(e,this.getElementFont(I));let ne=X+P+C.actualBoundingBoxDescent*r-b.height/2;I.type===fe.SUBSCRIPT?ne+=this.subscriptParticle.getOffsetY(I):I.type===fe.SUPERSCRIPT&&(ne+=this.superscriptParticle.getOffsetY(I)),this.strikeout.recordFillInfo(e,U,ne,b.width)}}else V!=null&&V.strikeout&&this.strikeout.render(e);const{zone:k,startIndex:re,endIndex:Z}=this.range.getRange();if(k===d&&re!==Z&&re<=R&&R<=Z){const C=this.position.getPositionContext();if(!C.isTable&&!I.tdId||C.tdId===I.tdId)if(re===R){const ne=u[re+1];ne&&ne.value===We&&(B.x=U+b.width,B.y=X,B.height=_.height,B.width+=this.options.rangeMinWidth)}else{let ne=b.width;ne===0&&_.elementList.length===1&&(ne=this.options.rangeMinWidth),B.width||(B.x=U,B.y=X,B.height=_.height),B.width+=ne}}if(!o.disabled&&I.groupIds&&this.group.recordFillInfo(I,U,X,b.width,_.height),R++,I.type===fe.TABLE){const C=i[1]+i[3];for(let ne=0;ne<I.trList.length;ne++){const oe=I.trList[ne];for(let ue=0;ue<oe.tdList.length;ue++){const ce=oe.tdList[ue];this.drawRow(e,{elementList:ce.value,positionList:ce.positionList,rowList:ce.rowList,pageNo:c,startIndex:0,innerWidth:(ce.width-C)*r,zone:d,isDrawLineBreak:f})}}}}if(_.isList&&this.listParticle.drawListStyle(e,_,l[_.startIndex]),this.textParticle.complete(),this.control.drawBorder(e),this.underline.render(e),this.strikeout.render(e),this.group.render(e),!p){if(B.width&&B.height){const{x:T,y:I,width:b,height:P}=B;this.range.render(e,T,I,b,P)}if(g&&q&&q.id===y){const{coordinate:{leftTop:[T,I]}}=l[_.startIndex];this.tableParticle.drawRange(e,q,T,I)}}}}_drawFloat(e,n){const r=this.position.getFloatPositionList(),{imgDisplay:i,pageNo:o}=n;for(let a=0;a<r.length;a++){const s=r[a],c=s.element;if((o===s.pageNo||s.zone===it.HEADER||s.zone==it.FOOTER)&&c.imgDisplay===i&&c.type===fe.IMAGE){const u=c.imgFloatPosition;this.imageParticle.render(e,c,u.x,u.y)}}}_clearPage(e){const n=this.ctxList[e],r=this.pageList[e];n.clearRect(0,0,Math.max(r.width,this.getWidth()),Math.max(r.height,this.getHeight())),this.blockParticle.clear()}_drawPage(e){var p,g;const{elementList:n,positionList:r,rowList:i,pageNo:o}=e,{inactiveAlpha:a,pageMode:s,header:c,footer:u,pageNumber:l}=this.options,h=this.getInnerWidth(),d=this.ctxList[o];d.globalAlpha=this.zone.isMainActive()?1:a,this._clearPage(o),this.background.render(d,o),this.mode!==Zt.PRINT&&this.margin.render(d,o),this._drawFloat(d,{pageNo:o,imgDisplay:ht.FLOAT_BOTTOM}),this.control.renderHighlightList(d,o);const f=(p=i[0])==null?void 0:p.startIndex;this.drawRow(d,{elementList:n,positionList:r,rowList:i,pageNo:o,startIndex:f,innerWidth:h,zone:it.MAIN}),this.getIsPagingMode()&&(c.disabled||this.header.render(d,o),l.disabled||this.pageNumber.render(d,o),u.disabled||this.footer.render(d,o)),this._drawFloat(d,{pageNo:o,imgDisplay:ht.FLOAT_TOP}),this.search.getSearchKeyword()&&this.search.render(d,o),s!==Pi.CONTINUITY&&this.options.watermark.data&&this.waterMark.render(d),this.elementList.length<=1&&!((g=this.elementList[0])!=null&&g.listId)&&this.placeholder.render(d)}_disconnectLazyRender(){var e;(e=this.lazyRenderIntersectionObserver)==null||e.disconnect()}_lazyRender(){const e=this.position.getOriginalMainPositionList(),n=this.getOriginalMainElementList();this._disconnectLazyRender(),this.lazyRenderIntersectionObserver=new IntersectionObserver(r=>{r.forEach(i=>{if(i.isIntersecting){const o=Number(i.target.dataset.index);this._drawPage({elementList:n,positionList:e,rowList:this.pageRowList[o],pageNo:o})}})}),this.pageList.forEach(r=>{this.lazyRenderIntersectionObserver.observe(r)})}_immediateRender(){const e=this.position.getOriginalMainPositionList(),n=this.getOriginalMainElementList();for(let r=0;r<this.pageRowList.length;r++)this._drawPage({elementList:n,positionList:e,rowList:this.pageRowList[r],pageNo:r})}render(e){const{header:n,footer:r}=this.options,{isSubmitHistory:i=!0,isSetCursor:o=!0,isCompute:a=!0,isLazy:s=!0,isInit:c=!1,isSourceHistory:u=!1,isFirstRender:l=!1}=e||{};let{curIndex:h}=e||{};const d=this.getInnerWidth(),f=this.getIsPagingMode();if(a){this.position.setFloatPositionList([]),f&&(n.disabled||this.header.compute(),r.disabled||this.footer.compute()),this.rowList=this.computeRowList({isPagingMode:f,innerWidth:d,elementList:this.elementList}),this.pageRowList=this._computePageList(),this.position.computePositionList();const y=this.search.getSearchKeyword();y&&this.search.compute(y),this.control.computeHighlightList()}this.imageObserver.clearAll(),this.cursor.recoveryCursor();for(let y=0;y<this.pageRowList.length;y++)this.pageList[y]||this._createPage(y);const p=this.pageRowList.length,g=this.pageList.length;if(g>p){const y=g-p;this.ctxList.splice(p,y),this.pageList.splice(p,y).forEach(R=>R.remove())}s&&f?this._lazyRender():this._immediateRender(),o&&(h=this.setCursor(h)),(i&&!l||h!==void 0&&this.historyManager.isStackEmpty())&&this.submitHistory(h),cu(()=>{a&&this.control.getActiveControl()&&this.control.reAwakeControl(),a&&!this.isReadonly()&&this.position.getPositionContext().isTable&&this.tableTool.render(),a&&!this.zone.isMainActive()&&this.zone.drawZoneIndicator(),this.listener.pageSizeChange&&this.listener.pageSizeChange(this.pageRowList.length),this.eventBus.isSubscribe("pageSizeChange")&&this.eventBus.emit("pageSizeChange",this.pageRowList.length),(i||u)&&!c&&(this.listener.contentChange&&this.listener.contentChange(),this.eventBus.isSubscribe("contentChange")&&this.eventBus.emit("contentChange"))})}setCursor(e){var o;const n=this.position.getPositionContext(),r=this.position.getPositionList();if(n.isTable){const{index:a,trIndex:s,tdIndex:c}=n,l=(o=this.getOriginalElementList()[a].trList)==null?void 0:o[s].tdList[c].positionList;e===void 0&&l&&(e=l.length-1);const h=l==null?void 0:l[e];this.position.setCursorPosition(h||null)}else this.position.setCursorPosition(e!==void 0?r[e]:null);let i=!0;if(e!==void 0&&n.isImage&&n.isDirectHit){const s=this.getElementList()[e];if(Yx.includes(s.type)){i=!1;const c=this.position.getCursorPosition();this.previewer.updateResizer(s,c)}}return this.cursor.drawCursor({isShow:i}),e}submitHistory(e){const n=this.position.getPositionContext(),r=Ll(this.elementList),i=Ll(this.header.getElementList()),o=Ll(this.footer.getElementList()),a=Ft(this.range.getRange()),s=this.pageNo,c=Ft(n),u=this.zone.getZone();this.historyManager.execute(()=>{this.zone.setZone(u),this.setPageNo(s),this.position.setPositionContext(Ft(c)),this.header.setElementList(Ft(i)),this.footer.setElementList(Ft(o)),this.elementList=Ft(r),this.range.replaceRange(Ft(a)),this.render({curIndex:e,isSubmitHistory:!1,isSourceHistory:!0})})}destroy(){this.container.remove(),this.globalEvent.removeEvent(),this.scrollObserver.removeEvent(),this.selectionObserver.removeEvent()}clearSideEffect(){this.getPreviewer().clearResizer(),this.getTableTool().dispose(),this.getHyperlinkParticle().clearHyperlinkPopup(),this.getDateParticle().clearDatePicker()}}class HT{constructor(e){this.executeMode=e.mode.bind(e),this.executeCut=e.cut.bind(e),this.executeCopy=e.copy.bind(e),this.executePaste=e.paste.bind(e),this.executeSelectAll=e.selectAll.bind(e),this.executeBackspace=e.backspace.bind(e),this.executeSetRange=e.setRange.bind(e),this.executeReplaceRange=e.replaceRange.bind(e),this.executeSetPositionContext=e.setPositionContext.bind(e),this.executeForceUpdate=e.forceUpdate.bind(e),this.executeBlur=e.blur.bind(e),this.executeUndo=e.undo.bind(e),this.executeRedo=e.redo.bind(e),this.executePainter=e.painter.bind(e),this.executeApplyPainterStyle=e.applyPainterStyle.bind(e),this.executeFormat=e.format.bind(e),this.executeFont=e.font.bind(e),this.executeSize=e.size.bind(e),this.executeSizeAdd=e.sizeAdd.bind(e),this.executeSizeMinus=e.sizeMinus.bind(e),this.executeBold=e.bold.bind(e),this.executeItalic=e.italic.bind(e),this.executeUnderline=e.underline.bind(e),this.executeStrikeout=e.strikeout.bind(e),this.executeSuperscript=e.superscript.bind(e),this.executeSubscript=e.subscript.bind(e),this.executeColor=e.color.bind(e),this.executeHighlight=e.highlight.bind(e),this.executeTitle=e.title.bind(e),this.executeList=e.list.bind(e),this.executeRowFlex=e.rowFlex.bind(e),this.executeRowMargin=e.rowMargin.bind(e),this.executeInsertTable=e.insertTable.bind(e),this.executeInsertTableTopRow=e.insertTableTopRow.bind(e),this.executeInsertTableBottomRow=e.insertTableBottomRow.bind(e),this.executeInsertTableLeftCol=e.insertTableLeftCol.bind(e),this.executeInsertTableRightCol=e.insertTableRightCol.bind(e),this.executeDeleteTableRow=e.deleteTableRow.bind(e),this.executeDeleteTableCol=e.deleteTableCol.bind(e),this.executeDeleteTable=e.deleteTable.bind(e),this.executeMergeTableCell=e.mergeTableCell.bind(e),this.executeCancelMergeTableCell=e.cancelMergeTableCell.bind(e),this.executeTableTdVerticalAlign=e.tableTdVerticalAlign.bind(e),this.executeTableBorderType=e.tableBorderType.bind(e),this.executeTableTdBorderType=e.tableTdBorderType.bind(e),this.executeTableTdSlashType=e.tableTdSlashType.bind(e),this.executeTableTdBackgroundColor=e.tableTdBackgroundColor.bind(e),this.executeTableSelectAll=e.tableSelectAll.bind(e),this.executeImage=e.image.bind(e),this.executeHyperlink=e.hyperlink.bind(e),this.executeDeleteHyperlink=e.deleteHyperlink.bind(e),this.executeCancelHyperlink=e.cancelHyperlink.bind(e),this.executeEditHyperlink=e.editHyperlink.bind(e),this.executeSeparator=e.separator.bind(e),this.executePageBreak=e.pageBreak.bind(e),this.executeAddWatermark=e.addWatermark.bind(e),this.executeDeleteWatermark=e.deleteWatermark.bind(e),this.executeSearch=e.search.bind(e),this.executeSearchNavigatePre=e.searchNavigatePre.bind(e),this.executeSearchNavigateNext=e.searchNavigateNext.bind(e),this.executeReplace=e.replace.bind(e),this.executePrint=e.print.bind(e),this.executeReplaceImageElement=e.replaceImageElement.bind(e),this.executeSaveAsImageElement=e.saveAsImageElement.bind(e),this.executeChangeImageDisplay=e.changeImageDisplay.bind(e),this.executePageMode=e.pageMode.bind(e),this.executePageScaleRecovery=e.pageScaleRecovery.bind(e),this.executePageScaleMinus=e.pageScaleMinus.bind(e),this.executePageScaleAdd=e.pageScaleAdd.bind(e),this.executePaperSize=e.paperSize.bind(e),this.executePaperDirection=e.paperDirection.bind(e),this.executeSetPaperMargin=e.setPaperMargin.bind(e),this.executeInsertElementList=e.insertElementList.bind(e),this.executeAppendElementList=e.appendElementList.bind(e),this.executeSetValue=e.setValue.bind(e),this.executeRemoveControl=e.removeControl.bind(e),this.executeSetLocale=e.setLocale.bind(e),this.executeLocationCatalog=e.locationCatalog.bind(e),this.executeWordTool=e.wordTool.bind(e),this.executeSetHTML=e.setHTML.bind(e),this.executeSetGroup=e.setGroup.bind(e),this.executeDeleteGroup=e.deleteGroup.bind(e),this.executeLocationGroup=e.locationGroup.bind(e),this.executeSetZone=e.setZone.bind(e),this.executeUpdateOptions=e.updateOptions.bind(e),this.executeInsertTitle=e.insertTitle.bind(e),this.getImage=e.getImage.bind(e),this.getOptions=e.getOptions.bind(e),this.getValue=e.getValue.bind(e),this.getHTML=e.getHTML.bind(e),this.getText=e.getText.bind(e),this.getWordCount=e.getWordCount.bind(e),this.getRange=e.getRange.bind(e),this.getRangeText=e.getRangeText.bind(e),this.getRangeContext=e.getRangeContext.bind(e),this.getRangeRow=e.getRangeRow.bind(e),this.getRangeParagraph=e.getRangeParagraph.bind(e),this.getKeywordRangeList=e.getKeywordRangeList.bind(e),this.getCatalog=e.getCatalog.bind(e),this.getPaperMargin=e.getPaperMargin.bind(e),this.getSearchNavigateInfo=e.getSearchNavigateInfo.bind(e),this.getLocale=e.getLocale.bind(e),this.getGroupIds=e.getGroupIds.bind(e),this.getContainer=e.getContainer.bind(e),this.getTitleValue=e.getTitleValue.bind(e),this.executeSetControlValue=e.setControlValue.bind(e),this.executeSetControlExtension=e.setControlExtension.bind(e),this.executeSetControlProperties=e.setControlProperties.bind(e),this.executeSetControlHighlight=e.setControlHighlight.bind(e),this.getControlValue=e.getControlValue.bind(e),this.getControlList=e.getControlList.bind(e),this.executeLocationControl=e.locationControl.bind(e)}}const hd={data:"",color:"#AEB5C0",opacity:.3,size:200,font:"Microsoft YaHei"};var Mi=(t=>(t.TOP="top",t.MIDDLE="middle",t.BOTTOM="bottom",t))(Mi||{});const GT={color:"#FFFFFF",image:"",size:tf.COVER,repeat:ro.NO_REPEAT},JT={width:14,height:14,gap:5,lineWidth:1,fillStyle:"#5175f4",strokeStyle:"#ffffff"},zT={placeholderColor:"#9c9b9b",bracketColor:"#000000",prefix:"{",postfix:"}",borderWidth:1,borderColor:"#000000"},$T={bottom:30,maxHeightRadio:ea.HALF,disabled:!1},jT={opacity:.1,backgroundColor:"#E99D00",activeOpacity:.5,activeBackgroundColor:"#E99D00",disabled:!1},qT={top:30,maxHeightRadio:ea.HALF,disabled:!1},eS={disabled:!0,color:"#CCCCCC",lineWidth:1.5},tS={font:"Microsoft YaHei",fontSize:12,lineDash:[3,1]},nS={data:"",color:"#DCDFE6",opacity:1,size:16,font:"Microsoft YaHei"},rS={width:14,height:14,gap:5,lineWidth:1,fillStyle:"#5175f4",strokeStyle:"#000000"},iS={lineWidth:1,strokeStyle:"#000000"},oS={tdPadding:[0,5,5,5],defaultTrMinHeight:42,defaultColMinWidth:40},aS={tipDisabled:!0};function mR(t={}){const e={...oS,...t.table},n={...qT,...t.header},r={...$T,...t.footer},i={...eT,...t.pageNumber},o={...hd,...t.watermark},a={...zT,...t.control},s={...JT,...t.checkbox},c={...rS,...t.radio},u={...Ax,...t.cursor},l={...nw,...t.title},h={...nS,...t.placeholder},d={...jT,...t.group},f={...tS,...t.pageBreak},p={...aS,...t.zone},g={...GT,...t.background},y={...eS,...t.lineBreak},R={...iS,...t.separator};return{mode:Zt.EDIT,defaultType:"TEXT",defaultColor:"#000000",defaultFont:"Microsoft YaHei",defaultSize:16,minSize:5,maxSize:72,defaultRowMargin:1,defaultBasicRowMarginHeight:8,defaultTabWidth:32,width:794,height:1123,scale:1,pageGap:20,underlineColor:"#000000",strikeoutColor:"#FF0000",rangeAlpha:.6,rangeColor:"#AECBFA",rangeMinWidth:5,searchMatchAlpha:.6,searchMatchColor:"#FFFF00",searchNavigateMatchColor:"#AAD280",highlightAlpha:.6,resizerColor:"#4182D9",resizerSize:5,marginIndicatorSize:35,marginIndicatorColor:"#BABABA",margins:[100,120,100,120],pageMode:Pi.PAGING,defaultHyperlinkColor:"#0000FF",paperDirection:uo.VERTICAL,inactiveAlpha:.6,historyMaxRecordCount:100,wordBreak:ef.BREAK_WORD,printPixelRatio:3,maskMargin:[0,0,0,0],letterClass:[wx.ENGLISH],contextMenuDisableKeys:[],scrollContainerSelector:"",...t,table:e,header:n,footer:r,pageNumber:i,watermark:o,control:a,checkbox:s,radio:c,cursor:u,title:l,placeholder:h,group:d,pageBreak:f,zone:p,background:g,lineBreak:y,separator:R}}function sS(t,e){const{width:n,height:r,direction:i=uo.VERTICAL}=e,o=document.createElement("iframe");o.style.visibility="hidden",o.style.position="absolute",o.style.left="0",o.style.top="0",o.style.width="0",o.style.height="0",o.style.border="none",document.body.append(o);const a=o.contentWindow,s=a.document;s.open();const c=document.createElement("div");t.forEach(h=>{const d=document.createElement("img");d.style.width=`${n}px`,d.style.height=`${r}px`,d.src=h,c.append(d)});const u=document.createElement("style"),l=`
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
@page {
|
|
margin: 0;
|
|
size: ${i===uo.HORIZONTAL?"landscape":"portrait"};
|
|
}`;u.append(document.createTextNode(l)),setTimeout(()=>{s.write(`${u.outerHTML}${c.innerHTML}`),a.print(),s.close(),window.addEventListener("mouseover",()=>{o==null||o.remove()},{once:!0})})}class cS{constructor(e){this.draw=e,this.range=e.getRange(),this.position=e.getPosition(),this.historyManager=e.getHistoryManager(),this.canvasEvent=e.getCanvasEvent(),this.tableTool=e.getTableTool(),this.options=e.getOptions(),this.control=e.getControl(),this.workerManager=e.getWorkerManager(),this.searchManager=e.getSearch(),this.i18n=e.getI18n()}mode(e){this.draw.setMode(e)}cut(){this.draw.isReadonly()||this.canvasEvent.cut()}copy(){this.canvasEvent.copy()}paste(e){this.draw.isReadonly()||gw(this.canvasEvent,e)}selectAll(){this.canvasEvent.selectAll()}backspace(){if(this.draw.isReadonly())return;const n=this.draw.getElementList(),{startIndex:r,endIndex:i}=this.range.getRange(),o=r===i;if(o&&n[r].value===We&&r===0)return;o?this.draw.spliceElementList(n,r,1):this.draw.spliceElementList(n,r+1,i-r);const a=o?r-1:r;this.range.setRange(a,a),this.draw.render({curIndex:a})}setRange(e,n,r,i,o,a,s){if(e<0||n<0||n<e)return;this.range.setRange(e,n,r,i,o,a,s);const c=e===n;this.draw.render({curIndex:c?e:void 0,isCompute:!1,isSubmitHistory:!1,isSetCursor:c})}replaceRange(e){this.setRange(e.startIndex,e.endIndex,e.tableId,e.startTdIndex,e.endTdIndex,e.startTrIndex,e.endTrIndex)}setPositionContext(e){const{tableId:n,startTrIndex:r,startTdIndex:i}=e,o=this.draw.getOriginalElementList();if(n){const a=o.findIndex(l=>l.id===n);if(!~a)return;const c=o[a].trList[r],u=c.tdList[i];this.position.setPositionContext({isTable:!0,index:a,trIndex:r,tdIndex:i,tdId:u.id,trId:c.id,tableId:n})}else this.position.setPositionContext({isTable:!1})}forceUpdate(e){const{isSubmitHistory:n=!1}=e||{};this.range.clearRange(),this.draw.render({isSubmitHistory:n,isSetCursor:!1})}blur(){this.range.clearRange(),this.draw.getCursor().recoveryCursor()}undo(){this.draw.isReadonly()||this.historyManager.undo()}redo(){this.draw.isReadonly()||this.historyManager.redo()}painter(e){if(!e.isDblclick&&this.draw.getPainterStyle()){this.canvasEvent.clearPainterStyle();return}const n=this.range.getSelection();if(!n)return;const r={};n.forEach(i=>{po.forEach(a=>{const s=a;r[s]===void 0&&(r[s]=i[s])})}),this.draw.setPainterStyle(r,e)}applyPainterStyle(){this.draw.isReadonly()||this.control.getIsDisabledControl()||this.canvasEvent.applyPainterStyle()}format(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getSelectionElementList();let r={},i=[];if(n!=null&&n.length)i=n,r={isSetCursor:!1};else{const{endIndex:o}=this.range.getRange(),s=this.draw.getElementList()[o];(s==null?void 0:s.value)===We&&(i.push(s),r={curIndex:o})}!i.length||(i.forEach(o=>{delete o.size,delete o.font,delete o.color,delete o.bold,delete o.italic,delete o.underline,delete o.strikeout}),this.draw.render(r))}font(e){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const r=this.range.getSelectionElementList();if(r!=null&&r.length)r.forEach(i=>{i.font=e}),this.draw.render({isSetCursor:!1});else{const{endIndex:i}=this.range.getRange(),a=this.draw.getElementList()[i];(a==null?void 0:a.value)===We&&(a.font=e,this.draw.render({curIndex:i,isCompute:!1}))}}size(e){const{minSize:n,maxSize:r,defaultSize:i}=this.options;if(e<n||e>r||this.draw.isReadonly()||this.control.getIsDisabledControl())return;let a={},s=[];const c=this.range.getTextLikeSelectionElementList();if(c!=null&&c.length)s=c,a={isSetCursor:!1};else{const{endIndex:l}=this.range.getRange(),d=this.draw.getElementList()[l];(d==null?void 0:d.value)===We&&(s.push(d),a={curIndex:l})}if(!s.length)return;let u=!1;s.forEach(l=>{!l.size&&e===i||l.size&&l.size===e||(l.size=e,u=!0)}),u&&this.draw.render(a)}sizeAdd(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getTextLikeSelectionElementList();let r={},i=[];if(n!=null&&n.length)i=n,r={isSetCursor:!1};else{const{endIndex:c}=this.range.getRange(),l=this.draw.getElementList()[c];(l==null?void 0:l.value)===We&&(i.push(l),r={curIndex:c})}if(!i.length)return;const{defaultSize:o,maxSize:a}=this.options;let s=!1;i.forEach(c=>{c.size||(c.size=o),!(c.size>=a)&&(c.size+2>a?c.size=a:c.size+=2,s=!0)}),s&&this.draw.render(r)}sizeMinus(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getTextLikeSelectionElementList();let r={},i=[];if(n!=null&&n.length)i=n,r={isSetCursor:!1};else{const{endIndex:c}=this.range.getRange(),l=this.draw.getElementList()[c];(l==null?void 0:l.value)===We&&(i.push(l),r={curIndex:c})}if(!i.length)return;const{defaultSize:o,minSize:a}=this.options;let s=!1;i.forEach(c=>{c.size||(c.size=o),!(c.size<=a)&&(c.size-2<a?c.size=a:c.size-=2,s=!0)}),s&&this.draw.render(r)}bold(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getSelectionElementList();if(n!=null&&n.length){const r=n.findIndex(i=>!i.bold);n.forEach(i=>{i.bold=!!~r}),this.draw.render({isSetCursor:!1})}else{const{endIndex:r}=this.range.getRange(),o=this.draw.getElementList()[r];(o==null?void 0:o.value)===We&&(o.bold=!o.bold,this.draw.render({curIndex:r,isCompute:!1}))}}italic(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getSelectionElementList();if(n!=null&&n.length){const r=n.findIndex(i=>!i.italic);n.forEach(i=>{i.italic=!!~r}),this.draw.render({isSetCursor:!1})}else{const{endIndex:r}=this.range.getRange(),o=this.draw.getElementList()[r];(o==null?void 0:o.value)===We&&(o.italic=!o.italic,this.draw.render({curIndex:r,isCompute:!1}))}}underline(e){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const r=this.range.getSelectionElementList();if(r!=null&&r.length){const i=r.some(o=>!o.underline||!e&&o.textDecoration||e&&!o.textDecoration||e&&o.textDecoration&&!Lx(o.textDecoration,e));r.forEach(o=>{o.underline=i,i&&e?o.textDecoration=e:delete o.textDecoration}),this.draw.render({isSetCursor:!1,isCompute:!1})}else{const{endIndex:i}=this.range.getRange(),a=this.draw.getElementList()[i];(a==null?void 0:a.value)===We&&(a.underline=!a.underline,this.draw.render({curIndex:i,isCompute:!1}))}}strikeout(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getSelectionElementList();if(n!=null&&n.length){const r=n.findIndex(i=>!i.strikeout);n.forEach(i=>{i.strikeout=!!~r}),this.draw.render({isSetCursor:!1,isCompute:!1})}else{const{endIndex:r}=this.range.getRange(),o=this.draw.getElementList()[r];(o==null?void 0:o.value)===We&&(o.strikeout=!o.strikeout,this.draw.render({curIndex:r,isCompute:!1}))}}superscript(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getSelectionElementList();if(!n)return;const r=n.findIndex(i=>i.type===fe.SUPERSCRIPT);n.forEach(i=>{~r?i.type===fe.SUPERSCRIPT&&(i.type=fe.TEXT,delete i.actualSize):(!i.type||i.type===fe.TEXT||i.type===fe.SUBSCRIPT)&&(i.type=fe.SUPERSCRIPT)}),this.draw.render({isSetCursor:!1})}subscript(){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const n=this.range.getSelectionElementList();if(!n)return;const r=n.findIndex(i=>i.type===fe.SUBSCRIPT);n.forEach(i=>{~r?i.type===fe.SUBSCRIPT&&(i.type=fe.TEXT,delete i.actualSize):(!i.type||i.type===fe.TEXT||i.type===fe.SUPERSCRIPT)&&(i.type=fe.SUBSCRIPT)}),this.draw.render({isSetCursor:!1})}color(e){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const r=this.range.getSelectionElementList();if(r!=null&&r.length)r.forEach(i=>{e?i.color=e:delete i.color}),this.draw.render({isSetCursor:!1,isCompute:!1});else{const{endIndex:i}=this.range.getRange(),a=this.draw.getElementList()[i];(a==null?void 0:a.value)===We&&(e?a.color=e:delete a.color,this.draw.render({curIndex:i,isCompute:!1}))}}highlight(e){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const r=this.range.getSelectionElementList();if(r!=null&&r.length)r.forEach(i=>{e?i.highlight=e:delete i.highlight}),this.draw.render({isSetCursor:!1,isCompute:!1});else{const{endIndex:i}=this.range.getRange(),a=this.draw.getElementList()[i];(a==null?void 0:a.value)===We&&(e?a.highlight=e:delete a.highlight,this.draw.render({curIndex:i,isCompute:!1}))}}title(e){if(this.draw.isReadonly())return;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const o=this.draw.getElementList(),a=r===i?this.range.getRangeParagraphElementList():o.slice(r+1,i+1);if(!a||!a.length)return;const s=vt(),c=this.draw.getOptions().title;a.forEach(h=>{!h.type&&h.value===We||(e?(h.level=e,h.titleId=s,eR(h)&&(h.size=c[$m[e]],h.bold=!0)):h.titleId&&(delete h.titleId,delete h.title,delete h.level,delete h.size,delete h.bold))});const u=r===i,l=u?i:r;this.draw.render({curIndex:l,isSetCursor:u})}list(e,n){this.draw.isReadonly()||this.draw.getListParticle().setList(e,n)}rowFlex(e){if(this.draw.isReadonly())return;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const o=this.range.getRangeRowElementList();if(!o)return;o.forEach(c=>{c.rowFlex=e});const a=r===i,s=a?i:r;this.draw.render({curIndex:s,isSetCursor:a})}rowMargin(e){if(this.draw.isReadonly())return;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const o=this.range.getRangeRowElementList();if(!o)return;o.forEach(c=>{c.rowMargin=e});const a=r===i,s=a?i:r;this.draw.render({curIndex:s,isSetCursor:a})}insertTable(e,n){var y;if(this.draw.isReadonly()||this.control.getActiveControl())return;const{startIndex:o,endIndex:a}=this.range.getRange();if(!~o&&!~a)return;const{defaultTrMinHeight:s}=this.options.table,c=this.draw.getElementList();let u=0;if((y=c[o])!=null&&y.listId){const R=this.position.getPositionList(),{rowIndex:m}=R[o],x=this.draw.getRowList()[m];u=(x==null?void 0:x.offsetX)||0}const l=this.draw.getOriginalInnerWidth()-u,h=[],d=l/n;for(let R=0;R<n;R++)h.push({width:d});const f=[];for(let R=0;R<e;R++){const m=[],v={height:s,tdList:m};for(let x=0;x<n;x++)m.push({colspan:1,rowspan:1,value:[{value:We,size:16}]});f.push(v)}const p={type:fe.TABLE,value:"",colgroup:h,trList:f};cr([p],{editorOptions:this.options}),wn(c,[p],o);const g=o+1;this.draw.spliceElementList(c,g,o===a?0:a-o,p),this.range.setRange(g,g),this.draw.render({curIndex:g,isSetCursor:!1})}insertTableTopRow(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{index:r,trIndex:i,tableId:o}=n,s=this.draw.getOriginalElementList()[r],c=s.trList,u=c[i];if(u.tdList.length<s.colgroup.length){const d=u.tdList[0].rowIndex;for(let f=0;f<i;f++){const p=c[f];for(let g=0;g<p.tdList.length;g++){const y=p.tdList[g];y.rowspan>1&&y.rowIndex+y.rowspan>=d+1&&(y.rowspan+=1)}}}const l=vt(),h={height:u.height,id:l,tdList:[]};for(let d=0;d<u.tdList.length;d++){const f=u.tdList[d],p=vt();h.tdList.push({id:p,rowspan:1,colspan:f.colspan,value:[{value:We,size:16,tableId:o,trId:l,tdId:p}]})}c.splice(i,0,h),this.position.setPositionContext({isTable:!0,index:r,trIndex:i,tdIndex:0,tdId:h.tdList[0].id,trId:h.id,tableId:o}),this.range.setRange(0,0),this.draw.render({curIndex:0}),this.tableTool.render()}insertTableBottomRow(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{index:r,trIndex:i,tableId:o}=n,s=this.draw.getOriginalElementList()[r],c=s.trList,u=c[i],l=c.length-1===i?u:c[i+1];if(l.tdList.length<s.colgroup.length){const f=l.tdList[0].rowIndex;for(let p=0;p<i+1;p++){const g=c[p];for(let y=0;y<g.tdList.length;y++){const R=g.tdList[y];R.rowspan>1&&R.rowIndex+R.rowspan>=f+1&&(R.rowspan+=1)}}}const h=vt(),d={height:l.height,id:h,tdList:[]};for(let f=0;f<l.tdList.length;f++){const p=l.tdList[f],g=vt();d.tdList.push({id:g,rowspan:1,colspan:p.colspan,value:[{value:We,size:16,tableId:o,trId:h,tdId:g}]})}c.splice(i+1,0,d),this.position.setPositionContext({isTable:!0,index:r,trIndex:i+1,tdIndex:0,tdId:d.tdList[0].id,trId:d.id,tableId:o}),this.range.setRange(0,0),this.draw.render({curIndex:0}),this.tableTool.render()}insertTableLeftCol(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{index:r,tdIndex:i,tableId:o}=n,s=this.draw.getOriginalElementList()[r],c=s.trList,u=i;for(let f=0;f<c.length;f++){const p=c[f],g=vt();p.tdList.splice(u,0,{id:g,rowspan:1,colspan:1,value:[{value:We,size:16,tableId:o,trId:p.id,tdId:g}]})}const l=s.colgroup;l.splice(u,0,{width:this.options.table.defaultColMinWidth});const h=l.reduce((f,p)=>f+p.width,0),d=this.draw.getOriginalInnerWidth();if(h>d){const f=(h-d)/l.length;for(let p=0;p<l.length;p++){const g=l[p];g.width-=f}}this.position.setPositionContext({isTable:!0,index:r,trIndex:0,tdIndex:u,tdId:c[0].tdList[u].id,trId:c[0].id,tableId:o}),this.range.setRange(0,0),this.draw.render({curIndex:0}),this.tableTool.render()}insertTableRightCol(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{index:r,tdIndex:i,tableId:o}=n,s=this.draw.getOriginalElementList()[r],c=s.trList,u=i+1;for(let f=0;f<c.length;f++){const p=c[f],g=vt();p.tdList.splice(u,0,{id:g,rowspan:1,colspan:1,value:[{value:We,size:16,tableId:o,trId:p.id,tdId:g}]})}const l=s.colgroup;l.splice(u,0,{width:this.options.table.defaultColMinWidth});const h=l.reduce((f,p)=>f+p.width,0),d=this.draw.getOriginalInnerWidth();if(h>d){const f=(h-d)/l.length;for(let p=0;p<l.length;p++){const g=l[p];g.width-=f}}this.position.setPositionContext({isTable:!0,index:r,trIndex:0,tdIndex:u,tdId:c[0].tdList[u].id,trId:c[0].id,tableId:o}),this.range.setRange(0,0),this.draw.render({curIndex:0}),this.tableTool.render()}deleteTableRow(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{index:r,trIndex:i,tdIndex:o}=n,s=this.draw.getOriginalElementList()[r],c=s.trList,u=c[i],l=u.tdList[o].rowIndex;if(c.length<=1){this.deleteTable();return}for(let h=0;h<l;h++){const f=c[h].tdList;for(let p=0;p<f.length;p++){const g=f[p];g.rowIndex+g.rowspan>l&&g.rowspan--}}for(let h=0;h<u.tdList.length;h++){const d=u.tdList[h];if(d.rowspan>1){const f=vt(),p=c[i+1];p.tdList.splice(h,0,{id:f,rowspan:d.rowspan-1,colspan:d.colspan,value:[{value:We,size:16,tableId:s.id,trId:p.id,tdId:f}]})}}c.splice(i,1),this.position.setPositionContext({isTable:!1}),this.range.clearRange(),this.draw.render({curIndex:n.index}),this.tableTool.dispose()}deleteTableCol(){var d;if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{index:r,tdIndex:i,trIndex:o}=n,s=this.draw.getOriginalElementList()[r],c=s.trList,l=c[o].tdList[i].colIndex;if(!c.find(f=>f.tdList.length>1)){this.deleteTable();return}for(let f=0;f<c.length;f++){const p=c[f];for(let g=0;g<p.tdList.length;g++){const y=p.tdList[g];if(y.colspan>1){const R=y.colIndex;R<=l&&R+y.colspan-1>=l&&(y.colspan-=1)}}}for(let f=0;f<c.length;f++){const p=c[f];let g=-1;for(let y=0;y<p.tdList.length;y++)p.tdList[y].colIndex===l&&(g=y);~g&&p.tdList.splice(g,1)}(d=s.colgroup)==null||d.splice(l,1),this.position.setPositionContext({isTable:!1}),this.range.setRange(0,0),this.draw.render({curIndex:n.index}),this.tableTool.dispose()}deleteTable(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;this.draw.getOriginalElementList().splice(n.index,1);const i=n.index-1;this.position.setPositionContext({isTable:!1,index:i}),this.range.setRange(i,i),this.draw.render({curIndex:i}),this.tableTool.dispose()}mergeTableCell(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{isCrossRowCol:r,startTdIndex:i,endTdIndex:o,startTrIndex:a,endTrIndex:s}=this.range.getRange();if(!r)return;const{index:c}=n,h=this.draw.getOriginalElementList()[c].trList;let d=h[a].tdList[i],f=h[s].tdList[o];(d.x>f.x||d.y>f.y)&&([d,f]=[f,d]);const p=d.colIndex,g=f.colIndex+(f.colspan-1),y=d.rowIndex,R=f.rowIndex+(f.rowspan-1),m=[];for(let I=0;I<h.length;I++){const b=h[I],P=[];for(let U=0;U<b.tdList.length;U++){const X=b.tdList[U],V=X.colIndex,k=X.rowIndex;V>=p&&V<=g&&k>=y&&k<=R&&P.push(X)}P.length&&m.push(P)}if(!m.length)return;const v=m[m.length-1],x=m[0][0],O=v[v.length-1],E=x.x,N=x.y,M=O.x+O.width,_=O.y+O.height;for(let I=0;I<m.length;I++){const b=m[I];for(let P=0;P<b.length;P++){const U=b[P],X=U.x,V=U.y,k=X+U.width,re=V+U.height;if(E>X||N>V||M<k||_<re)return}}const B=[],q=m[0][0];for(let I=0;I<m.length;I++){const b=m[I];for(let P=0;P<b.length;P++){const U=b[P];I===0&&P===0||B.push(U.id),I===0&&P!==0&&(q.colspan+=U.colspan),I!==0&&q.colIndex===U.colIndex&&(q.rowspan+=U.rowspan)}}for(let I=0;I<h.length;I++){const b=h[I];let P=0;for(;P<b.tdList.length;){const U=b.tdList[P];B.includes(U.id)&&(b.tdList.splice(P,1),P--),P++}}const T=d.value.length-1;this.range.setRange(T,T),this.draw.render(),this.tableTool.render()}cancelMergeTableCell(){if(this.draw.isReadonly())return;const n=this.position.getPositionContext();if(!n.isTable)return;const{index:r,tdIndex:i,trIndex:o}=n,s=this.draw.getOriginalElementList()[r],c=s.trList,u=c[o],l=u.tdList[i];if(l.rowspan===1&&l.colspan===1)return;const h=l.colspan;if(l.colspan>1){for(let f=1;f<l.colspan;f++){const p=vt();u.tdList.splice(i+f,0,{id:p,rowspan:1,colspan:1,value:[{value:We,size:16,tableId:s.id,trId:u.id,tdId:p}]})}l.colspan=1}if(l.rowspan>1){for(let f=1;f<l.rowspan;f++){const p=c[o+f];for(let g=0;g<h;g++){const y=vt();p.tdList.splice(l.colIndex,0,{id:y,rowspan:1,colspan:1,value:[{value:We,size:16,tableId:s.id,trId:p.id,tdId:y}]})}}l.rowspan=1}const d=l.value.length-1;this.range.setRange(d,d),this.draw.render(),this.tableTool.render()}tableTdVerticalAlign(e){if(this.draw.isReadonly())return;const r=this.draw.getTableParticle().getRangeRowCol();if(!r)return;for(let o=0;o<r.length;o++){const a=r[o];for(let s=0;s<a.length;s++){const c=a[s];!c||c.verticalAlign===e||!c.verticalAlign&&e===Mi.TOP||(c.verticalAlign=e)}}const{endIndex:i}=this.range.getRange();this.draw.render({curIndex:i})}tableBorderType(e){if(this.draw.isReadonly())return;const r=this.position.getPositionContext();if(!r.isTable)return;const{index:i}=r,a=this.draw.getOriginalElementList()[i];if(!a.borderType&&e===Kr.ALL||a.borderType===e)return;a.borderType=e;const{endIndex:s}=this.range.getRange();this.draw.render({curIndex:s})}tableTdBorderType(e){if(this.draw.isReadonly())return;const r=this.draw.getTableParticle().getRangeRowCol();if(!r)return;const i=r.flat(),o=i.some(s=>{var c;return!((c=s.borderTypes)!=null&&c.includes(e))});i.forEach(s=>{s.borderTypes||(s.borderTypes=[]);const c=s.borderTypes.findIndex(u=>u===e);o?~c||s.borderTypes.push(e):~c&&s.borderTypes.splice(c,1),s.borderTypes.length||delete s.borderTypes});const{endIndex:a}=this.range.getRange();this.draw.render({curIndex:a})}tableTdSlashType(e){if(this.draw.isReadonly())return;const r=this.draw.getTableParticle().getRangeRowCol();if(!r)return;const i=r.flat(),o=i.some(s=>{var c;return!((c=s.slashTypes)!=null&&c.includes(e))});i.forEach(s=>{s.slashTypes||(s.slashTypes=[]);const c=s.slashTypes.findIndex(u=>u===e);o?~c||s.slashTypes.push(e):~c&&s.slashTypes.splice(c,1),s.slashTypes.length||delete s.slashTypes});const{endIndex:a}=this.range.getRange();this.draw.render({curIndex:a})}tableTdBackgroundColor(e){if(this.draw.isReadonly())return;const r=this.draw.getTableParticle().getRangeRowCol();if(!r)return;for(let o=0;o<r.length;o++){const a=r[o];for(let s=0;s<a.length;s++){const c=a[s];c.backgroundColor=e}}const{endIndex:i}=this.range.getRange();this.range.setRange(i,i),this.draw.render({isCompute:!1})}tableSelectAll(){const e=this.position.getPositionContext(),{index:n,tableId:r,isTable:i}=e;if(!i||!r)return;const{startIndex:o,endIndex:a}=this.range.getRange(),c=this.draw.getOriginalElementList()[n].trList,u=c.length-1,l=c[u].tdList.length-1;this.range.replaceRange({startIndex:o,endIndex:a,tableId:r,startTdIndex:0,endTdIndex:l,startTrIndex:0,endTrIndex:u}),this.draw.render({isCompute:!1,isSubmitHistory:!1})}hyperlink(e){if(this.draw.isReadonly()||this.control.getActiveControl())return;const{startIndex:i,endIndex:o}=this.range.getRange();if(!~i&&!~o)return;const a=this.draw.getElementList(),{valueList:s,url:c}=e,u=vt(),l=s==null?void 0:s.map(f=>({url:c,hyperlinkId:u,value:f.value,type:fe.HYPERLINK}));if(!l)return;const h=i+1;wn(a,l,i),this.draw.spliceElementList(a,h,i===o?0:o-i,...l);const d=h+l.length-1;this.range.setRange(d,d),this.draw.render({curIndex:d})}getHyperlinkRange(){let e=-1,n=-1;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return null;const o=this.draw.getElementList(),a=o[r];if(a.type!==fe.HYPERLINK)return null;let s=r;for(;s>0;){if(o[s].hyperlinkId!==a.hyperlinkId){e=s+1;break}s--}let c=r+1;for(;c<o.length;){if(o[c].hyperlinkId!==a.hyperlinkId){n=c-1;break}c++}return c===o.length&&(n=c-1),!~e||!~n?null:[e,n]}deleteHyperlink(){if(this.draw.isReadonly())return;const n=this.getHyperlinkRange();if(!n)return;const r=this.draw.getElementList(),[i,o]=n;this.draw.spliceElementList(r,i,o-i+1),this.draw.getHyperlinkParticle().clearHyperlinkPopup();const a=i-1;this.range.setRange(a,a),this.draw.render({curIndex:a})}cancelHyperlink(){if(this.draw.isReadonly())return;const n=this.getHyperlinkRange();if(!n)return;const r=this.draw.getElementList(),[i,o]=n;for(let s=i;s<=o;s++){const c=r[s];delete c.type,delete c.url,delete c.hyperlinkId,delete c.underline}this.draw.getHyperlinkParticle().clearHyperlinkPopup();const{endIndex:a}=this.range.getRange();this.draw.render({curIndex:a,isCompute:!1})}editHyperlink(e){if(this.draw.isReadonly())return;const r=this.getHyperlinkRange();if(!r)return;const i=this.draw.getElementList(),[o,a]=r;for(let c=o;c<=a;c++){const u=i[c];u.url=e}this.draw.getHyperlinkParticle().clearHyperlinkPopup();const{endIndex:s}=this.range.getRange();this.draw.render({curIndex:s,isCompute:!1})}separator(e){if(this.draw.isReadonly()||this.control.getActiveControl())return;const{startIndex:i,endIndex:o}=this.range.getRange();if(!~i&&!~o)return;const a=this.draw.getElementList();let s=-1;const c=a[o+1];if(c&&c.type===fe.SEPARATOR){if(c.dashArray&&c.dashArray.join()===e.join())return;s=o,c.dashArray=e}else{const u={value:w1,type:fe.SEPARATOR,dashArray:e};wn(a,[u],i),i!==0&&a[i].value===We?(this.draw.spliceElementList(a,i,1,u),s=i-1):(this.draw.spliceElementList(a,i+1,0,u),s=i)}this.range.setRange(s,s),this.draw.render({curIndex:s})}pageBreak(){this.draw.isReadonly()||this.control.getActiveControl()||this.insertElementList([{type:fe.PAGE_BREAK,value:w1}])}addWatermark(e){if(this.draw.isReadonly())return;const r=this.draw.getOptions(),{color:i,size:o,opacity:a,font:s}=hd;r.watermark.data=e.data,r.watermark.color=e.color||i,r.watermark.size=e.size||o,r.watermark.opacity=e.opacity||a,r.watermark.font=e.font||s,this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1})}deleteWatermark(){if(this.draw.isReadonly())return;const n=this.draw.getOptions();n.watermark&&n.watermark.data&&(n.watermark={...hd},this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1}))}image(e){if(this.draw.isReadonly()||this.control.getIsDisabledControl())return;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const{value:o,width:a,height:s,imgDisplay:c}=e;this.insertElementList([{value:o,width:a,height:s,id:vt(),type:fe.IMAGE,imgDisplay:c}])}search(e){this.searchManager.setSearchKeyword(e),this.draw.render({isSetCursor:!1,isSubmitHistory:!1})}searchNavigatePre(){this.searchManager.searchNavigatePre()!==null&&this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1,isLazy:!1})}searchNavigateNext(){this.searchManager.searchNavigateNext()!==null&&this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1,isLazy:!1})}getSearchNavigateInfo(){return this.searchManager.getSearchNavigateInfo()}replace(e){if(this.draw.isReadonly()||!e||new RegExp(`${We}`,"g").test(e))return;const r=this.draw.getSearch().getSearchMatchList();if(!r.length)return;let i=0,o=0,a="",s="",c=-1;const u=this.draw.getOriginalElementList();for(let d=0;d<r.length;d++){const f=r[d];if(f.type===Fi.TABLE){const{tableIndex:p,trIndex:g,tdIndex:y,index:R,tdId:m}=f;s&&m!==s&&(o=0),s=m;const v=p+i,x=u[v].trList[g].tdList[y].value,O=R+o,E=x[O];if(a===f.groupId){this.draw.spliceElementList(x,O,1),o--;continue}for(let N=0;N<e.length;N++){const M=e[N];N===0?E.value=M:(this.draw.spliceElementList(x,O+N,0,{...E,value:M}),o++)}}else{const p=f.index+i,g=u[p];if(g.type===fe.CONTROL&&g.controlComponent!==Se.VALUE)continue;if(~c||(c=d),a===f.groupId){this.draw.spliceElementList(u,p,1),i--;continue}for(let y=0;y<e.length;y++){const R=e[y];y===0?g.value=R:(this.draw.spliceElementList(u,p+y,0,{...g,value:R}),i++)}}a=f.groupId}if(!~c)return;const l=r[c],h=l.index+(e.length-1);if(l.type===Fi.TABLE){const{tableIndex:d,trIndex:f,tdIndex:p,index:g}=l,y=u[d].trList[f].tdList[p].value[g];this.position.setPositionContext({isTable:!0,index:d,trIndex:f,tdIndex:p,tdId:y.tdId,trId:y.trId,tableId:y.tableId})}else this.position.setPositionContext({isTable:!1});this.range.setRange(h,h),this.draw.render({curIndex:h})}async print(){const{scale:e,printPixelRatio:n,paperDirection:r}=this.options;e!==1&&this.draw.setPageScale(1);const i=this.draw.getOriginalWidth(),o=this.draw.getOriginalHeight(),a=await this.draw.getDataURL({pixelRatio:n,mode:Zt.PRINT});sS(a,{width:i,height:o,direction:r}),e!==1&&this.draw.setPageScale(e)}replaceImageElement(e){const{startIndex:n}=this.range.getRange(),i=this.draw.getElementList()[n];!i||i.type!==fe.IMAGE||(i.id=vt(),i.value=e,this.draw.render({isSetCursor:!1}))}saveAsImageElement(){const{startIndex:e}=this.range.getRange(),r=this.draw.getElementList()[e];!r||r.type!==fe.IMAGE||Zm(r.value,`${r.id}.png`)}changeImageDisplay(e,n){if(e.imgDisplay===n)return;e.imgDisplay=n;const{startIndex:r,endIndex:i}=this.range.getRange();if(n===ht.FLOAT_TOP||n===ht.FLOAT_BOTTOM){const o=this.position.getPositionList(),{coordinate:{leftTop:a}}=o[r];e.imgFloatPosition={x:a[0],y:a[1]}}else delete e.imgFloatPosition;this.draw.getPreviewer().clearResizer(),this.draw.render({isSetCursor:!0,curIndex:i})}getImage(e){return this.draw.getDataURL(e)}getOptions(){return this.options}getValue(e){return this.draw.getValue(e)}getHTML(){const e=this.options,n=this.draw.getHeaderElementList(),r=this.draw.getOriginalMainElementList(),i=this.draw.getFooterElementList();return{header:ps(n,e).innerHTML,main:ps(r,e).innerHTML,footer:ps(i,e).innerHTML}}getText(){const e=this.draw.getHeaderElementList(),n=this.draw.getOriginalMainElementList(),r=this.draw.getFooterElementList();return{header:yc(e),main:yc(n),footer:yc(r)}}getWordCount(){return this.workerManager.getWordCount()}getRange(){return Ft(this.range.getRange())}getRangeText(){return this.range.toString()}getRangeContext(){const e=this.range.getRange(),{startIndex:n,endIndex:r}=e;if(!~n&&!~r)return null;const i=n===r,o=this.range.toString(),a=Wt(this.range.getSelectionElementList()||[]),s=this.draw.getElementList(),c=ta(s[i?n:n+1]),u=ta(s[r]),l=this.position.getPositionList(),h=l[n].pageNo,d=l[r].pageNo,f=[],p=this.draw.getOriginalHeight(),g=this.draw.getOriginalPageGap(),y=this.position.getSelectionPositionList();if(y){let N=null,M=0,_=null;for(let B=0;B<y.length;B++){const{rowNo:q,pageNo:T,coordinate:{leftTop:I,rightTop:b},lineHeight:P}=y[B];N===null||N!==q?(_&&f.push(_),_={x:I[0],y:I[1]+T*(p+g),width:b[0]-I[0],height:P},N=q,M=I[0]):_.width=b[0]-M,B===y.length-1&&_&&f.push(_)}}else{const M=this.position.getPositionList()[r],{coordinate:{rightTop:_},pageNo:B,lineHeight:q}=M;f.push({x:_[0],y:_[1]+B*(p+g),width:0,height:q})}const R=this.draw.getZone().getZone(),{isTable:m,trIndex:v,tdIndex:x,index:O}=this.position.getPositionContext();let E=null;if(m){const M=this.draw.getOriginalElementList()[O]||null;M&&(E=Wt([M])[0])}return Ft({isCollapsed:i,startElement:c,endElement:u,startPageNo:h,endPageNo:d,rangeRects:f,zone:R,isTable:m,trIndex:v!=null?v:null,tdIndex:x!=null?x:null,tableElement:E,selectionText:o,selectionElementList:a})}getRangeRow(){const e=this.range.getRangeRowElementList();return e?Wt(e):null}getRangeParagraph(){const e=this.range.getRangeParagraphElementList();return e?Wt(e):null}getKeywordRangeList(e){return this.range.getKeywordRangeList(e)}pageMode(e){this.draw.setPageMode(e)}pageScaleRecovery(){const{scale:e}=this.options;e!==1&&this.draw.setPageScale(1)}pageScaleMinus(){const{scale:e}=this.options,n=e*10-1;n>=5&&this.draw.setPageScale(n/10)}pageScaleAdd(){const{scale:e}=this.options,n=e*10+1;n<=30&&this.draw.setPageScale(n/10)}paperSize(e,n){this.draw.setPaperSize(e,n)}paperDirection(e){this.draw.setPaperDirection(e)}getPaperMargin(){return this.options.margins}setPaperMargin(e){return this.draw.setPaperMargin(e)}insertElementList(e){if(!e.length||this.draw.isReadonly())return;const r=Ft(e),{startIndex:i}=this.range.getRange(),o=this.draw.getElementList();wn(o,r,i),this.draw.insertElementList(r)}appendElementList(e,n){!e.length||this.draw.isReadonly()||this.draw.appendElementList(Ft(e),n)}setValue(e){this.draw.setValue(e)}removeControl(){const{startIndex:e,endIndex:n}=this.range.getRange();if(e!==n||!this.draw.getElementList()[e].controlId)return;const a=this.draw.getControl().removeControl(e);a!==null&&(this.range.setRange(a,a),this.draw.render({curIndex:a}))}setLocale(e){this.i18n.setLocale(e)}getLocale(){return this.i18n.getLocale()}getCatalog(){return this.workerManager.getCatalog()}locationCatalog(e){var i;const n=this.draw.getMainElementList();let r=-1;for(let o=0;o<n.length;o++)if(n[o].titleId===e&&((i=n[o+1])==null?void 0:i.titleId)!==e){r=o;break}!~r||(this.range.setRange(r,r),this.draw.render({curIndex:r,isCompute:!1,isSubmitHistory:!1}))}wordTool(){const e=this.draw.getMainElementList();let n=!1;for(let r=0;r<e.length;r++)if(e[r].value===We)for(;r+1<e.length;){const o=e[r+1];if(o.value!==We&&o.value!==bx)break;e.splice(r+1,1),n=!0}if(n)this.draw.render({isSetCursor:!1});else{const r=this.range.getIsCollapsed();this.draw.getCursor().drawCursor({isShow:r})}}setHTML(e){const{header:n,main:r,footer:i}=e,o=this.draw.getOriginalInnerWidth(),a=s=>s!==void 0?gs(s,{innerWidth:o}):void 0;this.setValue({header:a(n),main:a(r),footer:a(i)})}setGroup(){return this.draw.isReadonly()?null:this.draw.getGroup().setGroup()}deleteGroup(e){this.draw.isReadonly()||this.draw.getGroup().deleteGroup(e)}getGroupIds(){return this.draw.getWorkerManager().getGroupIds()}locationGroup(e){const n=this.draw.getOriginalMainElementList(),r=this.draw.getGroup().getContextByGroupId(n,e);if(!r)return;const{isTable:i,index:o,trIndex:a,tdIndex:s,tdId:c,trId:u,tableId:l,endIndex:h}=r;this.position.setPositionContext({isTable:i,index:o,trIndex:a,tdIndex:s,tdId:c,trId:u,tableId:l}),this.range.setRange(h,h),this.draw.render({curIndex:h,isCompute:!1,isSubmitHistory:!1})}setZone(e){this.draw.getZone().setZone(e)}getControlValue(e){return this.draw.getControl().getValueByConceptId(e)}setControlValue(e){this.draw.isReadonly()||this.draw.getControl().setValueByConceptId(e)}setControlExtension(e){this.draw.isReadonly()||this.draw.getControl().setExtensionByConceptId(e)}setControlProperties(e){this.draw.isReadonly()||this.draw.getControl().setPropertiesByConceptId(e)}setControlHighlight(e){this.draw.getControl().setHighlightList(e)}updateOptions(e){const n=mR(e);Object.entries(n).forEach(([r,i])=>{Reflect.set(this.options,r,i)}),this.forceUpdate()}getControlList(){return this.draw.getControl().getList()}locationControl(e){function n(i,o){let a=0;for(;a<i.length;){const s=i[a];if(a++,s.type===fe.TABLE){const u=s.trList;for(let l=0;l<u.length;l++){const h=u[l];for(let d=0;d<h.tdList.length;d++){const f=h.tdList[d],p=n(f.value,o);if(p)return{...p,positionContext:{isTable:!0,index:a-1,trIndex:l,tdIndex:d,tdId:s.tdId,trId:s.trId,tableId:s.tableId}}}}}if((s==null?void 0:s.controlId)!==e)continue;const c=a-1;return{zone:o,range:{startIndex:c,endIndex:c},positionContext:{isTable:!1}}}return null}const r=[{zone:it.HEADER,elementList:this.draw.getHeaderElementList()},{zone:it.MAIN,elementList:this.draw.getOriginalMainElementList()},{zone:it.FOOTER,elementList:this.draw.getFooterElementList()}];for(const i of r){const o=n(i.elementList,i.zone);if(o){this.setZone(o.zone),this.position.setPositionContext(o.positionContext),this.range.replaceRange(o.range),this.draw.render({curIndex:o.range.startIndex,isCompute:!1,isSubmitHistory:!1});break}}}getContainer(){return this.draw.getContainer()}getTitleValue(e){const{conceptId:n}=e,r=[],i=(a,s)=>{var u;let c=0;for(;c<a.length;){const l=a[c];if(c++,l.type===fe.TABLE){const f=l.trList;for(let p=0;p<f.length;p++){const g=f[p];for(let y=0;y<g.tdList.length;y++){const R=g.tdList[y];i(R.value,s)}}}if(((u=l==null?void 0:l.title)==null?void 0:u.conceptId)!==n)continue;const h=[];let d=c;for(;d<a.length;){const f=a[d];if(d++,l.titleId!==f.titleId){if(f.level&&cd[f.level]<=cd[l.level])break;h.push(f)}}r.push({...l.title,value:yc(h),elementList:Wt(h),zone:s}),c=d}},o=[{zone:it.HEADER,elementList:this.draw.getHeaderElementList()},{zone:it.MAIN,elementList:this.draw.getOriginalMainElementList()},{zone:it.FOOTER,elementList:this.draw.getFooterElementList()}];for(const{zone:a,elementList:s}of o)i(s,a);return r}insertTitle(e){var c;if(this.draw.isReadonly())return;const r=Ft(e),{startIndex:i}=this.range.getRange(),o=this.draw.getElementList(),a=Fs(o,i);if(!a)return;const s=[...$d,...Ns,...Qm];(c=r.valueList)==null||c.forEach(u=>{Gc(s,a,u)}),this.draw.insertElementList([r])}}class uS{constructor(){this.rangeStyleChange=null,this.visiblePageNoListChange=null,this.intersectionPageNoChange=null,this.pageSizeChange=null,this.pageScaleChange=null,this.saved=null,this.contentChange=null,this.controlChange=null,this.pageModeChange=null,this.zoneChange=null}}class lS{constructor(e){const{contextMenu:n,shortcut:r,i18n:i}=e;this.contextMenuList=n.registerContextMenuList.bind(n),this.getContextMenuList=n.getContextMenuList.bind(n),this.shortcutList=r.registerShortcutList.bind(r),this.langMap=i.registerLangMap.bind(i)}}const A1={SELECTED_TEXT:"%s"},Ps={GLOBAL:{CUT:"globalCut",COPY:"globalCopy",PASTE:"globalPaste",SELECT_ALL:"globalSelectAll",PRINT:"globalPrint"},CONTROL:{DELETE:"controlDelete"},HYPERLINK:{DELETE:"hyperlinkDelete",CANCEL:"hyperlinkCancel",EDIT:"hyperlinkEdit"},IMAGE:{CHANGE:"imageChange",SAVE_AS:"imageSaveAs",TEXT_WRAP:"imageTextWrap",TEXT_WRAP_EMBED:"imageTextWrapEmbed",TEXT_WRAP_UP_DOWN:"imageTextWrapUpDown",TEXT_WRAP_FLOAT_TOP:"imageTextWrapFloatTop",TEXT_WRAP_FLOAT_BOTTOM:"imageTextWrapFloatBottom"},TABLE:{BORDER:"border",BORDER_ALL:"tableBorderAll",BORDER_EMPTY:"tableBorderEmpty",BORDER_EXTERNAL:"tableBorderExternal",BORDER_TD:"tableBorderTd",BORDER_TD_TOP:"tableBorderTdTop",BORDER_TD_RIGHT:"tableBorderTdRight",BORDER_TD_BOTTOM:"tableBorderTdBottom",BORDER_TD_LEFT:"tableBorderTdLeft",BORDER_TD_FORWARD:"tableBorderTdForward",BORDER_TD_BACK:"tableBorderTdBack",VERTICAL_ALIGN:"tableVerticalAlign",VERTICAL_ALIGN_TOP:"tableVerticalAlignTop",VERTICAL_ALIGN_MIDDLE:"tableVerticalAlignMiddle",VERTICAL_ALIGN_BOTTOM:"tableVerticalAlignBottom",INSERT_ROW_COL:"tableInsertRowCol",INSERT_TOP_ROW:"tableInsertTopRow",INSERT_BOTTOM_ROW:"tableInsertBottomRow",INSERT_LEFT_COL:"tableInsertLeftCol",INSERT_RIGHT_COL:"tableInsertRightCol",DELETE_ROW_COL:"tableDeleteRowCol",DELETE_ROW:"tableDeleteRow",DELETE_COL:"tableDeleteCol",DELETE_TABLE:"tableDeleteTable",MERGE_CELL:"tableMergeCell",CANCEL_MERGE_CELL:"tableCancelMergeCell"}},{CONTROL:{DELETE:hS}}=Ps,dS=[{key:hS,i18nPath:"contextmenu.control.delete",when:t=>{var e;return!t.isReadonly&&!t.editorHasSelection&&!!((e=t.startElement)!=null&&e.controlId)},callback:t=>{t.executeRemoveControl()}}],{GLOBAL:{CUT:fS,COPY:pS,PASTE:gS,SELECT_ALL:mS,PRINT:RS}}=Ps,yS=[{key:fS,i18nPath:"contextmenu.global.cut",shortCut:`${io?"\u2318":"Ctrl"} + X`,when:t=>!t.isReadonly,callback:t=>{t.executeCut()}},{key:pS,i18nPath:"contextmenu.global.copy",shortCut:`${io?"\u2318":"Ctrl"} + C`,when:t=>t.editorHasSelection||t.isCrossRowCol,callback:t=>{t.executeCopy()}},{key:gS,i18nPath:"contextmenu.global.paste",shortCut:`${io?"\u2318":"Ctrl"} + V`,when:t=>!t.isReadonly&&t.editorTextFocus,callback:t=>{t.executePaste()}},{key:mS,i18nPath:"contextmenu.global.selectAll",shortCut:`${io?"\u2318":"Ctrl"} + A`,when:t=>t.editorTextFocus,callback:t=>{t.executeSelectAll()}},{isDivider:!0},{key:RS,i18nPath:"contextmenu.global.print",icon:"print",when:()=>!0,callback:t=>{t.executePrint()}}],{HYPERLINK:{DELETE:vS,CANCEL:bS,EDIT:xS}}=Ps,wS=[{key:vS,i18nPath:"contextmenu.hyperlink.delete",when:t=>{var e;return!t.isReadonly&&((e=t.startElement)==null?void 0:e.type)===fe.HYPERLINK},callback:t=>{t.executeDeleteHyperlink()}},{key:bS,i18nPath:"contextmenu.hyperlink.cancel",when:t=>{var e;return!t.isReadonly&&((e=t.startElement)==null?void 0:e.type)===fe.HYPERLINK},callback:t=>{t.executeCancelHyperlink()}},{key:xS,i18nPath:"contextmenu.hyperlink.edit",when:t=>{var e;return!t.isReadonly&&((e=t.startElement)==null?void 0:e.type)===fe.HYPERLINK},callback:(t,e)=>{var r;const n=window.prompt("\u7F16\u8F91\u94FE\u63A5",(r=e.startElement)==null?void 0:r.url);n&&t.executeEditHyperlink(n)}}],{IMAGE:{CHANGE:TS,SAVE_AS:SS,TEXT_WRAP:DS,TEXT_WRAP_EMBED:OS,TEXT_WRAP_UP_DOWN:_S,TEXT_WRAP_FLOAT_TOP:ES,TEXT_WRAP_FLOAT_BOTTOM:IS}}=Ps,NS=[{key:TS,i18nPath:"contextmenu.image.change",icon:"image-change",when:t=>{var e;return!t.isReadonly&&!t.editorHasSelection&&((e=t.startElement)==null?void 0:e.type)===fe.IMAGE},callback:t=>{const e=document.createElement("input");e.type="file",e.accept=".png, .jpg, .jpeg",e.onchange=()=>{const n=e.files[0],r=new FileReader;r.readAsDataURL(n),r.onload=()=>{const i=r.result;t.executeReplaceImageElement(i)}},e.click()}},{key:SS,i18nPath:"contextmenu.image.saveAs",icon:"image",when:t=>{var e;return!t.editorHasSelection&&((e=t.startElement)==null?void 0:e.type)===fe.IMAGE},callback:t=>{t.executeSaveAsImageElement()}},{key:DS,i18nPath:"contextmenu.image.textWrap",when:t=>{var e;return!t.isReadonly&&!t.editorHasSelection&&((e=t.startElement)==null?void 0:e.type)===fe.IMAGE},childMenus:[{key:OS,i18nPath:"contextmenu.image.textWrapType.embed",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.BLOCK)}},{key:_S,i18nPath:"contextmenu.image.textWrapType.upDown",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.INLINE)}},{key:ES,i18nPath:"contextmenu.image.textWrapType.floatTop",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.FLOAT_TOP)}},{key:IS,i18nPath:"contextmenu.image.textWrapType.floatBottom",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.FLOAT_BOTTOM)}}]}],{TABLE:{BORDER:FS,BORDER_ALL:PS,BORDER_EMPTY:MS,BORDER_EXTERNAL:LS,BORDER_TD:CS,BORDER_TD_TOP:AS,BORDER_TD_LEFT:US,BORDER_TD_BOTTOM:WS,BORDER_TD_RIGHT:XS,BORDER_TD_BACK:VS,BORDER_TD_FORWARD:YS,VERTICAL_ALIGN:BS,VERTICAL_ALIGN_TOP:ZS,VERTICAL_ALIGN_MIDDLE:kS,VERTICAL_ALIGN_BOTTOM:QS,INSERT_ROW_COL:KS,INSERT_TOP_ROW:HS,INSERT_BOTTOM_ROW:GS,INSERT_LEFT_COL:JS,INSERT_RIGHT_COL:zS,DELETE_ROW_COL:$S,DELETE_ROW:jS,DELETE_COL:qS,DELETE_TABLE:eD,MERGE_CELL:tD,CANCEL_MERGE_CELL:nD}}=Ps,rD=[{isDivider:!0},{key:FS,i18nPath:"contextmenu.table.border",icon:"border-all",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:PS,i18nPath:"contextmenu.table.borderAll",icon:"border-all",when:()=>!0,callback:t=>{t.executeTableBorderType(Kr.ALL)}},{key:MS,i18nPath:"contextmenu.table.borderEmpty",icon:"border-empty",when:()=>!0,callback:t=>{t.executeTableBorderType(Kr.EMPTY)}},{key:LS,i18nPath:"contextmenu.table.borderExternal",icon:"border-external",when:()=>!0,callback:t=>{t.executeTableBorderType(Kr.EXTERNAL)}},{key:CS,i18nPath:"contextmenu.table.borderTd",icon:"border-td",when:()=>!0,childMenus:[{key:AS,i18nPath:"contextmenu.table.borderTdTop",icon:"border-td-top",when:()=>!0,callback:t=>{t.executeTableTdBorderType(ur.TOP)}},{key:XS,i18nPath:"contextmenu.table.borderTdRight",icon:"border-td-right",when:()=>!0,callback:t=>{t.executeTableTdBorderType(ur.RIGHT)}},{key:WS,i18nPath:"contextmenu.table.borderTdBottom",icon:"border-td-bottom",when:()=>!0,callback:t=>{t.executeTableTdBorderType(ur.BOTTOM)}},{key:US,i18nPath:"contextmenu.table.borderTdLeft",icon:"border-td-left",when:()=>!0,callback:t=>{t.executeTableTdBorderType(ur.LEFT)}},{key:YS,i18nPath:"contextmenu.table.borderTdForward",icon:"border-td-forward",when:()=>!0,callback:t=>{t.executeTableTdSlashType(bs.FORWARD)}},{key:VS,i18nPath:"contextmenu.table.borderTdBack",icon:"border-td-back",when:()=>!0,callback:t=>{t.executeTableTdSlashType(bs.BACK)}}]}]},{key:BS,i18nPath:"contextmenu.table.verticalAlign",icon:"vertical-align",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:ZS,i18nPath:"contextmenu.table.verticalAlignTop",icon:"vertical-align-top",when:()=>!0,callback:t=>{t.executeTableTdVerticalAlign(Mi.TOP)}},{key:kS,i18nPath:"contextmenu.table.verticalAlignMiddle",icon:"vertical-align-middle",when:()=>!0,callback:t=>{t.executeTableTdVerticalAlign(Mi.MIDDLE)}},{key:QS,i18nPath:"contextmenu.table.verticalAlignBottom",icon:"vertical-align-bottom",when:()=>!0,callback:t=>{t.executeTableTdVerticalAlign(Mi.BOTTOM)}}]},{key:KS,i18nPath:"contextmenu.table.insertRowCol",icon:"insert-row-col",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:HS,i18nPath:"contextmenu.table.insertTopRow",icon:"insert-top-row",when:()=>!0,callback:t=>{t.executeInsertTableTopRow()}},{key:GS,i18nPath:"contextmenu.table.insertBottomRow",icon:"insert-bottom-row",when:()=>!0,callback:t=>{t.executeInsertTableBottomRow()}},{key:JS,i18nPath:"contextmenu.table.insertLeftCol",icon:"insert-left-col",when:()=>!0,callback:t=>{t.executeInsertTableLeftCol()}},{key:zS,i18nPath:"contextmenu.table.insertRightCol",icon:"insert-right-col",when:()=>!0,callback:t=>{t.executeInsertTableRightCol()}}]},{key:$S,i18nPath:"contextmenu.table.deleteRowCol",icon:"delete-row-col",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:jS,i18nPath:"contextmenu.table.deleteRow",icon:"delete-row",when:()=>!0,callback:t=>{t.executeDeleteTableRow()}},{key:qS,i18nPath:"contextmenu.table.deleteCol",icon:"delete-col",when:()=>!0,callback:t=>{t.executeDeleteTableCol()}},{key:eD,i18nPath:"contextmenu.table.deleteTable",icon:"delete-table",when:()=>!0,callback:t=>{t.executeDeleteTable()}}]},{key:tD,i18nPath:"contextmenu.table.mergeCell",icon:"merge-cell",when:t=>!t.isReadonly&&t.isCrossRowCol,callback:t=>{t.executeMergeTableCell()}},{key:nD,i18nPath:"contextmenu.table.mergeCancelCell",icon:"merge-cancel-cell",when:t=>!t.isReadonly&&t.isInTable,callback:t=>{t.executeCancelMergeTableCell()}}];class iD{constructor(e,n){this._proxyContextMenuEvent=r=>{this.context=this._getContext();const i=this._filterMenuList(this.contextMenuList);i.some(a=>!a.isDivider)&&(this.dispose(),this._render({contextMenuList:i,left:r.x,top:r.y})),r.preventDefault()},this._handleSideEffect=r=>{if(this.contextMenuContainerList.length){const i=(r==null?void 0:r.composedPath()[0])||r.target;au(i,a=>!!a&&a.nodeType===1&&a.getAttribute(Jr)===$r.CONTEXTMENU,!0)||this.dispose()}},this.options=e.getOptions(),this.draw=e,this.command=n,this.range=e.getRange(),this.position=e.getPosition(),this.i18n=e.getI18n(),this.container=e.getContainer(),this.context=null,this.contextMenuList=[...yS,...rD,...NS,...dS,...wS],this.contextMenuContainerList=[],this.contextMenuRelationShip=new Map,this._addEvent()}getContextMenuList(){return this.contextMenuList}_addEvent(){this.container.addEventListener("contextmenu",this._proxyContextMenuEvent),document.addEventListener("mousedown",this._handleSideEffect)}removeEvent(){this.container.removeEventListener("contextmenu",this._proxyContextMenuEvent),document.removeEventListener("mousedown",this._handleSideEffect)}_filterMenuList(e){var i;const{contextMenuDisableKeys:n}=this.options,r=[];for(let o=0;o<e.length;o++){const a=e[o];a.disable||a.key&&n.includes(a.key)||(a.isDivider||(i=a.when)!=null&&i.call(a,this.context))&&r.push(a)}return r}_getContext(){const e=this.draw.isReadonly(),{isCrossRowCol:n,startIndex:r,endIndex:i}=this.range.getRange(),o=!!(~r||~i),a=o&&r!==i,{isTable:s,trIndex:c,tdIndex:u,index:l}=this.position.getPositionContext();let h=null;if(s){const m=this.draw.getOriginalElementList()[l]||null;m&&(h=Wt([m])[0])}const d=s&&!!n,f=this.draw.getElementList(),p=f[r]||null,g=f[i]||null,y=this.draw.getZone().getZone();return{startElement:p,endElement:g,isReadonly:e,editorHasSelection:a,editorTextFocus:o,isCrossRowCol:d,zone:y,isInTable:s,trIndex:c!=null?c:null,tdIndex:u!=null?u:null,tableElement:h}}_createContextMenuContainer(){const e=document.createElement("div");return e.classList.add(`${ke}-contextmenu-container`),e.setAttribute(Jr,$r.CONTEXTMENU),this.container.append(e),e}_render(e){var y;const{contextMenuList:n,left:r,top:i,parentMenuContainer:o}=e,a=this._createContextMenuContainer(),s=document.createElement("div");s.classList.add(`${ke}-contextmenu-content`);let c=null;o&&this.contextMenuRelationShip.set(o,a);for(let R=0;R<n.length;R++){const m=n[R];if(m.isDivider){if(R!==0&&R!==n.length-1&&!((y=n[R-1])!=null&&y.isDivider)){const v=document.createElement("div");v.classList.add(`${ke}-contextmenu-divider`),s.append(v)}}else{const v=document.createElement("div");if(v.classList.add(`${ke}-contextmenu-item`),m.childMenus){const N=this._filterMenuList(m.childMenus);N.some(_=>!_.isDivider)&&(v.classList.add(`${ke}-contextmenu-sub-item`),v.onmouseenter=()=>{this._setHoverStatus(v,!0),this._removeSubMenu(a);const _=v.getBoundingClientRect(),B=_.left+_.width,q=_.top;c=this._render({contextMenuList:N,left:B,top:q,parentMenuContainer:a})},v.onmouseleave=_=>{(!c||!c.contains(_.relatedTarget))&&this._setHoverStatus(v,!1)})}else v.onmouseenter=()=>{this._setHoverStatus(v,!0),this._removeSubMenu(a)},v.onmouseleave=()=>{this._setHoverStatus(v,!1)},v.onclick=()=>{m.callback&&this.context&&m.callback(this.command,this.context),this.dispose()};const x=document.createElement("i");v.append(x),m.icon&&x.classList.add(`${ke}-contextmenu-${m.icon}`);const O=document.createElement("span"),E=m.i18nPath?this._formatName(this.i18n.t(m.i18nPath)):this._formatName(m.name||"");if(O.append(document.createTextNode(E)),v.append(O),m.shortCut){const N=document.createElement("span");N.classList.add(`${ke}-shortcut`),N.append(document.createTextNode(m.shortCut)),v.append(N)}s.append(v)}}a.append(s),a.style.display="block";const u=window.innerWidth,l=a.getBoundingClientRect(),h=l.width,d=r+h>u?r-h:r;a.style.left=`${d}px`;const f=window.innerHeight,p=l.height,g=i+p>f?i-p:i;return a.style.top=`${g}px`,this.contextMenuContainerList.push(a),a}_removeSubMenu(e){const n=this.contextMenuRelationShip.get(e);n&&(this._removeSubMenu(n),n.remove(),this.contextMenuRelationShip.delete(e))}_setHoverStatus(e,n){var r;n?((r=e.parentNode)==null||r.querySelectorAll(`${ke}-contextmenu-item`).forEach(i=>i.classList.remove("hover")),e.classList.add("hover")):e.classList.remove("hover")}_formatName(e){const n=Object.values(A1),r=new RegExp(`${n.join("|")}`);let i=e;if(r.test(i)){const o=new RegExp(A1.SELECTED_TEXT,"g");if(o.test(i)){const a=this.range.toString();i=i.replace(o,a)}}return i}registerContextMenuList(e){this.contextMenuList.push(...e)}dispose(){this.contextMenuContainerList.forEach(e=>e.remove()),this.contextMenuContainerList=[],this.contextMenuRelationShip.clear()}}const oD=[{key:Qe.X,ctrl:!0,shift:!0,callback:t=>{t.executeStrikeout()}},{key:Qe.LEFT_BRACKET,mod:!0,callback:t=>{t.executeSizeAdd()}},{key:Qe.RIGHT_BRACKET,mod:!0,callback:t=>{t.executeSizeMinus()}},{key:Qe.B,mod:!0,callback:t=>{t.executeBold()}},{key:Qe.I,mod:!0,callback:t=>{t.executeItalic()}},{key:Qe.U,mod:!0,callback:t=>{t.executeUnderline()}},{key:io?Qe.COMMA:Qe.RIGHT_ANGLE_BRACKET,mod:!0,shift:!0,callback:t=>{t.executeSuperscript()}},{key:io?Qe.PERIOD:Qe.LEFT_ANGLE_BRACKET,mod:!0,shift:!0,callback:t=>{t.executeSubscript()}},{key:Qe.L,mod:!0,callback:t=>{t.executeRowFlex(at.LEFT)}},{key:Qe.E,mod:!0,callback:t=>{t.executeRowFlex(at.CENTER)}},{key:Qe.R,mod:!0,callback:t=>{t.executeRowFlex(at.RIGHT)}},{key:Qe.J,mod:!0,callback:t=>{t.executeRowFlex(at.ALIGNMENT)}},{key:Qe.J,mod:!0,shift:!0,callback:t=>{t.executeRowFlex(at.JUSTIFY)}}],aD=[{key:Qe.ZERO,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(null)}},{key:Qe.ONE,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.FIRST)}},{key:Qe.TWO,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.SECOND)}},{key:Qe.THREE,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.THIRD)}},{key:Qe.FOUR,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.FOURTH)}},{key:Qe.FIVE,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.FIFTH)}},{key:Qe.SIX,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.SIXTH)}}],sD=[{key:Qe.I,shift:!0,mod:!0,callback:t=>{t.executeList(zr.UL,or.DISC)}},{key:Qe.U,shift:!0,mod:!0,callback:t=>{t.executeList(zr.OL)}}];class cD{constructor(e,n){this._globalKeydown=i=>{!this.globalShortcutList.length||this._execute(i,this.globalShortcutList)},this.command=n,this.globalShortcutList=[],this.agentShortcutList=[],this._addShortcutList([...oD,...aD,...sD]),this._addEvent(),e.getCursor().getAgentDom().addEventListener("keydown",this._agentKeydown.bind(this))}_addEvent(){document.addEventListener("keydown",this._globalKeydown)}removeEvent(){document.removeEventListener("keydown",this._globalKeydown)}_addShortcutList(e){for(let n=e.length-1;n>=0;n--){const r=e[n];r.isGlobal?this.globalShortcutList.unshift(r):this.agentShortcutList.unshift(r)}}registerShortcutList(e){this._addShortcutList(e)}_agentKeydown(e){!this.agentShortcutList.length||this._execute(e,this.agentShortcutList)}_execute(e,n){var r;for(let i=0;i<n.length;i++){const o=n[i];if((o.mod?Xr(e)===!!o.mod:e.ctrlKey===!!o.ctrl&&e.metaKey===!!o.meta)&&e.shiftKey===!!o.shift&&e.altKey===!!o.alt&&e.key.toLowerCase()===o.key.toLowerCase()){o.disable||((r=o==null?void 0:o.callback)==null||r.call(o,this.command),e.preventDefault());break}}}}class uD{constructor(e){this.editor=e}use(e,n){e(this.editor,n)}}class lD{constructor(){this.eventHub=new Map}on(e,n){if(!e||typeof n!="function")return;const r=this.eventHub.get(e)||new Set;r.add(n),this.eventHub.set(e,r)}emit(e,n){if(!e)return;const r=this.eventHub.get(e);if(!!r){if(r.size===1)return[...r][0](n);r.forEach(i=>i(n))}}off(e,n){if(!e||typeof n!="function")return;const r=this.eventHub.get(e);!r||r.delete(n)}isSubscribe(e){const n=this.eventHub.get(e);return!!n&&n.size>0}}class hD{}class dD{constructor(e,n,r={}){const i=mR(r);n=Ft(n);let o=[],a=[],s=[];Array.isArray(n)?a=n:(o=n.header||[],a=n.main,s=n.footer||[]),[o,a,s].forEach(f=>{cr(f,{editorOptions:i})}),this.listener=new uS,this.eventBus=new lD,this.override=new hD;const u=new KT(e,i,{header:o,main:a,footer:s},this.listener,this.eventBus,this.override);this.command=new HT(new cS(u));const l=new iD(u,this.command),h=new cD(u,this.command);this.register=new lS({contextMenu:l,shortcut:h,i18n:u.getI18n()}),this.destroy=()=>{u.destroy(),h.removeEvent(),l.removeEvent()};const d=new uD(this);this.use=d.use.bind(d)}}class Rn{constructor(e){this.options=e,this.mask=null,this.container=null,this.inputList=[],this._render()}_render(){var y;const{title:e,data:n,onClose:r,onCancel:i,onConfirm:o}=this.options,a=document.createElement("div");a.classList.add("dialog-mask"),a.setAttribute(Jr,$r.COMPONENT),document.body.append(a);const s=document.createElement("div");s.classList.add("dialog-container"),s.setAttribute(Jr,$r.COMPONENT);const c=document.createElement("div");c.classList.add("dialog"),s.append(c);const u=document.createElement("div");u.classList.add("dialog-title");const l=document.createElement("span");l.append(document.createTextNode(e));const h=document.createElement("i");h.onclick=()=>{r&&r(),this._dispose()},u.append(l),u.append(h),c.append(u);const d=document.createElement("div");d.classList.add("dialog-option");for(let R=0;R<n.length;R++){const m=n[R],v=document.createElement("div");if(v.classList.add("dialog-option__item"),m.label){const O=document.createElement("span");O.append(document.createTextNode(m.label)),v.append(O),m.required&&O.classList.add("dialog-option__item--require")}let x;m.type==="select"?(x=document.createElement("select"),(y=m.options)==null||y.forEach(O=>{const E=document.createElement("option");E.value=O.value,E.label=O.label,x.append(E)})):m.type==="textarea"?x=document.createElement("textarea"):(x=document.createElement("input"),x.type=m.type),m.width&&(x.style.width=`${m.width}px`),m.height&&(x.style.height=`${m.height}px`),x.name=m.name,x.value=m.value||"",x instanceof HTMLSelectElement||(x.placeholder=m.placeholder||""),v.append(x),d.append(v),this.inputList.push(x)}c.append(d);const f=document.createElement("div");f.classList.add("dialog-menu");const p=document.createElement("button");p.classList.add("dialog-menu__cancel"),p.append(document.createTextNode("\u53D6\u6D88")),p.type="button",p.onclick=()=>{i&&i(),this._dispose()},f.append(p);const g=document.createElement("button");g.append(document.createTextNode("\u786E\u5B9A")),g.type="submit",g.onclick=()=>{if(o){const R=this.inputList.map(m=>({name:m.name,value:m.value}));o(R)}this._dispose()},f.append(g),c.append(f),document.body.append(s),this.container=s,this.mask=a}_dispose(){var e,n;(e=this.mask)==null||e.remove(),(n=this.container)==null||n.remove()}}function fD(t){switch(t){case"comment":case"prolog":case"doctype":case"cdata":return{color:"#008000",italic:!0};case"namespace":return{opacity:.7};case"string":return{color:"#A31515"};case"punctuation":case"operator":return{color:"#393A34"};case"url":case"symbol":case"number":case"boolean":case"variable":case"constant":case"inserted":return{color:"#36acaa"};case"atrule":case"keyword":case"attr-value":return{color:"#0000ff"};case"function":return{color:"#b9a40a"};case"deleted":case"tag":return{color:"#9a050f"};case"selector":return{color:"#00009f"};case"important":return{color:"#e90",bold:!0};case"italic":return{italic:!0};case"class-name":case"property":return{color:"#2B91AF"};case"attr-name":case"regex":case"entity":return{color:"#ff0000"};default:return null}}function pD(t){const e=[];function n(r){for(let i=0;i<r.length;i++){const o=r[i];if(typeof o=="string")e.push({content:o});else if(Array.isArray(o.content))n(o.content);else{const{type:a,content:s}=o;typeof s=="string"&&e.push({type:a,content:s,...fD(a)})}}}return n(t),e}class gD{constructor(e){this.MAX_RECORD_COUNT=1e3,this.DEFAULT_WIDTH=390,this.DEFAULT_HEIGHT=180,this.undoStack=[],this.x=0,this.y=0,this.isDrawing=!1,this.isDrawn=!1,this.linePoints=[],this.options=e,this.preTimeStamp=0,this.dpr=window.devicePixelRatio,this.canvasWidth=(e.width||this.DEFAULT_WIDTH)*this.dpr,this.canvasHeight=(e.height||this.DEFAULT_HEIGHT)*this.dpr;const{mask:n,container:r,trashContainer:i,undoContainer:o,canvas:a}=this._render();this.mask=n,this.container=r,this.trashContainer=i,this.undoContainer=o,this.canvas=a,this.ctx=a.getContext("2d"),this.ctx.scale(this.dpr,this.dpr),this.ctx.lineCap="round",this._bindEvent(),this._clearUndoFn()}_render(){const{onClose:e,onCancel:n,onConfirm:r}=this.options,i=document.createElement("div");i.classList.add("signature-mask"),i.setAttribute(Jr,$r.COMPONENT),document.body.append(i);const o=document.createElement("div");o.classList.add("signature-container"),o.setAttribute(Jr,$r.COMPONENT);const a=document.createElement("div");a.classList.add("signature"),o.append(a);const s=document.createElement("div");s.classList.add("signature-title");const c=document.createElement("span");c.append(document.createTextNode("\u63D2\u5165\u7B7E\u540D"));const u=document.createElement("i");u.onclick=()=>{e&&e(),this._dispose()},s.append(c),s.append(u),a.append(s);const l=document.createElement("div");l.classList.add("signature-operation");const h=document.createElement("div");h.classList.add("signature-operation__undo");const d=document.createElement("i"),f=document.createElement("span");f.innerText="\u64A4\u9500",h.append(d),h.append(f),l.append(h);const p=document.createElement("div");p.classList.add("signature-operation__trash");const g=document.createElement("i"),y=document.createElement("span");y.innerText="\u6E05\u7A7A",p.append(g),p.append(y),l.append(p),a.append(l);const R=document.createElement("div");R.classList.add("signature-canvas");const m=document.createElement("canvas");m.width=this.canvasWidth,m.height=this.canvasHeight,m.style.width=`${this.canvasWidth/this.dpr}px`,m.style.height=`${this.canvasHeight/this.dpr}px`,R.append(m),a.append(R);const v=document.createElement("div");v.classList.add("signature-menu");const x=document.createElement("button");x.classList.add("signature-menu__cancel"),x.append(document.createTextNode("\u53D6\u6D88")),x.type="button",x.onclick=()=>{n&&n(),this._dispose()},v.append(x);const O=document.createElement("button");return O.append(document.createTextNode("\u786E\u5B9A")),O.type="submit",O.onclick=()=>{r&&r(this._toData()),this._dispose()},v.append(O),a.append(v),document.body.append(o),this.container=o,this.mask=i,{mask:i,canvas:m,container:o,trashContainer:p,undoContainer:h}}_bindEvent(){this.trashContainer.onclick=this._clearCanvas.bind(this),this.undoContainer.onclick=this._undo.bind(this),this.canvas.onmousedown=this._startDraw.bind(this),this.canvas.onmousemove=this._draw.bind(this),this.container.onmouseup=this._stopDraw.bind(this)}_undo(){this.undoStack.length>1&&(this.undoStack.pop(),this.undoStack.length&&this.undoStack[this.undoStack.length-1]())}_saveUndoFn(e){for(this.undoStack.push(e);this.undoStack.length>this.MAX_RECORD_COUNT;)this.undoStack.shift()}_clearUndoFn(){const e=()=>{this.ctx.clearRect(0,0,this.canvasWidth,this.canvasHeight)};this.undoStack=[e]}_clearCanvas(){this._clearUndoFn(),this.ctx.clearRect(0,0,this.canvasWidth,this.canvasHeight)}_startDraw(e){this.isDrawing=!0,this.x=e.offsetX,this.y=e.offsetY,this.ctx.lineWidth=1}_draw(e){if(!this.isDrawing)return;const n=performance.now(),i=Math.sqrt(e.movementX**2+e.movementY**2)/(n-this.preTimeStamp),a=Math.min(5,Math.max(1,5-i*3)),s=.2;this.ctx.lineWidth=this.ctx.lineWidth*(1-s)+a*s;const{offsetX:c,offsetY:u}=e;this.ctx.beginPath(),this.ctx.moveTo(this.x,this.y),this.ctx.lineTo(c,u),this.ctx.stroke(),this.x=c,this.y=u,this.linePoints.push([c,u]),this.isDrawn=!0,this.preTimeStamp=n}_stopDraw(){if(this.isDrawing=!1,this.isDrawn){const e=this.ctx.getImageData(0,0,this.canvasWidth,this.canvasHeight),n=this;this._saveUndoFn(function(){n.ctx.clearRect(0,0,n.canvasWidth,n.canvasHeight),n.ctx.putImageData(e,0,0)}),this.isDrawn=!1}}_toData(){if(!this.linePoints.length)return null;const e=this.linePoints[0][0],n=this.linePoints[0][1];let r=e,i=n,o=e,a=n;for(let p=0;p<this.linePoints.length;p++){const g=this.linePoints[p];r>g[0]&&(r=g[0]),o<g[0]&&(o=g[0]),i>g[1]&&(i=g[1]),a<g[1]&&(a=g[1])}const s=this.ctx.lineWidth;r=r<s?0:r-s,i=i<s?0:i-s,o=o+s,a=a+s;const c=o-r,u=a-i,l=this.ctx.getImageData(r*this.dpr,i*this.dpr,c*this.dpr,u*this.dpr),h=document.createElement("canvas");return h.style.width=`${c}px`,h.style.height=`${u}px`,h.width=c*this.dpr,h.height=u*this.dpr,h.getContext("2d").putImageData(l,0,0),{value:h.toDataURL(),width:c,height:u}}_dispose(){this.mask.remove(),this.container.remove()}}function mD(t,e){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout(()=>{t.apply(this,r)},e)}}function RD(t,e){if(!e){t.scrollTop=0;return}const n=[];let r=e.offsetParent;for(;r&&t!==r&&t.contains(r);)n.push(r),r=r.offsetParent;const i=e.offsetTop+n.reduce((c,u)=>c+u.offsetTop,0),o=i+e.offsetHeight,a=t.scrollTop,s=a+t.clientHeight;i<a?t.scrollTop=i:o>s&&(t.scrollTop=o-t.clientHeight)}function U1(t){(window.requestIdleCallback||window.setTimeout)(()=>{t()})}var RR={exports:{}},yR={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},vR={exports:{}},yD=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},vD=yD,bD=Array.prototype.concat,xD=Array.prototype.slice,W1=vR.exports=function(e){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];vD(o)?n=bD.call(n,xD.call(o)):n.push(o)}return n};W1.wrap=function(t){return function(){return t(W1(arguments))}};var ms=yR,Ms=vR.exports,bR=Object.hasOwnProperty,xR=Object.create(null);for(var Ul in ms)bR.call(ms,Ul)&&(xR[ms[Ul]]=Ul);var lr=RR.exports={to:{},get:{}};lr.get=function(t){var e=t.substring(0,3).toLowerCase(),n,r;switch(e){case"hsl":n=lr.get.hsl(t),r="hsl";break;case"hwb":n=lr.get.hwb(t),r="hwb";break;default:n=lr.get.rgb(t),r="rgb";break}return n?{model:r,value:n}:null};lr.get.rgb=function(t){if(!t)return null;var e=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^(\w+)$/,a=[0,0,0,1],s,c,u;if(s=t.match(n)){for(u=s[2],s=s[1],c=0;c<3;c++){var l=c*2;a[c]=parseInt(s.slice(l,l+2),16)}u&&(a[3]=parseInt(u,16)/255)}else if(s=t.match(e)){for(s=s[1],u=s[3],c=0;c<3;c++)a[c]=parseInt(s[c]+s[c],16);u&&(a[3]=parseInt(u+u,16)/255)}else if(s=t.match(r)){for(c=0;c<3;c++)a[c]=parseInt(s[c+1],0);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else if(s=t.match(i)){for(c=0;c<3;c++)a[c]=Math.round(parseFloat(s[c+1])*2.55);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else return(s=t.match(o))?s[1]==="transparent"?[0,0,0,0]:bR.call(ms,s[1])?(a=ms[s[1]],a[3]=1,a):null:null;for(c=0;c<3;c++)a[c]=Li(a[c],0,255);return a[3]=Li(a[3],0,1),a};lr.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,o=Li(parseFloat(n[2]),0,100),a=Li(parseFloat(n[3]),0,100),s=Li(isNaN(r)?1:r,0,1);return[i,o,a,s]}return null};lr.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,o=Li(parseFloat(n[2]),0,100),a=Li(parseFloat(n[3]),0,100),s=Li(isNaN(r)?1:r,0,1);return[i,o,a,s]}return null};lr.to.hex=function(){var t=Ms(arguments);return"#"+xc(t[0])+xc(t[1])+xc(t[2])+(t[3]<1?xc(Math.round(t[3]*255)):"")};lr.to.rgb=function(){var t=Ms(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};lr.to.rgb.percent=function(){var t=Ms(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"};lr.to.hsl=function(){var t=Ms(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};lr.to.hwb=function(){var t=Ms(arguments),e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};lr.to.keyword=function(t){return xR[t.slice(0,3)]};function Li(t,e,n){return Math.min(Math.max(e,t),n)}function xc(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}const ws=yR,wR={};for(const t of Object.keys(ws))wR[ws[t]]=t;const Ye={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var TR=Ye;for(const t of Object.keys(Ye)){if(!("channels"in Ye[t]))throw new Error("missing channels property: "+t);if(!("labels"in Ye[t]))throw new Error("missing channel labels property: "+t);if(Ye[t].labels.length!==Ye[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Ye[t];delete Ye[t].channels,delete Ye[t].labels,Object.defineProperty(Ye[t],"channels",{value:e}),Object.defineProperty(Ye[t],"labels",{value:n})}Ye.rgb.hsl=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=o-i;let s,c;o===i?s=0:e===o?s=(n-r)/a:n===o?s=2+(r-e)/a:r===o&&(s=4+(e-n)/a),s=Math.min(s*60,360),s<0&&(s+=360);const u=(i+o)/2;return o===i?c=0:u<=.5?c=a/(o+i):c=a/(2-o-i),[s,c*100,u*100]};Ye.rgb.hsv=function(t){let e,n,r,i,o;const a=t[0]/255,s=t[1]/255,c=t[2]/255,u=Math.max(a,s,c),l=u-Math.min(a,s,c),h=function(d){return(u-d)/6/l+1/2};return l===0?(i=0,o=0):(o=l/u,e=h(a),n=h(s),r=h(c),a===u?i=r-n:s===u?i=1/3+e-r:c===u&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[i*360,o*100,u*100]};Ye.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const i=Ye.rgb.hsl(t)[0],o=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[i,o*100,r*100]};Ye.rgb.cmyk=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(1-e,1-n,1-r),o=(1-e-i)/(1-i)||0,a=(1-n-i)/(1-i)||0,s=(1-r-i)/(1-i)||0;return[o*100,a*100,s*100,i*100]};function wD(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Ye.rgb.keyword=function(t){const e=wR[t];if(e)return e;let n=1/0,r;for(const i of Object.keys(ws)){const o=ws[i],a=wD(t,o);a<n&&(n=a,r=i)}return r};Ye.keyword.rgb=function(t){return ws[t]};Ye.rgb.xyz=function(t){let e=t[0]/255,n=t[1]/255,r=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const i=e*.4124+n*.3576+r*.1805,o=e*.2126+n*.7152+r*.0722,a=e*.0193+n*.1192+r*.9505;return[i*100,o*100,a*100]};Ye.rgb.lab=function(t){const e=Ye.rgb.xyz(t);let n=e[0],r=e[1],i=e[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*r-16,a=500*(n-r),s=200*(r-i);return[o,a,s]};Ye.hsl.rgb=function(t){const e=t[0]/360,n=t[1]/100,r=t[2]/100;let i,o,a;if(n===0)return a=r*255,[a,a,a];r<.5?i=r*(1+n):i=r+n-r*n;const s=2*r-i,c=[0,0,0];for(let u=0;u<3;u++)o=e+1/3*-(u-1),o<0&&o++,o>1&&o--,6*o<1?a=s+(i-s)*6*o:2*o<1?a=i:3*o<2?a=s+(i-s)*(2/3-o)*6:a=s,c[u]=a*255;return c};Ye.hsl.hsv=function(t){const e=t[0];let n=t[1]/100,r=t[2]/100,i=n;const o=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o;const a=(r+n)/2,s=r===0?2*i/(o+i):2*n/(r+n);return[e,s*100,a*100]};Ye.hsv.rgb=function(t){const e=t[0]/60,n=t[1]/100;let r=t[2]/100;const i=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),s=255*r*(1-n*o),c=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,c,a];case 1:return[s,r,a];case 2:return[a,r,c];case 3:return[a,s,r];case 4:return[c,a,r];case 5:return[r,a,s]}};Ye.hsv.hsl=function(t){const e=t[0],n=t[1]/100,r=t[2]/100,i=Math.max(r,.01);let o,a;a=(2-n)*r;const s=(2-n)*i;return o=n*i,o/=s<=1?s:2-s,o=o||0,a/=2,[e,o*100,a*100]};Ye.hwb.rgb=function(t){const e=t[0]/360;let n=t[1]/100,r=t[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const a=Math.floor(6*e),s=1-r;o=6*e-a,(a&1)!==0&&(o=1-o);const c=n+o*(s-n);let u,l,h;switch(a){default:case 6:case 0:u=s,l=c,h=n;break;case 1:u=c,l=s,h=n;break;case 2:u=n,l=s,h=c;break;case 3:u=n,l=c,h=s;break;case 4:u=c,l=n,h=s;break;case 5:u=s,l=n,h=c;break}return[u*255,l*255,h*255]};Ye.cmyk.rgb=function(t){const e=t[0]/100,n=t[1]/100,r=t[2]/100,i=t[3]/100,o=1-Math.min(1,e*(1-i)+i),a=1-Math.min(1,n*(1-i)+i),s=1-Math.min(1,r*(1-i)+i);return[o*255,a*255,s*255]};Ye.xyz.rgb=function(t){const e=t[0]/100,n=t[1]/100,r=t[2]/100;let i,o,a;return i=e*3.2406+n*-1.5372+r*-.4986,o=e*-.9689+n*1.8758+r*.0415,a=e*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[i*255,o*255,a*255]};Ye.xyz.lab=function(t){let e=t[0],n=t[1],r=t[2];e/=95.047,n/=100,r/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const i=116*n-16,o=500*(e-n),a=200*(n-r);return[i,o,a]};Ye.lab.xyz=function(t){const e=t[0],n=t[1],r=t[2];let i,o,a;o=(e+16)/116,i=n/500+o,a=o-r/200;const s=o**3,c=i**3,u=a**3;return o=s>.008856?s:(o-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,a=u>.008856?u:(a-16/116)/7.787,i*=95.047,o*=100,a*=108.883,[i,o,a]};Ye.lab.lch=function(t){const e=t[0],n=t[1],r=t[2];let i;i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360);const a=Math.sqrt(n*n+r*r);return[e,a,i]};Ye.lch.lab=function(t){const e=t[0],n=t[1],i=t[2]/360*2*Math.PI,o=n*Math.cos(i),a=n*Math.sin(i);return[e,o,a]};Ye.rgb.ansi16=function(t,e=null){const[n,r,i]=t;let o=e===null?Ye.rgb.hsv(t)[2]:e;if(o=Math.round(o/50),o===0)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return o===2&&(a+=60),a};Ye.hsv.ansi16=function(t){return Ye.rgb.ansi16(Ye.hsv.rgb(t),t[2])};Ye.rgb.ansi256=function(t){const e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};Ye.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const n=(~~(t>50)+1)*.5,r=(e&1)*n*255,i=(e>>1&1)*n*255,o=(e>>2&1)*n*255;return[r,i,o]};Ye.ansi256.rgb=function(t){if(t>=232){const o=(t-232)*10+8;return[o,o,o]}t-=16;let e;const n=Math.floor(t/36)/5*255,r=Math.floor((e=t%36)/6)/5*255,i=e%6/5*255;return[n,r,i]};Ye.rgb.hex=function(t){const n=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};Ye.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let n=e[0];e[0].length===3&&(n=n.split("").map(s=>s+s).join(""));const r=parseInt(n,16),i=r>>16&255,o=r>>8&255,a=r&255;return[i,o,a]};Ye.rgb.hcg=function(t){const e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.max(Math.max(e,n),r),o=Math.min(Math.min(e,n),r),a=i-o;let s,c;return a<1?s=o/(1-a):s=0,a<=0?c=0:i===e?c=(n-r)/a%6:i===n?c=2+(r-e)/a:c=4+(e-n)/a,c/=6,c%=1,[c*360,a*100,s*100]};Ye.hsl.hcg=function(t){const e=t[1]/100,n=t[2]/100,r=n<.5?2*e*n:2*e*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[t[0],r*100,i*100]};Ye.hsv.hcg=function(t){const e=t[1]/100,n=t[2]/100,r=e*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],r*100,i*100]};Ye.hcg.rgb=function(t){const e=t[0]/360,n=t[1]/100,r=t[2]/100;if(n===0)return[r*255,r*255,r*255];const i=[0,0,0],o=e%1*6,a=o%1,s=1-a;let c=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};Ye.hcg.hsv=function(t){const e=t[1]/100,n=t[2]/100,r=e+n*(1-e);let i=0;return r>0&&(i=e/r),[t[0],i*100,r*100]};Ye.hcg.hsl=function(t){const e=t[1]/100,r=t[2]/100*(1-e)+.5*e;let i=0;return r>0&&r<.5?i=e/(2*r):r>=.5&&r<1&&(i=e/(2*(1-r))),[t[0],i*100,r*100]};Ye.hcg.hwb=function(t){const e=t[1]/100,n=t[2]/100,r=e+n*(1-e);return[t[0],(r-e)*100,(1-r)*100]};Ye.hwb.hcg=function(t){const e=t[1]/100,n=t[2]/100,r=1-n,i=r-e;let o=0;return i<1&&(o=(r-i)/(1-i)),[t[0],i*100,o*100]};Ye.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Ye.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Ye.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Ye.gray.hsl=function(t){return[0,0,t[0]]};Ye.gray.hsv=Ye.gray.hsl;Ye.gray.hwb=function(t){return[0,100,t[0]]};Ye.gray.cmyk=function(t){return[0,0,0,t[0]]};Ye.gray.lab=function(t){return[t[0],0,0]};Ye.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255,r=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(r.length)+r};Ye.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const hu=TR;function TD(){const t={},e=Object.keys(hu);for(let n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}function SD(t){const e=TD(),n=[t];for(e[t].distance=0;n.length;){const r=n.pop(),i=Object.keys(hu[r]);for(let o=i.length,a=0;a<o;a++){const s=i[a],c=e[s];c.distance===-1&&(c.distance=e[r].distance+1,c.parent=r,n.unshift(s))}}return e}function DD(t,e){return function(n){return e(t(n))}}function OD(t,e){const n=[e[t].parent,t];let r=hu[e[t].parent][t],i=e[t].parent;for(;e[i].parent;)n.unshift(e[i].parent),r=DD(hu[e[i].parent][i],r),i=e[i].parent;return r.conversion=n,r}var _D=function(t){const e=SD(t),n={},r=Object.keys(e);for(let i=r.length,o=0;o<i;o++){const a=r[o];e[a].parent!==null&&(n[a]=OD(a,e))}return n};const dd=TR,ED=_D,Zo={},ID=Object.keys(dd);function ND(t){const e=function(...n){const r=n[0];return r==null?r:(r.length>1&&(n=r),t(n))};return"conversion"in t&&(e.conversion=t.conversion),e}function FD(t){const e=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const i=t(n);if(typeof i=="object")for(let o=i.length,a=0;a<o;a++)i[a]=Math.round(i[a]);return i};return"conversion"in t&&(e.conversion=t.conversion),e}ID.forEach(t=>{Zo[t]={},Object.defineProperty(Zo[t],"channels",{value:dd[t].channels}),Object.defineProperty(Zo[t],"labels",{value:dd[t].labels});const e=ED(t);Object.keys(e).forEach(r=>{const i=e[r];Zo[t][r]=FD(i),Zo[t][r].raw=ND(i)})});var PD=Zo;const ko=RR.exports,ar=PD,SR=["keyword","gray","hex"],fd={};for(const t of Object.keys(ar))fd[[...ar[t].labels].sort().join("")]=t;const du={};function dn(t,e){if(!(this instanceof dn))return new dn(t,e);if(e&&e in SR&&(e=null),e&&!(e in ar))throw new Error("Unknown model: "+e);let n,r;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof dn)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const i=ko.get(t);if(i===null)throw new Error("Unable to parse color from string: "+t);this.model=i.model,r=ar[this.model].channels,this.color=i.value.slice(0,r),this.valpha=typeof i.value[r]=="number"?i.value[r]:1}else if(t.length>0){this.model=e||"rgb",r=ar[this.model].channels;const i=Array.prototype.slice.call(t,0,r);this.color=pd(i,r),this.valpha=typeof t[r]=="number"?t[r]:1}else if(typeof t=="number")this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;const i=Object.keys(t);"alpha"in t&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);const o=i.sort().join("");if(!(o in fd))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=fd[o];const{labels:a}=ar[this.model],s=[];for(n=0;n<a.length;n++)s.push(t[a[n]]);this.color=pd(s)}if(du[this.model])for(r=ar[this.model].channels,n=0;n<r;n++){const i=du[this.model][n];i&&(this.color[n]=i(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}dn.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in ko.to?this:this.rgb();e=e.round(typeof t=="number"?t:1);const n=e.valpha===1?e.color:[...e.color,this.valpha];return ko.to[e.model](n)},percentString(t){const e=this.rgb().round(typeof t=="number"?t:1),n=e.valpha===1?e.color:[...e.color,this.valpha];return ko.to.rgb.percent(n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=ar[this.model],{labels:n}=ar[this.model];for(let r=0;r<e;r++)t[n[r]]=this.color[r];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new dn([...this.color.map(LD(t)),this.valpha],this.model)},alpha(t){return t!==void 0?new dn([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:kt("rgb",0,tn(255)),green:kt("rgb",1,tn(255)),blue:kt("rgb",2,tn(255)),hue:kt(["hsl","hsv","hsl","hwb","hcg"],0,t=>(t%360+360)%360),saturationl:kt("hsl",1,tn(100)),lightness:kt("hsl",2,tn(100)),saturationv:kt("hsv",1,tn(100)),value:kt("hsv",2,tn(100)),chroma:kt("hcg",1,tn(100)),gray:kt("hcg",2,tn(100)),white:kt("hwb",1,tn(100)),wblack:kt("hwb",2,tn(100)),cyan:kt("cmyk",0,tn(100)),magenta:kt("cmyk",1,tn(100)),yellow:kt("cmyk",2,tn(100)),black:kt("cmyk",3,tn(100)),x:kt("xyz",0,tn(95.047)),y:kt("xyz",1,tn(100)),z:kt("xyz",2,tn(108.833)),l:kt("lab",0,tn(100)),a:kt("lab",1),b:kt("lab",2),keyword(t){return t!==void 0?new dn(t):ar[this.model].keyword(this.color)},hex(t){return t!==void 0?new dn(t):ko.to.hex(this.rgb().round().color)},hexa(t){if(t!==void 0)return new dn(t);const e=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),ko.to.hex(e)+n},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color,e=[];for(const[n,r]of t.entries()){const i=r/255;e[n]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(t[0]*2126+t[1]*7152+t[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=t[0]*.3+t[1]*.59+t[2]*.11;return dn.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let n=e.color[0];return n=(n+t)%360,n=n<0?360+n:n,e.color[0]=n,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const n=t.rgb(),r=this.rgb(),i=e===void 0?.5:e,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a===-1?o:(o+a)/(1+o*a))+1)/2,c=1-s;return dn.rgb(s*n.red()+c*r.red(),s*n.green()+c*r.green(),s*n.blue()+c*r.blue(),n.alpha()*i+r.alpha()*(1-i))}};for(const t of Object.keys(ar)){if(SR.includes(t))continue;const{channels:e}=ar[t];dn.prototype[t]=function(...n){return this.model===t?new dn(this):n.length>0?new dn(n,t):new dn([...CD(ar[this.model][t].raw(this.color)),this.valpha],t)},dn[t]=function(...n){let r=n[0];return typeof r=="number"&&(r=pd(n,e)),new dn(r,t)}}function MD(t,e){return Number(t.toFixed(e))}function LD(t){return function(e){return MD(e,t)}}function kt(t,e,n){t=Array.isArray(t)?t:[t];for(const r of t)(du[r]||(du[r]=[]))[e]=n;return t=t[0],function(r){let i;return r!==void 0?(n&&(r=n(r)),i=this[t](),i.color[e]=r,i):(i=this[t]().color[e],n&&(i=n(i)),i)}}function tn(t){return function(e){return Math.max(0,Math.min(t,e))}}function CD(t){return Array.isArray(t)?t:[t]}function pd(t,e){for(let n=0;n<e;n++)typeof t[n]!="number"&&(t[n]=0);return t}var AD=dn,X1=AD,UD=Object.defineProperty,WD=Object.defineProperties,XD=Object.getOwnPropertyDescriptors,V1=Object.getOwnPropertySymbols,VD=Object.prototype.hasOwnProperty,YD=Object.prototype.propertyIsEnumerable,gd=(t,e,n)=>e in t?UD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,dt=(t,e)=>{for(var n in e||(e={}))VD.call(e,n)&&gd(t,n,e[n]);if(V1)for(var n of V1(e))YD.call(e,n)&&gd(t,n,e[n]);return t},ua=(t,e)=>WD(t,XD(e)),be=(t,e,n)=>(gd(t,typeof e!="symbol"?e+"":e,n),n),wc=(t,e,n)=>new Promise((r,i)=>{var o=c=>{try{s(n.next(c))}catch(u){i(u)}},a=c=>{try{s(n.throw(c))}catch(u){i(u)}},s=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,a);s((n=n.apply(t,e)).next())});class fu{constructor(e){be(this,"rootKey"),this.rootKey=e}}const BD=Object.seal({});class ve extends fu{constructor(e){super(e),be(this,"root"),this.root=new Array}prepForXml(e){var n;e.stack.push(this);const r=this.root.map(i=>i instanceof fu?i.prepForXml(e):i).filter(i=>i!==void 0);return e.stack.pop(),{[this.rootKey]:r.length?r.length===1&&((n=r[0])==null?void 0:n._attr)?r[0]:r:BD}}addChildElement(e){return this.root.push(e),this}}class mi extends ve{prepForXml(e){const n=super.prepForXml(e);if(n&&(typeof n[this.rootKey]!="object"||Object.keys(n[this.rootKey]).length))return n}}class Ue extends fu{constructor(e){super("_attr"),be(this,"xmlKeys"),this.root=e}prepForXml(e){const n={};return Object.keys(this.root).forEach(r=>{const i=this.root[r];if(i!==void 0){const o=this.xmlKeys&&this.xmlKeys[r]||r;n[o]=i}}),{_attr:n}}}class Ri extends fu{constructor(e){super("_attr"),this.root=e}prepForXml(e){return{_attr:Object.values(this.root).filter(({value:r})=>r!==void 0).reduce((r,{key:i,value:o})=>ua(dt({},r),{[i]:o}),{})}}}class Qt extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}}var Br=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function DR(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var OR={},rf={exports:{}},na=typeof Reflect=="object"?Reflect:null,Y1=na&&typeof na.apply=="function"?na.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},zc;na&&typeof na.ownKeys=="function"?zc=na.ownKeys:Object.getOwnPropertySymbols?zc=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:zc=function(e){return Object.getOwnPropertyNames(e)};function ZD(t){console&&console.warn&&console.warn(t)}var _R=Number.isNaN||function(e){return e!==e};function Et(){Et.init.call(this)}rf.exports=Et;rf.exports.once=HD;Et.EventEmitter=Et;Et.prototype._events=void 0;Et.prototype._eventsCount=0;Et.prototype._maxListeners=void 0;var B1=10;function Pu(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(Et,"defaultMaxListeners",{enumerable:!0,get:function(){return B1},set:function(t){if(typeof t!="number"||t<0||_R(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");B1=t}});Et.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Et.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||_R(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function ER(t){return t._maxListeners===void 0?Et.defaultMaxListeners:t._maxListeners}Et.prototype.getMaxListeners=function(){return ER(this)};Et.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",o=this._events;if(o!==void 0)i=i&&o.error===void 0;else if(!i)return!1;if(i){var a;if(n.length>0&&(a=n[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(c===void 0)return!1;if(typeof c=="function")Y1(c,this,n);else for(var u=c.length,l=MR(c,u),r=0;r<u;++r)Y1(l[r],this,n);return!0};function IR(t,e,n,r){var i,o,a;if(Pu(n),o=t._events,o===void 0?(o=t._events=Object.create(null),t._eventsCount=0):(o.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),a=o[e]),a===void 0)a=o[e]=n,++t._eventsCount;else if(typeof a=="function"?a=o[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),i=ER(t),i>0&&a.length>i&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=a.length,ZD(s)}return t}Et.prototype.addListener=function(e,n){return IR(this,e,n,!1)};Et.prototype.on=Et.prototype.addListener;Et.prototype.prependListener=function(e,n){return IR(this,e,n,!0)};function kD(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function NR(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=kD.bind(r);return i.listener=n,r.wrapFn=i,i}Et.prototype.once=function(e,n){return Pu(n),this.on(e,NR(this,e,n)),this};Et.prototype.prependOnceListener=function(e,n){return Pu(n),this.prependListener(e,NR(this,e,n)),this};Et.prototype.removeListener=function(e,n){var r,i,o,a,s;if(Pu(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(o=-1,a=r.length-1;a>=0;a--)if(r[a]===n||r[a].listener===n){s=r[a].listener,o=a;break}if(o<0)return this;o===0?r.shift():QD(r,o),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,s||n)}return this};Et.prototype.off=Et.prototype.removeListener;Et.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var o=Object.keys(r),a;for(i=0;i<o.length;++i)a=o[i],a!=="removeListener"&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function FR(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?KD(i):MR(i,i.length)}Et.prototype.listeners=function(e){return FR(this,e,!0)};Et.prototype.rawListeners=function(e){return FR(this,e,!1)};Et.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):PR.call(t,e)};Et.prototype.listenerCount=PR;function PR(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}Et.prototype.eventNames=function(){return this._eventsCount>0?zc(this._events):[]};function MR(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function QD(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function KD(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function HD(t,e){return new Promise(function(n,r){function i(a){t.removeListener(e,o),r(a)}function o(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}LR(t,e,o,{once:!0}),e!=="error"&&GD(t,i,{once:!0})})}function GD(t,e,n){typeof t.on=="function"&&LR(t,"error",e,n)}function LR(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(o){r.once&&t.removeEventListener(e,i),n(o)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}var of=rf.exports,md={exports:{}};typeof Object.create=="function"?md.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:md.exports=function(e,n){if(n){e.super_=n;var r=function(){};r.prototype=n.prototype,e.prototype=new r,e.prototype.constructor=e}};var yo=md.exports;function JD(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var CR={exports:{}},jt=CR.exports={},Ur,Wr;function Rd(){throw new Error("setTimeout has not been defined")}function yd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ur=setTimeout:Ur=Rd}catch{Ur=Rd}try{typeof clearTimeout=="function"?Wr=clearTimeout:Wr=yd}catch{Wr=yd}})();function AR(t){if(Ur===setTimeout)return setTimeout(t,0);if((Ur===Rd||!Ur)&&setTimeout)return Ur=setTimeout,setTimeout(t,0);try{return Ur(t,0)}catch{try{return Ur.call(null,t,0)}catch{return Ur.call(this,t,0)}}}function zD(t){if(Wr===clearTimeout)return clearTimeout(t);if((Wr===yd||!Wr)&&clearTimeout)return Wr=clearTimeout,clearTimeout(t);try{return Wr(t)}catch{try{return Wr.call(null,t)}catch{return Wr.call(this,t)}}}var ci=[],ra=!1,oo,$c=-1;function $D(){!ra||!oo||(ra=!1,oo.length?ci=oo.concat(ci):$c=-1,ci.length&&UR())}function UR(){if(!ra){var t=AR($D);ra=!0;for(var e=ci.length;e;){for(oo=ci,ci=[];++$c<e;)oo&&oo[$c].run();$c=-1,e=ci.length}oo=null,ra=!1,zD(t)}}jt.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];ci.push(new WR(t,e)),ci.length===1&&!ra&&AR(UR)};function WR(t,e){this.fun=t,this.array=e}WR.prototype.run=function(){this.fun.apply(null,this.array)};jt.title="browser";jt.browser=!0;jt.env={};jt.argv=[];jt.version="";jt.versions={};function yi(){}jt.on=yi;jt.addListener=yi;jt.once=yi;jt.off=yi;jt.removeListener=yi;jt.removeAllListeners=yi;jt.emit=yi;jt.prependListener=yi;jt.prependOnceListener=yi;jt.listeners=function(t){return[]};jt.binding=function(t){throw new Error("process.binding is not supported")};jt.cwd=function(){return"/"};jt.chdir=function(t){throw new Error("process.chdir is not supported")};jt.umask=function(){return 0};var jD=CR.exports;const nt=JD(jD);var Wl,Z1;function XR(){return Z1||(Z1=1,Wl=of.EventEmitter),Wl}var Xl={},Qa={},k1;function qD(){if(k1)return Qa;k1=1,Qa.byteLength=s,Qa.toByteArray=u,Qa.fromByteArray=d;for(var t=[],e=[],n=typeof Uint8Array!="undefined"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i<o;++i)t[i]=r[i],e[r.charCodeAt(i)]=i;e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63;function a(f){var p=f.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=f.indexOf("=");g===-1&&(g=p);var y=g===p?0:4-g%4;return[g,y]}function s(f){var p=a(f),g=p[0],y=p[1];return(g+y)*3/4-y}function c(f,p,g){return(p+g)*3/4-g}function u(f){var p,g=a(f),y=g[0],R=g[1],m=new n(c(f,y,R)),v=0,x=R>0?y-4:y,O;for(O=0;O<x;O+=4)p=e[f.charCodeAt(O)]<<18|e[f.charCodeAt(O+1)]<<12|e[f.charCodeAt(O+2)]<<6|e[f.charCodeAt(O+3)],m[v++]=p>>16&255,m[v++]=p>>8&255,m[v++]=p&255;return R===2&&(p=e[f.charCodeAt(O)]<<2|e[f.charCodeAt(O+1)]>>4,m[v++]=p&255),R===1&&(p=e[f.charCodeAt(O)]<<10|e[f.charCodeAt(O+1)]<<4|e[f.charCodeAt(O+2)]>>2,m[v++]=p>>8&255,m[v++]=p&255),m}function l(f){return t[f>>18&63]+t[f>>12&63]+t[f>>6&63]+t[f&63]}function h(f,p,g){for(var y,R=[],m=p;m<g;m+=3)y=(f[m]<<16&16711680)+(f[m+1]<<8&65280)+(f[m+2]&255),R.push(l(y));return R.join("")}function d(f){for(var p,g=f.length,y=g%3,R=[],m=16383,v=0,x=g-y;v<x;v+=m)R.push(h(f,v,v+m>x?x:v+m));return y===1?(p=f[g-1],R.push(t[p>>2]+t[p<<4&63]+"==")):y===2&&(p=(f[g-2]<<8)+f[g-1],R.push(t[p>>10]+t[p>>4&63]+t[p<<2&63]+"=")),R.join("")}return Qa}var Tc={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Q1;function eO(){return Q1||(Q1=1,Tc.read=function(t,e,n,r,i){var o,a,s=i*8-r-1,c=(1<<s)-1,u=c>>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=o*256+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=a*256+t[e+h],h+=d,l-=8);if(o===0)o=1-u;else{if(o===c)return a?NaN:(f?-1:1)*(1/0);a=a+Math.pow(2,r),o=o-u}return(f?-1:1)*a*Math.pow(2,o-r)},Tc.write=function(t,e,n,r,i,o){var a,s,c,u=o*8-i-1,l=(1<<u)-1,h=l>>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,g=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+h>=1?e+=d/c:e+=d*Math.pow(2,1-h),e*c>=2&&(a++,c/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*c-1)*Math.pow(2,i),a=a+h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=s&255,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[n+f]=a&255,f+=p,a/=256,u-=8);t[n+f-p]|=g*128}),Tc}/*!
|
|
* The buffer module from node.js, for the browser.
|
|
*
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
* @license MIT
|
|
*/var K1;function Mu(){return K1||(K1=1,function(t){var e=qD(),n=eO(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=m,t.INSPECT_MAX_BYTES=50;var i=2147483647;t.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=o(),!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&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.");function o(){try{var L=new Uint8Array(1),w={foo:function(){return 42}};return Object.setPrototypeOf(w,Uint8Array.prototype),Object.setPrototypeOf(L,w),L.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function a(L){if(L>i)throw new RangeError('The value "'+L+'" is invalid for option "size"');var w=new Uint8Array(L);return Object.setPrototypeOf(w,s.prototype),w}function s(L,w,S){if(typeof L=="number"){if(typeof w=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(L)}return c(L,w,S)}s.poolSize=8192;function c(L,w,S){if(typeof L=="string")return d(L,w);if(ArrayBuffer.isView(L))return p(L);if(L==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof L);if(ge(L,ArrayBuffer)||L&&ge(L.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ge(L,SharedArrayBuffer)||L&&ge(L.buffer,SharedArrayBuffer)))return g(L,w,S);if(typeof L=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var F=L.valueOf&&L.valueOf();if(F!=null&&F!==L)return s.from(F,w,S);var G=y(L);if(G)return G;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof L[Symbol.toPrimitive]=="function")return s.from(L[Symbol.toPrimitive]("string"),w,S);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof L)}s.from=function(L,w,S){return c(L,w,S)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function u(L){if(typeof L!="number")throw new TypeError('"size" argument must be of type number');if(L<0)throw new RangeError('The value "'+L+'" is invalid for option "size"')}function l(L,w,S){return u(L),L<=0?a(L):w!==void 0?typeof S=="string"?a(L).fill(w,S):a(L).fill(w):a(L)}s.alloc=function(L,w,S){return l(L,w,S)};function h(L){return u(L),a(L<0?0:R(L)|0)}s.allocUnsafe=function(L){return h(L)},s.allocUnsafeSlow=function(L){return h(L)};function d(L,w){if((typeof w!="string"||w==="")&&(w="utf8"),!s.isEncoding(w))throw new TypeError("Unknown encoding: "+w);var S=v(L,w)|0,F=a(S),G=F.write(L,w);return G!==S&&(F=F.slice(0,G)),F}function f(L){for(var w=L.length<0?0:R(L.length)|0,S=a(w),F=0;F<w;F+=1)S[F]=L[F]&255;return S}function p(L){if(ge(L,Uint8Array)){var w=new Uint8Array(L);return g(w.buffer,w.byteOffset,w.byteLength)}return f(L)}function g(L,w,S){if(w<0||L.byteLength<w)throw new RangeError('"offset" is outside of buffer bounds');if(L.byteLength<w+(S||0))throw new RangeError('"length" is outside of buffer bounds');var F;return w===void 0&&S===void 0?F=new Uint8Array(L):S===void 0?F=new Uint8Array(L,w):F=new Uint8Array(L,w,S),Object.setPrototypeOf(F,s.prototype),F}function y(L){if(s.isBuffer(L)){var w=R(L.length)|0,S=a(w);return S.length===0||L.copy(S,0,0,w),S}if(L.length!==void 0)return typeof L.length!="number"||D(L.length)?a(0):f(L);if(L.type==="Buffer"&&Array.isArray(L.data))return f(L.data)}function R(L){if(L>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return L|0}function m(L){return+L!=L&&(L=0),s.alloc(+L)}s.isBuffer=function(w){return w!=null&&w._isBuffer===!0&&w!==s.prototype},s.compare=function(w,S){if(ge(w,Uint8Array)&&(w=s.from(w,w.offset,w.byteLength)),ge(S,Uint8Array)&&(S=s.from(S,S.offset,S.byteLength)),!s.isBuffer(w)||!s.isBuffer(S))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(w===S)return 0;for(var F=w.length,G=S.length,ee=0,K=Math.min(F,G);ee<K;++ee)if(w[ee]!==S[ee]){F=w[ee],G=S[ee];break}return F<G?-1:G<F?1:0},s.isEncoding=function(w){switch(String(w).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}},s.concat=function(w,S){if(!Array.isArray(w))throw new TypeError('"list" argument must be an Array of Buffers');if(w.length===0)return s.alloc(0);var F;if(S===void 0)for(S=0,F=0;F<w.length;++F)S+=w[F].length;var G=s.allocUnsafe(S),ee=0;for(F=0;F<w.length;++F){var K=w[F];if(ge(K,Uint8Array))ee+K.length>G.length?s.from(K).copy(G,ee):Uint8Array.prototype.set.call(G,K,ee);else if(s.isBuffer(K))K.copy(G,ee);else throw new TypeError('"list" argument must be an Array of Buffers');ee+=K.length}return G};function v(L,w){if(s.isBuffer(L))return L.length;if(ArrayBuffer.isView(L)||ge(L,ArrayBuffer))return L.byteLength;if(typeof L!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof L);var S=L.length,F=arguments.length>2&&arguments[2]===!0;if(!F&&S===0)return 0;for(var G=!1;;)switch(w){case"ascii":case"latin1":case"binary":return S;case"utf8":case"utf-8":return A(L).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S*2;case"hex":return S>>>1;case"base64":return H(L).length;default:if(G)return F?-1:A(L).length;w=(""+w).toLowerCase(),G=!0}}s.byteLength=v;function x(L,w,S){var F=!1;if((w===void 0||w<0)&&(w=0),w>this.length||((S===void 0||S>this.length)&&(S=this.length),S<=0)||(S>>>=0,w>>>=0,S<=w))return"";for(L||(L="utf8");;)switch(L){case"hex":return k(this,w,S);case"utf8":case"utf-8":return b(this,w,S);case"ascii":return X(this,w,S);case"latin1":case"binary":return V(this,w,S);case"base64":return I(this,w,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,w,S);default:if(F)throw new TypeError("Unknown encoding: "+L);L=(L+"").toLowerCase(),F=!0}}s.prototype._isBuffer=!0;function O(L,w,S){var F=L[w];L[w]=L[S],L[S]=F}s.prototype.swap16=function(){var w=this.length;if(w%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var S=0;S<w;S+=2)O(this,S,S+1);return this},s.prototype.swap32=function(){var w=this.length;if(w%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var S=0;S<w;S+=4)O(this,S,S+3),O(this,S+1,S+2);return this},s.prototype.swap64=function(){var w=this.length;if(w%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var S=0;S<w;S+=8)O(this,S,S+7),O(this,S+1,S+6),O(this,S+2,S+5),O(this,S+3,S+4);return this},s.prototype.toString=function(){var w=this.length;return w===0?"":arguments.length===0?b(this,0,w):x.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(w){if(!s.isBuffer(w))throw new TypeError("Argument must be a Buffer");return this===w?!0:s.compare(this,w)===0},s.prototype.inspect=function(){var w="",S=t.INSPECT_MAX_BYTES;return w=this.toString("hex",0,S).replace(/(.{2})/g,"$1 ").trim(),this.length>S&&(w+=" ... "),"<Buffer "+w+">"},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(w,S,F,G,ee){if(ge(w,Uint8Array)&&(w=s.from(w,w.offset,w.byteLength)),!s.isBuffer(w))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof w);if(S===void 0&&(S=0),F===void 0&&(F=w?w.length:0),G===void 0&&(G=0),ee===void 0&&(ee=this.length),S<0||F>w.length||G<0||ee>this.length)throw new RangeError("out of range index");if(G>=ee&&S>=F)return 0;if(G>=ee)return-1;if(S>=F)return 1;if(S>>>=0,F>>>=0,G>>>=0,ee>>>=0,this===w)return 0;for(var K=ee-G,J=F-S,te=Math.min(K,J),ae=this.slice(G,ee),he=w.slice(S,F),xe=0;xe<te;++xe)if(ae[xe]!==he[xe]){K=ae[xe],J=he[xe];break}return K<J?-1:J<K?1:0};function E(L,w,S,F,G){if(L.length===0)return-1;if(typeof S=="string"?(F=S,S=0):S>2147483647?S=2147483647:S<-2147483648&&(S=-2147483648),S=+S,D(S)&&(S=G?0:L.length-1),S<0&&(S=L.length+S),S>=L.length){if(G)return-1;S=L.length-1}else if(S<0)if(G)S=0;else return-1;if(typeof w=="string"&&(w=s.from(w,F)),s.isBuffer(w))return w.length===0?-1:N(L,w,S,F,G);if(typeof w=="number")return w=w&255,typeof Uint8Array.prototype.indexOf=="function"?G?Uint8Array.prototype.indexOf.call(L,w,S):Uint8Array.prototype.lastIndexOf.call(L,w,S):N(L,[w],S,F,G);throw new TypeError("val must be string, number or Buffer")}function N(L,w,S,F,G){var ee=1,K=L.length,J=w.length;if(F!==void 0&&(F=String(F).toLowerCase(),F==="ucs2"||F==="ucs-2"||F==="utf16le"||F==="utf-16le")){if(L.length<2||w.length<2)return-1;ee=2,K/=2,J/=2,S/=2}function te(Me,Xe){return ee===1?Me[Xe]:Me.readUInt16BE(Xe*ee)}var ae;if(G){var he=-1;for(ae=S;ae<K;ae++)if(te(L,ae)===te(w,he===-1?0:ae-he)){if(he===-1&&(he=ae),ae-he+1===J)return he*ee}else he!==-1&&(ae-=ae-he),he=-1}else for(S+J>K&&(S=K-J),ae=S;ae>=0;ae--){for(var xe=!0,_e=0;_e<J;_e++)if(te(L,ae+_e)!==te(w,_e)){xe=!1;break}if(xe)return ae}return-1}s.prototype.includes=function(w,S,F){return this.indexOf(w,S,F)!==-1},s.prototype.indexOf=function(w,S,F){return E(this,w,S,F,!0)},s.prototype.lastIndexOf=function(w,S,F){return E(this,w,S,F,!1)};function M(L,w,S,F){S=Number(S)||0;var G=L.length-S;F?(F=Number(F),F>G&&(F=G)):F=G;var ee=w.length;F>ee/2&&(F=ee/2);for(var K=0;K<F;++K){var J=parseInt(w.substr(K*2,2),16);if(D(J))return K;L[S+K]=J}return K}function _(L,w,S,F){return j(A(w,L.length-S),L,S,F)}function B(L,w,S,F){return j(Q(w),L,S,F)}function q(L,w,S,F){return j(H(w),L,S,F)}function T(L,w,S,F){return j(z(w,L.length-S),L,S,F)}s.prototype.write=function(w,S,F,G){if(S===void 0)G="utf8",F=this.length,S=0;else if(F===void 0&&typeof S=="string")G=S,F=this.length,S=0;else if(isFinite(S))S=S>>>0,isFinite(F)?(F=F>>>0,G===void 0&&(G="utf8")):(G=F,F=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ee=this.length-S;if((F===void 0||F>ee)&&(F=ee),w.length>0&&(F<0||S<0)||S>this.length)throw new RangeError("Attempt to write outside buffer bounds");G||(G="utf8");for(var K=!1;;)switch(G){case"hex":return M(this,w,S,F);case"utf8":case"utf-8":return _(this,w,S,F);case"ascii":case"latin1":case"binary":return B(this,w,S,F);case"base64":return q(this,w,S,F);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,w,S,F);default:if(K)throw new TypeError("Unknown encoding: "+G);G=(""+G).toLowerCase(),K=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(L,w,S){return w===0&&S===L.length?e.fromByteArray(L):e.fromByteArray(L.slice(w,S))}function b(L,w,S){S=Math.min(L.length,S);for(var F=[],G=w;G<S;){var ee=L[G],K=null,J=ee>239?4:ee>223?3:ee>191?2:1;if(G+J<=S){var te,ae,he,xe;switch(J){case 1:ee<128&&(K=ee);break;case 2:te=L[G+1],(te&192)===128&&(xe=(ee&31)<<6|te&63,xe>127&&(K=xe));break;case 3:te=L[G+1],ae=L[G+2],(te&192)===128&&(ae&192)===128&&(xe=(ee&15)<<12|(te&63)<<6|ae&63,xe>2047&&(xe<55296||xe>57343)&&(K=xe));break;case 4:te=L[G+1],ae=L[G+2],he=L[G+3],(te&192)===128&&(ae&192)===128&&(he&192)===128&&(xe=(ee&15)<<18|(te&63)<<12|(ae&63)<<6|he&63,xe>65535&&xe<1114112&&(K=xe))}}K===null?(K=65533,J=1):K>65535&&(K-=65536,F.push(K>>>10&1023|55296),K=56320|K&1023),F.push(K),G+=J}return U(F)}var P=4096;function U(L){var w=L.length;if(w<=P)return String.fromCharCode.apply(String,L);for(var S="",F=0;F<w;)S+=String.fromCharCode.apply(String,L.slice(F,F+=P));return S}function X(L,w,S){var F="";S=Math.min(L.length,S);for(var G=w;G<S;++G)F+=String.fromCharCode(L[G]&127);return F}function V(L,w,S){var F="";S=Math.min(L.length,S);for(var G=w;G<S;++G)F+=String.fromCharCode(L[G]);return F}function k(L,w,S){var F=L.length;(!w||w<0)&&(w=0),(!S||S<0||S>F)&&(S=F);for(var G="",ee=w;ee<S;++ee)G+=ie[L[ee]];return G}function re(L,w,S){for(var F=L.slice(w,S),G="",ee=0;ee<F.length-1;ee+=2)G+=String.fromCharCode(F[ee]+F[ee+1]*256);return G}s.prototype.slice=function(w,S){var F=this.length;w=~~w,S=S===void 0?F:~~S,w<0?(w+=F,w<0&&(w=0)):w>F&&(w=F),S<0?(S+=F,S<0&&(S=0)):S>F&&(S=F),S<w&&(S=w);var G=this.subarray(w,S);return Object.setPrototypeOf(G,s.prototype),G};function Z(L,w,S){if(L%1!==0||L<0)throw new RangeError("offset is not uint");if(L+w>S)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(w,S,F){w=w>>>0,S=S>>>0,F||Z(w,S,this.length);for(var G=this[w],ee=1,K=0;++K<S&&(ee*=256);)G+=this[w+K]*ee;return G},s.prototype.readUintBE=s.prototype.readUIntBE=function(w,S,F){w=w>>>0,S=S>>>0,F||Z(w,S,this.length);for(var G=this[w+--S],ee=1;S>0&&(ee*=256);)G+=this[w+--S]*ee;return G},s.prototype.readUint8=s.prototype.readUInt8=function(w,S){return w=w>>>0,S||Z(w,1,this.length),this[w]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(w,S){return w=w>>>0,S||Z(w,2,this.length),this[w]|this[w+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(w,S){return w=w>>>0,S||Z(w,2,this.length),this[w]<<8|this[w+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(w,S){return w=w>>>0,S||Z(w,4,this.length),(this[w]|this[w+1]<<8|this[w+2]<<16)+this[w+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(w,S){return w=w>>>0,S||Z(w,4,this.length),this[w]*16777216+(this[w+1]<<16|this[w+2]<<8|this[w+3])},s.prototype.readIntLE=function(w,S,F){w=w>>>0,S=S>>>0,F||Z(w,S,this.length);for(var G=this[w],ee=1,K=0;++K<S&&(ee*=256);)G+=this[w+K]*ee;return ee*=128,G>=ee&&(G-=Math.pow(2,8*S)),G},s.prototype.readIntBE=function(w,S,F){w=w>>>0,S=S>>>0,F||Z(w,S,this.length);for(var G=S,ee=1,K=this[w+--G];G>0&&(ee*=256);)K+=this[w+--G]*ee;return ee*=128,K>=ee&&(K-=Math.pow(2,8*S)),K},s.prototype.readInt8=function(w,S){return w=w>>>0,S||Z(w,1,this.length),this[w]&128?(255-this[w]+1)*-1:this[w]},s.prototype.readInt16LE=function(w,S){w=w>>>0,S||Z(w,2,this.length);var F=this[w]|this[w+1]<<8;return F&32768?F|4294901760:F},s.prototype.readInt16BE=function(w,S){w=w>>>0,S||Z(w,2,this.length);var F=this[w+1]|this[w]<<8;return F&32768?F|4294901760:F},s.prototype.readInt32LE=function(w,S){return w=w>>>0,S||Z(w,4,this.length),this[w]|this[w+1]<<8|this[w+2]<<16|this[w+3]<<24},s.prototype.readInt32BE=function(w,S){return w=w>>>0,S||Z(w,4,this.length),this[w]<<24|this[w+1]<<16|this[w+2]<<8|this[w+3]},s.prototype.readFloatLE=function(w,S){return w=w>>>0,S||Z(w,4,this.length),n.read(this,w,!0,23,4)},s.prototype.readFloatBE=function(w,S){return w=w>>>0,S||Z(w,4,this.length),n.read(this,w,!1,23,4)},s.prototype.readDoubleLE=function(w,S){return w=w>>>0,S||Z(w,8,this.length),n.read(this,w,!0,52,8)},s.prototype.readDoubleBE=function(w,S){return w=w>>>0,S||Z(w,8,this.length),n.read(this,w,!1,52,8)};function C(L,w,S,F,G,ee){if(!s.isBuffer(L))throw new TypeError('"buffer" argument must be a Buffer instance');if(w>G||w<ee)throw new RangeError('"value" argument is out of bounds');if(S+F>L.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(w,S,F,G){if(w=+w,S=S>>>0,F=F>>>0,!G){var ee=Math.pow(2,8*F)-1;C(this,w,S,F,ee,0)}var K=1,J=0;for(this[S]=w&255;++J<F&&(K*=256);)this[S+J]=w/K&255;return S+F},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(w,S,F,G){if(w=+w,S=S>>>0,F=F>>>0,!G){var ee=Math.pow(2,8*F)-1;C(this,w,S,F,ee,0)}var K=F-1,J=1;for(this[S+K]=w&255;--K>=0&&(J*=256);)this[S+K]=w/J&255;return S+F},s.prototype.writeUint8=s.prototype.writeUInt8=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,1,255,0),this[S]=w&255,S+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,2,65535,0),this[S]=w&255,this[S+1]=w>>>8,S+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,2,65535,0),this[S]=w>>>8,this[S+1]=w&255,S+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,4,4294967295,0),this[S+3]=w>>>24,this[S+2]=w>>>16,this[S+1]=w>>>8,this[S]=w&255,S+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,4,4294967295,0),this[S]=w>>>24,this[S+1]=w>>>16,this[S+2]=w>>>8,this[S+3]=w&255,S+4},s.prototype.writeIntLE=function(w,S,F,G){if(w=+w,S=S>>>0,!G){var ee=Math.pow(2,8*F-1);C(this,w,S,F,ee-1,-ee)}var K=0,J=1,te=0;for(this[S]=w&255;++K<F&&(J*=256);)w<0&&te===0&&this[S+K-1]!==0&&(te=1),this[S+K]=(w/J>>0)-te&255;return S+F},s.prototype.writeIntBE=function(w,S,F,G){if(w=+w,S=S>>>0,!G){var ee=Math.pow(2,8*F-1);C(this,w,S,F,ee-1,-ee)}var K=F-1,J=1,te=0;for(this[S+K]=w&255;--K>=0&&(J*=256);)w<0&&te===0&&this[S+K+1]!==0&&(te=1),this[S+K]=(w/J>>0)-te&255;return S+F},s.prototype.writeInt8=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,1,127,-128),w<0&&(w=255+w+1),this[S]=w&255,S+1},s.prototype.writeInt16LE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,2,32767,-32768),this[S]=w&255,this[S+1]=w>>>8,S+2},s.prototype.writeInt16BE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,2,32767,-32768),this[S]=w>>>8,this[S+1]=w&255,S+2},s.prototype.writeInt32LE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,4,2147483647,-2147483648),this[S]=w&255,this[S+1]=w>>>8,this[S+2]=w>>>16,this[S+3]=w>>>24,S+4},s.prototype.writeInt32BE=function(w,S,F){return w=+w,S=S>>>0,F||C(this,w,S,4,2147483647,-2147483648),w<0&&(w=4294967295+w+1),this[S]=w>>>24,this[S+1]=w>>>16,this[S+2]=w>>>8,this[S+3]=w&255,S+4};function ne(L,w,S,F,G,ee){if(S+F>L.length)throw new RangeError("Index out of range");if(S<0)throw new RangeError("Index out of range")}function oe(L,w,S,F,G){return w=+w,S=S>>>0,G||ne(L,w,S,4),n.write(L,w,S,F,23,4),S+4}s.prototype.writeFloatLE=function(w,S,F){return oe(this,w,S,!0,F)},s.prototype.writeFloatBE=function(w,S,F){return oe(this,w,S,!1,F)};function ue(L,w,S,F,G){return w=+w,S=S>>>0,G||ne(L,w,S,8),n.write(L,w,S,F,52,8),S+8}s.prototype.writeDoubleLE=function(w,S,F){return ue(this,w,S,!0,F)},s.prototype.writeDoubleBE=function(w,S,F){return ue(this,w,S,!1,F)},s.prototype.copy=function(w,S,F,G){if(!s.isBuffer(w))throw new TypeError("argument should be a Buffer");if(F||(F=0),!G&&G!==0&&(G=this.length),S>=w.length&&(S=w.length),S||(S=0),G>0&&G<F&&(G=F),G===F||w.length===0||this.length===0)return 0;if(S<0)throw new RangeError("targetStart out of bounds");if(F<0||F>=this.length)throw new RangeError("Index out of range");if(G<0)throw new RangeError("sourceEnd out of bounds");G>this.length&&(G=this.length),w.length-S<G-F&&(G=w.length-S+F);var ee=G-F;return this===w&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(S,F,G):Uint8Array.prototype.set.call(w,this.subarray(F,G),S),ee},s.prototype.fill=function(w,S,F,G){if(typeof w=="string"){if(typeof S=="string"?(G=S,S=0,F=this.length):typeof F=="string"&&(G=F,F=this.length),G!==void 0&&typeof G!="string")throw new TypeError("encoding must be a string");if(typeof G=="string"&&!s.isEncoding(G))throw new TypeError("Unknown encoding: "+G);if(w.length===1){var ee=w.charCodeAt(0);(G==="utf8"&&ee<128||G==="latin1")&&(w=ee)}}else typeof w=="number"?w=w&255:typeof w=="boolean"&&(w=Number(w));if(S<0||this.length<S||this.length<F)throw new RangeError("Out of range index");if(F<=S)return this;S=S>>>0,F=F===void 0?this.length:F>>>0,w||(w=0);var K;if(typeof w=="number")for(K=S;K<F;++K)this[K]=w;else{var J=s.isBuffer(w)?w:s.from(w,G),te=J.length;if(te===0)throw new TypeError('The value "'+w+'" is invalid for argument "value"');for(K=0;K<F-S;++K)this[K+S]=J[K%te]}return this};var ce=/[^+/0-9A-Za-z-_]/g;function W(L){if(L=L.split("=")[0],L=L.trim().replace(ce,""),L.length<2)return"";for(;L.length%4!==0;)L=L+"=";return L}function A(L,w){w=w||1/0;for(var S,F=L.length,G=null,ee=[],K=0;K<F;++K){if(S=L.charCodeAt(K),S>55295&&S<57344){if(!G){if(S>56319){(w-=3)>-1&&ee.push(239,191,189);continue}else if(K+1===F){(w-=3)>-1&&ee.push(239,191,189);continue}G=S;continue}if(S<56320){(w-=3)>-1&&ee.push(239,191,189),G=S;continue}S=(G-55296<<10|S-56320)+65536}else G&&(w-=3)>-1&&ee.push(239,191,189);if(G=null,S<128){if((w-=1)<0)break;ee.push(S)}else if(S<2048){if((w-=2)<0)break;ee.push(S>>6|192,S&63|128)}else if(S<65536){if((w-=3)<0)break;ee.push(S>>12|224,S>>6&63|128,S&63|128)}else if(S<1114112){if((w-=4)<0)break;ee.push(S>>18|240,S>>12&63|128,S>>6&63|128,S&63|128)}else throw new Error("Invalid code point")}return ee}function Q(L){for(var w=[],S=0;S<L.length;++S)w.push(L.charCodeAt(S)&255);return w}function z(L,w){for(var S,F,G,ee=[],K=0;K<L.length&&!((w-=2)<0);++K)S=L.charCodeAt(K),F=S>>8,G=S%256,ee.push(G),ee.push(F);return ee}function H(L){return e.toByteArray(W(L))}function j(L,w,S,F){for(var G=0;G<F&&!(G+S>=w.length||G>=L.length);++G)w[G+S]=L[G];return G}function ge(L,w){return L instanceof w||L!=null&&L.constructor!=null&&L.constructor.name!=null&&L.constructor.name===w.name}function D(L){return L!==L}var ie=function(){for(var L="0123456789abcdef",w=new Array(256),S=0;S<16;++S)for(var F=S*16,G=0;G<16;++G)w[F+G]=L[S]+L[G];return w}()}(Xl)),Xl}var Vl={},Yl={},Bl,H1;function VR(){return H1||(H1=1,Bl=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[n]=i;for(n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,n);if(a.value!==i||a.enumerable!==!0)return!1}return!0}),Bl}var Zl,G1;function af(){if(G1)return Zl;G1=1;var t=VR();return Zl=function(){return t()&&!!Symbol.toStringTag},Zl}var kl,J1;function tO(){if(J1)return kl;J1=1;var t=typeof Symbol!="undefined"&&Symbol,e=VR();return kl=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},kl}var Ql,z1;function nO(){if(z1)return Ql;z1=1;var t={foo:{}},e=Object;return Ql=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof e)},Ql}var Kl,$1;function rO(){if($1)return Kl;$1=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(c,u){for(var l=[],h=0;h<c.length;h+=1)l[h]=c[h];for(var d=0;d<u.length;d+=1)l[d+c.length]=u[d];return l},o=function(c,u){for(var l=[],h=u||0,d=0;h<c.length;h+=1,d+=1)l[d]=c[h];return l},a=function(s,c){for(var u="",l=0;l<s.length;l+=1)u+=s[l],l+1<s.length&&(u+=c);return u};return Kl=function(c){var u=this;if(typeof u!="function"||e.apply(u)!==r)throw new TypeError(t+u);for(var l=o(arguments,1),h,d=function(){if(this instanceof h){var R=u.apply(this,i(l,arguments));return Object(R)===R?R:this}return u.apply(c,i(l,arguments))},f=n(0,u.length-l.length),p=[],g=0;g<f;g++)p[g]="$"+g;if(h=Function("binder","return function ("+a(p,",")+"){ return binder.apply(this,arguments); }")(d),u.prototype){var y=function(){};y.prototype=u.prototype,h.prototype=new y,y.prototype=null}return h},Kl}var Hl,j1;function sf(){if(j1)return Hl;j1=1;var t=rO();return Hl=Function.prototype.bind||t,Hl}var Gl,q1;function iO(){if(q1)return Gl;q1=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=sf();return Gl=n.call(t,e),Gl}var Jl,eg;function Sa(){if(eg)return Jl;eg=1;var t,e=SyntaxError,n=Function,r=TypeError,i=function(T){try{return n('"use strict"; return ('+T+").constructor;")()}catch{}},o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch{o=null}var a=function(){throw new r},s=o?function(){try{return arguments.callee,a}catch{try{return o(arguments,"callee").get}catch{return a}}}():a,c=tO()(),u=nO()(),l=Object.getPrototypeOf||(u?function(T){return T.__proto__}:null),h={},d=typeof Uint8Array=="undefined"||!l?t:l(Uint8Array),f={"%AggregateError%":typeof AggregateError=="undefined"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?t:ArrayBuffer,"%ArrayIteratorPrototype%":c&&l?l([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics=="undefined"?t:Atomics,"%BigInt%":typeof BigInt=="undefined"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?t:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?t:FinalizationRegistry,"%Function%":n,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array=="undefined"?t:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?t:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&l?l(l([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map=="undefined"?t:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!c||!l?t:l(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?t:Promise,"%Proxy%":typeof Proxy=="undefined"?t:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?t:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!c||!l?t:l(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&l?l(""[Symbol.iterator]()):t,"%Symbol%":c?Symbol:t,"%SyntaxError%":e,"%ThrowTypeError%":s,"%TypedArray%":d,"%TypeError%":r,"%Uint8Array%":typeof Uint8Array=="undefined"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?t:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?t:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?t:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?t:WeakSet};if(l)try{null.error}catch(T){var p=l(l(T));f["%Error.prototype%"]=p}var g=function T(I){var b;if(I==="%AsyncFunction%")b=i("async function () {}");else if(I==="%GeneratorFunction%")b=i("function* () {}");else if(I==="%AsyncGeneratorFunction%")b=i("async function* () {}");else if(I==="%AsyncGenerator%"){var P=T("%AsyncGeneratorFunction%");P&&(b=P.prototype)}else if(I==="%AsyncIteratorPrototype%"){var U=T("%AsyncGenerator%");U&&l&&(b=l(U.prototype))}return f[I]=b,b},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},R=sf(),m=iO(),v=R.call(Function.call,Array.prototype.concat),x=R.call(Function.apply,Array.prototype.splice),O=R.call(Function.call,String.prototype.replace),E=R.call(Function.call,String.prototype.slice),N=R.call(Function.call,RegExp.prototype.exec),M=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,B=function(I){var b=E(I,0,1),P=E(I,-1);if(b==="%"&&P!=="%")throw new e("invalid intrinsic syntax, expected closing `%`");if(P==="%"&&b!=="%")throw new e("invalid intrinsic syntax, expected opening `%`");var U=[];return O(I,M,function(X,V,k,re){U[U.length]=k?O(re,_,"$1"):V||X}),U},q=function(I,b){var P=I,U;if(m(y,P)&&(U=y[P],P="%"+U[0]+"%"),m(f,P)){var X=f[P];if(X===h&&(X=g(P)),typeof X=="undefined"&&!b)throw new r("intrinsic "+I+" exists, but is not available. Please file an issue!");return{alias:U,name:P,value:X}}throw new e("intrinsic "+I+" does not exist!")};return Jl=function(I,b){if(typeof I!="string"||I.length===0)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof b!="boolean")throw new r('"allowMissing" argument must be a boolean');if(N(/^%?[^%]*%?$/,I)===null)throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var P=B(I),U=P.length>0?P[0]:"",X=q("%"+U+"%",b),V=X.name,k=X.value,re=!1,Z=X.alias;Z&&(U=Z[0],x(P,v([0,1],Z)));for(var C=1,ne=!0;C<P.length;C+=1){var oe=P[C],ue=E(oe,0,1),ce=E(oe,-1);if((ue==='"'||ue==="'"||ue==="`"||ce==='"'||ce==="'"||ce==="`")&&ue!==ce)throw new e("property names with quotes must have matching quotes");if((oe==="constructor"||!ne)&&(re=!0),U+="."+oe,V="%"+U+"%",m(f,V))k=f[V];else if(k!=null){if(!(oe in k)){if(!b)throw new r("base intrinsic for "+I+" exists, but the property is not available.");return}if(o&&C+1>=P.length){var W=o(k,oe);ne=!!W,ne&&"get"in W&&!("originalValue"in W.get)?k=W.get:k=k[oe]}else ne=m(k,oe),k=k[oe];ne&&!re&&(f[V]=k)}}return k},Jl}var zl={exports:{}},$l,tg;function YR(){if(tg)return $l;tg=1;var t=Sa(),e=t("%Object.defineProperty%",!0),n=function(){if(e)try{return e({},"a",{value:1}),!0}catch{return!1}return!1};return n.hasArrayLengthDefineBug=function(){if(!n())return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},$l=n,$l}var jl,ng;function cf(){if(ng)return jl;ng=1;var t=Sa(),e=t("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch{e=null}return jl=e,jl}var ql,rg;function oO(){if(rg)return ql;rg=1;var t=YR()(),e=Sa(),n=t&&e("%Object.defineProperty%",!0);if(n)try{n({},"a",{value:1})}catch{n=!1}var r=e("%SyntaxError%"),i=e("%TypeError%"),o=cf();return ql=function(s,c,u){if(!s||typeof s!="object"&&typeof s!="function")throw new i("`obj` must be an object or a function`");if(typeof c!="string"&&typeof c!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,h=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,p=!!o&&o(s,c);if(n)n(s,c,{configurable:d===null&&p?p.configurable:!d,enumerable:l===null&&p?p.enumerable:!l,value:u,writable:h===null&&p?p.writable:!h});else if(f||!l&&!h&&!d)s[c]=u;else throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ql}var eh,ig;function aO(){if(ig)return eh;ig=1;var t=Sa(),e=oO(),n=YR()(),r=cf(),i=t("%TypeError%"),o=t("%Math.floor%");return eh=function(s,c){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof c!="number"||c<0||c>4294967295||o(c)!==c)throw new i("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],l=!0,h=!0;if("length"in s&&r){var d=r(s,"length");d&&!d.configurable&&(l=!1),d&&!d.writable&&(h=!1)}return(l||h||!u)&&(n?e(s,"length",c,!0,!0):e(s,"length",c)),s},eh}var og;function BR(){return og||(og=1,function(t){var e=sf(),n=Sa(),r=aO(),i=n("%TypeError%"),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||e.call(a,o),c=n("%Object.defineProperty%",!0),u=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(d){if(typeof d!="function")throw new i("a function is required");var f=s(e,a,arguments);return r(f,1+u(0,d.length-(arguments.length-1)),!0)};var l=function(){return s(e,o,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l}(zl)),zl.exports}var th,ag;function ZR(){if(ag)return th;ag=1;var t=Sa(),e=BR(),n=e(t("String.prototype.indexOf"));return th=function(i,o){var a=t(i,!!o);return typeof a=="function"&&n(i,".prototype.")>-1?e(a):a},th}var nh,sg;function sO(){if(sg)return nh;sg=1;var t=af()(),e=ZR(),n=e("Object.prototype.toString"),r=function(s){return t&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:n(s)==="[object Arguments]"},i=function(s){return r(s)?!0:s!==null&&typeof s=="object"&&typeof s.length=="number"&&s.length>=0&&n(s)!=="[object Array]"&&n(s.callee)==="[object Function]"},o=function(){return r(arguments)}();return r.isLegacyArguments=i,nh=o?r:i,nh}var rh,cg;function cO(){if(cg)return rh;cg=1;var t=Object.prototype.toString,e=Function.prototype.toString,n=/^\s*(?:function)?\*/,r=af()(),i=Object.getPrototypeOf,o=function(){if(!r)return!1;try{return Function("return function*() {}")()}catch{}},a;return rh=function(c){if(typeof c!="function")return!1;if(n.test(e.call(c)))return!0;if(!r){var u=t.call(c);return u==="[object GeneratorFunction]"}if(!i)return!1;if(typeof a=="undefined"){var l=o();a=l?i(l):!1}return i(c)===a},rh}var ih,ug;function uO(){if(ug)return ih;ug=1;var t=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,r;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},e(function(){throw 42},null,n)}catch(m){m!==r&&(e=null)}else e=null;var i=/^\s*class\b/,o=function(v){try{var x=t.call(v);return i.test(x)}catch{return!1}},a=function(v){try{return o(v)?!1:(t.call(v),!0)}catch{return!1}},s=Object.prototype.toString,c="[object Object]",u="[object Function]",l="[object GeneratorFunction]",h="[object HTMLAllCollection]",d="[object HTML document.all class]",f="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),y=function(){return!1};if(typeof document=="object"){var R=document.all;s.call(R)===s.call(document.all)&&(y=function(v){if((g||!v)&&(typeof v=="undefined"||typeof v=="object"))try{var x=s.call(v);return(x===h||x===d||x===f||x===c)&&v("")==null}catch{}return!1})}return ih=e?function(v){if(y(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;try{e(v,null,n)}catch(x){if(x!==r)return!1}return!o(v)&&a(v)}:function(v){if(y(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(p)return a(v);if(o(v))return!1;var x=s.call(v);return x!==u&&x!==l&&!/^\[object HTML/.test(x)?!1:a(v)},ih}var oh,lg;function lO(){if(lg)return oh;lg=1;var t=uO(),e=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=function(c,u,l){for(var h=0,d=c.length;h<d;h++)n.call(c,h)&&(l==null?u(c[h],h,c):u.call(l,c[h],h,c))},i=function(c,u,l){for(var h=0,d=c.length;h<d;h++)l==null?u(c.charAt(h),h,c):u.call(l,c.charAt(h),h,c)},o=function(c,u,l){for(var h in c)n.call(c,h)&&(l==null?u(c[h],h,c):u.call(l,c[h],h,c))},a=function(c,u,l){if(!t(u))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=l),e.call(c)==="[object Array]"?r(c,u,h):typeof c=="string"?i(c,u,h):o(c,u,h)};return oh=a,oh}var ah,hg;function hO(){if(hg)return ah;hg=1;var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],e=typeof globalThis=="undefined"?Br:globalThis;return ah=function(){for(var r=[],i=0;i<t.length;i++)typeof e[t[i]]=="function"&&(r[r.length]=t[i]);return r},ah}var sh,dg;function kR(){if(dg)return sh;dg=1;var t=lO(),e=hO(),n=BR(),r=ZR(),i=cf(),o=r("Object.prototype.toString"),a=af()(),s=typeof globalThis=="undefined"?Br:globalThis,c=e(),u=r("String.prototype.slice"),l=Object.getPrototypeOf,h=r("Array.prototype.indexOf",!0)||function(y,R){for(var m=0;m<y.length;m+=1)if(y[m]===R)return m;return-1},d={__proto__:null};a&&i&&l?t(c,function(g){var y=new s[g];if(Symbol.toStringTag in y){var R=l(y),m=i(R,Symbol.toStringTag);if(!m){var v=l(R);m=i(v,Symbol.toStringTag)}d["$"+g]=n(m.get)}}):t(c,function(g){var y=new s[g],R=y.slice||y.set;R&&(d["$"+g]=n(R))});var f=function(y){var R=!1;return t(d,function(m,v){if(!R)try{"$"+m(y)===v&&(R=u(v,1))}catch{}}),R},p=function(y){var R=!1;return t(d,function(m,v){if(!R)try{m(y),R=u(v,1)}catch{}}),R};return sh=function(y){if(!y||typeof y!="object")return!1;if(!a){var R=u(o(y),8,-1);return h(c,R)>-1?R:R!=="Object"?!1:p(y)}return i?f(y):null},sh}var ch,fg;function dO(){if(fg)return ch;fg=1;var t=kR();return ch=function(n){return!!t(n)},ch}var pg;function fO(){return pg||(pg=1,function(t){var e=sO(),n=cO(),r=kR(),i=dO();function o(F){return F.call.bind(F)}var a=typeof BigInt!="undefined",s=typeof Symbol!="undefined",c=o(Object.prototype.toString),u=o(Number.prototype.valueOf),l=o(String.prototype.valueOf),h=o(Boolean.prototype.valueOf);if(a)var d=o(BigInt.prototype.valueOf);if(s)var f=o(Symbol.prototype.valueOf);function p(F,G){if(typeof F!="object")return!1;try{return G(F),!0}catch{return!1}}t.isArgumentsObject=e,t.isGeneratorFunction=n,t.isTypedArray=i;function g(F){return typeof Promise!="undefined"&&F instanceof Promise||F!==null&&typeof F=="object"&&typeof F.then=="function"&&typeof F.catch=="function"}t.isPromise=g;function y(F){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(F):i(F)||ne(F)}t.isArrayBufferView=y;function R(F){return r(F)==="Uint8Array"}t.isUint8Array=R;function m(F){return r(F)==="Uint8ClampedArray"}t.isUint8ClampedArray=m;function v(F){return r(F)==="Uint16Array"}t.isUint16Array=v;function x(F){return r(F)==="Uint32Array"}t.isUint32Array=x;function O(F){return r(F)==="Int8Array"}t.isInt8Array=O;function E(F){return r(F)==="Int16Array"}t.isInt16Array=E;function N(F){return r(F)==="Int32Array"}t.isInt32Array=N;function M(F){return r(F)==="Float32Array"}t.isFloat32Array=M;function _(F){return r(F)==="Float64Array"}t.isFloat64Array=_;function B(F){return r(F)==="BigInt64Array"}t.isBigInt64Array=B;function q(F){return r(F)==="BigUint64Array"}t.isBigUint64Array=q;function T(F){return c(F)==="[object Map]"}T.working=typeof Map!="undefined"&&T(new Map);function I(F){return typeof Map=="undefined"?!1:T.working?T(F):F instanceof Map}t.isMap=I;function b(F){return c(F)==="[object Set]"}b.working=typeof Set!="undefined"&&b(new Set);function P(F){return typeof Set=="undefined"?!1:b.working?b(F):F instanceof Set}t.isSet=P;function U(F){return c(F)==="[object WeakMap]"}U.working=typeof WeakMap!="undefined"&&U(new WeakMap);function X(F){return typeof WeakMap=="undefined"?!1:U.working?U(F):F instanceof WeakMap}t.isWeakMap=X;function V(F){return c(F)==="[object WeakSet]"}V.working=typeof WeakSet!="undefined"&&V(new WeakSet);function k(F){return V(F)}t.isWeakSet=k;function re(F){return c(F)==="[object ArrayBuffer]"}re.working=typeof ArrayBuffer!="undefined"&&re(new ArrayBuffer);function Z(F){return typeof ArrayBuffer=="undefined"?!1:re.working?re(F):F instanceof ArrayBuffer}t.isArrayBuffer=Z;function C(F){return c(F)==="[object DataView]"}C.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&C(new DataView(new ArrayBuffer(1),0,1));function ne(F){return typeof DataView=="undefined"?!1:C.working?C(F):F instanceof DataView}t.isDataView=ne;var oe=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function ue(F){return c(F)==="[object SharedArrayBuffer]"}function ce(F){return typeof oe=="undefined"?!1:(typeof ue.working=="undefined"&&(ue.working=ue(new oe)),ue.working?ue(F):F instanceof oe)}t.isSharedArrayBuffer=ce;function W(F){return c(F)==="[object AsyncFunction]"}t.isAsyncFunction=W;function A(F){return c(F)==="[object Map Iterator]"}t.isMapIterator=A;function Q(F){return c(F)==="[object Set Iterator]"}t.isSetIterator=Q;function z(F){return c(F)==="[object Generator]"}t.isGeneratorObject=z;function H(F){return c(F)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=H;function j(F){return p(F,u)}t.isNumberObject=j;function ge(F){return p(F,l)}t.isStringObject=ge;function D(F){return p(F,h)}t.isBooleanObject=D;function ie(F){return a&&p(F,d)}t.isBigIntObject=ie;function L(F){return s&&p(F,f)}t.isSymbolObject=L;function w(F){return j(F)||ge(F)||D(F)||ie(F)||L(F)}t.isBoxedPrimitive=w;function S(F){return typeof Uint8Array!="undefined"&&(Z(F)||ce(F))}t.isAnyArrayBuffer=S,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(F){Object.defineProperty(t,F,{enumerable:!1,value:function(){throw new Error(F+" is not supported in userland")}})})}(Yl)),Yl}var uh,gg;function pO(){return gg||(gg=1,uh=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}),uh}var mg;function QR(){return mg||(mg=1,function(t){var e=Object.getOwnPropertyDescriptors||function(ne){for(var oe=Object.keys(ne),ue={},ce=0;ce<oe.length;ce++)ue[oe[ce]]=Object.getOwnPropertyDescriptor(ne,oe[ce]);return ue},n=/%[sdj%]/g;t.format=function(C){if(!O(C)){for(var ne=[],oe=0;oe<arguments.length;oe++)ne.push(a(arguments[oe]));return ne.join(" ")}for(var oe=1,ue=arguments,ce=ue.length,W=String(C).replace(n,function(Q){if(Q==="%%")return"%";if(oe>=ce)return Q;switch(Q){case"%s":return String(ue[oe++]);case"%d":return Number(ue[oe++]);case"%j":try{return JSON.stringify(ue[oe++])}catch{return"[Circular]"}default:return Q}}),A=ue[oe];oe<ce;A=ue[++oe])m(A)||!_(A)?W+=" "+A:W+=" "+a(A);return W},t.deprecate=function(C,ne){if(typeof nt!="undefined"&&nt.noDeprecation===!0)return C;if(typeof nt=="undefined")return function(){return t.deprecate(C,ne).apply(this,arguments)};var oe=!1;function ue(){if(!oe){if(nt.throwDeprecation)throw new Error(ne);nt.traceDeprecation?console.trace(ne):console.error(ne),oe=!0}return C.apply(this,arguments)}return ue};var r={},i=/^$/;if(nt.env.NODE_DEBUG){var o=nt.env.NODE_DEBUG;o=o.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+o+"$","i")}t.debuglog=function(C){if(C=C.toUpperCase(),!r[C])if(i.test(C)){var ne=nt.pid;r[C]=function(){var oe=t.format.apply(t,arguments);console.error("%s %d: %s",C,ne,oe)}}else r[C]=function(){};return r[C]};function a(C,ne){var oe={seen:[],stylize:c};return arguments.length>=3&&(oe.depth=arguments[2]),arguments.length>=4&&(oe.colors=arguments[3]),R(ne)?oe.showHidden=ne:ne&&t._extend(oe,ne),N(oe.showHidden)&&(oe.showHidden=!1),N(oe.depth)&&(oe.depth=2),N(oe.colors)&&(oe.colors=!1),N(oe.customInspect)&&(oe.customInspect=!0),oe.colors&&(oe.stylize=s),l(oe,C,oe.depth)}t.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(C,ne){var oe=a.styles[ne];return oe?"\x1B["+a.colors[oe][0]+"m"+C+"\x1B["+a.colors[oe][1]+"m":C}function c(C,ne){return C}function u(C){var ne={};return C.forEach(function(oe,ue){ne[oe]=!0}),ne}function l(C,ne,oe){if(C.customInspect&&ne&&T(ne.inspect)&&ne.inspect!==t.inspect&&!(ne.constructor&&ne.constructor.prototype===ne)){var ue=ne.inspect(oe,C);return O(ue)||(ue=l(C,ue,oe)),ue}var ce=h(C,ne);if(ce)return ce;var W=Object.keys(ne),A=u(W);if(C.showHidden&&(W=Object.getOwnPropertyNames(ne)),q(ne)&&(W.indexOf("message")>=0||W.indexOf("description")>=0))return d(ne);if(W.length===0){if(T(ne)){var Q=ne.name?": "+ne.name:"";return C.stylize("[Function"+Q+"]","special")}if(M(ne))return C.stylize(RegExp.prototype.toString.call(ne),"regexp");if(B(ne))return C.stylize(Date.prototype.toString.call(ne),"date");if(q(ne))return d(ne)}var z="",H=!1,j=["{","}"];if(y(ne)&&(H=!0,j=["[","]"]),T(ne)){var ge=ne.name?": "+ne.name:"";z=" [Function"+ge+"]"}if(M(ne)&&(z=" "+RegExp.prototype.toString.call(ne)),B(ne)&&(z=" "+Date.prototype.toUTCString.call(ne)),q(ne)&&(z=" "+d(ne)),W.length===0&&(!H||ne.length==0))return j[0]+z+j[1];if(oe<0)return M(ne)?C.stylize(RegExp.prototype.toString.call(ne),"regexp"):C.stylize("[Object]","special");C.seen.push(ne);var D;return H?D=f(C,ne,oe,A,W):D=W.map(function(ie){return p(C,ne,oe,A,ie,H)}),C.seen.pop(),g(D,z,j)}function h(C,ne){if(N(ne))return C.stylize("undefined","undefined");if(O(ne)){var oe="'"+JSON.stringify(ne).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return C.stylize(oe,"string")}if(x(ne))return C.stylize(""+ne,"number");if(R(ne))return C.stylize(""+ne,"boolean");if(m(ne))return C.stylize("null","null")}function d(C){return"["+Error.prototype.toString.call(C)+"]"}function f(C,ne,oe,ue,ce){for(var W=[],A=0,Q=ne.length;A<Q;++A)V(ne,String(A))?W.push(p(C,ne,oe,ue,String(A),!0)):W.push("");return ce.forEach(function(z){z.match(/^\d+$/)||W.push(p(C,ne,oe,ue,z,!0))}),W}function p(C,ne,oe,ue,ce,W){var A,Q,z;if(z=Object.getOwnPropertyDescriptor(ne,ce)||{value:ne[ce]},z.get?z.set?Q=C.stylize("[Getter/Setter]","special"):Q=C.stylize("[Getter]","special"):z.set&&(Q=C.stylize("[Setter]","special")),V(ue,ce)||(A="["+ce+"]"),Q||(C.seen.indexOf(z.value)<0?(m(oe)?Q=l(C,z.value,null):Q=l(C,z.value,oe-1),Q.indexOf(`
|
|
`)>-1&&(W?Q=Q.split(`
|
|
`).map(function(H){return" "+H}).join(`
|
|
`).slice(2):Q=`
|
|
`+Q.split(`
|
|
`).map(function(H){return" "+H}).join(`
|
|
`))):Q=C.stylize("[Circular]","special")),N(A)){if(W&&ce.match(/^\d+$/))return Q;A=JSON.stringify(""+ce),A.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(A=A.slice(1,-1),A=C.stylize(A,"name")):(A=A.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),A=C.stylize(A,"string"))}return A+": "+Q}function g(C,ne,oe){var ue=C.reduce(function(ce,W){return W.indexOf(`
|
|
`)>=0,ce+W.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ue>60?oe[0]+(ne===""?"":ne+`
|
|
`)+" "+C.join(`,
|
|
`)+" "+oe[1]:oe[0]+ne+" "+C.join(", ")+" "+oe[1]}t.types=fO();function y(C){return Array.isArray(C)}t.isArray=y;function R(C){return typeof C=="boolean"}t.isBoolean=R;function m(C){return C===null}t.isNull=m;function v(C){return C==null}t.isNullOrUndefined=v;function x(C){return typeof C=="number"}t.isNumber=x;function O(C){return typeof C=="string"}t.isString=O;function E(C){return typeof C=="symbol"}t.isSymbol=E;function N(C){return C===void 0}t.isUndefined=N;function M(C){return _(C)&&b(C)==="[object RegExp]"}t.isRegExp=M,t.types.isRegExp=M;function _(C){return typeof C=="object"&&C!==null}t.isObject=_;function B(C){return _(C)&&b(C)==="[object Date]"}t.isDate=B,t.types.isDate=B;function q(C){return _(C)&&(b(C)==="[object Error]"||C instanceof Error)}t.isError=q,t.types.isNativeError=q;function T(C){return typeof C=="function"}t.isFunction=T;function I(C){return C===null||typeof C=="boolean"||typeof C=="number"||typeof C=="string"||typeof C=="symbol"||typeof C=="undefined"}t.isPrimitive=I,t.isBuffer=pO();function b(C){return Object.prototype.toString.call(C)}function P(C){return C<10?"0"+C.toString(10):C.toString(10)}var U=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function X(){var C=new Date,ne=[P(C.getHours()),P(C.getMinutes()),P(C.getSeconds())].join(":");return[C.getDate(),U[C.getMonth()],ne].join(" ")}t.log=function(){console.log("%s - %s",X(),t.format.apply(t,arguments))},t.inherits=yo,t._extend=function(C,ne){if(!ne||!_(ne))return C;for(var oe=Object.keys(ne),ue=oe.length;ue--;)C[oe[ue]]=ne[oe[ue]];return C};function V(C,ne){return Object.prototype.hasOwnProperty.call(C,ne)}var k=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;t.promisify=function(ne){if(typeof ne!="function")throw new TypeError('The "original" argument must be of type Function');if(k&&ne[k]){var oe=ne[k];if(typeof oe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(oe,k,{value:oe,enumerable:!1,writable:!1,configurable:!0}),oe}function oe(){for(var ue,ce,W=new Promise(function(z,H){ue=z,ce=H}),A=[],Q=0;Q<arguments.length;Q++)A.push(arguments[Q]);A.push(function(z,H){z?ce(z):ue(H)});try{ne.apply(this,A)}catch(z){ce(z)}return W}return Object.setPrototypeOf(oe,Object.getPrototypeOf(ne)),k&&Object.defineProperty(oe,k,{value:oe,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(oe,e(ne))},t.promisify.custom=k;function re(C,ne){if(!C){var oe=new Error("Promise was rejected with a falsy value");oe.reason=C,C=oe}return ne(C)}function Z(C){if(typeof C!="function")throw new TypeError('The "original" argument must be of type Function');function ne(){for(var oe=[],ue=0;ue<arguments.length;ue++)oe.push(arguments[ue]);var ce=oe.pop();if(typeof ce!="function")throw new TypeError("The last argument must be of type Function");var W=this,A=function(){return ce.apply(W,arguments)};C.apply(this,oe).then(function(Q){nt.nextTick(A.bind(null,null,Q))},function(Q){nt.nextTick(re.bind(null,Q,A))})}return Object.setPrototypeOf(ne,Object.getPrototypeOf(C)),Object.defineProperties(ne,e(C)),ne}t.callbackify=Z}(Vl)),Vl}var lh,Rg;function gO(){if(Rg)return lh;Rg=1;function t(d,f){var p=Object.keys(d);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(d);f&&(g=g.filter(function(y){return Object.getOwnPropertyDescriptor(d,y).enumerable})),p.push.apply(p,g)}return p}function e(d){for(var f=1;f<arguments.length;f++){var p=arguments[f]!=null?arguments[f]:{};f%2?t(Object(p),!0).forEach(function(g){n(d,g,p[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(p)):t(Object(p)).forEach(function(g){Object.defineProperty(d,g,Object.getOwnPropertyDescriptor(p,g))})}return d}function n(d,f,p){return f in d?Object.defineProperty(d,f,{value:p,enumerable:!0,configurable:!0,writable:!0}):d[f]=p,d}function r(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")}function i(d,f){for(var p=0;p<f.length;p++){var g=f[p];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}function o(d,f,p){return f&&i(d.prototype,f),p&&i(d,p),d}var a=Mu(),s=a.Buffer,c=QR(),u=c.inspect,l=u&&u.custom||"inspect";function h(d,f,p){s.prototype.copy.call(d,f,p)}return lh=function(){function d(){r(this,d),this.head=null,this.tail=null,this.length=0}return o(d,[{key:"push",value:function(p){var g={data:p,next:null};this.length>0?this.tail.next=g:this.head=g,this.tail=g,++this.length}},{key:"unshift",value:function(p){var g={data:p,next:this.head};this.length===0&&(this.tail=g),this.head=g,++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 g=this.head,y=""+g.data;g=g.next;)y+=p+g.data;return y}},{key:"concat",value:function(p){if(this.length===0)return s.alloc(0);for(var g=s.allocUnsafe(p>>>0),y=this.head,R=0;y;)h(y.data,g,R),R+=y.data.length,y=y.next;return g}},{key:"consume",value:function(p,g){var y;return p<this.head.data.length?(y=this.head.data.slice(0,p),this.head.data=this.head.data.slice(p)):p===this.head.data.length?y=this.shift():y=g?this._getString(p):this._getBuffer(p),y}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(p){var g=this.head,y=1,R=g.data;for(p-=R.length;g=g.next;){var m=g.data,v=p>m.length?m.length:p;if(v===m.length?R+=m:R+=m.slice(0,p),p-=v,p===0){v===m.length?(++y,g.next?this.head=g.next:this.head=this.tail=null):(this.head=g,g.data=m.slice(v));break}++y}return this.length-=y,R}},{key:"_getBuffer",value:function(p){var g=s.allocUnsafe(p),y=this.head,R=1;for(y.data.copy(g),p-=y.data.length;y=y.next;){var m=y.data,v=p>m.length?m.length:p;if(m.copy(g,g.length-p,0,v),p-=v,p===0){v===m.length?(++R,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=m.slice(v));break}++R}return this.length-=R,g}},{key:l,value:function(p,g){return u(this,e({},g,{depth:0,customInspect:!1}))}}]),d}(),lh}var hh,yg;function KR(){if(yg)return hh;yg=1;function t(a,s){var c=this,u=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return u||l?(s?s(a):a&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,nt.nextTick(i,this,a)):nt.nextTick(i,this,a)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(h){!s&&h?c._writableState?c._writableState.errorEmitted?nt.nextTick(n,c):(c._writableState.errorEmitted=!0,nt.nextTick(e,c,h)):nt.nextTick(e,c,h):s?(nt.nextTick(n,c),s(h)):nt.nextTick(n,c)}),this)}function e(a,s){i(a,s),n(a)}function n(a){a._writableState&&!a._writableState.emitClose||a._readableState&&!a._readableState.emitClose||a.emit("close")}function r(){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 i(a,s){a.emit("error",s)}function o(a,s){var c=a._readableState,u=a._writableState;c&&c.autoDestroy||u&&u.autoDestroy?a.destroy(s):a.emit("error",s)}return hh={destroy:t,undestroy:r,errorOrDestroy:o},hh}var dh={},vg;function Da(){if(vg)return dh;vg=1;function t(s,c){s.prototype=Object.create(c.prototype),s.prototype.constructor=s,s.__proto__=c}var e={};function n(s,c,u){u||(u=Error);function l(d,f,p){return typeof c=="string"?c:c(d,f,p)}var h=function(d){t(f,d);function f(p,g,y){return d.call(this,l(p,g,y))||this}return f}(u);h.prototype.name=u.name,h.prototype.code=s,e[s]=h}function r(s,c){if(Array.isArray(s)){var u=s.length;return s=s.map(function(l){return String(l)}),u>2?"one of ".concat(c," ").concat(s.slice(0,u-1).join(", "),", or ")+s[u-1]:u===2?"one of ".concat(c," ").concat(s[0]," or ").concat(s[1]):"of ".concat(c," ").concat(s[0])}else return"of ".concat(c," ").concat(String(s))}function i(s,c,u){return s.substr(!u||u<0?0:+u,c.length)===c}function o(s,c,u){return(u===void 0||u>s.length)&&(u=s.length),s.substring(u-c.length,u)===c}function a(s,c,u){return typeof u!="number"&&(u=0),u+c.length>s.length?!1:s.indexOf(c,u)!==-1}return n("ERR_INVALID_OPT_VALUE",function(s,c){return'The value "'+c+'" is invalid for option "'+s+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(s,c,u){var l;typeof c=="string"&&i(c,"not ")?(l="must not be",c=c.replace(/^not /,"")):l="must be";var h;if(o(s," argument"))h="The ".concat(s," ").concat(l," ").concat(r(c,"type"));else{var d=a(s,".")?"property":"argument";h='The "'.concat(s,'" ').concat(d," ").concat(l," ").concat(r(c,"type"))}return h+=". Received type ".concat(typeof u),h},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),dh.codes=e,dh}var fh,bg;function HR(){if(bg)return fh;bg=1;var t=Da().codes.ERR_INVALID_OPT_VALUE;function e(r,i,o){return r.highWaterMark!=null?r.highWaterMark:i?r[o]:null}function n(r,i,o,a){var s=e(i,a,o);if(s!=null){if(!(isFinite(s)&&Math.floor(s)===s)||s<0){var c=a?o:"highWaterMark";throw new t(c,s)}return Math.floor(s)}return r.objectMode?16:16*1024}return fh={getHighWaterMark:n},fh}var ph,xg;function mO(){if(xg)return ph;xg=1,ph=t;function t(n,r){if(e("noDeprecation"))return n;var i=!1;function o(){if(!i){if(e("throwDeprecation"))throw new Error(r);e("traceDeprecation")?console.trace(r):console.warn(r),i=!0}return n.apply(this,arguments)}return o}function e(n){try{if(!Br.localStorage)return!1}catch{return!1}var r=Br.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}return ph}var gh,wg;function GR(){if(wg)return gh;wg=1,gh=M;function t(ce){var W=this;this.next=null,this.entry=null,this.finish=function(){ue(W,ce)}}var e;M.WritableState=E;var n={deprecate:mO()},r=XR(),i=Mu().Buffer,o=Br.Uint8Array||function(){};function a(ce){return i.from(ce)}function s(ce){return i.isBuffer(ce)||ce instanceof o}var c=KR(),u=HR(),l=u.getHighWaterMark,h=Da().codes,d=h.ERR_INVALID_ARG_TYPE,f=h.ERR_METHOD_NOT_IMPLEMENTED,p=h.ERR_MULTIPLE_CALLBACK,g=h.ERR_STREAM_CANNOT_PIPE,y=h.ERR_STREAM_DESTROYED,R=h.ERR_STREAM_NULL_VALUES,m=h.ERR_STREAM_WRITE_AFTER_END,v=h.ERR_UNKNOWN_ENCODING,x=c.errorOrDestroy;yo(M,r);function O(){}function E(ce,W,A){e=e||la(),ce=ce||{},typeof A!="boolean"&&(A=W instanceof e),this.objectMode=!!ce.objectMode,A&&(this.objectMode=this.objectMode||!!ce.writableObjectMode),this.highWaterMark=l(this,ce,"writableHighWaterMark",A),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Q=ce.decodeStrings===!1;this.decodeStrings=!Q,this.defaultEncoding=ce.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(z){U(W,z)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=ce.emitClose!==!1,this.autoDestroy=!!ce.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}E.prototype.getBuffer=function(){for(var W=this.bufferedRequest,A=[];W;)A.push(W),W=W.next;return A},function(){try{Object.defineProperty(E.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var N;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(N=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(W){return N.call(this,W)?!0:this!==M?!1:W&&W._writableState instanceof E}})):N=function(W){return W instanceof this};function M(ce){e=e||la();var W=this instanceof e;if(!W&&!N.call(M,this))return new M(ce);this._writableState=new E(ce,this,W),this.writable=!0,ce&&(typeof ce.write=="function"&&(this._write=ce.write),typeof ce.writev=="function"&&(this._writev=ce.writev),typeof ce.destroy=="function"&&(this._destroy=ce.destroy),typeof ce.final=="function"&&(this._final=ce.final)),r.call(this)}M.prototype.pipe=function(){x(this,new g)};function _(ce,W){var A=new m;x(ce,A),nt.nextTick(W,A)}function B(ce,W,A,Q){var z;return A===null?z=new R:typeof A!="string"&&!W.objectMode&&(z=new d("chunk",["string","Buffer"],A)),z?(x(ce,z),nt.nextTick(Q,z),!1):!0}M.prototype.write=function(ce,W,A){var Q=this._writableState,z=!1,H=!Q.objectMode&&s(ce);return H&&!i.isBuffer(ce)&&(ce=a(ce)),typeof W=="function"&&(A=W,W=null),H?W="buffer":W||(W=Q.defaultEncoding),typeof A!="function"&&(A=O),Q.ending?_(this,A):(H||B(this,Q,ce,A))&&(Q.pendingcb++,z=T(this,Q,H,ce,W,A)),z},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var ce=this._writableState;ce.corked&&(ce.corked--,!ce.writing&&!ce.corked&&!ce.bufferProcessing&&ce.bufferedRequest&&k(this,ce))},M.prototype.setDefaultEncoding=function(W){if(typeof W=="string"&&(W=W.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((W+"").toLowerCase())>-1))throw new v(W);return this._writableState.defaultEncoding=W,this},Object.defineProperty(M.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function q(ce,W,A){return!ce.objectMode&&ce.decodeStrings!==!1&&typeof W=="string"&&(W=i.from(W,A)),W}Object.defineProperty(M.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function T(ce,W,A,Q,z,H){if(!A){var j=q(W,Q,z);Q!==j&&(A=!0,z="buffer",Q=j)}var ge=W.objectMode?1:Q.length;W.length+=ge;var D=W.length<W.highWaterMark;if(D||(W.needDrain=!0),W.writing||W.corked){var ie=W.lastBufferedRequest;W.lastBufferedRequest={chunk:Q,encoding:z,isBuf:A,callback:H,next:null},ie?ie.next=W.lastBufferedRequest:W.bufferedRequest=W.lastBufferedRequest,W.bufferedRequestCount+=1}else I(ce,W,!1,ge,Q,z,H);return D}function I(ce,W,A,Q,z,H,j){W.writelen=Q,W.writecb=j,W.writing=!0,W.sync=!0,W.destroyed?W.onwrite(new y("write")):A?ce._writev(z,W.onwrite):ce._write(z,H,W.onwrite),W.sync=!1}function b(ce,W,A,Q,z){--W.pendingcb,A?(nt.nextTick(z,Q),nt.nextTick(ne,ce,W),ce._writableState.errorEmitted=!0,x(ce,Q)):(z(Q),ce._writableState.errorEmitted=!0,x(ce,Q),ne(ce,W))}function P(ce){ce.writing=!1,ce.writecb=null,ce.length-=ce.writelen,ce.writelen=0}function U(ce,W){var A=ce._writableState,Q=A.sync,z=A.writecb;if(typeof z!="function")throw new p;if(P(A),W)b(ce,A,Q,W,z);else{var H=re(A)||ce.destroyed;!H&&!A.corked&&!A.bufferProcessing&&A.bufferedRequest&&k(ce,A),Q?nt.nextTick(X,ce,A,H,z):X(ce,A,H,z)}}function X(ce,W,A,Q){A||V(ce,W),W.pendingcb--,Q(),ne(ce,W)}function V(ce,W){W.length===0&&W.needDrain&&(W.needDrain=!1,ce.emit("drain"))}function k(ce,W){W.bufferProcessing=!0;var A=W.bufferedRequest;if(ce._writev&&A&&A.next){var Q=W.bufferedRequestCount,z=new Array(Q),H=W.corkedRequestsFree;H.entry=A;for(var j=0,ge=!0;A;)z[j]=A,A.isBuf||(ge=!1),A=A.next,j+=1;z.allBuffers=ge,I(ce,W,!0,W.length,z,"",H.finish),W.pendingcb++,W.lastBufferedRequest=null,H.next?(W.corkedRequestsFree=H.next,H.next=null):W.corkedRequestsFree=new t(W),W.bufferedRequestCount=0}else{for(;A;){var D=A.chunk,ie=A.encoding,L=A.callback,w=W.objectMode?1:D.length;if(I(ce,W,!1,w,D,ie,L),A=A.next,W.bufferedRequestCount--,W.writing)break}A===null&&(W.lastBufferedRequest=null)}W.bufferedRequest=A,W.bufferProcessing=!1}M.prototype._write=function(ce,W,A){A(new f("_write()"))},M.prototype._writev=null,M.prototype.end=function(ce,W,A){var Q=this._writableState;return typeof ce=="function"?(A=ce,ce=null,W=null):typeof W=="function"&&(A=W,W=null),ce!=null&&this.write(ce,W),Q.corked&&(Q.corked=1,this.uncork()),Q.ending||oe(this,Q,A),this},Object.defineProperty(M.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function re(ce){return ce.ending&&ce.length===0&&ce.bufferedRequest===null&&!ce.finished&&!ce.writing}function Z(ce,W){ce._final(function(A){W.pendingcb--,A&&x(ce,A),W.prefinished=!0,ce.emit("prefinish"),ne(ce,W)})}function C(ce,W){!W.prefinished&&!W.finalCalled&&(typeof ce._final=="function"&&!W.destroyed?(W.pendingcb++,W.finalCalled=!0,nt.nextTick(Z,ce,W)):(W.prefinished=!0,ce.emit("prefinish")))}function ne(ce,W){var A=re(W);if(A&&(C(ce,W),W.pendingcb===0&&(W.finished=!0,ce.emit("finish"),W.autoDestroy))){var Q=ce._readableState;(!Q||Q.autoDestroy&&Q.endEmitted)&&ce.destroy()}return A}function oe(ce,W,A){W.ending=!0,ne(ce,W),A&&(W.finished?nt.nextTick(A):ce.once("finish",A)),W.ended=!0,ce.writable=!1}function ue(ce,W,A){var Q=ce.entry;for(ce.entry=null;Q;){var z=Q.callback;W.pendingcb--,z(A),Q=Q.next}W.corkedRequestsFree.next=ce}return Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(W){!this._writableState||(this._writableState.destroyed=W)}}),M.prototype.destroy=c.destroy,M.prototype._undestroy=c.undestroy,M.prototype._destroy=function(ce,W){W(ce)},gh}var mh,Tg;function la(){if(Tg)return mh;Tg=1;var t=Object.keys||function(u){var l=[];for(var h in u)l.push(h);return l};mh=a;var e=JR(),n=GR();yo(a,e);for(var r=t(n.prototype),i=0;i<r.length;i++){var o=r[i];a.prototype[o]||(a.prototype[o]=n.prototype[o])}function a(u){if(!(this instanceof a))return new a(u);e.call(this,u),n.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",s)))}Object.defineProperty(a.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(a.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(a.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s(){this._writableState.ended||nt.nextTick(c,this)}function c(u){u.end()}return Object.defineProperty(a.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(l){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=l,this._writableState.destroyed=l)}}),mh}var Rh={},Sc={exports:{}},Sg;function RO(){return Sg||(Sg=1,function(t,e){var n=Mu(),r=n.Buffer;function i(a,s){for(var c in a)s[c]=a[c]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=o);function o(a,s,c){return r(a,s,c)}i(r,o),o.from=function(a,s,c){if(typeof a=="number")throw new TypeError("Argument must not be a number");return r(a,s,c)},o.alloc=function(a,s,c){if(typeof a!="number")throw new TypeError("Argument must be a number");var u=r(a);return s!==void 0?typeof c=="string"?u.fill(s,c):u.fill(s):u.fill(0),u},o.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}}(Sc,Sc.exports)),Sc.exports}var Dg;function vd(){if(Dg)return Rh;Dg=1;var t=RO().Buffer,e=t.isEncoding||function(R){switch(R=""+R,R&&R.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 n(R){if(!R)return"utf8";for(var m;;)switch(R){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 R;default:if(m)return;R=(""+R).toLowerCase(),m=!0}}function r(R){var m=n(R);if(typeof m!="string"&&(t.isEncoding===e||!e(R)))throw new Error("Unknown encoding: "+R);return m||R}Rh.StringDecoder=i;function i(R){this.encoding=r(R);var m;switch(this.encoding){case"utf16le":this.text=h,this.end=d,m=4;break;case"utf8":this.fillLast=c,m=4;break;case"base64":this.text=f,this.end=p,m=3;break;default:this.write=g,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(m)}i.prototype.write=function(R){if(R.length===0)return"";var m,v;if(this.lastNeed){if(m=this.fillLast(R),m===void 0)return"";v=this.lastNeed,this.lastNeed=0}else v=0;return v<R.length?m?m+this.text(R,v):this.text(R,v):m||""},i.prototype.end=l,i.prototype.text=u,i.prototype.fillLast=function(R){if(this.lastNeed<=R.length)return R.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);R.copy(this.lastChar,this.lastTotal-this.lastNeed,0,R.length),this.lastNeed-=R.length};function o(R){return R<=127?0:R>>5===6?2:R>>4===14?3:R>>3===30?4:R>>6===2?-1:-2}function a(R,m,v){var x=m.length-1;if(x<v)return 0;var O=o(m[x]);return O>=0?(O>0&&(R.lastNeed=O-1),O):--x<v||O===-2?0:(O=o(m[x]),O>=0?(O>0&&(R.lastNeed=O-2),O):--x<v||O===-2?0:(O=o(m[x]),O>=0?(O>0&&(O===2?O=0:R.lastNeed=O-3),O):0))}function s(R,m,v){if((m[0]&192)!==128)return R.lastNeed=0,"\uFFFD";if(R.lastNeed>1&&m.length>1){if((m[1]&192)!==128)return R.lastNeed=1,"\uFFFD";if(R.lastNeed>2&&m.length>2&&(m[2]&192)!==128)return R.lastNeed=2,"\uFFFD"}}function c(R){var m=this.lastTotal-this.lastNeed,v=s(this,R);if(v!==void 0)return v;if(this.lastNeed<=R.length)return R.copy(this.lastChar,m,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);R.copy(this.lastChar,m,0,R.length),this.lastNeed-=R.length}function u(R,m){var v=a(this,R,m);if(!this.lastNeed)return R.toString("utf8",m);this.lastTotal=v;var x=R.length-(v-this.lastNeed);return R.copy(this.lastChar,0,x),R.toString("utf8",m,x)}function l(R){var m=R&&R.length?this.write(R):"";return this.lastNeed?m+"\uFFFD":m}function h(R,m){if((R.length-m)%2===0){var v=R.toString("utf16le",m);if(v){var x=v.charCodeAt(v.length-1);if(x>=55296&&x<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=R[R.length-2],this.lastChar[1]=R[R.length-1],v.slice(0,-1)}return v}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=R[R.length-1],R.toString("utf16le",m,R.length-1)}function d(R){var m=R&&R.length?this.write(R):"";if(this.lastNeed){var v=this.lastTotal-this.lastNeed;return m+this.lastChar.toString("utf16le",0,v)}return m}function f(R,m){var v=(R.length-m)%3;return v===0?R.toString("base64",m):(this.lastNeed=3-v,this.lastTotal=3,v===1?this.lastChar[0]=R[R.length-1]:(this.lastChar[0]=R[R.length-2],this.lastChar[1]=R[R.length-1]),R.toString("base64",m,R.length-v))}function p(R){var m=R&&R.length?this.write(R):"";return this.lastNeed?m+this.lastChar.toString("base64",0,3-this.lastNeed):m}function g(R){return R.toString(this.encoding)}function y(R){return R&&R.length?this.write(R):""}return Rh}var yh,Og;function uf(){if(Og)return yh;Og=1;var t=Da().codes.ERR_STREAM_PREMATURE_CLOSE;function e(o){var a=!1;return function(){if(!a){a=!0;for(var s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];o.apply(this,c)}}}function n(){}function r(o){return o.setHeader&&typeof o.abort=="function"}function i(o,a,s){if(typeof a=="function")return i(o,null,a);a||(a={}),s=e(s||n);var c=a.readable||a.readable!==!1&&o.readable,u=a.writable||a.writable!==!1&&o.writable,l=function(){o.writable||d()},h=o._writableState&&o._writableState.finished,d=function(){u=!1,h=!0,c||s.call(o)},f=o._readableState&&o._readableState.endEmitted,p=function(){c=!1,f=!0,u||s.call(o)},g=function(v){s.call(o,v)},y=function(){var v;if(c&&!f)return(!o._readableState||!o._readableState.ended)&&(v=new t),s.call(o,v);if(u&&!h)return(!o._writableState||!o._writableState.ended)&&(v=new t),s.call(o,v)},R=function(){o.req.on("finish",d)};return r(o)?(o.on("complete",d),o.on("abort",y),o.req?R():o.on("request",R)):u&&!o._writableState&&(o.on("end",l),o.on("close",l)),o.on("end",p),o.on("finish",d),a.error!==!1&&o.on("error",g),o.on("close",y),function(){o.removeListener("complete",d),o.removeListener("abort",y),o.removeListener("request",R),o.req&&o.req.removeListener("finish",d),o.removeListener("end",l),o.removeListener("close",l),o.removeListener("finish",d),o.removeListener("end",p),o.removeListener("error",g),o.removeListener("close",y)}}return yh=i,yh}var vh,_g;function yO(){if(_g)return vh;_g=1;var t;function e(R,m,v){return m in R?Object.defineProperty(R,m,{value:v,enumerable:!0,configurable:!0,writable:!0}):R[m]=v,R}var n=uf(),r=Symbol("lastResolve"),i=Symbol("lastReject"),o=Symbol("error"),a=Symbol("ended"),s=Symbol("lastPromise"),c=Symbol("handlePromise"),u=Symbol("stream");function l(R,m){return{value:R,done:m}}function h(R){var m=R[r];if(m!==null){var v=R[u].read();v!==null&&(R[s]=null,R[r]=null,R[i]=null,m(l(v,!1)))}}function d(R){nt.nextTick(h,R)}function f(R,m){return function(v,x){R.then(function(){if(m[a]){v(l(void 0,!0));return}m[c](v,x)},x)}}var p=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((t={get stream(){return this[u]},next:function(){var m=this,v=this[o];if(v!==null)return Promise.reject(v);if(this[a])return Promise.resolve(l(void 0,!0));if(this[u].destroyed)return new Promise(function(N,M){nt.nextTick(function(){m[o]?M(m[o]):N(l(void 0,!0))})});var x=this[s],O;if(x)O=new Promise(f(x,this));else{var E=this[u].read();if(E!==null)return Promise.resolve(l(E,!1));O=new Promise(this[c])}return this[s]=O,O}},e(t,Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var m=this;return new Promise(function(v,x){m[u].destroy(null,function(O){if(O){x(O);return}v(l(void 0,!0))})})}),t),p),y=function(m){var v,x=Object.create(g,(v={},e(v,u,{value:m,writable:!0}),e(v,r,{value:null,writable:!0}),e(v,i,{value:null,writable:!0}),e(v,o,{value:null,writable:!0}),e(v,a,{value:m._readableState.endEmitted,writable:!0}),e(v,c,{value:function(E,N){var M=x[u].read();M?(x[s]=null,x[r]=null,x[i]=null,E(l(M,!1))):(x[r]=E,x[i]=N)},writable:!0}),v));return x[s]=null,n(m,function(O){if(O&&O.code!=="ERR_STREAM_PREMATURE_CLOSE"){var E=x[i];E!==null&&(x[s]=null,x[r]=null,x[i]=null,E(O)),x[o]=O;return}var N=x[r];N!==null&&(x[s]=null,x[r]=null,x[i]=null,N(l(void 0,!0))),x[a]=!0}),m.on("readable",d.bind(null,x)),x};return vh=y,vh}var bh,Eg;function vO(){return Eg||(Eg=1,bh=function(){throw new Error("Readable.from is not available in the browser")}),bh}var xh,Ig;function JR(){if(Ig)return xh;Ig=1,xh=_;var t;_.ReadableState=M,of.EventEmitter;var e=function(j,ge){return j.listeners(ge).length},n=XR(),r=Mu().Buffer,i=Br.Uint8Array||function(){};function o(H){return r.from(H)}function a(H){return r.isBuffer(H)||H instanceof i}var s=QR(),c;s&&s.debuglog?c=s.debuglog("stream"):c=function(){};var u=gO(),l=KR(),h=HR(),d=h.getHighWaterMark,f=Da().codes,p=f.ERR_INVALID_ARG_TYPE,g=f.ERR_STREAM_PUSH_AFTER_EOF,y=f.ERR_METHOD_NOT_IMPLEMENTED,R=f.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,m,v,x;yo(_,n);var O=l.errorOrDestroy,E=["error","close","destroy","pause","resume"];function N(H,j,ge){if(typeof H.prependListener=="function")return H.prependListener(j,ge);!H._events||!H._events[j]?H.on(j,ge):Array.isArray(H._events[j])?H._events[j].unshift(ge):H._events[j]=[ge,H._events[j]]}function M(H,j,ge){t=t||la(),H=H||{},typeof ge!="boolean"&&(ge=j instanceof t),this.objectMode=!!H.objectMode,ge&&(this.objectMode=this.objectMode||!!H.readableObjectMode),this.highWaterMark=d(this,H,"readableHighWaterMark",ge),this.buffer=new u,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=H.emitClose!==!1,this.autoDestroy=!!H.autoDestroy,this.destroyed=!1,this.defaultEncoding=H.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,H.encoding&&(m||(m=vd().StringDecoder),this.decoder=new m(H.encoding),this.encoding=H.encoding)}function _(H){if(t=t||la(),!(this instanceof _))return new _(H);var j=this instanceof t;this._readableState=new M(H,this,j),this.readable=!0,H&&(typeof H.read=="function"&&(this._read=H.read),typeof H.destroy=="function"&&(this._destroy=H.destroy)),n.call(this)}Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(j){!this._readableState||(this._readableState.destroyed=j)}}),_.prototype.destroy=l.destroy,_.prototype._undestroy=l.undestroy,_.prototype._destroy=function(H,j){j(H)},_.prototype.push=function(H,j){var ge=this._readableState,D;return ge.objectMode?D=!0:typeof H=="string"&&(j=j||ge.defaultEncoding,j!==ge.encoding&&(H=r.from(H,j),j=""),D=!0),B(this,H,j,!1,D)},_.prototype.unshift=function(H){return B(this,H,null,!0,!1)};function B(H,j,ge,D,ie){c("readableAddChunk",j);var L=H._readableState;if(j===null)L.reading=!1,U(H,L);else{var w;if(ie||(w=T(L,j)),w)O(H,w);else if(L.objectMode||j&&j.length>0)if(typeof j!="string"&&!L.objectMode&&Object.getPrototypeOf(j)!==r.prototype&&(j=o(j)),D)L.endEmitted?O(H,new R):q(H,L,j,!0);else if(L.ended)O(H,new g);else{if(L.destroyed)return!1;L.reading=!1,L.decoder&&!ge?(j=L.decoder.write(j),L.objectMode||j.length!==0?q(H,L,j,!1):k(H,L)):q(H,L,j,!1)}else D||(L.reading=!1,k(H,L))}return!L.ended&&(L.length<L.highWaterMark||L.length===0)}function q(H,j,ge,D){j.flowing&&j.length===0&&!j.sync?(j.awaitDrain=0,H.emit("data",ge)):(j.length+=j.objectMode?1:ge.length,D?j.buffer.unshift(ge):j.buffer.push(ge),j.needReadable&&X(H)),k(H,j)}function T(H,j){var ge;return!a(j)&&typeof j!="string"&&j!==void 0&&!H.objectMode&&(ge=new p("chunk",["string","Buffer","Uint8Array"],j)),ge}_.prototype.isPaused=function(){return this._readableState.flowing===!1},_.prototype.setEncoding=function(H){m||(m=vd().StringDecoder);var j=new m(H);this._readableState.decoder=j,this._readableState.encoding=this._readableState.decoder.encoding;for(var ge=this._readableState.buffer.head,D="";ge!==null;)D+=j.write(ge.data),ge=ge.next;return this._readableState.buffer.clear(),D!==""&&this._readableState.buffer.push(D),this._readableState.length=D.length,this};var I=1073741824;function b(H){return H>=I?H=I:(H--,H|=H>>>1,H|=H>>>2,H|=H>>>4,H|=H>>>8,H|=H>>>16,H++),H}function P(H,j){return H<=0||j.length===0&&j.ended?0:j.objectMode?1:H!==H?j.flowing&&j.length?j.buffer.head.data.length:j.length:(H>j.highWaterMark&&(j.highWaterMark=b(H)),H<=j.length?H:j.ended?j.length:(j.needReadable=!0,0))}_.prototype.read=function(H){c("read",H),H=parseInt(H,10);var j=this._readableState,ge=H;if(H!==0&&(j.emittedReadable=!1),H===0&&j.needReadable&&((j.highWaterMark!==0?j.length>=j.highWaterMark:j.length>0)||j.ended))return c("read: emitReadable",j.length,j.ended),j.length===0&&j.ended?A(this):X(this),null;if(H=P(H,j),H===0&&j.ended)return j.length===0&&A(this),null;var D=j.needReadable;c("need readable",D),(j.length===0||j.length-H<j.highWaterMark)&&(D=!0,c("length less than watermark",D)),j.ended||j.reading?(D=!1,c("reading or ended",D)):D&&(c("do read"),j.reading=!0,j.sync=!0,j.length===0&&(j.needReadable=!0),this._read(j.highWaterMark),j.sync=!1,j.reading||(H=P(ge,j)));var ie;return H>0?ie=W(H,j):ie=null,ie===null?(j.needReadable=j.length<=j.highWaterMark,H=0):(j.length-=H,j.awaitDrain=0),j.length===0&&(j.ended||(j.needReadable=!0),ge!==H&&j.ended&&A(this)),ie!==null&&this.emit("data",ie),ie};function U(H,j){if(c("onEofChunk"),!j.ended){if(j.decoder){var ge=j.decoder.end();ge&&ge.length&&(j.buffer.push(ge),j.length+=j.objectMode?1:ge.length)}j.ended=!0,j.sync?X(H):(j.needReadable=!1,j.emittedReadable||(j.emittedReadable=!0,V(H)))}}function X(H){var j=H._readableState;c("emitReadable",j.needReadable,j.emittedReadable),j.needReadable=!1,j.emittedReadable||(c("emitReadable",j.flowing),j.emittedReadable=!0,nt.nextTick(V,H))}function V(H){var j=H._readableState;c("emitReadable_",j.destroyed,j.length,j.ended),!j.destroyed&&(j.length||j.ended)&&(H.emit("readable"),j.emittedReadable=!1),j.needReadable=!j.flowing&&!j.ended&&j.length<=j.highWaterMark,ce(H)}function k(H,j){j.readingMore||(j.readingMore=!0,nt.nextTick(re,H,j))}function re(H,j){for(;!j.reading&&!j.ended&&(j.length<j.highWaterMark||j.flowing&&j.length===0);){var ge=j.length;if(c("maybeReadMore read 0"),H.read(0),ge===j.length)break}j.readingMore=!1}_.prototype._read=function(H){O(this,new y("_read()"))},_.prototype.pipe=function(H,j){var ge=this,D=this._readableState;switch(D.pipesCount){case 0:D.pipes=H;break;case 1:D.pipes=[D.pipes,H];break;default:D.pipes.push(H);break}D.pipesCount+=1,c("pipe count=%d opts=%j",D.pipesCount,j);var ie=(!j||j.end!==!1)&&H!==nt.stdout&&H!==nt.stderr,L=ie?S:he;D.endEmitted?nt.nextTick(L):ge.once("end",L),H.on("unpipe",w);function w(xe,_e){c("onunpipe"),xe===ge&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,ee())}function S(){c("onend"),H.end()}var F=Z(ge);H.on("drain",F);var G=!1;function ee(){c("cleanup"),H.removeListener("close",te),H.removeListener("finish",ae),H.removeListener("drain",F),H.removeListener("error",J),H.removeListener("unpipe",w),ge.removeListener("end",S),ge.removeListener("end",he),ge.removeListener("data",K),G=!0,D.awaitDrain&&(!H._writableState||H._writableState.needDrain)&&F()}ge.on("data",K);function K(xe){c("ondata");var _e=H.write(xe);c("dest.write",_e),_e===!1&&((D.pipesCount===1&&D.pipes===H||D.pipesCount>1&&z(D.pipes,H)!==-1)&&!G&&(c("false write response, pause",D.awaitDrain),D.awaitDrain++),ge.pause())}function J(xe){c("onerror",xe),he(),H.removeListener("error",J),e(H,"error")===0&&O(H,xe)}N(H,"error",J);function te(){H.removeListener("finish",ae),he()}H.once("close",te);function ae(){c("onfinish"),H.removeListener("close",te),he()}H.once("finish",ae);function he(){c("unpipe"),ge.unpipe(H)}return H.emit("pipe",ge),D.flowing||(c("pipe resume"),ge.resume()),H};function Z(H){return function(){var ge=H._readableState;c("pipeOnDrain",ge.awaitDrain),ge.awaitDrain&&ge.awaitDrain--,ge.awaitDrain===0&&e(H,"data")&&(ge.flowing=!0,ce(H))}}_.prototype.unpipe=function(H){var j=this._readableState,ge={hasUnpiped:!1};if(j.pipesCount===0)return this;if(j.pipesCount===1)return H&&H!==j.pipes?this:(H||(H=j.pipes),j.pipes=null,j.pipesCount=0,j.flowing=!1,H&&H.emit("unpipe",this,ge),this);if(!H){var D=j.pipes,ie=j.pipesCount;j.pipes=null,j.pipesCount=0,j.flowing=!1;for(var L=0;L<ie;L++)D[L].emit("unpipe",this,{hasUnpiped:!1});return this}var w=z(j.pipes,H);return w===-1?this:(j.pipes.splice(w,1),j.pipesCount-=1,j.pipesCount===1&&(j.pipes=j.pipes[0]),H.emit("unpipe",this,ge),this)},_.prototype.on=function(H,j){var ge=n.prototype.on.call(this,H,j),D=this._readableState;return H==="data"?(D.readableListening=this.listenerCount("readable")>0,D.flowing!==!1&&this.resume()):H==="readable"&&!D.endEmitted&&!D.readableListening&&(D.readableListening=D.needReadable=!0,D.flowing=!1,D.emittedReadable=!1,c("on readable",D.length,D.reading),D.length?X(this):D.reading||nt.nextTick(ne,this)),ge},_.prototype.addListener=_.prototype.on,_.prototype.removeListener=function(H,j){var ge=n.prototype.removeListener.call(this,H,j);return H==="readable"&&nt.nextTick(C,this),ge},_.prototype.removeAllListeners=function(H){var j=n.prototype.removeAllListeners.apply(this,arguments);return(H==="readable"||H===void 0)&&nt.nextTick(C,this),j};function C(H){var j=H._readableState;j.readableListening=H.listenerCount("readable")>0,j.resumeScheduled&&!j.paused?j.flowing=!0:H.listenerCount("data")>0&&H.resume()}function ne(H){c("readable nexttick read 0"),H.read(0)}_.prototype.resume=function(){var H=this._readableState;return H.flowing||(c("resume"),H.flowing=!H.readableListening,oe(this,H)),H.paused=!1,this};function oe(H,j){j.resumeScheduled||(j.resumeScheduled=!0,nt.nextTick(ue,H,j))}function ue(H,j){c("resume",j.reading),j.reading||H.read(0),j.resumeScheduled=!1,H.emit("resume"),ce(H),j.flowing&&!j.reading&&H.read(0)}_.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ce(H){var j=H._readableState;for(c("flow",j.flowing);j.flowing&&H.read()!==null;);}_.prototype.wrap=function(H){var j=this,ge=this._readableState,D=!1;H.on("end",function(){if(c("wrapped end"),ge.decoder&&!ge.ended){var w=ge.decoder.end();w&&w.length&&j.push(w)}j.push(null)}),H.on("data",function(w){if(c("wrapped data"),ge.decoder&&(w=ge.decoder.write(w)),!(ge.objectMode&&w==null)&&!(!ge.objectMode&&(!w||!w.length))){var S=j.push(w);S||(D=!0,H.pause())}});for(var ie in H)this[ie]===void 0&&typeof H[ie]=="function"&&(this[ie]=function(S){return function(){return H[S].apply(H,arguments)}}(ie));for(var L=0;L<E.length;L++)H.on(E[L],this.emit.bind(this,E[L]));return this._read=function(w){c("wrapped _read",w),D&&(D=!1,H.resume())},this},typeof Symbol=="function"&&(_.prototype[Symbol.asyncIterator]=function(){return v===void 0&&(v=yO()),v(this)}),Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(_.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(_.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(j){this._readableState&&(this._readableState.flowing=j)}}),_._fromList=W,Object.defineProperty(_.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function W(H,j){if(j.length===0)return null;var ge;return j.objectMode?ge=j.buffer.shift():!H||H>=j.length?(j.decoder?ge=j.buffer.join(""):j.buffer.length===1?ge=j.buffer.first():ge=j.buffer.concat(j.length),j.buffer.clear()):ge=j.buffer.consume(H,j.decoder),ge}function A(H){var j=H._readableState;c("endReadable",j.endEmitted),j.endEmitted||(j.ended=!0,nt.nextTick(Q,j,H))}function Q(H,j){if(c("endReadableNT",H.endEmitted,H.length),!H.endEmitted&&H.length===0&&(H.endEmitted=!0,j.readable=!1,j.emit("end"),H.autoDestroy)){var ge=j._writableState;(!ge||ge.autoDestroy&&ge.finished)&&j.destroy()}}typeof Symbol=="function"&&(_.from=function(H,j){return x===void 0&&(x=vO()),x(_,H,j)});function z(H,j){for(var ge=0,D=H.length;ge<D;ge++)if(H[ge]===j)return ge;return-1}return xh}var wh,Ng;function zR(){if(Ng)return wh;Ng=1,wh=s;var t=Da().codes,e=t.ERR_METHOD_NOT_IMPLEMENTED,n=t.ERR_MULTIPLE_CALLBACK,r=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=t.ERR_TRANSFORM_WITH_LENGTH_0,o=la();yo(s,o);function a(l,h){var d=this._transformState;d.transforming=!1;var f=d.writecb;if(f===null)return this.emit("error",new n);d.writechunk=null,d.writecb=null,h!=null&&this.push(h),f(l);var p=this._readableState;p.reading=!1,(p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}function s(l){if(!(this instanceof s))return new s(l);o.call(this,l),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,l&&(typeof l.transform=="function"&&(this._transform=l.transform),typeof l.flush=="function"&&(this._flush=l.flush)),this.on("prefinish",c)}function c(){var l=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(h,d){u(l,h,d)}):u(this,null,null)}s.prototype.push=function(l,h){return this._transformState.needTransform=!1,o.prototype.push.call(this,l,h)},s.prototype._transform=function(l,h,d){d(new e("_transform()"))},s.prototype._write=function(l,h,d){var f=this._transformState;if(f.writecb=d,f.writechunk=l,f.writeencoding=h,!f.transforming){var p=this._readableState;(f.needTransform||p.needReadable||p.length<p.highWaterMark)&&this._read(p.highWaterMark)}},s.prototype._read=function(l){var h=this._transformState;h.writechunk!==null&&!h.transforming?(h.transforming=!0,this._transform(h.writechunk,h.writeencoding,h.afterTransform)):h.needTransform=!0},s.prototype._destroy=function(l,h){o.prototype._destroy.call(this,l,function(d){h(d)})};function u(l,h,d){if(h)return l.emit("error",h);if(d!=null&&l.push(d),l._writableState.length)throw new i;if(l._transformState.transforming)throw new r;return l.push(null)}return wh}var Th,Fg;function bO(){if(Fg)return Th;Fg=1,Th=e;var t=zR();yo(e,t);function e(n){if(!(this instanceof e))return new e(n);t.call(this,n)}return e.prototype._transform=function(n,r,i){i(null,n)},Th}var Sh,Pg;function xO(){if(Pg)return Sh;Pg=1;var t;function e(d){var f=!1;return function(){f||(f=!0,d.apply(void 0,arguments))}}var n=Da().codes,r=n.ERR_MISSING_ARGS,i=n.ERR_STREAM_DESTROYED;function o(d){if(d)throw d}function a(d){return d.setHeader&&typeof d.abort=="function"}function s(d,f,p,g){g=e(g);var y=!1;d.on("close",function(){y=!0}),t===void 0&&(t=uf()),t(d,{readable:f,writable:p},function(m){if(m)return g(m);y=!0,g()});var R=!1;return function(m){if(!y&&!R){if(R=!0,a(d))return d.abort();if(typeof d.destroy=="function")return d.destroy();g(m||new i("pipe"))}}}function c(d){d()}function u(d,f){return d.pipe(f)}function l(d){return!d.length||typeof d[d.length-1]!="function"?o:d.pop()}function h(){for(var d=arguments.length,f=new Array(d),p=0;p<d;p++)f[p]=arguments[p];var g=l(f);if(Array.isArray(f[0])&&(f=f[0]),f.length<2)throw new r("streams");var y,R=f.map(function(m,v){var x=v<f.length-1,O=v>0;return s(m,x,O,function(E){y||(y=E),E&&R.forEach(c),!x&&(R.forEach(c),g(y))})});return f.reduce(u)}return Sh=h,Sh}var lf=Tr,hf=of.EventEmitter,wO=yo;wO(Tr,hf);Tr.Readable=JR();Tr.Writable=GR();Tr.Duplex=la();Tr.Transform=zR();Tr.PassThrough=bO();Tr.finished=uf();Tr.pipeline=xO();Tr.Stream=Tr;function Tr(){hf.call(this)}Tr.prototype.pipe=function(t,e){var n=this;function r(l){t.writable&&t.write(l)===!1&&n.pause&&n.pause()}n.on("data",r);function i(){n.readable&&n.resume&&n.resume()}t.on("drain",i),!t._isStdio&&(!e||e.end!==!1)&&(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,t.end())}function s(){o||(o=!0,typeof t.destroy=="function"&&t.destroy())}function c(l){if(u(),hf.listenerCount(this,"error")===0)throw l}n.on("error",c),t.on("error",c);function u(){n.removeListener("data",r),t.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",c),t.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),t.removeListener("close",u)}return n.on("end",u),n.on("close",u),t.on("close",u),t.emit("pipe",n),t};(function(t){(function(e){e.parser=function(W,A){return new r(W,A)},e.SAXParser=r,e.SAXStream=l,e.createStream=u,e.MAX_BUFFER_LENGTH=64*1024;var n=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function r(W,A){if(!(this instanceof r))return new r(W,A);var Q=this;o(Q),Q.q=Q.c="",Q.bufferCheckPosition=e.MAX_BUFFER_LENGTH,Q.opt=A||{},Q.opt.lowercase=Q.opt.lowercase||Q.opt.lowercasetags,Q.looseCase=Q.opt.lowercase?"toLowerCase":"toUpperCase",Q.tags=[],Q.closed=Q.closedRoot=Q.sawRoot=!1,Q.tag=Q.error=null,Q.strict=!!W,Q.noscript=!!(W||Q.opt.noscript),Q.state=_.BEGIN,Q.strictEntities=Q.opt.strictEntities,Q.ENTITIES=Q.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),Q.attribList=[],Q.opt.xmlns&&(Q.ns=Object.create(g)),Q.trackPosition=Q.opt.position!==!1,Q.trackPosition&&(Q.position=Q.line=Q.column=0),q(Q,"onready")}Object.create||(Object.create=function(W){function A(){}A.prototype=W;var Q=new A;return Q}),Object.keys||(Object.keys=function(W){var A=[];for(var Q in W)W.hasOwnProperty(Q)&&A.push(Q);return A});function i(W){for(var A=Math.max(e.MAX_BUFFER_LENGTH,10),Q=0,z=0,H=n.length;z<H;z++){var j=W[n[z]].length;if(j>A)switch(n[z]){case"textNode":I(W);break;case"cdata":T(W,"oncdata",W.cdata),W.cdata="";break;case"script":T(W,"onscript",W.script),W.script="";break;default:P(W,"Max buffer length exceeded: "+n[z])}Q=Math.max(Q,j)}var ge=e.MAX_BUFFER_LENGTH-Q;W.bufferCheckPosition=ge+W.position}function o(W){for(var A=0,Q=n.length;A<Q;A++)W[n[A]]=""}function a(W){I(W),W.cdata!==""&&(T(W,"oncdata",W.cdata),W.cdata=""),W.script!==""&&(T(W,"onscript",W.script),W.script="")}r.prototype={end:function(){U(this)},write:ce,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){a(this)}};var s;try{s=lf.Stream}catch{s=function(){}}var c=e.EVENTS.filter(function(W){return W!=="error"&&W!=="end"});function u(W,A){return new l(W,A)}function l(W,A){if(!(this instanceof l))return new l(W,A);s.apply(this),this._parser=new r(W,A),this.writable=!0,this.readable=!0;var Q=this;this._parser.onend=function(){Q.emit("end")},this._parser.onerror=function(z){Q.emit("error",z),Q._parser.error=null},this._decoder=null,c.forEach(function(z){Object.defineProperty(Q,"on"+z,{get:function(){return Q._parser["on"+z]},set:function(H){if(!H)return Q.removeAllListeners(z),Q._parser["on"+z]=H,H;Q.on(z,H)},enumerable:!0,configurable:!1})})}l.prototype=Object.create(s.prototype,{constructor:{value:l}}),l.prototype.write=function(W){if(typeof Buffer=="function"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(W)){if(!this._decoder){var A=vd().StringDecoder;this._decoder=new A("utf8")}W=this._decoder.write(W)}return this._parser.write(W.toString()),this.emit("data",W),!0},l.prototype.end=function(W){return W&&W.length&&this.write(W),this._parser.end(),!0},l.prototype.on=function(W,A){var Q=this;return!Q._parser["on"+W]&&c.indexOf(W)!==-1&&(Q._parser["on"+W]=function(){var z=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);z.splice(0,0,W),Q.emit.apply(Q,z)}),s.prototype.on.call(Q,W,A)};var h="[CDATA[",d="DOCTYPE",f="http://www.w3.org/XML/1998/namespace",p="http://www.w3.org/2000/xmlns/",g={xml:f,xmlns:p},y=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,R=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,m=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,v=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function x(W){return W===" "||W===`
|
|
`||W==="\r"||W===" "}function O(W){return W==='"'||W==="'"}function E(W){return W===">"||x(W)}function N(W,A){return W.test(A)}function M(W,A){return!N(W,A)}var _=0;e.STATE={BEGIN:_++,BEGIN_WHITESPACE:_++,TEXT:_++,TEXT_ENTITY:_++,OPEN_WAKA:_++,SGML_DECL:_++,SGML_DECL_QUOTED:_++,DOCTYPE:_++,DOCTYPE_QUOTED:_++,DOCTYPE_DTD:_++,DOCTYPE_DTD_QUOTED:_++,COMMENT_STARTING:_++,COMMENT:_++,COMMENT_ENDING:_++,COMMENT_ENDED:_++,CDATA:_++,CDATA_ENDING:_++,CDATA_ENDING_2:_++,PROC_INST:_++,PROC_INST_BODY:_++,PROC_INST_ENDING:_++,OPEN_TAG:_++,OPEN_TAG_SLASH:_++,ATTRIB:_++,ATTRIB_NAME:_++,ATTRIB_NAME_SAW_WHITE:_++,ATTRIB_VALUE:_++,ATTRIB_VALUE_QUOTED:_++,ATTRIB_VALUE_CLOSED:_++,ATTRIB_VALUE_UNQUOTED:_++,ATTRIB_VALUE_ENTITY_Q:_++,ATTRIB_VALUE_ENTITY_U:_++,CLOSE_TAG:_++,CLOSE_TAG_SAW_WHITE:_++,SCRIPT:_++,SCRIPT_ENDING:_++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(W){var A=e.ENTITIES[W],Q=typeof A=="number"?String.fromCharCode(A):A;e.ENTITIES[W]=Q});for(var B in e.STATE)e.STATE[e.STATE[B]]=B;_=e.STATE;function q(W,A,Q){W[A]&&W[A](Q)}function T(W,A,Q){W.textNode&&I(W),q(W,A,Q)}function I(W){W.textNode=b(W.opt,W.textNode),W.textNode&&q(W,"ontext",W.textNode),W.textNode=""}function b(W,A){return W.trim&&(A=A.trim()),W.normalize&&(A=A.replace(/\s+/g," ")),A}function P(W,A){return I(W),W.trackPosition&&(A+=`
|
|
Line: `+W.line+`
|
|
Column: `+W.column+`
|
|
Char: `+W.c),A=new Error(A),W.error=A,q(W,"onerror",A),W}function U(W){return W.sawRoot&&!W.closedRoot&&X(W,"Unclosed root tag"),W.state!==_.BEGIN&&W.state!==_.BEGIN_WHITESPACE&&W.state!==_.TEXT&&P(W,"Unexpected end"),I(W),W.c="",W.closed=!0,q(W,"onend"),r.call(W,W.strict,W.opt),W}function X(W,A){if(typeof W!="object"||!(W instanceof r))throw new Error("bad call to strictFail");W.strict&&P(W,A)}function V(W){W.strict||(W.tagName=W.tagName[W.looseCase]());var A=W.tags[W.tags.length-1]||W,Q=W.tag={name:W.tagName,attributes:{}};W.opt.xmlns&&(Q.ns=A.ns),W.attribList.length=0,T(W,"onopentagstart",Q)}function k(W,A){var Q=W.indexOf(":"),z=Q<0?["",W]:W.split(":"),H=z[0],j=z[1];return A&&W==="xmlns"&&(H="xmlns",j=""),{prefix:H,local:j}}function re(W){if(W.strict||(W.attribName=W.attribName[W.looseCase]()),W.attribList.indexOf(W.attribName)!==-1||W.tag.attributes.hasOwnProperty(W.attribName)){W.attribName=W.attribValue="";return}if(W.opt.xmlns){var A=k(W.attribName,!0),Q=A.prefix,z=A.local;if(Q==="xmlns")if(z==="xml"&&W.attribValue!==f)X(W,"xml: prefix must be bound to "+f+`
|
|
Actual: `+W.attribValue);else if(z==="xmlns"&&W.attribValue!==p)X(W,"xmlns: prefix must be bound to "+p+`
|
|
Actual: `+W.attribValue);else{var H=W.tag,j=W.tags[W.tags.length-1]||W;H.ns===j.ns&&(H.ns=Object.create(j.ns)),H.ns[z]=W.attribValue}W.attribList.push([W.attribName,W.attribValue])}else W.tag.attributes[W.attribName]=W.attribValue,T(W,"onattribute",{name:W.attribName,value:W.attribValue});W.attribName=W.attribValue=""}function Z(W,A){if(W.opt.xmlns){var Q=W.tag,z=k(W.tagName);Q.prefix=z.prefix,Q.local=z.local,Q.uri=Q.ns[z.prefix]||"",Q.prefix&&!Q.uri&&(X(W,"Unbound namespace prefix: "+JSON.stringify(W.tagName)),Q.uri=z.prefix);var H=W.tags[W.tags.length-1]||W;Q.ns&&H.ns!==Q.ns&&Object.keys(Q.ns).forEach(function(K){T(W,"onopennamespace",{prefix:K,uri:Q.ns[K]})});for(var j=0,ge=W.attribList.length;j<ge;j++){var D=W.attribList[j],ie=D[0],L=D[1],w=k(ie,!0),S=w.prefix,F=w.local,G=S===""?"":Q.ns[S]||"",ee={name:ie,value:L,prefix:S,local:F,uri:G};S&&S!=="xmlns"&&!G&&(X(W,"Unbound namespace prefix: "+JSON.stringify(S)),ee.uri=S),W.tag.attributes[ie]=ee,T(W,"onattribute",ee)}W.attribList.length=0}W.tag.isSelfClosing=!!A,W.sawRoot=!0,W.tags.push(W.tag),T(W,"onopentag",W.tag),A||(!W.noscript&&W.tagName.toLowerCase()==="script"?W.state=_.SCRIPT:W.state=_.TEXT,W.tag=null,W.tagName=""),W.attribName=W.attribValue="",W.attribList.length=0}function C(W){if(!W.tagName){X(W,"Weird empty close tag."),W.textNode+="</>",W.state=_.TEXT;return}if(W.script){if(W.tagName!=="script"){W.script+="</"+W.tagName+">",W.tagName="",W.state=_.SCRIPT;return}T(W,"onscript",W.script),W.script=""}var A=W.tags.length,Q=W.tagName;W.strict||(Q=Q[W.looseCase]());for(var z=Q;A--;){var H=W.tags[A];if(H.name!==z)X(W,"Unexpected close tag");else break}if(A<0){X(W,"Unmatched closing tag: "+W.tagName),W.textNode+="</"+W.tagName+">",W.state=_.TEXT;return}W.tagName=Q;for(var j=W.tags.length;j-- >A;){var ge=W.tag=W.tags.pop();W.tagName=W.tag.name,T(W,"onclosetag",W.tagName);var D={};for(var ie in ge.ns)D[ie]=ge.ns[ie];var L=W.tags[W.tags.length-1]||W;W.opt.xmlns&&ge.ns!==L.ns&&Object.keys(ge.ns).forEach(function(w){var S=ge.ns[w];T(W,"onclosenamespace",{prefix:w,uri:S})})}A===0&&(W.closedRoot=!0),W.tagName=W.attribValue=W.attribName="",W.attribList.length=0,W.state=_.TEXT}function ne(W){var A=W.entity,Q=A.toLowerCase(),z,H="";return W.ENTITIES[A]?W.ENTITIES[A]:W.ENTITIES[Q]?W.ENTITIES[Q]:(A=Q,A.charAt(0)==="#"&&(A.charAt(1)==="x"?(A=A.slice(2),z=parseInt(A,16),H=z.toString(16)):(A=A.slice(1),z=parseInt(A,10),H=z.toString(10))),A=A.replace(/^0+/,""),isNaN(z)||H.toLowerCase()!==A?(X(W,"Invalid character entity"),"&"+W.entity+";"):String.fromCodePoint(z))}function oe(W,A){A==="<"?(W.state=_.OPEN_WAKA,W.startTagPosition=W.position):x(A)||(X(W,"Non-whitespace before first tag."),W.textNode=A,W.state=_.TEXT)}function ue(W,A){var Q="";return A<W.length&&(Q=W.charAt(A)),Q}function ce(W){var A=this;if(this.error)throw this.error;if(A.closed)return P(A,"Cannot write after close. Assign an onready handler.");if(W===null)return U(A);typeof W=="object"&&(W=W.toString());for(var Q=0,z="";z=ue(W,Q++),A.c=z,!!z;)switch(A.trackPosition&&(A.position++,z===`
|
|
`?(A.line++,A.column=0):A.column++),A.state){case _.BEGIN:if(A.state=_.BEGIN_WHITESPACE,z==="\uFEFF")continue;oe(A,z);continue;case _.BEGIN_WHITESPACE:oe(A,z);continue;case _.TEXT:if(A.sawRoot&&!A.closedRoot){for(var H=Q-1;z&&z!=="<"&&z!=="&";)z=ue(W,Q++),z&&A.trackPosition&&(A.position++,z===`
|
|
`?(A.line++,A.column=0):A.column++);A.textNode+=W.substring(H,Q-1)}z==="<"&&!(A.sawRoot&&A.closedRoot&&!A.strict)?(A.state=_.OPEN_WAKA,A.startTagPosition=A.position):(!x(z)&&(!A.sawRoot||A.closedRoot)&&X(A,"Text data outside of root node."),z==="&"?A.state=_.TEXT_ENTITY:A.textNode+=z);continue;case _.SCRIPT:z==="<"?A.state=_.SCRIPT_ENDING:A.script+=z;continue;case _.SCRIPT_ENDING:z==="/"?A.state=_.CLOSE_TAG:(A.script+="<"+z,A.state=_.SCRIPT);continue;case _.OPEN_WAKA:if(z==="!")A.state=_.SGML_DECL,A.sgmlDecl="";else if(!x(z))if(N(y,z))A.state=_.OPEN_TAG,A.tagName=z;else if(z==="/")A.state=_.CLOSE_TAG,A.tagName="";else if(z==="?")A.state=_.PROC_INST,A.procInstName=A.procInstBody="";else{if(X(A,"Unencoded <"),A.startTagPosition+1<A.position){var j=A.position-A.startTagPosition;z=new Array(j).join(" ")+z}A.textNode+="<"+z,A.state=_.TEXT}continue;case _.SGML_DECL:(A.sgmlDecl+z).toUpperCase()===h?(T(A,"onopencdata"),A.state=_.CDATA,A.sgmlDecl="",A.cdata=""):A.sgmlDecl+z==="--"?(A.state=_.COMMENT,A.comment="",A.sgmlDecl=""):(A.sgmlDecl+z).toUpperCase()===d?(A.state=_.DOCTYPE,(A.doctype||A.sawRoot)&&X(A,"Inappropriately located doctype declaration"),A.doctype="",A.sgmlDecl=""):z===">"?(T(A,"onsgmldeclaration",A.sgmlDecl),A.sgmlDecl="",A.state=_.TEXT):(O(z)&&(A.state=_.SGML_DECL_QUOTED),A.sgmlDecl+=z);continue;case _.SGML_DECL_QUOTED:z===A.q&&(A.state=_.SGML_DECL,A.q=""),A.sgmlDecl+=z;continue;case _.DOCTYPE:z===">"?(A.state=_.TEXT,T(A,"ondoctype",A.doctype),A.doctype=!0):(A.doctype+=z,z==="["?A.state=_.DOCTYPE_DTD:O(z)&&(A.state=_.DOCTYPE_QUOTED,A.q=z));continue;case _.DOCTYPE_QUOTED:A.doctype+=z,z===A.q&&(A.q="",A.state=_.DOCTYPE);continue;case _.DOCTYPE_DTD:A.doctype+=z,z==="]"?A.state=_.DOCTYPE:O(z)&&(A.state=_.DOCTYPE_DTD_QUOTED,A.q=z);continue;case _.DOCTYPE_DTD_QUOTED:A.doctype+=z,z===A.q&&(A.state=_.DOCTYPE_DTD,A.q="");continue;case _.COMMENT:z==="-"?A.state=_.COMMENT_ENDING:A.comment+=z;continue;case _.COMMENT_ENDING:z==="-"?(A.state=_.COMMENT_ENDED,A.comment=b(A.opt,A.comment),A.comment&&T(A,"oncomment",A.comment),A.comment=""):(A.comment+="-"+z,A.state=_.COMMENT);continue;case _.COMMENT_ENDED:z!==">"?(X(A,"Malformed comment"),A.comment+="--"+z,A.state=_.COMMENT):A.state=_.TEXT;continue;case _.CDATA:z==="]"?A.state=_.CDATA_ENDING:A.cdata+=z;continue;case _.CDATA_ENDING:z==="]"?A.state=_.CDATA_ENDING_2:(A.cdata+="]"+z,A.state=_.CDATA);continue;case _.CDATA_ENDING_2:z===">"?(A.cdata&&T(A,"oncdata",A.cdata),T(A,"onclosecdata"),A.cdata="",A.state=_.TEXT):z==="]"?A.cdata+="]":(A.cdata+="]]"+z,A.state=_.CDATA);continue;case _.PROC_INST:z==="?"?A.state=_.PROC_INST_ENDING:x(z)?A.state=_.PROC_INST_BODY:A.procInstName+=z;continue;case _.PROC_INST_BODY:if(!A.procInstBody&&x(z))continue;z==="?"?A.state=_.PROC_INST_ENDING:A.procInstBody+=z;continue;case _.PROC_INST_ENDING:z===">"?(T(A,"onprocessinginstruction",{name:A.procInstName,body:A.procInstBody}),A.procInstName=A.procInstBody="",A.state=_.TEXT):(A.procInstBody+="?"+z,A.state=_.PROC_INST_BODY);continue;case _.OPEN_TAG:N(R,z)?A.tagName+=z:(V(A),z===">"?Z(A):z==="/"?A.state=_.OPEN_TAG_SLASH:(x(z)||X(A,"Invalid character in tag name"),A.state=_.ATTRIB));continue;case _.OPEN_TAG_SLASH:z===">"?(Z(A,!0),C(A)):(X(A,"Forward-slash in opening tag not followed by >"),A.state=_.ATTRIB);continue;case _.ATTRIB:if(x(z))continue;z===">"?Z(A):z==="/"?A.state=_.OPEN_TAG_SLASH:N(y,z)?(A.attribName=z,A.attribValue="",A.state=_.ATTRIB_NAME):X(A,"Invalid attribute name");continue;case _.ATTRIB_NAME:z==="="?A.state=_.ATTRIB_VALUE:z===">"?(X(A,"Attribute without value"),A.attribValue=A.attribName,re(A),Z(A)):x(z)?A.state=_.ATTRIB_NAME_SAW_WHITE:N(R,z)?A.attribName+=z:X(A,"Invalid attribute name");continue;case _.ATTRIB_NAME_SAW_WHITE:if(z==="=")A.state=_.ATTRIB_VALUE;else{if(x(z))continue;X(A,"Attribute without value"),A.tag.attributes[A.attribName]="",A.attribValue="",T(A,"onattribute",{name:A.attribName,value:""}),A.attribName="",z===">"?Z(A):N(y,z)?(A.attribName=z,A.state=_.ATTRIB_NAME):(X(A,"Invalid attribute name"),A.state=_.ATTRIB)}continue;case _.ATTRIB_VALUE:if(x(z))continue;O(z)?(A.q=z,A.state=_.ATTRIB_VALUE_QUOTED):(X(A,"Unquoted attribute value"),A.state=_.ATTRIB_VALUE_UNQUOTED,A.attribValue=z);continue;case _.ATTRIB_VALUE_QUOTED:if(z!==A.q){z==="&"?A.state=_.ATTRIB_VALUE_ENTITY_Q:A.attribValue+=z;continue}re(A),A.q="",A.state=_.ATTRIB_VALUE_CLOSED;continue;case _.ATTRIB_VALUE_CLOSED:x(z)?A.state=_.ATTRIB:z===">"?Z(A):z==="/"?A.state=_.OPEN_TAG_SLASH:N(y,z)?(X(A,"No whitespace between attributes"),A.attribName=z,A.attribValue="",A.state=_.ATTRIB_NAME):X(A,"Invalid attribute name");continue;case _.ATTRIB_VALUE_UNQUOTED:if(!E(z)){z==="&"?A.state=_.ATTRIB_VALUE_ENTITY_U:A.attribValue+=z;continue}re(A),z===">"?Z(A):A.state=_.ATTRIB;continue;case _.CLOSE_TAG:if(A.tagName)z===">"?C(A):N(R,z)?A.tagName+=z:A.script?(A.script+="</"+A.tagName,A.tagName="",A.state=_.SCRIPT):(x(z)||X(A,"Invalid tagname in closing tag"),A.state=_.CLOSE_TAG_SAW_WHITE);else{if(x(z))continue;M(y,z)?A.script?(A.script+="</"+z,A.state=_.SCRIPT):X(A,"Invalid tagname in closing tag."):A.tagName=z}continue;case _.CLOSE_TAG_SAW_WHITE:if(x(z))continue;z===">"?C(A):X(A,"Invalid characters in closing tag");continue;case _.TEXT_ENTITY:case _.ATTRIB_VALUE_ENTITY_Q:case _.ATTRIB_VALUE_ENTITY_U:var ge,D;switch(A.state){case _.TEXT_ENTITY:ge=_.TEXT,D="textNode";break;case _.ATTRIB_VALUE_ENTITY_Q:ge=_.ATTRIB_VALUE_QUOTED,D="attribValue";break;case _.ATTRIB_VALUE_ENTITY_U:ge=_.ATTRIB_VALUE_UNQUOTED,D="attribValue";break}z===";"?(A[D]+=ne(A),A.entity="",A.state=ge):N(A.entity.length?v:m,z)?A.entity+=z:(X(A,"Invalid character in entity name"),A[D]+="&"+A.entity+z,A.entity="",A.state=ge);continue;default:throw new Error(A,"Unknown state: "+A.state)}return A.position>=A.bufferCheckPosition&&i(A),A}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var W=String.fromCharCode,A=Math.floor,Q=function(){var z=16384,H=[],j,ge,D=-1,ie=arguments.length;if(!ie)return"";for(var L="";++D<ie;){var w=Number(arguments[D]);if(!isFinite(w)||w<0||w>1114111||A(w)!==w)throw RangeError("Invalid code point: "+w);w<=65535?H.push(w):(w-=65536,j=(w>>10)+55296,ge=w%1024+56320,H.push(j,ge)),(D+1===ie||H.length>z)&&(L+=W.apply(null,H),H.length=0)}return L};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Q,configurable:!0,writable:!0}):String.fromCodePoint=Q}()})(t)})(OR);var df={isArray:function(t){return Array.isArray?Array.isArray(t):Object.prototype.toString.call(t)==="[object Array]"}},TO=df.isArray,ff={copyOptions:function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n},ensureFlagExists:function(t,e){(!(t in e)||typeof e[t]!="boolean")&&(e[t]=!1)},ensureSpacesExists:function(t){(!("spaces"in t)||typeof t.spaces!="number"&&typeof t.spaces!="string")&&(t.spaces=0)},ensureAlwaysArrayExists:function(t){(!("alwaysArray"in t)||typeof t.alwaysArray!="boolean"&&!TO(t.alwaysArray))&&(t.alwaysArray=!1)},ensureKeyExists:function(t,e){(!(t+"Key"in e)||typeof e[t+"Key"]!="string")&&(e[t+"Key"]=e.compact?"_"+t:t)},checkFnExists:function(t,e){return t+"Fn"in e}},SO=OR,xt=ff,ia=df.isArray,Te,je;function DO(t){return Te=xt.copyOptions(t),xt.ensureFlagExists("ignoreDeclaration",Te),xt.ensureFlagExists("ignoreInstruction",Te),xt.ensureFlagExists("ignoreAttributes",Te),xt.ensureFlagExists("ignoreText",Te),xt.ensureFlagExists("ignoreComment",Te),xt.ensureFlagExists("ignoreCdata",Te),xt.ensureFlagExists("ignoreDoctype",Te),xt.ensureFlagExists("compact",Te),xt.ensureFlagExists("alwaysChildren",Te),xt.ensureFlagExists("addParent",Te),xt.ensureFlagExists("trim",Te),xt.ensureFlagExists("nativeType",Te),xt.ensureFlagExists("nativeTypeAttributes",Te),xt.ensureFlagExists("sanitize",Te),xt.ensureFlagExists("instructionHasAttributes",Te),xt.ensureFlagExists("captureSpacesBetweenElements",Te),xt.ensureAlwaysArrayExists(Te),xt.ensureKeyExists("declaration",Te),xt.ensureKeyExists("instruction",Te),xt.ensureKeyExists("attributes",Te),xt.ensureKeyExists("text",Te),xt.ensureKeyExists("comment",Te),xt.ensureKeyExists("cdata",Te),xt.ensureKeyExists("doctype",Te),xt.ensureKeyExists("type",Te),xt.ensureKeyExists("name",Te),xt.ensureKeyExists("elements",Te),xt.ensureKeyExists("parent",Te),Te}function $R(t){var e=Number(t);if(!isNaN(e))return e;var n=t.toLowerCase();return n==="true"?!0:n==="false"?!1:t}function Ls(t,e){var n;if(Te.compact){if(!je[Te[t+"Key"]]&&(ia(Te.alwaysArray)?Te.alwaysArray.indexOf(Te[t+"Key"])!==-1:Te.alwaysArray)&&(je[Te[t+"Key"]]=[]),je[Te[t+"Key"]]&&!ia(je[Te[t+"Key"]])&&(je[Te[t+"Key"]]=[je[Te[t+"Key"]]]),t+"Fn"in Te&&typeof e=="string"&&(e=Te[t+"Fn"](e,je)),t==="instruction"&&("instructionFn"in Te||"instructionNameFn"in Te)){for(n in e)if(e.hasOwnProperty(n))if("instructionFn"in Te)e[n]=Te.instructionFn(e[n],n,je);else{var r=e[n];delete e[n],e[Te.instructionNameFn(n,r,je)]=r}}ia(je[Te[t+"Key"]])?je[Te[t+"Key"]].push(e):je[Te[t+"Key"]]=e}else{je[Te.elementsKey]||(je[Te.elementsKey]=[]);var i={};if(i[Te.typeKey]=t,t==="instruction"){for(n in e)if(e.hasOwnProperty(n))break;i[Te.nameKey]="instructionNameFn"in Te?Te.instructionNameFn(n,e,je):n,Te.instructionHasAttributes?(i[Te.attributesKey]=e[n][Te.attributesKey],"instructionFn"in Te&&(i[Te.attributesKey]=Te.instructionFn(i[Te.attributesKey],n,je))):("instructionFn"in Te&&(e[n]=Te.instructionFn(e[n],n,je)),i[Te.instructionKey]=e[n])}else t+"Fn"in Te&&(e=Te[t+"Fn"](e,je)),i[Te[t+"Key"]]=e;Te.addParent&&(i[Te.parentKey]=je),je[Te.elementsKey].push(i)}}function jR(t){if("attributesFn"in Te&&t&&(t=Te.attributesFn(t,je)),(Te.trim||"attributeValueFn"in Te||"attributeNameFn"in Te||Te.nativeTypeAttributes)&&t){var e;for(e in t)if(t.hasOwnProperty(e)&&(Te.trim&&(t[e]=t[e].trim()),Te.nativeTypeAttributes&&(t[e]=$R(t[e])),"attributeValueFn"in Te&&(t[e]=Te.attributeValueFn(t[e],e,je)),"attributeNameFn"in Te)){var n=t[e];delete t[e],t[Te.attributeNameFn(e,t[e],je)]=n}}return t}function OO(t){var e={};if(t.body&&(t.name.toLowerCase()==="xml"||Te.instructionHasAttributes)){for(var n=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g,r;(r=n.exec(t.body))!==null;)e[r[1]]=r[2]||r[3]||r[4];e=jR(e)}if(t.name.toLowerCase()==="xml"){if(Te.ignoreDeclaration)return;je[Te.declarationKey]={},Object.keys(e).length&&(je[Te.declarationKey][Te.attributesKey]=e),Te.addParent&&(je[Te.declarationKey][Te.parentKey]=je)}else{if(Te.ignoreInstruction)return;Te.trim&&(t.body=t.body.trim());var i={};Te.instructionHasAttributes&&Object.keys(e).length?(i[t.name]={},i[t.name][Te.attributesKey]=e):i[t.name]=t.body,Ls("instruction",i)}}function _O(t,e){var n;if(typeof t=="object"&&(e=t.attributes,t=t.name),e=jR(e),"elementNameFn"in Te&&(t=Te.elementNameFn(t,je)),Te.compact){if(n={},!Te.ignoreAttributes&&e&&Object.keys(e).length){n[Te.attributesKey]={};var r;for(r in e)e.hasOwnProperty(r)&&(n[Te.attributesKey][r]=e[r])}!(t in je)&&(ia(Te.alwaysArray)?Te.alwaysArray.indexOf(t)!==-1:Te.alwaysArray)&&(je[t]=[]),je[t]&&!ia(je[t])&&(je[t]=[je[t]]),ia(je[t])?je[t].push(n):je[t]=n}else je[Te.elementsKey]||(je[Te.elementsKey]=[]),n={},n[Te.typeKey]="element",n[Te.nameKey]=t,!Te.ignoreAttributes&&e&&Object.keys(e).length&&(n[Te.attributesKey]=e),Te.alwaysChildren&&(n[Te.elementsKey]=[]),je[Te.elementsKey].push(n);n[Te.parentKey]=je,je=n}function EO(t){Te.ignoreText||!t.trim()&&!Te.captureSpacesBetweenElements||(Te.trim&&(t=t.trim()),Te.nativeType&&(t=$R(t)),Te.sanitize&&(t=t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")),Ls("text",t))}function IO(t){Te.ignoreComment||(Te.trim&&(t=t.trim()),Ls("comment",t))}function NO(t){var e=je[Te.parentKey];Te.addParent||delete je[Te.parentKey],je=e}function FO(t){Te.ignoreCdata||(Te.trim&&(t=t.trim()),Ls("cdata",t))}function PO(t){Te.ignoreDoctype||(t=t.replace(/^ /,""),Te.trim&&(t=t.trim()),Ls("doctype",t))}function MO(t){t.note=t}var qR=function(t,e){var n=SO.parser(!0,{}),r={};if(je=r,Te=DO(e),n.opt={strictEntities:!0},n.onopentag=_O,n.ontext=EO,n.oncomment=IO,n.onclosetag=NO,n.onerror=MO,n.oncdata=FO,n.ondoctype=PO,n.onprocessinginstruction=OO,n.write(t).close(),r[Te.elementsKey]){var i=r[Te.elementsKey];delete r[Te.elementsKey],r[Te.elementsKey]=i,delete r.text}return r},Mg=ff,LO=qR;function CO(t){var e=Mg.copyOptions(t);return Mg.ensureSpacesExists(e),e}var AO=function(t,e){var n,r,i,o;return n=CO(e),r=LO(t,n),o="compact"in n&&n.compact?"_parent":"parent","addParent"in n&&n.addParent?i=JSON.stringify(r,function(a,s){return a===o?"_":s},n.spaces):i=JSON.stringify(r,null,n.spaces),i.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},Nt=ff,UO=df.isArray,En,In;function WO(t){var e=Nt.copyOptions(t);return Nt.ensureFlagExists("ignoreDeclaration",e),Nt.ensureFlagExists("ignoreInstruction",e),Nt.ensureFlagExists("ignoreAttributes",e),Nt.ensureFlagExists("ignoreText",e),Nt.ensureFlagExists("ignoreComment",e),Nt.ensureFlagExists("ignoreCdata",e),Nt.ensureFlagExists("ignoreDoctype",e),Nt.ensureFlagExists("compact",e),Nt.ensureFlagExists("indentText",e),Nt.ensureFlagExists("indentCdata",e),Nt.ensureFlagExists("indentAttributes",e),Nt.ensureFlagExists("indentInstruction",e),Nt.ensureFlagExists("fullTagEmptyElement",e),Nt.ensureFlagExists("noQuotesForNativeAttributes",e),Nt.ensureSpacesExists(e),typeof e.spaces=="number"&&(e.spaces=Array(e.spaces+1).join(" ")),Nt.ensureKeyExists("declaration",e),Nt.ensureKeyExists("instruction",e),Nt.ensureKeyExists("attributes",e),Nt.ensureKeyExists("text",e),Nt.ensureKeyExists("comment",e),Nt.ensureKeyExists("cdata",e),Nt.ensureKeyExists("doctype",e),Nt.ensureKeyExists("type",e),Nt.ensureKeyExists("name",e),Nt.ensureKeyExists("elements",e),e}function Vr(t,e,n){return(!n&&t.spaces?`
|
|
`:"")+Array(e+1).join(t.spaces)}function Lu(t,e,n){if(e.ignoreAttributes)return"";"attributesFn"in e&&(t=e.attributesFn(t,In,En));var r,i,o,a,s=[];for(r in t)t.hasOwnProperty(r)&&t[r]!==null&&t[r]!==void 0&&(a=e.noQuotesForNativeAttributes&&typeof t[r]!="string"?"":'"',i=""+t[r],i=i.replace(/"/g,"""),o="attributeNameFn"in e?e.attributeNameFn(r,i,In,En):r,s.push(e.spaces&&e.indentAttributes?Vr(e,n+1,!1):" "),s.push(o+"="+a+("attributeValueFn"in e?e.attributeValueFn(i,r,In,En):i)+a));return t&&Object.keys(t).length&&e.spaces&&e.indentAttributes&&s.push(Vr(e,n,!1)),s.join("")}function e2(t,e,n){return En=t,In="xml",e.ignoreDeclaration?"":"<?xml"+Lu(t[e.attributesKey],e,n)+"?>"}function t2(t,e,n){if(e.ignoreInstruction)return"";var r;for(r in t)if(t.hasOwnProperty(r))break;var i="instructionNameFn"in e?e.instructionNameFn(r,t[r],In,En):r;if(typeof t[r]=="object")return En=t,In=i,"<?"+i+Lu(t[r][e.attributesKey],e,n)+"?>";var o=t[r]?t[r]:"";return"instructionFn"in e&&(o=e.instructionFn(o,r,In,En)),"<?"+i+(o?" "+o:"")+"?>"}function n2(t,e){return e.ignoreComment?"":"<!--"+("commentFn"in e?e.commentFn(t,In,En):t)+"-->"}function r2(t,e){return e.ignoreCdata?"":"<![CDATA["+("cdataFn"in e?e.cdataFn(t,In,En):t.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function i2(t,e){return e.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in e?e.doctypeFn(t,In,En):t)+">"}function pf(t,e){return e.ignoreText?"":(t=""+t,t=t.replace(/&/g,"&"),t=t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in e?e.textFn(t,In,En):t)}function XO(t,e){var n;if(t.elements&&t.elements.length)for(n=0;n<t.elements.length;++n)switch(t.elements[n][e.typeKey]){case"text":if(e.indentText)return!0;break;case"cdata":if(e.indentCdata)return!0;break;case"instruction":if(e.indentInstruction)return!0;break;case"doctype":case"comment":case"element":return!0;default:return!0}return!1}function VO(t,e,n){En=t,In=t.name;var r=[],i="elementNameFn"in e?e.elementNameFn(t.name,t):t.name;r.push("<"+i),t[e.attributesKey]&&r.push(Lu(t[e.attributesKey],e,n));var o=t[e.elementsKey]&&t[e.elementsKey].length||t[e.attributesKey]&&t[e.attributesKey]["xml:space"]==="preserve";return o||("fullTagEmptyElementFn"in e?o=e.fullTagEmptyElementFn(t.name,t):o=e.fullTagEmptyElement),o?(r.push(">"),t[e.elementsKey]&&t[e.elementsKey].length&&(r.push(o2(t[e.elementsKey],e,n+1)),En=t,In=t.name),r.push(e.spaces&&XO(t,e)?`
|
|
`+Array(n+1).join(e.spaces):""),r.push("</"+i+">")):r.push("/>"),r.join("")}function o2(t,e,n,r){return t.reduce(function(i,o){var a=Vr(e,n,r&&!i);switch(o.type){case"element":return i+a+VO(o,e,n);case"comment":return i+a+n2(o[e.commentKey],e);case"doctype":return i+a+i2(o[e.doctypeKey],e);case"cdata":return i+(e.indentCdata?a:"")+r2(o[e.cdataKey],e);case"text":return i+(e.indentText?a:"")+pf(o[e.textKey],e);case"instruction":var s={};return s[o[e.nameKey]]=o[e.attributesKey]?o:o[e.instructionKey],i+(e.indentInstruction?a:"")+t2(s,e,n)}},"")}function a2(t,e,n){var r;for(r in t)if(t.hasOwnProperty(r))switch(r){case e.parentKey:case e.attributesKey:break;case e.textKey:if(e.indentText||n)return!0;break;case e.cdataKey:if(e.indentCdata||n)return!0;break;case e.instructionKey:if(e.indentInstruction||n)return!0;break;case e.doctypeKey:case e.commentKey:return!0;default:return!0}return!1}function YO(t,e,n,r,i){En=t,In=e;var o="elementNameFn"in n?n.elementNameFn(e,t):e;if(typeof t=="undefined"||t===null||t==="")return"fullTagEmptyElementFn"in n&&n.fullTagEmptyElementFn(e,t)||n.fullTagEmptyElement?"<"+o+"></"+o+">":"<"+o+"/>";var a=[];if(e){if(a.push("<"+o),typeof t!="object")return a.push(">"+pf(t,n)+"</"+o+">"),a.join("");t[n.attributesKey]&&a.push(Lu(t[n.attributesKey],n,r));var s=a2(t,n,!0)||t[n.attributesKey]&&t[n.attributesKey]["xml:space"]==="preserve";if(s||("fullTagEmptyElementFn"in n?s=n.fullTagEmptyElementFn(e,t):s=n.fullTagEmptyElement),s)a.push(">");else return a.push("/>"),a.join("")}return a.push(s2(t,n,r+1,!1)),En=t,In=e,e&&a.push((i?Vr(n,r,!1):"")+"</"+o+">"),a.join("")}function s2(t,e,n,r){var i,o,a,s=[];for(o in t)if(t.hasOwnProperty(o))for(a=UO(t[o])?t[o]:[t[o]],i=0;i<a.length;++i){switch(o){case e.declarationKey:s.push(e2(a[i],e,n));break;case e.instructionKey:s.push((e.indentInstruction?Vr(e,n,r):"")+t2(a[i],e,n));break;case e.attributesKey:case e.parentKey:break;case e.textKey:s.push((e.indentText?Vr(e,n,r):"")+pf(a[i],e));break;case e.cdataKey:s.push((e.indentCdata?Vr(e,n,r):"")+r2(a[i],e));break;case e.doctypeKey:s.push(Vr(e,n,r)+i2(a[i],e));break;case e.commentKey:s.push(Vr(e,n,r)+n2(a[i],e));break;default:s.push(Vr(e,n,r)+YO(a[i],o,e,n,a2(a[i],e)))}r=r&&!s.length}return s.join("")}var c2=function(t,e){e=WO(e);var n=[];return En=t,In="_root_",e.compact?n.push(s2(t,e,0,!0)):(t[e.declarationKey]&&n.push(e2(t[e.declarationKey],e,0)),t[e.elementsKey]&&t[e.elementsKey].length&&n.push(o2(t[e.elementsKey],e,0,!n.length))),n.join("")},BO=c2,ZO=function(t,e){t instanceof Buffer&&(t=t.toString());var n=null;if(typeof t=="string")try{n=JSON.parse(t)}catch{throw new Error("The JSON structure is invalid")}else n=t;return BO(n,e)},kO=qR,QO=AO,KO=c2,HO=ZO,u2={xml2js:kO,xml2json:QO,js2xml:KO,json2xml:HO};const gf=t=>{switch(t.type){case void 0:case"element":const e=new JO(t.name,t.attributes),n=t.elements||[];for(const r of n){const i=gf(r);i!==void 0&&e.push(i)}return e;case"text":return t.text;default:return}};class GO extends Ue{}class JO extends ve{static fromXmlString(e){const n=u2.xml2js(e,{compact:!1});return gf(n)}constructor(e,n){super(e),n&&this.root.push(new GO(n))}push(e){this.root.push(e)}}class zO extends ve{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}}class l2 extends ve{constructor(e,n){super(e),n&&(this.root=n.root)}}const Nn=t=>{if(isNaN(t))throw new Error(`Invalid value '${t}' specified. Must be an integer.`);return Math.floor(t)},Cu=t=>{const e=Nn(t);if(e<0)throw new Error(`Invalid value '${t}' specified. Must be a positive integer.`);return e},h2=(t,e)=>{const n=e*2;if(t.length!==n||isNaN(Number(`0x${t}`)))throw new Error(`Invalid hex value '${t}'. Expected ${n} digit hex value`);return t},Lg=t=>h2(t,1),mf=t=>{const e=t.slice(-2),n=t.substring(0,t.length-2);return`${Number(n)}${e}`},d2=t=>{const e=mf(t);if(parseFloat(e)<0)throw new Error(`Invalid value '${e}' specified. Expected a positive number.`);return e},ha=t=>{if(t==="auto")return t;const e=t.charAt(0)==="#"?t.substring(1):t;return h2(e,3)},ui=t=>typeof t=="string"?mf(t):Nn(t),$O=t=>typeof t=="string"?d2(t):Cu(t),xn=t=>typeof t=="string"?d2(t):Cu(t),jO=t=>{const e=t.substring(0,t.length-1);return`${Number(e)}%`},qO=t=>typeof t=="number"?Nn(t):t.slice(-1)==="%"?jO(t):mf(t),e_=Cu,t_=Cu,n_=t=>t.toISOString();class Ne extends ve{constructor(e,n=!0){super(e),n!==!0&&this.root.push(new Qt({val:n}))}}class Dh extends ve{constructor(e,n){super(e),this.root.push(new Qt({val:$O(n)}))}}class r_ extends ve{}class lo extends ve{constructor(e,n){super(e),this.root.push(new Qt({val:n}))}}const Ka=(t,e)=>new Fn({name:t,attributes:{value:{key:"w:val",value:e}}});class Rf extends ve{constructor(e,n){super(e),this.root.push(new Qt({val:n}))}}class i_ extends ve{constructor(e,n){super(e),this.root.push(new Qt({val:n}))}}class $i extends ve{constructor(e,n){super(e),this.root.push(n)}}class Fn extends ve{constructor({name:e,attributes:n,children:r}){super(e),n&&this.root.push(new Ri(n)),r&&this.root.push(...r)}}const Ar={START:"start",CENTER:"center",END:"end",BOTH:"both",MEDIUM_KASHIDA:"mediumKashida",DISTRIBUTE:"distribute",NUM_TAB:"numTab",HIGH_KASHIDA:"highKashida",LOW_KASHIDA:"lowKashida",THAI_DISTRIBUTE:"thaiDistribute",LEFT:"left",RIGHT:"right",JUSTIFIED:"both"};class o_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class f2 extends ve{constructor(e){super("w:jc"),this.root.push(new o_({val:e}))}}class _t extends ve{constructor(e,{color:n,size:r,space:i,style:o}){super(e),this.root.push(new a_({style:o,color:n===void 0?void 0:ha(n),size:r===void 0?void 0:e_(r),space:i===void 0?void 0:t_(i)}))}}class a_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}const yf={SINGLE:"single",DASH_DOT_STROKED:"dashDotStroked",DASHED:"dashed",DASH_SMALL_GAP:"dashSmallGap",DOT_DASH:"dotDash",DOT_DOT_DASH:"dotDotDash",DOTTED:"dotted",DOUBLE:"double",DOUBLE_WAVE:"doubleWave",INSET:"inset",NIL:"nil",NONE:"none",OUTSET:"outset",THICK:"thick",THICK_THIN_LARGE_GAP:"thickThinLargeGap",THICK_THIN_MEDIUM_GAP:"thickThinMediumGap",THICK_THIN_SMALL_GAP:"thickThinSmallGap",THIN_THICK_LARGE_GAP:"thinThickLargeGap",THIN_THICK_MEDIUM_GAP:"thinThickMediumGap",THIN_THICK_SMALL_GAP:"thinThickSmallGap",THIN_THICK_THIN_LARGE_GAP:"thinThickThinLargeGap",THIN_THICK_THIN_MEDIUM_GAP:"thinThickThinMediumGap",THIN_THICK_THIN_SMALL_GAP:"thinThickThinSmallGap",THREE_D_EMBOSS:"threeDEmboss",THREE_D_ENGRAVE:"threeDEngrave",TRIPLE:"triple",WAVE:"wave"};class s_ extends mi{constructor(e){super("w:pBdr"),e.top&&this.root.push(new _t("w:top",e.top)),e.bottom&&this.root.push(new _t("w:bottom",e.bottom)),e.left&&this.root.push(new _t("w:left",e.left)),e.right&&this.root.push(new _t("w:right",e.right))}}class c_ extends ve{constructor(){super("w:pBdr");const e=new _t("w:bottom",{color:"auto",space:1,style:yf.SINGLE,size:6});this.root.push(e)}}class u_ extends ve{constructor({start:e,end:n,left:r,right:i,hanging:o,firstLine:a}){super("w:ind"),this.root.push(new Ri({start:{key:"w:start",value:e===void 0?void 0:ui(e)},end:{key:"w:end",value:n===void 0?void 0:ui(n)},left:{key:"w:left",value:r===void 0?void 0:ui(r)},right:{key:"w:right",value:i===void 0?void 0:ui(i)},hanging:{key:"w:hanging",value:o===void 0?void 0:xn(o)},firstLine:{key:"w:firstLine",value:a===void 0?void 0:xn(a)}}))}}let l_=class extends ve{constructor(){super("w:br")}};const vf={BEGIN:"begin",END:"end",SEPARATE:"separate"};class bf extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{type:"w:fldCharType",dirty:"w:dirty"})}}class Dc extends ve{constructor(e){super("w:fldChar"),this.root.push(new bf({type:vf.BEGIN,dirty:e}))}}class Oc extends ve{constructor(e){super("w:fldChar"),this.root.push(new bf({type:vf.SEPARATE,dirty:e}))}}class _c extends ve{constructor(e){super("w:fldChar"),this.root.push(new bf({type:vf.END,dirty:e}))}}const da={DEFAULT:"default",PRESERVE:"preserve"};class fa extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{space:"xml:space"})}}class h_ extends ve{constructor(){super("w:instrText"),this.root.push(new fa({space:da.PRESERVE})),this.root.push("PAGE")}}class d_ extends ve{constructor(){super("w:instrText"),this.root.push(new fa({space:da.PRESERVE})),this.root.push("NUMPAGES")}}class f_ extends ve{constructor(){super("w:instrText"),this.root.push(new fa({space:da.PRESERVE})),this.root.push("SECTIONPAGES")}}class p_ extends ve{constructor(){super("w:instrText"),this.root.push(new fa({space:da.PRESERVE})),this.root.push("SECTION")}}class g_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{fill:"w:fill",color:"w:color",type:"w:val"})}}class Au extends ve{constructor({fill:e,color:n,type:r}){super("w:shd"),this.root.push(new g_({fill:e===void 0?void 0:ha(e),color:n===void 0?void 0:ha(n),type:r}))}}class m_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}const R_={DOT:"dot"};class y_ extends ve{constructor(e){super("w:em"),this.root.push(new Qt({val:e}))}}class v_ extends y_{constructor(e=R_.DOT){super(e)}}class b_ extends ve{constructor(e){super("w:spacing"),this.root.push(new Qt({val:ui(e)}))}}class x_ extends ve{constructor(e){super("w:color"),this.root.push(new Qt({val:ha(e)}))}}class w_ extends ve{constructor(e){super("w:highlight"),this.root.push(new Qt({val:e}))}}class T_ extends ve{constructor(e){super("w:highlightCs"),this.root.push(new Qt({val:e}))}}const S_=t=>new Fn({name:"w:lang",attributes:{value:{key:"w:val",value:t.value},eastAsia:{key:"w:eastAsia",value:t.eastAsia},bidirectional:{key:"w:bidi",value:t.bidirectional}}});class Cg extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"})}}class Oh extends ve{constructor(e,n){if(super("w:rFonts"),typeof e=="string"){const r=e;this.root.push(new Cg({ascii:r,cs:r,eastAsia:r,hAnsi:r,hint:n}))}else{const r=e;this.root.push(new Cg(r))}}}let p2=class extends ve{constructor(e){super("w:vertAlign"),this.root.push(new Qt({val:e}))}};class D_ extends p2{constructor(){super("superscript")}}class O_ extends p2{constructor(){super("subscript")}}const g2={SINGLE:"single",WORDS:"words",DOUBLE:"double",THICK:"thick",DOTTED:"dotted",DOTTEDHEAVY:"dottedHeavy",DASH:"dash",DASHEDHEAVY:"dashedHeavy",DASHLONG:"dashLong",DASHLONGHEAVY:"dashLongHeavy",DOTDASH:"dotDash",DASHDOTHEAVY:"dashDotHeavy",DOTDOTDASH:"dotDotDash",DASHDOTDOTHEAVY:"dashDotDotHeavy",WAVE:"wave",WAVYHEAVY:"wavyHeavy",WAVYDOUBLE:"wavyDouble",NONE:"none"};class __ extends ve{constructor(e=g2.SINGLE,n){super("w:u"),this.root.push(new Qt({val:e,color:n===void 0?void 0:ha(n)}))}}class vo extends mi{constructor(e){var n,r;if(super("w:rPr"),!e)return;e.noProof!==void 0&&this.push(new Ne("w:noProof",e.noProof)),e.bold!==void 0&&this.push(new Ne("w:b",e.bold)),(e.boldComplexScript===void 0&&e.bold!==void 0||e.boldComplexScript)&&this.push(new Ne("w:bCs",(n=e.boldComplexScript)!=null?n:e.bold)),e.italics!==void 0&&this.push(new Ne("w:i",e.italics)),(e.italicsComplexScript===void 0&&e.italics!==void 0||e.italicsComplexScript)&&this.push(new Ne("w:iCs",(r=e.italicsComplexScript)!=null?r:e.italics)),e.underline&&this.push(new __(e.underline.type,e.underline.color)),e.effect&&this.push(new lo("w:effect",e.effect)),e.emphasisMark&&this.push(new v_(e.emphasisMark.type)),e.color&&this.push(new x_(e.color)),e.kern&&this.push(new Dh("w:kern",e.kern)),e.position&&this.push(new lo("w:position",e.position)),e.size!==void 0&&this.push(new Dh("w:sz",e.size));const i=e.sizeComplexScript===void 0||e.sizeComplexScript===!0?e.size:e.sizeComplexScript;i&&this.push(new Dh("w:szCs",i)),e.rightToLeft!==void 0&&this.push(new Ne("w:rtl",e.rightToLeft)),e.smallCaps!==void 0?this.push(new Ne("w:smallCaps",e.smallCaps)):e.allCaps!==void 0&&this.push(new Ne("w:caps",e.allCaps)),e.strike!==void 0&&this.push(new Ne("w:strike",e.strike)),e.doubleStrike!==void 0&&this.push(new Ne("w:dstrike",e.doubleStrike)),e.subScript&&this.push(new O_),e.superScript&&this.push(new D_),e.style&&this.push(new lo("w:rStyle",e.style)),e.font&&(typeof e.font=="string"?this.push(new Oh(e.font)):"name"in e.font?this.push(new Oh(e.font.name,e.font.hint)):this.push(new Oh(e.font))),e.highlight&&this.push(new w_(e.highlight));const o=e.highlightComplexScript===void 0||e.highlightComplexScript===!0?e.highlight:e.highlightComplexScript;o&&this.push(new T_(o)),e.characterSpacing&&this.push(new b_(e.characterSpacing)),e.emboss!==void 0&&this.push(new Ne("w:emboss",e.emboss)),e.imprint!==void 0&&this.push(new Ne("w:imprint",e.imprint)),e.shading&&this.push(new Au(e.shading)),e.revision&&this.push(new E_(e.revision)),e.border&&this.push(new _t("w:bdr",e.border)),e.snapToGrid!==void 0&&this.push(new Ne("w:snapToGrid",e.snapToGrid)),e.vanish&&this.push(new Ne("w:vanish",e.vanish)),e.specVanish&&this.push(new Ne("w:specVanish",e.vanish)),e.scale!==void 0&&this.push(new Rf("w:w",e.scale)),e.language&&this.push(S_(e.language)),e.math&&this.push(new Ne("w:oMath",e.math))}push(e){this.root.push(e)}}class E_ extends ve{constructor(e){super("w:rPrChange"),this.root.push(new m_({id:e.id,author:e.author,date:e.date})),this.addChildElement(new vo(e))}}class bd extends ve{constructor(e){var n;return super("w:t"),typeof e=="string"?(this.root.push(new fa({space:da.PRESERVE})),this.root.push(e),this):(this.root.push(new fa({space:(n=e.space)!=null?n:da.DEFAULT})),this.root.push(e.text),this)}}const Ec={CURRENT:"CURRENT",TOTAL_PAGES:"TOTAL_PAGES",TOTAL_PAGES_IN_SECTION:"TOTAL_PAGES_IN_SECTION",CURRENT_SECTION:"SECTION"};class Cs extends ve{constructor(e){if(super("w:r"),be(this,"properties"),this.properties=new vo(e),this.root.push(this.properties),e.break)for(let n=0;n<e.break;n++)this.root.push(new l_);if(e.children)for(const n of e.children){if(typeof n=="string"){switch(n){case Ec.CURRENT:this.root.push(new Dc),this.root.push(new h_),this.root.push(new Oc),this.root.push(new _c);break;case Ec.TOTAL_PAGES:this.root.push(new Dc),this.root.push(new d_),this.root.push(new Oc),this.root.push(new _c);break;case Ec.TOTAL_PAGES_IN_SECTION:this.root.push(new Dc),this.root.push(new f_),this.root.push(new Oc),this.root.push(new _c);break;case Ec.CURRENT_SECTION:this.root.push(new Dc),this.root.push(new p_),this.root.push(new Oc),this.root.push(new _c);break;default:this.root.push(new bd(n));break}continue}this.root.push(n)}else e.text&&this.root.push(new bd(e.text))}}class oa extends Cs{constructor(e){if(typeof e=="string")return super({}),this.root.push(new bd(e)),this;super(e)}}let I_="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",N_=(t,e=21)=>(n=e)=>{let r="",i=n;for(;i--;)r+=t[Math.random()*t.length|0];return r},F_=(t=21)=>{let e="",n=t;for(;n--;)e+=I_[Math.random()*64|0];return e};const Dr=t=>Math.floor(t*72*20),Uu=(t=0)=>{let e=t;return()=>++e},P_=()=>Uu(),M_=()=>Uu(1),L_=()=>Uu(),C_=()=>Uu(),m2=()=>F_().toLowerCase(),Ha=t=>N_("1234567890abcdef",t)(),A_=()=>`${Ha(8)}-${Ha(4)}-${Ha(4)}-${Ha(4)}-${Ha(12)}`,U_={CHARACTER:"character",COLUMN:"column",INSIDE_MARGIN:"insideMargin",LEFT_MARGIN:"leftMargin",MARGIN:"margin",OUTSIDE_MARGIN:"outsideMargin",PAGE:"page",RIGHT_MARGIN:"rightMargin"},W_={BOTTOM_MARGIN:"bottomMargin",INSIDE_MARGIN:"insideMargin",LINE:"line",MARGIN:"margin",OUTSIDE_MARGIN:"outsideMargin",PAGE:"page",PARAGRAPH:"paragraph",TOP_MARGIN:"topMargin"};class X_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{x:"x",y:"y"})}}class V_ extends ve{constructor(){super("wp:simplePos"),this.root.push(new X_({x:0,y:0}))}}class R2 extends ve{constructor(e){super("wp:align"),this.root.push(e)}}class y2 extends ve{constructor(e){super("wp:posOffset"),this.root.push(e.toString())}}class Y_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class B_ extends ve{constructor(e){if(super("wp:positionH"),this.root.push(new Y_({relativeFrom:e.relative||U_.PAGE})),e.align)this.root.push(new R2(e.align));else if(e.offset!==void 0)this.root.push(new y2(e.offset));else throw new Error("There is no configuration provided for floating position (Align or offset)")}}class Z_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class k_ extends ve{constructor(e){if(super("wp:positionV"),this.root.push(new Z_({relativeFrom:e.relative||W_.PAGE})),e.align)this.root.push(new R2(e.align));else if(e.offset!==void 0)this.root.push(new y2(e.offset));else throw new Error("There is no configuration provided for floating position (Align or offset)")}}class Q_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{uri:"uri"})}}class K_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{embed:"r:embed",cstate:"cstate"})}}class H_ extends ve{constructor(e){super("a:blip"),this.root.push(new K_({embed:`rId{${e.fileName}}`,cstate:"none"}))}}class G_ extends ve{constructor(){super("a:srcRect")}}class J_ extends ve{constructor(){super("a:fillRect")}}class z_ extends ve{constructor(){super("a:stretch"),this.root.push(new J_)}}class $_ extends ve{constructor(e){super("pic:blipFill"),this.root.push(new H_(e)),this.root.push(new G_),this.root.push(new z_)}}class j_ extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{noChangeAspect:"noChangeAspect",noChangeArrowheads:"noChangeArrowheads"})}}class q_ extends ve{constructor(){super("a:picLocks"),this.root.push(new j_({noChangeAspect:1,noChangeArrowheads:1}))}}class eE extends ve{constructor(){super("pic:cNvPicPr"),this.root.push(new q_)}}const v2=(t,e)=>new Fn({name:"a:hlinkClick",attributes:ua(dt({},e?{xmlns:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}}:{}),{id:{key:"r:id",value:`rId${t}`}})});class tE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{id:"id",name:"name",descr:"descr"})}}class nE extends ve{constructor(){super("pic:cNvPr"),this.root.push(new tE({id:0,name:"",descr:""}))}prepForXml(e){for(let n=e.stack.length-1;n>=0;n--){const r=e.stack[n];if(r instanceof xf){this.root.push(v2(r.linkId,!1));break}}return super.prepForXml(e)}}class rE extends ve{constructor(){super("pic:nvPicPr"),this.root.push(new nE),this.root.push(new eE)}}class iE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{xmlns:"xmlns:pic"})}}class oE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class aE extends ve{constructor(e,n){super("a:ext"),be(this,"attributes"),this.attributes=new oE({cx:e,cy:n}),this.root.push(this.attributes)}}class sE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{x:"x",y:"y"})}}class cE extends ve{constructor(){super("a:off"),this.root.push(new sE({x:0,y:0}))}}class uE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{flipVertical:"flipV",flipHorizontal:"flipH",rotation:"rot"})}}class lE extends ve{constructor(e){var n,r;super("a:xfrm"),be(this,"extents"),this.root.push(new uE({flipVertical:(n=e.flip)==null?void 0:n.vertical,flipHorizontal:(r=e.flip)==null?void 0:r.horizontal,rotation:e.rotation})),this.extents=new aE(e.emus.x,e.emus.y),this.root.push(new cE),this.root.push(this.extents)}}const b2=()=>new Fn({name:"a:noFill"}),hE=t=>new Fn({name:"a:schemeClr",attributes:{value:{key:"val",value:t.value}}}),dE=t=>new Fn({name:"a:srgbClr",attributes:{value:{key:"val",value:t.value}}}),Ag=t=>new Fn({name:"a:solidFill",children:[t.type==="rgb"?dE(t):hE(t)]}),fE=t=>new Fn({name:"a:ln",attributes:{width:{key:"w",value:t.width},cap:{key:"cap",value:t.cap},compoundLine:{key:"cmpd",value:t.compoundLine},align:{key:"algn",value:t.align}},children:[t.type==="noFill"?b2():t.solidFillType==="rgb"?Ag({type:"rgb",value:t.value}):Ag({type:"scheme",value:t.value})]});class pE extends ve{constructor(){super("a:avLst")}}class gE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{prst:"prst"})}}class mE extends ve{constructor(){super("a:prstGeom"),this.root.push(new gE({prst:"rect"})),this.root.push(new pE)}}class RE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{bwMode:"bwMode"})}}class yE extends ve{constructor({outline:e,transform:n}){super("pic:spPr"),be(this,"form"),this.root.push(new RE({bwMode:"auto"})),this.form=new lE(n),this.root.push(this.form),this.root.push(new mE),e&&(this.root.push(b2()),this.root.push(fE(e)))}}class vE extends ve{constructor({mediaData:e,transform:n,outline:r}){super("pic:pic"),this.root.push(new iE({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.root.push(new rE),this.root.push(new $_(e)),this.root.push(new yE({transform:n,outline:r}))}}class bE extends ve{constructor({mediaData:e,transform:n,outline:r}){super("a:graphicData"),be(this,"pic"),this.root.push(new Q_({uri:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.pic=new vE({mediaData:e,transform:n,outline:r}),this.root.push(this.pic)}}class xE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{a:"xmlns:a"})}}class x2 extends ve{constructor({mediaData:e,transform:n,outline:r}){super("a:graphic"),be(this,"data"),this.root.push(new xE({a:"http://schemas.openxmlformats.org/drawingml/2006/main"})),this.data=new bE({mediaData:e,transform:n,outline:r}),this.root.push(this.data)}}const Ic={NONE:0,SQUARE:1,TIGHT:2,TOP_AND_BOTTOM:3},wE={BOTH_SIDES:"bothSides",LEFT:"left",RIGHT:"right",LARGEST:"largest"};class Ug extends ve{constructor(){super("wp:wrapNone")}}class TE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",wrapText:"wrapText"})}}class SE extends ve{constructor(e,n={top:0,bottom:0,left:0,right:0}){super("wp:wrapSquare"),this.root.push(new TE({wrapText:e.side||wE.BOTH_SIDES,distT:n.top,distB:n.bottom,distL:n.left,distR:n.right}))}}class DE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class OE extends ve{constructor(e={top:0,bottom:0}){super("wp:wrapTight"),this.root.push(new DE({distT:e.top,distB:e.bottom}))}}class _E extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class EE extends ve{constructor(e={top:0,bottom:0}){super("wp:wrapTopAndBottom"),this.root.push(new _E({distT:e.top,distB:e.bottom}))}}class w2 extends ve{constructor({name:e,description:n,title:r}={name:"",description:"",title:""}){super("wp:docPr"),be(this,"docPropertiesUniqueNumericId",L_()),this.root.push(new Ri({id:{key:"id",value:this.docPropertiesUniqueNumericId()},name:{key:"name",value:e},description:{key:"descr",value:n},title:{key:"title",value:r}}))}prepForXml(e){for(let n=e.stack.length-1;n>=0;n--){const r=e.stack[n];if(r instanceof xf){this.root.push(v2(r.linkId,!0));break}}return super.prepForXml(e)}}const T2=({top:t,right:e,bottom:n,left:r})=>new Fn({name:"wp:effectExtent",attributes:{top:{key:"t",value:t},right:{key:"r",value:e},bottom:{key:"b",value:n},left:{key:"l",value:r}}});class IE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class S2 extends ve{constructor(e,n){super("wp:extent"),be(this,"attributes"),this.attributes=new IE({cx:e,cy:n}),this.root.push(this.attributes)}}class NE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{xmlns:"xmlns:a",noChangeAspect:"noChangeAspect"})}}class FE extends ve{constructor(){super("a:graphicFrameLocks"),this.root.push(new NE({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/main",noChangeAspect:1}))}}class D2 extends ve{constructor(){super("wp:cNvGraphicFramePr"),this.root.push(new FE)}}class PE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"})}}class ME extends ve{constructor({mediaData:e,transform:n,drawingOptions:r}){super("wp:anchor");const i=dt({allowOverlap:!0,behindDocument:!1,lockAnchor:!1,layoutInCell:!0,verticalPosition:{},horizontalPosition:{}},r.floating);if(this.root.push(new PE({distT:i.margins&&i.margins.top||0,distB:i.margins&&i.margins.bottom||0,distL:i.margins&&i.margins.left||0,distR:i.margins&&i.margins.right||0,simplePos:"0",allowOverlap:i.allowOverlap===!0?"1":"0",behindDoc:i.behindDocument===!0?"1":"0",locked:i.lockAnchor===!0?"1":"0",layoutInCell:i.layoutInCell===!0?"1":"0",relativeHeight:i.zIndex?i.zIndex:n.emus.y})),this.root.push(new V_),this.root.push(new B_(i.horizontalPosition)),this.root.push(new k_(i.verticalPosition)),this.root.push(new S2(n.emus.x,n.emus.y)),this.root.push(T2({top:0,right:0,bottom:0,left:0})),r.floating!==void 0&&r.floating.wrap!==void 0)switch(r.floating.wrap.type){case Ic.SQUARE:this.root.push(new SE(r.floating.wrap,r.floating.margins));break;case Ic.TIGHT:this.root.push(new OE(r.floating.margins));break;case Ic.TOP_AND_BOTTOM:this.root.push(new EE(r.floating.margins));break;case Ic.NONE:default:this.root.push(new Ug)}else this.root.push(new Ug);this.root.push(new w2(r.docProperties)),this.root.push(new D2),this.root.push(new x2({mediaData:e,transform:n,outline:r.outline}))}}const LE=({mediaData:t,transform:e,docProperties:n,outline:r})=>{var i,o,a,s;return new Fn({name:"wp:inline",attributes:{distanceTop:{key:"distT",value:0},distanceBottom:{key:"distB",value:0},distanceLeft:{key:"distL",value:0},distanceRight:{key:"distR",value:0}},children:[new S2(e.emus.x,e.emus.y),T2(r?{top:((i=r.width)!=null?i:9525)*2,right:((o=r.width)!=null?o:9525)*2,bottom:((a=r.width)!=null?a:9525)*2,left:((s=r.width)!=null?s:9525)*2}:{top:0,right:0,bottom:0,left:0}),new w2(n),new D2,new x2({mediaData:t,transform:e,outline:r})]})};class CE extends ve{constructor(e,n={}){super("w:drawing"),n.floating?this.root.push(new ME({mediaData:e,transform:e.transformation,drawingOptions:n})):this.root.push(LE({mediaData:e,transform:e.transformation,docProperties:n.docProperties,outline:n.outline}))}}class AE extends Cs{constructor(e){super({}),be(this,"key",`${m2()}.png`),be(this,"imageData");const n=typeof e.data=="string"?this.convertDataURIToBinary(e.data):e.data;this.imageData={stream:n,fileName:this.key,transformation:{pixels:{x:Math.round(e.transformation.width),y:Math.round(e.transformation.height)},emus:{x:Math.round(e.transformation.width*9525),y:Math.round(e.transformation.height*9525)},flip:e.transformation.flip,rotation:e.transformation.rotation?e.transformation.rotation*6e4:void 0}};const r=new CE(this.imageData,{floating:e.floating,docProperties:e.altText,outline:e.outline});this.root.push(r)}prepForXml(e){return e.file.Media.addImage(this.key,this.imageData),super.prepForXml(e)}convertDataURIToBinary(e){if(typeof atob=="function"){const n=";base64,",r=e.indexOf(n),i=r===-1?0:r+n.length;return new Uint8Array(atob(e.substring(i)).split("").map(o=>o.charCodeAt(0)))}else{const n=require("buffer");return new n.Buffer(e,"base64")}}}class UE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class WE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}}class XE extends ve{constructor({id:e,initials:n,author:r,date:i=new Date,children:o}){super("w:comment"),this.root.push(new UE({id:e,initials:n,author:r,date:i.toISOString()}));for(const a of o)this.root.push(a)}}class VE extends ve{constructor({children:e}){super("w:comments"),this.root.push(new WE({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));for(const n of e)this.root.push(new XE(n))}}class YE extends r_{constructor(){super("w:tab")}}class BE extends ve{constructor(){super("w:pageBreakBefore")}}const xd={AT_LEAST:"atLeast",EXACTLY:"exactly",EXACT:"exact",AUTO:"auto"};class ZE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"})}}class kE extends ve{constructor(e){super("w:spacing"),this.root.push(new ZE(e))}}const Fo={HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"};let Nc=class extends ve{constructor(e){super("w:pStyle"),this.root.push(new Qt({val:e}))}};class QE extends ve{constructor(e){super("w:tabs");for(const n of e)this.root.push(new HE(n))}}const Wg={LEFT:"left",RIGHT:"right",CENTER:"center",BAR:"bar",CLEAR:"clear",DECIMAL:"decimal",END:"end",NUM:"num",START:"start"};class KE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val",pos:"w:pos",leader:"w:leader"})}}class HE extends ve{constructor({type:e,position:n,leader:r}){super("w:tab"),this.root.push(new KE({val:e,pos:n,leader:r}))}}class Xg extends ve{constructor(e,n){super("w:numPr"),this.root.push(new GE(n)),this.root.push(new JE(e))}}class GE extends ve{constructor(e){if(super("w:ilvl"),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new Qt({val:e}))}}class JE extends ve{constructor(e){super("w:numId"),this.root.push(new Qt({val:typeof e=="string"?`{${e}}`:e}))}}class O2 extends ve{constructor(){super(...arguments),be(this,"fileChild",Symbol())}}class zE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"})}}const $E={EXTERNAL:"External"};class jE extends ve{constructor(e,n,r,i){super("Relationship"),this.root.push(new zE({id:e,type:n,target:r,targetMode:i}))}}class qE extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class xf extends ve{constructor(e,n,r){super("w:hyperlink"),be(this,"linkId"),this.linkId=n;const i={history:1,anchor:r||void 0,id:r?void 0:`rId${this.linkId}`},o=new qE(i);this.root.push(o),e.forEach(a=>{this.root.push(a)})}}class _2 extends ve{constructor(e){super("w:externalHyperlink"),this.options=e}}class e3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class t3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{id:"w:id"})}}class n3{constructor(e){be(this,"bookmarkUniqueNumericId",C_()),be(this,"start"),be(this,"children"),be(this,"end");const n=this.bookmarkUniqueNumericId();this.start=new r3(e.id,n),this.children=e.children,this.end=new i3(n)}}class r3 extends ve{constructor(e,n){super("w:bookmarkStart");const r=new e3({name:e,id:n});this.root.push(r)}}class i3 extends ve{constructor(e){super("w:bookmarkEnd");const n=new t3({id:e});this.root.push(n)}}class o3 extends ve{constructor(e){super("w:outlineLvl"),this.level=e,this.root.push(new Qt({val:e}))}}class a3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{verticalAlign:"w:val"})}}class E2 extends ve{constructor(e){super("w:vAlign"),this.root.push(new a3({verticalAlign:e}))}}const aa={DEFAULT:"default",FIRST:"first",EVEN:"even"};class s3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{type:"w:type",id:"r:id"})}}const Vg={HEADER:"w:headerReference",FOOTER:"w:footerReference"};class _h extends ve{constructor(e,n){super(e),this.root.push(new s3({type:n.type||aa.DEFAULT,id:`rId${n.id}`}))}}class c3 extends ve{constructor({space:e,count:n,separate:r,equalWidth:i,children:o}){super("w:cols"),this.root.push(new Ri({space:{key:"w:space",value:e===void 0?void 0:xn(e)},count:{key:"w:num",value:n===void 0?void 0:Nn(n)},separate:{key:"w:sep",value:r},equalWidth:{key:"w:equalWidth",value:i}})),!i&&o&&o.forEach(a=>this.addChildElement(a))}}class u3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{type:"w:type",linePitch:"w:linePitch",charSpace:"w:charSpace"})}}class l3 extends ve{constructor(e,n,r){super("w:docGrid"),this.root.push(new u3({type:r,linePitch:Nn(e),charSpace:n?Nn(n):void 0}))}}const h3=({countBy:t,start:e,restart:n,distance:r})=>new Fn({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:t===void 0?void 0:Nn(t)},start:{key:"w:start",value:e===void 0?void 0:Nn(e)},restart:{key:"w:restart",value:n},distance:{key:"w:distance",value:r===void 0?void 0:xn(r)}}});class Yg extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class d3 extends mi{constructor(e){if(super("w:pgBorders"),!e)return this;e.pageBorders?this.root.push(new Yg({display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder})):this.root.push(new Yg({})),e.pageBorderTop&&this.root.push(new _t("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(new _t("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(new _t("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(new _t("w:right",e.pageBorderRight))}}class f3 extends ve{constructor(e,n,r,i,o,a,s){super("w:pgMar"),this.root.push(new Ri({top:{key:"w:top",value:ui(e)},right:{key:"w:right",value:xn(n)},bottom:{key:"w:bottom",value:ui(r)},left:{key:"w:left",value:xn(i)},header:{key:"w:header",value:xn(o)},footer:{key:"w:footer",value:xn(a)},gutter:{key:"w:gutter",value:xn(s)}}))}}class p3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{start:"w:start",formatType:"w:fmt",separator:"w:chapSep"})}}class g3 extends ve{constructor({start:e,formatType:n,separator:r}){super("w:pgNumType"),this.root.push(new p3({start:e===void 0?void 0:Nn(e),formatType:n,separator:r}))}}const I2={PORTRAIT:"portrait",LANDSCAPE:"landscape"};class m3 extends ve{constructor(e,n,r){super("w:pgSz");const i=r===I2.LANDSCAPE,o=xn(e),a=xn(n);this.root.push(new Ri({width:{key:"w:w",value:i?a:o},height:{key:"w:h",value:i?o:a},orientation:{key:"w:orient",value:r}}))}}class R3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class y3 extends ve{constructor(e){super("w:textDirection"),this.root.push(new R3({val:e}))}}class v3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class b3 extends ve{constructor(e){super("w:type"),this.root.push(new v3({val:e}))}}const ji={TOP:1440,RIGHT:1440,BOTTOM:1440,LEFT:1440,HEADER:708,FOOTER:708,GUTTER:0},Eh={WIDTH:11906,HEIGHT:16838,ORIENTATION:I2.PORTRAIT};class x3 extends ve{constructor({page:{size:{width:e=Eh.WIDTH,height:n=Eh.HEIGHT,orientation:r=Eh.ORIENTATION}={},margin:{top:i=ji.TOP,right:o=ji.RIGHT,bottom:a=ji.BOTTOM,left:s=ji.LEFT,header:c=ji.HEADER,footer:u=ji.FOOTER,gutter:l=ji.GUTTER}={},pageNumbers:h={},borders:d,textDirection:f}={},grid:{linePitch:p=360,charSpace:g,type:y}={},headerWrapperGroup:R={},footerWrapperGroup:m={},lineNumbers:v,titlePage:x,verticalAlign:O,column:E,type:N}={}){super("w:sectPr"),this.addHeaderFooterGroup(Vg.HEADER,R),this.addHeaderFooterGroup(Vg.FOOTER,m),N&&this.root.push(new b3(N)),this.root.push(new m3(e,n,r)),this.root.push(new f3(i,o,a,s,c,u,l)),d&&this.root.push(new d3(d)),v&&this.root.push(h3(v)),this.root.push(new g3(h)),E&&this.root.push(new c3(E)),O&&this.root.push(new E2(O)),x!==void 0&&this.root.push(new Ne("w:titlePg",x)),f&&this.root.push(new y3(f)),this.root.push(new l3(p,g,y))}addHeaderFooterGroup(e,n){n.default&&this.root.push(new _h(e,{type:aa.DEFAULT,id:n.default.View.ReferenceId})),n.first&&this.root.push(new _h(e,{type:aa.FIRST,id:n.first.View.ReferenceId})),n.even&&this.root.push(new _h(e,{type:aa.EVEN,id:n.even.View.ReferenceId}))}}class w3 extends ve{constructor(){super("w:body"),be(this,"sections",[])}addSection(e){const n=this.sections.pop();this.root.push(this.createSectionParagraph(n)),this.sections.push(new x3(e))}prepForXml(e){return this.sections.length===1&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}createSectionParagraph(e){const n=new Ci({}),r=new pa({});return r.push(e),n.addChildElement(r),n}}class As extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",aink:"xmlns:aink",am3d:"xmlns:am3d",w16cex:"xmlns:w16cex",w16cid:"xmlns:w16cid",w16:"xmlns:w16",w16sdtdh:"xmlns:w16sdtdh",w16se:"xmlns:w16se"})}}class T3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class S3 extends ve{constructor(e){super("w:background"),this.root.push(new T3({color:e.color===void 0?void 0:ha(e.color),themeColor:e.themeColor,themeShade:e.themeShade===void 0?void 0:Lg(e.themeShade),themeTint:e.themeTint===void 0?void 0:Lg(e.themeTint)}))}}class D3 extends ve{constructor(e){super("w:document"),be(this,"body"),this.root.push(new As({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",Ignorable:"w14 w15 wp14"})),this.body=new w3,e.background&&this.root.push(new S3(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}class O3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{xmlns:"xmlns"})}}class Oa extends ve{constructor(){super("Relationships"),this.root.push(new O3({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}createRelationship(e,n,r,i){const o=new jE(`rId${e}`,n,r,i);return this.root.push(o),o}get RelationshipCount(){return this.root.length-1}}class N2{constructor(e){be(this,"document"),be(this,"relationships"),this.document=new D3(e),this.relationships=new Oa}get View(){return this.document}get Relationships(){return this.relationships}}class _3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class E3 extends ve{constructor(){super("w:wordWrap"),this.root.push(new _3({val:0}))}}const I3=t=>{var e,n;return new Fn({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:t.anchorLock},dropCap:{key:"w:dropCap",value:t.dropCap},width:{key:"w:w",value:t.width},height:{key:"w:h",value:t.height},x:{key:"w:x",value:t.position?t.position.x:void 0},y:{key:"w:y",value:t.position?t.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:t.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:t.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:(e=t.space)==null?void 0:e.horizontal},spaceVertical:{key:"w:vSpace",value:(n=t.space)==null?void 0:n.vertical},rule:{key:"w:hRule",value:t.rule},alignmentX:{key:"w:xAlign",value:t.alignment?t.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:t.alignment?t.alignment.y:void 0},lines:{key:"w:lines",value:t.lines},wrap:{key:"w:wrap",value:t.wrap}}})};class pa extends mi{constructor(e){var n,r;if(super("w:pPr"),be(this,"numberingReferences",[]),!e)return this;e.heading&&this.push(new Nc(e.heading)),e.bullet&&this.push(new Nc("ListParagraph")),e.numbering&&!e.style&&!e.heading&&(e.numbering.custom||this.push(new Nc("ListParagraph"))),e.style&&this.push(new Nc(e.style)),e.keepNext!==void 0&&this.push(new Ne("w:keepNext",e.keepNext)),e.keepLines!==void 0&&this.push(new Ne("w:keepLines",e.keepLines)),e.pageBreakBefore&&this.push(new BE),e.frame&&this.push(I3(e.frame)),e.widowControl!==void 0&&this.push(new Ne("w:widowControl",e.widowControl)),e.bullet&&this.push(new Xg(1,e.bullet.level)),e.numbering&&(this.numberingReferences.push({reference:e.numbering.reference,instance:(n=e.numbering.instance)!=null?n:0}),this.push(new Xg(`${e.numbering.reference}-${(r=e.numbering.instance)!=null?r:0}`,e.numbering.level))),e.border&&this.push(new s_(e.border)),e.thematicBreak&&this.push(new c_),e.shading&&this.push(new Au(e.shading)),e.wordWrap&&this.push(new E3),e.overflowPunctuation&&this.push(new Ne("w:overflowPunct",e.overflowPunctuation));const i=[...e.rightTabStop!==void 0?[{type:Wg.RIGHT,position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...e.leftTabStop!==void 0?[{type:Wg.LEFT,position:e.leftTabStop}]:[]];i.length>0&&this.push(new QE(i)),e.bidirectional!==void 0&&this.push(new Ne("w:bidi",e.bidirectional)),e.spacing&&this.push(new kE(e.spacing)),e.indent&&this.push(new u_(e.indent)),e.contextualSpacing!==void 0&&this.push(new Ne("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(new f2(e.alignment)),e.outlineLevel!==void 0&&this.push(new o3(e.outlineLevel)),e.suppressLineNumbers!==void 0&&this.push(new Ne("w:suppressLineNumbers",e.suppressLineNumbers)),e.autoSpaceEastAsianText!==void 0&&this.push(new Ne("w:autoSpaceDN",e.autoSpaceEastAsianText)),e.run&&this.push(new vo(e.run))}push(e){this.root.push(e)}prepForXml(e){if(e.viewWrapper instanceof N2)for(const n of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(n.reference,n.instance);return super.prepForXml(e)}}class Ci extends O2{constructor(e){if(super("w:p"),be(this,"properties"),typeof e=="string")return this.properties=new pa({}),this.root.push(this.properties),this.root.push(new oa(e)),this;if(this.properties=new pa(e),this.root.push(this.properties),e.text&&this.root.push(new oa(e.text)),e.children)for(const n of e.children){if(n instanceof n3){this.root.push(n.start);for(const r of n.children)this.root.push(r);this.root.push(n.end);continue}this.root.push(n)}}prepForXml(e){for(const n of this.root)if(n instanceof _2){const r=this.root.indexOf(n),i=new xf(n.options.children,m2());e.viewWrapper.Relationships.createRelationship(i.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",n.options.link,$E.EXTERNAL),this.root[r]=i}return super.prepForXml(e)}addRunToFront(e){return this.root.splice(1,0,e),this}}class N3 extends ve{constructor(e){super("m:t"),this.root.push(e)}}class F3 extends ve{constructor(e){super("m:r"),this.root.push(new N3(e))}}class P3 extends ve{constructor(e){super("w:tblGrid");for(const n of e)this.root.push(new M3(n))}}class M3 extends ve{constructor(e){super("w:gridCol"),e!==void 0&&this.root.push(new Ri({width:{key:"w:w",value:xn(e)}}))}}const F2={TABLE:"w:tblCellMar",TABLE_CELL:"w:tcMar"};class P2 extends mi{constructor(e,{marginUnitType:n=pu.DXA,top:r,left:i,bottom:o,right:a}){super(e),r!==void 0&&this.root.push(new ao("w:top",{type:n,size:r})),i!==void 0&&this.root.push(new ao("w:left",{type:n,size:i})),o!==void 0&&this.root.push(new ao("w:bottom",{type:n,size:o})),a!==void 0&&this.root.push(new ao("w:right",{type:n,size:a}))}}const pu={AUTO:"auto",DXA:"dxa",NIL:"nil",PERCENTAGE:"pct"};class ao extends ve{constructor(e,{type:n=pu.AUTO,size:r}){super(e);let i=r;n===pu.PERCENTAGE&&typeof r=="number"&&(i=`${r}%`),this.root.push(new Ri({type:{key:"w:type",value:n},size:{key:"w:w",value:qO(i)}}))}}class L3 extends mi{constructor(e){super("w:tcBorders"),e.top&&this.root.push(new _t("w:top",e.top)),e.start&&this.root.push(new _t("w:start",e.start)),e.left&&this.root.push(new _t("w:left",e.left)),e.bottom&&this.root.push(new _t("w:bottom",e.bottom)),e.end&&this.root.push(new _t("w:end",e.end)),e.right&&this.root.push(new _t("w:right",e.right))}}class C3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class A3 extends ve{constructor(e){super("w:gridSpan"),this.root.push(new C3({val:Nn(e)}))}}const M2={CONTINUE:"continue",RESTART:"restart"};class U3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class Bg extends ve{constructor(e){super("w:vMerge"),this.root.push(new U3({val:e}))}}class W3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class X3 extends ve{constructor(e){super("w:textDirection"),this.root.push(new W3({val:e}))}}class V3 extends mi{constructor(e){super("w:tcPr"),e.width&&this.root.push(new ao("w:tcW",e.width)),e.columnSpan&&this.root.push(new A3(e.columnSpan)),e.verticalMerge?this.root.push(new Bg(e.verticalMerge)):e.rowSpan&&e.rowSpan>1&&this.root.push(new Bg(M2.RESTART)),e.borders&&this.root.push(new L3(e.borders)),e.shading&&this.root.push(new Au(e.shading)),e.margins&&this.root.push(new P2(F2.TABLE_CELL,e.margins)),e.textDirection&&this.root.push(new X3(e.textDirection)),e.verticalAlign&&this.root.push(new E2(e.verticalAlign))}}class wf extends ve{constructor(e){super("w:tc"),this.options=e,this.root.push(new V3(e));for(const n of e.children)this.root.push(n)}prepForXml(e){return this.root[this.root.length-1]instanceof Ci||this.root.push(new Ci({})),super.prepForXml(e)}}const Po={style:yf.NONE,size:0,color:"auto"},Mo={style:yf.SINGLE,size:4,color:"auto"};class L2 extends ve{constructor(e){super("w:tblBorders"),e.top?this.root.push(new _t("w:top",e.top)):this.root.push(new _t("w:top",Mo)),e.left?this.root.push(new _t("w:left",e.left)):this.root.push(new _t("w:left",Mo)),e.bottom?this.root.push(new _t("w:bottom",e.bottom)):this.root.push(new _t("w:bottom",Mo)),e.right?this.root.push(new _t("w:right",e.right)):this.root.push(new _t("w:right",Mo)),e.insideHorizontal?this.root.push(new _t("w:insideH",e.insideHorizontal)):this.root.push(new _t("w:insideH",Mo)),e.insideVertical?this.root.push(new _t("w:insideV",e.insideVertical)):this.root.push(new _t("w:insideV",Mo))}}be(L2,"NONE",{top:Po,bottom:Po,left:Po,right:Po,insideHorizontal:Po,insideVertical:Po});class Y3 extends ve{constructor({horizontalAnchor:e,verticalAnchor:n,absoluteHorizontalPosition:r,relativeHorizontalPosition:i,absoluteVerticalPosition:o,relativeVerticalPosition:a,bottomFromText:s,topFromText:c,leftFromText:u,rightFromText:l,overlap:h}){super("w:tblpPr"),this.root.push(new Ri({leftFromText:{key:"w:leftFromText",value:u===void 0?void 0:xn(u)},rightFromText:{key:"w:rightFromText",value:l===void 0?void 0:xn(l)},topFromText:{key:"w:topFromText",value:c===void 0?void 0:xn(c)},bottomFromText:{key:"w:bottomFromText",value:s===void 0?void 0:xn(s)},absoluteHorizontalPosition:{key:"w:tblpX",value:r===void 0?void 0:ui(r)},absoluteVerticalPosition:{key:"w:tblpY",value:o===void 0?void 0:ui(o)},horizontalAnchor:{key:"w:horzAnchor",value:e===void 0?void 0:e},relativeHorizontalPosition:{key:"w:tblpXSpec",value:i},relativeVerticalPosition:{key:"w:tblpYSpec",value:a},verticalAnchor:{key:"w:vertAnchor",value:n}})),h&&this.root.push(new i_("w:tblOverlap",h))}}class B3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{type:"w:type"})}}class Z3 extends ve{constructor(e){super("w:tblLayout"),this.root.push(new B3({type:e}))}}class k3 extends mi{constructor(e){super("w:tblPr"),e.style&&this.root.push(new lo("w:tblStyle",e.style)),e.float&&this.root.push(new Y3(e.float)),e.visuallyRightToLeft!==void 0&&this.root.push(new Ne("w:bidiVisual",e.visuallyRightToLeft)),e.width&&this.root.push(new ao("w:tblW",e.width)),e.alignment&&this.root.push(new f2(e.alignment)),e.indent&&this.root.push(new ao("w:tblInd",e.indent)),e.borders&&this.root.push(new L2(e.borders)),e.shading&&this.root.push(new Au(e.shading)),e.layout&&this.root.push(new Z3(e.layout)),e.cellMargin&&this.root.push(new P2(F2.TABLE,e.cellMargin))}}class Q3 extends O2{constructor({rows:e,width:n,columnWidths:r=Array(Math.max(...e.map(d=>d.CellCount))).fill(100),margins:i,indent:o,float:a,layout:s,style:c,borders:u,alignment:l,visuallyRightToLeft:h}){super("w:tbl"),this.root.push(new k3({borders:u!=null?u:{},width:n!=null?n:{size:100},indent:o,float:a,layout:s,style:c,alignment:l,cellMargin:i,visuallyRightToLeft:h})),this.root.push(new P3(r));for(const d of e)this.root.push(d);e.forEach((d,f)=>{if(f===e.length-1)return;let p=0;d.cells.forEach(g=>{if(g.options.rowSpan&&g.options.rowSpan>1){const y=new wf({rowSpan:g.options.rowSpan-1,columnSpan:g.options.columnSpan,borders:g.options.borders,children:[],verticalMerge:M2.CONTINUE});e[f+1].addCellToColumnIndex(y,p)}p+=g.options.columnSpan||1})})}}class K3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{value:"w:val",rule:"w:hRule"})}}class H3 extends ve{constructor(e,n){super("w:trHeight"),this.root.push(new K3({value:xn(e),rule:n}))}}class G3 extends mi{constructor(e){super("w:trPr"),e.cantSplit!==void 0&&this.root.push(new Ne("w:cantSplit",e.cantSplit)),e.tableHeader!==void 0&&this.root.push(new Ne("w:tblHeader",e.tableHeader)),e.height&&this.root.push(new H3(e.height.value,e.height.rule))}}class J3 extends ve{constructor(e){super("w:tr"),this.options=e,this.root.push(new G3(e));for(const n of e.children)this.root.push(n)}get CellCount(){return this.options.children.length}get cells(){return this.root.filter(e=>e instanceof wf)}addCellToIndex(e,n){this.root.splice(n+1,0,e)}addCellToColumnIndex(e,n){const r=this.columnIndexToRootIndex(n,!0);this.addCellToIndex(e,r-1)}rootIndexToColumnIndex(e){if(e<1||e>=this.root.length)throw new Error(`cell 'rootIndex' should between 1 to ${this.root.length-1}`);let n=0;for(let r=1;r<e;r++)n+=this.root[r].options.columnSpan||1;return n}columnIndexToRootIndex(e,n=!1){if(e<0)throw new Error("cell 'columnIndex' should not less than zero");let r=0,i=1;for(;r<=e;){if(i>=this.root.length){if(n)return this.root.length;throw new Error(`cell 'columnIndex' should not great than ${r-1}`)}const o=this.root[i];i+=1,r+=o&&o.options.columnSpan||1}return i-1}}class z3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class $3 extends ve{constructor(){super("Properties"),this.root.push(new z3({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class j3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{xmlns:"xmlns"})}}class q3 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{contentType:"ContentType",extension:"Extension"})}}class Si extends ve{constructor(e,n){super("Default"),this.root.push(new q3({contentType:e,extension:n}))}}class eI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{contentType:"ContentType",partName:"PartName"})}}class fr extends ve{constructor(e,n){super("Override"),this.root.push(new eI({contentType:e,partName:n}))}}class tI extends ve{constructor(){super("Types"),this.root.push(new j3({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new Si("image/png","png")),this.root.push(new Si("image/jpeg","jpeg")),this.root.push(new Si("image/jpeg","jpg")),this.root.push(new Si("image/bmp","bmp")),this.root.push(new Si("image/gif","gif")),this.root.push(new Si("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new Si("application/xml","xml")),this.root.push(new Si("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new fr("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(e){this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(new fr("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}class nI extends ve{constructor(e){super("cp:coreProperties"),this.root.push(new As({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),e.title&&this.root.push(new $i("dc:title",e.title)),e.subject&&this.root.push(new $i("dc:subject",e.subject)),e.creator&&this.root.push(new $i("dc:creator",e.creator)),e.keywords&&this.root.push(new $i("cp:keywords",e.keywords)),e.description&&this.root.push(new $i("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new $i("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new $i("cp:revision",String(e.revision))),this.root.push(new Zg("dcterms:created")),this.root.push(new Zg("dcterms:modified"))}}class Zg extends ve{constructor(e){super(e),this.root.push(new As({type:"dcterms:W3CDTF"})),this.root.push(n_(new Date))}}class rI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class iI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{fmtid:"fmtid",pid:"pid",name:"name"})}}class oI extends ve{constructor(e,n){super("property"),this.root.push(new iI({fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:n.name})),this.root.push(new aI(n.value))}}class aI extends ve{constructor(e){super("vt:lpwstr"),this.root.push(e)}}class sI extends ve{constructor(e){super("Properties"),be(this,"nextId"),be(this,"properties",[]),this.root.push(new rI({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;for(const n of e)this.addCustomProperty(n)}prepForXml(e){return this.properties.forEach(n=>this.root.push(n)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new oI(this.nextId++,e))}}class cI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"})}}let uI=class extends l2{constructor(e,n){super("w:ftr",n),be(this,"refId"),this.refId=e,n||this.root.push(new cI({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}};class lI{constructor(e,n,r){be(this,"footer"),be(this,"relationships"),this.media=e,this.footer=new uI(n,r),this.relationships=new Oa}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}class hI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class dI extends ve{constructor(){super("w:footnoteRef")}}class fI extends Cs{constructor(){super({style:"FootnoteReference"}),this.root.push(new dI)}}const kg={SEPERATOR:"separator",CONTINUATION_SEPERATOR:"continuationSeparator"};class Ih extends ve{constructor(e){super("w:footnote"),this.root.push(new hI({type:e.type,id:e.id}));for(let n=0;n<e.children.length;n++){const r=e.children[n];n===0&&r.addRunToFront(new fI),this.root.push(r)}}}class pI extends ve{constructor(){super("w:continuationSeparator")}}class gI extends Cs{constructor(){super({}),this.root.push(new pI)}}class mI extends ve{constructor(){super("w:separator")}}class RI extends Cs{constructor(){super({}),this.root.push(new mI)}}class yI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class vI extends ve{constructor(){super("w:footnotes"),this.root.push(new yI({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const e=new Ih({id:-1,type:kg.SEPERATOR,children:[new Ci({spacing:{after:0,line:240,lineRule:xd.AUTO},children:[new RI]})]});this.root.push(e);const n=new Ih({id:0,type:kg.CONTINUATION_SEPERATOR,children:[new Ci({spacing:{after:0,line:240,lineRule:xd.AUTO},children:[new gI]})]});this.root.push(n)}createFootNote(e,n){const r=new Ih({id:e,children:n});this.root.push(r)}}class bI{constructor(){be(this,"footnotess"),be(this,"relationships"),this.footnotess=new vI,this.relationships=new Oa}get View(){return this.footnotess}get Relationships(){return this.relationships}}class xI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"})}}let wI=class extends l2{constructor(e,n){super("w:hdr",n),be(this,"refId"),this.refId=e,n||this.root.push(new xI({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}};class TI{constructor(e,n,r){be(this,"header"),be(this,"relationships"),this.media=e,this.header=new wI(n,r),this.relationships=new Oa}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}class SI{constructor(){be(this,"map"),this.map=new Map}addImage(e,n){this.map.set(e,n)}get Array(){return Array.from(this.map.values())}}const ai={DECIMAL:"decimal",UPPER_ROMAN:"upperRoman",LOWER_ROMAN:"lowerRoman",UPPER_LETTER:"upperLetter",LOWER_LETTER:"lowerLetter",ORDINAL:"ordinal",CARDINAL_TEXT:"cardinalText",ORDINAL_TEXT:"ordinalText",HEX:"hex",CHICAGO:"chicago",IDEOGRAPH__DIGITAL:"ideographDigital",JAPANESE_COUNTING:"japaneseCounting",AIUEO:"aiueo",IROHA:"iroha",DECIMAL_FULL_WIDTH:"decimalFullWidth",DECIMAL_HALF_WIDTH:"decimalHalfWidth",JAPANESE_LEGAL:"japaneseLegal",JAPANESE_DIGITAL_TEN_THOUSAND:"japaneseDigitalTenThousand",DECIMAL_ENCLOSED_CIRCLE:"decimalEnclosedCircle",DECIMAL_FULL_WIDTH2:"decimalFullWidth2",AIUEO_FULL_WIDTH:"aiueoFullWidth",IROHA_FULL_WIDTH:"irohaFullWidth",DECIMAL_ZERO:"decimalZero",BULLET:"bullet",GANADA:"ganada",CHOSUNG:"chosung",DECIMAL_ENCLOSED_FULLSTOP:"decimalEnclosedFullstop",DECIMAL_ENCLOSED_PARENTHESES:"decimalEnclosedParen",DECIMAL_ENCLOSED_CIRCLE_CHINESE:"decimalEnclosedCircleChinese",IDEOGRAPH_ENCLOSED_CIRCLE:"ideographEnclosedCircle",IDEOGRAPH_TRADITIONAL:"ideographTraditional",IDEOGRAPH_ZODIAC:"ideographZodiac",IDEOGRAPH_ZODIAC_TRADITIONAL:"ideographZodiacTraditional",TAIWANESE_COUNTING:"taiwaneseCounting",IDEOGRAPH_LEGAL_TRADITIONAL:"ideographLegalTraditional",TAIWANESE_COUNTING_THOUSAND:"taiwaneseCountingThousand",TAIWANESE_DIGITAL:"taiwaneseDigital",CHINESE_COUNTING:"chineseCounting",CHINESE_LEGAL_SIMPLIFIED:"chineseLegalSimplified",CHINESE_COUNTING_THOUSAND:"chineseCountingThousand",KOREAN_DIGITAL:"koreanDigital",KOREAN_COUNTING:"koreanCounting",KOREAN_LEGAL:"koreanLegal",KOREAN_DIGITAL2:"koreanDigital2",VIETNAMESE_COUNTING:"vietnameseCounting",RUSSIAN_LOWER:"russianLower",RUSSIAN_UPPER:"russianUpper",NONE:"none",NUMBER_IN_DASH:"numberInDash",HEBREW1:"hebrew1",HEBREW2:"hebrew2",ARABIC_ALPHA:"arabicAlpha",ARABIC_ABJAD:"arabicAbjad",HINDI_VOWELS:"hindiVowels",HINDI_CONSONANTS:"hindiConsonants",HINDI_NUMBERS:"hindiNumbers",HINDI_COUNTING:"hindiCounting",THAI_LETTERS:"thaiLetters",THAI_NUMBERS:"thaiNumbers",THAI_COUNTING:"thaiCounting",BAHT_TEXT:"bahtText",DOLLAR_TEXT:"dollarText",CUSTOM:"custom"};class DI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w15:tentative"})}}class OI extends ve{constructor(e){super("w:numFmt"),this.root.push(new Qt({val:e}))}}class _I extends ve{constructor(e){super("w:lvlText"),this.root.push(new Qt({val:e}))}}class EI extends ve{constructor(e){super("w:lvlJc"),this.root.push(new Qt({val:e}))}}class II extends ve{constructor(e){super("w:suff"),this.root.push(new Qt({val:e}))}}class NI extends ve{constructor(){super("w:isLgl")}}class FI extends ve{constructor({level:e,format:n,text:r,alignment:i=Ar.START,start:o=1,style:a,suffix:s,isLegalNumberingStyle:c}){if(super("w:lvl"),be(this,"paragraphProperties"),be(this,"runProperties"),this.root.push(new Rf("w:start",Nn(o))),n&&this.root.push(new OI(n)),s&&this.root.push(new II(s)),c&&this.root.push(new NI),r&&this.root.push(new _I(r)),this.root.push(new EI(i)),this.paragraphProperties=new pa(a&&a.paragraph),this.runProperties=new vo(a&&a.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new DI({ilvl:Nn(e),tentative:1}))}}class PI extends FI{}class MI extends ve{constructor(e){super("w:multiLevelType"),this.root.push(new Qt({val:e}))}}class LI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class Qg extends ve{constructor(e,n){super("w:abstractNum"),be(this,"id"),this.root.push(new LI({abstractNumId:Nn(e),restartNumberingAfterBreak:0})),this.root.push(new MI("hybridMultilevel")),this.id=e;for(const r of n)this.root.push(new PI(r))}}class CI extends ve{constructor(e){super("w:abstractNumId"),this.root.push(new Qt({val:e}))}}class AI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{numId:"w:numId"})}}class Kg extends ve{constructor(e){if(super("w:num"),be(this,"numId"),be(this,"reference"),be(this,"instance"),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new AI({numId:Nn(e.numId)})),this.root.push(new CI(Nn(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(const n of e.overrideLevels)this.root.push(new WI(n.num,n.start))}}class UI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{ilvl:"w:ilvl"})}}class WI extends ve{constructor(e,n){super("w:lvlOverride"),this.root.push(new UI({ilvl:e})),n!==void 0&&this.root.push(new VI(n))}}class XI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class VI extends ve{constructor(e){super("w:startOverride"),this.root.push(new XI({val:e}))}}class YI extends ve{constructor(e){super("w:numbering"),be(this,"abstractNumberingMap",new Map),be(this,"concreteNumberingMap",new Map),be(this,"referenceConfigMap",new Map),be(this,"abstractNumUniqueNumericId",P_()),be(this,"concreteNumUniqueNumericId",M_()),this.root.push(new As({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const n=new Qg(this.abstractNumUniqueNumericId(),[{level:0,format:ai.BULLET,text:"\u25CF",alignment:Ar.LEFT,style:{paragraph:{indent:{left:Dr(.5),hanging:Dr(.25)}}}},{level:1,format:ai.BULLET,text:"\u25CB",alignment:Ar.LEFT,style:{paragraph:{indent:{left:Dr(1),hanging:Dr(.25)}}}},{level:2,format:ai.BULLET,text:"\u25A0",alignment:Ar.LEFT,style:{paragraph:{indent:{left:2160,hanging:Dr(.25)}}}},{level:3,format:ai.BULLET,text:"\u25CF",alignment:Ar.LEFT,style:{paragraph:{indent:{left:2880,hanging:Dr(.25)}}}},{level:4,format:ai.BULLET,text:"\u25CB",alignment:Ar.LEFT,style:{paragraph:{indent:{left:3600,hanging:Dr(.25)}}}},{level:5,format:ai.BULLET,text:"\u25A0",alignment:Ar.LEFT,style:{paragraph:{indent:{left:4320,hanging:Dr(.25)}}}},{level:6,format:ai.BULLET,text:"\u25CF",alignment:Ar.LEFT,style:{paragraph:{indent:{left:5040,hanging:Dr(.25)}}}},{level:7,format:ai.BULLET,text:"\u25CF",alignment:Ar.LEFT,style:{paragraph:{indent:{left:5760,hanging:Dr(.25)}}}},{level:8,format:ai.BULLET,text:"\u25CF",alignment:Ar.LEFT,style:{paragraph:{indent:{left:6480,hanging:Dr(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new Kg({numId:1,abstractNumId:n.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",n);for(const r of e.config)this.abstractNumberingMap.set(r.reference,new Qg(this.abstractNumUniqueNumericId(),r.levels)),this.referenceConfigMap.set(r.reference,r.levels)}prepForXml(e){for(const n of this.abstractNumberingMap.values())this.root.push(n);for(const n of this.concreteNumberingMap.values())this.root.push(n);return super.prepForXml(e)}createConcreteNumberingInstance(e,n){const r=this.abstractNumberingMap.get(e);if(!r)return;const i=`${e}-${n}`;if(this.concreteNumberingMap.has(i))return;const o=this.referenceConfigMap.get(e),a=o&&o[0].start,s={numId:this.concreteNumUniqueNumericId(),abstractNumId:r.id,reference:e,instance:n,overrideLevels:[a&&Number.isInteger(a)?{num:0,start:a}:{num:0,start:1}]};this.concreteNumberingMap.set(i,new Kg(s))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class BI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{version:"w:val",name:"w:name",uri:"w:uri"})}}class ZI extends ve{constructor(e){super("w:compatSetting"),this.root.push(new BI({version:e,uri:"http://schemas.microsoft.com/office/word",name:"compatibilityMode"}))}}class kI extends ve{constructor(e){super("w:compat"),e.version&&this.root.push(new ZI(e.version)),e.useSingleBorderforContiguousCells&&this.root.push(new Ne("w:useSingleBorderforContiguousCells",e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new Ne("w:wpJustification",e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new Ne("w:noTabHangInd",e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new Ne("w:noLeading",e.noLeading)),e.spaceForUnderline&&this.root.push(new Ne("w:spaceForUL",e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new Ne("w:noColumnBalance",e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new Ne("w:balanceSingleByteDoubleByteWidth",e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new Ne("w:noExtraLineSpacing",e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new Ne("w:doNotLeaveBackslashAlone",e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new Ne("w:ulTrailSpace",e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new Ne("w:doNotExpandShiftReturn",e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new Ne("w:spacingInWholePoints",e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new Ne("w:lineWrapLikeWord6",e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new Ne("w:printBodyTextBeforeHeader",e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new Ne("w:printColBlack",e.printColorsBlack)),e.spaceWidth&&this.root.push(new Ne("w:wpSpaceWidth",e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new Ne("w:showBreaksInFrames",e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new Ne("w:subFontBySize",e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new Ne("w:suppressBottomSpacing",e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new Ne("w:suppressTopSpacing",e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new Ne("w:suppressSpacingAtTopOfPage",e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new Ne("w:suppressTopSpacingWP",e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new Ne("w:suppressSpBfAfterPgBrk",e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new Ne("w:swapBordersFacingPages",e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new Ne("w:convMailMergeEsc",e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new Ne("w:truncateFontHeightsLikeWP6",e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new Ne("w:mwSmallCaps",e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new Ne("w:usePrinterMetrics",e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new Ne("w:doNotSuppressParagraphBorders",e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new Ne("w:wrapTrailSpaces",e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new Ne("w:footnoteLayoutLikeWW8",e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new Ne("w:shapeLayoutLikeWW8",e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new Ne("w:alignTablesRowByRow",e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new Ne("w:forgetLastTabAlignment",e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new Ne("w:adjustLineHeightInTable",e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new Ne("w:autoSpaceLikeWord95",e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new Ne("w:noSpaceRaiseLower",e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new Ne("w:doNotUseHTMLParagraphAutoSpacing",e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new Ne("w:layoutRawTableWidth",e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new Ne("w:layoutTableRowsApart",e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new Ne("w:useWord97LineBreakRules",e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new Ne("w:doNotBreakWrappedTables",e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new Ne("w:doNotSnapToGridInCell",e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new Ne("w:selectFldWithFirstOrLastChar",e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new Ne("w:applyBreakingRules",e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new Ne("w:doNotWrapTextWithPunct",e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new Ne("w:doNotUseEastAsianBreakRules",e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new Ne("w:useWord2002TableStyleRules",e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new Ne("w:growAutofit",e.growAutofit)),e.useFELayout&&this.root.push(new Ne("w:useFELayout",e.useFELayout)),e.useNormalStyleForList&&this.root.push(new Ne("w:useNormalStyleForList",e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new Ne("w:doNotUseIndentAsNumberingTabStop",e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new Ne("w:useAltKinsokuLineBreakRules",e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new Ne("w:allowSpaceOfSameStyleInTable",e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new Ne("w:doNotSuppressIndentation",e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new Ne("w:doNotAutofitConstrainedTables",e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new Ne("w:autofitToFirstFixedWidthCell",e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new Ne("w:underlineTabInNumList",e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new Ne("w:displayHangulFixedWidth",e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new Ne("w:splitPgBreakAndParaMark",e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new Ne("w:doNotVertAlignCellWithSp",e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new Ne("w:doNotBreakConstrainedForcedTable",e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new Ne("w:doNotVertAlignInTxbx",e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new Ne("w:useAnsiKerningPairs",e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new Ne("w:cachedColBalance",e.cachedColumnBalance))}}class QI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class KI extends ve{constructor(e){var n,r,i,o;super("w:settings"),this.root.push(new QI({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new Ne("w:displayBackgroundShape",!0)),e.trackRevisions!==void 0&&this.root.push(new Ne("w:trackRevisions",e.trackRevisions)),e.evenAndOddHeaders!==void 0&&this.root.push(new Ne("w:evenAndOddHeaders",e.evenAndOddHeaders)),e.updateFields!==void 0&&this.root.push(new Ne("w:updateFields",e.updateFields)),e.defaultTabStop!==void 0&&this.root.push(new Rf("w:defaultTabStop",e.defaultTabStop)),this.root.push(new kI(ua(dt({},(n=e.compatibility)!=null?n:{}),{version:(o=(i=(r=e.compatibility)==null?void 0:r.version)!=null?i:e.compatibilityModeVersion)!=null?o:15})))}}class C2 extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{val:"w:val"})}}class HI extends ve{constructor(e){super("w:name"),this.root.push(new C2({val:e}))}}class GI extends ve{constructor(e){super("w:uiPriority"),this.root.push(new C2({val:Nn(e)}))}}class JI extends Ue{constructor(){super(...arguments),be(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class A2 extends ve{constructor(e,n){super("w:style"),this.root.push(new JI(e)),n.name&&this.root.push(new HI(n.name)),n.basedOn&&this.root.push(new lo("w:basedOn",n.basedOn)),n.next&&this.root.push(new lo("w:next",n.next)),n.link&&this.root.push(new lo("w:link",n.link)),n.uiPriority!==void 0&&this.root.push(new GI(n.uiPriority)),n.semiHidden!==void 0&&this.root.push(new Ne("w:semiHidden",n.semiHidden)),n.unhideWhenUsed!==void 0&&this.root.push(new Ne("w:unhideWhenUsed",n.unhideWhenUsed)),n.quickFormat!==void 0&&this.root.push(new Ne("w:qFormat",n.quickFormat))}}class Wu extends A2{constructor(e){super({type:"paragraph",styleId:e.id},e),be(this,"paragraphProperties"),be(this,"runProperties"),this.paragraphProperties=new pa(e.paragraph),this.runProperties=new vo(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class Xu extends A2{constructor(e){super({type:"character",styleId:e.id},dt({uiPriority:99,unhideWhenUsed:!0},e)),be(this,"runProperties"),this.runProperties=new vo(e.run),this.root.push(this.runProperties)}}class Yi extends Wu{constructor(e){super(dt({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}}class zI extends Yi{constructor(e){super(dt({id:"Title",name:"Title"},e))}}class $I extends Yi{constructor(e){super(dt({id:"Heading1",name:"Heading 1"},e))}}class jI extends Yi{constructor(e){super(dt({id:"Heading2",name:"Heading 2"},e))}}class qI extends Yi{constructor(e){super(dt({id:"Heading3",name:"Heading 3"},e))}}class eN extends Yi{constructor(e){super(dt({id:"Heading4",name:"Heading 4"},e))}}class tN extends Yi{constructor(e){super(dt({id:"Heading5",name:"Heading 5"},e))}}class nN extends Yi{constructor(e){super(dt({id:"Heading6",name:"Heading 6"},e))}}class rN extends Yi{constructor(e){super(dt({id:"Strong",name:"Strong"},e))}}class iN extends Wu{constructor(e){super(dt({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}}class oN extends Wu{constructor(e){super(dt({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:xd.AUTO}},run:{size:20}},e))}}class aN extends Xu{constructor(e){super(dt({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class sN extends Xu{constructor(e){super(dt({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}}class cN extends Xu{constructor(e){super(dt({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:g2.SINGLE}}},e))}}class wd extends ve{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(const n of e.importedStyles)this.root.push(n);if(e.paragraphStyles)for(const n of e.paragraphStyles)this.root.push(new Wu(n));if(e.characterStyles)for(const n of e.characterStyles)this.root.push(new Xu(n))}}class uN extends ve{constructor(e){super("w:pPrDefault"),this.root.push(new pa(e))}}class lN extends ve{constructor(e){super("w:rPrDefault"),this.root.push(new vo(e))}}class hN extends ve{constructor(e){super("w:docDefaults"),be(this,"runPropertiesDefaults"),be(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new lN(e.run),this.paragraphPropertiesDefaults=new uN(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class dN{newInstance(e){const n=u2.xml2js(e,{compact:!1});let r;for(const a of n.elements||[])a.name==="w:styles"&&(r=a);if(r===void 0)throw new Error("can not find styles element");const i=r.elements||[];return new wd({initialStyles:new zO(r.attributes),importedStyles:i.map(a=>gf(a))})}}class Hg{newInstance(e={}){var n;return{initialStyles:new As({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new hN((n=e.document)!=null?n:{}),new zI(dt({run:{size:56}},e.title)),new $I(dt({run:{color:"2E74B5",size:32}},e.heading1)),new jI(dt({run:{color:"2E74B5",size:26}},e.heading2)),new qI(dt({run:{color:"1F4D78",size:24}},e.heading3)),new eN(dt({run:{color:"2E74B5",italics:!0}},e.heading4)),new tN(dt({run:{color:"2E74B5"}},e.heading5)),new nN(dt({run:{color:"1F4D78"}},e.heading6)),new rN(dt({run:{bold:!0}},e.strong)),new iN(e.listParagraph||{}),new cN(e.hyperlink||{}),new aN(e.footnoteReference||{}),new oN(e.footnoteText||{}),new sN(e.footnoteTextChar||{})]}}}const Fc=({id:t,fontKey:e,subsetted:n},r)=>new Fn({name:r,attributes:dt({id:{key:"r:id",value:t}},e?{fontKey:{key:"w:fontKey",value:`{${e}}`}}:{}),children:[...n?[new Ne("w:subsetted",n)]:[]]}),fN=({name:t,altName:e,panose1:n,charset:r,family:i,notTrueType:o,pitch:a,sig:s,embedRegular:c,embedBold:u,embedItalic:l,embedBoldItalic:h})=>new Fn({name:"w:font",attributes:{name:{key:"w:name",value:t}},children:[...e?[Ka("w:altName",e)]:[],...n?[Ka("w:panose1",n)]:[],...r?[Ka("w:charset",r)]:[],...i?[Ka("w:family",i)]:[],...o?[new Ne("w:notTrueType",o)]:[],...a?[Ka("w:pitch",a)]:[],...s?[new Fn({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:s.usb0},usb1:{key:"w:usb1",value:s.usb1},usb2:{key:"w:usb2",value:s.usb2},usb3:{key:"w:usb3",value:s.usb3},csb0:{key:"w:csb0",value:s.csb0},csb1:{key:"w:csb1",value:s.csb1}}})]:[],...c?[Fc(c,"w:embedRegular")]:[],...u?[Fc(u,"w:embedBold")]:[],...l?[Fc(l,"w:embedItalic")]:[],...h?[Fc(h,"w:embedBoldItalic")]:[]]}),pN=({name:t,index:e,fontKey:n,characterSet:r})=>fN({name:t,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:r,family:"auto",pitch:"variable",embedRegular:{fontKey:n,id:`rId${e}`}}),gN=t=>new Fn({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:t.map((e,n)=>pN({name:e.name,index:n+1,fontKey:e.fontKey}))});class mN{constructor(e){be(this,"fontTable"),be(this,"relationships"),be(this,"fontOptionsWithKey",[]),this.options=e,this.fontOptionsWithKey=e.map(n=>ua(dt({},n),{fontKey:A_()})),this.fontTable=gN(this.fontOptionsWithKey),this.relationships=new Oa;for(let n=0;n<e.length;n++)this.relationships.createRelationship(n+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",`fonts/${e[n].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}class RN{constructor(e){be(this,"currentRelationshipId",1),be(this,"documentWrapper"),be(this,"headers",[]),be(this,"footers",[]),be(this,"coreProperties"),be(this,"numbering"),be(this,"media"),be(this,"fileRelationships"),be(this,"footnotesWrapper"),be(this,"settings"),be(this,"contentTypes"),be(this,"customProperties"),be(this,"appProperties"),be(this,"styles"),be(this,"comments"),be(this,"fontWrapper");var n,r,i,o,a,s,c,u;if(this.coreProperties=new nI(ua(dt({},e),{creator:(n=e.creator)!=null?n:"Un-named",revision:(r=e.revision)!=null?r:1,lastModifiedBy:(i=e.lastModifiedBy)!=null?i:"Un-named"})),this.numbering=new YI(e.numbering?e.numbering:{config:[]}),this.comments=new VE((o=e.comments)!=null?o:{children:[]}),this.fileRelationships=new Oa,this.customProperties=new sI((a=e.customProperties)!=null?a:[]),this.appProperties=new $3,this.footnotesWrapper=new bI,this.contentTypes=new tI,this.documentWrapper=new N2({background:e.background}),this.settings=new KI({compatibilityModeVersion:e.compatabilityModeVersion,compatibility:e.compatibility,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,trackRevisions:(s=e.features)==null?void 0:s.trackRevisions,updateFields:(c=e.features)==null?void 0:c.updateFields,defaultTabStop:e.defaultTabStop}),this.media=new SI,e.externalStyles){const l=new dN;this.styles=l.newInstance(e.externalStyles)}else if(e.styles){const h=new Hg().newInstance(e.styles.default);this.styles=new wd(dt(dt({},h),e.styles))}else{const l=new Hg;this.styles=new wd(l.newInstance())}this.addDefaultRelationships();for(const l of e.sections)this.addSection(l);if(e.footnotes)for(const l in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(l),e.footnotes[l].children);this.fontWrapper=new mN((u=e.fonts)!=null?u:[])}addSection({headers:e={},footers:n={},children:r,properties:i}){this.documentWrapper.View.Body.addSection(ua(dt({},i),{headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footerWrapperGroup:{default:n.default?this.createFooter(n.default):void 0,first:n.first?this.createFooter(n.first):void 0,even:n.even?this.createFooter(n.even):void 0}}));for(const o of r)this.documentWrapper.View.add(o)}createHeader(e){const n=new TI(this.media,this.currentRelationshipId++);for(const r of e.options.children)n.add(r);return this.addHeaderToDocument(n),n}createFooter(e){const n=new lI(this.media,this.currentRelationshipId++);for(const r of e.options.children)n.add(r);return this.addFooterToDocument(n),n}addHeaderToDocument(e,n=aa.DEFAULT){this.headers.push({header:e,type:n}),this.documentWrapper.Relationships.createRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,n=aa.DEFAULT){this.footers.push({footer:e,type:n}),this.documentWrapper.Relationships.createRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.createRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml")}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}class yN{constructor(e={children:[]}){be(this,"options"),this.options=e}}class vN{constructor(e={children:[]}){be(this,"options"),this.options=e}}function Pc(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var U2={exports:{}};(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function a(u,l){if(!i[u]){if(!r[u]){var h=typeof Pc=="function"&&Pc;if(!l&&h)return h(u,!0);if(s)return s(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var f=i[u]={exports:{}};r[u][0].call(f.exports,function(p){var g=r[u][1][p];return a(g||p)},f,f.exports,n,r,i,o)}return i[u].exports}for(var s=typeof Pc=="function"&&Pc,c=0;c<o.length;c++)a(o[c]);return a}({1:[function(n,r,i){var o=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(c){for(var u,l,h,d,f,p,g,y=[],R=0,m=c.length,v=m,x=o.getTypeOf(c)!=="string";R<c.length;)v=m-R,h=x?(u=c[R++],l=R<m?c[R++]:0,R<m?c[R++]:0):(u=c.charCodeAt(R++),l=R<m?c.charCodeAt(R++):0,R<m?c.charCodeAt(R++):0),d=u>>2,f=(3&u)<<4|l>>4,p=1<v?(15&l)<<2|h>>6:64,g=2<v?63&h:64,y.push(s.charAt(d)+s.charAt(f)+s.charAt(p)+s.charAt(g));return y.join("")},i.decode=function(c){var u,l,h,d,f,p,g=0,y=0,R="data:";if(c.substr(0,R.length)===R)throw new Error("Invalid base64 input, it looks like a data url.");var m,v=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===s.charAt(64)&&v--,c.charAt(c.length-2)===s.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(m=a.uint8array?new Uint8Array(0|v):new Array(0|v);g<c.length;)u=s.indexOf(c.charAt(g++))<<2|(d=s.indexOf(c.charAt(g++)))>>4,l=(15&d)<<4|(f=s.indexOf(c.charAt(g++)))>>2,h=(3&f)<<6|(p=s.indexOf(c.charAt(g++))),m[y++]=u,f!==64&&(m[y++]=l),p!==64&&(m[y++]=h);return m}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),c=n("./stream/DataLengthProbe");function u(l,h,d,f,p){this.compressedSize=l,this.uncompressedSize=h,this.crc32=d,this.compression=f,this.compressedContent=p}u.prototype={getContentWorker:function(){var l=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),h=this;return l.on("end",function(){if(this.streamInfo.data_length!==h.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),l},getCompressedWorker:function(){return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(l,h,d){return l.pipe(new s).pipe(new c("uncompressedSize")).pipe(h.compressWorker(d)).pipe(new c("compressedSize")).withStreamInfo("compression",h)},r.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),a=function(){for(var s,c=[],u=0;u<256;u++){s=u;for(var l=0;l<8;l++)s=1&s?3988292384^s>>>1:s>>>1;c[u]=s}return c}();r.exports=function(s,c){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(u,l,h,d){var f=a,p=d+h;u^=-1;for(var g=d;g<p;g++)u=u>>>8^f[255&(u^l[g])];return-1^u}(0|c,s,s.length,0):function(u,l,h,d){var f=a,p=d+h;u^=-1;for(var g=d;g<p;g++)u=u>>>8^f[255&(u^l.charCodeAt(g))];return-1^u}(0|c,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise!="undefined"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",a=n("pako"),s=n("./utils"),c=n("./stream/GenericWorker"),u=o?"uint8array":"array";function l(h,d){c.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=d,this.meta={}}i.magic="\b\0",s.inherits(l,c),l.prototype.processChunk=function(h){this.meta=h.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(u,h.data),!1)},l.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var h=this;this._pako.onData=function(d){h.push({data:d,meta:h.meta})}},i.compressWorker=function(h){return new l("Deflate",h)},i.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(f,p){var g,y="";for(g=0;g<p;g++)y+=String.fromCharCode(255&f),f>>>=8;return y}function a(f,p,g,y,R,m){var v,x,O=f.file,E=f.compression,N=m!==u.utf8encode,M=s.transformTo("string",m(O.name)),_=s.transformTo("string",u.utf8encode(O.name)),B=O.comment,q=s.transformTo("string",m(B)),T=s.transformTo("string",u.utf8encode(B)),I=_.length!==O.name.length,b=T.length!==B.length,P="",U="",X="",V=O.dir,k=O.date,re={crc32:0,compressedSize:0,uncompressedSize:0};p&&!g||(re.crc32=f.crc32,re.compressedSize=f.compressedSize,re.uncompressedSize=f.uncompressedSize);var Z=0;p&&(Z|=8),N||!I&&!b||(Z|=2048);var C=0,ne=0;V&&(C|=16),R==="UNIX"?(ne=798,C|=function(ue,ce){var W=ue;return ue||(W=ce?16893:33204),(65535&W)<<16}(O.unixPermissions,V)):(ne=20,C|=function(ue){return 63&(ue||0)}(O.dosPermissions)),v=k.getUTCHours(),v<<=6,v|=k.getUTCMinutes(),v<<=5,v|=k.getUTCSeconds()/2,x=k.getUTCFullYear()-1980,x<<=4,x|=k.getUTCMonth()+1,x<<=5,x|=k.getUTCDate(),I&&(U=o(1,1)+o(l(M),4)+_,P+="up"+o(U.length,2)+U),b&&(X=o(1,1)+o(l(q),4)+T,P+="uc"+o(X.length,2)+X);var oe="";return oe+=`
|
|
\0`,oe+=o(Z,2),oe+=E.magic,oe+=o(v,2),oe+=o(x,2),oe+=o(re.crc32,4),oe+=o(re.compressedSize,4),oe+=o(re.uncompressedSize,4),oe+=o(M.length,2),oe+=o(P.length,2),{fileRecord:h.LOCAL_FILE_HEADER+oe+M+P,dirRecord:h.CENTRAL_FILE_HEADER+o(ne,2)+oe+o(q.length,2)+"\0\0\0\0"+o(C,4)+o(y,4)+M+P+q}}var s=n("../utils"),c=n("../stream/GenericWorker"),u=n("../utf8"),l=n("../crc32"),h=n("../signature");function d(f,p,g,y){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=g,this.encodeFileName=y,this.streamFiles=f,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,c),d.prototype.push=function(f){var p=f.meta.percent||0,g=this.entriesCount,y=this._sources.length;this.accumulate?this.contentBuffer.push(f):(this.bytesWritten+=f.data.length,c.prototype.push.call(this,{data:f.data,meta:{currentFile:this.currentFile,percent:g?(p+100*(g-y-1))/g:100}}))},d.prototype.openedSource=function(f){this.currentSourceOffset=this.bytesWritten,this.currentFile=f.file.name;var p=this.streamFiles&&!f.file.dir;if(p){var g=a(f,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:g.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(f){this.accumulate=!1;var p=this.streamFiles&&!f.file.dir,g=a(f,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(g.dirRecord),p)this.push({data:function(y){return h.DATA_DESCRIPTOR+o(y.crc32,4)+o(y.compressedSize,4)+o(y.uncompressedSize,4)}(f),meta:{percent:100}});else for(this.push({data:g.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var f=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var g=this.bytesWritten-f,y=function(R,m,v,x,O){var E=s.transformTo("string",O(x));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(R,2)+o(R,2)+o(m,4)+o(v,4)+o(E.length,2)+E}(this.dirRecords.length,g,f,this.zipComment,this.encodeFileName);this.push({data:y,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(f){this._sources.push(f);var p=this;return f.on("data",function(g){p.processChunk(g)}),f.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),f.on("error",function(g){p.error(g)}),this},d.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(f){var p=this._sources;if(!c.prototype.error.call(this,f))return!1;for(var g=0;g<p.length;g++)try{p[g].error(f)}catch{}return!0},d.prototype.lock=function(){c.prototype.lock.call(this);for(var f=this._sources,p=0;p<f.length;p++)f[p].lock()},r.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),a=n("./ZipFileWorker");i.generateWorker=function(s,c,u){var l=new a(c.streamFiles,u,c.platform,c.encodeFileName),h=0;try{s.forEach(function(d,f){h++;var p=function(m,v){var x=m||v,O=o[x];if(!O)throw new Error(x+" is not a valid compression method !");return O}(f.options.compression,c.compression),g=f.options.compressionOptions||c.compressionOptions||{},y=f.dir,R=f.date;f._compressWorker(p,g).withStreamInfo("file",{name:d,dir:y,date:R,comment:f.comment||"",unixPermissions:f.unixPermissions,dosPermissions:f.dosPermissions}).pipe(l)}),l.entriesCount=h}catch(d){l.error(d)}return l}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;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 a=new o;for(var s in this)typeof this[s]!="function"&&(a[s]=this[s]);return a}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(a,s){return new o().loadAsync(a,s)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),a=n("./external"),s=n("./utf8"),c=n("./zipEntries"),u=n("./stream/Crc32Probe"),l=n("./nodejsUtils");function h(d){return new a.Promise(function(f,p){var g=d.decompressed.getContentWorker().pipe(new u);g.on("error",function(y){p(y)}).on("end",function(){g.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):f()}).resume()})}r.exports=function(d,f){var p=this;return f=o.extend(f||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),l.isNode&&l.isStream(d)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",d,!0,f.optimizedBinaryString,f.base64).then(function(g){var y=new c(f);return y.load(g),y}).then(function(g){var y=[a.Promise.resolve(g)],R=g.files;if(f.checkCRC32)for(var m=0;m<R.length;m++)y.push(h(R[m]));return a.Promise.all(y)}).then(function(g){for(var y=g.shift(),R=y.files,m=0;m<R.length;m++){var v=R[m],x=v.fileNameStr,O=o.resolve(v.fileNameStr);p.file(O,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:f.createFolders}),v.dir||(p.file(O).unsafeOriginalName=x)}return y.zipComment.length&&(p.comment=y.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),a=n("../stream/GenericWorker");function s(c,u){a.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(u)}o.inherits(s,a),s.prototype._bindStream=function(c){var u=this;(this._stream=c).pause(),c.on("data",function(l){u.push({data:l,meta:{percent:0}})}).on("error",function(l){u.isPaused?this.generatedError=l:u.error(l)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},s.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function a(s,c,u){o.call(this,c),this._helper=s;var l=this;s.on("data",function(h,d){l.push(h)||l._helper.pause(),u&&u(d)}).on("error",function(h){l.emit("error",h)}).on("end",function(){l.push(null)})}n("../utils").inherits(a,o),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(o,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,a);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,a)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var a=new Buffer(o);return a.fill(0),a},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(O,E,N){var M,_=s.getTypeOf(E),B=s.extend(N||{},l);B.date=B.date||new Date,B.compression!==null&&(B.compression=B.compression.toUpperCase()),typeof B.unixPermissions=="string"&&(B.unixPermissions=parseInt(B.unixPermissions,8)),B.unixPermissions&&16384&B.unixPermissions&&(B.dir=!0),B.dosPermissions&&16&B.dosPermissions&&(B.dir=!0),B.dir&&(O=R(O)),B.createFolders&&(M=y(O))&&m.call(this,M,!0);var q=_==="string"&&B.binary===!1&&B.base64===!1;N&&N.binary!==void 0||(B.binary=!q),(E instanceof h&&E.uncompressedSize===0||B.dir||!E||E.length===0)&&(B.base64=!1,B.binary=!0,E="",B.compression="STORE",_="string");var T=null;T=E instanceof h||E instanceof c?E:p.isNode&&p.isStream(E)?new g(O,E):s.prepareContent(O,E,B.binary,B.optimizedBinaryString,B.base64);var I=new d(O,T,B);this.files[O]=I}var a=n("./utf8"),s=n("./utils"),c=n("./stream/GenericWorker"),u=n("./stream/StreamHelper"),l=n("./defaults"),h=n("./compressedObject"),d=n("./zipObject"),f=n("./generate"),p=n("./nodejsUtils"),g=n("./nodejs/NodejsStreamInputAdapter"),y=function(O){O.slice(-1)==="/"&&(O=O.substring(0,O.length-1));var E=O.lastIndexOf("/");return 0<E?O.substring(0,E):""},R=function(O){return O.slice(-1)!=="/"&&(O+="/"),O},m=function(O,E){return E=E!==void 0?E:l.createFolders,O=R(O),this.files[O]||o.call(this,O,null,{dir:!0,createFolders:E}),this.files[O]};function v(O){return Object.prototype.toString.call(O)==="[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(O){var E,N,M;for(E in this.files)M=this.files[E],(N=E.slice(this.root.length,E.length))&&E.slice(0,this.root.length)===this.root&&O(N,M)},filter:function(O){var E=[];return this.forEach(function(N,M){O(N,M)&&E.push(M)}),E},file:function(O,E,N){if(arguments.length!==1)return O=this.root+O,o.call(this,O,E,N),this;if(v(O)){var M=O;return this.filter(function(B,q){return!q.dir&&M.test(B)})}var _=this.files[this.root+O];return _&&!_.dir?_:null},folder:function(O){if(!O)return this;if(v(O))return this.filter(function(_,B){return B.dir&&O.test(_)});var E=this.root+O,N=m.call(this,E),M=this.clone();return M.root=N.name,M},remove:function(O){O=this.root+O;var E=this.files[O];if(E||(O.slice(-1)!=="/"&&(O+="/"),E=this.files[O]),E&&!E.dir)delete this.files[O];else for(var N=this.filter(function(_,B){return B.name.slice(0,O.length)===O}),M=0;M<N.length;M++)delete this.files[N[M].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(O){var E,N={};try{if((N=s.extend(O||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=N.type.toLowerCase(),N.compression=N.compression.toUpperCase(),N.type==="binarystring"&&(N.type="string"),!N.type)throw new Error("No output type specified.");s.checkSupport(N.type),N.platform!=="darwin"&&N.platform!=="freebsd"&&N.platform!=="linux"&&N.platform!=="sunos"||(N.platform="UNIX"),N.platform==="win32"&&(N.platform="DOS");var M=N.comment||this.comment||"";E=f.generateWorker(this,N,M)}catch(_){(E=new c("error")).error(_)}return new u(E,N.type||"string",N.mimeType)},generateAsync:function(O,E){return this.generateInternalStream(O).accumulate(E)},generateNodeStream:function(O,E){return(O=O||{}).type||(O.type="nodebuffer"),this.generateInternalStream(O).toNodejsStream(E)}};r.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(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s);for(var c=0;c<this.data.length;c++)s[c]=255&s[c]}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var c=s.charCodeAt(0),u=s.charCodeAt(1),l=s.charCodeAt(2),h=s.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===c&&this.data[d+1]===u&&this.data[d+2]===l&&this.data[d+3]===h)return d-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var c=s.charCodeAt(0),u=s.charCodeAt(1),l=s.charCodeAt(2),h=s.charCodeAt(3),d=this.readData(4);return c===d[0]&&u===d[1]&&l===d[2]&&h===d[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function a(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var c,u=0;for(this.checkOffset(s),c=this.index+s-1;c>=this.index;c--)u=(u<<8)+this.byteAt(c);return this.index+=s,u},readString:function(s){return o.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),c=n("./StringReader"),u=n("./NodeBufferReader"),l=n("./Uint8ArrayReader");r.exports=function(h){var d=o.getTypeOf(h);return o.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new u(h):a.uint8array?new l(o.transformTo("uint8array",h)):new s(o.transformTo("array",h)):new c(h)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),a=n("../utils");function s(c){o.call(this,"ConvertWorker to "+c),this.destType=c}a.inherits(s,o),s.prototype.processChunk=function(c){this.push({data:a.transformTo(this.destType,c.data),meta:c.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),a=n("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,o),s.prototype.processChunk=function(c){this.streamInfo.crc32=a(c.data,this.streamInfo.crc32||0),this.push(c)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}o.inherits(s,a),s.prototype.processChunk=function(c){if(c){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+c.data.length}a.prototype.processChunk.call(this,c)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(l){u.dataIsReady=!0,u.data=l,u.max=l&&l.length||0,u.type=o.getTypeOf(l),u.isPaused||u._tickAndRepeat()},function(l){u.error(l)})}o.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,u);break;case"uint8array":c=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":c=this.data.slice(this.index,u)}return this.index=u,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(a){this.name=a||"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}o.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var c=0;c<this._listeners[a].length;c++)this._listeners[a][c].call(this,s)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var s=this;return a.on("data",function(c){s.processChunk(c)}),a.on("end",function(){s.end()}),a.on("error",function(c){s.error(c)}),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 a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,s){return this.extraStreamInfo[a]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},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 a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),c=n("../base64"),u=n("../support"),l=n("../external"),h=null;if(u.nodestream)try{h=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,g){return new l.Promise(function(y,R){var m=[],v=p._internalType,x=p._outputType,O=p._mimeType;p.on("data",function(E,N){m.push(E),g&&g(N)}).on("error",function(E){m=[],R(E)}).on("end",function(){try{var E=function(N,M,_){switch(N){case"blob":return o.newBlob(o.transformTo("arraybuffer",M),_);case"base64":return c.encode(M);default:return o.transformTo(N,M)}}(x,function(N,M){var _,B=0,q=null,T=0;for(_=0;_<M.length;_++)T+=M[_].length;switch(N){case"string":return M.join("");case"array":return Array.prototype.concat.apply([],M);case"uint8array":for(q=new Uint8Array(T),_=0;_<M.length;_++)q.set(M[_],B),B+=M[_].length;return q;case"nodebuffer":return Buffer.concat(M);default:throw new Error("concat : unsupported type '"+N+"'")}}(v,m),O);y(E)}catch(N){R(N)}m=[]}).resume()})}function f(p,g,y){var R=g;switch(g){case"blob":case"arraybuffer":R="uint8array";break;case"base64":R="string"}try{this._internalType=R,this._outputType=g,this._mimeType=y,o.checkSupport(R),this._worker=p.pipe(new a(R)),p.lock()}catch(m){this._worker=new s("error"),this._worker.error(m)}}f.prototype={accumulate:function(p){return d(this,p)},on:function(p,g){var y=this;return p==="data"?this._worker.on(p,function(R){g.call(y,R.data,R.meta)}):this._worker.on(p,function(){o.delay(g,arguments,y)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:this._outputType!=="nodebuffer"},p)}},r.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",i.nodebuffer=typeof Buffer!="undefined",i.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(o),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),c=n("./stream/GenericWorker"),u=new Array(256),l=0;l<256;l++)u[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;u[254]=u[254]=1;function h(){c.call(this,"utf-8 decode"),this.leftOver=null}function d(){c.call(this,"utf-8 encode")}i.utf8encode=function(f){return a.nodebuffer?s.newBufferFrom(f,"utf-8"):function(p){var g,y,R,m,v,x=p.length,O=0;for(m=0;m<x;m++)(64512&(y=p.charCodeAt(m)))==55296&&m+1<x&&(64512&(R=p.charCodeAt(m+1)))==56320&&(y=65536+(y-55296<<10)+(R-56320),m++),O+=y<128?1:y<2048?2:y<65536?3:4;for(g=a.uint8array?new Uint8Array(O):new Array(O),m=v=0;v<O;m++)(64512&(y=p.charCodeAt(m)))==55296&&m+1<x&&(64512&(R=p.charCodeAt(m+1)))==56320&&(y=65536+(y-55296<<10)+(R-56320),m++),y<128?g[v++]=y:(y<2048?g[v++]=192|y>>>6:(y<65536?g[v++]=224|y>>>12:(g[v++]=240|y>>>18,g[v++]=128|y>>>12&63),g[v++]=128|y>>>6&63),g[v++]=128|63&y);return g}(f)},i.utf8decode=function(f){return a.nodebuffer?o.transformTo("nodebuffer",f).toString("utf-8"):function(p){var g,y,R,m,v=p.length,x=new Array(2*v);for(g=y=0;g<v;)if((R=p[g++])<128)x[y++]=R;else if(4<(m=u[R]))x[y++]=65533,g+=m-1;else{for(R&=m===2?31:m===3?15:7;1<m&&g<v;)R=R<<6|63&p[g++],m--;1<m?x[y++]=65533:R<65536?x[y++]=R:(R-=65536,x[y++]=55296|R>>10&1023,x[y++]=56320|1023&R)}return x.length!==y&&(x.subarray?x=x.subarray(0,y):x.length=y),o.applyFromCharCode(x)}(f=o.transformTo(a.uint8array?"uint8array":"array",f))},o.inherits(h,c),h.prototype.processChunk=function(f){var p=o.transformTo(a.uint8array?"uint8array":"array",f.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var g=p;(p=new Uint8Array(g.length+this.leftOver.length)).set(this.leftOver,0),p.set(g,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var y=function(m,v){var x;for((v=v||m.length)>m.length&&(v=m.length),x=v-1;0<=x&&(192&m[x])==128;)x--;return x<0||x===0?v:x+u[m[x]]>v?x:v}(p),R=p;y!==p.length&&(a.uint8array?(R=p.subarray(0,y),this.leftOver=p.subarray(y,p.length)):(R=p.slice(0,y),this.leftOver=p.slice(y,p.length))),this.push({data:i.utf8decode(R),meta:f.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=h,o.inherits(d,c),d.prototype.processChunk=function(f){this.push({data:i.utf8encode(f.data),meta:f.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),c=n("./external");function u(g){return g}function l(g,y){for(var R=0;R<g.length;++R)y[R]=255&g.charCodeAt(R);return y}n("setimmediate"),i.newBlob=function(g,y){i.checkSupport("blob");try{return new Blob([g],{type:y})}catch{try{var R=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return R.append(g),R.getBlob(y)}catch{throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(g,y,R){var m=[],v=0,x=g.length;if(x<=R)return String.fromCharCode.apply(null,g);for(;v<x;)y==="array"||y==="nodebuffer"?m.push(String.fromCharCode.apply(null,g.slice(v,Math.min(v+R,x)))):m.push(String.fromCharCode.apply(null,g.subarray(v,Math.min(v+R,x)))),v+=R;return m.join("")},stringifyByChar:function(g){for(var y="",R=0;R<g.length;R++)y+=String.fromCharCode(g[R]);return y},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function d(g){var y=65536,R=i.getTypeOf(g),m=!0;if(R==="uint8array"?m=h.applyCanBeUsed.uint8array:R==="nodebuffer"&&(m=h.applyCanBeUsed.nodebuffer),m)for(;1<y;)try{return h.stringifyByChunk(g,R,y)}catch{y=Math.floor(y/2)}return h.stringifyByChar(g)}function f(g,y){for(var R=0;R<g.length;R++)y[R]=g[R];return y}i.applyFromCharCode=d;var p={};p.string={string:u,array:function(g){return l(g,new Array(g.length))},arraybuffer:function(g){return p.string.uint8array(g).buffer},uint8array:function(g){return l(g,new Uint8Array(g.length))},nodebuffer:function(g){return l(g,s.allocBuffer(g.length))}},p.array={string:d,array:u,arraybuffer:function(g){return new Uint8Array(g).buffer},uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(g)}},p.arraybuffer={string:function(g){return d(new Uint8Array(g))},array:function(g){return f(new Uint8Array(g),new Array(g.byteLength))},arraybuffer:u,uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(new Uint8Array(g))}},p.uint8array={string:d,array:function(g){return f(g,new Array(g.length))},arraybuffer:function(g){return g.buffer},uint8array:u,nodebuffer:function(g){return s.newBufferFrom(g)}},p.nodebuffer={string:d,array:function(g){return f(g,new Array(g.length))},arraybuffer:function(g){return p.nodebuffer.uint8array(g).buffer},uint8array:function(g){return f(g,new Uint8Array(g.length))},nodebuffer:u},i.transformTo=function(g,y){if(y=y||"",!g)return y;i.checkSupport(g);var R=i.getTypeOf(y);return p[R][g](y)},i.resolve=function(g){for(var y=g.split("/"),R=[],m=0;m<y.length;m++){var v=y[m];v==="."||v===""&&m!==0&&m!==y.length-1||(v===".."?R.pop():R.push(v))}return R.join("/")},i.getTypeOf=function(g){return typeof g=="string"?"string":Object.prototype.toString.call(g)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(g)?"nodebuffer":o.uint8array&&g instanceof Uint8Array?"uint8array":o.arraybuffer&&g instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(g){if(!o[g.toLowerCase()])throw new Error(g+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(g){var y,R,m="";for(R=0;R<(g||"").length;R++)m+="\\x"+((y=g.charCodeAt(R))<16?"0":"")+y.toString(16).toUpperCase();return m},i.delay=function(g,y,R){setImmediate(function(){g.apply(R||null,y||[])})},i.inherits=function(g,y){function R(){}R.prototype=y.prototype,g.prototype=new R},i.extend=function(){var g,y,R={};for(g=0;g<arguments.length;g++)for(y in arguments[g])Object.prototype.hasOwnProperty.call(arguments[g],y)&&R[y]===void 0&&(R[y]=arguments[g][y]);return R},i.prepareContent=function(g,y,R,m,v){return c.Promise.resolve(y).then(function(x){return o.blob&&(x instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(x))!==-1)&&typeof FileReader!="undefined"?new c.Promise(function(O,E){var N=new FileReader;N.onload=function(M){O(M.target.result)},N.onerror=function(M){E(M.target.error)},N.readAsArrayBuffer(x)}):x}).then(function(x){var O=i.getTypeOf(x);return O?(O==="arraybuffer"?x=i.transformTo("uint8array",x):O==="string"&&(v?x=a.decode(x):R&&m!==!0&&(x=function(E){return l(E,o.uint8array?new Uint8Array(E.length):new Array(E.length))}(x))),x):c.Promise.reject(new Error("Can't read the data of '"+g+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./signature"),c=n("./zipEntry"),u=n("./support");function l(h){this.files=[],this.loadOptions=h}l.prototype={checkSignature:function(h){if(!this.reader.readAndCheckSignature(h)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(d)+", expected "+a.pretty(h)+")")}},isSignature:function(h,d){var f=this.reader.index;this.reader.setIndex(h);var p=this.reader.readString(4)===d;return this.reader.setIndex(f),p},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 h=this.reader.readData(this.zipCommentLength),d=u.uint8array?"uint8array":"array",f=a.transformTo(d,h);this.zipComment=this.loadOptions.decodeFileName(f)},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 h,d,f,p=this.zip64EndOfCentralSize-44;0<p;)h=this.reader.readInt(2),d=this.reader.readInt(4),f=this.reader.readData(d),this.zip64ExtensibleData[h]={id:h,length:d,value:f}},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 h,d;for(h=0;h<this.files.length;h++)d=this.files[h],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var h;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(h=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(h);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 h=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(h<0)throw this.isSignature(0,s.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(h);var d=h;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(h=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(h),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.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(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var f=this.centralDirOffset+this.centralDirSize;this.zip64&&(f+=20,f+=12+this.zip64EndOfCentralSize);var p=d-f;if(0<p)this.isSignature(d,s.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(h){this.reader=o(h)},load:function(h){this.prepareReader(h),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./compressedObject"),c=n("./crc32"),u=n("./utf8"),l=n("./compressions"),h=n("./support");function d(f,p){this.options=f,this.loadOptions=p}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(f){var p,g;if(f.skip(22),this.fileNameLength=f.readInt(2),g=f.readInt(2),this.fileName=f.readData(this.fileNameLength),f.skip(g),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((p=function(y){for(var R in l)if(Object.prototype.hasOwnProperty.call(l,R)&&l[R].magic===y)return l[R];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,p,f.readData(this.compressedSize))},readCentralPart:function(f){this.versionMadeBy=f.readInt(2),f.skip(2),this.bitFlag=f.readInt(2),this.compressionMethod=f.readString(2),this.date=f.readDate(),this.crc32=f.readInt(4),this.compressedSize=f.readInt(4),this.uncompressedSize=f.readInt(4);var p=f.readInt(2);if(this.extraFieldsLength=f.readInt(2),this.fileCommentLength=f.readInt(2),this.diskNumberStart=f.readInt(2),this.internalFileAttributes=f.readInt(2),this.externalFileAttributes=f.readInt(4),this.localHeaderOffset=f.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");f.skip(p),this.readExtraFields(f),this.parseZIP64ExtraField(f),this.fileComment=f.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var f=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),f==0&&(this.dosPermissions=63&this.externalFileAttributes),f==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var f=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=f.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=f.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=f.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=f.readInt(4))}},readExtraFields:function(f){var p,g,y,R=f.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});f.index+4<R;)p=f.readInt(2),g=f.readInt(2),y=f.readData(g),this.extraFields[p]={id:p,length:g,value:y};f.setIndex(R)},handleUTF8:function(){var f=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var g=a.transformTo(f,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(g)}var y=this.findExtraFieldUnicodeComment();if(y!==null)this.fileCommentStr=y;else{var R=a.transformTo(f,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(R)}}},findExtraFieldUnicodePath:function(){var f=this.extraFields[28789];if(f){var p=o(f.value);return p.readInt(1)!==1||c(this.fileName)!==p.readInt(4)?null:u.utf8decode(p.readData(f.length-5))}return null},findExtraFieldUnicodeComment:function(){var f=this.extraFields[25461];if(f){var p=o(f.value);return p.readInt(1)!==1||c(this.fileComment)!==p.readInt(4)?null:u.utf8decode(p.readData(f.length-5))}return null}},r.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(p,g,y){this.name=p,this.dir=y.dir,this.date=y.date,this.comment=y.comment,this.unixPermissions=y.unixPermissions,this.dosPermissions=y.dosPermissions,this._data=g,this._dataBinary=y.binary,this.options={compression:y.compression,compressionOptions:y.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),c=n("./utf8"),u=n("./compressedObject"),l=n("./stream/GenericWorker");o.prototype={internalStream:function(p){var g=null,y="string";try{if(!p)throw new Error("No output type specified.");var R=(y=p.toLowerCase())==="string"||y==="text";y!=="binarystring"&&y!=="text"||(y="string"),g=this._decompressWorker();var m=!this._dataBinary;m&&!R&&(g=g.pipe(new c.Utf8EncodeWorker)),!m&&R&&(g=g.pipe(new c.Utf8DecodeWorker))}catch(v){(g=new l("error")).error(v)}return new a(g,y,"")},async:function(p,g){return this.internalStream(p).accumulate(g)},nodeStream:function(p,g){return this.internalStream(p||"nodebuffer").toNodejsStream(g)},_compressWorker:function(p,g){if(this._data instanceof u&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var y=this._decompressWorker();return this._dataBinary||(y=y.pipe(new c.Utf8EncodeWorker)),u.createWorkerFrom(y,p,g)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof l?this._data:new s(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<h.length;f++)o.prototype[h[f]]=d;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var a,s,c=o.MutationObserver||o.WebKitMutationObserver;if(c){var u=0,l=new c(p),h=o.document.createTextNode("");l.observe(h,{characterData:!0}),a=function(){h.data=u=++u%2}}else if(o.setImmediate||o.MessageChannel===void 0)a="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var g=o.document.createElement("script");g.onreadystatechange=function(){p(),g.onreadystatechange=null,g.parentNode.removeChild(g),g=null},o.document.documentElement.appendChild(g)}:function(){setTimeout(p,0)};else{var d=new o.MessageChannel;d.port1.onmessage=p,a=function(){d.port2.postMessage(0)}}var f=[];function p(){var g,y;s=!0;for(var R=f.length;R;){for(y=f,f=[],g=-1;++g<R;)y[g]();R=f.length}s=!1}r.exports=function(g){f.push(g)!==1||s||a()}}).call(this,typeof Br!="undefined"?Br:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function a(){}var s={},c=["REJECTED"],u=["FULFILLED"],l=["PENDING"];function h(R){if(typeof R!="function")throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,R!==a&&g(this,R)}function d(R,m,v){this.promise=R,typeof m=="function"&&(this.onFulfilled=m,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function f(R,m,v){o(function(){var x;try{x=m(v)}catch(O){return s.reject(R,O)}x===R?s.reject(R,new TypeError("Cannot resolve promise with itself")):s.resolve(R,x)})}function p(R){var m=R&&R.then;if(R&&(typeof R=="object"||typeof R=="function")&&typeof m=="function")return function(){m.apply(R,arguments)}}function g(R,m){var v=!1;function x(N){v||(v=!0,s.reject(R,N))}function O(N){v||(v=!0,s.resolve(R,N))}var E=y(function(){m(O,x)});E.status==="error"&&x(E.value)}function y(R,m){var v={};try{v.value=R(m),v.status="success"}catch(x){v.status="error",v.value=x}return v}(r.exports=h).prototype.finally=function(R){if(typeof R!="function")return this;var m=this.constructor;return this.then(function(v){return m.resolve(R()).then(function(){return v})},function(v){return m.resolve(R()).then(function(){throw v})})},h.prototype.catch=function(R){return this.then(null,R)},h.prototype.then=function(R,m){if(typeof R!="function"&&this.state===u||typeof m!="function"&&this.state===c)return this;var v=new this.constructor(a);return this.state!==l?f(v,this.state===u?R:m,this.outcome):this.queue.push(new d(v,R,m)),v},d.prototype.callFulfilled=function(R){s.resolve(this.promise,R)},d.prototype.otherCallFulfilled=function(R){f(this.promise,this.onFulfilled,R)},d.prototype.callRejected=function(R){s.reject(this.promise,R)},d.prototype.otherCallRejected=function(R){f(this.promise,this.onRejected,R)},s.resolve=function(R,m){var v=y(p,m);if(v.status==="error")return s.reject(R,v.value);var x=v.value;if(x)g(R,x);else{R.state=u,R.outcome=m;for(var O=-1,E=R.queue.length;++O<E;)R.queue[O].callFulfilled(m)}return R},s.reject=function(R,m){R.state=c,R.outcome=m;for(var v=-1,x=R.queue.length;++v<x;)R.queue[v].callRejected(m);return R},h.resolve=function(R){return R instanceof this?R:s.resolve(new this(a),R)},h.reject=function(R){var m=new this(a);return s.reject(m,R)},h.all=function(R){var m=this;if(Object.prototype.toString.call(R)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=R.length,x=!1;if(!v)return this.resolve([]);for(var O=new Array(v),E=0,N=-1,M=new this(a);++N<v;)_(R[N],N);return M;function _(B,q){m.resolve(B).then(function(T){O[q]=T,++E!==v||x||(x=!0,s.resolve(M,O))},function(T){x||(x=!0,s.reject(M,T))})}},h.race=function(R){var m=this;if(Object.prototype.toString.call(R)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=R.length,x=!1;if(!v)return this.resolve([]);for(var O=-1,E=new this(a);++O<v;)N=R[O],m.resolve(N).then(function(M){x||(x=!0,s.resolve(E,M))},function(M){x||(x=!0,s.reject(E,M))});var N;return E}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/messages"),u=n("./zlib/zstream"),l=Object.prototype.toString,h=0,d=-1,f=0,p=8;function g(R){if(!(this instanceof g))return new g(R);this.options=a.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},R||{});var m=this.options;m.raw&&0<m.windowBits?m.windowBits=-m.windowBits:m.gzip&&0<m.windowBits&&m.windowBits<16&&(m.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var v=o.deflateInit2(this.strm,m.level,m.method,m.windowBits,m.memLevel,m.strategy);if(v!==h)throw new Error(c[v]);if(m.header&&o.deflateSetHeader(this.strm,m.header),m.dictionary){var x;if(x=typeof m.dictionary=="string"?s.string2buf(m.dictionary):l.call(m.dictionary)==="[object ArrayBuffer]"?new Uint8Array(m.dictionary):m.dictionary,(v=o.deflateSetDictionary(this.strm,x))!==h)throw new Error(c[v]);this._dict_set=!0}}function y(R,m){var v=new g(m);if(v.push(R,!0),v.err)throw v.msg||c[v.err];return v.result}g.prototype.push=function(R,m){var v,x,O=this.strm,E=this.options.chunkSize;if(this.ended)return!1;x=m===~~m?m:m===!0?4:0,typeof R=="string"?O.input=s.string2buf(R):l.call(R)==="[object ArrayBuffer]"?O.input=new Uint8Array(R):O.input=R,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new a.Buf8(E),O.next_out=0,O.avail_out=E),(v=o.deflate(O,x))!==1&&v!==h)return this.onEnd(v),!(this.ended=!0);O.avail_out!==0&&(O.avail_in!==0||x!==4&&x!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(O.output,O.next_out))):this.onData(a.shrinkBuf(O.output,O.next_out)))}while((0<O.avail_in||O.avail_out===0)&&v!==1);return x===4?(v=o.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===h):x!==2||(this.onEnd(h),!(O.avail_out=0))},g.prototype.onData=function(R){this.chunks.push(R)},g.prototype.onEnd=function(R){R===h&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg},i.Deflate=g,i.deflate=y,i.deflateRaw=function(R,m){return(m=m||{}).raw=!0,y(R,m)},i.gzip=function(R,m){return(m=m||{}).gzip=!0,y(R,m)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/constants"),u=n("./zlib/messages"),l=n("./zlib/zstream"),h=n("./zlib/gzheader"),d=Object.prototype.toString;function f(g){if(!(this instanceof f))return new f(g);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},g||{});var y=this.options;y.raw&&0<=y.windowBits&&y.windowBits<16&&(y.windowBits=-y.windowBits,y.windowBits===0&&(y.windowBits=-15)),!(0<=y.windowBits&&y.windowBits<16)||g&&g.windowBits||(y.windowBits+=32),15<y.windowBits&&y.windowBits<48&&(15&y.windowBits)==0&&(y.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var R=o.inflateInit2(this.strm,y.windowBits);if(R!==c.Z_OK)throw new Error(u[R]);this.header=new h,o.inflateGetHeader(this.strm,this.header)}function p(g,y){var R=new f(y);if(R.push(g,!0),R.err)throw R.msg||u[R.err];return R.result}f.prototype.push=function(g,y){var R,m,v,x,O,E,N=this.strm,M=this.options.chunkSize,_=this.options.dictionary,B=!1;if(this.ended)return!1;m=y===~~y?y:y===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof g=="string"?N.input=s.binstring2buf(g):d.call(g)==="[object ArrayBuffer]"?N.input=new Uint8Array(g):N.input=g,N.next_in=0,N.avail_in=N.input.length;do{if(N.avail_out===0&&(N.output=new a.Buf8(M),N.next_out=0,N.avail_out=M),(R=o.inflate(N,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&_&&(E=typeof _=="string"?s.string2buf(_):d.call(_)==="[object ArrayBuffer]"?new Uint8Array(_):_,R=o.inflateSetDictionary(this.strm,E)),R===c.Z_BUF_ERROR&&B===!0&&(R=c.Z_OK,B=!1),R!==c.Z_STREAM_END&&R!==c.Z_OK)return this.onEnd(R),!(this.ended=!0);N.next_out&&(N.avail_out!==0&&R!==c.Z_STREAM_END&&(N.avail_in!==0||m!==c.Z_FINISH&&m!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=s.utf8border(N.output,N.next_out),x=N.next_out-v,O=s.buf2string(N.output,v),N.next_out=x,N.avail_out=M-x,x&&a.arraySet(N.output,N.output,v,x,0),this.onData(O)):this.onData(a.shrinkBuf(N.output,N.next_out)))),N.avail_in===0&&N.avail_out===0&&(B=!0)}while((0<N.avail_in||N.avail_out===0)&&R!==c.Z_STREAM_END);return R===c.Z_STREAM_END&&(m=c.Z_FINISH),m===c.Z_FINISH?(R=o.inflateEnd(this.strm),this.onEnd(R),this.ended=!0,R===c.Z_OK):m!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(N.avail_out=0))},f.prototype.onData=function(g){this.chunks.push(g)},f.prototype.onEnd=function(g){g===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},i.Inflate=f,i.inflate=p,i.inflateRaw=function(g,y){return(y=y||{}).raw=!0,p(g,y)},i.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";i.assign=function(c){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var l=u.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var h in l)l.hasOwnProperty(h)&&(c[h]=l[h])}}return c},i.shrinkBuf=function(c,u){return c.length===u?c:c.subarray?c.subarray(0,u):(c.length=u,c)};var a={arraySet:function(c,u,l,h,d){if(u.subarray&&c.subarray)c.set(u.subarray(l,l+h),d);else for(var f=0;f<h;f++)c[d+f]=u[l+f]},flattenChunks:function(c){var u,l,h,d,f,p;for(u=h=0,l=c.length;u<l;u++)h+=c[u].length;for(p=new Uint8Array(h),u=d=0,l=c.length;u<l;u++)f=c[u],p.set(f,d),d+=f.length;return p}},s={arraySet:function(c,u,l,h,d){for(var f=0;f<h;f++)c[d+f]=u[l+f]},flattenChunks:function(c){return[].concat.apply([],c)}};i.setTyped=function(c){c?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,a)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var c=new o.Buf8(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function l(h,d){if(d<65537&&(h.subarray&&s||!h.subarray&&a))return String.fromCharCode.apply(null,o.shrinkBuf(h,d));for(var f="",p=0;p<d;p++)f+=String.fromCharCode(h[p]);return f}c[254]=c[254]=1,i.string2buf=function(h){var d,f,p,g,y,R=h.length,m=0;for(g=0;g<R;g++)(64512&(f=h.charCodeAt(g)))==55296&&g+1<R&&(64512&(p=h.charCodeAt(g+1)))==56320&&(f=65536+(f-55296<<10)+(p-56320),g++),m+=f<128?1:f<2048?2:f<65536?3:4;for(d=new o.Buf8(m),g=y=0;y<m;g++)(64512&(f=h.charCodeAt(g)))==55296&&g+1<R&&(64512&(p=h.charCodeAt(g+1)))==56320&&(f=65536+(f-55296<<10)+(p-56320),g++),f<128?d[y++]=f:(f<2048?d[y++]=192|f>>>6:(f<65536?d[y++]=224|f>>>12:(d[y++]=240|f>>>18,d[y++]=128|f>>>12&63),d[y++]=128|f>>>6&63),d[y++]=128|63&f);return d},i.buf2binstring=function(h){return l(h,h.length)},i.binstring2buf=function(h){for(var d=new o.Buf8(h.length),f=0,p=d.length;f<p;f++)d[f]=h.charCodeAt(f);return d},i.buf2string=function(h,d){var f,p,g,y,R=d||h.length,m=new Array(2*R);for(f=p=0;f<R;)if((g=h[f++])<128)m[p++]=g;else if(4<(y=c[g]))m[p++]=65533,f+=y-1;else{for(g&=y===2?31:y===3?15:7;1<y&&f<R;)g=g<<6|63&h[f++],y--;1<y?m[p++]=65533:g<65536?m[p++]=g:(g-=65536,m[p++]=55296|g>>10&1023,m[p++]=56320|1023&g)}return l(m,p)},i.utf8border=function(h,d){var f;for((d=d||h.length)>h.length&&(d=h.length),f=d-1;0<=f&&(192&h[f])==128;)f--;return f<0||f===0?d:f+c[h[f]]>d?f:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,c){for(var u=65535&o|0,l=o>>>16&65535|0,h=0;s!==0;){for(s-=h=2e3<s?2e3:s;l=l+(u=u+a[c++]|0)|0,--h;);u%=65521,l%=65521}return u|l<<16|0}},{}],44:[function(n,r,i){r.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(n,r,i){var o=function(){for(var a,s=[],c=0;c<256;c++){a=c;for(var u=0;u<8;u++)a=1&a?3988292384^a>>>1:a>>>1;s[c]=a}return s}();r.exports=function(a,s,c,u){var l=o,h=u+c;a^=-1;for(var d=u;d<h;d++)a=a>>>8^l[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),c=n("./adler32"),u=n("./crc32"),l=n("./messages"),h=0,d=4,f=0,p=-2,g=-1,y=4,R=2,m=8,v=9,x=286,O=30,E=19,N=2*x+1,M=15,_=3,B=258,q=B+_+1,T=42,I=113,b=1,P=2,U=3,X=4;function V(D,ie){return D.msg=l[ie],ie}function k(D){return(D<<1)-(4<D?9:0)}function re(D){for(var ie=D.length;0<=--ie;)D[ie]=0}function Z(D){var ie=D.state,L=ie.pending;L>D.avail_out&&(L=D.avail_out),L!==0&&(a.arraySet(D.output,ie.pending_buf,ie.pending_out,L,D.next_out),D.next_out+=L,ie.pending_out+=L,D.total_out+=L,D.avail_out-=L,ie.pending-=L,ie.pending===0&&(ie.pending_out=0))}function C(D,ie){s._tr_flush_block(D,0<=D.block_start?D.block_start:-1,D.strstart-D.block_start,ie),D.block_start=D.strstart,Z(D.strm)}function ne(D,ie){D.pending_buf[D.pending++]=ie}function oe(D,ie){D.pending_buf[D.pending++]=ie>>>8&255,D.pending_buf[D.pending++]=255&ie}function ue(D,ie){var L,w,S=D.max_chain_length,F=D.strstart,G=D.prev_length,ee=D.nice_match,K=D.strstart>D.w_size-q?D.strstart-(D.w_size-q):0,J=D.window,te=D.w_mask,ae=D.prev,he=D.strstart+B,xe=J[F+G-1],_e=J[F+G];D.prev_length>=D.good_match&&(S>>=2),ee>D.lookahead&&(ee=D.lookahead);do if(J[(L=ie)+G]===_e&&J[L+G-1]===xe&&J[L]===J[F]&&J[++L]===J[F+1]){F+=2,L++;do;while(J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&F<he);if(w=B-(he-F),F=he-B,G<w){if(D.match_start=ie,ee<=(G=w))break;xe=J[F+G-1],_e=J[F+G]}}while((ie=ae[ie&te])>K&&--S!=0);return G<=D.lookahead?G:D.lookahead}function ce(D){var ie,L,w,S,F,G,ee,K,J,te,ae=D.w_size;do{if(S=D.window_size-D.lookahead-D.strstart,D.strstart>=ae+(ae-q)){for(a.arraySet(D.window,D.window,ae,ae,0),D.match_start-=ae,D.strstart-=ae,D.block_start-=ae,ie=L=D.hash_size;w=D.head[--ie],D.head[ie]=ae<=w?w-ae:0,--L;);for(ie=L=ae;w=D.prev[--ie],D.prev[ie]=ae<=w?w-ae:0,--L;);S+=ae}if(D.strm.avail_in===0)break;if(G=D.strm,ee=D.window,K=D.strstart+D.lookahead,J=S,te=void 0,te=G.avail_in,J<te&&(te=J),L=te===0?0:(G.avail_in-=te,a.arraySet(ee,G.input,G.next_in,te,K),G.state.wrap===1?G.adler=c(G.adler,ee,te,K):G.state.wrap===2&&(G.adler=u(G.adler,ee,te,K)),G.next_in+=te,G.total_in+=te,te),D.lookahead+=L,D.lookahead+D.insert>=_)for(F=D.strstart-D.insert,D.ins_h=D.window[F],D.ins_h=(D.ins_h<<D.hash_shift^D.window[F+1])&D.hash_mask;D.insert&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[F+_-1])&D.hash_mask,D.prev[F&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=F,F++,D.insert--,!(D.lookahead+D.insert<_)););}while(D.lookahead<q&&D.strm.avail_in!==0)}function W(D,ie){for(var L,w;;){if(D.lookahead<q){if(ce(D),D.lookahead<q&&ie===h)return b;if(D.lookahead===0)break}if(L=0,D.lookahead>=_&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),L!==0&&D.strstart-L<=D.w_size-q&&(D.match_length=ue(D,L)),D.match_length>=_)if(w=s._tr_tally(D,D.strstart-D.match_start,D.match_length-_),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=_){for(D.match_length--;D.strstart++,D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart,--D.match_length!=0;);D.strstart++}else D.strstart+=D.match_length,D.match_length=0,D.ins_h=D.window[D.strstart],D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+1])&D.hash_mask;else w=s._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++;if(w&&(C(D,!1),D.strm.avail_out===0))return b}return D.insert=D.strstart<_-1?D.strstart:_-1,ie===d?(C(D,!0),D.strm.avail_out===0?U:X):D.last_lit&&(C(D,!1),D.strm.avail_out===0)?b:P}function A(D,ie){for(var L,w,S;;){if(D.lookahead<q){if(ce(D),D.lookahead<q&&ie===h)return b;if(D.lookahead===0)break}if(L=0,D.lookahead>=_&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),D.prev_length=D.match_length,D.prev_match=D.match_start,D.match_length=_-1,L!==0&&D.prev_length<D.max_lazy_match&&D.strstart-L<=D.w_size-q&&(D.match_length=ue(D,L),D.match_length<=5&&(D.strategy===1||D.match_length===_&&4096<D.strstart-D.match_start)&&(D.match_length=_-1)),D.prev_length>=_&&D.match_length<=D.prev_length){for(S=D.strstart+D.lookahead-_,w=s._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-_),D.lookahead-=D.prev_length-1,D.prev_length-=2;++D.strstart<=S&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),--D.prev_length!=0;);if(D.match_available=0,D.match_length=_-1,D.strstart++,w&&(C(D,!1),D.strm.avail_out===0))return b}else if(D.match_available){if((w=s._tr_tally(D,0,D.window[D.strstart-1]))&&C(D,!1),D.strstart++,D.lookahead--,D.strm.avail_out===0)return b}else D.match_available=1,D.strstart++,D.lookahead--}return D.match_available&&(w=s._tr_tally(D,0,D.window[D.strstart-1]),D.match_available=0),D.insert=D.strstart<_-1?D.strstart:_-1,ie===d?(C(D,!0),D.strm.avail_out===0?U:X):D.last_lit&&(C(D,!1),D.strm.avail_out===0)?b:P}function Q(D,ie,L,w,S){this.good_length=D,this.max_lazy=ie,this.nice_length=L,this.max_chain=w,this.func=S}function z(){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=m,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 a.Buf16(2*N),this.dyn_dtree=new a.Buf16(2*(2*O+1)),this.bl_tree=new a.Buf16(2*(2*E+1)),re(this.dyn_ltree),re(this.dyn_dtree),re(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(M+1),this.heap=new a.Buf16(2*x+1),re(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*x+1),re(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 H(D){var ie;return D&&D.state?(D.total_in=D.total_out=0,D.data_type=R,(ie=D.state).pending=0,ie.pending_out=0,ie.wrap<0&&(ie.wrap=-ie.wrap),ie.status=ie.wrap?T:I,D.adler=ie.wrap===2?0:1,ie.last_flush=h,s._tr_init(ie),f):V(D,p)}function j(D){var ie=H(D);return ie===f&&function(L){L.window_size=2*L.w_size,re(L.head),L.max_lazy_match=o[L.level].max_lazy,L.good_match=o[L.level].good_length,L.nice_match=o[L.level].nice_length,L.max_chain_length=o[L.level].max_chain,L.strstart=0,L.block_start=0,L.lookahead=0,L.insert=0,L.match_length=L.prev_length=_-1,L.match_available=0,L.ins_h=0}(D.state),ie}function ge(D,ie,L,w,S,F){if(!D)return p;var G=1;if(ie===g&&(ie=6),w<0?(G=0,w=-w):15<w&&(G=2,w-=16),S<1||v<S||L!==m||w<8||15<w||ie<0||9<ie||F<0||y<F)return V(D,p);w===8&&(w=9);var ee=new z;return(D.state=ee).strm=D,ee.wrap=G,ee.gzhead=null,ee.w_bits=w,ee.w_size=1<<ee.w_bits,ee.w_mask=ee.w_size-1,ee.hash_bits=S+7,ee.hash_size=1<<ee.hash_bits,ee.hash_mask=ee.hash_size-1,ee.hash_shift=~~((ee.hash_bits+_-1)/_),ee.window=new a.Buf8(2*ee.w_size),ee.head=new a.Buf16(ee.hash_size),ee.prev=new a.Buf16(ee.w_size),ee.lit_bufsize=1<<S+6,ee.pending_buf_size=4*ee.lit_bufsize,ee.pending_buf=new a.Buf8(ee.pending_buf_size),ee.d_buf=1*ee.lit_bufsize,ee.l_buf=3*ee.lit_bufsize,ee.level=ie,ee.strategy=F,ee.method=L,j(D)}o=[new Q(0,0,0,0,function(D,ie){var L=65535;for(L>D.pending_buf_size-5&&(L=D.pending_buf_size-5);;){if(D.lookahead<=1){if(ce(D),D.lookahead===0&&ie===h)return b;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var w=D.block_start+L;if((D.strstart===0||D.strstart>=w)&&(D.lookahead=D.strstart-w,D.strstart=w,C(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-q&&(C(D,!1),D.strm.avail_out===0))return b}return D.insert=0,ie===d?(C(D,!0),D.strm.avail_out===0?U:X):(D.strstart>D.block_start&&(C(D,!1),D.strm.avail_out),b)}),new Q(4,4,8,4,W),new Q(4,5,16,8,W),new Q(4,6,32,32,W),new Q(4,4,16,16,A),new Q(8,16,32,32,A),new Q(8,16,128,128,A),new Q(8,32,128,256,A),new Q(32,128,258,1024,A),new Q(32,258,258,4096,A)],i.deflateInit=function(D,ie){return ge(D,ie,m,15,8,0)},i.deflateInit2=ge,i.deflateReset=j,i.deflateResetKeep=H,i.deflateSetHeader=function(D,ie){return D&&D.state?D.state.wrap!==2?p:(D.state.gzhead=ie,f):p},i.deflate=function(D,ie){var L,w,S,F;if(!D||!D.state||5<ie||ie<0)return D?V(D,p):p;if(w=D.state,!D.output||!D.input&&D.avail_in!==0||w.status===666&&ie!==d)return V(D,D.avail_out===0?-5:p);if(w.strm=D,L=w.last_flush,w.last_flush=ie,w.status===T)if(w.wrap===2)D.adler=0,ne(w,31),ne(w,139),ne(w,8),w.gzhead?(ne(w,(w.gzhead.text?1:0)+(w.gzhead.hcrc?2:0)+(w.gzhead.extra?4:0)+(w.gzhead.name?8:0)+(w.gzhead.comment?16:0)),ne(w,255&w.gzhead.time),ne(w,w.gzhead.time>>8&255),ne(w,w.gzhead.time>>16&255),ne(w,w.gzhead.time>>24&255),ne(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),ne(w,255&w.gzhead.os),w.gzhead.extra&&w.gzhead.extra.length&&(ne(w,255&w.gzhead.extra.length),ne(w,w.gzhead.extra.length>>8&255)),w.gzhead.hcrc&&(D.adler=u(D.adler,w.pending_buf,w.pending,0)),w.gzindex=0,w.status=69):(ne(w,0),ne(w,0),ne(w,0),ne(w,0),ne(w,0),ne(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),ne(w,3),w.status=I);else{var G=m+(w.w_bits-8<<4)<<8;G|=(2<=w.strategy||w.level<2?0:w.level<6?1:w.level===6?2:3)<<6,w.strstart!==0&&(G|=32),G+=31-G%31,w.status=I,oe(w,G),w.strstart!==0&&(oe(w,D.adler>>>16),oe(w,65535&D.adler)),D.adler=1}if(w.status===69)if(w.gzhead.extra){for(S=w.pending;w.gzindex<(65535&w.gzhead.extra.length)&&(w.pending!==w.pending_buf_size||(w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),Z(D),S=w.pending,w.pending!==w.pending_buf_size));)ne(w,255&w.gzhead.extra[w.gzindex]),w.gzindex++;w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),w.gzindex===w.gzhead.extra.length&&(w.gzindex=0,w.status=73)}else w.status=73;if(w.status===73)if(w.gzhead.name){S=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),Z(D),S=w.pending,w.pending===w.pending_buf_size)){F=1;break}F=w.gzindex<w.gzhead.name.length?255&w.gzhead.name.charCodeAt(w.gzindex++):0,ne(w,F)}while(F!==0);w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),F===0&&(w.gzindex=0,w.status=91)}else w.status=91;if(w.status===91)if(w.gzhead.comment){S=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),Z(D),S=w.pending,w.pending===w.pending_buf_size)){F=1;break}F=w.gzindex<w.gzhead.comment.length?255&w.gzhead.comment.charCodeAt(w.gzindex++):0,ne(w,F)}while(F!==0);w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),F===0&&(w.status=103)}else w.status=103;if(w.status===103&&(w.gzhead.hcrc?(w.pending+2>w.pending_buf_size&&Z(D),w.pending+2<=w.pending_buf_size&&(ne(w,255&D.adler),ne(w,D.adler>>8&255),D.adler=0,w.status=I)):w.status=I),w.pending!==0){if(Z(D),D.avail_out===0)return w.last_flush=-1,f}else if(D.avail_in===0&&k(ie)<=k(L)&&ie!==d)return V(D,-5);if(w.status===666&&D.avail_in!==0)return V(D,-5);if(D.avail_in!==0||w.lookahead!==0||ie!==h&&w.status!==666){var ee=w.strategy===2?function(K,J){for(var te;;){if(K.lookahead===0&&(ce(K),K.lookahead===0)){if(J===h)return b;break}if(K.match_length=0,te=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++,te&&(C(K,!1),K.strm.avail_out===0))return b}return K.insert=0,J===d?(C(K,!0),K.strm.avail_out===0?U:X):K.last_lit&&(C(K,!1),K.strm.avail_out===0)?b:P}(w,ie):w.strategy===3?function(K,J){for(var te,ae,he,xe,_e=K.window;;){if(K.lookahead<=B){if(ce(K),K.lookahead<=B&&J===h)return b;if(K.lookahead===0)break}if(K.match_length=0,K.lookahead>=_&&0<K.strstart&&(ae=_e[he=K.strstart-1])===_e[++he]&&ae===_e[++he]&&ae===_e[++he]){xe=K.strstart+B;do;while(ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&he<xe);K.match_length=B-(xe-he),K.match_length>K.lookahead&&(K.match_length=K.lookahead)}if(K.match_length>=_?(te=s._tr_tally(K,1,K.match_length-_),K.lookahead-=K.match_length,K.strstart+=K.match_length,K.match_length=0):(te=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++),te&&(C(K,!1),K.strm.avail_out===0))return b}return K.insert=0,J===d?(C(K,!0),K.strm.avail_out===0?U:X):K.last_lit&&(C(K,!1),K.strm.avail_out===0)?b:P}(w,ie):o[w.level].func(w,ie);if(ee!==U&&ee!==X||(w.status=666),ee===b||ee===U)return D.avail_out===0&&(w.last_flush=-1),f;if(ee===P&&(ie===1?s._tr_align(w):ie!==5&&(s._tr_stored_block(w,0,0,!1),ie===3&&(re(w.head),w.lookahead===0&&(w.strstart=0,w.block_start=0,w.insert=0))),Z(D),D.avail_out===0))return w.last_flush=-1,f}return ie!==d?f:w.wrap<=0?1:(w.wrap===2?(ne(w,255&D.adler),ne(w,D.adler>>8&255),ne(w,D.adler>>16&255),ne(w,D.adler>>24&255),ne(w,255&D.total_in),ne(w,D.total_in>>8&255),ne(w,D.total_in>>16&255),ne(w,D.total_in>>24&255)):(oe(w,D.adler>>>16),oe(w,65535&D.adler)),Z(D),0<w.wrap&&(w.wrap=-w.wrap),w.pending!==0?f:1)},i.deflateEnd=function(D){var ie;return D&&D.state?(ie=D.state.status)!==T&&ie!==69&&ie!==73&&ie!==91&&ie!==103&&ie!==I&&ie!==666?V(D,p):(D.state=null,ie===I?V(D,-3):f):p},i.deflateSetDictionary=function(D,ie){var L,w,S,F,G,ee,K,J,te=ie.length;if(!D||!D.state||(F=(L=D.state).wrap)===2||F===1&&L.status!==T||L.lookahead)return p;for(F===1&&(D.adler=c(D.adler,ie,te,0)),L.wrap=0,te>=L.w_size&&(F===0&&(re(L.head),L.strstart=0,L.block_start=0,L.insert=0),J=new a.Buf8(L.w_size),a.arraySet(J,ie,te-L.w_size,L.w_size,0),ie=J,te=L.w_size),G=D.avail_in,ee=D.next_in,K=D.input,D.avail_in=te,D.next_in=0,D.input=ie,ce(L);L.lookahead>=_;){for(w=L.strstart,S=L.lookahead-(_-1);L.ins_h=(L.ins_h<<L.hash_shift^L.window[w+_-1])&L.hash_mask,L.prev[w&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=w,w++,--S;);L.strstart=w,L.lookahead=_-1,ce(L)}return L.strstart+=L.lookahead,L.block_start=L.strstart,L.insert=L.lookahead,L.lookahead=0,L.match_length=L.prev_length=_-1,L.match_available=0,D.next_in=ee,D.input=K,D.avail_in=G,L.wrap=F,f},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.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(n,r,i){r.exports=function(o,a){var s,c,u,l,h,d,f,p,g,y,R,m,v,x,O,E,N,M,_,B,q,T,I,b,P;s=o.state,c=o.next_in,b=o.input,u=c+(o.avail_in-5),l=o.next_out,P=o.output,h=l-(a-o.avail_out),d=l+(o.avail_out-257),f=s.dmax,p=s.wsize,g=s.whave,y=s.wnext,R=s.window,m=s.hold,v=s.bits,x=s.lencode,O=s.distcode,E=(1<<s.lenbits)-1,N=(1<<s.distbits)-1;e:do{v<15&&(m+=b[c++]<<v,v+=8,m+=b[c++]<<v,v+=8),M=x[m&E];t:for(;;){if(m>>>=_=M>>>24,v-=_,(_=M>>>16&255)===0)P[l++]=65535&M;else{if(!(16&_)){if((64&_)==0){M=x[(65535&M)+(m&(1<<_)-1)];continue t}if(32&_){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}B=65535&M,(_&=15)&&(v<_&&(m+=b[c++]<<v,v+=8),B+=m&(1<<_)-1,m>>>=_,v-=_),v<15&&(m+=b[c++]<<v,v+=8,m+=b[c++]<<v,v+=8),M=O[m&N];n:for(;;){if(m>>>=_=M>>>24,v-=_,!(16&(_=M>>>16&255))){if((64&_)==0){M=O[(65535&M)+(m&(1<<_)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(q=65535&M,v<(_&=15)&&(m+=b[c++]<<v,(v+=8)<_&&(m+=b[c++]<<v,v+=8)),f<(q+=m&(1<<_)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(m>>>=_,v-=_,(_=l-h)<q){if(g<(_=q-_)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(I=R,(T=0)===y){if(T+=p-_,_<B){for(B-=_;P[l++]=R[T++],--_;);T=l-q,I=P}}else if(y<_){if(T+=p+y-_,(_-=y)<B){for(B-=_;P[l++]=R[T++],--_;);if(T=0,y<B){for(B-=_=y;P[l++]=R[T++],--_;);T=l-q,I=P}}}else if(T+=y-_,_<B){for(B-=_;P[l++]=R[T++],--_;);T=l-q,I=P}for(;2<B;)P[l++]=I[T++],P[l++]=I[T++],P[l++]=I[T++],B-=3;B&&(P[l++]=I[T++],1<B&&(P[l++]=I[T++]))}else{for(T=l-q;P[l++]=P[T++],P[l++]=P[T++],P[l++]=P[T++],2<(B-=3););B&&(P[l++]=P[T++],1<B&&(P[l++]=P[T++]))}break}}break}}while(c<u&&l<d);c-=B=v>>3,m&=(1<<(v-=B<<3))-1,o.next_in=c,o.next_out=l,o.avail_in=c<u?u-c+5:5-(c-u),o.avail_out=l<d?d-l+257:257-(l-d),s.hold=m,s.bits=v}},{}],49:[function(n,r,i){var o=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),c=n("./inffast"),u=n("./inftrees"),l=1,h=2,d=0,f=-2,p=1,g=852,y=592;function R(T){return(T>>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(T){var I;return T&&T.state?(I=T.state,T.total_in=T.total_out=I.total=0,T.msg="",I.wrap&&(T.adler=1&I.wrap),I.mode=p,I.last=0,I.havedict=0,I.dmax=32768,I.head=null,I.hold=0,I.bits=0,I.lencode=I.lendyn=new o.Buf32(g),I.distcode=I.distdyn=new o.Buf32(y),I.sane=1,I.back=-1,d):f}function x(T){var I;return T&&T.state?((I=T.state).wsize=0,I.whave=0,I.wnext=0,v(T)):f}function O(T,I){var b,P;return T&&T.state?(P=T.state,I<0?(b=0,I=-I):(b=1+(I>>4),I<48&&(I&=15)),I&&(I<8||15<I)?f:(P.window!==null&&P.wbits!==I&&(P.window=null),P.wrap=b,P.wbits=I,x(T))):f}function E(T,I){var b,P;return T?(P=new m,(T.state=P).window=null,(b=O(T,I))!==d&&(T.state=null),b):f}var N,M,_=!0;function B(T){if(_){var I;for(N=new o.Buf32(512),M=new o.Buf32(32),I=0;I<144;)T.lens[I++]=8;for(;I<256;)T.lens[I++]=9;for(;I<280;)T.lens[I++]=7;for(;I<288;)T.lens[I++]=8;for(u(l,T.lens,0,288,N,0,T.work,{bits:9}),I=0;I<32;)T.lens[I++]=5;u(h,T.lens,0,32,M,0,T.work,{bits:5}),_=!1}T.lencode=N,T.lenbits=9,T.distcode=M,T.distbits=5}function q(T,I,b,P){var U,X=T.state;return X.window===null&&(X.wsize=1<<X.wbits,X.wnext=0,X.whave=0,X.window=new o.Buf8(X.wsize)),P>=X.wsize?(o.arraySet(X.window,I,b-X.wsize,X.wsize,0),X.wnext=0,X.whave=X.wsize):(P<(U=X.wsize-X.wnext)&&(U=P),o.arraySet(X.window,I,b-P,U,X.wnext),(P-=U)?(o.arraySet(X.window,I,b-P,P,0),X.wnext=P,X.whave=X.wsize):(X.wnext+=U,X.wnext===X.wsize&&(X.wnext=0),X.whave<X.wsize&&(X.whave+=U))),0}i.inflateReset=x,i.inflateReset2=O,i.inflateResetKeep=v,i.inflateInit=function(T){return E(T,15)},i.inflateInit2=E,i.inflate=function(T,I){var b,P,U,X,V,k,re,Z,C,ne,oe,ue,ce,W,A,Q,z,H,j,ge,D,ie,L,w,S=0,F=new o.Buf8(4),G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!T||!T.state||!T.output||!T.input&&T.avail_in!==0)return f;(b=T.state).mode===12&&(b.mode=13),V=T.next_out,U=T.output,re=T.avail_out,X=T.next_in,P=T.input,k=T.avail_in,Z=b.hold,C=b.bits,ne=k,oe=re,ie=d;e:for(;;)switch(b.mode){case p:if(b.wrap===0){b.mode=13;break}for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(2&b.wrap&&Z===35615){F[b.check=0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0),C=Z=0,b.mode=2;break}if(b.flags=0,b.head&&(b.head.done=!1),!(1&b.wrap)||(((255&Z)<<8)+(Z>>8))%31){T.msg="incorrect header check",b.mode=30;break}if((15&Z)!=8){T.msg="unknown compression method",b.mode=30;break}if(C-=4,D=8+(15&(Z>>>=4)),b.wbits===0)b.wbits=D;else if(D>b.wbits){T.msg="invalid window size",b.mode=30;break}b.dmax=1<<D,T.adler=b.check=1,b.mode=512&Z?10:12,C=Z=0;break;case 2:for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(b.flags=Z,(255&b.flags)!=8){T.msg="unknown compression method",b.mode=30;break}if(57344&b.flags){T.msg="unknown header flags set",b.mode=30;break}b.head&&(b.head.text=Z>>8&1),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0)),C=Z=0,b.mode=3;case 3:for(;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.head&&(b.head.time=Z),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,F[2]=Z>>>16&255,F[3]=Z>>>24&255,b.check=s(b.check,F,4,0)),C=Z=0,b.mode=4;case 4:for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.head&&(b.head.xflags=255&Z,b.head.os=Z>>8),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0)),C=Z=0,b.mode=5;case 5:if(1024&b.flags){for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.length=Z,b.head&&(b.head.extra_len=Z),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0)),C=Z=0}else b.head&&(b.head.extra=null);b.mode=6;case 6:if(1024&b.flags&&(k<(ue=b.length)&&(ue=k),ue&&(b.head&&(D=b.head.extra_len-b.length,b.head.extra||(b.head.extra=new Array(b.head.extra_len)),o.arraySet(b.head.extra,P,X,ue,D)),512&b.flags&&(b.check=s(b.check,P,ue,X)),k-=ue,X+=ue,b.length-=ue),b.length))break e;b.length=0,b.mode=7;case 7:if(2048&b.flags){if(k===0)break e;for(ue=0;D=P[X+ue++],b.head&&D&&b.length<65536&&(b.head.name+=String.fromCharCode(D)),D&&ue<k;);if(512&b.flags&&(b.check=s(b.check,P,ue,X)),k-=ue,X+=ue,D)break e}else b.head&&(b.head.name=null);b.length=0,b.mode=8;case 8:if(4096&b.flags){if(k===0)break e;for(ue=0;D=P[X+ue++],b.head&&D&&b.length<65536&&(b.head.comment+=String.fromCharCode(D)),D&&ue<k;);if(512&b.flags&&(b.check=s(b.check,P,ue,X)),k-=ue,X+=ue,D)break e}else b.head&&(b.head.comment=null);b.mode=9;case 9:if(512&b.flags){for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Z!==(65535&b.check)){T.msg="header crc mismatch",b.mode=30;break}C=Z=0}b.head&&(b.head.hcrc=b.flags>>9&1,b.head.done=!0),T.adler=b.check=0,b.mode=12;break;case 10:for(;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}T.adler=b.check=R(Z),C=Z=0,b.mode=11;case 11:if(b.havedict===0)return T.next_out=V,T.avail_out=re,T.next_in=X,T.avail_in=k,b.hold=Z,b.bits=C,2;T.adler=b.check=1,b.mode=12;case 12:if(I===5||I===6)break e;case 13:if(b.last){Z>>>=7&C,C-=7&C,b.mode=27;break}for(;C<3;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}switch(b.last=1&Z,C-=1,3&(Z>>>=1)){case 0:b.mode=14;break;case 1:if(B(b),b.mode=20,I!==6)break;Z>>>=2,C-=2;break e;case 2:b.mode=17;break;case 3:T.msg="invalid block type",b.mode=30}Z>>>=2,C-=2;break;case 14:for(Z>>>=7&C,C-=7&C;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if((65535&Z)!=(Z>>>16^65535)){T.msg="invalid stored block lengths",b.mode=30;break}if(b.length=65535&Z,C=Z=0,b.mode=15,I===6)break e;case 15:b.mode=16;case 16:if(ue=b.length){if(k<ue&&(ue=k),re<ue&&(ue=re),ue===0)break e;o.arraySet(U,P,X,ue,V),k-=ue,X+=ue,re-=ue,V+=ue,b.length-=ue;break}b.mode=12;break;case 17:for(;C<14;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(b.nlen=257+(31&Z),Z>>>=5,C-=5,b.ndist=1+(31&Z),Z>>>=5,C-=5,b.ncode=4+(15&Z),Z>>>=4,C-=4,286<b.nlen||30<b.ndist){T.msg="too many length or distance symbols",b.mode=30;break}b.have=0,b.mode=18;case 18:for(;b.have<b.ncode;){for(;C<3;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.lens[G[b.have++]]=7&Z,Z>>>=3,C-=3}for(;b.have<19;)b.lens[G[b.have++]]=0;if(b.lencode=b.lendyn,b.lenbits=7,L={bits:b.lenbits},ie=u(0,b.lens,0,19,b.lencode,0,b.work,L),b.lenbits=L.bits,ie){T.msg="invalid code lengths set",b.mode=30;break}b.have=0,b.mode=19;case 19:for(;b.have<b.nlen+b.ndist;){for(;Q=(S=b.lencode[Z&(1<<b.lenbits)-1])>>>16&255,z=65535&S,!((A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(z<16)Z>>>=A,C-=A,b.lens[b.have++]=z;else{if(z===16){for(w=A+2;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Z>>>=A,C-=A,b.have===0){T.msg="invalid bit length repeat",b.mode=30;break}D=b.lens[b.have-1],ue=3+(3&Z),Z>>>=2,C-=2}else if(z===17){for(w=A+3;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}C-=A,D=0,ue=3+(7&(Z>>>=A)),Z>>>=3,C-=3}else{for(w=A+7;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}C-=A,D=0,ue=11+(127&(Z>>>=A)),Z>>>=7,C-=7}if(b.have+ue>b.nlen+b.ndist){T.msg="invalid bit length repeat",b.mode=30;break}for(;ue--;)b.lens[b.have++]=D}}if(b.mode===30)break;if(b.lens[256]===0){T.msg="invalid code -- missing end-of-block",b.mode=30;break}if(b.lenbits=9,L={bits:b.lenbits},ie=u(l,b.lens,0,b.nlen,b.lencode,0,b.work,L),b.lenbits=L.bits,ie){T.msg="invalid literal/lengths set",b.mode=30;break}if(b.distbits=6,b.distcode=b.distdyn,L={bits:b.distbits},ie=u(h,b.lens,b.nlen,b.ndist,b.distcode,0,b.work,L),b.distbits=L.bits,ie){T.msg="invalid distances set",b.mode=30;break}if(b.mode=20,I===6)break e;case 20:b.mode=21;case 21:if(6<=k&&258<=re){T.next_out=V,T.avail_out=re,T.next_in=X,T.avail_in=k,b.hold=Z,b.bits=C,c(T,oe),V=T.next_out,U=T.output,re=T.avail_out,X=T.next_in,P=T.input,k=T.avail_in,Z=b.hold,C=b.bits,b.mode===12&&(b.back=-1);break}for(b.back=0;Q=(S=b.lencode[Z&(1<<b.lenbits)-1])>>>16&255,z=65535&S,!((A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Q&&(240&Q)==0){for(H=A,j=Q,ge=z;Q=(S=b.lencode[ge+((Z&(1<<H+j)-1)>>H)])>>>16&255,z=65535&S,!(H+(A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}Z>>>=H,C-=H,b.back+=H}if(Z>>>=A,C-=A,b.back+=A,b.length=z,Q===0){b.mode=26;break}if(32&Q){b.back=-1,b.mode=12;break}if(64&Q){T.msg="invalid literal/length code",b.mode=30;break}b.extra=15&Q,b.mode=22;case 22:if(b.extra){for(w=b.extra;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.length+=Z&(1<<b.extra)-1,Z>>>=b.extra,C-=b.extra,b.back+=b.extra}b.was=b.length,b.mode=23;case 23:for(;Q=(S=b.distcode[Z&(1<<b.distbits)-1])>>>16&255,z=65535&S,!((A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if((240&Q)==0){for(H=A,j=Q,ge=z;Q=(S=b.distcode[ge+((Z&(1<<H+j)-1)>>H)])>>>16&255,z=65535&S,!(H+(A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}Z>>>=H,C-=H,b.back+=H}if(Z>>>=A,C-=A,b.back+=A,64&Q){T.msg="invalid distance code",b.mode=30;break}b.offset=z,b.extra=15&Q,b.mode=24;case 24:if(b.extra){for(w=b.extra;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.offset+=Z&(1<<b.extra)-1,Z>>>=b.extra,C-=b.extra,b.back+=b.extra}if(b.offset>b.dmax){T.msg="invalid distance too far back",b.mode=30;break}b.mode=25;case 25:if(re===0)break e;if(ue=oe-re,b.offset>ue){if((ue=b.offset-ue)>b.whave&&b.sane){T.msg="invalid distance too far back",b.mode=30;break}ce=ue>b.wnext?(ue-=b.wnext,b.wsize-ue):b.wnext-ue,ue>b.length&&(ue=b.length),W=b.window}else W=U,ce=V-b.offset,ue=b.length;for(re<ue&&(ue=re),re-=ue,b.length-=ue;U[V++]=W[ce++],--ue;);b.length===0&&(b.mode=21);break;case 26:if(re===0)break e;U[V++]=b.length,re--,b.mode=21;break;case 27:if(b.wrap){for(;C<32;){if(k===0)break e;k--,Z|=P[X++]<<C,C+=8}if(oe-=re,T.total_out+=oe,b.total+=oe,oe&&(T.adler=b.check=b.flags?s(b.check,U,oe,V-oe):a(b.check,U,oe,V-oe)),oe=re,(b.flags?Z:R(Z))!==b.check){T.msg="incorrect data check",b.mode=30;break}C=Z=0}b.mode=28;case 28:if(b.wrap&&b.flags){for(;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Z!==(4294967295&b.total)){T.msg="incorrect length check",b.mode=30;break}C=Z=0}b.mode=29;case 29:ie=1;break e;case 30:ie=-3;break e;case 31:return-4;case 32:default:return f}return T.next_out=V,T.avail_out=re,T.next_in=X,T.avail_in=k,b.hold=Z,b.bits=C,(b.wsize||oe!==T.avail_out&&b.mode<30&&(b.mode<27||I!==4))&&q(T,T.output,T.next_out,oe-T.avail_out)?(b.mode=31,-4):(ne-=T.avail_in,oe-=T.avail_out,T.total_in+=ne,T.total_out+=oe,b.total+=oe,b.wrap&&oe&&(T.adler=b.check=b.flags?s(b.check,U,oe,T.next_out-oe):a(b.check,U,oe,T.next_out-oe)),T.data_type=b.bits+(b.last?64:0)+(b.mode===12?128:0)+(b.mode===20||b.mode===15?256:0),(ne==0&&oe===0||I===4)&&ie===d&&(ie=-5),ie)},i.inflateEnd=function(T){if(!T||!T.state)return f;var I=T.state;return I.window&&(I.window=null),T.state=null,d},i.inflateGetHeader=function(T,I){var b;return T&&T.state?(2&(b=T.state).wrap)==0?f:((b.head=I).done=!1,d):f},i.inflateSetDictionary=function(T,I){var b,P=I.length;return T&&T.state?(b=T.state).wrap!==0&&b.mode!==11?f:b.mode===11&&a(1,I,P,0)!==b.check?-3:q(T,I,P,P)?(b.mode=31,-4):(b.havedict=1,d):f},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),a=[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],s=[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],c=[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],u=[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];r.exports=function(l,h,d,f,p,g,y,R){var m,v,x,O,E,N,M,_,B,q=R.bits,T=0,I=0,b=0,P=0,U=0,X=0,V=0,k=0,re=0,Z=0,C=null,ne=0,oe=new o.Buf16(16),ue=new o.Buf16(16),ce=null,W=0;for(T=0;T<=15;T++)oe[T]=0;for(I=0;I<f;I++)oe[h[d+I]]++;for(U=q,P=15;1<=P&&oe[P]===0;P--);if(P<U&&(U=P),P===0)return p[g++]=20971520,p[g++]=20971520,R.bits=1,0;for(b=1;b<P&&oe[b]===0;b++);for(U<b&&(U=b),T=k=1;T<=15;T++)if(k<<=1,(k-=oe[T])<0)return-1;if(0<k&&(l===0||P!==1))return-1;for(ue[1]=0,T=1;T<15;T++)ue[T+1]=ue[T]+oe[T];for(I=0;I<f;I++)h[d+I]!==0&&(y[ue[h[d+I]]++]=I);if(N=l===0?(C=ce=y,19):l===1?(C=a,ne-=257,ce=s,W-=257,256):(C=c,ce=u,-1),T=b,E=g,V=I=Z=0,x=-1,O=(re=1<<(X=U))-1,l===1&&852<re||l===2&&592<re)return 1;for(;;){for(M=T-V,B=y[I]<N?(_=0,y[I]):y[I]>N?(_=ce[W+y[I]],C[ne+y[I]]):(_=96,0),m=1<<T-V,b=v=1<<X;p[E+(Z>>V)+(v-=m)]=M<<24|_<<16|B|0,v!==0;);for(m=1<<T-1;Z&m;)m>>=1;if(m!==0?(Z&=m-1,Z+=m):Z=0,I++,--oe[T]==0){if(T===P)break;T=h[d+y[I]]}if(U<T&&(Z&O)!==x){for(V===0&&(V=U),E+=b,k=1<<(X=T-V);X+V<P&&!((k-=oe[X+V])<=0);)X++,k<<=1;if(re+=1<<X,l===1&&852<re||l===2&&592<re)return 1;p[x=Z&O]=U<<24|X<<16|E-g|0}}return Z!==0&&(p[E+Z]=T-V<<24|64<<16|0),R.bits=U,0}},{"../utils/common":41}],51:[function(n,r,i){r.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(n,r,i){var o=n("../utils/common"),a=0,s=1;function c(S){for(var F=S.length;0<=--F;)S[F]=0}var u=0,l=29,h=256,d=h+1+l,f=30,p=19,g=2*d+1,y=15,R=16,m=7,v=256,x=16,O=17,E=18,N=[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],M=[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],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],q=new Array(2*(d+2));c(q);var T=new Array(2*f);c(T);var I=new Array(512);c(I);var b=new Array(256);c(b);var P=new Array(l);c(P);var U,X,V,k=new Array(f);function re(S,F,G,ee,K){this.static_tree=S,this.extra_bits=F,this.extra_base=G,this.elems=ee,this.max_length=K,this.has_stree=S&&S.length}function Z(S,F){this.dyn_tree=S,this.max_code=0,this.stat_desc=F}function C(S){return S<256?I[S]:I[256+(S>>>7)]}function ne(S,F){S.pending_buf[S.pending++]=255&F,S.pending_buf[S.pending++]=F>>>8&255}function oe(S,F,G){S.bi_valid>R-G?(S.bi_buf|=F<<S.bi_valid&65535,ne(S,S.bi_buf),S.bi_buf=F>>R-S.bi_valid,S.bi_valid+=G-R):(S.bi_buf|=F<<S.bi_valid&65535,S.bi_valid+=G)}function ue(S,F,G){oe(S,G[2*F],G[2*F+1])}function ce(S,F){for(var G=0;G|=1&S,S>>>=1,G<<=1,0<--F;);return G>>>1}function W(S,F,G){var ee,K,J=new Array(y+1),te=0;for(ee=1;ee<=y;ee++)J[ee]=te=te+G[ee-1]<<1;for(K=0;K<=F;K++){var ae=S[2*K+1];ae!==0&&(S[2*K]=ce(J[ae]++,ae))}}function A(S){var F;for(F=0;F<d;F++)S.dyn_ltree[2*F]=0;for(F=0;F<f;F++)S.dyn_dtree[2*F]=0;for(F=0;F<p;F++)S.bl_tree[2*F]=0;S.dyn_ltree[2*v]=1,S.opt_len=S.static_len=0,S.last_lit=S.matches=0}function Q(S){8<S.bi_valid?ne(S,S.bi_buf):0<S.bi_valid&&(S.pending_buf[S.pending++]=S.bi_buf),S.bi_buf=0,S.bi_valid=0}function z(S,F,G,ee){var K=2*F,J=2*G;return S[K]<S[J]||S[K]===S[J]&&ee[F]<=ee[G]}function H(S,F,G){for(var ee=S.heap[G],K=G<<1;K<=S.heap_len&&(K<S.heap_len&&z(F,S.heap[K+1],S.heap[K],S.depth)&&K++,!z(F,ee,S.heap[K],S.depth));)S.heap[G]=S.heap[K],G=K,K<<=1;S.heap[G]=ee}function j(S,F,G){var ee,K,J,te,ae=0;if(S.last_lit!==0)for(;ee=S.pending_buf[S.d_buf+2*ae]<<8|S.pending_buf[S.d_buf+2*ae+1],K=S.pending_buf[S.l_buf+ae],ae++,ee===0?ue(S,K,F):(ue(S,(J=b[K])+h+1,F),(te=N[J])!==0&&oe(S,K-=P[J],te),ue(S,J=C(--ee),G),(te=M[J])!==0&&oe(S,ee-=k[J],te)),ae<S.last_lit;);ue(S,v,F)}function ge(S,F){var G,ee,K,J=F.dyn_tree,te=F.stat_desc.static_tree,ae=F.stat_desc.has_stree,he=F.stat_desc.elems,xe=-1;for(S.heap_len=0,S.heap_max=g,G=0;G<he;G++)J[2*G]!==0?(S.heap[++S.heap_len]=xe=G,S.depth[G]=0):J[2*G+1]=0;for(;S.heap_len<2;)J[2*(K=S.heap[++S.heap_len]=xe<2?++xe:0)]=1,S.depth[K]=0,S.opt_len--,ae&&(S.static_len-=te[2*K+1]);for(F.max_code=xe,G=S.heap_len>>1;1<=G;G--)H(S,J,G);for(K=he;G=S.heap[1],S.heap[1]=S.heap[S.heap_len--],H(S,J,1),ee=S.heap[1],S.heap[--S.heap_max]=G,S.heap[--S.heap_max]=ee,J[2*K]=J[2*G]+J[2*ee],S.depth[K]=(S.depth[G]>=S.depth[ee]?S.depth[G]:S.depth[ee])+1,J[2*G+1]=J[2*ee+1]=K,S.heap[1]=K++,H(S,J,1),2<=S.heap_len;);S.heap[--S.heap_max]=S.heap[1],function(_e,Me){var Xe,He,ze,Ze,ut,Vt,Dt=Me.dyn_tree,Zn=Me.max_code,ei=Me.stat_desc.static_tree,kn=Me.stat_desc.has_stree,ti=Me.stat_desc.extra_bits,ni=Me.stat_desc.extra_base,mn=Me.stat_desc.max_length,Dn=0;for(Ze=0;Ze<=y;Ze++)_e.bl_count[Ze]=0;for(Dt[2*_e.heap[_e.heap_max]+1]=0,Xe=_e.heap_max+1;Xe<g;Xe++)mn<(Ze=Dt[2*Dt[2*(He=_e.heap[Xe])+1]+1]+1)&&(Ze=mn,Dn++),Dt[2*He+1]=Ze,Zn<He||(_e.bl_count[Ze]++,ut=0,ni<=He&&(ut=ti[He-ni]),Vt=Dt[2*He],_e.opt_len+=Vt*(Ze+ut),kn&&(_e.static_len+=Vt*(ei[2*He+1]+ut)));if(Dn!==0){do{for(Ze=mn-1;_e.bl_count[Ze]===0;)Ze--;_e.bl_count[Ze]--,_e.bl_count[Ze+1]+=2,_e.bl_count[mn]--,Dn-=2}while(0<Dn);for(Ze=mn;Ze!==0;Ze--)for(He=_e.bl_count[Ze];He!==0;)Zn<(ze=_e.heap[--Xe])||(Dt[2*ze+1]!==Ze&&(_e.opt_len+=(Ze-Dt[2*ze+1])*Dt[2*ze],Dt[2*ze+1]=Ze),He--)}}(S,F),W(J,xe,S.bl_count)}function D(S,F,G){var ee,K,J=-1,te=F[1],ae=0,he=7,xe=4;for(te===0&&(he=138,xe=3),F[2*(G+1)+1]=65535,ee=0;ee<=G;ee++)K=te,te=F[2*(ee+1)+1],++ae<he&&K===te||(ae<xe?S.bl_tree[2*K]+=ae:K!==0?(K!==J&&S.bl_tree[2*K]++,S.bl_tree[2*x]++):ae<=10?S.bl_tree[2*O]++:S.bl_tree[2*E]++,J=K,xe=(ae=0)===te?(he=138,3):K===te?(he=6,3):(he=7,4))}function ie(S,F,G){var ee,K,J=-1,te=F[1],ae=0,he=7,xe=4;for(te===0&&(he=138,xe=3),ee=0;ee<=G;ee++)if(K=te,te=F[2*(ee+1)+1],!(++ae<he&&K===te)){if(ae<xe)for(;ue(S,K,S.bl_tree),--ae!=0;);else K!==0?(K!==J&&(ue(S,K,S.bl_tree),ae--),ue(S,x,S.bl_tree),oe(S,ae-3,2)):ae<=10?(ue(S,O,S.bl_tree),oe(S,ae-3,3)):(ue(S,E,S.bl_tree),oe(S,ae-11,7));J=K,xe=(ae=0)===te?(he=138,3):K===te?(he=6,3):(he=7,4)}}c(k);var L=!1;function w(S,F,G,ee){oe(S,(u<<1)+(ee?1:0),3),function(K,J,te,ae){Q(K),ae&&(ne(K,te),ne(K,~te)),o.arraySet(K.pending_buf,K.window,J,te,K.pending),K.pending+=te}(S,F,G,!0)}i._tr_init=function(S){L||(function(){var F,G,ee,K,J,te=new Array(y+1);for(K=ee=0;K<l-1;K++)for(P[K]=ee,F=0;F<1<<N[K];F++)b[ee++]=K;for(b[ee-1]=K,K=J=0;K<16;K++)for(k[K]=J,F=0;F<1<<M[K];F++)I[J++]=K;for(J>>=7;K<f;K++)for(k[K]=J<<7,F=0;F<1<<M[K]-7;F++)I[256+J++]=K;for(G=0;G<=y;G++)te[G]=0;for(F=0;F<=143;)q[2*F+1]=8,F++,te[8]++;for(;F<=255;)q[2*F+1]=9,F++,te[9]++;for(;F<=279;)q[2*F+1]=7,F++,te[7]++;for(;F<=287;)q[2*F+1]=8,F++,te[8]++;for(W(q,d+1,te),F=0;F<f;F++)T[2*F+1]=5,T[2*F]=ce(F,5);U=new re(q,N,h+1,d,y),X=new re(T,M,0,f,y),V=new re(new Array(0),_,0,p,m)}(),L=!0),S.l_desc=new Z(S.dyn_ltree,U),S.d_desc=new Z(S.dyn_dtree,X),S.bl_desc=new Z(S.bl_tree,V),S.bi_buf=0,S.bi_valid=0,A(S)},i._tr_stored_block=w,i._tr_flush_block=function(S,F,G,ee){var K,J,te=0;0<S.level?(S.strm.data_type===2&&(S.strm.data_type=function(ae){var he,xe=4093624447;for(he=0;he<=31;he++,xe>>>=1)if(1&xe&&ae.dyn_ltree[2*he]!==0)return a;if(ae.dyn_ltree[18]!==0||ae.dyn_ltree[20]!==0||ae.dyn_ltree[26]!==0)return s;for(he=32;he<h;he++)if(ae.dyn_ltree[2*he]!==0)return s;return a}(S)),ge(S,S.l_desc),ge(S,S.d_desc),te=function(ae){var he;for(D(ae,ae.dyn_ltree,ae.l_desc.max_code),D(ae,ae.dyn_dtree,ae.d_desc.max_code),ge(ae,ae.bl_desc),he=p-1;3<=he&&ae.bl_tree[2*B[he]+1]===0;he--);return ae.opt_len+=3*(he+1)+5+5+4,he}(S),K=S.opt_len+3+7>>>3,(J=S.static_len+3+7>>>3)<=K&&(K=J)):K=J=G+5,G+4<=K&&F!==-1?w(S,F,G,ee):S.strategy===4||J===K?(oe(S,2+(ee?1:0),3),j(S,q,T)):(oe(S,4+(ee?1:0),3),function(ae,he,xe,_e){var Me;for(oe(ae,he-257,5),oe(ae,xe-1,5),oe(ae,_e-4,4),Me=0;Me<_e;Me++)oe(ae,ae.bl_tree[2*B[Me]+1],3);ie(ae,ae.dyn_ltree,he-1),ie(ae,ae.dyn_dtree,xe-1)}(S,S.l_desc.max_code+1,S.d_desc.max_code+1,te+1),j(S,S.dyn_ltree,S.dyn_dtree)),A(S),ee&&Q(S)},i._tr_tally=function(S,F,G){return S.pending_buf[S.d_buf+2*S.last_lit]=F>>>8&255,S.pending_buf[S.d_buf+2*S.last_lit+1]=255&F,S.pending_buf[S.l_buf+S.last_lit]=255&G,S.last_lit++,F===0?S.dyn_ltree[2*G]++:(S.matches++,F--,S.dyn_ltree[2*(b[G]+h+1)]++,S.dyn_dtree[2*C(F)]++),S.last_lit===S.lit_bufsize-1},i._tr_align=function(S){oe(S,2,3),ue(S,v,q),function(F){F.bi_valid===16?(ne(F,F.bi_buf),F.bi_buf=0,F.bi_valid=0):8<=F.bi_valid&&(F.pending_buf[F.pending++]=255&F.bi_buf,F.bi_buf>>=8,F.bi_valid-=8)}(S)}},{"../utils/common":41}],53:[function(n,r,i){r.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(n,r,i){(function(o){(function(a,s){if(!a.setImmediate){var c,u,l,h,d=1,f={},p=!1,g=a.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(a);y=y&&y.setTimeout?y:a,c={}.toString.call(a.process)==="[object process]"?function(x){nt.nextTick(function(){m(x)})}:function(){if(a.postMessage&&!a.importScripts){var x=!0,O=a.onmessage;return a.onmessage=function(){x=!1},a.postMessage("","*"),a.onmessage=O,x}}()?(h="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",v,!1):a.attachEvent("onmessage",v),function(x){a.postMessage(h+x,"*")}):a.MessageChannel?((l=new MessageChannel).port1.onmessage=function(x){m(x.data)},function(x){l.port2.postMessage(x)}):g&&"onreadystatechange"in g.createElement("script")?(u=g.documentElement,function(x){var O=g.createElement("script");O.onreadystatechange=function(){m(x),O.onreadystatechange=null,u.removeChild(O),O=null},u.appendChild(O)}):function(x){setTimeout(m,0,x)},y.setImmediate=function(x){typeof x!="function"&&(x=new Function(""+x));for(var O=new Array(arguments.length-1),E=0;E<O.length;E++)O[E]=arguments[E+1];var N={callback:x,args:O};return f[d]=N,c(d),d++},y.clearImmediate=R}function R(x){delete f[x]}function m(x){if(p)setTimeout(m,0,x);else{var O=f[x];if(O){p=!0;try{(function(E){var N=E.callback,M=E.args;switch(M.length){case 0:N();break;case 1:N(M[0]);break;case 2:N(M[0],M[1]);break;case 3:N(M[0],M[1],M[2]);break;default:N.apply(s,M)}})(O)}finally{R(x),p=!1}}}}function v(x){x.source===a&&typeof x.data=="string"&&x.data.indexOf(h)===0&&m(+x.data.slice(h.length))}})(typeof self=="undefined"?o===void 0?this:o:self)}).call(this,typeof Br!="undefined"?Br:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})})(U2);var bN=U2.exports;const xN=DR(bN);var gu={exports:{}},wN={"&":"&",'"':""","'":"'","<":"<",">":">"};function TN(t){return t&&t.replace?t.replace(/([&"<>'])/g,function(e,n){return wN[n]}):t}var SN=TN,Td=SN,Gg=lf.Stream,DN=" ";function ON(t,e){typeof e!="object"&&(e={indent:e});var n=e.stream?new Gg:null,r="",i=!1,o=e.indent?e.indent===!0?DN:e.indent:"",a=!0;function s(d){a?nt.nextTick(d):d()}function c(d,f){if(f!==void 0&&(r+=f),d&&!i&&(n=n||new Gg,i=!0),d&&i){var p=r;s(function(){n.emit("data",p)}),r=""}}function u(d,f){Tf(c,mu(d,o,o?1:0),f)}function l(){if(n){var d=r;s(function(){n.emit("data",d),n.emit("end"),n.readable=!1,n.emit("close")})}}function h(d){var f=d.encoding||"UTF-8",p={version:"1.0",encoding:f};d.standalone&&(p.standalone=d.standalone),u({"?xml":{_attr:p}}),r=r.replace("/>","?>")}return s(function(){a=!1}),e.declaration&&h(e.declaration),t&&t.forEach?t.forEach(function(d,f){var p;f+1===t.length&&(p=l),u(d,p)}):u(t,l),n?(n.readable=!0,n):r}function _N(){var t=Array.prototype.slice.call(arguments),e={_elem:mu(t)};return e.push=function(n){if(!this.append)throw new Error("not assigned to a parent!");var r=this,i=this._elem.indent;Tf(this.append,mu(n,i,this._elem.icount+(i?1:0)),function(){r.append(!0)})},e.close=function(n){n!==void 0&&this.push(n),this.end&&this.end()},e}function EN(t,e){return new Array(e||0).join(t||"")}function mu(t,e,n){n=n||0;var r=EN(e,n),i,o=t,a=!1;if(typeof t=="object"){var s=Object.keys(t);if(i=s[0],o=t[i],o&&o._elem)return o._elem.name=i,o._elem.icount=n,o._elem.indent=e,o._elem.indents=r,o._elem.interrupt=o,o._elem}var c=[],u=[],l;function h(d){var f=Object.keys(d);f.forEach(function(p){c.push(IN(p,d[p]))})}switch(typeof o){case"object":if(o===null)break;o._attr&&h(o._attr),o._cdata&&u.push(("<![CDATA["+o._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),o.forEach&&(l=!1,u.push(""),o.forEach(function(d){if(typeof d=="object"){var f=Object.keys(d)[0];f=="_attr"?h(d._attr):u.push(mu(d,e,n+1))}else u.pop(),l=!0,u.push(Td(d))}),l||u.push(""));break;default:u.push(Td(o))}return{name:i,interrupt:a,attributes:c,content:u,icount:n,indents:r,indent:e}}function Tf(t,e,n){if(typeof e!="object")return t(!1,e);var r=e.interrupt?1:e.content.length;function i(){for(;e.content.length;){var a=e.content.shift();if(a!==void 0){if(o(a))return;Tf(t,a)}}t(!1,(r>1?e.indents:"")+(e.name?"</"+e.name+">":"")+(e.indent&&!n?`
|
|
`:"")),n&&n()}function o(a){return a.interrupt?(a.interrupt.append=t,a.interrupt.end=i,a.interrupt=!1,t(!0),!0):!1}if(t(!1,e.indents+(e.name?"<"+e.name:"")+(e.attributes.length?" "+e.attributes.join(" "):"")+(r?e.name?">":"":e.name?"/>":"")+(e.indent&&r>1?`
|
|
`:"")),!r)return t(!1,e.indent?`
|
|
`:"");o(e)||i()}function IN(t,e){return t+'="'+Td(e)+'"'}gu.exports=ON;gu.exports.element=gu.exports.Element=_N;var NN=gu.exports;const Ht=DR(NN),Jg=0,zg=32,FN=32,PN=(t,e)=>{const n=e.replace(/-/g,"");if(n.length!==FN)throw new Error(`Error: Cannot extract GUID from font filename: ${e}`);const i=n.replace(/(..)/g,"$1 ").trim().split(" ").map(c=>parseInt(c,16));i.reverse();const a=t.slice(Jg,zg).map((c,u)=>c^i[u%i.length]);return Buffer.concat([t.slice(0,Jg),a,t.slice(zg)])};class MN{format(e,n={stack:[]}){const r=e.prepForXml(n);if(r)return r;throw Error("XMLComponent did not format correctly")}}class LN{replace(e,n,r){let i=e;return n.forEach((o,a)=>{i=i.replace(new RegExp(`{${o.fileName}}`,"g"),(r+a).toString())}),i}getMediaData(e,n){return n.Array.filter(r=>e.search(`{${r.fileName}}`)>0)}}class CN{replace(e,n){let r=e;for(const i of n)r=r.replace(new RegExp(`{${i.reference}-${i.instance}}`,"g"),i.numId.toString());return r}}class AN{constructor(){be(this,"formatter"),be(this,"imageReplacer"),be(this,"numberingReplacer"),this.formatter=new MN,this.imageReplacer=new LN,this.numberingReplacer=new CN}compile(e,n){const r=new xN,i=this.xmlifyFile(e,n),o=new Map(Object.entries(i));for(const[,a]of o)if(Array.isArray(a))for(const s of a)r.file(s.path,s.data);else r.file(a.path,a.data);for(const{stream:a,fileName:s}of e.Media.Array)r.file(`word/media/${s}`,a);for(const{data:a,name:s,fontKey:c}of e.FontTable.fontOptionsWithKey){const[u]=s.split(".");r.file(`word/fonts/${u}.odttf`,PN(a,c))}return r}xmlifyFile(e,n){const r=e.Document.Relationships.RelationshipCount+1,i=Ht(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,e.Media);return{Relationships:{data:(()=>(o.forEach((a,s)=>{e.Document.Relationships.createRelationship(r+s,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${a.fileName}`)}),Ht(this.formatter.format(e.Document.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const a=this.imageReplacer.replace(i,o,r);return this.numberingReplacer.replace(a,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const a=Ht(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(a,e.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:Ht(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:Ht(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:Ht(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((a,s)=>{const c=Ht(this.formatter.format(a.View,{viewWrapper:a,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(c,e.Media).forEach((l,h)=>{a.Relationships.createRelationship(h,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${l.fileName}`)}),{data:Ht(this.formatter.format(a.Relationships,{viewWrapper:a,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${s+1}.xml.rels`}}),FooterRelationships:e.Footers.map((a,s)=>{const c=Ht(this.formatter.format(a.View,{viewWrapper:a,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(c,e.Media).forEach((l,h)=>{a.Relationships.createRelationship(h,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${l.fileName}`)}),{data:Ht(this.formatter.format(a.Relationships,{viewWrapper:a,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${s+1}.xml.rels`}}),Headers:e.Headers.map((a,s)=>{const c=Ht(this.formatter.format(a.View,{viewWrapper:a,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),u=this.imageReplacer.getMediaData(c,e.Media),l=this.imageReplacer.replace(c,u,0);return{data:this.numberingReplacer.replace(l,e.Numbering.ConcreteNumbering),path:`word/header${s+1}.xml`}}),Footers:e.Footers.map((a,s)=>{const c=Ht(this.formatter.format(a.View,{viewWrapper:a,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),u=this.imageReplacer.getMediaData(c,e.Media),l=this.imageReplacer.replace(c,u,0);return{data:this.numberingReplacer.replace(l,e.Numbering.ConcreteNumbering),path:`word/footer${s+1}.xml`}}),ContentTypes:{data:Ht(this.formatter.format(e.ContentTypes,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:Ht(this.formatter.format(e.CustomProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:Ht(this.formatter.format(e.AppProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:Ht(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"word/footnotes.xml"},FootNotesRelationships:{data:Ht(this.formatter.format(e.FootNotes.Relationships,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footnotes.xml.rels"},Settings:{data:Ht(this.formatter.format(e.Settings,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:Ht(this.formatter.format(e.Comments,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/comments.xml"},FontTable:{data:Ht(this.formatter.format(e.FontTable.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:(()=>Ht(this.formatter.format(e.FontTable.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:n,declaration:{encoding:"UTF-8"}}))(),path:"word/_rels/fontTable.xml.rels"}}}}const UN={NONE:"",WITH_2_BLANKS:" ",WITH_4_BLANKS:" ",WITH_TAB:" "},Ga=t=>t===!0?UN.WITH_2_BLANKS:t===!1?void 0:t;class jc{static toString(e,n){return wc(this,null,function*(){return yield this.compiler.compile(e,Ga(n)).generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBuffer(e,n){return wc(this,null,function*(){return yield this.compiler.compile(e,Ga(n)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBase64String(e,n){return wc(this,null,function*(){return yield this.compiler.compile(e,Ga(n)).generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBlob(e,n){return wc(this,null,function*(){return yield this.compiler.compile(e,Ga(n)).generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toStream(e,n){const r=new lf.Stream;return this.compiler.compile(e,Ga(n)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(o=>{r.emit("data",o),r.emit("end")}),r}}be(jc,"compiler",new AN);function WN(t,e){const n=document.createElement("a");n.href=window.URL.createObjectURL(t),n.download=e,n.click(),window.URL.revokeObjectURL(n.href)}const XN={[mt.FIRST]:Fo.HEADING_1,[mt.SECOND]:Fo.HEADING_2,[mt.THIRD]:Fo.HEADING_3,[mt.FOURTH]:Fo.HEADING_4,[mt.FIFTH]:Fo.HEADING_5,[mt.SIXTH]:Fo.HEADING_6};function Nh(t){var e;return t.type===fe.IMAGE?new AE({data:t.value,transformation:{width:t.width,height:t.height}}):t.type===fe.HYPERLINK?new _2({children:[new oa({text:(e=t.valueList)==null?void 0:e.map(n=>n.value).join(""),style:"Hyperlink"})],link:t.url}):t.type===fe.TAB?new oa({children:[new YE]}):t.type===fe.LATEX?new F3(t.value):new oa({font:t.font,text:t.value,bold:t.bold,size:`${(t.size||16)/.75}pt`,color:X1(t.color).hex()||"#000000",italics:t.italic,strike:t.strikeout,highlight:t.highlight?X1(t.highlight).hex():void 0,superScript:t.type===fe.SUPERSCRIPT,subScript:t.type===fe.SUBSCRIPT,underline:t.underline?{}:void 0})}function qc(t){var i,o,a;const e=[];let n=[];function r(){n.length&&(e.push(new Ci({children:n})),n=[])}for(let s=0;s<t.length;s++){const c=t[s];if(c.type===fe.TITLE)r(),e.push(new Ci({heading:XN[c.level],children:((i=c.valueList)==null?void 0:i.map(u=>Nh(u)))||[]}));else if(c.type===fe.LIST){r();const u=((o=c.valueList)==null?void 0:o.map(l=>l.value).join("").split(`
|
|
`).map((l,h)=>new Ci({children:[new oa({text:`${!c.listStyle||c.listStyle===or.DECIMAL?`${h+1}. `:"\u2022 "}${l}`})]})))||[];e.push(...u)}else if(c.type===fe.TABLE){r();const{trList:u}=c,l=[];for(let h=0;h<u.length;h++){const d=u[h].tdList,f=[];for(let p=0;p<d.length;p++){const g=d[p];f.push(new wf({columnSpan:g.colspan,rowSpan:g.rowspan,children:qc(g.value)||[]}))}l.push(new J3({children:f}))}e.push(new Q3({rows:l,width:{size:"100%",type:pu.PERCENTAGE}}))}else c.type===fe.DATE?n.push(...((a=c.valueList)==null?void 0:a.map(u=>Nh(u)))||[]):(/^\n/.test(c.value)&&(r(),c.value=c.value.replace(/^\n/,"")),n.push(Nh(c)))}return r(),e}function VN(t){return new Promise((e,n)=>{const r=new FileReader;r.onload=function(i){const o=i.target.result.split(";base64,");e(o[1])},r.onerror=function(i){n(i)},r.readAsDataURL(t)})}function $g(t,e){const{fileName:n,exportType:r}=e,{data:{header:i,main:o,footer:a}}=t.getValue(),s=new RN({sections:[{headers:{default:new yN({children:qc(i||[])})},footers:{default:new vN({children:qc(a||[])})},children:qc(o||[])}]});return r==="blob"?jc.toBlob(s):r==="base64"?new Promise((c,u)=>{jc.toBlob(s).then(l=>{VN(l).then(h=>{c(h)}).catch(h=>{u(h)})}).catch(l=>{u(l)})}):new Promise((c,u)=>{jc.toBlob(s).then(l=>{WN(l,`${n}.docx`),c()}).catch(u)})}var Fr={},Kt={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(qe,function(){var n="1.13.6",r=typeof self=="object"&&self.self===self&&self||typeof qe=="object"&&qe.global===qe&&qe||Function("return this")()||{},i=Array.prototype,o=Object.prototype,a=typeof Symbol!="undefined"?Symbol.prototype:null,s=i.push,c=i.slice,u=o.toString,l=o.hasOwnProperty,h=typeof ArrayBuffer!="undefined",d=typeof DataView!="undefined",f=Array.isArray,p=Object.keys,g=Object.create,y=h&&ArrayBuffer.isView,R=isNaN,m=isFinite,v=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=Math.pow(2,53)-1;function E(Y,$){return $=$==null?Y.length-1:+$,function(){for(var le=Math.max(arguments.length-$,0),de=Array(le),Re=0;Re<le;Re++)de[Re]=arguments[Re+$];switch($){case 0:return Y.call(this,de);case 1:return Y.call(this,arguments[0],de);case 2:return Y.call(this,arguments[0],arguments[1],de)}var me=Array($+1);for(Re=0;Re<$;Re++)me[Re]=arguments[Re];return me[$]=de,Y.apply(this,me)}}function N(Y){var $=typeof Y;return $==="function"||$==="object"&&!!Y}function M(Y){return Y===null}function _(Y){return Y===void 0}function B(Y){return Y===!0||Y===!1||u.call(Y)==="[object Boolean]"}function q(Y){return!!(Y&&Y.nodeType===1)}function T(Y){var $="[object "+Y+"]";return function(le){return u.call(le)===$}}var I=T("String"),b=T("Number"),P=T("Date"),U=T("RegExp"),X=T("Error"),V=T("Symbol"),k=T("ArrayBuffer"),re=T("Function"),Z=r.document&&r.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof Z!="function"&&(re=function(Y){return typeof Y=="function"||!1});var C=re,ne=T("Object"),oe=d&&ne(new DataView(new ArrayBuffer(8))),ue=typeof Map!="undefined"&&ne(new Map),ce=T("DataView");function W(Y){return Y!=null&&C(Y.getInt8)&&k(Y.buffer)}var A=oe?W:ce,Q=f||T("Array");function z(Y,$){return Y!=null&&l.call(Y,$)}var H=T("Arguments");(function(){H(arguments)||(H=function(Y){return z(Y,"callee")})})();var j=H;function ge(Y){return!V(Y)&&m(Y)&&!isNaN(parseFloat(Y))}function D(Y){return b(Y)&&R(Y)}function ie(Y){return function(){return Y}}function L(Y){return function($){var le=Y($);return typeof le=="number"&&le>=0&&le<=O}}function w(Y){return function($){return $==null?void 0:$[Y]}}var S=w("byteLength"),F=L(S),G=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ee(Y){return y?y(Y)&&!A(Y):F(Y)&&G.test(u.call(Y))}var K=h?ee:ie(!1),J=w("length");function te(Y){for(var $={},le=Y.length,de=0;de<le;++de)$[Y[de]]=!0;return{contains:function(Re){return $[Re]===!0},push:function(Re){return $[Re]=!0,Y.push(Re)}}}function ae(Y,$){$=te($);var le=x.length,de=Y.constructor,Re=C(de)&&de.prototype||o,me="constructor";for(z(Y,me)&&!$.contains(me)&&$.push(me);le--;)me=x[le],me in Y&&Y[me]!==Re[me]&&!$.contains(me)&&$.push(me)}function he(Y){if(!N(Y))return[];if(p)return p(Y);var $=[];for(var le in Y)z(Y,le)&&$.push(le);return v&&ae(Y,$),$}function xe(Y){if(Y==null)return!0;var $=J(Y);return typeof $=="number"&&(Q(Y)||I(Y)||j(Y))?$===0:J(he(Y))===0}function _e(Y,$){var le=he($),de=le.length;if(Y==null)return!de;for(var Re=Object(Y),me=0;me<de;me++){var Oe=le[me];if($[Oe]!==Re[Oe]||!(Oe in Re))return!1}return!0}function Me(Y){if(Y instanceof Me)return Y;if(!(this instanceof Me))return new Me(Y);this._wrapped=Y}Me.VERSION=n,Me.prototype.value=function(){return this._wrapped},Me.prototype.valueOf=Me.prototype.toJSON=Me.prototype.value,Me.prototype.toString=function(){return String(this._wrapped)};function Xe(Y){return new Uint8Array(Y.buffer||Y,Y.byteOffset||0,S(Y))}var He="[object DataView]";function ze(Y,$,le,de){if(Y===$)return Y!==0||1/Y===1/$;if(Y==null||$==null)return!1;if(Y!==Y)return $!==$;var Re=typeof Y;return Re!=="function"&&Re!=="object"&&typeof $!="object"?!1:Ze(Y,$,le,de)}function Ze(Y,$,le,de){Y instanceof Me&&(Y=Y._wrapped),$ instanceof Me&&($=$._wrapped);var Re=u.call(Y);if(Re!==u.call($))return!1;if(oe&&Re=="[object Object]"&&A(Y)){if(!A($))return!1;Re=He}switch(Re){case"[object RegExp]":case"[object String]":return""+Y==""+$;case"[object Number]":return+Y!=+Y?+$!=+$:+Y==0?1/+Y===1/$:+Y==+$;case"[object Date]":case"[object Boolean]":return+Y==+$;case"[object Symbol]":return a.valueOf.call(Y)===a.valueOf.call($);case"[object ArrayBuffer]":case He:return Ze(Xe(Y),Xe($),le,de)}var me=Re==="[object Array]";if(!me&&K(Y)){var Oe=S(Y);if(Oe!==S($))return!1;if(Y.buffer===$.buffer&&Y.byteOffset===$.byteOffset)return!0;me=!0}if(!me){if(typeof Y!="object"||typeof $!="object")return!1;var Ce=Y.constructor,et=$.constructor;if(Ce!==et&&!(C(Ce)&&Ce instanceof Ce&&C(et)&&et instanceof et)&&"constructor"in Y&&"constructor"in $)return!1}le=le||[],de=de||[];for(var $e=le.length;$e--;)if(le[$e]===Y)return de[$e]===$;if(le.push(Y),de.push($),me){if($e=Y.length,$e!==$.length)return!1;for(;$e--;)if(!ze(Y[$e],$[$e],le,de))return!1}else{var un=he(Y),An;if($e=un.length,he($).length!==$e)return!1;for(;$e--;)if(An=un[$e],!(z($,An)&&ze(Y[An],$[An],le,de)))return!1}return le.pop(),de.pop(),!0}function ut(Y,$){return ze(Y,$)}function Vt(Y){if(!N(Y))return[];var $=[];for(var le in Y)$.push(le);return v&&ae(Y,$),$}function Dt(Y){var $=J(Y);return function(le){if(le==null)return!1;var de=Vt(le);if(J(de))return!1;for(var Re=0;Re<$;Re++)if(!C(le[Y[Re]]))return!1;return Y!==mn||!C(le[Zn])}}var Zn="forEach",ei="has",kn=["clear","delete"],ti=["get",ei,"set"],ni=kn.concat(Zn,ti),mn=kn.concat(ti),Dn=["add"].concat(kn,Zn,ei),sc=ue?Dt(ni):T("Map"),yl=ue?Dt(mn):T("WeakMap"),vl=ue?Dt(Dn):T("Set"),cc=T("WeakSet");function ri(Y){for(var $=he(Y),le=$.length,de=Array(le),Re=0;Re<le;Re++)de[Re]=Y[$[Re]];return de}function So(Y){for(var $=he(Y),le=$.length,de=Array(le),Re=0;Re<le;Re++)de[Re]=[$[Re],Y[$[Re]]];return de}function Wa(Y){for(var $={},le=he(Y),de=0,Re=le.length;de<Re;de++)$[Y[le[de]]]=le[de];return $}function Qi(Y){var $=[];for(var le in Y)C(Y[le])&&$.push(le);return $.sort()}function Do(Y,$){return function(le){var de=arguments.length;if($&&(le=Object(le)),de<2||le==null)return le;for(var Re=1;Re<de;Re++)for(var me=arguments[Re],Oe=Y(me),Ce=Oe.length,et=0;et<Ce;et++){var $e=Oe[et];(!$||le[$e]===void 0)&&(le[$e]=me[$e])}return le}}var Oo=Do(Vt),_o=Do(he),Xa=Do(Vt,!0);function uc(){return function(){}}function Ki(Y){if(!N(Y))return{};if(g)return g(Y);var $=uc();$.prototype=Y;var le=new $;return $.prototype=null,le}function lc(Y,$){var le=Ki(Y);return $&&_o(le,$),le}function hc(Y){return N(Y)?Q(Y)?Y.slice():Oo({},Y):Y}function xi(Y,$){return $(Y),Y}function dc(Y){return Q(Y)?Y:[Y]}Me.toPath=dc;function wi(Y){return Me.toPath(Y)}function Va(Y,$){for(var le=$.length,de=0;de<le;de++){if(Y==null)return;Y=Y[$[de]]}return le?Y:void 0}function fc(Y,$,le){var de=Va(Y,wi($));return _(de)?le:de}function bl(Y,$){$=wi($);for(var le=$.length,de=0;de<le;de++){var Re=$[de];if(!z(Y,Re))return!1;Y=Y[Re]}return!!le}function Eo(Y){return Y}function Ti(Y){return Y=_o({},Y),function($){return _e($,Y)}}function Ya(Y){return Y=wi(Y),function($){return Va($,Y)}}function Hi(Y,$,le){if($===void 0)return Y;switch(le==null?3:le){case 1:return function(de){return Y.call($,de)};case 3:return function(de,Re,me){return Y.call($,de,Re,me)};case 4:return function(de,Re,me,Oe){return Y.call($,de,Re,me,Oe)}}return function(){return Y.apply($,arguments)}}function Ba(Y,$,le){return Y==null?Eo:C(Y)?Hi(Y,$,le):N(Y)&&!Q(Y)?Ti(Y):Ya(Y)}function pe(Y,$){return Ba(Y,$,1/0)}Me.iteratee=pe;function we(Y,$,le){return Me.iteratee!==pe?Me.iteratee(Y,$):Ba(Y,$,le)}function Ee(Y,$,le){$=we($,le);for(var de=he(Y),Re=de.length,me={},Oe=0;Oe<Re;Oe++){var Ce=de[Oe];me[Ce]=$(Y[Ce],Ce,Y)}return me}function Fe(){}function Ie(Y){return Y==null?Fe:function($){return fc(Y,$)}}function Ae(Y,$,le){var de=Array(Math.max(0,Y));$=Hi($,le,1);for(var Re=0;Re<Y;Re++)de[Re]=$(Re);return de}function Be(Y,$){return $==null&&($=Y,Y=0),Y+Math.floor(Math.random()*($-Y+1))}var Je=Date.now||function(){return new Date().getTime()};function tt(Y){var $=function(me){return Y[me]},le="(?:"+he(Y).join("|")+")",de=RegExp(le),Re=RegExp(le,"g");return function(me){return me=me==null?"":""+me,de.test(me)?me.replace(Re,$):me}}var bt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},It=tt(bt),dr=Wa(bt),Gi=tt(dr),en=Me.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},xl=/(.)^/,Db={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ob=/\\|'|\r|\n|\u2028|\u2029/g;function _b(Y){return"\\"+Db[Y]}var Eb=/^\s*(\w|\$)+\s*$/;function Ib(Y,$,le){!$&&le&&($=le),$=Xa({},$,Me.templateSettings);var de=RegExp([($.escape||xl).source,($.interpolate||xl).source,($.evaluate||xl).source].join("|")+"|$","g"),Re=0,me="__p+='";Y.replace(de,function($e,un,An,y1,v1){return me+=Y.slice(Re,v1).replace(Ob,_b),Re=v1+$e.length,un?me+=`'+
|
|
((__t=(`+un+`))==null?'':_.escape(__t))+
|
|
'`:An?me+=`'+
|
|
((__t=(`+An+`))==null?'':__t)+
|
|
'`:y1&&(me+=`';
|
|
`+y1+`
|
|
__p+='`),$e}),me+=`';
|
|
`;var Oe=$.variable;if(Oe){if(!Eb.test(Oe))throw new Error("variable is not a bare identifier: "+Oe)}else me=`with(obj||{}){
|
|
`+me+`}
|
|
`,Oe="obj";me=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
`+me+`return __p;
|
|
`;var Ce;try{Ce=new Function(Oe,"_",me)}catch($e){throw $e.source=me,$e}var et=function($e){return Ce.call(this,$e,Me)};return et.source="function("+Oe+`){
|
|
`+me+"}",et}function Nb(Y,$,le){$=wi($);var de=$.length;if(!de)return C(le)?le.call(Y):le;for(var Re=0;Re<de;Re++){var me=Y==null?void 0:Y[$[Re]];me===void 0&&(me=le,Re=de),Y=C(me)?me.call(Y):me}return Y}var Fb=0;function Pb(Y){var $=++Fb+"";return Y?Y+$:$}function Mb(Y){var $=Me(Y);return $._chain=!0,$}function $p(Y,$,le,de,Re){if(!(de instanceof $))return Y.apply(le,Re);var me=Ki(Y.prototype),Oe=Y.apply(me,Re);return N(Oe)?Oe:me}var Io=E(function(Y,$){var le=Io.placeholder,de=function(){for(var Re=0,me=$.length,Oe=Array(me),Ce=0;Ce<me;Ce++)Oe[Ce]=$[Ce]===le?arguments[Re++]:$[Ce];for(;Re<arguments.length;)Oe.push(arguments[Re++]);return $p(Y,de,this,this,Oe)};return de});Io.placeholder=Me;var jp=E(function(Y,$,le){if(!C(Y))throw new TypeError("Bind must be called on a function");var de=E(function(Re){return $p(Y,de,$,this,le.concat(Re))});return de}),rr=L(J);function Ji(Y,$,le,de){if(de=de||[],!$&&$!==0)$=1/0;else if($<=0)return de.concat(Y);for(var Re=de.length,me=0,Oe=J(Y);me<Oe;me++){var Ce=Y[me];if(rr(Ce)&&(Q(Ce)||j(Ce)))if($>1)Ji(Ce,$-1,le,de),Re=de.length;else for(var et=0,$e=Ce.length;et<$e;)de[Re++]=Ce[et++];else le||(de[Re++]=Ce)}return de}var Lb=E(function(Y,$){$=Ji($,!1,!1);var le=$.length;if(le<1)throw new Error("bindAll must be passed function names");for(;le--;){var de=$[le];Y[de]=jp(Y[de],Y)}return Y});function Cb(Y,$){var le=function(de){var Re=le.cache,me=""+($?$.apply(this,arguments):de);return z(Re,me)||(Re[me]=Y.apply(this,arguments)),Re[me]};return le.cache={},le}var qp=E(function(Y,$,le){return setTimeout(function(){return Y.apply(null,le)},$)}),Ab=Io(qp,Me,1);function Ub(Y,$,le){var de,Re,me,Oe,Ce=0;le||(le={});var et=function(){Ce=le.leading===!1?0:Je(),de=null,Oe=Y.apply(Re,me),de||(Re=me=null)},$e=function(){var un=Je();!Ce&&le.leading===!1&&(Ce=un);var An=$-(un-Ce);return Re=this,me=arguments,An<=0||An>$?(de&&(clearTimeout(de),de=null),Ce=un,Oe=Y.apply(Re,me),de||(Re=me=null)):!de&&le.trailing!==!1&&(de=setTimeout(et,An)),Oe};return $e.cancel=function(){clearTimeout(de),Ce=0,de=Re=me=null},$e}function Wb(Y,$,le){var de,Re,me,Oe,Ce,et=function(){var un=Je()-Re;$>un?de=setTimeout(et,$-un):(de=null,le||(Oe=Y.apply(Ce,me)),de||(me=Ce=null))},$e=E(function(un){return Ce=this,me=un,Re=Je(),de||(de=setTimeout(et,$),le&&(Oe=Y.apply(Ce,me))),Oe});return $e.cancel=function(){clearTimeout(de),de=me=Ce=null},$e}function Xb(Y,$){return Io($,Y)}function wl(Y){return function(){return!Y.apply(this,arguments)}}function Vb(){var Y=arguments,$=Y.length-1;return function(){for(var le=$,de=Y[$].apply(this,arguments);le--;)de=Y[le].call(this,de);return de}}function Yb(Y,$){return function(){if(--Y<1)return $.apply(this,arguments)}}function e1(Y,$){var le;return function(){return--Y>0&&(le=$.apply(this,arguments)),Y<=1&&($=null),le}}var Bb=Io(e1,2);function t1(Y,$,le){$=we($,le);for(var de=he(Y),Re,me=0,Oe=de.length;me<Oe;me++)if(Re=de[me],$(Y[Re],Re,Y))return Re}function n1(Y){return function($,le,de){le=we(le,de);for(var Re=J($),me=Y>0?0:Re-1;me>=0&&me<Re;me+=Y)if(le($[me],me,$))return me;return-1}}var Tl=n1(1),r1=n1(-1);function i1(Y,$,le,de){le=we(le,de,1);for(var Re=le($),me=0,Oe=J(Y);me<Oe;){var Ce=Math.floor((me+Oe)/2);le(Y[Ce])<Re?me=Ce+1:Oe=Ce}return me}function o1(Y,$,le){return function(de,Re,me){var Oe=0,Ce=J(de);if(typeof me=="number")Y>0?Oe=me>=0?me:Math.max(me+Ce,Oe):Ce=me>=0?Math.min(me+1,Ce):me+Ce+1;else if(le&&me&&Ce)return me=le(de,Re),de[me]===Re?me:-1;if(Re!==Re)return me=$(c.call(de,Oe,Ce),D),me>=0?me+Oe:-1;for(me=Y>0?Oe:Ce-1;me>=0&&me<Ce;me+=Y)if(de[me]===Re)return me;return-1}}var a1=o1(1,Tl,i1),Zb=o1(-1,r1);function Sl(Y,$,le){var de=rr(Y)?Tl:t1,Re=de(Y,$,le);if(Re!==void 0&&Re!==-1)return Y[Re]}function kb(Y,$){return Sl(Y,Ti($))}function ii(Y,$,le){$=Hi($,le);var de,Re;if(rr(Y))for(de=0,Re=Y.length;de<Re;de++)$(Y[de],de,Y);else{var me=he(Y);for(de=0,Re=me.length;de<Re;de++)$(Y[me[de]],me[de],Y)}return Y}function zi(Y,$,le){$=we($,le);for(var de=!rr(Y)&&he(Y),Re=(de||Y).length,me=Array(Re),Oe=0;Oe<Re;Oe++){var Ce=de?de[Oe]:Oe;me[Oe]=$(Y[Ce],Ce,Y)}return me}function s1(Y){var $=function(le,de,Re,me){var Oe=!rr(le)&&he(le),Ce=(Oe||le).length,et=Y>0?0:Ce-1;for(me||(Re=le[Oe?Oe[et]:et],et+=Y);et>=0&&et<Ce;et+=Y){var $e=Oe?Oe[et]:et;Re=de(Re,le[$e],$e,le)}return Re};return function(le,de,Re,me){var Oe=arguments.length>=3;return $(le,Hi(de,me,4),Re,Oe)}}var Dl=s1(1),c1=s1(-1);function No(Y,$,le){var de=[];return $=we($,le),ii(Y,function(Re,me,Oe){$(Re,me,Oe)&&de.push(Re)}),de}function Qb(Y,$,le){return No(Y,wl(we($)),le)}function u1(Y,$,le){$=we($,le);for(var de=!rr(Y)&&he(Y),Re=(de||Y).length,me=0;me<Re;me++){var Oe=de?de[me]:me;if(!$(Y[Oe],Oe,Y))return!1}return!0}function l1(Y,$,le){$=we($,le);for(var de=!rr(Y)&&he(Y),Re=(de||Y).length,me=0;me<Re;me++){var Oe=de?de[me]:me;if($(Y[Oe],Oe,Y))return!0}return!1}function oi(Y,$,le,de){return rr(Y)||(Y=ri(Y)),(typeof le!="number"||de)&&(le=0),a1(Y,$,le)>=0}var Kb=E(function(Y,$,le){var de,Re;return C($)?Re=$:($=wi($),de=$.slice(0,-1),$=$[$.length-1]),zi(Y,function(me){var Oe=Re;if(!Oe){if(de&&de.length&&(me=Va(me,de)),me==null)return;Oe=me[$]}return Oe==null?Oe:Oe.apply(me,le)})});function Ol(Y,$){return zi(Y,Ya($))}function Hb(Y,$){return No(Y,Ti($))}function h1(Y,$,le){var de=-1/0,Re=-1/0,me,Oe;if($==null||typeof $=="number"&&typeof Y[0]!="object"&&Y!=null){Y=rr(Y)?Y:ri(Y);for(var Ce=0,et=Y.length;Ce<et;Ce++)me=Y[Ce],me!=null&&me>de&&(de=me)}else $=we($,le),ii(Y,function($e,un,An){Oe=$($e,un,An),(Oe>Re||Oe===-1/0&&de===-1/0)&&(de=$e,Re=Oe)});return de}function Gb(Y,$,le){var de=1/0,Re=1/0,me,Oe;if($==null||typeof $=="number"&&typeof Y[0]!="object"&&Y!=null){Y=rr(Y)?Y:ri(Y);for(var Ce=0,et=Y.length;Ce<et;Ce++)me=Y[Ce],me!=null&&me<de&&(de=me)}else $=we($,le),ii(Y,function($e,un,An){Oe=$($e,un,An),(Oe<Re||Oe===1/0&&de===1/0)&&(de=$e,Re=Oe)});return de}var Jb=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function d1(Y){return Y?Q(Y)?c.call(Y):I(Y)?Y.match(Jb):rr(Y)?zi(Y,Eo):ri(Y):[]}function f1(Y,$,le){if($==null||le)return rr(Y)||(Y=ri(Y)),Y[Be(Y.length-1)];var de=d1(Y),Re=J(de);$=Math.max(Math.min($,Re),0);for(var me=Re-1,Oe=0;Oe<$;Oe++){var Ce=Be(Oe,me),et=de[Oe];de[Oe]=de[Ce],de[Ce]=et}return de.slice(0,$)}function zb(Y){return f1(Y,1/0)}function $b(Y,$,le){var de=0;return $=we($,le),Ol(zi(Y,function(Re,me,Oe){return{value:Re,index:de++,criteria:$(Re,me,Oe)}}).sort(function(Re,me){var Oe=Re.criteria,Ce=me.criteria;if(Oe!==Ce){if(Oe>Ce||Oe===void 0)return 1;if(Oe<Ce||Ce===void 0)return-1}return Re.index-me.index}),"value")}function pc(Y,$){return function(le,de,Re){var me=$?[[],[]]:{};return de=we(de,Re),ii(le,function(Oe,Ce){var et=de(Oe,Ce,le);Y(me,Oe,et)}),me}}var jb=pc(function(Y,$,le){z(Y,le)?Y[le].push($):Y[le]=[$]}),qb=pc(function(Y,$,le){Y[le]=$}),ex=pc(function(Y,$,le){z(Y,le)?Y[le]++:Y[le]=1}),tx=pc(function(Y,$,le){Y[le?0:1].push($)},!0);function nx(Y){return Y==null?0:rr(Y)?Y.length:he(Y).length}function rx(Y,$,le){return $ in le}var p1=E(function(Y,$){var le={},de=$[0];if(Y==null)return le;C(de)?($.length>1&&(de=Hi(de,$[1])),$=Vt(Y)):(de=rx,$=Ji($,!1,!1),Y=Object(Y));for(var Re=0,me=$.length;Re<me;Re++){var Oe=$[Re],Ce=Y[Oe];de(Ce,Oe,Y)&&(le[Oe]=Ce)}return le}),ix=E(function(Y,$){var le=$[0],de;return C(le)?(le=wl(le),$.length>1&&(de=$[1])):($=zi(Ji($,!1,!1),String),le=function(Re,me){return!oi($,me)}),p1(Y,le,de)});function g1(Y,$,le){return c.call(Y,0,Math.max(0,Y.length-($==null||le?1:$)))}function _l(Y,$,le){return Y==null||Y.length<1?$==null||le?void 0:[]:$==null||le?Y[0]:g1(Y,Y.length-$)}function gc(Y,$,le){return c.call(Y,$==null||le?1:$)}function ox(Y,$,le){return Y==null||Y.length<1?$==null||le?void 0:[]:$==null||le?Y[Y.length-1]:gc(Y,Math.max(0,Y.length-$))}function ax(Y){return No(Y,Boolean)}function sx(Y,$){return Ji(Y,$,!1)}var m1=E(function(Y,$){return $=Ji($,!0,!0),No(Y,function(le){return!oi($,le)})}),cx=E(function(Y,$){return m1(Y,$)});function El(Y,$,le,de){B($)||(de=le,le=$,$=!1),le!=null&&(le=we(le,de));for(var Re=[],me=[],Oe=0,Ce=J(Y);Oe<Ce;Oe++){var et=Y[Oe],$e=le?le(et,Oe,Y):et;$&&!le?((!Oe||me!==$e)&&Re.push(et),me=$e):le?oi(me,$e)||(me.push($e),Re.push(et)):oi(Re,et)||Re.push(et)}return Re}var ux=E(function(Y){return El(Ji(Y,!0,!0))});function lx(Y){for(var $=[],le=arguments.length,de=0,Re=J(Y);de<Re;de++){var me=Y[de];if(!oi($,me)){var Oe;for(Oe=1;Oe<le&&oi(arguments[Oe],me);Oe++);Oe===le&&$.push(me)}}return $}function Il(Y){for(var $=Y&&h1(Y,J).length||0,le=Array($),de=0;de<$;de++)le[de]=Ol(Y,de);return le}var hx=E(Il);function dx(Y,$){for(var le={},de=0,Re=J(Y);de<Re;de++)$?le[Y[de]]=$[de]:le[Y[de][0]]=Y[de][1];return le}function fx(Y,$,le){$==null&&($=Y||0,Y=0),le||(le=$<Y?-1:1);for(var de=Math.max(Math.ceil(($-Y)/le),0),Re=Array(de),me=0;me<de;me++,Y+=le)Re[me]=Y;return Re}function px(Y,$){if($==null||$<1)return[];for(var le=[],de=0,Re=Y.length;de<Re;)le.push(c.call(Y,de,de+=$));return le}function Nl(Y,$){return Y._chain?Me($).chain():$}function R1(Y){return ii(Qi(Y),function($){var le=Me[$]=Y[$];Me.prototype[$]=function(){var de=[this._wrapped];return s.apply(de,arguments),Nl(this,le.apply(Me,de))}}),Me}ii(["pop","push","reverse","shift","sort","splice","unshift"],function(Y){var $=i[Y];Me.prototype[Y]=function(){var le=this._wrapped;return le!=null&&($.apply(le,arguments),(Y==="shift"||Y==="splice")&&le.length===0&&delete le[0]),Nl(this,le)}}),ii(["concat","join","slice"],function(Y){var $=i[Y];Me.prototype[Y]=function(){var le=this._wrapped;return le!=null&&(le=$.apply(le,arguments)),Nl(this,le)}});var gx={__proto__:null,VERSION:n,restArguments:E,isObject:N,isNull:M,isUndefined:_,isBoolean:B,isElement:q,isString:I,isNumber:b,isDate:P,isRegExp:U,isError:X,isSymbol:V,isArrayBuffer:k,isDataView:A,isArray:Q,isFunction:C,isArguments:j,isFinite:ge,isNaN:D,isTypedArray:K,isEmpty:xe,isMatch:_e,isEqual:ut,isMap:sc,isWeakMap:yl,isSet:vl,isWeakSet:cc,keys:he,allKeys:Vt,values:ri,pairs:So,invert:Wa,functions:Qi,methods:Qi,extend:Oo,extendOwn:_o,assign:_o,defaults:Xa,create:lc,clone:hc,tap:xi,get:fc,has:bl,mapObject:Ee,identity:Eo,constant:ie,noop:Fe,toPath:dc,property:Ya,propertyOf:Ie,matcher:Ti,matches:Ti,times:Ae,random:Be,now:Je,escape:It,unescape:Gi,templateSettings:en,template:Ib,result:Nb,uniqueId:Pb,chain:Mb,iteratee:pe,partial:Io,bind:jp,bindAll:Lb,memoize:Cb,delay:qp,defer:Ab,throttle:Ub,debounce:Wb,wrap:Xb,negate:wl,compose:Vb,after:Yb,before:e1,once:Bb,findKey:t1,findIndex:Tl,findLastIndex:r1,sortedIndex:i1,indexOf:a1,lastIndexOf:Zb,find:Sl,detect:Sl,findWhere:kb,each:ii,forEach:ii,map:zi,collect:zi,reduce:Dl,foldl:Dl,inject:Dl,reduceRight:c1,foldr:c1,filter:No,select:No,reject:Qb,every:u1,all:u1,some:l1,any:l1,contains:oi,includes:oi,include:oi,invoke:Kb,pluck:Ol,where:Hb,max:h1,min:Gb,shuffle:zb,sample:f1,sortBy:$b,groupBy:jb,indexBy:qb,countBy:ex,partition:tx,toArray:d1,size:nx,pick:p1,omit:ix,first:_l,head:_l,take:_l,initial:g1,last:ox,rest:gc,tail:gc,drop:gc,compact:ax,flatten:sx,without:cx,uniq:El,unique:El,union:ux,intersection:lx,difference:m1,unzip:Il,transpose:Il,zip:hx,object:dx,range:fx,chunk:px,mixin:R1,default:Me},Fl=R1(gx);return Fl._=Fl,Fl})})(Kt);var Sf={},gn={},W2={exports:{}},Xi={exports:{}},Fh=function(){return this===void 0}();if(Fh)Xi.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:Fh,propertyIsWritable:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!!(!n||n.writable||n.set)}};else{var YN={}.hasOwnProperty,BN={}.toString,ZN={}.constructor.prototype,jg=function(t){var e=[];for(var n in t)YN.call(t,n)&&e.push(n);return e},kN=function(t,e){return{value:t[e]}},QN=function(t,e,n){return t[e]=n.value,t},KN=function(t){return t},HN=function(t){try{return Object(t).constructor.prototype}catch{return ZN}},GN=function(t){try{return BN.call(t)==="[object Array]"}catch{return!1}};Xi.exports={isArray:GN,keys:jg,names:jg,defineProperty:QN,getDescriptor:kN,freeze:KN,getPrototypeOf:HN,isES5:Fh,propertyIsWritable:function(){return!0}}}var zn=Xi.exports,JN=typeof navigator=="undefined",Sd={e:{}},Dd,zN=typeof self!="undefined"?self:typeof window!="undefined"?window:typeof qe!="undefined"||qe!==void 0?qe:null;function $N(){try{var t=Dd;return Dd=null,t.apply(this,arguments)}catch(e){return Sd.e=e,Sd}}function jN(t){return Dd=t,$N}var qN=function(t,e){var n={}.hasOwnProperty;function r(){this.constructor=t,this.constructor$=e;for(var i in e.prototype)n.call(e.prototype,i)&&i.charAt(i.length-1)!=="$"&&(this[i+"$"]=e.prototype[i])}return r.prototype=e.prototype,t.prototype=new r,t.prototype};function Df(t){return t==null||t===!0||t===!1||typeof t=="string"||typeof t=="number"}function eF(t){return typeof t=="function"||typeof t=="object"&&t!==null}function tF(t){return Df(t)?new Error(Ru(t)):t}function nF(t,e){var n=t.length,r=new Array(n+1),i;for(i=0;i<n;++i)r[i]=t[i];return r[i]=e,r}function rF(t,e,n){if(zn.isES5){var r=Object.getOwnPropertyDescriptor(t,e);if(r!=null)return r.get==null&&r.set==null?r.value:n}else return{}.hasOwnProperty.call(t,e)?t[e]:void 0}function X2(t,e,n){if(Df(t))return t;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return zn.defineProperty(t,e,r),t}function iF(t){throw t}var oF=function(){var t=[Array.prototype,Object.prototype,Function.prototype],e=function(i){for(var o=0;o<t.length;++o)if(t[o]===i)return!0;return!1};if(zn.isES5){var n=Object.getOwnPropertyNames;return function(i){for(var o=[],a=Object.create(null);i!=null&&!e(i);){var s;try{s=n(i)}catch{return o}for(var c=0;c<s.length;++c){var u=s[c];if(!a[u]){a[u]=!0;var l=Object.getOwnPropertyDescriptor(i,u);l!=null&&l.get==null&&l.set==null&&o.push(u)}}i=zn.getPrototypeOf(i)}return o}}else{var r={}.hasOwnProperty;return function(i){if(e(i))return[];var o=[];e:for(var a in i)if(r.call(i,a))o.push(a);else{for(var s=0;s<t.length;++s)if(r.call(t[s],a))continue e;o.push(a)}return o}}}(),aF=/this\s*\.\s*\S+\s*=/;function sF(t){try{if(typeof t=="function"){var e=zn.names(t.prototype),n=zn.isES5&&e.length>1,r=e.length>0&&!(e.length===1&&e[0]==="constructor"),i=aF.test(t+"")&&zn.names(t).length>0;if(n||r||i)return!0}return!1}catch{return!1}}function cF(t){return t}var uF=/^[a-z$_][a-z$_0-9]*$/i;function lF(t){return uF.test(t)}function hF(t,e,n){for(var r=new Array(t),i=0;i<t;++i)r[i]=e+i+n;return r}function Ru(t){try{return t+""}catch{return"[no string representation]"}}function V2(t){return t!==null&&typeof t=="object"&&typeof t.message=="string"&&typeof t.name=="string"}function dF(t){try{X2(t,"isOperational",!0)}catch{}}function fF(t){return t==null?!1:t instanceof Error.__BluebirdErrorTypes__.OperationalError||t.isOperational===!0}function Od(t){return V2(t)&&zn.propertyIsWritable(t,"stack")}var pF=function(){return"stack"in new Error?function(t){return Od(t)?t:new Error(Ru(t))}:function(t){if(Od(t))return t;try{throw new Error(Ru(t))}catch(e){return e}}}();function Y2(t){return{}.toString.call(t)}function gF(t,e,n){for(var r=zn.names(t),i=0;i<r.length;++i){var o=r[i];if(n(o))try{zn.defineProperty(e,o,zn.getDescriptor(t,o))}catch{}}}var B2=function(t){return zn.isArray(t)?t:null};if(typeof Symbol!="undefined"&&Symbol.iterator){var mF=typeof Array.from=="function"?function(t){return Array.from(t)}:function(t){for(var e=[],n=t[Symbol.iterator](),r;!(r=n.next()).done;)e.push(r.value);return e};B2=function(t){return zn.isArray(t)?t:t!=null&&typeof t[Symbol.iterator]=="function"?mF(t):null}}var RF=typeof process!="undefined"&&Y2(process).toLowerCase()==="[object process]",Z2=typeof process!="undefined"&&typeof process.env!="undefined";function yF(t){return Z2?process.env[t]:void 0}function vF(){if(typeof Promise=="function")try{var t=new Promise(function(){});if({}.toString.call(t)==="[object Promise]")return Promise}catch{}}function bF(t,e){return t.bind(e)}var ga={isClass:sF,isIdentifier:lF,inheritedDataKeys:oF,getDataPropertyOrDefault:rF,thrower:iF,isArray:zn.isArray,asArray:B2,notEnumerableProp:X2,isPrimitive:Df,isObject:eF,isError:V2,canEvaluate:JN,errorObj:Sd,tryCatch:jN,inherits:qN,withAppended:nF,maybeWrapAsError:tF,toFastProperties:cF,filledRange:hF,toString:Ru,canAttachTrace:Od,ensureErrorObject:pF,originatesFromRejection:fF,markAsOriginatingFromRejection:dF,classString:Y2,copyDescriptors:gF,hasDevTools:typeof chrome!="undefined"&&chrome&&typeof chrome.loadTimes=="function",isNode:RF,hasEnvVariables:Z2,env:yF,global:zN,getNativePromise:vF,domainBind:bF};ga.isRecentNode=ga.isNode&&function(){var t=process.versions.node.split(".").map(Number);return t[0]===0&&t[1]>10||t[0]>0}();ga.isNode&&ga.toFastProperties(process);try{throw new Error}catch(t){ga.lastLineError=t}var Ct=ga,Of={exports:{}},_d=Ct,to,xF=function(){throw new Error(`No async scheduler available
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`)},Ph=_d.getNativePromise();if(_d.isNode&&typeof MutationObserver=="undefined"){var wF=qe.setImmediate,TF=process.nextTick;to=_d.isRecentNode?function(t){wF.call(qe,t)}:function(t){TF.call(process,t)}}else if(typeof Ph=="function"&&typeof Ph.resolve=="function"){var SF=Ph.resolve();to=function(t){SF.then(t)}}else typeof MutationObserver!="undefined"&&!(typeof window!="undefined"&&window.navigator&&(window.navigator.standalone||window.cordova))?to=function(){var t=document.createElement("div"),e={attributes:!0},n=!1,r=document.createElement("div"),i=new MutationObserver(function(){t.classList.toggle("foo"),n=!1});i.observe(r,e);var o=function(){n||(n=!0,r.classList.toggle("foo"))};return function(s){var c=new MutationObserver(function(){c.disconnect(),s()});c.observe(t,e),o()}}():typeof setImmediate!="undefined"?to=function(t){setImmediate(t)}:typeof setTimeout!="undefined"?to=function(t){setTimeout(t,0)}:to=xF;var DF=to;function OF(t,e,n,r,i){for(var o=0;o<i;++o)n[o+r]=t[o+e],t[o+e]=void 0}function Bi(t){this._capacity=t,this._length=0,this._front=0}Bi.prototype._willBeOverCapacity=function(t){return this._capacity<t};Bi.prototype._pushOne=function(t){var e=this.length();this._checkCapacity(e+1);var n=this._front+e&this._capacity-1;this[n]=t,this._length=e+1};Bi.prototype.push=function(t,e,n){var r=this.length()+3;if(this._willBeOverCapacity(r)){this._pushOne(t),this._pushOne(e),this._pushOne(n);return}var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=t,this[i+1&o]=e,this[i+2&o]=n,this._length=r};Bi.prototype.shift=function(){var t=this._front,e=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length--,e};Bi.prototype.length=function(){return this._length};Bi.prototype._checkCapacity=function(t){this._capacity<t&&this._resizeTo(this._capacity<<1)};Bi.prototype._resizeTo=function(t){var e=this._capacity;this._capacity=t;var n=this._front,r=this._length,i=n+r&e-1;OF(this,0,this,e,i)};var _F=Bi,k2;try{throw new Error}catch(t){k2=t}var EF=DF,qg=_F,Q2=Ct;function fn(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new qg(16),this._normalQueue=new qg(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var t=this;this.drainQueues=function(){t._drainQueues()},this._schedule=EF}fn.prototype.setScheduler=function(t){var e=this._schedule;return this._schedule=t,this._customScheduler=!0,e};fn.prototype.hasCustomScheduler=function(){return this._customScheduler};fn.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};fn.prototype.disableTrampolineIfNecessary=function(){Q2.hasDevTools&&(this._trampolineEnabled=!1)};fn.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};fn.prototype.fatalError=function(t,e){e?(process.stderr.write("Fatal "+(t instanceof Error?t.stack:t)+`
|
|
`),process.exit(2)):this.throwLater(t)};fn.prototype.throwLater=function(t,e){if(arguments.length===1&&(e=t,t=function(){throw e}),typeof setTimeout!="undefined")setTimeout(function(){t(e)},0);else try{this._schedule(function(){t(e)})}catch{throw new Error(`No async scheduler available
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`)}};function e0(t,e,n){this._lateQueue.push(t,e,n),this._queueTick()}function t0(t,e,n){this._normalQueue.push(t,e,n),this._queueTick()}function n0(t){this._normalQueue._pushOne(t),this._queueTick()}Q2.hasDevTools?(fn.prototype.invokeLater=function(t,e,n){this._trampolineEnabled?e0.call(this,t,e,n):this._schedule(function(){setTimeout(function(){t.call(e,n)},100)})},fn.prototype.invoke=function(t,e,n){this._trampolineEnabled?t0.call(this,t,e,n):this._schedule(function(){t.call(e,n)})},fn.prototype.settlePromises=function(t){this._trampolineEnabled?n0.call(this,t):this._schedule(function(){t._settlePromises()})}):(fn.prototype.invokeLater=e0,fn.prototype.invoke=t0,fn.prototype.settlePromises=n0);fn.prototype._drainQueue=function(t){for(;t.length()>0;){var e=t.shift();if(typeof e!="function"){e._settlePromises();continue}var n=t.shift(),r=t.shift();e.call(n,r)}};fn.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};fn.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))};fn.prototype._reset=function(){this._isTickUsed=!1};Of.exports=fn;Of.exports.firstLineError=k2;var _f=Xi.exports,IF=_f.freeze,K2=Ct,H2=K2.inherits,Ho=K2.notEnumerableProp;function ma(t,e){function n(r){if(!(this instanceof n))return new n(r);Ho(this,"message",typeof r=="string"?r:e),Ho(this,"name",t),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return H2(n,Error),n}var Ed,Id,NF=ma("Warning","warning"),FF=ma("CancellationError","cancellation error"),PF=ma("TimeoutError","timeout error"),Us=ma("AggregateError","aggregate error");try{Ed=TypeError,Id=RangeError}catch{Ed=ma("TypeError","type error"),Id=ma("RangeError","range error")}var Mc="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(var Ja=0;Ja<Mc.length;++Ja)typeof Array.prototype[Mc[Ja]]=="function"&&(Us.prototype[Mc[Ja]]=Array.prototype[Mc[Ja]]);_f.defineProperty(Us.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0});Us.prototype.isOperational=!0;var Lc=0;Us.prototype.toString=function(){var t=Array(Lc*4+1).join(" "),e=`
|
|
`+t+`AggregateError of:
|
|
`;Lc++,t=Array(Lc*4+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split(`
|
|
`),o=0;o<i.length;++o)i[o]=t+i[o];r=i.join(`
|
|
`),e+=r+`
|
|
`}return Lc--,e};function Ts(t){if(!(this instanceof Ts))return new Ts(t);Ho(this,"name","OperationalError"),Ho(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof Error?(Ho(this,"message",t.message),Ho(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}H2(Ts,Error);var so=Error.__BluebirdErrorTypes__;so||(so=IF({CancellationError:FF,TimeoutError:PF,OperationalError:Ts,RejectionError:Ts,AggregateError:Us}),_f.defineProperty(Error,"__BluebirdErrorTypes__",{value:so,writable:!1,enumerable:!1,configurable:!1}));var Vi={Error,TypeError:Ed,RangeError:Id,CancellationError:so.CancellationError,OperationalError:so.OperationalError,TimeoutError:so.TimeoutError,AggregateError:so.AggregateError,Warning:NF},MF=function(t,e){var n=Ct,r=n.errorObj,i=n.isObject;function o(h,d){if(i(h)){if(h instanceof t)return h;var f=s(h);if(f===r){d&&d._pushContext();var p=t.reject(f.e);return d&&d._popContext(),p}else if(typeof f=="function"){if(u(h)){var p=new t(e);return h._then(p._fulfill,p._reject,void 0,p,null),p}return l(h,f,d)}}return h}function a(h){return h.then}function s(h){try{return a(h)}catch(d){return r.e=d,r}}var c={}.hasOwnProperty;function u(h){try{return c.call(h,"_promise0")}catch{return!1}}function l(h,d,f){var p=new t(e),g=p;f&&f._pushContext(),p._captureStackTrace(),f&&f._popContext();var y=!0,R=n.tryCatch(d).call(h,m,v);y=!1,p&&R===r&&(p._rejectCallback(R.e,!0,!0),p=null);function m(x){!p||(p._resolveCallback(x),p=null)}function v(x){!p||(p._rejectCallback(x,y,!0),p=null)}return g}return o},LF=function(t,e,n,r,i){var o=Ct;o.isArray;function a(c){switch(c){case-2:return[];case-3:return{}}}function s(c){var u=this._promise=new t(e);c instanceof t&&u._propagateFrom(c,3),u._setOnCancel(this),this._values=c,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return o.inherits(s,i),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function c(u,l){var h=n(this._values,this._promise);if(h instanceof t){h=h._target();var d=h._bitField;if(this._values=h,(d&50397184)===0)return this._promise._setAsyncGuaranteed(),h._then(c,this._reject,void 0,this,l);if((d&33554432)!==0)h=h._value();else return(d&16777216)!==0?this._reject(h._reason()):this._cancel()}if(h=o.asArray(h),h===null){var f=r("expecting an array or an iterable object but got "+o.classString(h)).reason();this._promise._rejectCallback(f,!1);return}if(h.length===0){l===-5?this._resolveEmptyArray():this._resolve(a(l));return}this._iterate(h)},s.prototype._iterate=function(c){var u=this.getActualLength(c.length);this._length=u,this._values=this.shouldCopyValues()?new Array(u):this._values;for(var l=this._promise,h=!1,d=null,f=0;f<u;++f){var p=n(c[f],l);p instanceof t?(p=p._target(),d=p._bitField):d=null,h?d!==null&&p.suppressUnhandledRejections():d!==null?(d&50397184)===0?(p._proxy(this,f),this._values[f]=p):(d&33554432)!==0?h=this._promiseFulfilled(p._value(),f):(d&16777216)!==0?h=this._promiseRejected(p._reason(),f):h=this._promiseCancelled(f):h=this._promiseFulfilled(p,f)}h||l._setAsyncGuaranteed()},s.prototype._isResolved=function(){return this._values===null},s.prototype._resolve=function(c){this._values=null,this._promise._fulfill(c)},s.prototype._cancel=function(){this._isResolved()||!this._promise._isCancellable()||(this._values=null,this._promise._cancel())},s.prototype._reject=function(c){this._values=null,this._promise._rejectCallback(c,!1)},s.prototype._promiseFulfilled=function(c,u){this._values[u]=c;var l=++this._totalResolved;return l>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(c){return this._totalResolved++,this._reject(c),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var c=this._values;if(this._cancel(),c instanceof t)c.cancel();else for(var u=0;u<c.length;++u)c[u]instanceof t&&c[u].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(c){return c},s},CF=function(t){var e=!1,n=[];t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){};function r(){this._trace=new r.CapturedTrace(o())}r.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,n.push(this._trace))},r.prototype._popContext=function(){if(this._trace!==void 0){var a=n.pop(),s=a._promiseCreated;return a._promiseCreated=null,s}return null};function i(){if(e)return new r}function o(){var a=n.length-1;if(a>=0)return n[a]}return r.CapturedTrace=null,r.create=i,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var a=t.prototype._pushContext,s=t.prototype._popContext,c=t._peekContext,u=t.prototype._peekContext,l=t.prototype._promiseCreated;r.deactivateLongStackTraces=function(){t.prototype._pushContext=a,t.prototype._popContext=s,t._peekContext=c,t.prototype._peekContext=u,t.prototype._promiseCreated=l,e=!1},e=!0,t.prototype._pushContext=r.prototype._pushContext,t.prototype._popContext=r.prototype._popContext,t._peekContext=t.prototype._peekContext=o,t.prototype._promiseCreated=function(){var h=this._peekContext();h&&h._promiseCreated==null&&(h._promiseCreated=this)}},r},AF=function(t,e){var n=t._getDomain,r=t._async,i=Vi.Warning,o=Ct,a=o.canAttachTrace,s,c,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,l=/\((?:timers\.js):\d+:\d+\)/,h=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,d=null,f=null,p=!1,g,y=!!(o.env("BLUEBIRD_DEBUG")!=0&&(o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development")),R=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(y||o.env("BLUEBIRD_WARNINGS"))),m=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(y||o.env("BLUEBIRD_LONG_STACK_TRACES"))),v=o.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(R||!!o.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var J=this._target();J._bitField=J._bitField&-1048577|524288},t.prototype._ensurePossibleRejectionHandled=function(){(this._bitField&524288)===0&&(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){j("rejectionHandled",s,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},t.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var J=this._settledValue();this._setUnhandledRejectionIsNotified(),j("unhandledRejection",c,J,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},t.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},t.prototype._warn=function(J,te,ae){return oe(J,te,ae||this)},t.onPossiblyUnhandledRejection=function(J){var te=n();c=typeof J=="function"?te===null?J:o.domainBind(te,J):void 0},t.onUnhandledRejectionHandled=function(J){var te=n();s=typeof J=="function"?te===null?J:o.domainBind(te,J):void 0};var x=function(){};t.longStackTraces=function(){if(r.haveItemsQueued()&&!K.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);if(!K.longStackTraces&&ie()){var J=t.prototype._captureStackTrace,te=t.prototype._attachExtraTrace;K.longStackTraces=!0,x=function(){if(r.haveItemsQueued()&&!K.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);t.prototype._captureStackTrace=J,t.prototype._attachExtraTrace=te,e.deactivateLongStackTraces(),r.enableTrampoline(),K.longStackTraces=!1},t.prototype._captureStackTrace=re,t.prototype._attachExtraTrace=Z,e.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return K.longStackTraces&&ie()};var O=function(){try{if(typeof CustomEvent=="function"){var J=new CustomEvent("CustomEvent");return o.global.dispatchEvent(J),function(te,ae){var he=new CustomEvent(te.toLowerCase(),{detail:ae,cancelable:!0});return!o.global.dispatchEvent(he)}}else if(typeof Event=="function"){var J=new Event("CustomEvent");return o.global.dispatchEvent(J),function(ae,he){var xe=new Event(ae.toLowerCase(),{cancelable:!0});return xe.detail=he,!o.global.dispatchEvent(xe)}}else{var J=document.createEvent("CustomEvent");return J.initCustomEvent("testingtheevent",!1,!0,{}),o.global.dispatchEvent(J),function(ae,he){var xe=document.createEvent("CustomEvent");return xe.initCustomEvent(ae.toLowerCase(),!1,!0,he),!o.global.dispatchEvent(xe)}}}catch{}return function(){return!1}}(),E=function(){return o.isNode?function(){return process.emit.apply(process,arguments)}:o.global?function(J){var te="on"+J.toLowerCase(),ae=o.global[te];return ae?(ae.apply(o.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function N(J,te){return{promise:te}}var M={promiseCreated:N,promiseFulfilled:N,promiseRejected:N,promiseResolved:N,promiseCancelled:N,promiseChained:function(J,te,ae){return{promise:te,child:ae}},warning:function(J,te){return{warning:te}},unhandledRejection:function(J,te,ae){return{reason:te,promise:ae}},rejectionHandled:N},_=function(J){var te=!1;try{te=E.apply(null,arguments)}catch(he){r.throwLater(he),te=!0}var ae=!1;try{ae=O(J,M[J].apply(null,arguments))}catch(he){r.throwLater(he),ae=!0}return ae||te};t.config=function(J){if(J=Object(J),"longStackTraces"in J&&(J.longStackTraces?t.longStackTraces():!J.longStackTraces&&t.hasLongStackTraces()&&x()),"warnings"in J){var te=J.warnings;K.warnings=!!te,v=K.warnings,o.isObject(te)&&"wForgottenReturn"in te&&(v=!!te.wForgottenReturn)}if("cancellation"in J&&J.cancellation&&!K.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=P,t.prototype._propagateFrom=U,t.prototype._onCancel=I,t.prototype._setOnCancel=b,t.prototype._attachCancellationCallback=T,t.prototype._execute=q,V=U,K.cancellation=!0}return"monitoring"in J&&(J.monitoring&&!K.monitoring?(K.monitoring=!0,t.prototype._fireEvent=_):!J.monitoring&&K.monitoring&&(K.monitoring=!1,t.prototype._fireEvent=B)),t};function B(){return!1}t.prototype._fireEvent=B,t.prototype._execute=function(J,te,ae){try{J(te,ae)}catch(he){return he}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(J){},t.prototype._attachCancellationCallback=function(J){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(J,te){};function q(J,te,ae){var he=this;try{J(te,ae,function(xe){if(typeof xe!="function")throw new TypeError("onCancel must be a function, got: "+o.toString(xe));he._attachCancellationCallback(xe)})}catch(xe){return xe}}function T(J){if(!this._isCancellable())return this;var te=this._onCancel();te!==void 0?o.isArray(te)?te.push(J):this._setOnCancel([te,J]):this._setOnCancel(J)}function I(){return this._onCancelField}function b(J){this._onCancelField=J}function P(){this._cancellationParent=void 0,this._onCancelField=void 0}function U(J,te){if((te&1)!==0){this._cancellationParent=J;var ae=J._branchesRemainingToCancel;ae===void 0&&(ae=0),J._branchesRemainingToCancel=ae+1}(te&2)!==0&&J._isBound()&&this._setBoundTo(J._boundTo)}function X(J,te){(te&2)!==0&&J._isBound()&&this._setBoundTo(J._boundTo)}var V=X;function k(){var J=this._boundTo;return J!==void 0&&J instanceof t?J.isFulfilled()?J.value():void 0:J}function re(){this._trace=new G(this._peekContext())}function Z(J,te){if(a(J)){var ae=this._trace;if(ae!==void 0&&te&&(ae=ae._parent),ae!==void 0)ae.attachExtraTrace(J);else if(!J.__stackCleaned__){var he=z(J);o.notEnumerableProp(J,"stack",he.message+`
|
|
`+he.stack.join(`
|
|
`)),o.notEnumerableProp(J,"__stackCleaned__",!0)}}}function C(J,te,ae,he,xe){if(J===void 0&&te!==null&&v){if(xe!==void 0&&xe._returnedNonUndefined()||(he._bitField&65535)===0)return;ae&&(ae=ae+" ");var _e="",Me="";if(te._trace){for(var Xe=te._trace.stack.split(`
|
|
`),He=A(Xe),ze=He.length-1;ze>=0;--ze){var Ze=He[ze];if(!l.test(Ze)){var ut=Ze.match(h);ut&&(_e="at "+ut[1]+":"+ut[2]+":"+ut[3]+" ");break}}if(He.length>0){for(var Vt=He[0],ze=0;ze<Xe.length;++ze)if(Xe[ze]===Vt){ze>0&&(Me=`
|
|
`+Xe[ze-1]);break}}}var Dt="a promise was created in a "+ae+"handler "+_e+"but was not returned from it, see http://goo.gl/rRqMUw"+Me;he._warn(Dt,!0,te)}}function ne(J,te){var ae=J+" is deprecated and will be removed in a future version.";return te&&(ae+=" Use "+te+" instead."),oe(ae)}function oe(J,te,ae){if(!!K.warnings){var he=new i(J),xe;if(te)ae._attachExtraTrace(he);else if(K.longStackTraces&&(xe=t._peekContext()))xe.attachExtraTrace(he);else{var _e=z(he);he.stack=_e.message+`
|
|
`+_e.stack.join(`
|
|
`)}_("warning",he)||H(he,"",!0)}}function ue(J,te){for(var ae=0;ae<te.length-1;++ae)te[ae].push("From previous event:"),te[ae]=te[ae].join(`
|
|
`);return ae<te.length&&(te[ae]=te[ae].join(`
|
|
`)),J+`
|
|
`+te.join(`
|
|
`)}function ce(J){for(var te=0;te<J.length;++te)(J[te].length===0||te+1<J.length&&J[te][0]===J[te+1][0])&&(J.splice(te,1),te--)}function W(J){for(var te=J[0],ae=1;ae<J.length;++ae){for(var he=J[ae],xe=te.length-1,_e=te[xe],Me=-1,Xe=he.length-1;Xe>=0;--Xe)if(he[Xe]===_e){Me=Xe;break}for(var Xe=Me;Xe>=0;--Xe){var He=he[Xe];if(te[xe]===He)te.pop(),xe--;else break}te=he}}function A(J){for(var te=[],ae=0;ae<J.length;++ae){var he=J[ae],xe=he===" (No stack trace)"||d.test(he),_e=xe&&L(he);xe&&!_e&&(p&&he.charAt(0)!==" "&&(he=" "+he),te.push(he))}return te}function Q(J){for(var te=J.stack.replace(/\s+$/g,"").split(`
|
|
`),ae=0;ae<te.length;++ae){var he=te[ae];if(he===" (No stack trace)"||d.test(he))break}return ae>0&&J.name!="SyntaxError"&&(te=te.slice(ae)),te}function z(J){var te=J.stack,ae=J.toString();return te=typeof te=="string"&&te.length>0?Q(J):[" (No stack trace)"],{message:ae,stack:J.name=="SyntaxError"?te:A(te)}}function H(J,te,ae){if(typeof console!="undefined"){var he;if(o.isObject(J)){var xe=J.stack;he=te+f(xe,J)}else he=te+String(J);typeof g=="function"?g(he,ae):(typeof console.log=="function"||typeof console.log=="object")&&console.log(he)}}function j(J,te,ae,he){var xe=!1;try{typeof te=="function"&&(xe=!0,J==="rejectionHandled"?te(he):te(ae,he))}catch(_e){r.throwLater(_e)}J==="unhandledRejection"?!_(J,ae,he)&&!xe&&H(ae,"Unhandled rejection "):_(J,he)}function ge(J){var te;if(typeof J=="function")te="[function "+(J.name||"anonymous")+"]";else{te=J&&typeof J.toString=="function"?J.toString():o.toString(J);var ae=/\[object [a-zA-Z0-9$_]+\]/;if(ae.test(te))try{var he=JSON.stringify(J);te=he}catch{}te.length===0&&(te="(empty array)")}return"(<"+D(te)+">, no stack trace)"}function D(J){var te=41;return J.length<te?J:J.substr(0,te-3)+"..."}function ie(){return typeof ee=="function"}var L=function(){return!1},w=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function S(J){var te=J.match(w);if(te)return{fileName:te[1],line:parseInt(te[2],10)}}function F(J,te){if(!!ie()){for(var ae=J.stack.split(`
|
|
`),he=te.stack.split(`
|
|
`),xe=-1,_e=-1,Me,Xe,He=0;He<ae.length;++He){var ze=S(ae[He]);if(ze){Me=ze.fileName,xe=ze.line;break}}for(var He=0;He<he.length;++He){var ze=S(he[He]);if(ze){Xe=ze.fileName,_e=ze.line;break}}xe<0||_e<0||!Me||!Xe||Me!==Xe||xe>=_e||(L=function(Ze){if(u.test(Ze))return!0;var ut=S(Ze);return!!(ut&&ut.fileName===Me&&xe<=ut.line&&ut.line<=_e)})}}function G(J){this._parent=J,this._promisesCreated=0;var te=this._length=1+(J===void 0?0:J._length);ee(this,G),te>32&&this.uncycle()}o.inherits(G,Error),e.CapturedTrace=G,G.prototype.uncycle=function(){var J=this._length;if(!(J<2)){for(var te=[],ae={},he=0,xe=this;xe!==void 0;++he)te.push(xe),xe=xe._parent;J=this._length=he;for(var he=J-1;he>=0;--he){var _e=te[he].stack;ae[_e]===void 0&&(ae[_e]=he)}for(var he=0;he<J;++he){var Me=te[he].stack,Xe=ae[Me];if(Xe!==void 0&&Xe!==he){Xe>0&&(te[Xe-1]._parent=void 0,te[Xe-1]._length=1),te[he]._parent=void 0,te[he]._length=1;var He=he>0?te[he-1]:this;Xe<J-1?(He._parent=te[Xe+1],He._parent.uncycle(),He._length=He._parent._length+1):(He._parent=void 0,He._length=1);for(var ze=He._length+1,Ze=he-2;Ze>=0;--Ze)te[Ze]._length=ze,ze++;return}}}},G.prototype.attachExtraTrace=function(J){if(!J.__stackCleaned__){this.uncycle();for(var te=z(J),ae=te.message,he=[te.stack],xe=this;xe!==void 0;)he.push(A(xe.stack.split(`
|
|
`))),xe=xe._parent;W(he),ce(he),o.notEnumerableProp(J,"stack",ue(ae,he)),o.notEnumerableProp(J,"__stackCleaned__",!0)}};var ee=function(){var te=/^\s*at\s*/,ae=function(Me,Xe){return typeof Me=="string"?Me:Xe.name!==void 0&&Xe.message!==void 0?Xe.toString():ge(Xe)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,d=te,f=ae;var he=Error.captureStackTrace;return L=function(Me){return u.test(Me)},function(Me,Xe){Error.stackTraceLimit+=6,he(Me,Xe),Error.stackTraceLimit-=6}}var xe=new Error;if(typeof xe.stack=="string"&&xe.stack.split(`
|
|
`)[0].indexOf("stackDetection@")>=0)return d=/@/,f=ae,p=!0,function(Xe){Xe.stack=new Error().stack};var _e;try{throw new Error}catch(Me){_e="stack"in Me}return!("stack"in xe)&&_e&&typeof Error.stackTraceLimit=="number"?(d=te,f=ae,function(Xe){Error.stackTraceLimit+=6;try{throw new Error}catch(He){Xe.stack=He.stack}Error.stackTraceLimit-=6}):(f=function(Me,Xe){return typeof Me=="string"?Me:(typeof Xe=="object"||typeof Xe=="function")&&Xe.name!==void 0&&Xe.message!==void 0?Xe.toString():ge(Xe)},null)}();typeof console!="undefined"&&typeof console.warn!="undefined"&&(g=function(J){console.warn(J)},o.isNode&&process.stderr.isTTY?g=function(J,te){var ae=te?"\x1B[33m":"\x1B[31m";console.warn(ae+J+`\x1B[0m
|
|
`)}:!o.isNode&&typeof new Error().stack=="string"&&(g=function(J,te){console.warn("%c"+J,te?"color: darkorange":"color: red")}));var K={warnings:R,longStackTraces:!1,cancellation:!1,monitoring:!1};return m&&t.longStackTraces(),{longStackTraces:function(){return K.longStackTraces},warnings:function(){return K.warnings},cancellation:function(){return K.cancellation},monitoring:function(){return K.monitoring},propagateFromFunction:function(){return V},boundValueFunction:function(){return k},checkForgottenReturns:C,setBounds:F,warn:oe,deprecated:ne,CapturedTrace:G,fireDomEvent:O,fireGlobalEvent:E}},UF=function(t,e){var n=Ct,r=t.CancellationError,i=n.errorObj;function o(h,d,f){this.promise=h,this.type=d,this.handler=f,this.called=!1,this.cancelPromise=null}o.prototype.isFinallyHandler=function(){return this.type===0};function a(h){this.finallyHandler=h}a.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(h,d){return h.cancelPromise!=null?(arguments.length>1?h.cancelPromise._reject(d):h.cancelPromise._cancel(),h.cancelPromise=null,!0):!1}function c(){return l.call(this,this.promise._target()._settledValue())}function u(h){if(!s(this,h))return i.e=h,i}function l(h){var d=this.promise,f=this.handler;if(!this.called){this.called=!0;var p=this.isFinallyHandler()?f.call(d._boundValue()):f.call(d._boundValue(),h);if(p!==void 0){d._setReturnedNonUndefined();var g=e(p,d);if(g instanceof t){if(this.cancelPromise!=null)if(g._isCancelled()){var y=new r("late cancellation observer");return d._attachExtraTrace(y),i.e=y,i}else g.isPending()&&g._attachCancellationCallback(new a(this));return g._then(c,u,void 0,this,void 0)}}}return d.isRejected()?(s(this),i.e=h,i):(s(this),h)}return t.prototype._passThrough=function(h,d,f,p){return typeof h!="function"?this.then():this._then(f,p,void 0,new o(this,d,h),void 0)},t.prototype.lastly=t.prototype.finally=function(h){return this._passThrough(h,0,l,l)},t.prototype.tap=function(h){return this._passThrough(h,1,l)},o},WF=function(t){var e=Ct,n=Xi.exports.keys,r=e.tryCatch,i=e.errorObj;function o(a,s,c){return function(u){var l=c._boundValue();e:for(var h=0;h<a.length;++h){var d=a[h];if(d===Error||d!=null&&d.prototype instanceof Error){if(u instanceof d)return r(s).call(l,u)}else if(typeof d=="function"){var f=r(d).call(l,u);if(f===i)return f;if(f)return r(s).call(l,u)}else if(e.isObject(u)){for(var p=n(d),g=0;g<p.length;++g){var y=p[g];if(d[y]!=u[y])continue e}return r(s).call(l,u)}}return t}}return o},G2=Ct,XF=G2.maybeWrapAsError,VF=Vi,YF=VF.OperationalError,J2=Xi.exports;function BF(t){return t instanceof Error&&J2.getPrototypeOf(t)===Error.prototype}var ZF=/^(?:name|message|stack|cause)$/;function kF(t){var e;if(BF(t)){e=new YF(t),e.name=t.name,e.message=t.message,e.stack=t.stack;for(var n=J2.keys(t),r=0;r<n.length;++r){var i=n[r];ZF.test(i)||(e[i]=t[i])}return e}return G2.markAsOriginatingFromRejection(t),t}function QF(t,e){return function(n,r){if(t!==null){if(n){var i=kF(XF(n));t._attachExtraTrace(i),t._reject(i)}else if(!e)t._fulfill(r);else{for(var o=arguments.length,a=new Array(Math.max(o-1,0)),s=1;s<o;++s)a[s-1]=arguments[s];t._fulfill(a)}t=null}}}var z2=QF,KF=function(t,e,n,r,i){var o=Ct,a=o.tryCatch;t.method=function(s){if(typeof s!="function")throw new t.TypeError("expecting a function but got "+o.classString(s));return function(){var c=new t(e);c._captureStackTrace(),c._pushContext();var u=a(s).apply(this,arguments),l=c._popContext();return i.checkForgottenReturns(u,l,"Promise.method",c),c._resolveFromSyncValue(u),c}},t.attempt=t.try=function(s){if(typeof s!="function")return r("expecting a function but got "+o.classString(s));var c=new t(e);c._captureStackTrace(),c._pushContext();var u;if(arguments.length>1){i.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],h=arguments[2];u=o.isArray(l)?a(s).apply(h,l):a(s).call(h,l)}else u=a(s)();var d=c._popContext();return i.checkForgottenReturns(u,d,"Promise.try",c),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(s){s===o.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}},HF=function(t,e,n,r){var i=!1,o=function(u,l){this._reject(l)},a=function(u,l){l.promiseRejectionQueued=!0,l.bindingPromise._then(o,o,null,this,u)},s=function(u,l){(this._bitField&50397184)===0&&this._resolveCallback(l.target)},c=function(u,l){l.promiseRejectionQueued||this._reject(u)};t.prototype.bind=function(u){i||(i=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var l=n(u),h=new t(e);h._propagateFrom(this,1);var d=this._target();if(h._setBoundTo(l),l instanceof t){var f={promiseRejectionQueued:!1,promise:h,target:d,bindingPromise:l};d._then(e,a,void 0,h,f),l._then(s,c,void 0,h,f),h._setOnCancel(l)}else h._resolveCallback(d);return h},t.prototype._setBoundTo=function(u){u!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=u):this._bitField=this._bitField&-2097153},t.prototype._isBound=function(){return(this._bitField&2097152)===2097152},t.bind=function(u,l){return t.resolve(l).bind(u)}},GF=function(t,e,n,r){var i=Ct,o=i.tryCatch,a=i.errorObj,s=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var c=this,u=c;c._isCancellable();){if(!c._cancelBy(u)){u._isFollowing()?u._followee().cancel():u._cancelBranched();break}var l=c._cancellationParent;if(l==null||!l._isCancellable()){c._isFollowing()?c._followee().cancel():c._cancelBranched();break}else c._isFollowing()&&c._followee().cancel(),c._setWillBeCancelled(),u=c,c=l}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(c){return c===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){!this._isCancellable()||(this._setCancelled(),s.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(c,u){if(i.isArray(c))for(var l=0;l<c.length;++l)this._doInvokeOnCancel(c[l],u);else if(c!==void 0)if(typeof c=="function"){if(!u){var h=o(c).call(this._boundValue());h===a&&(this._attachExtraTrace(h.e),s.throwLater(h.e))}}else c._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var c=this._onCancel();this._unsetOnCancel(),s.invoke(this._doInvokeOnCancel,this,c)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}},JF=function(t){function e(){return this.value}function n(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(r){return r instanceof t&&r.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:r},void 0)},t.prototype.throw=t.prototype.thenThrow=function(r){return this._then(n,void 0,void 0,{reason:r},void 0)},t.prototype.catchThrow=function(r){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:r},void 0);var i=arguments[1],o=function(){throw i};return this.caught(r,o)},t.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof t&&r.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:r},void 0);var i=arguments[1];i instanceof t&&i.suppressUnhandledRejections();var o=function(){return i};return this.caught(r,o)}},zF=function(t){function e(c){c!==void 0?(c=c._target(),this._bitField=c._bitField,this._settledValueField=c._isFateSealed()?c._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);return this._settledValue()},i=e.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},o=e.prototype.isRejected=function(){return(this._bitField&16777216)!==0},a=e.prototype.isPending=function(){return(this._bitField&50397184)===0},s=e.prototype.isResolved=function(){return(this._bitField&50331648)!==0};e.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},t.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},t.prototype.isPending=function(){return a.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return s.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var c=this._target();return c._unsetRejectionIsUnhandled(),r.call(c)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e},$F=function(t,e,n,r,i,o){var a=Ct,s=a.canEvaluate,c=a.tryCatch,u=a.errorObj,l;if(s){for(var h=function(m){return new Function("value","holder",`
|
|
'use strict';
|
|
holder.pIndex = value;
|
|
holder.checkFulfillment(this);
|
|
`.replace(/Index/g,m))},d=function(m){return new Function("promise","holder",`
|
|
'use strict';
|
|
holder.pIndex = promise;
|
|
`.replace(/Index/g,m))},f=function(m){for(var v=new Array(m),x=0;x<v.length;++x)v[x]="this.p"+(x+1);var O=v.join(" = ")+" = null;",E=`var promise;
|
|
`+v.map(function(B){return`
|
|
promise = `+B+`;
|
|
if (promise instanceof Promise) {
|
|
promise.cancel();
|
|
}
|
|
`}).join(`
|
|
`),N=v.join(", "),M="Holder$"+m,_=`return function(tryCatch, errorObj, Promise, async) {
|
|
'use strict';
|
|
function [TheName](fn) {
|
|
[TheProperties]
|
|
this.fn = fn;
|
|
this.asyncNeeded = true;
|
|
this.now = 0;
|
|
}
|
|
|
|
[TheName].prototype._callFunction = function(promise) {
|
|
promise._pushContext();
|
|
var ret = tryCatch(this.fn)([ThePassedArguments]);
|
|
promise._popContext();
|
|
if (ret === errorObj) {
|
|
promise._rejectCallback(ret.e, false);
|
|
} else {
|
|
promise._resolveCallback(ret);
|
|
}
|
|
};
|
|
|
|
[TheName].prototype.checkFulfillment = function(promise) {
|
|
var now = ++this.now;
|
|
if (now === [TheTotal]) {
|
|
if (this.asyncNeeded) {
|
|
async.invoke(this._callFunction, this, promise);
|
|
} else {
|
|
this._callFunction(promise);
|
|
}
|
|
|
|
}
|
|
};
|
|
|
|
[TheName].prototype._resultCancelled = function() {
|
|
[CancellationCode]
|
|
};
|
|
|
|
return [TheName];
|
|
}(tryCatch, errorObj, Promise, async);
|
|
`;return _=_.replace(/\[TheName\]/g,M).replace(/\[TheTotal\]/g,m).replace(/\[ThePassedArguments\]/g,N).replace(/\[TheProperties\]/g,O).replace(/\[CancellationCode\]/g,E),new Function("tryCatch","errorObj","Promise","async",_)(c,u,t,i)},p=[],g=[],y=[],R=0;R<8;++R)p.push(f(R+1)),g.push(h(R+1)),y.push(d(R+1));l=function(m){this._reject(m)}}t.join=function(){var m=arguments.length-1,v;if(m>0&&typeof arguments[m]=="function"&&(v=arguments[m],m<=8&&s)){var b=new t(r);b._captureStackTrace();for(var x=p[m-1],O=new x(v),E=g,N=0;N<m;++N){var M=n(arguments[N],b);if(M instanceof t){M=M._target();var _=M._bitField;(_&50397184)===0?(M._then(E[N],l,void 0,b,O),y[N](M,O),O.asyncNeeded=!1):(_&33554432)!==0?E[N].call(b,M._value(),O):(_&16777216)!==0?b._reject(M._reason()):b._cancel()}else E[N].call(b,M,O)}if(!b._isFateSealed()){if(O.asyncNeeded){var B=o();B!==null&&(O.fn=a.domainBind(B,O.fn))}b._setAsyncGuaranteed(),b._setOnCancel(O)}return b}for(var q=arguments.length,T=new Array(q),I=0;I<q;++I)T[I]=arguments[I];v&&T.pop();var b=new e(T).promise();return v!==void 0?b.spread(v):b}},jF=function(t,e,n,r,i,o){var a=t._getDomain,s=Ct,c=s.tryCatch,u=s.errorObj,l=t._async;function h(f,p,g,y){this.constructor$(f),this._promise._captureStackTrace();var R=a();this._callback=R===null?p:s.domainBind(R,p),this._preservedValues=y===i?new Array(this.length()):null,this._limit=g,this._inFlight=0,this._queue=[],l.invoke(this._asyncInit,this,void 0)}s.inherits(h,e),h.prototype._asyncInit=function(){this._init$(void 0,-2)},h.prototype._init=function(){},h.prototype._promiseFulfilled=function(f,p){var g=this._values,y=this.length(),R=this._preservedValues,m=this._limit;if(p<0){if(p=p*-1-1,g[p]=f,m>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(m>=1&&this._inFlight>=m)return g[p]=f,this._queue.push(p),!1;R!==null&&(R[p]=f);var v=this._promise,x=this._callback,O=v._boundValue();v._pushContext();var E=c(x).call(O,f,p,y),N=v._popContext();if(o.checkForgottenReturns(E,N,R!==null?"Promise.filter":"Promise.map",v),E===u)return this._reject(E.e),!0;var M=r(E,this._promise);if(M instanceof t){M=M._target();var _=M._bitField;if((_&50397184)===0)return m>=1&&this._inFlight++,g[p]=M,M._proxy(this,(p+1)*-1),!1;if((_&33554432)!==0)E=M._value();else return(_&16777216)!==0?(this._reject(M._reason()),!0):(this._cancel(),!0)}g[p]=E}var B=++this._totalResolved;return B>=y?(R!==null?this._filter(g,R):this._resolve(g),!0):!1},h.prototype._drainQueue=function(){for(var f=this._queue,p=this._limit,g=this._values;f.length>0&&this._inFlight<p;){if(this._isResolved())return;var y=f.pop();this._promiseFulfilled(g[y],y)}},h.prototype._filter=function(f,p){for(var g=p.length,y=new Array(g),R=0,m=0;m<g;++m)f[m]&&(y[R++]=p[m]);y.length=R,this._resolve(y)},h.prototype.preservedValues=function(){return this._preservedValues};function d(f,p,g,y){if(typeof p!="function")return n("expecting a function but got "+s.classString(p));var R=0;if(g!==void 0)if(typeof g=="object"&&g!==null){if(typeof g.concurrency!="number")return t.reject(new TypeError("'concurrency' must be a number but it is "+s.classString(g.concurrency)));R=g.concurrency}else return t.reject(new TypeError("options argument must be an object but it is "+s.classString(g)));return R=typeof R=="number"&&isFinite(R)&&R>=1?R:0,new h(f,p,R,y).promise()}t.prototype.map=function(f,p){return d(this,f,p,null)},t.map=function(f,p,g,y){return d(f,p,g,y)}},Mh=Object.create;if(Mh){var $2=Mh(null),j2=Mh(null);$2[" size"]=j2[" size"]=0}var qF=function(t){var e=Ct,n=e.canEvaluate,r=e.isIdentifier,i,o;{var a=function(f){return new Function("ensureMethod",`
|
|
return function(obj) {
|
|
'use strict'
|
|
var len = this.length;
|
|
ensureMethod(obj, 'methodName');
|
|
switch(len) {
|
|
case 1: return obj.methodName(this[0]);
|
|
case 2: return obj.methodName(this[0], this[1]);
|
|
case 3: return obj.methodName(this[0], this[1], this[2]);
|
|
case 0: return obj.methodName();
|
|
default:
|
|
return obj.methodName.apply(obj, this);
|
|
}
|
|
};
|
|
`.replace(/methodName/g,f))(u)},s=function(f){return new Function("obj",`
|
|
'use strict';
|
|
return obj.propertyName;
|
|
`.replace("propertyName",f))},c=function(f,p,g){var y=g[f];if(typeof y!="function"){if(!r(f))return null;if(y=p(f),g[f]=y,g[" size"]++,g[" size"]>512){for(var R=Object.keys(g),m=0;m<256;++m)delete g[R[m]];g[" size"]=R.length-256}}return y};i=function(f){return c(f,a,$2)},o=function(f){return c(f,s,j2)}}function u(f,p){var g;if(f!=null&&(g=f[p]),typeof g!="function"){var y="Object "+e.classString(f)+" has no method '"+e.toString(p)+"'";throw new t.TypeError(y)}return g}function l(f){var p=this.pop(),g=u(f,p);return g.apply(f,this)}t.prototype.call=function(f){for(var p=arguments.length,g=new Array(Math.max(p-1,0)),y=1;y<p;++y)g[y-1]=arguments[y];if(n){var R=i(f);if(R!==null)return this._then(R,void 0,void 0,g,void 0)}return g.push(f),this._then(l,void 0,void 0,g,void 0)};function h(f){return f[this]}function d(f){var p=+this;return p<0&&(p=Math.max(0,p+f.length)),f[p]}t.prototype.get=function(f){var p=typeof f=="number",g;if(p)g=d;else if(n){var y=o(f);g=y!==null?y:h}else g=h;return this._then(g,void 0,void 0,f,void 0)}},eP=function(t,e,n,r,i,o){var a=Ct,s=Vi.TypeError,c=Ct.inherits,u=a.errorObj,l=a.tryCatch,h={};function d(v){setTimeout(function(){throw v},0)}function f(v){var x=n(v);return x!==v&&typeof v._isDisposable=="function"&&typeof v._getDisposer=="function"&&v._isDisposable()&&x._setDisposable(v._getDisposer()),x}function p(v,x){var O=0,E=v.length,N=new t(i);function M(){if(O>=E)return N._fulfill();var _=f(v[O++]);if(_ instanceof t&&_._isDisposable()){try{_=n(_._getDisposer().tryDispose(x),v.promise)}catch(B){return d(B)}if(_ instanceof t)return _._then(M,d,null,null,null)}M()}return M(),N}function g(v,x,O){this._data=v,this._promise=x,this._context=O}g.prototype.data=function(){return this._data},g.prototype.promise=function(){return this._promise},g.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():h},g.prototype.tryDispose=function(v){var x=this.resource(),O=this._context;O!==void 0&&O._pushContext();var E=x!==h?this.doDispose(x,v):null;return O!==void 0&&O._popContext(),this._promise._unsetDisposable(),this._data=null,E},g.isDisposer=function(v){return v!=null&&typeof v.resource=="function"&&typeof v.tryDispose=="function"};function y(v,x,O){this.constructor$(v,x,O)}c(y,g),y.prototype.doDispose=function(v,x){var O=this.data();return O.call(v,v,x)};function R(v){return g.isDisposer(v)?(this.resources[this.index]._setDisposable(v),v.promise()):v}function m(v){this.length=v,this.promise=null,this[v-1]=null}m.prototype._resultCancelled=function(){for(var v=this.length,x=0;x<v;++x){var O=this[x];O instanceof t&&O.cancel()}},t.using=function(){var v=arguments.length;if(v<2)return e("you must pass at least 2 arguments to Promise.using");var x=arguments[v-1];if(typeof x!="function")return e("expecting a function but got "+a.classString(x));var O,E=!0;v===2&&Array.isArray(arguments[0])?(O=arguments[0],v=O.length,E=!1):(O=arguments,v--);for(var N=new m(v),M=0;M<v;++M){var _=O[M];if(g.isDisposer(_)){var B=_;_=_.promise(),_._setDisposable(B)}else{var q=n(_);q instanceof t&&(_=q._then(R,null,null,{resources:N,index:M},void 0))}N[M]=_}for(var T=new Array(N.length),M=0;M<T.length;++M)T[M]=t.resolve(N[M]).reflect();var I=t.all(T).then(function(P){for(var U=0;U<P.length;++U){var X=P[U];if(X.isRejected())return u.e=X.error(),u;if(!X.isFulfilled()){I.cancel();return}P[U]=X.value()}b._pushContext(),x=l(x);var V=E?x.apply(void 0,P):x(P),k=b._popContext();return o.checkForgottenReturns(V,k,"Promise.using",b),V}),b=I.lastly(function(){var P=new t.PromiseInspection(I);return p(N,P)});return N.promise=b,b._setOnCancel(N),b},t.prototype._setDisposable=function(v){this._bitField=this._bitField|131072,this._disposer=v},t.prototype._isDisposable=function(){return(this._bitField&131072)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(v){if(typeof v=="function")return new y(v,this,r());throw new s}},tP=function(t,e,n){var r=Ct,i=t.TimeoutError;function o(h){this.handle=h}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(h){return s(+this).thenReturn(h)},s=t.delay=function(h,d){var f,p;return d!==void 0?(f=t.resolve(d)._then(a,null,null,h,void 0),n.cancellation()&&d instanceof t&&f._setOnCancel(d)):(f=new t(e),p=setTimeout(function(){f._fulfill()},+h),n.cancellation()&&f._setOnCancel(new o(p)),f._captureStackTrace()),f._setAsyncGuaranteed(),f};t.prototype.delay=function(h){return s(h,this)};var c=function(h,d,f){var p;typeof d!="string"?d instanceof Error?p=d:p=new i("operation timed out"):p=new i(d),r.markAsOriginatingFromRejection(p),h._attachExtraTrace(p),h._reject(p),f!=null&&f.cancel()};function u(h){return clearTimeout(this.handle),h}function l(h){throw clearTimeout(this.handle),h}t.prototype.timeout=function(h,d){h=+h;var f,p,g=new o(setTimeout(function(){f.isPending()&&c(f,d,p)},h));return n.cancellation()?(p=this.then(),f=p._then(u,l,void 0,g,void 0),f._setOnCancel(g)):f=this._then(u,l,void 0,g,void 0),f}},nP=function(t,e,n,r,i,o){var a=Vi,s=a.TypeError,c=Ct,u=c.errorObj,l=c.tryCatch,h=[];function d(p,g,y){for(var R=0;R<g.length;++R){y._pushContext();var m=l(g[R])(p);if(y._popContext(),m===u){y._pushContext();var v=t.reject(u.e);return y._popContext(),v}var x=r(m,y);if(x instanceof t)return x}return null}function f(p,g,y,R){if(o.cancellation()){var m=new t(n),v=this._finallyPromise=new t(n);this._promise=m.lastly(function(){return v}),m._captureStackTrace(),m._setOnCancel(this)}else{var x=this._promise=new t(n);x._captureStackTrace()}this._stack=R,this._generatorFunction=p,this._receiver=g,this._generator=void 0,this._yieldHandlers=typeof y=="function"?[y].concat(h):h,this._yieldedPromise=null,this._cancellationPhase=!1}c.inherits(f,i),f.prototype._isResolved=function(){return this._promise===null},f.prototype._cleanup=function(){this._promise=this._generator=null,o.cancellation()&&this._finallyPromise!==null&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},f.prototype._promiseCancelled=function(){if(!this._isResolved()){var p=typeof this._generator.return!="undefined",g;if(p)this._promise._pushContext(),g=l(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var y=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=y,this._promise._attachExtraTrace(y),this._promise._pushContext(),g=l(this._generator.throw).call(this._generator,y),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(g)}},f.prototype._promiseFulfilled=function(p){this._yieldedPromise=null,this._promise._pushContext();var g=l(this._generator.next).call(this._generator,p);this._promise._popContext(),this._continue(g)},f.prototype._promiseRejected=function(p){this._yieldedPromise=null,this._promise._attachExtraTrace(p),this._promise._pushContext();var g=l(this._generator.throw).call(this._generator,p);this._promise._popContext(),this._continue(g)},f.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var p=this._yieldedPromise;this._yieldedPromise=null,p.cancel()}},f.prototype.promise=function(){return this._promise},f.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},f.prototype._continue=function(p){var g=this._promise;if(p===u)return this._cleanup(),this._cancellationPhase?g.cancel():g._rejectCallback(p.e,!1);var y=p.value;if(p.done===!0)return this._cleanup(),this._cancellationPhase?g.cancel():g._resolveCallback(y);var R=r(y,this._promise);if(!(R instanceof t)&&(R=d(R,this._yieldHandlers,this._promise),R===null)){this._promiseRejected(new s(`A value %s was yielded that could not be treated as a promise
|
|
|
|
See http://goo.gl/MqrFmX
|
|
|
|
`.replace("%s",y)+`From coroutine:
|
|
`+this._stack.split(`
|
|
`).slice(1,-7).join(`
|
|
`)));return}R=R._target();var m=R._bitField;(m&50397184)===0?(this._yieldedPromise=R,R._proxy(this,null)):(m&33554432)!==0?t._async.invoke(this._promiseFulfilled,this,R._value()):(m&16777216)!==0?t._async.invoke(this._promiseRejected,this,R._reason()):this._promiseCancelled()},t.coroutine=function(p,g){if(typeof p!="function")throw new s(`generatorFunction must be a function
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);var y=Object(g).yieldHandler,R=f,m=new Error().stack;return function(){var v=p.apply(this,arguments),x=new R(void 0,void 0,y,m),O=x.promise();return x._generator=v,x._promiseFulfilled(void 0),O}},t.coroutine.addYieldHandler=function(p){if(typeof p!="function")throw new s("expecting a function but got "+c.classString(p));h.push(p)},t.spawn=function(p){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),typeof p!="function")return e(`generatorFunction must be a function
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);var g=new f(p,this),y=g.promise();return g._run(t.spawn),y}},rP=function(t){var e=Ct,n=t._async,r=e.tryCatch,i=e.errorObj;function o(c,u){var l=this;if(!e.isArray(c))return a.call(l,c,u);var h=r(u).apply(l._boundValue(),[null].concat(c));h===i&&n.throwLater(h.e)}function a(c,u){var l=this,h=l._boundValue(),d=c===void 0?r(u).call(h,null):r(u).call(h,null,c);d===i&&n.throwLater(d.e)}function s(c,u){var l=this;if(!c){var h=new Error(c+"");h.cause=c,c=h}var d=r(u).call(l._boundValue(),c);d===i&&n.throwLater(d.e)}t.prototype.asCallback=t.prototype.nodeify=function(c,u){if(typeof c=="function"){var l=a;u!==void 0&&Object(u).spread&&(l=o),this._then(l,s,void 0,this,c)}return this}},iP=function(t,e){var n={},r=Ct,i=z2,o=r.withAppended,a=r.maybeWrapAsError,s=r.canEvaluate,c=Vi.TypeError,u="Async",l={__isPromisified__:!0},h=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],d=new RegExp("^(?:"+h.join("|")+")$"),f=function(I){return r.isIdentifier(I)&&I.charAt(0)!=="_"&&I!=="constructor"};function p(I){return!d.test(I)}function g(I){try{return I.__isPromisified__===!0}catch{return!1}}function y(I,b,P){var U=r.getDataPropertyOrDefault(I,b+P,l);return U?g(U):!1}function R(I,b,P){for(var U=0;U<I.length;U+=2){var X=I[U];if(P.test(X)){for(var V=X.replace(P,""),k=0;k<I.length;k+=2)if(I[k]===V)throw new c(`Cannot promisify an API that has normal methods with '%s'-suffix
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`.replace("%s",b))}}}function m(I,b,P,U){for(var X=r.inheritedDataKeys(I),V=[],k=0;k<X.length;++k){var re=X[k],Z=I[re],C=U===f?!0:f(re);typeof Z=="function"&&!g(Z)&&!y(I,re,b)&&U(re,Z,I,C)&&V.push(re,Z)}return R(V,b,P),V}var v=function(I){return I.replace(/([$])/,"\\$")},x;{var O=function(I){for(var b=[I],P=Math.max(0,I-1-3),U=I-1;U>=P;--U)b.push(U);for(var U=I+1;U<=3;++U)b.push(U);return b},E=function(I){return r.filledRange(I,"_arg","")},N=function(I){return r.filledRange(Math.max(I,3),"_arg","")},M=function(I){return typeof I.length=="number"?Math.max(Math.min(I.length,1024),0):0};x=function(I,b,P,U,X,V){var k=Math.max(0,M(U)-1),re=O(k),Z=typeof I=="string"||b===n;function C(ce){var W=E(ce).join(", "),A=ce>0?", ":"",Q;return Z?Q=`ret = callback.call(this, {{args}}, nodeback); break;
|
|
`:Q=b===void 0?`ret = callback({{args}}, nodeback); break;
|
|
`:`ret = callback.call(receiver, {{args}}, nodeback); break;
|
|
`,Q.replace("{{args}}",W).replace(", ",A)}function ne(){for(var ce="",W=0;W<re.length;++W)ce+="case "+re[W]+":"+C(re[W]);return ce+=`
|
|
default:
|
|
var args = new Array(len + 1);
|
|
var i = 0;
|
|
for (var i = 0; i < len; ++i) {
|
|
args[i] = arguments[i];
|
|
}
|
|
args[i] = nodeback;
|
|
[CodeForCall]
|
|
break;
|
|
`.replace("[CodeForCall]",Z?`ret = callback.apply(this, args);
|
|
`:`ret = callback.apply(receiver, args);
|
|
`),ce}var oe=typeof I=="string"?"this != null ? this['"+I+"'] : fn":"fn",ue=`'use strict';
|
|
var ret = function (Parameters) {
|
|
'use strict';
|
|
var len = arguments.length;
|
|
var promise = new Promise(INTERNAL);
|
|
promise._captureStackTrace();
|
|
var nodeback = nodebackForPromise(promise, `+V+`);
|
|
var ret;
|
|
var callback = tryCatch([GetFunctionCode]);
|
|
switch(len) {
|
|
[CodeForSwitchCase]
|
|
}
|
|
if (ret === errorObj) {
|
|
promise._rejectCallback(maybeWrapAsError(ret.e), true, true);
|
|
}
|
|
if (!promise._isFateSealed()) promise._setAsyncGuaranteed();
|
|
return promise;
|
|
};
|
|
notEnumerableProp(ret, '__isPromisified__', true);
|
|
return ret;
|
|
`.replace("[CodeForSwitchCase]",ne()).replace("[GetFunctionCode]",oe);return ue=ue.replace("Parameters",N(k)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",ue)(t,U,b,o,a,i,r.tryCatch,r.errorObj,r.notEnumerableProp,e)}}function _(I,b,P,U,X,V){var k=function(){return this}(),re=I;typeof re=="string"&&(I=U);function Z(){var C=b;b===n&&(C=this);var ne=new t(e);ne._captureStackTrace();var oe=typeof re=="string"&&this!==k?this[re]:I,ue=i(ne,V);try{oe.apply(C,o(arguments,ue))}catch(ce){ne._rejectCallback(a(ce),!0,!0)}return ne._isFateSealed()||ne._setAsyncGuaranteed(),ne}return r.notEnumerableProp(Z,"__isPromisified__",!0),Z}var B=s?x:_;function q(I,b,P,U,X){for(var V=new RegExp(v(b)+"$"),k=m(I,b,V,P),re=0,Z=k.length;re<Z;re+=2){var C=k[re],ne=k[re+1],oe=C+b;if(U===B)I[oe]=B(C,n,C,ne,b,X);else{var ue=U(ne,function(){return B(C,n,C,ne,b,X)});r.notEnumerableProp(ue,"__isPromisified__",!0),I[oe]=ue}}return r.toFastProperties(I),I}function T(I,b,P){return B(I,b,void 0,I,null,P)}t.promisify=function(I,b){if(typeof I!="function")throw new c("expecting a function but got "+r.classString(I));if(g(I))return I;b=Object(b);var P=b.context===void 0?n:b.context,U=!!b.multiArgs,X=T(I,P,U);return r.copyDescriptors(I,X,p),X},t.promisifyAll=function(I,b){if(typeof I!="function"&&typeof I!="object")throw new c(`the target of promisifyAll must be an object or a function
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);b=Object(b);var P=!!b.multiArgs,U=b.suffix;typeof U!="string"&&(U=u);var X=b.filter;typeof X!="function"&&(X=f);var V=b.promisifier;if(typeof V!="function"&&(V=B),!r.isIdentifier(U))throw new RangeError(`suffix must be a valid identifier
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);for(var k=r.inheritedDataKeys(I),re=0;re<k.length;++re){var Z=I[k[re]];k[re]!=="constructor"&&r.isClass(Z)&&(q(Z.prototype,U,X,V,P),q(Z,U,X,V,P))}return q(I,U,X,V,P)}},oP=function(t,e,n,r){var i=Ct,o=i.isObject,a=Xi.exports,s;typeof Map=="function"&&(s=Map);var c=function(){var d=0,f=0;function p(g,y){this[d]=g,this[d+f]=y,d++}return function(y){f=y.size,d=0;var R=new Array(y.size*2);return y.forEach(p,R),R}}(),u=function(d){for(var f=new s,p=d.length/2|0,g=0;g<p;++g){var y=d[p+g],R=d[g];f.set(y,R)}return f};function l(d){var f=!1,p;if(s!==void 0&&d instanceof s)p=c(d),f=!0;else{var g=a.keys(d),y=g.length;p=new Array(y*2);for(var R=0;R<y;++R){var m=g[R];p[R]=d[m],p[R+y]=m}}this.constructor$(p),this._isMap=f,this._init$(void 0,-3)}i.inherits(l,e),l.prototype._init=function(){},l.prototype._promiseFulfilled=function(d,f){this._values[f]=d;var p=++this._totalResolved;if(p>=this._length){var g;if(this._isMap)g=u(this._values);else{g={};for(var y=this.length(),R=0,m=this.length();R<m;++R)g[this._values[R+y]]=this._values[R]}return this._resolve(g),!0}return!1},l.prototype.shouldCopyValues=function(){return!1},l.prototype.getActualLength=function(d){return d>>1};function h(d){var f,p=n(d);if(o(p))p instanceof t?f=p._then(t.props,void 0,void 0,void 0,void 0):f=new l(p).promise();else return r(`cannot await properties of a non-object
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);return p instanceof t&&f._propagateFrom(p,2),f}t.prototype.props=function(){return h(this)},t.props=function(d){return h(d)}},aP=function(t,e,n,r){var i=Ct,o=function(s){return s.then(function(c){return a(c,s)})};function a(s,c){var u=n(s);if(u instanceof t)return o(u);if(s=i.asArray(s),s===null)return r("expecting an array or an iterable object but got "+i.classString(s));var l=new t(e);c!==void 0&&l._propagateFrom(c,3);for(var h=l._fulfill,d=l._reject,f=0,p=s.length;f<p;++f){var g=s[f];g===void 0&&!(f in s)||t.cast(g)._then(h,d,void 0,l,null)}return l}t.race=function(s){return a(s,void 0)},t.prototype.race=function(){return a(this,void 0)}},sP=function(t,e,n,r,i,o){var a=t._getDomain,s=Ct,c=s.tryCatch;function u(p,g,y,R){this.constructor$(p);var m=a();this._fn=m===null?g:s.domainBind(m,g),y!==void 0&&(y=t.resolve(y),y._attachCancellationCallback(this)),this._initialValue=y,this._currentCancellable=null,R===i?this._eachValues=Array(this._length):R===0?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}s.inherits(u,e),u.prototype._gotAccum=function(p){this._eachValues!==void 0&&this._eachValues!==null&&p!==i&&this._eachValues.push(p)},u.prototype._eachComplete=function(p){return this._eachValues!==null&&this._eachValues.push(p),this._eachValues},u.prototype._init=function(){},u.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},u.prototype.shouldCopyValues=function(){return!1},u.prototype._resolve=function(p){this._promise._resolveCallback(p),this._values=null},u.prototype._resultCancelled=function(p){if(p===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel())},u.prototype._iterate=function(p){this._values=p;var g,y,R=p.length;if(this._initialValue!==void 0?(g=this._initialValue,y=0):(g=t.resolve(p[0]),y=1),this._currentCancellable=g,!g.isRejected())for(;y<R;++y){var m={accum:null,value:p[y],index:y,length:R,array:this};g=g._then(d,void 0,void 0,m,void 0)}this._eachValues!==void 0&&(g=g._then(this._eachComplete,void 0,void 0,this,void 0)),g._then(l,l,void 0,g,this)},t.prototype.reduce=function(p,g){return h(this,p,g,null)},t.reduce=function(p,g,y,R){return h(p,g,y,R)};function l(p,g){this.isFulfilled()?g._resolve(p):g._reject(p)}function h(p,g,y,R){if(typeof g!="function")return n("expecting a function but got "+s.classString(g));var m=new u(p,g,y,R);return m.promise()}function d(p){this.accum=p,this.array._gotAccum(p);var g=r(this.value,this.array._promise);return g instanceof t?(this.array._currentCancellable=g,g._then(f,void 0,void 0,this,void 0)):f.call(this,g)}function f(p){var g=this.array,y=g._promise,R=c(g._fn);y._pushContext();var m;g._eachValues!==void 0?m=R.call(y._boundValue(),p,this.index,this.length):m=R.call(y._boundValue(),this.accum,p,this.index,this.length),m instanceof t&&(g._currentCancellable=m);var v=y._popContext();return o.checkForgottenReturns(m,v,g._eachValues!==void 0?"Promise.each":"Promise.reduce",y),m}},cP=function(t,e,n){var r=t.PromiseInspection,i=Ct;function o(a){this.constructor$(a)}i.inherits(o,e),o.prototype._promiseResolved=function(a,s){this._values[a]=s;var c=++this._totalResolved;return c>=this._length?(this._resolve(this._values),!0):!1},o.prototype._promiseFulfilled=function(a,s){var c=new r;return c._bitField=33554432,c._settledValueField=a,this._promiseResolved(s,c)},o.prototype._promiseRejected=function(a,s){var c=new r;return c._bitField=16777216,c._settledValueField=a,this._promiseResolved(s,c)},t.settle=function(a){return n.deprecated(".settle()",".reflect()"),new o(a).promise()},t.prototype.settle=function(){return t.settle(this)}},uP=function(t,e,n){var r=Ct,i=Vi.RangeError,o=Vi.AggregateError,a=r.isArray,s={};function c(l){this.constructor$(l),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(c,e),c.prototype._init=function(){if(!!this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var l=a(this._values);!this._isResolved()&&l&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(l){this._howMany=l},c.prototype._promiseFulfilled=function(l){return this._addFulfilled(l),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},c.prototype._promiseRejected=function(l){return this._addRejected(l),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof t||this._values==null?this._cancel():(this._addRejected(s),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var l=new o,h=this.length();h<this._values.length;++h)this._values[h]!==s&&l.push(this._values[h]);return l.length>0?this._reject(l):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(l){this._values.push(l)},c.prototype._addFulfilled=function(l){this._values[this._totalResolved++]=l},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(l){var h="Input array must contain at least "+this._howMany+" items but contains only "+l+" items";return new i(h)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function u(l,h){if((h|0)!==h||h<0)return n(`expecting a positive integer
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`);var d=new c(l),f=d.promise();return d.setHowMany(h),d.init(),f}t.some=function(l,h){return u(l,h)},t.prototype.some=function(l){return u(this,l)},t._SomePromiseArray=c},lP=function(t,e){var n=t.map;t.prototype.filter=function(r,i){return n(this,r,i,e)},t.filter=function(r,i,o){return n(r,i,o,e)}},hP=function(t,e){var n=t.reduce,r=t.all;function i(){return r(this)}function o(a,s){return n(a,s,e,e)}t.prototype.each=function(a){return n(this,a,e,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(a){return n(this,a,e,e)},t.each=function(a,s){return n(a,s,e,0)._then(i,void 0,void 0,a,void 0)},t.mapSeries=o},dP=function(t){var e=t._SomePromiseArray;function n(r){var i=new e(r),o=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),o}t.any=function(r){return n(r)},t.prototype.any=function(){return n(this)}};(function(t){t.exports=function(){var e=function(){return new d(`circular promise resolution chain
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`)},n=function(){return new T.PromiseInspection(this._target())},r=function(U){return T.reject(new d(U))};function i(){}var o={},a=Ct,s;a.isNode?s=function(){var U=process.domain;return U===void 0&&(U=null),U}:s=function(){return null},a.notEnumerableProp(T,"_getDomain",s);var c=Xi.exports,u=Of.exports,l=new u;c.defineProperty(T,"_async",{value:l});var h=Vi,d=T.TypeError=h.TypeError;T.RangeError=h.RangeError;var f=T.CancellationError=h.CancellationError;T.TimeoutError=h.TimeoutError,T.OperationalError=h.OperationalError,T.RejectionError=h.OperationalError,T.AggregateError=h.AggregateError;var p=function(){},g={},y={},R=MF(T,p),m=LF(T,p,R,r,i),v=CF(T),x=v.create,O=AF(T,v);O.CapturedTrace;var E=UF(T,R),N=WF(y),M=z2,_=a.errorObj,B=a.tryCatch;function q(U,X){if(typeof X!="function")throw new d("expecting a function but got "+a.classString(X));if(U.constructor!==T)throw new d(`the promise constructor cannot be invoked directly
|
|
|
|
See http://goo.gl/MqrFmX
|
|
`)}function T(U){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,U!==p&&(q(this,U),this._resolveFromExecutor(U)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}T.prototype.toString=function(){return"[object Promise]"},T.prototype.caught=T.prototype.catch=function(U){var X=arguments.length;if(X>1){var V=new Array(X-1),k=0,re;for(re=0;re<X-1;++re){var Z=arguments[re];if(a.isObject(Z))V[k++]=Z;else return r("expecting an object but got A catch statement predicate "+a.classString(Z))}return V.length=k,U=arguments[re],this.then(void 0,N(V,U,this))}return this.then(void 0,U)},T.prototype.reflect=function(){return this._then(n,n,void 0,this,void 0)},T.prototype.then=function(U,X){if(O.warnings()&&arguments.length>0&&typeof U!="function"&&typeof X!="function"){var V=".then() only accepts functions but was passed: "+a.classString(U);arguments.length>1&&(V+=", "+a.classString(X)),this._warn(V)}return this._then(U,X,void 0,void 0,void 0)},T.prototype.done=function(U,X){var V=this._then(U,X,void 0,void 0,void 0);V._setIsFinal()},T.prototype.spread=function(U){return typeof U!="function"?r("expecting a function but got "+a.classString(U)):this.all()._then(U,void 0,void 0,g,void 0)},T.prototype.toJSON=function(){var U={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(U.fulfillmentValue=this.value(),U.isFulfilled=!0):this.isRejected()&&(U.rejectionReason=this.reason(),U.isRejected=!0),U},T.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new m(this).promise()},T.prototype.error=function(U){return this.caught(a.originatesFromRejection,U)},T.getNewLibraryCopy=t.exports,T.is=function(U){return U instanceof T},T.fromNode=T.fromCallback=function(U){var X=new T(p);X._captureStackTrace();var V=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,k=B(U)(M(X,V));return k===_&&X._rejectCallback(k.e,!0),X._isFateSealed()||X._setAsyncGuaranteed(),X},T.all=function(U){return new m(U).promise()},T.cast=function(U){var X=R(U);return X instanceof T||(X=new T(p),X._captureStackTrace(),X._setFulfilled(),X._rejectionHandler0=U),X},T.resolve=T.fulfilled=T.cast,T.reject=T.rejected=function(U){var X=new T(p);return X._captureStackTrace(),X._rejectCallback(U,!0),X},T.setScheduler=function(U){if(typeof U!="function")throw new d("expecting a function but got "+a.classString(U));return l.setScheduler(U)},T.prototype._then=function(U,X,V,k,re){var Z=re!==void 0,C=Z?re:new T(p),ne=this._target(),oe=ne._bitField;Z||(C._propagateFrom(this,3),C._captureStackTrace(),k===void 0&&(this._bitField&2097152)!==0&&((oe&50397184)!==0?k=this._boundValue():k=ne===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,C));var ue=s();if((oe&50397184)!==0){var ce,W,A=ne._settlePromiseCtx;(oe&33554432)!==0?(W=ne._rejectionHandler0,ce=U):(oe&16777216)!==0?(W=ne._fulfillmentHandler0,ce=X,ne._unsetRejectionIsUnhandled()):(A=ne._settlePromiseLateCancellationObserver,W=new f("late cancellation observer"),ne._attachExtraTrace(W),ce=X),l.invoke(A,ne,{handler:ue===null?ce:typeof ce=="function"&&a.domainBind(ue,ce),promise:C,receiver:k,value:W})}else ne._addCallbacks(U,X,C,k,ue);return C},T.prototype._length=function(){return this._bitField&65535},T.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},T.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},T.prototype._setLength=function(U){this._bitField=this._bitField&-65536|U&65535},T.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},T.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},T.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},T.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},T.prototype._isFinal=function(){return(this._bitField&4194304)>0},T.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},T.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},T.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},T.prototype._setAsyncGuaranteed=function(){l.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},T.prototype._receiverAt=function(U){var X=U===0?this._receiver0:this[U*4-4+3];if(X!==o)return X===void 0&&this._isBound()?this._boundValue():X},T.prototype._promiseAt=function(U){return this[U*4-4+2]},T.prototype._fulfillmentHandlerAt=function(U){return this[U*4-4+0]},T.prototype._rejectionHandlerAt=function(U){return this[U*4-4+1]},T.prototype._boundValue=function(){},T.prototype._migrateCallback0=function(U){U._bitField;var X=U._fulfillmentHandler0,V=U._rejectionHandler0,k=U._promise0,re=U._receiverAt(0);re===void 0&&(re=o),this._addCallbacks(X,V,k,re,null)},T.prototype._migrateCallbackAt=function(U,X){var V=U._fulfillmentHandlerAt(X),k=U._rejectionHandlerAt(X),re=U._promiseAt(X),Z=U._receiverAt(X);Z===void 0&&(Z=o),this._addCallbacks(V,k,re,Z,null)},T.prototype._addCallbacks=function(U,X,V,k,re){var Z=this._length();if(Z>=65535-4&&(Z=0,this._setLength(0)),Z===0)this._promise0=V,this._receiver0=k,typeof U=="function"&&(this._fulfillmentHandler0=re===null?U:a.domainBind(re,U)),typeof X=="function"&&(this._rejectionHandler0=re===null?X:a.domainBind(re,X));else{var C=Z*4-4;this[C+2]=V,this[C+3]=k,typeof U=="function"&&(this[C+0]=re===null?U:a.domainBind(re,U)),typeof X=="function"&&(this[C+1]=re===null?X:a.domainBind(re,X))}return this._setLength(Z+1),Z},T.prototype._proxy=function(U,X){this._addCallbacks(void 0,void 0,X,U,null)},T.prototype._resolveCallback=function(U,X){if((this._bitField&117506048)===0){if(U===this)return this._rejectCallback(e(),!1);var V=R(U,this);if(!(V instanceof T))return this._fulfill(U);X&&this._propagateFrom(V,2);var k=V._target();if(k===this){this._reject(e());return}var re=k._bitField;if((re&50397184)===0){var Z=this._length();Z>0&&k._migrateCallback0(this);for(var C=1;C<Z;++C)k._migrateCallbackAt(this,C);this._setFollowing(),this._setLength(0),this._setFollowee(k)}else if((re&33554432)!==0)this._fulfill(k._value());else if((re&16777216)!==0)this._reject(k._reason());else{var ne=new f("late cancellation observer");k._attachExtraTrace(ne),this._reject(ne)}}},T.prototype._rejectCallback=function(U,X,V){var k=a.ensureErrorObject(U),re=k===U;if(!re&&!V&&O.warnings()){var Z="a promise was rejected with a non-error: "+a.classString(U);this._warn(Z,!0)}this._attachExtraTrace(k,X?re:!1),this._reject(U)},T.prototype._resolveFromExecutor=function(U){var X=this;this._captureStackTrace(),this._pushContext();var V=!0,k=this._execute(U,function(re){X._resolveCallback(re)},function(re){X._rejectCallback(re,V)});V=!1,this._popContext(),k!==void 0&&X._rejectCallback(k,!0)},T.prototype._settlePromiseFromHandler=function(U,X,V,k){var re=k._bitField;if((re&65536)===0){k._pushContext();var Z;X===g?!V||typeof V.length!="number"?(Z=_,Z.e=new d("cannot .spread() a non-array: "+a.classString(V))):Z=B(U).apply(this._boundValue(),V):Z=B(U).call(X,V);var C=k._popContext();re=k._bitField,(re&65536)===0&&(Z===y?k._reject(V):Z===_?k._rejectCallback(Z.e,!1):(O.checkForgottenReturns(Z,C,"",k,this),k._resolveCallback(Z)))}},T.prototype._target=function(){for(var U=this;U._isFollowing();)U=U._followee();return U},T.prototype._followee=function(){return this._rejectionHandler0},T.prototype._setFollowee=function(U){this._rejectionHandler0=U},T.prototype._settlePromise=function(U,X,V,k){var re=U instanceof T,Z=this._bitField,C=(Z&134217728)!==0;(Z&65536)!==0?(re&&U._invokeInternalOnCancel(),V instanceof E&&V.isFinallyHandler()?(V.cancelPromise=U,B(X).call(V,k)===_&&U._reject(_.e)):X===n?U._fulfill(n.call(V)):V instanceof i?V._promiseCancelled(U):re||U instanceof m?U._cancel():V.cancel()):typeof X=="function"?re?(C&&U._setAsyncGuaranteed(),this._settlePromiseFromHandler(X,V,k,U)):X.call(V,k,U):V instanceof i?V._isResolved()||((Z&33554432)!==0?V._promiseFulfilled(k,U):V._promiseRejected(k,U)):re&&(C&&U._setAsyncGuaranteed(),(Z&33554432)!==0?U._fulfill(k):U._reject(k))},T.prototype._settlePromiseLateCancellationObserver=function(U){var X=U.handler,V=U.promise,k=U.receiver,re=U.value;typeof X=="function"?V instanceof T?this._settlePromiseFromHandler(X,k,re,V):X.call(k,re,V):V instanceof T&&V._reject(re)},T.prototype._settlePromiseCtx=function(U){this._settlePromise(U.promise,U.handler,U.receiver,U.value)},T.prototype._settlePromise0=function(U,X,V){var k=this._promise0,re=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(k,U,re,X)},T.prototype._clearCallbackDataAtIndex=function(U){var X=U*4-4;this[X+2]=this[X+3]=this[X+0]=this[X+1]=void 0},T.prototype._fulfill=function(U){var X=this._bitField;if(!((X&117506048)>>>16)){if(U===this){var V=e();return this._attachExtraTrace(V),this._reject(V)}this._setFulfilled(),this._rejectionHandler0=U,(X&65535)>0&&((X&134217728)!==0?this._settlePromises():l.settlePromises(this))}},T.prototype._reject=function(U){var X=this._bitField;if(!((X&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=U,this._isFinal())return l.fatalError(U,a.isNode);(X&65535)>0?l.settlePromises(this):this._ensurePossibleRejectionHandled()}},T.prototype._fulfillPromises=function(U,X){for(var V=1;V<U;V++){var k=this._fulfillmentHandlerAt(V),re=this._promiseAt(V),Z=this._receiverAt(V);this._clearCallbackDataAtIndex(V),this._settlePromise(re,k,Z,X)}},T.prototype._rejectPromises=function(U,X){for(var V=1;V<U;V++){var k=this._rejectionHandlerAt(V),re=this._promiseAt(V),Z=this._receiverAt(V);this._clearCallbackDataAtIndex(V),this._settlePromise(re,k,Z,X)}},T.prototype._settlePromises=function(){var U=this._bitField,X=U&65535;if(X>0){if((U&16842752)!==0){var V=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,V,U),this._rejectPromises(X,V)}else{var k=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,k,U),this._fulfillPromises(X,k)}this._setLength(0)}this._clearCancellationData()},T.prototype._settledValue=function(){var U=this._bitField;if((U&33554432)!==0)return this._rejectionHandler0;if((U&16777216)!==0)return this._fulfillmentHandler0};function I(U){this.promise._resolveCallback(U)}function b(U){this.promise._rejectCallback(U,!1)}T.defer=T.pending=function(){O.deprecated("Promise.defer","new Promise");var U=new T(p);return{promise:U,resolve:I,reject:b}},a.notEnumerableProp(T,"_makeSelfResolutionError",e),KF(T,p,R,r,O),HF(T,p,R,O),GF(T,m,r,O),JF(T),zF(T),$F(T,m,R,p,l,s),T.Promise=T,T.version="3.4.7",jF(T,m,r,R,p,O),qF(T),eP(T,r,R,x,p,O),tP(T,p,O),nP(T,r,p,R,i,O),rP(T),iP(T,p),oP(T,m,R,r),aP(T,p,R,r),sP(T,m,r,R,p,O),cP(T,m,O),uP(T,m,r),lP(T,p),hP(T,p),dP(T),a.toFastProperties(T),a.toFastProperties(T.prototype);function P(U){var X=new T(p);X._fulfillmentHandler0=U,X._rejectionHandler0=U,X._promise0=U,X._receiver0=U}return P({a:1}),P({b:2}),P({c:3}),P(1),P(function(){}),P(void 0),P(!1),P(new T(p)),O.setBounds(u.firstLineError,a.lastLineError),T}})(W2);var fP=Kt.exports,$n=W2.exports();gn.defer=pP;gn.when=$n.resolve;gn.resolve=$n.resolve;gn.all=$n.all;gn.props=$n.props;gn.reject=$n.reject;gn.promisify=$n.promisify;gn.mapSeries=$n.mapSeries;gn.attempt=$n.attempt;gn.nfcall=function(t){var e=Array.prototype.slice.call(arguments,1),n=$n.promisify(t);return n.apply(null,e)};$n.prototype.fail=$n.prototype.caught;$n.prototype.also=function(t){return this.then(function(e){var n=fP.extend({},e,t(e));return $n.props(n)})};function pP(){var t,e,n=new $n.Promise(function(r,i){t=r,e=i});return{resolve:t,reject:e,promise:n}}var ct={},gP=Kt.exports,Pn=ct.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function mP(t,e){return e=e||{},{type:Pn.document,children:t,notes:e.notes||new Vu({}),comments:e.comments||[]}}function RP(t,e){e=e||{};var n=e.indent||{};return{type:Pn.paragraph,children:t,styleId:e.styleId||null,styleName:e.styleName||null,numbering:e.numbering||null,alignment:e.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function yP(t,e){return e=e||{},{type:Pn.run,children:t,styleId:e.styleId||null,styleName:e.styleName||null,isBold:!!e.isBold,isUnderline:!!e.isUnderline,isItalic:!!e.isItalic,isStrikethrough:!!e.isStrikethrough,isAllCaps:!!e.isAllCaps,isSmallCaps:!!e.isSmallCaps,verticalAlignment:e.verticalAlignment||q2.baseline,font:e.font||null,fontSize:e.fontSize||null}}var q2={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function vP(t){return{type:Pn.text,value:t}}function bP(){return{type:Pn.tab}}function xP(t,e){return{type:Pn.hyperlink,children:t,href:e.href,anchor:e.anchor,targetFrame:e.targetFrame}}function wP(t){return{type:Pn.noteReference,noteType:t.noteType,noteId:t.noteId}}function Vu(t){this._notes=gP.indexBy(t,function(e){return ey(e.noteType,e.noteId)})}Vu.prototype.resolve=function(t){return this.findNoteByKey(ey(t.noteType,t.noteId))};Vu.prototype.findNoteByKey=function(t){return this._notes[t]||null};function TP(t){return{type:Pn.note,noteType:t.noteType,noteId:t.noteId,body:t.body}}function SP(t){return{type:Pn.commentReference,commentId:t.commentId}}function DP(t){return{type:Pn.comment,commentId:t.commentId,body:t.body,authorName:t.authorName,authorInitials:t.authorInitials}}function ey(t,e){return t+"-"+e}function OP(t){return{type:Pn.image,read:function(e){return e?t.readImage(e):t.readImage().then(function(n){return Buffer.from(n)})},readAsArrayBuffer:function(){return t.readImage()},readAsBase64String:function(){return t.readImage("base64")},readAsBuffer:function(){return t.readImage().then(function(e){return Buffer.from(e)})},altText:t.altText,contentType:t.contentType}}function _P(t,e){return e=e||{},{type:Pn.table,children:t,styleId:e.styleId||null,styleName:e.styleName||null}}function EP(t,e){return e=e||{},{type:Pn.tableRow,children:t,isHeader:e.isHeader||!1}}function IP(t,e){return e=e||{},{type:Pn.tableCell,children:t,colSpan:e.colSpan==null?1:e.colSpan,rowSpan:e.rowSpan==null?1:e.rowSpan}}function Ef(t){return{type:Pn.break,breakType:t}}function NP(t){return{type:Pn.bookmarkStart,name:t.name}}ct.document=ct.Document=mP;ct.paragraph=ct.Paragraph=RP;ct.run=ct.Run=yP;ct.text=ct.Text=vP;ct.tab=ct.Tab=bP;ct.Hyperlink=xP;ct.noteReference=ct.NoteReference=wP;ct.Notes=Vu;ct.Note=TP;ct.commentReference=SP;ct.comment=DP;ct.Image=OP;ct.Table=_P;ct.TableRow=EP;ct.TableCell=IP;ct.lineBreak=Ef("line");ct.pageBreak=Ef("page");ct.columnBreak=Ef("column");ct.BookmarkStart=NP;ct.verticalAlignment=q2;var hr={},Ss=Kt.exports;hr.Result=jr;hr.success=FP;hr.warning=PP;hr.error=MP;function jr(t,e){this.value=t,this.messages=e||[]}jr.prototype.map=function(t){return new jr(t(this.value),this.messages)};jr.prototype.flatMap=function(t){var e=t(this.value);return new jr(e.value,If([this,e]))};jr.prototype.flatMapThen=function(t){var e=this;return t(this.value).then(function(n){return new jr(n.value,If([e,n]))})};jr.combine=function(t){var e=Ss.flatten(Ss.pluck(t,"value")),n=If(t);return new jr(e,n)};function FP(t){return new jr(t,[])}function PP(t){return{type:"warning",message:t}}function MP(t){return{type:"error",message:t.message,error:t}}function If(t){var e=[];return Ss.flatten(Ss.pluck(t,"messages"),!0).forEach(function(n){LP(e,n)||e.push(n)}),e}function LP(t,e){return Ss.find(t,CP.bind(null,e))!==void 0}function CP(t,e){return t.type===e.type&&t.message===e.message}var Ws={},Yu={};Yu.byteLength=WP;Yu.toByteArray=VP;Yu.fromByteArray=ZP;var Yr=[],yr=[],AP=typeof Uint8Array!="undefined"?Uint8Array:Array,Lh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Lo=0,UP=Lh.length;Lo<UP;++Lo)Yr[Lo]=Lh[Lo],yr[Lh.charCodeAt(Lo)]=Lo;yr["-".charCodeAt(0)]=62;yr["_".charCodeAt(0)]=63;function ty(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function WP(t){var e=ty(t),n=e[0],r=e[1];return(n+r)*3/4-r}function XP(t,e,n){return(e+n)*3/4-n}function VP(t){var e,n=ty(t),r=n[0],i=n[1],o=new AP(XP(t,r,i)),a=0,s=i>0?r-4:r,c;for(c=0;c<s;c+=4)e=yr[t.charCodeAt(c)]<<18|yr[t.charCodeAt(c+1)]<<12|yr[t.charCodeAt(c+2)]<<6|yr[t.charCodeAt(c+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=yr[t.charCodeAt(c)]<<2|yr[t.charCodeAt(c+1)]>>4,o[a++]=e&255),i===1&&(e=yr[t.charCodeAt(c)]<<10|yr[t.charCodeAt(c+1)]<<4|yr[t.charCodeAt(c+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function YP(t){return Yr[t>>18&63]+Yr[t>>12&63]+Yr[t>>6&63]+Yr[t&63]}function BP(t,e,n){for(var r,i=[],o=e;o<n;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(YP(r));return i.join("")}function ZP(t){for(var e,n=t.length,r=n%3,i=[],o=16383,a=0,s=n-r;a<s;a+=o)i.push(BP(t,a,a+o>s?s:a+o));return r===1?(e=t[n-1],i.push(Yr[e>>2]+Yr[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],i.push(Yr[e>>10]+Yr[e>>4&63]+Yr[e<<2&63]+"=")),i.join("")}var ny={exports:{}};/*!
|
|
|
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
<http://stuartk.com/jszip>
|
|
|
|
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
|
|
|
JSZip uses the library pako released under the MIT license :
|
|
https://github.com/nodeca/pako/blob/main/LICENSE
|
|
*/(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function a(u,l){if(!i[u]){if(!r[u]){var h=typeof mc=="function"&&mc;if(!l&&h)return h(u,!0);if(s)return s(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var f=i[u]={exports:{}};r[u][0].call(f.exports,function(p){var g=r[u][1][p];return a(g||p)},f,f.exports,n,r,i,o)}return i[u].exports}for(var s=typeof mc=="function"&&mc,c=0;c<o.length;c++)a(o[c]);return a}({1:[function(n,r,i){var o=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(c){for(var u,l,h,d,f,p,g,y=[],R=0,m=c.length,v=m,x=o.getTypeOf(c)!=="string";R<c.length;)v=m-R,h=x?(u=c[R++],l=R<m?c[R++]:0,R<m?c[R++]:0):(u=c.charCodeAt(R++),l=R<m?c.charCodeAt(R++):0,R<m?c.charCodeAt(R++):0),d=u>>2,f=(3&u)<<4|l>>4,p=1<v?(15&l)<<2|h>>6:64,g=2<v?63&h:64,y.push(s.charAt(d)+s.charAt(f)+s.charAt(p)+s.charAt(g));return y.join("")},i.decode=function(c){var u,l,h,d,f,p,g=0,y=0,R="data:";if(c.substr(0,R.length)===R)throw new Error("Invalid base64 input, it looks like a data url.");var m,v=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===s.charAt(64)&&v--,c.charAt(c.length-2)===s.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(m=a.uint8array?new Uint8Array(0|v):new Array(0|v);g<c.length;)u=s.indexOf(c.charAt(g++))<<2|(d=s.indexOf(c.charAt(g++)))>>4,l=(15&d)<<4|(f=s.indexOf(c.charAt(g++)))>>2,h=(3&f)<<6|(p=s.indexOf(c.charAt(g++))),m[y++]=u,f!==64&&(m[y++]=l),p!==64&&(m[y++]=h);return m}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),c=n("./stream/DataLengthProbe");function u(l,h,d,f,p){this.compressedSize=l,this.uncompressedSize=h,this.crc32=d,this.compression=f,this.compressedContent=p}u.prototype={getContentWorker:function(){var l=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),h=this;return l.on("end",function(){if(this.streamInfo.data_length!==h.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),l},getCompressedWorker:function(){return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(l,h,d){return l.pipe(new s).pipe(new c("uncompressedSize")).pipe(h.compressWorker(d)).pipe(new c("compressedSize")).withStreamInfo("compression",h)},r.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),a=function(){for(var s,c=[],u=0;u<256;u++){s=u;for(var l=0;l<8;l++)s=1&s?3988292384^s>>>1:s>>>1;c[u]=s}return c}();r.exports=function(s,c){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(u,l,h,d){var f=a,p=d+h;u^=-1;for(var g=d;g<p;g++)u=u>>>8^f[255&(u^l[g])];return-1^u}(0|c,s,s.length,0):function(u,l,h,d){var f=a,p=d+h;u^=-1;for(var g=d;g<p;g++)u=u>>>8^f[255&(u^l.charCodeAt(g))];return-1^u}(0|c,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise!="undefined"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",a=n("pako"),s=n("./utils"),c=n("./stream/GenericWorker"),u=o?"uint8array":"array";function l(h,d){c.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=d,this.meta={}}i.magic="\b\0",s.inherits(l,c),l.prototype.processChunk=function(h){this.meta=h.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(u,h.data),!1)},l.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var h=this;this._pako.onData=function(d){h.push({data:d,meta:h.meta})}},i.compressWorker=function(h){return new l("Deflate",h)},i.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(f,p){var g,y="";for(g=0;g<p;g++)y+=String.fromCharCode(255&f),f>>>=8;return y}function a(f,p,g,y,R,m){var v,x,O=f.file,E=f.compression,N=m!==u.utf8encode,M=s.transformTo("string",m(O.name)),_=s.transformTo("string",u.utf8encode(O.name)),B=O.comment,q=s.transformTo("string",m(B)),T=s.transformTo("string",u.utf8encode(B)),I=_.length!==O.name.length,b=T.length!==B.length,P="",U="",X="",V=O.dir,k=O.date,re={crc32:0,compressedSize:0,uncompressedSize:0};p&&!g||(re.crc32=f.crc32,re.compressedSize=f.compressedSize,re.uncompressedSize=f.uncompressedSize);var Z=0;p&&(Z|=8),N||!I&&!b||(Z|=2048);var C=0,ne=0;V&&(C|=16),R==="UNIX"?(ne=798,C|=function(ue,ce){var W=ue;return ue||(W=ce?16893:33204),(65535&W)<<16}(O.unixPermissions,V)):(ne=20,C|=function(ue){return 63&(ue||0)}(O.dosPermissions)),v=k.getUTCHours(),v<<=6,v|=k.getUTCMinutes(),v<<=5,v|=k.getUTCSeconds()/2,x=k.getUTCFullYear()-1980,x<<=4,x|=k.getUTCMonth()+1,x<<=5,x|=k.getUTCDate(),I&&(U=o(1,1)+o(l(M),4)+_,P+="up"+o(U.length,2)+U),b&&(X=o(1,1)+o(l(q),4)+T,P+="uc"+o(X.length,2)+X);var oe="";return oe+=`
|
|
\0`,oe+=o(Z,2),oe+=E.magic,oe+=o(v,2),oe+=o(x,2),oe+=o(re.crc32,4),oe+=o(re.compressedSize,4),oe+=o(re.uncompressedSize,4),oe+=o(M.length,2),oe+=o(P.length,2),{fileRecord:h.LOCAL_FILE_HEADER+oe+M+P,dirRecord:h.CENTRAL_FILE_HEADER+o(ne,2)+oe+o(q.length,2)+"\0\0\0\0"+o(C,4)+o(y,4)+M+P+q}}var s=n("../utils"),c=n("../stream/GenericWorker"),u=n("../utf8"),l=n("../crc32"),h=n("../signature");function d(f,p,g,y){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=g,this.encodeFileName=y,this.streamFiles=f,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,c),d.prototype.push=function(f){var p=f.meta.percent||0,g=this.entriesCount,y=this._sources.length;this.accumulate?this.contentBuffer.push(f):(this.bytesWritten+=f.data.length,c.prototype.push.call(this,{data:f.data,meta:{currentFile:this.currentFile,percent:g?(p+100*(g-y-1))/g:100}}))},d.prototype.openedSource=function(f){this.currentSourceOffset=this.bytesWritten,this.currentFile=f.file.name;var p=this.streamFiles&&!f.file.dir;if(p){var g=a(f,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:g.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(f){this.accumulate=!1;var p=this.streamFiles&&!f.file.dir,g=a(f,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(g.dirRecord),p)this.push({data:function(y){return h.DATA_DESCRIPTOR+o(y.crc32,4)+o(y.compressedSize,4)+o(y.uncompressedSize,4)}(f),meta:{percent:100}});else for(this.push({data:g.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var f=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var g=this.bytesWritten-f,y=function(R,m,v,x,O){var E=s.transformTo("string",O(x));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(R,2)+o(R,2)+o(m,4)+o(v,4)+o(E.length,2)+E}(this.dirRecords.length,g,f,this.zipComment,this.encodeFileName);this.push({data:y,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(f){this._sources.push(f);var p=this;return f.on("data",function(g){p.processChunk(g)}),f.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),f.on("error",function(g){p.error(g)}),this},d.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(f){var p=this._sources;if(!c.prototype.error.call(this,f))return!1;for(var g=0;g<p.length;g++)try{p[g].error(f)}catch{}return!0},d.prototype.lock=function(){c.prototype.lock.call(this);for(var f=this._sources,p=0;p<f.length;p++)f[p].lock()},r.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),a=n("./ZipFileWorker");i.generateWorker=function(s,c,u){var l=new a(c.streamFiles,u,c.platform,c.encodeFileName),h=0;try{s.forEach(function(d,f){h++;var p=function(m,v){var x=m||v,O=o[x];if(!O)throw new Error(x+" is not a valid compression method !");return O}(f.options.compression,c.compression),g=f.options.compressionOptions||c.compressionOptions||{},y=f.dir,R=f.date;f._compressWorker(p,g).withStreamInfo("file",{name:d,dir:y,date:R,comment:f.comment||"",unixPermissions:f.unixPermissions,dosPermissions:f.dosPermissions}).pipe(l)}),l.entriesCount=h}catch(d){l.error(d)}return l}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;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 a=new o;for(var s in this)typeof this[s]!="function"&&(a[s]=this[s]);return a}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(a,s){return new o().loadAsync(a,s)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),a=n("./external"),s=n("./utf8"),c=n("./zipEntries"),u=n("./stream/Crc32Probe"),l=n("./nodejsUtils");function h(d){return new a.Promise(function(f,p){var g=d.decompressed.getContentWorker().pipe(new u);g.on("error",function(y){p(y)}).on("end",function(){g.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):f()}).resume()})}r.exports=function(d,f){var p=this;return f=o.extend(f||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),l.isNode&&l.isStream(d)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",d,!0,f.optimizedBinaryString,f.base64).then(function(g){var y=new c(f);return y.load(g),y}).then(function(g){var y=[a.Promise.resolve(g)],R=g.files;if(f.checkCRC32)for(var m=0;m<R.length;m++)y.push(h(R[m]));return a.Promise.all(y)}).then(function(g){for(var y=g.shift(),R=y.files,m=0;m<R.length;m++){var v=R[m],x=v.fileNameStr,O=o.resolve(v.fileNameStr);p.file(O,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:f.createFolders}),v.dir||(p.file(O).unsafeOriginalName=x)}return y.zipComment.length&&(p.comment=y.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),a=n("../stream/GenericWorker");function s(c,u){a.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(u)}o.inherits(s,a),s.prototype._bindStream=function(c){var u=this;(this._stream=c).pause(),c.on("data",function(l){u.push({data:l,meta:{percent:0}})}).on("error",function(l){u.isPaused?this.generatedError=l:u.error(l)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},s.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function a(s,c,u){o.call(this,c),this._helper=s;var l=this;s.on("data",function(h,d){l.push(h)||l._helper.pause(),u&&u(d)}).on("error",function(h){l.emit("error",h)}).on("end",function(){l.push(null)})}n("../utils").inherits(a,o),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(o,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,a);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,a)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var a=new Buffer(o);return a.fill(0),a},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(O,E,N){var M,_=s.getTypeOf(E),B=s.extend(N||{},l);B.date=B.date||new Date,B.compression!==null&&(B.compression=B.compression.toUpperCase()),typeof B.unixPermissions=="string"&&(B.unixPermissions=parseInt(B.unixPermissions,8)),B.unixPermissions&&16384&B.unixPermissions&&(B.dir=!0),B.dosPermissions&&16&B.dosPermissions&&(B.dir=!0),B.dir&&(O=R(O)),B.createFolders&&(M=y(O))&&m.call(this,M,!0);var q=_==="string"&&B.binary===!1&&B.base64===!1;N&&N.binary!==void 0||(B.binary=!q),(E instanceof h&&E.uncompressedSize===0||B.dir||!E||E.length===0)&&(B.base64=!1,B.binary=!0,E="",B.compression="STORE",_="string");var T=null;T=E instanceof h||E instanceof c?E:p.isNode&&p.isStream(E)?new g(O,E):s.prepareContent(O,E,B.binary,B.optimizedBinaryString,B.base64);var I=new d(O,T,B);this.files[O]=I}var a=n("./utf8"),s=n("./utils"),c=n("./stream/GenericWorker"),u=n("./stream/StreamHelper"),l=n("./defaults"),h=n("./compressedObject"),d=n("./zipObject"),f=n("./generate"),p=n("./nodejsUtils"),g=n("./nodejs/NodejsStreamInputAdapter"),y=function(O){O.slice(-1)==="/"&&(O=O.substring(0,O.length-1));var E=O.lastIndexOf("/");return 0<E?O.substring(0,E):""},R=function(O){return O.slice(-1)!=="/"&&(O+="/"),O},m=function(O,E){return E=E!==void 0?E:l.createFolders,O=R(O),this.files[O]||o.call(this,O,null,{dir:!0,createFolders:E}),this.files[O]};function v(O){return Object.prototype.toString.call(O)==="[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(O){var E,N,M;for(E in this.files)M=this.files[E],(N=E.slice(this.root.length,E.length))&&E.slice(0,this.root.length)===this.root&&O(N,M)},filter:function(O){var E=[];return this.forEach(function(N,M){O(N,M)&&E.push(M)}),E},file:function(O,E,N){if(arguments.length!==1)return O=this.root+O,o.call(this,O,E,N),this;if(v(O)){var M=O;return this.filter(function(B,q){return!q.dir&&M.test(B)})}var _=this.files[this.root+O];return _&&!_.dir?_:null},folder:function(O){if(!O)return this;if(v(O))return this.filter(function(_,B){return B.dir&&O.test(_)});var E=this.root+O,N=m.call(this,E),M=this.clone();return M.root=N.name,M},remove:function(O){O=this.root+O;var E=this.files[O];if(E||(O.slice(-1)!=="/"&&(O+="/"),E=this.files[O]),E&&!E.dir)delete this.files[O];else for(var N=this.filter(function(_,B){return B.name.slice(0,O.length)===O}),M=0;M<N.length;M++)delete this.files[N[M].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(O){var E,N={};try{if((N=s.extend(O||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=N.type.toLowerCase(),N.compression=N.compression.toUpperCase(),N.type==="binarystring"&&(N.type="string"),!N.type)throw new Error("No output type specified.");s.checkSupport(N.type),N.platform!=="darwin"&&N.platform!=="freebsd"&&N.platform!=="linux"&&N.platform!=="sunos"||(N.platform="UNIX"),N.platform==="win32"&&(N.platform="DOS");var M=N.comment||this.comment||"";E=f.generateWorker(this,N,M)}catch(_){(E=new c("error")).error(_)}return new u(E,N.type||"string",N.mimeType)},generateAsync:function(O,E){return this.generateInternalStream(O).accumulate(E)},generateNodeStream:function(O,E){return(O=O||{}).type||(O.type="nodebuffer"),this.generateInternalStream(O).toNodejsStream(E)}};r.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(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s);for(var c=0;c<this.data.length;c++)s[c]=255&s[c]}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var c=s.charCodeAt(0),u=s.charCodeAt(1),l=s.charCodeAt(2),h=s.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===c&&this.data[d+1]===u&&this.data[d+2]===l&&this.data[d+3]===h)return d-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var c=s.charCodeAt(0),u=s.charCodeAt(1),l=s.charCodeAt(2),h=s.charCodeAt(3),d=this.readData(4);return c===d[0]&&u===d[1]&&l===d[2]&&h===d[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function a(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var c,u=0;for(this.checkOffset(s),c=this.index+s-1;c>=this.index;c--)u=(u<<8)+this.byteAt(c);return this.index+=s,u},readString:function(s){return o.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),c=n("./StringReader"),u=n("./NodeBufferReader"),l=n("./Uint8ArrayReader");r.exports=function(h){var d=o.getTypeOf(h);return o.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new u(h):a.uint8array?new l(o.transformTo("uint8array",h)):new s(o.transformTo("array",h)):new c(h)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),a=n("../utils");function s(c){o.call(this,"ConvertWorker to "+c),this.destType=c}a.inherits(s,o),s.prototype.processChunk=function(c){this.push({data:a.transformTo(this.destType,c.data),meta:c.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),a=n("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,o),s.prototype.processChunk=function(c){this.streamInfo.crc32=a(c.data,this.streamInfo.crc32||0),this.push(c)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}o.inherits(s,a),s.prototype.processChunk=function(c){if(c){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+c.data.length}a.prototype.processChunk.call(this,c)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(l){u.dataIsReady=!0,u.data=l,u.max=l&&l.length||0,u.type=o.getTypeOf(l),u.isPaused||u._tickAndRepeat()},function(l){u.error(l)})}o.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,u);break;case"uint8array":c=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":c=this.data.slice(this.index,u)}return this.index=u,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(a){this.name=a||"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}o.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var c=0;c<this._listeners[a].length;c++)this._listeners[a][c].call(this,s)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var s=this;return a.on("data",function(c){s.processChunk(c)}),a.on("end",function(){s.end()}),a.on("error",function(c){s.error(c)}),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 a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,s){return this.extraStreamInfo[a]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},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 a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),c=n("../base64"),u=n("../support"),l=n("../external"),h=null;if(u.nodestream)try{h=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,g){return new l.Promise(function(y,R){var m=[],v=p._internalType,x=p._outputType,O=p._mimeType;p.on("data",function(E,N){m.push(E),g&&g(N)}).on("error",function(E){m=[],R(E)}).on("end",function(){try{var E=function(N,M,_){switch(N){case"blob":return o.newBlob(o.transformTo("arraybuffer",M),_);case"base64":return c.encode(M);default:return o.transformTo(N,M)}}(x,function(N,M){var _,B=0,q=null,T=0;for(_=0;_<M.length;_++)T+=M[_].length;switch(N){case"string":return M.join("");case"array":return Array.prototype.concat.apply([],M);case"uint8array":for(q=new Uint8Array(T),_=0;_<M.length;_++)q.set(M[_],B),B+=M[_].length;return q;case"nodebuffer":return Buffer.concat(M);default:throw new Error("concat : unsupported type '"+N+"'")}}(v,m),O);y(E)}catch(N){R(N)}m=[]}).resume()})}function f(p,g,y){var R=g;switch(g){case"blob":case"arraybuffer":R="uint8array";break;case"base64":R="string"}try{this._internalType=R,this._outputType=g,this._mimeType=y,o.checkSupport(R),this._worker=p.pipe(new a(R)),p.lock()}catch(m){this._worker=new s("error"),this._worker.error(m)}}f.prototype={accumulate:function(p){return d(this,p)},on:function(p,g){var y=this;return p==="data"?this._worker.on(p,function(R){g.call(y,R.data,R.meta)}):this._worker.on(p,function(){o.delay(g,arguments,y)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:this._outputType!=="nodebuffer"},p)}},r.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",i.nodebuffer=typeof Buffer!="undefined",i.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(o),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),c=n("./stream/GenericWorker"),u=new Array(256),l=0;l<256;l++)u[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;u[254]=u[254]=1;function h(){c.call(this,"utf-8 decode"),this.leftOver=null}function d(){c.call(this,"utf-8 encode")}i.utf8encode=function(f){return a.nodebuffer?s.newBufferFrom(f,"utf-8"):function(p){var g,y,R,m,v,x=p.length,O=0;for(m=0;m<x;m++)(64512&(y=p.charCodeAt(m)))==55296&&m+1<x&&(64512&(R=p.charCodeAt(m+1)))==56320&&(y=65536+(y-55296<<10)+(R-56320),m++),O+=y<128?1:y<2048?2:y<65536?3:4;for(g=a.uint8array?new Uint8Array(O):new Array(O),m=v=0;v<O;m++)(64512&(y=p.charCodeAt(m)))==55296&&m+1<x&&(64512&(R=p.charCodeAt(m+1)))==56320&&(y=65536+(y-55296<<10)+(R-56320),m++),y<128?g[v++]=y:(y<2048?g[v++]=192|y>>>6:(y<65536?g[v++]=224|y>>>12:(g[v++]=240|y>>>18,g[v++]=128|y>>>12&63),g[v++]=128|y>>>6&63),g[v++]=128|63&y);return g}(f)},i.utf8decode=function(f){return a.nodebuffer?o.transformTo("nodebuffer",f).toString("utf-8"):function(p){var g,y,R,m,v=p.length,x=new Array(2*v);for(g=y=0;g<v;)if((R=p[g++])<128)x[y++]=R;else if(4<(m=u[R]))x[y++]=65533,g+=m-1;else{for(R&=m===2?31:m===3?15:7;1<m&&g<v;)R=R<<6|63&p[g++],m--;1<m?x[y++]=65533:R<65536?x[y++]=R:(R-=65536,x[y++]=55296|R>>10&1023,x[y++]=56320|1023&R)}return x.length!==y&&(x.subarray?x=x.subarray(0,y):x.length=y),o.applyFromCharCode(x)}(f=o.transformTo(a.uint8array?"uint8array":"array",f))},o.inherits(h,c),h.prototype.processChunk=function(f){var p=o.transformTo(a.uint8array?"uint8array":"array",f.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var g=p;(p=new Uint8Array(g.length+this.leftOver.length)).set(this.leftOver,0),p.set(g,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var y=function(m,v){var x;for((v=v||m.length)>m.length&&(v=m.length),x=v-1;0<=x&&(192&m[x])==128;)x--;return x<0||x===0?v:x+u[m[x]]>v?x:v}(p),R=p;y!==p.length&&(a.uint8array?(R=p.subarray(0,y),this.leftOver=p.subarray(y,p.length)):(R=p.slice(0,y),this.leftOver=p.slice(y,p.length))),this.push({data:i.utf8decode(R),meta:f.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=h,o.inherits(d,c),d.prototype.processChunk=function(f){this.push({data:i.utf8encode(f.data),meta:f.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),c=n("./external");function u(g){return g}function l(g,y){for(var R=0;R<g.length;++R)y[R]=255&g.charCodeAt(R);return y}n("setimmediate"),i.newBlob=function(g,y){i.checkSupport("blob");try{return new Blob([g],{type:y})}catch{try{var R=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return R.append(g),R.getBlob(y)}catch{throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(g,y,R){var m=[],v=0,x=g.length;if(x<=R)return String.fromCharCode.apply(null,g);for(;v<x;)y==="array"||y==="nodebuffer"?m.push(String.fromCharCode.apply(null,g.slice(v,Math.min(v+R,x)))):m.push(String.fromCharCode.apply(null,g.subarray(v,Math.min(v+R,x)))),v+=R;return m.join("")},stringifyByChar:function(g){for(var y="",R=0;R<g.length;R++)y+=String.fromCharCode(g[R]);return y},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function d(g){var y=65536,R=i.getTypeOf(g),m=!0;if(R==="uint8array"?m=h.applyCanBeUsed.uint8array:R==="nodebuffer"&&(m=h.applyCanBeUsed.nodebuffer),m)for(;1<y;)try{return h.stringifyByChunk(g,R,y)}catch{y=Math.floor(y/2)}return h.stringifyByChar(g)}function f(g,y){for(var R=0;R<g.length;R++)y[R]=g[R];return y}i.applyFromCharCode=d;var p={};p.string={string:u,array:function(g){return l(g,new Array(g.length))},arraybuffer:function(g){return p.string.uint8array(g).buffer},uint8array:function(g){return l(g,new Uint8Array(g.length))},nodebuffer:function(g){return l(g,s.allocBuffer(g.length))}},p.array={string:d,array:u,arraybuffer:function(g){return new Uint8Array(g).buffer},uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(g)}},p.arraybuffer={string:function(g){return d(new Uint8Array(g))},array:function(g){return f(new Uint8Array(g),new Array(g.byteLength))},arraybuffer:u,uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(new Uint8Array(g))}},p.uint8array={string:d,array:function(g){return f(g,new Array(g.length))},arraybuffer:function(g){return g.buffer},uint8array:u,nodebuffer:function(g){return s.newBufferFrom(g)}},p.nodebuffer={string:d,array:function(g){return f(g,new Array(g.length))},arraybuffer:function(g){return p.nodebuffer.uint8array(g).buffer},uint8array:function(g){return f(g,new Uint8Array(g.length))},nodebuffer:u},i.transformTo=function(g,y){if(y=y||"",!g)return y;i.checkSupport(g);var R=i.getTypeOf(y);return p[R][g](y)},i.resolve=function(g){for(var y=g.split("/"),R=[],m=0;m<y.length;m++){var v=y[m];v==="."||v===""&&m!==0&&m!==y.length-1||(v===".."?R.pop():R.push(v))}return R.join("/")},i.getTypeOf=function(g){return typeof g=="string"?"string":Object.prototype.toString.call(g)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(g)?"nodebuffer":o.uint8array&&g instanceof Uint8Array?"uint8array":o.arraybuffer&&g instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(g){if(!o[g.toLowerCase()])throw new Error(g+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(g){var y,R,m="";for(R=0;R<(g||"").length;R++)m+="\\x"+((y=g.charCodeAt(R))<16?"0":"")+y.toString(16).toUpperCase();return m},i.delay=function(g,y,R){setImmediate(function(){g.apply(R||null,y||[])})},i.inherits=function(g,y){function R(){}R.prototype=y.prototype,g.prototype=new R},i.extend=function(){var g,y,R={};for(g=0;g<arguments.length;g++)for(y in arguments[g])Object.prototype.hasOwnProperty.call(arguments[g],y)&&R[y]===void 0&&(R[y]=arguments[g][y]);return R},i.prepareContent=function(g,y,R,m,v){return c.Promise.resolve(y).then(function(x){return o.blob&&(x instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(x))!==-1)&&typeof FileReader!="undefined"?new c.Promise(function(O,E){var N=new FileReader;N.onload=function(M){O(M.target.result)},N.onerror=function(M){E(M.target.error)},N.readAsArrayBuffer(x)}):x}).then(function(x){var O=i.getTypeOf(x);return O?(O==="arraybuffer"?x=i.transformTo("uint8array",x):O==="string"&&(v?x=a.decode(x):R&&m!==!0&&(x=function(E){return l(E,o.uint8array?new Uint8Array(E.length):new Array(E.length))}(x))),x):c.Promise.reject(new Error("Can't read the data of '"+g+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./signature"),c=n("./zipEntry"),u=n("./support");function l(h){this.files=[],this.loadOptions=h}l.prototype={checkSignature:function(h){if(!this.reader.readAndCheckSignature(h)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(d)+", expected "+a.pretty(h)+")")}},isSignature:function(h,d){var f=this.reader.index;this.reader.setIndex(h);var p=this.reader.readString(4)===d;return this.reader.setIndex(f),p},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 h=this.reader.readData(this.zipCommentLength),d=u.uint8array?"uint8array":"array",f=a.transformTo(d,h);this.zipComment=this.loadOptions.decodeFileName(f)},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 h,d,f,p=this.zip64EndOfCentralSize-44;0<p;)h=this.reader.readInt(2),d=this.reader.readInt(4),f=this.reader.readData(d),this.zip64ExtensibleData[h]={id:h,length:d,value:f}},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 h,d;for(h=0;h<this.files.length;h++)d=this.files[h],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var h;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(h=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(h);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 h=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(h<0)throw this.isSignature(0,s.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(h);var d=h;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(h=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(h),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.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(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var f=this.centralDirOffset+this.centralDirSize;this.zip64&&(f+=20,f+=12+this.zip64EndOfCentralSize);var p=d-f;if(0<p)this.isSignature(d,s.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(h){this.reader=o(h)},load:function(h){this.prepareReader(h),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./compressedObject"),c=n("./crc32"),u=n("./utf8"),l=n("./compressions"),h=n("./support");function d(f,p){this.options=f,this.loadOptions=p}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(f){var p,g;if(f.skip(22),this.fileNameLength=f.readInt(2),g=f.readInt(2),this.fileName=f.readData(this.fileNameLength),f.skip(g),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((p=function(y){for(var R in l)if(Object.prototype.hasOwnProperty.call(l,R)&&l[R].magic===y)return l[R];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,p,f.readData(this.compressedSize))},readCentralPart:function(f){this.versionMadeBy=f.readInt(2),f.skip(2),this.bitFlag=f.readInt(2),this.compressionMethod=f.readString(2),this.date=f.readDate(),this.crc32=fpe.containsBlackPoint=function(efn,r,i){var o=this.image;if(i){for(f.readInt(4);var p=fo.get(a,r))return!0}else for(var s=e;sf.readInt(2),this.fileCommentLength=f.readInt(2),this.diskNumberStart=f.readInt(2),this.internalFileAttributes=f.readInt(2),this.externalFileAttributes=f.readInt(4),this.localHeaderOffset=f.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");f.skip(p),this.readExtraFields(f),this.parseZIP64ExtraField(f),this.fileComment=f.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var f=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),f==0&&(this.dosPermissions=63&this.externalFileAttributes),f==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var f=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=f.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=f.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=f.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=f.readInt(4))}},readExtraFields:function(f){var p,g,y,R=f.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});f.index+4<R;)p=f.readInt(2),g=f.readInt(2),y=f.readData(g),this.extraFields[p]={id:p,length:g,value:y};f.setIndex(R)},handleUTF8:function(){var f=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var g=a.transformTo(f,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(g)}var y=this.findExtraFieldUnicodeComment();if(y!==null)this.fileCommentStr=y;else{var R=a.transformTo(f,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(R)}}},findExtraFieldUnicodePath:function(){var f=this.extraFields[28789];if(f){var p=o(f.value);return p.readInt(1)!==1||c(this.fileName)!==p.readInt(4)?null:u.utf8decode(p.readData(f.length-5))}return null},findExtraFieldUnicodeComment:function(){var f=this.extraFields[25461];if(f){var p=o(f.value);return p.readInt(1)!==1||c(this.fileComment)!==p.readInt(4)?null:u.utf8decode(p.readData(f.length-5))}return null}},r.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(p,g,y){this.name=p,this.dir=y.dir,this.date=y.date,this.comment=y.comment,this.unixPermissions=y.unixPermissions,this.dosPermissions=y.dosPermissions,this._data=g,this._dataBinary=y.binary,this.options={compression:y.compression,compressionOptions:y.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),c=n("./utf8"),u=n("./compressedObject"),l=n("./stream/GenericWorker");o.prototype={internalStream:function(p){var g=null,y="string";try{if(!p)throw new Error("No output type specified.");var R=(y=p.toLowerCase())==="string"||y==="text";y!=="binarystring"&&y!=="text"||(y="string"),g=this._decompressWorker();var m=!this._dataBinary;m&&!R&&(g=g.pipe(new c.Utf8EncodeWorker)),!m&&R&&(g=g.pipe(new c.Utf8DecodeWorker))}catch(v){(g=new l("error")).error(v)}return new a(g,y,"")},async:function(p,g){return this.internalStream(p).accumulate(g)},nodeStream:function(p,g){return this.internalStream(p||"nodebuffer").toNodejsStream(g)},_compressWorker:function(p,g){if(this._data instanceof u&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var y=this._decompressWorker();return this._dataBinary||(y=y.pipe(new c.Utf8EncodeWorker)),u.createWorkerFrom(y,p,g)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof l?this._data:new s(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<h.length;f++)o.prototype[h[f]]=d;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var a,s,c=o.MutationObserver||o.WebKitMutationObserver;if(c){var u=0,l=new c(p),h=o.document.createTextNode("");l.observe(h,{characterData:!0}),a=function(){h.data=u=++u%2}}else if(o.setImmediate||o.MessageChannel===void 0)a="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var g=o.document.createElement("script");g.onreadystatechange=function(){p(),g.onreadystatechange=null,g.parentNode.removeChild(g),g=null},o.document.documentElement.appendChild(g)}:function(){setTimeout(p,0)};else{var d=new o.MessageChannel;d.port1.onmessage=p,a=function(){d.port2.postMessage(0)}}var f=[];function p(){var g,y;s=!0;for(var R=f.length;R;){for(y=f,f=[],g=-1;++g<R;)y[g]();R=f.length}s=!1}r.exports=function(g){f.push(g)!==1||s||a()}}).call(this,typeof qe!="undefined"?qe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function a(){}var s={},c=["REJECTED"],u=["FULFILLED"],l=["PENDING"];function h(R){if(typeof R!="function")throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,R!==a&&g(this,R)}function d(R,m,v){this.promise=R,typeof m=="function"&&(this.onFulfilled=m,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function f(R,m,v){o(function(){var x;try{x=m(v)}catch(O){return s.reject(R,O)}x===R?s.reject(R,new TypeError("Cannot resolve promise with itself")):s.resolve(R,x)})}function p(R){var m=R&&R.then;if(R&&(typeof R=="object"||typeof R=="function")&&typeof m=="function")return function(){m.apply(R,arguments)}}function g(R,m){var v=!1;function x(N){v||(v=!0,s.reject(R,N))}function O(N){v||(v=!0,s.resolve(R,N))}var E=y(function(){m(O,x)});E.status==="error"&&x(E.value)}function y(R,m){var v={};try{v.value=R(m),v.status="success"}catch(x){v.status="error",v.value=x}return v}(r.exports=h).prototype.finally=function(R){if(typeof R!="function")return this;var m=this.constructor;return this.then(function(v){return m.resolve(R()).then(function(){return v})},function(v){return m.resolve(R()).then(function(){throw v})})},h.prototype.catch=function(R){return this.then(null,R)},h.prototype.then=function(R,m){if(typeof R!="function"&&this.state===u||typeof m!="function"&&this.state===c)return this;var v=new this.constructor(a);return this.state!==l?f(v,this.state===u?R:m,this.outcome):this.queue.push(new d(v,R,m)),v},d.prototype.callFulfilled=function(R){s.resolve(this.promise,R)},d.prototype.otherCallFulfilled=function(R){f(this.promise,this.onFulfilled,R)},d.prototype.callRejected=function(R){s.reject(this.promise,R)},d.prototype.otherCallRejected=function(R){f(this.promise,this.onRejected,R)},s.resolve=function(R,m){var v=y(p,m);if(v.status==="error")return s.reject(R,v.value);var x=v.value;if(x)g(R,x);else{R.state=u,R.outcome=m;for(var O=-1,E=R.queue.length;++O<E;)R.queue[O].callFulfilled(m)}return R},s.reject=function(R,m){R.state=c,R.outcome=m;for(var v=-1,x=R.queue.length;++v<x;)R.queue[v].callRejected(m);return R},h.resolve=function(R){return R instanceof this?R:s.resolve(new this(a),R)},h.reject=function(R){var m=new this(a);return s.reject(m,R)},h.all=function(R){var m=this;if(Object.prototype.toString.call(R)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=R.length,x=!1;if(!v)return this.resolve([]);for(var O=new Array(v),E=0,N=-1,M=new this(a);++N<v;)_(R[N],N);return M;function _(B,q){m.resolve(B).then(function(T){O[q]=T,++E!==v||x||(x=!0,s.resolve(M,O))},function(T){x||(x=!0,s.reject(M,T))})}},h.race=function(R){var m=this;if(Object.prototype.toString.call(R)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=R.length,x=!1;if(!v)return this.resolve([]);for(var O=-1,E=new this(a);++O<v;)N=R[O],m.resolve(N).then(function(M){x||(x=!0,s.resolve(E,M))},function(M){x||(x=!0,s.reject(E,M))});var N;return E}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/messages"),u=n("./zlib/zstream"),l=Object.prototype.toString,h=0,d=-1,f=0,p=8;function g(R){if(!(this instanceof g))return new g(R);this.options=a.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},R||{});var m=this.options;m.raw&&0<m.windowBits?m.windowBits=-m.windowBits:m.gzip&&0<m.windowBits&&m.windowBits<16&&(m.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var v=o.deflateInit2(this.strm,m.level,m.method,m.windowBits,m.memLevel,m.strategy);if(v!==h)throw new Error(c[v]);if(m.header&&o.deflateSetHeader(this.strm,m.header),m.dictionary){var x;if(x=typeof m.dictionary=="string"?s.string2buf(m.dictionary):l.call(m.dictionary)==="[object ArrayBuffer]"?new Uint8Array(m.dictionary):m.dictionary,(v=o.deflateSetDictionary(this.strm,x))!==h)throw new Error(c[v]);this._dict_set=!0}}function y(R,m){var v=new g(m);if(v.push(R,!0),v.err)throw v.msg||c[v.err];return v.result}g.prototype.push=function(R,m){var v,x,O=this.strm,E=this.options.chunkSize;if(this.ended)return!1;x=m===~~m?m:m===!0?4:0,typeof R=="string"?O.input=s.string2buf(R):l.call(R)==="[object ArrayBuffer]"?O.input=new Uint8Array(R):O.input=R,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new a.Buf8(E),O.next_out=0,O.avail_out=E),(v=o.deflate(O,x))!==1&&v!==h)return this.onEnd(v),!(this.ended=!0);O.avail_out!==0&&(O.avail_in!==0||x!==4&&x!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(O.output,O.next_out))):this.onData(a.shrinkBuf(O.output,O.next_out)))}while((0<O.avail_in||O.avail_out===0)&&v!==1);return x===4?(v=o.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===h):x!==2||(this.onEnd(h),!(O.avail_out=0))},g.prototype.onData=function(R){this.chunks.push(R)},g.prototype.onEnd=function(R){R===h&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=R,this.msg=this.strm.msg},i.Deflate=g,i.deflate=y,i.deflateRaw=function(R,m){return(m=m||{}).raw=!0,y(R,m)},i.gzip=function(R,m){return(m=m||{}).gzip=!0,y(R,m)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/constants"),u=n("./zlib/messages"),l=n("./zlib/zstream"),h=n("./zlib/gzheader"),d=Object.prototype.toString;function f(g){if(!(this instanceof f))return new f(g);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},g||{});var y=this.options;y.raw&&0<=y.windowBits&&y.windowBits<16&&(y.windowBits=-y.windowBits,y.windowBits===0&&(y.windowBits=-15)),!(0<=y.windowBits&&y.windowBits<16)||g&&g.windowBits||(y.windowBits+=32),15<y.windowBits&&y.windowBits<48&&(15&y.windowBits)==0&&(y.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var R=o.inflateInit2(this.strm,y.windowBits);if(R!==c.Z_OK)throw new Error(u[R]);this.header=new h,o.inflateGetHeader(this.strm,this.header)}function p(g,y){var R=new f(y);if(R.push(g,!0),R.err)throw R.msg||u[R.err];return R.result}f.prototype.push=function(g,y){var R,m,v,x,O,E,N=this.strm,M=this.options.chunkSize,_=this.options.dictionary,B=!1;if(this.ended)return!1;m=y===~~y?y:y===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof g=="string"?N.input=s.binstring2buf(g):d.call(g)==="[object ArrayBuffer]"?N.input=new Uint8Array(g):N.input=g,N.next_in=0,N.avail_in=N.input.length;do{if(N.avail_out===0&&(N.output=new a.Buf8(M),N.next_out=0,N.avail_out=M),(R=o.inflate(N,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&_&&(E=typeof _=="string"?s.string2buf(_):d.call(_)==="[object ArrayBuffer]"?new Uint8Array(_):_,R=o.inflateSetDictionary(this.strm,E)),R===c.Z_BUF_ERROR&&B===!0&&(R=c.Z_OK,B=!1),R!==c.Z_STREAM_END&&R!==c.Z_OK)return this.onEnd(R),!(this.ended=!0);N.next_out&&(N.avail_out!==0&&R!==c.Z_STREAM_END&&(N.avail_in!==0||m!==c.Z_FINISH&&m!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=s.utf8border(N.output,N.next_out),x=N.next_out-v,O=s.buf2string(N.output,v),N.next_out=x,N.avail_out=M-x,x&&a.arraySet(N.output,N.output,v,x,0),this.onData(O)):this.onData(a.shrinkBuf(N.output,N.next_out)))),N.avail_in===0&&N.avail_out===0&&(B=!0)}while((0<N.avail_in||N.avail_out===0)&&R!==c.Z_STREAM_END);return R===c.Z_STREAM_END&&(m=c.Z_FINISH),m===c.Z_FINISH?(R=o.inflateEnd(this.strm),this.onEnd(R),this.ended=!0,R===c.Z_OK):m!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(N.avail_out=0))},f.prototype.onData=function(g){this.chunks.push(g)},f.prototype.onEnd=function(g){g===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},i.Inflate=f,i.inflate=p,i.inflateRaw=function(g,y){return(y=y||{}).raw=!0,p(g,y)},i.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";i.assign=function(c){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var l=u.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var h in l)l.hasOwnProperty(h)&&(c[h]=l[h])}}return c},i.shrinkBuf=function(c,u){return c.length===u?c:c.subarray?c.subarray(0,u):(c.length=u,c)};var a={arraySet:function(c,u,l,h,d){if(u.subarray&&c.subarray)c.set(u.subarray(l,l+h),d);else for(var f=0;f<h;f++)c[d+f]=u[l+f]},flattenChunks:function(c){var u,l,h,d,f,p;for(u=h=0,l=c.length;u<l;u++)h+=c[u].length;for(p=new Uint8Array(h),u=d=0,l=c.length;u<l;u++)f=c[u],p.set(f,d),d+=f.length;return p}},s={arraySet:function(c,u,l,h,d){for(var f=0;f<h;f++)c[d+f]=u[l+f]},flattenChunks:function(c){return[].concat.apply([],c)}};i.setTyped=function(c){c?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,a)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var c=new o.Buf8(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function l(h,d){if(d<65537&&(h.subarray&&s||!h.subarray&&a))return String.fromCharCode.apply(null,o.shrinkBuf(h,d));for(var f="",p=0;p<d;p++)f+=String.fromCharCode(h[p]);return f}c[254]=c[254]=1,i.string2buf=function(h){var d,f,p,g,y,R=h.length,m=0;for(g=0;g<R;g++)(64512&(f=h.charCodeAt(g)))==55296&&g+1<R&&(64512&(p=h.charCodeAt(g+1)))==56320&&(f=65536+(f-55296<<10)+(p-56320),g++),m+=f<128?1:f<2048?2:f<65536?3:4;for(d=new o.Buf8(m),g=y=0;y<m;g++)(64512&(f=h.charCodeAt(g)))==55296&&g+1<R&&(64512&(p=h.charCodeAt(g+1)))==56320&&(f=65536+(f-55296<<10)+(p-56320),g++),f<128?d[y++]=f:(f<2048?d[y++]=192|f>>>6:(f<65536?d[y++]=224|f>>>12:(d[y++]=240|f>>>18,d[y++]=128|f>>>12&63),d[y++]=128|f>>>6&63),d[y++]=128|63&f);return d},i.buf2binstring=function(h){return l(h,h.length)},i.binstring2buf=function(h){for(var d=new o.Buf8(h.length),f=0,p=d.length;f<p;f++)d[f]=h.charCodeAt(f);return d},i.buf2string=function(h,d){var f,p,g,y,R=d||h.length,m=new Array(2*R);for(f=p=0;f<R;)if((g=h[f++])<128)m[p++]=g;else if(4<(y=c[g]))m[p++]=65533,f+=y-1;else{for(g&=y===2?31:y===3?15:7;1<y&&f<R;)g=g<<6|63&h[f++],y--;1<y?m[p++]=65533:g<65536?m[p++]=g:(g-=65536,m[p++]=55296|g>>10&1023,m[p++]=56320|1023&g)}return l(m,p)},i.utf8border=function(h,d){var f;for((d=d||h.length)>h.length&&(d=h.length),f=d-1;0<=f&&(192&h[f])==128;)f--;return f<0||f===0?d:f+c[h[f]]>d?f:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,c){for(var u=65535&o|0,l=o>>>16&65535|0,h=0;s!==0;){for(s-=h=2e3<s?2e3:s;l=l+(u=u+a[c++]|0)|0,--h;);u%=65521,l%=65521}return u|l<<16|0}},{}],44:[function(n,r,i){r.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(n,r,i){var o=function(){for(var a,s=[],c=0;c<256;c++){a=c;for(var u=0;u<8;u++)a=1&a?3988292384^a>>>1:a>>>1;s[c]=a}return s}();r.exports=function(a,s,c,u){var l=o,h=u+c;a^=-1;for(var d=u;d<h;d++)a=a>>>8^l[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),c=n("./adler32"),u=n("./crc32"),l=n("./messages"),h=0,d=4,f=0,p=-2,g=-1,y=4,R=2,m=8,v=9,x=286,O=30,E=19,N=2*x+1,M=15,_=3,B=258,q=B+_+1,T=42,I=113,b=1,P=2,U=3,X=4;function V(D,ie){return D.msg=l[ie],ie}function k(D){return(D<<1)-(4<D?9:0)}function re(D){for(var ie=D.length;0<=--ie;)D[ie]=0}function Z(D){var ie=D.state,L=ie.pending;L>D.avail_out&&(L=D.avail_out),L!==0&&(a.arraySet(D.output,ie.pending_buf,ie.pending_out,L,D.next_out),D.next_out+=L,ie.pending_out+=L,D.total_out+=L,D.avail_out-=L,ie.pending-=L,ie.pending===0&&(ie.pending_out=0))}function C(D,ie){s._tr_flush_block(D,0<=D.block_start?D.block_start:-1,D.strstart-D.block_start,ie),D.block_start=D.strstart,Z(D.strm)}function ne(D,ie){D.pending_buf[D.pending++]=ie}function oe(D,ie){D.pending_buf[D.pending++]=ie>>>8&255,D.pending_buf[D.pending++]=255&ie}function ue(D,ie){var L,w,S=D.max_chain_length,F=D.strstart,G=D.prev_length,ee=D.nice_match,K=D.strstart>D.w_size-q?D.strstart-(D.w_size-q):0,J=D.window,te=D.w_mask,ae=D.prev,he=D.strstart+B,xe=J[F+G-1],_e=J[F+G];D.prev_length>=D.good_match&&(S>>=2),ee>D.lookahead&&(ee=D.lookahead);do if(J[(L=ie)+G]===_e&&J[L+G-1]===xe&&J[L]===J[F]&&J[++L]===J[F+1]){F+=2,L++;do;while(J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&J[++F]===J[++L]&&F<he);if(w=B-(he-F),F=he-B,G<w){if(D.match_start=ie,ee<=(G=w))break;xe=J[F+G-1],_e=J[F+G]}}while((ie=ae[ie&te])>K&&--S!=0);return G<=D.lookahead?G:D.lookahead}function ce(D){var ie,L,w,S,F,G,ee,K,J,te,ae=D.w_size;do{if(S=D.window_size-D.lookahead-D.strstart,D.strstart>=ae+(ae-q)){for(a.arraySet(D.window,D.window,ae,ae,0),D.match_start-=ae,D.strstart-=ae,D.block_start-=ae,ie=L=D.hash_size;w=D.head[--ie],D.head[ie]=ae<=w?w-ae:0,--L;);for(ie=L=ae;w=D.prev[--ie],D.prev[ie]=ae<=w?w-ae:0,--L;);S+=ae}if(D.strm.avail_in===0)break;if(G=D.strm,ee=D.window,K=D.strstart+D.lookahead,J=S,te=void 0,te=G.avail_in,J<te&&(te=J),L=te===0?0:(G.avail_in-=te,a.arraySet(ee,G.input,G.next_in,te,K),G.state.wrap===1?G.adler=c(G.adler,ee,te,K):G.state.wrap===2&&(G.adler=u(G.adler,ee,te,K)),G.next_in+=te,G.total_in+=te,te),D.lookahead+=L,D.lookahead+D.insert>=_)for(F=D.strstart-D.insert,D.ins_h=D.window[F],D.ins_h=(D.ins_h<<D.hash_shift^D.window[F+1])&D.hash_mask;D.insert&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[F+_-1])&D.hash_mask,D.prev[F&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=F,F++,D.insert--,!(D.lookahead+D.insert<_)););}while(D.lookahead<q&&D.strm.avail_in!==0)}function W(D,ie){for(var L,w;;){if(D.lookahead<q){if(ce(D),D.lookahead<q&&ie===h)return b;if(D.lookahead===0)break}if(L=0,D.lookahead>=_&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),L!==0&&D.strstart-L<=D.w_size-q&&(D.match_length=ue(D,L)),D.match_length>=_)if(w=s._tr_tally(D,D.strstart-D.match_start,D.match_length-_),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=_){for(D.match_length--;D.strstart++,D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart,--D.match_length!=0;);D.strstart++}else D.strstart+=D.match_length,D.match_length=0,D.ins_h=D.window[D.strstart],D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+1])&D.hash_mask;else w=s._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++;if(w&&(C(D,!1),D.strm.avail_out===0))return b}return D.insert=D.strstart<_-1?D.strstart:_-1,ie===d?(C(D,!0),D.strm.avail_out===0?U:X):D.last_lit&&(C(D,!1),D.strm.avail_out===0)?b:P}function A(D,ie){for(var L,w,S;;){if(D.lookahead<q){if(ce(D),D.lookahead<q&&ie===h)return b;if(D.lookahead===0)break}if(L=0,D.lookahead>=_&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),D.prev_length=D.match_length,D.prev_match=D.match_start,D.match_length=_-1,L!==0&&D.prev_length<D.max_lazy_match&&D.strstart-L<=D.w_size-q&&(D.match_length=ue(D,L),D.match_length<=5&&(D.strategy===1||D.match_length===_&&4096<D.strstart-D.match_start)&&(D.match_length=_-1)),D.prev_length>=_&&D.match_length<=D.prev_length){for(S=D.strstart+D.lookahead-_,w=s._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-_),D.lookahead-=D.prev_length-1,D.prev_length-=2;++D.strstart<=S&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+_-1])&D.hash_mask,L=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),--D.prev_length!=0;);if(D.match_available=0,D.match_length=_-1,D.strstart++,w&&(C(D,!1),D.strm.avail_out===0))return b}else if(D.match_available){if((w=s._tr_tally(D,0,D.window[D.strstart-1]))&&C(D,!1),D.strstart++,D.lookahead--,D.strm.avail_out===0)return b}else D.match_available=1,D.strstart++,D.lookahead--}return D.match_available&&(w=s._tr_tally(D,0,D.window[D.strstart-1]),D.match_available=0),D.insert=D.strstart<_-1?D.strstart:_-1,ie===d?(C(D,!0),D.strm.avail_out===0?U:X):D.last_lit&&(C(D,!1),D.strm.avail_out===0)?b:P}function Q(D,ie,L,w,S){this.good_length=D,this.max_lazy=ie,this.nice_length=L,this.max_chain=w,this.func=S}function z(){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=m,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 a.Buf16(2*N),this.dyn_dtree=new a.Buf16(2*(2*O+1)),this.bl_tree=new a.Buf16(2*(2*E+1)),re(this.dyn_ltree),re(this.dyn_dtree),re(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(M+1),this.heap=new a.Buf16(2*x+1),re(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*x+1),re(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 H(D){var ie;return D&&D.state?(D.total_in=D.total_out=0,D.data_type=R,(ie=D.state).pending=0,ie.pending_out=0,ie.wrap<0&&(ie.wrap=-ie.wrap),ie.status=ie.wrap?T:I,D.adler=ie.wrap===2?0:1,ie.last_flush=h,s._tr_init(ie),f):V(D,p)}function j(D){var ie=H(D);return ie===f&&function(L){L.window_size=2*L.w_size,re(L.head),L.max_lazy_match=o[L.level].max_lazy,L.good_match=o[L.level].good_length,L.nice_match=o[L.level].nice_length,L.max_chain_length=o[L.level].max_chain,L.strstart=0,L.block_start=0,L.lookahead=0,L.insert=0,L.match_length=L.prev_length=_-1,L.match_available=0,L.ins_h=0}(D.state),ie}function ge(D,ie,L,w,S,F){if(!D)return p;var G=1;if(ie===g&&(ie=6),w<0?(G=0,w=-w):15<w&&(G=2,w-=16),S<1||v<S||L!==m||w<8||15<w||ie<0||9<ie||F<0||y<F)return V(D,p);w===8&&(w=9);var ee=new z;return(D.state=ee).strm=D,ee.wrap=G,ee.gzhead=null,ee.w_bits=w,ee.w_size=1<<ee.w_bits,ee.w_mask=ee.w_size-1,ee.hash_bits=S+7,ee.hash_size=1<<ee.hash_bits,ee.hash_mask=ee.hash_size-1,ee.hash_shift=~~((ee.hash_bits+_-1)/_),ee.window=new a.Buf8(2*ee.w_size),ee.head=new a.Buf16(ee.hash_size),ee.prev=new a.Buf16(ee.w_size),ee.lit_bufsize=1<<S+6,ee.pending_buf_size=4*ee.lit_bufsize,ee.pending_buf=new a.Buf8(ee.pending_buf_size),ee.d_buf=1*ee.lit_bufsize,ee.l_buf=3*ee.lit_bufsize,ee.level=ie,ee.strategy=F,ee.method=L,j(D)}o=[new Q(0,0,0,0,function(D,ie){var L=65535;for(L>D.pending_buf_size-5&&(L=D.pending_buf_size-5);;){if(D.lookahead<=1){if(ce(D),D.lookahead===0&&ie===h)return b;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var w=D.block_start+L;if((D.strstart===0||D.strstart>=w)&&(D.lookahead=D.strstart-w,D.strstart=w,C(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-q&&(C(D,!1),D.strm.avail_out===0))return b}return D.insert=0,ie===d?(C(D,!0),D.strm.avail_out===0?U:X):(D.strstart>D.block_start&&(C(D,!1),D.strm.avail_out),b)}),new Q(4,4,8,4,W),new Q(4,5,16,8,W),new Q(4,6,32,32,W),new Q(4,4,16,16,A),new Q(8,16,32,32,A),new Q(8,16,128,128,A),new Q(8,32,128,256,A),new Q(32,128,258,1024,A),new Q(32,258,258,4096,A)],i.deflateInit=function(D,ie){return ge(D,ie,m,15,8,0)},i.deflateInit2=ge,i.deflateReset=j,i.deflateResetKeep=H,i.deflateSetHeader=function(D,ie){return D&&D.state?D.state.wrap!==2?p:(D.state.gzhead=ie,f):p},i.deflate=function(D,ie){var L,w,S,F;if(!D||!D.state||5<ie||ie<0)return D?V(D,p):p;if(w=D.state,!D.output||!D.input&&D.avail_in!==0||w.status===666&&ie!==d)return V(D,D.avail_out===0?-5:p);if(w.strm=D,L=w.last_flush,w.last_flush=ie,w.status===T)if(w.wrap===2)D.adler=0,ne(w,31),ne(w,139),ne(w,8),w.gzhead?(ne(w,(w.gzhead.text?1:0)+(w.gzhead.hcrc?2:0)+(w.gzhead.extra?4:0)+(w.gzhead.name?8:0)+(w.gzhead.comment?16:0)),ne(w,255&w.gzhead.time),ne(w,w.gzhead.time>>8&255),ne(w,w.gzhead.time>>16&255),ne(w,w.gzhead.time>>24&255),ne(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),ne(w,255&w.gzhead.os),w.gzhead.extra&&w.gzhead.extra.length&&(ne(w,255&w.gzhead.extra.length),ne(w,w.gzhead.extra.length>>8&255)),w.gzhead.hcrc&&(D.adler=u(D.adler,w.pending_buf,w.pending,0)),w.gzindex=0,w.status=69):(ne(w,0),ne(w,0),ne(w,0),ne(w,0),ne(w,0),ne(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),ne(w,3),w.status=I);else{var G=m+(w.w_bits-8<<4)<<8;G|=(2<=w.strategy||w.level<2?0:w.level<6?1:w.level===6?2:3)<<6,w.strstart!==0&&(G|=32),G+=31-G%31,w.status=I,oe(w,G),w.strstart!==0&&(oe(w,D.adler>>>16),oe(w,65535&D.adler)),D.adler=1}if(w.status===69)if(w.gzhead.extra){for(S=w.pending;w.gzindex<(65535&w.gzhead.extra.length)&&(w.pending!==w.pending_buf_size||(w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),Z(D),S=w.pending,w.pending!==w.pending_buf_size));)ne(w,255&w.gzhead.extra[w.gzindex]),w.gzindex++;w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),w.gzindex===w.gzhead.extra.length&&(w.gzindex=0,w.status=73)}else w.status=73;if(w.status===73)if(w.gzhead.name){S=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),Z(D),S=w.pending,w.pending===w.pending_buf_size)){F=1;break}F=w.gzindex<w.gzhead.name.length?255&w.gzhead.name.charCodeAt(w.gzindex++):0,ne(w,F)}while(F!==0);w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),F===0&&(w.gzindex=0,w.status=91)}else w.status=91;if(w.status===91)if(w.gzhead.comment){S=w.pending;do{if(w.pending===w.pending_buf_size&&(w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),Z(D),S=w.pending,w.pending===w.pending_buf_size)){F=1;break}F=w.gzindex<w.gzhead.comment.length?255&w.gzhead.comment.charCodeAt(w.gzindex++):0,ne(w,F)}while(F!==0);w.gzhead.hcrc&&w.pending>S&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),F===0&&(w.status=103)}else w.status=103;if(w.status===103&&(w.gzhead.hcrc?(w.pending+2>w.pending_buf_size&&Z(D),w.pending+2<=w.pending_buf_size&&(ne(w,255&D.adler),ne(w,D.adler>>8&255),D.adler=0,w.status=I)):w.status=I),w.pending!==0){if(Z(D),D.avail_out===0)return w.last_flush=-1,f}else if(D.avail_in===0&&k(ie)<=k(L)&&ie!==d)return V(D,-5);if(w.status===666&&D.avail_in!==0)return V(D,-5);if(D.avail_in!==0||w.lookahead!==0||ie!==h&&w.status!==666){var ee=w.strategy===2?function(K,J){for(var te;;){if(K.lookahead===0&&(ce(K),K.lookahead===0)){if(J===h)return b;break}if(K.match_length=0,te=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++,te&&(C(K,!1),K.strm.avail_out===0))return b}return K.insert=0,J===d?(C(K,!0),K.strm.avail_out===0?U:X):K.last_lit&&(C(K,!1),K.strm.avail_out===0)?b:P}(w,ie):w.strategy===3?function(K,J){for(var te,ae,he,xe,_e=K.window;;){if(K.lookahead<=B){if(ce(K),K.lookahead<=B&&J===h)return b;if(K.lookahead===0)break}if(K.match_length=0,K.lookahead>=_&&0<K.strstart&&(ae=_e[he=K.strstart-1])===_e[++he]&&ae===_e[++he]&&ae===_e[++he]){xe=K.strstart+B;do;while(ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&ae===_e[++he]&&he<xe);K.match_length=B-(xe-he),K.match_length>K.lookahead&&(K.match_length=K.lookahead)}if(K.match_length>=_?(te=s._tr_tally(K,1,K.match_length-_),K.lookahead-=K.match_length,K.strstart+=K.match_length,K.match_length=0):(te=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++),te&&(C(K,!1),K.strm.avail_out===0))return b}return K.insert=0,J===d?(C(K,!0),K.strm.avail_out===0?U:X):K.last_lit&&(C(K,!1),K.strm.avail_out===0)?b:P}(w,ie):o[w.level].func(w,ie);if(ee!==U&&ee!==X||(w.status=666),ee===b||ee===U)return D.avail_out===0&&(w.last_flush=-1),f;if(ee===P&&(ie===1?s._tr_align(w):ie!==5&&(s._tr_stored_block(w,0,0,!1),ie===3&&(re(w.head),w.lookahead===0&&(w.strstart=0,w.block_start=0,w.insert=0))),Z(D),D.avail_out===0))return w.last_flush=-1,f}return ie!==d?f:w.wrap<=0?1:(w.wrap===2?(ne(w,255&D.adler),ne(w,D.adler>>8&255),ne(w,D.adler>>16&255),ne(w,D.adler>>24&255),ne(w,255&D.total_in),ne(w,D.total_in>>8&255),ne(w,D.total_in>>16&255),ne(w,D.total_in>>24&255)):(oe(w,D.adler>>>16),oe(w,65535&D.adler)),Z(D),0<w.wrap&&(w.wrap=-w.wrap),w.pending!==0?f:1)},i.deflateEnd=function(D){var ie;return D&&D.state?(ie=D.state.status)!==T&&ie!==69&&ie!==73&&ie!==91&&ie!==103&&ie!==I&&ie!==666?V(D,p):(D.state=null,ie===I?V(D,-3):f):p},i.deflateSetDictionary=function(D,ie){var L,w,S,F,G,ee,K,J,te=ie.length;if(!D||!D.state||(F=(L=D.state).wrap)===2||F===1&&L.status!==T||L.lookahead)return p;for(F===1&&(D.adler=c(D.adler,ie,te,0)),L.wrap=0,te>=L.w_size&&(F===0&&(re(L.head),L.strstart=0,L.block_start=0,L.insert=0),J=new a.Buf8(L.w_size),a.arraySet(J,ie,te-L.w_size,L.w_size,0),ie=J,te=L.w_size),G=D.avail_in,ee=D.next_in,K=D.input,D.avail_in=te,D.next_in=0,D.input=ie,ce(L);L.lookahead>=_;){for(w=L.strstart,S=L.lookahead-(_-1);L.ins_h=(L.ins_h<<L.hash_shift^L.window[w+_-1])&L.hash_mask,L.prev[w&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=w,w++,--S;);L.strstart=w,L.lookahead=_-1,ce(L)}return L.strstart+=L.lookahead,L.block_start=L.strstart,L.insert=L.lookahead,L.lookahead=0,L.match_length=L.prev_length=_-1,L.match_available=0,D.next_in=ee,D.input=K,D.avail_in=G,L.wrap=F,f},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.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(n,r,i){r.exports=function(o,a){var s,c,u,l,h,d,f,p,g,y,R,m,v,x,O,E,N,M,_,B,q,T,I,b,P;s=o.state,c=o.next_in,b=o.input,u=c+(o.avail_in-5),l=o.next_out,P=o.output,h=l-(a-o.avail_out),d=l+(o.avail_out-257),f=s.dmax,p=s.wsize,g=s.whave,y=s.wnext,R=s.window,m=s.hold,v=s.bits,x=s.lencode,O=s.distcode,E=(1<<s.lenbits)-1,N=(1<<s.distbits)-1;e:do{v<15&&(m+=b[c++]<<v,v+=8,m+=b[c++]<<v,v+=8),M=x[m&E];t:for(;;){if(m>>>=_=M>>>24,v-=_,(_=M>>>16&255)===0)P[l++]=65535&M;else{if(!(16&_)){if((64&_)==0){M=x[(65535&M)+(m&(1<<_)-1)];continue t}if(32&_){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}B=65535&M,(_&=15)&&(v<_&&(m+=b[c++]<<v,v+=8),B+=m&(1<<_)-1,m>>>=_,v-=_),v<15&&(m+=b[c++]<<v,v+=8,m+=b[c++]<<v,v+=8),M=O[m&N];n:for(;;){if(m>>>=_=M>>>24,v-=_,!(16&(_=M>>>16&255))){if((64&_)==0){M=O[(65535&M)+(m&(1<<_)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(q=65535&M,v<(_&=15)&&(m+=b[c++]<<v,(v+=8)<_&&(m+=b[c++]<<v,v+=8)),f<(q+=m&(1<<_)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(m>>>=_,v-=_,(_=l-h)<q){if(g<(_=q-_)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(I=R,(T=0)===y){if(T+=p-_,_<B){for(B-=_;P[l++]=R[T++],--_;);T=l-q,I=P}}else if(y<_){if(T+=p+y-_,(_-=y)<B){for(B-=_;P[l++]=R[T++],--_;);if(T=0,y<B){for(B-=_=y;P[l++]=R[T++],--_;);T=l-q,I=P}}}else if(T+=y-_,_<B){for(B-=_;P[l++]=R[T++],--_;);T=l-q,I=P}for(;2<B;)P[l++]=I[T++],P[l++]=I[T++],P[l++]=I[T++],B-=3;B&&(P[l++]=I[T++],1<B&&(P[l++]=I[T++]))}else{for(T=l-q;P[l++]=P[T++],P[l++]=P[T++],P[l++]=P[T++],2<(B-=3););B&&(P[l++]=P[T++],1<B&&(P[l++]=P[T++]))}break}}break}}while(c<u&&l<d);c-=B=v>>3,m&=(1<<(v-=B<<3))-1,o.next_in=c,o.next_out=l,o.avail_in=c<u?u-c+5:5-(c-u),o.avail_out=l<d?d-l+257:257-(l-d),s.hold=m,s.bits=v}},{}],49:[function(n,r,i){var o=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),c=n("./inffast"),u=n("./inftrees"),l=1,h=2,d=0,f=-2,p=1,g=852,y=592;function R(T){return(T>>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(T){var I;return T&&T.state?(I=T.state,T.total_in=T.total_out=I.total=0,T.msg="",I.wrap&&(T.adler=1&I.wrap),I.mode=p,I.last=0,I.havedict=0,I.dmax=32768,I.head=null,I.hold=0,I.bits=0,I.lencode=I.lendyn=new o.Buf32(g),I.distcode=I.distdyn=new o.Buf32(y),I.sane=1,I.back=-1,d):f}function x(T){var I;return T&&T.state?((I=T.state).wsize=0,I.whave=0,I.wnext=0,v(T)):f}function O(T,I){var b,P;return T&&T.state?(P=T.state,I<0?(b=0,I=-I):(b=1+(I>>4),I<48&&(I&=15)),I&&(I<8||15<I)?f:(P.window!==null&&P.wbits!==I&&(P.window=null),P.wrap=b,P.wbits=I,x(T))):f}function E(T,I){var b,P;return T?(P=new m,(T.state=P).window=null,(b=O(T,I))!==d&&(T.state=null),b):f}var N,M,_=!0;function B(T){if(_){var I;for(N=new o.Buf32(512),M=new o.Buf32(32),I=0;I<144;)T.lens[I++]=8;for(;I<256;)T.lens[I++]=9;for(;I<280;)T.lens[I++]=7;for(;I<288;)T.lens[I++]=8;for(u(l,T.lens,0,288,N,0,T.work,{bits:9}),I=0;I<32;)T.lens[I++]=5;u(h,T.lens,0,32,M,0,T.work,{bits:5}),_=!1}T.lencode=N,T.lenbits=9,T.distcode=M,T.distbits=5}function q(T,I,b,P){var U,X=T.state;return X.window===null&&(X.wsize=1<<X.wbits,X.wnext=0,X.whave=0,X.window=new o.Buf8(X.wsize)),P>=X.wsize?(o.arraySet(X.window,I,b-X.wsize,X.wsize,0),X.wnext=0,X.whave=X.wsize):(P<(U=X.wsize-X.wnext)&&(U=P),o.arraySet(X.window,I,b-P,U,X.wnext),(P-=U)?(o.arraySet(X.window,I,b-P,P,0),X.wnext=P,X.whave=X.wsize):(X.wnext+=U,X.wnext===X.wsize&&(X.wnext=0),X.whave<X.wsize&&(X.whave+=U))),0}i.inflateReset=x,i.inflateReset2=O,i.inflateResetKeep=v,i.inflateInit=function(T){return E(T,15)},i.inflateInit2=E,i.inflate=function(T,I){var b,P,U,X,V,k,re,Z,C,ne,oe,ue,ce,W,A,Q,z,H,j,ge,D,ie,L,w,S=0,F=new o.Buf8(4),G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!T||!T.state||!T.output||!T.input&&T.avail_in!==0)return f;(b=T.state).mode===12&&(b.mode=13),V=T.next_out,U=T.output,re=T.avail_out,X=T.next_in,P=T.input,k=T.avail_in,Z=b.hold,C=b.bits,ne=k,oe=re,ie=d;e:for(;;)switch(b.mode){case p:if(b.wrap===0){b.mode=13;break}for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(2&b.wrap&&Z===35615){F[b.check=0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0),C=Z=0,b.mode=2;break}if(b.flags=0,b.head&&(b.head.done=!1),!(1&b.wrap)||(((255&Z)<<8)+(Z>>8))%31){T.msg="incorrect header check",b.mode=30;break}if((15&Z)!=8){T.msg="unknown compression method",b.mode=30;break}if(C-=4,D=8+(15&(Z>>>=4)),b.wbits===0)b.wbits=D;else if(D>b.wbits){T.msg="invalid window size",b.mode=30;break}b.dmax=1<<D,T.adler=b.check=1,b.mode=512&Z?10:12,C=Z=0;break;case 2:for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(b.flags=Z,(255&b.flags)!=8){T.msg="unknown compression method",b.mode=30;break}if(57344&b.flags){T.msg="unknown header flags set",b.mode=30;break}b.head&&(b.head.text=Z>>8&1),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0)),C=Z=0,b.mode=3;case 3:for(;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.head&&(b.head.time=Z),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,F[2]=Z>>>16&255,F[3]=Z>>>24&255,b.check=s(b.check,F,4,0)),C=Z=0,b.mode=4;case 4:for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.head&&(b.head.xflags=255&Z,b.head.os=Z>>8),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0)),C=Z=0,b.mode=5;case 5:if(1024&b.flags){for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.length=Z,b.head&&(b.head.extra_len=Z),512&b.flags&&(F[0]=255&Z,F[1]=Z>>>8&255,b.check=s(b.check,F,2,0)),C=Z=0}else b.head&&(b.head.extra=null);b.mode=6;case 6:if(1024&b.flags&&(k<(ue=b.length)&&(ue=k),ue&&(b.head&&(D=b.head.extra_len-b.length,b.head.extra||(b.head.extra=new Array(b.head.extra_len)),o.arraySet(b.head.extra,P,X,ue,D)),512&b.flags&&(b.check=s(b.check,P,ue,X)),k-=ue,X+=ue,b.length-=ue),b.length))break e;b.length=0,b.mode=7;case 7:if(2048&b.flags){if(k===0)break e;for(ue=0;D=P[X+ue++],b.head&&D&&b.length<65536&&(b.head.name+=String.fromCharCode(D)),D&&ue<k;);if(512&b.flags&&(b.check=s(b.check,P,ue,X)),k-=ue,X+=ue,D)break e}else b.head&&(b.head.name=null);b.length=0,b.mode=8;case 8:if(4096&b.flags){if(k===0)break e;for(ue=0;D=P[X+ue++],b.head&&D&&b.length<65536&&(b.head.comment+=String.fromCharCode(D)),D&&ue<k;);if(512&b.flags&&(b.check=s(b.check,P,ue,X)),k-=ue,X+=ue,D)break e}else b.head&&(b.head.comment=null);b.mode=9;case 9:if(512&b.flags){for(;C<16;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Z!==(65535&b.check)){T.msg="header crc mismatch",b.mode=30;break}C=Z=0}b.head&&(b.head.hcrc=b.flags>>9&1,b.head.done=!0),T.adler=b.check=0,b.mode=12;break;case 10:for(;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}T.adler=b.check=R(Z),C=Z=0,b.mode=11;case 11:if(b.havedict===0)return T.next_out=V,T.avail_out=re,T.next_in=X,T.avail_in=k,b.hold=Z,b.bits=C,2;T.adler=b.check=1,b.mode=12;case 12:if(I===5||I===6)break e;case 13:if(b.last){Z>>>=7&C,C-=7&C,b.mode=27;break}for(;C<3;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}switch(b.last=1&Z,C-=1,3&(Z>>>=1)){case 0:b.mode=14;break;case 1:if(B(b),b.mode=20,I!==6)break;Z>>>=2,C-=2;break e;case 2:b.mode=17;break;case 3:T.msg="invalid block type",b.mode=30}Z>>>=2,C-=2;break;case 14:for(Z>>>=7&C,C-=7&C;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if((65535&Z)!=(Z>>>16^65535)){T.msg="invalid stored block lengths",b.mode=30;break}if(b.length=65535&Z,C=Z=0,b.mode=15,I===6)break e;case 15:b.mode=16;case 16:if(ue=b.length){if(k<ue&&(ue=k),re<ue&&(ue=re),ue===0)break e;o.arraySet(U,P,X,ue,V),k-=ue,X+=ue,re-=ue,V+=ue,b.length-=ue;break}b.mode=12;break;case 17:for(;C<14;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(b.nlen=257+(31&Z),Z>>>=5,C-=5,b.ndist=1+(31&Z),Z>>>=5,C-=5,b.ncode=4+(15&Z),Z>>>=4,C-=4,286<b.nlen||30<b.ndist){T.msg="too many length or distance symbols",b.mode=30;break}b.have=0,b.mode=18;case 18:for(;b.have<b.ncode;){for(;C<3;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.lens[G[b.have++]]=7&Z,Z>>>=3,C-=3}for(;b.have<19;)b.lens[G[b.have++]]=0;if(b.lencode=b.lendyn,b.lenbits=7,L={bits:b.lenbits},ie=u(0,b.lens,0,19,b.lencode,0,b.work,L),b.lenbits=L.bits,ie){T.msg="invalid code lengths set",b.mode=30;break}b.have=0,b.mode=19;case 19:for(;b.have<b.nlen+b.ndist;){for(;Q=(S=b.lencode[Z&(1<<b.lenbits)-1])>>>16&255,z=65535&S,!((A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(z<16)Z>>>=A,C-=A,b.lens[b.have++]=z;else{if(z===16){for(w=A+2;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Z>>>=A,C-=A,b.have===0){T.msg="invalid bit length repeat",b.mode=30;break}D=b.lens[b.have-1],ue=3+(3&Z),Z>>>=2,C-=2}else if(z===17){for(w=A+3;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}C-=A,D=0,ue=3+(7&(Z>>>=A)),Z>>>=3,C-=3}else{for(w=A+7;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}C-=A,D=0,ue=11+(127&(Z>>>=A)),Z>>>=7,C-=7}if(b.have+ue>b.nlen+b.ndist){T.msg="invalid bit length repeat",b.mode=30;break}for(;ue--;)b.lens[b.have++]=D}}if(b.mode===30)break;if(b.lens[256]===0){T.msg="invalid code -- missing end-of-block",b.mode=30;break}if(b.lenbits=9,L={bits:b.lenbits},ie=u(l,b.lens,0,b.nlen,b.lencode,0,b.work,L),b.lenbits=L.bits,ie){T.msg="invalid literal/lengths set",b.mode=30;break}if(b.distbits=6,b.distcode=b.distdyn,L={bits:b.distbits},ie=u(h,b.lens,b.nlen,b.ndist,b.distcode,0,b.work,L),b.distbits=L.bits,ie){T.msg="invalid distances set",b.mode=30;break}if(b.mode=20,I===6)break e;case 20:b.mode=21;case 21:if(6<=k&&258<=re){T.next_out=V,T.avail_out=re,T.next_in=X,T.avail_in=k,b.hold=Z,b.bits=C,c(T,oe),V=T.next_out,U=T.output,re=T.avail_out,X=T.next_in,P=T.input,k=T.avail_in,Z=b.hold,C=b.bits,b.mode===12&&(b.back=-1);break}for(b.back=0;Q=(S=b.lencode[Z&(1<<b.lenbits)-1])>>>16&255,z=65535&S,!((A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Q&&(240&Q)==0){for(H=A,j=Q,ge=z;Q=(S=b.lencode[ge+((Z&(1<<H+j)-1)>>H)])>>>16&255,z=65535&S,!(H+(A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}Z>>>=H,C-=H,b.back+=H}if(Z>>>=A,C-=A,b.back+=A,b.length=z,Q===0){b.mode=26;break}if(32&Q){b.back=-1,b.mode=12;break}if(64&Q){T.msg="invalid literal/length code",b.mode=30;break}b.extra=15&Q,b.mode=22;case 22:if(b.extra){for(w=b.extra;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.length+=Z&(1<<b.extra)-1,Z>>>=b.extra,C-=b.extra,b.back+=b.extra}b.was=b.length,b.mode=23;case 23:for(;Q=(S=b.distcode[Z&(1<<b.distbits)-1])>>>16&255,z=65535&S,!((A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if((240&Q)==0){for(H=A,j=Q,ge=z;Q=(S=b.distcode[ge+((Z&(1<<H+j)-1)>>H)])>>>16&255,z=65535&S,!(H+(A=S>>>24)<=C);){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}Z>>>=H,C-=H,b.back+=H}if(Z>>>=A,C-=A,b.back+=A,64&Q){T.msg="invalid distance code",b.mode=30;break}b.offset=z,b.extra=15&Q,b.mode=24;case 24:if(b.extra){for(w=b.extra;C<w;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}b.offset+=Z&(1<<b.extra)-1,Z>>>=b.extra,C-=b.extra,b.back+=b.extra}if(b.offset>b.dmax){T.msg="invalid distance too far back",b.mode=30;break}b.mode=25;case 25:if(re===0)break e;if(ue=oe-re,b.offset>ue){if((ue=b.offset-ue)>b.whave&&b.sane){T.msg="invalid distance too far back",b.mode=30;break}ce=ue>b.wnext?(ue-=b.wnext,b.wsize-ue):b.wnext-ue,ue>b.length&&(ue=b.length),W=b.window}else W=U,ce=V-b.offset,ue=b.length;for(re<ue&&(ue=re),re-=ue,b.length-=ue;U[V++]=W[ce++],--ue;);b.length===0&&(b.mode=21);break;case 26:if(re===0)break e;U[V++]=b.length,re--,b.mode=21;break;case 27:if(b.wrap){for(;C<32;){if(k===0)break e;k--,Z|=P[X++]<<C,C+=8}if(oe-=re,T.total_out+=oe,b.total+=oe,oe&&(T.adler=b.check=b.flags?s(b.check,U,oe,V-oe):a(b.check,U,oe,V-oe)),oe=re,(b.flags?Z:R(Z))!==b.check){T.msg="incorrect data check",b.mode=30;break}C=Z=0}b.mode=28;case 28:if(b.wrap&&b.flags){for(;C<32;){if(k===0)break e;k--,Z+=P[X++]<<C,C+=8}if(Z!==(4294967295&b.total)){T.msg="incorrect length check",b.mode=30;break}C=Z=0}b.mode=29;case 29:ie=1;break e;case 30:ie=-3;break e;case 31:return-4;case 32:default:return f}return T.next_out=V,T.avail_out=re,T.next_in=X,T.avail_in=k,b.hold=Z,b.bits=C,(b.wsize||oe!==T.avail_out&&b.mode<30&&(b.mode<27||I!==4))&&q(T,T.output,T.next_out,oe-T.avail_out)?(b.mode=31,-4):(ne-=T.avail_in,oe-=T.avail_out,T.total_in+=ne,T.total_out+=oe,b.total+=oe,b.wrap&&oe&&(T.adler=b.check=b.flags?s(b.check,U,oe,T.next_out-oe):a(b.check,U,oe,T.next_out-oe)),T.data_type=b.bits+(b.last?64:0)+(b.mode===12?128:0)+(b.mode===20||b.mode===15?256:0),(ne==0&&oe===0||I===4)&&ie===d&&(ie=-5),ie)},i.inflateEnd=function(T){if(!T||!T.state)return f;var I=T.state;return I.window&&(I.window=null),T.state=null,d},i.inflateGetHeader=function(T,I){var b;return T&&T.state?(2&(b=T.state).wrap)==0?f:((b.head=I).done=!1,d):f},i.inflateSetDictionary=function(T,I){var b,P=I.length;return T&&T.state?(b=T.state).wrap!==0&&b.mode!==11?f:b.mode===11&&a(1,I,P,0)!==b.check?-3:q(T,I,P,P)?(b.mode=31,-4):(b.havedict=1,d):f},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),a=[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],s=[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],c=[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],u=[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];r.exports=function(l,h,d,f,p,g,y,R){var m,v,x,O,E,N,M,_,B,q=R.bits,T=0,I=0,b=0,P=0,U=0,X=0,V=0,k=0,re=0,Z=0,C=null,ne=0,oe=new o.Buf16(16),ue=new o.Buf16(16),ce=null,W=0;for(T=0;T<=15;T++)oe[T]=0;for(I=0;I<f;I++)oe[h[d+I]]++;for(U=q,P=15;1<=P&&oe[P]===0;P--);if(P<U&&(U=P),P===0)return p[g++]=20971520,p[g++]=20971520,R.bits=1,0;for(b=1;b<P&&oe[b]===0;b++);for(U<b&&(U=b),T=k=1;T<=15;T++)if(k<<=1,(k-=oe[T])<0)return-1;if(0<k&&(l===0||P!==1))return-1;for(ue[1]=0,T=1;T<15;T++)ue[T+1]=ue[T]+oe[T];for(I=0;I<f;I++)h[d+I]!==0&&(y[ue[h[d+I]]++]=I);if(N=l===0?(C=ce=y,19):l===1?(C=a,ne-=257,ce=s,W-=257,256):(C=c,ce=u,-1),T=b,E=g,V=I=Z=0,x=-1,O=(re=1<<(X=U))-1,l===1&&852<re||l===2&&592<re)return 1;for(;;){for(M=T-V,B=y[I]<N?(_=0,y[I]):y[I]>N?(_=ce[W+y[I]],C[ne+y[I]]):(_=96,0),m=1<<T-V,b=v=1<<X;p[E+(Z>>V)+(v-=m)]=M<<24|_<<16|B|0,v!==0;);for(m=1<<T-1;Z&m;)m>>=1;if(m!==0?(Z&=m-1,Z+=m):Z=0,I++,--oe[T]==0){if(T===P)break;T=h[d+y[I]]}if(U<T&&(Z&O)!==x){for(V===0&&(V=U),E+=b,k=1<<(X=T-V);X+V<P&&!((k-=oe[X+V])<=0);)X++,k<<=1;if(re+=1<<X,l===1&&852<re||l===2&&592<re)return 1;p[x=Z&O]=U<<24|X<<16|E-g|0}}return Z!==0&&(p[E+Z]=T-V<<24|64<<16|0),R.bits=U,0}},{"../utils/common":41}],51:[function(n,r,i){r.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(n,r,i){var o=n("../utils/common"),a=0,s=1;function c(S){for(var F=S.length;0<=--F;)S[F]=0}var u=0,l=29,h=256,d=h+1+l,f=30,p=19,g=2*d+1,y=15,R=16,m=7,v=256,x=16,O=17,E=18,N=[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],M=[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],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],q=new Array(2*(d+2));c(q);var T=new Array(2*f);c(T);var I=new Array(512);c(I);var b=new Array(256);c(b);var P=new Array(l);c(P);var U,X,V,k=new Array(f);function re(S,F,G,ee,K){this.static_tree=S,this.extra_bits=F,this.extra_base=G,this.elems=ee,this.max_length=K,this.has_stree=S&&S.length}function Z(S,F){this.dyn_tree=S,this.max_code=0,this.stat_desc=F}function C(S){return S<256?I[S]:I[256+(S>>>7)]}function ne(S,F){S.pending_buf[S.pending++]=255&F,S.pending_buf[S.pending++]=F>>>8&255}function oe(S,F,G){S.bi_valid>R-G?(S.bi_buf|=F<<S.bi_valid&65535,ne(S,S.bi_buf),S.bi_buf=F>>R-S.bi_valid,S.bi_valid+=G-R):(S.bi_buf|=F<<S.bi_valid&65535,S.bi_valid+=G)}function ue(S,F,G){oe(S,G[2*F],G[2*F+1])}function ce(S,F){for(var G=0;G|=1&S,S>>>=1,G<<=1,0<--F;);return G>>>1}function W(S,F,G){var ee,K,J=new Array(y+1),te=0;for(ee=1;ee<=y;ee++)J[ee]=te=te+G[ee-1]<<1;for(K=0;K<=F;K++){var ae=S[2*K+1];ae!==0&&(S[2*K]=ce(J[ae]++,ae))}}function A(S){var F;for(F=0;F<d;F++)S.dyn_ltree[2*F]=0;for(F=0;F<f;F++)S.dyn_dtree[2*F]=0;for(F=0;F<p;F++)S.bl_tree[2*F]=0;S.dyn_ltree[2*v]=1,S.opt_len=S.static_len=0,S.last_lit=S.matches=0}function Q(S){8<S.bi_valid?ne(S,S.bi_buf):0<S.bi_valid&&(S.pending_buf[S.pending++]=S.bi_buf),S.bi_buf=0,S.bi_valid=0}function z(S,F,G,ee){var K=2*F,J=2*G;return S[K]<S[J]||S[K]===S[J]&&ee[F]<=ee[G]}function H(S,F,G){for(var ee=S.heap[G],K=G<<1;K<=S.heap_len&&(K<S.heap_len&&z(F,S.heap[K+1],S.heap[K],S.depth)&&K++,!z(F,ee,S.heap[K],S.depth));)S.heap[G]=S.heap[K],G=K,K<<=1;S.heap[G]=ee}function j(S,F,G){var ee,K,J,te,ae=0;if(S.last_lit!==0)for(;ee=S.pending_buf[S.d_buf+2*ae]<<8|S.pending_buf[S.d_buf+2*ae+1],K=S.pending_buf[S.l_buf+ae],ae++,ee===0?ue(S,K,F):(ue(S,(J=b[K])+h+1,F),(te=N[J])!==0&&oe(S,K-=P[J],te),ue(S,J=C(--ee),G),(te=M[J])!==0&&oe(S,ee-=k[J],te)),ae<S.last_lit;);ue(S,v,F)}function ge(S,F){var G,ee,K,J=F.dyn_tree,te=F.stat_desc.static_tree,ae=F.stat_desc.has_stree,he=F.stat_desc.elems,xe=-1;for(S.heap_len=0,S.heap_max=g,G=0;G<he;G++)J[2*G]!==0?(S.heap[++S.heap_len]=xe=G,S.depth[G]=0):J[2*G+1]=0;for(;S.heap_len<2;)J[2*(K=S.heap[++S.heap_len]=xe<2?++xe:0)]=1,S.depth[K]=0,S.opt_len--,ae&&(S.static_len-=te[2*K+1]);for(F.max_code=xe,G=S.heap_len>>1;1<=G;G--)H(S,J,G);for(K=he;G=S.heap[1],S.heap[1]=S.heap[S.heap_len--],H(S,J,1),ee=S.heap[1],S.heap[--S.heap_max]=G,S.heap[--S.heap_max]=ee,J[2*K]=J[2*G]+J[2*ee],S.depth[K]=(S.depth[G]>=S.depth[ee]?S.depth[G]:S.depth[ee])+1,J[2*G+1]=J[2*ee+1]=K,S.heap[1]=K++,H(S,J,1),2<=S.heap_len;);S.heap[--S.heap_max]=S.heap[1],function(_e,Me){var Xe,He,ze,Ze,ut,Vt,Dt=Me.dyn_tree,Zn=Me.max_code,ei=Me.stat_desc.static_tree,kn=Me.stat_desc.has_stree,ti=Me.stat_desc.extra_bits,ni=Me.stat_desc.extra_base,mn=Me.stat_desc.max_length,Dn=0;for(Ze=0;Ze<=y;Ze++)_e.bl_count[Ze]=0;for(Dt[2*_e.heap[_e.heap_max]+1]=0,Xe=_e.heap_max+1;Xe<g;Xe++)mn<(Ze=Dt[2*Dt[2*(He=_e.heap[Xe])+1]+1]+1)&&(Ze=mn,Dn++),Dt[2*He+1]=Ze,Zn<He||(_e.bl_count[Ze]++,ut=0,ni<=He&&(ut=ti[He-ni]),Vt=Dt[2*He],_e.opt_len+=Vt*(Ze+ut),kn&&(_e.static_len+=Vt*(ei[2*He+1]+ut)));if(Dn!==0){do{for(Ze=mn-1;_e.bl_count[Ze]===0;)Ze--;_e.bl_count[Ze]--,_e.bl_count[Ze+1]+=2,_e.bl_count[mn]--,Dn-=2}while(0<Dn);for(Ze=mn;Ze!==0;Ze--)for(He=_e.bl_count[Ze];He!==0;)Zn<(ze=_e.heap[--Xe])||(Dt[2*ze+1]!==Ze&&(_e.opt_len+=(Ze-Dt[2*ze+1])*Dt[2*ze],Dt[2*ze+1]=Ze),He--)}}(S,F),W(J,xe,S.bl_count)}function D(S,F,G){var ee,K,J=-1,te=F[1],ae=0,he=7,xe=4;for(te===0&&(he=138,xe=3),F[2*(G+1)+1]=65535,ee=0;ee<=G;ee++)K=te,te=F[2*(ee+1)+1],++ae<he&&K===te||(ae<xe?S.bl_tree[2*K]+=ae:K!==0?(K!==J&&S.bl_tree[2*K]++,S.bl_tree[2*x]++):ae<=10?S.bl_tree[2*O]++:S.bl_tree[2*E]++,J=K,xe=(ae=0)===te?(he=138,3):K===te?(he=6,3):(he=7,4))}function ie(S,F,G){var ee,K,J=-1,te=F[1],ae=0,he=7,xe=4;for(te===0&&(he=138,xe=3),ee=0;ee<=G;ee++)if(K=te,te=F[2*(ee+1)+1],!(++ae<he&&K===te)){if(ae<xe)for(;ue(S,K,S.bl_tree),--ae!=0;);else K!==0?(K!==J&&(ue(S,K,S.bl_tree),ae--),ue(S,x,S.bl_tree),oe(S,ae-3,2)):ae<=10?(ue(S,O,S.bl_tree),oe(S,ae-3,3)):(ue(S,E,S.bl_tree),oe(S,ae-11,7));J=K,xe=(ae=0)===te?(he=138,3):K===te?(he=6,3):(he=7,4)}}c(k);var L=!1;function w(S,F,G,ee){oe(S,(u<<1)+(ee?1:0),3),function(K,J,te,ae){Q(K),ae&&(ne(K,te),ne(K,~te)),o.arraySet(K.pending_buf,K.window,J,te,K.pending),K.pending+=te}(S,F,G,!0)}i._tr_init=function(S){L||(function(){var F,G,ee,K,J,te=new Array(y+1);for(K=ee=0;K<l-1;K++)for(P[K]=ee,F=0;F<1<<N[K];F++)b[ee++]=K;for(b[ee-1]=K,K=J=0;K<16;K++)for(k[K]=J,F=0;F<1<<M[K];F++)I[J++]=K;for(J>>=7;K<f;K++)for(k[K]=J<<7,F=0;F<1<<M[K]-7;F++)I[256+J++]=K;for(G=0;G<=y;G++)te[G]=0;for(F=0;F<=143;)q[2*F+1]=8,F++,te[8]++;for(;F<=255;)q[2*F+1]=9,F++,te[9]++;for(;F<=279;)q[2*F+1]=7,F++,te[7]++;for(;F<=287;)q[2*F+1]=8,F++,te[8]++;for(W(q,d+1,te),F=0;F<f;F++)T[2*F+1]=5,T[2*F]=ce(F,5);U=new re(q,N,h+1,d,y),X=new re(T,M,0,f,y),V=new re(new Array(0),_,0,p,m)}(),L=!0),S.l_desc=new Z(S.dyn_ltree,U),S.d_desc=new Z(S.dyn_dtree,X),S.bl_desc=new Z(S.bl_tree,V),S.bi_buf=0,S.bi_valid=0,A(S)},i._tr_stored_block=w,i._tr_flush_block=function(S,F,G,ee){var K,J,te=0;0<S.level?(S.strm.data_type===2&&(S.strm.data_type=function(ae){var he,xe=4093624447;for(he=0;he<=31;he++,xe>>>=1)if(1&xe&&ae.dyn_ltree[2*he]!==0)return a;if(ae.dyn_ltree[18]!==0||ae.dyn_ltree[20]!==0||ae.dyn_ltree[26]!==0)return s;for(he=32;he<h;he++)if(ae.dyn_ltree[2*he]!==0)return s;return a}(S)),ge(S,S.l_desc),ge(S,S.d_desc),te=function(ae){var he;for(D(ae,ae.dyn_ltree,ae.l_desc.max_code),D(ae,ae.dyn_dtree,ae.d_desc.max_code),ge(ae,ae.bl_desc),he=p-1;3<=he&&ae.bl_tree[2*B[he]+1]===0;he--);return ae.opt_len+=3*(he+1)+5+5+4,he}(S),K=S.opt_len+3+7>>>3,(J=S.static_len+3+7>>>3)<=K&&(K=J)):K=J=G+5,G+4<=K&&F!==-1?w(S,F,G,ee):S.strategy===4||J===K?(oe(S,2+(ee?1:0),3),j(S,q,T)):(oe(S,4+(ee?1:0),3),function(ae,he,xe,_e){var Me;for(oe(ae,he-257,5),oe(ae,xe-1,5),oe(ae,_e-4,4),Me=0;Me<_e;Me++)oe(ae,ae.bl_tree[2*B[Me]+1],3);ie(ae,ae.dyn_ltree,he-1),ie(ae,ae.dyn_dtree,xe-1)}(S,S.l_desc.max_code+1,S.d_desc.max_code+1,te+1),j(S,S.dyn_ltree,S.dyn_dtree)),A(S),ee&&Q(S)},i._tr_tally=function(S,F,G){return S.pending_buf[S.d_buf+2*S.last_lit]=F>>>8&255,S.pending_buf[S.d_buf+2*S.last_lit+1]=255&F,S.pending_buf[S.l_buf+S.last_lit]=255&G,S.last_lit++,F===0?S.dyn_ltree[2*G]++:(S.matches++,F--,S.dyn_ltree[2*(b[G]+h+1)]++,S.dyn_dtree[2*C(F)]++),S.last_lit===S.lit_bufsize-1},i._tr_align=function(S){oe(S,2,3),ue(S,v,q),function(F){F.bi_valid===16?(ne(F,F.bi_buf),F.bi_buf=0,F.bi_valid=0):8<=F.bi_valid&&(F.pending_buf[F.pending++]=255&F.bi_buf,F.bi_buf>>=8,F.bi_valid-=8)}(S)}},{"../utils/common":41}],53:[function(n,r,i){r.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(n,r,i){(function(o){(function(a,s){if(!a.setImmediate){var c,u,l,h,d=1,f={},p=!1,g=a.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(a);y=y&&y.setTimeout?y:a,c={}.toString.call(a.process)==="[object process]"?function(x){process.nextTick(function(){m(x)})}:function(){if(a.postMessage&&!a.importScripts){var x=!0,O=a.onmessage;return a.onmessage=function(){x=!1},a.postMessage("","*"),a.onmessage=O,x}}()?(h="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",v,!1):a.attachEvent("onmessage",v),function(x){a.postMessage(h+x,"*")}):a.MessageChannel?((l=new MessageChannel).port1.onmessage=function(x){m(x.data)},function(x){l.port2.postMessage(x)}):g&&"onreadystatechange"in g.createElement("script")?(u=g.documentElement,function(x){var O=g.createElement("script");O.onreadystatechange=function(){m(x),O.onreadystatechange=null,u.removeChild(O),O=null},u.appendChild(O)}):function(x){setTimeout(m,0,x)},y.setImmediate=function(x){typeof x!="function"&&(x=new Function(""+x));for(var O=new Array(arguments.length-1),E=0;E<O.length;E++)O[E]=arguments[E+1];var N={callback:x,args:O};return f[d]=N,c(d),d++},y.clearImmediate=R}function R(x){delete f[x]}function m(x){if(p)setTimeout(m,0,x);else{var O=f[x];if(O){p=!0;try{(function(E){var N=E.callback,M=E.args;switch(M.length){case 0:N();break;case 1:N(M[0]);break;case 2:N(M[0],M[1]);break;case 3:N(M[0],M[1],M[2]);break;default:N.apply(s,M)}})(O)}finally{R(x),p=!1}}}}function v(x){x.source===a&&typeof x.data=="string"&&x.data.indexOf(h)===0&&m(+x.data.slice(h.length))}})(typeof self=="undefined"?o===void 0?this:o:self)}).call(this,typeof qe!="undefined"?qe:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})})(ny);var kP=Yu,QP=ny.exports;Ws.openArrayBuffer=KP;Ws.splitPath=HP;Ws.joinPath=GP;function KP(t){return QP.loadAsync(t).then(function(e){function n(a){return e.file(a)!==null}function r(a,s){return e.file(a).async("uint8array").then(function(c){if(s==="base64")return kP.fromByteArray(c);if(s){var u=new TextDecoder(s);return u.decode(c)}else return c})}function i(a,s){e.file(a,s)}function o(){return e.generateAsync({type:"arraybuffer"})}return{exists:n,read:r,write:i,toArrayBuffer:o}})}function HP(t){var e=t.lastIndexOf("/");return e===-1?{dirname:"",basename:t}:{dirname:t.substring(0,e),basename:t.substring(e+1)}}function GP(){var t=Array.prototype.filter.call(arguments,function(n){return n}),e=[];return t.forEach(function(n){/^\//.test(n)?e=[n]:e.push(n)}),e.join("/")}var Nf={},bo={},Xs={},Bu=Kt.exports;Xs.Element=_a;Xs.element=function(t,e,n){return new _a(t,e,n)};Xs.text=function(t){return{type:"text",value:t}};var ry={first:function(){return null},firstOrEmpty:function(){return ry},attributes:{}};function _a(t,e,n){this.type="element",this.name=t,this.attributes=e||{},this.children=n||[]}_a.prototype.first=function(t){return Bu.find(this.children,function(e){return e.name===t})};_a.prototype.firstOrEmpty=function(t){return this.first(t)||ry};_a.prototype.getElementsByTagName=function(t){var e=Bu.filter(this.children,function(n){return n.name===t});return iy(e)};_a.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var JP={getElementsByTagName:function(t){return iy(Bu.flatten(this.map(function(e){return e.getElementsByTagName(t)},!0)))}};function iy(t){return Bu.extend(t,JP)}var oy={},Ff={},Zu={},qr={},vi={};function zP(t,e,n){if(n===void 0&&(n=Array.prototype),t&&typeof n.find=="function")return n.find.call(t,e);for(var r=0;r<t.length;r++)if(Object.prototype.hasOwnProperty.call(t,r)){var i=t[r];if(e.call(void 0,i,r,t))return i}}function Pf(t,e){return e===void 0&&(e=Object),e&&typeof e.freeze=="function"?e.freeze(t):t}function $P(t,e){if(t===null||typeof t!="object")throw new TypeError("target is not an object");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}var ay=Pf({HTML:"text/html",isHTML:function(t){return t===ay.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),sy=Pf({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===sy.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});vi.assign=$P;vi.find=zP;vi.freeze=Pf;vi.MIME_TYPE=ay;vi.NAMESPACE=sy;var cy=vi,Hr=cy.find,Ds=cy.NAMESPACE;function jP(t){return t!==""}function qP(t){return t?t.split(/[\t\n\f\r ]+/).filter(jP):[]}function eM(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function r0(t){if(!t)return[];var e=qP(t);return Object.keys(e.reduce(eM,{}))}function tM(t){return function(e){return t&&t.indexOf(e)!==-1}}function Vs(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function jn(t,e){var n=t.prototype;if(!(n instanceof e)){let i=function(){};var r=i;i.prototype=e.prototype,i=new i,Vs(n,i),t.prototype=n=i}n.constructor!=t&&(typeof t!="function"&&console.error("unknown Class:"+t),n.constructor=t)}var qn={},Ir=qn.ELEMENT_NODE=1,Ra=qn.ATTRIBUTE_NODE=2,yu=qn.TEXT_NODE=3,uy=qn.CDATA_SECTION_NODE=4,ly=qn.ENTITY_REFERENCE_NODE=5,nM=qn.ENTITY_NODE=6,hy=qn.PROCESSING_INSTRUCTION_NODE=7,dy=qn.COMMENT_NODE=8,fy=qn.DOCUMENT_NODE=9,py=qn.DOCUMENT_TYPE_NODE=10,fi=qn.DOCUMENT_FRAGMENT_NODE=11,rM=qn.NOTATION_NODE=12,Mn={},pn={};Mn.INDEX_SIZE_ERR=(pn[1]="Index size error",1);Mn.DOMSTRING_SIZE_ERR=(pn[2]="DOMString size error",2);var Hn=Mn.HIERARCHY_REQUEST_ERR=(pn[3]="Hierarchy request error",3);Mn.WRONG_DOCUMENT_ERR=(pn[4]="Wrong document",4);Mn.INVALID_CHARACTER_ERR=(pn[5]="Invalid character",5);Mn.NO_DATA_ALLOWED_ERR=(pn[6]="No data allowed",6);Mn.NO_MODIFICATION_ALLOWED_ERR=(pn[7]="No modification allowed",7);var gy=Mn.NOT_FOUND_ERR=(pn[8]="Not found",8);Mn.NOT_SUPPORTED_ERR=(pn[9]="Not supported",9);var i0=Mn.INUSE_ATTRIBUTE_ERR=(pn[10]="Attribute in use",10);Mn.INVALID_STATE_ERR=(pn[11]="Invalid state",11);Mn.SYNTAX_ERR=(pn[12]="Syntax error",12);Mn.INVALID_MODIFICATION_ERR=(pn[13]="Invalid modification",13);Mn.NAMESPACE_ERR=(pn[14]="Invalid namespace",14);Mn.INVALID_ACCESS_ERR=(pn[15]="Invalid access",15);function zt(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,pn[t]),this.message=pn[t],Error.captureStackTrace&&Error.captureStackTrace(this,zt);return n.code=t,e&&(this.message=this.message+": "+e),n}zt.prototype=Error.prototype;Vs(Mn,zt);function hi(){}hi.prototype={length:0,item:function(t){return t>=0&&t<this.length?this[t]:null},toString:function(t,e){for(var n=[],r=0;r<this.length;r++)Go(this[r],n,t,e);return n.join("")},filter:function(t){return Array.prototype.filter.call(this,t)},indexOf:function(t){return Array.prototype.indexOf.call(this,t)}};function ya(t,e){this._node=t,this._refresh=e,Mf(this)}function Mf(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var n=t._refresh(t._node);if(_y(t,"length",n.length),!t.$$length||n.length<t.$$length)for(var r=n.length;r in t;r++)Object.prototype.hasOwnProperty.call(t,r)&&delete t[r];Vs(n,t),t._inc=e}}ya.prototype.item=function(t){return Mf(this),this[t]||null};jn(ya,hi);function vu(){}function my(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function o0(t,e,n,r){if(r?e[my(e,r)]=n:e[e.length++]=n,t){n.ownerElement=t;var i=t.ownerDocument;i&&(r&&vy(i,t,r),iM(i,t,n))}}function a0(t,e,n){var r=my(e,n);if(r>=0){for(var i=e.length-1;r<i;)e[r]=e[++r];if(e.length=i,t){var o=t.ownerDocument;o&&(vy(o,t,n),n.ownerElement=null)}}else throw new zt(gy,new Error(t.tagName+"@"+n))}vu.prototype={length:0,item:hi.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var n=this[e];if(n.nodeName==t)return n}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new zt(i0);var n=this.getNamedItem(t.nodeName);return o0(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e=t.ownerElement,n;if(e&&e!=this._ownerElement)throw new zt(i0);return n=this.getNamedItemNS(t.namespaceURI,t.localName),o0(this._ownerElement,this,t,n),n},removeNamedItem:function(t){var e=this.getNamedItem(t);return a0(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return a0(this._ownerElement,this,n),n},getNamedItemNS:function(t,e){for(var n=this.length;n--;){var r=this[n];if(r.localName==e&&r.namespaceURI==t)return r}return null}};function Ry(){}Ry.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,n){var r=new Ys;if(r.implementation=this,r.childNodes=new hi,r.doctype=n||null,n&&r.appendChild(n),e){var i=r.createElementNS(t,e);r.appendChild(i)}return r},createDocumentType:function(t,e,n){var r=new ku;return r.name=t,r.nodeName=t,r.publicId=e||"",r.systemId=n||"",r}};function St(){}St.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return bu(this,t,e)},replaceChild:function(t,e){bu(this,t,e,xy),e&&this.removeChild(e)},removeChild:function(t){return by(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(t){return Nd(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==yu&&t.nodeType==yu?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var n=e._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===t)return r}e=e.nodeType==Ra?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var n=e._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,t))return n[t];e=e.nodeType==Ra?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){var e=this.lookupPrefix(t);return e==null}};function yy(t){return t=="<"&&"<"||t==">"&&">"||t=="&"&&"&"||t=='"'&&"""||"&#"+t.charCodeAt()+";"}Vs(qn,St);Vs(qn,St.prototype);function Os(t,e){if(e(t))return!0;if(t=t.firstChild)do if(Os(t,e))return!0;while(t=t.nextSibling)}function Ys(){this.ownerDocument=this}function iM(t,e,n){t&&t._inc++;var r=n.namespaceURI;r===Ds.XMLNS&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function vy(t,e,n,r){t&&t._inc++;var i=n.namespaceURI;i===Ds.XMLNS&&delete e._nsMap[n.prefix?n.localName:""]}function Lf(t,e,n){if(t&&t._inc){t._inc++;var r=e.childNodes;if(n)r[r.length++]=n;else{for(var i=e.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function by(t,e){var n=e.previousSibling,r=e.nextSibling;return n?n.nextSibling=r:t.firstChild=r,r?r.previousSibling=n:t.lastChild=n,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,Lf(t.ownerDocument,t),e}function oM(t){return t&&(t.nodeType===St.DOCUMENT_NODE||t.nodeType===St.DOCUMENT_FRAGMENT_NODE||t.nodeType===St.ELEMENT_NODE)}function aM(t){return t&&(Gr(t)||Cf(t)||pi(t)||t.nodeType===St.DOCUMENT_FRAGMENT_NODE||t.nodeType===St.COMMENT_NODE||t.nodeType===St.PROCESSING_INSTRUCTION_NODE)}function pi(t){return t&&t.nodeType===St.DOCUMENT_TYPE_NODE}function Gr(t){return t&&t.nodeType===St.ELEMENT_NODE}function Cf(t){return t&&t.nodeType===St.TEXT_NODE}function s0(t,e){var n=t.childNodes||[];if(Hr(n,Gr)||pi(e))return!1;var r=Hr(n,pi);return!(e&&r&&n.indexOf(r)>n.indexOf(e))}function c0(t,e){var n=t.childNodes||[];function r(o){return Gr(o)&&o!==e}if(Hr(n,r))return!1;var i=Hr(n,pi);return!(e&&i&&n.indexOf(i)>n.indexOf(e))}function sM(t,e,n){if(!oM(t))throw new zt(Hn,"Unexpected parent node type "+t.nodeType);if(n&&n.parentNode!==t)throw new zt(gy,"child not in parent");if(!aM(e)||pi(e)&&t.nodeType!==St.DOCUMENT_NODE)throw new zt(Hn,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function cM(t,e,n){var r=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===St.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Gr);if(o.length>1||Hr(i,Cf))throw new zt(Hn,"More than one element or text in fragment");if(o.length===1&&!s0(t,n))throw new zt(Hn,"Element in fragment can not be inserted before doctype")}if(Gr(e)&&!s0(t,n))throw new zt(Hn,"Only one element can be added and only after doctype");if(pi(e)){if(Hr(r,pi))throw new zt(Hn,"Only one doctype is allowed");var a=Hr(r,Gr);if(n&&r.indexOf(a)<r.indexOf(n))throw new zt(Hn,"Doctype can only be inserted before an element");if(!n&&a)throw new zt(Hn,"Doctype can not be appended since element is present")}}function xy(t,e,n){var r=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===St.DOCUMENT_FRAGMENT_NODE){var o=i.filter(Gr);if(o.length>1||Hr(i,Cf))throw new zt(Hn,"More than one element or text in fragment");if(o.length===1&&!c0(t,n))throw new zt(Hn,"Element in fragment can not be inserted before doctype")}if(Gr(e)&&!c0(t,n))throw new zt(Hn,"Only one element can be added and only after doctype");if(pi(e)){let c=function(u){return pi(u)&&u!==n};var s=c;if(Hr(r,c))throw new zt(Hn,"Only one doctype is allowed");var a=Hr(r,Gr);if(n&&r.indexOf(a)<r.indexOf(n))throw new zt(Hn,"Doctype can only be inserted before an element")}}function bu(t,e,n,r){sM(t,e,n),t.nodeType===St.DOCUMENT_NODE&&(r||cM)(t,e,n);var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===fi){var o=e.firstChild;if(o==null)return e;var a=e.lastChild}else o=a=e;var s=n?n.previousSibling:t.lastChild;o.previousSibling=s,a.nextSibling=n,s?s.nextSibling=o:t.firstChild=o,n==null?t.lastChild=a:n.previousSibling=a;do o.parentNode=t;while(o!==a&&(o=o.nextSibling));return Lf(t.ownerDocument||t,t),e.nodeType==fi&&(e.firstChild=e.lastChild=null),e}function uM(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,Lf(t.ownerDocument,t,e),e}Ys.prototype={nodeName:"#document",nodeType:fy,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==fi){for(var n=t.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,e),n=r}return t}return bu(this,t,e),t.ownerDocument=this,this.documentElement===null&&t.nodeType===Ir&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),by(this,t)},replaceChild:function(t,e){bu(this,t,e,xy),t.ownerDocument=this,e&&this.removeChild(e),Gr(t)&&(this.documentElement=t)},importNode:function(t,e){return Oy(this,t,e)},getElementById:function(t){var e=null;return Os(this.documentElement,function(n){if(n.nodeType==Ir&&n.getAttribute("id")==t)return e=n,!0}),e},getElementsByClassName:function(t){var e=r0(t);return new ya(this,function(n){var r=[];return e.length>0&&Os(n.documentElement,function(i){if(i!==n&&i.nodeType===Ir){var o=i.getAttribute("class");if(o){var a=t===o;if(!a){var s=r0(o);a=e.every(tM(s))}a&&r.push(i)}}}),r})},createElement:function(t){var e=new go;e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new hi;var n=e.attributes=new vu;return n._ownerElement=e,e},createDocumentFragment:function(){var t=new Qu;return t.ownerDocument=this,t.childNodes=new hi,t},createTextNode:function(t){var e=new Af;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new Uf;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new Wf;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new Vf;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new xu;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new Xf;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new go,r=e.split(":"),i=n.attributes=new vu;return n.childNodes=new hi,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=e,i._ownerElement=n,n},createAttributeNS:function(t,e){var n=new xu,r=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=e,n}};jn(Ys,St);function go(){this._nsMap={}}go.prototype={nodeType:Ir,hasAttribute:function(t){return this.getAttributeNode(t)!=null},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===fi?this.insertBefore(t,null):uM(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return this.getAttributeNodeNS(t,e)!=null},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var r=this.ownerDocument.createAttributeNS(t,e);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new ya(this,function(e){var n=[];return Os(e,function(r){r!==e&&r.nodeType==Ir&&(t==="*"||r.tagName==t)&&n.push(r)}),n})},getElementsByTagNameNS:function(t,e){return new ya(this,function(n){var r=[];return Os(n,function(i){i!==n&&i.nodeType===Ir&&(t==="*"||i.namespaceURI===t)&&(e==="*"||i.localName==e)&&r.push(i)}),r})}};Ys.prototype.getElementsByTagName=go.prototype.getElementsByTagName;Ys.prototype.getElementsByTagNameNS=go.prototype.getElementsByTagNameNS;jn(go,St);function xu(){}xu.prototype.nodeType=Ra;jn(xu,St);function Bs(){}Bs.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(pn[Hn])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){var r=this.data.substring(0,t),i=this.data.substring(t+e);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}};jn(Bs,St);function Af(){}Af.prototype={nodeName:"#text",nodeType:yu,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}};jn(Af,Bs);function Uf(){}Uf.prototype={nodeName:"#comment",nodeType:dy};jn(Uf,Bs);function Wf(){}Wf.prototype={nodeName:"#cdata-section",nodeType:uy};jn(Wf,Bs);function ku(){}ku.prototype.nodeType=py;jn(ku,St);function wy(){}wy.prototype.nodeType=rM;jn(wy,St);function Ty(){}Ty.prototype.nodeType=nM;jn(Ty,St);function Xf(){}Xf.prototype.nodeType=ly;jn(Xf,St);function Qu(){}Qu.prototype.nodeName="#document-fragment";Qu.prototype.nodeType=fi;jn(Qu,St);function Vf(){}Vf.prototype.nodeType=hy;jn(Vf,St);function Sy(){}Sy.prototype.serializeToString=function(t,e,n){return Dy.call(t,e,n)};St.prototype.toString=Dy;function Dy(t,e){var n=[],r=this.nodeType==9&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&i==null){var i=r.lookupPrefix(o);if(i==null)var a=[{namespace:o,prefix:null}]}return Go(this,n,t,e,a),n.join("")}function u0(t,e,n){var r=t.prefix||"",i=t.namespaceURI;if(!i||r==="xml"&&i===Ds.XML||i===Ds.XMLNS)return!1;for(var o=n.length;o--;){var a=n[o];if(a.prefix===r)return a.namespace!==i}return!0}function Ch(t,e,n){t.push(" ",e,'="',n.replace(/[<>&"\t\n\r]/g,yy),'"')}function Go(t,e,n,r,i){if(i||(i=[]),r)if(t=r(t),t){if(typeof t=="string"){e.push(t);return}}else return;switch(t.nodeType){case Ir:var o=t.attributes,a=o.length,R=t.firstChild,s=t.tagName;n=Ds.isHTML(t.namespaceURI)||n;var c=s;if(!n&&!t.prefix&&t.namespaceURI){for(var u,l=0;l<o.length;l++)if(o.item(l).name==="xmlns"){u=o.item(l).value;break}if(!u)for(var h=i.length-1;h>=0;h--){var d=i[h];if(d.prefix===""&&d.namespace===t.namespaceURI){u=d.namespace;break}}if(u!==t.namespaceURI)for(var h=i.length-1;h>=0;h--){var d=i[h];if(d.namespace===t.namespaceURI){d.prefix&&(c=d.prefix+":"+s);break}}}e.push("<",c);for(var f=0;f<a;f++){var p=o.item(f);p.prefix=="xmlns"?i.push({prefix:p.localName,namespace:p.value}):p.nodeName=="xmlns"&&i.push({prefix:"",namespace:p.value})}for(var f=0;f<a;f++){var p=o.item(f);if(u0(p,n,i)){var g=p.prefix||"",y=p.namespaceURI;Ch(e,g?"xmlns:"+g:"xmlns",y),i.push({prefix:g,namespace:y})}Go(p,e,n,r,i)}if(s===c&&u0(t,n,i)){var g=t.prefix||"",y=t.namespaceURI;Ch(e,g?"xmlns:"+g:"xmlns",y),i.push({prefix:g,namespace:y})}if(R||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(s)){if(e.push(">"),n&&/^script$/i.test(s))for(;R;)R.data?e.push(R.data):Go(R,e,n,r,i.slice()),R=R.nextSibling;else for(;R;)Go(R,e,n,r,i.slice()),R=R.nextSibling;e.push("</",c,">")}else e.push("/>");return;case fy:case fi:for(var R=t.firstChild;R;)Go(R,e,n,r,i.slice()),R=R.nextSibling;return;case Ra:return Ch(e,t.name,t.value);case yu:return e.push(t.data.replace(/[<&>]/g,yy));case uy:return e.push("<![CDATA[",t.data,"]]>");case dy:return e.push("<!--",t.data,"-->");case py:var m=t.publicId,v=t.systemId;if(e.push("<!DOCTYPE ",t.name),m)e.push(" PUBLIC ",m),v&&v!="."&&e.push(" ",v),e.push(">");else if(v&&v!=".")e.push(" SYSTEM ",v,">");else{var x=t.internalSubset;x&&e.push(" [",x,"]"),e.push(">")}return;case hy:return e.push("<?",t.target," ",t.data,"?>");case ly:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function Oy(t,e,n){var r;switch(e.nodeType){case Ir:r=e.cloneNode(!1),r.ownerDocument=t;case fi:break;case Ra:n=!0;break}if(r||(r=e.cloneNode(!1)),r.ownerDocument=t,r.parentNode=null,n)for(var i=e.firstChild;i;)r.appendChild(Oy(t,i,n)),i=i.nextSibling;return r}function Nd(t,e,n){var r=new e.constructor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i];typeof o!="object"&&o!=r[i]&&(r[i]=o)}switch(e.childNodes&&(r.childNodes=new hi),r.ownerDocument=t,r.nodeType){case Ir:var a=e.attributes,s=r.attributes=new vu,c=a.length;s._ownerElement=r;for(var u=0;u<c;u++)r.setAttributeNode(Nd(t,a.item(u),!0));break;case Ra:n=!0}if(n)for(var l=e.firstChild;l;)r.appendChild(Nd(t,l,n)),l=l.nextSibling;return r}function _y(t,e,n){t[e]=n}try{if(Object.defineProperty){let t=function(e){switch(e.nodeType){case Ir:case fi:var n=[];for(e=e.firstChild;e;)e.nodeType!==7&&e.nodeType!==8&&n.push(t(e)),e=e.nextSibling;return n.join("");default:return e.nodeValue}};var getTextContent=t;Object.defineProperty(ya.prototype,"length",{get:function(){return Mf(this),this.$$length}}),Object.defineProperty(St.prototype,"textContent",{get:function(){return t(this)},set:function(e){switch(this.nodeType){case Ir:case fi:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),_y=function(e,n,r){e["$$"+n]=r}}}catch{}qr.DocumentType=ku;qr.DOMException=zt;qr.DOMImplementation=Ry;qr.Element=go;qr.Node=St;qr.NodeList=hi;qr.XMLSerializer=Sy;var Ku={},Ey={};(function(t){var e=vi.freeze;t.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=e({Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",Gt:"\u226B",GT:">",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",Lt:"\u226A",LT:"<",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}),t.entityMap=t.HTML_ENTITIES})(Ey);var Yf={},_s=vi.NAMESPACE,Fd=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,l0=new RegExp("[\\-\\.0-9"+Fd.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),h0=new RegExp("^"+Fd.source+l0.source+"*(?::"+Fd.source+l0.source+"*)?$"),za=0,Di=1,Co=2,$a=3,Ao=4,Uo=5,ja=6,Cc=7;function va(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,va)}va.prototype=new Error;va.prototype.name=va.name;function Iy(){}Iy.prototype={parse:function(t,e,n){var r=this.domBuilder;r.startDocument(),Ny(e,e={}),lM(t,e,n,r,this.errorHandler),r.endDocument()}};function lM(t,e,n,r,i){function o(U){if(U>65535){U-=65536;var X=55296+(U>>10),V=56320+(U&1023);return String.fromCharCode(X,V)}else return String.fromCharCode(U)}function a(U){var X=U.slice(1,-1);return Object.hasOwnProperty.call(n,X)?n[X]:X.charAt(0)==="#"?o(parseInt(X.substr(1).replace("x","0x"))):(i.error("entity not found:"+U),U)}function s(U){if(U>g){var X=t.substring(g,U).replace(/&#?\w+;/g,a);d&&c(g),r.characters(X,0,U-g),g=U}}function c(U,X){for(;U>=l&&(X=h.exec(t));)u=X.index,l=u+X[0].length,d.lineNumber++;d.columnNumber=U-u+1}for(var u=0,l=0,h=/.*(?:\r\n?|\n)|.*$/g,d=r.locator,f=[{currentNSMap:e}],p={},g=0;;){try{var y=t.indexOf("<",g);if(y<0){if(!t.substr(g).match(/^\s*$/)){var R=r.doc,m=R.createTextNode(t.substr(g));R.appendChild(m),r.currentElement=m}return}switch(y>g&&s(y),t.charAt(y+1)){case"/":var q=t.indexOf(">",y+3),v=t.substring(y+2,q).replace(/[ \t\n\r]+$/g,""),x=f.pop();q<0?(v=t.substring(y+2).replace(/[\s<].*/,""),i.error("end tag name: "+v+" is not complete:"+x.tagName),q=y+1+v.length):v.match(/\s</)&&(v=v.replace(/[\s<].*/,""),i.error("end tag name: "+v+" maybe not complete"),q=y+1+v.length);var O=x.localNSMap,E=x.tagName==v,N=E||x.tagName&&x.tagName.toLowerCase()==v.toLowerCase();if(N){if(r.endElement(x.uri,x.localName,v),O)for(var M in O)Object.prototype.hasOwnProperty.call(O,M)&&r.endPrefixMapping(M);E||i.fatalError("end tag name: "+v+" is not match the current start tagName:"+x.tagName)}else f.push(x);q++;break;case"?":d&&c(y),q=gM(t,y,r);break;case"!":d&&c(y),q=pM(t,y,r,i);break;default:d&&c(y);var _=new Fy,B=f[f.length-1].currentNSMap,q=hM(t,y,_,B,a,i),T=_.length;if(!_.closed&&fM(t,q,_.tagName,p)&&(_.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),d&&T){for(var I=d0(d,{}),b=0;b<T;b++){var P=_[b];c(P.offset),P.locator=d0(d,{})}r.locator=I,f0(_,r,B)&&f.push(_),r.locator=d}else f0(_,r,B)&&f.push(_);_s.isHTML(_.uri)&&!_.closed?q=dM(t,q,_.tagName,a,r):q++}}catch(U){if(U instanceof va)throw U;i.error("element parse error: "+U),q=-1}q>g?g=q:s(Math.max(y,g)+1)}}function d0(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function hM(t,e,n,r,i,o){function a(d,f,p){n.attributeNames.hasOwnProperty(d)&&o.fatalError("Attribute "+d+" redefined"),n.addValue(d,f.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),p)}for(var s,c,u=++e,l=za;;){var h=t.charAt(u);switch(h){case"=":if(l===Di)s=t.slice(e,u),l=$a;else if(l===Co)l=$a;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(l===$a||l===Di)if(l===Di&&(o.warning('attribute value must after "="'),s=t.slice(e,u)),e=u+1,u=t.indexOf(h,e),u>0)c=t.slice(e,u),a(s,c,e-1),l=Uo;else throw new Error("attribute value no end '"+h+"' match");else if(l==Ao)c=t.slice(e,u),a(s,c,e),o.warning('attribute "'+s+'" missed start quot('+h+")!!"),e=u+1,l=Uo;else throw new Error('attribute value must after "="');break;case"/":switch(l){case za:n.setTagName(t.slice(e,u));case Uo:case ja:case Cc:l=Cc,n.closed=!0;case Ao:case Di:break;case Co:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),l==za&&n.setTagName(t.slice(e,u)),u;case">":switch(l){case za:n.setTagName(t.slice(e,u));case Uo:case ja:case Cc:break;case Ao:case Di:c=t.slice(e,u),c.slice(-1)==="/"&&(n.closed=!0,c=c.slice(0,-1));case Co:l===Co&&(c=s),l==Ao?(o.warning('attribute "'+c+'" missed quot(")!'),a(s,c,e)):((!_s.isHTML(r[""])||!c.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+c+'" missed value!! "'+c+'" instead!!'),a(c,c,e));break;case $a:throw new Error("attribute value missed!!")}return u;case"\x80":h=" ";default:if(h<=" ")switch(l){case za:n.setTagName(t.slice(e,u)),l=ja;break;case Di:s=t.slice(e,u),l=Co;break;case Ao:var c=t.slice(e,u);o.warning('attribute "'+c+'" missed quot(")!!'),a(s,c,e);case Uo:l=ja;break}else switch(l){case Co:n.tagName,(!_s.isHTML(r[""])||!s.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,e),e=u,l=Di;break;case Uo:o.warning('attribute space is required"'+s+'"!!');case ja:l=Di,e=u;break;case $a:l=Ao,e=u;break;case Cc:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function f0(t,e,n){for(var r=t.tagName,i=null,h=t.length;h--;){var o=t[h],a=o.qName,s=o.value,d=a.indexOf(":");if(d>0)var c=o.prefix=a.slice(0,d),u=a.slice(d+1),l=c==="xmlns"&&u;else u=a,c=null,l=a==="xmlns"&&"";o.localName=u,l!==!1&&(i==null&&(i={},Ny(n,n={})),n[l]=i[l]=s,o.uri=_s.XMLNS,e.startPrefixMapping(l,s))}for(var h=t.length;h--;){o=t[h];var c=o.prefix;c&&(c==="xml"&&(o.uri=_s.XML),c!=="xmlns"&&(o.uri=n[c||""]))}var d=r.indexOf(":");d>0?(c=t.prefix=r.slice(0,d),u=t.localName=r.slice(d+1)):(c=null,u=t.localName=r);var f=t.uri=n[c||""];if(e.startElement(f,u,r,t),t.closed){if(e.endElement(f,u,r),i)for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&e.endPrefixMapping(c)}else return t.currentNSMap=n,t.localNSMap=i,!0}function dM(t,e,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=t.indexOf("</"+n+">",e),a=t.substring(e+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,r),i.characters(a,0,a.length),o)}return e+1}function fM(t,e,n,r){var i=r[n];return i==null&&(i=t.lastIndexOf("</"+n+">"),i<e&&(i=t.lastIndexOf("</"+n)),r[n]=i),i<e}function Ny(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function pM(t,e,n,r){var i=t.charAt(e+2);switch(i){case"-":if(t.charAt(e+3)==="-"){var o=t.indexOf("-->",e+4);return o>e?(n.comment(t,e+4,o-e-4),o+3):(r.error("Unclosed comment"),-1)}else return-1;default:if(t.substr(e+3,6)=="CDATA["){var o=t.indexOf("]]>",e+9);return n.startCDATA(),n.characters(t,e+9,o-e-9),n.endCDATA(),o+3}var a=mM(t,e),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var c=a[1][0],u=!1,l=!1;s>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],l=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var h=a[s-1];return n.startDTD(c,u,l),n.endDTD(),h.index+h[0].length}}return-1}function gM(t,e,n){var r=t.indexOf("?>",e);if(r){var i=t.substring(e,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function Fy(){this.attributeNames={}}Fy.prototype={setTagName:function(t){if(!h0.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,n){if(!h0.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:n}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}};function mM(t,e){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=e,i.exec(t);n=i.exec(t);)if(r.push(n),n[1])return r}Yf.XMLReader=Iy;Yf.ParseError=va;var RM=vi,yM=qr,p0=Ey,Py=Yf,vM=yM.DOMImplementation,g0=RM.NAMESPACE,bM=Py.ParseError,xM=Py.XMLReader;function My(t){return t.replace(/\r[\n\u0085]/g,`
|
|
`).replace(/[\r\u0085\u2028]/g,`
|
|
`)}function Ly(t){this.options=t||{locator:{}}}Ly.prototype.parseFromString=function(t,e){var n=this.options,r=new xM,i=n.domBuilder||new Zs,o=n.errorHandler,a=n.locator,s=n.xmlns||{},c=/\/x?html?$/.test(e),u=c?p0.HTML_ENTITIES:p0.XML_ENTITIES;a&&i.setDocumentLocator(a),r.errorHandler=wM(o,i,a),r.domBuilder=n.domBuilder||i,c&&(s[""]=g0.HTML),s.xml=s.xml||g0.XML;var l=n.normalizeLineEndings||My;return t&&typeof t=="string"?r.parse(l(t),s,u):r.errorHandler.error("invalid doc source"),i.doc};function wM(t,e,n){if(!t){if(e instanceof Zs)return e;t=e}var r={},i=t instanceof Function;n=n||{};function o(a){var s=t[a];!s&&i&&(s=t.length==2?function(c){t(a,c)}:t),r[a]=s&&function(c){s("[xmldom "+a+"] "+c+Pd(n))}||function(){}}return o("warning"),o("error"),o("fatalError"),r}function Zs(){this.cdata=!1}function Wo(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}Zs.prototype={startDocument:function(){this.doc=new vM().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,n,r){var i=this.doc,o=i.createElementNS(t,n||e),a=r.length;Ac(this,o),this.currentElement=o,this.locator&&Wo(this.locator,o);for(var s=0;s<a;s++){var t=r.getURI(s),c=r.getValue(s),n=r.getQName(s),u=i.createAttributeNS(t,n);this.locator&&Wo(r.getLocator(s),u),u.value=u.nodeValue=c,o.setAttributeNode(u)}},endElement:function(t,e,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var n=this.doc.createProcessingInstruction(t,e);this.locator&&Wo(this.locator,n),Ac(this,n)},ignorableWhitespace:function(t,e,n){},characters:function(t,e,n){if(t=m0.apply(this,arguments),t){if(this.cdata)var r=this.doc.createCDATASection(t);else var r=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(t)&&this.doc.appendChild(r),this.locator&&Wo(this.locator,r)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,n){t=m0.apply(this,arguments);var r=this.doc.createComment(t);this.locator&&Wo(this.locator,r),Ac(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(t,e,n);this.locator&&Wo(this.locator,i),Ac(this,i),this.doc.doctype=i}},warning:function(t){console.warn("[xmldom warning] "+t,Pd(this.locator))},error:function(t){console.error("[xmldom error] "+t,Pd(this.locator))},fatalError:function(t){throw new bM(t,this.locator)}};function Pd(t){if(t)return`
|
|
@`+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function m0(t,e,n){return typeof t=="string"?t.substr(e,n):t.length>=e+n||e?new java.lang.String(t,e,n)+"":t}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){Zs.prototype[t]=function(){return null}});function Ac(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}Ku.__DOMHandler=Zs;Ku.normalizeLineEndings=My;Ku.DOMParser=Ly;var Cy=qr;Zu.DOMImplementation=Cy.DOMImplementation;Zu.XMLSerializer=Cy.XMLSerializer;Zu.DOMParser=Ku.DOMParser;var TM=Zu,SM=qr;function DM(t){var e=null,n=new TM.DOMParser({errorHandler:function(i,o){e={level:i,message:o}}}),r=n.parseFromString(t);if(e===null)return r;throw new Error(e.level+": "+e.message)}Ff.parseFromString=DM;Ff.Node=SM.Node;var Ah=gn,R0=Kt.exports,Ay=Ff,Uy=Xs,OM=Uy.Element;oy.readString=_M;var y0=Ay.Node;function _M(t,e){e=e||{};try{var n=Ay.parseFromString(t,"text/xml")}catch(a){return Ah.reject(a)}if(n.documentElement.tagName==="parsererror")return Ah.resolve(new Error(n.documentElement.textContent));function r(a){switch(a.nodeType){case y0.ELEMENT_NODE:return i(a);case y0.TEXT_NODE:return Uy.text(a.nodeValue)}}function i(a){var s=o(a),c=[];R0.forEach(a.childNodes,function(l){var h=r(l);h&&c.push(h)});var u={};return R0.forEach(a.attributes,function(l){u[o(l)]=l.value}),new OM(s,u,c)}function o(a){if(a.namespaceURI){var s=e[a.namespaceURI],c;return s?c=s+":":c="{"+a.namespaceURI+"}",c+a.localName}else return a.localName}return Ah.resolve(r(n.documentElement))}var Wy={},cs={},Yn={};(function(){var t,e,n,r,i,o,a,s=[].slice,c={}.hasOwnProperty;t=function(){var u,l,h,d,f,p;if(p=arguments[0],f=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(u=0,h=f.length;u<h;u++)if(d=f[u],d!=null)for(l in d)!c.call(d,l)||(p[l]=d[l]);return p},i=function(u){return!!u&&Object.prototype.toString.call(u)==="[object Function]"},o=function(u){var l;return!!u&&((l=typeof u)=="function"||l==="object")},n=function(u){return i(Array.isArray)?Array.isArray(u):Object.prototype.toString.call(u)==="[object Array]"},r=function(u){var l;if(n(u))return!u.length;for(l in u)if(!!c.call(u,l))return!1;return!0},a=function(u){var l,h;return o(u)&&(h=Object.getPrototypeOf(u))&&(l=h.constructor)&&typeof l=="function"&&l instanceof l&&Function.prototype.toString.call(l)===Function.prototype.toString.call(Object)},e=function(u){return i(u.valueOf)?u.valueOf():u},Yn.assign=t,Yn.isFunction=i,Yn.isObject=o,Yn.isArray=n,Yn.isEmpty=r,Yn.isPlainObject=a,Yn.getValue=e}).call(qe);var Xy={exports:{}},Bn={exports:{}},ks={exports:{}},Bf={exports:{}};(function(){Bf.exports=function(){function t(e,n,r){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));if(r==null)throw new Error("Missing attribute value. "+this.debugInfo(n));this.name=this.stringify.attName(n),this.value=this.stringify.attValue(r)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},t.prototype.debugInfo=function(e){return e=e||this.name,e==null?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},t}()}).call(qe);(function(){var t,e,n,r,i,o,a=function(c,u){for(var l in u)s.call(u,l)&&(c[l]=u[l]);function h(){this.constructor=c}return h.prototype=u.prototype,c.prototype=new h,c.__super__=u.prototype,c},s={}.hasOwnProperty;o=Yn,i=o.isObject,r=o.isFunction,n=o.getValue,e=Bn.exports,t=Bf.exports,ks.exports=function(c){a(u,c);function u(l,h,d){if(u.__super__.constructor.call(this,l),h==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(h),this.attributes={},d!=null&&this.attribute(d),l.isDocument&&(this.isRoot=!0,this.documentObject=l,l.rootObject=this)}return u.prototype.clone=function(){var l,h,d,f;d=Object.create(this),d.isRoot&&(d.documentObject=null),d.attributes={},f=this.attributes;for(h in f)!s.call(f,h)||(l=f[h],d.attributes[h]=l.clone());return d.children=[],this.children.forEach(function(p){var g;return g=p.clone(),g.parent=d,d.children.push(g)}),d},u.prototype.attribute=function(l,h){var d,f;if(l!=null&&(l=n(l)),i(l))for(d in l)!s.call(l,d)||(f=l[d],this.attribute(d,f));else r(h)&&(h=h.apply()),(!this.options.skipNullAttributes||h!=null)&&(this.attributes[l]=new t(this,l,h));return this},u.prototype.removeAttribute=function(l){var h,d,f;if(l==null)throw new Error("Missing attribute name. "+this.debugInfo());if(l=n(l),Array.isArray(l))for(d=0,f=l.length;d<f;d++)h=l[d],delete this.attributes[h];else delete this.attributes[l];return this},u.prototype.toString=function(l){return this.options.writer.set(l).element(this)},u.prototype.att=function(l,h){return this.attribute(l,h)},u.prototype.a=function(l,h){return this.attribute(l,h)},u}(e)}).call(qe);var Qs={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,Qs.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).cdata(this)},i}(t)}).call(qe);var Ks={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,Ks.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).comment(this)},i}(t)}).call(qe);var Hs={exports:{}};(function(){var t,e,n=function(i,o){for(var a in o)r.call(o,a)&&(i[a]=o[a]);function s(){this.constructor=i}return s.prototype=o.prototype,i.prototype=new s,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=Yn.isObject,t=Bn.exports,Hs.exports=function(i){n(o,i);function o(a,s,c,u){var l;o.__super__.constructor.call(this,a),e(s)&&(l=s,s=l.version,c=l.encoding,u=l.standalone),s||(s="1.0"),this.version=this.stringify.xmlVersion(s),c!=null&&(this.encoding=this.stringify.xmlEncoding(c)),u!=null&&(this.standalone=this.stringify.xmlStandalone(u))}return o.prototype.toString=function(a){return this.options.writer.set(a).declaration(this)},o}(t)}).call(qe);var Gs={exports:{}},Js={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,Js.exports=function(r){e(i,r);function i(o,a,s,c,u,l){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(s==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!c)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!u)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(u.indexOf("#")!==0&&(u="#"+u),!u.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(l&&!u.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.eleName(a),this.attributeName=this.stringify.attName(s),this.attributeType=this.stringify.dtdAttType(c),this.defaultValue=this.stringify.dtdAttDefault(l),this.defaultValueType=u}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdAttList(this)},i}(t)}).call(qe);var zs={exports:{}};(function(){var t,e,n=function(i,o){for(var a in o)r.call(o,a)&&(i[a]=o[a]);function s(){this.constructor=i}return s.prototype=o.prototype,i.prototype=new s,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=Yn.isObject,t=Bn.exports,zs.exports=function(i){n(o,i);function o(a,s,c,u){if(o.__super__.constructor.call(this,a),c==null)throw new Error("Missing DTD entity name. "+this.debugInfo(c));if(u==null)throw new Error("Missing DTD entity value. "+this.debugInfo(c));if(this.pe=!!s,this.name=this.stringify.eleName(c),!e(u))this.value=this.stringify.dtdEntityValue(u);else{if(!u.pubID&&!u.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(c));if(u.pubID&&!u.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(c));if(u.pubID!=null&&(this.pubID=this.stringify.dtdPubID(u.pubID)),u.sysID!=null&&(this.sysID=this.stringify.dtdSysID(u.sysID)),u.nData!=null&&(this.nData=this.stringify.dtdNData(u.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(c))}}return o.prototype.toString=function(a){return this.options.writer.set(a).dtdEntity(this)},o}(t)}).call(qe);var $s={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,$s.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());s||(s="(#PCDATA)"),Array.isArray(s)&&(s="("+s.join(",")+")"),this.name=this.stringify.eleName(a),this.value=this.stringify.dtdElementValue(s)}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdElement(this)},i}(t)}).call(qe);var js={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,js.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!s.pubID&&!s.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.eleName(a),s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID))}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdNotation(this)},i}(t)}).call(qe);(function(){var t,e,n,r,i,o,a=function(c,u){for(var l in u)s.call(u,l)&&(c[l]=u[l]);function h(){this.constructor=c}return h.prototype=u.prototype,c.prototype=new h,c.__super__=u.prototype,c},s={}.hasOwnProperty;o=Yn.isObject,i=Bn.exports,t=Js.exports,n=zs.exports,e=$s.exports,r=js.exports,Gs.exports=function(c){a(u,c);function u(l,h,d){var f,p;u.__super__.constructor.call(this,l),this.name="!DOCTYPE",this.documentObject=l,o(h)&&(f=h,h=f.pubID,d=f.sysID),d==null&&(p=[h,d],d=p[0],h=p[1]),h!=null&&(this.pubID=this.stringify.dtdPubID(h)),d!=null&&(this.sysID=this.stringify.dtdSysID(d))}return u.prototype.element=function(l,h){var d;return d=new e(this,l,h),this.children.push(d),this},u.prototype.attList=function(l,h,d,f,p){var g;return g=new t(this,l,h,d,f,p),this.children.push(g),this},u.prototype.entity=function(l,h){var d;return d=new n(this,!1,l,h),this.children.push(d),this},u.prototype.pEntity=function(l,h){var d;return d=new n(this,!0,l,h),this.children.push(d),this},u.prototype.notation=function(l,h){var d;return d=new r(this,l,h),this.children.push(d),this},u.prototype.toString=function(l){return this.options.writer.set(l).docType(this)},u.prototype.ele=function(l,h){return this.element(l,h)},u.prototype.att=function(l,h,d,f,p){return this.attList(l,h,d,f,p)},u.prototype.ent=function(l,h){return this.entity(l,h)},u.prototype.pent=function(l,h){return this.pEntity(l,h)},u.prototype.not=function(l,h){return this.notation(l,h)},u.prototype.up=function(){return this.root()||this.documentObject},u}(i)}).call(qe);var qs={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,qs.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).raw(this)},i}(t)}).call(qe);var ec={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,ec.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).text(this)},i}(t)}).call(qe);var tc={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,tc.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(a),s&&(this.value=this.stringify.insValue(s))}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).processingInstruction(this)},i}(t)}).call(qe);var Hu={exports:{}};(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Bn.exports,Hu.exports=function(r){e(i,r);function i(o){i.__super__.constructor.call(this,o),this.isDummy=!0}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return""},i}(t)}).call(qe);(function(){var t,e,n,r,i,o,a,s,c,u,l,h,d,f,p={}.hasOwnProperty;f=Yn,d=f.isObject,h=f.isFunction,l=f.isEmpty,u=f.getValue,o=null,t=null,e=null,n=null,r=null,s=null,c=null,a=null,i=null,Bn.exports=function(){function g(y){this.parent=y,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=ks.exports,t=Qs.exports,e=Ks.exports,n=Hs.exports,r=Gs.exports,s=qs.exports,c=ec.exports,a=tc.exports,i=Hu.exports)}return g.prototype.element=function(y,R,m){var v,x,O,E,N,M,_,B,q,T,I;if(M=null,R===null&&m==null&&(q=[{},null],R=q[0],m=q[1]),R==null&&(R={}),R=u(R),d(R)||(T=[R,m],m=T[0],R=T[1]),y!=null&&(y=u(y)),Array.isArray(y))for(O=0,_=y.length;O<_;O++)x=y[O],M=this.element(x);else if(h(y))M=this.element(y.apply());else if(d(y)){for(N in y)if(!!p.call(y,N))if(I=y[N],h(I)&&(I=I.apply()),d(I)&&l(I)&&(I=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)M=this.attribute(N.substr(this.stringify.convertAttKey.length),I);else if(!this.options.separateArrayItems&&Array.isArray(I))for(E=0,B=I.length;E<B;E++)x=I[E],v={},v[N]=x,M=this.element(v);else d(I)?(M=this.element(N),M.element(I)):M=this.element(N,I)}else this.options.skipNullNodes&&m===null?M=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&y.indexOf(this.stringify.convertTextKey)===0?M=this.text(m):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&y.indexOf(this.stringify.convertCDataKey)===0?M=this.cdata(m):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&y.indexOf(this.stringify.convertCommentKey)===0?M=this.comment(m):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&y.indexOf(this.stringify.convertRawKey)===0?M=this.raw(m):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&y.indexOf(this.stringify.convertPIKey)===0?M=this.instruction(y.substr(this.stringify.convertPIKey.length),m):M=this.node(y,R,m);if(M==null)throw new Error("Could not create any elements with: "+y+". "+this.debugInfo());return M},g.prototype.insertBefore=function(y,R,m){var v,x,O;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(y));return x=this.parent.children.indexOf(this),O=this.parent.children.splice(x),v=this.parent.element(y,R,m),Array.prototype.push.apply(this.parent.children,O),v},g.prototype.insertAfter=function(y,R,m){var v,x,O;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(y));return x=this.parent.children.indexOf(this),O=this.parent.children.splice(x+1),v=this.parent.element(y,R,m),Array.prototype.push.apply(this.parent.children,O),v},g.prototype.remove=function(){var y;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return y=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[y,y-y+1].concat([])),this.parent},g.prototype.node=function(y,R,m){var v,x;return y!=null&&(y=u(y)),R||(R={}),R=u(R),d(R)||(x=[R,m],m=x[0],R=x[1]),v=new o(this,y,R),m!=null&&v.text(m),this.children.push(v),v},g.prototype.text=function(y){var R;return R=new c(this,y),this.children.push(R),this},g.prototype.cdata=function(y){var R;return R=new t(this,y),this.children.push(R),this},g.prototype.comment=function(y){var R;return R=new e(this,y),this.children.push(R),this},g.prototype.commentBefore=function(y){var R,m;return R=this.parent.children.indexOf(this),m=this.parent.children.splice(R),this.parent.comment(y),Array.prototype.push.apply(this.parent.children,m),this},g.prototype.commentAfter=function(y){var R,m;return R=this.parent.children.indexOf(this),m=this.parent.children.splice(R+1),this.parent.comment(y),Array.prototype.push.apply(this.parent.children,m),this},g.prototype.raw=function(y){var R;return R=new s(this,y),this.children.push(R),this},g.prototype.dummy=function(){var y;return y=new i(this),this.children.push(y),y},g.prototype.instruction=function(y,R){var m,v,x,O,E;if(y!=null&&(y=u(y)),R!=null&&(R=u(R)),Array.isArray(y))for(O=0,E=y.length;O<E;O++)m=y[O],this.instruction(m);else if(d(y))for(m in y)!p.call(y,m)||(v=y[m],this.instruction(m,v));else h(R)&&(R=R.apply()),x=new a(this,y,R),this.children.push(x);return this},g.prototype.instructionBefore=function(y,R){var m,v;return m=this.parent.children.indexOf(this),v=this.parent.children.splice(m),this.parent.instruction(y,R),Array.prototype.push.apply(this.parent.children,v),this},g.prototype.instructionAfter=function(y,R){var m,v;return m=this.parent.children.indexOf(this),v=this.parent.children.splice(m+1),this.parent.instruction(y,R),Array.prototype.push.apply(this.parent.children,v),this},g.prototype.declaration=function(y,R,m){var v,x;return v=this.document(),x=new n(v,y,R,m),v.children[0]instanceof n?v.children[0]=x:v.children.unshift(x),v.root()||v},g.prototype.doctype=function(y,R){var m,v,x,O,E,N,M,_,B,q;for(v=this.document(),x=new r(v,y,R),B=v.children,O=E=0,M=B.length;E<M;O=++E)if(m=B[O],m instanceof r)return v.children[O]=x,x;for(q=v.children,O=N=0,_=q.length;N<_;O=++N)if(m=q[O],m.isRoot)return v.children.splice(O,0,x),x;return v.children.push(x),x},g.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},g.prototype.root=function(){var y;for(y=this;y;){if(y.isDocument)return y.rootObject;if(y.isRoot)return y;y=y.parent}},g.prototype.document=function(){var y;for(y=this;y;){if(y.isDocument)return y;y=y.parent}},g.prototype.end=function(y){return this.document().end(y)},g.prototype.prev=function(){var y;for(y=this.parent.children.indexOf(this);y>0&&this.parent.children[y-1].isDummy;)y=y-1;if(y<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[y-1]},g.prototype.next=function(){var y;for(y=this.parent.children.indexOf(this);y<this.parent.children.length-1&&this.parent.children[y+1].isDummy;)y=y+1;if(y===-1||y===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[y+1]},g.prototype.importDocument=function(y){var R;return R=y.root().clone(),R.parent=this,R.isRoot=!1,this.children.push(R),this},g.prototype.debugInfo=function(y){var R,m;return y=y||this.name,y==null&&!((R=this.parent)!=null&&R.name)?"":y==null?"parent: <"+this.parent.name+">":(m=this.parent)!=null&&m.name?"node: <"+y+">, parent: <"+this.parent.name+">":"node: <"+y+">"},g.prototype.ele=function(y,R,m){return this.element(y,R,m)},g.prototype.nod=function(y,R,m){return this.node(y,R,m)},g.prototype.txt=function(y){return this.text(y)},g.prototype.dat=function(y){return this.cdata(y)},g.prototype.com=function(y){return this.comment(y)},g.prototype.ins=function(y,R){return this.instruction(y,R)},g.prototype.doc=function(){return this.document()},g.prototype.dec=function(y,R,m){return this.declaration(y,R,m)},g.prototype.dtd=function(y,R){return this.doctype(y,R)},g.prototype.e=function(y,R,m){return this.element(y,R,m)},g.prototype.n=function(y,R,m){return this.node(y,R,m)},g.prototype.t=function(y){return this.text(y)},g.prototype.d=function(y){return this.cdata(y)},g.prototype.c=function(y){return this.comment(y)},g.prototype.r=function(y){return this.raw(y)},g.prototype.i=function(y,R){return this.instruction(y,R)},g.prototype.u=function(){return this.up()},g.prototype.importXMLBuilder=function(y){return this.importDocument(y)},g}()}).call(qe);var Zf={exports:{}};(function(){var t=function(n,r){return function(){return n.apply(r,arguments)}},e={}.hasOwnProperty;Zf.exports=function(){function n(r){this.assertLegalChar=t(this.assertLegalChar,this);var i,o,a;r||(r={}),this.noDoubleEncoding=r.noDoubleEncoding,o=r.stringify||{};for(i in o)!e.call(o,i)||(a=o[i],this[i]=a)}return n.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},n.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},n.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(r)},n.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},n.prototype.raw=function(r){return""+r||""},n.prototype.attName=function(r){return r=""+r||""},n.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},n.prototype.insTarget=function(r){return""+r||""},n.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},n.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},n.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},n.prototype.xmlStandalone=function(r){return r?"yes":"no"},n.prototype.dtdPubID=function(r){return""+r||""},n.prototype.dtdSysID=function(r){return""+r||""},n.prototype.dtdElementValue=function(r){return""+r||""},n.prototype.dtdAttType=function(r){return""+r||""},n.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},n.prototype.dtdEntityValue=function(r){return""+r||""},n.prototype.dtdNData=function(r){return""+r||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(r){var i;if(i=r.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),i)throw new Error("Invalid character in string: "+r+" at index "+i.index);return r},n.prototype.elEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},n}()}).call(qe);var Gu={exports:{}},kf={exports:{}};(function(){var t={}.hasOwnProperty;kf.exports=function(){function e(n){var r,i,o,a,s,c,u,l,h;n||(n={}),this.pretty=n.pretty||!1,this.allowEmpty=(i=n.allowEmpty)!=null?i:!1,this.pretty?(this.indent=(o=n.indent)!=null?o:" ",this.newline=(a=n.newline)!=null?a:`
|
|
`,this.offset=(s=n.offset)!=null?s:0,this.dontprettytextnodes=(c=n.dontprettytextnodes)!=null?c:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(u=n.spacebeforeslash)!=null?u:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,l=n.writer||{};for(r in l)!t.call(l,r)||(h=l[r],this[r]=h)}return e.prototype.set=function(n){var r,i,o;n||(n={}),"pretty"in n&&(this.pretty=n.pretty),"allowEmpty"in n&&(this.allowEmpty=n.allowEmpty),this.pretty?(this.indent="indent"in n?n.indent:" ",this.newline="newline"in n?n.newline:`
|
|
`,this.offset="offset"in n?n.offset:0,this.dontprettytextnodes="dontprettytextnodes"in n?n.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in n?n.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,i=n.writer||{};for(r in i)!t.call(i,r)||(o=i[r],this[r]=o);return this},e.prototype.space=function(n){var r;return this.pretty?(r=(n||0)+this.offset+1,r>0?new Array(r).join(this.indent):""):""},e}()}).call(qe);(function(){var t,e,n,r,i,o,a,s,c,u,l,h,d,f,p=function(y,R){for(var m in R)g.call(R,m)&&(y[m]=R[m]);function v(){this.constructor=y}return v.prototype=R.prototype,y.prototype=new v,y.__super__=R.prototype,y},g={}.hasOwnProperty;a=Hs.exports,s=Gs.exports,t=Qs.exports,e=Ks.exports,u=ks.exports,h=qs.exports,d=ec.exports,l=tc.exports,c=Hu.exports,n=Js.exports,r=$s.exports,i=zs.exports,o=js.exports,f=kf.exports,Gu.exports=function(y){p(R,y);function R(m){R.__super__.constructor.call(this,m)}return R.prototype.document=function(m){var v,x,O,E,N;for(this.textispresent=!1,E="",N=m.children,x=0,O=N.length;x<O;x++)v=N[x],!(v instanceof c)&&(E+=function(){switch(!1){case!(v instanceof a):return this.declaration(v);case!(v instanceof s):return this.docType(v);case!(v instanceof e):return this.comment(v);case!(v instanceof l):return this.processingInstruction(v);default:return this.element(v,0)}}.call(this));return this.pretty&&E.slice(-this.newline.length)===this.newline&&(E=E.slice(0,-this.newline.length)),E},R.prototype.attribute=function(m){return" "+m.name+'="'+m.value+'"'},R.prototype.cdata=function(m,v){return this.space(v)+"<![CDATA["+m.text+"]]>"+this.newline},R.prototype.comment=function(m,v){return this.space(v)+"<!-- "+m.text+" -->"+this.newline},R.prototype.declaration=function(m,v){var x;return x=this.space(v),x+='<?xml version="'+m.version+'"',m.encoding!=null&&(x+=' encoding="'+m.encoding+'"'),m.standalone!=null&&(x+=' standalone="'+m.standalone+'"'),x+=this.spacebeforeslash+"?>",x+=this.newline,x},R.prototype.docType=function(m,v){var x,O,E,N,M;if(v||(v=0),N=this.space(v),N+="<!DOCTYPE "+m.root().name,m.pubID&&m.sysID?N+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(N+=' SYSTEM "'+m.sysID+'"'),m.children.length>0){for(N+=" [",N+=this.newline,M=m.children,O=0,E=M.length;O<E;O++)x=M[O],N+=function(){switch(!1){case!(x instanceof n):return this.dtdAttList(x,v+1);case!(x instanceof r):return this.dtdElement(x,v+1);case!(x instanceof i):return this.dtdEntity(x,v+1);case!(x instanceof o):return this.dtdNotation(x,v+1);case!(x instanceof t):return this.cdata(x,v+1);case!(x instanceof e):return this.comment(x,v+1);case!(x instanceof l):return this.processingInstruction(x,v+1);default:throw new Error("Unknown DTD node type: "+x.constructor.name)}}.call(this);N+="]"}return N+=this.spacebeforeslash+">",N+=this.newline,N},R.prototype.element=function(m,v){var x,O,E,N,M,_,B,q,T,I,b,P,U;v||(v=0),U=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),P=this.space(v),q="",q+=P+"<"+m.name,T=m.attributes;for(B in T)!g.call(T,B)||(x=T[B],q+=this.attribute(x));if(m.children.length===0||m.children.every(function(X){return X.value===""}))this.allowEmpty?q+="></"+m.name+">"+this.newline:q+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)q+=">",q+=m.children[0].value,q+="</"+m.name+">"+this.newline;else{if(this.dontprettytextnodes){for(I=m.children,E=0,M=I.length;E<M;E++)if(O=I[E],O.value!=null){this.textispresent++,U=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,P=this.space(v)),q+=">"+this.newline,b=m.children,N=0,_=b.length;N<_;N++)O=b[N],q+=function(){switch(!1){case!(O instanceof t):return this.cdata(O,v+1);case!(O instanceof e):return this.comment(O,v+1);case!(O instanceof u):return this.element(O,v+1);case!(O instanceof h):return this.raw(O,v+1);case!(O instanceof d):return this.text(O,v+1);case!(O instanceof l):return this.processingInstruction(O,v+1);case!(O instanceof c):return"";default:throw new Error("Unknown XML node type: "+O.constructor.name)}}.call(this);U&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),q+=P+"</"+m.name+">"+this.newline}return q},R.prototype.processingInstruction=function(m,v){var x;return x=this.space(v)+"<?"+m.target,m.value&&(x+=" "+m.value),x+=this.spacebeforeslash+"?>"+this.newline,x},R.prototype.raw=function(m,v){return this.space(v)+m.value+this.newline},R.prototype.text=function(m,v){return this.space(v)+m.value+this.newline},R.prototype.dtdAttList=function(m,v){var x;return x=this.space(v)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType,m.defaultValueType!=="#DEFAULT"&&(x+=" "+m.defaultValueType),m.defaultValue&&(x+=' "'+m.defaultValue+'"'),x+=this.spacebeforeslash+">"+this.newline,x},R.prototype.dtdElement=function(m,v){return this.space(v)+"<!ELEMENT "+m.name+" "+m.value+this.spacebeforeslash+">"+this.newline},R.prototype.dtdEntity=function(m,v){var x;return x=this.space(v)+"<!ENTITY",m.pe&&(x+=" %"),x+=" "+m.name,m.value?x+=' "'+m.value+'"':(m.pubID&&m.sysID?x+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(x+=' SYSTEM "'+m.sysID+'"'),m.nData&&(x+=" NDATA "+m.nData)),x+=this.spacebeforeslash+">"+this.newline,x},R.prototype.dtdNotation=function(m,v){var x;return x=this.space(v)+"<!NOTATION "+m.name,m.pubID&&m.sysID?x+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.pubID?x+=' PUBLIC "'+m.pubID+'"':m.sysID&&(x+=' SYSTEM "'+m.sysID+'"'),x+=this.spacebeforeslash+">"+this.newline,x},R.prototype.openNode=function(m,v){var x,O,E,N;if(v||(v=0),m instanceof u){E=this.space(v)+"<"+m.name,N=m.attributes;for(O in N)!g.call(N,O)||(x=N[O],E+=this.attribute(x));return E+=(m.children?">":"/>")+this.newline,E}else return E=this.space(v)+"<!DOCTYPE "+m.rootNodeName,m.pubID&&m.sysID?E+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(E+=' SYSTEM "'+m.sysID+'"'),E+=(m.children?" [":">")+this.newline,E},R.prototype.closeNode=function(m,v){switch(v||(v=0),!1){case!(m instanceof u):return this.space(v)+"</"+m.name+">"+this.newline;case!(m instanceof s):return this.space(v)+"]>"+this.newline}},R}(f)}).call(qe);(function(){var t,e,n,r,i=function(a,s){for(var c in s)o.call(s,c)&&(a[c]=s[c]);function u(){this.constructor=a}return u.prototype=s.prototype,a.prototype=new u,a.__super__=s.prototype,a},o={}.hasOwnProperty;r=Yn.isPlainObject,t=Bn.exports,n=Zf.exports,e=Gu.exports,Xy.exports=function(a){i(s,a);function s(c){s.__super__.constructor.call(this,null),this.name="?xml",c||(c={}),c.writer||(c.writer=new e),this.options=c,this.stringify=new n(c),this.isDocument=!0}return s.prototype.end=function(c){var u;return c?r(c)&&(u=c,c=this.options.writer.set(u)):c=this.options.writer,c.document(this)},s.prototype.toString=function(c){return this.options.writer.set(c).document(this)},s}(t)}).call(qe);var Vy={exports:{}};(function(){var t,e,n,r,i,o,a,s,c,u,l,h,d,f,p,g,y,R,m,v,x={}.hasOwnProperty;v=Yn,R=v.isObject,y=v.isFunction,m=v.isPlainObject,g=v.getValue,u=ks.exports,e=Qs.exports,n=Ks.exports,h=qs.exports,p=ec.exports,l=tc.exports,s=Hs.exports,c=Gs.exports,r=Js.exports,o=zs.exports,i=$s.exports,a=js.exports,t=Bf.exports,f=Zf.exports,d=Gu.exports,Vy.exports=function(){function O(E,N,M){var _;this.name="?xml",E||(E={}),E.writer?m(E.writer)&&(_=E.writer,E.writer=new d(_)):E.writer=new d(E),this.options=E,this.writer=E.writer,this.stringify=new f(E),this.onDataCallback=N||function(){},this.onEndCallback=M||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return O.prototype.node=function(E,N,M){var _,B;if(E==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(E));return this.openCurrent(),E=g(E),N===null&&M==null&&(_=[{},null],N=_[0],M=_[1]),N==null&&(N={}),N=g(N),R(N)||(B=[N,M],M=B[0],N=B[1]),this.currentNode=new u(this,E,N),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,M!=null&&this.text(M),this},O.prototype.element=function(E,N,M){return this.currentNode&&this.currentNode instanceof c?this.dtdElement.apply(this,arguments):this.node(E,N,M)},O.prototype.attribute=function(E,N){var M,_;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(E));if(E!=null&&(E=g(E)),R(E))for(M in E)!x.call(E,M)||(_=E[M],this.attribute(M,_));else y(N)&&(N=N.apply()),(!this.options.skipNullAttributes||N!=null)&&(this.currentNode.attributes[E]=new t(this,E,N));return this},O.prototype.text=function(E){var N;return this.openCurrent(),N=new p(this,E),this.onData(this.writer.text(N,this.currentLevel+1),this.currentLevel+1),this},O.prototype.cdata=function(E){var N;return this.openCurrent(),N=new e(this,E),this.onData(this.writer.cdata(N,this.currentLevel+1),this.currentLevel+1),this},O.prototype.comment=function(E){var N;return this.openCurrent(),N=new n(this,E),this.onData(this.writer.comment(N,this.currentLevel+1),this.currentLevel+1),this},O.prototype.raw=function(E){var N;return this.openCurrent(),N=new h(this,E),this.onData(this.writer.raw(N,this.currentLevel+1),this.currentLevel+1),this},O.prototype.instruction=function(E,N){var M,_,B,q,T;if(this.openCurrent(),E!=null&&(E=g(E)),N!=null&&(N=g(N)),Array.isArray(E))for(M=0,q=E.length;M<q;M++)_=E[M],this.instruction(_);else if(R(E))for(_ in E)!x.call(E,_)||(B=E[_],this.instruction(_,B));else y(N)&&(N=N.apply()),T=new l(this,E,N),this.onData(this.writer.processingInstruction(T,this.currentLevel+1),this.currentLevel+1);return this},O.prototype.declaration=function(E,N,M){var _;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return _=new s(this,E,N,M),this.onData(this.writer.declaration(_,this.currentLevel+1),this.currentLevel+1),this},O.prototype.doctype=function(E,N,M){if(this.openCurrent(),E==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new c(this,N,M),this.currentNode.rootNodeName=E,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},O.prototype.dtdElement=function(E,N){var M;return this.openCurrent(),M=new i(this,E,N),this.onData(this.writer.dtdElement(M,this.currentLevel+1),this.currentLevel+1),this},O.prototype.attList=function(E,N,M,_,B){var q;return this.openCurrent(),q=new r(this,E,N,M,_,B),this.onData(this.writer.dtdAttList(q,this.currentLevel+1),this.currentLevel+1),this},O.prototype.entity=function(E,N){var M;return this.openCurrent(),M=new o(this,!1,E,N),this.onData(this.writer.dtdEntity(M,this.currentLevel+1),this.currentLevel+1),this},O.prototype.pEntity=function(E,N){var M;return this.openCurrent(),M=new o(this,!0,E,N),this.onData(this.writer.dtdEntity(M,this.currentLevel+1),this.currentLevel+1),this},O.prototype.notation=function(E,N){var M;return this.openCurrent(),M=new a(this,E,N),this.onData(this.writer.dtdNotation(M,this.currentLevel+1),this.currentLevel+1),this},O.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},O.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},O.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},O.prototype.openNode=function(E){if(!E.isOpen)return!this.root&&this.currentLevel===0&&E instanceof u&&(this.root=E),this.onData(this.writer.openNode(E,this.currentLevel),this.currentLevel),E.isOpen=!0},O.prototype.closeNode=function(E){if(!E.isClosed)return this.onData(this.writer.closeNode(E,this.currentLevel),this.currentLevel),E.isClosed=!0},O.prototype.onData=function(E,N){return this.documentStarted=!0,this.onDataCallback(E,N+1)},O.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},O.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},O.prototype.ele=function(){return this.element.apply(this,arguments)},O.prototype.nod=function(E,N,M){return this.node(E,N,M)},O.prototype.txt=function(E){return this.text(E)},O.prototype.dat=function(E){return this.cdata(E)},O.prototype.com=function(E){return this.comment(E)},O.prototype.ins=function(E,N){return this.instruction(E,N)},O.prototype.dec=function(E,N,M){return this.declaration(E,N,M)},O.prototype.dtd=function(E,N,M){return this.doctype(E,N,M)},O.prototype.e=function(E,N,M){return this.element(E,N,M)},O.prototype.n=function(E,N,M){return this.node(E,N,M)},O.prototype.t=function(E){return this.text(E)},O.prototype.d=function(E){return this.cdata(E)},O.prototype.c=function(E){return this.comment(E)},O.prototype.r=function(E){return this.raw(E)},O.prototype.i=function(E,N){return this.instruction(E,N)},O.prototype.att=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},O.prototype.a=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},O.prototype.ent=function(E,N){return this.entity(E,N)},O.prototype.pent=function(E,N){return this.pEntity(E,N)},O.prototype.not=function(E,N){return this.notation(E,N)},O}()}).call(qe);var Yy={exports:{}};(function(){var t,e,n,r,i,o,a,s,c,u,l,h,d,f,p=function(y,R){for(var m in R)g.call(R,m)&&(y[m]=R[m]);function v(){this.constructor=y}return v.prototype=R.prototype,y.prototype=new v,y.__super__=R.prototype,y},g={}.hasOwnProperty;a=Hs.exports,s=Gs.exports,t=Qs.exports,e=Ks.exports,u=ks.exports,h=qs.exports,d=ec.exports,l=tc.exports,c=Hu.exports,n=Js.exports,r=$s.exports,i=zs.exports,o=js.exports,f=kf.exports,Yy.exports=function(y){p(R,y);function R(m,v){R.__super__.constructor.call(this,v),this.stream=m}return R.prototype.document=function(m){var v,x,O,E,N,M,_,B;for(M=m.children,x=0,E=M.length;x<E;x++)v=M[x],v.isLastRootNode=!1;for(m.children[m.children.length-1].isLastRootNode=!0,_=m.children,B=[],O=0,N=_.length;O<N;O++)if(v=_[O],!(v instanceof c))switch(!1){case!(v instanceof a):B.push(this.declaration(v));break;case!(v instanceof s):B.push(this.docType(v));break;case!(v instanceof e):B.push(this.comment(v));break;case!(v instanceof l):B.push(this.processingInstruction(v));break;default:B.push(this.element(v))}return B},R.prototype.attribute=function(m){return this.stream.write(" "+m.name+'="'+m.value+'"')},R.prototype.cdata=function(m,v){return this.stream.write(this.space(v)+"<![CDATA["+m.text+"]]>"+this.endline(m))},R.prototype.comment=function(m,v){return this.stream.write(this.space(v)+"<!-- "+m.text+" -->"+this.endline(m))},R.prototype.declaration=function(m,v){return this.stream.write(this.space(v)),this.stream.write('<?xml version="'+m.version+'"'),m.encoding!=null&&this.stream.write(' encoding="'+m.encoding+'"'),m.standalone!=null&&this.stream.write(' standalone="'+m.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(m))},R.prototype.docType=function(m,v){var x,O,E,N;if(v||(v=0),this.stream.write(this.space(v)),this.stream.write("<!DOCTYPE "+m.root().name),m.pubID&&m.sysID?this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"'):m.sysID&&this.stream.write(' SYSTEM "'+m.sysID+'"'),m.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(m)),N=m.children,O=0,E=N.length;O<E;O++)switch(x=N[O],!1){case!(x instanceof n):this.dtdAttList(x,v+1);break;case!(x instanceof r):this.dtdElement(x,v+1);break;case!(x instanceof i):this.dtdEntity(x,v+1);break;case!(x instanceof o):this.dtdNotation(x,v+1);break;case!(x instanceof t):this.cdata(x,v+1);break;case!(x instanceof e):this.comment(x,v+1);break;case!(x instanceof l):this.processingInstruction(x,v+1);break;default:throw new Error("Unknown DTD node type: "+x.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(m))},R.prototype.element=function(m,v){var x,O,E,N,M,_,B,q;v||(v=0),q=this.space(v),this.stream.write(q+"<"+m.name),_=m.attributes;for(M in _)!g.call(_,M)||(x=_[M],this.attribute(x));if(m.children.length===0||m.children.every(function(T){return T.value===""}))this.allowEmpty?this.stream.write("></"+m.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)this.stream.write(">"),this.stream.write(m.children[0].value),this.stream.write("</"+m.name+">");else{for(this.stream.write(">"+this.newline),B=m.children,E=0,N=B.length;E<N;E++)switch(O=B[E],!1){case!(O instanceof t):this.cdata(O,v+1);break;case!(O instanceof e):this.comment(O,v+1);break;case!(O instanceof u):this.element(O,v+1);break;case!(O instanceof h):this.raw(O,v+1);break;case!(O instanceof d):this.text(O,v+1);break;case!(O instanceof l):this.processingInstruction(O,v+1);break;case!(O instanceof c):break;default:throw new Error("Unknown XML node type: "+O.constructor.name)}this.stream.write(q+"</"+m.name+">")}return this.stream.write(this.endline(m))},R.prototype.processingInstruction=function(m,v){return this.stream.write(this.space(v)+"<?"+m.target),m.value&&this.stream.write(" "+m.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(m))},R.prototype.raw=function(m,v){return this.stream.write(this.space(v)+m.value+this.endline(m))},R.prototype.text=function(m,v){return this.stream.write(this.space(v)+m.value+this.endline(m))},R.prototype.dtdAttList=function(m,v){return this.stream.write(this.space(v)+"<!ATTLIST "+m.elementName+" "+m.attributeName+" "+m.attributeType),m.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+m.defaultValueType),m.defaultValue&&this.stream.write(' "'+m.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},R.prototype.dtdElement=function(m,v){return this.stream.write(this.space(v)+"<!ELEMENT "+m.name+" "+m.value),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},R.prototype.dtdEntity=function(m,v){return this.stream.write(this.space(v)+"<!ENTITY"),m.pe&&this.stream.write(" %"),this.stream.write(" "+m.name),m.value?this.stream.write(' "'+m.value+'"'):(m.pubID&&m.sysID?this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"'):m.sysID&&this.stream.write(' SYSTEM "'+m.sysID+'"'),m.nData&&this.stream.write(" NDATA "+m.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},R.prototype.dtdNotation=function(m,v){return this.stream.write(this.space(v)+"<!NOTATION "+m.name),m.pubID&&m.sysID?this.stream.write(' PUBLIC "'+m.pubID+'" "'+m.sysID+'"'):m.pubID?this.stream.write(' PUBLIC "'+m.pubID+'"'):m.sysID&&this.stream.write(' SYSTEM "'+m.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(m))},R.prototype.endline=function(m){return m.isLastRootNode?"":this.newline},R}(f)}).call(qe);(function(){var t,e,n,r,i,o,a;a=Yn,i=a.assign,o=a.isFunction,t=Xy.exports,e=Vy.exports,r=Gu.exports,n=Yy.exports,cs.create=function(s,c,u,l){var h,d;if(s==null)throw new Error("Root element needs a name.");return l=i({},c,u,l),h=new t(l),d=h.element(s),l.headless||(h.declaration(l),(l.pubID!=null||l.sysID!=null)&&h.doctype(l)),d},cs.begin=function(s,c,u){var l;return o(s)&&(l=[s,c],c=l[0],u=l[1],s={}),c?new e(s,c,u):new t(s)},cs.stringWriter=function(s){return new r(s)},cs.streamWriter=function(s,c){return new n(s,c)}}).call(qe);var v0=Kt.exports,EM=cs;Wy.writeString=IM;function IM(t,e){var n=v0.invert(e),r={element:o,text:NM};function i(c,u){return r[u.type](c,u)}function o(c,u){var l=c.element(a(u.name),u.attributes);u.children.forEach(function(h){i(l,h)})}function a(c){var u=/^\{(.*)\}(.*)$/.exec(c);if(u){var l=n[u[1]];return l+(l===""?"":":")+u[2]}else return c}function s(c){var u=EM.create(a(c.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return v0.forEach(e,function(l,h){var d="xmlns"+(h===""?"":":"+h);u.attribute(d,l)}),c.children.forEach(function(l){i(u,l)}),u.end()}return s(t)}function NM(t,e){t.text(e.value)}var Qf=Xs;bo.Element=Qf.Element;bo.element=Qf.element;bo.text=Qf.text;bo.readString=oy.readString;bo.writeString=Wy.writeString;var FM=Kt.exports,PM=gn,MM=bo;Nf.read=By;Nf.readXmlFromZipFile=CM;var LM={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word"};function By(t){return MM.readString(t,LM).then(function(e){return Zy(e)[0]})}function CM(t,e){return t.exists(e)?t.read(e,"utf-8").then(AM).then(By):PM.resolve(null)}function AM(t){return t.replace(/^\uFEFF/g,"")}function Zy(t){return t.type==="element"?t.name==="mc:AlternateContent"?t.first("mc:Fallback").children:(t.children=FM.flatten(t.children.map(Zy,!0)),[t]):[t]}var Kf={},Ai={},Hf={};Object.defineProperty(Hf,"__esModule",{value:!0});var UM=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];Hf.default=UM;var WM=qe&&qe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.hex=Ai.dec=Ai.codePoint=void 0;var XM=WM(Hf),ky={},VM=String.fromCodePoint?String.fromCodePoint:kM;for(var Uh=0,b0=XM.default;Uh<b0.length;Uh++){var Wh=b0[Uh],x0=parseInt(Wh["Unicode dec"],10),YM={codePoint:x0,string:VM(x0)};ky[Wh["Typeface name"].toUpperCase()+"_"+Wh["Dingbat dec"]]=YM}function Gf(t,e){return ky[t.toUpperCase()+"_"+e]}Ai.codePoint=Gf;function BM(t,e){return Gf(t,parseInt(e,10))}Ai.dec=BM;function ZM(t,e){return Gf(t,parseInt(e,16))}Ai.hex=ZM;function kM(t){if(t<=65535)return String.fromCharCode(t);var e=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(e,n)}var Jf={};Jf.uriToZipEntryName=QM;Jf.replaceFragment=KM;function QM(t,e){return e.charAt(0)==="/"?e.substr(1):t+"/"+e}function KM(t,e){var n=t.indexOf("#");return n!==-1&&(t=t.substring(0,n)),t+"#"+e}Kf.createBodyReader=HM;Kf._readNumberingProperties=Ky;var w0=Ai,br=Kt.exports,Gt=ct,Qy=hr.Result,si=hr.warning,T0=Jf;function HM(t){return{readXmlElement:function(e){return new S0(t).readXmlElement(e)},readXmlElements:function(e){return new S0(t).readXmlElements(e)}}}function S0(t){var e=[],n=[],r=[],i=t.relationships,o=t.contentTypes,a=t.docxFile,s=t.files,c=t.numbering,u=t.styles;function l(Q){var z=Q.map(h);return D0(z)}function h(Q){if(Q.type==="element"){var z=b[Q.name];if(z)return z(Q);if(!Object.prototype.hasOwnProperty.call(JM,Q.name)){var H=si("An unrecognised element was ignored: "+Q.name);return qa([H])}}return es()}function d(Q){return R(Q).map(function(z){return{type:"paragraphProperties",styleId:z.styleId,styleName:z.name,alignment:Q.firstOrEmpty("w:jc").attributes["w:val"],numbering:Ky(z.styleId,Q.firstOrEmpty("w:numPr"),c),indent:f(Q.firstOrEmpty("w:ind"))}})}function f(Q){return{start:Q.attributes["w:start"]||Q.attributes["w:left"],end:Q.attributes["w:end"]||Q.attributes["w:right"],firstLine:Q.attributes["w:firstLine"],hanging:Q.attributes["w:hanging"]}}function p(Q){return m(Q).map(function(z){var H=Q.firstOrEmpty("w:sz").attributes["w:val"],j=/^[0-9]+$/.test(H)?parseInt(H,10)/2:null;return{type:"runProperties",styleId:z.styleId,styleName:z.name,verticalAlignment:Q.firstOrEmpty("w:vertAlign").attributes["w:val"],font:Q.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:j,isBold:y(Q.first("w:b")),isUnderline:g(Q.first("w:u")),isItalic:y(Q.first("w:i")),isStrikethrough:y(Q.first("w:strike")),isAllCaps:y(Q.first("w:caps")),isSmallCaps:y(Q.first("w:smallCaps"))}})}function g(Q){if(Q){var z=Q.attributes["w:val"];return z!==void 0&&z!=="false"&&z!=="0"&&z!=="none"}else return!1}function y(Q){if(Q){var z=Q.attributes["w:val"];return z!=="false"&&z!=="0"}else return!1}function R(Q){return x(Q,"w:pStyle","Paragraph",u.findParagraphStyleById)}function m(Q){return x(Q,"w:rStyle","Run",u.findCharacterStyleById)}function v(Q){return x(Q,"w:tblStyle","Table",u.findTableStyleById)}function x(Q,z,H,j){var ge=[],D=Q.first(z),ie=null,L=null;if(D&&(ie=D.attributes["w:val"],ie)){var w=j(ie);w?L=w.name:ge.push(A(H,ie))}return Uc({styleId:ie,name:L},ge)}var O={type:"unknown"};function E(Q){var z=Q.attributes["w:fldCharType"];if(z==="begin")e.push(O),n=[];else if(z==="end")e.pop();else if(z==="separate"){var H=M(n.join("")),j=H===null?O:{type:"hyperlink",options:H};e.pop(),e.push(j)}return es()}function N(){var Q=br.last(e.filter(function(z){return z.type==="hyperlink"}));return Q?Q.options:null}function M(Q){var z=/\s*HYPERLINK "(.*)"/.exec(Q);if(z)return{href:z[1]};var H=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(Q);return H?{anchor:H[1]}:null}function _(Q){return n.push(Q.text()),es()}function B(Q){var z=Q.attributes["w:font"],H=Q.attributes["w:char"],j=w0.hex(z,H);return j==null&&/^F0..$/.test(H)&&(j=w0.hex(z,H.substring(2))),j==null?qa([si("A w:sym element with an unsupported character was ignored: char "+H+" in font "+z)]):pr(new Gt.Text(j.string))}function q(Q){return function(z){var H=z.attributes["w:id"];return pr(new Gt.NoteReference({noteType:Q,noteId:H}))}}function T(Q){return pr(Gt.commentReference({commentId:Q.attributes["w:id"]}))}function I(Q){return l(Q.children)}var b={"w:p":function(Q){var z=Q.firstOrEmpty("w:pPr"),H=!!z.firstOrEmpty("w:rPr").first("w:del");if(H)return Q.children.forEach(function(ge){r.push(ge)}),es();var j=Q.children;return r.length>0&&(j=r.concat(j),r=[]),Sn.map(d(z),l(j),function(ge,D){return new Gt.Paragraph(D,ge)}).insertExtra()},"w:r":function(Q){return Sn.map(p(Q.firstOrEmpty("w:rPr")),l(Q.children),function(z,H){var j=N();return j!==null&&(H=[new Gt.Hyperlink(H,j)]),new Gt.Run(H,z)})},"w:fldChar":E,"w:instrText":_,"w:t":function(Q){return pr(new Gt.Text(Q.text()))},"w:tab":function(Q){return pr(new Gt.Tab)},"w:noBreakHyphen":function(){return pr(new Gt.Text("\u2011"))},"w:softHyphen":function(Q){return pr(new Gt.Text("\xAD"))},"w:sym":B,"w:hyperlink":function(Q){var z=Q.attributes["r:id"],H=Q.attributes["w:anchor"];return l(Q.children).map(function(j){function ge(ie){var L=Q.attributes["w:tgtFrame"]||null;return new Gt.Hyperlink(j,br.extend({targetFrame:L},ie))}if(z){var D=i.findTargetByRelationshipId(z);return H&&(D=T0.replaceFragment(D,H)),ge({href:D})}else return H?ge({anchor:H}):j})},"w:tbl":P,"w:tr":X,"w:tc":V,"w:footnoteReference":q("footnote"),"w:endnoteReference":q("endnote"),"w:commentReference":T,"w:br":function(Q){var z=Q.attributes["w:type"];return z==null||z==="textWrapping"?pr(Gt.lineBreak):z==="page"?pr(Gt.pageBreak):z==="column"?pr(Gt.columnBreak):qa([si("Unsupported break type: "+z)])},"w:bookmarkStart":function(Q){var z=Q.attributes["w:name"];return z==="_GoBack"?es():pr(new Gt.BookmarkStart({name:z}))},"mc:AlternateContent":function(Q){return I(Q.first("mc:Fallback"))},"w:sdt":function(Q){return l(Q.firstOrEmpty("w:sdtContent").children)},"w:ins":I,"w:object":I,"w:smartTag":I,"w:drawing":I,"w:pict":function(Q){return I(Q).toExtra()},"v:roundrect":I,"v:shape":I,"v:textbox":I,"w:txbxContent":I,"wp:inline":Z,"wp:anchor":Z,"v:imagedata":ue,"v:group":I,"v:rect":I};return{readXmlElement:h,readXmlElements:l};function P(Q){var z=U(Q.firstOrEmpty("w:tblPr"));return l(Q.children).flatMap(re).flatMap(function(H){return z.map(function(j){return Gt.Table(H,j)})})}function U(Q){return v(Q).map(function(z){return{styleId:z.styleId,styleName:z.name}})}function X(Q){var z=Q.firstOrEmpty("w:trPr"),H=!!z.first("w:tblHeader");return l(Q.children).map(function(j){return Gt.TableRow(j,{isHeader:H})})}function V(Q){return l(Q.children).map(function(z){var H=Q.firstOrEmpty("w:tcPr"),j=H.firstOrEmpty("w:gridSpan").attributes["w:val"],ge=j?parseInt(j,10):1,D=Gt.TableCell(z,{colSpan:ge});return D._vMerge=k(H),D})}function k(Q){var z=Q.first("w:vMerge");if(z){var H=z.attributes["w:val"];return H==="continue"||!H}else return null}function re(Q){var z=br.any(Q,function(ge){return ge.type!==Gt.types.tableRow});if(z)return Uc(Q,[si("unexpected non-row element in table, cell merging may be incorrect")]);var H=br.any(Q,function(ge){return br.any(ge.children,function(D){return D.type!==Gt.types.tableCell})});if(H)return Uc(Q,[si("unexpected non-cell element in table row, cell merging may be incorrect")]);var j={};return Q.forEach(function(ge){var D=0;ge.children.forEach(function(ie){ie._vMerge&&j[D]?j[D].rowSpan++:(j[D]=ie,ie._vMerge=!1),D+=ie.colSpan})}),Q.forEach(function(ge){ge.children=ge.children.filter(function(D){return!D._vMerge}),ge.children.forEach(function(D){delete D._vMerge})}),pr(Q)}function Z(Q){var z=Q.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return D0(z.map(C.bind(null,Q)))}function C(Q,z){var H=Q.first("wp:docPr").attributes,j=ne(H.descr)?H.title:H.descr,ge=oe(z);return ge===null?qa([si("Could not find image file for a:blip element")]):W(ge,j)}function ne(Q){return Q==null||/^\s*$/.test(Q)}function oe(Q){var z=Q.attributes["r:embed"],H=Q.attributes["r:link"];if(z)return ce(z);if(H){var j=i.findTargetByRelationshipId(H);return{path:j,read:s.read.bind(s,j)}}else return null}function ue(Q){var z=Q.attributes["r:id"];return z?W(ce(z),Q.attributes["o:title"]):qa([si("A v:imagedata element without a relationship ID was ignored")])}function ce(Q){var z=T0.uriToZipEntryName("word",i.findTargetByRelationshipId(Q));return{path:z,read:a.read.bind(a,z)}}function W(Q,z){var H=o.findContentType(Q.path),j=Gt.Image({readImage:Q.read,altText:z,contentType:H}),ge=GM[H]?[]:si("Image of type "+H+" is unlikely to display in web browsers");return Uc(j,ge)}function A(Q,z){return si(Q+" style with ID "+z+" was referenced but not defined in the document")}}function Ky(t,e,n){var r=e.firstOrEmpty("w:ilvl").attributes["w:val"],i=e.firstOrEmpty("w:numId").attributes["w:val"];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(t!=null){var o=n.findLevelByParagraphStyleId(t);if(o!=null)return o}return null}var GM={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},JM={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function qa(t){return new Sn(null,null,t)}function es(){return new Sn(null)}function pr(t){return new Sn(t)}function Uc(t,e){return new Sn(t,null,e)}function Sn(t,e,n){this.value=t||[],this.extra=e||[],this._result=new Qy({element:this.value,extra:e},n),this.messages=this._result.messages}Sn.prototype.toExtra=function(){return new Sn(null,Ju(this.extra,this.value),this.messages)};Sn.prototype.insertExtra=function(){var t=this.extra;return t&&t.length?new Sn(Ju(this.value,t),null,this.messages):this};Sn.prototype.map=function(t){var e=this._result.map(function(n){return t(n.element)});return new Sn(e.value,this.extra,e.messages)};Sn.prototype.flatMap=function(t){var e=this._result.flatMap(function(n){return t(n.element)._result});return new Sn(e.value.element,Ju(this.extra,e.value.extra),e.messages)};Sn.map=function(t,e,n){return new Sn(n(t.value,e.value),Ju(t.extra,e.extra),t.messages.concat(e.messages))};function D0(t){var e=Qy.combine(br.pluck(t,"_result"));return new Sn(br.flatten(br.pluck(e.value,"element")),br.filter(br.flatten(br.pluck(e.value,"extra")),zM),e.messages)}function Ju(t,e){return br.flatten([t,e])}function zM(t){return t}var Hy={};Hy.DocumentXmlReader=qM;var $M=ct,jM=hr.Result;function qM(t){var e=t.bodyReader;function n(r){var i=r.first("w:body");if(i==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var o=e.readXmlElements(i.children).map(function(a){return new $M.Document(a,{notes:t.notes,comments:t.comments})});return new jM(o.value,o.messages)}return{convertXmlToDocument:n}}var zu={};zu.readRelationships=eL;zu.defaultValue=new zf([]);zu.Relationships=zf;function eL(t){var e=[];return t.children.forEach(function(n){if(n.name==="relationships:Relationship"){var r={relationshipId:n.attributes.Id,target:n.attributes.Target,type:n.attributes.Type};e.push(r)}}),new zf(e)}function zf(t){var e={};t.forEach(function(r){e[r.relationshipId]=r.target});var n={};return t.forEach(function(r){n[r.type]||(n[r.type]=[]),n[r.type].push(r.target)}),{findTargetByRelationshipId:function(r){return e[r]},findTargetsByType:function(r){return n[r]||[]}}}var $f={};$f.readContentTypesFromXml=nL;var tL={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};$f.defaultContentTypes=Gy({},{});function nL(t){var e={},n={};return t.children.forEach(function(r){if(r.name==="content-types:Default"&&(e[r.attributes.Extension]=r.attributes.ContentType),r.name==="content-types:Override"){var i=r.attributes.PartName;i.charAt(0)==="/"&&(i=i.substring(1)),n[i]=r.attributes.ContentType}}),Gy(n,e)}function Gy(t,e){return{findContentType:function(n){var r=t[n];if(r)return r;var i=n.split("."),o=i[i.length-1];if(e.hasOwnProperty(o))return e[o];var a=tL[o.toLowerCase()];return a?"image/"+a:null}}}var $u={},Wc=Kt.exports;$u.readNumberingXml=rL;$u.Numbering=jf;$u.defaultNumbering=new jf({},{});function jf(t,e,n){var r=Wc.flatten(Wc.values(e).map(function(s){return Wc.values(s.levels)})),i=Wc.indexBy(r.filter(function(s){return s.paragraphStyleId!=null}),"paragraphStyleId");function o(s,c){var u=t[s];if(u){var l=e[u.abstractNumId];if(l){if(l.numStyleLink==null)return e[u.abstractNumId].levels[c];var h=n.findNumberingStyleById(l.numStyleLink);return o(h.numId,c)}else return null}else return null}function a(s){return i[s]||null}return{findLevel:o,findLevelByParagraphStyleId:a}}function rL(t,e){if(!e||!e.styles)throw new Error("styles is missing");var n=iL(t),r=aL(t);return new jf(r,n,e.styles)}function iL(t){var e={};return t.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];e[r]=oL(n)}),e}function oL(t){var e={};t.getElementsByTagName("w:lvl").forEach(function(r){var i=r.attributes["w:ilvl"],o=r.firstOrEmpty("w:numFmt").attributes["w:val"],a=r.firstOrEmpty("w:pStyle").attributes["w:val"];e[i]={isOrdered:o!=="bullet",level:i,paragraphStyleId:a}});var n=t.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:e,numStyleLink:n}}function aL(t){var e={};return t.getElementsByTagName("w:num").forEach(function(n){var r=n.attributes["w:numId"],i=n.first("w:abstractNumId").attributes["w:val"];e[r]={abstractNumId:i}}),e}var ju={};ju.readStylesXml=sL;ju.Styles=Es;ju.defaultStyles=new Es({},{});function Es(t,e,n,r){return{findParagraphStyleById:function(i){return t[i]},findCharacterStyleById:function(i){return e[i]},findTableStyleById:function(i){return n[i]},findNumberingStyleById:function(i){return r[i]}}}Es.EMPTY=new Es({},{},{},{});function sL(t){var e={},n={},r={},i={},o={paragraph:e,character:n,table:r};return t.getElementsByTagName("w:style").forEach(function(a){var s=cL(a);if(s.type==="numbering")i[s.styleId]=lL(a);else{var c=o[s.type];c&&(c[s.styleId]=s)}}),new Es(e,n,r,i)}function cL(t){var e=t.attributes["w:type"],n=t.attributes["w:styleId"],r=uL(t);return{type:e,styleId:n,name:r}}function uL(t){var e=t.first("w:name");return e?e.attributes["w:val"]:null}function lL(t){var e=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:e}}var qf={},hL=ct,dL=hr.Result;qf.createFootnotesReader=Jy.bind(qe,"footnote");qf.createEndnotesReader=Jy.bind(qe,"endnote");function Jy(t,e){function n(o){return dL.combine(o.getElementsByTagName("w:"+t).filter(r).map(i))}function r(o){var a=o.attributes["w:type"];return a!=="continuationSeparator"&&a!=="separator"}function i(o){var a=o.attributes["w:id"];return e.readXmlElements(o.children).map(function(s){return hL.Note({noteType:t,noteId:a,body:s})})}return n}var zy={},fL=ct,pL=hr.Result;function gL(t){function e(r){return pL.combine(r.getElementsByTagName("w:comment").map(n))}function n(r){var i=r.attributes["w:id"];function o(a){return(r.attributes[a]||"").trim()||null}return t.readXmlElements(r.children).map(function(a){return fL.comment({commentId:i,body:a,authorName:o("w:author"),authorInitials:o("w:initials")})})}return e}zy.createCommentsReader=gL;var $y={},mL=gn;$y.Files=RL;function RL(){function t(e){return mL.reject(new Error("could not open external image: '"+e+`'
|
|
cannot open linked files from a web browser`))}return{read:t}}Sf.read=TL;Sf._findPartPaths=qy;var yL=gn,vL=ct,Xh=hr.Result,wu=Ws,jy=Nf.readXmlFromZipFile,bL=Kf.createBodyReader,xL=Hy.DocumentXmlReader,ba=zu,O0=$f,_0=$u,E0=ju,I0=qf,wL=zy,N0=$y.Files;function TL(t,e){return e=e||{},yL.props({contentTypes:DL(t),partPaths:qy(t),docxFile:t,files:e.path?N0.relativeToFile(e.path):new N0(null)}).also(function(n){return{styles:_L(t,n.partPaths.styles)}}).also(function(n){return{numbering:OL(t,n.partPaths.numbering,n.styles)}}).also(function(n){return{footnotes:Xc(n.partPaths.footnotes,n,function(r,i){return i?I0.createFootnotesReader(r)(i):new Xh([])}),endnotes:Xc(n.partPaths.endnotes,n,function(r,i){return i?I0.createEndnotesReader(r)(i):new Xh([])}),comments:Xc(n.partPaths.comments,n,function(r,i){return i?wL.createCommentsReader(r)(i):new Xh([])})}}).also(function(n){return{notes:n.footnotes.flatMap(function(r){return n.endnotes.map(function(i){return new vL.Notes(r.concat(i))})})}}).then(function(n){return Xc(n.partPaths.mainDocument,n,function(r,i){return n.notes.flatMap(function(o){return n.comments.flatMap(function(a){var s=new xL({bodyReader:r,notes:o,comments:a});return s.convertXmlToDocument(i)})})})})}function qy(t){return EL(t).then(function(e){var n=F0({docxFile:t,relationships:e,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!t.exists(n))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return Ea({filename:ev(n),readElement:ba.readRelationships,defaultValue:ba.defaultValue})(t).then(function(r){function i(o){return F0({docxFile:t,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+o,basePath:wu.splitPath(n).dirname,fallbackPath:"word/"+o+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}})})}function F0(t){var e=t.docxFile,n=t.relationships,r=t.relationshipType,i=t.basePath,o=t.fallbackPath,a=n.findTargetsByType(r),s=a.map(function(u){return SL(wu.joinPath(i,u),"/")}),c=s.filter(function(u){return e.exists(u)});return c.length===0?o:c[0]}function SL(t,e){return t.substring(0,e.length)===e?t.substring(e.length):t}function Ea(t){return function(e){return jy(e,t.filename).then(function(n){return n?t.readElement(n):t.defaultValue})}}function Xc(t,e,n){var r=Ea({filename:ev(t),readElement:ba.readRelationships,defaultValue:ba.defaultValue});return r(e.docxFile).then(function(i){var o=new bL({relationships:i,contentTypes:e.contentTypes,docxFile:e.docxFile,numbering:e.numbering,styles:e.styles,files:e.files});return jy(e.docxFile,t).then(function(a){return n(o,a)})})}function ev(t){var e=wu.splitPath(t);return wu.joinPath(e.dirname,"_rels",e.basename+".rels")}var DL=Ea({filename:"[Content_Types].xml",readElement:O0.readContentTypesFromXml,defaultValue:O0.defaultContentTypes});function OL(t,e,n){return Ea({filename:e,readElement:function(r){return _0.readNumberingXml(r,{styles:n})},defaultValue:_0.defaultNumbering})(t)}function _L(t,e){return Ea({filename:e,readElement:E0.readStylesXml,defaultValue:E0.defaultStyles})(t)}var EL=Ea({filename:"_rels/.rels",readElement:ba.readRelationships,defaultValue:ba.defaultValue}),ep={},IL=Kt.exports,NL=gn,Is=bo;ep.writeStyleMap=PL;ep.readStyleMap=CL;var FL="http://schemas.zwobble.org/mammoth/style-map",Tu="mammoth/style-map",tv="/"+Tu;function PL(t,e){return t.write(Tu,e),ML(t).then(function(){return LL(t)})}function ML(t){var e="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",r="{"+n+"}Relationship";return t.read(e,"utf8").then(Is.readString).then(function(i){var o=i.children;nv(o,r,"Id",{Id:"rMammothStyleMap",Type:FL,Target:tv});var a={"":n};return t.write(e,Is.writeString(i,a))})}function LL(t){var e="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",r="{"+n+"}Override";return t.read(e,"utf8").then(Is.readString).then(function(i){var o=i.children;nv(o,r,"PartName",{PartName:tv,ContentType:"text/prs.mammoth.style-map"});var a={"":n};return t.write(e,Is.writeString(i,a))})}function nv(t,e,n,r){var i=IL.find(t,function(o){return o.name===e&&o.attributes[n]===r[n]});i?i.attributes=r:t.push(Is.element(e,r))}function CL(t){return t.exists(Tu)?t.read(Tu,"utf8"):NL.resolve(null)}var tp={},bi={},Pr={},Zi={},rv=bi;function AL(t,e,n){return np(rv.element(t,e,{fresh:!1}),n)}function UL(t,e,n){var r=rv.element(t,e,{fresh:!0});return np(r,n)}function np(t,e){return{type:"element",tag:t,children:e||[]}}function WL(t){return{type:"text",value:t}}var XL={type:"forceWrite"};Zi.freshElement=UL;Zi.nonFreshElement=AL;Zi.elementWithTag=np;Zi.text=WL;Zi.forceWrite=XL;var VL={br:!0,hr:!0,img:!0};function YL(t){return t.children.length===0&&VL[t.tag.tagName]}Zi.isVoidElement=YL;var P0=Kt.exports,Su=Zi;function BL(t){return iv(ov(t))}function iv(t){var e=[];return t.map(ZL).forEach(function(n){Md(e,n)}),e}function ZL(t){return kL[t.type](t)}var kL={element:QL,text:M0,forceWrite:M0};function QL(t){return Su.elementWithTag(t.tag,iv(t.children))}function M0(t){return t}function Md(t,e){var n=t[t.length-1];e.type==="element"&&!e.tag.fresh&&n&&n.type==="element"&&e.tag.matchesElement(n.tag)?(e.tag.separator&&Md(n.children,Su.text(e.tag.separator)),e.children.forEach(function(r){Md(n.children,r)})):t.push(e)}function ov(t){return KL(t,function(e){return HL[e.type](e)})}function KL(t,e){return P0.flatten(P0.map(t,e),!0)}var HL={element:JL,text:zL,forceWrite:GL};function GL(t){return[t]}function JL(t){var e=ov(t.children);return e.length===0&&!Su.isVoidElement(t)?[]:[Su.elementWithTag(t.tag,e)]}function zL(t){return t.value.length===0?[]:[t]}var $L=BL,Ia=Zi;Pr.freshElement=Ia.freshElement;Pr.nonFreshElement=Ia.nonFreshElement;Pr.elementWithTag=Ia.elementWithTag;Pr.text=Ia.text;Pr.forceWrite=Ia.forceWrite;Pr.simplify=$L;function av(t,e){e.forEach(function(n){jL(t,n)})}function jL(t,e){qL[e.type](t,e)}var qL={element:eC,text:tC,forceWrite:function(){}};function eC(t,e){Ia.isVoidElement(e)?t.selfClosing(e.tag.tagName,e.tag.attributes):(t.open(e.tag.tagName,e.tag.attributes),av(t,e.children),t.close(e.tag.tagName))}function tC(t,e){t.text(e.value)}Pr.write=av;var rp=Kt.exports,nC=Pr;bi.topLevelElement=rC;bi.elements=ip;bi.element=op;function rC(t,e){return ip([op(t,e,{fresh:!0})])}function ip(t){return new sv(t.map(function(e){return rp.isString(e)?op(e):e}))}function sv(t){this._elements=t}sv.prototype.wrap=function(e){for(var n=e(),r=this._elements.length-1;r>=0;r--)n=this._elements[r].wrapNodes(n);return n};function op(t,e,n){return n=n||{},new qu(t,e,n)}function qu(t,e,n){var r={};rp.isArray(t)?(t.forEach(function(i){r[i]=!0}),t=t[0]):r[t]=!0,this.tagName=t,this.tagNames=r,this.attributes=e||{},this.fresh=n.fresh,this.separator=n.separator}qu.prototype.matchesElement=function(t){return this.tagNames[t.tagName]&&rp.isEqual(this.attributes||{},t.attributes||{})};qu.prototype.wrap=function(e){return this.wrapNodes(e())};qu.prototype.wrapNodes=function(e){return[nC.elementWithTag(this,e)]};bi.empty=ip([]);bi.ignore={wrap:function(){return[]}};var ap={};(function(t){var e=Kt.exports,n=gn,r=Pr;t.imgElement=i;function i(o){return function(a,s){return n.when(o(a)).then(function(c){var u={};return a.altText&&(u.alt=a.altText),e.extend(u,c),[r.freshElement("img",u)]})}}t.inline=t.imgElement,t.dataUri=i(function(o){return o.readAsBase64String().then(function(a){return{src:"data:"+o.contentType+";base64,"+a}})})})(ap);var cv={},uv={},lv=Kt.exports;uv.writer=iC;function iC(t){return t=t||{},t.prettyPrint?oC():hv()}var Vc={div:!0,p:!0,ul:!0,li:!0};function oC(){var t=0,e=" ",n=[],r=!0,i=!1,o=hv();function a(p,g){Vc[p]&&d(),n.push(p),o.open(p,g),Vc[p]&&t++,r=!1}function s(p){Vc[p]&&(t--,d()),n.pop(),o.close(p)}function c(p){h();var g=f()?p:p.replace(`
|
|
`,`
|
|
`+e);o.text(g)}function u(p,g){d(),o.selfClosing(p,g)}function l(){return n.length===0||Vc[n[n.length-1]]}function h(){i||(d(),i=!0)}function d(){if(i=!1,!r&&l()&&!f()){o._append(`
|
|
`);for(var p=0;p<t;p++)o._append(e)}}function f(){return lv.some(n,function(p){return p==="pre"})}return{asString:o.asString,open:a,close:s,text:c,selfClosing:u}}function hv(){var t=[];function e(c,u){var l=i(u);t.push("<"+c+l+">")}function n(c){t.push("</"+c+">")}function r(c,u){var l=i(u);t.push("<"+c+l+" />")}function i(c){return lv.map(c,function(u,l){return" "+l+'="'+sC(u)+'"'}).join("")}function o(c){t.push(aC(c))}function a(c){t.push(c)}function s(){return t.join("")}return{asString:s,open:e,close:n,text:o,selfClosing:r,_append:a}}function aC(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function sC(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}var dv={},cC=Kt.exports;function L0(t){return Du(t,t)}function Du(t,e){return function(){return{start:t,end:e}}}function uC(t){var e=t.href||"";return e?{start:"[",end:"]("+e+")",anchorPosition:"before"}:{}}function lC(t){var e=t.src||"",n=t.alt||"";return e||n?{start:""}:{}}function C0(t){return function(e,n){return{start:n?`
|
|
`:"",end:n?"":`
|
|
`,list:{isOrdered:t.isOrdered,indent:n?n.indent+1:0,count:0}}}}function hC(t,e,n){e=e||{indent:0,isOrdered:!1,count:0},e.count++,n.hasClosed=!1;var r=e.isOrdered?e.count+".":"-",i=pv(" ",e.indent)+r+" ";return{start:i,end:function(){if(!n.hasClosed)return n.hasClosed=!0,`
|
|
`}}}var fv={p:Du("",`
|
|
|
|
`),br:Du("",`
|
|
`),ul:C0({isOrdered:!1}),ol:C0({isOrdered:!0}),li:hC,strong:L0("__"),em:L0("*"),a:uC,img:lC};(function(){for(var t=1;t<=6;t++)fv["h"+t]=Du(pv("#",t)+" ",`
|
|
|
|
`)})();function pv(t,e){return new Array(e+1).join(t)}function dC(){var t=[],e=[],n=null,r={};function i(l,h){h=h||{};var d=fv[l]||function(){return{}},f=d(h,n,r);e.push({end:f.end,list:n}),f.list&&(n=f.list);var p=f.anchorPosition==="before";p&&o(h),t.push(f.start||""),p||o(h)}function o(l){l.id&&t.push('<a id="'+l.id+'"></a>')}function a(l){var h=e.pop();n=h.list;var d=cC.isFunction(h.end)?h.end():h.end;t.push(d||"")}function s(l,h){i(l,h),a()}function c(l){t.push(fC(l))}function u(){return t.join("")}return{asString:u,open:i,close:a,text:c,selfClosing:s}}dv.writer=dC;function fC(t){return t.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}var pC=uv,gC=dv;cv.writer=mC;function mC(t){return t=t||{},t.outputFormat==="markdown"?gC.writer():pC.writer(t)}var Ii=Kt.exports,A0=gn,eu=ct,gr=bi,Ld=hr,RC=ap,st=Pr,yC=cv;tp.DocumentConverter=vC;function vC(t){return{convertToHtml:function(e){var n=Ii.indexBy(e.type===eu.types.document?e.comments:[],"commentId"),r=new bC(t,n);return r.convertToHtml(e)}}}function bC(t,e){var n=1,r=[],i=[];t=Ii.extend({ignoreEmptyParagraphs:!0},t);var o=t.idPrefix===void 0?"":t.idPrefix,a=t.ignoreEmptyParagraphs,s=gr.topLevelElement("p"),c=t.styleMap||[];function u(V){var k=[],re=h(V,k,{}),Z=[];gv(re,function(ne){ne.type==="deferred"&&Z.push(ne)});var C={};return A0.mapSeries(Z,function(ne){return ne.value().then(function(oe){C[ne.id]=oe})}).then(function(){function ne(ue){return Vh(ue,function(ce){return ce.type==="deferred"?C[ce.id]:ce.children?[Ii.extend({},ce,{children:ne(ce.children)})]:[ce]})}var oe=yC.writer({prettyPrint:t.prettyPrint,outputFormat:t.outputFormat});return st.write(oe,st.simplify(ne(re))),new Ld.Result(oe.asString(),k)})}function l(V,k,re){return Vh(V,function(Z){return h(Z,k,re)})}function h(V,k,re){if(!re)throw new Error("options not set");var Z=X[V.type];return Z?Z(V,k,re):[]}function d(V,k,re){return f(V,k).wrap(function(){var Z=l(V.children,k,re);return a?Z:[st.forceWrite].concat(Z)})}function f(V,k){var re=R(V);return re?re.to:(V.styleId&&k.push(U0("paragraph",V)),s)}function p(V,k,re){var Z=function(){return l(V.children,k,re)},C=[];V.isSmallCaps&&C.push(g("smallCaps")),V.isAllCaps&&C.push(g("allCaps")),V.isStrikethrough&&C.push(g("strikethrough","s")),V.isUnderline&&C.push(g("underline")),V.verticalAlignment===eu.verticalAlignment.subscript&&C.push(gr.element("sub",{},{fresh:!1})),V.verticalAlignment===eu.verticalAlignment.superscript&&C.push(gr.element("sup",{},{fresh:!1})),V.isItalic&&C.push(g("italic","em")),V.isBold&&C.push(g("bold","strong"));var ne=gr.empty,oe=R(V);return oe?ne=oe.to:V.styleId&&k.push(U0("run",V)),C.push(ne),C.forEach(function(ue){Z=ue.wrap.bind(ue,Z)}),Z()}function g(V,k){var re=y({type:V});return re||(k?gr.element(k,{},{fresh:!1}):gr.empty)}function y(V,k){var re=R(V);return re?re.to:k}function R(V){for(var k=0;k<c.length;k++)if(c[k].from.matches(V))return c[k]}function m(V){return function(k,re){return A0.attempt(function(){return V(k,re)}).caught(function(Z){return re.push(Ld.error(Z)),[]})}}function v(V){return O(V.noteType,V.noteId)}function x(V){return E(V.noteType,V.noteId)}function O(V,k){return N(V+"-"+k)}function E(V,k){return N(V+"-ref-"+k)}function N(V){return o+V}var M=gr.elements([gr.element("table",{},{fresh:!0})]);function _(V,k,re){return y(V,M).wrap(function(){return B(V,k,re)})}function B(V,k,re){var Z=Ii.findIndex(V.children,function(ue){return!ue.type===eu.types.tableRow||!ue.isHeader});Z===-1&&(Z=V.children.length);var C;if(Z===0)C=l(V.children,k,Ii.extend({},re,{isTableHeader:!1}));else{var ne=l(V.children.slice(0,Z),k,Ii.extend({},re,{isTableHeader:!0})),oe=l(V.children.slice(Z),k,Ii.extend({},re,{isTableHeader:!1}));C=[st.freshElement("thead",{},ne),st.freshElement("tbody",{},oe)]}return[st.forceWrite].concat(C)}function q(V,k,re){var Z=l(V.children,k,re);return[st.freshElement("tr",{},[st.forceWrite].concat(Z))]}function T(V,k,re){var Z=re.isTableHeader?"th":"td",C=l(V.children,k,re),ne={};return V.colSpan!==1&&(ne.colspan=V.colSpan.toString()),V.rowSpan!==1&&(ne.rowspan=V.rowSpan.toString()),[st.freshElement(Z,ne,[st.forceWrite].concat(C))]}function I(V,k,re){return y(V,gr.ignore).wrap(function(){var Z=e[V.commentId],C=i.length+1,ne="["+TC(Z)+C+"]";return i.push({label:ne,comment:Z}),[st.freshElement("a",{href:"#"+O("comment",V.commentId),id:E("comment",V.commentId)},[st.text(ne)])]})}function b(V,k,re){var Z=V.label,C=V.comment,ne=l(C.body,k,re).concat([st.nonFreshElement("p",{},[st.text(" "),st.freshElement("a",{href:"#"+E("comment",C.commentId)},[st.text("\u2191")])])]);return[st.freshElement("dt",{id:O("comment",C.commentId)},[st.text("Comment "+Z)]),st.freshElement("dd",{},ne)]}function P(V,k,re){return U(V).wrap(function(){return[]})}function U(V){var k=R(V);return k?k.to:V.breakType==="line"?gr.topLevelElement("br"):gr.empty}var X={document:function(V,k,re){var Z=l(V.children,k,re),C=r.map(function(oe){return V.notes.resolve(oe)}),ne=l(C,k,re);return Z.concat([st.freshElement("ol",{},ne),st.freshElement("dl",{},Vh(i,function(oe){return b(oe,k,re)}))])},paragraph:d,run:p,text:function(V,k,re){return[st.text(V.value)]},tab:function(V,k,re){return[st.text(" ")]},hyperlink:function(V,k,re){var Z=V.anchor?"#"+N(V.anchor):V.href,C={href:Z};V.targetFrame!=null&&(C.target=V.targetFrame);var ne=l(V.children,k,re);return[st.nonFreshElement("a",C,ne)]},bookmarkStart:function(V,k,re){var Z=st.freshElement("a",{id:N(V.name)},[st.forceWrite]);return[Z]},noteReference:function(V,k,re){r.push(V);var Z=st.freshElement("a",{href:"#"+v(V),id:x(V)},[st.text("["+n+++"]")]);return[st.freshElement("sup",{},[Z])]},note:function(V,k,re){var Z=l(V.body,k,re),C=st.elementWithTag(gr.element("p",{},{fresh:!1}),[st.text(" "),st.freshElement("a",{href:"#"+x(V)},[st.text("\u2191")])]),ne=Z.concat([C]);return st.freshElement("li",{id:v(V)},ne)},commentReference:I,comment:b,image:wC(m(t.convertImage||RC.dataUri)),table:_,tableRow:q,tableCell:T,break:P};return{convertToHtml:u}}var xC=1;function wC(t){return function(e,n,r){return[{type:"deferred",id:xC++,value:function(){return t(e,n,r)}}]}}function U0(t,e){return Ld.warning("Unrecognised "+t+" style: '"+e.styleName+"' (Style ID: "+e.styleId+")")}function Vh(t,e){return Ii.flatten(t.map(e),!0)}function gv(t,e){t.forEach(function(n){e(n),n.children&&gv(n.children,e)})}var TC=tp.commentAuthorLabel=function(e){return e.authorInitials||""},mv={},SC=ct;function Rv(t){if(t.type==="text")return t.value;if(t.type===SC.types.tab)return" ";var e=t.type==="paragraph"?`
|
|
|
|
`:"";return(t.children||[]).map(Rv).join("")+e}mv.convertElementToRawText=Rv;var el={},Mr={},yv={},vv={exports:{}},xa=vv.exports=function(t,e){this._tokens=t,this._startIndex=e||0};xa.prototype.head=function(){return this._tokens[this._startIndex]};xa.prototype.tail=function(t){return new xa(this._tokens,this._startIndex+1)};xa.prototype.toArray=function(){return this._tokens.slice(this._startIndex)};xa.prototype.end=function(){return this._tokens[this._tokens.length-1]};xa.prototype.to=function(t){var e=this.head().source,n=t.head()||t.end();return e.to(n.source)};var DC=vv.exports;yv.Parser=function(t){var e=function(n,r){return n(new DC(r))};return{parseTokens:e}};var sp={},bv={};(function(t){t.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return t.none},flatMap:function(){return t.none},filter:function(){return t.none},toArray:function(){return[]},orElse:e,valueOrElse:e});function e(r){return typeof r=="function"?r():r}t.some=function(r){return new n(r)};var n=function(r){this._value=r};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(r){return new n(r(this._value))},n.prototype.flatMap=function(r){return r(this._value)},n.prototype.filter=function(r){return r(this._value)?this:t.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(r){return this},n.prototype.valueOrElse=function(r){return this._value},t.isOption=function(r){return r===t.none||r instanceof n},t.fromNullable=function(r){return r==null?t.none:new n(r)}})(bv);var cp={failure:function(t,e){if(t.length<1)throw new Error("Failure must have errors");return new _n({status:"failure",remaining:e,errors:t})},error:function(t,e){if(t.length<1)throw new Error("Failure must have errors");return new _n({status:"error",remaining:e,errors:t})},success:function(t,e,n){return new _n({status:"success",value:t,source:n,remaining:e,errors:[]})},cut:function(t){return new _n({status:"cut",remaining:t,errors:[]})}},_n=function(t){this._value=t.value,this._status=t.status,this._hasValue=t.value!==void 0,this._remaining=t.remaining,this._source=t.source,this._errors=t.errors};_n.prototype.map=function(t){return this._hasValue?new _n({value:t(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this};_n.prototype.changeRemaining=function(t){return new _n({value:this._value,status:this._status,remaining:t,source:this._source,errors:this._errors})};_n.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"};_n.prototype.isFailure=function(){return this._status==="failure"};_n.prototype.isError=function(){return this._status==="error"};_n.prototype.isCut=function(){return this._status==="cut"};_n.prototype.value=function(){return this._value};_n.prototype.remaining=function(){return this._remaining};_n.prototype.source=function(){return this._source};_n.prototype.errors=function(){return this._errors};var up={};up.error=function(t){return new tl(t)};var tl=function(t){this.expected=t.expected,this.actual=t.actual,this._location=t.location};tl.prototype.describe=function(){var t=this._location?this._location.describe()+`:
|
|
`:"";return t+"Expected "+this.expected+`
|
|
but got `+this.actual};tl.prototype.lineNumber=function(){return this._location.lineNumber()};tl.prototype.characterNumber=function(){return this._location.characterNumber()};var xv={};xv.fromArray=function(t){var e=0,n=function(){return e<t.length};return new mo({hasNext:n,next:function(){if(n())return t[e++];throw new Error("No more elements")}})};var mo=function(t){this._iterator=t};mo.prototype.map=function(t){var e=this._iterator;return new mo({hasNext:function(){return e.hasNext()},next:function(){return t(e.next())}})};mo.prototype.filter=function(t){var e=this._iterator,n=!1,r=!1,i,o=function(){if(!n)for(n=!0,r=!1;e.hasNext()&&!r;)i=e.next(),r=t(i)};return new mo({hasNext:function(){return o(),r},next:function(){o();var a=i;return n=!1,a}})};mo.prototype.first=function(){var t=this._iterator;return this._iterator.hasNext()?t.next():null};mo.prototype.toArray=function(){for(var t=[];this._iterator.hasNext();)t.push(this._iterator.next());return t};(function(t){var e=Kt.exports,n=bv,r=cp,i=up,o=xv;t.token=function(d,f){var p=f!==void 0;return function(g){var y=g.head();if(y&&y.name===d&&(!p||y.value===f))return r.success(y.value,g.tail(),y.source);var R=l({name:d,value:f});return h(g,R)}},t.tokenOfType=function(d){return t.token(d)},t.firstOf=function(d,f){return e.isArray(f)||(f=Array.prototype.slice.call(arguments,1)),function(p){return o.fromArray(f).map(function(g){return g(p)}).filter(function(g){return g.isSuccess()||g.isError()}).first()||h(p,d)}},t.then=function(d,f){return function(p){var g=d(p);return g.map||console.log(g),g.map(f)}},t.sequence=function(){var d=Array.prototype.slice.call(arguments,0),f=function(g){var y=e.foldl(d,function(m,v){var x=m.result,O=m.hasCut;if(!x.isSuccess())return{result:x,hasCut:O};var E=v(x.remaining());if(E.isCut())return{result:x,hasCut:!0};if(E.isSuccess()){var N;v.isCaptured?N=x.value().withValue(v,E.value()):N=x.value();var M=E.remaining(),_=g.to(M);return{result:r.success(N,M,_),hasCut:O}}else return O?{result:r.error(E.errors(),E.remaining()),hasCut:O}:{result:E,hasCut:O}},{result:r.success(new a,g),hasCut:!1}).result,R=g.to(y.remaining());return y.map(function(m){return m.withValue(t.sequence.source,R)})};f.head=function(){var g=e.find(d,p);return t.then(f,t.sequence.extract(g))},f.map=function(g){return t.then(f,function(y){return g.apply(this,y.toArray())})};function p(g){return g.isCaptured}return f};var a=function(d,f){this._values=d||{},this._valuesArray=f||[]};a.prototype.withValue=function(d,f){if(d.captureName&&d.captureName in this._values)throw new Error('Cannot add second value for capture "'+d.captureName+'"');var p=e.clone(this._values);p[d.captureName]=f;var g=this._valuesArray.concat([f]);return new a(p,g)},a.prototype.get=function(d){if(d.captureName in this._values)return this._values[d.captureName];throw new Error('No value for capture "'+d.captureName+'"')},a.prototype.toArray=function(){return this._valuesArray},t.sequence.capture=function(d,f){var p=function(){return d.apply(this,arguments)};return p.captureName=f,p.isCaptured=!0,p},t.sequence.extract=function(d){return function(f){return f.get(d)}},t.sequence.applyValues=function(d){var f=Array.prototype.slice.call(arguments,1);return function(p){var g=f.map(function(y){return p.get(y)});return d.apply(this,g)}},t.sequence.source={captureName:"\u2603source\u2603"},t.sequence.cut=function(){return function(d){return r.cut(d)}},t.optional=function(d){return function(f){var p=d(f);return p.isSuccess()?p.map(n.some):p.isFailure()?r.success(n.none,f):p}},t.zeroOrMoreWithSeparator=function(d,f){return u(d,f,!1)},t.oneOrMoreWithSeparator=function(d,f){return u(d,f,!0)};var s=t.zeroOrMore=function(d){return function(f){for(var p=[],g;(g=d(f))&&g.isSuccess();)f=g.remaining(),p.push(g.value());return g.isError()?g:r.success(p,f)}};t.oneOrMore=function(d){return t.oneOrMoreWithSeparator(d,c)};function c(d){return r.success(null,d)}var u=function(d,f,p){return function(g){var y=d(g);if(y.isSuccess()){var R=t.sequence.capture(d,"main"),m=s(t.then(t.sequence(f,R),t.sequence.extract(R))),v=m(y.remaining());return r.success([y.value()].concat(v.value()),v.remaining())}else return p||y.isError()?y:r.success([],g)}};t.leftAssociative=function(d,f,p){var g;p?g=[{func:p,rule:f}]:g=f,g=g.map(function(R){return t.then(R.rule,function(m){return function(v,x){return R.func(v,m,x)}})});var y=t.firstOf.apply(null,["rules"].concat(g));return function(R){var m=R,v=d(R);if(!v.isSuccess())return v;for(var x=y(v.remaining());x.isSuccess();){var O=x.remaining(),E=m.to(x.remaining()),N=x.value();v=r.success(N(v.value(),E),O,E),x=y(v.remaining())}return x.isError()?x:v}},t.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},t.nonConsuming=function(d){return function(f){return d(f).changeRemaining(f)}};var l=function(d){return d.value?d.name+' "'+d.value+'"':d.name};function h(d,f){var p,g=d.head();return g?p=i.error({expected:f,actual:l(g),location:g.source}):p=i.error({expected:f,actual:"end of tokens"}),r.failure([p],d)}})(sp);var lp={exports:{}},OC=new Proxy({},{get(){throw new Error('Module "util" has been externalized for browser compatibility and cannot be accessed in client code.')}}),_C=Object.freeze(Object.defineProperty({__proto__:null,default:OC},Symbol.toStringTag,{value:"Module"})),EC=Wm(_C),IC=EC;lp.exports=function(t,e){var n={asString:function(){return t},range:function(r,i){return new Ro(t,e,r,i)}};return n};var Ro=function(t,e,n,r){this._string=t,this._description=e,this._startIndex=n,this._endIndex=r};Ro.prototype.to=function(t){return new Ro(this._string,this._description,this._startIndex,t._endIndex)};Ro.prototype.describe=function(){var t=this._position(),e=this._description?this._description+`
|
|
`:"";return IC.format(`%sLine number: %s
|
|
Character number: %s`,e,t.lineNumber,t.characterNumber)};Ro.prototype.lineNumber=function(){return this._position().lineNumber};Ro.prototype.characterNumber=function(){return this._position().characterNumber};Ro.prototype._position=function(){for(var t=this,e=0,n=function(){return t._string.indexOf(`
|
|
`,e)},r=1;n()!==-1&&n()<this._startIndex;)e=n()+1,r+=1;var i=this._startIndex-e+1;return{lineNumber:r,characterNumber:i}};var wv=function(t,e,n){this.name=t,this.value=e,n&&(this.source=n)},Tv={};(function(t){var e=sp,n=cp;t.parser=function(o,a,s){var c={rule:d,leftAssociative:f,rightAssociative:p},u=new r(s.map(h)),l=e.firstOf(o,a);function h(R){return{name:R.name,rule:i(R.ruleBuilder.bind(null,c))}}function d(){return g(u)}function f(R){return g(u.untilExclusive(R))}function p(R){return g(u.untilInclusive(R))}function g(R){return y.bind(null,R)}function y(R,m){var v=l(m);return v.isSuccess()?R.apply(v):v}return c};function r(o){function a(h){return new r(o.slice(0,c().indexOf(h)))}function s(h){return new r(o.slice(0,c().indexOf(h)+1))}function c(){return o.map(function(h){return h.name})}function u(h){for(var d,f;;)if(d=l(h.remaining()),d.isSuccess())f=h.source().to(d.source()),h=n.success(d.value()(h.value(),f),d.remaining(),f);else return d.isFailure()?h:d}function l(h){return e.firstOf("infix",o.map(function(d){return d.rule}))(h)}return{apply:u,untilExclusive:a,untilInclusive:s}}t.infix=function(o,a){function s(c){return t.infix(o,function(u){var l=a(u);return function(h){var d=l(h);return d.map(function(f){return function(p,g){return c(p,f,g)}})}})}return{name:o,ruleBuilder:a,map:s}};var i=function(o){var a;return function(s){return a||(a=o()),a(s)}}})(Tv);var Sv={},Yh=wv,NC=lp.exports;Sv.RegexTokeniser=FC;function FC(t){t=t.map(function(i){return{name:i.name,regex:new RegExp(i.regex.source,"g")}});function e(i,o){for(var a=new NC(i,o),s=0,c=[];s<i.length;){var u=n(i,s,a);s=u.endIndex,c.push(u.token)}return c.push(r(i,a)),c}function n(i,o,a){for(var s=0;s<t.length;s++){var c=t[s].regex;c.lastIndex=o;var u=c.exec(i);if(u){var h=o+u[0].length;if(u.index===o&&h>o){var l=u[1],d=new Yh(t[s].name,l,a.range(o,h));return{token:d,endIndex:h}}}}var h=o+1,d=new Yh("unrecognisedCharacter",i.substring(o,h),a.range(o,h));return{token:d,endIndex:h}}function r(i,o){return new Yh("end",null,o.range(i.length,i.length))}return{tokenise:e}}Mr.Parser=yv.Parser;Mr.rules=sp;Mr.errors=up;Mr.results=cp;Mr.StringSource=lp.exports;Mr.Token=wv;Mr.bottomUp=Tv;Mr.RegexTokeniser=Sv.RegexTokeniser;Mr.rule=function(t){var e;return function(n){return e||(e=t()),e(n)}};var Ln={};Ln.paragraph=PC;Ln.run=MC;Ln.table=LC;Ln.bold=new er("bold");Ln.italic=new er("italic");Ln.underline=new er("underline");Ln.strikethrough=new er("strikethrough");Ln.allCaps=new er("allCaps");Ln.smallCaps=new er("smallCaps");Ln.commentReference=new er("commentReference");Ln.lineBreak=new er("break",{breakType:"line"});Ln.pageBreak=new er("break",{breakType:"page"});Ln.columnBreak=new er("break",{breakType:"column"});Ln.equalTo=AC;Ln.startsWith=UC;function PC(t){return new er("paragraph",t)}function MC(t){return new er("run",t)}function LC(t){return new er("table",t)}function er(t,e){e=e||{},this._elementType=t,this._styleId=e.styleId,this._styleName=e.styleName,e.list&&(this._listIndex=e.list.levelIndex,this._listIsOrdered=e.list.isOrdered)}er.prototype.matches=function(t){return t.type===this._elementType&&(this._styleId===void 0||t.styleId===this._styleId)&&(this._styleName===void 0||t.styleName&&this._styleName.operator(this._styleName.operand,t.styleName))&&(this._listIndex===void 0||CC(t,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===t.breakType)};function CC(t,e,n){return t.numbering&&t.numbering.level==e&&t.numbering.isOrdered==n}function AC(t){return{operator:WC,operand:t}}function UC(t){return{operator:XC,operand:t}}function WC(t,e){return t.toUpperCase()===e.toUpperCase()}function XC(t,e){return e.toUpperCase().indexOf(t.toUpperCase())===0}var Dv={},VC=Mr,YC=VC.RegexTokeniser;Dv.tokenise=BC;var W0="'((?:\\\\.|[^'])*)";function BC(t){var e="(?:[a-zA-Z\\-_]|\\\\.)",n=new YC([{name:"identifier",regex:new RegExp("("+e+"(?:"+e+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(W0+"'")},{name:"unterminated-string",regex:new RegExp(W0)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return n.tokenise(t)}var ZC=Kt.exports,Pe=Mr,Un=Ln,tu=bi,kC=Dv.tokenise,Bh=hr;el.readHtmlPath=GC;el.readDocumentMatcher=HC;el.readStyle=QC;function QC(t){return hp(nA,t)}function KC(){return Pe.rules.sequence(Pe.rules.sequence.capture(Ov()),Pe.rules.tokenOfType("whitespace"),Pe.rules.tokenOfType("arrow"),Pe.rules.sequence.capture(Pe.rules.optional(Pe.rules.sequence(Pe.rules.tokenOfType("whitespace"),Pe.rules.sequence.capture(_v())).head())),Pe.rules.tokenOfType("end")).map(function(t,e){return{from:t,to:e.valueOrElse(tu.empty)}})}function HC(t){return hp(Ov(),t)}function Ov(){var t=Pe.rules.sequence,e=function(O,E){return Pe.rules.then(Pe.rules.token("identifier",O),function(){return E})},n=e("p",Un.paragraph),r=e("r",Un.run),i=Pe.rules.firstOf("p or r or table",n,r),o=Pe.rules.sequence(Pe.rules.tokenOfType("dot"),Pe.rules.sequence.cut(),Pe.rules.sequence.capture(nl)).map(function(O){return{styleId:O}}),a=Pe.rules.firstOf("style name matcher",Pe.rules.then(Pe.rules.sequence(Pe.rules.tokenOfType("equals"),Pe.rules.sequence.cut(),Pe.rules.sequence.capture(Rs)).head(),function(O){return{styleName:Un.equalTo(O)}}),Pe.rules.then(Pe.rules.sequence(Pe.rules.tokenOfType("startsWith"),Pe.rules.sequence.cut(),Pe.rules.sequence.capture(Rs)).head(),function(O){return{styleName:Un.startsWith(O)}})),s=Pe.rules.sequence(Pe.rules.tokenOfType("open-square-bracket"),Pe.rules.sequence.cut(),Pe.rules.token("identifier","style-name"),Pe.rules.sequence.capture(a),Pe.rules.tokenOfType("close-square-bracket")).head(),c=Pe.rules.firstOf("list type",e("ordered-list",{isOrdered:!0}),e("unordered-list",{isOrdered:!1})),u=t(Pe.rules.tokenOfType("colon"),t.capture(c),t.cut(),Pe.rules.tokenOfType("open-paren"),t.capture(JC),Pe.rules.tokenOfType("close-paren")).map(function(O,E){return{list:{isOrdered:O.isOrdered,levelIndex:E-1}}});function l(O){var E=Pe.rules.firstOf.apply(Pe.rules.firstOf,["matcher suffix"].concat(O)),N=Pe.rules.zeroOrMore(E);return Pe.rules.then(N,function(M){var _={};return M.forEach(function(B){ZC.extend(_,B)}),_})}var h=t(t.capture(i),t.capture(l([o,s,u]))).map(function(O,E){return O(E)}),d=t(Pe.rules.token("identifier","table"),t.capture(l([o,s]))).map(function(O){return Un.table(O)}),f=e("b",Un.bold),p=e("i",Un.italic),g=e("u",Un.underline),y=e("strike",Un.strikethrough),R=e("all-caps",Un.allCaps),m=e("small-caps",Un.smallCaps),v=e("comment-reference",Un.commentReference),x=t(Pe.rules.token("identifier","br"),t.cut(),Pe.rules.tokenOfType("open-square-bracket"),Pe.rules.token("identifier","type"),Pe.rules.tokenOfType("equals"),t.capture(Rs),Pe.rules.tokenOfType("close-square-bracket")).map(function(O){switch(O){case"line":return Un.lineBreak;case"page":return Un.pageBreak;case"column":return Un.columnBreak}});return Pe.rules.firstOf("element type",h,d,f,p,g,y,R,m,v,x)}function GC(t){return hp(_v(),t)}function _v(){var t=Pe.rules.sequence.capture,e=Pe.rules.tokenOfType("whitespace"),n=Pe.rules.then(Pe.rules.optional(Pe.rules.sequence(Pe.rules.tokenOfType("colon"),Pe.rules.token("identifier","fresh"))),function(a){return a.map(function(){return!0}).valueOrElse(!1)}),r=Pe.rules.then(Pe.rules.optional(Pe.rules.sequence(Pe.rules.tokenOfType("colon"),Pe.rules.token("identifier","separator"),Pe.rules.tokenOfType("open-paren"),t(Rs),Pe.rules.tokenOfType("close-paren")).head()),function(a){return a.valueOrElse("")}),i=Pe.rules.oneOrMoreWithSeparator(nl,Pe.rules.tokenOfType("choice")),o=Pe.rules.sequence(t(i),t(Pe.rules.zeroOrMore(qC)),t(n),t(r)).map(function(a,s,c,u){var l={},h={};return s.forEach(function(d){d.append&&l[d.name]?l[d.name]+=" "+d.value:l[d.name]=d.value}),c&&(h.fresh=!0),u&&(h.separator=u),tu.element(a,l,h)});return Pe.rules.firstOf("html path",Pe.rules.then(Pe.rules.tokenOfType("bang"),function(){return tu.ignore}),Pe.rules.then(Pe.rules.zeroOrMoreWithSeparator(o,Pe.rules.sequence(e,Pe.rules.tokenOfType("gt"),e)),tu.elements))}var nl=Pe.rules.then(Pe.rules.tokenOfType("identifier"),Ev),JC=Pe.rules.tokenOfType("integer"),Rs=Pe.rules.then(Pe.rules.tokenOfType("string"),Ev),zC={n:`
|
|
`,r:"\r",t:" "};function Ev(t){return t.replace(/\\(.)/g,function(e,n){return zC[n]||n})}var $C=Pe.rules.sequence(Pe.rules.tokenOfType("open-square-bracket"),Pe.rules.sequence.cut(),Pe.rules.sequence.capture(nl),Pe.rules.tokenOfType("equals"),Pe.rules.sequence.capture(Rs),Pe.rules.tokenOfType("close-square-bracket")).map(function(t,e){return{name:t,value:e,append:!1}}),jC=Pe.rules.sequence(Pe.rules.tokenOfType("dot"),Pe.rules.sequence.cut(),Pe.rules.sequence.capture(nl)).map(function(t){return{name:"class",value:t,append:!0}}),qC=Pe.rules.firstOf("attribute or class",$C,jC);function hp(t,e){var n=kC(e),r=Pe.Parser(),i=r.parseTokens(t,n);return i.isSuccess()?Bh.success(i.value()):new Bh.Result(null,[Bh.warning(eA(e,i))])}function eA(t,e){return"Did not understand this style mapping, so ignored it: "+t+`
|
|
`+e.errors().map(tA).join(`
|
|
`)}function tA(t){return"Error was at character number "+t.characterNumber()+": Expected "+t.expected+" but got "+t.actual}var nA=KC(),rl={};rl.readOptions=oA;var Iv=Kt.exports,rA=rl._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],iA=rl._standardOptions={transformDocument:aA,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function oA(t){return t=t||{},Iv.extend({},iA,t,{customStyleMap:X0(t.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(X0(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(rA)),e}})}function X0(t){return t?Iv.isString(t)?t.split(`
|
|
`).map(function(e){return e.trim()}).filter(function(e){return e!==""&&e.charAt(0)!=="#"}):t:[]}function aA(t){return t}var Nv={},V0=gn,sA=Ws;Nv.openZip=cA;function cA(t){return t.arrayBuffer?V0.resolve(sA.openArrayBuffer(t.arrayBuffer)):V0.reject(new Error("Could not find file in options"))}var Na={},Y0=Kt.exports;Na.paragraph=uA;Na.run=lA;Na._elements=Pv;Na.getDescendantsOfType=hA;Na.getDescendants=Mv;function uA(t){return Fv("paragraph",t)}function lA(t){return Fv("run",t)}function Fv(t,e){return Pv(function(n){return n.type===t?e(n):n})}function Pv(t){return function e(n){if(n.children){var r=Y0.map(n.children,e);n=Y0.extend(n,{children:r})}return t(n)}}function hA(t,e){return Mv(t).filter(function(n){return n.type===e})}function Mv(t){var e=[];return Lv(t,function(n){e.push(n)}),e}function Lv(t,e){t.children&&t.children.forEach(function(n){Lv(n,e),e(n)})}var Cv={},dA=bi,fA=Pr;Cv.element=pA;function pA(t){return function(e){return fA.elementWithTag(dA.element(t),[e])}}var gA=Kt.exports,Av=Sf,dp=ep,mA=tp.DocumentConverter,RA=mv.convertElementToRawText,yA=el.readStyle,vA=rl.readOptions,il=Nv,bA=hr.Result;Fr.convertToHtml=xA;Fr.convertToMarkdown=wA;Fr.convert=fp;Fr.extractRawText=OA;Fr.images=ap;Fr.transforms=Na;Fr.underline=Cv;Fr.embedStyleMap=_A;Fr.readEmbeddedStyleMap=TA;function xA(t,e){return fp(t,e)}function wA(t,e){var n=Object.create(e||{});return n.outputFormat="markdown",fp(t,n)}function fp(t,e){return e=vA(e),il.openZip(t).tap(function(n){return dp.readStyleMap(n).then(function(r){e.embeddedStyleMap=r})}).then(function(n){return Av.read(n,t).then(function(r){return r.map(e.transformDocument)}).then(function(r){return SA(r,e)})})}function TA(t){return il.openZip(t).then(dp.readStyleMap)}function SA(t,e){var n=DA(e.readStyleMap()),r=gA.extend({},e,{styleMap:n.value}),i=new mA(r);return t.flatMapThen(function(o){return n.flatMapThen(function(a){return i.convertToHtml(o)})})}function DA(t){return bA.combine((t||[]).map(yA)).map(function(e){return e.filter(function(n){return!!n})})}function OA(t){return il.openZip(t).then(Av.read).then(function(e){return e.map(RA)})}function _A(t,e){return il.openZip(t).tap(function(n){return dp.writeStyleMap(n,e)}).then(function(n){return n.toArrayBuffer()}).then(function(n){return{toArrayBuffer:function(){return n},toBuffer:function(){return Buffer.from(n)}}})}Fr.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)};async function Zh(t,e){const{arrayBuffer:n}=e,r=await Fr.convertToHtml({arrayBuffer:n});t.executeSetHTML({main:r.value})}var pp={},ol={},tr={};Object.defineProperty(tr,"__esModule",{value:!0});function EA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var IA=function t(e,n){EA(this,t),this.data=e,this.text=n.text||e,this.options=n};tr.default=IA;Object.defineProperty(ol,"__esModule",{value:!0});ol.CODE39=void 0;var NA=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),FA=tr,PA=MA(FA);function MA(t){return t&&t.__esModule?t:{default:t}}function LA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CA(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function AA(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var UA=function(t){AA(e,t);function e(n,r){return LA(this,e),n=n.toUpperCase(),r.mod43&&(n+=VA(YA(n))),CA(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return NA(e,[{key:"encode",value:function(){for(var r=kh("*"),i=0;i<this.data.length;i++)r+=kh(this.data[i])+"0";return r+=kh("*"),{data:r,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),e}(PA.default),Uv=["0","1","2","3","4","5","6","7","8","9","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","-","."," ","$","/","+","%","*"],WA=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function kh(t){return XA(Wv(t))}function XA(t){return WA[t].toString(2)}function VA(t){return Uv[t]}function Wv(t){return Uv.indexOf(t)}function YA(t){for(var e=0,n=0;n<t.length;n++)e+=Wv(t[n]);return e=e%43,e}ol.CODE39=UA;var Zr={},gp={},Fa={},Xt={};Object.defineProperty(Xt,"__esModule",{value:!0});var ts;function Qh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xv=Xt.SET_A=0,Vv=Xt.SET_B=1,Yv=Xt.SET_C=2;Xt.SHIFT=98;var BA=Xt.START_A=103,ZA=Xt.START_B=104,kA=Xt.START_C=105;Xt.MODULO=103;Xt.STOP=106;Xt.FNC1=207;Xt.SET_BY_CODE=(ts={},Qh(ts,BA,Xv),Qh(ts,ZA,Vv),Qh(ts,kA,Yv),ts);Xt.SWAP={101:Xv,100:Vv,99:Yv};Xt.A_START_CHAR=String.fromCharCode(208);Xt.B_START_CHAR=String.fromCharCode(209);Xt.C_START_CHAR=String.fromCharCode(210);Xt.A_CHARS="[\0-_\xC8-\xCF]";Xt.B_CHARS="[ -\x7F\xC8-\xCF]";Xt.C_CHARS="(\xCF*[0-9]{2}\xCF*)";Xt.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011];Object.defineProperty(Fa,"__esModule",{value:!0});var QA=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),KA=tr,HA=GA(KA),ir=Xt;function GA(t){return t&&t.__esModule?t:{default:t}}function JA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zA(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function $A(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var jA=function(t){$A(e,t);function e(n,r){JA(this,e);var i=zA(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n.substring(1),r));return i.bytes=n.split("").map(function(o){return o.charCodeAt(0)}),i}return QA(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var r=this.bytes,i=r.shift()-105,o=ir.SET_BY_CODE[i];if(o===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&r.unshift(ir.FNC1);var a=e.next(r,1,o);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(i)+a.result+e.getBar((a.checksum+i)%ir.MODULO)+e.getBar(ir.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var r=this.options.ean128||!1;return typeof r=="string"&&(r=r.toLowerCase()==="true"),r}}],[{key:"getBar",value:function(r){return ir.BARS[r]?ir.BARS[r].toString():""}},{key:"correctIndex",value:function(r,i){if(i===ir.SET_A){var o=r.shift();return o<32?o+64:o-32}else return i===ir.SET_B?r.shift()-32:(r.shift()-48)*10+r.shift()-48}},{key:"next",value:function(r,i,o){if(!r.length)return{result:"",checksum:0};var a=void 0,s=void 0;if(r[0]>=200){s=r.shift()-105;var c=ir.SWAP[s];c!==void 0?a=e.next(r,i+1,c):((o===ir.SET_A||o===ir.SET_B)&&s===ir.SHIFT&&(r[0]=o===ir.SET_A?r[0]>95?r[0]-96:r[0]:r[0]<32?r[0]+96:r[0]),a=e.next(r,i+1,o))}else s=e.correctIndex(r,o),a=e.next(r,i+1,o);var u=e.getBar(s),l=s*i;return{result:u+a.result,checksum:l+a.checksum}}}]),e}(HA.default);Fa.default=jA;var mp={};Object.defineProperty(mp,"__esModule",{value:!0});var Ui=Xt,Bv=function(e){return e.match(new RegExp("^"+Ui.A_CHARS+"*"))[0].length},Zv=function(e){return e.match(new RegExp("^"+Ui.B_CHARS+"*"))[0].length},kv=function(e){return e.match(new RegExp("^"+Ui.C_CHARS+"*"))[0]};function Rp(t,e){var n=e?Ui.A_CHARS:Ui.B_CHARS,r=t.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(r)return r[1]+String.fromCharCode(204)+Qv(t.substring(r[1].length));var i=t.match(new RegExp("^"+n+"+"))[0];return i.length===t.length?t:i+String.fromCharCode(e?205:206)+Rp(t.substring(i.length),!e)}function Qv(t){var e=kv(t),n=e.length;if(n===t.length)return t;t=t.substring(n);var r=Bv(t)>=Zv(t);return e+String.fromCharCode(r?206:205)+Rp(t,r)}mp.default=function(t){var e=void 0,n=kv(t).length;if(n>=2)e=Ui.C_START_CHAR+Qv(t);else{var r=Bv(t)>Zv(t);e=(r?Ui.A_START_CHAR:Ui.B_START_CHAR)+Rp(t,r)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(i,o){return String.fromCharCode(203)+o})};Object.defineProperty(gp,"__esModule",{value:!0});var qA=Fa,eU=Kv(qA),tU=mp,nU=Kv(tU);function Kv(t){return t&&t.__esModule?t:{default:t}}function rU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function iU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var oU=function(t){iU(e,t);function e(n,r){if(rU(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(n))var i=Kh(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,nU.default)(n),r));else var i=Kh(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return Kh(i)}return e}(eU.default);gp.default=oU;var yp={};Object.defineProperty(yp,"__esModule",{value:!0});var aU=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),sU=Fa,cU=uU(sU),B0=Xt;function uU(t){return t&&t.__esModule?t:{default:t}}function lU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hU(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function dU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var fU=function(t){dU(e,t);function e(n,r){return lU(this,e),hU(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,B0.A_START_CHAR+n,r))}return aU(e,[{key:"valid",value:function(){return new RegExp("^"+B0.A_CHARS+"+$").test(this.data)}}]),e}(cU.default);yp.default=fU;var vp={};Object.defineProperty(vp,"__esModule",{value:!0});var pU=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),gU=Fa,mU=RU(gU),Z0=Xt;function RU(t){return t&&t.__esModule?t:{default:t}}function yU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vU(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function bU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var xU=function(t){bU(e,t);function e(n,r){return yU(this,e),vU(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,Z0.B_START_CHAR+n,r))}return pU(e,[{key:"valid",value:function(){return new RegExp("^"+Z0.B_CHARS+"+$").test(this.data)}}]),e}(mU.default);vp.default=xU;var bp={};Object.defineProperty(bp,"__esModule",{value:!0});var wU=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),TU=Fa,SU=DU(TU),k0=Xt;function DU(t){return t&&t.__esModule?t:{default:t}}function OU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _U(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function EU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var IU=function(t){EU(e,t);function e(n,r){return OU(this,e),_U(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,k0.C_START_CHAR+n,r))}return wU(e,[{key:"valid",value:function(){return new RegExp("^"+k0.C_CHARS+"+$").test(this.data)}}]),e}(SU.default);bp.default=IU;Object.defineProperty(Zr,"__esModule",{value:!0});Zr.CODE128C=Zr.CODE128B=Zr.CODE128A=Zr.CODE128=void 0;var NU=gp,FU=al(NU),PU=yp,MU=al(PU),LU=vp,CU=al(LU),AU=bp,UU=al(AU);function al(t){return t&&t.__esModule?t:{default:t}}Zr.CODE128=FU.default;Zr.CODE128A=MU.default;Zr.CODE128B=CU.default;Zr.CODE128C=UU.default;var Gn={},xp={},Sr={};Object.defineProperty(Sr,"__esModule",{value:!0});Sr.SIDE_BIN="101";Sr.MIDDLE_BIN="01010";Sr.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]};Sr.EAN2_STRUCTURE=["LL","LG","GL","GG"];Sr.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"];Sr.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"];var sl={},xo={};Object.defineProperty(xo,"__esModule",{value:!0});var WU=Sr,XU=function(e,n,r){var i=e.split("").map(function(a,s){return WU.BINARIES[n[s]]}).map(function(a,s){return a?a[e[s]]:""});if(r){var o=e.length-1;i=i.map(function(a,s){return s<o?a+r:a})}return i.join("")};xo.default=XU;Object.defineProperty(sl,"__esModule",{value:!0});var VU=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Xo=Sr,YU=xo,Q0=Hv(YU),BU=tr,ZU=Hv(BU);function Hv(t){return t&&t.__esModule?t:{default:t}}function kU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QU(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function KU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var HU=function(t){KU(e,t);function e(n,r){kU(this,e);var i=QU(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return i.fontSize=!r.flat&&r.fontSize>r.width*10?r.width*10:r.fontSize,i.guardHeight=r.height+i.fontSize/2+r.textMargin,i}return VU(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(r,i){return this.text.substr(r,i)}},{key:"leftEncode",value:function(r,i){return(0,Q0.default)(r,i)}},{key:"rightText",value:function(r,i){return this.text.substr(r,i)}},{key:"rightEncode",value:function(r,i){return(0,Q0.default)(r,i)}},{key:"encodeGuarded",value:function(){var r={fontSize:this.fontSize},i={height:this.guardHeight};return[{data:Xo.SIDE_BIN,options:i},{data:this.leftEncode(),text:this.leftText(),options:r},{data:Xo.MIDDLE_BIN,options:i},{data:this.rightEncode(),text:this.rightText(),options:r},{data:Xo.SIDE_BIN,options:i}]}},{key:"encodeFlat",value:function(){var r=[Xo.SIDE_BIN,this.leftEncode(),Xo.MIDDLE_BIN,this.rightEncode(),Xo.SIDE_BIN];return{data:r.join(""),text:this.text}}}]),e}(ZU.default);sl.default=HU;Object.defineProperty(xp,"__esModule",{value:!0});var GU=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ns=function t(e,n,r){e===null&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(i===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,n,r)}else{if("value"in i)return i.value;var a=i.get;return a===void 0?void 0:a.call(r)}},JU=Sr,zU=sl,$U=jU(zU);function jU(t){return t&&t.__esModule?t:{default:t}}function qU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e8(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function t8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var K0=function(e){var n=e.substr(0,12).split("").map(function(r){return+r}).reduce(function(r,i,o){return o%2?r+i*3:r+i},0);return(10-n%10)%10},n8=function(t){t8(e,t);function e(n,r){qU(this,e),n.search(/^[0-9]{12}$/)!==-1&&(n+=K0(n));var i=e8(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return i.lastChar=r.lastChar,i}return GU(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===K0(this.data)}},{key:"leftText",value:function(){return ns(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var r=this.data.substr(1,6),i=JU.EAN13_STRUCTURE[this.data[0]];return ns(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,r,i)}},{key:"rightText",value:function(){return ns(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var r=this.data.substr(7,6);return ns(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,r,"RRRRRR")}},{key:"encodeGuarded",value:function(){var r=ns(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(r.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(r.push({data:"00"}),r.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),r}}]),e}($U.default);xp.default=n8;var wp={};Object.defineProperty(wp,"__esModule",{value:!0});var r8=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Yc=function t(e,n,r){e===null&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(i===void 0){var o=Object.getPrototypeOf(e);return o===null?void 0:t(o,n,r)}else{if("value"in i)return i.value;var a=i.get;return a===void 0?void 0:a.call(r)}},i8=sl,o8=a8(i8);function a8(t){return t&&t.__esModule?t:{default:t}}function s8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c8(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function u8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var H0=function(e){var n=e.substr(0,7).split("").map(function(r){return+r}).reduce(function(r,i,o){return o%2?r+i:r+i*3},0);return(10-n%10)%10},l8=function(t){u8(e,t);function e(n,r){return s8(this,e),n.search(/^[0-9]{7}$/)!==-1&&(n+=H0(n)),c8(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return r8(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===H0(this.data)}},{key:"leftText",value:function(){return Yc(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var r=this.data.substr(0,4);return Yc(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,r,"LLLL")}},{key:"rightText",value:function(){return Yc(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var r=this.data.substr(4,4);return Yc(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,r,"RRRR")}}]),e}(o8.default);wp.default=l8;var Tp={};Object.defineProperty(Tp,"__esModule",{value:!0});var h8=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d8=Sr,f8=xo,p8=Gv(f8),g8=tr,m8=Gv(g8);function Gv(t){return t&&t.__esModule?t:{default:t}}function R8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y8(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function v8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var b8=function(e){var n=e.split("").map(function(r){return+r}).reduce(function(r,i,o){return o%2?r+i*9:r+i*3},0);return n%10},x8=function(t){v8(e,t);function e(n,r){return R8(this,e),y8(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return h8(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var r=d8.EAN5_STRUCTURE[b8(this.data)];return{data:"1011"+(0,p8.default)(this.data,r,"01"),text:this.text}}}]),e}(m8.default);Tp.default=x8;var Sp={};Object.defineProperty(Sp,"__esModule",{value:!0});var w8=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),T8=Sr,S8=xo,D8=Jv(S8),O8=tr,_8=Jv(O8);function Jv(t){return t&&t.__esModule?t:{default:t}}function E8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I8(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function N8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var F8=function(t){N8(e,t);function e(n,r){return E8(this,e),I8(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return w8(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var r=T8.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,D8.default)(this.data,r,"01"),text:this.text}}}]),e}(_8.default);Sp.default=F8;var nc={};Object.defineProperty(nc,"__esModule",{value:!0});var P8=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();nc.checksum=Cd;var M8=xo,Vo=zv(M8),L8=tr,C8=zv(L8);function zv(t){return t&&t.__esModule?t:{default:t}}function A8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U8(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function W8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var X8=function(t){W8(e,t);function e(n,r){A8(this,e),n.search(/^[0-9]{11}$/)!==-1&&(n+=Cd(n));var i=U8(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return i.displayValue=r.displayValue,r.fontSize>r.width*10?i.fontSize=r.width*10:i.fontSize=r.fontSize,i.guardHeight=r.height+i.fontSize/2+r.textMargin,i}return P8(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==Cd(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var r="";return r+="101",r+=(0,Vo.default)(this.data.substr(0,6),"LLLLLL"),r+="01010",r+=(0,Vo.default)(this.data.substr(6,6),"RRRRRR"),r+="101",{data:r,text:this.text}}},{key:"guardedEncoding",value:function(){var r=[];return this.displayValue&&r.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),r.push({data:"101"+(0,Vo.default)(this.data[0],"L"),options:{height:this.guardHeight}}),r.push({data:(0,Vo.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),r.push({data:"01010",options:{height:this.guardHeight}}),r.push({data:(0,Vo.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),r.push({data:(0,Vo.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&r.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),r}}]),e}(C8.default);function Cd(t){var e=0,n;for(n=1;n<11;n+=2)e+=parseInt(t[n]);for(n=0;n<11;n+=2)e+=parseInt(t[n])*3;return(10-e%10)%10}nc.default=X8;var Dp={};Object.defineProperty(Dp,"__esModule",{value:!0});var V8=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Y8=xo,B8=$v(Y8),Z8=tr,k8=$v(Z8),Q8=nc;function $v(t){return t&&t.__esModule?t:{default:t}}function K8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function H8(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var G8=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],J8=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],z8=function(t){H8(e,t);function e(n,r){K8(this,e);var i=Hh(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));if(i.isValid=!1,n.search(/^[0-9]{6}$/)!==-1)i.middleDigits=n,i.upcA=G0(n,"0"),i.text=r.text||""+i.upcA[0]+n+i.upcA[i.upcA.length-1],i.isValid=!0;else if(n.search(/^[01][0-9]{7}$/)!==-1)if(i.middleDigits=n.substring(1,n.length-1),i.upcA=G0(i.middleDigits,n[0]),i.upcA[i.upcA.length-1]===n[n.length-1])i.isValid=!0;else return Hh(i);else return Hh(i);return i.displayValue=r.displayValue,r.fontSize>r.width*10?i.fontSize=r.width*10:i.fontSize=r.fontSize,i.guardHeight=r.height+i.fontSize/2+r.textMargin,i}return V8(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var r="";return r+="101",r+=this.encodeMiddleDigits(),r+="010101",{data:r,text:this.text}}},{key:"guardedEncoding",value:function(){var r=[];return this.displayValue&&r.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),r.push({data:"101",options:{height:this.guardHeight}}),r.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),r.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&r.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),r}},{key:"encodeMiddleDigits",value:function(){var r=this.upcA[0],i=this.upcA[this.upcA.length-1],o=J8[parseInt(i)][parseInt(r)];return(0,B8.default)(this.middleDigits,o)}}]),e}(k8.default);function G0(t,e){for(var n=parseInt(t[t.length-1]),r=G8[n],i="",o=0,a=0;a<r.length;a++){var s=r[a];s==="X"?i+=t[o++]:i+=s}return i=""+e+i,""+i+(0,Q8.checksum)(i)}Dp.default=z8;Object.defineProperty(Gn,"__esModule",{value:!0});Gn.UPCE=Gn.UPC=Gn.EAN2=Gn.EAN5=Gn.EAN8=Gn.EAN13=void 0;var $8=xp,j8=Pa($8),q8=wp,e6=Pa(q8),t6=Tp,n6=Pa(t6),r6=Sp,i6=Pa(r6),o6=nc,a6=Pa(o6),s6=Dp,c6=Pa(s6);function Pa(t){return t&&t.__esModule?t:{default:t}}Gn.EAN13=j8.default;Gn.EAN8=e6.default;Gn.EAN5=n6.default;Gn.EAN2=i6.default;Gn.UPC=a6.default;Gn.UPCE=c6.default;var wa={},cl={},rc={};Object.defineProperty(rc,"__esModule",{value:!0});rc.START_BIN="1010";rc.END_BIN="11101";rc.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"];Object.defineProperty(cl,"__esModule",{value:!0});var u6=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Bc=rc,l6=tr,h6=d6(l6);function d6(t){return t&&t.__esModule?t:{default:t}}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p6(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function g6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var m6=function(t){g6(e,t);function e(){return f6(this,e),p6(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return u6(e,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var r=this,i=this.data.match(/.{2}/g).map(function(o){return r.encodePair(o)}).join("");return{data:Bc.START_BIN+i+Bc.END_BIN,text:this.text}}},{key:"encodePair",value:function(r){var i=Bc.BINARIES[r[1]];return Bc.BINARIES[r[0]].split("").map(function(o,a){return(o==="1"?"111":"1")+(i[a]==="1"?"000":"0")}).join("")}}]),e}(h6.default);cl.default=m6;var Op={};Object.defineProperty(Op,"__esModule",{value:!0});var R6=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y6=cl,v6=b6(y6);function b6(t){return t&&t.__esModule?t:{default:t}}function x6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w6(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function T6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var J0=function(e){var n=e.substr(0,13).split("").map(function(r){return parseInt(r,10)}).reduce(function(r,i,o){return r+i*(3-o%2*2)},0);return Math.ceil(n/10)*10-n},S6=function(t){T6(e,t);function e(n,r){return x6(this,e),n.search(/^[0-9]{13}$/)!==-1&&(n+=J0(n)),w6(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return R6(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===J0(this.data)}}]),e}(v6.default);Op.default=S6;Object.defineProperty(wa,"__esModule",{value:!0});wa.ITF14=wa.ITF=void 0;var D6=cl,O6=jv(D6),_6=Op,E6=jv(_6);function jv(t){return t&&t.__esModule?t:{default:t}}wa.ITF=O6.default;wa.ITF14=E6.default;var xr={},wo={};Object.defineProperty(wo,"__esModule",{value:!0});var I6=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),N6=tr,F6=P6(N6);function P6(t){return t&&t.__esModule?t:{default:t}}function M6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L6(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function C6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var A6=function(t){C6(e,t);function e(n,r){return M6(this,e),L6(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return I6(e,[{key:"encode",value:function(){for(var r="110",i=0;i<this.data.length;i++){var o=parseInt(this.data[i]),a=o.toString(2);a=U6(a,4-a.length);for(var s=0;s<a.length;s++)r+=a[s]=="0"?"100":"110"}return r+="1001",{data:r,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),e}(F6.default);function U6(t,e){for(var n=0;n<e;n++)t="0"+t;return t}wo.default=A6;var _p={},To={};Object.defineProperty(To,"__esModule",{value:!0});To.mod10=W6;To.mod11=X6;function W6(t){for(var e=0,n=0;n<t.length;n++){var r=parseInt(t[n]);(n+t.length)%2===0?e+=r:e+=r*2%10+Math.floor(r*2/10)}return(10-e%10)%10}function X6(t){for(var e=0,n=[2,3,4,5,6,7],r=0;r<t.length;r++){var i=parseInt(t[t.length-1-r]);e+=n[r%n.length]*i}return(11-e%11)%11}Object.defineProperty(_p,"__esModule",{value:!0});var V6=wo,Y6=Z6(V6),B6=To;function Z6(t){return t&&t.__esModule?t:{default:t}}function k6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q6(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function K6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var H6=function(t){K6(e,t);function e(n,r){return k6(this,e),Q6(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n+(0,B6.mod10)(n),r))}return e}(Y6.default);_p.default=H6;var Ep={};Object.defineProperty(Ep,"__esModule",{value:!0});var G6=wo,J6=$6(G6),z6=To;function $6(t){return t&&t.__esModule?t:{default:t}}function j6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q6(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function e5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var t5=function(t){e5(e,t);function e(n,r){return j6(this,e),q6(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n+(0,z6.mod11)(n),r))}return e}(J6.default);Ep.default=t5;var Ip={};Object.defineProperty(Ip,"__esModule",{value:!0});var n5=wo,r5=i5(n5),z0=To;function i5(t){return t&&t.__esModule?t:{default:t}}function o5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a5(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function s5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c5=function(t){s5(e,t);function e(n,r){return o5(this,e),n+=(0,z0.mod10)(n),n+=(0,z0.mod10)(n),a5(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return e}(r5.default);Ip.default=c5;var Np={};Object.defineProperty(Np,"__esModule",{value:!0});var u5=wo,l5=h5(u5),$0=To;function h5(t){return t&&t.__esModule?t:{default:t}}function d5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f5(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function p5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g5=function(t){p5(e,t);function e(n,r){return d5(this,e),n+=(0,$0.mod11)(n),n+=(0,$0.mod10)(n),f5(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return e}(l5.default);Np.default=g5;Object.defineProperty(xr,"__esModule",{value:!0});xr.MSI1110=xr.MSI1010=xr.MSI11=xr.MSI10=xr.MSI=void 0;var m5=wo,R5=ic(m5),y5=_p,v5=ic(y5),b5=Ep,x5=ic(b5),w5=Ip,T5=ic(w5),S5=Np,D5=ic(S5);function ic(t){return t&&t.__esModule?t:{default:t}}xr.MSI=R5.default;xr.MSI10=v5.default;xr.MSI11=x5.default;xr.MSI1010=T5.default;xr.MSI1110=D5.default;var ul={};Object.defineProperty(ul,"__esModule",{value:!0});ul.pharmacode=void 0;var O5=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_5=tr,E5=I5(_5);function I5(t){return t&&t.__esModule?t:{default:t}}function N5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F5(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function P5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var M5=function(t){P5(e,t);function e(n,r){N5(this,e);var i=F5(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return i.number=parseInt(n,10),i}return O5(e,[{key:"encode",value:function(){for(var r=this.number,i="";!isNaN(r)&&r!=0;)r%2===0?(i="11100"+i,r=(r-2)/2):(i="100"+i,r=(r-1)/2);return i=i.slice(0,-2),{data:i,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(E5.default);ul.pharmacode=M5;var ll={};Object.defineProperty(ll,"__esModule",{value:!0});ll.codabar=void 0;var L5=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),C5=tr,A5=U5(C5);function U5(t){return t&&t.__esModule?t:{default:t}}function W5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X5(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function V5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Y5=function(t){V5(e,t);function e(n,r){W5(this,e),n.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(n="A"+n+"A");var i=X5(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n.toUpperCase(),r));return i.text=i.options.text||i.text.replace(/[A-D]/g,""),i}return L5(e,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var r=[],i=this.getEncodings(),o=0;o<this.data.length;o++)r.push(i[this.data.charAt(o)]),o!==this.data.length-1&&r.push("0");return{text:this.text,data:r.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(A5.default);ll.codabar=Y5;var hl={};Object.defineProperty(hl,"__esModule",{value:!0});hl.GenericBarcode=void 0;var B5=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Z5=tr,k5=Q5(Z5);function Q5(t){return t&&t.__esModule?t:{default:t}}function K5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H5(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function G5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var J5=function(t){G5(e,t);function e(n,r){return K5(this,e),H5(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r))}return B5(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(k5.default);hl.GenericBarcode=J5;Object.defineProperty(pp,"__esModule",{value:!0});var z5=ol,Zc=Zr,Yo=Gn,j0=wa,rs=xr,$5=ul,j5=ll,q5=hl;pp.default={CODE39:z5.CODE39,CODE128:Zc.CODE128,CODE128A:Zc.CODE128A,CODE128B:Zc.CODE128B,CODE128C:Zc.CODE128C,EAN13:Yo.EAN13,EAN8:Yo.EAN8,EAN5:Yo.EAN5,EAN2:Yo.EAN2,UPC:Yo.UPC,UPCE:Yo.UPCE,ITF14:j0.ITF14,ITF:j0.ITF,MSI:rs.MSI,MSI10:rs.MSI10,MSI11:rs.MSI11,MSI1010:rs.MSI1010,MSI1110:rs.MSI1110,pharmacode:$5.pharmacode,codabar:j5.codabar,GenericBarcode:q5.GenericBarcode};var Ma={};Object.defineProperty(Ma,"__esModule",{value:!0});var e4=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};Ma.default=function(t,e){return e4({},t,e)};var Fp={};Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=t4;function t4(t){var e=[];function n(r){if(Array.isArray(r))for(var i=0;i<r.length;i++)n(r[i]);else r.text=r.text||"",r.data=r.data||"",e.push(r)}return n(t),e}var Pp={};Object.defineProperty(Pp,"__esModule",{value:!0});Pp.default=n4;function n4(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}var Mp={},Lp={},dl={};Object.defineProperty(dl,"__esModule",{value:!0});dl.default=r4;function r4(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var n in e)e.hasOwnProperty(n)&&(n=e[n],typeof t[n]=="string"&&(t[n]=parseInt(t[n],10)));return typeof t.displayValue=="string"&&(t.displayValue=t.displayValue!="false"),t}var fl={};Object.defineProperty(fl,"__esModule",{value:!0});var i4={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};fl.default=i4;Object.defineProperty(Lp,"__esModule",{value:!0});var o4=dl,a4=qv(o4),s4=fl,q0=qv(s4);function qv(t){return t&&t.__esModule?t:{default:t}}function c4(t){var e={};for(var n in q0.default)q0.default.hasOwnProperty(n)&&(t.hasAttribute("jsbarcode-"+n.toLowerCase())&&(e[n]=t.getAttribute("jsbarcode-"+n.toLowerCase())),t.hasAttribute("data-"+n.toLowerCase())&&(e[n]=t.getAttribute("data-"+n.toLowerCase())));return e.value=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,a4.default)(e),e}Lp.default=c4;var Cp={},Ap={},sr={};Object.defineProperty(sr,"__esModule",{value:!0});sr.getTotalWidthOfEncodings=sr.calculateEncodingAttributes=sr.getBarcodePadding=sr.getEncodingHeight=sr.getMaximumHeightOfEncodings=void 0;var u4=Ma,l4=h4(u4);function h4(t){return t&&t.__esModule?t:{default:t}}function eb(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function tb(t,e,n){if(n.displayValue&&e<t){if(n.textAlign=="center")return Math.floor((t-e)/2);if(n.textAlign=="left")return 0;if(n.textAlign=="right")return Math.floor(t-e)}return 0}function d4(t,e,n){for(var r=0;r<t.length;r++){var i=t[r],o=(0,l4.default)(e,i.options),a;o.displayValue?a=g4(i.text,o,n):a=0;var s=i.data.length*o.width;i.width=Math.ceil(Math.max(a,s)),i.height=eb(i,o),i.barcodePadding=tb(a,s,o)}}function f4(t){for(var e=0,n=0;n<t.length;n++)e+=t[n].width;return e}function p4(t){for(var e=0,n=0;n<t.length;n++)t[n].height>e&&(e=t[n].height);return e}function g4(t,e,n){var r;if(n)r=n;else if(typeof document!="undefined")r=document.createElement("canvas").getContext("2d");else return 0;r.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var i=r.measureText(t);if(!i)return 0;var o=i.width;return o}sr.getMaximumHeightOfEncodings=p4;sr.getEncodingHeight=eb;sr.getBarcodePadding=tb;sr.calculateEncodingAttributes=d4;sr.getTotalWidthOfEncodings=f4;Object.defineProperty(Ap,"__esModule",{value:!0});var m4=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),R4=Ma,y4=v4(R4),Gh=sr;function v4(t){return t&&t.__esModule?t:{default:t}}function b4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var x4=function(){function t(e,n,r){b4(this,t),this.canvas=e,this.encodings=n,this.options=r}return m4(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var n=0;n<this.encodings.length;n++){var r=(0,y4.default)(this.options,this.encodings[n].options);this.drawCanvasBarcode(r,this.encodings[n]),this.drawCanvasText(r,this.encodings[n]),this.moveCanvasDrawing(this.encodings[n])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var n=this.canvas.getContext("2d");n.save(),(0,Gh.calculateEncodingAttributes)(this.encodings,this.options,n);var r=(0,Gh.getTotalWidthOfEncodings)(this.encodings),i=(0,Gh.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=r+this.options.marginLeft+this.options.marginRight,this.canvas.height=i,n.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(n.fillStyle=this.options.background,n.fillRect(0,0,this.canvas.width,this.canvas.height)),n.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(n,r){var i=this.canvas.getContext("2d"),o=r.data,a;n.textPosition=="top"?a=n.marginTop+n.fontSize+n.textMargin:a=n.marginTop,i.fillStyle=n.lineColor;for(var s=0;s<o.length;s++){var c=s*n.width+r.barcodePadding;o[s]==="1"?i.fillRect(c,a,n.width,n.height):o[s]&&i.fillRect(c,a,n.width,n.height*o[s])}}},{key:"drawCanvasText",value:function(n,r){var i=this.canvas.getContext("2d"),o=n.fontOptions+" "+n.fontSize+"px "+n.font;if(n.displayValue){var a,s;n.textPosition=="top"?s=n.marginTop+n.fontSize-n.textMargin:s=n.height+n.textMargin+n.marginTop+n.fontSize,i.font=o,n.textAlign=="left"||r.barcodePadding>0?(a=0,i.textAlign="left"):n.textAlign=="right"?(a=r.width-1,i.textAlign="right"):(a=r.width/2,i.textAlign="center"),i.fillText(r.text,a,s)}}},{key:"moveCanvasDrawing",value:function(n){var r=this.canvas.getContext("2d");r.translate(n.width,0)}},{key:"restoreCanvas",value:function(){var n=this.canvas.getContext("2d");n.restore()}}]),t}();Ap.default=x4;var Up={};Object.defineProperty(Up,"__esModule",{value:!0});var w4=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),T4=Ma,S4=D4(T4),Jh=sr;function D4(t){return t&&t.__esModule?t:{default:t}}function O4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var kc="http://www.w3.org/2000/svg",_4=function(){function t(e,n,r){O4(this,t),this.svg=e,this.encodings=n,this.options=r,this.document=r.xmlDocument||document}return w4(t,[{key:"render",value:function(){var n=this.options.marginLeft;this.prepareSVG();for(var r=0;r<this.encodings.length;r++){var i=this.encodings[r],o=(0,S4.default)(this.options,i.options),a=this.createGroup(n,o.marginTop,this.svg);this.setGroupOptions(a,o),this.drawSvgBarcode(a,o,i),this.drawSVGText(a,o,i),n+=i.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,Jh.calculateEncodingAttributes)(this.encodings,this.options);var n=(0,Jh.getTotalWidthOfEncodings)(this.encodings),r=(0,Jh.getMaximumHeightOfEncodings)(this.encodings),i=n+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(i,r),this.options.background&&this.drawRect(0,0,i,r,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(n,r,i){var o=i.data,a;r.textPosition=="top"?a=r.fontSize+r.textMargin:a=0;for(var s=0,c=0,u=0;u<o.length;u++)c=u*r.width+i.barcodePadding,o[u]==="1"?s++:s>0&&(this.drawRect(c-r.width*s,a,r.width*s,r.height,n),s=0);s>0&&this.drawRect(c-r.width*(s-1),a,r.width*s,r.height,n)}},{key:"drawSVGText",value:function(n,r,i){var o=this.document.createElementNS(kc,"text");if(r.displayValue){var a,s;o.setAttribute("style","font:"+r.fontOptions+" "+r.fontSize+"px "+r.font),r.textPosition=="top"?s=r.fontSize-r.textMargin:s=r.height+r.textMargin+r.fontSize,r.textAlign=="left"||i.barcodePadding>0?(a=0,o.setAttribute("text-anchor","start")):r.textAlign=="right"?(a=i.width-1,o.setAttribute("text-anchor","end")):(a=i.width/2,o.setAttribute("text-anchor","middle")),o.setAttribute("x",a),o.setAttribute("y",s),o.appendChild(this.document.createTextNode(i.text)),n.appendChild(o)}}},{key:"setSvgAttributes",value:function(n,r){var i=this.svg;i.setAttribute("width",n+"px"),i.setAttribute("height",r+"px"),i.setAttribute("x","0px"),i.setAttribute("y","0px"),i.setAttribute("viewBox","0 0 "+n+" "+r),i.setAttribute("xmlns",kc),i.setAttribute("version","1.1"),i.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(n,r,i){var o=this.document.createElementNS(kc,"g");return o.setAttribute("transform","translate("+n+", "+r+")"),i.appendChild(o),o}},{key:"setGroupOptions",value:function(n,r){n.setAttribute("style","fill:"+r.lineColor+";")}},{key:"drawRect",value:function(n,r,i,o,a){var s=this.document.createElementNS(kc,"rect");return s.setAttribute("x",n),s.setAttribute("y",r),s.setAttribute("width",i),s.setAttribute("height",o),a.appendChild(s),s}}]),t}();Up.default=_4;var Wp={};Object.defineProperty(Wp,"__esModule",{value:!0});var E4=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function I4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var N4=function(){function t(e,n,r){I4(this,t),this.object=e,this.encodings=n,this.options=r}return E4(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();Wp.default=N4;Object.defineProperty(Cp,"__esModule",{value:!0});var F4=Ap,P4=Xp(F4),M4=Up,L4=Xp(M4),C4=Wp,A4=Xp(C4);function Xp(t){return t&&t.__esModule?t:{default:t}}Cp.default={CanvasRenderer:P4.default,SVGRenderer:L4.default,ObjectRenderer:A4.default};var La={};Object.defineProperty(La,"__esModule",{value:!0});function Vp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var U4=function(t){Bp(e,t);function e(n,r){Vp(this,e);var i=Yp(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.name="InvalidInputException",i.symbology=n,i.input=r,i.message='"'+i.input+'" is not a valid input for '+i.symbology,i}return e}(Error),W4=function(t){Bp(e,t);function e(){Vp(this,e);var n=Yp(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.name="InvalidElementException",n.message="Not supported type to render on",n}return e}(Error),X4=function(t){Bp(e,t);function e(){Vp(this,e);var n=Yp(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.name="NoElementException",n.message="No element to render on.",n}return e}(Error);La.InvalidInputException=U4;La.InvalidElementException=W4;La.NoElementException=X4;Object.defineProperty(Mp,"__esModule",{value:!0});var V4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y4=Lp,Ad=nb(Y4),B4=Cp,us=nb(B4),Z4=La;function nb(t){return t&&t.__esModule?t:{default:t}}function Zp(t){if(typeof t=="string")return k4(t);if(Array.isArray(t)){for(var e=[],n=0;n<t.length;n++)e.push(Zp(t[n]));return e}else{if(typeof HTMLCanvasElement!="undefined"&&t instanceof HTMLImageElement)return Q4(t);if(t&&t.nodeName&&t.nodeName.toLowerCase()==="svg"||typeof SVGElement!="undefined"&&t instanceof SVGElement)return{element:t,options:(0,Ad.default)(t),renderer:us.default.SVGRenderer};if(typeof HTMLCanvasElement!="undefined"&&t instanceof HTMLCanvasElement)return{element:t,options:(0,Ad.default)(t),renderer:us.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:us.default.CanvasRenderer};if(t&&(typeof t=="undefined"?"undefined":V4(t))==="object"&&!t.nodeName)return{element:t,renderer:us.default.ObjectRenderer};throw new Z4.InvalidElementException}}function k4(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var n=[],r=0;r<e.length;r++)n.push(Zp(e[r]));return n}}function Q4(t){var e=document.createElement("canvas");return{element:e,options:(0,Ad.default)(t),renderer:us.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",e.toDataURL())}}}Mp.default=Zp;var kp={};Object.defineProperty(kp,"__esModule",{value:!0});var K4=function(){function t(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function H4(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var G4=function(){function t(e){H4(this,t),this.api=e}return K4(t,[{key:"handleCatch",value:function(n){if(n.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw n.message;else throw n;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(n){try{var r=n.apply(void 0,arguments);return this.api._options.valid(!0),r}catch(i){return this.handleCatch(i),this.api}}}]),t}();kp.default=G4;var J4=pp,ho=ki(J4),z4=Ma,oc=ki(z4),$4=Fp,rb=ki($4),j4=Pp,em=ki(j4),q4=Mp,eW=ki(q4),tW=dl,nW=ki(tW),rW=kp,iW=ki(rW),ib=La,oW=fl,ob=ki(oW);function ki(t){return t&&t.__esModule?t:{default:t}}var di=function(){},pl=function(e,n,r){var i=new di;if(typeof e=="undefined")throw Error("No element to render on was provided.");return i._renderProperties=(0,eW.default)(e),i._encodings=[],i._options=ob.default,i._errorHandler=new iW.default(i),typeof n!="undefined"&&(r=r||{},r.format||(r.format=sb()),i.options(r)[r.format](n,r).render()),i};pl.getModule=function(t){return ho.default[t]};for(var tm in ho.default)ho.default.hasOwnProperty(tm)&&aW(ho.default,tm);function aW(t,e){di.prototype[e]=di.prototype[e.toUpperCase()]=di.prototype[e.toLowerCase()]=function(n,r){var i=this;return i._errorHandler.wrapBarcodeCall(function(){r.text=typeof r.text=="undefined"?void 0:""+r.text;var o=(0,oc.default)(i._options,r);o=(0,nW.default)(o);var a=t[e],s=ab(n,a,o);return i._encodings.push(s),i})}}function ab(t,e,n){t=""+t;var r=new e(t,n);if(!r.valid())throw new ib.InvalidInputException(r.constructor.name,t);var i=r.encode();i=(0,rb.default)(i);for(var o=0;o<i.length;o++)i[o].options=(0,oc.default)(n,i[o].options);return i}function sb(){return ho.default.CODE128?"CODE128":Object.keys(ho.default)[0]}di.prototype.options=function(t){return this._options=(0,oc.default)(this._options,t),this};di.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this};di.prototype.init=function(){if(!!this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var t;for(var e in this._renderProperties){t=this._renderProperties[e];var n=(0,oc.default)(this._options,t.options);n.format=="auto"&&(n.format=sb()),this._errorHandler.wrapBarcodeCall(function(){var r=n.value,i=ho.default[n.format.toUpperCase()],o=ab(r,i,n);Ud(t,o,n)})}}};di.prototype.render=function(){if(!this._renderProperties)throw new ib.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)Ud(this._renderProperties[t],this._encodings,this._options);else Ud(this._renderProperties,this._encodings,this._options);return this};di.prototype._defaults=ob.default;function Ud(t,e,n){e=(0,rb.default)(e);for(var r=0;r<e.length;r++)e[r].options=(0,oc.default)(n,e[r].options),(0,em.default)(e[r].options);(0,em.default)(n);var i=t.renderer,o=new i(t.element,e,n);o.render(),t.afterRender&&t.afterRender()}typeof window!="undefined"&&(window.JsBarcode=pl);typeof jQuery!="undefined"&&(jQuery.fn.JsBarcode=function(t,e){var n=[];return jQuery(this).each(function(){n.push(this)}),pl(n,t,e)});var sW=pl;function cW(t){return`data:image/svg+xml;base64,${btoa(decodeURIComponent(t.outerHTML))}`}function uW(t,e){const n=document.createElement("svg");sW(n,e.content),t.executeInsertElementList([{type:fe.IMAGE,value:cW(n),width:e.width,height:e.height}])}function lW(t,e){var n=Object.setPrototypeOf;n?n(t,e):t.__proto__=e}function hW(t,e){e===void 0&&(e=t.constructor);var n=Error.captureStackTrace;n&&n(t,e)}var dW=function(){var t=function(n,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(i[a]=o[a])},t(n,r)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),fW=function(t){dW(e,t);function e(n,r){var i=this.constructor,o=t.call(this,n,r)||this;return Object.defineProperty(o,"name",{value:i.name,enumerable:!1,configurable:!0}),lW(o,i.prototype),hW(o),o}return e}(Error),pW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),nr=function(t){pW(e,t);function e(n){n===void 0&&(n=void 0);var r=t.call(this,n)||this;return r.message=n,r}return e.prototype.getKind=function(){var n=this.constructor;return n.kind},e.kind="Exception",e}(fW),gW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Jt=function(t){gW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="ArgumentException",e}(nr),mW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ge=function(t){mW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="IllegalArgumentException",e}(nr),cb=function(){function t(e){if(this.binarizer=e,e===null)throw new Ge("Binarizer must be non-null.")}return t.prototype.getWidth=function(){return this.binarizer.getWidth()},t.prototype.getHeight=function(){return this.binarizer.getHeight()},t.prototype.getBlackRow=function(e,n){return this.binarizer.getBlackRow(e,n)},t.prototype.getBlackMatrix=function(){return(this.matrix===null||this.matrix===void 0)&&(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},t.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},t.prototype.crop=function(e,n,r,i){var o=this.binarizer.getLuminanceSource().crop(e,n,r,i);return new t(this.binarizer.createBinarizer(o))},t.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},t.prototype.rotateCounterClockwise=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new t(this.binarizer.createBinarizer(e))},t.prototype.rotateCounterClockwise45=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new t(this.binarizer.createBinarizer(e))},t.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch{return""}},t}(),RW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),qt=function(t){RW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(nr),yW=function(){function t(e){this.source=e}return t.prototype.getLuminanceSource=function(){return this.source},t.prototype.getWidth=function(){return this.source.getWidth()},t.prototype.getHeight=function(){return this.source.getHeight()},t}(),Mt=function(){function t(){}return t.arraycopy=function(e,n,r,i,o){for(;o--;)r[i++]=e[n++]},t.currentTimeMillis=function(){return Date.now()},t}(),vW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qp=function(t){vW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="IndexOutOfBoundsException",e}(nr),bW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),nm=function(t){bW(e,t);function e(n,r){n===void 0&&(n=void 0),r===void 0&&(r=void 0);var i=t.call(this,r)||this;return i.index=n,i.message=r,i}return e.kind="ArrayIndexOutOfBoundsException",e}(Qp),xW=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},sn=function(){function t(){}return t.fill=function(e,n){for(var r=0,i=e.length;r<i;r++)e[r]=n},t.fillWithin=function(e,n,r,i){t.rangeCheck(e.length,n,r);for(var o=n;o<r;o++)e[o]=i},t.rangeCheck=function(e,n,r){if(n>r)throw new Ge("fromIndex("+n+") > toIndex("+r+")");if(n<0)throw new nm(n);if(r>e)throw new nm(r)},t.asList=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e},t.create=function(e,n,r){var i=Array.from({length:e});return i.map(function(o){return Array.from({length:n}).fill(r)})},t.createInt32Array=function(e,n,r){var i=Array.from({length:e});return i.map(function(o){return Int32Array.from({length:n}).fill(r)})},t.equals=function(e,n){if(!e||!n||!e.length||!n.length||e.length!==n.length)return!1;for(var r=0,i=e.length;r<i;r++)if(e[r]!==n[r])return!1;return!0},t.hashCode=function(e){var n,r;if(e===null)return 0;var i=1;try{for(var o=xW(e),a=o.next();!a.done;a=o.next()){var s=a.value;i=31*i+s}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i},t.fillUint8Array=function(e,n){for(var r=0;r!==e.length;r++)e[r]=n},t.copyOf=function(e,n){return e.slice(0,n)},t.copyOfUint8Array=function(e,n){if(e.length<=n){var r=new Uint8Array(n);return r.set(e),r}return e.slice(0,n)},t.copyOfRange=function(e,n,r){var i=r-n,o=new Int32Array(i);return Mt.arraycopy(e,n,o,0,i),o},t.binarySearch=function(e,n,r){r===void 0&&(r=t.numberComparator);for(var i=0,o=e.length-1;i<=o;){var a=o+i>>1,s=r(n,e[a]);if(s>0)i=a+1;else if(s<0)o=a-1;else return a}return-i-1},t.numberComparator=function(e,n){return e-n},t}(),$t=function(){function t(){}return t.numberOfTrailingZeros=function(e){var n;if(e===0)return 32;var r=31;return n=e<<16,n!==0&&(r-=16,e=n),n=e<<8,n!==0&&(r-=8,e=n),n=e<<4,n!==0&&(r-=4,e=n),n=e<<2,n!==0&&(r-=2,e=n),r-(e<<1>>>31)},t.numberOfLeadingZeros=function(e){if(e===0)return 32;var n=1;return e>>>16===0&&(n+=16,e<<=16),e>>>24===0&&(n+=8,e<<=8),e>>>28===0&&(n+=4,e<<=4),e>>>30===0&&(n+=2,e<<=2),n-=e>>>31,n},t.toHexString=function(e){return e.toString(16)},t.toBinaryString=function(e){return String(parseInt(String(e),2))},t.bitCount=function(e){return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),e=e+(e>>>4)&252645135,e=e+(e>>>8),e=e+(e>>>16),e&63},t.truncDivision=function(e,n){return Math.trunc(e/n)},t.parseInt=function(e,n){return n===void 0&&(n=void 0),parseInt(e,n)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}(),Jn=function(){function t(e,n){e===void 0?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,n==null?this.bits=t.makeArray(e):this.bits=n)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>this.bits.length*32){var n=t.makeArray(e);Mt.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},t.prototype.get=function(e){return(this.bits[Math.floor(e/32)]&1<<(e&31))!==0},t.prototype.set=function(e){this.bits[Math.floor(e/32)]|=1<<(e&31)},t.prototype.flip=function(e){this.bits[Math.floor(e/32)]^=1<<(e&31)},t.prototype.getNextSet=function(e){var n=this.size;if(e>=n)return n;var r=this.bits,i=Math.floor(e/32),o=r[i];o&=~((1<<(e&31))-1);for(var a=r.length;o===0;){if(++i===a)return n;o=r[i]}var s=i*32+$t.numberOfTrailingZeros(o);return s>n?n:s},t.prototype.getNextUnset=function(e){var n=this.size;if(e>=n)return n;var r=this.bits,i=Math.floor(e/32),o=~r[i];o&=~((1<<(e&31))-1);for(var a=r.length;o===0;){if(++i===a)return n;o=~r[i]}var s=i*32+$t.numberOfTrailingZeros(o);return s>n?n:s},t.prototype.setBulk=function(e,n){this.bits[Math.floor(e/32)]=n},t.prototype.setRange=function(e,n){if(n<e||e<0||n>this.size)throw new Ge;if(n!==e){n--;for(var r=Math.floor(e/32),i=Math.floor(n/32),o=this.bits,a=r;a<=i;a++){var s=a>r?0:e&31,c=a<i?31:n&31,u=(2<<c)-(1<<s);o[a]|=u}}},t.prototype.clear=function(){for(var e=this.bits.length,n=this.bits,r=0;r<e;r++)n[r]=0},t.prototype.isRange=function(e,n,r){if(n<e||e<0||n>this.size)throw new Ge;if(n===e)return!0;n--;for(var i=Math.floor(e/32),o=Math.floor(n/32),a=this.bits,s=i;s<=o;s++){var c=s>i?0:e&31,u=s<o?31:n&31,l=(2<<u)-(1<<c)&4294967295;if((a[s]&l)!==(r?l:0))return!1}return!0},t.prototype.appendBit=function(e){this.ensureCapacity(this.size+1),e&&(this.bits[Math.floor(this.size/32)]|=1<<(this.size&31)),this.size++},t.prototype.appendBits=function(e,n){if(n<0||n>32)throw new Ge("Num bits must be between 0 and 32");this.ensureCapacity(this.size+n);for(var r=n;r>0;r--)this.appendBit((e>>r-1&1)===1)},t.prototype.appendBitArray=function(e){var n=e.size;this.ensureCapacity(this.size+n);for(var r=0;r<n;r++)this.appendBit(e.get(r))},t.prototype.xor=function(e){if(this.size!==e.size)throw new Ge("Sizes don't match");for(var n=this.bits,r=0,i=n.length;r<i;r++)n[r]^=e.bits[r]},t.prototype.toBytes=function(e,n,r,i){for(var o=0;o<i;o++){for(var a=0,s=0;s<8;s++)this.get(e)&&(a|=1<<7-s),e++;n[r+o]=a}},t.prototype.getBitArray=function(){return this.bits},t.prototype.reverse=function(){for(var e=new Int32Array(this.bits.length),n=Math.floor((this.size-1)/32),r=n+1,i=this.bits,o=0;o<r;o++){var a=i[o];a=a>>1&1431655765|(a&1431655765)<<1,a=a>>2&858993459|(a&858993459)<<2,a=a>>4&252645135|(a&252645135)<<4,a=a>>8&16711935|(a&16711935)<<8,a=a>>16&65535|(a&65535)<<16,e[n-o]=a}if(this.size!==r*32){for(var s=r*32-this.size,c=e[0]>>>s,o=1;o<r;o++){var u=e[o];c|=u<<32-s,e[o-1]=c,c=u>>>s}e[r-1]=c}this.bits=e},t.makeArray=function(e){return new Int32Array(Math.floor((e+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.size===n.size&&sn.equals(this.bits,n.bits)},t.prototype.hashCode=function(){return 31*this.size+sn.hashCode(this.bits)},t.prototype.toString=function(){for(var e="",n=0,r=this.size;n<r;n++)(n&7)===0&&(e+=" "),e+=this.get(n)?"X":".";return e},t.prototype.clone=function(){return new t(this.size,this.bits.slice())},t.prototype.toArray=function(){for(var e=[],n=0,r=this.size;n<r;n++)e.push(this.get(n));return e},t}(),Wd;(function(t){t[t.OTHER=0]="OTHER",t[t.PURE_BARCODE=1]="PURE_BARCODE",t[t.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",t[t.TRY_HARDER=3]="TRY_HARDER",t[t.CHARACTER_SET=4]="CHARACTER_SET",t[t.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",t[t.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t.ENABLE_CODE_39_EXTENDED_MODE=7]="ENABLE_CODE_39_EXTENDED_MODE",t[t.ASSUME_GS1=8]="ASSUME_GS1",t[t.RETURN_CODABAR_START_END=9]="RETURN_CODABAR_START_END",t[t.NEED_RESULT_POINT_CALLBACK=10]="NEED_RESULT_POINT_CALLBACK",t[t.ALLOWED_EAN_EXTENSIONS=11]="ALLOWED_EAN_EXTENSIONS"})(Wd||(Wd={}));var Lt=Wd,wW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Le=function(t){wW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(nr),TW=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},wt;(function(t){t[t.Cp437=0]="Cp437",t[t.ISO8859_1=1]="ISO8859_1",t[t.ISO8859_2=2]="ISO8859_2",t[t.ISO8859_3=3]="ISO8859_3",t[t.ISO8859_4=4]="ISO8859_4",t[t.ISO8859_5=5]="ISO8859_5",t[t.ISO8859_6=6]="ISO8859_6",t[t.ISO8859_7=7]="ISO8859_7",t[t.ISO8859_8=8]="ISO8859_8",t[t.ISO8859_9=9]="ISO8859_9",t[t.ISO8859_10=10]="ISO8859_10",t[t.ISO8859_11=11]="ISO8859_11",t[t.ISO8859_13=12]="ISO8859_13",t[t.ISO8859_14=13]="ISO8859_14",t[t.ISO8859_15=14]="ISO8859_15",t[t.ISO8859_16=15]="ISO8859_16",t[t.SJIS=16]="SJIS",t[t.Cp1250=17]="Cp1250",t[t.Cp1251=18]="Cp1251",t[t.Cp1252=19]="Cp1252",t[t.Cp1256=20]="Cp1256",t[t.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",t[t.UTF8=22]="UTF8",t[t.ASCII=23]="ASCII",t[t.Big5=24]="Big5",t[t.GB18030=25]="GB18030",t[t.EUC_KR=26]="EUC_KR"})(wt||(wt={}));var an=function(){function t(e,n,r){for(var i,o,a=[],s=3;s<arguments.length;s++)a[s-3]=arguments[s];this.valueIdentifier=e,this.name=r,typeof n=="number"?this.values=Int32Array.from([n]):this.values=n,this.otherEncodingNames=a,t.VALUE_IDENTIFIER_TO_ECI.set(e,this),t.NAME_TO_ECI.set(r,this);for(var c=this.values,u=0,l=c.length;u!==l;u++){var h=c[u];t.VALUES_TO_ECI.set(h,this)}try{for(var d=TW(a),f=d.next();!f.done;f=d.next()){var p=f.value;t.NAME_TO_ECI.set(p,this)}}catch(g){i={error:g}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}return t.prototype.getValueIdentifier=function(){return this.valueIdentifier},t.prototype.getName=function(){return this.name},t.prototype.getValue=function(){return this.values[0]},t.getCharacterSetECIByValue=function(e){if(e<0||e>=900)throw new Le("incorect value");var n=t.VALUES_TO_ECI.get(e);if(n===void 0)throw new Le("incorect value");return n},t.getCharacterSetECIByName=function(e){var n=t.NAME_TO_ECI.get(e);if(n===void 0)throw new Le("incorect value");return n},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.getName()===n.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(wt.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(wt.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(wt.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(wt.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(wt.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(wt.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(wt.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(wt.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(wt.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(wt.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(wt.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(wt.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(wt.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(wt.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(wt.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(wt.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(wt.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(wt.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(wt.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(wt.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(wt.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(wt.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(wt.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(wt.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(wt.Big5,28,"Big5"),t.GB18030=new t(wt.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(wt.EUC_KR,30,"EUC_KR","EUC-KR"),t}(),SW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),nu=function(t){SW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="UnsupportedOperationException",e}(nr),wr=function(){function t(){}return t.decode=function(e,n){var r=this.encodingName(n);return this.customDecoder?this.customDecoder(e,r):typeof TextDecoder=="undefined"||this.shouldDecodeOnFallback(r)?this.decodeFallback(e,r):new TextDecoder(r).decode(e)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&e==="ISO-8859-1"},t.encode=function(e,n){var r=this.encodingName(n);return this.customEncoder?this.customEncoder(e,r):typeof TextEncoder=="undefined"?this.encodeFallback(e):new TextEncoder().encode(e)},t.isBrowser=function(){return typeof window!="undefined"&&{}.toString.call(window)==="[object Window]"},t.encodingName=function(e){return typeof e=="string"?e:e.getName()},t.encodingCharacterSet=function(e){return e instanceof an?e:an.getCharacterSetECIByName(e)},t.decodeFallback=function(e,n){var r=this.encodingCharacterSet(n);if(t.isDecodeFallbackSupported(r)){for(var i="",o=0,a=e.length;o<a;o++){var s=e[o].toString(16);s.length<2&&(s="0"+s),i+="%"+s}return decodeURIComponent(i)}if(r.equals(an.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new nu("Encoding "+this.encodingName(n)+" not supported by fallback.")},t.isDecodeFallbackSupported=function(e){return e.equals(an.UTF8)||e.equals(an.ISO8859_1)||e.equals(an.ASCII)},t.encodeFallback=function(e){for(var n=btoa(unescape(encodeURIComponent(e))),r=n.split(""),i=[],o=0;o<r.length;o++)i.push(r[o].charCodeAt(0));return new Uint8Array(i)},t}(),Pt=function(){function t(){}return t.castAsNonUtf8Char=function(e,n){n===void 0&&(n=null);var r=n?n.getName():this.ISO88591;return wr.decode(new Uint8Array([e]),r)},t.guessEncoding=function(e,n){if(n!=null&&n.get(Lt.CHARACTER_SET)!==void 0)return n.get(Lt.CHARACTER_SET).toString();for(var r=e.length,i=!0,o=!0,a=!0,s=0,c=0,u=0,l=0,h=0,d=0,f=0,p=0,g=0,y=0,R=0,m=e.length>3&&e[0]===239&&e[1]===187&&e[2]===191,v=0;v<r&&(i||o||a);v++){var x=e[v]&255;a&&(s>0?(x&128)===0?a=!1:s--:(x&128)!==0&&((x&64)===0?a=!1:(s++,(x&32)===0?c++:(s++,(x&16)===0?u++:(s++,(x&8)===0?l++:a=!1))))),i&&(x>127&&x<160?i=!1:x>159&&(x<192||x===215||x===247)&&R++),o&&(h>0?x<64||x===127||x>252?o=!1:h--:x===128||x===160||x>239?o=!1:x>160&&x<224?(d++,p=0,f++,f>g&&(g=f)):x>127?(h++,f=0,p++,p>y&&(y=p)):(f=0,p=0))}return a&&s>0&&(a=!1),o&&h>0&&(o=!1),a&&(m||c+u+l>0)?t.UTF8:o&&(t.ASSUME_SHIFT_JIS||g>=3||y>=3)?t.SHIFT_JIS:i&&o?g===2&&d===2||R*10>=r?t.SHIFT_JIS:t.ISO88591:i?t.ISO88591:o?t.SHIFT_JIS:a?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.format=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=-1;function o(s,c,u,l,h,d){if(s==="%%")return"%";if(n[++i]!==void 0){s=l?parseInt(l.substr(1)):void 0;var f=h?parseInt(h.substr(1)):void 0,p;switch(d){case"s":p=n[i];break;case"c":p=n[i][0];break;case"f":p=parseFloat(n[i]).toFixed(s);break;case"p":p=parseFloat(n[i]).toPrecision(s);break;case"e":p=parseFloat(n[i]).toExponential(s);break;case"x":p=parseInt(n[i]).toString(f||16);break;case"d":p=parseFloat(parseInt(n[i],f||10).toPrecision(s)).toFixed(0);break}p=typeof p=="object"?JSON.stringify(p):(+p).toString(f);for(var g=parseInt(u),y=u&&u[0]+""=="0"?"0":" ";p.length<g;)p=c!==void 0?p+y:y+p;return p}}var a=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return e.replace(a,o)},t.getBytes=function(e,n){return wr.encode(e,n)},t.getCharCode=function(e,n){return n===void 0&&(n=0),e.charCodeAt(n)},t.getCharAt=function(e){return String.fromCharCode(e)},t.SHIFT_JIS=an.SJIS.getName(),t.GB2312="GB2312",t.ISO88591=an.ISO8859_1.getName(),t.EUC_JP="EUC_JP",t.UTF8=an.UTF8.getName(),t.PLATFORM_DEFAULT_ENCODING=t.UTF8,t.ASSUME_SHIFT_JIS=!1,t}(),rt=function(){function t(e){e===void 0&&(e=""),this.value=e}return t.prototype.enableDecoding=function(e){return this.encoding=e,this},t.prototype.append=function(e){return typeof e=="string"?this.value+=e.toString():this.encoding?this.value+=Pt.castAsNonUtf8Char(e,this.encoding):this.value+=String.fromCharCode(e),this},t.prototype.appendChars=function(e,n,r){for(var i=n;n<n+r;i++)this.append(e[i]);return this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(e){return this.value.charAt(e)},t.prototype.deleteCharAt=function(e){this.value=this.value.substr(0,e)+this.value.substring(e+1)},t.prototype.setCharAt=function(e,n){this.value=this.value.substr(0,e)+n+this.value.substr(e+1)},t.prototype.substring=function(e,n){return this.value.substring(e,n)},t.prototype.setLengthToZero=function(){this.value=""},t.prototype.toString=function(){return this.value},t.prototype.insert=function(e,n){this.value=this.value.substring(0,e)+n+this.value.substring(e)},t}(),gi=function(){function t(e,n,r,i){if(this.width=e,this.height=n,this.rowSize=r,this.bits=i,n==null&&(n=e),this.height=n,e<1||n<1)throw new Ge("Both dimensions must be greater than 0");r==null&&(r=Math.floor((e+31)/32)),this.rowSize=r,i==null&&(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var n=e.length,r=e[0].length,i=new t(r,n),o=0;o<n;o++)for(var a=e[o],s=0;s<r;s++)a[s]&&i.set(s,o);return i},t.parseFromString=function(e,n,r){if(e===null)throw new Ge("stringRepresentation cannot be null");for(var i=new Array(e.length),o=0,a=0,s=-1,c=0,u=0;u<e.length;)if(e.charAt(u)===`
|
|
`||e.charAt(u)==="\r"){if(o>a){if(s===-1)s=o-a;else if(o-a!==s)throw new Ge("row lengths do not match");a=o,c++}u++}else if(e.substring(u,u+n.length)===n)u+=n.length,i[o]=!0,o++;else if(e.substring(u,u+r.length)===r)u+=r.length,i[o]=!1,o++;else throw new Ge("illegal character encountered: "+e.substring(u));if(o>a){if(s===-1)s=o-a;else if(o-a!==s)throw new Ge("row lengths do not match");c++}for(var l=new t(s,c),h=0;h<o;h++)i[h]&&l.set(Math.floor(h%s),Math.floor(h/s));return l},t.prototype.get=function(e,n){var r=n*this.rowSize+Math.floor(e/32);return(this.bits[r]>>>(e&31)&1)!==0},t.prototype.set=function(e,n){var r=n*this.rowSize+Math.floor(e/32);this.bits[r]|=1<<(e&31)&4294967295},t.prototype.unset=function(e,n){var r=n*this.rowSize+Math.floor(e/32);this.bits[r]&=~(1<<(e&31)&4294967295)},t.prototype.flip=function(e,n){var r=n*this.rowSize+Math.floor(e/32);this.bits[r]^=1<<(e&31)&4294967295},t.prototype.xor=function(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new Ge("input matrix dimensions do not match");for(var n=new Jn(Math.floor(this.width/32)+1),r=this.rowSize,i=this.bits,o=0,a=this.height;o<a;o++)for(var s=o*r,c=e.getRow(o,n).getBitArray(),u=0;u<r;u++)i[s+u]^=c[u]},t.prototype.clear=function(){for(var e=this.bits,n=e.length,r=0;r<n;r++)e[r]=0},t.prototype.setRegion=function(e,n,r,i){if(n<0||e<0)throw new Ge("Left and top must be nonnegative");if(i<1||r<1)throw new Ge("Height and width must be at least 1");var o=e+r,a=n+i;if(a>this.height||o>this.width)throw new Ge("The region must fit inside the matrix");for(var s=this.rowSize,c=this.bits,u=n;u<a;u++)for(var l=u*s,h=e;h<o;h++)c[l+Math.floor(h/32)]|=1<<(h&31)&4294967295},t.prototype.getRow=function(e,n){n==null||n.getSize()<this.width?n=new Jn(this.width):n.clear();for(var r=this.rowSize,i=this.bits,o=e*r,a=0;a<r;a++)n.setBulk(a*32,i[o+a]);return n},t.prototype.setRow=function(e,n){Mt.arraycopy(n.getBitArray(),0,this.bits,e*this.rowSize,this.rowSize)},t.prototype.rotate180=function(){for(var e=this.getWidth(),n=this.getHeight(),r=new Jn(e),i=new Jn(e),o=0,a=Math.floor((n+1)/2);o<a;o++)r=this.getRow(o,r),i=this.getRow(n-1-o,i),r.reverse(),i.reverse(),this.setRow(o,i),this.setRow(n-1-o,r)},t.prototype.getEnclosingRectangle=function(){for(var e=this.width,n=this.height,r=this.rowSize,i=this.bits,o=e,a=n,s=-1,c=-1,u=0;u<n;u++)for(var l=0;l<r;l++){var h=i[u*r+l];if(h!==0){if(u<a&&(a=u),u>c&&(c=u),l*32<o){for(var d=0;(h<<31-d&4294967295)===0;)d++;l*32+d<o&&(o=l*32+d)}if(l*32+31>s){for(var d=31;h>>>d===0;)d--;l*32+d>s&&(s=l*32+d)}}}return s<o||c<a?null:Int32Array.from([o,a,s-o+1,c-a+1])},t.prototype.getTopLeftOnBit=function(){for(var e=this.rowSize,n=this.bits,r=0;r<n.length&&n[r]===0;)r++;if(r===n.length)return null;for(var i=r/e,o=r%e*32,a=n[r],s=0;(a<<31-s&4294967295)===0;)s++;return o+=s,Int32Array.from([o,i])},t.prototype.getBottomRightOnBit=function(){for(var e=this.rowSize,n=this.bits,r=n.length-1;r>=0&&n[r]===0;)r--;if(r<0)return null;for(var i=Math.floor(r/e),o=Math.floor(r%e)*32,a=n[r],s=31;a>>>s===0;)s--;return o+=s,Int32Array.from([o,i])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.width===n.width&&this.height===n.height&&this.rowSize===n.rowSize&&sn.equals(this.bits,n.bits)},t.prototype.hashCode=function(){var e=this.width;return e=31*e+this.width,e=31*e+this.height,e=31*e+this.rowSize,e=31*e+sn.hashCode(this.bits),e},t.prototype.toString=function(e,n,r){return e===void 0&&(e="X "),n===void 0&&(n=" "),r===void 0&&(r=`
|
|
`),this.buildToString(e,n,r)},t.prototype.buildToString=function(e,n,r){for(var i=new rt,o=0,a=this.height;o<a;o++){for(var s=0,c=this.width;s<c;s++)i.append(this.get(s,o)?e:n);i.append(r)}return i.toString()},t.prototype.clone=function(){return new t(this.width,this.height,this.rowSize,this.bits.slice())},t}(),DW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),De=function(t){DW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.getNotFoundInstance=function(){return new e},e.kind="NotFoundException",e}(nr),OW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_W=function(t){OW(e,t);function e(n){var r=t.call(this,n)||this;return r.luminances=e.EMPTY,r.buckets=new Int32Array(e.LUMINANCE_BUCKETS),r}return e.prototype.getBlackRow=function(n,r){var i=this.getLuminanceSource(),o=i.getWidth();r==null||r.getSize()<o?r=new Jn(o):r.clear(),this.initArrays(o);for(var a=i.getRow(n,this.luminances),s=this.buckets,c=0;c<o;c++)s[(a[c]&255)>>e.LUMINANCE_SHIFT]++;var u=e.estimateBlackPoint(s);if(o<3)for(var c=0;c<o;c++)(a[c]&255)<u&&r.set(c);else for(var l=a[0]&255,h=a[1]&255,c=1;c<o-1;c++){var d=a[c+1]&255;(h*4-l-d)/2<u&&r.set(c),l=h,h=d}return r},e.prototype.getBlackMatrix=function(){var n=this.getLuminanceSource(),r=n.getWidth(),i=n.getHeight(),o=new gi(r,i);this.initArrays(r);for(var a=this.buckets,s=1;s<5;s++)for(var c=Math.floor(i*s/5),u=n.getRow(c,this.luminances),l=Math.floor(r*4/5),h=Math.floor(r/5);h<l;h++){var d=u[h]&255;a[d>>e.LUMINANCE_SHIFT]++}for(var f=e.estimateBlackPoint(a),p=n.getMatrix(),s=0;s<i;s++)for(var g=s*r,h=0;h<r;h++){var d=p[g+h]&255;d<f&&o.set(h,s)}return o},e.prototype.createBinarizer=function(n){return new e(n)},e.prototype.initArrays=function(n){this.luminances.length<n&&(this.luminances=new Uint8ClampedArray(n));for(var r=this.buckets,i=0;i<e.LUMINANCE_BUCKETS;i++)r[i]=0},e.estimateBlackPoint=function(n){for(var r=n.length,i=0,o=0,a=0,s=0;s<r;s++)n[s]>a&&(o=s,a=n[s]),n[s]>i&&(i=n[s]);for(var c=0,u=0,s=0;s<r;s++){var l=s-o,h=n[s]*l*l;h>u&&(c=s,u=h)}if(o>c){var d=o;o=c,c=d}if(c-o<=r/16)throw new De;for(var f=c-1,p=-1,s=c-1;s>o;s--){var g=s-o,h=g*g*(c-s)*(i-n[s]);h>p&&(f=s,p=h)}return f<<e.LUMINANCE_SHIFT},e.LUMINANCE_BITS=5,e.LUMINANCE_SHIFT=8-e.LUMINANCE_BITS,e.LUMINANCE_BUCKETS=1<<e.LUMINANCE_BITS,e.EMPTY=Uint8ClampedArray.from([0]),e}(yW),EW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ub=function(t){EW(e,t);function e(n){var r=t.call(this,n)||this;return r.matrix=null,r}return e.prototype.getBlackMatrix=function(){if(this.matrix!==null)return this.matrix;var n=this.getLuminanceSource(),r=n.getWidth(),i=n.getHeight();if(r>=e.MINIMUM_DIMENSION&&i>=e.MINIMUM_DIMENSION){var o=n.getMatrix(),a=r>>e.BLOCK_SIZE_POWER;(r&e.BLOCK_SIZE_MASK)!==0&&a++;var s=i>>e.BLOCK_SIZE_POWER;(i&e.BLOCK_SIZE_MASK)!==0&&s++;var c=e.calculateBlackPoints(o,a,s,r,i),u=new gi(r,i);e.calculateThresholdForBlock(o,a,s,r,i,c,u),this.matrix=u}else this.matrix=t.prototype.getBlackMatrix.call(this);return this.matrix},e.prototype.createBinarizer=function(n){return new e(n)},e.calculateThresholdForBlock=function(n,r,i,o,a,s,c){for(var u=a-e.BLOCK_SIZE,l=o-e.BLOCK_SIZE,h=0;h<i;h++){var d=h<<e.BLOCK_SIZE_POWER;d>u&&(d=u);for(var f=e.cap(h,2,i-3),p=0;p<r;p++){var g=p<<e.BLOCK_SIZE_POWER;g>l&&(g=l);for(var y=e.cap(p,2,r-3),R=0,m=-2;m<=2;m++){var v=s[f+m];R+=v[y-2]+v[y-1]+v[y]+v[y+1]+v[y+2]}var x=R/25;e.thresholdBlock(n,g,d,x,o,c)}}},e.cap=function(n,r,i){return n<r?r:n>i?i:n},e.thresholdBlock=function(n,r,i,o,a,s){for(var c=0,u=i*a+r;c<e.BLOCK_SIZE;c++,u+=a)for(var l=0;l<e.BLOCK_SIZE;l++)(n[u+l]&255)<=o&&s.set(r+l,i+c)},e.calculateBlackPoints=function(n,r,i,o,a){for(var s=a-e.BLOCK_SIZE,c=o-e.BLOCK_SIZE,u=new Array(i),l=0;l<i;l++){u[l]=new Int32Array(r);var h=l<<e.BLOCK_SIZE_POWER;h>s&&(h=s);for(var d=0;d<r;d++){var f=d<<e.BLOCK_SIZE_POWER;f>c&&(f=c);for(var p=0,g=255,y=0,R=0,m=h*o+f;R<e.BLOCK_SIZE;R++,m+=o){for(var v=0;v<e.BLOCK_SIZE;v++){var x=n[m+v]&255;p+=x,x<g&&(g=x),x>y&&(y=x)}if(y-g>e.MIN_DYNAMIC_RANGE)for(R++,m+=o;R<e.BLOCK_SIZE;R++,m+=o)for(var v=0;v<e.BLOCK_SIZE;v++)p+=n[m+v]&255}var O=p>>e.BLOCK_SIZE_POWER*2;if(y-g<=e.MIN_DYNAMIC_RANGE&&(O=g/2,l>0&&d>0)){var E=(u[l-1][d]+2*u[l][d-1]+u[l-1][d-1])/4;g<E&&(O=E)}u[l][d]=O}}return u},e.BLOCK_SIZE_POWER=3,e.BLOCK_SIZE=1<<e.BLOCK_SIZE_POWER,e.BLOCK_SIZE_MASK=e.BLOCK_SIZE-1,e.MINIMUM_DIMENSION=e.BLOCK_SIZE*5,e.MIN_DYNAMIC_RANGE=24,e}(_W),ac=function(){function t(e,n){this.width=e,this.height=n}return t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.isCropSupported=function(){return!1},t.prototype.crop=function(e,n,r,i){throw new nu("This luminance source does not support cropping.")},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new nu("This luminance source does not support rotation by 90 degrees.")},t.prototype.rotateCounterClockwise45=function(){throw new nu("This luminance source does not support rotation by 45 degrees.")},t.prototype.toString=function(){for(var e=new Uint8ClampedArray(this.width),n=new rt,r=0;r<this.height;r++){for(var i=this.getRow(r,e),o=0;o<this.width;o++){var a=i[o]&255,s=void 0;a<64?s="#":a<128?s="+":a<192?s=".":s=" ",n.append(s)}n.append(`
|
|
`)}return n.toString()},t}(),IW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),gl=function(t){IW(e,t);function e(n){var r=t.call(this,n.getWidth(),n.getHeight())||this;return r.delegate=n,r}return e.prototype.getRow=function(n,r){for(var i=this.delegate.getRow(n,r),o=this.getWidth(),a=0;a<o;a++)i[a]=255-(i[a]&255);return i},e.prototype.getMatrix=function(){for(var n=this.delegate.getMatrix(),r=this.getWidth()*this.getHeight(),i=new Uint8ClampedArray(r),o=0;o<r;o++)i[o]=255-(n[o]&255);return i},e.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},e.prototype.crop=function(n,r,i,o){return new e(this.delegate.crop(n,r,i,o))},e.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},e.prototype.invert=function(){return this.delegate},e.prototype.rotateCounterClockwise=function(){return new e(this.delegate.rotateCounterClockwise())},e.prototype.rotateCounterClockwise45=function(){return new e(this.delegate.rotateCounterClockwise45())},e}(ac),NW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),FW=function(t){NW(e,t);function e(n){var r=t.call(this,n.width,n.height)||this;return r.canvas=n,r.tempCanvasElement=null,r.buffer=e.makeBufferFromCanvasImageData(n),r}return e.makeBufferFromCanvasImageData=function(n){var r=n.getContext("2d").getImageData(0,0,n.width,n.height);return e.toGrayscaleBuffer(r.data,n.width,n.height)},e.toGrayscaleBuffer=function(n,r,i){var o=new Uint8ClampedArray(r*i);if(e.FRAME_INDEX=!e.FRAME_INDEX,e.FRAME_INDEX)for(var a=0,s=0,c=n.length;a<c;a+=4,s++){var u=void 0,l=n[a+3];if(l===0)u=255;else{var h=n[a],d=n[a+1],f=n[a+2];u=306*h+601*d+117*f+512>>10}o[s]=u}else for(var a=0,s=0,p=n.length;a<p;a+=4,s++){var u=void 0,l=n[a+3];if(l===0)u=255;else{var h=n[a],d=n[a+1],f=n[a+2];u=306*h+601*d+117*f+512>>10}o[s]=255-u}return o},e.prototype.getRow=function(n,r){if(n<0||n>=this.getHeight())throw new Ge("Requested row is outside the image: "+n);var i=this.getWidth(),o=n*i;return r===null?r=this.buffer.slice(o,o+i):(r.length<i&&(r=new Uint8ClampedArray(i)),r.set(this.buffer.slice(o,o+i))),r},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(n,r,i,o){return t.prototype.crop.call(this,n,r,i,o),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.prototype.getTempCanvasElement=function(){if(this.tempCanvasElement===null){var n=this.canvas.ownerDocument.createElement("canvas");n.width=this.canvas.width,n.height=this.canvas.height,this.tempCanvasElement=n}return this.tempCanvasElement},e.prototype.rotate=function(n){var r=this.getTempCanvasElement(),i=r.getContext("2d"),o=n*e.DEGREE_TO_RADIANS,a=this.canvas.width,s=this.canvas.height,c=Math.ceil(Math.abs(Math.cos(o))*a+Math.abs(Math.sin(o))*s),u=Math.ceil(Math.abs(Math.sin(o))*a+Math.abs(Math.cos(o))*s);return r.width=c,r.height=u,i.translate(c/2,u/2),i.rotate(o),i.drawImage(this.canvas,a/-2,s/-2),this.buffer=e.makeBufferFromCanvasImageData(r),this},e.prototype.invert=function(){return new gl(this)},e.DEGREE_TO_RADIANS=Math.PI/180,e.FRAME_INDEX=!0,e}(ac),PW=function(){function t(e,n,r){this.deviceId=e,this.label=n,this.kind="videoinput",this.groupId=r||void 0}return t.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},t}(),Wn=globalThis&&globalThis.__awaiter||function(t,e,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(l){try{u(r.next(l))}catch(h){a(h)}}function c(l){try{u(r.throw(l))}catch(h){a(h)}}function u(l){l.done?o(l.value):i(l.value).then(s,c)}u((r=r.apply(t,e||[])).next())})},Xn=globalThis&&globalThis.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},MW=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Ca=function(){function t(e,n,r){n===void 0&&(n=500),this.reader=e,this.timeBetweenScansMillis=n,this._hints=r,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(t.prototype,"hasNavigator",{get:function(){return typeof navigator!="undefined"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canEnumerateDevices",{get:function(){return!!(this.isMediaDevicesSuported&&navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(e){this._timeBetweenDecodingAttempts=e<0?0:e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hints",{get:function(){return this._hints},set:function(e){this._hints=e||null},enumerable:!1,configurable:!0}),t.prototype.listVideoInputDevices=function(){return Wn(this,void 0,void 0,function(){var e,n,r,i,o,a,s,c,u,l,h,d;return Xn(this,function(f){switch(f.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:e=f.sent(),n=[];try{for(r=MW(e),i=r.next();!i.done;i=r.next())o=i.value,a=o.kind==="video"?"videoinput":o.kind,a==="videoinput"&&(s=o.deviceId||o.id,c=o.label||"Video device "+(n.length+1),u=o.groupId,l={deviceId:s,label:c,kind:a,groupId:u},n.push(l))}catch(p){h={error:p}}finally{try{i&&!i.done&&(d=r.return)&&d.call(r)}finally{if(h)throw h.error}}return[2,n]}})})},t.prototype.getVideoInputDevices=function(){return Wn(this,void 0,void 0,function(){var e;return Xn(this,function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return e=n.sent(),[2,e.map(function(r){return new PW(r.deviceId,r.label)})]}})})},t.prototype.findDeviceById=function(e){return Wn(this,void 0,void 0,function(){var n;return Xn(this,function(r){switch(r.label){case 0:return[4,this.listVideoInputDevices()];case 1:return n=r.sent(),n?[2,n.find(function(i){return i.deviceId===e})]:[2,null]}})})},t.prototype.decodeFromInputVideoDevice=function(e,n){return Wn(this,void 0,void 0,function(){return Xn(this,function(r){switch(r.label){case 0:return[4,this.decodeOnceFromVideoDevice(e,n)];case 1:return[2,r.sent()]}})})},t.prototype.decodeOnceFromVideoDevice=function(e,n){return Wn(this,void 0,void 0,function(){var r,i;return Xn(this,function(o){switch(o.label){case 0:return this.reset(),e?r={deviceId:{exact:e}}:r={facingMode:"environment"},i={video:r},[4,this.decodeOnceFromConstraints(i,n)];case 1:return[2,o.sent()]}})})},t.prototype.decodeOnceFromConstraints=function(e,n){return Wn(this,void 0,void 0,function(){var r;return Xn(this,function(i){switch(i.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return r=i.sent(),[4,this.decodeOnceFromStream(r,n)];case 2:return[2,i.sent()]}})})},t.prototype.decodeOnceFromStream=function(e,n){return Wn(this,void 0,void 0,function(){var r,i;return Xn(this,function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,n)];case 1:return r=o.sent(),[4,this.decodeOnce(r)];case 2:return i=o.sent(),[2,i]}})})},t.prototype.decodeFromInputVideoDeviceContinuously=function(e,n,r){return Wn(this,void 0,void 0,function(){return Xn(this,function(i){switch(i.label){case 0:return[4,this.decodeFromVideoDevice(e,n,r)];case 1:return[2,i.sent()]}})})},t.prototype.decodeFromVideoDevice=function(e,n,r){return Wn(this,void 0,void 0,function(){var i,o;return Xn(this,function(a){switch(a.label){case 0:return e?i={deviceId:{exact:e}}:i={facingMode:"environment"},o={video:i},[4,this.decodeFromConstraints(o,n,r)];case 1:return[2,a.sent()]}})})},t.prototype.decodeFromConstraints=function(e,n,r){return Wn(this,void 0,void 0,function(){var i;return Xn(this,function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return i=o.sent(),[4,this.decodeFromStream(i,n,r)];case 2:return[2,o.sent()]}})})},t.prototype.decodeFromStream=function(e,n,r){return Wn(this,void 0,void 0,function(){var i;return Xn(this,function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,n)];case 1:return i=o.sent(),[4,this.decodeContinuously(i,r)];case 2:return[2,o.sent()]}})})},t.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},t.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},t.prototype.attachStreamToVideo=function(e,n){return Wn(this,void 0,void 0,function(){var r;return Xn(this,function(i){switch(i.label){case 0:return r=this.prepareVideoElement(n),this.addVideoSource(r,e),this.videoElement=r,this.stream=e,[4,this.playVideoOnLoadAsync(r)];case 1:return i.sent(),[2,r]}})})},t.prototype.playVideoOnLoadAsync=function(e){var n=this;return new Promise(function(r,i){return n.playVideoOnLoad(e,function(){return r()})})},t.prototype.playVideoOnLoad=function(e,n){var r=this;this.videoEndedListener=function(){return r.stopStreams()},this.videoCanPlayListener=function(){return r.tryPlayVideo(e)},e.addEventListener("ended",this.videoEndedListener),e.addEventListener("canplay",this.videoCanPlayListener),e.addEventListener("playing",n),this.tryPlayVideo(e)},t.prototype.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2},t.prototype.tryPlayVideo=function(e){return Wn(this,void 0,void 0,function(){return Xn(this,function(n){switch(n.label){case 0:if(this.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.play()];case 2:return n.sent(),[3,4];case 3:return n.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}})})},t.prototype.getMediaElement=function(e,n){var r=document.getElementById(e);if(!r)throw new Jt("element with id '"+e+"' not found");if(r.nodeName.toLowerCase()!==n.toLowerCase())throw new Jt("element with id '"+e+"' must be an "+n+" element");return r},t.prototype.decodeFromImage=function(e,n){if(!e&&!n)throw new Jt("either imageElement with a src set or an url must be provided");return n&&!e?this.decodeFromImageUrl(n):this.decodeFromImageElement(e)},t.prototype.decodeFromVideo=function(e,n){if(!e&&!n)throw new Jt("Either an element with a src set or an URL must be provided");return n&&!e?this.decodeFromVideoUrl(n):this.decodeFromVideoElement(e)},t.prototype.decodeFromVideoContinuously=function(e,n,r){if(e===void 0&&n===void 0)throw new Jt("Either an element with a src set or an URL must be provided");return n&&!e?this.decodeFromVideoUrlContinuously(n,r):this.decodeFromVideoElementContinuously(e,r)},t.prototype.decodeFromImageElement=function(e){if(!e)throw new Jt("An image element must be provided.");this.reset();var n=this.prepareImageElement(e);this.imageElement=n;var r;return this.isImageLoaded(n)?r=this.decodeOnce(n,!1,!0):r=this._decodeOnLoadImage(n),r},t.prototype.decodeFromVideoElement=function(e){var n=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(n)},t.prototype.decodeFromVideoElementContinuously=function(e,n){var r=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(r,n)},t.prototype._decodeFromVideoElementSetup=function(e){if(!e)throw new Jt("A video element must be provided.");this.reset();var n=this.prepareVideoElement(e);return this.videoElement=n,n},t.prototype.decodeFromImageUrl=function(e){if(!e)throw new Jt("An URL must be provided.");this.reset();var n=this.prepareImageElement();this.imageElement=n;var r=this._decodeOnLoadImage(n);return n.src=e,r},t.prototype.decodeFromVideoUrl=function(e){if(!e)throw new Jt("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),r=this.decodeFromVideoElement(n);return n.src=e,r},t.prototype.decodeFromVideoUrlContinuously=function(e,n){if(!e)throw new Jt("An URL must be provided.");this.reset();var r=this.prepareVideoElement(),i=this.decodeFromVideoElementContinuously(r,n);return r.src=e,i},t.prototype._decodeOnLoadImage=function(e){var n=this;return new Promise(function(r,i){n.imageLoadedListener=function(){return n.decodeOnce(e,!1,!0).then(r,i)},e.addEventListener("load",n.imageLoadedListener)})},t.prototype._decodeOnLoadVideo=function(e){return Wn(this,void 0,void 0,function(){return Xn(this,function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return n.sent(),[4,this.decodeOnce(e)];case 2:return[2,n.sent()]}})})},t.prototype._decodeOnLoadVideoContinuously=function(e,n){return Wn(this,void 0,void 0,function(){return Xn(this,function(r){switch(r.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return r.sent(),this.decodeContinuously(e,n),[2]}})})},t.prototype.isImageLoaded=function(e){return!(!e.complete||e.naturalWidth===0)},t.prototype.prepareImageElement=function(e){var n;return typeof e=="undefined"&&(n=document.createElement("img"),n.width=200,n.height=200),typeof e=="string"&&(n=this.getMediaElement(e,"img")),e instanceof HTMLImageElement&&(n=e),n},t.prototype.prepareVideoElement=function(e){var n;return!e&&typeof document!="undefined"&&(n=document.createElement("video"),n.width=200,n.height=200),typeof e=="string"&&(n=this.getMediaElement(e,"video")),e instanceof HTMLVideoElement&&(n=e),n.setAttribute("autoplay","true"),n.setAttribute("muted","true"),n.setAttribute("playsinline","true"),n},t.prototype.decodeOnce=function(e,n,r){var i=this;n===void 0&&(n=!0),r===void 0&&(r=!0),this._stopAsyncDecode=!1;var o=function(a,s){if(i._stopAsyncDecode){s(new De("Video stream has ended before any code could be detected.")),i._stopAsyncDecode=void 0;return}try{var c=i.decode(e);a(c)}catch(d){var u=n&&d instanceof De,l=d instanceof qt||d instanceof Le,h=l&&r;if(u||h)return setTimeout(o,i._timeBetweenDecodingAttempts,a,s);s(d)}};return new Promise(function(a,s){return o(a,s)})},t.prototype.decodeContinuously=function(e,n){var r=this;this._stopContinuousDecode=!1;var i=function(){if(r._stopContinuousDecode){r._stopContinuousDecode=void 0;return}try{var o=r.decode(e);n(o,null),setTimeout(i,r.timeBetweenScansMillis)}catch(c){n(null,c);var a=c instanceof qt||c instanceof Le,s=c instanceof De;(a||s)&&setTimeout(i,r._timeBetweenDecodingAttempts)}};i()},t.prototype.decode=function(e){var n=this.createBinaryBitmap(e);return this.decodeBitmap(n)},t.prototype.createBinaryBitmap=function(e){this.getCaptureCanvasContext(e),e instanceof HTMLVideoElement?this.drawFrameOnCanvas(e):this.drawImageOnCanvas(e);var n=this.getCaptureCanvas(e),r=new FW(n),i=new ub(r);return new cb(i)},t.prototype.getCaptureCanvasContext=function(e){if(!this.captureCanvasContext){var n=this.getCaptureCanvas(e),r=void 0;try{r=n.getContext("2d",{willReadFrequently:!0})}catch{r=n.getContext("2d")}this.captureCanvasContext=r}return this.captureCanvasContext},t.prototype.getCaptureCanvas=function(e){if(!this.captureCanvas){var n=this.createCaptureCanvas(e);this.captureCanvas=n}return this.captureCanvas},t.prototype.drawFrameOnCanvas=function(e,n,r){n===void 0&&(n={sx:0,sy:0,sWidth:e.videoWidth,sHeight:e.videoHeight,dx:0,dy:0,dWidth:e.videoWidth,dHeight:e.videoHeight}),r===void 0&&(r=this.captureCanvasContext),r.drawImage(e,n.sx,n.sy,n.sWidth,n.sHeight,n.dx,n.dy,n.dWidth,n.dHeight)},t.prototype.drawImageOnCanvas=function(e,n,r){n===void 0&&(n={sx:0,sy:0,sWidth:e.naturalWidth,sHeight:e.naturalHeight,dx:0,dy:0,dWidth:e.naturalWidth,dHeight:e.naturalHeight}),r===void 0&&(r=this.captureCanvasContext),r.drawImage(e,n.sx,n.sy,n.sWidth,n.sHeight,n.dx,n.dy,n.dWidth,n.dHeight)},t.prototype.decodeBitmap=function(e){return this.reader.decode(e,this._hints)},t.prototype.createCaptureCanvas=function(e){if(typeof document=="undefined")return this._destroyCaptureCanvas(),null;var n=document.createElement("canvas"),r,i;return typeof e!="undefined"&&(e instanceof HTMLVideoElement?(r=e.videoWidth,i=e.videoHeight):e instanceof HTMLImageElement&&(r=e.naturalWidth||e.width,i=e.naturalHeight||e.height)),n.style.width=r+"px",n.style.height=i+"px",n.width=r,n.height=i,n},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach(function(e){return e.stop()}),this.stream=void 0),this._stopAsyncDecode===!1&&this.stopAsyncDecode(),this._stopContinuousDecode===!1&&this.stopContinuousDecode()},t.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},t.prototype._destroyVideoElement=function(){!this.videoElement||(typeof this.videoEndedListener!="undefined"&&this.videoElement.removeEventListener("ended",this.videoEndedListener),typeof this.videoPlayingEventListener!="undefined"&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),typeof this.videoCanPlayListener!="undefined"&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},t.prototype._destroyImageElement=function(){!this.imageElement||(this.imageLoadedListener!==void 0&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},t.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},t.prototype.addVideoSource=function(e,n){try{e.srcObject=n}catch{e.src=URL.createObjectURL(n)}},t.prototype.cleanVideoSource=function(e){try{e.srcObject=null}catch{e.src=""}this.videoElement.removeAttribute("src")},t}(),Cn=function(){function t(e,n,r,i,o,a){r===void 0&&(r=n==null?0:8*n.length),a===void 0&&(a=Mt.currentTimeMillis()),this.text=e,this.rawBytes=n,this.numBits=r,this.resultPoints=i,this.format=o,this.timestamp=a,this.text=e,this.rawBytes=n,r==null?this.numBits=n==null?0:8*n.length:this.numBits=r,this.resultPoints=i,this.format=o,this.resultMetadata=null,a==null?this.timestamp=Mt.currentTimeMillis():this.timestamp=a}return t.prototype.getText=function(){return this.text},t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.getBarcodeFormat=function(){return this.format},t.prototype.getResultMetadata=function(){return this.resultMetadata},t.prototype.putMetadata=function(e,n){this.resultMetadata===null&&(this.resultMetadata=new Map),this.resultMetadata.set(e,n)},t.prototype.putAllMetadata=function(e){e!==null&&(this.resultMetadata===null?this.resultMetadata=e:this.resultMetadata=new Map(e))},t.prototype.addResultPoints=function(e){var n=this.resultPoints;if(n===null)this.resultPoints=e;else if(e!==null&&e.length>0){var r=new Array(n.length+e.length);Mt.arraycopy(n,0,r,0,n.length),Mt.arraycopy(e,0,r,n.length,e.length),this.resultPoints=r}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}(),Xd;(function(t){t[t.AZTEC=0]="AZTEC",t[t.CODABAR=1]="CODABAR",t[t.CODE_39=2]="CODE_39",t[t.CODE_93=3]="CODE_93",t[t.CODE_128=4]="CODE_128",t[t.DATA_MATRIX=5]="DATA_MATRIX",t[t.EAN_8=6]="EAN_8",t[t.EAN_13=7]="EAN_13",t[t.ITF=8]="ITF",t[t.MAXICODE=9]="MAXICODE",t[t.PDF_417=10]="PDF_417",t[t.QR_CODE=11]="QR_CODE",t[t.RSS_14=12]="RSS_14",t[t.RSS_EXPANDED=13]="RSS_EXPANDED",t[t.UPC_A=14]="UPC_A",t[t.UPC_E=15]="UPC_E",t[t.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"})(Xd||(Xd={}));var Ke=Xd,Vd;(function(t){t[t.OTHER=0]="OTHER",t[t.ORIENTATION=1]="ORIENTATION",t[t.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",t[t.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",t[t.ISSUE_NUMBER=4]="ISSUE_NUMBER",t[t.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",t[t.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",t[t.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",t[t.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",t[t.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",t[t.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"})(Vd||(Vd={}));var Tn=Vd,ml=function(){function t(e,n,r,i,o,a){o===void 0&&(o=-1),a===void 0&&(a=-1),this.rawBytes=e,this.text=n,this.byteSegments=r,this.ecLevel=i,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=a,this.numBits=e==null?0:8*e.length}return t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.setNumBits=function(e){this.numBits=e},t.prototype.getText=function(){return this.text},t.prototype.getByteSegments=function(){return this.byteSegments},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getErrorsCorrected=function(){return this.errorsCorrected},t.prototype.setErrorsCorrected=function(e){this.errorsCorrected=e},t.prototype.getErasures=function(){return this.erasures},t.prototype.setErasures=function(e){this.erasures=e},t.prototype.getOther=function(){return this.other},t.prototype.setOther=function(e){this.other=e},t.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t}(),ls=function(){function t(){}return t.prototype.exp=function(e){return this.expTable[e]},t.prototype.log=function(e){if(e===0)throw new Ge;return this.logTable[e]},t.addOrSubtract=function(e,n){return e^n},t}(),Wi=function(){function t(e,n){if(n.length===0)throw new Ge;this.field=e;var r=n.length;if(r>1&&n[0]===0){for(var i=1;i<r&&n[i]===0;)i++;i===r?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(r-i),Mt.arraycopy(n,i,this.coefficients,0,this.coefficients.length))}else this.coefficients=n}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return this.coefficients[0]===0},t.prototype.getCoefficient=function(e){return this.coefficients[this.coefficients.length-1-e]},t.prototype.evaluateAt=function(e){if(e===0)return this.getCoefficient(0);var n=this.coefficients,r;if(e===1){r=0;for(var i=0,o=n.length;i!==o;i++){var a=n[i];r=ls.addOrSubtract(r,a)}return r}r=n[0];for(var s=n.length,c=this.field,i=1;i<s;i++)r=ls.addOrSubtract(c.multiply(e,r),n[i]);return r},t.prototype.addOrSubtract=function(e){if(!this.field.equals(e.field))throw new Ge("GenericGFPolys do not have same GenericGF field");if(this.isZero())return e;if(e.isZero())return this;var n=this.coefficients,r=e.coefficients;if(n.length>r.length){var i=n;n=r,r=i}var o=new Int32Array(r.length),a=r.length-n.length;Mt.arraycopy(r,0,o,0,a);for(var s=a;s<r.length;s++)o[s]=ls.addOrSubtract(n[s-a],r[s]);return new t(this.field,o)},t.prototype.multiply=function(e){if(!this.field.equals(e.field))throw new Ge("GenericGFPolys do not have same GenericGF field");if(this.isZero()||e.isZero())return this.field.getZero();for(var n=this.coefficients,r=n.length,i=e.coefficients,o=i.length,a=new Int32Array(r+o-1),s=this.field,c=0;c<r;c++)for(var u=n[c],l=0;l<o;l++)a[c+l]=ls.addOrSubtract(a[c+l],s.multiply(u,i[l]));return new t(s,a)},t.prototype.multiplyScalar=function(e){if(e===0)return this.field.getZero();if(e===1)return this;for(var n=this.coefficients.length,r=this.field,i=new Int32Array(n),o=this.coefficients,a=0;a<n;a++)i[a]=r.multiply(o[a],e);return new t(r,i)},t.prototype.multiplyByMonomial=function(e,n){if(e<0)throw new Ge;if(n===0)return this.field.getZero();for(var r=this.coefficients,i=r.length,o=new Int32Array(i+e),a=this.field,s=0;s<i;s++)o[s]=a.multiply(r[s],n);return new t(a,o)},t.prototype.divide=function(e){if(!this.field.equals(e.field))throw new Ge("GenericGFPolys do not have same GenericGF field");if(e.isZero())throw new Ge("Divide by 0");for(var n=this.field,r=n.getZero(),i=this,o=e.getCoefficient(e.getDegree()),a=n.inverse(o);i.getDegree()>=e.getDegree()&&!i.isZero();){var s=i.getDegree()-e.getDegree(),c=n.multiply(i.getCoefficient(i.getDegree()),a),u=e.multiplyByMonomial(s,c),l=n.buildMonomial(s,c);r=r.addOrSubtract(l),i=i.addOrSubtract(u)}return[r,i]},t.prototype.toString=function(){for(var e="",n=this.getDegree();n>=0;n--){var r=this.getCoefficient(n);if(r!==0){if(r<0?(e+=" - ",r=-r):e.length>0&&(e+=" + "),n===0||r!==1){var i=this.field.log(r);i===0?e+="1":i===1?e+="a":(e+="a^",e+=i)}n!==0&&(n===1?e+="x":(e+="x^",e+=n))}}return e},t}(),LW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),lb=function(t){LW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="ArithmeticException",e}(nr),CW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),li=function(t){CW(e,t);function e(n,r,i){var o=t.call(this)||this;o.primitive=n,o.size=r,o.generatorBase=i;for(var a=new Int32Array(r),s=1,c=0;c<r;c++)a[c]=s,s*=2,s>=r&&(s^=n,s&=r-1);o.expTable=a;for(var u=new Int32Array(r),c=0;c<r-1;c++)u[a[c]]=c;return o.logTable=u,o.zero=new Wi(o,Int32Array.from([0])),o.one=new Wi(o,Int32Array.from([1])),o}return e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(n,r){if(n<0)throw new Ge;if(r===0)return this.zero;var i=new Int32Array(n+1);return i[0]=r,new Wi(this,i)},e.prototype.inverse=function(n){if(n===0)throw new lb;return this.expTable[this.size-this.logTable[n]-1]},e.prototype.multiply=function(n,r){return n===0||r===0?0:this.expTable[(this.logTable[n]+this.logTable[r])%(this.size-1)]},e.prototype.getSize=function(){return this.size},e.prototype.getGeneratorBase=function(){return this.generatorBase},e.prototype.toString=function(){return"GF(0x"+$t.toHexString(this.primitive)+","+this.size+")"},e.prototype.equals=function(n){return n===this},e.AZTEC_DATA_12=new e(4201,4096,1),e.AZTEC_DATA_10=new e(1033,1024,1),e.AZTEC_DATA_6=new e(67,64,1),e.AZTEC_PARAM=new e(19,16,1),e.QR_CODE_FIELD_256=new e(285,256,0),e.DATA_MATRIX_FIELD_256=new e(301,256,1),e.AZTEC_DATA_8=e.DATA_MATRIX_FIELD_256,e.MAXICODE_FIELD_64=e.AZTEC_DATA_6,e}(ls),AW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qc=function(t){AW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="ReedSolomonException",e}(nr),UW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Aa=function(t){UW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="IllegalStateException",e}(nr),Rl=function(){function t(e){this.field=e}return t.prototype.decode=function(e,n){for(var r=this.field,i=new Wi(r,e),o=new Int32Array(n),a=!0,s=0;s<n;s++){var c=i.evaluateAt(r.exp(s+r.getGeneratorBase()));o[o.length-1-s]=c,c!==0&&(a=!1)}if(!a)for(var u=new Wi(r,o),l=this.runEuclideanAlgorithm(r.buildMonomial(n,1),u,n),h=l[0],d=l[1],f=this.findErrorLocations(h),p=this.findErrorMagnitudes(d,f),s=0;s<f.length;s++){var g=e.length-1-r.log(f[s]);if(g<0)throw new Qc("Bad error location");e[g]=li.addOrSubtract(e[g],p[s])}},t.prototype.runEuclideanAlgorithm=function(e,n,r){if(e.getDegree()<n.getDegree()){var i=e;e=n,n=i}for(var o=this.field,a=e,s=n,c=o.getZero(),u=o.getOne();s.getDegree()>=(r/2|0);){var l=a,h=c;if(a=s,c=u,a.isZero())throw new Qc("r_{i-1} was zero");s=l;for(var d=o.getZero(),f=a.getCoefficient(a.getDegree()),p=o.inverse(f);s.getDegree()>=a.getDegree()&&!s.isZero();){var g=s.getDegree()-a.getDegree(),y=o.multiply(s.getCoefficient(s.getDegree()),p);d=d.addOrSubtract(o.buildMonomial(g,y)),s=s.addOrSubtract(a.multiplyByMonomial(g,y))}if(u=d.multiply(c).addOrSubtract(h),s.getDegree()>=a.getDegree())throw new Aa("Division algorithm failed to reduce polynomial?")}var R=u.getCoefficient(0);if(R===0)throw new Qc("sigmaTilde(0) was zero");var m=o.inverse(R),v=u.multiplyScalar(m),x=s.multiplyScalar(m);return[v,x]},t.prototype.findErrorLocations=function(e){var n=e.getDegree();if(n===1)return Int32Array.from([e.getCoefficient(1)]);for(var r=new Int32Array(n),i=0,o=this.field,a=1;a<o.getSize()&&i<n;a++)e.evaluateAt(a)===0&&(r[i]=o.inverse(a),i++);if(i!==n)throw new Qc("Error locator degree does not match number of roots");return r},t.prototype.findErrorMagnitudes=function(e,n){for(var r=n.length,i=new Int32Array(r),o=this.field,a=0;a<r;a++){for(var s=o.inverse(n[a]),c=1,u=0;u<r;u++)if(a!==u){var l=o.multiply(n[u],s),h=(l&1)===0?l|1:l&-2;c=o.multiply(c,h)}i[a]=o.multiply(e.evaluateAt(s),o.inverse(c)),o.getGeneratorBase()!==0&&(i[a]=o.multiply(i[a],s))}return i},t}(),yn;(function(t){t[t.UPPER=0]="UPPER",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.DIGIT=3]="DIGIT",t[t.PUNCT=4]="PUNCT",t[t.BINARY=5]="BINARY"})(yn||(yn={}));var rm=function(){function t(){}return t.prototype.decode=function(e){this.ddata=e;var n=e.getBits(),r=this.extractBits(n),i=this.correctBits(r),o=t.convertBoolArrayToByteArray(i),a=t.getEncodedData(i),s=new ml(o,a,null,null);return s.setNumBits(i.length),s},t.highLevelDecode=function(e){return this.getEncodedData(e)},t.getEncodedData=function(e){for(var n=e.length,r=yn.UPPER,i=yn.UPPER,o="",a=0;a<n;)if(i===yn.BINARY){if(n-a<5)break;var s=t.readCode(e,a,5);if(a+=5,s===0){if(n-a<11)break;s=t.readCode(e,a,11)+31,a+=11}for(var c=0;c<s;c++){if(n-a<8){a=n;break}var u=t.readCode(e,a,8);o+=Pt.castAsNonUtf8Char(u),a+=8}i=r}else{var l=i===yn.DIGIT?4:5;if(n-a<l)break;var u=t.readCode(e,a,l);a+=l;var h=t.getCharacter(i,u);h.startsWith("CTRL_")?(r=i,i=t.getTable(h.charAt(5)),h.charAt(6)==="L"&&(r=i)):(o+=h,i=r)}return o},t.getTable=function(e){switch(e){case"L":return yn.LOWER;case"P":return yn.PUNCT;case"M":return yn.MIXED;case"D":return yn.DIGIT;case"B":return yn.BINARY;case"U":default:return yn.UPPER}},t.getCharacter=function(e,n){switch(e){case yn.UPPER:return t.UPPER_TABLE[n];case yn.LOWER:return t.LOWER_TABLE[n];case yn.MIXED:return t.MIXED_TABLE[n];case yn.PUNCT:return t.PUNCT_TABLE[n];case yn.DIGIT:return t.DIGIT_TABLE[n];default:throw new Aa("Bad table")}},t.prototype.correctBits=function(e){var n,r;this.ddata.getNbLayers()<=2?(r=6,n=li.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(r=8,n=li.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(r=10,n=li.AZTEC_DATA_10):(r=12,n=li.AZTEC_DATA_12);var i=this.ddata.getNbDatablocks(),o=e.length/r;if(o<i)throw new Le;for(var a=e.length%r,s=new Int32Array(o),c=0;c<o;c++,a+=r)s[c]=t.readCode(e,a,r);try{var u=new Rl(n);u.decode(s,o-i)}catch(y){throw new Le(y)}for(var l=(1<<r)-1,h=0,c=0;c<i;c++){var d=s[c];if(d===0||d===l)throw new Le;(d===1||d===l-1)&&h++}for(var f=new Array(i*r-h),p=0,c=0;c<i;c++){var d=s[c];if(d===1||d===l-1)f.fill(d>1,p,p+r-1),p+=r-1;else for(var g=r-1;g>=0;--g)f[p++]=(d&1<<g)!==0}return f},t.prototype.extractBits=function(e){var n=this.ddata.isCompact(),r=this.ddata.getNbLayers(),i=(n?11:14)+r*4,o=new Int32Array(i),a=new Array(this.totalBitsInLayer(r,n));if(n)for(var s=0;s<o.length;s++)o[s]=s;else for(var c=i+1+2*$t.truncDivision($t.truncDivision(i,2)-1,15),u=i/2,l=$t.truncDivision(c,2),s=0;s<u;s++){var h=s+$t.truncDivision(s,15);o[u-s-1]=l-h-1,o[u+s]=l+h+1}for(var s=0,d=0;s<r;s++){for(var f=(r-s)*4+(n?9:12),p=s*2,g=i-1-p,y=0;y<f;y++)for(var R=y*2,m=0;m<2;m++)a[d+R+m]=e.get(o[p+m],o[p+y]),a[d+2*f+R+m]=e.get(o[p+y],o[g-m]),a[d+4*f+R+m]=e.get(o[g-m],o[g-y]),a[d+6*f+R+m]=e.get(o[g-y],o[p+m]);d+=f*8}return a},t.readCode=function(e,n,r){for(var i=0,o=n;o<n+r;o++)i<<=1,e[o]&&(i|=1);return i},t.readByte=function(e,n){var r=e.length-n;return r>=8?t.readCode(e,n,8):t.readCode(e,n,r)<<8-r},t.convertBoolArrayToByteArray=function(e){for(var n=new Uint8Array((e.length+7)/8),r=0;r<n.length;r++)n[r]=t.readByte(e,8*r);return n},t.prototype.totalBitsInLayer=function(e,n){return((n?88:112)+16*e)*e},t.UPPER_TABLE=["CTRL_PS"," ","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","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],t.LOWER_TABLE=["CTRL_PS"," ","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","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],t.MIXED_TABLE=["CTRL_PS"," ","\\1","\\2","\\3","\\4","\\5","\\6","\\7","\b"," ",`
|
|
`,"\\13","\f","\r","\\33","\\34","\\35","\\36","\\37","@","\\","^","_","`","|","~","\\177","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],t.PUNCT_TABLE=["","\r",`\r
|
|
`,". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],t.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],t}(),ft=function(){function t(){}return t.round=function(e){return isNaN(e)?0:e<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:e>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0},t.distance=function(e,n,r,i){var o=e-r,a=n-i;return Math.sqrt(o*o+a*a)},t.sum=function(e){for(var n=0,r=0,i=e.length;r!==i;r++){var o=e[r];n+=o}return n},t}(),Yd=function(){function t(){}return t.floatToIntBits=function(e){return e},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}(),Ve=function(){function t(e,n){this.x=e,this.y=n}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var n=e;return this.x===n.x&&this.y===n.y}return!1},t.prototype.hashCode=function(){return 31*Yd.floatToIntBits(this.x)+Yd.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(e){var n=this.distance(e[0],e[1]),r=this.distance(e[1],e[2]),i=this.distance(e[0],e[2]),o,a,s;if(r>=n&&r>=i?(a=e[0],o=e[1],s=e[2]):i>=r&&i>=n?(a=e[1],o=e[0],s=e[2]):(a=e[2],o=e[0],s=e[1]),this.crossProductZ(o,a,s)<0){var c=o;o=s,s=c}e[0]=o,e[1]=a,e[2]=s},t.distance=function(e,n){return ft.distance(e.x,e.y,n.x,n.y)},t.crossProductZ=function(e,n,r){var i=n.x,o=n.y;return(r.x-i)*(e.y-o)-(r.y-o)*(e.x-i)},t}(),Kp=function(){function t(e,n){this.bits=e,this.points=n}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}(),WW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),XW=function(t){WW(e,t);function e(n,r,i,o,a){var s=t.call(this,n,r)||this;return s.compact=i,s.nbDatablocks=o,s.nbLayers=a,s}return e.prototype.getNbLayers=function(){return this.nbLayers},e.prototype.getNbDatablocks=function(){return this.nbDatablocks},e.prototype.isCompact=function(){return this.compact},e}(Kp),Bd=function(){function t(e,n,r,i){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),n==null&&(n=t.INIT_SIZE),r==null&&(r=e.getWidth()/2|0),i==null&&(i=e.getHeight()/2|0);var o=n/2|0;if(this.leftInit=r-o,this.rightInit=r+o,this.upInit=i-o,this.downInit=i+o,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new De}return t.prototype.detect=function(){for(var e=this.leftInit,n=this.rightInit,r=this.upInit,i=this.downInit,o=!1,a=!0,s=!1,c=!1,u=!1,l=!1,h=!1,d=this.width,f=this.height;a;){a=!1;for(var p=!0;(p||!c)&&n<d;)p=this.containsBlackPoint(r,i,n,!1),p?(n++,a=!0,c=!0):c||n++;if(n>=d){o=!0;break}for(var g=!0;(g||!u)&&i<f;)g=this.containsBlackPoint(e,n,i,!0),g?(i++,a=!0,u=!0):u||i++;if(i>=f){o=!0;break}for(var y=!0;(y||!l)&&e>=0;)y=this.containsBlackPoint(r,i,e,!1),y?(e--,a=!0,l=!0):l||e--;if(e<0){o=!0;break}for(var R=!0;(R||!h)&&r>=0;)R=this.containsBlackPoint(e,n,r,!0),R?(r--,a=!0,h=!0):h||r--;if(r<0){o=!0;break}a&&(s=!0)}if(!o&&s){for(var m=n-e,v=null,x=1;v===null&&x<m;x++)v=this.getBlackPointOnSegment(e,i-x,e+x,i);if(v==null)throw new De;for(var O=null,x=1;O===null&&x<m;x++)O=this.getBlackPointOnSegment(e,r+x,e+x,r);if(O==null)throw new De;for(var E=null,x=1;E===null&&x<m;x++)E=this.getBlackPointOnSegment(n,r+x,n-x,r);if(E==null)throw new De;for(var N=null,x=1;N===null&&x<m;x++)N=this.getBlackPointOnSegment(n,i-x,n-x,i);if(N==null)throw new De;return this.centerEdges(N,v,E,O)}else throw new De},t.prototype.getBlackPointOnSegment=function(e,n,r,i){for(var o=ft.round(ft.distance(e,n,r,i)),a=(r-e)/o,s=(i-n)/o,c=this.image,u=0;u<o;u++){var l=ft.round(e+u*a),h=ft.round(n+u*s);if(c.get(l,h))return new Ve(l,h)}return null},t.prototype.centerEdges=function(e,n,r,i){var o=e.getX(),a=e.getY(),s=n.getX(),c=n.getY(),u=r.getX(),l=r.getY(),h=i.getX(),d=i.getY(),f=t.CORR;return o<this.width/2?[new Ve(h-f,d+f),new Ve(s+f,c+f),new Ve(u-f,l-f),new Ve(o+f,a-f)]:[new Ve(h+f,d+f),new Ve(s+f,c-f),new Ve(u-f,l+f),new Ve(o-f,a-f)]},t.prototype.containsBlackPoint=function(e,n,r,i){var o=this.image;if(i){for(var a=e;a<=n;a++)if(o.get(a,r))return!0}else for(var s=e;s<=n;s++)if(o.get(r,s))return!0;return!1},t.INIT_SIZE=10,t.CORR=1,t}(),im=function(){function t(){}return t.checkAndNudgePoints=function(e,n){for(var r=e.getWidth(),i=e.getHeight(),o=!0,a=0;a<n.length&&o;a+=2){var s=Math.floor(n[a]),c=Math.floor(n[a+1]);if(s<-1||s>r||c<-1||c>i)throw new De;o=!1,s===-1?(n[a]=0,o=!0):s===r&&(n[a]=r-1,o=!0),c===-1?(n[a+1]=0,o=!0):c===i&&(n[a+1]=i-1,o=!0)}o=!0;for(var a=n.length-2;a>=0&&o;a-=2){var s=Math.floor(n[a]),c=Math.floor(n[a+1]);if(s<-1||s>r||c<-1||c>i)throw new De;o=!1,s===-1?(n[a]=0,o=!0):s===r&&(n[a]=r-1,o=!0),c===-1?(n[a+1]=0,o=!0):c===i&&(n[a+1]=i-1,o=!0)}},t}(),hb=function(){function t(e,n,r,i,o,a,s,c,u){this.a11=e,this.a21=n,this.a31=r,this.a12=i,this.a22=o,this.a32=a,this.a13=s,this.a23=c,this.a33=u}return t.quadrilateralToQuadrilateral=function(e,n,r,i,o,a,s,c,u,l,h,d,f,p,g,y){var R=t.quadrilateralToSquare(e,n,r,i,o,a,s,c),m=t.squareToQuadrilateral(u,l,h,d,f,p,g,y);return m.times(R)},t.prototype.transformPoints=function(e){for(var n=e.length,r=this.a11,i=this.a12,o=this.a13,a=this.a21,s=this.a22,c=this.a23,u=this.a31,l=this.a32,h=this.a33,d=0;d<n;d+=2){var f=e[d],p=e[d+1],g=o*f+c*p+h;e[d]=(r*f+a*p+u)/g,e[d+1]=(i*f+s*p+l)/g}},t.prototype.transformPointsWithValues=function(e,n){for(var r=this.a11,i=this.a12,o=this.a13,a=this.a21,s=this.a22,c=this.a23,u=this.a31,l=this.a32,h=this.a33,d=e.length,f=0;f<d;f++){var p=e[f],g=n[f],y=o*p+c*g+h;e[f]=(r*p+a*g+u)/y,n[f]=(i*p+s*g+l)/y}},t.squareToQuadrilateral=function(e,n,r,i,o,a,s,c){var u=e-r+o-s,l=n-i+a-c;if(u===0&&l===0)return new t(r-e,o-r,e,i-n,a-i,n,0,0,1);var h=r-o,d=s-o,f=i-a,p=c-a,g=h*p-d*f,y=(u*p-d*l)/g,R=(h*l-u*f)/g;return new t(r-e+y*r,s-e+R*s,e,i-n+y*i,c-n+R*c,n,y,R,1)},t.quadrilateralToSquare=function(e,n,r,i,o,a,s,c){return t.squareToQuadrilateral(e,n,r,i,o,a,s,c).buildAdjoint()},t.prototype.buildAdjoint=function(){return new t(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},t.prototype.times=function(e){return new t(this.a11*e.a11+this.a21*e.a12+this.a31*e.a13,this.a11*e.a21+this.a21*e.a22+this.a31*e.a23,this.a11*e.a31+this.a21*e.a32+this.a31*e.a33,this.a12*e.a11+this.a22*e.a12+this.a32*e.a13,this.a12*e.a21+this.a22*e.a22+this.a32*e.a23,this.a12*e.a31+this.a22*e.a32+this.a32*e.a33,this.a13*e.a11+this.a23*e.a12+this.a33*e.a13,this.a13*e.a21+this.a23*e.a22+this.a33*e.a23,this.a13*e.a31+this.a23*e.a32+this.a33*e.a33)},t}(),VW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),YW=function(t){VW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.sampleGrid=function(n,r,i,o,a,s,c,u,l,h,d,f,p,g,y,R,m,v,x){var O=hb.quadrilateralToQuadrilateral(o,a,s,c,u,l,h,d,f,p,g,y,R,m,v,x);return this.sampleGridWithTransform(n,r,i,O)},e.prototype.sampleGridWithTransform=function(n,r,i,o){if(r<=0||i<=0)throw new De;for(var a=new gi(r,i),s=new Float32Array(2*r),c=0;c<i;c++){for(var u=s.length,l=c+.5,h=0;h<u;h+=2)s[h]=h/2+.5,s[h+1]=l;o.transformPoints(s),im.checkAndNudgePoints(n,s);try{for(var h=0;h<u;h+=2)n.get(Math.floor(s[h]),Math.floor(s[h+1]))&&a.set(h/2,c)}catch{throw new De}}return a},e}(im),Hp=function(){function t(){}return t.setGridSampler=function(e){t.gridSampler=e},t.getInstance=function(){return t.gridSampler},t.gridSampler=new YW,t}(),Qn=function(){function t(e,n){this.x=e,this.y=n}return t.prototype.toResultPoint=function(){return new Ve(this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t}(),BW=function(){function t(e){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=e}return t.prototype.detect=function(){return this.detectMirror(!1)},t.prototype.detectMirror=function(e){var n=this.getMatrixCenter(),r=this.getBullsEyeCorners(n);if(e){var i=r[0];r[0]=r[2],r[2]=i}this.extractParameters(r);var o=this.sampleGrid(this.image,r[this.shift%4],r[(this.shift+1)%4],r[(this.shift+2)%4],r[(this.shift+3)%4]),a=this.getMatrixCornerPoints(r);return new XW(o,a,this.compact,this.nbDataBlocks,this.nbLayers)},t.prototype.extractParameters=function(e){if(!this.isValidPoint(e[0])||!this.isValidPoint(e[1])||!this.isValidPoint(e[2])||!this.isValidPoint(e[3]))throw new De;var n=2*this.nbCenterLayers,r=new Int32Array([this.sampleLine(e[0],e[1],n),this.sampleLine(e[1],e[2],n),this.sampleLine(e[2],e[3],n),this.sampleLine(e[3],e[0],n)]);this.shift=this.getRotation(r,n);for(var i=0,o=0;o<4;o++){var a=r[(this.shift+o)%4];this.compact?(i<<=7,i+=a>>1&127):(i<<=10,i+=(a>>2&31<<5)+(a>>1&31))}var s=this.getCorrectedParameterData(i,this.compact);this.compact?(this.nbLayers=(s>>6)+1,this.nbDataBlocks=(s&63)+1):(this.nbLayers=(s>>11)+1,this.nbDataBlocks=(s&2047)+1)},t.prototype.getRotation=function(e,n){var r=0;e.forEach(function(o,a,s){var c=(o>>n-2<<1)+(o&1);r=(r<<3)+c}),r=((r&1)<<11)+(r>>1);for(var i=0;i<4;i++)if($t.bitCount(r^this.EXPECTED_CORNER_BITS[i])<=2)return i;throw new De},t.prototype.getCorrectedParameterData=function(e,n){var r,i;n?(r=7,i=2):(r=10,i=4);for(var o=r-i,a=new Int32Array(r),s=r-1;s>=0;--s)a[s]=e&15,e>>=4;try{var c=new Rl(li.AZTEC_PARAM);c.decode(a,o)}catch{throw new De}for(var u=0,s=0;s<i;s++)u=(u<<4)+a[s];return u},t.prototype.getBullsEyeCorners=function(e){var n=e,r=e,i=e,o=e,a=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var s=this.getFirstDifferent(n,a,1,-1),c=this.getFirstDifferent(r,a,1,1),u=this.getFirstDifferent(i,a,-1,1),l=this.getFirstDifferent(o,a,-1,-1);if(this.nbCenterLayers>2){var h=this.distancePoint(l,s)*this.nbCenterLayers/(this.distancePoint(o,n)*(this.nbCenterLayers+2));if(h<.75||h>1.25||!this.isWhiteOrBlackRectangle(s,c,u,l))break}n=s,r=c,i=u,o=l,a=!a}if(this.nbCenterLayers!==5&&this.nbCenterLayers!==7)throw new De;this.compact=this.nbCenterLayers===5;var d=new Ve(n.getX()+.5,n.getY()-.5),f=new Ve(r.getX()+.5,r.getY()+.5),p=new Ve(i.getX()-.5,i.getY()+.5),g=new Ve(o.getX()-.5,o.getY()-.5);return this.expandSquare([d,f,p,g],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var e,n,r,i;try{var o=new Bd(this.image).detect();e=o[0],n=o[1],r=o[2],i=o[3]}catch{var a=this.image.getWidth()/2,s=this.image.getHeight()/2;e=this.getFirstDifferent(new Qn(a+7,s-7),!1,1,-1).toResultPoint(),n=this.getFirstDifferent(new Qn(a+7,s+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Qn(a-7,s+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new Qn(a-7,s-7),!1,-1,-1).toResultPoint()}var c=ft.round((e.getX()+i.getX()+n.getX()+r.getX())/4),u=ft.round((e.getY()+i.getY()+n.getY()+r.getY())/4);try{var o=new Bd(this.image,15,c,u).detect();e=o[0],n=o[1],r=o[2],i=o[3]}catch{e=this.getFirstDifferent(new Qn(c+7,u-7),!1,1,-1).toResultPoint(),n=this.getFirstDifferent(new Qn(c+7,u+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Qn(c-7,u+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new Qn(c-7,u-7),!1,-1,-1).toResultPoint()}return c=ft.round((e.getX()+i.getX()+n.getX()+r.getX())/4),u=ft.round((e.getY()+i.getY()+n.getY()+r.getY())/4),new Qn(c,u)},t.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},t.prototype.sampleGrid=function(e,n,r,i,o){var a=Hp.getInstance(),s=this.getDimension(),c=s/2-this.nbCenterLayers,u=s/2+this.nbCenterLayers;return a.sampleGrid(e,s,s,c,c,u,c,u,u,c,u,n.getX(),n.getY(),r.getX(),r.getY(),i.getX(),i.getY(),o.getX(),o.getY())},t.prototype.sampleLine=function(e,n,r){for(var i=0,o=this.distanceResultPoint(e,n),a=o/r,s=e.getX(),c=e.getY(),u=a*(n.getX()-e.getX())/o,l=a*(n.getY()-e.getY())/o,h=0;h<r;h++)this.image.get(ft.round(s+h*u),ft.round(c+h*l))&&(i|=1<<r-h-1);return i},t.prototype.isWhiteOrBlackRectangle=function(e,n,r,i){var o=3;e=new Qn(e.getX()-o,e.getY()+o),n=new Qn(n.getX()-o,n.getY()-o),r=new Qn(r.getX()+o,r.getY()-o),i=new Qn(i.getX()+o,i.getY()+o);var a=this.getColor(i,e);if(a===0)return!1;var s=this.getColor(e,n);return s!==a||(s=this.getColor(n,r),s!==a)?!1:(s=this.getColor(r,i),s===a)},t.prototype.getColor=function(e,n){for(var r=this.distancePoint(e,n),i=(n.getX()-e.getX())/r,o=(n.getY()-e.getY())/r,a=0,s=e.getX(),c=e.getY(),u=this.image.get(e.getX(),e.getY()),l=Math.ceil(r),h=0;h<l;h++)s+=i,c+=o,this.image.get(ft.round(s),ft.round(c))!==u&&a++;var d=a/r;return d>.1&&d<.9?0:d<=.1===u?1:-1},t.prototype.getFirstDifferent=function(e,n,r,i){for(var o=e.getX()+r,a=e.getY()+i;this.isValid(o,a)&&this.image.get(o,a)===n;)o+=r,a+=i;for(o-=r,a-=i;this.isValid(o,a)&&this.image.get(o,a)===n;)o+=r;for(o-=r;this.isValid(o,a)&&this.image.get(o,a)===n;)a+=i;return a-=i,new Qn(o,a)},t.prototype.expandSquare=function(e,n,r){var i=r/(2*n),o=e[0].getX()-e[2].getX(),a=e[0].getY()-e[2].getY(),s=(e[0].getX()+e[2].getX())/2,c=(e[0].getY()+e[2].getY())/2,u=new Ve(s+i*o,c+i*a),l=new Ve(s-i*o,c-i*a);o=e[1].getX()-e[3].getX(),a=e[1].getY()-e[3].getY(),s=(e[1].getX()+e[3].getX())/2,c=(e[1].getY()+e[3].getY())/2;var h=new Ve(s+i*o,c+i*a),d=new Ve(s-i*o,c-i*a),f=[u,h,l,d];return f},t.prototype.isValid=function(e,n){return e>=0&&e<this.image.getWidth()&&n>0&&n<this.image.getHeight()},t.prototype.isValidPoint=function(e){var n=ft.round(e.getX()),r=ft.round(e.getY());return this.isValid(n,r)},t.prototype.distancePoint=function(e,n){return ft.distance(e.getX(),e.getY(),n.getX(),n.getY())},t.prototype.distanceResultPoint=function(e,n){return ft.distance(e.getX(),e.getY(),n.getX(),n.getY())},t.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*($t.truncDivision(this.nbLayers-4,8)+1)+15},t}(),Ou=function(){function t(){}return t.prototype.decode=function(e,n){n===void 0&&(n=null);var r=null,i=new BW(e.getBlackMatrix()),o=null,a=null;try{var s=i.detectMirror(!1);o=s.getPoints(),this.reportFoundResultPoints(n,o),a=new rm().decode(s)}catch(h){r=h}if(a==null)try{var s=i.detectMirror(!0);o=s.getPoints(),this.reportFoundResultPoints(n,o),a=new rm().decode(s)}catch(h){throw r!=null?r:h}var c=new Cn(a.getText(),a.getRawBytes(),a.getNumBits(),o,Ke.AZTEC,Mt.currentTimeMillis()),u=a.getByteSegments();u!=null&&c.putMetadata(Tn.BYTE_SEGMENTS,u);var l=a.getECLevel();return l!=null&&c.putMetadata(Tn.ERROR_CORRECTION_LEVEL,l),c},t.prototype.reportFoundResultPoints=function(e,n){if(e!=null){var r=e.get(Lt.NEED_RESULT_POINT_CALLBACK);r!=null&&n.forEach(function(i,o,a){r.foundPossibleResultPoint(i)})}},t.prototype.reset=function(){},t}(),ZW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){ZW(e,t);function e(n){return n===void 0&&(n=500),t.call(this,new Ou,n)||this}return e})(Ca);var cn=function(){function t(){}return t.prototype.decode=function(e,n){try{return this.doDecode(e,n)}catch{var r=n&&n.get(Lt.TRY_HARDER)===!0;if(r&&e.isRotateSupported()){var i=e.rotateCounterClockwise(),o=this.doDecode(i,n),a=o.getResultMetadata(),s=270;a!==null&&a.get(Tn.ORIENTATION)===!0&&(s=s+a.get(Tn.ORIENTATION)%360),o.putMetadata(Tn.ORIENTATION,s);var c=o.getResultPoints();if(c!==null)for(var u=i.getHeight(),l=0;l<c.length;l++)c[l]=new Ve(u-c[l].getY()-1,c[l].getX());return o}else throw new De}},t.prototype.reset=function(){},t.prototype.doDecode=function(e,n){var r=e.getWidth(),i=e.getHeight(),o=new Jn(r),a=n&&n.get(Lt.TRY_HARDER)===!0,s=Math.max(1,i>>(a?8:5)),c;a?c=i:c=15;for(var u=Math.trunc(i/2),l=0;l<c;l++){var h=Math.trunc((l+1)/2),d=(l&1)===0,f=u+s*(d?h:-h);if(f<0||f>=i)break;try{o=e.getBlackRow(f,o)}catch{continue}for(var p=function(m){if(m===1&&(o.reverse(),n&&n.get(Lt.NEED_RESULT_POINT_CALLBACK)===!0)){var v=new Map;n.forEach(function(E,N){return v.set(N,E)}),v.delete(Lt.NEED_RESULT_POINT_CALLBACK),n=v}try{var x=g.decodeRow(f,o,n);if(m===1){x.putMetadata(Tn.ORIENTATION,180);var O=x.getResultPoints();O!==null&&(O[0]=new Ve(r-O[0].getX()-1,O[0].getY()),O[1]=new Ve(r-O[1].getX()-1,O[1].getY()))}return{value:x}}catch{}},g=this,y=0;y<2;y++){var R=p(y);if(typeof R=="object")return R.value}}throw new De},t.recordPattern=function(e,n,r){for(var i=r.length,o=0;o<i;o++)r[o]=0;var a=e.getSize();if(n>=a)throw new De;for(var s=!e.get(n),c=0,u=n;u<a;){if(e.get(u)!==s)r[c]++;else{if(++c===i)break;r[c]=1,s=!s}u++}if(!(c===i||c===i-1&&u===a))throw new De},t.recordPatternInReverse=function(e,n,r){for(var i=r.length,o=e.get(n);n>0&&i>=0;)e.get(--n)!==o&&(i--,o=!o);if(i>=0)throw new De;t.recordPattern(e,n+1,r)},t.patternMatchVariance=function(e,n,r){for(var i=e.length,o=0,a=0,s=0;s<i;s++)o+=e[s],a+=n[s];if(o<a)return Number.POSITIVE_INFINITY;var c=o/a;r*=c;for(var u=0,l=0;l<i;l++){var h=e[l],d=n[l]*c,f=h>d?h-d:d-h;if(f>r)return Number.POSITIVE_INFINITY;u+=f}return u/o},t}(),kW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),om=function(t){kW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.findStartPattern=function(n){for(var r=n.getSize(),i=n.getNextSet(0),o=0,a=Int32Array.from([0,0,0,0,0,0]),s=i,c=!1,u=6,l=i;l<r;l++)if(n.get(l)!==c)a[o]++;else{if(o===u-1){for(var h=e.MAX_AVG_VARIANCE,d=-1,f=e.CODE_START_A;f<=e.CODE_START_C;f++){var p=cn.patternMatchVariance(a,e.CODE_PATTERNS[f],e.MAX_INDIVIDUAL_VARIANCE);p<h&&(h=p,d=f)}if(d>=0&&n.isRange(Math.max(0,s-(l-s)/2),s,!1))return Int32Array.from([s,l,d]);s+=a[0]+a[1],a=a.slice(2,a.length),a[o-1]=0,a[o]=0,o--}else o++;a[o]=1,c=!c}throw new De},e.decodeCode=function(n,r,i){cn.recordPattern(n,i,r);for(var o=e.MAX_AVG_VARIANCE,a=-1,s=0;s<e.CODE_PATTERNS.length;s++){var c=e.CODE_PATTERNS[s],u=this.patternMatchVariance(r,c,e.MAX_INDIVIDUAL_VARIANCE);u<o&&(o=u,a=s)}if(a>=0)return a;throw new De},e.prototype.decodeRow=function(n,r,i){var o=i&&i.get(Lt.ASSUME_GS1)===!0,a=e.findStartPattern(r),s=a[2],c=0,u=new Uint8Array(20);u[c++]=s;var l;switch(s){case e.CODE_START_A:l=e.CODE_CODE_A;break;case e.CODE_START_B:l=e.CODE_CODE_B;break;case e.CODE_START_C:l=e.CODE_CODE_C;break;default:throw new Le}for(var h=!1,d=!1,f="",p=a[0],g=a[1],y=Int32Array.from([0,0,0,0,0,0]),R=0,m=0,v=s,x=0,O=!0,E=!1,N=!1;!h;){var M=d;switch(d=!1,R=m,m=e.decodeCode(r,y,g),u[c++]=m,m!==e.CODE_STOP&&(O=!0),m!==e.CODE_STOP&&(x++,v+=x*m),p=g,g+=y.reduce(function(X,V){return X+V},0),m){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new Le}switch(l){case e.CODE_CODE_A:if(m<64)N===E?f+=String.fromCharCode(" ".charCodeAt(0)+m):f+=String.fromCharCode(" ".charCodeAt(0)+m+128),N=!1;else if(m<96)N===E?f+=String.fromCharCode(m-64):f+=String.fromCharCode(m+64),N=!1;else switch(m!==e.CODE_STOP&&(O=!1),m){case e.CODE_FNC_1:o&&(f.length===0?f+="]C1":f+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!E&&N?(E=!0,N=!1):E&&N?(E=!1,N=!1):N=!0;break;case e.CODE_SHIFT:d=!0,l=e.CODE_CODE_B;break;case e.CODE_CODE_B:l=e.CODE_CODE_B;break;case e.CODE_CODE_C:l=e.CODE_CODE_C;break;case e.CODE_STOP:h=!0;break}break;case e.CODE_CODE_B:if(m<96)N===E?f+=String.fromCharCode(" ".charCodeAt(0)+m):f+=String.fromCharCode(" ".charCodeAt(0)+m+128),N=!1;else switch(m!==e.CODE_STOP&&(O=!1),m){case e.CODE_FNC_1:o&&(f.length===0?f+="]C1":f+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!E&&N?(E=!0,N=!1):E&&N?(E=!1,N=!1):N=!0;break;case e.CODE_SHIFT:d=!0,l=e.CODE_CODE_A;break;case e.CODE_CODE_A:l=e.CODE_CODE_A;break;case e.CODE_CODE_C:l=e.CODE_CODE_C;break;case e.CODE_STOP:h=!0;break}break;case e.CODE_CODE_C:if(m<100)m<10&&(f+="0"),f+=m;else switch(m!==e.CODE_STOP&&(O=!1),m){case e.CODE_FNC_1:o&&(f.length===0?f+="]C1":f+=String.fromCharCode(29));break;case e.CODE_CODE_A:l=e.CODE_CODE_A;break;case e.CODE_CODE_B:l=e.CODE_CODE_B;break;case e.CODE_STOP:h=!0;break}break}M&&(l=l===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var _=g-p;if(g=r.getNextUnset(g),!r.isRange(g,Math.min(r.getSize(),g+(g-p)/2),!1))throw new De;if(v-=x*R,v%103!==R)throw new qt;var B=f.length;if(B===0)throw new De;B>0&&O&&(l===e.CODE_CODE_C?f=f.substring(0,B-2):f=f.substring(0,B-1));for(var q=(a[1]+a[0])/2,T=p+_/2,I=u.length,b=new Uint8Array(I),P=0;P<I;P++)b[P]=u[P];var U=[new Ve(q,n),new Ve(T,n)];return new Cn(f,b,0,U,Ke.CODE_128,new Date().getTime())},e.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],e.MAX_AVG_VARIANCE=.25,e.MAX_INDIVIDUAL_VARIANCE=.7,e.CODE_SHIFT=98,e.CODE_CODE_C=99,e.CODE_CODE_B=100,e.CODE_CODE_A=101,e.CODE_FNC_1=102,e.CODE_FNC_2=97,e.CODE_FNC_3=96,e.CODE_FNC_4_A=101,e.CODE_FNC_4_B=100,e.CODE_START_A=103,e.CODE_START_B=104,e.CODE_START_C=105,e.CODE_STOP=106,e}(cn),QW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),zh=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},am=function(t){QW(e,t);function e(n,r){n===void 0&&(n=!1),r===void 0&&(r=!1);var i=t.call(this)||this;return i.usingCheckDigit=n,i.extendedMode=r,i.decodeRowResult="",i.counters=new Int32Array(9),i}return e.prototype.decodeRow=function(n,r,i){var o,a,s,c,u=this.counters;u.fill(0),this.decodeRowResult="";var l=e.findAsteriskPattern(r,u),h=r.getNextSet(l[1]),d=r.getSize(),f,p;do{e.recordPattern(r,h,u);var g=e.toNarrowWidePattern(u);if(g<0)throw new De;f=e.patternToChar(g),this.decodeRowResult+=f,p=h;try{for(var y=(o=void 0,zh(u)),R=y.next();!R.done;R=y.next()){var m=R.value;h+=m}}catch(I){o={error:I}}finally{try{R&&!R.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}h=r.getNextSet(h)}while(f!=="*");this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var x=zh(u),O=x.next();!O.done;O=x.next()){var m=O.value;v+=m}}catch(I){s={error:I}}finally{try{O&&!O.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}var E=h-p-v;if(h!==d&&E*2<v)throw new De;if(this.usingCheckDigit){for(var N=this.decodeRowResult.length-1,M=0,_=0;_<N;_++)M+=e.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(_));if(this.decodeRowResult.charAt(N)!==e.ALPHABET_STRING.charAt(M%43))throw new qt;this.decodeRowResult=this.decodeRowResult.substring(0,N)}if(this.decodeRowResult.length===0)throw new De;var B;this.extendedMode?B=e.decodeExtended(this.decodeRowResult):B=this.decodeRowResult;var q=(l[1]+l[0])/2,T=p+v/2;return new Cn(B,null,0,[new Ve(q,n),new Ve(T,n)],Ke.CODE_39,new Date().getTime())},e.findAsteriskPattern=function(n,r){for(var i=n.getSize(),o=n.getNextSet(0),a=0,s=o,c=!1,u=r.length,l=o;l<i;l++)if(n.get(l)!==c)r[a]++;else{if(a===u-1){if(this.toNarrowWidePattern(r)===e.ASTERISK_ENCODING&&n.isRange(Math.max(0,s-Math.floor((l-s)/2)),s,!1))return[s,l];s+=r[0]+r[1],r.copyWithin(0,2,2+a-1),r[a-1]=0,r[a]=0,a--}else a++;r[a]=1,c=!c}throw new De},e.toNarrowWidePattern=function(n){var r,i,o=n.length,a=0,s;do{var c=2147483647;try{for(var u=(r=void 0,zh(n)),l=u.next();!l.done;l=u.next()){var h=l.value;h<c&&h>a&&(c=h)}}catch(g){r={error:g}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}a=c,s=0;for(var d=0,f=0,p=0;p<o;p++){var h=n[p];h>a&&(f|=1<<o-1-p,s++,d+=h)}if(s===3){for(var p=0;p<o&&s>0;p++){var h=n[p];if(h>a&&(s--,h*2>=d))return-1}return f}}while(s>3);return-1},e.patternToChar=function(n){for(var r=0;r<e.CHARACTER_ENCODINGS.length;r++)if(e.CHARACTER_ENCODINGS[r]===n)return e.ALPHABET_STRING.charAt(r);if(n===e.ASTERISK_ENCODING)return"*";throw new De},e.decodeExtended=function(n){for(var r=n.length,i="",o=0;o<r;o++){var a=n.charAt(o);if(a==="+"||a==="$"||a==="%"||a==="/"){var s=n.charAt(o+1),c="\0";switch(a){case"+":if(s>="A"&&s<="Z")c=String.fromCharCode(s.charCodeAt(0)+32);else throw new Le;break;case"$":if(s>="A"&&s<="Z")c=String.fromCharCode(s.charCodeAt(0)-64);else throw new Le;break;case"%":if(s>="A"&&s<="E")c=String.fromCharCode(s.charCodeAt(0)-38);else if(s>="F"&&s<="J")c=String.fromCharCode(s.charCodeAt(0)-11);else if(s>="K"&&s<="O")c=String.fromCharCode(s.charCodeAt(0)+16);else if(s>="P"&&s<="T")c=String.fromCharCode(s.charCodeAt(0)+43);else if(s==="U")c="\0";else if(s==="V")c="@";else if(s==="W")c="`";else if(s==="X"||s==="Y"||s==="Z")c="\x7F";else throw new Le;break;case"/":if(s>="A"&&s<="O")c=String.fromCharCode(s.charCodeAt(0)-32);else if(s==="Z")c=":";else throw new Le;break}i+=c,o++}else i+=a}return i},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],e.ASTERISK_ENCODING=148,e}(cn),KW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),$h=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},sm=function(t){KW(e,t);function e(){var n=t.call(this)||this;return n.decodeRowResult="",n.counters=new Int32Array(6),n}return e.prototype.decodeRow=function(n,r,i){var o,a,s,c,u=this.findAsteriskPattern(r),l=r.getNextSet(u[1]),h=r.getSize(),d=this.counters;d.fill(0),this.decodeRowResult="";var f,p;do{e.recordPattern(r,l,d);var g=this.toPattern(d);if(g<0)throw new De;f=this.patternToChar(g),this.decodeRowResult+=f,p=l;try{for(var y=(o=void 0,$h(d)),R=y.next();!R.done;R=y.next()){var m=R.value;l+=m}}catch(_){o={error:_}}finally{try{R&&!R.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}l=r.getNextSet(l)}while(f!=="*");this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var x=$h(d),O=x.next();!O.done;O=x.next()){var m=O.value;v+=m}}catch(_){s={error:_}}finally{try{O&&!O.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}if(l===h||!r.get(l))throw new De;if(this.decodeRowResult.length<2)throw new De;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var E=this.decodeExtended(this.decodeRowResult),N=(u[1]+u[0])/2,M=p+v/2;return new Cn(E,null,0,[new Ve(N,n),new Ve(M,n)],Ke.CODE_93,new Date().getTime())},e.prototype.findAsteriskPattern=function(n){var r=n.getSize(),i=n.getNextSet(0);this.counters.fill(0);for(var o=this.counters,a=i,s=!1,c=o.length,u=0,l=i;l<r;l++)if(n.get(l)!==s)o[u]++;else{if(u===c-1){if(this.toPattern(o)===e.ASTERISK_ENCODING)return new Int32Array([a,l]);a+=o[0]+o[1],o.copyWithin(0,2,2+u-1),o[u-1]=0,o[u]=0,u--}else u++;o[u]=1,s=!s}throw new De},e.prototype.toPattern=function(n){var r,i,o=0;try{for(var a=$h(n),s=a.next();!s.done;s=a.next()){var c=s.value;o+=c}}catch(p){r={error:p}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}for(var u=0,l=n.length,h=0;h<l;h++){var d=Math.round(n[h]*9/o);if(d<1||d>4)return-1;if((h&1)===0)for(var f=0;f<d;f++)u=u<<1|1;else u<<=d}return u},e.prototype.patternToChar=function(n){for(var r=0;r<e.CHARACTER_ENCODINGS.length;r++)if(e.CHARACTER_ENCODINGS[r]===n)return e.ALPHABET_STRING.charAt(r);throw new De},e.prototype.decodeExtended=function(n){for(var r=n.length,i="",o=0;o<r;o++){var a=n.charAt(o);if(a>="a"&&a<="d"){if(o>=r-1)throw new Le;var s=n.charAt(o+1),c="\0";switch(a){case"d":if(s>="A"&&s<="Z")c=String.fromCharCode(s.charCodeAt(0)+32);else throw new Le;break;case"a":if(s>="A"&&s<="Z")c=String.fromCharCode(s.charCodeAt(0)-64);else throw new Le;break;case"b":if(s>="A"&&s<="E")c=String.fromCharCode(s.charCodeAt(0)-38);else if(s>="F"&&s<="J")c=String.fromCharCode(s.charCodeAt(0)-11);else if(s>="K"&&s<="O")c=String.fromCharCode(s.charCodeAt(0)+16);else if(s>="P"&&s<="T")c=String.fromCharCode(s.charCodeAt(0)+43);else if(s==="U")c="\0";else if(s==="V")c="@";else if(s==="W")c="`";else if(s>="X"&&s<="Z")c=String.fromCharCode(127);else throw new Le;break;case"c":if(s>="A"&&s<="O")c=String.fromCharCode(s.charCodeAt(0)-32);else if(s==="Z")c=":";else throw new Le;break}i+=c,o++}else i+=a}return i},e.prototype.checkChecksums=function(n){var r=n.length;this.checkOneChecksum(n,r-2,20),this.checkOneChecksum(n,r-1,15)},e.prototype.checkOneChecksum=function(n,r,i){for(var o=1,a=0,s=r-1;s>=0;s--)a+=o*e.ALPHABET_STRING.indexOf(n.charAt(s)),++o>i&&(o=1);if(n.charAt(r)!==e.ALPHABET_STRING[a%47])throw new qt},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",e.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],e.ASTERISK_ENCODING=e.CHARACTER_ENCODINGS[47],e}(cn),HW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),GW=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},cm=function(t){HW(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.narrowLineWidth=-1,n}return e.prototype.decodeRow=function(n,r,i){var o,a,s=this.decodeStart(r),c=this.decodeEnd(r),u=new rt;e.decodeMiddle(r,s[1],c[0],u);var l=u.toString(),h=null;i!=null&&(h=i.get(Lt.ALLOWED_LENGTHS)),h==null&&(h=e.DEFAULT_ALLOWED_LENGTHS);var d=l.length,f=!1,p=0;try{for(var g=GW(h),y=g.next();!y.done;y=g.next()){var R=y.value;if(d===R){f=!0;break}R>p&&(p=R)}}catch(x){o={error:x}}finally{try{y&&!y.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}if(!f&&d>p&&(f=!0),!f)throw new Le;var m=[new Ve(s[1],n),new Ve(c[0],n)],v=new Cn(l,null,0,m,Ke.ITF,new Date().getTime());return v},e.decodeMiddle=function(n,r,i,o){var a=new Int32Array(10),s=new Int32Array(5),c=new Int32Array(5);for(a.fill(0),s.fill(0),c.fill(0);r<i;){cn.recordPattern(n,r,a);for(var u=0;u<5;u++){var l=2*u;s[u]=a[l],c[u]=a[l+1]}var h=e.decodeDigit(s);o.append(h.toString()),h=this.decodeDigit(c),o.append(h.toString()),a.forEach(function(d){r+=d})}},e.prototype.decodeStart=function(n){var r=e.skipWhiteSpace(n),i=e.findGuardPattern(n,r,e.START_PATTERN);return this.narrowLineWidth=(i[1]-i[0])/4,this.validateQuietZone(n,i[0]),i},e.prototype.validateQuietZone=function(n,r){var i=this.narrowLineWidth*10;i=i<r?i:r;for(var o=r-1;i>0&&o>=0&&!n.get(o);o--)i--;if(i!==0)throw new De},e.skipWhiteSpace=function(n){var r=n.getSize(),i=n.getNextSet(0);if(i===r)throw new De;return i},e.prototype.decodeEnd=function(n){n.reverse();try{var r=e.skipWhiteSpace(n),i=void 0;try{i=e.findGuardPattern(n,r,e.END_PATTERN_REVERSED[0])}catch(a){a instanceof De&&(i=e.findGuardPattern(n,r,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(n,i[0]);var o=i[0];return i[0]=n.getSize()-i[1],i[1]=n.getSize()-o,i}finally{n.reverse()}},e.findGuardPattern=function(n,r,i){var o=i.length,a=new Int32Array(o),s=n.getSize(),c=!1,u=0,l=r;a.fill(0);for(var h=r;h<s;h++)if(n.get(h)!==c)a[u]++;else{if(u===o-1){if(cn.patternMatchVariance(a,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[l,h];l+=a[0]+a[1],Mt.arraycopy(a,2,a,0,u-1),a[u-1]=0,a[u]=0,u--}else u++;a[u]=1,c=!c}throw new De},e.decodeDigit=function(n){for(var r=e.MAX_AVG_VARIANCE,i=-1,o=e.PATTERNS.length,a=0;a<o;a++){var s=e.PATTERNS[a],c=cn.patternMatchVariance(n,s,e.MAX_INDIVIDUAL_VARIANCE);c<r?(r=c,i=a):c===r&&(i=-1)}if(i>=0)return i%10;throw new De},e.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=Int32Array.from([1,1,1,1]),e.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],e}(cn),JW=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ta=function(t){JW(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.decodeRowStringBuffer="",n}return e.findStartGuardPattern=function(n){for(var r=!1,i,o=0,a=Int32Array.from([0,0,0]);!r;){a=Int32Array.from([0,0,0]),i=e.findGuardPattern(n,o,!1,this.START_END_PATTERN,a);var s=i[0];o=i[1];var c=s-(o-s);c>=0&&(r=n.isRange(c,s,!1))}return i},e.checkChecksum=function(n){return e.checkStandardUPCEANChecksum(n)},e.checkStandardUPCEANChecksum=function(n){var r=n.length;if(r===0)return!1;var i=parseInt(n.charAt(r-1),10);return e.getStandardUPCEANChecksum(n.substring(0,r-1))===i},e.getStandardUPCEANChecksum=function(n){for(var r=n.length,i=0,o=r-1;o>=0;o-=2){var a=n.charAt(o).charCodeAt(0)-"0".charCodeAt(0);if(a<0||a>9)throw new Le;i+=a}i*=3;for(var o=r-2;o>=0;o-=2){var a=n.charAt(o).charCodeAt(0)-"0".charCodeAt(0);if(a<0||a>9)throw new Le;i+=a}return(1e3-i)%10},e.decodeEnd=function(n,r){return e.findGuardPattern(n,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(n,r,i,o){return this.findGuardPattern(n,r,i,o,new Int32Array(o.length))},e.findGuardPattern=function(n,r,i,o,a){var s=n.getSize();r=i?n.getNextUnset(r):n.getNextSet(r);for(var c=0,u=r,l=o.length,h=i,d=r;d<s;d++)if(n.get(d)!==h)a[c]++;else{if(c===l-1){if(cn.patternMatchVariance(a,o,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return Int32Array.from([u,d]);u+=a[0]+a[1];for(var f=a.slice(2,a.length),p=0;p<c-1;p++)a[p]=f[p];a[c-1]=0,a[c]=0,c--}else c++;a[c]=1,h=!h}throw new De},e.decodeDigit=function(n,r,i,o){this.recordPattern(n,i,r);for(var a=this.MAX_AVG_VARIANCE,s=-1,c=o.length,u=0;u<c;u++){var l=o[u],h=cn.patternMatchVariance(r,l,e.MAX_INDIVIDUAL_VARIANCE);h<a&&(a=h,s=u)}if(s>=0)return s;throw new De},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(cn),zW=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},$W=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,r){var i=this.decodeRowStringBuffer,o=this.decodeMiddle(n,r,i),a=i.toString(),s=t.parseExtensionString(a),c=[new Ve((r[0]+r[1])/2,e),new Ve(o,e)],u=new Cn(a,null,0,c,Ke.UPC_EAN_EXTENSION,new Date().getTime());return s!=null&&u.putAllMetadata(s),u},t.prototype.decodeMiddle=function(e,n,r){var i,o,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),c=n[1],u=0,l=0;l<5&&c<s;l++){var h=Ta.decodeDigit(e,a,c,Ta.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+h%10);try{for(var d=(i=void 0,zW(a)),f=d.next();!f.done;f=d.next()){var p=f.value;c+=p}}catch(y){i={error:y}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}h>=10&&(u|=1<<4-l),l!==4&&(c=e.getNextSet(c),c=e.getNextUnset(c))}if(r.length!==5)throw new De;var g=this.determineCheckDigit(u);if(t.extensionChecksum(r.toString())!==g)throw new De;return c},t.extensionChecksum=function(e){for(var n=e.length,r=0,i=n-2;i>=0;i-=2)r+=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(var i=n-1;i>=0;i-=2)r+=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0);return r*=3,r%10},t.prototype.determineCheckDigit=function(e){for(var n=0;n<10;n++)if(e===this.CHECK_DIGIT_ENCODINGS[n])return n;throw new De},t.parseExtensionString=function(e){if(e.length!==5)return null;var n=t.parseExtension5String(e);return n==null?null:new Map([[Tn.SUGGESTED_PRICE,n]])},t.parseExtension5String=function(e){var n;switch(e.charAt(0)){case"0":n="\xA3";break;case"5":n="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}n="";break;default:n="";break}var r=parseInt(e.substring(1)),i=(r/100).toString(),o=r%100,a=o<10?"0"+o:o.toString();return n+i+"."+a},t}(),jW=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},qW=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,r){var i=this.decodeRowStringBuffer,o=this.decodeMiddle(n,r,i),a=i.toString(),s=t.parseExtensionString(a),c=[new Ve((r[0]+r[1])/2,e),new Ve(o,e)],u=new Cn(a,null,0,c,Ke.UPC_EAN_EXTENSION,new Date().getTime());return s!=null&&u.putAllMetadata(s),u},t.prototype.decodeMiddle=function(e,n,r){var i,o,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),c=n[1],u=0,l=0;l<2&&c<s;l++){var h=Ta.decodeDigit(e,a,c,Ta.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+h%10);try{for(var d=(i=void 0,jW(a)),f=d.next();!f.done;f=d.next()){var p=f.value;c+=p}}catch(g){i={error:g}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}h>=10&&(u|=1<<1-l),l!==1&&(c=e.getNextSet(c),c=e.getNextUnset(c))}if(r.length!==2)throw new De;if(parseInt(r.toString())%4!==u)throw new De;return c},t.parseExtensionString=function(e){return e.length!==2?null:new Map([[Tn.ISSUE_NUMBER,parseInt(e)]])},t}(),eX=function(){function t(){}return t.decodeRow=function(e,n,r){var i=Ta.findGuardPattern(n,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{var o=new $W;return o.decodeRow(e,n,i)}catch{var a=new qW;return a.decodeRow(e,n,i)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),tX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),on=function(t){tX(e,t);function e(){var n=t.call(this)||this;n.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map(function(s){return Int32Array.from(s)});for(var r=10;r<20;r++){for(var i=e.L_PATTERNS[r-10],o=new Int32Array(i.length),a=0;a<i.length;a++)o[a]=i[i.length-a-1];e.L_AND_G_PATTERNS[r]=o}return n}return e.prototype.decodeRow=function(n,r,i){var o=e.findStartGuardPattern(r),a=i==null?null:i.get(Lt.NEED_RESULT_POINT_CALLBACK);if(a!=null){var s=new Ve((o[0]+o[1])/2,n);a.foundPossibleResultPoint(s)}var c=this.decodeMiddle(r,o,this.decodeRowStringBuffer),u=c.rowOffset,l=c.resultString;if(a!=null){var h=new Ve(u,n);a.foundPossibleResultPoint(h)}var d=e.decodeEnd(r,u);if(a!=null){var f=new Ve((d[0]+d[1])/2,n);a.foundPossibleResultPoint(f)}var p=d[1],g=p+(p-d[0]);if(g>=r.getSize()||!r.isRange(p,g,!1))throw new De;var y=l.toString();if(y.length<8)throw new Le;if(!e.checkChecksum(y))throw new qt;var R=(o[1]+o[0])/2,m=(d[1]+d[0])/2,v=this.getBarcodeFormat(),x=[new Ve(R,n),new Ve(m,n)],O=new Cn(y,null,0,x,v,new Date().getTime()),E=0;try{var N=eX.decodeRow(n,r,d[1]);O.putMetadata(Tn.UPC_EAN_EXTENSION,N.getText()),O.putAllMetadata(N.getResultMetadata()),O.addResultPoints(N.getResultPoints()),E=N.getText().length}catch{}var M=i==null?null:i.get(Lt.ALLOWED_EAN_EXTENSIONS);if(M!=null){var _=!1;for(var B in M)if(E.toString()===B){_=!0;break}if(!_)throw new De}return v===Ke.EAN_13||Ke.UPC_A,O},e.checkChecksum=function(n){return e.checkStandardUPCEANChecksum(n)},e.checkStandardUPCEANChecksum=function(n){var r=n.length;if(r===0)return!1;var i=parseInt(n.charAt(r-1),10);return e.getStandardUPCEANChecksum(n.substring(0,r-1))===i},e.getStandardUPCEANChecksum=function(n){for(var r=n.length,i=0,o=r-1;o>=0;o-=2){var a=n.charAt(o).charCodeAt(0)-"0".charCodeAt(0);if(a<0||a>9)throw new Le;i+=a}i*=3;for(var o=r-2;o>=0;o-=2){var a=n.charAt(o).charCodeAt(0)-"0".charCodeAt(0);if(a<0||a>9)throw new Le;i+=a}return(1e3-i)%10},e.decodeEnd=function(n,r){return e.findGuardPattern(n,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(Ta),nX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),um=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Zd=function(t){nX(e,t);function e(){var n=t.call(this)||this;return n.decodeMiddleCounters=Int32Array.from([0,0,0,0]),n}return e.prototype.decodeMiddle=function(n,r,i){var o,a,s,c,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var l=n.getSize(),h=r[1],d=0,f=0;f<6&&h<l;f++){var p=on.decodeDigit(n,u,h,on.L_AND_G_PATTERNS);i+=String.fromCharCode("0".charCodeAt(0)+p%10);try{for(var g=(o=void 0,um(u)),y=g.next();!y.done;y=g.next()){var R=y.value;h+=R}}catch(O){o={error:O}}finally{try{y&&!y.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}p>=10&&(d|=1<<5-f)}i=e.determineFirstDigit(i,d);var m=on.findGuardPattern(n,h,!0,on.MIDDLE_PATTERN,new Int32Array(on.MIDDLE_PATTERN.length).fill(0));h=m[1];for(var f=0;f<6&&h<l;f++){var p=on.decodeDigit(n,u,h,on.L_PATTERNS);i+=String.fromCharCode("0".charCodeAt(0)+p);try{for(var v=(s=void 0,um(u)),x=v.next();!x.done;x=v.next()){var R=x.value;h+=R}}catch(N){s={error:N}}finally{try{x&&!x.done&&(c=v.return)&&c.call(v)}finally{if(s)throw s.error}}}return{rowOffset:h,resultString:i}},e.prototype.getBarcodeFormat=function(){return Ke.EAN_13},e.determineFirstDigit=function(n,r){for(var i=0;i<10;i++)if(r===this.FIRST_DIGIT_ENCODINGS[i])return n=String.fromCharCode("0".charCodeAt(0)+i)+n,n;throw new De},e.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],e}(on),rX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),lm=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},hm=function(t){rX(e,t);function e(){var n=t.call(this)||this;return n.decodeMiddleCounters=Int32Array.from([0,0,0,0]),n}return e.prototype.decodeMiddle=function(n,r,i){var o,a,s,c,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var l=n.getSize(),h=r[1],d=0;d<4&&h<l;d++){var f=on.decodeDigit(n,u,h,on.L_PATTERNS);i+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(o=void 0,lm(u)),g=p.next();!g.done;g=p.next()){var y=g.value;h+=y}}catch(x){o={error:x}}finally{try{g&&!g.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}var R=on.findGuardPattern(n,h,!0,on.MIDDLE_PATTERN,new Int32Array(on.MIDDLE_PATTERN.length).fill(0));h=R[1];for(var d=0;d<4&&h<l;d++){var f=on.decodeDigit(n,u,h,on.L_PATTERNS);i+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var m=(s=void 0,lm(u)),v=m.next();!v.done;v=m.next()){var y=v.value;h+=y}}catch(E){s={error:E}}finally{try{v&&!v.done&&(c=m.return)&&c.call(m)}finally{if(s)throw s.error}}}return{rowOffset:h,resultString:i}},e.prototype.getBarcodeFormat=function(){return Ke.EAN_8},e}(on),iX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),dm=function(t){iX(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ean13Reader=new Zd,n}return e.prototype.getBarcodeFormat=function(){return Ke.UPC_A},e.prototype.decode=function(n,r){return this.maybeReturnResult(this.ean13Reader.decode(n))},e.prototype.decodeRow=function(n,r,i){return this.maybeReturnResult(this.ean13Reader.decodeRow(n,r,i))},e.prototype.decodeMiddle=function(n,r,i){return this.ean13Reader.decodeMiddle(n,r,i)},e.prototype.maybeReturnResult=function(n){var r=n.getText();if(r.charAt(0)==="0"){var i=new Cn(r.substring(1),null,null,n.getResultPoints(),Ke.UPC_A);return n.getResultMetadata()!=null&&i.putAllMetadata(n.getResultMetadata()),i}else throw new De},e.prototype.reset=function(){this.ean13Reader.reset()},e}(on),oX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),aX=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},fm=function(t){oX(e,t);function e(){var n=t.call(this)||this;return n.decodeMiddleCounters=new Int32Array(4),n}return e.prototype.decodeMiddle=function(n,r,i){var o,a,s=this.decodeMiddleCounters.map(function(y){return y});s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var c=n.getSize(),u=r[1],l=0,h=0;h<6&&u<c;h++){var d=e.decodeDigit(n,s,u,e.L_AND_G_PATTERNS);i+=String.fromCharCode("0".charCodeAt(0)+d%10);try{for(var f=(o=void 0,aX(s)),p=f.next();!p.done;p=f.next()){var g=p.value;u+=g}}catch(y){o={error:y}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}d>=10&&(l|=1<<5-h)}return e.determineNumSysAndCheckDigit(new rt(i),l),u},e.prototype.decodeEnd=function(n,r){return e.findGuardPatternWithoutCounters(n,r,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(n){return on.checkChecksum(e.convertUPCEtoUPCA(n))},e.determineNumSysAndCheckDigit=function(n,r){for(var i=0;i<=1;i++)for(var o=0;o<10;o++)if(r===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[i][o]){n.insert(0,"0"+i),n.append("0"+o);return}throw De.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return Ke.UPC_E},e.convertUPCEtoUPCA=function(n){var r=n.slice(1,7).split("").map(function(a){return a.charCodeAt(0)}),i=new rt;i.append(n.charAt(0));var o=r[5];switch(o){case 0:case 1:case 2:i.appendChars(r,0,2),i.append(o),i.append("0000"),i.appendChars(r,2,3);break;case 3:i.appendChars(r,0,3),i.append("00000"),i.appendChars(r,3,2);break;case 4:i.appendChars(r,0,4),i.append("00000"),i.append(r[4]);break;default:i.appendChars(r,0,5),i.append("0000"),i.append(o);break}return n.length>=8&&i.append(n.charAt(7)),i.toString()},e.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],e}(on),sX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),pm=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},jh=function(t){sX(e,t);function e(n){var r=t.call(this)||this,i=n==null?null:n.get(Lt.POSSIBLE_FORMATS),o=[];return i!=null&&(i.indexOf(Ke.EAN_13)>-1&&o.push(new Zd),i.indexOf(Ke.UPC_A)>-1&&o.push(new dm),i.indexOf(Ke.EAN_8)>-1&&o.push(new hm),i.indexOf(Ke.UPC_E)>-1&&o.push(new fm)),o.length===0&&(o.push(new Zd),o.push(new dm),o.push(new hm),o.push(new fm)),r.readers=o,r}return e.prototype.decodeRow=function(n,r,i){var o,a;try{for(var s=pm(this.readers),c=s.next();!c.done;c=s.next()){var u=c.value;try{var l=u.decodeRow(n,r,i),h=l.getBarcodeFormat()===Ke.EAN_13&&l.getText().charAt(0)==="0",d=i==null?null:i.get(Lt.POSSIBLE_FORMATS),f=d==null||d.includes(Ke.UPC_A);if(h&&f){var p=l.getRawBytes(),g=new Cn(l.getText().substring(1),p,p?p.length:null,l.getResultPoints(),Ke.UPC_A);return g.putAllMetadata(l.getResultMetadata()),g}return l}catch{}}}catch(y){o={error:y}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}throw new De},e.prototype.reset=function(){var n,r;try{for(var i=pm(this.readers),o=i.next();!o.done;o=i.next()){var a=o.value;a.reset()}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e}(cn),cX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),uX=function(t){cX(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},n}return e.prototype.decodeRow=function(n,r,i){var o=this.getValidRowData(r);if(!o)throw new De;var a=this.codaBarDecodeRow(o.row);if(!a)throw new De;return new Cn(a,null,0,[new Ve(o.left,n),new Ve(o.right,n)],Ke.CODABAR,new Date().getTime())},e.prototype.getValidRowData=function(n){var r=n.toArray(),i=r.indexOf(!0);if(i===-1)return null;var o=r.lastIndexOf(!0);if(o<=i)return null;r=r.slice(i,o+1);for(var a=[],s=r[0],c=1,u=1;u<r.length;u++)r[u]===s?c++:(s=r[u],a.push(c),c=1);return a.push(c),a.length<23&&(a.length+1)%8!==0?null:{row:a,left:i,right:o}},e.prototype.codaBarDecodeRow=function(n){for(var r=[],i=Math.ceil(n.reduce(function(c,u){return(c+u)/2},0));n.length>0;){var o=n.splice(0,8).splice(0,7),a=o.map(function(c){return c<i?"n":"w"}).join("");if(this.CODA_BAR_CHAR_SET[a]===void 0)return null;r.push(this.CODA_BAR_CHAR_SET[a])}var s=r.join("");return this.validCodaBarString(s)?s:null},e.prototype.validCodaBarString=function(n){var r=/^[A-D].{1,}[A-D]$/;return r.test(n)},e}(cn),lX=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),hX=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},no=function(t){lX(e,t);function e(){var n=t.call(this)||this;return n.decodeFinderCounters=new Int32Array(4),n.dataCharacterCounters=new Int32Array(8),n.oddRoundingErrors=new Array(4),n.evenRoundingErrors=new Array(4),n.oddCounts=new Array(n.dataCharacterCounters.length/2),n.evenCounts=new Array(n.dataCharacterCounters.length/2),n}return e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(n,r){for(var i=0;i<r.length;i++)if(cn.patternMatchVariance(n,r[i],e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return i;throw new De},e.count=function(n){return ft.sum(new Int32Array(n))},e.increment=function(n,r){for(var i=0,o=r[0],a=1;a<n.length;a++)r[a]>o&&(o=r[a],i=a);n[i]++},e.decrement=function(n,r){for(var i=0,o=r[0],a=1;a<n.length;a++)r[a]<o&&(o=r[a],i=a);n[i]--},e.isFinderPattern=function(n){var r,i,o=n[0]+n[1],a=o+n[2]+n[3],s=o/a;if(s>=e.MIN_FINDER_PATTERN_RATIO&&s<=e.MAX_FINDER_PATTERN_RATIO){var c=Number.MAX_SAFE_INTEGER,u=Number.MIN_SAFE_INTEGER;try{for(var l=hX(n),h=l.next();!h.done;h=l.next()){var d=h.value;d>u&&(u=d),d<c&&(c=d)}}catch(f){r={error:f}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}return u<10*c}return!1},e.MAX_AVG_VARIANCE=.2,e.MAX_INDIVIDUAL_VARIANCE=.45,e.MIN_FINDER_PATTERN_RATIO=9.5/12,e.MAX_FINDER_PATTERN_RATIO=12.5/14,e}(cn),_u=function(){function t(e,n){this.value=e,this.checksumPortion=n}return t.prototype.getValue=function(){return this.value},t.prototype.getChecksumPortion=function(){return this.checksumPortion},t.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value&&this.checksumPortion===n.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t}(),db=function(){function t(e,n,r,i,o){this.value=e,this.startEnd=n,this.value=e,this.startEnd=n,this.resultPoints=new Array,this.resultPoints.push(new Ve(r,o)),this.resultPoints.push(new Ve(i,o))}return t.prototype.getValue=function(){return this.value},t.prototype.getStartEnd=function(){return this.startEnd},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.prototype.hashCode=function(){return this.value},t}(),dX=globalThis&&globalThis.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Jo=function(){function t(){}return t.getRSSvalue=function(e,n,r){var i,o,a=0;try{for(var s=dX(e),c=s.next();!c.done;c=s.next()){var u=c.value;a+=u}}catch(m){i={error:m}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}for(var l=0,h=0,d=e.length,f=0;f<d-1;f++){var p=void 0;for(p=1,h|=1<<f;p<e[f];p++,h&=~(1<<f)){var g=t.combins(a-p-1,d-f-2);if(r&&h===0&&a-p-(d-f-1)>=d-f
|