var Tx=Object.defineProperty;var Sx=(t,e,n)=>e in t?Tx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Xn=(t,e,n)=>(Sx(t,typeof e!="symbol"?e+"":e,n),n);const Dx=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)}};Dx();const _x=[],D1=[],Ox={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 Ex(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Zm(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 vc(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 Qm={exports:{}};(function(t){var e=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @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(/"+E.content+""};function u(m,v,x,_){m.lastIndex=v;var E=m.exec(x);if(E&&_&&E[1]){var N=E[1].length;E.index+=N,E[0]=E[0].slice(N)}return E}function l(m,v,x,_,E,N){for(var U in x)if(!(!x.hasOwnProperty(U)||!x[U])){var O=x[U];O=Array.isArray(O)?O:[O];for(var Q=0;Q=N.reach);B+=A.value.length,A=A.next){var $=A.value;if(v.length>m.length)return;if(!($ instanceof c)){var V=1,L;if(b){if(L=u(F,B,m,I),!L||L.index>=m.length)break;var ae=L.index,z=L.index+L[0].length,q=B;for(q+=A.value.length;ae>=q;)A=A.next,q+=A.value.length;if(q-=A.value.length,B=q,A.value instanceof c)continue;for(var se=A;se!==v.tail&&(qN.reach&&(N.reach=G);var H=A.prev;X&&(H=f(v,H,X),B+=X.length),d(v,H,V);var te=new c(U,T?s.tokenize(Y,T):Y,M,Y);if(A=f(v,H,te),k&&f(v,A,k),V>1){var pe={cause:U+","+Q,reach:G};l(m,v,x,A.prev,B,pe),N&&pe.reach>N.reach&&(N.reach=pe.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 f(m,v,x){var _=v.next,E={value:x,prev:v,next:_};return v.next=E,_.prev=E,m.length++,E}function d(m,v,x){for(var _=v.next,E=0;E/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\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://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:/(^$)/i,lookbehind:!0,inside:n.languages[o]},a.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:a}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[i]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.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 f(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 d(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 _=n.plugins.autoloader;_&&_.loadLanguages(v),f(m,function(E){y.setAttribute(s,u);var N=d(y.getAttribute("data-range"));if(N){var U=E.split(/\r\n?|\n/g),O=N[0],Q=N[1]==null?U.length:N[1];O<0&&(O+=U.length),O=Math.max(0,Math.min(O-1,U.length)),Q<0&&(Q+=U.length),Q=Math.max(0,Math.min(Q,U.length)),E=U.slice(O,Q).join(` `),y.hasAttribute("data-start")||y.setAttribute("data-start",String(O+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)}}()})(Qm);var _1=Qm.exports;const Ix="0.9.81";var ia=(t=>(t.HALF="half",t.ONE_THIRD="one-third",t.QUARTER="quarter",t))(ia||{}),uu=(t=>(t.ARABIC="arabic",t.CHINESE="chinese",t))(uu||{}),ht=(t=>(t.INLINE="inline",t.BLOCK="block",t.FLOAT_TOP="float-top",t.FLOAT_BOTTOM="float-bottom",t))(ht||{});const We="\u200B",O1=` `,Nx=" ",E1=" ",Fx=["\xB7","\u3001",":","\uFF1A",",","\uFF0C",".","\u3002",";","\uFF1B","?","\uFF1F","!","\uFF01"],Km={[ia.HALF]:1/2,[ia.ONE_THIRD]:1/3,[ia.QUARTER]:1/4},Px={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"},Lx="\u65E5";var st=(t=>(t.LEFT="left",t.CENTER="center",t.RIGHT="right",t.ALIGNMENT="alignment",t.JUSTIFY="justify",t))(st||{});const Al=/[0-9.]/,Mx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,Cx=/[#*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,Ax=new RegExp(`${Cx.source}|${Mx.source}`,"g"),Ux=/[、,。?!;:……「」“”‘’*()【】〔〕〖〗〘〙〚〛《》———﹝﹞–—\\/·.,!?;:`~<>()[\]{}'"|]/,Hm=new RegExp(`^[${We} ]`);function Gm(t,e){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout(()=>{t.apply(this,r)},e)}}function Wx(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 ud(t,e){if(!t||typeof t!="object")return t;let n={};return Array.isArray(t)?n=t.map(r=>ud(r,e)):Object.keys(t).forEach(r=>{if(!e.includes(r))return n[r]=ud(t[r],e)}),n}function Pt(t){if(!t||typeof t!="object")return t;let e={};return Array.isArray(t)?e=t.map(n=>Pt(n)):Object.keys(t).forEach(n=>e[n]=Pt(t[n])),e}function Ul(t){return t&&t.nodeType===1&&t.tagName.toLowerCase()==="body"}function lu(t,e,n){if(t&&!Ul(t))for(t=n?t:t.parentNode;t;){if(!e||e(t)||Ul(t))return e&&!e(t)&&Ul(t)?null:t;t=t.parentNode}return null}function bt(){function t(){return((1+Math.random())*65536|0).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}function Tr(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(Ax))n.set(i.index,i[0]);let r=0;for(;r=t-1&&(n(a),r=0)};e.addEventListener("click",o)}function hu(t){return Object.prototype.toString.call(t)==="[object Object]"}function I1(t){return Array.isArray(t)}function zm(t,e){if(hu(t)&&hu(e)){const n=e;for(const[r,i]of Object.entries(t))n[r]?n[r]=zm(i,n[r]):n[r]=i}else I1(t)&&I1(e)&&e.push(...t);return e}function du(t){setTimeout(()=>{t()},0)}function N1(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;oString.fromCharCode(o));return window.btoa(r.join(""))}function Bx(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 kx(t,e){return t.length!==e.length?!1:!t.some(n=>!e.includes(n))}function Zx(t,e){if(!hu(t)||!hu(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 Qx=12,Kx={width:1,color:"#000000",dragWidth:2,dragColor:"#0000FF"},ei="editor-component",Ze="ce",tf=`${Ze}-clipboard`;var wn=(t=>(t.UP="top",t.DOWN="down",t.LEFT="left",t.RIGHT="right",t))(wn||{}),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 Ro=["bold","color","highlight","font","size","italic","underline","strikeout","textDecoration"],Ms=["rowFlex","rowMargin"],Hx=["type","font","size","bold","color","italic","highlight","underline","strikeout","rowFlex","url","hyperlinkId","dateId","dateFormat","groupIds","rowMargin","textDecoration"],Gx=["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"],Jx=["verticalAlign","backgroundColor","borderTypes","slashTypes"],nf=["tdId","trId","tableId"],zx=["level","titleId","title"],$m=["listId","listType","listStyle"],F1=["control","controlId","controlComponent"],ha=["font","size","bold","highlight","italic","strikeout"],jm=[...nf,...zx,...$m,...Ms],Mr=[fe.TEXT,fe.HYPERLINK,fe.SUBSCRIPT,fe.SUPERSCRIPT,fe.CONTROL,fe.DATE],$x=[fe.IMAGE,fe.LATEX],jx=[fe.BLOCK,fe.PAGE_BREAK,fe.SEPARATOR,fe.TABLE],qx=["HR","TABLE","UL","OL"],ew=[fe.TITLE,fe.LIST];class qm{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(`${Ze}-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=` `,s=new Image;return s.src=`data:image/svg+xml;base64,${Yx(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=f=>{const d=this.getFallbackImage(a,s);d.onload=()=>{e.drawImage(d,r,i,a,s),this.imageCache.set(n.id,d)},l(f)}});this.addImageObserver(c)}}}const bc="R".charCodeAt(0);function Jo(t){return ld[t]==null&&tw(t),ld[t]}function tw(t){const e=nw[t];if(e==null)return;const n=e.substring(3,5),r=1*n.charCodeAt(0)-bc,i=1*n.charCodeAt(1)-bc,o=e.substring(5),a=[[]];let s=1/0,c=-1/0,u=1/0,l=-1/0,h=0;for(;hf>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:" 34fRAPCMDJDGCEA>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":2242,"~":2246,"@":2273,"\\":804}[t]}const xr={SUB_SUP_SCALE:.5,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function rw(t){t=t.replace(/\n/g," ");let e=0;const n=[];let r="";for(;e0&&(t[h].text=="^"||t[h].text=="_"||t[h].text=="'");)h--;l=t[h].bbox.y,t[u].text=="'"?t[u].bbox.y=l:(Gn(t[u],xr.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,Gn(t[u],xr.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,f,d){let p=u,g=d,y=1/0,R=-1/0;for(;f>0?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+=f}return[y,R]}for(let u=0;uu.text=="&"||u.text=="\\\\"))return;const r=[];let i=[],o=[];for(let u=0;u0&&(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(;v1;aw(t.chld,l);const d=tR(t.chld);t.text=="\\text"&&(d.x-=1,d.w+=2);for(let p=0;pr.bbox.w)l=l/Math.max(a.w,1)*r.bbox.w,l+=r.bbox.x;else{l=l/16*i;const f=(r.bbox.w-a.w/16*i)/2;l+=r.bbox.x+f}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);c16?d*=16/u.w:d+=(16-u.w)/2/16),d+=a,p+=r.bbox.y+r.bbox.h/2,h.push([d,p])}e.push(h)}r.mode=="tt"?a+=i:a+=u.w/16*i}}}return e}function Wr(t){return Math.round(t*100)/100}class uw{constructor(e){this._latex=e,this._tokens=rw(e),this._tree=hd(this._tokens),eR(this._tree.chld),Xr(this._tree),sw(this._tree),this._polylines=cw(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 f=0;f`;e.BG_COLOR&&(c+=``),c+='>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 f=0;f> stream 1 j 1 J ${(h=e.STROKE_W)!=null?h:1} w `;for(let d=0;d> 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{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=f=>{l(f)}});this.addImageObserver(c)}}}var ti=(t=>(t.UL="ul",t.OL="ol",t))(ti||{}),zo=(t=>(t.DISC="disc",t.CIRCLE="circle",t.SQUARE="square",t.CHECKBOX="checkbox",t))(zo||{}),ur=(t=>(t.DISC="disc",t.CIRCLE="circle",t.SQUARE="square",t.DECIMAL="decimal",t.CHECKBOX="checkbox",t))(ur||{});const dd={[zo.DISC]:"\u2022",[zo.CIRCLE]:"\u25E6",[zo.SQUARE]:"\u25AB\uFE0E",[zo.CHECKBOX]:"\u2611\uFE0F"},lw={[ti.OL]:"ol",[ti.UL]:"ul"},hw={[ur.DISC]:"disc",[ur.CIRCLE]:"circle",[ur.SQUARE]:"square",[ur.DECIMAL]:"decimal",[ur.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 dw={defaultFirstSize:26,defaultSecondSize:24,defaultThirdSize:22,defaultFourthSize:20,defaultFifthSize:18,defaultSixthSize:16},rR={[mt.FIRST]:"defaultFirstSize",[mt.SECOND]:"defaultSecondSize",[mt.THIRD]:"defaultThirdSize",[mt.FOURTH]:"defaultFourthSize",[mt.FIFTH]:"defaultFifthSize",[mt.SIXTH]:"defaultSixthSize"},fd={[mt.FIRST]:1,[mt.SECOND]:2,[mt.THIRD]:3,[mt.FOURTH]:4,[mt.FIFTH]:5,[mt.SIXTH]:6},fw={H1:mt.FIRST,H2:mt.SECOND,H3:mt.THIRD,H4:mt.FOURTH,H5:mt.FIFTH,H6:mt.SIXTH};var vt=(t=>(t.TEXT="text",t.SELECT="select",t.CHECKBOX="checkbox",t.RADIO="radio",t.DATE="date",t))(vt||{}),Se=(t=>(t.PREFIX="prefix",t.POSTFIX="postfix",t.PLACEHOLDER="placeholder",t.VALUE="value",t.CHECKBOX="checkbox",t.RADIO="radio",t))(Se||{}),iR=(t=>(t.ROW_START="rowStart",t.VALUE_START="valueStart",t))(iR||{});function P1(t){const e=[];for(let n=0;nne.concat(T.value.split("").map(I=>({...T,value:I}))),[]);let Q=0;for(let ne=0;neQ.concat(ne.value.split("").map(T=>({...ne,value:T}))),[]);let O=0;for(let Q=0;QO.code===h);U&&(N=[{value:U.value}])}dr(N,{...e,isHandleFirstElement:!1});for(let U=0;U1){t.splice(o,1);const s=Tr(a.value);for(let c=0;c{const a=t[o];a!==void 0&&(i[o]=a)}),i}function Xt(t,e={}){const{extraPickAttrs:n}=e,r=Pt(t),i=[];let o=0;for(;o{const p=h[d];p!==void 0&&(f[d]=p)}),u.tdList[l]=f}}}else if(a.type===fe.HYPERLINK){const c=a.hyperlinkId;if(c){const u={type:fe.HYPERLINK,value:"",url:a.url},l=[];for(;o{jc(h,i,f)});continue}(c=l.valueList)!=null&&c.length&&Sn(t,l.valueList,n),jc(jm,i,l)}}function Rw(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=oR(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 sR(t){let e=0;const n=new Map;for(let r=0;r0&&(e+=1);const s=o[a],c=n.get(e)||[];c.push({...i,value:s}),n.set(e,c)}}}return n}function yw(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;iv.value).join(""),R.url&&(m.href=R.url),a.append(m)}else if(R.type===fe.TITLE){const m=document.createElement(`h${fd[R.level]}`),v=n(R.valueList);m.innerHTML=v.innerHTML,a.append(m)}else if(R.type===fe.LIST){const m=document.createElement(lw[R.listType]);R.listStyle&&(m.style.listStyleType=hw[R.listStyle]);const v=Xt(R.valueList);sR(v).forEach(_=>{const E=document.createElement("li"),N=n(_);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",(f=R.radio)!=null&&f.value&&m.setAttribute("checked","true"),a.append(m)}else if(R.type===fe.TAB){const m=document.createElement("span");m.innerHTML=`${E1}${E1}`,a.append(m)}else if(R.type===fe.CONTROL){const m=document.createElement("span"),v=n(((d=R.control)==null?void 0:d.value)||[]);m.innerHTML=v.innerHTML,a.append(m)}else if(!R.type||R.type===fe.LATEX||Mr.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=Rw(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=yw(t);for(let o=0;o{r.append(u.cloneNode(!0))}):r.append(c)}return r}function vw(t){if(!t||t.nodeType!==3)return null;const e=t.parentNode,n=e.nodeName==="FONT"?e.parentNode:e,r=gw(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!==st.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 vs(t,e){const n=[];function r(a){if(a.nodeType===3){const s=vw(a);s&&n.push(s)}else if(a.nodeType===1){const s=a.childNodes;for(let c=0;c{const d=vs(f.innerHTML,e);d.forEach(p=>{p.value===` `&&(p.listWrap=!0)}),d.unshift({value:` `}),h.valueList.push(...d)}),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:f}=u;l&&h&&f&&n.push({width:h,height:f,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(f=>{const d=window.getComputedStyle(f).height.replace("px",""),p={height:Number(d),tdList:[]};f.querySelectorAll("th,td").forEach(g=>{const y=g,R=vs(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 f=h.trList[0].tdList.reduce((p,g)=>p+g.colspan,0),d=Math.ceil(e.innerWidth/f);for(let p=0;p{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 xc(t){function e(n){var i,o,a,s,c;let r="";for(let u=0;uh.value).join("");else if(l.type===fe.TITLE)r+=`${e(Xt(l.valueList))}`;else if(l.type===fe.LIST){const h=Xt(l.valueList),f=sR(h);let d="";l.listType===ti.UL&&(d=dd[l.listStyle]),f.forEach((p,g)=>{const y=f.size-1===g;r+=` ${d||`${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||Mr.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(f=>f.value).join(""))||"":h=l.value,r+=h.replace(new RegExp(`${We}`,"g"),` `)}}return r}return e(Xt(t))}function Wl(t){return ud(t,["metrics","style"])}function fu(t){return!!(t!=null&&t.type)&&(jx.includes(t.type)||t.imgDisplay===ht.INLINE)}function bw(t,e){const n=document.createElement(e);for(let r=0;r{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&&Sn(a,[l],o),n.insertElementList([l])}}}function Sw(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(!Tw(i)){const s=i.getData("text"),c=cR();if(s===(c==null?void 0:c.text)){rf(t,c.elementList);return}}uR();let a=!1;for(let s=0;s{t.input(u)});break}if(c.type==="text/html"&&a){c.getAsString(u=>{hR(t,u)});break}}else if(c.kind==="file"&&c.type.includes("image")){const u=c.getAsFile();u&&of(t,u)}}}async function Dw(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=cR();if(o===(a==null?void 0:a.text)){rf(t,a.elementList);return}if(uR(),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&&hR(t,h)}else if(u.types.some(l=>l.startsWith("image/"))){const l=u.types.find(f=>f.startsWith("image/")),h=await u.getType(l);of(t,h)}}}class _w{constructor(e,n){this.draw=e,this.container=e.getContainer(),this.canvasEvent=n;const r=document.createElement("textarea");r.autocomplete="off",r.classList.add(`${Ze}-inputarea`),r.innerText="",this.container.append(r),this.agentCursorDom=r,r.onkeydown=i=>this._keyDown(i),r.oninput=Gm(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||(Sw(this.canvasEvent,e),e.preventDefault())}_compositionstart(){this.canvasEvent.compositionstart()}_compositionend(e){this.canvasEvent.compositionend(e)}}class Ow{constructor(e,n){this.ANIMATION_CLASS=`${Ze}-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(`${Ze}-cursor`),this.container.append(this.cursorDom),this.cursorAgent=new _w(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(),f=this.draw.getPageGap();l&&(n=this.position.getPositionList()[l]);const{metrics:d,coordinate:{leftTop:p,rightTop:g},ascent:y,pageNo:R}=n,x=(this.draw.getZone().isMainActive()?R:this.draw.getPageNo())*(h+f),_=Qx*r,E=Math.min(d.height/4,_),N=d.height+E*2,U=this.cursorAgent.getAgentCursorDom();u&&setTimeout(()=>{U.focus(),U.setSelectionRange(0,0)});const O=d.boundingBoxDescent<0?0:d.boundingBoxDescent,Q=p[1]+y+O-(N-E)+x,ne=l?p[0]:g[0];if(U.style.left=`${ne}px`,U.style.top=`${Q+N-_}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=`${ne}px`,this.cursorDom.style.top=`${Q}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===wn.UP,u=a[0],l=c?o[1]+s:a[1]+s,h=Bx(this.container),f={left:0,right:0,top:0,bottom:0};if(h===document.documentElement)f.right=window.innerWidth,f.bottom=window.innerHeight;else{const{left:p,right:g,top:y,bottom:R}=h.getBoundingClientRect();f.left=p,f.right=g,f.top=y,f.bottom=R}const{maskMargin:d}=this.options;if(f.top+=d[0],f.bottom-=d[2],!(u>=f.left&&u<=f.right&&l>=f.top&&l<=f.bottom)){const{scrollLeft:p,scrollTop:g}=h;c?h.scroll(p,g-(f.top-l)):h.scroll(p,g+l-f.bottom)}}}var dR=(t=>(t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT",t))(dR||{});const so=typeof navigator!="undefined"&&/Mac OS X/.test(navigator.userAgent),Ew=typeof navigator!="undefined"&&/iPad|iPhone/.test(navigator.userAgent);function kr(t){return so?t.metaKey:t.ctrlKey}var Ke=(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))(Ke||{});class pu{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(;a0;){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(;u0;){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$===M.code);F.splice(B,1)}else M!=null&&M.code&&F.push(M.code);const A=n.getControl().getActiveControl();A instanceof pu&&A.setSelect(F)}}else if(b){const{control:M,radio:C}=x;if(!M)n.getRadioParticle().setSelect(x);else{const F=C!=null&&C.code?[C.code]:[],A=n.getControl().getActiveControl();A instanceof pd&&A.setSelect(F)}}else n.render({curIndex:v,isCompute:!1,isSubmitHistory:!1,isSetCursor:!_&&!E&&!N});y&&e.getDraw().getCursor().drawCursor({hitLineStartIndex:y})}const U=n.getPreviewer();U.clearResizer(),_&&(U.drawResizer(x,m[v],x.type===fe.LATEX?{mime:"svg",srcKey:"laTexSVG"}:{}),n.getCursor().drawCursor({isShow:!1}),L1(e),(x.imgDisplay===ht.FLOAT_TOP||x.imgDisplay===ht.FLOAT_BOTTOM)&&n.getImageParticle().createFloatImage(x));const O=n.getTableTool();O.dispose(),p&&!r&&O.render();const Q=n.getHyperlinkParticle();Q.clearHyperlinkPopup(),x.type===fe.HYPERLINK&&(kr(t)?Q.openHyperlink(x):Q.drawHyperlinkPopup(x,m[v]));const ne=n.getDateParticle();ne.clearDatePicker(),x.type===fe.DATE&&!r&&ne.renderDatePicker(x,m[v])}function wc(t){const e=bt();return Reflect.set(t,"dragId",e),e}function Tc(t,e){return e.findIndex(n=>n.dragId===t)}function M1(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 Nw(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,f=e.cacheElementList,d=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 X=!1;if(g){const k=f[R];if(k.type===fe.IMAGE||k.type===fe.LATEX)if(M1(k,t,e),k.imgDisplay===ht.FLOAT_TOP||k.imgDisplay===ht.FLOAT_BOTTOM)a.getPreviewer().drawResizer(k),X=!0;else{const G=d[R];a.getPreviewer().drawResizer(k,G)}}l.replaceRange({...h}),a.render({isSetCursor:!1,isCompute:!1,isSubmitHistory:X});return}const m=f.slice(y+1,R+1),v=m.find(X=>X.controlId);if(v){const X=f[y+1],k=f[R];if(!((!X.controlId||X.controlComponent===Se.PREFIX)&&(!k.controlId||k.controlComponent===Se.POSTFIX)||X.controlId===k.controlId&&X.controlComponent===Se.PREFIX&&k.controlComponent===Se.POSTFIX||((r=X.control)==null?void 0:r.type)===vt.TEXT&&X.controlComponent===Se.VALUE&&((i=k.control)==null?void 0:i.type)===vt.TEXT&&k.controlComponent===Se.VALUE)){a.render({curIndex:p.startIndex,isCompute:!1,isSubmitHistory:!1});return}}const x=a.getControl(),_=a.getElementList(),E=!v||!!_[p.startIndex].controlId||!x.getIsElementListContainFullControl(m),N=a.getOptions(),U=m.map(X=>{if(!X.type||X.type===fe.TEXT){const k={value:X.value},G=Ro;return E||G.push(...F1),G.forEach(H=>{const te=X[H];te!==void 0&&(k[H]=te)}),k}else{let k=Pt(X);return E&&(k=Ts(k,F1)),dr([k],{isHandleFirstElement:!1,editorOptions:N}),k}});Sn(_,U,p.startIndex);const O=f[y],Q=d[y],ne=wc(f[y]),T=wc(f[R]),I=U.length;let b=p.startIndex,M=b+I;const C=x.getActiveControl();if(C&&f[b].controlComponent!==Se.POSTFIX?(M=C.setValue(U),b=M-I):a.spliceElementList(_,b+1,0,...U),!~M){a.render({isSetCursor:!1});return}const F=wc(_[b]),A=wc(_[M]),B=Tc(ne,f),$=Tc(T,f),V=f[$];V.controlId&&V.controlComponent!==Se.POSTFIX?(l.replaceRange({...h,startIndex:B,endIndex:$}),(o=x.getActiveControl())==null||o.cut()):a.spliceElementList(f,B+1,$-B);const L=_[p.startIndex],z=c[p.startIndex];let q=u.index;q&&(L.tableId&&!O.tableId?Q.index=i&&t.x<=i+a&&t.y>=o&&t.y<=o+s||e.setIsAllowSelection(!1)}function Pw(t,e){var x;const n=e.getDraw();if(e.isAllowDrag){const _=t.offsetX,E=t.offsetY,{startIndex:N,endIndex:U}=e.cacheRange,O=e.cachePositionList;for(let ne=N+1;ne<=U;ne++){const{coordinate:{leftTop:T,rightBottom:I}}=O[ne];if(_>=T[0]&&_<=I[0]&&E>=T[1]&&E<=I[1])return}const Q=(x=e.cacheRange)==null?void 0:x.startIndex;if(Q){const ne=e.cacheElementList[Q];(ne==null?void 0:ne.type)===fe.IMAGE&&(ne.imgDisplay===ht.FLOAT_TOP||ne.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:f}=a,{index:d,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,f,g,l,y,h);else{let _=~m?m:0;if((p||c)&&R!==f)return;let E=d;if(E>_&&([E,_]=[_,E]),E===_)return;const N=n.getElementList(),U=N[E+1],O=N[_];if((U==null?void 0:U.controlComponent)===Se.PLACEHOLDER&&(O==null?void 0:O.controlComponent)===Se.PLACEHOLDER&&U.controlId===O.controlId)return;v.setRange(E,_)}n.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1})}var ni=(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))(ni||{}),Mi=(t=>(t.PAGE="page",t.TABLE="table",t))(Mi||{}),kt=(t=>(t.EDIT="edit",t.CLEAN="clean",t.READONLY="readonly",t.FORM="form",t.PRINT="print",t))(kt||{}),it=(t=>(t.HEADER="header",t.MAIN="main",t.FOOTER="footer",t))(it||{}),Ci=(t=>(t.PAGING="paging",t.CONTINUITY="continuity",t))(Ci||{}),fo=(t=>(t.VERTICAL="vertical",t.HORIZONTAL="horizontal",t))(fo||{}),af=(t=>(t.BREAK_ALL="break-all",t.BREAK_WORD="break-word",t))(af||{});function Lw(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(),f=n.getElementList();if(h&&c===0){const p=f[c];if(p.value===We){p.listId&&n.getListParticle().unsetList(),t.preventDefault();return}}const d=f[u];if(h&&d.rowFlex&&d.value===We){const p=n.getRowList(),y=a.getPositionList()[u].rowNo;p[y].elementList.forEach(m=>{delete m.rowFlex})}h?n.spliceElementList(f,c,1):n.spliceElementList(f,u+1,l-u),o=h?c-1:u}o!==null&&(n.getGlobalEvent().setCanvasEventAbility(),r.setRange(o,o),n.render({curIndex:o}))}function Mw(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:f}=h,d=l.getPositionContext();if(d.isDirectHit&&d.isImage)n.spliceElementList(a,f,1),c=f-1;else{const p=r.getIsCollapsed();if(!p)n.spliceElementList(a,i+1,o-i);else{if(!a[f+1])return;n.spliceElementList(a,f+1,1)}c=p?f:i}}c!==null&&(n.getGlobalEvent().setCanvasEventAbility(),r.setRange(c,c),n.render({curIndex:c}))}function Cw(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))){Sn(s,[l],i);const y=Cs(s,o);if(y){const R=[...Ms];y.controlComponent!==Se.POSTFIX&&R.push(...Ro),R.forEach(m=>{const v=y[m];v!==void 0&&(l[m]=v)})}}const h=n.getControl(),f=h.getActiveControl();let d;if(f&&h.getIsRangeWithinControl())d=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),d=m+1}~d&&(r.setRange(d,d),n.render({curIndex:d})),t.preventDefault()}function Aw(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(),f=n.getElementList(),d=n.getControl();if(n.getMode()===kt.FORM&&d.getActiveControl()&&((v=f[s])==null?void 0:v.controlComponent)===Se.PREFIX){d.initNextControl({direction:wn.UP});return}let p=1;if(kr(t)){const _=n.getLetterReg(),E=t.shiftKey&&!h&&u===(o==null?void 0:o.index)?l:u;if(_.test((x=f[E])==null?void 0:x.value)){let N=E-1;for(;N>0;){const U=f[N];if(!_.test(U.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 _=f[u];if(_.type===fe.TABLE){const E=_.trList,N=E.length-1,U=E[N],O=U.tdList.length-1,Q=U.tdList[O];i.setPositionContext({isTable:!0,index:u,trIndex:N,tdIndex:O,tdId:Q.id,trId:U.id,tableId:_.id}),y=Q.value.length-1,R=y,n.getTableTool().render()}else if(_.tableId&&u===0){const N=n.getOriginalElementList()[a.index].trList;e:for(let U=0;Us.length-1&&!c.isTable)return;const u=n.getRange(),{startIndex:l,endIndex:h}=u.getRange(),f=u.getIsCollapsed();let d=n.getElementList();const p=n.getControl();if(n.getMode()===kt.FORM&&p.getActiveControl()&&((_=d[a+1])==null?void 0:_.controlComponent)===Se.POSTFIX){p.initNextControl({direction:wn.DOWN});return}let g=1;if(kr(t)){const N=n.getLetterReg(),U=t.shiftKey&&!f&&l===(o==null?void 0:o.index)?h:l;if(N.test((E=d[U+1])==null?void 0:E.value)){let O=U+2;for(;OI.length-1&&(C=ne+1,F=0);const A=Q[C],B=A.tdList[F];i.setPositionContext({isTable:!0,index:c.index,trIndex:C,tdIndex:F,tdId:B.id,trId:A.id,tableId:N.id}),R=0,m=R,n.getTableTool().render()}break e}}}}const v=d.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 Ww(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?wn.UP:wn.DOWN});else{const a={type:fe.TAB,value:""},s=n.getRange(),{startIndex:c}=s.getRange(),u=n.getElementList();Sn(u,[a],c),n.insertElementList([a])}}function Xl(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(;ch)){a=u.index;break}}return a}function Xw(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===Ke.Up;let h=-1,f=-1;const d=i.getPositionContext();if(!t.shiftKey&&d.isTable&&(l&&o.rowIndex===0||!l&&o.rowIndex===n.getRowCount()-1)){const{index:g,trIndex:y,tdIndex:R,tableId:m}=d;if(l)if(y===0)i.setPositionContext({isTable:!1}),h=g-1,f=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 Q=y-1;Q>=0;Q--){const T=E[Q].tdList;for(let I=0;I=N&&b.colIndex<=N){v=Q,x=I;break e}}}if(!~v||!~x)return;const U=E[v],O=U.tdList[x];i.setPositionContext({isTable:!0,index:g,trIndex:v,tdIndex:x,tdId:U.id,trId:O.id,tableId:m}),h=O.value.length-1,f=h,n.getTableTool().render()}else{const x=n.getOriginalElementList()[g].trList;if(y===x.length-1)i.setPositionContext({isTable:!1}),h=g,f=h,n.getTableTool().dispose();else{let _=-1,E=-1;const N=x[y].tdList[R].colIndex;e:for(let Q=y+1;Q=N&&b.colIndex<=N){_=Q,E=I;break e}}}if(!~_||!~E)return;const U=x[_],O=U.tdList[E];i.setPositionContext({isTable:!0,index:g,trIndex:_,tdIndex:E,tdId:U.id,trId:O.id,tableId:m}),h=O.value.length-1,f=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=Xl({positionList:u,index:y,rowNo:R,isUp:l,cursorX:v});if(x<0)return;h=x,f=x,t.shiftKey&&(s!==c?s===o.index?h=s:f=c:l?f=c:h=s);const E=n.getElementList()[x];if(E.type===fe.TABLE){const{scale:N}=n.getOptions(),U=n.getMargins(),O=E.trList;let Q=-1,ne=-1,T=-1;if(l){e:for(let I=O.length-1;I>=0;I--){const M=O[I].tdList;for(let C=0;C=A&&v<=A+B){const $=F.positionList,V=$[$.length-1],L=Xl({positionList:$,index:V.index+1,rowNo:V.rowNo-1,isUp:l,cursorX:v})||V.index;Q=I,ne=C,T=L;break e}}}}else{e:for(let I=0;I=A&&v<=A+B){const $=F.positionList,V=Xl({positionList:$,index:-1,rowNo:-1,isUp:l,cursorX:v})||0;Q=I,ne=C,T=V;break e}}}}if(~Q&&~ne&&~T){const I=O[Q],b=I.tdList[ne];i.setPositionContext({isTable:!0,index:x,trIndex:Q,tdIndex:ne,tdId:b.id,trId:I.id,tableId:E.id}),h=T,f=h,u=i.getPositionList(),n.getTableTool().render()}}}if(!~h||!~f)return;h>f&&([h,f]=[f,h]),a.setRange(h,f);const p=h===f;n.render({curIndex:p?h:void 0,isSetCursor:p,isSubmitHistory:!1,isCompute:!1}),n.getCursor().moveCursorToVisible({cursorPosition:u[l?h:f],direction:l?wn.UP:wn.DOWN})}function Vw(t,e){if(e.isComposing)return;const n=e.getDraw();if(t.key===Ke.Backspace)Lw(t,e);else if(t.key===Ke.Delete)Mw(t,e);else if(t.key===Ke.Enter)Cw(t,e);else if(t.key===Ke.Left)Aw(t,e);else if(t.key===Ke.Right)Uw(t,e);else if(t.key===Ke.Up||t.key===Ke.Down)Xw(t,e);else if(kr(t)&&t.key===Ke.Z){if(n.isReadonly()&&n.getMode()!==kt.FORM)return;n.getHistoryManager().undo(),t.preventDefault()}else if(kr(t)&&t.key===Ke.Y){if(n.isReadonly()&&n.getMode()!==kt.FORM)return;n.getHistoryManager().redo(),t.preventDefault()}else if(kr(t)&&t.key===Ke.C)e.copy(),t.preventDefault();else if(kr(t)&&t.key===Ke.X)e.cut(),t.preventDefault();else if(kr(t)&&t.key===Ke.A)e.selectAll(),t.preventDefault();else if(kr(t)&&t.key===Ke.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===Ke.ESC){e.clearPainterStyle();const r=n.getZone();r.isMainActive()||r.setZone(it.MAIN),t.preventDefault()}else t.key===Ke.TAB&&Ww(t,e)}function fR(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;pR(e),o||n.getCursor().clearAgentDomValue();const{TEXT:s,HYPERLINK:c,SUBSCRIPT:u,SUPERSCRIPT:l,DATE:h}=fe,f=t.replaceAll(` `,We),{startIndex:d,endIndex:p}=a.getRange(),g=n.getElementList(),y=Cs(g,p);if(!y)return;const R=Tr(f).map(_=>{const E={value:_},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)&&Hx.forEach(U=>{if(U==="groupIds"&&!(N!=null&&N.groupIds))return;const O=y[U];O!==void 0&&(E[U]=O)}),o&&(E.underline=!0),E}),m=n.getControl();let v;if(m.getActiveControl()&&m.getIsRangeWithinControl())v=m.setValue(R);else{const _=d+1;d!==p&&n.spliceElementList(g,_,p-d),Sn(g,R,d),n.spliceElementList(g,_,0,...R),v=d+R.length}~v&&(a.setRange(v,v),n.render({curIndex:v,isSubmitHistory:!o})),o&&(e.compositionInfo={elementList:g,value:f,startIndex:v-R.length,endIndex:v})}function pR(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 Yw(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 f=e.getPosition().getPositionList(),d=f[r],p=d.rowNo,g=d.pageNo,y=[];for(let m=0;mg)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();lR(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 Bw(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)||lR(i,e.getOptions())}function kw(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!d.type||d.type!==fe.CONTROL&&Mr.includes(d.type)?d.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:d,index:p,isWordLike:g}of u){const y=p+s;if(g&&a>=y&&a0;){const d=l[h].value;if(c&&Al.test(d)||!c&&o.test(d))a++,h--;else break}let f=i+1;for(;f0;){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{t.compositionInfo&&fR(e.data,t)},1);else{pR(t);const i=n.getRange(),{endIndex:o}=i.getRange();n.render({curIndex:o,isSubmitHistory:!1})}n.getCursor().clearAgentDomValue()}var A1={compositionstart:Gw,compositionend:Jw};function zw(t,e){const n=e.getDraw();if(n.isReadonly())return;t.preventDefault();const i=n.getPageContainer();if(!lu(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:f}=u,d=c.getPositionList(),p=l?h:f;~f&&(n.getRange().setRange(p,p),c.setCursorPosition(d[p]));const g=n.getCursor(),{cursor:{dragColor:y,dragWidth:R}}=n.getOptions();g.drawCursor({width:R,color:y,isBlink:!1})}var $w={dragover:zw};class jw{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)),Xx(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){Pw(e,this)}mousedown(e){Iw(e,this)}click(){Ew&&!this.draw.isReadonly()&&this.draw.getCursor().getAgentDom().focus()}mouseup(e){Nw(e,this)}mouseleave(e){Fw(e,this)}keydown(e){Vw(e,this)}dblclick(e){C1.dblclick(this,e)}threeClick(){C1.threeClick(this)}input(e){fR(e,this)}cut(){Yw(this)}copy(){Bw(this)}compositionstart(){A1.compositionstart(this)}compositionend(e){A1.compositionend(this,e)}drop(e){kw(e,this)}dragover(e){$w.dragover(e,this)}}class qw{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(lu(i,c=>o.includes(c),!0)){this.setRangeStyle();return}if(lu(i,c=>!!c&&c.nodeType===1&&!!c.getAttribute(ei),!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 eT{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 tT{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:f}}=this.options;let d=o,p=a,g=c;for(let y=0;yV+L.height,0),B=(M.height-ne)*h-A,$=M.verticalAlign===Ai.MIDDLE?B/2:B;Math.floor($)>0&&M.positionList.forEach(V=>{const{coordinate:{leftTop:L,leftBottom:z,rightBottom:q,rightTop:se}}=V;L[1]+=$,z[1]+=$,q[1]+=$,se[1]+=$})}d=F.x,p=F.y}}d=v,p=x}}d=o,p+=R.height}return{x:d,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;ll)break;if(O[0]-N<=n&&Q[0]>=n&&O[1]<=r&&ne[1]>=r){let T=x;const I=o[x];if(I.type===fe.TABLE)for(let M=0;Mx.isLastLetter&&x.pageNo===l);for(let x=0;xN[1]&&r<=U[1]){const O=a.findIndex(Q=>Q.pageNo===l&&Q.rowNo===E);if(nO)return{index:-1,zone:it.FOOTER}}else if(r<=O&&r>=E)return{index:-1,zone:it.MAIN};const Q=this.draw.getMargins();if(r<=Q[1])for(let ne=0;ne=I[0]&&n<=b[0]||((y=a[ne+1])==null?void 0:y.rowNo)!==0)return{index:T.index}}else{const ne=p[p.length-1];if(ne){const T=ne.rowNo;for(let I=0;I=M[0]&&n<=C[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:d,index:f,isControl:!!((v=o[f])!=null&&v.controlId)}}getFloatPositionByXY(e){const{x:n,y:r}=e,i=this.draw.getZone().getZone();for(let o=0;o=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:f,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()!==kt.READONLY){const{index:g,isTable:y,trIndex:R,tdIndex:m,tdValueIndex:v}=n,x=this.draw.getControl(),{newIndex:_}=x.moveCursor({index:g,isTable:y,trIndex:R,tdIndex:m,tdValueIndex:v});y?n.tdValueIndex=_:n.index=_}const{index:r,isCheckbox:i,isRadio:o,isControl:a,isImage:s,isDirectHit:c,isTable:u,trIndex:l,tdIndex:h,tdId:f,trId:d,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:f,trId:d,tableId:p}),n}}class nT{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!n.type||Mr.includes(n.type)):null}getTextLikeSelectionElementList(){const e=this.getSelectionElementList();return e?e.filter(n=>!n.type||Mr.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=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],f=i[a-1];if(h.value===We&&!h.listWrap||h.listId!==(f==null?void 0:f.listId)||h.titleId!==(f==null?void 0:f.titleId))break;a--}if(e!==n){let c=e+1;for(;c=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:f}=o,d={startIndex:l-1,endIndex:l};s===Mi.TABLE&&(d.tableId=u,d.startTdIndex=h,d.endTdIndex=h,d.startTrIndex=f,d.endTrIndex=f),r.set(c,d)}}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 M=this.draw.getOriginalElementList(),C=this.position.getPositionContext();a=M[C.index]}else{const M=~i?i:0,C=this.draw.getElementList();a=Cs(C,M)}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(M=>!M.bold),f=!~s.findIndex(M=>!M.italic),d=!~s.findIndex(M=>{var C;return!M.underline&&!((C=M.control)!=null&&C.underline)}),p=!~s.findIndex(M=>!M.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,_=a.listType||null,E=a.listStyle||null,N=d&&a.textDecoration||null,U=!!this.draw.getPainterStyle(),O=this.historyManager.isCanUndo(),Q=this.historyManager.isCanRedo(),ne=a.groupIds||null,T=(b=a.extension)!=null?b:null,I={type:c,undo:O,redo:Q,painter:U,font:u,size:l,bold:h,italic:f,underline:d,strikeout:p,color:g,highlight:y,rowFlex:R,rowMargin:m,dashArray:v,level:x,listType:_,listStyle:E,groupIds:ne,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(;c0;){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 sf=(t=>(t.CONTAIN="contain",t.COVER="cover",t))(sf||{}),ao=(t=>(t.REPEAT="repeat",t.NO_REPEAT="no-repeat",t.REPEAT_X="repeat-x",t.REPEAT_Y="repeat-y",t))(ao||{});class rT{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===sf.CONTAIN){const s=n.width*a,c=n.height*a;if(!o.repeat||o.repeat===ao.NO_REPEAT)e.drawImage(n,0,0,s,c);else{let u=0,l=0;const h=o.repeat===ao.REPEAT||o.repeat===ao.REPEAT_X?Math.ceil(r*a/s):1,f=o.repeat===ao.REPEAT||o.repeat===ao.REPEAT_Y?Math.ceil(i*a/c):1;for(let d=0;d{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 cf{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=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(;ee+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!m.type||Mr.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(t.SOLID="solid",t.DOUBLE="double",t.DASHED="dashed",t.DOTTED="dotted",t.WAVY="wavy",t))(ls||{}),hs=(t=>(t.SOLID="solid",t.DASHED="dashed",t.DOTTED="dotted",t))(hs||{});class cT extends cf{constructor(e){super(),this.options=e.getOptions()}_drawLine(e,n,r,i,o){const a=n+i;switch(e.beginPath(),o){case hs.DASHED:e.setLineDash([3,1]);break;case hs.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{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;oi&&(i=s,r=o)}return{intersectionPageNo:r,visiblePageNoList:n}}}class fT{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(t.ALL="all",t.EMPTY="empty",t.EXTERNAL="external",t))($r||{}),fr=(t=>(t.TOP="top",t.RIGHT="right",t.BOTTOM="bottom",t.LEFT="left",t))(fr||{}),Ss=(t=>(t.FORWARD="forward",t.BACK="back",t))(Ss||{});class pT{constructor(e){this.draw=e,this.range=e.getRange(),this.options=e.getOptions()}getTrListGroupByCol(e){var r;const n=Pt(e);for(let i=0;i=0;a--){const s=o.tdList[a],{rowspan:c,rowIndex:u,colIndex:l}=s,h=u+c-1;if(h!==a){const f=o.tdList.splice(a,1)[0];(r=n[h])==null||r.tdList.splice(l,0,f)}}}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(),f=this.draw.getOriginalElementList()[n].trList;if(!o)return[[f[r].tdList[i]]];let d=f[c].tdList[a],p=f[u].tdList[s];(d.x>p.x||d.y>p.y)&&([d,p]=[p,d]);const g=d.colIndex,y=p.colIndex+(p.colspan-1),R=d.rowIndex,m=p.rowIndex+(p.rowspan-1),v=[];for(let x=0;x=g&&O<=y&&Q>=R&&Q<=m&&E.push(U)}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(Ss.FORWARD)&&(e.moveTo(c+a,u),e.lineTo(c,u+s)),(h=n.slashTypes)!=null&&h.includes(Ss.BACK)&&(e.moveTo(c,u),e.lineTo(c+a,u+s)),e.stroke(),e.restore()}_drawBorder(e,n,r,i){var d,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===$r.EMPTY,f=s===$r.EXTERNAL;e.save(),e.lineWidth=c,h||this._drawOuterBorder({ctx:e,startX:r,startY:i,width:u,height:l,isDrawFullBorder:f});for(let v=0;vn+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=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;a1&&a!==0){const m=s.tdList[l-1],v=m?m.colIndex+m.colspan:l;for(let x=v;xp)&&(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=d,h.height=p,h.rowIndex=a,h.colIndex=f,i+=d,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:f,startTrIndex:d,endTrIndex:p}=this.range.getRange();if(!l)return;let g=u[d].tdList[h],y=u[p].tdList[f];(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 _=0;_=R&&O<=m&&Q>=v&&Q<=x){const ne=U.x*o,T=U.y*o,I=U.width*o,b=U.height*o;e.globalAlpha=a,e.fillStyle=s,e.fillRect(ne+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 Fi=(t=>(t.ROW="row",t.COL="col",t))(Fi||{});class gT{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:f}}=u,d=this.draw.getHeight(),p=this.draw.getPageGap(),g=this.draw.getPageNo()*(d+p),y=f[0],R=f[1]+g,m=c.trList[r].tdList[i],v=m.rowIndex,x=m.colIndex,_=h.map(T=>T.height),E=document.createElement("div");E.classList.add(`${Ze}-table-tool__row`),E.style.transform=`translateX(-${this.ROW_COL_OFFSET*o}px)`;for(let T=0;T<_.length;T++){const I=_[T]*o,b=document.createElement("div");b.classList.add(`${Ze}-table-tool__row__item`),T===v&&b.classList.add("active");const M=document.createElement("div");M.classList.add(`${Ze}-table-tool__anchor`),M.onmousedown=C=>{this._mousedown({evt:C,element:c,index:T,order:Fi.ROW})},b.append(M),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),U=document.createElement("div");U.classList.add(`${Ze}-table-tool__col`),U.style.transform=`translateY(-${this.ROW_COL_OFFSET*o}px)`;for(let T=0;T{this._mousedown({evt:C,element:c,index:T,order:Fi.COL})},b.append(M),b.style.width=`${I}px`,U.append(b)}U.style.left=`${y}px`,U.style.top=`${R}px`,this.container.append(U),this.toolColContainer=U;const O=c.height*o,Q=c.width*o,ne=document.createElement("div");ne.classList.add(`${Ze}-table-tool__border`),ne.style.height=`${O}px`,ne.style.width=`${Q}px`,ne.style.left=`${y}px`,ne.style.top=`${R}px`;for(let T=0;T{this._mousedown({evt:A,element:c,index:M.rowIndex+M.rowspan-1,order:Fi.ROW})},ne.appendChild(C);const F=document.createElement("div");F.classList.add(`${Ze}-table-tool__border__col`),F.style.width=`${this.BORDER_VALUE}px`,F.style.height=`${M.height*o}px`,F.style.top=`${M.y*o}px`,F.style.left=`${(M.x+M.width)*o-this.BORDER_VALUE/2}px`,F.onmousedown=A=>{this._mousedown({evt:A,element:c,index:M.colIndex+M.colspan-1,order:Fi.COL})},ne.appendChild(F)}}this.container.append(ne),this.toolBorderContainer=ne}_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,f=this.canvas.getBoundingClientRect(),d=window.getComputedStyle(h).cursor;document.body.style.cursor=d,this.canvas.style.cursor=d;let p=0,g=0;const y=document.createElement("div");y.classList.add(`${Ze}-table-anchor__line`),i===Fi.ROW?(y.classList.add(`${Ze}-table-anchor__line__row`),y.style.width=`${s}px`,p=0,g=l+this.mousedownY-f.top):(y.classList.add(`${Ze}-table-anchor__line__col`),y.style.height=`${c}px`,p=this.mousedownX-f.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 _=this._mousemove(x,i,p,g);_&&(R=_.dx,m=_.dy)};document.addEventListener("mousemove",v),document.addEventListener("mouseup",()=>{var _;let x=!1;if(i===Fi.ROW){const E=o.trList,N=E[r]||E[r-1],{defaultTrMinHeight:U}=this.options.table;m<0&&N.height+m0&&O&&O-RN){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===Fi.ROW?this.anchorLine.style.top=`${i+a}px`:this.anchorLine.style.left=`${r+o}px`,e.preventDefault(),{dx:o,dy:a}}}class mT{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(`${Ze}-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 RT{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*Km[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;si)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 yT{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 vT{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 bT{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 xT{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,f=n.width*u,d=this.draw.getDefaultBasicRowMarginHeight()*l;e.save(),e.font=`${h}px ${o}`;const p=e.measureText(c),g=(f-p.width)/2;e.setLineDash(s),e.translate(0,.5+d),e.beginPath(),e.moveTo(r,i),e.lineTo(r+g,i),e.moveTo(r+g+p.width,i),e.lineTo(r+f,i),e.stroke(),e.fillText(c,r+g,i+p.actualBoundingBoxAscent-h/2),e.restore()}}class wT{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 f=e.measureText(n);e.translate(l,h),e.rotate(-45*Math.PI/180),e.fillText(n,-f.width/2,f.actualBoundingBoxAscent-o/2),e.restore()}}class TT{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(;og.conceptId===c);if(!~u)continue;const l=o;let h=o;for(;h({...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;l0;){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(;s0;){const d=o[l];if(d.controlId!==s.controlId||d.controlComponent===Se.PREFIX){c=l;break}l--}let h=a+1;for(;hR.code===e);if(!u)return;const l=this.getValue(n)[0],h=l?zr(l,Ro):zr(i[o.startIndex],ha),f=this.clearSelect(n,{isAddPlaceholder:!1});if(!~f)return;s||this.control.removePlaceholder(f,n);const d=Ts(i[f],Ro),p=f+1,g=Tr(u.value),y=this.control.getDraw();for(let R=0;R{this.setSelect(f.code)},d.append(document.createTextNode(f.value)),o.append(d)}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 U1{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";const c=document.createElement("span");c.classList.add(`${Ze}-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(`${Ze}-date-week`);const{weeks:{sun:l,mon:h,tue:f,wed:d,thu:p,fri:g,sat:y}}=this.lang;[l,h,f,d,p,g,y].forEach(T=>{const I=document.createElement("span");I.innerText=`${T}`,u.append(I)});const m=document.createElement("div");m.classList.add(`${Ze}-date-day`),n.append(r),n.append(u),n.append(m);const v=document.createElement("ul");v.classList.add(`${Ze}-time-wrap`);let x,_,E;[this.lang.hour,this.lang.minute,this.lang.second].forEach((T,I)=>{const b=document.createElement("li"),M=document.createElement("span");M.innerText=T,b.append(M);const C=document.createElement("ol"),F=I===0,A=I===1,B=F?24:60;for(let $=0;${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((f,d)=>{const p=f;p.innerText=c[d]});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 f=new Date(c,u-1,1).getDay();f===0&&(f=7);const d=new Date(c,u-1,0).getDate();this.dom.day.innerHTML="";const p=d-f+1;for(let y=p;y<=d;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-f-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,f;const n=((l=this.pickDate)==null?void 0:l.getHours())||0,r=((h=this.pickDate)==null?void 0:h.getMinutes())||0,i=((f=this.pickDate)==null?void 0:f.getSeconds())||0,{hour:o,minute:a,second:s}=this.dom.time;[o,a,s].forEach(d=>{d.querySelectorAll("li").forEach(p=>p.classList.remove("active"))}),[[o,n],[a,r],[s,i]].forEach(([d,p])=>{const g=d.querySelector(`[data-id='${p}']`);g.classList.add("active"),e&&this._scrollIntoView(d,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;oc&&(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 Ga{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(;ac.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 DT{constructor(e){this.controlBorder=new ST(e),this.draw=e,this.range=e.getRange(),this.listener=e.getListener(),this.eventBus=e.getEventBus(),this.controlSearch=new TT(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;oi.controlId))return!1;let n=0,r=0;for(let i=0;i{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=Xt(u)[0].control:c=oa(Pt(i)).control,a&&a(c),s&&this.eventBus.emit("controlChange",c)})}destroyControl(){this.activeControl&&((this.activeControl instanceof Ha||this.activeControl instanceof Ga)&&this.activeControl.destroy(),this.activeControl=null,du(()=>{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 Ga||this.activeControl instanceof Ha)&&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(;u0;){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{var u;let c=0;for(;c{var m;return(m=d==null?void 0:d.find(v=>v.code===R))==null?void 0:m.value}).filter(Boolean).join("");r.push({...l.control,zone:s,value:f||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{var u;let c=0;for(;c0;l--){const h=c[l];if(h.type===fe.TABLE){const d=h.trList||[];for(let p=d.length-1;p>=0;p--){const g=d[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 f=l;for(;f>0;){const d=c[f];if(d.controlComponent===Se.VALUE||d.controlComponent===Se.PREFIX)break;f--}return{positionContext:{isTable:!1},nextIndex:f}}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,f=c[u].trList;for(let p=l;p>=0;p--){const g=f[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 d=i(c,u-1);if(d)return{positionContext:{isTable:!1},nextIndex:d.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{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 PT{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:f}=n;r=l,i=h+c+f}return{x:r,y:i}}_createResizerDom(){const e=document.createElement("div");e.classList.add(`${Ze}-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(`${Ze}-resizer-size-view`);const i=document.createElement("span");r.append(i),e.append(r);const o=document.createElement("div");o.classList.add(`${Ze}-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(`${Ze}-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(`${Ze}-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(`${Ze}-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 f=document.createElement("i");f.classList.add("rotate"),f.onclick=()=>{c+=1,this._setPreviewerTransform(s,c,o,a)},u.append(f);const d=document.createElement("i");d.classList.add("original-size"),d.onclick=()=>{o=0,a=0,s=1,c=0,this._setPreviewerTransform(s,c,o,a)},u.append(d);const p=document.createElement("i");p.classList.add("image-download"),p.onclick=()=>{var v;const{mime:m}=this.previewerDrawOption;Jm(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 LT{constructor(e){this.draw=e,this.range=e.getRange(),this.datePicker=new gR(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}]};Sn(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(;ca.value).join(""):"";this.datePicker.render({value:o,position:n,dateFormat:e.dateFormat})}}var Ds=(t=>(t.IFRAME="iframe",t.VIDEO="video",t))(Ds||{});const vR=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(...vR.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 bR=vR;bR.sandbox=["allow-scripts","allow-same-origin"];class MT{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 CT{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(`${Ze}-block-item`),e}render(){const e=this.element.block;e.type===Ds.IFRAME?(this.block=new bR(this.element),this.block.render(this.blockItem)):e.type===Ds.VIDEO&&(this.block=new MT(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 AT{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(`${Ze}-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 CT(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{const i=r.getBlockElement().id;n.includes(i)||(r.remove(),this.blockMap.delete(i))})}}const UT={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"}},WT={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"},XT={header:"\u9875\u7709",footer:"\u9875\u811A"},VT={displayName:"\u5206\u9875\u7B26"},YT={headerTip:"\u53CC\u51FB\u7F16\u8F91\u9875\u7709",footerTip:"\u53CC\u51FB\u7F16\u8F91\u9875\u811A"};var Vl={contextmenu:UT,datePicker:WT,frame:XT,pageBreak:VT,zone:YT};const BT={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"}},kT={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"},ZT={header:"Header",footer:"Footer"},QT={displayName:"Page Break"},KT={headerTip:"Double click to edit header",footerTip:"Double click to edit footer"};var HT={contextmenu:BT,datePicker:kT,frame:ZT,pageBreak:QT,zone:KT};class GT{constructor(){this.langMap=new Map([["zhCN",Vl],["en",HT]]),this.currentLocale="zhCN"}registerLangMap(e,n){const r=this.langMap.get(e);this.langMap.set(e,zm(r||Vl,n))}getLocale(){return this.currentLocale}setLocale(e){this.currentLocale=e}getLang(){return this.langMap.get(this.currentLocale)||Vl}t(e){const n=e.split(".");let r="",i=this.getLang();for(let o=0;o{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(`${Ze}-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 $T{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 zT(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(),du(()=>{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 ea?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(`${Ze}-zone-indicator`);const h=this.draw.getHeader(),f=this.draw.getFooter(),d=n?h.getHeight():f.getHeight(),p=n?h.getHeaderTop():c-f.getFooterBottom()-d;for(let g=0;ge?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;si)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 qT{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=bt();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{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(l.value===We&&(u+=1),u),0);if(!a)return 0;const s=`${this.MEASURE_BASE_TEXT.repeat(String(a).length)}${Ke.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:f,defaultSize:d}=this.options;for(let v=1;v{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;ac===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{const{x:f,y:d,width:p,height:g}=l;i!=null&&i.includes(h)?(e.globalAlpha=s,e.fillStyle=c):(e.globalAlpha=a,e.fillStyle=o),e.fillRect(f,d,p,g)}),e.restore(),this.clearFillInfo()}}class nS{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 GT,this.historyManager=new eT(this),this.position=new tT(this),this.zone=new $T(this),this.range=new nT(this),this.margin=new oT(this),this.background=new rT(this),this.search=new aT(this),this.group=new tS(this),this.underline=new cT(this),this.strikeout=new sT(this),this.highlight=new iT(this),this.previewer=new PT(this),this.imageParticle=new qm(this),this.laTexParticle=new nR(this),this.textParticle=new uT(this),this.tableParticle=new pT(this),this.tableTool=new gT(this),this.pageNumber=new hT(this),this.waterMark=new wT(this),this.placeholder=new eS(this),this.header=new RT(this,r.header),this.footer=new jT(this,r.footer),this.hyperlinkParticle=new mT(this),this.dateParticle=new LT(this),this.separatorParticle=new bT(this),this.pageBreakParticle=new xT(this),this.superscriptParticle=new yT,this.subscriptParticle=new vT,this.checkboxParticle=new _T(this),this.radioParticle=new OT(this),this.blockParticle=new AT(this),this.listParticle=new qT(this),this.lineBreakParticle=new da(this),this.control=new DT(this),this.scrollObserver=new dT(this),this.selectionObserver=new fT(this),this.imageObserver=new JT,this.canvasEvent=new jw(this),this.cursor=new Ow(this,this.canvasEvent),this.canvasEvent.register(),this.globalEvent=new qw(this,this.canvasEvent),this.globalEvent.register(),this.workerManager=new FT(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===kt.PRINT){this.printModeData={header:this.header.getElementList(),main:this.elementList,footer:this.footer.getElementList()};const n=Pt(this.printModeData);["header","main","footer"].forEach(i=>{n[i]=this.control.filterAssistElement(n[i])}),this.setEditorData(n)}this.mode===kt.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 kt.READONLY:case kt.PRINT:return!0;case kt.FORM:return!this.control.getIsRangeWithinControl();default:return!1}}getOriginalWidth(){const{paperDirection:e,width:n,height:r}=this.options;return e===fo.VERTICAL?n:r}getOriginalHeight(){const{paperDirection:e,width:n,height:r}=this.options;return e===fo.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===fo.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;dr(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;dr(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=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;cs.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===Ci.PAGING}setPageMode(e){if(!e||this.options.pageMode===e)return;if(this.options.pageMode=e,e===Ci.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&&no.elementList));const i={header:Xt(this.getHeaderElementList()),main:Xt(r),footer:Xt(this.getFooterElementList())};return{version:Ix,data:i,options:Pt(this.options)}}setValue(e){const{header:n,main:r,footer:i}=Pt(e);if(!n&&!r&&!i)return;[n,r,i].forEach(a=>{!a||dr(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(ei,ni.MAIN)}_createPageContainer(){const e=document.createElement("div");return e.classList.add(`${Ze}-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,_,E,N,U,O,Q,ne;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(),f=document.createElement("canvas").getContext("2d"),d=this.listParticle.computeListStyle(f,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;TA){const k=X*A/Y;b.width=A/s,b.height=k/s,C.width=A,C.height=k,C.boundingBoxDescent=k}else C.width=Y,C.height=X,C.boundingBoxDescent=X}C.boundingBoxAscent=0}else if(b.type===fe.TABLE){const Y=c[1]+c[3],X=c[0]+c[2];if(b.pagingId){let oe=T+1,W=0;for(;oe!P.pagingRepeat);b.trList.push(...S),b.height+=w.height,oe++,W++}else break}W&&r.splice(T+1,W)}b.pagingIndex=(x=b.pagingIndex)!=null?x:0,this.tableParticle.computeRowColInfo(b);const k=b.trList;for(let oe=0;oece+he.height,0);S.rowList=P;const ie=J/s+X;if(S.height{ve.height+=ce})}let K=0,j=0,re=0;for(;re0){const S=k[oe];S.height-=w,S.tdList.forEach(P=>{P.height-=w})}}this.tableParticle.computeRowColInfo(b);const H=this.tableParticle.getTableHeight(b),te=this.tableParticle.getTableWidth(b);b.width=te,b.height=H;const pe=te*s,D=H*s;if(C.width=pe,C.height=D,C.boundingBoxDescent=D,C.boundingBoxAscent=-M,i){const oe=this.getHeight(),W=this.getMainOuterHeight();let w=W;for(let P=0;Poe||((_=p[P-1])==null?void 0:_.isPageBreak)?w=W+J.height:w+=J.height}const S=M*2*s;if((w+b.trList[0].height+S>oe||b.pagingIndex!==0&&b.trList[0].pagingRepeat)&&(w=W),w+S+D>oe){const P=b.trList;let J=0,ie=0,K=0;if(P.length>1)for(let j=0;joe){const he=re.tdList.reduce((ve,_e)=>ve+_e.colspan,0);((E=b.colgroup)==null?void 0:E.length)!==he&&(ie=0);break}else J=j+1,ie=P.length-J,K+=ce}if(ie){const j=P.splice(J,ie),re=j.reduce((_e,Fe)=>_e+Fe.height,0),ce=b.pagingId||bt();b.pagingId=ce,b.height-=re,C.height-=re,C.boundingBoxDescent-=re;const he=Pt(b);he.pagingId=ce,he.pagingIndex=b.pagingIndex+1;const ve=P.filter(_e=>_e.pagingRepeat);if(ve.length){const _e=Pt(ve);_e.forEach(Fe=>Fe.id=bt()),j.unshift(..._e)}he.trList=j,he.id=bt(),this.spliceElementList(r,T+1,0,he)}}if(b.pagingId){const P=this.position.getPositionContext();if(P.isTable){let J=-1,ie=-1,K=T;for(;Kce.id===P.trId);if(~re){J=K,ie=re;break}K++}~J&&(P.index=J,P.trIndex=ie,this.position.setPositionContext(P))}}}}else if(b.type===fe.SEPARATOR){const{separator:{lineWidth:Y}}=this.options;b.width=A/s,C.width=A,C.height=Y*s,C.boundingBoxAscent=-M,C.boundingBoxDescent=-M+C.height}else if(b.type===fe.PAGE_BREAK)b.width=A/s,C.width=A,C.height=o;else if(b.type===fe.RADIO||b.controlComponent===Se.RADIO){const{width:Y,height:X,gap:k}=this.options.radio,G=Y+k*2;b.width=G,C.width=G*s,C.height=X*s}else if(b.type===fe.CHECKBOX||b.controlComponent===Se.CHECKBOX){const{width:Y,height:X,gap:k}=this.options.checkbox,G=Y+k*2;b.width=G,C.width=G*s,C.height=X*s}else if(b.type===fe.TAB)C.width=u*s,C.height=o*s,C.boundingBoxDescent=0,C.boundingBoxAscent=C.height;else if(b.type===fe.BLOCK){if(!b.width)C.width=A;else{const Y=b.width*s;C.width=Math.min(Y,A)}C.height=b.height*s,C.boundingBoxDescent=C.height,C.boundingBoxAscent=0}else{const Y=b.size||o;(b.type===fe.SUPERSCRIPT||b.type===fe.SUBSCRIPT)&&(b.actualSize=Math.ceil(Y*.6)),C.height=(b.actualSize||Y)*s,f.font=this.getElementFont(b);const X=this.textParticle.measureText(f,b);C.width=X.width*s,b.letterSpacing&&(C.width+=b.letterSpacing*s),C.boundingBoxAscent=(b.value===We?b.size||o:X.actualBoundingBoxAscent)*s,C.boundingBoxDescent=X.actualBoundingBoxDescent*s,b.type===fe.SUPERSCRIPT?C.boundingBoxAscent+=C.height/2:b.type===fe.SUBSCRIPT&&(C.boundingBoxDescent+=C.height/2)}const B=b.imgDisplay!==ht.INLINE&&b.type===fe.IMAGE||b.type===fe.LATEX?C.height+M:C.boundingBoxAscent+M,$=M+C.boundingBoxAscent+C.boundingBoxDescent+M,V=Object.assign(b,{metrics:C,style:this.getElementFont(b,s)});if((N=V.control)!=null&&N.minWidth&&(V.controlComponent&&(R+=C.width),V.controlComponent===Se.POSTFIX)){const Y=V.control.minWidth-R;if(Y>0){const X=A-I.width-C.width,k=Math.min(X,Y)*s;V.left=k,I.width+=k}else V.left=0;R=0}const L=r[T-1];let z=r[T+1],q=I.width+C.width;if(this.options.wordBreak===af.BREAK_WORD&&(!(L!=null&&L.type)||(L==null?void 0:L.type)===fe.TEXT)&&(!b.type||b.type===fe.TEXT)){const Y=`${(L==null?void 0:L.value)||""}${b.value}`;if(this.WORD_LIKE_REG.test(Y)){const{width:X,endElement:k}=this.textParticle.measureWord(f,r,T);X<=A&&(q+=X,z=k)}q+=this.textParticle.measurePunctuationWidth(f,z)}b.listId&&(b.listId!==g?y=0:b.value===We&&!b.listWrap&&y++),g=b.listId;const se=b.type===fe.SEPARATOR||b.type===fe.TABLE||(L==null?void 0:L.type)===fe.TABLE||(L==null?void 0:L.type)===fe.BLOCK||b.type===fe.BLOCK||(L==null?void 0:L.imgDisplay)===ht.INLINE||b.imgDisplay===ht.INLINE||(L==null?void 0:L.listId)!==b.listId||T!==0&&b.value===We,ae=q>A;if(se||ae){const Y={width:C.width,height:$,startIndex:T,elementList:[V],ascent:B,rowFlex:((U=r[T])==null?void 0:U.rowFlex)||((O=r[T+1])==null?void 0:O.rowFlex),isPageBreak:b.type===fe.PAGE_BREAK};if(V.controlComponent!==Se.PREFIX&&((Q=V.control)==null?void 0:Q.indentation)===iR.VALUE_START){const X=I.elementList.findIndex(k=>k.controlId===V.controlId&&k.controlComponent!==Se.PREFIX);if(~X){const G=this.position.computeRowPosition({row:I,innerWidth:this.getInnerWidth()})[X];G&&(Y.offsetX=G.coordinate.leftTop[0])}}b.listId&&(Y.isList=!0,Y.offsetX=d.get(b.listId),Y.listIndex=y),p.push(Y)}else I.width+=C.width,T===0&&fu(r[1])?(I.height=l,I.ascent=l):I.height<$&&(I.height=$,I.ascent=B),I.elementList.push(V);if((se||ae||T===r.length-1)&&(I.isWidthNotEnough=ae&&!se,(L==null?void 0:L.rowFlex)===st.JUSTIFY||(L==null?void 0:L.rowFlex)===st.ALIGNMENT&&ae)){const Y=((ne=I.elementList[0])==null?void 0:ne.value)===We?I.elementList.slice(1):I.elementList,X=(A-I.width)/(Y.length-1);for(let k=0;kf+d.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 f=ai||((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.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;rp){const y=g-p;this.ctxList.splice(p,y),this.pageList.splice(p,y).forEach(R=>R.remove())}s&&d?this._lazyRender():this._immediateRender(),o&&(h=this.setCursor(h)),(i&&!l||h!==void 0&&this.historyManager.isStackEmpty())&&this.submitHistory(h),du(()=>{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($x.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=Wl(this.elementList),i=Wl(this.header.getElementList()),o=Wl(this.footer.getElementList()),a=Pt(this.range.getRange()),s=this.pageNo,c=Pt(n),u=this.zone.getZone();this.historyManager.execute(()=>{this.zone.setZone(u),this.setPageNo(s),this.position.setPositionContext(Pt(c)),this.header.setElementList(Pt(i)),this.footer.setElementList(Pt(o)),this.elementList=Pt(r),this.range.replaceRange(Pt(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 rS{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 md={data:"",color:"#AEB5C0",opacity:.3,size:200,font:"Microsoft YaHei"};var Ai=(t=>(t.TOP="top",t.MIDDLE="middle",t.BOTTOM="bottom",t))(Ai||{});const iS={color:"#FFFFFF",image:"",size:sf.COVER,repeat:ao.NO_REPEAT},oS={width:14,height:14,gap:5,lineWidth:1,fillStyle:"#5175f4",strokeStyle:"#ffffff"},aS={placeholderColor:"#9c9b9b",bracketColor:"#000000",prefix:"{",postfix:"}",borderWidth:1,borderColor:"#000000"},sS={bottom:30,maxHeightRadio:ia.HALF,disabled:!1},cS={opacity:.1,backgroundColor:"#E99D00",activeOpacity:.5,activeBackgroundColor:"#E99D00",disabled:!1},uS={top:30,maxHeightRadio:ia.HALF,disabled:!1},lS={disabled:!0,color:"#CCCCCC",lineWidth:1.5},hS={font:"Microsoft YaHei",fontSize:12,lineDash:[3,1]},dS={data:"",color:"#DCDFE6",opacity:1,size:16,font:"Microsoft YaHei"},fS={width:14,height:14,gap:5,lineWidth:1,fillStyle:"#5175f4",strokeStyle:"#000000"},pS={lineWidth:1,strokeStyle:"#000000"},gS={tdPadding:[0,5,5,5],defaultTrMinHeight:42,defaultColMinWidth:40},mS={tipDisabled:!0};function wR(t={}){const e={...gS,...t.table},n={...uS,...t.header},r={...sS,...t.footer},i={...lT,...t.pageNumber},o={...md,...t.watermark},a={...aS,...t.control},s={...oS,...t.checkbox},c={...fS,...t.radio},u={...Kx,...t.cursor},l={...dw,...t.title},h={...dS,...t.placeholder},f={...cS,...t.group},d={...hS,...t.pageBreak},p={...mS,...t.zone},g={...iS,...t.background},y={...lS,...t.lineBreak},R={...pS,...t.separator};return{mode:kt.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:Ci.PAGING,defaultHyperlinkColor:"#0000FF",paperDirection:fo.VERTICAL,inactiveAlpha:.6,historyMaxRecordCount:100,wordBreak:af.BREAK_WORD,printPixelRatio:3,maskMargin:[0,0,0,0],letterClass:[Px.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:f,pageBreak:d,zone:p,background:g,lineBreak:y,separator:R}}function RS(t,e){const{width:n,height:r,direction:i=fo.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 f=document.createElement("img");f.style.width=`${n}px`,f.style.height=`${r}px`,f.src=h,c.append(f)});const u=document.createElement("style"),l=` * { margin: 0; padding: 0; } @page { margin: 0; size: ${i===fo.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 yS{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()||Dw(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||nl.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=>{Ro.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(er||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(),f=this.draw.getElementList()[l];(f==null?void 0:f.value)===We&&(s.push(f),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!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&&!Zx(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=bt(),c=this.draw.getOptions().title;a.forEach(h=>{!h.type&&h.value===We||(e?(h.level=e,h.titleId=s,aR(h)&&(h.size=c[rR[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=[],f=l/n;for(let R=0;R1&&y.rowIndex+y.rowspan>=f+1&&(y.rowspan+=1)}}}const l=bt(),h={height:u.height,id:l,tdList:[]};for(let f=0;f1&&R.rowIndex+R.rowspan>=d+1&&(R.rowspan+=1)}}}const h=bt(),f={height:l.height,id:h,tdList:[]};for(let d=0;dd+p.width,0),f=this.draw.getOriginalInnerWidth();if(h>f){const d=(h-f)/l.length;for(let p=0;pd+p.width,0),f=this.draw.getOriginalInnerWidth();if(h>f){const d=(h-f)/l.length;for(let p=0;pl&&g.rowspan--}}for(let h=0;h1){const d=bt(),p=c[i+1];p.tdList.splice(h,0,{id:d,rowspan:f.rowspan-1,colspan:f.colspan,value:[{value:We,size:16,tableId:s.id,trId:p.id,tdId:d}]})}}c.splice(i,1),this.position.setPositionContext({isTable:!1}),this.range.clearRange(),this.draw.render({curIndex:n.index}),this.tableTool.dispose()}deleteTableCol(){var f;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(d=>d.tdList.length>1)){this.deleteTable();return}for(let d=0;d1){const R=y.colIndex;R<=l&&R+y.colspan-1>=l&&(y.colspan-=1)}}}for(let d=0;dd.x||f.y>d.y)&&([f,d]=[d,f]);const p=f.colIndex,g=d.colIndex+(d.colspan-1),y=f.rowIndex,R=d.rowIndex+(d.rowspan-1),m=[];for(let I=0;I=p&&A<=g&&B>=y&&B<=R&&M.push(F)}M.length&&m.push(M)}if(!m.length)return;const v=m[m.length-1],x=m[0][0],_=v[v.length-1],E=x.x,N=x.y,U=_.x+_.width,O=_.y+_.height;for(let I=0;IF||N>A||U1){for(let d=1;d1){for(let d=1;d{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({url:c,hyperlinkId:u,value:d.value,type:fe.HYPERLINK}));if(!l)return;const h=i+1;Sn(a,l,i),this.draw.spliceElementList(a,h,i===o?0:o-i,...l);const f=h+l.length-1;this.range.setRange(f,f),this.draw.render({curIndex:f})}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=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=Pt(e),{startIndex:i}=this.range.getRange(),o=this.draw.getElementList();Sn(o,r,i),this.draw.insertElementList(r)}appendElementList(e,n){!e.length||this.draw.isReadonly()||this.draw.appendElementList(Pt(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;os!==void 0?vs(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=wR(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{var u;let c=0;for(;c{jc(s,a,u)}),this.draw.insertElementList([r])}}class vS{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 bS{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 Y1={SELECTED_TEXT:"%s"},As={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:xS}}=As,wS=[{key:xS,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:TS,COPY:SS,PASTE:DS,SELECT_ALL:_S,PRINT:OS}}=As,ES=[{key:TS,i18nPath:"contextmenu.global.cut",shortCut:`${so?"\u2318":"Ctrl"} + X`,when:t=>!t.isReadonly,callback:t=>{t.executeCut()}},{key:SS,i18nPath:"contextmenu.global.copy",shortCut:`${so?"\u2318":"Ctrl"} + C`,when:t=>t.editorHasSelection||t.isCrossRowCol,callback:t=>{t.executeCopy()}},{key:DS,i18nPath:"contextmenu.global.paste",shortCut:`${so?"\u2318":"Ctrl"} + V`,when:t=>!t.isReadonly&&t.editorTextFocus,callback:t=>{t.executePaste()}},{key:_S,i18nPath:"contextmenu.global.selectAll",shortCut:`${so?"\u2318":"Ctrl"} + A`,when:t=>t.editorTextFocus,callback:t=>{t.executeSelectAll()}},{isDivider:!0},{key:OS,i18nPath:"contextmenu.global.print",icon:"print",when:()=>!0,callback:t=>{t.executePrint()}}],{HYPERLINK:{DELETE:IS,CANCEL:NS,EDIT:FS}}=As,PS=[{key:IS,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:NS,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:FS,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:LS,SAVE_AS:MS,TEXT_WRAP:CS,TEXT_WRAP_EMBED:AS,TEXT_WRAP_UP_DOWN:US,TEXT_WRAP_FLOAT_TOP:WS,TEXT_WRAP_FLOAT_BOTTOM:XS}}=As,VS=[{key:LS,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:MS,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:CS,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:AS,i18nPath:"contextmenu.image.textWrapType.embed",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.BLOCK)}},{key:US,i18nPath:"contextmenu.image.textWrapType.upDown",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.INLINE)}},{key:WS,i18nPath:"contextmenu.image.textWrapType.floatTop",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.FLOAT_TOP)}},{key:XS,i18nPath:"contextmenu.image.textWrapType.floatBottom",when:()=>!0,callback:(t,e)=>{t.executeChangeImageDisplay(e.startElement,ht.FLOAT_BOTTOM)}}]}],{TABLE:{BORDER:YS,BORDER_ALL:BS,BORDER_EMPTY:kS,BORDER_EXTERNAL:ZS,BORDER_TD:QS,BORDER_TD_TOP:KS,BORDER_TD_LEFT:HS,BORDER_TD_BOTTOM:GS,BORDER_TD_RIGHT:JS,BORDER_TD_BACK:zS,BORDER_TD_FORWARD:$S,VERTICAL_ALIGN:jS,VERTICAL_ALIGN_TOP:qS,VERTICAL_ALIGN_MIDDLE:eD,VERTICAL_ALIGN_BOTTOM:tD,INSERT_ROW_COL:nD,INSERT_TOP_ROW:rD,INSERT_BOTTOM_ROW:iD,INSERT_LEFT_COL:oD,INSERT_RIGHT_COL:aD,DELETE_ROW_COL:sD,DELETE_ROW:cD,DELETE_COL:uD,DELETE_TABLE:lD,MERGE_CELL:hD,CANCEL_MERGE_CELL:dD}}=As,fD=[{isDivider:!0},{key:YS,i18nPath:"contextmenu.table.border",icon:"border-all",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:BS,i18nPath:"contextmenu.table.borderAll",icon:"border-all",when:()=>!0,callback:t=>{t.executeTableBorderType($r.ALL)}},{key:kS,i18nPath:"contextmenu.table.borderEmpty",icon:"border-empty",when:()=>!0,callback:t=>{t.executeTableBorderType($r.EMPTY)}},{key:ZS,i18nPath:"contextmenu.table.borderExternal",icon:"border-external",when:()=>!0,callback:t=>{t.executeTableBorderType($r.EXTERNAL)}},{key:QS,i18nPath:"contextmenu.table.borderTd",icon:"border-td",when:()=>!0,childMenus:[{key:KS,i18nPath:"contextmenu.table.borderTdTop",icon:"border-td-top",when:()=>!0,callback:t=>{t.executeTableTdBorderType(fr.TOP)}},{key:JS,i18nPath:"contextmenu.table.borderTdRight",icon:"border-td-right",when:()=>!0,callback:t=>{t.executeTableTdBorderType(fr.RIGHT)}},{key:GS,i18nPath:"contextmenu.table.borderTdBottom",icon:"border-td-bottom",when:()=>!0,callback:t=>{t.executeTableTdBorderType(fr.BOTTOM)}},{key:HS,i18nPath:"contextmenu.table.borderTdLeft",icon:"border-td-left",when:()=>!0,callback:t=>{t.executeTableTdBorderType(fr.LEFT)}},{key:$S,i18nPath:"contextmenu.table.borderTdForward",icon:"border-td-forward",when:()=>!0,callback:t=>{t.executeTableTdSlashType(Ss.FORWARD)}},{key:zS,i18nPath:"contextmenu.table.borderTdBack",icon:"border-td-back",when:()=>!0,callback:t=>{t.executeTableTdSlashType(Ss.BACK)}}]}]},{key:jS,i18nPath:"contextmenu.table.verticalAlign",icon:"vertical-align",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:qS,i18nPath:"contextmenu.table.verticalAlignTop",icon:"vertical-align-top",when:()=>!0,callback:t=>{t.executeTableTdVerticalAlign(Ai.TOP)}},{key:eD,i18nPath:"contextmenu.table.verticalAlignMiddle",icon:"vertical-align-middle",when:()=>!0,callback:t=>{t.executeTableTdVerticalAlign(Ai.MIDDLE)}},{key:tD,i18nPath:"contextmenu.table.verticalAlignBottom",icon:"vertical-align-bottom",when:()=>!0,callback:t=>{t.executeTableTdVerticalAlign(Ai.BOTTOM)}}]},{key:nD,i18nPath:"contextmenu.table.insertRowCol",icon:"insert-row-col",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:rD,i18nPath:"contextmenu.table.insertTopRow",icon:"insert-top-row",when:()=>!0,callback:t=>{t.executeInsertTableTopRow()}},{key:iD,i18nPath:"contextmenu.table.insertBottomRow",icon:"insert-bottom-row",when:()=>!0,callback:t=>{t.executeInsertTableBottomRow()}},{key:oD,i18nPath:"contextmenu.table.insertLeftCol",icon:"insert-left-col",when:()=>!0,callback:t=>{t.executeInsertTableLeftCol()}},{key:aD,i18nPath:"contextmenu.table.insertRightCol",icon:"insert-right-col",when:()=>!0,callback:t=>{t.executeInsertTableRightCol()}}]},{key:sD,i18nPath:"contextmenu.table.deleteRowCol",icon:"delete-row-col",when:t=>!t.isReadonly&&t.isInTable,childMenus:[{key:cD,i18nPath:"contextmenu.table.deleteRow",icon:"delete-row",when:()=>!0,callback:t=>{t.executeDeleteTableRow()}},{key:uD,i18nPath:"contextmenu.table.deleteCol",icon:"delete-col",when:()=>!0,callback:t=>{t.executeDeleteTableCol()}},{key:lD,i18nPath:"contextmenu.table.deleteTable",icon:"delete-table",when:()=>!0,callback:t=>{t.executeDeleteTable()}}]},{key:hD,i18nPath:"contextmenu.table.mergeCell",icon:"merge-cell",when:t=>!t.isReadonly&&t.isCrossRowCol,callback:t=>{t.executeMergeTableCell()}},{key:dD,i18nPath:"contextmenu.table.mergeCancelCell",icon:"merge-cancel-cell",when:t=>!t.isReadonly&&t.isInTable,callback:t=>{t.executeCancelMergeTableCell()}}];class pD{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;lu(i,a=>!!a&&a.nodeType===1&&a.getAttribute(ei)===ni.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=[...ES,...fD,...VS,...wS,...PS],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!O.isDivider)&&(v.classList.add(`${Ze}-contextmenu-sub-item`),v.onmouseenter=()=>{this._setHoverStatus(v,!0),this._removeSubMenu(a);const O=v.getBoundingClientRect(),Q=O.left+O.width,ne=O.top;c=this._render({contextMenuList:N,left:Q,top:ne,parentMenuContainer:a})},v.onmouseleave=O=>{(!c||!c.contains(O.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(`${Ze}-contextmenu-${m.icon}`);const _=document.createElement("span"),E=m.i18nPath?this._formatName(this.i18n.t(m.i18nPath)):this._formatName(m.name||"");if(_.append(document.createTextNode(E)),v.append(_),m.shortCut){const N=document.createElement("span");N.classList.add(`${Ze}-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,f=r+h>u?r-h:r;a.style.left=`${f}px`;const d=window.innerHeight,p=l.height,g=i+p>d?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(`${Ze}-contextmenu-item`).forEach(i=>i.classList.remove("hover")),e.classList.add("hover")):e.classList.remove("hover")}_formatName(e){const n=Object.values(Y1),r=new RegExp(`${n.join("|")}`);let i=e;if(r.test(i)){const o=new RegExp(Y1.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 gD=[{key:Ke.X,ctrl:!0,shift:!0,callback:t=>{t.executeStrikeout()}},{key:Ke.LEFT_BRACKET,mod:!0,callback:t=>{t.executeSizeAdd()}},{key:Ke.RIGHT_BRACKET,mod:!0,callback:t=>{t.executeSizeMinus()}},{key:Ke.B,mod:!0,callback:t=>{t.executeBold()}},{key:Ke.I,mod:!0,callback:t=>{t.executeItalic()}},{key:Ke.U,mod:!0,callback:t=>{t.executeUnderline()}},{key:so?Ke.COMMA:Ke.RIGHT_ANGLE_BRACKET,mod:!0,shift:!0,callback:t=>{t.executeSuperscript()}},{key:so?Ke.PERIOD:Ke.LEFT_ANGLE_BRACKET,mod:!0,shift:!0,callback:t=>{t.executeSubscript()}},{key:Ke.L,mod:!0,callback:t=>{t.executeRowFlex(st.LEFT)}},{key:Ke.E,mod:!0,callback:t=>{t.executeRowFlex(st.CENTER)}},{key:Ke.R,mod:!0,callback:t=>{t.executeRowFlex(st.RIGHT)}},{key:Ke.J,mod:!0,callback:t=>{t.executeRowFlex(st.ALIGNMENT)}},{key:Ke.J,mod:!0,shift:!0,callback:t=>{t.executeRowFlex(st.JUSTIFY)}}],mD=[{key:Ke.ZERO,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(null)}},{key:Ke.ONE,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.FIRST)}},{key:Ke.TWO,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.SECOND)}},{key:Ke.THREE,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.THIRD)}},{key:Ke.FOUR,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.FOURTH)}},{key:Ke.FIVE,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.FIFTH)}},{key:Ke.SIX,alt:!0,ctrl:!0,callback:t=>{t.executeTitle(mt.SIXTH)}}],RD=[{key:Ke.I,shift:!0,mod:!0,callback:t=>{t.executeList(ti.UL,ur.DISC)}},{key:Ke.U,shift:!0,mod:!0,callback:t=>{t.executeList(ti.OL)}}];class yD{constructor(e,n){this._globalKeydown=i=>{!this.globalShortcutList.length||this._execute(i,this.globalShortcutList)},this.command=n,this.globalShortcutList=[],this.agentShortcutList=[],this._addShortcutList([...gD,...mD,...RD]),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;ii(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 xD{}class wD{constructor(e,n,r={}){const i=wR(r);n=Pt(n);let o=[],a=[],s=[];Array.isArray(n)?a=n:(o=n.header||[],a=n.main,s=n.footer||[]),[o,a,s].forEach(d=>{dr(d,{editorOptions:i})}),this.listener=new vS,this.eventBus=new bD,this.override=new xD;const u=new nS(e,i,{header:o,main:a,footer:s},this.listener,this.eventBus,this.override);this.command=new rS(new yS(u));const l=new pD(u,this.command),h=new yD(u,this.command);this.register=new bS({contextMenu:l,shortcut:h,i18n:u.getI18n()}),this.destroy=()=>{u.destroy(),h.removeEvent(),l.removeEvent()};const f=new vD(this);this.use=f.use.bind(f)}}class fn{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(ei,ni.COMPONENT),document.body.append(a);const s=document.createElement("div");s.classList.add("dialog-container"),s.setAttribute(ei,ni.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 f=document.createElement("div");f.classList.add("dialog-option");for(let R=0;R{const E=document.createElement("option");E.value=_.value,E.label=_.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),f.append(v),this.inputList.push(x)}c.append(f);const d=document.createElement("div");d.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()},d.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()},d.append(g),c.append(d),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 TD(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 SD(t){const e=[];function n(r){for(let i=0;i{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 f=document.createElement("i"),d=document.createElement("span");d.innerText="\u64A4\u9500",h.append(f),h.append(d),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 _=document.createElement("button");return _.append(document.createTextNode("\u786E\u5B9A")),_.type="submit",_.onclick=()=>{r&&r(this._toData()),this._dispose()},v.append(_),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;pg[0]&&(r=g[0]),og[1]&&(i=g[1]),a{t.apply(this,r)},e)}}function OD(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;is&&(t.scrollTop=o-t.clientHeight)}function B1(t){(window.requestIdleCallback||window.setTimeout)(()=>{t()})}var TR={exports:{}},SR={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]},DR={exports:{}},ED=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")},ID=ED,ND=Array.prototype.concat,FD=Array.prototype.slice,k1=DR.exports=function(e){for(var n=[],r=0,i=e.length;r=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};pr.to.keyword=function(t){return OR[t.slice(0,3)]};function Ui(t,e,n){return Math.min(Math.max(e,t),n)}function Sc(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}const _s=SR,ER={};for(const t of Object.keys(_s))ER[_s[t]]=t;const Be={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 IR=Be;for(const t of Object.keys(Be)){if(!("channels"in Be[t]))throw new Error("missing channels property: "+t);if(!("labels"in Be[t]))throw new Error("missing channel labels property: "+t);if(Be[t].labels.length!==Be[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Be[t];delete Be[t].channels,delete Be[t].labels,Object.defineProperty(Be[t],"channels",{value:e}),Object.defineProperty(Be[t],"labels",{value:n})}Be.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]};Be.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(f){return(u-f)/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]};Be.rgb.hwb=function(t){const e=t[0],n=t[1];let r=t[2];const i=Be.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]};Be.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 PD(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Be.rgb.keyword=function(t){const e=ER[t];if(e)return e;let n=1/0,r;for(const i of Object.keys(_s)){const o=_s[i],a=PD(t,o);a.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]};Be.rgb.lab=function(t){const e=Be.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]};Be.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};Be.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]};Be.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]}};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.rgb.ansi16=function(t,e=null){const[n,r,i]=t;let o=e===null?Be.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};Be.hsv.ansi16=function(t){return Be.rgb.ansi16(Be.hsv.rgb(t),t[2])};Be.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)};Be.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]};Be.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]};Be.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};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.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]};Be.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Be.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Be.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Be.gray.hsl=function(t){return[0,0,t[0]]};Be.gray.hsv=Be.gray.hsl;Be.gray.hwb=function(t){return[0,100,t[0]]};Be.gray.cmyk=function(t){return[0,0,0,t[0]]};Be.gray.lab=function(t){return[t[0],0,0]};Be.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};Be.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]};const gu=IR;function LD(){const t={},e=Object.keys(gu);for(let n=e.length,r=0;r1&&(n=r),t(n))};return"conversion"in t&&(e.conversion=t.conversion),e}function YD(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{Ho[t]={},Object.defineProperty(Ho[t],"channels",{value:Rd[t].channels}),Object.defineProperty(Ho[t],"labels",{value:Rd[t].labels});const e=WD(t);Object.keys(e).forEach(r=>{const i=e[r];Ho[t][r]=YD(i),Ho[t][r].raw=VD(i)})});var BD=Ho;const Go=TR.exports,lr=BD,NR=["keyword","gray","hex"],yd={};for(const t of Object.keys(lr))yd[[...lr[t].labels].sort().join("")]=t;const mu={};function mn(t,e){if(!(this instanceof mn))return new mn(t,e);if(e&&e in NR&&(e=null),e&&!(e in lr))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 mn)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if(typeof t=="string"){const i=Go.get(t);if(i===null)throw new Error("Unable to parse color from string: "+t);this.model=i.model,r=lr[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=lr[this.model].channels;const i=Array.prototype.slice.call(t,0,r);this.color=vd(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 yd))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=yd[o];const{labels:a}=lr[this.model],s=[];for(n=0;n(t%360+360)%360),saturationl:Zt("hsl",1,rn(100)),lightness:Zt("hsl",2,rn(100)),saturationv:Zt("hsv",1,rn(100)),value:Zt("hsv",2,rn(100)),chroma:Zt("hcg",1,rn(100)),gray:Zt("hcg",2,rn(100)),white:Zt("hwb",1,rn(100)),wblack:Zt("hwb",2,rn(100)),cyan:Zt("cmyk",0,rn(100)),magenta:Zt("cmyk",1,rn(100)),yellow:Zt("cmyk",2,rn(100)),black:Zt("cmyk",3,rn(100)),x:Zt("xyz",0,rn(95.047)),y:Zt("xyz",1,rn(100)),z:Zt("xyz",2,rn(108.833)),l:Zt("lab",0,rn(100)),a:Zt("lab",1),b:Zt("lab",2),keyword(t){return t!==void 0?new mn(t):lr[this.model].keyword(this.color)},hex(t){return t!==void 0?new mn(t):Go.to.hex(this.rgb().round().color)},hexa(t){if(t!==void 0)return new mn(t);const e=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),Go.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 mn.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 mn.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(lr)){if(NR.includes(t))continue;const{channels:e}=lr[t];mn.prototype[t]=function(...n){return this.model===t?new mn(this):n.length>0?new mn(n,t):new mn([...QD(lr[this.model][t].raw(this.color)),this.valpha],t)},mn[t]=function(...n){let r=n[0];return typeof r=="number"&&(r=vd(n,e)),new mn(r,t)}}function kD(t,e){return Number(t.toFixed(e))}function ZD(t){return function(e){return kD(e,t)}}function Zt(t,e,n){t=Array.isArray(t)?t:[t];for(const r of t)(mu[r]||(mu[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 rn(t){return function(e){return Math.max(0,Math.min(t,e))}}function QD(t){return Array.isArray(t)?t:[t]}function vd(t,e){for(let n=0;ne in t?HD(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,dt=(t,e)=>{for(var n in e||(e={}))zD.call(e,n)&&bd(t,n,e[n]);if(Q1)for(var n of Q1(e))$D.call(e,n)&&bd(t,n,e[n]);return t},fa=(t,e)=>GD(t,JD(e)),xe=(t,e,n)=>(bd(t,typeof e!="symbol"?e+"":e,n),n),Dc=(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 Ru{constructor(e){xe(this,"rootKey"),this.rootKey=e}}const jD=Object.seal({});class be extends Ru{constructor(e){super(e),xe(this,"root"),this.root=new Array}prepForXml(e){var n;e.stack.push(this);const r=this.root.map(i=>i instanceof Ru?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:jD}}addChildElement(e){return this.root.push(e),this}}class vi extends be{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 Ru{constructor(e){super("_attr"),xe(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 bi extends Ru{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})=>fa(dt({},r),{[i]:o}),{})}}}class Qt extends Ue{constructor(){super(...arguments),xe(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 Kr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function FR(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var PR={},uf={exports:{}},aa=typeof Reflect=="object"?Reflect:null,K1=aa&&typeof aa.apply=="function"?aa.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},eu;aa&&typeof aa.ownKeys=="function"?eu=aa.ownKeys:Object.getOwnPropertySymbols?eu=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:eu=function(e){return Object.getOwnPropertyNames(e)};function qD(t){console&&console.warn&&console.warn(t)}var LR=Number.isNaN||function(e){return e!==e};function Et(){Et.init.call(this)}uf.exports=Et;uf.exports.once=r_;Et.EventEmitter=Et;Et.prototype._events=void 0;Et.prototype._eventsCount=0;Et.prototype._maxListeners=void 0;var H1=10;function Au(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 H1},set:function(t){if(typeof t!="number"||t<0||LR(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");H1=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||LR(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 MR(t){return t._maxListeners===void 0?Et.defaultMaxListeners:t._maxListeners}Et.prototype.getMaxListeners=function(){return MR(this)};Et.prototype.emit=function(e){for(var n=[],r=1;r0&&(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")K1(c,this,n);else for(var u=c.length,l=XR(c,u),r=0;r0&&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,qD(s)}return t}Et.prototype.addListener=function(e,n){return CR(this,e,n,!1)};Et.prototype.on=Et.prototype.addListener;Et.prototype.prependListener=function(e,n){return CR(this,e,n,!0)};function e_(){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 AR(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=e_.bind(r);return i.listener=n,r.wrapFn=i,i}Et.prototype.once=function(e,n){return Au(n),this.on(e,AR(this,e,n)),this};Et.prototype.prependOnceListener=function(e,n){return Au(n),this.prependListener(e,AR(this,e,n)),this};Et.prototype.removeListener=function(e,n){var r,i,o,a,s;if(Au(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():t_(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=0;i--)this.removeListener(e,n[i]);return this};function UR(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?n_(i):XR(i,i.length)}Et.prototype.listeners=function(e){return UR(this,e,!0)};Et.prototype.rawListeners=function(e){return UR(this,e,!1)};Et.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):WR.call(t,e)};Et.prototype.listenerCount=WR;function WR(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?eu(this._events):[]};function XR(t,e){for(var n=new Array(e),r=0;r1)for(var n=1;n0)throw new Error("Invalid string. Length must be a multiple of 4");var g=d.indexOf("=");g===-1&&(g=p);var y=g===p?0:4-g%4;return[g,y]}function s(d){var p=a(d),g=p[0],y=p[1];return(g+y)*3/4-y}function c(d,p,g){return(p+g)*3/4-g}function u(d){var p,g=a(d),y=g[0],R=g[1],m=new n(c(d,y,R)),v=0,x=R>0?y-4:y,_;for(_=0;_>16&255,m[v++]=p>>8&255,m[v++]=p&255;return R===2&&(p=e[d.charCodeAt(_)]<<2|e[d.charCodeAt(_+1)]>>4,m[v++]=p&255),R===1&&(p=e[d.charCodeAt(_)]<<10|e[d.charCodeAt(_+1)]<<4|e[d.charCodeAt(_+2)]>>2,m[v++]=p>>8&255,m[v++]=p&255),m}function l(d){return t[d>>18&63]+t[d>>12&63]+t[d>>6&63]+t[d&63]}function h(d,p,g){for(var y,R=[],m=p;mx?x:v+m));return y===1?(p=d[g-1],R.push(t[p>>2]+t[p<<4&63]+"==")):y===2&&(p=(d[g-2]<<8)+d[g-1],R.push(t[p>>10]+t[p>>4&63]+t[p<<2&63]+"=")),R.join("")}return Ja}var _c={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var z1;function l_(){return z1||(z1=1,_c.read=function(t,e,n,r,i){var o,a,s=i*8-r-1,c=(1<>1,l=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=o*256+t[e+h],h+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=a*256+t[e+h],h+=f,l-=8);if(o===0)o=1-u;else{if(o===c)return a?NaN:(d?-1:1)*(1/0);a=a+Math.pow(2,r),o=o-u}return(d?-1:1)*a*Math.pow(2,o-r)},_c.write=function(t,e,n,r,i,o){var a,s,c,u=o*8-i-1,l=(1<>1,f=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=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+=f/c:e+=f*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+d]=s&255,d+=p,s/=256,i-=8);for(a=a<0;t[n+d]=a&255,d+=p,a/=256,u-=8);t[n+d-p]|=g*128}),_c}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */var $1;function Uu(){return $1||($1=1,function(t){var e=u_(),n=l_(),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 W=new Uint8Array(1),w={foo:function(){return 42}};return Object.setPrototypeOf(w,Uint8Array.prototype),Object.setPrototypeOf(W,w),W.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(W){if(W>i)throw new RangeError('The value "'+W+'" is invalid for option "size"');var w=new Uint8Array(W);return Object.setPrototypeOf(w,s.prototype),w}function s(W,w,S){if(typeof W=="number"){if(typeof w=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(W)}return c(W,w,S)}s.poolSize=8192;function c(W,w,S){if(typeof W=="string")return f(W,w);if(ArrayBuffer.isView(W))return p(W);if(W==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W);if(pe(W,ArrayBuffer)||W&&pe(W.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(pe(W,SharedArrayBuffer)||W&&pe(W.buffer,SharedArrayBuffer)))return g(W,w,S);if(typeof W=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var P=W.valueOf&&W.valueOf();if(P!=null&&P!==W)return s.from(P,w,S);var J=y(W);if(J)return J;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof W[Symbol.toPrimitive]=="function")return s.from(W[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 W)}s.from=function(W,w,S){return c(W,w,S)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function u(W){if(typeof W!="number")throw new TypeError('"size" argument must be of type number');if(W<0)throw new RangeError('The value "'+W+'" is invalid for option "size"')}function l(W,w,S){return u(W),W<=0?a(W):w!==void 0?typeof S=="string"?a(W).fill(w,S):a(W).fill(w):a(W)}s.alloc=function(W,w,S){return l(W,w,S)};function h(W){return u(W),a(W<0?0:R(W)|0)}s.allocUnsafe=function(W){return h(W)},s.allocUnsafeSlow=function(W){return h(W)};function f(W,w){if((typeof w!="string"||w==="")&&(w="utf8"),!s.isEncoding(w))throw new TypeError("Unknown encoding: "+w);var S=v(W,w)|0,P=a(S),J=P.write(W,w);return J!==S&&(P=P.slice(0,J)),P}function d(W){for(var w=W.length<0?0:R(W.length)|0,S=a(w),P=0;P=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return W|0}function m(W){return+W!=W&&(W=0),s.alloc(+W)}s.isBuffer=function(w){return w!=null&&w._isBuffer===!0&&w!==s.prototype},s.compare=function(w,S){if(pe(w,Uint8Array)&&(w=s.from(w,w.offset,w.byteLength)),pe(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 P=w.length,J=S.length,ie=0,K=Math.min(P,J);ieJ.length?s.from(K).copy(J,ie):Uint8Array.prototype.set.call(J,K,ie);else if(s.isBuffer(K))K.copy(J,ie);else throw new TypeError('"list" argument must be an Array of Buffers');ie+=K.length}return J};function v(W,w){if(s.isBuffer(W))return W.length;if(ArrayBuffer.isView(W)||pe(W,ArrayBuffer))return W.byteLength;if(typeof W!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof W);var S=W.length,P=arguments.length>2&&arguments[2]===!0;if(!P&&S===0)return 0;for(var J=!1;;)switch(w){case"ascii":case"latin1":case"binary":return S;case"utf8":case"utf-8":return X(W).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S*2;case"hex":return S>>>1;case"base64":return H(W).length;default:if(J)return P?-1:X(W).length;w=(""+w).toLowerCase(),J=!0}}s.byteLength=v;function x(W,w,S){var P=!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(W||(W="utf8");;)switch(W){case"hex":return B(this,w,S);case"utf8":case"utf-8":return b(this,w,S);case"ascii":return F(this,w,S);case"latin1":case"binary":return A(this,w,S);case"base64":return I(this,w,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,w,S);default:if(P)throw new TypeError("Unknown encoding: "+W);W=(W+"").toLowerCase(),P=!0}}s.prototype._isBuffer=!0;function _(W,w,S){var P=W[w];W[w]=W[S],W[S]=P}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;SS&&(w+=" ... "),""},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(w,S,P,J,ie){if(pe(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),P===void 0&&(P=w?w.length:0),J===void 0&&(J=0),ie===void 0&&(ie=this.length),S<0||P>w.length||J<0||ie>this.length)throw new RangeError("out of range index");if(J>=ie&&S>=P)return 0;if(J>=ie)return-1;if(S>=P)return 1;if(S>>>=0,P>>>=0,J>>>=0,ie>>>=0,this===w)return 0;for(var K=ie-J,j=P-S,re=Math.min(K,j),ce=this.slice(J,ie),he=w.slice(S,P),ve=0;ve2147483647?S=2147483647:S<-2147483648&&(S=-2147483648),S=+S,D(S)&&(S=J?0:W.length-1),S<0&&(S=W.length+S),S>=W.length){if(J)return-1;S=W.length-1}else if(S<0)if(J)S=0;else return-1;if(typeof w=="string"&&(w=s.from(w,P)),s.isBuffer(w))return w.length===0?-1:N(W,w,S,P,J);if(typeof w=="number")return w=w&255,typeof Uint8Array.prototype.indexOf=="function"?J?Uint8Array.prototype.indexOf.call(W,w,S):Uint8Array.prototype.lastIndexOf.call(W,w,S):N(W,[w],S,P,J);throw new TypeError("val must be string, number or Buffer")}function N(W,w,S,P,J){var ie=1,K=W.length,j=w.length;if(P!==void 0&&(P=String(P).toLowerCase(),P==="ucs2"||P==="ucs-2"||P==="utf16le"||P==="utf-16le")){if(W.length<2||w.length<2)return-1;ie=2,K/=2,j/=2,S/=2}function re(Fe,Xe){return ie===1?Fe[Xe]:Fe.readUInt16BE(Xe*ie)}var ce;if(J){var he=-1;for(ce=S;ceK&&(S=K-j),ce=S;ce>=0;ce--){for(var ve=!0,_e=0;_eJ&&(P=J)):P=J;var ie=w.length;P>ie/2&&(P=ie/2);for(var K=0;K>>0,isFinite(P)?(P=P>>>0,J===void 0&&(J="utf8")):(J=P,P=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ie=this.length-S;if((P===void 0||P>ie)&&(P=ie),w.length>0&&(P<0||S<0)||S>this.length)throw new RangeError("Attempt to write outside buffer bounds");J||(J="utf8");for(var K=!1;;)switch(J){case"hex":return U(this,w,S,P);case"utf8":case"utf-8":return O(this,w,S,P);case"ascii":case"latin1":case"binary":return Q(this,w,S,P);case"base64":return ne(this,w,S,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,w,S,P);default:if(K)throw new TypeError("Unknown encoding: "+J);J=(""+J).toLowerCase(),K=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(W,w,S){return w===0&&S===W.length?e.fromByteArray(W):e.fromByteArray(W.slice(w,S))}function b(W,w,S){S=Math.min(W.length,S);for(var P=[],J=w;J239?4:ie>223?3:ie>191?2:1;if(J+j<=S){var re,ce,he,ve;switch(j){case 1:ie<128&&(K=ie);break;case 2:re=W[J+1],(re&192)===128&&(ve=(ie&31)<<6|re&63,ve>127&&(K=ve));break;case 3:re=W[J+1],ce=W[J+2],(re&192)===128&&(ce&192)===128&&(ve=(ie&15)<<12|(re&63)<<6|ce&63,ve>2047&&(ve<55296||ve>57343)&&(K=ve));break;case 4:re=W[J+1],ce=W[J+2],he=W[J+3],(re&192)===128&&(ce&192)===128&&(he&192)===128&&(ve=(ie&15)<<18|(re&63)<<12|(ce&63)<<6|he&63,ve>65535&&ve<1114112&&(K=ve))}}K===null?(K=65533,j=1):K>65535&&(K-=65536,P.push(K>>>10&1023|55296),K=56320|K&1023),P.push(K),J+=j}return C(P)}var M=4096;function C(W){var w=W.length;if(w<=M)return String.fromCharCode.apply(String,W);for(var S="",P=0;PP)&&(S=P);for(var J="",ie=w;ieP&&(w=P),S<0?(S+=P,S<0&&(S=0)):S>P&&(S=P),SS)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(w,S,P){w=w>>>0,S=S>>>0,P||V(w,S,this.length);for(var J=this[w],ie=1,K=0;++K>>0,S=S>>>0,P||V(w,S,this.length);for(var J=this[w+--S],ie=1;S>0&&(ie*=256);)J+=this[w+--S]*ie;return J},s.prototype.readUint8=s.prototype.readUInt8=function(w,S){return w=w>>>0,S||V(w,1,this.length),this[w]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(w,S){return w=w>>>0,S||V(w,2,this.length),this[w]|this[w+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(w,S){return w=w>>>0,S||V(w,2,this.length),this[w]<<8|this[w+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(w,S){return w=w>>>0,S||V(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||V(w,4,this.length),this[w]*16777216+(this[w+1]<<16|this[w+2]<<8|this[w+3])},s.prototype.readIntLE=function(w,S,P){w=w>>>0,S=S>>>0,P||V(w,S,this.length);for(var J=this[w],ie=1,K=0;++K=ie&&(J-=Math.pow(2,8*S)),J},s.prototype.readIntBE=function(w,S,P){w=w>>>0,S=S>>>0,P||V(w,S,this.length);for(var J=S,ie=1,K=this[w+--J];J>0&&(ie*=256);)K+=this[w+--J]*ie;return ie*=128,K>=ie&&(K-=Math.pow(2,8*S)),K},s.prototype.readInt8=function(w,S){return w=w>>>0,S||V(w,1,this.length),this[w]&128?(255-this[w]+1)*-1:this[w]},s.prototype.readInt16LE=function(w,S){w=w>>>0,S||V(w,2,this.length);var P=this[w]|this[w+1]<<8;return P&32768?P|4294901760:P},s.prototype.readInt16BE=function(w,S){w=w>>>0,S||V(w,2,this.length);var P=this[w+1]|this[w]<<8;return P&32768?P|4294901760:P},s.prototype.readInt32LE=function(w,S){return w=w>>>0,S||V(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||V(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||V(w,4,this.length),n.read(this,w,!0,23,4)},s.prototype.readFloatBE=function(w,S){return w=w>>>0,S||V(w,4,this.length),n.read(this,w,!1,23,4)},s.prototype.readDoubleLE=function(w,S){return w=w>>>0,S||V(w,8,this.length),n.read(this,w,!0,52,8)},s.prototype.readDoubleBE=function(w,S){return w=w>>>0,S||V(w,8,this.length),n.read(this,w,!1,52,8)};function L(W,w,S,P,J,ie){if(!s.isBuffer(W))throw new TypeError('"buffer" argument must be a Buffer instance');if(w>J||wW.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(w,S,P,J){if(w=+w,S=S>>>0,P=P>>>0,!J){var ie=Math.pow(2,8*P)-1;L(this,w,S,P,ie,0)}var K=1,j=0;for(this[S]=w&255;++j>>0,P=P>>>0,!J){var ie=Math.pow(2,8*P)-1;L(this,w,S,P,ie,0)}var K=P-1,j=1;for(this[S+K]=w&255;--K>=0&&(j*=256);)this[S+K]=w/j&255;return S+P},s.prototype.writeUint8=s.prototype.writeUInt8=function(w,S,P){return w=+w,S=S>>>0,P||L(this,w,S,1,255,0),this[S]=w&255,S+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(w,S,P){return w=+w,S=S>>>0,P||L(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,P){return w=+w,S=S>>>0,P||L(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,P){return w=+w,S=S>>>0,P||L(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,P){return w=+w,S=S>>>0,P||L(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,P,J){if(w=+w,S=S>>>0,!J){var ie=Math.pow(2,8*P-1);L(this,w,S,P,ie-1,-ie)}var K=0,j=1,re=0;for(this[S]=w&255;++K>0)-re&255;return S+P},s.prototype.writeIntBE=function(w,S,P,J){if(w=+w,S=S>>>0,!J){var ie=Math.pow(2,8*P-1);L(this,w,S,P,ie-1,-ie)}var K=P-1,j=1,re=0;for(this[S+K]=w&255;--K>=0&&(j*=256);)w<0&&re===0&&this[S+K+1]!==0&&(re=1),this[S+K]=(w/j>>0)-re&255;return S+P},s.prototype.writeInt8=function(w,S,P){return w=+w,S=S>>>0,P||L(this,w,S,1,127,-128),w<0&&(w=255+w+1),this[S]=w&255,S+1},s.prototype.writeInt16LE=function(w,S,P){return w=+w,S=S>>>0,P||L(this,w,S,2,32767,-32768),this[S]=w&255,this[S+1]=w>>>8,S+2},s.prototype.writeInt16BE=function(w,S,P){return w=+w,S=S>>>0,P||L(this,w,S,2,32767,-32768),this[S]=w>>>8,this[S+1]=w&255,S+2},s.prototype.writeInt32LE=function(w,S,P){return w=+w,S=S>>>0,P||L(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,P){return w=+w,S=S>>>0,P||L(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 z(W,w,S,P,J,ie){if(S+P>W.length)throw new RangeError("Index out of range");if(S<0)throw new RangeError("Index out of range")}function q(W,w,S,P,J){return w=+w,S=S>>>0,J||z(W,w,S,4),n.write(W,w,S,P,23,4),S+4}s.prototype.writeFloatLE=function(w,S,P){return q(this,w,S,!0,P)},s.prototype.writeFloatBE=function(w,S,P){return q(this,w,S,!1,P)};function se(W,w,S,P,J){return w=+w,S=S>>>0,J||z(W,w,S,8),n.write(W,w,S,P,52,8),S+8}s.prototype.writeDoubleLE=function(w,S,P){return se(this,w,S,!0,P)},s.prototype.writeDoubleBE=function(w,S,P){return se(this,w,S,!1,P)},s.prototype.copy=function(w,S,P,J){if(!s.isBuffer(w))throw new TypeError("argument should be a Buffer");if(P||(P=0),!J&&J!==0&&(J=this.length),S>=w.length&&(S=w.length),S||(S=0),J>0&&J=this.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("sourceEnd out of bounds");J>this.length&&(J=this.length),w.length-S>>0,P=P===void 0?this.length:P>>>0,w||(w=0);var K;if(typeof w=="number")for(K=S;K55295&&S<57344){if(!J){if(S>56319){(w-=3)>-1&&ie.push(239,191,189);continue}else if(K+1===P){(w-=3)>-1&&ie.push(239,191,189);continue}J=S;continue}if(S<56320){(w-=3)>-1&&ie.push(239,191,189),J=S;continue}S=(J-55296<<10|S-56320)+65536}else J&&(w-=3)>-1&&ie.push(239,191,189);if(J=null,S<128){if((w-=1)<0)break;ie.push(S)}else if(S<2048){if((w-=2)<0)break;ie.push(S>>6|192,S&63|128)}else if(S<65536){if((w-=3)<0)break;ie.push(S>>12|224,S>>6&63|128,S&63|128)}else if(S<1114112){if((w-=4)<0)break;ie.push(S>>18|240,S>>12&63|128,S>>6&63|128,S&63|128)}else throw new Error("Invalid code point")}return ie}function k(W){for(var w=[],S=0;S>8,J=S%256,ie.push(J),ie.push(P);return ie}function H(W){return e.toByteArray(Y(W))}function te(W,w,S,P){for(var J=0;J=w.length||J>=W.length);++J)w[J+S]=W[J];return J}function pe(W,w){return W instanceof w||W!=null&&W.constructor!=null&&W.constructor.name!=null&&W.constructor.name===w.name}function D(W){return W!==W}var oe=function(){for(var W="0123456789abcdef",w=new Array(256),S=0;S<16;++S)for(var P=S*16,J=0;J<16;++J)w[P+J]=W[S]+W[J];return w}()}(kl)),kl}var Zl={},Ql={},Kl,j1;function KR(){return j1||(j1=1,Kl=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}),Kl}var Hl,q1;function hf(){if(q1)return Hl;q1=1;var t=KR();return Hl=function(){return t()&&!!Symbol.toStringTag},Hl}var Gl,eg;function h_(){if(eg)return Gl;eg=1;var t=typeof Symbol!="undefined"&&Symbol,e=KR();return Gl=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Gl}var Jl,tg;function d_(){if(tg)return Jl;tg=1;var t={foo:{}},e=Object;return Jl=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof e)},Jl}var zl,ng;function f_(){if(ng)return zl;ng=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;h1&&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 M=Q(I),C=M.length>0?M[0]:"",F=ne("%"+C+"%",b),A=F.name,B=F.value,$=!1,V=F.alias;V&&(C=V[0],x(M,v([0,1],V)));for(var L=1,z=!0;L=M.length){var Y=o(B,q);z=!!Y,z&&"get"in Y&&!("originalValue"in Y.get)?B=Y.get:B=B[q]}else z=m(B,q),B=B[q];z&&!$&&(d[A]=B)}}return B},ql}var eh={exports:{}},th,ag;function HR(){if(ag)return th;ag=1;var t=Ea(),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}},th=n,th}var nh,sg;function ff(){if(sg)return nh;sg=1;var t=Ea(),e=t("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch{e=null}return nh=e,nh}var rh,cg;function g_(){if(cg)return rh;cg=1;var t=HR()(),e=Ea(),n=t&&e("%Object.defineProperty%",!0);if(n)try{n({},"a",{value:1})}catch{n=!1}var r=e("%SyntaxError%"),i=e("%TypeError%"),o=ff();return rh=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,f=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,p=!!o&&o(s,c);if(n)n(s,c,{configurable:f===null&&p?p.configurable:!f,enumerable:l===null&&p?p.enumerable:!l,value:u,writable:h===null&&p?p.writable:!h});else if(d||!l&&!h&&!f)s[c]=u;else throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},rh}var ih,ug;function m_(){if(ug)return ih;ug=1;var t=Ea(),e=g_(),n=HR()(),r=ff(),i=t("%TypeError%"),o=t("%Math.floor%");return ih=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 f=r(s,"length");f&&!f.configurable&&(l=!1),f&&!f.writable&&(h=!1)}return(l||h||!u)&&(n?e(s,"length",c,!0,!0):e(s,"length",c)),s},ih}var lg;function GR(){return lg||(lg=1,function(t){var e=df(),n=Ea(),r=m_(),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(f){if(typeof f!="function")throw new i("a function is required");var d=s(e,a,arguments);return r(d,1+u(0,f.length-(arguments.length-1)),!0)};var l=function(){return s(e,o,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l}(eh)),eh.exports}var oh,hg;function JR(){if(hg)return oh;hg=1;var t=Ea(),e=GR(),n=e(t("String.prototype.indexOf"));return oh=function(i,o){var a=t(i,!!o);return typeof a=="function"&&n(i,".prototype.")>-1?e(a):a},oh}var ah,dg;function R_(){if(dg)return ah;dg=1;var t=hf()(),e=JR(),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,ah=o?r:i,ah}var sh,fg;function y_(){if(fg)return sh;fg=1;var t=Object.prototype.toString,e=Function.prototype.toString,n=/^\s*(?:function)?\*/,r=hf()(),i=Object.getPrototypeOf,o=function(){if(!r)return!1;try{return Function("return function*() {}")()}catch{}},a;return sh=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},sh}var ch,pg;function v_(){if(pg)return ch;pg=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]",f="[object HTML document.all class]",d="[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===f||x===d||x===c)&&v("")==null}catch{}return!1})}return ch=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)},ch}var uh,gg;function b_(){if(gg)return uh;gg=1;var t=v_(),e=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=function(c,u,l){for(var h=0,f=c.length;h=3&&(h=l),e.call(c)==="[object Array]"?r(c,u,h):typeof c=="string"?i(c,u,h):o(c,u,h)};return uh=a,uh}var lh,mg;function x_(){if(mg)return lh;mg=1;var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],e=typeof globalThis=="undefined"?Kr:globalThis;return lh=function(){for(var r=[],i=0;i-1?R:R!=="Object"?!1:p(y)}return i?d(y):null},hh}var dh,yg;function w_(){if(yg)return dh;yg=1;var t=zR();return dh=function(n){return!!t(n)},dh}var vg;function T_(){return vg||(vg=1,function(t){var e=R_(),n=y_(),r=zR(),i=w_();function o(P){return P.call.bind(P)}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 f=o(BigInt.prototype.valueOf);if(s)var d=o(Symbol.prototype.valueOf);function p(P,J){if(typeof P!="object")return!1;try{return J(P),!0}catch{return!1}}t.isArgumentsObject=e,t.isGeneratorFunction=n,t.isTypedArray=i;function g(P){return typeof Promise!="undefined"&&P instanceof Promise||P!==null&&typeof P=="object"&&typeof P.then=="function"&&typeof P.catch=="function"}t.isPromise=g;function y(P){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(P):i(P)||z(P)}t.isArrayBufferView=y;function R(P){return r(P)==="Uint8Array"}t.isUint8Array=R;function m(P){return r(P)==="Uint8ClampedArray"}t.isUint8ClampedArray=m;function v(P){return r(P)==="Uint16Array"}t.isUint16Array=v;function x(P){return r(P)==="Uint32Array"}t.isUint32Array=x;function _(P){return r(P)==="Int8Array"}t.isInt8Array=_;function E(P){return r(P)==="Int16Array"}t.isInt16Array=E;function N(P){return r(P)==="Int32Array"}t.isInt32Array=N;function U(P){return r(P)==="Float32Array"}t.isFloat32Array=U;function O(P){return r(P)==="Float64Array"}t.isFloat64Array=O;function Q(P){return r(P)==="BigInt64Array"}t.isBigInt64Array=Q;function ne(P){return r(P)==="BigUint64Array"}t.isBigUint64Array=ne;function T(P){return c(P)==="[object Map]"}T.working=typeof Map!="undefined"&&T(new Map);function I(P){return typeof Map=="undefined"?!1:T.working?T(P):P instanceof Map}t.isMap=I;function b(P){return c(P)==="[object Set]"}b.working=typeof Set!="undefined"&&b(new Set);function M(P){return typeof Set=="undefined"?!1:b.working?b(P):P instanceof Set}t.isSet=M;function C(P){return c(P)==="[object WeakMap]"}C.working=typeof WeakMap!="undefined"&&C(new WeakMap);function F(P){return typeof WeakMap=="undefined"?!1:C.working?C(P):P instanceof WeakMap}t.isWeakMap=F;function A(P){return c(P)==="[object WeakSet]"}A.working=typeof WeakSet!="undefined"&&A(new WeakSet);function B(P){return A(P)}t.isWeakSet=B;function $(P){return c(P)==="[object ArrayBuffer]"}$.working=typeof ArrayBuffer!="undefined"&&$(new ArrayBuffer);function V(P){return typeof ArrayBuffer=="undefined"?!1:$.working?$(P):P instanceof ArrayBuffer}t.isArrayBuffer=V;function L(P){return c(P)==="[object DataView]"}L.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&L(new DataView(new ArrayBuffer(1),0,1));function z(P){return typeof DataView=="undefined"?!1:L.working?L(P):P instanceof DataView}t.isDataView=z;var q=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function se(P){return c(P)==="[object SharedArrayBuffer]"}function ae(P){return typeof q=="undefined"?!1:(typeof se.working=="undefined"&&(se.working=se(new q)),se.working?se(P):P instanceof q)}t.isSharedArrayBuffer=ae;function Y(P){return c(P)==="[object AsyncFunction]"}t.isAsyncFunction=Y;function X(P){return c(P)==="[object Map Iterator]"}t.isMapIterator=X;function k(P){return c(P)==="[object Set Iterator]"}t.isSetIterator=k;function G(P){return c(P)==="[object Generator]"}t.isGeneratorObject=G;function H(P){return c(P)==="[object WebAssembly.Module]"}t.isWebAssemblyCompiledModule=H;function te(P){return p(P,u)}t.isNumberObject=te;function pe(P){return p(P,l)}t.isStringObject=pe;function D(P){return p(P,h)}t.isBooleanObject=D;function oe(P){return a&&p(P,f)}t.isBigIntObject=oe;function W(P){return s&&p(P,d)}t.isSymbolObject=W;function w(P){return te(P)||pe(P)||D(P)||oe(P)||W(P)}t.isBoxedPrimitive=w;function S(P){return typeof Uint8Array!="undefined"&&(V(P)||ae(P))}t.isAnyArrayBuffer=S,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(P){Object.defineProperty(t,P,{enumerable:!1,value:function(){throw new Error(P+" is not supported in userland")}})})}(Ql)),Ql}var fh,bg;function S_(){return bg||(bg=1,fh=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}),fh}var xg;function $R(){return xg||(xg=1,function(t){var e=Object.getOwnPropertyDescriptors||function(z){for(var q=Object.keys(z),se={},ae=0;ae=ae)return k;switch(k){case"%s":return String(se[q++]);case"%d":return Number(se[q++]);case"%j":try{return JSON.stringify(se[q++])}catch{return"[Circular]"}default:return k}}),X=se[q];q=3&&(q.depth=arguments[2]),arguments.length>=4&&(q.colors=arguments[3]),R(z)?q.showHidden=z:z&&t._extend(q,z),N(q.showHidden)&&(q.showHidden=!1),N(q.depth)&&(q.depth=2),N(q.colors)&&(q.colors=!1),N(q.customInspect)&&(q.customInspect=!0),q.colors&&(q.stylize=s),l(q,L,q.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(L,z){var q=a.styles[z];return q?"\x1B["+a.colors[q][0]+"m"+L+"\x1B["+a.colors[q][1]+"m":L}function c(L,z){return L}function u(L){var z={};return L.forEach(function(q,se){z[q]=!0}),z}function l(L,z,q){if(L.customInspect&&z&&T(z.inspect)&&z.inspect!==t.inspect&&!(z.constructor&&z.constructor.prototype===z)){var se=z.inspect(q,L);return _(se)||(se=l(L,se,q)),se}var ae=h(L,z);if(ae)return ae;var Y=Object.keys(z),X=u(Y);if(L.showHidden&&(Y=Object.getOwnPropertyNames(z)),ne(z)&&(Y.indexOf("message")>=0||Y.indexOf("description")>=0))return f(z);if(Y.length===0){if(T(z)){var k=z.name?": "+z.name:"";return L.stylize("[Function"+k+"]","special")}if(U(z))return L.stylize(RegExp.prototype.toString.call(z),"regexp");if(Q(z))return L.stylize(Date.prototype.toString.call(z),"date");if(ne(z))return f(z)}var G="",H=!1,te=["{","}"];if(y(z)&&(H=!0,te=["[","]"]),T(z)){var pe=z.name?": "+z.name:"";G=" [Function"+pe+"]"}if(U(z)&&(G=" "+RegExp.prototype.toString.call(z)),Q(z)&&(G=" "+Date.prototype.toUTCString.call(z)),ne(z)&&(G=" "+f(z)),Y.length===0&&(!H||z.length==0))return te[0]+G+te[1];if(q<0)return U(z)?L.stylize(RegExp.prototype.toString.call(z),"regexp"):L.stylize("[Object]","special");L.seen.push(z);var D;return H?D=d(L,z,q,X,Y):D=Y.map(function(oe){return p(L,z,q,X,oe,H)}),L.seen.pop(),g(D,G,te)}function h(L,z){if(N(z))return L.stylize("undefined","undefined");if(_(z)){var q="'"+JSON.stringify(z).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return L.stylize(q,"string")}if(x(z))return L.stylize(""+z,"number");if(R(z))return L.stylize(""+z,"boolean");if(m(z))return L.stylize("null","null")}function f(L){return"["+Error.prototype.toString.call(L)+"]"}function d(L,z,q,se,ae){for(var Y=[],X=0,k=z.length;X-1&&(Y?k=k.split(` `).map(function(H){return" "+H}).join(` `).slice(2):k=` `+k.split(` `).map(function(H){return" "+H}).join(` `))):k=L.stylize("[Circular]","special")),N(X)){if(Y&&ae.match(/^\d+$/))return k;X=JSON.stringify(""+ae),X.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(X=X.slice(1,-1),X=L.stylize(X,"name")):(X=X.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),X=L.stylize(X,"string"))}return X+": "+k}function g(L,z,q){var se=L.reduce(function(ae,Y){return Y.indexOf(` `)>=0,ae+Y.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?q[0]+(z===""?"":z+` `)+" "+L.join(`, `)+" "+q[1]:q[0]+z+" "+L.join(", ")+" "+q[1]}t.types=T_();function y(L){return Array.isArray(L)}t.isArray=y;function R(L){return typeof L=="boolean"}t.isBoolean=R;function m(L){return L===null}t.isNull=m;function v(L){return L==null}t.isNullOrUndefined=v;function x(L){return typeof L=="number"}t.isNumber=x;function _(L){return typeof L=="string"}t.isString=_;function E(L){return typeof L=="symbol"}t.isSymbol=E;function N(L){return L===void 0}t.isUndefined=N;function U(L){return O(L)&&b(L)==="[object RegExp]"}t.isRegExp=U,t.types.isRegExp=U;function O(L){return typeof L=="object"&&L!==null}t.isObject=O;function Q(L){return O(L)&&b(L)==="[object Date]"}t.isDate=Q,t.types.isDate=Q;function ne(L){return O(L)&&(b(L)==="[object Error]"||L instanceof Error)}t.isError=ne,t.types.isNativeError=ne;function T(L){return typeof L=="function"}t.isFunction=T;function I(L){return L===null||typeof L=="boolean"||typeof L=="number"||typeof L=="string"||typeof L=="symbol"||typeof L=="undefined"}t.isPrimitive=I,t.isBuffer=S_();function b(L){return Object.prototype.toString.call(L)}function M(L){return L<10?"0"+L.toString(10):L.toString(10)}var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var L=new Date,z=[M(L.getHours()),M(L.getMinutes()),M(L.getSeconds())].join(":");return[L.getDate(),C[L.getMonth()],z].join(" ")}t.log=function(){console.log("%s - %s",F(),t.format.apply(t,arguments))},t.inherits=xo,t._extend=function(L,z){if(!z||!O(z))return L;for(var q=Object.keys(z),se=q.length;se--;)L[q[se]]=z[q[se]];return L};function A(L,z){return Object.prototype.hasOwnProperty.call(L,z)}var B=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;t.promisify=function(z){if(typeof z!="function")throw new TypeError('The "original" argument must be of type Function');if(B&&z[B]){var q=z[B];if(typeof q!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(q,B,{value:q,enumerable:!1,writable:!1,configurable:!0}),q}function q(){for(var se,ae,Y=new Promise(function(G,H){se=G,ae=H}),X=[],k=0;k0?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 pm.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}))}}]),f}(),ph}var gh,Tg;function jR(){if(Tg)return gh;Tg=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 gh={destroy:t,undestroy:r,errorOrDestroy:o},gh}var mh={},Sg;function Ia(){if(Sg)return mh;Sg=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(f,d,p){return typeof c=="string"?c:c(f,d,p)}var h=function(f){t(d,f);function d(p,g,y){return f.call(this,l(p,g,y))||this}return d}(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 f=a(s,".")?"property":"argument";h='The "'.concat(s,'" ').concat(f," ").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"),mh.codes=e,mh}var Rh,Dg;function qR(){if(Dg)return Rh;Dg=1;var t=Ia().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 Rh={getHighWaterMark:n},Rh}var yh,_g;function __(){if(_g)return yh;_g=1,yh=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(!Kr.localStorage)return!1}catch{return!1}var r=Kr.localStorage[n];return r==null?!1:String(r).toLowerCase()==="true"}return yh}var vh,Og;function e2(){if(Og)return vh;Og=1,vh=U;function t(ae){var Y=this;this.next=null,this.entry=null,this.finish=function(){se(Y,ae)}}var e;U.WritableState=E;var n={deprecate:__()},r=QR(),i=Uu().Buffer,o=Kr.Uint8Array||function(){};function a(ae){return i.from(ae)}function s(ae){return i.isBuffer(ae)||ae instanceof o}var c=jR(),u=qR(),l=u.getHighWaterMark,h=Ia().codes,f=h.ERR_INVALID_ARG_TYPE,d=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;xo(U,r);function _(){}function E(ae,Y,X){e=e||pa(),ae=ae||{},typeof X!="boolean"&&(X=Y instanceof e),this.objectMode=!!ae.objectMode,X&&(this.objectMode=this.objectMode||!!ae.writableObjectMode),this.highWaterMark=l(this,ae,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var k=ae.decodeStrings===!1;this.decodeStrings=!k,this.defaultEncoding=ae.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(G){C(Y,G)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=ae.emitClose!==!1,this.autoDestroy=!!ae.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}E.prototype.getBuffer=function(){for(var Y=this.bufferedRequest,X=[];Y;)X.push(Y),Y=Y.next;return X},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(U,Symbol.hasInstance,{value:function(Y){return N.call(this,Y)?!0:this!==U?!1:Y&&Y._writableState instanceof E}})):N=function(Y){return Y instanceof this};function U(ae){e=e||pa();var Y=this instanceof e;if(!Y&&!N.call(U,this))return new U(ae);this._writableState=new E(ae,this,Y),this.writable=!0,ae&&(typeof ae.write=="function"&&(this._write=ae.write),typeof ae.writev=="function"&&(this._writev=ae.writev),typeof ae.destroy=="function"&&(this._destroy=ae.destroy),typeof ae.final=="function"&&(this._final=ae.final)),r.call(this)}U.prototype.pipe=function(){x(this,new g)};function O(ae,Y){var X=new m;x(ae,X),nt.nextTick(Y,X)}function Q(ae,Y,X,k){var G;return X===null?G=new R:typeof X!="string"&&!Y.objectMode&&(G=new f("chunk",["string","Buffer"],X)),G?(x(ae,G),nt.nextTick(k,G),!1):!0}U.prototype.write=function(ae,Y,X){var k=this._writableState,G=!1,H=!k.objectMode&&s(ae);return H&&!i.isBuffer(ae)&&(ae=a(ae)),typeof Y=="function"&&(X=Y,Y=null),H?Y="buffer":Y||(Y=k.defaultEncoding),typeof X!="function"&&(X=_),k.ending?O(this,X):(H||Q(this,k,ae,X))&&(k.pendingcb++,G=T(this,k,H,ae,Y,X)),G},U.prototype.cork=function(){this._writableState.corked++},U.prototype.uncork=function(){var ae=this._writableState;ae.corked&&(ae.corked--,!ae.writing&&!ae.corked&&!ae.bufferProcessing&&ae.bufferedRequest&&B(this,ae))},U.prototype.setDefaultEncoding=function(Y){if(typeof Y=="string"&&(Y=Y.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new v(Y);return this._writableState.defaultEncoding=Y,this},Object.defineProperty(U.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ne(ae,Y,X){return!ae.objectMode&&ae.decodeStrings!==!1&&typeof Y=="string"&&(Y=i.from(Y,X)),Y}Object.defineProperty(U.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function T(ae,Y,X,k,G,H){if(!X){var te=ne(Y,k,G);k!==te&&(X=!0,G="buffer",k=te)}var pe=Y.objectMode?1:k.length;Y.length+=pe;var D=Y.length>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=0?(_>0&&(R.lastNeed=_-1),_):--x=0?(_>0&&(R.lastNeed=_-2),_):--x=0?(_>0&&(_===2?_=0:R.lastNeed=_-3),_):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 f(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 d(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 xh}var wh,Fg;function pf(){if(Fg)return wh;Fg=1;var t=Ia().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;u0)if(typeof te!="string"&&!W.objectMode&&Object.getPrototypeOf(te)!==r.prototype&&(te=o(te)),D)W.endEmitted?_(H,new R):ne(H,W,te,!0);else if(W.ended)_(H,new g);else{if(W.destroyed)return!1;W.reading=!1,W.decoder&&!pe?(te=W.decoder.write(te),W.objectMode||te.length!==0?ne(H,W,te,!1):B(H,W)):ne(H,W,te,!1)}else D||(W.reading=!1,B(H,W))}return!W.ended&&(W.length=I?H=I:(H--,H|=H>>>1,H|=H>>>2,H|=H>>>4,H|=H>>>8,H|=H>>>16,H++),H}function M(H,te){return H<=0||te.length===0&&te.ended?0:te.objectMode?1:H!==H?te.flowing&&te.length?te.buffer.head.data.length:te.length:(H>te.highWaterMark&&(te.highWaterMark=b(H)),H<=te.length?H:te.ended?te.length:(te.needReadable=!0,0))}O.prototype.read=function(H){c("read",H),H=parseInt(H,10);var te=this._readableState,pe=H;if(H!==0&&(te.emittedReadable=!1),H===0&&te.needReadable&&((te.highWaterMark!==0?te.length>=te.highWaterMark:te.length>0)||te.ended))return c("read: emitReadable",te.length,te.ended),te.length===0&&te.ended?X(this):F(this),null;if(H=M(H,te),H===0&&te.ended)return te.length===0&&X(this),null;var D=te.needReadable;c("need readable",D),(te.length===0||te.length-H0?oe=Y(H,te):oe=null,oe===null?(te.needReadable=te.length<=te.highWaterMark,H=0):(te.length-=H,te.awaitDrain=0),te.length===0&&(te.ended||(te.needReadable=!0),pe!==H&&te.ended&&X(this)),oe!==null&&this.emit("data",oe),oe};function C(H,te){if(c("onEofChunk"),!te.ended){if(te.decoder){var pe=te.decoder.end();pe&&pe.length&&(te.buffer.push(pe),te.length+=te.objectMode?1:pe.length)}te.ended=!0,te.sync?F(H):(te.needReadable=!1,te.emittedReadable||(te.emittedReadable=!0,A(H)))}}function F(H){var te=H._readableState;c("emitReadable",te.needReadable,te.emittedReadable),te.needReadable=!1,te.emittedReadable||(c("emitReadable",te.flowing),te.emittedReadable=!0,nt.nextTick(A,H))}function A(H){var te=H._readableState;c("emitReadable_",te.destroyed,te.length,te.ended),!te.destroyed&&(te.length||te.ended)&&(H.emit("readable"),te.emittedReadable=!1),te.needReadable=!te.flowing&&!te.ended&&te.length<=te.highWaterMark,ae(H)}function B(H,te){te.readingMore||(te.readingMore=!0,nt.nextTick($,H,te))}function $(H,te){for(;!te.reading&&!te.ended&&(te.length1&&G(D.pipes,H)!==-1)&&!J&&(c("false write response, pause",D.awaitDrain),D.awaitDrain++),pe.pause())}function j(ve){c("onerror",ve),he(),H.removeListener("error",j),e(H,"error")===0&&_(H,ve)}N(H,"error",j);function re(){H.removeListener("finish",ce),he()}H.once("close",re);function ce(){c("onfinish"),H.removeListener("close",re),he()}H.once("finish",ce);function he(){c("unpipe"),pe.unpipe(H)}return H.emit("pipe",pe),D.flowing||(c("pipe resume"),pe.resume()),H};function V(H){return function(){var pe=H._readableState;c("pipeOnDrain",pe.awaitDrain),pe.awaitDrain&&pe.awaitDrain--,pe.awaitDrain===0&&e(H,"data")&&(pe.flowing=!0,ae(H))}}O.prototype.unpipe=function(H){var te=this._readableState,pe={hasUnpiped:!1};if(te.pipesCount===0)return this;if(te.pipesCount===1)return H&&H!==te.pipes?this:(H||(H=te.pipes),te.pipes=null,te.pipesCount=0,te.flowing=!1,H&&H.emit("unpipe",this,pe),this);if(!H){var D=te.pipes,oe=te.pipesCount;te.pipes=null,te.pipesCount=0,te.flowing=!1;for(var W=0;W0,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?F(this):D.reading||nt.nextTick(z,this)),pe},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(H,te){var pe=n.prototype.removeListener.call(this,H,te);return H==="readable"&&nt.nextTick(L,this),pe},O.prototype.removeAllListeners=function(H){var te=n.prototype.removeAllListeners.apply(this,arguments);return(H==="readable"||H===void 0)&&nt.nextTick(L,this),te};function L(H){var te=H._readableState;te.readableListening=H.listenerCount("readable")>0,te.resumeScheduled&&!te.paused?te.flowing=!0:H.listenerCount("data")>0&&H.resume()}function z(H){c("readable nexttick read 0"),H.read(0)}O.prototype.resume=function(){var H=this._readableState;return H.flowing||(c("resume"),H.flowing=!H.readableListening,q(this,H)),H.paused=!1,this};function q(H,te){te.resumeScheduled||(te.resumeScheduled=!0,nt.nextTick(se,H,te))}function se(H,te){c("resume",te.reading),te.reading||H.read(0),te.resumeScheduled=!1,H.emit("resume"),ae(H),te.flowing&&!te.reading&&H.read(0)}O.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 ae(H){var te=H._readableState;for(c("flow",te.flowing);te.flowing&&H.read()!==null;);}O.prototype.wrap=function(H){var te=this,pe=this._readableState,D=!1;H.on("end",function(){if(c("wrapped end"),pe.decoder&&!pe.ended){var w=pe.decoder.end();w&&w.length&&te.push(w)}te.push(null)}),H.on("data",function(w){if(c("wrapped data"),pe.decoder&&(w=pe.decoder.write(w)),!(pe.objectMode&&w==null)&&!(!pe.objectMode&&(!w||!w.length))){var S=te.push(w);S||(D=!0,H.pause())}});for(var oe in H)this[oe]===void 0&&typeof H[oe]=="function"&&(this[oe]=function(S){return function(){return H[S].apply(H,arguments)}}(oe));for(var W=0;W=te.length?(te.decoder?pe=te.buffer.join(""):te.buffer.length===1?pe=te.buffer.first():pe=te.buffer.concat(te.length),te.buffer.clear()):pe=te.buffer.consume(H,te.decoder),pe}function X(H){var te=H._readableState;c("endReadable",te.endEmitted),te.endEmitted||(te.ended=!0,nt.nextTick(k,te,H))}function k(H,te){if(c("endReadableNT",H.endEmitted,H.length),!H.endEmitted&&H.length===0&&(H.endEmitted=!0,te.readable=!1,te.emit("end"),H.autoDestroy)){var pe=te._writableState;(!pe||pe.autoDestroy&&pe.finished)&&te.destroy()}}typeof Symbol=="function"&&(O.from=function(H,te){return x===void 0&&(x=I_()),x(O,H,te)});function G(H,te){for(var pe=0,D=H.length;pe0;return s(m,x,_,function(E){y||(y=E),E&&R.forEach(c),!x&&(R.forEach(c),g(y))})});return d.reduce(u)}return Eh=h,Eh}var gf=Or,mf=lf.EventEmitter,P_=xo;P_(Or,mf);Or.Readable=t2();Or.Writable=e2();Or.Duplex=pa();Or.Transform=n2();Or.PassThrough=N_();Or.finished=pf();Or.pipeline=F_();Or.Stream=Or;function Or(){mf.call(this)}Or.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(),mf.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(Y,X){return new r(Y,X)},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(Y,X){if(!(this instanceof r))return new r(Y,X);var k=this;o(k),k.q=k.c="",k.bufferCheckPosition=e.MAX_BUFFER_LENGTH,k.opt=X||{},k.opt.lowercase=k.opt.lowercase||k.opt.lowercasetags,k.looseCase=k.opt.lowercase?"toLowerCase":"toUpperCase",k.tags=[],k.closed=k.closedRoot=k.sawRoot=!1,k.tag=k.error=null,k.strict=!!Y,k.noscript=!!(Y||k.opt.noscript),k.state=O.BEGIN,k.strictEntities=k.opt.strictEntities,k.ENTITIES=k.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),k.attribList=[],k.opt.xmlns&&(k.ns=Object.create(g)),k.trackPosition=k.opt.position!==!1,k.trackPosition&&(k.position=k.line=k.column=0),ne(k,"onready")}Object.create||(Object.create=function(Y){function X(){}X.prototype=Y;var k=new X;return k}),Object.keys||(Object.keys=function(Y){var X=[];for(var k in Y)Y.hasOwnProperty(k)&&X.push(k);return X});function i(Y){for(var X=Math.max(e.MAX_BUFFER_LENGTH,10),k=0,G=0,H=n.length;GX)switch(n[G]){case"textNode":I(Y);break;case"cdata":T(Y,"oncdata",Y.cdata),Y.cdata="";break;case"script":T(Y,"onscript",Y.script),Y.script="";break;default:M(Y,"Max buffer length exceeded: "+n[G])}k=Math.max(k,te)}var pe=e.MAX_BUFFER_LENGTH-k;Y.bufferCheckPosition=pe+Y.position}function o(Y){for(var X=0,k=n.length;X"||x(Y)}function N(Y,X){return Y.test(X)}function U(Y,X){return!N(Y,X)}var O=0;e.STATE={BEGIN:O++,BEGIN_WHITESPACE:O++,TEXT:O++,TEXT_ENTITY:O++,OPEN_WAKA:O++,SGML_DECL:O++,SGML_DECL_QUOTED:O++,DOCTYPE:O++,DOCTYPE_QUOTED:O++,DOCTYPE_DTD:O++,DOCTYPE_DTD_QUOTED:O++,COMMENT_STARTING:O++,COMMENT:O++,COMMENT_ENDING:O++,COMMENT_ENDED:O++,CDATA:O++,CDATA_ENDING:O++,CDATA_ENDING_2:O++,PROC_INST:O++,PROC_INST_BODY:O++,PROC_INST_ENDING:O++,OPEN_TAG:O++,OPEN_TAG_SLASH:O++,ATTRIB:O++,ATTRIB_NAME:O++,ATTRIB_NAME_SAW_WHITE:O++,ATTRIB_VALUE:O++,ATTRIB_VALUE_QUOTED:O++,ATTRIB_VALUE_CLOSED:O++,ATTRIB_VALUE_UNQUOTED:O++,ATTRIB_VALUE_ENTITY_Q:O++,ATTRIB_VALUE_ENTITY_U:O++,CLOSE_TAG:O++,CLOSE_TAG_SAW_WHITE:O++,SCRIPT:O++,SCRIPT_ENDING:O++},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(Y){var X=e.ENTITIES[Y],k=typeof X=="number"?String.fromCharCode(X):X;e.ENTITIES[Y]=k});for(var Q in e.STATE)e.STATE[e.STATE[Q]]=Q;O=e.STATE;function ne(Y,X,k){Y[X]&&Y[X](k)}function T(Y,X,k){Y.textNode&&I(Y),ne(Y,X,k)}function I(Y){Y.textNode=b(Y.opt,Y.textNode),Y.textNode&&ne(Y,"ontext",Y.textNode),Y.textNode=""}function b(Y,X){return Y.trim&&(X=X.trim()),Y.normalize&&(X=X.replace(/\s+/g," ")),X}function M(Y,X){return I(Y),Y.trackPosition&&(X+=` Line: `+Y.line+` Column: `+Y.column+` Char: `+Y.c),X=new Error(X),Y.error=X,ne(Y,"onerror",X),Y}function C(Y){return Y.sawRoot&&!Y.closedRoot&&F(Y,"Unclosed root tag"),Y.state!==O.BEGIN&&Y.state!==O.BEGIN_WHITESPACE&&Y.state!==O.TEXT&&M(Y,"Unexpected end"),I(Y),Y.c="",Y.closed=!0,ne(Y,"onend"),r.call(Y,Y.strict,Y.opt),Y}function F(Y,X){if(typeof Y!="object"||!(Y instanceof r))throw new Error("bad call to strictFail");Y.strict&&M(Y,X)}function A(Y){Y.strict||(Y.tagName=Y.tagName[Y.looseCase]());var X=Y.tags[Y.tags.length-1]||Y,k=Y.tag={name:Y.tagName,attributes:{}};Y.opt.xmlns&&(k.ns=X.ns),Y.attribList.length=0,T(Y,"onopentagstart",k)}function B(Y,X){var k=Y.indexOf(":"),G=k<0?["",Y]:Y.split(":"),H=G[0],te=G[1];return X&&Y==="xmlns"&&(H="xmlns",te=""),{prefix:H,local:te}}function $(Y){if(Y.strict||(Y.attribName=Y.attribName[Y.looseCase]()),Y.attribList.indexOf(Y.attribName)!==-1||Y.tag.attributes.hasOwnProperty(Y.attribName)){Y.attribName=Y.attribValue="";return}if(Y.opt.xmlns){var X=B(Y.attribName,!0),k=X.prefix,G=X.local;if(k==="xmlns")if(G==="xml"&&Y.attribValue!==d)F(Y,"xml: prefix must be bound to "+d+` Actual: `+Y.attribValue);else if(G==="xmlns"&&Y.attribValue!==p)F(Y,"xmlns: prefix must be bound to "+p+` Actual: `+Y.attribValue);else{var H=Y.tag,te=Y.tags[Y.tags.length-1]||Y;H.ns===te.ns&&(H.ns=Object.create(te.ns)),H.ns[G]=Y.attribValue}Y.attribList.push([Y.attribName,Y.attribValue])}else Y.tag.attributes[Y.attribName]=Y.attribValue,T(Y,"onattribute",{name:Y.attribName,value:Y.attribValue});Y.attribName=Y.attribValue=""}function V(Y,X){if(Y.opt.xmlns){var k=Y.tag,G=B(Y.tagName);k.prefix=G.prefix,k.local=G.local,k.uri=k.ns[G.prefix]||"",k.prefix&&!k.uri&&(F(Y,"Unbound namespace prefix: "+JSON.stringify(Y.tagName)),k.uri=G.prefix);var H=Y.tags[Y.tags.length-1]||Y;k.ns&&H.ns!==k.ns&&Object.keys(k.ns).forEach(function(K){T(Y,"onopennamespace",{prefix:K,uri:k.ns[K]})});for(var te=0,pe=Y.attribList.length;te",Y.tagName="",Y.state=O.SCRIPT;return}T(Y,"onscript",Y.script),Y.script=""}var X=Y.tags.length,k=Y.tagName;Y.strict||(k=k[Y.looseCase]());for(var G=k;X--;){var H=Y.tags[X];if(H.name!==G)F(Y,"Unexpected close tag");else break}if(X<0){F(Y,"Unmatched closing tag: "+Y.tagName),Y.textNode+="",Y.state=O.TEXT;return}Y.tagName=k;for(var te=Y.tags.length;te-- >X;){var pe=Y.tag=Y.tags.pop();Y.tagName=Y.tag.name,T(Y,"onclosetag",Y.tagName);var D={};for(var oe in pe.ns)D[oe]=pe.ns[oe];var W=Y.tags[Y.tags.length-1]||Y;Y.opt.xmlns&&pe.ns!==W.ns&&Object.keys(pe.ns).forEach(function(w){var S=pe.ns[w];T(Y,"onclosenamespace",{prefix:w,uri:S})})}X===0&&(Y.closedRoot=!0),Y.tagName=Y.attribValue=Y.attribName="",Y.attribList.length=0,Y.state=O.TEXT}function z(Y){var X=Y.entity,k=X.toLowerCase(),G,H="";return Y.ENTITIES[X]?Y.ENTITIES[X]:Y.ENTITIES[k]?Y.ENTITIES[k]:(X=k,X.charAt(0)==="#"&&(X.charAt(1)==="x"?(X=X.slice(2),G=parseInt(X,16),H=G.toString(16)):(X=X.slice(1),G=parseInt(X,10),H=G.toString(10))),X=X.replace(/^0+/,""),isNaN(G)||H.toLowerCase()!==X?(F(Y,"Invalid character entity"),"&"+Y.entity+";"):String.fromCodePoint(G))}function q(Y,X){X==="<"?(Y.state=O.OPEN_WAKA,Y.startTagPosition=Y.position):x(X)||(F(Y,"Non-whitespace before first tag."),Y.textNode=X,Y.state=O.TEXT)}function se(Y,X){var k="";return X"?(T(X,"onsgmldeclaration",X.sgmlDecl),X.sgmlDecl="",X.state=O.TEXT):(_(G)&&(X.state=O.SGML_DECL_QUOTED),X.sgmlDecl+=G);continue;case O.SGML_DECL_QUOTED:G===X.q&&(X.state=O.SGML_DECL,X.q=""),X.sgmlDecl+=G;continue;case O.DOCTYPE:G===">"?(X.state=O.TEXT,T(X,"ondoctype",X.doctype),X.doctype=!0):(X.doctype+=G,G==="["?X.state=O.DOCTYPE_DTD:_(G)&&(X.state=O.DOCTYPE_QUOTED,X.q=G));continue;case O.DOCTYPE_QUOTED:X.doctype+=G,G===X.q&&(X.q="",X.state=O.DOCTYPE);continue;case O.DOCTYPE_DTD:X.doctype+=G,G==="]"?X.state=O.DOCTYPE:_(G)&&(X.state=O.DOCTYPE_DTD_QUOTED,X.q=G);continue;case O.DOCTYPE_DTD_QUOTED:X.doctype+=G,G===X.q&&(X.state=O.DOCTYPE_DTD,X.q="");continue;case O.COMMENT:G==="-"?X.state=O.COMMENT_ENDING:X.comment+=G;continue;case O.COMMENT_ENDING:G==="-"?(X.state=O.COMMENT_ENDED,X.comment=b(X.opt,X.comment),X.comment&&T(X,"oncomment",X.comment),X.comment=""):(X.comment+="-"+G,X.state=O.COMMENT);continue;case O.COMMENT_ENDED:G!==">"?(F(X,"Malformed comment"),X.comment+="--"+G,X.state=O.COMMENT):X.state=O.TEXT;continue;case O.CDATA:G==="]"?X.state=O.CDATA_ENDING:X.cdata+=G;continue;case O.CDATA_ENDING:G==="]"?X.state=O.CDATA_ENDING_2:(X.cdata+="]"+G,X.state=O.CDATA);continue;case O.CDATA_ENDING_2:G===">"?(X.cdata&&T(X,"oncdata",X.cdata),T(X,"onclosecdata"),X.cdata="",X.state=O.TEXT):G==="]"?X.cdata+="]":(X.cdata+="]]"+G,X.state=O.CDATA);continue;case O.PROC_INST:G==="?"?X.state=O.PROC_INST_ENDING:x(G)?X.state=O.PROC_INST_BODY:X.procInstName+=G;continue;case O.PROC_INST_BODY:if(!X.procInstBody&&x(G))continue;G==="?"?X.state=O.PROC_INST_ENDING:X.procInstBody+=G;continue;case O.PROC_INST_ENDING:G===">"?(T(X,"onprocessinginstruction",{name:X.procInstName,body:X.procInstBody}),X.procInstName=X.procInstBody="",X.state=O.TEXT):(X.procInstBody+="?"+G,X.state=O.PROC_INST_BODY);continue;case O.OPEN_TAG:N(R,G)?X.tagName+=G:(A(X),G===">"?V(X):G==="/"?X.state=O.OPEN_TAG_SLASH:(x(G)||F(X,"Invalid character in tag name"),X.state=O.ATTRIB));continue;case O.OPEN_TAG_SLASH:G===">"?(V(X,!0),L(X)):(F(X,"Forward-slash in opening tag not followed by >"),X.state=O.ATTRIB);continue;case O.ATTRIB:if(x(G))continue;G===">"?V(X):G==="/"?X.state=O.OPEN_TAG_SLASH:N(y,G)?(X.attribName=G,X.attribValue="",X.state=O.ATTRIB_NAME):F(X,"Invalid attribute name");continue;case O.ATTRIB_NAME:G==="="?X.state=O.ATTRIB_VALUE:G===">"?(F(X,"Attribute without value"),X.attribValue=X.attribName,$(X),V(X)):x(G)?X.state=O.ATTRIB_NAME_SAW_WHITE:N(R,G)?X.attribName+=G:F(X,"Invalid attribute name");continue;case O.ATTRIB_NAME_SAW_WHITE:if(G==="=")X.state=O.ATTRIB_VALUE;else{if(x(G))continue;F(X,"Attribute without value"),X.tag.attributes[X.attribName]="",X.attribValue="",T(X,"onattribute",{name:X.attribName,value:""}),X.attribName="",G===">"?V(X):N(y,G)?(X.attribName=G,X.state=O.ATTRIB_NAME):(F(X,"Invalid attribute name"),X.state=O.ATTRIB)}continue;case O.ATTRIB_VALUE:if(x(G))continue;_(G)?(X.q=G,X.state=O.ATTRIB_VALUE_QUOTED):(F(X,"Unquoted attribute value"),X.state=O.ATTRIB_VALUE_UNQUOTED,X.attribValue=G);continue;case O.ATTRIB_VALUE_QUOTED:if(G!==X.q){G==="&"?X.state=O.ATTRIB_VALUE_ENTITY_Q:X.attribValue+=G;continue}$(X),X.q="",X.state=O.ATTRIB_VALUE_CLOSED;continue;case O.ATTRIB_VALUE_CLOSED:x(G)?X.state=O.ATTRIB:G===">"?V(X):G==="/"?X.state=O.OPEN_TAG_SLASH:N(y,G)?(F(X,"No whitespace between attributes"),X.attribName=G,X.attribValue="",X.state=O.ATTRIB_NAME):F(X,"Invalid attribute name");continue;case O.ATTRIB_VALUE_UNQUOTED:if(!E(G)){G==="&"?X.state=O.ATTRIB_VALUE_ENTITY_U:X.attribValue+=G;continue}$(X),G===">"?V(X):X.state=O.ATTRIB;continue;case O.CLOSE_TAG:if(X.tagName)G===">"?L(X):N(R,G)?X.tagName+=G:X.script?(X.script+=""?L(X):F(X,"Invalid characters in closing tag");continue;case O.TEXT_ENTITY:case O.ATTRIB_VALUE_ENTITY_Q:case O.ATTRIB_VALUE_ENTITY_U:var pe,D;switch(X.state){case O.TEXT_ENTITY:pe=O.TEXT,D="textNode";break;case O.ATTRIB_VALUE_ENTITY_Q:pe=O.ATTRIB_VALUE_QUOTED,D="attribValue";break;case O.ATTRIB_VALUE_ENTITY_U:pe=O.ATTRIB_VALUE_UNQUOTED,D="attribValue";break}G===";"?(X[D]+=z(X),X.entity="",X.state=pe):N(X.entity.length?v:m,G)?X.entity+=G:(F(X,"Invalid character in entity name"),X[D]+="&"+X.entity+G,X.entity="",X.state=pe);continue;default:throw new Error(X,"Unknown state: "+X.state)}return X.position>=X.bufferCheckPosition&&i(X),X}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Y=String.fromCharCode,X=Math.floor,k=function(){var G=16384,H=[],te,pe,D=-1,oe=arguments.length;if(!oe)return"";for(var W="";++D1114111||X(w)!==w)throw RangeError("Invalid code point: "+w);w<=65535?H.push(w):(w-=65536,te=(w>>10)+55296,pe=w%1024+56320,H.push(te,pe)),(D+1===oe||H.length>G)&&(W+=Y.apply(null,H),H.length=0)}return W};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:k,configurable:!0,writable:!0}):String.fromCodePoint=k}()})(t)})(PR);var Rf={isArray:function(t){return Array.isArray?Array.isArray(t):Object.prototype.toString.call(t)==="[object Array]"}},L_=Rf.isArray,yf={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"&&!L_(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}},M_=PR,wt=yf,ca=Rf.isArray,Te,je;function C_(t){return Te=wt.copyOptions(t),wt.ensureFlagExists("ignoreDeclaration",Te),wt.ensureFlagExists("ignoreInstruction",Te),wt.ensureFlagExists("ignoreAttributes",Te),wt.ensureFlagExists("ignoreText",Te),wt.ensureFlagExists("ignoreComment",Te),wt.ensureFlagExists("ignoreCdata",Te),wt.ensureFlagExists("ignoreDoctype",Te),wt.ensureFlagExists("compact",Te),wt.ensureFlagExists("alwaysChildren",Te),wt.ensureFlagExists("addParent",Te),wt.ensureFlagExists("trim",Te),wt.ensureFlagExists("nativeType",Te),wt.ensureFlagExists("nativeTypeAttributes",Te),wt.ensureFlagExists("sanitize",Te),wt.ensureFlagExists("instructionHasAttributes",Te),wt.ensureFlagExists("captureSpacesBetweenElements",Te),wt.ensureAlwaysArrayExists(Te),wt.ensureKeyExists("declaration",Te),wt.ensureKeyExists("instruction",Te),wt.ensureKeyExists("attributes",Te),wt.ensureKeyExists("text",Te),wt.ensureKeyExists("comment",Te),wt.ensureKeyExists("cdata",Te),wt.ensureKeyExists("doctype",Te),wt.ensureKeyExists("type",Te),wt.ensureKeyExists("name",Te),wt.ensureKeyExists("elements",Te),wt.ensureKeyExists("parent",Te),Te}function r2(t){var e=Number(t);if(!isNaN(e))return e;var n=t.toLowerCase();return n==="true"?!0:n==="false"?!1:t}function Ws(t,e){var n;if(Te.compact){if(!je[Te[t+"Key"]]&&(ca(Te.alwaysArray)?Te.alwaysArray.indexOf(Te[t+"Key"])!==-1:Te.alwaysArray)&&(je[Te[t+"Key"]]=[]),je[Te[t+"Key"]]&&!ca(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}}ca(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 i2(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]=r2(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 A_(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=i2(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,Ws("instruction",i)}}function U_(t,e){var n;if(typeof t=="object"&&(e=t.attributes,t=t.name),e=i2(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)&&(ca(Te.alwaysArray)?Te.alwaysArray.indexOf(t)!==-1:Te.alwaysArray)&&(je[t]=[]),je[t]&&!ca(je[t])&&(je[t]=[je[t]]),ca(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 W_(t){Te.ignoreText||!t.trim()&&!Te.captureSpacesBetweenElements||(Te.trim&&(t=t.trim()),Te.nativeType&&(t=r2(t)),Te.sanitize&&(t=t.replace(/&/g,"&").replace(//g,">")),Ws("text",t))}function X_(t){Te.ignoreComment||(Te.trim&&(t=t.trim()),Ws("comment",t))}function V_(t){var e=je[Te.parentKey];Te.addParent||delete je[Te.parentKey],je=e}function Y_(t){Te.ignoreCdata||(Te.trim&&(t=t.trim()),Ws("cdata",t))}function B_(t){Te.ignoreDoctype||(t=t.replace(/^ /,""),Te.trim&&(t=t.trim()),Ws("doctype",t))}function k_(t){t.note=t}var o2=function(t,e){var n=M_.parser(!0,{}),r={};if(je=r,Te=C_(e),n.opt={strictEntities:!0},n.onopentag=U_,n.ontext=W_,n.oncomment=X_,n.onclosetag=V_,n.onerror=k_,n.oncdata=Y_,n.ondoctype=B_,n.onprocessinginstruction=A_,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},Wg=yf,Z_=o2;function Q_(t){var e=Wg.copyOptions(t);return Wg.ensureSpacesExists(e),e}var K_=function(t,e){var n,r,i,o;return n=Q_(e),r=Z_(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")},Ft=yf,H_=Rf.isArray,Nn,Fn;function G_(t){var e=Ft.copyOptions(t);return Ft.ensureFlagExists("ignoreDeclaration",e),Ft.ensureFlagExists("ignoreInstruction",e),Ft.ensureFlagExists("ignoreAttributes",e),Ft.ensureFlagExists("ignoreText",e),Ft.ensureFlagExists("ignoreComment",e),Ft.ensureFlagExists("ignoreCdata",e),Ft.ensureFlagExists("ignoreDoctype",e),Ft.ensureFlagExists("compact",e),Ft.ensureFlagExists("indentText",e),Ft.ensureFlagExists("indentCdata",e),Ft.ensureFlagExists("indentAttributes",e),Ft.ensureFlagExists("indentInstruction",e),Ft.ensureFlagExists("fullTagEmptyElement",e),Ft.ensureFlagExists("noQuotesForNativeAttributes",e),Ft.ensureSpacesExists(e),typeof e.spaces=="number"&&(e.spaces=Array(e.spaces+1).join(" ")),Ft.ensureKeyExists("declaration",e),Ft.ensureKeyExists("instruction",e),Ft.ensureKeyExists("attributes",e),Ft.ensureKeyExists("text",e),Ft.ensureKeyExists("comment",e),Ft.ensureKeyExists("cdata",e),Ft.ensureKeyExists("doctype",e),Ft.ensureKeyExists("type",e),Ft.ensureKeyExists("name",e),Ft.ensureKeyExists("elements",e),e}function Zr(t,e,n){return(!n&&t.spaces?` `:"")+Array(e+1).join(t.spaces)}function Wu(t,e,n){if(e.ignoreAttributes)return"";"attributesFn"in e&&(t=e.attributesFn(t,Fn,Nn));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,Fn,Nn):r,s.push(e.spaces&&e.indentAttributes?Zr(e,n+1,!1):" "),s.push(o+"="+a+("attributeValueFn"in e?e.attributeValueFn(i,r,Fn,Nn):i)+a));return t&&Object.keys(t).length&&e.spaces&&e.indentAttributes&&s.push(Zr(e,n,!1)),s.join("")}function a2(t,e,n){return Nn=t,Fn="xml",e.ignoreDeclaration?"":""}function s2(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],Fn,Nn):r;if(typeof t[r]=="object")return Nn=t,Fn=i,"";var o=t[r]?t[r]:"";return"instructionFn"in e&&(o=e.instructionFn(o,r,Fn,Nn)),""}function c2(t,e){return e.ignoreComment?"":""}function u2(t,e){return e.ignoreCdata?"":"","]]]]>"))+"]]>"}function l2(t,e){return e.ignoreDoctype?"":""}function vf(t,e){return e.ignoreText?"":(t=""+t,t=t.replace(/&/g,"&"),t=t.replace(/&/g,"&").replace(//g,">"),"textFn"in e?e.textFn(t,Fn,Nn):t)}function J_(t,e){var n;if(t.elements&&t.elements.length)for(n=0;n"),t[e.elementsKey]&&t[e.elementsKey].length&&(r.push(h2(t[e.elementsKey],e,n+1)),Nn=t,Fn=t.name),r.push(e.spaces&&J_(t,e)?` `+Array(n+1).join(e.spaces):""),r.push("")):r.push("/>"),r.join("")}function h2(t,e,n,r){return t.reduce(function(i,o){var a=Zr(e,n,r&&!i);switch(o.type){case"element":return i+a+z_(o,e,n);case"comment":return i+a+c2(o[e.commentKey],e);case"doctype":return i+a+l2(o[e.doctypeKey],e);case"cdata":return i+(e.indentCdata?a:"")+u2(o[e.cdataKey],e);case"text":return i+(e.indentText?a:"")+vf(o[e.textKey],e);case"instruction":var s={};return s[o[e.nameKey]]=o[e.attributesKey]?o:o[e.instructionKey],i+(e.indentInstruction?a:"")+s2(s,e,n)}},"")}function d2(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 $_(t,e,n,r,i){Nn=t,Fn=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+"/>";var a=[];if(e){if(a.push("<"+o),typeof t!="object")return a.push(">"+vf(t,n)+""),a.join("");t[n.attributesKey]&&a.push(Wu(t[n.attributesKey],n,r));var s=d2(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(f2(t,n,r+1,!1)),Nn=t,Fn=e,e&&a.push((i?Zr(n,r,!1):"")+""),a.join("")}function f2(t,e,n,r){var i,o,a,s=[];for(o in t)if(t.hasOwnProperty(o))for(a=H_(t[o])?t[o]:[t[o]],i=0;i{switch(t.type){case void 0:case"element":const e=new oO(t.name,t.attributes),n=t.elements||[];for(const r of n){const i=bf(r);i!==void 0&&e.push(i)}return e;case"text":return t.text;default:return}};class iO extends Ue{}class oO extends be{static fromXmlString(e){const n=g2.xml2js(e,{compact:!1});return bf(n)}constructor(e,n){super(e),n&&this.root.push(new iO(n))}push(e){this.root.push(e)}}class aO extends be{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}}class m2 extends be{constructor(e,n){super(e),n&&(this.root=n.root)}}const Pn=t=>{if(isNaN(t))throw new Error(`Invalid value '${t}' specified. Must be an integer.`);return Math.floor(t)},Xu=t=>{const e=Pn(t);if(e<0)throw new Error(`Invalid value '${t}' specified. Must be a positive integer.`);return e},R2=(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},Xg=t=>R2(t,1),xf=t=>{const e=t.slice(-2),n=t.substring(0,t.length-2);return`${Number(n)}${e}`},y2=t=>{const e=xf(t);if(parseFloat(e)<0)throw new Error(`Invalid value '${e}' specified. Expected a positive number.`);return e},ga=t=>{if(t==="auto")return t;const e=t.charAt(0)==="#"?t.substring(1):t;return R2(e,3)},di=t=>typeof t=="string"?xf(t):Pn(t),sO=t=>typeof t=="string"?y2(t):Xu(t),Tn=t=>typeof t=="string"?y2(t):Xu(t),cO=t=>{const e=t.substring(0,t.length-1);return`${Number(e)}%`},uO=t=>typeof t=="number"?Pn(t):t.slice(-1)==="%"?cO(t):xf(t),lO=Xu,hO=Xu,dO=t=>t.toISOString();class Ne extends be{constructor(e,n=!0){super(e),n!==!0&&this.root.push(new Qt({val:n}))}}class Ih extends be{constructor(e,n){super(e),this.root.push(new Qt({val:sO(n)}))}}class fO extends be{}class po extends be{constructor(e,n){super(e),this.root.push(new Qt({val:n}))}}const za=(t,e)=>new Ln({name:t,attributes:{value:{key:"w:val",value:e}}});class wf extends be{constructor(e,n){super(e),this.root.push(new Qt({val:n}))}}class pO extends be{constructor(e,n){super(e),this.root.push(new Qt({val:n}))}}class eo extends be{constructor(e,n){super(e),this.root.push(n)}}class Ln extends be{constructor({name:e,attributes:n,children:r}){super(e),n&&this.root.push(new bi(n)),r&&this.root.push(...r)}}const Vr={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 gO extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class v2 extends be{constructor(e){super("w:jc"),this.root.push(new gO({val:e}))}}class Ot extends be{constructor(e,{color:n,size:r,space:i,style:o}){super(e),this.root.push(new mO({style:o,color:n===void 0?void 0:ga(n),size:r===void 0?void 0:lO(r),space:i===void 0?void 0:hO(i)}))}}class mO extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}const Tf={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 RO extends vi{constructor(e){super("w:pBdr"),e.top&&this.root.push(new Ot("w:top",e.top)),e.bottom&&this.root.push(new Ot("w:bottom",e.bottom)),e.left&&this.root.push(new Ot("w:left",e.left)),e.right&&this.root.push(new Ot("w:right",e.right))}}class yO extends be{constructor(){super("w:pBdr");const e=new Ot("w:bottom",{color:"auto",space:1,style:Tf.SINGLE,size:6});this.root.push(e)}}class vO extends be{constructor({start:e,end:n,left:r,right:i,hanging:o,firstLine:a}){super("w:ind"),this.root.push(new bi({start:{key:"w:start",value:e===void 0?void 0:di(e)},end:{key:"w:end",value:n===void 0?void 0:di(n)},left:{key:"w:left",value:r===void 0?void 0:di(r)},right:{key:"w:right",value:i===void 0?void 0:di(i)},hanging:{key:"w:hanging",value:o===void 0?void 0:Tn(o)},firstLine:{key:"w:firstLine",value:a===void 0?void 0:Tn(a)}}))}}let bO=class extends be{constructor(){super("w:br")}};const Sf={BEGIN:"begin",END:"end",SEPARATE:"separate"};class Df extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{type:"w:fldCharType",dirty:"w:dirty"})}}class Ec extends be{constructor(e){super("w:fldChar"),this.root.push(new Df({type:Sf.BEGIN,dirty:e}))}}class Ic extends be{constructor(e){super("w:fldChar"),this.root.push(new Df({type:Sf.SEPARATE,dirty:e}))}}class Nc extends be{constructor(e){super("w:fldChar"),this.root.push(new Df({type:Sf.END,dirty:e}))}}const ma={DEFAULT:"default",PRESERVE:"preserve"};class Ra extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{space:"xml:space"})}}class xO extends be{constructor(){super("w:instrText"),this.root.push(new Ra({space:ma.PRESERVE})),this.root.push("PAGE")}}class wO extends be{constructor(){super("w:instrText"),this.root.push(new Ra({space:ma.PRESERVE})),this.root.push("NUMPAGES")}}class TO extends be{constructor(){super("w:instrText"),this.root.push(new Ra({space:ma.PRESERVE})),this.root.push("SECTIONPAGES")}}class SO extends be{constructor(){super("w:instrText"),this.root.push(new Ra({space:ma.PRESERVE})),this.root.push("SECTION")}}class DO extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{fill:"w:fill",color:"w:color",type:"w:val"})}}class Vu extends be{constructor({fill:e,color:n,type:r}){super("w:shd"),this.root.push(new DO({fill:e===void 0?void 0:ga(e),color:n===void 0?void 0:ga(n),type:r}))}}class _O extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}const OO={DOT:"dot"};class EO extends be{constructor(e){super("w:em"),this.root.push(new Qt({val:e}))}}class IO extends EO{constructor(e=OO.DOT){super(e)}}class NO extends be{constructor(e){super("w:spacing"),this.root.push(new Qt({val:di(e)}))}}class FO extends be{constructor(e){super("w:color"),this.root.push(new Qt({val:ga(e)}))}}class PO extends be{constructor(e){super("w:highlight"),this.root.push(new Qt({val:e}))}}class LO extends be{constructor(e){super("w:highlightCs"),this.root.push(new Qt({val:e}))}}const MO=t=>new Ln({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 Vg extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"})}}class Nh extends be{constructor(e,n){if(super("w:rFonts"),typeof e=="string"){const r=e;this.root.push(new Vg({ascii:r,cs:r,eastAsia:r,hAnsi:r,hint:n}))}else{const r=e;this.root.push(new Vg(r))}}}let b2=class extends be{constructor(e){super("w:vertAlign"),this.root.push(new Qt({val:e}))}};class CO extends b2{constructor(){super("superscript")}}class AO extends b2{constructor(){super("subscript")}}const x2={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 UO extends be{constructor(e=x2.SINGLE,n){super("w:u"),this.root.push(new Qt({val:e,color:n===void 0?void 0:ga(n)}))}}class wo extends vi{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 UO(e.underline.type,e.underline.color)),e.effect&&this.push(new po("w:effect",e.effect)),e.emphasisMark&&this.push(new IO(e.emphasisMark.type)),e.color&&this.push(new FO(e.color)),e.kern&&this.push(new Ih("w:kern",e.kern)),e.position&&this.push(new po("w:position",e.position)),e.size!==void 0&&this.push(new Ih("w:sz",e.size));const i=e.sizeComplexScript===void 0||e.sizeComplexScript===!0?e.size:e.sizeComplexScript;i&&this.push(new Ih("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 AO),e.superScript&&this.push(new CO),e.style&&this.push(new po("w:rStyle",e.style)),e.font&&(typeof e.font=="string"?this.push(new Nh(e.font)):"name"in e.font?this.push(new Nh(e.font.name,e.font.hint)):this.push(new Nh(e.font))),e.highlight&&this.push(new PO(e.highlight));const o=e.highlightComplexScript===void 0||e.highlightComplexScript===!0?e.highlight:e.highlightComplexScript;o&&this.push(new LO(o)),e.characterSpacing&&this.push(new NO(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 Vu(e.shading)),e.revision&&this.push(new WO(e.revision)),e.border&&this.push(new Ot("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 wf("w:w",e.scale)),e.language&&this.push(MO(e.language)),e.math&&this.push(new Ne("w:oMath",e.math))}push(e){this.root.push(e)}}class WO extends be{constructor(e){super("w:rPrChange"),this.root.push(new _O({id:e.id,author:e.author,date:e.date})),this.addChildElement(new wo(e))}}class Dd extends be{constructor(e){var n;return super("w:t"),typeof e=="string"?(this.root.push(new Ra({space:ma.PRESERVE})),this.root.push(e),this):(this.root.push(new Ra({space:(n=e.space)!=null?n:ma.DEFAULT})),this.root.push(e.text),this)}}const Fc={CURRENT:"CURRENT",TOTAL_PAGES:"TOTAL_PAGES",TOTAL_PAGES_IN_SECTION:"TOTAL_PAGES_IN_SECTION",CURRENT_SECTION:"SECTION"};class Xs extends be{constructor(e){if(super("w:r"),xe(this,"properties"),this.properties=new wo(e),this.root.push(this.properties),e.break)for(let n=0;n(n=e)=>{let r="",i=n;for(;i--;)r+=t[Math.random()*t.length|0];return r},YO=(t=21)=>{let e="",n=t;for(;n--;)e+=XO[Math.random()*64|0];return e};const Ir=t=>Math.floor(t*72*20),Yu=(t=0)=>{let e=t;return()=>++e},BO=()=>Yu(),kO=()=>Yu(1),ZO=()=>Yu(),QO=()=>Yu(),w2=()=>YO().toLowerCase(),$a=t=>VO("1234567890abcdef",t)(),KO=()=>`${$a(8)}-${$a(4)}-${$a(4)}-${$a(4)}-${$a(12)}`,HO={CHARACTER:"character",COLUMN:"column",INSIDE_MARGIN:"insideMargin",LEFT_MARGIN:"leftMargin",MARGIN:"margin",OUTSIDE_MARGIN:"outsideMargin",PAGE:"page",RIGHT_MARGIN:"rightMargin"},GO={BOTTOM_MARGIN:"bottomMargin",INSIDE_MARGIN:"insideMargin",LINE:"line",MARGIN:"margin",OUTSIDE_MARGIN:"outsideMargin",PAGE:"page",PARAGRAPH:"paragraph",TOP_MARGIN:"topMargin"};class JO extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{x:"x",y:"y"})}}class zO extends be{constructor(){super("wp:simplePos"),this.root.push(new JO({x:0,y:0}))}}class T2 extends be{constructor(e){super("wp:align"),this.root.push(e)}}class S2 extends be{constructor(e){super("wp:posOffset"),this.root.push(e.toString())}}class $O extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class jO extends be{constructor(e){if(super("wp:positionH"),this.root.push(new $O({relativeFrom:e.relative||HO.PAGE})),e.align)this.root.push(new T2(e.align));else if(e.offset!==void 0)this.root.push(new S2(e.offset));else throw new Error("There is no configuration provided for floating position (Align or offset)")}}class qO extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class eE extends be{constructor(e){if(super("wp:positionV"),this.root.push(new qO({relativeFrom:e.relative||GO.PAGE})),e.align)this.root.push(new T2(e.align));else if(e.offset!==void 0)this.root.push(new S2(e.offset));else throw new Error("There is no configuration provided for floating position (Align or offset)")}}class tE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{uri:"uri"})}}class nE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{embed:"r:embed",cstate:"cstate"})}}class rE extends be{constructor(e){super("a:blip"),this.root.push(new nE({embed:`rId{${e.fileName}}`,cstate:"none"}))}}class iE extends be{constructor(){super("a:srcRect")}}class oE extends be{constructor(){super("a:fillRect")}}class aE extends be{constructor(){super("a:stretch"),this.root.push(new oE)}}class sE extends be{constructor(e){super("pic:blipFill"),this.root.push(new rE(e)),this.root.push(new iE),this.root.push(new aE)}}class cE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{noChangeAspect:"noChangeAspect",noChangeArrowheads:"noChangeArrowheads"})}}class uE extends be{constructor(){super("a:picLocks"),this.root.push(new cE({noChangeAspect:1,noChangeArrowheads:1}))}}class lE extends be{constructor(){super("pic:cNvPicPr"),this.root.push(new uE)}}const D2=(t,e)=>new Ln({name:"a:hlinkClick",attributes:fa(dt({},e?{xmlns:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}}:{}),{id:{key:"r:id",value:`rId${t}`}})});class hE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{id:"id",name:"name",descr:"descr"})}}class dE extends be{constructor(){super("pic:cNvPr"),this.root.push(new hE({id:0,name:"",descr:""}))}prepForXml(e){for(let n=e.stack.length-1;n>=0;n--){const r=e.stack[n];if(r instanceof _f){this.root.push(D2(r.linkId,!1));break}}return super.prepForXml(e)}}class fE extends be{constructor(){super("pic:nvPicPr"),this.root.push(new dE),this.root.push(new lE)}}class pE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{xmlns:"xmlns:pic"})}}class gE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class mE extends be{constructor(e,n){super("a:ext"),xe(this,"attributes"),this.attributes=new gE({cx:e,cy:n}),this.root.push(this.attributes)}}class RE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{x:"x",y:"y"})}}class yE extends be{constructor(){super("a:off"),this.root.push(new RE({x:0,y:0}))}}class vE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{flipVertical:"flipV",flipHorizontal:"flipH",rotation:"rot"})}}class bE extends be{constructor(e){var n,r;super("a:xfrm"),xe(this,"extents"),this.root.push(new vE({flipVertical:(n=e.flip)==null?void 0:n.vertical,flipHorizontal:(r=e.flip)==null?void 0:r.horizontal,rotation:e.rotation})),this.extents=new mE(e.emus.x,e.emus.y),this.root.push(new yE),this.root.push(this.extents)}}const _2=()=>new Ln({name:"a:noFill"}),xE=t=>new Ln({name:"a:schemeClr",attributes:{value:{key:"val",value:t.value}}}),wE=t=>new Ln({name:"a:srgbClr",attributes:{value:{key:"val",value:t.value}}}),Yg=t=>new Ln({name:"a:solidFill",children:[t.type==="rgb"?wE(t):xE(t)]}),TE=t=>new Ln({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"?_2():t.solidFillType==="rgb"?Yg({type:"rgb",value:t.value}):Yg({type:"scheme",value:t.value})]});class SE extends be{constructor(){super("a:avLst")}}class DE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{prst:"prst"})}}class _E extends be{constructor(){super("a:prstGeom"),this.root.push(new DE({prst:"rect"})),this.root.push(new SE)}}class OE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{bwMode:"bwMode"})}}class EE extends be{constructor({outline:e,transform:n}){super("pic:spPr"),xe(this,"form"),this.root.push(new OE({bwMode:"auto"})),this.form=new bE(n),this.root.push(this.form),this.root.push(new _E),e&&(this.root.push(_2()),this.root.push(TE(e)))}}class IE extends be{constructor({mediaData:e,transform:n,outline:r}){super("pic:pic"),this.root.push(new pE({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.root.push(new fE),this.root.push(new sE(e)),this.root.push(new EE({transform:n,outline:r}))}}class NE extends be{constructor({mediaData:e,transform:n,outline:r}){super("a:graphicData"),xe(this,"pic"),this.root.push(new tE({uri:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.pic=new IE({mediaData:e,transform:n,outline:r}),this.root.push(this.pic)}}class FE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{a:"xmlns:a"})}}class O2 extends be{constructor({mediaData:e,transform:n,outline:r}){super("a:graphic"),xe(this,"data"),this.root.push(new FE({a:"http://schemas.openxmlformats.org/drawingml/2006/main"})),this.data=new NE({mediaData:e,transform:n,outline:r}),this.root.push(this.data)}}const Pc={NONE:0,SQUARE:1,TIGHT:2,TOP_AND_BOTTOM:3},PE={BOTH_SIDES:"bothSides",LEFT:"left",RIGHT:"right",LARGEST:"largest"};class Bg extends be{constructor(){super("wp:wrapNone")}}class LE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",wrapText:"wrapText"})}}class ME extends be{constructor(e,n={top:0,bottom:0,left:0,right:0}){super("wp:wrapSquare"),this.root.push(new LE({wrapText:e.side||PE.BOTH_SIDES,distT:n.top,distB:n.bottom,distL:n.left,distR:n.right}))}}class CE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class AE extends be{constructor(e={top:0,bottom:0}){super("wp:wrapTight"),this.root.push(new CE({distT:e.top,distB:e.bottom}))}}class UE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class WE extends be{constructor(e={top:0,bottom:0}){super("wp:wrapTopAndBottom"),this.root.push(new UE({distT:e.top,distB:e.bottom}))}}class E2 extends be{constructor({name:e,description:n,title:r}={name:"",description:"",title:""}){super("wp:docPr"),xe(this,"docPropertiesUniqueNumericId",ZO()),this.root.push(new bi({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 _f){this.root.push(D2(r.linkId,!0));break}}return super.prepForXml(e)}}const I2=({top:t,right:e,bottom:n,left:r})=>new Ln({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 XE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class N2 extends be{constructor(e,n){super("wp:extent"),xe(this,"attributes"),this.attributes=new XE({cx:e,cy:n}),this.root.push(this.attributes)}}class VE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{xmlns:"xmlns:a",noChangeAspect:"noChangeAspect"})}}class YE extends be{constructor(){super("a:graphicFrameLocks"),this.root.push(new VE({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/main",noChangeAspect:1}))}}class F2 extends be{constructor(){super("wp:cNvGraphicFramePr"),this.root.push(new YE)}}class BE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"})}}class kE extends be{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 BE({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 zO),this.root.push(new jO(i.horizontalPosition)),this.root.push(new eE(i.verticalPosition)),this.root.push(new N2(n.emus.x,n.emus.y)),this.root.push(I2({top:0,right:0,bottom:0,left:0})),r.floating!==void 0&&r.floating.wrap!==void 0)switch(r.floating.wrap.type){case Pc.SQUARE:this.root.push(new ME(r.floating.wrap,r.floating.margins));break;case Pc.TIGHT:this.root.push(new AE(r.floating.margins));break;case Pc.TOP_AND_BOTTOM:this.root.push(new WE(r.floating.margins));break;case Pc.NONE:default:this.root.push(new Bg)}else this.root.push(new Bg);this.root.push(new E2(r.docProperties)),this.root.push(new F2),this.root.push(new O2({mediaData:e,transform:n,outline:r.outline}))}}const ZE=({mediaData:t,transform:e,docProperties:n,outline:r})=>{var i,o,a,s;return new Ln({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 N2(e.emus.x,e.emus.y),I2(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 E2(n),new F2,new O2({mediaData:t,transform:e,outline:r})]})};class QE extends be{constructor(e,n={}){super("w:drawing"),n.floating?this.root.push(new kE({mediaData:e,transform:e.transformation,drawingOptions:n})):this.root.push(ZE({mediaData:e,transform:e.transformation,docProperties:n.docProperties,outline:n.outline}))}}class KE extends Xs{constructor(e){super({}),xe(this,"key",`${w2()}.png`),xe(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 QE(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 HE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class GE extends Ue{constructor(){super(...arguments),xe(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 JE extends be{constructor({id:e,initials:n,author:r,date:i=new Date,children:o}){super("w:comment"),this.root.push(new HE({id:e,initials:n,author:r,date:i.toISOString()}));for(const a of o)this.root.push(a)}}class zE extends be{constructor({children:e}){super("w:comments"),this.root.push(new GE({"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 JE(n))}}class $E extends fO{constructor(){super("w:tab")}}class jE extends be{constructor(){super("w:pageBreakBefore")}}const _d={AT_LEAST:"atLeast",EXACTLY:"exactly",EXACT:"exact",AUTO:"auto"};class qE extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"})}}class e3 extends be{constructor(e){super("w:spacing"),this.root.push(new qE(e))}}const Co={HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"};let Lc=class extends be{constructor(e){super("w:pStyle"),this.root.push(new Qt({val:e}))}};class t3 extends be{constructor(e){super("w:tabs");for(const n of e)this.root.push(new r3(n))}}const kg={LEFT:"left",RIGHT:"right",CENTER:"center",BAR:"bar",CLEAR:"clear",DECIMAL:"decimal",END:"end",NUM:"num",START:"start"};class n3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val",pos:"w:pos",leader:"w:leader"})}}class r3 extends be{constructor({type:e,position:n,leader:r}){super("w:tab"),this.root.push(new n3({val:e,pos:n,leader:r}))}}class Zg extends be{constructor(e,n){super("w:numPr"),this.root.push(new i3(n)),this.root.push(new o3(e))}}class i3 extends be{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 o3 extends be{constructor(e){super("w:numId"),this.root.push(new Qt({val:typeof e=="string"?`{${e}}`:e}))}}class P2 extends be{constructor(){super(...arguments),xe(this,"fileChild",Symbol())}}class a3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"})}}const s3={EXTERNAL:"External"};class c3 extends be{constructor(e,n,r,i){super("Relationship"),this.root.push(new a3({id:e,type:n,target:r,targetMode:i}))}}class u3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class _f extends be{constructor(e,n,r){super("w:hyperlink"),xe(this,"linkId"),this.linkId=n;const i={history:1,anchor:r||void 0,id:r?void 0:`rId${this.linkId}`},o=new u3(i);this.root.push(o),e.forEach(a=>{this.root.push(a)})}}class L2 extends be{constructor(e){super("w:externalHyperlink"),this.options=e}}class l3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class h3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{id:"w:id"})}}class d3{constructor(e){xe(this,"bookmarkUniqueNumericId",QO()),xe(this,"start"),xe(this,"children"),xe(this,"end");const n=this.bookmarkUniqueNumericId();this.start=new f3(e.id,n),this.children=e.children,this.end=new p3(n)}}class f3 extends be{constructor(e,n){super("w:bookmarkStart");const r=new l3({name:e,id:n});this.root.push(r)}}class p3 extends be{constructor(e){super("w:bookmarkEnd");const n=new h3({id:e});this.root.push(n)}}class g3 extends be{constructor(e){super("w:outlineLvl"),this.level=e,this.root.push(new Qt({val:e}))}}class m3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{verticalAlign:"w:val"})}}class M2 extends be{constructor(e){super("w:vAlign"),this.root.push(new m3({verticalAlign:e}))}}const la={DEFAULT:"default",FIRST:"first",EVEN:"even"};class R3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{type:"w:type",id:"r:id"})}}const Qg={HEADER:"w:headerReference",FOOTER:"w:footerReference"};class Fh extends be{constructor(e,n){super(e),this.root.push(new R3({type:n.type||la.DEFAULT,id:`rId${n.id}`}))}}class y3 extends be{constructor({space:e,count:n,separate:r,equalWidth:i,children:o}){super("w:cols"),this.root.push(new bi({space:{key:"w:space",value:e===void 0?void 0:Tn(e)},count:{key:"w:num",value:n===void 0?void 0:Pn(n)},separate:{key:"w:sep",value:r},equalWidth:{key:"w:equalWidth",value:i}})),!i&&o&&o.forEach(a=>this.addChildElement(a))}}class v3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{type:"w:type",linePitch:"w:linePitch",charSpace:"w:charSpace"})}}class b3 extends be{constructor(e,n,r){super("w:docGrid"),this.root.push(new v3({type:r,linePitch:Pn(e),charSpace:n?Pn(n):void 0}))}}const x3=({countBy:t,start:e,restart:n,distance:r})=>new Ln({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:t===void 0?void 0:Pn(t)},start:{key:"w:start",value:e===void 0?void 0:Pn(e)},restart:{key:"w:restart",value:n},distance:{key:"w:distance",value:r===void 0?void 0:Tn(r)}}});class Kg extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class w3 extends vi{constructor(e){if(super("w:pgBorders"),!e)return this;e.pageBorders?this.root.push(new Kg({display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder})):this.root.push(new Kg({})),e.pageBorderTop&&this.root.push(new Ot("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(new Ot("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(new Ot("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(new Ot("w:right",e.pageBorderRight))}}class T3 extends be{constructor(e,n,r,i,o,a,s){super("w:pgMar"),this.root.push(new bi({top:{key:"w:top",value:di(e)},right:{key:"w:right",value:Tn(n)},bottom:{key:"w:bottom",value:di(r)},left:{key:"w:left",value:Tn(i)},header:{key:"w:header",value:Tn(o)},footer:{key:"w:footer",value:Tn(a)},gutter:{key:"w:gutter",value:Tn(s)}}))}}class S3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{start:"w:start",formatType:"w:fmt",separator:"w:chapSep"})}}class D3 extends be{constructor({start:e,formatType:n,separator:r}){super("w:pgNumType"),this.root.push(new S3({start:e===void 0?void 0:Pn(e),formatType:n,separator:r}))}}const C2={PORTRAIT:"portrait",LANDSCAPE:"landscape"};class _3 extends be{constructor(e,n,r){super("w:pgSz");const i=r===C2.LANDSCAPE,o=Tn(e),a=Tn(n);this.root.push(new bi({width:{key:"w:w",value:i?a:o},height:{key:"w:h",value:i?o:a},orientation:{key:"w:orient",value:r}}))}}class O3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class E3 extends be{constructor(e){super("w:textDirection"),this.root.push(new O3({val:e}))}}class I3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class N3 extends be{constructor(e){super("w:type"),this.root.push(new I3({val:e}))}}const to={TOP:1440,RIGHT:1440,BOTTOM:1440,LEFT:1440,HEADER:708,FOOTER:708,GUTTER:0},Ph={WIDTH:11906,HEIGHT:16838,ORIENTATION:C2.PORTRAIT};class F3 extends be{constructor({page:{size:{width:e=Ph.WIDTH,height:n=Ph.HEIGHT,orientation:r=Ph.ORIENTATION}={},margin:{top:i=to.TOP,right:o=to.RIGHT,bottom:a=to.BOTTOM,left:s=to.LEFT,header:c=to.HEADER,footer:u=to.FOOTER,gutter:l=to.GUTTER}={},pageNumbers:h={},borders:f,textDirection:d}={},grid:{linePitch:p=360,charSpace:g,type:y}={},headerWrapperGroup:R={},footerWrapperGroup:m={},lineNumbers:v,titlePage:x,verticalAlign:_,column:E,type:N}={}){super("w:sectPr"),this.addHeaderFooterGroup(Qg.HEADER,R),this.addHeaderFooterGroup(Qg.FOOTER,m),N&&this.root.push(new N3(N)),this.root.push(new _3(e,n,r)),this.root.push(new T3(i,o,a,s,c,u,l)),f&&this.root.push(new w3(f)),v&&this.root.push(x3(v)),this.root.push(new D3(h)),E&&this.root.push(new y3(E)),_&&this.root.push(new M2(_)),x!==void 0&&this.root.push(new Ne("w:titlePg",x)),d&&this.root.push(new E3(d)),this.root.push(new b3(p,g,y))}addHeaderFooterGroup(e,n){n.default&&this.root.push(new Fh(e,{type:la.DEFAULT,id:n.default.View.ReferenceId})),n.first&&this.root.push(new Fh(e,{type:la.FIRST,id:n.first.View.ReferenceId})),n.even&&this.root.push(new Fh(e,{type:la.EVEN,id:n.even.View.ReferenceId}))}}class P3 extends be{constructor(){super("w:body"),xe(this,"sections",[])}addSection(e){const n=this.sections.pop();this.root.push(this.createSectionParagraph(n)),this.sections.push(new F3(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 Wi({}),r=new ya({});return r.push(e),n.addChildElement(r),n}}class Vs extends Ue{constructor(){super(...arguments),xe(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 L3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class M3 extends be{constructor(e){super("w:background"),this.root.push(new L3({color:e.color===void 0?void 0:ga(e.color),themeColor:e.themeColor,themeShade:e.themeShade===void 0?void 0:Xg(e.themeShade),themeTint:e.themeTint===void 0?void 0:Xg(e.themeTint)}))}}class C3 extends be{constructor(e){super("w:document"),xe(this,"body"),this.root.push(new Vs({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 P3,e.background&&this.root.push(new M3(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}class A3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{xmlns:"xmlns"})}}class Na extends be{constructor(){super("Relationships"),this.root.push(new A3({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}createRelationship(e,n,r,i){const o=new c3(`rId${e}`,n,r,i);return this.root.push(o),o}get RelationshipCount(){return this.root.length-1}}class A2{constructor(e){xe(this,"document"),xe(this,"relationships"),this.document=new C3(e),this.relationships=new Na}get View(){return this.document}get Relationships(){return this.relationships}}class U3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class W3 extends be{constructor(){super("w:wordWrap"),this.root.push(new U3({val:0}))}}const X3=t=>{var e,n;return new Ln({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 ya extends vi{constructor(e){var n,r;if(super("w:pPr"),xe(this,"numberingReferences",[]),!e)return this;e.heading&&this.push(new Lc(e.heading)),e.bullet&&this.push(new Lc("ListParagraph")),e.numbering&&!e.style&&!e.heading&&(e.numbering.custom||this.push(new Lc("ListParagraph"))),e.style&&this.push(new Lc(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 jE),e.frame&&this.push(X3(e.frame)),e.widowControl!==void 0&&this.push(new Ne("w:widowControl",e.widowControl)),e.bullet&&this.push(new Zg(1,e.bullet.level)),e.numbering&&(this.numberingReferences.push({reference:e.numbering.reference,instance:(n=e.numbering.instance)!=null?n:0}),this.push(new Zg(`${e.numbering.reference}-${(r=e.numbering.instance)!=null?r:0}`,e.numbering.level))),e.border&&this.push(new RO(e.border)),e.thematicBreak&&this.push(new yO),e.shading&&this.push(new Vu(e.shading)),e.wordWrap&&this.push(new W3),e.overflowPunctuation&&this.push(new Ne("w:overflowPunct",e.overflowPunctuation));const i=[...e.rightTabStop!==void 0?[{type:kg.RIGHT,position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...e.leftTabStop!==void 0?[{type:kg.LEFT,position:e.leftTabStop}]:[]];i.length>0&&this.push(new t3(i)),e.bidirectional!==void 0&&this.push(new Ne("w:bidi",e.bidirectional)),e.spacing&&this.push(new e3(e.spacing)),e.indent&&this.push(new vO(e.indent)),e.contextualSpacing!==void 0&&this.push(new Ne("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(new v2(e.alignment)),e.outlineLevel!==void 0&&this.push(new g3(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 wo(e.run))}push(e){this.root.push(e)}prepForXml(e){if(e.viewWrapper instanceof A2)for(const n of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(n.reference,n.instance);return super.prepForXml(e)}}class Wi extends P2{constructor(e){if(super("w:p"),xe(this,"properties"),typeof e=="string")return this.properties=new ya({}),this.root.push(this.properties),this.root.push(new ua(e)),this;if(this.properties=new ya(e),this.root.push(this.properties),e.text&&this.root.push(new ua(e.text)),e.children)for(const n of e.children){if(n instanceof d3){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 L2){const r=this.root.indexOf(n),i=new _f(n.options.children,w2());e.viewWrapper.Relationships.createRelationship(i.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",n.options.link,s3.EXTERNAL),this.root[r]=i}return super.prepForXml(e)}addRunToFront(e){return this.root.splice(1,0,e),this}}class V3 extends be{constructor(e){super("m:t"),this.root.push(e)}}class Y3 extends be{constructor(e){super("m:r"),this.root.push(new V3(e))}}class B3 extends be{constructor(e){super("w:tblGrid");for(const n of e)this.root.push(new k3(n))}}class k3 extends be{constructor(e){super("w:gridCol"),e!==void 0&&this.root.push(new bi({width:{key:"w:w",value:Tn(e)}}))}}const U2={TABLE:"w:tblCellMar",TABLE_CELL:"w:tcMar"};class W2 extends vi{constructor(e,{marginUnitType:n=yu.DXA,top:r,left:i,bottom:o,right:a}){super(e),r!==void 0&&this.root.push(new uo("w:top",{type:n,size:r})),i!==void 0&&this.root.push(new uo("w:left",{type:n,size:i})),o!==void 0&&this.root.push(new uo("w:bottom",{type:n,size:o})),a!==void 0&&this.root.push(new uo("w:right",{type:n,size:a}))}}const yu={AUTO:"auto",DXA:"dxa",NIL:"nil",PERCENTAGE:"pct"};class uo extends be{constructor(e,{type:n=yu.AUTO,size:r}){super(e);let i=r;n===yu.PERCENTAGE&&typeof r=="number"&&(i=`${r}%`),this.root.push(new bi({type:{key:"w:type",value:n},size:{key:"w:w",value:uO(i)}}))}}class Z3 extends vi{constructor(e){super("w:tcBorders"),e.top&&this.root.push(new Ot("w:top",e.top)),e.start&&this.root.push(new Ot("w:start",e.start)),e.left&&this.root.push(new Ot("w:left",e.left)),e.bottom&&this.root.push(new Ot("w:bottom",e.bottom)),e.end&&this.root.push(new Ot("w:end",e.end)),e.right&&this.root.push(new Ot("w:right",e.right))}}class Q3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class K3 extends be{constructor(e){super("w:gridSpan"),this.root.push(new Q3({val:Pn(e)}))}}const X2={CONTINUE:"continue",RESTART:"restart"};class H3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class Hg extends be{constructor(e){super("w:vMerge"),this.root.push(new H3({val:e}))}}class G3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class J3 extends be{constructor(e){super("w:textDirection"),this.root.push(new G3({val:e}))}}class z3 extends vi{constructor(e){super("w:tcPr"),e.width&&this.root.push(new uo("w:tcW",e.width)),e.columnSpan&&this.root.push(new K3(e.columnSpan)),e.verticalMerge?this.root.push(new Hg(e.verticalMerge)):e.rowSpan&&e.rowSpan>1&&this.root.push(new Hg(X2.RESTART)),e.borders&&this.root.push(new Z3(e.borders)),e.shading&&this.root.push(new Vu(e.shading)),e.margins&&this.root.push(new W2(U2.TABLE_CELL,e.margins)),e.textDirection&&this.root.push(new J3(e.textDirection)),e.verticalAlign&&this.root.push(new M2(e.verticalAlign))}}class Of extends be{constructor(e){super("w:tc"),this.options=e,this.root.push(new z3(e));for(const n of e.children)this.root.push(n)}prepForXml(e){return this.root[this.root.length-1]instanceof Wi||this.root.push(new Wi({})),super.prepForXml(e)}}const Ao={style:Tf.NONE,size:0,color:"auto"},Uo={style:Tf.SINGLE,size:4,color:"auto"};class V2 extends be{constructor(e){super("w:tblBorders"),e.top?this.root.push(new Ot("w:top",e.top)):this.root.push(new Ot("w:top",Uo)),e.left?this.root.push(new Ot("w:left",e.left)):this.root.push(new Ot("w:left",Uo)),e.bottom?this.root.push(new Ot("w:bottom",e.bottom)):this.root.push(new Ot("w:bottom",Uo)),e.right?this.root.push(new Ot("w:right",e.right)):this.root.push(new Ot("w:right",Uo)),e.insideHorizontal?this.root.push(new Ot("w:insideH",e.insideHorizontal)):this.root.push(new Ot("w:insideH",Uo)),e.insideVertical?this.root.push(new Ot("w:insideV",e.insideVertical)):this.root.push(new Ot("w:insideV",Uo))}}xe(V2,"NONE",{top:Ao,bottom:Ao,left:Ao,right:Ao,insideHorizontal:Ao,insideVertical:Ao});class $3 extends be{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 bi({leftFromText:{key:"w:leftFromText",value:u===void 0?void 0:Tn(u)},rightFromText:{key:"w:rightFromText",value:l===void 0?void 0:Tn(l)},topFromText:{key:"w:topFromText",value:c===void 0?void 0:Tn(c)},bottomFromText:{key:"w:bottomFromText",value:s===void 0?void 0:Tn(s)},absoluteHorizontalPosition:{key:"w:tblpX",value:r===void 0?void 0:di(r)},absoluteVerticalPosition:{key:"w:tblpY",value:o===void 0?void 0:di(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 pO("w:tblOverlap",h))}}class j3 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{type:"w:type"})}}class q3 extends be{constructor(e){super("w:tblLayout"),this.root.push(new j3({type:e}))}}class eI extends vi{constructor(e){super("w:tblPr"),e.style&&this.root.push(new po("w:tblStyle",e.style)),e.float&&this.root.push(new $3(e.float)),e.visuallyRightToLeft!==void 0&&this.root.push(new Ne("w:bidiVisual",e.visuallyRightToLeft)),e.width&&this.root.push(new uo("w:tblW",e.width)),e.alignment&&this.root.push(new v2(e.alignment)),e.indent&&this.root.push(new uo("w:tblInd",e.indent)),e.borders&&this.root.push(new V2(e.borders)),e.shading&&this.root.push(new Vu(e.shading)),e.layout&&this.root.push(new q3(e.layout)),e.cellMargin&&this.root.push(new W2(U2.TABLE,e.cellMargin))}}class tI extends P2{constructor({rows:e,width:n,columnWidths:r=Array(Math.max(...e.map(f=>f.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 eI({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 B3(r));for(const f of e)this.root.push(f);e.forEach((f,d)=>{if(d===e.length-1)return;let p=0;f.cells.forEach(g=>{if(g.options.rowSpan&&g.options.rowSpan>1){const y=new Of({rowSpan:g.options.rowSpan-1,columnSpan:g.options.columnSpan,borders:g.options.borders,children:[],verticalMerge:X2.CONTINUE});e[d+1].addCellToColumnIndex(y,p)}p+=g.options.columnSpan||1})})}}class nI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{value:"w:val",rule:"w:hRule"})}}class rI extends be{constructor(e,n){super("w:trHeight"),this.root.push(new nI({value:Tn(e),rule:n}))}}class iI extends vi{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 rI(e.height.value,e.height.rule))}}class oI extends be{constructor(e){super("w:tr"),this.options=e,this.root.push(new iI(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 Of)}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=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 aI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class sI extends be{constructor(){super("Properties"),this.root.push(new aI({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class cI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{xmlns:"xmlns"})}}class uI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{contentType:"ContentType",extension:"Extension"})}}class Oi extends be{constructor(e,n){super("Default"),this.root.push(new uI({contentType:e,extension:n}))}}class lI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{contentType:"ContentType",partName:"PartName"})}}class Rr extends be{constructor(e,n){super("Override"),this.root.push(new lI({contentType:e,partName:n}))}}class hI extends be{constructor(){super("Types"),this.root.push(new cI({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new Oi("image/png","png")),this.root.push(new Oi("image/jpeg","jpeg")),this.root.push(new Oi("image/jpeg","jpg")),this.root.push(new Oi("image/bmp","bmp")),this.root.push(new Oi("image/gif","gif")),this.root.push(new Oi("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new Oi("application/xml","xml")),this.root.push(new Oi("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new Rr("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(e){this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(new Rr("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}class dI extends be{constructor(e){super("cp:coreProperties"),this.root.push(new Vs({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 eo("dc:title",e.title)),e.subject&&this.root.push(new eo("dc:subject",e.subject)),e.creator&&this.root.push(new eo("dc:creator",e.creator)),e.keywords&&this.root.push(new eo("cp:keywords",e.keywords)),e.description&&this.root.push(new eo("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new eo("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new eo("cp:revision",String(e.revision))),this.root.push(new Gg("dcterms:created")),this.root.push(new Gg("dcterms:modified"))}}class Gg extends be{constructor(e){super(e),this.root.push(new Vs({type:"dcterms:W3CDTF"})),this.root.push(dO(new Date))}}class fI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class pI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{fmtid:"fmtid",pid:"pid",name:"name"})}}class gI extends be{constructor(e,n){super("property"),this.root.push(new pI({fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:n.name})),this.root.push(new mI(n.value))}}class mI extends be{constructor(e){super("vt:lpwstr"),this.root.push(e)}}class RI extends be{constructor(e){super("Properties"),xe(this,"nextId"),xe(this,"properties",[]),this.root.push(new fI({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 gI(this.nextId++,e))}}class yI extends Ue{constructor(){super(...arguments),xe(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 vI=class extends m2{constructor(e,n){super("w:ftr",n),xe(this,"refId"),this.refId=e,n||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"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}};class bI{constructor(e,n,r){xe(this,"footer"),xe(this,"relationships"),this.media=e,this.footer=new vI(n,r),this.relationships=new Na}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 xI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class wI extends be{constructor(){super("w:footnoteRef")}}class TI extends Xs{constructor(){super({style:"FootnoteReference"}),this.root.push(new wI)}}const Jg={SEPERATOR:"separator",CONTINUATION_SEPERATOR:"continuationSeparator"};class Lh extends be{constructor(e){super("w:footnote"),this.root.push(new xI({type:e.type,id:e.id}));for(let n=0;n9)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 CI({ilvl:Pn(e),tentative:1}))}}class BI extends YI{}class kI extends be{constructor(e){super("w:multiLevelType"),this.root.push(new Qt({val:e}))}}class ZI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class zg extends be{constructor(e,n){super("w:abstractNum"),xe(this,"id"),this.root.push(new ZI({abstractNumId:Pn(e),restartNumberingAfterBreak:0})),this.root.push(new kI("hybridMultilevel")),this.id=e;for(const r of n)this.root.push(new BI(r))}}class QI extends be{constructor(e){super("w:abstractNumId"),this.root.push(new Qt({val:e}))}}class KI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{numId:"w:numId"})}}class $g extends be{constructor(e){if(super("w:num"),xe(this,"numId"),xe(this,"reference"),xe(this,"instance"),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new KI({numId:Pn(e.numId)})),this.root.push(new QI(Pn(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(const n of e.overrideLevels)this.root.push(new GI(n.num,n.start))}}class HI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{ilvl:"w:ilvl"})}}class GI extends be{constructor(e,n){super("w:lvlOverride"),this.root.push(new HI({ilvl:e})),n!==void 0&&this.root.push(new zI(n))}}class JI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class zI extends be{constructor(e){super("w:startOverride"),this.root.push(new JI({val:e}))}}class $I extends be{constructor(e){super("w:numbering"),xe(this,"abstractNumberingMap",new Map),xe(this,"concreteNumberingMap",new Map),xe(this,"referenceConfigMap",new Map),xe(this,"abstractNumUniqueNumericId",BO()),xe(this,"concreteNumUniqueNumericId",kO()),this.root.push(new Vs({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 zg(this.abstractNumUniqueNumericId(),[{level:0,format:ci.BULLET,text:"\u25CF",alignment:Vr.LEFT,style:{paragraph:{indent:{left:Ir(.5),hanging:Ir(.25)}}}},{level:1,format:ci.BULLET,text:"\u25CB",alignment:Vr.LEFT,style:{paragraph:{indent:{left:Ir(1),hanging:Ir(.25)}}}},{level:2,format:ci.BULLET,text:"\u25A0",alignment:Vr.LEFT,style:{paragraph:{indent:{left:2160,hanging:Ir(.25)}}}},{level:3,format:ci.BULLET,text:"\u25CF",alignment:Vr.LEFT,style:{paragraph:{indent:{left:2880,hanging:Ir(.25)}}}},{level:4,format:ci.BULLET,text:"\u25CB",alignment:Vr.LEFT,style:{paragraph:{indent:{left:3600,hanging:Ir(.25)}}}},{level:5,format:ci.BULLET,text:"\u25A0",alignment:Vr.LEFT,style:{paragraph:{indent:{left:4320,hanging:Ir(.25)}}}},{level:6,format:ci.BULLET,text:"\u25CF",alignment:Vr.LEFT,style:{paragraph:{indent:{left:5040,hanging:Ir(.25)}}}},{level:7,format:ci.BULLET,text:"\u25CF",alignment:Vr.LEFT,style:{paragraph:{indent:{left:5760,hanging:Ir(.25)}}}},{level:8,format:ci.BULLET,text:"\u25CF",alignment:Vr.LEFT,style:{paragraph:{indent:{left:6480,hanging:Ir(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new $g({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 zg(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 $g(s))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class jI extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{version:"w:val",name:"w:name",uri:"w:uri"})}}class qI extends be{constructor(e){super("w:compatSetting"),this.root.push(new jI({version:e,uri:"http://schemas.microsoft.com/office/word",name:"compatibilityMode"}))}}class eN extends be{constructor(e){super("w:compat"),e.version&&this.root.push(new qI(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 tN extends Ue{constructor(){super(...arguments),xe(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 nN extends be{constructor(e){var n,r,i,o;super("w:settings"),this.root.push(new tN({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 wf("w:defaultTabStop",e.defaultTabStop)),this.root.push(new eN(fa(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 Y2 extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{val:"w:val"})}}class rN extends be{constructor(e){super("w:name"),this.root.push(new Y2({val:e}))}}class iN extends be{constructor(e){super("w:uiPriority"),this.root.push(new Y2({val:Pn(e)}))}}class oN extends Ue{constructor(){super(...arguments),xe(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class B2 extends be{constructor(e,n){super("w:style"),this.root.push(new oN(e)),n.name&&this.root.push(new rN(n.name)),n.basedOn&&this.root.push(new po("w:basedOn",n.basedOn)),n.next&&this.root.push(new po("w:next",n.next)),n.link&&this.root.push(new po("w:link",n.link)),n.uiPriority!==void 0&&this.root.push(new iN(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 Bu extends B2{constructor(e){super({type:"paragraph",styleId:e.id},e),xe(this,"paragraphProperties"),xe(this,"runProperties"),this.paragraphProperties=new ya(e.paragraph),this.runProperties=new wo(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class ku extends B2{constructor(e){super({type:"character",styleId:e.id},dt({uiPriority:99,unhideWhenUsed:!0},e)),xe(this,"runProperties"),this.runProperties=new wo(e.run),this.root.push(this.runProperties)}}class Zi extends Bu{constructor(e){super(dt({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}}class aN extends Zi{constructor(e){super(dt({id:"Title",name:"Title"},e))}}class sN extends Zi{constructor(e){super(dt({id:"Heading1",name:"Heading 1"},e))}}class cN extends Zi{constructor(e){super(dt({id:"Heading2",name:"Heading 2"},e))}}class uN extends Zi{constructor(e){super(dt({id:"Heading3",name:"Heading 3"},e))}}class lN extends Zi{constructor(e){super(dt({id:"Heading4",name:"Heading 4"},e))}}class hN extends Zi{constructor(e){super(dt({id:"Heading5",name:"Heading 5"},e))}}class dN extends Zi{constructor(e){super(dt({id:"Heading6",name:"Heading 6"},e))}}class fN extends Zi{constructor(e){super(dt({id:"Strong",name:"Strong"},e))}}class pN extends Bu{constructor(e){super(dt({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}}class gN extends Bu{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:_d.AUTO}},run:{size:20}},e))}}class mN extends ku{constructor(e){super(dt({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class RN extends ku{constructor(e){super(dt({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}}class yN extends ku{constructor(e){super(dt({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:x2.SINGLE}}},e))}}class Od extends be{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 Bu(n));if(e.characterStyles)for(const n of e.characterStyles)this.root.push(new ku(n))}}class vN extends be{constructor(e){super("w:pPrDefault"),this.root.push(new ya(e))}}class bN extends be{constructor(e){super("w:rPrDefault"),this.root.push(new wo(e))}}class xN extends be{constructor(e){super("w:docDefaults"),xe(this,"runPropertiesDefaults"),xe(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new bN(e.run),this.paragraphPropertiesDefaults=new vN(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class wN{newInstance(e){const n=g2.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 Od({initialStyles:new aO(r.attributes),importedStyles:i.map(a=>bf(a))})}}class jg{newInstance(e={}){var n;return{initialStyles:new Vs({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 xN((n=e.document)!=null?n:{}),new aN(dt({run:{size:56}},e.title)),new sN(dt({run:{color:"2E74B5",size:32}},e.heading1)),new cN(dt({run:{color:"2E74B5",size:26}},e.heading2)),new uN(dt({run:{color:"1F4D78",size:24}},e.heading3)),new lN(dt({run:{color:"2E74B5",italics:!0}},e.heading4)),new hN(dt({run:{color:"2E74B5"}},e.heading5)),new dN(dt({run:{color:"1F4D78"}},e.heading6)),new fN(dt({run:{bold:!0}},e.strong)),new pN(e.listParagraph||{}),new yN(e.hyperlink||{}),new mN(e.footnoteReference||{}),new gN(e.footnoteText||{}),new RN(e.footnoteTextChar||{})]}}}const Mc=({id:t,fontKey:e,subsetted:n},r)=>new Ln({name:r,attributes:dt({id:{key:"r:id",value:t}},e?{fontKey:{key:"w:fontKey",value:`{${e}}`}}:{}),children:[...n?[new Ne("w:subsetted",n)]:[]]}),TN=({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 Ln({name:"w:font",attributes:{name:{key:"w:name",value:t}},children:[...e?[za("w:altName",e)]:[],...n?[za("w:panose1",n)]:[],...r?[za("w:charset",r)]:[],...i?[za("w:family",i)]:[],...o?[new Ne("w:notTrueType",o)]:[],...a?[za("w:pitch",a)]:[],...s?[new Ln({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?[Mc(c,"w:embedRegular")]:[],...u?[Mc(u,"w:embedBold")]:[],...l?[Mc(l,"w:embedItalic")]:[],...h?[Mc(h,"w:embedBoldItalic")]:[]]}),SN=({name:t,index:e,fontKey:n,characterSet:r})=>TN({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}`}}),DN=t=>new Ln({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)=>SN({name:e.name,index:n+1,fontKey:e.fontKey}))});class _N{constructor(e){xe(this,"fontTable"),xe(this,"relationships"),xe(this,"fontOptionsWithKey",[]),this.options=e,this.fontOptionsWithKey=e.map(n=>fa(dt({},n),{fontKey:KO()})),this.fontTable=DN(this.fontOptionsWithKey),this.relationships=new Na;for(let n=0;ne.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 EN{constructor(e={children:[]}){xe(this,"options"),this.options=e}}class IN{constructor(e={children:[]}){xe(this,"options"),this.options=e}}function Cc(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 k2={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 Cc=="function"&&Cc;if(!l&&h)return h(u,!0);if(s)return s(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var d=i[u]={exports:{}};r[u][0].call(d.exports,function(p){var g=r[u][1][p];return a(g||p)},d,d.exports,n,r,i,o)}return i[u].exports}for(var s=typeof Cc=="function"&&Cc,c=0;c>2,d=(3&u)<<4|l>>4,p=1>6:64,g=2>4,l=(15&f)<<4|(d=s.indexOf(c.charAt(g++)))>>2,h=(3&d)<<6|(p=s.indexOf(c.charAt(g++))),m[y++]=u,d!==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,f,d,p){this.compressedSize=l,this.uncompressedSize=h,this.crc32=f,this.compression=d,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,f){return l.pipe(new s).pipe(new c("uncompressedSize")).pipe(h.compressWorker(f)).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,f){var d=a,p=f+h;u^=-1;for(var g=f;g>>8^d[255&(u^l[g])];return-1^u}(0|c,s,s.length,0):function(u,l,h,f){var d=a,p=f+h;u^=-1;for(var g=f;g>>8^d[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,f){c.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=f,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(f){h.push({data:f,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(d,p){var g,y="";for(g=0;g>>=8;return y}function a(d,p,g,y,R,m){var v,x,_=d.file,E=d.compression,N=m!==u.utf8encode,U=s.transformTo("string",m(_.name)),O=s.transformTo("string",u.utf8encode(_.name)),Q=_.comment,ne=s.transformTo("string",m(Q)),T=s.transformTo("string",u.utf8encode(Q)),I=O.length!==_.name.length,b=T.length!==Q.length,M="",C="",F="",A=_.dir,B=_.date,$={crc32:0,compressedSize:0,uncompressedSize:0};p&&!g||($.crc32=d.crc32,$.compressedSize=d.compressedSize,$.uncompressedSize=d.uncompressedSize);var V=0;p&&(V|=8),N||!I&&!b||(V|=2048);var L=0,z=0;A&&(L|=16),R==="UNIX"?(z=798,L|=function(se,ae){var Y=se;return se||(Y=ae?16893:33204),(65535&Y)<<16}(_.unixPermissions,A)):(z=20,L|=function(se){return 63&(se||0)}(_.dosPermissions)),v=B.getUTCHours(),v<<=6,v|=B.getUTCMinutes(),v<<=5,v|=B.getUTCSeconds()/2,x=B.getUTCFullYear()-1980,x<<=4,x|=B.getUTCMonth()+1,x<<=5,x|=B.getUTCDate(),I&&(C=o(1,1)+o(l(U),4)+O,M+="up"+o(C.length,2)+C),b&&(F=o(1,1)+o(l(ne),4)+T,M+="uc"+o(F.length,2)+F);var q="";return q+=` \0`,q+=o(V,2),q+=E.magic,q+=o(v,2),q+=o(x,2),q+=o($.crc32,4),q+=o($.compressedSize,4),q+=o($.uncompressedSize,4),q+=o(U.length,2),q+=o(M.length,2),{fileRecord:h.LOCAL_FILE_HEADER+q+U+M,dirRecord:h.CENTRAL_FILE_HEADER+o(z,2)+q+o(ne.length,2)+"\0\0\0\0"+o(L,4)+o(y,4)+U+M+ne}}var s=n("../utils"),c=n("../stream/GenericWorker"),u=n("../utf8"),l=n("../crc32"),h=n("../signature");function f(d,p,g,y){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=g,this.encodeFileName=y,this.streamFiles=d,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(f,c),f.prototype.push=function(d){var p=d.meta.percent||0,g=this.entriesCount,y=this._sources.length;this.accumulate?this.contentBuffer.push(d):(this.bytesWritten+=d.data.length,c.prototype.push.call(this,{data:d.data,meta:{currentFile:this.currentFile,percent:g?(p+100*(g-y-1))/g:100}}))},f.prototype.openedSource=function(d){this.currentSourceOffset=this.bytesWritten,this.currentFile=d.file.name;var p=this.streamFiles&&!d.file.dir;if(p){var g=a(d,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:g.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(d){this.accumulate=!1;var p=this.streamFiles&&!d.file.dir,g=a(d,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)}(d),meta:{percent:100}});else for(this.push({data:g.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var d=this.bytesWritten,p=0;p=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 f=o.getTypeOf(h);return o.checkSupport(f),f!=="string"||a.uint8array?f==="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 "+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 f(p,g){return new l.Promise(function(y,R){var m=[],v=p._internalType,x=p._outputType,_=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,U,O){switch(N){case"blob":return o.newBlob(o.transformTo("arraybuffer",U),O);case"base64":return c.encode(U);default:return o.transformTo(N,U)}}(x,function(N,U){var O,Q=0,ne=null,T=0;for(O=0;O>>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}(d)},i.utf8decode=function(d){return a.nodebuffer?o.transformTo("nodebuffer",d).toString("utf-8"):function(p){var g,y,R,m,v=p.length,x=new Array(2*v);for(g=y=0;g>10&1023,x[y++]=56320|1023&R)}return x.length!==y&&(x.subarray?x=x.subarray(0,y):x.length=y),o.applyFromCharCode(x)}(d=o.transformTo(a.uint8array?"uint8array":"array",d))},o.inherits(h,c),h.prototype.processChunk=function(d){var p=o.transformTo(a.uint8array?"uint8array":"array",d.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:d.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(f,c),f.prototype.processChunk=function(d){this.push({data:i.utf8encode(d.data),meta:d.meta})},i.Utf8EncodeWorker=f},{"./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>8;this.dir=!!(16&this.externalFileAttributes),d==0&&(this.dosPermissions=63&this.externalFileAttributes),d==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var d=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=d.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=d.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=d.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=d.readInt(4))}},readExtraFields:function(d){var p,g,y,R=d.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});d.index+4>>6:(d<65536?f[y++]=224|d>>>12:(f[y++]=240|d>>>18,f[y++]=128|d>>>12&63),f[y++]=128|d>>>6&63),f[y++]=128|63&d);return f},i.buf2binstring=function(h){return l(h,h.length)},i.binstring2buf=function(h){for(var f=new o.Buf8(h.length),d=0,p=f.length;d>10&1023,m[p++]=56320|1023&g)}return l(m,p)},i.utf8border=function(h,f){var d;for((f=f||h.length)>h.length&&(f=h.length),d=f-1;0<=d&&(192&h[d])==128;)d--;return d<0||d===0?f:d+c[h[d]]>f?d:f}},{"./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>>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 f=u;f>>8^l[255&(a^s[f])];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,f=4,d=0,p=-2,g=-1,y=4,R=2,m=8,v=9,x=286,_=30,E=19,N=2*x+1,U=15,O=3,Q=258,ne=Q+O+1,T=42,I=113,b=1,M=2,C=3,F=4;function A(D,oe){return D.msg=l[oe],oe}function B(D){return(D<<1)-(4D.avail_out&&(W=D.avail_out),W!==0&&(a.arraySet(D.output,oe.pending_buf,oe.pending_out,W,D.next_out),D.next_out+=W,oe.pending_out+=W,D.total_out+=W,D.avail_out-=W,oe.pending-=W,oe.pending===0&&(oe.pending_out=0))}function L(D,oe){s._tr_flush_block(D,0<=D.block_start?D.block_start:-1,D.strstart-D.block_start,oe),D.block_start=D.strstart,V(D.strm)}function z(D,oe){D.pending_buf[D.pending++]=oe}function q(D,oe){D.pending_buf[D.pending++]=oe>>>8&255,D.pending_buf[D.pending++]=255&oe}function se(D,oe){var W,w,S=D.max_chain_length,P=D.strstart,J=D.prev_length,ie=D.nice_match,K=D.strstart>D.w_size-ne?D.strstart-(D.w_size-ne):0,j=D.window,re=D.w_mask,ce=D.prev,he=D.strstart+Q,ve=j[P+J-1],_e=j[P+J];D.prev_length>=D.good_match&&(S>>=2),ie>D.lookahead&&(ie=D.lookahead);do if(j[(W=oe)+J]===_e&&j[W+J-1]===ve&&j[W]===j[P]&&j[++W]===j[P+1]){P+=2,W++;do;while(j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&PK&&--S!=0);return J<=D.lookahead?J:D.lookahead}function ae(D){var oe,W,w,S,P,J,ie,K,j,re,ce=D.w_size;do{if(S=D.window_size-D.lookahead-D.strstart,D.strstart>=ce+(ce-ne)){for(a.arraySet(D.window,D.window,ce,ce,0),D.match_start-=ce,D.strstart-=ce,D.block_start-=ce,oe=W=D.hash_size;w=D.head[--oe],D.head[oe]=ce<=w?w-ce:0,--W;);for(oe=W=ce;w=D.prev[--oe],D.prev[oe]=ce<=w?w-ce:0,--W;);S+=ce}if(D.strm.avail_in===0)break;if(J=D.strm,ie=D.window,K=D.strstart+D.lookahead,j=S,re=void 0,re=J.avail_in,j=O)for(P=D.strstart-D.insert,D.ins_h=D.window[P],D.ins_h=(D.ins_h<=O&&(D.ins_h=(D.ins_h<=O)if(w=s._tr_tally(D,D.strstart-D.match_start,D.match_length-O),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=O){for(D.match_length--;D.strstart++,D.ins_h=(D.ins_h<=O&&(D.ins_h=(D.ins_h<=O&&D.match_length<=D.prev_length){for(S=D.strstart+D.lookahead-O,w=s._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-O),D.lookahead-=D.prev_length-1,D.prev_length-=2;++D.strstart<=S&&(D.ins_h=(D.ins_h<D.pending_buf_size-5&&(W=D.pending_buf_size-5);;){if(D.lookahead<=1){if(ae(D),D.lookahead===0&&oe===h)return b;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var w=D.block_start+W;if((D.strstart===0||D.strstart>=w)&&(D.lookahead=D.strstart-w,D.strstart=w,L(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-ne&&(L(D,!1),D.strm.avail_out===0))return b}return D.insert=0,oe===f?(L(D,!0),D.strm.avail_out===0?C:F):(D.strstart>D.block_start&&(L(D,!1),D.strm.avail_out),b)}),new k(4,4,8,4,Y),new k(4,5,16,8,Y),new k(4,6,32,32,Y),new k(4,4,16,16,X),new k(8,16,32,32,X),new k(8,16,128,128,X),new k(8,32,128,256,X),new k(32,128,258,1024,X),new k(32,258,258,4096,X)],i.deflateInit=function(D,oe){return pe(D,oe,m,15,8,0)},i.deflateInit2=pe,i.deflateReset=te,i.deflateResetKeep=H,i.deflateSetHeader=function(D,oe){return D&&D.state?D.state.wrap!==2?p:(D.state.gzhead=oe,d):p},i.deflate=function(D,oe){var W,w,S,P;if(!D||!D.state||5>8&255),z(w,w.gzhead.time>>16&255),z(w,w.gzhead.time>>24&255),z(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),z(w,255&w.gzhead.os),w.gzhead.extra&&w.gzhead.extra.length&&(z(w,255&w.gzhead.extra.length),z(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):(z(w,0),z(w,0),z(w,0),z(w,0),z(w,0),z(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),z(w,3),w.status=I);else{var J=m+(w.w_bits-8<<4)<<8;J|=(2<=w.strategy||w.level<2?0:w.level<6?1:w.level===6?2:3)<<6,w.strstart!==0&&(J|=32),J+=31-J%31,w.status=I,q(w,J),w.strstart!==0&&(q(w,D.adler>>>16),q(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)),V(D),S=w.pending,w.pending!==w.pending_buf_size));)z(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)),V(D),S=w.pending,w.pending===w.pending_buf_size)){P=1;break}P=w.gzindexS&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),P===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)),V(D),S=w.pending,w.pending===w.pending_buf_size)){P=1;break}P=w.gzindexS&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),P===0&&(w.status=103)}else w.status=103;if(w.status===103&&(w.gzhead.hcrc?(w.pending+2>w.pending_buf_size&&V(D),w.pending+2<=w.pending_buf_size&&(z(w,255&D.adler),z(w,D.adler>>8&255),D.adler=0,w.status=I)):w.status=I),w.pending!==0){if(V(D),D.avail_out===0)return w.last_flush=-1,d}else if(D.avail_in===0&&B(oe)<=B(W)&&oe!==f)return A(D,-5);if(w.status===666&&D.avail_in!==0)return A(D,-5);if(D.avail_in!==0||w.lookahead!==0||oe!==h&&w.status!==666){var ie=w.strategy===2?function(K,j){for(var re;;){if(K.lookahead===0&&(ae(K),K.lookahead===0)){if(j===h)return b;break}if(K.match_length=0,re=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++,re&&(L(K,!1),K.strm.avail_out===0))return b}return K.insert=0,j===f?(L(K,!0),K.strm.avail_out===0?C:F):K.last_lit&&(L(K,!1),K.strm.avail_out===0)?b:M}(w,oe):w.strategy===3?function(K,j){for(var re,ce,he,ve,_e=K.window;;){if(K.lookahead<=Q){if(ae(K),K.lookahead<=Q&&j===h)return b;if(K.lookahead===0)break}if(K.match_length=0,K.lookahead>=O&&0K.lookahead&&(K.match_length=K.lookahead)}if(K.match_length>=O?(re=s._tr_tally(K,1,K.match_length-O),K.lookahead-=K.match_length,K.strstart+=K.match_length,K.match_length=0):(re=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++),re&&(L(K,!1),K.strm.avail_out===0))return b}return K.insert=0,j===f?(L(K,!0),K.strm.avail_out===0?C:F):K.last_lit&&(L(K,!1),K.strm.avail_out===0)?b:M}(w,oe):o[w.level].func(w,oe);if(ie!==C&&ie!==F||(w.status=666),ie===b||ie===C)return D.avail_out===0&&(w.last_flush=-1),d;if(ie===M&&(oe===1?s._tr_align(w):oe!==5&&(s._tr_stored_block(w,0,0,!1),oe===3&&($(w.head),w.lookahead===0&&(w.strstart=0,w.block_start=0,w.insert=0))),V(D),D.avail_out===0))return w.last_flush=-1,d}return oe!==f?d:w.wrap<=0?1:(w.wrap===2?(z(w,255&D.adler),z(w,D.adler>>8&255),z(w,D.adler>>16&255),z(w,D.adler>>24&255),z(w,255&D.total_in),z(w,D.total_in>>8&255),z(w,D.total_in>>16&255),z(w,D.total_in>>24&255)):(q(w,D.adler>>>16),q(w,65535&D.adler)),V(D),0=W.w_size&&(P===0&&($(W.head),W.strstart=0,W.block_start=0,W.insert=0),j=new a.Buf8(W.w_size),a.arraySet(j,oe,re-W.w_size,W.w_size,0),oe=j,re=W.w_size),J=D.avail_in,ie=D.next_in,K=D.input,D.avail_in=re,D.next_in=0,D.input=oe,ae(W);W.lookahead>=O;){for(w=W.strstart,S=W.lookahead-(O-1);W.ins_h=(W.ins_h<>>=O=U>>>24,v-=O,(O=U>>>16&255)===0)M[l++]=65535&U;else{if(!(16&O)){if((64&O)==0){U=x[(65535&U)+(m&(1<>>=O,v-=O),v<15&&(m+=b[c++]<>>=O=U>>>24,v-=O,!(16&(O=U>>>16&255))){if((64&O)==0){U=_[(65535&U)+(m&(1<>>=O,v-=O,(O=l-h)>3,m&=(1<<(v-=Q<<3))-1,o.next_in=c,o.next_out=l,o.avail_in=c>>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,f):d}function x(T){var I;return T&&T.state?((I=T.state).wsize=0,I.whave=0,I.wnext=0,v(T)):d}function _(T,I){var b,M;return T&&T.state?(M=T.state,I<0?(b=0,I=-I):(b=1+(I>>4),I<48&&(I&=15)),I&&(I<8||15=F.wsize?(o.arraySet(F.window,I,b-F.wsize,F.wsize,0),F.wnext=0,F.whave=F.wsize):(M<(C=F.wsize-F.wnext)&&(C=M),o.arraySet(F.window,I,b-M,C,F.wnext),(M-=C)?(o.arraySet(F.window,I,b-M,M,0),F.wnext=M,F.whave=F.wsize):(F.wnext+=C,F.wnext===F.wsize&&(F.wnext=0),F.whave>>8&255,b.check=s(b.check,P,2,0),L=V=0,b.mode=2;break}if(b.flags=0,b.head&&(b.head.done=!1),!(1&b.wrap)||(((255&V)<<8)+(V>>8))%31){T.msg="incorrect header check",b.mode=30;break}if((15&V)!=8){T.msg="unknown compression method",b.mode=30;break}if(L-=4,D=8+(15&(V>>>=4)),b.wbits===0)b.wbits=D;else if(D>b.wbits){T.msg="invalid window size",b.mode=30;break}b.dmax=1<>8&1),512&b.flags&&(P[0]=255&V,P[1]=V>>>8&255,b.check=s(b.check,P,2,0)),L=V=0,b.mode=3;case 3:for(;L<32;){if(B===0)break e;B--,V+=M[F++]<>>8&255,P[2]=V>>>16&255,P[3]=V>>>24&255,b.check=s(b.check,P,4,0)),L=V=0,b.mode=4;case 4:for(;L<16;){if(B===0)break e;B--,V+=M[F++]<>8),512&b.flags&&(P[0]=255&V,P[1]=V>>>8&255,b.check=s(b.check,P,2,0)),L=V=0,b.mode=5;case 5:if(1024&b.flags){for(;L<16;){if(B===0)break e;B--,V+=M[F++]<>>8&255,b.check=s(b.check,P,2,0)),L=V=0}else b.head&&(b.head.extra=null);b.mode=6;case 6:if(1024&b.flags&&(B<(se=b.length)&&(se=B),se&&(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,M,F,se,D)),512&b.flags&&(b.check=s(b.check,M,se,F)),B-=se,F+=se,b.length-=se),b.length))break e;b.length=0,b.mode=7;case 7:if(2048&b.flags){if(B===0)break e;for(se=0;D=M[F+se++],b.head&&D&&b.length<65536&&(b.head.name+=String.fromCharCode(D)),D&&se>9&1,b.head.done=!0),T.adler=b.check=0,b.mode=12;break;case 10:for(;L<32;){if(B===0)break e;B--,V+=M[F++]<>>=7&L,L-=7&L,b.mode=27;break}for(;L<3;){if(B===0)break e;B--,V+=M[F++]<>>=1)){case 0:b.mode=14;break;case 1:if(Q(b),b.mode=20,I!==6)break;V>>>=2,L-=2;break e;case 2:b.mode=17;break;case 3:T.msg="invalid block type",b.mode=30}V>>>=2,L-=2;break;case 14:for(V>>>=7&L,L-=7&L;L<32;){if(B===0)break e;B--,V+=M[F++]<>>16^65535)){T.msg="invalid stored block lengths",b.mode=30;break}if(b.length=65535&V,L=V=0,b.mode=15,I===6)break e;case 15:b.mode=16;case 16:if(se=b.length){if(B>>=5,L-=5,b.ndist=1+(31&V),V>>>=5,L-=5,b.ncode=4+(15&V),V>>>=4,L-=4,286>>=3,L-=3}for(;b.have<19;)b.lens[J[b.have++]]=0;if(b.lencode=b.lendyn,b.lenbits=7,W={bits:b.lenbits},oe=u(0,b.lens,0,19,b.lencode,0,b.work,W),b.lenbits=W.bits,oe){T.msg="invalid code lengths set",b.mode=30;break}b.have=0,b.mode=19;case 19:for(;b.have>>16&255,G=65535&S,!((X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>>=X,L-=X,b.lens[b.have++]=G;else{if(G===16){for(w=X+2;L>>=X,L-=X,b.have===0){T.msg="invalid bit length repeat",b.mode=30;break}D=b.lens[b.have-1],se=3+(3&V),V>>>=2,L-=2}else if(G===17){for(w=X+3;L>>=X)),V>>>=3,L-=3}else{for(w=X+7;L>>=X)),V>>>=7,L-=7}if(b.have+se>b.nlen+b.ndist){T.msg="invalid bit length repeat",b.mode=30;break}for(;se--;)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,W={bits:b.lenbits},oe=u(l,b.lens,0,b.nlen,b.lencode,0,b.work,W),b.lenbits=W.bits,oe){T.msg="invalid literal/lengths set",b.mode=30;break}if(b.distbits=6,b.distcode=b.distdyn,W={bits:b.distbits},oe=u(h,b.lens,b.nlen,b.ndist,b.distcode,0,b.work,W),b.distbits=W.bits,oe){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<=B&&258<=$){T.next_out=A,T.avail_out=$,T.next_in=F,T.avail_in=B,b.hold=V,b.bits=L,c(T,q),A=T.next_out,C=T.output,$=T.avail_out,F=T.next_in,M=T.input,B=T.avail_in,V=b.hold,L=b.bits,b.mode===12&&(b.back=-1);break}for(b.back=0;k=(S=b.lencode[V&(1<>>16&255,G=65535&S,!((X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>H)])>>>16&255,G=65535&S,!(H+(X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>>=H,L-=H,b.back+=H}if(V>>>=X,L-=X,b.back+=X,b.length=G,k===0){b.mode=26;break}if(32&k){b.back=-1,b.mode=12;break}if(64&k){T.msg="invalid literal/length code",b.mode=30;break}b.extra=15&k,b.mode=22;case 22:if(b.extra){for(w=b.extra;L>>=b.extra,L-=b.extra,b.back+=b.extra}b.was=b.length,b.mode=23;case 23:for(;k=(S=b.distcode[V&(1<>>16&255,G=65535&S,!((X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>H)])>>>16&255,G=65535&S,!(H+(X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>>=H,L-=H,b.back+=H}if(V>>>=X,L-=X,b.back+=X,64&k){T.msg="invalid distance code",b.mode=30;break}b.offset=G,b.extra=15&k,b.mode=24;case 24:if(b.extra){for(w=b.extra;L>>=b.extra,L-=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($===0)break e;if(se=q-$,b.offset>se){if((se=b.offset-se)>b.whave&&b.sane){T.msg="invalid distance too far back",b.mode=30;break}ae=se>b.wnext?(se-=b.wnext,b.wsize-se):b.wnext-se,se>b.length&&(se=b.length),Y=b.window}else Y=C,ae=A-b.offset,se=b.length;for($N?(O=ae[Y+y[I]],L[z+y[I]]):(O=96,0),m=1<>A)+(v-=m)]=U<<24|O<<16|Q|0,v!==0;);for(m=1<>=1;if(m!==0?(V&=m-1,V+=m):V=0,I++,--q[T]==0){if(T===M)break;T=h[f+y[I]]}if(C>>7)]}function z(S,P){S.pending_buf[S.pending++]=255&P,S.pending_buf[S.pending++]=P>>>8&255}function q(S,P,J){S.bi_valid>R-J?(S.bi_buf|=P<>R-S.bi_valid,S.bi_valid+=J-R):(S.bi_buf|=P<>>=1,J<<=1,0<--P;);return J>>>1}function Y(S,P,J){var ie,K,j=new Array(y+1),re=0;for(ie=1;ie<=y;ie++)j[ie]=re=re+J[ie-1]<<1;for(K=0;K<=P;K++){var ce=S[2*K+1];ce!==0&&(S[2*K]=ae(j[ce]++,ce))}}function X(S){var P;for(P=0;P>1;1<=J;J--)H(S,j,J);for(K=he;J=S.heap[1],S.heap[1]=S.heap[S.heap_len--],H(S,j,1),ie=S.heap[1],S.heap[--S.heap_max]=J,S.heap[--S.heap_max]=ie,j[2*K]=j[2*J]+j[2*ie],S.depth[K]=(S.depth[J]>=S.depth[ie]?S.depth[J]:S.depth[ie])+1,j[2*J+1]=j[2*ie+1]=K,S.heap[1]=K++,H(S,j,1),2<=S.heap_len;);S.heap[--S.heap_max]=S.heap[1],function(_e,Fe){var Xe,Qe,Ge,Ve,at,It,Rt=Fe.dyn_tree,On=Fe.max_code,or=Fe.stat_desc.static_tree,qt=Fe.stat_desc.has_stree,ar=Fe.stat_desc.extra_bits,Kn=Fe.stat_desc.extra_base,en=Fe.stat_desc.max_length,hn=0;for(Ve=0;Ve<=y;Ve++)_e.bl_count[Ve]=0;for(Rt[2*_e.heap[_e.heap_max]+1]=0,Xe=_e.heap_max+1;Xe>=7;K>>=1)if(1&ve&&ce.dyn_ltree[2*he]!==0)return a;if(ce.dyn_ltree[18]!==0||ce.dyn_ltree[20]!==0||ce.dyn_ltree[26]!==0)return s;for(he=32;he>>3,(j=S.static_len+3+7>>>3)<=K&&(K=j)):K=j=J+5,J+4<=K&&P!==-1?w(S,P,J,ie):S.strategy===4||j===K?(q(S,2+(ie?1:0),3),te(S,ne,T)):(q(S,4+(ie?1:0),3),function(ce,he,ve,_e){var Fe;for(q(ce,he-257,5),q(ce,ve-1,5),q(ce,_e-4,4),Fe=0;Fe<_e;Fe++)q(ce,ce.bl_tree[2*Q[Fe]+1],3);oe(ce,ce.dyn_ltree,he-1),oe(ce,ce.dyn_dtree,ve-1)}(S,S.l_desc.max_code+1,S.d_desc.max_code+1,re+1),te(S,S.dyn_ltree,S.dyn_dtree)),X(S),ie&&k(S)},i._tr_tally=function(S,P,J){return S.pending_buf[S.d_buf+2*S.last_lit]=P>>>8&255,S.pending_buf[S.d_buf+2*S.last_lit+1]=255&P,S.pending_buf[S.l_buf+S.last_lit]=255&J,S.last_lit++,P===0?S.dyn_ltree[2*J]++:(S.matches++,P--,S.dyn_ltree[2*(b[J]+h+1)]++,S.dyn_dtree[2*L(P)]++),S.last_lit===S.lit_bufsize-1},i._tr_align=function(S){q(S,2,3),se(S,v,ne),function(P){P.bi_valid===16?(z(P,P.bi_buf),P.bi_buf=0,P.bi_valid=0):8<=P.bi_valid&&(P.pending_buf[P.pending++]=255&P.bi_buf,P.bi_buf>>=8,P.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,f=1,d={},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,_=a.onmessage;return a.onmessage=function(){x=!1},a.postMessage("","*"),a.onmessage=_,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 _=g.createElement("script");_.onreadystatechange=function(){m(x),_.onreadystatechange=null,u.removeChild(_),_=null},u.appendChild(_)}):function(x){setTimeout(m,0,x)},y.setImmediate=function(x){typeof x!="function"&&(x=new Function(""+x));for(var _=new Array(arguments.length-1),E=0;E<_.length;E++)_[E]=arguments[E+1];var N={callback:x,args:_};return d[f]=N,c(f),f++},y.clearImmediate=R}function R(x){delete d[x]}function m(x){if(p)setTimeout(m,0,x);else{var _=d[x];if(_){p=!0;try{(function(E){var N=E.callback,U=E.args;switch(U.length){case 0:N();break;case 1:N(U[0]);break;case 2:N(U[0],U[1]);break;case 3:N(U[0],U[1],U[2]);break;default:N.apply(s,U)}})(_)}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 Kr!="undefined"?Kr:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})})(k2);var NN=k2.exports;const FN=FR(NN);var vu={exports:{}},PN={"&":"&",'"':""","'":"'","<":"<",">":">"};function LN(t){return t&&t.replace?t.replace(/([&"<>'])/g,function(e,n){return PN[n]}):t}var MN=LN,Ed=MN,qg=gf.Stream,CN=" ";function AN(t,e){typeof e!="object"&&(e={indent:e});var n=e.stream?new qg:null,r="",i=!1,o=e.indent?e.indent===!0?CN:e.indent:"",a=!0;function s(f){a?nt.nextTick(f):f()}function c(f,d){if(d!==void 0&&(r+=d),f&&!i&&(n=n||new qg,i=!0),f&&i){var p=r;s(function(){n.emit("data",p)}),r=""}}function u(f,d){Ef(c,bu(f,o,o?1:0),d)}function l(){if(n){var f=r;s(function(){n.emit("data",f),n.emit("end"),n.readable=!1,n.emit("close")})}}function h(f){var d=f.encoding||"UTF-8",p={version:"1.0",encoding:d};f.standalone&&(p.standalone=f.standalone),u({"?xml":{_attr:p}}),r=r.replace("/>","?>")}return s(function(){a=!1}),e.declaration&&h(e.declaration),t&&t.forEach?t.forEach(function(f,d){var p;d+1===t.length&&(p=l),u(f,p)}):u(t,l),n?(n.readable=!0,n):r}function UN(){var t=Array.prototype.slice.call(arguments),e={_elem:bu(t)};return e.push=function(n){if(!this.append)throw new Error("not assigned to a parent!");var r=this,i=this._elem.indent;Ef(this.append,bu(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 WN(t,e){return new Array(e||0).join(t||"")}function bu(t,e,n){n=n||0;var r=WN(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(f){var d=Object.keys(f);d.forEach(function(p){c.push(XN(p,f[p]))})}switch(typeof o){case"object":if(o===null)break;o._attr&&h(o._attr),o._cdata&&u.push(("/g,"]]]]>")+"]]>"),o.forEach&&(l=!1,u.push(""),o.forEach(function(f){if(typeof f=="object"){var d=Object.keys(f)[0];d=="_attr"?h(f._attr):u.push(bu(f,e,n+1))}else u.pop(),l=!0,u.push(Ed(f))}),l||u.push(""));break;default:u.push(Ed(o))}return{name:i,interrupt:a,attributes:c,content:u,icount:n,indents:r,indent:e}}function Ef(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;Ef(t,a)}}t(!1,(r>1?e.indents:"")+(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 XN(t,e){return t+'="'+Ed(e)+'"'}vu.exports=AN;vu.exports.element=vu.exports.Element=UN;var VN=vu.exports;const Ht=FR(VN),e0=0,t0=32,YN=32,BN=(t,e)=>{const n=e.replace(/-/g,"");if(n.length!==YN)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(e0,t0).map((c,u)=>c^i[u%i.length]);return Buffer.concat([t.slice(0,e0),a,t.slice(t0)])};class kN{format(e,n={stack:[]}){const r=e.prepForXml(n);if(r)return r;throw Error("XMLComponent did not format correctly")}}class ZN{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 QN{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 KN{constructor(){xe(this,"formatter"),xe(this,"imageReplacer"),xe(this,"numberingReplacer"),this.formatter=new kN,this.imageReplacer=new ZN,this.numberingReplacer=new QN}compile(e,n){const r=new FN,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`,BN(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 HN={NONE:"",WITH_2_BLANKS:" ",WITH_4_BLANKS:" ",WITH_TAB:" "},ja=t=>t===!0?HN.WITH_2_BLANKS:t===!1?void 0:t;class nu{static toString(e,n){return Dc(this,null,function*(){return yield this.compiler.compile(e,ja(n)).generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBuffer(e,n){return Dc(this,null,function*(){return yield this.compiler.compile(e,ja(n)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBase64String(e,n){return Dc(this,null,function*(){return yield this.compiler.compile(e,ja(n)).generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBlob(e,n){return Dc(this,null,function*(){return yield this.compiler.compile(e,ja(n)).generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toStream(e,n){const r=new gf.Stream;return this.compiler.compile(e,ja(n)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(o=>{r.emit("data",o),r.emit("end")}),r}}xe(nu,"compiler",new KN);function GN(t,e){const n=document.createElement("a");n.href=window.URL.createObjectURL(t),n.download=e,n.click(),window.URL.revokeObjectURL(n.href)}const JN={[mt.FIRST]:Co.HEADING_1,[mt.SECOND]:Co.HEADING_2,[mt.THIRD]:Co.HEADING_3,[mt.FOURTH]:Co.HEADING_4,[mt.FIFTH]:Co.HEADING_5,[mt.SIXTH]:Co.HEADING_6};function Mh(t){var e;return t.type===fe.IMAGE?new KE({data:t.value,transformation:{width:t.width,height:t.height}}):t.type===fe.HYPERLINK?new L2({children:[new ua({text:(e=t.valueList)==null?void 0:e.map(n=>n.value).join(""),style:"Hyperlink"})],link:t.url}):t.type===fe.TAB?new ua({children:[new $E]}):t.type===fe.LATEX?new Y3(t.value):new ua({font:t.font,text:t.value,bold:t.bold,size:`${(t.size||16)/.75}pt`,color:Z1(t.color).hex()||"#000000",italics:t.italic,strike:t.strikeout,highlight:t.highlight?Z1(t.highlight).hex():void 0,superScript:t.type===fe.SUPERSCRIPT,subScript:t.type===fe.SUBSCRIPT,underline:t.underline?{}:void 0})}function ru(t){var i,o,a;const e=[];let n=[];function r(){n.length&&(e.push(new Wi({children:n})),n=[])}for(let s=0;sMh(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 Wi({children:[new ua({text:`${!c.listStyle||c.listStyle===ur.DECIMAL?`${h+1}. `:"\u2022 "}${l}`})]})))||[];e.push(...u)}else if(c.type===fe.TABLE){r();const{trList:u}=c,l=[];for(let h=0;hMh(u)))||[]):(/^\n/.test(c.value)&&(r(),c.value=c.value.replace(/^\n/,"")),n.push(Mh(c)))}return r(),e}function zN(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 n0(t,e){const{fileName:n,exportType:r}=e,{data:{header:i,main:o,footer:a}}=t.getValue(),s=new ON({sections:[{headers:{default:new EN({children:ru(i||[])})},footers:{default:new IN({children:ru(a||[])})},children:ru(o||[])}]});return r==="blob"?nu.toBlob(s):r==="base64"?new Promise((c,u)=>{nu.toBlob(s).then(l=>{zN(l).then(h=>{c(h)}).catch(h=>{u(h)})}).catch(l=>{u(l)})}):new Promise((c,u)=>{nu.toBlob(s).then(l=>{GN(l,`${n}.docx`),c()}).catch(u)})}var Cr={},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",f=typeof DataView!="undefined",d=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"],_=Math.pow(2,53)-1;function E(Z,ee){return ee=ee==null?Z.length-1:+ee,function(){for(var le=Math.max(arguments.length-ee,0),de=Array(le),Re=0;Re=0&&le<=_}}function w(Z){return function(ee){return ee==null?void 0:ee[Z]}}var S=w("byteLength"),P=W(S),J=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ie(Z){return y?y(Z)&&!X(Z):P(Z)&&J.test(u.call(Z))}var K=h?ie:oe(!1),j=w("length");function re(Z){for(var ee={},le=Z.length,de=0;de":">",'"':""","'":"'","`":"`"},Nt=tt(xt),mr=Ba(xt),$i=tt(mr),nn=Fe.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Dl=/(.)^/,Pb={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Lb=/\\|'|\r|\n|\u2028|\u2029/g;function Mb(Z){return"\\"+Pb[Z]}var Cb=/^\s*(\w|\$)+\s*$/;function Ab(Z,ee,le){!ee&&le&&(ee=le),ee=ka({},ee,Fe.templateSettings);var de=RegExp([(ee.escape||Dl).source,(ee.interpolate||Dl).source,(ee.evaluate||Dl).source].join("|")+"|$","g"),Re=0,me="__p+='";Z.replace(de,function($e,dn,Wn,T1,S1){return me+=Z.slice(Re,S1).replace(Lb,Mb),Re=S1+$e.length,dn?me+=`'+ ((__t=(`+dn+`))==null?'':_.escape(__t))+ '`:Wn?me+=`'+ ((__t=(`+Wn+`))==null?'':__t)+ '`:T1&&(me+=`'; `+T1+` __p+='`),$e}),me+=`'; `;var Oe=ee.variable;if(Oe){if(!Cb.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,Fe)};return et.source="function("+Oe+`){ `+me+"}",et}function Ub(Z,ee,le){ee=Di(ee);var de=ee.length;if(!de)return L(le)?le.call(Z):le;for(var Re=0;Re1)ji(Ce,ee-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 Yb=E(function(Z,ee){ee=ji(ee,!1,!1);var le=ee.length;if(le<1)throw new Error("bindAll must be passed function names");for(;le--;){var de=ee[le];Z[de]=r1(Z[de],Z)}return Z});function Bb(Z,ee){var le=function(de){var Re=le.cache,me=""+(ee?ee.apply(this,arguments):de);return G(Re,me)||(Re[me]=Z.apply(this,arguments)),Re[me]};return le.cache={},le}var i1=E(function(Z,ee,le){return setTimeout(function(){return Z.apply(null,le)},ee)}),kb=Lo(i1,Fe,1);function Zb(Z,ee,le){var de,Re,me,Oe,Ce=0;le||(le={});var et=function(){Ce=le.leading===!1?0:ze(),de=null,Oe=Z.apply(Re,me),de||(Re=me=null)},$e=function(){var dn=ze();!Ce&&le.leading===!1&&(Ce=dn);var Wn=ee-(dn-Ce);return Re=this,me=arguments,Wn<=0||Wn>ee?(de&&(clearTimeout(de),de=null),Ce=dn,Oe=Z.apply(Re,me),de||(Re=me=null)):!de&&le.trailing!==!1&&(de=setTimeout(et,Wn)),Oe};return $e.cancel=function(){clearTimeout(de),Ce=0,de=Re=me=null},$e}function Qb(Z,ee,le){var de,Re,me,Oe,Ce,et=function(){var dn=ze()-Re;ee>dn?de=setTimeout(et,ee-dn):(de=null,le||(Oe=Z.apply(Ce,me)),de||(me=Ce=null))},$e=E(function(dn){return Ce=this,me=dn,Re=ze(),de||(de=setTimeout(et,ee),le&&(Oe=Z.apply(Ce,me))),Oe});return $e.cancel=function(){clearTimeout(de),de=me=Ce=null},$e}function Kb(Z,ee){return Lo(ee,Z)}function _l(Z){return function(){return!Z.apply(this,arguments)}}function Hb(){var Z=arguments,ee=Z.length-1;return function(){for(var le=ee,de=Z[ee].apply(this,arguments);le--;)de=Z[le].call(this,de);return de}}function Gb(Z,ee){return function(){if(--Z<1)return ee.apply(this,arguments)}}function o1(Z,ee){var le;return function(){return--Z>0&&(le=ee.apply(this,arguments)),Z<=1&&(ee=null),le}}var Jb=Lo(o1,2);function a1(Z,ee,le){ee=we(ee,le);for(var de=he(Z),Re,me=0,Oe=de.length;me0?0:Re-1;me>=0&&me0?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=ee(c.call(de,Oe,Ce),D),me>=0?me+Oe:-1;for(me=Z>0?Oe:Ce-1;me>=0&&me0?0:Ce-1;for(me||(Re=le[Oe?Oe[et]:et],et+=Z);et>=0&&et=3;return ee(le,zi(de,me,4),Re,Oe)}}var Il=d1(1),f1=d1(-1);function Mo(Z,ee,le){var de=[];return ee=we(ee,le),ai(Z,function(Re,me,Oe){ee(Re,me,Oe)&&de.push(Re)}),de}function jb(Z,ee,le){return Mo(Z,_l(we(ee)),le)}function p1(Z,ee,le){ee=we(ee,le);for(var de=!sr(Z)&&he(Z),Re=(de||Z).length,me=0;me=0}var qb=E(function(Z,ee,le){var de,Re;return L(ee)?Re=ee:(ee=Di(ee),de=ee.slice(0,-1),ee=ee[ee.length-1]),qi(Z,function(me){var Oe=Re;if(!Oe){if(de&&de.length&&(me=Za(me,de)),me==null)return;Oe=me[ee]}return Oe==null?Oe:Oe.apply(me,le)})});function Nl(Z,ee){return qi(Z,Qa(ee))}function ex(Z,ee){return Mo(Z,_i(ee))}function m1(Z,ee,le){var de=-1/0,Re=-1/0,me,Oe;if(ee==null||typeof ee=="number"&&typeof Z[0]!="object"&&Z!=null){Z=sr(Z)?Z:oi(Z);for(var Ce=0,et=Z.length;Cede&&(de=me)}else ee=we(ee,le),ai(Z,function($e,dn,Wn){Oe=ee($e,dn,Wn),(Oe>Re||Oe===-1/0&&de===-1/0)&&(de=$e,Re=Oe)});return de}function tx(Z,ee,le){var de=1/0,Re=1/0,me,Oe;if(ee==null||typeof ee=="number"&&typeof Z[0]!="object"&&Z!=null){Z=sr(Z)?Z:oi(Z);for(var Ce=0,et=Z.length;CeCe||Oe===void 0)return 1;if(Oe1&&(de=zi(de,ee[1])),ee=It(Z)):(de=lx,ee=ji(ee,!1,!1),Z=Object(Z));for(var Re=0,me=ee.length;Re1&&(de=ee[1])):(ee=qi(ji(ee,!1,!1),String),le=function(Re,me){return!si(ee,me)}),v1(Z,le,de)});function b1(Z,ee,le){return c.call(Z,0,Math.max(0,Z.length-(ee==null||le?1:ee)))}function Fl(Z,ee,le){return Z==null||Z.length<1?ee==null||le?void 0:[]:ee==null||le?Z[0]:b1(Z,Z.length-ee)}function yc(Z,ee,le){return c.call(Z,ee==null||le?1:ee)}function dx(Z,ee,le){return Z==null||Z.length<1?ee==null||le?void 0:[]:ee==null||le?Z[Z.length-1]:yc(Z,Math.max(0,Z.length-ee))}function fx(Z){return Mo(Z,Boolean)}function px(Z,ee){return ji(Z,ee,!1)}var x1=E(function(Z,ee){return ee=ji(ee,!0,!0),Mo(Z,function(le){return!si(ee,le)})}),gx=E(function(Z,ee){return x1(Z,ee)});function Pl(Z,ee,le,de){Q(ee)||(de=le,le=ee,ee=!1),le!=null&&(le=we(le,de));for(var Re=[],me=[],Oe=0,Ce=j(Z);Oe1,r=e.length>0&&!(e.length===1&&e[0]==="constructor"),i=mF.test(t+"")&&jn.names(t).length>0;if(n||r||i)return!0}return!1}catch{return!1}}function yF(t){return t}var vF=/^[a-z$_][a-z$_0-9]*$/i;function bF(t){return vF.test(t)}function xF(t,e,n){for(var r=new Array(t),i=0;i10||t[0]>0}();va.isNode&&va.toFastProperties(process);try{throw new Error}catch(t){va.lastLineError=t}var At=va,Ff={exports:{}},Pd=At,io,FF=function(){throw new Error(`No async scheduler available See http://goo.gl/MqrFmX `)},Ah=Pd.getNativePromise();if(Pd.isNode&&typeof MutationObserver=="undefined"){var PF=qe.setImmediate,LF=process.nextTick;io=Pd.isRecentNode?function(t){PF.call(qe,t)}:function(t){LF.call(process,t)}}else if(typeof Ah=="function"&&typeof Ah.resolve=="function"){var MF=Ah.resolve();io=function(t){MF.then(t)}}else typeof MutationObserver!="undefined"&&!(typeof window!="undefined"&&window.navigator&&(window.navigator.standalone||window.cordova))?io=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"?io=function(t){setImmediate(t)}:typeof setTimeout!="undefined"?io=function(t){setTimeout(t,0)}:io=FF;var CF=io;function AF(t,e,n,r,i){for(var o=0;o0;){var e=t.shift();if(typeof e!="function"){e._settlePromises();continue}var n=t.shift(),r=t.shift();e.call(n,r)}};Rn.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};Rn.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))};Rn.prototype._reset=function(){this._isTickUsed=!1};Ff.exports=Rn;Ff.exports.firstLineError=z2;var Pf=Bi.exports,XF=Pf.freeze,j2=At,q2=j2.inherits,$o=j2.notEnumerableProp;function ba(t,e){function n(r){if(!(this instanceof n))return new n(r);$o(this,"message",typeof r=="string"?r:e),$o(this,"name",t),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return q2(n,Error),n}var Ld,Md,VF=ba("Warning","warning"),YF=ba("CancellationError","cancellation error"),BF=ba("TimeoutError","timeout error"),Ys=ba("AggregateError","aggregate error");try{Ld=TypeError,Md=RangeError}catch{Ld=ba("TypeError","type error"),Md=ba("RangeError","range error")}var Ac="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(var qa=0;qa=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=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},KF=function(t,e){var n=t._getDomain,r=t._async,i=ki.Warning,o=At,a=o.canAttachTrace,s,c,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,l=/\((?:timers\.js):\d+:\d+\)/,h=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,f=null,d=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(){te("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(),te("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,re,ce){return q(j,re,ce||this)},t.onPossiblyUnhandledRejection=function(j){var re=n();c=typeof j=="function"?re===null?j:o.domainBind(re,j):void 0},t.onUnhandledRejectionHandled=function(j){var re=n();s=typeof j=="function"?re===null?j:o.domainBind(re,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&&oe()){var j=t.prototype._captureStackTrace,re=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=re,e.deactivateLongStackTraces(),r.enableTrampoline(),K.longStackTraces=!1},t.prototype._captureStackTrace=$,t.prototype._attachExtraTrace=V,e.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return K.longStackTraces&&oe()};var _=function(){try{if(typeof CustomEvent=="function"){var j=new CustomEvent("CustomEvent");return o.global.dispatchEvent(j),function(re,ce){var he=new CustomEvent(re.toLowerCase(),{detail:ce,cancelable:!0});return!o.global.dispatchEvent(he)}}else if(typeof Event=="function"){var j=new Event("CustomEvent");return o.global.dispatchEvent(j),function(ce,he){var ve=new Event(ce.toLowerCase(),{cancelable:!0});return ve.detail=he,!o.global.dispatchEvent(ve)}}else{var j=document.createEvent("CustomEvent");return j.initCustomEvent("testingtheevent",!1,!0,{}),o.global.dispatchEvent(j),function(ce,he){var ve=document.createEvent("CustomEvent");return ve.initCustomEvent(ce.toLowerCase(),!1,!0,he),!o.global.dispatchEvent(ve)}}}catch{}return function(){return!1}}(),E=function(){return o.isNode?function(){return process.emit.apply(process,arguments)}:o.global?function(j){var re="on"+j.toLowerCase(),ce=o.global[re];return ce?(ce.apply(o.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function N(j,re){return{promise:re}}var U={promiseCreated:N,promiseFulfilled:N,promiseRejected:N,promiseResolved:N,promiseCancelled:N,promiseChained:function(j,re,ce){return{promise:re,child:ce}},warning:function(j,re){return{warning:re}},unhandledRejection:function(j,re,ce){return{reason:re,promise:ce}},rejectionHandled:N},O=function(j){var re=!1;try{re=E.apply(null,arguments)}catch(he){r.throwLater(he),re=!0}var ce=!1;try{ce=_(j,U[j].apply(null,arguments))}catch(he){r.throwLater(he),ce=!0}return ce||re};t.config=function(j){if(j=Object(j),"longStackTraces"in j&&(j.longStackTraces?t.longStackTraces():!j.longStackTraces&&t.hasLongStackTraces()&&x()),"warnings"in j){var re=j.warnings;K.warnings=!!re,v=K.warnings,o.isObject(re)&&"wForgottenReturn"in re&&(v=!!re.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=M,t.prototype._propagateFrom=C,t.prototype._onCancel=I,t.prototype._setOnCancel=b,t.prototype._attachCancellationCallback=T,t.prototype._execute=ne,A=C,K.cancellation=!0}return"monitoring"in j&&(j.monitoring&&!K.monitoring?(K.monitoring=!0,t.prototype._fireEvent=O):!j.monitoring&&K.monitoring&&(K.monitoring=!1,t.prototype._fireEvent=Q)),t};function Q(){return!1}t.prototype._fireEvent=Q,t.prototype._execute=function(j,re,ce){try{j(re,ce)}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,re){};function ne(j,re,ce){var he=this;try{j(re,ce,function(ve){if(typeof ve!="function")throw new TypeError("onCancel must be a function, got: "+o.toString(ve));he._attachCancellationCallback(ve)})}catch(ve){return ve}}function T(j){if(!this._isCancellable())return this;var re=this._onCancel();re!==void 0?o.isArray(re)?re.push(j):this._setOnCancel([re,j]):this._setOnCancel(j)}function I(){return this._onCancelField}function b(j){this._onCancelField=j}function M(){this._cancellationParent=void 0,this._onCancelField=void 0}function C(j,re){if((re&1)!==0){this._cancellationParent=j;var ce=j._branchesRemainingToCancel;ce===void 0&&(ce=0),j._branchesRemainingToCancel=ce+1}(re&2)!==0&&j._isBound()&&this._setBoundTo(j._boundTo)}function F(j,re){(re&2)!==0&&j._isBound()&&this._setBoundTo(j._boundTo)}var A=F;function B(){var j=this._boundTo;return j!==void 0&&j instanceof t?j.isFulfilled()?j.value():void 0:j}function $(){this._trace=new J(this._peekContext())}function V(j,re){if(a(j)){var ce=this._trace;if(ce!==void 0&&re&&(ce=ce._parent),ce!==void 0)ce.attachExtraTrace(j);else if(!j.__stackCleaned__){var he=G(j);o.notEnumerableProp(j,"stack",he.message+` `+he.stack.join(` `)),o.notEnumerableProp(j,"__stackCleaned__",!0)}}}function L(j,re,ce,he,ve){if(j===void 0&&re!==null&&v){if(ve!==void 0&&ve._returnedNonUndefined()||(he._bitField&65535)===0)return;ce&&(ce=ce+" ");var _e="",Fe="";if(re._trace){for(var Xe=re._trace.stack.split(` `),Qe=X(Xe),Ge=Qe.length-1;Ge>=0;--Ge){var Ve=Qe[Ge];if(!l.test(Ve)){var at=Ve.match(h);at&&(_e="at "+at[1]+":"+at[2]+":"+at[3]+" ");break}}if(Qe.length>0){for(var It=Qe[0],Ge=0;Ge0&&(Fe=` `+Xe[Ge-1]);break}}}var Rt="a promise was created in a "+ce+"handler "+_e+"but was not returned from it, see http://goo.gl/rRqMUw"+Fe;he._warn(Rt,!0,re)}}function z(j,re){var ce=j+" is deprecated and will be removed in a future version.";return re&&(ce+=" Use "+re+" instead."),q(ce)}function q(j,re,ce){if(!!K.warnings){var he=new i(j),ve;if(re)ce._attachExtraTrace(he);else if(K.longStackTraces&&(ve=t._peekContext()))ve.attachExtraTrace(he);else{var _e=G(he);he.stack=_e.message+` `+_e.stack.join(` `)}O("warning",he)||H(he,"",!0)}}function se(j,re){for(var ce=0;ce=0;--Xe)if(he[Xe]===_e){Fe=Xe;break}for(var Xe=Fe;Xe>=0;--Xe){var Qe=he[Xe];if(re[ve]===Qe)re.pop(),ve--;else break}re=he}}function X(j){for(var re=[],ce=0;ce0&&j.name!="SyntaxError"&&(re=re.slice(ce)),re}function G(j){var re=j.stack,ce=j.toString();return re=typeof re=="string"&&re.length>0?k(j):[" (No stack trace)"],{message:ce,stack:j.name=="SyntaxError"?re:X(re)}}function H(j,re,ce){if(typeof console!="undefined"){var he;if(o.isObject(j)){var ve=j.stack;he=re+d(ve,j)}else he=re+String(j);typeof g=="function"?g(he,ce):(typeof console.log=="function"||typeof console.log=="object")&&console.log(he)}}function te(j,re,ce,he){var ve=!1;try{typeof re=="function"&&(ve=!0,j==="rejectionHandled"?re(he):re(ce,he))}catch(_e){r.throwLater(_e)}j==="unhandledRejection"?!O(j,ce,he)&&!ve&&H(ce,"Unhandled rejection "):O(j,he)}function pe(j){var re;if(typeof j=="function")re="[function "+(j.name||"anonymous")+"]";else{re=j&&typeof j.toString=="function"?j.toString():o.toString(j);var ce=/\[object [a-zA-Z0-9$_]+\]/;if(ce.test(re))try{var he=JSON.stringify(j);re=he}catch{}re.length===0&&(re="(empty array)")}return"(<"+D(re)+">, no stack trace)"}function D(j){var re=41;return j.length=_e||(W=function(Ve){if(u.test(Ve))return!0;var at=S(Ve);return!!(at&&at.fileName===Fe&&ve<=at.line&&at.line<=_e)})}}function J(j){this._parent=j,this._promisesCreated=0;var re=this._length=1+(j===void 0?0:j._length);ie(this,J),re>32&&this.uncycle()}o.inherits(J,Error),e.CapturedTrace=J,J.prototype.uncycle=function(){var j=this._length;if(!(j<2)){for(var re=[],ce={},he=0,ve=this;ve!==void 0;++he)re.push(ve),ve=ve._parent;j=this._length=he;for(var he=j-1;he>=0;--he){var _e=re[he].stack;ce[_e]===void 0&&(ce[_e]=he)}for(var he=0;he0&&(re[Xe-1]._parent=void 0,re[Xe-1]._length=1),re[he]._parent=void 0,re[he]._length=1;var Qe=he>0?re[he-1]:this;Xe=0;--Ve)re[Ve]._length=Ge,Ge++;return}}}},J.prototype.attachExtraTrace=function(j){if(!j.__stackCleaned__){this.uncycle();for(var re=G(j),ce=re.message,he=[re.stack],ve=this;ve!==void 0;)he.push(X(ve.stack.split(` `))),ve=ve._parent;Y(he),ae(he),o.notEnumerableProp(j,"stack",se(ce,he)),o.notEnumerableProp(j,"__stackCleaned__",!0)}};var ie=function(){var re=/^\s*at\s*/,ce=function(Fe,Xe){return typeof Fe=="string"?Fe:Xe.name!==void 0&&Xe.message!==void 0?Xe.toString():pe(Xe)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,f=re,d=ce;var he=Error.captureStackTrace;return W=function(Fe){return u.test(Fe)},function(Fe,Xe){Error.stackTraceLimit+=6,he(Fe,Xe),Error.stackTraceLimit-=6}}var ve=new Error;if(typeof ve.stack=="string"&&ve.stack.split(` `)[0].indexOf("stackDetection@")>=0)return f=/@/,d=ce,p=!0,function(Xe){Xe.stack=new Error().stack};var _e;try{throw new Error}catch(Fe){_e="stack"in Fe}return!("stack"in ve)&&_e&&typeof Error.stackTraceLimit=="number"?(f=re,d=ce,function(Xe){Error.stackTraceLimit+=6;try{throw new Error}catch(Qe){Xe.stack=Qe.stack}Error.stackTraceLimit-=6}):(d=function(Fe,Xe){return typeof Fe=="string"?Fe:(typeof Xe=="object"||typeof Xe=="function")&&Xe.name!==void 0&&Xe.message!==void 0?Xe.toString():pe(Xe)},null)}();typeof console!="undefined"&&typeof console.warn!="undefined"&&(g=function(j){console.warn(j)},o.isNode&&process.stderr.isTTY?g=function(j,re){var ce=re?"\x1B[33m":"\x1B[31m";console.warn(ce+j+`\x1B[0m `)}:!o.isNode&&typeof new Error().stack=="string"&&(g=function(j,re){console.warn("%c"+j,re?"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 A},boundValueFunction:function(){return B},checkForgottenReturns:L,setBounds:P,warn:q,deprecated:z,CapturedTrace:J,fireDomEvent:_,fireGlobalEvent:E}},HF=function(t,e){var n=At,r=t.CancellationError,i=n.errorObj;function o(h,f,d){this.promise=h,this.type=f,this.handler=d,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,f){return h.cancelPromise!=null?(arguments.length>1?h.cancelPromise._reject(f):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 f=this.promise,d=this.handler;if(!this.called){this.called=!0;var p=this.isFinallyHandler()?d.call(f._boundValue()):d.call(f._boundValue(),h);if(p!==void 0){f._setReturnedNonUndefined();var g=e(p,f);if(g instanceof t){if(this.cancelPromise!=null)if(g._isCancelled()){var y=new r("late cancellation observer");return f._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 f.isRejected()?(s(this),i.e=h,i):(s(this),h)}return t.prototype._passThrough=function(h,f,d,p){return typeof h!="function"?this.then():this._then(d,p,void 0,new o(this,f,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},GF=function(t){var e=At,n=Bi.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;h1){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 f=c._popContext();return i.checkForgottenReturns(u,f,"Promise.try",c),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(s){s===o.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}},rP=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 f=this._target();if(h._setBoundTo(l),l instanceof t){var d={promiseRejectionQueued:!1,promise:h,target:f,bindingPromise:l};f._then(e,a,void 0,h,d),l._then(s,c,void 0,h,d),h._setOnCancel(l)}else h._resolveCallback(f);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)}},iP=function(t,e,n,r){var i=At,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;l0&&typeof arguments[m]=="function"&&(v=arguments[m],m<=8&&s)){var b=new t(r);b._captureStackTrace();for(var x=p[m-1],_=new x(v),E=g,N=0;N=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(m>=1&&this._inFlight>=m)return g[p]=d,this._queue.push(p),!1;R!==null&&(R[p]=d);var v=this._promise,x=this._callback,_=v._boundValue();v._pushContext();var E=c(x).call(_,d,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 U=r(E,this._promise);if(U instanceof t){U=U._target();var O=U._bitField;if((O&50397184)===0)return m>=1&&this._inFlight++,g[p]=U,U._proxy(this,(p+1)*-1),!1;if((O&33554432)!==0)E=U._value();else return(O&16777216)!==0?(this._reject(U._reason()),!0):(this._cancel(),!0)}g[p]=E}var Q=++this._totalResolved;return Q>=y?(R!==null?this._filter(g,R):this._resolve(g),!0):!1},h.prototype._drainQueue=function(){for(var d=this._queue,p=this._limit,g=this._values;d.length>0&&this._inFlight=1?R:0,new h(d,p,R,y).promise()}t.prototype.map=function(d,p){return f(this,d,p,null)},t.map=function(d,p,g,y){return f(d,p,g,y)}},Uh=Object.create;if(Uh){var ry=Uh(null),iy=Uh(null);ry[" size"]=iy[" size"]=0}var uP=function(t){var e=At,n=e.canEvaluate,r=e.isIdentifier,i,o;{var a=function(d){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,d))(u)},s=function(d){return new Function("obj",` 'use strict'; return obj.propertyName; `.replace("propertyName",d))},c=function(d,p,g){var y=g[d];if(typeof y!="function"){if(!r(d))return null;if(y=p(d),g[d]=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(d){return c(d,a,ry)},o=function(d){return c(d,s,iy)}}function u(d,p){var g;if(d!=null&&(g=d[p]),typeof g!="function"){var y="Object "+e.classString(d)+" has no method '"+e.toString(p)+"'";throw new t.TypeError(y)}return g}function l(d){var p=this.pop(),g=u(d,p);return g.apply(d,this)}t.prototype.call=function(d){for(var p=arguments.length,g=new Array(Math.max(p-1,0)),y=1;y=E)return N._fulfill();var O=d(v[_++]);if(O instanceof t&&O._isDisposable()){try{O=n(O._getDisposer().tryDispose(x),v.promise)}catch(Q){return f(Q)}if(O instanceof t)return O._then(U,f,null,null,null)}U()}return U(),N}function g(v,x,_){this._data=v,this._promise=x,this._context=_}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(),_=this._context;_!==void 0&&_._pushContext();var E=x!==h?this.doDispose(x,v):null;return _!==void 0&&_._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,_){this.constructor$(v,x,_)}c(y,g),y.prototype.doDispose=function(v,x){var _=this.data();return _.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;x0},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}},hP=function(t,e,n){var r=At,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,f){var d,p;return f!==void 0?(d=t.resolve(f)._then(a,null,null,h,void 0),n.cancellation()&&f instanceof t&&d._setOnCancel(f)):(d=new t(e),p=setTimeout(function(){d._fulfill()},+h),n.cancellation()&&d._setOnCancel(new o(p)),d._captureStackTrace()),d._setAsyncGuaranteed(),d};t.prototype.delay=function(h){return s(h,this)};var c=function(h,f,d){var p;typeof f!="string"?f instanceof Error?p=f:p=new i("operation timed out"):p=new i(f),r.markAsOriginatingFromRejection(p),h._attachExtraTrace(p),h._reject(p),d!=null&&d.cancel()};function u(h){return clearTimeout(this.handle),h}function l(h){throw clearTimeout(this.handle),h}t.prototype.timeout=function(h,f){h=+h;var d,p,g=new o(setTimeout(function(){d.isPending()&&c(d,f,p)},h));return n.cancellation()?(p=this.then(),d=p._then(u,l,void 0,g,void 0),d._setOnCancel(g)):d=this._then(u,l,void 0,g,void 0),d}},dP=function(t,e,n,r,i,o){var a=ki,s=a.TypeError,c=At,u=c.errorObj,l=c.tryCatch,h=[];function f(p,g,y){for(var R=0;R=M;--C)b.push(C);for(var C=I+1;C<=3;++C)b.push(C);return b},E=function(I){return r.filledRange(I,"_arg","")},N=function(I){return r.filledRange(Math.max(I,3),"_arg","")},U=function(I){return typeof I.length=="number"?Math.max(Math.min(I.length,1024),0):0};x=function(I,b,M,C,F,A){var B=Math.max(0,U(C)-1),$=_(B),V=typeof I=="string"||b===n;function L(ae){var Y=E(ae).join(", "),X=ae>0?", ":"",k;return V?k=`ret = callback.call(this, {{args}}, nodeback); break; `:k=b===void 0?`ret = callback({{args}}, nodeback); break; `:`ret = callback.call(receiver, {{args}}, nodeback); break; `,k.replace("{{args}}",Y).replace(", ",X)}function z(){for(var ae="",Y=0;Y<$.length;++Y)ae+="case "+$[Y]+":"+L($[Y]);return ae+=` 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]",V?`ret = callback.apply(this, args); `:`ret = callback.apply(receiver, args); `),ae}var q=typeof I=="string"?"this != null ? this['"+I+"'] : fn":"fn",se=`'use strict'; var ret = function (Parameters) { 'use strict'; var len = arguments.length; var promise = new Promise(INTERNAL); promise._captureStackTrace(); var nodeback = nodebackForPromise(promise, `+A+`); 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]",z()).replace("[GetFunctionCode]",q);return se=se.replace("Parameters",N(B)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",se)(t,C,b,o,a,i,r.tryCatch,r.errorObj,r.notEnumerableProp,e)}}function O(I,b,M,C,F,A){var B=function(){return this}(),$=I;typeof $=="string"&&(I=C);function V(){var L=b;b===n&&(L=this);var z=new t(e);z._captureStackTrace();var q=typeof $=="string"&&this!==B?this[$]:I,se=i(z,A);try{q.apply(L,o(arguments,se))}catch(ae){z._rejectCallback(a(ae),!0,!0)}return z._isFateSealed()||z._setAsyncGuaranteed(),z}return r.notEnumerableProp(V,"__isPromisified__",!0),V}var Q=s?x:O;function ne(I,b,M,C,F){for(var A=new RegExp(v(b)+"$"),B=m(I,b,A,M),$=0,V=B.length;$=this._length){var g;if(this._isMap)g=u(this._values);else{g={};for(var y=this.length(),R=0,m=this.length();R>1};function h(f){var d,p=n(f);if(o(p))p instanceof t?d=p._then(t.props,void 0,void 0,void 0,void 0):d=new l(p).promise();else return r(`cannot await properties of a non-object See http://goo.gl/MqrFmX `);return p instanceof t&&d._propagateFrom(p,2),d}t.prototype.props=function(){return h(this)},t.props=function(f){return h(f)}},mP=function(t,e,n,r){var i=At,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,f=l._reject,d=0,p=s.length;d=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)}},vP=function(t,e,n){var r=At,i=ki.RangeError,o=ki.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();h0?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 f=new c(l),d=f.promise();return f.setHowMany(h),f.init(),d}t.some=function(l,h){return u(l,h)},t.prototype.some=function(l){return u(this,l)},t._SomePromiseArray=c},bP=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)}},xP=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},wP=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 f(`circular promise resolution chain See http://goo.gl/MqrFmX `)},n=function(){return new T.PromiseInspection(this._target())},r=function(C){return T.reject(new f(C))};function i(){}var o={},a=At,s;a.isNode?s=function(){var C=process.domain;return C===void 0&&(C=null),C}:s=function(){return null},a.notEnumerableProp(T,"_getDomain",s);var c=Bi.exports,u=Ff.exports,l=new u;c.defineProperty(T,"_async",{value:l});var h=ki,f=T.TypeError=h.TypeError;T.RangeError=h.RangeError;var d=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=kF(T,p),m=ZF(T,p,R,r,i),v=QF(T),x=v.create,_=KF(T,v);_.CapturedTrace;var E=HF(T,R),N=GF(y),U=ny,O=a.errorObj,Q=a.tryCatch;function ne(C,F){if(typeof F!="function")throw new f("expecting a function but got "+a.classString(F));if(C.constructor!==T)throw new f(`the promise constructor cannot be invoked directly See http://goo.gl/MqrFmX `)}function T(C){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,C!==p&&(ne(this,C),this._resolveFromExecutor(C)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}T.prototype.toString=function(){return"[object Promise]"},T.prototype.caught=T.prototype.catch=function(C){var F=arguments.length;if(F>1){var A=new Array(F-1),B=0,$;for($=0;$0&&typeof C!="function"&&typeof F!="function"){var A=".then() only accepts functions but was passed: "+a.classString(C);arguments.length>1&&(A+=", "+a.classString(F)),this._warn(A)}return this._then(C,F,void 0,void 0,void 0)},T.prototype.done=function(C,F){var A=this._then(C,F,void 0,void 0,void 0);A._setIsFinal()},T.prototype.spread=function(C){return typeof C!="function"?r("expecting a function but got "+a.classString(C)):this.all()._then(C,void 0,void 0,g,void 0)},T.prototype.toJSON=function(){var C={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(C.fulfillmentValue=this.value(),C.isFulfilled=!0):this.isRejected()&&(C.rejectionReason=this.reason(),C.isRejected=!0),C},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(C){return this.caught(a.originatesFromRejection,C)},T.getNewLibraryCopy=t.exports,T.is=function(C){return C instanceof T},T.fromNode=T.fromCallback=function(C){var F=new T(p);F._captureStackTrace();var A=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,B=Q(C)(U(F,A));return B===O&&F._rejectCallback(B.e,!0),F._isFateSealed()||F._setAsyncGuaranteed(),F},T.all=function(C){return new m(C).promise()},T.cast=function(C){var F=R(C);return F instanceof T||(F=new T(p),F._captureStackTrace(),F._setFulfilled(),F._rejectionHandler0=C),F},T.resolve=T.fulfilled=T.cast,T.reject=T.rejected=function(C){var F=new T(p);return F._captureStackTrace(),F._rejectCallback(C,!0),F},T.setScheduler=function(C){if(typeof C!="function")throw new f("expecting a function but got "+a.classString(C));return l.setScheduler(C)},T.prototype._then=function(C,F,A,B,$){var V=$!==void 0,L=V?$:new T(p),z=this._target(),q=z._bitField;V||(L._propagateFrom(this,3),L._captureStackTrace(),B===void 0&&(this._bitField&2097152)!==0&&((q&50397184)!==0?B=this._boundValue():B=z===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,L));var se=s();if((q&50397184)!==0){var ae,Y,X=z._settlePromiseCtx;(q&33554432)!==0?(Y=z._rejectionHandler0,ae=C):(q&16777216)!==0?(Y=z._fulfillmentHandler0,ae=F,z._unsetRejectionIsUnhandled()):(X=z._settlePromiseLateCancellationObserver,Y=new d("late cancellation observer"),z._attachExtraTrace(Y),ae=F),l.invoke(X,z,{handler:se===null?ae:typeof ae=="function"&&a.domainBind(se,ae),promise:L,receiver:B,value:Y})}else z._addCallbacks(C,F,L,B,se);return L},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(C){this._bitField=this._bitField&-65536|C&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(C){var F=C===0?this._receiver0:this[C*4-4+3];if(F!==o)return F===void 0&&this._isBound()?this._boundValue():F},T.prototype._promiseAt=function(C){return this[C*4-4+2]},T.prototype._fulfillmentHandlerAt=function(C){return this[C*4-4+0]},T.prototype._rejectionHandlerAt=function(C){return this[C*4-4+1]},T.prototype._boundValue=function(){},T.prototype._migrateCallback0=function(C){C._bitField;var F=C._fulfillmentHandler0,A=C._rejectionHandler0,B=C._promise0,$=C._receiverAt(0);$===void 0&&($=o),this._addCallbacks(F,A,B,$,null)},T.prototype._migrateCallbackAt=function(C,F){var A=C._fulfillmentHandlerAt(F),B=C._rejectionHandlerAt(F),$=C._promiseAt(F),V=C._receiverAt(F);V===void 0&&(V=o),this._addCallbacks(A,B,$,V,null)},T.prototype._addCallbacks=function(C,F,A,B,$){var V=this._length();if(V>=65535-4&&(V=0,this._setLength(0)),V===0)this._promise0=A,this._receiver0=B,typeof C=="function"&&(this._fulfillmentHandler0=$===null?C:a.domainBind($,C)),typeof F=="function"&&(this._rejectionHandler0=$===null?F:a.domainBind($,F));else{var L=V*4-4;this[L+2]=A,this[L+3]=B,typeof C=="function"&&(this[L+0]=$===null?C:a.domainBind($,C)),typeof F=="function"&&(this[L+1]=$===null?F:a.domainBind($,F))}return this._setLength(V+1),V},T.prototype._proxy=function(C,F){this._addCallbacks(void 0,void 0,F,C,null)},T.prototype._resolveCallback=function(C,F){if((this._bitField&117506048)===0){if(C===this)return this._rejectCallback(e(),!1);var A=R(C,this);if(!(A instanceof T))return this._fulfill(C);F&&this._propagateFrom(A,2);var B=A._target();if(B===this){this._reject(e());return}var $=B._bitField;if(($&50397184)===0){var V=this._length();V>0&&B._migrateCallback0(this);for(var L=1;L>>16)){if(C===this){var A=e();return this._attachExtraTrace(A),this._reject(A)}this._setFulfilled(),this._rejectionHandler0=C,(F&65535)>0&&((F&134217728)!==0?this._settlePromises():l.settlePromises(this))}},T.prototype._reject=function(C){var F=this._bitField;if(!((F&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=C,this._isFinal())return l.fatalError(C,a.isNode);(F&65535)>0?l.settlePromises(this):this._ensurePossibleRejectionHandled()}},T.prototype._fulfillPromises=function(C,F){for(var A=1;A0){if((C&16842752)!==0){var A=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,A,C),this._rejectPromises(F,A)}else{var B=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,B,C),this._fulfillPromises(F,B)}this._setLength(0)}this._clearCancellationData()},T.prototype._settledValue=function(){var C=this._bitField;if((C&33554432)!==0)return this._rejectionHandler0;if((C&16777216)!==0)return this._fulfillmentHandler0};function I(C){this.promise._resolveCallback(C)}function b(C){this.promise._rejectCallback(C,!1)}T.defer=T.pending=function(){_.deprecated("Promise.defer","new Promise");var C=new T(p);return{promise:C,resolve:I,reject:b}},a.notEnumerableProp(T,"_makeSelfResolutionError",e),nP(T,p,R,r,_),rP(T,p,R,_),iP(T,m,r,_),oP(T),aP(T),sP(T,m,R,p,l,s),T.Promise=T,T.version="3.4.7",cP(T,m,r,R,p,_),uP(T),lP(T,r,R,x,p,_),hP(T,p,_),dP(T,r,p,R,i,_),fP(T),pP(T,p),gP(T,m,R,r),mP(T,p,R,r),RP(T,m,r,R,p,_),yP(T,m,_),vP(T,m,r),bP(T,p),xP(T,p),wP(T),a.toFastProperties(T),a.toFastProperties(T.prototype);function M(C){var F=new T(p);F._fulfillmentHandler0=C,F._rejectionHandler0=C,F._promise0=C,F._receiver0=C}return M({a:1}),M({b:2}),M({c:3}),M(1),M(function(){}),M(void 0),M(!1),M(new T(p)),_.setBounds(u.firstLineError,a.lastLineError),T}})(Z2);var TP=Kt.exports,qn=Z2.exports();vn.defer=SP;vn.when=qn.resolve;vn.resolve=qn.resolve;vn.all=qn.all;vn.props=qn.props;vn.reject=qn.reject;vn.promisify=qn.promisify;vn.mapSeries=qn.mapSeries;vn.attempt=qn.attempt;vn.nfcall=function(t){var e=Array.prototype.slice.call(arguments,1),n=qn.promisify(t);return n.apply(null,e)};qn.prototype.fail=qn.prototype.caught;qn.prototype.also=function(t){return this.then(function(e){var n=TP.extend({},e,t(e));return qn.props(n)})};function SP(){var t,e,n=new qn.Promise(function(r,i){t=r,e=i});return{resolve:t,reject:e,promise:n}}var ut={},DP=Kt.exports,Mn=ut.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 _P(t,e){return e=e||{},{type:Mn.document,children:t,notes:e.notes||new Zu({}),comments:e.comments||[]}}function OP(t,e){e=e||{};var n=e.indent||{};return{type:Mn.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 EP(t,e){return e=e||{},{type:Mn.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||oy.baseline,font:e.font||null,fontSize:e.fontSize||null}}var oy={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function IP(t){return{type:Mn.text,value:t}}function NP(){return{type:Mn.tab}}function FP(t,e){return{type:Mn.hyperlink,children:t,href:e.href,anchor:e.anchor,targetFrame:e.targetFrame}}function PP(t){return{type:Mn.noteReference,noteType:t.noteType,noteId:t.noteId}}function Zu(t){this._notes=DP.indexBy(t,function(e){return ay(e.noteType,e.noteId)})}Zu.prototype.resolve=function(t){return this.findNoteByKey(ay(t.noteType,t.noteId))};Zu.prototype.findNoteByKey=function(t){return this._notes[t]||null};function LP(t){return{type:Mn.note,noteType:t.noteType,noteId:t.noteId,body:t.body}}function MP(t){return{type:Mn.commentReference,commentId:t.commentId}}function CP(t){return{type:Mn.comment,commentId:t.commentId,body:t.body,authorName:t.authorName,authorInitials:t.authorInitials}}function ay(t,e){return t+"-"+e}function AP(t){return{type:Mn.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 UP(t,e){return e=e||{},{type:Mn.table,children:t,styleId:e.styleId||null,styleName:e.styleName||null}}function WP(t,e){return e=e||{},{type:Mn.tableRow,children:t,isHeader:e.isHeader||!1}}function XP(t,e){return e=e||{},{type:Mn.tableCell,children:t,colSpan:e.colSpan==null?1:e.colSpan,rowSpan:e.rowSpan==null?1:e.rowSpan}}function Lf(t){return{type:Mn.break,breakType:t}}function VP(t){return{type:Mn.bookmarkStart,name:t.name}}ut.document=ut.Document=_P;ut.paragraph=ut.Paragraph=OP;ut.run=ut.Run=EP;ut.text=ut.Text=IP;ut.tab=ut.Tab=NP;ut.Hyperlink=FP;ut.noteReference=ut.NoteReference=PP;ut.Notes=Zu;ut.Note=LP;ut.commentReference=MP;ut.comment=CP;ut.Image=AP;ut.Table=UP;ut.TableRow=WP;ut.TableCell=XP;ut.lineBreak=Lf("line");ut.pageBreak=Lf("page");ut.columnBreak=Lf("column");ut.BookmarkStart=VP;ut.verticalAlignment=oy;var gr={},Es=Kt.exports;gr.Result=ri;gr.success=YP;gr.warning=BP;gr.error=kP;function ri(t,e){this.value=t,this.messages=e||[]}ri.prototype.map=function(t){return new ri(t(this.value),this.messages)};ri.prototype.flatMap=function(t){var e=t(this.value);return new ri(e.value,Mf([this,e]))};ri.prototype.flatMapThen=function(t){var e=this;return t(this.value).then(function(n){return new ri(n.value,Mf([e,n]))})};ri.combine=function(t){var e=Es.flatten(Es.pluck(t,"value")),n=Mf(t);return new ri(e,n)};function YP(t){return new ri(t,[])}function BP(t){return{type:"warning",message:t}}function kP(t){return{type:"error",message:t.message,error:t}}function Mf(t){var e=[];return Es.flatten(Es.pluck(t,"messages"),!0).forEach(function(n){ZP(e,n)||e.push(n)}),e}function ZP(t,e){return Es.find(t,QP.bind(null,e))!==void 0}function QP(t,e){return t.type===e.type&&t.message===e.message}var Bs={},Qu={};Qu.byteLength=GP;Qu.toByteArray=zP;Qu.fromByteArray=qP;var Qr=[],wr=[],KP=typeof Uint8Array!="undefined"?Uint8Array:Array,Wh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Wo=0,HP=Wh.length;Wo0)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 GP(t){var e=sy(t),n=e[0],r=e[1];return(n+r)*3/4-r}function JP(t,e,n){return(e+n)*3/4-n}function zP(t){var e,n=sy(t),r=n[0],i=n[1],o=new KP(JP(t,r,i)),a=0,s=i>0?r-4:r,c;for(c=0;c>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=wr[t.charCodeAt(c)]<<2|wr[t.charCodeAt(c+1)]>>4,o[a++]=e&255),i===1&&(e=wr[t.charCodeAt(c)]<<10|wr[t.charCodeAt(c+1)]<<4|wr[t.charCodeAt(c+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function $P(t){return Qr[t>>18&63]+Qr[t>>12&63]+Qr[t>>6&63]+Qr[t&63]}function jP(t,e,n){for(var r,i=[],o=e;os?s:a+o));return r===1?(e=t[n-1],i.push(Qr[e>>2]+Qr[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],i.push(Qr[e>>10]+Qr[e>>4&63]+Qr[e<<2&63]+"=")),i.join("")}var cy={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files (c) 2009-2016 Stuart Knightley Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/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 vc=="function"&&vc;if(!l&&h)return h(u,!0);if(s)return s(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var d=i[u]={exports:{}};r[u][0].call(d.exports,function(p){var g=r[u][1][p];return a(g||p)},d,d.exports,n,r,i,o)}return i[u].exports}for(var s=typeof vc=="function"&&vc,c=0;c>2,d=(3&u)<<4|l>>4,p=1>6:64,g=2>4,l=(15&f)<<4|(d=s.indexOf(c.charAt(g++)))>>2,h=(3&d)<<6|(p=s.indexOf(c.charAt(g++))),m[y++]=u,d!==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,f,d,p){this.compressedSize=l,this.uncompressedSize=h,this.crc32=f,this.compression=d,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,f){return l.pipe(new s).pipe(new c("uncompressedSize")).pipe(h.compressWorker(f)).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,f){var d=a,p=f+h;u^=-1;for(var g=f;g>>8^d[255&(u^l[g])];return-1^u}(0|c,s,s.length,0):function(u,l,h,f){var d=a,p=f+h;u^=-1;for(var g=f;g>>8^d[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,f){c.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=f,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(f){h.push({data:f,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(d,p){var g,y="";for(g=0;g>>=8;return y}function a(d,p,g,y,R,m){var v,x,_=d.file,E=d.compression,N=m!==u.utf8encode,U=s.transformTo("string",m(_.name)),O=s.transformTo("string",u.utf8encode(_.name)),Q=_.comment,ne=s.transformTo("string",m(Q)),T=s.transformTo("string",u.utf8encode(Q)),I=O.length!==_.name.length,b=T.length!==Q.length,M="",C="",F="",A=_.dir,B=_.date,$={crc32:0,compressedSize:0,uncompressedSize:0};p&&!g||($.crc32=d.crc32,$.compressedSize=d.compressedSize,$.uncompressedSize=d.uncompressedSize);var V=0;p&&(V|=8),N||!I&&!b||(V|=2048);var L=0,z=0;A&&(L|=16),R==="UNIX"?(z=798,L|=function(se,ae){var Y=se;return se||(Y=ae?16893:33204),(65535&Y)<<16}(_.unixPermissions,A)):(z=20,L|=function(se){return 63&(se||0)}(_.dosPermissions)),v=B.getUTCHours(),v<<=6,v|=B.getUTCMinutes(),v<<=5,v|=B.getUTCSeconds()/2,x=B.getUTCFullYear()-1980,x<<=4,x|=B.getUTCMonth()+1,x<<=5,x|=B.getUTCDate(),I&&(C=o(1,1)+o(l(U),4)+O,M+="up"+o(C.length,2)+C),b&&(F=o(1,1)+o(l(ne),4)+T,M+="uc"+o(F.length,2)+F);var q="";return q+=` \0`,q+=o(V,2),q+=E.magic,q+=o(v,2),q+=o(x,2),q+=o($.crc32,4),q+=o($.compressedSize,4),q+=o($.uncompressedSize,4),q+=o(U.length,2),q+=o(M.length,2),{fileRecord:h.LOCAL_FILE_HEADER+q+U+M,dirRecord:h.CENTRAL_FILE_HEADER+o(z,2)+q+o(ne.length,2)+"\0\0\0\0"+o(L,4)+o(y,4)+U+M+ne}}var s=n("../utils"),c=n("../stream/GenericWorker"),u=n("../utf8"),l=n("../crc32"),h=n("../signature");function f(d,p,g,y){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=g,this.encodeFileName=y,this.streamFiles=d,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(f,c),f.prototype.push=function(d){var p=d.meta.percent||0,g=this.entriesCount,y=this._sources.length;this.accumulate?this.contentBuffer.push(d):(this.bytesWritten+=d.data.length,c.prototype.push.call(this,{data:d.data,meta:{currentFile:this.currentFile,percent:g?(p+100*(g-y-1))/g:100}}))},f.prototype.openedSource=function(d){this.currentSourceOffset=this.bytesWritten,this.currentFile=d.file.name;var p=this.streamFiles&&!d.file.dir;if(p){var g=a(d,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:g.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(d){this.accumulate=!1;var p=this.streamFiles&&!d.file.dir,g=a(d,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)}(d),meta:{percent:100}});else for(this.push({data:g.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var d=this.bytesWritten,p=0;p=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 f=o.getTypeOf(h);return o.checkSupport(f),f!=="string"||a.uint8array?f==="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 "+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 f(p,g){return new l.Promise(function(y,R){var m=[],v=p._internalType,x=p._outputType,_=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,U,O){switch(N){case"blob":return o.newBlob(o.transformTo("arraybuffer",U),O);case"base64":return c.encode(U);default:return o.transformTo(N,U)}}(x,function(N,U){var O,Q=0,ne=null,T=0;for(O=0;O>>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}(d)},i.utf8decode=function(d){return a.nodebuffer?o.transformTo("nodebuffer",d).toString("utf-8"):function(p){var g,y,R,m,v=p.length,x=new Array(2*v);for(g=y=0;g>10&1023,x[y++]=56320|1023&R)}return x.length!==y&&(x.subarray?x=x.subarray(0,y):x.length=y),o.applyFromCharCode(x)}(d=o.transformTo(a.uint8array?"uint8array":"array",d))},o.inherits(h,c),h.prototype.processChunk=function(d){var p=o.transformTo(a.uint8array?"uint8array":"array",d.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:d.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(f,c),f.prototype.processChunk=function(d){this.push({data:i.utf8encode(d.data),meta:d.meta})},i.Utf8EncodeWorker=f},{"./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>8;this.dir=!!(16&this.externalFileAttributes),d==0&&(this.dosPermissions=63&this.externalFileAttributes),d==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var d=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=d.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=d.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=d.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=d.readInt(4))}},readExtraFields:function(d){var p,g,y,R=d.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});d.index+4>>6:(d<65536?f[y++]=224|d>>>12:(f[y++]=240|d>>>18,f[y++]=128|d>>>12&63),f[y++]=128|d>>>6&63),f[y++]=128|63&d);return f},i.buf2binstring=function(h){return l(h,h.length)},i.binstring2buf=function(h){for(var f=new o.Buf8(h.length),d=0,p=f.length;d>10&1023,m[p++]=56320|1023&g)}return l(m,p)},i.utf8border=function(h,f){var d;for((f=f||h.length)>h.length&&(f=h.length),d=f-1;0<=d&&(192&h[d])==128;)d--;return d<0||d===0?f:d+c[h[d]]>f?d:f}},{"./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>>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 f=u;f>>8^l[255&(a^s[f])];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,f=4,d=0,p=-2,g=-1,y=4,R=2,m=8,v=9,x=286,_=30,E=19,N=2*x+1,U=15,O=3,Q=258,ne=Q+O+1,T=42,I=113,b=1,M=2,C=3,F=4;function A(D,oe){return D.msg=l[oe],oe}function B(D){return(D<<1)-(4D.avail_out&&(W=D.avail_out),W!==0&&(a.arraySet(D.output,oe.pending_buf,oe.pending_out,W,D.next_out),D.next_out+=W,oe.pending_out+=W,D.total_out+=W,D.avail_out-=W,oe.pending-=W,oe.pending===0&&(oe.pending_out=0))}function L(D,oe){s._tr_flush_block(D,0<=D.block_start?D.block_start:-1,D.strstart-D.block_start,oe),D.block_start=D.strstart,V(D.strm)}function z(D,oe){D.pending_buf[D.pending++]=oe}function q(D,oe){D.pending_buf[D.pending++]=oe>>>8&255,D.pending_buf[D.pending++]=255&oe}function se(D,oe){var W,w,S=D.max_chain_length,P=D.strstart,J=D.prev_length,ie=D.nice_match,K=D.strstart>D.w_size-ne?D.strstart-(D.w_size-ne):0,j=D.window,re=D.w_mask,ce=D.prev,he=D.strstart+Q,ve=j[P+J-1],_e=j[P+J];D.prev_length>=D.good_match&&(S>>=2),ie>D.lookahead&&(ie=D.lookahead);do if(j[(W=oe)+J]===_e&&j[W+J-1]===ve&&j[W]===j[P]&&j[++W]===j[P+1]){P+=2,W++;do;while(j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&j[++P]===j[++W]&&PK&&--S!=0);return J<=D.lookahead?J:D.lookahead}function ae(D){var oe,W,w,S,P,J,ie,K,j,re,ce=D.w_size;do{if(S=D.window_size-D.lookahead-D.strstart,D.strstart>=ce+(ce-ne)){for(a.arraySet(D.window,D.window,ce,ce,0),D.match_start-=ce,D.strstart-=ce,D.block_start-=ce,oe=W=D.hash_size;w=D.head[--oe],D.head[oe]=ce<=w?w-ce:0,--W;);for(oe=W=ce;w=D.prev[--oe],D.prev[oe]=ce<=w?w-ce:0,--W;);S+=ce}if(D.strm.avail_in===0)break;if(J=D.strm,ie=D.window,K=D.strstart+D.lookahead,j=S,re=void 0,re=J.avail_in,j=O)for(P=D.strstart-D.insert,D.ins_h=D.window[P],D.ins_h=(D.ins_h<=O&&(D.ins_h=(D.ins_h<=O)if(w=s._tr_tally(D,D.strstart-D.match_start,D.match_length-O),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=O){for(D.match_length--;D.strstart++,D.ins_h=(D.ins_h<=O&&(D.ins_h=(D.ins_h<=O&&D.match_length<=D.prev_length){for(S=D.strstart+D.lookahead-O,w=s._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-O),D.lookahead-=D.prev_length-1,D.prev_length-=2;++D.strstart<=S&&(D.ins_h=(D.ins_h<D.pending_buf_size-5&&(W=D.pending_buf_size-5);;){if(D.lookahead<=1){if(ae(D),D.lookahead===0&&oe===h)return b;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var w=D.block_start+W;if((D.strstart===0||D.strstart>=w)&&(D.lookahead=D.strstart-w,D.strstart=w,L(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-ne&&(L(D,!1),D.strm.avail_out===0))return b}return D.insert=0,oe===f?(L(D,!0),D.strm.avail_out===0?C:F):(D.strstart>D.block_start&&(L(D,!1),D.strm.avail_out),b)}),new k(4,4,8,4,Y),new k(4,5,16,8,Y),new k(4,6,32,32,Y),new k(4,4,16,16,X),new k(8,16,32,32,X),new k(8,16,128,128,X),new k(8,32,128,256,X),new k(32,128,258,1024,X),new k(32,258,258,4096,X)],i.deflateInit=function(D,oe){return pe(D,oe,m,15,8,0)},i.deflateInit2=pe,i.deflateReset=te,i.deflateResetKeep=H,i.deflateSetHeader=function(D,oe){return D&&D.state?D.state.wrap!==2?p:(D.state.gzhead=oe,d):p},i.deflate=function(D,oe){var W,w,S,P;if(!D||!D.state||5>8&255),z(w,w.gzhead.time>>16&255),z(w,w.gzhead.time>>24&255),z(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),z(w,255&w.gzhead.os),w.gzhead.extra&&w.gzhead.extra.length&&(z(w,255&w.gzhead.extra.length),z(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):(z(w,0),z(w,0),z(w,0),z(w,0),z(w,0),z(w,w.level===9?2:2<=w.strategy||w.level<2?4:0),z(w,3),w.status=I);else{var J=m+(w.w_bits-8<<4)<<8;J|=(2<=w.strategy||w.level<2?0:w.level<6?1:w.level===6?2:3)<<6,w.strstart!==0&&(J|=32),J+=31-J%31,w.status=I,q(w,J),w.strstart!==0&&(q(w,D.adler>>>16),q(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)),V(D),S=w.pending,w.pending!==w.pending_buf_size));)z(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)),V(D),S=w.pending,w.pending===w.pending_buf_size)){P=1;break}P=w.gzindexS&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),P===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)),V(D),S=w.pending,w.pending===w.pending_buf_size)){P=1;break}P=w.gzindexS&&(D.adler=u(D.adler,w.pending_buf,w.pending-S,S)),P===0&&(w.status=103)}else w.status=103;if(w.status===103&&(w.gzhead.hcrc?(w.pending+2>w.pending_buf_size&&V(D),w.pending+2<=w.pending_buf_size&&(z(w,255&D.adler),z(w,D.adler>>8&255),D.adler=0,w.status=I)):w.status=I),w.pending!==0){if(V(D),D.avail_out===0)return w.last_flush=-1,d}else if(D.avail_in===0&&B(oe)<=B(W)&&oe!==f)return A(D,-5);if(w.status===666&&D.avail_in!==0)return A(D,-5);if(D.avail_in!==0||w.lookahead!==0||oe!==h&&w.status!==666){var ie=w.strategy===2?function(K,j){for(var re;;){if(K.lookahead===0&&(ae(K),K.lookahead===0)){if(j===h)return b;break}if(K.match_length=0,re=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++,re&&(L(K,!1),K.strm.avail_out===0))return b}return K.insert=0,j===f?(L(K,!0),K.strm.avail_out===0?C:F):K.last_lit&&(L(K,!1),K.strm.avail_out===0)?b:M}(w,oe):w.strategy===3?function(K,j){for(var re,ce,he,ve,_e=K.window;;){if(K.lookahead<=Q){if(ae(K),K.lookahead<=Q&&j===h)return b;if(K.lookahead===0)break}if(K.match_length=0,K.lookahead>=O&&0K.lookahead&&(K.match_length=K.lookahead)}if(K.match_length>=O?(re=s._tr_tally(K,1,K.match_length-O),K.lookahead-=K.match_length,K.strstart+=K.match_length,K.match_length=0):(re=s._tr_tally(K,0,K.window[K.strstart]),K.lookahead--,K.strstart++),re&&(L(K,!1),K.strm.avail_out===0))return b}return K.insert=0,j===f?(L(K,!0),K.strm.avail_out===0?C:F):K.last_lit&&(L(K,!1),K.strm.avail_out===0)?b:M}(w,oe):o[w.level].func(w,oe);if(ie!==C&&ie!==F||(w.status=666),ie===b||ie===C)return D.avail_out===0&&(w.last_flush=-1),d;if(ie===M&&(oe===1?s._tr_align(w):oe!==5&&(s._tr_stored_block(w,0,0,!1),oe===3&&($(w.head),w.lookahead===0&&(w.strstart=0,w.block_start=0,w.insert=0))),V(D),D.avail_out===0))return w.last_flush=-1,d}return oe!==f?d:w.wrap<=0?1:(w.wrap===2?(z(w,255&D.adler),z(w,D.adler>>8&255),z(w,D.adler>>16&255),z(w,D.adler>>24&255),z(w,255&D.total_in),z(w,D.total_in>>8&255),z(w,D.total_in>>16&255),z(w,D.total_in>>24&255)):(q(w,D.adler>>>16),q(w,65535&D.adler)),V(D),0=W.w_size&&(P===0&&($(W.head),W.strstart=0,W.block_start=0,W.insert=0),j=new a.Buf8(W.w_size),a.arraySet(j,oe,re-W.w_size,W.w_size,0),oe=j,re=W.w_size),J=D.avail_in,ie=D.next_in,K=D.input,D.avail_in=re,D.next_in=0,D.input=oe,ae(W);W.lookahead>=O;){for(w=W.strstart,S=W.lookahead-(O-1);W.ins_h=(W.ins_h<>>=O=U>>>24,v-=O,(O=U>>>16&255)===0)M[l++]=65535&U;else{if(!(16&O)){if((64&O)==0){U=x[(65535&U)+(m&(1<>>=O,v-=O),v<15&&(m+=b[c++]<>>=O=U>>>24,v-=O,!(16&(O=U>>>16&255))){if((64&O)==0){U=_[(65535&U)+(m&(1<>>=O,v-=O,(O=l-h)>3,m&=(1<<(v-=Q<<3))-1,o.next_in=c,o.next_out=l,o.avail_in=c>>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,f):d}function x(T){var I;return T&&T.state?((I=T.state).wsize=0,I.whave=0,I.wnext=0,v(T)):d}function _(T,I){var b,M;return T&&T.state?(M=T.state,I<0?(b=0,I=-I):(b=1+(I>>4),I<48&&(I&=15)),I&&(I<8||15=F.wsize?(o.arraySet(F.window,I,b-F.wsize,F.wsize,0),F.wnext=0,F.whave=F.wsize):(M<(C=F.wsize-F.wnext)&&(C=M),o.arraySet(F.window,I,b-M,C,F.wnext),(M-=C)?(o.arraySet(F.window,I,b-M,M,0),F.wnext=M,F.whave=F.wsize):(F.wnext+=C,F.wnext===F.wsize&&(F.wnext=0),F.whave>>8&255,b.check=s(b.check,P,2,0),L=V=0,b.mode=2;break}if(b.flags=0,b.head&&(b.head.done=!1),!(1&b.wrap)||(((255&V)<<8)+(V>>8))%31){T.msg="incorrect header check",b.mode=30;break}if((15&V)!=8){T.msg="unknown compression method",b.mode=30;break}if(L-=4,D=8+(15&(V>>>=4)),b.wbits===0)b.wbits=D;else if(D>b.wbits){T.msg="invalid window size",b.mode=30;break}b.dmax=1<>8&1),512&b.flags&&(P[0]=255&V,P[1]=V>>>8&255,b.check=s(b.check,P,2,0)),L=V=0,b.mode=3;case 3:for(;L<32;){if(B===0)break e;B--,V+=M[F++]<>>8&255,P[2]=V>>>16&255,P[3]=V>>>24&255,b.check=s(b.check,P,4,0)),L=V=0,b.mode=4;case 4:for(;L<16;){if(B===0)break e;B--,V+=M[F++]<>8),512&b.flags&&(P[0]=255&V,P[1]=V>>>8&255,b.check=s(b.check,P,2,0)),L=V=0,b.mode=5;case 5:if(1024&b.flags){for(;L<16;){if(B===0)break e;B--,V+=M[F++]<>>8&255,b.check=s(b.check,P,2,0)),L=V=0}else b.head&&(b.head.extra=null);b.mode=6;case 6:if(1024&b.flags&&(B<(se=b.length)&&(se=B),se&&(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,M,F,se,D)),512&b.flags&&(b.check=s(b.check,M,se,F)),B-=se,F+=se,b.length-=se),b.length))break e;b.length=0,b.mode=7;case 7:if(2048&b.flags){if(B===0)break e;for(se=0;D=M[F+se++],b.head&&D&&b.length<65536&&(b.head.name+=String.fromCharCode(D)),D&&se>9&1,b.head.done=!0),T.adler=b.check=0,b.mode=12;break;case 10:for(;L<32;){if(B===0)break e;B--,V+=M[F++]<>>=7&L,L-=7&L,b.mode=27;break}for(;L<3;){if(B===0)break e;B--,V+=M[F++]<>>=1)){case 0:b.mode=14;break;case 1:if(Q(b),b.mode=20,I!==6)break;V>>>=2,L-=2;break e;case 2:b.mode=17;break;case 3:T.msg="invalid block type",b.mode=30}V>>>=2,L-=2;break;case 14:for(V>>>=7&L,L-=7&L;L<32;){if(B===0)break e;B--,V+=M[F++]<>>16^65535)){T.msg="invalid stored block lengths",b.mode=30;break}if(b.length=65535&V,L=V=0,b.mode=15,I===6)break e;case 15:b.mode=16;case 16:if(se=b.length){if(B>>=5,L-=5,b.ndist=1+(31&V),V>>>=5,L-=5,b.ncode=4+(15&V),V>>>=4,L-=4,286>>=3,L-=3}for(;b.have<19;)b.lens[J[b.have++]]=0;if(b.lencode=b.lendyn,b.lenbits=7,W={bits:b.lenbits},oe=u(0,b.lens,0,19,b.lencode,0,b.work,W),b.lenbits=W.bits,oe){T.msg="invalid code lengths set",b.mode=30;break}b.have=0,b.mode=19;case 19:for(;b.have>>16&255,G=65535&S,!((X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>>=X,L-=X,b.lens[b.have++]=G;else{if(G===16){for(w=X+2;L>>=X,L-=X,b.have===0){T.msg="invalid bit length repeat",b.mode=30;break}D=b.lens[b.have-1],se=3+(3&V),V>>>=2,L-=2}else if(G===17){for(w=X+3;L>>=X)),V>>>=3,L-=3}else{for(w=X+7;L>>=X)),V>>>=7,L-=7}if(b.have+se>b.nlen+b.ndist){T.msg="invalid bit length repeat",b.mode=30;break}for(;se--;)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,W={bits:b.lenbits},oe=u(l,b.lens,0,b.nlen,b.lencode,0,b.work,W),b.lenbits=W.bits,oe){T.msg="invalid literal/lengths set",b.mode=30;break}if(b.distbits=6,b.distcode=b.distdyn,W={bits:b.distbits},oe=u(h,b.lens,b.nlen,b.ndist,b.distcode,0,b.work,W),b.distbits=W.bits,oe){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<=B&&258<=$){T.next_out=A,T.avail_out=$,T.next_in=F,T.avail_in=B,b.hold=V,b.bits=L,c(T,q),A=T.next_out,C=T.output,$=T.avail_out,F=T.next_in,M=T.input,B=T.avail_in,V=b.hold,L=b.bits,b.mode===12&&(b.back=-1);break}for(b.back=0;k=(S=b.lencode[V&(1<>>16&255,G=65535&S,!((X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>H)])>>>16&255,G=65535&S,!(H+(X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>>=H,L-=H,b.back+=H}if(V>>>=X,L-=X,b.back+=X,b.length=G,k===0){b.mode=26;break}if(32&k){b.back=-1,b.mode=12;break}if(64&k){T.msg="invalid literal/length code",b.mode=30;break}b.extra=15&k,b.mode=22;case 22:if(b.extra){for(w=b.extra;L>>=b.extra,L-=b.extra,b.back+=b.extra}b.was=b.length,b.mode=23;case 23:for(;k=(S=b.distcode[V&(1<>>16&255,G=65535&S,!((X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>H)])>>>16&255,G=65535&S,!(H+(X=S>>>24)<=L);){if(B===0)break e;B--,V+=M[F++]<>>=H,L-=H,b.back+=H}if(V>>>=X,L-=X,b.back+=X,64&k){T.msg="invalid distance code",b.mode=30;break}b.offset=G,b.extra=15&k,b.mode=24;case 24:if(b.extra){for(w=b.extra;L>>=b.extra,L-=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($===0)break e;if(se=q-$,b.offset>se){if((se=b.offset-se)>b.whave&&b.sane){T.msg="invalid distance too far back",b.mode=30;break}ae=se>b.wnext?(se-=b.wnext,b.wsize-se):b.wnext-se,se>b.length&&(se=b.length),Y=b.window}else Y=C,ae=A-b.offset,se=b.length;for($N?(O=ae[Y+y[I]],L[z+y[I]]):(O=96,0),m=1<>A)+(v-=m)]=U<<24|O<<16|Q|0,v!==0;);for(m=1<>=1;if(m!==0?(V&=m-1,V+=m):V=0,I++,--q[T]==0){if(T===M)break;T=h[f+y[I]]}if(C>>7)]}function z(S,P){S.pending_buf[S.pending++]=255&P,S.pending_buf[S.pending++]=P>>>8&255}function q(S,P,J){S.bi_valid>R-J?(S.bi_buf|=P<>R-S.bi_valid,S.bi_valid+=J-R):(S.bi_buf|=P<>>=1,J<<=1,0<--P;);return J>>>1}function Y(S,P,J){var ie,K,j=new Array(y+1),re=0;for(ie=1;ie<=y;ie++)j[ie]=re=re+J[ie-1]<<1;for(K=0;K<=P;K++){var ce=S[2*K+1];ce!==0&&(S[2*K]=ae(j[ce]++,ce))}}function X(S){var P;for(P=0;P>1;1<=J;J--)H(S,j,J);for(K=he;J=S.heap[1],S.heap[1]=S.heap[S.heap_len--],H(S,j,1),ie=S.heap[1],S.heap[--S.heap_max]=J,S.heap[--S.heap_max]=ie,j[2*K]=j[2*J]+j[2*ie],S.depth[K]=(S.depth[J]>=S.depth[ie]?S.depth[J]:S.depth[ie])+1,j[2*J+1]=j[2*ie+1]=K,S.heap[1]=K++,H(S,j,1),2<=S.heap_len;);S.heap[--S.heap_max]=S.heap[1],function(_e,Fe){var Xe,Qe,Ge,Ve,at,It,Rt=Fe.dyn_tree,On=Fe.max_code,or=Fe.stat_desc.static_tree,qt=Fe.stat_desc.has_stree,ar=Fe.stat_desc.extra_bits,Kn=Fe.stat_desc.extra_base,en=Fe.stat_desc.max_length,hn=0;for(Ve=0;Ve<=y;Ve++)_e.bl_count[Ve]=0;for(Rt[2*_e.heap[_e.heap_max]+1]=0,Xe=_e.heap_max+1;Xe>=7;K>>=1)if(1&ve&&ce.dyn_ltree[2*he]!==0)return a;if(ce.dyn_ltree[18]!==0||ce.dyn_ltree[20]!==0||ce.dyn_ltree[26]!==0)return s;for(he=32;he>>3,(j=S.static_len+3+7>>>3)<=K&&(K=j)):K=j=J+5,J+4<=K&&P!==-1?w(S,P,J,ie):S.strategy===4||j===K?(q(S,2+(ie?1:0),3),te(S,ne,T)):(q(S,4+(ie?1:0),3),function(ce,he,ve,_e){var Fe;for(q(ce,he-257,5),q(ce,ve-1,5),q(ce,_e-4,4),Fe=0;Fe<_e;Fe++)q(ce,ce.bl_tree[2*Q[Fe]+1],3);oe(ce,ce.dyn_ltree,he-1),oe(ce,ce.dyn_dtree,ve-1)}(S,S.l_desc.max_code+1,S.d_desc.max_code+1,re+1),te(S,S.dyn_ltree,S.dyn_dtree)),X(S),ie&&k(S)},i._tr_tally=function(S,P,J){return S.pending_buf[S.d_buf+2*S.last_lit]=P>>>8&255,S.pending_buf[S.d_buf+2*S.last_lit+1]=255&P,S.pending_buf[S.l_buf+S.last_lit]=255&J,S.last_lit++,P===0?S.dyn_ltree[2*J]++:(S.matches++,P--,S.dyn_ltree[2*(b[J]+h+1)]++,S.dyn_dtree[2*L(P)]++),S.last_lit===S.lit_bufsize-1},i._tr_align=function(S){q(S,2,3),se(S,v,ne),function(P){P.bi_valid===16?(z(P,P.bi_buf),P.bi_buf=0,P.bi_valid=0):8<=P.bi_valid&&(P.pending_buf[P.pending++]=255&P.bi_buf,P.bi_buf>>=8,P.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,f=1,d={},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,_=a.onmessage;return a.onmessage=function(){x=!1},a.postMessage("","*"),a.onmessage=_,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 _=g.createElement("script");_.onreadystatechange=function(){m(x),_.onreadystatechange=null,u.removeChild(_),_=null},u.appendChild(_)}):function(x){setTimeout(m,0,x)},y.setImmediate=function(x){typeof x!="function"&&(x=new Function(""+x));for(var _=new Array(arguments.length-1),E=0;E<_.length;E++)_[E]=arguments[E+1];var N={callback:x,args:_};return d[f]=N,c(f),f++},y.clearImmediate=R}function R(x){delete d[x]}function m(x){if(p)setTimeout(m,0,x);else{var _=d[x];if(_){p=!0;try{(function(E){var N=E.callback,U=E.args;switch(U.length){case 0:N();break;case 1:N(U[0]);break;case 2:N(U[0],U[1]);break;case 3:N(U[0],U[1],U[2]);break;default:N.apply(s,U)}})(_)}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)})})(cy);var eL=Qu,tL=cy.exports;Bs.openArrayBuffer=nL;Bs.splitPath=rL;Bs.joinPath=iL;function nL(t){return tL.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 eL.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 rL(t){var e=t.lastIndexOf("/");return e===-1?{dirname:"",basename:t}:{dirname:t.substring(0,e),basename:t.substring(e+1)}}function iL(){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 Cf={},To={},ks={},Ku=Kt.exports;ks.Element=Fa;ks.element=function(t,e,n){return new Fa(t,e,n)};ks.text=function(t){return{type:"text",value:t}};var uy={first:function(){return null},firstOrEmpty:function(){return uy},attributes:{}};function Fa(t,e,n){this.type="element",this.name=t,this.attributes=e||{},this.children=n||[]}Fa.prototype.first=function(t){return Ku.find(this.children,function(e){return e.name===t})};Fa.prototype.firstOrEmpty=function(t){return this.first(t)||uy};Fa.prototype.getElementsByTagName=function(t){var e=Ku.filter(this.children,function(n){return n.name===t});return ly(e)};Fa.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 oL={getElementsByTagName:function(t){return ly(Ku.flatten(this.map(function(e){return e.getElementsByTagName(t)},!0)))}};function ly(t){return Ku.extend(t,oL)}var hy={},Af={},Hu={},ii={},wi={};function aL(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=0&&t=0){for(var i=e.length-1;r0},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==xa?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==xa?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){var e=this.lookupPrefix(t);return e==null}};function Sy(t){return t=="<"&&"<"||t==">"&&">"||t=="&"&&"&"||t=='"'&&"""||"&#"+t.charCodeAt()+";"}Zs(tr,Dt);Zs(tr,Dt.prototype);function Ns(t,e){if(e(t))return!0;if(t=t.firstChild)do if(Ns(t,e))return!0;while(t=t.nextSibling)}function Qs(){this.ownerDocument=this}function pL(t,e,n){t&&t._inc++;var r=n.namespaceURI;r===Is.XMLNS&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function Dy(t,e,n,r){t&&t._inc++;var i=n.namespaceURI;i===Is.XMLNS&&delete e._nsMap[n.prefix?n.localName:""]}function Xf(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 _y(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,Xf(t.ownerDocument,t),e}function gL(t){return t&&(t.nodeType===Dt.DOCUMENT_NODE||t.nodeType===Dt.DOCUMENT_FRAGMENT_NODE||t.nodeType===Dt.ELEMENT_NODE)}function mL(t){return t&&(qr(t)||Vf(t)||Ri(t)||t.nodeType===Dt.DOCUMENT_FRAGMENT_NODE||t.nodeType===Dt.COMMENT_NODE||t.nodeType===Dt.PROCESSING_INSTRUCTION_NODE)}function Ri(t){return t&&t.nodeType===Dt.DOCUMENT_TYPE_NODE}function qr(t){return t&&t.nodeType===Dt.ELEMENT_NODE}function Vf(t){return t&&t.nodeType===Dt.TEXT_NODE}function d0(t,e){var n=t.childNodes||[];if(jr(n,qr)||Ri(e))return!1;var r=jr(n,Ri);return!(e&&r&&n.indexOf(r)>n.indexOf(e))}function f0(t,e){var n=t.childNodes||[];function r(o){return qr(o)&&o!==e}if(jr(n,r))return!1;var i=jr(n,Ri);return!(e&&i&&n.indexOf(i)>n.indexOf(e))}function RL(t,e,n){if(!gL(t))throw new zt(Jn,"Unexpected parent node type "+t.nodeType);if(n&&n.parentNode!==t)throw new zt(xy,"child not in parent");if(!mL(e)||Ri(e)&&t.nodeType!==Dt.DOCUMENT_NODE)throw new zt(Jn,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function yL(t,e,n){var r=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===Dt.DOCUMENT_FRAGMENT_NODE){var o=i.filter(qr);if(o.length>1||jr(i,Vf))throw new zt(Jn,"More than one element or text in fragment");if(o.length===1&&!d0(t,n))throw new zt(Jn,"Element in fragment can not be inserted before doctype")}if(qr(e)&&!d0(t,n))throw new zt(Jn,"Only one element can be added and only after doctype");if(Ri(e)){if(jr(r,Ri))throw new zt(Jn,"Only one doctype is allowed");var a=jr(r,qr);if(n&&r.indexOf(a)1||jr(i,Vf))throw new zt(Jn,"More than one element or text in fragment");if(o.length===1&&!f0(t,n))throw new zt(Jn,"Element in fragment can not be inserted before doctype")}if(qr(e)&&!f0(t,n))throw new zt(Jn,"Only one element can be added and only after doctype");if(Ri(e)){let c=function(u){return Ri(u)&&u!==n};var s=c;if(jr(r,c))throw new zt(Jn,"Only one doctype is allowed");var a=jr(r,qr);if(n&&r.indexOf(a)0&&Ns(n.documentElement,function(i){if(i!==n&&i.nodeType===Lr){var o=i.getAttribute("class");if(o){var a=t===o;if(!a){var s=c0(o);a=e.every(hL(s))}a&&r.push(i)}}}),r})},createElement:function(t){var e=new yo;e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new pi;var n=e.attributes=new Tu;return n._ownerElement=e,e},createDocumentFragment:function(){var t=new Ju;return t.ownerDocument=this,t.childNodes=new pi,t},createTextNode:function(t){var e=new Yf;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new Bf;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new kf;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new Qf;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new Du;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new Zf;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new yo,r=e.split(":"),i=n.attributes=new Tu;return n.childNodes=new pi,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 Du,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}};er(Qs,Dt);function yo(){this._nsMap={}}yo.prototype={nodeType:Lr,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===mi?this.insertBefore(t,null):vL(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 wa(this,function(e){var n=[];return Ns(e,function(r){r!==e&&r.nodeType==Lr&&(t==="*"||r.tagName==t)&&n.push(r)}),n})},getElementsByTagNameNS:function(t,e){return new wa(this,function(n){var r=[];return Ns(n,function(i){i!==n&&i.nodeType===Lr&&(t==="*"||i.namespaceURI===t)&&(e==="*"||i.localName==e)&&r.push(i)}),r})}};Qs.prototype.getElementsByTagName=yo.prototype.getElementsByTagName;Qs.prototype.getElementsByTagNameNS=yo.prototype.getElementsByTagNameNS;er(yo,Dt);function Du(){}Du.prototype.nodeType=xa;er(Du,Dt);function Ks(){}Ks.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(yn[Jn])},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}};er(Ks,Dt);function Yf(){}Yf.prototype={nodeName:"#text",nodeType:wu,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}};er(Yf,Ks);function Bf(){}Bf.prototype={nodeName:"#comment",nodeType:yy};er(Bf,Ks);function kf(){}kf.prototype={nodeName:"#cdata-section",nodeType:gy};er(kf,Ks);function Gu(){}Gu.prototype.nodeType=by;er(Gu,Dt);function Ey(){}Ey.prototype.nodeType=fL;er(Ey,Dt);function Iy(){}Iy.prototype.nodeType=dL;er(Iy,Dt);function Zf(){}Zf.prototype.nodeType=my;er(Zf,Dt);function Ju(){}Ju.prototype.nodeName="#document-fragment";Ju.prototype.nodeType=mi;er(Ju,Dt);function Qf(){}Qf.prototype.nodeType=Ry;er(Qf,Dt);function Ny(){}Ny.prototype.serializeToString=function(t,e,n){return Fy.call(t,e,n)};Dt.prototype.toString=Fy;function Fy(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 jo(this,n,t,e,a),n.join("")}function p0(t,e,n){var r=t.prefix||"",i=t.namespaceURI;if(!i||r==="xml"&&i===Is.XML||i===Is.XMLNS)return!1;for(var o=n.length;o--;){var a=n[o];if(a.prefix===r)return a.namespace!==i}return!0}function Xh(t,e,n){t.push(" ",e,'="',n.replace(/[<>&"\t\n\r]/g,Sy),'"')}function jo(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 Lr:var o=t.attributes,a=o.length,R=t.firstChild,s=t.tagName;n=Is.isHTML(t.namespaceURI)||n;var c=s;if(!n&&!t.prefix&&t.namespaceURI){for(var u,l=0;l=0;h--){var f=i[h];if(f.prefix===""&&f.namespace===t.namespaceURI){u=f.namespace;break}}if(u!==t.namespaceURI)for(var h=i.length-1;h>=0;h--){var f=i[h];if(f.namespace===t.namespaceURI){f.prefix&&(c=f.prefix+":"+s);break}}}e.push("<",c);for(var d=0;d"),n&&/^script$/i.test(s))for(;R;)R.data?e.push(R.data):jo(R,e,n,r,i.slice()),R=R.nextSibling;else for(;R;)jo(R,e,n,r,i.slice()),R=R.nextSibling;e.push("")}else e.push("/>");return;case vy:case mi:for(var R=t.firstChild;R;)jo(R,e,n,r,i.slice()),R=R.nextSibling;return;case xa:return Xh(e,t.name,t.value);case wu:return e.push(t.data.replace(/[<&>]/g,Sy));case gy:return e.push("");case yy:return e.push("");case by:var m=t.publicId,v=t.systemId;if(e.push("");else if(v&&v!=".")e.push(" SYSTEM ",v,">");else{var x=t.internalSubset;x&&e.push(" [",x,"]"),e.push(">")}return;case Ry:return e.push("");case my:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function Py(t,e,n){var r;switch(e.nodeType){case Lr:r=e.cloneNode(!1),r.ownerDocument=t;case mi:break;case xa:n=!0;break}if(r||(r=e.cloneNode(!1)),r.ownerDocument=t,r.parentNode=null,n)for(var i=e.firstChild;i;)r.appendChild(Py(t,i,n)),i=i.nextSibling;return r}function Cd(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 pi),r.ownerDocument=t,r.nodeType){case Lr:var a=e.attributes,s=r.attributes=new Tu,c=a.length;s._ownerElement=r;for(var u=0;u",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})(My);var Kf={},Fs=wi.NAMESPACE,Ad=/[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]/,g0=new RegExp("[\\-\\.0-9"+Ad.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),m0=new RegExp("^"+Ad.source+g0.source+"*(?::"+Ad.source+g0.source+"*)?$"),es=0,Ei=1,Xo=2,ts=3,Vo=4,Yo=5,ns=6,Wc=7;function Ta(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,Ta)}Ta.prototype=new Error;Ta.prototype.name=Ta.name;function Cy(){}Cy.prototype={parse:function(t,e,n){var r=this.domBuilder;r.startDocument(),Ay(e,e={}),bL(t,e,n,r,this.errorHandler),r.endDocument()}};function bL(t,e,n,r,i){function o(C){if(C>65535){C-=65536;var F=55296+(C>>10),A=56320+(C&1023);return String.fromCharCode(F,A)}else return String.fromCharCode(C)}function a(C){var F=C.slice(1,-1);return Object.hasOwnProperty.call(n,F)?n[F]:F.charAt(0)==="#"?o(parseInt(F.substr(1).replace("x","0x"))):(i.error("entity not found:"+C),C)}function s(C){if(C>g){var F=t.substring(g,C).replace(/&#?\w+;/g,a);f&&c(g),r.characters(F,0,C-g),g=C}}function c(C,F){for(;C>=l&&(F=h.exec(t));)u=F.index,l=u+F[0].length,f.lineNumber++;f.columnNumber=C-u+1}for(var u=0,l=0,h=/.*(?:\r\n?|\n)|.*$/g,f=r.locator,d=[{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 ne=t.indexOf(">",y+3),v=t.substring(y+2,ne).replace(/[ \t\n\r]+$/g,""),x=d.pop();ne<0?(v=t.substring(y+2).replace(/[\s<].*/,""),i.error("end tag name: "+v+" is not complete:"+x.tagName),ne=y+1+v.length):v.match(/\sg?g=ne:s(Math.max(y,g)+1)}}function R0(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function xL(t,e,n,r,i,o){function a(f,d,p){n.attributeNames.hasOwnProperty(f)&&o.fatalError("Attribute "+f+" redefined"),n.addValue(f,d.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),p)}for(var s,c,u=++e,l=es;;){var h=t.charAt(u);switch(h){case"=":if(l===Ei)s=t.slice(e,u),l=ts;else if(l===Xo)l=ts;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(l===ts||l===Ei)if(l===Ei&&(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=Yo;else throw new Error("attribute value no end '"+h+"' match");else if(l==Vo)c=t.slice(e,u),a(s,c,e),o.warning('attribute "'+s+'" missed start quot('+h+")!!"),e=u+1,l=Yo;else throw new Error('attribute value must after "="');break;case"/":switch(l){case es:n.setTagName(t.slice(e,u));case Yo:case ns:case Wc:l=Wc,n.closed=!0;case Vo:case Ei:break;case Xo:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),l==es&&n.setTagName(t.slice(e,u)),u;case">":switch(l){case es:n.setTagName(t.slice(e,u));case Yo:case ns:case Wc:break;case Vo:case Ei:c=t.slice(e,u),c.slice(-1)==="/"&&(n.closed=!0,c=c.slice(0,-1));case Xo:l===Xo&&(c=s),l==Vo?(o.warning('attribute "'+c+'" missed quot(")!'),a(s,c,e)):((!Fs.isHTML(r[""])||!c.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+c+'" missed value!! "'+c+'" instead!!'),a(c,c,e));break;case ts:throw new Error("attribute value missed!!")}return u;case"\x80":h=" ";default:if(h<=" ")switch(l){case es:n.setTagName(t.slice(e,u)),l=ns;break;case Ei:s=t.slice(e,u),l=Xo;break;case Vo:var c=t.slice(e,u);o.warning('attribute "'+c+'" missed quot(")!!'),a(s,c,e);case Yo:l=ns;break}else switch(l){case Xo:n.tagName,(!Fs.isHTML(r[""])||!s.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,e),e=u,l=Ei;break;case Yo:o.warning('attribute space is required"'+s+'"!!');case ns:l=Ei,e=u;break;case ts:l=Vo,e=u;break;case Wc:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function y0(t,e,n){for(var r=t.tagName,i=null,h=t.length;h--;){var o=t[h],a=o.qName,s=o.value,f=a.indexOf(":");if(f>0)var c=o.prefix=a.slice(0,f),u=a.slice(f+1),l=c==="xmlns"&&u;else u=a,c=null,l=a==="xmlns"&&"";o.localName=u,l!==!1&&(i==null&&(i={},Ay(n,n={})),n[l]=i[l]=s,o.uri=Fs.XMLNS,e.startPrefixMapping(l,s))}for(var h=t.length;h--;){o=t[h];var c=o.prefix;c&&(c==="xml"&&(o.uri=Fs.XML),c!=="xmlns"&&(o.uri=n[c||""]))}var f=r.indexOf(":");f>0?(c=t.prefix=r.slice(0,f),u=t.localName=r.slice(f+1)):(c=null,u=t.localName=r);var d=t.uri=n[c||""];if(e.startElement(d,u,r,t),t.closed){if(e.endElement(d,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 wL(t,e,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=t.indexOf("",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 TL(t,e,n,r){var i=r[n];return i==null&&(i=t.lastIndexOf(""),i",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=_L(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 DL(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 Uy(){this.attributeNames={}}Uy.prototype={setTagName:function(t){if(!m0.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,n){if(!m0.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 _L(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}Kf.XMLReader=Cy;Kf.ParseError=Ta;var OL=wi,EL=ii,v0=My,Wy=Kf,IL=EL.DOMImplementation,b0=OL.NAMESPACE,NL=Wy.ParseError,FL=Wy.XMLReader;function Xy(t){return t.replace(/\r[\n\u0085]/g,` `).replace(/[\r\u0085\u2028]/g,` `)}function Vy(t){this.options=t||{locator:{}}}Vy.prototype.parseFromString=function(t,e){var n=this.options,r=new FL,i=n.domBuilder||new Hs,o=n.errorHandler,a=n.locator,s=n.xmlns||{},c=/\/x?html?$/.test(e),u=c?v0.HTML_ENTITIES:v0.XML_ENTITIES;a&&i.setDocumentLocator(a),r.errorHandler=PL(o,i,a),r.domBuilder=n.domBuilder||i,c&&(s[""]=b0.HTML),s.xml=s.xml||b0.XML;var l=n.normalizeLineEndings||Xy;return t&&typeof t=="string"?r.parse(l(t),s,u):r.errorHandler.error("invalid doc source"),i.doc};function PL(t,e,n){if(!t){if(e instanceof Hs)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+Ud(n))}||function(){}}return o("warning"),o("error"),o("fatalError"),r}function Hs(){this.cdata=!1}function Bo(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}Hs.prototype={startDocument:function(){this.doc=new IL().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;Xc(this,o),this.currentElement=o,this.locator&&Bo(this.locator,o);for(var s=0;s=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){Hs.prototype[t]=function(){return null}});function Xc(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}zu.__DOMHandler=Hs;zu.normalizeLineEndings=Xy;zu.DOMParser=Vy;var Yy=ii;Hu.DOMImplementation=Yy.DOMImplementation;Hu.XMLSerializer=Yy.XMLSerializer;Hu.DOMParser=zu.DOMParser;var LL=Hu,ML=ii;function CL(t){var e=null,n=new LL.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)}Af.parseFromString=CL;Af.Node=ML.Node;var Vh=vn,w0=Kt.exports,By=Af,ky=ks,AL=ky.Element;hy.readString=UL;var T0=By.Node;function UL(t,e){e=e||{};try{var n=By.parseFromString(t,"text/xml")}catch(a){return Vh.reject(a)}if(n.documentElement.tagName==="parsererror")return Vh.resolve(new Error(n.documentElement.textContent));function r(a){switch(a.nodeType){case T0.ELEMENT_NODE:return i(a);case T0.TEXT_NODE:return ky.text(a.nodeValue)}}function i(a){var s=o(a),c=[];w0.forEach(a.childNodes,function(l){var h=r(l);h&&c.push(h)});var u={};return w0.forEach(a.attributes,function(l){u[o(l)]=l.value}),new AL(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 Vh.resolve(r(n.documentElement))}var Zy={},ds={},Zn={};(function(){var t,e,n,r,i,o,a,s=[].slice,c={}.hasOwnProperty;t=function(){var u,l,h,f,d,p;if(p=arguments[0],d=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(u=0,h=d.length;u":"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=Zn,i=o.isObject,r=o.isFunction,n=o.getValue,e=Qn.exports,t=Hf.exports,Gs.exports=function(c){a(u,c);function u(l,h,f){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={},f!=null&&this.attribute(f),l.isDocument&&(this.isRoot=!0,this.documentObject=l,l.rootObject=this)}return u.prototype.clone=function(){var l,h,f,d;f=Object.create(this),f.isRoot&&(f.documentObject=null),f.attributes={},d=this.attributes;for(h in d)!s.call(d,h)||(l=d[h],f.attributes[h]=l.clone());return f.children=[],this.children.forEach(function(p){var g;return g=p.clone(),g.parent=f,f.children.push(g)}),f},u.prototype.attribute=function(l,h){var f,d;if(l!=null&&(l=n(l)),i(l))for(f in l)!s.call(l,f)||(d=l[f],this.attribute(f,d));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,f,d;if(l==null)throw new Error("Missing attribute name. "+this.debugInfo());if(l=n(l),Array.isArray(l))for(f=0,d=l.length;f0&&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":(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 Gf={exports:{}};(function(){var t=function(n,r){return function(){return n.apply(r,arguments)}},e={}.hasOwnProperty;Gf.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("]]>","]]]]>"),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(/\r/g," ")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/0?new Array(r).join(this.indent):""):""},e}()}).call(qe);(function(){var t,e,n,r,i,o,a,s,c,u,l,h,f,d,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=$s.exports,s=js.exports,t=Js.exports,e=zs.exports,u=Gs.exports,h=rc.exports,f=ic.exports,l=oc.exports,c=$u.exports,n=qs.exports,r=tc.exports,i=ec.exports,o=nc.exports,d=Jf.exports,ju.exports=function(y){p(R,y);function R(m){R.__super__.constructor.call(this,m)}return R.prototype.document=function(m){var v,x,_,E,N;for(this.textispresent=!1,E="",N=m.children,x=0,_=N.length;x<_;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)+""+this.newline},R.prototype.comment=function(m,v){return this.space(v)+""+this.newline},R.prototype.declaration=function(m,v){var x;return x=this.space(v),x+='",x+=this.newline,x},R.prototype.docType=function(m,v){var x,_,E,N,U;if(v||(v=0),N=this.space(v),N+="0){for(N+=" [",N+=this.newline,U=m.children,_=0,E=U.length;_",N+=this.newline,N},R.prototype.element=function(m,v){var x,_,E,N,U,O,Q,ne,T,I,b,M,C;v||(v=0),C=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),M=this.space(v),ne="",ne+=M+"<"+m.name,T=m.attributes;for(Q in T)!g.call(T,Q)||(x=T[Q],ne+=this.attribute(x));if(m.children.length===0||m.children.every(function(F){return F.value===""}))this.allowEmpty?ne+=">"+this.newline:ne+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)ne+=">",ne+=m.children[0].value,ne+=""+this.newline;else{if(this.dontprettytextnodes){for(I=m.children,E=0,U=I.length;E"+this.newline,b=m.children,N=0,O=b.length;N"+this.newline}return ne},R.prototype.processingInstruction=function(m,v){var x;return x=this.space(v)+""+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)+""+this.newline,x},R.prototype.dtdElement=function(m,v){return this.space(v)+""+this.newline},R.prototype.dtdEntity=function(m,v){var x;return x=this.space(v)+""+this.newline,x},R.prototype.dtdNotation=function(m,v){var x;return x=this.space(v)+""+this.newline,x},R.prototype.openNode=function(m,v){var x,_,E,N;if(v||(v=0),m instanceof u){E=this.space(v)+"<"+m.name,N=m.attributes;for(_ in N)!g.call(N,_)||(x=N[_],E+=this.attribute(x));return E+=(m.children?">":"/>")+this.newline,E}else return E=this.space(v)+"")+this.newline,E},R.prototype.closeNode=function(m,v){switch(v||(v=0),!1){case!(m instanceof u):return this.space(v)+""+this.newline;case!(m instanceof s):return this.space(v)+"]>"+this.newline}},R}(d)}).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=Zn.isPlainObject,t=Qn.exports,n=Gf.exports,e=ju.exports,Qy.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 Ky={exports:{}};(function(){var t,e,n,r,i,o,a,s,c,u,l,h,f,d,p,g,y,R,m,v,x={}.hasOwnProperty;v=Zn,R=v.isObject,y=v.isFunction,m=v.isPlainObject,g=v.getValue,u=Gs.exports,e=Js.exports,n=zs.exports,h=rc.exports,p=ic.exports,l=oc.exports,s=$s.exports,c=js.exports,r=qs.exports,o=ec.exports,i=tc.exports,a=nc.exports,t=Hf.exports,d=Gf.exports,f=ju.exports,Ky.exports=function(){function _(E,N,U){var O;this.name="?xml",E||(E={}),E.writer?m(E.writer)&&(O=E.writer,E.writer=new f(O)):E.writer=new f(E),this.options=E,this.writer=E.writer,this.stringify=new d(E),this.onDataCallback=N||function(){},this.onEndCallback=U||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _.prototype.node=function(E,N,U){var O,Q;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&&U==null&&(O=[{},null],N=O[0],U=O[1]),N==null&&(N={}),N=g(N),R(N)||(Q=[N,U],U=Q[0],N=Q[1]),this.currentNode=new u(this,E,N),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,U!=null&&this.text(U),this},_.prototype.element=function(E,N,U){return this.currentNode&&this.currentNode instanceof c?this.dtdElement.apply(this,arguments):this.node(E,N,U)},_.prototype.attribute=function(E,N){var U,O;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(U in E)!x.call(E,U)||(O=E[U],this.attribute(U,O));else y(N)&&(N=N.apply()),(!this.options.skipNullAttributes||N!=null)&&(this.currentNode.attributes[E]=new t(this,E,N));return this},_.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},_.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},_.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},_.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},_.prototype.instruction=function(E,N){var U,O,Q,ne,T;if(this.openCurrent(),E!=null&&(E=g(E)),N!=null&&(N=g(N)),Array.isArray(E))for(U=0,ne=E.length;U=0;)this.up();return this.onEnd()},_.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_.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},_.prototype.closeNode=function(E){if(!E.isClosed)return this.onData(this.writer.closeNode(E,this.currentLevel),this.currentLevel),E.isClosed=!0},_.prototype.onData=function(E,N){return this.documentStarted=!0,this.onDataCallback(E,N+1)},_.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},_.prototype.ele=function(){return this.element.apply(this,arguments)},_.prototype.nod=function(E,N,U){return this.node(E,N,U)},_.prototype.txt=function(E){return this.text(E)},_.prototype.dat=function(E){return this.cdata(E)},_.prototype.com=function(E){return this.comment(E)},_.prototype.ins=function(E,N){return this.instruction(E,N)},_.prototype.dec=function(E,N,U){return this.declaration(E,N,U)},_.prototype.dtd=function(E,N,U){return this.doctype(E,N,U)},_.prototype.e=function(E,N,U){return this.element(E,N,U)},_.prototype.n=function(E,N,U){return this.node(E,N,U)},_.prototype.t=function(E){return this.text(E)},_.prototype.d=function(E){return this.cdata(E)},_.prototype.c=function(E){return this.comment(E)},_.prototype.r=function(E){return this.raw(E)},_.prototype.i=function(E,N){return this.instruction(E,N)},_.prototype.att=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.a=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.ent=function(E,N){return this.entity(E,N)},_.prototype.pent=function(E,N){return this.pEntity(E,N)},_.prototype.not=function(E,N){return this.notation(E,N)},_}()}).call(qe);var Hy={exports:{}};(function(){var t,e,n,r,i,o,a,s,c,u,l,h,f,d,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=$s.exports,s=js.exports,t=Js.exports,e=zs.exports,u=Gs.exports,h=rc.exports,f=ic.exports,l=oc.exports,c=$u.exports,n=qs.exports,r=tc.exports,i=ec.exports,o=nc.exports,d=Jf.exports,Hy.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,_,E,N,U,O,Q;for(U=m.children,x=0,E=U.length;x"+this.endline(m))},R.prototype.comment=function(m,v){return this.stream.write(this.space(v)+""+this.endline(m))},R.prototype.declaration=function(m,v){return this.stream.write(this.space(v)),this.stream.write('"),this.stream.write(this.endline(m))},R.prototype.docType=function(m,v){var x,_,E,N;if(v||(v=0),this.stream.write(this.space(v)),this.stream.write("0){for(this.stream.write(" ["),this.stream.write(this.endline(m)),N=m.children,_=0,E=N.length;_"),this.stream.write(this.endline(m))},R.prototype.element=function(m,v){var x,_,E,N,U,O,Q,ne;v||(v=0),ne=this.space(v),this.stream.write(ne+"<"+m.name),O=m.attributes;for(U in O)!g.call(O,U)||(x=O[U],this.attribute(x));if(m.children.length===0||m.children.every(function(T){return T.value===""}))this.allowEmpty?this.stream.write(">"):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("");else{for(this.stream.write(">"+this.newline),Q=m.children,E=0,N=Q.length;E")}return this.stream.write(this.endline(m))},R.prototype.processingInstruction=function(m,v){return this.stream.write(this.space(v)+""+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)+""+this.endline(m))},R.prototype.dtdElement=function(m,v){return this.stream.write(this.space(v)+""+this.endline(m))},R.prototype.dtdEntity=function(m,v){return this.stream.write(this.space(v)+""+this.endline(m))},R.prototype.dtdNotation=function(m,v){return this.stream.write(this.space(v)+""+this.endline(m))},R.prototype.endline=function(m){return m.isLastRootNode?"":this.newline},R}(d)}).call(qe);(function(){var t,e,n,r,i,o,a;a=Zn,i=a.assign,o=a.isFunction,t=Qy.exports,e=Ky.exports,r=ju.exports,n=Hy.exports,ds.create=function(s,c,u,l){var h,f;if(s==null)throw new Error("Root element needs a name.");return l=i({},c,u,l),h=new t(l),f=h.element(s),l.headless||(h.declaration(l),(l.pubID!=null||l.sysID!=null)&&h.doctype(l)),f},ds.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)},ds.stringWriter=function(s){return new r(s)},ds.streamWriter=function(s,c){return new n(s,c)}}).call(qe);var S0=Kt.exports,WL=ds;Zy.writeString=XL;function XL(t,e){var n=S0.invert(e),r={element:o,text:VL};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=WL.create(a(c.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return S0.forEach(e,function(l,h){var f="xmlns"+(h===""?"":":"+h);u.attribute(f,l)}),c.children.forEach(function(l){i(u,l)}),u.end()}return s(t)}function VL(t,e){t.text(e.value)}var zf=ks;To.Element=zf.Element;To.element=zf.element;To.text=zf.text;To.readString=hy.readString;To.writeString=Zy.writeString;var YL=Kt.exports,BL=vn,kL=To;Cf.read=Gy;Cf.readXmlFromZipFile=QL;var ZL={"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 Gy(t){return kL.readString(t,ZL).then(function(e){return Jy(e)[0]})}function QL(t,e){return t.exists(e)?t.read(e,"utf-8").then(KL).then(Gy):BL.resolve(null)}function KL(t){return t.replace(/^\uFEFF/g,"")}function Jy(t){return t.type==="element"?t.name==="mc:AlternateContent"?t.first("mc:Fallback").children:(t.children=YL.flatten(t.children.map(Jy,!0)),[t]):[t]}var $f={},Xi={},jf={};Object.defineProperty(jf,"__esModule",{value:!0});var HL=[{"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"}];jf.default=HL;var GL=qe&&qe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.hex=Xi.dec=Xi.codePoint=void 0;var JL=GL(jf),zy={},zL=String.fromCodePoint?String.fromCodePoint:eM;for(var Yh=0,D0=JL.default;Yh0&&(te=r.concat(te),r=[]),_n.map(f(G),l(te),function(pe,D){return new Gt.Paragraph(D,pe)}).insertExtra()},"w:r":function(k){return _n.map(p(k.firstOrEmpty("w:rPr")),l(k.children),function(G,H){var te=N();return te!==null&&(H=[new Gt.Hyperlink(H,te)]),new Gt.Run(H,G)})},"w:fldChar":E,"w:instrText":O,"w:t":function(k){return yr(new Gt.Text(k.text()))},"w:tab":function(k){return yr(new Gt.Tab)},"w:noBreakHyphen":function(){return yr(new Gt.Text("\u2011"))},"w:softHyphen":function(k){return yr(new Gt.Text("\xAD"))},"w:sym":Q,"w:hyperlink":function(k){var G=k.attributes["r:id"],H=k.attributes["w:anchor"];return l(k.children).map(function(te){function pe(oe){var W=k.attributes["w:tgtFrame"]||null;return new Gt.Hyperlink(te,Sr.extend({targetFrame:W},oe))}if(G){var D=i.findTargetByRelationshipId(G);return H&&(D=E0.replaceFragment(D,H)),pe({href:D})}else return H?pe({anchor:H}):te})},"w:tbl":M,"w:tr":F,"w:tc":A,"w:footnoteReference":ne("footnote"),"w:endnoteReference":ne("endnote"),"w:commentReference":T,"w:br":function(k){var G=k.attributes["w:type"];return G==null||G==="textWrapping"?yr(Gt.lineBreak):G==="page"?yr(Gt.pageBreak):G==="column"?yr(Gt.columnBreak):rs([ui("Unsupported break type: "+G)])},"w:bookmarkStart":function(k){var G=k.attributes["w:name"];return G==="_GoBack"?is():yr(new Gt.BookmarkStart({name:G}))},"mc:AlternateContent":function(k){return I(k.first("mc:Fallback"))},"w:sdt":function(k){return l(k.firstOrEmpty("w:sdtContent").children)},"w:ins":I,"w:object":I,"w:smartTag":I,"w:drawing":I,"w:pict":function(k){return I(k).toExtra()},"v:roundrect":I,"v:shape":I,"v:textbox":I,"w:txbxContent":I,"wp:inline":V,"wp:anchor":V,"v:imagedata":se,"v:group":I,"v:rect":I};return{readXmlElement:h,readXmlElements:l};function M(k){var G=C(k.firstOrEmpty("w:tblPr"));return l(k.children).flatMap($).flatMap(function(H){return G.map(function(te){return Gt.Table(H,te)})})}function C(k){return v(k).map(function(G){return{styleId:G.styleId,styleName:G.name}})}function F(k){var G=k.firstOrEmpty("w:trPr"),H=!!G.first("w:tblHeader");return l(k.children).map(function(te){return Gt.TableRow(te,{isHeader:H})})}function A(k){return l(k.children).map(function(G){var H=k.firstOrEmpty("w:tcPr"),te=H.firstOrEmpty("w:gridSpan").attributes["w:val"],pe=te?parseInt(te,10):1,D=Gt.TableCell(G,{colSpan:pe});return D._vMerge=B(H),D})}function B(k){var G=k.first("w:vMerge");if(G){var H=G.attributes["w:val"];return H==="continue"||!H}else return null}function $(k){var G=Sr.any(k,function(pe){return pe.type!==Gt.types.tableRow});if(G)return Vc(k,[ui("unexpected non-row element in table, cell merging may be incorrect")]);var H=Sr.any(k,function(pe){return Sr.any(pe.children,function(D){return D.type!==Gt.types.tableCell})});if(H)return Vc(k,[ui("unexpected non-cell element in table row, cell merging may be incorrect")]);var te={};return k.forEach(function(pe){var D=0;pe.children.forEach(function(oe){oe._vMerge&&te[D]?te[D].rowSpan++:(te[D]=oe,oe._vMerge=!1),D+=oe.colSpan})}),k.forEach(function(pe){pe.children=pe.children.filter(function(D){return!D._vMerge}),pe.children.forEach(function(D){delete D._vMerge})}),yr(k)}function V(k){var G=k.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return N0(G.map(L.bind(null,k)))}function L(k,G){var H=k.first("wp:docPr").attributes,te=z(H.descr)?H.title:H.descr,pe=q(G);return pe===null?rs([ui("Could not find image file for a:blip element")]):Y(pe,te)}function z(k){return k==null||/^\s*$/.test(k)}function q(k){var G=k.attributes["r:embed"],H=k.attributes["r:link"];if(G)return ae(G);if(H){var te=i.findTargetByRelationshipId(H);return{path:te,read:s.read.bind(s,te)}}else return null}function se(k){var G=k.attributes["r:id"];return G?Y(ae(G),k.attributes["o:title"]):rs([ui("A v:imagedata element without a relationship ID was ignored")])}function ae(k){var G=E0.uriToZipEntryName("word",i.findTargetByRelationshipId(k));return{path:G,read:a.read.bind(a,G)}}function Y(k,G){var H=o.findContentType(k.path),te=Gt.Image({readImage:k.read,altText:G,contentType:H}),pe=iM[H]?[]:ui("Image of type "+H+" is unlikely to display in web browsers");return Vc(te,pe)}function X(k,G){return ui(k+" style with ID "+G+" was referenced but not defined in the document")}}function jy(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 iM={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},oM={"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 rs(t){return new _n(null,null,t)}function is(){return new _n(null)}function yr(t){return new _n(t)}function Vc(t,e){return new _n(t,null,e)}function _n(t,e,n){this.value=t||[],this.extra=e||[],this._result=new $y({element:this.value,extra:e},n),this.messages=this._result.messages}_n.prototype.toExtra=function(){return new _n(null,qu(this.extra,this.value),this.messages)};_n.prototype.insertExtra=function(){var t=this.extra;return t&&t.length?new _n(qu(this.value,t),null,this.messages):this};_n.prototype.map=function(t){var e=this._result.map(function(n){return t(n.element)});return new _n(e.value,this.extra,e.messages)};_n.prototype.flatMap=function(t){var e=this._result.flatMap(function(n){return t(n.element)._result});return new _n(e.value.element,qu(this.extra,e.value.extra),e.messages)};_n.map=function(t,e,n){return new _n(n(t.value,e.value),qu(t.extra,e.extra),t.messages.concat(e.messages))};function N0(t){var e=$y.combine(Sr.pluck(t,"_result"));return new _n(Sr.flatten(Sr.pluck(e.value,"element")),Sr.filter(Sr.flatten(Sr.pluck(e.value,"extra")),aM),e.messages)}function qu(t,e){return Sr.flatten([t,e])}function aM(t){return t}var qy={};qy.DocumentXmlReader=uM;var sM=ut,cM=gr.Result;function uM(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 sM.Document(a,{notes:t.notes,comments:t.comments})});return new cM(o.value,o.messages)}return{convertXmlToDocument:n}}var el={};el.readRelationships=lM;el.defaultValue=new tp([]);el.Relationships=tp;function lM(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 tp(e)}function tp(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 np={};np.readContentTypesFromXml=dM;var hM={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};np.defaultContentTypes=ev({},{});function dM(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}}),ev(n,e)}function ev(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=hM[o.toLowerCase()];return a?"image/"+a:null}}}var tl={},Yc=Kt.exports;tl.readNumberingXml=fM;tl.Numbering=rp;tl.defaultNumbering=new rp({},{});function rp(t,e,n){var r=Yc.flatten(Yc.values(e).map(function(s){return Yc.values(s.levels)})),i=Yc.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 fM(t,e){if(!e||!e.styles)throw new Error("styles is missing");var n=pM(t),r=mM(t);return new rp(r,n,e.styles)}function pM(t){var e={};return t.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];e[r]=gM(n)}),e}function gM(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 mM(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 nl={};nl.readStylesXml=RM;nl.Styles=Ps;nl.defaultStyles=new Ps({},{});function Ps(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]}}}Ps.EMPTY=new Ps({},{},{},{});function RM(t){var e={},n={},r={},i={},o={paragraph:e,character:n,table:r};return t.getElementsByTagName("w:style").forEach(function(a){var s=yM(a);if(s.type==="numbering")i[s.styleId]=bM(a);else{var c=o[s.type];c&&(c[s.styleId]=s)}}),new Ps(e,n,r,i)}function yM(t){var e=t.attributes["w:type"],n=t.attributes["w:styleId"],r=vM(t);return{type:e,styleId:n,name:r}}function vM(t){var e=t.first("w:name");return e?e.attributes["w:val"]:null}function bM(t){var e=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:e}}var ip={},xM=ut,wM=gr.Result;ip.createFootnotesReader=tv.bind(qe,"footnote");ip.createEndnotesReader=tv.bind(qe,"endnote");function tv(t,e){function n(o){return wM.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 xM.Note({noteType:t,noteId:a,body:s})})}return n}var nv={},TM=ut,SM=gr.Result;function DM(t){function e(r){return SM.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 TM.comment({commentId:i,body:a,authorName:o("w:author"),authorInitials:o("w:initials")})})}return e}nv.createCommentsReader=DM;var rv={},_M=vn;rv.Files=OM;function OM(){function t(e){return _M.reject(new Error("could not open external image: '"+e+`' cannot open linked files from a web browser`))}return{read:t}}If.read=LM;If._findPartPaths=ov;var EM=vn,IM=ut,kh=gr.Result,_u=Bs,iv=Cf.readXmlFromZipFile,NM=$f.createBodyReader,FM=qy.DocumentXmlReader,Sa=el,F0=np,P0=tl,L0=nl,M0=ip,PM=nv,C0=rv.Files;function LM(t,e){return e=e||{},EM.props({contentTypes:CM(t),partPaths:ov(t),docxFile:t,files:e.path?C0.relativeToFile(e.path):new C0(null)}).also(function(n){return{styles:UM(t,n.partPaths.styles)}}).also(function(n){return{numbering:AM(t,n.partPaths.numbering,n.styles)}}).also(function(n){return{footnotes:Bc(n.partPaths.footnotes,n,function(r,i){return i?M0.createFootnotesReader(r)(i):new kh([])}),endnotes:Bc(n.partPaths.endnotes,n,function(r,i){return i?M0.createEndnotesReader(r)(i):new kh([])}),comments:Bc(n.partPaths.comments,n,function(r,i){return i?PM.createCommentsReader(r)(i):new kh([])})}}).also(function(n){return{notes:n.footnotes.flatMap(function(r){return n.endnotes.map(function(i){return new IM.Notes(r.concat(i))})})}}).then(function(n){return Bc(n.partPaths.mainDocument,n,function(r,i){return n.notes.flatMap(function(o){return n.comments.flatMap(function(a){var s=new FM({bodyReader:r,notes:o,comments:a});return s.convertXmlToDocument(i)})})})})}function ov(t){return WM(t).then(function(e){var n=A0({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 Pa({filename:av(n),readElement:Sa.readRelationships,defaultValue:Sa.defaultValue})(t).then(function(r){function i(o){return A0({docxFile:t,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+o,basePath:_u.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 A0(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 MM(_u.joinPath(i,u),"/")}),c=s.filter(function(u){return e.exists(u)});return c.length===0?o:c[0]}function MM(t,e){return t.substring(0,e.length)===e?t.substring(e.length):t}function Pa(t){return function(e){return iv(e,t.filename).then(function(n){return n?t.readElement(n):t.defaultValue})}}function Bc(t,e,n){var r=Pa({filename:av(t),readElement:Sa.readRelationships,defaultValue:Sa.defaultValue});return r(e.docxFile).then(function(i){var o=new NM({relationships:i,contentTypes:e.contentTypes,docxFile:e.docxFile,numbering:e.numbering,styles:e.styles,files:e.files});return iv(e.docxFile,t).then(function(a){return n(o,a)})})}function av(t){var e=_u.splitPath(t);return _u.joinPath(e.dirname,"_rels",e.basename+".rels")}var CM=Pa({filename:"[Content_Types].xml",readElement:F0.readContentTypesFromXml,defaultValue:F0.defaultContentTypes});function AM(t,e,n){return Pa({filename:e,readElement:function(r){return P0.readNumberingXml(r,{styles:n})},defaultValue:P0.defaultNumbering})(t)}function UM(t,e){return Pa({filename:e,readElement:L0.readStylesXml,defaultValue:L0.defaultStyles})(t)}var WM=Pa({filename:"_rels/.rels",readElement:Sa.readRelationships,defaultValue:Sa.defaultValue}),op={},XM=Kt.exports,VM=vn,Ls=To;op.writeStyleMap=BM;op.readStyleMap=QM;var YM="http://schemas.zwobble.org/mammoth/style-map",Ou="mammoth/style-map",sv="/"+Ou;function BM(t,e){return t.write(Ou,e),kM(t).then(function(){return ZM(t)})}function kM(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(Ls.readString).then(function(i){var o=i.children;cv(o,r,"Id",{Id:"rMammothStyleMap",Type:YM,Target:sv});var a={"":n};return t.write(e,Ls.writeString(i,a))})}function ZM(t){var e="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",r="{"+n+"}Override";return t.read(e,"utf8").then(Ls.readString).then(function(i){var o=i.children;cv(o,r,"PartName",{PartName:sv,ContentType:"text/prs.mammoth.style-map"});var a={"":n};return t.write(e,Ls.writeString(i,a))})}function cv(t,e,n,r){var i=XM.find(t,function(o){return o.name===e&&o.attributes[n]===r[n]});i?i.attributes=r:t.push(Ls.element(e,r))}function QM(t){return t.exists(Ou)?t.read(Ou,"utf8"):VM.resolve(null)}var ap={},Ti={},Ar={},Ki={},uv=Ti;function KM(t,e,n){return sp(uv.element(t,e,{fresh:!1}),n)}function HM(t,e,n){var r=uv.element(t,e,{fresh:!0});return sp(r,n)}function sp(t,e){return{type:"element",tag:t,children:e||[]}}function GM(t){return{type:"text",value:t}}var JM={type:"forceWrite"};Ki.freshElement=HM;Ki.nonFreshElement=KM;Ki.elementWithTag=sp;Ki.text=GM;Ki.forceWrite=JM;var zM={br:!0,hr:!0,img:!0};function $M(t){return t.children.length===0&&zM[t.tag.tagName]}Ki.isVoidElement=$M;var U0=Kt.exports,Eu=Ki;function jM(t){return lv(hv(t))}function lv(t){var e=[];return t.map(qM).forEach(function(n){Wd(e,n)}),e}function qM(t){return eC[t.type](t)}var eC={element:tC,text:W0,forceWrite:W0};function tC(t){return Eu.elementWithTag(t.tag,lv(t.children))}function W0(t){return t}function Wd(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&&Wd(n.children,Eu.text(e.tag.separator)),e.children.forEach(function(r){Wd(n.children,r)})):t.push(e)}function hv(t){return nC(t,function(e){return rC[e.type](e)})}function nC(t,e){return U0.flatten(U0.map(t,e),!0)}var rC={element:oC,text:aC,forceWrite:iC};function iC(t){return[t]}function oC(t){var e=hv(t.children);return e.length===0&&!Eu.isVoidElement(t)?[]:[Eu.elementWithTag(t.tag,e)]}function aC(t){return t.value.length===0?[]:[t]}var sC=jM,La=Ki;Ar.freshElement=La.freshElement;Ar.nonFreshElement=La.nonFreshElement;Ar.elementWithTag=La.elementWithTag;Ar.text=La.text;Ar.forceWrite=La.forceWrite;Ar.simplify=sC;function dv(t,e){e.forEach(function(n){cC(t,n)})}function cC(t,e){uC[e.type](t,e)}var uC={element:lC,text:hC,forceWrite:function(){}};function lC(t,e){La.isVoidElement(e)?t.selfClosing(e.tag.tagName,e.tag.attributes):(t.open(e.tag.tagName,e.tag.attributes),dv(t,e.children),t.close(e.tag.tagName))}function hC(t,e){t.text(e.value)}Ar.write=dv;var cp=Kt.exports,dC=Ar;Ti.topLevelElement=fC;Ti.elements=up;Ti.element=lp;function fC(t,e){return up([lp(t,e,{fresh:!0})])}function up(t){return new fv(t.map(function(e){return cp.isString(e)?lp(e):e}))}function fv(t){this._elements=t}fv.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 lp(t,e,n){return n=n||{},new rl(t,e,n)}function rl(t,e,n){var r={};cp.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}rl.prototype.matchesElement=function(t){return this.tagNames[t.tagName]&&cp.isEqual(this.attributes||{},t.attributes||{})};rl.prototype.wrap=function(e){return this.wrapNodes(e())};rl.prototype.wrapNodes=function(e){return[dC.elementWithTag(this,e)]};Ti.empty=up([]);Ti.ignore={wrap:function(){return[]}};var hp={};(function(t){var e=Kt.exports,n=vn,r=Ar;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}})})})(hp);var pv={},gv={},mv=Kt.exports;gv.writer=pC;function pC(t){return t=t||{},t.prettyPrint?gC():Rv()}var kc={div:!0,p:!0,ul:!0,li:!0};function gC(){var t=0,e=" ",n=[],r=!0,i=!1,o=Rv();function a(p,g){kc[p]&&f(),n.push(p),o.open(p,g),kc[p]&&t++,r=!1}function s(p){kc[p]&&(t--,f()),n.pop(),o.close(p)}function c(p){h();var g=d()?p:p.replace(` `,` `+e);o.text(g)}function u(p,g){f(),o.selfClosing(p,g)}function l(){return n.length===0||kc[n[n.length-1]]}function h(){i||(f(),i=!0)}function f(){if(i=!1,!r&&l()&&!d()){o._append(` `);for(var p=0;p")}function n(c){t.push("")}function r(c,u){var l=i(u);t.push("<"+c+l+" />")}function i(c){return mv.map(c,function(u,l){return" "+l+'="'+RC(u)+'"'}).join("")}function o(c){t.push(mC(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 mC(t){return t.replace(/&/g,"&").replace(//g,">")}function RC(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}var yv={},yC=Kt.exports;function X0(t){return Iu(t,t)}function Iu(t,e){return function(){return{start:t,end:e}}}function vC(t){var e=t.href||"";return e?{start:"[",end:"]("+e+")",anchorPosition:"before"}:{}}function bC(t){var e=t.src||"",n=t.alt||"";return e||n?{start:"!["+n+"]("+e+")"}:{}}function V0(t){return function(e,n){return{start:n?` `:"",end:n?"":` `,list:{isOrdered:t.isOrdered,indent:n?n.indent+1:0,count:0}}}}function xC(t,e,n){e=e||{indent:0,isOrdered:!1,count:0},e.count++,n.hasClosed=!1;var r=e.isOrdered?e.count+".":"-",i=bv(" ",e.indent)+r+" ";return{start:i,end:function(){if(!n.hasClosed)return n.hasClosed=!0,` `}}}var vv={p:Iu("",` `),br:Iu("",` `),ul:V0({isOrdered:!1}),ol:V0({isOrdered:!0}),li:xC,strong:X0("__"),em:X0("*"),a:vC,img:bC};(function(){for(var t=1;t<=6;t++)vv["h"+t]=Iu(bv("#",t)+" ",` `)})();function bv(t,e){return new Array(e+1).join(t)}function wC(){var t=[],e=[],n=null,r={};function i(l,h){h=h||{};var f=vv[l]||function(){return{}},d=f(h,n,r);e.push({end:d.end,list:n}),d.list&&(n=d.list);var p=d.anchorPosition==="before";p&&o(h),t.push(d.start||""),p||o(h)}function o(l){l.id&&t.push('')}function a(l){var h=e.pop();n=h.list;var f=yC.isFunction(h.end)?h.end():h.end;t.push(f||"")}function s(l,h){i(l,h),a()}function c(l){t.push(TC(l))}function u(){return t.join("")}return{asString:u,open:i,close:a,text:c,selfClosing:s}}yv.writer=wC;function TC(t){return t.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}var SC=gv,DC=yv;pv.writer=_C;function _C(t){return t=t||{},t.outputFormat==="markdown"?DC.writer():SC.writer(t)}var Pi=Kt.exports,Y0=vn,iu=ut,vr=Ti,Xd=gr,OC=hp,ct=Ar,EC=pv;ap.DocumentConverter=IC;function IC(t){return{convertToHtml:function(e){var n=Pi.indexBy(e.type===iu.types.document?e.comments:[],"commentId"),r=new NC(t,n);return r.convertToHtml(e)}}}function NC(t,e){var n=1,r=[],i=[];t=Pi.extend({ignoreEmptyParagraphs:!0},t);var o=t.idPrefix===void 0?"":t.idPrefix,a=t.ignoreEmptyParagraphs,s=vr.topLevelElement("p"),c=t.styleMap||[];function u(A){var B=[],$=h(A,B,{}),V=[];xv($,function(z){z.type==="deferred"&&V.push(z)});var L={};return Y0.mapSeries(V,function(z){return z.value().then(function(q){L[z.id]=q})}).then(function(){function z(se){return Zh(se,function(ae){return ae.type==="deferred"?L[ae.id]:ae.children?[Pi.extend({},ae,{children:z(ae.children)})]:[ae]})}var q=EC.writer({prettyPrint:t.prettyPrint,outputFormat:t.outputFormat});return ct.write(q,ct.simplify(z($))),new Xd.Result(q.asString(),B)})}function l(A,B,$){return Zh(A,function(V){return h(V,B,$)})}function h(A,B,$){if(!$)throw new Error("options not set");var V=F[A.type];return V?V(A,B,$):[]}function f(A,B,$){return d(A,B).wrap(function(){var V=l(A.children,B,$);return a?V:[ct.forceWrite].concat(V)})}function d(A,B){var $=R(A);return $?$.to:(A.styleId&&B.push(B0("paragraph",A)),s)}function p(A,B,$){var V=function(){return l(A.children,B,$)},L=[];A.isSmallCaps&&L.push(g("smallCaps")),A.isAllCaps&&L.push(g("allCaps")),A.isStrikethrough&&L.push(g("strikethrough","s")),A.isUnderline&&L.push(g("underline")),A.verticalAlignment===iu.verticalAlignment.subscript&&L.push(vr.element("sub",{},{fresh:!1})),A.verticalAlignment===iu.verticalAlignment.superscript&&L.push(vr.element("sup",{},{fresh:!1})),A.isItalic&&L.push(g("italic","em")),A.isBold&&L.push(g("bold","strong"));var z=vr.empty,q=R(A);return q?z=q.to:A.styleId&&B.push(B0("run",A)),L.push(z),L.forEach(function(se){V=se.wrap.bind(se,V)}),V()}function g(A,B){var $=y({type:A});return $||(B?vr.element(B,{},{fresh:!1}):vr.empty)}function y(A,B){var $=R(A);return $?$.to:B}function R(A){for(var B=0;Bo){var l=u[1],f=new Qh(t[s].name,l,a.range(o,h));return{token:f,endIndex:h}}}}var h=o+1,f=new Qh("unrecognisedCharacter",i.substring(o,h),a.range(o,h));return{token:f,endIndex:h}}function r(i,o){return new Qh("end",null,o.range(i.length,i.length))}return{tokenise:e}}Ur.Parser=Sv.Parser;Ur.rules=dp;Ur.errors=pp;Ur.results=fp;Ur.StringSource=gp.exports;Ur.Token=Ev;Ur.bottomUp=Iv;Ur.RegexTokeniser=Nv.RegexTokeniser;Ur.rule=function(t){var e;return function(n){return e||(e=t()),e(n)}};var An={};An.paragraph=BC;An.run=kC;An.table=ZC;An.bold=new nr("bold");An.italic=new nr("italic");An.underline=new nr("underline");An.strikethrough=new nr("strikethrough");An.allCaps=new nr("allCaps");An.smallCaps=new nr("smallCaps");An.commentReference=new nr("commentReference");An.lineBreak=new nr("break",{breakType:"line"});An.pageBreak=new nr("break",{breakType:"page"});An.columnBreak=new nr("break",{breakType:"column"});An.equalTo=KC;An.startsWith=HC;function BC(t){return new nr("paragraph",t)}function kC(t){return new nr("run",t)}function ZC(t){return new nr("table",t)}function nr(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)}nr.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||QC(t,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===t.breakType)};function QC(t,e,n){return t.numbering&&t.numbering.level==e&&t.numbering.isOrdered==n}function KC(t){return{operator:GC,operand:t}}function HC(t){return{operator:JC,operand:t}}function GC(t,e){return t.toUpperCase()===e.toUpperCase()}function JC(t,e){return e.toUpperCase().indexOf(t.toUpperCase())===0}var Fv={},zC=Ur,$C=zC.RegexTokeniser;Fv.tokenise=jC;var k0="'((?:\\\\.|[^'])*)";function jC(t){var e="(?:[a-zA-Z\\-_]|\\\\.)",n=new $C([{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(k0+"'")},{name:"unterminated-string",regex:new RegExp(k0)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return n.tokenise(t)}var qC=Kt.exports,Le=Ur,Vn=An,ou=Ti,eA=Fv.tokenise,Kh=gr;il.readHtmlPath=iA;il.readDocumentMatcher=rA;il.readStyle=tA;function tA(t){return mp(dA,t)}function nA(){return Le.rules.sequence(Le.rules.sequence.capture(Pv()),Le.rules.tokenOfType("whitespace"),Le.rules.tokenOfType("arrow"),Le.rules.sequence.capture(Le.rules.optional(Le.rules.sequence(Le.rules.tokenOfType("whitespace"),Le.rules.sequence.capture(Lv())).head())),Le.rules.tokenOfType("end")).map(function(t,e){return{from:t,to:e.valueOrElse(ou.empty)}})}function rA(t){return mp(Pv(),t)}function Pv(){var t=Le.rules.sequence,e=function(_,E){return Le.rules.then(Le.rules.token("identifier",_),function(){return E})},n=e("p",Vn.paragraph),r=e("r",Vn.run),i=Le.rules.firstOf("p or r or table",n,r),o=Le.rules.sequence(Le.rules.tokenOfType("dot"),Le.rules.sequence.cut(),Le.rules.sequence.capture(al)).map(function(_){return{styleId:_}}),a=Le.rules.firstOf("style name matcher",Le.rules.then(Le.rules.sequence(Le.rules.tokenOfType("equals"),Le.rules.sequence.cut(),Le.rules.sequence.capture(xs)).head(),function(_){return{styleName:Vn.equalTo(_)}}),Le.rules.then(Le.rules.sequence(Le.rules.tokenOfType("startsWith"),Le.rules.sequence.cut(),Le.rules.sequence.capture(xs)).head(),function(_){return{styleName:Vn.startsWith(_)}})),s=Le.rules.sequence(Le.rules.tokenOfType("open-square-bracket"),Le.rules.sequence.cut(),Le.rules.token("identifier","style-name"),Le.rules.sequence.capture(a),Le.rules.tokenOfType("close-square-bracket")).head(),c=Le.rules.firstOf("list type",e("ordered-list",{isOrdered:!0}),e("unordered-list",{isOrdered:!1})),u=t(Le.rules.tokenOfType("colon"),t.capture(c),t.cut(),Le.rules.tokenOfType("open-paren"),t.capture(oA),Le.rules.tokenOfType("close-paren")).map(function(_,E){return{list:{isOrdered:_.isOrdered,levelIndex:E-1}}});function l(_){var E=Le.rules.firstOf.apply(Le.rules.firstOf,["matcher suffix"].concat(_)),N=Le.rules.zeroOrMore(E);return Le.rules.then(N,function(U){var O={};return U.forEach(function(Q){qC.extend(O,Q)}),O})}var h=t(t.capture(i),t.capture(l([o,s,u]))).map(function(_,E){return _(E)}),f=t(Le.rules.token("identifier","table"),t.capture(l([o,s]))).map(function(_){return Vn.table(_)}),d=e("b",Vn.bold),p=e("i",Vn.italic),g=e("u",Vn.underline),y=e("strike",Vn.strikethrough),R=e("all-caps",Vn.allCaps),m=e("small-caps",Vn.smallCaps),v=e("comment-reference",Vn.commentReference),x=t(Le.rules.token("identifier","br"),t.cut(),Le.rules.tokenOfType("open-square-bracket"),Le.rules.token("identifier","type"),Le.rules.tokenOfType("equals"),t.capture(xs),Le.rules.tokenOfType("close-square-bracket")).map(function(_){switch(_){case"line":return Vn.lineBreak;case"page":return Vn.pageBreak;case"column":return Vn.columnBreak}});return Le.rules.firstOf("element type",h,f,d,p,g,y,R,m,v,x)}function iA(t){return mp(Lv(),t)}function Lv(){var t=Le.rules.sequence.capture,e=Le.rules.tokenOfType("whitespace"),n=Le.rules.then(Le.rules.optional(Le.rules.sequence(Le.rules.tokenOfType("colon"),Le.rules.token("identifier","fresh"))),function(a){return a.map(function(){return!0}).valueOrElse(!1)}),r=Le.rules.then(Le.rules.optional(Le.rules.sequence(Le.rules.tokenOfType("colon"),Le.rules.token("identifier","separator"),Le.rules.tokenOfType("open-paren"),t(xs),Le.rules.tokenOfType("close-paren")).head()),function(a){return a.valueOrElse("")}),i=Le.rules.oneOrMoreWithSeparator(al,Le.rules.tokenOfType("choice")),o=Le.rules.sequence(t(i),t(Le.rules.zeroOrMore(uA)),t(n),t(r)).map(function(a,s,c,u){var l={},h={};return s.forEach(function(f){f.append&&l[f.name]?l[f.name]+=" "+f.value:l[f.name]=f.value}),c&&(h.fresh=!0),u&&(h.separator=u),ou.element(a,l,h)});return Le.rules.firstOf("html path",Le.rules.then(Le.rules.tokenOfType("bang"),function(){return ou.ignore}),Le.rules.then(Le.rules.zeroOrMoreWithSeparator(o,Le.rules.sequence(e,Le.rules.tokenOfType("gt"),e)),ou.elements))}var al=Le.rules.then(Le.rules.tokenOfType("identifier"),Mv),oA=Le.rules.tokenOfType("integer"),xs=Le.rules.then(Le.rules.tokenOfType("string"),Mv),aA={n:` `,r:"\r",t:" "};function Mv(t){return t.replace(/\\(.)/g,function(e,n){return aA[n]||n})}var sA=Le.rules.sequence(Le.rules.tokenOfType("open-square-bracket"),Le.rules.sequence.cut(),Le.rules.sequence.capture(al),Le.rules.tokenOfType("equals"),Le.rules.sequence.capture(xs),Le.rules.tokenOfType("close-square-bracket")).map(function(t,e){return{name:t,value:e,append:!1}}),cA=Le.rules.sequence(Le.rules.tokenOfType("dot"),Le.rules.sequence.cut(),Le.rules.sequence.capture(al)).map(function(t){return{name:"class",value:t,append:!0}}),uA=Le.rules.firstOf("attribute or class",sA,cA);function mp(t,e){var n=eA(e),r=Le.Parser(),i=r.parseTokens(t,n);return i.isSuccess()?Kh.success(i.value()):new Kh.Result(null,[Kh.warning(lA(e,i))])}function lA(t,e){return"Did not understand this style mapping, so ignored it: "+t+` `+e.errors().map(hA).join(` `)}function hA(t){return"Error was at character number "+t.characterNumber()+": Expected "+t.expected+" but got "+t.actual}var dA=nA(),sl={};sl.readOptions=gA;var Cv=Kt.exports,fA=sl._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"],pA=sl._standardOptions={transformDocument:mA,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function gA(t){return t=t||{},Cv.extend({},pA,t,{customStyleMap:Z0(t.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(Z0(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(fA)),e}})}function Z0(t){return t?Cv.isString(t)?t.split(` `).map(function(e){return e.trim()}).filter(function(e){return e!==""&&e.charAt(0)!=="#"}):t:[]}function mA(t){return t}var Av={},Q0=vn,RA=Bs;Av.openZip=yA;function yA(t){return t.arrayBuffer?Q0.resolve(RA.openArrayBuffer(t.arrayBuffer)):Q0.reject(new Error("Could not find file in options"))}var Ma={},K0=Kt.exports;Ma.paragraph=vA;Ma.run=bA;Ma._elements=Wv;Ma.getDescendantsOfType=xA;Ma.getDescendants=Xv;function vA(t){return Uv("paragraph",t)}function bA(t){return Uv("run",t)}function Uv(t,e){return Wv(function(n){return n.type===t?e(n):n})}function Wv(t){return function e(n){if(n.children){var r=K0.map(n.children,e);n=K0.extend(n,{children:r})}return t(n)}}function xA(t,e){return Xv(t).filter(function(n){return n.type===e})}function Xv(t){var e=[];return Vv(t,function(n){e.push(n)}),e}function Vv(t,e){t.children&&t.children.forEach(function(n){Vv(n,e),e(n)})}var Yv={},wA=Ti,TA=Ar;Yv.element=SA;function SA(t){return function(e){return TA.elementWithTag(wA.element(t),[e])}}var DA=Kt.exports,Bv=If,Rp=op,_A=ap.DocumentConverter,OA=wv.convertElementToRawText,EA=il.readStyle,IA=sl.readOptions,cl=Av,NA=gr.Result;Cr.convertToHtml=FA;Cr.convertToMarkdown=PA;Cr.convert=yp;Cr.extractRawText=AA;Cr.images=hp;Cr.transforms=Ma;Cr.underline=Yv;Cr.embedStyleMap=UA;Cr.readEmbeddedStyleMap=LA;function FA(t,e){return yp(t,e)}function PA(t,e){var n=Object.create(e||{});return n.outputFormat="markdown",yp(t,n)}function yp(t,e){return e=IA(e),cl.openZip(t).tap(function(n){return Rp.readStyleMap(n).then(function(r){e.embeddedStyleMap=r})}).then(function(n){return Bv.read(n,t).then(function(r){return r.map(e.transformDocument)}).then(function(r){return MA(r,e)})})}function LA(t){return cl.openZip(t).then(Rp.readStyleMap)}function MA(t,e){var n=CA(e.readStyleMap()),r=DA.extend({},e,{styleMap:n.value}),i=new _A(r);return t.flatMapThen(function(o){return n.flatMapThen(function(a){return i.convertToHtml(o)})})}function CA(t){return NA.combine((t||[]).map(EA)).map(function(e){return e.filter(function(n){return!!n})})}function AA(t){return cl.openZip(t).then(Bv.read).then(function(e){return e.map(OA)})}function UA(t,e){return cl.openZip(t).tap(function(n){return Rp.writeStyleMap(n,e)}).then(function(n){return n.toArrayBuffer()}).then(function(n){return{toArrayBuffer:function(){return n},toBuffer:function(){return Buffer.from(n)}}})}Cr.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 Hh(t,e){const{arrayBuffer:n}=e,r=await Cr.convertToHtml({arrayBuffer:n});t.executeSetHTML({main:r.value})}var vp={},ul={},rr={};Object.defineProperty(rr,"__esModule",{value:!0});function WA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var XA=function t(e,n){WA(this,t),this.data=e,this.text=n.text||e,this.options=n};rr.default=XA;Object.defineProperty(ul,"__esModule",{value:!0});ul.CODE39=void 0;var VA=function(){function t(e,n){for(var r=0;r=200){s=r.shift()-105;var c=cr.SWAP[s];c!==void 0?a=e.next(r,i+1,c):((o===cr.SET_A||o===cr.SET_B)&&s===cr.SHIFT&&(r[0]=o===cr.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}(rU.default);Ca.default=cU;var xp={};Object.defineProperty(xp,"__esModule",{value:!0});var Vi=Vt,Gv=function(e){return e.match(new RegExp("^"+Vi.A_CHARS+"*"))[0].length},Jv=function(e){return e.match(new RegExp("^"+Vi.B_CHARS+"*"))[0].length},zv=function(e){return e.match(new RegExp("^"+Vi.C_CHARS+"*"))[0]};function wp(t,e){var n=e?Vi.A_CHARS:Vi.B_CHARS,r=t.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(r)return r[1]+String.fromCharCode(204)+$v(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)+wp(t.substring(i.length),!e)}function $v(t){var e=zv(t),n=e.length;if(n===t.length)return t;t=t.substring(n);var r=Gv(t)>=Jv(t);return e+String.fromCharCode(r?206:205)+wp(t,r)}xp.default=function(t){var e=void 0,n=zv(t).length;if(n>=2)e=Vi.C_START_CHAR+$v(t);else{var r=Gv(t)>Jv(t);e=(r?Vi.A_START_CHAR:Vi.B_START_CHAR)+wp(t,r)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(i,o){return String.fromCharCode(203)+o})};Object.defineProperty(bp,"__esModule",{value:!0});var uU=Ca,lU=jv(uU),hU=xp,dU=jv(hU);function jv(t){return t&&t.__esModule?t:{default:t}}function fU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zh(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 pU(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 gU=function(t){pU(e,t);function e(n,r){if(fU(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(n))var i=zh(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,dU.default)(n),r));else var i=zh(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n,r));return zh(i)}return e}(lU.default);bp.default=gU;var Tp={};Object.defineProperty(Tp,"__esModule",{value:!0});var mU=function(){function t(e,n){for(var r=0;rr.width*10?r.width*10:r.fontSize,i.guardHeight=r.height+i.fontSize/2+r.textMargin,i}return zU(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,z0.default)(r,i)}},{key:"rightText",value:function(r,i){return this.text.substr(r,i)}},{key:"rightEncode",value:function(r,i){return(0,z0.default)(r,i)}},{key:"encodeGuarded",value:function(){var r={fontSize:this.fontSize},i={height:this.guardHeight};return[{data:ko.SIDE_BIN,options:i},{data:this.leftEncode(),text:this.leftText(),options:r},{data:ko.MIDDLE_BIN,options:i},{data:this.rightEncode(),text:this.rightText(),options:r},{data:ko.SIDE_BIN,options:i}]}},{key:"encodeFlat",value:function(){var r=[ko.SIDE_BIN,this.leftEncode(),ko.MIDDLE_BIN,this.rightEncode(),ko.SIDE_BIN];return{data:r.join(""),text:this.text}}}]),e}(qU.default);hl.default=r8;Object.defineProperty(_p,"__esModule",{value:!0});var i8=function(){function t(e,n){for(var r=0;rr.width*10?i.fontSize=r.width*10:i.fontSize=r.fontSize,i.guardHeight=r.height+i.fontSize/2+r.textMargin,i}return B8(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==Vd(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,Zo.default)(this.data.substr(0,6),"LLLLLL"),r+="01010",r+=(0,Zo.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,Zo.default)(this.data[0],"L"),options:{height:this.guardHeight}}),r.push({data:(0,Zo.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,Zo.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),r.push({data:(0,Zo.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}(Q8.default);function Vd(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}ac.default=J8;var Np={};Object.defineProperty(Np,"__esModule",{value:!0});var z8=function(){function t(e,n){for(var r=0;rr.width*10?i.fontSize=r.width*10:i.fontSize=r.fontSize,i.guardHeight=r.height+i.fontSize/2+r.textMargin,i}return z8(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=o5[parseInt(i)][parseInt(r)];return(0,j8.default)(this.middleDigits,o)}}]),e}(e5.default);function q0(t,e){for(var n=parseInt(t[t.length-1]),r=i5[n],i="",o=0,a=0;a=3&&this.number<=131070}}]),e}(W6.default);fl.pharmacode=k6;var pl={};Object.defineProperty(pl,"__esModule",{value:!0});pl.codabar=void 0;var Z6=function(){function t(e,n){for(var r=0;r0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function sb(t,e,n){if(n.displayValue&&ee&&(e=t[n].height);return e}function D4(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}hr.getMaximumHeightOfEncodings=S4;hr.getEncodingHeight=ab;hr.getBarcodePadding=sb;hr.calculateEncodingAttributes=w4;hr.getTotalWidthOfEncodings=T4;Object.defineProperty(Yp,"__esModule",{value:!0});var _4=function(){function t(e,n){for(var r=0;r0?(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}();Yp.default=F4;var Bp={};Object.defineProperty(Bp,"__esModule",{value:!0});var P4=function(){function t(e,n){for(var r=0;r0&&(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(Hc,"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",Hc),i.setAttribute("version","1.1"),i.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(n,r,i){var o=this.document.createElementNS(Hc,"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(Hc,"rect");return s.setAttribute("x",n),s.setAttribute("y",r),s.setAttribute("width",i),s.setAttribute("height",o),a.appendChild(s),s}}]),t}();Bp.default=U4;var kp={};Object.defineProperty(kp,"__esModule",{value:!0});var W4=function(){function t(e,n){for(var r=0;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.")},un=function(){function t(){}return t.fill=function(e,n){for(var r=0,i=e.length;rr)throw new Je("fromIndex("+n+") > toIndex("+r+")");if(n<0)throw new sm(n);if(r>e)throw new sm(r)},t.asList=function(){for(var e=[],n=0;n>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}(),$n=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(nthis.size)throw new Je;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=athis.size)throw new Je;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=s32)throw new Je("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>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>>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&&un.equals(this.bits,n.bits)},t.prototype.hashCode=function(){return 31*this.size+un.hashCode(this.bits)},t.prototype.toString=function(){for(var e="",n=0,r=this.size;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Tt;(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"})(Tt||(Tt={}));var cn=function(){function t(e,n,r){for(var i,o,a=[],s=3;s=900)throw new Me("incorect value");var n=t.VALUES_TO_ECI.get(e);if(n===void 0)throw new Me("incorect value");return n},t.getCharacterSetECIByName=function(e){var n=t.NAME_TO_ECI.get(e);if(n===void 0)throw new Me("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(Tt.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(Tt.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(Tt.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(Tt.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(Tt.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(Tt.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(Tt.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(Tt.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(Tt.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(Tt.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(Tt.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(Tt.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(Tt.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(Tt.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(Tt.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(Tt.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(Tt.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(Tt.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(Tt.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(Tt.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(Tt.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(Tt.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(Tt.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(Tt.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(Tt.Big5,28,"Big5"),t.GB18030=new t(Tt.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(Tt.EUC_KR,30,"EUC_KR","EUC-KR"),t}(),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)}}(),au=function(t){MW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="UnsupportedOperationException",e}(ir),_r=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 cn?e:cn.getCharacterSetECIByName(e)},t.decodeFallback=function(e,n){var r=this.encodingCharacterSet(n);if(t.isDecodeFallbackSupported(r)){for(var i="",o=0,a=e.length;o3&&e[0]===239&&e[1]===187&&e[2]===191,v=0;v0?(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?(f++,p=0,d++,d>g&&(g=d)):x>127?(h++,d=0,p++,p>y&&(y=p)):(d=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&&f===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;ra){if(s===-1)s=o-a;else if(o-a!==s)throw new Je("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 Je("illegal character encountered: "+e.substring(u));if(o>a){if(s===-1)s=o-a;else if(o-a!==s)throw new Je("row lengths do not match");c++}for(var l=new t(s,c),h=0;h>>(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 Je("input matrix dimensions do not match");for(var n=new $n(Math.floor(this.width/32)+1),r=this.rowSize,i=this.bits,o=0,a=this.height;othis.height||o>this.width)throw new Je("The region must fit inside the matrix");for(var s=this.rowSize,c=this.bits,u=n;uc&&(c=u),l*32s){for(var f=31;h>>>f===0;)f--;l*32+f>s&&(s=l*32+f)}}}return s=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&&un.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+un.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>e.LUMINANCE_SHIFT]++;var u=e.estimateBlackPoint(s);if(o<3)for(var c=0;c>e.LUMINANCE_SHIFT]++}for(var d=e.estimateBlackPoint(a),p=n.getMatrix(),s=0;sa&&(o=s,a=n[s]),n[s]>i&&(i=n[s]);for(var c=0,u=0,s=0;su&&(c=s,u=h)}if(o>c){var f=o;o=c,c=f}if(c-o<=r/16)throw new De;for(var d=c-1,p=-1,s=c-1;s>o;s--){var g=s-o,h=g*g*(c-s)*(i-n[s]);h>p&&(d=s,p=h)}return d<=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 yi(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;hu&&(f=u);for(var d=e.cap(h,2,i-3),p=0;pl&&(g=l);for(var y=e.cap(p,2,r-3),R=0,m=-2;m<=2;m++){var v=s[d+m];R+=v[y-2]+v[y-1]+v[y]+v[y+1]+v[y+2]}var x=R/25;e.thresholdBlock(n,g,f,x,o,c)}}},e.cap=function(n,r,i){return ni?i:n},e.thresholdBlock=function(n,r,i,o,a,s){for(var c=0,u=i*a+r;cs&&(h=s);for(var f=0;fc&&(d=c);for(var p=0,g=255,y=0,R=0,m=h*o+d;Ry&&(y=x)}if(y-g>e.MIN_DYNAMIC_RANGE)for(R++,m+=o;R>e.BLOCK_SIZE_POWER*2;if(y-g<=e.MIN_DYNAMIC_RANGE&&(_=g/2,l>0&&f>0)){var E=(u[l-1][f]+2*u[l][f-1]+u[l-1][f-1])/4;g>10}o[s]=u}else for(var a=0,s=0,p=n.length;a>10}o[s]=255-u}return o},e.prototype.getRow=function(n,r){if(n<0||n>=this.getHeight())throw new Je("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.length0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Xa=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 Yn(this,void 0,void 0,function(){var e,n,r,i,o,a,s,c,u,l,h,f;return Bn(this,function(d){switch(d.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=d.sent(),n=[];try{for(r=kW(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&&(f=r.return)&&f.call(r)}finally{if(h)throw h.error}}return[2,n]}})})},t.prototype.getVideoInputDevices=function(){return Yn(this,void 0,void 0,function(){var e;return Bn(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 BW(r.deviceId,r.label)})]}})})},t.prototype.findDeviceById=function(e){return Yn(this,void 0,void 0,function(){var n;return Bn(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 Yn(this,void 0,void 0,function(){return Bn(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 Yn(this,void 0,void 0,function(){var r,i;return Bn(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 Yn(this,void 0,void 0,function(){var r;return Bn(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 Yn(this,void 0,void 0,function(){var r,i;return Bn(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 Yn(this,void 0,void 0,function(){return Bn(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 Yn(this,void 0,void 0,function(){var i,o;return Bn(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 Yn(this,void 0,void 0,function(){var i;return Bn(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 Yn(this,void 0,void 0,function(){var i;return Bn(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 Yn(this,void 0,void 0,function(){var r;return Bn(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 Yn(this,void 0,void 0,function(){return Bn(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 Yn(this,void 0,void 0,function(){return Bn(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 Yn(this,void 0,void 0,function(){return Bn(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(f){var u=n&&f instanceof De,l=f instanceof tn||f instanceof Me,h=l&&r;if(u||h)return setTimeout(o,i._timeBetweenDecodingAttempts,a,s);s(f)}};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 tn||c instanceof Me,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 YW(n),i=new gb(r);return new pb(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}(),Un=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}(),Zd;(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"})(Zd||(Zd={}));var He=Zd,Qd;(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"})(Qd||(Qd={}));var Dn=Qd,bl=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}(),ps=function(){function t(){}return t.prototype.exp=function(e){return this.expTable[e]},t.prototype.log=function(e){if(e===0)throw new Je;return this.logTable[e]},t.addOrSubtract=function(e,n){return e^n},t}(),Yi=function(){function t(e,n){if(n.length===0)throw new Je;this.field=e;var r=n.length;if(r>1&&n[0]===0){for(var i=1;ir.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=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}(),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)}}(),mb=function(t){ZW(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="ArithmeticException",e}(ir),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)}}(),fi=function(t){QW(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&&(s^=n,s&=r-1);o.expTable=a;for(var u=new Int32Array(r),c=0;c=(r/2|0);){var l=a,h=c;if(a=s,c=u,a.isZero())throw new Gc("r_{i-1} was zero");s=l;for(var f=o.getZero(),d=a.getCoefficient(a.getDegree()),p=o.inverse(d);s.getDegree()>=a.getDegree()&&!s.isZero();){var g=s.getDegree()-a.getDegree(),y=o.multiply(s.getCoefficient(s.getDegree()),p);f=f.addOrSubtract(o.buildMonomial(g,y)),s=s.addOrSubtract(a.multiplyByMonomial(g,y))}if(u=f.multiply(c).addOrSubtract(h),s.getDegree()>=a.getDegree())throw new Va("Division algorithm failed to reduce polynomial?")}var R=u.getCoefficient(0);if(R===0)throw new Gc("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;a1,p,p+r-1),p+=r-1;else for(var g=r-1;g>=0;--g)d[p++]=(f&1<=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","?","[","]","{","}","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}(),Kd=function(){function t(){}return t.floatToIntBits=function(e){return e},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}(),Ye=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*Kd.floatToIntBits(this.x)+Kd.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}(),$p=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}(),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)}}(),JW=function(t){GW(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}($p),Hd=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,f=this.width,d=this.height;a;){a=!1;for(var p=!0;(p||!c)&&n=f){o=!0;break}for(var g=!0;(g||!u)&&i=d){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&&xr||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}(),Rb=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,f,d,p,g,y){var R=t.quadrilateralToSquare(e,n,r,i,o,a,s,c),m=t.squareToQuadrilateral(u,l,h,f,d,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,f=0;f>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 xl(fi.AZTEC_PARAM);c.decode(a,o)}catch{throw new De}for(var u=0,s=0;s2){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 f=new Ye(n.getX()+.5,n.getY()-.5),d=new Ye(r.getX()+.5,r.getY()+.5),p=new Ye(i.getX()-.5,i.getY()+.5),g=new Ye(o.getX()-.5,o.getY()-.5);return this.expandSquare([f,d,p,g],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var e,n,r,i;try{var o=new Hd(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 Hn(a+7,s-7),!1,1,-1).toResultPoint(),n=this.getFirstDifferent(new Hn(a+7,s+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Hn(a-7,s+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new Hn(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 Hd(this.image,15,c,u).detect();e=o[0],n=o[1],r=o[2],i=o[3]}catch{e=this.getFirstDifferent(new Hn(c+7,u-7),!1,1,-1).toResultPoint(),n=this.getFirstDifferent(new Hn(c+7,u+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new Hn(c-7,u+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new Hn(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 Hn(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=jp.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.1&&f<.9?0:f<=.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 Hn(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 Ye(s+i*o,c+i*a),l=new Ye(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 Ye(s+i*o,c+i*a),f=new Ye(s-i*o,c-i*a),d=[u,h,l,f];return d},t.prototype.isValid=function(e,n){return e>=0&&e0&&n>(a?8:5)),c;a?c=i:c=15;for(var u=Math.trunc(i/2),l=0;l=i)break;try{o=e.getBlackRow(d,o)}catch{continue}for(var p=function(m){if(m===1&&(o.reverse(),n&&n.get(Ct.NEED_RESULT_POINT_CALLBACK)===!0)){var v=new Map;n.forEach(function(E,N){return v.set(N,E)}),v.delete(Ct.NEED_RESULT_POINT_CALLBACK),n=v}try{var x=g.decodeRow(d,o,n);if(m===1){x.putMetadata(Dn.ORIENTATION,180);var _=x.getResultPoints();_!==null&&(_[0]=new Ye(r-_[0].getX()-1,_[0].getY()),_[1]=new Ye(r-_[1].getX()-1,_[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=a)throw new De;for(var s=!e.get(n),c=0,u=n;u0&&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;sf?h-f:f-h;if(d>r)return Number.POSITIVE_INFINITY;u+=d}return u/o},t}(),eX=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=function(t){eX(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=0&&n.isRange(Math.max(0,s-(l-s)/2),s,!1))return Int32Array.from([s,l,f]);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){ln.recordPattern(n,i,r);for(var o=e.MAX_AVG_VARIANCE,a=-1,s=0;s=0)return a;throw new De},e.prototype.decodeRow=function(n,r,i){var o=i&&i.get(Ct.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 Me}for(var h=!1,f=!1,d="",p=a[0],g=a[1],y=Int32Array.from([0,0,0,0,0,0]),R=0,m=0,v=s,x=0,_=!0,E=!1,N=!1;!h;){var U=f;switch(f=!1,R=m,m=e.decodeCode(r,y,g),u[c++]=m,m!==e.CODE_STOP&&(_=!0),m!==e.CODE_STOP&&(x++,v+=x*m),p=g,g+=y.reduce(function(F,A){return F+A},0),m){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new Me}switch(l){case e.CODE_CODE_A:if(m<64)N===E?d+=String.fromCharCode(" ".charCodeAt(0)+m):d+=String.fromCharCode(" ".charCodeAt(0)+m+128),N=!1;else if(m<96)N===E?d+=String.fromCharCode(m-64):d+=String.fromCharCode(m+64),N=!1;else switch(m!==e.CODE_STOP&&(_=!1),m){case e.CODE_FNC_1:o&&(d.length===0?d+="]C1":d+=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:f=!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?d+=String.fromCharCode(" ".charCodeAt(0)+m):d+=String.fromCharCode(" ".charCodeAt(0)+m+128),N=!1;else switch(m!==e.CODE_STOP&&(_=!1),m){case e.CODE_FNC_1:o&&(d.length===0?d+="]C1":d+=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:f=!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&&(d+="0"),d+=m;else switch(m!==e.CODE_STOP&&(_=!1),m){case e.CODE_FNC_1:o&&(d.length===0?d+="]C1":d+=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}U&&(l=l===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var O=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 tn;var Q=d.length;if(Q===0)throw new De;Q>0&&_&&(l===e.CODE_CODE_C?d=d.substring(0,Q-2):d=d.substring(0,Q-1));for(var ne=(a[1]+a[0])/2,T=p+O/2,I=u.length,b=new Uint8Array(I),M=0;M=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){tX(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]),f=r.getSize(),d,p;do{e.recordPattern(r,h,u);var g=e.toNarrowWidePattern(u);if(g<0)throw new De;d=e.patternToChar(g),this.decodeRowResult+=d,p=h;try{for(var y=(o=void 0,ed(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(d!=="*");this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var x=ed(u),_=x.next();!_.done;_=x.next()){var m=_.value;v+=m}}catch(I){s={error:I}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}var E=h-p-v;if(h!==f&&E*2a&&(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 f=0,d=0,p=0;pa&&(d|=1<0;p++){var h=n[p];if(h>a&&(s--,h*2>=f))return-1}return d}}while(s>3);return-1},e.patternToChar=function(n){for(var r=0;r="A"&&s<="Z")c=String.fromCharCode(s.charCodeAt(0)+32);else throw new Me;break;case"$":if(s>="A"&&s<="Z")c=String.fromCharCode(s.charCodeAt(0)-64);else throw new Me;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 Me;break;case"/":if(s>="A"&&s<="O")c=String.fromCharCode(s.charCodeAt(0)-32);else if(s==="Z")c=":";else throw new Me;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}(ln),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)}}(),td=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.")},dm=function(t){nX(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(),f=this.counters;f.fill(0),this.decodeRowResult="";var d,p;do{e.recordPattern(r,l,f);var g=this.toPattern(f);if(g<0)throw new De;d=this.patternToChar(g),this.decodeRowResult+=d,p=l;try{for(var y=(o=void 0,td(f)),R=y.next();!R.done;R=y.next()){var m=R.value;l+=m}}catch(O){o={error:O}}finally{try{R&&!R.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}l=r.getNextSet(l)}while(d!=="*");this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v=0;try{for(var x=td(f),_=x.next();!_.done;_=x.next()){var m=_.value;v+=m}}catch(O){s={error:O}}finally{try{_&&!_.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,U=p+v/2;return new Un(E,null,0,[new Ye(N,n),new Ye(U,n)],He.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;l4)return-1;if((h&1)===0)for(var d=0;d="a"&&a<="d"){if(o>=r-1)throw new Me;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 Me;break;case"a":if(s>="A"&&s<="Z")c=String.fromCharCode(s.charCodeAt(0)-64);else throw new Me;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 Me;break;case"c":if(s>="A"&&s<="O")c=String.fromCharCode(s.charCodeAt(0)-32);else if(s==="Z")c=":";else throw new Me;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 tn},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}(ln),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)}}(),iX=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){rX(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(Ct.ALLOWED_LENGTHS)),h==null&&(h=e.DEFAULT_ALLOWED_LENGTHS);var f=l.length,d=!1,p=0;try{for(var g=iX(h),y=g.next();!y.done;y=g.next()){var R=y.value;if(f===R){d=!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(!d&&f>p&&(d=!0),!d)throw new Me;var m=[new Ye(s[1],n),new Ye(c[0],n)],v=new Un(l,null,0,m,He.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);r0&&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=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}(ln),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)}}(),Oa=function(t){oX(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 Me;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 Me;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,f=r;f=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}(ln),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.")},sX=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 Ye((r[0]+r[1])/2,e),new Ye(o,e)],u=new Un(a,null,0,c,He.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=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([[Dn.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}(),cX=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.")},uX=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 Ye((r[0]+r[1])/2,e),new Ye(o,e)],u=new Un(a,null,0,c,He.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=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([[Dn.ISSUE_NUMBER,parseInt(e)]])},t}(),lX=function(){function t(){}return t.decodeRow=function(e,n,r){var i=Oa.findGuardPattern(n,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{var o=new sX;return o.decodeRow(e,n,i)}catch{var a=new uX;return a.decodeRow(e,n,i)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),hX=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)}}(),sn=function(t){hX(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=r.getSize()||!r.isRange(p,g,!1))throw new De;var y=l.toString();if(y.length<8)throw new Me;if(!e.checkChecksum(y))throw new tn;var R=(o[1]+o[0])/2,m=(f[1]+f[0])/2,v=this.getBarcodeFormat(),x=[new Ye(R,n),new Ye(m,n)],_=new Un(y,null,0,x,v,new Date().getTime()),E=0;try{var N=lX.decodeRow(n,r,f[1]);_.putMetadata(Dn.UPC_EAN_EXTENSION,N.getText()),_.putAllMetadata(N.getResultMetadata()),_.addResultPoints(N.getResultPoints()),E=N.getText().length}catch{}var U=i==null?null:i.get(Ct.ALLOWED_EAN_EXTENSIONS);if(U!=null){var O=!1;for(var Q in U)if(E.toString()===Q){O=!0;break}if(!O)throw new De}return v===He.EAN_13||He.UPC_A,_},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 Me;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 Me;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}(Oa),dX=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.")},Gd=function(t){dX(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],f=0,d=0;d<6&&h=10&&(f|=1<<5-d)}i=e.determineFirstDigit(i,f);var m=sn.findGuardPattern(n,h,!0,sn.MIDDLE_PATTERN,new Int32Array(sn.MIDDLE_PATTERN.length).fill(0));h=m[1];for(var d=0;d<6&&h=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},mm=function(t){fX(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],f=0;f<4&&h=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},ym=function(t){gX(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=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 sn.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 He.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}(sn),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)}}(),vm=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.")},nd=function(t){RX(e,t);function e(n){var r=t.call(this)||this,i=n==null?null:n.get(Ct.POSSIBLE_FORMATS),o=[];return i!=null&&(i.indexOf(He.EAN_13)>-1&&o.push(new Gd),i.indexOf(He.UPC_A)>-1&&o.push(new Rm),i.indexOf(He.EAN_8)>-1&&o.push(new mm),i.indexOf(He.UPC_E)>-1&&o.push(new ym)),o.length===0&&(o.push(new Gd),o.push(new Rm),o.push(new mm),o.push(new ym)),r.readers=o,r}return e.prototype.decodeRow=function(n,r,i){var o,a;try{for(var s=vm(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()===He.EAN_13&&l.getText().charAt(0)==="0",f=i==null?null:i.get(Ct.POSSIBLE_FORMATS),d=f==null||f.includes(He.UPC_A);if(h&&d){var p=l.getRawBytes(),g=new Un(l.getText().substring(1),p,p?p.length:null,l.getResultPoints(),He.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=vm(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}(ln),yX=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)}}(),vX=function(t){yX(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 Un(a,null,0,[new Ye(o.left,n),new Ye(o.right,n)],He.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;u0;){var o=n.splice(0,8).splice(0,7),a=o.map(function(c){return c=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},oo=function(t){bX(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;io&&(o=r[a],i=a);n[i]++},e.decrement=function(n,r){for(var i=0,o=r[0],a=1;a=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=xX(n),h=l.next();!h.done;h=l.next()){var f=h.value;f>u&&(u=f),f=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},qo=function(){function t(){}return t.getRSSvalue=function(e,n,r){var i,o,a=0;try{for(var s=wX(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,f=e.length,d=0;d=f-d-1&&(g-=t.combins(a-p-(f-d),f-d-2)),f-d-1>1){for(var y=0,R=a-p-(f-d-2);R>n;R--)y+=t.combins(a-p-R-1,f-d-3);g-=y*(f-1-d)}else a-p>n&&g--;l+=g}a-=p}return l},t.combins=function(e,n){var r,i;e-n>n?(i=n,r=e-n):(i=e-n,r=n);for(var o=1,a=1,s=e;s>r;s--)o*=s,a<=i&&(o/=a,a++);for(;a<=i;)o/=a,a++;return o},t}(),TX=function(){function t(){}return t.buildBitArray=function(e){var n=e.length*2-1;e[e.length-1].getRightChar()==null&&(n-=1);for(var r=12*n,i=new $n(r),o=0,a=e[0],s=a.getRightChar().getValue(),c=11;c>=0;--c)(s&1<=0;--h)(l&1<=0;--h)(f&1<10||i<0||i>10)throw new Me;return o.firstDigit=r,o.secondDigit=i,o}return e.prototype.getFirstDigit=function(){return this.firstDigit},e.prototype.getSecondDigit=function(){return this.secondDigit},e.prototype.getValue=function(){return this.firstDigit*10+this.secondDigit},e.prototype.isFirstDigitFNC1=function(){return this.firstDigit===e.FNC1},e.prototype.isSecondDigitFNC1=function(){return this.secondDigit===e.FNC1},e.prototype.isAnyFNC1=function(){return this.firstDigit===e.FNC1||this.secondDigit===e.FNC1},e.FNC1=10,e}(qp),Jc=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.")},OX=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var n,r,i,o,a,s,c,u;if(!e)return null;if(e.length<2)throw new De;var l=e.substring(0,2);try{for(var h=Jc(t.TWO_DIGIT_DATA_LENGTH),f=h.next();!f.done;f=h.next()){var d=f.value;if(d[0]===l)return d[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,d[2],e):t.processFixedAI(2,d[1],e)}}catch(E){n={error:E}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}if(e.length<3)throw new De;var p=e.substring(0,3);try{for(var g=Jc(t.THREE_DIGIT_DATA_LENGTH),y=g.next();!y.done;y=g.next()){var d=y.value;if(d[0]===p)return d[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,d[2],e):t.processFixedAI(3,d[1],e)}}catch(E){i={error:E}}finally{try{y&&!y.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}try{for(var R=Jc(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),m=R.next();!m.done;m=R.next()){var d=m.value;if(d[0]===p)return d[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,d[2],e):t.processFixedAI(4,d[1],e)}}catch(E){a={error:E}}finally{try{m&&!m.done&&(s=R.return)&&s.call(R)}finally{if(a)throw a.error}}if(e.length<4)throw new De;var v=e.substring(0,4);try{for(var x=Jc(t.FOUR_DIGIT_DATA_LENGTH),_=x.next();!_.done;_=x.next()){var d=_.value;if(d[0]===v)return d[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,d[2],e):t.processFixedAI(4,d[1],e)}}catch(E){c={error:E}}finally{try{_&&!_.done&&(u=x.return)&&u.call(x)}finally{if(c)throw c.error}}throw new De},t.processFixedAI=function(e,n,r){if(r.lengththis.information.getSize())return e+4<=this.information.getSize();for(var n=e;nthis.information.getSize()){var n=this.extractNumericValueFromBitArray(e,4);return n===0?new Ko(this.information.getSize(),Ko.FNC1,Ko.FNC1):new Ko(this.information.getSize(),n-1,Ko.FNC1)}var r=this.extractNumericValueFromBitArray(e,7),i=(r-8)/11,o=(r-8)%11;return new Ko(e+7,i,o)},t.prototype.extractNumericValueFromBitArray=function(e,n){return t.extractNumericValueFromBitArray(this.information,e,n)},t.extractNumericValueFromBitArray=function(e,n,r){for(var i=0,o=0;othis.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,5);if(n>=5&&n<16)return!0;if(e+7>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<116)return!0;if(e+8>this.information.getSize())return!1;var i=this.extractNumericValueFromBitArray(e,8);return i>=232&&i<253},t.prototype.decodeIsoIec646=function(e){var n=this.extractNumericValueFromBitArray(e,5);if(n===15)return new Nr(e+5,Nr.FNC1);if(n>=5&&n<15)return new Nr(e+5,"0"+(n-5));var r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<90)return new Nr(e+7,""+(r+1));if(r>=90&&r<116)return new Nr(e+7,""+(r+7));var i=this.extractNumericValueFromBitArray(e,8),o;switch(i){case 232:o="!";break;case 233:o='"';break;case 234:o="%";break;case 235:o="&";break;case 236:o="'";break;case 237:o="(";break;case 238:o=")";break;case 239:o="*";break;case 240:o="+";break;case 241:o=",";break;case 242:o="-";break;case 243:o=".";break;case 244:o="/";break;case 245:o=":";break;case 246:o=";";break;case 247:o="<";break;case 248:o="=";break;case 249:o=">";break;case 250:o="?";break;case 251:o="_";break;case 252:o=" ";break;default:throw new Me}return new Nr(e+8,o)},t.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,5);if(n>=5&&n<16)return!0;if(e+6>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(e,6);return r>=16&&r<63},t.prototype.decodeAlphanumeric=function(e){var n=this.extractNumericValueFromBitArray(e,5);if(n===15)return new Nr(e+5,Nr.FNC1);if(n>=5&&n<15)return new Nr(e+5,"0"+(n-5));var r=this.extractNumericValueFromBitArray(e,6);if(r>=32&&r<58)return new Nr(e+6,""+(r+33));var i;switch(r){case 58:i="*";break;case 59:i=",";break;case 60:i="-";break;case 61:i=".";break;case 62:i="/";break;default:throw new Va("Decoding invalid alphanumeric value: "+r)}return new Nr(e+6,i)},t.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var n=0;n<5&&n+ethis.information.getSize())return!1;for(var n=e;nthis.information.getSize())return!1;for(var n=0;n<4&&n+e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},HX=function(t){KX(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.pairs=new Array(e.MAX_PAIRS),n.rows=new Array,n.startEnd=[2],n}return e.prototype.decodeRow=function(n,r,i){this.pairs.length=0,this.startFromEven=!1;try{return e.constructResult(this.decodeRow2pairs(n,r))}catch{}return this.pairs.length=0,this.startFromEven=!0,e.constructResult(this.decodeRow2pairs(n,r))},e.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},e.prototype.decodeRow2pairs=function(n,r){for(var i=!1;!i;)try{this.pairs.push(this.retrieveNextPair(r,this.pairs,n))}catch(s){if(s instanceof De){if(!this.pairs.length)throw new De;i=!0}}if(this.checkChecksum())return this.pairs;var o;if(this.rows.length?o=!0:o=!1,this.storeRow(n,!1),o){var a=this.checkRowsBoolean(!1);if(a!=null||(a=this.checkRowsBoolean(!0),a!=null))return a}throw new De},e.prototype.checkRowsBoolean=function(n){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,n&&(this.rows=this.rows.reverse());var r=null;try{r=this.checkRows(new Array,0)}catch(i){console.log(i)}return n&&(this.rows=this.rows.reverse()),r},e.prototype.checkRows=function(n,r){for(var i,o,a=r;as.length)){for(var c=!0,u=0;un){a=s.isEquivalent(this.pairs);break}o=s.isEquivalent(this.pairs),i++}a||o||e.isPartialRow(this.pairs,this.rows)||(this.rows.push(i,new QX(this.pairs,n,r)),this.removePartialRows(this.pairs,this.rows))},e.prototype.removePartialRows=function(n,r){var i,o,a,s,c,u;try{for(var l=Ni(r),h=l.next();!h.done;h=l.next()){var f=h.value;if(f.getPairs().length!==n.length){var d=!0;try{for(var p=(a=void 0,Ni(f.getPairs())),g=p.next();!g.done;g=p.next()){var y=g.value,R=!1;try{for(var m=(c=void 0,Ni(n)),v=m.next();!v.done;v=m.next()){var x=v.value;if(bm.equals(y,x)){R=!0;break}}}catch(_){c={error:_}}finally{try{v&&!v.done&&(u=m.return)&&u.call(m)}finally{if(c)throw c.error}}R||(d=!1)}}catch(_){a={error:_}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}}}}catch(_){i={error:_}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}},e.isPartialRow=function(n,r){var i,o,a,s,c,u;try{for(var l=Ni(r),h=l.next();!h.done;h=l.next()){var f=h.value,d=!0;try{for(var p=(a=void 0,Ni(n)),g=p.next();!g.done;g=p.next()){var y=g.value,R=!1;try{for(var m=(c=void 0,Ni(f.getPairs())),v=m.next();!v.done;v=m.next()){var x=v.value;if(y.equals(x)){R=!0;break}}}catch(_){c={error:_}}finally{try{v&&!v.done&&(u=m.return)&&u.call(m)}finally{if(c)throw c.error}}if(!R){d=!1;break}}}catch(_){a={error:_}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}if(d)return!0}}catch(_){i={error:_}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}return!1},e.prototype.getRows=function(){return this.rows},e.constructResult=function(n){var r=TX.buildBitArray(n),i=ZX(r),o=i.parseInformation(),a=n[0].getFinderPattern().getResultPoints(),s=n[n.length-1].getFinderPattern().getResultPoints(),c=[a[0],a[1],s[0],s[1]];return new Un(o,null,null,c,He.RSS_EXPANDED,null)},e.prototype.checkChecksum=function(){var n=this.pairs.get(0),r=n.getLeftChar(),i=n.getRightChar();if(i===null)return!1;for(var o=i.getChecksumPortion(),a=2,s=1;s=0)s=i;else if(this.isEmptyPair(r))s=0;else{var c=r[r.length-1];s=c.getFinderPattern().getStartEnd()[1]}var u=r.length%2!==0;this.startFromEven&&(u=!u);for(var l=!1;s=0&&!n.get(c);)c--;c++,o=this.startEnd[0]-c,a=c,s=this.startEnd[1]}else a=this.startEnd[0],s=n.getNextUnset(this.startEnd[1]+1),o=s-this.startEnd[1];var u=this.getDecodeFinderCounters();Mt.arraycopy(u,0,u,1,u.length-1),u[0]=o;var l;try{l=this.parseFinderValue(u,e.FINDER_PATTERNS)}catch{return null}return new yb(l,[a,s],a,s,r)},e.prototype.decodeDataCharacter=function(n,r,i,o){for(var a=this.getDataCharacterCounters(),s=0;s.3)throw new De;for(var p=this.getOddCounts(),g=this.getEvenCounts(),y=this.getOddRoundingErrors(),R=this.getEvenRoundingErrors(),c=0;c8){if(m>8.7)throw new De;v=8}var x=c/2;(c&1)===0?(p[x]=v,y[x]=m-v):(g[x]=v,R[x]=m-v)}this.adjustOddEvenCounts(h);for(var _=4*r.getValue()+(i?0:2)+(o?0:1)-1,E=0,N=0,c=p.length-1;c>=0;c--){if(e.isNotA1left(r,i,o)){var U=e.WEIGHTS[_][2*c];N+=p[c]*U}E+=p[c]}for(var O=0,c=g.length-1;c>=0;c--)if(e.isNotA1left(r,i,o)){var U=e.WEIGHTS[_][2*c+1];O+=g[c]*U}var Q=N+O;if((E&1)!==0||E>13||E<4)throw new De;var ne=(13-E)/2,T=e.SYMBOL_WIDEST[ne],I=9-T,b=qo.getRSSvalue(p,T,!0),M=qo.getRSSvalue(g,I,!1),C=e.EVEN_TOTAL_SUBSET[ne],F=e.GSUM[ne],A=b*C+M+F;return new Fu(A,Q)},e.isNotA1left=function(n,r,i){return!(n.getValue()===0&&r&&i)},e.prototype.adjustOddEvenCounts=function(n){var r=ft.sum(new Int32Array(this.getOddCounts())),i=ft.sum(new Int32Array(this.getEvenCounts())),o=!1,a=!1;r>13?a=!0:r<4&&(o=!0);var s=!1,c=!1;i>13?c=!0:i<4&&(s=!0);var u=r+i-n,l=(r&1)===1,h=(i&1)===0;if(u===1)if(l){if(h)throw new De;a=!0}else{if(!h)throw new De;c=!0}else if(u===-1)if(l){if(h)throw new De;o=!0}else{if(!h)throw new De;s=!0}else if(u===0){if(l){if(!h)throw new De;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.")},xm=function(t){zX(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.possibleLeftPairs=[],n.possibleRightPairs=[],n}return e.prototype.decodeRow=function(n,r,i){var o,a,s,c,u=this.decodePair(r,!1,n,i);e.addOrTally(this.possibleLeftPairs,u),r.reverse();var l=this.decodePair(r,!0,n,i);e.addOrTally(this.possibleRightPairs,l),r.reverse();try{for(var h=rd(this.possibleLeftPairs),f=h.next();!f.done;f=h.next()){var d=f.value;if(d.getCount()>1)try{for(var p=(s=void 0,rd(this.possibleRightPairs)),g=p.next();!g.done;g=p.next()){var y=g.value;if(y.getCount()>1&&e.checkChecksum(d,y))return e.constructResult(d,y)}}catch(R){s={error:R}}finally{try{g&&!g.done&&(c=p.return)&&c.call(p)}finally{if(s)throw s.error}}}}catch(R){o={error:R}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}throw new De},e.addOrTally=function(n,r){var i,o;if(r!=null){var a=!1;try{for(var s=rd(n),c=s.next();!c.done;c=s.next()){var u=c.value;if(u.getValue()===r.getValue()){u.incrementCount(),a=!0;break}}}catch(l){i={error:l}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}a||n.push(r)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(n,r){for(var i=4537077*n.getValue()+r.getValue(),o=new String(i).toString(),a=new rt,s=13-o.length;s>0;s--)a.append("0");a.append(o);for(var c=0,s=0;s<13;s++){var u=a.charAt(s).charCodeAt(0)-"0".charCodeAt(0);c+=(s&1)===0?3*u:u}c=10-c%10,c===10&&(c=0),a.append(c.toString());var l=n.getFinderPattern().getResultPoints(),h=r.getFinderPattern().getResultPoints();return new Un(a.toString(),null,0,[l[0],l[1],h[0],h[1]],He.RSS_14,new Date().getTime())},e.checkChecksum=function(n,r){var i=(n.getChecksumPortion()+16*r.getChecksumPortion())%79,o=9*n.getFinderPattern().getValue()+r.getFinderPattern().getValue();return o>72&&o--,o>8&&o--,i===o},e.prototype.decodePair=function(n,r,i,o){try{var a=this.findFinderPattern(n,r),s=this.parseFoundFinderPattern(n,i,r,a),c=o==null?null:o.get(Ct.NEED_RESULT_POINT_CALLBACK);if(c!=null){var u=(a[0]+a[1])/2;r&&(u=n.getSize()-1-u),c.foundPossibleResultPoint(new Ye(u,i))}var l=this.decodeDataCharacter(n,s,!0),h=this.decodeDataCharacter(n,s,!1);return new JX(1597*l.getValue()+h.getValue(),l.getChecksumPortion()+4*h.getChecksumPortion(),s)}catch{return null}},e.prototype.decodeDataCharacter=function(n,r,i){for(var o=this.getDataCharacterCounters(),a=0;a8&&(R=8);var m=Math.floor(s/2);(s&1)===0?(f[m]=R,p[m]=y-R):(d[m]=R,g[m]=y-R)}this.adjustOddEvenCounts(i,l);for(var v=0,x=0,s=f.length-1;s>=0;s--)x*=9,x+=f[s],v+=f[s];for(var _=0,E=0,s=d.length-1;s>=0;s--)_*=9,_+=d[s],E+=d[s];var N=x+3*_;if(i){if((v&1)!==0||v>12||v<4)throw new De;var U=(12-v)/2,O=e.OUTSIDE_ODD_WIDEST[U],Q=9-O,ne=qo.getRSSvalue(f,O,!1),T=qo.getRSSvalue(d,Q,!0),I=e.OUTSIDE_EVEN_TOTAL_SUBSET[U],b=e.OUTSIDE_GSUM[U];return new Fu(ne*I+T+b,N)}else{if((E&1)!==0||E>10||E<4)throw new De;var U=(10-E)/2,O=e.INSIDE_ODD_WIDEST[U],Q=9-O,ne=qo.getRSSvalue(f,O,!0),T=qo.getRSSvalue(d,Q,!1),M=e.INSIDE_ODD_TOTAL_SUBSET[U],b=e.INSIDE_GSUM[U];return new Fu(T*M+ne+b,N)}},e.prototype.findFinderPattern=function(n,r){var i=this.getDecodeFinderCounters();i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var o=n.getSize(),a=!1,s=0;s=0&&a!==n.get(s);)s--;s++;var c=o[0]-s,u=this.getDecodeFinderCounters(),l=new Int32Array(u.length);Mt.arraycopy(u,0,l,1,u.length-1),l[0]=c;var h=this.parseFinderValue(l,e.FINDER_PATTERNS),f=s,d=o[1];return i&&(f=n.getSize()-1-f,d=n.getSize()-1-d),new yb(h,[s,o[1]],f,d,r)},e.prototype.adjustOddEvenCounts=function(n,r){var i=ft.sum(new Int32Array(this.getOddCounts())),o=ft.sum(new Int32Array(this.getEvenCounts())),a=!1,s=!1,c=!1,u=!1;n?(i>12?s=!0:i<4&&(a=!0),o>12?u=!0:o<4&&(c=!0)):(i>11?s=!0:i<5&&(a=!0),o>10?u=!0:o<4&&(c=!0));var l=i+o-r,h=(i&1)===(n?1:0),f=(o&1)===1;if(l===1)if(h){if(f)throw new De;s=!0}else{if(!f)throw new De;u=!0}else if(l===-1)if(h){if(f)throw new De;a=!0}else{if(!f)throw new De;c=!0}else if(l===0){if(h){if(!f)throw new De;i=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},yt=function(){function t(e,n,r){this.ecCodewords=e,this.ecBlocks=[n],r&&this.ecBlocks.push(r)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),pt=function(){function t(e,n){this.count=e,this.dataCodewords=n}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),qX=function(){function t(e,n,r,i,o,a){var s,c;this.versionNumber=e,this.symbolSizeRows=n,this.symbolSizeColumns=r,this.dataRegionSizeRows=i,this.dataRegionSizeColumns=o,this.ecBlocks=a;var u=0,l=a.getECCodewords(),h=a.getECBlocks();try{for(var f=wm(h),d=f.next();!d.done;d=f.next()){var p=d.value;u+=p.getCount()*(p.getDataCodewords()+l)}}catch(g){s={error:g}}finally{try{d&&!d.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}this.totalCodewords=u}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,n){var r,i;if((e&1)!==0||(n&1)!==0)throw new Me;try{for(var o=wm(t.VERSIONS),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.symbolSizeRows===e&&s.symbolSizeColumns===n)return s}}catch(c){r={error:c}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}throw new Me},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new yt(5,new pt(1,3))),new t(2,12,12,10,10,new yt(7,new pt(1,5))),new t(3,14,14,12,12,new yt(10,new pt(1,8))),new t(4,16,16,14,14,new yt(12,new pt(1,12))),new t(5,18,18,16,16,new yt(14,new pt(1,18))),new t(6,20,20,18,18,new yt(18,new pt(1,22))),new t(7,22,22,20,20,new yt(20,new pt(1,30))),new t(8,24,24,22,22,new yt(24,new pt(1,36))),new t(9,26,26,24,24,new yt(28,new pt(1,44))),new t(10,32,32,14,14,new yt(36,new pt(1,62))),new t(11,36,36,16,16,new yt(42,new pt(1,86))),new t(12,40,40,18,18,new yt(48,new pt(1,114))),new t(13,44,44,20,20,new yt(56,new pt(1,144))),new t(14,48,48,22,22,new yt(68,new pt(1,174))),new t(15,52,52,24,24,new yt(42,new pt(2,102))),new t(16,64,64,14,14,new yt(56,new pt(2,140))),new t(17,72,72,16,16,new yt(36,new pt(4,92))),new t(18,80,80,18,18,new yt(48,new pt(4,114))),new t(19,88,88,20,20,new yt(56,new pt(4,144))),new t(20,96,96,22,22,new yt(68,new pt(4,174))),new t(21,104,104,24,24,new yt(56,new pt(6,136))),new t(22,120,120,18,18,new yt(68,new pt(6,175))),new t(23,132,132,20,20,new yt(62,new pt(8,163))),new t(24,144,144,22,22,new yt(62,new pt(8,156),new pt(2,155))),new t(25,8,18,6,16,new yt(7,new pt(1,5))),new t(26,8,32,6,14,new yt(11,new pt(1,10))),new t(27,12,26,10,24,new yt(14,new pt(1,16))),new t(28,12,36,10,16,new yt(18,new pt(1,22))),new t(29,16,36,14,16,new yt(24,new pt(1,32))),new t(30,16,48,14,22,new yt(28,new pt(1,49)))]},t.VERSIONS=t.buildVersions(),t}(),e7=function(){function t(e){var n=e.getHeight();if(n<8||n>144||(n&1)!==0)throw new Me;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new yi(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(e){var n=e.getHeight(),r=e.getWidth();return qX.getVersionForDimensions(n,r)},t.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),n=0,r=4,i=0,o=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),s=!1,c=!1,u=!1,l=!1;do if(r===o&&i===0&&!s)e[n++]=this.readCorner1(o,a)&255,r-=2,i+=2,s=!0;else if(r===o-2&&i===0&&(a&3)!==0&&!c)e[n++]=this.readCorner2(o,a)&255,r-=2,i+=2,c=!0;else if(r===o+4&&i===2&&(a&7)===0&&!u)e[n++]=this.readCorner3(o,a)&255,r-=2,i+=2,u=!0;else if(r===o-2&&i===0&&(a&7)===4&&!l)e[n++]=this.readCorner4(o,a)&255,r-=2,i+=2,l=!0;else{do r=0&&!this.readMappingMatrix.get(i,r)&&(e[n++]=this.readUtah(r,i,o,a)&255),r-=2,i+=2;while(r>=0&&i=0&&i=0);r+=3,i+=1}while(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.")},t7=function(){function t(e,n){this.numDataCodewords=e,this.codewords=n}return t.getDataBlocks=function(e,n){var r,i,o,a,s=n.getECBlocks(),c=0,u=s.getECBlocks();try{for(var l=Tm(u),h=l.next();!h.done;h=l.next()){var f=h.value;c+=f.getCount()}}catch(b){r={error:b}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}var d=new Array(c),p=0;try{for(var g=Tm(u),y=g.next();!y.done;y=g.next())for(var f=y.value,R=0;R7?R-1:R;d[T].codewords[I]=e[N++]}if(N!==e.length)throw new Je;return d},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),xb=function(){function t(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return t.prototype.getBitOffset=function(){return this.bitOffset},t.prototype.getByteOffset=function(){return this.byteOffset},t.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new Je(""+e);var n=0,r=this.bitOffset,i=this.byteOffset,o=this.bytes;if(r>0){var a=8-r,s=e>8-s<>c,e-=s,r+=s,r===8&&(r=0,i++)}if(e>0){for(;e>=8;)n=n<<8|o[i]&255,i++,e-=8;if(e>0){var c=8-e,u=255>>c<>c,r+=e}}return this.bitOffset=r,this.byteOffset=i,n},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}(),on;(function(t){t[t.PAD_ENCODE=0]="PAD_ENCODE",t[t.ASCII_ENCODE=1]="ASCII_ENCODE",t[t.C40_ENCODE=2]="C40_ENCODE",t[t.TEXT_ENCODE=3]="TEXT_ENCODE",t[t.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",t[t.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",t[t.BASE256_ENCODE=6]="BASE256_ENCODE"})(on||(on={}));var n7=function(){function t(){}return t.decode=function(e){var n=new xb(e),r=new rt,i=new rt,o=new Array,a=on.ASCII_ENCODE;do if(a===on.ASCII_ENCODE)a=this.decodeAsciiSegment(n,r,i);else{switch(a){case on.C40_ENCODE:this.decodeC40Segment(n,r);break;case on.TEXT_ENCODE:this.decodeTextSegment(n,r);break;case on.ANSIX12_ENCODE:this.decodeAnsiX12Segment(n,r);break;case on.EDIFACT_ENCODE:this.decodeEdifactSegment(n,r);break;case on.BASE256_ENCODE:this.decodeBase256Segment(n,r,o);break;default:throw new Me}a=on.ASCII_ENCODE}while(a!==on.PAD_ENCODE&&n.available()>0);return i.length()>0&&r.append(i.toString()),new bl(e,r.toString(),o.length===0?null:o,null)},t.decodeAsciiSegment=function(e,n,r){var i=!1;do{var o=e.readBits(8);if(o===0)throw new Me;if(o<=128)return i&&(o+=128),n.append(String.fromCharCode(o-1)),on.ASCII_ENCODE;if(o===129)return on.PAD_ENCODE;if(o<=229){var a=o-130;a<10&&n.append("0"),n.append(""+a)}else switch(o){case 230:return on.C40_ENCODE;case 231:return on.BASE256_ENCODE;case 232:n.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:i=!0;break;case 236:n.append("[)>05"),r.insert(0,"");break;case 237:n.append("[)>06"),r.insert(0,"");break;case 238:return on.ANSIX12_ENCODE;case 239:return on.TEXT_ENCODE;case 240:return on.EDIFACT_ENCODE;case 241:break;default:if(o!==254||e.available()!==0)throw new Me;break}}while(e.available()>0);return on.ASCII_ENCODE},t.decodeC40Segment=function(e,n){var r=!1,i=[],o=0;do{if(e.available()===8)return;var a=e.readBits(8);if(a===254)return;this.parseTwoBytes(a,e.readBits(8),i);for(var s=0;s<3;s++){var c=i[s];switch(o){case 0:if(c<3)o=c+1;else if(c0)},t.decodeTextSegment=function(e,n){var r=!1,i=[],o=0;do{if(e.available()===8)return;var a=e.readBits(8);if(a===254)return;this.parseTwoBytes(a,e.readBits(8),i);for(var s=0;s<3;s++){var c=i[s];switch(o){case 0:if(c<3)o=c+1;else if(c0)},t.decodeAnsiX12Segment=function(e,n){var r=[];do{if(e.available()===8)return;var i=e.readBits(8);if(i===254)return;this.parseTwoBytes(i,e.readBits(8),r);for(var o=0;o<3;o++){var a=r[o];switch(a){case 0:n.append("\r");break;case 1:n.append("*");break;case 2:n.append(">");break;case 3:n.append(" ");break;default:if(a<14)n.append(String.fromCharCode(a+44));else if(a<40)n.append(String.fromCharCode(a+51));else throw new Me;break}}}while(e.available()>0)},t.parseTwoBytes=function(e,n,r){var i=(e<<8)+n-1,o=Math.floor(i/1600);r[0]=o,i-=o*1600,o=Math.floor(i/40),r[1]=o,r[2]=i-o*40},t.decodeEdifactSegment=function(e,n){do{if(e.available()<=16)return;for(var r=0;r<4;r++){var i=e.readBits(6);if(i===31){var o=8-e.getBitOffset();o!==8&&e.readBits(o);return}(i&32)===0&&(i|=64),n.append(String.fromCharCode(i))}}while(e.available()>0)},t.decodeBase256Segment=function(e,n,r){var i=1+e.getByteOffset(),o=this.unrandomize255State(e.readBits(8),i++),a;if(o===0?a=e.available()/8|0:o<250?a=o:a=250*(o-249)+this.unrandomize255State(e.readBits(8),i++),a<0)throw new Me;for(var s=new Uint8Array(a),c=0;c=0?i:i+256},t.C40_BASIC_SET_CHARS=["*","*","*"," ","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"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.TEXT_BASIC_SET_CHARS=["*","*","*"," ","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"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.TEXT_SHIFT3_SET_CHARS=["`","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","{","|","}","~",String.fromCharCode(127)],t}(),r7=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.")},i7=function(){function t(){this.rsDecoder=new xl(fi.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(e){var n,r,i=new e7(e),o=i.getVersion(),a=i.readCodewords(),s=t7.getDataBlocks(a,o),c=0;try{for(var u=r7(s),l=u.next();!l.done;l=u.next()){var h=l.value;c+=h.getNumDataCodewords()}}catch(v){n={error:v}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}for(var f=new Uint8Array(c),d=s.length,p=0;ps&&(l=s,h[0]=n,h[1]=r,h[2]=i,h[3]=o),l>c&&(l=c,h[0]=r,h[1]=i,h[2]=o,h[3]=n),l>u&&(h[0]=i,h[1]=o,h[2]=n,h[3]=r),h},t.prototype.detectSolid2=function(e){var n=e[0],r=e[1],i=e[2],o=e[3],a=this.transitionsBetween(n,o),s=t.shiftPoint(r,i,(a+1)*4),c=t.shiftPoint(i,r,(a+1)*4),u=this.transitionsBetween(s,n),l=this.transitionsBetween(c,o);return ud?l:h},t.prototype.shiftToModuleCenter=function(e){var n=e[0],r=e[1],i=e[2],o=e[3],a=this.transitionsBetween(n,o)+1,s=this.transitionsBetween(i,o)+1,c=t.shiftPoint(n,r,s*4),u=t.shiftPoint(i,r,a*4);a=this.transitionsBetween(c,o)+1,s=this.transitionsBetween(u,o)+1,(a&1)===1&&(a+=1),(s&1)===1&&(s+=1);var l=(n.getX()+r.getX()+i.getX()+o.getX())/4,h=(n.getY()+r.getY()+i.getY()+o.getY())/4;n=t.moveAway(n,l,h),r=t.moveAway(r,l,h),i=t.moveAway(i,l,h),o=t.moveAway(o,l,h);var f,d;return c=t.shiftPoint(n,r,s*4),c=t.shiftPoint(c,o,a*4),f=t.shiftPoint(r,n,s*4),f=t.shiftPoint(f,i,a*4),u=t.shiftPoint(i,o,s*4),u=t.shiftPoint(u,r,a*4),d=t.shiftPoint(o,i,s*4),d=t.shiftPoint(d,n,a*4),[c,f,u,d]},t.prototype.isValid=function(e){return e.getX()>=0&&e.getX()0&&e.getY()Math.abs(o-r);if(s){var c=r;r=i,i=c,c=o,o=a,a=c}for(var u=Math.abs(o-r),l=Math.abs(a-i),h=-u/2,f=i0){if(R===a)break;R+=f,h-=u}}return p},t}(),Pu=function(){function t(){this.decoder=new i7}return t.prototype.decode=function(e,n){n===void 0&&(n=null);var r,i;if(n!=null&&n.has(Ct.PURE_BARCODE)){var o=t.extractPureBits(e.getBlackMatrix());r=this.decoder.decode(o),i=t.NO_POINTS}else{var a=new o7(e.getBlackMatrix()).detect();r=this.decoder.decode(a.getBits()),i=a.getPoints()}var s=r.getRawBytes(),c=new Un(r.getText(),s,8*s.length,i,He.DATA_MATRIX,Mt.currentTimeMillis()),u=r.getByteSegments();u!=null&&c.putMetadata(Dn.BYTE_SEGMENTS,u);var l=r.getECLevel();return l!=null&&c.putMetadata(Dn.ERROR_CORRECTION_LEVEL,l),c},t.prototype.reset=function(){},t.extractPureBits=function(e){var n=e.getTopLeftOnBit(),r=e.getBottomRightOnBit();if(n==null||r==null)throw new De;var i=this.moduleSize(n,e),o=n[1],a=r[1],s=n[0],c=r[0],u=(c-s+1)/i,l=(a-o+1)/i;if(u<=0||l<=0)throw new De;var h=i/2;o+=h,s+=h;for(var f=new yi(u,l),d=0;d=t.FOR_BITS.size)throw new Je;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(ta.L,"L",1),t.M=new t(ta.M,"M",0),t.Q=new t(ta.Q,"Q",3),t.H=new t(ta.H,"H",2),t}(),s7=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.")},wb=function(){function t(e){this.errorCorrectionLevel=Jd.forBits(e>>3&3),this.dataMask=e&7}return t.numBitsDiffering=function(e,n){return $t.bitCount(e^n)},t.decodeFormatInformation=function(e,n){var r=t.doDecodeFormatInformation(e,n);return r!==null?r:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,n^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,n){var r,i,o=Number.MAX_SAFE_INTEGER,a=0;try{for(var s=s7(t.FORMAT_INFO_DECODE_LOOKUP),c=s.next();!c.done;c=s.next()){var u=c.value,l=u[0];if(l===e||l===n)return new t(u[1]);var h=t.numBitsDiffering(e,l);h=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},ye=function(){function t(e){for(var n=[],r=1;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.")},mo=function(){function t(e,n){for(var r,i,o=[],a=2;a40)throw new Je;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var n=Number.MAX_SAFE_INTEGER,r=0,i=0;i6&&(n.setRegion(e-11,0,3,6),n.setRegion(0,e-11,6,3)),n},t.prototype.toString=function(){return""+this.versionNumber},t.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),t.VERSIONS=[new t(1,new Int32Array(0),new ye(7,new ue(1,19)),new ye(10,new ue(1,16)),new ye(13,new ue(1,13)),new ye(17,new ue(1,9))),new t(2,Int32Array.from([6,18]),new ye(10,new ue(1,34)),new ye(16,new ue(1,28)),new ye(22,new ue(1,22)),new ye(28,new ue(1,16))),new t(3,Int32Array.from([6,22]),new ye(15,new ue(1,55)),new ye(26,new ue(1,44)),new ye(18,new ue(2,17)),new ye(22,new ue(2,13))),new t(4,Int32Array.from([6,26]),new ye(20,new ue(1,80)),new ye(18,new ue(2,32)),new ye(26,new ue(2,24)),new ye(16,new ue(4,9))),new t(5,Int32Array.from([6,30]),new ye(26,new ue(1,108)),new ye(24,new ue(2,43)),new ye(18,new ue(2,15),new ue(2,16)),new ye(22,new ue(2,11),new ue(2,12))),new t(6,Int32Array.from([6,34]),new ye(18,new ue(2,68)),new ye(16,new ue(4,27)),new ye(24,new ue(4,19)),new ye(28,new ue(4,15))),new t(7,Int32Array.from([6,22,38]),new ye(20,new ue(2,78)),new ye(18,new ue(4,31)),new ye(18,new ue(2,14),new ue(4,15)),new ye(26,new ue(4,13),new ue(1,14))),new t(8,Int32Array.from([6,24,42]),new ye(24,new ue(2,97)),new ye(22,new ue(2,38),new ue(2,39)),new ye(22,new ue(4,18),new ue(2,19)),new ye(26,new ue(4,14),new ue(2,15))),new t(9,Int32Array.from([6,26,46]),new ye(30,new ue(2,116)),new ye(22,new ue(3,36),new ue(2,37)),new ye(20,new ue(4,16),new ue(4,17)),new ye(24,new ue(4,12),new ue(4,13))),new t(10,Int32Array.from([6,28,50]),new ye(18,new ue(2,68),new ue(2,69)),new ye(26,new ue(4,43),new ue(1,44)),new ye(24,new ue(6,19),new ue(2,20)),new ye(28,new ue(6,15),new ue(2,16))),new t(11,Int32Array.from([6,30,54]),new ye(20,new ue(4,81)),new ye(30,new ue(1,50),new ue(4,51)),new ye(28,new ue(4,22),new ue(4,23)),new ye(24,new ue(3,12),new ue(8,13))),new t(12,Int32Array.from([6,32,58]),new ye(24,new ue(2,92),new ue(2,93)),new ye(22,new ue(6,36),new ue(2,37)),new ye(26,new ue(4,20),new ue(6,21)),new ye(28,new ue(7,14),new ue(4,15))),new t(13,Int32Array.from([6,34,62]),new ye(26,new ue(4,107)),new ye(22,new ue(8,37),new ue(1,38)),new ye(24,new ue(8,20),new ue(4,21)),new ye(22,new ue(12,11),new ue(4,12))),new t(14,Int32Array.from([6,26,46,66]),new ye(30,new ue(3,115),new ue(1,116)),new ye(24,new ue(4,40),new ue(5,41)),new ye(20,new ue(11,16),new ue(5,17)),new ye(24,new ue(11,12),new ue(5,13))),new t(15,Int32Array.from([6,26,48,70]),new ye(22,new ue(5,87),new ue(1,88)),new ye(24,new ue(5,41),new ue(5,42)),new ye(30,new ue(5,24),new ue(7,25)),new ye(24,new ue(11,12),new ue(7,13))),new t(16,Int32Array.from([6,26,50,74]),new ye(24,new ue(5,98),new ue(1,99)),new ye(28,new ue(7,45),new ue(3,46)),new ye(24,new ue(15,19),new ue(2,20)),new ye(30,new ue(3,15),new ue(13,16))),new t(17,Int32Array.from([6,30,54,78]),new ye(28,new ue(1,107),new ue(5,108)),new ye(28,new ue(10,46),new ue(1,47)),new ye(28,new ue(1,22),new ue(15,23)),new ye(28,new ue(2,14),new ue(17,15))),new t(18,Int32Array.from([6,30,56,82]),new ye(30,new ue(5,120),new ue(1,121)),new ye(26,new ue(9,43),new ue(4,44)),new ye(28,new ue(17,22),new ue(1,23)),new ye(28,new ue(2,14),new ue(19,15))),new t(19,Int32Array.from([6,30,58,86]),new ye(28,new ue(3,113),new ue(4,114)),new ye(26,new ue(3,44),new ue(11,45)),new ye(26,new ue(17,21),new ue(4,22)),new ye(26,new ue(9,13),new ue(16,14))),new t(20,Int32Array.from([6,34,62,90]),new ye(28,new ue(3,107),new ue(5,108)),new ye(26,new ue(3,41),new ue(13,42)),new ye(30,new ue(15,24),new ue(5,25)),new ye(28,new ue(15,15),new ue(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new ye(28,new ue(4,116),new ue(4,117)),new ye(26,new ue(17,42)),new ye(28,new ue(17,22),new ue(6,23)),new ye(30,new ue(19,16),new ue(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new ye(28,new ue(2,111),new ue(7,112)),new ye(28,new ue(17,46)),new ye(30,new ue(7,24),new ue(16,25)),new ye(24,new ue(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new ye(30,new ue(4,121),new ue(5,122)),new ye(28,new ue(4,47),new ue(14,48)),new ye(30,new ue(11,24),new ue(14,25)),new ye(30,new ue(16,15),new ue(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new ye(30,new ue(6,117),new ue(4,118)),new ye(28,new ue(6,45),new ue(14,46)),new ye(30,new ue(11,24),new ue(16,25)),new ye(30,new ue(30,16),new ue(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new ye(26,new ue(8,106),new ue(4,107)),new ye(28,new ue(8,47),new ue(13,48)),new ye(30,new ue(7,24),new ue(22,25)),new ye(30,new ue(22,15),new ue(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new ye(28,new ue(10,114),new ue(2,115)),new ye(28,new ue(19,46),new ue(4,47)),new ye(28,new ue(28,22),new ue(6,23)),new ye(30,new ue(33,16),new ue(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new ye(30,new ue(8,122),new ue(4,123)),new ye(28,new ue(22,45),new ue(3,46)),new ye(30,new ue(8,23),new ue(26,24)),new ye(30,new ue(12,15),new ue(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new ye(30,new ue(3,117),new ue(10,118)),new ye(28,new ue(3,45),new ue(23,46)),new ye(30,new ue(4,24),new ue(31,25)),new ye(30,new ue(11,15),new ue(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new ye(30,new ue(7,116),new ue(7,117)),new ye(28,new ue(21,45),new ue(7,46)),new ye(30,new ue(1,23),new ue(37,24)),new ye(30,new ue(19,15),new ue(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new ye(30,new ue(5,115),new ue(10,116)),new ye(28,new ue(19,47),new ue(10,48)),new ye(30,new ue(15,24),new ue(25,25)),new ye(30,new ue(23,15),new ue(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new ye(30,new ue(13,115),new ue(3,116)),new ye(28,new ue(2,46),new ue(29,47)),new ye(30,new ue(42,24),new ue(1,25)),new ye(30,new ue(23,15),new ue(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new ye(30,new ue(17,115)),new ye(28,new ue(10,46),new ue(23,47)),new ye(30,new ue(10,24),new ue(35,25)),new ye(30,new ue(19,15),new ue(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new ye(30,new ue(17,115),new ue(1,116)),new ye(28,new ue(14,46),new ue(21,47)),new ye(30,new ue(29,24),new ue(19,25)),new ye(30,new ue(11,15),new ue(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new ye(30,new ue(13,115),new ue(6,116)),new ye(28,new ue(14,46),new ue(23,47)),new ye(30,new ue(44,24),new ue(7,25)),new ye(30,new ue(59,16),new ue(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new ye(30,new ue(12,121),new ue(7,122)),new ye(28,new ue(12,47),new ue(26,48)),new ye(30,new ue(39,24),new ue(14,25)),new ye(30,new ue(22,15),new ue(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new ye(30,new ue(6,121),new ue(14,122)),new ye(28,new ue(6,47),new ue(34,48)),new ye(30,new ue(46,24),new ue(10,25)),new ye(30,new ue(2,15),new ue(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new ye(30,new ue(17,122),new ue(4,123)),new ye(28,new ue(29,46),new ue(14,47)),new ye(30,new ue(49,24),new ue(10,25)),new ye(30,new ue(24,15),new ue(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new ye(30,new ue(4,122),new ue(18,123)),new ye(28,new ue(13,46),new ue(32,47)),new ye(30,new ue(48,24),new ue(14,25)),new ye(30,new ue(42,15),new ue(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new ye(30,new ue(20,117),new ue(4,118)),new ye(28,new ue(40,47),new ue(7,48)),new ye(30,new ue(43,24),new ue(22,25)),new ye(30,new ue(10,15),new ue(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new ye(30,new ue(19,118),new ue(6,119)),new ye(28,new ue(18,47),new ue(31,48)),new ye(30,new ue(34,24),new ue(34,25)),new ye(30,new ue(20,15),new ue(61,16)))],t}(),pn;(function(t){t[t.DATA_MASK_000=0]="DATA_MASK_000",t[t.DATA_MASK_001=1]="DATA_MASK_001",t[t.DATA_MASK_010=2]="DATA_MASK_010",t[t.DATA_MASK_011=3]="DATA_MASK_011",t[t.DATA_MASK_100=4]="DATA_MASK_100",t[t.DATA_MASK_101=5]="DATA_MASK_101",t[t.DATA_MASK_110=6]="DATA_MASK_110",t[t.DATA_MASK_111=7]="DATA_MASK_111"})(pn||(pn={}));var Sm=function(){function t(e,n){this.value=e,this.isMasked=n}return t.prototype.unmaskBitMatrix=function(e,n){for(var r=0;r=0;r--)e=this.copyBit(8,r,e);for(var i=this.bitMatrix.getHeight(),o=0,a=i-7,r=i-1;r>=a;r--)o=this.copyBit(8,r,o);for(var n=i-8;n=0;o--)for(var a=e-9;a>=i;a--)r=this.copyBit(a,o,r);var s=mo.decodeVersionInformation(r);if(s!==null&&s.getDimensionForVersion()===e)return this.parsedVersion=s,s;r=0;for(var a=5;a>=0;a--)for(var o=e-9;o>=i;o--)r=this.copyBit(a,o,r);if(s=mo.decodeVersionInformation(r),s!==null&&s.getDimensionForVersion()===e)return this.parsedVersion=s,s;throw new Me},t.prototype.copyBit=function(e,n,r){var i=this.isMirror?this.bitMatrix.get(n,e):this.bitMatrix.get(e,n);return i?r<<1|1:r<<1},t.prototype.readCodewords=function(){var e=this.readFormatInformation(),n=this.readVersion(),r=Sm.values.get(e.getDataMask()),i=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,i);for(var o=n.buildFunctionPattern(),a=!0,s=new Uint8Array(n.getTotalCodewords()),c=0,u=0,l=0,h=i-1;h>0;h-=2){h===6&&h--;for(var f=0;f=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h7=function(){function t(e,n){this.numDataCodewords=e,this.codewords=n}return t.getDataBlocks=function(e,n,r){var i,o,a,s;if(e.length!==n.getTotalCodewords())throw new Je;var c=n.getECBlocksForLevel(r),u=0,l=c.getECBlocks();try{for(var h=Dm(l),f=h.next();!f.done;f=h.next()){var d=f.value;u+=d.getCount()}}catch(I){i={error:I}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}var p=new Array(u),g=0;try{for(var y=Dm(l),R=y.next();!R.done;R=y.next())for(var d=R.value,m=0;m=0;){var N=p[E].codewords.length;if(N===_)break;E--}E++;for(var U=_-c.getECCodewordsPerBlock(),O=0,m=0;me.available())throw new Me;for(var i=new Uint8Array(2*r),o=0;r>0;){var a=e.readBits(13),s=a/96<<8&4294967295|a%96;s<959?s+=41377:s+=42657,i[o]=s>>8&255,i[o+1]=s&255,o+=2,r--}try{n.append(_r.decode(i,Lt.GB2312))}catch(c){throw new Me(c)}},t.decodeKanjiSegment=function(e,n,r){if(r*13>e.available())throw new Me;for(var i=new Uint8Array(2*r),o=0;r>0;){var a=e.readBits(13),s=a/192<<8&4294967295|a%192;s<7936?s+=33088:s+=49472,i[o]=s>>8,i[o+1]=s,o+=2,r--}try{n.append(_r.decode(i,Lt.SHIFT_JIS))}catch(c){throw new Me(c)}},t.decodeByteSegment=function(e,n,r,i,o,a){if(8*r>e.available())throw new Me;for(var s=new Uint8Array(r),c=0;c=t.ALPHANUMERIC_CHARS.length)throw new Me;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,n,r,i){for(var o=n.length();r>1;){if(e.available()<11)throw new Me;var a=e.readBits(11);n.append(t.toAlphaNumericChar(Math.floor(a/45))),n.append(t.toAlphaNumericChar(a%45)),r-=2}if(r===1){if(e.available()<6)throw new Me;n.append(t.toAlphaNumericChar(e.readBits(6)))}if(i)for(var s=o;s=3;){if(e.available()<10)throw new Me;var i=e.readBits(10);if(i>=1e3)throw new Me;n.append(t.toAlphaNumericChar(Math.floor(i/100))),n.append(t.toAlphaNumericChar(Math.floor(i/10)%10)),n.append(t.toAlphaNumericChar(i%10)),r-=3}if(r===2){if(e.available()<7)throw new Me;var o=e.readBits(7);if(o>=100)throw new Me;n.append(t.toAlphaNumericChar(Math.floor(o/10))),n.append(t.toAlphaNumericChar(o%10))}else if(r===1){if(e.available()<4)throw new Me;var a=e.readBits(4);if(a>=10)throw new Me;n.append(t.toAlphaNumericChar(a))}},t.parseECIValue=function(e){var n=e.readBits(8);if((n&128)===0)return n&127;if((n&192)===128){var r=e.readBits(8);return(n&63)<<8&4294967295|r}if((n&224)===192){var i=e.readBits(16);return(n&31)<<16&4294967295|i}throw new Me},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}(),Tb=function(){function t(e){this.mirrored=e}return t.prototype.isMirrored=function(){return this.mirrored},t.prototype.applyMirroredCorrection=function(e){if(!(!this.mirrored||e===null||e.length<3)){var n=e[0];e[0]=e[2],e[2]=n}},t}(),_m=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.")},f7=function(){function t(){this.rsDecoder=new xl(fi.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(e,n){return this.decodeBitMatrix(yi.parseFromBooleanArray(e),n)},t.prototype.decodeBitMatrix=function(e,n){var r=new l7(e),i=null;try{return this.decodeBitMatrixParser(r,n)}catch(a){i=a}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,n);return o.setOther(new Tb(!0)),o}catch(a){throw i!==null?i:a}},t.prototype.decodeBitMatrixParser=function(e,n){var r,i,o,a,s=e.readVersion(),c=e.readFormatInformation().getErrorCorrectionLevel(),u=e.readCodewords(),l=h7.getDataBlocks(u,s,c),h=0;try{for(var f=_m(l),d=f.next();!d.done;d=f.next()){var p=d.value;h+=p.getNumDataCodewords()}}catch(E){r={error:E}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}var g=new Uint8Array(h),y=0;try{for(var R=_m(l),m=R.next();!m.done;m=R.next()){var p=m.value,v=p.getCodewords(),x=p.getNumDataCodewords();this.correctErrors(v,x);for(var _=0;_=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},R7=function(){function t(e,n,r,i,o,a,s){this.image=e,this.startX=n,this.startY=r,this.width=i,this.height=o,this.moduleSize=a,this.resultPointCallback=s,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var e=this.startX,n=this.height,r=this.width,i=e+r,o=this.startY+n/2,a=new Int32Array(3),s=this.image,c=0;c=r)return!1;return!0},t.prototype.crossCheckVertical=function(e,n,r,i){var o=this.image,a=o.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var c=e;c>=0&&o.get(n,c)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&!o.get(n,c)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=e+1;cr)return NaN;for(;cr)return NaN;var u=s[0]+s[1]+s[2];return 5*Math.abs(u-i)>=2*i?NaN:this.foundPatternCross(s)?t.centerFromEnd(s,c):NaN},t.prototype.handlePossibleCenter=function(e,n,r){var i,o,a=e[0]+e[1]+e[2],s=t.centerFromEnd(e,r),c=this.crossCheckVertical(n,s,2*e[1],a);if(!isNaN(c)){var u=(e[0]+e[1]+e[2])/3;try{for(var l=m7(this.possibleCenters),h=l.next();!h.done;h=l.next()){var f=h.value;if(f.aboutEquals(u,c,s))return f.combineEstimate(c,s,u)}}catch(p){i={error:p}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}var d=new g7(s,c,u);this.possibleCenters.push(d),this.resultPointCallback!==null&&this.resultPointCallback!==void 0&&this.resultPointCallback.foundPossibleResultPoint(d)}return null},t}(),y7=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)}}(),v7=function(t){y7(e,t);function e(n,r,i,o){var a=t.call(this,n,r)||this;return a.estimatedModuleSize=i,a.count=o,o===void 0&&(a.count=1),a}return e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(n,r,i){if(Math.abs(r-this.getY())<=n&&Math.abs(i-this.getX())<=n){var o=Math.abs(n-this.estimatedModuleSize);return o<=1||o<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(n,r,i){var o=this.count+1,a=(this.count*this.getX()+r)/o,s=(this.count*this.getY()+n)/o,c=(this.count*this.estimatedModuleSize+i)/o;return new e(a,s,c,o)},e}(Ye),b7=function(){function t(e){this.bottomLeft=e[0],this.topLeft=e[1],this.topRight=e[2]}return t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t}(),cs=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.")},x7=function(){function t(e,n){this.image=e,this.resultPointCallback=n,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=n}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(e){var n=e!=null&&e.get(Ct.TRY_HARDER)!==void 0,r=e!=null&&e.get(Ct.PURE_BARCODE)!==void 0,i=this.image,o=i.getHeight(),a=i.getWidth(),s=Math.floor(3*o/(4*t.MAX_MODULES));(su[2]&&(l+=p-u[2]-s,f=a-1)}else{u[0]=u[2],u[1]=u[3],u[2]=u[4],u[3]=1,u[4]=0,h=3;continue}h=0,u[0]=0,u[1]=0,u[2]=0,u[3]=0,u[4]=0}else u[0]=u[2],u[1]=u[3],u[2]=u[4],u[3]=1,u[4]=0,h=3;else u[++h]++;else u[h]++;if(t.foundPatternCross(u)){var d=this.handlePossibleCenter(u,l,a,r);d===!0&&(s=u[0],this.hasSkipped&&(c=this.haveMultiplyConfirmedCenters()))}}var g=this.selectBestPatterns();return Ye.orderBestPatterns(g),new b7(g)},t.centerFromEnd=function(e,n){return n-e[4]-e[3]-e[2]/2},t.foundPatternCross=function(e){for(var n=0,r=0;r<5;r++){var i=e[r];if(i===0)return!1;n+=i}if(n<7)return!1;var o=n/7,a=o/2;return Math.abs(o-e[0])=a&&n>=a&&s.get(n-a,e-a);)o[2]++,a++;if(e=a&&n>=a&&!s.get(n-a,e-a)&&o[1]<=r;)o[1]++,a++;if(er)return!1;for(;e>=a&&n>=a&&s.get(n-a,e-a)&&o[0]<=r;)o[0]++,a++;if(o[0]>r)return!1;var c=s.getHeight(),u=s.getWidth();for(a=1;e+a=c||n+a>=u)return!1;for(;e+a=c||n+a>=u||o[3]>=r)return!1;for(;e+a=r)return!1;var l=o[0]+o[1]+o[2]+o[3]+o[4];return Math.abs(l-i)<2*i&&t.foundPatternCross(o)},t.prototype.crossCheckVertical=function(e,n,r,i){for(var o=this.image,a=o.getHeight(),s=this.getCrossCheckStateCount(),c=e;c>=0&&o.get(n,c);)s[2]++,c--;if(c<0)return NaN;for(;c>=0&&!o.get(n,c)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&o.get(n,c)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=e+1;c=r)return NaN;for(;c=r)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-i)>=2*i?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,c):NaN},t.prototype.crossCheckHorizontal=function(e,n,r,i){for(var o=this.image,a=o.getWidth(),s=this.getCrossCheckStateCount(),c=e;c>=0&&o.get(c,n);)s[2]++,c--;if(c<0)return NaN;for(;c>=0&&!o.get(c,n)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&o.get(c,n)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=e+1;c=r)return NaN;for(;c=r)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-i)>=i?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,c):NaN},t.prototype.handlePossibleCenter=function(e,n,r,i){var o=e[0]+e[1]+e[2]+e[3]+e[4],a=t.centerFromEnd(e,r),s=this.crossCheckVertical(n,Math.floor(a),e[2],o);if(!isNaN(s)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(s),e[2],o),!isNaN(a)&&(!i||this.crossCheckDiagonal(Math.floor(s),Math.floor(a),e[2],o)))){for(var c=o/7,u=!1,l=this.possibleCenters,h=0,f=l.length;h=t.CENTER_QUORUM)if(i==null)i=s;else return this.hasSkipped=!0,Math.floor((Math.abs(i.getX()-s.getX())-Math.abs(i.getY()-s.getY()))/2)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,n,r,i,o=0,a=0,s=this.possibleCenters.length;try{for(var c=cs(this.possibleCenters),u=c.next();!u.done;u=c.next()){var l=u.value;l.getCount()>=t.CENTER_QUORUM&&(o++,a+=l.getEstimatedModuleSize())}}catch(g){e={error:g}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}if(o<3)return!1;var h=a/s,f=0;try{for(var d=cs(this.possibleCenters),p=d.next();!p.done;p=d.next()){var l=p.value;f+=Math.abs(l.getEstimatedModuleSize()-h)}}catch(g){r={error:g}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}return f<=.05*a},t.prototype.selectBestPatterns=function(){var e,n,r,i,o=this.possibleCenters.length;if(o<3)throw new De;var a=this.possibleCenters,s;if(o>3){var c=0,u=0;try{for(var l=cs(this.possibleCenters),h=l.next();!h.done;h=l.next()){var f=h.value,d=f.getEstimatedModuleSize();c+=d,u+=d*d}}catch(_){e={error:_}}finally{try{h&&!h.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}s=c/o;var p=Math.sqrt(u/o-s*s);a.sort(function(_,E){var N=Math.abs(E.getEstimatedModuleSize()-s),U=Math.abs(_.getEstimatedModuleSize()-s);return NU?1:0});for(var g=Math.max(.2*s,p),y=0;y3;y++){var R=a[y];Math.abs(R.getEstimatedModuleSize()-s)>g&&(a.splice(y,1),y--)}}if(a.length>3){var c=0;try{for(var m=cs(a),v=m.next();!v.done;v=m.next()){var x=v.value;c+=x.getEstimatedModuleSize()}}catch(E){r={error:E}}finally{try{v&&!v.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}s=c/a.length,a.sort(function(E,N){if(N.getCount()===E.getCount()){var U=Math.abs(N.getEstimatedModuleSize()-s),O=Math.abs(E.getEstimatedModuleSize()-s);return UO?-1:0}else return N.getCount()-E.getCount()}),a.splice(3)}return[a[0],a[1],a[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}(),w7=function(){function t(e){this.image=e}return t.prototype.getImage=function(){return this.image},t.prototype.getResultPointCallback=function(){return this.resultPointCallback},t.prototype.detect=function(e){this.resultPointCallback=e==null?null:e.get(Ct.NEED_RESULT_POINT_CALLBACK);var n=new x7(this.image,this.resultPointCallback),r=n.find(e);return this.processFinderPatternInfo(r)},t.prototype.processFinderPatternInfo=function(e){var n=e.getTopLeft(),r=e.getTopRight(),i=e.getBottomLeft(),o=this.calculateModuleSize(n,r,i);if(o<1)throw new De("No pattern found in proccess finder.");var a=t.computeDimension(n,r,i,o),s=mo.getProvisionalVersionForDimension(a),c=s.getDimensionForVersion()-7,u=null;if(s.getAlignmentPatternCenters().length>0)for(var l=r.getX()-n.getX()+i.getX(),h=r.getY()-n.getY()+i.getY(),f=1-3/c,d=Math.floor(n.getX()+f*(l-n.getX())),p=Math.floor(n.getY()+f*(h-n.getY())),g=4;g<=16;g<<=1)try{u=this.findAlignmentInRegion(o,d,p,g);break}catch(v){if(!(v instanceof De))throw v}var y=t.createTransform(n,r,i,u,a),R=t.sampleGrid(this.image,y,a),m;return u===null?m=[i,n,r]:m=[i,n,r,u],new $p(R,m)},t.createTransform=function(e,n,r,i,o){var a=o-3.5,s,c,u,l;return i!==null?(s=i.getX(),c=i.getY(),u=a-3,l=u):(s=n.getX()-e.getX()+r.getX(),c=n.getY()-e.getY()+r.getY(),u=a,l=a),Rb.quadrilateralToQuadrilateral(3.5,3.5,a,3.5,u,l,3.5,a,e.getX(),e.getY(),n.getX(),n.getY(),s,c,r.getX(),r.getY())},t.sampleGrid=function(e,n,r){var i=jp.getInstance();return i.sampleGridWithTransform(e,r,r,n)},t.computeDimension=function(e,n,r,i){var o=ft.round(Ye.distance(e,n)/i),a=ft.round(Ye.distance(e,r)/i),s=Math.floor((o+a)/2)+7;switch(s&3){case 0:s++;break;case 2:s--;break;case 3:throw new De("Dimensions could be not found.")}return s},t.prototype.calculateModuleSize=function(e,n,r){return(this.calculateModuleSizeOneWay(e,n)+this.calculateModuleSizeOneWay(e,r))/2},t.prototype.calculateModuleSizeOneWay=function(e,n){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(n.getX()),Math.floor(n.getY())),i=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(n.getX()),Math.floor(n.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(r)?i/7:isNaN(i)?r/7:(r+i)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,n,r,i){var o=this.sizeOfBlackWhiteBlackRun(e,n,r,i),a=1,s=e-(r-e);s<0?(a=e/(e-s),s=0):s>=this.image.getWidth()&&(a=(this.image.getWidth()-1-e)/(s-e),s=this.image.getWidth()-1);var c=Math.floor(n-(i-n)*a);return a=1,c<0?(a=n/(n-c),c=0):c>=this.image.getHeight()&&(a=(this.image.getHeight()-1-n)/(c-n),c=this.image.getHeight()-1),s=Math.floor(e+(s-e)*a),o+=this.sizeOfBlackWhiteBlackRun(e,n,s,c),o-1},t.prototype.sizeOfBlackWhiteBlackRun=function(e,n,r,i){var o=Math.abs(i-n)>Math.abs(r-e);if(o){var a=e;e=n,n=a,a=r,r=i,i=a}for(var s=Math.abs(r-e),c=Math.abs(i-n),u=-s/2,l=e0){if(g===i)break;g+=h,u-=s}}return f===2?ft.distance(r+l,i,e,n):NaN},t.prototype.findAlignmentInRegion=function(e,n,r,i){var o=Math.floor(i*e),a=Math.max(0,n-o),s=Math.min(this.image.getWidth()-1,n+o);if(s-a=c||o>=a)throw new De;if(a-o!==c-s&&(c=s+(a-o),c>=e.getWidth()))throw new De;var u=Math.round((c-s+1)/i),l=Math.round((a-o+1)/i);if(u<=0||l<=0)throw new De;if(l!==u)throw new De;var h=Math.floor(i/2);o+=h,s+=h;var f=s+Math.floor((u-1)*i)-c;if(f>0){if(f>h)throw new De;s-=f}var d=o+Math.floor((l-1)*i)-a;if(d>0){if(d>h)throw new De;o-=d}for(var p=new yi(u,l),g=0;g=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},lt=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(e){return ft.sum(e)},t.toIntArray=function(e){var n,r;if(e==null||!e.length)return t.EMPTY_INT_ARRAY;var i=new Int32Array(e.length),o=0;try{for(var a=T7(e),s=a.next();!s.done;s=a.next()){var c=s.value;i[o++]=c}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i},t.getCodeword=function(e){var n=un.binarySearch(t.SYMBOL_TABLE,e&262143);return n<0?-1:(t.CODEWORD_TABLE[n]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}(),S7=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}(),D7=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.")},_7=function(){function t(){}return t.detectMultiple=function(e,n,r){var i=e.getBlackMatrix(),o=t.detect(r,i);return o.length||(i=i.clone(),i.rotate180(),o=t.detect(r,i)),new S7(i,o)},t.detect=function(e,n){for(var r,i,o=new Array,a=0,s=0,c=!1;a0;){var h=t.findGuardPattern(e,o,--i,r,!1,a,u);if(h!=null)l=h;else{i++;break}}s[0]=new Ye(l[0],i),s[1]=new Ye(l[1],i),c=!0;break}}var f=i+1;if(c){for(var d=0,h=Int32Array.from([Math.trunc(s[0].getX()),Math.trunc(s[1].getX())]);ft.SKIPPED_ROW_COUNT_MAX)break;d++}}f-=d+1,s[2]=new Ye(h[0],f),s[3]=new Ye(h[1],f)}return f-i0&&u++f?h-f:f-h;if(d>r)return 1/0;u+=d}return u/o},t.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),t.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),t.MAX_AVG_VARIANCE=.42,t.MAX_INDIVIDUAL_VARIANCE=.8,t.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),t.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),t.MAX_PIXEL_DRIFT=3,t.MAX_PATTERN_DRIFT=5,t.SKIPPED_ROW_COUNT_MAX=25,t.ROW_STEP=5,t.BARCODE_MIN_HEIGHT=10,t}(),O7=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.")},ho=function(){function t(e,n){if(n.length===0)throw new Je;this.field=e;var r=n.length;if(r>1&&n[0]===0){for(var i=1;ir.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=0;n--){var r=this.getCoefficient(n);r!==0&&(r<0?(e.append(" - "),r=-r):e.length()>0&&e.append(" + "),(n===0||r!==1)&&e.append(r),n!==0&&(n===1?e.append("x"):(e.append("x^"),e.append(n))))}return e.toString()},t}(),E7=function(){function t(){}return t.prototype.add=function(e,n){return(e+n)%this.modulus},t.prototype.subtract=function(e,n){return(this.modulus+e-n)%this.modulus},t.prototype.exp=function(e){return this.expTable[e]},t.prototype.log=function(e){if(e===0)throw new Je;return this.logTable[e]},t.prototype.inverse=function(e){if(e===0)throw new mb;return this.expTable[this.modulus-this.logTable[e]-1]},t.prototype.multiply=function(e,n){return e===0||n===0?0:this.expTable[(this.logTable[e]+this.logTable[n])%(this.modulus-1)]},t.prototype.getSize=function(){return this.modulus},t.prototype.equals=function(e){return e===this},t}(),I7=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)}}(),N7=function(t){I7(e,t);function e(n,r){var i=t.call(this)||this;i.modulus=n,i.expTable=new Int32Array(n),i.logTable=new Int32Array(n);for(var o=1,a=0;a=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},P7=function(){function t(){this.field=N7.PDF417_GF}return t.prototype.decode=function(e,n,r){for(var i,o,a=new ho(this.field,e),s=new Int32Array(n),c=!1,u=n;u>0;u--){var l=a.evaluateAt(this.field.exp(u));s[n-u]=l,l!==0&&(c=!0)}if(!c)return 0;var h=this.field.getOne();if(r!=null)try{for(var f=F7(r),d=f.next();!d.done;d=f.next()){var p=d.value,g=this.field.exp(e.length-1-p),y=new ho(this.field,new Int32Array([this.field.subtract(0,g),1]));h=h.multiply(y)}}catch(U){i={error:U}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}for(var R=new ho(this.field,s),m=this.runEuclideanAlgorithm(this.field.buildMonomial(n,1),R,n),v=m[0],x=m[1],_=this.findErrorLocations(v),E=this.findErrorMagnitudes(x,v,_),u=0;u<_.length;u++){var N=e.length-1-this.field.log(_[u]);if(N<0)throw tn.getChecksumInstance();e[N]=this.field.subtract(e[N],E[u])}return _.length},t.prototype.runEuclideanAlgorithm=function(e,n,r){if(e.getDegree()=Math.round(r/2);){var u=o,l=s;if(o=a,s=c,o.isZero())throw tn.getChecksumInstance();a=u;for(var h=this.field.getZero(),f=o.getCoefficient(o.getDegree()),d=this.field.inverse(f);a.getDegree()>=o.getDegree()&&!a.isZero();){var p=a.getDegree()-o.getDegree(),g=this.field.multiply(a.getCoefficient(a.getDegree()),d);h=h.add(this.field.buildMonomial(p,g)),a=a.subtract(o.multiplyByMonomial(p,g))}c=h.multiply(s).subtract(l).negative()}var y=c.getCoefficient(0);if(y===0)throw tn.getChecksumInstance();var R=this.field.inverse(y),m=c.multiply(R),v=a.multiply(R);return[m,v]},t.prototype.findErrorLocations=function(e){for(var n=e.getDegree(),r=new Int32Array(n),i=0,o=1;o0){var c=r?this.topLeft:this.topRight,u=Math.trunc(c.getY()-e);u<0&&(u=0);var l=new Ye(c.getX(),u);r?i=l:a=l}if(n>0){var h=r?this.bottomLeft:this.bottomRight,f=Math.trunc(h.getY()+n);f>=this.image.getHeight()&&(f=this.image.getHeight()-1);var d=new Ye(h.getX(),f);r?o=d:s=d}return new t(this.image,i,o,a,s)},t.prototype.getMinX=function(){return this.minX},t.prototype.getMaxX=function(){return this.maxX},t.prototype.getMinY=function(){return this.minY},t.prototype.getMaxY=function(){return this.maxY},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getBottomRight=function(){return this.bottomRight},t}(),L7=function(){function t(e,n,r,i){this.columnCount=e,this.errorCorrectionLevel=i,this.rowCountUpperPart=n,this.rowCountLowerPart=r,this.rowCount=n+r}return t.prototype.getColumnCount=function(){return this.columnCount},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},t.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},t}(),e1=function(){function t(){this.buffer=""}return t.form=function(e,n){var r=-1;function i(a,s,c,u,l,h){if(a==="%%")return"%";if(n[++r]!==void 0){a=u?parseInt(u.substr(1)):void 0;var f=l?parseInt(l.substr(1)):void 0,d;switch(h){case"s":d=n[r];break;case"c":d=n[r][0];break;case"f":d=parseFloat(n[r]).toFixed(a);break;case"p":d=parseFloat(n[r]).toPrecision(a);break;case"e":d=parseFloat(n[r]).toExponential(a);break;case"x":d=parseInt(n[r]).toString(f||16);break;case"d":d=parseFloat(parseInt(n[r],f||10).toPrecision(a)).toFixed(0);break}d=typeof d=="object"?JSON.stringify(d):(+d).toString(f);for(var p=parseInt(c),g=c&&c[0]+""=="0"?"0":" ";d.length=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Sb=function(){function t(e){this.boundingBox=new zd(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var n=this.getCodeword(e);if(n!=null)return n;for(var r=1;r=0&&(n=this.codewords[i],n!=null)||(i=this.imageRowToCodewordIndex(e)+r,i=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A7=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],a;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},gs=function(){function t(){this.values=new Map}return t.prototype.setValue=function(e){e=Math.trunc(e);var n=this.values.get(e);n==null&&(n=0),n++,this.values.set(e,n)},t.prototype.getValue=function(){var e,n,r=-1,i=new Array,o=function(h,f){var d={getKey:function(){return h},getValue:function(){return f}};d.getValue()>r?(r=d.getValue(),i=[],i.push(d.getKey())):d.getValue()===r&&i.push(d.getKey())};try{for(var a=C7(this.values.entries()),s=a.next();!s.done;s=a.next()){var c=A7(s.value,2),u=c[0],l=c[1];o(u,l)}}catch(h){e={error:h}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return lt.toIntArray(i)},t.prototype.getConfidence=function(e){return this.values.get(e)},t}(),U7=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)}}(),id=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.")},Om=function(t){U7(e,t);function e(n,r){var i=t.call(this,n)||this;return i._isLeft=r,i}return e.prototype.setRowNumbers=function(){var n,r;try{for(var i=id(this.getCodewords()),o=i.next();!o.done;o=i.next()){var a=o.value;a!=null&&a.setRowNumberAsRowIndicatorColumn()}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.adjustCompleteIndicatorColumnRowNumbers=function(n){var r=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(r,n);for(var i=this.getBoundingBox(),o=this._isLeft?i.getTopLeft():i.getTopRight(),a=this._isLeft?i.getBottomLeft():i.getBottomRight(),s=this.imageRowToCodewordIndex(Math.trunc(o.getY())),c=this.imageRowToCodewordIndex(Math.trunc(a.getY())),u=-1,l=1,h=0,f=s;f=n.getRowCount()||p>f)r[f]=null;else{var g=void 0;l>2?g=(l-2)*p:g=p;for(var y=g>=f,R=1;R<=g&&!y;R++)y=r[f-R]!=null;y?r[f]=null:(u=d.getRowNumber(),h=1)}}},e.prototype.getRowHeights=function(){var n,r,i=this.getBarcodeMetadata();if(i==null)return null;this.adjustIncompleteIndicatorColumnRowNumbers(i);var o=new Int32Array(i.getRowCount());try{for(var a=id(this.getCodewords()),s=a.next();!s.done;s=a.next()){var c=s.value;if(c!=null){var u=c.getRowNumber();if(u>=o.length)continue;o[u]++}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o},e.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(n){for(var r=this.getBoundingBox(),i=this._isLeft?r.getTopLeft():r.getTopRight(),o=this._isLeft?r.getBottomLeft():r.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),s=this.imageRowToCodewordIndex(Math.trunc(o.getY())),c=this.getCodewords(),u=-1,l=a;l=n.getRowCount()?c[l]=null:u=h.getRowNumber())}},e.prototype.getBarcodeMetadata=function(){var n,r,i=this.getCodewords(),o=new gs,a=new gs,s=new gs,c=new gs;try{for(var u=id(i),l=u.next();!l.done;l=u.next()){var h=l.value;if(h!=null){h.setRowNumberAsRowIndicatorColumn();var f=h.getValue()%30,d=h.getRowNumber();switch(this._isLeft||(d+=2),d%3){case 0:a.setValue(f*3+1);break;case 1:c.setValue(f/3),s.setValue(f%3);break;case 2:o.setValue(f+1);break}}}}catch(g){n={error:g}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}if(o.getValue().length===0||a.getValue().length===0||s.getValue().length===0||c.getValue().length===0||o.getValue()[0]<1||a.getValue()[0]+s.getValue()[0]lt.MAX_ROWS_IN_BARCODE)return null;var p=new L7(o.getValue()[0],a.getValue()[0],s.getValue()[0],c.getValue()[0]);return this.removeIncorrectCodewords(i,p),p},e.prototype.removeIncorrectCodewords=function(n,r){for(var i=0;ir.getRowCount()){n[i]=null;continue}switch(this._isLeft||(s+=2),s%3){case 0:a*3+1!==r.getRowCountUpperPart()&&(n[i]=null);break;case 1:(Math.trunc(a/3)!==r.getErrorCorrectionLevel()||a%3!==r.getRowCountLowerPart())&&(n[i]=null);break;case 2:a+1!==r.getColumnCount()&&(n[i]=null);break}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+` `+t.prototype.toString.call(this)},e}(Sb),W7=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.")},X7=function(){function t(e,n){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=n,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return t.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e=lt.MAX_CODEWORDS_IN_BARCODE,n;do n=e,e=this.adjustRowNumbersAndGetCount();while(e>0&&e0&&o0&&(u[0]=r[n-1],u[4]=s[n-1],u[5]=c[n-1]),n>1&&(u[8]=r[n-2],u[10]=s[n-2],u[11]=c[n-2]),n>=1;r=n&1,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(lt.BARS_IN_MODULE)),t.RATIOS_TABLE[e][lt.BARS_IN_MODULE-i-1]=Math.fround(o/lt.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var n=t.getDecodedCodewordValue(t.sampleBitCounts(e));return n!==-1?n:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(e){for(var n=ft.sum(e),r=new Int32Array(lt.BARS_IN_MODULE),i=0,o=0,a=0;a1)for(var i=0;i=o)break}ce.length||r<0||n+r>e.length||n+r<0)throw new zp;if(r===0)return;for(var i=0;i0&&this.grow(n)},e.prototype.grow=function(n){var r=this.buf.length,i=r<<1;if(i-n<0&&(i=n),i<0){if(n<0)throw new H7;i=$t.MAX_VALUE}this.buf=un.copyOfUint8Array(this.buf,i)},e.prototype.write=function(n){this.ensureCapacity(this.count+1),this.buf[this.count]=n,this.count+=1},e.prototype.writeBytesOffset=function(n,r,i){if(r<0||r>n.length||i<0||r+i-n.length>0)throw new zp;this.ensureCapacity(this.count+i),Mt.arraycopy(n,r,this.buf,this.count,i),this.count+=i},e.prototype.writeTo=function(n){n.writeBytesOffset(this.buf,0,this.count)},e.prototype.reset=function(){this.count=0},e.prototype.toByteArray=function(){return un.copyOfUint8Array(this.buf,this.count)},e.prototype.size=function(){return this.count},e.prototype.toString=function(n){return n?typeof n=="string"?this.toString_string(n):this.toString_number(n):this.toString_void()},e.prototype.toString_void=function(){return new String(this.buf).toString()},e.prototype.toString_string=function(n){return new String(this.buf).toString()},e.prototype.toString_number=function(n){return new String(this.buf).toString()},e.prototype.close=function(){},e}(Q7),_t;(function(t){t[t.ALPHA=0]="ALPHA",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.PUNCT=3]="PUNCT",t[t.ALPHA_SHIFT=4]="ALPHA_SHIFT",t[t.PUNCT_SHIFT=5]="PUNCT_SHIFT"})(_t||(_t={}));function Db(){if(typeof window!="undefined")return window.BigInt||null;if(typeof global!="undefined")return global.BigInt||null;if(typeof self!="undefined")return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}var zc;function Li(t){if(typeof zc=="undefined"&&(zc=Db()),zc===null)throw new Error("BigInt is not supported!");return zc(t)}function z7(){var t=[];t[0]=Li(1);var e=Li(900);t[1]=e;for(var n=2;n<16;n++)t[n]=t[n-1]*e;return t}var $7=function(){function t(){}return t.decode=function(e,n){var r=new rt(""),i=cn.ISO8859_1;r.enableDecoding(i);for(var o=1,a=e[o++],s=new B7;oe[0])throw Me.getFormatInstance();for(var i=new Int32Array(t.NUMBER_OF_SEQUENCE_CODEWORDS),o=0;o0){for(var f=0;f<6;++f)a.write(Number(Li(c)>>Li(8*(5-f))));c=0,s=0}break}i===n[0]&&h0){for(var f=0;f<6;++f)a.write(Number(Li(c)>>Li(8*(5-f))));c=0,s=0}}break}return o.append(_r.decode(a.toByteArray(),r)),i},t.numericCompaction=function(e,n,r){for(var i=0,o=!1,a=new Int32Array(t.MAX_NUMERIC_CODEWORDS);n0&&(r.append(t.decodeBase900toBase10(a,i)),i=0)}return n},t.decodeBase900toBase10=function(e,n){for(var r=Li(0),i=0;i@[\\]_\`~!\r ,: -.$/"|*()?{}'`,t.MIXED_CHARS="0123456789&\r ,:#-.$/+%*=^",t.EXP900=Db()?z7():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}(),us=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.")},j7=function(){function t(){}return t.decode=function(e,n,r,i,o,a,s){for(var c=new zd(e,n,r,i,o),u=null,l=null,h,f=!0;;f=!1){if(n!=null&&(u=t.getRowIndicatorColumn(e,c,n,!0,a,s)),i!=null&&(l=t.getRowIndicatorColumn(e,c,i,!1,a,s)),h=t.merge(u,l),h==null)throw De.getNotFoundInstance();var d=h.getBoundingBox();if(f&&d!=null&&(d.getMinY()c.getMaxY()))c=d;else break}h.setBoundingBox(c);var p=h.getBarcodeColumnCount()+1;h.setDetectionResultColumn(0,u),h.setDetectionResultColumn(p,l);for(var g=u!=null,y=1;y<=p;y++){var R=g?y:p-y;if(h.getDetectionResultColumn(R)===void 0){var m=void 0;R===0||R===p?m=new Om(c,R===0):m=new Sb(c),h.setDetectionResultColumn(R,m);for(var v=-1,x=v,_=c.getMinY();_<=c.getMaxY();_++){if(v=t.getStartColumn(h,R,_,g),v<0||v>c.getMaxX()){if(x===-1)continue;v=x}var E=t.detectCodeword(e,c.getMinX(),c.getMaxX(),g,v,_,a,s);E!=null&&(m.setCodeword(_,E),x=v,a=Math.min(a,E.getWidth()),s=Math.max(s,E.getWidth()))}}}return t.createDecoderResult(h)},t.merge=function(e,n){if(e==null&&n==null)return null;var r=t.getBarcodeMetadata(e,n);if(r==null)return null;var i=zd.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(n));return new X7(r,i)},t.adjustBoundingBox=function(e){var n,r;if(e==null)return null;var i=e.getRowHeights();if(i==null)return null;var o=t.getMax(i),a=0;try{for(var s=us(i),c=s.next();!c.done;c=s.next()){var u=c.value;if(a+=o-u,u>0)break}}catch(d){n={error:d}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}for(var l=e.getCodewords(),h=0;a>0&&l[h]==null;h++)a--;for(var f=0,h=i.length-1;h>=0&&(f+=o-i[h],!(i[h]>0));h--);for(var h=l.length-1;f>0&&l[h]==null;h--)f--;return e.getBoundingBox().addMissingRows(a,f,e.isLeft())},t.getMax=function(e){var n,r,i=-1;try{for(var o=us(e),a=o.next();!a.done;a=o.next()){var s=a.value;i=Math.max(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.getBarcodeMetadata=function(e,n){var r;if(e==null||(r=e.getBarcodeMetadata())==null)return n==null?null:n.getBarcodeMetadata();var i;return n==null||(i=n.getBarcodeMetadata())==null?r:r.getColumnCount()!==i.getColumnCount()&&r.getErrorCorrectionLevel()!==i.getErrorCorrectionLevel()&&r.getRowCount()!==i.getRowCount()?null:r},t.getRowIndicatorColumn=function(e,n,r,i,o,a){for(var s=new Om(n,i),c=0;c<2;c++)for(var u=c===0?1:-1,l=Math.trunc(Math.trunc(r.getX())),h=Math.trunc(Math.trunc(r.getY()));h<=n.getMaxY()&&h>=n.getMinY();h+=u){var f=t.detectCodeword(e,0,e.getWidth(),i,l,h,o,a);f!=null&&(s.setCodeword(h,f),i?l=f.getStartX():l=f.getEndX())}return s},t.adjustCodewordCount=function(e,n){var r=n[0][1],i=r.getValue(),o=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(i.length===0){if(o<1||o>lt.MAX_CODEWORDS_IN_BARCODE)throw De.getNotFoundInstance();r.setValue(o)}else i[0]!==o&&r.setValue(o)},t.createDecoderResult=function(e){var n=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,n);for(var r=new Array,i=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),o=[],a=new Array,s=0;s0;){for(var c=0;c=0){if(y>=a.length)continue;a[y][u].setValue(g.getValue())}}}}catch(R){i={error:R}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}u++}}catch(R){n={error:R}}finally{try{h&&!h.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return a},t.isValidBarcodeColumn=function(e,n){return n>=0&&n<=e.getBarcodeColumnCount()+1},t.getStartColumn=function(e,n,r,i){var o,a,s=i?1:-1,c=null;if(t.isValidBarcodeColumn(e,n-s)&&(c=e.getDetectionResultColumn(n-s).getCodeword(r)),c!=null)return i?c.getEndX():c.getStartX();if(c=e.getDetectionResultColumn(n).getCodewordNearby(r),c!=null)return i?c.getStartX():c.getEndX();if(t.isValidBarcodeColumn(e,n-s)&&(c=e.getDetectionResultColumn(n-s).getCodewordNearby(r)),c!=null)return i?c.getEndX():c.getStartX();for(var u=0;t.isValidBarcodeColumn(e,n-s);){n-=s;try{for(var l=(o=void 0,us(e.getDetectionResultColumn(n).getCodewords())),h=l.next();!h.done;h=l.next()){var f=h.value;if(f!=null)return(i?f.getEndX():f.getStartX())+s*u*(f.getEndX()-f.getStartX())}}catch(d){o={error:d}}finally{try{h&&!h.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}u++}return i?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,n,r,i,o,a,s,c){o=t.adjustCodewordStartColumn(e,n,r,i,o,a);var u=t.getModuleBitCount(e,n,r,i,o,a);if(u==null)return null;var l,h=ft.sum(u);if(i)l=o+h;else{for(var f=0;f=n)&&u=n:st.CODEWORD_SKEW_SIZE)return o;s+=c}c=-c,i=!i}return s},t.checkCodewordSkew=function(e,n,r){return n-t.CODEWORD_SKEW_SIZE<=e&&e<=r+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(e,n,r){if(e.length===0)throw Me.getFormatInstance();var i=1<r/2+t.MAX_ERRORS||r<0||r>t.MAX_EC_CODEWORDS)throw tn.getChecksumInstance();return t.errorCorrection.decode(e,r,n)},t.verifyCodewordCount=function(e,n){if(e.length<4)throw Me.getFormatInstance();var r=e[0];if(r>e.length)throw Me.getFormatInstance();if(r===0)if(n>=1;return n},t.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},t.getCodewordBucketNumber_number=function(e){return t.getCodewordBucketNumber(t.getBitCountForCodeword(e))},t.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},t.toString=function(e){for(var n=new e1,r=0;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.")},Mu=function(){function t(){}return t.prototype.decode=function(e,n){n===void 0&&(n=null);var r=t.decode(e,n,!1);if(r==null||r.length===0||r[0]==null)throw De.getNotFoundInstance();return r[0]},t.prototype.decodeMultiple=function(e,n){n===void 0&&(n=null);try{return t.decode(e,n,!0)}catch(r){throw r instanceof Me||r instanceof tn?De.getNotFoundInstance():r}},t.decode=function(e,n,r){var i,o,a=new Array,s=_7.detectMultiple(e,n,r);try{for(var c=q7(s.getPoints()),u=c.next();!u.done;u=c.next()){var l=u.value,h=j7.decode(s.getBits(),l[4],l[5],l[6],l[7],t.getMinCodewordWidth(l),t.getMaxCodewordWidth(l)),f=new Un(h.getText(),h.getRawBytes(),void 0,l,He.PDF_417);f.putMetadata(Dn.ERROR_CORRECTION_LEVEL,h.getECLevel());var d=h.getOther();d!=null&&f.putMetadata(Dn.PDF417_EXTRA_METADATA,d),a.push(f)}}catch(p){i={error:p}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return a.map(function(p){return p})},t.getMaxWidth=function(e,n){return e==null||n==null?0:Math.trunc(Math.abs(e.getX()-n.getX()))},t.getMinWidth=function(e,n){return e==null||n==null?$t.MAX_VALUE:Math.trunc(Math.abs(e.getX()-n.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*lt.MODULES_IN_CODEWORD/lt.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*lt.MODULES_IN_CODEWORD/lt.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*lt.MODULES_IN_CODEWORD/lt.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*lt.MODULES_IN_CODEWORD/lt.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}(),eV=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)}}(),Im=function(t){eV(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.kind="ReaderException",e}(ir),Nm=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.")},_b=function(){function t(){}return t.prototype.decode=function(e,n){return this.setHints(n),this.decodeInternal(e)},t.prototype.decodeWithState=function(e){return(this.readers===null||this.readers===void 0)&&this.setHints(null),this.decodeInternal(e)},t.prototype.setHints=function(e){this.hints=e;var n=e!=null&&e.get(Ct.TRY_HARDER)!==void 0,r=e==null?null:e.get(Ct.POSSIBLE_FORMATS),i=new Array;if(r!=null){var o=r.some(function(a){return a===He.UPC_A||a===He.UPC_E||a===He.EAN_13||a===He.EAN_8||a===He.CODABAR||a===He.CODE_39||a===He.CODE_93||a===He.CODE_128||a===He.ITF||a===He.RSS_14||a===He.RSS_EXPANDED});o&&!n&&i.push(new ea(e)),r.includes(He.QR_CODE)&&i.push(new Lu),r.includes(He.DATA_MATRIX)&&i.push(new Pu),r.includes(He.AZTEC)&&i.push(new Nu),r.includes(He.PDF_417)&&i.push(new Mu),o&&n&&i.push(new ea(e))}i.length===0&&(n||i.push(new ea(e)),i.push(new Lu),i.push(new Pu),i.push(new Nu),i.push(new Mu),n&&i.push(new ea(e))),this.readers=i},t.prototype.reset=function(){var e,n;if(this.readers!==null)try{for(var r=Nm(this.readers),i=r.next();!i.done;i=r.next()){var o=i.value;o.reset()}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},t.prototype.decodeInternal=function(e){var n,r;if(this.readers===null)throw new Im("No readers where selected, nothing can be read.");try{for(var i=Nm(this.readers),o=i.next();!o.done;o=i.next()){var a=o.value;try{return a.decode(e,this.hints)}catch(s){if(s instanceof Im)continue}}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}throw new De("No MultiFormat Readers were able to detect the code.")},t}(),tV=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){tV(e,t);function e(n,r){n===void 0&&(n=null),r===void 0&&(r=500);var i=this,o=new _b;return o.setHints(n),i=t.call(this,o,r)||this,i}return e.prototype.decodeBitmap=function(n){return this.reader.decodeWithState(n)},e})(Xa);var nV=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){nV(e,t);function e(n){return n===void 0&&(n=500),t.call(this,new Mu,n)||this}return e})(Xa);var rV=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){rV(e,t);function e(n){return n===void 0&&(n=500),t.call(this,new Lu,n)||this}return e})(Xa);var $d;(function(t){t[t.ERROR_CORRECTION=0]="ERROR_CORRECTION",t[t.CHARACTER_SET=1]="CHARACTER_SET",t[t.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",t[t.DATA_MATRIX_COMPACT=3]="DATA_MATRIX_COMPACT",t[t.MIN_SIZE=4]="MIN_SIZE",t[t.MAX_SIZE=5]="MAX_SIZE",t[t.MARGIN=6]="MARGIN",t[t.PDF417_COMPACT=7]="PDF417_COMPACT",t[t.PDF417_COMPACTION=8]="PDF417_COMPACTION",t[t.PDF417_DIMENSIONS=9]="PDF417_DIMENSIONS",t[t.AZTEC_LAYERS=10]="AZTEC_LAYERS",t[t.QR_VERSION=11]="QR_VERSION",t[t.GS1_FORMAT=12]="GS1_FORMAT",t[t.FORCE_C40=13]="FORCE_C40"})($d||($d={}));var Gr=$d,iV=function(){function t(e){this.field=e,this.cachedGenerators=[],this.cachedGenerators.push(new Yi(e,Int32Array.from([1])))}return t.prototype.buildGenerator=function(e){var n=this.cachedGenerators;if(e>=n.length)for(var r=n[n.length-1],i=this.field,o=n.length;o<=e;o++){var a=r.multiply(new Yi(i,Int32Array.from([1,i.exp(o-1+i.getGeneratorBase())])));n.push(a),r=a}return n[e]},t.prototype.encode=function(e,n){if(n===0)throw new Je("No error correction bytes");var r=e.length-n;if(r<=0)throw new Je("No data bytes provided");var i=this.buildGenerator(n),o=new Int32Array(r);Mt.arraycopy(e,0,o,0,r);var a=new Yi(this.field,o);a=a.multiplyByMonomial(n,1);for(var s=a.divide(i)[1],c=s.getCoefficients(),u=n-c.length,l=0;l=5&&(r+=t.N1+(c-5)),c=1,u=h)}c>=5&&(r+=t.N1+(c-5))}return r},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}(),oV=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.")},aV=function(){function t(e,n){this.width=e,this.height=n;for(var r=new Array(n),i=0;i!==n;i++)r[i]=new Uint8Array(e);this.bytes=r}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(e,n){return this.bytes[n][e]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(e,n,r){this.bytes[n][e]=r},t.prototype.setBoolean=function(e,n,r){this.bytes[n][e]=r?1:0},t.prototype.clear=function(e){var n,r;try{for(var i=oV(this.bytes),o=i.next();!o.done;o=i.next()){var a=o.value;un.fill(a,e)}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;if(this.width!==n.width||this.height!==n.height)return!1;for(var r=0,i=this.height;r> `),e.toString()},t.prototype.setMode=function(e){this.mode=e},t.prototype.setECLevel=function(e){this.ecLevel=e},t.prototype.setVersion=function(e){this.version=e},t.prototype.setMaskPattern=function(e){this.maskPattern=e},t.prototype.setMatrix=function(e){this.matrix=e},t.isValidMaskPattern=function(e){return e>=0&&e0;){for(a===6&&(a-=1);s>=0&&s=r;)e^=n<=0)for(var c=0;c!==a;c++){var u=i[c];u>=0&&t.isEmpty(n.get(u,s))&&t.embedPositionAdjustmentPattern(u-2,s-2,n)}}},t.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),t.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}(),cV=function(){function t(e,n){this.dataBytes=e,this.errorCorrectionBytes=n}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}(),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.")},uV=function(){function t(){}return t.calculateMaskPenalty=function(e){return ms.applyMaskPenaltyRule1(e)+ms.applyMaskPenaltyRule2(e)+ms.applyMaskPenaltyRule3(e)+ms.applyMaskPenaltyRule4(e)},t.encode=function(e,n,r){r===void 0&&(r=null);var i=t.DEFAULT_BYTE_MODE_ENCODING,o=r!==null&&r.get(Gr.CHARACTER_SET)!==void 0;o&&(i=r.get(Gr.CHARACTER_SET).toString());var a=this.chooseMode(e,i),s=new $n;if(a===Wt.BYTE&&(o||t.DEFAULT_BYTE_MODE_ENCODING!==i)){var c=cn.getCharacterSetECIByName(i);c!==void 0&&this.appendECI(c,s)}this.appendModeInfo(a,s);var u=new $n;this.appendBytes(e,a,u,i);var l;if(r!==null&&r.get(Gr.QR_VERSION)!==void 0){var h=Number.parseInt(r.get(Gr.QR_VERSION).toString(),10);l=mo.getVersionForNumber(h);var f=this.calculateBitsNeeded(a,s,u,l);if(!this.willFit(f,l,n))throw new Ut("Data too big for requested version")}else l=this.recommendVersion(n,a,s,u);var d=new $n;d.appendBitArray(s);var p=a===Wt.BYTE?u.getSizeInBytes():e.length;this.appendLengthInfo(p,l,a,d),d.appendBitArray(u);var g=l.getECBlocksForLevel(n),y=l.getTotalCodewords()-g.getTotalECCodewords();this.terminateBits(y,d);var R=this.interleaveWithECBytes(d,l.getTotalCodewords(),y,g.getNumBlocks()),m=new jd;m.setECLevel(n),m.setMode(a),m.setVersion(l);var v=l.getDimensionForVersion(),x=new aV(v,v),_=this.chooseMaskPattern(R,n,l,x);return m.setMaskPattern(_),Fm.buildMatrix(R,n,l,_,x),m.setMatrix(x),m},t.recommendVersion=function(e,n,r,i){var o=this.calculateBitsNeeded(n,r,i,mo.getVersionForNumber(1)),a=this.chooseVersion(o,e),s=this.calculateBitsNeeded(n,r,i,a);return this.chooseVersion(s,e)},t.calculateBitsNeeded=function(e,n,r,i){return n.getSize()+e.getCharacterCountBits(i)+r.getSize()},t.getAlphanumericCode=function(e){return e159)&&(o<224||o>235))return!1}return!0},t.chooseMaskPattern=function(e,n,r,i){for(var o=Number.MAX_SAFE_INTEGER,a=-1,s=0;s=c},t.terminateBits=function(e,n){var r=e*8;if(n.getSize()>r)throw new Ut("data bits cannot fit in the QR Code"+n.getSize()+" > "+r);for(var i=0;i<4&&n.getSize()0)for(var i=o;i<8;i++)n.appendBit(!1);for(var a=e-n.getSizeInBytes(),i=0;i=r)throw new Ut("Block ID too large");var s=e%r,c=r-s,u=Math.floor(e/r),l=u+1,h=Math.floor(n/r),f=h+1,d=u-h,p=l-f;if(d!==p)throw new Ut("EC bytes mismatch");if(r!==c+s)throw new Ut("RS blocks mismatch");if(e!==(h+d)*c+(f+p)*s)throw new Ut("Total bytes mismatch");i=1<=0&&n<=9},t.appendNumericBytes=function(e,n){for(var r=e.length,i=0;i=33088&&c<=40956?u=c-33088:c>=57408&&c<=60351&&(u=c-49472),u===-1)throw new Ut("Invalid byte sequence");var l=(u>>8)*192+(u&255);n.appendBits(l,13)}},t.appendECI=function(e,n){n.appendBits(Wt.ECI.getBits(),4),n.appendBits(e.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=cn.UTF8.getName(),t}(),lV=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){lV(e,t);function e(n,r,i,o,a,s,c,u){var l=t.call(this,s,c)||this;if(l.yuvData=n,l.dataWidth=r,l.dataHeight=i,l.left=o,l.top=a,o+s>r||a+c>i)throw new Je("Crop rectangle does not fit within image data.");return u&&l.reverseHorizontal(s,c),l}return e.prototype.getRow=function(n,r){if(n<0||n>=this.getHeight())throw new Je("Requested row is outside the image: "+n);var i=this.getWidth();(r==null||r.length>16&255,g=d>>7&510,y=d&255;h[f]=(p+g+y)/4&255}u.luminances=h}else u.luminances=n;if(o===void 0&&(u.dataWidth=r),a===void 0&&(u.dataHeight=i),s===void 0&&(u.left=0),c===void 0&&(u.top=0),u.left+r>u.dataWidth||u.top+i>u.dataHeight)throw new Je("Crop rectangle does not fit within image data.");return u}return e.prototype.getRow=function(n,r){if(n<0||n>=this.getHeight())throw new Je("Requested row is outside the image: "+n);var i=this.getWidth();(r==null||r.length=256&&(n^=gV);return{LOG:t,ALOG:e}};qd=mV([],[]),qd.LOG;qd.ALOG;var Lm;(function(t){t[t.FORCE_NONE=0]="FORCE_NONE",t[t.FORCE_SQUARE=1]="FORCE_SQUARE",t[t.FORCE_RECTANGLE=2]="FORCE_RECTANGLE"})(Lm||(Lm={}));var Mm=129,Ob=230,RV=231,yV=235,vV=236,bV=237,xV=238,wV=239,TV=240,od=254,SV=254,Cm="[)>05",Am="[)>06",Um="",St=0,xn=1,kn=2,an=3,gn=4,En=5,DV=function(){function t(){}return t.prototype.getEncodingMode=function(){return St},t.prototype.encode=function(e){var n=Pr.determineConsecutiveDigitCount(e.getMessage(),e.pos);if(n>=2)e.writeCodeword(this.encodeASCIIDigits(e.getMessage().charCodeAt(e.pos),e.getMessage().charCodeAt(e.pos+1))),e.pos+=2;else{var r=e.getCurrentChar(),i=Pr.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(i!==this.getEncodingMode())switch(i){case En:e.writeCodeword(RV),e.signalEncoderChange(En);return;case xn:e.writeCodeword(Ob),e.signalEncoderChange(xn);return;case an:e.writeCodeword(xV),e.signalEncoderChange(an);break;case kn:e.writeCodeword(wV),e.signalEncoderChange(kn);break;case gn:e.writeCodeword(TV),e.signalEncoderChange(gn);break;default:throw new Error("Illegal mode: "+i)}else Pr.isExtendedASCII(r)?(e.writeCodeword(yV),e.writeCodeword(r-128+1),e.pos++):(e.writeCodeword(r+1),e.pos++)}},t.prototype.encodeASCIIDigits=function(e,n){if(Pr.isDigit(e)&&Pr.isDigit(n)){var r=(e-48)*10+(n-48);return r+130}throw new Error("not digits: "+e+n)},t}(),_V=function(){function t(){}return t.prototype.getEncodingMode=function(){return En},t.prototype.encode=function(e){var n=new rt;for(n.append(0);e.hasMoreCharacters();){var r=e.getCurrentChar();n.append(r),e.pos++;var i=Pr.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(i!==this.getEncodingMode()){e.signalEncoderChange(St);break}}var o=n.length()-1,a=1,s=e.getCodewordCount()+o+a;e.updateSymbolInfo(s);var c=e.getSymbolInfo().getDataCapacity()-s>0;if(e.hasMoreCharacters()||c)if(o<=249)n.setCharAt(0,Lt.getCharAt(o));else if(o<=1555)n.setCharAt(0,Lt.getCharAt(Math.floor(o/250)+249)),n.insert(1,Lt.getCharAt(o%250));else throw new Error("Message length not in valid ranges: "+o);for(var u=0,r=n.length();u3||u!==1))&&(e.pos=i)}n.length()>0&&e.writeCodeword(Ob),this.handleEOD(e,n)},t.prototype.encode=function(e){for(var n=new rt;e.hasMoreCharacters();){var r=e.getCurrentChar();e.pos++;var i=this.encodeChar(r,n),o=Math.floor(n.length()/3)*2,a=e.getCodewordCount()+o;e.updateSymbolInfo(a);var s=e.getSymbolInfo().getDataCapacity()-a;if(!e.hasMoreCharacters()){var c=new rt;for(n.length()%3===2&&s!==2&&(i=this.backtrackOneCharacter(e,n,c,i));n.length()%3===1&&(i>3||s!==1);)i=this.backtrackOneCharacter(e,n,c,i);break}var u=n.length();if(u%3===0){var l=Pr.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(l!==this.getEncodingMode()){e.signalEncoderChange(St);break}}}this.handleEOD(e,n)},t.prototype.backtrackOneCharacter=function(e,n,r,i){var o=n.length(),a=n.toString().substring(0,o-i);n.setLengthToZero(),n.append(a),e.pos--;var s=e.getCurrentChar();return i=this.encodeChar(s,r),e.resetSymbolInfo(),i},t.prototype.writeNextTriplet=function(e,n){e.writeCodewords(this.encodeToCodewords(n.toString()));var r=n.toString().substring(3);n.setLengthToZero(),n.append(r)},t.prototype.handleEOD=function(e,n){var r=Math.floor(n.length()/3*2),i=n.length()%3,o=e.getCodewordCount()+r;e.updateSymbolInfo(o);var a=e.getSymbolInfo().getDataCapacity()-o;if(i===2){for(n.append("\0");n.length()>=3;)this.writeNextTriplet(e,n);e.hasMoreCharacters()&&e.writeCodeword(od)}else if(a===1&&i===1){for(;n.length()>=3;)this.writeNextTriplet(e,n);e.hasMoreCharacters()&&e.writeCodeword(od),e.pos--}else if(i===0){for(;n.length()>=3;)this.writeNextTriplet(e,n);(a>0||e.hasMoreCharacters())&&e.writeCodeword(od)}else throw new Error("Unexpected case. Please report!");e.signalEncoderChange(St)},t.prototype.encodeChar=function(e,n){if(e===" ".charCodeAt(0))return n.append(3),1;if(e>="0".charCodeAt(0)&&e<="9".charCodeAt(0))return n.append(e-48+4),1;if(e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0))return n.append(e-65+14),1;if(e<" ".charCodeAt(0))return n.append(0),n.append(e),2;if(e<="/".charCodeAt(0))return n.append(1),n.append(e-33),2;if(e<="@".charCodeAt(0))return n.append(1),n.append(e-58+15),2;if(e<="_".charCodeAt(0))return n.append(1),n.append(e-91+22),2;if(e<=127)return n.append(2),n.append(e-96),2;n.append(1+"");var r=2;return r+=this.encodeChar(e-128,n),r},t.prototype.encodeToCodewords=function(e){var n=1600*e.charCodeAt(0)+40*e.charCodeAt(1)+e.charCodeAt(2)+1,r=n/256,i=n%256,o=new rt;return o.append(r),o.append(i),o.toString()},t}(),OV=function(){function t(){}return t.prototype.getEncodingMode=function(){return gn},t.prototype.encode=function(e){for(var n=new rt;e.hasMoreCharacters();){var r=e.getCurrentChar();this.encodeChar(r,n),e.pos++;var i=n.length();if(i>=4){e.writeCodewords(this.encodeToCodewords(n.toString()));var o=n.toString().substring(4);n.setLengthToZero(),n.append(o);var a=Pr.lookAheadTest(e.getMessage(),e.pos,this.getEncodingMode());if(a!==this.getEncodingMode()){e.signalEncoderChange(St);break}}}n.append(Lt.getCharAt(31)),this.handleEOD(e,n)},t.prototype.handleEOD=function(e,n){try{var r=n.length();if(r===0)return;if(r===1){e.updateSymbolInfo();var i=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount(),o=e.getRemainingCharacters();if(o>i&&(e.updateSymbolInfo(e.getCodewordCount()+1),i=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount()),o<=i&&i<=2)return}if(r>4)throw new Error("Count must not exceed 4");var a=r-1,s=this.encodeToCodewords(n.toString()),c=!e.hasMoreCharacters(),u=c&&a<=2;if(a<=2){e.updateSymbolInfo(e.getCodewordCount()+a);var i=e.getSymbolInfo().getDataCapacity()-e.getCodewordCount();i>=3&&(u=!1,e.updateSymbolInfo(e.getCodewordCount()+s.length))}u?(e.resetSymbolInfo(),e.pos-=a):e.writeCodewords(s)}finally{e.signalEncoderChange(St)}},t.prototype.encodeChar=function(e,n){e>=" ".charCodeAt(0)&&e<="?".charCodeAt(0)?n.append(e):e>="@".charCodeAt(0)&&e<="^".charCodeAt(0)?n.append(Lt.getCharAt(e-64)):Pr.illegalCharacter(Lt.getCharAt(e))},t.prototype.encodeToCodewords=function(e){var n=e.length;if(n===0)throw new Error("StringBuilder must not be empty");var r=e.charAt(0).charCodeAt(0),i=n>=2?e.charAt(1).charCodeAt(0):0,o=n>=3?e.charAt(2).charCodeAt(0):0,a=n>=4?e.charAt(3).charCodeAt(0):0,s=(r<<18)+(i<<12)+(o<<6)+a,c=s>>16&255,u=s>>8&255,l=s&255,h=new rt;return h.append(c),n>=2&&h.append(u),n>=3&&h.append(l),h.toString()},t}(),EV=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)}}(),IV=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.")},gt=function(){function t(e,n,r,i,o,a,s,c){s===void 0&&(s=0),c===void 0&&(c=0),this.rectangular=e,this.dataCapacity=n,this.errorCodewords=r,this.matrixWidth=i,this.matrixHeight=o,this.dataRegions=a,this.rsBlockData=s,this.rsBlockError=c}return t.lookup=function(e,n,r,i,o){var a,s;n===void 0&&(n=0),r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=!0);try{for(var c=IV(FV),u=c.next();!u.done;u=c.next()){var l=u.value;if(!(n===1&&l.rectangular)&&!(n===2&&!l.rectangular)&&!(r!=null&&(l.getSymbolWidth()i.getWidth()||l.getSymbolHeight()>i.getHeight()))&&e<=l.dataCapacity)return l}}catch(h){a={error:h}}finally{try{u&&!u.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}if(o)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+e);return null},t.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},t.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},t.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+this.getHorizontalDataRegions()*2},t.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+this.getVerticalDataRegions()*2},t.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},t.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},t.prototype.getDataCapacity=function(){return this.dataCapacity},t.prototype.getErrorCodewords=function(){return this.errorCodewords},t.prototype.getDataLengthForInterleavedBlock=function(e){return this.rsBlockData},t.prototype.getErrorLengthForInterleavedBlock=function(e){return this.rsBlockError},t}(),NV=function(t){EV(e,t);function e(){return t.call(this,!1,1558,620,22,22,36,-1,62)||this}return e.prototype.getInterleavedBlockCount=function(){return 10},e.prototype.getDataLengthForInterleavedBlock=function(n){return n<=8?156:155},e}(gt),FV=[new gt(!1,3,5,8,8,1),new gt(!1,5,7,10,10,1),new gt(!0,5,7,16,6,1),new gt(!1,8,10,12,12,1),new gt(!0,10,11,14,6,2),new gt(!1,12,12,14,14,1),new gt(!0,16,14,24,10,1),new gt(!1,18,14,16,16,1),new gt(!1,22,18,18,18,1),new gt(!0,22,18,16,10,2),new gt(!1,30,20,20,20,1),new gt(!0,32,24,16,14,2),new gt(!1,36,24,22,22,1),new gt(!1,44,28,24,24,1),new gt(!0,49,28,22,14,2),new gt(!1,62,36,14,14,4),new gt(!1,86,42,16,16,4),new gt(!1,114,48,18,18,4),new gt(!1,144,56,20,20,4),new gt(!1,174,68,22,22,4),new gt(!1,204,84,24,24,4,102,42),new gt(!1,280,112,14,14,16,140,56),new gt(!1,368,144,16,16,16,92,36),new gt(!1,456,192,18,18,16,114,48),new gt(!1,576,224,20,20,16,144,56),new gt(!1,696,272,22,22,16,174,68),new gt(!1,816,336,24,24,16,136,56),new gt(!1,1050,408,18,18,36,175,68),new gt(!1,1304,496,20,20,36,163,62),new NV],PV=function(){function t(e){this.msg=e,this.pos=0,this.skipAtEnd=0;for(var n=e.split("").map(function(s){return s.charCodeAt(0)}),r=new rt,i=0,o=n.length;ithis.symbolInfo.getDataCapacity())&&(this.symbolInfo=gt.lookup(e,this.shape,this.minSize,this.maxSize,!0))},t.prototype.resetSymbolInfo=function(){this.symbolInfo=null},t}(),LV=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)}}(),MV=function(t){LV(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getEncodingMode=function(){return an},e.prototype.encode=function(n){for(var r=new rt;n.hasMoreCharacters();){var i=n.getCurrentChar();n.pos++,this.encodeChar(i,r);var o=r.length();if(o%3===0){this.writeNextTriplet(n,r);var a=Pr.lookAheadTest(n.getMessage(),n.pos,this.getEncodingMode());if(a!==this.getEncodingMode()){n.signalEncoderChange(St);break}}}this.handleEOD(n,r)},e.prototype.encodeChar=function(n,r){switch(n){case 13:r.append(0);break;case"*".charCodeAt(0):r.append(1);break;case">".charCodeAt(0):r.append(2);break;case" ".charCodeAt(0):r.append(3);break;default:n>="0".charCodeAt(0)&&n<="9".charCodeAt(0)?r.append(n-48+4):n>="A".charCodeAt(0)&&n<="Z".charCodeAt(0)?r.append(n-65+14):Pr.illegalCharacter(Lt.getCharAt(n));break}return 1},e.prototype.handleEOD=function(n,r){n.updateSymbolInfo();var i=n.getSymbolInfo().getDataCapacity()-n.getCodewordCount(),o=r.length();n.pos-=o,(n.getRemainingCharacters()>1||i>1||n.getRemainingCharacters()!==i)&&n.writeCodeword(SV),n.getNewEncoding()<0&&n.signalEncoderChange(St)},e}(t1),CV=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)}}(),AV=function(t){CV(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getEncodingMode=function(){return kn},e.prototype.encodeChar=function(n,r){if(n===" ".charCodeAt(0))return r.append(3),1;if(n>="0".charCodeAt(0)&&n<="9".charCodeAt(0))return r.append(n-48+4),1;if(n>="a".charCodeAt(0)&&n<="z".charCodeAt(0))return r.append(n-97+14),1;if(n<" ".charCodeAt(0))return r.append(0),r.append(n),2;if(n<="/".charCodeAt(0))return r.append(1),r.append(n-33),2;if(n<="@".charCodeAt(0))return r.append(1),r.append(n-58+15),2;if(n>="[".charCodeAt(0)&&n<="_".charCodeAt(0))return r.append(1),r.append(n-91+22),2;if(n==="`".charCodeAt(0))return r.append(2),r.append(0),2;if(n<="Z".charCodeAt(0))return r.append(2),r.append(n-65+1),2;if(n<=127)return r.append(2),r.append(n-123+27),2;r.append(1+"");var i=2;return i+=this.encodeChar(n-128,r),i},e}(t1),UV=function(){function t(){}return t.randomize253State=function(e){var n=149*e%253+1,r=Mm+n;return r<=254?r:r-254},t.encodeHighLevel=function(e,n,r,i,o){n===void 0&&(n=0),r===void 0&&(r=null),i===void 0&&(i=null),o===void 0&&(o=!1);var a=new t1,s=[new DV,a,new AV,new MV,new OV,new _V],c=new PV(e);c.setSymbolShape(n),c.setSizeConstraints(r,i),e.startsWith(Cm)&&e.endsWith(Um)?(c.writeCodeword(vV),c.setSkipAtEnd(2),c.pos+=Cm.length):e.startsWith(Am)&&e.endsWith(Um)&&(c.writeCodeword(bV),c.setSkipAtEnd(2),c.pos+=Am.length);var u=St;for(o&&(a.encodeMaximal(c),u=c.getNewEncoding(),c.resetEncoderSignal());c.hasMoreCharacters();)s[u].encode(c),c.getNewEncoding()>=0&&(u=c.getNewEncoding(),c.resetEncoderSignal());var l=c.getCodewordCount();c.updateSymbolInfo();var h=c.getSymbolInfo().getDataCapacity();l=e.length)return r;var i;r===St?i=[0,1,1,1,1,1.25]:(i=[1,2,2,2,2,2.25],i[r]=0);for(var o=0,a=new Uint8Array(6),s=[];;){if(n+o===e.length){un.fill(a,0),un.fill(s,0);var c=this.findMinimums(i,s,$t.MAX_VALUE,a),u=this.getMinimumCount(a);if(s[St]===c)return St;if(u===1){if(a[En]>0)return En;if(a[gn]>0)return gn;if(a[kn]>0)return kn;if(a[an]>0)return an}return xn}var l=e.charCodeAt(n+o);if(o++,this.isDigit(l)?i[St]+=.5:this.isExtendedASCII(l)?(i[St]=Math.ceil(i[St]),i[St]+=2):(i[St]=Math.ceil(i[St]),i[St]++),this.isNativeC40(l)?i[xn]+=2/3:this.isExtendedASCII(l)?i[xn]+=8/3:i[xn]+=4/3,this.isNativeText(l)?i[kn]+=2/3:this.isExtendedASCII(l)?i[kn]+=8/3:i[kn]+=4/3,this.isNativeX12(l)?i[an]+=2/3:this.isExtendedASCII(l)?i[an]+=13/3:i[an]+=10/3,this.isNativeEDIFACT(l)?i[gn]+=3/4:this.isExtendedASCII(l)?i[gn]+=17/4:i[gn]+=13/4,this.isSpecialB256(l)?i[En]+=4:i[En]++,o>=4){if(un.fill(a,0),un.fill(s,0),this.findMinimums(i,s,$t.MAX_VALUE,a),s[St]a&&(r=a,un.fill(i,0)),r===a&&(i[o]=i[o]+1)}return r},t.getMinimumCount=function(e){for(var n=0,r=0;r<6;r++)n+=e[r];return n||0},t.isDigit=function(e){return e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)},t.isExtendedASCII=function(e){return e>=128&&e<=255},t.isNativeC40=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},t.isNativeText=function(e){return e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="a".charCodeAt(0)&&e<="z".charCodeAt(0)},t.isNativeX12=function(e){return this.isX12TermSep(e)||e===" ".charCodeAt(0)||e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)||e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)},t.isX12TermSep=function(e){return e===13||e==="*".charCodeAt(0)||e===">".charCodeAt(0)},t.isNativeEDIFACT=function(e){return e>=" ".charCodeAt(0)&&e<="^".charCodeAt(0)},t.isSpecialB256=function(e){return!1},t.determineConsecutiveDigitCount=function(e,n){n===void 0&&(n=0);for(var r=e.length,i=n;i=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Wm=function(){function t(e){this.charset=e,this.name=e.name}return t.prototype.canEncode=function(e){try{return _r.encode(e,this.charset)!=null}catch{return!1}},t}(),WV=function(){function t(e,n,r){var i,o,a,s,c,u;this.ENCODERS=["IBM437","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6","ISO-8859-7","ISO-8859-8","ISO-8859-9","ISO-8859-10","ISO-8859-11","ISO-8859-13","ISO-8859-14","ISO-8859-15","ISO-8859-16","windows-1250","windows-1251","windows-1252","windows-1256","Shift_JIS"].map(function(O){return new Wm(fV.forName(O))}),this.encoders=[];var l=[];l.push(new Wm(pV.ISO_8859_1));for(var h=n!=null&&n.name.startsWith("UTF"),f=0;f=this.bytes.length)return!1;for(var r=0;r=this.length())throw new Error(""+e);if(this.isECI(e))throw new Error("value at "+e+" is not a character but an ECI");return this.isFNC1(e)?this.fnc1:this.bytes[e]},t.prototype.subSequence=function(e,n){if(e<0||e>n||n>this.length())throw new Error(""+e);for(var r=new rt,i=e;i=this.length())throw new Error(""+e);return this.bytes[e]>255&&this.bytes[e]<=999},t.prototype.isFNC1=function(e){if(e<0||e>=this.length())throw new Error(""+e);return this.bytes[e]===1e3},t.prototype.getECIValue=function(e){if(e<0||e>=this.length())throw new Error(""+e);if(!this.isECI(e))throw new Error("value at "+e+" is not an ECI but a character");return this.bytes[e]-256},t.prototype.addEdge=function(e,n,r){(e[n][r.encoderIndex]==null||e[n][r.encoderIndex].cachedTotalSize>r.cachedTotalSize)&&(e[n][r.encoderIndex]=r)},t.prototype.addEdges=function(e,n,r,i,o,a){var s=e.charAt(i).charCodeAt(0),c=0,u=n.length();n.getPriorityEncoderIndex()>=0&&(s===a||n.canEncode(s,n.getPriorityEncoderIndex()))&&(c=n.getPriorityEncoderIndex(),u=c+1);for(var l=c;l=0;a--)h.unshift(d[a]&255);var p=f.previous===null?0:f.previous.encoderIndex;p!==f.encoderIndex&&h.unshift(256+n.getECIValue(f.encoderIndex)),f=f.previous}for(var g=[],a=0;a0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o};globalThis&&globalThis.__spread;var Vm;(function(t){t[t.ASCII=0]="ASCII",t[t.C40=1]="C40",t[t.TEXT=2]="TEXT",t[t.X12=3]="X12",t[t.EDF=4]="EDF",t[t.B256=5]="B256"})(Vm||(Vm={}));(function(t){YV(e,t);function e(n,r,i,o,a){var s=t.call(this,n,r,i)||this;return s.shape=o,s.macroId=a,s}return e.prototype.getMacroId=function(){return this.macroId},e.prototype.getShapeHint=function(){return this.shape},e})(VV);var kV=function(){function t(e){this.previous=e}return t.prototype.getPrevious=function(){return this.previous},t}(),ZV=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)}}(),Eb=function(t){ZV(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.value=r,o.bitCount=i,o}return e.prototype.appendTo=function(n,r){n.appendBits(this.value,this.bitCount)},e.prototype.add=function(n,r){return new e(this,n,r)},e.prototype.addBinaryShift=function(n,r){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new e(this,n,r)},e.prototype.toString=function(){var n=this.value&(1<"},e}(kV),QV=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){QV(e,t);function e(n,r,i){var o=t.call(this,n,0,0)||this;return o.binaryShiftStart=r,o.binaryShiftByteCount=i,o}return e.prototype.appendTo=function(n,r){for(var i=0;i62?n.appendBits(this.binaryShiftByteCount-31,16):i===0?n.appendBits(Math.min(this.binaryShiftByteCount,31),5):n.appendBits(this.binaryShiftByteCount-31,5)),n.appendBits(r[this.binaryShiftStart+i],8)},e.prototype.addBinaryShift=function(n,r){return new e(this,n,r)},e.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},e})(Eb);var ws=0,Cu=1,na=2,Ib=3,Rs=4;new Eb(null,0,0);var KV=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.")};function HV(t){var e,n;try{for(var r=KV(t),i=r.next();!i.done;i=r.next()){var o=i.value;un.fill(o,-1)}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return t[ws][Rs]=0,t[Cu][Rs]=0,t[Cu][ws]=28,t[Ib][Rs]=0,t[na][Rs]=0,t[na][ws]=15,t}HV(un.createInt32Array(6,6));globalThis&&globalThis.__values;function GV(t){var e=Lt.getCharCode(" "),n=Lt.getCharCode("."),r=Lt.getCharCode(",");t[ws][e]=1;for(var i=Lt.getCharCode("Z"),o=Lt.getCharCode("A"),a=o;a<=i;a++)t[ws][a]=a-o+2;t[Cu][e]=1;for(var s=Lt.getCharCode("z"),c=Lt.getCharCode("a"),a=c;a<=s;a++)t[Cu][a]=a-c+2;t[na][e]=1;for(var u=Lt.getCharCode("9"),l=Lt.getCharCode("0"),a=l;a<=u;a++)t[na][a]=a-l+2;t[na][r]=12,t[na][n]=13;for(var h=["\0"," ","","","","","","","\x07","\b"," ",` `,"\v","\f","\r","\x1B","","","","","@","\\","^","_","`","|","~","\x7F"],f=0;f","?","[","]","{","}"],f=0;f0&&(t[Rs][Lt.getCharCode(d[f])]=f);return t}GV(un.createInt32Array(5,256));globalThis&&globalThis.__values;globalThis&&globalThis.__values;var JV=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)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};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)}}(),zV=function(t){JV(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;try{r=n.getContext("2d",{willReadFrequently:!0})}catch{r=n.getContext("2d")}if(!r)throw new Error("Couldn't get canvas context.");var i=r.getImageData(0,0,n.width,n.height);return e.toGrayscaleBuffer(i.data,n.width,n.height)},e.toGrayscaleBuffer=function(n,r,i){for(var o=new Uint8ClampedArray(r*i),a=0,s=0,c=n.length;a>10}o[s]=u}return o},e.prototype.getRow=function(n,r){if(n<0||n>=this.getHeight())throw new Je("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.length0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},qV={delayBetweenScanAttempts:500,delayBetweenScanSuccess:500,tryPlayVideoTimeout:5e3},Ya=function(){function t(e,n,r){n===void 0&&(n=new Map),r===void 0&&(r={}),this.reader=e,this.hints=n,this.options=ra(ra({},qV),r)}return Object.defineProperty(t.prototype,"possibleFormats",{set:function(e){this.hints.set(Ct.POSSIBLE_FORMATS,e)},enumerable:!1,configurable:!0}),t.addVideoSource=function(e,n){try{e.srcObject=n}catch{console.error("got interrupted by new loading request")}},t.mediaStreamSetTorch=function(e,n){return Yt(this,void 0,void 0,function(){return Bt(this,function(r){switch(r.label){case 0:return[4,e.applyConstraints({advanced:[{fillLightMode:n?"flash":"off",torch:!!n}]})];case 1:return r.sent(),[2]}})})},t.mediaStreamIsTorchCompatible=function(e){var n,r,i=e.getVideoTracks();try{for(var o=sd(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(t.mediaStreamIsTorchCompatibleTrack(s))return!0}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1},t.mediaStreamIsTorchCompatibleTrack=function(e){try{var n=e.getCapabilities();return"torch"in n}catch(r){return console.error(r),console.warn("Your browser may be not fully compatible with WebRTC and/or ImageCapture specs. Torch will not be available."),!1}},t.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&e.readyState>2},t.getMediaElement=function(e,n){var r=document.getElementById(e);if(!r)throw new Jt("element with id '".concat(e,"' not found"));if(r.nodeName.toLowerCase()!==n.toLowerCase())throw new Jt("element with id '".concat(e,"' must be an ").concat(n," element"));return r},t.createVideoElement=function(e){if(e instanceof HTMLVideoElement)return e;if(typeof e=="string")return t.getMediaElement(e,"video");if(!e&&typeof document!="undefined"){var n=document.createElement("video");return n.width=200,n.height=200,n}throw new Error("Couldn't get videoElement from videoSource!")},t.prepareImageElement=function(e){if(e instanceof HTMLImageElement)return e;if(typeof e=="string")return t.getMediaElement(e,"img");if(typeof e=="undefined"){var n=document.createElement("img");return n.width=200,n.height=200,n}throw new Error("Couldn't get imageElement from imageSource!")},t.prepareVideoElement=function(e){var n=t.createVideoElement(e);return n.setAttribute("autoplay","true"),n.setAttribute("muted","true"),n.setAttribute("playsinline","true"),n},t.isImageLoaded=function(e){return!(!e.complete||e.naturalWidth===0)},t.createBinaryBitmapFromCanvas=function(e){var n=new zV(e),r=new gb(n);return new pb(r)},t.drawImageOnCanvas=function(e,n){e.drawImage(n,0,0)},t.getMediaElementDimensions=function(e){if(e instanceof HTMLVideoElement)return{height:e.videoHeight,width:e.videoWidth};if(e instanceof HTMLImageElement)return{height:e.naturalHeight||e.height,width:e.naturalWidth||e.width};throw new Error("Couldn't find the Source's dimensions!")},t.createCaptureCanvas=function(e){if(!e)throw new Jt("Cannot create a capture canvas without a media element.");if(typeof document=="undefined")throw new Error(`The page "Document" is undefined, make sure you're running in a browser.`);var n=document.createElement("canvas"),r=t.getMediaElementDimensions(e),i=r.width,o=r.height;return n.style.width=i+"px",n.style.height=o+"px",n.width=i,n.height=o,n},t.tryPlayVideo=function(e){return Yt(this,void 0,void 0,function(){var n;return Bt(this,function(r){switch(r.label){case 0:if(e!=null&&e.ended)return console.error("Trying to play video that has ended."),[2,!1];if(t.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2,!0];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,e.play()];case 2:return r.sent(),[2,!0];case 3:return n=r.sent(),console.warn("It was not possible to play the video.",n),[2,!1];case 4:return[2]}})})},t.createCanvasFromMediaElement=function(e){var n=t.createCaptureCanvas(e),r=n.getContext("2d");if(!r)throw new Error("Couldn't find Canvas 2D Context.");return t.drawImageOnCanvas(r,e),n},t.createBinaryBitmapFromMediaElem=function(e){var n=t.createCanvasFromMediaElement(e);return t.createBinaryBitmapFromCanvas(n)},t.destroyImageElement=function(e){e.src="",e.removeAttribute("src"),e=void 0},t.listVideoInputDevices=function(){return Yt(this,void 0,void 0,function(){var e,n,r,i,o,a,s,c,u,l,h,f;return Bt(this,function(d){switch(d.label){case 0:if(!Nb())throw new Error("Can't enumerate devices, navigator is not present.");if(!jV())throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:e=d.sent(),n=[];try{for(r=sd(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 ".concat(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&&(f=r.return)&&f.call(r)}finally{if(h)throw h.error}}return[2,n]}})})},t.findDeviceById=function(e){return Yt(this,void 0,void 0,function(){var n;return Bt(this,function(r){switch(r.label){case 0:return[4,t.listVideoInputDevices()];case 1:return n=r.sent(),n?[2,n.find(function(i){return i.deviceId===e})]:[2]}})})},t.cleanVideoSource=function(e){if(!!e){try{e.srcObject=null}catch{e.src=""}e&&e.removeAttribute("src")}},t.releaseAllStreams=function(){t.streamTracker.length!==0&&t.streamTracker.forEach(function(e){e.getTracks().forEach(function(n){return n.stop()})}),t.streamTracker=[]},t.playVideoOnLoadAsync=function(e,n){return Yt(this,void 0,void 0,function(){var r;return Bt(this,function(i){switch(i.label){case 0:return[4,t.tryPlayVideo(e)];case 1:return r=i.sent(),r?[2,!0]:[2,new Promise(function(o,a){var s=setTimeout(function(){t.isVideoPlaying(e)||(a(!1),e.removeEventListener("canplay",c))},n),c=function(){t.tryPlayVideo(e).then(function(u){clearTimeout(s),e.removeEventListener("canplay",c),o(u)})};e.addEventListener("canplay",c)})]}})})},t.attachStreamToVideo=function(e,n,r){return r===void 0&&(r=5e3),Yt(this,void 0,void 0,function(){var i;return Bt(this,function(o){switch(o.label){case 0:return i=t.prepareVideoElement(n),t.addVideoSource(i,e),[4,t.playVideoOnLoadAsync(i,r)];case 1:return o.sent(),[2,i]}})})},t._waitImageLoad=function(e){return new Promise(function(n,r){var i=1e4,o=setTimeout(function(){t.isImageLoaded(e)||(e.removeEventListener("load",a),r())},i),a=function(){clearTimeout(o),e.removeEventListener("load",a),n()};e.addEventListener("load",a)})},t.checkCallbackFnOrThrow=function(e){if(!e)throw new Jt("`callbackFn` is a required parameter, you cannot capture results without it.")},t.disposeMediaStream=function(e){e.getVideoTracks().forEach(function(n){return n.stop()}),e=void 0},t.prototype.decode=function(e){var n=t.createCanvasFromMediaElement(e);return this.decodeFromCanvas(n)},t.prototype.decodeBitmap=function(e){return this.reader.decode(e,this.hints)},t.prototype.decodeFromCanvas=function(e){var n=t.createBinaryBitmapFromCanvas(e);return this.decodeBitmap(n)},t.prototype.decodeFromImageElement=function(e){return Yt(this,void 0,void 0,function(){var n;return Bt(this,function(r){switch(r.label){case 0:if(!e)throw new Jt("An image element must be provided.");return n=t.prepareImageElement(e),[4,this._decodeOnLoadImage(n)];case 1:return[2,r.sent()]}})})},t.prototype.decodeFromImageUrl=function(e){return Yt(this,void 0,void 0,function(){var n;return Bt(this,function(r){switch(r.label){case 0:if(!e)throw new Jt("An URL must be provided.");n=t.prepareImageElement(),n.src=e,r.label=1;case 1:return r.trys.push([1,,3,4]),[4,this.decodeFromImageElement(n)];case 2:return[2,r.sent()];case 3:return t.destroyImageElement(n),[7];case 4:return[2]}})})},t.prototype.decodeFromConstraints=function(e,n,r){return Yt(this,void 0,void 0,function(){var i,o;return Bt(this,function(a){switch(a.label){case 0:return t.checkCallbackFnOrThrow(r),[4,this.getUserMedia(e)];case 1:i=a.sent(),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.decodeFromStream(i,n,r)];case 3:return[2,a.sent()];case 4:throw o=a.sent(),t.disposeMediaStream(i),o;case 5:return[2]}})})},t.prototype.decodeFromStream=function(e,n,r){return Yt(this,void 0,void 0,function(){var i,o,a,s,c,u,l,h,f,d=this;return Bt(this,function(p){switch(p.label){case 0:return t.checkCallbackFnOrThrow(r),i=this.options.tryPlayVideoTimeout,[4,t.attachStreamToVideo(e,n,i)];case 1:return o=p.sent(),a=function(){t.disposeMediaStream(e),t.cleanVideoSource(o)},s=this.scan(o,r,a),c=e.getVideoTracks(),u=ra(ra({},s),{stop:function(){s.stop()},streamVideoConstraintsApply:function(g,y){return Yt(this,void 0,void 0,function(){var R,m,v,x,_,E,N;return Bt(this,function(U){switch(U.label){case 0:R=y?c.filter(y):c,U.label=1;case 1:U.trys.push([1,6,7,8]),m=sd(R),v=m.next(),U.label=2;case 2:return v.done?[3,5]:(x=v.value,[4,x.applyConstraints(g)]);case 3:U.sent(),U.label=4;case 4:return v=m.next(),[3,2];case 5:return[3,8];case 6:return _=U.sent(),E={error:_},[3,8];case 7:try{v&&!v.done&&(N=m.return)&&N.call(m)}finally{if(E)throw E.error}return[7];case 8:return[2]}})})},streamVideoConstraintsGet:function(g){return c.find(g).getConstraints()},streamVideoSettingsGet:function(g){return c.find(g).getSettings()},streamVideoCapabilitiesGet:function(g){return c.find(g).getCapabilities()}}),l=t.mediaStreamIsTorchCompatible(e),l&&(h=c==null?void 0:c.find(function(g){return t.mediaStreamIsTorchCompatibleTrack(g)}),f=function(g){return Yt(d,void 0,void 0,function(){return Bt(this,function(y){switch(y.label){case 0:return[4,t.mediaStreamSetTorch(h,g)];case 1:return y.sent(),[2]}})})},u.switchTorch=f,u.stop=function(){return Yt(d,void 0,void 0,function(){return Bt(this,function(g){switch(g.label){case 0:return s.stop(),[4,f(!1)];case 1:return g.sent(),[2]}})})}),[2,u]}})})},t.prototype.decodeFromVideoDevice=function(e,n,r){return Yt(this,void 0,void 0,function(){var i,o;return Bt(this,function(a){switch(a.label){case 0:return t.checkCallbackFnOrThrow(r),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.decodeFromVideoElement=function(e,n){return Yt(this,void 0,void 0,function(){var r,i;return Bt(this,function(o){switch(o.label){case 0:if(t.checkCallbackFnOrThrow(n),!e)throw new Jt("A video element must be provided.");return r=t.prepareVideoElement(e),i=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(r,i)];case 1:return o.sent(),[2,this.scan(r,n)]}})})},t.prototype.decodeFromVideoUrl=function(e,n){return Yt(this,void 0,void 0,function(){var r,i,o,a;return Bt(this,function(s){switch(s.label){case 0:if(t.checkCallbackFnOrThrow(n),!e)throw new Jt("An URL must be provided.");return r=t.prepareVideoElement(),r.src=e,i=function(){t.cleanVideoSource(r)},o=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(r,o)];case 1:return s.sent(),a=this.scan(r,n,i),[2,a]}})})},t.prototype.decodeOnceFromConstraints=function(e,n){return Yt(this,void 0,void 0,function(){var r;return Bt(this,function(i){switch(i.label){case 0:return[4,this.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 Yt(this,void 0,void 0,function(){var r,i,o;return Bt(this,function(a){switch(a.label){case 0:return r=Boolean(n),[4,t.attachStreamToVideo(e,n)];case 1:i=a.sent(),a.label=2;case 2:return a.trys.push([2,,4,5]),[4,this.scanOneResult(i)];case 3:return o=a.sent(),[2,o];case 4:return r||t.cleanVideoSource(i),[7];case 5:return[2]}})})},t.prototype.decodeOnceFromVideoDevice=function(e,n){return Yt(this,void 0,void 0,function(){var r,i;return Bt(this,function(o){switch(o.label){case 0:return e?r={deviceId:{exact:e}}:r={facingMode:"environment"},i={video:r},[4,this.decodeOnceFromConstraints(i,n)];case 1:return[2,o.sent()]}})})},t.prototype.decodeOnceFromVideoElement=function(e){return Yt(this,void 0,void 0,function(){var n,r;return Bt(this,function(i){switch(i.label){case 0:if(!e)throw new Jt("A video element must be provided.");return n=t.prepareVideoElement(e),r=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(n,r)];case 1:return i.sent(),[4,this.scanOneResult(n)];case 2:return[2,i.sent()]}})})},t.prototype.decodeOnceFromVideoUrl=function(e){return Yt(this,void 0,void 0,function(){var n,r;return Bt(this,function(i){switch(i.label){case 0:if(!e)throw new Jt("An URL must be provided.");n=t.prepareVideoElement(),n.src=e,r=this.decodeOnceFromVideoElement(n),i.label=1;case 1:return i.trys.push([1,,3,4]),[4,r];case 2:return[2,i.sent()];case 3:return t.cleanVideoSource(n),[7];case 4:return[2]}})})},t.prototype.scanOneResult=function(e,n,r,i){var o=this;return n===void 0&&(n=!0),r===void 0&&(r=!0),i===void 0&&(i=!0),new Promise(function(a,s){o.scan(e,function(c,u,l){if(c){a(c),l.stop();return}if(u){if(u instanceof De&&n||u instanceof tn&&r||u instanceof Me&&i)return;l.stop(),s(u)}})})},t.prototype.scan=function(e,n,r){var i=this;t.checkCallbackFnOrThrow(n);var o=t.createCaptureCanvas(e),a;try{a=o.getContext("2d",{willReadFrequently:!0})}catch{a=o.getContext("2d")}if(!a)throw new Error("Couldn't create canvas for visual element scan.");var s=function(){a=void 0,o=void 0},c=!1,u,l=function(){c=!0,clearTimeout(u),s(),r&&r()},h={stop:l},f=function(){if(!c)try{t.drawImageOnCanvas(a,e);var d=i.decodeFromCanvas(o);n(d,void 0,h),u=setTimeout(f,i.options.delayBetweenScanSuccess)}catch(R){n(void 0,R,h);var p=R instanceof tn,g=R instanceof Me,y=R instanceof De;if(p||g||y){u=setTimeout(f,i.options.delayBetweenScanAttempts);return}s(),r&&r(R)}};return f(),h},t.prototype._decodeOnLoadImage=function(e){return Yt(this,void 0,void 0,function(){var n;return Bt(this,function(r){switch(r.label){case 0:return n=t.isImageLoaded(e),n?[3,2]:[4,t._waitImageLoad(e)];case 1:r.sent(),r.label=2;case 2:return[2,this.decode(e)]}})})},t.prototype.getUserMedia=function(e){return Yt(this,void 0,void 0,function(){var n;return Bt(this,function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return n=r.sent(),t.streamTracker.push(n),[2,n]}})})},t.streamTracker=[],t}(),e9=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)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};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)}}();(function(t){e9(e,t);function e(n,r){return t.call(this,new Nu,n,r)||this}return e})(Ya);var t9=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)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};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)}}();(function(t){t9(e,t);function e(n,r){return t.call(this,new ea(n),n,r)||this}return e})(Ya);var n9=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)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};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)}}();(function(t){n9(e,t);function e(n,r){return t.call(this,new Pu,n,r)||this}return e})(Ya);var r9=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)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};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)}}();(function(t){r9(e,t);function e(n,r){var i=this,o=new _b;return o.setHints(n),i=t.call(this,o,n,r)||this,i.reader=o,i}return Object.defineProperty(e.prototype,"possibleFormats",{set:function(n){this.hints.set(Ct.POSSIBLE_FORMATS,n),this.reader.setHints(this.hints)},enumerable:!1,configurable:!0}),e.prototype.decodeBitmap=function(n){return this.reader.decodeWithState(n)},e.prototype.setHints=function(n){this.hints=n,this.reader.setHints(this.hints)},e})(Ya);var i9=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)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};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)}}();(function(t){i9(e,t);function e(n,r){return t.call(this,new Mu,n,r)||this}return e})(Ya);var o9=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)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};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)}}(),a9=function(t){o9(e,t);function e(n,r){return t.call(this,new Lu,n,r)||this}return e}(Ya),Ym="http://www.w3.org/2000/svg",s9=function(){function t(){}return t.prototype.write=function(e,n,r,i){if(e.length===0)throw new Je("Found empty contents");if(n<0||r<0)throw new Je("Requested dimensions are too small: "+n+"x"+r);var o=Jd.L,a=t.QUIET_ZONE_SIZE;if(i){if(i.get(Gr.ERROR_CORRECTION)!==void 0){var s=i.get(Gr.ERROR_CORRECTION).toString();o=Jd.fromString(s)}i.get(Gr.MARGIN)!==void 0&&(a=Number.parseInt(i.get(Gr.MARGIN).toString(),10))}var c=uV.encode(e,o,i);return this.renderResult(c,n,r,a)},t.prototype.writeToDom=function(e,n,r,i,o){if(typeof e=="string"){var a=document.querySelector(e);if(!a)throw new Error("Could no find the target HTML element.");e=a}var s=this.write(n,r,i,o);e instanceof HTMLElement&&e.appendChild(s)},t.prototype.renderResult=function(e,n,r,i){var o=e.getMatrix();if(o===null)throw new Va;for(var a=o.getWidth(),s=o.getHeight(),c=a+i*2,u=s+i*2,l=Math.max(n,c),h=Math.max(r,u),f=Math.min(Math.floor(l/c),Math.floor(h/u)),d=Math.floor((l-a*f)/2),p=Math.floor((h-s*f)/2),g=this.createSVGElement(l,h),y=0,R=p;y{var n;return e.startElement===e.endElement&&((n=e.startElement)==null?void 0:n.type)===fe.IMAGE},callback:async(e,n)=>{var i;const r=(i=n.startElement)==null?void 0:i.value;if(!!r)try{const s=(await new a9().decodeFromImageUrl(r)).getText();new fn({title:"\u8BC6\u522B\u7ED3\u679C",data:[{type:"textarea",label:"\u5185\u5BB9",height:100,name:"value",value:s}],onConfirm:c=>{console.log(c)}})}catch(o){console.log(o),alert("\u8BC6\u522B\u5931\u8D25")}}}])}var Fb={exports:{}};/*! Pickr 1.9.1 MIT | https://github.com/Simonwep/pickr */(function(t,e){(function(n,r){t.exports=r()})(self,()=>(()=>{var n={d:(C,F)=>{for(var A in F)n.o(F,A)&&!n.o(C,A)&&Object.defineProperty(C,A,{enumerable:!0,get:F[A]})},o:(C,F)=>Object.prototype.hasOwnProperty.call(C,F),r:C=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})}},r={};n.d(r,{default:()=>b});var i={};function o(C,F,A,B,$={}){F instanceof HTMLCollection||F instanceof NodeList?F=Array.from(F):Array.isArray(F)||(F=[F]),Array.isArray(A)||(A=[A]);for(const V of F)for(const L of A)V[C](L,B,{capture:!1,...$});return Array.prototype.slice.call(arguments,1)}n.r(i),n.d(i,{adjustableInputNumbers:()=>f,createElementFromString:()=>c,createFromTemplate:()=>u,eventPath:()=>l,off:()=>s,on:()=>a,resolveElement:()=>h});const a=o.bind(null,"addEventListener"),s=o.bind(null,"removeEventListener");function c(C){const F=document.createElement("div");return F.innerHTML=C.trim(),F.firstElementChild}function u(C){const F=(B,$)=>{const V=B.getAttribute($);return B.removeAttribute($),V},A=(B,$={})=>{const V=F(B,":obj"),L=F(B,":ref"),z=V?$[V]={}:$;L&&($[L]=B);for(const q of Array.from(B.children)){const se=F(q,":arr"),ae=A(q,se?{}:z);se&&(z[se]||(z[se]=[])).push(Object.keys(ae).length?ae:q)}return $};return A(c(C))}function l(C){let F=C.path||C.composedPath&&C.composedPath();if(F)return F;let A=C.target.parentElement;for(F=[C.target,A];A=A.parentElement;)F.push(A);return F.push(document,window),F}function h(C){return C instanceof Element?C:typeof C=="string"?C.split(/>>/g).reduce((F,A,B,$)=>(F=F.querySelector(A),B<$.length-1?F.shadowRoot:F),document):null}function f(C,F=A=>A){function A(B){const $=[.001,.01,.1][Number(B.shiftKey||2*B.ctrlKey)]*(B.deltaY<0?1:-1);let V=0,L=C.selectionStart;C.value=C.value.replace(/[\d.]+/g,(z,q)=>q<=L&&q+z.length>=L?(L=q,F(Number(z),$,V)):(V++,z)),C.focus(),C.setSelectionRange(L,L),B.preventDefault(),C.dispatchEvent(new Event("input"))}a(C,"focus",()=>a(window,"wheel",A,{passive:!1})),a(C,"blur",()=>s(window,"wheel",A))}const{min:d,max:p,floor:g,round:y}=Math;function R(C,F,A){F/=100,A/=100;const B=g(C=C/360*6),$=C-B,V=A*(1-F),L=A*(1-$*F),z=A*(1-(1-$)*F),q=B%6;return[255*[A,L,V,V,z,A][q],255*[z,A,A,L,V,V][q],255*[V,V,z,A,A,L][q]]}function m(C,F,A){const B=(2-(F/=100))*(A/=100)/2;return B!==0&&(F=B===1?0:B<.5?F*A/(2*B):F*A/(2-2*B)),[C,100*F,100*B]}function v(C,F,A){const B=d(C/=255,F/=255,A/=255),$=p(C,F,A),V=$-B;let L,z;if(V===0)L=z=0;else{z=V/$;const q=(($-C)/6+V/2)/V,se=(($-F)/6+V/2)/V,ae=(($-A)/6+V/2)/V;C===$?L=ae-se:F===$?L=1/3+q-ae:A===$&&(L=2/3+se-q),L<0?L+=1:L>1&&(L-=1)}return[360*L,100*z,100*$]}function x(C,F,A,B){return F/=100,A/=100,[...v(255*(1-d(1,(C/=100)*(1-(B/=100))+B)),255*(1-d(1,F*(1-B)+B)),255*(1-d(1,A*(1-B)+B)))]}function _(C,F,A){F/=100;const B=2*(F*=(A/=100)<.5?A:1-A)/(A+F)*100,$=100*(A+F);return[C,isNaN(B)?0:B,$]}function E(C){return v(...C.match(/.{2}/g).map(F=>parseInt(F,16)))}function N(C){C=C.match(/^[a-zA-Z]+$/)?function($){if($.toLowerCase()==="black")return"#000";const V=document.createElement("canvas").getContext("2d");return V.fillStyle=$,V.fillStyle==="#000"?null:V.fillStyle}(C):C;const F={cmyk:/^cmyk\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)/i,rgba:/^rgba?\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D*?(([\d.]+)(%?)|$)/i,hsla:/^hsla?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hsva:/^hsva?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},A=$=>$.map(V=>/^(|\d+)\.\d+|\d+$/.test(V)?Number(V):void 0);let B;e:for(const $ in F)if(B=F[$].exec(C))switch($){case"cmyk":{const[,V,L,z,q]=A(B);if(V>100||L>100||z>100||q>100)break e;return{values:x(V,L,z,q),type:$}}case"rgba":{let[,V,,L,,z,,,q]=A(B);if(V=B[2]==="%"?V/100*255:V,L=B[4]==="%"?L/100*255:L,z=B[6]==="%"?z/100*255:z,q=B[9]==="%"?q/100:q,V>255||L>255||z>255||q<0||q>1)break e;return{values:[...v(V,L,z),q],a:q,type:$}}case"hexa":{let[,V]=B;V.length!==4&&V.length!==3||(V=V.split("").map(q=>q+q).join(""));const L=V.substring(0,6);let z=V.substring(6);return z=z?parseInt(z,16)/255:void 0,{values:[...E(L),z],a:z,type:$}}case"hsla":{let[,V,L,z,,q]=A(B);if(q=B[6]==="%"?q/100:q,V>360||L>100||z>100||q<0||q>1)break e;return{values:[..._(V,L,z),q],a:q,type:$}}case"hsva":{let[,V,L,z,,q]=A(B);if(q=B[6]==="%"?q/100:q,V>360||L>100||z>100||q<0||q>1)break e;return{values:[V,L,z,q],a:q,type:$}}}return{values:null,type:null}}function U(C=0,F=0,A=0,B=1){const $=(L,z)=>(q=-1)=>z(~q?L.map(se=>Number(se.toFixed(q))):L),V={h:C,s:F,v:A,a:B,toHSVA(){const L=[V.h,V.s,V.v,V.a];return L.toString=$(L,z=>`hsva(${z[0]}, ${z[1]}%, ${z[2]}%, ${V.a})`),L},toHSLA(){const L=[...m(V.h,V.s,V.v),V.a];return L.toString=$(L,z=>`hsla(${z[0]}, ${z[1]}%, ${z[2]}%, ${V.a})`),L},toRGBA(){const L=[...R(V.h,V.s,V.v),V.a];return L.toString=$(L,z=>`rgba(${z[0]}, ${z[1]}, ${z[2]}, ${V.a})`),L},toCMYK(){const L=function(z,q,se){const ae=R(z,q,se),Y=ae[0]/255,X=ae[1]/255,k=ae[2]/255,G=d(1-Y,1-X,1-k);return[100*(G===1?0:(1-Y-G)/(1-G)),100*(G===1?0:(1-X-G)/(1-G)),100*(G===1?0:(1-k-G)/(1-G)),100*G]}(V.h,V.s,V.v);return L.toString=$(L,z=>`cmyk(${z[0]}%, ${z[1]}%, ${z[2]}%, ${z[3]}%)`),L},toHEXA(){const L=function(q,se,ae){return R(q,se,ae).map(Y=>y(Y).toString(16).padStart(2,"0"))}(V.h,V.s,V.v),z=V.a>=1?"":Number((255*V.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return z&&L.push(z),L.toString=()=>`#${L.join("").toUpperCase()}`,L},clone:()=>U(V.h,V.s,V.v,V.a)};return V}const O=C=>Math.max(Math.min(C,1),0);function Q(C){const F={options:Object.assign({lock:null,onchange:()=>0,onstop:()=>0},C),_keyboard(V){const{options:L}=F,{type:z,key:q}=V;if(document.activeElement===L.wrapper){const{lock:se}=F.options,ae=q==="ArrowUp",Y=q==="ArrowRight",X=q==="ArrowDown",k=q==="ArrowLeft";if(z==="keydown"&&(ae||Y||X||k)){let G=0,H=0;se==="v"?G=ae||Y?1:-1:se==="h"?G=ae||Y?-1:1:(H=ae?-1:X?1:0,G=k?-1:Y?1:0),F.update(O(F.cache.x+.01*G),O(F.cache.y+.01*H)),V.preventDefault()}else q.startsWith("Arrow")&&(F.options.onstop(),V.preventDefault())}},_tapstart(V){a(document,["mouseup","touchend","touchcancel"],F._tapstop),a(document,["mousemove","touchmove"],F._tapmove),V.cancelable&&V.preventDefault(),F._tapmove(V)},_tapmove(V){const{options:L,cache:z}=F,{lock:q,element:se,wrapper:ae}=L,Y=ae.getBoundingClientRect();let X=0,k=0;if(V){const te=V&&V.touches&&V.touches[0];X=V?(te||V).clientX:0,k=V?(te||V).clientY:0,XY.left+Y.width&&(X=Y.left+Y.width),kY.top+Y.height&&(k=Y.top+Y.height),X-=Y.left,k-=Y.top}else z&&(X=z.x*Y.width,k=z.y*Y.height);q!=="h"&&(se.style.left=`calc(${X/Y.width*100}% - ${se.offsetWidth/2}px)`),q!=="v"&&(se.style.top=`calc(${k/Y.height*100}% - ${se.offsetHeight/2}px)`),F.cache={x:X/Y.width,y:k/Y.height};const G=O(X/Y.width),H=O(k/Y.height);switch(q){case"v":return L.onchange(G);case"h":return L.onchange(H);default:return L.onchange(G,H)}},_tapstop(){F.options.onstop(),s(document,["mouseup","touchend","touchcancel"],F._tapstop),s(document,["mousemove","touchmove"],F._tapmove)},trigger(){F._tapmove()},update(V=0,L=0){const{left:z,top:q,width:se,height:ae}=F.options.wrapper.getBoundingClientRect();F.options.lock==="h"&&(L=V),F._tapmove({clientX:z+se*V,clientY:q+ae*L})},destroy(){const{options:V,_tapstart:L,_keyboard:z}=F;s(document,["keydown","keyup"],z),s([V.wrapper,V.element],"mousedown",L),s([V.wrapper,V.element],"touchstart",L,{passive:!1})}},{options:A,_tapstart:B,_keyboard:$}=F;return a([A.wrapper,A.element],"mousedown",B),a([A.wrapper,A.element],"touchstart",B,{passive:!1}),a(document,["keydown","keyup"],$),F}function ne(C={}){C=Object.assign({onchange:()=>0,className:"",elements:[]},C);const F=a(C.elements,"click",A=>{C.elements.forEach(B=>B.classList[A.target===B?"add":"remove"](C.className)),C.onchange(A),A.stopPropagation()});return{destroy:()=>s(...F)}}const T={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0},I=(C,F,A)=>{const B=typeof C!="object"||C instanceof HTMLElement?{reference:C,popper:F,...A}:C;return{update($=B){const{reference:V,popper:L}=Object.assign(B,$);if(!L||!V)throw new Error("Popper- or reference-element missing.");return((z,q,se)=>{const{container:ae,arrow:Y,margin:X,padding:k,position:G,variantFlipOrder:H,positionFlipOrder:te}={container:document.documentElement.getBoundingClientRect(),...T,...se},{left:pe,top:D}=q.style;q.style.left="0",q.style.top="0";const oe=z.getBoundingClientRect(),W=q.getBoundingClientRect(),w={t:oe.top-W.height-X,b:oe.bottom+X,r:oe.right+X,l:oe.left-W.width-X},S={vs:oe.left,vm:oe.left+oe.width/2-W.width/2,ve:oe.left+oe.width-W.width,hs:oe.top,hm:oe.bottom-oe.height/2-W.height/2,he:oe.bottom-W.height},[P,J="middle"]=G.split("-"),ie=te[P],K=H[J],{top:j,left:re,bottom:ce,right:he}=ae;for(const ve of ie){const _e=ve==="t"||ve==="b";let Fe=w[ve];const[Xe,Qe]=_e?["top","left"]:["left","top"],[Ge,Ve]=_e?[W.height,W.width]:[W.width,W.height],[at,It]=_e?[ce,he]:[he,ce],[Rt,On]=_e?[j,re]:[re,j];if(!(Feat))for(const or of K){let qt=S[(_e?"v":"h")+or];if(!(qtIt)){if(qt-=W[Qe],Fe-=W[Xe],q.style[Qe]=`${qt}px`,q.style[Xe]=`${Fe}px`,Y){const ar=_e?oe.width/2:oe.height/2,Kn=Ve/2,en=ar>Kn,hn=qt+{s:en?Kn:ar,m:Kn,e:en?Kn:Ve-ar}[or],Oo=Fe+{t:Ge,b:0,r:0,l:Ge}[ve];Y.style[Qe]=`${hn}px`,Y.style[Xe]=`${Oo}px`}return ve+or}}}return q.style.left=pe,q.style.top=D,null})(V,L,B)}}},M=class{constructor(F){Xn(this,"_initializingActive",!0);Xn(this,"_recalc",!0);Xn(this,"_nanopop",null);Xn(this,"_root",null);Xn(this,"_color",U());Xn(this,"_lastColor",U());Xn(this,"_swatchColors",[]);Xn(this,"_setupAnimationFrame",null);Xn(this,"_eventListener",{init:[],save:[],hide:[],show:[],clear:[],change:[],changestop:[],cancel:[],swatchselect:[]});this.options=F=Object.assign({...M.DEFAULT_OPTIONS},F);const{swatches:A,components:B,theme:$,sliders:V,lockOpacity:L,padding:z}=F;["nano","monolith"].includes($)&&!V&&(F.sliders="h"),B.interaction||(B.interaction={});const{preview:q,opacity:se,hue:ae,palette:Y}=B;B.opacity=!L&&se,B.palette=Y||q||se||ae,this._preBuild(),this._buildComponents(),this._bindEvents(),this._finalBuild(),A&&A.length&&A.forEach(H=>this.addSwatch(H));const{button:X,app:k}=this._root;this._nanopop=I(X,k,{margin:z}),X.setAttribute("role","button"),X.setAttribute("aria-label",this._t("btn:toggle"));const G=this;this._setupAnimationFrame=requestAnimationFrame(function H(){if(!k.offsetWidth)return requestAnimationFrame(H);G.setColor(F.default),G._rePositioningPicker(),F.defaultRepresentation&&(G._representation=F.defaultRepresentation,G.setColorRepresentation(G._representation)),F.showAlways&&G.show(),G._initializingActive=!1,G._emit("init")})}_preBuild(){const{options:F}=this;for(const A of["el","container"])F[A]=h(F[A]);this._root=(A=>{const{components:B,useAsButton:$,inline:V,appClass:L,theme:z,lockOpacity:q}=A.options,se=k=>k?"":'style="display:none" hidden',ae=k=>A._t(k),Y=u(`
${$?"":''}
`),X=Y.interaction;return X.options.find(k=>!k.hidden&&!k.classList.add("active")),X.type=()=>X.options.find(k=>k.classList.contains("active")),Y})(this),F.useAsButton&&(this._root.button=F.el),F.container.appendChild(this._root.root)}_finalBuild(){const F=this.options,A=this._root;if(F.container.removeChild(A.root),F.inline){const B=F.el.parentElement;F.el.nextSibling?B.insertBefore(A.app,F.el.nextSibling):B.appendChild(A.app)}else F.container.appendChild(A.app);F.useAsButton?F.inline&&F.el.remove():F.el.parentNode.replaceChild(A.root,F.el),F.disabled&&this.disable(),F.comparison||(A.button.style.transition="none",F.useAsButton||(A.preview.lastColor.style.transition="none")),this.hide()}_buildComponents(){const F=this,A=this.options.components,B=(F.options.sliders||"v").repeat(2),[$,V]=B.match(/^[vh]+$/g)?B:[],L=()=>this._color||(this._color=this._lastColor.clone()),z={palette:Q({element:F._root.palette.picker,wrapper:F._root.palette.palette,onstop:()=>F._emit("changestop","slider",F),onchange(q,se){if(!A.palette)return;const ae=L(),{_root:Y,options:X}=F,{lastColor:k,currentColor:G}=Y.preview;F._recalc&&(ae.s=100*q,ae.v=100-100*se,ae.v<0&&(ae.v=0),F._updateOutput("slider"));const H=ae.toRGBA().toString(0);this.element.style.background=H,this.wrapper.style.background=` linear-gradient(to top, rgba(0, 0, 0, ${ae.a}), transparent), linear-gradient(to left, hsla(${ae.h}, 100%, 50%, ${ae.a}), rgba(255, 255, 255, ${ae.a})) `,X.comparison?X.useAsButton||F._lastColor||k.style.setProperty("--pcr-color",H):(Y.button.style.setProperty("--pcr-color",H),Y.button.classList.remove("clear"));const te=ae.toHEXA().toString();for(const{el:pe,color:D}of F._swatchColors)pe.classList[te===D.toHEXA().toString()?"add":"remove"]("pcr-active");G.style.setProperty("--pcr-color",H)}}),hue:Q({lock:V==="v"?"h":"v",element:F._root.hue.picker,wrapper:F._root.hue.slider,onstop:()=>F._emit("changestop","slider",F),onchange(q){if(!A.hue||!A.palette)return;const se=L();F._recalc&&(se.h=360*q),this.element.style.backgroundColor=`hsl(${se.h}, 100%, 50%)`,z.palette.trigger()}}),opacity:Q({lock:$==="v"?"h":"v",element:F._root.opacity.picker,wrapper:F._root.opacity.slider,onstop:()=>F._emit("changestop","slider",F),onchange(q){if(!A.opacity||!A.palette)return;const se=L();F._recalc&&(se.a=Math.round(100*q)/100),this.element.style.background=`rgba(0, 0, 0, ${se.a})`,z.palette.trigger()}}),selectable:ne({elements:F._root.interaction.options,className:"active",onchange(q){F._representation=q.target.getAttribute("data-type").toUpperCase(),F._recalc&&F._updateOutput("swatch")}})};this._components=z}_bindEvents(){const{_root:F,options:A}=this,B=[a(F.interaction.clear,"click",()=>this._clearColor()),a([F.interaction.cancel,F.preview.lastColor],"click",()=>{this.setHSVA(...(this._lastColor||this._color).toHSVA(),!0),this._emit("cancel")}),a(F.interaction.save,"click",()=>{!this.applyColor()&&!A.showAlways&&this.hide()}),a(F.interaction.result,["keyup","input"],$=>{this.setColor($.target.value,!0)&&!this._initializingActive&&(this._emit("change",this._color,"input",this),this._emit("changestop","input",this)),$.stopImmediatePropagation()}),a(F.interaction.result,["focus","blur"],$=>{this._recalc=$.type==="blur",this._recalc&&this._updateOutput(null)}),a([F.palette.palette,F.palette.picker,F.hue.slider,F.hue.picker,F.opacity.slider,F.opacity.picker],["mousedown","touchstart"],()=>this._recalc=!0,{passive:!0})];if(!A.showAlways){const $=A.closeWithKey;B.push(a(F.button,"click",()=>this.isOpen()?this.hide():this.show()),a(document,"keyup",V=>this.isOpen()&&(V.key===$||V.code===$)&&this.hide()),a(document,["touchstart","mousedown"],V=>{this.isOpen()&&!l(V).some(L=>L===F.app||L===F.button)&&this.hide()},{capture:!0}))}if(A.adjustableNumbers){const $={rgba:[255,255,255,1],hsva:[360,100,100,1],hsla:[360,100,100,1],cmyk:[100,100,100,100]};f(F.interaction.result,(V,L,z)=>{const q=$[this.getColorRepresentation().toLowerCase()];if(q){const se=q[z],ae=V+(se>=100?1e3*L:L);return ae<=0?0:Number((ae{V.isOpen()&&(A.closeOnScroll&&V.hide(),$===null?($=setTimeout(()=>$=null,100),requestAnimationFrame(function L(){V._rePositioningPicker(),$!==null&&requestAnimationFrame(L)})):(clearTimeout($),$=setTimeout(()=>$=null,100)))},{capture:!0}))}this._eventBindings=B}_rePositioningPicker(){const{options:F}=this;if(!F.inline&&!this._nanopop.update({container:document.body.getBoundingClientRect(),position:F.position})){const A=this._root.app,B=A.getBoundingClientRect();A.style.top=(window.innerHeight-B.height)/2+"px",A.style.left=(window.innerWidth-B.width)/2+"px"}}_updateOutput(F){const{_root:A,_color:B,options:$}=this;if(A.interaction.type()){const V=`to${A.interaction.type().getAttribute("data-type")}`;A.interaction.result.value=typeof B[V]=="function"?B[V]().toString($.outputPrecision):""}!this._initializingActive&&this._recalc&&this._emit("change",B,F,this)}_clearColor(F=!1){const{_root:A,options:B}=this;B.useAsButton||A.button.style.setProperty("--pcr-color","rgba(0, 0, 0, 0.15)"),A.button.classList.add("clear"),B.showAlways||this.hide(),this._lastColor=null,this._initializingActive||F||(this._emit("save",null),this._emit("clear"))}_parseLocalColor(F){const{values:A,type:B,a:$}=N(F),{lockOpacity:V}=this.options,L=$!==void 0&&$!==1;return A&&A.length===3&&(A[3]=void 0),{values:!A||V&&L?null:A,type:B}}_t(F){return this.options.i18n[F]||M.I18N_DEFAULTS[F]}_emit(F,...A){this._eventListener[F].forEach(B=>B(...A,this))}on(F,A){return this._eventListener[F].push(A),this}off(F,A){const B=this._eventListener[F]||[],$=B.indexOf(A);return~$&&B.splice($,1),this}addSwatch(F){const{values:A}=this._parseLocalColor(F);if(A){const{_swatchColors:B,_root:$}=this,V=U(...A),L=c(`