@progress/kendo-react-pdf-viewer 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
System.register("@progress/kendo-react-pdf-viewer",["@progress/kendo-pdfviewer-common","@progress/kendo-react-buttons","@progress/kendo-react-common","@progress/kendo-react-data-tools","@progress/kendo-react-dropdowns","@progress/kendo-react-indicators","@progress/kendo-react-inputs","@progress/kendo-react-intl","@progress/kendo-react-upload","@progress/kendo-svg-icons","prop-types","react"],function(e,t){var s={},o={},l={},c={},h={},u={},d={},f={},g={},p={},m={},b={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(d,"__esModule",{value:!0}),Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(g,"__esModule",{value:!0}),Object.defineProperty(p,"__esModule",{value:!0}),Object.defineProperty(m,"__esModule",{value:!0}),Object.defineProperty(b,"__esModule",{value:!0}),{setters:[function(t){Object.keys(t).forEach(function(e){s[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){o[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){l[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){c[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){h[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){u[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){d[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){f[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){g[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){p[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){m[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){b[e]=t[e]})}],execute:function(){function r(e){var t=i[e];return void 0!==t||(t=i[e]={exports:{}},a[e](t,t.exports,r)),t.exports}var a,i,n;e((a={464:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFViewer=void 0;const fe=a(954),r=a(895),ge=a(536),pe=a(21),me=a(816),be=a(789),ye=a(445),we=a(142),ve=a(811),xe=a(987),Se=a(233),ke=(a(16),a(363)),Ae=a(490),Ce=a(3),i=["pager","spacer","zoomInOut","zoom","selection","spacer","search","open","download","print"],Fe={minZoom:.5,maxZoom:4,tools:[...i],zoomRate:.25,zoomLevels:[{id:1,priority:1,value:1,text:"Actual width",type:"ActualWidth",locationString:Ce.actualWidth},{id:2,priority:2,value:1,text:"Fit to width",type:"FitToWidth",locationString:Ce.fitToWidth},{id:3,priority:3,value:1,text:"Fit to page",type:"FitToPage",locationString:Ce.fitToPage},{id:4,priority:4,value:.5,text:"50%",type:""},{id:5,priority:5,value:.75,text:"75%",type:""},{id:6,priority:100,value:1,text:"100%",type:""},{id:7,priority:7,value:1.25,text:"125%",type:""},{id:8,priority:8,value:1.5,text:"150%",type:""},{id:9,priority:9,value:2,text:"200%",type:""},{id:10,priority:10,value:3,text:"300%",type:""},{id:11,priority:11,value:4,text:"400%",type:""}],defaultZoom:Ae.DEFAULT_ZOOM_LEVEL},Oe=[".k-toolbar > button",".k-toolbar .k-combobox > input",".k-toolbar .k-button-group > button",".k-toolbar .k-pager > a",".k-toolbar .k-pager input"],Ie=(e,t)=>e.priority>t.priority?-1:e.priority<t.priority?1:0;t.PDFViewer=fe.forwardRef((r,R)=>{(0,ve.validatePackage)(ke.packageMetadata);const L=(0,ve.shouldShowValidationUI)(ke.packageMetadata),{zoom:e,zoomLevels:t=Fe.zoomLevels,defaultZoom:a=Fe.defaultZoom,minZoom:i=Fe.minZoom,maxZoom:n=Fe.maxZoom,zoomRate:s=Fe.zoomRate}=r,o=(0,xe.useLocalization)(),l=fe.useRef(null),[_,c]=fe.useState(a),h=void 0!==e?e:_,u=t.slice().sort(Ie).find(e=>e.value===h)||{text:100*h+"%",value:h,id:h,locationString:""},[d,f]=(u.locationString&&(u.text=o.toLanguageString(u.locationString,Ce.messages[u.locationString])),fe.useState(!1)),[j,g]=fe.useState(!0),[p,m]=fe.useState(0),[b,y]=fe.useState(!1),[$,w]=fe.useState(!1),[v,x]=fe.useState(0),[S,k]=fe.useState(0),[A,C]=fe.useState(!1),[F,O]=fe.useState(""),I=fe.useMemo(()=>({}),[]),T=(I.currentZoom=h,I.props=r,fe.useCallback(e=>{l.current&&l.current.style.setProperty("--scale-factor",String(e))},[])),M=fe.useRef(null),P=fe.useRef(null),U=(fe.useImperativeHandle(M,()=>({element:P.current,props:r,pages:I.pages,document:I.document}),[]),fe.useImperativeHandle(R,()=>M.current),fe.useCallback(()=>{var e;I.props.onLoad&&(e={target:M.current},I.props.onLoad.call(void 0,e))},[])),E=fe.useCallback((e,t,a)=>{return!!r.onDownload&&!(e={target:M.current,blob:e,fileName:t,saveOptions:a})===r.onDownload.call(void 0,e)},[r.onDownload]),X=fe.useCallback(()=>{var e;I.scroller&&I.scroller.destroy(),I.scroller=new Ae.Scroller(null==(e=l.current)?void 0:e.parentNode,{filter:".k-page",events:{}}),I.scroller.enablePanEventsTracking()},[]),H=fe.useCallback(e=>{e=Array.from(e.querySelectorAll(".k-text-layer"));I.search=new Ae.SearchService({textContainers:e||[],highlightClass:"k-search-highlight",highlightMarkClass:"k-search-highlight-mark",charClass:"k-text-char"})},[]),N=(I.done=fe.useCallback(({pdfPages:e,pdfDoc:t,zoom:a})=>{I.document=t,I.pages=e,I.zoom=a,X(),g(!1),f(!0),U(),l.current&&(0,Ae.scrollToPage)(l.current,0)},[]),I.error=fe.useCallback(e=>{I.document=null,I.pages=[],g(!1),f(!1),r.onError&&(e={error:"string"==typeof e?{message:e}:e,target:M.current},r.onError.call(void 0,e))},[r.onError]),fe.useEffect(()=>{l.current&&(r.url||r.data||r.arrayBuffer?(g(!0),(0,Ae.removeChildren)(l.current),(0,Ae.loadPDF)({url:r.url,data:r.data,arrayBuffer:r.arrayBuffer,dom:l.current,zoom:I.currentZoom,done:I.done,error:I.error}),T(I.currentZoom)):(I.document=null,I.pages=[],f(!1),g(!1),(0,Ae.removeChildren)(l.current)))},[r.url,r.data,r.arrayBuffer]),fe.useCallback((e,t)=>{l.current&&(g(!0),(0,Ae.removeChildren)(l.current),(0,Ae.reloadDocument)({pdfDoc:e,zoom:t,dom:l.current,done:e=>{I.pages=e,I.zoom=t,g(!1)},error:I.error}))},[])),q=(fe.useEffect(()=>{T(h),l.current&&I.document&&h!==I.zoom&&N(I.document,h)},[h,N]),fe.useEffect(()=>()=>{I.scroller&&I.scroller.destroy(),I.search&&I.search.destroy(),I.document=null,I.pages=[]},[]),fe.useCallback(()=>{w(!0),H(l.current)},[])),z=fe.useCallback(e=>{var e=e.value,t=I.search.search({text:e,matchCase:A});k(t.length?1:0),x(t.length),O(e)},[A]),G=fe.useCallback(()=>{var e=I.search.search({text:F,matchCase:!A});k(e.length?1:0),x(e.length),C(!A)},[A,F]),W=fe.useCallback(()=>{(0,Ae.goToNextSearchMatch)(I),k(S+1>v?1:S+1)},[S,v]),V=fe.useCallback(()=>{(0,Ae.goToPreviousSearchMatch)(I),k(S-1<1?v:S-1)},[S,v]),B=fe.useCallback(()=>{I.search.destroy(),k(0),x(0),C(!1),O(""),w(!1)},[]),K=fe.useCallback(e=>{"Enter"===e.key?(e.preventDefault(),(0,Ae.goToNextSearchMatch)(I),k(S+1>v?1:S+1)):"Escape"===e.key&&B()},[S,v]),Y=fe.useCallback(e=>{var t;l.current&&(t=e.skip,(0,Ae.scrollToPage)(l.current,t),t={page:t+1,target:M.current,syntheticEvent:e.syntheticEvent},r.onPageChange)&&r.onPageChange.call(void 0,t),m(e.skip)},[p,r.onPageChange]),Z=fe.useCallback(e=>{var t;P.current&&(t=(0,Ae.currentPage)(P.current))!==p&&(m(t),t={page:t+1,target:M.current,syntheticEvent:e},r.onPageChange)&&r.onPageChange.call(void 0,t)},[p,r.onPageChange]),J=fe.useCallback(e=>{var t=Math.min(I.currentZoom+s,n);t!==I.currentZoom&&I.document&&(c(t),r.onZoom)&&(t={zoom:t,target:M.current,syntheticEvent:e},r.onZoom.call(void 0,t))},[s,n,r.onZoom]),Q=fe.useCallback(e=>{var t=Math.max(I.currentZoom-s,i);t!==I.currentZoom&&I.document&&(c(t),r.onZoom)&&(t={zoom:t,target:M.current,syntheticEvent:e},r.onZoom.call(void 0,t))},[s,i,r.onZoom]),ee=fe.useCallback(e=>{const t=null===e.value?{text:"100%",value:1,id:100}:Object.assign({},e.value);if(void 0===t.value){const r=parseFloat(t.text);"number"!=typeof r||Number.isNaN(r)?t.value=1:t.value=r/100}var a=t?(0,Ae.calculateZoomLevel)(t.value,t.type,I.currentZoom,l.current):1,a=Math.round(100*a)/100;if(I.currentZoom!==a&&I.document&&(c(a),r.onZoom)){const t={zoom:a,target:M.current,syntheticEvent:e.syntheticEvent};r.onZoom.call(void 0,t)}},[r.onZoom]),te=fe.useCallback(()=>{I.scroller.disablePanEventsTracking(),y(!0)},[]),ae=fe.useCallback(()=>{I.scroller.enablePanEventsTracking(),y(!1)},[]),re=fe.useCallback(()=>{(0,Ae.download)({pdf:I.document,error:I.error},r.saveFileName,r.saveOptions,E)},[r.url,r.data,r.arrayBuffer,r.saveFileName,r.saveOptions,E]),ie=fe.useCallback(()=>{g(!0),(0,Ae.print)(I.pages,()=>{g(!1)},e=>{I.error("string"==typeof(e?e.message||e:null)?e.message||e:o.toLanguageString(Ce.popupBlocked,Ce.messages[Ce.popupBlocked]))})},[]),ne=fe.useCallback(e=>{e=e.newState;e[0]&&e[0].getRawFile&&e[0].getRawFile().arrayBuffer().then(e=>{var t;l.current&&(g(!0),(0,Ae.removeChildren)(l.current),t=void 0===I.props.zoom?a:I.props.zoom,(0,Ae.loadPDF)({arrayBuffer:e,dom:l.current,zoom:t,done:I.done,error:I.error}),c(t))})},[a]),se=fe.useCallback(e=>{var t=e.target;if(t instanceof Element&&t.parentNode){const e=t.closest(".k-toolbar"),a=e&&e.querySelector(".k-upload input");a&&a.click()}},[]),D=j&&fe.createElement("div",{className:"k-loader-container k-loader-container-md k-loader-top"},fe.createElement("div",{className:"k-loader-container-overlay k-overlay-light"}),fe.createElement("div",{className:"k-loader-container-inner "},fe.createElement(we.Loader,{size:"large"}))),oe=fe.createElement(ge.ButtonGroup,null,fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.zoomOut,Ce.messages[Ce.zoomOut]),disabled:h<=i||!d,onClick:Q,icon:"zoom-out",svgIcon:Se.zoomOutIcon}),fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.zoomIn,Ce.messages[Ce.zoomIn]),disabled:h>=n||!d,onClick:J,icon:"zoom-in",svgIcon:Se.zoomInIcon})),le=fe.createElement(ye.ComboBox,{disabled:!d,data:t.map(e=>Object.assign(Object.assign({},e),{text:e.locationString?o.toLanguageString(e.locationString,Ce.messages[e.locationString]):e.text})),dataItemKey:"id",textField:"text",value:d?u:null,allowCustom:!0,onChange:ee}),ce={pager:fe.createElement(me.Pager,{previousNext:!0,type:"input",skip:p,take:1,total:I.pages?I.pages.length:0,info:!1,onPageChange:Y}),spacer:fe.createElement(ge.ToolbarSpacer,null),zoomInOut:oe,zoom:le,selection:fe.createElement(ge.ButtonGroup,null,fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.enableSelection,Ce.messages[Ce.enableSelection]),icon:"pointer",svgIcon:Se.pointerIcon,disabled:!d,togglable:!0,selected:b&&d,onClick:te}),fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.enablePanning,Ce.messages[Ce.enablePanning]),icon:"hand",svgIcon:Se.handIcon,disabled:!d,togglable:!0,selected:!b&&d,onClick:ae})),search:fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.search,Ce.messages[Ce.search]),icon:"search",svgIcon:Se.searchIcon,disabled:!d,onClick:q}),open:fe.createElement(fe.Fragment,null,fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.open,Ce.messages[Ce.open]),icon:"folder-open",svgIcon:Se.folderOpenIcon,onClick:se}),fe.createElement("div",{style:{display:"none"}},fe.createElement(be.Upload,{restrictions:{allowedExtensions:[".pdf"]},onAdd:ne,autoUpload:!1,defaultFiles:[],multiple:!1,accept:".pdf,.PDF",withCredentials:!1}))),download:fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.download,Ce.messages[Ce.download]),icon:"download",svgIcon:Se.downloadIcon,disabled:!d,onClick:re}),print:fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.print,Ce.messages[Ce.print]),icon:"print",svgIcon:Se.printIcon,disabled:!d,onClick:ie})},he=(r.tools||Fe.tools).map(e=>ce[e]),ue=fe.createElement(ge.Toolbar,{buttons:Oe},...he),de=fe.createElement("div",{className:(0,ve.classNames)("k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto",{"k-enable-text-select":b,"k-enable-panning":!b}),onScroll:Z},$&&fe.createElement("div",{className:"k-search-panel k-pos-sticky k-top-center"},fe.createElement(pe.TextBox,{value:F,onChange:z,placeholder:o.toLanguageString(Ce.search,Ce.messages[Ce.search]),autoFocus:!0,onKeyDown:K,suffix:()=>fe.createElement(pe.InputSuffix,null,fe.createElement(ge.Button,{icon:"convert-lowercase",svgIcon:Se.convertLowercaseIcon,title:o.toLanguageString(Ce.matchCase,Ce.messages[Ce.matchCase]),fillMode:"flat",togglable:!0,selected:A,onClick:G}))}),fe.createElement("span",{className:"k-search-matches"},fe.createElement("span",null,S)," of ",fe.createElement("span",null,v)),fe.createElement(ge.Button,{title:o.toLanguageString(Ce.prevMatch,Ce.messages[Ce.prevMatch]),fillMode:"flat",icon:"arrow-up",svgIcon:Se.arrowUpIcon,disabled:0===v,onClick:V}),fe.createElement(ge.Button,{title:o.toLanguageString(Ce.nextMatch,Ce.messages[Ce.nextMatch]),fillMode:"flat",icon:"arrow-down",svgIcon:Se.arrowDownIcon,disabled:0===v,onClick:W}),fe.createElement(ge.Button,{title:o.toLanguageString(Ce.close,Ce.messages[Ce.close]),fillMode:"flat",icon:"x",svgIcon:Se.xIcon,onClick:B})),fe.createElement("div",{ref:l,className:"k-pdf-viewer-pages"}));return fe.createElement("div",{className:"k-pdf-viewer",style:r.style,ref:P},r.onRenderLoader?r.onRenderLoader.call(void 0,D||null):D,r.onRenderToolbar?r.onRenderToolbar.call(void 0,ue):ue,r.onRenderContent?r.onRenderContent.call(void 0,de):de,L&&fe.createElement(ve.WatermarkOverlay,null))}),t.PDFViewer.displayName="KendoReactPDFViewer",t.PDFViewer.propTypes={url:r.string,data:r.string,arrayBuffer:r.any,typedArray:r.any,style:r.object,saveFileName:r.string,saveOptions:r.object,tools:r.arrayOf(r.oneOf(i).isRequired),zoomLevels:r.arrayOf(r.any),zoom:r.number,defaultZoom:r.number,minZoom:r.number,maxZoom:r.number,zoomRate:r.number,onError:r.func,onLoad:r.func,onDownload:r.func,onRenderToolbar:r.func,onRenderContent:r.func,onRenderLoader:r.func,onZoom:r.func},t.PDFViewer.defaultProps=Fe},3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.popupBlocked=t.fitToPage=t.fitToWidth=t.actualWidth=t.nextMatch=t.prevMatch=t.matchCase=t.close=t.print=t.download=t.open=t.search=t.enablePanning=t.enableSelection=t.zoomOut=t.zoomIn=void 0,t.zoomIn="pdfviewer.zoomIn",t.zoomOut="pdfviewer.zoomOut",t.enableSelection="pdfviewer.enableSelection",t.enablePanning="pdfviewer.enablePanning",t.search="pdfviewer.search",t.open="pdfviewer.open",t.download="pdfviewer.download",t.print="pdfviewer.print",t.close="pdfviewer.close",t.matchCase="pdfviewer.matchCase",t.prevMatch="pdfviewer.prevMatch",t.nextMatch="pdfviewer.nextMatch",t.actualWidth="pdfviewer.actualWidth",t.fitToWidth="pdfviewer.fitToWidth",t.fitToPage="pdfviewer.fitToPage",t.popupBlocked="pdfviewer.popupBlocked",t.messages={[t.zoomIn]:"Zoom in",[t.zoomOut]:"Zoom out",[t.enableSelection]:"Enable selection",[t.enablePanning]:"Enable panning",[t.search]:"Search",[t.open]:"Open",[t.download]:"Download",[t.print]:"Print",[t.close]:"Close",[t.matchCase]:"Match case",[t.prevMatch]:"Previous match",[t.nextMatch]:"Next match",[t.actualWidth]:"Actual width",[t.fitToWidth]:"Fit to width",[t.fitToPage]:"Fit to page",[t.popupBlocked]:"Popup is blocked."}},363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-pdf-viewer",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1697032113,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},16:(e,t,a)=>{("undefined"!=typeof window?window:{}).pdfjsWorker=a(624)},624:e=>{globalThis,e.exports=(()=>(()=>{"use strict";var a=[,(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WorkerTask=t.WorkerMessageHandler=void 0;var b=a(2),y=a(3),w=a(4),v=a(6),x=a(72),S=a(66),r=a(103),k=a(104),A=a(105);class C{constructor(e){this.name=e,this.terminated=!1,this._capability=new b.PromiseCapability}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}t.WorkerTask=C;class i{static setup(t,a){let r=!1;t.on("test",function(e){r||(r=!0,t.send("test",e instanceof Uint8Array))}),t.on("configure",function(e){(0,b.setVerbosityLevel)(e.verbosity)}),t.on("GetDocRequest",function(e){return i.createDocumentHandler(e,a)})}static createDocumentHandler(n,e){let o,s=!1,d=null;const a=new Set,l=(0,b.getVerbosityLevel)(),{docId:f,apiVersion:t}=n,r="3.7.107";if(t!==r)throw new Error(`The API version "${t}" does not match the Worker version "${r}".`);var i=[];for(const n in[])i.push(n);if(i.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+i.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");var c=f+"_worker";let g=new k.MessageHandler(c,f,e);function p(){if(s)throw new Error("Worker was terminated")}function h(e){a.add(e)}function u(e){e.finish(),a.delete(e)}async function m(e){await o.ensureDoc("checkHeader"),await o.ensureDoc("parseStartXRef"),await o.ensureDoc("parse",[e]),await o.ensureDoc("checkFirstPage",[e]),await o.ensureDoc("checkLastPage",[e]);e=await o.ensureDoc("isPureXfa");if(e){const e=new C("loadXfaFonts");h(e),await Promise.all([o.loadXfaFonts(g,e).catch(e=>{}).then(()=>u(e)),o.loadXfaImages()])}var[t,a]=await Promise.all([o.ensureDoc("numPages"),o.ensureDoc("fingerprints")]);return{numPages:t,fingerprints:a,htmlForXfa:e?await o.ensureDoc("htmlForXfa"):null}}return g.on("GetPage",function(e){return o.getPage(e.pageIndex).then(function(e){return Promise.all([o.ensure(e,"rotate"),o.ensure(e,"ref"),o.ensure(e,"userUnit"),o.ensure(e,"view")]).then(function([e,t,a,r]){return{rotate:e,ref:t,userUnit:a,view:r}})})}),g.on("GetPageIndex",function(e){e=w.Ref.get(e.num,e.gen);return o.ensureCatalog("getPageIndex",[e])}),g.on("GetDestinations",function(e){return o.ensureCatalog("destinations")}),g.on("GetDestination",function(e){return o.ensureCatalog("getDestination",[e.id])}),g.on("GetPageLabels",function(e){return o.ensureCatalog("pageLabels")}),g.on("GetPageLayout",function(e){return o.ensureCatalog("pageLayout")}),g.on("GetPageMode",function(e){return o.ensureCatalog("pageMode")}),g.on("GetViewerPreferences",function(e){return o.ensureCatalog("viewerPreferences")}),g.on("GetOpenAction",function(e){return o.ensureCatalog("openAction")}),g.on("GetAttachments",function(e){return o.ensureCatalog("attachments")}),g.on("GetJavaScript",function(e){return o.ensureCatalog("javaScript")}),g.on("GetDocJSActions",function(e){return o.ensureCatalog("jsActions")}),g.on("GetPageJSActions",function({pageIndex:e}){return o.getPage(e).then(function(e){return o.ensure(e,"jsActions")})}),g.on("GetOutline",function(e){return o.ensureCatalog("documentOutline")}),g.on("GetOptionalContentConfig",function(e){return o.ensureCatalog("optionalContentConfig")}),g.on("GetPermissions",function(e){return o.ensureCatalog("permissions")}),g.on("GetMetadata",function(e){return Promise.all([o.ensureDoc("documentInfo"),o.ensureCatalog("metadata")])}),g.on("GetMarkInfo",function(e){return o.ensureCatalog("markInfo")}),g.on("GetData",function(e){return o.requestLoadedStream().then(function(e){return e.bytes})}),g.on("GetAnnotations",function({pageIndex:a,intent:r}){return o.getPage(a).then(function(e){const t=new C("GetAnnotations: page "+a);return h(t),e.getAnnotationsData(g,t,r).then(e=>(u(t),e),e=>{throw u(t),e})})}),g.on("GetFieldObjects",function(e){return o.ensureDoc("fieldObjects")}),g.on("HasJSActions",function(e){return o.ensureDoc("hasJSActions")}),g.on("GetCalculationOrderIds",function(e){return o.ensureDoc("calculationOrderIds")}),g.on("SaveDocument",function({isPureXfa:d,numPages:r,annotationStorage:i,filename:f}){var e=[o.requestLoadedStream(),o.ensureCatalog("acroForm"),o.ensureCatalog("acroFormRef"),o.ensureDoc("xref"),o.ensureDoc("startXRef")],t=d?null:(0,y.getNewAnnotationsMap)(i);if(t)for(const[d,r]of t)e.push(o.getPage(d).then(e=>{const t=new C("Save (editor): page "+d);return e.saveNewAnnotations(g,t,r).finally(function(){u(t)})}));if(d)e.push(o.serializeXfaData(i));else for(let a=0;a<r;a++)e.push(o.getPage(a).then(function(e){const t=new C("Save: page "+a);return e.save(g,t,i).finally(function(){u(t)})}));return Promise.all(e).then(function([e,t,a,r,i,...n]){let s=[],o=null;if(d){if(!(o=n[0]))return e.bytes}else if(0===(s=n.flat(2)).length)return e.bytes;var n=a&&t instanceof w.Dict&&s.some(e=>e.needAppearances),l=t instanceof w.Dict&&t.get("XFA")||null;let c=null,h=!1;if(Array.isArray(l)){for(let e=0,t=l.length;e<t;e+=2)"datasets"===l[e]&&(c=l[e+1],h=!0);null===c&&(c=r.getNewTemporaryRef())}else l&&(0,b.warn)("Unsupported XFA type.");let u=Object.create(null);if(r.trailer){const d=Object.create(null),e=r.trailer.get("Info")||null;e instanceof w.Dict&&e.forEach((e,t)=>{"string"==typeof t&&(d[e]=(0,b.stringToPDFString)(t))}),u={rootRef:r.trailer.getRaw("Root")||null,encryptRef:r.trailer.getRaw("Encrypt")||null,newRef:r.getNewTemporaryRef(),infoRef:r.trailer.getRaw("Info")||null,info:d,fileIds:r.trailer.get("ID")||null,startXRef:r.lastXRefStreamPos??i,filename:f}}try{return(0,S.incrementalUpdate)({originalData:e.bytes,xrefInfo:u,newRefs:s,xref:r,hasXfa:!!l,xfaDatasetsRef:c,hasXfaDatasetsEntry:h,needAppearances:n,acroFormRef:a,acroForm:t,xfaData:o})}finally{r.resetNewTemporaryRef()}})}),g.on("GetOperatorList",function(r,i){const n=r.pageIndex;o.getPage(n).then(function(e){const t=new C("GetOperatorList: page "+n),a=(h(t),l>=b.VerbosityLevel.INFOS?Date.now():0);e.getOperatorList({handler:g,sink:i,task:t,intent:r.intent,cacheKey:r.cacheKey,annotationStorage:r.annotationStorage}).then(function(e){u(t),a&&(0,b.info)(`page=${n+1} - getOperatorList: time=${Date.now()-a}ms, len=`+e.length),i.close()},function(e){u(t),t.terminated||i.error(e)})})}),g.on("GetTextContent",function(e,r){const{pageIndex:i,includeMarkedContent:n,disableNormalization:s}=e;o.getPage(i).then(function(e){const t=new C("GetTextContent: page "+i),a=(h(t),l>=b.VerbosityLevel.INFOS?Date.now():0);e.extractTextContent({handler:g,task:t,sink:r,includeMarkedContent:n,disableNormalization:s}).then(function(){u(t),a&&(0,b.info)(`page=${i+1} - getTextContent: time=`+(Date.now()-a)+"ms"),r.close()},function(e){u(t),t.terminated||r.error(e)})})}),g.on("GetStructTree",function(e){return o.getPage(e.pageIndex).then(function(e){return o.ensure(e,"getStructTree")})}),g.on("FontFallback",function(e){return o.fontFallback(e.id,g)}),g.on("Cleanup",function(e){return o.cleanup(!0)}),g.on("Terminate",function(e){s=!0;var t=[];if(o){o.terminate(new b.AbortException("Worker was terminated."));const e=o.cleanup();t.push(e),o=null}else(0,x.clearGlobalCaches)();d&&d(new b.AbortException("Worker was terminated."));for(const e of a)t.push(e.finished),e.terminate();return Promise.all(t).then(function(){g.destroy(),g=null})}),g.on("Ready",function(e){function t(e){p(),g.send("GetDoc",{pdfInfo:e})}function a(e){if(p(),e instanceof b.PasswordException){const t=new C("PasswordException: response "+e.code);h(t),g.sendWithPromise("PasswordRequest",e).then(function({password:e}){u(t),o.updatePassword(e),r()}).catch(function(){u(t),g.send("DocException",e)})}else e instanceof b.InvalidPDFException||e instanceof b.MissingPDFException||e instanceof b.UnexpectedResponseException||e instanceof b.UnknownErrorException?g.send("DocException",e):g.send("DocException",new b.UnknownErrorException(e.message,e.toString()))}function r(){p(),m(!1).then(t,function(e){p(),e instanceof y.XRefParseException?o.requestLoadedStream().then(function(){p(),m(!0).then(t,a)}):a(e)})}var i;i=n,p(),function({data:e,password:t,disableAutoFetch:a,rangeChunkSize:r,length:o,docBaseUrl:i,enableXfa:n,evaluatorOptions:s}){const l={source:null,disableAutoFetch:a,docBaseUrl:i,docId:f,enableXfa:n,evaluatorOptions:s,handler:g,length:o,password:t,rangeChunkSize:r},c=new b.PromiseCapability;let h;if(e)try{l.source=e,h=new v.LocalPdfManager(l),c.resolve(h)}catch(e){c.reject(e)}else{let t,n=[];try{t=new A.PDFWorkerStream(g)}catch(e){return c.reject(e),c.promise}const u=t.getFullReader();u.headersReady.then(function(){if(u.isRangeSupported){l.source=t,l.length=u.contentLength,l.disableAutoFetch||=u.isStreamingSupported,h=new v.NetworkPdfManager(l);for(const e of n)h.sendProgressiveData(e);n=[],c.resolve(h),d=null}}).catch(function(e){c.reject(e),d=null});let s=0;new Promise(function(e,r){const i=function({value:e,done:t}){try{if(p(),t){if(!h){var a=(0,y.arrayBuffersToBytes)(n);o&&a.length!==o&&(0,b.warn)("reported HTTP length is different from actual");try{l.source=a,h=new v.LocalPdfManager(l),c.resolve(h)}catch(a){c.reject(a)}n=[]}d=null}else s+=e.byteLength,u.isStreamingSupported||g.send("DocProgress",{loaded:s,total:Math.max(s,u.contentLength||0)}),h?h.sendProgressiveData(e):n.push(e),u.read().then(i,r)}catch(e){r(e)}};u.read().then(i,r)}).catch(function(e){c.reject(e),d=null}),d=function(e){t.cancelAllRequests(e)}}return c.promise}(i).then(function(e){if(s)throw e.terminate(new b.AbortException("Worker was terminated.")),new Error("Worker was terminated");(o=e).requestLoadedStream(!0).then(e=>{g.send("DataLoaded",{length:e.bytes.byteLength})})}).then(r,a),n=null}),c}static initializeFromPort(e){var t=new k.MessageHandler("worker","main",e);i.setup(t,e),t.send("ready",null)}}t.WorkerMessageHandler=i,"undefined"==typeof window&&!r.isNodeJS&&"undefined"!=typeof self&&"function"==typeof(a=self).postMessage&&"onmessage"in a&&i.initializeFromPort(self)},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.RenderingIntentFlag=t.PromiseCapability=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.MAX_IMAGE_SIZE_TO_CACHE=t.LINE_FACTOR=t.LINE_DESCENT_FACTOR=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FeatureTest=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.BASELINE_FACTOR=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationEditorType=t.AnnotationEditorPrefix=t.AnnotationEditorParamsType=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.assert=function(e,t){e||n(t)},t.bytesToString=function(t){"object"==typeof t&&void 0!==t?.length||n("Invalid argument for bytesToString");var a=t.length;if(a<8192)return String.fromCharCode.apply(null,t);var r=[];for(let e=0;e<a;e+=8192){const n=Math.min(e+8192,a),i=t.subarray(e,n);r.push(String.fromCharCode.apply(null,i))}return r.join("")},t.createValidAbsoluteUrl=function(e,t=null,a=null){if(e)try{if(a&&"string"==typeof e){if(a.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);2<=t?.length&&(e="http://"+e)}if(a.tryConvertEncoding)try{e=f(e)}catch(e){}}var r=t?new URL(e,t):new URL(e);if(function(){switch(r?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return 1;default:return}}())return r}catch(e){}return null},t.getModificationDate=function(e=new Date){return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")},t.getVerbosityLevel=function(){return r},t.info=function(e){r>=a.INFOS&&console.log("Info: "+e)},t.isArrayBuffer=function(e){return"object"==typeof e&&void 0!==e?.byteLength},t.isArrayEqual=function(a,r){if(a.length!==r.length)return!1;for(let e=0,t=a.length;e<t;e++)if(a[e]!==r[e])return!1;return!0},t.normalizeUnicode=function(e){return g||(g=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,p=new Map([["ſt","ſt"]])),e.replaceAll(g,(e,t,a)=>t?t.normalize("NFKC"):p.get(a))},t.objectFromMap=function(e){var t,a,r=Object.create(null);for([t,a]of e)r[t]=a;return r},t.objectSize=function(e){return Object.keys(e).length},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(r=e)},t.shadow=i,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=c,t.stringToPDFString=function(a){if("ï"<=a[0]){let e;if("þ"===a[0]&&"ÿ"===a[1]?e="utf-16be":"ÿ"===a[0]&&"þ"===a[1]?e="utf-16le":"ï"===a[0]&&"»"===a[1]&&"¿"===a[2]&&(e="utf-8"),e)try{var t=new TextDecoder(e,{fatal:!0}),r=c(a);return t.decode(r)}catch(a){s(`stringToPDFString: "${a}".`)}}var i=[];for(let e=0,t=a.length;e<t;e++){var n=d[a.charCodeAt(e)];i.push(n?String.fromCharCode(n):a.charAt(e))}return i.join("")},t.stringToUTF8String=f,t.unreachable=n,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=s,t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.MAX_IMAGE_SIZE_TO_CACHE=1e7,t.LINE_FACTOR=1.35,t.LINE_DESCENT_FACTOR=.35,t.BASELINE_FACTOR=.25925925925925924,t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},t.AnnotationEditorPrefix="pdfjs_internal_editor_",t.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},t.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"};const a={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=a,t.CMapCompressionType={NONE:0,BINARY:1},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let r=a.WARNINGS;function s(e){r>=a.WARNINGS&&console.log("Warning: "+e)}function n(e){throw new Error(e)}function i(e,t,a,r=!1){return Object.defineProperty(e,t,{value:a,enumerable:!r,configurable:!0,writable:!1}),a}l.prototype=new Error;var o=l.constructor=l;function l(e,t){this.constructor===l&&n("Cannot initialize BaseException."),this.message=e,this.name=t}function c(t){"string"!=typeof t&&n("Invalid argument for stringToBytes");var a=t.length,r=new Uint8Array(a);for(let e=0;e<a;++e)r[e]=255&t.charCodeAt(e);return r}t.BaseException=o,t.PasswordException=class extends o{constructor(e,t){super(e,"PasswordException"),this.code=t}},t.UnknownErrorException=class extends o{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}},t.InvalidPDFException=class extends o{constructor(e){super(e,"InvalidPDFException")}},t.MissingPDFException=class extends o{constructor(e){super(e,"MissingPDFException")}},t.UnexpectedResponseException=class extends o{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}},t.FormatError=class extends o{constructor(e){super(e,"FormatError")}},t.AbortException=class extends o{constructor(e){super(e,"AbortException")}},t.FeatureTest=class{static get isLittleEndian(){return i(this,"isLittleEndian",((e=new Uint8Array(4))[0]=1)===new Uint32Array(e.buffer,0,1)[0]);var e}static get isEvalSupported(){return i(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(e){return!1}}())}static get isOffscreenCanvasSupported(){return i(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get platform(){return"undefined"==typeof navigator?i(this,"platform",{isWin:!1,isMac:!1}):i(this,"platform",{isWin:navigator.platform.includes("Win"),isMac:navigator.platform.includes("Mac")})}};const h=[...Array(256).keys()].map(e=>e.toString(16).padStart(2,"0"));class u{static makeHexColor(e,t,a){return"#"+h[e]+h[t]+h[a]}static scaleMinMax(e,t){let a;e[0]?(e[0]<0&&(a=t[0],t[0]=t[1],t[1]=a),t[0]*=e[0],t[1]*=e[0],e[3]<0&&(a=t[2],t[2]=t[3],t[3]=a),t[2]*=e[3],t[3]*=e[3]):(a=t[0],t[0]=t[2],t[2]=a,a=t[1],t[1]=t[3],t[3]=a,e[1]<0&&(a=t[2],t[2]=t[3],t[3]=a),t[2]*=e[1],t[3]*=e[1],e[2]<0&&(a=t[0],t[0]=t[1],t[1]=a),t[0]*=e[2],t[1]*=e[2]),t[0]+=e[4],t[1]+=e[4],t[2]+=e[5],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){var a=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/a,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/a]}static getAxialAlignedBoundingBox(e,t){var a=u.applyTransform(e,t),r=u.applyTransform(e.slice(2,4),t),i=u.applyTransform([e[0],e[3]],t),e=u.applyTransform([e[2],e[1]],t);return[Math.min(a[0],r[0],i[0],e[0]),Math.min(a[1],r[1],i[1],e[1]),Math.max(a[0],r[0],i[0],e[0]),Math.max(a[1],r[1],i[1],e[1])]}static inverseTransform(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){var t=[e[0],e[2],e[1],e[3]],a=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],e=e[2]*t[1]+e[3]*t[3],t=(a+e)/2,a=Math.sqrt((a+e)**2-4*(a*e-i*r))/2,e=t-a||1;return[Math.sqrt(t+a||1),Math.sqrt(e)]}static normalizeRect(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){var a,r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),i=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));return i<r||(a=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),(e=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3])))<a)?null:[r,a,i,e]}static bezierBoundingBox(t,a,r,i,n,s,o,l){var c=[],e=[[],[]];let h,u,d,f,g,p,m,b;for(let e=0;e<2;++e)if(d=0===e?(u=6*t-12*r+6*n,h=-3*t+9*r-9*n+3*o,3*r-3*t):(u=6*a-12*i+6*s,h=-3*a+9*i-9*s+3*l,3*i-3*a),Math.abs(h)<1e-12){if(Math.abs(u)<1e-12)continue;0<(f=-d/u)&&f<1&&c.push(f)}else m=u*u-4*d*h,b=Math.sqrt(m),m<0||(0<(g=(-u+b)/(2*h))&&g<1&&c.push(g),0<(p=(-u-b)/(2*h))&&p<1&&c.push(p));let y,w=c.length;for(var v=w;w--;)y=1-(f=c[w]),e[0][w]=y*y*y*t+3*y*y*f*r+3*y*f*f*n+f*f*f*o,e[1][w]=y*y*y*a+3*y*y*f*i+3*y*f*f*s+f*f*f*l;return e[0][v]=t,e[1][v]=a,e[0][v+1]=o,e[1][v+1]=l,e[0].length=e[1].length=v+2,[Math.min(...e[0]),Math.min(...e[1]),Math.max(...e[0]),Math.max(...e[1])]}}t.Util=u;const d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function f(e){return decodeURIComponent(escape(e))}t.PromiseCapability=class{#e=!1;constructor(){this.promise=new Promise((t,a)=>{this.resolve=e=>{this.#e=!0,t(e)},this.reject=e=>{this.#e=!0,a(e)}})}get settled(){return this.#e}};let g=null,p=null},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XRefParseException=t.XRefEntryException=t.ParserEOFException=t.PDF_VERSION_REGEXP=t.MissingDataException=void 0,t.arrayBuffersToBytes=function(t){const a=t.length;if(0===a)return new Uint8Array(0);if(1===a)return new Uint8Array(t[0]);let r=0;for(let e=0;e<a;e++)r+=t[e].byteLength;var i=new Uint8Array(r);let n=0;for(let e=0;e<a;e++){const a=new Uint8Array(t[e]);i.set(a,n),n+=a.byteLength}return i},t.collectActions=function(t,a,r){const i=Object.create(null),n=h({dict:a,key:"AA",stopWhenFound:!1});if(n)for(let e=n.length-1;0<=e;e--){const o=n[e];if(o instanceof l.Dict)for(const a of o.getKeys()){const n=r[a];var s;n&&(s=[],d(o.getRaw(a),t,s,new l.RefSet),0<s.length)&&(i[n]=s)}}if(a.has("A")){const r=[];d(a.get("A"),t,r,new l.RefSet),0<r.length&&(i.Action=r)}return 0<(0,o.objectSize)(i)?i:null},t.encodeToXmlString=function(a){var r=[];let i=0;for(let e=0,t=a.length;e<t;e++){var n,s=a.codePointAt(e);32<=s&&s<=126?(n=f[s])&&(i<e&&r.push(a.substring(i,e)),r.push(n),i=e+1):(i<e&&r.push(a.substring(i,e)),r.push(`&#x${s.toString(16).toUpperCase()};`),55295<s&&(s<57344||65533<s)&&e++,i=e+1)}return 0===r.length?a:(i<a.length&&r.push(a.substring(i,a.length)),r.join(""))},t.escapePDFName=function(a){var r=[];let i=0;for(let e=0,t=a.length;e<t;e++){var n=a.charCodeAt(e);(n<33||126<n||35===n||40===n||41===n||60===n||62===n||91===n||93===n||123===n||125===n||47===n||37===n)&&(i<e&&r.push(a.substring(i,e)),r.push("#"+n.toString(16)),i=e+1)}return 0===r.length?a:(i<a.length&&r.push(a.substring(i,a.length)),r.join(""))},t.escapeString=function(e){return e.replaceAll(/([()\\\n\r])/g,e=>"\n"===e?"\\n":"\r"===e?"\\r":"\\"+e)},t.getInheritableProperty=h,t.getLookupTableFactory=function(e){let t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getNewAnnotationsMap=function(e){if(!e)return null;var t,a,r=new Map;for([t,a]of e)if(t.startsWith(o.AnnotationEditorPrefix)){let e=r.get(a.pageIndex);e||(e=[],r.set(a.pageIndex,e)),e.push(a)}return 0<r.size?r:null},t.getRotationMatrix=function(e,t,a){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,a];case 270:return[0,-1,1,0,0,a];default:throw new Error("Invalid rotation")}},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.isWhiteSpace=function(e){return 32===e||9===e||13===e||10===e},t.log2=function(e){return e<=0?0:Math.ceil(Math.log2(e))},t.numberToString=function(e){var t;return Number.isInteger(e)?e.toString():(t=Math.round(100*e))%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)},t.parseXFAPath=function(e){const a=/(.+)\[(\d+)\]$/;return e.split(".").map(e=>{var t=e.match(a);return t?{name:t[1],pos:parseInt(t[2],10)}:{name:e,pos:0}})},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.recoverJsURL=function(t){var a=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(t);if(a?.[2]){const t=a[2];let e=!1;return{url:t,newWindow:e="true"===a[3]&&"app.launchURL"===a[1]?!0:e}}return null},t.stringToUTF16HexString=function(a){var r=[];for(let e=0,t=a.length;e<t;e++){var i=a.charCodeAt(e);r.push((i>>8&255).toString(16).padStart(2,"0"),(255&i).toString(16).padStart(2,"0"))}return r.join("")},t.stringToUTF16String=function(a,e=!1){var r=[];e&&r.push("þÿ");for(let e=0,t=a.length;e<t;e++){var i=a.charCodeAt(e);r.push(String.fromCharCode(i>>8&255),String.fromCharCode(255&i))}return r.join("")},t.toRomanNumerals=function(e,t=!1){(0,o.assert)(Number.isInteger(e)&&0<e,"The number should be a positive integer.");for(var a=[];1e3<=e;)e-=1e3,a.push("M");r=e/100|0,e%=100,a.push(u[r]),r=e/10|0,e%=10,a.push(u[10+r]),a.push(u[20+e]);var r=a.join("");return t?r.toLowerCase():r},t.validateCSSFont=function(e){var t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:a,fontWeight:r,italicAngle:i}=e;return!!g(a,!0)&&(a=r?r.toString():"",e.fontWeight=t.has(a)?a:"400",r=parseFloat(i),e.italicAngle=isNaN(r)||r<-90||90<r?"14":i.toString(),!0)},t.validateFontName=g;var o=a(2),l=a(4),n=a(5);t.PDF_VERSION_REGEXP=/^[1-9]\.\d$/;class r extends o.BaseException{constructor(e,t){super(`Missing data [${e}, ${t})`,"MissingDataException"),this.begin=e,this.end=t}}t.MissingDataException=r;class i extends o.BaseException{constructor(e){super(e,"ParserEOFException")}}t.ParserEOFException=i;class s extends o.BaseException{constructor(e){super(e,"XRefEntryException")}}t.XRefEntryException=s;class c extends o.BaseException{constructor(e){super(e,"XRefParseException")}}function h({dict:e,key:t,getArray:a=!1,stopWhenFound:r=!0}){let i;for(var n=new l.RefSet;e instanceof l.Dict&&(!e.objId||!n.has(e.objId));){e.objId&&n.put(e.objId);const l=a?e.getArray(t):e.get(t);if(void 0!==l){if(r)return l;(i||=[]).push(l)}e=e.get("Parent")}return i}t.XRefParseException=c;const u=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function d(t,a,r,i){if(t){let e=null;if(t instanceof l.Ref){if(i.has(t))return;e=t,i.put(e),t=a.fetch(t)}if(Array.isArray(t))for(const o of t)d(o,a,r,i);else if(t instanceof l.Dict){if((0,l.isName)(t.get("S"),"JavaScript")){const a=t.get("JS");let e;a instanceof n.BaseStream?e=a.getString():"string"==typeof a&&(e=a),(e&&=(0,o.stringToPDFString)(e).replaceAll("\0",""))&&r.push(e)}d(t.getRaw("Next"),a,r,i)}e&&i.remove(e)}}const f={60:"<",62:">",38:"&",34:""",39:"'"};function g(e,t=!1){const a=/^("|').*("|')$/.exec(e);if(a&&a[1]===a[2]){if(new RegExp("[^\\\\]"+a[1]).test(e.slice(1,-1)))return t&&(0,o.warn)(`FontFamily contains unescaped ${a[1]}: ${e}.`),!1}else for(const a of e.split(/[ \t]+/))if(/^(\d|(-(\d|-)))/.test(a)||!/^[\w-\\]+$/.test(a))return t&&(0,o.warn)(`FontFamily contains invalid <custom-ident>: ${e}.`),!1;return!0}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RefSetCache=t.RefSet=t.Ref=t.Name=t.EOF=t.Dict=t.Cmd=t.CIRCULAR_REF=void 0,t.clearPrimitiveCaches=function(){i=Object.create(null),n=Object.create(null),s=Object.create(null)},t.isCmd=function(e,t){return e instanceof l&&(void 0===t||e.cmd===t)},t.isDict=function(e,t){return e instanceof h&&(void 0===t||g(e.get("Type"),t))},t.isName=g,t.isRefsEqual=function(e,t){return e.num===t.num&&e.gen===t.gen};var r=a(2),a=Symbol("CIRCULAR_REF"),a=(t.CIRCULAR_REF=a,Symbol("EOF"));t.EOF=a;let i=Object.create(null),n=Object.create(null),s=Object.create(null);class o{constructor(e){this.name=e}static get(e){return n[e]||=new o(e)}}t.Name=o;class l{constructor(e){this.cmd=e}static get(e){return i[e]||=new l(e)}}t.Cmd=l;const c=function(){return c};class h{constructor(e=null){this._map=Object.create(null),this.xref=e,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=c}assignXref(e){this.xref=e}get size(){return Object.keys(this._map).length}get(e,t,a){let r=this._map[e];return(r=void 0===r&&void 0!==t&&void 0===(r=this._map[t])&&void 0!==a?this._map[a]:r)instanceof u&&this.xref?this.xref.fetch(r,this.suppressEncryption):r}async getAsync(e,t,a){let r=this._map[e];return(r=void 0===r&&void 0!==t&&void 0===(r=this._map[t])&&void 0!==a?this._map[a]:r)instanceof u&&this.xref?this.xref.fetchAsync(r,this.suppressEncryption):r}getArray(e,t,a){let r=this._map[e];if((r=void 0===r&&void 0!==t&&void 0===(r=this._map[t])&&void 0!==a?this._map[a]:r)instanceof u&&this.xref&&(r=this.xref.fetch(r,this.suppressEncryption)),Array.isArray(r))for(let e=0,t=(r=r.slice()).length;e<t;e++)r[e]instanceof u&&this.xref&&(r[e]=this.xref.fetch(r[e],this.suppressEncryption));return r}getRaw(e){return this._map[e]}getKeys(){return Object.keys(this._map)}getRawValues(){return Object.values(this._map)}set(e,t){this._map[e]=t}has(e){return void 0!==this._map[e]}forEach(e){for(const t in this._map)e(t,this.get(t))}static get empty(){var e=new h(null);return e.set=(e,t)=>{(0,r.unreachable)("Should not call `set` on the empty dictionary.")},(0,r.shadow)(this,"empty",e)}static merge({xref:e,dictArray:t,mergeSubDicts:a=!1}){const r=new h(e),i=new Map;for(const e of t)if(e instanceof h)for(const[t,r]of Object.entries(e._map)){let e=i.get(t);if(void 0===e)e=[],i.set(t,e);else if(!(a&&r instanceof h))continue;e.push(r)}for(const[t,a]of i)if(1!==a.length&&a[0]instanceof h){const i=new h(e);for(const e of a)for(const[t,a]of Object.entries(e._map))void 0===i._map[t]&&(i._map[t]=a);0<i.size&&(r._map[t]=i)}else r._map[t]=a[0];return i.clear(),0<r.size?r:h.empty}}t.Dict=h;class u{constructor(e,t){this.num=e,this.gen=t}toString(){return 0===this.gen?this.num+"R":this.num+"R"+this.gen}static get(e,t){var a=0===t?e+"R":e+"R"+t;return s[a]||=new u(e,t)}}t.Ref=u;class d{constructor(e=null){this._set=new Set(e?._set)}has(e){return this._set.has(e.toString())}put(e){this._set.add(e.toString())}remove(e){this._set.delete(e.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}t.RefSet=d;class f{constructor(){this._map=new Map}get size(){return this._map.size}get(e){return this._map.get(e.toString())}has(e){return this._map.has(e.toString())}put(e,t){this._map.set(e.toString(),t)}putAlias(e,t){this._map.set(e.toString(),this.get(t))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}}function g(e,t){return e instanceof o&&(void 0===t||e.name===t)}t.RefSetCache=f},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStream=void 0;var r=a(2);t.BaseStream=class i{constructor(){this.constructor===i&&(0,r.unreachable)("Cannot initialize BaseStream.")}get length(){(0,r.unreachable)("Abstract getter `length` accessed")}get isEmpty(){(0,r.unreachable)("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return(0,r.shadow)(this,"isDataLoaded",!0)}getByte(){(0,r.unreachable)("Abstract method `getByte` called")}getBytes(e){(0,r.unreachable)("Abstract method `getBytes` called")}peekByte(){var e=this.getByte();return-1!==e&&this.pos--,e}peekBytes(e){return e=this.getBytes(e),this.pos-=e.length,e}getUint16(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}getByteRange(e,t){(0,r.unreachable)("Abstract method `getByteRange` called")}getString(e){return(0,r.bytesToString)(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){(0,r.unreachable)("Abstract method `reset` called")}moveStart(){(0,r.unreachable)("Abstract method `moveStart` called")}makeSubStream(e,t,a=0){(0,r.unreachable)("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkPdfManager=t.LocalPdfManager=void 0;var r=a(2),i=a(7),n=a(3),s=a(9),o=a(8);class l{constructor(e){this.constructor===l&&(0,r.unreachable)("Cannot initialize BasePdfManager."),this._docBaseUrl=function(e){if(e){var t=(0,r.createValidAbsoluteUrl)(e);if(t)return t.href;(0,r.warn)(`Invalid absolute docBaseUrl: "${e}".`)}return null}(e.docBaseUrl),this._docId=e.docId,this._password=e.password,this.enableXfa=e.enableXfa,e.evaluatorOptions.isOffscreenCanvasSupported&&=r.FeatureTest.isOffscreenCanvasSupported,this.evaluatorOptions=e.evaluatorOptions}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){var e=this.pdfDocument.catalog;return(0,r.shadow)(this,"docBaseUrl",e.baseUrl||this._docBaseUrl)}ensureDoc(e,t){return this.ensure(this.pdfDocument,e,t)}ensureXRef(e,t){return this.ensure(this.pdfDocument.xref,e,t)}ensureCatalog(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}getPage(e){return this.pdfDocument.getPage(e)}fontFallback(e,t){return this.pdfDocument.fontFallback(e,t)}loadXfaFonts(e,t){return this.pdfDocument.loadXfaFonts(e,t)}loadXfaImages(){return this.pdfDocument.loadXfaImages()}serializeXfaData(e){return this.pdfDocument.serializeXfaData(e)}cleanup(e=!1){return this.pdfDocument.cleanup(e)}async ensure(e,t,a){(0,r.unreachable)("Abstract method `ensure` called")}requestRange(e,t){(0,r.unreachable)("Abstract method `requestRange` called")}requestLoadedStream(e=0){(0,r.unreachable)("Abstract method `requestLoadedStream` called")}sendProgressiveData(e){(0,r.unreachable)("Abstract method `sendProgressiveData` called")}updatePassword(e){this._password=e}terminate(e){(0,r.unreachable)("Abstract method `terminate` called")}}t.LocalPdfManager=class extends l{constructor(e){super(e);e=new o.Stream(e.source);this.pdfDocument=new s.PDFDocument(this,e),this._loadedStreamPromise=Promise.resolve(e)}async ensure(e,t,a){t=e[t];return"function"==typeof t?t.apply(e,a):t}requestRange(e,t){return Promise.resolve()}requestLoadedStream(e=0){return this._loadedStreamPromise}terminate(e){}},t.NetworkPdfManager=class extends l{constructor(e){super(e),this.streamManager=new i.ChunkedStreamManager(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize}),this.pdfDocument=new s.PDFDocument(this,this.streamManager.getStream())}async ensure(t,a,r){try{var e=t[a];return"function"==typeof e?e.apply(t,r):e}catch(e){if(e instanceof n.MissingDataException)return await this.requestRange(e.begin,e.end),this.ensure(t,a,r);throw e}}requestRange(e,t){return this.streamManager.requestRange(e,t)}requestLoadedStream(e=!1){return this.streamManager.requestAllChunks(e)}sendProgressiveData(e){this.streamManager.onReceiveData({chunk:e})}terminate(e){this.streamManager.abort(e)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkedStreamManager=t.ChunkedStream=void 0;var l=a(3),n=a(2);class r extends a(8).Stream{constructor(e,t,a){super(new Uint8Array(e),0,e,null),this.chunkSize=t,this._loadedChunks=new Set,this.numChunks=Math.ceil(e/t),this.manager=a,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){var a=[];for(let e=0,t=this.numChunks;e<t;++e)this._loadedChunks.has(e)||a.push(e);return a}get numChunksLoaded(){return this._loadedChunks.size}get isDataLoaded(){return this.numChunksLoaded===this.numChunks}onReceiveData(e,t){var a=this.chunkSize;if(e%a!=0)throw new Error("Bad begin offset: "+e);var r=e+t.byteLength;if(r%a!=0&&r!==this.bytes.length)throw new Error("Bad end offset: "+r);this.bytes.set(new Uint8Array(t),e);var t=Math.floor(e/a),i=Math.floor((r-1)/a)+1;for(let e=t;e<i;++e)this._loadedChunks.add(e)}onReceiveProgressiveData(e){var t=this.progressiveDataLength,a=Math.floor(t/this.chunkSize),r=(this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,(this.progressiveDataLength=t)>=this.end?this.numChunks:Math.floor(t/this.chunkSize));for(let e=a;e<r;++e)this._loadedChunks.add(e)}ensureByte(e){if(!(e<this.progressiveDataLength)){var t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new l.MissingDataException(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}}ensureRange(t,a){if(!(a<=t||a<=this.progressiveDataLength)){var r=Math.floor(t/this.chunkSize);if(!(r>this.numChunks)){var i=Math.min(Math.floor((a-1)/this.chunkSize)+1,this.numChunks);for(let e=r;e<i;++e)if(!this._loadedChunks.has(e))throw new l.MissingDataException(t,a)}}}nextEmptyChunk(t){var a=this.numChunks;for(let e=0;e<a;++e){var r=(t+e)%a;if(!this._loadedChunks.has(r))return r}return null}hasChunk(e){return this._loadedChunks.has(e)}getByte(){var e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}getBytes(e){var t=this.bytes,a=this.pos,r=this.end;if(!e)return r>this.progressiveDataLength&&this.ensureRange(a,r),t.subarray(a,r);let i=a+e;return(i=i>r?r:i)>this.progressiveDataLength&&this.ensureRange(a,i),this.pos=i,t.subarray(a,i)}getByteRange(e,t){return e<0&&(e=0),(t=t>this.end?this.end:t)>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}makeSubStream(e,t,a=null){function r(){}t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e),(r.prototype=Object.create(this)).getMissingChunks=function(){var e=this.chunkSize,t=Math.floor(this.start/e),a=Math.floor((this.end-1)/e)+1,r=[];for(let e=t;e<a;++e)this._loadedChunks.has(e)||r.push(e);return r},Object.defineProperty(r.prototype,"isDataLoaded",{get(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var i=new r;return i.pos=i.start=e,i.end=e+t||this.end,i.dict=a,i}getBaseStreams(){return[this]}}t.ChunkedStream=r,t.ChunkedStreamManager=class{constructor(e,t){this.length=t.length,this.chunkSize=t.rangeChunkSize,this.stream=new r(this.length,this.chunkSize,this),this.pdfNetworkStream=e,this.disableAutoFetch=t.disableAutoFetch,this.msgHandler=t.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=new n.PromiseCapability}sendRequest(t,e){const n=this.pdfNetworkStream.getRangeReader(t,e);n.isStreamingSupported||(n.onProgress=this.onProgress.bind(this));let s=[],o=0;return new Promise((a,r)=>{const i=({value:e,done:t})=>{try{if(t){const r=(0,l.arrayBuffersToBytes)(s);s=null,void a(r)}else o+=e.byteLength,n.isStreamingSupported&&this.onProgress({loaded:o}),s.push(e),n.read().then(i,r)}catch(e){r(e)}};n.read().then(i,r)}).then(e=>{this.aborted||this.onReceiveData({chunk:e,begin:t})})}requestAllChunks(e=!1){if(!e){const e=this.stream.getMissingChunks();this._requestChunks(e)}return this._loadedStreamCapability.promise}_requestChunks(t){const a=this.currRequestId++,e=new Set;this._chunksNeededByRequest.set(a,e);for(const a of t)this.stream.hasChunk(a)||e.add(a);if(0===e.size)return Promise.resolve();var r=new n.PromiseCapability,i=(this._promisesByRequest.set(a,r),[]);for(const t of e){let e=this._requestsByChunk.get(t);e||(e=[],this._requestsByChunk.set(t,e),i.push(t)),e.push(a)}if(0<i.length){const t=this.groupChunks(i);for(const a of t){const t=a.beginChunk*this.chunkSize,e=Math.min(a.endChunk*this.chunkSize,this.length);this.sendRequest(t,e).catch(r.reject)}}return r.promise.catch(e=>{if(!this.aborted)throw e})}getStream(){return this.stream}requestRange(t,e){e=Math.min(e,this.length);var t=this.getBeginChunk(t),a=this.getEndChunk(e),r=[];for(let e=t;e<a;++e)r.push(e);return this._requestChunks(r)}requestRanges(t=[]){var a=[];for(const e of t){const t=this.getBeginChunk(e.begin),r=this.getEndChunk(e.end);for(let e=t;e<r;++e)a.includes(e)||a.push(e)}return a.sort(function(e,t){return e-t}),this._requestChunks(a)}groupChunks(a){var r=[];let i=-1,n=-1;for(let e=0,t=a.length;e<t;++e){var s=a[e];i<0&&(i=s),0<=n&&n+1!==s&&(r.push({beginChunk:i,endChunk:n+1}),i=s),e+1===a.length&&r.push({beginChunk:i,endChunk:s+1}),n=s}return r}onProgress(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}onReceiveData(e){const t=e.chunk,a=void 0===e.begin,r=a?this.progressiveDataLength:e.begin,i=r+t.byteLength,n=Math.floor(r/this.chunkSize),s=i<this.length?Math.floor(i/this.chunkSize):Math.ceil(i/this.chunkSize);a?(this.stream.onReceiveProgressiveData(t),this.progressiveDataLength=i):this.stream.onReceiveData(r,t),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);var o=[];for(let e=n;e<s;++e){const t=this._requestsByChunk.get(e);if(t){this._requestsByChunk.delete(e);for(const a of t){const t=this._chunksNeededByRequest.get(a);t.has(e)&&t.delete(e),0<t.size||o.push(a)}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){let e;if(1===this.stream.numChunksLoaded){const t=this.stream.numChunks-1;this.stream.hasChunk(t)||(e=t)}else e=this.stream.nextEmptyChunk(s);Number.isInteger(e)&&this._requestChunks([e])}for(const e of o){const t=this._promisesByRequest.get(e);this._promisesByRequest.delete(e),t.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(e){this._loadedStreamCapability.reject(e)}getBeginChunk(e){return Math.floor(e/this.chunkSize)}getEndChunk(e){return Math.floor((e-1)/this.chunkSize)+1}abort(e){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(e);for(const t of this._promisesByRequest.values())t.reject(e)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StringStream=t.Stream=t.NullStream=void 0;var r=a(5),i=a(2);class n extends r.BaseStream{constructor(e,t,a,r){super(),this.bytes=e instanceof Uint8Array?e:new Uint8Array(e),this.start=t||0,this.pos=this.start,this.end=t+a||this.bytes.length,this.dict=r}get length(){return this.end-this.start}get isEmpty(){return 0===this.length}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(e){var t=this.bytes,a=this.pos,r=this.end;if(!e)return t.subarray(a,r);let i=a+e;return i>r&&(i=r),this.pos=i,t.subarray(a,i)}getByteRange(e,t){return t>this.end&&(t=this.end),this.bytes.subarray(e=e<0?0:e,t)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(e,t,a=null){return new n(this.bytes.buffer,e,t,a)}}t.Stream=n,t.StringStream=class extends n{constructor(e){super((0,i.stringToBytes)(e))}},t.NullStream=class extends n{constructor(){super(new Uint8Array(0))}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Page=t.PDFDocument=void 0;var d=a(10),p=a(2),m=a(3),b=a(4),y=a(51),s=a(5),n=a(68),r=a(70),i=a(72),o=a(101),l=a(16),c=a(8),w=a(76),v=a(64),x=a(13),h=a(18),u=a(75),f=a(66),g=a(77),S=a(102);const k=[0,0,612,792];class A{constructor({pdfManager:e,xref:t,pageIndex:a,pageDict:r,ref:i,globalIdFactory:n,fontCache:s,builtInCMapCache:o,standardFontDataCache:l,globalImageCache:c,systemFontCache:h,nonBlendModesSet:u,xfaFactory:d}){this.pdfManager=e,this.pageIndex=a,this.pageDict=r,this.xref=t,this.ref=i,this.fontCache=s,this.builtInCMapCache=o,this.standardFontDataCache=l,this.globalImageCache=c,this.systemFontCache=h,this.nonBlendModesSet=u,this.evaluatorOptions=e.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=d;const f={obj:0};this._localIdFactory=class extends n{static createObjId(){return`p${a}_`+ ++f.obj}static getPageObjId(){return"p"+i.toString()}}}_getInheritableProperty(e,t=!1){e=(0,m.getInheritableProperty)({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(e)?1!==e.length&&e[0]instanceof b.Dict?b.Dict.merge({xref:this.xref,dictArray:e}):e[0]:e}get content(){return this.pageDict.getArray("Contents")}get resources(){var e=this._getInheritableProperty("Resources");return(0,p.shadow)(this,"resources",e instanceof b.Dict?e:b.Dict.empty)}_getBoundingBox(e){if(this.xfaData)return this.xfaData.bbox;var t=this._getInheritableProperty(e,!0);if(Array.isArray(t)&&4===t.length){if(0<(t=p.Util.normalizeRect(t))[2]-t[0]&&0<t[3]-t[1])return t;(0,p.warn)(`Empty, or invalid, /${e} entry.`)}return null}get mediaBox(){return(0,p.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||k)}get cropBox(){return(0,p.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){let e=this.pageDict.get("UserUnit");return("number"!=typeof e||e<=0)&&(e=1),(0,p.shadow)(this,"userUnit",e)}get view(){var{cropBox:e,mediaBox:t}=this;if(e!==t&&!(0,p.isArrayEqual)(e,t)){e=p.Util.intersect(e,t);if(e&&0<e[2]-e[0]&&0<e[3]-e[1])return(0,p.shadow)(this,"view",e);(0,p.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,p.shadow)(this,"view",t)}get rotate(){let e=this._getInheritableProperty("Rotate")||0;return e%90!=0?e=0:360<=e?e%=360:e<0&&(e=(e%360+360)%360),(0,p.shadow)(this,"rotate",e)}_onSubStreamError(e,t){if(!this.evaluatorOptions.ignoreErrors)throw e;(0,p.warn)(`getContentStream - ignoring sub-stream (${t}): "${e}".`)}getContentStream(){return this.pdfManager.ensure(this,"content").then(e=>e instanceof s.BaseStream?e:Array.isArray(e)?new h.StreamsSequenceStream(e,this._onSubStreamError.bind(this)):new c.NullStream)}get xfaData(){return(0,p.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async saveNewAnnotations(e,t,a){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");var e=new x.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),r=this.pageDict,i=this.annotations.slice(),t=await d.AnnotationFactory.saveNewAnnotations(e,t,a);for(const{ref:e}of t.annotations)i.push(e);e=r.get("Annots"),r.set("Annots",i),a=[];let n=null;this.xref.encrypt&&(n=this.xref.encrypt.createCipherTransform(this.ref.num,this.ref.gen)),await(0,f.writeObject)(this.ref,r,a,n),e&&r.set("Annots",e);r=t.dependencies;return r.push({ref:this.ref,data:a.join("")},...t.annotations),r}save(e,r,i){const n=new x.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions});return this._parsedAnnotations.then(function(e){var t=[];for(const a of e)a.mustBePrinted(i)&&t.push(a.save(n,r,i).catch(function(e){return(0,p.warn)(`save - ignoring annotation data during "${r.name}" task: "${e}".`),null}));return Promise.all(t).then(function(e){return e.filter(e=>!!e)})})}loadResources(e){return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(()=>new w.ObjectLoader(this.resources,e,this.xref).load())}getOperatorList({handler:a,sink:r,task:l,intent:c,cacheKey:i,annotationStorage:h=null}){const e=this.getContentStream(),t=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),u=new x.PartialEvaluator({xref:this.xref,handler:a,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),n=this.xfaFactory?null:(0,m.getNewAnnotationsMap)(h);let s=Promise.resolve(null);if(n){const a=n.get(this.pageIndex);a&&(s=d.AnnotationFactory.printNewAnnotations(u,l,a))}var o=Promise.all([e,t]).then(([e])=>{const t=new v.OperatorList(c,r);return a.send("StartRenderPage",{transparency:u.hasBlendModes(this.resources,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:i}),u.getOperatorList({stream:e,task:l,resources:this.resources,operatorList:t}).then(function(){return t})});return Promise.all([o,this._parsedAnnotations,s]).then(function([s,e,t]){if(0===(e=t?e.concat(t):e).length||c&p.RenderingIntentFlag.ANNOTATIONS_DISABLE)return s.flush(!0),{length:s.totalLength};var a=!!(c&p.RenderingIntentFlag.ANNOTATIONS_FORMS),r=!!(c&p.RenderingIntentFlag.ANY),i=!!(c&p.RenderingIntentFlag.DISPLAY),n=!!(c&p.RenderingIntentFlag.PRINT),o=[];for(const s of e)(r||i&&s.mustBeViewed(h)||n&&s.mustBePrinted(h))&&o.push(s.getOperatorList(u,l,c,a,h).catch(function(e){return(0,p.warn)(`getOperatorList - ignoring annotation data during "${l.name}" task: "${e}".`),{opList:null,separateForm:!1,separateCanvas:!1}}));return Promise.all(o).then(function(e){let t=!1,a=!1;for(var{opList:r,separateForm:i,separateCanvas:n}of e)s.addOpList(r),t||=i,a||=n;return s.flush(!0,{form:t,canvas:a}),{length:s.totalLength}})})}extractTextContent({handler:t,task:a,includeMarkedContent:r,disableNormalization:i,sink:n}){var e=this.getContentStream(),s=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([e,s]).then(([e])=>new x.PartialEvaluator({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}).getTextContent({stream:e,task:a,resources:this.resources,includeMarkedContent:r,disableNormalization:i,sink:n,viewBox:this.view}))}async getStructTree(){var e=await this.pdfManager.ensureCatalog("structTreeRoot");return e?(await this.pdfManager.ensure(this,"_parseStructTree",[e])).serializable:null}_parseStructTree(e){e=new u.StructTreePage(e,this.pageDict);return e.parse(),e}async getAnnotationsData(e,t,a){const r=await this._parsedAnnotations;if(0===r.length)return[];var i=[],n=[];let s;var o=!!(a&p.RenderingIntentFlag.ANY),l=!!(a&p.RenderingIntentFlag.DISPLAY),c=!!(a&p.RenderingIntentFlag.PRINT);for(const a of r){const r=o||l&&a.viewable;(r||c&&a.printable)&&i.push(a.data),a.hasTextContent&&r&&(s||=new x.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),n.push(a.extractTextContent(s,t,[-1/0,-1/0,1/0,1/0]).catch(function(e){(0,p.warn)(`getAnnotationsData - ignoring textContent during "${t.name}" task: "${e}".`)})))}return await Promise.all(n),i}get annotations(){var e=this._getInheritableProperty("Annots");return(0,p.shadow)(this,"annotations",Array.isArray(e)?e:[])}get _parsedAnnotations(){var e=this.pdfManager.ensure(this,"annotations").then(()=>{var e=[];for(const t of this.annotations)e.push(d.AnnotationFactory.create(this.xref,t,this.pdfManager,this._localIdFactory,!1).catch(function(e){return(0,p.warn)(`_parsedAnnotations: "${e}".`),null}));return Promise.all(e).then(function(e){if(0===e.length)return e;var t=[];let a;for(const r of e)r&&(r instanceof d.PopupAnnotation?a||=[]:t).push(r);return a&&t.push(...a),t})});return(0,p.shadow)(this,"_parsedAnnotations",e)}get jsActions(){var e=(0,m.collectActions)(this.xref,this.pageDict,p.PageActionEventType);return(0,p.shadow)(this,"jsActions",e)}}t.Page=A;const C=new Uint8Array([37,80,68,70,45]),F=new Uint8Array([115,116,97,114,116,120,114,101,102]),O=new Uint8Array([101,110,100,111,98,106]);function I(a,r,i=1024,e=!1){var n=r.length,s=a.peekBytes(i),o=s.length-n;if(!(o<=0))if(e){const i=n-1;let t=s.length-1;for(;t>=i;){let e=0;for(;e<n&&s[t-e]===r[i-e];)e++;if(e>=n)return a.pos+=t-i,!0;t--}}else{let t=0;for(;t<=o;){let e=0;for(;e<n&&s[t+e]===r[e];)e++;if(e>=n)return a.pos+=t,!0;t++}}return!1}t.PDFDocument=class{constructor(e,t){if(t.length<=0)throw new p.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=e,this.stream=t,this.xref=new S.XRef(t,e),this._pagePromises=new Map,this._version=null;const a={font:0};this._globalIdFactory=class{static getDocId(){return"g_"+e.docId}static createFontId(){return"f"+ ++a.font}static createObjId(){(0,p.unreachable)("Abstract method `createObjId` called.")}static getPageObjId(){(0,p.unreachable)("Abstract method `getPageObjId` called.")}}}parse(e){this.xref.parse(e),this.catalog=new r.Catalog(this.pdfManager,this.xref)}get linearization(){let e=null;try{e=l.Linearization.create(this.stream)}catch(e){if(e instanceof m.MissingDataException)throw e;(0,p.info)(e)}return(0,p.shadow)(this,"linearization",e)}get startXRef(){var a=this.stream;let r=0;if(this.linearization)a.reset(),I(a,O)&&(r=a.pos+6-a.start);else{var i=F.length;let e=!1,t=a.end;for(;!e&&0<t;)(t-=1024-i)<0&&(t=0),a.pos=t,e=I(a,F,1024,!0);if(e){let e;for(a.skip(9);e=a.getByte(),(0,m.isWhiteSpace)(e););let t="";for(;32<=e&&e<=57;)t+=String.fromCharCode(e),e=a.getByte();r=parseInt(t,10),isNaN(r)&&(r=0)}}return(0,p.shadow)(this,"startXRef",r)}checkHeader(){var a=this.stream;if(a.reset(),I(a,C)){a.moveStart(),a.skip(C.length);let e,t="";for(;32<(e=a.getByte())&&t.length<7;)t+=String.fromCharCode(e);m.PDF_VERSION_REGEXP.test(t)?this._version=t:(0,p.warn)("Invalid PDF header version: "+t)}}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){var e=this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():(this.linearization||this.catalog).numPages;return(0,p.shadow)(this,"numPages",e)}_hasOnlyDocumentSignatures(e,a=0){return!!Array.isArray(e)&&e.every(e=>{var t;return(e=this.xref.fetchIfRef(e))instanceof b.Dict&&(e.has("Kids")?10<++a?((0,p.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):this._hasOnlyDocumentSignatures(e.get("Kids"),a):(t=(0,b.isName)(e.get("FT"),"Sig"),e=e.get("Rect"),e=Array.isArray(e)&&e.every(e=>0===e),t&&e))})}get _xfaStreams(){var e=this.catalog.acroForm;if(!e)return null;var a=e.get("XFA"),r={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(a instanceof s.BaseStream&&!a.isEmpty)r["xdp:xdp"]=a;else{if(!Array.isArray(a)||0===a.length)return null;for(let e=0,t=a.length;e<t;e+=2){var i,n=0===e?"xdp:xdp":e===t-2?"/xdp:xdp":a[e];r.hasOwnProperty(n)&&((i=this.xref.fetchIfRef(a[e+1]))instanceof s.BaseStream&&!i.isEmpty&&(r[n]=i))}}return r}get xfaDatasets(){const e=this._xfaStreams;if(e)for(const a of["datasets","xdp:xdp"]){var t=e[a];if(t)try{const e={[a]:(0,p.stringToUTF8String)(t.getString())};return(0,p.shadow)(this,"xfaDatasets",new o.DatasetReader(e))}catch(e){(0,p.warn)("XFA - Invalid utf-8 string.");break}}return(0,p.shadow)(this,"xfaDatasets",null)}get xfaData(){var e=this._xfaStreams;if(!e)return null;var t,a,r=Object.create(null);for([t,a]of Object.entries(e))if(a)try{r[t]=(0,p.stringToUTF8String)(a.getString())}catch(e){return(0,p.warn)("XFA - Invalid utf-8 string."),null}return r}get xfaFactory(){let e;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(e=this.xfaData),(0,p.shadow)(this,"xfaFactory",e?new g.XFAFactory(e):null)}get isPureXfa(){return!!this.xfaFactory&&this.xfaFactory.isValid()}get htmlForXfa(){return this.xfaFactory?this.xfaFactory.getPages():null}async loadXfaImages(){var e=await this.pdfManager.ensureCatalog("xfaImages");if(e){const a=e.getKeys(),r=new w.ObjectLoader(e,a,this.xref);await r.load();var t=new Map;for(const r of a){const a=e.get(r);a instanceof s.BaseStream&&t.set(r,a.getBytes())}this.xfaFactory.setImages(t)}}async loadXfaFonts(t,a){const e=await this.pdfManager.ensureCatalog("acroForm");if(e){var r=await e.getAsync("DR");if(r instanceof b.Dict){const l=new w.ObjectLoader(r,["Font"],this.xref),c=(await l.load(),r.get("Font"));if(c instanceof b.Dict){var i=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions);i.useSystemFonts=!1;const h=new x.PartialEvaluator({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:i}),u=new v.OperatorList,d=[],f={get font(){return d.at(-1)},set font(e){d.push(e)},clone(){return this}},g=new Map;c.forEach((e,t)=>{g.set(e,t)});var n=[];for(const[t,e]of g){const y=e.get("FontDescriptor");if(y instanceof b.Dict){let e=y.get("FontFamily");const c={fontFamily:e=e.replaceAll(/[ ]+(\d)/g,"$1"),fontWeight:y.get("FontWeight"),italicAngle:-y.get("ItalicAngle")};(0,m.validateCSSFont)(c)&&n.push(h.handleSetFont(r,[b.Name.get(t),1],null,u,a,f,null,c).catch(function(e){return(0,p.warn)(`loadXfaFonts: "${e}".`),null}))}}await Promise.all(n);var s=this.xfaFactory.setFonts(d);if(s){i.ignoreErrors=!0,n.length=0,d.length=0;var o=new Set;for(const t of s)(0,y.getXfaFontName)(t+"-Regular")||o.add(t);o.size&&s.push("PdfJS-Fallback");for(const t of s)if(!o.has(t))for(const e of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const m=t+"-"+e.name,l=(0,y.getXfaFontDict)(m);n.push(h.handleSetFont(r,[b.Name.get(m),1],null,u,a,f,l,{fontFamily:t,fontWeight:e.fontWeight,italicAngle:e.italicAngle}).catch(function(e){return(0,p.warn)(`loadXfaFonts: "${e}".`),null}))}await Promise.all(n),this.xfaFactory.appendFonts(d,o)}}}}}async serializeXfaData(e){return this.xfaFactory?this.xfaFactory.serializeData(e):null}get version(){return this.catalog.version||this._version}get formInfo(){var e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},t=this.catalog.acroForm;if(t)try{var a=t.get("Fields"),r=Array.isArray(a)&&0<a.length;e.hasFields=r;const p=t.get("XFA"),m=(e.hasXfa=Array.isArray(p)&&0<p.length||p instanceof s.BaseStream&&!p.isEmpty,!!(1&t.get("SigFlags"))),i=m&&this._hasOnlyDocumentSignatures(a);e.hasAcroForm=r&&!i,e.hasSignatures=m}catch(e){if(e instanceof m.MissingDataException)throw e;(0,p.warn)(`Cannot fetch form information: "${e}".`)}return(0,p.shadow)(this,"formInfo",e)}get documentInfo(){var t={PDFFormatVersion:this.version,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};let e;try{e=this.xref.trailer.get("Info")}catch(t){if(t instanceof m.MissingDataException)throw t;(0,p.info)("The document information dictionary is invalid.")}if(e instanceof b.Dict)for(const r of e.getKeys()){var a=e.get(r);switch(r){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"!=typeof a)break;t[r]=(0,p.stringToPDFString)(a);continue;case"Trapped":if(a instanceof b.Name){t[r]=a;continue}break;default:let e;switch(typeof a){case"string":e=(0,p.stringToPDFString)(a);break;case"number":case"boolean":e=a;break;default:a instanceof b.Name&&(e=a)}if(void 0===e){(0,p.warn)(`Bad value, for custom key "${r}", in Info: ${a}.`);continue}t.Custom||(t.Custom=Object.create(null)),t.Custom[r]=e;continue}(0,p.warn)(`Bad value, for key "${r}", in Info: ${a}.`)}return(0,p.shadow)(this,"documentInfo",t)}get fingerprints(){function e(e){return"string"==typeof e&&0<e.length&&"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"!==e}function t(e){var t=[];for(const a of e){const e=a.toString(16);t.push(e.padStart(2,"0"))}return t.join("")}var a=this.xref.trailer.get("ID");let r,i;return Array.isArray(a)&&e(a[0])?(r=(0,p.stringToBytes)(a[0]),a[1]!==a[0]&&e(a[1])&&(i=(0,p.stringToBytes)(a[1]))):r=(0,n.calculateMD5)(this.stream.getByteRange(0,1024),0,1024),(0,p.shadow)(this,"fingerprints",[t(r),i?t(i):null])}async _getLinearizationPage(t){var{catalog:a,linearization:e,xref:r}=this,i=b.Ref.get(e.objectNumberFirst,0);try{const t=await r.fetchAsync(i);if(t instanceof b.Dict){let e=t.getRaw("Type");if(e instanceof b.Ref&&(e=await r.fetchAsync(e)),(0,b.isName)(e,"Page")||!t.has("Type")&&!t.has("Kids"))return a.pageKidsCountCache.has(i)||a.pageKidsCountCache.put(i,1),a.pageIndexCache.has(i)||a.pageIndexCache.put(i,0),[t,i]}throw new p.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.")}catch(e){return(0,p.warn)(`_getLinearizationPage: "${e.message}".`),a.getPageDict(t)}}getPage(a){var e=this._pagePromises.get(a);if(e)return e;const{catalog:r,linearization:t,xfaFactory:i}=this;let n;return n=(n=i?Promise.resolve([b.Dict.empty,null]):t?.pageFirst===a?this._getLinearizationPage(a):r.getPageDict(a)).then(([e,t])=>new A({pdfManager:this.pdfManager,xref:this.xref,pageIndex:a,pageDict:e,ref:t,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,systemFontCache:r.systemFontCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:i})),this._pagePromises.set(a,n),n}async checkFirstPage(e=!1){if(!e)try{await this.getPage(0)}catch(e){if(e instanceof m.XRefEntryException)throw this._pagePromises.delete(0),await this.cleanup(),new m.XRefParseException}}async checkLastPage(a=!1){var{catalog:r,pdfManager:i}=this;let n;r.setActualNumPages();try{if(await Promise.all([i.ensureDoc("xfaFactory"),i.ensureDoc("linearization"),i.ensureCatalog("numPages")]),!this.xfaFactory){if(n=(this.linearization||r).numPages,!Number.isInteger(n))throw new p.FormatError("Page count is not an integer.");n<=1||await this.getPage(n-1)}}catch(e){if(this._pagePromises.delete(n-1),await this.cleanup(),e instanceof m.XRefEntryException&&!a)throw new m.XRefParseException;let t;(0,p.warn)(`checkLastPage - invalid /Pages tree /Count: ${n}.`);try{t=await r.getAllPageDicts(a)}catch(i){if(i instanceof m.XRefEntryException&&!a)throw new m.XRefParseException;return void r.setActualNumPages(1)}for(const[a,[n,p]]of t){let e;n instanceof Error?(e=Promise.reject(n)).catch(()=>{}):e=Promise.resolve(new A({pdfManager:i,xref:this.xref,pageIndex:a,pageDict:n,ref:p,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,systemFontCache:r.systemFontCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(a,e)}r.setActualNumPages(t.size)}}fontFallback(e,t){return this.catalog.fontFallback(e,t)}async cleanup(e=!1){return this.catalog?this.catalog.cleanup(e):(0,i.clearGlobalCaches)()}_collectFieldObjects(e,t,a){var r=this.xref.fetchIfRef(t);if(r.has("T")){const t=(0,p.stringToPDFString)(r.get("T"));e=""===e?t:e+"."+t}if(a.has(e)||a.set(e,[]),a.get(e).push(d.AnnotationFactory.create(this.xref,t,this.pdfManager,this._localIdFactory,!0).then(e=>e?.getFieldObject()).catch(function(e){return(0,p.warn)(`_collectFieldObjects: "${e}".`),null})),r.has("Kids")){const t=r.get("Kids");for(const d of t)this._collectFieldObjects(e,d,a)}}get fieldObjects(){if(!this.formInfo.hasFields)return(0,p.shadow)(this,"fieldObjects",Promise.resolve(null));const t=Object.create(null),e=new Map;for(const t of this.catalog.acroForm.get("Fields"))this._collectFieldObjects("",t,e);var a=[];for(const[r,p]of e)a.push(Promise.all(p).then(e=>{0<(e=e.filter(e=>!!e)).length&&(t[r]=e)}));return(0,p.shadow)(this,"fieldObjects",Promise.all(a).then(()=>t))}get hasJSActions(){var e=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,p.shadow)(this,"hasJSActions",e)}async _parseHasJSActions(){var[e,t]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return!!e||!!t&&Object.values(t).some(e=>e.some(e=>null!==e.actions))}get calculationOrderIds(){const e=this.catalog.acroForm;if(!e?.has("CO"))return(0,p.shadow)(this,"calculationOrderIds",null);var t=e.get("CO");if(!Array.isArray(t)||0===t.length)return(0,p.shadow)(this,"calculationOrderIds",null);var a=[];for(const e of t)e instanceof b.Ref&&a.push(e.toString());return 0===a.length?(0,p.shadow)(this,"calculationOrderIds",null):(0,p.shadow)(this,"calculationOrderIds",a)}}},(R,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PopupAnnotation=e.MarkupAnnotation=e.AnnotationFactory=e.AnnotationBorderStyle=e.Annotation=void 0,e.getQuadPoints=c;var S=t(2),k=t(3),A=t(11),C=t(4),g=t(66),i=t(5),a=t(60),r=t(70),n=t(12),s=t(73),o=t(76),d=t(64),F=t(8),l=t(77);function f(e,t=new Uint8ClampedArray(3)){if(!Array.isArray(e))return t;var a=t||new Uint8ClampedArray(3);switch(e.length){case 0:return null;case 1:return n.ColorSpace.singletons.gray.getRgbItem(e,0,a,0),a;case 3:return n.ColorSpace.singletons.rgb.getRgbItem(e,0,a,0),a;case 4:return n.ColorSpace.singletons.cmyk.getRgbItem(e,0,a,0),a;default:return t}}function p(e){return Array.from(e,e=>e/255)}function c(o,t){var l=o.getArray("QuadPoints");if(!Array.isArray(l)||0===l.length||0<l.length%8)return null;const c=[];for(let s=0,e=l.length/8;s<e;s++){let a=1/0,r=-1/0,i=1/0,n=-1/0;for(let e=8*s,t=8*s+8;e<t;e+=2){const o=l[e],c=l[e+1];a=Math.min(o,a),r=Math.max(o,r),i=Math.min(c,i),n=Math.max(c,n)}if(null!==t&&(a<t[0]||r>t[2]||i<t[1]||n>t[3]))return null;c.push([{x:a,y:n},{x:r,y:n},{x:a,y:i},{x:r,y:i}])}return c}function m(e,t,a){var[t,a,r,i]=S.Util.getAxialAlignedBoundingBox(t,a);return t===r||a===i?[1,0,0,1,e[0],e[1]]:[r=(e[2]-e[0])/(r-t),0,0,i=(e[3]-e[1])/(i-a),e[0]-t*r,e[1]-a*i]}e.AnnotationFactory=class{static create(i,n,s,o,l){return Promise.all([s.ensureCatalog("acroForm"),s.ensureCatalog("baseUrl"),s.ensureCatalog("attachments"),s.ensureDoc("xfaDatasets"),l?this._getPageIndex(i,n,s):-1]).then(([e,,t,a,r])=>s.ensure(this,"_create",[i,n,s,o,e,t,a,l,r]))}static _create(e,t,a,r,i,n=null,s,o,l=-1){var c=e.fetchIfRef(t);if(c instanceof C.Dict){var r=t instanceof C.Ref?t.toString():"annot_"+r.createObjId(),h=(h=c.get("Subtype"))instanceof C.Name?h.name:null,i=i instanceof C.Dict?i:C.Dict.empty,u={xref:e,ref:t,dict:c,subtype:h,id:r,pdfManager:a,acroForm:i,attachments:n,xfaDatasets:s,collectFields:o,needAppearances:!o&&!0===i.get("NeedAppearances"),pageIndex:l,isOffscreenCanvasSupported:a.evaluatorOptions.isOffscreenCanvasSupported};switch(h){case"Link":return new T(u);case"Text":return new I(u);case"Widget":var d=(0,k.getInheritableProperty)({dict:c,key:"FT"});switch(d=d instanceof C.Name?d.name:null){case"Tx":return new y(u);case"Btn":return new w(u);case"Ch":return new v(u);case"Sig":return new x(u)}return(0,S.warn)(`Unimplemented widget field type "${d}", falling back to base field type.`),new O(u);case"Popup":return new M(u);case"FreeText":return new P(u);case"Line":return new E(u);case"Square":return new L(u);case"Circle":return new _(u);case"PolyLine":return new N(u);case"Polygon":return new B(u);case"Caret":return new j(u);case"Ink":return new D(u);case"Highlight":return new $(u);case"Underline":return new U(u);case"Squiggly":return new X(u);case"StrikeOut":return new H(u);case"Stamp":return new q(u);case"FileAttachment":return new z(u);default:return o||(h?(0,S.warn)(`Unimplemented annotation type "${h}", falling back to base annotation.`):(0,S.warn)("Annotation is missing the required /Subtype.")),new b(u)}}}static async _getPageIndex(e,t,a){try{const S=await e.fetchIfRefAsync(t);var r;return S instanceof C.Dict?(r=S.getRaw("P"))instanceof C.Ref?await a.ensureCatalog("getPageIndex",[r]):-1:-1}catch(e){return(0,S.warn)(`_getPageIndex: "${e}".`),-1}}static async saveNewAnnotations(e,t,a){var r=e.xref;let i;var n=[],s=[];for(const o of a)switch(o.annotationType){case S.AnnotationEditorType.FREETEXT:if(!i){const e=new C.Dict(r),t=(e.set("BaseFont",C.Name.get("Helvetica")),e.set("Type",C.Name.get("Font")),e.set("Subtype",C.Name.get("Type1")),e.set("Encoding",C.Name.get("WinAnsiEncoding")),[]);i=r.getNewTemporaryRef(),await(0,g.writeObject)(i,e,t,null),n.push({ref:i,data:t.join("")})}s.push(P.createNewAnnotation(r,o,n,{evaluator:e,task:t,baseFontRef:i}));break;case S.AnnotationEditorType.INK:s.push(D.createNewAnnotation(r,o,n))}return{annotations:await Promise.all(s),dependencies:n}}static async printNewAnnotations(e,t,a){if(!a)return null;var r=e.xref,i=e.options["isOffscreenCanvasSupported"],n=[];for(const s of a)switch(s.annotationType){case S.AnnotationEditorType.FREETEXT:n.push(P.createNewPrintAnnotation(r,s,{evaluator:e,task:t,isOffscreenCanvasSupported:i}));break;case S.AnnotationEditorType.INK:n.push(D.createNewPrintAnnotation(r,s,{isOffscreenCanvasSupported:i}))}return Promise.all(n)}};class b{constructor(e){const{dict:t,xref:a}=e,r=(this.setTitle(t.get("T")),this.setContents(t.get("Contents")),this.setModificationDate(t.get("M")),this.setFlags(t.get("F")),this.setRectangle(t.getArray("Rect")),this.setColor(t.getArray("C")),this.setBorderStyle(t),this.setAppearance(t),this.setOptionalContent(t),t.get("MK"));this.setBorderAndBackgroundColors(r),this.setRotation(r),this._streams=[],this.appearance&&this._streams.push(this.appearance);var i=!!(this.flags&S.AnnotationFlag.LOCKED),n=!!(this.flags&S.AnnotationFlag.LOCKEDCONTENTS);if(this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:e.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:e.subtype,hasOwnCanvas:!1,noRotate:!!(this.flags&S.AnnotationFlag.NOROTATE),noHTML:i&&n},e.collectFields){const r=t.get("Kids");if(Array.isArray(r)){const e=[];for(const t of r)t instanceof C.Ref&&e.push(t.toString());0!==e.length&&(this.data.kidIds=e)}this.data.actions=(0,k.collectActions)(a,t,S.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(t),this.data.pageIndex=e.pageIndex}this._isOffscreenCanvasSupported=e.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}_hasFlag(e,t){return!!(e&t)}_isViewable(e){return!this._hasFlag(e,S.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,S.AnnotationFlag.NOVIEW)}_isPrintable(e){return this._hasFlag(e,S.AnnotationFlag.PRINT)&&!this._hasFlag(e,S.AnnotationFlag.INVISIBLE)}mustBeViewed(e){e=e?.get(this.data.id)?.hidden;return void 0!==e?!e:this.viewable&&!this._hasFlag(this.flags,S.AnnotationFlag.HIDDEN)}mustBePrinted(e){e=e?.get(this.data.id)?.print;return void 0!==e?e:this.printable}get viewable(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}get printable(){return null!==this.data.quadPoints&&0!==this.flags&&this._isPrintable(this.flags)}_parseStringHelper(e){e="string"==typeof e?(0,S.stringToPDFString)(e):"";return{str:e,dir:e&&"rtl"===(0,a.bidi)(e).dir?"rtl":"ltr"}}setDefaultAppearance(e){e=(0,k.getInheritableProperty)({dict:e.dict,key:"DA"})||e.acroForm.get("DA");this._defaultAppearance="string"==typeof e?e:"",this.data.defaultAppearanceData=(0,A.parseDefaultAppearance)(this._defaultAppearance)}setTitle(e){this._title=this._parseStringHelper(e)}setContents(e){this._contents=this._parseStringHelper(e)}setModificationDate(e){this.modificationDate="string"==typeof e?e:null}setFlags(e){this.flags=Number.isInteger(e)&&0<e?e:0}hasFlag(e){return this._hasFlag(this.flags,e)}setRectangle(e){Array.isArray(e)&&4===e.length?this.rectangle=S.Util.normalizeRect(e):this.rectangle=[0,0,0,0]}setColor(e){this.color=f(e)}setLineEndings(t){if(this.lineEndings=["None","None"],Array.isArray(t)&&2===t.length)for(let e=0;e<2;e++){var a=t[e];if(a instanceof C.Name)switch(a.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[e]=a.name;continue}(0,S.warn)("Ignoring invalid lineEnding: "+a)}}setRotation(t){if(this.rotation=0,t instanceof C.Dict){let e=t.get("R")||0;Number.isInteger(e)&&0!==e&&((e%=360)<0&&(e+=360),e%90==0)&&(this.rotation=e)}}setBorderAndBackgroundColors(e){e instanceof C.Dict?(this.borderColor=f(e.getArray("BC"),null),this.backgroundColor=f(e.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(e){var t,a;this.borderStyle=new h,e instanceof C.Dict&&(e.has("BS")?(a=(t=e.get("BS")).get("Type"))&&!(0,C.isName)(a,"Border")||(this.borderStyle.setWidth(t.get("W"),this.rectangle),this.borderStyle.setStyle(t.get("S")),this.borderStyle.setDashArray(t.getArray("D"))):e.has("Border")?(a=e.getArray("Border"),Array.isArray(a)&&3<=a.length&&(this.borderStyle.setHorizontalCornerRadius(a[0]),this.borderStyle.setVerticalCornerRadius(a[1]),this.borderStyle.setWidth(a[2],this.rectangle),4===a.length)&&this.borderStyle.setDashArray(a[3],!0)):this.borderStyle.setWidth(0))}setAppearance(e){this.appearance=null;var t=e.get("AP");t instanceof C.Dict&&((t=t.get("N"))instanceof i.BaseStream?this.appearance=t:t instanceof C.Dict&&(e=e.get("AS"))instanceof C.Name&&t.has(e.name)&&(t=t.get(e.name))instanceof i.BaseStream&&(this.appearance=t))}setOptionalContent(e){this.oc=null;e=e.get("OC");e instanceof C.Name?(0,S.warn)("setOptionalContent: Support for /Name-entry is not implemented."):e instanceof C.Dict&&(this.oc=e)}loadResources(t,e){return e.dict.getAsync("Resources").then(e=>{if(e)return new o.ObjectLoader(e,t,e.xref).load().then(function(){return e})})}async getOperatorList(e,t,a,r,i){var n=this.data;let s=this.appearance;a=!!(this.data.hasOwnCanvas&&a&S.RenderingIntentFlag.DISPLAY);if(!s){if(!a)return{opList:new d.OperatorList,separateForm:!1,separateCanvas:!1};(s=new F.StringStream("")).dict=new C.Dict}var o=s.dict,l=await this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],s),c=o.getArray("BBox")||[0,0,1,1],o=o.getArray("Matrix")||[1,0,0,1,0,0],c=m(n.rect,c,o),h=new d.OperatorList;let u;return void 0!==(u=this.oc?await e.parseMarkedContentProps(this.oc,null):u)&&h.addOp(S.OPS.beginMarkedContentProps,["OC",u]),h.addOp(S.OPS.beginAnnotation,[n.id,n.rect,c,o,a]),await e.getOperatorList({stream:s,task:t,resources:l,operatorList:h,fallbackFontDict:this._fallbackFontDict}),h.addOp(S.OPS.endAnnotation,[]),void 0!==u&&h.addOp(S.OPS.endMarkedContent,[]),this.reset(),{opList:h,separateForm:!1,separateCanvas:a}}async save(e,t,a){return null}get hasTextContent(){return!1}async extractTextContent(e,t,a){if(this.appearance){const r=await this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance),i=[],n=[],s={desiredSize:Math.Infinity,ready:!0,enqueue(e,t){for(const t of e.items)n.push(t.str),t.hasEOL&&(i.push(n.join("")),n.length=0)}};await e.getTextContent({stream:this.appearance,task:t,resources:r,includeMarkedContent:!0,sink:s,viewBox:a}),this.reset(),n.length&&i.push(n.join("")),0<i.length&&(this.data.textContent=i)}}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const e of this._streams)e.reset()}_constructFieldName(e){if(!e.has("T")&&!e.has("Parent"))return(0,S.warn)("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return(0,S.stringToPDFString)(e.get("T"));var t=[];e.has("T")&&t.unshift((0,S.stringToPDFString)(e.get("T")));let a=e;var r=new C.RefSet;for(e.objId&&r.put(e.objId);a.has("Parent")&&(a=a.get("Parent"))instanceof C.Dict&&(!a.objId||!r.has(a.objId));)if(a.objId&&r.put(a.objId),a.has("T")){const e=(0,S.stringToPDFString)(a.get("T"));e.startsWith("#")||t.unshift(e)}return t.join(".")}}e.Annotation=b;class h{constructor(){this.width=1,this.style=S.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}setWidth(e,t=[0,0,0,0]){var a;e instanceof C.Name?this.width=0:"number"==typeof e&&(0<e&&(a=(t[2]-t[0])/2,t=(t[3]-t[1])/2,0<a)&&0<t&&(a<e||t<e)&&((0,S.warn)("AnnotationBorderStyle.setWidth - ignoring width: "+e),e=1),this.width=e)}setStyle(e){if(e instanceof C.Name)switch(e.name){case"S":this.style=S.AnnotationBorderStyleType.SOLID;break;case"D":this.style=S.AnnotationBorderStyleType.DASHED;break;case"B":this.style=S.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=S.AnnotationBorderStyleType.INSET;break;case"U":this.style=S.AnnotationBorderStyleType.UNDERLINE}}setDashArray(a,r=!1){if(Array.isArray(a)&&0<a.length){let e=!0,t=!0;for(const r of a){if(!(0<=+r)){e=!1;break}0<r&&(t=!1)}e&&!t?(this.dashArray=a,r&&this.setStyle(C.Name.get("D"))):this.width=0}else a&&(this.width=0)}setHorizontalCornerRadius(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}setVerticalCornerRadius(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}e.AnnotationBorderStyle=h;class u extends b{constructor(e){super(e);var t=e["dict"];if(t.has("IRT")){const e=t.getRaw("IRT");this.data.inReplyTo=e instanceof C.Ref?e.toString():null;var a=t.get("RT");this.data.replyType=a instanceof C.Name?a.name:S.AnnotationReplyType.REPLY}if(this.data.replyType===S.AnnotationReplyType.GROUP){const e=t.get("IRT");this.setTitle(e.get("T")),this.data.titleObj=this._title,this.setContents(e.get("Contents")),this.data.contentsObj=this._contents,e.has("CreationDate")?(this.setCreationDate(e.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,e.has("M")?(this.setModificationDate(e.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,this.data.hasPopup=e.has("Popup"),e.has("C")?(this.setColor(e.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate(t.get("CreationDate")),this.data.creationDate=this.creationDate,this.data.hasPopup=t.has("Popup"),t.has("C")||(this.data.color=null);t.has("RC")&&(this.data.richText=l.XFAFactory.getRichTextAsHtml(t.get("RC")))}setCreationDate(e){this.creationDate="string"==typeof e?e:null}_setDefaultAppearance({xref:e,extra:t,strokeColor:a,fillColor:r,blendMode:i,strokeAlpha:n,fillAlpha:s,pointsCallback:o}){let l=Number.MAX_VALUE,c=Number.MAX_VALUE,h=Number.MIN_VALUE,u=Number.MIN_VALUE;var d=["q"];t&&d.push(t),a&&d.push(`${a[0]} ${a[1]} ${a[2]} RG`),r&&d.push(`${r[0]} ${r[1]} ${r[2]} rg`);let f=this.data.quadPoints;for(const e of f=f||[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]){const[t,a,r,i]=o(d,e);l=Math.min(l,t),h=Math.max(h,a),c=Math.min(c,r),u=Math.max(u,i)}d.push("Q");t=new C.Dict(e),a=new C.Dict(e),a.set("Subtype",C.Name.get("Form")),r=new F.StringStream(d.join(" ")),r.dict=a,t.set("Fm0",r),a=new C.Dict(e),i&&a.set("BM",C.Name.get(i)),"number"==typeof n&&a.set("CA",n),"number"==typeof s&&a.set("ca",s),i=new C.Dict(e),i.set("GS0",a),n=new C.Dict(e),n.set("ExtGState",i),n.set("XObject",t),s=new C.Dict(e),s.set("Resources",n),a=this.data.rect=[l,c,h,u];s.set("BBox",a),this.appearance=new F.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=s,this._streams.push(this.appearance,r)}static async createNewAnnotation(e,t,a,r){const i=e.getNewTemporaryRef(),n=await this.createNewAppearanceStream(t,e,r),s=[];let o;if(n){const r=e.getNewTemporaryRef(),i=(o=this.createNewDict(t,e,{apRef:r}),e.encrypt?e.encrypt.createCipherTransform(r.num,r.gen):null);await(0,g.writeObject)(r,n,s,i),a.push({ref:r,data:s.join("")})}else o=this.createNewDict(t,e,{});s.length=0;r=e.encrypt?e.encrypt.createCipherTransform(i.num,i.gen):null;return await(0,g.writeObject)(i,o,s,r),{ref:i,data:s.join("")}}static async createNewPrintAnnotation(e,t,a){var r=await this.createNewAppearanceStream(t,e,a),t=this.createNewDict(t,e,{ap:r});return new this.prototype.constructor({dict:t,xref:e,isOffscreenCanvasSupported:a.isOffscreenCanvasSupported})}}e.MarkupAnnotation=u;class O extends b{constructor(e){super(e);const{dict:t,xref:a}=e,r=this.data;this.ref=e.ref,this._needAppearances=e.needAppearances,r.annotationType=S.AnnotationType.WIDGET,void 0===r.fieldName&&(r.fieldName=this._constructFieldName(t)),void 0===r.actions&&(r.actions=(0,k.collectActions)(a,t,S.AnnotationActionEventType));let i=(0,k.getInheritableProperty)({dict:t,key:"V",getArray:!0});r.fieldValue=this._decodeFormValue(i);var n=(0,k.getInheritableProperty)({dict:t,key:"DV",getArray:!0});if(r.defaultFieldValue=this._decodeFormValue(n),void 0===i&&e.xfaDatasets){const t=this._title.str;t&&(this._hasValueFromXFA=!0,r.fieldValue=i=e.xfaDatasets.getValue(t))}void 0===i&&null!==r.defaultFieldValue&&(r.fieldValue=r.defaultFieldValue),r.alternativeText=(0,S.stringToPDFString)(t.get("TU")||""),this.setDefaultAppearance(e),r.hasAppearance||=this._needAppearances&&void 0!==r.fieldValue&&null!==r.fieldValue;var n=(0,k.getInheritableProperty)({dict:t,key:"FT"}),n=(r.fieldType=n instanceof C.Name?n.name:null,(0,k.getInheritableProperty)({dict:t,key:"DR"})),e=e.acroForm.get("DR"),s=this.appearance?.dict.get("Resources");this._fieldResources={localResources:n,acroFormResources:e,appearanceResources:s,mergedResources:C.Dict.merge({xref:a,dictArray:[n,s,e],mergeSubDicts:!0})},r.fieldFlags=(0,k.getInheritableProperty)({dict:t,key:"Ff"}),(!Number.isInteger(r.fieldFlags)||r.fieldFlags<0)&&(r.fieldFlags=0),r.readOnly=this.hasFieldFlag(S.AnnotationFieldFlag.READONLY),r.required=this.hasFieldFlag(S.AnnotationFieldFlag.REQUIRED),r.hidden=this._hasFlag(r.annotationFlags,S.AnnotationFlag.HIDDEN)}_decodeFormValue(e){return Array.isArray(e)?e.filter(e=>"string"==typeof e).map(e=>(0,S.stringToPDFString)(e)):e instanceof C.Name?(0,S.stringToPDFString)(e.name):"string"==typeof e?(0,S.stringToPDFString)(e):null}hasFieldFlag(e){return!!(this.data.fieldFlags&e)}getRotationMatrix(e){let t=e?.get(this.data.id)?.rotation;var a;return 0===(t=void 0===t?this.rotation:t)?S.IDENTITY_MATRIX:(e=this.data.rect[2]-this.data.rect[0],a=this.data.rect[3]-this.data.rect[1],(0,k.getRotationMatrix)(t,e,a))}getBorderAndBackgroundAppearances(e){let t=e?.get(this.data.id)?.rotation;if(void 0===t&&(t=this.rotation),!this.backgroundColor&&!this.borderColor)return"";var e=this.data.rect[2]-this.data.rect[0],a=this.data.rect[3]-this.data.rect[1],a=0===t||180===t?`0 0 ${e} ${a} re`:`0 0 ${a} ${e} re`;let r="";return this.backgroundColor&&(r=(0,A.getPdfColor)(this.backgroundColor,!0)+` ${a} f `),this.borderColor&&(r+=`${this.borderStyle.width||1} w ${(0,A.getPdfColor)(this.borderColor,!1)} ${a} S `),r}async getOperatorList(t,a,r,i,n){if(i&&!(this instanceof x)&&!this.data.noHTML&&!this.data.hasOwnCanvas)return{opList:new d.OperatorList,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(t,a,r,i,n);var s=await this._getAppearance(t,a,r,n);if(this.appearance&&null===s)return super.getOperatorList(t,a,r,i,n);r=new d.OperatorList;if(this._defaultAppearance&&null!==s){i=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],i=m(this.data.rect,i,[1,0,0,1,0,0]);let e;void 0!==(e=this.oc?await t.parseMarkedContentProps(this.oc,null):e)&&r.addOp(S.OPS.beginMarkedContentProps,["OC",e]),r.addOp(S.OPS.beginAnnotation,[this.data.id,this.data.rect,i,this.getRotationMatrix(n),!1]);i=new F.StringStream(s);await t.getOperatorList({stream:i,task:a,resources:this._fieldResources.mergedResources,operatorList:r}),r.addOp(S.OPS.endAnnotation,[]),void 0!==e&&r.addOp(S.OPS.endMarkedContent,[])}return{opList:r,separateForm:!1,separateCanvas:!1}}_getMKDict(e){var t=new C.Dict(null);return e&&t.set("R",e),this.borderColor&&t.set("BC",p(this.borderColor)),this.backgroundColor&&t.set("BG",p(this.backgroundColor)),0<t.size?t:null}amendSavedDict(e,t){}async save(t,a,r){const i=r?.get(this.data.id);let n=i?.value,s=i?.rotation;if(n===this.data.fieldValue||void 0===n){if(!this._hasValueFromXFA&&void 0===s)return null;n||=this.data.fieldValue}if(void 0===s&&!this._hasValueFromXFA&&Array.isArray(n)&&Array.isArray(this.data.fieldValue)&&n.length===this.data.fieldValue.length&&n.every((e,t)=>e===this.data.fieldValue[t]))return null;void 0===s&&(s=this.rotation);let o=null;if(!this._needAppearances&&null===(o=await this._getAppearance(t,a,S.RenderingIntentFlag.SAVE,r)))return null;let l=!1;o?.needAppearances&&(l=!0,o=null);var c=t["xref"],e=c.fetchIfRef(this.ref);if(!(e instanceof C.Dict))return null;var h=new C.Dict(c);for(const t of e.getKeys())"AP"!==t&&h.set(t,e.getRaw(t));var a={path:this.data.fieldName,value:n},t=e=>(0,k.isAscii)(e)?e:(0,k.stringToUTF16String)(e,!0),t=(h.set("V",Array.isArray(n)?n.map(t):t(n)),this.amendSavedDict(r,h),this._getMKDict(s)),u=(t&&h.set("MK",t),c.encrypt),t=u?u.createCipherTransform(this.ref.num,this.ref.gen):null,d=[],f=[{ref:this.ref,data:"",xfa:a,needAppearances:l}];if(null!==o){const t=c.getNewTemporaryRef(),a=new C.Dict(c);h.set("AP",a),a.set("N",t);let e=null;u&&(e=u.createCipherTransform(t.num,t.gen));const i=this._getSaveFieldResources(c),n=new F.StringStream(o),s=n.dict=new C.Dict(c),l=(s.set("Subtype",C.Name.get("Form")),s.set("Resources",i),s.set("BBox",[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]]),this.getRotationMatrix(r));l!==S.IDENTITY_MATRIX&&s.set("Matrix",l),await(0,g.writeObject)(t,n,d,e),f.push({ref:t,data:d.join(""),xfa:null,needAppearances:!1}),d.length=0}return h.set("M","D:"+(0,S.getModificationDate)()),await(0,g.writeObject)(this.ref,h,d,t),f[0].data=d.join(""),f}async _getAppearance(e,t,a,r){if(this.hasFieldFlag(S.AnnotationFieldFlag.PASSWORD))return null;const i=r?.get(this.data.id);let n,s;if(i&&(n=i.formattedValue||i.value,s=i.rotation),void 0===s&&void 0===n&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;const o=this.getBorderAndBackgroundAppearances(r);if(void 0===n&&!(n=this.data.fieldValue))return`/Tx BMC q ${o}Q EMC`;if(Array.isArray(n)&&1===n.length&&(n=n[0]),(0,S.assert)("string"==typeof n,"Expected `value` to be a string."),n=n.trim(),this.data.combo){const e=this.data.options.find(({exportValue:e})=>n===e);n=e?.displayValue||n}if(""===n)return`/Tx BMC q ${o}Q EMC`;void 0===s&&(s=this.rotation);let l,c=-1,h=(this.data.multiLine?(l=n.split(/\r\n?|\n/).map(e=>e.normalize("NFC")),c=l.length):l=[n.replace(/\r\n?|\n/,"").normalize("NFC")],this.data.rect[3]-this.data.rect[1]),u=this.data.rect[2]-this.data.rect[0];90!==s&&270!==s||([u,h]=[h,u]),this._defaultAppearance||(this.data.defaultAppearanceData=(0,A.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g"));let d,f,g,p=await O._getFontData(e,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources);var m=[];let b=!1;for(const e of l){const t=p.encodeString(e);1<t.length&&(b=!0),m.push(t.join(""))}if(b&&a&S.RenderingIntentFlag.SAVE)return{needAppearances:!0};if(b&&this._isOffscreenCanvasSupported){const a=this.data.comb?"monospace":"sans-serif",S=new A.FakeUnicodeFont(e.xref,a),r=S.createFontResources(l.join("")),i=r.getRaw("Font");if(this._fieldResources.mergedResources.has("Font")){const e=this._fieldResources.mergedResources.get("Font");for(const t of i.getKeys())e.set(t,i.getRaw(t))}else this._fieldResources.mergedResources.set("Font",i);const s=S.fontName.name;p=await O._getFontData(e,t,{fontName:s,fontSize:0},r);for(let e=0,t=m.length;e<t;e++)m[e]=(0,k.stringToUTF16String)(l[e]);const o=Object.assign(Object.create(null),this.data.defaultAppearanceData);this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=s,[d,f,g]=this._computeFontSize(h-2,u-4,n,p,c),this.data.defaultAppearanceData=o}else this._isOffscreenCanvasSupported||(0,S.warn)("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."),[d,f,g]=this._computeFontSize(h-2,u-4,n,p,c);a=p.descent,a=isNaN(a)?S.BASELINE_FACTOR*g:Math.max(S.BASELINE_FACTOR*g,Math.abs(a)*f),e=Math.min(Math.floor((h-f)/2),1),t=this.data.textAlignment;return this.data.multiLine?this._getMultilineAppearance(d,m,p,f,u,h,t,2,e,a,g,r):this.data.comb?this._getCombAppearance(d,p,m[0],f,u,h,2,e,a,g,r):(r=e+a,0===t||2<t?`/Tx BMC q ${o}BT `+d+` 1 0 0 1 ${(0,k.numberToString)(2)} ${(0,k.numberToString)(r)} Tm (${(0,k.escapeString)(m[0])}) Tj ET Q EMC`:`/Tx BMC q ${o}BT `+d+` 1 0 0 1 0 0 Tm ${this._renderText(m[0],p,f,u,t,{shift:0},2,r)} ET Q EMC`)}static async _getFontData(e,t,a,r){var i=new d.OperatorList,n={font:null,clone(){return this}},{fontName:a,fontSize:s}=a;return await e.handleSetFont(r,[a&&C.Name.get(a),s],null,i,t,n,null),n.font}_getTextWidth(e,t){return t.charsToGlyphs(e).reduce((e,t)=>e+t.width,0)/1e3}_computeFontSize(r,i,e,n,t){let a=this.data.defaultAppearanceData["fontSize"],s=(a||12)*S.LINE_FACTOR,o=Math.round(r/s);if(!a){var l=e=>Math.floor(100*e)/100;if(-1===t){const A=this._getTextWidth(e,n);a=l(Math.min(r/S.LINE_FACTOR,A>i?i/A:1/0)),o=1}else{const A=e.split(/\r\n?|\n/),h=[];for(const r of A){const i=n.encodeString(r).join(""),e=n.charsToGlyphs(i),S=n.getCharPositions(i);h.push({line:i,glyphs:e,positions:S})}var c=e=>{let t=0;for(const a of h)if(t+=this._splitLine(null,n,e,i,a).length*e,t>r)return!0;return!1};for(o=Math.max(o,t);s=r/o,c(a=l(s/S.LINE_FACTOR));)o++}var{fontName:e,fontColor:t}=this.data.defaultAppearanceData;this._defaultAppearance=(0,A.createDefaultAppearance)({fontSize:a,fontName:e,fontColor:t})}return[this._defaultAppearance,a,r/o]}_renderText(e,t,a,r,i,n,s,o){i=1===i?(r-this._getTextWidth(e,t)*a)/2:2===i?r-this._getTextWidth(e,t)*a-s:s,r=(0,k.numberToString)(i-n.shift);return n.shift=i,`${r} ${o=(0,k.numberToString)(o)} Td (${(0,k.escapeString)(e)}) Tj`}_getSaveFieldResources(e){const{localResources:t,appearanceResources:a,acroFormResources:r}=this._fieldResources,i=this.data.defaultAppearanceData?.fontName;if(i){for(const e of[t,a])if(e instanceof C.Dict){const t=e.get("Font");if(t instanceof C.Dict&&t.has(i))return e}if(r instanceof C.Dict){const a=r.get("Font");if(a instanceof C.Dict&&a.has(i)){const r=new C.Dict(e);r.set(i,a.getRaw(i));var n=new C.Dict(e);return n.set("Font",r),C.Dict.merge({xref:e,dictArray:[n,t],mergeSubDicts:!0})}}}return t||C.Dict.empty}getFieldObject(){return null}}class y extends O{constructor(e){super(e),this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML,this._hasText=!0;e=e.dict;"string"!=typeof this.data.fieldValue&&(this.data.fieldValue="");let t=(0,k.getInheritableProperty)({dict:e,key:"Q"}),a=((!Number.isInteger(t)||t<0||2<t)&&(t=null),this.data.textAlignment=t,(0,k.getInheritableProperty)({dict:e,key:"MaxLen"}));(!Number.isInteger(a)||a<0)&&(a=0),this.data.maxLen=a,this.data.multiLine=this.hasFieldFlag(S.AnnotationFieldFlag.MULTILINE),this.data.comb=this.hasFieldFlag(S.AnnotationFieldFlag.COMB)&&!this.hasFieldFlag(S.AnnotationFieldFlag.MULTILINE)&&!this.hasFieldFlag(S.AnnotationFieldFlag.PASSWORD)&&!this.hasFieldFlag(S.AnnotationFieldFlag.FILESELECT)&&0!==this.data.maxLen,this.data.doNotScroll=this.hasFieldFlag(S.AnnotationFieldFlag.DONOTSCROLL)}get hasTextContent(){return!!this.appearance}_getCombAppearance(e,t,a,r,i,n,s,o,l,c,h){var i=i/this.data.maxLen,h=this.getBorderAndBackgroundAppearances(h),u=[],d=t.getCharPositions(a);for(const[e,t]of d)u.push(`(${(0,k.escapeString)(a.substring(e,t))}) Tj`);t=u.join(` ${(0,k.numberToString)(i)} 0 Td `);return`/Tx BMC q ${h}BT `+e+` 1 0 0 1 ${(0,k.numberToString)(s)} ${(0,k.numberToString)(o+l)} Tm ${t} ET Q EMC`}_getMultilineAppearance(e,t,r,i,n,s,o,l,c,h,u,d){var f=[],g=n-2*l,p={shift:0};for(let a=0,e=t.length;a<e;a++){const k=t[a],s=this._splitLine(k,r,i,g);for(let e=0,t=s.length;e<t;e++){const k=s[e],d=0===a&&0===e?-c-(u-h):-u;f.push(this._renderText(k,r,i,n,o,p,l,d))}}var d=this.getBorderAndBackgroundAppearances(d),a=f.join("\n");return`/Tx BMC q ${d}BT `+e+` 1 0 0 1 0 ${(0,k.numberToString)(s)} Tm ${a} ET Q EMC`}_splitLine(a,e,r,i,n={}){a=n.line||a;var s=n.glyphs||e.charsToGlyphs(a);if(s.length<=1)return[a];var o=n.positions||e.getCharPositions(a),l=r/1e3,c=[];let h=-1,u=-1,d=-1,f=0,g=0;for(let e=0,t=s.length;e<t;e++){const[r,n]=o[e],p=s[e],m=p.width*l;" "===p.unicode?d=g+m>i?(c.push(a.substring(f,r)),f=r,g=m,h=-1):(g+=m,h=r,u=n,e):g+m>i?g=-1!==h?(c.push(a.substring(f,u)),f=u,e=d+1,h=-1,0):(c.push(a.substring(f,r)),f=r,m):g+=m}return f<a.length&&c.push(a.substring(f,a.length)),c}getFieldObject(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.hasFieldFlag(S.AnnotationFieldFlag.PASSWORD),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:"text"}}}class w extends O{constructor(e){super(e),this.checkedAppearance=null,this.uncheckedAppearance=null,this.data.checkBox=!this.hasFieldFlag(S.AnnotationFieldFlag.RADIO)&&!this.hasFieldFlag(S.AnnotationFieldFlag.PUSHBUTTON),this.data.radioButton=this.hasFieldFlag(S.AnnotationFieldFlag.RADIO)&&!this.hasFieldFlag(S.AnnotationFieldFlag.PUSHBUTTON),this.data.pushButton=this.hasFieldFlag(S.AnnotationFieldFlag.PUSHBUTTON),this.data.isTooltipOnly=!1,this.data.checkBox?this._processCheckBox(e):this.data.radioButton?this._processRadioButton(e):this.data.pushButton?(this.data.hasOwnCanvas=!0,this._processPushButton(e)):(0,S.warn)("Invalid field flags for button widget annotation")}async getOperatorList(e,t,a,r,i){if(this.data.pushButton)return super.getOperatorList(e,t,a,!1,i);let n=null,s=null;if(i){const e=i.get(this.data.id);n=e?e.value:null,s=e?e.rotation:null}if(null===n&&this.appearance)return super.getOperatorList(e,t,a,r,i);var o=(n=null==n?this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue:n)?this.checkedAppearance:this.uncheckedAppearance;if(o){const n=this.appearance,l=o.dict.getArray("Matrix")||S.IDENTITY_MATRIX;s&&o.dict.set("Matrix",this.getRotationMatrix(i)),this.appearance=o;e=super.getOperatorList(e,t,a,r,i);return this.appearance=n,o.dict.set("Matrix",l),e}return{opList:new d.OperatorList,separateForm:!1,separateCanvas:!1}}async save(e,t,a){return this.data.checkBox?this._saveCheckbox(e,t,a):this.data.radioButton?this._saveRadioButton(e,t,a):null}async _saveCheckbox(e,t,a){if(!a)return null;a=a.get(this.data.id);let r=a?.rotation,i=a?.value;if(void 0===r){if(void 0===i)return null;if(this.data.fieldValue===this.data.exportValue===i)return null}a=e.xref.fetchIfRef(this.ref);if(!(a instanceof C.Dict))return null;void 0===r&&(r=this.rotation),void 0===i&&(i=this.data.fieldValue===this.data.exportValue);var n={path:this.data.fieldName,value:i?this.data.exportValue:""},s=C.Name.get(i?this.data.exportValue:"Off"),s=(a.set("V",s),a.set("AS",s),a.set("M","D:"+(0,S.getModificationDate)()),this._getMKDict(r)),s=(s&&a.set("MK",s),e.xref.encrypt);let o=null;s&&(o=s.createCipherTransform(this.ref.num,this.ref.gen));e=[`${this.ref.num} ${this.ref.gen} obj\n`];return await(0,g.writeDict)(a,e,o),e.push("\nendobj\n"),[{ref:this.ref,data:e.join(""),xfa:n}]}async _saveRadioButton(t,a,e){if(!e)return null;e=e.get(this.data.id);let r=e?.rotation,i=e?.value;if(void 0===r){if(void 0===i)return null;if(this.data.fieldValue===this.data.buttonValue===i)return null}e=t.xref.fetchIfRef(this.ref);if(!(e instanceof C.Dict))return null;void 0===i&&(i=this.data.fieldValue===this.data.buttonValue),void 0===r&&(r=this.rotation);var n={path:this.data.fieldName,value:i?this.data.buttonValue:""},s=C.Name.get(i?this.data.buttonValue:"Off");let o=null;var l=t.xref.encrypt;if(i)if(this.parent instanceof C.Ref){const a=t.xref.fetch(this.parent);let e=null;l&&(e=l.createCipherTransform(this.parent.num,this.parent.gen)),a.set("V",s),o=[`${this.parent.num} ${this.parent.gen} obj\n`],await(0,g.writeDict)(a,o,e),o.push("\nendobj\n")}else this.parent instanceof C.Dict&&this.parent.set("V",s);e.set("AS",s),e.set("M","D:"+(0,S.getModificationDate)());t=this._getMKDict(r);t&&e.set("MK",t);let c=null;l&&(c=l.createCipherTransform(this.ref.num,this.ref.gen));s=[`${this.ref.num} ${this.ref.gen} obj\n`],await(0,g.writeDict)(e,s,c),s.push("\nendobj\n"),t=[{ref:this.ref,data:s.join(""),xfa:n}];return null!==o&&t.push({ref:this.parent,data:o.join(""),xfa:null}),t}_getDefaultCheckedAppearance(e,t){var a=this.data.rect[2]-this.data.rect[0],r=this.data.rect[3]-this.data.rect[1],i=[0,0,a,r],n=.8*Math.min(a,r);let s,o;"check"===t?(s={width:.755*n,height:.705*n},o="3"):"disc"===t?(s={width:.791*n,height:.705*n},o="l"):(0,S.unreachable)("_getDefaultCheckedAppearance - unsupported type: "+t);t=`q BT /PdfJsZaDb ${n} Tf 0 g ${(0,k.numberToString)((a-s.width)/2)} ${(0,k.numberToString)((r-s.height)/2)} Td (${o}) Tj ET Q`,n=new C.Dict(e.xref),n.set("FormType",1),n.set("Subtype",C.Name.get("Form")),n.set("Type",C.Name.get("XObject")),n.set("BBox",i),n.set("Matrix",[1,0,0,1,0,0]),n.set("Length",t.length),a=new C.Dict(e.xref),r=new C.Dict(e.xref);r.set("PdfJsZaDb",this.fallbackFontDict),a.set("Font",r),n.set("Resources",a),this.checkedAppearance=new F.StringStream(t),this.checkedAppearance.dict=n,this._streams.push(this.checkedAppearance)}_processCheckBox(e){var t=e.dict.get("AP");if(t instanceof C.Dict){t=t.get("N");if(t instanceof C.Dict){var a=this._decodeFormValue(e.dict.get("AS")),a=("string"==typeof a&&(this.data.fieldValue=a),null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes"),r=t.getKeys();if(0===r.length)r.push("Off",a);else if(1===r.length)"Off"===r[0]?r.push(a):r.unshift("Off");else if(r.includes(a))r.length=0,r.push("Off",a);else{const e=r.find(e=>"Off"!==e);r.length=0,r.push("Off",e)}r.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=r[1];a=t.get(this.data.exportValue),r=(this.checkedAppearance=a instanceof i.BaseStream?a:null,t.get("Off"));this.uncheckedAppearance=r instanceof i.BaseStream?r:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}_processRadioButton(e){this.data.fieldValue=this.data.buttonValue=null;var t=e.dict.get("Parent");if(t instanceof C.Dict){this.parent=e.dict.getRaw("Parent");const a=t.get("V");a instanceof C.Name&&(this.data.fieldValue=this._decodeFormValue(a))}const a=e.dict.get("AP");if(a instanceof C.Dict){t=a.get("N");if(t instanceof C.Dict){for(const e of t.getKeys())if("Off"!==e){this.data.buttonValue=this._decodeFormValue(e);break}var r=t.get(this.data.buttonValue),r=(this.checkedAppearance=r instanceof i.BaseStream?r:null,t.get("Off"));this.uncheckedAppearance=r instanceof i.BaseStream?r:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}_processPushButton(e){e.dict.has("A")||e.dict.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!e.dict.has("A")&&!e.dict.has("AA"),r.Catalog.parseDestDictionary({destDict:e.dict,resultObj:this.data,docBaseUrl:e.pdfManager.docBaseUrl,docAttachments:e.attachments})):(0,S.warn)("Push buttons without action dictionaries are not supported")}getFieldObject(){let e,t="button";return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}get fallbackFontDict(){var e=new C.Dict;return e.set("BaseFont",C.Name.get("ZapfDingbats")),e.set("Type",C.Name.get("FallbackType")),e.set("Subtype",C.Name.get("FallbackType")),e.set("Encoding",C.Name.get("ZapfDingbatsEncoding")),(0,S.shadow)(this,"fallbackFontDict",e)}}class v extends O{constructor(e){super(e);const{dict:a,xref:r}=e;this.indices=a.getArray("I"),this.hasIndices=Array.isArray(this.indices)&&0<this.indices.length,this.data.options=[];var i=(0,k.getInheritableProperty)({dict:a,key:"Opt"});if(Array.isArray(i))for(let e=0,t=i.length;e<t;e++){const a=r.fetchIfRef(i[e]),S=Array.isArray(a);this.data.options[e]={exportValue:this._decodeFormValue(S?r.fetchIfRef(a[0]):a),displayValue:this._decodeFormValue(S?r.fetchIfRef(a[1]):a)}}if(this.hasIndices){this.data.fieldValue=[];const e=this.data.options.length;for(const a of this.indices)Number.isInteger(a)&&0<=a&&a<e&&this.data.fieldValue.push(this.data.options[a].exportValue)}else"string"==typeof this.data.fieldValue?this.data.fieldValue=[this.data.fieldValue]:this.data.fieldValue||(this.data.fieldValue=[]);this.data.combo=this.hasFieldFlag(S.AnnotationFieldFlag.COMBO),this.data.multiSelect=this.hasFieldFlag(S.AnnotationFieldFlag.MULTISELECT),this._hasText=!0}getFieldObject(){var e=this.data.combo?"combobox":"listbox",t=0<this.data.fieldValue.length?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}amendSavedDict(e,t){if(this.hasIndices){let r=e?.get(this.data.id)?.value;Array.isArray(r)||(r=[r]);var i=[],n=this.data["options"];for(let e=0,t=0,a=n.length;e<a;e++)n[e].exportValue===r[t]&&(i.push(e),t+=1);t.set("I",i)}}async _getAppearance(a,t,r,e){if(this.data.combo)return super._getAppearance(a,t,r,e);let i,n;r=e?.get(this.data.id);if(r&&(n=r.rotation,i=r.value),void 0===n&&void 0===i&&!this._needAppearances)return null;void 0===i?i=this.data.fieldValue:Array.isArray(i)||(i=[i]);let s=this.data.rect[3]-this.data.rect[1],o=this.data.rect[2]-this.data.rect[0];90!==n&&270!==n||([o,s]=[s,o]);var l=this.data.options.length,c=[];for(let e=0;e<l;e++){const t=this.data.options[e]["exportValue"];i.includes(t)&&c.push(e)}this._defaultAppearance||(this.data.defaultAppearanceData=(0,A.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g"));var h=await O._getFontData(a,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources);let u,d=this.data.defaultAppearanceData["fontSize"];if(d)u=this._defaultAppearance;else{const a=(s-1)/l;let e,t=-1;for(const{displayValue:a}of this.data.options){const S=this._getTextWidth(a,h);S>t&&(t=S,e=a)}[u,d]=this._computeFontSize(a,o-4,e,h,-1)}var f=d*S.LINE_FACTOR,g=(f-d)/2,e=Math.floor(s/f);let p;if(1===c.length){const a=c[0];p=a-a%e}else p=c.length?c[0]:0;var m=Math.min(p+e+1,l),b=["/Tx BMC q",`1 1 ${o} ${s} re W n`];if(c.length){b.push("0.600006 0.756866 0.854904 rg");for(const a of c)p<=a&&a<m&&b.push(`1 ${s-(a-p+1)*f} ${o} ${f} re f`)}b.push("BT",u,`1 0 0 1 0 ${s} Tm`);var y={shift:0};for(let e=p;e<m;e++){const t=this.data.options[e]["displayValue"],r=e===p?g:0;b.push(this._renderText(t,h,d,o,0,y,2,-f+r))}return b.push("ET Q EMC"),b.join("\n")}}class x extends O{constructor(e){super(e),this.data.fieldValue=null,this.data.hasOwnCanvas=this.data.noRotate}getFieldObject(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}class I extends u{constructor(e){super(e),this.data.noRotate=!0,this.data.hasOwnCanvas=this.data.noRotate;e=e.dict;this.data.annotationType=S.AnnotationType.TEXT,this.data.hasAppearance?this.data.name="NoIcon":(this.data.rect[1]=this.data.rect[3]-22,this.data.rect[2]=this.data.rect[0]+22,this.data.name=e.has("Name")?e.get("Name").name:"Note"),e.has("State")?(this.data.state=e.get("State")||null,this.data.stateModel=e.get("StateModel")||null):(this.data.state=null,this.data.stateModel=null)}}class T extends b{constructor(e){super(e),this.data.annotationType=S.AnnotationType.LINK;var t=c(e.dict,this.rectangle);t&&(this.data.quadPoints=t),this.data.borderColor||=this.data.color,r.Catalog.parseDestDictionary({destDict:e.dict,resultObj:this.data,docBaseUrl:e.pdfManager.docBaseUrl,docAttachments:e.attachments})}}class M extends b{constructor(e){super(e);e=e.dict;this.data.annotationType=S.AnnotationType.POPUP;let t=e.get("Parent");if(t){var a=t.get("Subtype"),a=(this.data.parentType=a instanceof C.Name?a.name:null,e.getRaw("Parent")),e=(this.data.parentId=a instanceof C.Ref?a.toString():null,t.getArray("Rect")),a=(Array.isArray(e)&&4===e.length?this.data.parentRect=S.Util.normalizeRect(e):this.data.parentRect=[0,0,0,0],t.get("RT"));if((t=(0,C.isName)(a,S.AnnotationReplyType.GROUP)?t.get("IRT"):t).has("M")?(this.setModificationDate(t.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,t.has("C")?(this.setColor(t.getArray("C")),this.data.color=this.color):this.data.color=null,!this.viewable){const e=t.get("F");this._isViewable(e)&&this.setFlags(e)}this.setTitle(t.get("T")),this.data.titleObj=this._title,this.setContents(t.get("Contents")),this.data.contentsObj=this._contents,t.has("RC")&&(this.data.richText=l.XFAFactory.getRichTextAsHtml(t.get("RC")))}else(0,S.warn)("Popup annotation has a missing or invalid parent annotation.")}}e.PopupAnnotation=M;class P extends u{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate;var t=e["xref"];if(this.data.annotationType=S.AnnotationType.FREETEXT,this.setDefaultAppearance(e),!this.appearance&&this._isOffscreenCanvasSupported){const a=e.dict.get("CA"),S=new A.FakeUnicodeFont(t,"sans-serif"),r=this.data.defaultAppearanceData;this.appearance=S.createAppearance(this._contents.str,this.rectangle,this.rotation,r.fontSize||10,r.fontColor,a),this._streams.push(this.appearance,A.FakeUnicodeFont.toUnicodeStream)}else this._isOffscreenCanvasSupported||(0,S.warn)("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}get hasTextContent(){return!!this.appearance}static createNewDict(e,t,{apRef:a,ap:r}){var{color:e,fontSize:i,rect:n,rotation:s,user:o,value:l}=e,c=new C.Dict(t),n=(c.set("Type",C.Name.get("Annot")),c.set("Subtype",C.Name.get("FreeText")),c.set("CreationDate","D:"+(0,S.getModificationDate)()),c.set("Rect",n),`/Helv ${i} Tf `+(0,A.getPdfColor)(e,!0));if(c.set("DA",n),c.set("Contents",(0,k.isAscii)(l)?l:(0,k.stringToUTF16String)(l,!0)),c.set("F",4),c.set("Border",[0,0,0]),c.set("Rotate",s),o&&c.set("T",(0,k.isAscii)(o)?o:(0,k.stringToUTF16String)(o,!0)),a||r){const e=new C.Dict(t);c.set("AP",e),a?e.set("N",a):e.set("N",r)}return c}static async createNewAppearanceStream(t,a,e){var{baseFontRef:e,evaluator:r,task:i}=e,{color:t,fontSize:n,rect:s,rotation:o,value:l}=t,c=new C.Dict(a),h=new C.Dict(a);if(e)h.set("Helv",e);else{const t=new C.Dict(a);t.set("BaseFont",C.Name.get("Helvetica")),t.set("Type",C.Name.get("Font")),t.set("Subtype",C.Name.get("Type1")),t.set("Encoding",C.Name.get("WinAnsiEncoding")),h.set("Helv",t)}c.set("Font",h);var u=await O._getFontData(r,i,{fontName:"Helvetica",fontSize:n},c),[e,h,r,i]=s;let d=r-e,f=i-h;o%180!=0&&([d,f]=[f,d]);var s=l.split("\n"),g=n/1e3;let p=-1/0;var m,b=[];for(m of s){const a=u.encodeString(m);if(1<a.length)return null;m=a.join(""),b.push(m);let e=0;const S=u.charsToGlyphs(m);for(const t of S)e+=t.width*g;p=Math.max(p,e)}let y=1,w=(p>d&&(y=d/p),1);var r=S.LINE_FACTOR*n,e=S.LINE_DESCENT_FACTOR*n,i=r*s.length,h=(i>f&&(w=f/i),n*Math.min(y,w)),v=["q",`0 0 ${(0,k.numberToString)(d)} ${(0,k.numberToString)(f)} re W n`,"BT",`1 0 0 1 0 ${(0,k.numberToString)(f+e)} Tm 0 Tc `+(0,A.getPdfColor)(t,!0),`/Helv ${(0,k.numberToString)(h)} Tf`],x=(0,k.numberToString)(r);for(const t of b)v.push(`0 -${x} Td (${(0,k.escapeString)(t)}) Tj`);v.push("ET","Q");l=v.join("\n"),s=new C.Dict(a);if(s.set("FormType",1),s.set("Subtype",C.Name.get("Form")),s.set("Type",C.Name.get("XObject")),s.set("BBox",[0,0,d,f]),s.set("Resources",c),o){const t=(0,k.getRotationMatrix)(o,d,f);s.set("Matrix",t)}i=new F.StringStream(l);return i.dict=s,i}}class E extends u{constructor(e){super(e);var{dict:t,xref:a}=e;this.data.annotationType=S.AnnotationType.LINE,this.data.hasOwnCanvas=this.data.noRotate;const r=t.getArray("L");if(this.data.lineCoordinates=S.Util.normalizeRect(r),this.setLineEndings(t.getArray("LE")),this.data.lineEndings=this.lineEndings,!this.appearance){const e=this.color?p(this.color):[0,0,0],i=t.get("CA"),n=f(t.getArray("IC"),null),s=n?p(n):null,o=s?i:null,l=this.borderStyle.width||1,c=2*l,h=[this.data.lineCoordinates[0]-c,this.data.lineCoordinates[1]-c,this.data.lineCoordinates[2]+c,this.data.lineCoordinates[3]+c];S.Util.intersect(this.rectangle,h)||(this.rectangle=h),this._setDefaultAppearance({xref:a,extra:l+" w",strokeColor:e,fillColor:s,strokeAlpha:i,fillAlpha:o,pointsCallback:(e,t)=>(e.push(`${r[0]} ${r[1]} m`,`${r[2]} ${r[3]} l`,"S"),[t[0].x-l,t[1].x+l,t[3].y-l,t[1].y+l])})}}}class L extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.SQUARE,this.data.hasOwnCanvas=this.data.noRotate,!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA"),r=f(t.getArray("IC"),null),s=r?p(r):null,i=s?S:null;0===this.borderStyle.width&&!s||this._setDefaultAppearance({xref:a,extra:this.borderStyle.width+" w",strokeColor:e,fillColor:s,strokeAlpha:S,fillAlpha:i,pointsCallback:(e,t)=>{var a=t[2].x+this.borderStyle.width/2,r=t[2].y+this.borderStyle.width/2,i=t[3].x-t[2].x-this.borderStyle.width,n=t[1].y-t[3].y-this.borderStyle.width;return e.push(a+` ${r} ${i} ${n} re`),s?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}}class _ extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.CIRCLE,!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA"),r=f(t.getArray("IC"),null),h=r?p(r):null,i=h?S:null;if(0!==this.borderStyle.width||h){const u=4/3*Math.tan(Math.PI/8);this._setDefaultAppearance({xref:a,extra:this.borderStyle.width+" w",strokeColor:e,fillColor:h,strokeAlpha:S,fillAlpha:i,pointsCallback:(e,t)=>{var a=t[0].x+this.borderStyle.width/2,r=t[0].y-this.borderStyle.width/2,i=t[3].x-this.borderStyle.width/2,n=t[3].y+this.borderStyle.width/2,s=a+(i-a)/2,o=r+(n-r)/2,l=(i-a)/2*u,c=(n-r)/2*u;return e.push(s+` ${n} m`,s+l+` ${n} ${i} ${o+c} ${i} ${o} c`,i+` ${o-c} ${s+l} ${r} ${s} ${r} c`,s-l+` ${r} ${a} ${o-c} ${a} ${o} c`,a+` ${o+c} ${s-l} ${n} ${s} ${n} c`,"h"),h?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}}}class N extends u{constructor(e){super(e);var{dict:t,xref:a}=e;this.data.annotationType=S.AnnotationType.POLYLINE,this.data.hasOwnCanvas=this.data.noRotate,this.data.vertices=[],this instanceof B||(this.setLineEndings(t.getArray("LE")),this.data.lineEndings=this.lineEndings);const r=t.getArray("Vertices");if(Array.isArray(r)){for(let e=0,t=r.length;e<t;e+=2)this.data.vertices.push({x:r[e],y:r[e+1]});if(!this.appearance){const e=this.color?p(this.color):[0,0,0],r=t.get("CA"),i=this.borderStyle.width||1,n=2*i,s=[1/0,1/0,-1/0,-1/0];for(const e of this.data.vertices)s[0]=Math.min(s[0],e.x-n),s[1]=Math.min(s[1],e.y-n),s[2]=Math.max(s[2],e.x+n),s[3]=Math.max(s[3],e.y+n);S.Util.intersect(this.rectangle,s)||(this.rectangle=s),this._setDefaultAppearance({xref:a,extra:i+" w",strokeColor:e,strokeAlpha:r,pointsCallback:(a,e)=>{var r=this.data.vertices;for(let e=0,t=r.length;e<t;e++)a.push(`${r[e].x} ${r[e].y} `+(0===e?"m":"l"));return a.push("S"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}}}}class B extends N{constructor(e){super(e),this.data.annotationType=S.AnnotationType.POLYGON}}class j extends u{constructor(e){super(e),this.data.annotationType=S.AnnotationType.CARET}}class D extends u{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate;const{dict:t,xref:r}=e,i=(this.data.annotationType=S.AnnotationType.INK,this.data.inkLists=[],t.getArray("InkList"));if(Array.isArray(i)){for(let a=0,e=i.length;a<e;++a){this.data.inkLists.push([]);for(let e=0,t=i[a].length;e<t;e+=2)this.data.inkLists[a].push({x:r.fetchIfRef(i[a][e]),y:r.fetchIfRef(i[a][e+1])})}if(!this.appearance){const e=this.color?p(this.color):[0,0,0],i=t.get("CA"),a=this.borderStyle.width||1,n=2*a,s=[1/0,1/0,-1/0,-1/0];for(const e of this.data.inkLists)for(const t of e)s[0]=Math.min(s[0],t.x-n),s[1]=Math.min(s[1],t.y-n),s[2]=Math.max(s[2],t.x+n),s[3]=Math.max(s[3],t.y+n);S.Util.intersect(this.rectangle,s)||(this.rectangle=s),this._setDefaultAppearance({xref:r,extra:a+" w",strokeColor:e,strokeAlpha:i,pointsCallback:(a,r)=>{for(const r of this.data.inkLists){for(let e=0,t=r.length;e<t;e++)a.push(`${r[e].x} ${r[e].y} `+(0===e?"m":"l"));a.push("S")}return[r[0].x,r[1].x,r[3].y,r[1].y]}})}}}static createNewDict(e,t,{apRef:a,ap:r}){var{paths:e,rect:i,rotation:n}=e,s=new C.Dict(t),i=(s.set("Type",C.Name.get("Annot")),s.set("Subtype",C.Name.get("Ink")),s.set("CreationDate","D:"+(0,S.getModificationDate)()),s.set("Rect",i),s.set("InkList",e.map(e=>e.points)),s.set("F",4),s.set("Border",[0,0,0]),s.set("Rotate",n),new C.Dict(t));return s.set("AP",i),a?i.set("N",a):i.set("N",r),s}static async createNewAppearanceStream(a,e,r){const{color:t,rect:i,rotation:n,paths:s,thickness:o,opacity:l}=a,[c,h,u,d]=i;let f=u-c,g=d-h;n%180!=0&&([f,g]=[g,f]);var p=[o+" w 1 J 1 j",""+(0,A.getPdfColor)(t,!1)],m=(1!==l&&p.push("/R0 gs"),[]);for(const{bezier:a}of s){m.length=0,m.push(`${(0,k.numberToString)(a[0])} ${(0,k.numberToString)(a[1])} m`);for(let e=2,t=a.length;e<t;e+=6){const r=a.slice(e,e+6).map(k.numberToString).join(" ");m.push(r+" c")}m.push("S"),p.push(m.join("\n"))}var a=p.join("\n"),b=new C.Dict(e);if(b.set("FormType",1),b.set("Subtype",C.Name.get("Form")),b.set("Type",C.Name.get("XObject")),b.set("BBox",[0,0,f,g]),b.set("Length",a.length),n){const a=(0,k.getRotationMatrix)(n,f,g);b.set("Matrix",a)}if(1!==l){const a=new C.Dict(e),r=new C.Dict(e),t=new C.Dict(e);t.set("CA",l),t.set("Type",C.Name.get("ExtGState")),r.set("R0",t),a.set("ExtGState",r),b.set("Resources",a)}e=new F.StringStream(a);return e.dict=b,e}}class $ extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.HIGHLIGHT,this.data.quadPoints=c(t,null)){const e=this.appearance?.dict.get("Resources");if(!this.appearance||!e?.has("ExtGState")){this.appearance&&(0,S.warn)("HighlightAnnotation - ignoring built-in appearance stream.");const e=this.color?p(this.color):[1,1,0],r=t.get("CA");this._setDefaultAppearance({xref:a,fillColor:e,blendMode:"Multiply",fillAlpha:r,pointsCallback:(e,t)=>(e.push(`${t[0].x} ${t[0].y} m`,`${t[1].x} ${t[1].y} l`,`${t[3].x} ${t[3].y} l`,`${t[2].x} ${t[2].y} l`,"f"),[t[0].x,t[1].x,t[3].y,t[1].y])})}}else this.data.hasPopup=!1}}class U extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.UNDERLINE,this.data.quadPoints=c(t,null)){if(!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 0.571 w",strokeColor:e,strokeAlpha:S,pointsCallback:(e,t)=>(e.push(`${t[2].x} ${t[2].y+1.3} m`,`${t[3].x} ${t[3].y+1.3} l`,"S"),[t[0].x,t[1].x,t[3].y,t[1].y])})}}else this.data.hasPopup=!1}}class X extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.SQUIGGLY,this.data.quadPoints=c(t,null)){if(!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 1 w",strokeColor:e,strokeAlpha:S,pointsCallback:(e,t)=>{var a=(t[0].y-t[2].y)/6;let r=a,i=t[2].x;var n=t[2].y,s=t[3].x;for(e.push(`${i} ${n+r} m`);i+=2,r=0===r?a:0,e.push(`${i} ${n+r} l`),i<s;);return e.push("S"),[t[2].x,s,n-2*a,n+2*a]}})}}else this.data.hasPopup=!1}}class H extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.STRIKEOUT,this.data.quadPoints=c(t,null)){if(!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 1 w",strokeColor:e,strokeAlpha:S,pointsCallback:(e,t)=>(e.push((t[0].x+t[2].x)/2+" "+(t[0].y+t[2].y)/2+" m",(t[1].x+t[3].x)/2+" "+(t[1].y+t[3].y)/2+" l","S"),[t[0].x,t[1].x,t[3].y,t[1].y])})}}else this.data.hasPopup=!1}}class q extends u{constructor(e){super(e),this.data.annotationType=S.AnnotationType.STAMP,this.data.hasOwnCanvas=this.data.noRotate}}class z extends u{constructor(e){super(e);var{dict:e,xref:t}=e,t=new s.FileSpec(e.get("FS"),t),t=(this.data.annotationType=S.AnnotationType.FILEATTACHMENT,this.data.hasOwnCanvas=this.data.noRotate,this.data.file=t.serializable,e.get("Name"));this.data.name=t instanceof C.Name?(0,S.stringToPDFString)(t.name):"PushPin"}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FakeUnicodeFont=void 0,t.createDefaultAppearance=function({fontSize:e,fontName:t,fontColor:a}){return`/${(0,w.escapePDFName)(t)} ${e} Tf `+S(a,!0)},t.getPdfColor=S,t.parseDefaultAppearance=function(e){return new n(e).parse()};var y=a(4),w=a(3),v=a(2),i=a(12),r=a(13),x=a(8);class n extends r.EvaluatorPreprocessor{constructor(e){super(new x.StringStream(e))}parse(){const e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,this.read(e);)if(0===this.savedStatesDepth){var a=e["args"];switch(0|r){case v.OPS.setFont:const[e,r]=a;e instanceof y.Name&&(t.fontName=e.name),"number"==typeof r&&0<r&&(t.fontSize=r);break;case v.OPS.setFillRGBColor:i.ColorSpace.singletons.rgb.getRgbItem(a,0,t.fontColor,0);break;case v.OPS.setFillGray:i.ColorSpace.singletons.gray.getRgbItem(a,0,t.fontColor,0);break;case v.OPS.setFillColorSpace:i.ColorSpace.singletons.cmyk.getRgbItem(a,0,t.fontColor,0)}}}catch(e){(0,v.warn)(`parseDefaultAppearance - ignoring errors: "${e}".`)}return t}}function S(e,t){var a;return e[0]===e[1]&&e[1]===e[2]?(a=e[0]/255,(0,w.numberToString)(a)+" "+(t?"g":"G")):Array.from(e,e=>(0,w.numberToString)(e/255)).join(" ")+" "+(t?"rg":"RG")}class s{constructor(e,t){this.xref=e,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=t;e=new OffscreenCanvas(1,1);this.ctxMeasure=e.getContext("2d"),s._fontNameId||(s._fontNameId=1),this.fontName=y.Name.get(`InvalidPDFjsFont_${t}_`+s._fontNameId++)}get toUnicodeRef(){var e,t,a;return s._toUnicodeRef||(e="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo\n<< /Registry (Adobe)\n/Ordering (UCS) /Supplement 0 >> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000> <FFFF>\nendcodespacerange\n1 beginbfrange\n<0000> <FFFF> <0000>\nendbfrange\nendcmap CMapName currentdict /CMap defineresource pop end end",t=s.toUnicodeStream=new x.StringStream(e),a=new y.Dict(this.xref),(t.dict=a).set("Length",e.length),s._toUnicodeRef=this.xref.getNewPersistentRef(t)),s._toUnicodeRef}get fontDescriptorRef(){var e;return s._fontDescriptorRef||((e=new y.Dict(this.xref)).set("Type",y.Name.get("FontDescriptor")),e.set("FontName",this.fontName),e.set("FontFamily","MyriadPro Regular"),e.set("FontBBox",[0,0,0,0]),e.set("FontStretch",y.Name.get("Normal")),e.set("FontWeight",400),e.set("ItalicAngle",0),s._fontDescriptorRef=this.xref.getNewPersistentRef(e)),s._fontDescriptorRef}get descendantFontRef(){const e=new y.Dict(this.xref);e.set("BaseFont",this.fontName),e.set("Type",y.Name.get("Font")),e.set("Subtype",y.Name.get("CIDFontType0")),e.set("CIDToGIDMap",y.Name.get("Identity")),e.set("FirstChar",this.firstChar),e.set("LastChar",this.lastChar),e.set("FontDescriptor",this.fontDescriptorRef),e.set("DW",1e3);var t=[];let a=null,r=null;for(const[e,y]of[...this.widths.entries()].sort())a?e===a+r.length?r.push(y):(t.push(a,r),a=e,r=[y]):(a=e,r=[y]);a&&t.push(a,r),e.set("W",t);var i=new y.Dict(this.xref);return i.set("Ordering","Identity"),i.set("Registry","Adobe"),i.set("Supplement",0),e.set("CIDSystemInfo",i),this.xref.getNewPersistentRef(e)}get baseFontRef(){var e=new y.Dict(this.xref);return e.set("BaseFont",this.fontName),e.set("Type",y.Name.get("Font")),e.set("Subtype",y.Name.get("Type0")),e.set("Encoding",y.Name.get("Identity-H")),e.set("DescendantFonts",[this.descendantFontRef]),e.set("ToUnicode",this.toUnicodeRef),this.xref.getNewPersistentRef(e)}get resources(){var e=new y.Dict(this.xref),t=new y.Dict(this.xref);return t.set(this.fontName.name,this.baseFontRef),e.set("Font",t),e}_createContext(){return this.widths=new Map,this.ctxMeasure.font="1000px "+this.fontFamily,this.ctxMeasure}createFontResources(e){var t=this._createContext();for(const i of e.split(/\r\n?|\n/))for(const e of i.split("")){var a,r=e.charCodeAt(0);this.widths.has(r)||(a=t.measureText(e),a=Math.ceil(a.width),this.widths.set(r,a),this.firstChar=Math.min(r,this.firstChar),this.lastChar=Math.max(r,this.lastChar))}return this.resources}createAppearance(e,t,a,r,i,n){var s,o=this._createContext(),l=[];let c=-1/0;for(const t of e.split(/\r\n?|\n/)){l.push(t);const e=o.measureText(t).width;c=Math.max(c,e);for(const e of t.split("")){const t=e.charCodeAt(0);if(void 0===this.widths.get(t)){const y=o.measureText(e);s=Math.ceil(y.width),this.widths.set(t,s),this.firstChar=Math.min(t,this.firstChar),this.lastChar=Math.max(t,this.lastChar)}}}c*=r/1e3;var[e,t,h,u]=t;let d=h-e,f=u-t,g=(a%180!=0&&([d,f]=[f,d]),1),p=(c>d&&(g=d/c),1);var h=v.LINE_FACTOR*r,e=v.LINE_DESCENT_FACTOR*r,u=h*l.length,t=(u>f&&(p=f/u),r*Math.min(g,p)),m=["q",`0 0 ${(0,w.numberToString)(d)} ${(0,w.numberToString)(f)} re W n`,"BT",`1 0 0 1 0 ${(0,w.numberToString)(f+e)} Tm 0 Tc `+S(i,!0),`/${this.fontName.name} ${(0,w.numberToString)(t)} Tf`],u=this["resources"];if(1!==(n="number"==typeof n&&0<=n&&n<=1?n:1)){m.push("/R0 gs");const e=new y.Dict(this.xref),t=new y.Dict(this.xref);t.set("ca",n),t.set("CA",n),t.set("Type",y.Name.get("ExtGState")),e.set("R0",t),u.set("ExtGState",e)}var b=(0,w.numberToString)(h);for(const e of l)m.push(`0 -${b} Td <${(0,w.stringToUTF16HexString)(e)}> Tj`);m.push("ET","Q");r=m.join("\n"),i=new y.Dict(this.xref);if(i.set("Subtype",y.Name.get("Form")),i.set("Type",y.Name.get("XObject")),i.set("BBox",[0,0,d,f]),i.set("Length",r.length),i.set("Resources",u),a){const e=(0,w.getRotationMatrix)(a,d,f);i.set("Matrix",e)}e=new x.StringStream(r);return e.dict=i,e}}t.FakeUnicodeFont=s},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorSpace=void 0;var S=a(2),d=a(4),i=a(5),n=a(3);class r{constructor(e,t){this.constructor===r&&(0,S.unreachable)("Cannot initialize ColorSpace."),this.name=e,this.numComps=t}getRgb(e,t){var a=new Uint8ClampedArray(3);return this.getRgbItem(e,t,a,0),a}getRgbItem(e,t,a,r){(0,S.unreachable)("Should not call ColorSpace.getRgbItem")}getRgbBuffer(e,t,a,r,i,n,s){(0,S.unreachable)("Should not call ColorSpace.getRgbBuffer")}getOutputLength(e,t){(0,S.unreachable)("Should not call ColorSpace.getOutputLength")}isPassthrough(e){return!1}isDefaultDecode(e,t){return r.isDefaultDecode(e,this.numComps)}fillRgb(i,r,n,s,o,l,e,a,c){var h=r*n;let u=null;var t=1<<e,d=n!==o||r!==s;if(this.isPassthrough(e))u=a;else if(1===this.numComps&&t<h&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){const r=new(e<=8?Uint8Array:Uint16Array)(t);for(let e=0;e<t;e++)r[e]=e;const n=new Uint8ClampedArray(3*t);if(this.getRgbBuffer(r,0,t,n,0,e,0),d){u=new Uint8Array(3*h);let t=0;for(let e=0;e<h;++e){const s=3*a[e];u[t++]=n[s],u[t++]=n[1+s],u[t++]=n[2+s]}}else{let t=0;for(let e=0;e<h;++e){const o=3*a[e];i[t++]=n[o],i[t++]=n[1+o],i[t++]=n[2+o],t+=c}}}else d?(u=new Uint8ClampedArray(3*h),this.getRgbBuffer(a,0,h,u,0,e,0)):this.getRgbBuffer(a,0,s*l,i,0,e,c);if(u)if(d){var f=u;var g=i;e=r;var p=n;var m=s;var b=o;var y=void 0;y=1!==c?0:c;var w=e/m,v=p/b;let t,a=0;var x=new Uint16Array(m),S=3*e;for(let e=0;e<m;e++)x[e]=3*Math.floor(e*w);for(let e=0;e<b;e++){const p=Math.floor(e*v)*S;for(let e=0;e<m;e++)t=p+x[e],g[a++]=f[t++],g[a++]=f[t++],g[a++]=f[+t],a+=y}return}else{let a=0,r=0;for(let e=0,t=s*l;e<t;e++)i[a++]=u[r++],i[a++]=u[r++],i[a++]=u[r++],a+=c}}get usesZeroToOneRange(){return(0,S.shadow)(this,"usesZeroToOneRange",!0)}static _cache(e,t,a,r){if(!a)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!r)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');let i,n;e instanceof d.Ref&&(n=e,e=t.fetch(e)),((i=e instanceof d.Name?e.name:i)||n)&&a.set(i,n,r)}static getCached(e,t,a){if(!a)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(e instanceof d.Ref){var r=a.getByRef(e);if(r)return r;try{e=t.fetch(e)}catch(e){if(e instanceof n.MissingDataException)throw e}}if(e instanceof d.Name){const t=a.getByName(e.name);if(t)return t}return null}static async parseAsync({cs:e,xref:t,resources:a=null,pdfFunctionFactory:r,localColorSpaceCache:i}){a=this._parse(e,t,a,r);return this._cache(e,t,i,a),a}static parse({cs:e,xref:t,resources:a=null,pdfFunctionFactory:r,localColorSpaceCache:i}){var n=this.getCached(e,t,i);return n||(n=this._parse(e,t,a,r),this._cache(e,t,i,n),n)}static _parse(s,o,l=null,c){if((s=o.fetchIfRef(s))instanceof d.Name)switch(s.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new g(null);default:if(l instanceof d.Dict){const S=l.get("ColorSpace");if(S instanceof d.Dict){var e=S.get(s.name);if(e){if(e instanceof d.Name)return this._parse(e,o,l,c);s=e;break}}}throw new S.FormatError("Unrecognized ColorSpace: "+s.name)}if(Array.isArray(s)){const d=o.fetchIfRef(s[0]).name;let e,t,a,r,i,n;switch(d){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return e=o.fetchIfRef(s[1]),r=e.getArray("WhitePoint"),i=e.getArray("BlackPoint"),n=e.get("Gamma"),new m(r,i,n);case"CalRGB":e=o.fetchIfRef(s[1]),r=e.getArray("WhitePoint"),i=e.getArray("BlackPoint"),n=e.getArray("Gamma");var h=e.getArray("Matrix");return new b(r,i,n,h);case"ICCBased":h=o.fetchIfRef(s[1]).dict,h=(t=h.get("N"),h.get("Alternate"));if(h){const s=this._parse(h,o,l,c);if(s.numComps===t)return s;(0,S.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===t)return this.singletons.gray;if(3===t)return this.singletons.rgb;if(4===t)return this.singletons.cmyk;break;case"Pattern":return a=(a=s[1]||null)&&this._parse(a,o,l,c),new g(a);case"I":case"Indexed":a=this._parse(s[1],o,l,c);var h=o.fetchIfRef(s[2])+1,u=o.fetchIfRef(s[3]);return new p(a,h,u);case"Separation":case"DeviceN":h=o.fetchIfRef(s[1]),u=(t=Array.isArray(h)?h.length:1,a=this._parse(s[2],o,l,c),c.create(s[3]));return new f(t,a,u);case"Lab":e=o.fetchIfRef(s[1]),r=e.getArray("WhitePoint"),i=e.getArray("BlackPoint");h=e.getArray("Range");return new y(r,i,h);default:throw new S.FormatError("Unimplemented ColorSpace object: "+d)}}throw new S.FormatError("Unrecognized ColorSpace object: "+s)}static isDefaultDecode(a,e){if(Array.isArray(a))if(2*e!==a.length)(0,S.warn)("The decode map is not the correct length");else for(let e=0,t=a.length;e<t;e+=2)if(0!==a[e]||1!==a[e+1])return!1;return!0}static get singletons(){return(0,S.shadow)(this,"singletons",{get gray(){return(0,S.shadow)(this,"gray",new s)},get rgb(){return(0,S.shadow)(this,"rgb",new o)},get cmyk(){return(0,S.shadow)(this,"cmyk",new l)}})}}class f extends(t.ColorSpace=r){constructor(e,t,a){super("Alternate",e),this.base=t,this.tintFn=a,this.tmpBuf=new Float32Array(t.numComps)}getRgbItem(e,t,a,r){var i=this.tmpBuf;this.tintFn(e,t,i,0),this.base.getRgbItem(i,0,a,r)}getRgbBuffer(e,t,a,r,i,n,s){var o=this.tintFn,l=this.base,c=1/((1<<n)-1),h=l.numComps,u=l.usesZeroToOneRange,n=(l.isPassthrough(8)||!u)&&0===s;let d=n?i:0;var f=n?r:new Uint8ClampedArray(h*a),g=this.numComps,p=new Float32Array(g),m=new Float32Array(h);let b,y;for(b=0;b<a;b++){for(y=0;y<g;y++)p[y]=e[t++]*c;if(o(p,0,m,0),u)for(y=0;y<h;y++)f[d++]=255*m[y];else l.getRgbItem(m,0,f,d),d+=h}n||l.getRgbBuffer(f,0,a,r,i,8,s)}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}class g extends r{constructor(e){super("Pattern",null),this.base=e}isDefaultDecode(e,t){(0,S.unreachable)("Should not call PatternCS.isDefaultDecode")}}class p extends r{constructor(e,t,a){super("Indexed",1),this.base=e,this.highVal=t;var r=e.numComps*t;if(this.lookup=new Uint8Array(r),a instanceof i.BaseStream){const e=a.getBytes(r);this.lookup.set(e)}else{if("string"!=typeof a)throw new S.FormatError("IndexedCS - unrecognized lookup table: "+a);for(let e=0;e<r;++e)this.lookup[e]=255&a.charCodeAt(e)}}getRgbItem(e,t,a,r){var i=this.base.numComps,e=e[t]*i;this.base.getRgbBuffer(this.lookup,e,1,a,r,8,0)}getRgbBuffer(t,a,r,i,n,e,s){var o=this.base,l=o.numComps,c=o.getOutputLength(l,s),h=this.lookup;for(let e=0;e<r;++e){const r=t[a++]*l;o.getRgbBuffer(h,r,1,i,n,8,s),n+=c}}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}isDefaultDecode(e,t){return!Array.isArray(e)||(2!==e.length?((0,S.warn)("Decode map length is not correct"),!0):!Number.isInteger(t)||t<1?((0,S.warn)("Bits per component is not correct"),!0):0===e[0]&&e[1]===(1<<t)-1)}}class s extends r{constructor(){super("DeviceGray",1)}getRgbItem(e,t,a,r){e=255*e[t];a[r]=a[r+1]=a[r+2]=e}getRgbBuffer(t,a,r,i,e,n,s){var o=255/((1<<n)-1);let l=a,c=e;for(let e=0;e<r;++e){const a=o*t[l++];i[c++]=a,i[c++]=a,i[c++]=a,c+=s}}getOutputLength(e,t){return e*(3+t)}}class o extends r{constructor(){super("DeviceRGB",3)}getRgbItem(e,t,a,r){a[r]=255*e[t],a[r+1]=255*e[t+1],a[r+2]=255*e[t+2]}getRgbBuffer(r,e,i,n,s,o,l){if(8===o&&0===l)n.set(r.subarray(e,e+3*i),s);else{var c=255/((1<<o)-1);let t=e,a=s;for(let e=0;e<i;++e)n[a++]=c*r[t++],n[a++]=c*r[t++],n[a++]=c*r[t++],a+=l}}getOutputLength(e,t){return e*(3+t)/3|0}isPassthrough(e){return 8===e}}const l=class extends r{constructor(){super("DeviceCMYK",4)}getRgbItem(e,t,a,r){u(e,t,1,a,r)}getRgbBuffer(t,a,r,i,n,e,s){var o=1/((1<<e)-1);for(let e=0;e<r;e++)u(t,a,o,i,n),a+=4,n+=3+s}getOutputLength(e,t){return e/4*(3+t)|0}},m=class extends r{constructor(e,t,a){if(super("CalGray",1),!e)throw new S.FormatError("WhitePoint missing - required for color space CalGray");if(t||=[0,0,0],a||=1,this.XW=e[0],this.YW=e[1],this.ZW=e[2],this.XB=t[0],this.YB=t[1],this.ZB=t[2],this.G=a,this.XW<0||this.ZW<0||1!==this.YW)throw new S.FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);(this.XB<0||this.YB<0||this.ZB<0)&&((0,S.info)(`Invalid BlackPoint for ${this.name}, falling back to default.`),this.XB=this.YB=this.ZB=0),0===this.XB&&0===this.YB&&0===this.ZB||(0,S.warn)(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ZB: ${this.ZB}, only default values are supported.`),this.G<1&&((0,S.info)(`Invalid Gamma: ${this.G} for ${this.name}, falling back to default.`),this.G=1)}getRgbItem(e,t,a,r){h(this,e,t,a,r,1)}getRgbBuffer(t,a,r,i,n,e,s){var o=1/((1<<e)-1);for(let e=0;e<r;++e)h(this,t,a,i,n,o),a+=1,n+=3+s}getOutputLength(e,t){return e*(3+t)}},b=function(){const u=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),d=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),f=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),g=new Float32Array([1,1,1]),p=new Float32Array(3),m=new Float32Array(3),b=new Float32Array(3),t=(24/116)**3/8;function y(e,t,a){a[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],a[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],a[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}function w(e){return e<=.0031308?v(0,1,12.92*e):.99554525<=e?1:v(0,1,1.055*e**(1/2.4)-.055)}function v(e,t,a){return Math.max(e,Math.min(t,a))}function x(e){return e<0?-x(-e):8<e?((e+16)/116)**3:e*t}function l(e,t,a,r,i,n){var s,o,l=v(0,1,t[a]*n),c=v(0,1,t[a+1]*n),t=v(0,1,t[a+2]*n),a=1===l?1:l**e.GR,n=1===c?1:c**e.GG,l=1===t?1:t**e.GB,c=e.MXA*a+e.MXB*n+e.MXC*l,t=e.MYA*a+e.MYB*n+e.MYC*l,a=e.MZA*a+e.MZB*n+e.MZC*l,n=m,l=(n[0]=c,n[1]=t,n[2]=a,b),h=(c=e.whitePoint,t=n,a=l,1===c[0]&&1===c[2]?(a[0]=t[0],a[1]=t[1],a[2]=t[2]):(n=a,y(u,t,n),t=p,c=c,n=n,(h=t)[0]=+n[0]/c[0],h[1]=+n[1]/c[1],h[2]=+n[2]/c[2],y(d,t,a)),m),e=(n=e.blackPoint,c=l,t=h,0===n[0]&&0===n[1]&&0===n[2]?(t[0]=c[0],t[1]=c[1],t[2]=c[2]):(l=1-(e=(1-(a=x(0)))/(1-x(n[0]))),o=1-(s=(1-a)/(1-x(n[1]))),n=1-(a=(1-a)/(1-x(n[2]))),t[0]=c[0]*e+l,t[1]=c[1]*s+o,t[2]=c[2]*a+n),b),a=(l=g,s=h,t=o=e,y(u,s,t),s=p,l=l,t=t,(c=s)[0]=.95047*t[0]/l[0],c[1]=+t[1]/l[1],c[2]=1.08883*t[2]/l[2],y(d,s,o),m);y(f,e,a),r[i]=255*w(a[0]),r[i+1]=255*w(a[1]),r[i+2]=255*w(a[2])}return class extends r{constructor(e,t,a,r){if(super("CalRGB",3),!e)throw new S.FormatError("WhitePoint missing - required for color space CalRGB");t||=new Float32Array(3),a||=new Float32Array([1,1,1]),r||=new Float32Array([1,0,0,0,1,0,0,0,1]);var i=e[0],n=e[1],s=e[2],e=(this.whitePoint=e,t[0]),o=t[1],l=t[2];if(this.blackPoint=t,this.GR=a[0],this.GG=a[1],this.GB=a[2],this.MXA=r[0],this.MYA=r[1],this.MZA=r[2],this.MXB=r[3],this.MYB=r[4],this.MZB=r[5],this.MXC=r[6],this.MYC=r[7],this.MZC=r[8],i<0||s<0||1!==n)throw new S.FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);(e<0||o<0||l<0)&&((0,S.info)(`Invalid BlackPoint for ${this.name} [${e}, ${o}, ${l}], falling back to default.`),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&((0,S.info)(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`),this.GR=this.GG=this.GB=1)}getRgbItem(e,t,a,r){l(this,e,t,a,r,1)}getRgbBuffer(t,a,r,i,n,e,s){var o=1/((1<<e)-1);for(let e=0;e<r;++e)l(this,t,a,i,n,o),a+=3,n+=3+s}getOutputLength(e,t){return e*(3+t)/3|0}}}(),y=class extends r{constructor(e,t,a){if(super("Lab",3),!e)throw new S.FormatError("WhitePoint missing - required for color space Lab");if(t||=[0,0,0],a||=[-100,100,-100,100],this.XW=e[0],this.YW=e[1],this.ZW=e[2],this.amin=a[0],this.amax=a[1],this.bmin=a[2],this.bmax=a[3],this.XB=t[0],this.YB=t[1],this.ZB=t[2],this.XW<0||this.ZW<0||1!==this.YW)throw new S.FormatError("Invalid WhitePoint components, no fallback available");(this.XB<0||this.YB<0||this.ZB<0)&&((0,S.info)("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&((0,S.info)("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}getRgbItem(e,t,a,r){c(this,e,t,!1,a,r)}getRgbBuffer(t,a,r,i,n,e,s){var o=(1<<e)-1;for(let e=0;e<r;e++)c(this,t,a,o,i,n),a+=3,n+=3+s}getOutputLength(e,t){return e*(3+t)/3|0}isDefaultDecode(e,t){return!0}get usesZeroToOneRange(){return(0,S.shadow)(this,"usesZeroToOneRange",!1)}};function w(e){return 6/29<=e?e**3:108/841*(e-4/29)}function v(e,t,a,r){return a+e*(r-a)/t}function c(e,t,a,r,i,n){let s=t[a],o=t[a+1],l=t[a+2];!1!==r&&(s=v(s,r,0,100),o=v(o,r,e.amin,e.amax),l=v(l,r,e.bmin,e.bmax)),o>e.amax?o=e.amax:o<e.amin&&(o=e.amin),l>e.bmax?l=e.bmax:l<e.bmin&&(l=e.bmin);t=(s+16)/116,a=t+o/500,r=t-l/200,a=e.XW*w(a),t=e.YW*w(t),r=e.ZW*w(r);let c,h,u;u=e.ZW<1?(c=3.1339*a+-1.617*t+-.4906*r,h=-.9785*a+1.916*t+.0333*r,.072*a+-.229*t+1.4057*r):(c=3.2406*a+-1.5372*t+-.4986*r,h=-.9689*a+1.8758*t+.0415*r,.0557*a+-.204*t+1.057*r),i[n]=255*Math.sqrt(c),i[n+1]=255*Math.sqrt(h),i[n+2]=255*Math.sqrt(u)}function h(e,t,a,r,i,n){t=(t[a]*n)**e.G,a=e.YW*t,n=Math.max(295.8*a**.3333333333333333-40.8,0);r[i]=n,r[i+1]=n,r[i+2]=n}function u(e,t,a,r,i){var n=e[t]*a,s=e[t+1]*a,o=e[t+2]*a,e=e[t+3]*a;r[i]=255+n*(-4.387332384609988*n+54.48615194189176*s+18.82290502165302*o+212.25662451639585*e-285.2331026137004)+s*(1.7149763477362134*s-5.6096736904047315*o+-17.873870861415444*e-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*e+17.5119270841813)+e*(-21.86122147463605*e-189.48180835922747),r[i+1]=255+n*(8.841041422036149*n+60.118027045597366*s+6.871425592049007*o+31.159100130055922*e-79.2970844816548)+s*(-15.310361306967817*s+17.575251261109482*o+131.35250912493976*e-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*e-24.86741582555878)+e*(-20.737325471181034*e-187.80453709719578),r[i+2]=255+n*(.8842522430003296*n+8.078677503112928*s+30.89978309703729*o-.23883238689178934*e-14.183576799673286)+s*(10.49593273432072*s+63.02378494754052*o+50.606957656360734*e-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*e-193.58209356861505)+e*(-22.33816807309886*e-180.12613974708367)}},(w,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PartialEvaluator=e.EvaluatorPreprocessor=void 0;var H=t(2),x=t(14),q=t(4),S=t(34),c=t(37),k=t(41),d=t(50),A=t(51),o=t(42),h=t(57),r=t(16),z=t(59),C=t(8),G=t(5),n=t(60),B=t(12),b=t(18),F=t(38),O=t(61),l=t(39),a=t(3),s=t(45),u=t(40),v=t(62),I=t(63),g=t(64),y=t(65);const f=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),W=Promise.resolve();function D(e){e.fn===H.OPS.paintImageMaskXObject&&0<e.args[0]?.count&&e.args[0].count++}class V{static TIME_SLOT_DURATION_MS=20;static CHECK_TIME_EVERY=100;constructor(){this.reset()}check(){return!(++this.checked<V.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}reset(){this.endTime=Date.now()+V.TIME_SLOT_DURATION_MS,this.checked=0}}class p{constructor({xref:e,handler:t,pageIndex:a,idFactory:r,fontCache:i,builtInCMapCache:n,standardFontDataCache:s,globalImageCache:o,systemFontCache:l,options:c=null}){this.xref=e,this.handler=t,this.pageIndex=a,this.idFactory=r,this.fontCache=i,this.builtInCMapCache=n,this.standardFontDataCache=s,this.globalImageCache=o,this.systemFontCache=l,this.options=c||f,this.parsingType3Font=!1,this._regionalImageCache=new z.RegionalImageCache,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this),v.ImageResizer.setMaxArea(this.options.canvasMaxAreaInBytes)}get _pdfFunctionFactory(){var e=new h.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.options.isEvalSupported});return(0,H.shadow)(this,"_pdfFunctionFactory",e)}clone(e=null){var t=Object.create(this);return t.options=Object.assign(Object.create(null),this.options,e),t}hasBlendModes(e,t){if(e instanceof q.Dict&&(!e.objId||!t.has(e.objId))){for(var a=new q.RefSet(t),r=(e.objId&&a.put(e.objId),[e]),i=this.xref;r.length;){const e=r.shift(),t=e.get("ExtGState");if(t instanceof q.Dict)for(var n of t.getRawValues()){if(n instanceof q.Ref){if(a.has(n))continue;try{n=i.fetch(n)}catch(t){a.put(n),(0,H.info)(`hasBlendModes - ignoring ExtGState: "${t}".`);continue}}if(n instanceof q.Dict){n.objId&&a.put(n.objId);const t=n.get("BM");if(t instanceof q.Name){if("Normal"!==t.name)return!0}else if(void 0!==t&&Array.isArray(t))for(const e of t)if(e instanceof q.Name&&"Normal"!==e.name)return!0}}var s=e.get("XObject");if(s instanceof q.Dict)for(var o of s.getRawValues()){if(o instanceof q.Ref){if(a.has(o))continue;try{o=i.fetch(o)}catch(t){a.put(o),(0,H.info)(`hasBlendModes - ignoring XObject: "${t}".`);continue}}if(o instanceof G.BaseStream){o.dict.objId&&a.put(o.dict.objId);const t=o.dict.get("Resources");t instanceof q.Dict&&(t.objId&&a.has(t.objId)||(r.push(t),t.objId&&a.put(t.objId)))}}}for(const e of a)t.put(e)}return!1}async fetchBuiltInCMap(e){const t=this.builtInCMapCache.get(e);if(t)return t;let a;if(null!==this.options.cMapUrl){const t=""+this.options.cMapUrl+e+".bcmap",r=await fetch(t);if(!r.ok)throw new Error(`fetchBuiltInCMap: failed to fetch file "${t}" with "${r.statusText}".`);a={cMapData:new Uint8Array(await r.arrayBuffer()),compressionType:H.CMapCompressionType.BINARY}}else a=await this.handler.sendWithPromise("FetchBuiltInCMap",{name:e});return a.compressionType!==H.CMapCompressionType.NONE&&this.builtInCMapCache.set(e,a),a}async fetchStandardFontData(e){const t=this.standardFontDataCache.get(e);if(t)return new C.Stream(t);if(this.options.useSystemFonts&&"Symbol"!==e&&"ZapfDingbats"!==e)return null;var a=(0,k.getFontNameToFileMap)()[e];let r;if(null!==this.options.standardFontDataUrl){const e=""+this.options.standardFontDataUrl+a,t=await fetch(e);t.ok?r=await t.arrayBuffer():(0,H.warn)(`fetchStandardFontData: failed to fetch file "${e}" with "${t.statusText}".`)}else try{r=await this.handler.sendWithPromise("FetchStandardFontData",{filename:a})}catch(e){(0,H.warn)(`fetchStandardFontData: failed to fetch file "${a}" with "${e}".`)}return r?(this.standardFontDataCache.set(e,r),new C.Stream(r)):null}async buildFormXObject(t,a,r,i,e,n,s){var o=a.dict,l=o.getArray("Matrix");let c,h,u=o.getArray("BBox");u=Array.isArray(u)&&4===u.length?H.Util.normalizeRect(u):null,void 0!==(c=o.has("OC")?await this.parseMarkedContentProps(o.get("OC"),t):c)&&i.addOp(H.OPS.beginMarkedContentProps,["OC",c]);const d=o.get("Group");if(d){h={matrix:l,bbox:u,smask:r,isolated:!1,knockout:!1};const a=d.get("S");let e=null;if((0,q.isName)(a,"Transparency")&&(h.isolated=d.get("I")||!1,h.knockout=d.get("K")||!1,d.has("CS"))){const a=d.getRaw("CS");e=B.ColorSpace.getCached(a,this.xref,s)||await this.parseColorSpace({cs:a,resources:t,localColorSpaceCache:s})}r?.backdrop&&(e||=B.ColorSpace.singletons.rgb,r.backdrop=e.getRgb(r.backdrop,0)),i.addOp(H.OPS.beginGroup,[h])}s=d?[l,null]:[l,u];return i.addOp(H.OPS.paintFormXObjectBegin,s),this.getOperatorList({stream:a,task:e,resources:o.get("Resources")||t,operatorList:i,initialState:n}).then(function(){i.addOp(H.OPS.paintFormXObjectEnd,[]),d&&i.addOp(H.OPS.endGroup,[h]),void 0!==c&&i.addOp(H.OPS.endMarkedContent,[])})}_sendImgData(e,t,a=!1){var r=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||a?this.handler.send("commonobj",[e,"Image",t],r):this.handler.send("obj",[e,this.pageIndex,"Image",t],r)}async buildPaintImageXObject({resources:n,image:s,isInline:o=!1,operatorList:l,cacheKey:c,localImageCache:h,localColorSpaceCache:u}){const t=s.dict,d=t.objId,f=t.get("W","Width"),g=t.get("H","Height");if(f&&"number"==typeof f&&g&&"number"==typeof g){const a=this.options.maxImageSize;if(-1!==a&&f*g>a){const n="Image exceeded maximum allowed size and was removed.";if(this.options.ignoreErrors)return void(0,H.warn)(n);throw new Error(n)}let e,r,i;if(t.has("OC")&&(e=await this.parseMarkedContentProps(t.get("OC"),n)),t.get("IM","ImageMask")){const n=t.get("I","Interpolate"),o=f+7>>3,u=s.getBytes(o*g),a=t.getArray("D","Decode");if(this.parsingType3Font){if((r=y.PDFImage.createRawMask({imgArray:u,width:f,height:g,imageIsFromDecodeStream:s instanceof b.DecodeStream,inverseDecode:0<a?.[0],interpolate:n})).cached=!!c,i=[r],l.addImageOps(H.OPS.paintImageMaskXObject,i,e),c){const n={fn:H.OPS.paintImageMaskXObject,args:i,optionalContent:e};h.set(c,d,n),d&&this._regionalImageCache.set(null,d,n)}return}if((r=await y.PDFImage.createMask({imgArray:u,width:f,height:g,imageIsFromDecodeStream:s instanceof b.DecodeStream,inverseDecode:0<a?.[0],interpolate:n,isOffscreenCanvasSupported:this.options.isOffscreenCanvasSupported})).isSingleOpaquePixel){if(l.addImageOps(H.OPS.paintSolidColorImageMask,[],e),c){const n={fn:H.OPS.paintSolidColorImageMask,args:[],optionalContent:e};h.set(c,d,n),d&&this._regionalImageCache.set(null,d,n)}return}const p="mask_"+this.idFactory.createObjId();if(l.addDependency(p),this._sendImgData(p,r),i=[{data:p,width:r.width,height:r.height,interpolate:r.interpolate,count:1}],l.addImageOps(H.OPS.paintImageMaskXObject,i,e),c){const n={fn:H.OPS.paintImageMaskXObject,args:i,optionalContent:e};h.set(c,d,n),d&&this._regionalImageCache.set(null,d,n)}}else{const p=t.get("SM","SMask")||!1,m=t.get("Mask")||!1;if(o&&!p&&!m&&f+g<200){const c=new y.PDFImage({xref:this.xref,res:n,image:s,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:u});r=await c.createImageData(!0,!1),l.isOffscreenCanvasSupported=this.options.isOffscreenCanvasSupported,void l.addImageOps(H.OPS.paintInlineImageXObject,[r],e)}else{let t="img_"+this.idFactory.createObjId(),a=!1;if(this.parsingType3Font?t=this.idFactory.getDocId()+"_type3_"+t:d&&(a=this.globalImageCache.shouldCache(d,this.pageIndex))&&(t=this.idFactory.getDocId()+"_"+t),l.addDependency(t),i=[t,f,g],y.PDFImage.buildImage({xref:this.xref,res:n,image:s,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:u}).then(async e=>{return r=await e.createImageData(!1,this.options.isOffscreenCanvasSupported),c&&d&&a&&(e=0,e=r.bitmap?r.width*r.height*4:r.data.length,this.globalImageCache.addByteSize(d,e)),this._sendImgData(t,r,a)}).catch(e=>((0,H.warn)(`Unable to decode image "${t}": "${e}".`),this._sendImgData(t,null,a))),l.addImageOps(H.OPS.paintImageXObject,i,e),c){const n={fn:H.OPS.paintImageXObject,args:i,optionalContent:e};h.set(c,d,n),d&&(this._regionalImageCache.set(null,d,n),a)&&((0,H.assert)(!o,"Cannot cache an inline image globally."),this.globalImageCache.setData(d,{objId:t,fn:H.OPS.paintImageXObject,args:i,optionalContent:e,byteSize:0}))}}}}else(0,H.warn)("Image dimensions are missing, or not numbers.")}handleSMask(t,a,r,e,i,n){var s=t.get("G"),o={subtype:t.get("S").name,backdrop:t.get("BC")},l=t.get("TR");if((0,h.isPDFFunction)(l)){const t=this._pdfFunctionFactory.create(l),a=new Uint8Array(256),r=new Float32Array(1);for(let e=0;e<256;e++)r[0]=e/255,t(r,0,r,0),a[e]=255*r[0]|0;o.transferMap=a}return this.buildFormXObject(a,s,o,r,e,i.state.clone(),n)}handleTransferFunction(e){let t;if(Array.isArray(e))t=e;else{if(!(0,h.isPDFFunction)(e))return null;t=[e]}var a=[];let r=0,i=0;for(const e of t){const t=this.xref.fetchIfRef(e);if(r++,(0,q.isName)(t,"Identity"))a.push(null);else{if(!(0,h.isPDFFunction)(t))return null;var n=this._pdfFunctionFactory.create(t),s=new Uint8Array(256),o=new Float32Array(1);for(let e=0;e<256;e++)o[0]=e/255,n(o,0,o,0),s[e]=255*o[0]|0;a.push(s),i++}}return 1!==r&&4!==r||0===i?null:a}handleTilingType(a,r,e,t,i,n,s,o){const l=new g.OperatorList,c=q.Dict.merge({xref:this.xref,dictArray:[i.get("Resources"),e]});return this.getOperatorList({stream:t,task:s,resources:c,operatorList:l}).then(function(){var e=l.getIR(),t=(0,d.getTilingPatternIR)(e,i,r);n.addDependencies(l.dependencies),n.addOp(a,t),i.objId&&o.set(null,i.objId,{operatorListIR:e,dict:i})}).catch(e=>{if(!(e instanceof H.AbortException)){if(!this.options.ignoreErrors)throw e;(0,H.warn)(`handleTilingType - ignoring pattern: "${e}".`)}})}handleSetFont(e,t,a,r,i,n,s=null,o=null){t=t?.[0]instanceof q.Name?t[0].name:null;return this.loadFont(t,a,e,s,o).then(t=>t.font.isType3Font?t.loadType3Data(this,e,i).then(function(){return r.addDependencies(t.type3Dependencies),t}).catch(e=>new m({loadedName:"g_font_error",font:new S.ErrorFont("Type3 font load error: "+e),dict:t.font,evaluatorOptions:this.options})):t).then(e=>(n.font=e.font,e.send(this.handler),e.loadedName))}handleText(e,t){var a=t.font,e=a.charsToGlyphs(e);return a.data&&(t.textRenderingMode&H.TextRenderingMode.ADD_TO_PATH_FLAG||"Pattern"===t.fillColorSpace.name||a.disableFontFace||this.options.disableFontFace)&&p.buildFontPaths(a,e,this.handler,this.options),e}ensureStateFont(e){if(!e.font){e=new H.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw e;(0,H.warn)(`ensureStateFont: "${e}".`)}}async setGState({resources:e,gState:t,operatorList:a,cacheKey:r,task:i,stateManager:n,localGStateCache:s,localColorSpaceCache:o}){const l=t.objId;let c=!0;const h=[];let u=Promise.resolve();for(const r of t.getKeys()){const s=t.get(r);switch(r){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":h.push([r,s]);break;case"Font":c=!1,u=u.then(()=>this.handleSetFont(e,null,s[0],a,i,n.state).then(function(e){a.addDependency(e),h.push([r,[e,s[1]]])}));break;case"BM":h.push([r,function e(t,a=!1){if(Array.isArray(t)){for(const a of t){const t=e(a,!0);if(t)return t}return(0,H.warn)("Unsupported blend mode Array: "+t),"source-over"}if(!(t instanceof q.Name))return a?null:"source-over";switch(t.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return a?null:((0,H.warn)("Unsupported blend mode: "+t.name),"source-over")}(s)]);break;case"SMask":(0,q.isName)(s,"None")?h.push([r,!1]):s instanceof q.Dict?(c=!1,u=u.then(()=>this.handleSMask(s,e,a,i,n,o)),h.push([r,!0])):(0,H.warn)("Unsupported SMask type");break;case"TR":const t=this.handleTransferFunction(s);h.push([r,t]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,H.info)("graphic state operator "+r);break;default:(0,H.info)("Unknown graphic state operator "+r)}}return u.then(function(){0<h.length&&a.addOp(H.OPS.setGState,[h]),c&&s.set(r,l,h)})}loadFont(e,t,a,r=null,i=null){var n=async()=>new m({loadedName:"g_font_error",font:new S.ErrorFont(`Font "${e}" is not available.`),dict:t,evaluatorOptions:this.options});let s;if(t)t instanceof q.Ref&&(s=t);else{const t=a.get("Font");t&&(s=t.getRaw(e))}if(s){if(this.parsingType3Font&&this.type3FontRefs.has(s))return n();if(this.fontCache.has(s))return this.fontCache.get(s);t=this.xref.fetchIfRef(s)}if(!(t instanceof q.Dict)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,H.warn)(`Font "${e}" is not available.`),n();(0,H.warn)(`Font "${e}" is not available -- attempting to fallback to a default font.`),t=r||p.fallbackFontDict}if(t.cacheKey&&this.fontCache.has(t.cacheKey))return this.fontCache.get(t.cacheKey);const o=new H.PromiseCapability;let l;try{(l=this.preEvaluateFont(t)).cssFontInfo=i}catch(e){return(0,H.warn)(`loadFont - preEvaluateFont failed: "${e}".`),n()}var{descriptor:a,hash:r}=l,i=s instanceof q.Ref;let c;if(r&&a instanceof q.Dict){const e=a.fontAliases||=Object.create(null);if(e[r]){const t=e[r].aliasRef;if(i&&t&&this.fontCache.has(t))return this.fontCache.putAlias(s,t),this.fontCache.get(s)}else e[r]={fontID:this.idFactory.createFontId()};i&&(e[r].aliasRef=s),c=e[r].fontID}else c=this.idFactory.createFontId();return(0,H.assert)(c?.startsWith("f"),'The "fontID" must be (correctly) defined.'),i?this.fontCache.put(s,o.promise):(t.cacheKey="cacheKey_"+c,this.fontCache.put(t.cacheKey,o.promise)),t.loadedName=this.idFactory.getDocId()+"_"+c,this.translateFont(l).then(e=>{o.resolve(new m({loadedName:t.loadedName,font:e,dict:t,evaluatorOptions:this.options}))}).catch(e=>{(0,H.warn)(`loadFont - translateFont failed: "${e}".`),o.resolve(new m({loadedName:t.loadedName,font:new S.ErrorFont(e instanceof Error?e.message:e),dict:t,evaluatorOptions:this.options}))}),o.promise}buildPath(t,a,r,i=!1){var e=t.length-1;if(r=r||[],e<0||t.fnArray[e]!==H.OPS.constructPath){let e;switch(i&&((0,H.warn)(`Encountered path operator "${a}" inside of a text object.`),t.addOp(H.OPS.save,null)),a){case H.OPS.rectangle:const t=r[0]+r[2],a=r[1]+r[3];e=[Math.min(r[0],t),Math.max(r[0],t),Math.min(r[1],a),Math.max(r[1],a)];break;case H.OPS.moveTo:case H.OPS.lineTo:e=[r[0],r[0],r[1],r[1]];break;default:e=[1/0,-1/0,1/0,-1/0]}t.addOp(H.OPS.constructPath,[[a],r,e]),i&&t.addOp(H.OPS.restore,null)}else{const i=t.argsArray[e];i[0].push(a),i[1].push(...r);var n=i[2];switch(a){case H.OPS.rectangle:const t=r[0]+r[2],a=r[1]+r[3];n[0]=Math.min(n[0],r[0],t),n[1]=Math.max(n[1],r[0],t),n[2]=Math.min(n[2],r[1],a),n[3]=Math.max(n[3],r[1],a);break;case H.OPS.moveTo:case H.OPS.lineTo:n[0]=Math.min(n[0],r[0]),n[1]=Math.max(n[1],r[0]),n[2]=Math.min(n[2],r[1]),n[3]=Math.max(n[3],r[1])}}}parseColorSpace({cs:e,resources:t,localColorSpaceCache:a}){return B.ColorSpace.parseAsync({cs:e,xref:this.xref,resources:t,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:a}).catch(e=>{if(e instanceof H.AbortException)return null;if(this.options.ignoreErrors)return(0,H.warn)(`parseColorSpace - ignoring ColorSpace: "${e}".`),null;throw e})}parseShading({shading:e,resources:t,localColorSpaceCache:a,localShadingPatternCache:r}){let i=r.get(e);return i||(t=d.Pattern.parseShading(e,this.xref,t,this._pdfFunctionFactory,a).getIR(),i="pattern_"+this.idFactory.createObjId(),this.parsingType3Font&&(i=this.idFactory.getDocId()+"_type3_"+i),r.set(e,i),this.parsingType3Font?this.handler.send("commonobj",[i,"Pattern",t]):this.handler.send("obj",[i,this.pageIndex,"Pattern",t])),i}handleColorN(e,t,a,r,i,n,s,o,l,c){var h=a.pop();if(h instanceof q.Name){var i=i.getRaw(h.name),u=i instanceof q.Ref&&l.getByRef(i);if(u)try{const H=r.base?r.base.getRgb(a,0):null,q=(0,d.getTilingPatternIR)(u.operatorListIR,u.dict,H);return void e.addOp(t,q)}catch(e){}u=this.xref.fetchIfRef(i);if(u){const q=u instanceof G.BaseStream?u.dict:u,i=q.get("PatternType");if(1===i){const H=r.base?r.base.getRgb(a,0):null;return this.handleTilingType(t,H,n,u,q,e,s,l)}if(2!==i)throw new H.FormatError("Unknown PatternType: "+i);{const a=q.get("Shading"),H=q.getArray("Matrix"),r=this.parseShading({shading:a,resources:n,localColorSpaceCache:o,localShadingPatternCache:c});return void e.addOp(t,["Shading",r,H])}}}throw new H.FormatError("Unknown PatternName: "+h)}_parseVisibilityExpression(t,a,r){if(10<++a)(0,H.warn)("Visibility expression is too deeply nested");else{const i=t.length,n=this.xref.fetchIfRef(t[0]);if(!(i<2)&&n instanceof q.Name){switch(n.name){case"And":case"Or":case"Not":r.push(n.name);break;default:return void(0,H.warn)(`Invalid operator ${n.name} in visibility expression`)}for(let e=1;e<i;e++){const i=t[e],n=this.xref.fetchIfRef(i);if(Array.isArray(n)){const t=[];r.push(t),this._parseVisibilityExpression(n,a,t)}else i instanceof q.Ref&&r.push(i.toString())}}else(0,H.warn)("Invalid visibility expression")}}async parseMarkedContentProps(e,t){let a;if(e instanceof q.Name)a=t.get("Properties").get(e.name);else{if(!(e instanceof q.Dict))throw new H.FormatError("Optional content properties malformed.");a=e}var r=a.get("Type").name;if("OCG"===r)return{type:r,id:a.objId};if("OCMD"===r){const e=a.get("VE");if(Array.isArray(e)){const t=[];if(this._parseVisibilityExpression(e,0,t),0<t.length)return{type:"OCMD",expression:t}}const t=a.get("OCGs");if(Array.isArray(t)||t instanceof q.Dict){const e=[];if(Array.isArray(t))for(const a of t)e.push(a.toString());else e.push(t.objId);return{type:r,ids:e,policy:a.get("P")instanceof q.Name?a.get("P").name:null,expression:null}}if(t instanceof q.Ref)return{type:r,id:t.toString()}}return null}getOperatorList({stream:e,task:m,resources:b,operatorList:y,initialState:t=null,fallbackFontDict:w=null}){if(b||=q.Dict.empty,t||=new i,!y)throw new Error('getOperatorList: missing "operatorList" parameter');const v=this,x=this.xref;let S=!1;const k=new z.LocalImageCache,A=new z.LocalColorSpaceCache,C=new z.LocalGStateCache,F=new z.LocalTilingPatternCache,O=new Map,I=b.get("XObject")||q.Dict.empty,T=b.get("Pattern")||q.Dict.empty,M=new K(t),P=new Y(e,x,M),E=new V;function N(){for(let e=0,t=P.savedStatesDepth;e<t;e++)y.addOp(H.OPS.restore,[])}return new Promise(function t(a,r){function i(e){Promise.all([e,y.ready]).then(function(){try{t(a,r)}catch(e){r(e)}},r)}m.ensureNotTerminated(),E.reset();var n={};let e,s,o,l,c,h;for(;!(e=E.check())&&(n.args=null,P.read(n));){let e=n.args,t=n.fn;switch(0|t){case H.OPS.paintXObject:if(h=e[0]instanceof q.Name,c=e[0].name,h){const m=k.getByName(c);if(m){y.addImageOps(m.fn,m.args,m.optionalContent),D(m),e=null;continue}}return void i(new Promise(function(e,t){if(!h)throw new H.FormatError("XObject must be referred to by name.");let a=I.getRaw(c);if(a instanceof q.Ref){const m=k.getByRef(a)||v._regionalImageCache.getByRef(a);if(m)return y.addImageOps(m.fn,m.args,m.optionalContent),D(m),void e();const b=v.globalImageCache.getData(a,v.pageIndex);if(b)return y.addDependency(b.objId),y.addImageOps(b.fn,b.args,b.optionalContent),void e();a=x.fetch(a)}if(!(a instanceof G.BaseStream))throw new H.FormatError("XObject should be a stream");var r=a.dict.get("Subtype");if(!(r instanceof q.Name))throw new H.FormatError("XObject should have a Name subtype");if("Form"===r.name)M.save(),v.buildFormXObject(b,a,null,y,m,M.state.clone(),A).then(function(){M.restore(),e()},t);else if("Image"!==r.name){if("PS"!==r.name)throw new H.FormatError("Unhandled XObject subtype "+r.name);(0,H.info)("Ignored XObject subtype PS"),e()}else v.buildPaintImageXObject({resources:b,image:a,operatorList:y,cacheKey:c,localImageCache:k,localColorSpaceCache:A}).then(e,t)}).catch(function(e){if(!(e instanceof H.AbortException)){if(!v.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring XObject: "${e}".`)}}));case H.OPS.setFont:var u=e[1];return void i(v.handleSetFont(b,e,null,y,m,M.state,w).then(function(e){y.addDependency(e),y.addOp(H.OPS.setFont,[e,u])}));case H.OPS.beginText:S=!0;break;case H.OPS.endText:S=!1;break;case H.OPS.endInlineImage:var d=e[0].cacheKey;if(d){const m=k.getByName(d);if(m){y.addImageOps(m.fn,m.args,m.optionalContent),D(m),e=null;continue}}return void i(v.buildPaintImageXObject({resources:b,image:e[0],isInline:!0,operatorList:y,cacheKey:d,localImageCache:k,localColorSpaceCache:A}));case H.OPS.showText:if(!M.state.font){v.ensureStateFont(M.state);continue}e[0]=v.handleText(e[0],M.state);break;case H.OPS.showSpacedText:if(!M.state.font){v.ensureStateFont(M.state);continue}var f=[],g=M.state;for(const m of e[0])"string"==typeof m?f.push(...v.handleText(m,g)):"number"==typeof m&&f.push(m);e[0]=f,t=H.OPS.showText;break;case H.OPS.nextLineShowText:if(!M.state.font){v.ensureStateFont(M.state);continue}y.addOp(H.OPS.nextLine),e[0]=v.handleText(e[0],M.state),t=H.OPS.showText;break;case H.OPS.nextLineSetSpacingShowText:if(!M.state.font){v.ensureStateFont(M.state);continue}y.addOp(H.OPS.nextLine),y.addOp(H.OPS.setWordSpacing,[e.shift()]),y.addOp(H.OPS.setCharSpacing,[e.shift()]),e[0]=v.handleText(e[0],M.state),t=H.OPS.showText;break;case H.OPS.setTextRenderingMode:M.state.textRenderingMode=e[0];break;case H.OPS.setFillColorSpace:{const m=B.ColorSpace.getCached(e[0],x,A);if(m){M.state.fillColorSpace=m;continue}return void i(v.parseColorSpace({cs:e[0],resources:b,localColorSpaceCache:A}).then(function(e){e&&(M.state.fillColorSpace=e)}))}case H.OPS.setStrokeColorSpace:{const m=B.ColorSpace.getCached(e[0],x,A);if(m){M.state.strokeColorSpace=m;continue}return void i(v.parseColorSpace({cs:e[0],resources:b,localColorSpaceCache:A}).then(function(e){e&&(M.state.strokeColorSpace=e)}))}case H.OPS.setFillColor:l=M.state.fillColorSpace,e=l.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeColor:l=M.state.strokeColorSpace,e=l.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.setFillGray:M.state.fillColorSpace=B.ColorSpace.singletons.gray,e=B.ColorSpace.singletons.gray.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeGray:M.state.strokeColorSpace=B.ColorSpace.singletons.gray,e=B.ColorSpace.singletons.gray.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.setFillCMYKColor:M.state.fillColorSpace=B.ColorSpace.singletons.cmyk,e=B.ColorSpace.singletons.cmyk.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeCMYKColor:M.state.strokeColorSpace=B.ColorSpace.singletons.cmyk,e=B.ColorSpace.singletons.cmyk.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.setFillRGBColor:M.state.fillColorSpace=B.ColorSpace.singletons.rgb,e=B.ColorSpace.singletons.rgb.getRgb(e,0);break;case H.OPS.setStrokeRGBColor:M.state.strokeColorSpace=B.ColorSpace.singletons.rgb,e=B.ColorSpace.singletons.rgb.getRgb(e,0);break;case H.OPS.setFillColorN:if("Pattern"===(l=M.state.fillColorSpace).name)return void i(v.handleColorN(y,H.OPS.setFillColorN,e,l,T,b,m,A,F,O));e=l.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeColorN:if("Pattern"===(l=M.state.strokeColorSpace).name)return void i(v.handleColorN(y,H.OPS.setStrokeColorN,e,l,T,b,m,A,F,O));e=l.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.shadingFill:d=b.get("Shading");if(!d)throw new H.FormatError("No shading resource found");var p=d.get(e[0].name);if(!p)throw new H.FormatError("No shading object found");e=[v.parseShading({shading:p,resources:b,localColorSpaceCache:A,localShadingPatternCache:O})],t=H.OPS.shadingFill;break;case H.OPS.setGState:if(h=e[0]instanceof q.Name,c=e[0].name,h){const m=C.getByName(c);if(m){0<m.length&&y.addOp(H.OPS.setGState,[m]),e=null;continue}}return void i(new Promise(function(e,t){if(!h)throw new H.FormatError("GState must be referred to by name.");var a=b.get("ExtGState");if(!(a instanceof q.Dict))throw new H.FormatError("ExtGState should be a dictionary.");a=a.get(c);if(!(a instanceof q.Dict))throw new H.FormatError("GState should be a dictionary.");v.setGState({resources:b,gState:a,operatorList:y,cacheKey:c,task:m,stateManager:M,localGStateCache:C,localColorSpaceCache:A}).then(e,t)}).catch(function(e){if(!(e instanceof H.AbortException)){if(!v.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring ExtGState: "${e}".`)}}));case H.OPS.moveTo:case H.OPS.lineTo:case H.OPS.curveTo:case H.OPS.curveTo2:case H.OPS.curveTo3:case H.OPS.closePath:case H.OPS.rectangle:v.buildPath(y,t,e,S);continue;case H.OPS.markPoint:case H.OPS.markPointProps:case H.OPS.beginCompat:case H.OPS.endCompat:continue;case H.OPS.beginMarkedContentProps:if(!(e[0]instanceof q.Name)){(0,H.warn)("Expected name for beginMarkedContentProps arg0="+e[0]);continue}if("OC"===e[0].name)return void i(v.parseMarkedContentProps(e[1],b).then(e=>{y.addOp(H.OPS.beginMarkedContentProps,["OC",e])}).catch(e=>{if(!(e instanceof H.AbortException)){if(!v.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring beginMarkedContentProps: "${e}".`)}}));e=[e[0].name,e[1]instanceof q.Dict?e[1].get("MCID"):null];break;case H.OPS.beginMarkedContent:case H.OPS.endMarkedContent:default:if(null!==e){for(s=0,o=e.length;s<o&&!(e[s]instanceof q.Dict);s++);if(s<o){(0,H.warn)("getOperatorList - ignoring operator: "+t);continue}}}y.addOp(t,e)}e?i(W):(N(),a())}).catch(e=>{if(!(e instanceof H.AbortException)){if(!this.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring errors during "${m.name}" task: "${e}".`),N()}})}getTextContent({stream:e,task:u,resources:d,stateManager:f=null,includeMarkedContent:g=!1,sink:p,seenStyles:m=new Set,viewBox:b,markedContentData:y=null,disableNormalization:w=!1}){d||=q.Dict.empty,f||=new K(new Z),g&&(y||={level:0});const v={items:[],styles:Object.create(null)},x={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},r=[" "," "];let i=0;function S(e){var t=(i+1)%2,a=" "!==r[i]&&" "===r[t];return r[i]=e,i=t,a}function k(){return" "!==r[i]&&" "===r[(i+1)%2]}function A(){r[0]=r[1]=" ",i=0}const C=this,F=this.xref,O=[];let I=null;const T=new z.LocalImageCache,M=new z.LocalGStateCache,P=new Y(e,F,f);let E;function N({width:e=0,height:t=0,transform:a=x.prevTransform,fontName:r=x.fontName}){v.items.push({str:" ",dir:"ltr",width:e,height:t,transform:a,fontName:r,hasEOL:!1})}function B(){var e=E.font,t=[E.fontSize*E.textHScale,0,0,E.fontSize,0,E.textRise];return e.isType3Font&&(E.fontSize<=1||e.isCharBBox)&&!(0,H.isArrayEqual)(E.fontMatrix,H.FONT_IDENTITY_MATRIX)&&0<(e=e.bbox[3]-e.bbox[1])&&(t[3]*=e*E.fontMatrix[3]),H.Util.transform(E.ctm,H.Util.transform(E.textMatrix,t))}function D(e,t){return C.loadFont(e,t,d).then(function(e){return e.font.isType3Font?e.loadType3Data(C,d,u).catch(function(){}).then(function(){return e}):e}).then(function(e){E.loadedName=e.loadedName,E.font=e.font,E.fontMatrix=e.font.fontMatrix||H.FONT_IDENTITY_MATRIX})}function R(e,t,a){var r=Math.hypot(a[0],a[1]);return[(a[0]*e+a[1]*t)/r,(a[2]*e+a[3]*t)/r]}function L({chars:e,extraSpacing:n}){var s=E.font;if(!e){const e=E.charSpacing+n;return e&&(s.vertical?E.translateTextMatrix(0,-e):E.translateTextMatrix(e*E.textHScale,0))}var t=s.charsToGlyphs(e),o=E.fontMatrix[0]*E.fontSize;for(let r=0,i=t.length;r<i;r++){var l,c,h=t[r],u=h["category"];if(!u.isInvisibleFormatMark){let e=E.charSpacing+(r+1===i?n:0),t=h.width,a=(t=s.vertical?h.vmetric?h.vmetric[0]:-t:t)*o;u.isWhitespace?(s.vertical?(e+=-a+E.wordSpacing,E.translateTextMatrix(0,-e)):(e+=a+E.wordSpacing,E.translateTextMatrix(e*E.textHScale,0)),S(" ")):u.isZeroWidthDiacritic||function(r){const i=B();let n=i[4],s=i[5];if(E.font?.vertical){if(n<b[0]||n>b[2]||s+r<b[1]||s>b[3])return}else if(n+r<b[0]||n>b[2]||s<b[1]||s>b[3])return;if(E.font&&x.prevTransform){let t=x.prevTransform[4],a=x.prevTransform[5];if(t!==n||a!==s){let e=-1;switch(i[0]&&0===i[1]&&0===i[2]?e=0<i[0]?0:180:i[1]&&0===i[0]&&0===i[3]&&(e=0<i[1]?90:270),e){case 0:break;case 90:[n,s]=[s,n],[t,a]=[a,t];break;case 180:[n,s,t,a]=[-n,-s,-t,-a];break;case 270:[n,s]=[-s,-n],[t,a]=[-a,-t];break;default:[n,s]=R(n,s,i),[t,a]=R(t,a,x.prevTransform)}if(E.font.vertical){const r=(a-s)/x.textAdvanceScale,i=n-t,e=Math.sign(x.height);r<e*x.negativeSpaceMax?(Math.abs(i)>.5*x.width?_:(A(),$))():Math.abs(i)>x.width?_():(r<=e*x.notASpace&&A(),r<=e*x.trackingSpaceMin?k()?(A(),$(),N({height:Math.abs(r)})):x.height+=r:j(r,x.prevTransform,e)||(0===x.str.length?(A(),N({height:Math.abs(r)})):x.height+=r),Math.abs(i)>.25*x.width&&$())}else{var r=(n-t)/x.textAdvanceScale,o=s-a,l=Math.sign(x.width);r<l*x.negativeSpaceMax?(Math.abs(o)>.5*x.height?_:(A(),$))():Math.abs(o)>x.height?_():(r<=l*x.notASpace&&A(),r<=l*x.trackingSpaceMin?k()?(A(),$(),N({width:Math.abs(r)})):x.width+=r:j(r,x.prevTransform,l)||(0===x.str.length?(A(),N({width:Math.abs(r)})):x.width+=r),Math.abs(o)>.25*x.height&&$())}}}return 1}(a)?(c=l=void 0,x.initialized||({font:l,loadedName:c}=E,m.has(c)||(m.add(c),v.styles[c]={fontFamily:l.fallbackName,ascent:l.ascent,descent:l.descent,vertical:l.vertical}),x.fontName=c,c=x.transform=B(),l.vertical?(x.width=x.totalWidth=Math.hypot(c[0],c[1]),x.height=x.totalHeight=0,x.vertical=!0):(x.width=x.totalWidth=0,x.height=x.totalHeight=Math.hypot(c[2],c[3]),x.vertical=!1),l=Math.hypot(E.textLineMatrix[0],E.textLineMatrix[1]),c=Math.hypot(E.ctm[0],E.ctm[1]),c=(x.textAdvanceScale=c*l,E)["fontSize"],x.trackingSpaceMin=.102*c,x.notASpace=.03*c,x.negativeSpaceMax=-.2*c,x.spaceInFlowMin=.102*c,x.spaceInFlowMax=.6*c,x.hasEOL=!1,x.initialized=!0),l=x,u.isZeroWidthDiacritic&&(a=0),s.vertical?(E.translateTextMatrix(0,a),a=Math.abs(a),l.height+=a):(a*=E.textHScale,E.translateTextMatrix(a,0),l.width+=a),a&&(l.prevTransform=B()),S(c=h.unicode)&&l.str.push(" "),l.str.push(c),e&&(s.vertical?E.translateTextMatrix(0,-e):E.translateTextMatrix(e*E.textHScale,0))):s.vertical?E.translateTextMatrix(0,a):E.translateTextMatrix(a*E.textHScale,0)}}}function _(){A(),x.initialized?(x.hasEOL=!0,$()):v.items.push({str:"",dir:"ltr",width:0,height:0,transform:B(),fontName:E.loadedName,hasEOL:!0})}function j(e,t,a){if(a*x.spaceInFlowMin<=e&&e<=a*x.spaceInFlowMax)return x.initialized&&(A(),x.str.push(" ")),0;a=x.fontName;let r=0;return x.vertical&&(r=e,e=0),$(),A(),N({width:Math.abs(e),height:Math.abs(r),transform:t||B(),fontName:a}),1}function $(){x.initialized&&x.str&&(x.vertical?x.totalHeight+=x.height*x.textAdvanceScale:x.totalWidth+=x.width*x.textAdvanceScale,v.items.push(function(e){let t=e.str.join("");w||(t=(0,H.normalizeUnicode)(t));var a=(0,n.bidi)(t,-1,e.vertical);return{str:a.str,dir:a.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}(x)),x.initialized=!1,x.str.length=0)}function U(e=!1){var t=v.items.length;0===t||e&&t<10||(p.enqueue(v,t),v.items=[],v.styles=Object.create(null))}const X=new V;return new Promise(function a(r,i){function e(e){U(!0),Promise.all([e,p.ready]).then(function(){try{a(r,i)}catch(e){i(e)}},i)}u.ensureNotTerminated(),X.reset();var t={};let n,s=[];for(;!(n=X.check())&&(s.length=0,t.args=s,P.read(t));){const a=E,r=(E=f.state,t.fn);switch(s=t.args,0|r){case H.OPS.setFont:var o=s[0].name,l=s[1];if(E.font&&o===E.fontName&&l===E.fontSize)break;return $(),E.fontName=o,E.fontSize=l,void e(D(o,null));case H.OPS.setTextRise:E.textRise=s[0];break;case H.OPS.setHScale:E.textHScale=s[0]/100;break;case H.OPS.setLeading:E.leading=s[0];break;case H.OPS.moveText:E.translateTextLineMatrix(s[0],s[1]),E.textMatrix=E.textLineMatrix.slice();break;case H.OPS.setLeadingMoveText:E.leading=-s[1],E.translateTextLineMatrix(s[0],s[1]),E.textMatrix=E.textLineMatrix.slice();break;case H.OPS.nextLine:E.carriageReturn();break;case H.OPS.setTextMatrix:E.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]),E.setTextLineMatrix(s[0],s[1],s[2],s[3],s[4],s[5]),l=void 0,x.initialized&&(l=Math.hypot(E.textLineMatrix[0],E.textLineMatrix[1]),(l=Math.hypot(E.ctm[0],E.ctm[1])*l)!==x.textAdvanceScale)&&(x.vertical?(x.totalHeight+=x.height*x.textAdvanceScale,x.height=0):(x.totalWidth+=x.width*x.textAdvanceScale,x.width=0),x.textAdvanceScale=l);break;case H.OPS.setCharSpacing:E.charSpacing=s[0];break;case H.OPS.setWordSpacing:E.wordSpacing=s[0];break;case H.OPS.beginText:E.textMatrix=H.IDENTITY_MATRIX.slice(),E.textLineMatrix=H.IDENTITY_MATRIX.slice();break;case H.OPS.showSpacedText:if(!f.state.font){C.ensureStateFont(f.state);continue}const r=(E.font.vertical?1:-1)*E.fontSize/1e3,i=s[0];for(let e=0,t=i.length;e<t;e++){const u=i[e];if("string"==typeof u)O.push(u);else if("number"==typeof u&&0!==u){const a=O.join("");O.length=0,L({chars:a,extraSpacing:u*r})}}if(0<O.length){const a=O.join("");L({chars:a,extraSpacing:O.length=0})}break;case H.OPS.showText:if(!f.state.font){C.ensureStateFont(f.state);continue}L({chars:s[0],extraSpacing:0});break;case H.OPS.nextLineShowText:if(!f.state.font){C.ensureStateFont(f.state);continue}E.carriageReturn(),L({chars:s[0],extraSpacing:0});break;case H.OPS.nextLineSetSpacingShowText:if(!f.state.font){C.ensureStateFont(f.state);continue}E.wordSpacing=s[0],E.charSpacing=s[1],E.carriageReturn(),L({chars:s[2],extraSpacing:0});break;case H.OPS.paintXObject:$(),I=I||d.get("XObject")||q.Dict.empty;var c=s[0]instanceof q.Name,h=s[0].name;if(c&&T.getByName(h))break;return void e(new Promise(function(e,t){if(!c)throw new H.FormatError("XObject must be referred to by name.");let a=I.getRaw(h);if(a instanceof q.Ref){if(T.getByRef(a))return void e();if(C.globalImageCache.getData(a,C.pageIndex))return void e();a=F.fetch(a)}if(!(a instanceof G.BaseStream))throw new H.FormatError("XObject should be a stream");var r=a.dict.get("Subtype");if(!(r instanceof q.Name))throw new H.FormatError("XObject should have a Name subtype");if("Form"!==r.name)T.set(h,a.dict.objId,!0),e();else{var r=f.state.clone(),r=new K(r),i=a.dict.getArray("Matrix");Array.isArray(i)&&6===i.length&&r.transform(i),U();const n={enqueueInvoked:!1,enqueue(e,t){this.enqueueInvoked=!0,p.enqueue(e,t)},get desiredSize(){return p.desiredSize},get ready(){return p.ready}};C.getTextContent({stream:a,task:u,resources:a.dict.get("Resources")||d,stateManager:r,includeMarkedContent:g,sink:n,seenStyles:m,viewBox:b,markedContentData:y,disableNormalization:w}).then(function(){n.enqueueInvoked||T.set(h,a.dict.objId,!0),e()},t)}}).catch(function(e){if(!(e instanceof H.AbortException)){if(!C.options.ignoreErrors)throw e;(0,H.warn)(`getTextContent - ignoring XObject: "${e}".`)}}));case H.OPS.setGState:if(c=s[0]instanceof q.Name,h=s[0].name,c&&M.getByName(h))break;return void e(new Promise(function(e,t){if(!c)throw new H.FormatError("GState must be referred to by name.");var a=d.get("ExtGState");if(!(a instanceof q.Dict))throw new H.FormatError("ExtGState should be a dictionary.");a=a.get(h);if(!(a instanceof q.Dict))throw new H.FormatError("GState should be a dictionary.");var r=a.get("Font");r?($(),E.fontName=null,E.fontSize=r[1],D(null,r[0]).then(e,t)):(M.set(h,a.objId,!0),e())}).catch(function(e){if(!(e instanceof H.AbortException)){if(!C.options.ignoreErrors)throw e;(0,H.warn)(`getTextContent - ignoring ExtGState: "${e}".`)}}));case H.OPS.beginMarkedContent:$(),g&&(y.level++,v.items.push({type:"beginMarkedContent",tag:s[0]instanceof q.Name?s[0].name:null}));break;case H.OPS.beginMarkedContentProps:if($(),g){y.level++;let e=null;s[1]instanceof q.Dict&&(e=s[1].get("MCID")),v.items.push({type:"beginMarkedContentProps",id:Number.isInteger(e)?C.idFactory.getPageObjId()+"_mc"+e:null,tag:s[0]instanceof q.Name?s[0].name:null})}break;case H.OPS.endMarkedContent:if($(),g){if(0===y.level)break;y.level--,v.items.push({type:"endMarkedContent"})}break;case H.OPS.restore:!a||a.font===E.font&&a.fontSize===E.fontSize&&a.fontName===E.fontName||$()}if(v.items.length>=p.desiredSize){n=!0;break}}n?e(W):($(),U(),r())}).catch(e=>{if(!(e instanceof H.AbortException)){if(!this.options.ignoreErrors)throw e;(0,H.warn)(`getTextContent - ignoring errors during "${u.name}" task: "${e}".`),$(),U()}})}extractDataStructures(t,e,a){var r=this.xref;let i;e=this.readToUnicode(a.toUnicode||t.get("ToUnicode")||e.get("ToUnicode"));if(a.composite){const e=t.get("CIDSystemInfo");e instanceof q.Dict&&(a.cidSystemInfo={registry:(0,H.stringToPDFString)(e.get("Registry")),ordering:(0,H.stringToPDFString)(e.get("Ordering")),supplement:e.get("Supplement")});try{const e=t.get("CIDToGIDMap");e instanceof G.BaseStream&&(i=e.getBytes())}catch(t){if(!this.options.ignoreErrors)throw t;(0,H.warn)(`extractDataStructures - ignoring CIDToGIDMap data: "${t}".`)}}var n=[];let s,o=null;if(t.has("Encoding")){if((s=t.get("Encoding"))instanceof q.Dict){if(o=(o=s.get("BaseEncoding"))instanceof q.Name?o.name:null,s.has("Differences")){const t=s.get("Differences");let e=0;for(const a of t){const t=r.fetchIfRef(a);if("number"==typeof t)e=t;else{if(!(t instanceof q.Name))throw new H.FormatError("Invalid entry in 'Differences' array: "+t);n[e++]=t.name}}}}else if(s instanceof q.Name)o=s.name;else{const t="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new H.FormatError(t);(0,H.warn)(t)}"MacRomanEncoding"!==o&&"MacExpertEncoding"!==o&&"WinAnsiEncoding"!==o&&(o=null)}var l=!a.file||a.isInternalFont;if(o=o&&l&&(0,k.getSymbolsFonts)()[a.name]?null:o)a.defaultEncoding=(0,c.getEncoding)(o);else{const t=!!(a.flags&F.FontFlags.Symbolic),e=!!(a.flags&F.FontFlags.Nonsymbolic);s=c.StandardEncoding,"TrueType"!==a.type||e||(s=c.WinAnsiEncoding),t&&(s=c.MacRomanEncoding,l)&&(/Symbol/i.test(a.name)?s=c.SymbolSetEncoding:/Dingbats/i.test(a.name)?s=c.ZapfDingbatsEncoding:/Wingdings/i.test(a.name)&&(s=c.WinAnsiEncoding)),a.defaultEncoding=s}return a.differences=n,a.baseEncodingName=o,a.hasEncoding=!!o||0<n.length,a.dict=t,e.then(e=>(a.toUnicode=e,this.buildToUnicode(a))).then(e=>(a.toUnicode=e,i&&(a.cidToGidMap=this.readCidToGidMap(i,e)),a))}_simpleFontToUnicode(a,r=!1){(0,H.assert)(!a.composite,"Must be a simple font.");const i=[],e=a.defaultEncoding.slice(),n=a.baseEncodingName,t=a.differences;for(const a in t){const r=t[a];".notdef"!==r&&(e[a]=r)}var s=(0,l.getGlyphsUnicode)();for(const H in e){let t=e[H];if(""!==t){var o=s[t];if(void 0!==o)i[H]=String.fromCharCode(o);else{let e=0;switch(t[0]){case"G":3===t.length&&(e=parseInt(t.substring(1),16));break;case"g":5===t.length&&(e=parseInt(t.substring(1),16));break;case"C":case"c":if(3<=t.length&&t.length<=4){const i=t.substring(1);if(r){e=parseInt(i,16);break}if(e=+i,Number.isNaN(e)&&Number.isInteger(parseInt(i,16)))return this._simpleFontToUnicode(a,!0)}break;case"u":-1!==(o=(0,u.getUnicodeForGlyph)(t,s))&&(e=o);break;default:switch(t){case"f_h":case"f_t":case"T_h":i[H]=t.replaceAll("_","");continue}}if(0<e&&e<=1114111&&Number.isInteger(e)){if(n&&e===+H){const a=(0,c.getEncoding)(n);if(a&&(t=a[H])){i[H]=String.fromCharCode(s[t]);continue}}i[H]=String.fromCodePoint(e)}}}}return i}async buildToUnicode(e){if(e.hasIncludedToUnicodeMap=0<e.toUnicode?.length,e.hasIncludedToUnicodeMap)return!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._simpleFontToUnicode(e)),e.toUnicode;if(!e.composite)return new o.ToUnicodeMap(this._simpleFontToUnicode(e));if(!e.composite||(!e.cMap.builtInCMap||e.cMap instanceof x.IdentityCMap)&&("Adobe"!==e.cidSystemInfo.registry||"GB1"!==e.cidSystemInfo.ordering&&"CNS1"!==e.cidSystemInfo.ordering&&"Japan1"!==e.cidSystemInfo.ordering&&"Korea1"!==e.cidSystemInfo.ordering))return new o.IdentityToUnicodeMap(e.firstChar,e.lastChar);{const{registry:t,ordering:a}=e.cidSystemInfo,r=q.Name.get(t+`-${a}-UCS2`),i=await x.CMapFactory.create({encoding:r,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),n=[],s=[];return e.cMap.forEach(function(e,t){if(65535<t)throw new H.FormatError("Max size of CID is 65,535");var a=i.lookup(t);if(a){for(let e=s.length=0,t=a.length;e<t;e+=2)s.push((a.charCodeAt(e)<<8)+a.charCodeAt(e+1));n[e]=String.fromCharCode(...s)}}),new o.ToUnicodeMap(n)}}readToUnicode(e){return e?e instanceof q.Name?x.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(e){return e instanceof x.IdentityCMap?new o.IdentityToUnicodeMap(0,65535):new o.ToUnicodeMap(e.getMap())}):e instanceof G.BaseStream?x.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(e){if(e instanceof x.IdentityCMap)return new o.IdentityToUnicodeMap(0,65535);const i=new Array(e.length);return e.forEach(function(e,t){if("number"==typeof t)i[e]=String.fromCodePoint(t);else{var a,r=[];for(let e=0;e<t.length;e+=2){const i=t.charCodeAt(e)<<8|t.charCodeAt(e+1);55296!=(63488&i)?r.push(i):(e+=2,a=t.charCodeAt(e)<<8|t.charCodeAt(e+1),r.push(((1023&i)<<10)+(1023&a)+65536))}i[e]=String.fromCodePoint(...r)}}),new o.ToUnicodeMap(i)},e=>{if(e instanceof H.AbortException)return null;if(this.options.ignoreErrors)return(0,H.warn)(`readToUnicode - ignoring ToUnicode data: "${e}".`),null;throw e}):Promise.resolve(null):Promise.resolve(null)}readCidToGidMap(a,r){var i=[];for(let e=0,t=a.length;e<t;e++){var n=a[e++]<<8|a[e],s=e>>1;0==n&&!r.has(s)||(i[s]=n)}return i}extractWidths(e,t,a){var r=this.xref;let i=[],n=0;const s=[];let o,l,c,h,u,d,f,g;if(a.composite){if(n=e.has("DW")?e.get("DW"):1e3,g=e.get("W"))for(l=0,c=g.length;l<c;l++)if(d=r.fetchIfRef(g[l++]),f=r.fetchIfRef(g[l]),Array.isArray(f))for(h=0,u=f.length;h<u;h++)i[d++]=r.fetchIfRef(f[h]);else{const e=r.fetchIfRef(g[++l]);for(h=d;h<=f;h++)i[h]=e}if(a.vertical){var p=e.getArray("DW2")||[880,-1e3];if(o=[p[1],.5*n,p[0]],p=e.get("W2"))for(l=0,c=p.length;l<c;l++)if(d=r.fetchIfRef(p[l++]),f=r.fetchIfRef(p[l]),Array.isArray(f))for(h=0,u=f.length;h<u;h++)s[d++]=[r.fetchIfRef(f[h++]),r.fetchIfRef(f[h++]),r.fetchIfRef(f[h])];else{const e=[r.fetchIfRef(p[++l]),r.fetchIfRef(p[++l]),r.fetchIfRef(p[++l])];for(h=d;h<=f;h++)s[h]=e}}}else{const s=a.firstChar;if(g=e.get("Widths")){for(h=s,l=0,c=g.length;l<c;l++)i[h++]=r.fetchIfRef(g[l]);n=parseFloat(t.get("MissingWidth"))||0}else{const t=e.get("BaseFont");if(t instanceof q.Name){const e=this.getBaseFontMetrics(t.name);i=this.buildCharCodeToWidth(e.widths,a),n=e.defaultWidth}}}let m=!0,b=n;for(const e in i){const t=i[e];if(t)if(b){if(b!==t){m=!1;break}}else b=t}m?a.flags|=F.FontFlags.FixedPitch:a.flags&=~F.FontFlags.FixedPitch,a.defaultWidth=n,a.widths=i,a.defaultVMetrics=o,a.vmetrics=s}isSerifFont(e){e=e.split("-")[0];return e in(0,k.getSerifFonts)()||/serif/gi.test(e)}getBaseFontMetrics(e){let t=0,a=Object.create(null),r=!1,i=(0,k.getStdFontMap)()[e]||e;var n=(0,s.getMetrics)(),n=n[i=i in n?i:this.isSerifFont(e)?"Times-Roman":"Helvetica"];return"number"==typeof n?(t=n,r=!0):a=n(),{defaultWidth:t,monospace:r,widths:a}}buildCharCodeToWidth(t,e){var a=Object.create(null),r=e.differences,i=e.defaultEncoding;for(let e=0;e<256;e++)e in r&&t[r[e]]?a[e]=t[r[e]]:e in i&&t[i[e]]&&(a[e]=t[i[e]]);return a}preEvaluateFont(t){const a=t;let r=t.get("Subtype");if(!(r instanceof q.Name))throw new H.FormatError("invalid font Subtype");let e,i,n=!1;if("Type0"===r.name){const a=t.get("DescendantFonts");if(!a)throw new H.FormatError("Descendant fonts are not specified");if(!((t=Array.isArray(a)?this.xref.fetchIfRef(a[0]):a)instanceof q.Dict))throw new H.FormatError("Descendant font is not a dictionary.");if(!((r=t.get("Subtype"))instanceof q.Name))throw new H.FormatError("invalid font Subtype");n=!0}var s=t.get("FirstChar")||0,o=t.get("LastChar")||(n?65535:255),l=t.get("FontDescriptor");if(l){e=new I.MurmurHash3_64;const r=a.getRaw("Encoding");if(r instanceof q.Name)e.update(r.name);else if(r instanceof q.Ref)e.update(r.toString());else if(r instanceof q.Dict)for(const t of r.getRawValues())if(t instanceof q.Name)e.update(t.name);else if(t instanceof q.Ref)e.update(t.toString());else if(Array.isArray(t)){const a=t.length,r=new Array(a);for(let e=0;e<a;e++){const a=t[e];a instanceof q.Name?r[e]=a.name:("number"==typeof a||a instanceof q.Ref)&&(r[e]=a.toString())}e.update(r.join())}if(e.update(s+"-"+o),(i=t.get("ToUnicode")||a.get("ToUnicode"))instanceof G.BaseStream){const t=i.str||i,a=t.buffer?new Uint8Array(t.buffer.buffer,0,t.bufferLength):new Uint8Array(t.bytes.buffer,t.start,t.end-t.start);e.update(a)}else i instanceof q.Name&&e.update(i.name);const H=t.get("Widths")||a.get("Widths");if(Array.isArray(H)){const t=[];for(const a of H)("number"==typeof a||a instanceof q.Ref)&&t.push(a.toString());e.update(t.join())}if(n){e.update("compositeFont");const r=t.get("W")||a.get("W");if(Array.isArray(r)){const t=[];for(const a of r)if("number"==typeof a||a instanceof q.Ref)t.push(a.toString());else if(Array.isArray(a)){const r=[];for(const t of a)("number"==typeof t||t instanceof q.Ref)&&r.push(t.toString());t.push(`[${r.join()}]`)}e.update(t.join())}const H=t.getRaw("CIDToGIDMap")||a.getRaw("CIDToGIDMap");H instanceof q.Name?e.update(H.name):H instanceof q.Ref?e.update(H.toString()):H instanceof G.BaseStream&&e.update(H.peekBytes())}}return{descriptor:l,dict:t,baseDict:a,composite:n,type:r.name,firstChar:s,lastChar:o,toUnicode:i,hash:e?e.hexdigest():""}}async translateFont({descriptor:t,dict:r,baseDict:i,composite:n,type:s,firstChar:o,lastChar:l,toUnicode:c,cssFontInfo:h}){var u="Type3"===s;let d;if(!t){if(!u){let a=r.get("BaseFont");if(!(a instanceof q.Name))throw new H.FormatError("Base font is not specified");a=a.name.replaceAll(/[,_]/g,"-");const x=this.getBaseFontMetrics(a),n=a.split("-")[0],A=(this.isSerifFont(n)?F.FontFlags.Serif:0)|(x.monospace?F.FontFlags.FixedPitch:0)|((0,k.getSymbolsFonts)()[n]?F.FontFlags.Symbolic:F.FontFlags.Nonsymbolic),h=(d={type:s,name:a,loadedName:i.loadedName,systemFontInfo:null,widths:x.widths,defaultWidth:x.defaultWidth,isSimulatedFlags:!0,flags:A,firstChar:o,lastChar:l,toUnicode:c,xHeight:0,capHeight:0,italicAngle:0,isType3Font:u},r.get("Widths")),C=(0,k.getStandardFontName)(a);let e=null;return C&&(e=await this.fetchStandardFontData(C),d.isInternalFont=!!e),!d.isInternalFont&&this.options.useSystemFonts&&(d.systemFontInfo=(0,O.getFontSubstitution)(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,a,C)),this.extractDataStructures(r,r,d).then(t=>{if(h){const a=[];let e=o;for(const t of h)a[e++]=this.xref.fetchIfRef(t);t.widths=a}else t.widths=this.buildCharCodeToWidth(x.widths,t);return new S.Font(a,e,t)})}(t=new q.Dict(null)).set("FontName",q.Name.get(s)),t.set("FontBBox",r.getArray("FontBBox")||[0,0,0,0])}let a,e,f,g,p,m=t.get("FontName"),b=r.get("BaseFont");if("string"==typeof m&&(m=q.Name.get(m)),"string"==typeof b&&(b=q.Name.get(b)),!u){const t=m?.name,r=b?.name;t!==r&&((0,H.info)(`The FontDescriptor's FontName is "${t}" but should be the same as the Font's BaseFont "${r}".`),t)&&r?.startsWith(t)&&(m=b)}if(!((m||=b)instanceof q.Name))throw new H.FormatError("invalid font name");try{a=t.get("FontFile","FontFile2","FontFile3")}catch(t){if(!this.options.ignoreErrors)throw t;(0,H.warn)(`translateFont - fetching "${m.name}" font file: "${t}".`),a=new C.NullStream}let y=!1,w=null,v=null;if(a){if(a.dict){const t=a.dict.get("Subtype");t instanceof q.Name&&(e=t.name),f=a.dict.get("Length1"),g=a.dict.get("Length2"),p=a.dict.get("Length3")}}else if(h){const t=(0,A.getXfaFontName)(m.name);t&&(h.fontFamily=h.fontFamily+"-PdfJS-XFA",h.metrics=t.metrics||null,w=t.factors||null,a=await this.fetchStandardFontData(t.name),y=!!a,i=r=(0,A.getXfaFontDict)(m.name),n=!0)}else if(!u){const t=(0,k.getStandardFontName)(m.name);t&&(a=await this.fetchStandardFontData(t),y=!!a),!y&&this.options.useSystemFonts&&(v=(0,O.getFontSubstitution)(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,m.name,t))}if(d={type:s,name:m.name,subtype:e,file:a,length1:f,length2:g,length3:p,isInternalFont:y,loadedName:i.loadedName,composite:n,fixedPitch:!1,fontMatrix:r.getArray("FontMatrix")||H.FONT_IDENTITY_MATRIX,firstChar:o,lastChar:l,toUnicode:c,bbox:t.getArray("FontBBox")||r.getArray("FontBBox"),ascent:t.get("Ascent"),descent:t.get("Descent"),xHeight:t.get("XHeight")||0,capHeight:t.get("CapHeight")||0,flags:t.get("Flags"),italicAngle:t.get("ItalicAngle")||0,isType3Font:u,cssFontInfo:h,scaleFactors:w,systemFontInfo:v},n){const t=i.get("Encoding"),r=(t instanceof q.Name&&(d.cidEncoding=t.name),await x.CMapFactory.create({encoding:t,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}));d.cMap=r,d.vertical=d.cMap.vertical}return this.extractDataStructures(r,i,d).then(e=>(this.extractWidths(r,t,e),new S.Font(m.name,a,e)))}static buildFontPaths(a,e,r,i){function t(e){var t=a.loadedName+"_path_"+e;try{a.renderer.hasBuiltPath(e)||r.send("commonobj",[t,"FontPath",a.renderer.getPathJs(e)])}catch(e){if(i.ignoreErrors)return(0,H.warn)(`buildFontPaths - ignoring ${t} glyph: "${e}".`);throw e}}for(const a of e){t(a.fontChar);const e=a.accent;e?.fontChar&&t(e.fontChar)}}static get fallbackFontDict(){var e=new q.Dict;return e.set("BaseFont",q.Name.get("Helvetica")),e.set("Type",q.Name.get("FallbackType")),e.set("Subtype",q.Name.get("FallbackType")),e.set("Encoding",q.Name.get("WinAnsiEncoding")),(0,H.shadow)(this,"fallbackFontDict",e)}}e.PartialEvaluator=p;class m{constructor({loadedName:e,font:t,dict:a,evaluatorOptions:r}){this.loadedName=e,this.font=t,this.dict=a,this._evaluatorOptions=r||f,this.type3Loaded=null,this.type3Dependencies=t.isType3Font?new Set:null,this.sent=!1}send(e){this.sent||(this.sent=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}fallback(e){this.font.data&&(this.font.disableFontFace=!0,p.buildFontPaths(this.font,this.font.glyphCacheValues,e,this._evaluatorOptions))}loadType3Data(a,t,r){if(!this.type3Loaded){if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");const i=a.clone({ignoreErrors:!1});i.parsingType3Font=!0;a=new q.RefSet(a.type3FontRefs);this.dict.objId&&!a.has(this.dict.objId)&&a.put(this.dict.objId),i.type3FontRefs=a;const n=this.font,s=this.type3Dependencies;let e=Promise.resolve();const o=this.dict.get("CharProcs"),l=this.dict.get("Resources")||t,c=Object.create(null),h=H.Util.normalizeRect(n.bbox||[0,0,0,0]),u=h[2]-h[0],d=h[3]-h[1],f=Math.hypot(u,d);for(const a of o.getKeys())e=e.then(()=>{const e=o.get(a),t=new g.OperatorList;return i.getOperatorList({stream:e,task:r,resources:l,operatorList:t}).then(()=>{t.fnArray[0]===H.OPS.setCharWidthAndBounds&&this._removeType3ColorOperators(t,f),c[a]=t.getIR();for(const a of t.dependencies)s.add(a)}).catch(function(e){(0,H.warn)(`Type3 font resource "${a}" is not available.`);var t=new g.OperatorList;c[a]=t.getIR()})});this.type3Loaded=e.then(()=>{n.charProcOperatorList=c,this._bbox&&(n.isCharBBox=!0,n.bbox=this._bbox)})}return this.type3Loaded}_removeType3ColorOperators(a,r=NaN){var e=H.Util.normalizeRect(a.argsArray[0].slice(2)),t=e[2]-e[0],i=e[3]-e[1],n=Math.hypot(t,i);0==t||0==i?(a.fnArray.splice(0,1),a.argsArray.splice(0,1)):(0===r||10<=Math.round(n/r))&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],e[0]),this._bbox[1]=Math.min(this._bbox[1],e[1]),this._bbox[2]=Math.max(this._bbox[2],e[2]),this._bbox[3]=Math.max(this._bbox[3],e[3]));let s=0,o=a.length;for(;s<o;){switch(a.fnArray[s]){case H.OPS.setCharWidthAndBounds:break;case H.OPS.setStrokeColorSpace:case H.OPS.setFillColorSpace:case H.OPS.setStrokeColor:case H.OPS.setStrokeColorN:case H.OPS.setFillColor:case H.OPS.setFillColorN:case H.OPS.setStrokeGray:case H.OPS.setFillGray:case H.OPS.setStrokeRGBColor:case H.OPS.setFillRGBColor:case H.OPS.setStrokeCMYKColor:case H.OPS.setFillCMYKColor:case H.OPS.shadingFill:case H.OPS.setRenderingIntent:a.fnArray.splice(s,1),a.argsArray.splice(s,1),o--;continue;case H.OPS.setGState:const[r]=a.argsArray[s];let e=0,t=r.length;for(;e<t;){const[a]=r[e];switch(a){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":r.splice(e,1),t--;continue}e++}}s++}}}class K{constructor(e=new i){this.state=e,this.stateStack=[]}save(){var e=this.state;this.stateStack.push(this.state),this.state=e.clone()}restore(){var e=this.stateStack.pop();e&&(this.state=e)}transform(e){this.state.ctm=H.Util.transform(this.state.ctm,e)}}class Z{constructor(){this.ctm=new Float32Array(H.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=H.FONT_IDENTITY_MATRIX,this.textMatrix=H.IDENTITY_MATRIX.slice(),this.textLineMatrix=H.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}setTextMatrix(e,t,a,r,i,n){var s=this.textMatrix;s[0]=e,s[1]=t,s[2]=a,s[3]=r,s[4]=i,s[5]=n}setTextLineMatrix(e,t,a,r,i,n){var s=this.textLineMatrix;s[0]=e,s[1]=t,s[2]=a,s[3]=r,s[4]=i,s[5]=n}translateTextMatrix(e,t){var a=this.textMatrix;a[4]=a[0]*e+a[2]*t+a[4],a[5]=a[1]*e+a[3]*t+a[5]}translateTextLineMatrix(e,t){var a=this.textLineMatrix;a[4]=a[0]*e+a[2]*t+a[4],a[5]=a[1]*e+a[3]*t+a[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){var e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}class i{constructor(){this.ctm=new Float32Array(H.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=H.TextRenderingMode.FILL,this.fillColorSpace=B.ColorSpace.singletons.gray,this.strokeColorSpace=B.ColorSpace.singletons.gray}clone(){return Object.create(this)}}class Y{static get opMap(){var e=(0,a.getLookupTableFactory)(function(e){e.w={id:H.OPS.setLineWidth,numArgs:1,variableArgs:!1},e.J={id:H.OPS.setLineCap,numArgs:1,variableArgs:!1},e.j={id:H.OPS.setLineJoin,numArgs:1,variableArgs:!1},e.M={id:H.OPS.setMiterLimit,numArgs:1,variableArgs:!1},e.d={id:H.OPS.setDash,numArgs:2,variableArgs:!1},e.ri={id:H.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},e.i={id:H.OPS.setFlatness,numArgs:1,variableArgs:!1},e.gs={id:H.OPS.setGState,numArgs:1,variableArgs:!1},e.q={id:H.OPS.save,numArgs:0,variableArgs:!1},e.Q={id:H.OPS.restore,numArgs:0,variableArgs:!1},e.cm={id:H.OPS.transform,numArgs:6,variableArgs:!1},e.m={id:H.OPS.moveTo,numArgs:2,variableArgs:!1},e.l={id:H.OPS.lineTo,numArgs:2,variableArgs:!1},e.c={id:H.OPS.curveTo,numArgs:6,variableArgs:!1},e.v={id:H.OPS.curveTo2,numArgs:4,variableArgs:!1},e.y={id:H.OPS.curveTo3,numArgs:4,variableArgs:!1},e.h={id:H.OPS.closePath,numArgs:0,variableArgs:!1},e.re={id:H.OPS.rectangle,numArgs:4,variableArgs:!1},e.S={id:H.OPS.stroke,numArgs:0,variableArgs:!1},e.s={id:H.OPS.closeStroke,numArgs:0,variableArgs:!1},e.f={id:H.OPS.fill,numArgs:0,variableArgs:!1},e.F={id:H.OPS.fill,numArgs:0,variableArgs:!1},e["f*"]={id:H.OPS.eoFill,numArgs:0,variableArgs:!1},e.B={id:H.OPS.fillStroke,numArgs:0,variableArgs:!1},e["B*"]={id:H.OPS.eoFillStroke,numArgs:0,variableArgs:!1},e.b={id:H.OPS.closeFillStroke,numArgs:0,variableArgs:!1},e["b*"]={id:H.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},e.n={id:H.OPS.endPath,numArgs:0,variableArgs:!1},e.W={id:H.OPS.clip,numArgs:0,variableArgs:!1},e["W*"]={id:H.OPS.eoClip,numArgs:0,variableArgs:!1},e.BT={id:H.OPS.beginText,numArgs:0,variableArgs:!1},e.ET={id:H.OPS.endText,numArgs:0,variableArgs:!1},e.Tc={id:H.OPS.setCharSpacing,numArgs:1,variableArgs:!1},e.Tw={id:H.OPS.setWordSpacing,numArgs:1,variableArgs:!1},e.Tz={id:H.OPS.setHScale,numArgs:1,variableArgs:!1},e.TL={id:H.OPS.setLeading,numArgs:1,variableArgs:!1},e.Tf={id:H.OPS.setFont,numArgs:2,variableArgs:!1},e.Tr={id:H.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},e.Ts={id:H.OPS.setTextRise,numArgs:1,variableArgs:!1},e.Td={id:H.OPS.moveText,numArgs:2,variableArgs:!1},e.TD={id:H.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},e.Tm={id:H.OPS.setTextMatrix,numArgs:6,variableArgs:!1},e["T*"]={id:H.OPS.nextLine,numArgs:0,variableArgs:!1},e.Tj={id:H.OPS.showText,numArgs:1,variableArgs:!1},e.TJ={id:H.OPS.showSpacedText,numArgs:1,variableArgs:!1},e["'"]={id:H.OPS.nextLineShowText,numArgs:1,variableArgs:!1},e['"']={id:H.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},e.d0={id:H.OPS.setCharWidth,numArgs:2,variableArgs:!1},e.d1={id:H.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},e.CS={id:H.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},e.cs={id:H.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},e.SC={id:H.OPS.setStrokeColor,numArgs:4,variableArgs:!0},e.SCN={id:H.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},e.sc={id:H.OPS.setFillColor,numArgs:4,variableArgs:!0},e.scn={id:H.OPS.setFillColorN,numArgs:33,variableArgs:!0},e.G={id:H.OPS.setStrokeGray,numArgs:1,variableArgs:!1},e.g={id:H.OPS.setFillGray,numArgs:1,variableArgs:!1},e.RG={id:H.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},e.rg={id:H.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},e.K={id:H.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},e.k={id:H.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},e.sh={id:H.OPS.shadingFill,numArgs:1,variableArgs:!1},e.BI={id:H.OPS.beginInlineImage,numArgs:0,variableArgs:!1},e.ID={id:H.OPS.beginImageData,numArgs:0,variableArgs:!1},e.EI={id:H.OPS.endInlineImage,numArgs:1,variableArgs:!1},e.Do={id:H.OPS.paintXObject,numArgs:1,variableArgs:!1},e.MP={id:H.OPS.markPoint,numArgs:1,variableArgs:!1},e.DP={id:H.OPS.markPointProps,numArgs:2,variableArgs:!1},e.BMC={id:H.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},e.BDC={id:H.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},e.EMC={id:H.OPS.endMarkedContent,numArgs:0,variableArgs:!1},e.BX={id:H.OPS.beginCompat,numArgs:0,variableArgs:!1},e.EX={id:H.OPS.endCompat,numArgs:0,variableArgs:!1},e.BM=null,e.BD=null,e.true=null,e.fa=null,e.fal=null,e.fals=null,e.false=null,e.nu=null,e.nul=null,e.null=null});return(0,H.shadow)(this,"opMap",e())}static MAX_INVALID_PATH_OPS=10;constructor(e,t,a=new K){this.parser=new r.Parser({lexer:new r.Lexer(e,Y.opMap),xref:t}),this.stateManager=a,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(t){let a=t.args;for(;;){var r=this.parser.getObj();if(r instanceof q.Cmd){const s=r.cmd,q=Y.opMap[s];if(!q){(0,H.warn)(`Unknown command "${s}".`);continue}var i=q.id,n=q.numArgs;let e=null!==a?a.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=i>=H.OPS.moveTo&&i<=H.OPS.endPath,q.variableArgs)e>n&&(0,H.info)(`Command ${s}: expected [0, ${n}] args, but received ${e} args.`);else{if(e!==n){const t=this.nonProcessedArgs;for(;e>n;)t.push(a.shift()),e--;for(;e<n&&0!==t.length;)(a=null===a?[]:a).unshift(t.pop()),e++}if(e<n){const t=`command ${s}: expected ${n} args, but received ${e} args.`;if(this._isPathOp&&++this._numInvalidPathOPS>Y.MAX_INVALID_PATH_OPS)throw new H.FormatError("Invalid "+t);(0,H.warn)("Skipping "+t),null!==a&&(a.length=0);continue}}return this.preprocessCommand(i,a),t.fn=i,t.args=a,!0}if(r===q.EOF)return!1;if(null!==r&&((a=null===a?[]:a).push(r),33<a.length))throw new H.FormatError("Too many arguments")}}preprocessCommand(e,t){switch(0|e){case H.OPS.save:this.stateManager.save();break;case H.OPS.restore:this.stateManager.restore();break;case H.OPS.transform:this.stateManager.transform(t)}}}e.EvaluatorPreprocessor=Y},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityCMap=t.CMapFactory=t.CMap=void 0;var h=a(2),u=a(4),r=a(5),n=a(15),s=a(16),d=a(3),o=a(8);const l=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],c=2**24-1;class f{constructor(e=!1){this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=e}addCodespaceRange(e,t,a){this.codespaceRanges[e-1].push(t,a),this.numCodespaceRanges++}mapCidRange(e,t,a){if(t-e>c)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=a++}mapBfRange(e,t,a){if(t-e>c)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var r=a.length-1;e<=t;){const t=(this._map[e++]=a).charCodeAt(r)+1;a=255<t?a.substring(0,r-1)+String.fromCharCode(a.charCodeAt(r-1)+1)+"\0":a.substring(0,r)+String.fromCharCode(t)}}mapBfRangeToArray(e,t,a){if(t-e>c)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");var r=a.length;let i=0;for(;e<=t&&i<r;)this._map[e]=a[i++],++e}mapOne(e,t){this._map[e]=t}lookup(e){return this._map[e]}contains(e){return void 0!==this._map[e]}forEach(t){const a=this._map,r=a.length;if(r<=65536)for(let e=0;e<r;e++)void 0!==a[e]&&t(e,a[e]);else for(const r in a)t(r,a[r])}charCodeOf(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(const a in t)if(t[a]===e)return 0|a;return-1}getMap(){return this._map}readCharCode(t,r,i){let n=0;const s=this.codespaceRanges;for(let a=0,e=s.length;a<e;a++){n=(n<<8|t.charCodeAt(r+a))>>>0;var o=s[a];for(let e=0,t=o.length;e<t;){const r=o[e++],s=o[e++];if(n>=r&&n<=s)return i.charcode=n,void(i.length=a+1)}}i.charcode=0,i.length=1}getCharCodeLength(r){var t=this.codespaceRanges;for(let a=0,e=t.length;a<e;a++){var i=t[a];for(let e=0,t=i.length;e<t;){var n=i[e++],s=i[e++];if(n<=r&&r<=s)return a+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(let e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}class g extends(t.CMap=f){constructor(e,t){super(),this.vertical=e,this.addCodespaceRange(t,0,65535)}mapCidRange(e,t,a){(0,h.unreachable)("should not call mapCidRange")}mapBfRange(e,t,a){(0,h.unreachable)("should not call mapBfRange")}mapBfRangeToArray(e,t,a){(0,h.unreachable)("should not call mapBfRangeToArray")}mapOne(e,t){(0,h.unreachable)("should not call mapCidOne")}lookup(e){return Number.isInteger(e)&&e<=65535?e:void 0}contains(e){return Number.isInteger(e)&&e<=65535}forEach(t){for(let e=0;e<=65535;e++)t(e,e)}charCodeOf(e){return Number.isInteger(e)&&e<=65535?e:-1}getMap(){var t=new Array(65536);for(let e=0;e<=65535;e++)t[e]=e;return t}get length(){return 65536}get isIdentityCMap(){(0,h.unreachable)("should not access .isIdentityCMap")}}function p(t){let a=0;for(let e=0;e<t.length;e++)a=a<<8|t.charCodeAt(e);return a>>>0}function m(e){if("string"!=typeof e)throw new h.FormatError("Malformed CMap: expected string.")}function b(e){if(!Number.isInteger(e))throw new h.FormatError("Malformed CMap: expected int.")}async function y(e,t,a,r){let i,n;e:for(;;)try{const a=t.getObj();if(a===u.EOF)break;if(a instanceof u.Name)"WMode"===a.name?(l=e,c=(c=t).getObj(),Number.isInteger(c)&&(l.vertical=!!c)):"CMapName"===a.name&&(s=e,(o=(o=t).getObj())instanceof u.Name&&(s.name=o.name)),i=a;else if(a instanceof u.Cmd)switch(a.cmd){case"endcmap":break e;case"usecmap":i instanceof u.Name&&(n=i.name);break;case"begincodespacerange":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endcodespacerange"))return;if("string"!=typeof a)break;const h=p(a);if("string"!=typeof(a=t.getObj()))break;var r=p(a);e.addCodespaceRange(a.length,h,r)}throw new h.FormatError("Invalid codespace range.")}(e,t);break;case"beginbfchar":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endbfchar"))return;m(a);var r=p(a);m(a=t.getObj()),e.mapOne(r,a)}}(e,t);break;case"begincidchar":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endcidchar"))return;m(a);var r=p(a);b(a=t.getObj()),e.mapOne(r,a)}}(e,t);break;case"beginbfrange":!function(t,a){for(;;){let e=a.getObj();if(e===u.EOF)break;if((0,u.isCmd)(e,"endbfrange"))return;m(e);const h=p(e);m(e=a.getObj());var r=p(e);if(e=a.getObj(),Number.isInteger(e)||"string"==typeof e){const a=Number.isInteger(e)?String.fromCharCode(e):e;t.mapBfRange(h,r,a)}else{if(!(0,u.isCmd)(e,"["))break;e=a.getObj();for(var i=[];!(0,u.isCmd)(e,"]")&&e!==u.EOF;)i.push(e),e=a.getObj();t.mapBfRangeToArray(h,r,i)}}throw new h.FormatError("Invalid bf range.")}(e,t);break;case"begincidrange":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endcidrange"))return;m(a);var r=p(a),i=(m(a=t.getObj()),p(a));b(a=t.getObj());e.mapCidRange(r,i,a)}}(e,t)}}catch(e){if(e instanceof d.MissingDataException)throw e;(0,h.warn)("Invalid cMap data: "+e);continue}var s,o,l,c;return(r=!r&&n?n:r)?w(e,a,r):e}async function w(a,t,e){if(a.useCMap=await i(e,t),0===a.numCodespaceRanges){const t=a.useCMap.codespaceRanges;for(let e=0;e<t.length;e++)a.codespaceRanges[e]=t[e].slice();a.numCodespaceRanges=a.useCMap.numCodespaceRanges}return a.useCMap.forEach(function(e,t){a.contains(e)||a.mapOne(e,a.useCMap.lookup(e))}),a}async function i(e,t){if("Identity-H"===e)return new g(!1,2);if("Identity-V"===e)return new g(!0,2);if(!l.includes(e))throw new Error("Unknown CMap name: "+e);if(!t)throw new Error("Built-in CMap parameters are not provided.");const{cMapData:a,compressionType:r}=await t(e),i=new f(!0);if(r===h.CMapCompressionType.BINARY)return(new n.BinaryCMapReader).process(a,i,e=>w(i,t,e));if(r!==h.CMapCompressionType.NONE)throw new Error('Invalid CMap "compressionType" value: '+r);{const e=new s.Lexer(new o.Stream(a));return y(i,e,t,null)}}t.IdentityCMap=g,t.CMapFactory=class{static async create({encoding:e,fetchBuiltInCMap:t,useCMap:a}){if(e instanceof u.Name)return i(e.name,t);if(e instanceof r.BaseStream)return(e=await y(new f,new s.Lexer(e),t,a)).isIdentityCMap?i(e.name,t):e;throw new Error("Encoding required.")}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BinaryCMapReader=void 0;var l=a(2);function g(t,a){let r=0;for(let e=0;e<=a;e++)r=r<<8|t[e];return r>>>0}function p(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode(...e.subarray(0,t+1))}function m(t,a,r){let i=0;for(let e=r;0<=e;e--)i+=t[e]+a[e],t[e]=255&i,i>>=8}function b(t,a){let r=1;for(let e=a;0<=e&&0<r;e--)r+=t[e],t[e]=255&r,r>>=8}class y{constructor(e){this.buffer=e,this.pos=0,this.end=e.length,this.tmpBuf=new Uint8Array(19)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let e,t=0;do{var a=this.readByte();if(a<0)throw new l.FormatError("unexpected EOF in bcmap");e=!(128&a),t=t<<7|127&a}while(!e);return t}readSigned(){var e=this.readNumber();return 1&e?~(e>>>1):e>>>1}readHex(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1)),this.pos+=t+1}readHexNumber(e,t){var a,r=this.tmpBuf;let i=0;do{const e=this.readByte();if(e<0)throw new l.FormatError("unexpected EOF in bcmap");a=!(128&e),r[i++]=127&e}while(!a);let n=t,s=0,o=0;for(;0<=n;){for(;o<8&&0<r.length;)s|=r[--i]<<o,o+=7;e[n]=255&s,n--,s>>=8,o-=8}}readHexSigned(t,a){this.readHexNumber(t,a);var r=1&t[a]?255:0;let i=0;for(let e=0;e<=a;e++)i=(1&i)<<8|t[e],t[e]=i>>1^r}readString(){var t=this.readNumber(),a=new Array(t);for(let e=0;e<t;e++)a[e]=this.readNumber();return String.fromCharCode(...a)}}t.BinaryCMapReader=class{async process(e,t,a){const r=new y(e),i=r.readByte();t.vertical=!!(1&i);let n=null;var s=new Uint8Array(16),o=new Uint8Array(16),l=new Uint8Array(16),c=new Uint8Array(16),h=new Uint8Array(16);let u,d;for(;0<=(d=r.readByte());){const e=d>>5;if(7==e)switch(31&d){case 0:r.readString();break;case 1:n=r.readString()}else{const a=!!(16&d),y=15&d;if(16<1+y)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const i=1,f=r.readNumber();switch(e){case 0:r.readHex(s,y),r.readHexNumber(o,y),m(o,s,y),t.addCodespaceRange(1+y,g(s,y),g(o,y));for(let e=1;e<f;e++)b(o,y),r.readHexNumber(s,y),m(s,o,y),r.readHexNumber(o,y),m(o,s,y),t.addCodespaceRange(1+y,g(s,y),g(o,y));break;case 1:r.readHex(s,y),r.readHexNumber(o,y),m(o,s,y),r.readNumber();for(let e=1;e<f;e++)b(o,y),r.readHexNumber(s,y),m(s,o,y),r.readHexNumber(o,y),m(o,s,y),r.readNumber();break;case 2:r.readHex(l,y),u=r.readNumber(),t.mapOne(g(l,y),u);for(let e=1;e<f;e++)b(l,y),a||(r.readHexNumber(h,y),m(l,h,y)),u=r.readSigned()+(u+1),t.mapOne(g(l,y),u);break;case 3:r.readHex(s,y),r.readHexNumber(o,y),m(o,s,y),u=r.readNumber(),t.mapCidRange(g(s,y),g(o,y),u);for(let e=1;e<f;e++)b(o,y),a?s.set(o):(r.readHexNumber(s,y),m(s,o,y)),r.readHexNumber(o,y),m(o,s,y),u=r.readNumber(),t.mapCidRange(g(s,y),g(o,y),u);break;case 4:r.readHex(l,1),r.readHex(c,y),t.mapOne(g(l,1),p(c,y));for(let e=1;e<f;e++)b(l,1),a||(r.readHexNumber(h,1),m(l,h,1)),b(c,y),r.readHexSigned(h,y),m(c,h,y),t.mapOne(g(l,1),p(c,y));break;case 5:r.readHex(s,1),r.readHexNumber(o,1),m(o,s,1),r.readHex(c,y),t.mapBfRange(g(s,1),g(o,1),p(c,y));for(let e=1;e<f;e++)b(o,1),a?s.set(o):(r.readHexNumber(s,1),m(s,o,1)),r.readHexNumber(o,1),m(o,s,1),r.readHex(c,y),t.mapBfRange(g(s,1),g(o,1),p(c,y));break;default:throw new Error("BinaryCMapReader.process - unknown type: "+e)}}}return n?a(n):t}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=t.Linearization=t.Lexer=void 0;var u=a(2),d=a(4),l=a(3),c=a(8),i=a(17),n=a(19),s=a(20),o=a(22),h=a(23),f=a(26),g=a(29),p=a(31),m=a(32),b=a(33);class y{constructor({lexer:e,xref:t,allowStreams:a=!1,recoveryMode:r=!1}){this.lexer=e,this.xref=t,this.allowStreams=a,this.recoveryMode=r,this.imageCache=Object.create(null),this._imageId=0,this.refill()}refill(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}shift(){this.buf2 instanceof d.Cmd&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}tryShift(){try{return this.shift(),!0}catch(e){if(e instanceof l.MissingDataException)throw e;return!1}}getObj(e=null){const t=this.buf1;if(this.shift(),t instanceof d.Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var a=[];!(0,d.isCmd)(this.buf1,"]")&&this.buf1!==d.EOF;)a.push(this.getObj(e));if(this.buf1!==d.EOF)return this.shift(),a;if(this.recoveryMode)return a;throw new l.ParserEOFException("End of file inside array.");case"<<":for(var r=new d.Dict(this.xref);!(0,d.isCmd)(this.buf1,">>")&&this.buf1!==d.EOF;)if(this.buf1 instanceof d.Name){const t=this.buf1.name;if(this.shift(),this.buf1===d.EOF)break;r.set(t,this.getObj(e))}else(0,u.info)("Malformed dictionary: key must be a name object"),this.shift();if(this.buf1!==d.EOF)return(0,d.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(r,e):r:(this.shift(),r);if(this.recoveryMode)return r;throw new l.ParserEOFException("End of file inside dictionary.");default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&(0,d.isCmd)(this.buf2,"R")){const e=d.Ref.get(t,this.buf1);return this.shift(),this.shift(),e}return t}return"string"==typeof t&&e?e.decryptString(t):t}findDefaultInlineStreamEnd(t){const a=this.lexer["knownCommands"],r=t.pos;let i,n,s=0;for(;-1!==(i=t.getByte());)if(0===s)s=69===i?1:0;else if(1===s)s=73===i?2:0;else if(32===i||10===i||13===i){n=t.pos;const r=t.peekBytes(15),l=r.length;if(0===l)break;for(let e=0;e<l;e++)if((0!==(i=r[e])||0===r[e+1])&&10!==i&&13!==i&&(i<32||127<i)){s=0;break}if(2!==s)continue;if(!a){(0,u.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const o=new x(new c.Stream(r.slice()),a);o._hexStringWarn=()=>{};let e=0;for(;;){const t=o.getObj();if(t===d.EOF){s=0;break}if(t instanceof d.Cmd){const r=a[t.cmd];if(!r){s=0;break}if(r.variableArgs?e<=r.numArgs:e===r.numArgs)break;e=0}else e++}if(2===s)break}else s=0;-1===i&&((0,u.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),n)&&((0,u.warn)('... trying to recover by using the last "EI" occurrence.'),t.skip(-(t.pos-n)));let o=4;return t.skip(-o),i=t.peekByte(),t.skip(o),(0,l.isWhiteSpace)(i)||o--,t.pos-o-r}findDCTDecodeInlineStreamEnd(e){var t=e.pos;let a,r,i=!1;for(;-1!==(a=e.getByte());)if(255===a){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:i=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:2<(r=e.getUint16())?e.skip(r-2):e.skip(-2)}if(i)break}t=e.pos-t;return-1===a?((0,u.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-t),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),t)}findASCII85DecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte());)if(126===a){const t=e.pos;for(a=e.peekByte();(0,l.isWhiteSpace)(a);)e.skip(),a=e.peekByte();if(62===a){e.skip();break}if(e.pos>t){const t=e.peekBytes(2);if(69===t[0]&&73===t[1])break}}var r=e.pos-t;return-1===a?((0,u.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-r),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),r)}findASCIIHexDecodeInlineStreamEnd(e){var t=e.pos;let a;for(;-1!==(a=e.getByte())&&62!==a;);t=e.pos-t;return-1===a?((0,u.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-t),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),t)}inlineStreamSkipEI(e){let t,a=0;for(;-1!==(t=e.getByte());)if(0===a)a=69===t?1:0;else if(1===a)a=73===t?2:0;else if(2===a)break}makeInlineImage(e){const t=this.lexer,a=t.stream,r=Object.create(null);let i;for(;!(0,d.isCmd)(this.buf1,"ID")&&this.buf1!==d.EOF;){if(!(this.buf1 instanceof d.Name))throw new u.FormatError("Dictionary key must be a name object");const t=this.buf1.name;if(this.shift(),this.buf1===d.EOF)break;r[t]=this.getObj(e)}-1!==t.beginInlineImagePos&&(i=a.pos-t.beginInlineImagePos);var n=this.xref.fetchIfRef(r.F||r.Filter);let s;if(n instanceof d.Name)s=n.name;else if(Array.isArray(n)){const e=this.xref.fetchIfRef(n[0]);e instanceof d.Name&&(s=e.name)}n=a.pos;let o,l;switch(s){case"DCT":case"DCTDecode":o=this.findDCTDecodeInlineStreamEnd(a);break;case"A85":case"ASCII85Decode":o=this.findASCII85DecodeInlineStreamEnd(a);break;case"AHx":case"ASCIIHexDecode":o=this.findASCIIHexDecodeInlineStreamEnd(a);break;default:o=this.findDefaultInlineStreamEnd(a)}if(o<1e3&&0<i){const e=a.pos,u=(a.pos=t.beginInlineImagePos,l=function(e){var t=[],a=e.length;let r=0;for(;r<a-1;)t.push(e[r++]<<8|e[r++]);return r<a&&t.push(e[r]),a+"_"+String.fromCharCode.apply(null,t)}(a.getBytes(i+o)),a.pos=e,this.imageCache[l]);if(void 0!==u)return this.buf2=d.Cmd.get("EI"),this.shift(),u.reset(),u}var c=new d.Dict(this.xref);for(const e in r)c.set(e,r[e]);let h=a.makeSubStream(n,o,c);return e&&(h=e.createStream(h,o)),(h=this.filter(h,c,o)).dict=c,void 0!==l&&(h.cacheKey="inline_img_"+ ++this._imageId,this.imageCache[l]=h),this.buf2=d.Cmd.get("EI"),this.shift(),h}_findStreamLength(a,r){for(var i=this.lexer["stream"],n=(i.pos=a,r.length);i.pos<i.end;){var s=i.peekBytes(2048),e=s.length-n;if(e<=0)break;let t=0;for(;t<e;){let e=0;for(;e<n&&s[t+e]===r[e];)e++;if(e>=n)return i.pos+=t,i.pos-a;t++}i.pos+=e}return-1}makeStream(a,e){const r=this.lexer;let i=r.stream;r.skipToNextLine();var n=i.pos-1;let s=a.get("Length");if(Number.isInteger(s)||((0,u.info)(`Bad length "${s&&s.toString()}" in stream.`),s=0),i.pos=n+s,r.nextChar(),!this.tryShift()||!(0,d.isCmd)(this.buf2,"endstream")){const a=new Uint8Array([101,110,100,115,116,114,101,97,109]);let t=this._findStreamLength(n,a);if(t<0){const r=1;for(let e=1;e<=1;e++){const r=a.length-e,s=a.slice(0,r),o=this._findStreamLength(n,s);if(0<=o){const a=i.peekBytes(1+r)[r];if(!(0,l.isWhiteSpace)(a))break;(0,u.info)(`Found "${(0,u.bytesToString)(s)}" when searching for endstream command.`),t=o;break}}if(t<0)throw new u.FormatError("Missing endstream command.")}s=t,r.nextChar(),this.shift()}return this.shift(),this.shift(),i=i.makeSubStream(n,s,a),e&&(i=e.createStream(i,s)),(i=this.filter(i,a,s)).dict=a,i}filter(a,r,i){let n=r.get("F","Filter"),s=r.get("DP","DecodeParms");if(n instanceof d.Name)return Array.isArray(s)&&(0,u.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(a,n.name,i,s);let o=i;if(Array.isArray(n)){const r=n,i=s;for(let e=0,t=r.length;e<t;++e){if(!((n=this.xref.fetchIfRef(r[e]))instanceof d.Name))throw new u.FormatError(`Bad filter name "${n}"`);s=null,Array.isArray(i)&&e in i&&(s=this.xref.fetchIfRef(i[e])),a=this.makeFilter(a,n.name,o,s),o=null}}return a}makeFilter(t,e,a,r){if(0===a)return(0,u.warn)(`Empty "${e}" stream.`),new c.NullStream;try{switch(e){case"Fl":case"FlateDecode":return r?new m.PredictorStream(new o.FlateStream(t,a),a,r):new o.FlateStream(t,a);case"LZW":case"LZWDecode":let e=1;return r?(r.has("EarlyChange")&&(e=r.get("EarlyChange")),new m.PredictorStream(new p.LZWStream(t,a,e),a,r)):new p.LZWStream(t,a,e);case"DCT":case"DCTDecode":return new f.JpegStream(t,a,r);case"JPX":case"JPXDecode":return new g.JpxStream(t,a,r);case"A85":case"ASCII85Decode":return new i.Ascii85Stream(t,a);case"AHx":case"ASCIIHexDecode":return new n.AsciiHexStream(t,a);case"CCF":case"CCITTFaxDecode":return new s.CCITTFaxStream(t,a,r);case"RL":case"RunLengthDecode":return new b.RunLengthStream(t,a);case"JBIG2Decode":return new h.Jbig2Stream(t,a,r)}return(0,u.warn)(`Filter "${e}" is not supported.`),t}catch(t){if(t instanceof l.MissingDataException)throw t;return(0,u.warn)(`Invalid stream: "${t}"`),new c.NullStream}}}t.Parser=y;const w=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function v(e){return 48<=e&&e<=57?15&e:65<=e&&e<=70||97<=e&&e<=102?9+(15&e):-1}class x{constructor(e,t=null){this.stream=e,this.nextChar(),this.strBuf=[],this.knownCommands=t,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let e=this.currentChar,t=!1,a=0,r=0;if(45===e?(r=-1,45===(e=this.nextChar())&&(e=this.nextChar())):43===e&&(r=1,e=this.nextChar()),10===e||13===e)for(;10===(e=this.nextChar())||13===e;);if(46===e&&(a=10,e=this.nextChar()),e<48||57<e){const t=`Invalid number: ${String.fromCharCode(e)} (charCode ${e})`;if((0,l.isWhiteSpace)(e)||-1===e)return(0,u.info)(`Lexer.getNumber - "${t}".`),0;throw new u.FormatError(t)}r||=1;let i=e-48,n=0,s=1;for(;0<=(e=this.nextChar());)if(48<=e&&e<=57){const u=e-48;t?n=10*n+u:(0!==a&&(a*=10),i=10*i+u)}else if(46===e){if(0!==a)break;a=1}else if(45===e)(0,u.warn)("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;if(43===(e=this.peekChar())||45===e)s=45===e?-1:1,this.nextChar();else if(e<48||57<e)break;t=!0}return 0!==a&&(i/=a),t&&(i*=10**(s*n)),r*i}getString(){let e=1,a=!1;var r=this.strBuf;r.length=0;let i=this.nextChar();for(;;){let t=!1;switch(0|i){case-1:(0,u.warn)("Unterminated string"),a=!0;break;case 40:++e,r.push("(");break;case 41:0==--e?(this.nextChar(),a=!0):r.push(")");break;case 92:switch(i=this.nextChar()){case-1:(0,u.warn)("Unterminated string"),a=!0;break;case 110:r.push("\n");break;case 114:r.push("\r");break;case 116:r.push("\t");break;case 98:r.push("\b");break;case 102:r.push("\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(i));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let e=15&i;i=this.nextChar(),t=!0,48<=i&&i<=55&&(e=(e<<3)+(15&i),48<=(i=this.nextChar()))&&i<=55&&(t=!1,e=(e<<3)+(15&i)),r.push(String.fromCharCode(e));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(i))}break;default:r.push(String.fromCharCode(i))}if(a)break;t||(i=this.nextChar())}return r.join("")}getName(){let e,t;var a=this.strBuf;for(a.length=0;0<=(e=this.nextChar())&&!w[e];)if(35===e){if(e=this.nextChar(),w[e]){(0,u.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),a.push("#");break}const d=v(e);if(-1!==d){t=e;var r=v(e=this.nextChar());if(-1===r){if((0,u.warn)(`Lexer_getName: Illegal digit (${String.fromCharCode(e)}) in hexadecimal number.`),a.push("#",String.fromCharCode(t)),w[e])break;a.push(String.fromCharCode(e));continue}a.push(String.fromCharCode(d<<4|r))}else a.push("#",String.fromCharCode(e))}else a.push(String.fromCharCode(e));return 127<a.length&&(0,u.warn)("Name token is longer than allowed by the spec: "+a.length),d.Name.get(a.join(""))}_hexStringWarn(e){5!=this._hexStringNumWarn++?5<this._hexStringNumWarn||(0,u.warn)("getHexString - ignoring invalid character: "+e):(0,u.warn)("getHexString - ignoring additional invalid characters.")}getHexString(){var e=this.strBuf;e.length=0;let t,a,r=this.currentChar,i=!0;for(this._hexStringNumWarn=0;;){if(r<0){(0,u.warn)("Unterminated hex string");break}if(62===r){this.nextChar();break}if(1!==w[r]){if(i){if(-1===(t=v(r))){this._hexStringWarn(r),r=this.nextChar();continue}}else{if(-1===(a=v(r))){this._hexStringWarn(r),r=this.nextChar();continue}e.push(String.fromCharCode(t<<4|a))}i=!i}r=this.nextChar()}return e.join("")}getObj(){let e=!1,t=this.currentChar;for(;;){if(t<0)return d.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==w[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),d.Cmd.get("[");case 93:return this.nextChar(),d.Cmd.get("]");case 60:return 60===(t=this.nextChar())?(this.nextChar(),d.Cmd.get("<<")):this.getHexString();case 62:return 62===(t=this.nextChar())?(this.nextChar(),d.Cmd.get(">>")):d.Cmd.get(">");case 123:return this.nextChar(),d.Cmd.get("{");case 125:return this.nextChar(),d.Cmd.get("}");case 41:throw this.nextChar(),new u.FormatError("Illegal character: "+t)}let a=String.fromCharCode(t);if(t<32||127<t){const e=this.peekChar();if(32<=e&&e<=127)return this.nextChar(),d.Cmd.get(a)}var r=this.knownCommands;let i=void 0!==r?.[a];for(;0<=(t=this.nextChar())&&!w[t];){const e=a+String.fromCharCode(t);if(i&&void 0===r[e])break;if(128===a.length)throw new u.FormatError("Command token too long: "+a.length);a=e,i=void 0!==r?.[a]}return"true"===a||"false"!==a&&("null"===a?null:("BI"===a&&(this.beginInlineImagePos=this.stream.pos),d.Cmd.get(a)))}skipToNextLine(){let e=this.currentChar;for(;0<=e;){if(13===e){10===(e=this.nextChar())&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}t.Lexer=x,t.Linearization=class{static create(e){function t(e,t,a=!1){e=e.get(t);if(Number.isInteger(e)&&(a?0<=e:0<e))return e;throw new Error(`The "${t}" parameter in the linearization dictionary is invalid.`)}var a=new y({lexer:new x(e),xref:null}),r=a.getObj(),i=a.getObj(),n=a.getObj(),s=a.getObj();let o,l;if(!(Number.isInteger(r)&&Number.isInteger(i)&&(0,d.isCmd)(n,"obj")&&s instanceof d.Dict&&"number"==typeof(o=s.get("Linearized"))&&0<o))return null;if((l=t(s,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:l,hints:function(){var t=s.get("H");let a;if(!Array.isArray(t)||2!==(a=t.length)&&4!==a)throw new Error("Hint array in the linearization dictionary is invalid.");for(let e=0;e<a;e++){const a=t[e];if(!(Number.isInteger(a)&&0<a))throw new Error(`Hint (${e}) in the linearization dictionary is invalid.`)}return t}(),objectNumberFirst:t(s,"O"),endFirst:t(s,"E"),numPages:t(s,"N"),mainXRefEntriesOffset:t(s,"T"),pageFirst:s.has("P")?t(s,"P",!0):0}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Ascii85Stream=void 0;var r=a(18),o=a(3);class i extends r.DecodeStream{constructor(e,t){t&&(t*=.8),super(t),this.str=e,this.dict=e.dict,this.input=new Uint8Array(5)}readBlock(){var r=this.str;let i=r.getByte();for(;(0,o.isWhiteSpace)(i);)i=r.getByte();if(-1===i||126===i)this.eof=!0;else{var n=this.bufferLength;let t,a;if(122===i){for(t=this.ensureBuffer(n+4),a=0;a<4;++a)t[n+a]=0;this.bufferLength+=4}else{var s=this.input;for(s[0]=i,a=1;a<5;++a){for(i=r.getByte();(0,o.isWhiteSpace)(i);)i=r.getByte();if(-1===(s[a]=i)||126===i)break}if(t=this.ensureBuffer(n+a-1),this.bufferLength+=a-1,a<5){for(;a<5;++a)s[a]=117;this.eof=!0}let e=0;for(a=0;a<5;++a)e=85*e+(s[a]-33);for(a=3;0<=a;--a)t[n+a]=255&e,e>>=8}}}}t.Ascii85Stream=i},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StreamsSequenceStream=t.DecodeStream=void 0;var r=a(5),i=a(8);const n=new Uint8Array(0);class s extends r.BaseStream{constructor(e){if(super(),this._rawMinBufferLength=e||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=n,this.minBufferLength=512,e)for(;this.minBufferLength<e;)this.minBufferLength*=2}get isEmpty(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}ensureBuffer(e){var t=this.buffer;if(e<=t.byteLength)return t;let a=this.minBufferLength;for(;a<e;)a*=2;var r=new Uint8Array(a);return r.set(t),this.buffer=r}getByte(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}getBytes(e){var t=this.pos;let a;if(e){for(this.ensureBuffer(t+e),a=t+e;!this.eof&&this.bufferLength<a;)this.readBlock();e=this.bufferLength;a>e&&(a=e)}else{for(;!this.eof;)this.readBlock();a=this.bufferLength}return this.pos=a,this.buffer.subarray(t,a)}reset(){this.pos=0}makeSubStream(e,t,a=null){if(void 0===t)for(;!this.eof;)this.readBlock();else{const a=e+t;for(;this.bufferLength<=a&&!this.eof;)this.readBlock()}return new i.Stream(this.buffer,e,t,a)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}t.DecodeStream=s,t.StreamsSequenceStream=class extends s{constructor(e,t=null){let a=0;for(const t of e)a+=t instanceof s?t._rawMinBufferLength:t.length;super(a),this.streams=e,this._onError=t}readBlock(){var t=this.streams;if(0===t.length)this.eof=!0;else{var a=t.shift();let e;try{e=a.getBytes()}catch(t){if(this._onError)return void this._onError(t,a.dict?.objId);throw t}var a=this.bufferLength,r=a+e.length;this.ensureBuffer(r).set(e,a),this.bufferLength=r}}getBaseStreams(){var e=[];for(const a of this.streams){var t=a.getBaseStreams();t&&e.push(...t)}return 0<e.length?e:null}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AsciiHexStream=void 0;class r extends a(18).DecodeStream{constructor(e,t){t&&(t*=.5),super(t),this.str=e,this.dict=e.dict,this.firstDigit=-1}readBlock(){var e=this.str.getBytes(8e3);if(e.length){const r=e.length+1>>1,i=this.ensureBuffer(this.bufferLength+r);let t=this.bufferLength,a=this.firstDigit;for(const r of e){let e;if(48<=r&&r<=57)e=15&r;else{if(!(65<=r&&r<=70||97<=r&&r<=102)){if(62!==r)continue;this.eof=!0;break}e=9+(15&r)}a=a<0?e:(i[t++]=a<<4|e,-1)}0<=a&&this.eof&&(i[t++]=a<<4,a=-1),this.firstDigit=a,this.bufferLength=t}else this.eof=!0}}t.AsciiHexStream=r},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxStream=void 0;var r=a(21),i=a(18),n=a(4);class s extends i.DecodeStream{constructor(e,t,a){super(t),this.str=e,this.dict=e.dict,a instanceof n.Dict||(a=n.Dict.empty),this.ccittFaxDecoder=new r.CCITTFaxDecoder({next:()=>e.getByte()},{K:a.get("K"),EndOfLine:a.get("EndOfLine"),EncodedByteAlign:a.get("EncodedByteAlign"),Columns:a.get("Columns"),Rows:a.get("Rows"),EndOfBlock:a.get("EndOfBlock"),BlackIs1:a.get("BlackIs1")})}readBlock(){for(;!this.eof;){var e=this.ccittFaxDecoder.readNextChar();if(-1===e)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}t.CCITTFaxStream=s},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxDecoder=void 0;var h=a(2);const r=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],i=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],n=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],s=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],o=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],l=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];t.CCITTFaxDecoder=class{constructor(e,t={}){if(!e||"function"!=typeof e.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');let a;for(this.source=e,this.eof=!1,this.encoding=t.K||0,this.eoline=t.EndOfLine||!1,this.byteAlign=t.EncodedByteAlign||!1,this.columns=t.Columns||1728,this.rows=t.Rows||0,this.eoblock=t.EndOfBlock??!0,this.black=t.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;0===(a=this._lookBits(12));)this._eatBits(1);1===a&&this._eatBits(12),0<this.encoding&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;var i=this.refLine,n=this.codingLine,s=this.columns;let o,l,e,c,t;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;let e,t,a;if(this.err=!1,this.nextLine2D){for(c=0;n[c]<s;++c)i[c]=n[c];for(i[c++]=s,i[c]=s,n[0]=0,this.codingPos=0,o=0,l=0;n[this.codingPos]<s;)switch(e=this._getTwoDimCode(),e){case 0:this._addPixels(i[o+1],l),i[o+1]<s&&(o+=2);break;case 1:if(e=t=0,l){for(;e+=a=this._getBlackCode(),64<=a;);for(;t+=a=this._getWhiteCode(),64<=a;);}else{for(;e+=a=this._getWhiteCode(),64<=a;);for(;t+=a=this._getBlackCode(),64<=a;);}for(this._addPixels(n[this.codingPos]+e,l),n[this.codingPos]<s&&this._addPixels(n[this.codingPos]+t,1^l);i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 7:if(this._addPixels(i[o]+3,l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 5:if(this._addPixels(i[o]+2,l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 3:if(this._addPixels(i[o]+1,l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 2:if(this._addPixels(i[o],l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 8:if(this._addPixelsNeg(i[o]-3,l),l^=1,n[this.codingPos]<s)for(0<o?--o:++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 6:if(this._addPixelsNeg(i[o]-2,l),l^=1,n[this.codingPos]<s)for(0<o?--o:++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 4:if(this._addPixelsNeg(i[o]-1,l),l^=1,n[this.codingPos]<s)for(0<o?--o:++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case-1:this._addPixels(s,0),this.eof=!0;break;default:(0,h.info)("bad 2d code"),this._addPixels(s,0),this.err=!0}}else for(n[0]=0,this.codingPos=0,l=0;n[this.codingPos]<s;){if(e=0,l)for(;e+=a=this._getBlackCode(),64<=a;);else for(;e+=a=this._getWhiteCode(),64<=a;);this._addPixels(n[this.codingPos]+e,l),l^=1}let r=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(e=this._lookBits(12),this.eoline)for(;-1!==e&&1!==e;)this._eatBits(1),e=this._lookBits(12);else for(;0===e;)this._eatBits(1),e=this._lookBits(12);1===e?(this._eatBits(12),r=!0):-1===e&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&0<this.encoding&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&r&&this.byteAlign){if(1===(e=this._lookBits(12))){if(this._eatBits(12),0<this.encoding&&(this._lookBits(1),this._eatBits(1)),0<=this.encoding)for(c=0;c<4;++c)1!==(e=this._lookBits(12))&&(0,h.info)("bad rtc code: "+e),this._eatBits(12),0<this.encoding&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(-1===(e=this._lookBits(13)))return this.eof=!0,-1;if(e>>1==1)break;this._eatBits(1)}this._eatBits(12),0<this.encoding&&(this._eatBits(1),this.nextLine2D=!(1&e))}0<n[0]?this.outputBits=n[this.codingPos=0]:this.outputBits=n[this.codingPos=1],this.row++}if(8<=this.outputBits)t=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&n[this.codingPos]<s&&(this.codingPos++,this.outputBits=n[this.codingPos]-n[this.codingPos-1]);else{e=8,t=0;do{if("number"!=typeof this.outputBits)throw new h.FormatError('Invalid /CCITTFaxDecode data, "outputBits" must be a number.')}while(this.outputBits>e?(t<<=e,1&this.codingPos||(t|=255>>8-e),this.outputBits-=e,e=0):(t<<=this.outputBits,1&this.codingPos||(t|=255>>8-this.outputBits),e-=this.outputBits,this.outputBits=0,n[this.codingPos]<s?(this.codingPos++,this.outputBits=n[this.codingPos]-n[this.codingPos-1]):0<e&&(t<<=e,e=0)),e)}return this.black&&(t^=255),t}_addPixels(e,t){var a=this.codingLine;let r=this.codingPos;e>a[r]&&(e>this.columns&&((0,h.info)("row is wrong length"),this.err=!0,e=this.columns),1&r^t&&++r,a[r]=e),this.codingPos=r}_addPixelsNeg(e,t){var a=this.codingLine;let r=this.codingPos;if(e>a[r])e>this.columns&&((0,h.info)("row is wrong length"),this.err=!0,e=this.columns),1&r^t&&++r,a[r]=e;else if(e<a[r]){for(e<0&&((0,h.info)("invalid code"),this.err=!0,e=0);0<r&&e<a[r-1];)--r;a[r]=e}this.codingPos=r}_findTableCode(e,a,r,t){var i=t||0;for(let t=e;t<=a;++t){let e=this._lookBits(t);if(-1===e)return[!0,1,!1];if(t<a&&(e<<=a-t),!i||e>=i){const a=r[e-i];if(a[0]===t)return this._eatBits(t),[!0,a[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let e,t;if(this.eoblock){if(t=this._lookBits(7),0<(e=r[t])?.[0])return this._eatBits(e[0]),e[1]}else{const e=this._findTableCode(1,7,r);if(e[0]&&e[2])return e[1]}return(0,h.info)("Bad two dim code"),-1}_getWhiteCode(){if(this.eoblock){if(-1===(e=this._lookBits(12)))return 1;if(0<(e=e>>5==0?i[e]:n[e>>3])[0])return this._eatBits(e[0]),e[1]}else{var e=this._findTableCode(1,9,n);if(e[0])return e[1];if((e=this._findTableCode(11,12,i))[0])return e[1]}return(0,h.info)("bad white code"),this._eatBits(1),1}_getBlackCode(){if(this.eoblock){if(-1===(e=this._lookBits(13)))return 1;if(0<(e=e>>7==0?s[e]:e>>9==0&&e>>7!=0?o[(e>>1)-64]:l[e>>7])[0])return this._eatBits(e[0]),e[1]}else{var e=this._findTableCode(2,6,l);if(e[0])return e[1];if((e=this._findTableCode(7,12,o,64))[0])return e[1];if((e=this._findTableCode(10,13,s))[0])return e[1]}return(0,h.info)("bad black code"),this._eatBits(1),1}_lookBits(e){for(var t;this.inputBits<e;){if(-1===(t=this.source.next()))return 0===this.inputBits?-1:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|t,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}_eatBits(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FlateStream=void 0;var r=a(18),h=a(2);const u=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),f=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),g=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],p=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class i extends r.DecodeStream{constructor(e,t){super(t),this.str=e,this.dict=e.dict;t=e.getByte(),e=e.getByte();if(-1===t||-1===e)throw new h.FormatError(`Invalid header in flate stream: ${t}, `+e);if(8!=(15&t))throw new h.FormatError(`Unknown compression method in flate stream: ${t}, `+e);if(((t<<8)+e)%31!=0)throw new h.FormatError(`Bad FCHECK in flate stream: ${t}, `+e);if(32&e)throw new h.FormatError(`FDICT bit set in flate stream: ${t}, `+e);this.codeSize=0,this.codeBuf=0}getBits(e){var t=this.str;let a,r=this.codeSize,i=this.codeBuf;for(;r<e;){if(-1===(a=t.getByte()))throw new h.FormatError("Bad encoding in flate stream");i|=a<<r,r+=8}return a=i&(1<<e)-1,this.codeBuf=i>>e,this.codeSize=r-=e,a}getCode(e){var t=this.str,a=e[0],r=e[1];let i,n=this.codeSize,s=this.codeBuf;for(;n<r&&-1!==(i=t.getByte());)s|=i<<n,n+=8;e=a[s&(1<<r)-1],a=e>>16,e&=65535;if(a<1||n<a)throw new h.FormatError("Bad encoding in flate stream");return this.codeBuf=s>>a,this.codeSize=n-a,e}generateHuffmanTable(e){var t=e.length;let s,a=0;for(s=0;s<t;++s)e[s]>a&&(a=e[s]);var o=1<<a,l=new Int32Array(o);for(let r=1,i=0,n=2;r<=a;++r,i<<=1,n<<=1)for(let a=0;a<t;++a)if(e[a]===r){let e=0,t=i;for(s=0;s<r;++s)e=e<<1|1&t,t>>=1;for(s=e;s<o;s+=n)l[s]=r<<16|a;++i}return[l,a]}readBlock(){let n,s;const e=this.str;let o,l,c=this.getBits(3);if(1&c&&(this.eof=!0),0===(c>>=1)){var t;if(-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");var a=t;if(-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");if(a|=t<<8,-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");var r=t;if(-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");if((r|=t<<8)!=(65535&~a)&&(0!=a||0!=r))throw new h.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const d=this.bufferLength,f=d+a;if(n=this.ensureBuffer(f),this.bufferLength=f,0==a)-1===e.peekByte()&&(this.eof=!0);else{const s=e.getBytes(a);n.set(s,d),s.length<a&&(this.eof=!0)}}else{if(1===c)o=g,l=p;else{if(2!==c)throw new h.FormatError("Unknown block type in flate stream");{const n=this.getBits(5)+257,e=this.getBits(5)+1,h=this.getBits(4)+4,d=new Uint8Array(u.length);let t;for(t=0;t<h;++t)d[u[t]]=this.getBits(3);const g=this.generateHuffmanTable(d),p=(s=0,t=0,n+e),c=new Uint8Array(p);let a,r,i;for(;t<p;){const n=this.getCode(g);if(16===n)a=2,r=3,i=s;else{if(17===n)a=3,r=3;else{if(18!==n){c[t++]=s=n;continue}a=7,r=11}i=s=0}let e=this.getBits(a)+r;for(;0<e--;)c[t++]=i}o=this.generateHuffmanTable(c.subarray(0,n)),l=this.generateHuffmanTable(c.subarray(n,p))}}let t=(n=this.buffer)?n.length:0,a=this.bufferLength;for(;;){var i=this.getCode(o);if(i<256)a+1>=t&&(n=this.ensureBuffer(a+1),t=n.length),n[a++]=i;else{if(256===i)return void(this.bufferLength=a);i-=257;let e=(i=d[i])>>16;0<e&&(e=this.getBits(e)),s=(65535&i)+e,i=this.getCode(l);const u=(65535&(i=f[i]))+(e=0<(e=i>>16)?this.getBits(e):e);a+s>=t&&(n=this.ensureBuffer(a+s),t=n.length);for(let e=0;e<s;++e,++a)n[a]=n[a-u]}}}}}t.FlateStream=i},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Stream=void 0;var i=a(5),r=a(18),n=a(4),s=a(24),o=a(2);class l extends r.DecodeStream{constructor(e,t,a){super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=a}get bytes(){return(0,o.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){if(!this.eof){const e=new s.Jbig2Image,t=[];if(this.params instanceof n.Dict){const e=this.params.get("JBIG2Globals");if(e instanceof i.BaseStream){const a=e.getBytes();t.push({data:a,start:0,end:a.length})}}t.push({data:this.bytes,start:0,end:this.bytes.length});const a=e.parseChunks(t),r=a.length;for(let e=0;e<r;e++)a[e]^=255;this.buffer=a,this.bufferLength=r,this.eof=!0}}}t.Jbig2Stream=l},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Image=void 0;var r=a(2),L=a(3),i=a(25),l=a(21);class _ extends r.BaseException{constructor(e){super("JBIG2 error: "+e,"Jbig2Error")}}class n{getContexts(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}class u{constructor(e,t,a){this.data=e,this.start=t,this.end=a}get decoder(){var e=new i.ArithmeticDecoder(this.data,this.start,this.end);return(0,r.shadow)(this,"decoder",e)}get contextCache(){var e=new n;return(0,r.shadow)(this,"contextCache",e)}}const o=2**31-1,c=-(2**31);function R(e,t,r){const i=e.getContexts(t);let n=1;function a(t){let a=0;for(let e=0;e<t;e++){const t=r.readBit(i,n);n=n<256?n<<1|t:511&(n<<1|t)|256,a=a<<1|t}return a>>>0}e=a(1),t=a(1)?a(1)?a(1)?a(1)?a(1)?a(32)+4436:a(12)+340:a(8)+84:a(6)+20:a(4)+4:a(2);let s;return 0===e?s=t:0<t&&(s=-t),s>=c&&s<=o?s:null}function j(e,t,a){var r=e.getContexts("IAID");let i=1;for(let e=0;e<a;e++)i=i<<1|t.readBit(r,i);return a<31?i&(1<<a)-1:2147483647&i}const p=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],$=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],C=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],U=[39717,1941,229,405],F=[32,8];function X(o,g,p,m,b,y,w,v){if(o)return z(new q(v.data,v.start,v.end),g,p,!1);if(0!==m||y||b||4!==w.length||3!==w[0].x||-1!==w[0].y||-3!==w[1].x||-1!==w[1].y||2!==w[2].x||-2!==w[2].y||-2!==w[3].x||-2!==w[3].y){var x=!!y,S=$[m].concat(w),k=(S.sort(function(e,t){return e.y-t.y||e.x-t.x}),S.length),A=new Int8Array(k),C=new Int8Array(k),F=[];let e,t,a=0,r=0,i=0,n=0;for(t=0;t<k;t++)A[t]=S[t].x,C[t]=S[t].y,r=Math.min(r,S[t].x),i=Math.max(i,S[t].x),n=Math.min(n,S[t].y),t<k-1&&S[t].y===S[t+1].y&&S[t].x===S[t+1].x-1?a|=1<<k-1-t:F.push(t);var O=F.length,I=new Int8Array(O),T=new Int8Array(O),M=new Uint16Array(O);for(e=0;e<O;e++)t=F[e],I[e]=S[t].x,T[e]=S[t].y,M[e]=1<<k-1-t;var P=-r,E=-n,N=g-i,B=U[m];let s=new Uint8Array(g);var D=[],R=v.decoder,L=v.contextCache.getContexts("GB");let o,l,c,h,u,d=0,f=0;for(let e=0;e<p;e++)if(b&&(d^=R.readBit(L,B)))D.push(s);else for(s=new Uint8Array(s),D.push(s),o=0;o<g;o++)if(x&&y[e][o])s[o]=0;else{if(o>=P&&o<N&&e>=E)for(f=f<<1&a,t=0;t<O;t++)l=e+T[t],c=o+I[t],(h=D[l][c])&&(h=M[t],f|=h);else for(f=0,u=k-1,t=0;t<k;t++,u--)0<=(c=o+A[t])&&c<g&&0<=(l=e+C[t])&&(h=D[l][c])&&(f|=h<<u);const p=R.readBit(L,f);s[o]=p}return D}{var l=g,c=p,o=v,h=o.decoder,u=o.contextCache.getContexts("GB"),d=[];let e,t,a,r,i,n,s;for(t=0;t<c;t++)for(i=d[t]=new Uint8Array(l),n=t<1?i:d[t-1],s=t<2?i:d[t-2],e=s[0]<<13|s[1]<<12|s[2]<<11|n[0]<<7|n[1]<<6|n[2]<<5|n[3]<<4,a=0;a<l;a++)i[a]=r=h.readBit(u,e),e=(31735&e)<<1|(a+3<l?s[a+3]<<11:0)|(a+4<l?n[a+4]<<4:0)|r;return d}}function H(n,s,e,o,l,c,t,a,r){let h=C[e].coding;var u=(h=0===e?h.concat([a[0]]):h).length,d=new Int32Array(u),f=new Int32Array(u);let g;for(g=0;g<u;g++)d[g]=h[g].x,f[g]=h[g].y;let i=C[e].reference;var p=(i=0===e?i.concat([a[1]]):i).length,m=new Int32Array(p),b=new Int32Array(p);for(g=0;g<p;g++)m[g]=i[g].x,b[g]=i[g].y;var y=o[0].length,w=o.length,v=F[e],x=[],S=r.decoder,k=r.contextCache.getContexts("GR");let A=0;for(let i=0;i<s;i++){if(t&&(A^=S.readBit(k,v)))throw new _("prediction is not supported");const s=new Uint8Array(n);x.push(s);for(let r=0;r<n;r++){let e,t,a=0;for(g=0;g<u;g++)e=i+f[g],t=r+d[g],e<0||t<0||t>=n?a<<=1:a=a<<1|x[e][t];for(g=0;g<p;g++)e=i+b[g]-c,t=r+m[g]-l,e<0||e>=w||t<0||t>=y?a<<=1:a=a<<1|o[e][t];const h=S.readBit(k,a);s[r]=h}}return x}function O(l,c,h,e,t,u,d,f,g,p,m,b,y,w,v,x,S,k,A){if(l&&c)throw new _("refinement with Huffman is not supported");var C=[];let F,O;for(F=0;F<e;F++){if(O=new Uint8Array(h),t)for(let e=0;e<h;e++)O[e]=t;C.push(O)}var I=S.decoder,T=S.contextCache;let M=l?-w.tableDeltaT.decode(A):-R(T,"IADT",I),P=0;for(F=0;F<u;){M+=l?w.tableDeltaT.decode(A):R(T,"IADT",I);let o=P+=l?w.tableFirstS.decode(A):R(T,"IAFS",I);for(;;){let e=0;1<d&&(e=l?A.readBits(k):R(T,"IAIT",I));const u=d*M+e,P=l?w.symbolIDTable.decode(A):j(T,I,g),D=c&&(l?A.readBit():R(T,"IARI",I));let t=f[P],a=t[0].length,r=t.length;if(D){const l=R(T,"IARDW",I),c=R(T,"IARDH",I);a+=l,r+=c,t=H(a,r,v,t,(l>>1)+R(T,"IARDX",I),(c>>1)+R(T,"IARDY",I),!1,x,S)}var E=u-(1&b?0:r-1),N=o-(2&b?a-1:0);let i,n,s;if(p){for(i=0;i<r;i++)if(O=C[N+i]){s=t[i];const l=Math.min(h-E,a);switch(y){case 0:for(n=0;n<l;n++)O[E+n]|=s[n];break;case 2:for(n=0;n<l;n++)O[E+n]^=s[n];break;default:throw new _(`operator ${y} is not supported`)}}o+=r-1}else{for(n=0;n<r;n++)if(O=C[E+n])switch(s=t[n],y){case 0:for(i=0;i<a;i++)O[N+i]|=s[i];break;case 2:for(i=0;i<a;i++)O[N+i]^=s[i];break;default:throw new _(`operator ${y} is not supported`)}o+=a-1}F++;var B=l?w.tableDeltaS.decode(A):R(T,"IADS",I);if(null===B)break;o+=B+m}}return C}function s(e,t,a,r){var i=[];let n=a;for(;n<r;){const a=function(t,e){var a={};a.number=(0,L.readUint32)(t,e);const r=t[e+4],i=63&r;if(!p[i])throw new _("invalid segment type: "+i);a.type=i,a.typeName=p[i],a.deferredNonRetain=!!(128&r);var n=!!(64&r),s=t[e+5];let o=s>>5&7;var l=[31&s];let c=e+6;if(7===s){o=536870911&(0,L.readUint32)(t,c-1),c+=3;let e=o+7>>3;for(l[0]=t[c++];0<--e;)l.push(t[c++])}else if(5===s||6===s)throw new _("invalid referred-to flags");a.retainBits=l;let h=4;a.number<=256?h=1:a.number<=65536&&(h=2);var u=[];let d,f;for(d=0;d<o;d++){var g=1===h?t[c]:(2===h?(0,L.readUint16):(0,L.readUint32))(t,c);u.push(g),c+=h}if(a.referredTo=u,n?(a.pageAssociation=(0,L.readUint32)(t,c),c+=4):a.pageAssociation=t[c++],a.length=(0,L.readUint32)(t,c),c+=4,4294967295===a.length){if(38!==i)throw new _("invalid unknown segment length");{const e=m(t,c),r=!!(1&t[c+b]),L=6,i=new Uint8Array(6);for(r||(i[0]=255,i[1]=172),i[2]=e.height>>>24&255,i[3]=e.height>>16&255,i[4]=e.height>>8&255,i[5]=255&e.height,d=c,f=t.length;d<f;d++){let e=0;for(;e<6&&i[e]===t[d+e];)e++;if(6===e){a.length=d+6;break}}if(4294967295===a.length)throw new _("segment end was not found")}}return a.headerEnd=c,a}(t,n),r=(n=a.headerEnd,{header:a,data:t});if(e.randomAccess||(r.start=n,n+=a.length,r.end=n),i.push(r),51===a.type)break}if(e.randomAccess)for(let e=0,t=i.length;e<t;e++)i[e].start=n,n+=i[e].header.length,i[e].end=n;return i}function m(e,t){return{width:(0,L.readUint32)(e,t),height:(0,L.readUint32)(e,t+4),x:(0,L.readUint32)(e,t+8),y:(0,L.readUint32)(e,t+12),combinationOperator:7&e[t+16]}}const b=17;function h(s,o){for(let n=0,e=s.length;n<e;n++){l=void 0;c=void 0;h=void 0;u=void 0;d=void 0;f=void 0;g=void 0;var l=s[n];var c=o;var h=l.header,u=l.data,d=l.end;let e,t,a,r,i=l.start;switch(h.type){case 0:const l={},c=(0,L.readUint16)(u,i);if(l.huffman=!!(1&c),l.refinement=!!(2&c),l.huffmanDHSelector=c>>2&3,l.huffmanDWSelector=c>>4&3,l.bitmapSizeSelector=c>>6&1,l.aggregationInstancesSelector=c>>7&1,l.bitmapCodingContextUsed=!!(256&c),l.bitmapCodingContextRetained=!!(512&c),l.template=c>>10&3,l.refinementTemplate=c>>12&1,i+=2,!l.huffman){for(r=0===l.template?4:1,t=[],a=0;a<r;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;l.at=t}if(l.refinement&&!l.refinementTemplate){for(t=[],a=0;a<2;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;l.refinementAt=t}l.numberOfExportedSymbols=(0,L.readUint32)(u,i),i+=4,l.numberOfNewSymbols=(0,L.readUint32)(u,i),i+=4,e=[l,h.number,h.referredTo,u,i,d];break;case 6:case 7:const p={};p.info=m(u,i),i+=b;var f=(0,L.readUint16)(u,i);if(i+=2,p.huffman=!!(1&f),p.refinement=!!(2&f),p.logStripSize=f>>2&3,p.stripSize=1<<p.logStripSize,p.referenceCorner=f>>4&3,p.transposed=!!(64&f),p.combinationOperator=f>>7&3,p.defaultPixelValue=f>>9&1,p.dsOffset=f<<17>>27,p.refinementTemplate=f>>15&1,p.huffman){const l=(0,L.readUint16)(u,i);i+=2,p.huffmanFS=3&l,p.huffmanDS=l>>2&3,p.huffmanDT=l>>4&3,p.huffmanRefinementDW=l>>6&3,p.huffmanRefinementDH=l>>8&3,p.huffmanRefinementDX=l>>10&3,p.huffmanRefinementDY=l>>12&3,p.huffmanRefinementSizeSelector=!!(16384&l)}if(p.refinement&&!p.refinementTemplate){for(t=[],a=0;a<2;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;p.refinementAt=t}p.numberOfSymbolInstances=(0,L.readUint32)(u,i),i+=4,e=[p,h.referredTo,u,i,d];break;case 16:var f={},g=u[i++];f.mmr=!!(1&g),f.template=g>>1&3,f.patternWidth=u[i++],f.patternHeight=u[i++],f.maxPatternIndex=(0,L.readUint32)(u,i),i+=4,e=[f,h.number,u,i,d];break;case 22:case 23:g={},f=(g.info=m(u,i),i+=b,u[i++]);g.mmr=!!(1&f),g.template=f>>1&3,g.enableSkip=!!(8&f),g.combinationOperator=f>>4&7,g.defaultPixelValue=f>>7&1,g.gridWidth=(0,L.readUint32)(u,i),i+=4,g.gridHeight=(0,L.readUint32)(u,i),i+=4,g.gridOffsetX=4294967295&(0,L.readUint32)(u,i),i+=4,g.gridOffsetY=4294967295&(0,L.readUint32)(u,i),i+=4,g.gridVectorX=(0,L.readUint16)(u,i),i+=2,g.gridVectorY=(0,L.readUint16)(u,i),i+=2,e=[g,h.referredTo,u,i,d];break;case 38:case 39:f={},g=(f.info=m(u,i),i+=b,u[i++]);if(f.mmr=!!(1&g),f.template=g>>1&3,f.prediction=!!(8&g),!f.mmr){for(r=0===f.template?4:1,t=[],a=0;a<r;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;f.at=t}e=[f,u,i,d];break;case 48:g={width:(0,L.readUint32)(u,i),height:(0,L.readUint32)(u,i+4),resolutionX:(0,L.readUint32)(u,i+8),resolutionY:(0,L.readUint32)(u,i+12)},f=(4294967295===g.height&&delete g.height,u[i+16]);(0,L.readUint16)(u,i+17),g.lossless=!!(1&f),g.refinement=!!(2&f),g.defaultPixelValue=f>>2&1,g.combinationOperator=f>>3&3,g.requiresBuffer=!!(32&f),g.combinationOperatorOverride=!!(64&f),e=[g];break;case 49:case 50:case 51:case 62:break;case 53:e=[h.number,u,i,d];break;default:throw new _(`segment type ${h.typeName}(${h.type}) is not implemented`)}const p="on"+h.typeName;p in c&&c[p].apply(c,e)}}class d{onPageInformation(e){var t=(this.currentPageInfo=e).width+7>>3,t=new Uint8ClampedArray(t*e.height);e.defaultPixelValue&&t.fill(255),this.buffer=t}drawBitmap(e,t){var a=this.currentPageInfo,r=e.width,i=e.height,n=a.width+7>>3,s=(a.combinationOperatorOverride?e:a).combinationOperator,o=this.buffer,l=128>>(7&e.x);let c,h,u,d,f=e.y*n+(e.x>>3);switch(s){case 0:for(c=0;c<i;c++){for(u=l,d=f,h=0;h<r;h++)t[c][h]&&(o[d]|=u),(u>>=1)||(u=128,d++);f+=n}break;case 2:for(c=0;c<i;c++){for(u=l,d=f,h=0;h<r;h++)t[c][h]&&(o[d]^=u),(u>>=1)||(u=128,d++);f+=n}break;default:throw new _(`operator ${s} is not supported`)}}onImmediateGenericRegion(e,t,a,r){var i=e.info,t=new u(t,a,r),a=X(e.mmr,i.width,i.height,e.template,e.prediction,null,e.at,t);this.drawBitmap(i,a)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(e,t,a,r,i,n){let s,o,l=(e.huffman&&(s=function(e,t,a){let r,i,n,s,o=0;switch(e.huffmanDHSelector){case 0:case 1:r=I(e.huffmanDHSelector+4);break;case 3:r=v(o,t,a),o++;break;default:throw new _("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:i=I(e.huffmanDWSelector+2);break;case 3:i=v(o,t,a),o++;break;default:throw new _("invalid Huffman DW selector")}return e.bitmapSizeSelector?(n=v(o,t,a),o++):n=I(1),s=e.aggregationInstancesSelector?v(o,t,a):I(1),{tableDeltaHeight:r,tableDeltaWidth:i,tableBitmapSize:n,tableAggregateInstances:s}}(e,a,this.customTables),o=new q(r,i,n)),this.symbols);l||(this.symbols=l={});var c=[];for(const e of a){const t=l[e];t&&c.push(...t)}a=new u(r,i,n);l[t]=function(r,i,o,n,l,s,c,h,u,d,f){if(r&&i)throw new _("symbol refinement with Huffman is not supported");var g=[];let p=0,m=(0,L.log2)(o.length+n);var b=d.decoder,y=d.contextCache;let t,w;for(r&&(t=I(1),w=[],m=Math.max(m,1));g.length<n;){p+=r?l.tableDeltaHeight.decode(f):R(y,"IADH",b);let t=0,a=0;const A=r?w.length:0;for(;;){const A=r?l.tableDeltaWidth.decode(f):R(y,"IADW",b);if(null===A)break;let e;if(t+=A,a+=t,i){const L=R(y,"IAAI",b);if(1<L)e=O(r,i,t,p,0,L,1,o.concat(g),m,0,0,1,0,l,h,u,d,0,f);else{const r=j(y,b,m),i=R(y,"IARDX",b),L=R(y,"IARDY",b);e=H(t,p,h,r<o.length?o[r]:g[r-o.length],i,L,!1,u,d)}g.push(e)}else r?w.push(t):(e=X(!1,t,p,s,!1,null,c,d),g.push(e))}if(r&&!i){const r=l.tableBitmapSize.decode(f);let s;if(f.byteAlign(),0===r)s=function(t,a,r){var i=[];for(let e=0;e<r;e++){const r=new Uint8Array(a);i.push(r);for(let e=0;e<a;e++)r[e]=t.readBit();t.byteAlign()}return i}(f,a,p);else{const o=f.end,n=f.position+r;f.end=n,s=z(f,a,p,!1),f.end=o,f.position=n}const o=w.length;if(A===o-1)g.push(s);else{let e,t,a,r,i,n=0;for(e=A;e<o;e++){for(r=w[e],a=n+r,i=[],t=0;t<p;t++)i.push(s[t].subarray(n,a));g.push(i),n=a}}}}var a=[],v=[];let x,e,S=!1;for(var k=o.length+n;v.length<k;){let e=r?t.decode(f):R(y,"IAEX",b);for(;e--;)v.push(S);S=!S}for(x=0,e=o.length;x<e;x++)v[x]&&a.push(o[x]);for(let e=0;e<n;x++,e++)v[x]&&a.push(g[e]);return a}(e.huffman,e.refinement,c,e.numberOfNewSymbols,(e.numberOfExportedSymbols,s),e.template,e.at,e.refinementTemplate,e.refinementAt,a,o)}onImmediateTextRegion(e,t,a,r,i){var n=e.info;let s,o;var l=this.symbols,c=[];for(const e of t){const t=l[e];t&&c.push(...t)}var h=(0,L.log2)(c.length),t=(e.huffman&&(o=new q(a,r,i),s=function(e,i,t,a,n){var s=[];for(let e=0;e<=34;e++){const i=n.readBits(4);s.push(new f([e,i,0,0]))}var o=new y(s,!1);for(let r=s.length=0;r<a;){const i=o.decode(n);if(32<=i){let e,t,a;switch(i){case 32:if(0===r)throw new _("no previous value in symbol ID table");t=n.readBits(2)+3,e=s[r-1].prefixLength;break;case 33:t=n.readBits(3)+3,e=0;break;case 34:t=n.readBits(7)+11,e=0;break;default:throw new _("invalid code length in symbol ID table")}for(a=0;a<t;a++)s.push(new f([r,e,0,0])),r++}else s.push(new f([r,i,0,0])),r++}n.byteAlign();var r=new y(s,!1);let l,c,h,u=0;switch(e.huffmanFS){case 0:case 1:l=I(e.huffmanFS+6);break;case 3:l=v(u,i,t),u++;break;default:throw new _("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:c=I(e.huffmanDS+8);break;case 3:c=v(u,i,t),u++;break;default:throw new _("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:h=I(e.huffmanDT+11);break;case 3:h=v(u,i,t),u++;break;default:throw new _("invalid Huffman DT selector")}if(e.refinement)throw new _("refinement with Huffman is not supported");return{symbolIDTable:r,tableFirstS:l,tableDeltaS:c,tableDeltaT:h}}(e,t,this.customTables,c.length,o)),new u(a,r,i)),a=O(e.huffman,e.refinement,n.width,n.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,c,h,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,s,e.refinementTemplate,e.refinementAt,t,e.logStripSize,o);this.drawBitmap(n,a)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(e,t,a,r,i){let n=this.patterns;n||(this.patterns=n={});a=new u(a,r,i);n[t]=function(e,t,a,r,i,n){var s=[],o=(e||(s.push({x:-t,y:0}),0===i&&s.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2})),X(e,(r+1)*t,a,i,!1,null,s,n)),l=[];for(let e=0;e<=r;e++){const r=[],i=t*e,n=i+t;for(let e=0;e<a;e++)r.push(o[e].subarray(i,n));l.push(r)}return l}(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,a)}onImmediateHalftoneRegion(e,t,a,r,i){var t=this.patterns[t[0]],n=e.info,a=new u(a,r,i),r=function(e,t,a,r,i,n,s,o,l,c,h,R,u,d,f){if(s)throw new _("skip is not supported");if(0!==o)throw new _(`operator "${o}" is not supported in halftone region`);var g=[];let p,m,b;for(p=0;p<i;p++){if(b=new Uint8Array(r),n)for(m=0;m<r;m++)b[m]=n;g.push(b)}var y,w,s=t.length,o=t[0],v=o[0].length,x=o.length,S=(0,L.log2)(s),k=[],A=(e||(k.push({x:a<=1?3:2,y:-1}),0===a&&k.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2})),[]);let C,F,O,I,T,M,P,E,N,B,D;for(e&&(C=new q(f.data,f.start,f.end)),p=S-1;0<=p;p--)F=e?z(C,l,c,!0):X(!1,l,c,a,!1,null,k,f),A[p]=F;for(O=0;O<c;O++)for(I=0;I<l;I++){for(T=0,M=0,m=S-1;0<=m;m--)T^=A[m][O][I],M|=T<<m;if(P=t[M],E=h+O*d+I*u>>8,N=R+O*u-I*d>>8,0<=E&&E+v<=r&&0<=N&&N+x<=i)for(p=0;p<x;p++)for(D=g[N+p],B=P[p],m=0;m<v;m++)D[E+m]|=B[m];else for(p=0;p<x;p++)if(!((w=N+p)<0||i<=w))for(D=g[w],B=P[p],m=0;m<v;m++)0<=(y=E+m)&&y<r&&(D[y]|=B[m])}return g}(e.mmr,t,e.template,n.width,n.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,a);this.drawBitmap(n,r)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(e,t,a,r){let i=this.customTables;i||(this.customTables=i={}),i[e]=function(e,t,a){var r=e[t],i=4294967295&(0,L.readUint32)(e,t+1),n=4294967295&(0,L.readUint32)(e,t+5),s=new q(e,t+9,a),o=1+(r>>1&7),l=1+(r>>4&7),c=[];let h,u,d=i;for(;h=s.readBits(o),u=s.readBits(l),c.push(new f([d,h,u,0])),(d+=1<<u)<n;);return h=s.readBits(o),c.push(new f([i-1,h,32,0,"lower"])),h=s.readBits(o),c.push(new f([n,h,32,0])),1&r&&(h=s.readBits(o),c.push(new f([h,0]))),new y(c,!1)}(t,a,r)}}class f{constructor(e){2===e.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=e[0],this.rangeLength=0,this.prefixCode=e[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=e[0],this.prefixLength=e[1],this.rangeLength=e[2],this.prefixCode=e[3],this.isLowerRange="lower"===e[4])}}class g{constructor(e){this.children=[],e?(this.isLeaf=!0,this.rangeLength=e.rangeLength,this.rangeLow=e.rangeLow,this.isLowerRange=e.isLowerRange,this.isOOB=e.isOOB):this.isLeaf=!1}buildTree(t,a){var r=t.prefixCode>>a&1;if(a<=0)this.children[r]=new g(t);else{let e=this.children[r];e||(this.children[r]=e=new g(null)),e.buildTree(t,a-1)}}decodeNode(e){if(this.isLeaf){if(this.isOOB)return null;const t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}const t=this.children[e.readBit()];if(t)return t.decodeNode(e);throw new _("invalid Huffman data")}}class y{constructor(a,e){e||this.assignPrefixCodes(a),this.rootNode=new g(null);for(let e=0,t=a.length;e<t;e++){var r=a[e];0<r.prefixLength&&this.rootNode.buildTree(r,r.prefixLength-1)}}decode(e){return this.rootNode.decodeNode(e)}assignPrefixCodes(t){var a=t.length;let r=0;for(let e=0;e<a;e++)r=Math.max(r,t[e].prefixLength);var i=new Uint32Array(r+1);for(let e=0;e<a;e++)i[t[e].prefixLength]++;let e,n,s,o=1,l=0;for(i[0]=0;o<=r;){for(l=l+i[o-1]<<1,e=l,n=0;n<a;)(s=t[n]).prefixLength===o&&(s.prefixCode=e,e++),n++;o++}}}const w={};function I(e){let a,t=w[e];if(!t){switch(e){case 1:a=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:a=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:a=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:a=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:a=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:a=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:a=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:a=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:a=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:a=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:a=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:a=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:a=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:a=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:a=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new _(`standard table B.${e} does not exist`)}for(let e=0,t=a.length;e<t;e++)a[e]=new f(a[e]);t=new y(a,!0),w[e]=t}return t}class q{constructor(e,t,a){this.data=e,this.start=t,this.end=a,this.position=t,this.shift=-1,this.currentByte=0}readBit(){if(this.shift<0){if(this.position>=this.end)throw new _("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e}readBits(e){let t,a=0;for(t=e-1;0<=t;t--)a|=this.readBit()<<t;return a}byteAlign(){this.shift=-1}next(){return this.position>=this.end?-1:this.data[this.position++]}}function v(a,r,i){let n=0;for(let e=0,t=r.length;e<t;e++){var s=i[r[e]];if(s){if(a===n)return s;n++}}throw new _("can't find custom Huffman table")}function z(a,r,t,e){var i=new l.CCITTFaxDecoder(a,{K:-1,Columns:r,Rows:t,BlackIs1:!0,EndOfBlock:e}),n=[];let s,o=!1;for(let e=0;e<t;e++){const a=new Uint8Array(r);n.push(a);let t=-1;for(let e=0;e<r;e++)t<0&&(-1===(s=i.readNextChar())&&(s=0,o=!0),t=7),a[e]=s>>t&1,t--}if(e&&!o){const a=5;for(let e=0;e<5&&-1!==i.readNextChar();e++);}return n}t.Jbig2Image=class{parseChunks(e){var a=e,r=new d;for(let e=0,t=a.length;e<t;e++){var i=a[e];h(s({},i.data,i.start,i.end),r)}return r.buffer}parse(e){throw new Error("Not implemented: Jbig2Image.parse")}}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArithmeticDecoder=void 0;const l=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];t.ArithmeticDecoder=class{constructor(e,t,a){this.data=e,this.bp=t,this.dataEnd=a,this.chigh=e[t],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}byteIn(){var e=this.data;let t=this.bp;255===e[t]?143<e[t+1]?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),65535<this.clow&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(e,t){let a=e[t]>>1,r=1&e[t];var i=l[a],n=i.qe;let s,o=this.a-n;if(this.chigh<n)a=o<n?(o=n,s=r,i.nmps):(o=n,s=1^r,1===i.switchFlag&&(r=s),i.nlps);else{if(this.chigh-=n,0!=(32768&o))return this.a=o,r;a=o<n?(s=1^r,1===i.switchFlag&&(r=s),i.nlps):(s=r,i.nmps)}for(;0===this.ct&&this.byteIn(),o<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--,0==(32768&o););return this.a=o,e[t]=a<<1|r,s}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpegStream=void 0;var r=a(18),s=a(4),o=a(27),i=a(2);class n extends r.DecodeStream{constructor(e,t,a){for(var r;-1!==(r=e.getByte());)if(255===r){e.skip(-1);break}super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=a}get bytes(){return(0,i.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){if(!this.eof){const e={decodeTransform:void 0,colorTransform:void 0},r=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(r)){const i=this.dict.get("BPC","BitsPerComponent")||8,n=r.length,s=new Int32Array(n);let t=!1;var a=(1<<i)-1;for(let e=0;e<n;e+=2)s[e]=256*(r[e+1]-r[e])|0,s[e+1]=r[e]*a|0,256===s[e]&&0===s[e+1]||(t=!0);t&&(e.decodeTransform=s)}if(this.params instanceof s.Dict){const r=this.params.get("ColorTransform");Number.isInteger(r)&&(e.colorTransform=r)}const i=new o.JpegImage(e),n=(i.parse(this.bytes),i.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0}));this.buffer=n,this.bufferLength=n.length,this.eof=!0}}}t.JpegStream=n},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpegImage=void 0;var H=a(2),n=a(28),q=a(3);class z extends H.BaseException{constructor(e){super("JPEG error: "+e,"JpegError")}}class G extends H.BaseException{constructor(e,t){super(e,"DNLMarkerError"),this.scanLines=t}}class W extends H.BaseException{constructor(e){super(e,"EOIMarkerError")}}const V=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),F=4017,O=799,I=3406,T=2276,M=1567,P=3784,E=5793,N=2896;function K(e,t,a){return 64*((e.blocksPerLine+1)*t+a)}function B(a,r,i,e,t,l,c,n,h,s=!1){const o=i.mcusPerLine,R=i.progressive,L=r;let u=0,d=0;function f(){if(0<d)return d--,u>>d&1;if(255===(u=a[r++])){var e=a[r++];if(e){if(220===e&&s){r+=2;var t=(0,q.readUint16)(a,r);if(r+=2,0<t&&t!==i.scanLines)throw new G("Found DNL marker (0xFFDC) while parsing scan data",t)}else if(217===e){if(s){const a=v*(8===i.precision?8:0);if(0<a&&5<=Math.round(i.scanLines/a))throw new G("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",a)}throw new W("Found EOI marker (0xFFD9) while parsing scan data")}throw new z("unexpected marker "+(u<<8|e).toString(16))}}return d=7,u>>>7}function g(e){let t=e;for(;;){switch(typeof(t=t[f()])){case"number":return t;case"object":continue}throw new z("invalid huffman sequence")}}function p(e){let t=0;for(;0<e;)t=t<<1|f(),e--;return t}function m(e){var t;return 1===e?1===f()?1:-1:1<<e-1<=(t=p(e))?t:t+(-1<<e)+1}let b,y=0,w=0,v=0;var x,S,_,j,k,A,$,C,F=e.length;let O,I,T,M,P,E;E=R?0===l?0===n?function(e,t){var a=g(e.huffmanTableDC),a=0===a?0:m(a)<<h;e.blockData[t]=e.pred+=a}:function(e,t){e.blockData[t]|=f()<<h}:0===n?function(t,a){if(0<y)y--;else{let e=l;const i=c;for(;e<=i;){const i=g(t.huffmanTableAC),n=15&i,s=i>>4;if(0==n){if(s<15){y=p(s)+(1<<s)-1;break}e+=16}else{e+=s;var r=V[e];t.blockData[a+r]=m(n)*(1<<h),e++}}}}:function(e,t){let a=l;const r=c;let i,n,s=0;for(;a<=r;){const r=t+V[a],o=e.blockData[r]<0?-1:1;switch(w){case 0:if(i=15&(n=g(e.huffmanTableAC)),s=n>>4,0==i)w=s<15?(y=p(s)+(1<<s),4):(s=16,1);else{if(1!=i)throw new z("invalid ACn encoding");b=m(i),w=s?2:3}continue;case 1:case 2:e.blockData[r]?e.blockData[r]+=o*(f()<<h):0===--s&&(w=2===w?3:0);break;case 3:e.blockData[r]?e.blockData[r]+=o*(f()<<h):(e.blockData[r]=b<<h,w=0);break;case 4:e.blockData[r]&&(e.blockData[r]+=o*(f()<<h))}a++}4===w&&0===--y&&(w=0)}:function(e,t){const a=g(e.huffmanTableDC),r=0===a?0:m(a);e.blockData[t]=e.pred+=r;let i=1;for(;i<64;){const a=g(e.huffmanTableAC),r=15&a,s=a>>4;if(0==r){if(s<15)break;i+=16}else{i+=s;var n=V[i];e.blockData[t+n]=m(r),i++}}};let N,B,U,X,D=0;for(B=1===F?e[0].blocksPerLine*e[0].blocksPerColumn:o*i.mcusPerColumn;D<=B;){const i=t?Math.min(B-D,t):B;if(0<i){for(I=0;I<F;I++)e[I].pred=0;if(y=0,1===F)for(O=e[0],P=0;P<i;P++)A=O,$=E,C=D,v=C/A.blocksPerLine|0,C%=A.blocksPerLine,$(A,K(A,v,C)),D++;else for(P=0;P<i;P++){for(I=0;I<F;I++)for(U=(O=e[I]).h,X=O.v,T=0;T<X;T++)for(M=0;M<U;M++)x=O,S=D,_=T,j=M,k=void 0,k=S%o,v=(S/o|0)*x.v+_,S=k*x.h+j,E(x,K(x,v,S));D++}}if(d=0,!(N=Y(a,r)))break;if(N.invalid){const a=0<i?"unexpected":"excessive";(0,H.warn)(`decodeScan - ${a} MCU data, current marker is: `+N.invalid),r=N.offset}if(!(65488<=N.marker&&N.marker<=65495))break;r+=2}return r-L}function r(e,w){var t=w.blocksPerLine,a=w.blocksPerColumn,v=new Int16Array(64);for(let y=0;y<a;y++)for(let e=0;e<t;e++){x=void 0;S=void 0;k=void 0;A=void 0;C=void 0;var x=w;var S=K(w,y,e);var k=v;var A=x.quantizationTable,C=x.blockData;let t,a,r,i,n,s,o,l,c,h,u,d,f,g,p,m,b;if(!A)throw new z("missing required Quantization Table.");for(let e=0;e<64;e+=8)c=C[S+e],h=C[S+e+1],u=C[S+e+2],d=C[S+e+3],f=C[S+e+4],g=C[S+e+5],p=C[S+e+6],m=C[S+e+7],c*=A[e],0!=(h|u|d|f|g|p|m)?(h*=A[e+1],u*=A[e+2],d*=A[e+3],f*=A[e+4],g*=A[e+5],p*=A[e+6],m*=A[e+7],t=E*c+128>>8,a=E*f+128>>8,r=u,i=p,n=N*(h-m)+128>>8,l=N*(h+m)+128>>8,s=d<<4,o=g<<4,t=t+a+1>>1,a=t-a,b=r*P+i*M+128>>8,r=r*M-i*P+128>>8,i=b,n=n+o+1>>1,o=n-o,l=l+s+1>>1,s=l-s,t=t+i+1>>1,i=t-i,a=a+r+1>>1,r=a-r,b=n*T+l*I+2048>>12,n=n*I-l*T+2048>>12,l=b,b=s*O+o*F+2048>>12,s=s*F-o*O+2048>>12,o=b,k[e]=t+l,k[e+7]=t-l,k[e+1]=a+o,k[e+6]=a-o,k[e+2]=r+s,k[e+5]=r-s,k[e+3]=i+n,k[e+4]=i-n):(b=E*c+512>>10,k[e]=b,k[e+1]=b,k[e+2]=b,k[e+3]=b,k[e+4]=b,k[e+5]=b,k[e+6]=b,k[e+7]=b);for(let e=0;e<8;++e)c=k[e],h=k[e+8],u=k[e+16],d=k[e+24],f=k[e+32],g=k[e+40],p=k[e+48],m=k[e+56],0!=(h|u|d|f|g|p|m)?(t=E*c+2048>>12,a=E*f+2048>>12,r=u,i=p,n=N*(h-m)+2048>>12,l=N*(h+m)+2048>>12,s=d,o=g,t=4112+(t+a+1>>1),a=t-a,b=r*P+i*M+2048>>12,r=r*M-i*P+2048>>12,i=b,n=n+o+1>>1,o=n-o,l=l+s+1>>1,s=l-s,t=t+i+1>>1,i=t-i,a=a+r+1>>1,r=a-r,b=n*T+l*I+2048>>12,n=n*I-l*T+2048>>12,l=b,b=s*O+o*F+2048>>12,s=s*F-o*O+2048>>12,o=b,c=t+l,m=t-l,h=a+o,p=a-o,u=r+s,g=r-s,d=i+n,f=i-n,c<16?c=0:4080<=c?c=255:c>>=4,h<16?h=0:4080<=h?h=255:h>>=4,u<16?u=0:4080<=u?u=255:u>>=4,d<16?d=0:4080<=d?d=255:d>>=4,f<16?f=0:4080<=f?f=255:f>>=4,g<16?g=0:4080<=g?g=255:g>>=4,p<16?p=0:4080<=p?p=255:p>>=4,m<16?m=0:4080<=m?m=255:m>>=4,C[S+e]=c,C[S+e+8]=h,C[S+e+16]=u,C[S+e+24]=d,C[S+e+32]=f,C[S+e+40]=g,C[S+e+48]=p,C[S+e+56]=m):(b=(b=E*c+8192>>14)<-2040?0:2024<=b?255:b+2056>>4,C[S+e]=b,C[S+e+8]=b,C[S+e+16]=b,C[S+e+24]=b,C[S+e+32]=b,C[S+e+40]=b,C[S+e+48]=b,C[S+e+56]=b)}return w.blockData}function Y(e,t,a=t){var r=e.length-1;let i=a<t?a:t;if(r<=t)return null;a=(0,q.readUint16)(e,t);if(65472<=a&&a<=65534)return{invalid:null,marker:a,offset:t};let n=(0,q.readUint16)(e,i);for(;!(65472<=n&&n<=65534);){if(++i>=r)return null;n=(0,q.readUint16)(e,i)}return{invalid:a.toString(16),marker:n,offset:i}}t.JpegImage=class{constructor({decodeTransform:e=null,colorTransform:t=-1}={}){this._decodeTransform=e,this._colorTransform=t}parse(s,{dnlScanLines:o=null}={}){function l(){var e=(0,q.readUint16)(s,d);let t=(d+=2)+e-2;e=Y(s,t,d),e?.invalid&&((0,H.warn)("readDataBlock - incorrect length, current marker is: "+e.invalid),t=e.offset),e=s.subarray(d,t);return d+=e.length,e}function c(e){var t=Math.ceil(e.samplesPerLine/8/e.maxH),a=Math.ceil(e.scanLines/8/e.maxV);for(const s of e.components){var r=Math.ceil(Math.ceil(e.samplesPerLine/8)*s.h/e.maxH),i=Math.ceil(Math.ceil(e.scanLines/8)*s.v/e.maxV),n=t*s.h,n=a*s.v*64*(1+n);s.blockData=new Int16Array(n),s.blocksPerLine=r,s.blocksPerColumn=i}e.mcusPerLine=t,e.mcusPerColumn=a}let h,u,d=0,f=null,g=null,p=0;var m=[],b=[],y=[];let w=(0,q.readUint16)(s,d);if(d+=2,65496!==w)throw new z("SOI not found");w=(0,q.readUint16)(s,d),d+=2;e:for(;65497!==w;){let r,i,n;switch(w){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var v=l();65504===w&&74===v[0]&&70===v[1]&&73===v[2]&&70===v[3]&&0===v[4]&&(f={version:{major:v[5],minor:v[6]},densityUnits:v[7],xDensity:v[8]<<8|v[9],yDensity:v[10]<<8|v[11],thumbWidth:v[12],thumbHeight:v[13],thumbData:v.subarray(14,14+3*v[12]*v[13])}),65518===w&&65===v[0]&&100===v[1]&&111===v[2]&&98===v[3]&&101===v[4]&&(g={version:v[5]<<8|v[6],flags0:v[7]<<8|v[8],flags1:v[9]<<8|v[10],transformCode:v[11]});break;case 65499:var x=(0,q.readUint16)(s,d)+(d+=2)-2;let e;for(;d<x;){const o=s[d++],l=new Uint16Array(64);if(o>>4==0)for(i=0;i<64;i++)e=V[i],l[e]=s[d++];else{if(o>>4!=1)throw new z("DQT - invalid table spec");for(i=0;i<64;i++)e=V[i],l[e]=(0,q.readUint16)(s,d),d+=2}m[15&o]=l}break;case 65472:case 65473:case 65474:if(h)throw new z("Only single frame JPEGs supported");d+=2,(h={}).extended=65473===w,h.progressive=65474===w,h.precision=s[d++];var v=(0,q.readUint16)(s,d),S=(d+=2,h.scanLines=o||v,h.samplesPerLine=(0,q.readUint16)(s,d),d+=2,h.components=[],h.componentIds={},s[d++]);let t=0,a=0;for(r=0;r<S;r++){const o=s[d],l=s[d+1]>>4,H=15&s[d+1],c=(t<l&&(t=l),a<H&&(a=H),s[d+2]);n=h.components.push({h:l,v:H,quantizationId:c,quantizationTable:null}),h.componentIds[o]=n-1,d+=3}h.maxH=t,h.maxV=a,c(h);break;case 65476:var k=(0,q.readUint16)(s,d);for(d+=2,r=2;r<k;){const o=s[d++],l=new Uint8Array(16);let e=0;for(i=0;i<16;i++,d++)e+=l[i]=s[d];const c=new Uint8Array(e);for(i=0;i<e;i++,d++)c[i]=s[d];r+=17+e,(o>>4==0?y:b)[15&o]=function(e,t){let a,r,i=0,n=16;for(;0<n&&!e[n-1];)n--;var s=[{children:[],index:0}];let o,l=s[0];for(a=0;a<n;a++){for(r=0;r<e[a];r++){for((l=s.pop()).children[l.index]=t[i];0<l.index;)l=s.pop();for(l.index++,s.push(l);s.length<=a;)s.push(o={children:[],index:0}),l.children[l.index]=o.children,l=o;i++}a+1<n&&(s.push(o={children:[],index:0}),l.children[l.index]=o.children,l=o)}return s[0].children}(l,c)}break;case 65501:d+=2,u=(0,q.readUint16)(s,d),d+=2;break;case 65498:var A=1==++p&&!o,C=(d+=2,s[d++]),F=[];for(r=0;r<C;r++){const o=s[d++],l=h.componentIds[o],H=h.components[l],c=(H.index=o,s[d++]);H.huffmanTableDC=y[c>>4],H.huffmanTableAC=b[15&c],F.push(H)}var O=s[d++],I=s[d++],T=s[d++];try{const o=B(s,d,h,F,u,O,I,T>>4,15&T,A);d+=o}catch(o){if(o instanceof G)return(0,H.warn)(o.message+" -- attempting to re-parse the JPEG image."),this.parse(s,{dnlScanLines:o.scanLines});if(o instanceof W){(0,H.warn)(o.message+" -- ignoring the rest of the image data.");break e}throw o}break;case 65500:d+=4;break;case 65535:255!==s[d]&&d--;break;default:O=Y(s,d-2,d-3);if(O?.invalid){(0,H.warn)("JpegImage.parse - unexpected data, current marker is: "+O.invalid),d=O.offset;break}if(!O||d>=s.length-1){(0,H.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new z("JpegImage.parse - unknown marker: "+w.toString(16))}w=(0,q.readUint16)(s,d),d+=2}this.width=h.samplesPerLine,this.height=h.scanLines,this.jfif=f,this.adobe=g,this.components=[];for(const s of h.components){const o=m[s.quantizationId];o&&(s.quantizationTable=o),this.components.push({index:s.index,output:r(0,s),scaleX:s.h/h.maxH,scaleY:s.v/h.maxV,blocksPerLine:s.blocksPerLine,blocksPerColumn:s.blocksPerColumn})}this.numComponents=this.components.length}_getLinearizedBlockData(e,t,a=!1){var r=this.width/e,i=this.height/t;let n,s,o,l,c,h,u,d,f,g,p,m=0;var b=this.components.length,y=e*t*b,w=new Uint8ClampedArray(y),v=new Uint32Array(e);let x;for(u=0;u<b;u++){if(s=(n=this.components[u]).scaleX*r,o=n.scaleY*i,m=u,p=n.output,l=n.blocksPerLine+1<<3,s!==x){for(c=0;c<e;c++)d=0|c*s,v[c]=(4294967288&d)<<3|7&d;x=s}for(h=0;h<t;h++)for(g=l*(4294967288&(d=0|h*o))|(7&d)<<3,c=0;c<e;c++)w[m]=p[g+v[c]],m+=b}let S=this._decodeTransform;if(S=a||4!==b?S:S||new Int32Array([-256,255,-256,255,-256,255,-256,255]))for(u=0;u<y;)for(d=0,f=0;d<b;d++,u++,f+=2)w[u]=(w[u]*S[f]>>8)+S[f+1];return w}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}_convertYccToRgb(a){var r,i,n;for(let e=0,t=a.length;e<t;e+=3)r=a[e],i=a[e+1],n=a[e+2],a[e]=r-179.456+1.402*n,a[e+1]=r+135.459-.344*i-.714*n,a[e+2]=r-226.816+1.772*i;return a}_convertYccToRgba(r,i){for(let e=0,t=0,a=r.length;e<a;e+=3,t+=4){var n=r[e],s=r[e+1],o=r[e+2];i[t]=n-179.456+1.402*o,i[t+1]=n+135.459-.344*s-.714*o,i[t+2]=n-226.816+1.772*s,i[t+3]=255}return i}_convertYcckToRgb(a){let r,i,n,s,o=0;for(let e=0,t=a.length;e<t;e+=4)r=a[e],i=a[e+1],n=a[e+2],s=a[e+3],a[o++]=i*(-660635669420364e-19*i+.000437130475926232*n-54080610064599e-18*r+.00048449797120281*s-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*r-.00477271405408747*s+1.53380253221734)+r*(.000961250184130688*r-.00266257332283933*s+.48357088451265)+s*(-.000336197177618394*s+.484791561490776),a[o++]=107.268039397724+i*(219927104525741e-19*i-.000640992018297945*n+.000659397001245577*r+.000426105652938837*s-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*r+.000770482631801132*s-.151051492775562)+r*(.00126935368114843*r-.00265090189010898*s+.25802910206845)+s*(-.000318913117588328*s-.213742400323665),a[o++]=i*(-.000570115196973677*i-263409051004589e-19*n+.0020741088115012*r-.00288260236853442*s+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*r+.000560833691242812*s-.195152027534049)+r*(.00174418132927582*r-.00255243321439347*s+.116935020465145)+s*(-.000343531996510555*s+.24165260232407);return a.subarray(0,o)}_convertYcckToRgba(a){for(let e=0,t=a.length;e<t;e+=4){var r=a[e],i=a[e+1],n=a[e+2],s=a[e+3];a[e]=i*(-660635669420364e-19*i+.000437130475926232*n-54080610064599e-18*r+.00048449797120281*s-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*r-.00477271405408747*s+1.53380253221734)+r*(.000961250184130688*r-.00266257332283933*s+.48357088451265)+s*(-.000336197177618394*s+.484791561490776),a[e+1]=107.268039397724+i*(219927104525741e-19*i-.000640992018297945*n+.000659397001245577*r+.000426105652938837*s-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*r+.000770482631801132*s-.151051492775562)+r*(.00126935368114843*r-.00265090189010898*s+.25802910206845)+s*(-.000318913117588328*s-.213742400323665),a[e+2]=i*(-.000570115196973677*i-263409051004589e-19*n+.0020741088115012*r-.00288260236853442*s+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*r+.000560833691242812*s-.195152027534049)+r*(.00174418132927582*r-.00255243321439347*s+.116935020465145)+s*(-.000343531996510555*s+.24165260232407),a[e+3]=255}return a}_convertYcckToCmyk(a){var r,i,n;for(let e=0,t=a.length;e<t;e+=4)r=a[e],i=a[e+1],n=a[e+2],a[e]=434.456-r-1.402*n,a[e+1]=119.541-r+.344*i+.714*n,a[e+2]=481.816-r-1.772*i;return a}_convertCmykToRgb(a){let r,i,n,s,o=0;for(let e=0,t=a.length;e<t;e+=4)r=a[e],i=a[e+1],n=a[e+2],s=a[e+3],a[o++]=255+r*(-6747147073602441e-20*r+.0008379262121013727*i+.0002894718188643294*n+.003264231057537806*s-1.1185611867203937)+i*(26374107616089405e-21*i-8626949158638572e-20*n-.0002748769067499491*s-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*s+.0686742238595345)-s*(.0003361971776183937*s+.7430659151342254),a[o++]=255+r*(.00013596372813588848*r+.000924537132573585*i+.00010567359618683593*n+.0004791864687436512*s-.3109689587515875)+i*(-.00023545346108370344*i+.0002702845253534714*n+.0020200308977307156*s-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*s-.09751927774728933)-s*(.0003189131175883281*s+.7364883807733168),a[o++]=255+r*(13598650411385307e-21*r+.00012423956175490851*i+.0004751985097583589*n-36729317476630422e-22*s-.05562186980264034)+i*(.00016141380598724676*i+.0009692239130725186*n+.0007782692450036253*s-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*s-.7591454649749609)-s*(.0003435319965105553*s+.7063770186160144);return a.subarray(0,o)}_convertCmykToRgba(a){for(let e=0,t=a.length;e<t;e+=4){var r=a[e],i=a[e+1],n=a[e+2],s=a[e+3];a[e]=255+r*(-6747147073602441e-20*r+.0008379262121013727*i+.0002894718188643294*n+.003264231057537806*s-1.1185611867203937)+i*(26374107616089405e-21*i-8626949158638572e-20*n-.0002748769067499491*s-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*s+.0686742238595345)-s*(.0003361971776183937*s+.7430659151342254),a[e+1]=255+r*(.00013596372813588848*r+.000924537132573585*i+.00010567359618683593*n+.0004791864687436512*s-.3109689587515875)+i*(-.00023545346108370344*i+.0002702845253534714*n+.0020200308977307156*s-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*s-.09751927774728933)-s*(.0003189131175883281*s+.7364883807733168),a[e+2]=255+r*(13598650411385307e-21*r+.00012423956175490851*i+.0004751985097583589*n-36729317476630422e-22*s-.05562186980264034)+i*(.00016141380598724676*i+.0009692239130725186*n+.0007782692450036253*s-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*s-.7591454649749609)-s*(.0003435319965105553*s+.7063770186160144),a[e+3]=255}return a}getData({width:t,height:a,forceRGBA:r=!1,forceRGB:e=!1,isSourcePDF:i=!1}){if(4<this.numComponents)throw new z("Unsupported color mode");i=this._getLinearizedBlockData(t,a,i);if(1===this.numComponents&&(r||e)){const t=i.length*(r?4:3),a=new Uint8ClampedArray(t);let e=0;if(r)(0,n.grayToRGBA)(i,new Uint32Array(a.buffer));else for(const t of i)a[e++]=t,a[e++]=t,a[e++]=t;return a}if(3===this.numComponents&&this._isColorConversionNeeded){if(r){const t=new Uint8ClampedArray(i.length/3*4);return this._convertYccToRgba(i,t)}return this._convertYccToRgb(i)}if(4===this.numComponents){if(this._isColorConversionNeeded)return r?this._convertYcckToRgba(i):e?this._convertYcckToRgb(i):this._convertYcckToCmyk(i);if(r)return this._convertCmykToRgba(i);if(e)return this._convertCmykToRgb(i)}return i}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.convertBlackAndWhiteToRGBA=l,t.convertToRGBA=function(e){switch(e.kind){case g.ImageKind.GRAYSCALE_1BPP:return l(e);case g.ImageKind.RGB_24BPP:{var[{src:r,srcPos:t=0,dest:i,destPos:n=0}]=[e];let a=0;var s=r.length>>2,o=new Uint32Array(r.buffer,t,s);if(g.FeatureTest.isLittleEndian){for(;a<s-2;a+=3,n+=4){const r=o[a],t=o[a+1],g=o[a+2];i[n]=4278190080|r,i[n+1]=r>>>24|t<<8|4278190080,i[n+2]=t>>>16|g<<16|4278190080,i[n+3]=g>>>8|4278190080}for(let e=4*a,t=r.length;e<t;e+=3)i[n++]=r[e]|r[e+1]<<8|r[e+2]<<16|4278190080}else{for(;a<s-2;a+=3,n+=4){const r=o[a],t=o[a+1],g=o[a+2];i[n]=255|r,i[n+1]=r<<24|t>>>8|255,i[n+2]=t<<16|g>>>16|255,i[n+3]=g<<8|255}for(let e=4*a,t=r.length;e<t;e+=3)i[n++]=r[e]<<24|r[e+1]<<16|r[e+2]<<8|255}return{srcPos:t,destPos:n};return}}return null},t.grayToRGBA=function(a,r){if(g.FeatureTest.isLittleEndian)for(let e=0,t=a.length;e<t;e++)r[e]=65793*a[e]|4278190080;else for(let e=0,t=a.length;e<t;e++)r[e]=16843008*a[e]|255};var g=a(2);function l({src:t,srcPos:a=0,dest:r,width:e,height:i,nonBlackColor:n=4294967295,inverseDecode:s=!1}){var o=g.FeatureTest.isLittleEndian?4278190080:255,[l,c]=s?[n,o]:[o,n],h=e>>3,u=7&e,d=t.length;r=new Uint32Array(r.buffer);let f=0;for(let e=0;e<i;e++){for(const g=a+h;a<g;a++){const g=a<d?t[a]:255;r[f++]=128&g?c:l,r[f++]=64&g?c:l,r[f++]=32&g?c:l,r[f++]=16&g?c:l,r[f++]=8&g?c:l,r[f++]=4&g?c:l,r[f++]=2&g?c:l,r[f++]=1&g?c:l}if(0!=u){const g=a<d?t[a++]:255;for(let e=0;e<u;e++)r[f++]=g&1<<7-e?c:l}}return{srcPos:a,destPos:f}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpxStream=void 0;var r=a(18),g=a(30),i=a(2);class n extends r.DecodeStream{constructor(e,t,a){super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=a}get bytes(){return(0,i.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){if(!this.eof){const n=new g.JpxImage,s=(n.parse(this.bytes),n.width),e=n.height,o=n.componentsCount,l=n.tiles.length;if(1===l)this.buffer=n.tiles[0].items;else{const g=new Uint8ClampedArray(s*e*o);for(let e=0;e<l;e++){const l=n.tiles[e],c=l.width,h=l.height,u=l.left,d=l.top,f=l.items;let t=0,a=(s*d+u)*o;var r=s*o,i=c*o;for(let e=0;e<h;e++){const n=f.subarray(t,t+i);g.set(n,a),t+=i,a+=r}}this.buffer=g}this.bufferLength=this.buffer.length,this.eof=!0}}}t.JpxStream=n},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpxImage=void 0;var D=a(2),R=a(3),z=a(25);class L extends D.BaseException{constructor(e){super("JPX error: "+e,"JpxError")}}const G={LL:0,LH:1,HL:1,HH:2};function m(e,t,a){var r=a.xcb_,a=a.ycb_,i=1<<r,n=1<<a,s=t.tbx0>>r,o=t.tby0>>a,l=t.tbx1+i-1>>r,c=t.tby1+n-1>>a,h=t.resolution.precinctParameters,u=[],d=[];let f,g,p,m;for(g=o;g<c;g++)for(f=s;f<l;f++)if((p={cbx:f,cby:g,tbx0:i*f,tby0:n*g,tbx1:i*(f+1),tby1:n*(g+1)}).tbx0_=Math.max(t.tbx0,p.tbx0),p.tby0_=Math.max(t.tby0,p.tby0),p.tbx1_=Math.min(t.tbx1,p.tbx1),p.tby1_=Math.min(t.tby1,p.tby1),m=Math.floor((p.tbx0_-t.tbx0)/h.precinctWidthInSubband)+Math.floor((p.tby0_-t.tby0)/h.precinctHeightInSubband)*h.numprecinctswide,p.precinctNumber=m,p.subbandType=t.type,p.Lblock=3,!(p.tbx1_<=p.tbx0_||p.tby1_<=p.tby0_)){u.push(p);let e=d[m];void 0!==e?(f<e.cbxMin?e.cbxMin=f:f>e.cbxMax&&(e.cbxMax=f),g<e.cbyMin?e.cbxMin=g:g>e.cbyMax&&(e.cbyMax=g)):d[m]=e={cbxMin:f,cbyMin:g,cbxMax:f,cbyMax:g},p.precinct=e}t.codeblockParameters={codeblockWidth:r,codeblockHeight:a,numcodeblockwide:l-s+1,numcodeblockhigh:c-o+1},t.codeblocks=u,t.precincts=d}function p(e,a,r){const i=[],n=e.subbands;for(let e=0,t=n.length;e<t;e++){const r=n[e].codeblocks;for(let e=0,t=r.length;e<t;e++){const n=r[e];n.precinctNumber===a&&i.push(n)}}return{layerNumber:r,codeblocks:i}}function b(e){const t=e.SIZ,a=e.currentTile.index,i=e.tiles[a],n=i.codingStyleDefaultParameters.layersCount,s=t.Csiz;let o=0;for(let e=0;e<s;e++)o=Math.max(o,i.components[e].codingStyleParameters.decompositionLevelsCount);let l=0,c=0,h=0,u=0;this.nextPacket=function(){for(;l<n;l++){for(;c<=o;c++){for(;h<s;h++){var e=i.components[h];if(!(c>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[c],a=t.precinctParameters.numprecincts;u<a;){var r=p(t,u,l);return u++,r}u=0}}h=0}c=0}throw new L("Out of packets")}}function y(e){const t=e.SIZ,a=e.currentTile.index,i=e.tiles[a],n=i.codingStyleDefaultParameters.layersCount,s=t.Csiz;let o=0;for(let e=0;e<s;e++)o=Math.max(o,i.components[e].codingStyleParameters.decompositionLevelsCount);let l=0,c=0,h=0,u=0;this.nextPacket=function(){for(;l<=o;l++){for(;c<n;c++){for(;h<s;h++){var e=i.components[h];if(!(l>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[l],a=t.precinctParameters.numprecincts;u<a;){var r=p(t,u,c);return u++,r}u=0}}h=0}c=0}throw new L("Out of packets")}}function w(e){const t=e.SIZ,a=e.currentTile.index,r=e.tiles[a],i=r.codingStyleDefaultParameters.layersCount,n=t.Csiz;let s,o,l,c,h=0;for(l=0;l<n;l++){const e=r.components[l];h=Math.max(h,e.codingStyleParameters.decompositionLevelsCount)}const u=new Int32Array(h+1);for(o=0;o<=h;++o){let e=0;for(l=0;l<n;++l){const t=r.components[l].resolutions;o<t.length&&(e=Math.max(e,t[o].precinctParameters.numprecincts))}u[o]=e}s=0,o=0,l=0,c=0,this.nextPacket=function(){for(;o<=h;o++){for(;c<u[o];c++){for(;l<n;l++){var e=r.components[l];if(!(o>e.codingStyleParameters.decompositionLevelsCount)){var t=e.resolutions[o],e=t.precinctParameters.numprecincts;if(!(c>=e)){for(;s<i;){var a=p(t,c,s);return s++,a}s=0}}}l=0}c=0}throw new L("Out of packets")}}function v(e){const t=e.SIZ,a=e.currentTile.index,n=e.tiles[a],s=n.codingStyleDefaultParameters.layersCount,o=t.Csiz,l=r(n),c=l;let h=0,u=0,d=0,f=0,g=0;this.nextPacket=function(){for(;g<c.maxNumHigh;g++){for(;f<c.maxNumWide;f++){for(;d<o;d++){for(var e=n.components[d],t=e.codingStyleParameters.decompositionLevelsCount;u<=t;u++){const r=e.resolutions[u],i=l.components[d].resolutions[u],n=S(f,g,i,c,r);if(null!==n){for(;h<s;){var a=p(r,n,h);return h++,a}h=0}}u=0}d=0}f=0}throw new L("Out of packets")}}function x(e){const t=e.SIZ,a=e.currentTile.index,n=e.tiles[a],s=n.codingStyleDefaultParameters.layersCount,o=t.Csiz,l=r(n);let c=0,h=0,u=0,d=0,f=0;this.nextPacket=function(){for(;u<o;++u){for(var e=n.components[u],t=l.components[u],a=e.codingStyleParameters.decompositionLevelsCount;f<t.maxNumHigh;f++){for(;d<t.maxNumWide;d++){for(;h<=a;h++){const i=e.resolutions[h],n=t.resolutions[h],o=S(d,f,n,t,i);if(null!==o){for(;c<s;){var r=p(i,o,c);return c++,r}c=0}}h=0}d=0}f=0}throw new L("Out of packets")}}function S(e,t,a,r,i){e*=r.minWidth,t*=r.minHeight;return e%a.width!=0||t%a.height!=0?null:(r=t/a.width*i.precinctParameters.numprecinctswide,e/a.height+r)}function r(s){const o=s.components.length;let l=Number.MAX_VALUE,c=Number.MAX_VALUE,h=0,u=0;var d=new Array(o);for(let e=0;e<o;e++){const o=s.components[e],f=o.codingStyleParameters.decompositionLevelsCount,g=new Array(f+1);let t=Number.MAX_VALUE,a=Number.MAX_VALUE,r=0,i=0,n=1;for(let e=f;0<=e;--e){const l=o.resolutions[e],c=n*l.precinctParameters.precinctWidth,h=n*l.precinctParameters.precinctHeight;t=Math.min(t,c),a=Math.min(a,h),r=Math.max(r,l.precinctParameters.numprecinctswide),i=Math.max(i,l.precinctParameters.numprecinctshigh),g[e]={width:c,height:h},n<<=1}l=Math.min(l,t),c=Math.min(c,a),h=Math.max(h,r),u=Math.max(u,i),d[e]={resolutions:g,minWidth:t,minHeight:a,maxNumWide:r,maxNumHigh:i}}return{components:d,minWidth:l,minHeight:c,maxNumWide:h,maxNumHigh:u}}function _(e){const a=e.SIZ,r=e.currentTile.index,i=e.tiles[r],n=a.Csiz;for(let e=0;e<n;e++){const a=i.components[e],r=a.codingStyleParameters.decompositionLevelsCount,n=[],f=[];for(let t=0;t<=r;t++){h=a,u=t,d=void 0,h=h.codingStyleParameters,d={},h.entropyCoderWithCustomPrecincts?(d.PPx=h.precinctsSizes[u].PPx,d.PPy=h.precinctsSizes[u].PPy):(d.PPx=15,d.PPy=15),d.xcb_=0<u?Math.min(h.xcb,d.PPx-1):Math.min(h.xcb,d.PPx),d.ycb_=0<u?Math.min(h.ycb,d.PPy-1):Math.min(h.ycb,d.PPy);const i=d,L={},g=1<<r-t;let e;if(L.trx0=Math.ceil(a.tcx0/g),L.try0=Math.ceil(a.tcy0/g),L.trx1=Math.ceil(a.tcx1/g),L.try1=Math.ceil(a.tcy1/g),L.resLevel=t,u=L,h=i,c=o=l=o=s=d=void 0,d=1<<h.PPx,s=1<<h.PPy,o=0===u.resLevel,l=1<<h.PPx+(o?0:-1),h=1<<h.PPy+(o?0:-1),o=u.trx1>u.trx0?Math.ceil(u.trx1/d)-Math.floor(u.trx0/d):0,c=u.try1>u.try0?Math.ceil(u.try1/s)-Math.floor(u.try0/s):0,u.precinctParameters={precinctWidth:d,precinctHeight:s,numprecinctswide:o,numprecinctshigh:c,numprecincts:o*c,precinctWidthInSubband:l,precinctHeightInSubband:h},n.push(L),0===t)(e={}).type="LL",e.tbx0=Math.ceil(a.tcx0/g),e.tby0=Math.ceil(a.tcy0/g),e.tbx1=Math.ceil(a.tcx1/g),e.tby1=Math.ceil(a.tcy1/g),e.resolution=L,m(0,e,i),f.push(e),L.subbands=[e];else{const n=1<<r-t+1,p=[];(e={type:"HL"}).tbx0=Math.ceil(a.tcx0/n-.5),e.tby0=Math.ceil(a.tcy0/n),e.tbx1=Math.ceil(a.tcx1/n-.5),e.tby1=Math.ceil(a.tcy1/n),e.resolution=L,m(0,e,i),f.push(e),p.push(e),(e={type:"LH"}).tbx0=Math.ceil(a.tcx0/n),e.tby0=Math.ceil(a.tcy0/n-.5),e.tbx1=Math.ceil(a.tcx1/n),e.tby1=Math.ceil(a.tcy1/n-.5),e.resolution=L,m(0,e,i),f.push(e),p.push(e),(e={type:"HH"}).tbx0=Math.ceil(a.tcx0/n-.5),e.tby0=Math.ceil(a.tcy0/n-.5),e.tbx1=Math.ceil(a.tcx1/n-.5),e.tby1=Math.ceil(a.tcy1/n-.5),e.resolution=L,m(0,e,i),f.push(e),p.push(e),L.subbands=p}}a.resolutions=n,a.subbands=f}var s,o,l,c,h,u,d;const f=i.codingStyleDefaultParameters.progressionOrder;switch(f){case 0:i.packetsIterator=new b(e);break;case 1:i.packetsIterator=new y(e);break;case 2:i.packetsIterator=new w(e);break;case 3:i.packetsIterator=new v(e);break;case 4:i.packetsIterator=new x(e);break;default:throw new L("Unsupported progression order "+f)}}function j(o,l,t,c){let h,u=0,a=0,d=!1;function f(e){for(;a<e;){const e=l[t+u];u++,d?(h=h<<7|e,a+=7,d=!1):(h=h<<8|e,a+=8),255===e&&(d=!0)}return a-=e,h>>>a&(1<<e)-1}function e(e){return 255===l[t+u-1]&&l[t+u]===e?(r(1),!0):255===l[t+u]&&l[t+u+1]===e&&(r(2),!0)}function r(e){u+=e}function i(){a=0,d&&(u++,d=!1)}const n=o.currentTile.index,g=o.tiles[n],p=o.COD.sopMarkerUsed,m=o.COD.ephMarkerUsed,s=g.packetsIterator;for(;u<c;){i(),p&&e(145)&&r(4);const o=s.nextPacket();if(f(1)){const c=o.layerNumber,h=[];let s;for(let e=0,t=o.codeblocks.length;e<t;e++){let t=(s=o.codeblocks[e]).precinct;const u=s.cbx-t.cbxMin,d=s.cby-t.cbyMin;let a,r,i=!1,n=!1;if(void 0!==s.included)i=!!f(1);else{let e;if(void 0!==(t=s.precinct).inclusionTree)e=t.inclusionTree;else{const l=t.cbxMax-t.cbxMin+1,R=t.cbyMax-t.cbyMin+1;e=new A(l,R,c),r=new k(l,R),t.inclusionTree=e,t.zeroBitPlanesTree=r;for(let e=0;e<c;e++)if(0!==f(1))throw new L("Invalid tag tree")}if(e.reset(u,d,c))for(;;){if(!f(1)){e.incrementValue(c);break}if(a=!e.nextLevel()){s.included=!0,i=n=!0;break}}}if(i){if(n){for((r=t.zeroBitPlanesTree).reset(u,d);;)if(f(1)){if(a=!r.nextLevel())break}else r.incrementValue();s.zeroBitPlanes=r.value}b=void 0;const g=0===f(1)?1:0===f(1)?2:(b=f(2))<3?b+3:(b=f(5))<31?b+6:(b=f(7))+37;for(;f(1);)s.Lblock++;const p=(0,R.log2)(g),m=f((g<1<<p?p-1:p)+s.Lblock);h.push({codeblock:s,codingpasses:g,dataLength:m})}}for(i(),m&&e(146);0<h.length;){const o=h.shift();void 0===(s=o.codeblock).data&&(s.data=[]),s.data.push({data:l,start:t+u,end:t+u+o.dataLength,codingpasses:o.codingpasses}),u+=o.dataLength}}}var b;u}function $(a,i,n){const e=i.components[n],t=e.codingStyleParameters,s=e.quantizationParameters,_=t.decompositionLevelsCount,o=s.SPqcds,j=s.scalarExpounded,$=s.guardBits,U=t.segmentationSymbolUsed,X=t.resetContextProbabilities,H=a.components[n].precision,l=t.reversibleTransformation,c=new(l?K:V),h=[];let u=0;for(let r=0;r<=_;r++){const i=e.resolutions[r],n=i.trx1-i.trx0,t=i.try1-i.try0,s=new Float32Array(n*t);for(let a=0,e=i.subbands.length;a<e;a++){let e,t;j?(e=o[u].mu,t=o[u].epsilon,u++):(e=o[0].mu,t=o[0].epsilon+(0<r?1-r:0));const c=i.subbands[a],h=G[c.type];L=R=D=B=N=E=P=M=T=I=O=F=C=A=k=S=x=v=w=y=b=m=p=g=f=d=void 0;var d=s,f=n,g=c,p=l?1:2**(H+h-t)*(1+e/2048),m=$+t-1,b=l,y=U,w=X,v=g.tbx0,x=g.tby0,S=g.tbx1-g.tbx0,k=g.codeblocks,A="H"===g.type.charAt(0)?1:0,C="H"===g.type.charAt(1)?f:0;for(let e=0,t=k.length;e<t;++e){var F=k[e],O=F.tbx1_-F.tbx0_,I=F.tby1_-F.tby0_;if(0!=O&&0!=I&&void 0!==F.data){var T=new W(O,I,F.subbandType,F.zeroBitPlanes,m);let e=2;var M=F.data;let t,a,r,i=0,n=0;for(t=0,a=M.length;t<a;t++)r=M[t],i+=r.end-r.start,n+=r.codingpasses;var P=new Uint8Array(i);let s=0;for(t=0,a=M.length;t<a;t++){const d=(r=M[t]).data.subarray(r.start,r.end);P.set(d,s),s+=d.length}var E=new z.ArithmeticDecoder(P,0,i);for(T.setDecoder(E),t=0;t<n;t++){switch(e){case 0:T.runSignificancePropagationPass();break;case 1:T.runMagnitudeRefinementPass();break;case 2:T.runCleanupPass(),y&&T.checkSegmentationSymbol()}w&&T.reset(),e=(e+1)%3}let o=F.tbx0_-v+(F.tby0_-x)*S;var N=T.coefficentsSign,B=T.coefficentsMagnitude,D=T.bitsDecoded,R=b?0:.5;let l,c,h;s=0;var L="LL"!==g.type;for(t=0;t<I;t++){const q=2*(o/S|0)*(f-S)+A+C;for(l=0;l<O;l++)0!==(c=B[s])&&(c=(c+R)*p,0!==N[s]&&(c=-c),h=D[s],d[L?q+(o<<1):o]=b&&m<=h?c:c*(1<<m-h)),o++,s++;o+=S-O}}}}h.push({width:n,height:t,items:s})}i=c.calculate(h,e.tcx0,e.tcy0);return{left:e.tcx0,top:e.tcy0,width:i.width,height:i.height,items:i.items}}t.JpxImage=class{constructor(){this.failOnCorruptedImage=!1}parse(i){if(65359===(0,R.readUint16)(i,0))this.parseCodestream(i,0,i.length);else{const l=i.length;let r=0;for(;r<l;){let e=8,t=(0,R.readUint32)(i,r);var n=(0,R.readUint32)(i,r+4);if(r+=e,1===t&&(t=4294967296*(0,R.readUint32)(i,r)+(0,R.readUint32)(i,r+4),r+=8,e+=8),(t=0===t?l-r+e:t)<e)throw new L("Invalid box field size");var s=t-e;let a=!0;switch(n){case 1785737832:a=!1;break;case 1668246642:const l=i[r];if(1===l){const l=(0,R.readUint32)(i,r+3);switch(l){case 16:case 17:case 18:break;default:(0,D.warn)("Unknown colorspace "+l)}}else 2===l&&(0,D.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(i,r,r+s);break;case 1783636e3:218793738!==(0,R.readUint32)(i,r)&&(0,D.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var o=String.fromCharCode(n>>24&255,n>>16&255,n>>8&255,255&n);(0,D.warn)(`Unsupported header type ${n} (${o}).`)}a&&(r+=s)}}}parseImageProperties(e){let t=e.getByte();for(;0<=t;)if(65361==(t<<8|(t=e.getByte()))){e.skip(4);const t=e.getInt32()>>>0,r=e.getInt32()>>>0,i=e.getInt32()>>>0,n=e.getInt32()>>>0;e.skip(16);var a=e.getUint16();return this.width=t-i,this.height=r-n,this.componentsCount=a,void(this.bitsPerComponent=8)}throw new L("No size marker found in JPX stream")}parseCodestream(c,h,e){var u,d,f={};let g=!1;try{let l=h;for(;l+1<e;){const h=(0,R.readUint16)(c,l);l+=2;let t,a,r,i,n,s,o=0;switch(h){case 65359:f.mainHeader=!0;break;case 65497:break;case 65361:o=(0,R.readUint16)(c,l);var p={},m=(p.Xsiz=(0,R.readUint32)(c,l+4),p.Ysiz=(0,R.readUint32)(c,l+8),p.XOsiz=(0,R.readUint32)(c,l+12),p.YOsiz=(0,R.readUint32)(c,l+16),p.XTsiz=(0,R.readUint32)(c,l+20),p.YTsiz=(0,R.readUint32)(c,l+24),p.XTOsiz=(0,R.readUint32)(c,l+28),p.YTOsiz=(0,R.readUint32)(c,l+32),(0,R.readUint16)(c,l+36)),b=(p.Csiz=m,[]);t=l+38;for(let e=0;e<m;e++){const h={precision:1+(127&c[t]),isSigned:!!(128&c[t]),XRsiz:c[t+1],YRsiz:c[t+2]};t+=3,u=h,d=p,u.x0=Math.ceil(d.XOsiz/u.XRsiz),u.x1=Math.ceil(d.Xsiz/u.XRsiz),u.y0=Math.ceil(d.YOsiz/u.YRsiz),u.y1=Math.ceil(d.Ysiz/u.YRsiz),u.width=u.x1-u.x0,u.height=u.y1-u.y0,b.push(h)}f.SIZ=p,f.components=b;{y=void 0;w=void 0;var y=f;var w=b;const I=y.SIZ,T=[];let r;const M=Math.ceil((I.Xsiz-I.XTOsiz)/I.XTsiz),P=Math.ceil((I.Ysiz-I.YTOsiz)/I.YTsiz);for(let t=0;t<P;t++)for(let e=0;e<M;e++)(r={}).tx0=Math.max(I.XTOsiz+e*I.XTsiz,I.XOsiz),r.ty0=Math.max(I.YTOsiz+t*I.YTsiz,I.YOsiz),r.tx1=Math.min(I.XTOsiz+(e+1)*I.XTsiz,I.Xsiz),r.ty1=Math.min(I.YTOsiz+(t+1)*I.YTsiz,I.Ysiz),r.width=r.tx1-r.tx0,r.height=r.ty1-r.ty0,r.components=[],T.push(r);y.tiles=T;for(let a=0,e=I.Csiz;a<e;a++){const I=w[a];for(let e=0,t=T.length;e<t;e++){const M={};r=T[e],M.tcx0=Math.ceil(r.tx0/I.XRsiz),M.tcy0=Math.ceil(r.ty0/I.YRsiz),M.tcx1=Math.ceil(r.tx1/I.XRsiz),M.tcy1=Math.ceil(r.ty1/I.YRsiz),M.width=M.tcx1-M.tcx0,M.height=M.tcy1-M.tcy0,r.components[a]=M}}}f.QCC=[],f.COC=[];break;case 65372:o=(0,R.readUint16)(c,l);var v={};switch(t=l+2,31&(a=c[t++])){case 0:i=8,n=!0;break;case 1:i=16,n=!1;break;case 2:i=16,n=!0;break;default:throw new Error("Invalid SQcd value "+a)}for(v.noQuantization=8===i,v.scalarExpounded=n,v.guardBits=a>>5,r=[];t<o+l;){const h={};8===i?(h.epsilon=c[t++]>>3,h.mu=0):(h.epsilon=c[t]>>3,h.mu=(7&c[t])<<8|c[t+1],t+=2),r.push(h)}v.SPqcds=r,f.mainHeader?f.QCD=v:(f.currentTile.QCD=v,f.currentTile.QCC=[]);break;case 65373:o=(0,R.readUint16)(c,l);var x={};let e;switch(t=l+2,f.SIZ.Csiz<257?e=c[t++]:(e=(0,R.readUint16)(c,t),t+=2),31&(a=c[t++])){case 0:i=8,n=!0;break;case 1:i=16,n=!1;break;case 2:i=16,n=!0;break;default:throw new Error("Invalid SQcd value "+a)}for(x.noQuantization=8===i,x.scalarExpounded=n,x.guardBits=a>>5,r=[];t<o+l;){const h={};8===i?(h.epsilon=c[t++]>>3,h.mu=0):(h.epsilon=c[t]>>3,h.mu=(7&c[t])<<8|c[t+1],t+=2),r.push(h)}x.SPqcds=r,f.mainHeader?f.QCC[e]=x:f.currentTile.QCC[e]=x;break;case 65362:o=(0,R.readUint16)(c,l);const $={};t=l+2;var S=c[t++],k=($.entropyCoderWithCustomPrecincts=!!(1&S),$.sopMarkerUsed=!!(2&S),$.ephMarkerUsed=!!(4&S),$.progressionOrder=c[t++],$.layersCount=(0,R.readUint16)(c,t),t+=2,$.multipleComponentTransform=c[t++],$.decompositionLevelsCount=c[t++],$.xcb=2+(15&c[t++]),$.ycb=2+(15&c[t++]),c[t++]);if($.selectiveArithmeticCodingBypass=!!(1&k),$.resetContextProbabilities=!!(2&k),$.terminationOnEachCodingPass=!!(4&k),$.verticallyStripe=!!(8&k),$.predictableTermination=!!(16&k),$.segmentationSymbolUsed=!!(32&k),$.reversibleTransformation=c[t++],$.entropyCoderWithCustomPrecincts){const h=[];for(;t<o+l;){const D=c[t++];h.push({PPx:15&D,PPy:D>>4})}$.precinctsSizes=h}var A=[];$.selectiveArithmeticCodingBypass&&A.push("selectiveArithmeticCodingBypass"),$.terminationOnEachCodingPass&&A.push("terminationOnEachCodingPass"),$.verticallyStripe&&A.push("verticallyStripe"),$.predictableTermination&&A.push("predictableTermination"),0<A.length&&(g=!0,(0,D.warn)(`JPX: Unsupported COD options (${A.join(", ")}).`)),f.mainHeader?f.COD=$:(f.currentTile.COD=$,f.currentTile.COC=[]);break;case 65424:o=(0,R.readUint16)(c,l),(s={}).index=(0,R.readUint16)(c,l+2),s.length=(0,R.readUint32)(c,l+4),s.dataEnd=s.length+l-2,s.partIndex=c[l+8],s.partsCount=c[l+9],f.mainHeader=!1,0===s.partIndex&&(s.COD=f.COD,s.COC=f.COC.slice(0),s.QCD=f.QCD,s.QCC=f.QCC.slice(0)),f.currentTile=s;break;case 65427:if(0===(s=f.currentTile).partIndex){{C=void 0;F=void 0;O=void 0;var C=f;var F=s.index;const E=C.SIZ.Csiz,N=C.tiles[F];for(let e=0;e<E;e++){const E=N.components[e],B=void 0!==C.currentTile.QCC[e]?C.currentTile.QCC[e]:C.currentTile.QCD;E.quantizationParameters=B;var O=void 0!==C.currentTile.COC[e]?C.currentTile.COC[e]:C.currentTile.COD;E.codingStyleParameters=O}N.codingStyleDefaultParameters=C.currentTile.COD}_(f)}o=s.dataEnd-l,j(f,c,l,o);break;case 65363:(0,D.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:o=(0,R.readUint16)(c,l);break;default:throw new Error("Unknown codestream code: "+h.toString(16))}l+=o}}catch(c){if(g||this.failOnCorruptedImage)throw new L(c.message);(0,D.warn)(`JPX: Trying to recover from: "${c.message}".`)}this.tiles=function(c){const h=c.SIZ,u=c.components,d=h.Csiz,f=[];for(let l=0,e=c.tiles.length;l<e;l++){var g=c.tiles[l],p=[];for(let e=0;e<d;e++)p[e]=$(c,g,e);var m=p[0],b=new Uint8ClampedArray(m.items.length*d),m={left:m.left,top:m.top,width:m.width,height:m.height,items:b};let t,a,r,i,e,n,s,o=0;if(g.codingStyleDefaultParameters.multipleComponentTransform){const c=4===d,h=p[0].items,f=p[1].items,v=p[2].items,x=c?p[3].items:null;t=u[0].precision-8,a=.5+(128<<t);var y=g.components[0],w=d-3;if(i=h.length,y.codingStyleParameters.reversibleTransformation)for(r=0;r<i;r++,o+=w){e=h[r]+a,n=f[r],s=v[r];const c=e-(s+n>>2);b[o++]=c+s>>t,b[o++]=c>>t,b[o++]=c+n>>t}else for(r=0;r<i;r++,o+=w)e=h[r]+a,n=f[r],s=v[r],b[o++]=e+1.402*s>>t,b[o++]=e-.34413*n-.71414*s>>t,b[o++]=e+1.772*n>>t;if(c)for(r=0,o=3;r<i;r++,o+=4)b[o]=x[r]+a>>t}else for(let e=0;e<d;e++){const h=p[e].items;for(t=u[e].precision-8,a=.5+(128<<t),o=e,r=0,i=h.length;r<i;r++)b[o]=h[r]+a>>t,o+=d}f.push(m)}return f}(f),this.width=f.SIZ.Xsiz-f.SIZ.XOsiz,this.height=f.SIZ.Ysiz-f.SIZ.YOsiz,this.componentsCount=f.SIZ.Csiz}};class k{constructor(t,a){const r=(0,R.log2)(Math.max(t,a))+1;this.levels=[];for(let e=0;e<r;e++){const r={width:t,height:a,items:[]};this.levels.push(r),t=Math.ceil(t/2),a=Math.ceil(a/2)}}reset(e,t){let a,r=0,i=0;for(;r<this.levels.length;){var n=e+t*(a=this.levels[r]).width;if(void 0!==a.items[n]){i=a.items[n];break}a.index=n,e>>=1,t>>=1,r++}r--,(a=this.levels[r]).items[a.index]=i,this.currentLevel=r,delete this.value}incrementValue(){var e=this.levels[this.currentLevel];e.items[e.index]++}nextLevel(){var e=this.currentLevel,t=this.levels[e],a=t.items[t.index];return--e<0?(this.value=a,!1):(this.currentLevel=e,(t=this.levels[e]).items[t.index]=a,!0)}}class A{constructor(t,a,r){const i=(0,R.log2)(Math.max(t,a))+1;this.levels=[];for(let e=0;e<i;e++){const i=new Uint8Array(t*a);for(let e=0,t=i.length;e<t;e++)i[e]=r;const R={width:t,height:a,items:i};this.levels.push(R),t=Math.ceil(t/2),a=Math.ceil(a/2)}}reset(e,t,a){let r=0;for(;r<this.levels.length;){var i=this.levels[r],n=e+t*i.width,i=(i.index=n,i.items[n]);if(255===i)break;if(a<i)return this.currentLevel=r,this.propagateValues(),!1;e>>=1,t>>=1,r++}return this.currentLevel=r-1,!0}incrementValue(e){var t=this.levels[this.currentLevel];t.items[t.index]=e+1,this.propagateValues()}propagateValues(){let e=this.currentLevel,t=this.levels[e];for(var a=t.items[t.index];0<=--e;)(t=this.levels[e]).items[t.index]=a}nextLevel(){let e=this.currentLevel,t=this.levels[e];var a=t.items[t.index];return t.items[t.index]=255,!(--e<0||(this.currentLevel=e,(t=this.levels[e]).items[t.index]=a,0))}}class W{static UNIFORM_CONTEXT=17;static RUNLENGTH_CONTEXT=18;static LLAndLHContextsLabel=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]);static HLContextLabel=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]);static HHContextLabel=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);constructor(e,t,a,r,i){this.width=e,this.height=t,a="HH"===a?W.HHContextLabel:"HL"===a?W.HLContextLabel:W.LLAndLHContextsLabel,this.contextLabelTable=a;var n=e*t,s=(this.neighborsSignificance=new Uint8Array(n),this.coefficentsSign=new Uint8Array(n),a=new(14<i?Uint32Array:6<i?Uint16Array:Uint8Array)(n),this.coefficentsMagnitude=a,this.processingFlags=new Uint8Array(n),new Uint8Array(n));if(0!==r)for(let e=0;e<n;e++)s[e]=r;this.bitsDecoded=s,this.reset()}setDecoder(e){this.decoder=e}reset(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[W.UNIFORM_CONTEXT]=92,this.contexts[W.RUNLENGTH_CONTEXT]=6}setNeighborsSignificance(e,t,a){var r=this.neighborsSignificance,i=this.width,n=this.height,s=0<t,t=t+1<i;let o;0<e&&(o=a-i,s&&(r[o-1]+=16),t&&(r[o+1]+=16),r[o]+=4),e+1<n&&(o=a+i,s&&(r[o-1]+=16),t&&(r[o+1]+=16),r[o]+=4),s&&(r[a-1]+=1),t&&(r[a+1]+=1),r[a]|=128}runSignificancePropagationPass(){const i=this.decoder,n=this.width,s=this.height,o=this.coefficentsMagnitude,l=this.coefficentsSign,c=this.neighborsSignificance,h=this.processingFlags,u=this.contexts,d=this.contextLabelTable,f=this.bitsDecoded;for(let r=0;r<s;r+=4)for(let a=0;a<n;a++){let t=r*n+a;for(let e=0;e<4;e++,t+=n){const n=r+e;if(n>=s)break;if(h[t]&=-2,!o[t]&&c[t]){var g=d[c[t]];if(i.readBit(u,g)){const i=this.decodeSignBit(n,a,t);l[t]=i,o[t]=1,this.setNeighborsSignificance(n,a,t),h[t]|=2}f[t]++,h[t]|=1}}}}decodeSignBit(e,t,a){var r=this.width,i=this.height,n=this.coefficentsMagnitude,s=this.coefficentsSign;let o,l,c,h,u,d;h=0<t&&0!==n[a-1];t=3*(o=t+1<r&&0!==n[a+1]?(c=s[a+1],h?(l=s[a-1],1-c-l):1-c-c):h?1-(l=s[a-1])-l:0);return h=0<e&&0!==n[a-r],o=e+1<i&&0!==n[a+r]?(c=s[a+r],h?(l=s[a-r],1-c-l+t):1-c-c+t):h?1-(l=s[a-r])-l+t:t,d=0<=o?(u=9+o,this.decoder.readBit(this.contexts,u)):(u=9-o,1^this.decoder.readBit(this.contexts,u))}runMagnitudeRefinementPass(){const i=this.decoder,n=this.width,s=this.height,o=this.coefficentsMagnitude,l=this.neighborsSignificance,c=this.contexts,h=this.bitsDecoded,u=this.processingFlags,e=n*s,t=4*n;for(let a,r=0;r<e;r=a){a=Math.min(e,r+t);for(let e=0;e<n;e++)for(let t=r+e;t<a;t+=n)if(o[t]&&0==(1&u[t])){let e=16;0!=(2&u[t])&&(u[t]^=2,e=0==(127&l[t])?15:14);const s=i.readBit(c,e);o[t]=o[t]<<1|s,h[t]++,u[t]|=1}}}runCleanupPass(){const s=this.decoder,o=this.width,e=this.height,l=this.neighborsSignificance,c=this.coefficentsMagnitude,h=this.coefficentsSign,u=this.contexts,d=this.contextLabelTable,f=this.bitsDecoded,g=this.processingFlags,p=o,m=2*o,b=3*o;for(let n=0;n<e;n=y){var y=Math.min(n+4,e),w=n*o,v=n+3<e;for(let i=0;i<o;i++){var x=w+i;let e,t=0,a=x,r=n;if(v&&0===g[x]&&0===g[x+p]&&0===g[x+m]&&0===g[x+b]&&0===l[x]&&0===l[x+p]&&0===l[x+m]&&0===l[x+b]){if(!s.readBit(u,W.RUNLENGTH_CONTEXT)){f[x]++,f[x+p]++,f[x+m]++,f[x+b]++;continue}0!==(t=s.readBit(u,W.UNIFORM_CONTEXT)<<1|s.readBit(u,W.UNIFORM_CONTEXT))&&(r=n+t,a+=t*o),e=this.decodeSignBit(r,i,a),h[a]=e,c[a]=1,this.setNeighborsSignificance(r,i,a),g[a]|=2,a=x;for(let e=n;e<=r;e++,a+=o)f[a]++;t++}for(r=n+t;r<y;r++,a+=o)if(!c[a]&&0==(1&g[a])){const o=d[l[a]];1===s.readBit(u,o)&&(e=this.decodeSignBit(r,i,a),h[a]=e,c[a]=1,this.setNeighborsSignificance(r,i,a),g[a]|=2),f[a]++}}}}checkSegmentationSymbol(){var e=this.decoder,t=this.contexts;if(10!=(e.readBit(t,W.UNIFORM_CONTEXT)<<3|e.readBit(t,W.UNIFORM_CONTEXT)<<2|e.readBit(t,W.UNIFORM_CONTEXT)<<1|e.readBit(t,W.UNIFORM_CONTEXT)))throw new L("Invalid segmentation symbol")}}class i{constructor(){this.constructor===i&&(0,D.unreachable)("Cannot initialize Transform.")}calculate(a,r,i){let n=a[0];for(let e=1,t=a.length;e<t;e++)n=this.iterate(n,a[e],r,i);return n}extend(e,t,a){var r=t-1,i=t+1,n=t+a-2,t=t+a;e[r--]=e[i++],e[t++]=e[n--],e[r--]=e[i++],e[t++]=e[n--],e[r--]=e[i++],e[t++]=e[n--],e[r]=e[i],e[t]=e[n]}filter(e,t,a){(0,D.unreachable)("Abstract method `filter` called")}iterate(e,t,a,r){var i=e.width,n=e.height;let s=e.items;var o=t.width,l=t.height,c=t.items;let h,u,d,f,g,p;for(d=0,h=0;h<n;h++)for(f=2*h*o,u=0;u<i;u++,d++,f+=2)c[f]=s[d];s=e.items=null;var m=new Float32Array(o+8);if(1===o){if(0!=(1&a))for(p=0,d=0;p<l;p++,d+=o)c[d]*=.5}else for(p=0,d=0;p<l;p++,d+=o)m.set(c.subarray(d,d+o),4),this.extend(m,4,o),this.filter(m,4,o),c.set(m.subarray(4,4+o),d);let b=16;var y=[];for(h=0;h<b;h++)y.push(new Float32Array(l+8));let w,v=0;if(e=4+l,1===l){if(0!=(1&r))for(g=0;g<o;g++)c[g]*=.5}else for(g=0;g<o;g++){if(0===v){for(b=Math.min(o-g,b),d=g,f=4;f<e;d+=o,f++)for(w=0;w<b;w++)y[w][f]=c[d+w];v=b}const t=y[--v];if(this.extend(t,4,l),this.filter(t,4,l),0===v)for(d=g-b+1,f=4;f<e;d+=o,f++)for(w=0;w<b;w++)c[d+w]=y[w][f]}return{width:o,height:l,items:c}}}class V extends i{filter(e,t,a){a>>=1;let r,i,n,s;var o=-1.586134342059924,l=-.052980118572961,c=.882911075530934,h=.443506852043971,u=1.230174104914001;for(r=(t|=0)-3,i=4+a;i--;r+=2)e[r]*=.8128930661159609;for(r=t-2,n=h*e[r-1],i=3+a;i--&&(s=h*e[r+1],e[r]=u*e[r]-n-s,i--);r+=2)r+=2,n=h*e[r+1],e[r]=u*e[r]-n-s;for(r=t-1,n=c*e[r-1],i=2+a;i--&&(s=c*e[r+1],e[r]-=n+s,i--);r+=2)r+=2,n=c*e[r+1],e[r]-=n+s;for(r=t,n=l*e[r-1],i=1+a;i--&&(s=l*e[r+1],e[r]-=n+s,i--);r+=2)r+=2,n=l*e[r+1],e[r]-=n+s;if(0!=a)for(r=t+1,n=o*e[r-1],i=a;i--&&(s=o*e[r+1],e[r]-=n+s,i--);r+=2)r+=2,n=o*e[r+1],e[r]-=n+s}}class K extends i{filter(e,t,a){a>>=1;let r,i;for(r=t|=0,i=1+a;i--;r+=2)e[r]-=e[r-1]+e[r+1]+2>>2;for(r=t+1,i=a;i--;r+=2)e[r]+=e[r-1]+e[r+1]>>1}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LZWStream=void 0;class r extends a(18).DecodeStream{constructor(e,t,a){super(t),this.str=e,this.dict=e.dict,this.cachedData=0,this.bitsCached=0;var r={earlyChange:a,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0};for(let e=0;e<256;++e)r.dictionaryValues[e]=e,r.dictionaryLengths[e]=1;this.lzwState=r}readBits(e){let t=this.bitsCached,a=this.cachedData;for(;t<e;){const e=this.str.getByte();if(-1===e)return this.eof=!0,null;a=a<<8|e,t+=8}return this.bitsCached=t-=e,this.cachedData=a,this.lastCode=null,a>>>t&(1<<e)-1}readBlock(){let o,l,c,h=1024;const u=this.lzwState;if(u){var d=u.earlyChange;let e=u.nextCode;var f=u.dictionaryValues,g=u.dictionaryLengths,p=u.dictionaryPrevCodes;let t=u.codeLength,a=u.prevCode;var m=u.currentSequence;let r=u.currentSequenceLength,i=0,n=this.bufferLength,s=this.ensureBuffer(this.bufferLength+h);for(o=0;o<512;o++){const o=this.readBits(t),u=0<r;if(o<256)m[0]=o,r=1;else{if(!(258<=o)){if(256===o){t=9,e=258,r=0;continue}this.eof=!0,delete this.lzwState;break}if(o<e)for(r=g[o],l=r-1,c=o;0<=l;l--)m[l]=f[c],c=p[c];else m[r++]=m[0]}if(u&&(p[e]=a,g[e]=g[a]+1,f[e]=m[0],e++,t=e+d&e+d-1?t:0|Math.min(Math.log(e+d)/.6931471805599453+1,12)),a=o,i+=r,h<i){for(;(h+=512)<i;);s=this.ensureBuffer(this.bufferLength+h)}for(l=0;l<r;l++)s[n++]=m[l]}u.nextCode=e,u.codeLength=t,u.prevCode=a,u.currentSequenceLength=r,this.bufferLength=n}}}t.LZWStream=r},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PredictorStream=void 0;var r=a(18),i=a(4),g=a(2);class n extends r.DecodeStream{constructor(e,t,a){if(super(t),!(a instanceof i.Dict))return e;t=this.predictor=a.get("Predictor")||1;if(t<=1)return e;if(2!==t&&(t<10||15<t))throw new g.FormatError("Unsupported predictor: "+t);this.readBlock=2===t?this.readBlockTiff:this.readBlockPng,this.str=e,this.dict=e.dict;t=this.colors=a.get("Colors")||1,e=this.bits=a.get("BPC","BitsPerComponent")||8,a=this.columns=a.get("Columns")||1;return this.pixBytes=t*e+7>>3,this.rowBytes=a*t*e+7>>3,this}readBlockTiff(){const l=this.rowBytes,c=this.bufferLength,h=this.ensureBuffer(c+l),u=this.bits,d=this.colors,f=this.str.getBytes(l);if(this.eof=!f.length,!this.eof){let e,i=0,n=0,s=0,o=0,t=c;if(1===u&&1===d)for(e=0;e<l;++e){var a=f[e]^i,a=(a=(a^=a>>1)^a>>2)^a>>4;i=(1&a)<<7,h[t++]=a}else if(8===u){for(e=0;e<d;++e)h[t++]=f[e];for(;e<l;++e)h[t]=h[t-d]+f[e],t++}else if(16===u){const c=2*d;for(e=0;e<c;++e)h[t++]=f[e];for(;e<l;e+=2){const l=((255&f[e])<<8)+(255&f[e+1])+((255&h[t-c])<<8)+(255&h[t-c+1]);h[t++]=l>>8&255,h[t++]=255&l}}else{const l=new Uint8Array(d+1),t=(1<<u)-1;let a=0,r=c;var g=this.columns;for(e=0;e<g;++e)for(let e=0;e<d;++e)s<u&&(i=i<<8|255&f[a++],s+=8),l[e]=l[e]+(i>>s-u)&t,s-=u,n=n<<u|l[e],8<=(o+=u)&&(h[r++]=n>>o-8&255,o-=8);0<o&&(h[r++]=(n<<8-o)+(i&(1<<8-o)-1))}this.bufferLength+=l}}readBlockPng(){const l=this.rowBytes,c=this.pixBytes,h=this.str.getByte(),u=this.str.getBytes(l);if(this.eof=!u.length,!this.eof){const d=this.bufferLength,f=this.ensureBuffer(d+l);let r=f.subarray(d-l,d);0===r.length&&(r=new Uint8Array(l));let i,n,s,o=d;switch(h){case 0:for(i=0;i<l;++i)f[o++]=u[i];break;case 1:for(i=0;i<c;++i)f[o++]=u[i];for(;i<l;++i)f[o]=f[o-c]+u[i]&255,o++;break;case 2:for(i=0;i<l;++i)f[o++]=r[i]+u[i]&255;break;case 3:for(i=0;i<c;++i)f[o++]=(r[i]>>1)+u[i];for(;i<l;++i)f[o]=(r[i]+f[o-c]>>1)+u[i]&255,o++;break;case 4:for(i=0;i<c;++i)n=r[i],s=u[i],f[o++]=n+s;for(;i<l;++i){n=r[i];const l=r[i-c],h=f[o-c],d=h+n-l;let e=d-h,t=(e<0&&(e=-e),d-n),a=(t<0&&(t=-t),d-l);a<0&&(a=-a),s=u[i],f[o++]=e<=t&&e<=a?h+s:t<=a?n+s:l+s}break;default:throw new g.FormatError("Unsupported predictor: "+h)}this.bufferLength+=l}}}t.PredictorStream=n},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RunLengthStream=void 0;class r extends a(18).DecodeStream{constructor(e,t){super(t),this.str=e,this.dict=e.dict}readBlock(){const e=this.str.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{let t,a=this.bufferLength,r=e[0];if(r<128){if((t=this.ensureBuffer(a+r+1))[a++]=e[1],0<r){const e=this.str.getBytes(r);t.set(e,a),a+=r}}else{r=257-r;var i=e[1];t=this.ensureBuffer(a+r+1);for(let e=0;e<r;e++)t[a++]=i}this.bufferLength=a}}}t.RunLengthStream=r},(r,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Font=e.ErrorFont=void 0;var $=t(2),U=t(35),X=t(38),v=t(40),H=t(39),q=t(37),l=t(41),z=t(42),G=t(43),a=t(44),c=t(45),W=t(46),V=t(14),K=t(47),o=t(3),Y=t(8),f=t(48);const p=[[57344,63743],[1048576,1114109]],g=1e3,i=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","systemFontInfo","type","vertical"],n=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function Z(e){if(e.fontMatrix&&e.fontMatrix[0]!==$.FONT_IDENTITY_MATRIX[0]){var t=.001/e.fontMatrix[0],a=e.widths;for(const e in a)a[e]*=t;e.defaultWidth*=t}}function h(e){if(e.fallbackToUnicode&&!(e.toUnicode instanceof z.IdentityToUnicodeMap)){var t=[];for(const a in e.fallbackToUnicode)e.toUnicode.has(a)||(t[a]=e.fallbackToUnicode[a]);0<t.length&&e.toUnicode.amend(t)}}class m{constructor(e,t,a,r,i,n,s,o,l){this.originalCharCode=e,this.fontChar=t,this.unicode=a,this.accent=r,this.width=i,this.vmetric=n,this.operatorListId=s,this.isSpace=o,this.isInFont=l}get category(){return(0,$.shadow)(this,"category",(0,v.getCharUnicodeCategory)(this.unicode),!0)}}function J(e,t,a){e[t+1]=a,e[t]=a>>>8}function Q(e,t){e=(e<<8)+t;return 32768&e?e-65536:e}function k(e){return String.fromCharCode(e>>8&255,255&e)}function x(e){return 32767<e?e=32767:e<-32768&&(e=-32768),String.fromCharCode(e>>8&255,255&e)}function ee(e){e=e.peekBytes(4);return"ttcf"===(0,$.bytesToString)(e)}function u(e,t){for(const a in t)e[+a]=t[a]}function d(a,r,e){var i=[];let n;for(let e=0,t=a.length;e<t;e++)-1!==(n=(0,v.getUnicodeForGlyph)(a[e],r))&&(i[e]=n);for(const a in e)n=(0,v.getUnicodeForGlyph)(e[a],r),-1!==n&&(i[+a]=n);return i}function te(e){return 3===e.platform&&1===e.encoding&&1033===e.language}function ae(e,t,a=!1){switch(t.length){case 1:return t.charCodeAt(0);case 2:return t.charCodeAt(0)<<8|t.charCodeAt(1)}e=`Unsupported CID string (charCode ${e}): "${t}".`;if(a)throw new $.FormatError(e);return(0,$.warn)(e),t}function re(e,a,r,i){var n,s,o=Object.create(null),l=new Map,c=[],h=new Set;let u=0,d=p[u][0],f=p[u][1];for(n in e){let t=e[n|=0];if(a(t)){if(d>f){if(++u>=p.length){(0,$.warn)("Ran out of space in font private use area.");break}d=p[u][0],f=p[u][1]}var g=d++;0===t&&(t=r);let e=i.get(n);!(e="string"==typeof e?e.codePointAt(0):e)||(s=e,p[0][0]<=s&&s<=p[0][1])||p[1][0]<=s&&s<=p[1][1]||h.has(t)||(l.set(e,t),h.add(t)),o[g]=t,c[n]=g}}return{toFontChar:c,charCodeToGlyphId:o,toUnicodeExtraMap:l,nextAvailableFontCharCode:d}}function ie(t,e,a){var r=function(e,a,r){var i=[];for(const a in e)e[a]>=r||i.push({fontCharCode:0|a,glyphId:e[a]});if(a)for(const[e,n]of a)n>=r||i.push({fontCharCode:e,glyphId:n});0===i.length&&i.push({fontCharCode:0,glyphId:0}),i.sort(function(e,t){return e.fontCharCode-t.fontCharCode});const n=[],s=i.length;for(let t=0;t<s;){const a=i[t].fontCharCode,r=[i[t].glyphId];++t;let e=a;for(;t<s&&e+1===i[t].fontCharCode&&(r.push(i[t].glyphId),++e,++t,65535!==e););n.push([a,e,r])}return n}(t,e,a),t=65535<r.at(-1)[1]?2:1;let i,n,s,o,l="\0\0"+k(t)+"\0\0"+(0,$.string32)(4+8*t);for(i=r.length-1;0<=i&&!(r[i][0]<=65535);--i);var e=i+1,a=(r[i][0]<65535&&65535===r[i][1]&&(r[i][1]=65534),r[i][1]<65535?1:0),c=e+a,h=K.OpenTypeFileBuilder.getSearchParams(c,2);let u,d,f,g,p="",m="",b="",y="",w="",v=0;for(i=0,n=e;i<n;i++){u=r[i],d=u[0],f=u[1],p+=k(d),m+=k(f),g=u[2];let e=!0;for(s=1,o=g.length;s<o;++s)if(g[s]!==g[s-1]+1){e=!1;break}if(e)b+=k(g[0]-d&65535),y+=k(0);else{const t=2*(c-i)+2*v;for(v+=f-d+1,b+=k(0),y+=k(t),s=0,o=g.length;s<o;++s)w+=k(g[s])}}0<a&&(m+="ÿÿ",p+="ÿÿ",b+="\0",y+="\0\0");e="\0\0"+k(2*c)+k(h.range)+k(h.entry)+k(h.rangeShift)+m+"\0\0"+p+b+y+w;let x="",S="";if(1<t){for(l+="\0\0\n"+(0,$.string32)(4+8*t+4+e.length),x="",i=0,n=r.length;i<n;i++){u=r[i],d=u[0];let e=(g=u[2])[0];for(s=1,o=g.length;s<o;++s)g[s]!==g[s-1]+1&&(f=u[0]+s-1,x+=(0,$.string32)(d)+(0,$.string32)(f)+(0,$.string32)(e),d=f+1,e=g[s]);x+=(0,$.string32)(d)+(0,$.string32)(u[1])+(0,$.string32)(e)}S="\0\f\0\0"+(0,$.string32)(x.length+16)+"\0\0\0\0"+(0,$.string32)(x.length/12)}return l+"\0"+k(e.length+4)+e+S+x}function ne(e,t,a){a||={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};let r=0,i=0,n=0,s=0,o=null,l=0,c=-1;if(t){for(var h in t)if(h|=0,(o>h||!o)&&(o=h),l<h&&(l=h),c=(0,v.getUnicodeRangeFor)(h,c),c<32)r|=1<<c;else if(c<64)i|=1<<c-32;else if(c<96)n|=1<<c-64;else{if(!(c<123))throw new $.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");s|=1<<c-96}65535<l&&(l=65535)}else o=0,l=255;var t=e.bbox||[0,0,0,0],u=a.unitsPerEm||1/(e.fontMatrix||$.FONT_IDENTITY_MATRIX)[0],u=e.ascentScaled?1:u/g,d=a.ascent||Math.round(u*(e.ascent||t[3]));let f=a.descent||Math.round(u*(e.descent||t[1]));0<f&&0<e.descent&&t[1]<0&&(f=-f);u=a.yMax||d,t=-a.yMin||-f;return"\0$ô\0\0\0»\0\0\0»\0\0ß\x001\0\0\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,$.string32)(r)+(0,$.string32)(i)+(0,$.string32)(n)+(0,$.string32)(s)+"*21*"+k(e.italicAngle?1:0)+k(o||e.firstChar)+k(l||e.lastChar)+k(d)+k(f)+"\0d"+k(u)+k(t)+"\0\0\0\0\0\0\0\0"+k(e.xHeight)+k(e.capHeight)+k(0)+k(o||e.firstChar)+"\0"}function se(e){var t=Math.floor(65536*e.italicAngle);return"\0\0\0"+(0,$.string32)(t)+"\0\0\0\0"+(0,$.string32)(e.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function oe(e,t){var a=[(t=t||[[],[]])[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||e.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],r=[];let i,n,s,o,l;for(i=0,n=a.length;i<n;i++){l=t[1][i]||a[i];const e=[];for(s=0,o=l.length;s<o;s++)e.push(k(l.charCodeAt(s)));r.push(e.join(""))}var c=[a,r],h=["\0","\0"],u=["\0\0","\0"],d=["\0\0","\t"],e=a.length*h.length;let f="\0\0"+k(e)+k(12*e+6),g=0;for(i=0,n=h.length;i<n;i++){const e=c[i];for(s=0,o=e.length;s<o;s++)l=e[s],f+=h[i]+u[i]+d[i]+k(s)+k(l.length)+k(g),g+=l.length}return f+=a.join("")+r.join("")}e.Font=class{constructor(t,a,r){this.name=t,this.psName=null,this.mimetype=null,this.disableFontFace=!1,this.loadedName=r.loadedName,this.isType3Font=r.isType3Font,this.missingFile=!1,this.cssFontInfo=r.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);let i=!!(r.flags&X.FontFlags.Serif);if(!i&&!r.isSimulatedFlags){const a=t.replaceAll(/[,_]/g,"-").split("-")[0],r=(0,l.getSerifFonts)();for(const t of a.split("+"))if(r[t]){i=!0;break}}this.isSerifFont=i,this.isSymbolicFont=!!(r.flags&X.FontFlags.Symbolic),this.isMonospace=!!(r.flags&X.FontFlags.FixedPitch);let{type:n,subtype:s}=r;this.type=n,this.subtype=s,this.systemFontInfo=r.systemFontInfo;var e=t.match(/^InvalidPDFjsFont_(.*)_\d+$/);if(this.isInvalidPDFjsFont=!!e,this.isInvalidPDFjsFont?this.fallbackName=e[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif",this.systemFontInfo?.guessFallback&&(this.systemFontInfo.guessFallback=!1,this.systemFontInfo.css+=","+this.fallbackName),this.differences=r.differences,this.widths=r.widths,this.defaultWidth=r.defaultWidth,this.composite=r.composite,this.cMap=r.cMap,this.capHeight=r.capHeight/g,this.ascent=r.ascent/g,this.descent=r.descent/g,this.lineHeight=this.ascent-this.descent,this.fontMatrix=r.fontMatrix,this.bbox=r.bbox,this.defaultEncoding=r.defaultEncoding,this.toUnicode=r.toUnicode,this.toFontChar=[],"Type3"===r.type)for(let e=0;e<256;e++)this.toFontChar[e]=this.differences[e]||r.defaultEncoding[e];else if(this.cidEncoding=r.cidEncoding||"",this.vertical=!!r.vertical,this.vertical&&(this.vmetrics=r.vmetrics,this.defaultVMetrics=r.defaultVMetrics),!a||a.isEmpty)a&&(0,$.warn)('Font file is empty in "'+t+'" ('+this.loadedName+")"),this.fallbackToSystemFont(r);else{let e;[n,s]=function(e,{type:t,subtype:a,composite:r}){let i,n;return s=e.peekBytes(4),65536===(0,o.readUint32)(s,0)||"true"===(0,$.bytesToString)(s)||ee(e)?i=r?"CIDFontType2":"TrueType":(s=e.peekBytes(4),"OTTO"===(0,$.bytesToString)(s)?i=r?"CIDFontType2":"OpenType":37===(s=e.peekBytes(2))[0]&&33===s[1]||128===s[0]&&1===s[1]?i=r?"CIDFontType0":"MMType1"===t?"MMType1":"Type1":(s=e.peekBytes(4),n=1<=s[0]&&1<=s[3]&&s[3]<=4?r?(i="CIDFontType0","CIDFontType0C"):(i="MMType1"===t?"MMType1":"Type1","Type1C"):((0,$.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),i=t,a))),[i,n];var s}(a,r),n===this.type&&s===this.subtype||(0,$.info)(`Inconsistent font file Type/SubType, expected: ${this.type}/${this.subtype} but found: ${n}/${s}.`);try{switch(n){case"MMType1":(0,$.info)("MMType1 font ("+t+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";const i="Type1C"===s||"CIDFontType0C"===s?new G.CFFFont(a,r):new f.Type1Font(t,a,r);Z(r),e=this.convert(t,i,r);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",e=this.checkAndRepair(t,a,r),this.isOpenType&&(Z(r),n="OpenType");break;default:throw new $.FormatError(`Font ${n} is not supported`)}}catch(t){return(0,$.warn)(t),void this.fallbackToSystemFont(r)}h(r),this.data=e,this.type=n,this.subtype=s,this.fontMatrix=r.fontMatrix,this.widths=r.widths,this.defaultWidth=r.defaultWidth,this.toUnicode=r.toUnicode,this.seacMap=r.seacMap}}get renderer(){var e=a.FontRendererFactory.create(this,X.SEAC_ANALYSIS_ENABLED);return(0,$.shadow)(this,"renderer",e)}exportData(e=!1){var e=e?[...i,...n]:i,t=Object.create(null);let a,r;for(a of e)r=this[a],void 0!==r&&(t[a]=r);return t}fallbackToSystemFont(r){this.missingFile=!0;const{name:e,type:i}=this;let n=(0,X.normalizeFontName)(e);var t=(0,l.getStdFontMap)(),a=(0,l.getNonStdFontMap)(),s=!!t[n],o=!(!a[n]||!t[a[n]]),t=(n=t[n]||a[n]||n,(0,c.getFontBasicMetrics)()[n]),a=(t&&(isNaN(this.ascent)&&(this.ascent=t.ascent/g),isNaN(this.descent)&&(this.descent=t.descent/g),isNaN(this.capHeight))&&(this.capHeight=t.capHeight/g),this.bold=/bold/gi.test(n),this.italic=/oblique|italic/gi.test(n),this.black=/Black/g.test(e),/Narrow/g.test(e));if(this.remeasure=(!s||a)&&0<Object.keys(this.widths).length,(s||o)&&"CIDFontType2"===i&&this.cidEncoding.startsWith("Identity-")){const i=r.cidToGidMap,n=[];if(u(n,(0,l.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(e)?u(n,(0,l.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(e)&&u(n,(0,l.getSupplementalGlyphMapForCalibri)()),i){for(const r in n){const e=n[r];void 0!==i[e]&&(n[+r]=i[e])}i.length!==this.toUnicode.length&&r.hasIncludedToUnicodeMap&&this.toUnicode instanceof z.IdentityToUnicodeMap&&this.toUnicode.forEach(function(e,t){var a=n[e];void 0===i[a]&&(n[+e]=t)})}this.toUnicode instanceof z.IdentityToUnicodeMap||this.toUnicode.forEach(function(e,t){n[+e]=t}),this.toFontChar=n,this.toUnicode=new z.ToUnicodeMap(n)}else if(/Symbol/i.test(n))this.toFontChar=d(q.SymbolSetEncoding,(0,H.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(n))this.toFontChar=d(q.ZapfDingbatsEncoding,(0,H.getDingbatsGlyphsUnicode)(),this.differences);else if(s){const r=d(this.defaultEncoding,(0,H.getGlyphsUnicode)(),this.differences);"CIDFontType2"!==i||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof z.IdentityToUnicodeMap||this.toUnicode.forEach(function(e,t){r[+e]=t}),this.toFontChar=r}else{const r=(0,H.getGlyphsUnicode)(),i=[];this.toUnicode.forEach((e,t)=>{if(!this.composite){const i=this.differences[e]||this.defaultEncoding[e],a=(0,v.getUnicodeForGlyph)(i,r);-1!==a&&(t=a)}i[+e]=t}),this.composite&&this.toUnicode instanceof z.IdentityToUnicodeMap&&/Tahoma|Verdana/i.test(e)&&u(i,(0,l.getGlyphMapForStandardFonts)()),this.toFontChar=i}h(r),this.loadedName=n.split("-")[0]}checkAndRepair(r,u,i){const d=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function f(t,a){var r,i,n,s,o,l,c,h=Object.create(null);h["OS/2"]=null,h.cmap=null,h.head=null,h.hhea=null,h.hmtx=null,h.maxp=null,h.name=null,h.post=null;for(let e=0;e<a;e++){c=l=o=s=n=i=void 0,i=(r=t).getString(4),n=r.getInt32()>>>0,s=r.getInt32()>>>0,o=r.getInt32()>>>0,l=r.pos,r.pos=r.start||0,r.skip(s),c=r.getBytes(o),r.pos=l,"head"===i&&(c[8]=c[9]=c[10]=c[11]=0,c[17]|=32);const a={tag:i,checksum:n,length:o,offset:s,data:c};d.includes(a.tag)&&0!==a.length&&(h[a.tag]=a)}return h}function t(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function a(r){var a,i=(u.start||0)+r.offset;u.pos=i;const n=[[],[]],s=[],o=r.length,l=i+o;if(!(0!==u.getUint16()||o<6)){const c=u.getUint16(),h=u.getUint16();let e,t;for(e=0;e<c&&u.pos+12<=l;e++){const r={platform:u.getUint16(),encoding:u.getUint16(),language:u.getUint16(),name:u.getUint16(),length:u.getUint16(),offset:u.getUint16()};(1===(a=r).platform&&0===a.encoding&&0===a.language||te(r))&&s.push(r)}for(e=0,t=s.length;e<t;e++){const r=s[e];if(!(r.length<=0)){const o=i+h+r.offset;if(!(o+r.length>l)){u.pos=o;const c=r.name;if(r.encoding){let a="";for(let e=0,t=r.length;e<t;e+=2)a+=String.fromCharCode(u.getUint16());n[1][c]=a}else n[0][c]=u.getString(r.length)}}}}return[n,s]}const R=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function n(i,e){let t,a,r,n,s,o=i.data,l=0,c=0,h=0;var u=[],d=[],f=[];let g=e.tooComplexToFollowFunctions,p=!1,m=0,b=0;for(var y=o.length;l<y;){const i=o[l++];if(64===i)if(a=o[l++],p||b)l+=a;else for(t=0;t<a;t++)u.push(o[l++]);else if(65===i)if(a=o[l++],p||b)l+=2*a;else for(t=0;t<a;t++)r=o[l++],u.push(r<<8|o[l++]);else if(176==(248&i))if(a=i-176+1,p||b)l+=a;else for(t=0;t<a;t++)u.push(o[l++]);else if(184==(248&i))if(a=i-184+1,p||b)l+=2*a;else for(t=0;t<a;t++)r=o[l++],u.push(r<<8|o[l++]);else if(43!==i||g)if(44!==i||g){if(45===i)if(p)p=!1,c=l;else{if(!(s=d.pop()))return(0,$.warn)("TT: ENDF bad stack"),e.hintsValid=!1;n=f.pop(),o=s.data,l=s.i,e.functionsStackDeltas[n]=u.length-s.stackTop}else if(137===i)(p||b)&&((0,$.warn)("TT: nested IDEFs not allowed"),g=!0),p=!0,h=l;else if(88===i)++m;else if(27===i)b=m;else if(89===i)b===m&&(b=0),--m;else if(28===i&&!p&&!b){const i=u.at(-1);0<i&&(l+=i-1)}}else(p||b)&&((0,$.warn)("TT: nested FDEFs not allowed"),g=!0),p=!0,h=l,n=u.pop(),e.functionsDefined[n]={data:o,i:l};else if(!p&&!b)if(n=u.at(-1),isNaN(n))(0,$.info)("TT: CALL empty stack (or invalid entry).");else if(e.functionsUsed[n]=!0,n in e.functionsStackDeltas){const i=u.length+e.functionsStackDeltas[n];if(i<0)return(0,$.warn)("TT: CALL invalid functions stack delta."),e.hintsValid=!1;u.length=i}else if(n in e.functionsDefined&&!f.includes(n)){if(d.push({data:o,i:l,stackTop:u.length-1}),f.push(n),!(s=e.functionsDefined[n]))return(0,$.warn)("TT: CALL non-existent function"),e.hintsValid=!1;o=s.data,l=s.i}if(!p&&!b){let e=0;for(i<=142?e=R[i]:192<=i&&i<=223?e=-1:224<=i&&(e=-2),113<=i&&i<=117&&(a=u.pop(),isNaN(a)||(e=2*-a));e<0&&0<u.length;)u.pop(),e++;for(;0<e;)u.push(NaN),e--}}e.tooComplexToFollowFunctions=g;var w=[o],v=(l>o.length&&w.push(new Uint8Array(l-o.length)),h>c&&((0,$.warn)("TT: complementing a missing function tail"),w.push(new Uint8Array([34,45]))),w);if(1<v.length){let e,t,a=0;for(e=0,t=v.length;e<t;e++)a+=v[e].length;a=a+3&-4;var x=new Uint8Array(a);let r=0;for(e=0,t=v.length;e<t;e++)x.set(v[e],r),r+=v[e].length;i.data=x,i.length=a}}let e,s,o,l;if(ee(u=new Y.Stream(new Uint8Array(u.getBytes())))){const r=function(r,i){const{numFonts:n,offsetTable:s}=function(t){var e=t.getString(4),a=((0,$.assert)("ttcf"===e,"Must be a TrueType Collection font."),t.getUint16()),r=t.getUint16(),i=t.getInt32()>>>0,n=[];for(let e=0;e<i;e++)n.push(t.getInt32()>>>0);var s={ttcTag:e,majorVersion:a,minorVersion:r,numFonts:i,offsetTable:n};switch(a){case 1:return s;case 2:return s.dsigTag=t.getInt32()>>>0,s.dsigLength=t.getInt32()>>>0,s.dsigOffset=t.getInt32()>>>0,s}throw new $.FormatError(`Invalid TrueType Collection majorVersion: ${a}.`)}(r),o=i.split("+");let l;for(let e=0;e<n;e++){r.pos=(r.start||0)+s[e];const n=t(r),h=f(r,n.numTables);if(!h.name)throw new $.FormatError('TrueType Collection font must contain a "name" table.');var[c]=a(h.name);for(let a=0,e=c.length;a<e;a++)for(let e=0,t=c[a].length;e<t;e++){const s=c[a][e]?.replaceAll(/\s/g,"");if(s){if(s===i)return{header:n,tables:h};if(!(o.length<2))for(const r of o)s===r&&(l={name:r,header:n,tables:h})}}}if(l)return(0,$.warn)(`TrueType Collection does not contain "${i}" font, falling back to "${l.name}" font instead.`),{header:l.header,tables:l.tables};throw new $.FormatError(`TrueType Collection does not contain "${i}" font.`)}(u,this.name);e=r.header,s=r.tables}else e=t(u),s=f(u,e.numTables);var c=!s["CFF "];if(c){if(!s.loca)throw new $.FormatError('Required "loca" table is not found');s.glyf||((0,$.warn)('Required "glyf" table is not found -- trying to recover.'),s.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{const u=i.composite&&(0<i.cidToGidMap?.length||!(i.cMap instanceof V.IdentityCMap));if("OTTO"===e.version&&!u||!s.head||!s.hhea||!s.maxp||!s.post)return l=new Y.Stream(s["CFF "].data),o=new G.CFFFont(l,i),Z(i),this.convert(r,o,i);delete s.glyf,delete s.loca,delete s.fpgm,delete s.prep,delete s["cvt "],this.isOpenType=!0}if(!s.maxp)throw new $.FormatError('Required "maxp" table is not found');u.pos=(u.start||0)+s.maxp.offset;const h=u.getInt32(),g=u.getUint16();if(i.scaleFactors?.length===g&&c){const r=i["scaleFactors"],u=(s.head.data[50]<<8)+s.head.data[51],$=new W.GlyfTable({glyfTable:s.glyf.data,isGlyphLocationsLong:u,locaTable:s.loca.data,numGlyphs:g}),{glyf:U,loca:X,isLocationLong:d}=($.scale(r),$.write()),H=(s.glyf.data=U,s.loca.data=X,d!==!!u&&(s.head.data[50]=0,s.head.data[51]=d?1:0),s.hmtx.data);for(let e=0;e<g;e++){const i=4*e,$=Math.round(r[e]*((H[i]<<8)+H[1+i]));H[i]=$>>8&255,H[1+i]=255&$,J(H,2+i,Math.round(r[e]*Q(H[2+i],H[3+i])))}}let p=g+1,m=!0,b=(65535<p&&(m=!1,p=g,(0,$.warn)("Not enough space in glyfs to duplicate first glyph.")),0),y=0;65536<=h&&22<=s.maxp.length&&(u.pos+=8,2<u.getUint16()&&(s.maxp.data[14]=0,s.maxp.data[15]=2),u.pos+=4,b=u.getUint16(),u.pos+=4,y=u.getUint16()),s.maxp.data[4]=p>>8,s.maxp.data[5]=255&p;var w=function(e,t,a,r){var i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(e&&n(e,i),t&&n(t,i),e&&function(a,r){if(!a.tooComplexToFollowFunctions){if(a.functionsDefined.length>r)return(0,$.warn)("TT: more functions defined than expected"),a.hintsValid=!1;for(let e=0,t=a.functionsUsed.length;e<t;e++){if(e>r)return(0,$.warn)("TT: invalid function id: "+e),a.hintsValid=!1;if(a.functionsUsed[e]&&!a.functionsDefined[e])return(0,$.warn)("TT: undefined function: "+e),a.hintsValid=!1}}}(i,r),a&&1&a.length){const e=new Uint8Array(a.length+1);e.set(a.data),a.data=e}return i.hintsValid}(s.fpgm,s.prep,s["cvt "],b);if(w||(delete s.fpgm,delete s.prep,delete s["cvt "]),function(e,t,a,r,i,n){if(!t)return a&&(a.data=null);e.pos=(e.start||0)+t.offset,e.pos+=4,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2;var s=e.getUint16();e.pos+=8,e.pos+=2;let o=e.getUint16();0===s||2&(r.data[44]<<8)+r.data[45]||(t.data[22]=0,t.data[23]=0),o>i&&((0,$.info)(`The numOfMetrics (${o}) should not be greater than the numGlyphs (${i}).`),o=i,t.data[34]=(65280&o)>>8,t.data[35]=255&o);s=i-o-(a.length-4*o>>1);if(0<s){const e=new Uint8Array(a.length+2*s);e.set(a.data),n&&(e[a.length]=a.data[2],e[a.length+1]=a.data[3]),a.data=e}}(u,s.hhea,s.hmtx,s.head,p,m),!s.head)throw new $.FormatError('Required "head" table is not found');var v=s.head,x=g,S=c?s.loca.length:0,k=v.data,v=(k[0]<<24)+(k[1]<<16)+(k[2]<<8)+k[3],A=(v>>16!=1&&((0,$.info)("Attempting to fix invalid version in head table: "+v),k[0]=0,k[1]=1,k[2]=0,k[3]=0),(k[50]<<8)+k[51]);if(A<0||1<A){(0,$.info)("Attempting to fix invalid indexToLocFormat in head table: "+A);const v=x+1;if(S===v<<1)k[50]=0,k[51]=0;else{if(S!==v<<2)throw new $.FormatError("Could not fix indexToLocFormat: "+A);k[50]=0,k[51]=1}}let C=Object.create(null);if(c){const r=(s.head.data[50]<<8)+s.head.data[51],u=function(e,t,a,r,i,n,s){let o,l,c;c=r?(o=4,l=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},function(e,t,a){e[t]=a>>>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+3]=255&a}):(o=2,l=function(e,t){return e[t]<<9|e[t+1]<<1},function(e,t,a){e[t]=a>>9&255,e[t+1]=a>>1&255});var h=n?a+1:a,r=o*(1+h),u=new Uint8Array(r),d=(u.set(e.data.subarray(0,r)),e.data=u,t.data),f=d.length,g=new Uint8Array(f);let p,m;var b=[];for(p=0,m=0;p<a+1;p++,m+=o){let e=l(u,m);e>f&&(e=f),b.push({index:p,offset:e,endOffset:0})}for(b.sort((e,t)=>e.offset-t.offset),p=0;p<a;p++)b[p].endOffset=b[p+1].offset;for(b.sort((e,t)=>e.index-t.index),p=0;p<a;p++){const{offset:e,endOffset:t}=b[p];if(0!==e||0!==t)break;const a=b[p+1].offset;if(0!==a){b[p].endOffset=a;break}}var y=Object.create(null);let w=0;for(c(u,0,w),p=0,m=o;p<a;p++,m+=o){const e=function(n,e,t,s,o,l){var c={length:0,sizeOfInstructions:0};if(!(e<0||e>=n.length||t>n.length||t-e<=12)){var h=n.subarray(e,t),n=Q(h[2],h[3]),e=Q(h[4],h[5]),t=Q(h[6],h[7]),u=Q(h[8],h[9]),d=(t<n&&(J(h,2,t),J(h,6,n)),u<e&&(J(h,4,u),J(h,8,e)),Q(h[0],h[1]));if(d<0)d<-1||(s.set(h,o),c.length=h.length);else{let a,r=10,e=0;for(a=0;a<d;a++)e=1+(h[r]<<8|h[r+1]),r+=2;t=r,n=h[r]<<8|h[r+1],u=(c.sizeOfInstructions=n,r+=2+n);let i=0;for(a=0;a<e;a++){const n=h[r++];192&n&&(h[r-1]=63&n);let e=2,t=(2&n?e=1:16&n&&(e=0),2);4&n?t=1:32&n&&(t=0);const s=e+t;if(i+=s,8&n){const n=h[r++];0===n&&(h[r-1]^=8),a+=n,i+=n*s}}if(0!==i){let e=r+i;e>h.length||(!l&&0<n?(s.set(h.subarray(0,t),o),s.set([0,0],o+t),s.set(h.subarray(u,e),o+t+2),e-=n,3<h.length-e&&(e=e+3&-4),c.length=e):3<h.length-e?(e=e+3&-4,s.set(h.subarray(0,e),o),c.length=e):(s.set(h,o),c.length=h.length))}}}return c}(d,b[p].offset,b[p].endOffset,g,w,i),t=e.length;0===t&&(y[p]=!0),e.sizeOfInstructions>s&&(s=e.sizeOfInstructions),w+=t,c(u,m,w)}if(0===w){const e=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(p=0,m=o;p<h;p++,m+=o)c(u,m,e.length);t.data=e}else if(n){const a=l(u,o);g.length>a+w?t.data=g.subarray(0,a+w):(t.data=new Uint8Array(a+w),t.data.set(g.subarray(0,w))),t.data.set(g.subarray(0,a),w),c(e.data,u.length-o,w+a)}else t.data=g.subarray(0,w);return{missingGlyphs:y,maxSizeOfInstructions:s}}(s.loca,s.glyf,g,r,w,m,y);C=u.missingGlyphs,65536<=h&&22<=s.maxp.length&&(s.maxp.data[26]=u.maxSizeOfInstructions>>8,s.maxp.data[27]=255&u.maxSizeOfInstructions)}if(!s.hhea)throw new $.FormatError('Required "hhea" table is not found');0===s.hhea.data[10]&&0===s.hhea.data[11]&&(s.hhea.data[10]=255,s.hhea.data[11]=255);v={unitsPerEm:(s.head.data[18]<<8)+s.head.data[19],yMax:Q(s.head.data[42],s.head.data[43]),yMin:Q(s.head.data[38],s.head.data[39]),ascent:Q(s.hhea.data[4],s.hhea.data[5]),descent:Q(s.hhea.data[6],s.hhea.data[7]),lineGap:Q(s.hhea.data[8],s.hhea.data[9])};if(this.ascent=v.ascent/v.unitsPerEm,this.descent=v.descent/v.unitsPerEm,this.lineGap=v.lineGap/v.unitsPerEm,this.cssFontInfo?.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,s.post){var F=s.post,O=i,L=g;const D=(u.start||0)+F.offset;var _=(u.pos=D)+F.length,I=u.getInt32();let e;u.skip(28);let t,a=!0;switch(I){case 65536:e=X.MacStandardGlyphOrdering;break;case 131072:const F=u.getUint16();if(F!==L)a=!1;else{const D=[];for(t=0;t<F;++t){const F=u.getUint16();if(32768<=F){a=!1;break}D.push(F)}if(a){for(var T=[],M=[];u.pos<_;){const F=u.getByte();for(M.length=F,t=0;t<F;++t)M[t]=String.fromCharCode(u.getByte());T.push(M.join(""))}for(e=[],t=0;t<F;++t){const F=D[t];F<258?e.push(X.MacStandardGlyphOrdering[F]):e.push(T[F-258])}}}break;case 196608:break;default:(0,$.warn)("Unknown/unsupported post table version "+I),a=!1,O.defaultEncoding&&(e=O.defaultEncoding)}O.glyphNames=e}s.post={tag:"post",data:se(i)};const P=[];function E(e){return!C[e]}if(i.composite){const r=i.cidToGidMap||[],u=0===r.length;i.cMap.forEach(function(e,t){if(65535<(t="string"==typeof t?ae(e,t,!0):t))throw new $.FormatError("Max size of CID is 65,535");let a=-1;u?a=t:void 0!==r[t]&&(a=r[t]),0<=a&&a<g&&E(a)&&(P[e]=a)})}else{const r=function(r,i,n,s){if(!r)return(0,$.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};let o,l=(i.start||0)+r.offset;i.pos=l,i.skip(2);var c=i.getUint16();let h,u=!1;for(let a=0;a<c;a++){const $=i.getUint16(),o=i.getUint16(),l=i.getInt32()>>>0;let t=!1;if(h?.platformId!==$||h?.encodingId!==o){if(0!==$||0!==o&&1!==o&&3!==o)if(1===$&&0===o)t=!0;else if(3!==$||1!==o||!s&&h){if(n&&3===$&&0===o){let e=t=!0;if(a<c-1){const r=i.peekBytes(2);(r[0]<<8)+r[1]<$&&(e=!1)}e&&(u=!0)}}else t=!0,n||(u=!0);else t=!0;if(t&&(h={platformId:$,encodingId:o,offset:l}),u)break}}if(h&&(i.pos=l+h.offset),!h||-1===i.peekByte())return(0,$.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};r=i.getUint16();let e=!1;var d=[];let f,g;if(0===r){for(i.skip(4),f=0;f<256;f++){const r=i.getByte();r&&d.push({charCode:f,glyphId:r})}e=!0}else if(2===r){i.skip(4);const r=[];let t=0;for(let e=0;e<256;e++){const $=i.getUint16()>>3;r.push($),t=Math.max($,t)}const $=[];for(let e=0;e<=t;e++)$.push({firstCode:i.getUint16(),entryCount:i.getUint16(),idDelta:Q(i.getByte(),i.getByte()),idRangePos:i.pos+i.getUint16()});for(let e=0;e<256;e++)if(0===r[e])i.pos=$[0].idRangePos+2*e,g=i.getUint16(),d.push({charCode:e,glyphId:g});else{const s=$[r[e]];for(f=0;f<s.entryCount;f++){const r=(e<<8)+f+s.firstCode;i.pos=s.idRangePos+2*f,0!==(g=i.getUint16())&&(g=(g+s.idDelta)%65536),d.push({charCode:r,glyphId:g})}}}else if(4===r){i.skip(4);const r=i.getUint16()>>1,n=(i.skip(6),[]);let e;for(e=0;e<r;e++)n.push({end:i.getUint16()});for(i.skip(2),e=0;e<r;e++)n[e].start=i.getUint16();for(e=0;e<r;e++)n[e].delta=i.getUint16();let t,a=0;for(e=0;e<r;e++){o=n[e];const l=i.getUint16();l?(t=(l>>1)-(r-e),o.offsetIndex=t,a=Math.max(a,t+o.end-o.start+1)):o.offsetIndex=-1}const h=[];for(f=0;f<a;f++)h.push(i.getUint16());for(e=0;e<r;e++){o=n[e],l=o.start;const r=o.end,i=o.delta;for(t=o.offsetIndex,f=l;f<=r;f++)65535!==f&&(g=(g=t<0?f:h[t+f-l])+i&65535,d.push({charCode:f,glyphId:g}))}}else if(6===r){i.skip(4);const r=i.getUint16(),n=i.getUint16();for(f=0;f<n;f++){g=i.getUint16();const n=r+f;d.push({charCode:n,glyphId:g})}}else{if(12!==r)return(0,$.warn)("cmap table has unsupported format: "+r),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};{i.skip(10);const r=i.getInt32()>>>0;for(f=0;f<r;f++){const r=i.getInt32()>>>0,n=i.getInt32()>>>0;let t=i.getInt32()>>>0;for(let e=r;e<=n;e++)d.push({charCode:e,glyphId:t++})}}}d.sort(function(e,t){return e.charCode-t.charCode});for(let e=1;e<d.length;e++)d[e-1].charCode===d[e].charCode&&(d.splice(e,1),e--);return{platformId:h.platformId,encodingId:h.encodingId,mappings:d,hasShortCmap:e}}(s.cmap,u,this.isSymbolicFont,i.hasEncoding),U=r.platformId,d=r.encodingId,f=r.mappings;let a=[],t=!1;if(!i.hasEncoding||"MacRomanEncoding"!==i.baseEncodingName&&"WinAnsiEncoding"!==i.baseEncodingName||(a=(0,q.getEncoding)(i.baseEncodingName)),i.hasEncoding&&!this.isSymbolicFont&&(3===U&&1===d||1===U&&0===d)){const r=(0,H.getGlyphsUnicode)();for(let t=0;t<256;t++){var N=(void 0!==this.differences[t]?this.differences:a.length&&""!==a[t]?a:q.StandardEncoding)[t];if(N){const H=(0,X.recoverGlyphName)(N,r);let e;if(3===U&&1===d?e=r[H]:1===U&&0===d&&(e=q.MacRomanEncoding.indexOf(H)),void 0===e){if(!i.glyphNames&&i.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof z.IdentityToUnicodeMap)){const r=this.toUnicode.get(t);r&&(e=r.codePointAt(0))}if(void 0===e)continue}for(const r of f)if(r.charCode===e){P[t]=r.glyphId;break}}}}else if(0===U){for(const r of f)P[r.charCode]=r.glyphId;t=!0}else for(const r of f){let e=r.charCode;3===U&&61440<=e&&e<=61695&&(e&=255),P[e]=r.glyphId}if(i.glyphNames&&(a.length||this.differences.length))for(let e=0;e<256;++e)if(t||void 0===P[e]){const u=this.differences[e]||a[e];if(u){const $=i.glyphNames.indexOf(u);0<$&&E($)&&(P[e]=$)}}}0===P.length&&(P[0]=0);let B=p-1;if(m||(B=0),!i.cssFontInfo){const r=re(P,E,B,this.toUnicode);this.toFontChar=r.toFontChar,s.cmap={tag:"cmap",data:ie(r.charCodeToGlyphId,r.toUnicodeExtraMap,p)},!s["OS/2"]||(x=s["OS/2"],(S=u).pos=(S.start||0)+x.offset,A=S.getUint16(),S.skip(60),k=S.getUint16(),A<4&&768&k)||S.getUint16()>S.getUint16()||(S.skip(6),0===S.getUint16())?s["OS/2"]={tag:"OS/2",data:ne(i,r.charCodeToGlyphId,v)}:x.data[8]=x.data[9]=0}if(!c)try{l=new Y.Stream(s["CFF "].data),(o=new U.CFFParser(l,i,X.SEAC_ANALYSIS_ENABLED).parse()).duplicateFirstGlyph();const r=new U.CFFCompiler(o);s["CFF "].data=r.compile()}catch(r){(0,$.warn)("Failed to compile font "+i.loadedName)}if(s.name){const[u,$]=a(s.name);s.name.data=oe(r,u),this.psName=u[0][6]||null,i.composite||function(e,t,a){if(!e.isInternalFont&&!e.hasIncludedToUnicodeMap&&!e.hasEncoding&&!(e.toUnicode instanceof z.IdentityToUnicodeMap)&&t&&0!==a.length&&e.defaultEncoding!==q.WinAnsiEncoding){for(const e of a)if(!te(e))return;var r=q.WinAnsiEncoding,i=[],n=(0,H.getGlyphsUnicode)();for(const e in r){const t=r[e];if(""!==t){const a=n[t];void 0!==a&&(i[e]=String.fromCharCode(a))}}0<i.length&&e.toUnicode.amend(i)}}(i,this.isSymbolicFont,$)}else s.name={tag:"name",data:oe(this.name)};var j=new K.OpenTypeFileBuilder(e.version);for(const r in s)j.addTable(r,s[r].data);return j.toArray()}convert(e,t,a){if(a.fixedPitch=!1,a.builtInEncoding){var r=a,i=a.builtInEncoding;if(!r.isInternalFont&&!(r.hasIncludedToUnicodeMap||i===r.defaultEncoding||r.toUnicode instanceof z.IdentityToUnicodeMap)){var n=[],s=(0,H.getGlyphsUnicode)();for(const y in i)if(!r.hasEncoding||!r.baseEncodingName&&void 0===r.differences[y]){const w=i[y],H=(0,v.getUnicodeForGlyph)(w,s);-1!==H&&(n[y]=String.fromCharCode(H))}0<n.length&&r.toUnicode.amend(n)}}let o=1;t instanceof G.CFFFont&&(o=t.numGlyphs-1);var l=t.getGlyphMapping(a);let c=null,h=l,u=null;a.cssFontInfo||(c=re(l,t.hasGlyphId.bind(t),o,this.toUnicode),this.toFontChar=c.toFontChar,h=c.charCodeToGlyphId,u=c.toUnicodeExtraMap);const d=t.numGlyphs;function f(e,t){for(const a in e)if(t===e[a])return 0|a;return c.charCodeToGlyphId[c.nextAvailableFontCharCode]=t,c.nextAvailableFontCharCode++}var g=t.seacs;if(c&&X.SEAC_ANALYSIS_ENABLED&&g?.length){const e=a.fontMatrix||$.FONT_IDENTITY_MATRIX,o=t.getCharset(),X=Object.create(null);for(var p in g){const a=g[p|=0],$=q.StandardEncoding[a[2]],v=q.StandardEncoding[a[3]],H=o.indexOf($),z=o.indexOf(v);if(!(H<0||z<0)){const G={x:a[0]*e[0]+a[1]*e[2]+e[4],y:a[0]*e[1]+a[1]*e[3]+e[5]},h=function(e,t){let a=null;for(const r in e)t===e[r]&&(a||=[]).push(0|r);return a}(l,p);if(h)for(const e of h){const t=c.charCodeToGlyphId,a=f(t,H),$=f(t,z);X[e]={baseFontCharCode:a,accentFontCharCode:$,accentOffset:G}}}}a.seacMap=X}var m=1/(a.fontMatrix||$.FONT_IDENTITY_MATRIX)[0],b=new K.OpenTypeFileBuilder("OTTO");return b.addTable("CFF ",t.data),b.addTable("OS/2",ne(a,h)),b.addTable("cmap",ie(h,u,d)),b.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+x(m)+"\0\0\0\0\v~'\0\0\0\0\v~'\0\0"+x(a.descent)+"ÿ"+x(a.ascent)+k(a.italicAngle?2:0)+"\0\0\0\0\0\0\0"),b.addTable("hhea","\0\0\0"+x(a.ascent)+x(a.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+x(a.capHeight)+x(Math.tan(a.italicAngle)*a.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+k(d)),b.addTable("hmtx",function(){const a=t.charstrings,r=t.cff?t.cff.widths:null;let i="\0\0\0\0";for(let t=1,e=d;t<e;t++){let e=0;if(a){const r=a[t-1];e="width"in r?r.width:0}else r&&(e=Math.ceil(r[t]||0));i+=k(e)+k(0)}return i}()),b.addTable("maxp","\0\0P\0"+k(d)),b.addTable("name",oe(e)),b.addTable("post",se(a)),b.toArray()}get spaceWidth(){const t=["space","minus","one","i","I"];let a;for(const r of t){if(r in this.widths){a=this.widths[r];break}const t=(0,H.getGlyphsUnicode)()[r];let e=0;if((e=!(e=this.composite&&this.cMap.contains(t)&&"string"==typeof(e=this.cMap.lookup(t))?ae(t,e):e)&&this.toUnicode?this.toUnicode.charCodeOf(t):e)<=0&&(e=t),a=this.widths[e])break}return(0,$.shadow)(this,"spaceWidth",a||this.defaultWidth)}_charToGlyph(e,t=!1){let a,r,i,n=this._glyphCache[e];if(n?.isSpace===t)return n;let s=e;this.cMap?.contains(e)&&"string"==typeof(s=this.cMap.lookup(e))&&(s=ae(e,s)),"number"!=typeof(r=this.widths[s])&&(r=this.defaultWidth);var o=this.vmetrics?.[s];let l=this.toUnicode.get(e)||e,c=("number"==typeof l&&(l=String.fromCharCode(l)),void 0!==this.toFontChar[e]);if(a=this.toFontChar[e]||e,this.missingFile){const t=this.differences[e]||this.defaultEncoding[e];".notdef"!==t&&""!==t||"Type1"!==this.type||(a=32),a=(0,v.mapSpecialUnicodeValues)(a)}this.isType3Font&&(i=a);let h=null;if(this.seacMap?.[e]){c=!0;const t=this.seacMap[e];a=t.baseFontCharCode,h={fontChar:String.fromCodePoint(t.accentFontCharCode),offset:t.accentOffset}}let u="";return"number"==typeof a&&(a<=1114111?u=String.fromCodePoint(a):(0,$.warn)("charToGlyph - invalid fontCharCode: "+a)),n=new m(e,u,l,h,r,o,i,t,c),this._glyphCache[e]=n}charsToGlyphs(a){var r=this._charsCache[a];if(r)return r;if(r=[],this.cMap){var t=Object.create(null),i=a.length;let e=0;for(;e<i;){this.cMap.readCharCode(a,e,t);var{charcode:n,length:s}=t,n=(e+=s,this._charToGlyph(n,1===s&&32===a.charCodeAt(e-1)));r.push(n)}}else for(let e=0,t=a.length;e<t;++e){var o=a.charCodeAt(e),o=this._charToGlyph(o,32===o);r.push(o)}return this._charsCache[a]=r}getCharPositions(a){var r=[];if(this.cMap){var t=Object.create(null);let e=0;for(;e<a.length;){this.cMap.readCharCode(a,e,t);var i=t.length;r.push([e,e+i]),e+=i}}else for(let e=0,t=a.length;e<t;++e)r.push([e,e+1]);return r}get glyphCacheValues(){return Object.values(this._glyphCache)}encodeString(a){const r=[],i=[],n=()=>r.length%2==1,s=this.toUnicode instanceof z.IdentityToUnicodeMap?e=>this.toUnicode.charCodeOf(e):e=>this.toUnicode.charCodeOf(String.fromCodePoint(e));for(let e=0,t=a.length;e<t;e++){var o=a.codePointAt(e);if(55295<o&&(o<57344||65533<o)&&e++,this.toUnicode){const a=s(o);if(-1!==a){n()&&(r.push(i.join("")),i.length=0);for(let e=(this.cMap?this.cMap.getCharCodeLength(a):1)-1;0<=e;e--)i.push(String.fromCharCode(a>>8*e&255));continue}}n()||(r.push(i.join("")),i.length=0),i.push(String.fromCodePoint(o))}return r.push(i.join("")),r}},e.ErrorFont=class{constructor(e){this.error=e,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(e){return[e]}exportData(e=0){return{error:this.error}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CFFTopDict=t.CFFStrings=t.CFFStandardStrings=t.CFFPrivateDict=t.CFFParser=t.CFFIndex=t.CFFHeader=t.CFFFDSelect=t.CFFCompiler=t.CFFCharset=t.CFF=void 0;var g=a(2),d=a(36),f=a(37);const r=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],u=(t.CFFStandardStrings=r,[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}]),p=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];t.CFFParser=class{constructor(e,t,a){this.bytes=e.getBytes(),this.properties=t,this.seacAnalysisEnabled=!!a}parse(){const a=this.properties,r=new m,e=(this.cff=r,this.parseHeader()),i=this.parseIndex(e.endPos),n=this.parseIndex(i.endPos),t=this.parseIndex(n.endPos),s=this.parseIndex(t.endPos),o=this.parseDict(n.obj.get(0)),l=this.createDict(b,o,r.strings);r.header=e.obj,r.names=this.parseNameIndex(i.obj),r.strings=this.parseStringIndex(t.obj),r.topDict=l,r.globalSubrIndex=s.obj,this.parsePrivateDict(r.topDict),r.isCIDFont=l.hasName("ROS");var c=l.getByName("CharStrings"),c=this.parseIndex(c).obj,h=l.getByName("FontMatrix"),h=(h&&(a.fontMatrix=h),l.getByName("FontBBox"));let u,d;if(h&&(a.ascent=Math.max(h[3],h[1]),a.descent=Math.min(h[1],h[3]),a.ascentScaled=!0),r.isCIDFont){const a=this.parseIndex(l.getByName("FDArray")).obj;for(let e=0,t=a.count;e<t;++e){const i=a.get(e),n=this.createDict(b,this.parseDict(i),r.strings);this.parsePrivateDict(n),r.fdArray.push(n)}d=null,u=this.parseCharsets(l.getByName("charset"),c.count,r.strings,!0),r.fdSelect=this.parseFDSelect(l.getByName("FDSelect"),c.count)}else u=this.parseCharsets(l.getByName("charset"),c.count,r.strings,!1),d=this.parseEncoding(l.getByName("Encoding"),a,r.strings,u.charset);r.charset=u,r.encoding=d;h=this.parseCharStrings({charStrings:c,localSubrIndex:l.privateDict.subrsIndex,globalSubrIndex:s.obj,fdSelect:r.fdSelect,fdArray:r.fdArray,privateDict:l.privateDict});return r.charStrings=h.charStrings,r.seacs=h.seacs,r.widths=h.widths,r}parseHeader(){let e=this.bytes;var t=e.length;let a=0;for(;a<t&&1!==e[a];)++a;if(a>=t)throw new g.FormatError("Invalid CFF header");0!==a&&((0,g.info)("cff data is shifted"),e=e.subarray(a),this.bytes=e);var r=e[0],i=e[1],n=e[2],s=e[3];return{obj:new o(r,i,n,s),endPos:n}}parseDict(n){let s=0;let t=[];for(var a=[],e=(s=0,n.length);s<e;){let e=n[s];e<=21?(12===e&&(e=e<<8|n[++s]),a.push([e,t]),t=[],++s):t.push(function(){let e=n[s++];if(30!==e)return 28===e?e=((e=n[s++])<<24|n[s++]<<16)>>16:29===e?e=(e=(e=(e=n[s++])<<8|n[s++])<<8|n[s++])<<8|n[s++]:32<=e&&e<=246?e-139:247<=e&&e<=250?256*(e-247)+n[s++]+108:251<=e&&e<=254?-256*(e-251)-n[s++]-108:((0,g.warn)('CFFParser_parseDict: "'+e+'" is a reserved command.'),NaN);{let e="";const t=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],a=n.length;for(;s<a;){const a=n[s++],r=a>>4,i=15&a;if(15==r)break;if(e+=t[r],15==i)break;e+=t[i]}return parseFloat(e)}}())}return a}parseIndex(a){const r=new c,i=this.bytes,e=i[a++]<<8|i[a++],n=[];let t,s,o=a;if(0!==e){const r=i[a++],l=a+(e+1)*r-1;for(t=0,s=e+1;t<s;++t){let t=0;for(let e=0;e<r;++e)t=(t<<=8)+i[a++];n.push(l+t)}o=n[e]}for(t=0,s=n.length-1;t<s;++t){const a=n[t],e=n[t+1];r.add(i.subarray(a,e))}return{obj:r,endPos:o}}parseNameIndex(a){var r=[];for(let e=0,t=a.count;e<t;++e){var i=a.get(e);r.push((0,g.bytesToString)(i))}return r}parseStringIndex(a){var r=new n;for(let e=0,t=a.count;e<t;++e){var i=a.get(e);r.add((0,g.bytesToString)(i))}return r}createDict(e,t,a){var r=new e(a);for(const[e,a]of t)r.setByKey(e,a);return r}parseCharString(a,r,i,n){if(!r||10<a.callDepth)return!1;let s=a.stackSize;var o=a.stack;let l=r.length;for(let e=0;e<l;){var c=r[e++];let t=null;if(12===c){const a=r[e++];0===a?(r[e-2]=139,r[e-1]=22,s=0):t=p[a]}else if(28===c)o[s]=(r[e]<<24|r[e+1]<<16)>>16,e+=2,s++;else if(14===c){if(4<=s&&(s-=4,this.seacAnalysisEnabled))return a.seac=o.slice(s,s+4),!1;t=u[c]}else if(32<=c&&c<=246)o[s]=c-139,s++;else if(247<=c&&c<=254)o[s]=c<251?(c-247<<8)+r[e]+108:-(c-251<<8)-r[e]-108,e++,s++;else if(255===c)o[s]=(r[e]<<24|r[e+1]<<16|r[e+2]<<8|r[e+3])/65536,e+=4,s++;else if(19===c||20===c){if(a.hints+=s>>1,0===a.hints){r.copyWithin(e-1,e,-1),--e,--l;continue}e+=a.hints+7>>3,s%=2,t=u[c]}else{if(10===c||29===c){var h=10===c?i:n;if(!h)return t=u[c],(0,g.warn)("Missing subrsIndex for "+t.id),!1;let e=32768;h.count<1240?e=107:h.count<33900&&(e=1131);const l=o[--s]+e;if(l<0||l>=h.count||isNaN(l))return t=u[c],(0,g.warn)("Out of bounds subrIndex for "+t.id),!1;if(a.stackSize=s,a.callDepth++,!this.parseCharString(a,h.get(l),i,n))return!1;a.callDepth--,s=a.stackSize;continue}if(11===c)return a.stackSize=s,!0;if(0===c&&e===r.length)r[e-1]=14,t=u[14];else{if(9===c){r.copyWithin(e-1,e,-1),--e,--l;continue}t=u[c]}}if(t){if(t.stem&&(a.hints+=s>>1,3===c||23===c?a.hasVStems=!0:!a.hasVStems||1!==c&&18!==c||((0,g.warn)("CFF stem hints are in wrong order"),r[e-1]=1===c?3:23)),"min"in t&&!a.undefStack&&s<t.min)return(0,g.warn)("Not enough parameters for "+t.id+"; actual: "+s+", expected: "+t.min),0===s&&(r[e-1]=14,!0);a.firstStackClearing&&t.stackClearing&&(a.firstStackClearing=!1,2<=(s-=t.min)&&t.stem?s%=2:1<s&&(0,g.warn)("Found too many parameters for stack-clearing command"),0<s)&&(a.width=o[s-1]),"stackDelta"in t?("stackFn"in t&&t.stackFn(o,s),s+=t.stackDelta):t.stackClearing?s=0:t.resetStack?(s=0,a.undefStack=!1):t.undefStack&&(s=0,a.undefStack=!0,a.firstStackClearing=!1)}}return l<r.length&&r.fill(14,l),a.stackSize=s,!0}parseCharStrings({charStrings:i,localSubrIndex:n,globalSubrIndex:s,fdSelect:o,fdArray:l,privateDict:c}){const h=[],u=[],d=i.count;for(let r=0;r<d;r++){const d=i.get(r),f={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1};let e=!0,t=null,a=c;if(o&&l.length){const i=o.getFDIndex(r);-1===i&&((0,g.warn)("Glyph index is not in fd select."),e=!1),i>=l.length&&((0,g.warn)("Invalid fd index for glyph index."),e=!1),e&&(a=l[i].privateDict,t=a.subrsIndex)}else n&&(t=n);if(e=e&&this.parseCharString(f,d,t,s),null!==f.width){const i=a.getByName("nominalWidthX");u[r]=i+f.width}else{const i=a.getByName("defaultWidthX");u[r]=i}null!==f.seac&&(h[r]=f.seac),e||i.set(r,new Uint8Array([14]))}return{charStrings:i,seacs:h,widths:u}}emptyPrivateDictionary(e){var t=this.createDict(h,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}parsePrivateDict(e){var t,a,r;e.hasName("Private")?(r=e.getByName("Private"),Array.isArray(r)&&2===r.length?(t=r[0],r=r[1],0===t||r>=this.bytes.length?this.emptyPrivateDictionary(e):(t=this.bytes.subarray(r,r+t),t=this.parseDict(t),t=this.createDict(h,t,e.strings),0===(e.privateDict=t).getByName("ExpansionFactor")&&t.setByName("ExpansionFactor",.06),t.getByName("Subrs")&&(a=r+(r=t.getByName("Subrs")),0===r||a>=this.bytes.length?this.emptyPrivateDictionary(e):(r=this.parseIndex(a),t.subrsIndex=r.obj)))):e.removeByName("Private")):this.emptyPrivateDictionary(e)}parseCharsets(e,t,a,r){if(0===e)return new w(!0,y.ISO_ADOBE,d.ISOAdobeCharset);if(1===e)return new w(!0,y.EXPERT,d.ExpertCharset);if(2===e)return new w(!0,y.EXPERT_SUBSET,d.ExpertSubsetCharset);var i=this.bytes,n=e,s=i[e++],o=[r?0:".notdef"];let l,c,h;switch(--t,s){case 0:for(h=0;h<t;h++)l=i[e++]<<8|i[e++],o.push(r?l:a.get(l));break;case 1:for(;o.length<=t;)for(l=i[e++]<<8|i[e++],c=i[e++],h=0;h<=c;h++)o.push(r?l++:a.get(l++));break;case 2:for(;o.length<=t;)for(l=i[e++]<<8|i[e++],c=i[e++]<<8|i[e++],h=0;h<=c;h++)o.push(r?l++:a.get(l++));break;default:throw new g.FormatError("Unknown charset format")}var u=e,n=i.subarray(n,u);return new w(!1,s,o,n)}parseEncoding(e,a,r,t){const i=Object.create(null),n=this.bytes;let s,o,l,c=!1,h=null;if(0===e||1===e){c=!0;const a=(s=e)?f.ExpertEncoding:f.StandardEncoding;for(o=0,l=t.length;o<l;o++){const e=a.indexOf(t[o]);-1!==e&&(i[e]=o)}}else{const a=e;switch(127&(s=n[e++])){case 0:const a=n[e++];for(o=1;o<=a;o++)i[n[e++]]=o;break;case 1:const r=n[e++];let t=1;for(o=0;o<r;o++){const a=n[e++],r=n[e++];for(let e=a;e<=a+r;e++)i[e]=t++}break;default:throw new g.FormatError(`Unknown encoding format: ${s} in CFF`)}const f=e;if(128&s){n[a]&=127;{const u=n[e++];for(o=0;o<u;o++){const u=n[e++],d=(n[e++]<<8)+(255&n[e++]);i[u]=t.indexOf(r.get(d))}}}h=n.subarray(a,f)}return s&=127,new v(c,s,i,h)}parseFDSelect(e,t){const a=this.bytes,r=a[e++],i=[];let n;switch(r){case 0:for(n=0;n<t;++n){const t=a[e++];i.push(t)}break;case 3:var s=a[e++]<<8|a[e++];for(n=0;n<s;++n){let t=a[e++]<<8|a[e++];0===n&&0!==t&&((0,g.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),t=0);const r=a[e++],o=a[e]<<8|a[e+1];for(let e=t;e<o;++e)i.push(r)}e+=2;break;default:throw new g.FormatError(`parseFDSelect: Unknown format "${r}".`)}if(i.length!==t)throw new g.FormatError("parseFDSelect: Invalid font data.");return new x(r,i)}};class m{constructor(){this.header=null,this.names=[],this.topDict=null,this.strings=new n,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}duplicateFirstGlyph(){var e;65535<=this.charStrings.count?(0,g.warn)("Not enough space in charstrings to duplicate first glyph."):(e=this.charStrings.get(0),this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0]))}hasGlyphId(e){return!(e<0||e>=this.charStrings.count)&&0<this.charStrings.get(e).length}}t.CFF=m;class o{constructor(e,t,a,r){this.major=e,this.minor=t,this.hdrSize=a,this.offSize=r}}t.CFFHeader=o;class n{constructor(){this.strings=[]}get(e){return 0<=e&&e<=390?r[e]:e-391<=this.strings.length?this.strings[e-391]:r[0]}getSID(e){var t=r.indexOf(e);return-1!==t?t:-1!==(t=this.strings.indexOf(e))?t+391:-1}add(e){this.strings.push(e)}get count(){return this.strings.length}}t.CFFStrings=n;class c{constructor(){this.objects=[],this.length=0}add(e){this.length+=e.length,this.objects.push(e)}set(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}get(e){return this.objects[e]}get count(){return this.objects.length}}t.CFFIndex=c;class i{constructor(e,t){this.keyToNameMap=e.keyToNameMap,this.nameToKeyMap=e.nameToKeyMap,this.defaults=e.defaults,this.types=e.types,this.opcodes=e.opcodes,this.order=e.order,this.strings=t,this.values=Object.create(null)}setByKey(e,t){if(!(e in this.keyToNameMap))return!1;if(0!==t.length){for(const a of t)if(isNaN(a))return(0,g.warn)(`Invalid CFFDict value: "${t}" for key "${e}".`),!0;const a=this.types[e];"num"!==a&&"sid"!==a&&"offset"!==a||(t=t[0]),this.values[e]=t}return!0}setByName(e,t){if(!(e in this.nameToKeyMap))throw new g.FormatError(`Invalid dictionary name "${e}"`);this.values[this.nameToKeyMap[e]]=t}hasName(e){return this.nameToKeyMap[e]in this.values}getByName(e){var t;if(e in this.nameToKeyMap)return((t=this.nameToKeyMap[e])in this.values?this.values:this.defaults)[t];throw new g.FormatError(`Invalid dictionary name ${e}"`)}removeByName(e){delete this.values[this.nameToKeyMap[e]]}static createTables(e){var t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(const a of e){const e=Array.isArray(a[0])?(a[0][0]<<8)+a[0][1]:a[0];t.keyToNameMap[e]=a[1],t.nameToKeyMap[a[1]]=e,t.types[e]=a[2],t.defaults[e]=a[3],t.opcodes[e]=Array.isArray(a[0])?a[0]:[a[0]],t.order.push(e)}return t}}const s=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]];class b extends i{static get tables(){return(0,g.shadow)(this,"tables",this.createTables(s))}constructor(e){super(b.tables,e),this.privateDict=null}}t.CFFTopDict=b;const l=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]];class h extends i{static get tables(){return(0,g.shadow)(this,"tables",this.createTables(l))}constructor(e){super(h.tables,e),this.subrsIndex=null}}t.CFFPrivateDict=h;const y={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2};class w{constructor(e,t,a,r){this.predefined=e,this.format=t,this.charset=a,this.raw=r}}t.CFFCharset=w;class v{constructor(e,t,a,r){this.predefined=e,this.format=t,this.encoding=a,this.raw=r}}class x{constructor(e,t){this.format=e,this.fdSelect=t}getFDIndex(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}t.CFFFDSelect=x;class S{constructor(){this.offsets=Object.create(null)}isTracking(e){return e in this.offsets}track(e,t){if(e in this.offsets)throw new g.FormatError("Already tracking location of "+e);this.offsets[e]=t}offset(e){for(const t in this.offsets)this.offsets[t]+=e}setEntryLocation(e,a,r){if(!(e in this.offsets))throw new g.FormatError("Not tracking location of "+e);var i=r.data,n=this.offsets[e];for(let e=0,t=a.length;e<t;++e){const r=5*e+n,o=r+1,l=r+2,c=r+3,h=r+4;if(29!==i[r]||0!==i[o]||0!==i[l]||0!==i[c]||0!==i[h])throw new g.FormatError("writing to an offset that is not empty");var s=a[e];i[r]=29,i[o]=s>>24&255,i[l]=s>>16&255,i[c]=s>>8&255,i[h]=255&s}}}class k{constructor(e){this.cff=e}compile(){const e=this.cff,t={data:[],length:0,add(e){e.length<=65536?this.data.push(...e):this.data=this.data.concat(e),this.length=this.data.length}},a=this.compileHeader(e.header);t.add(a);var r=this.compileNameIndex(e.names);if(t.add(r),e.isCIDFont&&e.topDict.hasName("FontMatrix")){const t=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");for(const a of e.fdArray){let e=t.slice(0);a.hasName("FontMatrix")&&(e=g.Util.transform(e,a.getByName("FontMatrix"))),a.setByName("FontMatrix",e)}}16<e.topDict.getByName("XUID")?.length&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);var r=this.compileTopDicts([e.topDict],t.length,e.isCIDFont),i=(t.add(r.output),r.trackers[0]),n=this.compileStringIndex(e.strings.strings),n=(t.add(n),this.compileIndex(e.globalSubrIndex));if(t.add(n),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)i.setEntryLocation("Encoding",[e.encoding.format],t);else{const a=this.compileEncoding(e.encoding);i.setEntryLocation("Encoding",[t.length],t),t.add(a)}n=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont),i.setEntryLocation("charset",[t.length],t),t.add(n),n=this.compileCharStrings(e.charStrings);if(i.setEntryLocation("CharStrings",[t.length],t),t.add(n),e.isCIDFont){i.setEntryLocation("FDSelect",[t.length],t);const a=this.compileFDSelect(e.fdSelect),g=(t.add(a),r=this.compileTopDicts(e.fdArray,t.length,!0),i.setEntryLocation("FDArray",[t.length],t),t.add(r.output),r.trackers);this.compilePrivateDicts(e.fdArray,g,t)}return this.compilePrivateDicts([e.topDict],[i],t),t.add([0]),t.data}encodeNumber(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}static get EncodeFloatRegExp(){return(0,g.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(e){let t=e.toString();var a=k.EncodeFloatRegExp.exec(t);if(a){const r=parseFloat("1e"+((a[2]?+a[2]:0)+a[1].length));t=(Math.round(e*r)/r).toString()}let r,i,n="";for(r=0,i=t.length;r<i;++r){const e=t[r];n+="e"===e?"-"===t[++r]?"c":"b":"."===e?"a":"-"===e?"e":e}n+=1&n.length?"f":"ff";var s=[30];for(r=0,i=n.length;r<i;r+=2)s.push(parseInt(n.substring(r,r+2),16));return s}encodeInteger(e){return-107<=e&&e<=107?[e+139]:108<=e&&e<=1131?[247+((e-=108)>>8),255&e]:-1131<=e&&e<=-108?[251+((e=-e-108)>>8),255&e]:-32768<=e&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e]}compileHeader(e){return[e.major,e.minor,4,e.offSize]}compileNameIndex(e){var t=new c;for(const r of e){const e=Math.min(r.length,127);let a=new Array(e);for(let t=0;t<e;t++){let e=r[t];(e<"!"||"~"<e||"["===e||"]"===e||"("===e||")"===e||"{"===e||"}"===e||"<"===e||">"===e||"/"===e||"%"===e)&&(e="_"),a[t]=e}""===(a=a.join(""))&&(a="Bad_Font_Name"),t.add((0,g.stringToBytes)(a))}return this.compileIndex(t)}compileTopDicts(e,t,a){var r=[];let i=new c;for(const n of e){a&&(n.removeByName("CIDFontVersion"),n.removeByName("CIDFontRevision"),n.removeByName("CIDFontType"),n.removeByName("CIDCount"),n.removeByName("UIDBase"));const e=new S,s=this.compileDict(n,e);r.push(e),i.add(s),e.offset(t)}return{trackers:r,output:i=this.compileIndex(i,r)}}compilePrivateDicts(a,r,i){for(let t=0,e=a.length;t<e;++t){var n=a[t],s=n.privateDict;if(!s||!n.hasName("Private"))throw new g.FormatError("There must be a private dictionary.");var n=new S,o=this.compileDict(s,n);let e=i.length;if(n.offset(e),o.length||(e=0),r[t].setEntryLocation("Private",[o.length,e],i),i.add(o),s.subrsIndex&&s.hasName("Subrs")){const a=this.compileIndex(s.subrsIndex);n.setEntryLocation("Subrs",[o.length],i),i.add(a)}}}compileDict(i,n){var s=[];for(const h of i.order)if(h in i.values){let a=i.values[h],r=i.types[h];if(Array.isArray(r)||(r=[r]),0!==(a=Array.isArray(a)?a:[a]).length){for(let e=0,t=r.length;e<t;++e){var o=r[e],l=a[e];switch(o){case"num":case"sid":s.push(...this.encodeNumber(l));break;case"offset":var c=i.keyToNameMap[h];n.isTracking(c)||n.track(c,s.length),s.push(29,0,0,0,0);break;case"array":case"delta":s.push(...this.encodeNumber(l));for(let e=1,t=a.length;e<t;++e)s.push(...this.encodeNumber(a[e]));break;default:throw new g.FormatError("Unknown data type of "+o)}}s.push(...i.opcodes[h])}}return s}compileStringIndex(e){var t=new c;for(const a of e)t.add((0,g.stringToBytes)(a));return this.compileIndex(t)}compileCharStrings(t){var a=new c;for(let e=0;e<t.count;e++){var r=t.get(e);0!==r.length?a.add(r):a.add(new Uint8Array([139,14]))}return this.compileIndex(a)}compileCharset(i,e,n,s){let o;e-=1;if(s)o=new Uint8Array([2,0,0,e>>8&255,255&e]);else{let a=(o=new Uint8Array(1+2*e))[0]=0;const s=i.charset.length;let r=!1;for(let t=1;t<o.length;t+=2){let e=0;if(a<s){const s=i.charset[a++];-1===(e=n.getSID(s))&&(e=0,r||(r=!0,(0,g.warn)(`Couldn't find ${s} in CFF strings`)))}o[t]=e>>8&255,o[t+1]=255&e}}return this.compileTypedArray(o)}compileEncoding(e){return this.compileTypedArray(e.raw)}compileFDSelect(t){const a=t.format;let r,i;switch(a){case 0:for((r=new Uint8Array(1+t.fdSelect.length))[0]=a,i=0;i<t.fdSelect.length;i++)r[i+1]=t.fdSelect[i];break;case 3:let e=t.fdSelect[0];var n=[a,0,0,0,0,e];for(i=1;i<t.fdSelect.length;i++){const a=t.fdSelect[i];a!==e&&(n.push(i>>8&255,255&i,a),e=a)}var s=(n.length-3)/3;n[1]=s>>8&255,n[2]=255&s,n.push(i>>8&255,255&i),r=new Uint8Array(n)}return this.compileTypedArray(r)}compileTypedArray(e){return Array.from(e)}compileIndex(e,t=[]){var a=e.objects,r=a.length;if(0===r)return[0,0];var i=[r>>8&255,255&r];let n,s,o=1;for(n=0;n<r;++n)o+=a[n].length;s=o<256?1:o<65536?2:o<16777216?3:4,i.push(s);let l=1;for(n=0;n<r+1;n++)1==s?i.push(255&l):2==s?i.push(l>>8&255,255&l):3==s?i.push(l>>16&255,l>>8&255,255&l):i.push(l>>>24&255,l>>16&255,l>>8&255,255&l),a[n]&&(l+=a[n].length);for(n=0;n<r;n++)t[n]&&t[n].offset(i.length),i.push(...a[n]);return i}}t.CFFCompiler=k},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ISOAdobeCharset=t.ExpertSubsetCharset=t.ExpertCharset=void 0,t.ISOAdobeCharset=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],t.ExpertCharset=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],t.ExpertSubsetCharset=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"]},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZapfDingbatsEncoding=t.WinAnsiEncoding=t.SymbolSetEncoding=t.StandardEncoding=t.MacRomanEncoding=t.ExpertEncoding=void 0,t.getEncoding=function(e){switch(e){case"WinAnsiEncoding":return s;case"StandardEncoding":return n;case"MacRomanEncoding":return i;case"SymbolSetEncoding":return o;case"ZapfDingbatsEncoding":return l;case"ExpertEncoding":return a;case"MacExpertEncoding":return r;default:return null}};const a=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],r=(t.ExpertEncoding=a,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""]),i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"],n=(t.MacRomanEncoding=i,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""]),s=(t.StandardEncoding=n,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"]),o=(t.WinAnsiEncoding=s,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""]),l=(t.SymbolSetEncoding=o,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""]);t.ZapfDingbatsEncoding=l},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SEAC_ANALYSIS_ENABLED=t.MacStandardGlyphOrdering=t.FontFlags=void 0,t.normalizeFontName=function(e){return e.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")},t.recoverGlyphName=f,t.type1FontGlyphMapping=function(e,t,a){var r=Object.create(null);let i,n,s;var o=!!(e.flags&d.Symbolic);if(e.isInternalFont)for(s=t,n=0;n<s.length;n++)i=a.indexOf(s[n]),r[n]=0<=i?i:0;else if(e.baseEncodingName)for(s=(0,h.getEncoding)(e.baseEncodingName),n=0;n<s.length;n++)i=a.indexOf(s[n]),r[n]=0<=i?i:0;else if(o)for(n in t)r[n]=t[n];else for(s=h.StandardEncoding,n=0;n<s.length;n++)i=a.indexOf(s[n]),r[n]=0<=i?i:0;var l=e.differences;let c;if(l)for(n in l){const e=l[n];if(-1===(i=a.indexOf(e))){const t=f(e,c=c||(0,u.getGlyphsUnicode)());t!==e&&(i=a.indexOf(t))}r[n]=0<=i?i:0}return r};var h=a(37),u=a(39),r=a(40),i=a(2);t.SEAC_ANALYSIS_ENABLED=!0;const d={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};function f(e,t){if(void 0===t[e]){var a=(0,r.getUnicodeForGlyph)(e,t);if(-1!==a)for(const e in t)if(t[e]===a)return e;(0,i.info)("Unable to recover a standard glyph name for: "+e)}return e}t.FontFlags=d,t.MacStandardGlyphOrdering=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"]},(e,t,a)=>{a.r(t),a.d(t,{getDingbatsGlyphsUnicode:()=>i,getGlyphsUnicode:()=>r});t=a(3);const r=(0,t.getLookupTableFactory)(function(e){e.A=65,e.AE=198,e.AEacute=508,e.AEmacron=482,e.AEsmall=63462,e.Aacute=193,e.Aacutesmall=63457,e.Abreve=258,e.Abreveacute=7854,e.Abrevecyrillic=1232,e.Abrevedotbelow=7862,e.Abrevegrave=7856,e.Abrevehookabove=7858,e.Abrevetilde=7860,e.Acaron=461,e.Acircle=9398,e.Acircumflex=194,e.Acircumflexacute=7844,e.Acircumflexdotbelow=7852,e.Acircumflexgrave=7846,e.Acircumflexhookabove=7848,e.Acircumflexsmall=63458,e.Acircumflextilde=7850,e.Acute=63177,e.Acutesmall=63412,e.Acyrillic=1040,e.Adblgrave=512,e.Adieresis=196,e.Adieresiscyrillic=1234,e.Adieresismacron=478,e.Adieresissmall=63460,e.Adotbelow=7840,e.Adotmacron=480,e.Agrave=192,e.Agravesmall=63456,e.Ahookabove=7842,e.Aiecyrillic=1236,e.Ainvertedbreve=514,e.Alpha=913,e.Alphatonos=902,e.Amacron=256,e.Amonospace=65313,e.Aogonek=260,e.Aring=197,e.Aringacute=506,e.Aringbelow=7680,e.Aringsmall=63461,e.Asmall=63329,e.Atilde=195,e.Atildesmall=63459,e.Aybarmenian=1329,e.B=66,e.Bcircle=9399,e.Bdotaccent=7682,e.Bdotbelow=7684,e.Becyrillic=1041,e.Benarmenian=1330,e.Beta=914,e.Bhook=385,e.Blinebelow=7686,e.Bmonospace=65314,e.Brevesmall=63220,e.Bsmall=63330,e.Btopbar=386,e.C=67,e.Caarmenian=1342,e.Cacute=262,e.Caron=63178,e.Caronsmall=63221,e.Ccaron=268,e.Ccedilla=199,e.Ccedillaacute=7688,e.Ccedillasmall=63463,e.Ccircle=9400,e.Ccircumflex=264,e.Cdot=266,e.Cdotaccent=266,e.Cedillasmall=63416,e.Chaarmenian=1353,e.Cheabkhasiancyrillic=1212,e.Checyrillic=1063,e.Chedescenderabkhasiancyrillic=1214,e.Chedescendercyrillic=1206,e.Chedieresiscyrillic=1268,e.Cheharmenian=1347,e.Chekhakassiancyrillic=1227,e.Cheverticalstrokecyrillic=1208,e.Chi=935,e.Chook=391,e.Circumflexsmall=63222,e.Cmonospace=65315,e.Coarmenian=1361,e.Csmall=63331,e.D=68,e.DZ=497,e.DZcaron=452,e.Daarmenian=1332,e.Dafrican=393,e.Dcaron=270,e.Dcedilla=7696,e.Dcircle=9401,e.Dcircumflexbelow=7698,e.Dcroat=272,e.Ddotaccent=7690,e.Ddotbelow=7692,e.Decyrillic=1044,e.Deicoptic=1006,e.Delta=8710,e.Deltagreek=916,e.Dhook=394,e.Dieresis=63179,e.DieresisAcute=63180,e.DieresisGrave=63181,e.Dieresissmall=63400,e.Digammagreek=988,e.Djecyrillic=1026,e.Dlinebelow=7694,e.Dmonospace=65316,e.Dotaccentsmall=63223,e.Dslash=272,e.Dsmall=63332,e.Dtopbar=395,e.Dz=498,e.Dzcaron=453,e.Dzeabkhasiancyrillic=1248,e.Dzecyrillic=1029,e.Dzhecyrillic=1039,e.E=69,e.Eacute=201,e.Eacutesmall=63465,e.Ebreve=276,e.Ecaron=282,e.Ecedillabreve=7708,e.Echarmenian=1333,e.Ecircle=9402,e.Ecircumflex=202,e.Ecircumflexacute=7870,e.Ecircumflexbelow=7704,e.Ecircumflexdotbelow=7878,e.Ecircumflexgrave=7872,e.Ecircumflexhookabove=7874,e.Ecircumflexsmall=63466,e.Ecircumflextilde=7876,e.Ecyrillic=1028,e.Edblgrave=516,e.Edieresis=203,e.Edieresissmall=63467,e.Edot=278,e.Edotaccent=278,e.Edotbelow=7864,e.Efcyrillic=1060,e.Egrave=200,e.Egravesmall=63464,e.Eharmenian=1335,e.Ehookabove=7866,e.Eightroman=8551,e.Einvertedbreve=518,e.Eiotifiedcyrillic=1124,e.Elcyrillic=1051,e.Elevenroman=8554,e.Emacron=274,e.Emacronacute=7702,e.Emacrongrave=7700,e.Emcyrillic=1052,e.Emonospace=65317,e.Encyrillic=1053,e.Endescendercyrillic=1186,e.Eng=330,e.Enghecyrillic=1188,e.Enhookcyrillic=1223,e.Eogonek=280,e.Eopen=400,e.Epsilon=917,e.Epsilontonos=904,e.Ercyrillic=1056,e.Ereversed=398,e.Ereversedcyrillic=1069,e.Escyrillic=1057,e.Esdescendercyrillic=1194,e.Esh=425,e.Esmall=63333,e.Eta=919,e.Etarmenian=1336,e.Etatonos=905,e.Eth=208,e.Ethsmall=63472,e.Etilde=7868,e.Etildebelow=7706,e.Euro=8364,e.Ezh=439,e.Ezhcaron=494,e.Ezhreversed=440,e.F=70,e.Fcircle=9403,e.Fdotaccent=7710,e.Feharmenian=1366,e.Feicoptic=996,e.Fhook=401,e.Fitacyrillic=1138,e.Fiveroman=8548,e.Fmonospace=65318,e.Fourroman=8547,e.Fsmall=63334,e.G=71,e.GBsquare=13191,e.Gacute=500,e.Gamma=915,e.Gammaafrican=404,e.Gangiacoptic=1002,e.Gbreve=286,e.Gcaron=486,e.Gcedilla=290,e.Gcircle=9404,e.Gcircumflex=284,e.Gcommaaccent=290,e.Gdot=288,e.Gdotaccent=288,e.Gecyrillic=1043,e.Ghadarmenian=1346,e.Ghemiddlehookcyrillic=1172,e.Ghestrokecyrillic=1170,e.Gheupturncyrillic=1168,e.Ghook=403,e.Gimarmenian=1331,e.Gjecyrillic=1027,e.Gmacron=7712,e.Gmonospace=65319,e.Grave=63182,e.Gravesmall=63328,e.Gsmall=63335,e.Gsmallhook=667,e.Gstroke=484,e.H=72,e.H18533=9679,e.H18543=9642,e.H18551=9643,e.H22073=9633,e.HPsquare=13259,e.Haabkhasiancyrillic=1192,e.Hadescendercyrillic=1202,e.Hardsigncyrillic=1066,e.Hbar=294,e.Hbrevebelow=7722,e.Hcedilla=7720,e.Hcircle=9405,e.Hcircumflex=292,e.Hdieresis=7718,e.Hdotaccent=7714,e.Hdotbelow=7716,e.Hmonospace=65320,e.Hoarmenian=1344,e.Horicoptic=1e3,e.Hsmall=63336,e.Hungarumlaut=63183,e.Hungarumlautsmall=63224,e.Hzsquare=13200,e.I=73,e.IAcyrillic=1071,e.IJ=306,e.IUcyrillic=1070,e.Iacute=205,e.Iacutesmall=63469,e.Ibreve=300,e.Icaron=463,e.Icircle=9406,e.Icircumflex=206,e.Icircumflexsmall=63470,e.Icyrillic=1030,e.Idblgrave=520,e.Idieresis=207,e.Idieresisacute=7726,e.Idieresiscyrillic=1252,e.Idieresissmall=63471,e.Idot=304,e.Idotaccent=304,e.Idotbelow=7882,e.Iebrevecyrillic=1238,e.Iecyrillic=1045,e.Ifraktur=8465,e.Igrave=204,e.Igravesmall=63468,e.Ihookabove=7880,e.Iicyrillic=1048,e.Iinvertedbreve=522,e.Iishortcyrillic=1049,e.Imacron=298,e.Imacroncyrillic=1250,e.Imonospace=65321,e.Iniarmenian=1339,e.Iocyrillic=1025,e.Iogonek=302,e.Iota=921,e.Iotaafrican=406,e.Iotadieresis=938,e.Iotatonos=906,e.Ismall=63337,e.Istroke=407,e.Itilde=296,e.Itildebelow=7724,e.Izhitsacyrillic=1140,e.Izhitsadblgravecyrillic=1142,e.J=74,e.Jaarmenian=1345,e.Jcircle=9407,e.Jcircumflex=308,e.Jecyrillic=1032,e.Jheharmenian=1355,e.Jmonospace=65322,e.Jsmall=63338,e.K=75,e.KBsquare=13189,e.KKsquare=13261,e.Kabashkircyrillic=1184,e.Kacute=7728,e.Kacyrillic=1050,e.Kadescendercyrillic=1178,e.Kahookcyrillic=1219,e.Kappa=922,e.Kastrokecyrillic=1182,e.Kaverticalstrokecyrillic=1180,e.Kcaron=488,e.Kcedilla=310,e.Kcircle=9408,e.Kcommaaccent=310,e.Kdotbelow=7730,e.Keharmenian=1364,e.Kenarmenian=1343,e.Khacyrillic=1061,e.Kheicoptic=998,e.Khook=408,e.Kjecyrillic=1036,e.Klinebelow=7732,e.Kmonospace=65323,e.Koppacyrillic=1152,e.Koppagreek=990,e.Ksicyrillic=1134,e.Ksmall=63339,e.L=76,e.LJ=455,e.LL=63167,e.Lacute=313,e.Lambda=923,e.Lcaron=317,e.Lcedilla=315,e.Lcircle=9409,e.Lcircumflexbelow=7740,e.Lcommaaccent=315,e.Ldot=319,e.Ldotaccent=319,e.Ldotbelow=7734,e.Ldotbelowmacron=7736,e.Liwnarmenian=1340,e.Lj=456,e.Ljecyrillic=1033,e.Llinebelow=7738,e.Lmonospace=65324,e.Lslash=321,e.Lslashsmall=63225,e.Lsmall=63340,e.M=77,e.MBsquare=13190,e.Macron=63184,e.Macronsmall=63407,e.Macute=7742,e.Mcircle=9410,e.Mdotaccent=7744,e.Mdotbelow=7746,e.Menarmenian=1348,e.Mmonospace=65325,e.Msmall=63341,e.Mturned=412,e.Mu=924,e.N=78,e.NJ=458,e.Nacute=323,e.Ncaron=327,e.Ncedilla=325,e.Ncircle=9411,e.Ncircumflexbelow=7754,e.Ncommaaccent=325,e.Ndotaccent=7748,e.Ndotbelow=7750,e.Nhookleft=413,e.Nineroman=8552,e.Nj=459,e.Njecyrillic=1034,e.Nlinebelow=7752,e.Nmonospace=65326,e.Nowarmenian=1350,e.Nsmall=63342,e.Ntilde=209,e.Ntildesmall=63473,e.Nu=925,e.O=79,e.OE=338,e.OEsmall=63226,e.Oacute=211,e.Oacutesmall=63475,e.Obarredcyrillic=1256,e.Obarreddieresiscyrillic=1258,e.Obreve=334,e.Ocaron=465,e.Ocenteredtilde=415,e.Ocircle=9412,e.Ocircumflex=212,e.Ocircumflexacute=7888,e.Ocircumflexdotbelow=7896,e.Ocircumflexgrave=7890,e.Ocircumflexhookabove=7892,e.Ocircumflexsmall=63476,e.Ocircumflextilde=7894,e.Ocyrillic=1054,e.Odblacute=336,e.Odblgrave=524,e.Odieresis=214,e.Odieresiscyrillic=1254,e.Odieresissmall=63478,e.Odotbelow=7884,e.Ogoneksmall=63227,e.Ograve=210,e.Ogravesmall=63474,e.Oharmenian=1365,e.Ohm=8486,e.Ohookabove=7886,e.Ohorn=416,e.Ohornacute=7898,e.Ohorndotbelow=7906,e.Ohorngrave=7900,e.Ohornhookabove=7902,e.Ohorntilde=7904,e.Ohungarumlaut=336,e.Oi=418,e.Oinvertedbreve=526,e.Omacron=332,e.Omacronacute=7762,e.Omacrongrave=7760,e.Omega=8486,e.Omegacyrillic=1120,e.Omegagreek=937,e.Omegaroundcyrillic=1146,e.Omegatitlocyrillic=1148,e.Omegatonos=911,e.Omicron=927,e.Omicrontonos=908,e.Omonospace=65327,e.Oneroman=8544,e.Oogonek=490,e.Oogonekmacron=492,e.Oopen=390,e.Oslash=216,e.Oslashacute=510,e.Oslashsmall=63480,e.Osmall=63343,e.Ostrokeacute=510,e.Otcyrillic=1150,e.Otilde=213,e.Otildeacute=7756,e.Otildedieresis=7758,e.Otildesmall=63477,e.P=80,e.Pacute=7764,e.Pcircle=9413,e.Pdotaccent=7766,e.Pecyrillic=1055,e.Peharmenian=1354,e.Pemiddlehookcyrillic=1190,e.Phi=934,e.Phook=420,e.Pi=928,e.Piwrarmenian=1363,e.Pmonospace=65328,e.Psi=936,e.Psicyrillic=1136,e.Psmall=63344,e.Q=81,e.Qcircle=9414,e.Qmonospace=65329,e.Qsmall=63345,e.R=82,e.Raarmenian=1356,e.Racute=340,e.Rcaron=344,e.Rcedilla=342,e.Rcircle=9415,e.Rcommaaccent=342,e.Rdblgrave=528,e.Rdotaccent=7768,e.Rdotbelow=7770,e.Rdotbelowmacron=7772,e.Reharmenian=1360,e.Rfraktur=8476,e.Rho=929,e.Ringsmall=63228,e.Rinvertedbreve=530,e.Rlinebelow=7774,e.Rmonospace=65330,e.Rsmall=63346,e.Rsmallinverted=641,e.Rsmallinvertedsuperior=694,e.S=83,e.SF010000=9484,e.SF020000=9492,e.SF030000=9488,e.SF040000=9496,e.SF050000=9532,e.SF060000=9516,e.SF070000=9524,e.SF080000=9500,e.SF090000=9508,e.SF100000=9472,e.SF110000=9474,e.SF190000=9569,e.SF200000=9570,e.SF210000=9558,e.SF220000=9557,e.SF230000=9571,e.SF240000=9553,e.SF250000=9559,e.SF260000=9565,e.SF270000=9564,e.SF280000=9563,e.SF360000=9566,e.SF370000=9567,e.SF380000=9562,e.SF390000=9556,e.SF400000=9577,e.SF410000=9574,e.SF420000=9568,e.SF430000=9552,e.SF440000=9580,e.SF450000=9575,e.SF460000=9576,e.SF470000=9572,e.SF480000=9573,e.SF490000=9561,e.SF500000=9560,e.SF510000=9554,e.SF520000=9555,e.SF530000=9579,e.SF540000=9578,e.Sacute=346,e.Sacutedotaccent=7780,e.Sampigreek=992,e.Scaron=352,e.Scarondotaccent=7782,e.Scaronsmall=63229,e.Scedilla=350,e.Schwa=399,e.Schwacyrillic=1240,e.Schwadieresiscyrillic=1242,e.Scircle=9416,e.Scircumflex=348,e.Scommaaccent=536,e.Sdotaccent=7776,e.Sdotbelow=7778,e.Sdotbelowdotaccent=7784,e.Seharmenian=1357,e.Sevenroman=8550,e.Shaarmenian=1351,e.Shacyrillic=1064,e.Shchacyrillic=1065,e.Sheicoptic=994,e.Shhacyrillic=1210,e.Shimacoptic=1004,e.Sigma=931,e.Sixroman=8549,e.Smonospace=65331,e.Softsigncyrillic=1068,e.Ssmall=63347,e.Stigmagreek=986,e.T=84,e.Tau=932,e.Tbar=358,e.Tcaron=356,e.Tcedilla=354,e.Tcircle=9417,e.Tcircumflexbelow=7792,e.Tcommaaccent=354,e.Tdotaccent=7786,e.Tdotbelow=7788,e.Tecyrillic=1058,e.Tedescendercyrillic=1196,e.Tenroman=8553,e.Tetsecyrillic=1204,e.Theta=920,e.Thook=428,e.Thorn=222,e.Thornsmall=63486,e.Threeroman=8546,e.Tildesmall=63230,e.Tiwnarmenian=1359,e.Tlinebelow=7790,e.Tmonospace=65332,e.Toarmenian=1337,e.Tonefive=444,e.Tonesix=388,e.Tonetwo=423,e.Tretroflexhook=430,e.Tsecyrillic=1062,e.Tshecyrillic=1035,e.Tsmall=63348,e.Twelveroman=8555,e.Tworoman=8545,e.U=85,e.Uacute=218,e.Uacutesmall=63482,e.Ubreve=364,e.Ucaron=467,e.Ucircle=9418,e.Ucircumflex=219,e.Ucircumflexbelow=7798,e.Ucircumflexsmall=63483,e.Ucyrillic=1059,e.Udblacute=368,e.Udblgrave=532,e.Udieresis=220,e.Udieresisacute=471,e.Udieresisbelow=7794,e.Udieresiscaron=473,e.Udieresiscyrillic=1264,e.Udieresisgrave=475,e.Udieresismacron=469,e.Udieresissmall=63484,e.Udotbelow=7908,e.Ugrave=217,e.Ugravesmall=63481,e.Uhookabove=7910,e.Uhorn=431,e.Uhornacute=7912,e.Uhorndotbelow=7920,e.Uhorngrave=7914,e.Uhornhookabove=7916,e.Uhorntilde=7918,e.Uhungarumlaut=368,e.Uhungarumlautcyrillic=1266,e.Uinvertedbreve=534,e.Ukcyrillic=1144,e.Umacron=362,e.Umacroncyrillic=1262,e.Umacrondieresis=7802,e.Umonospace=65333,e.Uogonek=370,e.Upsilon=933,e.Upsilon1=978,e.Upsilonacutehooksymbolgreek=979,e.Upsilonafrican=433,e.Upsilondieresis=939,e.Upsilondieresishooksymbolgreek=980,e.Upsilonhooksymbol=978,e.Upsilontonos=910,e.Uring=366,e.Ushortcyrillic=1038,e.Usmall=63349,e.Ustraightcyrillic=1198,e.Ustraightstrokecyrillic=1200,e.Utilde=360,e.Utildeacute=7800,e.Utildebelow=7796,e.V=86,e.Vcircle=9419,e.Vdotbelow=7806,e.Vecyrillic=1042,e.Vewarmenian=1358,e.Vhook=434,e.Vmonospace=65334,e.Voarmenian=1352,e.Vsmall=63350,e.Vtilde=7804,e.W=87,e.Wacute=7810,e.Wcircle=9420,e.Wcircumflex=372,e.Wdieresis=7812,e.Wdotaccent=7814,e.Wdotbelow=7816,e.Wgrave=7808,e.Wmonospace=65335,e.Wsmall=63351,e.X=88,e.Xcircle=9421,e.Xdieresis=7820,e.Xdotaccent=7818,e.Xeharmenian=1341,e.Xi=926,e.Xmonospace=65336,e.Xsmall=63352,e.Y=89,e.Yacute=221,e.Yacutesmall=63485,e.Yatcyrillic=1122,e.Ycircle=9422,e.Ycircumflex=374,e.Ydieresis=376,e.Ydieresissmall=63487,e.Ydotaccent=7822,e.Ydotbelow=7924,e.Yericyrillic=1067,e.Yerudieresiscyrillic=1272,e.Ygrave=7922,e.Yhook=435,e.Yhookabove=7926,e.Yiarmenian=1349,e.Yicyrillic=1031,e.Yiwnarmenian=1362,e.Ymonospace=65337,e.Ysmall=63353,e.Ytilde=7928,e.Yusbigcyrillic=1130,e.Yusbigiotifiedcyrillic=1132,e.Yuslittlecyrillic=1126,e.Yuslittleiotifiedcyrillic=1128,e.Z=90,e.Zaarmenian=1334,e.Zacute=377,e.Zcaron=381,e.Zcaronsmall=63231,e.Zcircle=9423,e.Zcircumflex=7824,e.Zdot=379,e.Zdotaccent=379,e.Zdotbelow=7826,e.Zecyrillic=1047,e.Zedescendercyrillic=1176,e.Zedieresiscyrillic=1246,e.Zeta=918,e.Zhearmenian=1338,e.Zhebrevecyrillic=1217,e.Zhecyrillic=1046,e.Zhedescendercyrillic=1174,e.Zhedieresiscyrillic=1244,e.Zlinebelow=7828,e.Zmonospace=65338,e.Zsmall=63354,e.Zstroke=437,e.a=97,e.aabengali=2438,e.aacute=225,e.aadeva=2310,e.aagujarati=2694,e.aagurmukhi=2566,e.aamatragurmukhi=2622,e.aarusquare=13059,e.aavowelsignbengali=2494,e.aavowelsigndeva=2366,e.aavowelsigngujarati=2750,e.abbreviationmarkarmenian=1375,e.abbreviationsigndeva=2416,e.abengali=2437,e.abopomofo=12570,e.abreve=259,e.abreveacute=7855,e.abrevecyrillic=1233,e.abrevedotbelow=7863,e.abrevegrave=7857,e.abrevehookabove=7859,e.abrevetilde=7861,e.acaron=462,e.acircle=9424,e.acircumflex=226,e.acircumflexacute=7845,e.acircumflexdotbelow=7853,e.acircumflexgrave=7847,e.acircumflexhookabove=7849,e.acircumflextilde=7851,e.acute=180,e.acutebelowcmb=791,e.acutecmb=769,e.acutecomb=769,e.acutedeva=2388,e.acutelowmod=719,e.acutetonecmb=833,e.acyrillic=1072,e.adblgrave=513,e.addakgurmukhi=2673,e.adeva=2309,e.adieresis=228,e.adieresiscyrillic=1235,e.adieresismacron=479,e.adotbelow=7841,e.adotmacron=481,e.ae=230,e.aeacute=509,e.aekorean=12624,e.aemacron=483,e.afii00208=8213,e.afii08941=8356,e.afii10017=1040,e.afii10018=1041,e.afii10019=1042,e.afii10020=1043,e.afii10021=1044,e.afii10022=1045,e.afii10023=1025,e.afii10024=1046,e.afii10025=1047,e.afii10026=1048,e.afii10027=1049,e.afii10028=1050,e.afii10029=1051,e.afii10030=1052;e.afii10031=1053,e.afii10032=1054,e.afii10033=1055,e.afii10034=1056,e.afii10035=1057,e.afii10036=1058,e.afii10037=1059,e.afii10038=1060,e.afii10039=1061,e.afii10040=1062,e.afii10041=1063,e.afii10042=1064,e.afii10043=1065,e.afii10044=1066,e.afii10045=1067,e.afii10046=1068,e.afii10047=1069,e.afii10048=1070,e.afii10049=1071,e.afii10050=1168,e.afii10051=1026,e.afii10052=1027,e.afii10053=1028,e.afii10054=1029,e.afii10055=1030,e.afii10056=1031,e.afii10057=1032,e.afii10058=1033,e.afii10059=1034,e.afii10060=1035,e.afii10061=1036,e.afii10062=1038,e.afii10063=63172,e.afii10064=63173,e.afii10065=1072,e.afii10066=1073,e.afii10067=1074,e.afii10068=1075,e.afii10069=1076,e.afii10070=1077,e.afii10071=1105,e.afii10072=1078,e.afii10073=1079,e.afii10074=1080,e.afii10075=1081,e.afii10076=1082,e.afii10077=1083,e.afii10078=1084,e.afii10079=1085,e.afii10080=1086,e.afii10081=1087,e.afii10082=1088,e.afii10083=1089,e.afii10084=1090,e.afii10085=1091,e.afii10086=1092,e.afii10087=1093,e.afii10088=1094,e.afii10089=1095,e.afii10090=1096,e.afii10091=1097,e.afii10092=1098,e.afii10093=1099,e.afii10094=1100,e.afii10095=1101,e.afii10096=1102,e.afii10097=1103,e.afii10098=1169,e.afii10099=1106,e.afii10100=1107,e.afii10101=1108,e.afii10102=1109,e.afii10103=1110,e.afii10104=1111,e.afii10105=1112,e.afii10106=1113,e.afii10107=1114,e.afii10108=1115,e.afii10109=1116,e.afii10110=1118,e.afii10145=1039,e.afii10146=1122,e.afii10147=1138,e.afii10148=1140,e.afii10192=63174,e.afii10193=1119,e.afii10194=1123,e.afii10195=1139,e.afii10196=1141,e.afii10831=63175,e.afii10832=63176,e.afii10846=1241,e.afii299=8206,e.afii300=8207,e.afii301=8205,e.afii57381=1642,e.afii57388=1548,e.afii57392=1632,e.afii57393=1633,e.afii57394=1634,e.afii57395=1635,e.afii57396=1636,e.afii57397=1637,e.afii57398=1638,e.afii57399=1639,e.afii57400=1640,e.afii57401=1641,e.afii57403=1563,e.afii57407=1567,e.afii57409=1569,e.afii57410=1570,e.afii57411=1571,e.afii57412=1572,e.afii57413=1573,e.afii57414=1574,e.afii57415=1575,e.afii57416=1576,e.afii57417=1577,e.afii57418=1578,e.afii57419=1579,e.afii57420=1580,e.afii57421=1581,e.afii57422=1582,e.afii57423=1583,e.afii57424=1584,e.afii57425=1585,e.afii57426=1586,e.afii57427=1587,e.afii57428=1588,e.afii57429=1589,e.afii57430=1590,e.afii57431=1591,e.afii57432=1592,e.afii57433=1593,e.afii57434=1594,e.afii57440=1600,e.afii57441=1601,e.afii57442=1602,e.afii57443=1603,e.afii57444=1604,e.afii57445=1605,e.afii57446=1606,e.afii57448=1608,e.afii57449=1609,e.afii57450=1610,e.afii57451=1611,e.afii57452=1612,e.afii57453=1613,e.afii57454=1614,e.afii57455=1615,e.afii57456=1616,e.afii57457=1617,e.afii57458=1618,e.afii57470=1607,e.afii57505=1700,e.afii57506=1662,e.afii57507=1670,e.afii57508=1688,e.afii57509=1711,e.afii57511=1657,e.afii57512=1672,e.afii57513=1681,e.afii57514=1722,e.afii57519=1746,e.afii57534=1749,e.afii57636=8362,e.afii57645=1470,e.afii57658=1475,e.afii57664=1488,e.afii57665=1489,e.afii57666=1490,e.afii57667=1491,e.afii57668=1492,e.afii57669=1493,e.afii57670=1494,e.afii57671=1495,e.afii57672=1496,e.afii57673=1497,e.afii57674=1498,e.afii57675=1499,e.afii57676=1500,e.afii57677=1501,e.afii57678=1502,e.afii57679=1503,e.afii57680=1504,e.afii57681=1505,e.afii57682=1506,e.afii57683=1507,e.afii57684=1508,e.afii57685=1509,e.afii57686=1510,e.afii57687=1511,e.afii57688=1512,e.afii57689=1513,e.afii57690=1514,e.afii57694=64298,e.afii57695=64299,e.afii57700=64331,e.afii57705=64287,e.afii57716=1520,e.afii57717=1521,e.afii57718=1522,e.afii57723=64309,e.afii57793=1460,e.afii57794=1461,e.afii57795=1462,e.afii57796=1467,e.afii57797=1464,e.afii57798=1463,e.afii57799=1456,e.afii57800=1458,e.afii57801=1457,e.afii57802=1459,e.afii57803=1474,e.afii57804=1473,e.afii57806=1465,e.afii57807=1468,e.afii57839=1469,e.afii57841=1471,e.afii57842=1472,e.afii57929=700,e.afii61248=8453,e.afii61289=8467,e.afii61352=8470,e.afii61573=8236,e.afii61574=8237,e.afii61575=8238,e.afii61664=8204,e.afii63167=1645,e.afii64937=701,e.agrave=224,e.agujarati=2693,e.agurmukhi=2565,e.ahiragana=12354,e.ahookabove=7843,e.aibengali=2448,e.aibopomofo=12574,e.aideva=2320,e.aiecyrillic=1237,e.aigujarati=2704,e.aigurmukhi=2576,e.aimatragurmukhi=2632,e.ainarabic=1593,e.ainfinalarabic=65226,e.aininitialarabic=65227,e.ainmedialarabic=65228,e.ainvertedbreve=515,e.aivowelsignbengali=2504,e.aivowelsigndeva=2376,e.aivowelsigngujarati=2760,e.akatakana=12450,e.akatakanahalfwidth=65393,e.akorean=12623,e.alef=1488,e.alefarabic=1575,e.alefdageshhebrew=64304,e.aleffinalarabic=65166,e.alefhamzaabovearabic=1571,e.alefhamzaabovefinalarabic=65156,e.alefhamzabelowarabic=1573,e.alefhamzabelowfinalarabic=65160,e.alefhebrew=1488,e.aleflamedhebrew=64335,e.alefmaddaabovearabic=1570,e.alefmaddaabovefinalarabic=65154,e.alefmaksuraarabic=1609,e.alefmaksurafinalarabic=65264,e.alefmaksurainitialarabic=65267,e.alefmaksuramedialarabic=65268,e.alefpatahhebrew=64302,e.alefqamatshebrew=64303,e.aleph=8501,e.allequal=8780,e.alpha=945,e.alphatonos=940,e.amacron=257,e.amonospace=65345,e.ampersand=38,e.ampersandmonospace=65286,e.ampersandsmall=63270,e.amsquare=13250,e.anbopomofo=12578,e.angbopomofo=12580,e.angbracketleft=12296,e.angbracketright=12297,e.angkhankhuthai=3674,e.angle=8736,e.anglebracketleft=12296,e.anglebracketleftvertical=65087,e.anglebracketright=12297,e.anglebracketrightvertical=65088,e.angleleft=9001,e.angleright=9002,e.angstrom=8491,e.anoteleia=903,e.anudattadeva=2386,e.anusvarabengali=2434,e.anusvaradeva=2306,e.anusvaragujarati=2690,e.aogonek=261,e.apaatosquare=13056,e.aparen=9372,e.apostrophearmenian=1370,e.apostrophemod=700,e.apple=63743,e.approaches=8784,e.approxequal=8776,e.approxequalorimage=8786,e.approximatelyequal=8773,e.araeaekorean=12686,e.araeakorean=12685,e.arc=8978,e.arighthalfring=7834,e.aring=229,e.aringacute=507,e.aringbelow=7681,e.arrowboth=8596,e.arrowdashdown=8675,e.arrowdashleft=8672,e.arrowdashright=8674,e.arrowdashup=8673,e.arrowdblboth=8660,e.arrowdbldown=8659,e.arrowdblleft=8656,e.arrowdblright=8658,e.arrowdblup=8657,e.arrowdown=8595,e.arrowdownleft=8601,e.arrowdownright=8600,e.arrowdownwhite=8681,e.arrowheaddownmod=709,e.arrowheadleftmod=706,e.arrowheadrightmod=707,e.arrowheadupmod=708,e.arrowhorizex=63719,e.arrowleft=8592,e.arrowleftdbl=8656,e.arrowleftdblstroke=8653,e.arrowleftoverright=8646,e.arrowleftwhite=8678,e.arrowright=8594,e.arrowrightdblstroke=8655,e.arrowrightheavy=10142,e.arrowrightoverleft=8644,e.arrowrightwhite=8680,e.arrowtableft=8676,e.arrowtabright=8677,e.arrowup=8593,e.arrowupdn=8597,e.arrowupdnbse=8616,e.arrowupdownbase=8616,e.arrowupleft=8598,e.arrowupleftofdown=8645,e.arrowupright=8599,e.arrowupwhite=8679,e.arrowvertex=63718,e.asciicircum=94,e.asciicircummonospace=65342,e.asciitilde=126,e.asciitildemonospace=65374,e.ascript=593,e.ascriptturned=594,e.asmallhiragana=12353,e.asmallkatakana=12449,e.asmallkatakanahalfwidth=65383,e.asterisk=42,e.asteriskaltonearabic=1645,e.asteriskarabic=1645,e.asteriskmath=8727,e.asteriskmonospace=65290,e.asterisksmall=65121,e.asterism=8258,e.asuperior=63209,e.asymptoticallyequal=8771,e.at=64,e.atilde=227,e.atmonospace=65312,e.atsmall=65131,e.aturned=592,e.aubengali=2452,e.aubopomofo=12576,e.audeva=2324,e.augujarati=2708,e.augurmukhi=2580,e.aulengthmarkbengali=2519,e.aumatragurmukhi=2636,e.auvowelsignbengali=2508,e.auvowelsigndeva=2380,e.auvowelsigngujarati=2764,e.avagrahadeva=2365,e.aybarmenian=1377,e.ayin=1506,e.ayinaltonehebrew=64288,e.ayinhebrew=1506,e.b=98,e.babengali=2476,e.backslash=92,e.backslashmonospace=65340,e.badeva=2348,e.bagujarati=2732,e.bagurmukhi=2604,e.bahiragana=12400,e.bahtthai=3647,e.bakatakana=12496,e.bar=124,e.barmonospace=65372,e.bbopomofo=12549,e.bcircle=9425,e.bdotaccent=7683,e.bdotbelow=7685,e.beamedsixteenthnotes=9836,e.because=8757,e.becyrillic=1073,e.beharabic=1576,e.behfinalarabic=65168,e.behinitialarabic=65169,e.behiragana=12409,e.behmedialarabic=65170,e.behmeeminitialarabic=64671,e.behmeemisolatedarabic=64520,e.behnoonfinalarabic=64621,e.bekatakana=12505,e.benarmenian=1378,e.bet=1489,e.beta=946,e.betasymbolgreek=976,e.betdagesh=64305,e.betdageshhebrew=64305,e.bethebrew=1489,e.betrafehebrew=64332,e.bhabengali=2477,e.bhadeva=2349,e.bhagujarati=2733,e.bhagurmukhi=2605,e.bhook=595,e.bihiragana=12403,e.bikatakana=12499,e.bilabialclick=664,e.bindigurmukhi=2562,e.birusquare=13105,e.blackcircle=9679,e.blackdiamond=9670,e.blackdownpointingtriangle=9660,e.blackleftpointingpointer=9668,e.blackleftpointingtriangle=9664,e.blacklenticularbracketleft=12304,e.blacklenticularbracketleftvertical=65083,e.blacklenticularbracketright=12305,e.blacklenticularbracketrightvertical=65084,e.blacklowerlefttriangle=9699,e.blacklowerrighttriangle=9698,e.blackrectangle=9644,e.blackrightpointingpointer=9658,e.blackrightpointingtriangle=9654,e.blacksmallsquare=9642,e.blacksmilingface=9787,e.blacksquare=9632,e.blackstar=9733,e.blackupperlefttriangle=9700,e.blackupperrighttriangle=9701,e.blackuppointingsmalltriangle=9652,e.blackuppointingtriangle=9650,e.blank=9251,e.blinebelow=7687,e.block=9608,e.bmonospace=65346,e.bobaimaithai=3610,e.bohiragana=12412,e.bokatakana=12508,e.bparen=9373,e.bqsquare=13251,e.braceex=63732,e.braceleft=123,e.braceleftbt=63731,e.braceleftmid=63730,e.braceleftmonospace=65371,e.braceleftsmall=65115,e.bracelefttp=63729,e.braceleftvertical=65079,e.braceright=125,e.bracerightbt=63742,e.bracerightmid=63741,e.bracerightmonospace=65373,e.bracerightsmall=65116,e.bracerighttp=63740,e.bracerightvertical=65080,e.bracketleft=91,e.bracketleftbt=63728,e.bracketleftex=63727,e.bracketleftmonospace=65339,e.bracketlefttp=63726,e.bracketright=93,e.bracketrightbt=63739,e.bracketrightex=63738,e.bracketrightmonospace=65341,e.bracketrighttp=63737,e.breve=728,e.brevebelowcmb=814,e.brevecmb=774,e.breveinvertedbelowcmb=815,e.breveinvertedcmb=785,e.breveinverteddoublecmb=865,e.bridgebelowcmb=810,e.bridgeinvertedbelowcmb=826,e.brokenbar=166,e.bstroke=384,e.bsuperior=63210,e.btopbar=387,e.buhiragana=12406,e.bukatakana=12502,e.bullet=8226,e.bulletinverse=9688,e.bulletoperator=8729,e.bullseye=9678,e.c=99,e.caarmenian=1390,e.cabengali=2458,e.cacute=263,e.cadeva=2330,e.cagujarati=2714,e.cagurmukhi=2586,e.calsquare=13192,e.candrabindubengali=2433,e.candrabinducmb=784,e.candrabindudeva=2305,e.candrabindugujarati=2689,e.capslock=8682,e.careof=8453,e.caron=711,e.caronbelowcmb=812,e.caroncmb=780,e.carriagereturn=8629,e.cbopomofo=12568,e.ccaron=269,e.ccedilla=231,e.ccedillaacute=7689,e.ccircle=9426,e.ccircumflex=265,e.ccurl=597,e.cdot=267,e.cdotaccent=267,e.cdsquare=13253,e.cedilla=184,e.cedillacmb=807,e.cent=162,e.centigrade=8451,e.centinferior=63199,e.centmonospace=65504,e.centoldstyle=63394,e.centsuperior=63200,e.chaarmenian=1401,e.chabengali=2459,e.chadeva=2331,e.chagujarati=2715,e.chagurmukhi=2587,e.chbopomofo=12564,e.cheabkhasiancyrillic=1213,e.checkmark=10003,e.checyrillic=1095,e.chedescenderabkhasiancyrillic=1215,e.chedescendercyrillic=1207,e.chedieresiscyrillic=1269,e.cheharmenian=1395,e.chekhakassiancyrillic=1228,e.cheverticalstrokecyrillic=1209,e.chi=967,e.chieuchacirclekorean=12919,e.chieuchaparenkorean=12823,e.chieuchcirclekorean=12905,e.chieuchkorean=12618,e.chieuchparenkorean=12809,e.chochangthai=3594,e.chochanthai=3592,e.chochingthai=3593,e.chochoethai=3596,e.chook=392,e.cieucacirclekorean=12918,e.cieucaparenkorean=12822,e.cieuccirclekorean=12904,e.cieuckorean=12616,e.cieucparenkorean=12808,e.cieucuparenkorean=12828,e.circle=9675,e.circlecopyrt=169,e.circlemultiply=8855,e.circleot=8857,e.circleplus=8853,e.circlepostalmark=12342,e.circlewithlefthalfblack=9680,e.circlewithrighthalfblack=9681,e.circumflex=710,e.circumflexbelowcmb=813,e.circumflexcmb=770,e.clear=8999,e.clickalveolar=450,e.clickdental=448,e.clicklateral=449,e.clickretroflex=451,e.club=9827,e.clubsuitblack=9827,e.clubsuitwhite=9831,e.cmcubedsquare=13220,e.cmonospace=65347,e.cmsquaredsquare=13216,e.coarmenian=1409,e.colon=58,e.colonmonetary=8353,e.colonmonospace=65306,e.colonsign=8353,e.colonsmall=65109,e.colontriangularhalfmod=721,e.colontriangularmod=720,e.comma=44,e.commaabovecmb=787,e.commaaboverightcmb=789,e.commaaccent=63171,e.commaarabic=1548,e.commaarmenian=1373,e.commainferior=63201,e.commamonospace=65292,e.commareversedabovecmb=788,e.commareversedmod=701,e.commasmall=65104,e.commasuperior=63202,e.commaturnedabovecmb=786,e.commaturnedmod=699,e.compass=9788,e.congruent=8773,e.contourintegral=8750,e.control=8963,e.controlACK=6,e.controlBEL=7,e.controlBS=8,e.controlCAN=24,e.controlCR=13,e.controlDC1=17,e.controlDC2=18,e.controlDC3=19,e.controlDC4=20,e.controlDEL=127,e.controlDLE=16,e.controlEM=25,e.controlENQ=5,e.controlEOT=4,e.controlESC=27,e.controlETB=23,e.controlETX=3,e.controlFF=12,e.controlFS=28,e.controlGS=29,e.controlHT=9,e.controlLF=10,e.controlNAK=21,e.controlNULL=0,e.controlRS=30,e.controlSI=15,e.controlSO=14,e.controlSOT=2,e.controlSTX=1,e.controlSUB=26,e.controlSYN=22,e.controlUS=31,e.controlVT=11,e.copyright=169,e.copyrightsans=63721,e.copyrightserif=63193,e.cornerbracketleft=12300,e.cornerbracketlefthalfwidth=65378,e.cornerbracketleftvertical=65089,e.cornerbracketright=12301,e.cornerbracketrighthalfwidth=65379,e.cornerbracketrightvertical=65090,e.corporationsquare=13183,e.cosquare=13255,e.coverkgsquare=13254,e.cparen=9374,e.cruzeiro=8354,e.cstretched=663,e.curlyand=8911,e.curlyor=8910,e.currency=164,e.cyrBreve=63185,e.cyrFlex=63186,e.cyrbreve=63188,e.cyrflex=63189,e.d=100,e.daarmenian=1380,e.dabengali=2470,e.dadarabic=1590,e.dadeva=2342,e.dadfinalarabic=65214,e.dadinitialarabic=65215,e.dadmedialarabic=65216,e.dagesh=1468,e.dageshhebrew=1468,e.dagger=8224,e.daggerdbl=8225,e.dagujarati=2726,e.dagurmukhi=2598,e.dahiragana=12384,e.dakatakana=12480,e.dalarabic=1583,e.dalet=1491,e.daletdagesh=64307,e.daletdageshhebrew=64307,e.dalethebrew=1491,e.dalfinalarabic=65194,e.dammaarabic=1615,e.dammalowarabic=1615,e.dammatanaltonearabic=1612,e.dammatanarabic=1612,e.danda=2404,e.dargahebrew=1447,e.dargalefthebrew=1447,e.dasiapneumatacyrilliccmb=1157,e.dblGrave=63187,e.dblanglebracketleft=12298,e.dblanglebracketleftvertical=65085,e.dblanglebracketright=12299,e.dblanglebracketrightvertical=65086,e.dblarchinvertedbelowcmb=811,e.dblarrowleft=8660,e.dblarrowright=8658,e.dbldanda=2405,e.dblgrave=63190,e.dblgravecmb=783,e.dblintegral=8748,e.dbllowline=8215,e.dbllowlinecmb=819,e.dbloverlinecmb=831,e.dblprimemod=698,e.dblverticalbar=8214,e.dblverticallineabovecmb=782,e.dbopomofo=12553,e.dbsquare=13256,e.dcaron=271,e.dcedilla=7697,e.dcircle=9427,e.dcircumflexbelow=7699,e.dcroat=273,e.ddabengali=2465,e.ddadeva=2337,e.ddagujarati=2721,e.ddagurmukhi=2593,e.ddalarabic=1672,e.ddalfinalarabic=64393,e.dddhadeva=2396,e.ddhabengali=2466,e.ddhadeva=2338,e.ddhagujarati=2722,e.ddhagurmukhi=2594,e.ddotaccent=7691,e.ddotbelow=7693,e.decimalseparatorarabic=1643,e.decimalseparatorpersian=1643,e.decyrillic=1076,e.degree=176,e.dehihebrew=1453,e.dehiragana=12391,e.deicoptic=1007,e.dekatakana=12487,e.deleteleft=9003,e.deleteright=8998,e.delta=948,e.deltaturned=397,e.denominatorminusonenumeratorbengali=2552,e.dezh=676,e.dhabengali=2471,e.dhadeva=2343,e.dhagujarati=2727,e.dhagurmukhi=2599,e.dhook=599,e.dialytikatonos=901,e.dialytikatonoscmb=836,e.diamond=9830,e.diamondsuitwhite=9826,e.dieresis=168,e.dieresisacute=63191,e.dieresisbelowcmb=804,e.dieresiscmb=776,e.dieresisgrave=63192,e.dieresistonos=901,e.dihiragana=12386,e.dikatakana=12482,e.dittomark=12291,e.divide=247,e.divides=8739,e.divisionslash=8725,e.djecyrillic=1106,e.dkshade=9619,e.dlinebelow=7695,e.dlsquare=13207,e.dmacron=273,e.dmonospace=65348,e.dnblock=9604,e.dochadathai=3598,e.dodekthai=3604,e.dohiragana=12393,e.dokatakana=12489,e.dollar=36;e.dollarinferior=63203,e.dollarmonospace=65284,e.dollaroldstyle=63268,e.dollarsmall=65129,e.dollarsuperior=63204,e.dong=8363,e.dorusquare=13094,e.dotaccent=729,e.dotaccentcmb=775,e.dotbelowcmb=803,e.dotbelowcomb=803,e.dotkatakana=12539,e.dotlessi=305,e.dotlessj=63166,e.dotlessjstrokehook=644,e.dotmath=8901,e.dottedcircle=9676,e.doubleyodpatah=64287,e.doubleyodpatahhebrew=64287,e.downtackbelowcmb=798,e.downtackmod=725,e.dparen=9375,e.dsuperior=63211,e.dtail=598,e.dtopbar=396,e.duhiragana=12389,e.dukatakana=12485,e.dz=499,e.dzaltone=675,e.dzcaron=454,e.dzcurl=677,e.dzeabkhasiancyrillic=1249,e.dzecyrillic=1109,e.dzhecyrillic=1119,e.e=101,e.eacute=233,e.earth=9793,e.ebengali=2447,e.ebopomofo=12572,e.ebreve=277,e.ecandradeva=2317,e.ecandragujarati=2701,e.ecandravowelsigndeva=2373,e.ecandravowelsigngujarati=2757,e.ecaron=283,e.ecedillabreve=7709,e.echarmenian=1381,e.echyiwnarmenian=1415,e.ecircle=9428,e.ecircumflex=234,e.ecircumflexacute=7871,e.ecircumflexbelow=7705,e.ecircumflexdotbelow=7879,e.ecircumflexgrave=7873,e.ecircumflexhookabove=7875,e.ecircumflextilde=7877,e.ecyrillic=1108,e.edblgrave=517,e.edeva=2319,e.edieresis=235,e.edot=279,e.edotaccent=279,e.edotbelow=7865,e.eegurmukhi=2575,e.eematragurmukhi=2631,e.efcyrillic=1092,e.egrave=232,e.egujarati=2703,e.eharmenian=1383,e.ehbopomofo=12573,e.ehiragana=12360,e.ehookabove=7867,e.eibopomofo=12575,e.eight=56,e.eightarabic=1640,e.eightbengali=2542,e.eightcircle=9319,e.eightcircleinversesansserif=10129,e.eightdeva=2414,e.eighteencircle=9329,e.eighteenparen=9349,e.eighteenperiod=9369,e.eightgujarati=2798,e.eightgurmukhi=2670,e.eighthackarabic=1640,e.eighthangzhou=12328,e.eighthnotebeamed=9835,e.eightideographicparen=12839,e.eightinferior=8328,e.eightmonospace=65304,e.eightoldstyle=63288,e.eightparen=9339,e.eightperiod=9359,e.eightpersian=1784,e.eightroman=8567,e.eightsuperior=8312,e.eightthai=3672,e.einvertedbreve=519,e.eiotifiedcyrillic=1125,e.ekatakana=12456,e.ekatakanahalfwidth=65396,e.ekonkargurmukhi=2676,e.ekorean=12628,e.elcyrillic=1083,e.element=8712,e.elevencircle=9322,e.elevenparen=9342,e.elevenperiod=9362,e.elevenroman=8570,e.ellipsis=8230,e.ellipsisvertical=8942,e.emacron=275,e.emacronacute=7703,e.emacrongrave=7701,e.emcyrillic=1084,e.emdash=8212,e.emdashvertical=65073,e.emonospace=65349,e.emphasismarkarmenian=1371,e.emptyset=8709,e.enbopomofo=12579,e.encyrillic=1085,e.endash=8211,e.endashvertical=65074,e.endescendercyrillic=1187,e.eng=331,e.engbopomofo=12581,e.enghecyrillic=1189,e.enhookcyrillic=1224,e.enspace=8194,e.eogonek=281,e.eokorean=12627,e.eopen=603,e.eopenclosed=666,e.eopenreversed=604,e.eopenreversedclosed=606,e.eopenreversedhook=605,e.eparen=9376,e.epsilon=949,e.epsilontonos=941,e.equal=61,e.equalmonospace=65309,e.equalsmall=65126,e.equalsuperior=8316,e.equivalence=8801,e.erbopomofo=12582,e.ercyrillic=1088,e.ereversed=600,e.ereversedcyrillic=1101,e.escyrillic=1089,e.esdescendercyrillic=1195,e.esh=643,e.eshcurl=646,e.eshortdeva=2318,e.eshortvowelsigndeva=2374,e.eshreversedloop=426,e.eshsquatreversed=645,e.esmallhiragana=12359,e.esmallkatakana=12455,e.esmallkatakanahalfwidth=65386,e.estimated=8494,e.esuperior=63212,e.eta=951,e.etarmenian=1384,e.etatonos=942,e.eth=240,e.etilde=7869,e.etildebelow=7707,e.etnahtafoukhhebrew=1425,e.etnahtafoukhlefthebrew=1425,e.etnahtahebrew=1425,e.etnahtalefthebrew=1425,e.eturned=477,e.eukorean=12641,e.euro=8364,e.evowelsignbengali=2503,e.evowelsigndeva=2375,e.evowelsigngujarati=2759,e.exclam=33,e.exclamarmenian=1372,e.exclamdbl=8252,e.exclamdown=161,e.exclamdownsmall=63393,e.exclammonospace=65281,e.exclamsmall=63265,e.existential=8707,e.ezh=658,e.ezhcaron=495,e.ezhcurl=659,e.ezhreversed=441,e.ezhtail=442,e.f=102,e.fadeva=2398,e.fagurmukhi=2654,e.fahrenheit=8457,e.fathaarabic=1614,e.fathalowarabic=1614,e.fathatanarabic=1611,e.fbopomofo=12552,e.fcircle=9429,e.fdotaccent=7711,e.feharabic=1601,e.feharmenian=1414,e.fehfinalarabic=65234,e.fehinitialarabic=65235,e.fehmedialarabic=65236,e.feicoptic=997,e.female=9792,e.ff=64256,e.f_f=64256,e.ffi=64259,e.f_f_i=64259,e.ffl=64260,e.f_f_l=64260,e.fi=64257,e.f_i=64257,e.fifteencircle=9326,e.fifteenparen=9346,e.fifteenperiod=9366,e.figuredash=8210,e.filledbox=9632,e.filledrect=9644,e.finalkaf=1498,e.finalkafdagesh=64314,e.finalkafdageshhebrew=64314,e.finalkafhebrew=1498,e.finalmem=1501,e.finalmemhebrew=1501,e.finalnun=1503,e.finalnunhebrew=1503,e.finalpe=1507,e.finalpehebrew=1507,e.finaltsadi=1509,e.finaltsadihebrew=1509,e.firsttonechinese=713,e.fisheye=9673,e.fitacyrillic=1139,e.five=53,e.fivearabic=1637,e.fivebengali=2539,e.fivecircle=9316,e.fivecircleinversesansserif=10126,e.fivedeva=2411,e.fiveeighths=8541,e.fivegujarati=2795,e.fivegurmukhi=2667,e.fivehackarabic=1637,e.fivehangzhou=12325,e.fiveideographicparen=12836,e.fiveinferior=8325,e.fivemonospace=65301,e.fiveoldstyle=63285,e.fiveparen=9336,e.fiveperiod=9356,e.fivepersian=1781,e.fiveroman=8564,e.fivesuperior=8309,e.fivethai=3669,e.fl=64258,e.f_l=64258,e.florin=402,e.fmonospace=65350,e.fmsquare=13209,e.fofanthai=3615,e.fofathai=3613,e.fongmanthai=3663,e.forall=8704,e.four=52,e.fourarabic=1636,e.fourbengali=2538,e.fourcircle=9315,e.fourcircleinversesansserif=10125,e.fourdeva=2410,e.fourgujarati=2794,e.fourgurmukhi=2666,e.fourhackarabic=1636,e.fourhangzhou=12324,e.fourideographicparen=12835,e.fourinferior=8324,e.fourmonospace=65300,e.fournumeratorbengali=2551,e.fouroldstyle=63284,e.fourparen=9335,e.fourperiod=9355,e.fourpersian=1780,e.fourroman=8563,e.foursuperior=8308,e.fourteencircle=9325,e.fourteenparen=9345,e.fourteenperiod=9365,e.fourthai=3668,e.fourthtonechinese=715,e.fparen=9377,e.fraction=8260,e.franc=8355,e.g=103,e.gabengali=2455,e.gacute=501,e.gadeva=2327,e.gafarabic=1711,e.gaffinalarabic=64403,e.gafinitialarabic=64404,e.gafmedialarabic=64405,e.gagujarati=2711,e.gagurmukhi=2583,e.gahiragana=12364,e.gakatakana=12460,e.gamma=947,e.gammalatinsmall=611,e.gammasuperior=736,e.gangiacoptic=1003,e.gbopomofo=12557,e.gbreve=287,e.gcaron=487,e.gcedilla=291,e.gcircle=9430,e.gcircumflex=285,e.gcommaaccent=291,e.gdot=289,e.gdotaccent=289,e.gecyrillic=1075,e.gehiragana=12370,e.gekatakana=12466,e.geometricallyequal=8785,e.gereshaccenthebrew=1436,e.gereshhebrew=1523,e.gereshmuqdamhebrew=1437,e.germandbls=223,e.gershayimaccenthebrew=1438,e.gershayimhebrew=1524,e.getamark=12307,e.ghabengali=2456,e.ghadarmenian=1394,e.ghadeva=2328,e.ghagujarati=2712,e.ghagurmukhi=2584,e.ghainarabic=1594,e.ghainfinalarabic=65230,e.ghaininitialarabic=65231,e.ghainmedialarabic=65232,e.ghemiddlehookcyrillic=1173,e.ghestrokecyrillic=1171,e.gheupturncyrillic=1169,e.ghhadeva=2394,e.ghhagurmukhi=2650,e.ghook=608,e.ghzsquare=13203,e.gihiragana=12366,e.gikatakana=12462,e.gimarmenian=1379,e.gimel=1490,e.gimeldagesh=64306,e.gimeldageshhebrew=64306,e.gimelhebrew=1490,e.gjecyrillic=1107,e.glottalinvertedstroke=446,e.glottalstop=660,e.glottalstopinverted=662,e.glottalstopmod=704,e.glottalstopreversed=661,e.glottalstopreversedmod=705,e.glottalstopreversedsuperior=740,e.glottalstopstroke=673,e.glottalstopstrokereversed=674,e.gmacron=7713,e.gmonospace=65351,e.gohiragana=12372,e.gokatakana=12468,e.gparen=9378,e.gpasquare=13228,e.gradient=8711,e.grave=96,e.gravebelowcmb=790,e.gravecmb=768,e.gravecomb=768,e.gravedeva=2387,e.gravelowmod=718,e.gravemonospace=65344,e.gravetonecmb=832,e.greater=62,e.greaterequal=8805,e.greaterequalorless=8923,e.greatermonospace=65310,e.greaterorequivalent=8819,e.greaterorless=8823,e.greateroverequal=8807,e.greatersmall=65125,e.gscript=609,e.gstroke=485,e.guhiragana=12368,e.guillemotleft=171,e.guillemotright=187,e.guilsinglleft=8249,e.guilsinglright=8250,e.gukatakana=12464,e.guramusquare=13080,e.gysquare=13257,e.h=104,e.haabkhasiancyrillic=1193,e.haaltonearabic=1729,e.habengali=2489,e.hadescendercyrillic=1203,e.hadeva=2361,e.hagujarati=2745,e.hagurmukhi=2617,e.haharabic=1581,e.hahfinalarabic=65186,e.hahinitialarabic=65187,e.hahiragana=12399,e.hahmedialarabic=65188,e.haitusquare=13098,e.hakatakana=12495,e.hakatakanahalfwidth=65418,e.halantgurmukhi=2637,e.hamzaarabic=1569,e.hamzalowarabic=1569,e.hangulfiller=12644,e.hardsigncyrillic=1098,e.harpoonleftbarbup=8636,e.harpoonrightbarbup=8640,e.hasquare=13258,e.hatafpatah=1458,e.hatafpatah16=1458,e.hatafpatah23=1458,e.hatafpatah2f=1458,e.hatafpatahhebrew=1458,e.hatafpatahnarrowhebrew=1458,e.hatafpatahquarterhebrew=1458,e.hatafpatahwidehebrew=1458,e.hatafqamats=1459,e.hatafqamats1b=1459,e.hatafqamats28=1459,e.hatafqamats34=1459,e.hatafqamatshebrew=1459,e.hatafqamatsnarrowhebrew=1459,e.hatafqamatsquarterhebrew=1459,e.hatafqamatswidehebrew=1459,e.hatafsegol=1457,e.hatafsegol17=1457,e.hatafsegol24=1457,e.hatafsegol30=1457,e.hatafsegolhebrew=1457,e.hatafsegolnarrowhebrew=1457,e.hatafsegolquarterhebrew=1457,e.hatafsegolwidehebrew=1457,e.hbar=295,e.hbopomofo=12559,e.hbrevebelow=7723,e.hcedilla=7721,e.hcircle=9431,e.hcircumflex=293,e.hdieresis=7719,e.hdotaccent=7715,e.hdotbelow=7717,e.he=1492,e.heart=9829,e.heartsuitblack=9829,e.heartsuitwhite=9825,e.hedagesh=64308,e.hedageshhebrew=64308,e.hehaltonearabic=1729,e.heharabic=1607,e.hehebrew=1492,e.hehfinalaltonearabic=64423,e.hehfinalalttwoarabic=65258,e.hehfinalarabic=65258,e.hehhamzaabovefinalarabic=64421,e.hehhamzaaboveisolatedarabic=64420,e.hehinitialaltonearabic=64424,e.hehinitialarabic=65259,e.hehiragana=12408,e.hehmedialaltonearabic=64425,e.hehmedialarabic=65260,e.heiseierasquare=13179,e.hekatakana=12504,e.hekatakanahalfwidth=65421,e.hekutaarusquare=13110,e.henghook=615,e.herutusquare=13113,e.het=1495,e.hethebrew=1495,e.hhook=614,e.hhooksuperior=689,e.hieuhacirclekorean=12923,e.hieuhaparenkorean=12827,e.hieuhcirclekorean=12909,e.hieuhkorean=12622,e.hieuhparenkorean=12813,e.hihiragana=12402,e.hikatakana=12498,e.hikatakanahalfwidth=65419,e.hiriq=1460,e.hiriq14=1460,e.hiriq21=1460,e.hiriq2d=1460,e.hiriqhebrew=1460,e.hiriqnarrowhebrew=1460,e.hiriqquarterhebrew=1460,e.hiriqwidehebrew=1460,e.hlinebelow=7830,e.hmonospace=65352,e.hoarmenian=1392,e.hohipthai=3627,e.hohiragana=12411,e.hokatakana=12507,e.hokatakanahalfwidth=65422,e.holam=1465,e.holam19=1465,e.holam26=1465,e.holam32=1465,e.holamhebrew=1465,e.holamnarrowhebrew=1465,e.holamquarterhebrew=1465,e.holamwidehebrew=1465,e.honokhukthai=3630,e.hookabovecomb=777,e.hookcmb=777,e.hookpalatalizedbelowcmb=801,e.hookretroflexbelowcmb=802,e.hoonsquare=13122,e.horicoptic=1001,e.horizontalbar=8213,e.horncmb=795,e.hotsprings=9832,e.house=8962,e.hparen=9379,e.hsuperior=688,e.hturned=613,e.huhiragana=12405,e.huiitosquare=13107,e.hukatakana=12501,e.hukatakanahalfwidth=65420,e.hungarumlaut=733,e.hungarumlautcmb=779,e.hv=405,e.hyphen=45,e.hypheninferior=63205,e.hyphenmonospace=65293,e.hyphensmall=65123,e.hyphensuperior=63206,e.hyphentwo=8208,e.i=105,e.iacute=237,e.iacyrillic=1103,e.ibengali=2439,e.ibopomofo=12583,e.ibreve=301,e.icaron=464,e.icircle=9432,e.icircumflex=238,e.icyrillic=1110,e.idblgrave=521,e.ideographearthcircle=12943,e.ideographfirecircle=12939,e.ideographicallianceparen=12863,e.ideographiccallparen=12858,e.ideographiccentrecircle=12965,e.ideographicclose=12294,e.ideographiccomma=12289,e.ideographiccommaleft=65380,e.ideographiccongratulationparen=12855,e.ideographiccorrectcircle=12963,e.ideographicearthparen=12847,e.ideographicenterpriseparen=12861,e.ideographicexcellentcircle=12957,e.ideographicfestivalparen=12864,e.ideographicfinancialcircle=12950,e.ideographicfinancialparen=12854,e.ideographicfireparen=12843,e.ideographichaveparen=12850,e.ideographichighcircle=12964,e.ideographiciterationmark=12293,e.ideographiclaborcircle=12952,e.ideographiclaborparen=12856,e.ideographicleftcircle=12967,e.ideographiclowcircle=12966,e.ideographicmedicinecircle=12969,e.ideographicmetalparen=12846,e.ideographicmoonparen=12842,e.ideographicnameparen=12852,e.ideographicperiod=12290,e.ideographicprintcircle=12958,e.ideographicreachparen=12867,e.ideographicrepresentparen=12857,e.ideographicresourceparen=12862,e.ideographicrightcircle=12968,e.ideographicsecretcircle=12953,e.ideographicselfparen=12866,e.ideographicsocietyparen=12851,e.ideographicspace=12288,e.ideographicspecialparen=12853,e.ideographicstockparen=12849,e.ideographicstudyparen=12859,e.ideographicsunparen=12848,e.ideographicsuperviseparen=12860,e.ideographicwaterparen=12844,e.ideographicwoodparen=12845,e.ideographiczero=12295,e.ideographmetalcircle=12942,e.ideographmooncircle=12938,e.ideographnamecircle=12948,e.ideographsuncircle=12944,e.ideographwatercircle=12940,e.ideographwoodcircle=12941,e.ideva=2311,e.idieresis=239,e.idieresisacute=7727,e.idieresiscyrillic=1253,e.idotbelow=7883,e.iebrevecyrillic=1239,e.iecyrillic=1077,e.ieungacirclekorean=12917,e.ieungaparenkorean=12821,e.ieungcirclekorean=12903,e.ieungkorean=12615,e.ieungparenkorean=12807,e.igrave=236,e.igujarati=2695,e.igurmukhi=2567,e.ihiragana=12356,e.ihookabove=7881,e.iibengali=2440,e.iicyrillic=1080,e.iideva=2312,e.iigujarati=2696,e.iigurmukhi=2568,e.iimatragurmukhi=2624,e.iinvertedbreve=523,e.iishortcyrillic=1081,e.iivowelsignbengali=2496,e.iivowelsigndeva=2368,e.iivowelsigngujarati=2752,e.ij=307,e.ikatakana=12452,e.ikatakanahalfwidth=65394,e.ikorean=12643,e.ilde=732,e.iluyhebrew=1452,e.imacron=299,e.imacroncyrillic=1251,e.imageorapproximatelyequal=8787,e.imatragurmukhi=2623,e.imonospace=65353,e.increment=8710,e.infinity=8734,e.iniarmenian=1387,e.integral=8747,e.integralbottom=8993,e.integralbt=8993,e.integralex=63733,e.integraltop=8992,e.integraltp=8992,e.intersection=8745,e.intisquare=13061,e.invbullet=9688,e.invcircle=9689,e.invsmileface=9787,e.iocyrillic=1105,e.iogonek=303,e.iota=953,e.iotadieresis=970,e.iotadieresistonos=912,e.iotalatin=617,e.iotatonos=943,e.iparen=9380,e.irigurmukhi=2674,e.ismallhiragana=12355,e.ismallkatakana=12451,e.ismallkatakanahalfwidth=65384,e.issharbengali=2554,e.istroke=616,e.isuperior=63213,e.iterationhiragana=12445,e.iterationkatakana=12541,e.itilde=297,e.itildebelow=7725,e.iubopomofo=12585,e.iucyrillic=1102,e.ivowelsignbengali=2495,e.ivowelsigndeva=2367,e.ivowelsigngujarati=2751,e.izhitsacyrillic=1141,e.izhitsadblgravecyrillic=1143,e.j=106,e.jaarmenian=1393,e.jabengali=2460,e.jadeva=2332,e.jagujarati=2716,e.jagurmukhi=2588,e.jbopomofo=12560,e.jcaron=496,e.jcircle=9433,e.jcircumflex=309,e.jcrossedtail=669,e.jdotlessstroke=607,e.jecyrillic=1112,e.jeemarabic=1580,e.jeemfinalarabic=65182,e.jeeminitialarabic=65183,e.jeemmedialarabic=65184,e.jeharabic=1688,e.jehfinalarabic=64395,e.jhabengali=2461,e.jhadeva=2333,e.jhagujarati=2717,e.jhagurmukhi=2589,e.jheharmenian=1403,e.jis=12292,e.jmonospace=65354,e.jparen=9381,e.jsuperior=690,e.k=107,e.kabashkircyrillic=1185,e.kabengali=2453,e.kacute=7729,e.kacyrillic=1082,e.kadescendercyrillic=1179,e.kadeva=2325,e.kaf=1499,e.kafarabic=1603,e.kafdagesh=64315,e.kafdageshhebrew=64315,e.kaffinalarabic=65242,e.kafhebrew=1499,e.kafinitialarabic=65243,e.kafmedialarabic=65244,e.kafrafehebrew=64333,e.kagujarati=2709,e.kagurmukhi=2581,e.kahiragana=12363,e.kahookcyrillic=1220,e.kakatakana=12459,e.kakatakanahalfwidth=65398,e.kappa=954,e.kappasymbolgreek=1008,e.kapyeounmieumkorean=12657,e.kapyeounphieuphkorean=12676,e.kapyeounpieupkorean=12664,e.kapyeounssangpieupkorean=12665,e.karoriisquare=13069,e.kashidaautoarabic=1600,e.kashidaautonosidebearingarabic=1600,e.kasmallkatakana=12533,e.kasquare=13188,e.kasraarabic=1616,e.kasratanarabic=1613,e.kastrokecyrillic=1183,e.katahiraprolongmarkhalfwidth=65392,e.kaverticalstrokecyrillic=1181,e.kbopomofo=12558,e.kcalsquare=13193,e.kcaron=489,e.kcedilla=311,e.kcircle=9434,e.kcommaaccent=311,e.kdotbelow=7731,e.keharmenian=1412,e.kehiragana=12369,e.kekatakana=12465,e.kekatakanahalfwidth=65401,e.kenarmenian=1391,e.kesmallkatakana=12534,e.kgreenlandic=312,e.khabengali=2454,e.khacyrillic=1093,e.khadeva=2326,e.khagujarati=2710,e.khagurmukhi=2582,e.khaharabic=1582,e.khahfinalarabic=65190,e.khahinitialarabic=65191,e.khahmedialarabic=65192,e.kheicoptic=999,e.khhadeva=2393,e.khhagurmukhi=2649,e.khieukhacirclekorean=12920,e.khieukhaparenkorean=12824,e.khieukhcirclekorean=12906,e.khieukhkorean=12619,e.khieukhparenkorean=12810,e.khokhaithai=3586,e.khokhonthai=3589,e.khokhuatthai=3587,e.khokhwaithai=3588,e.khomutthai=3675,e.khook=409,e.khorakhangthai=3590,e.khzsquare=13201,e.kihiragana=12365,e.kikatakana=12461,e.kikatakanahalfwidth=65399,e.kiroguramusquare=13077,e.kiromeetorusquare=13078,e.kirosquare=13076,e.kiyeokacirclekorean=12910,e.kiyeokaparenkorean=12814,e.kiyeokcirclekorean=12896,e.kiyeokkorean=12593,e.kiyeokparenkorean=12800,e.kiyeoksioskorean=12595;e.kjecyrillic=1116,e.klinebelow=7733,e.klsquare=13208,e.kmcubedsquare=13222,e.kmonospace=65355,e.kmsquaredsquare=13218,e.kohiragana=12371,e.kohmsquare=13248,e.kokaithai=3585,e.kokatakana=12467,e.kokatakanahalfwidth=65402,e.kooposquare=13086,e.koppacyrillic=1153,e.koreanstandardsymbol=12927,e.koroniscmb=835,e.kparen=9382,e.kpasquare=13226,e.ksicyrillic=1135,e.ktsquare=13263,e.kturned=670,e.kuhiragana=12367,e.kukatakana=12463,e.kukatakanahalfwidth=65400,e.kvsquare=13240,e.kwsquare=13246,e.l=108,e.labengali=2482,e.lacute=314,e.ladeva=2354,e.lagujarati=2738,e.lagurmukhi=2610,e.lakkhangyaothai=3653,e.lamaleffinalarabic=65276,e.lamalefhamzaabovefinalarabic=65272,e.lamalefhamzaaboveisolatedarabic=65271,e.lamalefhamzabelowfinalarabic=65274,e.lamalefhamzabelowisolatedarabic=65273,e.lamalefisolatedarabic=65275,e.lamalefmaddaabovefinalarabic=65270,e.lamalefmaddaaboveisolatedarabic=65269,e.lamarabic=1604,e.lambda=955,e.lambdastroke=411,e.lamed=1500,e.lameddagesh=64316,e.lameddageshhebrew=64316,e.lamedhebrew=1500,e.lamfinalarabic=65246,e.lamhahinitialarabic=64714,e.laminitialarabic=65247,e.lamjeeminitialarabic=64713,e.lamkhahinitialarabic=64715,e.lamlamhehisolatedarabic=65010,e.lammedialarabic=65248,e.lammeemhahinitialarabic=64904,e.lammeeminitialarabic=64716,e.largecircle=9711,e.lbar=410,e.lbelt=620,e.lbopomofo=12556,e.lcaron=318,e.lcedilla=316,e.lcircle=9435,e.lcircumflexbelow=7741,e.lcommaaccent=316,e.ldot=320,e.ldotaccent=320,e.ldotbelow=7735,e.ldotbelowmacron=7737,e.leftangleabovecmb=794,e.lefttackbelowcmb=792,e.less=60,e.lessequal=8804,e.lessequalorgreater=8922,e.lessmonospace=65308,e.lessorequivalent=8818,e.lessorgreater=8822,e.lessoverequal=8806,e.lesssmall=65124,e.lezh=622,e.lfblock=9612,e.lhookretroflex=621,e.lira=8356,e.liwnarmenian=1388,e.lj=457,e.ljecyrillic=1113,e.ll=63168,e.lladeva=2355,e.llagujarati=2739,e.llinebelow=7739,e.llladeva=2356,e.llvocalicbengali=2529,e.llvocalicdeva=2401,e.llvocalicvowelsignbengali=2531,e.llvocalicvowelsigndeva=2403,e.lmiddletilde=619,e.lmonospace=65356,e.lmsquare=13264,e.lochulathai=3628,e.logicaland=8743,e.logicalnot=172,e.logicalnotreversed=8976,e.logicalor=8744,e.lolingthai=3621,e.longs=383,e.lowlinecenterline=65102,e.lowlinecmb=818,e.lowlinedashed=65101,e.lozenge=9674,e.lparen=9383,e.lslash=322,e.lsquare=8467,e.lsuperior=63214,e.ltshade=9617,e.luthai=3622,e.lvocalicbengali=2444,e.lvocalicdeva=2316,e.lvocalicvowelsignbengali=2530,e.lvocalicvowelsigndeva=2402,e.lxsquare=13267,e.m=109,e.mabengali=2478,e.macron=175,e.macronbelowcmb=817,e.macroncmb=772,e.macronlowmod=717,e.macronmonospace=65507,e.macute=7743,e.madeva=2350,e.magujarati=2734,e.magurmukhi=2606,e.mahapakhhebrew=1444,e.mahapakhlefthebrew=1444,e.mahiragana=12414,e.maichattawalowleftthai=63637,e.maichattawalowrightthai=63636,e.maichattawathai=3659,e.maichattawaupperleftthai=63635,e.maieklowleftthai=63628,e.maieklowrightthai=63627,e.maiekthai=3656,e.maiekupperleftthai=63626,e.maihanakatleftthai=63620,e.maihanakatthai=3633,e.maitaikhuleftthai=63625,e.maitaikhuthai=3655,e.maitholowleftthai=63631,e.maitholowrightthai=63630,e.maithothai=3657,e.maithoupperleftthai=63629,e.maitrilowleftthai=63634,e.maitrilowrightthai=63633,e.maitrithai=3658,e.maitriupperleftthai=63632,e.maiyamokthai=3654,e.makatakana=12510,e.makatakanahalfwidth=65423,e.male=9794,e.mansyonsquare=13127,e.maqafhebrew=1470,e.mars=9794,e.masoracirclehebrew=1455,e.masquare=13187,e.mbopomofo=12551,e.mbsquare=13268,e.mcircle=9436,e.mcubedsquare=13221,e.mdotaccent=7745,e.mdotbelow=7747,e.meemarabic=1605,e.meemfinalarabic=65250,e.meeminitialarabic=65251,e.meemmedialarabic=65252,e.meemmeeminitialarabic=64721,e.meemmeemisolatedarabic=64584,e.meetorusquare=13133,e.mehiragana=12417,e.meizierasquare=13182,e.mekatakana=12513,e.mekatakanahalfwidth=65426,e.mem=1502,e.memdagesh=64318,e.memdageshhebrew=64318,e.memhebrew=1502,e.menarmenian=1396,e.merkhahebrew=1445,e.merkhakefulahebrew=1446,e.merkhakefulalefthebrew=1446,e.merkhalefthebrew=1445,e.mhook=625,e.mhzsquare=13202,e.middledotkatakanahalfwidth=65381,e.middot=183,e.mieumacirclekorean=12914,e.mieumaparenkorean=12818,e.mieumcirclekorean=12900,e.mieumkorean=12609,e.mieumpansioskorean=12656,e.mieumparenkorean=12804,e.mieumpieupkorean=12654,e.mieumsioskorean=12655,e.mihiragana=12415,e.mikatakana=12511,e.mikatakanahalfwidth=65424,e.minus=8722,e.minusbelowcmb=800,e.minuscircle=8854,e.minusmod=727,e.minusplus=8723,e.minute=8242,e.miribaarusquare=13130,e.mirisquare=13129,e.mlonglegturned=624,e.mlsquare=13206,e.mmcubedsquare=13219,e.mmonospace=65357,e.mmsquaredsquare=13215,e.mohiragana=12418,e.mohmsquare=13249,e.mokatakana=12514,e.mokatakanahalfwidth=65427,e.molsquare=13270,e.momathai=3617,e.moverssquare=13223,e.moverssquaredsquare=13224,e.mparen=9384,e.mpasquare=13227,e.mssquare=13235,e.msuperior=63215,e.mturned=623,e.mu=181,e.mu1=181,e.muasquare=13186,e.muchgreater=8811,e.muchless=8810,e.mufsquare=13196,e.mugreek=956,e.mugsquare=13197,e.muhiragana=12416,e.mukatakana=12512,e.mukatakanahalfwidth=65425,e.mulsquare=13205,e.multiply=215,e.mumsquare=13211,e.munahhebrew=1443,e.munahlefthebrew=1443,e.musicalnote=9834,e.musicalnotedbl=9835,e.musicflatsign=9837,e.musicsharpsign=9839,e.mussquare=13234,e.muvsquare=13238,e.muwsquare=13244,e.mvmegasquare=13241,e.mvsquare=13239,e.mwmegasquare=13247,e.mwsquare=13245,e.n=110,e.nabengali=2472,e.nabla=8711,e.nacute=324,e.nadeva=2344,e.nagujarati=2728,e.nagurmukhi=2600,e.nahiragana=12394,e.nakatakana=12490,e.nakatakanahalfwidth=65413,e.napostrophe=329,e.nasquare=13185,e.nbopomofo=12555,e.nbspace=160,e.ncaron=328,e.ncedilla=326,e.ncircle=9437,e.ncircumflexbelow=7755,e.ncommaaccent=326,e.ndotaccent=7749,e.ndotbelow=7751,e.nehiragana=12397,e.nekatakana=12493,e.nekatakanahalfwidth=65416,e.newsheqelsign=8362,e.nfsquare=13195,e.ngabengali=2457,e.ngadeva=2329,e.ngagujarati=2713,e.ngagurmukhi=2585,e.ngonguthai=3591,e.nhiragana=12435,e.nhookleft=626,e.nhookretroflex=627,e.nieunacirclekorean=12911,e.nieunaparenkorean=12815,e.nieuncieuckorean=12597,e.nieuncirclekorean=12897,e.nieunhieuhkorean=12598,e.nieunkorean=12596,e.nieunpansioskorean=12648,e.nieunparenkorean=12801,e.nieunsioskorean=12647,e.nieuntikeutkorean=12646,e.nihiragana=12395,e.nikatakana=12491,e.nikatakanahalfwidth=65414,e.nikhahitleftthai=63641,e.nikhahitthai=3661,e.nine=57,e.ninearabic=1641,e.ninebengali=2543,e.ninecircle=9320,e.ninecircleinversesansserif=10130,e.ninedeva=2415,e.ninegujarati=2799,e.ninegurmukhi=2671,e.ninehackarabic=1641,e.ninehangzhou=12329,e.nineideographicparen=12840,e.nineinferior=8329,e.ninemonospace=65305,e.nineoldstyle=63289,e.nineparen=9340,e.nineperiod=9360,e.ninepersian=1785,e.nineroman=8568,e.ninesuperior=8313,e.nineteencircle=9330,e.nineteenparen=9350,e.nineteenperiod=9370,e.ninethai=3673,e.nj=460,e.njecyrillic=1114,e.nkatakana=12531,e.nkatakanahalfwidth=65437,e.nlegrightlong=414,e.nlinebelow=7753,e.nmonospace=65358,e.nmsquare=13210,e.nnabengali=2467,e.nnadeva=2339,e.nnagujarati=2723,e.nnagurmukhi=2595,e.nnnadeva=2345,e.nohiragana=12398,e.nokatakana=12494,e.nokatakanahalfwidth=65417,e.nonbreakingspace=160,e.nonenthai=3603,e.nonuthai=3609,e.noonarabic=1606,e.noonfinalarabic=65254,e.noonghunnaarabic=1722,e.noonghunnafinalarabic=64415,e.nooninitialarabic=65255,e.noonjeeminitialarabic=64722,e.noonjeemisolatedarabic=64587,e.noonmedialarabic=65256,e.noonmeeminitialarabic=64725,e.noonmeemisolatedarabic=64590,e.noonnoonfinalarabic=64653,e.notcontains=8716,e.notelement=8713,e.notelementof=8713,e.notequal=8800,e.notgreater=8815,e.notgreaternorequal=8817,e.notgreaternorless=8825,e.notidentical=8802,e.notless=8814,e.notlessnorequal=8816,e.notparallel=8742,e.notprecedes=8832,e.notsubset=8836,e.notsucceeds=8833,e.notsuperset=8837,e.nowarmenian=1398,e.nparen=9385,e.nssquare=13233,e.nsuperior=8319,e.ntilde=241,e.nu=957,e.nuhiragana=12396,e.nukatakana=12492,e.nukatakanahalfwidth=65415,e.nuktabengali=2492,e.nuktadeva=2364,e.nuktagujarati=2748,e.nuktagurmukhi=2620,e.numbersign=35,e.numbersignmonospace=65283,e.numbersignsmall=65119,e.numeralsigngreek=884,e.numeralsignlowergreek=885,e.numero=8470,e.nun=1504,e.nundagesh=64320,e.nundageshhebrew=64320,e.nunhebrew=1504,e.nvsquare=13237,e.nwsquare=13243,e.nyabengali=2462,e.nyadeva=2334,e.nyagujarati=2718,e.nyagurmukhi=2590,e.o=111,e.oacute=243,e.oangthai=3629,e.obarred=629,e.obarredcyrillic=1257,e.obarreddieresiscyrillic=1259,e.obengali=2451,e.obopomofo=12571,e.obreve=335,e.ocandradeva=2321,e.ocandragujarati=2705,e.ocandravowelsigndeva=2377,e.ocandravowelsigngujarati=2761,e.ocaron=466,e.ocircle=9438,e.ocircumflex=244,e.ocircumflexacute=7889,e.ocircumflexdotbelow=7897,e.ocircumflexgrave=7891,e.ocircumflexhookabove=7893,e.ocircumflextilde=7895,e.ocyrillic=1086,e.odblacute=337,e.odblgrave=525,e.odeva=2323,e.odieresis=246,e.odieresiscyrillic=1255,e.odotbelow=7885,e.oe=339,e.oekorean=12634,e.ogonek=731,e.ogonekcmb=808,e.ograve=242,e.ogujarati=2707,e.oharmenian=1413,e.ohiragana=12362,e.ohookabove=7887,e.ohorn=417,e.ohornacute=7899,e.ohorndotbelow=7907,e.ohorngrave=7901,e.ohornhookabove=7903,e.ohorntilde=7905,e.ohungarumlaut=337,e.oi=419,e.oinvertedbreve=527,e.okatakana=12458,e.okatakanahalfwidth=65397,e.okorean=12631,e.olehebrew=1451,e.omacron=333,e.omacronacute=7763,e.omacrongrave=7761,e.omdeva=2384,e.omega=969,e.omega1=982,e.omegacyrillic=1121,e.omegalatinclosed=631,e.omegaroundcyrillic=1147,e.omegatitlocyrillic=1149,e.omegatonos=974,e.omgujarati=2768,e.omicron=959,e.omicrontonos=972,e.omonospace=65359,e.one=49,e.onearabic=1633,e.onebengali=2535,e.onecircle=9312,e.onecircleinversesansserif=10122,e.onedeva=2407,e.onedotenleader=8228,e.oneeighth=8539,e.onefitted=63196,e.onegujarati=2791,e.onegurmukhi=2663,e.onehackarabic=1633,e.onehalf=189,e.onehangzhou=12321,e.oneideographicparen=12832,e.oneinferior=8321,e.onemonospace=65297,e.onenumeratorbengali=2548,e.oneoldstyle=63281,e.oneparen=9332,e.oneperiod=9352,e.onepersian=1777,e.onequarter=188,e.oneroman=8560,e.onesuperior=185,e.onethai=3665,e.onethird=8531,e.oogonek=491,e.oogonekmacron=493,e.oogurmukhi=2579,e.oomatragurmukhi=2635,e.oopen=596,e.oparen=9386,e.openbullet=9702,e.option=8997,e.ordfeminine=170,e.ordmasculine=186,e.orthogonal=8735,e.oshortdeva=2322,e.oshortvowelsigndeva=2378,e.oslash=248,e.oslashacute=511,e.osmallhiragana=12361,e.osmallkatakana=12457,e.osmallkatakanahalfwidth=65387,e.ostrokeacute=511,e.osuperior=63216,e.otcyrillic=1151,e.otilde=245,e.otildeacute=7757,e.otildedieresis=7759,e.oubopomofo=12577,e.overline=8254,e.overlinecenterline=65098,e.overlinecmb=773,e.overlinedashed=65097,e.overlinedblwavy=65100,e.overlinewavy=65099,e.overscore=175,e.ovowelsignbengali=2507,e.ovowelsigndeva=2379,e.ovowelsigngujarati=2763,e.p=112,e.paampssquare=13184,e.paasentosquare=13099,e.pabengali=2474,e.pacute=7765,e.padeva=2346,e.pagedown=8671,e.pageup=8670,e.pagujarati=2730,e.pagurmukhi=2602,e.pahiragana=12401,e.paiyannoithai=3631,e.pakatakana=12497,e.palatalizationcyrilliccmb=1156,e.palochkacyrillic=1216,e.pansioskorean=12671,e.paragraph=182,e.parallel=8741,e.parenleft=40,e.parenleftaltonearabic=64830,e.parenleftbt=63725,e.parenleftex=63724,e.parenleftinferior=8333,e.parenleftmonospace=65288,e.parenleftsmall=65113,e.parenleftsuperior=8317,e.parenlefttp=63723,e.parenleftvertical=65077,e.parenright=41,e.parenrightaltonearabic=64831,e.parenrightbt=63736,e.parenrightex=63735,e.parenrightinferior=8334,e.parenrightmonospace=65289,e.parenrightsmall=65114,e.parenrightsuperior=8318,e.parenrighttp=63734,e.parenrightvertical=65078,e.partialdiff=8706,e.paseqhebrew=1472,e.pashtahebrew=1433,e.pasquare=13225,e.patah=1463,e.patah11=1463,e.patah1d=1463,e.patah2a=1463,e.patahhebrew=1463,e.patahnarrowhebrew=1463,e.patahquarterhebrew=1463,e.patahwidehebrew=1463,e.pazerhebrew=1441,e.pbopomofo=12550,e.pcircle=9439,e.pdotaccent=7767,e.pe=1508,e.pecyrillic=1087,e.pedagesh=64324,e.pedageshhebrew=64324,e.peezisquare=13115,e.pefinaldageshhebrew=64323,e.peharabic=1662,e.peharmenian=1402,e.pehebrew=1508,e.pehfinalarabic=64343,e.pehinitialarabic=64344,e.pehiragana=12410,e.pehmedialarabic=64345,e.pekatakana=12506,e.pemiddlehookcyrillic=1191,e.perafehebrew=64334,e.percent=37,e.percentarabic=1642,e.percentmonospace=65285,e.percentsmall=65130,e.period=46,e.periodarmenian=1417,e.periodcentered=183,e.periodhalfwidth=65377,e.periodinferior=63207,e.periodmonospace=65294,e.periodsmall=65106,e.periodsuperior=63208,e.perispomenigreekcmb=834,e.perpendicular=8869,e.perthousand=8240,e.peseta=8359,e.pfsquare=13194,e.phabengali=2475,e.phadeva=2347,e.phagujarati=2731,e.phagurmukhi=2603,e.phi=966,e.phi1=981,e.phieuphacirclekorean=12922,e.phieuphaparenkorean=12826,e.phieuphcirclekorean=12908,e.phieuphkorean=12621,e.phieuphparenkorean=12812,e.philatin=632,e.phinthuthai=3642,e.phisymbolgreek=981,e.phook=421,e.phophanthai=3614,e.phophungthai=3612,e.phosamphaothai=3616,e.pi=960,e.pieupacirclekorean=12915,e.pieupaparenkorean=12819,e.pieupcieuckorean=12662,e.pieupcirclekorean=12901,e.pieupkiyeokkorean=12658,e.pieupkorean=12610,e.pieupparenkorean=12805,e.pieupsioskiyeokkorean=12660,e.pieupsioskorean=12612,e.pieupsiostikeutkorean=12661,e.pieupthieuthkorean=12663,e.pieuptikeutkorean=12659,e.pihiragana=12404,e.pikatakana=12500,e.pisymbolgreek=982,e.piwrarmenian=1411,e.plus=43,e.plusbelowcmb=799,e.pluscircle=8853,e.plusminus=177,e.plusmod=726,e.plusmonospace=65291,e.plussmall=65122,e.plussuperior=8314,e.pmonospace=65360,e.pmsquare=13272,e.pohiragana=12413,e.pointingindexdownwhite=9759,e.pointingindexleftwhite=9756,e.pointingindexrightwhite=9758,e.pointingindexupwhite=9757,e.pokatakana=12509,e.poplathai=3611,e.postalmark=12306,e.postalmarkface=12320,e.pparen=9387,e.precedes=8826,e.prescription=8478,e.primemod=697,e.primereversed=8245,e.product=8719,e.projective=8965,e.prolongedkana=12540,e.propellor=8984,e.propersubset=8834,e.propersuperset=8835,e.proportion=8759,e.proportional=8733,e.psi=968,e.psicyrillic=1137,e.psilipneumatacyrilliccmb=1158,e.pssquare=13232,e.puhiragana=12407,e.pukatakana=12503,e.pvsquare=13236,e.pwsquare=13242,e.q=113,e.qadeva=2392,e.qadmahebrew=1448,e.qafarabic=1602,e.qaffinalarabic=65238,e.qafinitialarabic=65239,e.qafmedialarabic=65240,e.qamats=1464,e.qamats10=1464,e.qamats1a=1464,e.qamats1c=1464,e.qamats27=1464,e.qamats29=1464,e.qamats33=1464,e.qamatsde=1464,e.qamatshebrew=1464,e.qamatsnarrowhebrew=1464,e.qamatsqatanhebrew=1464,e.qamatsqatannarrowhebrew=1464,e.qamatsqatanquarterhebrew=1464,e.qamatsqatanwidehebrew=1464,e.qamatsquarterhebrew=1464,e.qamatswidehebrew=1464,e.qarneyparahebrew=1439,e.qbopomofo=12561,e.qcircle=9440,e.qhook=672,e.qmonospace=65361,e.qof=1511,e.qofdagesh=64327,e.qofdageshhebrew=64327,e.qofhebrew=1511,e.qparen=9388,e.quarternote=9833,e.qubuts=1467,e.qubuts18=1467,e.qubuts25=1467,e.qubuts31=1467,e.qubutshebrew=1467,e.qubutsnarrowhebrew=1467,e.qubutsquarterhebrew=1467,e.qubutswidehebrew=1467,e.question=63,e.questionarabic=1567,e.questionarmenian=1374,e.questiondown=191,e.questiondownsmall=63423,e.questiongreek=894,e.questionmonospace=65311,e.questionsmall=63295,e.quotedbl=34,e.quotedblbase=8222,e.quotedblleft=8220,e.quotedblmonospace=65282,e.quotedblprime=12318,e.quotedblprimereversed=12317,e.quotedblright=8221,e.quoteleft=8216,e.quoteleftreversed=8219,e.quotereversed=8219,e.quoteright=8217,e.quoterightn=329,e.quotesinglbase=8218,e.quotesingle=39,e.quotesinglemonospace=65287,e.r=114,e.raarmenian=1404,e.rabengali=2480,e.racute=341,e.radeva=2352,e.radical=8730,e.radicalex=63717,e.radoverssquare=13230,e.radoverssquaredsquare=13231,e.radsquare=13229,e.rafe=1471,e.rafehebrew=1471,e.ragujarati=2736,e.ragurmukhi=2608,e.rahiragana=12425,e.rakatakana=12521,e.rakatakanahalfwidth=65431,e.ralowerdiagonalbengali=2545,e.ramiddlediagonalbengali=2544,e.ramshorn=612,e.ratio=8758,e.rbopomofo=12566,e.rcaron=345,e.rcedilla=343,e.rcircle=9441,e.rcommaaccent=343,e.rdblgrave=529,e.rdotaccent=7769,e.rdotbelow=7771,e.rdotbelowmacron=7773,e.referencemark=8251,e.reflexsubset=8838,e.reflexsuperset=8839,e.registered=174,e.registersans=63720,e.registerserif=63194,e.reharabic=1585,e.reharmenian=1408,e.rehfinalarabic=65198,e.rehiragana=12428,e.rekatakana=12524,e.rekatakanahalfwidth=65434,e.resh=1512;e.reshdageshhebrew=64328,e.reshhebrew=1512,e.reversedtilde=8765,e.reviahebrew=1431,e.reviamugrashhebrew=1431,e.revlogicalnot=8976,e.rfishhook=638,e.rfishhookreversed=639,e.rhabengali=2525,e.rhadeva=2397,e.rho=961,e.rhook=637,e.rhookturned=635,e.rhookturnedsuperior=693,e.rhosymbolgreek=1009,e.rhotichookmod=734,e.rieulacirclekorean=12913,e.rieulaparenkorean=12817,e.rieulcirclekorean=12899,e.rieulhieuhkorean=12608,e.rieulkiyeokkorean=12602,e.rieulkiyeoksioskorean=12649,e.rieulkorean=12601,e.rieulmieumkorean=12603,e.rieulpansioskorean=12652,e.rieulparenkorean=12803,e.rieulphieuphkorean=12607,e.rieulpieupkorean=12604,e.rieulpieupsioskorean=12651,e.rieulsioskorean=12605,e.rieulthieuthkorean=12606,e.rieultikeutkorean=12650,e.rieulyeorinhieuhkorean=12653,e.rightangle=8735,e.righttackbelowcmb=793,e.righttriangle=8895,e.rihiragana=12426,e.rikatakana=12522,e.rikatakanahalfwidth=65432,e.ring=730,e.ringbelowcmb=805,e.ringcmb=778,e.ringhalfleft=703,e.ringhalfleftarmenian=1369,e.ringhalfleftbelowcmb=796,e.ringhalfleftcentered=723,e.ringhalfright=702,e.ringhalfrightbelowcmb=825,e.ringhalfrightcentered=722,e.rinvertedbreve=531,e.rittorusquare=13137,e.rlinebelow=7775,e.rlongleg=636,e.rlonglegturned=634,e.rmonospace=65362,e.rohiragana=12429,e.rokatakana=12525,e.rokatakanahalfwidth=65435,e.roruathai=3619,e.rparen=9389,e.rrabengali=2524,e.rradeva=2353,e.rragurmukhi=2652,e.rreharabic=1681,e.rrehfinalarabic=64397,e.rrvocalicbengali=2528,e.rrvocalicdeva=2400,e.rrvocalicgujarati=2784,e.rrvocalicvowelsignbengali=2500,e.rrvocalicvowelsigndeva=2372,e.rrvocalicvowelsigngujarati=2756,e.rsuperior=63217,e.rtblock=9616,e.rturned=633,e.rturnedsuperior=692,e.ruhiragana=12427,e.rukatakana=12523,e.rukatakanahalfwidth=65433,e.rupeemarkbengali=2546,e.rupeesignbengali=2547,e.rupiah=63197,e.ruthai=3620,e.rvocalicbengali=2443,e.rvocalicdeva=2315,e.rvocalicgujarati=2699,e.rvocalicvowelsignbengali=2499,e.rvocalicvowelsigndeva=2371,e.rvocalicvowelsigngujarati=2755,e.s=115,e.sabengali=2488,e.sacute=347,e.sacutedotaccent=7781,e.sadarabic=1589,e.sadeva=2360,e.sadfinalarabic=65210,e.sadinitialarabic=65211,e.sadmedialarabic=65212,e.sagujarati=2744,e.sagurmukhi=2616,e.sahiragana=12373,e.sakatakana=12469,e.sakatakanahalfwidth=65403,e.sallallahoualayhewasallamarabic=65018,e.samekh=1505,e.samekhdagesh=64321,e.samekhdageshhebrew=64321,e.samekhhebrew=1505,e.saraaathai=3634,e.saraaethai=3649,e.saraaimaimalaithai=3652,e.saraaimaimuanthai=3651,e.saraamthai=3635,e.saraathai=3632,e.saraethai=3648,e.saraiileftthai=63622,e.saraiithai=3637,e.saraileftthai=63621,e.saraithai=3636,e.saraothai=3650,e.saraueeleftthai=63624,e.saraueethai=3639,e.saraueleftthai=63623,e.sarauethai=3638,e.sarauthai=3640,e.sarauuthai=3641,e.sbopomofo=12569,e.scaron=353,e.scarondotaccent=7783,e.scedilla=351,e.schwa=601,e.schwacyrillic=1241,e.schwadieresiscyrillic=1243,e.schwahook=602,e.scircle=9442,e.scircumflex=349,e.scommaaccent=537,e.sdotaccent=7777,e.sdotbelow=7779,e.sdotbelowdotaccent=7785,e.seagullbelowcmb=828,e.second=8243,e.secondtonechinese=714,e.section=167,e.seenarabic=1587,e.seenfinalarabic=65202,e.seeninitialarabic=65203,e.seenmedialarabic=65204,e.segol=1462,e.segol13=1462,e.segol1f=1462,e.segol2c=1462,e.segolhebrew=1462,e.segolnarrowhebrew=1462,e.segolquarterhebrew=1462,e.segoltahebrew=1426,e.segolwidehebrew=1462,e.seharmenian=1405,e.sehiragana=12379,e.sekatakana=12475,e.sekatakanahalfwidth=65406,e.semicolon=59,e.semicolonarabic=1563,e.semicolonmonospace=65307,e.semicolonsmall=65108,e.semivoicedmarkkana=12444,e.semivoicedmarkkanahalfwidth=65439,e.sentisquare=13090,e.sentosquare=13091,e.seven=55,e.sevenarabic=1639,e.sevenbengali=2541,e.sevencircle=9318,e.sevencircleinversesansserif=10128,e.sevendeva=2413,e.seveneighths=8542,e.sevengujarati=2797,e.sevengurmukhi=2669,e.sevenhackarabic=1639,e.sevenhangzhou=12327,e.sevenideographicparen=12838,e.seveninferior=8327,e.sevenmonospace=65303,e.sevenoldstyle=63287,e.sevenparen=9338,e.sevenperiod=9358,e.sevenpersian=1783,e.sevenroman=8566,e.sevensuperior=8311,e.seventeencircle=9328,e.seventeenparen=9348,e.seventeenperiod=9368,e.seventhai=3671,e.sfthyphen=173,e.shaarmenian=1399,e.shabengali=2486,e.shacyrillic=1096,e.shaddaarabic=1617,e.shaddadammaarabic=64609,e.shaddadammatanarabic=64606,e.shaddafathaarabic=64608,e.shaddakasraarabic=64610,e.shaddakasratanarabic=64607,e.shade=9618,e.shadedark=9619,e.shadelight=9617,e.shademedium=9618,e.shadeva=2358,e.shagujarati=2742,e.shagurmukhi=2614,e.shalshelethebrew=1427,e.shbopomofo=12565,e.shchacyrillic=1097,e.sheenarabic=1588,e.sheenfinalarabic=65206,e.sheeninitialarabic=65207,e.sheenmedialarabic=65208,e.sheicoptic=995,e.sheqel=8362,e.sheqelhebrew=8362,e.sheva=1456,e.sheva115=1456,e.sheva15=1456,e.sheva22=1456,e.sheva2e=1456,e.shevahebrew=1456,e.shevanarrowhebrew=1456,e.shevaquarterhebrew=1456,e.shevawidehebrew=1456,e.shhacyrillic=1211,e.shimacoptic=1005,e.shin=1513,e.shindagesh=64329,e.shindageshhebrew=64329,e.shindageshshindot=64300,e.shindageshshindothebrew=64300,e.shindageshsindot=64301,e.shindageshsindothebrew=64301,e.shindothebrew=1473,e.shinhebrew=1513,e.shinshindot=64298,e.shinshindothebrew=64298,e.shinsindot=64299,e.shinsindothebrew=64299,e.shook=642,e.sigma=963,e.sigma1=962,e.sigmafinal=962,e.sigmalunatesymbolgreek=1010,e.sihiragana=12375,e.sikatakana=12471,e.sikatakanahalfwidth=65404,e.siluqhebrew=1469,e.siluqlefthebrew=1469,e.similar=8764,e.sindothebrew=1474,e.siosacirclekorean=12916,e.siosaparenkorean=12820,e.sioscieuckorean=12670,e.sioscirclekorean=12902,e.sioskiyeokkorean=12666,e.sioskorean=12613,e.siosnieunkorean=12667,e.siosparenkorean=12806,e.siospieupkorean=12669,e.siostikeutkorean=12668,e.six=54,e.sixarabic=1638,e.sixbengali=2540,e.sixcircle=9317,e.sixcircleinversesansserif=10127,e.sixdeva=2412,e.sixgujarati=2796,e.sixgurmukhi=2668,e.sixhackarabic=1638,e.sixhangzhou=12326,e.sixideographicparen=12837,e.sixinferior=8326,e.sixmonospace=65302,e.sixoldstyle=63286,e.sixparen=9337,e.sixperiod=9357,e.sixpersian=1782,e.sixroman=8565,e.sixsuperior=8310,e.sixteencircle=9327,e.sixteencurrencydenominatorbengali=2553,e.sixteenparen=9347,e.sixteenperiod=9367,e.sixthai=3670,e.slash=47,e.slashmonospace=65295,e.slong=383,e.slongdotaccent=7835,e.smileface=9786,e.smonospace=65363,e.sofpasuqhebrew=1475,e.softhyphen=173,e.softsigncyrillic=1100,e.sohiragana=12381,e.sokatakana=12477,e.sokatakanahalfwidth=65407,e.soliduslongoverlaycmb=824,e.solidusshortoverlaycmb=823,e.sorusithai=3625,e.sosalathai=3624,e.sosothai=3595,e.sosuathai=3626,e.space=32,e.spacehackarabic=32,e.spade=9824,e.spadesuitblack=9824,e.spadesuitwhite=9828,e.sparen=9390,e.squarebelowcmb=827,e.squarecc=13252,e.squarecm=13213,e.squarediagonalcrosshatchfill=9641,e.squarehorizontalfill=9636,e.squarekg=13199,e.squarekm=13214,e.squarekmcapital=13262,e.squareln=13265,e.squarelog=13266,e.squaremg=13198,e.squaremil=13269,e.squaremm=13212,e.squaremsquared=13217,e.squareorthogonalcrosshatchfill=9638,e.squareupperlefttolowerrightfill=9639,e.squareupperrighttolowerleftfill=9640,e.squareverticalfill=9637,e.squarewhitewithsmallblack=9635,e.srsquare=13275,e.ssabengali=2487,e.ssadeva=2359,e.ssagujarati=2743,e.ssangcieuckorean=12617,e.ssanghieuhkorean=12677,e.ssangieungkorean=12672,e.ssangkiyeokkorean=12594,e.ssangnieunkorean=12645,e.ssangpieupkorean=12611,e.ssangsioskorean=12614,e.ssangtikeutkorean=12600,e.ssuperior=63218,e.sterling=163,e.sterlingmonospace=65505,e.strokelongoverlaycmb=822,e.strokeshortoverlaycmb=821,e.subset=8834,e.subsetnotequal=8842,e.subsetorequal=8838,e.succeeds=8827,e.suchthat=8715,e.suhiragana=12377,e.sukatakana=12473,e.sukatakanahalfwidth=65405,e.sukunarabic=1618,e.summation=8721,e.sun=9788,e.superset=8835,e.supersetnotequal=8843,e.supersetorequal=8839,e.svsquare=13276,e.syouwaerasquare=13180,e.t=116,e.tabengali=2468,e.tackdown=8868,e.tackleft=8867,e.tadeva=2340,e.tagujarati=2724,e.tagurmukhi=2596,e.taharabic=1591,e.tahfinalarabic=65218,e.tahinitialarabic=65219,e.tahiragana=12383,e.tahmedialarabic=65220,e.taisyouerasquare=13181,e.takatakana=12479,e.takatakanahalfwidth=65408,e.tatweelarabic=1600,e.tau=964,e.tav=1514,e.tavdages=64330,e.tavdagesh=64330,e.tavdageshhebrew=64330,e.tavhebrew=1514,e.tbar=359,e.tbopomofo=12554,e.tcaron=357,e.tccurl=680,e.tcedilla=355,e.tcheharabic=1670,e.tchehfinalarabic=64379,e.tchehinitialarabic=64380,e.tchehmedialarabic=64381,e.tcircle=9443,e.tcircumflexbelow=7793,e.tcommaaccent=355,e.tdieresis=7831,e.tdotaccent=7787,e.tdotbelow=7789,e.tecyrillic=1090,e.tedescendercyrillic=1197,e.teharabic=1578,e.tehfinalarabic=65174,e.tehhahinitialarabic=64674,e.tehhahisolatedarabic=64524,e.tehinitialarabic=65175,e.tehiragana=12390,e.tehjeeminitialarabic=64673,e.tehjeemisolatedarabic=64523,e.tehmarbutaarabic=1577,e.tehmarbutafinalarabic=65172,e.tehmedialarabic=65176,e.tehmeeminitialarabic=64676,e.tehmeemisolatedarabic=64526,e.tehnoonfinalarabic=64627,e.tekatakana=12486,e.tekatakanahalfwidth=65411,e.telephone=8481,e.telephoneblack=9742,e.telishagedolahebrew=1440,e.telishaqetanahebrew=1449,e.tencircle=9321,e.tenideographicparen=12841,e.tenparen=9341,e.tenperiod=9361,e.tenroman=8569,e.tesh=679,e.tet=1496,e.tetdagesh=64312,e.tetdageshhebrew=64312,e.tethebrew=1496,e.tetsecyrillic=1205,e.tevirhebrew=1435,e.tevirlefthebrew=1435,e.thabengali=2469,e.thadeva=2341,e.thagujarati=2725,e.thagurmukhi=2597,e.thalarabic=1584,e.thalfinalarabic=65196,e.thanthakhatlowleftthai=63640,e.thanthakhatlowrightthai=63639,e.thanthakhatthai=3660,e.thanthakhatupperleftthai=63638,e.theharabic=1579,e.thehfinalarabic=65178,e.thehinitialarabic=65179,e.thehmedialarabic=65180,e.thereexists=8707,e.therefore=8756,e.theta=952,e.theta1=977,e.thetasymbolgreek=977,e.thieuthacirclekorean=12921,e.thieuthaparenkorean=12825,e.thieuthcirclekorean=12907,e.thieuthkorean=12620,e.thieuthparenkorean=12811,e.thirteencircle=9324,e.thirteenparen=9344,e.thirteenperiod=9364,e.thonangmonthothai=3601,e.thook=429,e.thophuthaothai=3602,e.thorn=254,e.thothahanthai=3607,e.thothanthai=3600,e.thothongthai=3608,e.thothungthai=3606,e.thousandcyrillic=1154,e.thousandsseparatorarabic=1644,e.thousandsseparatorpersian=1644,e.three=51,e.threearabic=1635,e.threebengali=2537,e.threecircle=9314,e.threecircleinversesansserif=10124,e.threedeva=2409,e.threeeighths=8540,e.threegujarati=2793,e.threegurmukhi=2665,e.threehackarabic=1635,e.threehangzhou=12323,e.threeideographicparen=12834,e.threeinferior=8323,e.threemonospace=65299,e.threenumeratorbengali=2550,e.threeoldstyle=63283,e.threeparen=9334,e.threeperiod=9354,e.threepersian=1779,e.threequarters=190,e.threequartersemdash=63198,e.threeroman=8562,e.threesuperior=179,e.threethai=3667,e.thzsquare=13204,e.tihiragana=12385,e.tikatakana=12481,e.tikatakanahalfwidth=65409,e.tikeutacirclekorean=12912,e.tikeutaparenkorean=12816,e.tikeutcirclekorean=12898,e.tikeutkorean=12599,e.tikeutparenkorean=12802,e.tilde=732,e.tildebelowcmb=816,e.tildecmb=771,e.tildecomb=771,e.tildedoublecmb=864,e.tildeoperator=8764,e.tildeoverlaycmb=820,e.tildeverticalcmb=830,e.timescircle=8855,e.tipehahebrew=1430,e.tipehalefthebrew=1430,e.tippigurmukhi=2672,e.titlocyrilliccmb=1155,e.tiwnarmenian=1407,e.tlinebelow=7791,e.tmonospace=65364,e.toarmenian=1385,e.tohiragana=12392,e.tokatakana=12488,e.tokatakanahalfwidth=65412,e.tonebarextrahighmod=741,e.tonebarextralowmod=745,e.tonebarhighmod=742,e.tonebarlowmod=744,e.tonebarmidmod=743,e.tonefive=445,e.tonesix=389,e.tonetwo=424,e.tonos=900,e.tonsquare=13095,e.topatakthai=3599,e.tortoiseshellbracketleft=12308,e.tortoiseshellbracketleftsmall=65117,e.tortoiseshellbracketleftvertical=65081,e.tortoiseshellbracketright=12309,e.tortoiseshellbracketrightsmall=65118,e.tortoiseshellbracketrightvertical=65082,e.totaothai=3605,e.tpalatalhook=427,e.tparen=9391,e.trademark=8482,e.trademarksans=63722,e.trademarkserif=63195,e.tretroflexhook=648,e.triagdn=9660,e.triaglf=9668,e.triagrt=9658,e.triagup=9650,e.ts=678,e.tsadi=1510,e.tsadidagesh=64326,e.tsadidageshhebrew=64326,e.tsadihebrew=1510,e.tsecyrillic=1094,e.tsere=1461,e.tsere12=1461,e.tsere1e=1461,e.tsere2b=1461,e.tserehebrew=1461,e.tserenarrowhebrew=1461,e.tserequarterhebrew=1461,e.tserewidehebrew=1461,e.tshecyrillic=1115,e.tsuperior=63219,e.ttabengali=2463,e.ttadeva=2335,e.ttagujarati=2719,e.ttagurmukhi=2591,e.tteharabic=1657,e.ttehfinalarabic=64359,e.ttehinitialarabic=64360,e.ttehmedialarabic=64361,e.tthabengali=2464,e.tthadeva=2336,e.tthagujarati=2720,e.tthagurmukhi=2592,e.tturned=647,e.tuhiragana=12388,e.tukatakana=12484,e.tukatakanahalfwidth=65410,e.tusmallhiragana=12387,e.tusmallkatakana=12483,e.tusmallkatakanahalfwidth=65391,e.twelvecircle=9323,e.twelveparen=9343,e.twelveperiod=9363,e.twelveroman=8571,e.twentycircle=9331,e.twentyhangzhou=21316,e.twentyparen=9351,e.twentyperiod=9371,e.two=50,e.twoarabic=1634,e.twobengali=2536,e.twocircle=9313,e.twocircleinversesansserif=10123,e.twodeva=2408,e.twodotenleader=8229,e.twodotleader=8229,e.twodotleadervertical=65072,e.twogujarati=2792,e.twogurmukhi=2664,e.twohackarabic=1634,e.twohangzhou=12322,e.twoideographicparen=12833,e.twoinferior=8322,e.twomonospace=65298,e.twonumeratorbengali=2549,e.twooldstyle=63282,e.twoparen=9333,e.twoperiod=9353,e.twopersian=1778,e.tworoman=8561,e.twostroke=443,e.twosuperior=178,e.twothai=3666,e.twothirds=8532,e.u=117,e.uacute=250,e.ubar=649,e.ubengali=2441,e.ubopomofo=12584,e.ubreve=365,e.ucaron=468,e.ucircle=9444,e.ucircumflex=251,e.ucircumflexbelow=7799,e.ucyrillic=1091,e.udattadeva=2385,e.udblacute=369,e.udblgrave=533,e.udeva=2313,e.udieresis=252,e.udieresisacute=472,e.udieresisbelow=7795,e.udieresiscaron=474,e.udieresiscyrillic=1265,e.udieresisgrave=476,e.udieresismacron=470,e.udotbelow=7909,e.ugrave=249,e.ugujarati=2697,e.ugurmukhi=2569,e.uhiragana=12358,e.uhookabove=7911,e.uhorn=432,e.uhornacute=7913,e.uhorndotbelow=7921,e.uhorngrave=7915,e.uhornhookabove=7917,e.uhorntilde=7919,e.uhungarumlaut=369,e.uhungarumlautcyrillic=1267,e.uinvertedbreve=535,e.ukatakana=12454,e.ukatakanahalfwidth=65395,e.ukcyrillic=1145,e.ukorean=12636,e.umacron=363,e.umacroncyrillic=1263,e.umacrondieresis=7803,e.umatragurmukhi=2625,e.umonospace=65365,e.underscore=95,e.underscoredbl=8215,e.underscoremonospace=65343,e.underscorevertical=65075,e.underscorewavy=65103,e.union=8746,e.universal=8704,e.uogonek=371,e.uparen=9392,e.upblock=9600,e.upperdothebrew=1476,e.upsilon=965,e.upsilondieresis=971,e.upsilondieresistonos=944,e.upsilonlatin=650,e.upsilontonos=973,e.uptackbelowcmb=797,e.uptackmod=724,e.uragurmukhi=2675,e.uring=367,e.ushortcyrillic=1118,e.usmallhiragana=12357,e.usmallkatakana=12453,e.usmallkatakanahalfwidth=65385,e.ustraightcyrillic=1199,e.ustraightstrokecyrillic=1201,e.utilde=361,e.utildeacute=7801,e.utildebelow=7797,e.uubengali=2442,e.uudeva=2314,e.uugujarati=2698,e.uugurmukhi=2570,e.uumatragurmukhi=2626,e.uuvowelsignbengali=2498,e.uuvowelsigndeva=2370,e.uuvowelsigngujarati=2754,e.uvowelsignbengali=2497,e.uvowelsigndeva=2369,e.uvowelsigngujarati=2753,e.v=118,e.vadeva=2357,e.vagujarati=2741,e.vagurmukhi=2613,e.vakatakana=12535,e.vav=1493,e.vavdagesh=64309,e.vavdagesh65=64309,e.vavdageshhebrew=64309,e.vavhebrew=1493,e.vavholam=64331,e.vavholamhebrew=64331,e.vavvavhebrew=1520,e.vavyodhebrew=1521,e.vcircle=9445,e.vdotbelow=7807,e.vecyrillic=1074,e.veharabic=1700,e.vehfinalarabic=64363,e.vehinitialarabic=64364,e.vehmedialarabic=64365,e.vekatakana=12537,e.venus=9792,e.verticalbar=124,e.verticallineabovecmb=781,e.verticallinebelowcmb=809,e.verticallinelowmod=716,e.verticallinemod=712,e.vewarmenian=1406,e.vhook=651,e.vikatakana=12536,e.viramabengali=2509,e.viramadeva=2381,e.viramagujarati=2765,e.visargabengali=2435,e.visargadeva=2307,e.visargagujarati=2691,e.vmonospace=65366,e.voarmenian=1400,e.voicediterationhiragana=12446,e.voicediterationkatakana=12542,e.voicedmarkkana=12443,e.voicedmarkkanahalfwidth=65438,e.vokatakana=12538,e.vparen=9393,e.vtilde=7805,e.vturned=652,e.vuhiragana=12436,e.vukatakana=12532,e.w=119,e.wacute=7811,e.waekorean=12633,e.wahiragana=12431,e.wakatakana=12527,e.wakatakanahalfwidth=65436,e.wakorean=12632,e.wasmallhiragana=12430,e.wasmallkatakana=12526,e.wattosquare=13143,e.wavedash=12316,e.wavyunderscorevertical=65076,e.wawarabic=1608,e.wawfinalarabic=65262,e.wawhamzaabovearabic=1572,e.wawhamzaabovefinalarabic=65158,e.wbsquare=13277,e.wcircle=9446,e.wcircumflex=373,e.wdieresis=7813,e.wdotaccent=7815,e.wdotbelow=7817,e.wehiragana=12433,e.weierstrass=8472,e.wekatakana=12529,e.wekorean=12638,e.weokorean=12637,e.wgrave=7809,e.whitebullet=9702,e.whitecircle=9675,e.whitecircleinverse=9689,e.whitecornerbracketleft=12302,e.whitecornerbracketleftvertical=65091,e.whitecornerbracketright=12303,e.whitecornerbracketrightvertical=65092,e.whitediamond=9671,e.whitediamondcontainingblacksmalldiamond=9672,e.whitedownpointingsmalltriangle=9663,e.whitedownpointingtriangle=9661,e.whiteleftpointingsmalltriangle=9667;e.whiteleftpointingtriangle=9665,e.whitelenticularbracketleft=12310,e.whitelenticularbracketright=12311,e.whiterightpointingsmalltriangle=9657,e.whiterightpointingtriangle=9655,e.whitesmallsquare=9643,e.whitesmilingface=9786,e.whitesquare=9633,e.whitestar=9734,e.whitetelephone=9743,e.whitetortoiseshellbracketleft=12312,e.whitetortoiseshellbracketright=12313,e.whiteuppointingsmalltriangle=9653,e.whiteuppointingtriangle=9651,e.wihiragana=12432,e.wikatakana=12528,e.wikorean=12639,e.wmonospace=65367,e.wohiragana=12434,e.wokatakana=12530,e.wokatakanahalfwidth=65382,e.won=8361,e.wonmonospace=65510,e.wowaenthai=3623,e.wparen=9394,e.wring=7832,e.wsuperior=695,e.wturned=653,e.wynn=447,e.x=120,e.xabovecmb=829,e.xbopomofo=12562,e.xcircle=9447,e.xdieresis=7821,e.xdotaccent=7819,e.xeharmenian=1389,e.xi=958,e.xmonospace=65368,e.xparen=9395,e.xsuperior=739,e.y=121,e.yaadosquare=13134,e.yabengali=2479,e.yacute=253,e.yadeva=2351,e.yaekorean=12626,e.yagujarati=2735,e.yagurmukhi=2607,e.yahiragana=12420,e.yakatakana=12516,e.yakatakanahalfwidth=65428,e.yakorean=12625,e.yamakkanthai=3662,e.yasmallhiragana=12419,e.yasmallkatakana=12515,e.yasmallkatakanahalfwidth=65388,e.yatcyrillic=1123,e.ycircle=9448,e.ycircumflex=375,e.ydieresis=255,e.ydotaccent=7823,e.ydotbelow=7925,e.yeharabic=1610,e.yehbarreearabic=1746,e.yehbarreefinalarabic=64431,e.yehfinalarabic=65266,e.yehhamzaabovearabic=1574,e.yehhamzaabovefinalarabic=65162,e.yehhamzaaboveinitialarabic=65163,e.yehhamzaabovemedialarabic=65164,e.yehinitialarabic=65267,e.yehmedialarabic=65268,e.yehmeeminitialarabic=64733,e.yehmeemisolatedarabic=64600,e.yehnoonfinalarabic=64660,e.yehthreedotsbelowarabic=1745,e.yekorean=12630,e.yen=165,e.yenmonospace=65509,e.yeokorean=12629,e.yeorinhieuhkorean=12678,e.yerahbenyomohebrew=1450,e.yerahbenyomolefthebrew=1450,e.yericyrillic=1099,e.yerudieresiscyrillic=1273,e.yesieungkorean=12673,e.yesieungpansioskorean=12675,e.yesieungsioskorean=12674,e.yetivhebrew=1434,e.ygrave=7923,e.yhook=436,e.yhookabove=7927,e.yiarmenian=1397,e.yicyrillic=1111,e.yikorean=12642,e.yinyang=9775,e.yiwnarmenian=1410,e.ymonospace=65369,e.yod=1497,e.yoddagesh=64313,e.yoddageshhebrew=64313,e.yodhebrew=1497,e.yodyodhebrew=1522,e.yodyodpatahhebrew=64287,e.yohiragana=12424,e.yoikorean=12681,e.yokatakana=12520,e.yokatakanahalfwidth=65430,e.yokorean=12635,e.yosmallhiragana=12423,e.yosmallkatakana=12519,e.yosmallkatakanahalfwidth=65390,e.yotgreek=1011,e.yoyaekorean=12680,e.yoyakorean=12679,e.yoyakthai=3618,e.yoyingthai=3597,e.yparen=9396,e.ypogegrammeni=890,e.ypogegrammenigreekcmb=837,e.yr=422,e.yring=7833,e.ysuperior=696,e.ytilde=7929,e.yturned=654,e.yuhiragana=12422,e.yuikorean=12684,e.yukatakana=12518,e.yukatakanahalfwidth=65429,e.yukorean=12640,e.yusbigcyrillic=1131,e.yusbigiotifiedcyrillic=1133,e.yuslittlecyrillic=1127,e.yuslittleiotifiedcyrillic=1129,e.yusmallhiragana=12421,e.yusmallkatakana=12517,e.yusmallkatakanahalfwidth=65389,e.yuyekorean=12683,e.yuyeokorean=12682,e.yyabengali=2527,e.yyadeva=2399,e.z=122,e.zaarmenian=1382,e.zacute=378,e.zadeva=2395,e.zagurmukhi=2651,e.zaharabic=1592,e.zahfinalarabic=65222,e.zahinitialarabic=65223,e.zahiragana=12374,e.zahmedialarabic=65224,e.zainarabic=1586,e.zainfinalarabic=65200,e.zakatakana=12470,e.zaqefgadolhebrew=1429,e.zaqefqatanhebrew=1428,e.zarqahebrew=1432,e.zayin=1494,e.zayindagesh=64310,e.zayindageshhebrew=64310,e.zayinhebrew=1494,e.zbopomofo=12567,e.zcaron=382,e.zcircle=9449,e.zcircumflex=7825,e.zcurl=657,e.zdot=380,e.zdotaccent=380,e.zdotbelow=7827,e.zecyrillic=1079,e.zedescendercyrillic=1177,e.zedieresiscyrillic=1247,e.zehiragana=12380,e.zekatakana=12476,e.zero=48,e.zeroarabic=1632,e.zerobengali=2534,e.zerodeva=2406,e.zerogujarati=2790,e.zerogurmukhi=2662,e.zerohackarabic=1632,e.zeroinferior=8320,e.zeromonospace=65296,e.zerooldstyle=63280,e.zeropersian=1776,e.zerosuperior=8304,e.zerothai=3664,e.zerowidthjoiner=65279,e.zerowidthnonjoiner=8204,e.zerowidthspace=8203,e.zeta=950,e.zhbopomofo=12563,e.zhearmenian=1386,e.zhebrevecyrillic=1218,e.zhecyrillic=1078,e.zhedescendercyrillic=1175,e.zhedieresiscyrillic=1245,e.zihiragana=12376,e.zikatakana=12472,e.zinorhebrew=1454,e.zlinebelow=7829,e.zmonospace=65370,e.zohiragana=12382,e.zokatakana=12478,e.zparen=9397,e.zretroflexhook=656,e.zstroke=438,e.zuhiragana=12378,e.zukatakana=12474,e[".notdef"]=0,e.angbracketleftbig=9001,e.angbracketleftBig=9001,e.angbracketleftbigg=9001,e.angbracketleftBigg=9001,e.angbracketrightBig=9002,e.angbracketrightbig=9002,e.angbracketrightBigg=9002,e.angbracketrightbigg=9002,e.arrowhookleft=8618,e.arrowhookright=8617,e.arrowlefttophalf=8636,e.arrowleftbothalf=8637,e.arrownortheast=8599,e.arrownorthwest=8598,e.arrowrighttophalf=8640,e.arrowrightbothalf=8641,e.arrowsoutheast=8600,e.arrowsouthwest=8601,e.backslashbig=8726,e.backslashBig=8726,e.backslashBigg=8726,e.backslashbigg=8726,e.bardbl=8214,e.bracehtipdownleft=65079,e.bracehtipdownright=65079,e.bracehtipupleft=65080,e.bracehtipupright=65080,e.braceleftBig=123,e.braceleftbig=123,e.braceleftbigg=123,e.braceleftBigg=123,e.bracerightBig=125,e.bracerightbig=125,e.bracerightbigg=125,e.bracerightBigg=125,e.bracketleftbig=91,e.bracketleftBig=91,e.bracketleftbigg=91,e.bracketleftBigg=91,e.bracketrightBig=93,e.bracketrightbig=93,e.bracketrightbigg=93,e.bracketrightBigg=93,e.ceilingleftbig=8968,e.ceilingleftBig=8968,e.ceilingleftBigg=8968,e.ceilingleftbigg=8968,e.ceilingrightbig=8969,e.ceilingrightBig=8969,e.ceilingrightbigg=8969,e.ceilingrightBigg=8969,e.circledotdisplay=8857,e.circledottext=8857,e.circlemultiplydisplay=8855,e.circlemultiplytext=8855,e.circleplusdisplay=8853,e.circleplustext=8853,e.contintegraldisplay=8750,e.contintegraltext=8750,e.coproductdisplay=8720,e.coproducttext=8720,e.floorleftBig=8970,e.floorleftbig=8970,e.floorleftbigg=8970,e.floorleftBigg=8970,e.floorrightbig=8971,e.floorrightBig=8971,e.floorrightBigg=8971,e.floorrightbigg=8971,e.hatwide=770,e.hatwider=770,e.hatwidest=770,e.intercal=7488,e.integraldisplay=8747,e.integraltext=8747,e.intersectiondisplay=8898,e.intersectiontext=8898,e.logicalanddisplay=8743,e.logicalandtext=8743,e.logicalordisplay=8744,e.logicalortext=8744,e.parenleftBig=40,e.parenleftbig=40,e.parenleftBigg=40,e.parenleftbigg=40,e.parenrightBig=41,e.parenrightbig=41,e.parenrightBigg=41,e.parenrightbigg=41,e.prime=8242,e.productdisplay=8719,e.producttext=8719,e.radicalbig=8730,e.radicalBig=8730,e.radicalBigg=8730,e.radicalbigg=8730,e.radicalbt=8730,e.radicaltp=8730,e.radicalvertex=8730,e.slashbig=47,e.slashBig=47,e.slashBigg=47,e.slashbigg=47,e.summationdisplay=8721,e.summationtext=8721,e.tildewide=732,e.tildewider=732,e.tildewidest=732,e.uniondisplay=8899,e.unionmultidisplay=8846,e.unionmultitext=8846,e.unionsqdisplay=8852,e.unionsqtext=8852,e.uniontext=8899,e.vextenddouble=8741,e.vextendsingle=8739}),i=(0,t.getLookupTableFactory)(function(e){e.space=32,e.a1=9985,e.a2=9986,e.a202=9987,e.a3=9988,e.a4=9742,e.a5=9990,e.a119=9991,e.a118=9992,e.a117=9993,e.a11=9755,e.a12=9758,e.a13=9996,e.a14=9997,e.a15=9998,e.a16=9999,e.a105=1e4,e.a17=10001,e.a18=10002,e.a19=10003,e.a20=10004,e.a21=10005,e.a22=10006,e.a23=10007,e.a24=10008,e.a25=10009,e.a26=10010,e.a27=10011,e.a28=10012,e.a6=10013,e.a7=10014,e.a8=10015,e.a9=10016,e.a10=10017,e.a29=10018,e.a30=10019,e.a31=10020,e.a32=10021,e.a33=10022,e.a34=10023,e.a35=9733,e.a36=10025,e.a37=10026,e.a38=10027,e.a39=10028,e.a40=10029,e.a41=10030,e.a42=10031,e.a43=10032,e.a44=10033,e.a45=10034,e.a46=10035,e.a47=10036,e.a48=10037,e.a49=10038,e.a50=10039,e.a51=10040,e.a52=10041,e.a53=10042,e.a54=10043,e.a55=10044,e.a56=10045,e.a57=10046,e.a58=10047,e.a59=10048,e.a60=10049,e.a61=10050,e.a62=10051,e.a63=10052,e.a64=10053,e.a65=10054,e.a66=10055,e.a67=10056,e.a68=10057,e.a69=10058,e.a70=10059,e.a71=9679,e.a72=10061,e.a73=9632,e.a74=10063,e.a203=10064,e.a75=10065,e.a204=10066,e.a76=9650,e.a77=9660,e.a78=9670,e.a79=10070,e.a81=9687,e.a82=10072,e.a83=10073,e.a84=10074,e.a97=10075,e.a98=10076,e.a99=10077,e.a100=10078,e.a101=10081,e.a102=10082,e.a103=10083,e.a104=10084,e.a106=10085,e.a107=10086,e.a108=10087,e.a112=9827,e.a111=9830,e.a110=9829,e.a109=9824,e.a120=9312,e.a121=9313,e.a122=9314,e.a123=9315,e.a124=9316,e.a125=9317,e.a126=9318,e.a127=9319,e.a128=9320,e.a129=9321,e.a130=10102,e.a131=10103,e.a132=10104,e.a133=10105,e.a134=10106,e.a135=10107,e.a136=10108,e.a137=10109,e.a138=10110,e.a139=10111,e.a140=10112,e.a141=10113,e.a142=10114,e.a143=10115,e.a144=10116,e.a145=10117,e.a146=10118,e.a147=10119,e.a148=10120,e.a149=10121,e.a150=10122,e.a151=10123,e.a152=10124,e.a153=10125,e.a154=10126,e.a155=10127,e.a156=10128,e.a157=10129,e.a158=10130,e.a159=10131,e.a160=10132,e.a161=8594,e.a163=8596,e.a164=8597,e.a196=10136,e.a165=10137,e.a192=10138,e.a166=10139,e.a167=10140,e.a168=10141,e.a169=10142,e.a170=10143,e.a171=10144,e.a172=10145,e.a173=10146,e.a162=10147,e.a174=10148,e.a175=10149,e.a176=10150,e.a177=10151,e.a178=10152,e.a179=10153,e.a193=10154,e.a180=10155,e.a199=10156,e.a181=10157,e.a200=10158,e.a182=10159,e.a201=10161,e.a183=10162,e.a184=10163,e.a197=10164,e.a185=10165,e.a194=10166,e.a198=10167,e.a186=10168,e.a195=10169,e.a187=10170,e.a188=10171,e.a189=10172,e.a190=10173,e.a191=10174,e.a89=10088,e.a90=10089,e.a93=10090,e.a94=10091,e.a91=10092,e.a92=10093,e.a205=10094,e.a85=10095,e.a206=10096,e.a86=10097,e.a87=10098,e.a88=10099,e.a95=10100,e.a96=10101,e[".notdef"]=0})},(e,t,a)=>{a.r(t),a.d(t,{clearUnicodeCaches:()=>function(){n.clear()},getCharUnicodeCategory:()=>function(e){var t=n.get(e);if(t)return t;t=e.match(i),t={isWhitespace:!!t?.[1],isZeroWidthDiacritic:!!t?.[2],isInvisibleFormatMark:!!t?.[3]};return n.set(e,t),t},getUnicodeForGlyph:()=>function(t,a){let r=a[t];if(void 0!==r)return r;if(t&&"u"===t[0]){const a=t.length;let e;if(7===a&&"n"===t[1]&&"i"===t[2])e=t.substring(3);else{if(!(5<=a&&a<=7))return-1;e=t.substring(1)}if(e===e.toUpperCase()&&0<=(r=parseInt(e,16)))return r}return-1},getUnicodeRangeFor:()=>function(r,a=-1){if(-1!==a){var i=s[a];for(let e=0,t=i.length;e<t;e+=2)if(r>=i[e]&&r<=i[e+1])return a}for(let a=0,e=s.length;a<e;a++){var n=s[a];for(let e=0,t=n.length;e<t;e+=2)if(r>=n[e]&&r<=n[e+1])return a}return-1},mapSpecialUnicodeValues:()=>function(e){return 65520<=e&&e<=65535?0:62976<=e&&e<=63743?r()[e]||e:173===e?45:e}});const r=(0,a(3).getLookupTableFactory)(function(e){e[63721]=169,e[63193]=169,e[63720]=174,e[63194]=174,e[63722]=8482,e[63195]=8482,e[63729]=9127,e[63730]=9128,e[63731]=9129,e[63740]=9131,e[63741]=9132,e[63742]=9133,e[63726]=9121,e[63727]=9122,e[63728]=9123,e[63737]=9124,e[63738]=9125,e[63739]=9126,e[63723]=9115,e[63724]=9116,e[63725]=9117,e[63734]=9118,e[63735]=9119,e[63736]=9120});const s=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];const i=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),n=new Map},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSerifFonts=t.getNonStdFontMap=t.getGlyphMapForStandardFonts=t.getFontNameToFileMap=void 0,t.getStandardFontName=function(e){e=(0,i.normalizeFontName)(e);return n()[e]},t.getSymbolsFonts=t.getSupplementalGlyphMapForCalibri=t.getSupplementalGlyphMapForArialBlack=t.getStdFontMap=void 0;var r=a(3),i=a(38);const n=(0,r.getLookupTableFactory)(function(e){e["Times-Roman"]="Times-Roman",e.Helvetica="Helvetica",e.Courier="Courier",e.Symbol="Symbol",e["Times-Bold"]="Times-Bold",e["Helvetica-Bold"]="Helvetica-Bold",e["Courier-Bold"]="Courier-Bold",e.ZapfDingbats="ZapfDingbats",e["Times-Italic"]="Times-Italic",e["Helvetica-Oblique"]="Helvetica-Oblique",e["Courier-Oblique"]="Courier-Oblique",e["Times-BoldItalic"]="Times-BoldItalic",e["Helvetica-BoldOblique"]="Helvetica-BoldOblique",e["Courier-BoldOblique"]="Courier-BoldOblique",e.ArialNarrow="Helvetica",e["ArialNarrow-Bold"]="Helvetica-Bold",e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",e["ArialNarrow-Italic"]="Helvetica-Oblique",e.ArialBlack="Helvetica",e["ArialBlack-Bold"]="Helvetica-Bold",e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",e["ArialBlack-Italic"]="Helvetica-Oblique",e["Arial-Black"]="Helvetica",e["Arial-Black-Bold"]="Helvetica-Bold",e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Black-Italic"]="Helvetica-Oblique",e.Arial="Helvetica",e["Arial-Bold"]="Helvetica-Bold",e["Arial-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Italic"]="Helvetica-Oblique",e.ArialMT="Helvetica",e["Arial-BoldItalicMT"]="Helvetica-BoldOblique",e["Arial-BoldMT"]="Helvetica-Bold",e["Arial-ItalicMT"]="Helvetica-Oblique",e["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",e["Arial-BoldMT-Bold"]="Helvetica-Bold",e["Arial-ItalicMT-Italic"]="Helvetica-Oblique",e.ArialUnicodeMS="Helvetica",e["ArialUnicodeMS-Bold"]="Helvetica-Bold",e["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",e["ArialUnicodeMS-Italic"]="Helvetica-Oblique",e["Courier-BoldItalic"]="Courier-BoldOblique",e["Courier-Italic"]="Courier-Oblique",e.CourierNew="Courier",e["CourierNew-Bold"]="Courier-Bold",e["CourierNew-BoldItalic"]="Courier-BoldOblique",e["CourierNew-Italic"]="Courier-Oblique",e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",e["CourierNewPS-BoldMT"]="Courier-Bold",e["CourierNewPS-ItalicMT"]="Courier-Oblique",e.CourierNewPSMT="Courier",e["Helvetica-BoldItalic"]="Helvetica-BoldOblique",e["Helvetica-Italic"]="Helvetica-Oblique",e["Symbol-Bold"]="Symbol",e["Symbol-BoldItalic"]="Symbol",e["Symbol-Italic"]="Symbol",e.TimesNewRoman="Times-Roman",e["TimesNewRoman-Bold"]="Times-Bold",e["TimesNewRoman-BoldItalic"]="Times-BoldItalic",e["TimesNewRoman-Italic"]="Times-Italic",e.TimesNewRomanPS="Times-Roman",e["TimesNewRomanPS-Bold"]="Times-Bold",e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",e["TimesNewRomanPS-BoldMT"]="Times-Bold",e["TimesNewRomanPS-Italic"]="Times-Italic",e["TimesNewRomanPS-ItalicMT"]="Times-Italic",e.TimesNewRomanPSMT="Times-Roman",e["TimesNewRomanPSMT-Bold"]="Times-Bold",e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPSMT-Italic"]="Times-Italic"});t.getStdFontMap=n;a=(0,r.getLookupTableFactory)(function(e){e.Courier="FoxitFixed.pfb",e["Courier-Bold"]="FoxitFixedBold.pfb",e["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",e["Courier-Oblique"]="FoxitFixedItalic.pfb",e.Helvetica="LiberationSans-Regular.ttf",e["Helvetica-Bold"]="LiberationSans-Bold.ttf",e["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",e["Helvetica-Oblique"]="LiberationSans-Italic.ttf",e["Times-Roman"]="FoxitSerif.pfb",e["Times-Bold"]="FoxitSerifBold.pfb",e["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",e["Times-Italic"]="FoxitSerifItalic.pfb",e.Symbol="FoxitSymbol.pfb",e.ZapfDingbats="FoxitDingbats.pfb",e["LiberationSans-Regular"]="LiberationSans-Regular.ttf",e["LiberationSans-Bold"]="LiberationSans-Bold.ttf",e["LiberationSans-Italic"]="LiberationSans-Italic.ttf",e["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"}),t.getFontNameToFileMap=a,a=(0,r.getLookupTableFactory)(function(e){e.Calibri="Helvetica",e["Calibri-Bold"]="Helvetica-Bold",e["Calibri-BoldItalic"]="Helvetica-BoldOblique",e["Calibri-Italic"]="Helvetica-Oblique",e.CenturyGothic="Helvetica",e["CenturyGothic-Bold"]="Helvetica-Bold",e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",e["CenturyGothic-Italic"]="Helvetica-Oblique",e.ComicSansMS="Comic Sans MS",e["ComicSansMS-Bold"]="Comic Sans MS-Bold",e["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",e["ComicSansMS-Italic"]="Comic Sans MS-Italic",e.Impact="Helvetica",e["ItcSymbol-Bold"]="Helvetica-Bold",e["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",e["ItcSymbol-Book"]="Helvetica",e["ItcSymbol-BookItalic"]="Helvetica-Oblique",e["ItcSymbol-Medium"]="Helvetica",e["ItcSymbol-MediumItalic"]="Helvetica-Oblique",e.LucidaConsole="Courier",e["LucidaConsole-Bold"]="Courier-Bold",e["LucidaConsole-BoldItalic"]="Courier-BoldOblique",e["LucidaConsole-Italic"]="Courier-Oblique",e["LucidaSans-Demi"]="Helvetica-Bold",e["MS-Gothic"]="MS Gothic",e["MS-Gothic-Bold"]="MS Gothic-Bold",e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",e["MS-Gothic-Italic"]="MS Gothic-Italic",e["MS-Mincho"]="MS Mincho",e["MS-Mincho-Bold"]="MS Mincho-Bold",e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",e["MS-Mincho-Italic"]="MS Mincho-Italic",e["MS-PGothic"]="MS PGothic",e["MS-PGothic-Bold"]="MS PGothic-Bold",e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",e["MS-PGothic-Italic"]="MS PGothic-Italic",e["MS-PMincho"]="MS PMincho",e["MS-PMincho-Bold"]="MS PMincho-Bold",e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",e["MS-PMincho-Italic"]="MS PMincho-Italic",e.NuptialScript="Times-Italic",e.SegoeUISymbol="Helvetica"}),t.getNonStdFontMap=a,a=(0,r.getLookupTableFactory)(function(e){e["Adobe Jenson"]=!0,e["Adobe Text"]=!0,e.Albertus=!0,e.Aldus=!0,e.Alexandria=!0,e.Algerian=!0,e["American Typewriter"]=!0,e.Antiqua=!0,e.Apex=!0,e.Arno=!0,e.Aster=!0,e.Aurora=!0,e.Baskerville=!0,e.Bell=!0,e.Bembo=!0,e["Bembo Schoolbook"]=!0,e.Benguiat=!0,e["Berkeley Old Style"]=!0,e["Bernhard Modern"]=!0,e["Berthold City"]=!0,e.Bodoni=!0,e["Bauer Bodoni"]=!0,e["Book Antiqua"]=!0,e.Bookman=!0,e["Bordeaux Roman"]=!0,e["Californian FB"]=!0,e.Calisto=!0,e.Calvert=!0,e.Capitals=!0,e.Cambria=!0,e.Cartier=!0,e.Caslon=!0,e.Catull=!0,e.Centaur=!0,e["Century Old Style"]=!0,e["Century Schoolbook"]=!0,e.Chaparral=!0,e["Charis SIL"]=!0,e.Cheltenham=!0,e["Cholla Slab"]=!0,e.Clarendon=!0,e.Clearface=!0,e.Cochin=!0,e.Colonna=!0,e["Computer Modern"]=!0,e["Concrete Roman"]=!0,e.Constantia=!0,e["Cooper Black"]=!0,e.Corona=!0,e.Ecotype=!0,e.Egyptienne=!0,e.Elephant=!0,e.Excelsior=!0,e.Fairfield=!0,e["FF Scala"]=!0,e.Folkard=!0,e.Footlight=!0,e.FreeSerif=!0,e["Friz Quadrata"]=!0,e.Garamond=!0,e.Gentium=!0,e.Georgia=!0,e.Gloucester=!0,e["Goudy Old Style"]=!0,e["Goudy Schoolbook"]=!0,e["Goudy Pro Font"]=!0,e.Granjon=!0,e["Guardian Egyptian"]=!0,e.Heather=!0,e.Hercules=!0,e["High Tower Text"]=!0,e.Hiroshige=!0,e["Hoefler Text"]=!0,e["Humana Serif"]=!0,e.Imprint=!0,e["Ionic No. 5"]=!0,e.Janson=!0,e.Joanna=!0,e.Korinna=!0,e.Lexicon=!0,e.LiberationSerif=!0,e["Liberation Serif"]=!0,e["Linux Libertine"]=!0,e.Literaturnaya=!0,e.Lucida=!0,e["Lucida Bright"]=!0,e.Melior=!0,e.Memphis=!0,e.Miller=!0,e.Minion=!0,e.Modern=!0,e["Mona Lisa"]=!0,e["Mrs Eaves"]=!0,e["MS Serif"]=!0,e["Museo Slab"]=!0,e["New York"]=!0,e["Nimbus Roman"]=!0,e["NPS Rawlinson Roadway"]=!0,e.NuptialScript=!0,e.Palatino=!0,e.Perpetua=!0,e.Plantin=!0,e["Plantin Schoolbook"]=!0,e.Playbill=!0,e["Poor Richard"]=!0,e["Rawlinson Roadway"]=!0,e.Renault=!0,e.Requiem=!0,e.Rockwell=!0,e.Roman=!0,e["Rotis Serif"]=!0,e.Sabon=!0,e.Scala=!0,e.Seagull=!0,e.Sistina=!0,e.Souvenir=!0,e.STIX=!0,e["Stone Informal"]=!0,e["Stone Serif"]=!0,e.Sylfaen=!0,e.Times=!0,e.Trajan=!0,e["Trinité"]=!0,e["Trump Mediaeval"]=!0,e.Utopia=!0,e["Vale Type"]=!0,e["Bitstream Vera"]=!0,e["Vera Serif"]=!0,e.Versailles=!0,e.Wanted=!0,e.Weiss=!0,e["Wide Latin"]=!0,e.Windsor=!0,e.XITS=!0}),t.getSerifFonts=a,a=(0,r.getLookupTableFactory)(function(e){e.Dingbats=!0,e.Symbol=!0,e.ZapfDingbats=!0}),t.getSymbolsFonts=a,a=(0,r.getLookupTableFactory)(function(e){e[2]=10,e[3]=32,e[4]=33,e[5]=34,e[6]=35,e[7]=36,e[8]=37,e[9]=38,e[10]=39,e[11]=40,e[12]=41,e[13]=42,e[14]=43,e[15]=44,e[16]=45,e[17]=46,e[18]=47,e[19]=48,e[20]=49,e[21]=50,e[22]=51,e[23]=52,e[24]=53,e[25]=54,e[26]=55,e[27]=56,e[28]=57,e[29]=58,e[30]=894,e[31]=60,e[32]=61,e[33]=62,e[34]=63,e[35]=64,e[36]=65,e[37]=66,e[38]=67,e[39]=68,e[40]=69,e[41]=70,e[42]=71,e[43]=72,e[44]=73,e[45]=74,e[46]=75,e[47]=76,e[48]=77,e[49]=78,e[50]=79,e[51]=80,e[52]=81,e[53]=82,e[54]=83,e[55]=84,e[56]=85,e[57]=86,e[58]=87,e[59]=88,e[60]=89,e[61]=90,e[62]=91,e[63]=92,e[64]=93,e[65]=94,e[66]=95,e[67]=96,e[68]=97,e[69]=98,e[70]=99,e[71]=100,e[72]=101,e[73]=102,e[74]=103,e[75]=104,e[76]=105,e[77]=106,e[78]=107,e[79]=108,e[80]=109,e[81]=110,e[82]=111,e[83]=112,e[84]=113,e[85]=114,e[86]=115,e[87]=116,e[88]=117,e[89]=118,e[90]=119,e[91]=120,e[92]=121,e[93]=122,e[94]=123,e[95]=124,e[96]=125,e[97]=126,e[98]=196,e[99]=197,e[100]=199,e[101]=201,e[102]=209,e[103]=214,e[104]=220,e[105]=225,e[106]=224,e[107]=226,e[108]=228,e[109]=227,e[110]=229,e[111]=231,e[112]=233,e[113]=232,e[114]=234,e[115]=235,e[116]=237,e[117]=236,e[118]=238,e[119]=239,e[120]=241,e[121]=243,e[122]=242,e[123]=244,e[124]=246,e[125]=245,e[126]=250,e[127]=249,e[128]=251,e[129]=252,e[130]=8224,e[131]=176,e[132]=162,e[133]=163,e[134]=167,e[135]=8226,e[136]=182,e[137]=223,e[138]=174,e[139]=169,e[140]=8482,e[141]=180,e[142]=168,e[143]=8800,e[144]=198,e[145]=216,e[146]=8734,e[147]=177,e[148]=8804,e[149]=8805,e[150]=165,e[151]=181,e[152]=8706,e[153]=8721,e[154]=8719,e[156]=8747,e[157]=170,e[158]=186,e[159]=8486,e[160]=230,e[161]=248,e[162]=191,e[163]=161,e[164]=172,e[165]=8730,e[166]=402,e[167]=8776,e[168]=8710,e[169]=171,e[170]=187,e[171]=8230,e[179]=8220,e[180]=8221,e[181]=8216,e[182]=8217,e[200]=193,e[203]=205,e[207]=211,e[210]=218,e[223]=711,e[224]=321,e[225]=322,e[226]=352,e[227]=353,e[228]=381,e[229]=382,e[233]=221,e[234]=253,e[252]=263,e[253]=268,e[254]=269,e[258]=258,e[260]=260,e[261]=261,e[265]=280,e[266]=281,e[267]=282,e[268]=283,e[269]=313,e[275]=323,e[276]=324,e[278]=328,e[283]=344,e[284]=345,e[285]=346,e[286]=347,e[292]=367,e[295]=377,e[296]=378,e[298]=380,e[305]=963,e[306]=964,e[307]=966,e[308]=8215,e[309]=8252,e[310]=8319,e[311]=8359,e[312]=8592,e[313]=8593,e[337]=9552,e[493]=1039,e[494]=1040,e[672]=1488,e[673]=1489,e[674]=1490,e[675]=1491,e[676]=1492,e[677]=1493,e[678]=1494,e[679]=1495,e[680]=1496,e[681]=1497,e[682]=1498,e[683]=1499,e[684]=1500,e[685]=1501,e[686]=1502,e[687]=1503,e[688]=1504,e[689]=1505,e[690]=1506,e[691]=1507,e[692]=1508,e[693]=1509,e[694]=1510,e[695]=1511,e[696]=1512,e[697]=1513,e[698]=1514,e[705]=1524,e[706]=8362,e[710]=64288,e[711]=64298,e[759]=1617,e[761]=1776,e[763]=1778,e[775]=1652,e[777]=1764,e[778]=1780,e[779]=1781,e[780]=1782,e[782]=771,e[783]=64726,e[786]=8363,e[788]=8532,e[790]=768,e[791]=769,e[792]=768,e[795]=803,e[797]=64336,e[798]=64337,e[799]=64342,e[800]=64343,e[801]=64344,e[802]=64345,e[803]=64362,e[804]=64363,e[805]=64364,e[2424]=7821,e[2425]=7822,e[2426]=7823,e[2427]=7824,e[2428]=7825,e[2429]=7826,e[2430]=7827,e[2433]=7682,e[2678]=8045,e[2679]=8046,e[2830]=1552,e[2838]=686,e[2840]=751,e[2842]=753,e[2843]=754,e[2844]=755,e[2846]=757,e[2856]=767,e[2857]=848,e[2858]=849,e[2862]=853,e[2863]=854,e[2864]=855,e[2865]=861,e[2866]=862,e[2906]=7460,e[2908]=7462,e[2909]=7463,e[2910]=7464,e[2912]=7466,e[2913]=7467,e[2914]=7468,e[2916]=7470,e[2917]=7471,e[2918]=7472,e[2920]=7474,e[2921]=7475,e[2922]=7476,e[2924]=7478,e[2925]=7479,e[2926]=7480,e[2928]=7482,e[2929]=7483,e[2930]=7484,e[2932]=7486,e[2933]=7487,e[2934]=7488,e[2936]=7490,e[2937]=7491,e[2938]=7492,e[2940]=7494,e[2941]=7495,e[2942]=7496,e[2944]=7498,e[2946]=7500,e[2948]=7502,e[2950]=7504,e[2951]=7505,e[2952]=7506,e[2954]=7508,e[2955]=7509,e[2956]=7510,e[2958]=7512,e[2959]=7513,e[2960]=7514,e[2962]=7516,e[2963]=7517,e[2964]=7518,e[2966]=7520,e[2967]=7521,e[2968]=7522,e[2970]=7524,e[2971]=7525,e[2972]=7526,e[2974]=7528,e[2975]=7529,e[2976]=7530,e[2978]=1537,e[2979]=1538,e[2980]=1539,e[2982]=1549,e[2983]=1551,e[2984]=1552,e[2986]=1554,e[2987]=1555,e[2988]=1556,e[2990]=1623,e[2991]=1624,e[2995]=1775,e[2999]=1791,e[3002]=64290,e[3003]=64291,e[3004]=64292,e[3006]=64294,e[3007]=64295,e[3008]=64296,e[3011]=1900,e[3014]=8223,e[3015]=8244,e[3017]=7532,e[3018]=7533,e[3019]=7534,e[3075]=7590,e[3076]=7591,e[3079]=7594,e[3080]=7595,e[3083]=7598,e[3084]=7599,e[3087]=7602,e[3088]=7603,e[3091]=7606,e[3092]=7607,e[3095]=7610,e[3096]=7611,e[3099]=7614,e[3100]=7615,e[3103]=7618,e[3104]=7619,e[3107]=8337,e[3108]=8338,e[3116]=1884,e[3119]=1885,e[3120]=1885,e[3123]=1886,e[3124]=1886,e[3127]=1887,e[3128]=1887,e[3131]=1888,e[3132]=1888,e[3135]=1889,e[3136]=1889,e[3139]=1890,e[3140]=1890,e[3143]=1891,e[3144]=1891,e[3147]=1892,e[3148]=1892,e[3153]=580,e[3154]=581,e[3157]=584,e[3158]=585,e[3161]=588,e[3162]=589,e[3165]=891,e[3166]=892,e[3169]=1274,e[3170]=1275,e[3173]=1278,e[3174]=1279,e[3181]=7622,e[3182]=7623,e[3282]=11799,e[3316]=578,e[3379]=42785,e[3393]=1159,e[3416]=8377}),t.getGlyphMapForStandardFonts=a,a=(0,r.getLookupTableFactory)(function(e){e[227]=322,e[264]=261,e[291]=346}),t.getSupplementalGlyphMapForArialBlack=a,a=(0,r.getLookupTableFactory)(function(e){e[1]=32,e[4]=65,e[5]=192,e[6]=193,e[9]=196,e[17]=66,e[18]=67,e[21]=268,e[24]=68,e[28]=69,e[29]=200,e[30]=201,e[32]=282,e[38]=70,e[39]=71,e[44]=72,e[47]=73,e[48]=204,e[49]=205,e[58]=74,e[60]=75,e[62]=76,e[68]=77,e[69]=78,e[75]=79,e[76]=210,e[80]=214,e[87]=80,e[89]=81,e[90]=82,e[92]=344,e[94]=83,e[97]=352,e[100]=84,e[104]=85,e[109]=220,e[115]=86,e[116]=87,e[121]=88,e[122]=89,e[124]=221,e[127]=90,e[129]=381,e[258]=97,e[259]=224,e[260]=225,e[263]=228,e[268]=261,e[271]=98,e[272]=99,e[273]=263,e[275]=269,e[282]=100,e[286]=101,e[287]=232,e[288]=233,e[290]=283,e[295]=281,e[296]=102,e[336]=103,e[346]=104,e[349]=105,e[350]=236,e[351]=237,e[361]=106,e[364]=107,e[367]=108,e[371]=322,e[373]=109,e[374]=110,e[381]=111,e[382]=242,e[383]=243,e[386]=246,e[393]=112,e[395]=113,e[396]=114,e[398]=345,e[400]=115,e[401]=347,e[403]=353,e[410]=116,e[437]=117,e[442]=252,e[448]=118,e[449]=119,e[454]=120,e[455]=121,e[457]=253,e[460]=122,e[462]=382,e[463]=380,e[853]=44,e[855]=58,e[856]=46,e[876]=47,e[878]=45,e[882]=45,e[894]=40,e[895]=41,e[896]=91,e[897]=93,e[923]=64,e[1004]=48,e[1005]=49,e[1006]=50,e[1007]=51,e[1008]=52,e[1009]=53,e[1010]=54,e[1011]=55,e[1012]=56,e[1013]=57,e[1081]=37,e[1085]=43,e[1086]=45});t.getSupplementalGlyphMapForCalibri=a},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ToUnicodeMap=t.IdentityToUnicodeMap=void 0;var r=a(2);t.ToUnicodeMap=class{constructor(e=[]){this._map=e}get length(){return this._map.length}forEach(e){for(const t in this._map)e(t,this._map[t].charCodeAt(0))}has(e){return void 0!==this._map[e]}get(e){return this._map[e]}charCodeOf(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(const a in t)if(t[a]===e)return 0|a;return-1}amend(e){for(const t in e)this._map[t]=e[t]}},t.IdentityToUnicodeMap=class{constructor(e,t){this.firstChar=e,this.lastChar=t}get length(){return this.lastChar+1-this.firstChar}forEach(a){for(let e=this.firstChar,t=this.lastChar;e<=t;e++)a(e,e)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){(0,r.unreachable)("Should not call amend()")}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CFFFont=void 0;var i=a(35),l=a(38),n=a(2);t.CFFFont=class{constructor(e,t){this.properties=t;var a=new i.CFFParser(e,t,l.SEAC_ANALYSIS_ENABLED),r=(this.cff=a.parse(),this.cff.duplicateFirstGlyph(),new i.CFFCompiler(this.cff));this.seacs=this.cff.seacs;try{this.data=r.compile()}catch(a){(0,n.warn)("Failed to compile font "+t.loadedName),this.data=e}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const t=this.cff,a=this.properties,{cidToGidMap:r,cMap:i}=a,n=t.charset.charset;let s,o;if(a.composite){let a,e;if(0<r?.length){a=Object.create(null);for(let e=0,t=r.length;e<t;e++){const i=r[e];void 0!==i&&(a[i]=e)}}if(s=Object.create(null),t.isCIDFont)for(o=0;o<n.length;o++){const t=n[o];e=i.charCodeOf(t),void 0!==a?.[e]&&(e=a[e]),s[e]=o}else for(o=0;o<t.charStrings.count;o++)e=i.charCodeOf(o),s[e]=o}else{let e=t.encoding?t.encoding.encoding:null;a.isInternalFont&&(e=a.defaultEncoding),s=(0,l.type1FontGlyphMapping)(a,e,n)}return s}hasGlyphId(e){return this.cff.hasGlyphId(e)}_createBuiltInEncoding(){const{charset:e,encoding:t}=this.cff;if(e&&t){const a=e.charset,r=t.encoding,i=[];for(const e in r){const t=r[e];if(0<=t){const r=a[t];r&&(i[e]=r)}}0<i.length&&(this.properties.builtInEncoding=i)}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontRendererFactory=void 0;var F=a(2),b=a(35),i=a(39),O=a(37),y=a(8);function w(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function v(e,t){return e[t]<<8|e[t+1]}function x(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function S(e,t){return e[t]<<24>>24}function k(e,t){return x(e,t)/16384}function I(e){e=e.length;let t=32768;return e<1240?t=107:e<33900&&(t=1131),t}function T(e,t){var a=t.codePointAt(0);let r=0,i=0,n=e.length-1;for(;i<n;){const t=i+n+1>>1;a<e[t].start?n=t-1:i=t}return{charCode:a,glyphId:r=e[i].start<=a&&a<=e[i].end?e[i].idDelta+(e[i].ids?e[i].ids[a-e[i].start]:a)&65535:r}}const n=[];class r{constructor(e){this.constructor===r&&(0,F.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=e,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}getPathJs(e){var{charCode:t,glyphId:a}=T(this.cmap,e);let r=this.compiledGlyphs[a];if(!r)try{r=this.compileGlyph(this.glyphs[a],a),this.compiledGlyphs[a]=r}catch(e){throw this.compiledGlyphs[a]=n,void 0===this.compiledCharCodeToGlyphId[t]&&(this.compiledCharCodeToGlyphId[t]=a),e}return void 0===this.compiledCharCodeToGlyphId[t]&&(this.compiledCharCodeToGlyphId[t]=a),r}compileGlyph(e,t){if(!e||0===e.length||14===e[0])return n;let a=this.fontMatrix;if(this.isCFFCIDFont){const e=this.fdSelect.getFDIndex(t);0<=e&&e<this.fdArray.length?a=this.fdArray[e].getByName("FontMatrix")||F.FONT_IDENTITY_MATRIX:(0,F.warn)("Invalid fd index for glyph index.")}var r=[{cmd:"save"},{cmd:"transform",args:a.slice()},{cmd:"scale",args:["size","-size"]}];return this.compileGlyphImpl(e,r,t),r.push({cmd:"restore"}),r}compileGlyphImpl(){(0,F.unreachable)("Children classes should implement this.")}hasBuiltPath(e){var{charCode:e,glyphId:t}=T(this.cmap,e);return void 0!==this.compiledGlyphs[t]&&void 0!==this.compiledCharCodeToGlyphId[e]}}class A extends r{constructor(e,t,a){super(a||[488e-6,0,0,488e-6,0,0]),this.glyphs=e,this.cmap=t}compileGlyphImpl(e,t){!function s(o,l,c){function h(e,t){l.push({cmd:"moveTo",args:[e,t]})}function r(e,t){l.push({cmd:"lineTo",args:[e,t]})}function i(e,t,a,r){l.push({cmd:"quadraticCurveTo",args:[e,t,a,r]})}let u=0;const n=x(o,u);let d,f=0,g=0;if(u+=10,n<0)do{d=v(o,u);const h=v(o,u+2);let e,t,a=(u+=4,1&d?(t=(2&d?(e=x(o,u),x):(e=v(o,u),v))(o,u+2),u+=4):t=2&d?(e=S(o,u++),S(o,u++)):(e=o[u++],o[u++]),g=2&d?(f=e,t):f=0,1),r=1,i=0,n=0;8&d?(a=r=k(o,u),u+=2):64&d?(a=k(o,u),r=k(o,u+2),u+=4):128&d&&(a=k(o,u),i=k(o,u+2),n=k(o,u+4),r=k(o,u+6),u+=8);var p=c.glyphs[h];p&&(l.push({cmd:"save"},{cmd:"transform",args:[a,i,n,r,f,g]}),s(p,l,c),l.push({cmd:"restore"}))}while(32&d);else{const l=[];let e,t;for(e=0;e<n;e++)l.push(v(o,u)),u+=2;u+=2+v(o,u);const k=l.at(-1)+1,m=[];for(;m.length<k;){let e=1;for(8&(d=o[u++])&&(e+=o[u++]);0<e--;)m.push({flags:d})}for(e=0;e<k;e++){switch(18&m[e].flags){case 0:f+=x(o,u),u+=2;break;case 2:f-=o[u++];break;case 18:f+=o[u++]}m[e].x=f}for(e=0;e<k;e++){switch(36&m[e].flags){case 0:g+=x(o,u),u+=2;break;case 4:g-=o[u++];break;case 36:g+=o[u++]}m[e].y=g}let a=0;for(u=0;u<n;u++){const o=l[u],n=m.slice(a,o+1);if(1&n[0].flags)n.push(n[0]);else if(1&n.at(-1).flags)n.unshift(n.at(-1));else{const o={flags:1,x:(n[0].x+n.at(-1).x)/2,y:(n[0].y+n.at(-1).y)/2};n.unshift(o),n.push(o)}for(h(n[0].x,n[0].y),e=1,t=n.length;e<t;e++)1&n[e].flags?r(n[e].x,n[e].y):1&n[e+1].flags?(i(n[e].x,n[e].y,n[e+1].x,n[e+1].y),e++):i(n[e].x,n[e].y,(n[e].x+n[e+1].x)/2,(n[e].y+n[e+1].y)/2);a=o+1}}}(e,t,this)}}class C extends r{constructor(e,t,a,r){super(a||[.001,0,0,.001,0,0]),this.glyphs=e.glyphs,this.gsubrs=e.gsubrs||[],this.subrs=e.subrs||[],this.cmap=t,this.glyphNameMap=r||(0,i.getGlyphsUnicode)(),this.gsubrsBias=I(this.gsubrs),this.subrsBias=I(this.subrs),this.isCFFCIDFont=e.isCFFCIDFont,this.fdSelect=e.fdSelect,this.fdArray=e.fdArray}compileGlyphImpl(e,t,a){!function p(e,m,b,y){function w(e,t){m.push({cmd:"moveTo",args:[e,t]})}function v(e,t){m.push({cmd:"lineTo",args:[e,t]})}function x(e,t,a,r,i,n){m.push({cmd:"bezierCurveTo",args:[e,t,a,r,i,n]})}const S=[];let k=0,A=0,C=0;!function u(d){let f=0;for(;f<d.length;){let e,t,a,r,i,n,s,o,l,c=!1,h=d[f++];switch(h){case 1:case 3:case 18:case 23:C+=S.length>>1,c=!0;break;case 4:A+=S.pop(),w(k,A),c=!0;break;case 5:for(;0<S.length;)k+=S.shift(),A+=S.shift(),v(k,A);break;case 6:for(;0<S.length&&(v(k+=S.shift(),A),0!==S.length);)A+=S.shift(),v(k,A);break;case 7:for(;0<S.length&&(A+=S.shift(),v(k,A),0!==S.length);)v(k+=S.shift(),A);break;case 8:for(;0<S.length;)e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A);break;case 10:if(o=S.pop(),l=null,b.isCFFCIDFont){const u=b.fdSelect.getFDIndex(y);if(0<=u&&u<b.fdArray.length){const m=b.fdArray[u];let e;(e=m.privateDict?.subrsIndex?m.privateDict.subrsIndex.objects:e)&&(o+=I(e),l=e[o])}else(0,F.warn)("Invalid fd index for glyph index.")}else l=b.subrs[o+b.subrsBias];l&&u(l);break;case 11:return;case 12:switch(h=d[f++]){case 34:e=k+S.shift(),t=e+S.shift(),i=A+S.shift(),k=t+S.shift(),x(e,A,t,i,k,i),e=k+S.shift(),t=e+S.shift(),k=t+S.shift(),x(e,i,t,A,k,A);break;case 35:e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A),e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A),S.pop();break;case 36:e=k+S.shift(),i=A+S.shift(),t=e+S.shift(),n=i+S.shift(),k=t+S.shift(),x(e,i,t,n,k,n),e=k+S.shift(),t=e+S.shift(),s=n+S.shift(),k=t+S.shift(),x(e,n,t,s,k,A);break;case 37:const u=k,m=A;e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A),e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t,A=r,Math.abs(k-u)>Math.abs(A-m)?k+=S.shift():A+=S.shift(),x(e,a,t,r,k,A);break;default:throw new F.FormatError("unknown operator: 12 "+h)}break;case 14:if(4<=S.length){const u=S.pop(),F=S.pop();A=S.pop(),k=S.pop(),m.push({cmd:"save"},{cmd:"translate",args:[k,A]});var g=T(b.cmap,String.fromCharCode(b.glyphNameMap[O.StandardEncoding[u]]));p(b.glyphs[g.glyphId],m,b,g.glyphId),m.push({cmd:"restore"}),g=T(b.cmap,String.fromCharCode(b.glyphNameMap[O.StandardEncoding[F]])),p(b.glyphs[g.glyphId],m,b,g.glyphId)}return;case 19:case 20:C+=S.length>>1,f+=C+7>>3,c=!0;break;case 21:A+=S.pop(),w(k+=S.pop(),A),c=!0;break;case 22:w(k+=S.pop(),A),c=!0;break;case 24:for(;2<S.length;)e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A);k+=S.shift(),A+=S.shift(),v(k,A);break;case 25:for(;6<S.length;)k+=S.shift(),A+=S.shift(),v(k,A);e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A);break;case 26:for(S.length%2&&(k+=S.shift());0<S.length;)e=k,a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t,A=r+S.shift(),x(e,a,t,r,k,A);break;case 27:for(S.length%2&&(A+=S.shift());0<S.length;)e=k+S.shift(),a=A,t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r,x(e,a,t,r,k,A);break;case 28:S.push((d[f]<<24|d[f+1]<<16)>>16),f+=2;break;case 29:o=S.pop()+b.gsubrsBias,(l=b.gsubrs[o])&&u(l);break;case 30:for(;0<S.length&&(e=k,a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+(1===S.length?S.shift():0),x(e,a,t,r,k,A),0!==S.length);)e=k+S.shift(),a=A,t=e+S.shift(),r=a+S.shift(),A=r+S.shift(),k=t+(1===S.length?S.shift():0),x(e,a,t,r,k,A);break;case 31:for(;0<S.length&&(e=k+S.shift(),a=A,t=e+S.shift(),r=a+S.shift(),A=r+S.shift(),k=t+(1===S.length?S.shift():0),x(e,a,t,r,k,A),0!==S.length);)e=k,a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+(1===S.length?S.shift():0),x(e,a,t,r,k,A);break;default:if(h<32)throw new F.FormatError("unknown operator: "+h);h<247?S.push(h-139):h<251?S.push(256*(h-247)+d[f++]+108):h<255?S.push(256*-(h-251)-d[f++]-108):(S.push((d[f]<<24|d[f+1]<<16|d[f+2]<<8|d[f+3])/65536),f+=4)}c&&(S.length=0)}}(e)}(e,t,this,a)}}t.FontRendererFactory=class{static create(a,r){var i,n,s,o,l=new Uint8Array(a.data);let c,h,u,d,f,g;const p=v(l,4);for(let e=0,t=12;e<p;e++,t+=16){const a=(0,F.bytesToString)(l.subarray(t,t+4)),p=w(l,t+8),m=w(l,t+12);switch(a){case"cmap":c=function(r,e){var t=1===v(r,e+2)?w(r,e+8):w(r,e+16),a=v(r,e+t);let i,n,s;if(4===a){v(r,e+t+2);const o=v(r,e+t+6)>>1;for(n=e+t+14,i=[],s=0;s<o;s++,n+=2)i[s]={end:v(r,n)};for(n+=2,s=0;s<o;s++,n+=2)i[s].start=v(r,n);for(s=0;s<o;s++,n+=2)i[s].idDelta=v(r,n);for(s=0;s<o;s++,n+=2){let a=v(r,n);if(0!==a){i[s].ids=[];for(let e=0,t=i[s].end-i[s].start+1;e<t;e++)i[s].ids[e]=v(r,n+a),a+=2}}return i}if(12!==a)throw new F.FormatError("unsupported cmap: "+a);{const o=w(r,e+t+12);for(n=e+t+16,i=[],s=0;s<o;s++)e=w(r,n),i.push({start:e,end:w(r,n+4),idDelta:w(r,n+8)-e}),n+=12;return i}}(l,p);break;case"glyf":h=l.subarray(p,p+m);break;case"loca":u=l.subarray(p,p+m);break;case"head":g=v(l,p+18),f=v(l,p+50);break;case"CFF ":d=(i=l,n=p,s=p+m,o=r,{glyphs:(i=new b.CFFParser(new y.Stream(i,n,s-n),{},o).parse()).charStrings.objects,subrs:i.topDict.privateDict?.subrsIndex?.objects,gsubrs:i.globalSubrIndex?.objects,isCFFCIDFont:i.isCIDFont,fdSelect:i.fdSelect,fdArray:i.fdArray})}}if(h){const r=g?[1/g,0,0,1/g,0,0]:a.fontMatrix;return new A(function(t,a,e){let r,i;var n=[];let s=(i=e?(r=4,w):(r=2,(e,t)=>2*v(e,t)))(a,0);for(let e=r;e<a.length;e+=r){const r=i(a,e);n.push(t.subarray(s,r)),s=r}return n}(h,u,f),c,r)}return new C(d,c,a.fontMatrix,a.glyphNameMap)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMetrics=t.getFontBasicMetrics=void 0;var r=a(3),a=(0,r.getLookupTableFactory)(function(e){e.Courier=600,e["Courier-Bold"]=600,e["Courier-BoldOblique"]=600,e["Courier-Oblique"]=600,e.Helvetica=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),e["Helvetica-Bold"]=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),e["Helvetica-BoldOblique"]=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),e["Helvetica-Oblique"]=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),e.Symbol=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),e["Times-Roman"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),e["Times-Bold"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),e["Times-BoldItalic"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),e["Times-Italic"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),e.ZapfDingbats=(0,r.getLookupTableFactory)(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})}),a=(t.getMetrics=a,(0,r.getLookupTableFactory)(function(e){e.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},e["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},e["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},e["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},e["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},e["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},e.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},e.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}));t.getFontBasicMetrics=a},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlyfTable=void 0,t.GlyfTable=class{constructor({glyfTable:t,isGlyphLocationsLong:a,locaTable:r,numGlyphs:i}){this.glyphs=[];var n=new DataView(r.buffer,r.byteOffset,r.byteLength),s=new DataView(t.buffer,t.byteOffset,t.byteLength),o=a?4:2;let l=a?n.getUint32(0):2*n.getUint16(0),c=0;for(let e=0;e<i;e++){c+=o;const t=a?n.getUint32(c):2*n.getUint16(c);if(t===l)this.glyphs.push(new h({}));else{const r=h.parse(l,s);this.glyphs.push(r),l=t}}}getSize(){return this.glyphs.reduce((e,t)=>e+(t.getSize()+3&-4),0)}write(){const e=this.getSize(),t=new DataView(new ArrayBuffer(e)),a=131070<e,r=a?4:2,i=new DataView(new ArrayBuffer((this.glyphs.length+1)*r));a?i.setUint32(0,0):i.setUint16(0,0);let n=0,s=0;for(const e of this.glyphs)n+=e.write(n,t),n=n+3&-4,s+=r,a?i.setUint32(s,n):i.setUint16(s,n>>1);return{isLocationLong:a,loca:new Uint8Array(i.buffer),glyf:new Uint8Array(t.buffer)}}scale(a){for(let e=0,t=this.glyphs.length;e<t;e++)this.glyphs[e].scale(a[e])}};class h{constructor({header:e=null,simple:t=null,composites:a=null}){this.header=e,this.simple=t,this.composites=a}static parse(e,t){const[a,r]=n.parse(e,t);if(e+=a,r.numberOfContours<0){const n=[];for(;;){const[h,a]=c.parse(e,t);if(e+=h,n.push(a),!(32&a.flags))break}return new h({header:r,composites:n})}var i=b.parse(e,t,r.numberOfContours);return new h({header:r,simple:i})}getSize(){var e;return this.header?(e=this.simple?this.simple.getSize():this.composites.reduce((e,t)=>e+t.getSize(),0),this.header.getSize()+e):0}write(e,t){if(!this.header)return 0;const a=e;if(e+=this.header.write(e,t),this.simple)e+=this.simple.write(e,t);else for(const a of this.composites)e+=a.write(e,t);return e-a}scale(e){if(this.header){var t=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(t,e),this.simple)this.simple.scale(t,e);else for(const a of this.composites)a.scale(t,e)}}}class n{constructor({numberOfContours:e,xMin:t,yMin:a,xMax:r,yMax:i}){this.numberOfContours=e,this.xMin=t,this.yMin=a,this.xMax=r,this.yMax=i}static parse(e,t){return[10,new n({numberOfContours:t.getInt16(e),xMin:t.getInt16(e+2),yMin:t.getInt16(e+4),xMax:t.getInt16(e+6),yMax:t.getInt16(e+8)})]}getSize(){return 10}write(e,t){return t.setInt16(e,this.numberOfContours),t.setInt16(e+2,this.xMin),t.setInt16(e+4,this.yMin),t.setInt16(e+6,this.xMax),t.setInt16(e+8,this.yMax),10}scale(e,t){this.xMin=Math.round(e+(this.xMin-e)*t),this.xMax=Math.round(e+(this.xMax-e)*t)}}class m{constructor({flags:e,xCoordinates:t,yCoordinates:a}){this.xCoordinates=t,this.yCoordinates=a,this.flags=e}}class b{constructor({contours:e,instructions:t}){this.contours=e,this.instructions=t}static parse(t,a,r){var i=[];for(let e=0;e<r;e++){const r=a.getUint16(t);t+=2,i.push(r)}var n=i[r-1]+1,e=a.getUint16(t),s=(t+=2,new Uint8Array(a).slice(t,t+e)),o=(t+=e,[]);for(let e=0;e<n;t++,e++){var l=a.getUint8(t);if(o.push(l),8&l){const m=a.getUint8(++t);l^=8;for(let e=0;e<m;e++)o.push(l);e+=m}}var c=[];let h=[],u=[],d=[];var f=[];let g=0,p=0;for(let e=0;e<n;e++){const m=o[e];if(2&m){const r=a.getUint8(t++);p+=16&m?r:-r}else 16&m||(p+=a.getInt16(t),t+=2);h.push(p),i[g]===e&&(g++,c.push(h),h=[])}p=0;for(let e=g=0;e<n;e++){const b=o[e];if(4&b){const r=a.getUint8(t++);p+=32&b?r:-r}else 32&b||(p+=a.getInt16(t),t+=2);u.push(p),d.push(1&b|64&b),i[g]===e&&(h=c[g],g++,f.push(new m({flags:d,xCoordinates:h,yCoordinates:u})),u=[],d=[])}return new b({contours:f,instructions:s})}getSize(){let a=2*this.contours.length+2+this.instructions.length,r=0,i=0;for(const l of this.contours){a+=l.flags.length;for(let e=0,t=l.xCoordinates.length;e<t;e++){var n=l.xCoordinates[e],s=l.yCoordinates[e],o=Math.abs(n-r);255<o?a+=2:0<o&&(a+=1),r=n,255<(o=Math.abs(s-i))?a+=2:0<o&&(a+=1),i=s}}return a}write(a,r){const i=a,n=[],s=[],o=[];let l=0,c=0;for(const i of this.contours){for(let t=0,e=i.xCoordinates.length;t<e;t++){let e=i.flags[t];var h=i.xCoordinates[t],u=h-l;if(0==u)e|=16,n.push(0);else{const a=Math.abs(u);a<=255?(e|=0<=u?18:2,n.push(a)):n.push(u)}l=h;h=i.yCoordinates[t];if(0==(u=h-c))e|=32,s.push(0);else{const a=Math.abs(u);a<=255?(e|=0<=u?36:4,s.push(a)):s.push(u)}c=h,o.push(e)}r.setUint16(a,n.length-1),a+=2}r.setUint16(a,this.instructions.length),a+=2,this.instructions.length&&(new Uint8Array(r.buffer,0,r.buffer.byteLength).set(this.instructions,a),a+=this.instructions.length);for(const i of o)r.setUint8(a++,i);for(let e=0,t=n.length;e<t;e++){const s=n[e],l=o[e];2&l?r.setUint8(a++,s):16&l||(r.setInt16(a,s),a+=2)}for(let e=0,t=s.length;e<t;e++){const n=s[e],l=o[e];4&l?r.setUint8(a++,n):32&l||(r.setInt16(a,n),a+=2)}return a-i}scale(a,r){for(const i of this.contours)if(0!==i.xCoordinates.length)for(let e=0,t=i.xCoordinates.length;e<t;e++)i.xCoordinates[e]=Math.round(a+(i.xCoordinates[e]-a)*r)}}class c{constructor({flags:e,glyphIndex:t,argument1:a,argument2:r,transf:i,instructions:n}){this.flags=e,this.glyphIndex=t,this.argument1=a,this.argument2=r,this.transf=i,this.instructions=n}static parse(e,t){const a=e,r=[];let i=t.getUint16(e);var n=t.getUint16(e+2);let s,o,l=(e+=4,1&i?(o=2&i?(s=t.getInt16(e),t.getInt16(e+2)):(s=t.getUint16(e),t.getUint16(e+2)),e+=4,i^=1):(o=2&i?(s=t.getInt8(e),t.getInt8(e+1)):(s=t.getUint8(e),t.getUint8(e+1)),e+=2),8&i?(r.push(t.getUint16(e)),e+=2):64&i?(r.push(t.getUint16(e),t.getUint16(e+2)),e+=4):128&i&&(r.push(t.getUint16(e),t.getUint16(e+2),t.getUint16(e+4),t.getUint16(e+6)),e+=8),null);if(256&i){const a=t.getUint16(e);e+=2,l=new Uint8Array(t).slice(e,e+a),e+=a}return[e-a,new c({flags:i,glyphIndex:n,argument1:s,argument2:o,transf:r,instructions:l})]}getSize(){let e=4+2*this.transf.length;return 256&this.flags&&(e+=2+this.instructions.length),e+=2,2&this.flags?-128<=this.argument1&&this.argument1<=127&&-128<=this.argument2&&this.argument2<=127||(e+=2):0<=this.argument1&&this.argument1<=255&&0<=this.argument2&&this.argument2<=255||(e+=2),e}write(e,t){var a=e;return 2&this.flags?-128<=this.argument1&&this.argument1<=127&&-128<=this.argument2&&this.argument2<=127||(this.flags|=1):0<=this.argument1&&this.argument1<=255&&0<=this.argument2&&this.argument2<=255||(this.flags|=1),t.setUint16(e,this.flags),t.setUint16(e+2,this.glyphIndex),e+=4,1&this.flags?(2&this.flags?(t.setInt16(e,this.argument1),t.setInt16(e+2,this.argument2)):(t.setUint16(e,this.argument1),t.setUint16(e+2,this.argument2)),e+=4):(t.setUint8(e,this.argument1),t.setUint8(e+1,this.argument2),e+=2),256&this.flags&&(t.setUint16(e,this.instructions.length),e+=2,this.instructions.length)&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length),e-a}scale(e,t){}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OpenTypeFileBuilder=void 0;var b=a(3),y=a(2);function w(e,t,a){e[t]=a>>8&255,e[t+1]=255&a}function v(e,t,a){e[t]=a>>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+3]=255&a}class x{constructor(e){this.sfnt=e,this.tables=Object.create(null)}static getSearchParams(e,t){let a=1,r=0;for(;(a^e)>a;)a<<=1,r++;var i=a*t;return{range:i,entry:r,rangeShift:t*e-i}}toArray(){let e=this.sfnt;var t=this.tables,a=Object.keys(t),r=(a.sort(),a.length);let i,n,s,o,l,c=12+16*r;var h=[c];for(i=0;i<r;i++)o=t[a[i]],c+=(o.length+3&-4)>>>0,h.push(c);var u=new Uint8Array(c);for(i=0;i<r;i++){o=t[a[i]];{d=void 0;f=void 0;g=void 0;var d=u;var f=h[i];var g=o;if(g instanceof Uint8Array)d.set(g,f);else if("string"==typeof g)for(let e=0,t=g.length;e<t;e++)d[f++]=255&g.charCodeAt(e);else for(const m of g)d[f++]=255&m}}"true"===e&&(e=(0,y.string32)(65536)),u[0]=255&e.charCodeAt(0),u[1]=255&e.charCodeAt(1),u[2]=255&e.charCodeAt(2),u[3]=255&e.charCodeAt(3),w(u,4,r);var p=x.getSearchParams(r,16);for(w(u,6,p.range),w(u,8,p.entry),w(u,10,p.rangeShift),c=12,i=0;i<r;i++){l=a[i],u[c]=255&l.charCodeAt(0),u[c+1]=255&l.charCodeAt(1),u[c+2]=255&l.charCodeAt(2),u[c+3]=255&l.charCodeAt(3);let e=0;for(n=h[i],s=h[i+1];n<s;n+=4)e=e+(0,b.readUint32)(u,n)>>>0;v(u,c+4,e),v(u,c+8,h[i]),v(u,c+12,t[l].length),c+=16}return u}addTable(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}t.OpenTypeFileBuilder=x},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Font=void 0;var m=a(35),c=a(2),h=a(38),l=a(3),u=a(8),d=a(49);function f(t,a,e){var r=t.length,i=a.length,n=r-i;let s=e,o=!1;for(;s<n;){let e=0;for(;e<i&&t[s+e]===a[e];)e++;if(e>=i){for(s+=e;s<r&&(0,l.isWhiteSpace)(t[s]);)s++;o=!0;break}s++}return{found:o,length:s}}t.Type1Font=class{constructor(e,t,a){let r=a.length1,i=(a.length2,t.peekBytes(6));var n=128===i[0]&&1===i[1],s=(n&&(t.skip(6),r=i[5]<<24|i[4]<<16|i[3]<<8|i[2]),function(e,t){var a=[101,101,120,101,99],r=e.pos;let i,n,s,o;try{i=e.getBytes(t),n=i.length}catch(e){}if(n===t&&(s=f(i,a,t-2*a.length)).found&&s.length===t)return{stream:new u.Stream(i),length:t};for((0,c.warn)('Invalid "Length1" property in Type1 font -- trying to recover.'),e.pos=r;0!==(s=f(e.peekBytes(2048),a,0)).length;)if(e.pos+=s.length,s.found){o=e.pos-r;break}return e.pos=r,o?{stream:new u.Stream(e.getBytes(o)),length:o}:((0,c.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new u.Stream(e.getBytes(t)),length:t})}(t,r)),s=(new d.Type1Parser(s.stream,!1,h.SEAC_ANALYSIS_ENABLED).extractFontHeader(a),n&&((i=t.getBytes(6))[5],i[4],i[3],i[2]),function(){var e=t.getBytes();if(0===e.length)throw new c.FormatError("getEexecBlock - no font program found.");return{stream:new u.Stream(e),length:e.length}}()),o=new d.Type1Parser(s.stream,!0,h.SEAC_ANALYSIS_ENABLED).extractFontProgram(a);for(const e in o.properties)a[e]=o.properties[e];var n=o.charstrings,s=this.getType2Charstrings(n),l=this.getType2Subrs(o.subrs);this.charstrings=n,this.data=this.wrap(e,s,this.charstrings,l,a),this.seacs=this.getSeacs(o.charstrings)}get numGlyphs(){return this.charstrings.length+1}getCharset(){var e,t=[".notdef"];for({glyphName:e}of this.charstrings)t.push(e);return t}getGlyphMapping(a){var r=this.charstrings;if(a.composite){const i=Object.create(null);for(let e=0,t=r.length;e<t;e++)i[a.cMap.charCodeOf(e)]=e+1;return i}const i=[".notdef"];let e,t;for(t=0;t<r.length;t++)i.push(r[t].glyphName);var n=a.builtInEncoding;if(n){e=Object.create(null);for(const a in n)t=i.indexOf(n[a]),0<=t&&(e[a]=t)}return(0,h.type1FontGlyphMapping)(a,e,i)}hasGlyphId(e){return!(e<0||e>=this.numGlyphs)&&(0===e||0<this.charstrings[e-1].charstring.length)}getSeacs(a){var r=[];for(let e=0,t=a.length;e<t;e++){var i=a[e];i.seac&&(r[e+1]=i.seac)}return r}getType2Charstrings(e){var t=[];for(const a of e)t.push(a.charstring);return t}getType2Subrs(e){var t=e.length,a=t<1133?107:t<33769?1131:32768,r=[];let i;for(i=0;i<a;i++)r.push([11]);for(i=0;i<t;i++)r.push(e[i]);return r}wrap(e,t,a,r,i){var n=new m.CFF,s=(n.header=new m.CFFHeader(1,0,4,4),n.names=[e],new m.CFFTopDict),o=(s.setByName("version",391),s.setByName("Notice",392),s.setByName("FullName",393),s.setByName("FamilyName",394),s.setByName("Weight",395),s.setByName("Encoding",null),s.setByName("FontMatrix",i.fontMatrix),s.setByName("FontBBox",i.bbox),s.setByName("charset",null),s.setByName("CharStrings",null),s.setByName("Private",null),n.topDict=s,new m.CFFStrings),l=(o.add("Version 0.11"),o.add("See original notice"),o.add(e),o.add(e),o.add("Medium"),n.strings=o,n.globalSubrIndex=new m.CFFIndex,t.length),c=[".notdef"];let h,u;for(h=0;h<l;h++){const e=a[h].glyphName;-1===m.CFFStandardStrings.indexOf(e)&&o.add(e),c.push(e)}n.charset=new m.CFFCharset(!1,0,c);var d=new m.CFFIndex;for(d.add([139,14]),h=0;h<l;h++)d.add(t[h]);n.charStrings=d;var f=new m.CFFPrivateDict,g=(f.setByName("Subrs",null),["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"]);for(h=0,u=g.length;h<u;h++){const e=g[h];if(e in i.privateData){const t=i.privateData[e];if(Array.isArray(t))for(let e=t.length-1;0<e;e--)t[e]-=t[e-1];f.setByName(e,t)}}n.topDict.privateDict=f;var p=new m.CFFIndex;for(h=0,u=r.length;h<u;h++)p.add(r[h]);return f.subrsIndex=p,new m.CFFCompiler(n).compile()}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Parser=void 0;var s=a(37),r=a(3),i=a(8),d=a(2);const f=[4],g=[5],p=[6],m=[7],b=[8],y=[12,35],w=[14],v=[21],x=[22],S=[30],k=[31];class h{constructor(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}convert(a,r,i){var e=a.length;let n,s,o,l=!1;for(let t=0;t<e;t++){let e=a[t];if(e<32){switch(e=12===e?(e<<8)+a[++h]:e){case 1:case 3:case 9:case 3072:case 3073:case 3074:case 3105:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){l=!0;break}const a=this.stack.pop();this.stack.push(0,a)}else l=this.executeCommand(1,f);break;case 5:l=this.executeCommand(2,g);break;case 6:l=this.executeCommand(1,p);break;case 7:l=this.executeCommand(1,m);break;case 8:l=this.executeCommand(6,b);break;case 10:this.stack.length<1?l=!0:l=!r[o=this.stack.pop()]||this.convert(r[o],r,i);break;case 11:return l;case 13:this.stack.length<2?l=!0:(n=this.stack.pop(),s=this.stack.pop(),this.lsb=s,this.width=n,this.stack.push(n,s),l=this.executeCommand(2,x));break;case 14:this.output.push(w[0]);break;case 21:this.flexing||(l=this.executeCommand(2,v));break;case 22:this.flexing?this.stack.push(0):l=this.executeCommand(1,x);break;case 30:l=this.executeCommand(4,S);break;case 31:l=this.executeCommand(4,k);break;case 3078:if(i){const a=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-a,l=this.executeCommand(0,w)}else l=this.executeCommand(4,w);break;case 3079:if(this.stack.length<4){l=!0;break}this.stack.pop(),n=this.stack.pop();const a=this.stack.pop();s=this.stack.pop(),this.lsb=s,this.width=n,this.stack.push(n,s,a),l=this.executeCommand(3,v);break;case 3084:if(this.stack.length<2){l=!0;break}const h=this.stack.pop(),u=this.stack.pop();this.stack.push(u/h);break;case 3088:if(this.stack.length<2)l=!0;else{o=this.stack.pop();var c=this.stack.pop();if(0===o&&3===c){const a=this.stack.splice(-17,17);this.stack.push(a[2]+a[0],a[3]+a[1],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14]),l=this.executeCommand(13,y,!0),this.flexing=!1,this.stack.push(a[15],a[16])}else 1===o&&0===c&&(this.flexing=!0)}break;case 3089:break;default:(0,d.warn)('Unknown type 1 charstring command of "'+e+'"')}if(l)break}else e<=246?e-=139:e=e<=250?256*(e-247)+a[++t]+108:e<=254?-256*(e-251)-a[++t]-108:(255&a[++t])<<24|(255&a[++t])<<16|(255&a[++t])<<8|(255&a[++t])<<0,this.stack.push(e)}return l}executeCommand(e,t,a){var r=this.stack.length;if(r<e)return!0;var i=r-e;for(let e=i;e<r;e++){var n=this.stack[e];Number.isInteger(n)?this.output.push(28,n>>8&255,255&n):this.output.push(255,(n=65536*n|0)>>24&255,n>>16&255,n>>8&255,255&n)}return this.output.push(...t),a?this.stack.splice(i,e):this.stack.length=0,!1}}function l(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function n(e,t,a){if(a>=e.length)return new Uint8Array(0);let r,i,n=0|t;for(r=0;r<a;r++)n=52845*(e[r]+n)+22719&65535;var s=e.length-a,o=new Uint8Array(s);for(r=a,i=0;i<s;r++,i++){const t=e[r];o[i]=t^n>>8,n=52845*(t+n)+22719&65535}return o}function o(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}t.Type1Parser=class{constructor(e,t,a){if(t){const t=e.getBytes(),a=!((l(t[0])||(0,r.isWhiteSpace)(t[0]))&&l(t[1])&&l(t[2])&&l(t[3])&&l(t[4])&&l(t[5])&&l(t[6])&&l(t[7]));e=new i.Stream(a?n(t,55665,4):function(t){let a=55665;var r=t.length,i=new Uint8Array(r>>>1);let n,s;for(n=0,s=0;n<r;n++){const o=t[n];if(l(o)){let e;for(n++;n<r&&!l(e=t[n]);)n++;if(n<r){const t=parseInt(String.fromCharCode(o,e),16);i[s++]=t^a>>8,a=52845*(t+a)+22719&65535}}}return i.slice(4,s)}(t))}this.seacAnalysisEnabled=!!a,this.stream=e,this.nextChar()}readNumberArray(){this.getToken();for(var e=[];;){var t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}readNumber(){var e=this.getToken();return parseFloat(e||0)}readInt(){var e=this.getToken();return 0|parseInt(e||0,10)}readBoolean(){return"true"===this.getToken()?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let e=!1,t=this.currentChar;for(;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,r.isWhiteSpace)(t))break;t=this.nextChar()}if(o(t))return this.nextChar(),String.fromCharCode(t);let a="";for(;a+=String.fromCharCode(t),0<=(t=this.nextChar())&&!(0,r.isWhiteSpace)(t)&&!o(t););return a}readCharStrings(e,t){return-1===t?e:n(e,4330,t)}extractFontProgram(t){const a=this.stream,r=[],i=[],n=Object.create(null);n.lenIV=4;var s={subrs:[],charstrings:[],properties:{privateData:n}};let o,e,l,c;for(;null!==(o=this.getToken());)if("/"===o)switch(o=this.getToken(),o){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(o=this.getToken())&&"end"!==o;)if("/"===o){const t=this.getToken(),r=(e=this.readInt(),this.getToken(),l=0<e?a.getBytes(e):new Uint8Array(0),c=s.properties.privateData.lenIV,this.readCharStrings(l,c));this.nextChar(),"noaccess"===(o=this.getToken())?this.getToken():"/"===o&&this.prevChar(),i.push({glyph:t,encoded:r})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){const t=this.readInt(),i=(e=this.readInt(),this.getToken(),l=0<e?a.getBytes(e):new Uint8Array(0),c=s.properties.privateData.lenIV,this.readCharStrings(l,c));this.nextChar(),"noaccess"===(o=this.getToken())&&this.getToken(),r[t]=i}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const t=this.readNumberArray();0<t.length&&t.length;break;case"StemSnapH":case"StemSnapV":s.properties.privateData[o]=this.readNumberArray();break;case"StdHW":case"StdVW":s.properties.privateData[o]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":s.properties.privateData[o]=this.readNumber();break;case"ExpansionFactor":s.properties.privateData[o]=this.readNumber()||.06;break;case"ForceBold":s.properties.privateData[o]=this.readBoolean()}for(const{encoded:a,glyph:n}of i){const i=new h,o=i.convert(a,r,this.seacAnalysisEnabled);let e=i.output;o&&(e=[14]);const l={glyphName:n,charstring:e,width:i.width,lsb:i.lsb,seac:i.seac};if(".notdef"===n?s.charstrings.unshift(l):s.charstrings.push(l),t.builtInEncoding){const a=t.builtInEncoding.indexOf(n);-1<a&&void 0===t.widths[a]&&a>=t.firstChar&&a<=t.lastChar&&(t.widths[a]=i.width)}}return s}extractFontHeader(a){let r;for(;null!==(r=this.getToken());)if("/"===r)switch(r=this.getToken(),r){case"FontMatrix":var e=this.readNumberArray();a.fontMatrix=e;break;case"Encoding":e=this.getToken();let t;if(/^\d+$/.test(e)){t=[];const a=0|parseInt(e,10);this.getToken();for(let e=0;e<a;e++){for(r=this.getToken();"dup"!==r&&"def"!==r;)if(null===(r=this.getToken()))return;if("def"===r)break;const a=this.readInt();this.getToken();var i=this.getToken();t[a]=i,this.getToken()}}else t=(0,s.getEncoding)(e);a.builtInEncoding=t;break;case"FontBBox":var n=this.readNumberArray();a.ascent=Math.max(n[3],n[1]),a.descent=Math.min(n[1],n[3]),a.ascentScaled=!0}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Pattern=void 0,t.getTilingPatternIR=function(e,t,a){var r=t.getArray("Matrix"),i=A.Util.normalizeRect(t.getArray("BBox")),n=t.get("XStep"),s=t.get("YStep"),o=t.get("PaintType"),t=t.get("TilingType");if(i[2]-i[0]==0||i[3]-i[1]==0)throw new A.FormatError(`Invalid getTilingPatternIR /BBox array: [${i}].`);return["TilingPattern",a,e,r,i,n,s,o,t]};var A=a(2),c=a(5),h=a(12),o=a(3);t.Pattern=class{constructor(){(0,A.unreachable)("Cannot initialize Pattern.")}static parseShading(e,t,a,r,i){var n=e instanceof c.BaseStream?e.dict:e,s=n.get("ShadingType");try{switch(s){case 2:case 3:return new l(n,t,a,r,i);case 4:case 5:case 6:case 7:return new F(e,t,a,r,i);default:throw new A.FormatError("Unsupported ShadingType: "+s)}}catch(e){if(e instanceof o.MissingDataException)throw e;return(0,A.warn)(e),new d}}};class C{static SMALL_NUMBER=1e-6;constructor(){this.constructor===C&&(0,A.unreachable)("Cannot initialize BaseShading.")}getIR(){(0,A.unreachable)("Abstract method `getIR` called.")}}class l extends C{constructor(d,f,e,t,g){super(),this.coordsArr=d.getArray("Coords"),this.shadingType=d.get("ShadingType");var p=h.ColorSpace.parse({cs:d.getRaw("CS")||d.getRaw("ColorSpace"),xref:f,resources:e,pdfFunctionFactory:t,localColorSpaceCache:g}),f=d.getArray("BBox");Array.isArray(f)&&4===f.length?this.bbox=A.Util.normalizeRect(f):this.bbox=null;let m=0,a=1;if(d.has("Domain")){const f=d.getArray("Domain");m=f[0],a=f[1]}let b=!1,y=!1;if(d.has("Extend")){const f=d.getArray("Extend");b=f[0],y=f[1]}if(!(3!==this.shadingType||b&&y)){const[d,f,e,t,h,g]=this.coordsArr,C=Math.hypot(d-t,f-h);e<=g+C&&g<=e+C&&(0,A.warn)("Unsupported radial gradient.")}this.extendStart=b,this.extendEnd=y;var e=d.getRaw("Function"),w=t.createFromArray(e),v=(a-m)/840,x=this.colorStops=[];if(m>=a||v<=0)(0,A.info)("Bad shading domain.");else{var S=new Float32Array(p.numComps),k=new Float32Array(1);let t,a=0,r=(k[0]=m,w(k,0,S,0),p.getRgb(S,0));g=A.Util.makeHexColor(r[0],r[1],r[2]);x.push([0,g]);let i=1,n=(k[0]=m+v,w(k,0,S,0),p.getRgb(S,0)),s=n[0]-r[0]+1,o=n[1]-r[1]+1,l=n[2]-r[2]+1,c=n[0]-r[0]-1,h=n[1]-r[1]-1,u=n[2]-r[2]-1;for(let e=2;e<840;e++){k[0]=m+e*v,w(k,0,S,0),t=p.getRgb(S,0);const f=e-a;if(s=Math.min(s,(t[0]-r[0]+1)/f),o=Math.min(o,(t[1]-r[1]+1)/f),l=Math.min(l,(t[2]-r[2]+1)/f),c=Math.max(c,(t[0]-r[0]-1)/f),h=Math.max(h,(t[1]-r[1]-1)/f),u=Math.max(u,(t[2]-r[2]-1)/f),!(c<=s&&h<=o&&u<=l)){const d=A.Util.makeHexColor(n[0],n[1],n[2]);x.push([i/840,d]),s=t[0]-n[0]+1,o=t[1]-n[1]+1,l=t[2]-n[2]+1,c=t[0]-n[0]-1,h=t[1]-n[1]-1,u=t[2]-n[2]-1,a=i,r=n}i=e,n=t}f=A.Util.makeHexColor(n[0],n[1],n[2]);x.push([1,f]);let e="transparent";d.has("Background")&&(t=p.getRgb(d.get("Background"),0),e=A.Util.makeHexColor(t[0],t[1],t[2])),b||(x.unshift([0,e]),x[1][0]+=C.SMALL_NUMBER),y||(x.at(-1)[0]-=C.SMALL_NUMBER,x.push([1,e])),this.colorStops=x}}getIR(){var e=this.coordsArr,t=this.shadingType;let a,r,i,n,s;return 2===t?(r=[e[0],e[1]],i=[e[2],e[3]],n=null,s=null,a="axial"):3===t?(r=[e[0],e[1]],i=[e[3],e[4]],n=e[2],s=e[5],a="radial"):(0,A.unreachable)("getPattern type unknown: "+t),["RadialAxial",a,this.bbox,this.colorStops,r,i,n,s]}}class u{constructor(e,t){this.stream=e,this.context=t,this.buffer=0,this.bufferLength=0;e=t.numComps,this.tmpCompsBuf=new Float32Array(e),e=t.colorSpace.numComps;this.tmpCsCompsBuf=t.colorFn?new Float32Array(e):this.tmpCompsBuf}get hasData(){var e;return this.stream.end?this.stream.pos<this.stream.end:0<this.bufferLength||!((e=this.stream.getByte())<0||(this.buffer=e,this.bufferLength=8,0))}readBits(e){let t=this.buffer,a=this.bufferLength;if(32===e){if(0===a)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();const e=this.stream.getByte();return this.buffer=e&(1<<a)-1,(t<<8-a|(255&e)>>a)>>>0}if(8===e&&0===a)return this.stream.getByte();for(;a<e;)t=t<<8|this.stream.getByte(),a+=8;return a-=e,this.bufferLength=a,this.buffer=t&(1<<a)-1,t>>a}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){var e=this.context.bitsPerCoordinate,t=this.readBits(e),a=this.readBits(e),r=this.context.decode,e=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*e*(r[1]-r[0])+r[0],a*e*(r[3]-r[2])+r[2]]}readComponents(){const a=this.context.numComps,r=this.context.bitsPerComponent,i=r<32?1/((1<<r)-1):2.3283064365386963e-10,n=this.context.decode,s=this.tmpCompsBuf;for(let e=0,t=4;e<a;e++,t+=2){const a=this.readBits(r);s[e]=a*i*(n[t+1]-n[t])+n[t]}var e=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(s,0,e,0),this.context.colorSpace.getRgb(e,0)}}const s=function(){const t=Object.create(null);return function(e){return t[e]||=function(t){var a=[];for(let e=0;e<=t;e++){var r=e/t,i=1-r;a.push(new Float32Array([i*i*i,3*r*i*i,3*r*r*i,r*r*r]))}return a}(e)}}();class F extends C{static MIN_SPLIT_PATCH_CHUNKS_AMOUNT=3;static MAX_SPLIT_PATCH_CHUNKS_AMOUNT=20;static TRIANGLE_DENSITY=20;constructor(e,t,a,r,i){if(super(),!(e instanceof c.BaseStream))throw new A.FormatError("Mesh data is not a stream");var n=e.dict,s=(this.shadingType=n.get("ShadingType"),n.getArray("BBox")),s=(Array.isArray(s)&&4===s.length?this.bbox=A.Util.normalizeRect(s):this.bbox=null,h.ColorSpace.parse({cs:n.getRaw("CS")||n.getRaw("ColorSpace"),xref:t,resources:a,pdfFunctionFactory:r,localColorSpaceCache:i})),t=(this.background=n.has("Background")?s.getRgb(n.get("Background"),0):null,n.getRaw("Function")),a=t?r.createFromArray(t):null,i=(this.coords=[],this.colors=[],this.figures=[],{bitsPerCoordinate:n.get("BitsPerCoordinate"),bitsPerComponent:n.get("BitsPerComponent"),bitsPerFlag:n.get("BitsPerFlag"),decode:n.getArray("Decode"),colorFn:a,colorSpace:s,numComps:a?1:s.numComps}),o=new u(e,i);let l=!1;switch(this.shadingType){case 4:this._decodeType4Shading(o);break;case 5:const e=0|n.get("VerticesPerRow");if(e<2)throw new A.FormatError("Invalid VerticesPerRow");this._decodeType5Shading(o,e);break;case 6:this._decodeType6Shading(o),l=!0;break;case 7:this._decodeType7Shading(o),l=!0;break;default:(0,A.unreachable)("Unsupported mesh type.")}if(l){this._updateBounds();for(let e=0,t=this.figures.length;e<t;e++)this._buildFigureFromPatch(e)}this._updateBounds(),this._packData()}_decodeType4Shading(e){var t=this.coords,a=this.colors,r=[],i=[];let n=0;for(;e.hasData;){var s=e.readFlag(),o=e.readCoordinate(),l=e.readComponents();if(0===n){if(!(0<=s&&s<=2))throw new A.FormatError("Unknown type4 flag");switch(s){case 0:n=3;break;case 1:i.push(i.at(-2),i.at(-1)),n=1;break;case 2:i.push(i.at(-3),i.at(-1)),n=1}r.push(s)}i.push(t.length),t.push(o),a.push(l),n--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(i),colors:new Int32Array(i)})}_decodeType5Shading(e,t){for(var a=this.coords,r=this.colors,i=[];e.hasData;){const t=e.readCoordinate(),n=e.readComponents();i.push(a.length),a.push(t),r.push(n)}this.figures.push({type:"lattice",coords:new Int32Array(i),colors:new Int32Array(i),verticesPerRow:t})}_decodeType6Shading(i){for(var n=this.coords,s=this.colors,o=new Int32Array(16),l=new Int32Array(4);i.hasData;){var c=i.readFlag();if(!(0<=c&&c<=3))throw new A.FormatError("Unknown type6 flag");var h=n.length;for(let e=0,t=0!==c?8:12;e<t;e++)n.push(i.readCoordinate());var u=s.length;for(let e=0,t=0!==c?2:4;e<t;e++)s.push(i.readComponents());let e,t,a,r;switch(c){case 0:o[12]=h+3,o[13]=h+4,o[14]=h+5,o[15]=h+6,o[8]=h+2,o[11]=h+7,o[4]=h+1,o[7]=h+8,o[0]=h,o[1]=h+11,o[2]=h+10,o[3]=h+9,l[2]=u+1,l[3]=u+2,l[0]=u,l[1]=u+3;break;case 1:e=o[12],t=o[13],a=o[14],r=o[15],o[12]=r,o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=a,o[11]=h+3,o[4]=t,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[2],t=l[3],l[2]=t,l[3]=u,l[0]=e,l[1]=u+1;break;case 2:e=o[15],t=o[11],o[12]=o[3],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[7],o[11]=h+3,o[4]=t,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[3],l[2]=l[1],l[3]=u,l[0]=e,l[1]=u+1;break;case 3:o[12]=o[0],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[1],o[11]=h+3,o[4]=o[2],o[7]=h+4,o[0]=o[3],o[1]=h+7,o[2]=h+6,o[3]=h+5,l[2]=l[0],l[3]=u,l[0]=l[1],l[1]=u+1}o[5]=n.length,n.push([(-4*n[o[0]][0]-n[o[15]][0]+6*(n[o[4]][0]+n[o[1]][0])-2*(n[o[12]][0]+n[o[3]][0])+3*(n[o[13]][0]+n[o[7]][0]))/9,(-4*n[o[0]][1]-n[o[15]][1]+6*(n[o[4]][1]+n[o[1]][1])-2*(n[o[12]][1]+n[o[3]][1])+3*(n[o[13]][1]+n[o[7]][1]))/9]),o[6]=n.length,n.push([(-4*n[o[3]][0]-n[o[12]][0]+6*(n[o[2]][0]+n[o[7]][0])-2*(n[o[0]][0]+n[o[15]][0])+3*(n[o[4]][0]+n[o[14]][0]))/9,(-4*n[o[3]][1]-n[o[12]][1]+6*(n[o[2]][1]+n[o[7]][1])-2*(n[o[0]][1]+n[o[15]][1])+3*(n[o[4]][1]+n[o[14]][1]))/9]),o[9]=n.length,n.push([(-4*n[o[12]][0]-n[o[3]][0]+6*(n[o[8]][0]+n[o[13]][0])-2*(n[o[0]][0]+n[o[15]][0])+3*(n[o[11]][0]+n[o[1]][0]))/9,(-4*n[o[12]][1]-n[o[3]][1]+6*(n[o[8]][1]+n[o[13]][1])-2*(n[o[0]][1]+n[o[15]][1])+3*(n[o[11]][1]+n[o[1]][1]))/9]),o[10]=n.length,n.push([(-4*n[o[15]][0]-n[o[0]][0]+6*(n[o[11]][0]+n[o[14]][0])-2*(n[o[12]][0]+n[o[3]][0])+3*(n[o[2]][0]+n[o[8]][0]))/9,(-4*n[o[15]][1]-n[o[0]][1]+6*(n[o[11]][1]+n[o[14]][1])-2*(n[o[12]][1]+n[o[3]][1])+3*(n[o[2]][1]+n[o[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(o),colors:new Int32Array(l)})}}_decodeType7Shading(i){for(var n=this.coords,s=this.colors,o=new Int32Array(16),l=new Int32Array(4);i.hasData;){var c=i.readFlag();if(!(0<=c&&c<=3))throw new A.FormatError("Unknown type7 flag");var h=n.length;for(let e=0,t=0!==c?12:16;e<t;e++)n.push(i.readCoordinate());var u=s.length;for(let e=0,t=0!==c?2:4;e<t;e++)s.push(i.readComponents());let e,t,a,r;switch(c){case 0:o[12]=h+3,o[13]=h+4,o[14]=h+5,o[15]=h+6,o[8]=h+2,o[9]=h+13,o[10]=h+14,o[11]=h+7,o[4]=h+1,o[5]=h+12,o[6]=h+15,o[7]=h+8,o[0]=h,o[1]=h+11,o[2]=h+10,o[3]=h+9,l[2]=u+1,l[3]=u+2,l[0]=u,l[1]=u+3;break;case 1:e=o[12],t=o[13],a=o[14],r=o[15],o[12]=r,o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=a,o[9]=h+9,o[10]=h+10,o[11]=h+3,o[4]=t,o[5]=h+8,o[6]=h+11,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[2],t=l[3],l[2]=t,l[3]=u,l[0]=e,l[1]=u+1;break;case 2:e=o[15],t=o[11],o[12]=o[3],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[7],o[9]=h+9,o[10]=h+10,o[11]=h+3,o[4]=t,o[5]=h+8,o[6]=h+11,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[3],l[2]=l[1],l[3]=u,l[0]=e,l[1]=u+1;break;case 3:o[12]=o[0],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[1],o[9]=h+9,o[10]=h+10,o[11]=h+3,o[4]=o[2],o[5]=h+8,o[6]=h+11,o[7]=h+4,o[0]=o[3],o[1]=h+7,o[2]=h+6,o[3]=h+5,l[2]=l[0],l[3]=u,l[0]=l[1],l[1]=u+1}this.figures.push({type:"patch",coords:new Int32Array(o),colors:new Int32Array(l)})}}_buildFigureFromPatch(e){var t=this.figures[e];(0,A.assert)("patch"===t.type,"Unexpected patch mesh figure");const o=this.coords,l=this.colors,c=t.coords,a=t.colors,r=Math.min(o[c[0]][0],o[c[3]][0],o[c[12]][0],o[c[15]][0]),h=Math.min(o[c[0]][1],o[c[3]][1],o[c[12]][1],o[c[15]][1]),u=Math.max(o[c[0]][0],o[c[3]][0],o[c[12]][0],o[c[15]][0]),i=Math.max(o[c[0]][1],o[c[3]][1],o[c[12]][1],o[c[15]][1]);var d=Math.ceil((u-r)*F.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0])),d=Math.max(F.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(F.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,d)),f=Math.ceil((i-h)*F.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1])),f=Math.max(F.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(F.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,f)),t=d+1,g=new Int32Array((f+1)*t),p=new Int32Array((f+1)*t);let m=0;var b=new Uint8Array(3),y=new Uint8Array(3),n=l[a[0]],w=l[a[1]],v=l[a[2]],x=l[a[3]],S=s(f),k=s(d);for(let s=0;s<=f;s++){b[0]=(n[0]*(f-s)+v[0]*s)/f|0,b[1]=(n[1]*(f-s)+v[1]*s)/f|0,b[2]=(n[2]*(f-s)+v[2]*s)/f|0,y[0]=(w[0]*(f-s)+x[0]*s)/f|0,y[1]=(w[1]*(f-s)+x[1]*s)/f|0,y[2]=(w[2]*(f-s)+x[2]*s)/f|0;for(let n=0;n<=d;n++,m++)if(0!==s&&s!==f||0!==n&&n!==d){let a=0,r=0,i=0;for(let t=0;t<=3;t++)for(let e=0;e<=3;e++,i++){const u=S[s][t]*k[n][e];a+=o[c[i]][0]*u,r+=o[c[i]][1]*u}g[m]=o.length,o.push([a,r]),p[m]=l.length;const h=new Uint8Array(3);h[0]=(b[0]*(d-n)+y[0]*n)/d|0,h[1]=(b[1]*(d-n)+y[1]*n)/d|0,h[2]=(b[2]*(d-n)+y[2]*n)/d|0,l.push(h)}}g[0]=c[0],p[0]=a[0],g[d]=c[3],p[d]=a[1],g[t*f]=c[12],p[t*f]=a[2],g[t*f+d]=c[15],p[t*f+d]=a[3],this.figures[e]={type:"lattice",coords:g,colors:p,verticesPerRow:t}}_updateBounds(){let a=this.coords[0][0],r=this.coords[0][1],i=a,n=r;for(let e=1,t=this.coords.length;e<t;e++){var s=this.coords[e][0],o=this.coords[e][1];a=a>s?s:a,r=r>o?o:r,i=i<s?s:i,n=n<o?o:n}this.bounds=[a,r,i,n]}_packData(){let e,t,a,r;const i=this.coords,n=new Float32Array(2*i.length);for(e=0,a=0,t=i.length;e<t;e++){const t=i[e];n[a++]=t[0],n[a++]=t[1]}this.coords=n;var s=this.colors,o=new Uint8Array(3*s.length);for(e=0,a=0,t=s.length;e<t;e++){const t=s[e];o[a++]=t[0],o[a++]=t[1],o[a++]=t[2]}this.colors=o;var l=this.figures;for(e=0,t=l.length;e<t;e++){const t=l[e],i=t.coords,n=t.colors;for(a=0,r=i.length;a<r;a++)i[a]*=2,n[a]*=3}}getIR(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.bbox,this.background]}}class d extends C{getIR(){return["Dummy"]}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getXfaFontDict=function(e){var t=function(e){const t=u(e);if(!t)return null;const{baseWidths:a,baseMapping:r,factors:i}=t;var n=i?a.map((e,t)=>e*i[t]):a;let s,o=-2;var l=[];for(const[e,t]of r.map((e,t)=>[e,t]).sort(([e],[t])=>e-t))-1!==e&&(e===o+1?(s.push(n[t]),o+=1):(o=e,s=[n[t]],l.push(e,s)));return l}(e),a=new i.Dict(null),e=(a.set("BaseFont",i.Name.get(e)),a.set("Type",i.Name.get("Font")),a.set("Subtype",i.Name.get("CIDFontType2")),a.set("Encoding",i.Name.get("Identity-H")),a.set("CIDToGIDMap",i.Name.get("Identity")),a.set("W",t),a.set("FirstChar",t[0]),a.set("LastChar",t.at(-2)+t.at(-1).length-1),new i.Dict(null)),t=(a.set("FontDescriptor",e),new i.Dict(null));return t.set("Ordering","Identity"),t.set("Registry","Adobe"),t.set("Supplement",0),a.set("CIDSystemInfo",t),a},t.getXfaFontName=u;var r=a(52),i=a(4),n=a(53),s=a(54),o=a(55),l=a(56),t=a(3),c=a(38);const h=(0,t.getLookupTableFactory)(function(e){e["MyriadPro-Regular"]=e["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:o.MyriadProRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:o.MyriadProRegularMetrics},e["MyriadPro-Bold"]=e["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:o.MyriadProBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:o.MyriadProBoldMetrics},e["MyriadPro-It"]=e["MyriadPro-Italic"]=e["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:o.MyriadProItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:o.MyriadProItalicMetrics},e["MyriadPro-BoldIt"]=e["MyriadPro-BoldItalic"]=e["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:o.MyriadProBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:o.MyriadProBoldItalicMetrics},e.ArialMT=e.Arial=e["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping},e["Arial-BoldMT"]=e["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping},e["Arial-ItalicMT"]=e["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping},e["Arial-BoldItalicMT"]=e["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping},e["Calibri-Regular"]={name:"LiberationSans-Regular",factors:r.CalibriRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:r.CalibriRegularMetrics},e["Calibri-Bold"]={name:"LiberationSans-Bold",factors:r.CalibriBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:r.CalibriBoldMetrics},e["Calibri-Italic"]={name:"LiberationSans-Italic",factors:r.CalibriItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:r.CalibriItalicMetrics},e["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:r.CalibriBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:r.CalibriBoldItalicMetrics},e["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:l.SegoeuiRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:l.SegoeuiRegularMetrics},e["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:l.SegoeuiBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:l.SegoeuiBoldMetrics},e["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:l.SegoeuiItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:l.SegoeuiItalicMetrics},e["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:l.SegoeuiBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:l.SegoeuiBoldItalicMetrics},e["Helvetica-Regular"]=e.Helvetica={name:"LiberationSans-Regular",factors:n.HelveticaRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:n.HelveticaRegularMetrics},e["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:n.HelveticaBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:n.HelveticaBoldMetrics},e["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:n.HelveticaItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:n.HelveticaItalicMetrics},e["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:n.HelveticaBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:n.HelveticaBoldItalicMetrics}});function u(e){e=(0,c.normalizeFontName)(e);return h()[e]}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CalibriRegularMetrics=t.CalibriRegularFactors=t.CalibriItalicMetrics=t.CalibriItalicFactors=t.CalibriBoldMetrics=t.CalibriBoldItalicMetrics=t.CalibriBoldItalicFactors=t.CalibriBoldFactors=void 0,t.CalibriBoldFactors=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriBoldMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriBoldItalicFactors=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriBoldItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriItalicFactors=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriRegularFactors=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],t.CalibriRegularMetrics={lineHeight:1.2207,lineGap:.2207}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HelveticaRegularMetrics=t.HelveticaRegularFactors=t.HelveticaItalicMetrics=t.HelveticaItalicFactors=t.HelveticaBoldMetrics=t.HelveticaBoldItalicMetrics=t.HelveticaBoldItalicFactors=t.HelveticaBoldFactors=void 0,t.HelveticaBoldFactors=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaBoldMetrics={lineHeight:1.2,lineGap:.2},t.HelveticaBoldItalicFactors=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaBoldItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaItalicFactors=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaRegularFactors=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaRegularMetrics={lineHeight:1.2,lineGap:.2}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LiberationSansRegularWidths=t.LiberationSansRegularMapping=t.LiberationSansItalicWidths=t.LiberationSansItalicMapping=t.LiberationSansBoldWidths=t.LiberationSansBoldMapping=t.LiberationSansBoldItalicWidths=t.LiberationSansBoldItalicMapping=void 0,t.LiberationSansBoldWidths=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],t.LiberationSansBoldMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansBoldItalicWidths=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],t.LiberationSansBoldItalicMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansItalicWidths=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],t.LiberationSansItalicMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansRegularWidths=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],t.LiberationSansRegularMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MyriadProRegularMetrics=t.MyriadProRegularFactors=t.MyriadProItalicMetrics=t.MyriadProItalicFactors=t.MyriadProBoldMetrics=t.MyriadProBoldItalicMetrics=t.MyriadProBoldItalicFactors=t.MyriadProBoldFactors=void 0,t.MyriadProBoldFactors=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProBoldMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProBoldItalicFactors=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProBoldItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProItalicFactors=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProRegularFactors=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProRegularMetrics={lineHeight:1.2,lineGap:.2}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SegoeuiRegularMetrics=t.SegoeuiRegularFactors=t.SegoeuiItalicMetrics=t.SegoeuiItalicFactors=t.SegoeuiBoldMetrics=t.SegoeuiBoldItalicMetrics=t.SegoeuiBoldItalicFactors=t.SegoeuiBoldFactors=void 0,t.SegoeuiBoldFactors=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiBoldMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiBoldItalicFactors=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiBoldItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiItalicFactors=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiRegularFactors=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiRegularMetrics={lineHeight:1.33008,lineGap:0}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptEvaluator=t.PostScriptCompiler=t.PDFFunctionFactory=void 0,t.isPDFFunction=function(e){let t;if(e instanceof r.Dict)t=e;else{if(!(e instanceof i.BaseStream))return!1;t=e.dict}return t.has("FunctionType")};var r=a(4),l=a(2),n=a(58),i=a(5),s=a(59);function c(t){if(!Array.isArray(t))return null;var a=t.length;for(let e=0;e<a;e++)if("number"!=typeof t[e]){var r=new Array(a);for(let e=0;e<a;e++)r[e]=+t[e];return r}return t}t.PDFFunctionFactory=class{constructor({xref:e,isEvalSupported:t=!0}){this.xref=e,this.isEvalSupported=!1!==t}create(e){var t=this.getCached(e);return t||(t=o.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:e instanceof r.Ref?this.xref.fetch(e):e}),this._cache(e,t),t)}createFromArray(e){var t=this.getCached(e);return t||(t=o.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:e instanceof r.Ref?this.xref.fetch(e):e}),this._cache(e,t),t)}getCached(e){let t;if(e instanceof r.Ref?t=e:e instanceof r.Dict?t=e.objId:e instanceof i.BaseStream&&(t=e.dict?.objId),t){const e=this._localFunctionCache.getByRef(t);if(e)return e}return null}_cache(e,t){if(!t)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');let a;e instanceof r.Ref?a=e:e instanceof r.Dict?a=e.objId:e instanceof i.BaseStream&&(a=e.dict?.objId),a&&this._localFunctionCache.set(null,a,t)}get _localFunctionCache(){return(0,l.shadow)(this,"_localFunctionCache",new s.LocalFunctionCache)}};class o{static getSampleArray(e,t,a,r){let i,n,s=1;for(i=0,n=e.length;i<n;i++)s*=e[i];s*=t;var o=new Array(s);let l=0,c=0;var h=1/(2**a-1),u=r.getBytes((s*a+7)/8);let d=0;for(i=0;i<s;i++){for(;l<a;)c=(c<<=8)|u[d++],l+=8;l-=a,o[i]=(c>>l)*h,c&=(1<<l)-1}return o}static parse({xref:e,isEvalSupported:t,fn:a}){var r=a.dict||a;switch(r.get("FunctionType")){case 0:return this.constructSampled({xref:e,isEvalSupported:t,fn:a,dict:r});case 1:break;case 2:return this.constructInterpolated({xref:e,isEvalSupported:t,dict:r});case 3:return this.constructStiched({xref:e,isEvalSupported:t,dict:r});case 4:return this.constructPostScript({xref:e,isEvalSupported:t,fn:a,dict:r})}throw new l.FormatError("Unknown type of function")}static parseArray({xref:e,isEvalSupported:t,fnObj:a}){if(!Array.isArray(a))return this.parse({xref:e,isEvalSupported:t,fn:a});const s=[];for(const r of a)s.push(this.parse({xref:e,isEvalSupported:t,fn:e.fetchIfRef(r)}));return function(a,r,i,n){for(let e=0,t=s.length;e<t;e++)s[e](a,r,i,n+e)}}static constructSampled({fn:e,dict:t}){function a(t){var a=t.length,r=[];let i=0;for(let e=0;e<a;e+=2)r[i++]=[t[e],t[e+1]];return r}function g(e,t,a,r,i){return r+(i-r)/(a-t)*(e-t)}let p=c(t.getArray("Domain")),m=c(t.getArray("Range"));if(!p||!m)throw new l.FormatError("No domain or range");const b=p.length/2,y=m.length/2,w=(p=a(p),m=a(m),c(t.getArray("Size"))),r=t.get("BitsPerSample"),i=t.get("Order")||1;1!==i&&(0,l.info)("No support for cubic spline interpolation: "+i);let v=c(t.getArray("Encode"));if(v)v=a(v);else{v=[];for(let e=0;e<b;++e)v.push([0,w[e]-1])}let x=c(t.getArray("Decode"));x=x?a(x):m;const S=this.getSampleArray(w,y,r,e);return function(e,t,a,r){var i=1<<b,n=new Float64Array(i),s=new Uint32Array(i);let o,l;for(l=0;l<i;l++)n[l]=1;let c=y,h=1;for(o=0;o<b;++o){const a=p[o][0],r=p[o][1];var u=g(Math.min(Math.max(e[t+o],a),r),a,r,v[o][0],v[o][1]);const b=w[o],y=(u=Math.min(Math.max(u,0),b-1))<b-1?Math.floor(u):u-1,x=y+1-u,S=u-y,d=y*c,f=d+c;for(l=0;l<i;l++)l&h?(n[l]*=S,s[l]+=f):(n[l]*=x,s[l]+=d);c*=b,h<<=1}for(l=0;l<y;++l){let e=0;for(o=0;o<i;o++)e+=S[s[o]+l]*n[o];e=g(e,0,1,x[l][0],x[l][1]),a[r+l]=Math.min(Math.max(e,m[l][0]),m[l][1])}}}static constructInterpolated({dict:e}){const n=c(e.getArray("C0"))||[0],a=c(e.getArray("C1"))||[1],s=e.get("N"),o=[];for(let e=0,t=n.length;e<t;++e)o.push(a[e]-n[e]);const l=o.length;return function(e,t,a,r){var i=1===s?e[t]:e[t]**s;for(let e=0;e<l;++e)a[r+e]=n[e]+i*o[e]}}static constructStiched({xref:e,isEvalSupported:t,dict:a}){const h=c(a.getArray("Domain"));if(!h)throw new l.FormatError("No domain");if(1!=h.length/2)throw new l.FormatError("Bad domain for stiched function");const u=[];for(const h of a.get("Functions"))u.push(this.parse({xref:e,isEvalSupported:t,fn:e.fetchIfRef(h)}));const d=c(a.getArray("Bounds")),f=c(a.getArray("Encode")),g=new Float32Array(1);return function(e,t,a,r){e=e[t],t=h[0],(c=h[1])<e?e=c:e<t&&(e=t);var i=e,n=d.length;let s;for(s=0;s<n&&!(i<d[s]);++s);let o=h[0],l=(0<s&&(o=d[s-1]),h[1]);s<d.length&&(l=d[s]);var c=f[2*s],t=f[2*s+1];g[0]=o===l?c:c+(i-o)*(t-c)/(l-o),u[s](g,0,a,r)}}static constructPostScript({isEvalSupported:e,fn:t,dict:a}){const r=c(a.getArray("Domain")),f=c(a.getArray("Range"));if(!r)throw new l.FormatError("No domain.");if(!f)throw new l.FormatError("No range.");a=new n.PostScriptLexer(t),t=new n.PostScriptParser(a).parse();if(e&&l.FeatureTest.isEvalSupported){const i=(new v).compile(t,r,f);if(i)return new Function("src","srcOffset","dest","destOffset",i)}(0,l.info)("Unable to compile PS function");const g=f.length>>1,p=r.length>>1,m=new u(t),b=Object.create(null);let y=8192;const w=new Float32Array(p);return function(e,t,a,r){let i,n,s="";var o=w;for(i=0;i<p;i++)n=e[t+i],o[i]=n,s+=n+"_";var l=b[s];if(void 0!==l)a.set(l,r);else{var c=new Float32Array(g),h=m.execute(o),u=h.length-g;for(i=0;i<g;i++){n=h[u+i];var d=f[2*i];(n<d||(d=f[2*i+1],n>d))&&(n=d),c[i]=n}0<y&&(y--,b[s]=c),a.set(c,r)}}}}class h{static MAX_STACK_SIZE=100;constructor(e){this.stack=e?Array.from(e):[]}push(e){if(this.stack.length>=h.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(e)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(a){if(this.stack.length+a>=h.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");var r=this.stack;for(let e=r.length-a,t=a-1;0<=t;t--,e++)r.push(r[e])}index(e){this.push(this.stack[this.stack.length-e-1])}roll(e,t){const a=this.stack,r=a.length-e,i=a.length-1,n=r+(t-Math.floor(t/e)*e);for(let e=r,t=i;e<t;e++,t--){const r=a[e];a[e]=a[t],a[t]=r}for(let e=r,t=n-1;e<t;e++,t--){const r=a[e];a[e]=a[t],a[t]=r}for(let e=n,t=i;e<t;e++,t--){const r=a[e];a[e]=a[t],a[t]=r}}}class u{constructor(e){this.operators=e}execute(e){var t=new h(e);let a=0;var r=this.operators,i=r.length;let n,s,o;for(;a<i;)if("number"!=typeof(n=r[a++]))switch(n){case"jz":o=t.pop(),(s=t.pop())||(a=o);break;case"j":s=t.pop(),a=s;break;case"abs":s=t.pop(),t.push(Math.abs(s));break;case"add":o=t.pop(),s=t.pop(),t.push(s+o);break;case"and":o=t.pop(),"boolean"==typeof(s=t.pop())&&"boolean"==typeof o?t.push(s&&o):t.push(s&o);break;case"atan":o=t.pop(),s=t.pop(),(s=Math.atan2(s,o)/Math.PI*180)<0&&(s+=360),t.push(s);break;case"bitshift":o=t.pop(),0<(s=t.pop())?t.push(s<<o):t.push(s>>o);break;case"ceiling":s=t.pop(),t.push(Math.ceil(s));break;case"copy":s=t.pop(),t.copy(s);break;case"cos":s=t.pop(),t.push(Math.cos(s%360/180*Math.PI));break;case"cvi":s=0|t.pop(),t.push(s);break;case"cvr":break;case"div":o=t.pop(),s=t.pop(),t.push(s/o);break;case"dup":t.copy(1);break;case"eq":o=t.pop(),s=t.pop(),t.push(s===o);break;case"exch":t.roll(2,1);break;case"exp":o=t.pop(),s=t.pop(),t.push(s**o);break;case"false":t.push(!1);break;case"floor":s=t.pop(),t.push(Math.floor(s));break;case"ge":o=t.pop(),s=t.pop(),t.push(s>=o);break;case"gt":o=t.pop(),s=t.pop(),t.push(s>o);break;case"idiv":o=t.pop(),s=t.pop(),t.push(s/o|0);break;case"index":s=t.pop(),t.index(s);break;case"le":o=t.pop(),s=t.pop(),t.push(s<=o);break;case"ln":s=t.pop(),t.push(Math.log(s));break;case"log":s=t.pop(),t.push(Math.log(s)/Math.LN10);break;case"lt":o=t.pop(),s=t.pop(),t.push(s<o);break;case"mod":o=t.pop(),s=t.pop(),t.push(s%o);break;case"mul":o=t.pop(),s=t.pop(),t.push(s*o);break;case"ne":o=t.pop(),s=t.pop(),t.push(s!==o);break;case"neg":s=t.pop(),t.push(-s);break;case"not":"boolean"==typeof(s=t.pop())?t.push(!s):t.push(~s);break;case"or":o=t.pop(),"boolean"==typeof(s=t.pop())&&"boolean"==typeof o?t.push(s||o):t.push(s|o);break;case"pop":t.pop();break;case"roll":o=t.pop(),s=t.pop(),t.roll(s,o);break;case"round":s=t.pop(),t.push(Math.round(s));break;case"sin":s=t.pop(),t.push(Math.sin(s%360/180*Math.PI));break;case"sqrt":s=t.pop(),t.push(Math.sqrt(s));break;case"sub":o=t.pop(),s=t.pop(),t.push(s-o);break;case"true":t.push(!0);break;case"truncate":s=(s=t.pop())<0?Math.ceil(s):Math.floor(s),t.push(s);break;case"xor":o=t.pop(),"boolean"==typeof(s=t.pop())&&"boolean"==typeof o?t.push(s!==o):t.push(s^o);break;default:throw new l.FormatError("Unknown operator "+n)}else t.push(n);return t.stack}}t.PostScriptEvaluator=u;class d{constructor(e){this.type=e}visit(e){(0,l.unreachable)("abstract method")}}class x extends d{constructor(e,t,a){super("args"),this.index=e,this.min=t,this.max=a}visit(e){e.visitArgument(this)}}class S extends d{constructor(e){super("literal"),this.number=e,this.min=e,this.max=e}visit(e){e.visitLiteral(this)}}class k extends d{constructor(e,t,a,r,i){super("binary"),this.op=e,this.arg1=t,this.arg2=a,this.min=r,this.max=i}visit(e){e.visitBinaryOperation(this)}}class A extends d{constructor(e,t){super("max"),this.arg=e,this.min=e.min,this.max=t}visit(e){e.visitMin(this)}}class C extends d{constructor(e,t,a){super("var"),this.index=e,this.min=t,this.max=a}visit(e){e.visitVariable(this)}}class F extends d{constructor(e,t){super("definition"),this.variable=e,this.arg=t}visit(e){e.visitVariableDefinition(this)}}class O{constructor(){this.parts=[]}visitArgument(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}visitVariable(e){this.parts.push("v",e.index)}visitLiteral(e){this.parts.push(e.number)}visitBinaryOperation(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}visitVariableDefinition(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}visitMin(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}toString(){return this.parts.join("")}}class v{compile(a,r,i){const n=[],s=[],o=r.length>>1,l=i.length>>1;let c,h,u,d,f,g,p,m,b=0;for(let e=0;e<o;e++)n.push(new x(e,r[2*e],r[2*e+1]));for(let e=0,t=a.length;e<t;e++)if("number"!=typeof(m=a[e]))switch(m){case"add":if(n.length<2)return null;d=n.pop(),u=n.pop(),n.push((y=u,"literal"===(w=d).type&&0===w.number?y:"literal"===y.type&&0===y.number?w:"literal"===w.type&&"literal"===y.type?new S(y.number+w.number):new k("+",y,w,y.min+w.min,y.max+w.max)));break;case"cvr":if(n.length<1)return null;break;case"mul":if(n.length<2)return null;d=n.pop(),u=n.pop(),n.push(function(e,t){if("literal"===t.type){if(0===t.number)return new S(0);if(1===t.number)return e;if("literal"===e.type)return new S(e.number*t.number)}if("literal"===e.type){if(0===e.number)return new S(0);if(1===e.number)return t}var a=Math.min(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max),r=Math.max(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max);return new k("*",e,t,a,r)}(u,d));break;case"sub":if(n.length<2)return null;d=n.pop(),u=n.pop(),n.push(function(e,t){if("literal"===t.type){if(0===t.number)return e;if("literal"===e.type)return new S(e.number-t.number)}return"binary"===t.type&&"-"===t.op&&"literal"===e.type&&1===e.number&&"literal"===t.arg1.type&&1===t.arg1.number?t.arg2:new k("-",e,t,e.min-t.max,e.max-t.min)}(u,d));break;case"exch":if(n.length<2)return null;f=n.pop(),g=n.pop(),n.push(f,g);break;case"pop":if(n.length<1)return null;n.pop();break;case"index":if(n.length<1)return null;if("literal"!==(u=n.pop()).type)return null;if((c=u.number)<0||!Number.isInteger(c)||n.length<c)return null;"literal"===(f=n[n.length-c-1]).type||"var"===f.type?n.push(f):(p=new C(b++,f.min,f.max),n[n.length-c-1]=p,n.push(p),s.push(new F(p,f)));break;case"dup":if(n.length<1)return null;"number"==typeof a[e+1]&&"gt"===a[e+2]&&a[e+3]===e+7&&"jz"===a[e+4]&&"pop"===a[e+5]&&a[e+6]===a[e+1]?(u=n.pop(),n.push((y=u,w=a[e+1],y.min>=w?new S(w):y.max<=w?y:new A(y,w))),e+=6):"literal"===(f=n.at(-1)).type||"var"===f.type?n.push(f):(p=new C(b++,f.min,f.max),n[n.length-1]=p,n.push(p),s.push(new F(p,f)));break;case"roll":if(n.length<2)return null;if(d=n.pop(),u=n.pop(),"literal"!==d.type||"literal"!==u.type)return null;if(h=d.number,(c=u.number)<=0||!Number.isInteger(c)||!Number.isInteger(h)||n.length<c)return null;0!=(h=(h%c+c)%c)&&n.push(...n.splice(n.length-c,c-h));break;default:return null}else n.push(new S(m));var y,w;if(n.length!==l)return null;var v=[];for(const a of s){const r=new O;a.visit(r),v.push(r.toString())}for(let e=0,t=n.length;e<t;e++){const r=n[e],s=new O,o=(r.visit(s),i[2*e]),l=i[2*e+1],c=[s.toString()];o>r.min&&(c.unshift("Math.max(",o,", "),c.push(")")),l<r.max&&(c.unshift("Math.min(",l,", "),c.push(")")),c.unshift("dest[destOffset + ",e,"] = "),c.push(";"),v.push(c.join(""))}return v.join("\n")}}t.PostScriptCompiler=v},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptParser=t.PostScriptLexer=void 0;var r=a(2),i=a(4),n=a(3);t.PostScriptParser=class{constructor(e){this.lexer=e,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(e){return this.token.type===e&&(this.nextToken(),!0)}expect(e){if(this.accept(e))return!0;throw new r.FormatError(`Unexpected symbol: found ${this.token.type} expected ${e}.`)}parse(){return this.nextToken(),this.expect(s.LBRACE),this.parseBlock(),this.expect(s.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(s.NUMBER))this.operators.push(this.prev.value);else if(this.accept(s.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(s.LBRACE))return;this.parseCondition()}}parseCondition(){var e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(s.RBRACE),this.accept(s.IF))this.operators[e]=this.operators.length;else{if(!this.accept(s.LBRACE))throw new r.FormatError("PS Function: error parsing conditional.");var t=this.operators.length,a=(this.operators.push(null,null),this.operators.length);this.parseBlock(),this.expect(s.RBRACE),this.expect(s.IFELSE),this.operators[t]=this.operators.length,this.operators[t+1]="j",this.operators[e]=a}this.operators[e+1]="jz"}};const s={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class o{static get opCache(){return(0,r.shadow)(this,"opCache",Object.create(null))}constructor(e,t){this.type=e,this.value=t}static getOperator(e){return o.opCache[e]||=new o(s.OPERATOR,e)}static get LBRACE(){return(0,r.shadow)(this,"LBRACE",new o(s.LBRACE,"{"))}static get RBRACE(){return(0,r.shadow)(this,"RBRACE",new o(s.RBRACE,"}"))}static get IF(){return(0,r.shadow)(this,"IF",new o(s.IF,"IF"))}static get IFELSE(){return(0,r.shadow)(this,"IFELSE",new o(s.IFELSE,"IFELSE"))}}t.PostScriptLexer=class{constructor(e){this.stream=e,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let e=!1,t=this.currentChar;for(;;){if(t<0)return i.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,n.isWhiteSpace)(t))break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new o(s.NUMBER,this.getNumber());case 123:return this.nextChar(),o.LBRACE;case 125:return this.nextChar(),o.RBRACE}var a=this.strBuf;for(a.length=0,a[0]=String.fromCharCode(t);0<=(t=this.nextChar())&&(65<=t&&t<=90||97<=t&&t<=122);)a.push(String.fromCharCode(t));var r=a.join("");switch(r.toLowerCase()){case"if":return o.IF;case"ifelse":return o.IFELSE;default:return o.getOperator(r)}}getNumber(){var e=this.currentChar,t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);0<=(e=this.nextChar())&&(48<=e&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var a=parseFloat(t.join(""));if(isNaN(a))throw new r.FormatError("Invalid floating point number: "+a);return a}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RegionalImageCache=t.LocalTilingPatternCache=t.LocalImageCache=t.LocalGStateCache=t.LocalFunctionCache=t.LocalColorSpaceCache=t.GlobalImageCache=void 0;var r=a(2),i=a(4);class n{constructor(e){this.constructor===n&&(0,r.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=!0===e?.onlyRefs,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new i.RefSetCache}getByName(e){this._onlyRefs&&(0,r.unreachable)("Should not call `getByName` method.");var t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}getByRef(e){return this._imageCache.get(e)||null}set(e,t,a){(0,r.unreachable)("Abstract method `set` called.")}}t.LocalImageCache=class extends n{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t)return this._imageCache.has(t)?void 0:(this._nameRefMap.set(e,t),void this._imageCache.put(t,a));this._imageMap.has(e)||this._imageMap.set(e,a)}},t.LocalColorSpaceCache=class extends n{set(e=null,t=null,a){if("string"!=typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t)return this._imageCache.has(t)?void 0:(null!==e&&this._nameRefMap.set(e,t),void this._imageCache.put(t,a));this._imageMap.has(e)||this._imageMap.set(e,a)}},t.LocalFunctionCache=class extends n{constructor(e){super({onlyRefs:!0})}set(e=0,t,a){if(!t)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}},t.LocalGStateCache=class extends n{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t)return this._imageCache.has(t)?void 0:(this._nameRefMap.set(e,t),void this._imageCache.put(t,a));this._imageMap.has(e)||this._imageMap.set(e,a)}},t.LocalTilingPatternCache=class extends n{constructor(e){super({onlyRefs:!0})}set(e=0,t,a){if(!t)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}},t.RegionalImageCache=class extends n{constructor(e){super({onlyRefs:!0})}set(e=0,t,a){if(!t)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}};class s{static NUM_PAGES_THRESHOLD=2;static MIN_IMAGES_TO_CACHE=10;static MAX_BYTE_SIZE=5*r.MAX_IMAGE_SIZE_TO_CACHE;constructor(){this._refCache=new i.RefSetCache,this._imageCache=new i.RefSetCache}get _byteSize(){let e=0;for(const t of this._imageCache)e+=t.byteSize;return e}get _cacheLimitReached(){return!(this._imageCache.size<s.MIN_IMAGES_TO_CACHE||this._byteSize<s.MAX_BYTE_SIZE)}shouldCache(e,t){let a=this._refCache.get(e);return a||(a=new Set,this._refCache.put(e,a)),a.add(t),!(a.size<s.NUM_PAGES_THRESHOLD||!this._imageCache.has(e)&&this._cacheLimitReached)}addByteSize(e,t){e=this._imageCache.get(e);e&&!e.byteSize&&(e.byteSize=t)}getData(e,t){var a=this._refCache.get(e);return a&&!(a.size<s.NUM_PAGES_THRESHOLD)&&(e=this._imageCache.get(e))?(a.add(t),e):null}setData(e,t){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.');this._imageCache.has(e)||(this._cacheLimitReached?(0,r.warn)("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(e,t))}clear(e=!1){e||this._refCache.clear(),this._imageCache.clear()}}t.GlobalImageCache=s},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bidi=function(a,t=-1,e=!1){let r=!0;var i=a.length;if(0===i||e)return F(a,r,e);O.length=i,I.length=i;let n,s,o=0;for(n=0;n<i;++n){O[n]=a.charAt(n);const t=a.charCodeAt(n);let e="L";t<=255?e=S[t]:1424<=t&&t<=1524?e="R":1536<=t&&t<=1791?(e=k[255&t])||(0,x.warn)("Bidi: invalid Unicode character "+t.toString(16)):(1792<=t&&t<=2220||64336<=t&&t<=65023||65136<=t&&t<=65279)&&(e="AL"),"R"!==e&&"AL"!==e&&"AN"!==e||o++,I[n]=e}if(0===o)return F(a,r=!0);-1===t&&(t=o/i<.3&&4<i?(r=!0,0):(r=!1,1));var l=[];for(n=0;n<i;++n)l[n]=t;var c=A(t)?"R":"L",h=c,u=h;let d,f=h;for(n=0;n<i;++n)"NSM"===I[n]?I[n]=f:f=I[n];for(f=h,n=0;n<i;++n)"EN"===(d=I[n])?I[n]="AL"===f?"AN":"EN":"R"!==d&&"L"!==d&&"AL"!==d||(f=d);for(n=0;n<i;++n)"AL"===(d=I[n])&&(I[n]="R");for(n=1;n<i-1;++n)"ES"===I[n]&&"EN"===I[n-1]&&"EN"===I[n+1]&&(I[n]="EN"),"CS"!==I[n]||"EN"!==I[n-1]&&"AN"!==I[n-1]||I[n+1]!==I[n-1]||(I[n]=I[n-1]);for(n=0;n<i;++n)if("EN"===I[n]){for(let e=n-1;0<=e&&"ET"===I[e];--e)I[e]="EN";for(let e=n+1;e<i&&"ET"===I[e];++e)I[e]="EN"}for(n=0;n<i;++n)"WS"!==(d=I[n])&&"ES"!==d&&"ET"!==d&&"CS"!==d||(I[n]="ON");for(f=h,n=0;n<i;++n)"EN"===(d=I[n])?I[n]="L"===f?"L":"EN":"R"!==d&&"L"!==d||(f=d);for(n=0;n<i;++n)if("ON"===I[n]){const a=function(e,t,a){let r,i;for(r=t,i=e.length;r<i;++r)if(e[r]!==a)return r;return r}(I,n+1,"ON");let e=h,t=(0<n&&(e=I[n-1]),u);if(a+1<i&&(t=I[a+1]),"L"!==e&&(e="R"),"L"!==t&&(t="R"),e===t){g=void 0;p=void 0;m=void 0;b=void 0;var g=I;var p=n;var m=a;var b=e;for(let e=p;e<m;++e)g[e]=b}n=a-1}for(n=0;n<i;++n)"ON"===I[n]&&(I[n]=c);for(n=0;n<i;++n)d=I[n],0==(1&l[n])?"R"===d?l[n]+=1:"AN"!==d&&"EN"!==d||(l[n]+=2):"L"!==d&&"AN"!==d&&"EN"!==d||(l[n]+=1);let y,w=-1,v=99;for(n=0,s=l.length;n<s;++n)y=l[n],w<y&&(w=y),v>y&&A(y)&&(v=y);for(y=w;y>=v;--y){let e=-1;for(n=0,s=l.length;n<s;++n)l[n]<y?0<=e&&(C(O,e,n),e=-1):e<0&&(e=n);0<=e&&C(O,e,l.length)}for(n=0,s=O.length;n<s;++n){const a=O[n];"<"!==a&&">"!==a||(O[n]="")}return F(O.join(""),r)};var x=a(2);const S=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],k=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function A(e){return 0!=(1&e)}function C(a,r,i){for(let e=r,t=i-1;e<t;++e,--t){const r=a[e];a[e]=a[t],a[t]=r}}function F(e,t,a=!1){let r="ltr";return a?r="ttb":t||(r="rtl"),{str:e,dir:r}}const O=[],I=[]},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getFontSubstitution=function(a,r,i,n,s){var o=n=(0,u.normalizeFontName)(n);let l=a.get(o);if(!l){let e=b.get(n);if(!e)for(const[a,r]of y)if(n.startsWith(a)){n=""+r+n.substring(a.length),e=b.get(n);break}let t=!1;e||(e=b.get(s),t=!0);s=r.getDocId()+"_s"+r.createFontId();if(e){var r=[],{style:i,ultimate:c}=(t&&(0,d.validateFontName)(n)&&r.push(`local(${n})`),function e({alias:t,local:a,path:r,fallback:i,style:n,ultimate:s},o,l,c=!0,h=!0,u=""){const d={style:null,ultimate:null};if(a){const t=u?" "+u:"";for(const r of a)o.push(`local(${r}${t})`)}if(t){const a=b.get(t),s=u||function(e){switch(e){case g:return"Bold";case p:return"Italic";case m:return"Bold Italic";default:if("bold"===e?.weight)return"Bold";if("italic"===e?.style)return"Italic"}return""}(n);Object.assign(d,e(a,o,l,c&&!i,h&&!r,s))}if(n&&(d.style=n),s&&(d.ultimate=s),c&&i){const t=b.get(i),a=e(t,o,l,c,h&&!r,u)["ultimate"];d.ultimate||=a}return h&&r&&l&&o.push(`url(${l}${r})`),d}(e,r,i)),h=null===c;l={css:s+(h?"":","+c),guessFallback:h,loadedName:s,baseFontName:n,src:r.join(","),style:i}}else{if(!(0,d.validateFontName)(n))return a.set(o,null),null;const r=/bold/gi.test(n),i=/oblique|italic/gi.test(n);l={css:s,guessFallback:!0,loadedName:s,baseFontName:n,src:`local(${n})`,style:r&&i&&m||r&&g||i&&p||f}}a.set(o,l)}return l};var u=a(38),d=a(3);const f={style:"normal",weight:"normal"},g={style:"normal",weight:"bold"},p={style:"italic",weight:"normal"},m={style:"italic",weight:"bold"},b=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:f,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:g,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:p,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:m,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:f,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:g,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:p,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:m,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono"],style:f,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:g,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:p,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:m,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:f,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:g,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:p,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:m,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:f,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:g,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:p,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:m,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:f}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),y=new Map([["Arial-Black","ArialBlack"]])},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ImageResizer=void 0;var f=a(2);class m{constructor(e,t){this._imgData=e,this._isMask=t}static needsToBeResized(e,t){var a,r;return!(e<=this._goodSquareLength&&t<=this._goodSquareLength)&&(a=this["MAX_DIM"],a<e||a<t||(r=e*t,this._hasMaxArea?r>this.MAX_AREA:!(r<this._goodSquareLength**2)&&(this._areGoodDims(e,t)?(this._goodSquareLength=Math.max(this._goodSquareLength,Math.floor(Math.sqrt(e*t))),!1):(this._goodSquareLength=this._guessMax(this._goodSquareLength,a,128,0),r>(this.MAX_AREA=this._goodSquareLength**2)))))}static get MAX_DIM(){return(0,f.shadow)(this,"MAX_DIM",this._guessMax(2048,65537,0,1))}static get MAX_AREA(){return this._hasMaxArea=!0,(0,f.shadow)(this,"MAX_AREA",this._guessMax(m._goodSquareLength,this.MAX_DIM,128,0)**2)}static set MAX_AREA(e){0<=e&&(this._hasMaxArea=!0,(0,f.shadow)(this,"MAX_AREA",e))}static setMaxArea(e){this._hasMaxArea||(this.MAX_AREA=e>>2)}static _areGoodDims(e,t){try{var a=new OffscreenCanvas(e,t),r=a.getContext("2d"),i=(r.fillRect(0,0,1,1),r.getImageData(0,0,1,1).data[3]);return a.width=a.height=1,0!==i}catch(e){return!1}}static _guessMax(e,t,a,r){for(;e+a+1<t;){const a=Math.floor((e+t)/2),i=r||a;this._areGoodDims(a,i)?e=a:t=a}return e}static async createImage(e,t=!1){return new m(e,t)._createImage()}async _createImage(){const e=this._encodeBMP(),t=new Blob([e.buffer],{type:"image/bmp"}),a=createImageBitmap(t),{MAX_AREA:r,MAX_DIM:i}=m,n=this["_imgData"],{width:s,height:o}=n,l=Math.max(s/i,o/i,Math.sqrt(s*o/r)),c=Math.max(l,2),h=Math.round(10*(l+1.25))/10/c,u=Math.floor(Math.log2(h)),d=new Array(u+2).fill(2);d[0]=c,d.splice(-1,1,h/(1<<u));let f=s,g=o,p=await a;for(const e of d){const t=f,a=g,r=(f=Math.floor(f/e)-1,g=Math.floor(g/e)-1,new OffscreenCanvas(f,g));r.getContext("2d").drawImage(p,0,0,t,a,0,0,f,g),p=r.transferToImageBitmap()}return n.data=null,n.bitmap=p,n.width=f,n.height=g,n}_encodeBMP(){const{width:r,height:i}=this._imgData;let n,s=this._imgData.data,o=new Uint8Array(0),e=o,t=0;switch(d){case f.ImageKind.GRAYSCALE_1BPP:{n=1,o=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);const d=r+7>>3,f=3+d&-4;if(d!=f){const r=new Uint8Array(f*i);let a=0;for(let e=0,t=i*d;e<t;e+=d,a+=f)r.set(s.subarray(e,e+d),a);s=r}break}case f.ImageKind.RGB_24BPP:if(n=24,3&r){const d=3*r,f=3+d&-4,n=f-d,o=new Uint8Array(f*i);let a=0;for(let e=0,t=i*d;e<t;e+=d){const i=s.subarray(e,e+d);for(let e=0;e<d;e+=3)o[a++]=i[e+2],o[a++]=i[e+1],o[a++]=i[e];a+=n}s=o}else for(let e=0,t=s.length;e<t;e+=3){const i=s[e];s[e]=s[e+2],s[e+2]=i}break;case f.ImageKind.RGBA_32BPP:n=32,t=3,e=new Uint8Array(68);const d=new DataView(e.buffer);f.FeatureTest.isLittleEndian?(d.setUint32(0,255,!0),d.setUint32(4,65280,!0),d.setUint32(8,16711680,!0),d.setUint32(12,4278190080,!0)):(d.setUint32(0,4278190080,!0),d.setUint32(4,16711680,!0),d.setUint32(8,65280,!0),d.setUint32(12,255,!0));break;default:throw new Error("invalid format")}var a=0,l=40+e.length,c=14+l+o.length+s.length,h=new Uint8Array(c),u=new DataView(h.buffer);return u.setUint16(0,19778,!0),a+=2,u.setUint32(2,c,!0),a+=4,u.setUint32(6,0,!0),a+=4,u.setUint32(10,14+l+o.length,!0),a+=4,u.setUint32(14,l,!0),a+=4,u.setInt32(18,r,!0),a+=4,u.setInt32(22,-i,!0),a+=4,u.setUint16(26,1,!0),a+=2,u.setUint16(28,n,!0),a+=2,u.setUint32(30,t,!0),a+=4,u.setUint32(34,0,!0),a+=4,u.setInt32(38,0,!0),a+=4,u.setInt32(42,0,!0),a+=4,u.setUint32(46,o.length/4,!0),a+=4,u.setUint32(50,0,!0),a+=4,h.set(e,54),a+=e.length,h.set(o,a),a+=o.length,h.set(s,a),h}}(t.ImageResizer=m)._goodSquareLength=2048},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MurmurHash3_64=void 0;var d=a(2);const f=4294901760,g=65535;t.MurmurHash3_64=class{constructor(e){this.h1=e?4294967295&e:3285377520,this.h2=e?4294967295&e:3285377520}update(a){let r,i;if("string"==typeof a){r=new Uint8Array(2*a.length);for(let e=i=0,t=a.length;e<t;e++){const n=a.charCodeAt(e);n<=255?r[i++]=n:(r[i++]=n>>>8,r[i++]=255&n)}}else{if(!(0,d.isArrayBuffer)(a))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=a.slice(),i=r.byteLength}const n=i>>2,e=i-4*n,t=new Uint32Array(r.buffer,0,n);let s=0,o,l=this.h1,c=this.h2;var h=3432918353,u=461845907;for(let e=0;e<n;e++)1&e?(s=(s=(s=(s=t[e])*h&f|11601*s&g)<<15|s>>>17)*u&f|13715*s&g,l=5*(l=(l^=s)<<13|l>>>19)+3864292196):(o=(o=(o=(o=t[e])*h&f|11601*o&g)<<15|o>>>17)*u&f|13715*o&g,c=5*(c=(c^=o)<<13|c>>>19)+3864292196);switch(s=0,e){case 3:s^=r[4*n+2]<<16;case 2:s^=r[4*n+1]<<8;case 1:s=(s=(s=(s^=r[4*n])*h&f|11601*s&g)<<15|s>>>17)*u&f|13715*s&g,1&n?l^=s:c^=s}this.h1=l,this.h2=c}hexdigest(){var e=this.h1,t=this.h2,e=3981806797*(e^=t>>>1)&f|36045*e&g;return e=444984403*(e^=(t=4283543511*t&f|(2950163797*(t<<16|e>>>16)&f)>>>16)>>>1)&f|60499*e&g,((e^=(t=3301882366*t&f|(3120437893*(t<<16|e>>>16)&f)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorList=void 0;var y=a(2);function r(e,a,r,t,i){let n=e;for(let e=0,t=a.length-1;e<t;e++){const r=a[e];n=n[r]||=[]}n[a.at(-1)]={checkFn:r,iterateFn:t,processFn:i}}const s=[];r(s,[y.OPS.save,y.OPS.transform,y.OPS.paintInlineImageXObject,y.OPS.restore],null,function(e,t){var a=e.fnArray,e=(t-(e.iCurr-3))%4;switch(e){case 0:return a[t]===y.OPS.save;case 1:return a[t]===y.OPS.transform;case 2:return a[t]===y.OPS.paintInlineImageXObject;case 3:return a[t]===y.OPS.restore}throw new Error("iterateInlineImageGroup - invalid pos: "+e)},function(e,n){const s=e.fnArray,t=e.argsArray,a=e.iCurr,r=a-3,i=a-2,o=a-1,l=Math.min(Math.floor((n-r)/4),200);if(l<10)return n-(n-r)%4;let c=0;var h=[];let u=0,d=1,f=1;for(let e=0;e<l;e++){const n=t[i+(e<<2)],s=t[o+(e<<2)][0];1e3<d+s.width&&(c=Math.max(c,d),f+=u+2,d=0,u=0),h.push({transform:n,x:d,y:f,w:s.width,h:s.height}),d+=s.width+2,u=Math.max(u,s.height)}var g=Math.max(c,d)+1,n=f+u+1,p=new Uint8Array(g*n*4),m=g<<2;for(let i=0;i<l;i++){const n=t[o+(i<<2)][0].data,s=h[i].w<<2;let a=0,r=h[i].x+h[i].y*g<<2;p.set(n.subarray(0,s),r-m);for(let e=0,t=h[i].h;e<t;e++)p.set(n.subarray(a,a+s),r),a+=s,r+=m;for(p.set(n.subarray(a-s,a),r);0<=r;)n[r-4]=n[r],n[r-3]=n[r+1],n[r-2]=n[r+2],n[r-1]=n[r+3],n[r+s]=n[r+s-4],n[r+s+1]=n[r+s-3],n[r+s+2]=n[r+s-2],n[r+s+3]=n[r+s-1],r-=m}var b={width:g,height:n};if(e.isOffscreenCanvasSupported){const e=new OffscreenCanvas(g,n);e.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(p.buffer),g,n),0,0),b.bitmap=e.transferToImageBitmap(),b.data=null}else b.kind=y.ImageKind.RGBA_32BPP,b.data=p;return s.splice(r,4*l,y.OPS.paintInlineImageXObjectGroup),t.splice(r,4*l,[b,h]),1+r}),r(s,[y.OPS.save,y.OPS.transform,y.OPS.paintImageMaskXObject,y.OPS.restore],null,function(e,t){var a=e.fnArray,e=(t-(e.iCurr-3))%4;switch(e){case 0:return a[t]===y.OPS.save;case 1:return a[t]===y.OPS.transform;case 2:return a[t]===y.OPS.paintImageMaskXObject;case 3:return a[t]===y.OPS.restore}throw new Error("iterateImageMaskGroup - invalid pos: "+e)},function(t,e){const a=t.fnArray,r=t.argsArray,i=t.iCurr,n=i-3,s=i-2,o=i-1;let l=Math.floor((e-n)/4);if(l<10)return e-(e-n)%4;let c,h,u=!1;var d=r[o][0],f=r[s][0],g=r[s][1],p=r[s][2],m=r[s][3];if(g===p){u=!0,c=4+s;let t=4+o;for(let e=1;e<l;e++,c+=4,t+=4)if(h=r[c],r[t][0]!==d||h[0]!==f||h[1]!==g||h[2]!==p||h[3]!==m){e<10?u=!1:l=e;break}}if(u){l=Math.min(l,1e3);const t=new Float32Array(2*l);c=s;for(let e=0;e<l;e++,c+=4)h=r[c],t[e<<1]=h[4],t[1+(e<<1)]=h[5];a.splice(n,4*l,y.OPS.paintImageMaskXObjectRepeat),r.splice(n,4*l,[d,f,g,p,m,t])}else{l=Math.min(l,100);const t=[];for(let e=0;e<l;e++){h=r[s+(e<<2)];const a=r[o+(e<<2)][0];t.push({data:a.data,width:a.width,height:a.height,interpolate:a.interpolate,count:a.count,transform:h})}a.splice(n,4*l,y.OPS.paintImageMaskXObjectGroup),r.splice(n,4*l,[t])}return 1+n}),r(s,[y.OPS.save,y.OPS.transform,y.OPS.paintImageXObject,y.OPS.restore],function(e){var t=e.argsArray,e=e.iCurr-2;return 0===t[e][1]&&0===t[e][2]},function(e,t){const a=e.fnArray,r=e.argsArray,i=(t-(e.iCurr-3))%4;switch(i){case 0:return a[t]===y.OPS.save;case 1:if(a[t]!==y.OPS.transform)return!1;const i=e.iCurr-2,s=r[i][0],o=r[i][3];return r[t][0]===s&&0===r[t][1]&&0===r[t][2]&&r[t][3]===o;case 2:var n;return a[t]!==y.OPS.paintImageXObject?!1:(n=r[e.iCurr-1][0],r[t][0]===n);case 3:return a[t]===y.OPS.restore}throw new Error("iterateImageGroup - invalid pos: "+i)},function(e,t){var a=e.fnArray,r=e.argsArray,e=e.iCurr,i=e-3,n=e-2,e=r[e-1][0],s=r[n][0],o=r[n][3],l=Math.min(Math.floor((t-i)/4),1e3);if(l<3)return t-(t-i)%4;var c=new Float32Array(2*l);let h=n;for(let e=0;e<l;e++,h+=4){const t=r[h];c[e<<1]=t[4],c[1+(e<<1)]=t[5]}t=[e,s,o,c];return a.splice(i,4*l,y.OPS.paintImageXObjectRepeat),r.splice(i,4*l,t),1+i}),r(s,[y.OPS.beginText,y.OPS.setFont,y.OPS.setTextMatrix,y.OPS.showText,y.OPS.endText],null,function(e,t){const a=e.fnArray,r=e.argsArray,i=(t-(e.iCurr-4))%5;switch(i){case 0:return a[t]===y.OPS.beginText;case 1:return a[t]===y.OPS.setFont;case 2:return a[t]===y.OPS.setTextMatrix;case 3:if(a[t]!==y.OPS.showText)return!1;const i=e.iCurr-3,n=r[i][0],s=r[i][1];return r[t][0]===n&&r[t][1]===s;case 4:return a[t]===y.OPS.endText}throw new Error("iterateShowTextGroup - invalid pos: "+i)},function(e,t){var a=e.fnArray,r=e.argsArray,e=e.iCurr,i=e-4,n=e-3,s=e-2,o=e-1,l=r[n][0],c=r[n][1];let h=Math.min(Math.floor((t-i)/5),1e3);if(h<3)return t-(t-i)%5;let u=i,d=(4<=i&&a[i-4]===a[n]&&a[i-3]===a[s]&&a[i-2]===a[o]&&a[i-1]===a[e]&&r[i-4][0]===l&&r[i-4][1]===c&&(h++,u-=5),u+4);for(let e=1;e<h;e++)a.splice(d,3),r.splice(d,3),d+=2;return d+1});class i{constructor(e){this.queue=e}_optimize(){}push(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}flush(){}reset(){}}class n extends i{constructor(e){super(e),this.state=null,this.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray,isOffscreenCanvasSupported:!1},this.match=null,this.lastProcessed=0}set isOffscreenCanvasSupported(e){this.context.isOffscreenCanvasSupported=e}_optimize(){var e=this.queue.fnArray;let t=this.lastProcessed,a=e.length,r=this.state,i=this.match;if(r||i||t+1!==a||s[e[t]]){for(var n=this.context;t<a;){if(i){if((0,i.iterateFn)(n,t)){t++;continue}if(t=(0,i.processFn)(n,t+1),a=e.length,i=null,r=null,t>=a)break}(r=(r||s)[e[t]])&&!Array.isArray(r)?(n.iCurr=t,t++,r=((!r.checkFn||(0,r.checkFn)(n))&&(i=r),null)):t++}this.state=r,this.match=i,this.lastProcessed=t}else this.lastProcessed=a}flush(){for(;this.match;){var e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}}class o{static CHUNK_SIZE=1e3;static CHUNK_SIZE_ABOUT=this.CHUNK_SIZE-5;constructor(e=0,t){this._streamSink=t,this.fnArray=[],this.argsArray=[],!t||e&y.RenderingIntentFlag.OPLIST?this.optimizer=new i(this):this.optimizer=new n(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=t?null:Promise.resolve()}set isOffscreenCanvasSupported(e){this.optimizer.isOffscreenCanvasSupported=e}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(e,t){this.optimizer.push(e,t),this.weight++,this._streamSink&&(this.weight>=o.CHUNK_SIZE||this.weight>=o.CHUNK_SIZE_ABOUT&&(e===y.OPS.restore||e===y.OPS.endText))&&this.flush()}addImageOps(e,t,a){void 0!==a&&this.addOp(y.OPS.beginMarkedContentProps,["OC",a]),this.addOp(e,t),void 0!==a&&this.addOp(y.OPS.endMarkedContent,[])}addDependency(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(y.OPS.dependency,[e]))}addDependencies(e){for(const t of e)this.addDependency(t)}addOpList(a){if(a instanceof o){for(const e of a.dependencies)this.dependencies.add(e);for(let e=0,t=a.length;e<t;e++)this.addOp(a.fnArray[e],a.argsArray[e])}else(0,y.warn)('addOpList - ignoring invalid "opList" parameter.')}getIR(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}get _transfers(){const t=[],{argsArray:a,length:r}=this;for(let e=0;e<r;e++)switch(i[e]){case y.OPS.paintInlineImageXObject:case y.OPS.paintInlineImageXObjectGroup:case y.OPS.paintImageMaskXObject:const i=a[e][0];!i.cached&&i.data?.buffer instanceof ArrayBuffer&&t.push(i.data.buffer)}return t}flush(e=!1,t=null){this.optimizer.flush();var a=this.length;this._totalLength+=a,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:t,length:a},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}t.OperatorList=o},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFImage=void 0;var w=a(2),l=a(28),p=a(5),m=a(12),s=a(18),v=a(62),x=a(26),b=a(30),y=a(4);function f(e,t,a,r,i,n){var s=i*n,o=new(t<=8?Uint8Array:t<=16?Uint16Array:Uint32Array)(s),l=a/i,c=r/n;let h,u,d,f,g=0;var p=new Uint16Array(i),m=a;for(h=0;h<i;h++)p[h]=Math.floor(h*l);for(h=0;h<n;h++)for(d=Math.floor(h*c)*m,u=0;u<i;u++)f=d+p[u],o[g++]=e[f];return o}t.PDFImage=class S{constructor({xref:a,res:r,image:t,isInline:i=!1,smask:e=null,mask:n=null,isMask:s=!1,pdfFunctionFactory:o,localColorSpaceCache:l}){var c=(this.image=t).dict,h=c.get("F","Filter");let u;if(h instanceof y.Name)u=h.name;else if(Array.isArray(h)){const r=a.fetchIfRef(h[0]);r instanceof y.Name&&(u=r.name)}switch(u){case"JPXDecode":const a=new b.JpxImage;a.parseImageProperties(t.stream),t.stream.reset(),t.width=a.width,t.height=a.height,t.bitsPerComponent=a.bitsPerComponent,t.numComps=a.componentsCount;break;case"JBIG2Decode":t.bitsPerComponent=1,t.numComps=1}let d=c.get("W","Width"),f=c.get("H","Height");if(Number.isInteger(t.width)&&0<t.width&&Number.isInteger(t.height)&&0<t.height&&(t.width!==d||t.height!==f)&&((0,w.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),d=t.width,f=t.height),d<1||f<1)throw new w.FormatError(`Invalid image width: ${d} or height: `+f);this.width=d,this.height=f,this.interpolate=c.get("I","Interpolate"),this.imageMask=c.get("IM","ImageMask")||!1,this.matte=c.get("Matte")||!1;let g=t.bitsPerComponent;if(!g&&!(g=c.get("BPC","BitsPerComponent"))){if(!this.imageMask)throw new w.FormatError("Bits per component missing in image: "+this.imageMask);g=1}if(this.bpc=g,!this.imageMask){let e=c.getRaw("CS")||c.getRaw("ColorSpace");if(!e)switch((0,w.info)("JPX images (which do not require color spaces)"),t.numComps){case 1:e=y.Name.get("DeviceGray");break;case 3:e=y.Name.get("DeviceRGB");break;case 4:e=y.Name.get("DeviceCMYK");break;default:throw new Error(`JPX images with ${t.numComps} color components not supported.`)}this.colorSpace=m.ColorSpace.parse({cs:e,xref:a,resources:i?r:null,pdfFunctionFactory:o,localColorSpaceCache:l}),this.numComps=this.colorSpace.numComps}if(this.decode=c.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,g)||s&&!m.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const a=(1<<g)-1,r=(this.decodeCoefficients=[],this.decodeAddends=[],"Indexed"===this.colorSpace?.name);for(let e=0,t=0;e<this.decode.length;e+=2,++t){const i=this.decode[e],p=this.decode[e+1];this.decodeCoefficients[t]=r?(p-i)/a:p-i,this.decodeAddends[t]=r?i:a*i}}e?this.smask=new S({xref:a,res:r,image:e,isInline:i,pdfFunctionFactory:o,localColorSpaceCache:l}):n&&(n instanceof p.BaseStream?n.dict.get("IM","ImageMask")?this.mask=new S({xref:a,res:r,image:n,isInline:i,isMask:!0,pdfFunctionFactory:o,localColorSpaceCache:l}):(0,w.warn)("Ignoring /Mask in image without /ImageMask."):this.mask=n)}static async buildImage({xref:e,res:t,image:a,isInline:r=!1,pdfFunctionFactory:i,localColorSpaceCache:n}){var s=a;let o=null,l=null;var c=a.dict.get("SMask"),a=a.dict.get("Mask");return c?c instanceof p.BaseStream?o=c:(0,w.warn)("Unsupported /SMask format."):a&&(a instanceof p.BaseStream||Array.isArray(a)?l=a:(0,w.warn)("Unsupported /Mask format.")),new S({xref:e,res:t,image:s,isInline:r,smask:o,mask:l,pdfFunctionFactory:i,localColorSpaceCache:n})}static createRawMask({imgArray:e,width:t,height:a,imageIsFromDecodeStream:r,inverseDecode:i,interpolate:n}){var s=(t+7>>3)*a,o=e.byteLength;let l,c;if(!r||i&&s!==o?i?((l=new Uint8Array(s)).set(e),l.fill(255,o)):l=new Uint8Array(e):l=e,i)for(c=0;c<o;c++)l[c]^=255;return{data:l,width:t,height:a,interpolate:n}}static async createMask({imgArray:e,width:t,height:a,imageIsFromDecodeStream:r,inverseDecode:i,interpolate:n,isOffscreenCanvasSupported:s=!1}){const o=1===t&&1===a&&i===(0===e.length||!!(128&e[0]));if(o)return{isSingleOpaquePixel:o};if(s){if(v.ImageResizer.needsToBeResized(t,a)){const r=new Uint8ClampedArray(t*a*4);return(0,l.convertBlackAndWhiteToRGBA)({src:e,dest:r,width:t,height:a,nonBlackColor:0,inverseDecode:i}),v.ImageResizer.createImage({kind:w.ImageKind.RGBA_32BPP,data:r,width:t,height:a,interpolate:n})}const r=new OffscreenCanvas(t,a),s=r.getContext("2d"),o=s.createImageData(t,a);return(0,l.convertBlackAndWhiteToRGBA)({src:e,dest:o.data,width:t,height:a,nonBlackColor:0,inverseDecode:i}),s.putImageData(o,0,0),{data:null,width:t,height:a,interpolate:n,bitmap:r.transferToImageBitmap()}}return this.createRawMask({imgArray:e,width:t,height:a,inverseDecode:i,imageIsFromDecodeStream:r,interpolate:n})}get drawWidth(){return Math.max(this.width,this.smask?.width||0,this.mask?.width||0)}get drawHeight(){return Math.max(this.height,this.smask?.height||0,this.mask?.height||0)}decodeBuffer(a){var r,i,n,s,e=this.bpc,o=this.numComps,l=this.decodeAddends,c=this.decodeCoefficients,h=(1<<e)-1;let u,d;if(1===e)for(u=0,d=a.length;u<d;u++)a[u]=+!a[u];else{let t=0;for(u=0,d=this.width*this.height;u<d;u++)for(let e=0;e<o;e++)a[t]=(r=a[t],i=l[e],n=c[e],s=h,(r=i+r*n)<0?r=0:s<r&&(r=s),r),t++}}getComponents(i){var a=this.bpc;if(8===a)return i;const e=this.width,n=this.height,t=this.numComps,r=e*n*t;let s,o=0;s=new(a<=8?Uint8Array:a<=16?Uint16Array:Uint32Array)(r);var l=e*t,c=(1<<a)-1;let h,u,d=0;if(1===a){let t,a,r;for(let e=0;e<n;e++){for(a=d+(-8&l),r=d+l;d<a;)u=i[o++],s[d]=u>>7&1,s[d+1]=u>>6&1,s[d+2]=u>>5&1,s[d+3]=u>>4&1,s[d+4]=u>>3&1,s[d+5]=u>>2&1,s[d+6]=u>>1&1,s[d+7]=1&u,d+=8;if(d<r)for(u=i[o++],t=128;d<r;)s[d++]=+!!(u&t),t>>=1}}else{let t=0;for(u=0,d=0,h=r;d<h;++d){for(d%l==0&&(u=0,t=0);t<a;)u=u<<8|i[o++],t+=8;const n=t-a;let e=u>>n;e<0?e=0:e>c&&(e=c),s[d]=e,u&=(1<<n)-1,t=n}}return s}fillOpacity(t,e,a,r,i){var n=this.smask,s=this.mask;let o,l,c,h,u,d;if(n)l=n.width,c=n.height,o=new Uint8ClampedArray(l*c),n.fillGrayBuffer(o),l===e&&c===a||(o=f(o,n.bpc,l,c,e,a));else if(s)if(s instanceof S){for(l=s.width,c=s.height,o=new Uint8ClampedArray(l*c),s.numComps=1,s.fillGrayBuffer(o),h=0,u=l*c;h<u;++h)o[h]=255-o[h];l===e&&c===a||(o=f(o,s.bpc,l,c,e,a))}else{if(!Array.isArray(s))throw new w.FormatError("Unknown mask format.");{o=new Uint8ClampedArray(e*a);const t=this.numComps;for(h=0,u=e*a;h<u;++h){let e=0;const a=h*t;for(d=0;d<t;++d){const t=i[a+d],w=2*d;if(t<s[w]||t>s[1+w]){e=255;break}}o[h]=e}}}if(o)for(h=0,d=3,u=e*r;h<u;++h,d+=4)t[d]=o[h];else for(h=0,d=3,u=e*r;h<u;++h,d+=4)t[d]=255}undoPreblend(t,e,a){const r=this.smask?.matte;if(r){var i=this.colorSpace.getRgb(r,0),n=i[0],s=i[1],o=i[2],l=e*a*4;for(let e=0;e<l;e+=4){const a=t[e+3];if(0===a)t[e]=255,t[e+1]=255,t[e+2]=255;else{const r=255/a;t[e]=(t[e]-n)*r+n,t[e+1]=(t[e+1]-s)*r+s,t[e+2]=(t[e+2]-o)*r+o}}}}async createImageData(e=!1,a=!1){const r=this.drawWidth,i=this.drawHeight,n={width:r,height:i,interpolate:this.interpolate,kind:0,data:null},t=this.numComps,s=this.width,o=this.height,l=this.bpc,c=s*t*l+7>>3,h=a&&v.ImageResizer.needsToBeResized(r,i);if(!e){let e;if("DeviceGray"===this.colorSpace.name&&1===l?e=w.ImageKind.GRAYSCALE_1BPP:"DeviceRGB"!==this.colorSpace.name||8!==l||this.needsDecode||(e=w.ImageKind.RGB_24BPP),e&&!this.smask&&!this.mask&&r===s&&i===o){const t=this.getImageBytes(o*c,{});if(a)return h?v.ImageResizer.createImage({data:t,kind:e,width:r,height:i,interpolate:this.interpolate},this.needsDecode):this.createBitmap(e,s,o,t);if(n.kind=e,n.data=t,this.needsDecode){(0,w.assert)(e===w.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const a=n.data;for(let e=0,t=a.length;e<t;e++)a[e]^=255}return n}if(this.image instanceof x.JpegStream&&!this.smask&&!this.mask&&!this.needsDecode){let t=o*c;if(a&&!h){let e=!1;switch(this.colorSpace.name){case"DeviceGray":t*=4,e=!0;break;case"DeviceRGB":t=t/3*4,e=!0;break;case"DeviceCMYK":e=!0}if(e){const a=this.getImageBytes(t,{drawWidth:r,drawHeight:i,forceRGBA:!0});return this.createBitmap(w.ImageKind.RGBA_32BPP,r,i,a)}}else switch(this.colorSpace.name){case"DeviceGray":t*=3;case"DeviceRGB":case"DeviceCMYK":return n.kind=w.ImageKind.RGB_24BPP,n.data=this.getImageBytes(t,{drawWidth:r,drawHeight:i,forceRGB:!0}),h?v.ImageResizer.createImage(n):n}}}var u=0|(d=this.getImageBytes(o*c,{internal:!0})).length/c*i/o,d=this.getComponents(d);let f,g,p,m,b,y;return a&&!h&&(p=new OffscreenCanvas(r,i),m=p.getContext("2d"),b=m.createImageData(r,i),y=b.data),n.kind=w.ImageKind.RGBA_32BPP,e||this.smask||this.mask?(a&&!h||(y=new Uint8ClampedArray(r*i*4)),f=1,g=!0,this.fillOpacity(y,r,i,u,d)):(f=!a||h?(n.kind=w.ImageKind.RGB_24BPP,y=new Uint8ClampedArray(r*i*3),0):(new Uint32Array(y.buffer).fill(w.FeatureTest.isLittleEndian?4278190080:255),1),g=!1),this.needsDecode&&this.decodeBuffer(d),this.colorSpace.fillRgb(y,s,o,r,i,u,l,d,f),g&&this.undoPreblend(y,r,u),a&&!h?(m.putImageData(b,0,0),{data:null,width:r,height:i,bitmap:p.transferToImageBitmap(),interpolate:this.interpolate}):(n.data=y,h?v.ImageResizer.createImage(n):n)}fillGrayBuffer(e){if(1!==(i=this.numComps))throw new w.FormatError("Reading gray scale from a color image: "+i);var t=this.width,a=this.height,r=this.bpc,i=this.getImageBytes(a*(t*i*r+7>>3),{internal:!0}),n=this.getComponents(i);let s,o;if(1===r)if(o=t*a,this.needsDecode)for(s=0;s<o;++s)e[s]=n[s]-1&255;else for(s=0;s<o;++s)e[s]=255&-n[s];else{this.needsDecode&&this.decodeBuffer(n),o=t*a;var l=255/((1<<r)-1);for(s=0;s<o;++s)e[s]=l*n[s]}}createBitmap(e,t,a,r){var i=new OffscreenCanvas(t,a),n=i.getContext("2d");let s;return e===w.ImageKind.RGBA_32BPP?s=new ImageData(r,t,a):(s=n.createImageData(t,a),(0,l.convertToRGBA)({kind:e,src:r,dest:new Uint32Array(s.data.buffer),width:t,height:a,inverseDecode:this.needsDecode})),n.putImageData(s,0,0),{data:null,width:t,height:a,bitmap:i.transferToImageBitmap(),interpolate:this.interpolate}}getImageBytes(e,{drawWidth:t,drawHeight:a,forceRGBA:r=!1,forceRGB:i=!1,internal:n=!1}){return this.image.reset(),this.image.drawWidth=t||this.width,this.image.drawHeight=a||this.height,this.image.forceRGBA=!!r,this.image.forceRGB=!!i,t=this.image.getBytes(e),n||this.image instanceof s.DecodeStream?t:((0,w.assert)(t instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),new Uint8Array(t))}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.incrementalUpdate=async function({originalData:e,xrefInfo:t,newRefs:a,xref:r=null,hasXfa:i=!1,xfaDatasetsRef:n=null,hasXfaDatasetsEntry:s=!1,needAppearances:o,acroFormRef:l=null,acroForm:c=null,xfaData:h=null}){var{xref:u,acroForm:d,acroFormRef:c,hasXfa:l,hasXfaDatasetsEntry:s,xfaDatasetsRef:o,needAppearances:f,newRefs:g}={xref:r,acroForm:c,acroFormRef:l,hasXfa:i,hasXfaDatasetsEntry:s,xfaDatasetsRef:n,needAppearances:o,newRefs:a};if(!l||s||o||(0,A.warn)("XFA - Cannot save it"),f||l&&o){var p=new C.Dict(u);for(const u of d.getKeys())p.set(u,d.getRaw(u));if(l&&!s){const u=d.get("XFA").slice();u.splice(2,0,"datasets"),u.splice(3,0,o),p.set("XFA",u)}f&&p.set("NeedAppearances",!0);l=u.encrypt;let e=null;s=[];await T(c,p,s,e=l?l.createCipherTransform(c.num,c.gen):e),g.push({ref:c,data:s.join("")})}{var o,f,u,l;await 0,i&&({xfaData:o,xfaDatasetsRef:f,newRefs:u,xref:l}={xfaData:h,xfaDatasetsRef:n,newRefs:a,xref:r},null===o&&(o=function(e,t){var a=new O.SimpleXMLParser({hasAttributes:!0}).parseFromString(e);for(const{xfa:e}of t)if(e){const{path:t,value:i}=e;if(t){var r=(0,F.parseXFAPath)(t);let e=a.documentElement.searchNode(r,0);(e=!e&&1<r.length?a.documentElement.searchNode([r.at(-1)],0):e)?Array.isArray(i)?e.childNodes=i.map(e=>new O.SimpleDOMNode("value",e)):e.childNodes=[new O.SimpleDOMNode("#text",i)]:(0,A.warn)("Node not found for path: "+t)}}const i=[];return a.documentElement.dump(i),i.join("")}(l.fetchIfRef(f).getString(),u)),(l=l.encrypt)&&(o=l.createCipherTransform(f.num,f.gen).encryptString(o)),l=""+f.num+` ${f.gen} obj
|
|
1
|
+
System.register("@progress/kendo-react-pdf-viewer",["@progress/kendo-pdfviewer-common","@progress/kendo-react-buttons","@progress/kendo-react-common","@progress/kendo-react-data-tools","@progress/kendo-react-dropdowns","@progress/kendo-react-indicators","@progress/kendo-react-inputs","@progress/kendo-react-intl","@progress/kendo-react-upload","@progress/kendo-svg-icons","prop-types","react"],function(e,t){var s={},o={},l={},c={},h={},u={},d={},f={},g={},p={},m={},b={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(d,"__esModule",{value:!0}),Object.defineProperty(f,"__esModule",{value:!0}),Object.defineProperty(g,"__esModule",{value:!0}),Object.defineProperty(p,"__esModule",{value:!0}),Object.defineProperty(m,"__esModule",{value:!0}),Object.defineProperty(b,"__esModule",{value:!0}),{setters:[function(t){Object.keys(t).forEach(function(e){s[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){o[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){l[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){c[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){h[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){u[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){d[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){f[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){g[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){p[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){m[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){b[e]=t[e]})}],execute:function(){function r(e){var t=i[e];return void 0!==t||(t=i[e]={exports:{}},a[e](t,t.exports,r)),t.exports}var a,i,n;e((a={464:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFViewer=void 0;const fe=a(954),r=a(895),ge=a(536),pe=a(21),me=a(816),be=a(789),ye=a(445),we=a(142),ve=a(811),xe=a(987),Se=a(233),ke=(a(16),a(363)),Ae=a(490),Ce=a(3),i=["pager","spacer","zoomInOut","zoom","selection","spacer","search","open","download","print"],Fe={minZoom:.5,maxZoom:4,tools:[...i],zoomRate:.25,zoomLevels:[{id:1,priority:1,value:1,text:"Actual width",type:"ActualWidth",locationString:Ce.actualWidth},{id:2,priority:2,value:1,text:"Fit to width",type:"FitToWidth",locationString:Ce.fitToWidth},{id:3,priority:3,value:1,text:"Fit to page",type:"FitToPage",locationString:Ce.fitToPage},{id:4,priority:4,value:.5,text:"50%",type:""},{id:5,priority:5,value:.75,text:"75%",type:""},{id:6,priority:100,value:1,text:"100%",type:""},{id:7,priority:7,value:1.25,text:"125%",type:""},{id:8,priority:8,value:1.5,text:"150%",type:""},{id:9,priority:9,value:2,text:"200%",type:""},{id:10,priority:10,value:3,text:"300%",type:""},{id:11,priority:11,value:4,text:"400%",type:""}],defaultZoom:Ae.DEFAULT_ZOOM_LEVEL},Oe=[".k-toolbar > button",".k-toolbar .k-combobox > input",".k-toolbar .k-button-group > button",".k-toolbar .k-pager > a",".k-toolbar .k-pager input"],Ie=(e,t)=>e.priority>t.priority?-1:e.priority<t.priority?1:0;t.PDFViewer=fe.forwardRef((r,R)=>{(0,ve.validatePackage)(ke.packageMetadata);const L=(0,ve.shouldShowValidationUI)(ke.packageMetadata),{zoom:e,zoomLevels:t=Fe.zoomLevels,defaultZoom:a=Fe.defaultZoom,minZoom:i=Fe.minZoom,maxZoom:n=Fe.maxZoom,zoomRate:s=Fe.zoomRate}=r,o=(0,xe.useLocalization)(),l=fe.useRef(null),[_,c]=fe.useState(a),h=void 0!==e?e:_,u=t.slice().sort(Ie).find(e=>e.value===h)||{text:100*h+"%",value:h,id:h,locationString:""},[d,f]=(u.locationString&&(u.text=o.toLanguageString(u.locationString,Ce.messages[u.locationString])),fe.useState(!1)),[j,g]=fe.useState(!0),[p,m]=fe.useState(0),[b,y]=fe.useState(!1),[$,w]=fe.useState(!1),[v,x]=fe.useState(0),[S,k]=fe.useState(0),[A,C]=fe.useState(!1),[F,O]=fe.useState(""),I=fe.useMemo(()=>({}),[]),T=(I.currentZoom=h,I.props=r,fe.useCallback(e=>{l.current&&l.current.style.setProperty("--scale-factor",String(e))},[])),M=fe.useRef(null),P=fe.useRef(null),U=(fe.useImperativeHandle(M,()=>({element:P.current,props:r,pages:I.pages,document:I.document}),[]),fe.useImperativeHandle(R,()=>M.current),fe.useCallback(()=>{var e;I.props.onLoad&&(e={target:M.current},I.props.onLoad.call(void 0,e))},[])),E=fe.useCallback((e,t,a)=>{return!!r.onDownload&&!(e={target:M.current,blob:e,fileName:t,saveOptions:a})===r.onDownload.call(void 0,e)},[r.onDownload]),X=fe.useCallback(()=>{var e;I.scroller&&I.scroller.destroy(),I.scroller=new Ae.Scroller(null==(e=l.current)?void 0:e.parentNode,{filter:".k-page",events:{}}),I.scroller.enablePanEventsTracking()},[]),H=fe.useCallback(e=>{e=Array.from(e.querySelectorAll(".k-text-layer"));I.search=new Ae.SearchService({textContainers:e||[],highlightClass:"k-search-highlight",highlightMarkClass:"k-search-highlight-mark",charClass:"k-text-char"})},[]),N=(I.done=fe.useCallback(({pdfPages:e,pdfDoc:t,zoom:a})=>{I.document=t,I.pages=e,I.zoom=a,X(),g(!1),f(!0),U(),l.current&&(0,Ae.scrollToPage)(l.current,0)},[]),I.error=fe.useCallback(e=>{I.document=null,I.pages=[],g(!1),f(!1),r.onError&&(e={error:"string"==typeof e?{message:e}:e,target:M.current},r.onError.call(void 0,e))},[r.onError]),fe.useEffect(()=>{l.current&&(r.url||r.data||r.arrayBuffer?(g(!0),(0,Ae.removeChildren)(l.current),(0,Ae.loadPDF)({url:r.url,data:r.data,arrayBuffer:r.arrayBuffer,dom:l.current,zoom:I.currentZoom,done:I.done,error:I.error}),T(I.currentZoom)):(I.document=null,I.pages=[],f(!1),g(!1),(0,Ae.removeChildren)(l.current)))},[r.url,r.data,r.arrayBuffer]),fe.useCallback((e,t)=>{l.current&&(g(!0),(0,Ae.removeChildren)(l.current),(0,Ae.reloadDocument)({pdfDoc:e,zoom:t,dom:l.current,done:e=>{I.pages=e,I.zoom=t,g(!1)},error:I.error}))},[])),q=(fe.useEffect(()=>{T(h),l.current&&I.document&&h!==I.zoom&&N(I.document,h)},[h,N]),fe.useEffect(()=>()=>{I.scroller&&I.scroller.destroy(),I.search&&I.search.destroy(),I.document=null,I.pages=[]},[]),fe.useCallback(()=>{w(!0),H(l.current)},[])),z=fe.useCallback(e=>{var e=e.value,t=I.search.search({text:e,matchCase:A});k(t.length?1:0),x(t.length),O(e)},[A]),G=fe.useCallback(()=>{var e=I.search.search({text:F,matchCase:!A});k(e.length?1:0),x(e.length),C(!A)},[A,F]),W=fe.useCallback(()=>{(0,Ae.goToNextSearchMatch)(I),k(S+1>v?1:S+1)},[S,v]),V=fe.useCallback(()=>{(0,Ae.goToPreviousSearchMatch)(I),k(S-1<1?v:S-1)},[S,v]),B=fe.useCallback(()=>{I.search.destroy(),k(0),x(0),C(!1),O(""),w(!1)},[]),K=fe.useCallback(e=>{"Enter"===e.key?(e.preventDefault(),(0,Ae.goToNextSearchMatch)(I),k(S+1>v?1:S+1)):"Escape"===e.key&&B()},[S,v]),Y=fe.useCallback(e=>{var t;l.current&&(t=e.skip,(0,Ae.scrollToPage)(l.current,t),t={page:t+1,target:M.current,syntheticEvent:e.syntheticEvent},r.onPageChange)&&r.onPageChange.call(void 0,t),m(e.skip)},[p,r.onPageChange]),Z=fe.useCallback(e=>{var t;P.current&&(t=(0,Ae.currentPage)(P.current))!==p&&(m(t),t={page:t+1,target:M.current,syntheticEvent:e},r.onPageChange)&&r.onPageChange.call(void 0,t)},[p,r.onPageChange]),J=fe.useCallback(e=>{var t=Math.min(I.currentZoom+s,n);t!==I.currentZoom&&I.document&&(c(t),r.onZoom)&&(t={zoom:t,target:M.current,syntheticEvent:e},r.onZoom.call(void 0,t))},[s,n,r.onZoom]),Q=fe.useCallback(e=>{var t=Math.max(I.currentZoom-s,i);t!==I.currentZoom&&I.document&&(c(t),r.onZoom)&&(t={zoom:t,target:M.current,syntheticEvent:e},r.onZoom.call(void 0,t))},[s,i,r.onZoom]),ee=fe.useCallback(e=>{const t=null===e.value?{text:"100%",value:1,id:100}:Object.assign({},e.value);if(void 0===t.value){const r=parseFloat(t.text);"number"!=typeof r||Number.isNaN(r)?t.value=1:t.value=r/100}var a=t?(0,Ae.calculateZoomLevel)(t.value,t.type,I.currentZoom,l.current):1,a=Math.round(100*a)/100;if(I.currentZoom!==a&&I.document&&(c(a),r.onZoom)){const t={zoom:a,target:M.current,syntheticEvent:e.syntheticEvent};r.onZoom.call(void 0,t)}},[r.onZoom]),te=fe.useCallback(()=>{I.scroller.disablePanEventsTracking(),y(!0)},[]),ae=fe.useCallback(()=>{I.scroller.enablePanEventsTracking(),y(!1)},[]),re=fe.useCallback(()=>{(0,Ae.download)({pdf:I.document,error:I.error},r.saveFileName,r.saveOptions,E)},[r.url,r.data,r.arrayBuffer,r.saveFileName,r.saveOptions,E]),ie=fe.useCallback(()=>{g(!0),(0,Ae.print)(I.pages,()=>{g(!1)},e=>{I.error("string"==typeof(e?e.message||e:null)?e.message||e:o.toLanguageString(Ce.popupBlocked,Ce.messages[Ce.popupBlocked]))})},[]),ne=fe.useCallback(e=>{e=e.newState;e[0]&&e[0].getRawFile&&e[0].getRawFile().arrayBuffer().then(e=>{var t;l.current&&(g(!0),(0,Ae.removeChildren)(l.current),t=void 0===I.props.zoom?a:I.props.zoom,(0,Ae.loadPDF)({arrayBuffer:e,dom:l.current,zoom:t,done:I.done,error:I.error}),c(t))})},[a]),se=fe.useCallback(e=>{var t=e.target;if(t instanceof Element&&t.parentNode){const e=t.closest(".k-toolbar"),a=e&&e.querySelector(".k-upload input");a&&a.click()}},[]),D=j&&fe.createElement("div",{className:"k-loader-container k-loader-container-md k-loader-top"},fe.createElement("div",{className:"k-loader-container-overlay k-overlay-light"}),fe.createElement("div",{className:"k-loader-container-inner "},fe.createElement(we.Loader,{size:"large"}))),oe=fe.createElement(ge.ButtonGroup,null,fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.zoomOut,Ce.messages[Ce.zoomOut]),disabled:h<=i||!d,onClick:Q,icon:"zoom-out",svgIcon:Se.zoomOutIcon}),fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.zoomIn,Ce.messages[Ce.zoomIn]),disabled:h>=n||!d,onClick:J,icon:"zoom-in",svgIcon:Se.zoomInIcon})),le=fe.createElement(ye.ComboBox,{disabled:!d,data:t.map(e=>Object.assign(Object.assign({},e),{text:e.locationString?o.toLanguageString(e.locationString,Ce.messages[e.locationString]):e.text})),dataItemKey:"id",textField:"text",value:d?u:null,allowCustom:!0,onChange:ee}),ce={pager:fe.createElement(me.Pager,{previousNext:!0,type:"input",skip:p,take:1,total:I.pages?I.pages.length:0,info:!1,onPageChange:Y}),spacer:fe.createElement(ge.ToolbarSpacer,null),zoomInOut:oe,zoom:le,selection:fe.createElement(ge.ButtonGroup,null,fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.enableSelection,Ce.messages[Ce.enableSelection]),icon:"pointer",svgIcon:Se.pointerIcon,disabled:!d,togglable:!0,selected:b&&d,onClick:te}),fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.enablePanning,Ce.messages[Ce.enablePanning]),icon:"hand",svgIcon:Se.handIcon,disabled:!d,togglable:!0,selected:!b&&d,onClick:ae})),search:fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.search,Ce.messages[Ce.search]),icon:"search",svgIcon:Se.searchIcon,disabled:!d,onClick:q}),open:fe.createElement(fe.Fragment,null,fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.open,Ce.messages[Ce.open]),icon:"folder-open",svgIcon:Se.folderOpenIcon,onClick:se}),fe.createElement("div",{style:{display:"none"}},fe.createElement(be.Upload,{restrictions:{allowedExtensions:[".pdf"]},onAdd:ne,autoUpload:!1,defaultFiles:[],multiple:!1,accept:".pdf,.PDF",withCredentials:!1}))),download:fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.download,Ce.messages[Ce.download]),icon:"download",svgIcon:Se.downloadIcon,disabled:!d,onClick:re}),print:fe.createElement(ge.Button,{className:"k-toolbar-button",title:o.toLanguageString(Ce.print,Ce.messages[Ce.print]),icon:"print",svgIcon:Se.printIcon,disabled:!d,onClick:ie})},he=(r.tools||Fe.tools).map(e=>ce[e]),ue=fe.createElement(ge.Toolbar,{buttons:Oe},...he),de=fe.createElement("div",{className:(0,ve.classNames)("k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto",{"k-enable-text-select":b,"k-enable-panning":!b}),onScroll:Z},$&&fe.createElement("div",{className:"k-search-panel k-pos-sticky k-top-center"},fe.createElement(pe.TextBox,{value:F,onChange:z,placeholder:o.toLanguageString(Ce.search,Ce.messages[Ce.search]),autoFocus:!0,onKeyDown:K,suffix:()=>fe.createElement(pe.InputSuffix,null,fe.createElement(ge.Button,{icon:"convert-lowercase",svgIcon:Se.convertLowercaseIcon,title:o.toLanguageString(Ce.matchCase,Ce.messages[Ce.matchCase]),fillMode:"flat",togglable:!0,selected:A,onClick:G}))}),fe.createElement("span",{className:"k-search-matches"},fe.createElement("span",null,S)," of ",fe.createElement("span",null,v)),fe.createElement(ge.Button,{title:o.toLanguageString(Ce.prevMatch,Ce.messages[Ce.prevMatch]),fillMode:"flat",icon:"arrow-up",svgIcon:Se.arrowUpIcon,disabled:0===v,onClick:V}),fe.createElement(ge.Button,{title:o.toLanguageString(Ce.nextMatch,Ce.messages[Ce.nextMatch]),fillMode:"flat",icon:"arrow-down",svgIcon:Se.arrowDownIcon,disabled:0===v,onClick:W}),fe.createElement(ge.Button,{title:o.toLanguageString(Ce.close,Ce.messages[Ce.close]),fillMode:"flat",icon:"x",svgIcon:Se.xIcon,onClick:B})),fe.createElement("div",{ref:l,className:"k-pdf-viewer-pages"}));return fe.createElement("div",{className:"k-pdf-viewer",style:r.style,ref:P},r.onRenderLoader?r.onRenderLoader.call(void 0,D||null):D,r.onRenderToolbar?r.onRenderToolbar.call(void 0,ue):ue,r.onRenderContent?r.onRenderContent.call(void 0,de):de,L&&fe.createElement(ve.WatermarkOverlay,null))}),t.PDFViewer.displayName="KendoReactPDFViewer",t.PDFViewer.propTypes={url:r.string,data:r.string,arrayBuffer:r.any,typedArray:r.any,style:r.object,saveFileName:r.string,saveOptions:r.object,tools:r.arrayOf(r.oneOf(i).isRequired),zoomLevels:r.arrayOf(r.any),zoom:r.number,defaultZoom:r.number,minZoom:r.number,maxZoom:r.number,zoomRate:r.number,onError:r.func,onLoad:r.func,onDownload:r.func,onRenderToolbar:r.func,onRenderContent:r.func,onRenderLoader:r.func,onZoom:r.func},t.PDFViewer.defaultProps=Fe},3:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.popupBlocked=t.fitToPage=t.fitToWidth=t.actualWidth=t.nextMatch=t.prevMatch=t.matchCase=t.close=t.print=t.download=t.open=t.search=t.enablePanning=t.enableSelection=t.zoomOut=t.zoomIn=void 0,t.zoomIn="pdfviewer.zoomIn",t.zoomOut="pdfviewer.zoomOut",t.enableSelection="pdfviewer.enableSelection",t.enablePanning="pdfviewer.enablePanning",t.search="pdfviewer.search",t.open="pdfviewer.open",t.download="pdfviewer.download",t.print="pdfviewer.print",t.close="pdfviewer.close",t.matchCase="pdfviewer.matchCase",t.prevMatch="pdfviewer.prevMatch",t.nextMatch="pdfviewer.nextMatch",t.actualWidth="pdfviewer.actualWidth",t.fitToWidth="pdfviewer.fitToWidth",t.fitToPage="pdfviewer.fitToPage",t.popupBlocked="pdfviewer.popupBlocked",t.messages={[t.zoomIn]:"Zoom in",[t.zoomOut]:"Zoom out",[t.enableSelection]:"Enable selection",[t.enablePanning]:"Enable panning",[t.search]:"Search",[t.open]:"Open",[t.download]:"Download",[t.print]:"Print",[t.close]:"Close",[t.matchCase]:"Match case",[t.prevMatch]:"Previous match",[t.nextMatch]:"Next match",[t.actualWidth]:"Actual width",[t.fitToWidth]:"Fit to width",[t.fitToPage]:"Fit to page",[t.popupBlocked]:"Popup is blocked."}},363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-pdf-viewer",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1697041099,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},16:(e,t,a)=>{("undefined"!=typeof window?window:{}).pdfjsWorker=a(624)},624:e=>{globalThis,e.exports=(()=>(()=>{"use strict";var a=[,(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WorkerTask=t.WorkerMessageHandler=void 0;var b=a(2),y=a(3),w=a(4),v=a(6),x=a(72),S=a(66),r=a(103),k=a(104),A=a(105);class C{constructor(e){this.name=e,this.terminated=!1,this._capability=new b.PromiseCapability}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}t.WorkerTask=C;class i{static setup(t,a){let r=!1;t.on("test",function(e){r||(r=!0,t.send("test",e instanceof Uint8Array))}),t.on("configure",function(e){(0,b.setVerbosityLevel)(e.verbosity)}),t.on("GetDocRequest",function(e){return i.createDocumentHandler(e,a)})}static createDocumentHandler(n,e){let o,s=!1,d=null;const a=new Set,l=(0,b.getVerbosityLevel)(),{docId:f,apiVersion:t}=n,r="3.7.107";if(t!==r)throw new Error(`The API version "${t}" does not match the Worker version "${r}".`);var i=[];for(const n in[])i.push(n);if(i.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+i.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");var c=f+"_worker";let g=new k.MessageHandler(c,f,e);function p(){if(s)throw new Error("Worker was terminated")}function h(e){a.add(e)}function u(e){e.finish(),a.delete(e)}async function m(e){await o.ensureDoc("checkHeader"),await o.ensureDoc("parseStartXRef"),await o.ensureDoc("parse",[e]),await o.ensureDoc("checkFirstPage",[e]),await o.ensureDoc("checkLastPage",[e]);e=await o.ensureDoc("isPureXfa");if(e){const e=new C("loadXfaFonts");h(e),await Promise.all([o.loadXfaFonts(g,e).catch(e=>{}).then(()=>u(e)),o.loadXfaImages()])}var[t,a]=await Promise.all([o.ensureDoc("numPages"),o.ensureDoc("fingerprints")]);return{numPages:t,fingerprints:a,htmlForXfa:e?await o.ensureDoc("htmlForXfa"):null}}return g.on("GetPage",function(e){return o.getPage(e.pageIndex).then(function(e){return Promise.all([o.ensure(e,"rotate"),o.ensure(e,"ref"),o.ensure(e,"userUnit"),o.ensure(e,"view")]).then(function([e,t,a,r]){return{rotate:e,ref:t,userUnit:a,view:r}})})}),g.on("GetPageIndex",function(e){e=w.Ref.get(e.num,e.gen);return o.ensureCatalog("getPageIndex",[e])}),g.on("GetDestinations",function(e){return o.ensureCatalog("destinations")}),g.on("GetDestination",function(e){return o.ensureCatalog("getDestination",[e.id])}),g.on("GetPageLabels",function(e){return o.ensureCatalog("pageLabels")}),g.on("GetPageLayout",function(e){return o.ensureCatalog("pageLayout")}),g.on("GetPageMode",function(e){return o.ensureCatalog("pageMode")}),g.on("GetViewerPreferences",function(e){return o.ensureCatalog("viewerPreferences")}),g.on("GetOpenAction",function(e){return o.ensureCatalog("openAction")}),g.on("GetAttachments",function(e){return o.ensureCatalog("attachments")}),g.on("GetJavaScript",function(e){return o.ensureCatalog("javaScript")}),g.on("GetDocJSActions",function(e){return o.ensureCatalog("jsActions")}),g.on("GetPageJSActions",function({pageIndex:e}){return o.getPage(e).then(function(e){return o.ensure(e,"jsActions")})}),g.on("GetOutline",function(e){return o.ensureCatalog("documentOutline")}),g.on("GetOptionalContentConfig",function(e){return o.ensureCatalog("optionalContentConfig")}),g.on("GetPermissions",function(e){return o.ensureCatalog("permissions")}),g.on("GetMetadata",function(e){return Promise.all([o.ensureDoc("documentInfo"),o.ensureCatalog("metadata")])}),g.on("GetMarkInfo",function(e){return o.ensureCatalog("markInfo")}),g.on("GetData",function(e){return o.requestLoadedStream().then(function(e){return e.bytes})}),g.on("GetAnnotations",function({pageIndex:a,intent:r}){return o.getPage(a).then(function(e){const t=new C("GetAnnotations: page "+a);return h(t),e.getAnnotationsData(g,t,r).then(e=>(u(t),e),e=>{throw u(t),e})})}),g.on("GetFieldObjects",function(e){return o.ensureDoc("fieldObjects")}),g.on("HasJSActions",function(e){return o.ensureDoc("hasJSActions")}),g.on("GetCalculationOrderIds",function(e){return o.ensureDoc("calculationOrderIds")}),g.on("SaveDocument",function({isPureXfa:d,numPages:r,annotationStorage:i,filename:f}){var e=[o.requestLoadedStream(),o.ensureCatalog("acroForm"),o.ensureCatalog("acroFormRef"),o.ensureDoc("xref"),o.ensureDoc("startXRef")],t=d?null:(0,y.getNewAnnotationsMap)(i);if(t)for(const[d,r]of t)e.push(o.getPage(d).then(e=>{const t=new C("Save (editor): page "+d);return e.saveNewAnnotations(g,t,r).finally(function(){u(t)})}));if(d)e.push(o.serializeXfaData(i));else for(let a=0;a<r;a++)e.push(o.getPage(a).then(function(e){const t=new C("Save: page "+a);return e.save(g,t,i).finally(function(){u(t)})}));return Promise.all(e).then(function([e,t,a,r,i,...n]){let s=[],o=null;if(d){if(!(o=n[0]))return e.bytes}else if(0===(s=n.flat(2)).length)return e.bytes;var n=a&&t instanceof w.Dict&&s.some(e=>e.needAppearances),l=t instanceof w.Dict&&t.get("XFA")||null;let c=null,h=!1;if(Array.isArray(l)){for(let e=0,t=l.length;e<t;e+=2)"datasets"===l[e]&&(c=l[e+1],h=!0);null===c&&(c=r.getNewTemporaryRef())}else l&&(0,b.warn)("Unsupported XFA type.");let u=Object.create(null);if(r.trailer){const d=Object.create(null),e=r.trailer.get("Info")||null;e instanceof w.Dict&&e.forEach((e,t)=>{"string"==typeof t&&(d[e]=(0,b.stringToPDFString)(t))}),u={rootRef:r.trailer.getRaw("Root")||null,encryptRef:r.trailer.getRaw("Encrypt")||null,newRef:r.getNewTemporaryRef(),infoRef:r.trailer.getRaw("Info")||null,info:d,fileIds:r.trailer.get("ID")||null,startXRef:r.lastXRefStreamPos??i,filename:f}}try{return(0,S.incrementalUpdate)({originalData:e.bytes,xrefInfo:u,newRefs:s,xref:r,hasXfa:!!l,xfaDatasetsRef:c,hasXfaDatasetsEntry:h,needAppearances:n,acroFormRef:a,acroForm:t,xfaData:o})}finally{r.resetNewTemporaryRef()}})}),g.on("GetOperatorList",function(r,i){const n=r.pageIndex;o.getPage(n).then(function(e){const t=new C("GetOperatorList: page "+n),a=(h(t),l>=b.VerbosityLevel.INFOS?Date.now():0);e.getOperatorList({handler:g,sink:i,task:t,intent:r.intent,cacheKey:r.cacheKey,annotationStorage:r.annotationStorage}).then(function(e){u(t),a&&(0,b.info)(`page=${n+1} - getOperatorList: time=${Date.now()-a}ms, len=`+e.length),i.close()},function(e){u(t),t.terminated||i.error(e)})})}),g.on("GetTextContent",function(e,r){const{pageIndex:i,includeMarkedContent:n,disableNormalization:s}=e;o.getPage(i).then(function(e){const t=new C("GetTextContent: page "+i),a=(h(t),l>=b.VerbosityLevel.INFOS?Date.now():0);e.extractTextContent({handler:g,task:t,sink:r,includeMarkedContent:n,disableNormalization:s}).then(function(){u(t),a&&(0,b.info)(`page=${i+1} - getTextContent: time=`+(Date.now()-a)+"ms"),r.close()},function(e){u(t),t.terminated||r.error(e)})})}),g.on("GetStructTree",function(e){return o.getPage(e.pageIndex).then(function(e){return o.ensure(e,"getStructTree")})}),g.on("FontFallback",function(e){return o.fontFallback(e.id,g)}),g.on("Cleanup",function(e){return o.cleanup(!0)}),g.on("Terminate",function(e){s=!0;var t=[];if(o){o.terminate(new b.AbortException("Worker was terminated."));const e=o.cleanup();t.push(e),o=null}else(0,x.clearGlobalCaches)();d&&d(new b.AbortException("Worker was terminated."));for(const e of a)t.push(e.finished),e.terminate();return Promise.all(t).then(function(){g.destroy(),g=null})}),g.on("Ready",function(e){function t(e){p(),g.send("GetDoc",{pdfInfo:e})}function a(e){if(p(),e instanceof b.PasswordException){const t=new C("PasswordException: response "+e.code);h(t),g.sendWithPromise("PasswordRequest",e).then(function({password:e}){u(t),o.updatePassword(e),r()}).catch(function(){u(t),g.send("DocException",e)})}else e instanceof b.InvalidPDFException||e instanceof b.MissingPDFException||e instanceof b.UnexpectedResponseException||e instanceof b.UnknownErrorException?g.send("DocException",e):g.send("DocException",new b.UnknownErrorException(e.message,e.toString()))}function r(){p(),m(!1).then(t,function(e){p(),e instanceof y.XRefParseException?o.requestLoadedStream().then(function(){p(),m(!0).then(t,a)}):a(e)})}var i;i=n,p(),function({data:e,password:t,disableAutoFetch:a,rangeChunkSize:r,length:o,docBaseUrl:i,enableXfa:n,evaluatorOptions:s}){const l={source:null,disableAutoFetch:a,docBaseUrl:i,docId:f,enableXfa:n,evaluatorOptions:s,handler:g,length:o,password:t,rangeChunkSize:r},c=new b.PromiseCapability;let h;if(e)try{l.source=e,h=new v.LocalPdfManager(l),c.resolve(h)}catch(e){c.reject(e)}else{let t,n=[];try{t=new A.PDFWorkerStream(g)}catch(e){return c.reject(e),c.promise}const u=t.getFullReader();u.headersReady.then(function(){if(u.isRangeSupported){l.source=t,l.length=u.contentLength,l.disableAutoFetch||=u.isStreamingSupported,h=new v.NetworkPdfManager(l);for(const e of n)h.sendProgressiveData(e);n=[],c.resolve(h),d=null}}).catch(function(e){c.reject(e),d=null});let s=0;new Promise(function(e,r){const i=function({value:e,done:t}){try{if(p(),t){if(!h){var a=(0,y.arrayBuffersToBytes)(n);o&&a.length!==o&&(0,b.warn)("reported HTTP length is different from actual");try{l.source=a,h=new v.LocalPdfManager(l),c.resolve(h)}catch(a){c.reject(a)}n=[]}d=null}else s+=e.byteLength,u.isStreamingSupported||g.send("DocProgress",{loaded:s,total:Math.max(s,u.contentLength||0)}),h?h.sendProgressiveData(e):n.push(e),u.read().then(i,r)}catch(e){r(e)}};u.read().then(i,r)}).catch(function(e){c.reject(e),d=null}),d=function(e){t.cancelAllRequests(e)}}return c.promise}(i).then(function(e){if(s)throw e.terminate(new b.AbortException("Worker was terminated.")),new Error("Worker was terminated");(o=e).requestLoadedStream(!0).then(e=>{g.send("DataLoaded",{length:e.bytes.byteLength})})}).then(r,a),n=null}),c}static initializeFromPort(e){var t=new k.MessageHandler("worker","main",e);i.setup(t,e),t.send("ready",null)}}t.WorkerMessageHandler=i,"undefined"==typeof window&&!r.isNodeJS&&"undefined"!=typeof self&&"function"==typeof(a=self).postMessage&&"onmessage"in a&&i.initializeFromPort(self)},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.RenderingIntentFlag=t.PromiseCapability=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.MAX_IMAGE_SIZE_TO_CACHE=t.LINE_FACTOR=t.LINE_DESCENT_FACTOR=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FeatureTest=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.BASELINE_FACTOR=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationEditorType=t.AnnotationEditorPrefix=t.AnnotationEditorParamsType=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.assert=function(e,t){e||n(t)},t.bytesToString=function(t){"object"==typeof t&&void 0!==t?.length||n("Invalid argument for bytesToString");var a=t.length;if(a<8192)return String.fromCharCode.apply(null,t);var r=[];for(let e=0;e<a;e+=8192){const n=Math.min(e+8192,a),i=t.subarray(e,n);r.push(String.fromCharCode.apply(null,i))}return r.join("")},t.createValidAbsoluteUrl=function(e,t=null,a=null){if(e)try{if(a&&"string"==typeof e){if(a.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);2<=t?.length&&(e="http://"+e)}if(a.tryConvertEncoding)try{e=f(e)}catch(e){}}var r=t?new URL(e,t):new URL(e);if(function(){switch(r?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return 1;default:return}}())return r}catch(e){}return null},t.getModificationDate=function(e=new Date){return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")},t.getVerbosityLevel=function(){return r},t.info=function(e){r>=a.INFOS&&console.log("Info: "+e)},t.isArrayBuffer=function(e){return"object"==typeof e&&void 0!==e?.byteLength},t.isArrayEqual=function(a,r){if(a.length!==r.length)return!1;for(let e=0,t=a.length;e<t;e++)if(a[e]!==r[e])return!1;return!0},t.normalizeUnicode=function(e){return g||(g=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,p=new Map([["ſt","ſt"]])),e.replaceAll(g,(e,t,a)=>t?t.normalize("NFKC"):p.get(a))},t.objectFromMap=function(e){var t,a,r=Object.create(null);for([t,a]of e)r[t]=a;return r},t.objectSize=function(e){return Object.keys(e).length},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(r=e)},t.shadow=i,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=c,t.stringToPDFString=function(a){if("ï"<=a[0]){let e;if("þ"===a[0]&&"ÿ"===a[1]?e="utf-16be":"ÿ"===a[0]&&"þ"===a[1]?e="utf-16le":"ï"===a[0]&&"»"===a[1]&&"¿"===a[2]&&(e="utf-8"),e)try{var t=new TextDecoder(e,{fatal:!0}),r=c(a);return t.decode(r)}catch(a){s(`stringToPDFString: "${a}".`)}}var i=[];for(let e=0,t=a.length;e<t;e++){var n=d[a.charCodeAt(e)];i.push(n?String.fromCharCode(n):a.charAt(e))}return i.join("")},t.stringToUTF8String=f,t.unreachable=n,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=s,t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.MAX_IMAGE_SIZE_TO_CACHE=1e7,t.LINE_FACTOR=1.35,t.LINE_DESCENT_FACTOR=.35,t.BASELINE_FACTOR=.25925925925925924,t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},t.AnnotationEditorPrefix="pdfjs_internal_editor_",t.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},t.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"};const a={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=a,t.CMapCompressionType={NONE:0,BINARY:1},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let r=a.WARNINGS;function s(e){r>=a.WARNINGS&&console.log("Warning: "+e)}function n(e){throw new Error(e)}function i(e,t,a,r=!1){return Object.defineProperty(e,t,{value:a,enumerable:!r,configurable:!0,writable:!1}),a}l.prototype=new Error;var o=l.constructor=l;function l(e,t){this.constructor===l&&n("Cannot initialize BaseException."),this.message=e,this.name=t}function c(t){"string"!=typeof t&&n("Invalid argument for stringToBytes");var a=t.length,r=new Uint8Array(a);for(let e=0;e<a;++e)r[e]=255&t.charCodeAt(e);return r}t.BaseException=o,t.PasswordException=class extends o{constructor(e,t){super(e,"PasswordException"),this.code=t}},t.UnknownErrorException=class extends o{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}},t.InvalidPDFException=class extends o{constructor(e){super(e,"InvalidPDFException")}},t.MissingPDFException=class extends o{constructor(e){super(e,"MissingPDFException")}},t.UnexpectedResponseException=class extends o{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}},t.FormatError=class extends o{constructor(e){super(e,"FormatError")}},t.AbortException=class extends o{constructor(e){super(e,"AbortException")}},t.FeatureTest=class{static get isLittleEndian(){return i(this,"isLittleEndian",((e=new Uint8Array(4))[0]=1)===new Uint32Array(e.buffer,0,1)[0]);var e}static get isEvalSupported(){return i(this,"isEvalSupported",function(){try{return new Function(""),!0}catch(e){return!1}}())}static get isOffscreenCanvasSupported(){return i(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get platform(){return"undefined"==typeof navigator?i(this,"platform",{isWin:!1,isMac:!1}):i(this,"platform",{isWin:navigator.platform.includes("Win"),isMac:navigator.platform.includes("Mac")})}};const h=[...Array(256).keys()].map(e=>e.toString(16).padStart(2,"0"));class u{static makeHexColor(e,t,a){return"#"+h[e]+h[t]+h[a]}static scaleMinMax(e,t){let a;e[0]?(e[0]<0&&(a=t[0],t[0]=t[1],t[1]=a),t[0]*=e[0],t[1]*=e[0],e[3]<0&&(a=t[2],t[2]=t[3],t[3]=a),t[2]*=e[3],t[3]*=e[3]):(a=t[0],t[0]=t[2],t[2]=a,a=t[1],t[1]=t[3],t[3]=a,e[1]<0&&(a=t[2],t[2]=t[3],t[3]=a),t[2]*=e[1],t[3]*=e[1],e[2]<0&&(a=t[0],t[0]=t[1],t[1]=a),t[0]*=e[2],t[1]*=e[2]),t[0]+=e[4],t[1]+=e[4],t[2]+=e[5],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){var a=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/a,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/a]}static getAxialAlignedBoundingBox(e,t){var a=u.applyTransform(e,t),r=u.applyTransform(e.slice(2,4),t),i=u.applyTransform([e[0],e[3]],t),e=u.applyTransform([e[2],e[1]],t);return[Math.min(a[0],r[0],i[0],e[0]),Math.min(a[1],r[1],i[1],e[1]),Math.max(a[0],r[0],i[0],e[0]),Math.max(a[1],r[1],i[1],e[1])]}static inverseTransform(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){var t=[e[0],e[2],e[1],e[3]],a=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],e=e[2]*t[1]+e[3]*t[3],t=(a+e)/2,a=Math.sqrt((a+e)**2-4*(a*e-i*r))/2,e=t-a||1;return[Math.sqrt(t+a||1),Math.sqrt(e)]}static normalizeRect(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){var a,r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),i=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));return i<r||(a=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),(e=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3])))<a)?null:[r,a,i,e]}static bezierBoundingBox(t,a,r,i,n,s,o,l){var c=[],e=[[],[]];let h,u,d,f,g,p,m,b;for(let e=0;e<2;++e)if(d=0===e?(u=6*t-12*r+6*n,h=-3*t+9*r-9*n+3*o,3*r-3*t):(u=6*a-12*i+6*s,h=-3*a+9*i-9*s+3*l,3*i-3*a),Math.abs(h)<1e-12){if(Math.abs(u)<1e-12)continue;0<(f=-d/u)&&f<1&&c.push(f)}else m=u*u-4*d*h,b=Math.sqrt(m),m<0||(0<(g=(-u+b)/(2*h))&&g<1&&c.push(g),0<(p=(-u-b)/(2*h))&&p<1&&c.push(p));let y,w=c.length;for(var v=w;w--;)y=1-(f=c[w]),e[0][w]=y*y*y*t+3*y*y*f*r+3*y*f*f*n+f*f*f*o,e[1][w]=y*y*y*a+3*y*y*f*i+3*y*f*f*s+f*f*f*l;return e[0][v]=t,e[1][v]=a,e[0][v+1]=o,e[1][v+1]=l,e[0].length=e[1].length=v+2,[Math.min(...e[0]),Math.min(...e[1]),Math.max(...e[0]),Math.max(...e[1])]}}t.Util=u;const d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function f(e){return decodeURIComponent(escape(e))}t.PromiseCapability=class{#e=!1;constructor(){this.promise=new Promise((t,a)=>{this.resolve=e=>{this.#e=!0,t(e)},this.reject=e=>{this.#e=!0,a(e)}})}get settled(){return this.#e}};let g=null,p=null},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XRefParseException=t.XRefEntryException=t.ParserEOFException=t.PDF_VERSION_REGEXP=t.MissingDataException=void 0,t.arrayBuffersToBytes=function(t){const a=t.length;if(0===a)return new Uint8Array(0);if(1===a)return new Uint8Array(t[0]);let r=0;for(let e=0;e<a;e++)r+=t[e].byteLength;var i=new Uint8Array(r);let n=0;for(let e=0;e<a;e++){const a=new Uint8Array(t[e]);i.set(a,n),n+=a.byteLength}return i},t.collectActions=function(t,a,r){const i=Object.create(null),n=h({dict:a,key:"AA",stopWhenFound:!1});if(n)for(let e=n.length-1;0<=e;e--){const o=n[e];if(o instanceof l.Dict)for(const a of o.getKeys()){const n=r[a];var s;n&&(s=[],d(o.getRaw(a),t,s,new l.RefSet),0<s.length)&&(i[n]=s)}}if(a.has("A")){const r=[];d(a.get("A"),t,r,new l.RefSet),0<r.length&&(i.Action=r)}return 0<(0,o.objectSize)(i)?i:null},t.encodeToXmlString=function(a){var r=[];let i=0;for(let e=0,t=a.length;e<t;e++){var n,s=a.codePointAt(e);32<=s&&s<=126?(n=f[s])&&(i<e&&r.push(a.substring(i,e)),r.push(n),i=e+1):(i<e&&r.push(a.substring(i,e)),r.push(`&#x${s.toString(16).toUpperCase()};`),55295<s&&(s<57344||65533<s)&&e++,i=e+1)}return 0===r.length?a:(i<a.length&&r.push(a.substring(i,a.length)),r.join(""))},t.escapePDFName=function(a){var r=[];let i=0;for(let e=0,t=a.length;e<t;e++){var n=a.charCodeAt(e);(n<33||126<n||35===n||40===n||41===n||60===n||62===n||91===n||93===n||123===n||125===n||47===n||37===n)&&(i<e&&r.push(a.substring(i,e)),r.push("#"+n.toString(16)),i=e+1)}return 0===r.length?a:(i<a.length&&r.push(a.substring(i,a.length)),r.join(""))},t.escapeString=function(e){return e.replaceAll(/([()\\\n\r])/g,e=>"\n"===e?"\\n":"\r"===e?"\\r":"\\"+e)},t.getInheritableProperty=h,t.getLookupTableFactory=function(e){let t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.getNewAnnotationsMap=function(e){if(!e)return null;var t,a,r=new Map;for([t,a]of e)if(t.startsWith(o.AnnotationEditorPrefix)){let e=r.get(a.pageIndex);e||(e=[],r.set(a.pageIndex,e)),e.push(a)}return 0<r.size?r:null},t.getRotationMatrix=function(e,t,a){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,a];case 270:return[0,-1,1,0,0,a];default:throw new Error("Invalid rotation")}},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.isWhiteSpace=function(e){return 32===e||9===e||13===e||10===e},t.log2=function(e){return e<=0?0:Math.ceil(Math.log2(e))},t.numberToString=function(e){var t;return Number.isInteger(e)?e.toString():(t=Math.round(100*e))%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)},t.parseXFAPath=function(e){const a=/(.+)\[(\d+)\]$/;return e.split(".").map(e=>{var t=e.match(a);return t?{name:t[1],pos:parseInt(t[2],10)}:{name:e,pos:0}})},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.recoverJsURL=function(t){var a=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(t);if(a?.[2]){const t=a[2];let e=!1;return{url:t,newWindow:e="true"===a[3]&&"app.launchURL"===a[1]?!0:e}}return null},t.stringToUTF16HexString=function(a){var r=[];for(let e=0,t=a.length;e<t;e++){var i=a.charCodeAt(e);r.push((i>>8&255).toString(16).padStart(2,"0"),(255&i).toString(16).padStart(2,"0"))}return r.join("")},t.stringToUTF16String=function(a,e=!1){var r=[];e&&r.push("þÿ");for(let e=0,t=a.length;e<t;e++){var i=a.charCodeAt(e);r.push(String.fromCharCode(i>>8&255),String.fromCharCode(255&i))}return r.join("")},t.toRomanNumerals=function(e,t=!1){(0,o.assert)(Number.isInteger(e)&&0<e,"The number should be a positive integer.");for(var a=[];1e3<=e;)e-=1e3,a.push("M");r=e/100|0,e%=100,a.push(u[r]),r=e/10|0,e%=10,a.push(u[10+r]),a.push(u[20+e]);var r=a.join("");return t?r.toLowerCase():r},t.validateCSSFont=function(e){var t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:a,fontWeight:r,italicAngle:i}=e;return!!g(a,!0)&&(a=r?r.toString():"",e.fontWeight=t.has(a)?a:"400",r=parseFloat(i),e.italicAngle=isNaN(r)||r<-90||90<r?"14":i.toString(),!0)},t.validateFontName=g;var o=a(2),l=a(4),n=a(5);t.PDF_VERSION_REGEXP=/^[1-9]\.\d$/;class r extends o.BaseException{constructor(e,t){super(`Missing data [${e}, ${t})`,"MissingDataException"),this.begin=e,this.end=t}}t.MissingDataException=r;class i extends o.BaseException{constructor(e){super(e,"ParserEOFException")}}t.ParserEOFException=i;class s extends o.BaseException{constructor(e){super(e,"XRefEntryException")}}t.XRefEntryException=s;class c extends o.BaseException{constructor(e){super(e,"XRefParseException")}}function h({dict:e,key:t,getArray:a=!1,stopWhenFound:r=!0}){let i;for(var n=new l.RefSet;e instanceof l.Dict&&(!e.objId||!n.has(e.objId));){e.objId&&n.put(e.objId);const l=a?e.getArray(t):e.get(t);if(void 0!==l){if(r)return l;(i||=[]).push(l)}e=e.get("Parent")}return i}t.XRefParseException=c;const u=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function d(t,a,r,i){if(t){let e=null;if(t instanceof l.Ref){if(i.has(t))return;e=t,i.put(e),t=a.fetch(t)}if(Array.isArray(t))for(const o of t)d(o,a,r,i);else if(t instanceof l.Dict){if((0,l.isName)(t.get("S"),"JavaScript")){const a=t.get("JS");let e;a instanceof n.BaseStream?e=a.getString():"string"==typeof a&&(e=a),(e&&=(0,o.stringToPDFString)(e).replaceAll("\0",""))&&r.push(e)}d(t.getRaw("Next"),a,r,i)}e&&i.remove(e)}}const f={60:"<",62:">",38:"&",34:""",39:"'"};function g(e,t=!1){const a=/^("|').*("|')$/.exec(e);if(a&&a[1]===a[2]){if(new RegExp("[^\\\\]"+a[1]).test(e.slice(1,-1)))return t&&(0,o.warn)(`FontFamily contains unescaped ${a[1]}: ${e}.`),!1}else for(const a of e.split(/[ \t]+/))if(/^(\d|(-(\d|-)))/.test(a)||!/^[\w-\\]+$/.test(a))return t&&(0,o.warn)(`FontFamily contains invalid <custom-ident>: ${e}.`),!1;return!0}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RefSetCache=t.RefSet=t.Ref=t.Name=t.EOF=t.Dict=t.Cmd=t.CIRCULAR_REF=void 0,t.clearPrimitiveCaches=function(){i=Object.create(null),n=Object.create(null),s=Object.create(null)},t.isCmd=function(e,t){return e instanceof l&&(void 0===t||e.cmd===t)},t.isDict=function(e,t){return e instanceof h&&(void 0===t||g(e.get("Type"),t))},t.isName=g,t.isRefsEqual=function(e,t){return e.num===t.num&&e.gen===t.gen};var r=a(2),a=Symbol("CIRCULAR_REF"),a=(t.CIRCULAR_REF=a,Symbol("EOF"));t.EOF=a;let i=Object.create(null),n=Object.create(null),s=Object.create(null);class o{constructor(e){this.name=e}static get(e){return n[e]||=new o(e)}}t.Name=o;class l{constructor(e){this.cmd=e}static get(e){return i[e]||=new l(e)}}t.Cmd=l;const c=function(){return c};class h{constructor(e=null){this._map=Object.create(null),this.xref=e,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=c}assignXref(e){this.xref=e}get size(){return Object.keys(this._map).length}get(e,t,a){let r=this._map[e];return(r=void 0===r&&void 0!==t&&void 0===(r=this._map[t])&&void 0!==a?this._map[a]:r)instanceof u&&this.xref?this.xref.fetch(r,this.suppressEncryption):r}async getAsync(e,t,a){let r=this._map[e];return(r=void 0===r&&void 0!==t&&void 0===(r=this._map[t])&&void 0!==a?this._map[a]:r)instanceof u&&this.xref?this.xref.fetchAsync(r,this.suppressEncryption):r}getArray(e,t,a){let r=this._map[e];if((r=void 0===r&&void 0!==t&&void 0===(r=this._map[t])&&void 0!==a?this._map[a]:r)instanceof u&&this.xref&&(r=this.xref.fetch(r,this.suppressEncryption)),Array.isArray(r))for(let e=0,t=(r=r.slice()).length;e<t;e++)r[e]instanceof u&&this.xref&&(r[e]=this.xref.fetch(r[e],this.suppressEncryption));return r}getRaw(e){return this._map[e]}getKeys(){return Object.keys(this._map)}getRawValues(){return Object.values(this._map)}set(e,t){this._map[e]=t}has(e){return void 0!==this._map[e]}forEach(e){for(const t in this._map)e(t,this.get(t))}static get empty(){var e=new h(null);return e.set=(e,t)=>{(0,r.unreachable)("Should not call `set` on the empty dictionary.")},(0,r.shadow)(this,"empty",e)}static merge({xref:e,dictArray:t,mergeSubDicts:a=!1}){const r=new h(e),i=new Map;for(const e of t)if(e instanceof h)for(const[t,r]of Object.entries(e._map)){let e=i.get(t);if(void 0===e)e=[],i.set(t,e);else if(!(a&&r instanceof h))continue;e.push(r)}for(const[t,a]of i)if(1!==a.length&&a[0]instanceof h){const i=new h(e);for(const e of a)for(const[t,a]of Object.entries(e._map))void 0===i._map[t]&&(i._map[t]=a);0<i.size&&(r._map[t]=i)}else r._map[t]=a[0];return i.clear(),0<r.size?r:h.empty}}t.Dict=h;class u{constructor(e,t){this.num=e,this.gen=t}toString(){return 0===this.gen?this.num+"R":this.num+"R"+this.gen}static get(e,t){var a=0===t?e+"R":e+"R"+t;return s[a]||=new u(e,t)}}t.Ref=u;class d{constructor(e=null){this._set=new Set(e?._set)}has(e){return this._set.has(e.toString())}put(e){this._set.add(e.toString())}remove(e){this._set.delete(e.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}t.RefSet=d;class f{constructor(){this._map=new Map}get size(){return this._map.size}get(e){return this._map.get(e.toString())}has(e){return this._map.has(e.toString())}put(e,t){this._map.set(e.toString(),t)}putAlias(e,t){this._map.set(e.toString(),this.get(t))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}}function g(e,t){return e instanceof o&&(void 0===t||e.name===t)}t.RefSetCache=f},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStream=void 0;var r=a(2);t.BaseStream=class i{constructor(){this.constructor===i&&(0,r.unreachable)("Cannot initialize BaseStream.")}get length(){(0,r.unreachable)("Abstract getter `length` accessed")}get isEmpty(){(0,r.unreachable)("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return(0,r.shadow)(this,"isDataLoaded",!0)}getByte(){(0,r.unreachable)("Abstract method `getByte` called")}getBytes(e){(0,r.unreachable)("Abstract method `getBytes` called")}peekByte(){var e=this.getByte();return-1!==e&&this.pos--,e}peekBytes(e){return e=this.getBytes(e),this.pos-=e.length,e}getUint16(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}getByteRange(e,t){(0,r.unreachable)("Abstract method `getByteRange` called")}getString(e){return(0,r.bytesToString)(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){(0,r.unreachable)("Abstract method `reset` called")}moveStart(){(0,r.unreachable)("Abstract method `moveStart` called")}makeSubStream(e,t,a=0){(0,r.unreachable)("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkPdfManager=t.LocalPdfManager=void 0;var r=a(2),i=a(7),n=a(3),s=a(9),o=a(8);class l{constructor(e){this.constructor===l&&(0,r.unreachable)("Cannot initialize BasePdfManager."),this._docBaseUrl=function(e){if(e){var t=(0,r.createValidAbsoluteUrl)(e);if(t)return t.href;(0,r.warn)(`Invalid absolute docBaseUrl: "${e}".`)}return null}(e.docBaseUrl),this._docId=e.docId,this._password=e.password,this.enableXfa=e.enableXfa,e.evaluatorOptions.isOffscreenCanvasSupported&&=r.FeatureTest.isOffscreenCanvasSupported,this.evaluatorOptions=e.evaluatorOptions}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){var e=this.pdfDocument.catalog;return(0,r.shadow)(this,"docBaseUrl",e.baseUrl||this._docBaseUrl)}ensureDoc(e,t){return this.ensure(this.pdfDocument,e,t)}ensureXRef(e,t){return this.ensure(this.pdfDocument.xref,e,t)}ensureCatalog(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}getPage(e){return this.pdfDocument.getPage(e)}fontFallback(e,t){return this.pdfDocument.fontFallback(e,t)}loadXfaFonts(e,t){return this.pdfDocument.loadXfaFonts(e,t)}loadXfaImages(){return this.pdfDocument.loadXfaImages()}serializeXfaData(e){return this.pdfDocument.serializeXfaData(e)}cleanup(e=!1){return this.pdfDocument.cleanup(e)}async ensure(e,t,a){(0,r.unreachable)("Abstract method `ensure` called")}requestRange(e,t){(0,r.unreachable)("Abstract method `requestRange` called")}requestLoadedStream(e=0){(0,r.unreachable)("Abstract method `requestLoadedStream` called")}sendProgressiveData(e){(0,r.unreachable)("Abstract method `sendProgressiveData` called")}updatePassword(e){this._password=e}terminate(e){(0,r.unreachable)("Abstract method `terminate` called")}}t.LocalPdfManager=class extends l{constructor(e){super(e);e=new o.Stream(e.source);this.pdfDocument=new s.PDFDocument(this,e),this._loadedStreamPromise=Promise.resolve(e)}async ensure(e,t,a){t=e[t];return"function"==typeof t?t.apply(e,a):t}requestRange(e,t){return Promise.resolve()}requestLoadedStream(e=0){return this._loadedStreamPromise}terminate(e){}},t.NetworkPdfManager=class extends l{constructor(e){super(e),this.streamManager=new i.ChunkedStreamManager(e.source,{msgHandler:e.handler,length:e.length,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize}),this.pdfDocument=new s.PDFDocument(this,this.streamManager.getStream())}async ensure(t,a,r){try{var e=t[a];return"function"==typeof e?e.apply(t,r):e}catch(e){if(e instanceof n.MissingDataException)return await this.requestRange(e.begin,e.end),this.ensure(t,a,r);throw e}}requestRange(e,t){return this.streamManager.requestRange(e,t)}requestLoadedStream(e=!1){return this.streamManager.requestAllChunks(e)}sendProgressiveData(e){this.streamManager.onReceiveData({chunk:e})}terminate(e){this.streamManager.abort(e)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkedStreamManager=t.ChunkedStream=void 0;var l=a(3),n=a(2);class r extends a(8).Stream{constructor(e,t,a){super(new Uint8Array(e),0,e,null),this.chunkSize=t,this._loadedChunks=new Set,this.numChunks=Math.ceil(e/t),this.manager=a,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){var a=[];for(let e=0,t=this.numChunks;e<t;++e)this._loadedChunks.has(e)||a.push(e);return a}get numChunksLoaded(){return this._loadedChunks.size}get isDataLoaded(){return this.numChunksLoaded===this.numChunks}onReceiveData(e,t){var a=this.chunkSize;if(e%a!=0)throw new Error("Bad begin offset: "+e);var r=e+t.byteLength;if(r%a!=0&&r!==this.bytes.length)throw new Error("Bad end offset: "+r);this.bytes.set(new Uint8Array(t),e);var t=Math.floor(e/a),i=Math.floor((r-1)/a)+1;for(let e=t;e<i;++e)this._loadedChunks.add(e)}onReceiveProgressiveData(e){var t=this.progressiveDataLength,a=Math.floor(t/this.chunkSize),r=(this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,(this.progressiveDataLength=t)>=this.end?this.numChunks:Math.floor(t/this.chunkSize));for(let e=a;e<r;++e)this._loadedChunks.add(e)}ensureByte(e){if(!(e<this.progressiveDataLength)){var t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new l.MissingDataException(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}}ensureRange(t,a){if(!(a<=t||a<=this.progressiveDataLength)){var r=Math.floor(t/this.chunkSize);if(!(r>this.numChunks)){var i=Math.min(Math.floor((a-1)/this.chunkSize)+1,this.numChunks);for(let e=r;e<i;++e)if(!this._loadedChunks.has(e))throw new l.MissingDataException(t,a)}}}nextEmptyChunk(t){var a=this.numChunks;for(let e=0;e<a;++e){var r=(t+e)%a;if(!this._loadedChunks.has(r))return r}return null}hasChunk(e){return this._loadedChunks.has(e)}getByte(){var e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}getBytes(e){var t=this.bytes,a=this.pos,r=this.end;if(!e)return r>this.progressiveDataLength&&this.ensureRange(a,r),t.subarray(a,r);let i=a+e;return(i=i>r?r:i)>this.progressiveDataLength&&this.ensureRange(a,i),this.pos=i,t.subarray(a,i)}getByteRange(e,t){return e<0&&(e=0),(t=t>this.end?this.end:t)>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}makeSubStream(e,t,a=null){function r(){}t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e),(r.prototype=Object.create(this)).getMissingChunks=function(){var e=this.chunkSize,t=Math.floor(this.start/e),a=Math.floor((this.end-1)/e)+1,r=[];for(let e=t;e<a;++e)this._loadedChunks.has(e)||r.push(e);return r},Object.defineProperty(r.prototype,"isDataLoaded",{get(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var i=new r;return i.pos=i.start=e,i.end=e+t||this.end,i.dict=a,i}getBaseStreams(){return[this]}}t.ChunkedStream=r,t.ChunkedStreamManager=class{constructor(e,t){this.length=t.length,this.chunkSize=t.rangeChunkSize,this.stream=new r(this.length,this.chunkSize,this),this.pdfNetworkStream=e,this.disableAutoFetch=t.disableAutoFetch,this.msgHandler=t.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=new n.PromiseCapability}sendRequest(t,e){const n=this.pdfNetworkStream.getRangeReader(t,e);n.isStreamingSupported||(n.onProgress=this.onProgress.bind(this));let s=[],o=0;return new Promise((a,r)=>{const i=({value:e,done:t})=>{try{if(t){const r=(0,l.arrayBuffersToBytes)(s);s=null,void a(r)}else o+=e.byteLength,n.isStreamingSupported&&this.onProgress({loaded:o}),s.push(e),n.read().then(i,r)}catch(e){r(e)}};n.read().then(i,r)}).then(e=>{this.aborted||this.onReceiveData({chunk:e,begin:t})})}requestAllChunks(e=!1){if(!e){const e=this.stream.getMissingChunks();this._requestChunks(e)}return this._loadedStreamCapability.promise}_requestChunks(t){const a=this.currRequestId++,e=new Set;this._chunksNeededByRequest.set(a,e);for(const a of t)this.stream.hasChunk(a)||e.add(a);if(0===e.size)return Promise.resolve();var r=new n.PromiseCapability,i=(this._promisesByRequest.set(a,r),[]);for(const t of e){let e=this._requestsByChunk.get(t);e||(e=[],this._requestsByChunk.set(t,e),i.push(t)),e.push(a)}if(0<i.length){const t=this.groupChunks(i);for(const a of t){const t=a.beginChunk*this.chunkSize,e=Math.min(a.endChunk*this.chunkSize,this.length);this.sendRequest(t,e).catch(r.reject)}}return r.promise.catch(e=>{if(!this.aborted)throw e})}getStream(){return this.stream}requestRange(t,e){e=Math.min(e,this.length);var t=this.getBeginChunk(t),a=this.getEndChunk(e),r=[];for(let e=t;e<a;++e)r.push(e);return this._requestChunks(r)}requestRanges(t=[]){var a=[];for(const e of t){const t=this.getBeginChunk(e.begin),r=this.getEndChunk(e.end);for(let e=t;e<r;++e)a.includes(e)||a.push(e)}return a.sort(function(e,t){return e-t}),this._requestChunks(a)}groupChunks(a){var r=[];let i=-1,n=-1;for(let e=0,t=a.length;e<t;++e){var s=a[e];i<0&&(i=s),0<=n&&n+1!==s&&(r.push({beginChunk:i,endChunk:n+1}),i=s),e+1===a.length&&r.push({beginChunk:i,endChunk:s+1}),n=s}return r}onProgress(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}onReceiveData(e){const t=e.chunk,a=void 0===e.begin,r=a?this.progressiveDataLength:e.begin,i=r+t.byteLength,n=Math.floor(r/this.chunkSize),s=i<this.length?Math.floor(i/this.chunkSize):Math.ceil(i/this.chunkSize);a?(this.stream.onReceiveProgressiveData(t),this.progressiveDataLength=i):this.stream.onReceiveData(r,t),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);var o=[];for(let e=n;e<s;++e){const t=this._requestsByChunk.get(e);if(t){this._requestsByChunk.delete(e);for(const a of t){const t=this._chunksNeededByRequest.get(a);t.has(e)&&t.delete(e),0<t.size||o.push(a)}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){let e;if(1===this.stream.numChunksLoaded){const t=this.stream.numChunks-1;this.stream.hasChunk(t)||(e=t)}else e=this.stream.nextEmptyChunk(s);Number.isInteger(e)&&this._requestChunks([e])}for(const e of o){const t=this._promisesByRequest.get(e);this._promisesByRequest.delete(e),t.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(e){this._loadedStreamCapability.reject(e)}getBeginChunk(e){return Math.floor(e/this.chunkSize)}getEndChunk(e){return Math.floor((e-1)/this.chunkSize)+1}abort(e){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(e);for(const t of this._promisesByRequest.values())t.reject(e)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StringStream=t.Stream=t.NullStream=void 0;var r=a(5),i=a(2);class n extends r.BaseStream{constructor(e,t,a,r){super(),this.bytes=e instanceof Uint8Array?e:new Uint8Array(e),this.start=t||0,this.pos=this.start,this.end=t+a||this.bytes.length,this.dict=r}get length(){return this.end-this.start}get isEmpty(){return 0===this.length}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(e){var t=this.bytes,a=this.pos,r=this.end;if(!e)return t.subarray(a,r);let i=a+e;return i>r&&(i=r),this.pos=i,t.subarray(a,i)}getByteRange(e,t){return t>this.end&&(t=this.end),this.bytes.subarray(e=e<0?0:e,t)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(e,t,a=null){return new n(this.bytes.buffer,e,t,a)}}t.Stream=n,t.StringStream=class extends n{constructor(e){super((0,i.stringToBytes)(e))}},t.NullStream=class extends n{constructor(){super(new Uint8Array(0))}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Page=t.PDFDocument=void 0;var d=a(10),p=a(2),m=a(3),b=a(4),y=a(51),s=a(5),n=a(68),r=a(70),i=a(72),o=a(101),l=a(16),c=a(8),w=a(76),v=a(64),x=a(13),h=a(18),u=a(75),f=a(66),g=a(77),S=a(102);const k=[0,0,612,792];class A{constructor({pdfManager:e,xref:t,pageIndex:a,pageDict:r,ref:i,globalIdFactory:n,fontCache:s,builtInCMapCache:o,standardFontDataCache:l,globalImageCache:c,systemFontCache:h,nonBlendModesSet:u,xfaFactory:d}){this.pdfManager=e,this.pageIndex=a,this.pageDict=r,this.xref=t,this.ref=i,this.fontCache=s,this.builtInCMapCache=o,this.standardFontDataCache=l,this.globalImageCache=c,this.systemFontCache=h,this.nonBlendModesSet=u,this.evaluatorOptions=e.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=d;const f={obj:0};this._localIdFactory=class extends n{static createObjId(){return`p${a}_`+ ++f.obj}static getPageObjId(){return"p"+i.toString()}}}_getInheritableProperty(e,t=!1){e=(0,m.getInheritableProperty)({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(e)?1!==e.length&&e[0]instanceof b.Dict?b.Dict.merge({xref:this.xref,dictArray:e}):e[0]:e}get content(){return this.pageDict.getArray("Contents")}get resources(){var e=this._getInheritableProperty("Resources");return(0,p.shadow)(this,"resources",e instanceof b.Dict?e:b.Dict.empty)}_getBoundingBox(e){if(this.xfaData)return this.xfaData.bbox;var t=this._getInheritableProperty(e,!0);if(Array.isArray(t)&&4===t.length){if(0<(t=p.Util.normalizeRect(t))[2]-t[0]&&0<t[3]-t[1])return t;(0,p.warn)(`Empty, or invalid, /${e} entry.`)}return null}get mediaBox(){return(0,p.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||k)}get cropBox(){return(0,p.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){let e=this.pageDict.get("UserUnit");return("number"!=typeof e||e<=0)&&(e=1),(0,p.shadow)(this,"userUnit",e)}get view(){var{cropBox:e,mediaBox:t}=this;if(e!==t&&!(0,p.isArrayEqual)(e,t)){e=p.Util.intersect(e,t);if(e&&0<e[2]-e[0]&&0<e[3]-e[1])return(0,p.shadow)(this,"view",e);(0,p.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,p.shadow)(this,"view",t)}get rotate(){let e=this._getInheritableProperty("Rotate")||0;return e%90!=0?e=0:360<=e?e%=360:e<0&&(e=(e%360+360)%360),(0,p.shadow)(this,"rotate",e)}_onSubStreamError(e,t){if(!this.evaluatorOptions.ignoreErrors)throw e;(0,p.warn)(`getContentStream - ignoring sub-stream (${t}): "${e}".`)}getContentStream(){return this.pdfManager.ensure(this,"content").then(e=>e instanceof s.BaseStream?e:Array.isArray(e)?new h.StreamsSequenceStream(e,this._onSubStreamError.bind(this)):new c.NullStream)}get xfaData(){return(0,p.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async saveNewAnnotations(e,t,a){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");var e=new x.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),r=this.pageDict,i=this.annotations.slice(),t=await d.AnnotationFactory.saveNewAnnotations(e,t,a);for(const{ref:e}of t.annotations)i.push(e);e=r.get("Annots"),r.set("Annots",i),a=[];let n=null;this.xref.encrypt&&(n=this.xref.encrypt.createCipherTransform(this.ref.num,this.ref.gen)),await(0,f.writeObject)(this.ref,r,a,n),e&&r.set("Annots",e);r=t.dependencies;return r.push({ref:this.ref,data:a.join("")},...t.annotations),r}save(e,r,i){const n=new x.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions});return this._parsedAnnotations.then(function(e){var t=[];for(const a of e)a.mustBePrinted(i)&&t.push(a.save(n,r,i).catch(function(e){return(0,p.warn)(`save - ignoring annotation data during "${r.name}" task: "${e}".`),null}));return Promise.all(t).then(function(e){return e.filter(e=>!!e)})})}loadResources(e){return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(()=>new w.ObjectLoader(this.resources,e,this.xref).load())}getOperatorList({handler:a,sink:r,task:l,intent:c,cacheKey:i,annotationStorage:h=null}){const e=this.getContentStream(),t=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),u=new x.PartialEvaluator({xref:this.xref,handler:a,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),n=this.xfaFactory?null:(0,m.getNewAnnotationsMap)(h);let s=Promise.resolve(null);if(n){const a=n.get(this.pageIndex);a&&(s=d.AnnotationFactory.printNewAnnotations(u,l,a))}var o=Promise.all([e,t]).then(([e])=>{const t=new v.OperatorList(c,r);return a.send("StartRenderPage",{transparency:u.hasBlendModes(this.resources,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:i}),u.getOperatorList({stream:e,task:l,resources:this.resources,operatorList:t}).then(function(){return t})});return Promise.all([o,this._parsedAnnotations,s]).then(function([s,e,t]){if(0===(e=t?e.concat(t):e).length||c&p.RenderingIntentFlag.ANNOTATIONS_DISABLE)return s.flush(!0),{length:s.totalLength};var a=!!(c&p.RenderingIntentFlag.ANNOTATIONS_FORMS),r=!!(c&p.RenderingIntentFlag.ANY),i=!!(c&p.RenderingIntentFlag.DISPLAY),n=!!(c&p.RenderingIntentFlag.PRINT),o=[];for(const s of e)(r||i&&s.mustBeViewed(h)||n&&s.mustBePrinted(h))&&o.push(s.getOperatorList(u,l,c,a,h).catch(function(e){return(0,p.warn)(`getOperatorList - ignoring annotation data during "${l.name}" task: "${e}".`),{opList:null,separateForm:!1,separateCanvas:!1}}));return Promise.all(o).then(function(e){let t=!1,a=!1;for(var{opList:r,separateForm:i,separateCanvas:n}of e)s.addOpList(r),t||=i,a||=n;return s.flush(!0,{form:t,canvas:a}),{length:s.totalLength}})})}extractTextContent({handler:t,task:a,includeMarkedContent:r,disableNormalization:i,sink:n}){var e=this.getContentStream(),s=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([e,s]).then(([e])=>new x.PartialEvaluator({xref:this.xref,handler:t,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}).getTextContent({stream:e,task:a,resources:this.resources,includeMarkedContent:r,disableNormalization:i,sink:n,viewBox:this.view}))}async getStructTree(){var e=await this.pdfManager.ensureCatalog("structTreeRoot");return e?(await this.pdfManager.ensure(this,"_parseStructTree",[e])).serializable:null}_parseStructTree(e){e=new u.StructTreePage(e,this.pageDict);return e.parse(),e}async getAnnotationsData(e,t,a){const r=await this._parsedAnnotations;if(0===r.length)return[];var i=[],n=[];let s;var o=!!(a&p.RenderingIntentFlag.ANY),l=!!(a&p.RenderingIntentFlag.DISPLAY),c=!!(a&p.RenderingIntentFlag.PRINT);for(const a of r){const r=o||l&&a.viewable;(r||c&&a.printable)&&i.push(a.data),a.hasTextContent&&r&&(s||=new x.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,systemFontCache:this.systemFontCache,options:this.evaluatorOptions}),n.push(a.extractTextContent(s,t,[-1/0,-1/0,1/0,1/0]).catch(function(e){(0,p.warn)(`getAnnotationsData - ignoring textContent during "${t.name}" task: "${e}".`)})))}return await Promise.all(n),i}get annotations(){var e=this._getInheritableProperty("Annots");return(0,p.shadow)(this,"annotations",Array.isArray(e)?e:[])}get _parsedAnnotations(){var e=this.pdfManager.ensure(this,"annotations").then(()=>{var e=[];for(const t of this.annotations)e.push(d.AnnotationFactory.create(this.xref,t,this.pdfManager,this._localIdFactory,!1).catch(function(e){return(0,p.warn)(`_parsedAnnotations: "${e}".`),null}));return Promise.all(e).then(function(e){if(0===e.length)return e;var t=[];let a;for(const r of e)r&&(r instanceof d.PopupAnnotation?a||=[]:t).push(r);return a&&t.push(...a),t})});return(0,p.shadow)(this,"_parsedAnnotations",e)}get jsActions(){var e=(0,m.collectActions)(this.xref,this.pageDict,p.PageActionEventType);return(0,p.shadow)(this,"jsActions",e)}}t.Page=A;const C=new Uint8Array([37,80,68,70,45]),F=new Uint8Array([115,116,97,114,116,120,114,101,102]),O=new Uint8Array([101,110,100,111,98,106]);function I(a,r,i=1024,e=!1){var n=r.length,s=a.peekBytes(i),o=s.length-n;if(!(o<=0))if(e){const i=n-1;let t=s.length-1;for(;t>=i;){let e=0;for(;e<n&&s[t-e]===r[i-e];)e++;if(e>=n)return a.pos+=t-i,!0;t--}}else{let t=0;for(;t<=o;){let e=0;for(;e<n&&s[t+e]===r[e];)e++;if(e>=n)return a.pos+=t,!0;t++}}return!1}t.PDFDocument=class{constructor(e,t){if(t.length<=0)throw new p.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=e,this.stream=t,this.xref=new S.XRef(t,e),this._pagePromises=new Map,this._version=null;const a={font:0};this._globalIdFactory=class{static getDocId(){return"g_"+e.docId}static createFontId(){return"f"+ ++a.font}static createObjId(){(0,p.unreachable)("Abstract method `createObjId` called.")}static getPageObjId(){(0,p.unreachable)("Abstract method `getPageObjId` called.")}}}parse(e){this.xref.parse(e),this.catalog=new r.Catalog(this.pdfManager,this.xref)}get linearization(){let e=null;try{e=l.Linearization.create(this.stream)}catch(e){if(e instanceof m.MissingDataException)throw e;(0,p.info)(e)}return(0,p.shadow)(this,"linearization",e)}get startXRef(){var a=this.stream;let r=0;if(this.linearization)a.reset(),I(a,O)&&(r=a.pos+6-a.start);else{var i=F.length;let e=!1,t=a.end;for(;!e&&0<t;)(t-=1024-i)<0&&(t=0),a.pos=t,e=I(a,F,1024,!0);if(e){let e;for(a.skip(9);e=a.getByte(),(0,m.isWhiteSpace)(e););let t="";for(;32<=e&&e<=57;)t+=String.fromCharCode(e),e=a.getByte();r=parseInt(t,10),isNaN(r)&&(r=0)}}return(0,p.shadow)(this,"startXRef",r)}checkHeader(){var a=this.stream;if(a.reset(),I(a,C)){a.moveStart(),a.skip(C.length);let e,t="";for(;32<(e=a.getByte())&&t.length<7;)t+=String.fromCharCode(e);m.PDF_VERSION_REGEXP.test(t)?this._version=t:(0,p.warn)("Invalid PDF header version: "+t)}}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){var e=this.catalog.hasActualNumPages?this.catalog.numPages:this.xfaFactory?this.xfaFactory.getNumPages():(this.linearization||this.catalog).numPages;return(0,p.shadow)(this,"numPages",e)}_hasOnlyDocumentSignatures(e,a=0){return!!Array.isArray(e)&&e.every(e=>{var t;return(e=this.xref.fetchIfRef(e))instanceof b.Dict&&(e.has("Kids")?10<++a?((0,p.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):this._hasOnlyDocumentSignatures(e.get("Kids"),a):(t=(0,b.isName)(e.get("FT"),"Sig"),e=e.get("Rect"),e=Array.isArray(e)&&e.every(e=>0===e),t&&e))})}get _xfaStreams(){var e=this.catalog.acroForm;if(!e)return null;var a=e.get("XFA"),r={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(a instanceof s.BaseStream&&!a.isEmpty)r["xdp:xdp"]=a;else{if(!Array.isArray(a)||0===a.length)return null;for(let e=0,t=a.length;e<t;e+=2){var i,n=0===e?"xdp:xdp":e===t-2?"/xdp:xdp":a[e];r.hasOwnProperty(n)&&((i=this.xref.fetchIfRef(a[e+1]))instanceof s.BaseStream&&!i.isEmpty&&(r[n]=i))}}return r}get xfaDatasets(){const e=this._xfaStreams;if(e)for(const a of["datasets","xdp:xdp"]){var t=e[a];if(t)try{const e={[a]:(0,p.stringToUTF8String)(t.getString())};return(0,p.shadow)(this,"xfaDatasets",new o.DatasetReader(e))}catch(e){(0,p.warn)("XFA - Invalid utf-8 string.");break}}return(0,p.shadow)(this,"xfaDatasets",null)}get xfaData(){var e=this._xfaStreams;if(!e)return null;var t,a,r=Object.create(null);for([t,a]of Object.entries(e))if(a)try{r[t]=(0,p.stringToUTF8String)(a.getString())}catch(e){return(0,p.warn)("XFA - Invalid utf-8 string."),null}return r}get xfaFactory(){let e;return this.pdfManager.enableXfa&&this.catalog.needsRendering&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm&&(e=this.xfaData),(0,p.shadow)(this,"xfaFactory",e?new g.XFAFactory(e):null)}get isPureXfa(){return!!this.xfaFactory&&this.xfaFactory.isValid()}get htmlForXfa(){return this.xfaFactory?this.xfaFactory.getPages():null}async loadXfaImages(){var e=await this.pdfManager.ensureCatalog("xfaImages");if(e){const a=e.getKeys(),r=new w.ObjectLoader(e,a,this.xref);await r.load();var t=new Map;for(const r of a){const a=e.get(r);a instanceof s.BaseStream&&t.set(r,a.getBytes())}this.xfaFactory.setImages(t)}}async loadXfaFonts(t,a){const e=await this.pdfManager.ensureCatalog("acroForm");if(e){var r=await e.getAsync("DR");if(r instanceof b.Dict){const l=new w.ObjectLoader(r,["Font"],this.xref),c=(await l.load(),r.get("Font"));if(c instanceof b.Dict){var i=Object.assign(Object.create(null),this.pdfManager.evaluatorOptions);i.useSystemFonts=!1;const h=new x.PartialEvaluator({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache,standardFontDataCache:this.catalog.standardFontDataCache,options:i}),u=new v.OperatorList,d=[],f={get font(){return d.at(-1)},set font(e){d.push(e)},clone(){return this}},g=new Map;c.forEach((e,t)=>{g.set(e,t)});var n=[];for(const[t,e]of g){const y=e.get("FontDescriptor");if(y instanceof b.Dict){let e=y.get("FontFamily");const c={fontFamily:e=e.replaceAll(/[ ]+(\d)/g,"$1"),fontWeight:y.get("FontWeight"),italicAngle:-y.get("ItalicAngle")};(0,m.validateCSSFont)(c)&&n.push(h.handleSetFont(r,[b.Name.get(t),1],null,u,a,f,null,c).catch(function(e){return(0,p.warn)(`loadXfaFonts: "${e}".`),null}))}}await Promise.all(n);var s=this.xfaFactory.setFonts(d);if(s){i.ignoreErrors=!0,n.length=0,d.length=0;var o=new Set;for(const t of s)(0,y.getXfaFontName)(t+"-Regular")||o.add(t);o.size&&s.push("PdfJS-Fallback");for(const t of s)if(!o.has(t))for(const e of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const m=t+"-"+e.name,l=(0,y.getXfaFontDict)(m);n.push(h.handleSetFont(r,[b.Name.get(m),1],null,u,a,f,l,{fontFamily:t,fontWeight:e.fontWeight,italicAngle:e.italicAngle}).catch(function(e){return(0,p.warn)(`loadXfaFonts: "${e}".`),null}))}await Promise.all(n),this.xfaFactory.appendFonts(d,o)}}}}}async serializeXfaData(e){return this.xfaFactory?this.xfaFactory.serializeData(e):null}get version(){return this.catalog.version||this._version}get formInfo(){var e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},t=this.catalog.acroForm;if(t)try{var a=t.get("Fields"),r=Array.isArray(a)&&0<a.length;e.hasFields=r;const p=t.get("XFA"),m=(e.hasXfa=Array.isArray(p)&&0<p.length||p instanceof s.BaseStream&&!p.isEmpty,!!(1&t.get("SigFlags"))),i=m&&this._hasOnlyDocumentSignatures(a);e.hasAcroForm=r&&!i,e.hasSignatures=m}catch(e){if(e instanceof m.MissingDataException)throw e;(0,p.warn)(`Cannot fetch form information: "${e}".`)}return(0,p.shadow)(this,"formInfo",e)}get documentInfo(){var t={PDFFormatVersion:this.version,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};let e;try{e=this.xref.trailer.get("Info")}catch(t){if(t instanceof m.MissingDataException)throw t;(0,p.info)("The document information dictionary is invalid.")}if(e instanceof b.Dict)for(const r of e.getKeys()){var a=e.get(r);switch(r){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if("string"!=typeof a)break;t[r]=(0,p.stringToPDFString)(a);continue;case"Trapped":if(a instanceof b.Name){t[r]=a;continue}break;default:let e;switch(typeof a){case"string":e=(0,p.stringToPDFString)(a);break;case"number":case"boolean":e=a;break;default:a instanceof b.Name&&(e=a)}if(void 0===e){(0,p.warn)(`Bad value, for custom key "${r}", in Info: ${a}.`);continue}t.Custom||(t.Custom=Object.create(null)),t.Custom[r]=e;continue}(0,p.warn)(`Bad value, for key "${r}", in Info: ${a}.`)}return(0,p.shadow)(this,"documentInfo",t)}get fingerprints(){function e(e){return"string"==typeof e&&0<e.length&&"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"!==e}function t(e){var t=[];for(const a of e){const e=a.toString(16);t.push(e.padStart(2,"0"))}return t.join("")}var a=this.xref.trailer.get("ID");let r,i;return Array.isArray(a)&&e(a[0])?(r=(0,p.stringToBytes)(a[0]),a[1]!==a[0]&&e(a[1])&&(i=(0,p.stringToBytes)(a[1]))):r=(0,n.calculateMD5)(this.stream.getByteRange(0,1024),0,1024),(0,p.shadow)(this,"fingerprints",[t(r),i?t(i):null])}async _getLinearizationPage(t){var{catalog:a,linearization:e,xref:r}=this,i=b.Ref.get(e.objectNumberFirst,0);try{const t=await r.fetchAsync(i);if(t instanceof b.Dict){let e=t.getRaw("Type");if(e instanceof b.Ref&&(e=await r.fetchAsync(e)),(0,b.isName)(e,"Page")||!t.has("Type")&&!t.has("Kids"))return a.pageKidsCountCache.has(i)||a.pageKidsCountCache.put(i,1),a.pageIndexCache.has(i)||a.pageIndexCache.put(i,0),[t,i]}throw new p.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary.")}catch(e){return(0,p.warn)(`_getLinearizationPage: "${e.message}".`),a.getPageDict(t)}}getPage(a){var e=this._pagePromises.get(a);if(e)return e;const{catalog:r,linearization:t,xfaFactory:i}=this;let n;return n=(n=i?Promise.resolve([b.Dict.empty,null]):t?.pageFirst===a?this._getLinearizationPage(a):r.getPageDict(a)).then(([e,t])=>new A({pdfManager:this.pdfManager,xref:this.xref,pageIndex:a,pageDict:e,ref:t,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,systemFontCache:r.systemFontCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:i})),this._pagePromises.set(a,n),n}async checkFirstPage(e=!1){if(!e)try{await this.getPage(0)}catch(e){if(e instanceof m.XRefEntryException)throw this._pagePromises.delete(0),await this.cleanup(),new m.XRefParseException}}async checkLastPage(a=!1){var{catalog:r,pdfManager:i}=this;let n;r.setActualNumPages();try{if(await Promise.all([i.ensureDoc("xfaFactory"),i.ensureDoc("linearization"),i.ensureCatalog("numPages")]),!this.xfaFactory){if(n=(this.linearization||r).numPages,!Number.isInteger(n))throw new p.FormatError("Page count is not an integer.");n<=1||await this.getPage(n-1)}}catch(e){if(this._pagePromises.delete(n-1),await this.cleanup(),e instanceof m.XRefEntryException&&!a)throw new m.XRefParseException;let t;(0,p.warn)(`checkLastPage - invalid /Pages tree /Count: ${n}.`);try{t=await r.getAllPageDicts(a)}catch(i){if(i instanceof m.XRefEntryException&&!a)throw new m.XRefParseException;return void r.setActualNumPages(1)}for(const[a,[n,p]]of t){let e;n instanceof Error?(e=Promise.reject(n)).catch(()=>{}):e=Promise.resolve(new A({pdfManager:i,xref:this.xref,pageIndex:a,pageDict:n,ref:p,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,standardFontDataCache:r.standardFontDataCache,globalImageCache:r.globalImageCache,systemFontCache:r.systemFontCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(a,e)}r.setActualNumPages(t.size)}}fontFallback(e,t){return this.catalog.fontFallback(e,t)}async cleanup(e=!1){return this.catalog?this.catalog.cleanup(e):(0,i.clearGlobalCaches)()}_collectFieldObjects(e,t,a){var r=this.xref.fetchIfRef(t);if(r.has("T")){const t=(0,p.stringToPDFString)(r.get("T"));e=""===e?t:e+"."+t}if(a.has(e)||a.set(e,[]),a.get(e).push(d.AnnotationFactory.create(this.xref,t,this.pdfManager,this._localIdFactory,!0).then(e=>e?.getFieldObject()).catch(function(e){return(0,p.warn)(`_collectFieldObjects: "${e}".`),null})),r.has("Kids")){const t=r.get("Kids");for(const d of t)this._collectFieldObjects(e,d,a)}}get fieldObjects(){if(!this.formInfo.hasFields)return(0,p.shadow)(this,"fieldObjects",Promise.resolve(null));const t=Object.create(null),e=new Map;for(const t of this.catalog.acroForm.get("Fields"))this._collectFieldObjects("",t,e);var a=[];for(const[r,p]of e)a.push(Promise.all(p).then(e=>{0<(e=e.filter(e=>!!e)).length&&(t[r]=e)}));return(0,p.shadow)(this,"fieldObjects",Promise.all(a).then(()=>t))}get hasJSActions(){var e=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,p.shadow)(this,"hasJSActions",e)}async _parseHasJSActions(){var[e,t]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return!!e||!!t&&Object.values(t).some(e=>e.some(e=>null!==e.actions))}get calculationOrderIds(){const e=this.catalog.acroForm;if(!e?.has("CO"))return(0,p.shadow)(this,"calculationOrderIds",null);var t=e.get("CO");if(!Array.isArray(t)||0===t.length)return(0,p.shadow)(this,"calculationOrderIds",null);var a=[];for(const e of t)e instanceof b.Ref&&a.push(e.toString());return 0===a.length?(0,p.shadow)(this,"calculationOrderIds",null):(0,p.shadow)(this,"calculationOrderIds",a)}}},(R,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PopupAnnotation=e.MarkupAnnotation=e.AnnotationFactory=e.AnnotationBorderStyle=e.Annotation=void 0,e.getQuadPoints=c;var S=t(2),k=t(3),A=t(11),C=t(4),g=t(66),i=t(5),a=t(60),r=t(70),n=t(12),s=t(73),o=t(76),d=t(64),F=t(8),l=t(77);function f(e,t=new Uint8ClampedArray(3)){if(!Array.isArray(e))return t;var a=t||new Uint8ClampedArray(3);switch(e.length){case 0:return null;case 1:return n.ColorSpace.singletons.gray.getRgbItem(e,0,a,0),a;case 3:return n.ColorSpace.singletons.rgb.getRgbItem(e,0,a,0),a;case 4:return n.ColorSpace.singletons.cmyk.getRgbItem(e,0,a,0),a;default:return t}}function p(e){return Array.from(e,e=>e/255)}function c(o,t){var l=o.getArray("QuadPoints");if(!Array.isArray(l)||0===l.length||0<l.length%8)return null;const c=[];for(let s=0,e=l.length/8;s<e;s++){let a=1/0,r=-1/0,i=1/0,n=-1/0;for(let e=8*s,t=8*s+8;e<t;e+=2){const o=l[e],c=l[e+1];a=Math.min(o,a),r=Math.max(o,r),i=Math.min(c,i),n=Math.max(c,n)}if(null!==t&&(a<t[0]||r>t[2]||i<t[1]||n>t[3]))return null;c.push([{x:a,y:n},{x:r,y:n},{x:a,y:i},{x:r,y:i}])}return c}function m(e,t,a){var[t,a,r,i]=S.Util.getAxialAlignedBoundingBox(t,a);return t===r||a===i?[1,0,0,1,e[0],e[1]]:[r=(e[2]-e[0])/(r-t),0,0,i=(e[3]-e[1])/(i-a),e[0]-t*r,e[1]-a*i]}e.AnnotationFactory=class{static create(i,n,s,o,l){return Promise.all([s.ensureCatalog("acroForm"),s.ensureCatalog("baseUrl"),s.ensureCatalog("attachments"),s.ensureDoc("xfaDatasets"),l?this._getPageIndex(i,n,s):-1]).then(([e,,t,a,r])=>s.ensure(this,"_create",[i,n,s,o,e,t,a,l,r]))}static _create(e,t,a,r,i,n=null,s,o,l=-1){var c=e.fetchIfRef(t);if(c instanceof C.Dict){var r=t instanceof C.Ref?t.toString():"annot_"+r.createObjId(),h=(h=c.get("Subtype"))instanceof C.Name?h.name:null,i=i instanceof C.Dict?i:C.Dict.empty,u={xref:e,ref:t,dict:c,subtype:h,id:r,pdfManager:a,acroForm:i,attachments:n,xfaDatasets:s,collectFields:o,needAppearances:!o&&!0===i.get("NeedAppearances"),pageIndex:l,isOffscreenCanvasSupported:a.evaluatorOptions.isOffscreenCanvasSupported};switch(h){case"Link":return new T(u);case"Text":return new I(u);case"Widget":var d=(0,k.getInheritableProperty)({dict:c,key:"FT"});switch(d=d instanceof C.Name?d.name:null){case"Tx":return new y(u);case"Btn":return new w(u);case"Ch":return new v(u);case"Sig":return new x(u)}return(0,S.warn)(`Unimplemented widget field type "${d}", falling back to base field type.`),new O(u);case"Popup":return new M(u);case"FreeText":return new P(u);case"Line":return new E(u);case"Square":return new L(u);case"Circle":return new _(u);case"PolyLine":return new N(u);case"Polygon":return new B(u);case"Caret":return new j(u);case"Ink":return new D(u);case"Highlight":return new $(u);case"Underline":return new U(u);case"Squiggly":return new X(u);case"StrikeOut":return new H(u);case"Stamp":return new q(u);case"FileAttachment":return new z(u);default:return o||(h?(0,S.warn)(`Unimplemented annotation type "${h}", falling back to base annotation.`):(0,S.warn)("Annotation is missing the required /Subtype.")),new b(u)}}}static async _getPageIndex(e,t,a){try{const S=await e.fetchIfRefAsync(t);var r;return S instanceof C.Dict?(r=S.getRaw("P"))instanceof C.Ref?await a.ensureCatalog("getPageIndex",[r]):-1:-1}catch(e){return(0,S.warn)(`_getPageIndex: "${e}".`),-1}}static async saveNewAnnotations(e,t,a){var r=e.xref;let i;var n=[],s=[];for(const o of a)switch(o.annotationType){case S.AnnotationEditorType.FREETEXT:if(!i){const e=new C.Dict(r),t=(e.set("BaseFont",C.Name.get("Helvetica")),e.set("Type",C.Name.get("Font")),e.set("Subtype",C.Name.get("Type1")),e.set("Encoding",C.Name.get("WinAnsiEncoding")),[]);i=r.getNewTemporaryRef(),await(0,g.writeObject)(i,e,t,null),n.push({ref:i,data:t.join("")})}s.push(P.createNewAnnotation(r,o,n,{evaluator:e,task:t,baseFontRef:i}));break;case S.AnnotationEditorType.INK:s.push(D.createNewAnnotation(r,o,n))}return{annotations:await Promise.all(s),dependencies:n}}static async printNewAnnotations(e,t,a){if(!a)return null;var r=e.xref,i=e.options["isOffscreenCanvasSupported"],n=[];for(const s of a)switch(s.annotationType){case S.AnnotationEditorType.FREETEXT:n.push(P.createNewPrintAnnotation(r,s,{evaluator:e,task:t,isOffscreenCanvasSupported:i}));break;case S.AnnotationEditorType.INK:n.push(D.createNewPrintAnnotation(r,s,{isOffscreenCanvasSupported:i}))}return Promise.all(n)}};class b{constructor(e){const{dict:t,xref:a}=e,r=(this.setTitle(t.get("T")),this.setContents(t.get("Contents")),this.setModificationDate(t.get("M")),this.setFlags(t.get("F")),this.setRectangle(t.getArray("Rect")),this.setColor(t.getArray("C")),this.setBorderStyle(t),this.setAppearance(t),this.setOptionalContent(t),t.get("MK"));this.setBorderAndBackgroundColors(r),this.setRotation(r),this._streams=[],this.appearance&&this._streams.push(this.appearance);var i=!!(this.flags&S.AnnotationFlag.LOCKED),n=!!(this.flags&S.AnnotationFlag.LOCKEDCONTENTS);if(this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:e.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:e.subtype,hasOwnCanvas:!1,noRotate:!!(this.flags&S.AnnotationFlag.NOROTATE),noHTML:i&&n},e.collectFields){const r=t.get("Kids");if(Array.isArray(r)){const e=[];for(const t of r)t instanceof C.Ref&&e.push(t.toString());0!==e.length&&(this.data.kidIds=e)}this.data.actions=(0,k.collectActions)(a,t,S.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(t),this.data.pageIndex=e.pageIndex}this._isOffscreenCanvasSupported=e.isOffscreenCanvasSupported,this._fallbackFontDict=null,this._needAppearances=!1}_hasFlag(e,t){return!!(e&t)}_isViewable(e){return!this._hasFlag(e,S.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,S.AnnotationFlag.NOVIEW)}_isPrintable(e){return this._hasFlag(e,S.AnnotationFlag.PRINT)&&!this._hasFlag(e,S.AnnotationFlag.INVISIBLE)}mustBeViewed(e){e=e?.get(this.data.id)?.hidden;return void 0!==e?!e:this.viewable&&!this._hasFlag(this.flags,S.AnnotationFlag.HIDDEN)}mustBePrinted(e){e=e?.get(this.data.id)?.print;return void 0!==e?e:this.printable}get viewable(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}get printable(){return null!==this.data.quadPoints&&0!==this.flags&&this._isPrintable(this.flags)}_parseStringHelper(e){e="string"==typeof e?(0,S.stringToPDFString)(e):"";return{str:e,dir:e&&"rtl"===(0,a.bidi)(e).dir?"rtl":"ltr"}}setDefaultAppearance(e){e=(0,k.getInheritableProperty)({dict:e.dict,key:"DA"})||e.acroForm.get("DA");this._defaultAppearance="string"==typeof e?e:"",this.data.defaultAppearanceData=(0,A.parseDefaultAppearance)(this._defaultAppearance)}setTitle(e){this._title=this._parseStringHelper(e)}setContents(e){this._contents=this._parseStringHelper(e)}setModificationDate(e){this.modificationDate="string"==typeof e?e:null}setFlags(e){this.flags=Number.isInteger(e)&&0<e?e:0}hasFlag(e){return this._hasFlag(this.flags,e)}setRectangle(e){Array.isArray(e)&&4===e.length?this.rectangle=S.Util.normalizeRect(e):this.rectangle=[0,0,0,0]}setColor(e){this.color=f(e)}setLineEndings(t){if(this.lineEndings=["None","None"],Array.isArray(t)&&2===t.length)for(let e=0;e<2;e++){var a=t[e];if(a instanceof C.Name)switch(a.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[e]=a.name;continue}(0,S.warn)("Ignoring invalid lineEnding: "+a)}}setRotation(t){if(this.rotation=0,t instanceof C.Dict){let e=t.get("R")||0;Number.isInteger(e)&&0!==e&&((e%=360)<0&&(e+=360),e%90==0)&&(this.rotation=e)}}setBorderAndBackgroundColors(e){e instanceof C.Dict?(this.borderColor=f(e.getArray("BC"),null),this.backgroundColor=f(e.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(e){var t,a;this.borderStyle=new h,e instanceof C.Dict&&(e.has("BS")?(a=(t=e.get("BS")).get("Type"))&&!(0,C.isName)(a,"Border")||(this.borderStyle.setWidth(t.get("W"),this.rectangle),this.borderStyle.setStyle(t.get("S")),this.borderStyle.setDashArray(t.getArray("D"))):e.has("Border")?(a=e.getArray("Border"),Array.isArray(a)&&3<=a.length&&(this.borderStyle.setHorizontalCornerRadius(a[0]),this.borderStyle.setVerticalCornerRadius(a[1]),this.borderStyle.setWidth(a[2],this.rectangle),4===a.length)&&this.borderStyle.setDashArray(a[3],!0)):this.borderStyle.setWidth(0))}setAppearance(e){this.appearance=null;var t=e.get("AP");t instanceof C.Dict&&((t=t.get("N"))instanceof i.BaseStream?this.appearance=t:t instanceof C.Dict&&(e=e.get("AS"))instanceof C.Name&&t.has(e.name)&&(t=t.get(e.name))instanceof i.BaseStream&&(this.appearance=t))}setOptionalContent(e){this.oc=null;e=e.get("OC");e instanceof C.Name?(0,S.warn)("setOptionalContent: Support for /Name-entry is not implemented."):e instanceof C.Dict&&(this.oc=e)}loadResources(t,e){return e.dict.getAsync("Resources").then(e=>{if(e)return new o.ObjectLoader(e,t,e.xref).load().then(function(){return e})})}async getOperatorList(e,t,a,r,i){var n=this.data;let s=this.appearance;a=!!(this.data.hasOwnCanvas&&a&S.RenderingIntentFlag.DISPLAY);if(!s){if(!a)return{opList:new d.OperatorList,separateForm:!1,separateCanvas:!1};(s=new F.StringStream("")).dict=new C.Dict}var o=s.dict,l=await this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],s),c=o.getArray("BBox")||[0,0,1,1],o=o.getArray("Matrix")||[1,0,0,1,0,0],c=m(n.rect,c,o),h=new d.OperatorList;let u;return void 0!==(u=this.oc?await e.parseMarkedContentProps(this.oc,null):u)&&h.addOp(S.OPS.beginMarkedContentProps,["OC",u]),h.addOp(S.OPS.beginAnnotation,[n.id,n.rect,c,o,a]),await e.getOperatorList({stream:s,task:t,resources:l,operatorList:h,fallbackFontDict:this._fallbackFontDict}),h.addOp(S.OPS.endAnnotation,[]),void 0!==u&&h.addOp(S.OPS.endMarkedContent,[]),this.reset(),{opList:h,separateForm:!1,separateCanvas:a}}async save(e,t,a){return null}get hasTextContent(){return!1}async extractTextContent(e,t,a){if(this.appearance){const r=await this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance),i=[],n=[],s={desiredSize:Math.Infinity,ready:!0,enqueue(e,t){for(const t of e.items)n.push(t.str),t.hasEOL&&(i.push(n.join("")),n.length=0)}};await e.getTextContent({stream:this.appearance,task:t,resources:r,includeMarkedContent:!0,sink:s,viewBox:a}),this.reset(),n.length&&i.push(n.join("")),0<i.length&&(this.data.textContent=i)}}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const e of this._streams)e.reset()}_constructFieldName(e){if(!e.has("T")&&!e.has("Parent"))return(0,S.warn)("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return(0,S.stringToPDFString)(e.get("T"));var t=[];e.has("T")&&t.unshift((0,S.stringToPDFString)(e.get("T")));let a=e;var r=new C.RefSet;for(e.objId&&r.put(e.objId);a.has("Parent")&&(a=a.get("Parent"))instanceof C.Dict&&(!a.objId||!r.has(a.objId));)if(a.objId&&r.put(a.objId),a.has("T")){const e=(0,S.stringToPDFString)(a.get("T"));e.startsWith("#")||t.unshift(e)}return t.join(".")}}e.Annotation=b;class h{constructor(){this.width=1,this.style=S.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}setWidth(e,t=[0,0,0,0]){var a;e instanceof C.Name?this.width=0:"number"==typeof e&&(0<e&&(a=(t[2]-t[0])/2,t=(t[3]-t[1])/2,0<a)&&0<t&&(a<e||t<e)&&((0,S.warn)("AnnotationBorderStyle.setWidth - ignoring width: "+e),e=1),this.width=e)}setStyle(e){if(e instanceof C.Name)switch(e.name){case"S":this.style=S.AnnotationBorderStyleType.SOLID;break;case"D":this.style=S.AnnotationBorderStyleType.DASHED;break;case"B":this.style=S.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=S.AnnotationBorderStyleType.INSET;break;case"U":this.style=S.AnnotationBorderStyleType.UNDERLINE}}setDashArray(a,r=!1){if(Array.isArray(a)&&0<a.length){let e=!0,t=!0;for(const r of a){if(!(0<=+r)){e=!1;break}0<r&&(t=!1)}e&&!t?(this.dashArray=a,r&&this.setStyle(C.Name.get("D"))):this.width=0}else a&&(this.width=0)}setHorizontalCornerRadius(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}setVerticalCornerRadius(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}e.AnnotationBorderStyle=h;class u extends b{constructor(e){super(e);var t=e["dict"];if(t.has("IRT")){const e=t.getRaw("IRT");this.data.inReplyTo=e instanceof C.Ref?e.toString():null;var a=t.get("RT");this.data.replyType=a instanceof C.Name?a.name:S.AnnotationReplyType.REPLY}if(this.data.replyType===S.AnnotationReplyType.GROUP){const e=t.get("IRT");this.setTitle(e.get("T")),this.data.titleObj=this._title,this.setContents(e.get("Contents")),this.data.contentsObj=this._contents,e.has("CreationDate")?(this.setCreationDate(e.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,e.has("M")?(this.setModificationDate(e.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,this.data.hasPopup=e.has("Popup"),e.has("C")?(this.setColor(e.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate(t.get("CreationDate")),this.data.creationDate=this.creationDate,this.data.hasPopup=t.has("Popup"),t.has("C")||(this.data.color=null);t.has("RC")&&(this.data.richText=l.XFAFactory.getRichTextAsHtml(t.get("RC")))}setCreationDate(e){this.creationDate="string"==typeof e?e:null}_setDefaultAppearance({xref:e,extra:t,strokeColor:a,fillColor:r,blendMode:i,strokeAlpha:n,fillAlpha:s,pointsCallback:o}){let l=Number.MAX_VALUE,c=Number.MAX_VALUE,h=Number.MIN_VALUE,u=Number.MIN_VALUE;var d=["q"];t&&d.push(t),a&&d.push(`${a[0]} ${a[1]} ${a[2]} RG`),r&&d.push(`${r[0]} ${r[1]} ${r[2]} rg`);let f=this.data.quadPoints;for(const e of f=f||[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]){const[t,a,r,i]=o(d,e);l=Math.min(l,t),h=Math.max(h,a),c=Math.min(c,r),u=Math.max(u,i)}d.push("Q");t=new C.Dict(e),a=new C.Dict(e),a.set("Subtype",C.Name.get("Form")),r=new F.StringStream(d.join(" ")),r.dict=a,t.set("Fm0",r),a=new C.Dict(e),i&&a.set("BM",C.Name.get(i)),"number"==typeof n&&a.set("CA",n),"number"==typeof s&&a.set("ca",s),i=new C.Dict(e),i.set("GS0",a),n=new C.Dict(e),n.set("ExtGState",i),n.set("XObject",t),s=new C.Dict(e),s.set("Resources",n),a=this.data.rect=[l,c,h,u];s.set("BBox",a),this.appearance=new F.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=s,this._streams.push(this.appearance,r)}static async createNewAnnotation(e,t,a,r){const i=e.getNewTemporaryRef(),n=await this.createNewAppearanceStream(t,e,r),s=[];let o;if(n){const r=e.getNewTemporaryRef(),i=(o=this.createNewDict(t,e,{apRef:r}),e.encrypt?e.encrypt.createCipherTransform(r.num,r.gen):null);await(0,g.writeObject)(r,n,s,i),a.push({ref:r,data:s.join("")})}else o=this.createNewDict(t,e,{});s.length=0;r=e.encrypt?e.encrypt.createCipherTransform(i.num,i.gen):null;return await(0,g.writeObject)(i,o,s,r),{ref:i,data:s.join("")}}static async createNewPrintAnnotation(e,t,a){var r=await this.createNewAppearanceStream(t,e,a),t=this.createNewDict(t,e,{ap:r});return new this.prototype.constructor({dict:t,xref:e,isOffscreenCanvasSupported:a.isOffscreenCanvasSupported})}}e.MarkupAnnotation=u;class O extends b{constructor(e){super(e);const{dict:t,xref:a}=e,r=this.data;this.ref=e.ref,this._needAppearances=e.needAppearances,r.annotationType=S.AnnotationType.WIDGET,void 0===r.fieldName&&(r.fieldName=this._constructFieldName(t)),void 0===r.actions&&(r.actions=(0,k.collectActions)(a,t,S.AnnotationActionEventType));let i=(0,k.getInheritableProperty)({dict:t,key:"V",getArray:!0});r.fieldValue=this._decodeFormValue(i);var n=(0,k.getInheritableProperty)({dict:t,key:"DV",getArray:!0});if(r.defaultFieldValue=this._decodeFormValue(n),void 0===i&&e.xfaDatasets){const t=this._title.str;t&&(this._hasValueFromXFA=!0,r.fieldValue=i=e.xfaDatasets.getValue(t))}void 0===i&&null!==r.defaultFieldValue&&(r.fieldValue=r.defaultFieldValue),r.alternativeText=(0,S.stringToPDFString)(t.get("TU")||""),this.setDefaultAppearance(e),r.hasAppearance||=this._needAppearances&&void 0!==r.fieldValue&&null!==r.fieldValue;var n=(0,k.getInheritableProperty)({dict:t,key:"FT"}),n=(r.fieldType=n instanceof C.Name?n.name:null,(0,k.getInheritableProperty)({dict:t,key:"DR"})),e=e.acroForm.get("DR"),s=this.appearance?.dict.get("Resources");this._fieldResources={localResources:n,acroFormResources:e,appearanceResources:s,mergedResources:C.Dict.merge({xref:a,dictArray:[n,s,e],mergeSubDicts:!0})},r.fieldFlags=(0,k.getInheritableProperty)({dict:t,key:"Ff"}),(!Number.isInteger(r.fieldFlags)||r.fieldFlags<0)&&(r.fieldFlags=0),r.readOnly=this.hasFieldFlag(S.AnnotationFieldFlag.READONLY),r.required=this.hasFieldFlag(S.AnnotationFieldFlag.REQUIRED),r.hidden=this._hasFlag(r.annotationFlags,S.AnnotationFlag.HIDDEN)}_decodeFormValue(e){return Array.isArray(e)?e.filter(e=>"string"==typeof e).map(e=>(0,S.stringToPDFString)(e)):e instanceof C.Name?(0,S.stringToPDFString)(e.name):"string"==typeof e?(0,S.stringToPDFString)(e):null}hasFieldFlag(e){return!!(this.data.fieldFlags&e)}getRotationMatrix(e){let t=e?.get(this.data.id)?.rotation;var a;return 0===(t=void 0===t?this.rotation:t)?S.IDENTITY_MATRIX:(e=this.data.rect[2]-this.data.rect[0],a=this.data.rect[3]-this.data.rect[1],(0,k.getRotationMatrix)(t,e,a))}getBorderAndBackgroundAppearances(e){let t=e?.get(this.data.id)?.rotation;if(void 0===t&&(t=this.rotation),!this.backgroundColor&&!this.borderColor)return"";var e=this.data.rect[2]-this.data.rect[0],a=this.data.rect[3]-this.data.rect[1],a=0===t||180===t?`0 0 ${e} ${a} re`:`0 0 ${a} ${e} re`;let r="";return this.backgroundColor&&(r=(0,A.getPdfColor)(this.backgroundColor,!0)+` ${a} f `),this.borderColor&&(r+=`${this.borderStyle.width||1} w ${(0,A.getPdfColor)(this.borderColor,!1)} ${a} S `),r}async getOperatorList(t,a,r,i,n){if(i&&!(this instanceof x)&&!this.data.noHTML&&!this.data.hasOwnCanvas)return{opList:new d.OperatorList,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(t,a,r,i,n);var s=await this._getAppearance(t,a,r,n);if(this.appearance&&null===s)return super.getOperatorList(t,a,r,i,n);r=new d.OperatorList;if(this._defaultAppearance&&null!==s){i=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],i=m(this.data.rect,i,[1,0,0,1,0,0]);let e;void 0!==(e=this.oc?await t.parseMarkedContentProps(this.oc,null):e)&&r.addOp(S.OPS.beginMarkedContentProps,["OC",e]),r.addOp(S.OPS.beginAnnotation,[this.data.id,this.data.rect,i,this.getRotationMatrix(n),!1]);i=new F.StringStream(s);await t.getOperatorList({stream:i,task:a,resources:this._fieldResources.mergedResources,operatorList:r}),r.addOp(S.OPS.endAnnotation,[]),void 0!==e&&r.addOp(S.OPS.endMarkedContent,[])}return{opList:r,separateForm:!1,separateCanvas:!1}}_getMKDict(e){var t=new C.Dict(null);return e&&t.set("R",e),this.borderColor&&t.set("BC",p(this.borderColor)),this.backgroundColor&&t.set("BG",p(this.backgroundColor)),0<t.size?t:null}amendSavedDict(e,t){}async save(t,a,r){const i=r?.get(this.data.id);let n=i?.value,s=i?.rotation;if(n===this.data.fieldValue||void 0===n){if(!this._hasValueFromXFA&&void 0===s)return null;n||=this.data.fieldValue}if(void 0===s&&!this._hasValueFromXFA&&Array.isArray(n)&&Array.isArray(this.data.fieldValue)&&n.length===this.data.fieldValue.length&&n.every((e,t)=>e===this.data.fieldValue[t]))return null;void 0===s&&(s=this.rotation);let o=null;if(!this._needAppearances&&null===(o=await this._getAppearance(t,a,S.RenderingIntentFlag.SAVE,r)))return null;let l=!1;o?.needAppearances&&(l=!0,o=null);var c=t["xref"],e=c.fetchIfRef(this.ref);if(!(e instanceof C.Dict))return null;var h=new C.Dict(c);for(const t of e.getKeys())"AP"!==t&&h.set(t,e.getRaw(t));var a={path:this.data.fieldName,value:n},t=e=>(0,k.isAscii)(e)?e:(0,k.stringToUTF16String)(e,!0),t=(h.set("V",Array.isArray(n)?n.map(t):t(n)),this.amendSavedDict(r,h),this._getMKDict(s)),u=(t&&h.set("MK",t),c.encrypt),t=u?u.createCipherTransform(this.ref.num,this.ref.gen):null,d=[],f=[{ref:this.ref,data:"",xfa:a,needAppearances:l}];if(null!==o){const t=c.getNewTemporaryRef(),a=new C.Dict(c);h.set("AP",a),a.set("N",t);let e=null;u&&(e=u.createCipherTransform(t.num,t.gen));const i=this._getSaveFieldResources(c),n=new F.StringStream(o),s=n.dict=new C.Dict(c),l=(s.set("Subtype",C.Name.get("Form")),s.set("Resources",i),s.set("BBox",[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]]),this.getRotationMatrix(r));l!==S.IDENTITY_MATRIX&&s.set("Matrix",l),await(0,g.writeObject)(t,n,d,e),f.push({ref:t,data:d.join(""),xfa:null,needAppearances:!1}),d.length=0}return h.set("M","D:"+(0,S.getModificationDate)()),await(0,g.writeObject)(this.ref,h,d,t),f[0].data=d.join(""),f}async _getAppearance(e,t,a,r){if(this.hasFieldFlag(S.AnnotationFieldFlag.PASSWORD))return null;const i=r?.get(this.data.id);let n,s;if(i&&(n=i.formattedValue||i.value,s=i.rotation),void 0===s&&void 0===n&&!this._needAppearances&&(!this._hasValueFromXFA||this.appearance))return null;const o=this.getBorderAndBackgroundAppearances(r);if(void 0===n&&!(n=this.data.fieldValue))return`/Tx BMC q ${o}Q EMC`;if(Array.isArray(n)&&1===n.length&&(n=n[0]),(0,S.assert)("string"==typeof n,"Expected `value` to be a string."),n=n.trim(),this.data.combo){const e=this.data.options.find(({exportValue:e})=>n===e);n=e?.displayValue||n}if(""===n)return`/Tx BMC q ${o}Q EMC`;void 0===s&&(s=this.rotation);let l,c=-1,h=(this.data.multiLine?(l=n.split(/\r\n?|\n/).map(e=>e.normalize("NFC")),c=l.length):l=[n.replace(/\r\n?|\n/,"").normalize("NFC")],this.data.rect[3]-this.data.rect[1]),u=this.data.rect[2]-this.data.rect[0];90!==s&&270!==s||([u,h]=[h,u]),this._defaultAppearance||(this.data.defaultAppearanceData=(0,A.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g"));let d,f,g,p=await O._getFontData(e,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources);var m=[];let b=!1;for(const e of l){const t=p.encodeString(e);1<t.length&&(b=!0),m.push(t.join(""))}if(b&&a&S.RenderingIntentFlag.SAVE)return{needAppearances:!0};if(b&&this._isOffscreenCanvasSupported){const a=this.data.comb?"monospace":"sans-serif",S=new A.FakeUnicodeFont(e.xref,a),r=S.createFontResources(l.join("")),i=r.getRaw("Font");if(this._fieldResources.mergedResources.has("Font")){const e=this._fieldResources.mergedResources.get("Font");for(const t of i.getKeys())e.set(t,i.getRaw(t))}else this._fieldResources.mergedResources.set("Font",i);const s=S.fontName.name;p=await O._getFontData(e,t,{fontName:s,fontSize:0},r);for(let e=0,t=m.length;e<t;e++)m[e]=(0,k.stringToUTF16String)(l[e]);const o=Object.assign(Object.create(null),this.data.defaultAppearanceData);this.data.defaultAppearanceData.fontSize=0,this.data.defaultAppearanceData.fontName=s,[d,f,g]=this._computeFontSize(h-2,u-4,n,p,c),this.data.defaultAppearanceData=o}else this._isOffscreenCanvasSupported||(0,S.warn)("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."),[d,f,g]=this._computeFontSize(h-2,u-4,n,p,c);a=p.descent,a=isNaN(a)?S.BASELINE_FACTOR*g:Math.max(S.BASELINE_FACTOR*g,Math.abs(a)*f),e=Math.min(Math.floor((h-f)/2),1),t=this.data.textAlignment;return this.data.multiLine?this._getMultilineAppearance(d,m,p,f,u,h,t,2,e,a,g,r):this.data.comb?this._getCombAppearance(d,p,m[0],f,u,h,2,e,a,g,r):(r=e+a,0===t||2<t?`/Tx BMC q ${o}BT `+d+` 1 0 0 1 ${(0,k.numberToString)(2)} ${(0,k.numberToString)(r)} Tm (${(0,k.escapeString)(m[0])}) Tj ET Q EMC`:`/Tx BMC q ${o}BT `+d+` 1 0 0 1 0 0 Tm ${this._renderText(m[0],p,f,u,t,{shift:0},2,r)} ET Q EMC`)}static async _getFontData(e,t,a,r){var i=new d.OperatorList,n={font:null,clone(){return this}},{fontName:a,fontSize:s}=a;return await e.handleSetFont(r,[a&&C.Name.get(a),s],null,i,t,n,null),n.font}_getTextWidth(e,t){return t.charsToGlyphs(e).reduce((e,t)=>e+t.width,0)/1e3}_computeFontSize(r,i,e,n,t){let a=this.data.defaultAppearanceData["fontSize"],s=(a||12)*S.LINE_FACTOR,o=Math.round(r/s);if(!a){var l=e=>Math.floor(100*e)/100;if(-1===t){const A=this._getTextWidth(e,n);a=l(Math.min(r/S.LINE_FACTOR,A>i?i/A:1/0)),o=1}else{const A=e.split(/\r\n?|\n/),h=[];for(const r of A){const i=n.encodeString(r).join(""),e=n.charsToGlyphs(i),S=n.getCharPositions(i);h.push({line:i,glyphs:e,positions:S})}var c=e=>{let t=0;for(const a of h)if(t+=this._splitLine(null,n,e,i,a).length*e,t>r)return!0;return!1};for(o=Math.max(o,t);s=r/o,c(a=l(s/S.LINE_FACTOR));)o++}var{fontName:e,fontColor:t}=this.data.defaultAppearanceData;this._defaultAppearance=(0,A.createDefaultAppearance)({fontSize:a,fontName:e,fontColor:t})}return[this._defaultAppearance,a,r/o]}_renderText(e,t,a,r,i,n,s,o){i=1===i?(r-this._getTextWidth(e,t)*a)/2:2===i?r-this._getTextWidth(e,t)*a-s:s,r=(0,k.numberToString)(i-n.shift);return n.shift=i,`${r} ${o=(0,k.numberToString)(o)} Td (${(0,k.escapeString)(e)}) Tj`}_getSaveFieldResources(e){const{localResources:t,appearanceResources:a,acroFormResources:r}=this._fieldResources,i=this.data.defaultAppearanceData?.fontName;if(i){for(const e of[t,a])if(e instanceof C.Dict){const t=e.get("Font");if(t instanceof C.Dict&&t.has(i))return e}if(r instanceof C.Dict){const a=r.get("Font");if(a instanceof C.Dict&&a.has(i)){const r=new C.Dict(e);r.set(i,a.getRaw(i));var n=new C.Dict(e);return n.set("Font",r),C.Dict.merge({xref:e,dictArray:[n,t],mergeSubDicts:!0})}}}return t||C.Dict.empty}getFieldObject(){return null}}class y extends O{constructor(e){super(e),this.data.hasOwnCanvas=this.data.readOnly&&!this.data.noHTML,this._hasText=!0;e=e.dict;"string"!=typeof this.data.fieldValue&&(this.data.fieldValue="");let t=(0,k.getInheritableProperty)({dict:e,key:"Q"}),a=((!Number.isInteger(t)||t<0||2<t)&&(t=null),this.data.textAlignment=t,(0,k.getInheritableProperty)({dict:e,key:"MaxLen"}));(!Number.isInteger(a)||a<0)&&(a=0),this.data.maxLen=a,this.data.multiLine=this.hasFieldFlag(S.AnnotationFieldFlag.MULTILINE),this.data.comb=this.hasFieldFlag(S.AnnotationFieldFlag.COMB)&&!this.hasFieldFlag(S.AnnotationFieldFlag.MULTILINE)&&!this.hasFieldFlag(S.AnnotationFieldFlag.PASSWORD)&&!this.hasFieldFlag(S.AnnotationFieldFlag.FILESELECT)&&0!==this.data.maxLen,this.data.doNotScroll=this.hasFieldFlag(S.AnnotationFieldFlag.DONOTSCROLL)}get hasTextContent(){return!!this.appearance}_getCombAppearance(e,t,a,r,i,n,s,o,l,c,h){var i=i/this.data.maxLen,h=this.getBorderAndBackgroundAppearances(h),u=[],d=t.getCharPositions(a);for(const[e,t]of d)u.push(`(${(0,k.escapeString)(a.substring(e,t))}) Tj`);t=u.join(` ${(0,k.numberToString)(i)} 0 Td `);return`/Tx BMC q ${h}BT `+e+` 1 0 0 1 ${(0,k.numberToString)(s)} ${(0,k.numberToString)(o+l)} Tm ${t} ET Q EMC`}_getMultilineAppearance(e,t,r,i,n,s,o,l,c,h,u,d){var f=[],g=n-2*l,p={shift:0};for(let a=0,e=t.length;a<e;a++){const k=t[a],s=this._splitLine(k,r,i,g);for(let e=0,t=s.length;e<t;e++){const k=s[e],d=0===a&&0===e?-c-(u-h):-u;f.push(this._renderText(k,r,i,n,o,p,l,d))}}var d=this.getBorderAndBackgroundAppearances(d),a=f.join("\n");return`/Tx BMC q ${d}BT `+e+` 1 0 0 1 0 ${(0,k.numberToString)(s)} Tm ${a} ET Q EMC`}_splitLine(a,e,r,i,n={}){a=n.line||a;var s=n.glyphs||e.charsToGlyphs(a);if(s.length<=1)return[a];var o=n.positions||e.getCharPositions(a),l=r/1e3,c=[];let h=-1,u=-1,d=-1,f=0,g=0;for(let e=0,t=s.length;e<t;e++){const[r,n]=o[e],p=s[e],m=p.width*l;" "===p.unicode?d=g+m>i?(c.push(a.substring(f,r)),f=r,g=m,h=-1):(g+=m,h=r,u=n,e):g+m>i?g=-1!==h?(c.push(a.substring(f,u)),f=u,e=d+1,h=-1,0):(c.push(a.substring(f,r)),f=r,m):g+=m}return f<a.length&&c.push(a.substring(f,a.length)),c}getFieldObject(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue||"",multiline:this.data.multiLine,password:this.hasFieldFlag(S.AnnotationFieldFlag.PASSWORD),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:"text"}}}class w extends O{constructor(e){super(e),this.checkedAppearance=null,this.uncheckedAppearance=null,this.data.checkBox=!this.hasFieldFlag(S.AnnotationFieldFlag.RADIO)&&!this.hasFieldFlag(S.AnnotationFieldFlag.PUSHBUTTON),this.data.radioButton=this.hasFieldFlag(S.AnnotationFieldFlag.RADIO)&&!this.hasFieldFlag(S.AnnotationFieldFlag.PUSHBUTTON),this.data.pushButton=this.hasFieldFlag(S.AnnotationFieldFlag.PUSHBUTTON),this.data.isTooltipOnly=!1,this.data.checkBox?this._processCheckBox(e):this.data.radioButton?this._processRadioButton(e):this.data.pushButton?(this.data.hasOwnCanvas=!0,this._processPushButton(e)):(0,S.warn)("Invalid field flags for button widget annotation")}async getOperatorList(e,t,a,r,i){if(this.data.pushButton)return super.getOperatorList(e,t,a,!1,i);let n=null,s=null;if(i){const e=i.get(this.data.id);n=e?e.value:null,s=e?e.rotation:null}if(null===n&&this.appearance)return super.getOperatorList(e,t,a,r,i);var o=(n=null==n?this.data.checkBox?this.data.fieldValue===this.data.exportValue:this.data.fieldValue===this.data.buttonValue:n)?this.checkedAppearance:this.uncheckedAppearance;if(o){const n=this.appearance,l=o.dict.getArray("Matrix")||S.IDENTITY_MATRIX;s&&o.dict.set("Matrix",this.getRotationMatrix(i)),this.appearance=o;e=super.getOperatorList(e,t,a,r,i);return this.appearance=n,o.dict.set("Matrix",l),e}return{opList:new d.OperatorList,separateForm:!1,separateCanvas:!1}}async save(e,t,a){return this.data.checkBox?this._saveCheckbox(e,t,a):this.data.radioButton?this._saveRadioButton(e,t,a):null}async _saveCheckbox(e,t,a){if(!a)return null;a=a.get(this.data.id);let r=a?.rotation,i=a?.value;if(void 0===r){if(void 0===i)return null;if(this.data.fieldValue===this.data.exportValue===i)return null}a=e.xref.fetchIfRef(this.ref);if(!(a instanceof C.Dict))return null;void 0===r&&(r=this.rotation),void 0===i&&(i=this.data.fieldValue===this.data.exportValue);var n={path:this.data.fieldName,value:i?this.data.exportValue:""},s=C.Name.get(i?this.data.exportValue:"Off"),s=(a.set("V",s),a.set("AS",s),a.set("M","D:"+(0,S.getModificationDate)()),this._getMKDict(r)),s=(s&&a.set("MK",s),e.xref.encrypt);let o=null;s&&(o=s.createCipherTransform(this.ref.num,this.ref.gen));e=[`${this.ref.num} ${this.ref.gen} obj\n`];return await(0,g.writeDict)(a,e,o),e.push("\nendobj\n"),[{ref:this.ref,data:e.join(""),xfa:n}]}async _saveRadioButton(t,a,e){if(!e)return null;e=e.get(this.data.id);let r=e?.rotation,i=e?.value;if(void 0===r){if(void 0===i)return null;if(this.data.fieldValue===this.data.buttonValue===i)return null}e=t.xref.fetchIfRef(this.ref);if(!(e instanceof C.Dict))return null;void 0===i&&(i=this.data.fieldValue===this.data.buttonValue),void 0===r&&(r=this.rotation);var n={path:this.data.fieldName,value:i?this.data.buttonValue:""},s=C.Name.get(i?this.data.buttonValue:"Off");let o=null;var l=t.xref.encrypt;if(i)if(this.parent instanceof C.Ref){const a=t.xref.fetch(this.parent);let e=null;l&&(e=l.createCipherTransform(this.parent.num,this.parent.gen)),a.set("V",s),o=[`${this.parent.num} ${this.parent.gen} obj\n`],await(0,g.writeDict)(a,o,e),o.push("\nendobj\n")}else this.parent instanceof C.Dict&&this.parent.set("V",s);e.set("AS",s),e.set("M","D:"+(0,S.getModificationDate)());t=this._getMKDict(r);t&&e.set("MK",t);let c=null;l&&(c=l.createCipherTransform(this.ref.num,this.ref.gen));s=[`${this.ref.num} ${this.ref.gen} obj\n`],await(0,g.writeDict)(e,s,c),s.push("\nendobj\n"),t=[{ref:this.ref,data:s.join(""),xfa:n}];return null!==o&&t.push({ref:this.parent,data:o.join(""),xfa:null}),t}_getDefaultCheckedAppearance(e,t){var a=this.data.rect[2]-this.data.rect[0],r=this.data.rect[3]-this.data.rect[1],i=[0,0,a,r],n=.8*Math.min(a,r);let s,o;"check"===t?(s={width:.755*n,height:.705*n},o="3"):"disc"===t?(s={width:.791*n,height:.705*n},o="l"):(0,S.unreachable)("_getDefaultCheckedAppearance - unsupported type: "+t);t=`q BT /PdfJsZaDb ${n} Tf 0 g ${(0,k.numberToString)((a-s.width)/2)} ${(0,k.numberToString)((r-s.height)/2)} Td (${o}) Tj ET Q`,n=new C.Dict(e.xref),n.set("FormType",1),n.set("Subtype",C.Name.get("Form")),n.set("Type",C.Name.get("XObject")),n.set("BBox",i),n.set("Matrix",[1,0,0,1,0,0]),n.set("Length",t.length),a=new C.Dict(e.xref),r=new C.Dict(e.xref);r.set("PdfJsZaDb",this.fallbackFontDict),a.set("Font",r),n.set("Resources",a),this.checkedAppearance=new F.StringStream(t),this.checkedAppearance.dict=n,this._streams.push(this.checkedAppearance)}_processCheckBox(e){var t=e.dict.get("AP");if(t instanceof C.Dict){t=t.get("N");if(t instanceof C.Dict){var a=this._decodeFormValue(e.dict.get("AS")),a=("string"==typeof a&&(this.data.fieldValue=a),null!==this.data.fieldValue&&"Off"!==this.data.fieldValue?this.data.fieldValue:"Yes"),r=t.getKeys();if(0===r.length)r.push("Off",a);else if(1===r.length)"Off"===r[0]?r.push(a):r.unshift("Off");else if(r.includes(a))r.length=0,r.push("Off",a);else{const e=r.find(e=>"Off"!==e);r.length=0,r.push("Off",e)}r.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=r[1];a=t.get(this.data.exportValue),r=(this.checkedAppearance=a instanceof i.BaseStream?a:null,t.get("Off"));this.uncheckedAppearance=r instanceof i.BaseStream?r:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}_processRadioButton(e){this.data.fieldValue=this.data.buttonValue=null;var t=e.dict.get("Parent");if(t instanceof C.Dict){this.parent=e.dict.getRaw("Parent");const a=t.get("V");a instanceof C.Name&&(this.data.fieldValue=this._decodeFormValue(a))}const a=e.dict.get("AP");if(a instanceof C.Dict){t=a.get("N");if(t instanceof C.Dict){for(const e of t.getKeys())if("Off"!==e){this.data.buttonValue=this._decodeFormValue(e);break}var r=t.get(this.data.buttonValue),r=(this.checkedAppearance=r instanceof i.BaseStream?r:null,t.get("Off"));this.uncheckedAppearance=r instanceof i.BaseStream?r:null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(e,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}_processPushButton(e){e.dict.has("A")||e.dict.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!e.dict.has("A")&&!e.dict.has("AA"),r.Catalog.parseDestDictionary({destDict:e.dict,resultObj:this.data,docBaseUrl:e.pdfManager.docBaseUrl,docAttachments:e.attachments})):(0,S.warn)("Push buttons without action dictionaries are not supported")}getFieldObject(){let e,t="button";return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:t}}get fallbackFontDict(){var e=new C.Dict;return e.set("BaseFont",C.Name.get("ZapfDingbats")),e.set("Type",C.Name.get("FallbackType")),e.set("Subtype",C.Name.get("FallbackType")),e.set("Encoding",C.Name.get("ZapfDingbatsEncoding")),(0,S.shadow)(this,"fallbackFontDict",e)}}class v extends O{constructor(e){super(e);const{dict:a,xref:r}=e;this.indices=a.getArray("I"),this.hasIndices=Array.isArray(this.indices)&&0<this.indices.length,this.data.options=[];var i=(0,k.getInheritableProperty)({dict:a,key:"Opt"});if(Array.isArray(i))for(let e=0,t=i.length;e<t;e++){const a=r.fetchIfRef(i[e]),S=Array.isArray(a);this.data.options[e]={exportValue:this._decodeFormValue(S?r.fetchIfRef(a[0]):a),displayValue:this._decodeFormValue(S?r.fetchIfRef(a[1]):a)}}if(this.hasIndices){this.data.fieldValue=[];const e=this.data.options.length;for(const a of this.indices)Number.isInteger(a)&&0<=a&&a<e&&this.data.fieldValue.push(this.data.options[a].exportValue)}else"string"==typeof this.data.fieldValue?this.data.fieldValue=[this.data.fieldValue]:this.data.fieldValue||(this.data.fieldValue=[]);this.data.combo=this.hasFieldFlag(S.AnnotationFieldFlag.COMBO),this.data.multiSelect=this.hasFieldFlag(S.AnnotationFieldFlag.MULTISELECT),this._hasText=!0}getFieldObject(){var e=this.data.combo?"combobox":"listbox",t=0<this.data.fieldValue.length?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:e}}amendSavedDict(e,t){if(this.hasIndices){let r=e?.get(this.data.id)?.value;Array.isArray(r)||(r=[r]);var i=[],n=this.data["options"];for(let e=0,t=0,a=n.length;e<a;e++)n[e].exportValue===r[t]&&(i.push(e),t+=1);t.set("I",i)}}async _getAppearance(a,t,r,e){if(this.data.combo)return super._getAppearance(a,t,r,e);let i,n;r=e?.get(this.data.id);if(r&&(n=r.rotation,i=r.value),void 0===n&&void 0===i&&!this._needAppearances)return null;void 0===i?i=this.data.fieldValue:Array.isArray(i)||(i=[i]);let s=this.data.rect[3]-this.data.rect[1],o=this.data.rect[2]-this.data.rect[0];90!==n&&270!==n||([o,s]=[s,o]);var l=this.data.options.length,c=[];for(let e=0;e<l;e++){const t=this.data.options[e]["exportValue"];i.includes(t)&&c.push(e)}this._defaultAppearance||(this.data.defaultAppearanceData=(0,A.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g"));var h=await O._getFontData(a,t,this.data.defaultAppearanceData,this._fieldResources.mergedResources);let u,d=this.data.defaultAppearanceData["fontSize"];if(d)u=this._defaultAppearance;else{const a=(s-1)/l;let e,t=-1;for(const{displayValue:a}of this.data.options){const S=this._getTextWidth(a,h);S>t&&(t=S,e=a)}[u,d]=this._computeFontSize(a,o-4,e,h,-1)}var f=d*S.LINE_FACTOR,g=(f-d)/2,e=Math.floor(s/f);let p;if(1===c.length){const a=c[0];p=a-a%e}else p=c.length?c[0]:0;var m=Math.min(p+e+1,l),b=["/Tx BMC q",`1 1 ${o} ${s} re W n`];if(c.length){b.push("0.600006 0.756866 0.854904 rg");for(const a of c)p<=a&&a<m&&b.push(`1 ${s-(a-p+1)*f} ${o} ${f} re f`)}b.push("BT",u,`1 0 0 1 0 ${s} Tm`);var y={shift:0};for(let e=p;e<m;e++){const t=this.data.options[e]["displayValue"],r=e===p?g:0;b.push(this._renderText(t,h,d,o,0,y,2,-f+r))}return b.push("ET Q EMC"),b.join("\n")}}class x extends O{constructor(e){super(e),this.data.fieldValue=null,this.data.hasOwnCanvas=this.data.noRotate}getFieldObject(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}class I extends u{constructor(e){super(e),this.data.noRotate=!0,this.data.hasOwnCanvas=this.data.noRotate;e=e.dict;this.data.annotationType=S.AnnotationType.TEXT,this.data.hasAppearance?this.data.name="NoIcon":(this.data.rect[1]=this.data.rect[3]-22,this.data.rect[2]=this.data.rect[0]+22,this.data.name=e.has("Name")?e.get("Name").name:"Note"),e.has("State")?(this.data.state=e.get("State")||null,this.data.stateModel=e.get("StateModel")||null):(this.data.state=null,this.data.stateModel=null)}}class T extends b{constructor(e){super(e),this.data.annotationType=S.AnnotationType.LINK;var t=c(e.dict,this.rectangle);t&&(this.data.quadPoints=t),this.data.borderColor||=this.data.color,r.Catalog.parseDestDictionary({destDict:e.dict,resultObj:this.data,docBaseUrl:e.pdfManager.docBaseUrl,docAttachments:e.attachments})}}class M extends b{constructor(e){super(e);e=e.dict;this.data.annotationType=S.AnnotationType.POPUP;let t=e.get("Parent");if(t){var a=t.get("Subtype"),a=(this.data.parentType=a instanceof C.Name?a.name:null,e.getRaw("Parent")),e=(this.data.parentId=a instanceof C.Ref?a.toString():null,t.getArray("Rect")),a=(Array.isArray(e)&&4===e.length?this.data.parentRect=S.Util.normalizeRect(e):this.data.parentRect=[0,0,0,0],t.get("RT"));if((t=(0,C.isName)(a,S.AnnotationReplyType.GROUP)?t.get("IRT"):t).has("M")?(this.setModificationDate(t.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,t.has("C")?(this.setColor(t.getArray("C")),this.data.color=this.color):this.data.color=null,!this.viewable){const e=t.get("F");this._isViewable(e)&&this.setFlags(e)}this.setTitle(t.get("T")),this.data.titleObj=this._title,this.setContents(t.get("Contents")),this.data.contentsObj=this._contents,t.has("RC")&&(this.data.richText=l.XFAFactory.getRichTextAsHtml(t.get("RC")))}else(0,S.warn)("Popup annotation has a missing or invalid parent annotation.")}}e.PopupAnnotation=M;class P extends u{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate;var t=e["xref"];if(this.data.annotationType=S.AnnotationType.FREETEXT,this.setDefaultAppearance(e),!this.appearance&&this._isOffscreenCanvasSupported){const a=e.dict.get("CA"),S=new A.FakeUnicodeFont(t,"sans-serif"),r=this.data.defaultAppearanceData;this.appearance=S.createAppearance(this._contents.str,this.rectangle,this.rotation,r.fontSize||10,r.fontColor,a),this._streams.push(this.appearance,A.FakeUnicodeFont.toUnicodeStream)}else this._isOffscreenCanvasSupported||(0,S.warn)("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly.")}get hasTextContent(){return!!this.appearance}static createNewDict(e,t,{apRef:a,ap:r}){var{color:e,fontSize:i,rect:n,rotation:s,user:o,value:l}=e,c=new C.Dict(t),n=(c.set("Type",C.Name.get("Annot")),c.set("Subtype",C.Name.get("FreeText")),c.set("CreationDate","D:"+(0,S.getModificationDate)()),c.set("Rect",n),`/Helv ${i} Tf `+(0,A.getPdfColor)(e,!0));if(c.set("DA",n),c.set("Contents",(0,k.isAscii)(l)?l:(0,k.stringToUTF16String)(l,!0)),c.set("F",4),c.set("Border",[0,0,0]),c.set("Rotate",s),o&&c.set("T",(0,k.isAscii)(o)?o:(0,k.stringToUTF16String)(o,!0)),a||r){const e=new C.Dict(t);c.set("AP",e),a?e.set("N",a):e.set("N",r)}return c}static async createNewAppearanceStream(t,a,e){var{baseFontRef:e,evaluator:r,task:i}=e,{color:t,fontSize:n,rect:s,rotation:o,value:l}=t,c=new C.Dict(a),h=new C.Dict(a);if(e)h.set("Helv",e);else{const t=new C.Dict(a);t.set("BaseFont",C.Name.get("Helvetica")),t.set("Type",C.Name.get("Font")),t.set("Subtype",C.Name.get("Type1")),t.set("Encoding",C.Name.get("WinAnsiEncoding")),h.set("Helv",t)}c.set("Font",h);var u=await O._getFontData(r,i,{fontName:"Helvetica",fontSize:n},c),[e,h,r,i]=s;let d=r-e,f=i-h;o%180!=0&&([d,f]=[f,d]);var s=l.split("\n"),g=n/1e3;let p=-1/0;var m,b=[];for(m of s){const a=u.encodeString(m);if(1<a.length)return null;m=a.join(""),b.push(m);let e=0;const S=u.charsToGlyphs(m);for(const t of S)e+=t.width*g;p=Math.max(p,e)}let y=1,w=(p>d&&(y=d/p),1);var r=S.LINE_FACTOR*n,e=S.LINE_DESCENT_FACTOR*n,i=r*s.length,h=(i>f&&(w=f/i),n*Math.min(y,w)),v=["q",`0 0 ${(0,k.numberToString)(d)} ${(0,k.numberToString)(f)} re W n`,"BT",`1 0 0 1 0 ${(0,k.numberToString)(f+e)} Tm 0 Tc `+(0,A.getPdfColor)(t,!0),`/Helv ${(0,k.numberToString)(h)} Tf`],x=(0,k.numberToString)(r);for(const t of b)v.push(`0 -${x} Td (${(0,k.escapeString)(t)}) Tj`);v.push("ET","Q");l=v.join("\n"),s=new C.Dict(a);if(s.set("FormType",1),s.set("Subtype",C.Name.get("Form")),s.set("Type",C.Name.get("XObject")),s.set("BBox",[0,0,d,f]),s.set("Resources",c),o){const t=(0,k.getRotationMatrix)(o,d,f);s.set("Matrix",t)}i=new F.StringStream(l);return i.dict=s,i}}class E extends u{constructor(e){super(e);var{dict:t,xref:a}=e;this.data.annotationType=S.AnnotationType.LINE,this.data.hasOwnCanvas=this.data.noRotate;const r=t.getArray("L");if(this.data.lineCoordinates=S.Util.normalizeRect(r),this.setLineEndings(t.getArray("LE")),this.data.lineEndings=this.lineEndings,!this.appearance){const e=this.color?p(this.color):[0,0,0],i=t.get("CA"),n=f(t.getArray("IC"),null),s=n?p(n):null,o=s?i:null,l=this.borderStyle.width||1,c=2*l,h=[this.data.lineCoordinates[0]-c,this.data.lineCoordinates[1]-c,this.data.lineCoordinates[2]+c,this.data.lineCoordinates[3]+c];S.Util.intersect(this.rectangle,h)||(this.rectangle=h),this._setDefaultAppearance({xref:a,extra:l+" w",strokeColor:e,fillColor:s,strokeAlpha:i,fillAlpha:o,pointsCallback:(e,t)=>(e.push(`${r[0]} ${r[1]} m`,`${r[2]} ${r[3]} l`,"S"),[t[0].x-l,t[1].x+l,t[3].y-l,t[1].y+l])})}}}class L extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.SQUARE,this.data.hasOwnCanvas=this.data.noRotate,!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA"),r=f(t.getArray("IC"),null),s=r?p(r):null,i=s?S:null;0===this.borderStyle.width&&!s||this._setDefaultAppearance({xref:a,extra:this.borderStyle.width+" w",strokeColor:e,fillColor:s,strokeAlpha:S,fillAlpha:i,pointsCallback:(e,t)=>{var a=t[2].x+this.borderStyle.width/2,r=t[2].y+this.borderStyle.width/2,i=t[3].x-t[2].x-this.borderStyle.width,n=t[1].y-t[3].y-this.borderStyle.width;return e.push(a+` ${r} ${i} ${n} re`),s?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}}class _ extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.CIRCLE,!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA"),r=f(t.getArray("IC"),null),h=r?p(r):null,i=h?S:null;if(0!==this.borderStyle.width||h){const u=4/3*Math.tan(Math.PI/8);this._setDefaultAppearance({xref:a,extra:this.borderStyle.width+" w",strokeColor:e,fillColor:h,strokeAlpha:S,fillAlpha:i,pointsCallback:(e,t)=>{var a=t[0].x+this.borderStyle.width/2,r=t[0].y-this.borderStyle.width/2,i=t[3].x-this.borderStyle.width/2,n=t[3].y+this.borderStyle.width/2,s=a+(i-a)/2,o=r+(n-r)/2,l=(i-a)/2*u,c=(n-r)/2*u;return e.push(s+` ${n} m`,s+l+` ${n} ${i} ${o+c} ${i} ${o} c`,i+` ${o-c} ${s+l} ${r} ${s} ${r} c`,s-l+` ${r} ${a} ${o-c} ${a} ${o} c`,a+` ${o+c} ${s-l} ${n} ${s} ${n} c`,"h"),h?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}}}class N extends u{constructor(e){super(e);var{dict:t,xref:a}=e;this.data.annotationType=S.AnnotationType.POLYLINE,this.data.hasOwnCanvas=this.data.noRotate,this.data.vertices=[],this instanceof B||(this.setLineEndings(t.getArray("LE")),this.data.lineEndings=this.lineEndings);const r=t.getArray("Vertices");if(Array.isArray(r)){for(let e=0,t=r.length;e<t;e+=2)this.data.vertices.push({x:r[e],y:r[e+1]});if(!this.appearance){const e=this.color?p(this.color):[0,0,0],r=t.get("CA"),i=this.borderStyle.width||1,n=2*i,s=[1/0,1/0,-1/0,-1/0];for(const e of this.data.vertices)s[0]=Math.min(s[0],e.x-n),s[1]=Math.min(s[1],e.y-n),s[2]=Math.max(s[2],e.x+n),s[3]=Math.max(s[3],e.y+n);S.Util.intersect(this.rectangle,s)||(this.rectangle=s),this._setDefaultAppearance({xref:a,extra:i+" w",strokeColor:e,strokeAlpha:r,pointsCallback:(a,e)=>{var r=this.data.vertices;for(let e=0,t=r.length;e<t;e++)a.push(`${r[e].x} ${r[e].y} `+(0===e?"m":"l"));return a.push("S"),[e[0].x,e[1].x,e[3].y,e[1].y]}})}}}}class B extends N{constructor(e){super(e),this.data.annotationType=S.AnnotationType.POLYGON}}class j extends u{constructor(e){super(e),this.data.annotationType=S.AnnotationType.CARET}}class D extends u{constructor(e){super(e),this.data.hasOwnCanvas=this.data.noRotate;const{dict:t,xref:r}=e,i=(this.data.annotationType=S.AnnotationType.INK,this.data.inkLists=[],t.getArray("InkList"));if(Array.isArray(i)){for(let a=0,e=i.length;a<e;++a){this.data.inkLists.push([]);for(let e=0,t=i[a].length;e<t;e+=2)this.data.inkLists[a].push({x:r.fetchIfRef(i[a][e]),y:r.fetchIfRef(i[a][e+1])})}if(!this.appearance){const e=this.color?p(this.color):[0,0,0],i=t.get("CA"),a=this.borderStyle.width||1,n=2*a,s=[1/0,1/0,-1/0,-1/0];for(const e of this.data.inkLists)for(const t of e)s[0]=Math.min(s[0],t.x-n),s[1]=Math.min(s[1],t.y-n),s[2]=Math.max(s[2],t.x+n),s[3]=Math.max(s[3],t.y+n);S.Util.intersect(this.rectangle,s)||(this.rectangle=s),this._setDefaultAppearance({xref:r,extra:a+" w",strokeColor:e,strokeAlpha:i,pointsCallback:(a,r)=>{for(const r of this.data.inkLists){for(let e=0,t=r.length;e<t;e++)a.push(`${r[e].x} ${r[e].y} `+(0===e?"m":"l"));a.push("S")}return[r[0].x,r[1].x,r[3].y,r[1].y]}})}}}static createNewDict(e,t,{apRef:a,ap:r}){var{paths:e,rect:i,rotation:n}=e,s=new C.Dict(t),i=(s.set("Type",C.Name.get("Annot")),s.set("Subtype",C.Name.get("Ink")),s.set("CreationDate","D:"+(0,S.getModificationDate)()),s.set("Rect",i),s.set("InkList",e.map(e=>e.points)),s.set("F",4),s.set("Border",[0,0,0]),s.set("Rotate",n),new C.Dict(t));return s.set("AP",i),a?i.set("N",a):i.set("N",r),s}static async createNewAppearanceStream(a,e,r){const{color:t,rect:i,rotation:n,paths:s,thickness:o,opacity:l}=a,[c,h,u,d]=i;let f=u-c,g=d-h;n%180!=0&&([f,g]=[g,f]);var p=[o+" w 1 J 1 j",""+(0,A.getPdfColor)(t,!1)],m=(1!==l&&p.push("/R0 gs"),[]);for(const{bezier:a}of s){m.length=0,m.push(`${(0,k.numberToString)(a[0])} ${(0,k.numberToString)(a[1])} m`);for(let e=2,t=a.length;e<t;e+=6){const r=a.slice(e,e+6).map(k.numberToString).join(" ");m.push(r+" c")}m.push("S"),p.push(m.join("\n"))}var a=p.join("\n"),b=new C.Dict(e);if(b.set("FormType",1),b.set("Subtype",C.Name.get("Form")),b.set("Type",C.Name.get("XObject")),b.set("BBox",[0,0,f,g]),b.set("Length",a.length),n){const a=(0,k.getRotationMatrix)(n,f,g);b.set("Matrix",a)}if(1!==l){const a=new C.Dict(e),r=new C.Dict(e),t=new C.Dict(e);t.set("CA",l),t.set("Type",C.Name.get("ExtGState")),r.set("R0",t),a.set("ExtGState",r),b.set("Resources",a)}e=new F.StringStream(a);return e.dict=b,e}}class $ extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.HIGHLIGHT,this.data.quadPoints=c(t,null)){const e=this.appearance?.dict.get("Resources");if(!this.appearance||!e?.has("ExtGState")){this.appearance&&(0,S.warn)("HighlightAnnotation - ignoring built-in appearance stream.");const e=this.color?p(this.color):[1,1,0],r=t.get("CA");this._setDefaultAppearance({xref:a,fillColor:e,blendMode:"Multiply",fillAlpha:r,pointsCallback:(e,t)=>(e.push(`${t[0].x} ${t[0].y} m`,`${t[1].x} ${t[1].y} l`,`${t[3].x} ${t[3].y} l`,`${t[2].x} ${t[2].y} l`,"f"),[t[0].x,t[1].x,t[3].y,t[1].y])})}}else this.data.hasPopup=!1}}class U extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.UNDERLINE,this.data.quadPoints=c(t,null)){if(!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 0.571 w",strokeColor:e,strokeAlpha:S,pointsCallback:(e,t)=>(e.push(`${t[2].x} ${t[2].y+1.3} m`,`${t[3].x} ${t[3].y+1.3} l`,"S"),[t[0].x,t[1].x,t[3].y,t[1].y])})}}else this.data.hasPopup=!1}}class X extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.SQUIGGLY,this.data.quadPoints=c(t,null)){if(!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 1 w",strokeColor:e,strokeAlpha:S,pointsCallback:(e,t)=>{var a=(t[0].y-t[2].y)/6;let r=a,i=t[2].x;var n=t[2].y,s=t[3].x;for(e.push(`${i} ${n+r} m`);i+=2,r=0===r?a:0,e.push(`${i} ${n+r} l`),i<s;);return e.push("S"),[t[2].x,s,n-2*a,n+2*a]}})}}else this.data.hasPopup=!1}}class H extends u{constructor(e){super(e);var{dict:t,xref:a}=e;if(this.data.annotationType=S.AnnotationType.STRIKEOUT,this.data.quadPoints=c(t,null)){if(!this.appearance){const e=this.color?p(this.color):[0,0,0],S=t.get("CA");this._setDefaultAppearance({xref:a,extra:"[] 0 d 1 w",strokeColor:e,strokeAlpha:S,pointsCallback:(e,t)=>(e.push((t[0].x+t[2].x)/2+" "+(t[0].y+t[2].y)/2+" m",(t[1].x+t[3].x)/2+" "+(t[1].y+t[3].y)/2+" l","S"),[t[0].x,t[1].x,t[3].y,t[1].y])})}}else this.data.hasPopup=!1}}class q extends u{constructor(e){super(e),this.data.annotationType=S.AnnotationType.STAMP,this.data.hasOwnCanvas=this.data.noRotate}}class z extends u{constructor(e){super(e);var{dict:e,xref:t}=e,t=new s.FileSpec(e.get("FS"),t),t=(this.data.annotationType=S.AnnotationType.FILEATTACHMENT,this.data.hasOwnCanvas=this.data.noRotate,this.data.file=t.serializable,e.get("Name"));this.data.name=t instanceof C.Name?(0,S.stringToPDFString)(t.name):"PushPin"}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FakeUnicodeFont=void 0,t.createDefaultAppearance=function({fontSize:e,fontName:t,fontColor:a}){return`/${(0,w.escapePDFName)(t)} ${e} Tf `+S(a,!0)},t.getPdfColor=S,t.parseDefaultAppearance=function(e){return new n(e).parse()};var y=a(4),w=a(3),v=a(2),i=a(12),r=a(13),x=a(8);class n extends r.EvaluatorPreprocessor{constructor(e){super(new x.StringStream(e))}parse(){const e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,this.read(e);)if(0===this.savedStatesDepth){var a=e["args"];switch(0|r){case v.OPS.setFont:const[e,r]=a;e instanceof y.Name&&(t.fontName=e.name),"number"==typeof r&&0<r&&(t.fontSize=r);break;case v.OPS.setFillRGBColor:i.ColorSpace.singletons.rgb.getRgbItem(a,0,t.fontColor,0);break;case v.OPS.setFillGray:i.ColorSpace.singletons.gray.getRgbItem(a,0,t.fontColor,0);break;case v.OPS.setFillColorSpace:i.ColorSpace.singletons.cmyk.getRgbItem(a,0,t.fontColor,0)}}}catch(e){(0,v.warn)(`parseDefaultAppearance - ignoring errors: "${e}".`)}return t}}function S(e,t){var a;return e[0]===e[1]&&e[1]===e[2]?(a=e[0]/255,(0,w.numberToString)(a)+" "+(t?"g":"G")):Array.from(e,e=>(0,w.numberToString)(e/255)).join(" ")+" "+(t?"rg":"RG")}class s{constructor(e,t){this.xref=e,this.widths=null,this.firstChar=1/0,this.lastChar=-1/0,this.fontFamily=t;e=new OffscreenCanvas(1,1);this.ctxMeasure=e.getContext("2d"),s._fontNameId||(s._fontNameId=1),this.fontName=y.Name.get(`InvalidPDFjsFont_${t}_`+s._fontNameId++)}get toUnicodeRef(){var e,t,a;return s._toUnicodeRef||(e="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo\n<< /Registry (Adobe)\n/Ordering (UCS) /Supplement 0 >> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000> <FFFF>\nendcodespacerange\n1 beginbfrange\n<0000> <FFFF> <0000>\nendbfrange\nendcmap CMapName currentdict /CMap defineresource pop end end",t=s.toUnicodeStream=new x.StringStream(e),a=new y.Dict(this.xref),(t.dict=a).set("Length",e.length),s._toUnicodeRef=this.xref.getNewPersistentRef(t)),s._toUnicodeRef}get fontDescriptorRef(){var e;return s._fontDescriptorRef||((e=new y.Dict(this.xref)).set("Type",y.Name.get("FontDescriptor")),e.set("FontName",this.fontName),e.set("FontFamily","MyriadPro Regular"),e.set("FontBBox",[0,0,0,0]),e.set("FontStretch",y.Name.get("Normal")),e.set("FontWeight",400),e.set("ItalicAngle",0),s._fontDescriptorRef=this.xref.getNewPersistentRef(e)),s._fontDescriptorRef}get descendantFontRef(){const e=new y.Dict(this.xref);e.set("BaseFont",this.fontName),e.set("Type",y.Name.get("Font")),e.set("Subtype",y.Name.get("CIDFontType0")),e.set("CIDToGIDMap",y.Name.get("Identity")),e.set("FirstChar",this.firstChar),e.set("LastChar",this.lastChar),e.set("FontDescriptor",this.fontDescriptorRef),e.set("DW",1e3);var t=[];let a=null,r=null;for(const[e,y]of[...this.widths.entries()].sort())a?e===a+r.length?r.push(y):(t.push(a,r),a=e,r=[y]):(a=e,r=[y]);a&&t.push(a,r),e.set("W",t);var i=new y.Dict(this.xref);return i.set("Ordering","Identity"),i.set("Registry","Adobe"),i.set("Supplement",0),e.set("CIDSystemInfo",i),this.xref.getNewPersistentRef(e)}get baseFontRef(){var e=new y.Dict(this.xref);return e.set("BaseFont",this.fontName),e.set("Type",y.Name.get("Font")),e.set("Subtype",y.Name.get("Type0")),e.set("Encoding",y.Name.get("Identity-H")),e.set("DescendantFonts",[this.descendantFontRef]),e.set("ToUnicode",this.toUnicodeRef),this.xref.getNewPersistentRef(e)}get resources(){var e=new y.Dict(this.xref),t=new y.Dict(this.xref);return t.set(this.fontName.name,this.baseFontRef),e.set("Font",t),e}_createContext(){return this.widths=new Map,this.ctxMeasure.font="1000px "+this.fontFamily,this.ctxMeasure}createFontResources(e){var t=this._createContext();for(const i of e.split(/\r\n?|\n/))for(const e of i.split("")){var a,r=e.charCodeAt(0);this.widths.has(r)||(a=t.measureText(e),a=Math.ceil(a.width),this.widths.set(r,a),this.firstChar=Math.min(r,this.firstChar),this.lastChar=Math.max(r,this.lastChar))}return this.resources}createAppearance(e,t,a,r,i,n){var s,o=this._createContext(),l=[];let c=-1/0;for(const t of e.split(/\r\n?|\n/)){l.push(t);const e=o.measureText(t).width;c=Math.max(c,e);for(const e of t.split("")){const t=e.charCodeAt(0);if(void 0===this.widths.get(t)){const y=o.measureText(e);s=Math.ceil(y.width),this.widths.set(t,s),this.firstChar=Math.min(t,this.firstChar),this.lastChar=Math.max(t,this.lastChar)}}}c*=r/1e3;var[e,t,h,u]=t;let d=h-e,f=u-t,g=(a%180!=0&&([d,f]=[f,d]),1),p=(c>d&&(g=d/c),1);var h=v.LINE_FACTOR*r,e=v.LINE_DESCENT_FACTOR*r,u=h*l.length,t=(u>f&&(p=f/u),r*Math.min(g,p)),m=["q",`0 0 ${(0,w.numberToString)(d)} ${(0,w.numberToString)(f)} re W n`,"BT",`1 0 0 1 0 ${(0,w.numberToString)(f+e)} Tm 0 Tc `+S(i,!0),`/${this.fontName.name} ${(0,w.numberToString)(t)} Tf`],u=this["resources"];if(1!==(n="number"==typeof n&&0<=n&&n<=1?n:1)){m.push("/R0 gs");const e=new y.Dict(this.xref),t=new y.Dict(this.xref);t.set("ca",n),t.set("CA",n),t.set("Type",y.Name.get("ExtGState")),e.set("R0",t),u.set("ExtGState",e)}var b=(0,w.numberToString)(h);for(const e of l)m.push(`0 -${b} Td <${(0,w.stringToUTF16HexString)(e)}> Tj`);m.push("ET","Q");r=m.join("\n"),i=new y.Dict(this.xref);if(i.set("Subtype",y.Name.get("Form")),i.set("Type",y.Name.get("XObject")),i.set("BBox",[0,0,d,f]),i.set("Length",r.length),i.set("Resources",u),a){const e=(0,w.getRotationMatrix)(a,d,f);i.set("Matrix",e)}e=new x.StringStream(r);return e.dict=i,e}}t.FakeUnicodeFont=s},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorSpace=void 0;var S=a(2),d=a(4),i=a(5),n=a(3);class r{constructor(e,t){this.constructor===r&&(0,S.unreachable)("Cannot initialize ColorSpace."),this.name=e,this.numComps=t}getRgb(e,t){var a=new Uint8ClampedArray(3);return this.getRgbItem(e,t,a,0),a}getRgbItem(e,t,a,r){(0,S.unreachable)("Should not call ColorSpace.getRgbItem")}getRgbBuffer(e,t,a,r,i,n,s){(0,S.unreachable)("Should not call ColorSpace.getRgbBuffer")}getOutputLength(e,t){(0,S.unreachable)("Should not call ColorSpace.getOutputLength")}isPassthrough(e){return!1}isDefaultDecode(e,t){return r.isDefaultDecode(e,this.numComps)}fillRgb(i,r,n,s,o,l,e,a,c){var h=r*n;let u=null;var t=1<<e,d=n!==o||r!==s;if(this.isPassthrough(e))u=a;else if(1===this.numComps&&t<h&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){const r=new(e<=8?Uint8Array:Uint16Array)(t);for(let e=0;e<t;e++)r[e]=e;const n=new Uint8ClampedArray(3*t);if(this.getRgbBuffer(r,0,t,n,0,e,0),d){u=new Uint8Array(3*h);let t=0;for(let e=0;e<h;++e){const s=3*a[e];u[t++]=n[s],u[t++]=n[1+s],u[t++]=n[2+s]}}else{let t=0;for(let e=0;e<h;++e){const o=3*a[e];i[t++]=n[o],i[t++]=n[1+o],i[t++]=n[2+o],t+=c}}}else d?(u=new Uint8ClampedArray(3*h),this.getRgbBuffer(a,0,h,u,0,e,0)):this.getRgbBuffer(a,0,s*l,i,0,e,c);if(u)if(d){var f=u;var g=i;e=r;var p=n;var m=s;var b=o;var y=void 0;y=1!==c?0:c;var w=e/m,v=p/b;let t,a=0;var x=new Uint16Array(m),S=3*e;for(let e=0;e<m;e++)x[e]=3*Math.floor(e*w);for(let e=0;e<b;e++){const p=Math.floor(e*v)*S;for(let e=0;e<m;e++)t=p+x[e],g[a++]=f[t++],g[a++]=f[t++],g[a++]=f[+t],a+=y}return}else{let a=0,r=0;for(let e=0,t=s*l;e<t;e++)i[a++]=u[r++],i[a++]=u[r++],i[a++]=u[r++],a+=c}}get usesZeroToOneRange(){return(0,S.shadow)(this,"usesZeroToOneRange",!0)}static _cache(e,t,a,r){if(!a)throw new Error('ColorSpace._cache - expected "localColorSpaceCache" argument.');if(!r)throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.');let i,n;e instanceof d.Ref&&(n=e,e=t.fetch(e)),((i=e instanceof d.Name?e.name:i)||n)&&a.set(i,n,r)}static getCached(e,t,a){if(!a)throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.');if(e instanceof d.Ref){var r=a.getByRef(e);if(r)return r;try{e=t.fetch(e)}catch(e){if(e instanceof n.MissingDataException)throw e}}if(e instanceof d.Name){const t=a.getByName(e.name);if(t)return t}return null}static async parseAsync({cs:e,xref:t,resources:a=null,pdfFunctionFactory:r,localColorSpaceCache:i}){a=this._parse(e,t,a,r);return this._cache(e,t,i,a),a}static parse({cs:e,xref:t,resources:a=null,pdfFunctionFactory:r,localColorSpaceCache:i}){var n=this.getCached(e,t,i);return n||(n=this._parse(e,t,a,r),this._cache(e,t,i,n),n)}static _parse(s,o,l=null,c){if((s=o.fetchIfRef(s))instanceof d.Name)switch(s.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new g(null);default:if(l instanceof d.Dict){const S=l.get("ColorSpace");if(S instanceof d.Dict){var e=S.get(s.name);if(e){if(e instanceof d.Name)return this._parse(e,o,l,c);s=e;break}}}throw new S.FormatError("Unrecognized ColorSpace: "+s.name)}if(Array.isArray(s)){const d=o.fetchIfRef(s[0]).name;let e,t,a,r,i,n;switch(d){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return e=o.fetchIfRef(s[1]),r=e.getArray("WhitePoint"),i=e.getArray("BlackPoint"),n=e.get("Gamma"),new m(r,i,n);case"CalRGB":e=o.fetchIfRef(s[1]),r=e.getArray("WhitePoint"),i=e.getArray("BlackPoint"),n=e.getArray("Gamma");var h=e.getArray("Matrix");return new b(r,i,n,h);case"ICCBased":h=o.fetchIfRef(s[1]).dict,h=(t=h.get("N"),h.get("Alternate"));if(h){const s=this._parse(h,o,l,c);if(s.numComps===t)return s;(0,S.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===t)return this.singletons.gray;if(3===t)return this.singletons.rgb;if(4===t)return this.singletons.cmyk;break;case"Pattern":return a=(a=s[1]||null)&&this._parse(a,o,l,c),new g(a);case"I":case"Indexed":a=this._parse(s[1],o,l,c);var h=o.fetchIfRef(s[2])+1,u=o.fetchIfRef(s[3]);return new p(a,h,u);case"Separation":case"DeviceN":h=o.fetchIfRef(s[1]),u=(t=Array.isArray(h)?h.length:1,a=this._parse(s[2],o,l,c),c.create(s[3]));return new f(t,a,u);case"Lab":e=o.fetchIfRef(s[1]),r=e.getArray("WhitePoint"),i=e.getArray("BlackPoint");h=e.getArray("Range");return new y(r,i,h);default:throw new S.FormatError("Unimplemented ColorSpace object: "+d)}}throw new S.FormatError("Unrecognized ColorSpace object: "+s)}static isDefaultDecode(a,e){if(Array.isArray(a))if(2*e!==a.length)(0,S.warn)("The decode map is not the correct length");else for(let e=0,t=a.length;e<t;e+=2)if(0!==a[e]||1!==a[e+1])return!1;return!0}static get singletons(){return(0,S.shadow)(this,"singletons",{get gray(){return(0,S.shadow)(this,"gray",new s)},get rgb(){return(0,S.shadow)(this,"rgb",new o)},get cmyk(){return(0,S.shadow)(this,"cmyk",new l)}})}}class f extends(t.ColorSpace=r){constructor(e,t,a){super("Alternate",e),this.base=t,this.tintFn=a,this.tmpBuf=new Float32Array(t.numComps)}getRgbItem(e,t,a,r){var i=this.tmpBuf;this.tintFn(e,t,i,0),this.base.getRgbItem(i,0,a,r)}getRgbBuffer(e,t,a,r,i,n,s){var o=this.tintFn,l=this.base,c=1/((1<<n)-1),h=l.numComps,u=l.usesZeroToOneRange,n=(l.isPassthrough(8)||!u)&&0===s;let d=n?i:0;var f=n?r:new Uint8ClampedArray(h*a),g=this.numComps,p=new Float32Array(g),m=new Float32Array(h);let b,y;for(b=0;b<a;b++){for(y=0;y<g;y++)p[y]=e[t++]*c;if(o(p,0,m,0),u)for(y=0;y<h;y++)f[d++]=255*m[y];else l.getRgbItem(m,0,f,d),d+=h}n||l.getRgbBuffer(f,0,a,r,i,8,s)}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}class g extends r{constructor(e){super("Pattern",null),this.base=e}isDefaultDecode(e,t){(0,S.unreachable)("Should not call PatternCS.isDefaultDecode")}}class p extends r{constructor(e,t,a){super("Indexed",1),this.base=e,this.highVal=t;var r=e.numComps*t;if(this.lookup=new Uint8Array(r),a instanceof i.BaseStream){const e=a.getBytes(r);this.lookup.set(e)}else{if("string"!=typeof a)throw new S.FormatError("IndexedCS - unrecognized lookup table: "+a);for(let e=0;e<r;++e)this.lookup[e]=255&a.charCodeAt(e)}}getRgbItem(e,t,a,r){var i=this.base.numComps,e=e[t]*i;this.base.getRgbBuffer(this.lookup,e,1,a,r,8,0)}getRgbBuffer(t,a,r,i,n,e,s){var o=this.base,l=o.numComps,c=o.getOutputLength(l,s),h=this.lookup;for(let e=0;e<r;++e){const r=t[a++]*l;o.getRgbBuffer(h,r,1,i,n,8,s),n+=c}}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}isDefaultDecode(e,t){return!Array.isArray(e)||(2!==e.length?((0,S.warn)("Decode map length is not correct"),!0):!Number.isInteger(t)||t<1?((0,S.warn)("Bits per component is not correct"),!0):0===e[0]&&e[1]===(1<<t)-1)}}class s extends r{constructor(){super("DeviceGray",1)}getRgbItem(e,t,a,r){e=255*e[t];a[r]=a[r+1]=a[r+2]=e}getRgbBuffer(t,a,r,i,e,n,s){var o=255/((1<<n)-1);let l=a,c=e;for(let e=0;e<r;++e){const a=o*t[l++];i[c++]=a,i[c++]=a,i[c++]=a,c+=s}}getOutputLength(e,t){return e*(3+t)}}class o extends r{constructor(){super("DeviceRGB",3)}getRgbItem(e,t,a,r){a[r]=255*e[t],a[r+1]=255*e[t+1],a[r+2]=255*e[t+2]}getRgbBuffer(r,e,i,n,s,o,l){if(8===o&&0===l)n.set(r.subarray(e,e+3*i),s);else{var c=255/((1<<o)-1);let t=e,a=s;for(let e=0;e<i;++e)n[a++]=c*r[t++],n[a++]=c*r[t++],n[a++]=c*r[t++],a+=l}}getOutputLength(e,t){return e*(3+t)/3|0}isPassthrough(e){return 8===e}}const l=class extends r{constructor(){super("DeviceCMYK",4)}getRgbItem(e,t,a,r){u(e,t,1,a,r)}getRgbBuffer(t,a,r,i,n,e,s){var o=1/((1<<e)-1);for(let e=0;e<r;e++)u(t,a,o,i,n),a+=4,n+=3+s}getOutputLength(e,t){return e/4*(3+t)|0}},m=class extends r{constructor(e,t,a){if(super("CalGray",1),!e)throw new S.FormatError("WhitePoint missing - required for color space CalGray");if(t||=[0,0,0],a||=1,this.XW=e[0],this.YW=e[1],this.ZW=e[2],this.XB=t[0],this.YB=t[1],this.ZB=t[2],this.G=a,this.XW<0||this.ZW<0||1!==this.YW)throw new S.FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);(this.XB<0||this.YB<0||this.ZB<0)&&((0,S.info)(`Invalid BlackPoint for ${this.name}, falling back to default.`),this.XB=this.YB=this.ZB=0),0===this.XB&&0===this.YB&&0===this.ZB||(0,S.warn)(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ZB: ${this.ZB}, only default values are supported.`),this.G<1&&((0,S.info)(`Invalid Gamma: ${this.G} for ${this.name}, falling back to default.`),this.G=1)}getRgbItem(e,t,a,r){h(this,e,t,a,r,1)}getRgbBuffer(t,a,r,i,n,e,s){var o=1/((1<<e)-1);for(let e=0;e<r;++e)h(this,t,a,i,n,o),a+=1,n+=3+s}getOutputLength(e,t){return e*(3+t)}},b=function(){const u=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),d=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),f=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),g=new Float32Array([1,1,1]),p=new Float32Array(3),m=new Float32Array(3),b=new Float32Array(3),t=(24/116)**3/8;function y(e,t,a){a[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],a[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],a[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}function w(e){return e<=.0031308?v(0,1,12.92*e):.99554525<=e?1:v(0,1,1.055*e**(1/2.4)-.055)}function v(e,t,a){return Math.max(e,Math.min(t,a))}function x(e){return e<0?-x(-e):8<e?((e+16)/116)**3:e*t}function l(e,t,a,r,i,n){var s,o,l=v(0,1,t[a]*n),c=v(0,1,t[a+1]*n),t=v(0,1,t[a+2]*n),a=1===l?1:l**e.GR,n=1===c?1:c**e.GG,l=1===t?1:t**e.GB,c=e.MXA*a+e.MXB*n+e.MXC*l,t=e.MYA*a+e.MYB*n+e.MYC*l,a=e.MZA*a+e.MZB*n+e.MZC*l,n=m,l=(n[0]=c,n[1]=t,n[2]=a,b),h=(c=e.whitePoint,t=n,a=l,1===c[0]&&1===c[2]?(a[0]=t[0],a[1]=t[1],a[2]=t[2]):(n=a,y(u,t,n),t=p,c=c,n=n,(h=t)[0]=+n[0]/c[0],h[1]=+n[1]/c[1],h[2]=+n[2]/c[2],y(d,t,a)),m),e=(n=e.blackPoint,c=l,t=h,0===n[0]&&0===n[1]&&0===n[2]?(t[0]=c[0],t[1]=c[1],t[2]=c[2]):(l=1-(e=(1-(a=x(0)))/(1-x(n[0]))),o=1-(s=(1-a)/(1-x(n[1]))),n=1-(a=(1-a)/(1-x(n[2]))),t[0]=c[0]*e+l,t[1]=c[1]*s+o,t[2]=c[2]*a+n),b),a=(l=g,s=h,t=o=e,y(u,s,t),s=p,l=l,t=t,(c=s)[0]=.95047*t[0]/l[0],c[1]=+t[1]/l[1],c[2]=1.08883*t[2]/l[2],y(d,s,o),m);y(f,e,a),r[i]=255*w(a[0]),r[i+1]=255*w(a[1]),r[i+2]=255*w(a[2])}return class extends r{constructor(e,t,a,r){if(super("CalRGB",3),!e)throw new S.FormatError("WhitePoint missing - required for color space CalRGB");t||=new Float32Array(3),a||=new Float32Array([1,1,1]),r||=new Float32Array([1,0,0,0,1,0,0,0,1]);var i=e[0],n=e[1],s=e[2],e=(this.whitePoint=e,t[0]),o=t[1],l=t[2];if(this.blackPoint=t,this.GR=a[0],this.GG=a[1],this.GB=a[2],this.MXA=r[0],this.MYA=r[1],this.MZA=r[2],this.MXB=r[3],this.MYB=r[4],this.MZB=r[5],this.MXC=r[6],this.MYC=r[7],this.MZC=r[8],i<0||s<0||1!==n)throw new S.FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);(e<0||o<0||l<0)&&((0,S.info)(`Invalid BlackPoint for ${this.name} [${e}, ${o}, ${l}], falling back to default.`),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&((0,S.info)(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`),this.GR=this.GG=this.GB=1)}getRgbItem(e,t,a,r){l(this,e,t,a,r,1)}getRgbBuffer(t,a,r,i,n,e,s){var o=1/((1<<e)-1);for(let e=0;e<r;++e)l(this,t,a,i,n,o),a+=3,n+=3+s}getOutputLength(e,t){return e*(3+t)/3|0}}}(),y=class extends r{constructor(e,t,a){if(super("Lab",3),!e)throw new S.FormatError("WhitePoint missing - required for color space Lab");if(t||=[0,0,0],a||=[-100,100,-100,100],this.XW=e[0],this.YW=e[1],this.ZW=e[2],this.amin=a[0],this.amax=a[1],this.bmin=a[2],this.bmax=a[3],this.XB=t[0],this.YB=t[1],this.ZB=t[2],this.XW<0||this.ZW<0||1!==this.YW)throw new S.FormatError("Invalid WhitePoint components, no fallback available");(this.XB<0||this.YB<0||this.ZB<0)&&((0,S.info)("Invalid BlackPoint, falling back to default"),this.XB=this.YB=this.ZB=0),(this.amin>this.amax||this.bmin>this.bmax)&&((0,S.info)("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}getRgbItem(e,t,a,r){c(this,e,t,!1,a,r)}getRgbBuffer(t,a,r,i,n,e,s){var o=(1<<e)-1;for(let e=0;e<r;e++)c(this,t,a,o,i,n),a+=3,n+=3+s}getOutputLength(e,t){return e*(3+t)/3|0}isDefaultDecode(e,t){return!0}get usesZeroToOneRange(){return(0,S.shadow)(this,"usesZeroToOneRange",!1)}};function w(e){return 6/29<=e?e**3:108/841*(e-4/29)}function v(e,t,a,r){return a+e*(r-a)/t}function c(e,t,a,r,i,n){let s=t[a],o=t[a+1],l=t[a+2];!1!==r&&(s=v(s,r,0,100),o=v(o,r,e.amin,e.amax),l=v(l,r,e.bmin,e.bmax)),o>e.amax?o=e.amax:o<e.amin&&(o=e.amin),l>e.bmax?l=e.bmax:l<e.bmin&&(l=e.bmin);t=(s+16)/116,a=t+o/500,r=t-l/200,a=e.XW*w(a),t=e.YW*w(t),r=e.ZW*w(r);let c,h,u;u=e.ZW<1?(c=3.1339*a+-1.617*t+-.4906*r,h=-.9785*a+1.916*t+.0333*r,.072*a+-.229*t+1.4057*r):(c=3.2406*a+-1.5372*t+-.4986*r,h=-.9689*a+1.8758*t+.0415*r,.0557*a+-.204*t+1.057*r),i[n]=255*Math.sqrt(c),i[n+1]=255*Math.sqrt(h),i[n+2]=255*Math.sqrt(u)}function h(e,t,a,r,i,n){t=(t[a]*n)**e.G,a=e.YW*t,n=Math.max(295.8*a**.3333333333333333-40.8,0);r[i]=n,r[i+1]=n,r[i+2]=n}function u(e,t,a,r,i){var n=e[t]*a,s=e[t+1]*a,o=e[t+2]*a,e=e[t+3]*a;r[i]=255+n*(-4.387332384609988*n+54.48615194189176*s+18.82290502165302*o+212.25662451639585*e-285.2331026137004)+s*(1.7149763477362134*s-5.6096736904047315*o+-17.873870861415444*e-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*e+17.5119270841813)+e*(-21.86122147463605*e-189.48180835922747),r[i+1]=255+n*(8.841041422036149*n+60.118027045597366*s+6.871425592049007*o+31.159100130055922*e-79.2970844816548)+s*(-15.310361306967817*s+17.575251261109482*o+131.35250912493976*e-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*e-24.86741582555878)+e*(-20.737325471181034*e-187.80453709719578),r[i+2]=255+n*(.8842522430003296*n+8.078677503112928*s+30.89978309703729*o-.23883238689178934*e-14.183576799673286)+s*(10.49593273432072*s+63.02378494754052*o+50.606957656360734*e-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*e-193.58209356861505)+e*(-22.33816807309886*e-180.12613974708367)}},(w,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PartialEvaluator=e.EvaluatorPreprocessor=void 0;var H=t(2),x=t(14),q=t(4),S=t(34),c=t(37),k=t(41),d=t(50),A=t(51),o=t(42),h=t(57),r=t(16),z=t(59),C=t(8),G=t(5),n=t(60),B=t(12),b=t(18),F=t(38),O=t(61),l=t(39),a=t(3),s=t(45),u=t(40),v=t(62),I=t(63),g=t(64),y=t(65);const f=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,isOffscreenCanvasSupported:!1,canvasMaxAreaInBytes:-1,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),W=Promise.resolve();function D(e){e.fn===H.OPS.paintImageMaskXObject&&0<e.args[0]?.count&&e.args[0].count++}class V{static TIME_SLOT_DURATION_MS=20;static CHECK_TIME_EVERY=100;constructor(){this.reset()}check(){return!(++this.checked<V.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}reset(){this.endTime=Date.now()+V.TIME_SLOT_DURATION_MS,this.checked=0}}class p{constructor({xref:e,handler:t,pageIndex:a,idFactory:r,fontCache:i,builtInCMapCache:n,standardFontDataCache:s,globalImageCache:o,systemFontCache:l,options:c=null}){this.xref=e,this.handler=t,this.pageIndex=a,this.idFactory=r,this.fontCache=i,this.builtInCMapCache=n,this.standardFontDataCache=s,this.globalImageCache=o,this.systemFontCache=l,this.options=c||f,this.parsingType3Font=!1,this._regionalImageCache=new z.RegionalImageCache,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this),v.ImageResizer.setMaxArea(this.options.canvasMaxAreaInBytes)}get _pdfFunctionFactory(){var e=new h.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.options.isEvalSupported});return(0,H.shadow)(this,"_pdfFunctionFactory",e)}clone(e=null){var t=Object.create(this);return t.options=Object.assign(Object.create(null),this.options,e),t}hasBlendModes(e,t){if(e instanceof q.Dict&&(!e.objId||!t.has(e.objId))){for(var a=new q.RefSet(t),r=(e.objId&&a.put(e.objId),[e]),i=this.xref;r.length;){const e=r.shift(),t=e.get("ExtGState");if(t instanceof q.Dict)for(var n of t.getRawValues()){if(n instanceof q.Ref){if(a.has(n))continue;try{n=i.fetch(n)}catch(t){a.put(n),(0,H.info)(`hasBlendModes - ignoring ExtGState: "${t}".`);continue}}if(n instanceof q.Dict){n.objId&&a.put(n.objId);const t=n.get("BM");if(t instanceof q.Name){if("Normal"!==t.name)return!0}else if(void 0!==t&&Array.isArray(t))for(const e of t)if(e instanceof q.Name&&"Normal"!==e.name)return!0}}var s=e.get("XObject");if(s instanceof q.Dict)for(var o of s.getRawValues()){if(o instanceof q.Ref){if(a.has(o))continue;try{o=i.fetch(o)}catch(t){a.put(o),(0,H.info)(`hasBlendModes - ignoring XObject: "${t}".`);continue}}if(o instanceof G.BaseStream){o.dict.objId&&a.put(o.dict.objId);const t=o.dict.get("Resources");t instanceof q.Dict&&(t.objId&&a.has(t.objId)||(r.push(t),t.objId&&a.put(t.objId)))}}}for(const e of a)t.put(e)}return!1}async fetchBuiltInCMap(e){const t=this.builtInCMapCache.get(e);if(t)return t;let a;if(null!==this.options.cMapUrl){const t=""+this.options.cMapUrl+e+".bcmap",r=await fetch(t);if(!r.ok)throw new Error(`fetchBuiltInCMap: failed to fetch file "${t}" with "${r.statusText}".`);a={cMapData:new Uint8Array(await r.arrayBuffer()),compressionType:H.CMapCompressionType.BINARY}}else a=await this.handler.sendWithPromise("FetchBuiltInCMap",{name:e});return a.compressionType!==H.CMapCompressionType.NONE&&this.builtInCMapCache.set(e,a),a}async fetchStandardFontData(e){const t=this.standardFontDataCache.get(e);if(t)return new C.Stream(t);if(this.options.useSystemFonts&&"Symbol"!==e&&"ZapfDingbats"!==e)return null;var a=(0,k.getFontNameToFileMap)()[e];let r;if(null!==this.options.standardFontDataUrl){const e=""+this.options.standardFontDataUrl+a,t=await fetch(e);t.ok?r=await t.arrayBuffer():(0,H.warn)(`fetchStandardFontData: failed to fetch file "${e}" with "${t.statusText}".`)}else try{r=await this.handler.sendWithPromise("FetchStandardFontData",{filename:a})}catch(e){(0,H.warn)(`fetchStandardFontData: failed to fetch file "${a}" with "${e}".`)}return r?(this.standardFontDataCache.set(e,r),new C.Stream(r)):null}async buildFormXObject(t,a,r,i,e,n,s){var o=a.dict,l=o.getArray("Matrix");let c,h,u=o.getArray("BBox");u=Array.isArray(u)&&4===u.length?H.Util.normalizeRect(u):null,void 0!==(c=o.has("OC")?await this.parseMarkedContentProps(o.get("OC"),t):c)&&i.addOp(H.OPS.beginMarkedContentProps,["OC",c]);const d=o.get("Group");if(d){h={matrix:l,bbox:u,smask:r,isolated:!1,knockout:!1};const a=d.get("S");let e=null;if((0,q.isName)(a,"Transparency")&&(h.isolated=d.get("I")||!1,h.knockout=d.get("K")||!1,d.has("CS"))){const a=d.getRaw("CS");e=B.ColorSpace.getCached(a,this.xref,s)||await this.parseColorSpace({cs:a,resources:t,localColorSpaceCache:s})}r?.backdrop&&(e||=B.ColorSpace.singletons.rgb,r.backdrop=e.getRgb(r.backdrop,0)),i.addOp(H.OPS.beginGroup,[h])}s=d?[l,null]:[l,u];return i.addOp(H.OPS.paintFormXObjectBegin,s),this.getOperatorList({stream:a,task:e,resources:o.get("Resources")||t,operatorList:i,initialState:n}).then(function(){i.addOp(H.OPS.paintFormXObjectEnd,[]),d&&i.addOp(H.OPS.endGroup,[h]),void 0!==c&&i.addOp(H.OPS.endMarkedContent,[])})}_sendImgData(e,t,a=!1){var r=t?[t.bitmap||t.data.buffer]:null;return this.parsingType3Font||a?this.handler.send("commonobj",[e,"Image",t],r):this.handler.send("obj",[e,this.pageIndex,"Image",t],r)}async buildPaintImageXObject({resources:n,image:s,isInline:o=!1,operatorList:l,cacheKey:c,localImageCache:h,localColorSpaceCache:u}){const t=s.dict,d=t.objId,f=t.get("W","Width"),g=t.get("H","Height");if(f&&"number"==typeof f&&g&&"number"==typeof g){const a=this.options.maxImageSize;if(-1!==a&&f*g>a){const n="Image exceeded maximum allowed size and was removed.";if(this.options.ignoreErrors)return void(0,H.warn)(n);throw new Error(n)}let e,r,i;if(t.has("OC")&&(e=await this.parseMarkedContentProps(t.get("OC"),n)),t.get("IM","ImageMask")){const n=t.get("I","Interpolate"),o=f+7>>3,u=s.getBytes(o*g),a=t.getArray("D","Decode");if(this.parsingType3Font){if((r=y.PDFImage.createRawMask({imgArray:u,width:f,height:g,imageIsFromDecodeStream:s instanceof b.DecodeStream,inverseDecode:0<a?.[0],interpolate:n})).cached=!!c,i=[r],l.addImageOps(H.OPS.paintImageMaskXObject,i,e),c){const n={fn:H.OPS.paintImageMaskXObject,args:i,optionalContent:e};h.set(c,d,n),d&&this._regionalImageCache.set(null,d,n)}return}if((r=await y.PDFImage.createMask({imgArray:u,width:f,height:g,imageIsFromDecodeStream:s instanceof b.DecodeStream,inverseDecode:0<a?.[0],interpolate:n,isOffscreenCanvasSupported:this.options.isOffscreenCanvasSupported})).isSingleOpaquePixel){if(l.addImageOps(H.OPS.paintSolidColorImageMask,[],e),c){const n={fn:H.OPS.paintSolidColorImageMask,args:[],optionalContent:e};h.set(c,d,n),d&&this._regionalImageCache.set(null,d,n)}return}const p="mask_"+this.idFactory.createObjId();if(l.addDependency(p),this._sendImgData(p,r),i=[{data:p,width:r.width,height:r.height,interpolate:r.interpolate,count:1}],l.addImageOps(H.OPS.paintImageMaskXObject,i,e),c){const n={fn:H.OPS.paintImageMaskXObject,args:i,optionalContent:e};h.set(c,d,n),d&&this._regionalImageCache.set(null,d,n)}}else{const p=t.get("SM","SMask")||!1,m=t.get("Mask")||!1;if(o&&!p&&!m&&f+g<200){const c=new y.PDFImage({xref:this.xref,res:n,image:s,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:u});r=await c.createImageData(!0,!1),l.isOffscreenCanvasSupported=this.options.isOffscreenCanvasSupported,void l.addImageOps(H.OPS.paintInlineImageXObject,[r],e)}else{let t="img_"+this.idFactory.createObjId(),a=!1;if(this.parsingType3Font?t=this.idFactory.getDocId()+"_type3_"+t:d&&(a=this.globalImageCache.shouldCache(d,this.pageIndex))&&(t=this.idFactory.getDocId()+"_"+t),l.addDependency(t),i=[t,f,g],y.PDFImage.buildImage({xref:this.xref,res:n,image:s,isInline:o,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:u}).then(async e=>{return r=await e.createImageData(!1,this.options.isOffscreenCanvasSupported),c&&d&&a&&(e=0,e=r.bitmap?r.width*r.height*4:r.data.length,this.globalImageCache.addByteSize(d,e)),this._sendImgData(t,r,a)}).catch(e=>((0,H.warn)(`Unable to decode image "${t}": "${e}".`),this._sendImgData(t,null,a))),l.addImageOps(H.OPS.paintImageXObject,i,e),c){const n={fn:H.OPS.paintImageXObject,args:i,optionalContent:e};h.set(c,d,n),d&&(this._regionalImageCache.set(null,d,n),a)&&((0,H.assert)(!o,"Cannot cache an inline image globally."),this.globalImageCache.setData(d,{objId:t,fn:H.OPS.paintImageXObject,args:i,optionalContent:e,byteSize:0}))}}}}else(0,H.warn)("Image dimensions are missing, or not numbers.")}handleSMask(t,a,r,e,i,n){var s=t.get("G"),o={subtype:t.get("S").name,backdrop:t.get("BC")},l=t.get("TR");if((0,h.isPDFFunction)(l)){const t=this._pdfFunctionFactory.create(l),a=new Uint8Array(256),r=new Float32Array(1);for(let e=0;e<256;e++)r[0]=e/255,t(r,0,r,0),a[e]=255*r[0]|0;o.transferMap=a}return this.buildFormXObject(a,s,o,r,e,i.state.clone(),n)}handleTransferFunction(e){let t;if(Array.isArray(e))t=e;else{if(!(0,h.isPDFFunction)(e))return null;t=[e]}var a=[];let r=0,i=0;for(const e of t){const t=this.xref.fetchIfRef(e);if(r++,(0,q.isName)(t,"Identity"))a.push(null);else{if(!(0,h.isPDFFunction)(t))return null;var n=this._pdfFunctionFactory.create(t),s=new Uint8Array(256),o=new Float32Array(1);for(let e=0;e<256;e++)o[0]=e/255,n(o,0,o,0),s[e]=255*o[0]|0;a.push(s),i++}}return 1!==r&&4!==r||0===i?null:a}handleTilingType(a,r,e,t,i,n,s,o){const l=new g.OperatorList,c=q.Dict.merge({xref:this.xref,dictArray:[i.get("Resources"),e]});return this.getOperatorList({stream:t,task:s,resources:c,operatorList:l}).then(function(){var e=l.getIR(),t=(0,d.getTilingPatternIR)(e,i,r);n.addDependencies(l.dependencies),n.addOp(a,t),i.objId&&o.set(null,i.objId,{operatorListIR:e,dict:i})}).catch(e=>{if(!(e instanceof H.AbortException)){if(!this.options.ignoreErrors)throw e;(0,H.warn)(`handleTilingType - ignoring pattern: "${e}".`)}})}handleSetFont(e,t,a,r,i,n,s=null,o=null){t=t?.[0]instanceof q.Name?t[0].name:null;return this.loadFont(t,a,e,s,o).then(t=>t.font.isType3Font?t.loadType3Data(this,e,i).then(function(){return r.addDependencies(t.type3Dependencies),t}).catch(e=>new m({loadedName:"g_font_error",font:new S.ErrorFont("Type3 font load error: "+e),dict:t.font,evaluatorOptions:this.options})):t).then(e=>(n.font=e.font,e.send(this.handler),e.loadedName))}handleText(e,t){var a=t.font,e=a.charsToGlyphs(e);return a.data&&(t.textRenderingMode&H.TextRenderingMode.ADD_TO_PATH_FLAG||"Pattern"===t.fillColorSpace.name||a.disableFontFace||this.options.disableFontFace)&&p.buildFontPaths(a,e,this.handler,this.options),e}ensureStateFont(e){if(!e.font){e=new H.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(!this.options.ignoreErrors)throw e;(0,H.warn)(`ensureStateFont: "${e}".`)}}async setGState({resources:e,gState:t,operatorList:a,cacheKey:r,task:i,stateManager:n,localGStateCache:s,localColorSpaceCache:o}){const l=t.objId;let c=!0;const h=[];let u=Promise.resolve();for(const r of t.getKeys()){const s=t.get(r);switch(r){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":h.push([r,s]);break;case"Font":c=!1,u=u.then(()=>this.handleSetFont(e,null,s[0],a,i,n.state).then(function(e){a.addDependency(e),h.push([r,[e,s[1]]])}));break;case"BM":h.push([r,function e(t,a=!1){if(Array.isArray(t)){for(const a of t){const t=e(a,!0);if(t)return t}return(0,H.warn)("Unsupported blend mode Array: "+t),"source-over"}if(!(t instanceof q.Name))return a?null:"source-over";switch(t.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return a?null:((0,H.warn)("Unsupported blend mode: "+t.name),"source-over")}(s)]);break;case"SMask":(0,q.isName)(s,"None")?h.push([r,!1]):s instanceof q.Dict?(c=!1,u=u.then(()=>this.handleSMask(s,e,a,i,n,o)),h.push([r,!0])):(0,H.warn)("Unsupported SMask type");break;case"TR":const t=this.handleTransferFunction(s);h.push([r,t]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,H.info)("graphic state operator "+r);break;default:(0,H.info)("Unknown graphic state operator "+r)}}return u.then(function(){0<h.length&&a.addOp(H.OPS.setGState,[h]),c&&s.set(r,l,h)})}loadFont(e,t,a,r=null,i=null){var n=async()=>new m({loadedName:"g_font_error",font:new S.ErrorFont(`Font "${e}" is not available.`),dict:t,evaluatorOptions:this.options});let s;if(t)t instanceof q.Ref&&(s=t);else{const t=a.get("Font");t&&(s=t.getRaw(e))}if(s){if(this.parsingType3Font&&this.type3FontRefs.has(s))return n();if(this.fontCache.has(s))return this.fontCache.get(s);t=this.xref.fetchIfRef(s)}if(!(t instanceof q.Dict)){if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,H.warn)(`Font "${e}" is not available.`),n();(0,H.warn)(`Font "${e}" is not available -- attempting to fallback to a default font.`),t=r||p.fallbackFontDict}if(t.cacheKey&&this.fontCache.has(t.cacheKey))return this.fontCache.get(t.cacheKey);const o=new H.PromiseCapability;let l;try{(l=this.preEvaluateFont(t)).cssFontInfo=i}catch(e){return(0,H.warn)(`loadFont - preEvaluateFont failed: "${e}".`),n()}var{descriptor:a,hash:r}=l,i=s instanceof q.Ref;let c;if(r&&a instanceof q.Dict){const e=a.fontAliases||=Object.create(null);if(e[r]){const t=e[r].aliasRef;if(i&&t&&this.fontCache.has(t))return this.fontCache.putAlias(s,t),this.fontCache.get(s)}else e[r]={fontID:this.idFactory.createFontId()};i&&(e[r].aliasRef=s),c=e[r].fontID}else c=this.idFactory.createFontId();return(0,H.assert)(c?.startsWith("f"),'The "fontID" must be (correctly) defined.'),i?this.fontCache.put(s,o.promise):(t.cacheKey="cacheKey_"+c,this.fontCache.put(t.cacheKey,o.promise)),t.loadedName=this.idFactory.getDocId()+"_"+c,this.translateFont(l).then(e=>{o.resolve(new m({loadedName:t.loadedName,font:e,dict:t,evaluatorOptions:this.options}))}).catch(e=>{(0,H.warn)(`loadFont - translateFont failed: "${e}".`),o.resolve(new m({loadedName:t.loadedName,font:new S.ErrorFont(e instanceof Error?e.message:e),dict:t,evaluatorOptions:this.options}))}),o.promise}buildPath(t,a,r,i=!1){var e=t.length-1;if(r=r||[],e<0||t.fnArray[e]!==H.OPS.constructPath){let e;switch(i&&((0,H.warn)(`Encountered path operator "${a}" inside of a text object.`),t.addOp(H.OPS.save,null)),a){case H.OPS.rectangle:const t=r[0]+r[2],a=r[1]+r[3];e=[Math.min(r[0],t),Math.max(r[0],t),Math.min(r[1],a),Math.max(r[1],a)];break;case H.OPS.moveTo:case H.OPS.lineTo:e=[r[0],r[0],r[1],r[1]];break;default:e=[1/0,-1/0,1/0,-1/0]}t.addOp(H.OPS.constructPath,[[a],r,e]),i&&t.addOp(H.OPS.restore,null)}else{const i=t.argsArray[e];i[0].push(a),i[1].push(...r);var n=i[2];switch(a){case H.OPS.rectangle:const t=r[0]+r[2],a=r[1]+r[3];n[0]=Math.min(n[0],r[0],t),n[1]=Math.max(n[1],r[0],t),n[2]=Math.min(n[2],r[1],a),n[3]=Math.max(n[3],r[1],a);break;case H.OPS.moveTo:case H.OPS.lineTo:n[0]=Math.min(n[0],r[0]),n[1]=Math.max(n[1],r[0]),n[2]=Math.min(n[2],r[1]),n[3]=Math.max(n[3],r[1])}}}parseColorSpace({cs:e,resources:t,localColorSpaceCache:a}){return B.ColorSpace.parseAsync({cs:e,xref:this.xref,resources:t,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:a}).catch(e=>{if(e instanceof H.AbortException)return null;if(this.options.ignoreErrors)return(0,H.warn)(`parseColorSpace - ignoring ColorSpace: "${e}".`),null;throw e})}parseShading({shading:e,resources:t,localColorSpaceCache:a,localShadingPatternCache:r}){let i=r.get(e);return i||(t=d.Pattern.parseShading(e,this.xref,t,this._pdfFunctionFactory,a).getIR(),i="pattern_"+this.idFactory.createObjId(),this.parsingType3Font&&(i=this.idFactory.getDocId()+"_type3_"+i),r.set(e,i),this.parsingType3Font?this.handler.send("commonobj",[i,"Pattern",t]):this.handler.send("obj",[i,this.pageIndex,"Pattern",t])),i}handleColorN(e,t,a,r,i,n,s,o,l,c){var h=a.pop();if(h instanceof q.Name){var i=i.getRaw(h.name),u=i instanceof q.Ref&&l.getByRef(i);if(u)try{const H=r.base?r.base.getRgb(a,0):null,q=(0,d.getTilingPatternIR)(u.operatorListIR,u.dict,H);return void e.addOp(t,q)}catch(e){}u=this.xref.fetchIfRef(i);if(u){const q=u instanceof G.BaseStream?u.dict:u,i=q.get("PatternType");if(1===i){const H=r.base?r.base.getRgb(a,0):null;return this.handleTilingType(t,H,n,u,q,e,s,l)}if(2!==i)throw new H.FormatError("Unknown PatternType: "+i);{const a=q.get("Shading"),H=q.getArray("Matrix"),r=this.parseShading({shading:a,resources:n,localColorSpaceCache:o,localShadingPatternCache:c});return void e.addOp(t,["Shading",r,H])}}}throw new H.FormatError("Unknown PatternName: "+h)}_parseVisibilityExpression(t,a,r){if(10<++a)(0,H.warn)("Visibility expression is too deeply nested");else{const i=t.length,n=this.xref.fetchIfRef(t[0]);if(!(i<2)&&n instanceof q.Name){switch(n.name){case"And":case"Or":case"Not":r.push(n.name);break;default:return void(0,H.warn)(`Invalid operator ${n.name} in visibility expression`)}for(let e=1;e<i;e++){const i=t[e],n=this.xref.fetchIfRef(i);if(Array.isArray(n)){const t=[];r.push(t),this._parseVisibilityExpression(n,a,t)}else i instanceof q.Ref&&r.push(i.toString())}}else(0,H.warn)("Invalid visibility expression")}}async parseMarkedContentProps(e,t){let a;if(e instanceof q.Name)a=t.get("Properties").get(e.name);else{if(!(e instanceof q.Dict))throw new H.FormatError("Optional content properties malformed.");a=e}var r=a.get("Type").name;if("OCG"===r)return{type:r,id:a.objId};if("OCMD"===r){const e=a.get("VE");if(Array.isArray(e)){const t=[];if(this._parseVisibilityExpression(e,0,t),0<t.length)return{type:"OCMD",expression:t}}const t=a.get("OCGs");if(Array.isArray(t)||t instanceof q.Dict){const e=[];if(Array.isArray(t))for(const a of t)e.push(a.toString());else e.push(t.objId);return{type:r,ids:e,policy:a.get("P")instanceof q.Name?a.get("P").name:null,expression:null}}if(t instanceof q.Ref)return{type:r,id:t.toString()}}return null}getOperatorList({stream:e,task:m,resources:b,operatorList:y,initialState:t=null,fallbackFontDict:w=null}){if(b||=q.Dict.empty,t||=new i,!y)throw new Error('getOperatorList: missing "operatorList" parameter');const v=this,x=this.xref;let S=!1;const k=new z.LocalImageCache,A=new z.LocalColorSpaceCache,C=new z.LocalGStateCache,F=new z.LocalTilingPatternCache,O=new Map,I=b.get("XObject")||q.Dict.empty,T=b.get("Pattern")||q.Dict.empty,M=new K(t),P=new Y(e,x,M),E=new V;function N(){for(let e=0,t=P.savedStatesDepth;e<t;e++)y.addOp(H.OPS.restore,[])}return new Promise(function t(a,r){function i(e){Promise.all([e,y.ready]).then(function(){try{t(a,r)}catch(e){r(e)}},r)}m.ensureNotTerminated(),E.reset();var n={};let e,s,o,l,c,h;for(;!(e=E.check())&&(n.args=null,P.read(n));){let e=n.args,t=n.fn;switch(0|t){case H.OPS.paintXObject:if(h=e[0]instanceof q.Name,c=e[0].name,h){const m=k.getByName(c);if(m){y.addImageOps(m.fn,m.args,m.optionalContent),D(m),e=null;continue}}return void i(new Promise(function(e,t){if(!h)throw new H.FormatError("XObject must be referred to by name.");let a=I.getRaw(c);if(a instanceof q.Ref){const m=k.getByRef(a)||v._regionalImageCache.getByRef(a);if(m)return y.addImageOps(m.fn,m.args,m.optionalContent),D(m),void e();const b=v.globalImageCache.getData(a,v.pageIndex);if(b)return y.addDependency(b.objId),y.addImageOps(b.fn,b.args,b.optionalContent),void e();a=x.fetch(a)}if(!(a instanceof G.BaseStream))throw new H.FormatError("XObject should be a stream");var r=a.dict.get("Subtype");if(!(r instanceof q.Name))throw new H.FormatError("XObject should have a Name subtype");if("Form"===r.name)M.save(),v.buildFormXObject(b,a,null,y,m,M.state.clone(),A).then(function(){M.restore(),e()},t);else if("Image"!==r.name){if("PS"!==r.name)throw new H.FormatError("Unhandled XObject subtype "+r.name);(0,H.info)("Ignored XObject subtype PS"),e()}else v.buildPaintImageXObject({resources:b,image:a,operatorList:y,cacheKey:c,localImageCache:k,localColorSpaceCache:A}).then(e,t)}).catch(function(e){if(!(e instanceof H.AbortException)){if(!v.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring XObject: "${e}".`)}}));case H.OPS.setFont:var u=e[1];return void i(v.handleSetFont(b,e,null,y,m,M.state,w).then(function(e){y.addDependency(e),y.addOp(H.OPS.setFont,[e,u])}));case H.OPS.beginText:S=!0;break;case H.OPS.endText:S=!1;break;case H.OPS.endInlineImage:var d=e[0].cacheKey;if(d){const m=k.getByName(d);if(m){y.addImageOps(m.fn,m.args,m.optionalContent),D(m),e=null;continue}}return void i(v.buildPaintImageXObject({resources:b,image:e[0],isInline:!0,operatorList:y,cacheKey:d,localImageCache:k,localColorSpaceCache:A}));case H.OPS.showText:if(!M.state.font){v.ensureStateFont(M.state);continue}e[0]=v.handleText(e[0],M.state);break;case H.OPS.showSpacedText:if(!M.state.font){v.ensureStateFont(M.state);continue}var f=[],g=M.state;for(const m of e[0])"string"==typeof m?f.push(...v.handleText(m,g)):"number"==typeof m&&f.push(m);e[0]=f,t=H.OPS.showText;break;case H.OPS.nextLineShowText:if(!M.state.font){v.ensureStateFont(M.state);continue}y.addOp(H.OPS.nextLine),e[0]=v.handleText(e[0],M.state),t=H.OPS.showText;break;case H.OPS.nextLineSetSpacingShowText:if(!M.state.font){v.ensureStateFont(M.state);continue}y.addOp(H.OPS.nextLine),y.addOp(H.OPS.setWordSpacing,[e.shift()]),y.addOp(H.OPS.setCharSpacing,[e.shift()]),e[0]=v.handleText(e[0],M.state),t=H.OPS.showText;break;case H.OPS.setTextRenderingMode:M.state.textRenderingMode=e[0];break;case H.OPS.setFillColorSpace:{const m=B.ColorSpace.getCached(e[0],x,A);if(m){M.state.fillColorSpace=m;continue}return void i(v.parseColorSpace({cs:e[0],resources:b,localColorSpaceCache:A}).then(function(e){e&&(M.state.fillColorSpace=e)}))}case H.OPS.setStrokeColorSpace:{const m=B.ColorSpace.getCached(e[0],x,A);if(m){M.state.strokeColorSpace=m;continue}return void i(v.parseColorSpace({cs:e[0],resources:b,localColorSpaceCache:A}).then(function(e){e&&(M.state.strokeColorSpace=e)}))}case H.OPS.setFillColor:l=M.state.fillColorSpace,e=l.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeColor:l=M.state.strokeColorSpace,e=l.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.setFillGray:M.state.fillColorSpace=B.ColorSpace.singletons.gray,e=B.ColorSpace.singletons.gray.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeGray:M.state.strokeColorSpace=B.ColorSpace.singletons.gray,e=B.ColorSpace.singletons.gray.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.setFillCMYKColor:M.state.fillColorSpace=B.ColorSpace.singletons.cmyk,e=B.ColorSpace.singletons.cmyk.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeCMYKColor:M.state.strokeColorSpace=B.ColorSpace.singletons.cmyk,e=B.ColorSpace.singletons.cmyk.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.setFillRGBColor:M.state.fillColorSpace=B.ColorSpace.singletons.rgb,e=B.ColorSpace.singletons.rgb.getRgb(e,0);break;case H.OPS.setStrokeRGBColor:M.state.strokeColorSpace=B.ColorSpace.singletons.rgb,e=B.ColorSpace.singletons.rgb.getRgb(e,0);break;case H.OPS.setFillColorN:if("Pattern"===(l=M.state.fillColorSpace).name)return void i(v.handleColorN(y,H.OPS.setFillColorN,e,l,T,b,m,A,F,O));e=l.getRgb(e,0),t=H.OPS.setFillRGBColor;break;case H.OPS.setStrokeColorN:if("Pattern"===(l=M.state.strokeColorSpace).name)return void i(v.handleColorN(y,H.OPS.setStrokeColorN,e,l,T,b,m,A,F,O));e=l.getRgb(e,0),t=H.OPS.setStrokeRGBColor;break;case H.OPS.shadingFill:d=b.get("Shading");if(!d)throw new H.FormatError("No shading resource found");var p=d.get(e[0].name);if(!p)throw new H.FormatError("No shading object found");e=[v.parseShading({shading:p,resources:b,localColorSpaceCache:A,localShadingPatternCache:O})],t=H.OPS.shadingFill;break;case H.OPS.setGState:if(h=e[0]instanceof q.Name,c=e[0].name,h){const m=C.getByName(c);if(m){0<m.length&&y.addOp(H.OPS.setGState,[m]),e=null;continue}}return void i(new Promise(function(e,t){if(!h)throw new H.FormatError("GState must be referred to by name.");var a=b.get("ExtGState");if(!(a instanceof q.Dict))throw new H.FormatError("ExtGState should be a dictionary.");a=a.get(c);if(!(a instanceof q.Dict))throw new H.FormatError("GState should be a dictionary.");v.setGState({resources:b,gState:a,operatorList:y,cacheKey:c,task:m,stateManager:M,localGStateCache:C,localColorSpaceCache:A}).then(e,t)}).catch(function(e){if(!(e instanceof H.AbortException)){if(!v.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring ExtGState: "${e}".`)}}));case H.OPS.moveTo:case H.OPS.lineTo:case H.OPS.curveTo:case H.OPS.curveTo2:case H.OPS.curveTo3:case H.OPS.closePath:case H.OPS.rectangle:v.buildPath(y,t,e,S);continue;case H.OPS.markPoint:case H.OPS.markPointProps:case H.OPS.beginCompat:case H.OPS.endCompat:continue;case H.OPS.beginMarkedContentProps:if(!(e[0]instanceof q.Name)){(0,H.warn)("Expected name for beginMarkedContentProps arg0="+e[0]);continue}if("OC"===e[0].name)return void i(v.parseMarkedContentProps(e[1],b).then(e=>{y.addOp(H.OPS.beginMarkedContentProps,["OC",e])}).catch(e=>{if(!(e instanceof H.AbortException)){if(!v.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring beginMarkedContentProps: "${e}".`)}}));e=[e[0].name,e[1]instanceof q.Dict?e[1].get("MCID"):null];break;case H.OPS.beginMarkedContent:case H.OPS.endMarkedContent:default:if(null!==e){for(s=0,o=e.length;s<o&&!(e[s]instanceof q.Dict);s++);if(s<o){(0,H.warn)("getOperatorList - ignoring operator: "+t);continue}}}y.addOp(t,e)}e?i(W):(N(),a())}).catch(e=>{if(!(e instanceof H.AbortException)){if(!this.options.ignoreErrors)throw e;(0,H.warn)(`getOperatorList - ignoring errors during "${m.name}" task: "${e}".`),N()}})}getTextContent({stream:e,task:u,resources:d,stateManager:f=null,includeMarkedContent:g=!1,sink:p,seenStyles:m=new Set,viewBox:b,markedContentData:y=null,disableNormalization:w=!1}){d||=q.Dict.empty,f||=new K(new Z),g&&(y||={level:0});const v={items:[],styles:Object.create(null)},x={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},r=[" "," "];let i=0;function S(e){var t=(i+1)%2,a=" "!==r[i]&&" "===r[t];return r[i]=e,i=t,a}function k(){return" "!==r[i]&&" "===r[(i+1)%2]}function A(){r[0]=r[1]=" ",i=0}const C=this,F=this.xref,O=[];let I=null;const T=new z.LocalImageCache,M=new z.LocalGStateCache,P=new Y(e,F,f);let E;function N({width:e=0,height:t=0,transform:a=x.prevTransform,fontName:r=x.fontName}){v.items.push({str:" ",dir:"ltr",width:e,height:t,transform:a,fontName:r,hasEOL:!1})}function B(){var e=E.font,t=[E.fontSize*E.textHScale,0,0,E.fontSize,0,E.textRise];return e.isType3Font&&(E.fontSize<=1||e.isCharBBox)&&!(0,H.isArrayEqual)(E.fontMatrix,H.FONT_IDENTITY_MATRIX)&&0<(e=e.bbox[3]-e.bbox[1])&&(t[3]*=e*E.fontMatrix[3]),H.Util.transform(E.ctm,H.Util.transform(E.textMatrix,t))}function D(e,t){return C.loadFont(e,t,d).then(function(e){return e.font.isType3Font?e.loadType3Data(C,d,u).catch(function(){}).then(function(){return e}):e}).then(function(e){E.loadedName=e.loadedName,E.font=e.font,E.fontMatrix=e.font.fontMatrix||H.FONT_IDENTITY_MATRIX})}function R(e,t,a){var r=Math.hypot(a[0],a[1]);return[(a[0]*e+a[1]*t)/r,(a[2]*e+a[3]*t)/r]}function L({chars:e,extraSpacing:n}){var s=E.font;if(!e){const e=E.charSpacing+n;return e&&(s.vertical?E.translateTextMatrix(0,-e):E.translateTextMatrix(e*E.textHScale,0))}var t=s.charsToGlyphs(e),o=E.fontMatrix[0]*E.fontSize;for(let r=0,i=t.length;r<i;r++){var l,c,h=t[r],u=h["category"];if(!u.isInvisibleFormatMark){let e=E.charSpacing+(r+1===i?n:0),t=h.width,a=(t=s.vertical?h.vmetric?h.vmetric[0]:-t:t)*o;u.isWhitespace?(s.vertical?(e+=-a+E.wordSpacing,E.translateTextMatrix(0,-e)):(e+=a+E.wordSpacing,E.translateTextMatrix(e*E.textHScale,0)),S(" ")):u.isZeroWidthDiacritic||function(r){const i=B();let n=i[4],s=i[5];if(E.font?.vertical){if(n<b[0]||n>b[2]||s+r<b[1]||s>b[3])return}else if(n+r<b[0]||n>b[2]||s<b[1]||s>b[3])return;if(E.font&&x.prevTransform){let t=x.prevTransform[4],a=x.prevTransform[5];if(t!==n||a!==s){let e=-1;switch(i[0]&&0===i[1]&&0===i[2]?e=0<i[0]?0:180:i[1]&&0===i[0]&&0===i[3]&&(e=0<i[1]?90:270),e){case 0:break;case 90:[n,s]=[s,n],[t,a]=[a,t];break;case 180:[n,s,t,a]=[-n,-s,-t,-a];break;case 270:[n,s]=[-s,-n],[t,a]=[-a,-t];break;default:[n,s]=R(n,s,i),[t,a]=R(t,a,x.prevTransform)}if(E.font.vertical){const r=(a-s)/x.textAdvanceScale,i=n-t,e=Math.sign(x.height);r<e*x.negativeSpaceMax?(Math.abs(i)>.5*x.width?_:(A(),$))():Math.abs(i)>x.width?_():(r<=e*x.notASpace&&A(),r<=e*x.trackingSpaceMin?k()?(A(),$(),N({height:Math.abs(r)})):x.height+=r:j(r,x.prevTransform,e)||(0===x.str.length?(A(),N({height:Math.abs(r)})):x.height+=r),Math.abs(i)>.25*x.width&&$())}else{var r=(n-t)/x.textAdvanceScale,o=s-a,l=Math.sign(x.width);r<l*x.negativeSpaceMax?(Math.abs(o)>.5*x.height?_:(A(),$))():Math.abs(o)>x.height?_():(r<=l*x.notASpace&&A(),r<=l*x.trackingSpaceMin?k()?(A(),$(),N({width:Math.abs(r)})):x.width+=r:j(r,x.prevTransform,l)||(0===x.str.length?(A(),N({width:Math.abs(r)})):x.width+=r),Math.abs(o)>.25*x.height&&$())}}}return 1}(a)?(c=l=void 0,x.initialized||({font:l,loadedName:c}=E,m.has(c)||(m.add(c),v.styles[c]={fontFamily:l.fallbackName,ascent:l.ascent,descent:l.descent,vertical:l.vertical}),x.fontName=c,c=x.transform=B(),l.vertical?(x.width=x.totalWidth=Math.hypot(c[0],c[1]),x.height=x.totalHeight=0,x.vertical=!0):(x.width=x.totalWidth=0,x.height=x.totalHeight=Math.hypot(c[2],c[3]),x.vertical=!1),l=Math.hypot(E.textLineMatrix[0],E.textLineMatrix[1]),c=Math.hypot(E.ctm[0],E.ctm[1]),c=(x.textAdvanceScale=c*l,E)["fontSize"],x.trackingSpaceMin=.102*c,x.notASpace=.03*c,x.negativeSpaceMax=-.2*c,x.spaceInFlowMin=.102*c,x.spaceInFlowMax=.6*c,x.hasEOL=!1,x.initialized=!0),l=x,u.isZeroWidthDiacritic&&(a=0),s.vertical?(E.translateTextMatrix(0,a),a=Math.abs(a),l.height+=a):(a*=E.textHScale,E.translateTextMatrix(a,0),l.width+=a),a&&(l.prevTransform=B()),S(c=h.unicode)&&l.str.push(" "),l.str.push(c),e&&(s.vertical?E.translateTextMatrix(0,-e):E.translateTextMatrix(e*E.textHScale,0))):s.vertical?E.translateTextMatrix(0,a):E.translateTextMatrix(a*E.textHScale,0)}}}function _(){A(),x.initialized?(x.hasEOL=!0,$()):v.items.push({str:"",dir:"ltr",width:0,height:0,transform:B(),fontName:E.loadedName,hasEOL:!0})}function j(e,t,a){if(a*x.spaceInFlowMin<=e&&e<=a*x.spaceInFlowMax)return x.initialized&&(A(),x.str.push(" ")),0;a=x.fontName;let r=0;return x.vertical&&(r=e,e=0),$(),A(),N({width:Math.abs(e),height:Math.abs(r),transform:t||B(),fontName:a}),1}function $(){x.initialized&&x.str&&(x.vertical?x.totalHeight+=x.height*x.textAdvanceScale:x.totalWidth+=x.width*x.textAdvanceScale,v.items.push(function(e){let t=e.str.join("");w||(t=(0,H.normalizeUnicode)(t));var a=(0,n.bidi)(t,-1,e.vertical);return{str:a.str,dir:a.dir,width:Math.abs(e.totalWidth),height:Math.abs(e.totalHeight),transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}(x)),x.initialized=!1,x.str.length=0)}function U(e=!1){var t=v.items.length;0===t||e&&t<10||(p.enqueue(v,t),v.items=[],v.styles=Object.create(null))}const X=new V;return new Promise(function a(r,i){function e(e){U(!0),Promise.all([e,p.ready]).then(function(){try{a(r,i)}catch(e){i(e)}},i)}u.ensureNotTerminated(),X.reset();var t={};let n,s=[];for(;!(n=X.check())&&(s.length=0,t.args=s,P.read(t));){const a=E,r=(E=f.state,t.fn);switch(s=t.args,0|r){case H.OPS.setFont:var o=s[0].name,l=s[1];if(E.font&&o===E.fontName&&l===E.fontSize)break;return $(),E.fontName=o,E.fontSize=l,void e(D(o,null));case H.OPS.setTextRise:E.textRise=s[0];break;case H.OPS.setHScale:E.textHScale=s[0]/100;break;case H.OPS.setLeading:E.leading=s[0];break;case H.OPS.moveText:E.translateTextLineMatrix(s[0],s[1]),E.textMatrix=E.textLineMatrix.slice();break;case H.OPS.setLeadingMoveText:E.leading=-s[1],E.translateTextLineMatrix(s[0],s[1]),E.textMatrix=E.textLineMatrix.slice();break;case H.OPS.nextLine:E.carriageReturn();break;case H.OPS.setTextMatrix:E.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]),E.setTextLineMatrix(s[0],s[1],s[2],s[3],s[4],s[5]),l=void 0,x.initialized&&(l=Math.hypot(E.textLineMatrix[0],E.textLineMatrix[1]),(l=Math.hypot(E.ctm[0],E.ctm[1])*l)!==x.textAdvanceScale)&&(x.vertical?(x.totalHeight+=x.height*x.textAdvanceScale,x.height=0):(x.totalWidth+=x.width*x.textAdvanceScale,x.width=0),x.textAdvanceScale=l);break;case H.OPS.setCharSpacing:E.charSpacing=s[0];break;case H.OPS.setWordSpacing:E.wordSpacing=s[0];break;case H.OPS.beginText:E.textMatrix=H.IDENTITY_MATRIX.slice(),E.textLineMatrix=H.IDENTITY_MATRIX.slice();break;case H.OPS.showSpacedText:if(!f.state.font){C.ensureStateFont(f.state);continue}const r=(E.font.vertical?1:-1)*E.fontSize/1e3,i=s[0];for(let e=0,t=i.length;e<t;e++){const u=i[e];if("string"==typeof u)O.push(u);else if("number"==typeof u&&0!==u){const a=O.join("");O.length=0,L({chars:a,extraSpacing:u*r})}}if(0<O.length){const a=O.join("");L({chars:a,extraSpacing:O.length=0})}break;case H.OPS.showText:if(!f.state.font){C.ensureStateFont(f.state);continue}L({chars:s[0],extraSpacing:0});break;case H.OPS.nextLineShowText:if(!f.state.font){C.ensureStateFont(f.state);continue}E.carriageReturn(),L({chars:s[0],extraSpacing:0});break;case H.OPS.nextLineSetSpacingShowText:if(!f.state.font){C.ensureStateFont(f.state);continue}E.wordSpacing=s[0],E.charSpacing=s[1],E.carriageReturn(),L({chars:s[2],extraSpacing:0});break;case H.OPS.paintXObject:$(),I=I||d.get("XObject")||q.Dict.empty;var c=s[0]instanceof q.Name,h=s[0].name;if(c&&T.getByName(h))break;return void e(new Promise(function(e,t){if(!c)throw new H.FormatError("XObject must be referred to by name.");let a=I.getRaw(h);if(a instanceof q.Ref){if(T.getByRef(a))return void e();if(C.globalImageCache.getData(a,C.pageIndex))return void e();a=F.fetch(a)}if(!(a instanceof G.BaseStream))throw new H.FormatError("XObject should be a stream");var r=a.dict.get("Subtype");if(!(r instanceof q.Name))throw new H.FormatError("XObject should have a Name subtype");if("Form"!==r.name)T.set(h,a.dict.objId,!0),e();else{var r=f.state.clone(),r=new K(r),i=a.dict.getArray("Matrix");Array.isArray(i)&&6===i.length&&r.transform(i),U();const n={enqueueInvoked:!1,enqueue(e,t){this.enqueueInvoked=!0,p.enqueue(e,t)},get desiredSize(){return p.desiredSize},get ready(){return p.ready}};C.getTextContent({stream:a,task:u,resources:a.dict.get("Resources")||d,stateManager:r,includeMarkedContent:g,sink:n,seenStyles:m,viewBox:b,markedContentData:y,disableNormalization:w}).then(function(){n.enqueueInvoked||T.set(h,a.dict.objId,!0),e()},t)}}).catch(function(e){if(!(e instanceof H.AbortException)){if(!C.options.ignoreErrors)throw e;(0,H.warn)(`getTextContent - ignoring XObject: "${e}".`)}}));case H.OPS.setGState:if(c=s[0]instanceof q.Name,h=s[0].name,c&&M.getByName(h))break;return void e(new Promise(function(e,t){if(!c)throw new H.FormatError("GState must be referred to by name.");var a=d.get("ExtGState");if(!(a instanceof q.Dict))throw new H.FormatError("ExtGState should be a dictionary.");a=a.get(h);if(!(a instanceof q.Dict))throw new H.FormatError("GState should be a dictionary.");var r=a.get("Font");r?($(),E.fontName=null,E.fontSize=r[1],D(null,r[0]).then(e,t)):(M.set(h,a.objId,!0),e())}).catch(function(e){if(!(e instanceof H.AbortException)){if(!C.options.ignoreErrors)throw e;(0,H.warn)(`getTextContent - ignoring ExtGState: "${e}".`)}}));case H.OPS.beginMarkedContent:$(),g&&(y.level++,v.items.push({type:"beginMarkedContent",tag:s[0]instanceof q.Name?s[0].name:null}));break;case H.OPS.beginMarkedContentProps:if($(),g){y.level++;let e=null;s[1]instanceof q.Dict&&(e=s[1].get("MCID")),v.items.push({type:"beginMarkedContentProps",id:Number.isInteger(e)?C.idFactory.getPageObjId()+"_mc"+e:null,tag:s[0]instanceof q.Name?s[0].name:null})}break;case H.OPS.endMarkedContent:if($(),g){if(0===y.level)break;y.level--,v.items.push({type:"endMarkedContent"})}break;case H.OPS.restore:!a||a.font===E.font&&a.fontSize===E.fontSize&&a.fontName===E.fontName||$()}if(v.items.length>=p.desiredSize){n=!0;break}}n?e(W):($(),U(),r())}).catch(e=>{if(!(e instanceof H.AbortException)){if(!this.options.ignoreErrors)throw e;(0,H.warn)(`getTextContent - ignoring errors during "${u.name}" task: "${e}".`),$(),U()}})}extractDataStructures(t,e,a){var r=this.xref;let i;e=this.readToUnicode(a.toUnicode||t.get("ToUnicode")||e.get("ToUnicode"));if(a.composite){const e=t.get("CIDSystemInfo");e instanceof q.Dict&&(a.cidSystemInfo={registry:(0,H.stringToPDFString)(e.get("Registry")),ordering:(0,H.stringToPDFString)(e.get("Ordering")),supplement:e.get("Supplement")});try{const e=t.get("CIDToGIDMap");e instanceof G.BaseStream&&(i=e.getBytes())}catch(t){if(!this.options.ignoreErrors)throw t;(0,H.warn)(`extractDataStructures - ignoring CIDToGIDMap data: "${t}".`)}}var n=[];let s,o=null;if(t.has("Encoding")){if((s=t.get("Encoding"))instanceof q.Dict){if(o=(o=s.get("BaseEncoding"))instanceof q.Name?o.name:null,s.has("Differences")){const t=s.get("Differences");let e=0;for(const a of t){const t=r.fetchIfRef(a);if("number"==typeof t)e=t;else{if(!(t instanceof q.Name))throw new H.FormatError("Invalid entry in 'Differences' array: "+t);n[e++]=t.name}}}}else if(s instanceof q.Name)o=s.name;else{const t="Encoding is not a Name nor a Dict";if(!this.options.ignoreErrors)throw new H.FormatError(t);(0,H.warn)(t)}"MacRomanEncoding"!==o&&"MacExpertEncoding"!==o&&"WinAnsiEncoding"!==o&&(o=null)}var l=!a.file||a.isInternalFont;if(o=o&&l&&(0,k.getSymbolsFonts)()[a.name]?null:o)a.defaultEncoding=(0,c.getEncoding)(o);else{const t=!!(a.flags&F.FontFlags.Symbolic),e=!!(a.flags&F.FontFlags.Nonsymbolic);s=c.StandardEncoding,"TrueType"!==a.type||e||(s=c.WinAnsiEncoding),t&&(s=c.MacRomanEncoding,l)&&(/Symbol/i.test(a.name)?s=c.SymbolSetEncoding:/Dingbats/i.test(a.name)?s=c.ZapfDingbatsEncoding:/Wingdings/i.test(a.name)&&(s=c.WinAnsiEncoding)),a.defaultEncoding=s}return a.differences=n,a.baseEncodingName=o,a.hasEncoding=!!o||0<n.length,a.dict=t,e.then(e=>(a.toUnicode=e,this.buildToUnicode(a))).then(e=>(a.toUnicode=e,i&&(a.cidToGidMap=this.readCidToGidMap(i,e)),a))}_simpleFontToUnicode(a,r=!1){(0,H.assert)(!a.composite,"Must be a simple font.");const i=[],e=a.defaultEncoding.slice(),n=a.baseEncodingName,t=a.differences;for(const a in t){const r=t[a];".notdef"!==r&&(e[a]=r)}var s=(0,l.getGlyphsUnicode)();for(const H in e){let t=e[H];if(""!==t){var o=s[t];if(void 0!==o)i[H]=String.fromCharCode(o);else{let e=0;switch(t[0]){case"G":3===t.length&&(e=parseInt(t.substring(1),16));break;case"g":5===t.length&&(e=parseInt(t.substring(1),16));break;case"C":case"c":if(3<=t.length&&t.length<=4){const i=t.substring(1);if(r){e=parseInt(i,16);break}if(e=+i,Number.isNaN(e)&&Number.isInteger(parseInt(i,16)))return this._simpleFontToUnicode(a,!0)}break;case"u":-1!==(o=(0,u.getUnicodeForGlyph)(t,s))&&(e=o);break;default:switch(t){case"f_h":case"f_t":case"T_h":i[H]=t.replaceAll("_","");continue}}if(0<e&&e<=1114111&&Number.isInteger(e)){if(n&&e===+H){const a=(0,c.getEncoding)(n);if(a&&(t=a[H])){i[H]=String.fromCharCode(s[t]);continue}}i[H]=String.fromCodePoint(e)}}}}return i}async buildToUnicode(e){if(e.hasIncludedToUnicodeMap=0<e.toUnicode?.length,e.hasIncludedToUnicodeMap)return!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._simpleFontToUnicode(e)),e.toUnicode;if(!e.composite)return new o.ToUnicodeMap(this._simpleFontToUnicode(e));if(!e.composite||(!e.cMap.builtInCMap||e.cMap instanceof x.IdentityCMap)&&("Adobe"!==e.cidSystemInfo.registry||"GB1"!==e.cidSystemInfo.ordering&&"CNS1"!==e.cidSystemInfo.ordering&&"Japan1"!==e.cidSystemInfo.ordering&&"Korea1"!==e.cidSystemInfo.ordering))return new o.IdentityToUnicodeMap(e.firstChar,e.lastChar);{const{registry:t,ordering:a}=e.cidSystemInfo,r=q.Name.get(t+`-${a}-UCS2`),i=await x.CMapFactory.create({encoding:r,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),n=[],s=[];return e.cMap.forEach(function(e,t){if(65535<t)throw new H.FormatError("Max size of CID is 65,535");var a=i.lookup(t);if(a){for(let e=s.length=0,t=a.length;e<t;e+=2)s.push((a.charCodeAt(e)<<8)+a.charCodeAt(e+1));n[e]=String.fromCharCode(...s)}}),new o.ToUnicodeMap(n)}}readToUnicode(e){return e?e instanceof q.Name?x.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(e){return e instanceof x.IdentityCMap?new o.IdentityToUnicodeMap(0,65535):new o.ToUnicodeMap(e.getMap())}):e instanceof G.BaseStream?x.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(e){if(e instanceof x.IdentityCMap)return new o.IdentityToUnicodeMap(0,65535);const i=new Array(e.length);return e.forEach(function(e,t){if("number"==typeof t)i[e]=String.fromCodePoint(t);else{var a,r=[];for(let e=0;e<t.length;e+=2){const i=t.charCodeAt(e)<<8|t.charCodeAt(e+1);55296!=(63488&i)?r.push(i):(e+=2,a=t.charCodeAt(e)<<8|t.charCodeAt(e+1),r.push(((1023&i)<<10)+(1023&a)+65536))}i[e]=String.fromCodePoint(...r)}}),new o.ToUnicodeMap(i)},e=>{if(e instanceof H.AbortException)return null;if(this.options.ignoreErrors)return(0,H.warn)(`readToUnicode - ignoring ToUnicode data: "${e}".`),null;throw e}):Promise.resolve(null):Promise.resolve(null)}readCidToGidMap(a,r){var i=[];for(let e=0,t=a.length;e<t;e++){var n=a[e++]<<8|a[e],s=e>>1;0==n&&!r.has(s)||(i[s]=n)}return i}extractWidths(e,t,a){var r=this.xref;let i=[],n=0;const s=[];let o,l,c,h,u,d,f,g;if(a.composite){if(n=e.has("DW")?e.get("DW"):1e3,g=e.get("W"))for(l=0,c=g.length;l<c;l++)if(d=r.fetchIfRef(g[l++]),f=r.fetchIfRef(g[l]),Array.isArray(f))for(h=0,u=f.length;h<u;h++)i[d++]=r.fetchIfRef(f[h]);else{const e=r.fetchIfRef(g[++l]);for(h=d;h<=f;h++)i[h]=e}if(a.vertical){var p=e.getArray("DW2")||[880,-1e3];if(o=[p[1],.5*n,p[0]],p=e.get("W2"))for(l=0,c=p.length;l<c;l++)if(d=r.fetchIfRef(p[l++]),f=r.fetchIfRef(p[l]),Array.isArray(f))for(h=0,u=f.length;h<u;h++)s[d++]=[r.fetchIfRef(f[h++]),r.fetchIfRef(f[h++]),r.fetchIfRef(f[h])];else{const e=[r.fetchIfRef(p[++l]),r.fetchIfRef(p[++l]),r.fetchIfRef(p[++l])];for(h=d;h<=f;h++)s[h]=e}}}else{const s=a.firstChar;if(g=e.get("Widths")){for(h=s,l=0,c=g.length;l<c;l++)i[h++]=r.fetchIfRef(g[l]);n=parseFloat(t.get("MissingWidth"))||0}else{const t=e.get("BaseFont");if(t instanceof q.Name){const e=this.getBaseFontMetrics(t.name);i=this.buildCharCodeToWidth(e.widths,a),n=e.defaultWidth}}}let m=!0,b=n;for(const e in i){const t=i[e];if(t)if(b){if(b!==t){m=!1;break}}else b=t}m?a.flags|=F.FontFlags.FixedPitch:a.flags&=~F.FontFlags.FixedPitch,a.defaultWidth=n,a.widths=i,a.defaultVMetrics=o,a.vmetrics=s}isSerifFont(e){e=e.split("-")[0];return e in(0,k.getSerifFonts)()||/serif/gi.test(e)}getBaseFontMetrics(e){let t=0,a=Object.create(null),r=!1,i=(0,k.getStdFontMap)()[e]||e;var n=(0,s.getMetrics)(),n=n[i=i in n?i:this.isSerifFont(e)?"Times-Roman":"Helvetica"];return"number"==typeof n?(t=n,r=!0):a=n(),{defaultWidth:t,monospace:r,widths:a}}buildCharCodeToWidth(t,e){var a=Object.create(null),r=e.differences,i=e.defaultEncoding;for(let e=0;e<256;e++)e in r&&t[r[e]]?a[e]=t[r[e]]:e in i&&t[i[e]]&&(a[e]=t[i[e]]);return a}preEvaluateFont(t){const a=t;let r=t.get("Subtype");if(!(r instanceof q.Name))throw new H.FormatError("invalid font Subtype");let e,i,n=!1;if("Type0"===r.name){const a=t.get("DescendantFonts");if(!a)throw new H.FormatError("Descendant fonts are not specified");if(!((t=Array.isArray(a)?this.xref.fetchIfRef(a[0]):a)instanceof q.Dict))throw new H.FormatError("Descendant font is not a dictionary.");if(!((r=t.get("Subtype"))instanceof q.Name))throw new H.FormatError("invalid font Subtype");n=!0}var s=t.get("FirstChar")||0,o=t.get("LastChar")||(n?65535:255),l=t.get("FontDescriptor");if(l){e=new I.MurmurHash3_64;const r=a.getRaw("Encoding");if(r instanceof q.Name)e.update(r.name);else if(r instanceof q.Ref)e.update(r.toString());else if(r instanceof q.Dict)for(const t of r.getRawValues())if(t instanceof q.Name)e.update(t.name);else if(t instanceof q.Ref)e.update(t.toString());else if(Array.isArray(t)){const a=t.length,r=new Array(a);for(let e=0;e<a;e++){const a=t[e];a instanceof q.Name?r[e]=a.name:("number"==typeof a||a instanceof q.Ref)&&(r[e]=a.toString())}e.update(r.join())}if(e.update(s+"-"+o),(i=t.get("ToUnicode")||a.get("ToUnicode"))instanceof G.BaseStream){const t=i.str||i,a=t.buffer?new Uint8Array(t.buffer.buffer,0,t.bufferLength):new Uint8Array(t.bytes.buffer,t.start,t.end-t.start);e.update(a)}else i instanceof q.Name&&e.update(i.name);const H=t.get("Widths")||a.get("Widths");if(Array.isArray(H)){const t=[];for(const a of H)("number"==typeof a||a instanceof q.Ref)&&t.push(a.toString());e.update(t.join())}if(n){e.update("compositeFont");const r=t.get("W")||a.get("W");if(Array.isArray(r)){const t=[];for(const a of r)if("number"==typeof a||a instanceof q.Ref)t.push(a.toString());else if(Array.isArray(a)){const r=[];for(const t of a)("number"==typeof t||t instanceof q.Ref)&&r.push(t.toString());t.push(`[${r.join()}]`)}e.update(t.join())}const H=t.getRaw("CIDToGIDMap")||a.getRaw("CIDToGIDMap");H instanceof q.Name?e.update(H.name):H instanceof q.Ref?e.update(H.toString()):H instanceof G.BaseStream&&e.update(H.peekBytes())}}return{descriptor:l,dict:t,baseDict:a,composite:n,type:r.name,firstChar:s,lastChar:o,toUnicode:i,hash:e?e.hexdigest():""}}async translateFont({descriptor:t,dict:r,baseDict:i,composite:n,type:s,firstChar:o,lastChar:l,toUnicode:c,cssFontInfo:h}){var u="Type3"===s;let d;if(!t){if(!u){let a=r.get("BaseFont");if(!(a instanceof q.Name))throw new H.FormatError("Base font is not specified");a=a.name.replaceAll(/[,_]/g,"-");const x=this.getBaseFontMetrics(a),n=a.split("-")[0],A=(this.isSerifFont(n)?F.FontFlags.Serif:0)|(x.monospace?F.FontFlags.FixedPitch:0)|((0,k.getSymbolsFonts)()[n]?F.FontFlags.Symbolic:F.FontFlags.Nonsymbolic),h=(d={type:s,name:a,loadedName:i.loadedName,systemFontInfo:null,widths:x.widths,defaultWidth:x.defaultWidth,isSimulatedFlags:!0,flags:A,firstChar:o,lastChar:l,toUnicode:c,xHeight:0,capHeight:0,italicAngle:0,isType3Font:u},r.get("Widths")),C=(0,k.getStandardFontName)(a);let e=null;return C&&(e=await this.fetchStandardFontData(C),d.isInternalFont=!!e),!d.isInternalFont&&this.options.useSystemFonts&&(d.systemFontInfo=(0,O.getFontSubstitution)(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,a,C)),this.extractDataStructures(r,r,d).then(t=>{if(h){const a=[];let e=o;for(const t of h)a[e++]=this.xref.fetchIfRef(t);t.widths=a}else t.widths=this.buildCharCodeToWidth(x.widths,t);return new S.Font(a,e,t)})}(t=new q.Dict(null)).set("FontName",q.Name.get(s)),t.set("FontBBox",r.getArray("FontBBox")||[0,0,0,0])}let a,e,f,g,p,m=t.get("FontName"),b=r.get("BaseFont");if("string"==typeof m&&(m=q.Name.get(m)),"string"==typeof b&&(b=q.Name.get(b)),!u){const t=m?.name,r=b?.name;t!==r&&((0,H.info)(`The FontDescriptor's FontName is "${t}" but should be the same as the Font's BaseFont "${r}".`),t)&&r?.startsWith(t)&&(m=b)}if(!((m||=b)instanceof q.Name))throw new H.FormatError("invalid font name");try{a=t.get("FontFile","FontFile2","FontFile3")}catch(t){if(!this.options.ignoreErrors)throw t;(0,H.warn)(`translateFont - fetching "${m.name}" font file: "${t}".`),a=new C.NullStream}let y=!1,w=null,v=null;if(a){if(a.dict){const t=a.dict.get("Subtype");t instanceof q.Name&&(e=t.name),f=a.dict.get("Length1"),g=a.dict.get("Length2"),p=a.dict.get("Length3")}}else if(h){const t=(0,A.getXfaFontName)(m.name);t&&(h.fontFamily=h.fontFamily+"-PdfJS-XFA",h.metrics=t.metrics||null,w=t.factors||null,a=await this.fetchStandardFontData(t.name),y=!!a,i=r=(0,A.getXfaFontDict)(m.name),n=!0)}else if(!u){const t=(0,k.getStandardFontName)(m.name);t&&(a=await this.fetchStandardFontData(t),y=!!a),!y&&this.options.useSystemFonts&&(v=(0,O.getFontSubstitution)(this.systemFontCache,this.idFactory,this.options.standardFontDataUrl,m.name,t))}if(d={type:s,name:m.name,subtype:e,file:a,length1:f,length2:g,length3:p,isInternalFont:y,loadedName:i.loadedName,composite:n,fixedPitch:!1,fontMatrix:r.getArray("FontMatrix")||H.FONT_IDENTITY_MATRIX,firstChar:o,lastChar:l,toUnicode:c,bbox:t.getArray("FontBBox")||r.getArray("FontBBox"),ascent:t.get("Ascent"),descent:t.get("Descent"),xHeight:t.get("XHeight")||0,capHeight:t.get("CapHeight")||0,flags:t.get("Flags"),italicAngle:t.get("ItalicAngle")||0,isType3Font:u,cssFontInfo:h,scaleFactors:w,systemFontInfo:v},n){const t=i.get("Encoding"),r=(t instanceof q.Name&&(d.cidEncoding=t.name),await x.CMapFactory.create({encoding:t,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}));d.cMap=r,d.vertical=d.cMap.vertical}return this.extractDataStructures(r,i,d).then(e=>(this.extractWidths(r,t,e),new S.Font(m.name,a,e)))}static buildFontPaths(a,e,r,i){function t(e){var t=a.loadedName+"_path_"+e;try{a.renderer.hasBuiltPath(e)||r.send("commonobj",[t,"FontPath",a.renderer.getPathJs(e)])}catch(e){if(i.ignoreErrors)return(0,H.warn)(`buildFontPaths - ignoring ${t} glyph: "${e}".`);throw e}}for(const a of e){t(a.fontChar);const e=a.accent;e?.fontChar&&t(e.fontChar)}}static get fallbackFontDict(){var e=new q.Dict;return e.set("BaseFont",q.Name.get("Helvetica")),e.set("Type",q.Name.get("FallbackType")),e.set("Subtype",q.Name.get("FallbackType")),e.set("Encoding",q.Name.get("WinAnsiEncoding")),(0,H.shadow)(this,"fallbackFontDict",e)}}e.PartialEvaluator=p;class m{constructor({loadedName:e,font:t,dict:a,evaluatorOptions:r}){this.loadedName=e,this.font=t,this.dict=a,this._evaluatorOptions=r||f,this.type3Loaded=null,this.type3Dependencies=t.isType3Font?new Set:null,this.sent=!1}send(e){this.sent||(this.sent=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}fallback(e){this.font.data&&(this.font.disableFontFace=!0,p.buildFontPaths(this.font,this.font.glyphCacheValues,e,this._evaluatorOptions))}loadType3Data(a,t,r){if(!this.type3Loaded){if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");const i=a.clone({ignoreErrors:!1});i.parsingType3Font=!0;a=new q.RefSet(a.type3FontRefs);this.dict.objId&&!a.has(this.dict.objId)&&a.put(this.dict.objId),i.type3FontRefs=a;const n=this.font,s=this.type3Dependencies;let e=Promise.resolve();const o=this.dict.get("CharProcs"),l=this.dict.get("Resources")||t,c=Object.create(null),h=H.Util.normalizeRect(n.bbox||[0,0,0,0]),u=h[2]-h[0],d=h[3]-h[1],f=Math.hypot(u,d);for(const a of o.getKeys())e=e.then(()=>{const e=o.get(a),t=new g.OperatorList;return i.getOperatorList({stream:e,task:r,resources:l,operatorList:t}).then(()=>{t.fnArray[0]===H.OPS.setCharWidthAndBounds&&this._removeType3ColorOperators(t,f),c[a]=t.getIR();for(const a of t.dependencies)s.add(a)}).catch(function(e){(0,H.warn)(`Type3 font resource "${a}" is not available.`);var t=new g.OperatorList;c[a]=t.getIR()})});this.type3Loaded=e.then(()=>{n.charProcOperatorList=c,this._bbox&&(n.isCharBBox=!0,n.bbox=this._bbox)})}return this.type3Loaded}_removeType3ColorOperators(a,r=NaN){var e=H.Util.normalizeRect(a.argsArray[0].slice(2)),t=e[2]-e[0],i=e[3]-e[1],n=Math.hypot(t,i);0==t||0==i?(a.fnArray.splice(0,1),a.argsArray.splice(0,1)):(0===r||10<=Math.round(n/r))&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],e[0]),this._bbox[1]=Math.min(this._bbox[1],e[1]),this._bbox[2]=Math.max(this._bbox[2],e[2]),this._bbox[3]=Math.max(this._bbox[3],e[3]));let s=0,o=a.length;for(;s<o;){switch(a.fnArray[s]){case H.OPS.setCharWidthAndBounds:break;case H.OPS.setStrokeColorSpace:case H.OPS.setFillColorSpace:case H.OPS.setStrokeColor:case H.OPS.setStrokeColorN:case H.OPS.setFillColor:case H.OPS.setFillColorN:case H.OPS.setStrokeGray:case H.OPS.setFillGray:case H.OPS.setStrokeRGBColor:case H.OPS.setFillRGBColor:case H.OPS.setStrokeCMYKColor:case H.OPS.setFillCMYKColor:case H.OPS.shadingFill:case H.OPS.setRenderingIntent:a.fnArray.splice(s,1),a.argsArray.splice(s,1),o--;continue;case H.OPS.setGState:const[r]=a.argsArray[s];let e=0,t=r.length;for(;e<t;){const[a]=r[e];switch(a){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":r.splice(e,1),t--;continue}e++}}s++}}}class K{constructor(e=new i){this.state=e,this.stateStack=[]}save(){var e=this.state;this.stateStack.push(this.state),this.state=e.clone()}restore(){var e=this.stateStack.pop();e&&(this.state=e)}transform(e){this.state.ctm=H.Util.transform(this.state.ctm,e)}}class Z{constructor(){this.ctm=new Float32Array(H.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.loadedName=null,this.font=null,this.fontMatrix=H.FONT_IDENTITY_MATRIX,this.textMatrix=H.IDENTITY_MATRIX.slice(),this.textLineMatrix=H.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}setTextMatrix(e,t,a,r,i,n){var s=this.textMatrix;s[0]=e,s[1]=t,s[2]=a,s[3]=r,s[4]=i,s[5]=n}setTextLineMatrix(e,t,a,r,i,n){var s=this.textLineMatrix;s[0]=e,s[1]=t,s[2]=a,s[3]=r,s[4]=i,s[5]=n}translateTextMatrix(e,t){var a=this.textMatrix;a[4]=a[0]*e+a[2]*t+a[4],a[5]=a[1]*e+a[3]*t+a[5]}translateTextLineMatrix(e,t){var a=this.textLineMatrix;a[4]=a[0]*e+a[2]*t+a[4],a[5]=a[1]*e+a[3]*t+a[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){var e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}class i{constructor(){this.ctm=new Float32Array(H.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=H.TextRenderingMode.FILL,this.fillColorSpace=B.ColorSpace.singletons.gray,this.strokeColorSpace=B.ColorSpace.singletons.gray}clone(){return Object.create(this)}}class Y{static get opMap(){var e=(0,a.getLookupTableFactory)(function(e){e.w={id:H.OPS.setLineWidth,numArgs:1,variableArgs:!1},e.J={id:H.OPS.setLineCap,numArgs:1,variableArgs:!1},e.j={id:H.OPS.setLineJoin,numArgs:1,variableArgs:!1},e.M={id:H.OPS.setMiterLimit,numArgs:1,variableArgs:!1},e.d={id:H.OPS.setDash,numArgs:2,variableArgs:!1},e.ri={id:H.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},e.i={id:H.OPS.setFlatness,numArgs:1,variableArgs:!1},e.gs={id:H.OPS.setGState,numArgs:1,variableArgs:!1},e.q={id:H.OPS.save,numArgs:0,variableArgs:!1},e.Q={id:H.OPS.restore,numArgs:0,variableArgs:!1},e.cm={id:H.OPS.transform,numArgs:6,variableArgs:!1},e.m={id:H.OPS.moveTo,numArgs:2,variableArgs:!1},e.l={id:H.OPS.lineTo,numArgs:2,variableArgs:!1},e.c={id:H.OPS.curveTo,numArgs:6,variableArgs:!1},e.v={id:H.OPS.curveTo2,numArgs:4,variableArgs:!1},e.y={id:H.OPS.curveTo3,numArgs:4,variableArgs:!1},e.h={id:H.OPS.closePath,numArgs:0,variableArgs:!1},e.re={id:H.OPS.rectangle,numArgs:4,variableArgs:!1},e.S={id:H.OPS.stroke,numArgs:0,variableArgs:!1},e.s={id:H.OPS.closeStroke,numArgs:0,variableArgs:!1},e.f={id:H.OPS.fill,numArgs:0,variableArgs:!1},e.F={id:H.OPS.fill,numArgs:0,variableArgs:!1},e["f*"]={id:H.OPS.eoFill,numArgs:0,variableArgs:!1},e.B={id:H.OPS.fillStroke,numArgs:0,variableArgs:!1},e["B*"]={id:H.OPS.eoFillStroke,numArgs:0,variableArgs:!1},e.b={id:H.OPS.closeFillStroke,numArgs:0,variableArgs:!1},e["b*"]={id:H.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},e.n={id:H.OPS.endPath,numArgs:0,variableArgs:!1},e.W={id:H.OPS.clip,numArgs:0,variableArgs:!1},e["W*"]={id:H.OPS.eoClip,numArgs:0,variableArgs:!1},e.BT={id:H.OPS.beginText,numArgs:0,variableArgs:!1},e.ET={id:H.OPS.endText,numArgs:0,variableArgs:!1},e.Tc={id:H.OPS.setCharSpacing,numArgs:1,variableArgs:!1},e.Tw={id:H.OPS.setWordSpacing,numArgs:1,variableArgs:!1},e.Tz={id:H.OPS.setHScale,numArgs:1,variableArgs:!1},e.TL={id:H.OPS.setLeading,numArgs:1,variableArgs:!1},e.Tf={id:H.OPS.setFont,numArgs:2,variableArgs:!1},e.Tr={id:H.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},e.Ts={id:H.OPS.setTextRise,numArgs:1,variableArgs:!1},e.Td={id:H.OPS.moveText,numArgs:2,variableArgs:!1},e.TD={id:H.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},e.Tm={id:H.OPS.setTextMatrix,numArgs:6,variableArgs:!1},e["T*"]={id:H.OPS.nextLine,numArgs:0,variableArgs:!1},e.Tj={id:H.OPS.showText,numArgs:1,variableArgs:!1},e.TJ={id:H.OPS.showSpacedText,numArgs:1,variableArgs:!1},e["'"]={id:H.OPS.nextLineShowText,numArgs:1,variableArgs:!1},e['"']={id:H.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},e.d0={id:H.OPS.setCharWidth,numArgs:2,variableArgs:!1},e.d1={id:H.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},e.CS={id:H.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},e.cs={id:H.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},e.SC={id:H.OPS.setStrokeColor,numArgs:4,variableArgs:!0},e.SCN={id:H.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},e.sc={id:H.OPS.setFillColor,numArgs:4,variableArgs:!0},e.scn={id:H.OPS.setFillColorN,numArgs:33,variableArgs:!0},e.G={id:H.OPS.setStrokeGray,numArgs:1,variableArgs:!1},e.g={id:H.OPS.setFillGray,numArgs:1,variableArgs:!1},e.RG={id:H.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},e.rg={id:H.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},e.K={id:H.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},e.k={id:H.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},e.sh={id:H.OPS.shadingFill,numArgs:1,variableArgs:!1},e.BI={id:H.OPS.beginInlineImage,numArgs:0,variableArgs:!1},e.ID={id:H.OPS.beginImageData,numArgs:0,variableArgs:!1},e.EI={id:H.OPS.endInlineImage,numArgs:1,variableArgs:!1},e.Do={id:H.OPS.paintXObject,numArgs:1,variableArgs:!1},e.MP={id:H.OPS.markPoint,numArgs:1,variableArgs:!1},e.DP={id:H.OPS.markPointProps,numArgs:2,variableArgs:!1},e.BMC={id:H.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},e.BDC={id:H.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},e.EMC={id:H.OPS.endMarkedContent,numArgs:0,variableArgs:!1},e.BX={id:H.OPS.beginCompat,numArgs:0,variableArgs:!1},e.EX={id:H.OPS.endCompat,numArgs:0,variableArgs:!1},e.BM=null,e.BD=null,e.true=null,e.fa=null,e.fal=null,e.fals=null,e.false=null,e.nu=null,e.nul=null,e.null=null});return(0,H.shadow)(this,"opMap",e())}static MAX_INVALID_PATH_OPS=10;constructor(e,t,a=new K){this.parser=new r.Parser({lexer:new r.Lexer(e,Y.opMap),xref:t}),this.stateManager=a,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(t){let a=t.args;for(;;){var r=this.parser.getObj();if(r instanceof q.Cmd){const s=r.cmd,q=Y.opMap[s];if(!q){(0,H.warn)(`Unknown command "${s}".`);continue}var i=q.id,n=q.numArgs;let e=null!==a?a.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=i>=H.OPS.moveTo&&i<=H.OPS.endPath,q.variableArgs)e>n&&(0,H.info)(`Command ${s}: expected [0, ${n}] args, but received ${e} args.`);else{if(e!==n){const t=this.nonProcessedArgs;for(;e>n;)t.push(a.shift()),e--;for(;e<n&&0!==t.length;)(a=null===a?[]:a).unshift(t.pop()),e++}if(e<n){const t=`command ${s}: expected ${n} args, but received ${e} args.`;if(this._isPathOp&&++this._numInvalidPathOPS>Y.MAX_INVALID_PATH_OPS)throw new H.FormatError("Invalid "+t);(0,H.warn)("Skipping "+t),null!==a&&(a.length=0);continue}}return this.preprocessCommand(i,a),t.fn=i,t.args=a,!0}if(r===q.EOF)return!1;if(null!==r&&((a=null===a?[]:a).push(r),33<a.length))throw new H.FormatError("Too many arguments")}}preprocessCommand(e,t){switch(0|e){case H.OPS.save:this.stateManager.save();break;case H.OPS.restore:this.stateManager.restore();break;case H.OPS.transform:this.stateManager.transform(t)}}}e.EvaluatorPreprocessor=Y},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityCMap=t.CMapFactory=t.CMap=void 0;var h=a(2),u=a(4),r=a(5),n=a(15),s=a(16),d=a(3),o=a(8);const l=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],c=2**24-1;class f{constructor(e=!1){this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=e}addCodespaceRange(e,t,a){this.codespaceRanges[e-1].push(t,a),this.numCodespaceRanges++}mapCidRange(e,t,a){if(t-e>c)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=a++}mapBfRange(e,t,a){if(t-e>c)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var r=a.length-1;e<=t;){const t=(this._map[e++]=a).charCodeAt(r)+1;a=255<t?a.substring(0,r-1)+String.fromCharCode(a.charCodeAt(r-1)+1)+"\0":a.substring(0,r)+String.fromCharCode(t)}}mapBfRangeToArray(e,t,a){if(t-e>c)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");var r=a.length;let i=0;for(;e<=t&&i<r;)this._map[e]=a[i++],++e}mapOne(e,t){this._map[e]=t}lookup(e){return this._map[e]}contains(e){return void 0!==this._map[e]}forEach(t){const a=this._map,r=a.length;if(r<=65536)for(let e=0;e<r;e++)void 0!==a[e]&&t(e,a[e]);else for(const r in a)t(r,a[r])}charCodeOf(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(const a in t)if(t[a]===e)return 0|a;return-1}getMap(){return this._map}readCharCode(t,r,i){let n=0;const s=this.codespaceRanges;for(let a=0,e=s.length;a<e;a++){n=(n<<8|t.charCodeAt(r+a))>>>0;var o=s[a];for(let e=0,t=o.length;e<t;){const r=o[e++],s=o[e++];if(n>=r&&n<=s)return i.charcode=n,void(i.length=a+1)}}i.charcode=0,i.length=1}getCharCodeLength(r){var t=this.codespaceRanges;for(let a=0,e=t.length;a<e;a++){var i=t[a];for(let e=0,t=i.length;e<t;){var n=i[e++],s=i[e++];if(n<=r&&r<=s)return a+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(let e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}class g extends(t.CMap=f){constructor(e,t){super(),this.vertical=e,this.addCodespaceRange(t,0,65535)}mapCidRange(e,t,a){(0,h.unreachable)("should not call mapCidRange")}mapBfRange(e,t,a){(0,h.unreachable)("should not call mapBfRange")}mapBfRangeToArray(e,t,a){(0,h.unreachable)("should not call mapBfRangeToArray")}mapOne(e,t){(0,h.unreachable)("should not call mapCidOne")}lookup(e){return Number.isInteger(e)&&e<=65535?e:void 0}contains(e){return Number.isInteger(e)&&e<=65535}forEach(t){for(let e=0;e<=65535;e++)t(e,e)}charCodeOf(e){return Number.isInteger(e)&&e<=65535?e:-1}getMap(){var t=new Array(65536);for(let e=0;e<=65535;e++)t[e]=e;return t}get length(){return 65536}get isIdentityCMap(){(0,h.unreachable)("should not access .isIdentityCMap")}}function p(t){let a=0;for(let e=0;e<t.length;e++)a=a<<8|t.charCodeAt(e);return a>>>0}function m(e){if("string"!=typeof e)throw new h.FormatError("Malformed CMap: expected string.")}function b(e){if(!Number.isInteger(e))throw new h.FormatError("Malformed CMap: expected int.")}async function y(e,t,a,r){let i,n;e:for(;;)try{const a=t.getObj();if(a===u.EOF)break;if(a instanceof u.Name)"WMode"===a.name?(l=e,c=(c=t).getObj(),Number.isInteger(c)&&(l.vertical=!!c)):"CMapName"===a.name&&(s=e,(o=(o=t).getObj())instanceof u.Name&&(s.name=o.name)),i=a;else if(a instanceof u.Cmd)switch(a.cmd){case"endcmap":break e;case"usecmap":i instanceof u.Name&&(n=i.name);break;case"begincodespacerange":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endcodespacerange"))return;if("string"!=typeof a)break;const h=p(a);if("string"!=typeof(a=t.getObj()))break;var r=p(a);e.addCodespaceRange(a.length,h,r)}throw new h.FormatError("Invalid codespace range.")}(e,t);break;case"beginbfchar":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endbfchar"))return;m(a);var r=p(a);m(a=t.getObj()),e.mapOne(r,a)}}(e,t);break;case"begincidchar":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endcidchar"))return;m(a);var r=p(a);b(a=t.getObj()),e.mapOne(r,a)}}(e,t);break;case"beginbfrange":!function(t,a){for(;;){let e=a.getObj();if(e===u.EOF)break;if((0,u.isCmd)(e,"endbfrange"))return;m(e);const h=p(e);m(e=a.getObj());var r=p(e);if(e=a.getObj(),Number.isInteger(e)||"string"==typeof e){const a=Number.isInteger(e)?String.fromCharCode(e):e;t.mapBfRange(h,r,a)}else{if(!(0,u.isCmd)(e,"["))break;e=a.getObj();for(var i=[];!(0,u.isCmd)(e,"]")&&e!==u.EOF;)i.push(e),e=a.getObj();t.mapBfRangeToArray(h,r,i)}}throw new h.FormatError("Invalid bf range.")}(e,t);break;case"begincidrange":!function(e,t){for(;;){var a=t.getObj();if(a===u.EOF)break;if((0,u.isCmd)(a,"endcidrange"))return;m(a);var r=p(a),i=(m(a=t.getObj()),p(a));b(a=t.getObj());e.mapCidRange(r,i,a)}}(e,t)}}catch(e){if(e instanceof d.MissingDataException)throw e;(0,h.warn)("Invalid cMap data: "+e);continue}var s,o,l,c;return(r=!r&&n?n:r)?w(e,a,r):e}async function w(a,t,e){if(a.useCMap=await i(e,t),0===a.numCodespaceRanges){const t=a.useCMap.codespaceRanges;for(let e=0;e<t.length;e++)a.codespaceRanges[e]=t[e].slice();a.numCodespaceRanges=a.useCMap.numCodespaceRanges}return a.useCMap.forEach(function(e,t){a.contains(e)||a.mapOne(e,a.useCMap.lookup(e))}),a}async function i(e,t){if("Identity-H"===e)return new g(!1,2);if("Identity-V"===e)return new g(!0,2);if(!l.includes(e))throw new Error("Unknown CMap name: "+e);if(!t)throw new Error("Built-in CMap parameters are not provided.");const{cMapData:a,compressionType:r}=await t(e),i=new f(!0);if(r===h.CMapCompressionType.BINARY)return(new n.BinaryCMapReader).process(a,i,e=>w(i,t,e));if(r!==h.CMapCompressionType.NONE)throw new Error('Invalid CMap "compressionType" value: '+r);{const e=new s.Lexer(new o.Stream(a));return y(i,e,t,null)}}t.IdentityCMap=g,t.CMapFactory=class{static async create({encoding:e,fetchBuiltInCMap:t,useCMap:a}){if(e instanceof u.Name)return i(e.name,t);if(e instanceof r.BaseStream)return(e=await y(new f,new s.Lexer(e),t,a)).isIdentityCMap?i(e.name,t):e;throw new Error("Encoding required.")}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BinaryCMapReader=void 0;var l=a(2);function g(t,a){let r=0;for(let e=0;e<=a;e++)r=r<<8|t[e];return r>>>0}function p(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode(...e.subarray(0,t+1))}function m(t,a,r){let i=0;for(let e=r;0<=e;e--)i+=t[e]+a[e],t[e]=255&i,i>>=8}function b(t,a){let r=1;for(let e=a;0<=e&&0<r;e--)r+=t[e],t[e]=255&r,r>>=8}class y{constructor(e){this.buffer=e,this.pos=0,this.end=e.length,this.tmpBuf=new Uint8Array(19)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let e,t=0;do{var a=this.readByte();if(a<0)throw new l.FormatError("unexpected EOF in bcmap");e=!(128&a),t=t<<7|127&a}while(!e);return t}readSigned(){var e=this.readNumber();return 1&e?~(e>>>1):e>>>1}readHex(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1)),this.pos+=t+1}readHexNumber(e,t){var a,r=this.tmpBuf;let i=0;do{const e=this.readByte();if(e<0)throw new l.FormatError("unexpected EOF in bcmap");a=!(128&e),r[i++]=127&e}while(!a);let n=t,s=0,o=0;for(;0<=n;){for(;o<8&&0<r.length;)s|=r[--i]<<o,o+=7;e[n]=255&s,n--,s>>=8,o-=8}}readHexSigned(t,a){this.readHexNumber(t,a);var r=1&t[a]?255:0;let i=0;for(let e=0;e<=a;e++)i=(1&i)<<8|t[e],t[e]=i>>1^r}readString(){var t=this.readNumber(),a=new Array(t);for(let e=0;e<t;e++)a[e]=this.readNumber();return String.fromCharCode(...a)}}t.BinaryCMapReader=class{async process(e,t,a){const r=new y(e),i=r.readByte();t.vertical=!!(1&i);let n=null;var s=new Uint8Array(16),o=new Uint8Array(16),l=new Uint8Array(16),c=new Uint8Array(16),h=new Uint8Array(16);let u,d;for(;0<=(d=r.readByte());){const e=d>>5;if(7==e)switch(31&d){case 0:r.readString();break;case 1:n=r.readString()}else{const a=!!(16&d),y=15&d;if(16<1+y)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const i=1,f=r.readNumber();switch(e){case 0:r.readHex(s,y),r.readHexNumber(o,y),m(o,s,y),t.addCodespaceRange(1+y,g(s,y),g(o,y));for(let e=1;e<f;e++)b(o,y),r.readHexNumber(s,y),m(s,o,y),r.readHexNumber(o,y),m(o,s,y),t.addCodespaceRange(1+y,g(s,y),g(o,y));break;case 1:r.readHex(s,y),r.readHexNumber(o,y),m(o,s,y),r.readNumber();for(let e=1;e<f;e++)b(o,y),r.readHexNumber(s,y),m(s,o,y),r.readHexNumber(o,y),m(o,s,y),r.readNumber();break;case 2:r.readHex(l,y),u=r.readNumber(),t.mapOne(g(l,y),u);for(let e=1;e<f;e++)b(l,y),a||(r.readHexNumber(h,y),m(l,h,y)),u=r.readSigned()+(u+1),t.mapOne(g(l,y),u);break;case 3:r.readHex(s,y),r.readHexNumber(o,y),m(o,s,y),u=r.readNumber(),t.mapCidRange(g(s,y),g(o,y),u);for(let e=1;e<f;e++)b(o,y),a?s.set(o):(r.readHexNumber(s,y),m(s,o,y)),r.readHexNumber(o,y),m(o,s,y),u=r.readNumber(),t.mapCidRange(g(s,y),g(o,y),u);break;case 4:r.readHex(l,1),r.readHex(c,y),t.mapOne(g(l,1),p(c,y));for(let e=1;e<f;e++)b(l,1),a||(r.readHexNumber(h,1),m(l,h,1)),b(c,y),r.readHexSigned(h,y),m(c,h,y),t.mapOne(g(l,1),p(c,y));break;case 5:r.readHex(s,1),r.readHexNumber(o,1),m(o,s,1),r.readHex(c,y),t.mapBfRange(g(s,1),g(o,1),p(c,y));for(let e=1;e<f;e++)b(o,1),a?s.set(o):(r.readHexNumber(s,1),m(s,o,1)),r.readHexNumber(o,1),m(o,s,1),r.readHex(c,y),t.mapBfRange(g(s,1),g(o,1),p(c,y));break;default:throw new Error("BinaryCMapReader.process - unknown type: "+e)}}}return n?a(n):t}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=t.Linearization=t.Lexer=void 0;var u=a(2),d=a(4),l=a(3),c=a(8),i=a(17),n=a(19),s=a(20),o=a(22),h=a(23),f=a(26),g=a(29),p=a(31),m=a(32),b=a(33);class y{constructor({lexer:e,xref:t,allowStreams:a=!1,recoveryMode:r=!1}){this.lexer=e,this.xref=t,this.allowStreams=a,this.recoveryMode=r,this.imageCache=Object.create(null),this._imageId=0,this.refill()}refill(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}shift(){this.buf2 instanceof d.Cmd&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}tryShift(){try{return this.shift(),!0}catch(e){if(e instanceof l.MissingDataException)throw e;return!1}}getObj(e=null){const t=this.buf1;if(this.shift(),t instanceof d.Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var a=[];!(0,d.isCmd)(this.buf1,"]")&&this.buf1!==d.EOF;)a.push(this.getObj(e));if(this.buf1!==d.EOF)return this.shift(),a;if(this.recoveryMode)return a;throw new l.ParserEOFException("End of file inside array.");case"<<":for(var r=new d.Dict(this.xref);!(0,d.isCmd)(this.buf1,">>")&&this.buf1!==d.EOF;)if(this.buf1 instanceof d.Name){const t=this.buf1.name;if(this.shift(),this.buf1===d.EOF)break;r.set(t,this.getObj(e))}else(0,u.info)("Malformed dictionary: key must be a name object"),this.shift();if(this.buf1!==d.EOF)return(0,d.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(r,e):r:(this.shift(),r);if(this.recoveryMode)return r;throw new l.ParserEOFException("End of file inside dictionary.");default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&(0,d.isCmd)(this.buf2,"R")){const e=d.Ref.get(t,this.buf1);return this.shift(),this.shift(),e}return t}return"string"==typeof t&&e?e.decryptString(t):t}findDefaultInlineStreamEnd(t){const a=this.lexer["knownCommands"],r=t.pos;let i,n,s=0;for(;-1!==(i=t.getByte());)if(0===s)s=69===i?1:0;else if(1===s)s=73===i?2:0;else if(32===i||10===i||13===i){n=t.pos;const r=t.peekBytes(15),l=r.length;if(0===l)break;for(let e=0;e<l;e++)if((0!==(i=r[e])||0===r[e+1])&&10!==i&&13!==i&&(i<32||127<i)){s=0;break}if(2!==s)continue;if(!a){(0,u.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const o=new x(new c.Stream(r.slice()),a);o._hexStringWarn=()=>{};let e=0;for(;;){const t=o.getObj();if(t===d.EOF){s=0;break}if(t instanceof d.Cmd){const r=a[t.cmd];if(!r){s=0;break}if(r.variableArgs?e<=r.numArgs:e===r.numArgs)break;e=0}else e++}if(2===s)break}else s=0;-1===i&&((0,u.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),n)&&((0,u.warn)('... trying to recover by using the last "EI" occurrence.'),t.skip(-(t.pos-n)));let o=4;return t.skip(-o),i=t.peekByte(),t.skip(o),(0,l.isWhiteSpace)(i)||o--,t.pos-o-r}findDCTDecodeInlineStreamEnd(e){var t=e.pos;let a,r,i=!1;for(;-1!==(a=e.getByte());)if(255===a){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:i=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:2<(r=e.getUint16())?e.skip(r-2):e.skip(-2)}if(i)break}t=e.pos-t;return-1===a?((0,u.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-t),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),t)}findASCII85DecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte());)if(126===a){const t=e.pos;for(a=e.peekByte();(0,l.isWhiteSpace)(a);)e.skip(),a=e.peekByte();if(62===a){e.skip();break}if(e.pos>t){const t=e.peekBytes(2);if(69===t[0]&&73===t[1])break}}var r=e.pos-t;return-1===a?((0,u.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-r),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),r)}findASCIIHexDecodeInlineStreamEnd(e){var t=e.pos;let a;for(;-1!==(a=e.getByte())&&62!==a;);t=e.pos-t;return-1===a?((0,u.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-t),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),t)}inlineStreamSkipEI(e){let t,a=0;for(;-1!==(t=e.getByte());)if(0===a)a=69===t?1:0;else if(1===a)a=73===t?2:0;else if(2===a)break}makeInlineImage(e){const t=this.lexer,a=t.stream,r=Object.create(null);let i;for(;!(0,d.isCmd)(this.buf1,"ID")&&this.buf1!==d.EOF;){if(!(this.buf1 instanceof d.Name))throw new u.FormatError("Dictionary key must be a name object");const t=this.buf1.name;if(this.shift(),this.buf1===d.EOF)break;r[t]=this.getObj(e)}-1!==t.beginInlineImagePos&&(i=a.pos-t.beginInlineImagePos);var n=this.xref.fetchIfRef(r.F||r.Filter);let s;if(n instanceof d.Name)s=n.name;else if(Array.isArray(n)){const e=this.xref.fetchIfRef(n[0]);e instanceof d.Name&&(s=e.name)}n=a.pos;let o,l;switch(s){case"DCT":case"DCTDecode":o=this.findDCTDecodeInlineStreamEnd(a);break;case"A85":case"ASCII85Decode":o=this.findASCII85DecodeInlineStreamEnd(a);break;case"AHx":case"ASCIIHexDecode":o=this.findASCIIHexDecodeInlineStreamEnd(a);break;default:o=this.findDefaultInlineStreamEnd(a)}if(o<1e3&&0<i){const e=a.pos,u=(a.pos=t.beginInlineImagePos,l=function(e){var t=[],a=e.length;let r=0;for(;r<a-1;)t.push(e[r++]<<8|e[r++]);return r<a&&t.push(e[r]),a+"_"+String.fromCharCode.apply(null,t)}(a.getBytes(i+o)),a.pos=e,this.imageCache[l]);if(void 0!==u)return this.buf2=d.Cmd.get("EI"),this.shift(),u.reset(),u}var c=new d.Dict(this.xref);for(const e in r)c.set(e,r[e]);let h=a.makeSubStream(n,o,c);return e&&(h=e.createStream(h,o)),(h=this.filter(h,c,o)).dict=c,void 0!==l&&(h.cacheKey="inline_img_"+ ++this._imageId,this.imageCache[l]=h),this.buf2=d.Cmd.get("EI"),this.shift(),h}_findStreamLength(a,r){for(var i=this.lexer["stream"],n=(i.pos=a,r.length);i.pos<i.end;){var s=i.peekBytes(2048),e=s.length-n;if(e<=0)break;let t=0;for(;t<e;){let e=0;for(;e<n&&s[t+e]===r[e];)e++;if(e>=n)return i.pos+=t,i.pos-a;t++}i.pos+=e}return-1}makeStream(a,e){const r=this.lexer;let i=r.stream;r.skipToNextLine();var n=i.pos-1;let s=a.get("Length");if(Number.isInteger(s)||((0,u.info)(`Bad length "${s&&s.toString()}" in stream.`),s=0),i.pos=n+s,r.nextChar(),!this.tryShift()||!(0,d.isCmd)(this.buf2,"endstream")){const a=new Uint8Array([101,110,100,115,116,114,101,97,109]);let t=this._findStreamLength(n,a);if(t<0){const r=1;for(let e=1;e<=1;e++){const r=a.length-e,s=a.slice(0,r),o=this._findStreamLength(n,s);if(0<=o){const a=i.peekBytes(1+r)[r];if(!(0,l.isWhiteSpace)(a))break;(0,u.info)(`Found "${(0,u.bytesToString)(s)}" when searching for endstream command.`),t=o;break}}if(t<0)throw new u.FormatError("Missing endstream command.")}s=t,r.nextChar(),this.shift()}return this.shift(),this.shift(),i=i.makeSubStream(n,s,a),e&&(i=e.createStream(i,s)),(i=this.filter(i,a,s)).dict=a,i}filter(a,r,i){let n=r.get("F","Filter"),s=r.get("DP","DecodeParms");if(n instanceof d.Name)return Array.isArray(s)&&(0,u.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(a,n.name,i,s);let o=i;if(Array.isArray(n)){const r=n,i=s;for(let e=0,t=r.length;e<t;++e){if(!((n=this.xref.fetchIfRef(r[e]))instanceof d.Name))throw new u.FormatError(`Bad filter name "${n}"`);s=null,Array.isArray(i)&&e in i&&(s=this.xref.fetchIfRef(i[e])),a=this.makeFilter(a,n.name,o,s),o=null}}return a}makeFilter(t,e,a,r){if(0===a)return(0,u.warn)(`Empty "${e}" stream.`),new c.NullStream;try{switch(e){case"Fl":case"FlateDecode":return r?new m.PredictorStream(new o.FlateStream(t,a),a,r):new o.FlateStream(t,a);case"LZW":case"LZWDecode":let e=1;return r?(r.has("EarlyChange")&&(e=r.get("EarlyChange")),new m.PredictorStream(new p.LZWStream(t,a,e),a,r)):new p.LZWStream(t,a,e);case"DCT":case"DCTDecode":return new f.JpegStream(t,a,r);case"JPX":case"JPXDecode":return new g.JpxStream(t,a,r);case"A85":case"ASCII85Decode":return new i.Ascii85Stream(t,a);case"AHx":case"ASCIIHexDecode":return new n.AsciiHexStream(t,a);case"CCF":case"CCITTFaxDecode":return new s.CCITTFaxStream(t,a,r);case"RL":case"RunLengthDecode":return new b.RunLengthStream(t,a);case"JBIG2Decode":return new h.Jbig2Stream(t,a,r)}return(0,u.warn)(`Filter "${e}" is not supported.`),t}catch(t){if(t instanceof l.MissingDataException)throw t;return(0,u.warn)(`Invalid stream: "${t}"`),new c.NullStream}}}t.Parser=y;const w=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function v(e){return 48<=e&&e<=57?15&e:65<=e&&e<=70||97<=e&&e<=102?9+(15&e):-1}class x{constructor(e,t=null){this.stream=e,this.nextChar(),this.strBuf=[],this.knownCommands=t,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let e=this.currentChar,t=!1,a=0,r=0;if(45===e?(r=-1,45===(e=this.nextChar())&&(e=this.nextChar())):43===e&&(r=1,e=this.nextChar()),10===e||13===e)for(;10===(e=this.nextChar())||13===e;);if(46===e&&(a=10,e=this.nextChar()),e<48||57<e){const t=`Invalid number: ${String.fromCharCode(e)} (charCode ${e})`;if((0,l.isWhiteSpace)(e)||-1===e)return(0,u.info)(`Lexer.getNumber - "${t}".`),0;throw new u.FormatError(t)}r||=1;let i=e-48,n=0,s=1;for(;0<=(e=this.nextChar());)if(48<=e&&e<=57){const u=e-48;t?n=10*n+u:(0!==a&&(a*=10),i=10*i+u)}else if(46===e){if(0!==a)break;a=1}else if(45===e)(0,u.warn)("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;if(43===(e=this.peekChar())||45===e)s=45===e?-1:1,this.nextChar();else if(e<48||57<e)break;t=!0}return 0!==a&&(i/=a),t&&(i*=10**(s*n)),r*i}getString(){let e=1,a=!1;var r=this.strBuf;r.length=0;let i=this.nextChar();for(;;){let t=!1;switch(0|i){case-1:(0,u.warn)("Unterminated string"),a=!0;break;case 40:++e,r.push("(");break;case 41:0==--e?(this.nextChar(),a=!0):r.push(")");break;case 92:switch(i=this.nextChar()){case-1:(0,u.warn)("Unterminated string"),a=!0;break;case 110:r.push("\n");break;case 114:r.push("\r");break;case 116:r.push("\t");break;case 98:r.push("\b");break;case 102:r.push("\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(i));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let e=15&i;i=this.nextChar(),t=!0,48<=i&&i<=55&&(e=(e<<3)+(15&i),48<=(i=this.nextChar()))&&i<=55&&(t=!1,e=(e<<3)+(15&i)),r.push(String.fromCharCode(e));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(i))}break;default:r.push(String.fromCharCode(i))}if(a)break;t||(i=this.nextChar())}return r.join("")}getName(){let e,t;var a=this.strBuf;for(a.length=0;0<=(e=this.nextChar())&&!w[e];)if(35===e){if(e=this.nextChar(),w[e]){(0,u.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),a.push("#");break}const d=v(e);if(-1!==d){t=e;var r=v(e=this.nextChar());if(-1===r){if((0,u.warn)(`Lexer_getName: Illegal digit (${String.fromCharCode(e)}) in hexadecimal number.`),a.push("#",String.fromCharCode(t)),w[e])break;a.push(String.fromCharCode(e));continue}a.push(String.fromCharCode(d<<4|r))}else a.push("#",String.fromCharCode(e))}else a.push(String.fromCharCode(e));return 127<a.length&&(0,u.warn)("Name token is longer than allowed by the spec: "+a.length),d.Name.get(a.join(""))}_hexStringWarn(e){5!=this._hexStringNumWarn++?5<this._hexStringNumWarn||(0,u.warn)("getHexString - ignoring invalid character: "+e):(0,u.warn)("getHexString - ignoring additional invalid characters.")}getHexString(){var e=this.strBuf;e.length=0;let t,a,r=this.currentChar,i=!0;for(this._hexStringNumWarn=0;;){if(r<0){(0,u.warn)("Unterminated hex string");break}if(62===r){this.nextChar();break}if(1!==w[r]){if(i){if(-1===(t=v(r))){this._hexStringWarn(r),r=this.nextChar();continue}}else{if(-1===(a=v(r))){this._hexStringWarn(r),r=this.nextChar();continue}e.push(String.fromCharCode(t<<4|a))}i=!i}r=this.nextChar()}return e.join("")}getObj(){let e=!1,t=this.currentChar;for(;;){if(t<0)return d.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==w[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),d.Cmd.get("[");case 93:return this.nextChar(),d.Cmd.get("]");case 60:return 60===(t=this.nextChar())?(this.nextChar(),d.Cmd.get("<<")):this.getHexString();case 62:return 62===(t=this.nextChar())?(this.nextChar(),d.Cmd.get(">>")):d.Cmd.get(">");case 123:return this.nextChar(),d.Cmd.get("{");case 125:return this.nextChar(),d.Cmd.get("}");case 41:throw this.nextChar(),new u.FormatError("Illegal character: "+t)}let a=String.fromCharCode(t);if(t<32||127<t){const e=this.peekChar();if(32<=e&&e<=127)return this.nextChar(),d.Cmd.get(a)}var r=this.knownCommands;let i=void 0!==r?.[a];for(;0<=(t=this.nextChar())&&!w[t];){const e=a+String.fromCharCode(t);if(i&&void 0===r[e])break;if(128===a.length)throw new u.FormatError("Command token too long: "+a.length);a=e,i=void 0!==r?.[a]}return"true"===a||"false"!==a&&("null"===a?null:("BI"===a&&(this.beginInlineImagePos=this.stream.pos),d.Cmd.get(a)))}skipToNextLine(){let e=this.currentChar;for(;0<=e;){if(13===e){10===(e=this.nextChar())&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}t.Lexer=x,t.Linearization=class{static create(e){function t(e,t,a=!1){e=e.get(t);if(Number.isInteger(e)&&(a?0<=e:0<e))return e;throw new Error(`The "${t}" parameter in the linearization dictionary is invalid.`)}var a=new y({lexer:new x(e),xref:null}),r=a.getObj(),i=a.getObj(),n=a.getObj(),s=a.getObj();let o,l;if(!(Number.isInteger(r)&&Number.isInteger(i)&&(0,d.isCmd)(n,"obj")&&s instanceof d.Dict&&"number"==typeof(o=s.get("Linearized"))&&0<o))return null;if((l=t(s,"L"))!==e.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.');return{length:l,hints:function(){var t=s.get("H");let a;if(!Array.isArray(t)||2!==(a=t.length)&&4!==a)throw new Error("Hint array in the linearization dictionary is invalid.");for(let e=0;e<a;e++){const a=t[e];if(!(Number.isInteger(a)&&0<a))throw new Error(`Hint (${e}) in the linearization dictionary is invalid.`)}return t}(),objectNumberFirst:t(s,"O"),endFirst:t(s,"E"),numPages:t(s,"N"),mainXRefEntriesOffset:t(s,"T"),pageFirst:s.has("P")?t(s,"P",!0):0}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Ascii85Stream=void 0;var r=a(18),o=a(3);class i extends r.DecodeStream{constructor(e,t){t&&(t*=.8),super(t),this.str=e,this.dict=e.dict,this.input=new Uint8Array(5)}readBlock(){var r=this.str;let i=r.getByte();for(;(0,o.isWhiteSpace)(i);)i=r.getByte();if(-1===i||126===i)this.eof=!0;else{var n=this.bufferLength;let t,a;if(122===i){for(t=this.ensureBuffer(n+4),a=0;a<4;++a)t[n+a]=0;this.bufferLength+=4}else{var s=this.input;for(s[0]=i,a=1;a<5;++a){for(i=r.getByte();(0,o.isWhiteSpace)(i);)i=r.getByte();if(-1===(s[a]=i)||126===i)break}if(t=this.ensureBuffer(n+a-1),this.bufferLength+=a-1,a<5){for(;a<5;++a)s[a]=117;this.eof=!0}let e=0;for(a=0;a<5;++a)e=85*e+(s[a]-33);for(a=3;0<=a;--a)t[n+a]=255&e,e>>=8}}}}t.Ascii85Stream=i},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StreamsSequenceStream=t.DecodeStream=void 0;var r=a(5),i=a(8);const n=new Uint8Array(0);class s extends r.BaseStream{constructor(e){if(super(),this._rawMinBufferLength=e||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=n,this.minBufferLength=512,e)for(;this.minBufferLength<e;)this.minBufferLength*=2}get isEmpty(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}ensureBuffer(e){var t=this.buffer;if(e<=t.byteLength)return t;let a=this.minBufferLength;for(;a<e;)a*=2;var r=new Uint8Array(a);return r.set(t),this.buffer=r}getByte(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}getBytes(e){var t=this.pos;let a;if(e){for(this.ensureBuffer(t+e),a=t+e;!this.eof&&this.bufferLength<a;)this.readBlock();e=this.bufferLength;a>e&&(a=e)}else{for(;!this.eof;)this.readBlock();a=this.bufferLength}return this.pos=a,this.buffer.subarray(t,a)}reset(){this.pos=0}makeSubStream(e,t,a=null){if(void 0===t)for(;!this.eof;)this.readBlock();else{const a=e+t;for(;this.bufferLength<=a&&!this.eof;)this.readBlock()}return new i.Stream(this.buffer,e,t,a)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}t.DecodeStream=s,t.StreamsSequenceStream=class extends s{constructor(e,t=null){let a=0;for(const t of e)a+=t instanceof s?t._rawMinBufferLength:t.length;super(a),this.streams=e,this._onError=t}readBlock(){var t=this.streams;if(0===t.length)this.eof=!0;else{var a=t.shift();let e;try{e=a.getBytes()}catch(t){if(this._onError)return void this._onError(t,a.dict?.objId);throw t}var a=this.bufferLength,r=a+e.length;this.ensureBuffer(r).set(e,a),this.bufferLength=r}}getBaseStreams(){var e=[];for(const a of this.streams){var t=a.getBaseStreams();t&&e.push(...t)}return 0<e.length?e:null}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AsciiHexStream=void 0;class r extends a(18).DecodeStream{constructor(e,t){t&&(t*=.5),super(t),this.str=e,this.dict=e.dict,this.firstDigit=-1}readBlock(){var e=this.str.getBytes(8e3);if(e.length){const r=e.length+1>>1,i=this.ensureBuffer(this.bufferLength+r);let t=this.bufferLength,a=this.firstDigit;for(const r of e){let e;if(48<=r&&r<=57)e=15&r;else{if(!(65<=r&&r<=70||97<=r&&r<=102)){if(62!==r)continue;this.eof=!0;break}e=9+(15&r)}a=a<0?e:(i[t++]=a<<4|e,-1)}0<=a&&this.eof&&(i[t++]=a<<4,a=-1),this.firstDigit=a,this.bufferLength=t}else this.eof=!0}}t.AsciiHexStream=r},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxStream=void 0;var r=a(21),i=a(18),n=a(4);class s extends i.DecodeStream{constructor(e,t,a){super(t),this.str=e,this.dict=e.dict,a instanceof n.Dict||(a=n.Dict.empty),this.ccittFaxDecoder=new r.CCITTFaxDecoder({next:()=>e.getByte()},{K:a.get("K"),EndOfLine:a.get("EndOfLine"),EncodedByteAlign:a.get("EncodedByteAlign"),Columns:a.get("Columns"),Rows:a.get("Rows"),EndOfBlock:a.get("EndOfBlock"),BlackIs1:a.get("BlackIs1")})}readBlock(){for(;!this.eof;){var e=this.ccittFaxDecoder.readNextChar();if(-1===e)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}t.CCITTFaxStream=s},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxDecoder=void 0;var h=a(2);const r=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],i=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],n=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],s=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],o=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],l=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];t.CCITTFaxDecoder=class{constructor(e,t={}){if(!e||"function"!=typeof e.next)throw new Error('CCITTFaxDecoder - invalid "source" parameter.');let a;for(this.source=e,this.eof=!1,this.encoding=t.K||0,this.eoline=t.EndOfLine||!1,this.byteAlign=t.EncodedByteAlign||!1,this.columns=t.Columns||1728,this.rows=t.Rows||0,this.eoblock=t.EndOfBlock??!0,this.black=t.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;0===(a=this._lookBits(12));)this._eatBits(1);1===a&&this._eatBits(12),0<this.encoding&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;var i=this.refLine,n=this.codingLine,s=this.columns;let o,l,e,c,t;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;let e,t,a;if(this.err=!1,this.nextLine2D){for(c=0;n[c]<s;++c)i[c]=n[c];for(i[c++]=s,i[c]=s,n[0]=0,this.codingPos=0,o=0,l=0;n[this.codingPos]<s;)switch(e=this._getTwoDimCode(),e){case 0:this._addPixels(i[o+1],l),i[o+1]<s&&(o+=2);break;case 1:if(e=t=0,l){for(;e+=a=this._getBlackCode(),64<=a;);for(;t+=a=this._getWhiteCode(),64<=a;);}else{for(;e+=a=this._getWhiteCode(),64<=a;);for(;t+=a=this._getBlackCode(),64<=a;);}for(this._addPixels(n[this.codingPos]+e,l),n[this.codingPos]<s&&this._addPixels(n[this.codingPos]+t,1^l);i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 7:if(this._addPixels(i[o]+3,l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 5:if(this._addPixels(i[o]+2,l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 3:if(this._addPixels(i[o]+1,l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 2:if(this._addPixels(i[o],l),l^=1,n[this.codingPos]<s)for(++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 8:if(this._addPixelsNeg(i[o]-3,l),l^=1,n[this.codingPos]<s)for(0<o?--o:++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 6:if(this._addPixelsNeg(i[o]-2,l),l^=1,n[this.codingPos]<s)for(0<o?--o:++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case 4:if(this._addPixelsNeg(i[o]-1,l),l^=1,n[this.codingPos]<s)for(0<o?--o:++o;i[o]<=n[this.codingPos]&&i[o]<s;)o+=2;break;case-1:this._addPixels(s,0),this.eof=!0;break;default:(0,h.info)("bad 2d code"),this._addPixels(s,0),this.err=!0}}else for(n[0]=0,this.codingPos=0,l=0;n[this.codingPos]<s;){if(e=0,l)for(;e+=a=this._getBlackCode(),64<=a;);else for(;e+=a=this._getWhiteCode(),64<=a;);this._addPixels(n[this.codingPos]+e,l),l^=1}let r=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(e=this._lookBits(12),this.eoline)for(;-1!==e&&1!==e;)this._eatBits(1),e=this._lookBits(12);else for(;0===e;)this._eatBits(1),e=this._lookBits(12);1===e?(this._eatBits(12),r=!0):-1===e&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&0<this.encoding&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&r&&this.byteAlign){if(1===(e=this._lookBits(12))){if(this._eatBits(12),0<this.encoding&&(this._lookBits(1),this._eatBits(1)),0<=this.encoding)for(c=0;c<4;++c)1!==(e=this._lookBits(12))&&(0,h.info)("bad rtc code: "+e),this._eatBits(12),0<this.encoding&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(-1===(e=this._lookBits(13)))return this.eof=!0,-1;if(e>>1==1)break;this._eatBits(1)}this._eatBits(12),0<this.encoding&&(this._eatBits(1),this.nextLine2D=!(1&e))}0<n[0]?this.outputBits=n[this.codingPos=0]:this.outputBits=n[this.codingPos=1],this.row++}if(8<=this.outputBits)t=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&n[this.codingPos]<s&&(this.codingPos++,this.outputBits=n[this.codingPos]-n[this.codingPos-1]);else{e=8,t=0;do{if("number"!=typeof this.outputBits)throw new h.FormatError('Invalid /CCITTFaxDecode data, "outputBits" must be a number.')}while(this.outputBits>e?(t<<=e,1&this.codingPos||(t|=255>>8-e),this.outputBits-=e,e=0):(t<<=this.outputBits,1&this.codingPos||(t|=255>>8-this.outputBits),e-=this.outputBits,this.outputBits=0,n[this.codingPos]<s?(this.codingPos++,this.outputBits=n[this.codingPos]-n[this.codingPos-1]):0<e&&(t<<=e,e=0)),e)}return this.black&&(t^=255),t}_addPixels(e,t){var a=this.codingLine;let r=this.codingPos;e>a[r]&&(e>this.columns&&((0,h.info)("row is wrong length"),this.err=!0,e=this.columns),1&r^t&&++r,a[r]=e),this.codingPos=r}_addPixelsNeg(e,t){var a=this.codingLine;let r=this.codingPos;if(e>a[r])e>this.columns&&((0,h.info)("row is wrong length"),this.err=!0,e=this.columns),1&r^t&&++r,a[r]=e;else if(e<a[r]){for(e<0&&((0,h.info)("invalid code"),this.err=!0,e=0);0<r&&e<a[r-1];)--r;a[r]=e}this.codingPos=r}_findTableCode(e,a,r,t){var i=t||0;for(let t=e;t<=a;++t){let e=this._lookBits(t);if(-1===e)return[!0,1,!1];if(t<a&&(e<<=a-t),!i||e>=i){const a=r[e-i];if(a[0]===t)return this._eatBits(t),[!0,a[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let e,t;if(this.eoblock){if(t=this._lookBits(7),0<(e=r[t])?.[0])return this._eatBits(e[0]),e[1]}else{const e=this._findTableCode(1,7,r);if(e[0]&&e[2])return e[1]}return(0,h.info)("Bad two dim code"),-1}_getWhiteCode(){if(this.eoblock){if(-1===(e=this._lookBits(12)))return 1;if(0<(e=e>>5==0?i[e]:n[e>>3])[0])return this._eatBits(e[0]),e[1]}else{var e=this._findTableCode(1,9,n);if(e[0])return e[1];if((e=this._findTableCode(11,12,i))[0])return e[1]}return(0,h.info)("bad white code"),this._eatBits(1),1}_getBlackCode(){if(this.eoblock){if(-1===(e=this._lookBits(13)))return 1;if(0<(e=e>>7==0?s[e]:e>>9==0&&e>>7!=0?o[(e>>1)-64]:l[e>>7])[0])return this._eatBits(e[0]),e[1]}else{var e=this._findTableCode(2,6,l);if(e[0])return e[1];if((e=this._findTableCode(7,12,o,64))[0])return e[1];if((e=this._findTableCode(10,13,s))[0])return e[1]}return(0,h.info)("bad black code"),this._eatBits(1),1}_lookBits(e){for(var t;this.inputBits<e;){if(-1===(t=this.source.next()))return 0===this.inputBits?-1:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|t,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}_eatBits(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FlateStream=void 0;var r=a(18),h=a(2);const u=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),f=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),g=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],p=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class i extends r.DecodeStream{constructor(e,t){super(t),this.str=e,this.dict=e.dict;t=e.getByte(),e=e.getByte();if(-1===t||-1===e)throw new h.FormatError(`Invalid header in flate stream: ${t}, `+e);if(8!=(15&t))throw new h.FormatError(`Unknown compression method in flate stream: ${t}, `+e);if(((t<<8)+e)%31!=0)throw new h.FormatError(`Bad FCHECK in flate stream: ${t}, `+e);if(32&e)throw new h.FormatError(`FDICT bit set in flate stream: ${t}, `+e);this.codeSize=0,this.codeBuf=0}getBits(e){var t=this.str;let a,r=this.codeSize,i=this.codeBuf;for(;r<e;){if(-1===(a=t.getByte()))throw new h.FormatError("Bad encoding in flate stream");i|=a<<r,r+=8}return a=i&(1<<e)-1,this.codeBuf=i>>e,this.codeSize=r-=e,a}getCode(e){var t=this.str,a=e[0],r=e[1];let i,n=this.codeSize,s=this.codeBuf;for(;n<r&&-1!==(i=t.getByte());)s|=i<<n,n+=8;e=a[s&(1<<r)-1],a=e>>16,e&=65535;if(a<1||n<a)throw new h.FormatError("Bad encoding in flate stream");return this.codeBuf=s>>a,this.codeSize=n-a,e}generateHuffmanTable(e){var t=e.length;let s,a=0;for(s=0;s<t;++s)e[s]>a&&(a=e[s]);var o=1<<a,l=new Int32Array(o);for(let r=1,i=0,n=2;r<=a;++r,i<<=1,n<<=1)for(let a=0;a<t;++a)if(e[a]===r){let e=0,t=i;for(s=0;s<r;++s)e=e<<1|1&t,t>>=1;for(s=e;s<o;s+=n)l[s]=r<<16|a;++i}return[l,a]}readBlock(){let n,s;const e=this.str;let o,l,c=this.getBits(3);if(1&c&&(this.eof=!0),0===(c>>=1)){var t;if(-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");var a=t;if(-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");if(a|=t<<8,-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");var r=t;if(-1===(t=e.getByte()))throw new h.FormatError("Bad block header in flate stream");if((r|=t<<8)!=(65535&~a)&&(0!=a||0!=r))throw new h.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const d=this.bufferLength,f=d+a;if(n=this.ensureBuffer(f),this.bufferLength=f,0==a)-1===e.peekByte()&&(this.eof=!0);else{const s=e.getBytes(a);n.set(s,d),s.length<a&&(this.eof=!0)}}else{if(1===c)o=g,l=p;else{if(2!==c)throw new h.FormatError("Unknown block type in flate stream");{const n=this.getBits(5)+257,e=this.getBits(5)+1,h=this.getBits(4)+4,d=new Uint8Array(u.length);let t;for(t=0;t<h;++t)d[u[t]]=this.getBits(3);const g=this.generateHuffmanTable(d),p=(s=0,t=0,n+e),c=new Uint8Array(p);let a,r,i;for(;t<p;){const n=this.getCode(g);if(16===n)a=2,r=3,i=s;else{if(17===n)a=3,r=3;else{if(18!==n){c[t++]=s=n;continue}a=7,r=11}i=s=0}let e=this.getBits(a)+r;for(;0<e--;)c[t++]=i}o=this.generateHuffmanTable(c.subarray(0,n)),l=this.generateHuffmanTable(c.subarray(n,p))}}let t=(n=this.buffer)?n.length:0,a=this.bufferLength;for(;;){var i=this.getCode(o);if(i<256)a+1>=t&&(n=this.ensureBuffer(a+1),t=n.length),n[a++]=i;else{if(256===i)return void(this.bufferLength=a);i-=257;let e=(i=d[i])>>16;0<e&&(e=this.getBits(e)),s=(65535&i)+e,i=this.getCode(l);const u=(65535&(i=f[i]))+(e=0<(e=i>>16)?this.getBits(e):e);a+s>=t&&(n=this.ensureBuffer(a+s),t=n.length);for(let e=0;e<s;++e,++a)n[a]=n[a-u]}}}}}t.FlateStream=i},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Stream=void 0;var i=a(5),r=a(18),n=a(4),s=a(24),o=a(2);class l extends r.DecodeStream{constructor(e,t,a){super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=a}get bytes(){return(0,o.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){if(!this.eof){const e=new s.Jbig2Image,t=[];if(this.params instanceof n.Dict){const e=this.params.get("JBIG2Globals");if(e instanceof i.BaseStream){const a=e.getBytes();t.push({data:a,start:0,end:a.length})}}t.push({data:this.bytes,start:0,end:this.bytes.length});const a=e.parseChunks(t),r=a.length;for(let e=0;e<r;e++)a[e]^=255;this.buffer=a,this.bufferLength=r,this.eof=!0}}}t.Jbig2Stream=l},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Image=void 0;var r=a(2),L=a(3),i=a(25),l=a(21);class _ extends r.BaseException{constructor(e){super("JBIG2 error: "+e,"Jbig2Error")}}class n{getContexts(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}class u{constructor(e,t,a){this.data=e,this.start=t,this.end=a}get decoder(){var e=new i.ArithmeticDecoder(this.data,this.start,this.end);return(0,r.shadow)(this,"decoder",e)}get contextCache(){var e=new n;return(0,r.shadow)(this,"contextCache",e)}}const o=2**31-1,c=-(2**31);function R(e,t,r){const i=e.getContexts(t);let n=1;function a(t){let a=0;for(let e=0;e<t;e++){const t=r.readBit(i,n);n=n<256?n<<1|t:511&(n<<1|t)|256,a=a<<1|t}return a>>>0}e=a(1),t=a(1)?a(1)?a(1)?a(1)?a(1)?a(32)+4436:a(12)+340:a(8)+84:a(6)+20:a(4)+4:a(2);let s;return 0===e?s=t:0<t&&(s=-t),s>=c&&s<=o?s:null}function j(e,t,a){var r=e.getContexts("IAID");let i=1;for(let e=0;e<a;e++)i=i<<1|t.readBit(r,i);return a<31?i&(1<<a)-1:2147483647&i}const p=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],$=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],C=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],U=[39717,1941,229,405],F=[32,8];function X(o,g,p,m,b,y,w,v){if(o)return z(new q(v.data,v.start,v.end),g,p,!1);if(0!==m||y||b||4!==w.length||3!==w[0].x||-1!==w[0].y||-3!==w[1].x||-1!==w[1].y||2!==w[2].x||-2!==w[2].y||-2!==w[3].x||-2!==w[3].y){var x=!!y,S=$[m].concat(w),k=(S.sort(function(e,t){return e.y-t.y||e.x-t.x}),S.length),A=new Int8Array(k),C=new Int8Array(k),F=[];let e,t,a=0,r=0,i=0,n=0;for(t=0;t<k;t++)A[t]=S[t].x,C[t]=S[t].y,r=Math.min(r,S[t].x),i=Math.max(i,S[t].x),n=Math.min(n,S[t].y),t<k-1&&S[t].y===S[t+1].y&&S[t].x===S[t+1].x-1?a|=1<<k-1-t:F.push(t);var O=F.length,I=new Int8Array(O),T=new Int8Array(O),M=new Uint16Array(O);for(e=0;e<O;e++)t=F[e],I[e]=S[t].x,T[e]=S[t].y,M[e]=1<<k-1-t;var P=-r,E=-n,N=g-i,B=U[m];let s=new Uint8Array(g);var D=[],R=v.decoder,L=v.contextCache.getContexts("GB");let o,l,c,h,u,d=0,f=0;for(let e=0;e<p;e++)if(b&&(d^=R.readBit(L,B)))D.push(s);else for(s=new Uint8Array(s),D.push(s),o=0;o<g;o++)if(x&&y[e][o])s[o]=0;else{if(o>=P&&o<N&&e>=E)for(f=f<<1&a,t=0;t<O;t++)l=e+T[t],c=o+I[t],(h=D[l][c])&&(h=M[t],f|=h);else for(f=0,u=k-1,t=0;t<k;t++,u--)0<=(c=o+A[t])&&c<g&&0<=(l=e+C[t])&&(h=D[l][c])&&(f|=h<<u);const p=R.readBit(L,f);s[o]=p}return D}{var l=g,c=p,o=v,h=o.decoder,u=o.contextCache.getContexts("GB"),d=[];let e,t,a,r,i,n,s;for(t=0;t<c;t++)for(i=d[t]=new Uint8Array(l),n=t<1?i:d[t-1],s=t<2?i:d[t-2],e=s[0]<<13|s[1]<<12|s[2]<<11|n[0]<<7|n[1]<<6|n[2]<<5|n[3]<<4,a=0;a<l;a++)i[a]=r=h.readBit(u,e),e=(31735&e)<<1|(a+3<l?s[a+3]<<11:0)|(a+4<l?n[a+4]<<4:0)|r;return d}}function H(n,s,e,o,l,c,t,a,r){let h=C[e].coding;var u=(h=0===e?h.concat([a[0]]):h).length,d=new Int32Array(u),f=new Int32Array(u);let g;for(g=0;g<u;g++)d[g]=h[g].x,f[g]=h[g].y;let i=C[e].reference;var p=(i=0===e?i.concat([a[1]]):i).length,m=new Int32Array(p),b=new Int32Array(p);for(g=0;g<p;g++)m[g]=i[g].x,b[g]=i[g].y;var y=o[0].length,w=o.length,v=F[e],x=[],S=r.decoder,k=r.contextCache.getContexts("GR");let A=0;for(let i=0;i<s;i++){if(t&&(A^=S.readBit(k,v)))throw new _("prediction is not supported");const s=new Uint8Array(n);x.push(s);for(let r=0;r<n;r++){let e,t,a=0;for(g=0;g<u;g++)e=i+f[g],t=r+d[g],e<0||t<0||t>=n?a<<=1:a=a<<1|x[e][t];for(g=0;g<p;g++)e=i+b[g]-c,t=r+m[g]-l,e<0||e>=w||t<0||t>=y?a<<=1:a=a<<1|o[e][t];const h=S.readBit(k,a);s[r]=h}}return x}function O(l,c,h,e,t,u,d,f,g,p,m,b,y,w,v,x,S,k,A){if(l&&c)throw new _("refinement with Huffman is not supported");var C=[];let F,O;for(F=0;F<e;F++){if(O=new Uint8Array(h),t)for(let e=0;e<h;e++)O[e]=t;C.push(O)}var I=S.decoder,T=S.contextCache;let M=l?-w.tableDeltaT.decode(A):-R(T,"IADT",I),P=0;for(F=0;F<u;){M+=l?w.tableDeltaT.decode(A):R(T,"IADT",I);let o=P+=l?w.tableFirstS.decode(A):R(T,"IAFS",I);for(;;){let e=0;1<d&&(e=l?A.readBits(k):R(T,"IAIT",I));const u=d*M+e,P=l?w.symbolIDTable.decode(A):j(T,I,g),D=c&&(l?A.readBit():R(T,"IARI",I));let t=f[P],a=t[0].length,r=t.length;if(D){const l=R(T,"IARDW",I),c=R(T,"IARDH",I);a+=l,r+=c,t=H(a,r,v,t,(l>>1)+R(T,"IARDX",I),(c>>1)+R(T,"IARDY",I),!1,x,S)}var E=u-(1&b?0:r-1),N=o-(2&b?a-1:0);let i,n,s;if(p){for(i=0;i<r;i++)if(O=C[N+i]){s=t[i];const l=Math.min(h-E,a);switch(y){case 0:for(n=0;n<l;n++)O[E+n]|=s[n];break;case 2:for(n=0;n<l;n++)O[E+n]^=s[n];break;default:throw new _(`operator ${y} is not supported`)}}o+=r-1}else{for(n=0;n<r;n++)if(O=C[E+n])switch(s=t[n],y){case 0:for(i=0;i<a;i++)O[N+i]|=s[i];break;case 2:for(i=0;i<a;i++)O[N+i]^=s[i];break;default:throw new _(`operator ${y} is not supported`)}o+=a-1}F++;var B=l?w.tableDeltaS.decode(A):R(T,"IADS",I);if(null===B)break;o+=B+m}}return C}function s(e,t,a,r){var i=[];let n=a;for(;n<r;){const a=function(t,e){var a={};a.number=(0,L.readUint32)(t,e);const r=t[e+4],i=63&r;if(!p[i])throw new _("invalid segment type: "+i);a.type=i,a.typeName=p[i],a.deferredNonRetain=!!(128&r);var n=!!(64&r),s=t[e+5];let o=s>>5&7;var l=[31&s];let c=e+6;if(7===s){o=536870911&(0,L.readUint32)(t,c-1),c+=3;let e=o+7>>3;for(l[0]=t[c++];0<--e;)l.push(t[c++])}else if(5===s||6===s)throw new _("invalid referred-to flags");a.retainBits=l;let h=4;a.number<=256?h=1:a.number<=65536&&(h=2);var u=[];let d,f;for(d=0;d<o;d++){var g=1===h?t[c]:(2===h?(0,L.readUint16):(0,L.readUint32))(t,c);u.push(g),c+=h}if(a.referredTo=u,n?(a.pageAssociation=(0,L.readUint32)(t,c),c+=4):a.pageAssociation=t[c++],a.length=(0,L.readUint32)(t,c),c+=4,4294967295===a.length){if(38!==i)throw new _("invalid unknown segment length");{const e=m(t,c),r=!!(1&t[c+b]),L=6,i=new Uint8Array(6);for(r||(i[0]=255,i[1]=172),i[2]=e.height>>>24&255,i[3]=e.height>>16&255,i[4]=e.height>>8&255,i[5]=255&e.height,d=c,f=t.length;d<f;d++){let e=0;for(;e<6&&i[e]===t[d+e];)e++;if(6===e){a.length=d+6;break}}if(4294967295===a.length)throw new _("segment end was not found")}}return a.headerEnd=c,a}(t,n),r=(n=a.headerEnd,{header:a,data:t});if(e.randomAccess||(r.start=n,n+=a.length,r.end=n),i.push(r),51===a.type)break}if(e.randomAccess)for(let e=0,t=i.length;e<t;e++)i[e].start=n,n+=i[e].header.length,i[e].end=n;return i}function m(e,t){return{width:(0,L.readUint32)(e,t),height:(0,L.readUint32)(e,t+4),x:(0,L.readUint32)(e,t+8),y:(0,L.readUint32)(e,t+12),combinationOperator:7&e[t+16]}}const b=17;function h(s,o){for(let n=0,e=s.length;n<e;n++){l=void 0;c=void 0;h=void 0;u=void 0;d=void 0;f=void 0;g=void 0;var l=s[n];var c=o;var h=l.header,u=l.data,d=l.end;let e,t,a,r,i=l.start;switch(h.type){case 0:const l={},c=(0,L.readUint16)(u,i);if(l.huffman=!!(1&c),l.refinement=!!(2&c),l.huffmanDHSelector=c>>2&3,l.huffmanDWSelector=c>>4&3,l.bitmapSizeSelector=c>>6&1,l.aggregationInstancesSelector=c>>7&1,l.bitmapCodingContextUsed=!!(256&c),l.bitmapCodingContextRetained=!!(512&c),l.template=c>>10&3,l.refinementTemplate=c>>12&1,i+=2,!l.huffman){for(r=0===l.template?4:1,t=[],a=0;a<r;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;l.at=t}if(l.refinement&&!l.refinementTemplate){for(t=[],a=0;a<2;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;l.refinementAt=t}l.numberOfExportedSymbols=(0,L.readUint32)(u,i),i+=4,l.numberOfNewSymbols=(0,L.readUint32)(u,i),i+=4,e=[l,h.number,h.referredTo,u,i,d];break;case 6:case 7:const p={};p.info=m(u,i),i+=b;var f=(0,L.readUint16)(u,i);if(i+=2,p.huffman=!!(1&f),p.refinement=!!(2&f),p.logStripSize=f>>2&3,p.stripSize=1<<p.logStripSize,p.referenceCorner=f>>4&3,p.transposed=!!(64&f),p.combinationOperator=f>>7&3,p.defaultPixelValue=f>>9&1,p.dsOffset=f<<17>>27,p.refinementTemplate=f>>15&1,p.huffman){const l=(0,L.readUint16)(u,i);i+=2,p.huffmanFS=3&l,p.huffmanDS=l>>2&3,p.huffmanDT=l>>4&3,p.huffmanRefinementDW=l>>6&3,p.huffmanRefinementDH=l>>8&3,p.huffmanRefinementDX=l>>10&3,p.huffmanRefinementDY=l>>12&3,p.huffmanRefinementSizeSelector=!!(16384&l)}if(p.refinement&&!p.refinementTemplate){for(t=[],a=0;a<2;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;p.refinementAt=t}p.numberOfSymbolInstances=(0,L.readUint32)(u,i),i+=4,e=[p,h.referredTo,u,i,d];break;case 16:var f={},g=u[i++];f.mmr=!!(1&g),f.template=g>>1&3,f.patternWidth=u[i++],f.patternHeight=u[i++],f.maxPatternIndex=(0,L.readUint32)(u,i),i+=4,e=[f,h.number,u,i,d];break;case 22:case 23:g={},f=(g.info=m(u,i),i+=b,u[i++]);g.mmr=!!(1&f),g.template=f>>1&3,g.enableSkip=!!(8&f),g.combinationOperator=f>>4&7,g.defaultPixelValue=f>>7&1,g.gridWidth=(0,L.readUint32)(u,i),i+=4,g.gridHeight=(0,L.readUint32)(u,i),i+=4,g.gridOffsetX=4294967295&(0,L.readUint32)(u,i),i+=4,g.gridOffsetY=4294967295&(0,L.readUint32)(u,i),i+=4,g.gridVectorX=(0,L.readUint16)(u,i),i+=2,g.gridVectorY=(0,L.readUint16)(u,i),i+=2,e=[g,h.referredTo,u,i,d];break;case 38:case 39:f={},g=(f.info=m(u,i),i+=b,u[i++]);if(f.mmr=!!(1&g),f.template=g>>1&3,f.prediction=!!(8&g),!f.mmr){for(r=0===f.template?4:1,t=[],a=0;a<r;a++)t.push({x:(0,L.readInt8)(u,i),y:(0,L.readInt8)(u,i+1)}),i+=2;f.at=t}e=[f,u,i,d];break;case 48:g={width:(0,L.readUint32)(u,i),height:(0,L.readUint32)(u,i+4),resolutionX:(0,L.readUint32)(u,i+8),resolutionY:(0,L.readUint32)(u,i+12)},f=(4294967295===g.height&&delete g.height,u[i+16]);(0,L.readUint16)(u,i+17),g.lossless=!!(1&f),g.refinement=!!(2&f),g.defaultPixelValue=f>>2&1,g.combinationOperator=f>>3&3,g.requiresBuffer=!!(32&f),g.combinationOperatorOverride=!!(64&f),e=[g];break;case 49:case 50:case 51:case 62:break;case 53:e=[h.number,u,i,d];break;default:throw new _(`segment type ${h.typeName}(${h.type}) is not implemented`)}const p="on"+h.typeName;p in c&&c[p].apply(c,e)}}class d{onPageInformation(e){var t=(this.currentPageInfo=e).width+7>>3,t=new Uint8ClampedArray(t*e.height);e.defaultPixelValue&&t.fill(255),this.buffer=t}drawBitmap(e,t){var a=this.currentPageInfo,r=e.width,i=e.height,n=a.width+7>>3,s=(a.combinationOperatorOverride?e:a).combinationOperator,o=this.buffer,l=128>>(7&e.x);let c,h,u,d,f=e.y*n+(e.x>>3);switch(s){case 0:for(c=0;c<i;c++){for(u=l,d=f,h=0;h<r;h++)t[c][h]&&(o[d]|=u),(u>>=1)||(u=128,d++);f+=n}break;case 2:for(c=0;c<i;c++){for(u=l,d=f,h=0;h<r;h++)t[c][h]&&(o[d]^=u),(u>>=1)||(u=128,d++);f+=n}break;default:throw new _(`operator ${s} is not supported`)}}onImmediateGenericRegion(e,t,a,r){var i=e.info,t=new u(t,a,r),a=X(e.mmr,i.width,i.height,e.template,e.prediction,null,e.at,t);this.drawBitmap(i,a)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(e,t,a,r,i,n){let s,o,l=(e.huffman&&(s=function(e,t,a){let r,i,n,s,o=0;switch(e.huffmanDHSelector){case 0:case 1:r=I(e.huffmanDHSelector+4);break;case 3:r=v(o,t,a),o++;break;default:throw new _("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:i=I(e.huffmanDWSelector+2);break;case 3:i=v(o,t,a),o++;break;default:throw new _("invalid Huffman DW selector")}return e.bitmapSizeSelector?(n=v(o,t,a),o++):n=I(1),s=e.aggregationInstancesSelector?v(o,t,a):I(1),{tableDeltaHeight:r,tableDeltaWidth:i,tableBitmapSize:n,tableAggregateInstances:s}}(e,a,this.customTables),o=new q(r,i,n)),this.symbols);l||(this.symbols=l={});var c=[];for(const e of a){const t=l[e];t&&c.push(...t)}a=new u(r,i,n);l[t]=function(r,i,o,n,l,s,c,h,u,d,f){if(r&&i)throw new _("symbol refinement with Huffman is not supported");var g=[];let p=0,m=(0,L.log2)(o.length+n);var b=d.decoder,y=d.contextCache;let t,w;for(r&&(t=I(1),w=[],m=Math.max(m,1));g.length<n;){p+=r?l.tableDeltaHeight.decode(f):R(y,"IADH",b);let t=0,a=0;const A=r?w.length:0;for(;;){const A=r?l.tableDeltaWidth.decode(f):R(y,"IADW",b);if(null===A)break;let e;if(t+=A,a+=t,i){const L=R(y,"IAAI",b);if(1<L)e=O(r,i,t,p,0,L,1,o.concat(g),m,0,0,1,0,l,h,u,d,0,f);else{const r=j(y,b,m),i=R(y,"IARDX",b),L=R(y,"IARDY",b);e=H(t,p,h,r<o.length?o[r]:g[r-o.length],i,L,!1,u,d)}g.push(e)}else r?w.push(t):(e=X(!1,t,p,s,!1,null,c,d),g.push(e))}if(r&&!i){const r=l.tableBitmapSize.decode(f);let s;if(f.byteAlign(),0===r)s=function(t,a,r){var i=[];for(let e=0;e<r;e++){const r=new Uint8Array(a);i.push(r);for(let e=0;e<a;e++)r[e]=t.readBit();t.byteAlign()}return i}(f,a,p);else{const o=f.end,n=f.position+r;f.end=n,s=z(f,a,p,!1),f.end=o,f.position=n}const o=w.length;if(A===o-1)g.push(s);else{let e,t,a,r,i,n=0;for(e=A;e<o;e++){for(r=w[e],a=n+r,i=[],t=0;t<p;t++)i.push(s[t].subarray(n,a));g.push(i),n=a}}}}var a=[],v=[];let x,e,S=!1;for(var k=o.length+n;v.length<k;){let e=r?t.decode(f):R(y,"IAEX",b);for(;e--;)v.push(S);S=!S}for(x=0,e=o.length;x<e;x++)v[x]&&a.push(o[x]);for(let e=0;e<n;x++,e++)v[x]&&a.push(g[e]);return a}(e.huffman,e.refinement,c,e.numberOfNewSymbols,(e.numberOfExportedSymbols,s),e.template,e.at,e.refinementTemplate,e.refinementAt,a,o)}onImmediateTextRegion(e,t,a,r,i){var n=e.info;let s,o;var l=this.symbols,c=[];for(const e of t){const t=l[e];t&&c.push(...t)}var h=(0,L.log2)(c.length),t=(e.huffman&&(o=new q(a,r,i),s=function(e,i,t,a,n){var s=[];for(let e=0;e<=34;e++){const i=n.readBits(4);s.push(new f([e,i,0,0]))}var o=new y(s,!1);for(let r=s.length=0;r<a;){const i=o.decode(n);if(32<=i){let e,t,a;switch(i){case 32:if(0===r)throw new _("no previous value in symbol ID table");t=n.readBits(2)+3,e=s[r-1].prefixLength;break;case 33:t=n.readBits(3)+3,e=0;break;case 34:t=n.readBits(7)+11,e=0;break;default:throw new _("invalid code length in symbol ID table")}for(a=0;a<t;a++)s.push(new f([r,e,0,0])),r++}else s.push(new f([r,i,0,0])),r++}n.byteAlign();var r=new y(s,!1);let l,c,h,u=0;switch(e.huffmanFS){case 0:case 1:l=I(e.huffmanFS+6);break;case 3:l=v(u,i,t),u++;break;default:throw new _("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:c=I(e.huffmanDS+8);break;case 3:c=v(u,i,t),u++;break;default:throw new _("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:h=I(e.huffmanDT+11);break;case 3:h=v(u,i,t),u++;break;default:throw new _("invalid Huffman DT selector")}if(e.refinement)throw new _("refinement with Huffman is not supported");return{symbolIDTable:r,tableFirstS:l,tableDeltaS:c,tableDeltaT:h}}(e,t,this.customTables,c.length,o)),new u(a,r,i)),a=O(e.huffman,e.refinement,n.width,n.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,c,h,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,s,e.refinementTemplate,e.refinementAt,t,e.logStripSize,o);this.drawBitmap(n,a)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(e,t,a,r,i){let n=this.patterns;n||(this.patterns=n={});a=new u(a,r,i);n[t]=function(e,t,a,r,i,n){var s=[],o=(e||(s.push({x:-t,y:0}),0===i&&s.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2})),X(e,(r+1)*t,a,i,!1,null,s,n)),l=[];for(let e=0;e<=r;e++){const r=[],i=t*e,n=i+t;for(let e=0;e<a;e++)r.push(o[e].subarray(i,n));l.push(r)}return l}(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,a)}onImmediateHalftoneRegion(e,t,a,r,i){var t=this.patterns[t[0]],n=e.info,a=new u(a,r,i),r=function(e,t,a,r,i,n,s,o,l,c,h,R,u,d,f){if(s)throw new _("skip is not supported");if(0!==o)throw new _(`operator "${o}" is not supported in halftone region`);var g=[];let p,m,b;for(p=0;p<i;p++){if(b=new Uint8Array(r),n)for(m=0;m<r;m++)b[m]=n;g.push(b)}var y,w,s=t.length,o=t[0],v=o[0].length,x=o.length,S=(0,L.log2)(s),k=[],A=(e||(k.push({x:a<=1?3:2,y:-1}),0===a&&k.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2})),[]);let C,F,O,I,T,M,P,E,N,B,D;for(e&&(C=new q(f.data,f.start,f.end)),p=S-1;0<=p;p--)F=e?z(C,l,c,!0):X(!1,l,c,a,!1,null,k,f),A[p]=F;for(O=0;O<c;O++)for(I=0;I<l;I++){for(T=0,M=0,m=S-1;0<=m;m--)T^=A[m][O][I],M|=T<<m;if(P=t[M],E=h+O*d+I*u>>8,N=R+O*u-I*d>>8,0<=E&&E+v<=r&&0<=N&&N+x<=i)for(p=0;p<x;p++)for(D=g[N+p],B=P[p],m=0;m<v;m++)D[E+m]|=B[m];else for(p=0;p<x;p++)if(!((w=N+p)<0||i<=w))for(D=g[w],B=P[p],m=0;m<v;m++)0<=(y=E+m)&&y<r&&(D[y]|=B[m])}return g}(e.mmr,t,e.template,n.width,n.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,a);this.drawBitmap(n,r)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(e,t,a,r){let i=this.customTables;i||(this.customTables=i={}),i[e]=function(e,t,a){var r=e[t],i=4294967295&(0,L.readUint32)(e,t+1),n=4294967295&(0,L.readUint32)(e,t+5),s=new q(e,t+9,a),o=1+(r>>1&7),l=1+(r>>4&7),c=[];let h,u,d=i;for(;h=s.readBits(o),u=s.readBits(l),c.push(new f([d,h,u,0])),(d+=1<<u)<n;);return h=s.readBits(o),c.push(new f([i-1,h,32,0,"lower"])),h=s.readBits(o),c.push(new f([n,h,32,0])),1&r&&(h=s.readBits(o),c.push(new f([h,0]))),new y(c,!1)}(t,a,r)}}class f{constructor(e){2===e.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=e[0],this.rangeLength=0,this.prefixCode=e[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=e[0],this.prefixLength=e[1],this.rangeLength=e[2],this.prefixCode=e[3],this.isLowerRange="lower"===e[4])}}class g{constructor(e){this.children=[],e?(this.isLeaf=!0,this.rangeLength=e.rangeLength,this.rangeLow=e.rangeLow,this.isLowerRange=e.isLowerRange,this.isOOB=e.isOOB):this.isLeaf=!1}buildTree(t,a){var r=t.prefixCode>>a&1;if(a<=0)this.children[r]=new g(t);else{let e=this.children[r];e||(this.children[r]=e=new g(null)),e.buildTree(t,a-1)}}decodeNode(e){if(this.isLeaf){if(this.isOOB)return null;const t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}const t=this.children[e.readBit()];if(t)return t.decodeNode(e);throw new _("invalid Huffman data")}}class y{constructor(a,e){e||this.assignPrefixCodes(a),this.rootNode=new g(null);for(let e=0,t=a.length;e<t;e++){var r=a[e];0<r.prefixLength&&this.rootNode.buildTree(r,r.prefixLength-1)}}decode(e){return this.rootNode.decodeNode(e)}assignPrefixCodes(t){var a=t.length;let r=0;for(let e=0;e<a;e++)r=Math.max(r,t[e].prefixLength);var i=new Uint32Array(r+1);for(let e=0;e<a;e++)i[t[e].prefixLength]++;let e,n,s,o=1,l=0;for(i[0]=0;o<=r;){for(l=l+i[o-1]<<1,e=l,n=0;n<a;)(s=t[n]).prefixLength===o&&(s.prefixCode=e,e++),n++;o++}}}const w={};function I(e){let a,t=w[e];if(!t){switch(e){case 1:a=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:a=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:a=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:a=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:a=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:a=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:a=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:a=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:a=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:a=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:a=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:a=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:a=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:a=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:a=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new _(`standard table B.${e} does not exist`)}for(let e=0,t=a.length;e<t;e++)a[e]=new f(a[e]);t=new y(a,!0),w[e]=t}return t}class q{constructor(e,t,a){this.data=e,this.start=t,this.end=a,this.position=t,this.shift=-1,this.currentByte=0}readBit(){if(this.shift<0){if(this.position>=this.end)throw new _("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e}readBits(e){let t,a=0;for(t=e-1;0<=t;t--)a|=this.readBit()<<t;return a}byteAlign(){this.shift=-1}next(){return this.position>=this.end?-1:this.data[this.position++]}}function v(a,r,i){let n=0;for(let e=0,t=r.length;e<t;e++){var s=i[r[e]];if(s){if(a===n)return s;n++}}throw new _("can't find custom Huffman table")}function z(a,r,t,e){var i=new l.CCITTFaxDecoder(a,{K:-1,Columns:r,Rows:t,BlackIs1:!0,EndOfBlock:e}),n=[];let s,o=!1;for(let e=0;e<t;e++){const a=new Uint8Array(r);n.push(a);let t=-1;for(let e=0;e<r;e++)t<0&&(-1===(s=i.readNextChar())&&(s=0,o=!0),t=7),a[e]=s>>t&1,t--}if(e&&!o){const a=5;for(let e=0;e<5&&-1!==i.readNextChar();e++);}return n}t.Jbig2Image=class{parseChunks(e){var a=e,r=new d;for(let e=0,t=a.length;e<t;e++){var i=a[e];h(s({},i.data,i.start,i.end),r)}return r.buffer}parse(e){throw new Error("Not implemented: Jbig2Image.parse")}}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArithmeticDecoder=void 0;const l=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];t.ArithmeticDecoder=class{constructor(e,t,a){this.data=e,this.bp=t,this.dataEnd=a,this.chigh=e[t],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}byteIn(){var e=this.data;let t=this.bp;255===e[t]?143<e[t+1]?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),65535<this.clow&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(e,t){let a=e[t]>>1,r=1&e[t];var i=l[a],n=i.qe;let s,o=this.a-n;if(this.chigh<n)a=o<n?(o=n,s=r,i.nmps):(o=n,s=1^r,1===i.switchFlag&&(r=s),i.nlps);else{if(this.chigh-=n,0!=(32768&o))return this.a=o,r;a=o<n?(s=1^r,1===i.switchFlag&&(r=s),i.nlps):(s=r,i.nmps)}for(;0===this.ct&&this.byteIn(),o<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--,0==(32768&o););return this.a=o,e[t]=a<<1|r,s}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpegStream=void 0;var r=a(18),s=a(4),o=a(27),i=a(2);class n extends r.DecodeStream{constructor(e,t,a){for(var r;-1!==(r=e.getByte());)if(255===r){e.skip(-1);break}super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=a}get bytes(){return(0,i.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){if(!this.eof){const e={decodeTransform:void 0,colorTransform:void 0},r=this.dict.getArray("D","Decode");if((this.forceRGBA||this.forceRGB)&&Array.isArray(r)){const i=this.dict.get("BPC","BitsPerComponent")||8,n=r.length,s=new Int32Array(n);let t=!1;var a=(1<<i)-1;for(let e=0;e<n;e+=2)s[e]=256*(r[e+1]-r[e])|0,s[e+1]=r[e]*a|0,256===s[e]&&0===s[e+1]||(t=!0);t&&(e.decodeTransform=s)}if(this.params instanceof s.Dict){const r=this.params.get("ColorTransform");Number.isInteger(r)&&(e.colorTransform=r)}const i=new o.JpegImage(e),n=(i.parse(this.bytes),i.getData({width:this.drawWidth,height:this.drawHeight,forceRGBA:this.forceRGBA,forceRGB:this.forceRGB,isSourcePDF:!0}));this.buffer=n,this.bufferLength=n.length,this.eof=!0}}}t.JpegStream=n},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpegImage=void 0;var H=a(2),n=a(28),q=a(3);class z extends H.BaseException{constructor(e){super("JPEG error: "+e,"JpegError")}}class G extends H.BaseException{constructor(e,t){super(e,"DNLMarkerError"),this.scanLines=t}}class W extends H.BaseException{constructor(e){super(e,"EOIMarkerError")}}const V=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),F=4017,O=799,I=3406,T=2276,M=1567,P=3784,E=5793,N=2896;function K(e,t,a){return 64*((e.blocksPerLine+1)*t+a)}function B(a,r,i,e,t,l,c,n,h,s=!1){const o=i.mcusPerLine,R=i.progressive,L=r;let u=0,d=0;function f(){if(0<d)return d--,u>>d&1;if(255===(u=a[r++])){var e=a[r++];if(e){if(220===e&&s){r+=2;var t=(0,q.readUint16)(a,r);if(r+=2,0<t&&t!==i.scanLines)throw new G("Found DNL marker (0xFFDC) while parsing scan data",t)}else if(217===e){if(s){const a=v*(8===i.precision?8:0);if(0<a&&5<=Math.round(i.scanLines/a))throw new G("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",a)}throw new W("Found EOI marker (0xFFD9) while parsing scan data")}throw new z("unexpected marker "+(u<<8|e).toString(16))}}return d=7,u>>>7}function g(e){let t=e;for(;;){switch(typeof(t=t[f()])){case"number":return t;case"object":continue}throw new z("invalid huffman sequence")}}function p(e){let t=0;for(;0<e;)t=t<<1|f(),e--;return t}function m(e){var t;return 1===e?1===f()?1:-1:1<<e-1<=(t=p(e))?t:t+(-1<<e)+1}let b,y=0,w=0,v=0;var x,S,_,j,k,A,$,C,F=e.length;let O,I,T,M,P,E;E=R?0===l?0===n?function(e,t){var a=g(e.huffmanTableDC),a=0===a?0:m(a)<<h;e.blockData[t]=e.pred+=a}:function(e,t){e.blockData[t]|=f()<<h}:0===n?function(t,a){if(0<y)y--;else{let e=l;const i=c;for(;e<=i;){const i=g(t.huffmanTableAC),n=15&i,s=i>>4;if(0==n){if(s<15){y=p(s)+(1<<s)-1;break}e+=16}else{e+=s;var r=V[e];t.blockData[a+r]=m(n)*(1<<h),e++}}}}:function(e,t){let a=l;const r=c;let i,n,s=0;for(;a<=r;){const r=t+V[a],o=e.blockData[r]<0?-1:1;switch(w){case 0:if(i=15&(n=g(e.huffmanTableAC)),s=n>>4,0==i)w=s<15?(y=p(s)+(1<<s),4):(s=16,1);else{if(1!=i)throw new z("invalid ACn encoding");b=m(i),w=s?2:3}continue;case 1:case 2:e.blockData[r]?e.blockData[r]+=o*(f()<<h):0===--s&&(w=2===w?3:0);break;case 3:e.blockData[r]?e.blockData[r]+=o*(f()<<h):(e.blockData[r]=b<<h,w=0);break;case 4:e.blockData[r]&&(e.blockData[r]+=o*(f()<<h))}a++}4===w&&0===--y&&(w=0)}:function(e,t){const a=g(e.huffmanTableDC),r=0===a?0:m(a);e.blockData[t]=e.pred+=r;let i=1;for(;i<64;){const a=g(e.huffmanTableAC),r=15&a,s=a>>4;if(0==r){if(s<15)break;i+=16}else{i+=s;var n=V[i];e.blockData[t+n]=m(r),i++}}};let N,B,U,X,D=0;for(B=1===F?e[0].blocksPerLine*e[0].blocksPerColumn:o*i.mcusPerColumn;D<=B;){const i=t?Math.min(B-D,t):B;if(0<i){for(I=0;I<F;I++)e[I].pred=0;if(y=0,1===F)for(O=e[0],P=0;P<i;P++)A=O,$=E,C=D,v=C/A.blocksPerLine|0,C%=A.blocksPerLine,$(A,K(A,v,C)),D++;else for(P=0;P<i;P++){for(I=0;I<F;I++)for(U=(O=e[I]).h,X=O.v,T=0;T<X;T++)for(M=0;M<U;M++)x=O,S=D,_=T,j=M,k=void 0,k=S%o,v=(S/o|0)*x.v+_,S=k*x.h+j,E(x,K(x,v,S));D++}}if(d=0,!(N=Y(a,r)))break;if(N.invalid){const a=0<i?"unexpected":"excessive";(0,H.warn)(`decodeScan - ${a} MCU data, current marker is: `+N.invalid),r=N.offset}if(!(65488<=N.marker&&N.marker<=65495))break;r+=2}return r-L}function r(e,w){var t=w.blocksPerLine,a=w.blocksPerColumn,v=new Int16Array(64);for(let y=0;y<a;y++)for(let e=0;e<t;e++){x=void 0;S=void 0;k=void 0;A=void 0;C=void 0;var x=w;var S=K(w,y,e);var k=v;var A=x.quantizationTable,C=x.blockData;let t,a,r,i,n,s,o,l,c,h,u,d,f,g,p,m,b;if(!A)throw new z("missing required Quantization Table.");for(let e=0;e<64;e+=8)c=C[S+e],h=C[S+e+1],u=C[S+e+2],d=C[S+e+3],f=C[S+e+4],g=C[S+e+5],p=C[S+e+6],m=C[S+e+7],c*=A[e],0!=(h|u|d|f|g|p|m)?(h*=A[e+1],u*=A[e+2],d*=A[e+3],f*=A[e+4],g*=A[e+5],p*=A[e+6],m*=A[e+7],t=E*c+128>>8,a=E*f+128>>8,r=u,i=p,n=N*(h-m)+128>>8,l=N*(h+m)+128>>8,s=d<<4,o=g<<4,t=t+a+1>>1,a=t-a,b=r*P+i*M+128>>8,r=r*M-i*P+128>>8,i=b,n=n+o+1>>1,o=n-o,l=l+s+1>>1,s=l-s,t=t+i+1>>1,i=t-i,a=a+r+1>>1,r=a-r,b=n*T+l*I+2048>>12,n=n*I-l*T+2048>>12,l=b,b=s*O+o*F+2048>>12,s=s*F-o*O+2048>>12,o=b,k[e]=t+l,k[e+7]=t-l,k[e+1]=a+o,k[e+6]=a-o,k[e+2]=r+s,k[e+5]=r-s,k[e+3]=i+n,k[e+4]=i-n):(b=E*c+512>>10,k[e]=b,k[e+1]=b,k[e+2]=b,k[e+3]=b,k[e+4]=b,k[e+5]=b,k[e+6]=b,k[e+7]=b);for(let e=0;e<8;++e)c=k[e],h=k[e+8],u=k[e+16],d=k[e+24],f=k[e+32],g=k[e+40],p=k[e+48],m=k[e+56],0!=(h|u|d|f|g|p|m)?(t=E*c+2048>>12,a=E*f+2048>>12,r=u,i=p,n=N*(h-m)+2048>>12,l=N*(h+m)+2048>>12,s=d,o=g,t=4112+(t+a+1>>1),a=t-a,b=r*P+i*M+2048>>12,r=r*M-i*P+2048>>12,i=b,n=n+o+1>>1,o=n-o,l=l+s+1>>1,s=l-s,t=t+i+1>>1,i=t-i,a=a+r+1>>1,r=a-r,b=n*T+l*I+2048>>12,n=n*I-l*T+2048>>12,l=b,b=s*O+o*F+2048>>12,s=s*F-o*O+2048>>12,o=b,c=t+l,m=t-l,h=a+o,p=a-o,u=r+s,g=r-s,d=i+n,f=i-n,c<16?c=0:4080<=c?c=255:c>>=4,h<16?h=0:4080<=h?h=255:h>>=4,u<16?u=0:4080<=u?u=255:u>>=4,d<16?d=0:4080<=d?d=255:d>>=4,f<16?f=0:4080<=f?f=255:f>>=4,g<16?g=0:4080<=g?g=255:g>>=4,p<16?p=0:4080<=p?p=255:p>>=4,m<16?m=0:4080<=m?m=255:m>>=4,C[S+e]=c,C[S+e+8]=h,C[S+e+16]=u,C[S+e+24]=d,C[S+e+32]=f,C[S+e+40]=g,C[S+e+48]=p,C[S+e+56]=m):(b=(b=E*c+8192>>14)<-2040?0:2024<=b?255:b+2056>>4,C[S+e]=b,C[S+e+8]=b,C[S+e+16]=b,C[S+e+24]=b,C[S+e+32]=b,C[S+e+40]=b,C[S+e+48]=b,C[S+e+56]=b)}return w.blockData}function Y(e,t,a=t){var r=e.length-1;let i=a<t?a:t;if(r<=t)return null;a=(0,q.readUint16)(e,t);if(65472<=a&&a<=65534)return{invalid:null,marker:a,offset:t};let n=(0,q.readUint16)(e,i);for(;!(65472<=n&&n<=65534);){if(++i>=r)return null;n=(0,q.readUint16)(e,i)}return{invalid:a.toString(16),marker:n,offset:i}}t.JpegImage=class{constructor({decodeTransform:e=null,colorTransform:t=-1}={}){this._decodeTransform=e,this._colorTransform=t}parse(s,{dnlScanLines:o=null}={}){function l(){var e=(0,q.readUint16)(s,d);let t=(d+=2)+e-2;e=Y(s,t,d),e?.invalid&&((0,H.warn)("readDataBlock - incorrect length, current marker is: "+e.invalid),t=e.offset),e=s.subarray(d,t);return d+=e.length,e}function c(e){var t=Math.ceil(e.samplesPerLine/8/e.maxH),a=Math.ceil(e.scanLines/8/e.maxV);for(const s of e.components){var r=Math.ceil(Math.ceil(e.samplesPerLine/8)*s.h/e.maxH),i=Math.ceil(Math.ceil(e.scanLines/8)*s.v/e.maxV),n=t*s.h,n=a*s.v*64*(1+n);s.blockData=new Int16Array(n),s.blocksPerLine=r,s.blocksPerColumn=i}e.mcusPerLine=t,e.mcusPerColumn=a}let h,u,d=0,f=null,g=null,p=0;var m=[],b=[],y=[];let w=(0,q.readUint16)(s,d);if(d+=2,65496!==w)throw new z("SOI not found");w=(0,q.readUint16)(s,d),d+=2;e:for(;65497!==w;){let r,i,n;switch(w){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var v=l();65504===w&&74===v[0]&&70===v[1]&&73===v[2]&&70===v[3]&&0===v[4]&&(f={version:{major:v[5],minor:v[6]},densityUnits:v[7],xDensity:v[8]<<8|v[9],yDensity:v[10]<<8|v[11],thumbWidth:v[12],thumbHeight:v[13],thumbData:v.subarray(14,14+3*v[12]*v[13])}),65518===w&&65===v[0]&&100===v[1]&&111===v[2]&&98===v[3]&&101===v[4]&&(g={version:v[5]<<8|v[6],flags0:v[7]<<8|v[8],flags1:v[9]<<8|v[10],transformCode:v[11]});break;case 65499:var x=(0,q.readUint16)(s,d)+(d+=2)-2;let e;for(;d<x;){const o=s[d++],l=new Uint16Array(64);if(o>>4==0)for(i=0;i<64;i++)e=V[i],l[e]=s[d++];else{if(o>>4!=1)throw new z("DQT - invalid table spec");for(i=0;i<64;i++)e=V[i],l[e]=(0,q.readUint16)(s,d),d+=2}m[15&o]=l}break;case 65472:case 65473:case 65474:if(h)throw new z("Only single frame JPEGs supported");d+=2,(h={}).extended=65473===w,h.progressive=65474===w,h.precision=s[d++];var v=(0,q.readUint16)(s,d),S=(d+=2,h.scanLines=o||v,h.samplesPerLine=(0,q.readUint16)(s,d),d+=2,h.components=[],h.componentIds={},s[d++]);let t=0,a=0;for(r=0;r<S;r++){const o=s[d],l=s[d+1]>>4,H=15&s[d+1],c=(t<l&&(t=l),a<H&&(a=H),s[d+2]);n=h.components.push({h:l,v:H,quantizationId:c,quantizationTable:null}),h.componentIds[o]=n-1,d+=3}h.maxH=t,h.maxV=a,c(h);break;case 65476:var k=(0,q.readUint16)(s,d);for(d+=2,r=2;r<k;){const o=s[d++],l=new Uint8Array(16);let e=0;for(i=0;i<16;i++,d++)e+=l[i]=s[d];const c=new Uint8Array(e);for(i=0;i<e;i++,d++)c[i]=s[d];r+=17+e,(o>>4==0?y:b)[15&o]=function(e,t){let a,r,i=0,n=16;for(;0<n&&!e[n-1];)n--;var s=[{children:[],index:0}];let o,l=s[0];for(a=0;a<n;a++){for(r=0;r<e[a];r++){for((l=s.pop()).children[l.index]=t[i];0<l.index;)l=s.pop();for(l.index++,s.push(l);s.length<=a;)s.push(o={children:[],index:0}),l.children[l.index]=o.children,l=o;i++}a+1<n&&(s.push(o={children:[],index:0}),l.children[l.index]=o.children,l=o)}return s[0].children}(l,c)}break;case 65501:d+=2,u=(0,q.readUint16)(s,d),d+=2;break;case 65498:var A=1==++p&&!o,C=(d+=2,s[d++]),F=[];for(r=0;r<C;r++){const o=s[d++],l=h.componentIds[o],H=h.components[l],c=(H.index=o,s[d++]);H.huffmanTableDC=y[c>>4],H.huffmanTableAC=b[15&c],F.push(H)}var O=s[d++],I=s[d++],T=s[d++];try{const o=B(s,d,h,F,u,O,I,T>>4,15&T,A);d+=o}catch(o){if(o instanceof G)return(0,H.warn)(o.message+" -- attempting to re-parse the JPEG image."),this.parse(s,{dnlScanLines:o.scanLines});if(o instanceof W){(0,H.warn)(o.message+" -- ignoring the rest of the image data.");break e}throw o}break;case 65500:d+=4;break;case 65535:255!==s[d]&&d--;break;default:O=Y(s,d-2,d-3);if(O?.invalid){(0,H.warn)("JpegImage.parse - unexpected data, current marker is: "+O.invalid),d=O.offset;break}if(!O||d>=s.length-1){(0,H.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new z("JpegImage.parse - unknown marker: "+w.toString(16))}w=(0,q.readUint16)(s,d),d+=2}this.width=h.samplesPerLine,this.height=h.scanLines,this.jfif=f,this.adobe=g,this.components=[];for(const s of h.components){const o=m[s.quantizationId];o&&(s.quantizationTable=o),this.components.push({index:s.index,output:r(0,s),scaleX:s.h/h.maxH,scaleY:s.v/h.maxV,blocksPerLine:s.blocksPerLine,blocksPerColumn:s.blocksPerColumn})}this.numComponents=this.components.length}_getLinearizedBlockData(e,t,a=!1){var r=this.width/e,i=this.height/t;let n,s,o,l,c,h,u,d,f,g,p,m=0;var b=this.components.length,y=e*t*b,w=new Uint8ClampedArray(y),v=new Uint32Array(e);let x;for(u=0;u<b;u++){if(s=(n=this.components[u]).scaleX*r,o=n.scaleY*i,m=u,p=n.output,l=n.blocksPerLine+1<<3,s!==x){for(c=0;c<e;c++)d=0|c*s,v[c]=(4294967288&d)<<3|7&d;x=s}for(h=0;h<t;h++)for(g=l*(4294967288&(d=0|h*o))|(7&d)<<3,c=0;c<e;c++)w[m]=p[g+v[c]],m+=b}let S=this._decodeTransform;if(S=a||4!==b?S:S||new Int32Array([-256,255,-256,255,-256,255,-256,255]))for(u=0;u<y;)for(d=0,f=0;d<b;d++,u++,f+=2)w[u]=(w[u]*S[f]>>8)+S[f+1];return w}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}_convertYccToRgb(a){var r,i,n;for(let e=0,t=a.length;e<t;e+=3)r=a[e],i=a[e+1],n=a[e+2],a[e]=r-179.456+1.402*n,a[e+1]=r+135.459-.344*i-.714*n,a[e+2]=r-226.816+1.772*i;return a}_convertYccToRgba(r,i){for(let e=0,t=0,a=r.length;e<a;e+=3,t+=4){var n=r[e],s=r[e+1],o=r[e+2];i[t]=n-179.456+1.402*o,i[t+1]=n+135.459-.344*s-.714*o,i[t+2]=n-226.816+1.772*s,i[t+3]=255}return i}_convertYcckToRgb(a){let r,i,n,s,o=0;for(let e=0,t=a.length;e<t;e+=4)r=a[e],i=a[e+1],n=a[e+2],s=a[e+3],a[o++]=i*(-660635669420364e-19*i+.000437130475926232*n-54080610064599e-18*r+.00048449797120281*s-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*r-.00477271405408747*s+1.53380253221734)+r*(.000961250184130688*r-.00266257332283933*s+.48357088451265)+s*(-.000336197177618394*s+.484791561490776),a[o++]=107.268039397724+i*(219927104525741e-19*i-.000640992018297945*n+.000659397001245577*r+.000426105652938837*s-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*r+.000770482631801132*s-.151051492775562)+r*(.00126935368114843*r-.00265090189010898*s+.25802910206845)+s*(-.000318913117588328*s-.213742400323665),a[o++]=i*(-.000570115196973677*i-263409051004589e-19*n+.0020741088115012*r-.00288260236853442*s+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*r+.000560833691242812*s-.195152027534049)+r*(.00174418132927582*r-.00255243321439347*s+.116935020465145)+s*(-.000343531996510555*s+.24165260232407);return a.subarray(0,o)}_convertYcckToRgba(a){for(let e=0,t=a.length;e<t;e+=4){var r=a[e],i=a[e+1],n=a[e+2],s=a[e+3];a[e]=i*(-660635669420364e-19*i+.000437130475926232*n-54080610064599e-18*r+.00048449797120281*s-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*r-.00477271405408747*s+1.53380253221734)+r*(.000961250184130688*r-.00266257332283933*s+.48357088451265)+s*(-.000336197177618394*s+.484791561490776),a[e+1]=107.268039397724+i*(219927104525741e-19*i-.000640992018297945*n+.000659397001245577*r+.000426105652938837*s-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*r+.000770482631801132*s-.151051492775562)+r*(.00126935368114843*r-.00265090189010898*s+.25802910206845)+s*(-.000318913117588328*s-.213742400323665),a[e+2]=i*(-.000570115196973677*i-263409051004589e-19*n+.0020741088115012*r-.00288260236853442*s+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*r+.000560833691242812*s-.195152027534049)+r*(.00174418132927582*r-.00255243321439347*s+.116935020465145)+s*(-.000343531996510555*s+.24165260232407),a[e+3]=255}return a}_convertYcckToCmyk(a){var r,i,n;for(let e=0,t=a.length;e<t;e+=4)r=a[e],i=a[e+1],n=a[e+2],a[e]=434.456-r-1.402*n,a[e+1]=119.541-r+.344*i+.714*n,a[e+2]=481.816-r-1.772*i;return a}_convertCmykToRgb(a){let r,i,n,s,o=0;for(let e=0,t=a.length;e<t;e+=4)r=a[e],i=a[e+1],n=a[e+2],s=a[e+3],a[o++]=255+r*(-6747147073602441e-20*r+.0008379262121013727*i+.0002894718188643294*n+.003264231057537806*s-1.1185611867203937)+i*(26374107616089405e-21*i-8626949158638572e-20*n-.0002748769067499491*s-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*s+.0686742238595345)-s*(.0003361971776183937*s+.7430659151342254),a[o++]=255+r*(.00013596372813588848*r+.000924537132573585*i+.00010567359618683593*n+.0004791864687436512*s-.3109689587515875)+i*(-.00023545346108370344*i+.0002702845253534714*n+.0020200308977307156*s-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*s-.09751927774728933)-s*(.0003189131175883281*s+.7364883807733168),a[o++]=255+r*(13598650411385307e-21*r+.00012423956175490851*i+.0004751985097583589*n-36729317476630422e-22*s-.05562186980264034)+i*(.00016141380598724676*i+.0009692239130725186*n+.0007782692450036253*s-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*s-.7591454649749609)-s*(.0003435319965105553*s+.7063770186160144);return a.subarray(0,o)}_convertCmykToRgba(a){for(let e=0,t=a.length;e<t;e+=4){var r=a[e],i=a[e+1],n=a[e+2],s=a[e+3];a[e]=255+r*(-6747147073602441e-20*r+.0008379262121013727*i+.0002894718188643294*n+.003264231057537806*s-1.1185611867203937)+i*(26374107616089405e-21*i-8626949158638572e-20*n-.0002748769067499491*s-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*s+.0686742238595345)-s*(.0003361971776183937*s+.7430659151342254),a[e+1]=255+r*(.00013596372813588848*r+.000924537132573585*i+.00010567359618683593*n+.0004791864687436512*s-.3109689587515875)+i*(-.00023545346108370344*i+.0002702845253534714*n+.0020200308977307156*s-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*s-.09751927774728933)-s*(.0003189131175883281*s+.7364883807733168),a[e+2]=255+r*(13598650411385307e-21*r+.00012423956175490851*i+.0004751985097583589*n-36729317476630422e-22*s-.05562186980264034)+i*(.00016141380598724676*i+.0009692239130725186*n+.0007782692450036253*s-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*s-.7591454649749609)-s*(.0003435319965105553*s+.7063770186160144),a[e+3]=255}return a}getData({width:t,height:a,forceRGBA:r=!1,forceRGB:e=!1,isSourcePDF:i=!1}){if(4<this.numComponents)throw new z("Unsupported color mode");i=this._getLinearizedBlockData(t,a,i);if(1===this.numComponents&&(r||e)){const t=i.length*(r?4:3),a=new Uint8ClampedArray(t);let e=0;if(r)(0,n.grayToRGBA)(i,new Uint32Array(a.buffer));else for(const t of i)a[e++]=t,a[e++]=t,a[e++]=t;return a}if(3===this.numComponents&&this._isColorConversionNeeded){if(r){const t=new Uint8ClampedArray(i.length/3*4);return this._convertYccToRgba(i,t)}return this._convertYccToRgb(i)}if(4===this.numComponents){if(this._isColorConversionNeeded)return r?this._convertYcckToRgba(i):e?this._convertYcckToRgb(i):this._convertYcckToCmyk(i);if(r)return this._convertCmykToRgba(i);if(e)return this._convertCmykToRgb(i)}return i}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.convertBlackAndWhiteToRGBA=l,t.convertToRGBA=function(e){switch(e.kind){case g.ImageKind.GRAYSCALE_1BPP:return l(e);case g.ImageKind.RGB_24BPP:{var[{src:r,srcPos:t=0,dest:i,destPos:n=0}]=[e];let a=0;var s=r.length>>2,o=new Uint32Array(r.buffer,t,s);if(g.FeatureTest.isLittleEndian){for(;a<s-2;a+=3,n+=4){const r=o[a],t=o[a+1],g=o[a+2];i[n]=4278190080|r,i[n+1]=r>>>24|t<<8|4278190080,i[n+2]=t>>>16|g<<16|4278190080,i[n+3]=g>>>8|4278190080}for(let e=4*a,t=r.length;e<t;e+=3)i[n++]=r[e]|r[e+1]<<8|r[e+2]<<16|4278190080}else{for(;a<s-2;a+=3,n+=4){const r=o[a],t=o[a+1],g=o[a+2];i[n]=255|r,i[n+1]=r<<24|t>>>8|255,i[n+2]=t<<16|g>>>16|255,i[n+3]=g<<8|255}for(let e=4*a,t=r.length;e<t;e+=3)i[n++]=r[e]<<24|r[e+1]<<16|r[e+2]<<8|255}return{srcPos:t,destPos:n};return}}return null},t.grayToRGBA=function(a,r){if(g.FeatureTest.isLittleEndian)for(let e=0,t=a.length;e<t;e++)r[e]=65793*a[e]|4278190080;else for(let e=0,t=a.length;e<t;e++)r[e]=16843008*a[e]|255};var g=a(2);function l({src:t,srcPos:a=0,dest:r,width:e,height:i,nonBlackColor:n=4294967295,inverseDecode:s=!1}){var o=g.FeatureTest.isLittleEndian?4278190080:255,[l,c]=s?[n,o]:[o,n],h=e>>3,u=7&e,d=t.length;r=new Uint32Array(r.buffer);let f=0;for(let e=0;e<i;e++){for(const g=a+h;a<g;a++){const g=a<d?t[a]:255;r[f++]=128&g?c:l,r[f++]=64&g?c:l,r[f++]=32&g?c:l,r[f++]=16&g?c:l,r[f++]=8&g?c:l,r[f++]=4&g?c:l,r[f++]=2&g?c:l,r[f++]=1&g?c:l}if(0!=u){const g=a<d?t[a++]:255;for(let e=0;e<u;e++)r[f++]=g&1<<7-e?c:l}}return{srcPos:a,destPos:f}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpxStream=void 0;var r=a(18),g=a(30),i=a(2);class n extends r.DecodeStream{constructor(e,t,a){super(t),this.stream=e,this.dict=e.dict,this.maybeLength=t,this.params=a}get bytes(){return(0,i.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(e){}readBlock(){if(!this.eof){const n=new g.JpxImage,s=(n.parse(this.bytes),n.width),e=n.height,o=n.componentsCount,l=n.tiles.length;if(1===l)this.buffer=n.tiles[0].items;else{const g=new Uint8ClampedArray(s*e*o);for(let e=0;e<l;e++){const l=n.tiles[e],c=l.width,h=l.height,u=l.left,d=l.top,f=l.items;let t=0,a=(s*d+u)*o;var r=s*o,i=c*o;for(let e=0;e<h;e++){const n=f.subarray(t,t+i);g.set(n,a),t+=i,a+=r}}this.buffer=g}this.bufferLength=this.buffer.length,this.eof=!0}}}t.JpxStream=n},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JpxImage=void 0;var D=a(2),R=a(3),z=a(25);class L extends D.BaseException{constructor(e){super("JPX error: "+e,"JpxError")}}const G={LL:0,LH:1,HL:1,HH:2};function m(e,t,a){var r=a.xcb_,a=a.ycb_,i=1<<r,n=1<<a,s=t.tbx0>>r,o=t.tby0>>a,l=t.tbx1+i-1>>r,c=t.tby1+n-1>>a,h=t.resolution.precinctParameters,u=[],d=[];let f,g,p,m;for(g=o;g<c;g++)for(f=s;f<l;f++)if((p={cbx:f,cby:g,tbx0:i*f,tby0:n*g,tbx1:i*(f+1),tby1:n*(g+1)}).tbx0_=Math.max(t.tbx0,p.tbx0),p.tby0_=Math.max(t.tby0,p.tby0),p.tbx1_=Math.min(t.tbx1,p.tbx1),p.tby1_=Math.min(t.tby1,p.tby1),m=Math.floor((p.tbx0_-t.tbx0)/h.precinctWidthInSubband)+Math.floor((p.tby0_-t.tby0)/h.precinctHeightInSubband)*h.numprecinctswide,p.precinctNumber=m,p.subbandType=t.type,p.Lblock=3,!(p.tbx1_<=p.tbx0_||p.tby1_<=p.tby0_)){u.push(p);let e=d[m];void 0!==e?(f<e.cbxMin?e.cbxMin=f:f>e.cbxMax&&(e.cbxMax=f),g<e.cbyMin?e.cbxMin=g:g>e.cbyMax&&(e.cbyMax=g)):d[m]=e={cbxMin:f,cbyMin:g,cbxMax:f,cbyMax:g},p.precinct=e}t.codeblockParameters={codeblockWidth:r,codeblockHeight:a,numcodeblockwide:l-s+1,numcodeblockhigh:c-o+1},t.codeblocks=u,t.precincts=d}function p(e,a,r){const i=[],n=e.subbands;for(let e=0,t=n.length;e<t;e++){const r=n[e].codeblocks;for(let e=0,t=r.length;e<t;e++){const n=r[e];n.precinctNumber===a&&i.push(n)}}return{layerNumber:r,codeblocks:i}}function b(e){const t=e.SIZ,a=e.currentTile.index,i=e.tiles[a],n=i.codingStyleDefaultParameters.layersCount,s=t.Csiz;let o=0;for(let e=0;e<s;e++)o=Math.max(o,i.components[e].codingStyleParameters.decompositionLevelsCount);let l=0,c=0,h=0,u=0;this.nextPacket=function(){for(;l<n;l++){for(;c<=o;c++){for(;h<s;h++){var e=i.components[h];if(!(c>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[c],a=t.precinctParameters.numprecincts;u<a;){var r=p(t,u,l);return u++,r}u=0}}h=0}c=0}throw new L("Out of packets")}}function y(e){const t=e.SIZ,a=e.currentTile.index,i=e.tiles[a],n=i.codingStyleDefaultParameters.layersCount,s=t.Csiz;let o=0;for(let e=0;e<s;e++)o=Math.max(o,i.components[e].codingStyleParameters.decompositionLevelsCount);let l=0,c=0,h=0,u=0;this.nextPacket=function(){for(;l<=o;l++){for(;c<n;c++){for(;h<s;h++){var e=i.components[h];if(!(l>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[l],a=t.precinctParameters.numprecincts;u<a;){var r=p(t,u,c);return u++,r}u=0}}h=0}c=0}throw new L("Out of packets")}}function w(e){const t=e.SIZ,a=e.currentTile.index,r=e.tiles[a],i=r.codingStyleDefaultParameters.layersCount,n=t.Csiz;let s,o,l,c,h=0;for(l=0;l<n;l++){const e=r.components[l];h=Math.max(h,e.codingStyleParameters.decompositionLevelsCount)}const u=new Int32Array(h+1);for(o=0;o<=h;++o){let e=0;for(l=0;l<n;++l){const t=r.components[l].resolutions;o<t.length&&(e=Math.max(e,t[o].precinctParameters.numprecincts))}u[o]=e}s=0,o=0,l=0,c=0,this.nextPacket=function(){for(;o<=h;o++){for(;c<u[o];c++){for(;l<n;l++){var e=r.components[l];if(!(o>e.codingStyleParameters.decompositionLevelsCount)){var t=e.resolutions[o],e=t.precinctParameters.numprecincts;if(!(c>=e)){for(;s<i;){var a=p(t,c,s);return s++,a}s=0}}}l=0}c=0}throw new L("Out of packets")}}function v(e){const t=e.SIZ,a=e.currentTile.index,n=e.tiles[a],s=n.codingStyleDefaultParameters.layersCount,o=t.Csiz,l=r(n),c=l;let h=0,u=0,d=0,f=0,g=0;this.nextPacket=function(){for(;g<c.maxNumHigh;g++){for(;f<c.maxNumWide;f++){for(;d<o;d++){for(var e=n.components[d],t=e.codingStyleParameters.decompositionLevelsCount;u<=t;u++){const r=e.resolutions[u],i=l.components[d].resolutions[u],n=S(f,g,i,c,r);if(null!==n){for(;h<s;){var a=p(r,n,h);return h++,a}h=0}}u=0}d=0}f=0}throw new L("Out of packets")}}function x(e){const t=e.SIZ,a=e.currentTile.index,n=e.tiles[a],s=n.codingStyleDefaultParameters.layersCount,o=t.Csiz,l=r(n);let c=0,h=0,u=0,d=0,f=0;this.nextPacket=function(){for(;u<o;++u){for(var e=n.components[u],t=l.components[u],a=e.codingStyleParameters.decompositionLevelsCount;f<t.maxNumHigh;f++){for(;d<t.maxNumWide;d++){for(;h<=a;h++){const i=e.resolutions[h],n=t.resolutions[h],o=S(d,f,n,t,i);if(null!==o){for(;c<s;){var r=p(i,o,c);return c++,r}c=0}}h=0}d=0}f=0}throw new L("Out of packets")}}function S(e,t,a,r,i){e*=r.minWidth,t*=r.minHeight;return e%a.width!=0||t%a.height!=0?null:(r=t/a.width*i.precinctParameters.numprecinctswide,e/a.height+r)}function r(s){const o=s.components.length;let l=Number.MAX_VALUE,c=Number.MAX_VALUE,h=0,u=0;var d=new Array(o);for(let e=0;e<o;e++){const o=s.components[e],f=o.codingStyleParameters.decompositionLevelsCount,g=new Array(f+1);let t=Number.MAX_VALUE,a=Number.MAX_VALUE,r=0,i=0,n=1;for(let e=f;0<=e;--e){const l=o.resolutions[e],c=n*l.precinctParameters.precinctWidth,h=n*l.precinctParameters.precinctHeight;t=Math.min(t,c),a=Math.min(a,h),r=Math.max(r,l.precinctParameters.numprecinctswide),i=Math.max(i,l.precinctParameters.numprecinctshigh),g[e]={width:c,height:h},n<<=1}l=Math.min(l,t),c=Math.min(c,a),h=Math.max(h,r),u=Math.max(u,i),d[e]={resolutions:g,minWidth:t,minHeight:a,maxNumWide:r,maxNumHigh:i}}return{components:d,minWidth:l,minHeight:c,maxNumWide:h,maxNumHigh:u}}function _(e){const a=e.SIZ,r=e.currentTile.index,i=e.tiles[r],n=a.Csiz;for(let e=0;e<n;e++){const a=i.components[e],r=a.codingStyleParameters.decompositionLevelsCount,n=[],f=[];for(let t=0;t<=r;t++){h=a,u=t,d=void 0,h=h.codingStyleParameters,d={},h.entropyCoderWithCustomPrecincts?(d.PPx=h.precinctsSizes[u].PPx,d.PPy=h.precinctsSizes[u].PPy):(d.PPx=15,d.PPy=15),d.xcb_=0<u?Math.min(h.xcb,d.PPx-1):Math.min(h.xcb,d.PPx),d.ycb_=0<u?Math.min(h.ycb,d.PPy-1):Math.min(h.ycb,d.PPy);const i=d,L={},g=1<<r-t;let e;if(L.trx0=Math.ceil(a.tcx0/g),L.try0=Math.ceil(a.tcy0/g),L.trx1=Math.ceil(a.tcx1/g),L.try1=Math.ceil(a.tcy1/g),L.resLevel=t,u=L,h=i,c=o=l=o=s=d=void 0,d=1<<h.PPx,s=1<<h.PPy,o=0===u.resLevel,l=1<<h.PPx+(o?0:-1),h=1<<h.PPy+(o?0:-1),o=u.trx1>u.trx0?Math.ceil(u.trx1/d)-Math.floor(u.trx0/d):0,c=u.try1>u.try0?Math.ceil(u.try1/s)-Math.floor(u.try0/s):0,u.precinctParameters={precinctWidth:d,precinctHeight:s,numprecinctswide:o,numprecinctshigh:c,numprecincts:o*c,precinctWidthInSubband:l,precinctHeightInSubband:h},n.push(L),0===t)(e={}).type="LL",e.tbx0=Math.ceil(a.tcx0/g),e.tby0=Math.ceil(a.tcy0/g),e.tbx1=Math.ceil(a.tcx1/g),e.tby1=Math.ceil(a.tcy1/g),e.resolution=L,m(0,e,i),f.push(e),L.subbands=[e];else{const n=1<<r-t+1,p=[];(e={type:"HL"}).tbx0=Math.ceil(a.tcx0/n-.5),e.tby0=Math.ceil(a.tcy0/n),e.tbx1=Math.ceil(a.tcx1/n-.5),e.tby1=Math.ceil(a.tcy1/n),e.resolution=L,m(0,e,i),f.push(e),p.push(e),(e={type:"LH"}).tbx0=Math.ceil(a.tcx0/n),e.tby0=Math.ceil(a.tcy0/n-.5),e.tbx1=Math.ceil(a.tcx1/n),e.tby1=Math.ceil(a.tcy1/n-.5),e.resolution=L,m(0,e,i),f.push(e),p.push(e),(e={type:"HH"}).tbx0=Math.ceil(a.tcx0/n-.5),e.tby0=Math.ceil(a.tcy0/n-.5),e.tbx1=Math.ceil(a.tcx1/n-.5),e.tby1=Math.ceil(a.tcy1/n-.5),e.resolution=L,m(0,e,i),f.push(e),p.push(e),L.subbands=p}}a.resolutions=n,a.subbands=f}var s,o,l,c,h,u,d;const f=i.codingStyleDefaultParameters.progressionOrder;switch(f){case 0:i.packetsIterator=new b(e);break;case 1:i.packetsIterator=new y(e);break;case 2:i.packetsIterator=new w(e);break;case 3:i.packetsIterator=new v(e);break;case 4:i.packetsIterator=new x(e);break;default:throw new L("Unsupported progression order "+f)}}function j(o,l,t,c){let h,u=0,a=0,d=!1;function f(e){for(;a<e;){const e=l[t+u];u++,d?(h=h<<7|e,a+=7,d=!1):(h=h<<8|e,a+=8),255===e&&(d=!0)}return a-=e,h>>>a&(1<<e)-1}function e(e){return 255===l[t+u-1]&&l[t+u]===e?(r(1),!0):255===l[t+u]&&l[t+u+1]===e&&(r(2),!0)}function r(e){u+=e}function i(){a=0,d&&(u++,d=!1)}const n=o.currentTile.index,g=o.tiles[n],p=o.COD.sopMarkerUsed,m=o.COD.ephMarkerUsed,s=g.packetsIterator;for(;u<c;){i(),p&&e(145)&&r(4);const o=s.nextPacket();if(f(1)){const c=o.layerNumber,h=[];let s;for(let e=0,t=o.codeblocks.length;e<t;e++){let t=(s=o.codeblocks[e]).precinct;const u=s.cbx-t.cbxMin,d=s.cby-t.cbyMin;let a,r,i=!1,n=!1;if(void 0!==s.included)i=!!f(1);else{let e;if(void 0!==(t=s.precinct).inclusionTree)e=t.inclusionTree;else{const l=t.cbxMax-t.cbxMin+1,R=t.cbyMax-t.cbyMin+1;e=new A(l,R,c),r=new k(l,R),t.inclusionTree=e,t.zeroBitPlanesTree=r;for(let e=0;e<c;e++)if(0!==f(1))throw new L("Invalid tag tree")}if(e.reset(u,d,c))for(;;){if(!f(1)){e.incrementValue(c);break}if(a=!e.nextLevel()){s.included=!0,i=n=!0;break}}}if(i){if(n){for((r=t.zeroBitPlanesTree).reset(u,d);;)if(f(1)){if(a=!r.nextLevel())break}else r.incrementValue();s.zeroBitPlanes=r.value}b=void 0;const g=0===f(1)?1:0===f(1)?2:(b=f(2))<3?b+3:(b=f(5))<31?b+6:(b=f(7))+37;for(;f(1);)s.Lblock++;const p=(0,R.log2)(g),m=f((g<1<<p?p-1:p)+s.Lblock);h.push({codeblock:s,codingpasses:g,dataLength:m})}}for(i(),m&&e(146);0<h.length;){const o=h.shift();void 0===(s=o.codeblock).data&&(s.data=[]),s.data.push({data:l,start:t+u,end:t+u+o.dataLength,codingpasses:o.codingpasses}),u+=o.dataLength}}}var b;u}function $(a,i,n){const e=i.components[n],t=e.codingStyleParameters,s=e.quantizationParameters,_=t.decompositionLevelsCount,o=s.SPqcds,j=s.scalarExpounded,$=s.guardBits,U=t.segmentationSymbolUsed,X=t.resetContextProbabilities,H=a.components[n].precision,l=t.reversibleTransformation,c=new(l?K:V),h=[];let u=0;for(let r=0;r<=_;r++){const i=e.resolutions[r],n=i.trx1-i.trx0,t=i.try1-i.try0,s=new Float32Array(n*t);for(let a=0,e=i.subbands.length;a<e;a++){let e,t;j?(e=o[u].mu,t=o[u].epsilon,u++):(e=o[0].mu,t=o[0].epsilon+(0<r?1-r:0));const c=i.subbands[a],h=G[c.type];L=R=D=B=N=E=P=M=T=I=O=F=C=A=k=S=x=v=w=y=b=m=p=g=f=d=void 0;var d=s,f=n,g=c,p=l?1:2**(H+h-t)*(1+e/2048),m=$+t-1,b=l,y=U,w=X,v=g.tbx0,x=g.tby0,S=g.tbx1-g.tbx0,k=g.codeblocks,A="H"===g.type.charAt(0)?1:0,C="H"===g.type.charAt(1)?f:0;for(let e=0,t=k.length;e<t;++e){var F=k[e],O=F.tbx1_-F.tbx0_,I=F.tby1_-F.tby0_;if(0!=O&&0!=I&&void 0!==F.data){var T=new W(O,I,F.subbandType,F.zeroBitPlanes,m);let e=2;var M=F.data;let t,a,r,i=0,n=0;for(t=0,a=M.length;t<a;t++)r=M[t],i+=r.end-r.start,n+=r.codingpasses;var P=new Uint8Array(i);let s=0;for(t=0,a=M.length;t<a;t++){const d=(r=M[t]).data.subarray(r.start,r.end);P.set(d,s),s+=d.length}var E=new z.ArithmeticDecoder(P,0,i);for(T.setDecoder(E),t=0;t<n;t++){switch(e){case 0:T.runSignificancePropagationPass();break;case 1:T.runMagnitudeRefinementPass();break;case 2:T.runCleanupPass(),y&&T.checkSegmentationSymbol()}w&&T.reset(),e=(e+1)%3}let o=F.tbx0_-v+(F.tby0_-x)*S;var N=T.coefficentsSign,B=T.coefficentsMagnitude,D=T.bitsDecoded,R=b?0:.5;let l,c,h;s=0;var L="LL"!==g.type;for(t=0;t<I;t++){const q=2*(o/S|0)*(f-S)+A+C;for(l=0;l<O;l++)0!==(c=B[s])&&(c=(c+R)*p,0!==N[s]&&(c=-c),h=D[s],d[L?q+(o<<1):o]=b&&m<=h?c:c*(1<<m-h)),o++,s++;o+=S-O}}}}h.push({width:n,height:t,items:s})}i=c.calculate(h,e.tcx0,e.tcy0);return{left:e.tcx0,top:e.tcy0,width:i.width,height:i.height,items:i.items}}t.JpxImage=class{constructor(){this.failOnCorruptedImage=!1}parse(i){if(65359===(0,R.readUint16)(i,0))this.parseCodestream(i,0,i.length);else{const l=i.length;let r=0;for(;r<l;){let e=8,t=(0,R.readUint32)(i,r);var n=(0,R.readUint32)(i,r+4);if(r+=e,1===t&&(t=4294967296*(0,R.readUint32)(i,r)+(0,R.readUint32)(i,r+4),r+=8,e+=8),(t=0===t?l-r+e:t)<e)throw new L("Invalid box field size");var s=t-e;let a=!0;switch(n){case 1785737832:a=!1;break;case 1668246642:const l=i[r];if(1===l){const l=(0,R.readUint32)(i,r+3);switch(l){case 16:case 17:case 18:break;default:(0,D.warn)("Unknown colorspace "+l)}}else 2===l&&(0,D.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(i,r,r+s);break;case 1783636e3:218793738!==(0,R.readUint32)(i,r)&&(0,D.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var o=String.fromCharCode(n>>24&255,n>>16&255,n>>8&255,255&n);(0,D.warn)(`Unsupported header type ${n} (${o}).`)}a&&(r+=s)}}}parseImageProperties(e){let t=e.getByte();for(;0<=t;)if(65361==(t<<8|(t=e.getByte()))){e.skip(4);const t=e.getInt32()>>>0,r=e.getInt32()>>>0,i=e.getInt32()>>>0,n=e.getInt32()>>>0;e.skip(16);var a=e.getUint16();return this.width=t-i,this.height=r-n,this.componentsCount=a,void(this.bitsPerComponent=8)}throw new L("No size marker found in JPX stream")}parseCodestream(c,h,e){var u,d,f={};let g=!1;try{let l=h;for(;l+1<e;){const h=(0,R.readUint16)(c,l);l+=2;let t,a,r,i,n,s,o=0;switch(h){case 65359:f.mainHeader=!0;break;case 65497:break;case 65361:o=(0,R.readUint16)(c,l);var p={},m=(p.Xsiz=(0,R.readUint32)(c,l+4),p.Ysiz=(0,R.readUint32)(c,l+8),p.XOsiz=(0,R.readUint32)(c,l+12),p.YOsiz=(0,R.readUint32)(c,l+16),p.XTsiz=(0,R.readUint32)(c,l+20),p.YTsiz=(0,R.readUint32)(c,l+24),p.XTOsiz=(0,R.readUint32)(c,l+28),p.YTOsiz=(0,R.readUint32)(c,l+32),(0,R.readUint16)(c,l+36)),b=(p.Csiz=m,[]);t=l+38;for(let e=0;e<m;e++){const h={precision:1+(127&c[t]),isSigned:!!(128&c[t]),XRsiz:c[t+1],YRsiz:c[t+2]};t+=3,u=h,d=p,u.x0=Math.ceil(d.XOsiz/u.XRsiz),u.x1=Math.ceil(d.Xsiz/u.XRsiz),u.y0=Math.ceil(d.YOsiz/u.YRsiz),u.y1=Math.ceil(d.Ysiz/u.YRsiz),u.width=u.x1-u.x0,u.height=u.y1-u.y0,b.push(h)}f.SIZ=p,f.components=b;{y=void 0;w=void 0;var y=f;var w=b;const I=y.SIZ,T=[];let r;const M=Math.ceil((I.Xsiz-I.XTOsiz)/I.XTsiz),P=Math.ceil((I.Ysiz-I.YTOsiz)/I.YTsiz);for(let t=0;t<P;t++)for(let e=0;e<M;e++)(r={}).tx0=Math.max(I.XTOsiz+e*I.XTsiz,I.XOsiz),r.ty0=Math.max(I.YTOsiz+t*I.YTsiz,I.YOsiz),r.tx1=Math.min(I.XTOsiz+(e+1)*I.XTsiz,I.Xsiz),r.ty1=Math.min(I.YTOsiz+(t+1)*I.YTsiz,I.Ysiz),r.width=r.tx1-r.tx0,r.height=r.ty1-r.ty0,r.components=[],T.push(r);y.tiles=T;for(let a=0,e=I.Csiz;a<e;a++){const I=w[a];for(let e=0,t=T.length;e<t;e++){const M={};r=T[e],M.tcx0=Math.ceil(r.tx0/I.XRsiz),M.tcy0=Math.ceil(r.ty0/I.YRsiz),M.tcx1=Math.ceil(r.tx1/I.XRsiz),M.tcy1=Math.ceil(r.ty1/I.YRsiz),M.width=M.tcx1-M.tcx0,M.height=M.tcy1-M.tcy0,r.components[a]=M}}}f.QCC=[],f.COC=[];break;case 65372:o=(0,R.readUint16)(c,l);var v={};switch(t=l+2,31&(a=c[t++])){case 0:i=8,n=!0;break;case 1:i=16,n=!1;break;case 2:i=16,n=!0;break;default:throw new Error("Invalid SQcd value "+a)}for(v.noQuantization=8===i,v.scalarExpounded=n,v.guardBits=a>>5,r=[];t<o+l;){const h={};8===i?(h.epsilon=c[t++]>>3,h.mu=0):(h.epsilon=c[t]>>3,h.mu=(7&c[t])<<8|c[t+1],t+=2),r.push(h)}v.SPqcds=r,f.mainHeader?f.QCD=v:(f.currentTile.QCD=v,f.currentTile.QCC=[]);break;case 65373:o=(0,R.readUint16)(c,l);var x={};let e;switch(t=l+2,f.SIZ.Csiz<257?e=c[t++]:(e=(0,R.readUint16)(c,t),t+=2),31&(a=c[t++])){case 0:i=8,n=!0;break;case 1:i=16,n=!1;break;case 2:i=16,n=!0;break;default:throw new Error("Invalid SQcd value "+a)}for(x.noQuantization=8===i,x.scalarExpounded=n,x.guardBits=a>>5,r=[];t<o+l;){const h={};8===i?(h.epsilon=c[t++]>>3,h.mu=0):(h.epsilon=c[t]>>3,h.mu=(7&c[t])<<8|c[t+1],t+=2),r.push(h)}x.SPqcds=r,f.mainHeader?f.QCC[e]=x:f.currentTile.QCC[e]=x;break;case 65362:o=(0,R.readUint16)(c,l);const $={};t=l+2;var S=c[t++],k=($.entropyCoderWithCustomPrecincts=!!(1&S),$.sopMarkerUsed=!!(2&S),$.ephMarkerUsed=!!(4&S),$.progressionOrder=c[t++],$.layersCount=(0,R.readUint16)(c,t),t+=2,$.multipleComponentTransform=c[t++],$.decompositionLevelsCount=c[t++],$.xcb=2+(15&c[t++]),$.ycb=2+(15&c[t++]),c[t++]);if($.selectiveArithmeticCodingBypass=!!(1&k),$.resetContextProbabilities=!!(2&k),$.terminationOnEachCodingPass=!!(4&k),$.verticallyStripe=!!(8&k),$.predictableTermination=!!(16&k),$.segmentationSymbolUsed=!!(32&k),$.reversibleTransformation=c[t++],$.entropyCoderWithCustomPrecincts){const h=[];for(;t<o+l;){const D=c[t++];h.push({PPx:15&D,PPy:D>>4})}$.precinctsSizes=h}var A=[];$.selectiveArithmeticCodingBypass&&A.push("selectiveArithmeticCodingBypass"),$.terminationOnEachCodingPass&&A.push("terminationOnEachCodingPass"),$.verticallyStripe&&A.push("verticallyStripe"),$.predictableTermination&&A.push("predictableTermination"),0<A.length&&(g=!0,(0,D.warn)(`JPX: Unsupported COD options (${A.join(", ")}).`)),f.mainHeader?f.COD=$:(f.currentTile.COD=$,f.currentTile.COC=[]);break;case 65424:o=(0,R.readUint16)(c,l),(s={}).index=(0,R.readUint16)(c,l+2),s.length=(0,R.readUint32)(c,l+4),s.dataEnd=s.length+l-2,s.partIndex=c[l+8],s.partsCount=c[l+9],f.mainHeader=!1,0===s.partIndex&&(s.COD=f.COD,s.COC=f.COC.slice(0),s.QCD=f.QCD,s.QCC=f.QCC.slice(0)),f.currentTile=s;break;case 65427:if(0===(s=f.currentTile).partIndex){{C=void 0;F=void 0;O=void 0;var C=f;var F=s.index;const E=C.SIZ.Csiz,N=C.tiles[F];for(let e=0;e<E;e++){const E=N.components[e],B=void 0!==C.currentTile.QCC[e]?C.currentTile.QCC[e]:C.currentTile.QCD;E.quantizationParameters=B;var O=void 0!==C.currentTile.COC[e]?C.currentTile.COC[e]:C.currentTile.COD;E.codingStyleParameters=O}N.codingStyleDefaultParameters=C.currentTile.COD}_(f)}o=s.dataEnd-l,j(f,c,l,o);break;case 65363:(0,D.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:o=(0,R.readUint16)(c,l);break;default:throw new Error("Unknown codestream code: "+h.toString(16))}l+=o}}catch(c){if(g||this.failOnCorruptedImage)throw new L(c.message);(0,D.warn)(`JPX: Trying to recover from: "${c.message}".`)}this.tiles=function(c){const h=c.SIZ,u=c.components,d=h.Csiz,f=[];for(let l=0,e=c.tiles.length;l<e;l++){var g=c.tiles[l],p=[];for(let e=0;e<d;e++)p[e]=$(c,g,e);var m=p[0],b=new Uint8ClampedArray(m.items.length*d),m={left:m.left,top:m.top,width:m.width,height:m.height,items:b};let t,a,r,i,e,n,s,o=0;if(g.codingStyleDefaultParameters.multipleComponentTransform){const c=4===d,h=p[0].items,f=p[1].items,v=p[2].items,x=c?p[3].items:null;t=u[0].precision-8,a=.5+(128<<t);var y=g.components[0],w=d-3;if(i=h.length,y.codingStyleParameters.reversibleTransformation)for(r=0;r<i;r++,o+=w){e=h[r]+a,n=f[r],s=v[r];const c=e-(s+n>>2);b[o++]=c+s>>t,b[o++]=c>>t,b[o++]=c+n>>t}else for(r=0;r<i;r++,o+=w)e=h[r]+a,n=f[r],s=v[r],b[o++]=e+1.402*s>>t,b[o++]=e-.34413*n-.71414*s>>t,b[o++]=e+1.772*n>>t;if(c)for(r=0,o=3;r<i;r++,o+=4)b[o]=x[r]+a>>t}else for(let e=0;e<d;e++){const h=p[e].items;for(t=u[e].precision-8,a=.5+(128<<t),o=e,r=0,i=h.length;r<i;r++)b[o]=h[r]+a>>t,o+=d}f.push(m)}return f}(f),this.width=f.SIZ.Xsiz-f.SIZ.XOsiz,this.height=f.SIZ.Ysiz-f.SIZ.YOsiz,this.componentsCount=f.SIZ.Csiz}};class k{constructor(t,a){const r=(0,R.log2)(Math.max(t,a))+1;this.levels=[];for(let e=0;e<r;e++){const r={width:t,height:a,items:[]};this.levels.push(r),t=Math.ceil(t/2),a=Math.ceil(a/2)}}reset(e,t){let a,r=0,i=0;for(;r<this.levels.length;){var n=e+t*(a=this.levels[r]).width;if(void 0!==a.items[n]){i=a.items[n];break}a.index=n,e>>=1,t>>=1,r++}r--,(a=this.levels[r]).items[a.index]=i,this.currentLevel=r,delete this.value}incrementValue(){var e=this.levels[this.currentLevel];e.items[e.index]++}nextLevel(){var e=this.currentLevel,t=this.levels[e],a=t.items[t.index];return--e<0?(this.value=a,!1):(this.currentLevel=e,(t=this.levels[e]).items[t.index]=a,!0)}}class A{constructor(t,a,r){const i=(0,R.log2)(Math.max(t,a))+1;this.levels=[];for(let e=0;e<i;e++){const i=new Uint8Array(t*a);for(let e=0,t=i.length;e<t;e++)i[e]=r;const R={width:t,height:a,items:i};this.levels.push(R),t=Math.ceil(t/2),a=Math.ceil(a/2)}}reset(e,t,a){let r=0;for(;r<this.levels.length;){var i=this.levels[r],n=e+t*i.width,i=(i.index=n,i.items[n]);if(255===i)break;if(a<i)return this.currentLevel=r,this.propagateValues(),!1;e>>=1,t>>=1,r++}return this.currentLevel=r-1,!0}incrementValue(e){var t=this.levels[this.currentLevel];t.items[t.index]=e+1,this.propagateValues()}propagateValues(){let e=this.currentLevel,t=this.levels[e];for(var a=t.items[t.index];0<=--e;)(t=this.levels[e]).items[t.index]=a}nextLevel(){let e=this.currentLevel,t=this.levels[e];var a=t.items[t.index];return t.items[t.index]=255,!(--e<0||(this.currentLevel=e,(t=this.levels[e]).items[t.index]=a,0))}}class W{static UNIFORM_CONTEXT=17;static RUNLENGTH_CONTEXT=18;static LLAndLHContextsLabel=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]);static HLContextLabel=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]);static HHContextLabel=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);constructor(e,t,a,r,i){this.width=e,this.height=t,a="HH"===a?W.HHContextLabel:"HL"===a?W.HLContextLabel:W.LLAndLHContextsLabel,this.contextLabelTable=a;var n=e*t,s=(this.neighborsSignificance=new Uint8Array(n),this.coefficentsSign=new Uint8Array(n),a=new(14<i?Uint32Array:6<i?Uint16Array:Uint8Array)(n),this.coefficentsMagnitude=a,this.processingFlags=new Uint8Array(n),new Uint8Array(n));if(0!==r)for(let e=0;e<n;e++)s[e]=r;this.bitsDecoded=s,this.reset()}setDecoder(e){this.decoder=e}reset(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[W.UNIFORM_CONTEXT]=92,this.contexts[W.RUNLENGTH_CONTEXT]=6}setNeighborsSignificance(e,t,a){var r=this.neighborsSignificance,i=this.width,n=this.height,s=0<t,t=t+1<i;let o;0<e&&(o=a-i,s&&(r[o-1]+=16),t&&(r[o+1]+=16),r[o]+=4),e+1<n&&(o=a+i,s&&(r[o-1]+=16),t&&(r[o+1]+=16),r[o]+=4),s&&(r[a-1]+=1),t&&(r[a+1]+=1),r[a]|=128}runSignificancePropagationPass(){const i=this.decoder,n=this.width,s=this.height,o=this.coefficentsMagnitude,l=this.coefficentsSign,c=this.neighborsSignificance,h=this.processingFlags,u=this.contexts,d=this.contextLabelTable,f=this.bitsDecoded;for(let r=0;r<s;r+=4)for(let a=0;a<n;a++){let t=r*n+a;for(let e=0;e<4;e++,t+=n){const n=r+e;if(n>=s)break;if(h[t]&=-2,!o[t]&&c[t]){var g=d[c[t]];if(i.readBit(u,g)){const i=this.decodeSignBit(n,a,t);l[t]=i,o[t]=1,this.setNeighborsSignificance(n,a,t),h[t]|=2}f[t]++,h[t]|=1}}}}decodeSignBit(e,t,a){var r=this.width,i=this.height,n=this.coefficentsMagnitude,s=this.coefficentsSign;let o,l,c,h,u,d;h=0<t&&0!==n[a-1];t=3*(o=t+1<r&&0!==n[a+1]?(c=s[a+1],h?(l=s[a-1],1-c-l):1-c-c):h?1-(l=s[a-1])-l:0);return h=0<e&&0!==n[a-r],o=e+1<i&&0!==n[a+r]?(c=s[a+r],h?(l=s[a-r],1-c-l+t):1-c-c+t):h?1-(l=s[a-r])-l+t:t,d=0<=o?(u=9+o,this.decoder.readBit(this.contexts,u)):(u=9-o,1^this.decoder.readBit(this.contexts,u))}runMagnitudeRefinementPass(){const i=this.decoder,n=this.width,s=this.height,o=this.coefficentsMagnitude,l=this.neighborsSignificance,c=this.contexts,h=this.bitsDecoded,u=this.processingFlags,e=n*s,t=4*n;for(let a,r=0;r<e;r=a){a=Math.min(e,r+t);for(let e=0;e<n;e++)for(let t=r+e;t<a;t+=n)if(o[t]&&0==(1&u[t])){let e=16;0!=(2&u[t])&&(u[t]^=2,e=0==(127&l[t])?15:14);const s=i.readBit(c,e);o[t]=o[t]<<1|s,h[t]++,u[t]|=1}}}runCleanupPass(){const s=this.decoder,o=this.width,e=this.height,l=this.neighborsSignificance,c=this.coefficentsMagnitude,h=this.coefficentsSign,u=this.contexts,d=this.contextLabelTable,f=this.bitsDecoded,g=this.processingFlags,p=o,m=2*o,b=3*o;for(let n=0;n<e;n=y){var y=Math.min(n+4,e),w=n*o,v=n+3<e;for(let i=0;i<o;i++){var x=w+i;let e,t=0,a=x,r=n;if(v&&0===g[x]&&0===g[x+p]&&0===g[x+m]&&0===g[x+b]&&0===l[x]&&0===l[x+p]&&0===l[x+m]&&0===l[x+b]){if(!s.readBit(u,W.RUNLENGTH_CONTEXT)){f[x]++,f[x+p]++,f[x+m]++,f[x+b]++;continue}0!==(t=s.readBit(u,W.UNIFORM_CONTEXT)<<1|s.readBit(u,W.UNIFORM_CONTEXT))&&(r=n+t,a+=t*o),e=this.decodeSignBit(r,i,a),h[a]=e,c[a]=1,this.setNeighborsSignificance(r,i,a),g[a]|=2,a=x;for(let e=n;e<=r;e++,a+=o)f[a]++;t++}for(r=n+t;r<y;r++,a+=o)if(!c[a]&&0==(1&g[a])){const o=d[l[a]];1===s.readBit(u,o)&&(e=this.decodeSignBit(r,i,a),h[a]=e,c[a]=1,this.setNeighborsSignificance(r,i,a),g[a]|=2),f[a]++}}}}checkSegmentationSymbol(){var e=this.decoder,t=this.contexts;if(10!=(e.readBit(t,W.UNIFORM_CONTEXT)<<3|e.readBit(t,W.UNIFORM_CONTEXT)<<2|e.readBit(t,W.UNIFORM_CONTEXT)<<1|e.readBit(t,W.UNIFORM_CONTEXT)))throw new L("Invalid segmentation symbol")}}class i{constructor(){this.constructor===i&&(0,D.unreachable)("Cannot initialize Transform.")}calculate(a,r,i){let n=a[0];for(let e=1,t=a.length;e<t;e++)n=this.iterate(n,a[e],r,i);return n}extend(e,t,a){var r=t-1,i=t+1,n=t+a-2,t=t+a;e[r--]=e[i++],e[t++]=e[n--],e[r--]=e[i++],e[t++]=e[n--],e[r--]=e[i++],e[t++]=e[n--],e[r]=e[i],e[t]=e[n]}filter(e,t,a){(0,D.unreachable)("Abstract method `filter` called")}iterate(e,t,a,r){var i=e.width,n=e.height;let s=e.items;var o=t.width,l=t.height,c=t.items;let h,u,d,f,g,p;for(d=0,h=0;h<n;h++)for(f=2*h*o,u=0;u<i;u++,d++,f+=2)c[f]=s[d];s=e.items=null;var m=new Float32Array(o+8);if(1===o){if(0!=(1&a))for(p=0,d=0;p<l;p++,d+=o)c[d]*=.5}else for(p=0,d=0;p<l;p++,d+=o)m.set(c.subarray(d,d+o),4),this.extend(m,4,o),this.filter(m,4,o),c.set(m.subarray(4,4+o),d);let b=16;var y=[];for(h=0;h<b;h++)y.push(new Float32Array(l+8));let w,v=0;if(e=4+l,1===l){if(0!=(1&r))for(g=0;g<o;g++)c[g]*=.5}else for(g=0;g<o;g++){if(0===v){for(b=Math.min(o-g,b),d=g,f=4;f<e;d+=o,f++)for(w=0;w<b;w++)y[w][f]=c[d+w];v=b}const t=y[--v];if(this.extend(t,4,l),this.filter(t,4,l),0===v)for(d=g-b+1,f=4;f<e;d+=o,f++)for(w=0;w<b;w++)c[d+w]=y[w][f]}return{width:o,height:l,items:c}}}class V extends i{filter(e,t,a){a>>=1;let r,i,n,s;var o=-1.586134342059924,l=-.052980118572961,c=.882911075530934,h=.443506852043971,u=1.230174104914001;for(r=(t|=0)-3,i=4+a;i--;r+=2)e[r]*=.8128930661159609;for(r=t-2,n=h*e[r-1],i=3+a;i--&&(s=h*e[r+1],e[r]=u*e[r]-n-s,i--);r+=2)r+=2,n=h*e[r+1],e[r]=u*e[r]-n-s;for(r=t-1,n=c*e[r-1],i=2+a;i--&&(s=c*e[r+1],e[r]-=n+s,i--);r+=2)r+=2,n=c*e[r+1],e[r]-=n+s;for(r=t,n=l*e[r-1],i=1+a;i--&&(s=l*e[r+1],e[r]-=n+s,i--);r+=2)r+=2,n=l*e[r+1],e[r]-=n+s;if(0!=a)for(r=t+1,n=o*e[r-1],i=a;i--&&(s=o*e[r+1],e[r]-=n+s,i--);r+=2)r+=2,n=o*e[r+1],e[r]-=n+s}}class K extends i{filter(e,t,a){a>>=1;let r,i;for(r=t|=0,i=1+a;i--;r+=2)e[r]-=e[r-1]+e[r+1]+2>>2;for(r=t+1,i=a;i--;r+=2)e[r]+=e[r-1]+e[r+1]>>1}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LZWStream=void 0;class r extends a(18).DecodeStream{constructor(e,t,a){super(t),this.str=e,this.dict=e.dict,this.cachedData=0,this.bitsCached=0;var r={earlyChange:a,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0};for(let e=0;e<256;++e)r.dictionaryValues[e]=e,r.dictionaryLengths[e]=1;this.lzwState=r}readBits(e){let t=this.bitsCached,a=this.cachedData;for(;t<e;){const e=this.str.getByte();if(-1===e)return this.eof=!0,null;a=a<<8|e,t+=8}return this.bitsCached=t-=e,this.cachedData=a,this.lastCode=null,a>>>t&(1<<e)-1}readBlock(){let o,l,c,h=1024;const u=this.lzwState;if(u){var d=u.earlyChange;let e=u.nextCode;var f=u.dictionaryValues,g=u.dictionaryLengths,p=u.dictionaryPrevCodes;let t=u.codeLength,a=u.prevCode;var m=u.currentSequence;let r=u.currentSequenceLength,i=0,n=this.bufferLength,s=this.ensureBuffer(this.bufferLength+h);for(o=0;o<512;o++){const o=this.readBits(t),u=0<r;if(o<256)m[0]=o,r=1;else{if(!(258<=o)){if(256===o){t=9,e=258,r=0;continue}this.eof=!0,delete this.lzwState;break}if(o<e)for(r=g[o],l=r-1,c=o;0<=l;l--)m[l]=f[c],c=p[c];else m[r++]=m[0]}if(u&&(p[e]=a,g[e]=g[a]+1,f[e]=m[0],e++,t=e+d&e+d-1?t:0|Math.min(Math.log(e+d)/.6931471805599453+1,12)),a=o,i+=r,h<i){for(;(h+=512)<i;);s=this.ensureBuffer(this.bufferLength+h)}for(l=0;l<r;l++)s[n++]=m[l]}u.nextCode=e,u.codeLength=t,u.prevCode=a,u.currentSequenceLength=r,this.bufferLength=n}}}t.LZWStream=r},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PredictorStream=void 0;var r=a(18),i=a(4),g=a(2);class n extends r.DecodeStream{constructor(e,t,a){if(super(t),!(a instanceof i.Dict))return e;t=this.predictor=a.get("Predictor")||1;if(t<=1)return e;if(2!==t&&(t<10||15<t))throw new g.FormatError("Unsupported predictor: "+t);this.readBlock=2===t?this.readBlockTiff:this.readBlockPng,this.str=e,this.dict=e.dict;t=this.colors=a.get("Colors")||1,e=this.bits=a.get("BPC","BitsPerComponent")||8,a=this.columns=a.get("Columns")||1;return this.pixBytes=t*e+7>>3,this.rowBytes=a*t*e+7>>3,this}readBlockTiff(){const l=this.rowBytes,c=this.bufferLength,h=this.ensureBuffer(c+l),u=this.bits,d=this.colors,f=this.str.getBytes(l);if(this.eof=!f.length,!this.eof){let e,i=0,n=0,s=0,o=0,t=c;if(1===u&&1===d)for(e=0;e<l;++e){var a=f[e]^i,a=(a=(a^=a>>1)^a>>2)^a>>4;i=(1&a)<<7,h[t++]=a}else if(8===u){for(e=0;e<d;++e)h[t++]=f[e];for(;e<l;++e)h[t]=h[t-d]+f[e],t++}else if(16===u){const c=2*d;for(e=0;e<c;++e)h[t++]=f[e];for(;e<l;e+=2){const l=((255&f[e])<<8)+(255&f[e+1])+((255&h[t-c])<<8)+(255&h[t-c+1]);h[t++]=l>>8&255,h[t++]=255&l}}else{const l=new Uint8Array(d+1),t=(1<<u)-1;let a=0,r=c;var g=this.columns;for(e=0;e<g;++e)for(let e=0;e<d;++e)s<u&&(i=i<<8|255&f[a++],s+=8),l[e]=l[e]+(i>>s-u)&t,s-=u,n=n<<u|l[e],8<=(o+=u)&&(h[r++]=n>>o-8&255,o-=8);0<o&&(h[r++]=(n<<8-o)+(i&(1<<8-o)-1))}this.bufferLength+=l}}readBlockPng(){const l=this.rowBytes,c=this.pixBytes,h=this.str.getByte(),u=this.str.getBytes(l);if(this.eof=!u.length,!this.eof){const d=this.bufferLength,f=this.ensureBuffer(d+l);let r=f.subarray(d-l,d);0===r.length&&(r=new Uint8Array(l));let i,n,s,o=d;switch(h){case 0:for(i=0;i<l;++i)f[o++]=u[i];break;case 1:for(i=0;i<c;++i)f[o++]=u[i];for(;i<l;++i)f[o]=f[o-c]+u[i]&255,o++;break;case 2:for(i=0;i<l;++i)f[o++]=r[i]+u[i]&255;break;case 3:for(i=0;i<c;++i)f[o++]=(r[i]>>1)+u[i];for(;i<l;++i)f[o]=(r[i]+f[o-c]>>1)+u[i]&255,o++;break;case 4:for(i=0;i<c;++i)n=r[i],s=u[i],f[o++]=n+s;for(;i<l;++i){n=r[i];const l=r[i-c],h=f[o-c],d=h+n-l;let e=d-h,t=(e<0&&(e=-e),d-n),a=(t<0&&(t=-t),d-l);a<0&&(a=-a),s=u[i],f[o++]=e<=t&&e<=a?h+s:t<=a?n+s:l+s}break;default:throw new g.FormatError("Unsupported predictor: "+h)}this.bufferLength+=l}}}t.PredictorStream=n},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RunLengthStream=void 0;class r extends a(18).DecodeStream{constructor(e,t){super(t),this.str=e,this.dict=e.dict}readBlock(){const e=this.str.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{let t,a=this.bufferLength,r=e[0];if(r<128){if((t=this.ensureBuffer(a+r+1))[a++]=e[1],0<r){const e=this.str.getBytes(r);t.set(e,a),a+=r}}else{r=257-r;var i=e[1];t=this.ensureBuffer(a+r+1);for(let e=0;e<r;e++)t[a++]=i}this.bufferLength=a}}}t.RunLengthStream=r},(r,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Font=e.ErrorFont=void 0;var $=t(2),U=t(35),X=t(38),v=t(40),H=t(39),q=t(37),l=t(41),z=t(42),G=t(43),a=t(44),c=t(45),W=t(46),V=t(14),K=t(47),o=t(3),Y=t(8),f=t(48);const p=[[57344,63743],[1048576,1114109]],g=1e3,i=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","isInvalidPDFjsFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","systemFontInfo","type","vertical"],n=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function Z(e){if(e.fontMatrix&&e.fontMatrix[0]!==$.FONT_IDENTITY_MATRIX[0]){var t=.001/e.fontMatrix[0],a=e.widths;for(const e in a)a[e]*=t;e.defaultWidth*=t}}function h(e){if(e.fallbackToUnicode&&!(e.toUnicode instanceof z.IdentityToUnicodeMap)){var t=[];for(const a in e.fallbackToUnicode)e.toUnicode.has(a)||(t[a]=e.fallbackToUnicode[a]);0<t.length&&e.toUnicode.amend(t)}}class m{constructor(e,t,a,r,i,n,s,o,l){this.originalCharCode=e,this.fontChar=t,this.unicode=a,this.accent=r,this.width=i,this.vmetric=n,this.operatorListId=s,this.isSpace=o,this.isInFont=l}get category(){return(0,$.shadow)(this,"category",(0,v.getCharUnicodeCategory)(this.unicode),!0)}}function J(e,t,a){e[t+1]=a,e[t]=a>>>8}function Q(e,t){e=(e<<8)+t;return 32768&e?e-65536:e}function k(e){return String.fromCharCode(e>>8&255,255&e)}function x(e){return 32767<e?e=32767:e<-32768&&(e=-32768),String.fromCharCode(e>>8&255,255&e)}function ee(e){e=e.peekBytes(4);return"ttcf"===(0,$.bytesToString)(e)}function u(e,t){for(const a in t)e[+a]=t[a]}function d(a,r,e){var i=[];let n;for(let e=0,t=a.length;e<t;e++)-1!==(n=(0,v.getUnicodeForGlyph)(a[e],r))&&(i[e]=n);for(const a in e)n=(0,v.getUnicodeForGlyph)(e[a],r),-1!==n&&(i[+a]=n);return i}function te(e){return 3===e.platform&&1===e.encoding&&1033===e.language}function ae(e,t,a=!1){switch(t.length){case 1:return t.charCodeAt(0);case 2:return t.charCodeAt(0)<<8|t.charCodeAt(1)}e=`Unsupported CID string (charCode ${e}): "${t}".`;if(a)throw new $.FormatError(e);return(0,$.warn)(e),t}function re(e,a,r,i){var n,s,o=Object.create(null),l=new Map,c=[],h=new Set;let u=0,d=p[u][0],f=p[u][1];for(n in e){let t=e[n|=0];if(a(t)){if(d>f){if(++u>=p.length){(0,$.warn)("Ran out of space in font private use area.");break}d=p[u][0],f=p[u][1]}var g=d++;0===t&&(t=r);let e=i.get(n);!(e="string"==typeof e?e.codePointAt(0):e)||(s=e,p[0][0]<=s&&s<=p[0][1])||p[1][0]<=s&&s<=p[1][1]||h.has(t)||(l.set(e,t),h.add(t)),o[g]=t,c[n]=g}}return{toFontChar:c,charCodeToGlyphId:o,toUnicodeExtraMap:l,nextAvailableFontCharCode:d}}function ie(t,e,a){var r=function(e,a,r){var i=[];for(const a in e)e[a]>=r||i.push({fontCharCode:0|a,glyphId:e[a]});if(a)for(const[e,n]of a)n>=r||i.push({fontCharCode:e,glyphId:n});0===i.length&&i.push({fontCharCode:0,glyphId:0}),i.sort(function(e,t){return e.fontCharCode-t.fontCharCode});const n=[],s=i.length;for(let t=0;t<s;){const a=i[t].fontCharCode,r=[i[t].glyphId];++t;let e=a;for(;t<s&&e+1===i[t].fontCharCode&&(r.push(i[t].glyphId),++e,++t,65535!==e););n.push([a,e,r])}return n}(t,e,a),t=65535<r.at(-1)[1]?2:1;let i,n,s,o,l="\0\0"+k(t)+"\0\0"+(0,$.string32)(4+8*t);for(i=r.length-1;0<=i&&!(r[i][0]<=65535);--i);var e=i+1,a=(r[i][0]<65535&&65535===r[i][1]&&(r[i][1]=65534),r[i][1]<65535?1:0),c=e+a,h=K.OpenTypeFileBuilder.getSearchParams(c,2);let u,d,f,g,p="",m="",b="",y="",w="",v=0;for(i=0,n=e;i<n;i++){u=r[i],d=u[0],f=u[1],p+=k(d),m+=k(f),g=u[2];let e=!0;for(s=1,o=g.length;s<o;++s)if(g[s]!==g[s-1]+1){e=!1;break}if(e)b+=k(g[0]-d&65535),y+=k(0);else{const t=2*(c-i)+2*v;for(v+=f-d+1,b+=k(0),y+=k(t),s=0,o=g.length;s<o;++s)w+=k(g[s])}}0<a&&(m+="ÿÿ",p+="ÿÿ",b+="\0",y+="\0\0");e="\0\0"+k(2*c)+k(h.range)+k(h.entry)+k(h.rangeShift)+m+"\0\0"+p+b+y+w;let x="",S="";if(1<t){for(l+="\0\0\n"+(0,$.string32)(4+8*t+4+e.length),x="",i=0,n=r.length;i<n;i++){u=r[i],d=u[0];let e=(g=u[2])[0];for(s=1,o=g.length;s<o;++s)g[s]!==g[s-1]+1&&(f=u[0]+s-1,x+=(0,$.string32)(d)+(0,$.string32)(f)+(0,$.string32)(e),d=f+1,e=g[s]);x+=(0,$.string32)(d)+(0,$.string32)(u[1])+(0,$.string32)(e)}S="\0\f\0\0"+(0,$.string32)(x.length+16)+"\0\0\0\0"+(0,$.string32)(x.length/12)}return l+"\0"+k(e.length+4)+e+S+x}function ne(e,t,a){a||={unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};let r=0,i=0,n=0,s=0,o=null,l=0,c=-1;if(t){for(var h in t)if(h|=0,(o>h||!o)&&(o=h),l<h&&(l=h),c=(0,v.getUnicodeRangeFor)(h,c),c<32)r|=1<<c;else if(c<64)i|=1<<c-32;else if(c<96)n|=1<<c-64;else{if(!(c<123))throw new $.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");s|=1<<c-96}65535<l&&(l=65535)}else o=0,l=255;var t=e.bbox||[0,0,0,0],u=a.unitsPerEm||1/(e.fontMatrix||$.FONT_IDENTITY_MATRIX)[0],u=e.ascentScaled?1:u/g,d=a.ascent||Math.round(u*(e.ascent||t[3]));let f=a.descent||Math.round(u*(e.descent||t[1]));0<f&&0<e.descent&&t[1]<0&&(f=-f);u=a.yMax||d,t=-a.yMin||-f;return"\0$ô\0\0\0»\0\0\0»\0\0ß\x001\0\0\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,$.string32)(r)+(0,$.string32)(i)+(0,$.string32)(n)+(0,$.string32)(s)+"*21*"+k(e.italicAngle?1:0)+k(o||e.firstChar)+k(l||e.lastChar)+k(d)+k(f)+"\0d"+k(u)+k(t)+"\0\0\0\0\0\0\0\0"+k(e.xHeight)+k(e.capHeight)+k(0)+k(o||e.firstChar)+"\0"}function se(e){var t=Math.floor(65536*e.italicAngle);return"\0\0\0"+(0,$.string32)(t)+"\0\0\0\0"+(0,$.string32)(e.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function oe(e,t){var a=[(t=t||[[],[]])[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||e.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],r=[];let i,n,s,o,l;for(i=0,n=a.length;i<n;i++){l=t[1][i]||a[i];const e=[];for(s=0,o=l.length;s<o;s++)e.push(k(l.charCodeAt(s)));r.push(e.join(""))}var c=[a,r],h=["\0","\0"],u=["\0\0","\0"],d=["\0\0","\t"],e=a.length*h.length;let f="\0\0"+k(e)+k(12*e+6),g=0;for(i=0,n=h.length;i<n;i++){const e=c[i];for(s=0,o=e.length;s<o;s++)l=e[s],f+=h[i]+u[i]+d[i]+k(s)+k(l.length)+k(g),g+=l.length}return f+=a.join("")+r.join("")}e.Font=class{constructor(t,a,r){this.name=t,this.psName=null,this.mimetype=null,this.disableFontFace=!1,this.loadedName=r.loadedName,this.isType3Font=r.isType3Font,this.missingFile=!1,this.cssFontInfo=r.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null);let i=!!(r.flags&X.FontFlags.Serif);if(!i&&!r.isSimulatedFlags){const a=t.replaceAll(/[,_]/g,"-").split("-")[0],r=(0,l.getSerifFonts)();for(const t of a.split("+"))if(r[t]){i=!0;break}}this.isSerifFont=i,this.isSymbolicFont=!!(r.flags&X.FontFlags.Symbolic),this.isMonospace=!!(r.flags&X.FontFlags.FixedPitch);let{type:n,subtype:s}=r;this.type=n,this.subtype=s,this.systemFontInfo=r.systemFontInfo;var e=t.match(/^InvalidPDFjsFont_(.*)_\d+$/);if(this.isInvalidPDFjsFont=!!e,this.isInvalidPDFjsFont?this.fallbackName=e[1]:this.isMonospace?this.fallbackName="monospace":this.isSerifFont?this.fallbackName="serif":this.fallbackName="sans-serif",this.systemFontInfo?.guessFallback&&(this.systemFontInfo.guessFallback=!1,this.systemFontInfo.css+=","+this.fallbackName),this.differences=r.differences,this.widths=r.widths,this.defaultWidth=r.defaultWidth,this.composite=r.composite,this.cMap=r.cMap,this.capHeight=r.capHeight/g,this.ascent=r.ascent/g,this.descent=r.descent/g,this.lineHeight=this.ascent-this.descent,this.fontMatrix=r.fontMatrix,this.bbox=r.bbox,this.defaultEncoding=r.defaultEncoding,this.toUnicode=r.toUnicode,this.toFontChar=[],"Type3"===r.type)for(let e=0;e<256;e++)this.toFontChar[e]=this.differences[e]||r.defaultEncoding[e];else if(this.cidEncoding=r.cidEncoding||"",this.vertical=!!r.vertical,this.vertical&&(this.vmetrics=r.vmetrics,this.defaultVMetrics=r.defaultVMetrics),!a||a.isEmpty)a&&(0,$.warn)('Font file is empty in "'+t+'" ('+this.loadedName+")"),this.fallbackToSystemFont(r);else{let e;[n,s]=function(e,{type:t,subtype:a,composite:r}){let i,n;return s=e.peekBytes(4),65536===(0,o.readUint32)(s,0)||"true"===(0,$.bytesToString)(s)||ee(e)?i=r?"CIDFontType2":"TrueType":(s=e.peekBytes(4),"OTTO"===(0,$.bytesToString)(s)?i=r?"CIDFontType2":"OpenType":37===(s=e.peekBytes(2))[0]&&33===s[1]||128===s[0]&&1===s[1]?i=r?"CIDFontType0":"MMType1"===t?"MMType1":"Type1":(s=e.peekBytes(4),n=1<=s[0]&&1<=s[3]&&s[3]<=4?r?(i="CIDFontType0","CIDFontType0C"):(i="MMType1"===t?"MMType1":"Type1","Type1C"):((0,$.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),i=t,a))),[i,n];var s}(a,r),n===this.type&&s===this.subtype||(0,$.info)(`Inconsistent font file Type/SubType, expected: ${this.type}/${this.subtype} but found: ${n}/${s}.`);try{switch(n){case"MMType1":(0,$.info)("MMType1 font ("+t+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";const i="Type1C"===s||"CIDFontType0C"===s?new G.CFFFont(a,r):new f.Type1Font(t,a,r);Z(r),e=this.convert(t,i,r);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",e=this.checkAndRepair(t,a,r),this.isOpenType&&(Z(r),n="OpenType");break;default:throw new $.FormatError(`Font ${n} is not supported`)}}catch(t){return(0,$.warn)(t),void this.fallbackToSystemFont(r)}h(r),this.data=e,this.type=n,this.subtype=s,this.fontMatrix=r.fontMatrix,this.widths=r.widths,this.defaultWidth=r.defaultWidth,this.toUnicode=r.toUnicode,this.seacMap=r.seacMap}}get renderer(){var e=a.FontRendererFactory.create(this,X.SEAC_ANALYSIS_ENABLED);return(0,$.shadow)(this,"renderer",e)}exportData(e=!1){var e=e?[...i,...n]:i,t=Object.create(null);let a,r;for(a of e)r=this[a],void 0!==r&&(t[a]=r);return t}fallbackToSystemFont(r){this.missingFile=!0;const{name:e,type:i}=this;let n=(0,X.normalizeFontName)(e);var t=(0,l.getStdFontMap)(),a=(0,l.getNonStdFontMap)(),s=!!t[n],o=!(!a[n]||!t[a[n]]),t=(n=t[n]||a[n]||n,(0,c.getFontBasicMetrics)()[n]),a=(t&&(isNaN(this.ascent)&&(this.ascent=t.ascent/g),isNaN(this.descent)&&(this.descent=t.descent/g),isNaN(this.capHeight))&&(this.capHeight=t.capHeight/g),this.bold=/bold/gi.test(n),this.italic=/oblique|italic/gi.test(n),this.black=/Black/g.test(e),/Narrow/g.test(e));if(this.remeasure=(!s||a)&&0<Object.keys(this.widths).length,(s||o)&&"CIDFontType2"===i&&this.cidEncoding.startsWith("Identity-")){const i=r.cidToGidMap,n=[];if(u(n,(0,l.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(e)?u(n,(0,l.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(e)&&u(n,(0,l.getSupplementalGlyphMapForCalibri)()),i){for(const r in n){const e=n[r];void 0!==i[e]&&(n[+r]=i[e])}i.length!==this.toUnicode.length&&r.hasIncludedToUnicodeMap&&this.toUnicode instanceof z.IdentityToUnicodeMap&&this.toUnicode.forEach(function(e,t){var a=n[e];void 0===i[a]&&(n[+e]=t)})}this.toUnicode instanceof z.IdentityToUnicodeMap||this.toUnicode.forEach(function(e,t){n[+e]=t}),this.toFontChar=n,this.toUnicode=new z.ToUnicodeMap(n)}else if(/Symbol/i.test(n))this.toFontChar=d(q.SymbolSetEncoding,(0,H.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(n))this.toFontChar=d(q.ZapfDingbatsEncoding,(0,H.getDingbatsGlyphsUnicode)(),this.differences);else if(s){const r=d(this.defaultEncoding,(0,H.getGlyphsUnicode)(),this.differences);"CIDFontType2"!==i||this.cidEncoding.startsWith("Identity-")||this.toUnicode instanceof z.IdentityToUnicodeMap||this.toUnicode.forEach(function(e,t){r[+e]=t}),this.toFontChar=r}else{const r=(0,H.getGlyphsUnicode)(),i=[];this.toUnicode.forEach((e,t)=>{if(!this.composite){const i=this.differences[e]||this.defaultEncoding[e],a=(0,v.getUnicodeForGlyph)(i,r);-1!==a&&(t=a)}i[+e]=t}),this.composite&&this.toUnicode instanceof z.IdentityToUnicodeMap&&/Tahoma|Verdana/i.test(e)&&u(i,(0,l.getGlyphMapForStandardFonts)()),this.toFontChar=i}h(r),this.loadedName=n.split("-")[0]}checkAndRepair(r,u,i){const d=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function f(t,a){var r,i,n,s,o,l,c,h=Object.create(null);h["OS/2"]=null,h.cmap=null,h.head=null,h.hhea=null,h.hmtx=null,h.maxp=null,h.name=null,h.post=null;for(let e=0;e<a;e++){c=l=o=s=n=i=void 0,i=(r=t).getString(4),n=r.getInt32()>>>0,s=r.getInt32()>>>0,o=r.getInt32()>>>0,l=r.pos,r.pos=r.start||0,r.skip(s),c=r.getBytes(o),r.pos=l,"head"===i&&(c[8]=c[9]=c[10]=c[11]=0,c[17]|=32);const a={tag:i,checksum:n,length:o,offset:s,data:c};d.includes(a.tag)&&0!==a.length&&(h[a.tag]=a)}return h}function t(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function a(r){var a,i=(u.start||0)+r.offset;u.pos=i;const n=[[],[]],s=[],o=r.length,l=i+o;if(!(0!==u.getUint16()||o<6)){const c=u.getUint16(),h=u.getUint16();let e,t;for(e=0;e<c&&u.pos+12<=l;e++){const r={platform:u.getUint16(),encoding:u.getUint16(),language:u.getUint16(),name:u.getUint16(),length:u.getUint16(),offset:u.getUint16()};(1===(a=r).platform&&0===a.encoding&&0===a.language||te(r))&&s.push(r)}for(e=0,t=s.length;e<t;e++){const r=s[e];if(!(r.length<=0)){const o=i+h+r.offset;if(!(o+r.length>l)){u.pos=o;const c=r.name;if(r.encoding){let a="";for(let e=0,t=r.length;e<t;e+=2)a+=String.fromCharCode(u.getUint16());n[1][c]=a}else n[0][c]=u.getString(r.length)}}}}return[n,s]}const R=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function n(i,e){let t,a,r,n,s,o=i.data,l=0,c=0,h=0;var u=[],d=[],f=[];let g=e.tooComplexToFollowFunctions,p=!1,m=0,b=0;for(var y=o.length;l<y;){const i=o[l++];if(64===i)if(a=o[l++],p||b)l+=a;else for(t=0;t<a;t++)u.push(o[l++]);else if(65===i)if(a=o[l++],p||b)l+=2*a;else for(t=0;t<a;t++)r=o[l++],u.push(r<<8|o[l++]);else if(176==(248&i))if(a=i-176+1,p||b)l+=a;else for(t=0;t<a;t++)u.push(o[l++]);else if(184==(248&i))if(a=i-184+1,p||b)l+=2*a;else for(t=0;t<a;t++)r=o[l++],u.push(r<<8|o[l++]);else if(43!==i||g)if(44!==i||g){if(45===i)if(p)p=!1,c=l;else{if(!(s=d.pop()))return(0,$.warn)("TT: ENDF bad stack"),e.hintsValid=!1;n=f.pop(),o=s.data,l=s.i,e.functionsStackDeltas[n]=u.length-s.stackTop}else if(137===i)(p||b)&&((0,$.warn)("TT: nested IDEFs not allowed"),g=!0),p=!0,h=l;else if(88===i)++m;else if(27===i)b=m;else if(89===i)b===m&&(b=0),--m;else if(28===i&&!p&&!b){const i=u.at(-1);0<i&&(l+=i-1)}}else(p||b)&&((0,$.warn)("TT: nested FDEFs not allowed"),g=!0),p=!0,h=l,n=u.pop(),e.functionsDefined[n]={data:o,i:l};else if(!p&&!b)if(n=u.at(-1),isNaN(n))(0,$.info)("TT: CALL empty stack (or invalid entry).");else if(e.functionsUsed[n]=!0,n in e.functionsStackDeltas){const i=u.length+e.functionsStackDeltas[n];if(i<0)return(0,$.warn)("TT: CALL invalid functions stack delta."),e.hintsValid=!1;u.length=i}else if(n in e.functionsDefined&&!f.includes(n)){if(d.push({data:o,i:l,stackTop:u.length-1}),f.push(n),!(s=e.functionsDefined[n]))return(0,$.warn)("TT: CALL non-existent function"),e.hintsValid=!1;o=s.data,l=s.i}if(!p&&!b){let e=0;for(i<=142?e=R[i]:192<=i&&i<=223?e=-1:224<=i&&(e=-2),113<=i&&i<=117&&(a=u.pop(),isNaN(a)||(e=2*-a));e<0&&0<u.length;)u.pop(),e++;for(;0<e;)u.push(NaN),e--}}e.tooComplexToFollowFunctions=g;var w=[o],v=(l>o.length&&w.push(new Uint8Array(l-o.length)),h>c&&((0,$.warn)("TT: complementing a missing function tail"),w.push(new Uint8Array([34,45]))),w);if(1<v.length){let e,t,a=0;for(e=0,t=v.length;e<t;e++)a+=v[e].length;a=a+3&-4;var x=new Uint8Array(a);let r=0;for(e=0,t=v.length;e<t;e++)x.set(v[e],r),r+=v[e].length;i.data=x,i.length=a}}let e,s,o,l;if(ee(u=new Y.Stream(new Uint8Array(u.getBytes())))){const r=function(r,i){const{numFonts:n,offsetTable:s}=function(t){var e=t.getString(4),a=((0,$.assert)("ttcf"===e,"Must be a TrueType Collection font."),t.getUint16()),r=t.getUint16(),i=t.getInt32()>>>0,n=[];for(let e=0;e<i;e++)n.push(t.getInt32()>>>0);var s={ttcTag:e,majorVersion:a,minorVersion:r,numFonts:i,offsetTable:n};switch(a){case 1:return s;case 2:return s.dsigTag=t.getInt32()>>>0,s.dsigLength=t.getInt32()>>>0,s.dsigOffset=t.getInt32()>>>0,s}throw new $.FormatError(`Invalid TrueType Collection majorVersion: ${a}.`)}(r),o=i.split("+");let l;for(let e=0;e<n;e++){r.pos=(r.start||0)+s[e];const n=t(r),h=f(r,n.numTables);if(!h.name)throw new $.FormatError('TrueType Collection font must contain a "name" table.');var[c]=a(h.name);for(let a=0,e=c.length;a<e;a++)for(let e=0,t=c[a].length;e<t;e++){const s=c[a][e]?.replaceAll(/\s/g,"");if(s){if(s===i)return{header:n,tables:h};if(!(o.length<2))for(const r of o)s===r&&(l={name:r,header:n,tables:h})}}}if(l)return(0,$.warn)(`TrueType Collection does not contain "${i}" font, falling back to "${l.name}" font instead.`),{header:l.header,tables:l.tables};throw new $.FormatError(`TrueType Collection does not contain "${i}" font.`)}(u,this.name);e=r.header,s=r.tables}else e=t(u),s=f(u,e.numTables);var c=!s["CFF "];if(c){if(!s.loca)throw new $.FormatError('Required "loca" table is not found');s.glyf||((0,$.warn)('Required "glyf" table is not found -- trying to recover.'),s.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{const u=i.composite&&(0<i.cidToGidMap?.length||!(i.cMap instanceof V.IdentityCMap));if("OTTO"===e.version&&!u||!s.head||!s.hhea||!s.maxp||!s.post)return l=new Y.Stream(s["CFF "].data),o=new G.CFFFont(l,i),Z(i),this.convert(r,o,i);delete s.glyf,delete s.loca,delete s.fpgm,delete s.prep,delete s["cvt "],this.isOpenType=!0}if(!s.maxp)throw new $.FormatError('Required "maxp" table is not found');u.pos=(u.start||0)+s.maxp.offset;const h=u.getInt32(),g=u.getUint16();if(i.scaleFactors?.length===g&&c){const r=i["scaleFactors"],u=(s.head.data[50]<<8)+s.head.data[51],$=new W.GlyfTable({glyfTable:s.glyf.data,isGlyphLocationsLong:u,locaTable:s.loca.data,numGlyphs:g}),{glyf:U,loca:X,isLocationLong:d}=($.scale(r),$.write()),H=(s.glyf.data=U,s.loca.data=X,d!==!!u&&(s.head.data[50]=0,s.head.data[51]=d?1:0),s.hmtx.data);for(let e=0;e<g;e++){const i=4*e,$=Math.round(r[e]*((H[i]<<8)+H[1+i]));H[i]=$>>8&255,H[1+i]=255&$,J(H,2+i,Math.round(r[e]*Q(H[2+i],H[3+i])))}}let p=g+1,m=!0,b=(65535<p&&(m=!1,p=g,(0,$.warn)("Not enough space in glyfs to duplicate first glyph.")),0),y=0;65536<=h&&22<=s.maxp.length&&(u.pos+=8,2<u.getUint16()&&(s.maxp.data[14]=0,s.maxp.data[15]=2),u.pos+=4,b=u.getUint16(),u.pos+=4,y=u.getUint16()),s.maxp.data[4]=p>>8,s.maxp.data[5]=255&p;var w=function(e,t,a,r){var i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(e&&n(e,i),t&&n(t,i),e&&function(a,r){if(!a.tooComplexToFollowFunctions){if(a.functionsDefined.length>r)return(0,$.warn)("TT: more functions defined than expected"),a.hintsValid=!1;for(let e=0,t=a.functionsUsed.length;e<t;e++){if(e>r)return(0,$.warn)("TT: invalid function id: "+e),a.hintsValid=!1;if(a.functionsUsed[e]&&!a.functionsDefined[e])return(0,$.warn)("TT: undefined function: "+e),a.hintsValid=!1}}}(i,r),a&&1&a.length){const e=new Uint8Array(a.length+1);e.set(a.data),a.data=e}return i.hintsValid}(s.fpgm,s.prep,s["cvt "],b);if(w||(delete s.fpgm,delete s.prep,delete s["cvt "]),function(e,t,a,r,i,n){if(!t)return a&&(a.data=null);e.pos=(e.start||0)+t.offset,e.pos+=4,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2;var s=e.getUint16();e.pos+=8,e.pos+=2;let o=e.getUint16();0===s||2&(r.data[44]<<8)+r.data[45]||(t.data[22]=0,t.data[23]=0),o>i&&((0,$.info)(`The numOfMetrics (${o}) should not be greater than the numGlyphs (${i}).`),o=i,t.data[34]=(65280&o)>>8,t.data[35]=255&o);s=i-o-(a.length-4*o>>1);if(0<s){const e=new Uint8Array(a.length+2*s);e.set(a.data),n&&(e[a.length]=a.data[2],e[a.length+1]=a.data[3]),a.data=e}}(u,s.hhea,s.hmtx,s.head,p,m),!s.head)throw new $.FormatError('Required "head" table is not found');var v=s.head,x=g,S=c?s.loca.length:0,k=v.data,v=(k[0]<<24)+(k[1]<<16)+(k[2]<<8)+k[3],A=(v>>16!=1&&((0,$.info)("Attempting to fix invalid version in head table: "+v),k[0]=0,k[1]=1,k[2]=0,k[3]=0),(k[50]<<8)+k[51]);if(A<0||1<A){(0,$.info)("Attempting to fix invalid indexToLocFormat in head table: "+A);const v=x+1;if(S===v<<1)k[50]=0,k[51]=0;else{if(S!==v<<2)throw new $.FormatError("Could not fix indexToLocFormat: "+A);k[50]=0,k[51]=1}}let C=Object.create(null);if(c){const r=(s.head.data[50]<<8)+s.head.data[51],u=function(e,t,a,r,i,n,s){let o,l,c;c=r?(o=4,l=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},function(e,t,a){e[t]=a>>>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+3]=255&a}):(o=2,l=function(e,t){return e[t]<<9|e[t+1]<<1},function(e,t,a){e[t]=a>>9&255,e[t+1]=a>>1&255});var h=n?a+1:a,r=o*(1+h),u=new Uint8Array(r),d=(u.set(e.data.subarray(0,r)),e.data=u,t.data),f=d.length,g=new Uint8Array(f);let p,m;var b=[];for(p=0,m=0;p<a+1;p++,m+=o){let e=l(u,m);e>f&&(e=f),b.push({index:p,offset:e,endOffset:0})}for(b.sort((e,t)=>e.offset-t.offset),p=0;p<a;p++)b[p].endOffset=b[p+1].offset;for(b.sort((e,t)=>e.index-t.index),p=0;p<a;p++){const{offset:e,endOffset:t}=b[p];if(0!==e||0!==t)break;const a=b[p+1].offset;if(0!==a){b[p].endOffset=a;break}}var y=Object.create(null);let w=0;for(c(u,0,w),p=0,m=o;p<a;p++,m+=o){const e=function(n,e,t,s,o,l){var c={length:0,sizeOfInstructions:0};if(!(e<0||e>=n.length||t>n.length||t-e<=12)){var h=n.subarray(e,t),n=Q(h[2],h[3]),e=Q(h[4],h[5]),t=Q(h[6],h[7]),u=Q(h[8],h[9]),d=(t<n&&(J(h,2,t),J(h,6,n)),u<e&&(J(h,4,u),J(h,8,e)),Q(h[0],h[1]));if(d<0)d<-1||(s.set(h,o),c.length=h.length);else{let a,r=10,e=0;for(a=0;a<d;a++)e=1+(h[r]<<8|h[r+1]),r+=2;t=r,n=h[r]<<8|h[r+1],u=(c.sizeOfInstructions=n,r+=2+n);let i=0;for(a=0;a<e;a++){const n=h[r++];192&n&&(h[r-1]=63&n);let e=2,t=(2&n?e=1:16&n&&(e=0),2);4&n?t=1:32&n&&(t=0);const s=e+t;if(i+=s,8&n){const n=h[r++];0===n&&(h[r-1]^=8),a+=n,i+=n*s}}if(0!==i){let e=r+i;e>h.length||(!l&&0<n?(s.set(h.subarray(0,t),o),s.set([0,0],o+t),s.set(h.subarray(u,e),o+t+2),e-=n,3<h.length-e&&(e=e+3&-4),c.length=e):3<h.length-e?(e=e+3&-4,s.set(h.subarray(0,e),o),c.length=e):(s.set(h,o),c.length=h.length))}}}return c}(d,b[p].offset,b[p].endOffset,g,w,i),t=e.length;0===t&&(y[p]=!0),e.sizeOfInstructions>s&&(s=e.sizeOfInstructions),w+=t,c(u,m,w)}if(0===w){const e=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(p=0,m=o;p<h;p++,m+=o)c(u,m,e.length);t.data=e}else if(n){const a=l(u,o);g.length>a+w?t.data=g.subarray(0,a+w):(t.data=new Uint8Array(a+w),t.data.set(g.subarray(0,w))),t.data.set(g.subarray(0,a),w),c(e.data,u.length-o,w+a)}else t.data=g.subarray(0,w);return{missingGlyphs:y,maxSizeOfInstructions:s}}(s.loca,s.glyf,g,r,w,m,y);C=u.missingGlyphs,65536<=h&&22<=s.maxp.length&&(s.maxp.data[26]=u.maxSizeOfInstructions>>8,s.maxp.data[27]=255&u.maxSizeOfInstructions)}if(!s.hhea)throw new $.FormatError('Required "hhea" table is not found');0===s.hhea.data[10]&&0===s.hhea.data[11]&&(s.hhea.data[10]=255,s.hhea.data[11]=255);v={unitsPerEm:(s.head.data[18]<<8)+s.head.data[19],yMax:Q(s.head.data[42],s.head.data[43]),yMin:Q(s.head.data[38],s.head.data[39]),ascent:Q(s.hhea.data[4],s.hhea.data[5]),descent:Q(s.hhea.data[6],s.hhea.data[7]),lineGap:Q(s.hhea.data[8],s.hhea.data[9])};if(this.ascent=v.ascent/v.unitsPerEm,this.descent=v.descent/v.unitsPerEm,this.lineGap=v.lineGap/v.unitsPerEm,this.cssFontInfo?.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,s.post){var F=s.post,O=i,L=g;const D=(u.start||0)+F.offset;var _=(u.pos=D)+F.length,I=u.getInt32();let e;u.skip(28);let t,a=!0;switch(I){case 65536:e=X.MacStandardGlyphOrdering;break;case 131072:const F=u.getUint16();if(F!==L)a=!1;else{const D=[];for(t=0;t<F;++t){const F=u.getUint16();if(32768<=F){a=!1;break}D.push(F)}if(a){for(var T=[],M=[];u.pos<_;){const F=u.getByte();for(M.length=F,t=0;t<F;++t)M[t]=String.fromCharCode(u.getByte());T.push(M.join(""))}for(e=[],t=0;t<F;++t){const F=D[t];F<258?e.push(X.MacStandardGlyphOrdering[F]):e.push(T[F-258])}}}break;case 196608:break;default:(0,$.warn)("Unknown/unsupported post table version "+I),a=!1,O.defaultEncoding&&(e=O.defaultEncoding)}O.glyphNames=e}s.post={tag:"post",data:se(i)};const P=[];function E(e){return!C[e]}if(i.composite){const r=i.cidToGidMap||[],u=0===r.length;i.cMap.forEach(function(e,t){if(65535<(t="string"==typeof t?ae(e,t,!0):t))throw new $.FormatError("Max size of CID is 65,535");let a=-1;u?a=t:void 0!==r[t]&&(a=r[t]),0<=a&&a<g&&E(a)&&(P[e]=a)})}else{const r=function(r,i,n,s){if(!r)return(0,$.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};let o,l=(i.start||0)+r.offset;i.pos=l,i.skip(2);var c=i.getUint16();let h,u=!1;for(let a=0;a<c;a++){const $=i.getUint16(),o=i.getUint16(),l=i.getInt32()>>>0;let t=!1;if(h?.platformId!==$||h?.encodingId!==o){if(0!==$||0!==o&&1!==o&&3!==o)if(1===$&&0===o)t=!0;else if(3!==$||1!==o||!s&&h){if(n&&3===$&&0===o){let e=t=!0;if(a<c-1){const r=i.peekBytes(2);(r[0]<<8)+r[1]<$&&(e=!1)}e&&(u=!0)}}else t=!0,n||(u=!0);else t=!0;if(t&&(h={platformId:$,encodingId:o,offset:l}),u)break}}if(h&&(i.pos=l+h.offset),!h||-1===i.peekByte())return(0,$.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};r=i.getUint16();let e=!1;var d=[];let f,g;if(0===r){for(i.skip(4),f=0;f<256;f++){const r=i.getByte();r&&d.push({charCode:f,glyphId:r})}e=!0}else if(2===r){i.skip(4);const r=[];let t=0;for(let e=0;e<256;e++){const $=i.getUint16()>>3;r.push($),t=Math.max($,t)}const $=[];for(let e=0;e<=t;e++)$.push({firstCode:i.getUint16(),entryCount:i.getUint16(),idDelta:Q(i.getByte(),i.getByte()),idRangePos:i.pos+i.getUint16()});for(let e=0;e<256;e++)if(0===r[e])i.pos=$[0].idRangePos+2*e,g=i.getUint16(),d.push({charCode:e,glyphId:g});else{const s=$[r[e]];for(f=0;f<s.entryCount;f++){const r=(e<<8)+f+s.firstCode;i.pos=s.idRangePos+2*f,0!==(g=i.getUint16())&&(g=(g+s.idDelta)%65536),d.push({charCode:r,glyphId:g})}}}else if(4===r){i.skip(4);const r=i.getUint16()>>1,n=(i.skip(6),[]);let e;for(e=0;e<r;e++)n.push({end:i.getUint16()});for(i.skip(2),e=0;e<r;e++)n[e].start=i.getUint16();for(e=0;e<r;e++)n[e].delta=i.getUint16();let t,a=0;for(e=0;e<r;e++){o=n[e];const l=i.getUint16();l?(t=(l>>1)-(r-e),o.offsetIndex=t,a=Math.max(a,t+o.end-o.start+1)):o.offsetIndex=-1}const h=[];for(f=0;f<a;f++)h.push(i.getUint16());for(e=0;e<r;e++){o=n[e],l=o.start;const r=o.end,i=o.delta;for(t=o.offsetIndex,f=l;f<=r;f++)65535!==f&&(g=(g=t<0?f:h[t+f-l])+i&65535,d.push({charCode:f,glyphId:g}))}}else if(6===r){i.skip(4);const r=i.getUint16(),n=i.getUint16();for(f=0;f<n;f++){g=i.getUint16();const n=r+f;d.push({charCode:n,glyphId:g})}}else{if(12!==r)return(0,$.warn)("cmap table has unsupported format: "+r),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};{i.skip(10);const r=i.getInt32()>>>0;for(f=0;f<r;f++){const r=i.getInt32()>>>0,n=i.getInt32()>>>0;let t=i.getInt32()>>>0;for(let e=r;e<=n;e++)d.push({charCode:e,glyphId:t++})}}}d.sort(function(e,t){return e.charCode-t.charCode});for(let e=1;e<d.length;e++)d[e-1].charCode===d[e].charCode&&(d.splice(e,1),e--);return{platformId:h.platformId,encodingId:h.encodingId,mappings:d,hasShortCmap:e}}(s.cmap,u,this.isSymbolicFont,i.hasEncoding),U=r.platformId,d=r.encodingId,f=r.mappings;let a=[],t=!1;if(!i.hasEncoding||"MacRomanEncoding"!==i.baseEncodingName&&"WinAnsiEncoding"!==i.baseEncodingName||(a=(0,q.getEncoding)(i.baseEncodingName)),i.hasEncoding&&!this.isSymbolicFont&&(3===U&&1===d||1===U&&0===d)){const r=(0,H.getGlyphsUnicode)();for(let t=0;t<256;t++){var N=(void 0!==this.differences[t]?this.differences:a.length&&""!==a[t]?a:q.StandardEncoding)[t];if(N){const H=(0,X.recoverGlyphName)(N,r);let e;if(3===U&&1===d?e=r[H]:1===U&&0===d&&(e=q.MacRomanEncoding.indexOf(H)),void 0===e){if(!i.glyphNames&&i.hasIncludedToUnicodeMap&&!(this.toUnicode instanceof z.IdentityToUnicodeMap)){const r=this.toUnicode.get(t);r&&(e=r.codePointAt(0))}if(void 0===e)continue}for(const r of f)if(r.charCode===e){P[t]=r.glyphId;break}}}}else if(0===U){for(const r of f)P[r.charCode]=r.glyphId;t=!0}else for(const r of f){let e=r.charCode;3===U&&61440<=e&&e<=61695&&(e&=255),P[e]=r.glyphId}if(i.glyphNames&&(a.length||this.differences.length))for(let e=0;e<256;++e)if(t||void 0===P[e]){const u=this.differences[e]||a[e];if(u){const $=i.glyphNames.indexOf(u);0<$&&E($)&&(P[e]=$)}}}0===P.length&&(P[0]=0);let B=p-1;if(m||(B=0),!i.cssFontInfo){const r=re(P,E,B,this.toUnicode);this.toFontChar=r.toFontChar,s.cmap={tag:"cmap",data:ie(r.charCodeToGlyphId,r.toUnicodeExtraMap,p)},!s["OS/2"]||(x=s["OS/2"],(S=u).pos=(S.start||0)+x.offset,A=S.getUint16(),S.skip(60),k=S.getUint16(),A<4&&768&k)||S.getUint16()>S.getUint16()||(S.skip(6),0===S.getUint16())?s["OS/2"]={tag:"OS/2",data:ne(i,r.charCodeToGlyphId,v)}:x.data[8]=x.data[9]=0}if(!c)try{l=new Y.Stream(s["CFF "].data),(o=new U.CFFParser(l,i,X.SEAC_ANALYSIS_ENABLED).parse()).duplicateFirstGlyph();const r=new U.CFFCompiler(o);s["CFF "].data=r.compile()}catch(r){(0,$.warn)("Failed to compile font "+i.loadedName)}if(s.name){const[u,$]=a(s.name);s.name.data=oe(r,u),this.psName=u[0][6]||null,i.composite||function(e,t,a){if(!e.isInternalFont&&!e.hasIncludedToUnicodeMap&&!e.hasEncoding&&!(e.toUnicode instanceof z.IdentityToUnicodeMap)&&t&&0!==a.length&&e.defaultEncoding!==q.WinAnsiEncoding){for(const e of a)if(!te(e))return;var r=q.WinAnsiEncoding,i=[],n=(0,H.getGlyphsUnicode)();for(const e in r){const t=r[e];if(""!==t){const a=n[t];void 0!==a&&(i[e]=String.fromCharCode(a))}}0<i.length&&e.toUnicode.amend(i)}}(i,this.isSymbolicFont,$)}else s.name={tag:"name",data:oe(this.name)};var j=new K.OpenTypeFileBuilder(e.version);for(const r in s)j.addTable(r,s[r].data);return j.toArray()}convert(e,t,a){if(a.fixedPitch=!1,a.builtInEncoding){var r=a,i=a.builtInEncoding;if(!r.isInternalFont&&!(r.hasIncludedToUnicodeMap||i===r.defaultEncoding||r.toUnicode instanceof z.IdentityToUnicodeMap)){var n=[],s=(0,H.getGlyphsUnicode)();for(const y in i)if(!r.hasEncoding||!r.baseEncodingName&&void 0===r.differences[y]){const w=i[y],H=(0,v.getUnicodeForGlyph)(w,s);-1!==H&&(n[y]=String.fromCharCode(H))}0<n.length&&r.toUnicode.amend(n)}}let o=1;t instanceof G.CFFFont&&(o=t.numGlyphs-1);var l=t.getGlyphMapping(a);let c=null,h=l,u=null;a.cssFontInfo||(c=re(l,t.hasGlyphId.bind(t),o,this.toUnicode),this.toFontChar=c.toFontChar,h=c.charCodeToGlyphId,u=c.toUnicodeExtraMap);const d=t.numGlyphs;function f(e,t){for(const a in e)if(t===e[a])return 0|a;return c.charCodeToGlyphId[c.nextAvailableFontCharCode]=t,c.nextAvailableFontCharCode++}var g=t.seacs;if(c&&X.SEAC_ANALYSIS_ENABLED&&g?.length){const e=a.fontMatrix||$.FONT_IDENTITY_MATRIX,o=t.getCharset(),X=Object.create(null);for(var p in g){const a=g[p|=0],$=q.StandardEncoding[a[2]],v=q.StandardEncoding[a[3]],H=o.indexOf($),z=o.indexOf(v);if(!(H<0||z<0)){const G={x:a[0]*e[0]+a[1]*e[2]+e[4],y:a[0]*e[1]+a[1]*e[3]+e[5]},h=function(e,t){let a=null;for(const r in e)t===e[r]&&(a||=[]).push(0|r);return a}(l,p);if(h)for(const e of h){const t=c.charCodeToGlyphId,a=f(t,H),$=f(t,z);X[e]={baseFontCharCode:a,accentFontCharCode:$,accentOffset:G}}}}a.seacMap=X}var m=1/(a.fontMatrix||$.FONT_IDENTITY_MATRIX)[0],b=new K.OpenTypeFileBuilder("OTTO");return b.addTable("CFF ",t.data),b.addTable("OS/2",ne(a,h)),b.addTable("cmap",ie(h,u,d)),b.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+x(m)+"\0\0\0\0\v~'\0\0\0\0\v~'\0\0"+x(a.descent)+"ÿ"+x(a.ascent)+k(a.italicAngle?2:0)+"\0\0\0\0\0\0\0"),b.addTable("hhea","\0\0\0"+x(a.ascent)+x(a.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+x(a.capHeight)+x(Math.tan(a.italicAngle)*a.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+k(d)),b.addTable("hmtx",function(){const a=t.charstrings,r=t.cff?t.cff.widths:null;let i="\0\0\0\0";for(let t=1,e=d;t<e;t++){let e=0;if(a){const r=a[t-1];e="width"in r?r.width:0}else r&&(e=Math.ceil(r[t]||0));i+=k(e)+k(0)}return i}()),b.addTable("maxp","\0\0P\0"+k(d)),b.addTable("name",oe(e)),b.addTable("post",se(a)),b.toArray()}get spaceWidth(){const t=["space","minus","one","i","I"];let a;for(const r of t){if(r in this.widths){a=this.widths[r];break}const t=(0,H.getGlyphsUnicode)()[r];let e=0;if((e=!(e=this.composite&&this.cMap.contains(t)&&"string"==typeof(e=this.cMap.lookup(t))?ae(t,e):e)&&this.toUnicode?this.toUnicode.charCodeOf(t):e)<=0&&(e=t),a=this.widths[e])break}return(0,$.shadow)(this,"spaceWidth",a||this.defaultWidth)}_charToGlyph(e,t=!1){let a,r,i,n=this._glyphCache[e];if(n?.isSpace===t)return n;let s=e;this.cMap?.contains(e)&&"string"==typeof(s=this.cMap.lookup(e))&&(s=ae(e,s)),"number"!=typeof(r=this.widths[s])&&(r=this.defaultWidth);var o=this.vmetrics?.[s];let l=this.toUnicode.get(e)||e,c=("number"==typeof l&&(l=String.fromCharCode(l)),void 0!==this.toFontChar[e]);if(a=this.toFontChar[e]||e,this.missingFile){const t=this.differences[e]||this.defaultEncoding[e];".notdef"!==t&&""!==t||"Type1"!==this.type||(a=32),a=(0,v.mapSpecialUnicodeValues)(a)}this.isType3Font&&(i=a);let h=null;if(this.seacMap?.[e]){c=!0;const t=this.seacMap[e];a=t.baseFontCharCode,h={fontChar:String.fromCodePoint(t.accentFontCharCode),offset:t.accentOffset}}let u="";return"number"==typeof a&&(a<=1114111?u=String.fromCodePoint(a):(0,$.warn)("charToGlyph - invalid fontCharCode: "+a)),n=new m(e,u,l,h,r,o,i,t,c),this._glyphCache[e]=n}charsToGlyphs(a){var r=this._charsCache[a];if(r)return r;if(r=[],this.cMap){var t=Object.create(null),i=a.length;let e=0;for(;e<i;){this.cMap.readCharCode(a,e,t);var{charcode:n,length:s}=t,n=(e+=s,this._charToGlyph(n,1===s&&32===a.charCodeAt(e-1)));r.push(n)}}else for(let e=0,t=a.length;e<t;++e){var o=a.charCodeAt(e),o=this._charToGlyph(o,32===o);r.push(o)}return this._charsCache[a]=r}getCharPositions(a){var r=[];if(this.cMap){var t=Object.create(null);let e=0;for(;e<a.length;){this.cMap.readCharCode(a,e,t);var i=t.length;r.push([e,e+i]),e+=i}}else for(let e=0,t=a.length;e<t;++e)r.push([e,e+1]);return r}get glyphCacheValues(){return Object.values(this._glyphCache)}encodeString(a){const r=[],i=[],n=()=>r.length%2==1,s=this.toUnicode instanceof z.IdentityToUnicodeMap?e=>this.toUnicode.charCodeOf(e):e=>this.toUnicode.charCodeOf(String.fromCodePoint(e));for(let e=0,t=a.length;e<t;e++){var o=a.codePointAt(e);if(55295<o&&(o<57344||65533<o)&&e++,this.toUnicode){const a=s(o);if(-1!==a){n()&&(r.push(i.join("")),i.length=0);for(let e=(this.cMap?this.cMap.getCharCodeLength(a):1)-1;0<=e;e--)i.push(String.fromCharCode(a>>8*e&255));continue}}n()||(r.push(i.join("")),i.length=0),i.push(String.fromCodePoint(o))}return r.push(i.join("")),r}},e.ErrorFont=class{constructor(e){this.error=e,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(e){return[e]}exportData(e=0){return{error:this.error}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CFFTopDict=t.CFFStrings=t.CFFStandardStrings=t.CFFPrivateDict=t.CFFParser=t.CFFIndex=t.CFFHeader=t.CFFFDSelect=t.CFFCompiler=t.CFFCharset=t.CFF=void 0;var g=a(2),d=a(36),f=a(37);const r=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],u=(t.CFFStandardStrings=r,[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}]),p=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];t.CFFParser=class{constructor(e,t,a){this.bytes=e.getBytes(),this.properties=t,this.seacAnalysisEnabled=!!a}parse(){const a=this.properties,r=new m,e=(this.cff=r,this.parseHeader()),i=this.parseIndex(e.endPos),n=this.parseIndex(i.endPos),t=this.parseIndex(n.endPos),s=this.parseIndex(t.endPos),o=this.parseDict(n.obj.get(0)),l=this.createDict(b,o,r.strings);r.header=e.obj,r.names=this.parseNameIndex(i.obj),r.strings=this.parseStringIndex(t.obj),r.topDict=l,r.globalSubrIndex=s.obj,this.parsePrivateDict(r.topDict),r.isCIDFont=l.hasName("ROS");var c=l.getByName("CharStrings"),c=this.parseIndex(c).obj,h=l.getByName("FontMatrix"),h=(h&&(a.fontMatrix=h),l.getByName("FontBBox"));let u,d;if(h&&(a.ascent=Math.max(h[3],h[1]),a.descent=Math.min(h[1],h[3]),a.ascentScaled=!0),r.isCIDFont){const a=this.parseIndex(l.getByName("FDArray")).obj;for(let e=0,t=a.count;e<t;++e){const i=a.get(e),n=this.createDict(b,this.parseDict(i),r.strings);this.parsePrivateDict(n),r.fdArray.push(n)}d=null,u=this.parseCharsets(l.getByName("charset"),c.count,r.strings,!0),r.fdSelect=this.parseFDSelect(l.getByName("FDSelect"),c.count)}else u=this.parseCharsets(l.getByName("charset"),c.count,r.strings,!1),d=this.parseEncoding(l.getByName("Encoding"),a,r.strings,u.charset);r.charset=u,r.encoding=d;h=this.parseCharStrings({charStrings:c,localSubrIndex:l.privateDict.subrsIndex,globalSubrIndex:s.obj,fdSelect:r.fdSelect,fdArray:r.fdArray,privateDict:l.privateDict});return r.charStrings=h.charStrings,r.seacs=h.seacs,r.widths=h.widths,r}parseHeader(){let e=this.bytes;var t=e.length;let a=0;for(;a<t&&1!==e[a];)++a;if(a>=t)throw new g.FormatError("Invalid CFF header");0!==a&&((0,g.info)("cff data is shifted"),e=e.subarray(a),this.bytes=e);var r=e[0],i=e[1],n=e[2],s=e[3];return{obj:new o(r,i,n,s),endPos:n}}parseDict(n){let s=0;let t=[];for(var a=[],e=(s=0,n.length);s<e;){let e=n[s];e<=21?(12===e&&(e=e<<8|n[++s]),a.push([e,t]),t=[],++s):t.push(function(){let e=n[s++];if(30!==e)return 28===e?e=((e=n[s++])<<24|n[s++]<<16)>>16:29===e?e=(e=(e=(e=n[s++])<<8|n[s++])<<8|n[s++])<<8|n[s++]:32<=e&&e<=246?e-139:247<=e&&e<=250?256*(e-247)+n[s++]+108:251<=e&&e<=254?-256*(e-251)-n[s++]-108:((0,g.warn)('CFFParser_parseDict: "'+e+'" is a reserved command.'),NaN);{let e="";const t=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],a=n.length;for(;s<a;){const a=n[s++],r=a>>4,i=15&a;if(15==r)break;if(e+=t[r],15==i)break;e+=t[i]}return parseFloat(e)}}())}return a}parseIndex(a){const r=new c,i=this.bytes,e=i[a++]<<8|i[a++],n=[];let t,s,o=a;if(0!==e){const r=i[a++],l=a+(e+1)*r-1;for(t=0,s=e+1;t<s;++t){let t=0;for(let e=0;e<r;++e)t=(t<<=8)+i[a++];n.push(l+t)}o=n[e]}for(t=0,s=n.length-1;t<s;++t){const a=n[t],e=n[t+1];r.add(i.subarray(a,e))}return{obj:r,endPos:o}}parseNameIndex(a){var r=[];for(let e=0,t=a.count;e<t;++e){var i=a.get(e);r.push((0,g.bytesToString)(i))}return r}parseStringIndex(a){var r=new n;for(let e=0,t=a.count;e<t;++e){var i=a.get(e);r.add((0,g.bytesToString)(i))}return r}createDict(e,t,a){var r=new e(a);for(const[e,a]of t)r.setByKey(e,a);return r}parseCharString(a,r,i,n){if(!r||10<a.callDepth)return!1;let s=a.stackSize;var o=a.stack;let l=r.length;for(let e=0;e<l;){var c=r[e++];let t=null;if(12===c){const a=r[e++];0===a?(r[e-2]=139,r[e-1]=22,s=0):t=p[a]}else if(28===c)o[s]=(r[e]<<24|r[e+1]<<16)>>16,e+=2,s++;else if(14===c){if(4<=s&&(s-=4,this.seacAnalysisEnabled))return a.seac=o.slice(s,s+4),!1;t=u[c]}else if(32<=c&&c<=246)o[s]=c-139,s++;else if(247<=c&&c<=254)o[s]=c<251?(c-247<<8)+r[e]+108:-(c-251<<8)-r[e]-108,e++,s++;else if(255===c)o[s]=(r[e]<<24|r[e+1]<<16|r[e+2]<<8|r[e+3])/65536,e+=4,s++;else if(19===c||20===c){if(a.hints+=s>>1,0===a.hints){r.copyWithin(e-1,e,-1),--e,--l;continue}e+=a.hints+7>>3,s%=2,t=u[c]}else{if(10===c||29===c){var h=10===c?i:n;if(!h)return t=u[c],(0,g.warn)("Missing subrsIndex for "+t.id),!1;let e=32768;h.count<1240?e=107:h.count<33900&&(e=1131);const l=o[--s]+e;if(l<0||l>=h.count||isNaN(l))return t=u[c],(0,g.warn)("Out of bounds subrIndex for "+t.id),!1;if(a.stackSize=s,a.callDepth++,!this.parseCharString(a,h.get(l),i,n))return!1;a.callDepth--,s=a.stackSize;continue}if(11===c)return a.stackSize=s,!0;if(0===c&&e===r.length)r[e-1]=14,t=u[14];else{if(9===c){r.copyWithin(e-1,e,-1),--e,--l;continue}t=u[c]}}if(t){if(t.stem&&(a.hints+=s>>1,3===c||23===c?a.hasVStems=!0:!a.hasVStems||1!==c&&18!==c||((0,g.warn)("CFF stem hints are in wrong order"),r[e-1]=1===c?3:23)),"min"in t&&!a.undefStack&&s<t.min)return(0,g.warn)("Not enough parameters for "+t.id+"; actual: "+s+", expected: "+t.min),0===s&&(r[e-1]=14,!0);a.firstStackClearing&&t.stackClearing&&(a.firstStackClearing=!1,2<=(s-=t.min)&&t.stem?s%=2:1<s&&(0,g.warn)("Found too many parameters for stack-clearing command"),0<s)&&(a.width=o[s-1]),"stackDelta"in t?("stackFn"in t&&t.stackFn(o,s),s+=t.stackDelta):t.stackClearing?s=0:t.resetStack?(s=0,a.undefStack=!1):t.undefStack&&(s=0,a.undefStack=!0,a.firstStackClearing=!1)}}return l<r.length&&r.fill(14,l),a.stackSize=s,!0}parseCharStrings({charStrings:i,localSubrIndex:n,globalSubrIndex:s,fdSelect:o,fdArray:l,privateDict:c}){const h=[],u=[],d=i.count;for(let r=0;r<d;r++){const d=i.get(r),f={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1};let e=!0,t=null,a=c;if(o&&l.length){const i=o.getFDIndex(r);-1===i&&((0,g.warn)("Glyph index is not in fd select."),e=!1),i>=l.length&&((0,g.warn)("Invalid fd index for glyph index."),e=!1),e&&(a=l[i].privateDict,t=a.subrsIndex)}else n&&(t=n);if(e=e&&this.parseCharString(f,d,t,s),null!==f.width){const i=a.getByName("nominalWidthX");u[r]=i+f.width}else{const i=a.getByName("defaultWidthX");u[r]=i}null!==f.seac&&(h[r]=f.seac),e||i.set(r,new Uint8Array([14]))}return{charStrings:i,seacs:h,widths:u}}emptyPrivateDictionary(e){var t=this.createDict(h,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}parsePrivateDict(e){var t,a,r;e.hasName("Private")?(r=e.getByName("Private"),Array.isArray(r)&&2===r.length?(t=r[0],r=r[1],0===t||r>=this.bytes.length?this.emptyPrivateDictionary(e):(t=this.bytes.subarray(r,r+t),t=this.parseDict(t),t=this.createDict(h,t,e.strings),0===(e.privateDict=t).getByName("ExpansionFactor")&&t.setByName("ExpansionFactor",.06),t.getByName("Subrs")&&(a=r+(r=t.getByName("Subrs")),0===r||a>=this.bytes.length?this.emptyPrivateDictionary(e):(r=this.parseIndex(a),t.subrsIndex=r.obj)))):e.removeByName("Private")):this.emptyPrivateDictionary(e)}parseCharsets(e,t,a,r){if(0===e)return new w(!0,y.ISO_ADOBE,d.ISOAdobeCharset);if(1===e)return new w(!0,y.EXPERT,d.ExpertCharset);if(2===e)return new w(!0,y.EXPERT_SUBSET,d.ExpertSubsetCharset);var i=this.bytes,n=e,s=i[e++],o=[r?0:".notdef"];let l,c,h;switch(--t,s){case 0:for(h=0;h<t;h++)l=i[e++]<<8|i[e++],o.push(r?l:a.get(l));break;case 1:for(;o.length<=t;)for(l=i[e++]<<8|i[e++],c=i[e++],h=0;h<=c;h++)o.push(r?l++:a.get(l++));break;case 2:for(;o.length<=t;)for(l=i[e++]<<8|i[e++],c=i[e++]<<8|i[e++],h=0;h<=c;h++)o.push(r?l++:a.get(l++));break;default:throw new g.FormatError("Unknown charset format")}var u=e,n=i.subarray(n,u);return new w(!1,s,o,n)}parseEncoding(e,a,r,t){const i=Object.create(null),n=this.bytes;let s,o,l,c=!1,h=null;if(0===e||1===e){c=!0;const a=(s=e)?f.ExpertEncoding:f.StandardEncoding;for(o=0,l=t.length;o<l;o++){const e=a.indexOf(t[o]);-1!==e&&(i[e]=o)}}else{const a=e;switch(127&(s=n[e++])){case 0:const a=n[e++];for(o=1;o<=a;o++)i[n[e++]]=o;break;case 1:const r=n[e++];let t=1;for(o=0;o<r;o++){const a=n[e++],r=n[e++];for(let e=a;e<=a+r;e++)i[e]=t++}break;default:throw new g.FormatError(`Unknown encoding format: ${s} in CFF`)}const f=e;if(128&s){n[a]&=127;{const u=n[e++];for(o=0;o<u;o++){const u=n[e++],d=(n[e++]<<8)+(255&n[e++]);i[u]=t.indexOf(r.get(d))}}}h=n.subarray(a,f)}return s&=127,new v(c,s,i,h)}parseFDSelect(e,t){const a=this.bytes,r=a[e++],i=[];let n;switch(r){case 0:for(n=0;n<t;++n){const t=a[e++];i.push(t)}break;case 3:var s=a[e++]<<8|a[e++];for(n=0;n<s;++n){let t=a[e++]<<8|a[e++];0===n&&0!==t&&((0,g.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),t=0);const r=a[e++],o=a[e]<<8|a[e+1];for(let e=t;e<o;++e)i.push(r)}e+=2;break;default:throw new g.FormatError(`parseFDSelect: Unknown format "${r}".`)}if(i.length!==t)throw new g.FormatError("parseFDSelect: Invalid font data.");return new x(r,i)}};class m{constructor(){this.header=null,this.names=[],this.topDict=null,this.strings=new n,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}duplicateFirstGlyph(){var e;65535<=this.charStrings.count?(0,g.warn)("Not enough space in charstrings to duplicate first glyph."):(e=this.charStrings.get(0),this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0]))}hasGlyphId(e){return!(e<0||e>=this.charStrings.count)&&0<this.charStrings.get(e).length}}t.CFF=m;class o{constructor(e,t,a,r){this.major=e,this.minor=t,this.hdrSize=a,this.offSize=r}}t.CFFHeader=o;class n{constructor(){this.strings=[]}get(e){return 0<=e&&e<=390?r[e]:e-391<=this.strings.length?this.strings[e-391]:r[0]}getSID(e){var t=r.indexOf(e);return-1!==t?t:-1!==(t=this.strings.indexOf(e))?t+391:-1}add(e){this.strings.push(e)}get count(){return this.strings.length}}t.CFFStrings=n;class c{constructor(){this.objects=[],this.length=0}add(e){this.length+=e.length,this.objects.push(e)}set(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}get(e){return this.objects[e]}get count(){return this.objects.length}}t.CFFIndex=c;class i{constructor(e,t){this.keyToNameMap=e.keyToNameMap,this.nameToKeyMap=e.nameToKeyMap,this.defaults=e.defaults,this.types=e.types,this.opcodes=e.opcodes,this.order=e.order,this.strings=t,this.values=Object.create(null)}setByKey(e,t){if(!(e in this.keyToNameMap))return!1;if(0!==t.length){for(const a of t)if(isNaN(a))return(0,g.warn)(`Invalid CFFDict value: "${t}" for key "${e}".`),!0;const a=this.types[e];"num"!==a&&"sid"!==a&&"offset"!==a||(t=t[0]),this.values[e]=t}return!0}setByName(e,t){if(!(e in this.nameToKeyMap))throw new g.FormatError(`Invalid dictionary name "${e}"`);this.values[this.nameToKeyMap[e]]=t}hasName(e){return this.nameToKeyMap[e]in this.values}getByName(e){var t;if(e in this.nameToKeyMap)return((t=this.nameToKeyMap[e])in this.values?this.values:this.defaults)[t];throw new g.FormatError(`Invalid dictionary name ${e}"`)}removeByName(e){delete this.values[this.nameToKeyMap[e]]}static createTables(e){var t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]};for(const a of e){const e=Array.isArray(a[0])?(a[0][0]<<8)+a[0][1]:a[0];t.keyToNameMap[e]=a[1],t.nameToKeyMap[a[1]]=e,t.types[e]=a[2],t.defaults[e]=a[3],t.opcodes[e]=Array.isArray(a[0])?a[0]:[a[0]],t.order.push(e)}return t}}const s=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]];class b extends i{static get tables(){return(0,g.shadow)(this,"tables",this.createTables(s))}constructor(e){super(b.tables,e),this.privateDict=null}}t.CFFTopDict=b;const l=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]];class h extends i{static get tables(){return(0,g.shadow)(this,"tables",this.createTables(l))}constructor(e){super(h.tables,e),this.subrsIndex=null}}t.CFFPrivateDict=h;const y={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2};class w{constructor(e,t,a,r){this.predefined=e,this.format=t,this.charset=a,this.raw=r}}t.CFFCharset=w;class v{constructor(e,t,a,r){this.predefined=e,this.format=t,this.encoding=a,this.raw=r}}class x{constructor(e,t){this.format=e,this.fdSelect=t}getFDIndex(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}t.CFFFDSelect=x;class S{constructor(){this.offsets=Object.create(null)}isTracking(e){return e in this.offsets}track(e,t){if(e in this.offsets)throw new g.FormatError("Already tracking location of "+e);this.offsets[e]=t}offset(e){for(const t in this.offsets)this.offsets[t]+=e}setEntryLocation(e,a,r){if(!(e in this.offsets))throw new g.FormatError("Not tracking location of "+e);var i=r.data,n=this.offsets[e];for(let e=0,t=a.length;e<t;++e){const r=5*e+n,o=r+1,l=r+2,c=r+3,h=r+4;if(29!==i[r]||0!==i[o]||0!==i[l]||0!==i[c]||0!==i[h])throw new g.FormatError("writing to an offset that is not empty");var s=a[e];i[r]=29,i[o]=s>>24&255,i[l]=s>>16&255,i[c]=s>>8&255,i[h]=255&s}}}class k{constructor(e){this.cff=e}compile(){const e=this.cff,t={data:[],length:0,add(e){e.length<=65536?this.data.push(...e):this.data=this.data.concat(e),this.length=this.data.length}},a=this.compileHeader(e.header);t.add(a);var r=this.compileNameIndex(e.names);if(t.add(r),e.isCIDFont&&e.topDict.hasName("FontMatrix")){const t=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");for(const a of e.fdArray){let e=t.slice(0);a.hasName("FontMatrix")&&(e=g.Util.transform(e,a.getByName("FontMatrix"))),a.setByName("FontMatrix",e)}}16<e.topDict.getByName("XUID")?.length&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);var r=this.compileTopDicts([e.topDict],t.length,e.isCIDFont),i=(t.add(r.output),r.trackers[0]),n=this.compileStringIndex(e.strings.strings),n=(t.add(n),this.compileIndex(e.globalSubrIndex));if(t.add(n),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)i.setEntryLocation("Encoding",[e.encoding.format],t);else{const a=this.compileEncoding(e.encoding);i.setEntryLocation("Encoding",[t.length],t),t.add(a)}n=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont),i.setEntryLocation("charset",[t.length],t),t.add(n),n=this.compileCharStrings(e.charStrings);if(i.setEntryLocation("CharStrings",[t.length],t),t.add(n),e.isCIDFont){i.setEntryLocation("FDSelect",[t.length],t);const a=this.compileFDSelect(e.fdSelect),g=(t.add(a),r=this.compileTopDicts(e.fdArray,t.length,!0),i.setEntryLocation("FDArray",[t.length],t),t.add(r.output),r.trackers);this.compilePrivateDicts(e.fdArray,g,t)}return this.compilePrivateDicts([e.topDict],[i],t),t.add([0]),t.data}encodeNumber(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}static get EncodeFloatRegExp(){return(0,g.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(e){let t=e.toString();var a=k.EncodeFloatRegExp.exec(t);if(a){const r=parseFloat("1e"+((a[2]?+a[2]:0)+a[1].length));t=(Math.round(e*r)/r).toString()}let r,i,n="";for(r=0,i=t.length;r<i;++r){const e=t[r];n+="e"===e?"-"===t[++r]?"c":"b":"."===e?"a":"-"===e?"e":e}n+=1&n.length?"f":"ff";var s=[30];for(r=0,i=n.length;r<i;r+=2)s.push(parseInt(n.substring(r,r+2),16));return s}encodeInteger(e){return-107<=e&&e<=107?[e+139]:108<=e&&e<=1131?[247+((e-=108)>>8),255&e]:-1131<=e&&e<=-108?[251+((e=-e-108)>>8),255&e]:-32768<=e&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e]}compileHeader(e){return[e.major,e.minor,4,e.offSize]}compileNameIndex(e){var t=new c;for(const r of e){const e=Math.min(r.length,127);let a=new Array(e);for(let t=0;t<e;t++){let e=r[t];(e<"!"||"~"<e||"["===e||"]"===e||"("===e||")"===e||"{"===e||"}"===e||"<"===e||">"===e||"/"===e||"%"===e)&&(e="_"),a[t]=e}""===(a=a.join(""))&&(a="Bad_Font_Name"),t.add((0,g.stringToBytes)(a))}return this.compileIndex(t)}compileTopDicts(e,t,a){var r=[];let i=new c;for(const n of e){a&&(n.removeByName("CIDFontVersion"),n.removeByName("CIDFontRevision"),n.removeByName("CIDFontType"),n.removeByName("CIDCount"),n.removeByName("UIDBase"));const e=new S,s=this.compileDict(n,e);r.push(e),i.add(s),e.offset(t)}return{trackers:r,output:i=this.compileIndex(i,r)}}compilePrivateDicts(a,r,i){for(let t=0,e=a.length;t<e;++t){var n=a[t],s=n.privateDict;if(!s||!n.hasName("Private"))throw new g.FormatError("There must be a private dictionary.");var n=new S,o=this.compileDict(s,n);let e=i.length;if(n.offset(e),o.length||(e=0),r[t].setEntryLocation("Private",[o.length,e],i),i.add(o),s.subrsIndex&&s.hasName("Subrs")){const a=this.compileIndex(s.subrsIndex);n.setEntryLocation("Subrs",[o.length],i),i.add(a)}}}compileDict(i,n){var s=[];for(const h of i.order)if(h in i.values){let a=i.values[h],r=i.types[h];if(Array.isArray(r)||(r=[r]),0!==(a=Array.isArray(a)?a:[a]).length){for(let e=0,t=r.length;e<t;++e){var o=r[e],l=a[e];switch(o){case"num":case"sid":s.push(...this.encodeNumber(l));break;case"offset":var c=i.keyToNameMap[h];n.isTracking(c)||n.track(c,s.length),s.push(29,0,0,0,0);break;case"array":case"delta":s.push(...this.encodeNumber(l));for(let e=1,t=a.length;e<t;++e)s.push(...this.encodeNumber(a[e]));break;default:throw new g.FormatError("Unknown data type of "+o)}}s.push(...i.opcodes[h])}}return s}compileStringIndex(e){var t=new c;for(const a of e)t.add((0,g.stringToBytes)(a));return this.compileIndex(t)}compileCharStrings(t){var a=new c;for(let e=0;e<t.count;e++){var r=t.get(e);0!==r.length?a.add(r):a.add(new Uint8Array([139,14]))}return this.compileIndex(a)}compileCharset(i,e,n,s){let o;e-=1;if(s)o=new Uint8Array([2,0,0,e>>8&255,255&e]);else{let a=(o=new Uint8Array(1+2*e))[0]=0;const s=i.charset.length;let r=!1;for(let t=1;t<o.length;t+=2){let e=0;if(a<s){const s=i.charset[a++];-1===(e=n.getSID(s))&&(e=0,r||(r=!0,(0,g.warn)(`Couldn't find ${s} in CFF strings`)))}o[t]=e>>8&255,o[t+1]=255&e}}return this.compileTypedArray(o)}compileEncoding(e){return this.compileTypedArray(e.raw)}compileFDSelect(t){const a=t.format;let r,i;switch(a){case 0:for((r=new Uint8Array(1+t.fdSelect.length))[0]=a,i=0;i<t.fdSelect.length;i++)r[i+1]=t.fdSelect[i];break;case 3:let e=t.fdSelect[0];var n=[a,0,0,0,0,e];for(i=1;i<t.fdSelect.length;i++){const a=t.fdSelect[i];a!==e&&(n.push(i>>8&255,255&i,a),e=a)}var s=(n.length-3)/3;n[1]=s>>8&255,n[2]=255&s,n.push(i>>8&255,255&i),r=new Uint8Array(n)}return this.compileTypedArray(r)}compileTypedArray(e){return Array.from(e)}compileIndex(e,t=[]){var a=e.objects,r=a.length;if(0===r)return[0,0];var i=[r>>8&255,255&r];let n,s,o=1;for(n=0;n<r;++n)o+=a[n].length;s=o<256?1:o<65536?2:o<16777216?3:4,i.push(s);let l=1;for(n=0;n<r+1;n++)1==s?i.push(255&l):2==s?i.push(l>>8&255,255&l):3==s?i.push(l>>16&255,l>>8&255,255&l):i.push(l>>>24&255,l>>16&255,l>>8&255,255&l),a[n]&&(l+=a[n].length);for(n=0;n<r;n++)t[n]&&t[n].offset(i.length),i.push(...a[n]);return i}}t.CFFCompiler=k},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ISOAdobeCharset=t.ExpertSubsetCharset=t.ExpertCharset=void 0,t.ISOAdobeCharset=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],t.ExpertCharset=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],t.ExpertSubsetCharset=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"]},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZapfDingbatsEncoding=t.WinAnsiEncoding=t.SymbolSetEncoding=t.StandardEncoding=t.MacRomanEncoding=t.ExpertEncoding=void 0,t.getEncoding=function(e){switch(e){case"WinAnsiEncoding":return s;case"StandardEncoding":return n;case"MacRomanEncoding":return i;case"SymbolSetEncoding":return o;case"ZapfDingbatsEncoding":return l;case"ExpertEncoding":return a;case"MacExpertEncoding":return r;default:return null}};const a=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],r=(t.ExpertEncoding=a,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""]),i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"],n=(t.MacRomanEncoding=i,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""]),s=(t.StandardEncoding=n,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"]),o=(t.WinAnsiEncoding=s,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""]),l=(t.SymbolSetEncoding=o,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""]);t.ZapfDingbatsEncoding=l},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SEAC_ANALYSIS_ENABLED=t.MacStandardGlyphOrdering=t.FontFlags=void 0,t.normalizeFontName=function(e){return e.replaceAll(/[,_]/g,"-").replaceAll(/\s/g,"")},t.recoverGlyphName=f,t.type1FontGlyphMapping=function(e,t,a){var r=Object.create(null);let i,n,s;var o=!!(e.flags&d.Symbolic);if(e.isInternalFont)for(s=t,n=0;n<s.length;n++)i=a.indexOf(s[n]),r[n]=0<=i?i:0;else if(e.baseEncodingName)for(s=(0,h.getEncoding)(e.baseEncodingName),n=0;n<s.length;n++)i=a.indexOf(s[n]),r[n]=0<=i?i:0;else if(o)for(n in t)r[n]=t[n];else for(s=h.StandardEncoding,n=0;n<s.length;n++)i=a.indexOf(s[n]),r[n]=0<=i?i:0;var l=e.differences;let c;if(l)for(n in l){const e=l[n];if(-1===(i=a.indexOf(e))){const t=f(e,c=c||(0,u.getGlyphsUnicode)());t!==e&&(i=a.indexOf(t))}r[n]=0<=i?i:0}return r};var h=a(37),u=a(39),r=a(40),i=a(2);t.SEAC_ANALYSIS_ENABLED=!0;const d={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};function f(e,t){if(void 0===t[e]){var a=(0,r.getUnicodeForGlyph)(e,t);if(-1!==a)for(const e in t)if(t[e]===a)return e;(0,i.info)("Unable to recover a standard glyph name for: "+e)}return e}t.FontFlags=d,t.MacStandardGlyphOrdering=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"]},(e,t,a)=>{a.r(t),a.d(t,{getDingbatsGlyphsUnicode:()=>i,getGlyphsUnicode:()=>r});t=a(3);const r=(0,t.getLookupTableFactory)(function(e){e.A=65,e.AE=198,e.AEacute=508,e.AEmacron=482,e.AEsmall=63462,e.Aacute=193,e.Aacutesmall=63457,e.Abreve=258,e.Abreveacute=7854,e.Abrevecyrillic=1232,e.Abrevedotbelow=7862,e.Abrevegrave=7856,e.Abrevehookabove=7858,e.Abrevetilde=7860,e.Acaron=461,e.Acircle=9398,e.Acircumflex=194,e.Acircumflexacute=7844,e.Acircumflexdotbelow=7852,e.Acircumflexgrave=7846,e.Acircumflexhookabove=7848,e.Acircumflexsmall=63458,e.Acircumflextilde=7850,e.Acute=63177,e.Acutesmall=63412,e.Acyrillic=1040,e.Adblgrave=512,e.Adieresis=196,e.Adieresiscyrillic=1234,e.Adieresismacron=478,e.Adieresissmall=63460,e.Adotbelow=7840,e.Adotmacron=480,e.Agrave=192,e.Agravesmall=63456,e.Ahookabove=7842,e.Aiecyrillic=1236,e.Ainvertedbreve=514,e.Alpha=913,e.Alphatonos=902,e.Amacron=256,e.Amonospace=65313,e.Aogonek=260,e.Aring=197,e.Aringacute=506,e.Aringbelow=7680,e.Aringsmall=63461,e.Asmall=63329,e.Atilde=195,e.Atildesmall=63459,e.Aybarmenian=1329,e.B=66,e.Bcircle=9399,e.Bdotaccent=7682,e.Bdotbelow=7684,e.Becyrillic=1041,e.Benarmenian=1330,e.Beta=914,e.Bhook=385,e.Blinebelow=7686,e.Bmonospace=65314,e.Brevesmall=63220,e.Bsmall=63330,e.Btopbar=386,e.C=67,e.Caarmenian=1342,e.Cacute=262,e.Caron=63178,e.Caronsmall=63221,e.Ccaron=268,e.Ccedilla=199,e.Ccedillaacute=7688,e.Ccedillasmall=63463,e.Ccircle=9400,e.Ccircumflex=264,e.Cdot=266,e.Cdotaccent=266,e.Cedillasmall=63416,e.Chaarmenian=1353,e.Cheabkhasiancyrillic=1212,e.Checyrillic=1063,e.Chedescenderabkhasiancyrillic=1214,e.Chedescendercyrillic=1206,e.Chedieresiscyrillic=1268,e.Cheharmenian=1347,e.Chekhakassiancyrillic=1227,e.Cheverticalstrokecyrillic=1208,e.Chi=935,e.Chook=391,e.Circumflexsmall=63222,e.Cmonospace=65315,e.Coarmenian=1361,e.Csmall=63331,e.D=68,e.DZ=497,e.DZcaron=452,e.Daarmenian=1332,e.Dafrican=393,e.Dcaron=270,e.Dcedilla=7696,e.Dcircle=9401,e.Dcircumflexbelow=7698,e.Dcroat=272,e.Ddotaccent=7690,e.Ddotbelow=7692,e.Decyrillic=1044,e.Deicoptic=1006,e.Delta=8710,e.Deltagreek=916,e.Dhook=394,e.Dieresis=63179,e.DieresisAcute=63180,e.DieresisGrave=63181,e.Dieresissmall=63400,e.Digammagreek=988,e.Djecyrillic=1026,e.Dlinebelow=7694,e.Dmonospace=65316,e.Dotaccentsmall=63223,e.Dslash=272,e.Dsmall=63332,e.Dtopbar=395,e.Dz=498,e.Dzcaron=453,e.Dzeabkhasiancyrillic=1248,e.Dzecyrillic=1029,e.Dzhecyrillic=1039,e.E=69,e.Eacute=201,e.Eacutesmall=63465,e.Ebreve=276,e.Ecaron=282,e.Ecedillabreve=7708,e.Echarmenian=1333,e.Ecircle=9402,e.Ecircumflex=202,e.Ecircumflexacute=7870,e.Ecircumflexbelow=7704,e.Ecircumflexdotbelow=7878,e.Ecircumflexgrave=7872,e.Ecircumflexhookabove=7874,e.Ecircumflexsmall=63466,e.Ecircumflextilde=7876,e.Ecyrillic=1028,e.Edblgrave=516,e.Edieresis=203,e.Edieresissmall=63467,e.Edot=278,e.Edotaccent=278,e.Edotbelow=7864,e.Efcyrillic=1060,e.Egrave=200,e.Egravesmall=63464,e.Eharmenian=1335,e.Ehookabove=7866,e.Eightroman=8551,e.Einvertedbreve=518,e.Eiotifiedcyrillic=1124,e.Elcyrillic=1051,e.Elevenroman=8554,e.Emacron=274,e.Emacronacute=7702,e.Emacrongrave=7700,e.Emcyrillic=1052,e.Emonospace=65317,e.Encyrillic=1053,e.Endescendercyrillic=1186,e.Eng=330,e.Enghecyrillic=1188,e.Enhookcyrillic=1223,e.Eogonek=280,e.Eopen=400,e.Epsilon=917,e.Epsilontonos=904,e.Ercyrillic=1056,e.Ereversed=398,e.Ereversedcyrillic=1069,e.Escyrillic=1057,e.Esdescendercyrillic=1194,e.Esh=425,e.Esmall=63333,e.Eta=919,e.Etarmenian=1336,e.Etatonos=905,e.Eth=208,e.Ethsmall=63472,e.Etilde=7868,e.Etildebelow=7706,e.Euro=8364,e.Ezh=439,e.Ezhcaron=494,e.Ezhreversed=440,e.F=70,e.Fcircle=9403,e.Fdotaccent=7710,e.Feharmenian=1366,e.Feicoptic=996,e.Fhook=401,e.Fitacyrillic=1138,e.Fiveroman=8548,e.Fmonospace=65318,e.Fourroman=8547,e.Fsmall=63334,e.G=71,e.GBsquare=13191,e.Gacute=500,e.Gamma=915,e.Gammaafrican=404,e.Gangiacoptic=1002,e.Gbreve=286,e.Gcaron=486,e.Gcedilla=290,e.Gcircle=9404,e.Gcircumflex=284,e.Gcommaaccent=290,e.Gdot=288,e.Gdotaccent=288,e.Gecyrillic=1043,e.Ghadarmenian=1346,e.Ghemiddlehookcyrillic=1172,e.Ghestrokecyrillic=1170,e.Gheupturncyrillic=1168,e.Ghook=403,e.Gimarmenian=1331,e.Gjecyrillic=1027,e.Gmacron=7712,e.Gmonospace=65319,e.Grave=63182,e.Gravesmall=63328,e.Gsmall=63335,e.Gsmallhook=667,e.Gstroke=484,e.H=72,e.H18533=9679,e.H18543=9642,e.H18551=9643,e.H22073=9633,e.HPsquare=13259,e.Haabkhasiancyrillic=1192,e.Hadescendercyrillic=1202,e.Hardsigncyrillic=1066,e.Hbar=294,e.Hbrevebelow=7722,e.Hcedilla=7720,e.Hcircle=9405,e.Hcircumflex=292,e.Hdieresis=7718,e.Hdotaccent=7714,e.Hdotbelow=7716,e.Hmonospace=65320,e.Hoarmenian=1344,e.Horicoptic=1e3,e.Hsmall=63336,e.Hungarumlaut=63183,e.Hungarumlautsmall=63224,e.Hzsquare=13200,e.I=73,e.IAcyrillic=1071,e.IJ=306,e.IUcyrillic=1070,e.Iacute=205,e.Iacutesmall=63469,e.Ibreve=300,e.Icaron=463,e.Icircle=9406,e.Icircumflex=206,e.Icircumflexsmall=63470,e.Icyrillic=1030,e.Idblgrave=520,e.Idieresis=207,e.Idieresisacute=7726,e.Idieresiscyrillic=1252,e.Idieresissmall=63471,e.Idot=304,e.Idotaccent=304,e.Idotbelow=7882,e.Iebrevecyrillic=1238,e.Iecyrillic=1045,e.Ifraktur=8465,e.Igrave=204,e.Igravesmall=63468,e.Ihookabove=7880,e.Iicyrillic=1048,e.Iinvertedbreve=522,e.Iishortcyrillic=1049,e.Imacron=298,e.Imacroncyrillic=1250,e.Imonospace=65321,e.Iniarmenian=1339,e.Iocyrillic=1025,e.Iogonek=302,e.Iota=921,e.Iotaafrican=406,e.Iotadieresis=938,e.Iotatonos=906,e.Ismall=63337,e.Istroke=407,e.Itilde=296,e.Itildebelow=7724,e.Izhitsacyrillic=1140,e.Izhitsadblgravecyrillic=1142,e.J=74,e.Jaarmenian=1345,e.Jcircle=9407,e.Jcircumflex=308,e.Jecyrillic=1032,e.Jheharmenian=1355,e.Jmonospace=65322,e.Jsmall=63338,e.K=75,e.KBsquare=13189,e.KKsquare=13261,e.Kabashkircyrillic=1184,e.Kacute=7728,e.Kacyrillic=1050,e.Kadescendercyrillic=1178,e.Kahookcyrillic=1219,e.Kappa=922,e.Kastrokecyrillic=1182,e.Kaverticalstrokecyrillic=1180,e.Kcaron=488,e.Kcedilla=310,e.Kcircle=9408,e.Kcommaaccent=310,e.Kdotbelow=7730,e.Keharmenian=1364,e.Kenarmenian=1343,e.Khacyrillic=1061,e.Kheicoptic=998,e.Khook=408,e.Kjecyrillic=1036,e.Klinebelow=7732,e.Kmonospace=65323,e.Koppacyrillic=1152,e.Koppagreek=990,e.Ksicyrillic=1134,e.Ksmall=63339,e.L=76,e.LJ=455,e.LL=63167,e.Lacute=313,e.Lambda=923,e.Lcaron=317,e.Lcedilla=315,e.Lcircle=9409,e.Lcircumflexbelow=7740,e.Lcommaaccent=315,e.Ldot=319,e.Ldotaccent=319,e.Ldotbelow=7734,e.Ldotbelowmacron=7736,e.Liwnarmenian=1340,e.Lj=456,e.Ljecyrillic=1033,e.Llinebelow=7738,e.Lmonospace=65324,e.Lslash=321,e.Lslashsmall=63225,e.Lsmall=63340,e.M=77,e.MBsquare=13190,e.Macron=63184,e.Macronsmall=63407,e.Macute=7742,e.Mcircle=9410,e.Mdotaccent=7744,e.Mdotbelow=7746,e.Menarmenian=1348,e.Mmonospace=65325,e.Msmall=63341,e.Mturned=412,e.Mu=924,e.N=78,e.NJ=458,e.Nacute=323,e.Ncaron=327,e.Ncedilla=325,e.Ncircle=9411,e.Ncircumflexbelow=7754,e.Ncommaaccent=325,e.Ndotaccent=7748,e.Ndotbelow=7750,e.Nhookleft=413,e.Nineroman=8552,e.Nj=459,e.Njecyrillic=1034,e.Nlinebelow=7752,e.Nmonospace=65326,e.Nowarmenian=1350,e.Nsmall=63342,e.Ntilde=209,e.Ntildesmall=63473,e.Nu=925,e.O=79,e.OE=338,e.OEsmall=63226,e.Oacute=211,e.Oacutesmall=63475,e.Obarredcyrillic=1256,e.Obarreddieresiscyrillic=1258,e.Obreve=334,e.Ocaron=465,e.Ocenteredtilde=415,e.Ocircle=9412,e.Ocircumflex=212,e.Ocircumflexacute=7888,e.Ocircumflexdotbelow=7896,e.Ocircumflexgrave=7890,e.Ocircumflexhookabove=7892,e.Ocircumflexsmall=63476,e.Ocircumflextilde=7894,e.Ocyrillic=1054,e.Odblacute=336,e.Odblgrave=524,e.Odieresis=214,e.Odieresiscyrillic=1254,e.Odieresissmall=63478,e.Odotbelow=7884,e.Ogoneksmall=63227,e.Ograve=210,e.Ogravesmall=63474,e.Oharmenian=1365,e.Ohm=8486,e.Ohookabove=7886,e.Ohorn=416,e.Ohornacute=7898,e.Ohorndotbelow=7906,e.Ohorngrave=7900,e.Ohornhookabove=7902,e.Ohorntilde=7904,e.Ohungarumlaut=336,e.Oi=418,e.Oinvertedbreve=526,e.Omacron=332,e.Omacronacute=7762,e.Omacrongrave=7760,e.Omega=8486,e.Omegacyrillic=1120,e.Omegagreek=937,e.Omegaroundcyrillic=1146,e.Omegatitlocyrillic=1148,e.Omegatonos=911,e.Omicron=927,e.Omicrontonos=908,e.Omonospace=65327,e.Oneroman=8544,e.Oogonek=490,e.Oogonekmacron=492,e.Oopen=390,e.Oslash=216,e.Oslashacute=510,e.Oslashsmall=63480,e.Osmall=63343,e.Ostrokeacute=510,e.Otcyrillic=1150,e.Otilde=213,e.Otildeacute=7756,e.Otildedieresis=7758,e.Otildesmall=63477,e.P=80,e.Pacute=7764,e.Pcircle=9413,e.Pdotaccent=7766,e.Pecyrillic=1055,e.Peharmenian=1354,e.Pemiddlehookcyrillic=1190,e.Phi=934,e.Phook=420,e.Pi=928,e.Piwrarmenian=1363,e.Pmonospace=65328,e.Psi=936,e.Psicyrillic=1136,e.Psmall=63344,e.Q=81,e.Qcircle=9414,e.Qmonospace=65329,e.Qsmall=63345,e.R=82,e.Raarmenian=1356,e.Racute=340,e.Rcaron=344,e.Rcedilla=342,e.Rcircle=9415,e.Rcommaaccent=342,e.Rdblgrave=528,e.Rdotaccent=7768,e.Rdotbelow=7770,e.Rdotbelowmacron=7772,e.Reharmenian=1360,e.Rfraktur=8476,e.Rho=929,e.Ringsmall=63228,e.Rinvertedbreve=530,e.Rlinebelow=7774,e.Rmonospace=65330,e.Rsmall=63346,e.Rsmallinverted=641,e.Rsmallinvertedsuperior=694,e.S=83,e.SF010000=9484,e.SF020000=9492,e.SF030000=9488,e.SF040000=9496,e.SF050000=9532,e.SF060000=9516,e.SF070000=9524,e.SF080000=9500,e.SF090000=9508,e.SF100000=9472,e.SF110000=9474,e.SF190000=9569,e.SF200000=9570,e.SF210000=9558,e.SF220000=9557,e.SF230000=9571,e.SF240000=9553,e.SF250000=9559,e.SF260000=9565,e.SF270000=9564,e.SF280000=9563,e.SF360000=9566,e.SF370000=9567,e.SF380000=9562,e.SF390000=9556,e.SF400000=9577,e.SF410000=9574,e.SF420000=9568,e.SF430000=9552,e.SF440000=9580,e.SF450000=9575,e.SF460000=9576,e.SF470000=9572,e.SF480000=9573,e.SF490000=9561,e.SF500000=9560,e.SF510000=9554,e.SF520000=9555,e.SF530000=9579,e.SF540000=9578,e.Sacute=346,e.Sacutedotaccent=7780,e.Sampigreek=992,e.Scaron=352,e.Scarondotaccent=7782,e.Scaronsmall=63229,e.Scedilla=350,e.Schwa=399,e.Schwacyrillic=1240,e.Schwadieresiscyrillic=1242,e.Scircle=9416,e.Scircumflex=348,e.Scommaaccent=536,e.Sdotaccent=7776,e.Sdotbelow=7778,e.Sdotbelowdotaccent=7784,e.Seharmenian=1357,e.Sevenroman=8550,e.Shaarmenian=1351,e.Shacyrillic=1064,e.Shchacyrillic=1065,e.Sheicoptic=994,e.Shhacyrillic=1210,e.Shimacoptic=1004,e.Sigma=931,e.Sixroman=8549,e.Smonospace=65331,e.Softsigncyrillic=1068,e.Ssmall=63347,e.Stigmagreek=986,e.T=84,e.Tau=932,e.Tbar=358,e.Tcaron=356,e.Tcedilla=354,e.Tcircle=9417,e.Tcircumflexbelow=7792,e.Tcommaaccent=354,e.Tdotaccent=7786,e.Tdotbelow=7788,e.Tecyrillic=1058,e.Tedescendercyrillic=1196,e.Tenroman=8553,e.Tetsecyrillic=1204,e.Theta=920,e.Thook=428,e.Thorn=222,e.Thornsmall=63486,e.Threeroman=8546,e.Tildesmall=63230,e.Tiwnarmenian=1359,e.Tlinebelow=7790,e.Tmonospace=65332,e.Toarmenian=1337,e.Tonefive=444,e.Tonesix=388,e.Tonetwo=423,e.Tretroflexhook=430,e.Tsecyrillic=1062,e.Tshecyrillic=1035,e.Tsmall=63348,e.Twelveroman=8555,e.Tworoman=8545,e.U=85,e.Uacute=218,e.Uacutesmall=63482,e.Ubreve=364,e.Ucaron=467,e.Ucircle=9418,e.Ucircumflex=219,e.Ucircumflexbelow=7798,e.Ucircumflexsmall=63483,e.Ucyrillic=1059,e.Udblacute=368,e.Udblgrave=532,e.Udieresis=220,e.Udieresisacute=471,e.Udieresisbelow=7794,e.Udieresiscaron=473,e.Udieresiscyrillic=1264,e.Udieresisgrave=475,e.Udieresismacron=469,e.Udieresissmall=63484,e.Udotbelow=7908,e.Ugrave=217,e.Ugravesmall=63481,e.Uhookabove=7910,e.Uhorn=431,e.Uhornacute=7912,e.Uhorndotbelow=7920,e.Uhorngrave=7914,e.Uhornhookabove=7916,e.Uhorntilde=7918,e.Uhungarumlaut=368,e.Uhungarumlautcyrillic=1266,e.Uinvertedbreve=534,e.Ukcyrillic=1144,e.Umacron=362,e.Umacroncyrillic=1262,e.Umacrondieresis=7802,e.Umonospace=65333,e.Uogonek=370,e.Upsilon=933,e.Upsilon1=978,e.Upsilonacutehooksymbolgreek=979,e.Upsilonafrican=433,e.Upsilondieresis=939,e.Upsilondieresishooksymbolgreek=980,e.Upsilonhooksymbol=978,e.Upsilontonos=910,e.Uring=366,e.Ushortcyrillic=1038,e.Usmall=63349,e.Ustraightcyrillic=1198,e.Ustraightstrokecyrillic=1200,e.Utilde=360,e.Utildeacute=7800,e.Utildebelow=7796,e.V=86,e.Vcircle=9419,e.Vdotbelow=7806,e.Vecyrillic=1042,e.Vewarmenian=1358,e.Vhook=434,e.Vmonospace=65334,e.Voarmenian=1352,e.Vsmall=63350,e.Vtilde=7804,e.W=87,e.Wacute=7810,e.Wcircle=9420,e.Wcircumflex=372,e.Wdieresis=7812,e.Wdotaccent=7814,e.Wdotbelow=7816,e.Wgrave=7808,e.Wmonospace=65335,e.Wsmall=63351,e.X=88,e.Xcircle=9421,e.Xdieresis=7820,e.Xdotaccent=7818,e.Xeharmenian=1341,e.Xi=926,e.Xmonospace=65336,e.Xsmall=63352,e.Y=89,e.Yacute=221,e.Yacutesmall=63485,e.Yatcyrillic=1122,e.Ycircle=9422,e.Ycircumflex=374,e.Ydieresis=376,e.Ydieresissmall=63487,e.Ydotaccent=7822,e.Ydotbelow=7924,e.Yericyrillic=1067,e.Yerudieresiscyrillic=1272,e.Ygrave=7922,e.Yhook=435,e.Yhookabove=7926,e.Yiarmenian=1349,e.Yicyrillic=1031,e.Yiwnarmenian=1362,e.Ymonospace=65337,e.Ysmall=63353,e.Ytilde=7928,e.Yusbigcyrillic=1130,e.Yusbigiotifiedcyrillic=1132,e.Yuslittlecyrillic=1126,e.Yuslittleiotifiedcyrillic=1128,e.Z=90,e.Zaarmenian=1334,e.Zacute=377,e.Zcaron=381,e.Zcaronsmall=63231,e.Zcircle=9423,e.Zcircumflex=7824,e.Zdot=379,e.Zdotaccent=379,e.Zdotbelow=7826,e.Zecyrillic=1047,e.Zedescendercyrillic=1176,e.Zedieresiscyrillic=1246,e.Zeta=918,e.Zhearmenian=1338,e.Zhebrevecyrillic=1217,e.Zhecyrillic=1046,e.Zhedescendercyrillic=1174,e.Zhedieresiscyrillic=1244,e.Zlinebelow=7828,e.Zmonospace=65338,e.Zsmall=63354,e.Zstroke=437,e.a=97,e.aabengali=2438,e.aacute=225,e.aadeva=2310,e.aagujarati=2694,e.aagurmukhi=2566,e.aamatragurmukhi=2622,e.aarusquare=13059,e.aavowelsignbengali=2494,e.aavowelsigndeva=2366,e.aavowelsigngujarati=2750,e.abbreviationmarkarmenian=1375,e.abbreviationsigndeva=2416,e.abengali=2437,e.abopomofo=12570,e.abreve=259,e.abreveacute=7855,e.abrevecyrillic=1233,e.abrevedotbelow=7863,e.abrevegrave=7857,e.abrevehookabove=7859,e.abrevetilde=7861,e.acaron=462,e.acircle=9424,e.acircumflex=226,e.acircumflexacute=7845,e.acircumflexdotbelow=7853,e.acircumflexgrave=7847,e.acircumflexhookabove=7849,e.acircumflextilde=7851,e.acute=180,e.acutebelowcmb=791,e.acutecmb=769,e.acutecomb=769,e.acutedeva=2388,e.acutelowmod=719,e.acutetonecmb=833,e.acyrillic=1072,e.adblgrave=513,e.addakgurmukhi=2673,e.adeva=2309,e.adieresis=228,e.adieresiscyrillic=1235,e.adieresismacron=479,e.adotbelow=7841,e.adotmacron=481,e.ae=230,e.aeacute=509,e.aekorean=12624,e.aemacron=483,e.afii00208=8213,e.afii08941=8356,e.afii10017=1040,e.afii10018=1041,e.afii10019=1042,e.afii10020=1043,e.afii10021=1044,e.afii10022=1045,e.afii10023=1025,e.afii10024=1046,e.afii10025=1047,e.afii10026=1048,e.afii10027=1049,e.afii10028=1050,e.afii10029=1051,e.afii10030=1052;e.afii10031=1053,e.afii10032=1054,e.afii10033=1055,e.afii10034=1056,e.afii10035=1057,e.afii10036=1058,e.afii10037=1059,e.afii10038=1060,e.afii10039=1061,e.afii10040=1062,e.afii10041=1063,e.afii10042=1064,e.afii10043=1065,e.afii10044=1066,e.afii10045=1067,e.afii10046=1068,e.afii10047=1069,e.afii10048=1070,e.afii10049=1071,e.afii10050=1168,e.afii10051=1026,e.afii10052=1027,e.afii10053=1028,e.afii10054=1029,e.afii10055=1030,e.afii10056=1031,e.afii10057=1032,e.afii10058=1033,e.afii10059=1034,e.afii10060=1035,e.afii10061=1036,e.afii10062=1038,e.afii10063=63172,e.afii10064=63173,e.afii10065=1072,e.afii10066=1073,e.afii10067=1074,e.afii10068=1075,e.afii10069=1076,e.afii10070=1077,e.afii10071=1105,e.afii10072=1078,e.afii10073=1079,e.afii10074=1080,e.afii10075=1081,e.afii10076=1082,e.afii10077=1083,e.afii10078=1084,e.afii10079=1085,e.afii10080=1086,e.afii10081=1087,e.afii10082=1088,e.afii10083=1089,e.afii10084=1090,e.afii10085=1091,e.afii10086=1092,e.afii10087=1093,e.afii10088=1094,e.afii10089=1095,e.afii10090=1096,e.afii10091=1097,e.afii10092=1098,e.afii10093=1099,e.afii10094=1100,e.afii10095=1101,e.afii10096=1102,e.afii10097=1103,e.afii10098=1169,e.afii10099=1106,e.afii10100=1107,e.afii10101=1108,e.afii10102=1109,e.afii10103=1110,e.afii10104=1111,e.afii10105=1112,e.afii10106=1113,e.afii10107=1114,e.afii10108=1115,e.afii10109=1116,e.afii10110=1118,e.afii10145=1039,e.afii10146=1122,e.afii10147=1138,e.afii10148=1140,e.afii10192=63174,e.afii10193=1119,e.afii10194=1123,e.afii10195=1139,e.afii10196=1141,e.afii10831=63175,e.afii10832=63176,e.afii10846=1241,e.afii299=8206,e.afii300=8207,e.afii301=8205,e.afii57381=1642,e.afii57388=1548,e.afii57392=1632,e.afii57393=1633,e.afii57394=1634,e.afii57395=1635,e.afii57396=1636,e.afii57397=1637,e.afii57398=1638,e.afii57399=1639,e.afii57400=1640,e.afii57401=1641,e.afii57403=1563,e.afii57407=1567,e.afii57409=1569,e.afii57410=1570,e.afii57411=1571,e.afii57412=1572,e.afii57413=1573,e.afii57414=1574,e.afii57415=1575,e.afii57416=1576,e.afii57417=1577,e.afii57418=1578,e.afii57419=1579,e.afii57420=1580,e.afii57421=1581,e.afii57422=1582,e.afii57423=1583,e.afii57424=1584,e.afii57425=1585,e.afii57426=1586,e.afii57427=1587,e.afii57428=1588,e.afii57429=1589,e.afii57430=1590,e.afii57431=1591,e.afii57432=1592,e.afii57433=1593,e.afii57434=1594,e.afii57440=1600,e.afii57441=1601,e.afii57442=1602,e.afii57443=1603,e.afii57444=1604,e.afii57445=1605,e.afii57446=1606,e.afii57448=1608,e.afii57449=1609,e.afii57450=1610,e.afii57451=1611,e.afii57452=1612,e.afii57453=1613,e.afii57454=1614,e.afii57455=1615,e.afii57456=1616,e.afii57457=1617,e.afii57458=1618,e.afii57470=1607,e.afii57505=1700,e.afii57506=1662,e.afii57507=1670,e.afii57508=1688,e.afii57509=1711,e.afii57511=1657,e.afii57512=1672,e.afii57513=1681,e.afii57514=1722,e.afii57519=1746,e.afii57534=1749,e.afii57636=8362,e.afii57645=1470,e.afii57658=1475,e.afii57664=1488,e.afii57665=1489,e.afii57666=1490,e.afii57667=1491,e.afii57668=1492,e.afii57669=1493,e.afii57670=1494,e.afii57671=1495,e.afii57672=1496,e.afii57673=1497,e.afii57674=1498,e.afii57675=1499,e.afii57676=1500,e.afii57677=1501,e.afii57678=1502,e.afii57679=1503,e.afii57680=1504,e.afii57681=1505,e.afii57682=1506,e.afii57683=1507,e.afii57684=1508,e.afii57685=1509,e.afii57686=1510,e.afii57687=1511,e.afii57688=1512,e.afii57689=1513,e.afii57690=1514,e.afii57694=64298,e.afii57695=64299,e.afii57700=64331,e.afii57705=64287,e.afii57716=1520,e.afii57717=1521,e.afii57718=1522,e.afii57723=64309,e.afii57793=1460,e.afii57794=1461,e.afii57795=1462,e.afii57796=1467,e.afii57797=1464,e.afii57798=1463,e.afii57799=1456,e.afii57800=1458,e.afii57801=1457,e.afii57802=1459,e.afii57803=1474,e.afii57804=1473,e.afii57806=1465,e.afii57807=1468,e.afii57839=1469,e.afii57841=1471,e.afii57842=1472,e.afii57929=700,e.afii61248=8453,e.afii61289=8467,e.afii61352=8470,e.afii61573=8236,e.afii61574=8237,e.afii61575=8238,e.afii61664=8204,e.afii63167=1645,e.afii64937=701,e.agrave=224,e.agujarati=2693,e.agurmukhi=2565,e.ahiragana=12354,e.ahookabove=7843,e.aibengali=2448,e.aibopomofo=12574,e.aideva=2320,e.aiecyrillic=1237,e.aigujarati=2704,e.aigurmukhi=2576,e.aimatragurmukhi=2632,e.ainarabic=1593,e.ainfinalarabic=65226,e.aininitialarabic=65227,e.ainmedialarabic=65228,e.ainvertedbreve=515,e.aivowelsignbengali=2504,e.aivowelsigndeva=2376,e.aivowelsigngujarati=2760,e.akatakana=12450,e.akatakanahalfwidth=65393,e.akorean=12623,e.alef=1488,e.alefarabic=1575,e.alefdageshhebrew=64304,e.aleffinalarabic=65166,e.alefhamzaabovearabic=1571,e.alefhamzaabovefinalarabic=65156,e.alefhamzabelowarabic=1573,e.alefhamzabelowfinalarabic=65160,e.alefhebrew=1488,e.aleflamedhebrew=64335,e.alefmaddaabovearabic=1570,e.alefmaddaabovefinalarabic=65154,e.alefmaksuraarabic=1609,e.alefmaksurafinalarabic=65264,e.alefmaksurainitialarabic=65267,e.alefmaksuramedialarabic=65268,e.alefpatahhebrew=64302,e.alefqamatshebrew=64303,e.aleph=8501,e.allequal=8780,e.alpha=945,e.alphatonos=940,e.amacron=257,e.amonospace=65345,e.ampersand=38,e.ampersandmonospace=65286,e.ampersandsmall=63270,e.amsquare=13250,e.anbopomofo=12578,e.angbopomofo=12580,e.angbracketleft=12296,e.angbracketright=12297,e.angkhankhuthai=3674,e.angle=8736,e.anglebracketleft=12296,e.anglebracketleftvertical=65087,e.anglebracketright=12297,e.anglebracketrightvertical=65088,e.angleleft=9001,e.angleright=9002,e.angstrom=8491,e.anoteleia=903,e.anudattadeva=2386,e.anusvarabengali=2434,e.anusvaradeva=2306,e.anusvaragujarati=2690,e.aogonek=261,e.apaatosquare=13056,e.aparen=9372,e.apostrophearmenian=1370,e.apostrophemod=700,e.apple=63743,e.approaches=8784,e.approxequal=8776,e.approxequalorimage=8786,e.approximatelyequal=8773,e.araeaekorean=12686,e.araeakorean=12685,e.arc=8978,e.arighthalfring=7834,e.aring=229,e.aringacute=507,e.aringbelow=7681,e.arrowboth=8596,e.arrowdashdown=8675,e.arrowdashleft=8672,e.arrowdashright=8674,e.arrowdashup=8673,e.arrowdblboth=8660,e.arrowdbldown=8659,e.arrowdblleft=8656,e.arrowdblright=8658,e.arrowdblup=8657,e.arrowdown=8595,e.arrowdownleft=8601,e.arrowdownright=8600,e.arrowdownwhite=8681,e.arrowheaddownmod=709,e.arrowheadleftmod=706,e.arrowheadrightmod=707,e.arrowheadupmod=708,e.arrowhorizex=63719,e.arrowleft=8592,e.arrowleftdbl=8656,e.arrowleftdblstroke=8653,e.arrowleftoverright=8646,e.arrowleftwhite=8678,e.arrowright=8594,e.arrowrightdblstroke=8655,e.arrowrightheavy=10142,e.arrowrightoverleft=8644,e.arrowrightwhite=8680,e.arrowtableft=8676,e.arrowtabright=8677,e.arrowup=8593,e.arrowupdn=8597,e.arrowupdnbse=8616,e.arrowupdownbase=8616,e.arrowupleft=8598,e.arrowupleftofdown=8645,e.arrowupright=8599,e.arrowupwhite=8679,e.arrowvertex=63718,e.asciicircum=94,e.asciicircummonospace=65342,e.asciitilde=126,e.asciitildemonospace=65374,e.ascript=593,e.ascriptturned=594,e.asmallhiragana=12353,e.asmallkatakana=12449,e.asmallkatakanahalfwidth=65383,e.asterisk=42,e.asteriskaltonearabic=1645,e.asteriskarabic=1645,e.asteriskmath=8727,e.asteriskmonospace=65290,e.asterisksmall=65121,e.asterism=8258,e.asuperior=63209,e.asymptoticallyequal=8771,e.at=64,e.atilde=227,e.atmonospace=65312,e.atsmall=65131,e.aturned=592,e.aubengali=2452,e.aubopomofo=12576,e.audeva=2324,e.augujarati=2708,e.augurmukhi=2580,e.aulengthmarkbengali=2519,e.aumatragurmukhi=2636,e.auvowelsignbengali=2508,e.auvowelsigndeva=2380,e.auvowelsigngujarati=2764,e.avagrahadeva=2365,e.aybarmenian=1377,e.ayin=1506,e.ayinaltonehebrew=64288,e.ayinhebrew=1506,e.b=98,e.babengali=2476,e.backslash=92,e.backslashmonospace=65340,e.badeva=2348,e.bagujarati=2732,e.bagurmukhi=2604,e.bahiragana=12400,e.bahtthai=3647,e.bakatakana=12496,e.bar=124,e.barmonospace=65372,e.bbopomofo=12549,e.bcircle=9425,e.bdotaccent=7683,e.bdotbelow=7685,e.beamedsixteenthnotes=9836,e.because=8757,e.becyrillic=1073,e.beharabic=1576,e.behfinalarabic=65168,e.behinitialarabic=65169,e.behiragana=12409,e.behmedialarabic=65170,e.behmeeminitialarabic=64671,e.behmeemisolatedarabic=64520,e.behnoonfinalarabic=64621,e.bekatakana=12505,e.benarmenian=1378,e.bet=1489,e.beta=946,e.betasymbolgreek=976,e.betdagesh=64305,e.betdageshhebrew=64305,e.bethebrew=1489,e.betrafehebrew=64332,e.bhabengali=2477,e.bhadeva=2349,e.bhagujarati=2733,e.bhagurmukhi=2605,e.bhook=595,e.bihiragana=12403,e.bikatakana=12499,e.bilabialclick=664,e.bindigurmukhi=2562,e.birusquare=13105,e.blackcircle=9679,e.blackdiamond=9670,e.blackdownpointingtriangle=9660,e.blackleftpointingpointer=9668,e.blackleftpointingtriangle=9664,e.blacklenticularbracketleft=12304,e.blacklenticularbracketleftvertical=65083,e.blacklenticularbracketright=12305,e.blacklenticularbracketrightvertical=65084,e.blacklowerlefttriangle=9699,e.blacklowerrighttriangle=9698,e.blackrectangle=9644,e.blackrightpointingpointer=9658,e.blackrightpointingtriangle=9654,e.blacksmallsquare=9642,e.blacksmilingface=9787,e.blacksquare=9632,e.blackstar=9733,e.blackupperlefttriangle=9700,e.blackupperrighttriangle=9701,e.blackuppointingsmalltriangle=9652,e.blackuppointingtriangle=9650,e.blank=9251,e.blinebelow=7687,e.block=9608,e.bmonospace=65346,e.bobaimaithai=3610,e.bohiragana=12412,e.bokatakana=12508,e.bparen=9373,e.bqsquare=13251,e.braceex=63732,e.braceleft=123,e.braceleftbt=63731,e.braceleftmid=63730,e.braceleftmonospace=65371,e.braceleftsmall=65115,e.bracelefttp=63729,e.braceleftvertical=65079,e.braceright=125,e.bracerightbt=63742,e.bracerightmid=63741,e.bracerightmonospace=65373,e.bracerightsmall=65116,e.bracerighttp=63740,e.bracerightvertical=65080,e.bracketleft=91,e.bracketleftbt=63728,e.bracketleftex=63727,e.bracketleftmonospace=65339,e.bracketlefttp=63726,e.bracketright=93,e.bracketrightbt=63739,e.bracketrightex=63738,e.bracketrightmonospace=65341,e.bracketrighttp=63737,e.breve=728,e.brevebelowcmb=814,e.brevecmb=774,e.breveinvertedbelowcmb=815,e.breveinvertedcmb=785,e.breveinverteddoublecmb=865,e.bridgebelowcmb=810,e.bridgeinvertedbelowcmb=826,e.brokenbar=166,e.bstroke=384,e.bsuperior=63210,e.btopbar=387,e.buhiragana=12406,e.bukatakana=12502,e.bullet=8226,e.bulletinverse=9688,e.bulletoperator=8729,e.bullseye=9678,e.c=99,e.caarmenian=1390,e.cabengali=2458,e.cacute=263,e.cadeva=2330,e.cagujarati=2714,e.cagurmukhi=2586,e.calsquare=13192,e.candrabindubengali=2433,e.candrabinducmb=784,e.candrabindudeva=2305,e.candrabindugujarati=2689,e.capslock=8682,e.careof=8453,e.caron=711,e.caronbelowcmb=812,e.caroncmb=780,e.carriagereturn=8629,e.cbopomofo=12568,e.ccaron=269,e.ccedilla=231,e.ccedillaacute=7689,e.ccircle=9426,e.ccircumflex=265,e.ccurl=597,e.cdot=267,e.cdotaccent=267,e.cdsquare=13253,e.cedilla=184,e.cedillacmb=807,e.cent=162,e.centigrade=8451,e.centinferior=63199,e.centmonospace=65504,e.centoldstyle=63394,e.centsuperior=63200,e.chaarmenian=1401,e.chabengali=2459,e.chadeva=2331,e.chagujarati=2715,e.chagurmukhi=2587,e.chbopomofo=12564,e.cheabkhasiancyrillic=1213,e.checkmark=10003,e.checyrillic=1095,e.chedescenderabkhasiancyrillic=1215,e.chedescendercyrillic=1207,e.chedieresiscyrillic=1269,e.cheharmenian=1395,e.chekhakassiancyrillic=1228,e.cheverticalstrokecyrillic=1209,e.chi=967,e.chieuchacirclekorean=12919,e.chieuchaparenkorean=12823,e.chieuchcirclekorean=12905,e.chieuchkorean=12618,e.chieuchparenkorean=12809,e.chochangthai=3594,e.chochanthai=3592,e.chochingthai=3593,e.chochoethai=3596,e.chook=392,e.cieucacirclekorean=12918,e.cieucaparenkorean=12822,e.cieuccirclekorean=12904,e.cieuckorean=12616,e.cieucparenkorean=12808,e.cieucuparenkorean=12828,e.circle=9675,e.circlecopyrt=169,e.circlemultiply=8855,e.circleot=8857,e.circleplus=8853,e.circlepostalmark=12342,e.circlewithlefthalfblack=9680,e.circlewithrighthalfblack=9681,e.circumflex=710,e.circumflexbelowcmb=813,e.circumflexcmb=770,e.clear=8999,e.clickalveolar=450,e.clickdental=448,e.clicklateral=449,e.clickretroflex=451,e.club=9827,e.clubsuitblack=9827,e.clubsuitwhite=9831,e.cmcubedsquare=13220,e.cmonospace=65347,e.cmsquaredsquare=13216,e.coarmenian=1409,e.colon=58,e.colonmonetary=8353,e.colonmonospace=65306,e.colonsign=8353,e.colonsmall=65109,e.colontriangularhalfmod=721,e.colontriangularmod=720,e.comma=44,e.commaabovecmb=787,e.commaaboverightcmb=789,e.commaaccent=63171,e.commaarabic=1548,e.commaarmenian=1373,e.commainferior=63201,e.commamonospace=65292,e.commareversedabovecmb=788,e.commareversedmod=701,e.commasmall=65104,e.commasuperior=63202,e.commaturnedabovecmb=786,e.commaturnedmod=699,e.compass=9788,e.congruent=8773,e.contourintegral=8750,e.control=8963,e.controlACK=6,e.controlBEL=7,e.controlBS=8,e.controlCAN=24,e.controlCR=13,e.controlDC1=17,e.controlDC2=18,e.controlDC3=19,e.controlDC4=20,e.controlDEL=127,e.controlDLE=16,e.controlEM=25,e.controlENQ=5,e.controlEOT=4,e.controlESC=27,e.controlETB=23,e.controlETX=3,e.controlFF=12,e.controlFS=28,e.controlGS=29,e.controlHT=9,e.controlLF=10,e.controlNAK=21,e.controlNULL=0,e.controlRS=30,e.controlSI=15,e.controlSO=14,e.controlSOT=2,e.controlSTX=1,e.controlSUB=26,e.controlSYN=22,e.controlUS=31,e.controlVT=11,e.copyright=169,e.copyrightsans=63721,e.copyrightserif=63193,e.cornerbracketleft=12300,e.cornerbracketlefthalfwidth=65378,e.cornerbracketleftvertical=65089,e.cornerbracketright=12301,e.cornerbracketrighthalfwidth=65379,e.cornerbracketrightvertical=65090,e.corporationsquare=13183,e.cosquare=13255,e.coverkgsquare=13254,e.cparen=9374,e.cruzeiro=8354,e.cstretched=663,e.curlyand=8911,e.curlyor=8910,e.currency=164,e.cyrBreve=63185,e.cyrFlex=63186,e.cyrbreve=63188,e.cyrflex=63189,e.d=100,e.daarmenian=1380,e.dabengali=2470,e.dadarabic=1590,e.dadeva=2342,e.dadfinalarabic=65214,e.dadinitialarabic=65215,e.dadmedialarabic=65216,e.dagesh=1468,e.dageshhebrew=1468,e.dagger=8224,e.daggerdbl=8225,e.dagujarati=2726,e.dagurmukhi=2598,e.dahiragana=12384,e.dakatakana=12480,e.dalarabic=1583,e.dalet=1491,e.daletdagesh=64307,e.daletdageshhebrew=64307,e.dalethebrew=1491,e.dalfinalarabic=65194,e.dammaarabic=1615,e.dammalowarabic=1615,e.dammatanaltonearabic=1612,e.dammatanarabic=1612,e.danda=2404,e.dargahebrew=1447,e.dargalefthebrew=1447,e.dasiapneumatacyrilliccmb=1157,e.dblGrave=63187,e.dblanglebracketleft=12298,e.dblanglebracketleftvertical=65085,e.dblanglebracketright=12299,e.dblanglebracketrightvertical=65086,e.dblarchinvertedbelowcmb=811,e.dblarrowleft=8660,e.dblarrowright=8658,e.dbldanda=2405,e.dblgrave=63190,e.dblgravecmb=783,e.dblintegral=8748,e.dbllowline=8215,e.dbllowlinecmb=819,e.dbloverlinecmb=831,e.dblprimemod=698,e.dblverticalbar=8214,e.dblverticallineabovecmb=782,e.dbopomofo=12553,e.dbsquare=13256,e.dcaron=271,e.dcedilla=7697,e.dcircle=9427,e.dcircumflexbelow=7699,e.dcroat=273,e.ddabengali=2465,e.ddadeva=2337,e.ddagujarati=2721,e.ddagurmukhi=2593,e.ddalarabic=1672,e.ddalfinalarabic=64393,e.dddhadeva=2396,e.ddhabengali=2466,e.ddhadeva=2338,e.ddhagujarati=2722,e.ddhagurmukhi=2594,e.ddotaccent=7691,e.ddotbelow=7693,e.decimalseparatorarabic=1643,e.decimalseparatorpersian=1643,e.decyrillic=1076,e.degree=176,e.dehihebrew=1453,e.dehiragana=12391,e.deicoptic=1007,e.dekatakana=12487,e.deleteleft=9003,e.deleteright=8998,e.delta=948,e.deltaturned=397,e.denominatorminusonenumeratorbengali=2552,e.dezh=676,e.dhabengali=2471,e.dhadeva=2343,e.dhagujarati=2727,e.dhagurmukhi=2599,e.dhook=599,e.dialytikatonos=901,e.dialytikatonoscmb=836,e.diamond=9830,e.diamondsuitwhite=9826,e.dieresis=168,e.dieresisacute=63191,e.dieresisbelowcmb=804,e.dieresiscmb=776,e.dieresisgrave=63192,e.dieresistonos=901,e.dihiragana=12386,e.dikatakana=12482,e.dittomark=12291,e.divide=247,e.divides=8739,e.divisionslash=8725,e.djecyrillic=1106,e.dkshade=9619,e.dlinebelow=7695,e.dlsquare=13207,e.dmacron=273,e.dmonospace=65348,e.dnblock=9604,e.dochadathai=3598,e.dodekthai=3604,e.dohiragana=12393,e.dokatakana=12489,e.dollar=36;e.dollarinferior=63203,e.dollarmonospace=65284,e.dollaroldstyle=63268,e.dollarsmall=65129,e.dollarsuperior=63204,e.dong=8363,e.dorusquare=13094,e.dotaccent=729,e.dotaccentcmb=775,e.dotbelowcmb=803,e.dotbelowcomb=803,e.dotkatakana=12539,e.dotlessi=305,e.dotlessj=63166,e.dotlessjstrokehook=644,e.dotmath=8901,e.dottedcircle=9676,e.doubleyodpatah=64287,e.doubleyodpatahhebrew=64287,e.downtackbelowcmb=798,e.downtackmod=725,e.dparen=9375,e.dsuperior=63211,e.dtail=598,e.dtopbar=396,e.duhiragana=12389,e.dukatakana=12485,e.dz=499,e.dzaltone=675,e.dzcaron=454,e.dzcurl=677,e.dzeabkhasiancyrillic=1249,e.dzecyrillic=1109,e.dzhecyrillic=1119,e.e=101,e.eacute=233,e.earth=9793,e.ebengali=2447,e.ebopomofo=12572,e.ebreve=277,e.ecandradeva=2317,e.ecandragujarati=2701,e.ecandravowelsigndeva=2373,e.ecandravowelsigngujarati=2757,e.ecaron=283,e.ecedillabreve=7709,e.echarmenian=1381,e.echyiwnarmenian=1415,e.ecircle=9428,e.ecircumflex=234,e.ecircumflexacute=7871,e.ecircumflexbelow=7705,e.ecircumflexdotbelow=7879,e.ecircumflexgrave=7873,e.ecircumflexhookabove=7875,e.ecircumflextilde=7877,e.ecyrillic=1108,e.edblgrave=517,e.edeva=2319,e.edieresis=235,e.edot=279,e.edotaccent=279,e.edotbelow=7865,e.eegurmukhi=2575,e.eematragurmukhi=2631,e.efcyrillic=1092,e.egrave=232,e.egujarati=2703,e.eharmenian=1383,e.ehbopomofo=12573,e.ehiragana=12360,e.ehookabove=7867,e.eibopomofo=12575,e.eight=56,e.eightarabic=1640,e.eightbengali=2542,e.eightcircle=9319,e.eightcircleinversesansserif=10129,e.eightdeva=2414,e.eighteencircle=9329,e.eighteenparen=9349,e.eighteenperiod=9369,e.eightgujarati=2798,e.eightgurmukhi=2670,e.eighthackarabic=1640,e.eighthangzhou=12328,e.eighthnotebeamed=9835,e.eightideographicparen=12839,e.eightinferior=8328,e.eightmonospace=65304,e.eightoldstyle=63288,e.eightparen=9339,e.eightperiod=9359,e.eightpersian=1784,e.eightroman=8567,e.eightsuperior=8312,e.eightthai=3672,e.einvertedbreve=519,e.eiotifiedcyrillic=1125,e.ekatakana=12456,e.ekatakanahalfwidth=65396,e.ekonkargurmukhi=2676,e.ekorean=12628,e.elcyrillic=1083,e.element=8712,e.elevencircle=9322,e.elevenparen=9342,e.elevenperiod=9362,e.elevenroman=8570,e.ellipsis=8230,e.ellipsisvertical=8942,e.emacron=275,e.emacronacute=7703,e.emacrongrave=7701,e.emcyrillic=1084,e.emdash=8212,e.emdashvertical=65073,e.emonospace=65349,e.emphasismarkarmenian=1371,e.emptyset=8709,e.enbopomofo=12579,e.encyrillic=1085,e.endash=8211,e.endashvertical=65074,e.endescendercyrillic=1187,e.eng=331,e.engbopomofo=12581,e.enghecyrillic=1189,e.enhookcyrillic=1224,e.enspace=8194,e.eogonek=281,e.eokorean=12627,e.eopen=603,e.eopenclosed=666,e.eopenreversed=604,e.eopenreversedclosed=606,e.eopenreversedhook=605,e.eparen=9376,e.epsilon=949,e.epsilontonos=941,e.equal=61,e.equalmonospace=65309,e.equalsmall=65126,e.equalsuperior=8316,e.equivalence=8801,e.erbopomofo=12582,e.ercyrillic=1088,e.ereversed=600,e.ereversedcyrillic=1101,e.escyrillic=1089,e.esdescendercyrillic=1195,e.esh=643,e.eshcurl=646,e.eshortdeva=2318,e.eshortvowelsigndeva=2374,e.eshreversedloop=426,e.eshsquatreversed=645,e.esmallhiragana=12359,e.esmallkatakana=12455,e.esmallkatakanahalfwidth=65386,e.estimated=8494,e.esuperior=63212,e.eta=951,e.etarmenian=1384,e.etatonos=942,e.eth=240,e.etilde=7869,e.etildebelow=7707,e.etnahtafoukhhebrew=1425,e.etnahtafoukhlefthebrew=1425,e.etnahtahebrew=1425,e.etnahtalefthebrew=1425,e.eturned=477,e.eukorean=12641,e.euro=8364,e.evowelsignbengali=2503,e.evowelsigndeva=2375,e.evowelsigngujarati=2759,e.exclam=33,e.exclamarmenian=1372,e.exclamdbl=8252,e.exclamdown=161,e.exclamdownsmall=63393,e.exclammonospace=65281,e.exclamsmall=63265,e.existential=8707,e.ezh=658,e.ezhcaron=495,e.ezhcurl=659,e.ezhreversed=441,e.ezhtail=442,e.f=102,e.fadeva=2398,e.fagurmukhi=2654,e.fahrenheit=8457,e.fathaarabic=1614,e.fathalowarabic=1614,e.fathatanarabic=1611,e.fbopomofo=12552,e.fcircle=9429,e.fdotaccent=7711,e.feharabic=1601,e.feharmenian=1414,e.fehfinalarabic=65234,e.fehinitialarabic=65235,e.fehmedialarabic=65236,e.feicoptic=997,e.female=9792,e.ff=64256,e.f_f=64256,e.ffi=64259,e.f_f_i=64259,e.ffl=64260,e.f_f_l=64260,e.fi=64257,e.f_i=64257,e.fifteencircle=9326,e.fifteenparen=9346,e.fifteenperiod=9366,e.figuredash=8210,e.filledbox=9632,e.filledrect=9644,e.finalkaf=1498,e.finalkafdagesh=64314,e.finalkafdageshhebrew=64314,e.finalkafhebrew=1498,e.finalmem=1501,e.finalmemhebrew=1501,e.finalnun=1503,e.finalnunhebrew=1503,e.finalpe=1507,e.finalpehebrew=1507,e.finaltsadi=1509,e.finaltsadihebrew=1509,e.firsttonechinese=713,e.fisheye=9673,e.fitacyrillic=1139,e.five=53,e.fivearabic=1637,e.fivebengali=2539,e.fivecircle=9316,e.fivecircleinversesansserif=10126,e.fivedeva=2411,e.fiveeighths=8541,e.fivegujarati=2795,e.fivegurmukhi=2667,e.fivehackarabic=1637,e.fivehangzhou=12325,e.fiveideographicparen=12836,e.fiveinferior=8325,e.fivemonospace=65301,e.fiveoldstyle=63285,e.fiveparen=9336,e.fiveperiod=9356,e.fivepersian=1781,e.fiveroman=8564,e.fivesuperior=8309,e.fivethai=3669,e.fl=64258,e.f_l=64258,e.florin=402,e.fmonospace=65350,e.fmsquare=13209,e.fofanthai=3615,e.fofathai=3613,e.fongmanthai=3663,e.forall=8704,e.four=52,e.fourarabic=1636,e.fourbengali=2538,e.fourcircle=9315,e.fourcircleinversesansserif=10125,e.fourdeva=2410,e.fourgujarati=2794,e.fourgurmukhi=2666,e.fourhackarabic=1636,e.fourhangzhou=12324,e.fourideographicparen=12835,e.fourinferior=8324,e.fourmonospace=65300,e.fournumeratorbengali=2551,e.fouroldstyle=63284,e.fourparen=9335,e.fourperiod=9355,e.fourpersian=1780,e.fourroman=8563,e.foursuperior=8308,e.fourteencircle=9325,e.fourteenparen=9345,e.fourteenperiod=9365,e.fourthai=3668,e.fourthtonechinese=715,e.fparen=9377,e.fraction=8260,e.franc=8355,e.g=103,e.gabengali=2455,e.gacute=501,e.gadeva=2327,e.gafarabic=1711,e.gaffinalarabic=64403,e.gafinitialarabic=64404,e.gafmedialarabic=64405,e.gagujarati=2711,e.gagurmukhi=2583,e.gahiragana=12364,e.gakatakana=12460,e.gamma=947,e.gammalatinsmall=611,e.gammasuperior=736,e.gangiacoptic=1003,e.gbopomofo=12557,e.gbreve=287,e.gcaron=487,e.gcedilla=291,e.gcircle=9430,e.gcircumflex=285,e.gcommaaccent=291,e.gdot=289,e.gdotaccent=289,e.gecyrillic=1075,e.gehiragana=12370,e.gekatakana=12466,e.geometricallyequal=8785,e.gereshaccenthebrew=1436,e.gereshhebrew=1523,e.gereshmuqdamhebrew=1437,e.germandbls=223,e.gershayimaccenthebrew=1438,e.gershayimhebrew=1524,e.getamark=12307,e.ghabengali=2456,e.ghadarmenian=1394,e.ghadeva=2328,e.ghagujarati=2712,e.ghagurmukhi=2584,e.ghainarabic=1594,e.ghainfinalarabic=65230,e.ghaininitialarabic=65231,e.ghainmedialarabic=65232,e.ghemiddlehookcyrillic=1173,e.ghestrokecyrillic=1171,e.gheupturncyrillic=1169,e.ghhadeva=2394,e.ghhagurmukhi=2650,e.ghook=608,e.ghzsquare=13203,e.gihiragana=12366,e.gikatakana=12462,e.gimarmenian=1379,e.gimel=1490,e.gimeldagesh=64306,e.gimeldageshhebrew=64306,e.gimelhebrew=1490,e.gjecyrillic=1107,e.glottalinvertedstroke=446,e.glottalstop=660,e.glottalstopinverted=662,e.glottalstopmod=704,e.glottalstopreversed=661,e.glottalstopreversedmod=705,e.glottalstopreversedsuperior=740,e.glottalstopstroke=673,e.glottalstopstrokereversed=674,e.gmacron=7713,e.gmonospace=65351,e.gohiragana=12372,e.gokatakana=12468,e.gparen=9378,e.gpasquare=13228,e.gradient=8711,e.grave=96,e.gravebelowcmb=790,e.gravecmb=768,e.gravecomb=768,e.gravedeva=2387,e.gravelowmod=718,e.gravemonospace=65344,e.gravetonecmb=832,e.greater=62,e.greaterequal=8805,e.greaterequalorless=8923,e.greatermonospace=65310,e.greaterorequivalent=8819,e.greaterorless=8823,e.greateroverequal=8807,e.greatersmall=65125,e.gscript=609,e.gstroke=485,e.guhiragana=12368,e.guillemotleft=171,e.guillemotright=187,e.guilsinglleft=8249,e.guilsinglright=8250,e.gukatakana=12464,e.guramusquare=13080,e.gysquare=13257,e.h=104,e.haabkhasiancyrillic=1193,e.haaltonearabic=1729,e.habengali=2489,e.hadescendercyrillic=1203,e.hadeva=2361,e.hagujarati=2745,e.hagurmukhi=2617,e.haharabic=1581,e.hahfinalarabic=65186,e.hahinitialarabic=65187,e.hahiragana=12399,e.hahmedialarabic=65188,e.haitusquare=13098,e.hakatakana=12495,e.hakatakanahalfwidth=65418,e.halantgurmukhi=2637,e.hamzaarabic=1569,e.hamzalowarabic=1569,e.hangulfiller=12644,e.hardsigncyrillic=1098,e.harpoonleftbarbup=8636,e.harpoonrightbarbup=8640,e.hasquare=13258,e.hatafpatah=1458,e.hatafpatah16=1458,e.hatafpatah23=1458,e.hatafpatah2f=1458,e.hatafpatahhebrew=1458,e.hatafpatahnarrowhebrew=1458,e.hatafpatahquarterhebrew=1458,e.hatafpatahwidehebrew=1458,e.hatafqamats=1459,e.hatafqamats1b=1459,e.hatafqamats28=1459,e.hatafqamats34=1459,e.hatafqamatshebrew=1459,e.hatafqamatsnarrowhebrew=1459,e.hatafqamatsquarterhebrew=1459,e.hatafqamatswidehebrew=1459,e.hatafsegol=1457,e.hatafsegol17=1457,e.hatafsegol24=1457,e.hatafsegol30=1457,e.hatafsegolhebrew=1457,e.hatafsegolnarrowhebrew=1457,e.hatafsegolquarterhebrew=1457,e.hatafsegolwidehebrew=1457,e.hbar=295,e.hbopomofo=12559,e.hbrevebelow=7723,e.hcedilla=7721,e.hcircle=9431,e.hcircumflex=293,e.hdieresis=7719,e.hdotaccent=7715,e.hdotbelow=7717,e.he=1492,e.heart=9829,e.heartsuitblack=9829,e.heartsuitwhite=9825,e.hedagesh=64308,e.hedageshhebrew=64308,e.hehaltonearabic=1729,e.heharabic=1607,e.hehebrew=1492,e.hehfinalaltonearabic=64423,e.hehfinalalttwoarabic=65258,e.hehfinalarabic=65258,e.hehhamzaabovefinalarabic=64421,e.hehhamzaaboveisolatedarabic=64420,e.hehinitialaltonearabic=64424,e.hehinitialarabic=65259,e.hehiragana=12408,e.hehmedialaltonearabic=64425,e.hehmedialarabic=65260,e.heiseierasquare=13179,e.hekatakana=12504,e.hekatakanahalfwidth=65421,e.hekutaarusquare=13110,e.henghook=615,e.herutusquare=13113,e.het=1495,e.hethebrew=1495,e.hhook=614,e.hhooksuperior=689,e.hieuhacirclekorean=12923,e.hieuhaparenkorean=12827,e.hieuhcirclekorean=12909,e.hieuhkorean=12622,e.hieuhparenkorean=12813,e.hihiragana=12402,e.hikatakana=12498,e.hikatakanahalfwidth=65419,e.hiriq=1460,e.hiriq14=1460,e.hiriq21=1460,e.hiriq2d=1460,e.hiriqhebrew=1460,e.hiriqnarrowhebrew=1460,e.hiriqquarterhebrew=1460,e.hiriqwidehebrew=1460,e.hlinebelow=7830,e.hmonospace=65352,e.hoarmenian=1392,e.hohipthai=3627,e.hohiragana=12411,e.hokatakana=12507,e.hokatakanahalfwidth=65422,e.holam=1465,e.holam19=1465,e.holam26=1465,e.holam32=1465,e.holamhebrew=1465,e.holamnarrowhebrew=1465,e.holamquarterhebrew=1465,e.holamwidehebrew=1465,e.honokhukthai=3630,e.hookabovecomb=777,e.hookcmb=777,e.hookpalatalizedbelowcmb=801,e.hookretroflexbelowcmb=802,e.hoonsquare=13122,e.horicoptic=1001,e.horizontalbar=8213,e.horncmb=795,e.hotsprings=9832,e.house=8962,e.hparen=9379,e.hsuperior=688,e.hturned=613,e.huhiragana=12405,e.huiitosquare=13107,e.hukatakana=12501,e.hukatakanahalfwidth=65420,e.hungarumlaut=733,e.hungarumlautcmb=779,e.hv=405,e.hyphen=45,e.hypheninferior=63205,e.hyphenmonospace=65293,e.hyphensmall=65123,e.hyphensuperior=63206,e.hyphentwo=8208,e.i=105,e.iacute=237,e.iacyrillic=1103,e.ibengali=2439,e.ibopomofo=12583,e.ibreve=301,e.icaron=464,e.icircle=9432,e.icircumflex=238,e.icyrillic=1110,e.idblgrave=521,e.ideographearthcircle=12943,e.ideographfirecircle=12939,e.ideographicallianceparen=12863,e.ideographiccallparen=12858,e.ideographiccentrecircle=12965,e.ideographicclose=12294,e.ideographiccomma=12289,e.ideographiccommaleft=65380,e.ideographiccongratulationparen=12855,e.ideographiccorrectcircle=12963,e.ideographicearthparen=12847,e.ideographicenterpriseparen=12861,e.ideographicexcellentcircle=12957,e.ideographicfestivalparen=12864,e.ideographicfinancialcircle=12950,e.ideographicfinancialparen=12854,e.ideographicfireparen=12843,e.ideographichaveparen=12850,e.ideographichighcircle=12964,e.ideographiciterationmark=12293,e.ideographiclaborcircle=12952,e.ideographiclaborparen=12856,e.ideographicleftcircle=12967,e.ideographiclowcircle=12966,e.ideographicmedicinecircle=12969,e.ideographicmetalparen=12846,e.ideographicmoonparen=12842,e.ideographicnameparen=12852,e.ideographicperiod=12290,e.ideographicprintcircle=12958,e.ideographicreachparen=12867,e.ideographicrepresentparen=12857,e.ideographicresourceparen=12862,e.ideographicrightcircle=12968,e.ideographicsecretcircle=12953,e.ideographicselfparen=12866,e.ideographicsocietyparen=12851,e.ideographicspace=12288,e.ideographicspecialparen=12853,e.ideographicstockparen=12849,e.ideographicstudyparen=12859,e.ideographicsunparen=12848,e.ideographicsuperviseparen=12860,e.ideographicwaterparen=12844,e.ideographicwoodparen=12845,e.ideographiczero=12295,e.ideographmetalcircle=12942,e.ideographmooncircle=12938,e.ideographnamecircle=12948,e.ideographsuncircle=12944,e.ideographwatercircle=12940,e.ideographwoodcircle=12941,e.ideva=2311,e.idieresis=239,e.idieresisacute=7727,e.idieresiscyrillic=1253,e.idotbelow=7883,e.iebrevecyrillic=1239,e.iecyrillic=1077,e.ieungacirclekorean=12917,e.ieungaparenkorean=12821,e.ieungcirclekorean=12903,e.ieungkorean=12615,e.ieungparenkorean=12807,e.igrave=236,e.igujarati=2695,e.igurmukhi=2567,e.ihiragana=12356,e.ihookabove=7881,e.iibengali=2440,e.iicyrillic=1080,e.iideva=2312,e.iigujarati=2696,e.iigurmukhi=2568,e.iimatragurmukhi=2624,e.iinvertedbreve=523,e.iishortcyrillic=1081,e.iivowelsignbengali=2496,e.iivowelsigndeva=2368,e.iivowelsigngujarati=2752,e.ij=307,e.ikatakana=12452,e.ikatakanahalfwidth=65394,e.ikorean=12643,e.ilde=732,e.iluyhebrew=1452,e.imacron=299,e.imacroncyrillic=1251,e.imageorapproximatelyequal=8787,e.imatragurmukhi=2623,e.imonospace=65353,e.increment=8710,e.infinity=8734,e.iniarmenian=1387,e.integral=8747,e.integralbottom=8993,e.integralbt=8993,e.integralex=63733,e.integraltop=8992,e.integraltp=8992,e.intersection=8745,e.intisquare=13061,e.invbullet=9688,e.invcircle=9689,e.invsmileface=9787,e.iocyrillic=1105,e.iogonek=303,e.iota=953,e.iotadieresis=970,e.iotadieresistonos=912,e.iotalatin=617,e.iotatonos=943,e.iparen=9380,e.irigurmukhi=2674,e.ismallhiragana=12355,e.ismallkatakana=12451,e.ismallkatakanahalfwidth=65384,e.issharbengali=2554,e.istroke=616,e.isuperior=63213,e.iterationhiragana=12445,e.iterationkatakana=12541,e.itilde=297,e.itildebelow=7725,e.iubopomofo=12585,e.iucyrillic=1102,e.ivowelsignbengali=2495,e.ivowelsigndeva=2367,e.ivowelsigngujarati=2751,e.izhitsacyrillic=1141,e.izhitsadblgravecyrillic=1143,e.j=106,e.jaarmenian=1393,e.jabengali=2460,e.jadeva=2332,e.jagujarati=2716,e.jagurmukhi=2588,e.jbopomofo=12560,e.jcaron=496,e.jcircle=9433,e.jcircumflex=309,e.jcrossedtail=669,e.jdotlessstroke=607,e.jecyrillic=1112,e.jeemarabic=1580,e.jeemfinalarabic=65182,e.jeeminitialarabic=65183,e.jeemmedialarabic=65184,e.jeharabic=1688,e.jehfinalarabic=64395,e.jhabengali=2461,e.jhadeva=2333,e.jhagujarati=2717,e.jhagurmukhi=2589,e.jheharmenian=1403,e.jis=12292,e.jmonospace=65354,e.jparen=9381,e.jsuperior=690,e.k=107,e.kabashkircyrillic=1185,e.kabengali=2453,e.kacute=7729,e.kacyrillic=1082,e.kadescendercyrillic=1179,e.kadeva=2325,e.kaf=1499,e.kafarabic=1603,e.kafdagesh=64315,e.kafdageshhebrew=64315,e.kaffinalarabic=65242,e.kafhebrew=1499,e.kafinitialarabic=65243,e.kafmedialarabic=65244,e.kafrafehebrew=64333,e.kagujarati=2709,e.kagurmukhi=2581,e.kahiragana=12363,e.kahookcyrillic=1220,e.kakatakana=12459,e.kakatakanahalfwidth=65398,e.kappa=954,e.kappasymbolgreek=1008,e.kapyeounmieumkorean=12657,e.kapyeounphieuphkorean=12676,e.kapyeounpieupkorean=12664,e.kapyeounssangpieupkorean=12665,e.karoriisquare=13069,e.kashidaautoarabic=1600,e.kashidaautonosidebearingarabic=1600,e.kasmallkatakana=12533,e.kasquare=13188,e.kasraarabic=1616,e.kasratanarabic=1613,e.kastrokecyrillic=1183,e.katahiraprolongmarkhalfwidth=65392,e.kaverticalstrokecyrillic=1181,e.kbopomofo=12558,e.kcalsquare=13193,e.kcaron=489,e.kcedilla=311,e.kcircle=9434,e.kcommaaccent=311,e.kdotbelow=7731,e.keharmenian=1412,e.kehiragana=12369,e.kekatakana=12465,e.kekatakanahalfwidth=65401,e.kenarmenian=1391,e.kesmallkatakana=12534,e.kgreenlandic=312,e.khabengali=2454,e.khacyrillic=1093,e.khadeva=2326,e.khagujarati=2710,e.khagurmukhi=2582,e.khaharabic=1582,e.khahfinalarabic=65190,e.khahinitialarabic=65191,e.khahmedialarabic=65192,e.kheicoptic=999,e.khhadeva=2393,e.khhagurmukhi=2649,e.khieukhacirclekorean=12920,e.khieukhaparenkorean=12824,e.khieukhcirclekorean=12906,e.khieukhkorean=12619,e.khieukhparenkorean=12810,e.khokhaithai=3586,e.khokhonthai=3589,e.khokhuatthai=3587,e.khokhwaithai=3588,e.khomutthai=3675,e.khook=409,e.khorakhangthai=3590,e.khzsquare=13201,e.kihiragana=12365,e.kikatakana=12461,e.kikatakanahalfwidth=65399,e.kiroguramusquare=13077,e.kiromeetorusquare=13078,e.kirosquare=13076,e.kiyeokacirclekorean=12910,e.kiyeokaparenkorean=12814,e.kiyeokcirclekorean=12896,e.kiyeokkorean=12593,e.kiyeokparenkorean=12800,e.kiyeoksioskorean=12595;e.kjecyrillic=1116,e.klinebelow=7733,e.klsquare=13208,e.kmcubedsquare=13222,e.kmonospace=65355,e.kmsquaredsquare=13218,e.kohiragana=12371,e.kohmsquare=13248,e.kokaithai=3585,e.kokatakana=12467,e.kokatakanahalfwidth=65402,e.kooposquare=13086,e.koppacyrillic=1153,e.koreanstandardsymbol=12927,e.koroniscmb=835,e.kparen=9382,e.kpasquare=13226,e.ksicyrillic=1135,e.ktsquare=13263,e.kturned=670,e.kuhiragana=12367,e.kukatakana=12463,e.kukatakanahalfwidth=65400,e.kvsquare=13240,e.kwsquare=13246,e.l=108,e.labengali=2482,e.lacute=314,e.ladeva=2354,e.lagujarati=2738,e.lagurmukhi=2610,e.lakkhangyaothai=3653,e.lamaleffinalarabic=65276,e.lamalefhamzaabovefinalarabic=65272,e.lamalefhamzaaboveisolatedarabic=65271,e.lamalefhamzabelowfinalarabic=65274,e.lamalefhamzabelowisolatedarabic=65273,e.lamalefisolatedarabic=65275,e.lamalefmaddaabovefinalarabic=65270,e.lamalefmaddaaboveisolatedarabic=65269,e.lamarabic=1604,e.lambda=955,e.lambdastroke=411,e.lamed=1500,e.lameddagesh=64316,e.lameddageshhebrew=64316,e.lamedhebrew=1500,e.lamfinalarabic=65246,e.lamhahinitialarabic=64714,e.laminitialarabic=65247,e.lamjeeminitialarabic=64713,e.lamkhahinitialarabic=64715,e.lamlamhehisolatedarabic=65010,e.lammedialarabic=65248,e.lammeemhahinitialarabic=64904,e.lammeeminitialarabic=64716,e.largecircle=9711,e.lbar=410,e.lbelt=620,e.lbopomofo=12556,e.lcaron=318,e.lcedilla=316,e.lcircle=9435,e.lcircumflexbelow=7741,e.lcommaaccent=316,e.ldot=320,e.ldotaccent=320,e.ldotbelow=7735,e.ldotbelowmacron=7737,e.leftangleabovecmb=794,e.lefttackbelowcmb=792,e.less=60,e.lessequal=8804,e.lessequalorgreater=8922,e.lessmonospace=65308,e.lessorequivalent=8818,e.lessorgreater=8822,e.lessoverequal=8806,e.lesssmall=65124,e.lezh=622,e.lfblock=9612,e.lhookretroflex=621,e.lira=8356,e.liwnarmenian=1388,e.lj=457,e.ljecyrillic=1113,e.ll=63168,e.lladeva=2355,e.llagujarati=2739,e.llinebelow=7739,e.llladeva=2356,e.llvocalicbengali=2529,e.llvocalicdeva=2401,e.llvocalicvowelsignbengali=2531,e.llvocalicvowelsigndeva=2403,e.lmiddletilde=619,e.lmonospace=65356,e.lmsquare=13264,e.lochulathai=3628,e.logicaland=8743,e.logicalnot=172,e.logicalnotreversed=8976,e.logicalor=8744,e.lolingthai=3621,e.longs=383,e.lowlinecenterline=65102,e.lowlinecmb=818,e.lowlinedashed=65101,e.lozenge=9674,e.lparen=9383,e.lslash=322,e.lsquare=8467,e.lsuperior=63214,e.ltshade=9617,e.luthai=3622,e.lvocalicbengali=2444,e.lvocalicdeva=2316,e.lvocalicvowelsignbengali=2530,e.lvocalicvowelsigndeva=2402,e.lxsquare=13267,e.m=109,e.mabengali=2478,e.macron=175,e.macronbelowcmb=817,e.macroncmb=772,e.macronlowmod=717,e.macronmonospace=65507,e.macute=7743,e.madeva=2350,e.magujarati=2734,e.magurmukhi=2606,e.mahapakhhebrew=1444,e.mahapakhlefthebrew=1444,e.mahiragana=12414,e.maichattawalowleftthai=63637,e.maichattawalowrightthai=63636,e.maichattawathai=3659,e.maichattawaupperleftthai=63635,e.maieklowleftthai=63628,e.maieklowrightthai=63627,e.maiekthai=3656,e.maiekupperleftthai=63626,e.maihanakatleftthai=63620,e.maihanakatthai=3633,e.maitaikhuleftthai=63625,e.maitaikhuthai=3655,e.maitholowleftthai=63631,e.maitholowrightthai=63630,e.maithothai=3657,e.maithoupperleftthai=63629,e.maitrilowleftthai=63634,e.maitrilowrightthai=63633,e.maitrithai=3658,e.maitriupperleftthai=63632,e.maiyamokthai=3654,e.makatakana=12510,e.makatakanahalfwidth=65423,e.male=9794,e.mansyonsquare=13127,e.maqafhebrew=1470,e.mars=9794,e.masoracirclehebrew=1455,e.masquare=13187,e.mbopomofo=12551,e.mbsquare=13268,e.mcircle=9436,e.mcubedsquare=13221,e.mdotaccent=7745,e.mdotbelow=7747,e.meemarabic=1605,e.meemfinalarabic=65250,e.meeminitialarabic=65251,e.meemmedialarabic=65252,e.meemmeeminitialarabic=64721,e.meemmeemisolatedarabic=64584,e.meetorusquare=13133,e.mehiragana=12417,e.meizierasquare=13182,e.mekatakana=12513,e.mekatakanahalfwidth=65426,e.mem=1502,e.memdagesh=64318,e.memdageshhebrew=64318,e.memhebrew=1502,e.menarmenian=1396,e.merkhahebrew=1445,e.merkhakefulahebrew=1446,e.merkhakefulalefthebrew=1446,e.merkhalefthebrew=1445,e.mhook=625,e.mhzsquare=13202,e.middledotkatakanahalfwidth=65381,e.middot=183,e.mieumacirclekorean=12914,e.mieumaparenkorean=12818,e.mieumcirclekorean=12900,e.mieumkorean=12609,e.mieumpansioskorean=12656,e.mieumparenkorean=12804,e.mieumpieupkorean=12654,e.mieumsioskorean=12655,e.mihiragana=12415,e.mikatakana=12511,e.mikatakanahalfwidth=65424,e.minus=8722,e.minusbelowcmb=800,e.minuscircle=8854,e.minusmod=727,e.minusplus=8723,e.minute=8242,e.miribaarusquare=13130,e.mirisquare=13129,e.mlonglegturned=624,e.mlsquare=13206,e.mmcubedsquare=13219,e.mmonospace=65357,e.mmsquaredsquare=13215,e.mohiragana=12418,e.mohmsquare=13249,e.mokatakana=12514,e.mokatakanahalfwidth=65427,e.molsquare=13270,e.momathai=3617,e.moverssquare=13223,e.moverssquaredsquare=13224,e.mparen=9384,e.mpasquare=13227,e.mssquare=13235,e.msuperior=63215,e.mturned=623,e.mu=181,e.mu1=181,e.muasquare=13186,e.muchgreater=8811,e.muchless=8810,e.mufsquare=13196,e.mugreek=956,e.mugsquare=13197,e.muhiragana=12416,e.mukatakana=12512,e.mukatakanahalfwidth=65425,e.mulsquare=13205,e.multiply=215,e.mumsquare=13211,e.munahhebrew=1443,e.munahlefthebrew=1443,e.musicalnote=9834,e.musicalnotedbl=9835,e.musicflatsign=9837,e.musicsharpsign=9839,e.mussquare=13234,e.muvsquare=13238,e.muwsquare=13244,e.mvmegasquare=13241,e.mvsquare=13239,e.mwmegasquare=13247,e.mwsquare=13245,e.n=110,e.nabengali=2472,e.nabla=8711,e.nacute=324,e.nadeva=2344,e.nagujarati=2728,e.nagurmukhi=2600,e.nahiragana=12394,e.nakatakana=12490,e.nakatakanahalfwidth=65413,e.napostrophe=329,e.nasquare=13185,e.nbopomofo=12555,e.nbspace=160,e.ncaron=328,e.ncedilla=326,e.ncircle=9437,e.ncircumflexbelow=7755,e.ncommaaccent=326,e.ndotaccent=7749,e.ndotbelow=7751,e.nehiragana=12397,e.nekatakana=12493,e.nekatakanahalfwidth=65416,e.newsheqelsign=8362,e.nfsquare=13195,e.ngabengali=2457,e.ngadeva=2329,e.ngagujarati=2713,e.ngagurmukhi=2585,e.ngonguthai=3591,e.nhiragana=12435,e.nhookleft=626,e.nhookretroflex=627,e.nieunacirclekorean=12911,e.nieunaparenkorean=12815,e.nieuncieuckorean=12597,e.nieuncirclekorean=12897,e.nieunhieuhkorean=12598,e.nieunkorean=12596,e.nieunpansioskorean=12648,e.nieunparenkorean=12801,e.nieunsioskorean=12647,e.nieuntikeutkorean=12646,e.nihiragana=12395,e.nikatakana=12491,e.nikatakanahalfwidth=65414,e.nikhahitleftthai=63641,e.nikhahitthai=3661,e.nine=57,e.ninearabic=1641,e.ninebengali=2543,e.ninecircle=9320,e.ninecircleinversesansserif=10130,e.ninedeva=2415,e.ninegujarati=2799,e.ninegurmukhi=2671,e.ninehackarabic=1641,e.ninehangzhou=12329,e.nineideographicparen=12840,e.nineinferior=8329,e.ninemonospace=65305,e.nineoldstyle=63289,e.nineparen=9340,e.nineperiod=9360,e.ninepersian=1785,e.nineroman=8568,e.ninesuperior=8313,e.nineteencircle=9330,e.nineteenparen=9350,e.nineteenperiod=9370,e.ninethai=3673,e.nj=460,e.njecyrillic=1114,e.nkatakana=12531,e.nkatakanahalfwidth=65437,e.nlegrightlong=414,e.nlinebelow=7753,e.nmonospace=65358,e.nmsquare=13210,e.nnabengali=2467,e.nnadeva=2339,e.nnagujarati=2723,e.nnagurmukhi=2595,e.nnnadeva=2345,e.nohiragana=12398,e.nokatakana=12494,e.nokatakanahalfwidth=65417,e.nonbreakingspace=160,e.nonenthai=3603,e.nonuthai=3609,e.noonarabic=1606,e.noonfinalarabic=65254,e.noonghunnaarabic=1722,e.noonghunnafinalarabic=64415,e.nooninitialarabic=65255,e.noonjeeminitialarabic=64722,e.noonjeemisolatedarabic=64587,e.noonmedialarabic=65256,e.noonmeeminitialarabic=64725,e.noonmeemisolatedarabic=64590,e.noonnoonfinalarabic=64653,e.notcontains=8716,e.notelement=8713,e.notelementof=8713,e.notequal=8800,e.notgreater=8815,e.notgreaternorequal=8817,e.notgreaternorless=8825,e.notidentical=8802,e.notless=8814,e.notlessnorequal=8816,e.notparallel=8742,e.notprecedes=8832,e.notsubset=8836,e.notsucceeds=8833,e.notsuperset=8837,e.nowarmenian=1398,e.nparen=9385,e.nssquare=13233,e.nsuperior=8319,e.ntilde=241,e.nu=957,e.nuhiragana=12396,e.nukatakana=12492,e.nukatakanahalfwidth=65415,e.nuktabengali=2492,e.nuktadeva=2364,e.nuktagujarati=2748,e.nuktagurmukhi=2620,e.numbersign=35,e.numbersignmonospace=65283,e.numbersignsmall=65119,e.numeralsigngreek=884,e.numeralsignlowergreek=885,e.numero=8470,e.nun=1504,e.nundagesh=64320,e.nundageshhebrew=64320,e.nunhebrew=1504,e.nvsquare=13237,e.nwsquare=13243,e.nyabengali=2462,e.nyadeva=2334,e.nyagujarati=2718,e.nyagurmukhi=2590,e.o=111,e.oacute=243,e.oangthai=3629,e.obarred=629,e.obarredcyrillic=1257,e.obarreddieresiscyrillic=1259,e.obengali=2451,e.obopomofo=12571,e.obreve=335,e.ocandradeva=2321,e.ocandragujarati=2705,e.ocandravowelsigndeva=2377,e.ocandravowelsigngujarati=2761,e.ocaron=466,e.ocircle=9438,e.ocircumflex=244,e.ocircumflexacute=7889,e.ocircumflexdotbelow=7897,e.ocircumflexgrave=7891,e.ocircumflexhookabove=7893,e.ocircumflextilde=7895,e.ocyrillic=1086,e.odblacute=337,e.odblgrave=525,e.odeva=2323,e.odieresis=246,e.odieresiscyrillic=1255,e.odotbelow=7885,e.oe=339,e.oekorean=12634,e.ogonek=731,e.ogonekcmb=808,e.ograve=242,e.ogujarati=2707,e.oharmenian=1413,e.ohiragana=12362,e.ohookabove=7887,e.ohorn=417,e.ohornacute=7899,e.ohorndotbelow=7907,e.ohorngrave=7901,e.ohornhookabove=7903,e.ohorntilde=7905,e.ohungarumlaut=337,e.oi=419,e.oinvertedbreve=527,e.okatakana=12458,e.okatakanahalfwidth=65397,e.okorean=12631,e.olehebrew=1451,e.omacron=333,e.omacronacute=7763,e.omacrongrave=7761,e.omdeva=2384,e.omega=969,e.omega1=982,e.omegacyrillic=1121,e.omegalatinclosed=631,e.omegaroundcyrillic=1147,e.omegatitlocyrillic=1149,e.omegatonos=974,e.omgujarati=2768,e.omicron=959,e.omicrontonos=972,e.omonospace=65359,e.one=49,e.onearabic=1633,e.onebengali=2535,e.onecircle=9312,e.onecircleinversesansserif=10122,e.onedeva=2407,e.onedotenleader=8228,e.oneeighth=8539,e.onefitted=63196,e.onegujarati=2791,e.onegurmukhi=2663,e.onehackarabic=1633,e.onehalf=189,e.onehangzhou=12321,e.oneideographicparen=12832,e.oneinferior=8321,e.onemonospace=65297,e.onenumeratorbengali=2548,e.oneoldstyle=63281,e.oneparen=9332,e.oneperiod=9352,e.onepersian=1777,e.onequarter=188,e.oneroman=8560,e.onesuperior=185,e.onethai=3665,e.onethird=8531,e.oogonek=491,e.oogonekmacron=493,e.oogurmukhi=2579,e.oomatragurmukhi=2635,e.oopen=596,e.oparen=9386,e.openbullet=9702,e.option=8997,e.ordfeminine=170,e.ordmasculine=186,e.orthogonal=8735,e.oshortdeva=2322,e.oshortvowelsigndeva=2378,e.oslash=248,e.oslashacute=511,e.osmallhiragana=12361,e.osmallkatakana=12457,e.osmallkatakanahalfwidth=65387,e.ostrokeacute=511,e.osuperior=63216,e.otcyrillic=1151,e.otilde=245,e.otildeacute=7757,e.otildedieresis=7759,e.oubopomofo=12577,e.overline=8254,e.overlinecenterline=65098,e.overlinecmb=773,e.overlinedashed=65097,e.overlinedblwavy=65100,e.overlinewavy=65099,e.overscore=175,e.ovowelsignbengali=2507,e.ovowelsigndeva=2379,e.ovowelsigngujarati=2763,e.p=112,e.paampssquare=13184,e.paasentosquare=13099,e.pabengali=2474,e.pacute=7765,e.padeva=2346,e.pagedown=8671,e.pageup=8670,e.pagujarati=2730,e.pagurmukhi=2602,e.pahiragana=12401,e.paiyannoithai=3631,e.pakatakana=12497,e.palatalizationcyrilliccmb=1156,e.palochkacyrillic=1216,e.pansioskorean=12671,e.paragraph=182,e.parallel=8741,e.parenleft=40,e.parenleftaltonearabic=64830,e.parenleftbt=63725,e.parenleftex=63724,e.parenleftinferior=8333,e.parenleftmonospace=65288,e.parenleftsmall=65113,e.parenleftsuperior=8317,e.parenlefttp=63723,e.parenleftvertical=65077,e.parenright=41,e.parenrightaltonearabic=64831,e.parenrightbt=63736,e.parenrightex=63735,e.parenrightinferior=8334,e.parenrightmonospace=65289,e.parenrightsmall=65114,e.parenrightsuperior=8318,e.parenrighttp=63734,e.parenrightvertical=65078,e.partialdiff=8706,e.paseqhebrew=1472,e.pashtahebrew=1433,e.pasquare=13225,e.patah=1463,e.patah11=1463,e.patah1d=1463,e.patah2a=1463,e.patahhebrew=1463,e.patahnarrowhebrew=1463,e.patahquarterhebrew=1463,e.patahwidehebrew=1463,e.pazerhebrew=1441,e.pbopomofo=12550,e.pcircle=9439,e.pdotaccent=7767,e.pe=1508,e.pecyrillic=1087,e.pedagesh=64324,e.pedageshhebrew=64324,e.peezisquare=13115,e.pefinaldageshhebrew=64323,e.peharabic=1662,e.peharmenian=1402,e.pehebrew=1508,e.pehfinalarabic=64343,e.pehinitialarabic=64344,e.pehiragana=12410,e.pehmedialarabic=64345,e.pekatakana=12506,e.pemiddlehookcyrillic=1191,e.perafehebrew=64334,e.percent=37,e.percentarabic=1642,e.percentmonospace=65285,e.percentsmall=65130,e.period=46,e.periodarmenian=1417,e.periodcentered=183,e.periodhalfwidth=65377,e.periodinferior=63207,e.periodmonospace=65294,e.periodsmall=65106,e.periodsuperior=63208,e.perispomenigreekcmb=834,e.perpendicular=8869,e.perthousand=8240,e.peseta=8359,e.pfsquare=13194,e.phabengali=2475,e.phadeva=2347,e.phagujarati=2731,e.phagurmukhi=2603,e.phi=966,e.phi1=981,e.phieuphacirclekorean=12922,e.phieuphaparenkorean=12826,e.phieuphcirclekorean=12908,e.phieuphkorean=12621,e.phieuphparenkorean=12812,e.philatin=632,e.phinthuthai=3642,e.phisymbolgreek=981,e.phook=421,e.phophanthai=3614,e.phophungthai=3612,e.phosamphaothai=3616,e.pi=960,e.pieupacirclekorean=12915,e.pieupaparenkorean=12819,e.pieupcieuckorean=12662,e.pieupcirclekorean=12901,e.pieupkiyeokkorean=12658,e.pieupkorean=12610,e.pieupparenkorean=12805,e.pieupsioskiyeokkorean=12660,e.pieupsioskorean=12612,e.pieupsiostikeutkorean=12661,e.pieupthieuthkorean=12663,e.pieuptikeutkorean=12659,e.pihiragana=12404,e.pikatakana=12500,e.pisymbolgreek=982,e.piwrarmenian=1411,e.plus=43,e.plusbelowcmb=799,e.pluscircle=8853,e.plusminus=177,e.plusmod=726,e.plusmonospace=65291,e.plussmall=65122,e.plussuperior=8314,e.pmonospace=65360,e.pmsquare=13272,e.pohiragana=12413,e.pointingindexdownwhite=9759,e.pointingindexleftwhite=9756,e.pointingindexrightwhite=9758,e.pointingindexupwhite=9757,e.pokatakana=12509,e.poplathai=3611,e.postalmark=12306,e.postalmarkface=12320,e.pparen=9387,e.precedes=8826,e.prescription=8478,e.primemod=697,e.primereversed=8245,e.product=8719,e.projective=8965,e.prolongedkana=12540,e.propellor=8984,e.propersubset=8834,e.propersuperset=8835,e.proportion=8759,e.proportional=8733,e.psi=968,e.psicyrillic=1137,e.psilipneumatacyrilliccmb=1158,e.pssquare=13232,e.puhiragana=12407,e.pukatakana=12503,e.pvsquare=13236,e.pwsquare=13242,e.q=113,e.qadeva=2392,e.qadmahebrew=1448,e.qafarabic=1602,e.qaffinalarabic=65238,e.qafinitialarabic=65239,e.qafmedialarabic=65240,e.qamats=1464,e.qamats10=1464,e.qamats1a=1464,e.qamats1c=1464,e.qamats27=1464,e.qamats29=1464,e.qamats33=1464,e.qamatsde=1464,e.qamatshebrew=1464,e.qamatsnarrowhebrew=1464,e.qamatsqatanhebrew=1464,e.qamatsqatannarrowhebrew=1464,e.qamatsqatanquarterhebrew=1464,e.qamatsqatanwidehebrew=1464,e.qamatsquarterhebrew=1464,e.qamatswidehebrew=1464,e.qarneyparahebrew=1439,e.qbopomofo=12561,e.qcircle=9440,e.qhook=672,e.qmonospace=65361,e.qof=1511,e.qofdagesh=64327,e.qofdageshhebrew=64327,e.qofhebrew=1511,e.qparen=9388,e.quarternote=9833,e.qubuts=1467,e.qubuts18=1467,e.qubuts25=1467,e.qubuts31=1467,e.qubutshebrew=1467,e.qubutsnarrowhebrew=1467,e.qubutsquarterhebrew=1467,e.qubutswidehebrew=1467,e.question=63,e.questionarabic=1567,e.questionarmenian=1374,e.questiondown=191,e.questiondownsmall=63423,e.questiongreek=894,e.questionmonospace=65311,e.questionsmall=63295,e.quotedbl=34,e.quotedblbase=8222,e.quotedblleft=8220,e.quotedblmonospace=65282,e.quotedblprime=12318,e.quotedblprimereversed=12317,e.quotedblright=8221,e.quoteleft=8216,e.quoteleftreversed=8219,e.quotereversed=8219,e.quoteright=8217,e.quoterightn=329,e.quotesinglbase=8218,e.quotesingle=39,e.quotesinglemonospace=65287,e.r=114,e.raarmenian=1404,e.rabengali=2480,e.racute=341,e.radeva=2352,e.radical=8730,e.radicalex=63717,e.radoverssquare=13230,e.radoverssquaredsquare=13231,e.radsquare=13229,e.rafe=1471,e.rafehebrew=1471,e.ragujarati=2736,e.ragurmukhi=2608,e.rahiragana=12425,e.rakatakana=12521,e.rakatakanahalfwidth=65431,e.ralowerdiagonalbengali=2545,e.ramiddlediagonalbengali=2544,e.ramshorn=612,e.ratio=8758,e.rbopomofo=12566,e.rcaron=345,e.rcedilla=343,e.rcircle=9441,e.rcommaaccent=343,e.rdblgrave=529,e.rdotaccent=7769,e.rdotbelow=7771,e.rdotbelowmacron=7773,e.referencemark=8251,e.reflexsubset=8838,e.reflexsuperset=8839,e.registered=174,e.registersans=63720,e.registerserif=63194,e.reharabic=1585,e.reharmenian=1408,e.rehfinalarabic=65198,e.rehiragana=12428,e.rekatakana=12524,e.rekatakanahalfwidth=65434,e.resh=1512;e.reshdageshhebrew=64328,e.reshhebrew=1512,e.reversedtilde=8765,e.reviahebrew=1431,e.reviamugrashhebrew=1431,e.revlogicalnot=8976,e.rfishhook=638,e.rfishhookreversed=639,e.rhabengali=2525,e.rhadeva=2397,e.rho=961,e.rhook=637,e.rhookturned=635,e.rhookturnedsuperior=693,e.rhosymbolgreek=1009,e.rhotichookmod=734,e.rieulacirclekorean=12913,e.rieulaparenkorean=12817,e.rieulcirclekorean=12899,e.rieulhieuhkorean=12608,e.rieulkiyeokkorean=12602,e.rieulkiyeoksioskorean=12649,e.rieulkorean=12601,e.rieulmieumkorean=12603,e.rieulpansioskorean=12652,e.rieulparenkorean=12803,e.rieulphieuphkorean=12607,e.rieulpieupkorean=12604,e.rieulpieupsioskorean=12651,e.rieulsioskorean=12605,e.rieulthieuthkorean=12606,e.rieultikeutkorean=12650,e.rieulyeorinhieuhkorean=12653,e.rightangle=8735,e.righttackbelowcmb=793,e.righttriangle=8895,e.rihiragana=12426,e.rikatakana=12522,e.rikatakanahalfwidth=65432,e.ring=730,e.ringbelowcmb=805,e.ringcmb=778,e.ringhalfleft=703,e.ringhalfleftarmenian=1369,e.ringhalfleftbelowcmb=796,e.ringhalfleftcentered=723,e.ringhalfright=702,e.ringhalfrightbelowcmb=825,e.ringhalfrightcentered=722,e.rinvertedbreve=531,e.rittorusquare=13137,e.rlinebelow=7775,e.rlongleg=636,e.rlonglegturned=634,e.rmonospace=65362,e.rohiragana=12429,e.rokatakana=12525,e.rokatakanahalfwidth=65435,e.roruathai=3619,e.rparen=9389,e.rrabengali=2524,e.rradeva=2353,e.rragurmukhi=2652,e.rreharabic=1681,e.rrehfinalarabic=64397,e.rrvocalicbengali=2528,e.rrvocalicdeva=2400,e.rrvocalicgujarati=2784,e.rrvocalicvowelsignbengali=2500,e.rrvocalicvowelsigndeva=2372,e.rrvocalicvowelsigngujarati=2756,e.rsuperior=63217,e.rtblock=9616,e.rturned=633,e.rturnedsuperior=692,e.ruhiragana=12427,e.rukatakana=12523,e.rukatakanahalfwidth=65433,e.rupeemarkbengali=2546,e.rupeesignbengali=2547,e.rupiah=63197,e.ruthai=3620,e.rvocalicbengali=2443,e.rvocalicdeva=2315,e.rvocalicgujarati=2699,e.rvocalicvowelsignbengali=2499,e.rvocalicvowelsigndeva=2371,e.rvocalicvowelsigngujarati=2755,e.s=115,e.sabengali=2488,e.sacute=347,e.sacutedotaccent=7781,e.sadarabic=1589,e.sadeva=2360,e.sadfinalarabic=65210,e.sadinitialarabic=65211,e.sadmedialarabic=65212,e.sagujarati=2744,e.sagurmukhi=2616,e.sahiragana=12373,e.sakatakana=12469,e.sakatakanahalfwidth=65403,e.sallallahoualayhewasallamarabic=65018,e.samekh=1505,e.samekhdagesh=64321,e.samekhdageshhebrew=64321,e.samekhhebrew=1505,e.saraaathai=3634,e.saraaethai=3649,e.saraaimaimalaithai=3652,e.saraaimaimuanthai=3651,e.saraamthai=3635,e.saraathai=3632,e.saraethai=3648,e.saraiileftthai=63622,e.saraiithai=3637,e.saraileftthai=63621,e.saraithai=3636,e.saraothai=3650,e.saraueeleftthai=63624,e.saraueethai=3639,e.saraueleftthai=63623,e.sarauethai=3638,e.sarauthai=3640,e.sarauuthai=3641,e.sbopomofo=12569,e.scaron=353,e.scarondotaccent=7783,e.scedilla=351,e.schwa=601,e.schwacyrillic=1241,e.schwadieresiscyrillic=1243,e.schwahook=602,e.scircle=9442,e.scircumflex=349,e.scommaaccent=537,e.sdotaccent=7777,e.sdotbelow=7779,e.sdotbelowdotaccent=7785,e.seagullbelowcmb=828,e.second=8243,e.secondtonechinese=714,e.section=167,e.seenarabic=1587,e.seenfinalarabic=65202,e.seeninitialarabic=65203,e.seenmedialarabic=65204,e.segol=1462,e.segol13=1462,e.segol1f=1462,e.segol2c=1462,e.segolhebrew=1462,e.segolnarrowhebrew=1462,e.segolquarterhebrew=1462,e.segoltahebrew=1426,e.segolwidehebrew=1462,e.seharmenian=1405,e.sehiragana=12379,e.sekatakana=12475,e.sekatakanahalfwidth=65406,e.semicolon=59,e.semicolonarabic=1563,e.semicolonmonospace=65307,e.semicolonsmall=65108,e.semivoicedmarkkana=12444,e.semivoicedmarkkanahalfwidth=65439,e.sentisquare=13090,e.sentosquare=13091,e.seven=55,e.sevenarabic=1639,e.sevenbengali=2541,e.sevencircle=9318,e.sevencircleinversesansserif=10128,e.sevendeva=2413,e.seveneighths=8542,e.sevengujarati=2797,e.sevengurmukhi=2669,e.sevenhackarabic=1639,e.sevenhangzhou=12327,e.sevenideographicparen=12838,e.seveninferior=8327,e.sevenmonospace=65303,e.sevenoldstyle=63287,e.sevenparen=9338,e.sevenperiod=9358,e.sevenpersian=1783,e.sevenroman=8566,e.sevensuperior=8311,e.seventeencircle=9328,e.seventeenparen=9348,e.seventeenperiod=9368,e.seventhai=3671,e.sfthyphen=173,e.shaarmenian=1399,e.shabengali=2486,e.shacyrillic=1096,e.shaddaarabic=1617,e.shaddadammaarabic=64609,e.shaddadammatanarabic=64606,e.shaddafathaarabic=64608,e.shaddakasraarabic=64610,e.shaddakasratanarabic=64607,e.shade=9618,e.shadedark=9619,e.shadelight=9617,e.shademedium=9618,e.shadeva=2358,e.shagujarati=2742,e.shagurmukhi=2614,e.shalshelethebrew=1427,e.shbopomofo=12565,e.shchacyrillic=1097,e.sheenarabic=1588,e.sheenfinalarabic=65206,e.sheeninitialarabic=65207,e.sheenmedialarabic=65208,e.sheicoptic=995,e.sheqel=8362,e.sheqelhebrew=8362,e.sheva=1456,e.sheva115=1456,e.sheva15=1456,e.sheva22=1456,e.sheva2e=1456,e.shevahebrew=1456,e.shevanarrowhebrew=1456,e.shevaquarterhebrew=1456,e.shevawidehebrew=1456,e.shhacyrillic=1211,e.shimacoptic=1005,e.shin=1513,e.shindagesh=64329,e.shindageshhebrew=64329,e.shindageshshindot=64300,e.shindageshshindothebrew=64300,e.shindageshsindot=64301,e.shindageshsindothebrew=64301,e.shindothebrew=1473,e.shinhebrew=1513,e.shinshindot=64298,e.shinshindothebrew=64298,e.shinsindot=64299,e.shinsindothebrew=64299,e.shook=642,e.sigma=963,e.sigma1=962,e.sigmafinal=962,e.sigmalunatesymbolgreek=1010,e.sihiragana=12375,e.sikatakana=12471,e.sikatakanahalfwidth=65404,e.siluqhebrew=1469,e.siluqlefthebrew=1469,e.similar=8764,e.sindothebrew=1474,e.siosacirclekorean=12916,e.siosaparenkorean=12820,e.sioscieuckorean=12670,e.sioscirclekorean=12902,e.sioskiyeokkorean=12666,e.sioskorean=12613,e.siosnieunkorean=12667,e.siosparenkorean=12806,e.siospieupkorean=12669,e.siostikeutkorean=12668,e.six=54,e.sixarabic=1638,e.sixbengali=2540,e.sixcircle=9317,e.sixcircleinversesansserif=10127,e.sixdeva=2412,e.sixgujarati=2796,e.sixgurmukhi=2668,e.sixhackarabic=1638,e.sixhangzhou=12326,e.sixideographicparen=12837,e.sixinferior=8326,e.sixmonospace=65302,e.sixoldstyle=63286,e.sixparen=9337,e.sixperiod=9357,e.sixpersian=1782,e.sixroman=8565,e.sixsuperior=8310,e.sixteencircle=9327,e.sixteencurrencydenominatorbengali=2553,e.sixteenparen=9347,e.sixteenperiod=9367,e.sixthai=3670,e.slash=47,e.slashmonospace=65295,e.slong=383,e.slongdotaccent=7835,e.smileface=9786,e.smonospace=65363,e.sofpasuqhebrew=1475,e.softhyphen=173,e.softsigncyrillic=1100,e.sohiragana=12381,e.sokatakana=12477,e.sokatakanahalfwidth=65407,e.soliduslongoverlaycmb=824,e.solidusshortoverlaycmb=823,e.sorusithai=3625,e.sosalathai=3624,e.sosothai=3595,e.sosuathai=3626,e.space=32,e.spacehackarabic=32,e.spade=9824,e.spadesuitblack=9824,e.spadesuitwhite=9828,e.sparen=9390,e.squarebelowcmb=827,e.squarecc=13252,e.squarecm=13213,e.squarediagonalcrosshatchfill=9641,e.squarehorizontalfill=9636,e.squarekg=13199,e.squarekm=13214,e.squarekmcapital=13262,e.squareln=13265,e.squarelog=13266,e.squaremg=13198,e.squaremil=13269,e.squaremm=13212,e.squaremsquared=13217,e.squareorthogonalcrosshatchfill=9638,e.squareupperlefttolowerrightfill=9639,e.squareupperrighttolowerleftfill=9640,e.squareverticalfill=9637,e.squarewhitewithsmallblack=9635,e.srsquare=13275,e.ssabengali=2487,e.ssadeva=2359,e.ssagujarati=2743,e.ssangcieuckorean=12617,e.ssanghieuhkorean=12677,e.ssangieungkorean=12672,e.ssangkiyeokkorean=12594,e.ssangnieunkorean=12645,e.ssangpieupkorean=12611,e.ssangsioskorean=12614,e.ssangtikeutkorean=12600,e.ssuperior=63218,e.sterling=163,e.sterlingmonospace=65505,e.strokelongoverlaycmb=822,e.strokeshortoverlaycmb=821,e.subset=8834,e.subsetnotequal=8842,e.subsetorequal=8838,e.succeeds=8827,e.suchthat=8715,e.suhiragana=12377,e.sukatakana=12473,e.sukatakanahalfwidth=65405,e.sukunarabic=1618,e.summation=8721,e.sun=9788,e.superset=8835,e.supersetnotequal=8843,e.supersetorequal=8839,e.svsquare=13276,e.syouwaerasquare=13180,e.t=116,e.tabengali=2468,e.tackdown=8868,e.tackleft=8867,e.tadeva=2340,e.tagujarati=2724,e.tagurmukhi=2596,e.taharabic=1591,e.tahfinalarabic=65218,e.tahinitialarabic=65219,e.tahiragana=12383,e.tahmedialarabic=65220,e.taisyouerasquare=13181,e.takatakana=12479,e.takatakanahalfwidth=65408,e.tatweelarabic=1600,e.tau=964,e.tav=1514,e.tavdages=64330,e.tavdagesh=64330,e.tavdageshhebrew=64330,e.tavhebrew=1514,e.tbar=359,e.tbopomofo=12554,e.tcaron=357,e.tccurl=680,e.tcedilla=355,e.tcheharabic=1670,e.tchehfinalarabic=64379,e.tchehinitialarabic=64380,e.tchehmedialarabic=64381,e.tcircle=9443,e.tcircumflexbelow=7793,e.tcommaaccent=355,e.tdieresis=7831,e.tdotaccent=7787,e.tdotbelow=7789,e.tecyrillic=1090,e.tedescendercyrillic=1197,e.teharabic=1578,e.tehfinalarabic=65174,e.tehhahinitialarabic=64674,e.tehhahisolatedarabic=64524,e.tehinitialarabic=65175,e.tehiragana=12390,e.tehjeeminitialarabic=64673,e.tehjeemisolatedarabic=64523,e.tehmarbutaarabic=1577,e.tehmarbutafinalarabic=65172,e.tehmedialarabic=65176,e.tehmeeminitialarabic=64676,e.tehmeemisolatedarabic=64526,e.tehnoonfinalarabic=64627,e.tekatakana=12486,e.tekatakanahalfwidth=65411,e.telephone=8481,e.telephoneblack=9742,e.telishagedolahebrew=1440,e.telishaqetanahebrew=1449,e.tencircle=9321,e.tenideographicparen=12841,e.tenparen=9341,e.tenperiod=9361,e.tenroman=8569,e.tesh=679,e.tet=1496,e.tetdagesh=64312,e.tetdageshhebrew=64312,e.tethebrew=1496,e.tetsecyrillic=1205,e.tevirhebrew=1435,e.tevirlefthebrew=1435,e.thabengali=2469,e.thadeva=2341,e.thagujarati=2725,e.thagurmukhi=2597,e.thalarabic=1584,e.thalfinalarabic=65196,e.thanthakhatlowleftthai=63640,e.thanthakhatlowrightthai=63639,e.thanthakhatthai=3660,e.thanthakhatupperleftthai=63638,e.theharabic=1579,e.thehfinalarabic=65178,e.thehinitialarabic=65179,e.thehmedialarabic=65180,e.thereexists=8707,e.therefore=8756,e.theta=952,e.theta1=977,e.thetasymbolgreek=977,e.thieuthacirclekorean=12921,e.thieuthaparenkorean=12825,e.thieuthcirclekorean=12907,e.thieuthkorean=12620,e.thieuthparenkorean=12811,e.thirteencircle=9324,e.thirteenparen=9344,e.thirteenperiod=9364,e.thonangmonthothai=3601,e.thook=429,e.thophuthaothai=3602,e.thorn=254,e.thothahanthai=3607,e.thothanthai=3600,e.thothongthai=3608,e.thothungthai=3606,e.thousandcyrillic=1154,e.thousandsseparatorarabic=1644,e.thousandsseparatorpersian=1644,e.three=51,e.threearabic=1635,e.threebengali=2537,e.threecircle=9314,e.threecircleinversesansserif=10124,e.threedeva=2409,e.threeeighths=8540,e.threegujarati=2793,e.threegurmukhi=2665,e.threehackarabic=1635,e.threehangzhou=12323,e.threeideographicparen=12834,e.threeinferior=8323,e.threemonospace=65299,e.threenumeratorbengali=2550,e.threeoldstyle=63283,e.threeparen=9334,e.threeperiod=9354,e.threepersian=1779,e.threequarters=190,e.threequartersemdash=63198,e.threeroman=8562,e.threesuperior=179,e.threethai=3667,e.thzsquare=13204,e.tihiragana=12385,e.tikatakana=12481,e.tikatakanahalfwidth=65409,e.tikeutacirclekorean=12912,e.tikeutaparenkorean=12816,e.tikeutcirclekorean=12898,e.tikeutkorean=12599,e.tikeutparenkorean=12802,e.tilde=732,e.tildebelowcmb=816,e.tildecmb=771,e.tildecomb=771,e.tildedoublecmb=864,e.tildeoperator=8764,e.tildeoverlaycmb=820,e.tildeverticalcmb=830,e.timescircle=8855,e.tipehahebrew=1430,e.tipehalefthebrew=1430,e.tippigurmukhi=2672,e.titlocyrilliccmb=1155,e.tiwnarmenian=1407,e.tlinebelow=7791,e.tmonospace=65364,e.toarmenian=1385,e.tohiragana=12392,e.tokatakana=12488,e.tokatakanahalfwidth=65412,e.tonebarextrahighmod=741,e.tonebarextralowmod=745,e.tonebarhighmod=742,e.tonebarlowmod=744,e.tonebarmidmod=743,e.tonefive=445,e.tonesix=389,e.tonetwo=424,e.tonos=900,e.tonsquare=13095,e.topatakthai=3599,e.tortoiseshellbracketleft=12308,e.tortoiseshellbracketleftsmall=65117,e.tortoiseshellbracketleftvertical=65081,e.tortoiseshellbracketright=12309,e.tortoiseshellbracketrightsmall=65118,e.tortoiseshellbracketrightvertical=65082,e.totaothai=3605,e.tpalatalhook=427,e.tparen=9391,e.trademark=8482,e.trademarksans=63722,e.trademarkserif=63195,e.tretroflexhook=648,e.triagdn=9660,e.triaglf=9668,e.triagrt=9658,e.triagup=9650,e.ts=678,e.tsadi=1510,e.tsadidagesh=64326,e.tsadidageshhebrew=64326,e.tsadihebrew=1510,e.tsecyrillic=1094,e.tsere=1461,e.tsere12=1461,e.tsere1e=1461,e.tsere2b=1461,e.tserehebrew=1461,e.tserenarrowhebrew=1461,e.tserequarterhebrew=1461,e.tserewidehebrew=1461,e.tshecyrillic=1115,e.tsuperior=63219,e.ttabengali=2463,e.ttadeva=2335,e.ttagujarati=2719,e.ttagurmukhi=2591,e.tteharabic=1657,e.ttehfinalarabic=64359,e.ttehinitialarabic=64360,e.ttehmedialarabic=64361,e.tthabengali=2464,e.tthadeva=2336,e.tthagujarati=2720,e.tthagurmukhi=2592,e.tturned=647,e.tuhiragana=12388,e.tukatakana=12484,e.tukatakanahalfwidth=65410,e.tusmallhiragana=12387,e.tusmallkatakana=12483,e.tusmallkatakanahalfwidth=65391,e.twelvecircle=9323,e.twelveparen=9343,e.twelveperiod=9363,e.twelveroman=8571,e.twentycircle=9331,e.twentyhangzhou=21316,e.twentyparen=9351,e.twentyperiod=9371,e.two=50,e.twoarabic=1634,e.twobengali=2536,e.twocircle=9313,e.twocircleinversesansserif=10123,e.twodeva=2408,e.twodotenleader=8229,e.twodotleader=8229,e.twodotleadervertical=65072,e.twogujarati=2792,e.twogurmukhi=2664,e.twohackarabic=1634,e.twohangzhou=12322,e.twoideographicparen=12833,e.twoinferior=8322,e.twomonospace=65298,e.twonumeratorbengali=2549,e.twooldstyle=63282,e.twoparen=9333,e.twoperiod=9353,e.twopersian=1778,e.tworoman=8561,e.twostroke=443,e.twosuperior=178,e.twothai=3666,e.twothirds=8532,e.u=117,e.uacute=250,e.ubar=649,e.ubengali=2441,e.ubopomofo=12584,e.ubreve=365,e.ucaron=468,e.ucircle=9444,e.ucircumflex=251,e.ucircumflexbelow=7799,e.ucyrillic=1091,e.udattadeva=2385,e.udblacute=369,e.udblgrave=533,e.udeva=2313,e.udieresis=252,e.udieresisacute=472,e.udieresisbelow=7795,e.udieresiscaron=474,e.udieresiscyrillic=1265,e.udieresisgrave=476,e.udieresismacron=470,e.udotbelow=7909,e.ugrave=249,e.ugujarati=2697,e.ugurmukhi=2569,e.uhiragana=12358,e.uhookabove=7911,e.uhorn=432,e.uhornacute=7913,e.uhorndotbelow=7921,e.uhorngrave=7915,e.uhornhookabove=7917,e.uhorntilde=7919,e.uhungarumlaut=369,e.uhungarumlautcyrillic=1267,e.uinvertedbreve=535,e.ukatakana=12454,e.ukatakanahalfwidth=65395,e.ukcyrillic=1145,e.ukorean=12636,e.umacron=363,e.umacroncyrillic=1263,e.umacrondieresis=7803,e.umatragurmukhi=2625,e.umonospace=65365,e.underscore=95,e.underscoredbl=8215,e.underscoremonospace=65343,e.underscorevertical=65075,e.underscorewavy=65103,e.union=8746,e.universal=8704,e.uogonek=371,e.uparen=9392,e.upblock=9600,e.upperdothebrew=1476,e.upsilon=965,e.upsilondieresis=971,e.upsilondieresistonos=944,e.upsilonlatin=650,e.upsilontonos=973,e.uptackbelowcmb=797,e.uptackmod=724,e.uragurmukhi=2675,e.uring=367,e.ushortcyrillic=1118,e.usmallhiragana=12357,e.usmallkatakana=12453,e.usmallkatakanahalfwidth=65385,e.ustraightcyrillic=1199,e.ustraightstrokecyrillic=1201,e.utilde=361,e.utildeacute=7801,e.utildebelow=7797,e.uubengali=2442,e.uudeva=2314,e.uugujarati=2698,e.uugurmukhi=2570,e.uumatragurmukhi=2626,e.uuvowelsignbengali=2498,e.uuvowelsigndeva=2370,e.uuvowelsigngujarati=2754,e.uvowelsignbengali=2497,e.uvowelsigndeva=2369,e.uvowelsigngujarati=2753,e.v=118,e.vadeva=2357,e.vagujarati=2741,e.vagurmukhi=2613,e.vakatakana=12535,e.vav=1493,e.vavdagesh=64309,e.vavdagesh65=64309,e.vavdageshhebrew=64309,e.vavhebrew=1493,e.vavholam=64331,e.vavholamhebrew=64331,e.vavvavhebrew=1520,e.vavyodhebrew=1521,e.vcircle=9445,e.vdotbelow=7807,e.vecyrillic=1074,e.veharabic=1700,e.vehfinalarabic=64363,e.vehinitialarabic=64364,e.vehmedialarabic=64365,e.vekatakana=12537,e.venus=9792,e.verticalbar=124,e.verticallineabovecmb=781,e.verticallinebelowcmb=809,e.verticallinelowmod=716,e.verticallinemod=712,e.vewarmenian=1406,e.vhook=651,e.vikatakana=12536,e.viramabengali=2509,e.viramadeva=2381,e.viramagujarati=2765,e.visargabengali=2435,e.visargadeva=2307,e.visargagujarati=2691,e.vmonospace=65366,e.voarmenian=1400,e.voicediterationhiragana=12446,e.voicediterationkatakana=12542,e.voicedmarkkana=12443,e.voicedmarkkanahalfwidth=65438,e.vokatakana=12538,e.vparen=9393,e.vtilde=7805,e.vturned=652,e.vuhiragana=12436,e.vukatakana=12532,e.w=119,e.wacute=7811,e.waekorean=12633,e.wahiragana=12431,e.wakatakana=12527,e.wakatakanahalfwidth=65436,e.wakorean=12632,e.wasmallhiragana=12430,e.wasmallkatakana=12526,e.wattosquare=13143,e.wavedash=12316,e.wavyunderscorevertical=65076,e.wawarabic=1608,e.wawfinalarabic=65262,e.wawhamzaabovearabic=1572,e.wawhamzaabovefinalarabic=65158,e.wbsquare=13277,e.wcircle=9446,e.wcircumflex=373,e.wdieresis=7813,e.wdotaccent=7815,e.wdotbelow=7817,e.wehiragana=12433,e.weierstrass=8472,e.wekatakana=12529,e.wekorean=12638,e.weokorean=12637,e.wgrave=7809,e.whitebullet=9702,e.whitecircle=9675,e.whitecircleinverse=9689,e.whitecornerbracketleft=12302,e.whitecornerbracketleftvertical=65091,e.whitecornerbracketright=12303,e.whitecornerbracketrightvertical=65092,e.whitediamond=9671,e.whitediamondcontainingblacksmalldiamond=9672,e.whitedownpointingsmalltriangle=9663,e.whitedownpointingtriangle=9661,e.whiteleftpointingsmalltriangle=9667;e.whiteleftpointingtriangle=9665,e.whitelenticularbracketleft=12310,e.whitelenticularbracketright=12311,e.whiterightpointingsmalltriangle=9657,e.whiterightpointingtriangle=9655,e.whitesmallsquare=9643,e.whitesmilingface=9786,e.whitesquare=9633,e.whitestar=9734,e.whitetelephone=9743,e.whitetortoiseshellbracketleft=12312,e.whitetortoiseshellbracketright=12313,e.whiteuppointingsmalltriangle=9653,e.whiteuppointingtriangle=9651,e.wihiragana=12432,e.wikatakana=12528,e.wikorean=12639,e.wmonospace=65367,e.wohiragana=12434,e.wokatakana=12530,e.wokatakanahalfwidth=65382,e.won=8361,e.wonmonospace=65510,e.wowaenthai=3623,e.wparen=9394,e.wring=7832,e.wsuperior=695,e.wturned=653,e.wynn=447,e.x=120,e.xabovecmb=829,e.xbopomofo=12562,e.xcircle=9447,e.xdieresis=7821,e.xdotaccent=7819,e.xeharmenian=1389,e.xi=958,e.xmonospace=65368,e.xparen=9395,e.xsuperior=739,e.y=121,e.yaadosquare=13134,e.yabengali=2479,e.yacute=253,e.yadeva=2351,e.yaekorean=12626,e.yagujarati=2735,e.yagurmukhi=2607,e.yahiragana=12420,e.yakatakana=12516,e.yakatakanahalfwidth=65428,e.yakorean=12625,e.yamakkanthai=3662,e.yasmallhiragana=12419,e.yasmallkatakana=12515,e.yasmallkatakanahalfwidth=65388,e.yatcyrillic=1123,e.ycircle=9448,e.ycircumflex=375,e.ydieresis=255,e.ydotaccent=7823,e.ydotbelow=7925,e.yeharabic=1610,e.yehbarreearabic=1746,e.yehbarreefinalarabic=64431,e.yehfinalarabic=65266,e.yehhamzaabovearabic=1574,e.yehhamzaabovefinalarabic=65162,e.yehhamzaaboveinitialarabic=65163,e.yehhamzaabovemedialarabic=65164,e.yehinitialarabic=65267,e.yehmedialarabic=65268,e.yehmeeminitialarabic=64733,e.yehmeemisolatedarabic=64600,e.yehnoonfinalarabic=64660,e.yehthreedotsbelowarabic=1745,e.yekorean=12630,e.yen=165,e.yenmonospace=65509,e.yeokorean=12629,e.yeorinhieuhkorean=12678,e.yerahbenyomohebrew=1450,e.yerahbenyomolefthebrew=1450,e.yericyrillic=1099,e.yerudieresiscyrillic=1273,e.yesieungkorean=12673,e.yesieungpansioskorean=12675,e.yesieungsioskorean=12674,e.yetivhebrew=1434,e.ygrave=7923,e.yhook=436,e.yhookabove=7927,e.yiarmenian=1397,e.yicyrillic=1111,e.yikorean=12642,e.yinyang=9775,e.yiwnarmenian=1410,e.ymonospace=65369,e.yod=1497,e.yoddagesh=64313,e.yoddageshhebrew=64313,e.yodhebrew=1497,e.yodyodhebrew=1522,e.yodyodpatahhebrew=64287,e.yohiragana=12424,e.yoikorean=12681,e.yokatakana=12520,e.yokatakanahalfwidth=65430,e.yokorean=12635,e.yosmallhiragana=12423,e.yosmallkatakana=12519,e.yosmallkatakanahalfwidth=65390,e.yotgreek=1011,e.yoyaekorean=12680,e.yoyakorean=12679,e.yoyakthai=3618,e.yoyingthai=3597,e.yparen=9396,e.ypogegrammeni=890,e.ypogegrammenigreekcmb=837,e.yr=422,e.yring=7833,e.ysuperior=696,e.ytilde=7929,e.yturned=654,e.yuhiragana=12422,e.yuikorean=12684,e.yukatakana=12518,e.yukatakanahalfwidth=65429,e.yukorean=12640,e.yusbigcyrillic=1131,e.yusbigiotifiedcyrillic=1133,e.yuslittlecyrillic=1127,e.yuslittleiotifiedcyrillic=1129,e.yusmallhiragana=12421,e.yusmallkatakana=12517,e.yusmallkatakanahalfwidth=65389,e.yuyekorean=12683,e.yuyeokorean=12682,e.yyabengali=2527,e.yyadeva=2399,e.z=122,e.zaarmenian=1382,e.zacute=378,e.zadeva=2395,e.zagurmukhi=2651,e.zaharabic=1592,e.zahfinalarabic=65222,e.zahinitialarabic=65223,e.zahiragana=12374,e.zahmedialarabic=65224,e.zainarabic=1586,e.zainfinalarabic=65200,e.zakatakana=12470,e.zaqefgadolhebrew=1429,e.zaqefqatanhebrew=1428,e.zarqahebrew=1432,e.zayin=1494,e.zayindagesh=64310,e.zayindageshhebrew=64310,e.zayinhebrew=1494,e.zbopomofo=12567,e.zcaron=382,e.zcircle=9449,e.zcircumflex=7825,e.zcurl=657,e.zdot=380,e.zdotaccent=380,e.zdotbelow=7827,e.zecyrillic=1079,e.zedescendercyrillic=1177,e.zedieresiscyrillic=1247,e.zehiragana=12380,e.zekatakana=12476,e.zero=48,e.zeroarabic=1632,e.zerobengali=2534,e.zerodeva=2406,e.zerogujarati=2790,e.zerogurmukhi=2662,e.zerohackarabic=1632,e.zeroinferior=8320,e.zeromonospace=65296,e.zerooldstyle=63280,e.zeropersian=1776,e.zerosuperior=8304,e.zerothai=3664,e.zerowidthjoiner=65279,e.zerowidthnonjoiner=8204,e.zerowidthspace=8203,e.zeta=950,e.zhbopomofo=12563,e.zhearmenian=1386,e.zhebrevecyrillic=1218,e.zhecyrillic=1078,e.zhedescendercyrillic=1175,e.zhedieresiscyrillic=1245,e.zihiragana=12376,e.zikatakana=12472,e.zinorhebrew=1454,e.zlinebelow=7829,e.zmonospace=65370,e.zohiragana=12382,e.zokatakana=12478,e.zparen=9397,e.zretroflexhook=656,e.zstroke=438,e.zuhiragana=12378,e.zukatakana=12474,e[".notdef"]=0,e.angbracketleftbig=9001,e.angbracketleftBig=9001,e.angbracketleftbigg=9001,e.angbracketleftBigg=9001,e.angbracketrightBig=9002,e.angbracketrightbig=9002,e.angbracketrightBigg=9002,e.angbracketrightbigg=9002,e.arrowhookleft=8618,e.arrowhookright=8617,e.arrowlefttophalf=8636,e.arrowleftbothalf=8637,e.arrownortheast=8599,e.arrownorthwest=8598,e.arrowrighttophalf=8640,e.arrowrightbothalf=8641,e.arrowsoutheast=8600,e.arrowsouthwest=8601,e.backslashbig=8726,e.backslashBig=8726,e.backslashBigg=8726,e.backslashbigg=8726,e.bardbl=8214,e.bracehtipdownleft=65079,e.bracehtipdownright=65079,e.bracehtipupleft=65080,e.bracehtipupright=65080,e.braceleftBig=123,e.braceleftbig=123,e.braceleftbigg=123,e.braceleftBigg=123,e.bracerightBig=125,e.bracerightbig=125,e.bracerightbigg=125,e.bracerightBigg=125,e.bracketleftbig=91,e.bracketleftBig=91,e.bracketleftbigg=91,e.bracketleftBigg=91,e.bracketrightBig=93,e.bracketrightbig=93,e.bracketrightbigg=93,e.bracketrightBigg=93,e.ceilingleftbig=8968,e.ceilingleftBig=8968,e.ceilingleftBigg=8968,e.ceilingleftbigg=8968,e.ceilingrightbig=8969,e.ceilingrightBig=8969,e.ceilingrightbigg=8969,e.ceilingrightBigg=8969,e.circledotdisplay=8857,e.circledottext=8857,e.circlemultiplydisplay=8855,e.circlemultiplytext=8855,e.circleplusdisplay=8853,e.circleplustext=8853,e.contintegraldisplay=8750,e.contintegraltext=8750,e.coproductdisplay=8720,e.coproducttext=8720,e.floorleftBig=8970,e.floorleftbig=8970,e.floorleftbigg=8970,e.floorleftBigg=8970,e.floorrightbig=8971,e.floorrightBig=8971,e.floorrightBigg=8971,e.floorrightbigg=8971,e.hatwide=770,e.hatwider=770,e.hatwidest=770,e.intercal=7488,e.integraldisplay=8747,e.integraltext=8747,e.intersectiondisplay=8898,e.intersectiontext=8898,e.logicalanddisplay=8743,e.logicalandtext=8743,e.logicalordisplay=8744,e.logicalortext=8744,e.parenleftBig=40,e.parenleftbig=40,e.parenleftBigg=40,e.parenleftbigg=40,e.parenrightBig=41,e.parenrightbig=41,e.parenrightBigg=41,e.parenrightbigg=41,e.prime=8242,e.productdisplay=8719,e.producttext=8719,e.radicalbig=8730,e.radicalBig=8730,e.radicalBigg=8730,e.radicalbigg=8730,e.radicalbt=8730,e.radicaltp=8730,e.radicalvertex=8730,e.slashbig=47,e.slashBig=47,e.slashBigg=47,e.slashbigg=47,e.summationdisplay=8721,e.summationtext=8721,e.tildewide=732,e.tildewider=732,e.tildewidest=732,e.uniondisplay=8899,e.unionmultidisplay=8846,e.unionmultitext=8846,e.unionsqdisplay=8852,e.unionsqtext=8852,e.uniontext=8899,e.vextenddouble=8741,e.vextendsingle=8739}),i=(0,t.getLookupTableFactory)(function(e){e.space=32,e.a1=9985,e.a2=9986,e.a202=9987,e.a3=9988,e.a4=9742,e.a5=9990,e.a119=9991,e.a118=9992,e.a117=9993,e.a11=9755,e.a12=9758,e.a13=9996,e.a14=9997,e.a15=9998,e.a16=9999,e.a105=1e4,e.a17=10001,e.a18=10002,e.a19=10003,e.a20=10004,e.a21=10005,e.a22=10006,e.a23=10007,e.a24=10008,e.a25=10009,e.a26=10010,e.a27=10011,e.a28=10012,e.a6=10013,e.a7=10014,e.a8=10015,e.a9=10016,e.a10=10017,e.a29=10018,e.a30=10019,e.a31=10020,e.a32=10021,e.a33=10022,e.a34=10023,e.a35=9733,e.a36=10025,e.a37=10026,e.a38=10027,e.a39=10028,e.a40=10029,e.a41=10030,e.a42=10031,e.a43=10032,e.a44=10033,e.a45=10034,e.a46=10035,e.a47=10036,e.a48=10037,e.a49=10038,e.a50=10039,e.a51=10040,e.a52=10041,e.a53=10042,e.a54=10043,e.a55=10044,e.a56=10045,e.a57=10046,e.a58=10047,e.a59=10048,e.a60=10049,e.a61=10050,e.a62=10051,e.a63=10052,e.a64=10053,e.a65=10054,e.a66=10055,e.a67=10056,e.a68=10057,e.a69=10058,e.a70=10059,e.a71=9679,e.a72=10061,e.a73=9632,e.a74=10063,e.a203=10064,e.a75=10065,e.a204=10066,e.a76=9650,e.a77=9660,e.a78=9670,e.a79=10070,e.a81=9687,e.a82=10072,e.a83=10073,e.a84=10074,e.a97=10075,e.a98=10076,e.a99=10077,e.a100=10078,e.a101=10081,e.a102=10082,e.a103=10083,e.a104=10084,e.a106=10085,e.a107=10086,e.a108=10087,e.a112=9827,e.a111=9830,e.a110=9829,e.a109=9824,e.a120=9312,e.a121=9313,e.a122=9314,e.a123=9315,e.a124=9316,e.a125=9317,e.a126=9318,e.a127=9319,e.a128=9320,e.a129=9321,e.a130=10102,e.a131=10103,e.a132=10104,e.a133=10105,e.a134=10106,e.a135=10107,e.a136=10108,e.a137=10109,e.a138=10110,e.a139=10111,e.a140=10112,e.a141=10113,e.a142=10114,e.a143=10115,e.a144=10116,e.a145=10117,e.a146=10118,e.a147=10119,e.a148=10120,e.a149=10121,e.a150=10122,e.a151=10123,e.a152=10124,e.a153=10125,e.a154=10126,e.a155=10127,e.a156=10128,e.a157=10129,e.a158=10130,e.a159=10131,e.a160=10132,e.a161=8594,e.a163=8596,e.a164=8597,e.a196=10136,e.a165=10137,e.a192=10138,e.a166=10139,e.a167=10140,e.a168=10141,e.a169=10142,e.a170=10143,e.a171=10144,e.a172=10145,e.a173=10146,e.a162=10147,e.a174=10148,e.a175=10149,e.a176=10150,e.a177=10151,e.a178=10152,e.a179=10153,e.a193=10154,e.a180=10155,e.a199=10156,e.a181=10157,e.a200=10158,e.a182=10159,e.a201=10161,e.a183=10162,e.a184=10163,e.a197=10164,e.a185=10165,e.a194=10166,e.a198=10167,e.a186=10168,e.a195=10169,e.a187=10170,e.a188=10171,e.a189=10172,e.a190=10173,e.a191=10174,e.a89=10088,e.a90=10089,e.a93=10090,e.a94=10091,e.a91=10092,e.a92=10093,e.a205=10094,e.a85=10095,e.a206=10096,e.a86=10097,e.a87=10098,e.a88=10099,e.a95=10100,e.a96=10101,e[".notdef"]=0})},(e,t,a)=>{a.r(t),a.d(t,{clearUnicodeCaches:()=>function(){n.clear()},getCharUnicodeCategory:()=>function(e){var t=n.get(e);if(t)return t;t=e.match(i),t={isWhitespace:!!t?.[1],isZeroWidthDiacritic:!!t?.[2],isInvisibleFormatMark:!!t?.[3]};return n.set(e,t),t},getUnicodeForGlyph:()=>function(t,a){let r=a[t];if(void 0!==r)return r;if(t&&"u"===t[0]){const a=t.length;let e;if(7===a&&"n"===t[1]&&"i"===t[2])e=t.substring(3);else{if(!(5<=a&&a<=7))return-1;e=t.substring(1)}if(e===e.toUpperCase()&&0<=(r=parseInt(e,16)))return r}return-1},getUnicodeRangeFor:()=>function(r,a=-1){if(-1!==a){var i=s[a];for(let e=0,t=i.length;e<t;e+=2)if(r>=i[e]&&r<=i[e+1])return a}for(let a=0,e=s.length;a<e;a++){var n=s[a];for(let e=0,t=n.length;e<t;e+=2)if(r>=n[e]&&r<=n[e+1])return a}return-1},mapSpecialUnicodeValues:()=>function(e){return 65520<=e&&e<=65535?0:62976<=e&&e<=63743?r()[e]||e:173===e?45:e}});const r=(0,a(3).getLookupTableFactory)(function(e){e[63721]=169,e[63193]=169,e[63720]=174,e[63194]=174,e[63722]=8482,e[63195]=8482,e[63729]=9127,e[63730]=9128,e[63731]=9129,e[63740]=9131,e[63741]=9132,e[63742]=9133,e[63726]=9121,e[63727]=9122,e[63728]=9123,e[63737]=9124,e[63738]=9125,e[63739]=9126,e[63723]=9115,e[63724]=9116,e[63725]=9117,e[63734]=9118,e[63735]=9119,e[63736]=9120});const s=[[0,127],[128,255],[256,383],[384,591],[592,687,7424,7551,7552,7615],[688,767,42752,42783],[768,879,7616,7679],[880,1023],[11392,11519],[1024,1279,1280,1327,11744,11775,42560,42655],[1328,1423],[1424,1535],[42240,42559],[1536,1791,1872,1919],[1984,2047],[2304,2431],[2432,2559],[2560,2687],[2688,2815],[2816,2943],[2944,3071],[3072,3199],[3200,3327],[3328,3455],[3584,3711],[3712,3839],[4256,4351,11520,11567],[6912,7039],[4352,4607],[7680,7935,11360,11391,42784,43007],[7936,8191],[8192,8303,11776,11903],[8304,8351],[8352,8399],[8400,8447],[8448,8527],[8528,8591],[8592,8703,10224,10239,10496,10623,11008,11263],[8704,8959,10752,11007,10176,10223,10624,10751],[8960,9215],[9216,9279],[9280,9311],[9312,9471],[9472,9599],[9600,9631],[9632,9727],[9728,9983],[9984,10175],[12288,12351],[12352,12447],[12448,12543,12784,12799],[12544,12591,12704,12735],[12592,12687],[43072,43135],[12800,13055],[13056,13311],[44032,55215],[55296,57343],[67840,67871],[19968,40959,11904,12031,12032,12255,12272,12287,13312,19903,131072,173791,12688,12703],[57344,63743],[12736,12783,63744,64255,194560,195103],[64256,64335],[64336,65023],[65056,65071],[65040,65055],[65104,65135],[65136,65279],[65280,65519],[65520,65535],[3840,4095],[1792,1871],[1920,1983],[3456,3583],[4096,4255],[4608,4991,4992,5023,11648,11743],[5024,5119],[5120,5759],[5760,5791],[5792,5887],[6016,6143],[6144,6319],[10240,10495],[40960,42127],[5888,5919,5920,5951,5952,5983,5984,6015],[66304,66351],[66352,66383],[66560,66639],[118784,119039,119040,119295,119296,119375],[119808,120831],[1044480,1048573],[65024,65039,917760,917999],[917504,917631],[6400,6479],[6480,6527],[6528,6623],[6656,6687],[11264,11359],[11568,11647],[19904,19967],[43008,43055],[65536,65663,65664,65791,65792,65855],[65856,65935],[66432,66463],[66464,66527],[66640,66687],[66688,66735],[67584,67647],[68096,68191],[119552,119647],[73728,74751,74752,74879],[119648,119679],[7040,7103],[7168,7247],[7248,7295],[43136,43231],[43264,43311],[43312,43359],[43520,43615],[65936,65999],[66e3,66047],[66208,66271,66176,66207,67872,67903],[127024,127135,126976,127023]];const i=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),n=new Map},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSerifFonts=t.getNonStdFontMap=t.getGlyphMapForStandardFonts=t.getFontNameToFileMap=void 0,t.getStandardFontName=function(e){e=(0,i.normalizeFontName)(e);return n()[e]},t.getSymbolsFonts=t.getSupplementalGlyphMapForCalibri=t.getSupplementalGlyphMapForArialBlack=t.getStdFontMap=void 0;var r=a(3),i=a(38);const n=(0,r.getLookupTableFactory)(function(e){e["Times-Roman"]="Times-Roman",e.Helvetica="Helvetica",e.Courier="Courier",e.Symbol="Symbol",e["Times-Bold"]="Times-Bold",e["Helvetica-Bold"]="Helvetica-Bold",e["Courier-Bold"]="Courier-Bold",e.ZapfDingbats="ZapfDingbats",e["Times-Italic"]="Times-Italic",e["Helvetica-Oblique"]="Helvetica-Oblique",e["Courier-Oblique"]="Courier-Oblique",e["Times-BoldItalic"]="Times-BoldItalic",e["Helvetica-BoldOblique"]="Helvetica-BoldOblique",e["Courier-BoldOblique"]="Courier-BoldOblique",e.ArialNarrow="Helvetica",e["ArialNarrow-Bold"]="Helvetica-Bold",e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",e["ArialNarrow-Italic"]="Helvetica-Oblique",e.ArialBlack="Helvetica",e["ArialBlack-Bold"]="Helvetica-Bold",e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",e["ArialBlack-Italic"]="Helvetica-Oblique",e["Arial-Black"]="Helvetica",e["Arial-Black-Bold"]="Helvetica-Bold",e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Black-Italic"]="Helvetica-Oblique",e.Arial="Helvetica",e["Arial-Bold"]="Helvetica-Bold",e["Arial-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Italic"]="Helvetica-Oblique",e.ArialMT="Helvetica",e["Arial-BoldItalicMT"]="Helvetica-BoldOblique",e["Arial-BoldMT"]="Helvetica-Bold",e["Arial-ItalicMT"]="Helvetica-Oblique",e["Arial-BoldItalicMT-BoldItalic"]="Helvetica-BoldOblique",e["Arial-BoldMT-Bold"]="Helvetica-Bold",e["Arial-ItalicMT-Italic"]="Helvetica-Oblique",e.ArialUnicodeMS="Helvetica",e["ArialUnicodeMS-Bold"]="Helvetica-Bold",e["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",e["ArialUnicodeMS-Italic"]="Helvetica-Oblique",e["Courier-BoldItalic"]="Courier-BoldOblique",e["Courier-Italic"]="Courier-Oblique",e.CourierNew="Courier",e["CourierNew-Bold"]="Courier-Bold",e["CourierNew-BoldItalic"]="Courier-BoldOblique",e["CourierNew-Italic"]="Courier-Oblique",e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",e["CourierNewPS-BoldMT"]="Courier-Bold",e["CourierNewPS-ItalicMT"]="Courier-Oblique",e.CourierNewPSMT="Courier",e["Helvetica-BoldItalic"]="Helvetica-BoldOblique",e["Helvetica-Italic"]="Helvetica-Oblique",e["Symbol-Bold"]="Symbol",e["Symbol-BoldItalic"]="Symbol",e["Symbol-Italic"]="Symbol",e.TimesNewRoman="Times-Roman",e["TimesNewRoman-Bold"]="Times-Bold",e["TimesNewRoman-BoldItalic"]="Times-BoldItalic",e["TimesNewRoman-Italic"]="Times-Italic",e.TimesNewRomanPS="Times-Roman",e["TimesNewRomanPS-Bold"]="Times-Bold",e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",e["TimesNewRomanPS-BoldMT"]="Times-Bold",e["TimesNewRomanPS-Italic"]="Times-Italic",e["TimesNewRomanPS-ItalicMT"]="Times-Italic",e.TimesNewRomanPSMT="Times-Roman",e["TimesNewRomanPSMT-Bold"]="Times-Bold",e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPSMT-Italic"]="Times-Italic"});t.getStdFontMap=n;a=(0,r.getLookupTableFactory)(function(e){e.Courier="FoxitFixed.pfb",e["Courier-Bold"]="FoxitFixedBold.pfb",e["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",e["Courier-Oblique"]="FoxitFixedItalic.pfb",e.Helvetica="LiberationSans-Regular.ttf",e["Helvetica-Bold"]="LiberationSans-Bold.ttf",e["Helvetica-BoldOblique"]="LiberationSans-BoldItalic.ttf",e["Helvetica-Oblique"]="LiberationSans-Italic.ttf",e["Times-Roman"]="FoxitSerif.pfb",e["Times-Bold"]="FoxitSerifBold.pfb",e["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",e["Times-Italic"]="FoxitSerifItalic.pfb",e.Symbol="FoxitSymbol.pfb",e.ZapfDingbats="FoxitDingbats.pfb",e["LiberationSans-Regular"]="LiberationSans-Regular.ttf",e["LiberationSans-Bold"]="LiberationSans-Bold.ttf",e["LiberationSans-Italic"]="LiberationSans-Italic.ttf",e["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"}),t.getFontNameToFileMap=a,a=(0,r.getLookupTableFactory)(function(e){e.Calibri="Helvetica",e["Calibri-Bold"]="Helvetica-Bold",e["Calibri-BoldItalic"]="Helvetica-BoldOblique",e["Calibri-Italic"]="Helvetica-Oblique",e.CenturyGothic="Helvetica",e["CenturyGothic-Bold"]="Helvetica-Bold",e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",e["CenturyGothic-Italic"]="Helvetica-Oblique",e.ComicSansMS="Comic Sans MS",e["ComicSansMS-Bold"]="Comic Sans MS-Bold",e["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",e["ComicSansMS-Italic"]="Comic Sans MS-Italic",e.Impact="Helvetica",e["ItcSymbol-Bold"]="Helvetica-Bold",e["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",e["ItcSymbol-Book"]="Helvetica",e["ItcSymbol-BookItalic"]="Helvetica-Oblique",e["ItcSymbol-Medium"]="Helvetica",e["ItcSymbol-MediumItalic"]="Helvetica-Oblique",e.LucidaConsole="Courier",e["LucidaConsole-Bold"]="Courier-Bold",e["LucidaConsole-BoldItalic"]="Courier-BoldOblique",e["LucidaConsole-Italic"]="Courier-Oblique",e["LucidaSans-Demi"]="Helvetica-Bold",e["MS-Gothic"]="MS Gothic",e["MS-Gothic-Bold"]="MS Gothic-Bold",e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",e["MS-Gothic-Italic"]="MS Gothic-Italic",e["MS-Mincho"]="MS Mincho",e["MS-Mincho-Bold"]="MS Mincho-Bold",e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",e["MS-Mincho-Italic"]="MS Mincho-Italic",e["MS-PGothic"]="MS PGothic",e["MS-PGothic-Bold"]="MS PGothic-Bold",e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",e["MS-PGothic-Italic"]="MS PGothic-Italic",e["MS-PMincho"]="MS PMincho",e["MS-PMincho-Bold"]="MS PMincho-Bold",e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",e["MS-PMincho-Italic"]="MS PMincho-Italic",e.NuptialScript="Times-Italic",e.SegoeUISymbol="Helvetica"}),t.getNonStdFontMap=a,a=(0,r.getLookupTableFactory)(function(e){e["Adobe Jenson"]=!0,e["Adobe Text"]=!0,e.Albertus=!0,e.Aldus=!0,e.Alexandria=!0,e.Algerian=!0,e["American Typewriter"]=!0,e.Antiqua=!0,e.Apex=!0,e.Arno=!0,e.Aster=!0,e.Aurora=!0,e.Baskerville=!0,e.Bell=!0,e.Bembo=!0,e["Bembo Schoolbook"]=!0,e.Benguiat=!0,e["Berkeley Old Style"]=!0,e["Bernhard Modern"]=!0,e["Berthold City"]=!0,e.Bodoni=!0,e["Bauer Bodoni"]=!0,e["Book Antiqua"]=!0,e.Bookman=!0,e["Bordeaux Roman"]=!0,e["Californian FB"]=!0,e.Calisto=!0,e.Calvert=!0,e.Capitals=!0,e.Cambria=!0,e.Cartier=!0,e.Caslon=!0,e.Catull=!0,e.Centaur=!0,e["Century Old Style"]=!0,e["Century Schoolbook"]=!0,e.Chaparral=!0,e["Charis SIL"]=!0,e.Cheltenham=!0,e["Cholla Slab"]=!0,e.Clarendon=!0,e.Clearface=!0,e.Cochin=!0,e.Colonna=!0,e["Computer Modern"]=!0,e["Concrete Roman"]=!0,e.Constantia=!0,e["Cooper Black"]=!0,e.Corona=!0,e.Ecotype=!0,e.Egyptienne=!0,e.Elephant=!0,e.Excelsior=!0,e.Fairfield=!0,e["FF Scala"]=!0,e.Folkard=!0,e.Footlight=!0,e.FreeSerif=!0,e["Friz Quadrata"]=!0,e.Garamond=!0,e.Gentium=!0,e.Georgia=!0,e.Gloucester=!0,e["Goudy Old Style"]=!0,e["Goudy Schoolbook"]=!0,e["Goudy Pro Font"]=!0,e.Granjon=!0,e["Guardian Egyptian"]=!0,e.Heather=!0,e.Hercules=!0,e["High Tower Text"]=!0,e.Hiroshige=!0,e["Hoefler Text"]=!0,e["Humana Serif"]=!0,e.Imprint=!0,e["Ionic No. 5"]=!0,e.Janson=!0,e.Joanna=!0,e.Korinna=!0,e.Lexicon=!0,e.LiberationSerif=!0,e["Liberation Serif"]=!0,e["Linux Libertine"]=!0,e.Literaturnaya=!0,e.Lucida=!0,e["Lucida Bright"]=!0,e.Melior=!0,e.Memphis=!0,e.Miller=!0,e.Minion=!0,e.Modern=!0,e["Mona Lisa"]=!0,e["Mrs Eaves"]=!0,e["MS Serif"]=!0,e["Museo Slab"]=!0,e["New York"]=!0,e["Nimbus Roman"]=!0,e["NPS Rawlinson Roadway"]=!0,e.NuptialScript=!0,e.Palatino=!0,e.Perpetua=!0,e.Plantin=!0,e["Plantin Schoolbook"]=!0,e.Playbill=!0,e["Poor Richard"]=!0,e["Rawlinson Roadway"]=!0,e.Renault=!0,e.Requiem=!0,e.Rockwell=!0,e.Roman=!0,e["Rotis Serif"]=!0,e.Sabon=!0,e.Scala=!0,e.Seagull=!0,e.Sistina=!0,e.Souvenir=!0,e.STIX=!0,e["Stone Informal"]=!0,e["Stone Serif"]=!0,e.Sylfaen=!0,e.Times=!0,e.Trajan=!0,e["Trinité"]=!0,e["Trump Mediaeval"]=!0,e.Utopia=!0,e["Vale Type"]=!0,e["Bitstream Vera"]=!0,e["Vera Serif"]=!0,e.Versailles=!0,e.Wanted=!0,e.Weiss=!0,e["Wide Latin"]=!0,e.Windsor=!0,e.XITS=!0}),t.getSerifFonts=a,a=(0,r.getLookupTableFactory)(function(e){e.Dingbats=!0,e.Symbol=!0,e.ZapfDingbats=!0}),t.getSymbolsFonts=a,a=(0,r.getLookupTableFactory)(function(e){e[2]=10,e[3]=32,e[4]=33,e[5]=34,e[6]=35,e[7]=36,e[8]=37,e[9]=38,e[10]=39,e[11]=40,e[12]=41,e[13]=42,e[14]=43,e[15]=44,e[16]=45,e[17]=46,e[18]=47,e[19]=48,e[20]=49,e[21]=50,e[22]=51,e[23]=52,e[24]=53,e[25]=54,e[26]=55,e[27]=56,e[28]=57,e[29]=58,e[30]=894,e[31]=60,e[32]=61,e[33]=62,e[34]=63,e[35]=64,e[36]=65,e[37]=66,e[38]=67,e[39]=68,e[40]=69,e[41]=70,e[42]=71,e[43]=72,e[44]=73,e[45]=74,e[46]=75,e[47]=76,e[48]=77,e[49]=78,e[50]=79,e[51]=80,e[52]=81,e[53]=82,e[54]=83,e[55]=84,e[56]=85,e[57]=86,e[58]=87,e[59]=88,e[60]=89,e[61]=90,e[62]=91,e[63]=92,e[64]=93,e[65]=94,e[66]=95,e[67]=96,e[68]=97,e[69]=98,e[70]=99,e[71]=100,e[72]=101,e[73]=102,e[74]=103,e[75]=104,e[76]=105,e[77]=106,e[78]=107,e[79]=108,e[80]=109,e[81]=110,e[82]=111,e[83]=112,e[84]=113,e[85]=114,e[86]=115,e[87]=116,e[88]=117,e[89]=118,e[90]=119,e[91]=120,e[92]=121,e[93]=122,e[94]=123,e[95]=124,e[96]=125,e[97]=126,e[98]=196,e[99]=197,e[100]=199,e[101]=201,e[102]=209,e[103]=214,e[104]=220,e[105]=225,e[106]=224,e[107]=226,e[108]=228,e[109]=227,e[110]=229,e[111]=231,e[112]=233,e[113]=232,e[114]=234,e[115]=235,e[116]=237,e[117]=236,e[118]=238,e[119]=239,e[120]=241,e[121]=243,e[122]=242,e[123]=244,e[124]=246,e[125]=245,e[126]=250,e[127]=249,e[128]=251,e[129]=252,e[130]=8224,e[131]=176,e[132]=162,e[133]=163,e[134]=167,e[135]=8226,e[136]=182,e[137]=223,e[138]=174,e[139]=169,e[140]=8482,e[141]=180,e[142]=168,e[143]=8800,e[144]=198,e[145]=216,e[146]=8734,e[147]=177,e[148]=8804,e[149]=8805,e[150]=165,e[151]=181,e[152]=8706,e[153]=8721,e[154]=8719,e[156]=8747,e[157]=170,e[158]=186,e[159]=8486,e[160]=230,e[161]=248,e[162]=191,e[163]=161,e[164]=172,e[165]=8730,e[166]=402,e[167]=8776,e[168]=8710,e[169]=171,e[170]=187,e[171]=8230,e[179]=8220,e[180]=8221,e[181]=8216,e[182]=8217,e[200]=193,e[203]=205,e[207]=211,e[210]=218,e[223]=711,e[224]=321,e[225]=322,e[226]=352,e[227]=353,e[228]=381,e[229]=382,e[233]=221,e[234]=253,e[252]=263,e[253]=268,e[254]=269,e[258]=258,e[260]=260,e[261]=261,e[265]=280,e[266]=281,e[267]=282,e[268]=283,e[269]=313,e[275]=323,e[276]=324,e[278]=328,e[283]=344,e[284]=345,e[285]=346,e[286]=347,e[292]=367,e[295]=377,e[296]=378,e[298]=380,e[305]=963,e[306]=964,e[307]=966,e[308]=8215,e[309]=8252,e[310]=8319,e[311]=8359,e[312]=8592,e[313]=8593,e[337]=9552,e[493]=1039,e[494]=1040,e[672]=1488,e[673]=1489,e[674]=1490,e[675]=1491,e[676]=1492,e[677]=1493,e[678]=1494,e[679]=1495,e[680]=1496,e[681]=1497,e[682]=1498,e[683]=1499,e[684]=1500,e[685]=1501,e[686]=1502,e[687]=1503,e[688]=1504,e[689]=1505,e[690]=1506,e[691]=1507,e[692]=1508,e[693]=1509,e[694]=1510,e[695]=1511,e[696]=1512,e[697]=1513,e[698]=1514,e[705]=1524,e[706]=8362,e[710]=64288,e[711]=64298,e[759]=1617,e[761]=1776,e[763]=1778,e[775]=1652,e[777]=1764,e[778]=1780,e[779]=1781,e[780]=1782,e[782]=771,e[783]=64726,e[786]=8363,e[788]=8532,e[790]=768,e[791]=769,e[792]=768,e[795]=803,e[797]=64336,e[798]=64337,e[799]=64342,e[800]=64343,e[801]=64344,e[802]=64345,e[803]=64362,e[804]=64363,e[805]=64364,e[2424]=7821,e[2425]=7822,e[2426]=7823,e[2427]=7824,e[2428]=7825,e[2429]=7826,e[2430]=7827,e[2433]=7682,e[2678]=8045,e[2679]=8046,e[2830]=1552,e[2838]=686,e[2840]=751,e[2842]=753,e[2843]=754,e[2844]=755,e[2846]=757,e[2856]=767,e[2857]=848,e[2858]=849,e[2862]=853,e[2863]=854,e[2864]=855,e[2865]=861,e[2866]=862,e[2906]=7460,e[2908]=7462,e[2909]=7463,e[2910]=7464,e[2912]=7466,e[2913]=7467,e[2914]=7468,e[2916]=7470,e[2917]=7471,e[2918]=7472,e[2920]=7474,e[2921]=7475,e[2922]=7476,e[2924]=7478,e[2925]=7479,e[2926]=7480,e[2928]=7482,e[2929]=7483,e[2930]=7484,e[2932]=7486,e[2933]=7487,e[2934]=7488,e[2936]=7490,e[2937]=7491,e[2938]=7492,e[2940]=7494,e[2941]=7495,e[2942]=7496,e[2944]=7498,e[2946]=7500,e[2948]=7502,e[2950]=7504,e[2951]=7505,e[2952]=7506,e[2954]=7508,e[2955]=7509,e[2956]=7510,e[2958]=7512,e[2959]=7513,e[2960]=7514,e[2962]=7516,e[2963]=7517,e[2964]=7518,e[2966]=7520,e[2967]=7521,e[2968]=7522,e[2970]=7524,e[2971]=7525,e[2972]=7526,e[2974]=7528,e[2975]=7529,e[2976]=7530,e[2978]=1537,e[2979]=1538,e[2980]=1539,e[2982]=1549,e[2983]=1551,e[2984]=1552,e[2986]=1554,e[2987]=1555,e[2988]=1556,e[2990]=1623,e[2991]=1624,e[2995]=1775,e[2999]=1791,e[3002]=64290,e[3003]=64291,e[3004]=64292,e[3006]=64294,e[3007]=64295,e[3008]=64296,e[3011]=1900,e[3014]=8223,e[3015]=8244,e[3017]=7532,e[3018]=7533,e[3019]=7534,e[3075]=7590,e[3076]=7591,e[3079]=7594,e[3080]=7595,e[3083]=7598,e[3084]=7599,e[3087]=7602,e[3088]=7603,e[3091]=7606,e[3092]=7607,e[3095]=7610,e[3096]=7611,e[3099]=7614,e[3100]=7615,e[3103]=7618,e[3104]=7619,e[3107]=8337,e[3108]=8338,e[3116]=1884,e[3119]=1885,e[3120]=1885,e[3123]=1886,e[3124]=1886,e[3127]=1887,e[3128]=1887,e[3131]=1888,e[3132]=1888,e[3135]=1889,e[3136]=1889,e[3139]=1890,e[3140]=1890,e[3143]=1891,e[3144]=1891,e[3147]=1892,e[3148]=1892,e[3153]=580,e[3154]=581,e[3157]=584,e[3158]=585,e[3161]=588,e[3162]=589,e[3165]=891,e[3166]=892,e[3169]=1274,e[3170]=1275,e[3173]=1278,e[3174]=1279,e[3181]=7622,e[3182]=7623,e[3282]=11799,e[3316]=578,e[3379]=42785,e[3393]=1159,e[3416]=8377}),t.getGlyphMapForStandardFonts=a,a=(0,r.getLookupTableFactory)(function(e){e[227]=322,e[264]=261,e[291]=346}),t.getSupplementalGlyphMapForArialBlack=a,a=(0,r.getLookupTableFactory)(function(e){e[1]=32,e[4]=65,e[5]=192,e[6]=193,e[9]=196,e[17]=66,e[18]=67,e[21]=268,e[24]=68,e[28]=69,e[29]=200,e[30]=201,e[32]=282,e[38]=70,e[39]=71,e[44]=72,e[47]=73,e[48]=204,e[49]=205,e[58]=74,e[60]=75,e[62]=76,e[68]=77,e[69]=78,e[75]=79,e[76]=210,e[80]=214,e[87]=80,e[89]=81,e[90]=82,e[92]=344,e[94]=83,e[97]=352,e[100]=84,e[104]=85,e[109]=220,e[115]=86,e[116]=87,e[121]=88,e[122]=89,e[124]=221,e[127]=90,e[129]=381,e[258]=97,e[259]=224,e[260]=225,e[263]=228,e[268]=261,e[271]=98,e[272]=99,e[273]=263,e[275]=269,e[282]=100,e[286]=101,e[287]=232,e[288]=233,e[290]=283,e[295]=281,e[296]=102,e[336]=103,e[346]=104,e[349]=105,e[350]=236,e[351]=237,e[361]=106,e[364]=107,e[367]=108,e[371]=322,e[373]=109,e[374]=110,e[381]=111,e[382]=242,e[383]=243,e[386]=246,e[393]=112,e[395]=113,e[396]=114,e[398]=345,e[400]=115,e[401]=347,e[403]=353,e[410]=116,e[437]=117,e[442]=252,e[448]=118,e[449]=119,e[454]=120,e[455]=121,e[457]=253,e[460]=122,e[462]=382,e[463]=380,e[853]=44,e[855]=58,e[856]=46,e[876]=47,e[878]=45,e[882]=45,e[894]=40,e[895]=41,e[896]=91,e[897]=93,e[923]=64,e[1004]=48,e[1005]=49,e[1006]=50,e[1007]=51,e[1008]=52,e[1009]=53,e[1010]=54,e[1011]=55,e[1012]=56,e[1013]=57,e[1081]=37,e[1085]=43,e[1086]=45});t.getSupplementalGlyphMapForCalibri=a},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ToUnicodeMap=t.IdentityToUnicodeMap=void 0;var r=a(2);t.ToUnicodeMap=class{constructor(e=[]){this._map=e}get length(){return this._map.length}forEach(e){for(const t in this._map)e(t,this._map[t].charCodeAt(0))}has(e){return void 0!==this._map[e]}get(e){return this._map[e]}charCodeOf(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(const a in t)if(t[a]===e)return 0|a;return-1}amend(e){for(const t in e)this._map[t]=e[t]}},t.IdentityToUnicodeMap=class{constructor(e,t){this.firstChar=e,this.lastChar=t}get length(){return this.lastChar+1-this.firstChar}forEach(a){for(let e=this.firstChar,t=this.lastChar;e<=t;e++)a(e,e)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){(0,r.unreachable)("Should not call amend()")}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CFFFont=void 0;var i=a(35),l=a(38),n=a(2);t.CFFFont=class{constructor(e,t){this.properties=t;var a=new i.CFFParser(e,t,l.SEAC_ANALYSIS_ENABLED),r=(this.cff=a.parse(),this.cff.duplicateFirstGlyph(),new i.CFFCompiler(this.cff));this.seacs=this.cff.seacs;try{this.data=r.compile()}catch(a){(0,n.warn)("Failed to compile font "+t.loadedName),this.data=e}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const t=this.cff,a=this.properties,{cidToGidMap:r,cMap:i}=a,n=t.charset.charset;let s,o;if(a.composite){let a,e;if(0<r?.length){a=Object.create(null);for(let e=0,t=r.length;e<t;e++){const i=r[e];void 0!==i&&(a[i]=e)}}if(s=Object.create(null),t.isCIDFont)for(o=0;o<n.length;o++){const t=n[o];e=i.charCodeOf(t),void 0!==a?.[e]&&(e=a[e]),s[e]=o}else for(o=0;o<t.charStrings.count;o++)e=i.charCodeOf(o),s[e]=o}else{let e=t.encoding?t.encoding.encoding:null;a.isInternalFont&&(e=a.defaultEncoding),s=(0,l.type1FontGlyphMapping)(a,e,n)}return s}hasGlyphId(e){return this.cff.hasGlyphId(e)}_createBuiltInEncoding(){const{charset:e,encoding:t}=this.cff;if(e&&t){const a=e.charset,r=t.encoding,i=[];for(const e in r){const t=r[e];if(0<=t){const r=a[t];r&&(i[e]=r)}}0<i.length&&(this.properties.builtInEncoding=i)}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontRendererFactory=void 0;var F=a(2),b=a(35),i=a(39),O=a(37),y=a(8);function w(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function v(e,t){return e[t]<<8|e[t+1]}function x(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function S(e,t){return e[t]<<24>>24}function k(e,t){return x(e,t)/16384}function I(e){e=e.length;let t=32768;return e<1240?t=107:e<33900&&(t=1131),t}function T(e,t){var a=t.codePointAt(0);let r=0,i=0,n=e.length-1;for(;i<n;){const t=i+n+1>>1;a<e[t].start?n=t-1:i=t}return{charCode:a,glyphId:r=e[i].start<=a&&a<=e[i].end?e[i].idDelta+(e[i].ids?e[i].ids[a-e[i].start]:a)&65535:r}}const n=[];class r{constructor(e){this.constructor===r&&(0,F.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=e,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}getPathJs(e){var{charCode:t,glyphId:a}=T(this.cmap,e);let r=this.compiledGlyphs[a];if(!r)try{r=this.compileGlyph(this.glyphs[a],a),this.compiledGlyphs[a]=r}catch(e){throw this.compiledGlyphs[a]=n,void 0===this.compiledCharCodeToGlyphId[t]&&(this.compiledCharCodeToGlyphId[t]=a),e}return void 0===this.compiledCharCodeToGlyphId[t]&&(this.compiledCharCodeToGlyphId[t]=a),r}compileGlyph(e,t){if(!e||0===e.length||14===e[0])return n;let a=this.fontMatrix;if(this.isCFFCIDFont){const e=this.fdSelect.getFDIndex(t);0<=e&&e<this.fdArray.length?a=this.fdArray[e].getByName("FontMatrix")||F.FONT_IDENTITY_MATRIX:(0,F.warn)("Invalid fd index for glyph index.")}var r=[{cmd:"save"},{cmd:"transform",args:a.slice()},{cmd:"scale",args:["size","-size"]}];return this.compileGlyphImpl(e,r,t),r.push({cmd:"restore"}),r}compileGlyphImpl(){(0,F.unreachable)("Children classes should implement this.")}hasBuiltPath(e){var{charCode:e,glyphId:t}=T(this.cmap,e);return void 0!==this.compiledGlyphs[t]&&void 0!==this.compiledCharCodeToGlyphId[e]}}class A extends r{constructor(e,t,a){super(a||[488e-6,0,0,488e-6,0,0]),this.glyphs=e,this.cmap=t}compileGlyphImpl(e,t){!function s(o,l,c){function h(e,t){l.push({cmd:"moveTo",args:[e,t]})}function r(e,t){l.push({cmd:"lineTo",args:[e,t]})}function i(e,t,a,r){l.push({cmd:"quadraticCurveTo",args:[e,t,a,r]})}let u=0;const n=x(o,u);let d,f=0,g=0;if(u+=10,n<0)do{d=v(o,u);const h=v(o,u+2);let e,t,a=(u+=4,1&d?(t=(2&d?(e=x(o,u),x):(e=v(o,u),v))(o,u+2),u+=4):t=2&d?(e=S(o,u++),S(o,u++)):(e=o[u++],o[u++]),g=2&d?(f=e,t):f=0,1),r=1,i=0,n=0;8&d?(a=r=k(o,u),u+=2):64&d?(a=k(o,u),r=k(o,u+2),u+=4):128&d&&(a=k(o,u),i=k(o,u+2),n=k(o,u+4),r=k(o,u+6),u+=8);var p=c.glyphs[h];p&&(l.push({cmd:"save"},{cmd:"transform",args:[a,i,n,r,f,g]}),s(p,l,c),l.push({cmd:"restore"}))}while(32&d);else{const l=[];let e,t;for(e=0;e<n;e++)l.push(v(o,u)),u+=2;u+=2+v(o,u);const k=l.at(-1)+1,m=[];for(;m.length<k;){let e=1;for(8&(d=o[u++])&&(e+=o[u++]);0<e--;)m.push({flags:d})}for(e=0;e<k;e++){switch(18&m[e].flags){case 0:f+=x(o,u),u+=2;break;case 2:f-=o[u++];break;case 18:f+=o[u++]}m[e].x=f}for(e=0;e<k;e++){switch(36&m[e].flags){case 0:g+=x(o,u),u+=2;break;case 4:g-=o[u++];break;case 36:g+=o[u++]}m[e].y=g}let a=0;for(u=0;u<n;u++){const o=l[u],n=m.slice(a,o+1);if(1&n[0].flags)n.push(n[0]);else if(1&n.at(-1).flags)n.unshift(n.at(-1));else{const o={flags:1,x:(n[0].x+n.at(-1).x)/2,y:(n[0].y+n.at(-1).y)/2};n.unshift(o),n.push(o)}for(h(n[0].x,n[0].y),e=1,t=n.length;e<t;e++)1&n[e].flags?r(n[e].x,n[e].y):1&n[e+1].flags?(i(n[e].x,n[e].y,n[e+1].x,n[e+1].y),e++):i(n[e].x,n[e].y,(n[e].x+n[e+1].x)/2,(n[e].y+n[e+1].y)/2);a=o+1}}}(e,t,this)}}class C extends r{constructor(e,t,a,r){super(a||[.001,0,0,.001,0,0]),this.glyphs=e.glyphs,this.gsubrs=e.gsubrs||[],this.subrs=e.subrs||[],this.cmap=t,this.glyphNameMap=r||(0,i.getGlyphsUnicode)(),this.gsubrsBias=I(this.gsubrs),this.subrsBias=I(this.subrs),this.isCFFCIDFont=e.isCFFCIDFont,this.fdSelect=e.fdSelect,this.fdArray=e.fdArray}compileGlyphImpl(e,t,a){!function p(e,m,b,y){function w(e,t){m.push({cmd:"moveTo",args:[e,t]})}function v(e,t){m.push({cmd:"lineTo",args:[e,t]})}function x(e,t,a,r,i,n){m.push({cmd:"bezierCurveTo",args:[e,t,a,r,i,n]})}const S=[];let k=0,A=0,C=0;!function u(d){let f=0;for(;f<d.length;){let e,t,a,r,i,n,s,o,l,c=!1,h=d[f++];switch(h){case 1:case 3:case 18:case 23:C+=S.length>>1,c=!0;break;case 4:A+=S.pop(),w(k,A),c=!0;break;case 5:for(;0<S.length;)k+=S.shift(),A+=S.shift(),v(k,A);break;case 6:for(;0<S.length&&(v(k+=S.shift(),A),0!==S.length);)A+=S.shift(),v(k,A);break;case 7:for(;0<S.length&&(A+=S.shift(),v(k,A),0!==S.length);)v(k+=S.shift(),A);break;case 8:for(;0<S.length;)e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A);break;case 10:if(o=S.pop(),l=null,b.isCFFCIDFont){const u=b.fdSelect.getFDIndex(y);if(0<=u&&u<b.fdArray.length){const m=b.fdArray[u];let e;(e=m.privateDict?.subrsIndex?m.privateDict.subrsIndex.objects:e)&&(o+=I(e),l=e[o])}else(0,F.warn)("Invalid fd index for glyph index.")}else l=b.subrs[o+b.subrsBias];l&&u(l);break;case 11:return;case 12:switch(h=d[f++]){case 34:e=k+S.shift(),t=e+S.shift(),i=A+S.shift(),k=t+S.shift(),x(e,A,t,i,k,i),e=k+S.shift(),t=e+S.shift(),k=t+S.shift(),x(e,i,t,A,k,A);break;case 35:e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A),e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A),S.pop();break;case 36:e=k+S.shift(),i=A+S.shift(),t=e+S.shift(),n=i+S.shift(),k=t+S.shift(),x(e,i,t,n,k,n),e=k+S.shift(),t=e+S.shift(),s=n+S.shift(),k=t+S.shift(),x(e,n,t,s,k,A);break;case 37:const u=k,m=A;e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A),e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t,A=r,Math.abs(k-u)>Math.abs(A-m)?k+=S.shift():A+=S.shift(),x(e,a,t,r,k,A);break;default:throw new F.FormatError("unknown operator: 12 "+h)}break;case 14:if(4<=S.length){const u=S.pop(),F=S.pop();A=S.pop(),k=S.pop(),m.push({cmd:"save"},{cmd:"translate",args:[k,A]});var g=T(b.cmap,String.fromCharCode(b.glyphNameMap[O.StandardEncoding[u]]));p(b.glyphs[g.glyphId],m,b,g.glyphId),m.push({cmd:"restore"}),g=T(b.cmap,String.fromCharCode(b.glyphNameMap[O.StandardEncoding[F]])),p(b.glyphs[g.glyphId],m,b,g.glyphId)}return;case 19:case 20:C+=S.length>>1,f+=C+7>>3,c=!0;break;case 21:A+=S.pop(),w(k+=S.pop(),A),c=!0;break;case 22:w(k+=S.pop(),A),c=!0;break;case 24:for(;2<S.length;)e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A);k+=S.shift(),A+=S.shift(),v(k,A);break;case 25:for(;6<S.length;)k+=S.shift(),A+=S.shift(),v(k,A);e=k+S.shift(),a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+S.shift(),x(e,a,t,r,k,A);break;case 26:for(S.length%2&&(k+=S.shift());0<S.length;)e=k,a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t,A=r+S.shift(),x(e,a,t,r,k,A);break;case 27:for(S.length%2&&(A+=S.shift());0<S.length;)e=k+S.shift(),a=A,t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r,x(e,a,t,r,k,A);break;case 28:S.push((d[f]<<24|d[f+1]<<16)>>16),f+=2;break;case 29:o=S.pop()+b.gsubrsBias,(l=b.gsubrs[o])&&u(l);break;case 30:for(;0<S.length&&(e=k,a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+(1===S.length?S.shift():0),x(e,a,t,r,k,A),0!==S.length);)e=k+S.shift(),a=A,t=e+S.shift(),r=a+S.shift(),A=r+S.shift(),k=t+(1===S.length?S.shift():0),x(e,a,t,r,k,A);break;case 31:for(;0<S.length&&(e=k+S.shift(),a=A,t=e+S.shift(),r=a+S.shift(),A=r+S.shift(),k=t+(1===S.length?S.shift():0),x(e,a,t,r,k,A),0!==S.length);)e=k,a=A+S.shift(),t=e+S.shift(),r=a+S.shift(),k=t+S.shift(),A=r+(1===S.length?S.shift():0),x(e,a,t,r,k,A);break;default:if(h<32)throw new F.FormatError("unknown operator: "+h);h<247?S.push(h-139):h<251?S.push(256*(h-247)+d[f++]+108):h<255?S.push(256*-(h-251)-d[f++]-108):(S.push((d[f]<<24|d[f+1]<<16|d[f+2]<<8|d[f+3])/65536),f+=4)}c&&(S.length=0)}}(e)}(e,t,this,a)}}t.FontRendererFactory=class{static create(a,r){var i,n,s,o,l=new Uint8Array(a.data);let c,h,u,d,f,g;const p=v(l,4);for(let e=0,t=12;e<p;e++,t+=16){const a=(0,F.bytesToString)(l.subarray(t,t+4)),p=w(l,t+8),m=w(l,t+12);switch(a){case"cmap":c=function(r,e){var t=1===v(r,e+2)?w(r,e+8):w(r,e+16),a=v(r,e+t);let i,n,s;if(4===a){v(r,e+t+2);const o=v(r,e+t+6)>>1;for(n=e+t+14,i=[],s=0;s<o;s++,n+=2)i[s]={end:v(r,n)};for(n+=2,s=0;s<o;s++,n+=2)i[s].start=v(r,n);for(s=0;s<o;s++,n+=2)i[s].idDelta=v(r,n);for(s=0;s<o;s++,n+=2){let a=v(r,n);if(0!==a){i[s].ids=[];for(let e=0,t=i[s].end-i[s].start+1;e<t;e++)i[s].ids[e]=v(r,n+a),a+=2}}return i}if(12!==a)throw new F.FormatError("unsupported cmap: "+a);{const o=w(r,e+t+12);for(n=e+t+16,i=[],s=0;s<o;s++)e=w(r,n),i.push({start:e,end:w(r,n+4),idDelta:w(r,n+8)-e}),n+=12;return i}}(l,p);break;case"glyf":h=l.subarray(p,p+m);break;case"loca":u=l.subarray(p,p+m);break;case"head":g=v(l,p+18),f=v(l,p+50);break;case"CFF ":d=(i=l,n=p,s=p+m,o=r,{glyphs:(i=new b.CFFParser(new y.Stream(i,n,s-n),{},o).parse()).charStrings.objects,subrs:i.topDict.privateDict?.subrsIndex?.objects,gsubrs:i.globalSubrIndex?.objects,isCFFCIDFont:i.isCIDFont,fdSelect:i.fdSelect,fdArray:i.fdArray})}}if(h){const r=g?[1/g,0,0,1/g,0,0]:a.fontMatrix;return new A(function(t,a,e){let r,i;var n=[];let s=(i=e?(r=4,w):(r=2,(e,t)=>2*v(e,t)))(a,0);for(let e=r;e<a.length;e+=r){const r=i(a,e);n.push(t.subarray(s,r)),s=r}return n}(h,u,f),c,r)}return new C(d,c,a.fontMatrix,a.glyphNameMap)}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMetrics=t.getFontBasicMetrics=void 0;var r=a(3),a=(0,r.getLookupTableFactory)(function(e){e.Courier=600,e["Courier-Bold"]=600,e["Courier-BoldOblique"]=600,e["Courier-Oblique"]=600,e.Helvetica=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),e["Helvetica-Bold"]=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),e["Helvetica-BoldOblique"]=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),e["Helvetica-Oblique"]=(0,r.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),e.Symbol=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),e["Times-Roman"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),e["Times-Bold"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),e["Times-BoldItalic"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),e["Times-Italic"]=(0,r.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),e.ZapfDingbats=(0,r.getLookupTableFactory)(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})}),a=(t.getMetrics=a,(0,r.getLookupTableFactory)(function(e){e.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},e["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},e["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},e.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},e["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},e["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},e["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},e["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},e["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},e.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},e.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}}));t.getFontBasicMetrics=a},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlyfTable=void 0,t.GlyfTable=class{constructor({glyfTable:t,isGlyphLocationsLong:a,locaTable:r,numGlyphs:i}){this.glyphs=[];var n=new DataView(r.buffer,r.byteOffset,r.byteLength),s=new DataView(t.buffer,t.byteOffset,t.byteLength),o=a?4:2;let l=a?n.getUint32(0):2*n.getUint16(0),c=0;for(let e=0;e<i;e++){c+=o;const t=a?n.getUint32(c):2*n.getUint16(c);if(t===l)this.glyphs.push(new h({}));else{const r=h.parse(l,s);this.glyphs.push(r),l=t}}}getSize(){return this.glyphs.reduce((e,t)=>e+(t.getSize()+3&-4),0)}write(){const e=this.getSize(),t=new DataView(new ArrayBuffer(e)),a=131070<e,r=a?4:2,i=new DataView(new ArrayBuffer((this.glyphs.length+1)*r));a?i.setUint32(0,0):i.setUint16(0,0);let n=0,s=0;for(const e of this.glyphs)n+=e.write(n,t),n=n+3&-4,s+=r,a?i.setUint32(s,n):i.setUint16(s,n>>1);return{isLocationLong:a,loca:new Uint8Array(i.buffer),glyf:new Uint8Array(t.buffer)}}scale(a){for(let e=0,t=this.glyphs.length;e<t;e++)this.glyphs[e].scale(a[e])}};class h{constructor({header:e=null,simple:t=null,composites:a=null}){this.header=e,this.simple=t,this.composites=a}static parse(e,t){const[a,r]=n.parse(e,t);if(e+=a,r.numberOfContours<0){const n=[];for(;;){const[h,a]=c.parse(e,t);if(e+=h,n.push(a),!(32&a.flags))break}return new h({header:r,composites:n})}var i=b.parse(e,t,r.numberOfContours);return new h({header:r,simple:i})}getSize(){var e;return this.header?(e=this.simple?this.simple.getSize():this.composites.reduce((e,t)=>e+t.getSize(),0),this.header.getSize()+e):0}write(e,t){if(!this.header)return 0;const a=e;if(e+=this.header.write(e,t),this.simple)e+=this.simple.write(e,t);else for(const a of this.composites)e+=a.write(e,t);return e-a}scale(e){if(this.header){var t=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(t,e),this.simple)this.simple.scale(t,e);else for(const a of this.composites)a.scale(t,e)}}}class n{constructor({numberOfContours:e,xMin:t,yMin:a,xMax:r,yMax:i}){this.numberOfContours=e,this.xMin=t,this.yMin=a,this.xMax=r,this.yMax=i}static parse(e,t){return[10,new n({numberOfContours:t.getInt16(e),xMin:t.getInt16(e+2),yMin:t.getInt16(e+4),xMax:t.getInt16(e+6),yMax:t.getInt16(e+8)})]}getSize(){return 10}write(e,t){return t.setInt16(e,this.numberOfContours),t.setInt16(e+2,this.xMin),t.setInt16(e+4,this.yMin),t.setInt16(e+6,this.xMax),t.setInt16(e+8,this.yMax),10}scale(e,t){this.xMin=Math.round(e+(this.xMin-e)*t),this.xMax=Math.round(e+(this.xMax-e)*t)}}class m{constructor({flags:e,xCoordinates:t,yCoordinates:a}){this.xCoordinates=t,this.yCoordinates=a,this.flags=e}}class b{constructor({contours:e,instructions:t}){this.contours=e,this.instructions=t}static parse(t,a,r){var i=[];for(let e=0;e<r;e++){const r=a.getUint16(t);t+=2,i.push(r)}var n=i[r-1]+1,e=a.getUint16(t),s=(t+=2,new Uint8Array(a).slice(t,t+e)),o=(t+=e,[]);for(let e=0;e<n;t++,e++){var l=a.getUint8(t);if(o.push(l),8&l){const m=a.getUint8(++t);l^=8;for(let e=0;e<m;e++)o.push(l);e+=m}}var c=[];let h=[],u=[],d=[];var f=[];let g=0,p=0;for(let e=0;e<n;e++){const m=o[e];if(2&m){const r=a.getUint8(t++);p+=16&m?r:-r}else 16&m||(p+=a.getInt16(t),t+=2);h.push(p),i[g]===e&&(g++,c.push(h),h=[])}p=0;for(let e=g=0;e<n;e++){const b=o[e];if(4&b){const r=a.getUint8(t++);p+=32&b?r:-r}else 32&b||(p+=a.getInt16(t),t+=2);u.push(p),d.push(1&b|64&b),i[g]===e&&(h=c[g],g++,f.push(new m({flags:d,xCoordinates:h,yCoordinates:u})),u=[],d=[])}return new b({contours:f,instructions:s})}getSize(){let a=2*this.contours.length+2+this.instructions.length,r=0,i=0;for(const l of this.contours){a+=l.flags.length;for(let e=0,t=l.xCoordinates.length;e<t;e++){var n=l.xCoordinates[e],s=l.yCoordinates[e],o=Math.abs(n-r);255<o?a+=2:0<o&&(a+=1),r=n,255<(o=Math.abs(s-i))?a+=2:0<o&&(a+=1),i=s}}return a}write(a,r){const i=a,n=[],s=[],o=[];let l=0,c=0;for(const i of this.contours){for(let t=0,e=i.xCoordinates.length;t<e;t++){let e=i.flags[t];var h=i.xCoordinates[t],u=h-l;if(0==u)e|=16,n.push(0);else{const a=Math.abs(u);a<=255?(e|=0<=u?18:2,n.push(a)):n.push(u)}l=h;h=i.yCoordinates[t];if(0==(u=h-c))e|=32,s.push(0);else{const a=Math.abs(u);a<=255?(e|=0<=u?36:4,s.push(a)):s.push(u)}c=h,o.push(e)}r.setUint16(a,n.length-1),a+=2}r.setUint16(a,this.instructions.length),a+=2,this.instructions.length&&(new Uint8Array(r.buffer,0,r.buffer.byteLength).set(this.instructions,a),a+=this.instructions.length);for(const i of o)r.setUint8(a++,i);for(let e=0,t=n.length;e<t;e++){const s=n[e],l=o[e];2&l?r.setUint8(a++,s):16&l||(r.setInt16(a,s),a+=2)}for(let e=0,t=s.length;e<t;e++){const n=s[e],l=o[e];4&l?r.setUint8(a++,n):32&l||(r.setInt16(a,n),a+=2)}return a-i}scale(a,r){for(const i of this.contours)if(0!==i.xCoordinates.length)for(let e=0,t=i.xCoordinates.length;e<t;e++)i.xCoordinates[e]=Math.round(a+(i.xCoordinates[e]-a)*r)}}class c{constructor({flags:e,glyphIndex:t,argument1:a,argument2:r,transf:i,instructions:n}){this.flags=e,this.glyphIndex=t,this.argument1=a,this.argument2=r,this.transf=i,this.instructions=n}static parse(e,t){const a=e,r=[];let i=t.getUint16(e);var n=t.getUint16(e+2);let s,o,l=(e+=4,1&i?(o=2&i?(s=t.getInt16(e),t.getInt16(e+2)):(s=t.getUint16(e),t.getUint16(e+2)),e+=4,i^=1):(o=2&i?(s=t.getInt8(e),t.getInt8(e+1)):(s=t.getUint8(e),t.getUint8(e+1)),e+=2),8&i?(r.push(t.getUint16(e)),e+=2):64&i?(r.push(t.getUint16(e),t.getUint16(e+2)),e+=4):128&i&&(r.push(t.getUint16(e),t.getUint16(e+2),t.getUint16(e+4),t.getUint16(e+6)),e+=8),null);if(256&i){const a=t.getUint16(e);e+=2,l=new Uint8Array(t).slice(e,e+a),e+=a}return[e-a,new c({flags:i,glyphIndex:n,argument1:s,argument2:o,transf:r,instructions:l})]}getSize(){let e=4+2*this.transf.length;return 256&this.flags&&(e+=2+this.instructions.length),e+=2,2&this.flags?-128<=this.argument1&&this.argument1<=127&&-128<=this.argument2&&this.argument2<=127||(e+=2):0<=this.argument1&&this.argument1<=255&&0<=this.argument2&&this.argument2<=255||(e+=2),e}write(e,t){var a=e;return 2&this.flags?-128<=this.argument1&&this.argument1<=127&&-128<=this.argument2&&this.argument2<=127||(this.flags|=1):0<=this.argument1&&this.argument1<=255&&0<=this.argument2&&this.argument2<=255||(this.flags|=1),t.setUint16(e,this.flags),t.setUint16(e+2,this.glyphIndex),e+=4,1&this.flags?(2&this.flags?(t.setInt16(e,this.argument1),t.setInt16(e+2,this.argument2)):(t.setUint16(e,this.argument1),t.setUint16(e+2,this.argument2)),e+=4):(t.setUint8(e,this.argument1),t.setUint8(e+1,this.argument2),e+=2),256&this.flags&&(t.setUint16(e,this.instructions.length),e+=2,this.instructions.length)&&(new Uint8Array(t.buffer,0,t.buffer.byteLength).set(this.instructions,e),e+=this.instructions.length),e-a}scale(e,t){}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OpenTypeFileBuilder=void 0;var b=a(3),y=a(2);function w(e,t,a){e[t]=a>>8&255,e[t+1]=255&a}function v(e,t,a){e[t]=a>>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+3]=255&a}class x{constructor(e){this.sfnt=e,this.tables=Object.create(null)}static getSearchParams(e,t){let a=1,r=0;for(;(a^e)>a;)a<<=1,r++;var i=a*t;return{range:i,entry:r,rangeShift:t*e-i}}toArray(){let e=this.sfnt;var t=this.tables,a=Object.keys(t),r=(a.sort(),a.length);let i,n,s,o,l,c=12+16*r;var h=[c];for(i=0;i<r;i++)o=t[a[i]],c+=(o.length+3&-4)>>>0,h.push(c);var u=new Uint8Array(c);for(i=0;i<r;i++){o=t[a[i]];{d=void 0;f=void 0;g=void 0;var d=u;var f=h[i];var g=o;if(g instanceof Uint8Array)d.set(g,f);else if("string"==typeof g)for(let e=0,t=g.length;e<t;e++)d[f++]=255&g.charCodeAt(e);else for(const m of g)d[f++]=255&m}}"true"===e&&(e=(0,y.string32)(65536)),u[0]=255&e.charCodeAt(0),u[1]=255&e.charCodeAt(1),u[2]=255&e.charCodeAt(2),u[3]=255&e.charCodeAt(3),w(u,4,r);var p=x.getSearchParams(r,16);for(w(u,6,p.range),w(u,8,p.entry),w(u,10,p.rangeShift),c=12,i=0;i<r;i++){l=a[i],u[c]=255&l.charCodeAt(0),u[c+1]=255&l.charCodeAt(1),u[c+2]=255&l.charCodeAt(2),u[c+3]=255&l.charCodeAt(3);let e=0;for(n=h[i],s=h[i+1];n<s;n+=4)e=e+(0,b.readUint32)(u,n)>>>0;v(u,c+4,e),v(u,c+8,h[i]),v(u,c+12,t[l].length),c+=16}return u}addTable(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}t.OpenTypeFileBuilder=x},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Font=void 0;var m=a(35),c=a(2),h=a(38),l=a(3),u=a(8),d=a(49);function f(t,a,e){var r=t.length,i=a.length,n=r-i;let s=e,o=!1;for(;s<n;){let e=0;for(;e<i&&t[s+e]===a[e];)e++;if(e>=i){for(s+=e;s<r&&(0,l.isWhiteSpace)(t[s]);)s++;o=!0;break}s++}return{found:o,length:s}}t.Type1Font=class{constructor(e,t,a){let r=a.length1,i=(a.length2,t.peekBytes(6));var n=128===i[0]&&1===i[1],s=(n&&(t.skip(6),r=i[5]<<24|i[4]<<16|i[3]<<8|i[2]),function(e,t){var a=[101,101,120,101,99],r=e.pos;let i,n,s,o;try{i=e.getBytes(t),n=i.length}catch(e){}if(n===t&&(s=f(i,a,t-2*a.length)).found&&s.length===t)return{stream:new u.Stream(i),length:t};for((0,c.warn)('Invalid "Length1" property in Type1 font -- trying to recover.'),e.pos=r;0!==(s=f(e.peekBytes(2048),a,0)).length;)if(e.pos+=s.length,s.found){o=e.pos-r;break}return e.pos=r,o?{stream:new u.Stream(e.getBytes(o)),length:o}:((0,c.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'),{stream:new u.Stream(e.getBytes(t)),length:t})}(t,r)),s=(new d.Type1Parser(s.stream,!1,h.SEAC_ANALYSIS_ENABLED).extractFontHeader(a),n&&((i=t.getBytes(6))[5],i[4],i[3],i[2]),function(){var e=t.getBytes();if(0===e.length)throw new c.FormatError("getEexecBlock - no font program found.");return{stream:new u.Stream(e),length:e.length}}()),o=new d.Type1Parser(s.stream,!0,h.SEAC_ANALYSIS_ENABLED).extractFontProgram(a);for(const e in o.properties)a[e]=o.properties[e];var n=o.charstrings,s=this.getType2Charstrings(n),l=this.getType2Subrs(o.subrs);this.charstrings=n,this.data=this.wrap(e,s,this.charstrings,l,a),this.seacs=this.getSeacs(o.charstrings)}get numGlyphs(){return this.charstrings.length+1}getCharset(){var e,t=[".notdef"];for({glyphName:e}of this.charstrings)t.push(e);return t}getGlyphMapping(a){var r=this.charstrings;if(a.composite){const i=Object.create(null);for(let e=0,t=r.length;e<t;e++)i[a.cMap.charCodeOf(e)]=e+1;return i}const i=[".notdef"];let e,t;for(t=0;t<r.length;t++)i.push(r[t].glyphName);var n=a.builtInEncoding;if(n){e=Object.create(null);for(const a in n)t=i.indexOf(n[a]),0<=t&&(e[a]=t)}return(0,h.type1FontGlyphMapping)(a,e,i)}hasGlyphId(e){return!(e<0||e>=this.numGlyphs)&&(0===e||0<this.charstrings[e-1].charstring.length)}getSeacs(a){var r=[];for(let e=0,t=a.length;e<t;e++){var i=a[e];i.seac&&(r[e+1]=i.seac)}return r}getType2Charstrings(e){var t=[];for(const a of e)t.push(a.charstring);return t}getType2Subrs(e){var t=e.length,a=t<1133?107:t<33769?1131:32768,r=[];let i;for(i=0;i<a;i++)r.push([11]);for(i=0;i<t;i++)r.push(e[i]);return r}wrap(e,t,a,r,i){var n=new m.CFF,s=(n.header=new m.CFFHeader(1,0,4,4),n.names=[e],new m.CFFTopDict),o=(s.setByName("version",391),s.setByName("Notice",392),s.setByName("FullName",393),s.setByName("FamilyName",394),s.setByName("Weight",395),s.setByName("Encoding",null),s.setByName("FontMatrix",i.fontMatrix),s.setByName("FontBBox",i.bbox),s.setByName("charset",null),s.setByName("CharStrings",null),s.setByName("Private",null),n.topDict=s,new m.CFFStrings),l=(o.add("Version 0.11"),o.add("See original notice"),o.add(e),o.add(e),o.add("Medium"),n.strings=o,n.globalSubrIndex=new m.CFFIndex,t.length),c=[".notdef"];let h,u;for(h=0;h<l;h++){const e=a[h].glyphName;-1===m.CFFStandardStrings.indexOf(e)&&o.add(e),c.push(e)}n.charset=new m.CFFCharset(!1,0,c);var d=new m.CFFIndex;for(d.add([139,14]),h=0;h<l;h++)d.add(t[h]);n.charStrings=d;var f=new m.CFFPrivateDict,g=(f.setByName("Subrs",null),["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"]);for(h=0,u=g.length;h<u;h++){const e=g[h];if(e in i.privateData){const t=i.privateData[e];if(Array.isArray(t))for(let e=t.length-1;0<e;e--)t[e]-=t[e-1];f.setByName(e,t)}}n.topDict.privateDict=f;var p=new m.CFFIndex;for(h=0,u=r.length;h<u;h++)p.add(r[h]);return f.subrsIndex=p,new m.CFFCompiler(n).compile()}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Parser=void 0;var s=a(37),r=a(3),i=a(8),d=a(2);const f=[4],g=[5],p=[6],m=[7],b=[8],y=[12,35],w=[14],v=[21],x=[22],S=[30],k=[31];class h{constructor(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}convert(a,r,i){var e=a.length;let n,s,o,l=!1;for(let t=0;t<e;t++){let e=a[t];if(e<32){switch(e=12===e?(e<<8)+a[++h]:e){case 1:case 3:case 9:case 3072:case 3073:case 3074:case 3105:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){l=!0;break}const a=this.stack.pop();this.stack.push(0,a)}else l=this.executeCommand(1,f);break;case 5:l=this.executeCommand(2,g);break;case 6:l=this.executeCommand(1,p);break;case 7:l=this.executeCommand(1,m);break;case 8:l=this.executeCommand(6,b);break;case 10:this.stack.length<1?l=!0:l=!r[o=this.stack.pop()]||this.convert(r[o],r,i);break;case 11:return l;case 13:this.stack.length<2?l=!0:(n=this.stack.pop(),s=this.stack.pop(),this.lsb=s,this.width=n,this.stack.push(n,s),l=this.executeCommand(2,x));break;case 14:this.output.push(w[0]);break;case 21:this.flexing||(l=this.executeCommand(2,v));break;case 22:this.flexing?this.stack.push(0):l=this.executeCommand(1,x);break;case 30:l=this.executeCommand(4,S);break;case 31:l=this.executeCommand(4,k);break;case 3078:if(i){const a=this.stack.at(-5);this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-a,l=this.executeCommand(0,w)}else l=this.executeCommand(4,w);break;case 3079:if(this.stack.length<4){l=!0;break}this.stack.pop(),n=this.stack.pop();const a=this.stack.pop();s=this.stack.pop(),this.lsb=s,this.width=n,this.stack.push(n,s,a),l=this.executeCommand(3,v);break;case 3084:if(this.stack.length<2){l=!0;break}const h=this.stack.pop(),u=this.stack.pop();this.stack.push(u/h);break;case 3088:if(this.stack.length<2)l=!0;else{o=this.stack.pop();var c=this.stack.pop();if(0===o&&3===c){const a=this.stack.splice(-17,17);this.stack.push(a[2]+a[0],a[3]+a[1],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14]),l=this.executeCommand(13,y,!0),this.flexing=!1,this.stack.push(a[15],a[16])}else 1===o&&0===c&&(this.flexing=!0)}break;case 3089:break;default:(0,d.warn)('Unknown type 1 charstring command of "'+e+'"')}if(l)break}else e<=246?e-=139:e=e<=250?256*(e-247)+a[++t]+108:e<=254?-256*(e-251)-a[++t]-108:(255&a[++t])<<24|(255&a[++t])<<16|(255&a[++t])<<8|(255&a[++t])<<0,this.stack.push(e)}return l}executeCommand(e,t,a){var r=this.stack.length;if(r<e)return!0;var i=r-e;for(let e=i;e<r;e++){var n=this.stack[e];Number.isInteger(n)?this.output.push(28,n>>8&255,255&n):this.output.push(255,(n=65536*n|0)>>24&255,n>>16&255,n>>8&255,255&n)}return this.output.push(...t),a?this.stack.splice(i,e):this.stack.length=0,!1}}function l(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function n(e,t,a){if(a>=e.length)return new Uint8Array(0);let r,i,n=0|t;for(r=0;r<a;r++)n=52845*(e[r]+n)+22719&65535;var s=e.length-a,o=new Uint8Array(s);for(r=a,i=0;i<s;r++,i++){const t=e[r];o[i]=t^n>>8,n=52845*(t+n)+22719&65535}return o}function o(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}t.Type1Parser=class{constructor(e,t,a){if(t){const t=e.getBytes(),a=!((l(t[0])||(0,r.isWhiteSpace)(t[0]))&&l(t[1])&&l(t[2])&&l(t[3])&&l(t[4])&&l(t[5])&&l(t[6])&&l(t[7]));e=new i.Stream(a?n(t,55665,4):function(t){let a=55665;var r=t.length,i=new Uint8Array(r>>>1);let n,s;for(n=0,s=0;n<r;n++){const o=t[n];if(l(o)){let e;for(n++;n<r&&!l(e=t[n]);)n++;if(n<r){const t=parseInt(String.fromCharCode(o,e),16);i[s++]=t^a>>8,a=52845*(t+a)+22719&65535}}}return i.slice(4,s)}(t))}this.seacAnalysisEnabled=!!a,this.stream=e,this.nextChar()}readNumberArray(){this.getToken();for(var e=[];;){var t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}readNumber(){var e=this.getToken();return parseFloat(e||0)}readInt(){var e=this.getToken();return 0|parseInt(e||0,10)}readBoolean(){return"true"===this.getToken()?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let e=!1,t=this.currentChar;for(;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,r.isWhiteSpace)(t))break;t=this.nextChar()}if(o(t))return this.nextChar(),String.fromCharCode(t);let a="";for(;a+=String.fromCharCode(t),0<=(t=this.nextChar())&&!(0,r.isWhiteSpace)(t)&&!o(t););return a}readCharStrings(e,t){return-1===t?e:n(e,4330,t)}extractFontProgram(t){const a=this.stream,r=[],i=[],n=Object.create(null);n.lenIV=4;var s={subrs:[],charstrings:[],properties:{privateData:n}};let o,e,l,c;for(;null!==(o=this.getToken());)if("/"===o)switch(o=this.getToken(),o){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(o=this.getToken())&&"end"!==o;)if("/"===o){const t=this.getToken(),r=(e=this.readInt(),this.getToken(),l=0<e?a.getBytes(e):new Uint8Array(0),c=s.properties.privateData.lenIV,this.readCharStrings(l,c));this.nextChar(),"noaccess"===(o=this.getToken())?this.getToken():"/"===o&&this.prevChar(),i.push({glyph:t,encoded:r})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){const t=this.readInt(),i=(e=this.readInt(),this.getToken(),l=0<e?a.getBytes(e):new Uint8Array(0),c=s.properties.privateData.lenIV,this.readCharStrings(l,c));this.nextChar(),"noaccess"===(o=this.getToken())&&this.getToken(),r[t]=i}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const t=this.readNumberArray();0<t.length&&t.length;break;case"StemSnapH":case"StemSnapV":s.properties.privateData[o]=this.readNumberArray();break;case"StdHW":case"StdVW":s.properties.privateData[o]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":s.properties.privateData[o]=this.readNumber();break;case"ExpansionFactor":s.properties.privateData[o]=this.readNumber()||.06;break;case"ForceBold":s.properties.privateData[o]=this.readBoolean()}for(const{encoded:a,glyph:n}of i){const i=new h,o=i.convert(a,r,this.seacAnalysisEnabled);let e=i.output;o&&(e=[14]);const l={glyphName:n,charstring:e,width:i.width,lsb:i.lsb,seac:i.seac};if(".notdef"===n?s.charstrings.unshift(l):s.charstrings.push(l),t.builtInEncoding){const a=t.builtInEncoding.indexOf(n);-1<a&&void 0===t.widths[a]&&a>=t.firstChar&&a<=t.lastChar&&(t.widths[a]=i.width)}}return s}extractFontHeader(a){let r;for(;null!==(r=this.getToken());)if("/"===r)switch(r=this.getToken(),r){case"FontMatrix":var e=this.readNumberArray();a.fontMatrix=e;break;case"Encoding":e=this.getToken();let t;if(/^\d+$/.test(e)){t=[];const a=0|parseInt(e,10);this.getToken();for(let e=0;e<a;e++){for(r=this.getToken();"dup"!==r&&"def"!==r;)if(null===(r=this.getToken()))return;if("def"===r)break;const a=this.readInt();this.getToken();var i=this.getToken();t[a]=i,this.getToken()}}else t=(0,s.getEncoding)(e);a.builtInEncoding=t;break;case"FontBBox":var n=this.readNumberArray();a.ascent=Math.max(n[3],n[1]),a.descent=Math.min(n[1],n[3]),a.ascentScaled=!0}}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Pattern=void 0,t.getTilingPatternIR=function(e,t,a){var r=t.getArray("Matrix"),i=A.Util.normalizeRect(t.getArray("BBox")),n=t.get("XStep"),s=t.get("YStep"),o=t.get("PaintType"),t=t.get("TilingType");if(i[2]-i[0]==0||i[3]-i[1]==0)throw new A.FormatError(`Invalid getTilingPatternIR /BBox array: [${i}].`);return["TilingPattern",a,e,r,i,n,s,o,t]};var A=a(2),c=a(5),h=a(12),o=a(3);t.Pattern=class{constructor(){(0,A.unreachable)("Cannot initialize Pattern.")}static parseShading(e,t,a,r,i){var n=e instanceof c.BaseStream?e.dict:e,s=n.get("ShadingType");try{switch(s){case 2:case 3:return new l(n,t,a,r,i);case 4:case 5:case 6:case 7:return new F(e,t,a,r,i);default:throw new A.FormatError("Unsupported ShadingType: "+s)}}catch(e){if(e instanceof o.MissingDataException)throw e;return(0,A.warn)(e),new d}}};class C{static SMALL_NUMBER=1e-6;constructor(){this.constructor===C&&(0,A.unreachable)("Cannot initialize BaseShading.")}getIR(){(0,A.unreachable)("Abstract method `getIR` called.")}}class l extends C{constructor(d,f,e,t,g){super(),this.coordsArr=d.getArray("Coords"),this.shadingType=d.get("ShadingType");var p=h.ColorSpace.parse({cs:d.getRaw("CS")||d.getRaw("ColorSpace"),xref:f,resources:e,pdfFunctionFactory:t,localColorSpaceCache:g}),f=d.getArray("BBox");Array.isArray(f)&&4===f.length?this.bbox=A.Util.normalizeRect(f):this.bbox=null;let m=0,a=1;if(d.has("Domain")){const f=d.getArray("Domain");m=f[0],a=f[1]}let b=!1,y=!1;if(d.has("Extend")){const f=d.getArray("Extend");b=f[0],y=f[1]}if(!(3!==this.shadingType||b&&y)){const[d,f,e,t,h,g]=this.coordsArr,C=Math.hypot(d-t,f-h);e<=g+C&&g<=e+C&&(0,A.warn)("Unsupported radial gradient.")}this.extendStart=b,this.extendEnd=y;var e=d.getRaw("Function"),w=t.createFromArray(e),v=(a-m)/840,x=this.colorStops=[];if(m>=a||v<=0)(0,A.info)("Bad shading domain.");else{var S=new Float32Array(p.numComps),k=new Float32Array(1);let t,a=0,r=(k[0]=m,w(k,0,S,0),p.getRgb(S,0));g=A.Util.makeHexColor(r[0],r[1],r[2]);x.push([0,g]);let i=1,n=(k[0]=m+v,w(k,0,S,0),p.getRgb(S,0)),s=n[0]-r[0]+1,o=n[1]-r[1]+1,l=n[2]-r[2]+1,c=n[0]-r[0]-1,h=n[1]-r[1]-1,u=n[2]-r[2]-1;for(let e=2;e<840;e++){k[0]=m+e*v,w(k,0,S,0),t=p.getRgb(S,0);const f=e-a;if(s=Math.min(s,(t[0]-r[0]+1)/f),o=Math.min(o,(t[1]-r[1]+1)/f),l=Math.min(l,(t[2]-r[2]+1)/f),c=Math.max(c,(t[0]-r[0]-1)/f),h=Math.max(h,(t[1]-r[1]-1)/f),u=Math.max(u,(t[2]-r[2]-1)/f),!(c<=s&&h<=o&&u<=l)){const d=A.Util.makeHexColor(n[0],n[1],n[2]);x.push([i/840,d]),s=t[0]-n[0]+1,o=t[1]-n[1]+1,l=t[2]-n[2]+1,c=t[0]-n[0]-1,h=t[1]-n[1]-1,u=t[2]-n[2]-1,a=i,r=n}i=e,n=t}f=A.Util.makeHexColor(n[0],n[1],n[2]);x.push([1,f]);let e="transparent";d.has("Background")&&(t=p.getRgb(d.get("Background"),0),e=A.Util.makeHexColor(t[0],t[1],t[2])),b||(x.unshift([0,e]),x[1][0]+=C.SMALL_NUMBER),y||(x.at(-1)[0]-=C.SMALL_NUMBER,x.push([1,e])),this.colorStops=x}}getIR(){var e=this.coordsArr,t=this.shadingType;let a,r,i,n,s;return 2===t?(r=[e[0],e[1]],i=[e[2],e[3]],n=null,s=null,a="axial"):3===t?(r=[e[0],e[1]],i=[e[3],e[4]],n=e[2],s=e[5],a="radial"):(0,A.unreachable)("getPattern type unknown: "+t),["RadialAxial",a,this.bbox,this.colorStops,r,i,n,s]}}class u{constructor(e,t){this.stream=e,this.context=t,this.buffer=0,this.bufferLength=0;e=t.numComps,this.tmpCompsBuf=new Float32Array(e),e=t.colorSpace.numComps;this.tmpCsCompsBuf=t.colorFn?new Float32Array(e):this.tmpCompsBuf}get hasData(){var e;return this.stream.end?this.stream.pos<this.stream.end:0<this.bufferLength||!((e=this.stream.getByte())<0||(this.buffer=e,this.bufferLength=8,0))}readBits(e){let t=this.buffer,a=this.bufferLength;if(32===e){if(0===a)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();const e=this.stream.getByte();return this.buffer=e&(1<<a)-1,(t<<8-a|(255&e)>>a)>>>0}if(8===e&&0===a)return this.stream.getByte();for(;a<e;)t=t<<8|this.stream.getByte(),a+=8;return a-=e,this.bufferLength=a,this.buffer=t&(1<<a)-1,t>>a}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){var e=this.context.bitsPerCoordinate,t=this.readBits(e),a=this.readBits(e),r=this.context.decode,e=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*e*(r[1]-r[0])+r[0],a*e*(r[3]-r[2])+r[2]]}readComponents(){const a=this.context.numComps,r=this.context.bitsPerComponent,i=r<32?1/((1<<r)-1):2.3283064365386963e-10,n=this.context.decode,s=this.tmpCompsBuf;for(let e=0,t=4;e<a;e++,t+=2){const a=this.readBits(r);s[e]=a*i*(n[t+1]-n[t])+n[t]}var e=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(s,0,e,0),this.context.colorSpace.getRgb(e,0)}}const s=function(){const t=Object.create(null);return function(e){return t[e]||=function(t){var a=[];for(let e=0;e<=t;e++){var r=e/t,i=1-r;a.push(new Float32Array([i*i*i,3*r*i*i,3*r*r*i,r*r*r]))}return a}(e)}}();class F extends C{static MIN_SPLIT_PATCH_CHUNKS_AMOUNT=3;static MAX_SPLIT_PATCH_CHUNKS_AMOUNT=20;static TRIANGLE_DENSITY=20;constructor(e,t,a,r,i){if(super(),!(e instanceof c.BaseStream))throw new A.FormatError("Mesh data is not a stream");var n=e.dict,s=(this.shadingType=n.get("ShadingType"),n.getArray("BBox")),s=(Array.isArray(s)&&4===s.length?this.bbox=A.Util.normalizeRect(s):this.bbox=null,h.ColorSpace.parse({cs:n.getRaw("CS")||n.getRaw("ColorSpace"),xref:t,resources:a,pdfFunctionFactory:r,localColorSpaceCache:i})),t=(this.background=n.has("Background")?s.getRgb(n.get("Background"),0):null,n.getRaw("Function")),a=t?r.createFromArray(t):null,i=(this.coords=[],this.colors=[],this.figures=[],{bitsPerCoordinate:n.get("BitsPerCoordinate"),bitsPerComponent:n.get("BitsPerComponent"),bitsPerFlag:n.get("BitsPerFlag"),decode:n.getArray("Decode"),colorFn:a,colorSpace:s,numComps:a?1:s.numComps}),o=new u(e,i);let l=!1;switch(this.shadingType){case 4:this._decodeType4Shading(o);break;case 5:const e=0|n.get("VerticesPerRow");if(e<2)throw new A.FormatError("Invalid VerticesPerRow");this._decodeType5Shading(o,e);break;case 6:this._decodeType6Shading(o),l=!0;break;case 7:this._decodeType7Shading(o),l=!0;break;default:(0,A.unreachable)("Unsupported mesh type.")}if(l){this._updateBounds();for(let e=0,t=this.figures.length;e<t;e++)this._buildFigureFromPatch(e)}this._updateBounds(),this._packData()}_decodeType4Shading(e){var t=this.coords,a=this.colors,r=[],i=[];let n=0;for(;e.hasData;){var s=e.readFlag(),o=e.readCoordinate(),l=e.readComponents();if(0===n){if(!(0<=s&&s<=2))throw new A.FormatError("Unknown type4 flag");switch(s){case 0:n=3;break;case 1:i.push(i.at(-2),i.at(-1)),n=1;break;case 2:i.push(i.at(-3),i.at(-1)),n=1}r.push(s)}i.push(t.length),t.push(o),a.push(l),n--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(i),colors:new Int32Array(i)})}_decodeType5Shading(e,t){for(var a=this.coords,r=this.colors,i=[];e.hasData;){const t=e.readCoordinate(),n=e.readComponents();i.push(a.length),a.push(t),r.push(n)}this.figures.push({type:"lattice",coords:new Int32Array(i),colors:new Int32Array(i),verticesPerRow:t})}_decodeType6Shading(i){for(var n=this.coords,s=this.colors,o=new Int32Array(16),l=new Int32Array(4);i.hasData;){var c=i.readFlag();if(!(0<=c&&c<=3))throw new A.FormatError("Unknown type6 flag");var h=n.length;for(let e=0,t=0!==c?8:12;e<t;e++)n.push(i.readCoordinate());var u=s.length;for(let e=0,t=0!==c?2:4;e<t;e++)s.push(i.readComponents());let e,t,a,r;switch(c){case 0:o[12]=h+3,o[13]=h+4,o[14]=h+5,o[15]=h+6,o[8]=h+2,o[11]=h+7,o[4]=h+1,o[7]=h+8,o[0]=h,o[1]=h+11,o[2]=h+10,o[3]=h+9,l[2]=u+1,l[3]=u+2,l[0]=u,l[1]=u+3;break;case 1:e=o[12],t=o[13],a=o[14],r=o[15],o[12]=r,o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=a,o[11]=h+3,o[4]=t,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[2],t=l[3],l[2]=t,l[3]=u,l[0]=e,l[1]=u+1;break;case 2:e=o[15],t=o[11],o[12]=o[3],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[7],o[11]=h+3,o[4]=t,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[3],l[2]=l[1],l[3]=u,l[0]=e,l[1]=u+1;break;case 3:o[12]=o[0],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[1],o[11]=h+3,o[4]=o[2],o[7]=h+4,o[0]=o[3],o[1]=h+7,o[2]=h+6,o[3]=h+5,l[2]=l[0],l[3]=u,l[0]=l[1],l[1]=u+1}o[5]=n.length,n.push([(-4*n[o[0]][0]-n[o[15]][0]+6*(n[o[4]][0]+n[o[1]][0])-2*(n[o[12]][0]+n[o[3]][0])+3*(n[o[13]][0]+n[o[7]][0]))/9,(-4*n[o[0]][1]-n[o[15]][1]+6*(n[o[4]][1]+n[o[1]][1])-2*(n[o[12]][1]+n[o[3]][1])+3*(n[o[13]][1]+n[o[7]][1]))/9]),o[6]=n.length,n.push([(-4*n[o[3]][0]-n[o[12]][0]+6*(n[o[2]][0]+n[o[7]][0])-2*(n[o[0]][0]+n[o[15]][0])+3*(n[o[4]][0]+n[o[14]][0]))/9,(-4*n[o[3]][1]-n[o[12]][1]+6*(n[o[2]][1]+n[o[7]][1])-2*(n[o[0]][1]+n[o[15]][1])+3*(n[o[4]][1]+n[o[14]][1]))/9]),o[9]=n.length,n.push([(-4*n[o[12]][0]-n[o[3]][0]+6*(n[o[8]][0]+n[o[13]][0])-2*(n[o[0]][0]+n[o[15]][0])+3*(n[o[11]][0]+n[o[1]][0]))/9,(-4*n[o[12]][1]-n[o[3]][1]+6*(n[o[8]][1]+n[o[13]][1])-2*(n[o[0]][1]+n[o[15]][1])+3*(n[o[11]][1]+n[o[1]][1]))/9]),o[10]=n.length,n.push([(-4*n[o[15]][0]-n[o[0]][0]+6*(n[o[11]][0]+n[o[14]][0])-2*(n[o[12]][0]+n[o[3]][0])+3*(n[o[2]][0]+n[o[8]][0]))/9,(-4*n[o[15]][1]-n[o[0]][1]+6*(n[o[11]][1]+n[o[14]][1])-2*(n[o[12]][1]+n[o[3]][1])+3*(n[o[2]][1]+n[o[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(o),colors:new Int32Array(l)})}}_decodeType7Shading(i){for(var n=this.coords,s=this.colors,o=new Int32Array(16),l=new Int32Array(4);i.hasData;){var c=i.readFlag();if(!(0<=c&&c<=3))throw new A.FormatError("Unknown type7 flag");var h=n.length;for(let e=0,t=0!==c?12:16;e<t;e++)n.push(i.readCoordinate());var u=s.length;for(let e=0,t=0!==c?2:4;e<t;e++)s.push(i.readComponents());let e,t,a,r;switch(c){case 0:o[12]=h+3,o[13]=h+4,o[14]=h+5,o[15]=h+6,o[8]=h+2,o[9]=h+13,o[10]=h+14,o[11]=h+7,o[4]=h+1,o[5]=h+12,o[6]=h+15,o[7]=h+8,o[0]=h,o[1]=h+11,o[2]=h+10,o[3]=h+9,l[2]=u+1,l[3]=u+2,l[0]=u,l[1]=u+3;break;case 1:e=o[12],t=o[13],a=o[14],r=o[15],o[12]=r,o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=a,o[9]=h+9,o[10]=h+10,o[11]=h+3,o[4]=t,o[5]=h+8,o[6]=h+11,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[2],t=l[3],l[2]=t,l[3]=u,l[0]=e,l[1]=u+1;break;case 2:e=o[15],t=o[11],o[12]=o[3],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[7],o[9]=h+9,o[10]=h+10,o[11]=h+3,o[4]=t,o[5]=h+8,o[6]=h+11,o[7]=h+4,o[0]=e,o[1]=h+7,o[2]=h+6,o[3]=h+5,e=l[3],l[2]=l[1],l[3]=u,l[0]=e,l[1]=u+1;break;case 3:o[12]=o[0],o[13]=h+0,o[14]=h+1,o[15]=h+2,o[8]=o[1],o[9]=h+9,o[10]=h+10,o[11]=h+3,o[4]=o[2],o[5]=h+8,o[6]=h+11,o[7]=h+4,o[0]=o[3],o[1]=h+7,o[2]=h+6,o[3]=h+5,l[2]=l[0],l[3]=u,l[0]=l[1],l[1]=u+1}this.figures.push({type:"patch",coords:new Int32Array(o),colors:new Int32Array(l)})}}_buildFigureFromPatch(e){var t=this.figures[e];(0,A.assert)("patch"===t.type,"Unexpected patch mesh figure");const o=this.coords,l=this.colors,c=t.coords,a=t.colors,r=Math.min(o[c[0]][0],o[c[3]][0],o[c[12]][0],o[c[15]][0]),h=Math.min(o[c[0]][1],o[c[3]][1],o[c[12]][1],o[c[15]][1]),u=Math.max(o[c[0]][0],o[c[3]][0],o[c[12]][0],o[c[15]][0]),i=Math.max(o[c[0]][1],o[c[3]][1],o[c[12]][1],o[c[15]][1]);var d=Math.ceil((u-r)*F.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0])),d=Math.max(F.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(F.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,d)),f=Math.ceil((i-h)*F.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1])),f=Math.max(F.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(F.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,f)),t=d+1,g=new Int32Array((f+1)*t),p=new Int32Array((f+1)*t);let m=0;var b=new Uint8Array(3),y=new Uint8Array(3),n=l[a[0]],w=l[a[1]],v=l[a[2]],x=l[a[3]],S=s(f),k=s(d);for(let s=0;s<=f;s++){b[0]=(n[0]*(f-s)+v[0]*s)/f|0,b[1]=(n[1]*(f-s)+v[1]*s)/f|0,b[2]=(n[2]*(f-s)+v[2]*s)/f|0,y[0]=(w[0]*(f-s)+x[0]*s)/f|0,y[1]=(w[1]*(f-s)+x[1]*s)/f|0,y[2]=(w[2]*(f-s)+x[2]*s)/f|0;for(let n=0;n<=d;n++,m++)if(0!==s&&s!==f||0!==n&&n!==d){let a=0,r=0,i=0;for(let t=0;t<=3;t++)for(let e=0;e<=3;e++,i++){const u=S[s][t]*k[n][e];a+=o[c[i]][0]*u,r+=o[c[i]][1]*u}g[m]=o.length,o.push([a,r]),p[m]=l.length;const h=new Uint8Array(3);h[0]=(b[0]*(d-n)+y[0]*n)/d|0,h[1]=(b[1]*(d-n)+y[1]*n)/d|0,h[2]=(b[2]*(d-n)+y[2]*n)/d|0,l.push(h)}}g[0]=c[0],p[0]=a[0],g[d]=c[3],p[d]=a[1],g[t*f]=c[12],p[t*f]=a[2],g[t*f+d]=c[15],p[t*f+d]=a[3],this.figures[e]={type:"lattice",coords:g,colors:p,verticesPerRow:t}}_updateBounds(){let a=this.coords[0][0],r=this.coords[0][1],i=a,n=r;for(let e=1,t=this.coords.length;e<t;e++){var s=this.coords[e][0],o=this.coords[e][1];a=a>s?s:a,r=r>o?o:r,i=i<s?s:i,n=n<o?o:n}this.bounds=[a,r,i,n]}_packData(){let e,t,a,r;const i=this.coords,n=new Float32Array(2*i.length);for(e=0,a=0,t=i.length;e<t;e++){const t=i[e];n[a++]=t[0],n[a++]=t[1]}this.coords=n;var s=this.colors,o=new Uint8Array(3*s.length);for(e=0,a=0,t=s.length;e<t;e++){const t=s[e];o[a++]=t[0],o[a++]=t[1],o[a++]=t[2]}this.colors=o;var l=this.figures;for(e=0,t=l.length;e<t;e++){const t=l[e],i=t.coords,n=t.colors;for(a=0,r=i.length;a<r;a++)i[a]*=2,n[a]*=3}}getIR(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.bbox,this.background]}}class d extends C{getIR(){return["Dummy"]}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getXfaFontDict=function(e){var t=function(e){const t=u(e);if(!t)return null;const{baseWidths:a,baseMapping:r,factors:i}=t;var n=i?a.map((e,t)=>e*i[t]):a;let s,o=-2;var l=[];for(const[e,t]of r.map((e,t)=>[e,t]).sort(([e],[t])=>e-t))-1!==e&&(e===o+1?(s.push(n[t]),o+=1):(o=e,s=[n[t]],l.push(e,s)));return l}(e),a=new i.Dict(null),e=(a.set("BaseFont",i.Name.get(e)),a.set("Type",i.Name.get("Font")),a.set("Subtype",i.Name.get("CIDFontType2")),a.set("Encoding",i.Name.get("Identity-H")),a.set("CIDToGIDMap",i.Name.get("Identity")),a.set("W",t),a.set("FirstChar",t[0]),a.set("LastChar",t.at(-2)+t.at(-1).length-1),new i.Dict(null)),t=(a.set("FontDescriptor",e),new i.Dict(null));return t.set("Ordering","Identity"),t.set("Registry","Adobe"),t.set("Supplement",0),a.set("CIDSystemInfo",t),a},t.getXfaFontName=u;var r=a(52),i=a(4),n=a(53),s=a(54),o=a(55),l=a(56),t=a(3),c=a(38);const h=(0,t.getLookupTableFactory)(function(e){e["MyriadPro-Regular"]=e["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:o.MyriadProRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:o.MyriadProRegularMetrics},e["MyriadPro-Bold"]=e["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:o.MyriadProBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:o.MyriadProBoldMetrics},e["MyriadPro-It"]=e["MyriadPro-Italic"]=e["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:o.MyriadProItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:o.MyriadProItalicMetrics},e["MyriadPro-BoldIt"]=e["MyriadPro-BoldItalic"]=e["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:o.MyriadProBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:o.MyriadProBoldItalicMetrics},e.ArialMT=e.Arial=e["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping},e["Arial-BoldMT"]=e["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping},e["Arial-ItalicMT"]=e["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping},e["Arial-BoldItalicMT"]=e["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping},e["Calibri-Regular"]={name:"LiberationSans-Regular",factors:r.CalibriRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:r.CalibriRegularMetrics},e["Calibri-Bold"]={name:"LiberationSans-Bold",factors:r.CalibriBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:r.CalibriBoldMetrics},e["Calibri-Italic"]={name:"LiberationSans-Italic",factors:r.CalibriItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:r.CalibriItalicMetrics},e["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:r.CalibriBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:r.CalibriBoldItalicMetrics},e["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:l.SegoeuiRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:l.SegoeuiRegularMetrics},e["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:l.SegoeuiBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:l.SegoeuiBoldMetrics},e["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:l.SegoeuiItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:l.SegoeuiItalicMetrics},e["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:l.SegoeuiBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:l.SegoeuiBoldItalicMetrics},e["Helvetica-Regular"]=e.Helvetica={name:"LiberationSans-Regular",factors:n.HelveticaRegularFactors,baseWidths:s.LiberationSansRegularWidths,baseMapping:s.LiberationSansRegularMapping,metrics:n.HelveticaRegularMetrics},e["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:n.HelveticaBoldFactors,baseWidths:s.LiberationSansBoldWidths,baseMapping:s.LiberationSansBoldMapping,metrics:n.HelveticaBoldMetrics},e["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:n.HelveticaItalicFactors,baseWidths:s.LiberationSansItalicWidths,baseMapping:s.LiberationSansItalicMapping,metrics:n.HelveticaItalicMetrics},e["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:n.HelveticaBoldItalicFactors,baseWidths:s.LiberationSansBoldItalicWidths,baseMapping:s.LiberationSansBoldItalicMapping,metrics:n.HelveticaBoldItalicMetrics}});function u(e){e=(0,c.normalizeFontName)(e);return h()[e]}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CalibriRegularMetrics=t.CalibriRegularFactors=t.CalibriItalicMetrics=t.CalibriItalicFactors=t.CalibriBoldMetrics=t.CalibriBoldItalicMetrics=t.CalibriBoldItalicFactors=t.CalibriBoldFactors=void 0,t.CalibriBoldFactors=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriBoldMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriBoldItalicFactors=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriBoldItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriItalicFactors=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.CalibriItalicMetrics={lineHeight:1.2207,lineGap:.2207},t.CalibriRegularFactors=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1],t.CalibriRegularMetrics={lineHeight:1.2207,lineGap:.2207}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HelveticaRegularMetrics=t.HelveticaRegularFactors=t.HelveticaItalicMetrics=t.HelveticaItalicFactors=t.HelveticaBoldMetrics=t.HelveticaBoldItalicMetrics=t.HelveticaBoldItalicFactors=t.HelveticaBoldFactors=void 0,t.HelveticaBoldFactors=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaBoldMetrics={lineHeight:1.2,lineGap:.2},t.HelveticaBoldItalicFactors=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaBoldItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaItalicFactors=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaItalicMetrics={lineHeight:1.35,lineGap:.2},t.HelveticaRegularFactors=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.HelveticaRegularMetrics={lineHeight:1.2,lineGap:.2}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LiberationSansRegularWidths=t.LiberationSansRegularMapping=t.LiberationSansItalicWidths=t.LiberationSansItalicMapping=t.LiberationSansBoldWidths=t.LiberationSansBoldMapping=t.LiberationSansBoldItalicWidths=t.LiberationSansBoldItalicMapping=void 0,t.LiberationSansBoldWidths=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],t.LiberationSansBoldMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansBoldItalicWidths=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333],t.LiberationSansBoldItalicMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansItalicWidths=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],t.LiberationSansItalicMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],t.LiberationSansRegularWidths=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285],t.LiberationSansRegularMapping=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MyriadProRegularMetrics=t.MyriadProRegularFactors=t.MyriadProItalicMetrics=t.MyriadProItalicFactors=t.MyriadProBoldMetrics=t.MyriadProBoldItalicMetrics=t.MyriadProBoldItalicFactors=t.MyriadProBoldFactors=void 0,t.MyriadProBoldFactors=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProBoldMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProBoldItalicFactors=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProBoldItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProItalicFactors=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProItalicMetrics={lineHeight:1.2,lineGap:.2},t.MyriadProRegularFactors=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.MyriadProRegularMetrics={lineHeight:1.2,lineGap:.2}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SegoeuiRegularMetrics=t.SegoeuiRegularFactors=t.SegoeuiItalicMetrics=t.SegoeuiItalicFactors=t.SegoeuiBoldMetrics=t.SegoeuiBoldItalicMetrics=t.SegoeuiBoldItalicFactors=t.SegoeuiBoldFactors=void 0,t.SegoeuiBoldFactors=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiBoldMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiBoldItalicFactors=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiBoldItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiItalicFactors=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiItalicMetrics={lineHeight:1.33008,lineGap:0},t.SegoeuiRegularFactors=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1],t.SegoeuiRegularMetrics={lineHeight:1.33008,lineGap:0}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptEvaluator=t.PostScriptCompiler=t.PDFFunctionFactory=void 0,t.isPDFFunction=function(e){let t;if(e instanceof r.Dict)t=e;else{if(!(e instanceof i.BaseStream))return!1;t=e.dict}return t.has("FunctionType")};var r=a(4),l=a(2),n=a(58),i=a(5),s=a(59);function c(t){if(!Array.isArray(t))return null;var a=t.length;for(let e=0;e<a;e++)if("number"!=typeof t[e]){var r=new Array(a);for(let e=0;e<a;e++)r[e]=+t[e];return r}return t}t.PDFFunctionFactory=class{constructor({xref:e,isEvalSupported:t=!0}){this.xref=e,this.isEvalSupported=!1!==t}create(e){var t=this.getCached(e);return t||(t=o.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:e instanceof r.Ref?this.xref.fetch(e):e}),this._cache(e,t),t)}createFromArray(e){var t=this.getCached(e);return t||(t=o.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:e instanceof r.Ref?this.xref.fetch(e):e}),this._cache(e,t),t)}getCached(e){let t;if(e instanceof r.Ref?t=e:e instanceof r.Dict?t=e.objId:e instanceof i.BaseStream&&(t=e.dict?.objId),t){const e=this._localFunctionCache.getByRef(t);if(e)return e}return null}_cache(e,t){if(!t)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');let a;e instanceof r.Ref?a=e:e instanceof r.Dict?a=e.objId:e instanceof i.BaseStream&&(a=e.dict?.objId),a&&this._localFunctionCache.set(null,a,t)}get _localFunctionCache(){return(0,l.shadow)(this,"_localFunctionCache",new s.LocalFunctionCache)}};class o{static getSampleArray(e,t,a,r){let i,n,s=1;for(i=0,n=e.length;i<n;i++)s*=e[i];s*=t;var o=new Array(s);let l=0,c=0;var h=1/(2**a-1),u=r.getBytes((s*a+7)/8);let d=0;for(i=0;i<s;i++){for(;l<a;)c=(c<<=8)|u[d++],l+=8;l-=a,o[i]=(c>>l)*h,c&=(1<<l)-1}return o}static parse({xref:e,isEvalSupported:t,fn:a}){var r=a.dict||a;switch(r.get("FunctionType")){case 0:return this.constructSampled({xref:e,isEvalSupported:t,fn:a,dict:r});case 1:break;case 2:return this.constructInterpolated({xref:e,isEvalSupported:t,dict:r});case 3:return this.constructStiched({xref:e,isEvalSupported:t,dict:r});case 4:return this.constructPostScript({xref:e,isEvalSupported:t,fn:a,dict:r})}throw new l.FormatError("Unknown type of function")}static parseArray({xref:e,isEvalSupported:t,fnObj:a}){if(!Array.isArray(a))return this.parse({xref:e,isEvalSupported:t,fn:a});const s=[];for(const r of a)s.push(this.parse({xref:e,isEvalSupported:t,fn:e.fetchIfRef(r)}));return function(a,r,i,n){for(let e=0,t=s.length;e<t;e++)s[e](a,r,i,n+e)}}static constructSampled({fn:e,dict:t}){function a(t){var a=t.length,r=[];let i=0;for(let e=0;e<a;e+=2)r[i++]=[t[e],t[e+1]];return r}function g(e,t,a,r,i){return r+(i-r)/(a-t)*(e-t)}let p=c(t.getArray("Domain")),m=c(t.getArray("Range"));if(!p||!m)throw new l.FormatError("No domain or range");const b=p.length/2,y=m.length/2,w=(p=a(p),m=a(m),c(t.getArray("Size"))),r=t.get("BitsPerSample"),i=t.get("Order")||1;1!==i&&(0,l.info)("No support for cubic spline interpolation: "+i);let v=c(t.getArray("Encode"));if(v)v=a(v);else{v=[];for(let e=0;e<b;++e)v.push([0,w[e]-1])}let x=c(t.getArray("Decode"));x=x?a(x):m;const S=this.getSampleArray(w,y,r,e);return function(e,t,a,r){var i=1<<b,n=new Float64Array(i),s=new Uint32Array(i);let o,l;for(l=0;l<i;l++)n[l]=1;let c=y,h=1;for(o=0;o<b;++o){const a=p[o][0],r=p[o][1];var u=g(Math.min(Math.max(e[t+o],a),r),a,r,v[o][0],v[o][1]);const b=w[o],y=(u=Math.min(Math.max(u,0),b-1))<b-1?Math.floor(u):u-1,x=y+1-u,S=u-y,d=y*c,f=d+c;for(l=0;l<i;l++)l&h?(n[l]*=S,s[l]+=f):(n[l]*=x,s[l]+=d);c*=b,h<<=1}for(l=0;l<y;++l){let e=0;for(o=0;o<i;o++)e+=S[s[o]+l]*n[o];e=g(e,0,1,x[l][0],x[l][1]),a[r+l]=Math.min(Math.max(e,m[l][0]),m[l][1])}}}static constructInterpolated({dict:e}){const n=c(e.getArray("C0"))||[0],a=c(e.getArray("C1"))||[1],s=e.get("N"),o=[];for(let e=0,t=n.length;e<t;++e)o.push(a[e]-n[e]);const l=o.length;return function(e,t,a,r){var i=1===s?e[t]:e[t]**s;for(let e=0;e<l;++e)a[r+e]=n[e]+i*o[e]}}static constructStiched({xref:e,isEvalSupported:t,dict:a}){const h=c(a.getArray("Domain"));if(!h)throw new l.FormatError("No domain");if(1!=h.length/2)throw new l.FormatError("Bad domain for stiched function");const u=[];for(const h of a.get("Functions"))u.push(this.parse({xref:e,isEvalSupported:t,fn:e.fetchIfRef(h)}));const d=c(a.getArray("Bounds")),f=c(a.getArray("Encode")),g=new Float32Array(1);return function(e,t,a,r){e=e[t],t=h[0],(c=h[1])<e?e=c:e<t&&(e=t);var i=e,n=d.length;let s;for(s=0;s<n&&!(i<d[s]);++s);let o=h[0],l=(0<s&&(o=d[s-1]),h[1]);s<d.length&&(l=d[s]);var c=f[2*s],t=f[2*s+1];g[0]=o===l?c:c+(i-o)*(t-c)/(l-o),u[s](g,0,a,r)}}static constructPostScript({isEvalSupported:e,fn:t,dict:a}){const r=c(a.getArray("Domain")),f=c(a.getArray("Range"));if(!r)throw new l.FormatError("No domain.");if(!f)throw new l.FormatError("No range.");a=new n.PostScriptLexer(t),t=new n.PostScriptParser(a).parse();if(e&&l.FeatureTest.isEvalSupported){const i=(new v).compile(t,r,f);if(i)return new Function("src","srcOffset","dest","destOffset",i)}(0,l.info)("Unable to compile PS function");const g=f.length>>1,p=r.length>>1,m=new u(t),b=Object.create(null);let y=8192;const w=new Float32Array(p);return function(e,t,a,r){let i,n,s="";var o=w;for(i=0;i<p;i++)n=e[t+i],o[i]=n,s+=n+"_";var l=b[s];if(void 0!==l)a.set(l,r);else{var c=new Float32Array(g),h=m.execute(o),u=h.length-g;for(i=0;i<g;i++){n=h[u+i];var d=f[2*i];(n<d||(d=f[2*i+1],n>d))&&(n=d),c[i]=n}0<y&&(y--,b[s]=c),a.set(c,r)}}}}class h{static MAX_STACK_SIZE=100;constructor(e){this.stack=e?Array.from(e):[]}push(e){if(this.stack.length>=h.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(e)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(a){if(this.stack.length+a>=h.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");var r=this.stack;for(let e=r.length-a,t=a-1;0<=t;t--,e++)r.push(r[e])}index(e){this.push(this.stack[this.stack.length-e-1])}roll(e,t){const a=this.stack,r=a.length-e,i=a.length-1,n=r+(t-Math.floor(t/e)*e);for(let e=r,t=i;e<t;e++,t--){const r=a[e];a[e]=a[t],a[t]=r}for(let e=r,t=n-1;e<t;e++,t--){const r=a[e];a[e]=a[t],a[t]=r}for(let e=n,t=i;e<t;e++,t--){const r=a[e];a[e]=a[t],a[t]=r}}}class u{constructor(e){this.operators=e}execute(e){var t=new h(e);let a=0;var r=this.operators,i=r.length;let n,s,o;for(;a<i;)if("number"!=typeof(n=r[a++]))switch(n){case"jz":o=t.pop(),(s=t.pop())||(a=o);break;case"j":s=t.pop(),a=s;break;case"abs":s=t.pop(),t.push(Math.abs(s));break;case"add":o=t.pop(),s=t.pop(),t.push(s+o);break;case"and":o=t.pop(),"boolean"==typeof(s=t.pop())&&"boolean"==typeof o?t.push(s&&o):t.push(s&o);break;case"atan":o=t.pop(),s=t.pop(),(s=Math.atan2(s,o)/Math.PI*180)<0&&(s+=360),t.push(s);break;case"bitshift":o=t.pop(),0<(s=t.pop())?t.push(s<<o):t.push(s>>o);break;case"ceiling":s=t.pop(),t.push(Math.ceil(s));break;case"copy":s=t.pop(),t.copy(s);break;case"cos":s=t.pop(),t.push(Math.cos(s%360/180*Math.PI));break;case"cvi":s=0|t.pop(),t.push(s);break;case"cvr":break;case"div":o=t.pop(),s=t.pop(),t.push(s/o);break;case"dup":t.copy(1);break;case"eq":o=t.pop(),s=t.pop(),t.push(s===o);break;case"exch":t.roll(2,1);break;case"exp":o=t.pop(),s=t.pop(),t.push(s**o);break;case"false":t.push(!1);break;case"floor":s=t.pop(),t.push(Math.floor(s));break;case"ge":o=t.pop(),s=t.pop(),t.push(s>=o);break;case"gt":o=t.pop(),s=t.pop(),t.push(s>o);break;case"idiv":o=t.pop(),s=t.pop(),t.push(s/o|0);break;case"index":s=t.pop(),t.index(s);break;case"le":o=t.pop(),s=t.pop(),t.push(s<=o);break;case"ln":s=t.pop(),t.push(Math.log(s));break;case"log":s=t.pop(),t.push(Math.log(s)/Math.LN10);break;case"lt":o=t.pop(),s=t.pop(),t.push(s<o);break;case"mod":o=t.pop(),s=t.pop(),t.push(s%o);break;case"mul":o=t.pop(),s=t.pop(),t.push(s*o);break;case"ne":o=t.pop(),s=t.pop(),t.push(s!==o);break;case"neg":s=t.pop(),t.push(-s);break;case"not":"boolean"==typeof(s=t.pop())?t.push(!s):t.push(~s);break;case"or":o=t.pop(),"boolean"==typeof(s=t.pop())&&"boolean"==typeof o?t.push(s||o):t.push(s|o);break;case"pop":t.pop();break;case"roll":o=t.pop(),s=t.pop(),t.roll(s,o);break;case"round":s=t.pop(),t.push(Math.round(s));break;case"sin":s=t.pop(),t.push(Math.sin(s%360/180*Math.PI));break;case"sqrt":s=t.pop(),t.push(Math.sqrt(s));break;case"sub":o=t.pop(),s=t.pop(),t.push(s-o);break;case"true":t.push(!0);break;case"truncate":s=(s=t.pop())<0?Math.ceil(s):Math.floor(s),t.push(s);break;case"xor":o=t.pop(),"boolean"==typeof(s=t.pop())&&"boolean"==typeof o?t.push(s!==o):t.push(s^o);break;default:throw new l.FormatError("Unknown operator "+n)}else t.push(n);return t.stack}}t.PostScriptEvaluator=u;class d{constructor(e){this.type=e}visit(e){(0,l.unreachable)("abstract method")}}class x extends d{constructor(e,t,a){super("args"),this.index=e,this.min=t,this.max=a}visit(e){e.visitArgument(this)}}class S extends d{constructor(e){super("literal"),this.number=e,this.min=e,this.max=e}visit(e){e.visitLiteral(this)}}class k extends d{constructor(e,t,a,r,i){super("binary"),this.op=e,this.arg1=t,this.arg2=a,this.min=r,this.max=i}visit(e){e.visitBinaryOperation(this)}}class A extends d{constructor(e,t){super("max"),this.arg=e,this.min=e.min,this.max=t}visit(e){e.visitMin(this)}}class C extends d{constructor(e,t,a){super("var"),this.index=e,this.min=t,this.max=a}visit(e){e.visitVariable(this)}}class F extends d{constructor(e,t){super("definition"),this.variable=e,this.arg=t}visit(e){e.visitVariableDefinition(this)}}class O{constructor(){this.parts=[]}visitArgument(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}visitVariable(e){this.parts.push("v",e.index)}visitLiteral(e){this.parts.push(e.number)}visitBinaryOperation(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}visitVariableDefinition(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}visitMin(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}toString(){return this.parts.join("")}}class v{compile(a,r,i){const n=[],s=[],o=r.length>>1,l=i.length>>1;let c,h,u,d,f,g,p,m,b=0;for(let e=0;e<o;e++)n.push(new x(e,r[2*e],r[2*e+1]));for(let e=0,t=a.length;e<t;e++)if("number"!=typeof(m=a[e]))switch(m){case"add":if(n.length<2)return null;d=n.pop(),u=n.pop(),n.push((y=u,"literal"===(w=d).type&&0===w.number?y:"literal"===y.type&&0===y.number?w:"literal"===w.type&&"literal"===y.type?new S(y.number+w.number):new k("+",y,w,y.min+w.min,y.max+w.max)));break;case"cvr":if(n.length<1)return null;break;case"mul":if(n.length<2)return null;d=n.pop(),u=n.pop(),n.push(function(e,t){if("literal"===t.type){if(0===t.number)return new S(0);if(1===t.number)return e;if("literal"===e.type)return new S(e.number*t.number)}if("literal"===e.type){if(0===e.number)return new S(0);if(1===e.number)return t}var a=Math.min(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max),r=Math.max(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max);return new k("*",e,t,a,r)}(u,d));break;case"sub":if(n.length<2)return null;d=n.pop(),u=n.pop(),n.push(function(e,t){if("literal"===t.type){if(0===t.number)return e;if("literal"===e.type)return new S(e.number-t.number)}return"binary"===t.type&&"-"===t.op&&"literal"===e.type&&1===e.number&&"literal"===t.arg1.type&&1===t.arg1.number?t.arg2:new k("-",e,t,e.min-t.max,e.max-t.min)}(u,d));break;case"exch":if(n.length<2)return null;f=n.pop(),g=n.pop(),n.push(f,g);break;case"pop":if(n.length<1)return null;n.pop();break;case"index":if(n.length<1)return null;if("literal"!==(u=n.pop()).type)return null;if((c=u.number)<0||!Number.isInteger(c)||n.length<c)return null;"literal"===(f=n[n.length-c-1]).type||"var"===f.type?n.push(f):(p=new C(b++,f.min,f.max),n[n.length-c-1]=p,n.push(p),s.push(new F(p,f)));break;case"dup":if(n.length<1)return null;"number"==typeof a[e+1]&&"gt"===a[e+2]&&a[e+3]===e+7&&"jz"===a[e+4]&&"pop"===a[e+5]&&a[e+6]===a[e+1]?(u=n.pop(),n.push((y=u,w=a[e+1],y.min>=w?new S(w):y.max<=w?y:new A(y,w))),e+=6):"literal"===(f=n.at(-1)).type||"var"===f.type?n.push(f):(p=new C(b++,f.min,f.max),n[n.length-1]=p,n.push(p),s.push(new F(p,f)));break;case"roll":if(n.length<2)return null;if(d=n.pop(),u=n.pop(),"literal"!==d.type||"literal"!==u.type)return null;if(h=d.number,(c=u.number)<=0||!Number.isInteger(c)||!Number.isInteger(h)||n.length<c)return null;0!=(h=(h%c+c)%c)&&n.push(...n.splice(n.length-c,c-h));break;default:return null}else n.push(new S(m));var y,w;if(n.length!==l)return null;var v=[];for(const a of s){const r=new O;a.visit(r),v.push(r.toString())}for(let e=0,t=n.length;e<t;e++){const r=n[e],s=new O,o=(r.visit(s),i[2*e]),l=i[2*e+1],c=[s.toString()];o>r.min&&(c.unshift("Math.max(",o,", "),c.push(")")),l<r.max&&(c.unshift("Math.min(",l,", "),c.push(")")),c.unshift("dest[destOffset + ",e,"] = "),c.push(";"),v.push(c.join(""))}return v.join("\n")}}t.PostScriptCompiler=v},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptParser=t.PostScriptLexer=void 0;var r=a(2),i=a(4),n=a(3);t.PostScriptParser=class{constructor(e){this.lexer=e,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(e){return this.token.type===e&&(this.nextToken(),!0)}expect(e){if(this.accept(e))return!0;throw new r.FormatError(`Unexpected symbol: found ${this.token.type} expected ${e}.`)}parse(){return this.nextToken(),this.expect(s.LBRACE),this.parseBlock(),this.expect(s.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(s.NUMBER))this.operators.push(this.prev.value);else if(this.accept(s.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(s.LBRACE))return;this.parseCondition()}}parseCondition(){var e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(s.RBRACE),this.accept(s.IF))this.operators[e]=this.operators.length;else{if(!this.accept(s.LBRACE))throw new r.FormatError("PS Function: error parsing conditional.");var t=this.operators.length,a=(this.operators.push(null,null),this.operators.length);this.parseBlock(),this.expect(s.RBRACE),this.expect(s.IFELSE),this.operators[t]=this.operators.length,this.operators[t+1]="j",this.operators[e]=a}this.operators[e+1]="jz"}};const s={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class o{static get opCache(){return(0,r.shadow)(this,"opCache",Object.create(null))}constructor(e,t){this.type=e,this.value=t}static getOperator(e){return o.opCache[e]||=new o(s.OPERATOR,e)}static get LBRACE(){return(0,r.shadow)(this,"LBRACE",new o(s.LBRACE,"{"))}static get RBRACE(){return(0,r.shadow)(this,"RBRACE",new o(s.RBRACE,"}"))}static get IF(){return(0,r.shadow)(this,"IF",new o(s.IF,"IF"))}static get IFELSE(){return(0,r.shadow)(this,"IFELSE",new o(s.IFELSE,"IFELSE"))}}t.PostScriptLexer=class{constructor(e){this.stream=e,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let e=!1,t=this.currentChar;for(;;){if(t<0)return i.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,n.isWhiteSpace)(t))break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new o(s.NUMBER,this.getNumber());case 123:return this.nextChar(),o.LBRACE;case 125:return this.nextChar(),o.RBRACE}var a=this.strBuf;for(a.length=0,a[0]=String.fromCharCode(t);0<=(t=this.nextChar())&&(65<=t&&t<=90||97<=t&&t<=122);)a.push(String.fromCharCode(t));var r=a.join("");switch(r.toLowerCase()){case"if":return o.IF;case"ifelse":return o.IFELSE;default:return o.getOperator(r)}}getNumber(){var e=this.currentChar,t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);0<=(e=this.nextChar())&&(48<=e&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var a=parseFloat(t.join(""));if(isNaN(a))throw new r.FormatError("Invalid floating point number: "+a);return a}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RegionalImageCache=t.LocalTilingPatternCache=t.LocalImageCache=t.LocalGStateCache=t.LocalFunctionCache=t.LocalColorSpaceCache=t.GlobalImageCache=void 0;var r=a(2),i=a(4);class n{constructor(e){this.constructor===n&&(0,r.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=!0===e?.onlyRefs,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new i.RefSetCache}getByName(e){this._onlyRefs&&(0,r.unreachable)("Should not call `getByName` method.");var t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}getByRef(e){return this._imageCache.get(e)||null}set(e,t,a){(0,r.unreachable)("Abstract method `set` called.")}}t.LocalImageCache=class extends n{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalImageCache.set - expected "name" argument.');if(t)return this._imageCache.has(t)?void 0:(this._nameRefMap.set(e,t),void this._imageCache.put(t,a));this._imageMap.has(e)||this._imageMap.set(e,a)}},t.LocalColorSpaceCache=class extends n{set(e=null,t=null,a){if("string"!=typeof e&&!t)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(t)return this._imageCache.has(t)?void 0:(null!==e&&this._nameRefMap.set(e,t),void this._imageCache.put(t,a));this._imageMap.has(e)||this._imageMap.set(e,a)}},t.LocalFunctionCache=class extends n{constructor(e){super({onlyRefs:!0})}set(e=0,t,a){if(!t)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}},t.LocalGStateCache=class extends n{set(e,t=null,a){if("string"!=typeof e)throw new Error('LocalGStateCache.set - expected "name" argument.');if(t)return this._imageCache.has(t)?void 0:(this._nameRefMap.set(e,t),void this._imageCache.put(t,a));this._imageMap.has(e)||this._imageMap.set(e,a)}},t.LocalTilingPatternCache=class extends n{constructor(e){super({onlyRefs:!0})}set(e=0,t,a){if(!t)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}},t.RegionalImageCache=class extends n{constructor(e){super({onlyRefs:!0})}set(e=0,t,a){if(!t)throw new Error('RegionalImageCache.set - expected "ref" argument.');this._imageCache.has(t)||this._imageCache.put(t,a)}};class s{static NUM_PAGES_THRESHOLD=2;static MIN_IMAGES_TO_CACHE=10;static MAX_BYTE_SIZE=5*r.MAX_IMAGE_SIZE_TO_CACHE;constructor(){this._refCache=new i.RefSetCache,this._imageCache=new i.RefSetCache}get _byteSize(){let e=0;for(const t of this._imageCache)e+=t.byteSize;return e}get _cacheLimitReached(){return!(this._imageCache.size<s.MIN_IMAGES_TO_CACHE||this._byteSize<s.MAX_BYTE_SIZE)}shouldCache(e,t){let a=this._refCache.get(e);return a||(a=new Set,this._refCache.put(e,a)),a.add(t),!(a.size<s.NUM_PAGES_THRESHOLD||!this._imageCache.has(e)&&this._cacheLimitReached)}addByteSize(e,t){e=this._imageCache.get(e);e&&!e.byteSize&&(e.byteSize=t)}getData(e,t){var a=this._refCache.get(e);return a&&!(a.size<s.NUM_PAGES_THRESHOLD)&&(e=this._imageCache.get(e))?(a.add(t),e):null}setData(e,t){if(!this._refCache.has(e))throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.');this._imageCache.has(e)||(this._cacheLimitReached?(0,r.warn)("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(e,t))}clear(e=!1){e||this._refCache.clear(),this._imageCache.clear()}}t.GlobalImageCache=s},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bidi=function(a,t=-1,e=!1){let r=!0;var i=a.length;if(0===i||e)return F(a,r,e);O.length=i,I.length=i;let n,s,o=0;for(n=0;n<i;++n){O[n]=a.charAt(n);const t=a.charCodeAt(n);let e="L";t<=255?e=S[t]:1424<=t&&t<=1524?e="R":1536<=t&&t<=1791?(e=k[255&t])||(0,x.warn)("Bidi: invalid Unicode character "+t.toString(16)):(1792<=t&&t<=2220||64336<=t&&t<=65023||65136<=t&&t<=65279)&&(e="AL"),"R"!==e&&"AL"!==e&&"AN"!==e||o++,I[n]=e}if(0===o)return F(a,r=!0);-1===t&&(t=o/i<.3&&4<i?(r=!0,0):(r=!1,1));var l=[];for(n=0;n<i;++n)l[n]=t;var c=A(t)?"R":"L",h=c,u=h;let d,f=h;for(n=0;n<i;++n)"NSM"===I[n]?I[n]=f:f=I[n];for(f=h,n=0;n<i;++n)"EN"===(d=I[n])?I[n]="AL"===f?"AN":"EN":"R"!==d&&"L"!==d&&"AL"!==d||(f=d);for(n=0;n<i;++n)"AL"===(d=I[n])&&(I[n]="R");for(n=1;n<i-1;++n)"ES"===I[n]&&"EN"===I[n-1]&&"EN"===I[n+1]&&(I[n]="EN"),"CS"!==I[n]||"EN"!==I[n-1]&&"AN"!==I[n-1]||I[n+1]!==I[n-1]||(I[n]=I[n-1]);for(n=0;n<i;++n)if("EN"===I[n]){for(let e=n-1;0<=e&&"ET"===I[e];--e)I[e]="EN";for(let e=n+1;e<i&&"ET"===I[e];++e)I[e]="EN"}for(n=0;n<i;++n)"WS"!==(d=I[n])&&"ES"!==d&&"ET"!==d&&"CS"!==d||(I[n]="ON");for(f=h,n=0;n<i;++n)"EN"===(d=I[n])?I[n]="L"===f?"L":"EN":"R"!==d&&"L"!==d||(f=d);for(n=0;n<i;++n)if("ON"===I[n]){const a=function(e,t,a){let r,i;for(r=t,i=e.length;r<i;++r)if(e[r]!==a)return r;return r}(I,n+1,"ON");let e=h,t=(0<n&&(e=I[n-1]),u);if(a+1<i&&(t=I[a+1]),"L"!==e&&(e="R"),"L"!==t&&(t="R"),e===t){g=void 0;p=void 0;m=void 0;b=void 0;var g=I;var p=n;var m=a;var b=e;for(let e=p;e<m;++e)g[e]=b}n=a-1}for(n=0;n<i;++n)"ON"===I[n]&&(I[n]=c);for(n=0;n<i;++n)d=I[n],0==(1&l[n])?"R"===d?l[n]+=1:"AN"!==d&&"EN"!==d||(l[n]+=2):"L"!==d&&"AN"!==d&&"EN"!==d||(l[n]+=1);let y,w=-1,v=99;for(n=0,s=l.length;n<s;++n)y=l[n],w<y&&(w=y),v>y&&A(y)&&(v=y);for(y=w;y>=v;--y){let e=-1;for(n=0,s=l.length;n<s;++n)l[n]<y?0<=e&&(C(O,e,n),e=-1):e<0&&(e=n);0<=e&&C(O,e,l.length)}for(n=0,s=O.length;n<s;++n){const a=O[n];"<"!==a&&">"!==a||(O[n]="")}return F(O.join(""),r)};var x=a(2);const S=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],k=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function A(e){return 0!=(1&e)}function C(a,r,i){for(let e=r,t=i-1;e<t;++e,--t){const r=a[e];a[e]=a[t],a[t]=r}}function F(e,t,a=!1){let r="ltr";return a?r="ttb":t||(r="rtl"),{str:e,dir:r}}const O=[],I=[]},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getFontSubstitution=function(a,r,i,n,s){var o=n=(0,u.normalizeFontName)(n);let l=a.get(o);if(!l){let e=b.get(n);if(!e)for(const[a,r]of y)if(n.startsWith(a)){n=""+r+n.substring(a.length),e=b.get(n);break}let t=!1;e||(e=b.get(s),t=!0);s=r.getDocId()+"_s"+r.createFontId();if(e){var r=[],{style:i,ultimate:c}=(t&&(0,d.validateFontName)(n)&&r.push(`local(${n})`),function e({alias:t,local:a,path:r,fallback:i,style:n,ultimate:s},o,l,c=!0,h=!0,u=""){const d={style:null,ultimate:null};if(a){const t=u?" "+u:"";for(const r of a)o.push(`local(${r}${t})`)}if(t){const a=b.get(t),s=u||function(e){switch(e){case g:return"Bold";case p:return"Italic";case m:return"Bold Italic";default:if("bold"===e?.weight)return"Bold";if("italic"===e?.style)return"Italic"}return""}(n);Object.assign(d,e(a,o,l,c&&!i,h&&!r,s))}if(n&&(d.style=n),s&&(d.ultimate=s),c&&i){const t=b.get(i),a=e(t,o,l,c,h&&!r,u)["ultimate"];d.ultimate||=a}return h&&r&&l&&o.push(`url(${l}${r})`),d}(e,r,i)),h=null===c;l={css:s+(h?"":","+c),guessFallback:h,loadedName:s,baseFontName:n,src:r.join(","),style:i}}else{if(!(0,d.validateFontName)(n))return a.set(o,null),null;const r=/bold/gi.test(n),i=/oblique|italic/gi.test(n);l={css:s,guessFallback:!0,loadedName:s,baseFontName:n,src:`local(${n})`,style:r&&i&&m||r&&g||i&&p||f}}a.set(o,l)}return l};var u=a(38),d=a(3);const f={style:"normal",weight:"normal"},g={style:"normal",weight:"bold"},p={style:"italic",weight:"normal"},m={style:"italic",weight:"bold"},b=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:f,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:g,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:p,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:m,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:f,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:g,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:p,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:m,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono"],style:f,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:g,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:p,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:m,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:f,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:g,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:p,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:m,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:f,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:g,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:p,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:m,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:f}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),y=new Map([["Arial-Black","ArialBlack"]])},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ImageResizer=void 0;var f=a(2);class m{constructor(e,t){this._imgData=e,this._isMask=t}static needsToBeResized(e,t){var a,r;return!(e<=this._goodSquareLength&&t<=this._goodSquareLength)&&(a=this["MAX_DIM"],a<e||a<t||(r=e*t,this._hasMaxArea?r>this.MAX_AREA:!(r<this._goodSquareLength**2)&&(this._areGoodDims(e,t)?(this._goodSquareLength=Math.max(this._goodSquareLength,Math.floor(Math.sqrt(e*t))),!1):(this._goodSquareLength=this._guessMax(this._goodSquareLength,a,128,0),r>(this.MAX_AREA=this._goodSquareLength**2)))))}static get MAX_DIM(){return(0,f.shadow)(this,"MAX_DIM",this._guessMax(2048,65537,0,1))}static get MAX_AREA(){return this._hasMaxArea=!0,(0,f.shadow)(this,"MAX_AREA",this._guessMax(m._goodSquareLength,this.MAX_DIM,128,0)**2)}static set MAX_AREA(e){0<=e&&(this._hasMaxArea=!0,(0,f.shadow)(this,"MAX_AREA",e))}static setMaxArea(e){this._hasMaxArea||(this.MAX_AREA=e>>2)}static _areGoodDims(e,t){try{var a=new OffscreenCanvas(e,t),r=a.getContext("2d"),i=(r.fillRect(0,0,1,1),r.getImageData(0,0,1,1).data[3]);return a.width=a.height=1,0!==i}catch(e){return!1}}static _guessMax(e,t,a,r){for(;e+a+1<t;){const a=Math.floor((e+t)/2),i=r||a;this._areGoodDims(a,i)?e=a:t=a}return e}static async createImage(e,t=!1){return new m(e,t)._createImage()}async _createImage(){const e=this._encodeBMP(),t=new Blob([e.buffer],{type:"image/bmp"}),a=createImageBitmap(t),{MAX_AREA:r,MAX_DIM:i}=m,n=this["_imgData"],{width:s,height:o}=n,l=Math.max(s/i,o/i,Math.sqrt(s*o/r)),c=Math.max(l,2),h=Math.round(10*(l+1.25))/10/c,u=Math.floor(Math.log2(h)),d=new Array(u+2).fill(2);d[0]=c,d.splice(-1,1,h/(1<<u));let f=s,g=o,p=await a;for(const e of d){const t=f,a=g,r=(f=Math.floor(f/e)-1,g=Math.floor(g/e)-1,new OffscreenCanvas(f,g));r.getContext("2d").drawImage(p,0,0,t,a,0,0,f,g),p=r.transferToImageBitmap()}return n.data=null,n.bitmap=p,n.width=f,n.height=g,n}_encodeBMP(){const{width:r,height:i}=this._imgData;let n,s=this._imgData.data,o=new Uint8Array(0),e=o,t=0;switch(d){case f.ImageKind.GRAYSCALE_1BPP:{n=1,o=new Uint8Array(this._isMask?[255,255,255,255,0,0,0,0]:[0,0,0,0,255,255,255,255]);const d=r+7>>3,f=3+d&-4;if(d!=f){const r=new Uint8Array(f*i);let a=0;for(let e=0,t=i*d;e<t;e+=d,a+=f)r.set(s.subarray(e,e+d),a);s=r}break}case f.ImageKind.RGB_24BPP:if(n=24,3&r){const d=3*r,f=3+d&-4,n=f-d,o=new Uint8Array(f*i);let a=0;for(let e=0,t=i*d;e<t;e+=d){const i=s.subarray(e,e+d);for(let e=0;e<d;e+=3)o[a++]=i[e+2],o[a++]=i[e+1],o[a++]=i[e];a+=n}s=o}else for(let e=0,t=s.length;e<t;e+=3){const i=s[e];s[e]=s[e+2],s[e+2]=i}break;case f.ImageKind.RGBA_32BPP:n=32,t=3,e=new Uint8Array(68);const d=new DataView(e.buffer);f.FeatureTest.isLittleEndian?(d.setUint32(0,255,!0),d.setUint32(4,65280,!0),d.setUint32(8,16711680,!0),d.setUint32(12,4278190080,!0)):(d.setUint32(0,4278190080,!0),d.setUint32(4,16711680,!0),d.setUint32(8,65280,!0),d.setUint32(12,255,!0));break;default:throw new Error("invalid format")}var a=0,l=40+e.length,c=14+l+o.length+s.length,h=new Uint8Array(c),u=new DataView(h.buffer);return u.setUint16(0,19778,!0),a+=2,u.setUint32(2,c,!0),a+=4,u.setUint32(6,0,!0),a+=4,u.setUint32(10,14+l+o.length,!0),a+=4,u.setUint32(14,l,!0),a+=4,u.setInt32(18,r,!0),a+=4,u.setInt32(22,-i,!0),a+=4,u.setUint16(26,1,!0),a+=2,u.setUint16(28,n,!0),a+=2,u.setUint32(30,t,!0),a+=4,u.setUint32(34,0,!0),a+=4,u.setInt32(38,0,!0),a+=4,u.setInt32(42,0,!0),a+=4,u.setUint32(46,o.length/4,!0),a+=4,u.setUint32(50,0,!0),a+=4,h.set(e,54),a+=e.length,h.set(o,a),a+=o.length,h.set(s,a),h}}(t.ImageResizer=m)._goodSquareLength=2048},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MurmurHash3_64=void 0;var d=a(2);const f=4294901760,g=65535;t.MurmurHash3_64=class{constructor(e){this.h1=e?4294967295&e:3285377520,this.h2=e?4294967295&e:3285377520}update(a){let r,i;if("string"==typeof a){r=new Uint8Array(2*a.length);for(let e=i=0,t=a.length;e<t;e++){const n=a.charCodeAt(e);n<=255?r[i++]=n:(r[i++]=n>>>8,r[i++]=255&n)}}else{if(!(0,d.isArrayBuffer)(a))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=a.slice(),i=r.byteLength}const n=i>>2,e=i-4*n,t=new Uint32Array(r.buffer,0,n);let s=0,o,l=this.h1,c=this.h2;var h=3432918353,u=461845907;for(let e=0;e<n;e++)1&e?(s=(s=(s=(s=t[e])*h&f|11601*s&g)<<15|s>>>17)*u&f|13715*s&g,l=5*(l=(l^=s)<<13|l>>>19)+3864292196):(o=(o=(o=(o=t[e])*h&f|11601*o&g)<<15|o>>>17)*u&f|13715*o&g,c=5*(c=(c^=o)<<13|c>>>19)+3864292196);switch(s=0,e){case 3:s^=r[4*n+2]<<16;case 2:s^=r[4*n+1]<<8;case 1:s=(s=(s=(s^=r[4*n])*h&f|11601*s&g)<<15|s>>>17)*u&f|13715*s&g,1&n?l^=s:c^=s}this.h1=l,this.h2=c}hexdigest(){var e=this.h1,t=this.h2,e=3981806797*(e^=t>>>1)&f|36045*e&g;return e=444984403*(e^=(t=4283543511*t&f|(2950163797*(t<<16|e>>>16)&f)>>>16)>>>1)&f|60499*e&g,((e^=(t=3301882366*t&f|(3120437893*(t<<16|e>>>16)&f)>>>16)>>>1)>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorList=void 0;var y=a(2);function r(e,a,r,t,i){let n=e;for(let e=0,t=a.length-1;e<t;e++){const r=a[e];n=n[r]||=[]}n[a.at(-1)]={checkFn:r,iterateFn:t,processFn:i}}const s=[];r(s,[y.OPS.save,y.OPS.transform,y.OPS.paintInlineImageXObject,y.OPS.restore],null,function(e,t){var a=e.fnArray,e=(t-(e.iCurr-3))%4;switch(e){case 0:return a[t]===y.OPS.save;case 1:return a[t]===y.OPS.transform;case 2:return a[t]===y.OPS.paintInlineImageXObject;case 3:return a[t]===y.OPS.restore}throw new Error("iterateInlineImageGroup - invalid pos: "+e)},function(e,n){const s=e.fnArray,t=e.argsArray,a=e.iCurr,r=a-3,i=a-2,o=a-1,l=Math.min(Math.floor((n-r)/4),200);if(l<10)return n-(n-r)%4;let c=0;var h=[];let u=0,d=1,f=1;for(let e=0;e<l;e++){const n=t[i+(e<<2)],s=t[o+(e<<2)][0];1e3<d+s.width&&(c=Math.max(c,d),f+=u+2,d=0,u=0),h.push({transform:n,x:d,y:f,w:s.width,h:s.height}),d+=s.width+2,u=Math.max(u,s.height)}var g=Math.max(c,d)+1,n=f+u+1,p=new Uint8Array(g*n*4),m=g<<2;for(let i=0;i<l;i++){const n=t[o+(i<<2)][0].data,s=h[i].w<<2;let a=0,r=h[i].x+h[i].y*g<<2;p.set(n.subarray(0,s),r-m);for(let e=0,t=h[i].h;e<t;e++)p.set(n.subarray(a,a+s),r),a+=s,r+=m;for(p.set(n.subarray(a-s,a),r);0<=r;)n[r-4]=n[r],n[r-3]=n[r+1],n[r-2]=n[r+2],n[r-1]=n[r+3],n[r+s]=n[r+s-4],n[r+s+1]=n[r+s-3],n[r+s+2]=n[r+s-2],n[r+s+3]=n[r+s-1],r-=m}var b={width:g,height:n};if(e.isOffscreenCanvasSupported){const e=new OffscreenCanvas(g,n);e.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(p.buffer),g,n),0,0),b.bitmap=e.transferToImageBitmap(),b.data=null}else b.kind=y.ImageKind.RGBA_32BPP,b.data=p;return s.splice(r,4*l,y.OPS.paintInlineImageXObjectGroup),t.splice(r,4*l,[b,h]),1+r}),r(s,[y.OPS.save,y.OPS.transform,y.OPS.paintImageMaskXObject,y.OPS.restore],null,function(e,t){var a=e.fnArray,e=(t-(e.iCurr-3))%4;switch(e){case 0:return a[t]===y.OPS.save;case 1:return a[t]===y.OPS.transform;case 2:return a[t]===y.OPS.paintImageMaskXObject;case 3:return a[t]===y.OPS.restore}throw new Error("iterateImageMaskGroup - invalid pos: "+e)},function(t,e){const a=t.fnArray,r=t.argsArray,i=t.iCurr,n=i-3,s=i-2,o=i-1;let l=Math.floor((e-n)/4);if(l<10)return e-(e-n)%4;let c,h,u=!1;var d=r[o][0],f=r[s][0],g=r[s][1],p=r[s][2],m=r[s][3];if(g===p){u=!0,c=4+s;let t=4+o;for(let e=1;e<l;e++,c+=4,t+=4)if(h=r[c],r[t][0]!==d||h[0]!==f||h[1]!==g||h[2]!==p||h[3]!==m){e<10?u=!1:l=e;break}}if(u){l=Math.min(l,1e3);const t=new Float32Array(2*l);c=s;for(let e=0;e<l;e++,c+=4)h=r[c],t[e<<1]=h[4],t[1+(e<<1)]=h[5];a.splice(n,4*l,y.OPS.paintImageMaskXObjectRepeat),r.splice(n,4*l,[d,f,g,p,m,t])}else{l=Math.min(l,100);const t=[];for(let e=0;e<l;e++){h=r[s+(e<<2)];const a=r[o+(e<<2)][0];t.push({data:a.data,width:a.width,height:a.height,interpolate:a.interpolate,count:a.count,transform:h})}a.splice(n,4*l,y.OPS.paintImageMaskXObjectGroup),r.splice(n,4*l,[t])}return 1+n}),r(s,[y.OPS.save,y.OPS.transform,y.OPS.paintImageXObject,y.OPS.restore],function(e){var t=e.argsArray,e=e.iCurr-2;return 0===t[e][1]&&0===t[e][2]},function(e,t){const a=e.fnArray,r=e.argsArray,i=(t-(e.iCurr-3))%4;switch(i){case 0:return a[t]===y.OPS.save;case 1:if(a[t]!==y.OPS.transform)return!1;const i=e.iCurr-2,s=r[i][0],o=r[i][3];return r[t][0]===s&&0===r[t][1]&&0===r[t][2]&&r[t][3]===o;case 2:var n;return a[t]!==y.OPS.paintImageXObject?!1:(n=r[e.iCurr-1][0],r[t][0]===n);case 3:return a[t]===y.OPS.restore}throw new Error("iterateImageGroup - invalid pos: "+i)},function(e,t){var a=e.fnArray,r=e.argsArray,e=e.iCurr,i=e-3,n=e-2,e=r[e-1][0],s=r[n][0],o=r[n][3],l=Math.min(Math.floor((t-i)/4),1e3);if(l<3)return t-(t-i)%4;var c=new Float32Array(2*l);let h=n;for(let e=0;e<l;e++,h+=4){const t=r[h];c[e<<1]=t[4],c[1+(e<<1)]=t[5]}t=[e,s,o,c];return a.splice(i,4*l,y.OPS.paintImageXObjectRepeat),r.splice(i,4*l,t),1+i}),r(s,[y.OPS.beginText,y.OPS.setFont,y.OPS.setTextMatrix,y.OPS.showText,y.OPS.endText],null,function(e,t){const a=e.fnArray,r=e.argsArray,i=(t-(e.iCurr-4))%5;switch(i){case 0:return a[t]===y.OPS.beginText;case 1:return a[t]===y.OPS.setFont;case 2:return a[t]===y.OPS.setTextMatrix;case 3:if(a[t]!==y.OPS.showText)return!1;const i=e.iCurr-3,n=r[i][0],s=r[i][1];return r[t][0]===n&&r[t][1]===s;case 4:return a[t]===y.OPS.endText}throw new Error("iterateShowTextGroup - invalid pos: "+i)},function(e,t){var a=e.fnArray,r=e.argsArray,e=e.iCurr,i=e-4,n=e-3,s=e-2,o=e-1,l=r[n][0],c=r[n][1];let h=Math.min(Math.floor((t-i)/5),1e3);if(h<3)return t-(t-i)%5;let u=i,d=(4<=i&&a[i-4]===a[n]&&a[i-3]===a[s]&&a[i-2]===a[o]&&a[i-1]===a[e]&&r[i-4][0]===l&&r[i-4][1]===c&&(h++,u-=5),u+4);for(let e=1;e<h;e++)a.splice(d,3),r.splice(d,3),d+=2;return d+1});class i{constructor(e){this.queue=e}_optimize(){}push(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}flush(){}reset(){}}class n extends i{constructor(e){super(e),this.state=null,this.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray,isOffscreenCanvasSupported:!1},this.match=null,this.lastProcessed=0}set isOffscreenCanvasSupported(e){this.context.isOffscreenCanvasSupported=e}_optimize(){var e=this.queue.fnArray;let t=this.lastProcessed,a=e.length,r=this.state,i=this.match;if(r||i||t+1!==a||s[e[t]]){for(var n=this.context;t<a;){if(i){if((0,i.iterateFn)(n,t)){t++;continue}if(t=(0,i.processFn)(n,t+1),a=e.length,i=null,r=null,t>=a)break}(r=(r||s)[e[t]])&&!Array.isArray(r)?(n.iCurr=t,t++,r=((!r.checkFn||(0,r.checkFn)(n))&&(i=r),null)):t++}this.state=r,this.match=i,this.lastProcessed=t}else this.lastProcessed=a}flush(){for(;this.match;){var e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}}class o{static CHUNK_SIZE=1e3;static CHUNK_SIZE_ABOUT=this.CHUNK_SIZE-5;constructor(e=0,t){this._streamSink=t,this.fnArray=[],this.argsArray=[],!t||e&y.RenderingIntentFlag.OPLIST?this.optimizer=new i(this):this.optimizer=new n(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=t?null:Promise.resolve()}set isOffscreenCanvasSupported(e){this.optimizer.isOffscreenCanvasSupported=e}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(e,t){this.optimizer.push(e,t),this.weight++,this._streamSink&&(this.weight>=o.CHUNK_SIZE||this.weight>=o.CHUNK_SIZE_ABOUT&&(e===y.OPS.restore||e===y.OPS.endText))&&this.flush()}addImageOps(e,t,a){void 0!==a&&this.addOp(y.OPS.beginMarkedContentProps,["OC",a]),this.addOp(e,t),void 0!==a&&this.addOp(y.OPS.endMarkedContent,[])}addDependency(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(y.OPS.dependency,[e]))}addDependencies(e){for(const t of e)this.addDependency(t)}addOpList(a){if(a instanceof o){for(const e of a.dependencies)this.dependencies.add(e);for(let e=0,t=a.length;e<t;e++)this.addOp(a.fnArray[e],a.argsArray[e])}else(0,y.warn)('addOpList - ignoring invalid "opList" parameter.')}getIR(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}get _transfers(){const t=[],{argsArray:a,length:r}=this;for(let e=0;e<r;e++)switch(i[e]){case y.OPS.paintInlineImageXObject:case y.OPS.paintInlineImageXObjectGroup:case y.OPS.paintImageMaskXObject:const i=a[e][0];!i.cached&&i.data?.buffer instanceof ArrayBuffer&&t.push(i.data.buffer)}return t}flush(e=!1,t=null){this.optimizer.flush();var a=this.length;this._totalLength+=a,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,separateAnnots:t,length:a},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}t.OperatorList=o},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFImage=void 0;var w=a(2),l=a(28),p=a(5),m=a(12),s=a(18),v=a(62),x=a(26),b=a(30),y=a(4);function f(e,t,a,r,i,n){var s=i*n,o=new(t<=8?Uint8Array:t<=16?Uint16Array:Uint32Array)(s),l=a/i,c=r/n;let h,u,d,f,g=0;var p=new Uint16Array(i),m=a;for(h=0;h<i;h++)p[h]=Math.floor(h*l);for(h=0;h<n;h++)for(d=Math.floor(h*c)*m,u=0;u<i;u++)f=d+p[u],o[g++]=e[f];return o}t.PDFImage=class S{constructor({xref:a,res:r,image:t,isInline:i=!1,smask:e=null,mask:n=null,isMask:s=!1,pdfFunctionFactory:o,localColorSpaceCache:l}){var c=(this.image=t).dict,h=c.get("F","Filter");let u;if(h instanceof y.Name)u=h.name;else if(Array.isArray(h)){const r=a.fetchIfRef(h[0]);r instanceof y.Name&&(u=r.name)}switch(u){case"JPXDecode":const a=new b.JpxImage;a.parseImageProperties(t.stream),t.stream.reset(),t.width=a.width,t.height=a.height,t.bitsPerComponent=a.bitsPerComponent,t.numComps=a.componentsCount;break;case"JBIG2Decode":t.bitsPerComponent=1,t.numComps=1}let d=c.get("W","Width"),f=c.get("H","Height");if(Number.isInteger(t.width)&&0<t.width&&Number.isInteger(t.height)&&0<t.height&&(t.width!==d||t.height!==f)&&((0,w.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),d=t.width,f=t.height),d<1||f<1)throw new w.FormatError(`Invalid image width: ${d} or height: `+f);this.width=d,this.height=f,this.interpolate=c.get("I","Interpolate"),this.imageMask=c.get("IM","ImageMask")||!1,this.matte=c.get("Matte")||!1;let g=t.bitsPerComponent;if(!g&&!(g=c.get("BPC","BitsPerComponent"))){if(!this.imageMask)throw new w.FormatError("Bits per component missing in image: "+this.imageMask);g=1}if(this.bpc=g,!this.imageMask){let e=c.getRaw("CS")||c.getRaw("ColorSpace");if(!e)switch((0,w.info)("JPX images (which do not require color spaces)"),t.numComps){case 1:e=y.Name.get("DeviceGray");break;case 3:e=y.Name.get("DeviceRGB");break;case 4:e=y.Name.get("DeviceCMYK");break;default:throw new Error(`JPX images with ${t.numComps} color components not supported.`)}this.colorSpace=m.ColorSpace.parse({cs:e,xref:a,resources:i?r:null,pdfFunctionFactory:o,localColorSpaceCache:l}),this.numComps=this.colorSpace.numComps}if(this.decode=c.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,g)||s&&!m.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const a=(1<<g)-1,r=(this.decodeCoefficients=[],this.decodeAddends=[],"Indexed"===this.colorSpace?.name);for(let e=0,t=0;e<this.decode.length;e+=2,++t){const i=this.decode[e],p=this.decode[e+1];this.decodeCoefficients[t]=r?(p-i)/a:p-i,this.decodeAddends[t]=r?i:a*i}}e?this.smask=new S({xref:a,res:r,image:e,isInline:i,pdfFunctionFactory:o,localColorSpaceCache:l}):n&&(n instanceof p.BaseStream?n.dict.get("IM","ImageMask")?this.mask=new S({xref:a,res:r,image:n,isInline:i,isMask:!0,pdfFunctionFactory:o,localColorSpaceCache:l}):(0,w.warn)("Ignoring /Mask in image without /ImageMask."):this.mask=n)}static async buildImage({xref:e,res:t,image:a,isInline:r=!1,pdfFunctionFactory:i,localColorSpaceCache:n}){var s=a;let o=null,l=null;var c=a.dict.get("SMask"),a=a.dict.get("Mask");return c?c instanceof p.BaseStream?o=c:(0,w.warn)("Unsupported /SMask format."):a&&(a instanceof p.BaseStream||Array.isArray(a)?l=a:(0,w.warn)("Unsupported /Mask format.")),new S({xref:e,res:t,image:s,isInline:r,smask:o,mask:l,pdfFunctionFactory:i,localColorSpaceCache:n})}static createRawMask({imgArray:e,width:t,height:a,imageIsFromDecodeStream:r,inverseDecode:i,interpolate:n}){var s=(t+7>>3)*a,o=e.byteLength;let l,c;if(!r||i&&s!==o?i?((l=new Uint8Array(s)).set(e),l.fill(255,o)):l=new Uint8Array(e):l=e,i)for(c=0;c<o;c++)l[c]^=255;return{data:l,width:t,height:a,interpolate:n}}static async createMask({imgArray:e,width:t,height:a,imageIsFromDecodeStream:r,inverseDecode:i,interpolate:n,isOffscreenCanvasSupported:s=!1}){const o=1===t&&1===a&&i===(0===e.length||!!(128&e[0]));if(o)return{isSingleOpaquePixel:o};if(s){if(v.ImageResizer.needsToBeResized(t,a)){const r=new Uint8ClampedArray(t*a*4);return(0,l.convertBlackAndWhiteToRGBA)({src:e,dest:r,width:t,height:a,nonBlackColor:0,inverseDecode:i}),v.ImageResizer.createImage({kind:w.ImageKind.RGBA_32BPP,data:r,width:t,height:a,interpolate:n})}const r=new OffscreenCanvas(t,a),s=r.getContext("2d"),o=s.createImageData(t,a);return(0,l.convertBlackAndWhiteToRGBA)({src:e,dest:o.data,width:t,height:a,nonBlackColor:0,inverseDecode:i}),s.putImageData(o,0,0),{data:null,width:t,height:a,interpolate:n,bitmap:r.transferToImageBitmap()}}return this.createRawMask({imgArray:e,width:t,height:a,inverseDecode:i,imageIsFromDecodeStream:r,interpolate:n})}get drawWidth(){return Math.max(this.width,this.smask?.width||0,this.mask?.width||0)}get drawHeight(){return Math.max(this.height,this.smask?.height||0,this.mask?.height||0)}decodeBuffer(a){var r,i,n,s,e=this.bpc,o=this.numComps,l=this.decodeAddends,c=this.decodeCoefficients,h=(1<<e)-1;let u,d;if(1===e)for(u=0,d=a.length;u<d;u++)a[u]=+!a[u];else{let t=0;for(u=0,d=this.width*this.height;u<d;u++)for(let e=0;e<o;e++)a[t]=(r=a[t],i=l[e],n=c[e],s=h,(r=i+r*n)<0?r=0:s<r&&(r=s),r),t++}}getComponents(i){var a=this.bpc;if(8===a)return i;const e=this.width,n=this.height,t=this.numComps,r=e*n*t;let s,o=0;s=new(a<=8?Uint8Array:a<=16?Uint16Array:Uint32Array)(r);var l=e*t,c=(1<<a)-1;let h,u,d=0;if(1===a){let t,a,r;for(let e=0;e<n;e++){for(a=d+(-8&l),r=d+l;d<a;)u=i[o++],s[d]=u>>7&1,s[d+1]=u>>6&1,s[d+2]=u>>5&1,s[d+3]=u>>4&1,s[d+4]=u>>3&1,s[d+5]=u>>2&1,s[d+6]=u>>1&1,s[d+7]=1&u,d+=8;if(d<r)for(u=i[o++],t=128;d<r;)s[d++]=+!!(u&t),t>>=1}}else{let t=0;for(u=0,d=0,h=r;d<h;++d){for(d%l==0&&(u=0,t=0);t<a;)u=u<<8|i[o++],t+=8;const n=t-a;let e=u>>n;e<0?e=0:e>c&&(e=c),s[d]=e,u&=(1<<n)-1,t=n}}return s}fillOpacity(t,e,a,r,i){var n=this.smask,s=this.mask;let o,l,c,h,u,d;if(n)l=n.width,c=n.height,o=new Uint8ClampedArray(l*c),n.fillGrayBuffer(o),l===e&&c===a||(o=f(o,n.bpc,l,c,e,a));else if(s)if(s instanceof S){for(l=s.width,c=s.height,o=new Uint8ClampedArray(l*c),s.numComps=1,s.fillGrayBuffer(o),h=0,u=l*c;h<u;++h)o[h]=255-o[h];l===e&&c===a||(o=f(o,s.bpc,l,c,e,a))}else{if(!Array.isArray(s))throw new w.FormatError("Unknown mask format.");{o=new Uint8ClampedArray(e*a);const t=this.numComps;for(h=0,u=e*a;h<u;++h){let e=0;const a=h*t;for(d=0;d<t;++d){const t=i[a+d],w=2*d;if(t<s[w]||t>s[1+w]){e=255;break}}o[h]=e}}}if(o)for(h=0,d=3,u=e*r;h<u;++h,d+=4)t[d]=o[h];else for(h=0,d=3,u=e*r;h<u;++h,d+=4)t[d]=255}undoPreblend(t,e,a){const r=this.smask?.matte;if(r){var i=this.colorSpace.getRgb(r,0),n=i[0],s=i[1],o=i[2],l=e*a*4;for(let e=0;e<l;e+=4){const a=t[e+3];if(0===a)t[e]=255,t[e+1]=255,t[e+2]=255;else{const r=255/a;t[e]=(t[e]-n)*r+n,t[e+1]=(t[e+1]-s)*r+s,t[e+2]=(t[e+2]-o)*r+o}}}}async createImageData(e=!1,a=!1){const r=this.drawWidth,i=this.drawHeight,n={width:r,height:i,interpolate:this.interpolate,kind:0,data:null},t=this.numComps,s=this.width,o=this.height,l=this.bpc,c=s*t*l+7>>3,h=a&&v.ImageResizer.needsToBeResized(r,i);if(!e){let e;if("DeviceGray"===this.colorSpace.name&&1===l?e=w.ImageKind.GRAYSCALE_1BPP:"DeviceRGB"!==this.colorSpace.name||8!==l||this.needsDecode||(e=w.ImageKind.RGB_24BPP),e&&!this.smask&&!this.mask&&r===s&&i===o){const t=this.getImageBytes(o*c,{});if(a)return h?v.ImageResizer.createImage({data:t,kind:e,width:r,height:i,interpolate:this.interpolate},this.needsDecode):this.createBitmap(e,s,o,t);if(n.kind=e,n.data=t,this.needsDecode){(0,w.assert)(e===w.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const a=n.data;for(let e=0,t=a.length;e<t;e++)a[e]^=255}return n}if(this.image instanceof x.JpegStream&&!this.smask&&!this.mask&&!this.needsDecode){let t=o*c;if(a&&!h){let e=!1;switch(this.colorSpace.name){case"DeviceGray":t*=4,e=!0;break;case"DeviceRGB":t=t/3*4,e=!0;break;case"DeviceCMYK":e=!0}if(e){const a=this.getImageBytes(t,{drawWidth:r,drawHeight:i,forceRGBA:!0});return this.createBitmap(w.ImageKind.RGBA_32BPP,r,i,a)}}else switch(this.colorSpace.name){case"DeviceGray":t*=3;case"DeviceRGB":case"DeviceCMYK":return n.kind=w.ImageKind.RGB_24BPP,n.data=this.getImageBytes(t,{drawWidth:r,drawHeight:i,forceRGB:!0}),h?v.ImageResizer.createImage(n):n}}}var u=0|(d=this.getImageBytes(o*c,{internal:!0})).length/c*i/o,d=this.getComponents(d);let f,g,p,m,b,y;return a&&!h&&(p=new OffscreenCanvas(r,i),m=p.getContext("2d"),b=m.createImageData(r,i),y=b.data),n.kind=w.ImageKind.RGBA_32BPP,e||this.smask||this.mask?(a&&!h||(y=new Uint8ClampedArray(r*i*4)),f=1,g=!0,this.fillOpacity(y,r,i,u,d)):(f=!a||h?(n.kind=w.ImageKind.RGB_24BPP,y=new Uint8ClampedArray(r*i*3),0):(new Uint32Array(y.buffer).fill(w.FeatureTest.isLittleEndian?4278190080:255),1),g=!1),this.needsDecode&&this.decodeBuffer(d),this.colorSpace.fillRgb(y,s,o,r,i,u,l,d,f),g&&this.undoPreblend(y,r,u),a&&!h?(m.putImageData(b,0,0),{data:null,width:r,height:i,bitmap:p.transferToImageBitmap(),interpolate:this.interpolate}):(n.data=y,h?v.ImageResizer.createImage(n):n)}fillGrayBuffer(e){if(1!==(i=this.numComps))throw new w.FormatError("Reading gray scale from a color image: "+i);var t=this.width,a=this.height,r=this.bpc,i=this.getImageBytes(a*(t*i*r+7>>3),{internal:!0}),n=this.getComponents(i);let s,o;if(1===r)if(o=t*a,this.needsDecode)for(s=0;s<o;++s)e[s]=n[s]-1&255;else for(s=0;s<o;++s)e[s]=255&-n[s];else{this.needsDecode&&this.decodeBuffer(n),o=t*a;var l=255/((1<<r)-1);for(s=0;s<o;++s)e[s]=l*n[s]}}createBitmap(e,t,a,r){var i=new OffscreenCanvas(t,a),n=i.getContext("2d");let s;return e===w.ImageKind.RGBA_32BPP?s=new ImageData(r,t,a):(s=n.createImageData(t,a),(0,l.convertToRGBA)({kind:e,src:r,dest:new Uint32Array(s.data.buffer),width:t,height:a,inverseDecode:this.needsDecode})),n.putImageData(s,0,0),{data:null,width:t,height:a,bitmap:i.transferToImageBitmap(),interpolate:this.interpolate}}getImageBytes(e,{drawWidth:t,drawHeight:a,forceRGBA:r=!1,forceRGB:i=!1,internal:n=!1}){return this.image.reset(),this.image.drawWidth=t||this.width,this.image.drawHeight=a||this.height,this.image.forceRGBA=!!r,this.image.forceRGB=!!i,t=this.image.getBytes(e),n||this.image instanceof s.DecodeStream?t:((0,w.assert)(t instanceof Uint8Array,'PDFImage.getImageBytes: Unsupported "imageBytes" type.'),new Uint8Array(t))}}},(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.incrementalUpdate=async function({originalData:e,xrefInfo:t,newRefs:a,xref:r=null,hasXfa:i=!1,xfaDatasetsRef:n=null,hasXfaDatasetsEntry:s=!1,needAppearances:o,acroFormRef:l=null,acroForm:c=null,xfaData:h=null}){var{xref:u,acroForm:d,acroFormRef:c,hasXfa:l,hasXfaDatasetsEntry:s,xfaDatasetsRef:o,needAppearances:f,newRefs:g}={xref:r,acroForm:c,acroFormRef:l,hasXfa:i,hasXfaDatasetsEntry:s,xfaDatasetsRef:n,needAppearances:o,newRefs:a};if(!l||s||o||(0,A.warn)("XFA - Cannot save it"),f||l&&o){var p=new C.Dict(u);for(const u of d.getKeys())p.set(u,d.getRaw(u));if(l&&!s){const u=d.get("XFA").slice();u.splice(2,0,"datasets"),u.splice(3,0,o),p.set("XFA",u)}f&&p.set("NeedAppearances",!0);l=u.encrypt;let e=null;s=[];await T(c,p,s,e=l?l.createCipherTransform(c.num,c.gen):e),g.push({ref:c,data:s.join("")})}{var o,f,u,l;await 0,i&&({xfaData:o,xfaDatasetsRef:f,newRefs:u,xref:l}={xfaData:h,xfaDatasetsRef:n,newRefs:a,xref:r},null===o&&(o=function(e,t){var a=new O.SimpleXMLParser({hasAttributes:!0}).parseFromString(e);for(const{xfa:e}of t)if(e){const{path:t,value:i}=e;if(t){var r=(0,F.parseXFAPath)(t);let e=a.documentElement.searchNode(r,0);(e=!e&&1<r.length?a.documentElement.searchNode([r.at(-1)],0):e)?Array.isArray(i)?e.childNodes=i.map(e=>new O.SimpleDOMNode("value",e)):e.childNodes=[new O.SimpleDOMNode("#text",i)]:(0,A.warn)("Node not found for path: "+t)}}const i=[];return a.documentElement.dump(i),i.join("")}(l.fetchIfRef(f).getString(),u)),(l=l.encrypt)&&(o=l.createCipherTransform(f.num,f.gen).encryptString(o)),l=""+f.num+` ${f.gen} obj
|
|
2
2
|
<< /Type /EmbeddedFile /Length ${o.length}>>
|
|
3
3
|
stream
|
|
4
4
|
`+o+"\nendstream\nendobj\n",u.push({ref:f,data:l}))}g=new C.Dict(null),c=t.newRef;let m,b;var s=e.at(-1),y=(b=10===s||13===s?(m=[],e.length):(m=["\n"],e.length+1),g.set("Size",c.num+1),g.set("Prev",t.startXRef),g.set("Type",C.Name.get("XRef")),null!==t.rootRef&&g.set("Root",t.rootRef),null!==t.infoRef&&g.set("Info",t.infoRef),null!==t.encryptRef&&g.set("Encrypt",t.encryptRef),a.push({ref:c,data:""}),[[0,1,65535]]),w=[0,1];let v=0;for(const{ref:e,data:t}of a=a.sort((e,t)=>e.ref.num-t.ref.num))v=Math.max(v,b),y.push([1,b,Math.min(e.gen,65535)]),b+=t.length,w.push(e.num,1),m.push(t);if(g.set("Index",w),Array.isArray(t.fileIds)&&0<t.fileIds.length){const e=function(e,t){var a=Math.floor(Date.now()/1e3),r=t.filename||"",i=[a.toString(),r,e.toString()];let n=i.reduce((e,t)=>e+t.length,0);for(const e of Object.values(t.info))i.push(e),n+=e.length;var s=new Uint8Array(n);let o=0;for(const e of i)E(e,o,s),o+=e.length;return(0,A.bytesToString)((0,I.calculateMD5)(s))}(b,t);g.set("ID",[t.fileIds[0],e])}var x=[1,Math.ceil(Math.log2(v)/8),2],i=(x[0]+x[1]+x[2])*y.length,h=(g.set("W",x),g.set("Length",i),m.push(`${c.num} ${c.gen} obj\n`),await M(g,m,null),m.push(" stream\n"),m.reduce((e,t)=>e+t.length,0)),n=`
|