@silurus/ooxml 0.72.0 → 0.72.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.
- package/dist/{docx-BPF-eH0O.js → docx-wLLJuetI.js} +2646 -2175
- package/dist/docx.mjs +2 -2
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{find-cursor-DTrEBxjE.js → find-cursor-DBifiZop.js} +949 -923
- package/dist/{highlight-rect-B--cPQOV.js → highlight-rect-DTgfiJgA.js} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{pptx-BMxDfEYI.js → pptx-D3L4FQfI.js} +113 -107
- package/dist/pptx.mjs +2 -2
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/render-worker-host-B5esxBj-.js +27 -0
- package/dist/render-worker-host-BzhGwe0I.js +27 -0
- package/dist/render-worker-host-Cg60RAG_.js +27 -0
- package/dist/{segments-Da-soh2U.js → segments--0hIQLXB.js} +1 -1
- package/dist/types/docx.d.ts +30 -0
- package/dist/types/index.d.ts +45 -0
- package/dist/types/pptx.d.ts +11 -0
- package/dist/types/xlsx.d.ts +3 -0
- package/dist/{visible-index-5hdq_oAL.js → visible-index-DSN5XPnm.js} +1 -1
- package/dist/{xlsx-bwQD8c1Q.js → xlsx-BWEqRZ25.js} +344 -337
- package/dist/xlsx.mjs +2 -2
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +1 -1
- package/dist/render-worker-host-DL_kkykF.js +0 -27
- package/dist/render-worker-host-S0HOWgs0.js +0 -27
- package/dist/render-worker-host-l8yqDUfE.js +0 -27
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//#region packages/docx/src/render-worker.ts?worker&inline
|
|
2
|
-
var e = "var e=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,n.unregister(this),e}free(){let e=this.__destroy_into_raw();v.__wbg_docxarchive_free(e,0)}extract_image(e){let t=d(e,v.__wbindgen_malloc,v.__wbindgen_realloc),n=_,i=v.docxarchive_extract_image(this.__wbg_ptr,t,n);if(i[3])throw f(i[2]);var a=r(i[0],i[1]).slice();return v.__wbindgen_free(i[0],i[1]*1,1),a}constructor(e,t){let r=u(e,v.__wbindgen_malloc),i=_,a=v.docxarchive_new(r,i,!l(t),l(t)?BigInt(0):t);if(a[2])throw f(a[1]);return this.__wbg_ptr=a[0]>>>0,n.register(this,this.__wbg_ptr,this),this}parse(){let e=v.docxarchive_parse(this.__wbg_ptr);if(e[3])throw f(e[2]);var t=r(e[0],e[1]).slice();return v.__wbindgen_free(e[0],e[1]*1,1),t}to_markdown(){let e,t;try{let i=v.docxarchive_to_markdown(this.__wbg_ptr);var n=i[0],r=i[1];if(i[3])throw n=0,r=0,f(i[2]);return e=n,t=r,o(n,r)}finally{v.__wbindgen_free(e,t,1)}}};Symbol.dispose&&(e.prototype[Symbol.dispose]=e.prototype.free);function t(){return{__proto__:null,\"./docx_parser_bg.js\":{__proto__:null,__wbg___wbindgen_throw_6b64449b9b9ed33c:function(e,t){throw Error(o(e,t))},__wbg_error_a6fa202b58aa1cd3:function(e,t){let n,r;try{n=e,r=t,console.error(o(e,t))}finally{v.__wbindgen_free(n,r,1)}},__wbg_new_227d7c05414eb861:function(){return Error()},__wbg_stack_3b0d974bbf31e44f:function(e,t){let n=t.stack,r=d(n,v.__wbindgen_malloc,v.__wbindgen_realloc),i=_;a().setInt32(e+4,i,!0),a().setInt32(e+0,r,!0)},__wbindgen_cast_0000000000000001:function(e,t){return o(e,t)},__wbindgen_init_externref_table:function(){let e=v.__wbindgen_externrefs,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)}}}}const n=typeof FinalizationRegistry>`u`?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>v.__wbg_docxarchive_free(e>>>0,1));function r(e,t){return e>>>=0,c().subarray(e/1,e/1+t)}let i=null;function a(){return(i===null||i.buffer.detached===!0||i.buffer.detached===void 0&&i.buffer!==v.memory.buffer)&&(i=new DataView(v.memory.buffer)),i}function o(e,t){return e>>>=0,h(e,t)}let s=null;function c(){return(s===null||s.byteLength===0)&&(s=new Uint8Array(v.memory.buffer)),s}function l(e){return e==null}function u(e,t){let n=t(e.length*1,1)>>>0;return c().set(e,n/1),_=e.length,n}function d(e,t,n){if(n===void 0){let n=g.encode(e),r=t(n.length,1)>>>0;return c().subarray(r,r+n.length).set(n),_=n.length,r}let r=e.length,i=t(r,1)>>>0,a=c(),o=0;for(;o<r;o++){let t=e.charCodeAt(o);if(t>127)break;a[i+o]=t}if(o!==r){o!==0&&(e=e.slice(o)),i=n(i,r,r=o+e.length*3,1)>>>0;let t=c().subarray(i+o,i+r),a=g.encodeInto(e,t);o+=a.written,i=n(i,r,o,1)>>>0}return _=o,i}function f(e){let t=v.__wbindgen_externrefs.get(e);return v.__externref_table_dealloc(e),t}let p=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0});p.decode();let m=0;function h(e,t){return m+=t,m>=2146435072&&(p=new TextDecoder(`utf-8`,{ignoreBOM:!0,fatal:!0}),p.decode(),m=t),p.decode(c().subarray(e,e+t))}const g=new TextEncoder;`encodeInto`in g||(g.encodeInto=function(e,t){let n=g.encode(e);return t.set(n),{read:e.length,written:n.length}});let _=0,v;function y(e,t){return v=e.exports,i=null,s=null,v.__wbindgen_start(),v}async function b(e,t){if(typeof Response==`function`&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming==`function`)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&n(e.type)&&e.headers.get(`Content-Type`)!==`application/wasm`)console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\",t);else throw t}let r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}function n(e){switch(e){case`basic`:case`cors`:case`default`:return!0}return!1}}async function x(e){if(v!==void 0)return v;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn(`using deprecated parameters for the initialization function; pass a single object instead`));let n=t();(typeof e==`string`||typeof Request==`function`&&e instanceof Request||typeof URL==`function`&&e instanceof URL)&&(e=fetch(e));let{instance:r,module:i}=await b(await e,n);return y(r,i)}async function S(e){return v=void 0,i=null,s=null,x(e)}const C=new Map;function w(e,t,n){let r=C.get(e);if(r&&r.set===t)return r.refs++,{face:r.face,isNew:!1};let i=n();return C.set(e,{face:i,set:t,refs:1}),{face:i,isNew:!0}}function T(e){return Promise.race([e,new Promise(e=>setTimeout(e,15e3))])}const E=new Map;function D(e){let t=[],n=/@font-face\\s*\\{([^}]*)\\}/g,r;for(;r=n.exec(e);){let e=r[1],n=t=>e.match(RegExp(`(?:^|;|\\\\n)\\\\s*${t}\\\\s*:\\\\s*([^;]+)`,`i`))?.[1].trim(),i=n(`font-family`),a=n(`src`);if(!i||!a)continue;let o={},s=n(`font-style`);s&&(o.style=s);let c=n(`font-weight`);c&&(o.weight=c);let l=n(`font-stretch`);l&&(o.stretch=l);let u=n(`unicode-range`);u&&(o.unicodeRange=u),t.push({family:i.replace(/^['\"]|['\"]$/g,``),src:a,descriptors:o})}return t}function O(){return typeof document<`u`&&document&&document.fonts?document.fonts:typeof self<`u`&&self&&`fonts`in self?self.fonts:null}function k(e,t){let n=t.descriptors;return[`gfonts`,e,t.family.toLowerCase(),n.style??``,n.weight??``,n.stretch??``,n.unicodeRange??``,t.src].join(`|`)}async function A(e,t){let n=O();if(!n||typeof FontFace>`u`||typeof fetch>`u`)return[];let r=new Set,i=new Set,a=new Set,o=new Map,s=new Set;for(let n of e){if(!n)continue;let e=n.toLowerCase();if(r.has(e))continue;r.add(e);let s=t[e];if(!s)continue;a.add(s.url);let c=(s.loadFamily??n).toLowerCase();i.add(c);let l=o.get(s.url);l||(l=new Set,o.set(s.url,l)),l.add(c)}if(i.size===0)return[];let c=await T(Promise.all([...a].map(async e=>{let t=E.get(e);if(t)return{url:e,rules:await t};let n=(async()=>{try{let t=await fetch(e);if(!t.ok)throw Error(`HTTP ${t.status}`);return D(await t.text())}catch{E.delete(e);for(let t of o.get(e)??[])s.add(t);return[]}})();return E.set(e,n),{url:e,rules:await n}}))),l=[],u=[];for(let e of Array.isArray(c)?c:[])for(let t of e.rules){let{face:r,isNew:i}=w(k(e.url,t),n,()=>{let e=new FontFace(t.family,t.src,t.descriptors);return n.add(e),e});l.push(r),i&&u.push(r)}return u.length>0&&await T(Promise.allSettled(u.map(e=>e.load())).then(e=>(e.forEach((e,t)=>{e.status===`rejected`&&s.add(u[t].family.replace(/['\"]/g,``).toLowerCase())}),n.ready))),s.size>0&&console.warn(`[ooxml] failed to preload web font(s): ${[...s].join(`, `)}; falling back to system fonts (text may shift or differ).`),l}function j(e,t){let n=M(t),r=e.slice(),i=Math.min(32,r.length);for(let e=0;e<i;e++)r[e]^=n[e%16];return r}function M(e){let t=e.replace(/[{}\\-\\s]/g,``);if(t.length!==32||/[^0-9a-fA-F]/.test(t))throw Error(`invalid fontKey GUID: ${e}`);let n=new Uint8Array(16);for(let e=0;e<16;e++)n[e]=parseInt(t.slice(e*2,e*2+2),16);return n.reverse()}function N(e,t,n,r){let i=2166136261;for(let e=0;e<r.length;e++)i^=r[e],i=Math.imul(i,16777619);return`${e}|${t}|${n}|${r.length}|${(i>>>0).toString(16)}`}async function P(e,t=30*1024*1024){let n=O();if(!n||typeof FontFace>`u`)return[];let r=[],i=[],a=[];for(let o of e)try{if(o.bytes.length===0||o.bytes.length>t){a.push(o.family);continue}let e=o.odttf?j(o.bytes,o.fontKey??``):o.bytes,{face:s,isNew:c}=w(`embedded:${N(o.family,o.weight,o.style,e)}`,n,()=>{let t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),r=new FontFace(o.family,t,{weight:o.weight,style:o.style});return n.add(r),r});r.push(s),c&&i.push(s)}catch{a.push(o.family)}return i.length>0&&await T(Promise.allSettled(i.map(e=>e.load())).then(e=>(e.forEach((e,t)=>{e.status===`rejected`&&a.push(i[t].family)}),n.ready))),a.length>0&&console.warn(`[ooxml] failed to register embedded font(s): ${[...new Set(a)].join(`, `)}; falling back to substitute fonts (text may shift or differ).`),r}const F=`https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;700&display=swap`,I=`https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;700&display=swap`,L={calibri:{url:`https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Carlito`},\"calibri light\":{url:`https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Carlito`},cambria:{url:`https://fonts.googleapis.com/css2?family=Caladea:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Caladea`},\"cambria math\":{url:`https://fonts.googleapis.com/css2?family=Caladea:ital,wght@0,400;0,700;1,400;1,700&display=swap`,loadFamily:`Caladea`},\"nunito sans\":{url:`https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap`},nunito:{url:`https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,700;1,400;1,700&display=swap`},\"open sans\":{url:`https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap`},roboto:{url:`https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap`},lato:{url:`https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap`},montserrat:{url:`https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap`},poppins:{url:`https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400;1,700&display=swap`},raleway:{url:`https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,700;1,400;1,700&display=swap`},\"playfair display\":{url:`https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap`},ubuntu:{url:`https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400;1,700&display=swap`},\"sakkal majalla\":{url:F,loadFamily:`Noto Naskh Arabic`},\"traditional arabic\":{url:F,loadFamily:`Noto Naskh Arabic`},\"simplified arabic\":{url:F,loadFamily:`Noto Naskh Arabic`},\"arabic typesetting\":{url:F,loadFamily:`Noto Naskh Arabic`},\"univers next arabic\":{url:I,loadFamily:`Noto Sans Arabic`},\"noto naskh arabic\":{url:F,loadFamily:`Noto Naskh Arabic`},\"noto sans arabic\":{url:I,loadFamily:`Noto Sans Arabic`}};function R(e){if(!e)return null;let t=e.toLowerCase();return/[ᄀ-ᇿ-가-]/.test(e)?`kr`:/[-ヿ]/.test(e)?`jp`:/jhenghei|微軟正黑|新細明|細明|pmingliu|mingliu|dfkai|標楷|華康|cns11643|kaiti tc|ming\\s*liu/.test(t)||/新細明體|細明體|標楷體|微軟正黑體|華康/.test(e)?`tc`:/simsun|nsimsun|simhei|simkai|simfang|yahei|dengxian|fangsong|kaiti|youyuan|lisu|stsong|stkaiti|stfangsong|stheiti|stxihei|stzhongsong|songti sc|heiti sc|微软雅黑/.test(t)||/宋体|黑体|楷体|仿宋|等线|微软雅黑|隶书|幼圆/.test(e)?`sc`:/malgun|batang|gulim|dotum|gungsuh|nanum|new gulim|hancom|hy(gothic|graphic|namu)?/.test(t)?`kr`:/\\bmeiryo\\b|\\byu\\s*(gothic|mincho)\\b|yugothic|yumincho|hiragino|\\bms\\s*(gothic|mincho|pgothic|pmincho|ui\\s*gothic)\\b|\\bms[pg]?(gothic|mincho)\\b|ipa(ex)?(gothic|mincho)|noto\\s+(sans|serif)\\s+jp|游ゴシック|游明朝|MS|メイリオ|ヒラギノ/.test(t)||/游ゴシック|游明朝|MS ゴシック|MS 明朝|MS Pゴシック|メイリオ|ヒラギノ/.test(e)?`jp`:null}function z(e){if(!e)return`sans`;let t=e.toLowerCase();return/mono|courier|consolas|等幅|gothic_m/.test(t)?`mono`:/roman|times|cambria|caladea|georgia|garamond|century(?!\\s*gothic)|palatino|antiqua|didot|bodoni|playfair|source serif|noto serif|min\\s*cho|明朝体|明朝|song|sung|simsun|nsimsun|batang|gungsuh|ming\\s*liu|mingliu|pmingliu|fang\\s*song|fangsong|kai\\s*ti|kaiti|simkai|simfang|stsong|stkaiti|stfangsong|stzhongsong|新細明|細明|宋体|楷体|楷體|仿宋|標楷|游明朝|MS 明朝|ms mincho|yu mincho|hiragino mincho|ヒラギノ明朝/.test(t)||/新細明體|細明體|宋体|明朝|楷体|楷體|仿宋|標楷體|游明朝|MS 明朝/.test(e)?`serif`:`sans`}function B(e){return e>=1424&&e<=1535||e>=1536&&e<=1791||e>=1792&&e<=1871||e>=1872&&e<=1919||e>=1920&&e<=1983||e>=1984&&e<=2047||e>=2048&&e<=2111||e>=2112&&e<=2143||e>=2144&&e<=2303||e>=64285&&e<=64335||e>=64336&&e<=65023||e>=65136&&e<=65279||e>=67584&&e<=69631||e>=124928&&e<=126975}function V(e,t){let n=t===`serif`?`Noto Serif`:`Noto Sans`,r={jp:[`jp`,`sc`,`tc`,`kr`],sc:[`sc`,`tc`,`jp`,`kr`],tc:[`tc`,`sc`,`jp`,`kr`],kr:[`kr`,`jp`,`sc`,`tc`]},i={kr:`KR`,sc:`SC`,tc:`TC`,jp:`JP`};return r[e].map(e=>`${n} ${i[e]}`)}const H=[`Noto Sans`,`Noto Sans Hebrew`,`Noto Sans Thai`,`Noto Sans Devanagari`],U=[`Noto Serif`,`Noto Serif Hebrew`],W=e=>`https://fonts.googleapis.com/css2?family=${e}:wght@400;700&display=swap`,G={\"noto sans kr\":{url:W(`Noto+Sans+KR`)},\"noto sans sc\":{url:W(`Noto+Sans+SC`)},\"noto sans tc\":{url:W(`Noto+Sans+TC`)},\"noto sans jp\":{url:W(`Noto+Sans+JP`)},\"noto serif kr\":{url:W(`Noto+Serif+KR`)},\"noto serif sc\":{url:W(`Noto+Serif+SC`)},\"noto serif tc\":{url:W(`Noto+Serif+TC`)},\"noto serif jp\":{url:W(`Noto+Serif+JP`)},\"noto sans\":{url:W(`Noto+Sans`)},\"noto serif\":{url:W(`Noto+Serif`)},\"noto sans devanagari\":{url:W(`Noto+Sans+Devanagari`)},\"noto sans thai\":{url:W(`Noto+Sans+Thai`)},\"noto sans hebrew\":{url:W(`Noto+Sans+Hebrew`)},\"noto serif hebrew\":{url:W(`Noto+Serif+Hebrew`)}};function K(e,t){let n=!1,r=!1,i=!1,a=!1,o=!1,s=!1,c=!1,l=!1,u=()=>n&&r&&i&&a&&o&&s&&c&&l;outer:for(let t of e)if(t)for(let e of t){let t=e.codePointAt(0);if(t!==void 0&&!(t<=591)&&(t>=4352&&t<=4607||t>=12592&&t<=12687||t>=44032&&t<=55215?r=!0:t>=12352&&t<=12543?i=!0:t>=13312&&t<=19903||t>=19968&&t<=40959||t>=63744&&t<=64255||t>=131072&&t<=195103?n=!0:t>=1536&&t<=1791||t>=1872&&t<=1919||t>=2208&&t<=2303||t>=64336&&t<=65023||t>=65136&&t<=65279?a=!0:t>=3584&&t<=3711?o=!0:t>=1424&&t<=1535||t>=64285&&t<=64335?s=!0:t>=2304&&t<=2431?c=!0:(t>=1024&&t<=1279||t>=880&&t<=1023)&&(l=!0),u()))break outer}let d=[],f=new Set;r&&f.add(`kr`),i&&f.add(`jp`),n&&f.size===0&&f.add(t??`jp`);for(let e of[`kr`,`sc`,`tc`,`jp`])if(f.has(e)){let t={kr:`KR`,sc:`SC`,tc:`TC`,jp:`JP`}[e];d.push(`Noto Sans ${t}`,`Noto Serif ${t}`)}return l&&d.push(`Noto Sans`,`Noto Serif`),a&&d.push(`Noto Naskh Arabic`,`Noto Sans Arabic`),o&&d.push(`Noto Sans Thai`),s&&d.push(`Noto Sans Hebrew`,`Noto Serif Hebrew`),c&&d.push(`Noto Sans Devanagari`),d}const q={167:`♣`,168:`♦`,169:`♥`,170:`♠`,171:`↔`,172:`←`,173:`↑`,174:`→`,175:`↓`,183:`•`,184:`÷`,185:`≠`,180:`×`,176:`°`,177:`±`,163:`≤`,179:`≥`},ee={33:`✏`,34:`✂`,36:`👓`,74:`☺`,75:`😐`,76:`☹`,118:`❖`,167:`▪`,108:`●`,110:`■`,116:`◆`,119:`◆`,251:`✗`,252:`✓`,253:`☒`,254:`☑`,223:`←`,224:`→`,225:`↑`,226:`↓`,227:`↖`,228:`↗`,229:`↙`,230:`↘`};function J(e){let t={};for(let n of Object.keys(e)){let r=Number(n);t[r]=e[r],t[61440+r]=e[r]}return t}const te=J(q),ne=J(ee);function Y(e,t){if(!t)return e;let n=t.trim().toLowerCase(),r=n===`wingdings`?ne:n===`symbol`?te:null;return r?r[e.charCodeAt(0)]??e:e}function re(e){if(!e)return!1;let t=e.toLowerCase();return t===`symbol`||t.includes(`wingdings`)}function ie(e,t){if(!re(t)||e.length===0)return[{text:e,mapped:!1}];let n=[],r=``,i=null;for(let a of e){let e=Y(a,t),o=e!==a;i===null||o===i?(i=o,r+=e):(n.push({text:r,mapped:i}),i=o,r=e)}return r.length>0&&n.push({text:r,mapped:i??!1}),n}function X(e,t,n){return e.titleFontSizeHpt?e.titleFontSizeHpt/100*n:Math.max(10,t*.085)}const Z=.62;function Q(e,t,n,r,i){if(!e.title)return{fontPx:0,topPad:0,bottomPad:0,bandH:0};let a=X(e,t,n),o=a+t*r+t*i,s=Math.min(Math.max(0,o-a),a*Z);return{fontPx:a,topPad:s,bottomPad:o-a-s,bandH:o}}function ae(e,t,n,r){if(!e.showLegend)return null;let i=e.legendPos??`r`,a=i===`l`?`l`:i===`t`?`t`:i===`b`?`b`:`r`;return a===`r`||a===`l`?{side:a,reserveW:Math.max(80,t*r),reserveH:0}:{side:a,reserveW:0,reserveH:Math.max(18,n*.08)}}function oe(e){return{legRightW:e?.side===`r`?e.reserveW:0,legLeftW:e?.side===`l`?e.reserveW:0,legTopH:e?.side===`t`?e.reserveH:0,legBottomH:e?.side===`b`?e.reserveH:0}}function se(e,t,n){return e?e/100*n:Math.max(8,Math.min(10,t*.045))}function ce(e){return Math.max(8,e*.02)}function le(e,t,n,r){let i=se(e.catAxisTitleFontSizeHpt,n,r),a=se(e.valAxisTitleFontSizeHpt,n,r);return{catFontPx:i,valFontPx:a,catBandH:e.catAxisTitle?i+ce(n)+4:0,valBandW:e.valAxisTitle?a+ce(t)+4:0}}function ue(e,t,n){if(!e.title)return{fontPx:0,topPad:0,bottomPad:0,bandH:0};let r=X(e,t,n),i=r*2.25,a=Math.min(Math.max(0,i-r),r*Z);return{fontPx:r,topPad:a,bottomPad:i-r-a,bandH:i}}function de(e){return e*2.75}function fe(e,t,n,r,i,a,o){let s=o.titleBand??Q(e,i,a,o.titleTopPadFrac??0,o.titleBottomPadFrac??0),c=ae(e,r,i,o.legendSideReserveFrac),l=oe(c),u=le(e,r,i,a),d,f,p,m;if(o.radialGapFrac!=null){let e=i*o.radialGapFrac;p=r-l.legRightW-l.legLeftW,m=i-s.bandH-l.legTopH-l.legBottomH-e,d=t+l.legLeftW,f=n+s.bandH+l.legTopH+e}else{let a=o.pad;if(!a)throw Error(`computeChartFrame: cartesian frame requires params.pad`);let s=o.honorPlotAreaManualLayout?e.plotAreaManualLayout:null;s&&s.w!=null&&s.h!=null?(d=t+s.x*r,f=n+s.y*i,p=s.w*r,m=s.h*i):(d=t+a.l,f=n+a.t,p=r-a.l-a.r,m=i-a.t-a.b)}return{title:s,legend:c,legendBands:l,axisTitles:u,plotRect:{px0:d,py0:f,pw:p,ph:m},center:{cx:d+p/2,cy:f+m/2}}}function pe(e,t=5){if(e===0)return 1;let n=e/t,r=10**Math.floor(Math.log10(n)),i=n/r;return(i<1.5?1:i<3.5?2:i<7.5?5:10)*r}function me(e,t,n=0){if(e<=0)return t;let r=e+(e-n)/20;return Math.ceil(r/t)*t}function he(e,t){if(e>=0)return 0;let n=Math.floor(e/t)*t;return Math.abs(n-e)<t*1e-9?n-t:n}function ge(e){return e==null||!isFinite(e)||e<=0?5:Math.min(15,Math.max(4,Math.round(e/42)))}function _e(e,t,n,r,i,a){let o=pe(t-e,ge(i)),s=a!=null&&isFinite(a)&&a>0?a:o,c=n??he(e,o);return{min:c,max:r??me(t,o,c),step:s}}function ve(e,t,n,r){let i,a=r?.logBase;if(a!=null&&isFinite(a)&&a>=2&&t>0&&n>0){let r=Math.log(t),a=Math.log(n)-r;i=a===0?0:(Math.log(Math.max(e,Number.MIN_VALUE))-r)/a}else{let r=n-t;i=r===0?0:(e-t)/r}return r?.reversed?1-i:i}function ye(e,t,n,r,i){let a=isFinite(n)&&n>=2?n:10,o=e=>Math.log(e)/Math.log(a),s=t>0?t:1,c=Math.floor(o(e>0?e:s)),l=Math.ceil(o(s)),u=r??a**+c,d=i??a**+Math.max(l,c+1),f=[],p=Math.ceil(o(u)-1e-9),m=Math.floor(o(d)+1e-9);for(let e=p;e<=m;e++)f.push(a**+e);return{min:u,max:d,lines:f}}function be(e,t,n,r){let i=Math.min(e.length,t.length);if(i<2)return{xs:[],ys:[]};if(n===`linear`){let n=r?.intercept,a=0,o=0,s=0,c=0;for(let n=0;n<i;n++)a+=e[n],o+=t[n],s+=e[n]*e[n],c+=e[n]*t[n];let l,u;if(n!=null&&isFinite(n)){let e=s,t=c-n*a;l=e===0?0:t/e,u=n}else{let e=i*s-a*a;l=e===0?0:(i*c-a*o)/e,u=(o-l*a)/i}let d=e[0],f=e[i-1];return{xs:[d,f],ys:[l*d+u,l*f+u]}}if(n===`movingAvg`){let n=Math.max(2,Math.round(r?.period??2));if(i<n)return{xs:[],ys:[]};let a=[],o=[];for(let r=n-1;r<i;r++){let i=0;for(let e=0;e<n;e++)i+=t[r-e];a.push(e[r]),o.push(i/n)}return{xs:a,ys:o}}return{xs:[],ys:[]}}const xe=12700;function Se(e,t){return e?Math.max(.5,e/xe)*t:1}function Ce(e,t,n){return{color:e?`#${e}`:`#aaa`,width:Se(t,n)}}function we(e,t,n){return{color:e?`#${e}`:`#e0e0e0`,width:t?Se(t,n):.5}}function Te(e){return e.catAxisCrossBetween!==`midCat`}const Ee=864e5,De=Date.UTC(1899,11,30),Oe=Date.UTC(1904,0,1);function ke(e,t=!1){if(t)return new Date(Oe+e*Ee);let n=e<60?e+1:e;return new Date(De+n*Ee)}function Ae(e,t){if(!Number.isFinite(e))return String(e);let n=Math.max(0,Math.trunc(t)),r=e<0,[i,a=``]=je(Math.abs(e).toString()).split(`.`),o=a.padEnd(n+1,`0`),s=o.slice(0,n),c=o.charCodeAt(n)-48,l=(i+s).split(``).map(e=>e.charCodeAt(0)-48);if(c>=5){let e=l.length-1;for(;e>=0;e--)if(l[e]===9)l[e]=0;else{l[e]+=1;break}e<0&&l.unshift(1)}let u=l.map(e=>String(e)).join(``),d=n,f=(d>0?u.slice(0,u.length-d):u)||`0`,p=d>0?u.slice(u.length-d):``,m=f.replace(/^0+(?=\\d)/,``),h=p.length>0?`${m}.${p}`:m,g=/^[0.]*$/.test(h)&&!/[1-9]/.test(h);return r&&!g?`-${h}`:h}function je(e){let t=/^(\\d+)(?:\\.(\\d+))?[eE]([+-]?\\d+)$/.exec(e);if(!t)return e;let[,n,r=``,i]=t,a=parseInt(i,10),o=n+r,s=n.length+a;return s<=0?`0.`+`0`.repeat(-s)+o:s>=o.length?o+`0`.repeat(s-o.length):o.slice(0,s)+`.`+o.slice(s)}function Me(e){return Number.isInteger(e)?String(e):Ae(e,6).replace(/\\.?0+$/,``)}function Ne(e,t,n=!1){if(!t||t.trim().toLowerCase()===`general`)return Me(e);if(Fe(t))return Ie(e,t,n);let r=Le(t),i;return i=e>0?r[0]??t:e<0?r[1]??r[0]??t:r[2]??r[0]??t,i===``?``:(e<0&&r.length<2?`-`:``)+Re(Math.abs(e),i)}function Pe(e,t,n=!1){if(!t||e.trim()===``)return e;let r=Number(e);return Number.isFinite(r)?Ne(r,t,n):e}function Fe(e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r===`\"`){t=!t;continue}if(!t){if(r===`\\\\`){n++;continue}if(r===`[`){for(;n<e.length&&e[n]!==`]`;)n++;continue}if(r===`y`||r===`Y`||r===`d`||r===`D`||r===`m`||r===`M`||r===`h`||r===`H`||r===`s`||r===`S`)return!0}}return!1}function Ie(e,t,n=!1){let r=ke(Math.floor(e),n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=(e-Math.floor(e))*86400,c=Math.floor(s/3600),l=Math.floor(s%3600/60),u=Math.floor(s%60),d=``,f=!1,p=0;for(;p<t.length;){let e=t[p];if(e===`\"`){f=!f,p++;continue}if(f){d+=e,p++;continue}if(e===`\\\\`&&p+1<t.length){d+=t[p+1],p+=2;continue}if(e===`[`){for(;p<t.length&&t[p]!==`]`;)p++;p<t.length&&p++;continue}if(e===`y`||e===`Y`){let e=0;for(;p<t.length&&(t[p]===`y`||t[p]===`Y`);)e++,p++;d+=e>=3?String(i):String(i%100).padStart(2,`0`);continue}if(e===`m`||e===`M`){let e=0;for(;p<t.length&&(t[p]===`m`||t[p]===`M`);)e++,p++;d.match(/[Hh]+\\W*$/)?d+=e>=2?String(l).padStart(2,`0`):String(l):d+=e>=2?String(a).padStart(2,`0`):String(a);continue}if(e===`d`||e===`D`){let e=0;for(;p<t.length&&(t[p]===`d`||t[p]===`D`);)e++,p++;d+=e>=2?String(o).padStart(2,`0`):String(o);continue}if(e===`h`||e===`H`){let e=0;for(;p<t.length&&(t[p]===`h`||t[p]===`H`);)e++,p++;d+=e>=2?String(c).padStart(2,`0`):String(c);continue}if(e===`s`||e===`S`){let e=0;for(;p<t.length&&(t[p]===`s`||t[p]===`S`);)e++,p++;d+=e>=2?String(u).padStart(2,`0`):String(u);continue}d+=e,p++}return d}function Le(e){let t=[],n=``;for(let r=0;r<e.length;r++){let i=e[r];if(i===`\\\\`&&r+1<e.length){n+=i+e[r+1],r++;continue}if(i===`\"`){for(n+=i,r++;r<e.length&&e[r]!==`\"`;)n+=e[r],r++;r<e.length&&(n+=e[r]);continue}if(i===`[`){for(n+=i,r++;r<e.length&&e[r]!==`]`;)n+=e[r],r++;r<e.length&&(n+=e[r]);continue}if(i===`;`){t.push(n),n=``;continue}n+=i}return t.push(n),t}function Re(e,t){let n=[],r=0,i=!1,a=!1;for(;r<t.length;){let e=t[r];if(e===`\"`){r++;let e=``;for(;r<t.length&&t[r]!==`\"`;)e+=t[r],r++;r<t.length&&r++,n.push({kind:`lit`,text:e});continue}if(e===`\\\\`&&r+1<t.length){n.push({kind:`lit`,text:t[r+1]}),r+=2;continue}if(e===`_`&&r+1<t.length){n.push({kind:`lit`,text:` `}),r+=2;continue}if(e===`*`&&r+1<t.length){r+=2;continue}if(e===`[`){for(r++;r<t.length&&t[r]!==`]`;)r++;r<t.length&&r++;continue}if(e===`%`){a=!0,n.push({kind:`lit`,text:`%`}),r++;continue}if(e===`#`||e===`0`||e===`.`||e===`,`||e===`?`){let e=``;for(;r<t.length&&(t[r]===`#`||t[r]===`0`||t[r]===`.`||t[r]===`,`||t[r]===`?`);)e+=t[r],r++;n.push({kind:`num`,text:e}),i=!0;continue}n.push({kind:`lit`,text:e}),r++}if(!i)return n.map(e=>e.text).join(``);let o=a?e*100:e,s=``;for(let e of n)e.kind===`num`&&(s+=e.text);let c=ze(o,s),l=!1;return n.map(e=>e.kind===`lit`?e.text:l?``:(l=!0,c)).join(``)}function ze(e,t){let n=t.indexOf(`.`),r=n>=0?t.slice(0,n):t,i=n>=0?t.slice(n+1):``,a=/,/.test(r),o=(i.match(/[#0?]/g)??[]).length,s=(r.replace(/,/g,``).match(/0/g)??[]).length,[c,l=``]=Ae(e,o).split(`.`),u=c.padStart(s,`0`),d=a?u.replace(/\\B(?=(\\d{3})+(?!\\d))/g,`,`):u;return o===0?d:`${d}.${l.padEnd(o,`0`)}`}function Be(e,t,n){if(t===``||n<=0)return``;if(e.measureText(t).width<=n)return t;if(e.measureText(`…`).width>n)return``;let r=0,i=t.length-1,a=0;for(;r<=i;){let o=r+i>>1;e.measureText(t.slice(0,o)+`…`).width<=n?(a=o,r=o+1):i=o-1}let o=a>0?t.charCodeAt(a-1):0;return o>=55296&&o<=56319&&a--,t.slice(0,a)+`…`}function Ve(e,t){return[Math.max(1,Math.ceil(e)),Math.max(1,Math.ceil(t))]}function He(e,t){let[n,r]=Ve(e,t);if(typeof OffscreenCanvas<`u`)return new OffscreenCanvas(n,r);if(typeof document<`u`){let e=document.createElement(`canvas`);return e.width=n,e.height=r,e}return null}const Ue={pct5:[0,16,0,0,0,1,0,0],pct10:[136,0,34,0,136,0,34,0],pct20:[136,34,136,34,136,34,136,34],pct25:[136,85,34,85,136,85,34,85],pct30:[170,85,170,85,170,85,170,85],pct40:[170,119,170,221,170,119,170,221],pct50:[170,85,170,85,170,85,170,85],pct60:[221,85,119,85,221,85,119,85],pct70:[238,85,187,85,238,85,187,85],pct75:[238,170,187,170,238,170,187,170],pct80:[254,239,251,191,254,239,251,191],pct90:[255,239,255,251,255,239,255,251],horz:[255,0,0,0,255,0,0,0],vert:[136,136,136,136,136,136,136,136],ltHorz:[0,255,0,0,0,0,0,0],ltVert:[32,32,32,32,32,32,32,32],dkHorz:[255,255,0,0,255,255,0,0],dkVert:[204,204,204,204,204,204,204,204],narHorz:[255,0,255,0,255,0,255,0],narVert:[170,170,170,170,170,170,170,170],cross:[255,136,136,136,255,136,136,136],lgGrid:[255,128,128,128,128,128,128,128],smGrid:[255,136,136,136,255,136,136,136],dotGrid:[136,0,0,0,136,0,0,0],dnDiag:[128,64,32,16,8,4,2,1],upDiag:[1,2,4,8,16,32,64,128],ltDnDiag:[136,68,34,17,136,68,34,17],ltUpDiag:[17,34,68,136,17,34,68,136],dkDnDiag:[195,129,0,129,195,129,0,129],dkUpDiag:[195,129,0,129,195,129,0,129],wdDnDiag:[128,64,32,16,8,4,2,129],wdUpDiag:[1,2,4,8,16,32,64,129],diagCross:[129,66,36,24,24,36,66,129],horzBrick:[255,16,16,16,255,1,1,1],diagBrick:[129,66,36,24,36,66,129,0],lgCheck:[240,240,240,240,15,15,15,15],smCheck:[204,204,51,51,204,204,51,51],trellis:[165,90,165,90,165,90,165,90]};function We(e,t,n){let r=Ue[e];if(!r)return null;let i=He(8,8);if(!i)return null;let a=i.getContext(`2d`);if(!a)return null;a.fillStyle=Ge(n),a.fillRect(0,0,8,8),a.fillStyle=Ge(t);for(let e=0;e<8;e++){let t=r[e];for(let n=0;n<8;n++)t&1<<7-n&&a.fillRect(n,e,1,1)}return i}function Ge(e){return`rgba(${parseInt(e.slice(0,2),16)},${parseInt(e.slice(2,4),16)},${parseInt(e.slice(4,6),16)},${e.length>=8?parseInt(e.slice(6,8),16)/255:1})`}function Ke(e,t){return e.map(e=>e*t)}const qe={dotted:[1,2],dashed:[3,2],dashSmallGap:[3,1],dotDash:[1,2,3,2],dotDotDash:[1,2,1,2,3,2],dashDotStroked:[1,2,3,2]};function Je(e,t){let n=qe[e];return n?Ke(n,t):[]}const Ye={dash:[6,3],dot:[1.5,3],dashDot:[6,3,1.5,3],lgDash:[10,4],lgDashDot:[10,4,1.5,4],lgDashDotDot:[10,4,1.5,4,1.5,4],sysDash:[4,2],sysDot:[1,2],sysDashDot:[4,2,1,2],sysDashDotDot:[4,2,1,2,1,2]};function Xe(e,t){let n=Ye[e];return n?Ke(n,t):[]}const Ze={dotted:[1.5,3],dottedHeavy:[1.5,3],dash:[6,3],dashHeavy:[6,3],dashLong:[10,4],dashLongHeavy:[10,4],dotDash:[6,3,1.5,3],dotDashHeavy:[6,3,1.5,3],dotDotDash:[6,3,1.5,3,1.5,3],dotDotDashHeavy:[6,3,1.5,3,1.5,3]};function Qe(e,t){let n=Ze[e];return n?Ke(n,t):[]}function $e(e,t=1){let n=e.charCodeAt(0)===35?e.slice(1):e;return`rgba(${parseInt(n.slice(0,2),16)},${parseInt(n.slice(2,4),16)},${parseInt(n.slice(4,6),16)},${n.length>=8?parseInt(n.slice(6,8),16)/255:t})`}function et(e){let t=e.charCodeAt(0)===35?e.slice(1):e,n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),i=parseInt(t.slice(4,6),16);return .299*n+.587*r+.114*i}function tt(e){return e&&et(e)<128?`#FFFFFF`:`#000000`}function nt(e,t,n,r,i,a){if(!e||e.fillType===`none`)return null;if(e.fillType===`solid`)return $e(e.color);if(e.fillType===`pattern`)return it(e,t);if(e.fillType===`gradient`){let o=e.stops;if(o.length===0)return null;if(o.length===1)return $e(o[0].color);let s;if(e.gradType===`radial`){let e=n+i/2,o=r+a/2,c=Math.sqrt(i*i+a*a)/2;s=t.createRadialGradient(e,o,0,e,o,c)}else{let o=e.angle*Math.PI/180,c=n+i/2,l=r+a/2,u=(Math.abs(Math.cos(o))*i+Math.abs(Math.sin(o))*a)/2;s=t.createLinearGradient(c-Math.cos(o)*u,l-Math.sin(o)*u,c+Math.cos(o)*u,l+Math.sin(o)*u)}for(let e of o)s.addColorStop(Math.min(1,Math.max(0,e.position)),$e(e.color));return s}return null}const rt=new WeakMap;function it(e,t){let n=`${e.preset}|${e.fg}|${e.bg}`,r=rt.get(t);r||(r=new Map,rt.set(t,r));let i=r.get(n);if(i)return i;let a=We(e.preset,e.fg,e.bg);if(!a)return $e(e.fg);let o=t.createPattern(a,`repeat`);return o?(r.set(n,o),o):$e(e.fg)}function at(e,t,n){if(!t){e.strokeStyle=`transparent`,e.lineWidth=0,e.setLineDash([]);return}e.strokeStyle=$e(t.color);let r=Math.max(.5,t.width*n);e.lineWidth=r,e.setLineDash(t.dashStyle?Xe(t.dashStyle,r):[])}const ot=[`4472C4`,`ED7D31`,`A9D18E`,`FF0000`,`70AD47`,`4BACC6`,`FFC000`,`9E480E`,`843C0C`,`636363`,`255E91`,`967300`];function st(e,t){return t?.color?`#${t.color}`:`#${ot[e%ot.length]}`}function ct(e,t){let n=t.dataPointColors?.[e];return n?`#${n}`:`#${ot[e%ot.length]}`}function lt(e,t){let n=e.startsWith(`#`)?e.slice(1):e;if(n.length<6)return`#${n}`;let r=Math.max(0,Math.min(1,t)),i=Math.round(parseInt(n.slice(0,2),16)*r),a=Math.round(parseInt(n.slice(2,4),16)*r),o=Math.round(parseInt(n.slice(4,6),16)*r),s=e=>e.toString(16).padStart(2,`0`);return`#${s(i)}${s(a)}${s(o)}`}function ut(e,t){return t&&(t.startsWith(`+mj`)?e.themeMajorFontLatin??null:t.startsWith(`+mn`)?e.themeMinorFontLatin??null:t)}function dt(e,t,n){let r=n===`major`?e.themeMajorFontLatin:e.themeMinorFontLatin,i=ut(e,t)??r;return i?`\"${i}\", Calibri, Arial, sans-serif`:`sans-serif`}function ft(e){return e===`pie`||e===`doughnut`}function pt(e){return!!e.varyColors&&e.series.length===1&&typeof e.chartType==`string`&&/Bar/.test(e.chartType)}function mt(e,t,n,r=!1){if(r||ft(e)){let e=t[0];return e?ct(n,e):`#${ot[n%ot.length]}`}return st(n,t[n])}function ht(e,t,n,r,i,a,o,s,c,l=`sans-serif`){e.save(),e.font=`${o?`bold `:``}${a}px ${l}`,e.fillStyle=s;let u=Be(e,t,c);i===`cat`?(e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(u,n,r)):(e.translate(n,r),e.rotate(-Math.PI/2),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(u,0,0)),e.restore()}function gt(e){return e?`#${e}`:`#555`}function _t(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(t.valAxisTitle){let r=n+u+ce(i)+p/2,a=s+l/2;ht(e,t.valAxisTitle,r,a,`val`,p,t.valAxisTitleFontBold??!0,gt(t.valAxisTitleFontColor),l,dt(t,t.valAxisTitleFontFace,`major`))}if(t.catAxisTitle){let n=o+c/2,i=r+a-d-ce(a)-f/2;ht(e,t.catAxisTitle,n,i,`cat`,f,t.catAxisTitleFontBold??!0,gt(t.catAxisTitleFontColor),c,dt(t,t.catAxisTitleFontFace,`major`))}}function vt(e){return e&&(e===`line`||e===`stackedLine`||e===`stackedLinePct`||e===`radar`||e===`scatter`||e===`stock`)?`line`:`fill`}function yt(e,t,n){if(e!==`scatter`)return!1;let r=t??`marker`;return(r===`line`||r===`lineMarker`||r===`lineNoMarker`||r===`smooth`||r===`smoothMarker`||r===`smoothNoMarker`)&&n.lineHidden!==!0}function bt(e,t,n,r){if(e!==`scatter`)return null;let i=n[r];if(!i||yt(e,t,i))return null;let a=i.markerSymbol??`circle`;if(a===`none`)return null;let o=st(r,i);return{symbol:a,fill:i.markerFill??o.replace(/^#/,``),line:i.markerLine??null}}function xt(e,t,n,r,i,a,o,s=null){if(s){nn(e,r+a/2,i+o/2,s.symbol,o,s.fill,s.line,1);return}if(e.fillStyle=n,t===`line`){e.strokeStyle=n;let t=e.lineWidth;e.lineWidth=Math.max(1.5,o*.15),e.beginPath();let s=i+o/2;e.moveTo(r,s),e.lineTo(r+a,s),e.stroke(),e.lineWidth=t}else e.fillRect(r,i,a,o)}function St(e,t,n,r=!1){if(r||ft(t)){let n=e[0],i=n?n.values.length:0,a=n?.categories??[];return Array.from({length:i},(n,i)=>({label:(a[i]??`Item ${i+1}`).toString(),color:mt(t,e,i,r),marker:null}))}return e.map((r,i)=>({label:r.name||`Series ${i+1}`,color:mt(t,e,i),marker:bt(t,n,e,i)}))}const Ct={fontFamily:`sans-serif`,color:`#333`,bold:!1,sizePx:null};function wt(e,t,n,r,i,a,o=`vertical`,s,c=Ct,l,u=!1){let d=vt(s),f=St(t,s,l,u),p=c.bold?`bold `:``;if(o===`horizontal`){let t=c.sizePx??Math.max(9,Math.min(12,a*.7));e.font=`${p}${t}px ${c.fontFamily}`,e.textBaseline=`middle`;let o=Math.max(1,f.length),s=i-10-4,l=f.map(t=>Be(e,t.label,s)),u=l.map(t=>14+e.measureText(t).width),m=n+(i-(u.reduce((e,t)=>e+t,0)+12*(o-1)))/2,h=r+a/2;for(let n=0;n<f.length;n++)xt(e,d,f[n].color,m,h-t/2,10,t,f[n].marker),e.fillStyle=c.color,e.textAlign=`left`,e.fillText(l[n],m+10+4,h),m+=u[n]+12;return}let m=c.sizePx??Math.max(9,Math.min(12,a/(f.length+1)));e.font=`${p}${m}px ${c.fontFamily}`,e.textBaseline=`middle`;let h=m+4,g=i-10-4,_=r+(a-h*f.length)/2;for(let t=0;t<f.length;t++)xt(e,d,f[t].color,n,_,10,m,f[t].marker),e.fillStyle=c.color,e.textAlign=`left`,e.fillText(Be(e,f[t].label,g),n+10+4,_+m/2),_+=h}function Tt(e){let t=ut(e,e.legendFontFace)??e.themeMinorFontLatin;return{fontFamily:t?`\"${t}\", Calibri, Arial, sans-serif`:`sans-serif`,color:e.legendFontColor?`#${e.legendFontColor}`:`#333`,bold:e.legendFontBold??!1,sizePx:e.legendFontSizeHpt==null?null:e.legendFontSizeHpt/100}}function Et(e,t,n,r,i,a,o,s,c,l,u,d){if(!n)return;let f=Tt(t),p=pt(t),m=t.legendManualLayout;if(m&&m.xMode===`edge`&&m.yMode===`edge`&&m.w>0&&m.h>0){let n=r+m.x*a,s=i+m.y*o,c=m.w*a,l=m.h*o,u=c>=l?`horizontal`:`vertical`;wt(e,t.series,n,s,c,l,u,t.chartType,f,t.scatterStyle,p);return}switch(n.side){case`r`:wt(e,t.series,r+a-n.reserveW+4,c,n.reserveW-8,u,`vertical`,t.chartType,f,t.scatterStyle,p);break;case`l`:wt(e,t.series,r+4,c,n.reserveW-8,u,`vertical`,t.chartType,f,t.scatterStyle,p);break;case`t`:wt(e,t.series,s,i+d,l,n.reserveH,`horizontal`,t.chartType,f,t.scatterStyle,p);break;case`b`:wt(e,t.series,s,i+o-n.reserveH,l,n.reserveH,`horizontal`,t.chartType,f,t.scatterStyle,p);break}}function Dt(e,t,n,r,i,a,o,s=!1){if(t===`none`||!t)return;let c=o?Math.max(4,o+2):4,l=e.strokeStyle,u=e.lineWidth;if(e.strokeStyle=a??`#888`,e.lineWidth=o??1,e.beginPath(),n===`val`){let n=r,a=i,o=s?1:-1,l=t===`out`||t===`cross`?o*c:0,u=t===`in`||t===`cross`?-o*c:0;e.moveTo(n+l,a),e.lineTo(n+u,a)}else{let n=r,a=i,o=t===`out`||t===`cross`?c:0,s=t===`in`||t===`cross`?-c:0;e.moveTo(a,n+o),e.lineTo(a,n+s)}e.stroke(),e.strokeStyle=l,e.lineWidth=u}function Ot(e,t,n,r,i,a){a&&a.explicit?(e.strokeStyle=a.color,e.lineWidth=a.width):(e.strokeStyle=i?`#aaa`:a?.color??`#e0e0e0`,e.lineWidth=i?1:a?.width??.5),e.beginPath(),e.moveTo(t,r),e.lineTo(t+n,r),e.stroke()}function kt(e,t){let{color:n,width:r}=we(e.valAxisGridlineColor,e.valAxisGridlineWidthEmu,t);return{color:n,width:r,explicit:e.valAxisGridlineColor!=null}}function At(e){return e.catAxisMajorGridlines===!0}function jt(e,t){return we(e.catAxisGridlineColor,e.catAxisGridlineWidthEmu,t)}function Mt(e,t){if(t<=0)return[];let n=Te(e),r=[],i=n?t:t-1;for(let e=0;e<=i;e++)r.push(n?e/t:t===1?.5:e/(t-1));return r}function Nt(e){return e.valAxisOrientation===`maxMin`}function Pt(e){return e.catAxisOrientation===`maxMin`}function Ft(e){return e.valAxisMajorGridlines!==!1}function It(e,t,n,r){let i=Nt(e),a=e.valAxisLogBase;if(a!=null&&isFinite(a)&&a>=2){let{min:r,max:o,lines:s}=ye(t,n,a,e.valMin,e.valMax);return{min:r,max:o,step:s.length>1?s[1]-s[0]:o-r,majorLines:s,minorLines:[],frac:e=>ve(e,r,o,{logBase:a,reversed:i})}}let{min:o,max:s,step:c}=_e(t,n,e.valMin,e.valMax,r,e.valAxisMajorUnit),l=s-o||1,u=[],d=Math.round((s-o)/c);for(let e=0;e<=d;e++)u.push(o+e*c);let f=[],p=e.valAxisMinorUnit;if(e.valAxisMinorGridlines&&p!=null&&isFinite(p)&&p>0&&p<c)for(let e=o+p;e<s-1e-9;e+=p)Math.abs((e-o)/c-Math.round((e-o)/c))>1e-6&&f.push(e);return{min:o,max:s,step:c,majorLines:u,minorLines:f,frac:e=>i?1-(e-o)/l:(e-o)/l}}function Lt(e,t,n,r,i,a){let o=t.trendLines;if(!o||o.length===0)return;let s=[],c=[];for(let e=0;e<t.values.length;e++){let n=t.values[e];n!=null&&(s.push(e),c.push(n))}if(s.length<2)return;let l=e.getLineDash?e.getLineDash():[];for(let t of o){let o=be(s,c,t.trendlineType,{period:t.period,intercept:t.intercept});if(o.xs.length<2)continue;let l=o.xs,u=o.ys;if(t.trendlineType===`linear`){let e=(o.ys[1]-o.ys[0])/(o.xs[1]-o.xs[0]||1),n=t.backward??0,r=t.forward??0;l=[o.xs[0]-n,o.xs[1]+r],u=[o.ys[0]-e*n,o.ys[1]+e*r]}e.strokeStyle=t.lineColor?`#${t.lineColor}`:n,e.lineWidth=t.lineWidthEmu?Se(t.lineWidthEmu,a):1.5,e.setLineDash([6,4]),e.beginPath();for(let t=0;t<l.length;t++){let n=r(l[t]),a=i(u[t]);t===0?e.moveTo(n,a):e.lineTo(n,a)}e.stroke()}e.setLineDash(l)}function Rt(e,t,n){return e?e/100*n:Math.max(8,t*.045)}function zt(e){return e.catAxisTickLabelPos!==`none`}function Bt(e){let t=e.catAxisLabelRotation;return t==null||t===0||Math.abs(t)>54e5?0:t/6e4*(Math.PI/180)}function Vt(e,t,n,r,i){if(i===0){e.fillText(t,n,r);return}e.save(),e.translate(n,r),e.rotate(i),e.textAlign=`right`,e.textBaseline=`middle`,e.fillText(t,0,0),e.restore()}function Ht(e,t,n){if(!e)return null;let r=[];for(let e of t)if(e.useSecondaryAxis===!0)for(let t of e.values)t!=null&&r.push(t);let i=r.length?Math.min(...r):0,a=r.length?Math.max(...r):1,{min:o,max:s,step:c}=_e(Math.min(0,i),a,e.min,e.max,n,e.majorUnit),l=s-o||1;return{min:o,max:s,step:c,makeToY:(e,t)=>n=>e+t-(n-o)/l*t}}function Ut(e,t,n,r,i,a,o,s,c,l,u,d,f,p){let m=i+o,{color:h,width:g}=Ce(t.lineColor,t.lineWidthEmu,l);if(t.lineHidden||(e.strokeStyle=h,e.lineWidth=g,e.beginPath(),e.moveTo(m,a),e.lineTo(m,a+s),e.stroke()),!t.hidden){e.font=`${u}px sans-serif`,e.fillStyle=t.fontColor?`#${t.fontColor}`:f,e.textAlign=`left`,e.textBaseline=`middle`;let i=n.max-n.min||1,a=Math.max(1,Math.round(i/n.step));for(let i=0;i<=a;i++){let a=n.min+i*n.step,o=r(a);Dt(e,t.majorTickMark,`val`,m,o,h,g,!0),e.fillText(Ne(a,t.formatCode??null,p),m+14,o)}}if(t.title){let n=t.titleFontSizeHpt?t.titleFontSizeHpt/100*l:Math.max(9,c*.05);e.save(),e.fillStyle=t.titleFontColor?`#${t.titleFontColor}`:t.fontColor?`#${t.fontColor}`:`#555`,e.font=`${t.titleFontBold?`bold `:``}${n}px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.translate(i+o+d+n*.6,a+s/2),e.rotate(Math.PI/2),e.fillText(t.title,0,0),e.restore()}}function Wt(e,t,n,r,i,a){if(!t.title)return;let o=ut(t,t.titleFontFace),s=o?`\"${o}\", Calibri, Arial, sans-serif`:`Calibri, Arial, sans-serif`;e.font=`${t.titleFontBold??!0?`bold `:``}${a}px ${s}`,e.fillStyle=t.titleFontColor?`#${t.titleFontColor}`:`#333`,e.textAlign=`center`,e.textBaseline=`top`,e.fillText(t.title,n+i/2,r)}function Gt(e){if(e.categories.length>0)return e.categories;let t=e.series[0];if(t?.categories&&t.categories.length>0)return t.categories;let n=0;for(let t of e.series)t.values.length>n&&(n=t.values.length);return n>0?Array.from({length:n},(e,t)=>String(t+1)):[]}function Kt(e,t,n,r,i,a,o,s,c,l=!1){let u=s??`outEnd`;if(e.fillStyle=c?`#${c}`:`#333`,o===`vertical`){let o=n+a/2,s=l?r+i:r,c=l?r:r+i;u===`inBase`?(e.textAlign=`center`,e.textBaseline=l?`top`:`bottom`,e.fillText(t,o,l?c+2:c-2)):u===`inEnd`?(e.textAlign=`center`,e.textBaseline=l?`bottom`:`top`,e.fillText(t,o,l?s-2:s+2)):u===`ctr`?(e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(t,o,r+i/2)):(e.textAlign=`center`,e.textBaseline=l?`top`:`bottom`,e.fillText(t,o,l?s+1:s-1))}else{let o=r+a/2,s=l?n:n+i,c=l?n+i:n;u===`inBase`?(e.textAlign=l?`right`:`left`,e.textBaseline=`middle`,e.fillText(t,l?c-4:c+4,o)):u===`inEnd`?(e.textAlign=l?`left`:`right`,e.textBaseline=`middle`,e.fillText(t,l?s+4:s-4,o)):u===`ctr`?(e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(t,n+i/2,o)):(e.textAlign=l?`right`:`left`,e.textBaseline=`middle`,e.fillText(t,l?s-2:s+2,o))}}function qt(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=t.chartType===`clusteredBarH`||t.chartType===`stackedBarH`||t.chartType===`stackedBarHPct`,l=t.chartType.startsWith(`stacked`),u=t.chartType===`stackedBarPct`||t.chartType===`stackedBarHPct`,d=t.series.filter(e=>e.seriesType!==`line`),f=t.series.filter(e=>e.seriesType===`line`),p=!c&&t.secondaryValAxis&&f.some(e=>e.useSecondaryAxis===!0)?t.secondaryValAxis:null,m=Gt(t),h=m.length;if(h===0)return;let g=pt(t),_=ue(t,s,r),v=_.fontPx,y=_.topPad,b=_.bandH,x=Rt(t.catAxisFontSizeHpt,s,r),S=Rt(t.valAxisFontSizeHpt,s,r),C=ae(t,o,s,.22),{legRightW:w,legLeftW:T,legTopH:E,legBottomH:D}=oe(C),O=le(t,o,s,r),k=O.catFontPx,A=O.valFontPx,j=O.catBandH,M=O.valBandW,N=b+E+S/2+2,P=c?(t.valAxisHidden?s*.02:de(S))+j+D:de(x)+j+D,F=s-N-P,I=c?o-((t.catAxisHidden?o*.03:o*.22)+M+T)-(w+o*.03):0,L=(c?I:F)/r,R=0,z=0;for(let e=0;e<h;e++){let t=0,n=0;for(let r of d){let i=r.values[e]??0;l?i>=0?t+=i:n+=i:(R=Math.max(R,i),z=Math.min(z,i))}l&&(R=Math.max(R,t),z=Math.min(z,n))}if(!u){for(let e of f)if(!(p&&e.useSecondaryAxis===!0))for(let t=0;t<h;t++){let n=e.values[t];n!=null&&(R=Math.max(R,n),z=Math.min(z,n))}}u&&(R=R>0?100:0,z=z<0?-100:0),t.valMax!=null&&(R=t.valMax),t.valMin!=null&&(z=t.valMin),R===0&&z===0&&(R=1);let B=It(t,z,R,L),{min:V,max:H,step:U}=B,W=Ht(p,f,F/r),G=W?W.min:0,K=W?W.max:1,q=W?W.step:1,ee=Math.max(8,Math.min(11,s/20)),J=Math.max(8,Math.min(11,F/20)),te=e.font,ne=0;if(!c&&!t.valAxisHidden){e.font=`${J}px ${dt(t,t.valAxisFontFace,`minor`)}`;let n=0,r=Math.round((H-V)/U);for(let i=0;i<=r;i++){let r=V+i*U,a=u?`${Math.round(r)}%`:Ne(r,t.valAxisFormatCode,t.date1904);n=Math.max(n,e.measureText(a).width)}ne=n+16}let Y=p?.fontSizeHpt?p.fontSizeHpt/100*r:ee,re=0;if(p&&!p.hidden){e.font=`${Y}px sans-serif`;let n=0,r=Math.round((K-G)/q);for(let i=0;i<=r;i++)n=Math.max(n,e.measureText(Ne(G+i*q,p.formatCode??null,t.date1904)).width);re=n+18}e.font=te;let ie=p&&p.title?(p.titleFontSizeHpt?p.titleFontSizeHpt/100*r:Math.max(9,s*.05))+8:0,X={t:N,r:w+o*.03+re+ie,b:P,l:c?(t.catAxisHidden?o*.03:o*.22)+M+T:T+M+ne};Wt(e,t,i,a+y,o,v);let{plotRect:{px0:Z,py0:Q,pw:se,ph:ce}}=fe(t,i,a,o,s,r,{titleBand:_,legendSideReserveFrac:.22,pad:X,honorPlotAreaManualLayout:!0});if(se<=0||ce<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(Z,Q,se,ce));let pe=K-G||1,me=H-V||1,he=e=>Q+ce-B.frac(e)*ce,ge=e=>Z+B.frac(e)*se,_e=he(0),ve=ge(0),ye=he,be=W?W.makeToY(Q,ce):he,xe=kt(t,r),Se=Math.round(me/U);e.textBaseline=`middle`,e.font=`${Math.max(8,Math.min(11,ce/20))}px ${dt(t,t.valAxisFontFace,`minor`)}`;let we=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;if(e.fillStyle=we,!t.valAxisHidden){for(let t of B.minorLines)if(!c)Ot(e,Z,se,he(t),!1,xe);else{let n=ge(t);e.strokeStyle=xe.color,e.lineWidth=xe.width,e.beginPath(),e.moveTo(n,Q),e.lineTo(n,Q+ce),e.stroke()}let n=Ft(t),r=t.valAxisTickLabelPos!==`none`;for(let i of B.majorLines){let a=Math.abs(i)<U*1e-9,o=u?`${Math.round(i)}%`:Ne(i,t.valAxisFormatCode,t.date1904);if(c){let t=ge(i);n&&(e.strokeStyle=xe.explicit?xe.color:a?`#aaa`:xe.color,e.lineWidth=xe.explicit?xe.width:a?1:xe.width,e.beginPath(),e.moveTo(t,Q),e.lineTo(t,Q+ce),e.stroke()),r&&(e.textAlign=`center`,e.fillText(o,t,Q+ce+10))}else{let t=he(i);n&&Ot(e,Z,se,t,a,xe),r&&(e.textAlign=`right`,e.fillText(o,Z-12,t))}}}if(!t.catAxisHidden&&At(t)){let n=jt(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;for(let n of Mt(t,h)){if(e.beginPath(),c){let t=Q+n*ce;e.moveTo(Z,t),e.lineTo(Z+se,t)}else{let t=Z+n*se;e.moveTo(t,Q),e.lineTo(t,Q+ce)}e.stroke()}}let{color:Ee,width:De}=Ce(t.catAxisLineColor,t.catAxisLineWidthEmu,r),{color:Oe,width:ke}=Ce(t.valAxisLineColor,t.valAxisLineWidthEmu,r),Ae=(t,n,r,i,a,o)=>{e.strokeStyle=a,e.lineWidth=o,e.beginPath(),e.moveTo(t,n),e.lineTo(r,i),e.stroke()},je=!t.catAxisHidden&&!t.catAxisLineHidden,Me=!t.valAxisHidden&&!t.valAxisLineHidden&&t.valAxisLineColor!=null,Fe=()=>{if(c?(je&&Ae(Z,Q,Z,Q+ce,Ee,De),Me&&Ae(Z,Q+ce,Z+se,Q+ce,Oe,ke)):(je&&Ae(Z,Q+ce,Z+se,Q+ce,Ee,De),Me&&Ae(Z,Q,Z,Q+ce,Oe,ke)),!t.valAxisHidden&&t.valAxisMajorTickMark&&t.valAxisMajorTickMark!==`none`)for(let n=0;n<=Se;n++){let r=V+n*U;c?Dt(e,t.valAxisMajorTickMark,`cat`,Q+ce,ge(r),Oe,ke):Dt(e,t.valAxisMajorTickMark,`val`,Z,he(r),Oe,ke)}if(!t.catAxisHidden&&t.catAxisMajorTickMark&&t.catAxisMajorTickMark!==`none`){let n=Te(t),r=n?h:h-1;for(let i=0;i<=r;i++){let r=n?i/h:h===1?.5:i/(h-1);c?Dt(e,t.catAxisMajorTickMark,`val`,Z,Q+r*ce,Ee,De):Dt(e,t.catAxisMajorTickMark,`cat`,Q+ce,Z+r*se,Ee,De)}}},Ie=c?ce/h:se/h,Le=l?1:Math.max(1,d.length),Re=l?0:t.barOverlap??0,ze=t.barGapWidth??150,Ve=Ie/(1+(Le-1)*(1-Re/100)+ze/100),He=l?0:Ve*(1-Re/100),Ue=(Ie-(Ve+(Le-1)*He))/2;for(let n=0;n<h;n++){let i=0,a=0,o=0;if(u){for(let e of d)o+=Math.abs(e.values[n]??0);o===0&&(o=1)}for(let s=0;s<d.length;s++){let f=d[s],p=f.values[n]??0,m=u?p/o*100:p,_=m<0,v=g?ct(n,f):st(s,f);if(c){let o=l?s:d.length-1-s,c=l?Q+(h-1-n)*Ie+Ue:Q+(h-1-n)*Ie+Ue+o*He,p=l?ge(_?a:i):ve,g=ge(l?(_?a:i)+m:m),y=Math.min(p,g),b=Math.abs(g-p);e.fillStyle=v,e.fillRect(y,c,b,Ve),t.showDataLabels&&m!==0&&(e.font=`bold ${t.dataLabelFontSizeHpt?t.dataLabelFontSizeHpt/100*r:Math.max(7,Math.min(11,Ve*.6))}px ${dt(t,t.dataLabelFontFace,`minor`)}`,Kt(e,u?`${Math.round(m)}%`:Ne(m,t.dataLabelFormatCode??f.valFormatCode??null,t.date1904),y,c,b,Ve,`horizontal`,t.dataLabelPosition??null,f.labelColor??t.dataLabelFontColor??null,_))}else{let o=l?Z+n*Ie+Ue:Z+n*Ie+Ue+s*He,c=l?he(_?a:i):_e,d=he(l?(_?a:i)+m:m),p=Math.min(c,d),h=Math.abs(d-c);e.fillStyle=v,e.fillRect(o,p,Ve,h),t.showDataLabels&&m!==0&&(e.font=`bold ${t.dataLabelFontSizeHpt?t.dataLabelFontSizeHpt/100*r:Math.max(7,Math.min(11,Ve*.6))}px ${dt(t,t.dataLabelFontFace,`minor`)}`,Kt(e,u?`${Math.round(m)}%`:Ne(m,t.dataLabelFormatCode??f.valFormatCode??null,t.date1904),o,p,h,Ve,`vertical`,t.dataLabelPosition??null,f.labelColor??t.dataLabelFontColor??null,_))}l&&(_?a+=m:i+=m)}}if(!t.catAxisHidden&&zt(t)){e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`,e.font=`${Math.max(8,Math.min(11,Ie*.5))}px ${dt(t,t.catAxisFontFace,`minor`)}`;let n=Ie-4,r=Z-4-(i+T+M),a=Bt(t);for(let i=0;i<h;i++){let o=Pe((m[i]??``).toString(),t.catAxisFormatCode,t.date1904);if(c){let t=Q+(h-1-i)*Ie+Ie/2;e.textAlign=`right`,e.textBaseline=`middle`,e.fillText(Be(e,o,r),Z-4,t)}else{let t=Z+i*Ie+Ie/2;e.textAlign=`center`,e.textBaseline=`top`,Vt(e,Be(e,o,a===0?n:ce*.4),t,Q+ce+3,a)}}}if(f.length>0&&!c)for(let t=0;t<f.length;t++){let n=f[t],i=st(d.length+t,n),a=p&&n.useSecondaryAxis===!0?be:ye;e.strokeStyle=i,e.lineWidth=2,e.setLineDash([]),e.beginPath();let o=!1;for(let t=0;t<h;t++){let r=n.values[t];if(r==null){o=!1;continue}let i=Z+t*Ie+Ie/2,s=a(r);o?e.lineTo(i,s):(e.moveTo(i,s),o=!0)}if(e.stroke(),n.showMarker!==!1)for(let t=0;t<h;t++){let r=n.values[t];if(r==null)continue;let o=Z+t*Ie+Ie/2,s=a(r);e.fillStyle=i,e.beginPath(),e.arc(o,s,3,0,Math.PI*2),e.fill()}Lt(e,n,i,e=>Z+e*Ie+Ie/2,a,r)}if(Fe(),p){let n=Z+se,{color:i,width:a}=Ce(p.lineColor,p.lineWidthEmu,r);if(p.lineHidden||Ae(n,Q,n,Q+ce,i,a),!p.hidden){e.font=`${Y}px sans-serif`,e.fillStyle=p.fontColor?`#${p.fontColor}`:we,e.textAlign=`left`,e.textBaseline=`middle`;let r=Math.max(1,Math.round(pe/q));for(let o=0;o<=r;o++){let r=G+o*q,s=be(r);Dt(e,p.majorTickMark,`val`,n,s,i,a,!0),e.fillText(Ne(r,p.formatCode??null,t.date1904),n+14,s)}}if(p.title){let t=p.titleFontSizeHpt?p.titleFontSizeHpt/100*r:Math.max(9,s*.05);e.save(),e.fillStyle=p.titleFontColor?`#${p.titleFontColor}`:p.fontColor?`#${p.fontColor}`:`#555`,e.font=`${p.titleFontBold?`bold `:``}${t}px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.translate(Z+se+re+t*.6,Q+ce/2),e.rotate(Math.PI/2),e.fillText(p.title,0,0),e.restore()}}Et(e,c&&!l?{...t,series:[...t.series].reverse()}:t,C,i,a,o,s,Z,Q,se,ce,b+2),_t(e,t,i,a,o,s,Z,Q,se,ce,T,D,k,A)}function Jt(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=Gt(t),l=c.length;if(l===0)return;let u=t.chartType===`stackedLine`||t.chartType===`stackedLinePct`,d=t.chartType===`stackedLinePct`,f=d?c.map((e,n)=>{let r=0;for(let e of t.series)r+=Math.abs(e.values[n]??0);return r||1}):null,p=t.dispBlanksAs??`gap`,m=(e,n)=>{if(!u)return t.series[e].values[n]??0;let r=0;for(let i=0;i<=e;i++)r+=t.series[i].values[n]??0;return d&&f?r/f[n]*100:r},h=!u&&t.secondaryValAxis&&t.series.some(e=>e.useSecondaryAxis===!0)?t.secondaryValAxis:null,g=e=>h!=null&&e.useSecondaryAxis===!0,_=ue(t,s,r),v=_.fontPx,y=_.topPad,b=_.bandH,x=ae(t,o,s,.22),{legRightW:S,legLeftW:C,legTopH:w,legBottomH:T}=oe(x),E=Rt(t.catAxisFontSizeHpt,s,r),D=Rt(t.valAxisFontSizeHpt,s,r),O=le(t,o,s,r),k=O.catFontPx,A=O.valFontPx,j=O.catBandH,M=O.valBandW,N=b+w+D/2+2,P=de(E)+j+T,F=s-N-P,I=Ht(h,t.series,F/r),L=Math.max(8,Math.min(11,s/20)),R=h?.fontSizeHpt?h.fontSizeHpt/100*r:L,z=0;if(h&&I&&!h.hidden){let n=e.font;e.font=`${R}px sans-serif`;let r=0,i=Math.round((I.max-I.min)/I.step);for(let n=0;n<=i;n++)r=Math.max(r,e.measureText(Ne(I.min+n*I.step,h.formatCode??null,t.date1904)).width);z=r+18,e.font=n}let B=h&&h.title?(h.titleFontSizeHpt?h.titleFontSizeHpt/100*r:Math.max(9,s*.05))+8:0,V={t:N,r:S+o*.05+z+B,b:P,l:D*2.2+10+M+C};Wt(e,t,i,a+y,o,v);let{plotRect:{px0:H,py0:U,pw:W,ph:G}}=fe(t,i,a,o,s,r,{titleBand:_,legendSideReserveFrac:.22,pad:V});if(W<=0||G<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(H,U,W,G));let K=1/0,q=-1/0;for(let e=0;e<l;e++)for(let n=0;n<t.series.length;n++){if(g(t.series[n])||!u&&t.series[n].values[e]==null)continue;let r=m(n,e);K=Math.min(K,r),q=Math.max(q,r)}isFinite(K)||(K=0,q=1);let ee=t.valAxisLogBase!=null&&t.valAxisLogBase>=2;t.valMin==null?K>0&&!ee&&(K=0):K=t.valMin,t.valMax==null?q<0&&(q=0):q=t.valMax,q===K&&(q=K+1);let J=It(t,K,q,G/r);if(J.max-J.min===0)return;let te=e=>U+G-J.frac(e)*G,ne=I?I.makeToY(U,G):te,Y=e=>g(e)?ne:te,re=Te(t),ie=Pt(t),X=re?e=>H+((ie?l-1-e:e)+.5)/l*W:e=>{let t=ie?l-1-e:e;return H+(l===1?W/2:t/(l-1)*W)};if(!t.valAxisHidden){e.font=`${D}px ${dt(t,t.valAxisFontFace,`minor`)}`,e.textBaseline=`middle`;let n=kt(t,r);for(let t of J.minorLines)Ot(e,H,W,te(t),!1,n);let i=Ft(t),a=t.valAxisTickLabelPos!==`none`;for(let r of J.majorLines){let o=te(r);i&&Ot(e,H,W,o,r===0,n),Dt(e,t.valAxisMajorTickMark,`val`,H,o),a&&(e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`,e.fillText(Ne(r,t.valAxisFormatCode,t.date1904),H-6,o))}}if(!t.catAxisHidden&&At(t)){let n=jt(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;for(let n of Mt(t,l)){let t=H+n*W;e.beginPath(),e.moveTo(t,U),e.lineTo(t,U+G),e.stroke()}}e.strokeStyle=`#aaa`,e.lineWidth=1,!t.catAxisHidden&&!t.catAxisLineHidden&&(e.beginPath(),e.moveTo(H,U+G),e.lineTo(H+W,U+G),e.stroke()),!t.valAxisHidden&&!t.valAxisLineHidden&&(e.beginPath(),e.moveTo(H,U),e.lineTo(H,U+G),e.stroke());let Z=Math.max(1,2.25*r),Q=Math.max(2,2.5*r),se=Rt(t.dataLabelFontSizeHpt,s,r);for(let n=0;n<t.series.length;n++){let i=t.series[n],a=st(n,i),o=Y(i);e.strokeStyle=a,e.lineWidth=Z,e.setLineDash([]),e.beginPath();let s=i.smooth===!0,d=[],f=()=>{d.length!==0&&(e.moveTo(d[0].x,d[0].y),cn(e,d,s),d=[])};for(let e=0;e<l;e++){if(!u&&i.values[e]==null){if(p===`gap`){f();continue}if(p===`span`)continue}d.push({x:X(e),y:o(m(n,e))})}f(),e.stroke();let h=e=>m(n,e);for(let t of i.errBars??[])dn(e,i,t,l,X,o,h,a);e.fillStyle=a;let g=i.showMarker!==!1,_=un(i),v=fn(e,i,c,l,X,o,h,G,r,t.date1904??!1,u||p===`zero`,dt(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`);v&&(e.fillStyle=a);for(let s=0;s<l;s++){if(!u&&i.values[s]==null&&p!==`zero`)continue;let c=m(n,s);if(g)if(_){let t=(i.dataPointOverrides??[]).find(e=>e.idx===s),n=t?.markerSymbol??i.markerSymbol??`circle`;if(n!==`none`){let l=t?.markerSize??i.markerSize??5,u=t?.markerFill??t?.color??i.markerFill??a,d=t?.markerLine??i.markerLine??null;nn(e,X(s),o(c),n,l,u,d,r)}}else e.beginPath(),e.arc(X(s),o(c),Q,0,Math.PI*2),e.fill();t.showDataLabels&&!v&&(on(e,X(s),o(c),Me(c),t.dataLabelPosition??`r`,se,void 0,!1,dt(t,t.dataLabelFontFace,`minor`),g?Q+1:2),e.fillStyle=a)}Lt(e,i,a,X,o,r)}if(!t.catAxisHidden){let n=Math.max(1,Math.ceil(l/8)),r=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;e.fillStyle=r,e.textAlign=`center`,e.textBaseline=`top`,e.font=`${E}px ${dt(t,t.catAxisFontFace,`minor`)}`;let i=W/l*n-4,a=zt(t),o=Bt(t);for(let s=0;s<l;s+=n){let n=X(s);Dt(e,t.catAxisMajorTickMark,`cat`,U+G,n),a&&(e.fillStyle=r,Vt(e,Be(e,Pe((c[s]??``).toString(),t.catAxisFormatCode,t.date1904),o===0?i:G*.4),n,U+G+5,o))}}if(h&&I){let n=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;Ut(e,h,I,ne,H,U,W,G,s,r,R,z,n,t.date1904)}Et(e,t,x,i,a,o,s,H,U,W,G,b+2),_t(e,t,i,a,o,s,H,U,W,G,C,T,k,A)}function Yt(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=Gt(t),l=c.length;if(l===0)return;let u=t.series,d=u.length>=4,f=d?0:-1,p=+!!d,m=d?2:1,h=d?3:2,g=u[p],_=u[m],v=u[h],y=f>=0?u[f]:void 0,b=ue(t,s,r),x=b.fontPx,S=b.topPad,C=b.bandH,w=ae(t,o,s,.22),{legRightW:T,legLeftW:E,legBottomH:D,legTopH:O}=oe(w),k=Rt(t.catAxisFontSizeHpt,s,r),A=Rt(t.valAxisFontSizeHpt,s,r),j=le(t,o,s,r),M=j.catFontPx,N=j.valFontPx,P=j.catBandH,F=j.valBandW,I=C+O+A/2+2,L=de(k)+P+D,R={t:I,r:T+o*.05,b:L,l:A*2.2+10+F+E};Wt(e,t,i,a+S,o,x);let{plotRect:{px0:z,py0:B,pw:V,ph:H}}=fe(t,i,a,o,s,r,{titleBand:b,legendSideReserveFrac:.22,pad:R});if(V<=0||H<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(z,B,V,H));let U=1/0,W=-1/0;for(let e of u)for(let t=0;t<l;t++){let n=e.values[t];n!=null&&(U=Math.min(U,n),W=Math.max(W,n))}isFinite(U)||(U=0,W=1),t.valMin==null?U>0&&(U=0):U=t.valMin,t.valMax==null?W<0&&(W=0):W=t.valMax,W===U&&(W=U+1);let G=It(t,U,W,H/r);if(G.max-G.min===0)return;let K=e=>B+H-G.frac(e)*H,q=Te(t),ee=Pt(t),J=q?e=>z+((ee?l-1-e:e)+.5)/l*V:e=>{let t=ee?l-1-e:e;return z+(l===1?V/2:t/(l-1)*V)};if(!t.valAxisHidden){e.font=`${A}px ${dt(t,t.valAxisFontFace,`minor`)}`,e.textBaseline=`middle`;let n=kt(t,r);for(let t of G.minorLines)Ot(e,z,V,K(t),!1,n);let i=Ft(t),a=t.valAxisTickLabelPos!==`none`;for(let r of G.majorLines){let o=K(r);i&&Ot(e,z,V,o,r===0,n),Dt(e,t.valAxisMajorTickMark,`val`,z,o),a&&(e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`,e.fillText(Ne(r,t.valAxisFormatCode,t.date1904),z-6,o))}}if(e.strokeStyle=`#aaa`,e.lineWidth=1,!t.catAxisHidden&&!t.catAxisLineHidden&&(e.beginPath(),e.moveTo(z,B+H),e.lineTo(z+V,B+H),e.stroke()),!t.valAxisHidden&&!t.valAxisLineHidden&&(e.beginPath(),e.moveTo(z,B),e.lineTo(z,B+H),e.stroke()),(t.stockHiLowLines??!0)&&g!=null&&_!=null&&g&&_){e.strokeStyle=t.stockHiLowLineColor?`#${t.stockHiLowLineColor}`:`#595959`,e.lineWidth=Math.max(1,.75*r),e.setLineDash([]);for(let t=0;t<l;t++){let n=g.values[t],r=_.values[t];if(n==null||r==null)continue;let i=J(t);e.beginPath(),e.moveTo(i,K(n)),e.lineTo(i,K(r)),e.stroke()}}let te=(t,n,i)=>{if(!t)return;let a=st(n,t),o=t.markerSymbol??null,s=o!=null&&o!==`none`&&un(t),c=Math.max(3,V/l*.22);for(let n=0;n<l;n++){let l=t.values[n];if(l==null)continue;let u=J(n),d=K(l);if(s){nn(e,u,d,o,t.markerSize??3,t.markerFill??a,t.markerLine??null,r);continue}e.strokeStyle=a,e.lineWidth=Math.max(1,.75*r),e.beginPath();let f=i===`right`?u:i===`left`?u-c:u-c/2,p=i===`right`?u+c:i===`left`?u:u+c/2;e.moveTo(f,d),e.lineTo(p,d),e.stroke()}};if(te(y,f,`left`),te(v,h,`right`),u.length<3)for(let e=0;e<u.length;e++)te(u[e],e,`both`);if(!t.catAxisHidden){let n=Math.max(1,Math.ceil(l/8)),r=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`;e.fillStyle=r,e.textAlign=`center`,e.textBaseline=`top`,e.font=`${k}px ${dt(t,t.catAxisFontFace,`minor`)}`;let i=V/l*n-4,a=zt(t),o=Bt(t);for(let s=0;s<l;s+=n){let n=J(s);Dt(e,t.catAxisMajorTickMark,`cat`,B+H,n),a&&(e.fillStyle=r,Vt(e,Be(e,Pe((c[s]??``).toString(),t.catAxisFormatCode,t.date1904),o===0?i:H*.4),n,B+H+5,o))}}Et(e,t,w,i,a,o,s,z,B,V,H,C+2),_t(e,t,i,a,o,s,z,B,V,H,E,D,M,N)}function Xt(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=Gt(t),l=c.length;if(l===0)return;let u=t.chartType===`stackedArea`||t.chartType===`stackedAreaPct`,d=t.chartType===`stackedAreaPct`,f=d?c.map((e,n)=>{let r=0;for(let e of t.series)r+=Math.abs(e.values[n]??0);return r||1}):null,p=(e,n)=>{let r=t.series[e].values[n]??0;return d&&f?r/f[n]*100:r},m=!u&&t.secondaryValAxis&&t.series.some(e=>e.useSecondaryAxis===!0)?t.secondaryValAxis:null,h=e=>m!=null&&e.useSecondaryAxis===!0,g=ue(t,s,r),_=g.fontPx,v=g.topPad,y=g.bandH,b=Rt(t.catAxisFontSizeHpt,s,r),x=Rt(t.valAxisFontSizeHpt,s,r),S=ae(t,o,s,.22),{legRightW:C,legLeftW:w,legTopH:T,legBottomH:E}=oe(S),D=le(t,o,s,r),O=D.catFontPx,k=D.valFontPx,A=D.catBandH,j=D.valBandW,M=y+T+x/2+2,N=de(b)+A+E,P=s-M-N,F=Ht(m,t.series,P/r),I=Math.max(8,Math.min(11,s/20)),L=m?.fontSizeHpt?m.fontSizeHpt/100*r:I,R=0;if(m&&F&&!m.hidden){let n=e.font;e.font=`${L}px sans-serif`;let r=0,i=Math.round((F.max-F.min)/F.step);for(let n=0;n<=i;n++)r=Math.max(r,e.measureText(Ne(F.min+n*F.step,m.formatCode??null,t.date1904)).width);R=r+18,e.font=n}let z=m&&m.title?(m.titleFontSizeHpt?m.titleFontSizeHpt/100*r:Math.max(9,s*.05))+8:0,B={t:M,r:C+o*.05+R+z,b:N,l:o*.12+j+w};Wt(e,t,i,a+v,o,_);let{plotRect:{px0:V,py0:H,pw:U,ph:W}}=fe(t,i,a,o,s,r,{titleBand:g,legendSideReserveFrac:.22,pad:B});if(U<=0||W<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(V,H,U,W));let G=0;for(let e=0;e<l;e++)if(u){let n=0;for(let r=0;r<t.series.length;r++)n+=p(r,e);G=Math.max(G,n)}else for(let n of t.series)h(n)||(G=Math.max(G,n.values[e]??0));d&&(G=G>0?100:0),t.valMax!=null&&(G=t.valMax),G===0&&(G=1);let{max:K,step:q}=_e(0,G,void 0,t.valMax,W/r,t.valAxisMajorUnit),ee=Te(t),J=ee?e=>V+(e+.5)/l*U:e=>V+(l===1?U/2:e/(l-1)*U),te=e=>H+W-e/K*W,ne=F?F.makeToY(H,W):te,Y=e=>h(e)?ne:te,{color:re,width:ie}=Ce(t.catAxisLineColor,t.catAxisLineWidthEmu,r),{color:X,width:Z}=Ce(t.valAxisLineColor,t.valAxisLineWidthEmu,r);if(!t.valAxisHidden){let n=kt(t,r),i=t.valAxisMinorUnit;if(t.valAxisMinorGridlines&&i!=null&&isFinite(i)&&i>0&&i<q)for(let t=i;t<K-1e-9;t+=i)Math.abs(t/q-Math.round(t/q))>1e-6&&Ot(e,V,U,te(t),!1,n);if(Ft(t)){let t=Math.round(K/q);for(let r=0;r<=t;r++)Ot(e,V,U,te(r*q),r===0,n)}}if(!t.catAxisHidden&&At(t)){let n=jt(t,r);e.strokeStyle=n.color,e.lineWidth=n.width;for(let n of Mt(t,l)){let t=V+n*U;e.beginPath(),e.moveTo(t,H),e.lineTo(t,H+W),e.stroke()}}let Q=u?Array(l).fill(0):null;for(let n=t.series.length-1;n>=0;n--){let r=t.series[n],i=st(n,r),a=H+W,o=Y(r),s=r.smooth===!0;if(e.beginPath(),u&&Q){let t=[];for(let e=0;e<l;e++)t.push({x:J(e),y:te(p(n,e)+Q[e])});e.moveTo(t[0].x,t[0].y),cn(e,t,s);for(let t=l-1;t>=0;t--)e.lineTo(J(t),te(Q[t]));for(let e=0;e<l;e++)Q[e]+=p(n,e)}else{let t=[];for(let e=0;e<l;e++)t.push({x:J(e),y:o(r.values[e]??0)});e.moveTo(J(0),a),e.lineTo(t[0].x,t[0].y),cn(e,t,s),e.lineTo(J(l-1),a)}e.closePath(),e.fillStyle=$e(i,.6),e.fill(),e.strokeStyle=i,e.lineWidth=1.5,e.setLineDash([]),e.stroke()}{let n=Math.max(2,2.5*r),i=(e,n)=>{if(u){let r=0;for(let i=e;i<t.series.length;i++)r+=p(i,n);return r}return t.series[e].values[n]??0};for(let a=0;a<t.series.length;a++){let o=t.series[a],s=st(a,o),u=Y(o),d=e=>i(a,e);for(let t of o.errBars??[])dn(e,o,t,l,J,u,d,s);if(o.showMarker===!0||un(o))for(let t=0;t<l;t++){if(o.values[t]==null)continue;let i=(o.dataPointOverrides??[]).find(e=>e.idx===t),a=i?.markerSymbol??o.markerSymbol??`circle`;if(a===`none`)continue;let c=J(t),l=u(d(t));un(o)?nn(e,c,l,a,i?.markerSize??o.markerSize??5,i?.markerFill??i?.color??o.markerFill??s,i?.markerLine??o.markerLine??null,r):(e.fillStyle=s,e.beginPath(),e.arc(c,l,n,0,Math.PI*2),e.fill())}fn(e,o,c,l,J,u,d,W,r,t.date1904??!1,!0,dt(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`ctr`)}}if(!t.valAxisHidden){e.font=`${Math.max(8,Math.min(11,W/20))}px ${dt(t,t.valAxisFontFace,`minor`)}`,e.textBaseline=`middle`;let n=Math.round(K/q);for(let r=0;r<=n;r++){let n=r*q,i=te(n);Dt(e,t.valAxisMajorTickMark,`val`,V,i,X,Z),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`,e.textAlign=`right`,e.fillText(Ne(n,t.valAxisFormatCode,t.date1904),V-6,i)}}if(!t.catAxisHidden&&!t.catAxisLineHidden&&(e.strokeStyle=re,e.lineWidth=ie,e.beginPath(),e.moveTo(V,H+W),e.lineTo(V+U,H+W),e.stroke()),!t.valAxisHidden&&!t.valAxisLineHidden&&t.valAxisLineColor!=null&&(e.strokeStyle=X,e.lineWidth=Z,e.beginPath(),e.moveTo(V,H),e.lineTo(V,H+W),e.stroke()),!t.catAxisHidden&&t.catAxisMajorTickMark&&t.catAxisMajorTickMark!==`none`)if(ee)for(let n=0;n<=l;n++)Dt(e,t.catAxisMajorTickMark,`cat`,H+W,V+n/l*U,re,ie);else for(let n=0;n<l;n++)Dt(e,t.catAxisMajorTickMark,`cat`,H+W,J(n),re,ie);if(!t.catAxisHidden){e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#555`,e.textAlign=`center`,e.textBaseline=`top`,e.font=`${Math.max(8,Math.min(11,U/l*.8))}px ${dt(t,t.catAxisFontFace,`minor`)}`;let n=c.map(e=>Pe((e??``).toString(),t.catAxisFormatCode,t.date1904)),r=0;for(let t=0;t<l;t++)r=Math.max(r,e.measureText(n[t]??``).width);let i=Math.max(1,Math.ceil((r+6)/(U/l))),a=U/l*i-4;for(let t=0;t<l;t+=i)e.fillText(Be(e,n[t]??``,a),J(t),H+W+3)}if(m&&F){let n=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#555`;Ut(e,m,F,ne,V,H,U,W,s,r,L,R,n,t.date1904)}Et(e,t,S,i,a,o,s,V,H,U,W,y+2),_t(e,t,i,a,o,s,V,H,U,W,w,E,O,k)}function Zt(e,t,n,r,i){let{x:a,y:o,w:s,h:c}=n,l=t.series[0];if(!l)return;let u=l.categories&&l.categories.length>0?l.categories:t.categories,d=l.values.map(e=>Math.abs(e??0)),f=d.reduce((e,t)=>e+t,0);if(f===0)return;let p=fe(t,a,o,s,c,i,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.28,radialGapFrac:.02}),m=p.title.fontPx,h=p.title.bandH;Wt(e,t,a,o+p.title.topPad,s,m);let g=p.legend,{px0:_,py0:v,pw:y,ph:b}=p.plotRect,x=p.center.cx,S=p.center.cy,C=Math.min(y,b)*.42,w=-Math.PI/2+(t.firstSliceAngle??0)*Math.PI/180,T=r?Math.max(1,Math.min(90,t.holeSize??50)):0,E=r?t.series:[l],D=T/100*C,O=(C-D)/E.length,k=(e,t)=>{let n=(e.dataPointOverrides??[]).find(e=>e.idx===t)?.explosion??0;return n>0?n/100*C:0},A=l.seriesDataLabels,j=A!=null&&(A.showVal||A.showCatName||A.showSerName||A.showPercent),M=t.showDataLabels&&!j,N=dt(t,t.dataLabelFontFace,`minor`);for(let t=0;t<E.length;t++){let n=E[t],i=n.values.map(e=>Math.abs(e??0)),a=i.reduce((e,t)=>e+t,0);if(a===0)continue;let o=C-t*O,s=o-O,c=w;for(let l=0;l<i.length;l++){let u=i[l]/a*Math.PI*2,d=ct(l,n),f=c+u/2,p=k(n,l),m=p>0?Math.cos(f)*p:0,h=p>0?Math.sin(f)*p:0;if(e.beginPath(),s>.01?(e.arc(x+m,S+h,o,c,c+u),e.arc(x+m,S+h,s,c+u,c,!0)):(e.moveTo(x+m,S+h),e.arc(x+m,S+h,o,c,c+u)),e.closePath(),e.fillStyle=d,e.fill(),e.strokeStyle=`#fff`,e.lineWidth=1,e.stroke(),M&&t===0&&u>.15){let t=C*(r?.75:.6),n=x+m+Math.cos(f)*t,o=S+h+Math.sin(f)*t,s=Math.round(i[l]/a*100);e.font=`bold ${Math.max(8,C*.1)}px ${N}`,e.fillStyle=`#fff`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`${s}%`,n,o)}c+=u}}if(j&&Qt(e,t,A,l,u,d,f,x,S,C,D,w,N,i,_,v,y,b),g){let n=[{...l,categories:u}];Et(e,{...t,series:n},g,a,o,s,c,_,v,y,b,h+2)}}function Qt(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_){if(n.labelBox){$t(e,t,n,r,i,a,o,s,c,l,d,f,p,m,g,h,_);return}let v=r.dataLabelOverrides??[],y=d;for(let d=0;d<a.length;d++){let p=a[d]/o*Math.PI*2,m=y+p/2;y+=p;let h=v.find(e=>e.idx===d);if(h?.deleted)continue;let g=h?.showCatName??n.showCatName,_=h?.showSerName??n.showSerName,b=h?.showVal??n.showVal,x=h?.showPercent??n.showPercent,S;if(h&&h.text)S=h.text;else{let e=[];g&&e.push((i[d]??``).toString()),_&&e.push(r.name),b&&e.push(Ne(a[d],n.formatCode??null,t.date1904??!1)),x&&e.push(`${Math.round(a[d]/o*100)}%`),S=e.filter(Boolean).join(` `)}if(!S)continue;let C=(h?.position??n.position??`bestFit`)===`outEnd`,w=C?l+Math.max(10,l*.12):u>.01?(u+l)/2:l*.88,T=s+Math.cos(m)*w,E=c+Math.sin(m)*w,D=h?.fontSizeHpt??n.fontSizeHpt,O=D?D/100:Math.max(8,l*.1),k=h?.fontBold??n.fontBold,A=h?.fontColor??n.fontColor;e.font=`${k?`bold `:``}${O}px ${f}`,e.fillStyle=A?`#${A}`:C?`#333`:`#fff`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(S,T,E)}}function $t(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){let _=r.dataLabelOverrides??[],v=e=>_.find(t=>t.idx===e),y=n.fontSizeHpt?n.fontSizeHpt/100:Math.max(9,l*.09),b=Math.max(4,y*.45),x=Math.max(2,y*.28),S=y*.22,C=n.labelBox,w=[],T=u;for(let u=0;u<a.length;u++){let p=a[u]/o*Math.PI*2,m=T+p/2;if(T+=p,p<=0)continue;let h=v(u);if(h?.deleted)continue;let g=h?.showCatName??n.showCatName,_=h?.showSerName??n.showSerName,E=h?.showVal??n.showVal,D=h?.showPercent??n.showPercent,O=[];if(h&&h.text)O.push(h.text);else{if(g){let e=(i[u]??``).toString();e&&O.push(e)}_&&r.name&&O.push(r.name),E&&O.push(Ne(a[u],n.formatCode??null,t.date1904??!1)),D&&O.push(`${Math.round(a[u]/o*100)}%`)}if(O.length===0)continue;let k=h?.fontSizeHpt?h.fontSizeHpt/100:y,A=h?.fontBold??n.fontBold??!1,j=h?.fontColor?`#${h.fontColor}`:n.fontColor?`#${n.fontColor}`:`#000`,M=h?.labelBox??C,N=M?.fill?`#${M.fill}`:null,P=M?.borderColor?`#${M.borderColor}`:null,F=M?.borderWidthEmu?Math.max(.75,M.borderWidthEmu/xe*f):1;e.font=`${A?`bold `:``}${k}px ${d}`;let I=0;for(let t of O)I=Math.max(I,e.measureText(t).width);let L=k+S,R=I+b*2,z=O.length*L-S+x*2,B=s+Math.cos(m)*l,V=c+Math.sin(m)*l,H=Math.cos(m)<0,U=Math.max(R,z)*.55+l*.06,W=B+Math.cos(m)*U,G=V+Math.sin(m)*U;w.push({lines:O,midAngle:m,rimX:B,rimY:V,boxW:R,boxH:z,cxBox:W,cyBox:G,leftSide:H,fontColor:j,boxFill:N,boxBorder:P,boxBorderPx:F,fontPx:k,bold:A})}let E=h+2,D=h+g-2,O=D-E,k=e=>{if(e.length===0)return;e.sort((e,t)=>e.cyBox-t.cyBox);let t=0;for(let n of e)t+=n.boxH;if(t+=(e.length-1)*3,t>O){let t=e.reduce((e,t)=>e+t.boxH,0),n=e.length;if(n===1){e[0].cyBox=Math.min(Math.max(e[0].cyBox,E+e[0].boxH/2),D-e[0].boxH/2);return}let r=(O-t)/(n-1),i=E;for(let t of e)t.cyBox=i+t.boxH/2,i+=t.boxH+r;return}for(let t=1;t<e.length;t++){let n=e[t-1],r=e[t],i=(n.boxH+r.boxH)/2+3;r.cyBox-n.cyBox<i&&(r.cyBox=n.cyBox+i)}let n=e[e.length-1].cyBox+e[e.length-1].boxH/2-D;if(n>0)for(let t of e)t.cyBox-=n;let r=E-(e[0].cyBox-e[0].boxH/2);if(r>0)for(let t of e)t.cyBox+=r};k(w.filter(e=>!e.leftSide)),k(w.filter(e=>e.leftSide));for(let e of w)e.cyBox=Math.max(E+e.boxH/2,e.cyBox),e.cyBox=Math.min(D-e.boxH/2,e.cyBox);let A=p+2,j=p+m-2;for(let e of w){let t=e.boxW/2;e.cxBox-t<A&&(e.cxBox=A+t),e.cxBox+t>j&&(e.cxBox=j-t)}let M=n.leaderLineColor?`#${n.leaderLineColor}`:`#a6a6a6`,N=n.leaderLineWidthEmu?Math.max(.5,n.leaderLineWidthEmu/xe*f):1;for(let t of w){let r=t.cxBox+(t.leftSide?t.boxW/2:-t.boxW/2),i=t.cyBox,a=r-t.rimX,o=i-t.rimY,s=Math.hypot(a,o);n.showLeaderLines&&s>t.fontPx*.9&&(e.beginPath(),e.moveTo(t.rimX,t.rimY),e.lineTo(r,i),e.strokeStyle=M,e.lineWidth=N,e.stroke())}for(let t of w){let n=t.cxBox-t.boxW/2,r=t.cyBox-t.boxH/2;t.boxFill&&(e.fillStyle=t.boxFill,e.fillRect(n,r,t.boxW,t.boxH)),t.boxBorder&&(e.strokeStyle=t.boxBorder,e.lineWidth=t.boxBorderPx,e.strokeRect(n,r,t.boxW,t.boxH)),e.font=`${t.bold?`bold `:``}${t.fontPx}px ${d}`,e.fillStyle=t.fontColor,e.textAlign=`center`,e.textBaseline=`middle`;let i=t.fontPx+S,a=t.cyBox-(t.lines.length*i-S)/2+t.fontPx/2;for(let n=0;n<t.lines.length;n++)e.fillText(t.lines[n],t.cxBox,a+n*i)}}function en(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=Gt(t),l=c.length;if(l<3)return;let u=fe(t,i,a,o,s,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:.22,radialGapFrac:.02}),d=u.legend,f=u.title.fontPx;Wt(e,t,i,a+u.title.topPad,o,f);let{px0:p,py0:m,pw:h,ph:g}=u.plotRect,_=u.center.cx,v=u.center.cy,y=Math.min(h,g)*.38,b=0;for(let e of t.series)for(let t of e.values)b=Math.max(b,t??0);t.valMax!=null&&(b=t.valMax),b===0&&(b=1);let{max:x,step:S}=_e(0,b,void 0,t.valMax,void 0,t.valAxisMajorUnit),C=-Math.PI/2,w=e=>C+e/l*Math.PI*2,T=Math.round(x/S),E=e=>Math.min(e*S,x);e.strokeStyle=`#ddd`,e.lineWidth=.5;for(let t=1;t<=T;t++){let n=E(t)/x*y;e.beginPath();for(let t=0;t<l;t++){let r=w(t),i=_+Math.cos(r)*n,a=v+Math.sin(r)*n;t===0?e.moveTo(i,a):e.lineTo(i,a)}e.closePath(),e.stroke()}e.strokeStyle=`#bbb`,e.lineWidth=.5;for(let t=0;t<l;t++){let n=w(t);e.beginPath(),e.moveTo(_,v),e.lineTo(_+Math.cos(n)*y,v+Math.sin(n)*y),e.stroke()}if(!t.valAxisHidden){e.font=`${Rt(t.valAxisFontSizeHpt,s,r)}px ${dt(t,t.valAxisFontFace,`minor`)}`,e.fillStyle=`#555`,e.textAlign=`right`,e.textBaseline=`middle`;for(let t=1;t<=T;t++){let n=E(t),r=n/x*y;e.fillText(Me(n),_-3,v-r)}}e.font=`${Math.max(8,Math.min(11,y*.2))}px ${dt(t,t.catAxisFontFace,`minor`)}`,e.fillStyle=`#444`,e.textBaseline=`middle`;let D=_-h/2,O=_+h/2;for(let n=0;n<l;n++){let r=w(n),i=_+Math.cos(r)*(y+12),a=v+Math.sin(r)*(y+12),o=Math.cos(r)<-.1?`right`:Math.cos(r)>.1?`left`:`center`;e.textAlign=o;let s=o===`right`?i-D:o===`left`?O-i:2*Math.min(O-i,i-D),l=Pe((c[n]??``).toString(),t.catAxisFormatCode,t.date1904);e.fillText(Be(e,l,s),i,a)}let k=t.radarStyle===`filled`,A=Math.max(2,y*.025);for(let n=0;n<t.series.length;n++){let r=t.series[n],i=st(n,r),a=[];for(let e=0;e<l;e++){let t=r.values[e];if(t==null){a.push(null);continue}let n=t/x,i=w(e);a.push([_+Math.cos(i)*y*n,v+Math.sin(i)*y*n])}e.beginPath();let o=!1;for(let t of a){if(t==null){o=!1;continue}o?e.lineTo(t[0],t[1]):(e.moveTo(t[0],t[1]),o=!0)}let s=a.every(e=>e!=null);if(k&&s?(e.closePath(),e.fillStyle=$e(i,.25),e.fill()):s&&e.closePath(),e.strokeStyle=i,e.lineWidth=2,e.stroke(),!k&&r.showMarker!==!1){e.fillStyle=i;for(let t of a)t!=null&&(e.beginPath(),e.arc(t[0],t[1],A,0,Math.PI*2),e.fill())}}Et(e,t,d,i,a,o,s,p,m,h,g,u.title.bandH+2)}function tn(e,t,n,r){let{x:i,y:a,w:o,h:s}=n,c=ue(t,s,r),l=c.fontPx,u=c.topPad,d=Rt(t.catAxisFontSizeHpt,s,r),f=Rt(t.valAxisFontSizeHpt,s,r),p=ae(t,o,s,.22),{legRightW:m,legLeftW:h,legTopH:g,legBottomH:_}=oe(p),v=le(t,o,s,r),y=v.catFontPx,b=v.valFontPx,x=v.catBandH,S=v.valBandW;if(t.title){let n=t.titleManualLayout;n&&(n.x!==void 0||n.y!==void 0)?Wt(e,t,i+n.x*o,a+n.y*s,(n.w??.5)*o,l):Wt(e,t,i,a+u,o,l)}let{plotRect:{px0:C,py0:w,pw:T,ph:E}}=fe(t,i,a,o,s,r,{titleBand:c,legendSideReserveFrac:.22,pad:{t:c.bandH+g+f/2+2,r:m+o*.05,b:(t.catAxisHidden?s*.04:de(d))+x+_,l:(t.valAxisHidden?o*.04:o*.12)+S+h},honorPlotAreaManualLayout:!0});if(T<=0||E<=0)return;t.plotAreaBg&&(e.fillStyle=`#${t.plotAreaBg}`,e.fillRect(C,w,T,E));let D=[],O=[];for(let e of t.series){let t=e.categories??[];for(let e of t){let t=parseFloat(e);isNaN(t)||D.push(t)}for(let t of e.values)t!=null&&O.push(t)}let k=D.length===0;if(k){let e=Math.max(...t.series.map(e=>e.values.length));for(let t=0;t<e;t++)D.push(t)}let A=Math.min(...D),j=Math.max(...D),M=Math.min(...O),N=Math.max(...O);A===j&&(--A,j+=1),M===N&&(--M,N+=1),t.valMin==null?M>0&&(M=0):M=t.valMin,t.valMax!=null&&(N=t.valMax);let{min:P,max:F,step:I}=_e(M,N,t.valMin,t.valMax,void 0,t.valAxisMajorUnit);if(M=P,N=F,t.catAxisMin!=null&&(A=t.catAxisMin),t.catAxisMax!=null&&(j=t.catAxisMax),t.catAxisMin==null||t.catAxisMax==null){let e=pe(j-A);e>0&&(t.catAxisMin??(A=Math.floor(A/e)*e),t.catAxisMax??(j=Math.ceil(j/e)*e))}let L=e=>C+(e-A)/(j-A)*T,R=e=>w+E-(e-M)/(N-M)*E,z=kt(t,r);if(!t.valAxisHidden){let n=Math.max(8,Math.min(11,E/20));e.font=`${t.valAxisFontBold?`bold `:``}${n}px ${dt(t,t.valAxisFontFace,`minor`)}`;let i=Math.round((N-M)/I)+1;for(let n=0;n<i;n++){let i=M+n*I;if(i>N+I*.01)break;let a=R(i);e.strokeStyle=z.color,e.lineWidth=z.width,e.beginPath(),e.moveTo(C,a),e.lineTo(C+T,a),e.stroke(),e.fillStyle=`#555`,e.textAlign=`right`,e.textBaseline=`middle`,e.fillText(Ne(i,t.valAxisFormatCode,t.date1904),C-4,a);let o=t.valAxisLineColor?`#${t.valAxisLineColor}`:void 0;Dt(e,t.valAxisMajorTickMark,`val`,C,a,o,Se(t.valAxisLineWidthEmu,r))}}let B=w+E;if(t.catAxisCrossesAt!=null)B=sn(R(t.catAxisCrossesAt),w,w+E);else{let e=t.catAxisCrosses??`autoZero`;e===`autoZero`&&M<0&&N>0?B=sn(R(0),w,w+E):e===`min`?B=w+E:e===`max`&&(B=w)}if(!t.catAxisHidden&&!t.catAxisLineHidden&&(e.save(),e.strokeStyle=t.catAxisLineColor?`#${t.catAxisLineColor}`:`#888`,e.lineWidth=Se(t.catAxisLineWidthEmu,r),e.lineCap=`butt`,e.beginPath(),e.moveTo(C,B),e.lineTo(C+T,B),e.stroke(),e.restore()),!t.valAxisHidden&&!t.valAxisLineHidden&&(e.save(),e.strokeStyle=t.valAxisLineColor?`#${t.valAxisLineColor}`:`#888`,e.lineWidth=Se(t.valAxisLineWidthEmu,r),e.beginPath(),e.moveTo(C,w),e.lineTo(C,w+E),e.stroke(),e.restore()),!t.catAxisHidden){let n=Math.max(8,Math.min(11,E/20));e.font=`${t.catAxisFontBold?`bold `:``}${n}px ${dt(t,t.catAxisFontFace,`minor`)}`;let i=pe(j-A),a=Math.round((j-A)/i)+1;e.fillStyle=`#555`,e.textAlign=`center`,e.textBaseline=`top`;for(let n=0;n<a;n++){let a=A+n*i;if(a>j+i*.01)break;let o=L(a);e.fillText(Ne(a,t.catAxisFormatCode,t.date1904),o,B+4);let s=t.catAxisLineColor?`#${t.catAxisLineColor}`:void 0;Dt(e,t.catAxisMajorTickMark,`cat`,B,o,s,Se(t.catAxisLineWidthEmu,r))}}let V=t.chartType===`bubble`,H=V?`marker`:t.scatterStyle??`marker`,U=H===`line`||H===`lineMarker`||H===`lineNoMarker`,W=H===`smooth`||H===`smoothMarker`||H===`smoothNoMarker`,G=H===`lineNoMarker`||H===`smoothNoMarker`;for(let n=0;n<t.series.length;n++){let i=t.series[n],a=st(n,i),o=i.categories??[];for(let t of i.errBars??[])rn(e,i,t,o,k,L,R,a);if((U||W)&&i.lineHidden!==!0){let t=[];for(let e=0;e<i.values.length;e++){let n=i.values[e];if(n==null)continue;let r=k?e:parseFloat(o[e]??`0`);isNaN(r)||t.push({x:L(r),y:R(n)})}if(t.length>=2){if(e.save(),e.strokeStyle=i.color?`#${i.color}`:a,e.lineWidth=1.5,e.beginPath(),e.moveTo(t[0].x,t[0].y),W&&t.length>=3)for(let n=0;n<t.length-1;n++){let r=t[n-1]??t[n],i=t[n],a=t[n+1],o=t[n+2]??a,s=i.x+(a.x-r.x)/6,c=i.y+(a.y-r.y)/6,l=a.x-(o.x-i.x)/6,u=a.y-(o.y-i.y)/6;e.bezierCurveTo(s,c,l,u,a.x,a.y)}else for(let n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y);e.stroke(),e.restore()}}if(!(G||i.showMarker===!1||typeof i.markerSymbol==`string`&&i.markerSymbol===`none`)){let t=0;if(V&&i.bubbleSizes&&i.bubbleSizes.length>0){let e=Math.max(0,...i.bubbleSizes.filter(e=>e!=null));e>0&&(t=Math.min(T,E)/Math.max(8,i.values.length*1.6)/Math.sqrt(e))}for(let n=0;n<i.values.length;n++){let s=i.values[n];if(s==null)continue;let c=k?n:parseFloat(o[n]??`0`);if(isNaN(c))continue;let l=(i.dataPointOverrides??[]).find(e=>e.idx===n),u=l?.markerSymbol??i.markerSymbol??`circle`,d=l?.markerSize??i.markerSize??5;if(V&&t>0){let e=i.bubbleSizes?.[n];e!=null&&e>0&&(d=Math.sqrt(e)*t*2/r)}let f=l?.markerFill??l?.color??i.markerFill??a,p=l?.markerLine??i.markerLine??null;nn(e,L(c),R(s),u,d,f,p,r)}}an(e,i,o,k,L,R,E,r,t.date1904,dt(t,t.dataLabelFontFace,`minor`),t.dataLabelPosition??`r`)}Et(e,t,p,i,a,o,s,C,w,T,E,c.bandH+2),_t(e,t,i,a,o,s,C,w,T,E,h,_,y,b)}function nn(e,t,n,r,i,a,o,s){let c=Math.max(2,i*s),l=c/2,u=a.startsWith(`#`)?a:`#${a}`,d=o?o.startsWith(`#`)?o:`#${o}`:null;switch(e.save(),e.fillStyle=u,d&&(e.strokeStyle=d,e.lineWidth=1),r){case`square`:e.fillRect(t-l,n-l,c,c),o&&e.strokeRect(t-l,n-l,c,c);break;case`diamond`:e.beginPath(),e.moveTo(t,n-l),e.lineTo(t+l,n),e.lineTo(t,n+l),e.lineTo(t-l,n),e.closePath(),e.fill(),o&&e.stroke();break;case`triangle`:e.beginPath(),e.moveTo(t,n-l),e.lineTo(t+l,n+l),e.lineTo(t-l,n+l),e.closePath(),e.fill(),o&&e.stroke();break;case`x`:e.strokeStyle=u,e.lineWidth=Math.max(1,c*.18),e.beginPath(),e.moveTo(t-l,n-l),e.lineTo(t+l,n+l),e.moveTo(t-l,n+l),e.lineTo(t+l,n-l),e.stroke();break;case`plus`:e.strokeStyle=u,e.lineWidth=Math.max(1,c*.18),e.beginPath(),e.moveTo(t-l,n),e.lineTo(t+l,n),e.moveTo(t,n-l),e.lineTo(t,n+l),e.stroke();break;case`star`:e.beginPath();for(let r=0;r<10;r++){let i=r%2==0?l:l*.45,a=-Math.PI/2+r*Math.PI/5,o=t+Math.cos(a)*i,s=n+Math.sin(a)*i;r===0?e.moveTo(o,s):e.lineTo(o,s)}e.closePath(),e.fill(),o&&e.stroke();break;case`dot`:e.beginPath(),e.arc(t,n,Math.max(1,c*.25),0,Math.PI*2),e.fill();break;case`dash`:{let r=Math.max(1,c*.25);e.fillRect(t-l,n-r/2,c,r);break}default:e.beginPath(),e.arc(t,n,l,0,Math.PI*2),e.fill(),o&&e.stroke();break}e.restore()}function rn(e,t,n,r,i,a,o,s){e.save(),e.strokeStyle=n.color?`#${n.color}`:s,e.lineWidth=n.lineWidthEmu?Math.max(.5,n.lineWidthEmu/xe):1,e.setLineDash(ln(n.dash));let c=n.barType===`plus`||n.barType===`both`,l=n.barType===`minus`||n.barType===`both`,u=n.dir===`x`,d=e.lineWidth*1.5;for(let s=0;s<t.values.length;s++){let f=t.values[s];if(f==null)continue;let p=i?s:parseFloat(r[s]??`0`);if(isNaN(p))continue;let m=a(p),h=o(f),g=t=>{let r=m,i=h;u?r=a(p+t):i=o(f+t),e.beginPath(),e.moveTo(m,h),e.lineTo(r,i),e.stroke(),n.noEndCap||(e.save(),e.setLineDash([]),e.beginPath(),u?(e.moveTo(r,i-d),e.lineTo(r,i+d)):(e.moveTo(r-d,i),e.lineTo(r+d,i)),e.stroke(),e.restore())};if(c){let e=n.plus[s];e!=null&&g(e)}if(l){let e=n.minus[s];e!=null&&g(-e)}}e.restore()}function an(e,t,n,r,i,a,o,s,c=!1,l=`sans-serif`,u=`r`){let d=t.dataLabelOverrides??[];if(d.length===0&&!t.seriesDataLabels)return;let f=t.seriesDataLabels;for(let p=0;p<t.values.length;p++){let m=t.values[p];if(m==null)continue;let h=r?p:parseFloat(n[p]??`0`);if(isNaN(h))continue;let g=d.find(e=>e.idx===p);if(g?.deleted)continue;let _=g?.showCatName??f?.showCatName,v=g?.showSerName??f?.showSerName,y=g?.showVal??f?.showVal,b;if(g?.text)b=g.text;else if(y||v||_){let e=[];if(_&&!r&&e.push(n[p]??``),v&&e.push(t.name),y&&e.push(Ne(m,f?.formatCode??null,c)),b=e.filter(Boolean).join(` `),!b)continue}else continue;let x=g?.position??f?.position??u,S=g?.fontSizeHpt??f?.fontSizeHpt,C=S?S/100*s:Math.max(9,Math.min(11,o/25)),w=g?.fontColor??f?.fontColor,T=g?.fontBold??f?.fontBold??!1;on(e,i(h),a(m),b,x,C,w,T,l)}}function on(e,t,n,r,i,a,o,s,c=`sans-serif`,l=0){e.save(),e.font=`${s?`bold `:``}${a}px ${c}`,e.fillStyle=o?`#${o}`:`#333`;let u=a*.6+l,d=t,f=n;switch(i){case`l`:e.textAlign=`right`,e.textBaseline=`middle`,d=t-u;break;case`r`:e.textAlign=`left`,e.textBaseline=`middle`,d=t+u;break;case`t`:e.textAlign=`center`,e.textBaseline=`bottom`,f=n-u;break;case`b`:e.textAlign=`center`,e.textBaseline=`top`,f=n+u;break;case`ctr`:e.textAlign=`center`,e.textBaseline=`middle`;break;default:e.textAlign=`left`,e.textBaseline=`middle`,d=t+u;break}let p=r.split(/\\r?\\n/),m=a*1.15,h=m*p.length,g=f;e.textBaseline===`middle`?g=f-(h-m)/2:e.textBaseline===`bottom`&&(g=f-(h-m));for(let t of p)e.fillText(t,d,g),g+=m;e.restore()}function sn(e,t,n){return e<t?t:e>n?n:e}function cn(e,t,n){if(t.length!==0)if(n&&t.length>=3)for(let n=0;n<t.length-1;n++){let r=t[n-1]??t[n],i=t[n],a=t[n+1],o=t[n+2]??a,s=i.x+(a.x-r.x)/6,c=i.y+(a.y-r.y)/6,l=a.x-(o.x-i.x)/6,u=a.y-(o.y-i.y)/6;e.bezierCurveTo(s,c,l,u,a.x,a.y)}else for(let n=1;n<t.length;n++)e.lineTo(t[n].x,t[n].y)}function ln(e){if(!e)return[];switch(e){case`solid`:return[];case`dot`:case`sysDot`:return[1,2];case`dash`:case`sysDash`:return[4,2];case`lgDash`:return[8,3];case`dashDot`:case`sysDashDot`:return[4,2,1,2];case`lgDashDot`:return[8,3,1,3];case`dashDotDot`:case`sysDashDotDot`:case`lgDashDotDot`:return[4,2,1,2,1,2];default:return[]}}function un(e){return e.markerSymbol!=null||e.markerSize!=null||e.markerFill!=null||e.markerLine!=null||e.dataPointOverrides!=null&&e.dataPointOverrides.length>0}function dn(e,t,n,r,i,a,o,s){if(n.dir===`x`)return;let c=n.barType===`plus`||n.barType===`both`,l=n.barType===`minus`||n.barType===`both`;e.save(),e.strokeStyle=n.color?`#${n.color}`:s,e.lineWidth=n.lineWidthEmu?Math.max(.5,n.lineWidthEmu/xe):1,e.setLineDash(ln(n.dash));let u=e.lineWidth*1.5;for(let s=0;s<r;s++){if(t.values[s]==null)continue;let r=o(s),d=i(s),f=a(r),p=t=>{let i=a(r+t);e.beginPath(),e.moveTo(d,f),e.lineTo(d,i),e.stroke(),n.noEndCap||(e.save(),e.setLineDash([]),e.beginPath(),e.moveTo(d-u,i),e.lineTo(d+u,i),e.stroke(),e.restore())};if(c){let e=n.plus[s];e!=null&&p(e)}if(l){let e=n.minus[s];e!=null&&p(-e)}}e.restore()}function fn(e,t,n,r,i,a,o,s,c,l,u,d=`sans-serif`,f=`t`){let p=t.dataLabelOverrides??[],m=t.seriesDataLabels;if(p.length===0&&!m)return!1;for(let h=0;h<r;h++){if(t.values[h]==null&&!u)continue;let r=o(h),g=p.find(e=>e.idx===h);if(g?.deleted)continue;let _=g?.showCatName??m?.showCatName,v=g?.showSerName??m?.showSerName,y=g?.showVal??m?.showVal,b;if(g?.text)b=g.text;else if(y||v||_){let e=[];if(_&&e.push(n[h]??``),v&&e.push(t.name),y&&e.push(Ne(r,m?.formatCode??null,l)),b=e.filter(Boolean).join(` `),!b)continue}else continue;let x=g?.position??m?.position??f,S=g?.fontSizeHpt??m?.fontSizeHpt,C=S?S/100*c:Math.max(9,Math.min(11,s/25)),w=g?.fontColor??m?.fontColor,T=g?.fontBold??m?.fontBold??!1;on(e,i(h),a(r),b,x,C,w,T,d)}return!0}function pn(e,t,n){let{x:r,y:i,w:a,h:o}=n,s=t.plotAreaManualLayout,c,l,u,d;if(s&&s.w!=null&&s.h!=null)c=r+s.x*a,l=i+s.y*o,u=s.w*a,d=s.h*o;else{let e=t.valAxisHidden?a*.01:a*.11,n=a*.01,s=o*.12,f=o*.14;c=r+e,l=i+s,u=a-e-n,d=o-s-f}let f=t.series[0]?.values??[],p=t.categories,m=p.length;if(m===0)return;let h=new Set(t.subtotalIndices),g=0,_=[];for(let e=0;e<m;e++){let t=f[e]??0;if(e===0||h.has(e))_.push({start:0,end:t,isSub:!0,isPos:!0}),g=t;else{let e=t>=0?g:g+t,n=t>=0?g+t:g;_.push({start:e,end:n,isSub:!1,isPos:t>=0}),g+=t}}let v=_.map(e=>e.end),y=_.map(e=>e.start),b=Math.max(...v,...y),x=Math.min(...y,0),S=b-x;if(S<=0)return;let C=x<0?x-S*.05:0,w=(b-C)*1.1,T=C+w,E=pe(w);e.save();let D=Math.round(o*.042);if(e.font=`${D}px ${dt(t,t.valAxisFontFace,`minor`)}`,!t.valAxisHidden){e.strokeStyle=`#e8e8e8`,e.lineWidth=.7,e.fillStyle=`#666`,e.textAlign=`right`,e.textBaseline=`middle`;for(let n=Math.ceil(C/E)*E;n<=T;n+=E){let r=l+d*(1-(n-C)/w);e.beginPath(),e.moveTo(c,r),e.lineTo(c+u,r),e.stroke(),e.fillText(Ne(n,t.valAxisFormatCode,t.date1904),c-4,r)}}let O=!t.valAxisHidden&&!t.valAxisLineHidden,k=!t.catAxisHidden&&!t.catAxisLineHidden;(O||k)&&(e.strokeStyle=`#bbb`,e.lineWidth=1,e.beginPath(),O?(e.moveTo(c,l),e.lineTo(c,l+d),k&&e.lineTo(c+u,l+d)):k&&(e.moveTo(c,l+d),e.lineTo(c+u,l+d)),e.stroke());let A=u/m,j=A/(1+(t.barGapWidth??150)/100);_.forEach((n,r)=>{let i=c+A*r+(A-j)/2,a=l+d*(1-(n.end-C)/w),s=l+d*(1-(n.start-C)/w),u=Math.max(1,s-a);if(n.isSub?(e.fillStyle=`#196ECA`,e.fillRect(i,a,j,u)):(e.strokeStyle=n.isPos?`#5BA4E6`:`#E46970`,e.lineWidth=1.5,e.strokeRect(i+.75,a+.75,j-1.5,u-1.5)),r<m-1){let t=c+A*(r+1)+(A-j)/2,o=n.isPos?a:s;e.strokeStyle=`#ccc`,e.lineWidth=.8,e.setLineDash([3,3]),e.beginPath(),e.moveTo(i+j,o),e.lineTo(t,o),e.stroke(),e.setLineDash([])}let p=f[r]??0,h=t.dataLabelFormatCode??t.series[0]?.valFormatCode??null,g=p<0?`△ ${Ne(Math.abs(p),h,t.date1904)}`:Ne(p,h,t.date1904),_=t.series[0]?.dataLabelColors?.[r]??null;e.fillStyle=_?`#${_}`:t.dataLabelFontColor?`#${t.dataLabelFontColor}`:`#595959`,e.font=`bold ${Math.round(o*.044)}px ${dt(t,t.dataLabelFontFace,`minor`)}`,e.textAlign=`center`,p<0?(e.textBaseline=`top`,e.fillText(g,i+j/2,s+3)):(e.textBaseline=`bottom`,e.fillText(g,i+j/2,a-3))}),e.textAlign=`center`,e.textBaseline=`top`,e.fillStyle=`#666`,e.font=`${Math.round(o*.038)}px ${dt(t,t.catAxisFontFace,`minor`)}`;let M=l+d+4;for(let n=0;n<m;n++){let r=c+A*n+A/2;Pe(p[n],t.catAxisFormatCode,t.date1904).split(/\\s+/).forEach((t,n)=>e.fillText(t,r,M+n*(D+2)))}e.restore()}function mn(e,t,n){let r=e.length;if(r===0)return 0;if(r===1)return e[0];let i;n===`inclusive`?i=t*(r-1)+1:(i=t*(r+1),i<1&&(i=1),i>r&&(i=r));let a=Math.floor(i),o=i-a;return a>=r?e[r-1]:e[a-1]+o*(e[a]-e[a-1])}function hn(e,t){if(e.length===0)return null;let n=[...e].sort((e,t)=>e-t),r=mn(n,.25,t),i=mn(n,.5,t),a=mn(n,.75,t),o=a-r,s=r-1.5*o,c=a+1.5*o,l=[],u=[];for(let e of n)e<s||e>c?u.push(e):l.push(e);return{q1:r,median:i,q3:a,whiskerLo:l.length?l[0]:n[0],whiskerHi:l.length?l[l.length-1]:n[n.length-1],mean:e.reduce((e,t)=>e+t,0)/e.length,outliers:u,inner:l}}function gn(e,t,n,r){let i=t.chartexBox;if(!i||i.categories.length===0||i.series.length===0)return;let{x:a,y:o,w:s,h:c}=n,l=ue(t,c,r),u=Rt(t.catAxisFontSizeHpt,c,r),d=Rt(t.valAxisFontSizeHpt,c,r),f=fe(t,a,o,s,c,r,{titleBand:l,legendSideReserveFrac:0,pad:{t:l.bandH+d/2+2,r:s*.02,b:t.catAxisHidden?c*.02:de(u),l:t.valAxisHidden?s*.02:s*.1}});Wt(e,t,a,o+f.title.topPad,s,f.title.fontPx);let{px0:p,py0:m,pw:h,ph:g}=f.plotRect,_=i.categories,v=_.length,y=i.series.length,b=1/0,x=-1/0;for(let e of i.series)for(let t of e.valuesByCategory)for(let e of t)e<b&&(b=e),e>x&&(x=e);if(!isFinite(b)||!isFinite(x))return;let{min:S,max:C,step:w}=_e(b,x,t.valMin,t.valMax,g/r,t.valAxisMajorUnit),T=C-S||1,E=e=>m+g*(1-(e-S)/T),D=dt(t,t.valAxisFontFace,`minor`),O=Rt(t.valAxisFontSizeHpt,c,r);if(e.save(),!t.valAxisHidden){e.font=`${O}px ${D}`,e.textAlign=`right`,e.textBaseline=`middle`;for(let n=S;n<=C+1e-6;n+=w){let r=E(n);e.strokeStyle=`#e6e6e6`,e.lineWidth=1,e.beginPath(),e.moveTo(p,r),e.lineTo(p+h,r),e.stroke(),e.fillStyle=t.valAxisFontColor?`#${t.valAxisFontColor}`:`#595959`,e.fillText(Ne(n,t.valAxisFormatCode,t.date1904),p-4,r)}}!t.catAxisHidden&&!t.catAxisLineHidden&&(e.strokeStyle=`#bfbfbf`,e.lineWidth=1,e.beginPath(),e.moveTo(p,m+g),e.lineTo(p+h,m+g),e.stroke());let k=h/v,A=k/(1+(t.barGapWidth??150)/100),j=A*.06,M=(A-j*(y-1))/y,N=e=>{let n=t.chartexAccents?.[e%(t.chartexAccents?.length??1)];return`#${i.series[e].color??n??ot[e%ot.length]}`},P=Rt(t.catAxisFontSizeHpt,c,r);for(let n=0;n<v;n++){let r=p+k*n+(k-A)/2;for(let t=0;t<y;t++){let a=i.series[t],o=hn(a.valuesByCategory[n]??[],a.quartileMethod);if(!o)continue;let s=r+t*(M+j),c=s+M/2,l=N(t),u=lt(l,.8),d=E(o.q1),f=E(o.q3),p=Math.min(d,f),m=Math.max(1,Math.abs(d-f)),h=M*.4;e.strokeStyle=u,e.lineWidth=1,e.beginPath(),e.moveTo(c,E(o.whiskerHi)),e.lineTo(c,f),e.moveTo(c,d),e.lineTo(c,E(o.whiskerLo)),e.moveTo(c-h/2,E(o.whiskerHi)),e.lineTo(c+h/2,E(o.whiskerHi)),e.moveTo(c-h/2,E(o.whiskerLo)),e.lineTo(c+h/2,E(o.whiskerLo)),e.stroke(),e.fillStyle=l,e.fillRect(s,p,M,m),e.strokeStyle=u,e.lineWidth=.75,e.strokeRect(s+.375,p+.375,M-.75,m-.75);let g=E(o.median);if(e.strokeStyle=u,e.lineWidth=1,e.beginPath(),e.moveTo(s,g),e.lineTo(s+M,g),e.stroke(),a.meanMarker){let t=E(o.mean),n=Math.max(2,M*.14);e.strokeStyle=u,e.lineWidth=1,e.beginPath(),e.moveTo(c-n,t-n),e.lineTo(c+n,t+n),e.moveTo(c+n,t-n),e.lineTo(c-n,t+n),e.stroke()}if(a.showOutliers){e.fillStyle=l;let t=Math.max(1.5,M*.06);for(let n of o.outliers)e.beginPath(),e.arc(c,E(n),t,0,Math.PI*2),e.fill()}}if(!t.catAxisHidden){e.font=`${P}px ${dt(t,t.catAxisFontFace,`minor`)}`,e.fillStyle=t.catAxisFontColor?`#${t.catAxisFontColor}`:`#595959`,e.textAlign=`center`,e.textBaseline=`top`;let r=_[n],i=p+k*n+k/2;e.fillText(r,i,m+g+4)}}e.restore()}function _n(e){let t={label:``,value:0,depth:-1,children:[],branchIndex:-1,a0:0,a1:0};for(let n of e){let e=t;for(let t=0;t<n.path.length;t++){let r=n.path[t],i=e.children.find(e=>e.label===r);i||(i={label:r,value:0,depth:t,children:[],branchIndex:t===0?e.children.length:e.branchIndex,a0:0,a1:0},e.children.push(i)),i.value+=n.size,e=i}}return t.value=t.children.reduce((e,t)=>e+t.value,0),t}function vn(e){let t=e.children.reduce((e,t)=>e+t.value,0);if(t<=0)return;let n=e.a0;for(let r of e.children){let i=(e.a1-e.a0)*r.value/t;r.a0=n,r.a1=n+i,n=r.a1,vn(r)}}function yn(e){return e.children.length===0?e.depth:Math.max(...e.children.map(yn))}function bn(e,t,n,r){let i=t.chartexSunburst;if(!i||i.rows.length===0)return;let{x:a,y:o,w:s,h:c}=n,l=fe(t,a,o,s,c,r,{titleTopPadFrac:.035,titleBottomPadFrac:.035,legendSideReserveFrac:0,radialGapFrac:.02});Wt(e,t,a,o+l.title.topPad,s,l.title.fontPx);let{px0:u,py0:d,pw:f,ph:p}=l.plotRect,m=u+f/2,h=d+p/2,g=Math.min(f,p)*.46,_=_n(i.rows);if(_.value<=0||_.children.length===0)return;_.a0=-Math.PI/2,_.a1=-Math.PI/2+Math.PI*2,vn(_);let v=yn(_)+1,y=g*.18,b=(g-y)/v,x=t.chartexAccents,S=e=>`#${x?.[e%x.length]??ot[e%ot.length]}`,C=dt(t,t.dataLabelFontFace,`minor`),w=Math.max(7,Math.min(13,g*.075)),T=Array.from({length:v},()=>[]),E=e=>{e.depth>=0&&T[e.depth].push(e),e.children.forEach(E)};E(_),e.save();for(let t=0;t<v;t++){let n=y+t*b,r=n+b;for(let i of T[t]){let t=i.a1-i.a0;if(t<=1e-4)continue;e.beginPath(),e.arc(m,h,r,i.a0,i.a1),e.arc(m,h,n,i.a1,i.a0,!0),e.closePath(),e.fillStyle=S(i.branchIndex),e.fill(),e.strokeStyle=`#ffffff`,e.lineWidth=1,e.stroke();let a=(i.a0+i.a1)/2,o=(n+r)/2,s=b-4,c=t*o;if(s<w*.9&&c<w*.9)continue;e.save(),e.translate(m+Math.cos(a)*o,h+Math.sin(a)*o);let l=a+Math.PI/2,u=l*180/Math.PI%360;u>90&&u<270&&(l+=Math.PI),e.rotate(l),e.font=`${w}px ${C}`,e.fillStyle=`#ffffff`,e.textAlign=`center`,e.textBaseline=`middle`;let d=i.label.split(/\\s+/).filter(Boolean),f=c-2,p=[],g=``;for(let t of d){let n=g?`${g} ${t}`:t;e.measureText(n).width<=f||!g?g=n:(p.push(g),g=t)}g&&p.push(g);let _=w*1.05,v=Math.max(1,Math.floor(s/_)),y=p.slice(0,v).map(t=>Be(e,t,f)),x=y.length*_;y.forEach((t,n)=>{t!==``&&e.fillText(t,0,-x/2+_/2+n*_)}),e.restore()}}e.restore()}function xn(e,t,n,r=1.3333333333333333){e.save();try{let{x:i,y:a,w:o,h:s}=n;if(t.chartBg&&(e.fillStyle=`#${t.chartBg}`,e.fillRect(i,a,o,s)),t.chartBorderColor){e.save(),e.strokeStyle=`#${t.chartBorderColor}`,e.lineWidth=t.chartBorderWidthEmu?Math.max(.5,t.chartBorderWidthEmu/xe)*r:1;let n=e.lineWidth;e.strokeRect(i+n/2,a+n/2,o-n,s-n),e.restore()}let c=t.chartexBox!=null||t.chartexSunburst!=null;if(t.series.length===0&&!c){e.fillStyle=`#888`,e.font=`12px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`(no data)`,i+o/2,a+s/2);return}switch(t.chartType){case`clusteredBar`:case`clusteredBarH`:case`stackedBar`:case`stackedBarH`:case`stackedBarPct`:case`stackedBarHPct`:qt(e,t,n,r);break;case`line`:case`stackedLine`:case`stackedLinePct`:Jt(e,t,n,r);break;case`area`:case`stackedArea`:case`stackedAreaPct`:Xt(e,t,n,r);break;case`pie`:Zt(e,t,n,!1,r);break;case`doughnut`:Zt(e,t,n,!0,r);break;case`radar`:en(e,t,n,r);break;case`scatter`:case`bubble`:tn(e,t,n,r);break;case`waterfall`:pn(e,t,n);break;case`stock`:Yt(e,t,n,r);break;case`boxWhisker`:gn(e,t,n,r);break;case`sunburst`:bn(e,t,n,r);break;default:e.fillStyle=`#888`,e.font=`11px sans-serif`,e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(`Chart: ${t.chartType}`,i+o/2,a+s/2)}}finally{e.restore()}}function Sn(e,t,n,r,i,a){for(let o of t){let t=0,s=0;for(let c of o)switch(c.cmd){case`moveTo`:e.moveTo(n+c.x*i,r+c.y*a),t=c.x,s=c.y;break;case`lineTo`:e.lineTo(n+c.x*i,r+c.y*a),t=c.x,s=c.y;break;case`cubicBezTo`:e.bezierCurveTo(n+c.x1*i,r+c.y1*a,n+c.x2*i,r+c.y2*a,n+c.x*i,r+c.y*a),t=c.x,s=c.y;break;case`arcTo`:{let o=c.wr*i,l=c.hr*a;if(o<=0||l<=0)break;let u=c.stAng*Math.PI/180,d=c.swAng*Math.PI/180,f=n+t*i,p=r+s*a,m=f-o*Math.cos(u),h=p-l*Math.sin(u),g=u+d;e.ellipse(m,h,o,l,0,u,g,d<0),t=(m+o*Math.cos(g)-n)/i,s=(h+l*Math.sin(g)-r)/a;break}case`close`:e.closePath();break}}}var Cn={accentbordercallout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},accentbordercallout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},accentbordercallout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},accentcallout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},accentcallout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},accentcallout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`t`],[`c`],[`l`,`x1`,`b`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},actionbuttonbackprevious:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonbeginning:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 8`],[`g15`,`*/ g13 1 4`],[`g16`,`+- g11 g14 0`],[`g17`,`+- g11 g15 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g17`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`],[`m`,`g16`,`g9`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`l`,`g16`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g17`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`],[`m`,`g16`,`g9`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`l`,`g16`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g17`,`vc`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`c`],[`m`,`g16`,`g9`],[`l`,`g16`,`g10`],[`l`,`g11`,`g10`],[`l`,`g11`,`g9`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonblank:{adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttondocument:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`dx1`,`*/ ss 9 32`],[`g11`,`+- hc 0 dx1`],[`g12`,`+- hc dx1 0`],[`g13`,`*/ ss 3 16`],[`g14`,`+- g12 0 g13`],[`g15`,`+- g9 g13 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`g9`],[`l`,`g14`,`g9`],[`l`,`g12`,`g15`],[`l`,`g12`,`g10`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`g9`],[`l`,`g14`,`g9`],[`l`,`g14`,`g15`],[`l`,`g12`,`g15`],[`l`,`g12`,`g10`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g14`,`g9`],[`l`,`g14`,`g15`],[`l`,`g12`,`g15`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`g9`],[`l`,`g14`,`g9`],[`l`,`g12`,`g15`],[`l`,`g12`,`g10`],[`l`,`g11`,`g10`],[`c`],[`m`,`g12`,`g15`],[`l`,`g14`,`g15`],[`l`,`g14`,`g9`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonend:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 3 4`],[`g15`,`*/ g13 7 8`],[`g16`,`+- g11 g14 0`],[`g17`,`+- g11 g15 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g16`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`],[`m`,`g17`,`g9`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`l`,`g17`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g16`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`],[`m`,`g17`,`g9`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`l`,`g17`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g16`,`vc`],[`l`,`g11`,`g10`],[`l`,`g11`,`g9`],[`c`],[`m`,`g17`,`g9`],[`l`,`g12`,`g9`],[`l`,`g12`,`g10`],[`l`,`g17`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonforwardnext:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g12`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g12`,`vc`],[`l`,`g11`,`g9`],[`l`,`g11`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g12`,`vc`],[`l`,`g11`,`g10`],[`l`,`g11`,`g9`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonhelp:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g11`,`+- hc 0 dx2`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 7`],[`g15`,`*/ g13 3 14`],[`g16`,`*/ g13 2 7`],[`g19`,`*/ g13 3 7`],[`g20`,`*/ g13 4 7`],[`g21`,`*/ g13 17 28`],[`g23`,`*/ g13 21 28`],[`g24`,`*/ g13 11 14`],[`g27`,`+- g9 g16 0`],[`g29`,`+- g9 g21 0`],[`g30`,`+- g9 g23 0`],[`g31`,`+- g9 g24 0`],[`g33`,`+- g11 g15 0`],[`g36`,`+- g11 g19 0`],[`g37`,`+- g11 g20 0`],[`g41`,`*/ g13 1 14`],[`g42`,`*/ g13 3 28`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g33`,`g27`],[`a`,`g16`,`g16`,`cd2`,`cd2`],[`a`,`g14`,`g15`,`0`,`cd4`],[`a`,`g41`,`g42`,`3cd4`,`-5400000`],[`l`,`g37`,`g30`],[`l`,`g36`,`g30`],[`l`,`g36`,`g29`],[`a`,`g14`,`g15`,`cd2`,`cd4`],[`a`,`g41`,`g42`,`cd4`,`-5400000`],[`a`,`g14`,`g14`,`0`,`-10800000`],[`c`],[`m`,`hc`,`g31`],[`a`,`g42`,`g42`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g33`,`g27`],[`a`,`g16`,`g16`,`cd2`,`cd2`],[`a`,`g14`,`g15`,`0`,`cd4`],[`a`,`g41`,`g42`,`3cd4`,`-5400000`],[`l`,`g37`,`g30`],[`l`,`g36`,`g30`],[`l`,`g36`,`g29`],[`a`,`g14`,`g15`,`cd2`,`cd4`],[`a`,`g41`,`g42`,`cd4`,`-5400000`],[`a`,`g14`,`g14`,`0`,`-10800000`],[`c`],[`m`,`hc`,`g31`],[`a`,`g42`,`g42`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g33`,`g27`],[`a`,`g16`,`g16`,`cd2`,`cd2`],[`a`,`g14`,`g15`,`0`,`cd4`],[`a`,`g41`,`g42`,`3cd4`,`-5400000`],[`l`,`g37`,`g30`],[`l`,`g36`,`g30`],[`l`,`g36`,`g29`],[`a`,`g14`,`g15`,`cd2`,`cd4`],[`a`,`g41`,`g42`,`cd4`,`-5400000`],[`a`,`g14`,`g14`,`0`,`-10800000`],[`c`],[`m`,`hc`,`g31`],[`a`,`g42`,`g42`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonhome:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 16`],[`g15`,`*/ g13 1 8`],[`g16`,`*/ g13 3 16`],[`g17`,`*/ g13 5 16`],[`g18`,`*/ g13 7 16`],[`g19`,`*/ g13 9 16`],[`g20`,`*/ g13 11 16`],[`g21`,`*/ g13 3 4`],[`g22`,`*/ g13 13 16`],[`g23`,`*/ g13 7 8`],[`g24`,`+- g9 g14 0`],[`g25`,`+- g9 g16 0`],[`g26`,`+- g9 g17 0`],[`g27`,`+- g9 g21 0`],[`g28`,`+- g11 g15 0`],[`g29`,`+- g11 g18 0`],[`g30`,`+- g11 g19 0`],[`g31`,`+- g11 g20 0`],[`g32`,`+- g11 g22 0`],[`g33`,`+- g11 g23 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`hc`,`g9`],[`l`,`g11`,`vc`],[`l`,`g28`,`vc`],[`l`,`g28`,`g10`],[`l`,`g33`,`g10`],[`l`,`g33`,`vc`],[`l`,`g12`,`vc`],[`l`,`g32`,`g26`],[`l`,`g32`,`g24`],[`l`,`g31`,`g24`],[`l`,`g31`,`g25`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g32`,`g26`],[`l`,`g32`,`g24`],[`l`,`g31`,`g24`],[`l`,`g31`,`g25`],[`c`],[`m`,`g28`,`vc`],[`l`,`g28`,`g10`],[`l`,`g29`,`g10`],[`l`,`g29`,`g27`],[`l`,`g30`,`g27`],[`l`,`g30`,`g10`],[`l`,`g33`,`g10`],[`l`,`g33`,`vc`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`l`,`g11`,`vc`],[`l`,`g12`,`vc`],[`c`],[`m`,`g29`,`g27`],[`l`,`g30`,`g27`],[`l`,`g30`,`g10`],[`l`,`g29`,`g10`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`l`,`g31`,`g25`],[`l`,`g31`,`g24`],[`l`,`g32`,`g24`],[`l`,`g32`,`g26`],[`l`,`g12`,`vc`],[`l`,`g33`,`vc`],[`l`,`g33`,`g10`],[`l`,`g28`,`g10`],[`l`,`g28`,`vc`],[`l`,`g11`,`vc`],[`c`],[`m`,`g31`,`g25`],[`l`,`g32`,`g26`],[`m`,`g33`,`vc`],[`l`,`g28`,`vc`],[`m`,`g29`,`g10`],[`l`,`g29`,`g27`],[`l`,`g30`,`g27`],[`l`,`g30`,`g10`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttoninformation:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g11`,`+- hc 0 dx2`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 32`],[`g17`,`*/ g13 5 16`],[`g18`,`*/ g13 3 8`],[`g19`,`*/ g13 13 32`],[`g20`,`*/ g13 19 32`],[`g22`,`*/ g13 11 16`],[`g23`,`*/ g13 13 16`],[`g24`,`*/ g13 7 8`],[`g25`,`+- g9 g14 0`],[`g28`,`+- g9 g17 0`],[`g29`,`+- g9 g18 0`],[`g30`,`+- g9 g23 0`],[`g31`,`+- g9 g24 0`],[`g32`,`+- g11 g17 0`],[`g34`,`+- g11 g19 0`],[`g35`,`+- g11 g20 0`],[`g37`,`+- g11 g22 0`],[`g38`,`*/ g13 3 32`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`hc`,`g9`],[`a`,`dx2`,`dx2`,`3cd4`,`21600000`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`a`,`dx2`,`dx2`,`3cd4`,`21600000`],[`c`],[`m`,`hc`,`g25`],[`a`,`g38`,`g38`,`3cd4`,`21600000`],[`m`,`g32`,`g28`],[`l`,`g32`,`g29`],[`l`,`g34`,`g29`],[`l`,`g34`,`g30`],[`l`,`g32`,`g30`],[`l`,`g32`,`g31`],[`l`,`g37`,`g31`],[`l`,`g37`,`g30`],[`l`,`g35`,`g30`],[`l`,`g35`,`g28`],[`c`]]},{w:null,h:null,fill:`lighten`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`hc`,`g25`],[`a`,`g38`,`g38`,`3cd4`,`21600000`],[`m`,`g32`,`g28`],[`l`,`g35`,`g28`],[`l`,`g35`,`g30`],[`l`,`g37`,`g30`],[`l`,`g37`,`g31`],[`l`,`g32`,`g31`],[`l`,`g32`,`g30`],[`l`,`g34`,`g30`],[`l`,`g34`,`g29`],[`l`,`g32`,`g29`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`hc`,`g9`],[`a`,`dx2`,`dx2`,`3cd4`,`21600000`],[`c`],[`m`,`hc`,`g25`],[`a`,`g38`,`g38`,`3cd4`,`21600000`],[`m`,`g32`,`g28`],[`l`,`g35`,`g28`],[`l`,`g35`,`g30`],[`l`,`g37`,`g30`],[`l`,`g37`,`g31`],[`l`,`g32`,`g31`],[`l`,`g32`,`g30`],[`l`,`g34`,`g30`],[`l`,`g34`,`g29`],[`l`,`g32`,`g29`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonmovie:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1455 21600`],[`g15`,`*/ g13 1905 21600`],[`g16`,`*/ g13 2325 21600`],[`g17`,`*/ g13 16155 21600`],[`g18`,`*/ g13 17010 21600`],[`g19`,`*/ g13 19335 21600`],[`g20`,`*/ g13 19725 21600`],[`g21`,`*/ g13 20595 21600`],[`g22`,`*/ g13 5280 21600`],[`g23`,`*/ g13 5730 21600`],[`g24`,`*/ g13 6630 21600`],[`g25`,`*/ g13 7492 21600`],[`g26`,`*/ g13 9067 21600`],[`g27`,`*/ g13 9555 21600`],[`g28`,`*/ g13 13342 21600`],[`g29`,`*/ g13 14580 21600`],[`g30`,`*/ g13 15592 21600`],[`g31`,`+- g11 g14 0`],[`g32`,`+- g11 g15 0`],[`g33`,`+- g11 g16 0`],[`g34`,`+- g11 g17 0`],[`g35`,`+- g11 g18 0`],[`g36`,`+- g11 g19 0`],[`g37`,`+- g11 g20 0`],[`g38`,`+- g11 g21 0`],[`g39`,`+- g9 g22 0`],[`g40`,`+- g9 g23 0`],[`g41`,`+- g9 g24 0`],[`g42`,`+- g9 g25 0`],[`g43`,`+- g9 g26 0`],[`g44`,`+- g9 g27 0`],[`g45`,`+- g9 g28 0`],[`g46`,`+- g9 g29 0`],[`g47`,`+- g9 g30 0`],[`g48`,`+- g9 g31 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`g39`],[`l`,`g11`,`g44`],[`l`,`g31`,`g44`],[`l`,`g32`,`g43`],[`l`,`g33`,`g43`],[`l`,`g33`,`g47`],[`l`,`g35`,`g47`],[`l`,`g35`,`g45`],[`l`,`g36`,`g45`],[`l`,`g38`,`g46`],[`l`,`g12`,`g46`],[`l`,`g12`,`g41`],[`l`,`g38`,`g41`],[`l`,`g37`,`g42`],[`l`,`g35`,`g42`],[`l`,`g35`,`g41`],[`l`,`g34`,`g40`],[`l`,`g32`,`g40`],[`l`,`g31`,`g39`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`g39`],[`l`,`g11`,`g44`],[`l`,`g31`,`g44`],[`l`,`g32`,`g43`],[`l`,`g33`,`g43`],[`l`,`g33`,`g47`],[`l`,`g35`,`g47`],[`l`,`g35`,`g45`],[`l`,`g36`,`g45`],[`l`,`g38`,`g46`],[`l`,`g12`,`g46`],[`l`,`g12`,`g41`],[`l`,`g38`,`g41`],[`l`,`g37`,`g42`],[`l`,`g35`,`g42`],[`l`,`g35`,`g41`],[`l`,`g34`,`g40`],[`l`,`g32`,`g40`],[`l`,`g31`,`g39`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`g39`],[`l`,`g31`,`g39`],[`l`,`g32`,`g40`],[`l`,`g34`,`g40`],[`l`,`g35`,`g41`],[`l`,`g35`,`g42`],[`l`,`g37`,`g42`],[`l`,`g38`,`g41`],[`l`,`g12`,`g41`],[`l`,`g12`,`g46`],[`l`,`g38`,`g46`],[`l`,`g36`,`g45`],[`l`,`g35`,`g45`],[`l`,`g35`,`g47`],[`l`,`g33`,`g47`],[`l`,`g33`,`g43`],[`l`,`g32`,`g43`],[`l`,`g31`,`g44`],[`l`,`g11`,`g44`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonreturn:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 7 8`],[`g15`,`*/ g13 3 4`],[`g16`,`*/ g13 5 8`],[`g17`,`*/ g13 3 8`],[`g18`,`*/ g13 1 4`],[`g19`,`+- g9 g15 0`],[`g20`,`+- g9 g16 0`],[`g21`,`+- g9 g18 0`],[`g22`,`+- g11 g14 0`],[`g23`,`+- g11 g15 0`],[`g24`,`+- g11 g16 0`],[`g25`,`+- g11 g17 0`],[`g26`,`+- g11 g18 0`],[`g27`,`*/ g13 1 8`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g12`,`g21`],[`l`,`g23`,`g9`],[`l`,`hc`,`g21`],[`l`,`g24`,`g21`],[`l`,`g24`,`g20`],[`a`,`g27`,`g27`,`0`,`cd4`],[`l`,`g25`,`g19`],[`a`,`g27`,`g27`,`cd4`,`cd4`],[`l`,`g26`,`g21`],[`l`,`g11`,`g21`],[`l`,`g11`,`g20`],[`a`,`g17`,`g17`,`cd2`,`-5400000`],[`l`,`hc`,`g10`],[`a`,`g17`,`g17`,`cd4`,`-5400000`],[`l`,`g22`,`g21`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g12`,`g21`],[`l`,`g23`,`g9`],[`l`,`hc`,`g21`],[`l`,`g24`,`g21`],[`l`,`g24`,`g20`],[`a`,`g27`,`g27`,`0`,`cd4`],[`l`,`g25`,`g19`],[`a`,`g27`,`g27`,`cd4`,`cd4`],[`l`,`g26`,`g21`],[`l`,`g11`,`g21`],[`l`,`g11`,`g20`],[`a`,`g17`,`g17`,`cd2`,`-5400000`],[`l`,`hc`,`g10`],[`a`,`g17`,`g17`,`cd4`,`-5400000`],[`l`,`g22`,`g21`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g12`,`g21`],[`l`,`g22`,`g21`],[`l`,`g22`,`g20`],[`a`,`g17`,`g17`,`0`,`cd4`],[`l`,`g25`,`g10`],[`a`,`g17`,`g17`,`cd4`,`cd4`],[`l`,`g11`,`g21`],[`l`,`g26`,`g21`],[`l`,`g26`,`g20`],[`a`,`g27`,`g27`,`cd2`,`-5400000`],[`l`,`hc`,`g19`],[`a`,`g27`,`g27`,`cd4`,`-5400000`],[`l`,`g24`,`g21`],[`l`,`hc`,`g21`],[`l`,`g23`,`g9`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},actionbuttonsound:{adj:[],gd:[[`dx2`,`*/ ss 3 8`],[`g9`,`+- vc 0 dx2`],[`g10`,`+- vc dx2 0`],[`g11`,`+- hc 0 dx2`],[`g12`,`+- hc dx2 0`],[`g13`,`*/ ss 3 4`],[`g14`,`*/ g13 1 8`],[`g15`,`*/ g13 5 16`],[`g16`,`*/ g13 5 8`],[`g17`,`*/ g13 11 16`],[`g18`,`*/ g13 3 4`],[`g19`,`*/ g13 7 8`],[`g20`,`+- g9 g14 0`],[`g21`,`+- g9 g15 0`],[`g22`,`+- g9 g17 0`],[`g23`,`+- g9 g19 0`],[`g24`,`+- g11 g15 0`],[`g25`,`+- g11 g16 0`],[`g26`,`+- g11 g18 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`g11`,`g21`],[`l`,`g11`,`g22`],[`l`,`g24`,`g22`],[`l`,`g25`,`g10`],[`l`,`g25`,`g9`],[`l`,`g24`,`g21`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`g11`,`g21`],[`l`,`g11`,`g22`],[`l`,`g24`,`g22`],[`l`,`g25`,`g10`],[`l`,`g25`,`g9`],[`l`,`g24`,`g21`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`g11`,`g21`],[`l`,`g24`,`g21`],[`l`,`g25`,`g9`],[`l`,`g25`,`g10`],[`l`,`g24`,`g22`],[`l`,`g11`,`g22`],[`c`],[`m`,`g26`,`g21`],[`l`,`g12`,`g20`],[`m`,`g26`,`vc`],[`l`,`g12`,`vc`],[`m`,`g26`,`g22`],[`l`,`g12`,`g23`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},arc:{adj:[[`adj1`,`val 16200000`],[`adj2`,`val 0`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`enAng`,`pin 0 adj2 21599999`],[`sw11`,`+- enAng 0 stAng`],[`sw12`,`+- sw11 21600000 0`],[`swAng`,`?: sw11 sw11 sw12`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`wt2`,`sin wd2 enAng`],[`ht2`,`cos hd2 enAng`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`sw0`,`+- 21600000 0 stAng`],[`da1`,`+- swAng 0 sw0`],[`g1`,`max x1 x2`],[`ir`,`?: da1 r g1`],[`sw1`,`+- cd4 0 stAng`],[`sw2`,`+- 27000000 0 stAng`],[`sw3`,`?: sw1 sw1 sw2`],[`da2`,`+- swAng 0 sw3`],[`g5`,`max y1 y2`],[`ib`,`?: da2 b g5`],[`sw4`,`+- cd2 0 stAng`],[`sw5`,`+- 32400000 0 stAng`],[`sw6`,`?: sw4 sw4 sw5`],[`da3`,`+- swAng 0 sw6`],[`g9`,`min x1 x2`],[`il`,`?: da3 l g9`],[`sw7`,`+- 3cd4 0 stAng`],[`sw8`,`+- 37800000 0 stAng`],[`sw9`,`?: sw7 sw7 sw8`],[`da4`,`+- swAng 0 sw9`],[`g13`,`min y1 y2`],[`it`,`?: da4 t g13`],[`cang1`,`+- stAng 0 cd4`],[`cang2`,`+- enAng cd4 0`],[`cang3`,`+/ cang1 cang2 2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`l`,`hc`,`vc`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`]]}]},bentarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 43750`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`a3`,`pin 0 adj3 50000`],[`th`,`*/ ss a1 100000`],[`aw2`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`dh2`,`+- aw2 0 th2`],[`ah`,`*/ ss a3 100000`],[`bw`,`+- r 0 ah`],[`bh`,`+- b 0 dh2`],[`bs`,`min bw bh`],[`maxAdj4`,`*/ 100000 bs ss`],[`a4`,`pin 0 adj4 maxAdj4`],[`bd`,`*/ ss a4 100000`],[`bd3`,`+- bd 0 th`],[`bd2`,`max bd3 0`],[`x3`,`+- th bd2 0`],[`x4`,`+- r 0 ah`],[`y3`,`+- dh2 th 0`],[`y4`,`+- y3 dh2 0`],[`y5`,`+- dh2 bd 0`],[`y6`,`+- y3 bd2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`l`,`y5`],[`a`,`bd`,`bd`,`cd2`,`cd4`],[`l`,`x4`,`dh2`],[`l`,`x4`,`t`],[`l`,`r`,`aw2`],[`l`,`x4`,`y4`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`a`,`bd2`,`bd2`,`3cd4`,`-5400000`],[`l`,`th`,`b`],[`c`]]}]},bentconnector2:{adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`]]}]},bentconnector3:{adj:[[`adj1`,`val 50000`]],gd:[[`x1`,`*/ w adj1 100000`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`b`],[`l`,`r`,`b`]]}]},bentconnector4:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`x1`,`*/ w adj1 100000`],[`x2`,`+/ x1 r 2`],[`y2`,`*/ h adj2 100000`],[`y1`,`+/ t y2 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`y2`],[`l`,`r`,`y2`],[`l`,`r`,`b`]]}]},bentconnector5:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`],[`adj3`,`val 50000`]],gd:[[`x1`,`*/ w adj1 100000`],[`x3`,`*/ w adj3 100000`],[`x2`,`+/ x1 x3 2`],[`y2`,`*/ h adj2 100000`],[`y1`,`+/ t y2 2`],[`y3`,`+/ b y2 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`y2`],[`l`,`x3`,`y2`],[`l`,`x3`,`b`],[`l`,`r`,`b`]]}]},bentuparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`a3`,`pin 0 adj3 50000`],[`y1`,`*/ ss a3 100000`],[`dx1`,`*/ ss a2 50000`],[`x1`,`+- r 0 dx1`],[`dx3`,`*/ ss a2 100000`],[`x3`,`+- r 0 dx3`],[`dx2`,`*/ ss a1 200000`],[`x2`,`+- x3 0 dx2`],[`x4`,`+- x3 dx2 0`],[`dy2`,`*/ ss a1 100000`],[`y2`,`+- b 0 dy2`],[`x0`,`*/ x4 1 2`],[`y3`,`+/ y2 b 2`],[`y15`,`+/ y1 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`x3`,`t`],[`l`,`r`,`y1`],[`l`,`x4`,`y1`],[`l`,`x4`,`b`],[`l`,`l`,`b`],[`c`]]}]},bevel:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x1`,`x1`],[`l`,`x2`,`x1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`]]},{w:null,h:null,fill:`lightenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`x2`,`x1`],[`l`,`x1`,`x1`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`r`,`b`],[`c`]]},{w:null,h:null,fill:`lighten`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`x1`],[`l`,`x1`,`y2`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`darken`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`t`],[`l`,`r`,`b`],[`l`,`x2`,`y2`],[`l`,`x2`,`x1`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`x1`,`x1`],[`l`,`x2`,`x1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`],[`m`,`l`,`t`],[`l`,`x1`,`x1`],[`m`,`l`,`b`],[`l`,`x1`,`y2`],[`m`,`r`,`t`],[`l`,`x2`,`x1`],[`m`,`r`,`b`],[`l`,`x2`,`y2`]]}]},blockarc:{adj:[[`adj1`,`val 10800000`],[`adj2`,`val 0`],[`adj3`,`val 25000`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`istAng`,`pin 0 adj2 21599999`],[`a3`,`pin 0 adj3 50000`],[`sw11`,`+- istAng 0 stAng`],[`sw12`,`+- sw11 21600000 0`],[`swAng`,`?: sw11 sw11 sw12`],[`iswAng`,`+- 0 0 swAng`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`wt3`,`sin wd2 istAng`],[`ht3`,`cos hd2 istAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`dx3`,`cat2 wd2 ht3 wt3`],[`dy3`,`sat2 hd2 ht3 wt3`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x3`,`+- hc dx3 0`],[`y3`,`+- vc dy3 0`],[`dr`,`*/ ss a3 100000`],[`iwd2`,`+- wd2 0 dr`],[`ihd2`,`+- hd2 0 dr`],[`wt2`,`sin iwd2 istAng`],[`ht2`,`cos ihd2 istAng`],[`wt4`,`sin iwd2 stAng`],[`ht4`,`cos ihd2 stAng`],[`dx2`,`cat2 iwd2 ht2 wt2`],[`dy2`,`sat2 ihd2 ht2 wt2`],[`dx4`,`cat2 iwd2 ht4 wt4`],[`dy4`,`sat2 ihd2 ht4 wt4`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`x4`,`+- hc dx4 0`],[`y4`,`+- vc dy4 0`],[`sw0`,`+- 21600000 0 stAng`],[`da1`,`+- swAng 0 sw0`],[`g1`,`max x1 x2`],[`g2`,`max x3 x4`],[`g3`,`max g1 g2`],[`ir`,`?: da1 r g3`],[`sw1`,`+- cd4 0 stAng`],[`sw2`,`+- 27000000 0 stAng`],[`sw3`,`?: sw1 sw1 sw2`],[`da2`,`+- swAng 0 sw3`],[`g5`,`max y1 y2`],[`g6`,`max y3 y4`],[`g7`,`max g5 g6`],[`ib`,`?: da2 b g7`],[`sw4`,`+- cd2 0 stAng`],[`sw5`,`+- 32400000 0 stAng`],[`sw6`,`?: sw4 sw4 sw5`],[`da3`,`+- swAng 0 sw6`],[`g9`,`min x1 x2`],[`g10`,`min x3 x4`],[`g11`,`min g9 g10`],[`il`,`?: da3 l g11`],[`sw7`,`+- 3cd4 0 stAng`],[`sw8`,`+- 37800000 0 stAng`],[`sw9`,`?: sw7 sw7 sw8`],[`da4`,`+- swAng 0 sw9`],[`g13`,`min y1 y2`],[`g14`,`min y3 y4`],[`g15`,`min g13 g14`],[`it`,`?: da4 t g15`],[`x5`,`+/ x1 x4 2`],[`y5`,`+/ y1 y4 2`],[`x6`,`+/ x3 x2 2`],[`y6`,`+/ y3 y2 2`],[`cang1`,`+- stAng 0 cd4`],[`cang2`,`+- istAng cd4 0`],[`cang3`,`+/ cang1 cang2 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`l`,`x2`,`y2`],[`a`,`iwd2`,`ihd2`,`istAng`,`iswAng`],[`c`]]}]},bordercallout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},bordercallout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},bordercallout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},bracepair:{adj:[[`adj`,`val 8333`]],gd:[[`a`,`pin 0 adj 25000`],[`x1`,`*/ ss a 100000`],[`x2`,`*/ ss a 50000`],[`x3`,`+- r 0 x2`],[`x4`,`+- r 0 x1`],[`y2`,`+- vc 0 x1`],[`y3`,`+- vc x1 0`],[`y4`,`+- b 0 x1`],[`it`,`*/ x1 29289 100000`],[`il`,`+- x1 it 0`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x2`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`l`,`x1`,`y3`],[`a`,`x1`,`x1`,`0`,`-5400000`],[`a`,`x1`,`x1`,`cd4`,`-5400000`],[`l`,`x1`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`l`,`x3`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`x4`,`y2`],[`a`,`x1`,`x1`,`cd2`,`-5400000`],[`a`,`x1`,`x1`,`3cd4`,`-5400000`],[`l`,`x4`,`y4`],[`a`,`x1`,`x1`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`l`,`x1`,`y3`],[`a`,`x1`,`x1`,`0`,`-5400000`],[`a`,`x1`,`x1`,`cd4`,`-5400000`],[`l`,`x1`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`m`,`x3`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`x4`,`y2`],[`a`,`x1`,`x1`,`cd2`,`-5400000`],[`a`,`x1`,`x1`,`3cd4`,`-5400000`],[`l`,`x4`,`y4`],[`a`,`x1`,`x1`,`0`,`cd4`]]}]},bracketpair:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`l`,`x2`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`0`,`cd4`],[`l`,`x1`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`l`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`m`,`x2`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`0`,`cd4`]]}]},callout1:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 112500`],[`adj4`,`val -38333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`]]}]},callout2:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 112500`],[`adj6`,`val -46667`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`]]}]},callout3:{adj:[[`adj1`,`val 18750`],[`adj2`,`val -8333`],[`adj3`,`val 18750`],[`adj4`,`val -16667`],[`adj5`,`val 100000`],[`adj6`,`val -16667`],[`adj7`,`val 112963`],[`adj8`,`val -8333`]],gd:[[`y1`,`*/ h adj1 100000`],[`x1`,`*/ w adj2 100000`],[`y2`,`*/ h adj3 100000`],[`x2`,`*/ w adj4 100000`],[`y3`,`*/ h adj5 100000`],[`x3`,`*/ w adj6 100000`],[`y4`,`*/ h adj7 100000`],[`x4`,`*/ w adj8 100000`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y4`]]}]},can:{adj:[[`adj`,`val 25000`]],gd:[[`maxAdj`,`*/ 50000 h ss`],[`a`,`pin 0 adj maxAdj`],[`y1`,`*/ ss a 200000`],[`y2`,`+- y1 y1 0`],[`y3`,`+- b 0 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`-10800000`],[`l`,`r`,`y3`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`c`]]},{w:null,h:null,fill:`lighten`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`cd2`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`r`,`y1`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`a`,`wd2`,`y1`,`cd2`,`cd2`],[`l`,`r`,`y3`],[`a`,`wd2`,`y1`,`0`,`cd2`],[`l`,`l`,`y1`]]}]},chartplus:{adj:[],gd:[],paths:[{w:10,h:10,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`5`,`0`],[`l`,`5`,`10`],[`m`,`0`,`5`],[`l`,`10`,`5`]]},{w:10,h:10,fill:null,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`0`,`10`],[`l`,`10`,`10`],[`l`,`10`,`0`],[`c`]]}]},chartstar:{adj:[],gd:[],paths:[{w:10,h:10,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`10`,`10`],[`m`,`0`,`10`],[`l`,`10`,`0`],[`m`,`5`,`0`],[`l`,`5`,`10`]]},{w:10,h:10,fill:null,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`0`,`10`],[`l`,`10`,`10`],[`l`,`10`,`0`],[`c`]]}]},chartx:{adj:[],gd:[],paths:[{w:10,h:10,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`10`,`10`],[`m`,`0`,`10`],[`l`,`10`,`0`]]},{w:10,h:10,fill:null,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`0`,`10`],[`l`,`10`,`10`],[`l`,`10`,`0`],[`c`]]}]},chevron:{adj:[[`adj`,`val 50000`]],gd:[[`maxAdj`,`*/ 100000 w ss`],[`a`,`pin 0 adj maxAdj`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`x3`,`*/ x2 1 2`],[`dx`,`+- x2 0 x1`],[`il`,`?: dx x1 l`],[`ir`,`?: dx x2 r`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x2`,`t`],[`l`,`r`,`vc`],[`l`,`x2`,`b`],[`l`,`l`,`b`],[`l`,`x1`,`vc`],[`c`]]}]},chord:{adj:[[`adj1`,`val 2700000`],[`adj2`,`val 16200000`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`enAng`,`pin 0 adj2 21599999`],[`sw1`,`+- enAng 0 stAng`],[`sw2`,`+- sw1 21600000 0`],[`swAng`,`?: sw1 sw1 sw2`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`wt2`,`sin wd2 enAng`],[`ht2`,`cos hd2 enAng`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`x3`,`+/ x1 x2 2`],[`y3`,`+/ y1 y2 2`],[`midAng0`,`*/ swAng 1 2`],[`midAng`,`+- stAng midAng0 cd2`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`c`]]}]},circulararrow:{adj:[[`adj1`,`val 12500`],[`adj2`,`val 1142319`],[`adj3`,`val 20457681`],[`adj4`,`val 10800000`],[`adj5`,`val 12500`]],gd:[[`a5`,`pin 0 adj5 25000`],[`maxAdj1`,`*/ a5 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`enAng`,`pin 1 adj3 21599999`],[`stAng`,`pin 0 adj4 21599999`],[`th`,`*/ ss a1 100000`],[`thh`,`*/ ss a5 100000`],[`th2`,`*/ th 1 2`],[`rw1`,`+- wd2 th2 thh`],[`rh1`,`+- hd2 th2 thh`],[`rw2`,`+- rw1 0 th`],[`rh2`,`+- rh1 0 th`],[`rw3`,`+- rw2 th2 0`],[`rh3`,`+- rh2 th2 0`],[`wtH`,`sin rw3 enAng`],[`htH`,`cos rh3 enAng`],[`dxH`,`cat2 rw3 htH wtH`],[`dyH`,`sat2 rh3 htH wtH`],[`xH`,`+- hc dxH 0`],[`yH`,`+- vc dyH 0`],[`rI`,`min rw2 rh2`],[`u1`,`*/ dxH dxH 1`],[`u2`,`*/ dyH dyH 1`],[`u3`,`*/ rI rI 1`],[`u4`,`+- u1 0 u3`],[`u5`,`+- u2 0 u3`],[`u6`,`*/ u4 u5 u1`],[`u7`,`*/ u6 1 u2`],[`u8`,`+- 1 0 u7`],[`u9`,`sqrt u8`],[`u10`,`*/ u4 1 dxH`],[`u11`,`*/ u10 1 dyH`],[`u12`,`+/ 1 u9 u11`],[`u13`,`at2 1 u12`],[`u14`,`+- u13 21600000 0`],[`u15`,`?: u13 u13 u14`],[`u16`,`+- u15 0 enAng`],[`u17`,`+- u16 21600000 0`],[`u18`,`?: u16 u16 u17`],[`u19`,`+- u18 0 cd2`],[`u20`,`+- u18 0 21600000`],[`u21`,`?: u19 u20 u18`],[`maxAng`,`abs u21`],[`aAng`,`pin 0 adj2 maxAng`],[`ptAng`,`+- enAng aAng 0`],[`wtA`,`sin rw3 ptAng`],[`htA`,`cos rh3 ptAng`],[`dxA`,`cat2 rw3 htA wtA`],[`dyA`,`sat2 rh3 htA wtA`],[`xA`,`+- hc dxA 0`],[`yA`,`+- vc dyA 0`],[`wtE`,`sin rw1 stAng`],[`htE`,`cos rh1 stAng`],[`dxE`,`cat2 rw1 htE wtE`],[`dyE`,`sat2 rh1 htE wtE`],[`xE`,`+- hc dxE 0`],[`yE`,`+- vc dyE 0`],[`dxG`,`cos thh ptAng`],[`dyG`,`sin thh ptAng`],[`xG`,`+- xH dxG 0`],[`yG`,`+- yH dyG 0`],[`dxB`,`cos thh ptAng`],[`dyB`,`sin thh ptAng`],[`xB`,`+- xH 0 dxB 0`],[`yB`,`+- yH 0 dyB 0`],[`sx1`,`+- xB 0 hc`],[`sy1`,`+- yB 0 vc`],[`sx2`,`+- xG 0 hc`],[`sy2`,`+- yG 0 vc`],[`rO`,`min rw1 rh1`],[`x1O`,`*/ sx1 rO rw1`],[`y1O`,`*/ sy1 rO rh1`],[`x2O`,`*/ sx2 rO rw1`],[`y2O`,`*/ sy2 rO rh1`],[`dxO`,`+- x2O 0 x1O`],[`dyO`,`+- y2O 0 y1O`],[`dO`,`mod dxO dyO 0`],[`q1`,`*/ x1O y2O 1`],[`q2`,`*/ x2O y1O 1`],[`DO`,`+- q1 0 q2`],[`q3`,`*/ rO rO 1`],[`q4`,`*/ dO dO 1`],[`q5`,`*/ q3 q4 1`],[`q6`,`*/ DO DO 1`],[`q7`,`+- q5 0 q6`],[`q8`,`max q7 0`],[`sdelO`,`sqrt q8`],[`ndyO`,`*/ dyO -1 1`],[`sdyO`,`?: ndyO -1 1`],[`q9`,`*/ sdyO dxO 1`],[`q10`,`*/ q9 sdelO 1`],[`q11`,`*/ DO dyO 1`],[`dxF1`,`+/ q11 q10 q4`],[`q12`,`+- q11 0 q10`],[`dxF2`,`*/ q12 1 q4`],[`adyO`,`abs dyO`],[`q13`,`*/ adyO sdelO 1`],[`q14`,`*/ DO dxO -1`],[`dyF1`,`+/ q14 q13 q4`],[`q15`,`+- q14 0 q13`],[`dyF2`,`*/ q15 1 q4`],[`q16`,`+- x2O 0 dxF1`],[`q17`,`+- x2O 0 dxF2`],[`q18`,`+- y2O 0 dyF1`],[`q19`,`+- y2O 0 dyF2`],[`q20`,`mod q16 q18 0`],[`q21`,`mod q17 q19 0`],[`q22`,`+- q21 0 q20`],[`dxF`,`?: q22 dxF1 dxF2`],[`dyF`,`?: q22 dyF1 dyF2`],[`sdxF`,`*/ dxF rw1 rO`],[`sdyF`,`*/ dyF rh1 rO`],[`xF`,`+- hc sdxF 0`],[`yF`,`+- vc sdyF 0`],[`x1I`,`*/ sx1 rI rw2`],[`y1I`,`*/ sy1 rI rh2`],[`x2I`,`*/ sx2 rI rw2`],[`y2I`,`*/ sy2 rI rh2`],[`dxI`,`+- x2I 0 x1I`],[`dyI`,`+- y2I 0 y1I`],[`dI`,`mod dxI dyI 0`],[`v1`,`*/ x1I y2I 1`],[`v2`,`*/ x2I y1I 1`],[`DI`,`+- v1 0 v2`],[`v3`,`*/ rI rI 1`],[`v4`,`*/ dI dI 1`],[`v5`,`*/ v3 v4 1`],[`v6`,`*/ DI DI 1`],[`v7`,`+- v5 0 v6`],[`v8`,`max v7 0`],[`sdelI`,`sqrt v8`],[`v9`,`*/ sdyO dxI 1`],[`v10`,`*/ v9 sdelI 1`],[`v11`,`*/ DI dyI 1`],[`dxC1`,`+/ v11 v10 v4`],[`v12`,`+- v11 0 v10`],[`dxC2`,`*/ v12 1 v4`],[`adyI`,`abs dyI`],[`v13`,`*/ adyI sdelI 1`],[`v14`,`*/ DI dxI -1`],[`dyC1`,`+/ v14 v13 v4`],[`v15`,`+- v14 0 v13`],[`dyC2`,`*/ v15 1 v4`],[`v16`,`+- x1I 0 dxC1`],[`v17`,`+- x1I 0 dxC2`],[`v18`,`+- y1I 0 dyC1`],[`v19`,`+- y1I 0 dyC2`],[`v20`,`mod v16 v18 0`],[`v21`,`mod v17 v19 0`],[`v22`,`+- v21 0 v20`],[`dxC`,`?: v22 dxC1 dxC2`],[`dyC`,`?: v22 dyC1 dyC2`],[`sdxC`,`*/ dxC rw2 rI`],[`sdyC`,`*/ dyC rh2 rI`],[`xC`,`+- hc sdxC 0`],[`yC`,`+- vc sdyC 0`],[`ist0`,`at2 sdxC sdyC`],[`ist1`,`+- ist0 21600000 0`],[`istAng`,`?: ist0 ist0 ist1`],[`isw1`,`+- stAng 0 istAng`],[`isw2`,`+- isw1 0 21600000`],[`iswAng`,`?: isw1 isw2 isw1`],[`p1`,`+- xF 0 xC`],[`p2`,`+- yF 0 yC`],[`p3`,`mod p1 p2 0`],[`p4`,`*/ p3 1 2`],[`p5`,`+- p4 0 thh`],[`xGp`,`?: p5 xF xG`],[`yGp`,`?: p5 yF yG`],[`xBp`,`?: p5 xC xB`],[`yBp`,`?: p5 yC yB`],[`en0`,`at2 sdxF sdyF`],[`en1`,`+- en0 21600000 0`],[`en2`,`?: en0 en0 en1`],[`sw0`,`+- en2 0 stAng`],[`sw1`,`+- sw0 21600000 0`],[`swAng`,`?: sw0 sw0 sw1`],[`wtI`,`sin rw3 stAng`],[`htI`,`cos rh3 stAng`],[`dxI`,`cat2 rw3 htI wtI`],[`dyI`,`sat2 rh3 htI wtI`],[`xI`,`+- hc dxI 0`],[`yI`,`+- vc dyI 0`],[`aI`,`+- stAng 0 cd4`],[`aA`,`+- ptAng cd4 0`],[`aB`,`+- ptAng cd2 0`],[`idx`,`cos rw1 2700000`],[`idy`,`sin rh1 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xE`,`yE`],[`a`,`rw1`,`rh1`,`stAng`,`swAng`],[`l`,`xGp`,`yGp`],[`l`,`xA`,`yA`],[`l`,`xBp`,`yBp`],[`l`,`xC`,`yC`],[`a`,`rw2`,`rh2`,`istAng`,`iswAng`],[`c`]]}]},cloud:{adj:[],gd:[[`il`,`*/ w 2977 21600`],[`it`,`*/ h 3262 21600`],[`ir`,`*/ w 17087 21600`],[`ib`,`*/ h 17337 21600`],[`g27`,`*/ w 67 21600`],[`g28`,`*/ h 21577 21600`],[`g29`,`*/ w 21582 21600`],[`g30`,`*/ h 1235 21600`]],paths:[{w:43200,h:43200,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`3900`,`14370`],[`a`,`6753`,`9190`,`-11429249`,`7426832`],[`a`,`5333`,`7267`,`-8646143`,`5396714`],[`a`,`4365`,`5945`,`-8748475`,`5983381`],[`a`,`4857`,`6595`,`-7859164`,`7034504`],[`a`,`5333`,`7273`,`-4722533`,`6541615`],[`a`,`6775`,`9220`,`-2776035`,`7816140`],[`a`,`5785`,`7867`,`37501`,`6842000`],[`a`,`6752`,`9215`,`1347096`,`6910353`],[`a`,`7720`,`10543`,`3974558`,`4542661`],[`a`,`4360`,`5918`,`-16496525`,`8804134`],[`a`,`4345`,`5945`,`-14809710`,`9151131`],[`c`]]},{w:43200,h:43200,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`4693`,`26177`],[`a`,`4345`,`5945`,`5204520`,`1585770`],[`m`,`6928`,`34899`],[`a`,`4360`,`5918`,`4416628`,`686848`],[`m`,`16478`,`39090`],[`a`,`6752`,`9215`,`8257449`,`844866`],[`m`,`28827`,`34751`],[`a`,`6752`,`9215`,`387196`,`959901`],[`m`,`34129`,`22954`],[`a`,`5785`,`7867`,`-4217541`,`4255042`],[`m`,`41798`,`15354`],[`a`,`5333`,`7273`,`1819082`,`1665090`],[`m`,`38324`,`5426`],[`a`,`4857`,`6595`,`-824660`,`891534`],[`m`,`29078`,`3952`],[`a`,`4857`,`6595`,`-8950887`,`1091722`],[`m`,`22141`,`4720`],[`a`,`4365`,`5945`,`-9809656`,`1061181`],[`m`,`14000`,`5192`],[`a`,`6753`,`9190`,`-4002417`,`739161`],[`m`,`4127`,`15789`],[`a`,`6753`,`9190`,`9459261`,`711490`]]}]},cloudcallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`ht`,`cat2 hd2 dxPos dyPos`],[`wt`,`sat2 wd2 dxPos dyPos`],[`g2`,`cat2 wd2 ht wt`],[`g3`,`sat2 hd2 ht wt`],[`g4`,`+- hc g2 0`],[`g5`,`+- vc g3 0`],[`g6`,`+- g4 0 xPos`],[`g7`,`+- g5 0 yPos`],[`g8`,`mod g6 g7 0`],[`g9`,`*/ ss 6600 21600`],[`g10`,`+- g8 0 g9`],[`g11`,`*/ g10 1 3`],[`g12`,`*/ ss 1800 21600`],[`g13`,`+- g11 g12 0`],[`g14`,`*/ g13 g6 g8`],[`g15`,`*/ g13 g7 g8`],[`g16`,`+- g14 xPos 0`],[`g17`,`+- g15 yPos 0`],[`g18`,`*/ ss 4800 21600`],[`g19`,`*/ g11 2 1`],[`g20`,`+- g18 g19 0`],[`g21`,`*/ g20 g6 g8`],[`g22`,`*/ g20 g7 g8`],[`g23`,`+- g21 xPos 0`],[`g24`,`+- g22 yPos 0`],[`g25`,`*/ ss 1200 21600`],[`g26`,`*/ ss 600 21600`],[`x23`,`+- xPos g26 0`],[`x24`,`+- g16 g25 0`],[`x25`,`+- g23 g12 0`],[`il`,`*/ w 2977 21600`],[`it`,`*/ h 3262 21600`],[`ir`,`*/ w 17087 21600`],[`ib`,`*/ h 17337 21600`],[`g27`,`*/ w 67 21600`],[`g28`,`*/ h 21577 21600`],[`g29`,`*/ w 21582 21600`],[`g30`,`*/ h 1235 21600`],[`pang`,`at2 dxPos dyPos`]],paths:[{w:43200,h:43200,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`3900`,`14370`],[`a`,`6753`,`9190`,`-11429249`,`7426832`],[`a`,`5333`,`7267`,`-8646143`,`5396714`],[`a`,`4365`,`5945`,`-8748475`,`5983381`],[`a`,`4857`,`6595`,`-7859164`,`7034504`],[`a`,`5333`,`7273`,`-4722533`,`6541615`],[`a`,`6775`,`9220`,`-2776035`,`7816140`],[`a`,`5785`,`7867`,`37501`,`6842000`],[`a`,`6752`,`9215`,`1347096`,`6910353`],[`a`,`7720`,`10543`,`3974558`,`4542661`],[`a`,`4360`,`5918`,`-16496525`,`8804134`],[`a`,`4345`,`5945`,`-14809710`,`9151131`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x23`,`yPos`],[`a`,`g26`,`g26`,`0`,`21600000`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x24`,`g17`],[`a`,`g25`,`g25`,`0`,`21600000`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x25`,`g24`],[`a`,`g12`,`g12`,`0`,`21600000`],[`c`]]},{w:43200,h:43200,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`4693`,`26177`],[`a`,`4345`,`5945`,`5204520`,`1585770`],[`m`,`6928`,`34899`],[`a`,`4360`,`5918`,`4416628`,`686848`],[`m`,`16478`,`39090`],[`a`,`6752`,`9215`,`8257449`,`844866`],[`m`,`28827`,`34751`],[`a`,`6752`,`9215`,`387196`,`959901`],[`m`,`34129`,`22954`],[`a`,`5785`,`7867`,`-4217541`,`4255042`],[`m`,`41798`,`15354`],[`a`,`5333`,`7273`,`1819082`,`1665090`],[`m`,`38324`,`5426`],[`a`,`4857`,`6595`,`-824660`,`891534`],[`m`,`29078`,`3952`],[`a`,`4857`,`6595`,`-8950887`,`1091722`],[`m`,`22141`,`4720`],[`a`,`4365`,`5945`,`-9809656`,`1061181`],[`m`,`14000`,`5192`],[`a`,`6753`,`9190`,`-4002417`,`739161`],[`m`,`4127`,`15789`],[`a`,`6753`,`9190`,`9459261`,`711490`]]}]},corner:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj1`,`*/ 100000 h ss`],[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`a2`,`pin 0 adj2 maxAdj2`],[`x1`,`*/ ss a2 100000`],[`dy1`,`*/ ss a1 100000`],[`y1`,`+- b 0 dy1`],[`cx1`,`*/ x1 1 2`],[`cy1`,`+/ y1 b 2`],[`d`,`+- w 0 h`],[`it`,`?: d y1 t`],[`ir`,`?: d r x1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`x1`,`y1`],[`l`,`r`,`y1`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},cornertabs:{adj:[],gd:[[`md`,`mod w h 0`],[`dx`,`*/ 1 md 20`],[`y1`,`+- 0 b dx`],[`x1`,`+- 0 r dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`dx`,`t`],[`l`,`l`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`dx`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`r`,`t`],[`l`,`r`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`y1`],[`l`,`r`,`b`],[`l`,`x1`,`b`],[`c`]]}]},cube:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 0 adj 100000`],[`y1`,`*/ ss a 100000`],[`y4`,`+- b 0 y1`],[`y2`,`*/ y4 1 2`],[`y3`,`+/ y1 b 2`],[`x4`,`+- r 0 y1`],[`x2`,`*/ x4 1 2`],[`x3`,`+/ y1 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`l`,`x4`,`y1`],[`l`,`x4`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x4`,`y1`],[`l`,`r`,`t`],[`l`,`r`,`y4`],[`l`,`x4`,`b`],[`c`]]},{w:null,h:null,fill:`lightenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`l`,`y1`,`t`],[`l`,`r`,`t`],[`l`,`x4`,`y1`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`y1`],[`l`,`y1`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y4`],[`l`,`x4`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`l`,`y1`],[`l`,`x4`,`y1`],[`l`,`r`,`t`],[`m`,`x4`,`y1`],[`l`,`x4`,`b`]]}]},curvedconnector2:{adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`wd2`,`t`,`r`,`hd2`,`r`,`b`]]}]},curvedconnector3:{adj:[[`adj1`,`val 50000`]],gd:[[`x2`,`*/ w adj1 100000`],[`x1`,`+/ l x2 2`],[`x3`,`+/ r x2 2`],[`y3`,`*/ h 3 4`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x1`,`t`,`x2`,`hd4`,`x2`,`vc`],[`C`,`x2`,`y3`,`x3`,`b`,`r`,`b`]]}]},curvedconnector4:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`x2`,`*/ w adj1 100000`],[`x1`,`+/ l x2 2`],[`x3`,`+/ r x2 2`],[`x4`,`+/ x2 x3 2`],[`x5`,`+/ x3 r 2`],[`y4`,`*/ h adj2 100000`],[`y1`,`+/ t y4 2`],[`y2`,`+/ t y1 2`],[`y3`,`+/ y1 y4 2`],[`y5`,`+/ b y4 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x1`,`t`,`x2`,`y2`,`x2`,`y1`],[`C`,`x2`,`y3`,`x4`,`y4`,`x3`,`y4`],[`C`,`x5`,`y4`,`r`,`y5`,`r`,`b`]]}]},curvedconnector5:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`],[`adj3`,`val 50000`]],gd:[[`x3`,`*/ w adj1 100000`],[`x6`,`*/ w adj3 100000`],[`x1`,`+/ x3 x6 2`],[`x2`,`+/ l x3 2`],[`x4`,`+/ x3 x1 2`],[`x5`,`+/ x6 x1 2`],[`x7`,`+/ x6 r 2`],[`y4`,`*/ h adj2 100000`],[`y1`,`+/ t y4 2`],[`y2`,`+/ t y1 2`],[`y3`,`+/ y1 y4 2`],[`y5`,`+/ b y4 2`],[`y6`,`+/ y5 y4 2`],[`y7`,`+/ y5 b 2`]],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`C`,`x2`,`t`,`x3`,`y2`,`x3`,`y1`],[`C`,`x3`,`y3`,`x4`,`y4`,`x1`,`y4`],[`C`,`x5`,`y4`,`x6`,`y6`,`x6`,`y5`],[`C`,`x6`,`y7`,`x7`,`b`,`r`,`b`]]}]},curveddownarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 100000`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`wR`,`+- wd2 0 q1`],[`q7`,`*/ wR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idy`,`*/ q11 h q7`],[`maxAdj3`,`*/ 100000 idy ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss adj3 100000`],[`x3`,`+- wR th 0`],[`q2`,`*/ h h 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dx`,`*/ q5 wR h`],[`x5`,`+- wR dx 0`],[`x7`,`+- x3 dx 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`x4`,`+- x5 0 dh`],[`x8`,`+- x7 dh 0`],[`aw2`,`*/ aw 1 2`],[`x6`,`+- r 0 aw2`],[`y1`,`+- b 0 ah`],[`swAng`,`at2 ah dx`],[`mswAng`,`+- 0 0 swAng`],[`iy`,`+- b 0 idy`],[`ix`,`+/ wR x3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idy q12`],[`stAng`,`+- 3cd4 swAng 0`],[`stAng2`,`+- 3cd4 0 dang2`],[`swAng2`,`+- dang2 0 cd4`],[`swAng3`,`+- cd4 dang2 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x6`,`b`],[`l`,`x4`,`y1`],[`l`,`x5`,`y1`],[`a`,`wR`,`h`,`stAng`,`mswAng`],[`l`,`x3`,`t`],[`a`,`wR`,`h`,`3cd4`,`swAng`],[`l`,`x8`,`y1`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`ix`,`iy`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`l`,`b`],[`a`,`wR`,`h`,`cd2`,`swAng3`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`ix`,`iy`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`l`,`b`],[`a`,`wR`,`h`,`cd2`,`cd4`],[`l`,`x3`,`t`],[`a`,`wR`,`h`,`3cd4`,`swAng`],[`l`,`x8`,`y1`],[`l`,`x6`,`b`],[`l`,`x4`,`y1`],[`l`,`x5`,`y1`],[`a`,`wR`,`h`,`stAng`,`mswAng`]]}]},curvedleftarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 a2`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`hR`,`+- hd2 0 q1`],[`q7`,`*/ hR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idx`,`*/ q11 w q7`],[`maxAdj3`,`*/ 100000 idx ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss a3 100000`],[`y3`,`+- hR th 0`],[`q2`,`*/ w w 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dy`,`*/ q5 hR w`],[`y5`,`+- hR dy 0`],[`y7`,`+- y3 dy 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`y4`,`+- y5 0 dh`],[`y8`,`+- y7 dh 0`],[`aw2`,`*/ aw 1 2`],[`y6`,`+- b 0 aw2`],[`x1`,`+- l ah 0`],[`swAng`,`at2 ah dy`],[`mswAng`,`+- 0 0 swAng`],[`ix`,`+- l idx 0`],[`iy`,`+/ hR y3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idx q12`],[`swAng2`,`+- dang2 0 swAng`],[`swAng3`,`+- swAng dang2 0`],[`stAng3`,`+- 0 0 dang2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`y6`],[`l`,`x1`,`y4`],[`l`,`x1`,`y5`],[`a`,`w`,`hR`,`swAng`,`swAng2`],[`a`,`w`,`hR`,`stAng3`,`swAng3`],[`l`,`x1`,`y8`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`y3`],[`a`,`w`,`hR`,`0`,`-5400000`],[`l`,`l`,`t`],[`a`,`w`,`hR`,`3cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`r`,`y3`],[`a`,`w`,`hR`,`0`,`-5400000`],[`l`,`l`,`t`],[`a`,`w`,`hR`,`3cd4`,`cd4`],[`l`,`r`,`y3`],[`a`,`w`,`hR`,`0`,`swAng`],[`l`,`x1`,`y8`],[`l`,`l`,`y6`],[`l`,`x1`,`y4`],[`l`,`x1`,`y5`],[`a`,`w`,`hR`,`swAng`,`swAng2`]]}]},curvedrightarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 a2`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`hR`,`+- hd2 0 q1`],[`q7`,`*/ hR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idx`,`*/ q11 w q7`],[`maxAdj3`,`*/ 100000 idx ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss a3 100000`],[`y3`,`+- hR th 0`],[`q2`,`*/ w w 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dy`,`*/ q5 hR w`],[`y5`,`+- hR dy 0`],[`y7`,`+- y3 dy 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`y4`,`+- y5 0 dh`],[`y8`,`+- y7 dh 0`],[`aw2`,`*/ aw 1 2`],[`y6`,`+- b 0 aw2`],[`x1`,`+- r 0 ah`],[`swAng`,`at2 ah dy`],[`stAng`,`+- cd2 0 swAng`],[`mswAng`,`+- 0 0 swAng`],[`ix`,`+- r 0 idx`],[`iy`,`+/ hR y3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idx q12`],[`swAng2`,`+- dang2 0 cd4`],[`swAng3`,`+- cd4 dang2 0`],[`stAng3`,`+- cd2 0 dang2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`hR`],[`a`,`w`,`hR`,`cd2`,`mswAng`],[`l`,`x1`,`y4`],[`l`,`r`,`y6`],[`l`,`x1`,`y8`],[`l`,`x1`,`y7`],[`a`,`w`,`hR`,`stAng`,`swAng`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`th`],[`a`,`w`,`hR`,`3cd4`,`swAng2`],[`a`,`w`,`hR`,`stAng3`,`swAng3`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`hR`],[`a`,`w`,`hR`,`cd2`,`mswAng`],[`l`,`x1`,`y4`],[`l`,`r`,`y6`],[`l`,`x1`,`y8`],[`l`,`x1`,`y7`],[`a`,`w`,`hR`,`stAng`,`swAng`],[`l`,`l`,`hR`],[`a`,`w`,`hR`,`cd2`,`cd4`],[`l`,`r`,`th`],[`a`,`w`,`hR`,`3cd4`,`swAng2`]]}]},curveduparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 25000`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`a1`,`pin 0 adj1 100000`],[`th`,`*/ ss a1 100000`],[`aw`,`*/ ss a2 100000`],[`q1`,`+/ th aw 4`],[`wR`,`+- wd2 0 q1`],[`q7`,`*/ wR 2 1`],[`q8`,`*/ q7 q7 1`],[`q9`,`*/ th th 1`],[`q10`,`+- q8 0 q9`],[`q11`,`sqrt q10`],[`idy`,`*/ q11 h q7`],[`maxAdj3`,`*/ 100000 idy ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`ah`,`*/ ss adj3 100000`],[`x3`,`+- wR th 0`],[`q2`,`*/ h h 1`],[`q3`,`*/ ah ah 1`],[`q4`,`+- q2 0 q3`],[`q5`,`sqrt q4`],[`dx`,`*/ q5 wR h`],[`x5`,`+- wR dx 0`],[`x7`,`+- x3 dx 0`],[`q6`,`+- aw 0 th`],[`dh`,`*/ q6 1 2`],[`x4`,`+- x5 0 dh`],[`x8`,`+- x7 dh 0`],[`aw2`,`*/ aw 1 2`],[`x6`,`+- r 0 aw2`],[`y1`,`+- t ah 0`],[`swAng`,`at2 ah dx`],[`mswAng`,`+- 0 0 swAng`],[`iy`,`+- t idy 0`],[`ix`,`+/ wR x3 2`],[`q12`,`*/ th 1 2`],[`dang2`,`at2 idy q12`],[`swAng2`,`+- dang2 0 swAng`],[`mswAng2`,`+- 0 0 swAng2`],[`stAng3`,`+- cd4 0 swAng`],[`swAng3`,`+- swAng dang2 0`],[`stAng2`,`+- cd4 0 dang2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x6`,`t`],[`l`,`x8`,`y1`],[`l`,`x7`,`y1`],[`a`,`wR`,`h`,`stAng3`,`swAng3`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`x4`,`y1`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`wR`,`b`],[`a`,`wR`,`h`,`cd4`,`cd4`],[`l`,`th`,`t`],[`a`,`wR`,`h`,`cd2`,`-5400000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`ix`,`iy`],[`a`,`wR`,`h`,`stAng2`,`swAng2`],[`l`,`x4`,`y1`],[`l`,`x6`,`t`],[`l`,`x8`,`y1`],[`l`,`x7`,`y1`],[`a`,`wR`,`h`,`stAng3`,`swAng`],[`l`,`wR`,`b`],[`a`,`wR`,`h`,`cd4`,`cd4`],[`l`,`th`,`t`],[`a`,`wR`,`h`,`cd2`,`-5400000`]]}]},decagon:{adj:[[`vf`,`val 105146`]],gd:[[`shd2`,`*/ hd2 vf 100000`],[`dx1`,`cos wd2 2160000`],[`dx2`,`cos wd2 4320000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`dy1`,`sin shd2 4320000`],[`dy2`,`sin shd2 2160000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y2`],[`l`,`x2`,`y1`],[`l`,`x3`,`y1`],[`l`,`x4`,`y2`],[`l`,`r`,`vc`],[`l`,`x4`,`y3`],[`l`,`x3`,`y4`],[`l`,`x2`,`y4`],[`l`,`x1`,`y3`],[`c`]]}]},diagstripe:{adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 100000`],[`x2`,`*/ w a 100000`],[`x1`,`*/ x2 1 2`],[`x3`,`+/ x2 r 2`],[`y2`,`*/ h a 100000`],[`y1`,`*/ y2 1 2`],[`y3`,`+/ y2 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`l`,`b`],[`c`]]}]},diamond:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`hc`,`t`],[`l`,`r`,`vc`],[`l`,`hc`,`b`],[`c`]]}]},dodecagon:{adj:[],gd:[[`x1`,`*/ w 2894 21600`],[`x2`,`*/ w 7906 21600`],[`x3`,`*/ w 13694 21600`],[`x4`,`*/ w 18706 21600`],[`y1`,`*/ h 2894 21600`],[`y2`,`*/ h 7906 21600`],[`y3`,`*/ h 13694 21600`],[`y4`,`*/ h 18706 21600`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x1`,`y1`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`x4`,`y1`],[`l`,`r`,`y2`],[`l`,`r`,`y3`],[`l`,`x4`,`y4`],[`l`,`x3`,`b`],[`l`,`x2`,`b`],[`l`,`x1`,`y4`],[`l`,`l`,`y3`],[`c`]]}]},donut:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 0 adj 50000`],[`dr`,`*/ ss a 100000`],[`iwd2`,`+- wd2 0 dr`],[`ihd2`,`+- hd2 0 dr`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`],[`m`,`dr`,`vc`],[`a`,`iwd2`,`ihd2`,`cd2`,`-5400000`],[`a`,`iwd2`,`ihd2`,`cd4`,`-5400000`],[`a`,`iwd2`,`ihd2`,`0`,`-5400000`],[`a`,`iwd2`,`ihd2`,`3cd4`,`-5400000`],[`c`]]}]},doublewave:{adj:[[`adj1`,`val 6250`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 12500`],[`a2`,`pin -10000 adj2 10000`],[`y1`,`*/ h a1 100000`],[`dy2`,`*/ y1 10 3`],[`y2`,`+- y1 0 dy2`],[`y3`,`+- y1 dy2 0`],[`y4`,`+- b 0 y1`],[`y5`,`+- y4 0 dy2`],[`y6`,`+- y4 dy2 0`],[`dx1`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs dx1`],[`dx2`,`?: of2 0 of2`],[`x2`,`+- l 0 dx2`],[`dx8`,`?: of2 of2 0`],[`x8`,`+- r 0 dx8`],[`dx3`,`+/ dx2 x8 6`],[`x3`,`+- x2 dx3 0`],[`dx4`,`+/ dx2 x8 3`],[`x4`,`+- x2 dx4 0`],[`x5`,`+/ x2 x8 2`],[`x6`,`+- x5 dx3 0`],[`x7`,`+/ x6 x8 2`],[`x9`,`+- l dx8 0`],[`x15`,`+- r dx2 0`],[`x10`,`+- x9 dx3 0`],[`x11`,`+- x9 dx4 0`],[`x12`,`+/ x9 x15 2`],[`x13`,`+- x12 dx3 0`],[`x14`,`+/ x13 x15 2`],[`x16`,`+- r 0 x1`],[`xAdj`,`+- hc dx1 0`],[`il`,`max x2 x9`],[`ir`,`min x8 x15`],[`it`,`*/ h a1 50000`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y1`],[`C`,`x3`,`y2`,`x4`,`y3`,`x5`,`y1`],[`C`,`x6`,`y2`,`x7`,`y3`,`x8`,`y1`],[`l`,`x15`,`y4`],[`C`,`x14`,`y6`,`x13`,`y5`,`x12`,`y4`],[`C`,`x11`,`y6`,`x10`,`y5`,`x9`,`y4`],[`c`]]}]},downarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 h ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dy1`,`*/ ss a2 100000`],[`y1`,`+- b 0 dy1`],[`dx1`,`*/ w a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy2`,`*/ x1 dy1 wd2`],[`y2`,`+- y1 dy2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`x1`,`y1`],[`l`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`x2`,`y1`],[`l`,`r`,`y1`],[`l`,`hc`,`b`],[`c`]]}]},downarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss h`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dx1`,`*/ ss a2 100000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`dy3`,`*/ ss a3 100000`],[`y3`,`+- b 0 dy3`],[`y2`,`*/ h a4 100000`],[`y1`,`*/ y2 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y2`],[`l`,`x3`,`y2`],[`l`,`x3`,`y3`],[`l`,`x4`,`y3`],[`l`,`hc`,`b`],[`l`,`x1`,`y3`],[`l`,`x2`,`y3`],[`l`,`x2`,`y2`],[`l`,`l`,`y2`],[`c`]]}]},ellipse:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},ellipseribbon:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 12500`]],gd:[[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 25000 adj2 75000`],[`q10`,`+- 100000 0 a1`],[`q11`,`*/ q10 1 2`],[`q12`,`+- a1 0 q11`],[`minAdj3`,`max 0 q12`],[`a3`,`pin minAdj3 adj3 a1`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- x2 wd8 0`],[`x4`,`+- r 0 x3`],[`x5`,`+- r 0 x2`],[`x6`,`+- r 0 wd8`],[`dy1`,`*/ h a3 100000`],[`f1`,`*/ 4 dy1 w`],[`q1`,`*/ x3 x3 w`],[`q2`,`+- x3 0 q1`],[`y1`,`*/ f1 q2 1`],[`cx1`,`*/ x3 1 2`],[`cy1`,`*/ f1 cx1 1`],[`cx2`,`+- r 0 cx1`],[`q1`,`*/ h a1 100000`],[`dy3`,`+- q1 0 dy1`],[`q3`,`*/ x2 x2 w`],[`q4`,`+- x2 0 q3`],[`q5`,`*/ f1 q4 1`],[`y3`,`+- q5 dy3 0`],[`q6`,`+- dy1 dy3 y3`],[`q7`,`+- q6 dy1 0`],[`cy3`,`+- q7 dy3 0`],[`rh`,`+- b 0 q1`],[`q8`,`*/ dy1 14 16`],[`y2`,`+/ q8 rh 2`],[`y5`,`+- q5 rh 0`],[`y6`,`+- y3 rh 0`],[`cx4`,`*/ x2 1 2`],[`q9`,`*/ f1 cx4 1`],[`cy4`,`+- q9 rh 0`],[`cx5`,`+- r 0 cx4`],[`cy6`,`+- cy3 rh 0`],[`y7`,`+- y1 dy3 0`],[`cy7`,`+- q1 q1 y7`],[`y8`,`+- b 0 dy1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`Q`,`cx1`,`cy1`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`Q`,`cx2`,`cy1`,`r`,`t`],[`l`,`x6`,`y2`],[`l`,`r`,`rh`],[`Q`,`cx5`,`cy4`,`x5`,`y5`],[`l`,`x5`,`y6`],[`Q`,`hc`,`cy6`,`x2`,`y6`],[`l`,`x2`,`y5`],[`Q`,`cx4`,`cy4`,`l`,`rh`],[`l`,`wd8`,`y2`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x3`,`y7`],[`l`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`l`,`x4`,`y7`],[`Q`,`hc`,`cy7`,`x3`,`y7`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`Q`,`cx1`,`cy1`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`Q`,`cx2`,`cy1`,`r`,`t`],[`l`,`x6`,`y2`],[`l`,`r`,`rh`],[`Q`,`cx5`,`cy4`,`x5`,`y5`],[`l`,`x5`,`y6`],[`Q`,`hc`,`cy6`,`x2`,`y6`],[`l`,`x2`,`y5`],[`Q`,`cx4`,`cy4`,`l`,`rh`],[`l`,`wd8`,`y2`],[`c`],[`m`,`x2`,`y5`],[`l`,`x2`,`y3`],[`m`,`x5`,`y3`],[`l`,`x5`,`y5`],[`m`,`x3`,`y1`],[`l`,`x3`,`y7`],[`m`,`x4`,`y7`],[`l`,`x4`,`y1`]]}]},ellipseribbon2:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 50000`],[`adj3`,`val 12500`]],gd:[[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 25000 adj2 75000`],[`q10`,`+- 100000 0 a1`],[`q11`,`*/ q10 1 2`],[`q12`,`+- a1 0 q11`],[`minAdj3`,`max 0 q12`],[`a3`,`pin minAdj3 adj3 a1`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- x2 wd8 0`],[`x4`,`+- r 0 x3`],[`x5`,`+- r 0 x2`],[`x6`,`+- r 0 wd8`],[`dy1`,`*/ h a3 100000`],[`f1`,`*/ 4 dy1 w`],[`q1`,`*/ x3 x3 w`],[`q2`,`+- x3 0 q1`],[`u1`,`*/ f1 q2 1`],[`y1`,`+- b 0 u1`],[`cx1`,`*/ x3 1 2`],[`cu1`,`*/ f1 cx1 1`],[`cy1`,`+- b 0 cu1`],[`cx2`,`+- r 0 cx1`],[`q1`,`*/ h a1 100000`],[`dy3`,`+- q1 0 dy1`],[`q3`,`*/ x2 x2 w`],[`q4`,`+- x2 0 q3`],[`q5`,`*/ f1 q4 1`],[`u3`,`+- q5 dy3 0`],[`y3`,`+- b 0 u3`],[`q6`,`+- dy1 dy3 u3`],[`q7`,`+- q6 dy1 0`],[`cu3`,`+- q7 dy3 0`],[`cy3`,`+- b 0 cu3`],[`rh`,`+- b 0 q1`],[`q8`,`*/ dy1 14 16`],[`u2`,`+/ q8 rh 2`],[`y2`,`+- b 0 u2`],[`u5`,`+- q5 rh 0`],[`y5`,`+- b 0 u5`],[`u6`,`+- u3 rh 0`],[`y6`,`+- b 0 u6`],[`cx4`,`*/ x2 1 2`],[`q9`,`*/ f1 cx4 1`],[`cu4`,`+- q9 rh 0`],[`cy4`,`+- b 0 cu4`],[`cx5`,`+- r 0 cx4`],[`cu6`,`+- cu3 rh 0`],[`cy6`,`+- b 0 cu6`],[`u7`,`+- u1 dy3 0`],[`y7`,`+- b 0 u7`],[`cu7`,`+- q1 q1 u7`],[`cy7`,`+- b 0 cu7`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`Q`,`cx1`,`cy1`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`Q`,`cx2`,`cy1`,`r`,`b`],[`l`,`x6`,`y2`],[`l`,`r`,`q1`],[`Q`,`cx5`,`cy4`,`x5`,`y5`],[`l`,`x5`,`y6`],[`Q`,`hc`,`cy6`,`x2`,`y6`],[`l`,`x2`,`y5`],[`Q`,`cx4`,`cy4`,`l`,`q1`],[`l`,`wd8`,`y2`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x3`,`y7`],[`l`,`x3`,`y1`],[`l`,`x2`,`y3`],[`Q`,`hc`,`cy3`,`x5`,`y3`],[`l`,`x4`,`y1`],[`l`,`x4`,`y7`],[`Q`,`hc`,`cy7`,`x3`,`y7`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`wd8`,`y2`],[`l`,`l`,`q1`],[`Q`,`cx4`,`cy4`,`x2`,`y5`],[`l`,`x2`,`y6`],[`Q`,`hc`,`cy6`,`x5`,`y6`],[`l`,`x5`,`y5`],[`Q`,`cx5`,`cy4`,`r`,`q1`],[`l`,`x6`,`y2`],[`l`,`r`,`b`],[`Q`,`cx2`,`cy1`,`x4`,`y1`],[`l`,`x5`,`y3`],[`Q`,`hc`,`cy3`,`x2`,`y3`],[`l`,`x3`,`y1`],[`Q`,`cx1`,`cy1`,`l`,`b`],[`c`],[`m`,`x2`,`y3`],[`l`,`x2`,`y5`],[`m`,`x5`,`y5`],[`l`,`x5`,`y3`],[`m`,`x3`,`y7`],[`l`,`x3`,`y1`],[`m`,`x4`,`y1`],[`l`,`x4`,`y7`]]}]},flowchartalternateprocess:{adj:[],gd:[[`x2`,`+- r 0 ssd6`],[`y2`,`+- b 0 ssd6`],[`il`,`*/ ssd6 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`ssd6`],[`a`,`ssd6`,`ssd6`,`cd2`,`cd4`],[`l`,`x2`,`t`],[`a`,`ssd6`,`ssd6`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`ssd6`,`ssd6`,`0`,`cd4`],[`l`,`ssd6`,`b`],[`a`,`ssd6`,`ssd6`,`cd4`,`cd4`],[`c`]]}]},flowchartcollate:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`1`],[`l`,`2`,`2`],[`l`,`0`,`2`],[`l`,`1`,`1`],[`c`]]}]},flowchartconnector:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},flowchartdecision:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`2`,`1`],[`l`,`1`,`2`],[`c`]]}]},flowchartdelay:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`hc`,`t`],[`a`,`wd2`,`hd2`,`3cd4`,`cd2`],[`l`,`l`,`b`],[`c`]]}]},flowchartdisplay:{adj:[],gd:[[`x2`,`*/ w 5 6`]],paths:[{w:6,h:6,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`3`],[`l`,`1`,`0`],[`l`,`5`,`0`],[`a`,`1`,`3`,`3cd4`,`cd2`],[`l`,`1`,`6`],[`c`]]}]},flowchartdocument:{adj:[],gd:[[`y1`,`*/ h 17322 21600`],[`y2`,`*/ h 20172 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`21600`,`0`],[`l`,`21600`,`17322`],[`C`,`10800`,`17322`,`10800`,`23922`,`0`,`20172`],[`c`]]}]},flowchartextract:{adj:[],gd:[[`x2`,`*/ w 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`2`],[`l`,`1`,`0`],[`l`,`2`,`2`],[`c`]]}]},flowchartinputoutput:{adj:[],gd:[[`x3`,`*/ w 2 5`],[`x4`,`*/ w 3 5`],[`x5`,`*/ w 4 5`],[`x6`,`*/ w 9 10`]],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`5`],[`l`,`1`,`0`],[`l`,`5`,`0`],[`l`,`4`,`5`],[`c`]]}]},flowchartinternalstorage:{adj:[],gd:[],paths:[{w:1,h:1,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]},{w:8,h:8,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`1`,`0`],[`l`,`1`,`8`],[`m`,`0`,`1`],[`l`,`8`,`1`]]},{w:1,h:1,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]}]},flowchartmagneticdisk:{adj:[],gd:[[`y3`,`*/ h 5 6`]],paths:[{w:6,h:6,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`1`],[`a`,`3`,`1`,`cd2`,`cd2`],[`l`,`6`,`5`],[`a`,`3`,`1`,`0`,`cd2`],[`c`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`6`,`1`],[`a`,`3`,`1`,`0`,`cd2`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`a`,`3`,`1`,`cd2`,`cd2`],[`l`,`6`,`5`],[`a`,`3`,`1`,`0`,`cd2`],[`c`]]}]},flowchartmagneticdrum:{adj:[],gd:[[`x2`,`*/ w 2 3`]],paths:[{w:6,h:6,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`1`,`0`],[`l`,`5`,`0`],[`a`,`1`,`3`,`3cd4`,`cd2`],[`l`,`1`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`],[`c`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`5`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`]]},{w:6,h:6,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`1`,`0`],[`l`,`5`,`0`],[`a`,`1`,`3`,`3cd4`,`cd2`],[`l`,`1`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`],[`c`]]}]},flowchartmagnetictape:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`],[`ang1`,`at2 w h`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`hc`,`b`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`ang1`],[`l`,`r`,`ib`],[`l`,`r`,`b`],[`c`]]}]},flowchartmanualinput:{adj:[],gd:[],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`5`,`0`],[`l`,`5`,`5`],[`l`,`0`,`5`],[`c`]]}]},flowchartmanualoperation:{adj:[],gd:[[`x3`,`*/ w 4 5`],[`x4`,`*/ w 9 10`]],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`5`,`0`],[`l`,`4`,`5`],[`l`,`1`,`5`],[`c`]]}]},flowchartmerge:{adj:[],gd:[[`x2`,`*/ w 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`2`],[`c`]]}]},flowchartmultidocument:{adj:[],gd:[[`y2`,`*/ h 3675 21600`],[`y8`,`*/ h 20782 21600`],[`x3`,`*/ w 9298 21600`],[`x4`,`*/ w 12286 21600`],[`x5`,`*/ w 18595 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`20782`],[`C`,`9298`,`23542`,`9298`,`18022`,`18595`,`18022`],[`l`,`18595`,`3675`],[`l`,`0`,`3675`],[`c`],[`m`,`1532`,`3675`],[`l`,`1532`,`1815`],[`l`,`20000`,`1815`],[`l`,`20000`,`16252`],[`C`,`19298`,`16252`,`18595`,`16352`,`18595`,`16352`],[`l`,`18595`,`3675`],[`c`],[`m`,`2972`,`1815`],[`l`,`2972`,`0`],[`l`,`21600`,`0`],[`l`,`21600`,`14392`],[`C`,`20800`,`14392`,`20000`,`14467`,`20000`,`14467`],[`l`,`20000`,`1815`],[`c`]]},{w:21600,h:21600,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`3675`],[`l`,`18595`,`3675`],[`l`,`18595`,`18022`],[`C`,`9298`,`18022`,`9298`,`23542`,`0`,`20782`],[`c`],[`m`,`1532`,`3675`],[`l`,`1532`,`1815`],[`l`,`20000`,`1815`],[`l`,`20000`,`16252`],[`C`,`19298`,`16252`,`18595`,`16352`,`18595`,`16352`],[`m`,`2972`,`1815`],[`l`,`2972`,`0`],[`l`,`21600`,`0`],[`l`,`21600`,`14392`],[`C`,`20800`,`14392`,`20000`,`14467`,`20000`,`14467`]]},{w:21600,h:21600,fill:`none`,stroke:!1,extrusionOk:!0,cmds:[[`m`,`0`,`20782`],[`C`,`9298`,`23542`,`9298`,`18022`,`18595`,`18022`],[`l`,`18595`,`16352`],[`C`,`18595`,`16352`,`19298`,`16252`,`20000`,`16252`],[`l`,`20000`,`14467`],[`C`,`20000`,`14467`,`20800`,`14392`,`21600`,`14392`],[`l`,`21600`,`0`],[`l`,`2972`,`0`],[`l`,`2972`,`1815`],[`l`,`1532`,`1815`],[`l`,`1532`,`3675`],[`l`,`0`,`3675`],[`c`]]}]},flowchartofflinestorage:{adj:[],gd:[[`x4`,`*/ w 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`2`],[`c`]]},{w:5,h:5,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`2`,`4`],[`l`,`3`,`4`]]},{w:2,h:2,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`2`,`0`],[`l`,`1`,`2`],[`c`]]}]},flowchartoffpageconnector:{adj:[],gd:[[`y1`,`*/ h 4 5`]],paths:[{w:10,h:10,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`10`,`0`],[`l`,`10`,`8`],[`l`,`5`,`10`],[`l`,`0`,`8`],[`c`]]}]},flowchartonlinestorage:{adj:[],gd:[[`x2`,`*/ w 5 6`]],paths:[{w:6,h:6,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`1`,`0`],[`l`,`6`,`0`],[`a`,`1`,`3`,`3cd4`,`-10800000`],[`l`,`1`,`6`],[`a`,`1`,`3`,`cd4`,`cd2`],[`c`]]}]},flowchartor:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`hc`,`t`],[`l`,`hc`,`b`],[`m`,`l`,`vc`],[`l`,`r`,`vc`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},flowchartpredefinedprocess:{adj:[],gd:[[`x2`,`*/ w 7 8`]],paths:[{w:1,h:1,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]},{w:8,h:8,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`1`,`0`],[`l`,`1`,`8`],[`m`,`7`,`0`],[`l`,`7`,`8`]]},{w:1,h:1,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]}]},flowchartpreparation:{adj:[],gd:[[`x2`,`*/ w 4 5`]],paths:[{w:10,h:10,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`5`],[`l`,`2`,`0`],[`l`,`8`,`0`],[`l`,`10`,`5`],[`l`,`8`,`10`],[`l`,`2`,`10`],[`c`]]}]},flowchartprocess:{adj:[],gd:[],paths:[{w:1,h:1,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`0`],[`l`,`1`,`0`],[`l`,`1`,`1`],[`l`,`0`,`1`],[`c`]]}]},flowchartpunchedcard:{adj:[],gd:[],paths:[{w:5,h:5,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`5`,`0`],[`l`,`5`,`5`],[`l`,`0`,`5`],[`c`]]}]},flowchartpunchedtape:{adj:[],gd:[[`y2`,`*/ h 9 10`],[`ib`,`*/ h 4 5`]],paths:[{w:20,h:20,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`2`],[`a`,`5`,`2`,`cd2`,`-10800000`],[`a`,`5`,`2`,`cd2`,`cd2`],[`l`,`20`,`18`],[`a`,`5`,`2`,`0`,`-10800000`],[`a`,`5`,`2`,`0`,`cd2`],[`c`]]}]},flowchartsort:{adj:[],gd:[[`ir`,`*/ w 3 4`],[`ib`,`*/ h 3 4`]],paths:[{w:2,h:2,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`2`,`1`],[`l`,`1`,`2`],[`c`]]},{w:2,h:2,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`0`,`1`],[`l`,`2`,`1`]]},{w:2,h:2,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`0`,`1`],[`l`,`1`,`0`],[`l`,`2`,`1`],[`l`,`1`,`2`],[`c`]]}]},flowchartsummingjunction:{adj:[],gd:[[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`il`,`it`],[`l`,`ir`,`ib`],[`m`,`ir`,`it`],[`l`,`il`,`ib`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},flowchartterminator:{adj:[],gd:[[`il`,`*/ w 1018 21600`],[`ir`,`*/ w 20582 21600`],[`it`,`*/ h 3163 21600`],[`ib`,`*/ h 18437 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`3475`,`0`],[`l`,`18125`,`0`],[`a`,`3475`,`10800`,`3cd4`,`cd2`],[`l`,`3475`,`21600`],[`a`,`3475`,`10800`,`cd4`,`cd2`],[`c`]]}]},foldedcorner:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`dy2`,`*/ ss a 100000`],[`dy1`,`*/ dy2 1 5`],[`x1`,`+- r 0 dy2`],[`x2`,`+- x1 dy1 0`],[`y2`,`+- b 0 dy2`],[`y1`,`+- y2 dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y2`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x1`,`b`],[`l`,`x2`,`y1`],[`l`,`r`,`y2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`b`],[`l`,`x2`,`y1`],[`l`,`r`,`y2`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`l`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y2`]]}]},frame:{adj:[[`adj1`,`val 12500`]],gd:[[`a1`,`pin 0 adj1 50000`],[`x1`,`*/ ss a1 100000`],[`x4`,`+- r 0 x1`],[`y4`,`+- b 0 x1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`],[`m`,`x1`,`x1`],[`l`,`x1`,`y4`],[`l`,`x4`,`y4`],[`l`,`x4`,`x1`],[`c`]]}]},funnel:{adj:[],gd:[[`d`,`*/ ss 1 20`],[`rw2`,`+- wd2 0 d`],[`rh2`,`+- hd4 0 d`],[`t1`,`cos wd2 480000`],[`t2`,`sin hd4 480000`],[`da`,`at2 t1 t2`],[`2da`,`*/ da 2 1`],[`stAng1`,`+- cd2 0 da`],[`swAng1`,`+- cd2 2da 0`],[`swAng3`,`+- cd2 0 2da`],[`rw3`,`*/ wd2 1 4`],[`rh3`,`*/ hd4 1 4`],[`ct1`,`cos hd4 stAng1`],[`st1`,`sin wd2 stAng1`],[`m1`,`mod ct1 st1 0`],[`n1`,`*/ wd2 hd4 m1`],[`dx1`,`cos n1 stAng1`],[`dy1`,`sin n1 stAng1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- hd4 dy1 0`],[`ct3`,`cos rh3 da`],[`st3`,`sin rw3 da`],[`m3`,`mod ct3 st3 0`],[`n3`,`*/ rw3 rh3 m3`],[`dx3`,`cos n3 da`],[`dy3`,`sin n3 da`],[`x3`,`+- hc dx3 0`],[`vc3`,`+- b 0 rh3`],[`y2`,`+- vc3 dy3 0`],[`x2`,`+- wd2 0 rw2`],[`cd`,`*/ cd2 2 1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd4`,`stAng1`,`swAng1`],[`l`,`x3`,`y2`],[`a`,`rw3`,`rh3`,`da`,`swAng3`],[`c`],[`m`,`x2`,`hd4`],[`a`,`rw2`,`rh2`,`cd2`,`-21600000`],[`c`]]}]},gear6:{adj:[[`adj1`,`val 15000`],[`adj2`,`val 3526`]],gd:[[`a1`,`pin 0 adj1 20000`],[`a2`,`pin 0 adj2 5358`],[`th`,`*/ ss a1 100000`],[`lFD`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`l2`,`*/ lFD 1 2`],[`l3`,`+- th2 l2 0`],[`rh`,`+- hd2 0 th`],[`rw`,`+- wd2 0 th`],[`dr`,`+- rw 0 rh`],[`maxr`,`?: dr rh rw`],[`ha`,`at2 maxr l3`],[`aA1`,`+- 19800000 0 ha`],[`aD1`,`+- 19800000 ha 0`],[`ta11`,`cos rw aA1`],[`ta12`,`sin rh aA1`],[`bA1`,`at2 ta11 ta12`],[`cta1`,`cos rh bA1`],[`sta1`,`sin rw bA1`],[`ma1`,`mod cta1 sta1 0`],[`na1`,`*/ rw rh ma1`],[`dxa1`,`cos na1 bA1`],[`dya1`,`sin na1 bA1`],[`xA1`,`+- hc dxa1 0`],[`yA1`,`+- vc dya1 0`],[`td11`,`cos rw aD1`],[`td12`,`sin rh aD1`],[`bD1`,`at2 td11 td12`],[`ctd1`,`cos rh bD1`],[`std1`,`sin rw bD1`],[`md1`,`mod ctd1 std1 0`],[`nd1`,`*/ rw rh md1`],[`dxd1`,`cos nd1 bD1`],[`dyd1`,`sin nd1 bD1`],[`xD1`,`+- hc dxd1 0`],[`yD1`,`+- vc dyd1 0`],[`xAD1`,`+- xA1 0 xD1`],[`yAD1`,`+- yA1 0 yD1`],[`lAD1`,`mod xAD1 yAD1 0`],[`a1`,`at2 yAD1 xAD1`],[`dxF1`,`sin lFD a1`],[`dyF1`,`cos lFD a1`],[`xF1`,`+- xD1 dxF1 0`],[`yF1`,`+- yD1 dyF1 0`],[`xE1`,`+- xA1 0 dxF1`],[`yE1`,`+- yA1 0 dyF1`],[`yC1t`,`sin th a1`],[`xC1t`,`cos th a1`],[`yC1`,`+- yF1 yC1t 0`],[`xC1`,`+- xF1 0 xC1t`],[`yB1`,`+- yE1 yC1t 0`],[`xB1`,`+- xE1 0 xC1t`],[`aD6`,`+- 3cd4 ha 0`],[`td61`,`cos rw aD6`],[`td62`,`sin rh aD6`],[`bD6`,`at2 td61 td62`],[`ctd6`,`cos rh bD6`],[`std6`,`sin rw bD6`],[`md6`,`mod ctd6 std6 0`],[`nd6`,`*/ rw rh md6`],[`dxd6`,`cos nd6 bD6`],[`dyd6`,`sin nd6 bD6`],[`xD6`,`+- hc dxd6 0`],[`yD6`,`+- vc dyd6 0`],[`xA6`,`+- hc 0 dxd6`],[`xF6`,`+- xD6 0 lFD`],[`xE6`,`+- xA6 lFD 0`],[`yC6`,`+- yD6 0 th`],[`swAng1`,`+- bA1 0 bD6`],[`aA2`,`+- 1800000 0 ha`],[`aD2`,`+- 1800000 ha 0`],[`ta21`,`cos rw aA2`],[`ta22`,`sin rh aA2`],[`bA2`,`at2 ta21 ta22`],[`yA2`,`+- h 0 yD1`],[`td21`,`cos rw aD2`],[`td22`,`sin rh aD2`],[`bD2`,`at2 td21 td22`],[`yD2`,`+- h 0 yA1`],[`yC2`,`+- h 0 yB1`],[`yB2`,`+- h 0 yC1`],[`xB2`,`val xC1`],[`swAng2`,`+- bA2 0 bD1`],[`aD3`,`+- cd4 ha 0`],[`td31`,`cos rw aD3`],[`td32`,`sin rh aD3`],[`bD3`,`at2 td31 td32`],[`yD3`,`+- h 0 yD6`],[`yB3`,`+- h 0 yC6`],[`aD4`,`+- 9000000 ha 0`],[`td41`,`cos rw aD4`],[`td42`,`sin rh aD4`],[`bD4`,`at2 td41 td42`],[`xD4`,`+- w 0 xD1`],[`xC4`,`+- w 0 xC1`],[`xB4`,`+- w 0 xB1`],[`aD5`,`+- 12600000 ha 0`],[`td51`,`cos rw aD5`],[`td52`,`sin rh aD5`],[`bD5`,`at2 td51 td52`],[`xD5`,`+- w 0 xA1`],[`xC5`,`+- w 0 xB1`],[`xB5`,`+- w 0 xC1`],[`xCxn1`,`+/ xB1 xC1 2`],[`yCxn1`,`+/ yB1 yC1 2`],[`yCxn2`,`+- b 0 yCxn1`],[`xCxn4`,`+/ r 0 xCxn1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xA1`,`yA1`],[`l`,`xB1`,`yB1`],[`l`,`xC1`,`yC1`],[`l`,`xD1`,`yD1`],[`a`,`rw`,`rh`,`bD1`,`swAng2`],[`l`,`xC1`,`yB2`],[`l`,`xB1`,`yC2`],[`l`,`xA1`,`yD2`],[`a`,`rw`,`rh`,`bD2`,`swAng1`],[`l`,`xF6`,`yB3`],[`l`,`xE6`,`yB3`],[`l`,`xA6`,`yD3`],[`a`,`rw`,`rh`,`bD3`,`swAng1`],[`l`,`xB4`,`yC2`],[`l`,`xC4`,`yB2`],[`l`,`xD4`,`yA2`],[`a`,`rw`,`rh`,`bD4`,`swAng2`],[`l`,`xB5`,`yC1`],[`l`,`xC5`,`yB1`],[`l`,`xD5`,`yA1`],[`a`,`rw`,`rh`,`bD5`,`swAng1`],[`l`,`xE6`,`yC6`],[`l`,`xF6`,`yC6`],[`l`,`xD6`,`yD6`],[`a`,`rw`,`rh`,`bD6`,`swAng1`],[`c`]]}]},gear9:{adj:[[`adj1`,`val 10000`],[`adj2`,`val 1763`]],gd:[[`a1`,`pin 0 adj1 20000`],[`a2`,`pin 0 adj2 2679`],[`th`,`*/ ss a1 100000`],[`lFD`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`l2`,`*/ lFD 1 2`],[`l3`,`+- th2 l2 0`],[`rh`,`+- hd2 0 th`],[`rw`,`+- wd2 0 th`],[`dr`,`+- rw 0 rh`],[`maxr`,`?: dr rh rw`],[`ha`,`at2 maxr l3`],[`aA1`,`+- 18600000 0 ha`],[`aD1`,`+- 18600000 ha 0`],[`ta11`,`cos rw aA1`],[`ta12`,`sin rh aA1`],[`bA1`,`at2 ta11 ta12`],[`cta1`,`cos rh bA1`],[`sta1`,`sin rw bA1`],[`ma1`,`mod cta1 sta1 0`],[`na1`,`*/ rw rh ma1`],[`dxa1`,`cos na1 bA1`],[`dya1`,`sin na1 bA1`],[`xA1`,`+- hc dxa1 0`],[`yA1`,`+- vc dya1 0`],[`td11`,`cos rw aD1`],[`td12`,`sin rh aD1`],[`bD1`,`at2 td11 td12`],[`ctd1`,`cos rh bD1`],[`std1`,`sin rw bD1`],[`md1`,`mod ctd1 std1 0`],[`nd1`,`*/ rw rh md1`],[`dxd1`,`cos nd1 bD1`],[`dyd1`,`sin nd1 bD1`],[`xD1`,`+- hc dxd1 0`],[`yD1`,`+- vc dyd1 0`],[`xAD1`,`+- xA1 0 xD1`],[`yAD1`,`+- yA1 0 yD1`],[`lAD1`,`mod xAD1 yAD1 0`],[`a1`,`at2 yAD1 xAD1`],[`dxF1`,`sin lFD a1`],[`dyF1`,`cos lFD a1`],[`xF1`,`+- xD1 dxF1 0`],[`yF1`,`+- yD1 dyF1 0`],[`xE1`,`+- xA1 0 dxF1`],[`yE1`,`+- yA1 0 dyF1`],[`yC1t`,`sin th a1`],[`xC1t`,`cos th a1`],[`yC1`,`+- yF1 yC1t 0`],[`xC1`,`+- xF1 0 xC1t`],[`yB1`,`+- yE1 yC1t 0`],[`xB1`,`+- xE1 0 xC1t`],[`aA2`,`+- 21000000 0 ha`],[`aD2`,`+- 21000000 ha 0`],[`ta21`,`cos rw aA2`],[`ta22`,`sin rh aA2`],[`bA2`,`at2 ta21 ta22`],[`cta2`,`cos rh bA2`],[`sta2`,`sin rw bA2`],[`ma2`,`mod cta2 sta2 0`],[`na2`,`*/ rw rh ma2`],[`dxa2`,`cos na2 bA2`],[`dya2`,`sin na2 bA2`],[`xA2`,`+- hc dxa2 0`],[`yA2`,`+- vc dya2 0`],[`td21`,`cos rw aD2`],[`td22`,`sin rh aD2`],[`bD2`,`at2 td21 td22`],[`ctd2`,`cos rh bD2`],[`std2`,`sin rw bD2`],[`md2`,`mod ctd2 std2 0`],[`nd2`,`*/ rw rh md2`],[`dxd2`,`cos nd2 bD2`],[`dyd2`,`sin nd2 bD2`],[`xD2`,`+- hc dxd2 0`],[`yD2`,`+- vc dyd2 0`],[`xAD2`,`+- xA2 0 xD2`],[`yAD2`,`+- yA2 0 yD2`],[`lAD2`,`mod xAD2 yAD2 0`],[`a2`,`at2 yAD2 xAD2`],[`dxF2`,`sin lFD a2`],[`dyF2`,`cos lFD a2`],[`xF2`,`+- xD2 dxF2 0`],[`yF2`,`+- yD2 dyF2 0`],[`xE2`,`+- xA2 0 dxF2`],[`yE2`,`+- yA2 0 dyF2`],[`yC2t`,`sin th a2`],[`xC2t`,`cos th a2`],[`yC2`,`+- yF2 yC2t 0`],[`xC2`,`+- xF2 0 xC2t`],[`yB2`,`+- yE2 yC2t 0`],[`xB2`,`+- xE2 0 xC2t`],[`swAng1`,`+- bA2 0 bD1`],[`aA3`,`+- 1800000 0 ha`],[`aD3`,`+- 1800000 ha 0`],[`ta31`,`cos rw aA3`],[`ta32`,`sin rh aA3`],[`bA3`,`at2 ta31 ta32`],[`cta3`,`cos rh bA3`],[`sta3`,`sin rw bA3`],[`ma3`,`mod cta3 sta3 0`],[`na3`,`*/ rw rh ma3`],[`dxa3`,`cos na3 bA3`],[`dya3`,`sin na3 bA3`],[`xA3`,`+- hc dxa3 0`],[`yA3`,`+- vc dya3 0`],[`td31`,`cos rw aD3`],[`td32`,`sin rh aD3`],[`bD3`,`at2 td31 td32`],[`ctd3`,`cos rh bD3`],[`std3`,`sin rw bD3`],[`md3`,`mod ctd3 std3 0`],[`nd3`,`*/ rw rh md3`],[`dxd3`,`cos nd3 bD3`],[`dyd3`,`sin nd3 bD3`],[`xD3`,`+- hc dxd3 0`],[`yD3`,`+- vc dyd3 0`],[`xAD3`,`+- xA3 0 xD3`],[`yAD3`,`+- yA3 0 yD3`],[`lAD3`,`mod xAD3 yAD3 0`],[`a3`,`at2 yAD3 xAD3`],[`dxF3`,`sin lFD a3`],[`dyF3`,`cos lFD a3`],[`xF3`,`+- xD3 dxF3 0`],[`yF3`,`+- yD3 dyF3 0`],[`xE3`,`+- xA3 0 dxF3`],[`yE3`,`+- yA3 0 dyF3`],[`yC3t`,`sin th a3`],[`xC3t`,`cos th a3`],[`yC3`,`+- yF3 yC3t 0`],[`xC3`,`+- xF3 0 xC3t`],[`yB3`,`+- yE3 yC3t 0`],[`xB3`,`+- xE3 0 xC3t`],[`swAng2`,`+- bA3 0 bD2`],[`aA4`,`+- 4200000 0 ha`],[`aD4`,`+- 4200000 ha 0`],[`ta41`,`cos rw aA4`],[`ta42`,`sin rh aA4`],[`bA4`,`at2 ta41 ta42`],[`cta4`,`cos rh bA4`],[`sta4`,`sin rw bA4`],[`ma4`,`mod cta4 sta4 0`],[`na4`,`*/ rw rh ma4`],[`dxa4`,`cos na4 bA4`],[`dya4`,`sin na4 bA4`],[`xA4`,`+- hc dxa4 0`],[`yA4`,`+- vc dya4 0`],[`td41`,`cos rw aD4`],[`td42`,`sin rh aD4`],[`bD4`,`at2 td41 td42`],[`ctd4`,`cos rh bD4`],[`std4`,`sin rw bD4`],[`md4`,`mod ctd4 std4 0`],[`nd4`,`*/ rw rh md4`],[`dxd4`,`cos nd4 bD4`],[`dyd4`,`sin nd4 bD4`],[`xD4`,`+- hc dxd4 0`],[`yD4`,`+- vc dyd4 0`],[`xAD4`,`+- xA4 0 xD4`],[`yAD4`,`+- yA4 0 yD4`],[`lAD4`,`mod xAD4 yAD4 0`],[`a4`,`at2 yAD4 xAD4`],[`dxF4`,`sin lFD a4`],[`dyF4`,`cos lFD a4`],[`xF4`,`+- xD4 dxF4 0`],[`yF4`,`+- yD4 dyF4 0`],[`xE4`,`+- xA4 0 dxF4`],[`yE4`,`+- yA4 0 dyF4`],[`yC4t`,`sin th a4`],[`xC4t`,`cos th a4`],[`yC4`,`+- yF4 yC4t 0`],[`xC4`,`+- xF4 0 xC4t`],[`yB4`,`+- yE4 yC4t 0`],[`xB4`,`+- xE4 0 xC4t`],[`swAng3`,`+- bA4 0 bD3`],[`aA5`,`+- 6600000 0 ha`],[`aD5`,`+- 6600000 ha 0`],[`ta51`,`cos rw aA5`],[`ta52`,`sin rh aA5`],[`bA5`,`at2 ta51 ta52`],[`td51`,`cos rw aD5`],[`td52`,`sin rh aD5`],[`bD5`,`at2 td51 td52`],[`xD5`,`+- w 0 xA4`],[`xC5`,`+- w 0 xB4`],[`xB5`,`+- w 0 xC4`],[`swAng4`,`+- bA5 0 bD4`],[`aD6`,`+- 9000000 ha 0`],[`td61`,`cos rw aD6`],[`td62`,`sin rh aD6`],[`bD6`,`at2 td61 td62`],[`xD6`,`+- w 0 xA3`],[`xC6`,`+- w 0 xB3`],[`xB6`,`+- w 0 xC3`],[`aD7`,`+- 11400000 ha 0`],[`td71`,`cos rw aD7`],[`td72`,`sin rh aD7`],[`bD7`,`at2 td71 td72`],[`xD7`,`+- w 0 xA2`],[`xC7`,`+- w 0 xB2`],[`xB7`,`+- w 0 xC2`],[`aD8`,`+- 13800000 ha 0`],[`td81`,`cos rw aD8`],[`td82`,`sin rh aD8`],[`bD8`,`at2 td81 td82`],[`xA8`,`+- w 0 xD1`],[`xD8`,`+- w 0 xA1`],[`xC8`,`+- w 0 xB1`],[`xB8`,`+- w 0 xC1`],[`aA9`,`+- 3cd4 0 ha`],[`aD9`,`+- 3cd4 ha 0`],[`td91`,`cos rw aD9`],[`td92`,`sin rh aD9`],[`bD9`,`at2 td91 td92`],[`ctd9`,`cos rh bD9`],[`std9`,`sin rw bD9`],[`md9`,`mod ctd9 std9 0`],[`nd9`,`*/ rw rh md9`],[`dxd9`,`cos nd9 bD9`],[`dyd9`,`sin nd9 bD9`],[`xD9`,`+- hc dxd9 0`],[`yD9`,`+- vc dyd9 0`],[`ta91`,`cos rw aA9`],[`ta92`,`sin rh aA9`],[`bA9`,`at2 ta91 ta92`],[`xA9`,`+- hc 0 dxd9`],[`xF9`,`+- xD9 0 lFD`],[`xE9`,`+- xA9 lFD 0`],[`yC9`,`+- yD9 0 th`],[`swAng5`,`+- bA9 0 bD8`],[`xCxn1`,`+/ xB1 xC1 2`],[`yCxn1`,`+/ yB1 yC1 2`],[`xCxn2`,`+/ xB2 xC2 2`],[`yCxn2`,`+/ yB2 yC2 2`],[`xCxn3`,`+/ xB3 xC3 2`],[`yCxn3`,`+/ yB3 yC3 2`],[`xCxn4`,`+/ xB4 xC4 2`],[`yCxn4`,`+/ yB4 yC4 2`],[`xCxn5`,`+/ r 0 xCxn4`],[`xCxn6`,`+/ r 0 xCxn3`],[`xCxn7`,`+/ r 0 xCxn2`],[`xCxn8`,`+/ r 0 xCxn1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xA1`,`yA1`],[`l`,`xB1`,`yB1`],[`l`,`xC1`,`yC1`],[`l`,`xD1`,`yD1`],[`a`,`rw`,`rh`,`bD1`,`swAng1`],[`l`,`xB2`,`yB2`],[`l`,`xC2`,`yC2`],[`l`,`xD2`,`yD2`],[`a`,`rw`,`rh`,`bD2`,`swAng2`],[`l`,`xB3`,`yB3`],[`l`,`xC3`,`yC3`],[`l`,`xD3`,`yD3`],[`a`,`rw`,`rh`,`bD3`,`swAng3`],[`l`,`xB4`,`yB4`],[`l`,`xC4`,`yC4`],[`l`,`xD4`,`yD4`],[`a`,`rw`,`rh`,`bD4`,`swAng4`],[`l`,`xB5`,`yC4`],[`l`,`xC5`,`yB4`],[`l`,`xD5`,`yA4`],[`a`,`rw`,`rh`,`bD5`,`swAng3`],[`l`,`xB6`,`yC3`],[`l`,`xC6`,`yB3`],[`l`,`xD6`,`yA3`],[`a`,`rw`,`rh`,`bD6`,`swAng2`],[`l`,`xB7`,`yC2`],[`l`,`xC7`,`yB2`],[`l`,`xD7`,`yA2`],[`a`,`rw`,`rh`,`bD7`,`swAng1`],[`l`,`xB8`,`yC1`],[`l`,`xC8`,`yB1`],[`l`,`xD8`,`yA1`],[`a`,`rw`,`rh`,`bD8`,`swAng5`],[`l`,`xE9`,`yC9`],[`l`,`xF9`,`yC9`],[`l`,`xD9`,`yD9`],[`a`,`rw`,`rh`,`bD9`,`swAng5`],[`c`]]}]},halfframe:{adj:[[`adj1`,`val 33333`],[`adj2`,`val 33333`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`x1`,`*/ ss a2 100000`],[`g1`,`*/ h x1 w`],[`g2`,`+- h 0 g1`],[`maxAdj1`,`*/ 100000 g2 ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`y1`,`*/ ss a1 100000`],[`dx2`,`*/ y1 w h`],[`x2`,`+- r 0 dx2`],[`dy2`,`*/ x1 h w`],[`y2`,`+- b 0 dy2`],[`cx1`,`*/ x1 1 2`],[`cy1`,`+/ y2 b 2`],[`cx2`,`+/ x2 r 2`],[`cy2`,`*/ y1 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`x1`,`y2`],[`l`,`l`,`b`],[`c`]]}]},heart:{adj:[],gd:[[`dx1`,`*/ w 49 48`],[`dx2`,`*/ w 10 48`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- t 0 hd3`],[`il`,`*/ w 1 6`],[`ir`,`*/ w 5 6`],[`ib`,`*/ h 2 3`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`hc`,`hd4`],[`C`,`x3`,`y1`,`x4`,`hd4`,`hc`,`b`],[`C`,`x1`,`hd4`,`x2`,`y1`,`hc`,`hd4`],[`c`]]}]},heptagon:{adj:[[`hf`,`val 102572`],[`vf`,`val 105210`]],gd:[[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`*/ swd2 97493 100000`],[`dx2`,`*/ swd2 78183 100000`],[`dx3`,`*/ swd2 43388 100000`],[`dy1`,`*/ shd2 62349 100000`],[`dy2`,`*/ shd2 22252 100000`],[`dy3`,`*/ shd2 90097 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x5`,`+- hc dx2 0`],[`x6`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc dy2 0`],[`y3`,`+- svc dy3 0`],[`ib`,`+- b 0 y1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`x2`,`y1`],[`l`,`hc`,`t`],[`l`,`x5`,`y1`],[`l`,`x6`,`y2`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`c`]]}]},hexagon:{adj:[[`adj`,`val 25000`],[`vf`,`val 115470`]],gd:[[`maxAdj`,`*/ 50000 w ss`],[`a`,`pin 0 adj maxAdj`],[`shd2`,`*/ hd2 vf 100000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`dy1`,`sin shd2 3600000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`q1`,`*/ maxAdj -1 2`],[`q2`,`+- a q1 0`],[`q3`,`?: q2 4 2`],[`q4`,`?: q2 3 2`],[`q5`,`?: q2 q1 0`],[`q6`,`+/ a q5 q1`],[`q7`,`*/ q6 q4 -1`],[`q8`,`+- q3 q7 0`],[`il`,`*/ w q8 24`],[`it`,`*/ h q8 24`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y1`],[`l`,`x2`,`y1`],[`l`,`r`,`vc`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`]]}]},homeplate:{adj:[[`adj`,`val 50000`]],gd:[[`maxAdj`,`*/ 100000 w ss`],[`a`,`pin 0 adj maxAdj`],[`dx1`,`*/ ss a 100000`],[`x1`,`+- r 0 dx1`],[`ir`,`+/ x1 r 2`],[`x2`,`*/ x1 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`r`,`vc`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`c`]]}]},horizontalscroll:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 25000`],[`ch`,`*/ ss a 100000`],[`ch2`,`*/ ch 1 2`],[`ch4`,`*/ ch 1 4`],[`y3`,`+- ch ch2 0`],[`y4`,`+- ch ch 0`],[`y6`,`+- b 0 ch`],[`y7`,`+- b 0 ch2`],[`y5`,`+- y6 0 ch2`],[`x3`,`+- r 0 ch`],[`x4`,`+- r 0 ch2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`ch2`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`l`,`x4`,`ch2`],[`a`,`ch4`,`ch4`,`0`,`cd2`],[`l`,`x3`,`ch`],[`l`,`ch2`,`ch`],[`a`,`ch2`,`ch2`,`3cd4`,`-5400000`],[`l`,`l`,`y7`],[`a`,`ch2`,`ch2`,`cd2`,`-10800000`],[`l`,`ch`,`y6`],[`l`,`x4`,`y6`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`c`],[`m`,`ch2`,`y4`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`a`,`ch4`,`ch4`,`0`,`-10800000`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`ch2`,`y4`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`a`,`ch4`,`ch4`,`0`,`-10800000`],[`c`],[`m`,`x4`,`ch`],[`a`,`ch2`,`ch2`,`cd4`,`-16200000`],[`a`,`ch4`,`ch4`,`cd2`,`-10800000`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`y3`],[`a`,`ch2`,`ch2`,`cd2`,`cd4`],[`l`,`x3`,`ch`],[`l`,`x3`,`ch2`],[`a`,`ch2`,`ch2`,`cd2`,`cd2`],[`l`,`r`,`y5`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`l`,`ch`,`y6`],[`l`,`ch`,`y7`],[`a`,`ch2`,`ch2`,`0`,`cd2`],[`c`],[`m`,`x3`,`ch`],[`l`,`x4`,`ch`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`m`,`x4`,`ch`],[`l`,`x4`,`ch2`],[`a`,`ch4`,`ch4`,`0`,`cd2`],[`m`,`ch2`,`y4`],[`l`,`ch2`,`y3`],[`a`,`ch4`,`ch4`,`cd2`,`cd2`],[`a`,`ch2`,`ch2`,`0`,`cd2`],[`m`,`ch`,`y3`],[`l`,`ch`,`y6`]]}]},irregularseal1:{adj:[],gd:[[`x5`,`*/ w 4627 21600`],[`x12`,`*/ w 8485 21600`],[`x21`,`*/ w 16702 21600`],[`x24`,`*/ w 14522 21600`],[`y3`,`*/ h 6320 21600`],[`y6`,`*/ h 8615 21600`],[`y9`,`*/ h 13937 21600`],[`y18`,`*/ h 13290 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`10800`,`5800`],[`l`,`14522`,`0`],[`l`,`14155`,`5325`],[`l`,`18380`,`4457`],[`l`,`16702`,`7315`],[`l`,`21097`,`8137`],[`l`,`17607`,`10475`],[`l`,`21600`,`13290`],[`l`,`16837`,`12942`],[`l`,`18145`,`18095`],[`l`,`14020`,`14457`],[`l`,`13247`,`19737`],[`l`,`10532`,`14935`],[`l`,`8485`,`21600`],[`l`,`7715`,`15627`],[`l`,`4762`,`17617`],[`l`,`5667`,`13937`],[`l`,`135`,`14587`],[`l`,`3722`,`11775`],[`l`,`0`,`8615`],[`l`,`4627`,`7617`],[`l`,`370`,`2295`],[`l`,`7312`,`6320`],[`l`,`8352`,`2295`],[`c`]]}]},irregularseal2:{adj:[],gd:[[`x2`,`*/ w 9722 21600`],[`x5`,`*/ w 5372 21600`],[`x16`,`*/ w 11612 21600`],[`x19`,`*/ w 14640 21600`],[`y2`,`*/ h 1887 21600`],[`y3`,`*/ h 6382 21600`],[`y8`,`*/ h 12877 21600`],[`y14`,`*/ h 19712 21600`],[`y16`,`*/ h 18842 21600`],[`y17`,`*/ h 15935 21600`],[`y24`,`*/ h 6645 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`11462`,`4342`],[`l`,`14790`,`0`],[`l`,`14525`,`5777`],[`l`,`18007`,`3172`],[`l`,`16380`,`6532`],[`l`,`21600`,`6645`],[`l`,`16985`,`9402`],[`l`,`18270`,`11290`],[`l`,`16380`,`12310`],[`l`,`18877`,`15632`],[`l`,`14640`,`14350`],[`l`,`14942`,`17370`],[`l`,`12180`,`15935`],[`l`,`11612`,`18842`],[`l`,`9872`,`17370`],[`l`,`8700`,`19712`],[`l`,`7527`,`18125`],[`l`,`4917`,`21600`],[`l`,`4805`,`18240`],[`l`,`1285`,`17825`],[`l`,`3330`,`15370`],[`l`,`0`,`12877`],[`l`,`3935`,`11592`],[`l`,`1172`,`8270`],[`l`,`5372`,`7817`],[`l`,`4502`,`3625`],[`l`,`8550`,`6382`],[`l`,`9722`,`1887`],[`c`]]}]},leftarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- l dx2 0`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`dx1`,`*/ y1 dx2 hd2`],[`x1`,`+- x2 0 dx1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x2`,`t`],[`l`,`x2`,`y1`],[`l`,`r`,`y1`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`c`]]}]},leftarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 w ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss w`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dy1`,`*/ ss a2 100000`],[`dy2`,`*/ ss a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ w a4 100000`],[`x2`,`+- r 0 dx2`],[`x3`,`+/ x2 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y1`],[`l`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`x2`,`b`],[`l`,`x2`,`y3`],[`l`,`x1`,`y3`],[`l`,`x1`,`y4`],[`c`]]}]},leftbrace:{adj:[[`adj1`,`val 8333`],[`adj2`,`val 50000`]],gd:[[`a2`,`pin 0 adj2 100000`],[`q1`,`+- 100000 0 a2`],[`q2`,`min q1 a2`],[`q3`,`*/ q2 1 2`],[`maxAdj1`,`*/ q3 h ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`y1`,`*/ ss a1 100000`],[`y3`,`*/ h a2 100000`],[`y4`,`+- y3 y1 0`],[`dx1`,`cos wd2 2700000`],[`dy1`,`sin y1 2700000`],[`il`,`+- r 0 dx1`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`b`],[`a`,`wd2`,`y1`,`cd4`,`cd4`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`-5400000`],[`a`,`wd2`,`y1`,`cd4`,`-5400000`],[`l`,`hc`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`b`],[`a`,`wd2`,`y1`,`cd4`,`cd4`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`-5400000`],[`a`,`wd2`,`y1`,`cd4`,`-5400000`],[`l`,`hc`,`y1`],[`a`,`wd2`,`y1`,`cd2`,`cd4`]]}]},leftbracket:{adj:[[`adj`,`val 8333`]],gd:[[`maxAdj`,`*/ 50000 h ss`],[`a`,`pin 0 adj maxAdj`],[`y1`,`*/ ss a 100000`],[`y2`,`+- b 0 y1`],[`dx1`,`cos w 2700000`],[`dy1`,`sin y1 2700000`],[`il`,`+- r 0 dx1`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`r`,`b`],[`a`,`w`,`y1`,`cd4`,`cd4`],[`l`,`l`,`y1`],[`a`,`w`,`y1`,`cd2`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`b`],[`a`,`w`,`y1`,`cd4`,`cd4`],[`l`,`l`,`y1`],[`a`,`w`,`y1`,`cd2`,`cd4`]]}]},leftcirculararrow:{adj:[[`adj1`,`val 12500`],[`adj2`,`val -1142319`],[`adj3`,`val 1142319`],[`adj4`,`val 10800000`],[`adj5`,`val 12500`]],gd:[[`a5`,`pin 0 adj5 25000`],[`maxAdj1`,`*/ a5 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`enAng`,`pin 1 adj3 21599999`],[`stAng`,`pin 0 adj4 21599999`],[`th`,`*/ ss a1 100000`],[`thh`,`*/ ss a5 100000`],[`th2`,`*/ th 1 2`],[`rw1`,`+- wd2 th2 thh`],[`rh1`,`+- hd2 th2 thh`],[`rw2`,`+- rw1 0 th`],[`rh2`,`+- rh1 0 th`],[`rw3`,`+- rw2 th2 0`],[`rh3`,`+- rh2 th2 0`],[`wtH`,`sin rw3 enAng`],[`htH`,`cos rh3 enAng`],[`dxH`,`cat2 rw3 htH wtH`],[`dyH`,`sat2 rh3 htH wtH`],[`xH`,`+- hc dxH 0`],[`yH`,`+- vc dyH 0`],[`rI`,`min rw2 rh2`],[`u1`,`*/ dxH dxH 1`],[`u2`,`*/ dyH dyH 1`],[`u3`,`*/ rI rI 1`],[`u4`,`+- u1 0 u3`],[`u5`,`+- u2 0 u3`],[`u6`,`*/ u4 u5 u1`],[`u7`,`*/ u6 1 u2`],[`u8`,`+- 1 0 u7`],[`u9`,`sqrt u8`],[`u10`,`*/ u4 1 dxH`],[`u11`,`*/ u10 1 dyH`],[`u12`,`+/ 1 u9 u11`],[`u13`,`at2 1 u12`],[`u14`,`+- u13 21600000 0`],[`u15`,`?: u13 u13 u14`],[`u16`,`+- u15 0 enAng`],[`u17`,`+- u16 21600000 0`],[`u18`,`?: u16 u16 u17`],[`u19`,`+- u18 0 cd2`],[`u20`,`+- u18 0 21600000`],[`u21`,`?: u19 u20 u18`],[`u22`,`abs u21`],[`minAng`,`*/ u22 -1 1`],[`u23`,`abs adj2`],[`a2`,`*/ u23 -1 1`],[`aAng`,`pin minAng a2 0`],[`ptAng`,`+- enAng aAng 0`],[`wtA`,`sin rw3 ptAng`],[`htA`,`cos rh3 ptAng`],[`dxA`,`cat2 rw3 htA wtA`],[`dyA`,`sat2 rh3 htA wtA`],[`xA`,`+- hc dxA 0`],[`yA`,`+- vc dyA 0`],[`wtE`,`sin rw1 stAng`],[`htE`,`cos rh1 stAng`],[`dxE`,`cat2 rw1 htE wtE`],[`dyE`,`sat2 rh1 htE wtE`],[`xE`,`+- hc dxE 0`],[`yE`,`+- vc dyE 0`],[`wtD`,`sin rw2 stAng`],[`htD`,`cos rh2 stAng`],[`dxD`,`cat2 rw2 htD wtD`],[`dyD`,`sat2 rh2 htD wtD`],[`xD`,`+- hc dxD 0`],[`yD`,`+- vc dyD 0`],[`dxG`,`cos thh ptAng`],[`dyG`,`sin thh ptAng`],[`xG`,`+- xH dxG 0`],[`yG`,`+- yH dyG 0`],[`dxB`,`cos thh ptAng`],[`dyB`,`sin thh ptAng`],[`xB`,`+- xH 0 dxB 0`],[`yB`,`+- yH 0 dyB 0`],[`sx1`,`+- xB 0 hc`],[`sy1`,`+- yB 0 vc`],[`sx2`,`+- xG 0 hc`],[`sy2`,`+- yG 0 vc`],[`rO`,`min rw1 rh1`],[`x1O`,`*/ sx1 rO rw1`],[`y1O`,`*/ sy1 rO rh1`],[`x2O`,`*/ sx2 rO rw1`],[`y2O`,`*/ sy2 rO rh1`],[`dxO`,`+- x2O 0 x1O`],[`dyO`,`+- y2O 0 y1O`],[`dO`,`mod dxO dyO 0`],[`q1`,`*/ x1O y2O 1`],[`q2`,`*/ x2O y1O 1`],[`DO`,`+- q1 0 q2`],[`q3`,`*/ rO rO 1`],[`q4`,`*/ dO dO 1`],[`q5`,`*/ q3 q4 1`],[`q6`,`*/ DO DO 1`],[`q7`,`+- q5 0 q6`],[`q8`,`max q7 0`],[`sdelO`,`sqrt q8`],[`ndyO`,`*/ dyO -1 1`],[`sdyO`,`?: ndyO -1 1`],[`q9`,`*/ sdyO dxO 1`],[`q10`,`*/ q9 sdelO 1`],[`q11`,`*/ DO dyO 1`],[`dxF1`,`+/ q11 q10 q4`],[`q12`,`+- q11 0 q10`],[`dxF2`,`*/ q12 1 q4`],[`adyO`,`abs dyO`],[`q13`,`*/ adyO sdelO 1`],[`q14`,`*/ DO dxO -1`],[`dyF1`,`+/ q14 q13 q4`],[`q15`,`+- q14 0 q13`],[`dyF2`,`*/ q15 1 q4`],[`q16`,`+- x2O 0 dxF1`],[`q17`,`+- x2O 0 dxF2`],[`q18`,`+- y2O 0 dyF1`],[`q19`,`+- y2O 0 dyF2`],[`q20`,`mod q16 q18 0`],[`q21`,`mod q17 q19 0`],[`q22`,`+- q21 0 q20`],[`dxF`,`?: q22 dxF1 dxF2`],[`dyF`,`?: q22 dyF1 dyF2`],[`sdxF`,`*/ dxF rw1 rO`],[`sdyF`,`*/ dyF rh1 rO`],[`xF`,`+- hc sdxF 0`],[`yF`,`+- vc sdyF 0`],[`x1I`,`*/ sx1 rI rw2`],[`y1I`,`*/ sy1 rI rh2`],[`x2I`,`*/ sx2 rI rw2`],[`y2I`,`*/ sy2 rI rh2`],[`dxI`,`+- x2I 0 x1I`],[`dyI`,`+- y2I 0 y1I`],[`dI`,`mod dxI dyI 0`],[`v1`,`*/ x1I y2I 1`],[`v2`,`*/ x2I y1I 1`],[`DI`,`+- v1 0 v2`],[`v3`,`*/ rI rI 1`],[`v4`,`*/ dI dI 1`],[`v5`,`*/ v3 v4 1`],[`v6`,`*/ DI DI 1`],[`v7`,`+- v5 0 v6`],[`v8`,`max v7 0`],[`sdelI`,`sqrt v8`],[`v9`,`*/ sdyO dxI 1`],[`v10`,`*/ v9 sdelI 1`],[`v11`,`*/ DI dyI 1`],[`dxC1`,`+/ v11 v10 v4`],[`v12`,`+- v11 0 v10`],[`dxC2`,`*/ v12 1 v4`],[`adyI`,`abs dyI`],[`v13`,`*/ adyI sdelI 1`],[`v14`,`*/ DI dxI -1`],[`dyC1`,`+/ v14 v13 v4`],[`v15`,`+- v14 0 v13`],[`dyC2`,`*/ v15 1 v4`],[`v16`,`+- x1I 0 dxC1`],[`v17`,`+- x1I 0 dxC2`],[`v18`,`+- y1I 0 dyC1`],[`v19`,`+- y1I 0 dyC2`],[`v20`,`mod v16 v18 0`],[`v21`,`mod v17 v19 0`],[`v22`,`+- v21 0 v20`],[`dxC`,`?: v22 dxC1 dxC2`],[`dyC`,`?: v22 dyC1 dyC2`],[`sdxC`,`*/ dxC rw2 rI`],[`sdyC`,`*/ dyC rh2 rI`],[`xC`,`+- hc sdxC 0`],[`yC`,`+- vc sdyC 0`],[`ist0`,`at2 sdxC sdyC`],[`ist1`,`+- ist0 21600000 0`],[`istAng0`,`?: ist0 ist0 ist1`],[`isw1`,`+- stAng 0 istAng0`],[`isw2`,`+- isw1 21600000 0`],[`iswAng0`,`?: isw1 isw1 isw2`],[`istAng`,`+- istAng0 iswAng0 0`],[`iswAng`,`+- 0 0 iswAng0`],[`p1`,`+- xF 0 xC`],[`p2`,`+- yF 0 yC`],[`p3`,`mod p1 p2 0`],[`p4`,`*/ p3 1 2`],[`p5`,`+- p4 0 thh`],[`xGp`,`?: p5 xF xG`],[`yGp`,`?: p5 yF yG`],[`xBp`,`?: p5 xC xB`],[`yBp`,`?: p5 yC yB`],[`en0`,`at2 sdxF sdyF`],[`en1`,`+- en0 21600000 0`],[`en2`,`?: en0 en0 en1`],[`sw0`,`+- en2 0 stAng`],[`sw1`,`+- sw0 0 21600000`],[`swAng`,`?: sw0 sw1 sw0`],[`stAng0`,`+- stAng swAng 0`],[`swAng0`,`+- 0 0 swAng`],[`wtI`,`sin rw3 stAng`],[`htI`,`cos rh3 stAng`],[`dxI`,`cat2 rw3 htI wtI`],[`dyI`,`sat2 rh3 htI wtI`],[`xI`,`+- hc dxI 0`],[`yI`,`+- vc dyI 0`],[`aI`,`+- stAng cd4 0`],[`aA`,`+- ptAng 0 cd4`],[`aB`,`+- ptAng cd2 0`],[`idx`,`cos rw1 2700000`],[`idy`,`sin rh1 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xE`,`yE`],[`l`,`xD`,`yD`],[`a`,`rw2`,`rh2`,`istAng`,`iswAng`],[`l`,`xBp`,`yBp`],[`l`,`xA`,`yA`],[`l`,`xGp`,`yGp`],[`l`,`xF`,`yF`],[`a`,`rw1`,`rh1`,`stAng0`,`swAng0`],[`c`]]}]},leftrightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`x2`,`*/ ss a2 100000`],[`x3`,`+- r 0 x2`],[`dy`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy`],[`y2`,`+- vc dy 0`],[`dx1`,`*/ y1 x2 hd2`],[`x1`,`+- x2 0 dx1`],[`x4`,`+- x3 dx1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x2`,`t`],[`l`,`x2`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`t`],[`l`,`r`,`vc`],[`l`,`x3`,`b`],[`l`,`x3`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`c`]]}]},leftrightarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 48123`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 50000 w ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss wd2`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dy1`,`*/ ss a2 100000`],[`dy2`,`*/ ss a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`x1`,`*/ ss a3 100000`],[`x4`,`+- r 0 x1`],[`dx2`,`*/ w a4 200000`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y1`],[`l`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`x3`,`y2`],[`l`,`x4`,`y2`],[`l`,`x4`,`y1`],[`l`,`r`,`vc`],[`l`,`x4`,`y4`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`b`],[`l`,`x2`,`b`],[`l`,`x2`,`y3`],[`l`,`x1`,`y3`],[`l`,`x1`,`y4`],[`c`]]}]},leftrightcirculararrow:{adj:[[`adj1`,`val 12500`],[`adj2`,`val 1142319`],[`adj3`,`val 20457681`],[`adj4`,`val 11942319`],[`adj5`,`val 12500`]],gd:[[`a5`,`pin 0 adj5 25000`],[`maxAdj1`,`*/ a5 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`enAng`,`pin 1 adj3 21599999`],[`stAng`,`pin 0 adj4 21599999`],[`th`,`*/ ss a1 100000`],[`thh`,`*/ ss a5 100000`],[`th2`,`*/ th 1 2`],[`rw1`,`+- wd2 th2 thh`],[`rh1`,`+- hd2 th2 thh`],[`rw2`,`+- rw1 0 th`],[`rh2`,`+- rh1 0 th`],[`rw3`,`+- rw2 th2 0`],[`rh3`,`+- rh2 th2 0`],[`wtH`,`sin rw3 enAng`],[`htH`,`cos rh3 enAng`],[`dxH`,`cat2 rw3 htH wtH`],[`dyH`,`sat2 rh3 htH wtH`],[`xH`,`+- hc dxH 0`],[`yH`,`+- vc dyH 0`],[`rI`,`min rw2 rh2`],[`u1`,`*/ dxH dxH 1`],[`u2`,`*/ dyH dyH 1`],[`u3`,`*/ rI rI 1`],[`u4`,`+- u1 0 u3`],[`u5`,`+- u2 0 u3`],[`u6`,`*/ u4 u5 u1`],[`u7`,`*/ u6 1 u2`],[`u8`,`+- 1 0 u7`],[`u9`,`sqrt u8`],[`u10`,`*/ u4 1 dxH`],[`u11`,`*/ u10 1 dyH`],[`u12`,`+/ 1 u9 u11`],[`u13`,`at2 1 u12`],[`u14`,`+- u13 21600000 0`],[`u15`,`?: u13 u13 u14`],[`u16`,`+- u15 0 enAng`],[`u17`,`+- u16 21600000 0`],[`u18`,`?: u16 u16 u17`],[`u19`,`+- u18 0 cd2`],[`u20`,`+- u18 0 21600000`],[`u21`,`?: u19 u20 u18`],[`maxAng`,`abs u21`],[`aAng`,`pin 0 adj2 maxAng`],[`ptAng`,`+- enAng aAng 0`],[`wtA`,`sin rw3 ptAng`],[`htA`,`cos rh3 ptAng`],[`dxA`,`cat2 rw3 htA wtA`],[`dyA`,`sat2 rh3 htA wtA`],[`xA`,`+- hc dxA 0`],[`yA`,`+- vc dyA 0`],[`dxG`,`cos thh ptAng`],[`dyG`,`sin thh ptAng`],[`xG`,`+- xH dxG 0`],[`yG`,`+- yH dyG 0`],[`dxB`,`cos thh ptAng`],[`dyB`,`sin thh ptAng`],[`xB`,`+- xH 0 dxB 0`],[`yB`,`+- yH 0 dyB 0`],[`sx1`,`+- xB 0 hc`],[`sy1`,`+- yB 0 vc`],[`sx2`,`+- xG 0 hc`],[`sy2`,`+- yG 0 vc`],[`rO`,`min rw1 rh1`],[`x1O`,`*/ sx1 rO rw1`],[`y1O`,`*/ sy1 rO rh1`],[`x2O`,`*/ sx2 rO rw1`],[`y2O`,`*/ sy2 rO rh1`],[`dxO`,`+- x2O 0 x1O`],[`dyO`,`+- y2O 0 y1O`],[`dO`,`mod dxO dyO 0`],[`q1`,`*/ x1O y2O 1`],[`q2`,`*/ x2O y1O 1`],[`DO`,`+- q1 0 q2`],[`q3`,`*/ rO rO 1`],[`q4`,`*/ dO dO 1`],[`q5`,`*/ q3 q4 1`],[`q6`,`*/ DO DO 1`],[`q7`,`+- q5 0 q6`],[`q8`,`max q7 0`],[`sdelO`,`sqrt q8`],[`ndyO`,`*/ dyO -1 1`],[`sdyO`,`?: ndyO -1 1`],[`q9`,`*/ sdyO dxO 1`],[`q10`,`*/ q9 sdelO 1`],[`q11`,`*/ DO dyO 1`],[`dxF1`,`+/ q11 q10 q4`],[`q12`,`+- q11 0 q10`],[`dxF2`,`*/ q12 1 q4`],[`adyO`,`abs dyO`],[`q13`,`*/ adyO sdelO 1`],[`q14`,`*/ DO dxO -1`],[`dyF1`,`+/ q14 q13 q4`],[`q15`,`+- q14 0 q13`],[`dyF2`,`*/ q15 1 q4`],[`q16`,`+- x2O 0 dxF1`],[`q17`,`+- x2O 0 dxF2`],[`q18`,`+- y2O 0 dyF1`],[`q19`,`+- y2O 0 dyF2`],[`q20`,`mod q16 q18 0`],[`q21`,`mod q17 q19 0`],[`q22`,`+- q21 0 q20`],[`dxF`,`?: q22 dxF1 dxF2`],[`dyF`,`?: q22 dyF1 dyF2`],[`sdxF`,`*/ dxF rw1 rO`],[`sdyF`,`*/ dyF rh1 rO`],[`xF`,`+- hc sdxF 0`],[`yF`,`+- vc sdyF 0`],[`x1I`,`*/ sx1 rI rw2`],[`y1I`,`*/ sy1 rI rh2`],[`x2I`,`*/ sx2 rI rw2`],[`y2I`,`*/ sy2 rI rh2`],[`dxI`,`+- x2I 0 x1I`],[`dyI`,`+- y2I 0 y1I`],[`dI`,`mod dxI dyI 0`],[`v1`,`*/ x1I y2I 1`],[`v2`,`*/ x2I y1I 1`],[`DI`,`+- v1 0 v2`],[`v3`,`*/ rI rI 1`],[`v4`,`*/ dI dI 1`],[`v5`,`*/ v3 v4 1`],[`v6`,`*/ DI DI 1`],[`v7`,`+- v5 0 v6`],[`v8`,`max v7 0`],[`sdelI`,`sqrt v8`],[`v9`,`*/ sdyO dxI 1`],[`v10`,`*/ v9 sdelI 1`],[`v11`,`*/ DI dyI 1`],[`dxC1`,`+/ v11 v10 v4`],[`v12`,`+- v11 0 v10`],[`dxC2`,`*/ v12 1 v4`],[`adyI`,`abs dyI`],[`v13`,`*/ adyI sdelI 1`],[`v14`,`*/ DI dxI -1`],[`dyC1`,`+/ v14 v13 v4`],[`v15`,`+- v14 0 v13`],[`dyC2`,`*/ v15 1 v4`],[`v16`,`+- x1I 0 dxC1`],[`v17`,`+- x1I 0 dxC2`],[`v18`,`+- y1I 0 dyC1`],[`v19`,`+- y1I 0 dyC2`],[`v20`,`mod v16 v18 0`],[`v21`,`mod v17 v19 0`],[`v22`,`+- v21 0 v20`],[`dxC`,`?: v22 dxC1 dxC2`],[`dyC`,`?: v22 dyC1 dyC2`],[`sdxC`,`*/ dxC rw2 rI`],[`sdyC`,`*/ dyC rh2 rI`],[`xC`,`+- hc sdxC 0`],[`yC`,`+- vc sdyC 0`],[`wtI`,`sin rw3 stAng`],[`htI`,`cos rh3 stAng`],[`dxI`,`cat2 rw3 htI wtI`],[`dyI`,`sat2 rh3 htI wtI`],[`xI`,`+- hc dxI 0`],[`yI`,`+- vc dyI 0`],[`lptAng`,`+- stAng 0 aAng`],[`wtL`,`sin rw3 lptAng`],[`htL`,`cos rh3 lptAng`],[`dxL`,`cat2 rw3 htL wtL`],[`dyL`,`sat2 rh3 htL wtL`],[`xL`,`+- hc dxL 0`],[`yL`,`+- vc dyL 0`],[`dxK`,`cos thh lptAng`],[`dyK`,`sin thh lptAng`],[`xK`,`+- xI dxK 0`],[`yK`,`+- yI dyK 0`],[`dxJ`,`cos thh lptAng`],[`dyJ`,`sin thh lptAng`],[`xJ`,`+- xI 0 dxJ 0`],[`yJ`,`+- yI 0 dyJ 0`],[`p1`,`+- xF 0 xC`],[`p2`,`+- yF 0 yC`],[`p3`,`mod p1 p2 0`],[`p4`,`*/ p3 1 2`],[`p5`,`+- p4 0 thh`],[`xGp`,`?: p5 xF xG`],[`yGp`,`?: p5 yF yG`],[`xBp`,`?: p5 xC xB`],[`yBp`,`?: p5 yC yB`],[`en0`,`at2 sdxF sdyF`],[`en1`,`+- en0 21600000 0`],[`en2`,`?: en0 en0 en1`],[`od0`,`+- en2 0 enAng`],[`od1`,`+- od0 21600000 0`],[`od2`,`?: od0 od0 od1`],[`st0`,`+- stAng 0 od2`],[`st1`,`+- st0 21600000 0`],[`st2`,`?: st0 st0 st1`],[`sw0`,`+- en2 0 st2`],[`sw1`,`+- sw0 21600000 0`],[`swAng`,`?: sw0 sw0 sw1`],[`ist0`,`at2 sdxC sdyC`],[`ist1`,`+- ist0 21600000 0`],[`istAng`,`?: ist0 ist0 ist1`],[`id0`,`+- istAng 0 enAng`],[`id1`,`+- id0 0 21600000`],[`id2`,`?: id0 id1 id0`],[`ien0`,`+- stAng 0 id2`],[`ien1`,`+- ien0 0 21600000`],[`ien2`,`?: ien1 ien1 ien0`],[`isw1`,`+- ien2 0 istAng`],[`isw2`,`+- isw1 0 21600000`],[`iswAng`,`?: isw1 isw2 isw1`],[`wtE`,`sin rw1 st2`],[`htE`,`cos rh1 st2`],[`dxE`,`cat2 rw1 htE wtE`],[`dyE`,`sat2 rh1 htE wtE`],[`xE`,`+- hc dxE 0`],[`yE`,`+- vc dyE 0`],[`wtD`,`sin rw2 ien2`],[`htD`,`cos rh2 ien2`],[`dxD`,`cat2 rw2 htD wtD`],[`dyD`,`sat2 rh2 htD wtD`],[`xD`,`+- hc dxD 0`],[`yD`,`+- vc dyD 0`],[`xKp`,`?: p5 xE xK`],[`yKp`,`?: p5 yE yK`],[`xJp`,`?: p5 xD xJ`],[`yJp`,`?: p5 yD yJ`],[`aL`,`+- lptAng 0 cd4`],[`aA`,`+- ptAng cd4 0`],[`aB`,`+- ptAng cd2 0`],[`aJ`,`+- lptAng cd2 0`],[`idx`,`cos rw1 2700000`],[`idy`,`sin rh1 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xL`,`yL`],[`l`,`xKp`,`yKp`],[`l`,`xE`,`yE`],[`a`,`rw1`,`rh1`,`st2`,`swAng`],[`l`,`xGp`,`yGp`],[`l`,`xA`,`yA`],[`l`,`xBp`,`yBp`],[`l`,`xC`,`yC`],[`a`,`rw2`,`rh2`,`istAng`,`iswAng`],[`l`,`xJp`,`yJp`],[`c`]]}]},leftrightribbon:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`],[`adj3`,`val 16667`]],gd:[[`a3`,`pin 0 adj3 33333`],[`maxAdj1`,`+- 100000 0 a3`],[`a1`,`pin 0 adj1 maxAdj1`],[`w1`,`+- wd2 0 wd32`],[`maxAdj2`,`*/ 100000 w1 ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`x1`,`*/ ss a2 100000`],[`x4`,`+- r 0 x1`],[`dy1`,`*/ h a1 200000`],[`dy2`,`*/ h a3 -200000`],[`ly1`,`+- vc dy2 dy1`],[`ry4`,`+- vc dy1 dy2`],[`ly2`,`+- ly1 dy1 0`],[`ry3`,`+- b 0 ly2`],[`ly4`,`*/ ly2 2 1`],[`ry1`,`+- b 0 ly4`],[`ly3`,`+- ly4 0 ly1`],[`ry2`,`+- b 0 ly3`],[`hR`,`*/ a3 ss 400000`],[`x2`,`+- hc 0 wd32`],[`x3`,`+- hc wd32 0`],[`y1`,`+- ly1 hR 0`],[`y2`,`+- ry2 0 hR`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`ly2`],[`l`,`x1`,`t`],[`l`,`x1`,`ly1`],[`l`,`hc`,`ly1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x4`,`ry2`],[`l`,`x4`,`ry1`],[`l`,`r`,`ry3`],[`l`,`x4`,`b`],[`l`,`x4`,`ry4`],[`l`,`hc`,`ry4`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`ly3`],[`l`,`x1`,`ly3`],[`l`,`x1`,`ly4`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x3`,`y1`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x3`,`ry2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`ly2`],[`l`,`x1`,`t`],[`l`,`x1`,`ly1`],[`l`,`hc`,`ly1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x4`,`ry2`],[`l`,`x4`,`ry1`],[`l`,`r`,`ry3`],[`l`,`x4`,`b`],[`l`,`x4`,`ry4`],[`l`,`hc`,`ry4`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`ly3`],[`l`,`x1`,`ly3`],[`l`,`x1`,`ly4`],[`c`],[`m`,`x3`,`y1`],[`l`,`x3`,`ry2`],[`m`,`x2`,`y2`],[`l`,`x2`,`ly3`]]}]},leftrightuparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`q1`,`+- 100000 0 maxAdj1`],[`maxAdj3`,`*/ q1 1 2`],[`a3`,`pin 0 adj3 maxAdj3`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- hc 0 dx2`],[`x5`,`+- hc dx2 0`],[`dx3`,`*/ ss a1 200000`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x6`,`+- r 0 x1`],[`dy2`,`*/ ss a2 50000`],[`y2`,`+- b 0 dy2`],[`y4`,`+- b 0 dx2`],[`y3`,`+- y4 0 dx3`],[`y5`,`+- y4 dx3 0`],[`il`,`*/ dx3 x1 dx2`],[`ir`,`+- r 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y4`],[`l`,`x1`,`y2`],[`l`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`x1`],[`l`,`x2`,`x1`],[`l`,`hc`,`t`],[`l`,`x5`,`x1`],[`l`,`x4`,`x1`],[`l`,`x4`,`y3`],[`l`,`x6`,`y3`],[`l`,`x6`,`y2`],[`l`,`r`,`y4`],[`l`,`x6`,`b`],[`l`,`x6`,`y5`],[`l`,`x1`,`y5`],[`l`,`x1`,`b`],[`c`]]}]},leftuparrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`+- 100000 0 maxAdj1`],[`a3`,`pin 0 adj3 maxAdj3`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ ss a2 50000`],[`x2`,`+- r 0 dx2`],[`y2`,`+- b 0 dx2`],[`dx4`,`*/ ss a2 100000`],[`x4`,`+- r 0 dx4`],[`y4`,`+- b 0 dx4`],[`dx3`,`*/ ss a1 200000`],[`x3`,`+- x4 0 dx3`],[`x5`,`+- x4 dx3 0`],[`y3`,`+- y4 0 dx3`],[`y5`,`+- y4 dx3 0`],[`il`,`*/ dx3 x1 dx4`],[`cx1`,`+/ x1 x5 2`],[`cy1`,`+/ x1 y5 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y4`],[`l`,`x1`,`y2`],[`l`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`x1`],[`l`,`x2`,`x1`],[`l`,`x4`,`t`],[`l`,`r`,`x1`],[`l`,`x5`,`x1`],[`l`,`x5`,`y5`],[`l`,`x1`,`y5`],[`l`,`x1`,`b`],[`c`]]}]},lightningbolt:{adj:[],gd:[[`x1`,`*/ w 5022 21600`],[`x3`,`*/ w 8472 21600`],[`x4`,`*/ w 8757 21600`],[`x5`,`*/ w 10012 21600`],[`x8`,`*/ w 12860 21600`],[`x9`,`*/ w 13917 21600`],[`x11`,`*/ w 16577 21600`],[`y1`,`*/ h 3890 21600`],[`y2`,`*/ h 6080 21600`],[`y4`,`*/ h 7437 21600`],[`y6`,`*/ h 9705 21600`],[`y7`,`*/ h 12007 21600`],[`y10`,`*/ h 14277 21600`],[`y11`,`*/ h 14915 21600`]],paths:[{w:21600,h:21600,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`8472`,`0`],[`l`,`12860`,`6080`],[`l`,`11050`,`6797`],[`l`,`16577`,`12007`],[`l`,`14767`,`12877`],[`l`,`21600`,`21600`],[`l`,`10012`,`14915`],[`l`,`12222`,`13987`],[`l`,`5022`,`9705`],[`l`,`7602`,`8382`],[`l`,`0`,`3890`],[`c`]]}]},line:{adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`b`]]}]},lineinv:{adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`r`,`t`]]}]},mathdivide:{adj:[[`adj1`,`val 23520`],[`adj2`,`val 5880`],[`adj3`,`val 11760`]],gd:[[`a1`,`pin 1000 adj1 36745`],[`ma1`,`+- 0 0 a1`],[`ma3h`,`+/ 73490 ma1 4`],[`ma3w`,`*/ 36745 w h`],[`maxAdj3`,`min ma3h ma3w`],[`a3`,`pin 1000 adj3 maxAdj3`],[`m4a3`,`*/ -4 a3 1`],[`maxAdj2`,`+- 73490 m4a3 a1`],[`a2`,`pin 0 adj2 maxAdj2`],[`dy1`,`*/ h a1 200000`],[`yg`,`*/ h a2 100000`],[`rad`,`*/ h a3 100000`],[`dx1`,`*/ w 73490 200000`],[`y3`,`+- vc 0 dy1`],[`y4`,`+- vc dy1 0`],[`a`,`+- yg rad 0`],[`y2`,`+- y3 0 a`],[`y1`,`+- y2 0 rad`],[`y5`,`+- b 0 y1`],[`x1`,`+- hc 0 dx1`],[`x3`,`+- hc dx1 0`],[`x2`,`+- hc 0 rad`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`hc`,`y1`],[`a`,`rad`,`rad`,`3cd4`,`21600000`],[`c`],[`m`,`hc`,`y5`],[`a`,`rad`,`rad`,`cd4`,`21600000`],[`c`],[`m`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`y4`],[`l`,`x1`,`y4`],[`c`]]}]},mathequal:{adj:[[`adj1`,`val 23520`],[`adj2`,`val 11760`]],gd:[[`a1`,`pin 0 adj1 36745`],[`2a1`,`*/ a1 2 1`],[`mAdj2`,`+- 100000 0 2a1`],[`a2`,`pin 0 adj2 mAdj2`],[`dy1`,`*/ h a1 100000`],[`dy2`,`*/ h a2 200000`],[`dx1`,`*/ w 73490 200000`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y1`,`+- y2 0 dy1`],[`y4`,`+- y3 dy1 0`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`yC1`,`+/ y1 y2 2`],[`yC2`,`+/ y3 y4 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`],[`m`,`x1`,`y3`],[`l`,`x2`,`y3`],[`l`,`x2`,`y4`],[`l`,`x1`,`y4`],[`c`]]}]},mathminus:{adj:[[`adj1`,`val 23520`]],gd:[[`a1`,`pin 0 adj1 100000`],[`dy1`,`*/ h a1 200000`],[`dx1`,`*/ w 73490 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`x2`,`y1`],[`l`,`x2`,`y2`],[`l`,`x1`,`y2`],[`c`]]}]},mathmultiply:{adj:[[`adj1`,`val 23520`]],gd:[[`a1`,`pin 0 adj1 51965`],[`th`,`*/ ss a1 100000`],[`a`,`at2 w h`],[`sa`,`sin 1 a`],[`ca`,`cos 1 a`],[`ta`,`tan 1 a`],[`dl`,`mod w h 0`],[`rw`,`*/ dl 51965 100000`],[`lM`,`+- dl 0 rw`],[`xM`,`*/ ca lM 2`],[`yM`,`*/ sa lM 2`],[`dxAM`,`*/ sa th 2`],[`dyAM`,`*/ ca th 2`],[`xA`,`+- xM 0 dxAM`],[`yA`,`+- yM dyAM 0`],[`xB`,`+- xM dxAM 0`],[`yB`,`+- yM 0 dyAM`],[`xBC`,`+- hc 0 xB`],[`yBC`,`*/ xBC ta 1`],[`yC`,`+- yBC yB 0`],[`xD`,`+- r 0 xB`],[`xE`,`+- r 0 xA`],[`yFE`,`+- vc 0 yA`],[`xFE`,`*/ yFE 1 ta`],[`xF`,`+- xE 0 xFE`],[`xL`,`+- xA xFE 0`],[`yG`,`+- b 0 yA`],[`yH`,`+- b 0 yB`],[`yI`,`+- b 0 yC`],[`xC2`,`+- r 0 xM`],[`yC3`,`+- b 0 yM`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xA`,`yA`],[`l`,`xB`,`yB`],[`l`,`hc`,`yC`],[`l`,`xD`,`yB`],[`l`,`xE`,`yA`],[`l`,`xF`,`vc`],[`l`,`xE`,`yG`],[`l`,`xD`,`yH`],[`l`,`hc`,`yI`],[`l`,`xB`,`yH`],[`l`,`xA`,`yG`],[`l`,`xL`,`vc`],[`c`]]}]},mathnotequal:{adj:[[`adj1`,`val 23520`],[`adj2`,`val 6600000`],[`adj3`,`val 11760`]],gd:[[`a1`,`pin 0 adj1 50000`],[`crAng`,`pin 4200000 adj2 6600000`],[`2a1`,`*/ a1 2 1`],[`maxAdj3`,`+- 100000 0 2a1`],[`a3`,`pin 0 adj3 maxAdj3`],[`dy1`,`*/ h a1 100000`],[`dy2`,`*/ h a3 200000`],[`dx1`,`*/ w 73490 200000`],[`x1`,`+- hc 0 dx1`],[`x8`,`+- hc dx1 0`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y1`,`+- y2 0 dy1`],[`y4`,`+- y3 dy1 0`],[`cadj2`,`+- crAng 0 cd4`],[`xadj2`,`tan hd2 cadj2`],[`len`,`mod xadj2 hd2 0`],[`bhw`,`*/ len dy1 hd2`],[`bhw2`,`*/ bhw 1 2`],[`x7`,`+- hc xadj2 bhw2`],[`dx67`,`*/ xadj2 y1 hd2`],[`x6`,`+- x7 0 dx67`],[`dx57`,`*/ xadj2 y2 hd2`],[`x5`,`+- x7 0 dx57`],[`dx47`,`*/ xadj2 y3 hd2`],[`x4`,`+- x7 0 dx47`],[`dx37`,`*/ xadj2 y4 hd2`],[`x3`,`+- x7 0 dx37`],[`dx27`,`*/ xadj2 2 1`],[`x2`,`+- x7 0 dx27`],[`rx7`,`+- x7 bhw 0`],[`rx6`,`+- x6 bhw 0`],[`rx5`,`+- x5 bhw 0`],[`rx4`,`+- x4 bhw 0`],[`rx3`,`+- x3 bhw 0`],[`rx2`,`+- x2 bhw 0`],[`dx7`,`*/ dy1 hd2 len`],[`rxt`,`+- x7 dx7 0`],[`lxt`,`+- rx7 0 dx7`],[`rx`,`?: cadj2 rxt rx7`],[`lx`,`?: cadj2 x7 lxt`],[`dy3`,`*/ dy1 xadj2 len`],[`dy4`,`+- 0 0 dy3`],[`ry`,`?: cadj2 dy3 t`],[`ly`,`?: cadj2 t dy4`],[`dlx`,`+- w 0 rx`],[`drx`,`+- w 0 lx`],[`dly`,`+- h 0 ry`],[`dry`,`+- h 0 ly`],[`xC1`,`+/ rx lx 2`],[`xC2`,`+/ drx dlx 2`],[`yC1`,`+/ ry ly 2`],[`yC2`,`+/ y1 y2 2`],[`yC3`,`+/ y3 y4 2`],[`yC4`,`+/ dry dly 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`x6`,`y1`],[`l`,`lx`,`ly`],[`l`,`rx`,`ry`],[`l`,`rx6`,`y1`],[`l`,`x8`,`y1`],[`l`,`x8`,`y2`],[`l`,`rx5`,`y2`],[`l`,`rx4`,`y3`],[`l`,`x8`,`y3`],[`l`,`x8`,`y4`],[`l`,`rx3`,`y4`],[`l`,`drx`,`dry`],[`l`,`dlx`,`dly`],[`l`,`x3`,`y4`],[`l`,`x1`,`y4`],[`l`,`x1`,`y3`],[`l`,`x4`,`y3`],[`l`,`x5`,`y2`],[`l`,`x1`,`y2`],[`c`]]}]},mathplus:{adj:[[`adj1`,`val 23520`]],gd:[[`a1`,`pin 0 adj1 73490`],[`dx1`,`*/ w 73490 200000`],[`dy1`,`*/ h 73490 200000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dx2`],[`y3`,`+- vc dx2 0`],[`y4`,`+- vc dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`y2`],[`l`,`x4`,`y2`],[`l`,`x4`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`y3`],[`l`,`x1`,`y3`],[`c`]]}]},moon:{adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 87500`],[`g0`,`*/ ss a 100000`],[`g0w`,`*/ g0 w ss`],[`g1`,`+- ss 0 g0`],[`g2`,`*/ g0 g0 g1`],[`g3`,`*/ ss ss g1`],[`g4`,`*/ g3 2 1`],[`g5`,`+- g4 0 g2`],[`g6`,`+- g5 0 g0`],[`g6w`,`*/ g6 w ss`],[`g7`,`*/ g5 1 2`],[`g8`,`+- g7 0 g0`],[`dy1`,`*/ g8 hd2 ss`],[`g10h`,`+- vc 0 dy1`],[`g11h`,`+- vc dy1 0`],[`g12`,`*/ g0 9598 32768`],[`g12w`,`*/ g12 w ss`],[`g13`,`+- ss 0 g12`],[`q1`,`*/ ss ss 1`],[`q2`,`*/ g13 g13 1`],[`q3`,`+- q1 0 q2`],[`q4`,`sqrt q3`],[`dy4`,`*/ q4 hd2 ss`],[`g15h`,`+- vc 0 dy4`],[`g16h`,`+- vc dy4 0`],[`g17w`,`+- g6w 0 g0w`],[`g18w`,`*/ g17w 1 2`],[`dx2p`,`+- g0w g18w w`],[`dx2`,`*/ dx2p -1 1`],[`dy2`,`*/ hd2 -1 1`],[`stAng1`,`at2 dx2 dy2`],[`enAngp1`,`at2 dx2 hd2`],[`enAng1`,`+- enAngp1 0 21600000`],[`swAng1`,`+- enAng1 0 stAng1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`b`],[`a`,`w`,`hd2`,`cd4`,`cd2`],[`a`,`g18w`,`dy1`,`stAng1`,`swAng1`],[`c`]]}]},nonisoscelestrapezoid:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`]],gd:[[`maxAdj`,`*/ 50000 w ss`],[`a1`,`pin 0 adj1 maxAdj`],[`a2`,`pin 0 adj2 maxAdj`],[`x1`,`*/ ss a1 200000`],[`x2`,`*/ ss a1 100000`],[`dx3`,`*/ ss a2 100000`],[`x3`,`+- r 0 dx3`],[`x4`,`+/ r x3 2`],[`il`,`*/ wd3 a1 maxAdj`],[`adjm`,`max a1 a2`],[`it`,`*/ hd3 adjm maxAdj`],[`irt`,`*/ wd3 a2 maxAdj`],[`ir`,`+- r 0 irt`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`r`,`b`],[`c`]]}]},nosmoking:{adj:[[`adj`,`val 18750`]],gd:[[`a`,`pin 0 adj 50000`],[`dr`,`*/ ss a 100000`],[`iwd2`,`+- wd2 0 dr`],[`ihd2`,`+- hd2 0 dr`],[`ang`,`at2 w h`],[`ct`,`cos ihd2 ang`],[`st`,`sin iwd2 ang`],[`m`,`mod ct st 0`],[`n`,`*/ iwd2 ihd2 m`],[`drd2`,`*/ dr 1 2`],[`dang`,`at2 n drd2`],[`dang2`,`*/ dang 2 1`],[`swAng`,`+- -10800000 dang2 0`],[`t3`,`at2 w h`],[`stAng1`,`+- t3 0 dang`],[`stAng2`,`+- stAng1 0 cd2`],[`ct1`,`cos ihd2 stAng1`],[`st1`,`sin iwd2 stAng1`],[`m1`,`mod ct1 st1 0`],[`n1`,`*/ iwd2 ihd2 m1`],[`dx1`,`cos n1 stAng1`],[`dy1`,`sin n1 stAng1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`x2`,`+- hc 0 dx1`],[`y2`,`+- vc 0 dy1`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`a`,`wd2`,`hd2`,`3cd4`,`cd4`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`],[`m`,`x1`,`y1`],[`a`,`iwd2`,`ihd2`,`stAng1`,`swAng`],[`c`],[`m`,`x2`,`y2`],[`a`,`iwd2`,`ihd2`,`stAng2`,`swAng`],[`c`]]}]},notchedrightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- r 0 dx2`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`x1`,`*/ dy1 dx2 hd2`],[`x3`,`+- r 0 x1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`x2`,`y1`],[`l`,`x2`,`t`],[`l`,`r`,`vc`],[`l`,`x2`,`b`],[`l`,`x2`,`y2`],[`l`,`l`,`y2`],[`l`,`x1`,`vc`],[`c`]]}]},octagon:{adj:[[`adj`,`val 29289`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 1 2`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`l`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`r`,`x1`],[`l`,`r`,`y2`],[`l`,`x2`,`b`],[`l`,`x1`,`b`],[`l`,`l`,`y2`],[`c`]]}]},parallelogram:{adj:[[`adj`,`val 25000`]],gd:[[`maxAdj`,`*/ 100000 w ss`],[`a`,`pin 0 adj maxAdj`],[`x1`,`*/ ss a 200000`],[`x2`,`*/ ss a 100000`],[`x6`,`+- r 0 x1`],[`x5`,`+- r 0 x2`],[`x3`,`*/ x5 1 2`],[`x4`,`+- r 0 x3`],[`il`,`*/ wd2 a maxAdj`],[`q1`,`*/ 5 a maxAdj`],[`q2`,`+/ 1 q1 12`],[`il`,`*/ q2 w 1`],[`it`,`*/ q2 h 1`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 it`],[`q3`,`*/ h hc x2`],[`y1`,`pin 0 q3 h`],[`y2`,`+- b 0 y1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`x5`,`b`],[`c`]]}]},pentagon:{adj:[[`hf`,`val 105146`],[`vf`,`val 110557`]],gd:[[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`cos swd2 1080000`],[`dx2`,`cos swd2 18360000`],[`dy1`,`sin shd2 1080000`],[`dy2`,`sin shd2 18360000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc 0 dy2`],[`it`,`*/ y1 dx2 dx1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`hc`,`t`],[`l`,`x4`,`y1`],[`l`,`x3`,`y2`],[`l`,`x2`,`y2`],[`c`]]}]},pie:{adj:[[`adj1`,`val 0`],[`adj2`,`val 16200000`]],gd:[[`stAng`,`pin 0 adj1 21599999`],[`enAng`,`pin 0 adj2 21599999`],[`sw1`,`+- enAng 0 stAng`],[`sw2`,`+- sw1 21600000 0`],[`swAng`,`?: sw1 sw1 sw2`],[`wt1`,`sin wd2 stAng`],[`ht1`,`cos hd2 stAng`],[`dx1`,`cat2 wd2 ht1 wt1`],[`dy1`,`sat2 hd2 ht1 wt1`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`wt2`,`sin wd2 enAng`],[`ht2`,`cos hd2 enAng`],[`dx2`,`cat2 wd2 ht2 wt2`],[`dy2`,`sat2 hd2 ht2 wt2`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng`,`swAng`],[`l`,`hc`,`vc`],[`c`]]}]},piewedge:{adj:[],gd:[[`g1`,`cos w 13500000`],[`g2`,`sin h 13500000`],[`x1`,`+- r g1 0`],[`y1`,`+- b g2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`a`,`w`,`h`,`cd2`,`cd4`],[`l`,`r`,`b`],[`c`]]}]},plaque:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 70711 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`a`,`x1`,`x1`,`cd4`,`-5400000`],[`l`,`x2`,`t`],[`a`,`x1`,`x1`,`cd2`,`-5400000`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`3cd4`,`-5400000`],[`l`,`x1`,`b`],[`a`,`x1`,`x1`,`0`,`-5400000`],[`c`]]}]},plaquetabs:{adj:[],gd:[[`md`,`mod w h 0`],[`dx`,`*/ 1 md 20`],[`y1`,`+- 0 b dx`],[`x1`,`+- 0 r dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`dx`,`t`],[`a`,`dx`,`dx`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`a`,`dx`,`dx`,`3cd4`,`cd4`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`t`],[`l`,`r`,`dx`],[`a`,`dx`,`dx`,`cd4`,`cd4`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`b`],[`a`,`dx`,`dx`,`cd2`,`cd4`],[`l`,`r`,`b`],[`c`]]}]},plus:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`d`,`+- w 0 h`],[`il`,`?: d l x1`],[`ir`,`?: d r x2`],[`it`,`?: d x1 t`],[`ib`,`?: d y2 b`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`l`,`x1`,`x1`],[`l`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`x2`,`x1`],[`l`,`r`,`x1`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`l`,`x1`,`b`],[`l`,`x1`,`y2`],[`l`,`l`,`y2`],[`c`]]}]},quadarrow:{adj:[[`adj1`,`val 22500`],[`adj2`,`val 22500`],[`adj3`,`val 22500`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`q1`,`+- 100000 0 maxAdj1`],[`maxAdj3`,`*/ q1 1 2`],[`a3`,`pin 0 adj3 maxAdj3`],[`x1`,`*/ ss a3 100000`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- hc 0 dx2`],[`x5`,`+- hc dx2 0`],[`dx3`,`*/ ss a1 200000`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x6`,`+- r 0 x1`],[`y2`,`+- vc 0 dx2`],[`y5`,`+- vc dx2 0`],[`y3`,`+- vc 0 dx3`],[`y4`,`+- vc dx3 0`],[`y6`,`+- b 0 x1`],[`il`,`*/ dx3 x1 dx2`],[`ir`,`+- r 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`x1`,`y2`],[`l`,`x1`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`x1`],[`l`,`x2`,`x1`],[`l`,`hc`,`t`],[`l`,`x5`,`x1`],[`l`,`x4`,`x1`],[`l`,`x4`,`y3`],[`l`,`x6`,`y3`],[`l`,`x6`,`y2`],[`l`,`r`,`vc`],[`l`,`x6`,`y5`],[`l`,`x6`,`y4`],[`l`,`x4`,`y4`],[`l`,`x4`,`y6`],[`l`,`x5`,`y6`],[`l`,`hc`,`b`],[`l`,`x2`,`y6`],[`l`,`x3`,`y6`],[`l`,`x3`,`y4`],[`l`,`x1`,`y4`],[`l`,`x1`,`y5`],[`c`]]}]},quadarrowcallout:{adj:[[`adj1`,`val 18515`],[`adj2`,`val 18515`],[`adj3`,`val 18515`],[`adj4`,`val 48123`]],gd:[[`a2`,`pin 0 adj2 50000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`+- 50000 0 a2`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 2 1`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin a1 adj4 maxAdj4`],[`dx2`,`*/ ss a2 100000`],[`dx3`,`*/ ss a1 200000`],[`ah`,`*/ ss a3 100000`],[`dx1`,`*/ w a4 200000`],[`dy1`,`*/ h a4 200000`],[`x8`,`+- r 0 ah`],[`x2`,`+- hc 0 dx1`],[`x7`,`+- hc dx1 0`],[`x3`,`+- hc 0 dx2`],[`x6`,`+- hc dx2 0`],[`x4`,`+- hc 0 dx3`],[`x5`,`+- hc dx3 0`],[`y8`,`+- b 0 ah`],[`y2`,`+- vc 0 dy1`],[`y7`,`+- vc dy1 0`],[`y3`,`+- vc 0 dx2`],[`y6`,`+- vc dx2 0`],[`y4`,`+- vc 0 dx3`],[`y5`,`+- vc dx3 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`ah`,`y3`],[`l`,`ah`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`y2`],[`l`,`x4`,`y2`],[`l`,`x4`,`ah`],[`l`,`x3`,`ah`],[`l`,`hc`,`t`],[`l`,`x6`,`ah`],[`l`,`x5`,`ah`],[`l`,`x5`,`y2`],[`l`,`x7`,`y2`],[`l`,`x7`,`y4`],[`l`,`x8`,`y4`],[`l`,`x8`,`y3`],[`l`,`r`,`vc`],[`l`,`x8`,`y6`],[`l`,`x8`,`y5`],[`l`,`x7`,`y5`],[`l`,`x7`,`y7`],[`l`,`x5`,`y7`],[`l`,`x5`,`y8`],[`l`,`x6`,`y8`],[`l`,`hc`,`b`],[`l`,`x3`,`y8`],[`l`,`x4`,`y8`],[`l`,`x4`,`y7`],[`l`,`x2`,`y7`],[`l`,`x2`,`y5`],[`l`,`ah`,`y5`],[`l`,`ah`,`y6`],[`c`]]}]},ribbon:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 50000`]],gd:[[`a1`,`pin 0 adj1 33333`],[`a2`,`pin 25000 adj2 75000`],[`x10`,`+- r 0 wd8`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x9`,`+- hc dx2 0`],[`x3`,`+- x2 wd32 0`],[`x8`,`+- x9 0 wd32`],[`x5`,`+- x2 wd8 0`],[`x6`,`+- x9 0 wd8`],[`x4`,`+- x5 0 wd32`],[`x7`,`+- x6 wd32 0`],[`y1`,`*/ h a1 200000`],[`y2`,`*/ h a1 100000`],[`y4`,`+- b 0 y2`],[`y3`,`*/ y4 1 2`],[`hR`,`*/ h a1 400000`],[`y5`,`+- b 0 hR`],[`y6`,`+- y2 0 hR`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`x4`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x8`,`y2`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x7`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`r`,`t`],[`l`,`x10`,`y3`],[`l`,`r`,`y4`],[`l`,`x9`,`y4`],[`l`,`x9`,`y5`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`l`,`x3`,`b`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`y4`],[`l`,`l`,`y4`],[`l`,`wd8`,`y3`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x5`,`hR`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x5`,`y2`],[`c`],[`m`,`x6`,`hR`],[`a`,`wd32`,`hR`,`cd2`,`-5400000`],[`l`,`x8`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x6`,`y2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`x4`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x8`,`y2`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x7`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`r`,`t`],[`l`,`x10`,`y3`],[`l`,`r`,`y4`],[`l`,`x9`,`y4`],[`l`,`x9`,`y5`],[`a`,`wd32`,`hR`,`0`,`cd4`],[`l`,`x3`,`b`],[`a`,`wd32`,`hR`,`cd4`,`cd4`],[`l`,`x2`,`y4`],[`l`,`l`,`y4`],[`l`,`wd8`,`y3`],[`c`],[`m`,`x5`,`hR`],[`l`,`x5`,`y2`],[`m`,`x6`,`y2`],[`l`,`x6`,`hR`],[`m`,`x2`,`y4`],[`l`,`x2`,`y6`],[`m`,`x9`,`y6`],[`l`,`x9`,`y4`]]}]},ribbon2:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 50000`]],gd:[[`a1`,`pin 0 adj1 33333`],[`a2`,`pin 25000 adj2 75000`],[`x10`,`+- r 0 wd8`],[`dx2`,`*/ w a2 200000`],[`x2`,`+- hc 0 dx2`],[`x9`,`+- hc dx2 0`],[`x3`,`+- x2 wd32 0`],[`x8`,`+- x9 0 wd32`],[`x5`,`+- x2 wd8 0`],[`x6`,`+- x9 0 wd8`],[`x4`,`+- x5 0 wd32`],[`x7`,`+- x6 wd32 0`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- b 0 dy1`],[`dy2`,`*/ h a1 100000`],[`y2`,`+- b 0 dy2`],[`y4`,`+- t dy2 0`],[`y3`,`+/ y4 b 2`],[`hR`,`*/ h a1 400000`],[`y6`,`+- b 0 hR`],[`y7`,`+- y1 0 hR`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`x4`,`b`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`x8`,`y2`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`l`,`x7`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`r`,`b`],[`l`,`x10`,`y3`],[`l`,`r`,`y4`],[`l`,`x9`,`y4`],[`l`,`x9`,`hR`],[`a`,`wd32`,`hR`,`0`,`-5400000`],[`l`,`x3`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`-5400000`],[`l`,`x2`,`y4`],[`l`,`l`,`y4`],[`l`,`wd8`,`y3`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x5`,`y6`],[`a`,`wd32`,`hR`,`0`,`-5400000`],[`l`,`x3`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`x5`,`y2`],[`c`],[`m`,`x6`,`y6`],[`a`,`wd32`,`hR`,`cd2`,`cd4`],[`l`,`x8`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x6`,`y2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`b`],[`l`,`wd8`,`y3`],[`l`,`l`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`hR`],[`a`,`wd32`,`hR`,`cd2`,`cd4`],[`l`,`x8`,`t`],[`a`,`wd32`,`hR`,`3cd4`,`cd4`],[`l`,`x9`,`y4`],[`l`,`x9`,`y4`],[`l`,`r`,`y4`],[`l`,`x10`,`y3`],[`l`,`r`,`b`],[`l`,`x7`,`b`],[`a`,`wd32`,`hR`,`cd4`,`cd2`],[`l`,`x8`,`y1`],[`a`,`wd32`,`hR`,`cd4`,`-10800000`],[`l`,`x3`,`y2`],[`a`,`wd32`,`hR`,`3cd4`,`-10800000`],[`l`,`x4`,`y1`],[`a`,`wd32`,`hR`,`3cd4`,`cd2`],[`c`],[`m`,`x5`,`y2`],[`l`,`x5`,`y6`],[`m`,`x6`,`y6`],[`l`,`x6`,`y2`],[`m`,`x2`,`y7`],[`l`,`x2`,`y4`],[`m`,`x9`,`y4`],[`l`,`x9`,`y7`]]}]},rightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dx1`,`*/ ss a2 100000`],[`x1`,`+- r 0 dx1`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`dx2`,`*/ y1 dx1 hd2`],[`x2`,`+- x1 dx2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`x1`,`y1`],[`l`,`x1`,`t`],[`l`,`r`,`vc`],[`l`,`x1`,`b`],[`l`,`x1`,`y2`],[`l`,`l`,`y2`],[`c`]]}]},rightarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 w ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss w`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dy1`,`*/ ss a2 100000`],[`dy2`,`*/ ss a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`dx3`,`*/ ss a3 100000`],[`x3`,`+- r 0 dx3`],[`x2`,`*/ w a4 100000`],[`x1`,`*/ x2 1 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x2`,`t`],[`l`,`x2`,`y2`],[`l`,`x3`,`y2`],[`l`,`x3`,`y1`],[`l`,`r`,`vc`],[`l`,`x3`,`y4`],[`l`,`x3`,`y3`],[`l`,`x2`,`y3`],[`l`,`x2`,`b`],[`l`,`l`,`b`],[`c`]]}]},rightbrace:{adj:[[`adj1`,`val 8333`],[`adj2`,`val 50000`]],gd:[[`a2`,`pin 0 adj2 100000`],[`q1`,`+- 100000 0 a2`],[`q2`,`min q1 a2`],[`q3`,`*/ q2 1 2`],[`maxAdj1`,`*/ q3 h ss`],[`a1`,`pin 0 adj1 maxAdj1`],[`y1`,`*/ ss a1 100000`],[`y3`,`*/ h a2 100000`],[`y2`,`+- y3 0 y1`],[`y4`,`+- b 0 y1`],[`dx1`,`cos wd2 2700000`],[`dy1`,`sin y1 2700000`],[`ir`,`+- l dx1 0`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`a`,`wd2`,`y1`,`3cd4`,`cd4`],[`l`,`hc`,`y2`],[`a`,`wd2`,`y1`,`cd2`,`-5400000`],[`a`,`wd2`,`y1`,`3cd4`,`-5400000`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`a`,`wd2`,`y1`,`3cd4`,`cd4`],[`l`,`hc`,`y2`],[`a`,`wd2`,`y1`,`cd2`,`-5400000`],[`a`,`wd2`,`y1`,`3cd4`,`-5400000`],[`l`,`hc`,`y4`],[`a`,`wd2`,`y1`,`0`,`cd4`]]}]},rightbracket:{adj:[[`adj`,`val 8333`]],gd:[[`maxAdj`,`*/ 50000 h ss`],[`a`,`pin 0 adj maxAdj`],[`y1`,`*/ ss a 100000`],[`y2`,`+- b 0 y1`],[`dx1`,`cos w 2700000`],[`dy1`,`sin y1 2700000`],[`ir`,`+- l dx1 0`],[`it`,`+- y1 0 dy1`],[`ib`,`+- b dy1 y1`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`a`,`w`,`y1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`w`,`y1`,`0`,`cd4`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`a`,`w`,`y1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`w`,`y1`,`0`,`cd4`]]}]},round1rect:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ ss a 100000`],[`x1`,`+- r 0 dx1`],[`idx`,`*/ dx1 29289 100000`],[`ir`,`+- r 0 idx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`a`,`dx1`,`dx1`,`3cd4`,`cd4`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},round2diagrect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`x1`,`*/ ss a1 100000`],[`y1`,`+- b 0 x1`],[`a`,`*/ ss a2 100000`],[`x2`,`+- r 0 a`],[`y2`,`+- b 0 a`],[`dx1`,`*/ x1 29289 100000`],[`dx2`,`*/ a 29289 100000`],[`d`,`+- dx1 0 dx2`],[`dx`,`?: d dx1 dx2`],[`ir`,`+- r 0 dx`],[`ib`,`+- b 0 dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`x2`,`t`],[`a`,`a`,`a`,`3cd4`,`cd4`],[`l`,`r`,`y1`],[`a`,`x1`,`x1`,`0`,`cd4`],[`l`,`a`,`b`],[`a`,`a`,`a`,`cd4`,`cd4`],[`l`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`c`]]}]},round2samerect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`tx1`,`*/ ss a1 100000`],[`tx2`,`+- r 0 tx1`],[`bx1`,`*/ ss a2 100000`],[`bx2`,`+- r 0 bx1`],[`by1`,`+- b 0 bx1`],[`d`,`+- tx1 0 bx1`],[`tdx`,`*/ tx1 29289 100000`],[`bdx`,`*/ bx1 29289 100000`],[`il`,`?: d tdx bdx`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 bdx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`tx1`,`t`],[`l`,`tx2`,`t`],[`a`,`tx1`,`tx1`,`3cd4`,`cd4`],[`l`,`r`,`by1`],[`a`,`bx1`,`bx1`,`0`,`cd4`],[`l`,`bx1`,`b`],[`a`,`bx1`,`bx1`,`cd4`,`cd4`],[`l`,`l`,`tx1`],[`a`,`tx1`,`tx1`,`cd2`,`cd4`],[`c`]]}]},roundrect:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`x1`,`*/ ss a 100000`],[`x2`,`+- r 0 x1`],[`y2`,`+- b 0 x1`],[`il`,`*/ x1 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`l`,`x2`,`t`],[`a`,`x1`,`x1`,`3cd4`,`cd4`],[`l`,`r`,`y2`],[`a`,`x1`,`x1`,`0`,`cd4`],[`l`,`x1`,`b`],[`a`,`x1`,`x1`,`cd4`,`cd4`],[`c`]]}]},rttriangle:{adj:[],gd:[[`it`,`*/ h 7 12`],[`ir`,`*/ w 7 12`],[`ib`,`*/ h 11 12`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`l`,`t`],[`l`,`r`,`b`],[`c`]]}]},smileyface:{adj:[[`adj`,`val 4653`]],gd:[[`a`,`pin -4653 adj 4653`],[`x1`,`*/ w 4969 21699`],[`x2`,`*/ w 6215 21600`],[`x3`,`*/ w 13135 21600`],[`x4`,`*/ w 16640 21600`],[`y1`,`*/ h 7570 21600`],[`y3`,`*/ h 16515 21600`],[`dy2`,`*/ h a 100000`],[`y2`,`+- y3 0 dy2`],[`y4`,`+- y3 dy2 0`],[`dy3`,`*/ h a 50000`],[`y5`,`+- y4 dy3 0`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`],[`wR`,`*/ w 1125 21600`],[`hR`,`*/ h 1125 21600`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`21600000`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x2`,`y1`],[`a`,`wR`,`hR`,`cd2`,`21600000`],[`m`,`x3`,`y1`],[`a`,`wR`,`hR`,`cd2`,`21600000`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`x1`,`y2`],[`Q`,`hc`,`y5`,`x4`,`y2`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`21600000`],[`c`]]}]},snip1rect:{adj:[[`adj`,`val 16667`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ ss a 100000`],[`x1`,`+- r 0 dx1`],[`it`,`*/ dx1 1 2`],[`ir`,`+/ x1 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`r`,`dx1`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},snip2diagrect:{adj:[[`adj1`,`val 0`],[`adj2`,`val 16667`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`lx1`,`*/ ss a1 100000`],[`lx2`,`+- r 0 lx1`],[`ly1`,`+- b 0 lx1`],[`rx1`,`*/ ss a2 100000`],[`rx2`,`+- r 0 rx1`],[`ry1`,`+- b 0 rx1`],[`d`,`+- lx1 0 rx1`],[`dx`,`?: d lx1 rx1`],[`il`,`*/ dx 1 2`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`lx1`,`t`],[`l`,`rx2`,`t`],[`l`,`r`,`rx1`],[`l`,`r`,`ly1`],[`l`,`lx2`,`b`],[`l`,`rx1`,`b`],[`l`,`l`,`ry1`],[`l`,`l`,`lx1`],[`c`]]}]},snip2samerect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`tx1`,`*/ ss a1 100000`],[`tx2`,`+- r 0 tx1`],[`bx1`,`*/ ss a2 100000`],[`bx2`,`+- r 0 bx1`],[`by1`,`+- b 0 bx1`],[`d`,`+- tx1 0 bx1`],[`dx`,`?: d tx1 bx1`],[`il`,`*/ dx 1 2`],[`ir`,`+- r 0 il`],[`it`,`*/ tx1 1 2`],[`ib`,`+/ by1 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`tx1`,`t`],[`l`,`tx2`,`t`],[`l`,`r`,`tx1`],[`l`,`r`,`by1`],[`l`,`bx2`,`b`],[`l`,`bx1`,`b`],[`l`,`l`,`by1`],[`l`,`l`,`tx1`],[`c`]]}]},sniproundrect:{adj:[[`adj1`,`val 16667`],[`adj2`,`val 16667`]],gd:[[`a1`,`pin 0 adj1 50000`],[`a2`,`pin 0 adj2 50000`],[`x1`,`*/ ss a1 100000`],[`dx2`,`*/ ss a2 100000`],[`x2`,`+- r 0 dx2`],[`il`,`*/ x1 29289 100000`],[`ir`,`+/ x2 r 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`x2`,`t`],[`l`,`r`,`dx2`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`l`,`l`,`x1`],[`a`,`x1`,`x1`,`cd2`,`cd4`],[`c`]]}]},squaretabs:{adj:[],gd:[[`md`,`mod w h 0`],[`dx`,`*/ 1 md 20`],[`y1`,`+- 0 b dx`],[`x1`,`+- 0 r dx`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`dx`,`t`],[`l`,`dx`,`dx`],[`l`,`l`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`dx`,`y1`],[`l`,`dx`,`b`],[`l`,`l`,`b`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`t`],[`l`,`r`,`t`],[`l`,`r`,`dx`],[`l`,`x1`,`dx`],[`c`]]},{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`r`,`y1`],[`l`,`r`,`b`],[`l`,`x1`,`b`],[`c`]]}]},star10:{adj:[[`adj`,`val 42533`],[`hf`,`val 105146`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`dx1`,`*/ swd2 95106 100000`],[`dx2`,`*/ swd2 58779 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`dy1`,`*/ hd2 80902 100000`],[`dy2`,`*/ hd2 30902 100000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`],[`y4`,`+- vc dy1 0`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 80902 100000`],[`sdx2`,`*/ iwd2 30902 100000`],[`sdy1`,`*/ ihd2 95106 100000`],[`sdy2`,`*/ ihd2 58779 100000`],[`sx1`,`+- hc 0 iwd2`],[`sx2`,`+- hc 0 sdx1`],[`sx3`,`+- hc 0 sdx2`],[`sx4`,`+- hc sdx2 0`],[`sx5`,`+- hc sdx1 0`],[`sx6`,`+- hc iwd2 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc sdy2 0`],[`sy4`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`sx2`,`sy2`],[`l`,`x2`,`y1`],[`l`,`sx3`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx4`,`sy1`],[`l`,`x3`,`y1`],[`l`,`sx5`,`sy2`],[`l`,`x4`,`y2`],[`l`,`sx6`,`vc`],[`l`,`x4`,`y3`],[`l`,`sx5`,`sy3`],[`l`,`x3`,`y4`],[`l`,`sx4`,`sy4`],[`l`,`hc`,`b`],[`l`,`sx3`,`sy4`],[`l`,`x2`,`y4`],[`l`,`sx2`,`sy3`],[`l`,`x1`,`y3`],[`l`,`sx1`,`vc`],[`c`]]}]},star12:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`cos wd2 1800000`],[`dy1`,`sin hd2 3600000`],[`x1`,`+- hc 0 dx1`],[`x3`,`*/ w 3 4`],[`x4`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y3`,`*/ h 3 4`],[`y4`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`cos iwd2 900000`],[`sdx2`,`cos iwd2 2700000`],[`sdx3`,`cos iwd2 4500000`],[`sdy1`,`sin ihd2 4500000`],[`sdy2`,`sin ihd2 2700000`],[`sdy3`,`sin ihd2 900000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc sdx3 0`],[`sx5`,`+- hc sdx2 0`],[`sx6`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc sdy3 0`],[`sy5`,`+- vc sdy2 0`],[`sy6`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy3`],[`l`,`x1`,`hd4`],[`l`,`sx2`,`sy2`],[`l`,`wd4`,`y1`],[`l`,`sx3`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx4`,`sy1`],[`l`,`x3`,`y1`],[`l`,`sx5`,`sy2`],[`l`,`x4`,`hd4`],[`l`,`sx6`,`sy3`],[`l`,`r`,`vc`],[`l`,`sx6`,`sy4`],[`l`,`x4`,`y3`],[`l`,`sx5`,`sy5`],[`l`,`x3`,`y4`],[`l`,`sx4`,`sy6`],[`l`,`hc`,`b`],[`l`,`sx3`,`sy6`],[`l`,`wd4`,`y4`],[`l`,`sx2`,`sy5`],[`l`,`x1`,`y3`],[`l`,`sx1`,`sy4`],[`c`]]}]},star16:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ wd2 92388 100000`],[`dx2`,`*/ wd2 70711 100000`],[`dx3`,`*/ wd2 38268 100000`],[`dy1`,`*/ hd2 92388 100000`],[`dy2`,`*/ hd2 70711 100000`],[`dy3`,`*/ hd2 38268 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x5`,`+- hc dx2 0`],[`x6`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc 0 dy3`],[`y4`,`+- vc dy3 0`],[`y5`,`+- vc dy2 0`],[`y6`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 98079 100000`],[`sdx2`,`*/ iwd2 83147 100000`],[`sdx3`,`*/ iwd2 55557 100000`],[`sdx4`,`*/ iwd2 19509 100000`],[`sdy1`,`*/ ihd2 98079 100000`],[`sdy2`,`*/ ihd2 83147 100000`],[`sdy3`,`*/ ihd2 55557 100000`],[`sdy4`,`*/ ihd2 19509 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc 0 sdx4`],[`sx5`,`+- hc sdx4 0`],[`sx6`,`+- hc sdx3 0`],[`sx7`,`+- hc sdx2 0`],[`sx8`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc 0 sdy4`],[`sy5`,`+- vc sdy4 0`],[`sy6`,`+- vc sdy3 0`],[`sy7`,`+- vc sdy2 0`],[`sy8`,`+- vc sdy1 0`],[`idx`,`cos iwd2 2700000`],[`idy`,`sin ihd2 2700000`],[`il`,`+- hc 0 idx`],[`it`,`+- vc 0 idy`],[`ir`,`+- hc idx 0`],[`ib`,`+- vc idy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy4`],[`l`,`x1`,`y3`],[`l`,`sx2`,`sy3`],[`l`,`x2`,`y2`],[`l`,`sx3`,`sy2`],[`l`,`x3`,`y1`],[`l`,`sx4`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx5`,`sy1`],[`l`,`x4`,`y1`],[`l`,`sx6`,`sy2`],[`l`,`x5`,`y2`],[`l`,`sx7`,`sy3`],[`l`,`x6`,`y3`],[`l`,`sx8`,`sy4`],[`l`,`r`,`vc`],[`l`,`sx8`,`sy5`],[`l`,`x6`,`y4`],[`l`,`sx7`,`sy6`],[`l`,`x5`,`y5`],[`l`,`sx6`,`sy7`],[`l`,`x4`,`y6`],[`l`,`sx5`,`sy8`],[`l`,`hc`,`b`],[`l`,`sx4`,`sy8`],[`l`,`x3`,`y6`],[`l`,`sx3`,`sy7`],[`l`,`x2`,`y5`],[`l`,`sx2`,`sy6`],[`l`,`x1`,`y4`],[`l`,`sx1`,`sy5`],[`c`]]}]},star24:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`cos wd2 900000`],[`dx2`,`cos wd2 1800000`],[`dx3`,`cos wd2 2700000`],[`dx4`,`val wd4`],[`dx5`,`cos wd2 4500000`],[`dy1`,`sin hd2 4500000`],[`dy2`,`sin hd2 3600000`],[`dy3`,`sin hd2 2700000`],[`dy4`,`val hd4`],[`dy5`,`sin hd2 900000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc 0 dx4`],[`x5`,`+- hc 0 dx5`],[`x6`,`+- hc dx5 0`],[`x7`,`+- hc dx4 0`],[`x8`,`+- hc dx3 0`],[`x9`,`+- hc dx2 0`],[`x10`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc 0 dy3`],[`y4`,`+- vc 0 dy4`],[`y5`,`+- vc 0 dy5`],[`y6`,`+- vc dy5 0`],[`y7`,`+- vc dy4 0`],[`y8`,`+- vc dy3 0`],[`y9`,`+- vc dy2 0`],[`y10`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 99144 100000`],[`sdx2`,`*/ iwd2 92388 100000`],[`sdx3`,`*/ iwd2 79335 100000`],[`sdx4`,`*/ iwd2 60876 100000`],[`sdx5`,`*/ iwd2 38268 100000`],[`sdx6`,`*/ iwd2 13053 100000`],[`sdy1`,`*/ ihd2 99144 100000`],[`sdy2`,`*/ ihd2 92388 100000`],[`sdy3`,`*/ ihd2 79335 100000`],[`sdy4`,`*/ ihd2 60876 100000`],[`sdy5`,`*/ ihd2 38268 100000`],[`sdy6`,`*/ ihd2 13053 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc 0 sdx4`],[`sx5`,`+- hc 0 sdx5`],[`sx6`,`+- hc 0 sdx6`],[`sx7`,`+- hc sdx6 0`],[`sx8`,`+- hc sdx5 0`],[`sx9`,`+- hc sdx4 0`],[`sx10`,`+- hc sdx3 0`],[`sx11`,`+- hc sdx2 0`],[`sx12`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc 0 sdy4`],[`sy5`,`+- vc 0 sdy5`],[`sy6`,`+- vc 0 sdy6`],[`sy7`,`+- vc sdy6 0`],[`sy8`,`+- vc sdy5 0`],[`sy9`,`+- vc sdy4 0`],[`sy10`,`+- vc sdy3 0`],[`sy11`,`+- vc sdy2 0`],[`sy12`,`+- vc sdy1 0`],[`idx`,`cos iwd2 2700000`],[`idy`,`sin ihd2 2700000`],[`il`,`+- hc 0 idx`],[`it`,`+- vc 0 idy`],[`ir`,`+- hc idx 0`],[`ib`,`+- vc idy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy6`],[`l`,`x1`,`y5`],[`l`,`sx2`,`sy5`],[`l`,`x2`,`y4`],[`l`,`sx3`,`sy4`],[`l`,`x3`,`y3`],[`l`,`sx4`,`sy3`],[`l`,`x4`,`y2`],[`l`,`sx5`,`sy2`],[`l`,`x5`,`y1`],[`l`,`sx6`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx7`,`sy1`],[`l`,`x6`,`y1`],[`l`,`sx8`,`sy2`],[`l`,`x7`,`y2`],[`l`,`sx9`,`sy3`],[`l`,`x8`,`y3`],[`l`,`sx10`,`sy4`],[`l`,`x9`,`y4`],[`l`,`sx11`,`sy5`],[`l`,`x10`,`y5`],[`l`,`sx12`,`sy6`],[`l`,`r`,`vc`],[`l`,`sx12`,`sy7`],[`l`,`x10`,`y6`],[`l`,`sx11`,`sy8`],[`l`,`x9`,`y7`],[`l`,`sx10`,`sy9`],[`l`,`x8`,`y8`],[`l`,`sx9`,`sy10`],[`l`,`x7`,`y9`],[`l`,`sx8`,`sy11`],[`l`,`x6`,`y10`],[`l`,`sx7`,`sy12`],[`l`,`hc`,`b`],[`l`,`sx6`,`sy12`],[`l`,`x5`,`y10`],[`l`,`sx5`,`sy11`],[`l`,`x4`,`y9`],[`l`,`sx4`,`sy10`],[`l`,`x3`,`y8`],[`l`,`sx3`,`sy9`],[`l`,`x2`,`y7`],[`l`,`sx2`,`sy8`],[`l`,`x1`,`y6`],[`l`,`sx1`,`sy7`],[`c`]]}]},star32:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`*/ wd2 98079 100000`],[`dx2`,`*/ wd2 92388 100000`],[`dx3`,`*/ wd2 83147 100000`],[`dx4`,`cos wd2 2700000`],[`dx5`,`*/ wd2 55557 100000`],[`dx6`,`*/ wd2 38268 100000`],[`dx7`,`*/ wd2 19509 100000`],[`dy1`,`*/ hd2 98079 100000`],[`dy2`,`*/ hd2 92388 100000`],[`dy3`,`*/ hd2 83147 100000`],[`dy4`,`sin hd2 2700000`],[`dy5`,`*/ hd2 55557 100000`],[`dy6`,`*/ hd2 38268 100000`],[`dy7`,`*/ hd2 19509 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc 0 dx4`],[`x5`,`+- hc 0 dx5`],[`x6`,`+- hc 0 dx6`],[`x7`,`+- hc 0 dx7`],[`x8`,`+- hc dx7 0`],[`x9`,`+- hc dx6 0`],[`x10`,`+- hc dx5 0`],[`x11`,`+- hc dx4 0`],[`x12`,`+- hc dx3 0`],[`x13`,`+- hc dx2 0`],[`x14`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc 0 dy3`],[`y4`,`+- vc 0 dy4`],[`y5`,`+- vc 0 dy5`],[`y6`,`+- vc 0 dy6`],[`y7`,`+- vc 0 dy7`],[`y8`,`+- vc dy7 0`],[`y9`,`+- vc dy6 0`],[`y10`,`+- vc dy5 0`],[`y11`,`+- vc dy4 0`],[`y12`,`+- vc dy3 0`],[`y13`,`+- vc dy2 0`],[`y14`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 99518 100000`],[`sdx2`,`*/ iwd2 95694 100000`],[`sdx3`,`*/ iwd2 88192 100000`],[`sdx4`,`*/ iwd2 77301 100000`],[`sdx5`,`*/ iwd2 63439 100000`],[`sdx6`,`*/ iwd2 47140 100000`],[`sdx7`,`*/ iwd2 29028 100000`],[`sdx8`,`*/ iwd2 9802 100000`],[`sdy1`,`*/ ihd2 99518 100000`],[`sdy2`,`*/ ihd2 95694 100000`],[`sdy3`,`*/ ihd2 88192 100000`],[`sdy4`,`*/ ihd2 77301 100000`],[`sdy5`,`*/ ihd2 63439 100000`],[`sdy6`,`*/ ihd2 47140 100000`],[`sdy7`,`*/ ihd2 29028 100000`],[`sdy8`,`*/ ihd2 9802 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc 0 sdx4`],[`sx5`,`+- hc 0 sdx5`],[`sx6`,`+- hc 0 sdx6`],[`sx7`,`+- hc 0 sdx7`],[`sx8`,`+- hc 0 sdx8`],[`sx9`,`+- hc sdx8 0`],[`sx10`,`+- hc sdx7 0`],[`sx11`,`+- hc sdx6 0`],[`sx12`,`+- hc sdx5 0`],[`sx13`,`+- hc sdx4 0`],[`sx14`,`+- hc sdx3 0`],[`sx15`,`+- hc sdx2 0`],[`sx16`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc 0 sdy3`],[`sy4`,`+- vc 0 sdy4`],[`sy5`,`+- vc 0 sdy5`],[`sy6`,`+- vc 0 sdy6`],[`sy7`,`+- vc 0 sdy7`],[`sy8`,`+- vc 0 sdy8`],[`sy9`,`+- vc sdy8 0`],[`sy10`,`+- vc sdy7 0`],[`sy11`,`+- vc sdy6 0`],[`sy12`,`+- vc sdy5 0`],[`sy13`,`+- vc sdy4 0`],[`sy14`,`+- vc sdy3 0`],[`sy15`,`+- vc sdy2 0`],[`sy16`,`+- vc sdy1 0`],[`idx`,`cos iwd2 2700000`],[`idy`,`sin ihd2 2700000`],[`il`,`+- hc 0 idx`],[`it`,`+- vc 0 idy`],[`ir`,`+- hc idx 0`],[`ib`,`+- vc idy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy8`],[`l`,`x1`,`y7`],[`l`,`sx2`,`sy7`],[`l`,`x2`,`y6`],[`l`,`sx3`,`sy6`],[`l`,`x3`,`y5`],[`l`,`sx4`,`sy5`],[`l`,`x4`,`y4`],[`l`,`sx5`,`sy4`],[`l`,`x5`,`y3`],[`l`,`sx6`,`sy3`],[`l`,`x6`,`y2`],[`l`,`sx7`,`sy2`],[`l`,`x7`,`y1`],[`l`,`sx8`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx9`,`sy1`],[`l`,`x8`,`y1`],[`l`,`sx10`,`sy2`],[`l`,`x9`,`y2`],[`l`,`sx11`,`sy3`],[`l`,`x10`,`y3`],[`l`,`sx12`,`sy4`],[`l`,`x11`,`y4`],[`l`,`sx13`,`sy5`],[`l`,`x12`,`y5`],[`l`,`sx14`,`sy6`],[`l`,`x13`,`y6`],[`l`,`sx15`,`sy7`],[`l`,`x14`,`y7`],[`l`,`sx16`,`sy8`],[`l`,`r`,`vc`],[`l`,`sx16`,`sy9`],[`l`,`x14`,`y8`],[`l`,`sx15`,`sy10`],[`l`,`x13`,`y9`],[`l`,`sx14`,`sy11`],[`l`,`x12`,`y10`],[`l`,`sx13`,`sy12`],[`l`,`x11`,`y11`],[`l`,`sx12`,`sy13`],[`l`,`x10`,`y12`],[`l`,`sx11`,`sy14`],[`l`,`x9`,`y13`],[`l`,`sx10`,`sy15`],[`l`,`x8`,`y14`],[`l`,`sx9`,`sy16`],[`l`,`hc`,`b`],[`l`,`sx8`,`sy16`],[`l`,`x7`,`y14`],[`l`,`sx7`,`sy15`],[`l`,`x6`,`y13`],[`l`,`sx6`,`sy14`],[`l`,`x5`,`y12`],[`l`,`sx5`,`sy13`],[`l`,`x4`,`y11`],[`l`,`sx4`,`sy12`],[`l`,`x3`,`y10`],[`l`,`sx3`,`sy11`],[`l`,`x2`,`y9`],[`l`,`sx2`,`sy10`],[`l`,`x1`,`y8`],[`l`,`sx1`,`sy9`],[`c`]]}]},star4:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 50000`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx`,`cos iwd2 2700000`],[`sdy`,`sin ihd2 2700000`],[`sx1`,`+- hc 0 sdx`],[`sx2`,`+- hc sdx 0`],[`sy1`,`+- vc 0 sdy`],[`sy2`,`+- vc sdy 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx2`,`sy1`],[`l`,`r`,`vc`],[`l`,`sx2`,`sy2`],[`l`,`hc`,`b`],[`l`,`sx1`,`sy2`],[`c`]]}]},star5:{adj:[[`adj`,`val 19098`],[`hf`,`val 105146`],[`vf`,`val 110557`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`cos swd2 1080000`],[`dx2`,`cos swd2 18360000`],[`dy1`,`sin shd2 1080000`],[`dy2`,`sin shd2 18360000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc 0 dy2`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ shd2 a 50000`],[`sdx1`,`cos iwd2 20520000`],[`sdx2`,`cos iwd2 3240000`],[`sdy1`,`sin ihd2 3240000`],[`sdy2`,`sin ihd2 20520000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc sdx2 0`],[`sx4`,`+- hc sdx1 0`],[`sy1`,`+- svc 0 sdy1`],[`sy2`,`+- svc 0 sdy2`],[`sy3`,`+- svc ihd2 0`],[`yAdj`,`+- svc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y1`],[`l`,`sx2`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx3`,`sy1`],[`l`,`x4`,`y1`],[`l`,`sx4`,`sy2`],[`l`,`x3`,`y2`],[`l`,`hc`,`sy3`],[`l`,`x2`,`y2`],[`l`,`sx1`,`sy2`],[`c`]]}]},star6:{adj:[[`adj`,`val 28868`],[`hf`,`val 115470`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`dx1`,`cos swd2 1800000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`y2`,`+- vc hd4 0`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx2`,`*/ iwd2 1 2`],[`sx1`,`+- hc 0 iwd2`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc sdx2 0`],[`sx4`,`+- hc iwd2 0`],[`sdy1`,`sin ihd2 3600000`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`hd4`],[`l`,`sx2`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx3`,`sy1`],[`l`,`x2`,`hd4`],[`l`,`sx4`,`vc`],[`l`,`x2`,`y2`],[`l`,`sx3`,`sy2`],[`l`,`hc`,`b`],[`l`,`sx2`,`sy2`],[`l`,`x1`,`y2`],[`l`,`sx1`,`vc`],[`c`]]}]},star7:{adj:[[`adj`,`val 34601`],[`hf`,`val 102572`],[`vf`,`val 105210`]],gd:[[`a`,`pin 0 adj 50000`],[`swd2`,`*/ wd2 hf 100000`],[`shd2`,`*/ hd2 vf 100000`],[`svc`,`*/ vc vf 100000`],[`dx1`,`*/ swd2 97493 100000`],[`dx2`,`*/ swd2 78183 100000`],[`dx3`,`*/ swd2 43388 100000`],[`dy1`,`*/ shd2 62349 100000`],[`dy2`,`*/ shd2 22252 100000`],[`dy3`,`*/ shd2 90097 100000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc 0 dx3`],[`x4`,`+- hc dx3 0`],[`x5`,`+- hc dx2 0`],[`x6`,`+- hc dx1 0`],[`y1`,`+- svc 0 dy1`],[`y2`,`+- svc dy2 0`],[`y3`,`+- svc dy3 0`],[`iwd2`,`*/ swd2 a 50000`],[`ihd2`,`*/ shd2 a 50000`],[`sdx1`,`*/ iwd2 97493 100000`],[`sdx2`,`*/ iwd2 78183 100000`],[`sdx3`,`*/ iwd2 43388 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc 0 sdx3`],[`sx4`,`+- hc sdx3 0`],[`sx5`,`+- hc sdx2 0`],[`sx6`,`+- hc sdx1 0`],[`sdy1`,`*/ ihd2 90097 100000`],[`sdy2`,`*/ ihd2 22252 100000`],[`sdy3`,`*/ ihd2 62349 100000`],[`sy1`,`+- svc 0 sdy1`],[`sy2`,`+- svc 0 sdy2`],[`sy3`,`+- svc sdy3 0`],[`sy4`,`+- svc ihd2 0`],[`yAdj`,`+- svc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x1`,`y2`],[`l`,`sx1`,`sy2`],[`l`,`x2`,`y1`],[`l`,`sx3`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx4`,`sy1`],[`l`,`x5`,`y1`],[`l`,`sx6`,`sy2`],[`l`,`x6`,`y2`],[`l`,`sx5`,`sy3`],[`l`,`x4`,`y3`],[`l`,`hc`,`sy4`],[`l`,`x3`,`y3`],[`l`,`sx2`,`sy3`],[`c`]]}]},star8:{adj:[[`adj`,`val 37500`]],gd:[[`a`,`pin 0 adj 50000`],[`dx1`,`cos wd2 2700000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy1`,`sin hd2 2700000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`iwd2`,`*/ wd2 a 50000`],[`ihd2`,`*/ hd2 a 50000`],[`sdx1`,`*/ iwd2 92388 100000`],[`sdx2`,`*/ iwd2 38268 100000`],[`sdy1`,`*/ ihd2 92388 100000`],[`sdy2`,`*/ ihd2 38268 100000`],[`sx1`,`+- hc 0 sdx1`],[`sx2`,`+- hc 0 sdx2`],[`sx3`,`+- hc sdx2 0`],[`sx4`,`+- hc sdx1 0`],[`sy1`,`+- vc 0 sdy1`],[`sy2`,`+- vc 0 sdy2`],[`sy3`,`+- vc sdy2 0`],[`sy4`,`+- vc sdy1 0`],[`yAdj`,`+- vc 0 ihd2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`l`,`sx1`,`sy2`],[`l`,`x1`,`y1`],[`l`,`sx2`,`sy1`],[`l`,`hc`,`t`],[`l`,`sx3`,`sy1`],[`l`,`x2`,`y1`],[`l`,`sx4`,`sy2`],[`l`,`r`,`vc`],[`l`,`sx4`,`sy3`],[`l`,`x2`,`y2`],[`l`,`sx3`,`sy4`],[`l`,`hc`,`b`],[`l`,`sx2`,`sy4`],[`l`,`x1`,`y2`],[`l`,`sx1`,`sy3`],[`c`]]}]},straightconnector1:{adj:[],gd:[],paths:[{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`r`,`b`]]}]},stripedrightarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 84375 w ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`x4`,`*/ ss 5 32`],[`dx5`,`*/ ss a2 100000`],[`x5`,`+- r 0 dx5`],[`dy1`,`*/ h a1 200000`],[`y1`,`+- vc 0 dy1`],[`y2`,`+- vc dy1 0`],[`dx6`,`*/ dy1 dx5 hd2`],[`x6`,`+- r 0 dx6`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y1`],[`l`,`ssd32`,`y1`],[`l`,`ssd32`,`y2`],[`l`,`l`,`y2`],[`c`],[`m`,`ssd16`,`y1`],[`l`,`ssd8`,`y1`],[`l`,`ssd8`,`y2`],[`l`,`ssd16`,`y2`],[`c`],[`m`,`x4`,`y1`],[`l`,`x5`,`y1`],[`l`,`x5`,`t`],[`l`,`r`,`vc`],[`l`,`x5`,`b`],[`l`,`x5`,`y2`],[`l`,`x4`,`y2`],[`c`]]}]},sun:{adj:[[`adj`,`val 25000`]],gd:[[`a`,`pin 12500 adj 46875`],[`g0`,`+- 50000 0 a`],[`g1`,`*/ g0 30274 32768`],[`g2`,`*/ g0 12540 32768`],[`g3`,`+- g1 50000 0`],[`g4`,`+- g2 50000 0`],[`g5`,`+- 50000 0 g1`],[`g6`,`+- 50000 0 g2`],[`g7`,`*/ g0 23170 32768`],[`g8`,`+- 50000 g7 0`],[`g9`,`+- 50000 0 g7`],[`g10`,`*/ g5 3 4`],[`g11`,`*/ g6 3 4`],[`g12`,`+- g10 3662 0`],[`g13`,`+- g11 3662 0`],[`g14`,`+- g11 12500 0`],[`g15`,`+- 100000 0 g10`],[`g16`,`+- 100000 0 g12`],[`g17`,`+- 100000 0 g13`],[`g18`,`+- 100000 0 g14`],[`ox1`,`*/ w 18436 21600`],[`oy1`,`*/ h 3163 21600`],[`ox2`,`*/ w 3163 21600`],[`oy2`,`*/ h 18436 21600`],[`x8`,`*/ w g8 100000`],[`x9`,`*/ w g9 100000`],[`x10`,`*/ w g10 100000`],[`x12`,`*/ w g12 100000`],[`x13`,`*/ w g13 100000`],[`x14`,`*/ w g14 100000`],[`x15`,`*/ w g15 100000`],[`x16`,`*/ w g16 100000`],[`x17`,`*/ w g17 100000`],[`x18`,`*/ w g18 100000`],[`x19`,`*/ w a 100000`],[`wR`,`*/ w g0 100000`],[`hR`,`*/ h g0 100000`],[`y8`,`*/ h g8 100000`],[`y9`,`*/ h g9 100000`],[`y10`,`*/ h g10 100000`],[`y12`,`*/ h g12 100000`],[`y13`,`*/ h g13 100000`],[`y14`,`*/ h g14 100000`],[`y15`,`*/ h g15 100000`],[`y16`,`*/ h g16 100000`],[`y17`,`*/ h g17 100000`],[`y18`,`*/ h g18 100000`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`r`,`vc`],[`l`,`x15`,`y18`],[`l`,`x15`,`y14`],[`c`],[`m`,`ox1`,`oy1`],[`l`,`x16`,`y13`],[`l`,`x17`,`y12`],[`c`],[`m`,`hc`,`t`],[`l`,`x18`,`y10`],[`l`,`x14`,`y10`],[`c`],[`m`,`ox2`,`oy1`],[`l`,`x13`,`y12`],[`l`,`x12`,`y13`],[`c`],[`m`,`l`,`vc`],[`l`,`x10`,`y14`],[`l`,`x10`,`y18`],[`c`],[`m`,`ox2`,`oy2`],[`l`,`x12`,`y17`],[`l`,`x13`,`y16`],[`c`],[`m`,`hc`,`b`],[`l`,`x14`,`y15`],[`l`,`x18`,`y15`],[`c`],[`m`,`ox1`,`oy2`],[`l`,`x17`,`y16`],[`l`,`x16`,`y17`],[`c`],[`m`,`x19`,`vc`],[`a`,`wR`,`hR`,`cd2`,`21600000`],[`c`]]}]},swoosharrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 16667`]],gd:[[`a1`,`pin 1 adj1 75000`],[`maxAdj2`,`*/ 70000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`ad1`,`*/ h a1 100000`],[`ad2`,`*/ ss a2 100000`],[`xB`,`+- r 0 ad2`],[`yB`,`+- t ssd8 0`],[`alfa`,`*/ cd4 1 14`],[`dx0`,`tan ssd8 alfa`],[`xC`,`+- xB 0 dx0`],[`dx1`,`tan ad1 alfa`],[`yF`,`+- yB ad1 0`],[`xF`,`+- xB dx1 0`],[`xE`,`+- xF dx0 0`],[`yE`,`+- yF ssd8 0`],[`dy2`,`+- yE 0 t`],[`dy22`,`*/ dy2 1 2`],[`dy3`,`*/ h 1 20`],[`yD`,`+- t dy22 dy3`],[`dy4`,`*/ hd6 1 1`],[`yP1`,`+- hd6 dy4 0`],[`xP1`,`val wd6`],[`dy5`,`*/ hd6 1 2`],[`yP2`,`+- yF dy5 0`],[`xP2`,`val wd4`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`Q`,`xP1`,`yP1`,`xB`,`yB`],[`l`,`xC`,`t`],[`l`,`r`,`yD`],[`l`,`xE`,`yE`],[`l`,`xF`,`yF`],[`Q`,`xP2`,`yP2`,`l`,`b`],[`c`]]}]},teardrop:{adj:[[`adj`,`val 100000`]],gd:[[`a`,`pin 0 adj 200000`],[`r2`,`sqrt 2`],[`tw`,`*/ wd2 r2 1`],[`th`,`*/ hd2 r2 1`],[`sw`,`*/ tw a 100000`],[`sh`,`*/ th a 100000`],[`dx1`,`cos sw 2700000`],[`dy1`,`sin sh 2700000`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc 0 dy1`],[`x2`,`+/ hc x1 2`],[`y2`,`+/ vc y1 2`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`vc`],[`a`,`wd2`,`hd2`,`cd2`,`cd4`],[`Q`,`x2`,`t`,`x1`,`y1`],[`Q`,`r`,`y2`,`r`,`vc`],[`a`,`wd2`,`hd2`,`0`,`cd4`],[`a`,`wd2`,`hd2`,`cd4`,`cd4`],[`c`]]}]},trapezoid:{adj:[[`adj`,`val 25000`]],gd:[[`maxAdj`,`*/ 50000 w ss`],[`a`,`pin 0 adj maxAdj`],[`x1`,`*/ ss a 200000`],[`x2`,`*/ ss a 100000`],[`x3`,`+- r 0 x2`],[`x4`,`+- r 0 x1`],[`il`,`*/ wd3 a maxAdj`],[`it`,`*/ hd3 a maxAdj`],[`ir`,`+- r 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`x3`,`t`],[`l`,`r`,`b`],[`c`]]}]},triangle:{adj:[[`adj`,`val 50000`]],gd:[[`a`,`pin 0 adj 100000`],[`x1`,`*/ w a 200000`],[`x2`,`*/ w a 100000`],[`x3`,`+- x1 wd2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`x2`,`t`],[`l`,`r`,`b`],[`c`]]}]},uparrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 64977`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 100000 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss h`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dx1`,`*/ ss a2 100000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`*/ ss a3 100000`],[`dy2`,`*/ h a4 100000`],[`y2`,`+- b 0 dy2`],[`y3`,`+/ y2 b 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`hc`,`t`],[`l`,`x4`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`y2`],[`l`,`r`,`y2`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]},updownarrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 50000 h ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`y2`,`*/ ss a2 100000`],[`y3`,`+- b 0 y2`],[`dx1`,`*/ w a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy1`,`*/ x1 y2 wd2`],[`y1`,`+- y2 0 dy1`],[`y4`,`+- y3 dy1 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`hc`,`t`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y3`],[`l`,`r`,`y3`],[`l`,`hc`,`b`],[`l`,`l`,`y3`],[`l`,`x1`,`y3`],[`l`,`x1`,`y2`],[`c`]]}]},uparrow:{adj:[[`adj1`,`val 50000`],[`adj2`,`val 50000`]],gd:[[`maxAdj2`,`*/ 100000 h ss`],[`a1`,`pin 0 adj1 100000`],[`a2`,`pin 0 adj2 maxAdj2`],[`dy2`,`*/ ss a2 100000`],[`y2`,`+- t dy2 0`],[`dx1`,`*/ w a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc dx1 0`],[`dy1`,`*/ x1 dy2 wd2`],[`y1`,`+- y2 0 dy1`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`hc`,`t`],[`l`,`r`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`b`],[`l`,`x1`,`b`],[`l`,`x1`,`y2`],[`c`]]}]},updownarrowcallout:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 48123`]],gd:[[`maxAdj2`,`*/ 50000 w ss`],[`a2`,`pin 0 adj2 maxAdj2`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`maxAdj3`,`*/ 50000 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q2`,`*/ a3 ss hd2`],[`maxAdj4`,`+- 100000 0 q2`],[`a4`,`pin 0 adj4 maxAdj4`],[`dx1`,`*/ ss a2 100000`],[`dx2`,`*/ ss a1 200000`],[`x1`,`+- hc 0 dx1`],[`x2`,`+- hc 0 dx2`],[`x3`,`+- hc dx2 0`],[`x4`,`+- hc dx1 0`],[`y1`,`*/ ss a3 100000`],[`y4`,`+- b 0 y1`],[`dy2`,`*/ h a4 200000`],[`y2`,`+- vc 0 dy2`],[`y3`,`+- vc dy2 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`y2`],[`l`,`x2`,`y2`],[`l`,`x2`,`y1`],[`l`,`x1`,`y1`],[`l`,`hc`,`t`],[`l`,`x4`,`y1`],[`l`,`x3`,`y1`],[`l`,`x3`,`y2`],[`l`,`r`,`y2`],[`l`,`r`,`y3`],[`l`,`x3`,`y3`],[`l`,`x3`,`y4`],[`l`,`x4`,`y4`],[`l`,`hc`,`b`],[`l`,`x1`,`y4`],[`l`,`x2`,`y4`],[`l`,`x2`,`y3`],[`l`,`l`,`y3`],[`c`]]}]},uturnarrow:{adj:[[`adj1`,`val 25000`],[`adj2`,`val 25000`],[`adj3`,`val 25000`],[`adj4`,`val 43750`],[`adj5`,`val 75000`]],gd:[[`a2`,`pin 0 adj2 25000`],[`maxAdj1`,`*/ a2 2 1`],[`a1`,`pin 0 adj1 maxAdj1`],[`q2`,`*/ a1 ss h`],[`q3`,`+- 100000 0 q2`],[`maxAdj3`,`*/ q3 h ss`],[`a3`,`pin 0 adj3 maxAdj3`],[`q1`,`+- a3 a1 0`],[`minAdj5`,`*/ q1 ss h`],[`a5`,`pin minAdj5 adj5 100000`],[`th`,`*/ ss a1 100000`],[`aw2`,`*/ ss a2 100000`],[`th2`,`*/ th 1 2`],[`dh2`,`+- aw2 0 th2`],[`y5`,`*/ h a5 100000`],[`ah`,`*/ ss a3 100000`],[`y4`,`+- y5 0 ah`],[`x9`,`+- r 0 dh2`],[`bw`,`*/ x9 1 2`],[`bs`,`min bw y4`],[`maxAdj4`,`*/ bs 100000 ss`],[`a4`,`pin 0 adj4 maxAdj4`],[`bd`,`*/ ss a4 100000`],[`bd3`,`+- bd 0 th`],[`bd2`,`max bd3 0`],[`x3`,`+- th bd2 0`],[`x8`,`+- r 0 aw2`],[`x6`,`+- x8 0 aw2`],[`x7`,`+- x6 dh2 0`],[`x4`,`+- x9 0 bd`],[`x5`,`+- x7 0 bd2`],[`cx`,`+/ th x7 2`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`b`],[`l`,`l`,`bd`],[`a`,`bd`,`bd`,`cd2`,`cd4`],[`l`,`x4`,`t`],[`a`,`bd`,`bd`,`3cd4`,`cd4`],[`l`,`x9`,`y4`],[`l`,`r`,`y4`],[`l`,`x8`,`y5`],[`l`,`x6`,`y4`],[`l`,`x7`,`y4`],[`l`,`x7`,`x3`],[`a`,`bd2`,`bd2`,`0`,`-5400000`],[`l`,`x3`,`th`],[`a`,`bd2`,`bd2`,`3cd4`,`-5400000`],[`l`,`th`,`b`],[`c`]]}]},verticalscroll:{adj:[[`adj`,`val 12500`]],gd:[[`a`,`pin 0 adj 25000`],[`ch`,`*/ ss a 100000`],[`ch2`,`*/ ch 1 2`],[`ch4`,`*/ ch 1 4`],[`x3`,`+- ch ch2 0`],[`x4`,`+- ch ch 0`],[`x6`,`+- r 0 ch`],[`x7`,`+- r 0 ch2`],[`x5`,`+- x6 0 ch2`],[`y3`,`+- b 0 ch`],[`y4`,`+- b 0 ch2`]],paths:[{w:null,h:null,fill:null,stroke:!1,extrusionOk:!1,cmds:[[`m`,`ch2`,`b`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`l`,`ch2`,`y4`],[`a`,`ch4`,`ch4`,`cd4`,`-10800000`],[`l`,`ch`,`y3`],[`l`,`ch`,`ch2`],[`a`,`ch2`,`ch2`,`cd2`,`cd4`],[`l`,`x7`,`t`],[`a`,`ch2`,`ch2`,`3cd4`,`cd2`],[`l`,`x6`,`ch`],[`l`,`x6`,`y4`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`c`],[`m`,`x4`,`ch2`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`a`,`ch4`,`ch4`,`cd4`,`cd2`],[`c`]]},{w:null,h:null,fill:`darkenLess`,stroke:!1,extrusionOk:!1,cmds:[[`m`,`x4`,`ch2`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`a`,`ch4`,`ch4`,`cd4`,`cd2`],[`c`],[`m`,`ch`,`y4`],[`a`,`ch2`,`ch2`,`0`,`3cd4`],[`a`,`ch4`,`ch4`,`3cd4`,`cd2`],[`c`]]},{w:null,h:null,fill:`none`,stroke:!0,extrusionOk:!1,cmds:[[`m`,`ch`,`y3`],[`l`,`ch`,`ch2`],[`a`,`ch2`,`ch2`,`cd2`,`cd4`],[`l`,`x7`,`t`],[`a`,`ch2`,`ch2`,`3cd4`,`cd2`],[`l`,`x6`,`ch`],[`l`,`x6`,`y4`],[`a`,`ch2`,`ch2`,`0`,`cd4`],[`l`,`ch2`,`b`],[`a`,`ch2`,`ch2`,`cd4`,`cd2`],[`c`],[`m`,`x3`,`t`],[`a`,`ch2`,`ch2`,`3cd4`,`cd2`],[`a`,`ch4`,`ch4`,`cd4`,`cd2`],[`l`,`x4`,`ch2`],[`m`,`x6`,`ch`],[`l`,`x3`,`ch`],[`m`,`ch2`,`y3`],[`a`,`ch4`,`ch4`,`3cd4`,`cd2`],[`l`,`ch`,`y4`],[`m`,`ch2`,`b`],[`a`,`ch2`,`ch2`,`cd4`,`-5400000`],[`l`,`ch`,`y3`]]}]},wave:{adj:[[`adj1`,`val 12500`],[`adj2`,`val 0`]],gd:[[`a1`,`pin 0 adj1 20000`],[`a2`,`pin -10000 adj2 10000`],[`y1`,`*/ h a1 100000`],[`dy2`,`*/ y1 10 3`],[`y2`,`+- y1 0 dy2`],[`y3`,`+- y1 dy2 0`],[`y4`,`+- b 0 y1`],[`y5`,`+- y4 0 dy2`],[`y6`,`+- y4 dy2 0`],[`dx1`,`*/ w a2 100000`],[`of2`,`*/ w a2 50000`],[`x1`,`abs dx1`],[`dx2`,`?: of2 0 of2`],[`x2`,`+- l 0 dx2`],[`dx5`,`?: of2 of2 0`],[`x5`,`+- r 0 dx5`],[`dx3`,`+/ dx2 x5 3`],[`x3`,`+- x2 dx3 0`],[`x4`,`+/ x3 x5 2`],[`x6`,`+- l dx5 0`],[`x10`,`+- r dx2 0`],[`x7`,`+- x6 dx3 0`],[`x8`,`+/ x7 x10 2`],[`x9`,`+- r 0 x1`],[`xAdj`,`+- hc dx1 0`],[`xAdj2`,`+- hc 0 dx1`],[`il`,`max x2 x6`],[`ir`,`min x5 x10`],[`it`,`*/ h a1 50000`],[`ib`,`+- b 0 it`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`x2`,`y1`],[`C`,`x3`,`y2`,`x4`,`y3`,`x5`,`y1`],[`l`,`x10`,`y4`],[`C`,`x8`,`y6`,`x7`,`y5`,`x6`,`y4`],[`c`]]}]},wedgeellipsecallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`sdx`,`*/ dxPos h 1`],[`sdy`,`*/ dyPos w 1`],[`pang`,`at2 sdx sdy`],[`stAng`,`+- pang 660000 0`],[`enAng`,`+- pang 0 660000`],[`dx1`,`cos wd2 stAng`],[`dy1`,`sin hd2 stAng`],[`x1`,`+- hc dx1 0`],[`y1`,`+- vc dy1 0`],[`dx2`,`cos wd2 enAng`],[`dy2`,`sin hd2 enAng`],[`x2`,`+- hc dx2 0`],[`y2`,`+- vc dy2 0`],[`stAng1`,`at2 dx1 dy1`],[`enAng1`,`at2 dx2 dy2`],[`swAng1`,`+- enAng1 0 stAng1`],[`swAng2`,`+- swAng1 21600000 0`],[`swAng`,`?: swAng1 swAng1 swAng2`],[`idx`,`cos wd2 2700000`],[`idy`,`sin hd2 2700000`],[`il`,`+- hc 0 idx`],[`ir`,`+- hc idx 0`],[`it`,`+- vc 0 idy`],[`ib`,`+- vc idy 0`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`xPos`,`yPos`],[`l`,`x1`,`y1`],[`a`,`wd2`,`hd2`,`stAng1`,`swAng`],[`c`]]}]},wedgerectcallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`dx`,`+- xPos 0 hc`],[`dy`,`+- yPos 0 vc`],[`dq`,`*/ dxPos h w`],[`ady`,`abs dyPos`],[`adq`,`abs dq`],[`dz`,`+- ady 0 adq`],[`xg1`,`?: dxPos 7 2`],[`xg2`,`?: dxPos 10 5`],[`x1`,`*/ w xg1 12`],[`x2`,`*/ w xg2 12`],[`yg1`,`?: dyPos 7 2`],[`yg2`,`?: dyPos 10 5`],[`y1`,`*/ h yg1 12`],[`y2`,`*/ h yg2 12`],[`t1`,`?: dxPos l xPos`],[`xl`,`?: dz l t1`],[`t2`,`?: dyPos x1 xPos`],[`xt`,`?: dz t2 x1`],[`t3`,`?: dxPos xPos r`],[`xr`,`?: dz r t3`],[`t4`,`?: dyPos xPos x1`],[`xb`,`?: dz t4 x1`],[`t5`,`?: dxPos y1 yPos`],[`yl`,`?: dz y1 t5`],[`t6`,`?: dyPos t yPos`],[`yt`,`?: dz t6 t`],[`t7`,`?: dxPos yPos y1`],[`yr`,`?: dz y1 t7`],[`t8`,`?: dyPos yPos b`],[`yb`,`?: dz t8 b`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`t`],[`l`,`x1`,`t`],[`l`,`xt`,`yt`],[`l`,`x2`,`t`],[`l`,`r`,`t`],[`l`,`r`,`y1`],[`l`,`xr`,`yr`],[`l`,`r`,`y2`],[`l`,`r`,`b`],[`l`,`x2`,`b`],[`l`,`xb`,`yb`],[`l`,`x1`,`b`],[`l`,`l`,`b`],[`l`,`l`,`y2`],[`l`,`xl`,`yl`],[`l`,`l`,`y1`],[`c`]]}]},wedgeroundrectcallout:{adj:[[`adj1`,`val -20833`],[`adj2`,`val 62500`],[`adj3`,`val 16667`]],gd:[[`dxPos`,`*/ w adj1 100000`],[`dyPos`,`*/ h adj2 100000`],[`xPos`,`+- hc dxPos 0`],[`yPos`,`+- vc dyPos 0`],[`dq`,`*/ dxPos h w`],[`ady`,`abs dyPos`],[`adq`,`abs dq`],[`dz`,`+- ady 0 adq`],[`xg1`,`?: dxPos 7 2`],[`xg2`,`?: dxPos 10 5`],[`x1`,`*/ w xg1 12`],[`x2`,`*/ w xg2 12`],[`yg1`,`?: dyPos 7 2`],[`yg2`,`?: dyPos 10 5`],[`y1`,`*/ h yg1 12`],[`y2`,`*/ h yg2 12`],[`t1`,`?: dxPos l xPos`],[`xl`,`?: dz l t1`],[`t2`,`?: dyPos x1 xPos`],[`xt`,`?: dz t2 x1`],[`t3`,`?: dxPos xPos r`],[`xr`,`?: dz r t3`],[`t4`,`?: dyPos xPos x1`],[`xb`,`?: dz t4 x1`],[`t5`,`?: dxPos y1 yPos`],[`yl`,`?: dz y1 t5`],[`t6`,`?: dyPos t yPos`],[`yt`,`?: dz t6 t`],[`t7`,`?: dxPos yPos y1`],[`yr`,`?: dz y1 t7`],[`t8`,`?: dyPos yPos b`],[`yb`,`?: dz t8 b`],[`u1`,`*/ ss adj3 100000`],[`u2`,`+- r 0 u1`],[`v2`,`+- b 0 u1`],[`il`,`*/ u1 29289 100000`],[`ir`,`+- r 0 il`],[`ib`,`+- b 0 il`]],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!0,cmds:[[`m`,`l`,`u1`],[`a`,`u1`,`u1`,`cd2`,`cd4`],[`l`,`x1`,`t`],[`l`,`xt`,`yt`],[`l`,`x2`,`t`],[`l`,`u2`,`t`],[`a`,`u1`,`u1`,`3cd4`,`cd4`],[`l`,`r`,`y1`],[`l`,`xr`,`yr`],[`l`,`r`,`y2`],[`l`,`r`,`v2`],[`a`,`u1`,`u1`,`0`,`cd4`],[`l`,`x2`,`b`],[`l`,`xb`,`yb`],[`l`,`x1`,`b`],[`l`,`u1`,`b`],[`a`,`u1`,`u1`,`cd4`,`cd4`],[`l`,`l`,`y2`],[`l`,`xl`,`yl`],[`l`,`l`,`y1`],[`c`]]}]}};const wn=216e5,Tn=Math.PI*2/wn;function En(e){let t=e.trim().split(/\\s+/);return{op:t[0],argTokens:t.slice(1)}}function Dn(e,t,n){let{w:r,h:i,adj:a}=e,o=Math.min(r,i),s=Math.max(r,i),c=Object.create(null);Object.assign(c,{w:r,h:i,l:0,t:0,r,b:i,hc:r/2,vc:i/2,wd2:r/2,wd3:r/3,wd4:r/4,wd5:r/5,wd6:r/6,wd8:r/8,wd10:r/10,wd12:r/12,wd16:r/16,wd32:r/32,hd2:i/2,hd3:i/3,hd4:i/4,hd5:i/5,hd6:i/6,hd8:i/8,hd10:i/10,hd12:i/12,hd16:i/16,hd32:i/32,ss:o,ssd2:o/2,ssd4:o/4,ssd6:o/6,ssd8:o/8,ssd16:o/16,ssd32:o/32,ls:s,lsd2:s/2,lsd4:s/4,lsd6:s/6,lsd8:s/8,lsd16:s/16,lsd32:s/32,cd:wn,cd2:wn/2,cd4:wn/4,cd8:wn/8,\"3cd4\":3*wn/4,\"3cd8\":3*wn/8,\"5cd8\":5*wn/8,\"7cd8\":7*wn/8}),t.forEach(([e,t],n)=>{let r=a[n];c[e]=typeof r==`number`?r:u(t),e===`adj`&&(c.adj1=c.adj),e===`adj1`&&(c.adj=c.adj1)});for(let[e,t]of n)c[e]=u(t);return{v:e=>{if(e in c)return c[e];throw Error(`preset-shape: unknown name \"${e}\"`)},fmla:u,resolve:l};function l(e){if(e in c)return c[e];let t=Number(e);if(Number.isFinite(t))return t;throw Error(`preset-shape: cannot resolve \"${e}\"`)}function u(e){let t=e.argTokens.map(l);return d(e.op,t,e)}function d(e,t,n){switch(e){case`val`:return t[0];case`*/`:return t[0]*t[1]/t[2];case`+-`:return t[0]+t[1]-t[2];case`+/`:return(t[0]+t[1])/t[2];case`?:`:return t[0]>0?t[1]:t[2];case`abs`:return Math.abs(t[0]);case`min`:return Math.min(t[0],t[1]);case`max`:return Math.max(t[0],t[1]);case`pin`:return t[1]<t[0]?t[0]:t[1]>t[2]?t[2]:t[1];case`sqrt`:return Math.sqrt(Math.max(0,t[0]));case`mod`:return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);case`sin`:return t[0]*Math.sin(t[1]*Tn);case`cos`:return t[0]*Math.cos(t[1]*Tn);case`tan`:return t[0]*Math.tan(t[1]*Tn);case`at2`:return Math.atan2(t[1],t[0])/Tn;case`cat2`:return t[0]*Math.cos(Math.atan2(t[2],t[1]));case`sat2`:return t[0]*Math.sin(Math.atan2(t[2],t[1]));default:throw Error(`preset-shape: unknown operator \"${e}\" in \"${[n.op,...n.argTokens].join(` `)}\"`)}}}const On=Math.PI*2/216e5;function kn(e,t,n,r,i,a,o){let s=t.w==null?1:a/t.w,c=t.h==null?1:o/t.h,l=e=>r+e*s,u=e=>i+e*c,d=0,f=0;for(let r of t.cmds)switch(r[0]){case`m`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2]));e.moveTo(t,i),d=t,f=i;break}case`l`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2]));e.lineTo(t,i),d=t,f=i;break}case`C`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2])),a=l(n.resolve(r[3])),o=u(n.resolve(r[4])),s=l(n.resolve(r[5])),c=u(n.resolve(r[6]));e.bezierCurveTo(t,i,a,o,s,c),d=s,f=c;break}case`Q`:{let t=l(n.resolve(r[1])),i=u(n.resolve(r[2])),a=l(n.resolve(r[3])),o=u(n.resolve(r[4]));e.quadraticCurveTo(t,i,a,o),d=a,f=o;break}case`a`:{let t=n.resolve(r[1]),i=n.resolve(r[2]),a=t*s,o=i*c,l=n.resolve(r[3])*On,u=n.resolve(r[4])*On,p=Math.PI*2,m=e=>Math.atan2(t*Math.sin(e),i*Math.cos(e)),h=m(l),g=Math.trunc(u/p),_=u-g*p,v=m(l+_)-h;_>0&&v<0?v+=p:_<0&&v>0&&(v-=p);let y=h+v+g*p,b=d-a*Math.cos(h),x=f-o*Math.sin(h);Math.abs(a)>1e-6&&Math.abs(o)>1e-6&&(e.ellipse(b,x,Math.abs(a),Math.abs(o),0,h,y,u<0),d=b+a*Math.cos(y),f=x+o*Math.sin(y));break}case`c`:e.closePath();break}}const An=Cn,jn=new WeakMap;function Mn(e){let t=jn.get(e);return t||(t={adj:e.adj.map(([e,t])=>[e,En(t)]),gd:e.gd.map(([e,t])=>[e,En(t)])},jn.set(e,t)),t}function Nn(e,t,n,r){let i=Mn(e);return Dn({w:t,h:n,adj:r},i.adj,i.gd)}function Pn(e){return e.toLowerCase()in An}function Fn(e,t,n,r,i,a,o=[]){let s=An[t.toLowerCase()];if(!s)return!1;let c=Nn(s,i,a,o);for(let t of s.paths)kn(e,t,c,n,r,i,a);return!0}const In={wedgeroundrectcallout:`roundrect`,wedgeellipsecallout:`ellipse`,wedgerectcallout:null},Ln={adj:[],gd:[],paths:[{w:null,h:null,fill:null,stroke:!0,extrusionOk:!1,cmds:[[`m`,`l`,`t`],[`l`,`r`,`t`],[`l`,`r`,`b`],[`l`,`l`,`b`],[`c`]]}]};function Rn(e,t,n){let r=e[n];if(typeof r==`number`)return r;let i=t.adj[n];return i&&Number(i[1].replace(/^val\\s+/,``))||0}function zn(e,t,n,r,i,a,o,s,c,l,u){let d=t.toLowerCase(),f=An[d];if(!f)return!1;if(d in In){let e=Rn(o,f,0),t=Rn(o,f,1),n=i/2+i*e/1e5,r=a/2+a*t/1e5;if(n>=0&&n<=i&&r>=0&&r<=a){let e=In[d];e===`roundrect`?(f=An.roundrect,o=[Rn(o,An[d],2)]):e&&An[e]?(f=An[e],o=[]):(f=Ln,o=[])}}let p=Nn(f,i,a,o),m=!1,h=f.paths.length-1;for(let t=0;t<f.paths.length;t++){let o=f.paths[t];e.beginPath(),kn(e,o,p,n,r,i,a);let d=o.fill;if(d!==`none`&&s!=null){e.save(),e.fillStyle=s,e.fill();let t=Vn(d);t&&(e.fillStyle=t,e.fill()),e.restore(),m||=(l(),!0)}if(o.stroke&&c){let e=t===h&&(o.fill===`none`||o.fill==null);u?.skipTrailingStroke&&e||c()}}return!0}function Bn(e,t,n,r,i,a){let o=An[e.toLowerCase()];if(!o||o.paths.length===0)return null;let s=o.paths[o.paths.length-1],c=Nn(o,r,i,a),l=s.w==null?1:r/s.w,u=s.h==null?1:i/s.h,d=e=>t+e*l,f=e=>n+e*u,p=0,m=0,h=0,g=0,_=0,v=0,y=!1,b=0,x=0,S=[];for(let e of s.cmds)switch(e[0]){case`m`:h=d(c.resolve(e[1])),g=f(c.resolve(e[2])),p=h,m=g,S.push({x:h,y:g});break;case`l`:{let t=d(c.resolve(e[1])),n=f(c.resolve(e[2]));y||=(_=t-h,v=n-g,!0),b=t-h,x=n-g,h=t,g=n,S.push({x:h,y:g});break}case`C`:{let t=d(c.resolve(e[1])),n=f(c.resolve(e[2])),r=d(c.resolve(e[3])),i=f(c.resolve(e[4])),a=d(c.resolve(e[5])),o=f(c.resolve(e[6]));y||=(_=t-h,v=n-g,!0),b=a-r,x=o-i,h=a,g=o,S.push({x:h,y:g});break}}let C=Math.atan2(v,_)+Math.PI;return{start:{x:p,y:m,angle:C},end:{x:h,y:g,angle:Math.atan2(x,b)},vertices:S}}function Vn(e){switch(e){case`lighten`:return`rgba(255,255,255,0.30)`;case`lightenLess`:return`rgba(255,255,255,0.15)`;case`darken`:return`rgba(0,0,0,0.30)`;case`darkenLess`:return`rgba(0,0,0,0.15)`;default:return null}}function Hn(e,t,n,r,i,a,o,s=-Math.PI/2){let c=a*2;for(let l=0;l<c;l++){let c=s+l*Math.PI/a,u=l%2==0?1:o,d=t+r*u*Math.cos(c),f=n+i*u*Math.sin(c);l===0?e.moveTo(d,f):e.lineTo(d,f)}e.closePath()}function Un(e,t,n,r,i,a,o=-Math.PI/2){for(let s=0;s<a;s++){let c=o+s*2*Math.PI/a,l=t+r*Math.cos(c),u=n+i*Math.sin(c);s===0?e.moveTo(l,u):e.lineTo(l,u)}e.closePath()}function Wn(e,t,n,r,i,a,o){let s=e=>Math.atan2(r*Math.sin(e),i*Math.cos(e)),c=s(a),l=s(a+o),u=t-r*Math.cos(c),d=n-i*Math.sin(c);return e.ellipse(u,d,Math.abs(r),Math.abs(i),0,c,l,o<0),{x:u+r*Math.cos(l),y:d+i*Math.sin(l)}}const Gn={oval:`ellipse`,rtriangle:`rttriangle`,roundrectangle:`roundrect`,flowchartsumingjunction:`flowchartsummingjunction`},Kn=new Set(`ellipse.rttriangle.triangle.diamond.trapezoid.roundrect.snip1rect.frame.irregularseal1.irregularseal2.star4.star8.star12.star16.star24.star32.line.straightconnector1.callout1.bordercallout1.leftuparrow.quadarrowcallout.mathequal.mathplus.mathminus.flowchartdecision.flowchartmanualinput.flowchartconnector.flowchartinputoutput.flowchartmerge.flowchartextract.flowchartpreparation.flowchartcollate`.split(`.`)),qn=new Set([`accentcallout1`,`accentbordercallout1`,`flowchartpredefinedprocess`,`flowchartsort`,`flowchartinternalstorage`,`flowchartsummingjunction`]),Jn=new Set([`round2samerect`,`round2diagrect`,`dodecagon`,`star10`]);function Yn(e,t,n,r,i,a,o=null,s=null,c=null,l=null){let u=n+i/2,d=r+a/2;{let u=t.toLowerCase(),d=Gn[u]??u;if((Kn.has(d)||qn.has(d)||Jn.has(d))&&Fn(e,d,n,r,i,a,[o,s,c,l]))return}switch(t.toLowerCase()){case`parallelogram`:{let t=i*Math.min(.5,(o??25e3)/1e5);e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.closePath();break}case`pentagon`:Un(e,u,d,i/2,a/2,5);break;case`hexagon`:Un(e,u,d,i/2,a/2,6,0);break;case`heptagon`:Un(e,u,d,i/2,a/2,7);break;case`octagon`:Un(e,u,d,i/2,a/2,8,-Math.PI/8);break;case`decagon`:Un(e,u,d,i/2,a/2,10);break;case`star5`:case`star`:Hn(e,u,d,i/2,a/2,5,(o??19098)/5e4);break;case`star6`:Hn(e,u,d,i/2,a/2,6,(o??28868)/5e4,0);break;case`star7`:Hn(e,u,d,i/2,a/2,7,(o??34142)/5e4);break;case`rightarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(1,(s??5e4)/1e5),l=r+(a-t)/2;e.moveTo(n,l),e.lineTo(n+i-c,l),e.lineTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.lineTo(n+i-c,l+t),e.lineTo(n,l+t),e.closePath();break}case`leftarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(1,(s??5e4)/1e5),l=r+(a-t)/2;e.moveTo(n+i,l),e.lineTo(n+c,l),e.lineTo(n+c,r),e.lineTo(n,d),e.lineTo(n+c,r+a),e.lineTo(n+c,l+t),e.lineTo(n+i,l+t),e.closePath();break}case`uparrow`:{let t=i*Math.min(1,(o??5e4)/1e5),c=a*Math.min(1,(s??5e4)/1e5),l=n+(i-t)/2;e.moveTo(u,r),e.lineTo(n+i,r+c),e.lineTo(l+t,r+c),e.lineTo(l+t,r+a),e.lineTo(l,r+a),e.lineTo(l,r+c),e.lineTo(n,r+c),e.closePath();break}case`downarrow`:{let t=i*Math.min(1,(o??5e4)/1e5),c=a*Math.min(1,(s??5e4)/1e5),l=n+(i-t)/2;e.moveTo(u,r+a),e.lineTo(n+i,r+a-c),e.lineTo(l+t,r+a-c),e.lineTo(l+t,r),e.lineTo(l,r),e.lineTo(l,r+a-c),e.lineTo(n,r+a-c),e.closePath();break}case`leftrightarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(.5,(s??25e3)/1e5),l=r+(a-t)/2;e.moveTo(n,d),e.lineTo(n+c,r),e.lineTo(n+c,l),e.lineTo(n+i-c,l),e.lineTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.lineTo(n+i-c,l+t),e.lineTo(n+c,l+t),e.lineTo(n+c,r+a),e.closePath();break}case`updownarrow`:{let t=i*Math.min(1,(o??5e4)/1e5),c=a*Math.min(.5,(s??25e3)/1e5),l=n+(i-t)/2;e.moveTo(u,r),e.lineTo(n+i,r+c),e.lineTo(l+t,r+c),e.lineTo(l+t,r+a-c),e.lineTo(n+i,r+a-c),e.lineTo(u,r+a),e.lineTo(n,r+a-c),e.lineTo(l,r+a-c),e.lineTo(l,r+c),e.lineTo(n,r+c),e.closePath();break}case`notchedrightarrow`:{let t=a*Math.min(1,(o??5e4)/1e5),c=i*Math.min(1,(s??35e3)/1e5),l=r+(a-t)/2,u=c*.43;e.moveTo(n,l),e.lineTo(n+i-c,l),e.lineTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.lineTo(n+i-c,l+t),e.lineTo(n,l+t),e.lineTo(n+u,d),e.closePath();break}case`chevron`:{let t=i*Math.min(1,Math.max(0,(o??5e4)/1e5));e.moveTo(n,r),e.lineTo(n+t,r),e.lineTo(n+i,d),e.lineTo(n+t,r+a),e.lineTo(n,r+a),t>0&&e.lineTo(n+t,d),e.closePath();break}case`homeplate`:{let t=a*.4;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.lineTo(u,r+a),e.lineTo(n,r+a-t),e.closePath();break}case`leftbracket`:{let t=Math.min(a*Math.min(5e4,Math.max(0,o??8333))/1e5,a/2);e.moveTo(n+i,r),e.quadraticCurveTo(n,r,n,r+t),a-2*t>.5&&e.lineTo(n,r+a-t),e.quadraticCurveTo(n,r+a,n+i,r+a);break}case`rightbracket`:{let t=Math.min(a*Math.min(5e4,Math.max(0,o??8333))/1e5,a/2);e.moveTo(n,r),e.quadraticCurveTo(n+i,r,n+i,r+t),a-2*t>.5&&e.lineTo(n+i,r+a-t),e.quadraticCurveTo(n+i,r+a,n,r+a);break}case`leftbrace`:{let t=d,o=i*.45;e.moveTo(n+i,r),e.bezierCurveTo(n+i-o,r,n+i-o,t-a*.08,n,t),e.bezierCurveTo(n+i-o,t+a*.08,n+i-o,r+a,n+i,r+a);break}case`rightbrace`:{let t=d,o=i*.45;e.moveTo(n,r),e.bezierCurveTo(n+o,r,n+o,t-a*.08,n+i,t),e.bezierCurveTo(n+o,t+a*.08,n+o,r+a,n,r+a);break}case`wedgerectcallout`:{e.rect(n,r,i,a*.8);let t=n+i*.2,o=r+a;e.moveTo(n+i*.1,r+a*.8),e.lineTo(t,o),e.lineTo(n+i*.3,r+a*.8),e.closePath();break}case`wedgeellipsecallout`:{let t=(o??-2e4)/1e5*i,n=(s??12e4)/1e5*a,r=u+t,c=d+n;e.ellipse(u,d,i/2,a/2,0,0,Math.PI*2);let l=Math.atan2(n,t),f=Math.PI/10,p=i/2,m=a/2,h=u+p*Math.cos(l-f),g=d+m*Math.sin(l-f),_=u+p*Math.cos(l+f),v=d+m*Math.sin(l+f);e.moveTo(h,g),e.lineTo(r,c),e.lineTo(_,v),e.closePath();break}case`cloudcallout`:{let t=Math.min(i,a)*.22,n=[[u-i*.25,r+a*.35],[u-i*.1,r+a*.15],[u+i*.1,r+a*.1],[u+i*.28,r+a*.2],[u+i*.35,r+a*.4]];e.moveTo(n[0][0]-t,n[0][1]);for(let[r,i]of n)e.arc(r,i,t,Math.PI,0);e.arc(u,r+a*.65,i*.45,0,Math.PI),e.closePath();let c=u+(o??-2e4)/1e5*i,l=d+(s??12e4)/1e5*a;e.moveTo(u+i*.05,r+a*.8),e.arc(c,l,Math.min(i,a)*.07,0,Math.PI*2);break}case`bentconnector2`:case`bentconnector3`:case`bentconnector4`:case`bentconnector5`:case`curvedconnector2`:case`curvedconnector3`:case`curvedconnector4`:case`curvedconnector5`:e.moveTo(n,r),e.lineTo(n+i,r+a);break;case`heart`:e.moveTo(u,r+a*.32),e.bezierCurveTo(u,r,n+i*.05,r,n,r+a*.3),e.bezierCurveTo(n,r+a*.68,u-i*.05,r+a*.78,u,r+a),e.bezierCurveTo(u+i*.05,r+a*.78,n+i,r+a*.68,n+i,r+a*.3),e.bezierCurveTo(n+i-i*.05,r,u,r,u,r+a*.32);break;case`donut`:{let t=i/2,n=a/2,r=Math.min(t,n)*(o??25e3)/1e5,s=t-r,c=n-r;e.ellipse(u,d,t,n,0,0,Math.PI*2,!1),e.moveTo(u+s,d),e.ellipse(u,d,s,c,0,0,Math.PI*2,!0);break}case`nosmoking`:case`nosmokingsign`:{let t=(o??18750)/1e5,n=i/2,r=a/2,s=n*(1-2*t),c=r*(1-2*t);e.ellipse(u,d,n,r,0,0,Math.PI*2,!1),e.moveTo(u+s,d),e.ellipse(u,d,s,c,0,0,Math.PI*2,!0),e.moveTo(u+s,d),e.ellipse(u,d,s,c,0,0,Math.PI/2,!1),e.lineTo(u-s,d),e.ellipse(u,d,s,c,0,Math.PI,3*Math.PI/2,!1),e.closePath();break}case`pie`:{let t=(o??0)/216e5*Math.PI*2,n=(s??162e5)/216e5*Math.PI*2;e.moveTo(u,d),e.arc(u,d,Math.min(i,a)/2,t,n),e.closePath();break}case`cloud`:{let t=a*.28;e.arc(n+i*.25,r+a*.55,t,Math.PI,Math.PI*1.8),e.arc(n+i*.45,r+a*.35,t*1.1,Math.PI*1.3,Math.PI*1.9),e.arc(n+i*.65,r+a*.4,t,Math.PI*1.5,Math.PI*2),e.arc(n+i*.8,r+a*.6,t*.9,Math.PI*1.6,Math.PI*.1),e.arc(n+i*.55,r+a*.75,t,0,Math.PI*.7),e.arc(n+i*.25,r+a*.7,t*.9,0,Math.PI),e.closePath();break}case`funnel`:e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(u+i*.15,r+a),e.lineTo(u-i*.15,r+a),e.closePath();break;case`smileyface`:{e.ellipse(u,d,i/2,a/2,0,0,Math.PI*2),e.closePath();let t=i*.05,n=a*.05,r=d-a*.12;e.moveTo(u-i*.2+t,r),e.ellipse(u-i*.2,r,t,n,0,0,Math.PI*2),e.moveTo(u+i*.2+t,r),e.ellipse(u+i*.2,r,t,n,0,0,Math.PI*2),e.moveTo(u-i*.25,d+a*.05),e.quadraticCurveTo(u,d+a*.3,u+i*.25,d+a*.05);break}case`document`:case`foldedcorner`:{let t=Math.min(i,a)*.15;e.moveTo(n,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.closePath(),e.moveTo(n+i-t,r),e.lineTo(n+i-t,r+t),e.lineTo(n+i,r+t);break}case`snip2samerect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a),e.lineTo(n+t,r+a),e.lineTo(n,r+a-t),e.closePath();break}case`snip2diagrect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a-t),e.lineTo(n+i-t,r+a),e.lineTo(n+t,r+a),e.lineTo(n,r+a-t),e.lineTo(n,r+t),e.closePath();break}case`sniproundrect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+t),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.quadraticCurveTo(n,r,n+t,r),e.closePath();break}case`round1rect`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.lineTo(n,r+t),e.quadraticCurveTo(n,r,n+t,r),e.closePath();break}case`plaque`:{let t=Math.min(i,a)*.25;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.quadraticCurveTo(n+i,r,n+i,r+t),e.lineTo(n+i,r+a-t),e.quadraticCurveTo(n+i,r+a,n+i-t,r+a),e.lineTo(n+t,r+a),e.quadraticCurveTo(n,r+a,n,r+a-t),e.lineTo(n,r+t),e.quadraticCurveTo(n,r,n+t,r),e.closePath();break}case`can`:{let t=a*.1;e.ellipse(u,r+t,i/2,t,0,0,Math.PI*2),e.moveTo(n,r+t),e.lineTo(n,r+a-t),e.ellipse(u,r+a-t,i/2,t,0,Math.PI,2*Math.PI),e.lineTo(n+i,r+t);break}case`cube`:{let t=Math.min(i,a)*.2;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.lineTo(n,r+t),e.closePath(),e.moveTo(n+t,r),e.lineTo(n+t,r+t),e.lineTo(n+i-t,r+t),e.moveTo(n+t,r+t),e.lineTo(n,r+t);break}case`bevel`:{let t=Math.min(i,a)*.1;e.rect(n,r,i,a),e.moveTo(n,r),e.lineTo(n+t,r+t),e.lineTo(n+i-t,r+t),e.lineTo(n+i,r),e.moveTo(n+i-t,r+t),e.lineTo(n+i-t,r+a-t),e.lineTo(n+i,r+a),e.moveTo(n+i-t,r+a-t),e.lineTo(n+t,r+a-t),e.lineTo(n,r+a),e.moveTo(n+t,r+a-t),e.lineTo(n+t,r+t);break}case`halfframe`:{let t=Math.min(i,a)*.25;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+t),e.lineTo(n+t,r+t),e.lineTo(n+t,r+a),e.lineTo(n,r+a),e.closePath();break}case`corner`:{let t=Math.min(i,a)*.25;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+t),e.lineTo(n+t,r+t),e.lineTo(n+t,r+a),e.lineTo(n,r+a),e.closePath();break}case`flowchartalternateprocess`:case`flowchartprocess`:{let t=Math.min(i,a)*Math.min(5e4,Math.max(0,o??16667))/1e5;e.roundRect(n,r,i,a,[{x:t,y:t}]);break}case`flowchartterminator`:{let t=Math.min(i,a)/2;e.roundRect(n,r,i,a,[{x:t,y:t}]);break}case`flowchartdocument`:{let t=a*.1;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.bezierCurveTo(n+i*.75,r+a,n+i*.25,r+a-t*2,n,r+a-t),e.closePath();break}case`moon`:e.arc(u,d,Math.min(i,a)/2,-Math.PI/2,Math.PI/2),e.arc(u-i*.2,d,Math.min(i,a)/2,Math.PI/2,-Math.PI/2,!0),e.closePath();break;case`arc`:{let t=216e5,n=(o??162e5)/t*Math.PI*2,r=(s??54e5)/t*Math.PI*2;e.ellipse(u,d,i/2,a/2,0,n,n+r,r<0);break}case`mathmultiply`:{let t=Math.min(i,a)*Math.min(51965,Math.max(0,o??23520))/1e5,s=Math.atan2(a,i),c=Math.sin(s),l=Math.cos(s),u=t/2*c,d=t/2*l;e.moveTo(n+u,r-d),e.lineTo(n-u,r+d),e.lineTo(n+i-u,r+a+d),e.lineTo(n+i+u,r+a-d),e.closePath(),e.moveTo(n+i-u,r-d),e.lineTo(n+i+u,r+d),e.lineTo(n+u,r+a+d),e.lineTo(n-u,r+a-d),e.closePath();break}case`mathdivide`:{let t=Math.min(36745,Math.max(1e3,o??23520)),n=(73490+-t)/4,l=36745*i/a,f=Math.min(Math.min(n,l),Math.max(1e3,c??11760)),p=73490+4*f-t,m=Math.min(p,Math.max(0,s??5880)),h=a*t/2e5,g=a*m/1e5,_=a*f/1e5,v=i*73490/2e5,y=d-h,b=d+h,x=y-(g+_)-_,S=r+a-x,C=u-v,w=u+v;e.rect(C,y,w-C,b-y),e.moveTo(u+_,x+_),e.arc(u,x+_,_,0,Math.PI*2),e.moveTo(u+_,S-_),e.arc(u,S-_,_,0,Math.PI*2);break}case`quadarrow`:{let t=i*(o??23e3)/1e5,c=i*(s??3e4)/1e5,l=n+(i-t)/2,f=r+(a-t)/2;e.moveTo(u,r),e.lineTo(n+i-c,r+c),e.lineTo(n+i-c,f),e.lineTo(l+t,f),e.lineTo(l+t,r+c),e.lineTo(n+c,r+c),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a-c),e.lineTo(l+t,r+a-c),e.lineTo(l+t,f+t),e.lineTo(n+i-c,f+t),e.lineTo(n+i-c,r+a-c),e.lineTo(u,r+a),e.lineTo(n+c,r+a-c),e.lineTo(n+c,f+t),e.lineTo(l,f+t),e.lineTo(l,r+a-c),e.lineTo(n,d),e.lineTo(n+c,r+c),e.lineTo(l,r+c),e.lineTo(l,f),e.lineTo(n+c,f),e.closePath();break}case`wave`:{let t=a*(o??12500)/1e5,s=r+t,c=r+a-t;e.moveTo(n,s),e.bezierCurveTo(n+i*.25,r,n+i*.25,r+t*2,n+i*.5,s),e.bezierCurveTo(n+i*.75,r+t*2,n+i*.75,r,n+i,s),e.lineTo(n+i,c),e.bezierCurveTo(n+i*.75,r+a,n+i*.75,r+a-t*2,n+i*.5,c),e.bezierCurveTo(n+i*.25,r+a-t*2,n+i*.25,r+a,n,c),e.closePath();break}case`doublewave`:{let t=a*(o??6250)/1e5,s=r+t,c=r+a-t;e.moveTo(n,s),e.bezierCurveTo(n+i*.25,r,n+i*.25,r+t*2,n+i*.5,s),e.bezierCurveTo(n+i*.75,r+t*2,n+i*.75,r,n+i,s),e.lineTo(n+i,c),e.bezierCurveTo(n+i*.75,r+a,n+i*.75,r+a-t*2,n+i*.5,c),e.bezierCurveTo(n+i*.25,r+a-t*2,n+i*.25,r+a,n,c),e.closePath();break}case`sun`:{let t=Math.min(i,a)/2,n=t*((o??25e3)/1e5+.5),r=Math.min(n,t*.9),s=Math.PI/16;for(let n=0;n<8;n++){let i=n/8*Math.PI*2;e.moveTo(u+r*Math.cos(i-s),d+r*Math.sin(i-s)),e.lineTo(u+t*Math.cos(i),d+t*Math.sin(i)),e.lineTo(u+r*Math.cos(i+s),d+r*Math.sin(i+s)),e.closePath()}e.moveTo(u+r,d),e.arc(u,d,r,0,Math.PI*2);break}case`lightningbolt`:e.moveTo(u+i*.1,r),e.lineTo(n,d-a*.05),e.lineTo(u+i*.05,d-a*.05),e.lineTo(u-i*.1,r+a),e.lineTo(n+i,d+a*.05),e.lineTo(u-i*.05,d+a*.05),e.closePath();break;case`bracketpair`:{let t=a*Math.min(5e4,Math.max(0,o??8333))/1e5;e.moveTo(n+i*.4,r),e.quadraticCurveTo(n,r,n,r+t),a-2*t>0&&e.lineTo(n,r+a-t),e.quadraticCurveTo(n,r+a,n+i*.4,r+a),e.moveTo(n+i*.6,r),e.quadraticCurveTo(n+i,r,n+i,r+t),a-2*t>0&&e.lineTo(n+i,r+a-t),e.quadraticCurveTo(n+i,r+a,n+i*.6,r+a);break}case`bracepair`:{let t=i*.2;e.moveTo(n+i*.4,r),e.bezierCurveTo(n+i*.4-t,r,n+i*.4-t,d-a*.08,n,d),e.bezierCurveTo(n+i*.4-t,d+a*.08,n+i*.4-t,r+a,n+i*.4,r+a),e.moveTo(n+i*.6,r),e.bezierCurveTo(n+i*.6+t,r,n+i*.6+t,d-a*.08,n+i,d),e.bezierCurveTo(n+i*.6+t,d+a*.08,n+i*.6+t,r+a,n+i*.6,r+a);break}case`chord`:{let t=(o??27e5)/216e5*Math.PI*2,n=(s??162e5)/216e5*Math.PI*2;e.ellipse(u,d,i/2,a/2,0,t,n),e.closePath();break}case`blockarc`:{let t=Math.min(i,a)/2,n=o??108e5,r=s??0,l=t*(1-(c??25e3)/1e5),f=n/216e5*Math.PI*2,p=r/216e5*Math.PI*2;e.arc(u,d,t,f,p,!1),e.arc(u,d,l,p,f,!0),e.closePath();break}case`teardrop`:{let t=Math.min(i,a)*.4,o=n+t,s=r+a-t;e.arc(o,s,t,0,Math.PI*2*.75),e.bezierCurveTo(o-t*.1,s-t,n+i-t,r+t,n+i,r),e.bezierCurveTo(n+i-t*.2,r+t*.5,o+t,s-t*1.1,o+t,s),e.closePath();break}case`diagstripe`:{let t=a*(o??5e4)/1e5*i/a;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.closePath();break}case`wedgeroundrectcallout`:{let t=Math.min(i,a)*.1;e.roundRect(n,r,i,a*.85,t),e.moveTo(n+i*.1,r+a*.85),e.lineTo(n+i*.2,r+a),e.lineTo(n+i*.3,r+a*.85),e.closePath();break}case`rightarrowcallout`:{let t=a*(o??5e4)/1e5,c=i*(s??5e4)/1e5,l=r+(a-t)/2;e.rect(n,l,c,t),e.moveTo(n+c,r),e.lineTo(n+i,d),e.lineTo(n+c,r+a),e.closePath();break}case`leftarrowcallout`:{let t=a*(o??5e4)/1e5,c=i*(s??5e4)/1e5,l=r+(a-t)/2;e.rect(n+i-c,l,c,t),e.moveTo(n+i-c,r),e.lineTo(n,d),e.lineTo(n+i-c,r+a),e.closePath();break}case`uparrowcallout`:{let t=i*(o??5e4)/1e5,c=a*(s??5e4)/1e5,l=n+(i-t)/2;e.rect(l,r+c,t,a-c),e.moveTo(n,r+c),e.lineTo(u,r),e.lineTo(n+i,r+c),e.closePath();break}case`downarrowcallout`:{let t=i*(o??5e4)/1e5,c=a*(s??5e4)/1e5,l=n+(i-t)/2;e.rect(l,r,t,a-c),e.moveTo(n,r+a-c),e.lineTo(u,r+a),e.lineTo(n+i,r+a-c),e.closePath();break}case`leftrightarrowcallout`:{let t=a*(o??5e4)/1e5,c=i*(s??25e3)/1e5,l=r+(a-t)/2;e.rect(n+c,l,i-2*c,t),e.moveTo(n+c,r),e.lineTo(n,d),e.lineTo(n+c,r+a),e.closePath(),e.moveTo(n+i-c,r),e.lineTo(n+i,d),e.lineTo(n+i-c,r+a),e.closePath();break}case`leftrightuparrow`:{let t=i*(o??25e3)/1e5,c=a*(s??3e4)/1e5,l=n+(i-t)/2;e.moveTo(u,r),e.lineTo(n+i,r+c),e.lineTo(l+t,r+c),e.lineTo(l+t,r+a),e.lineTo(l,r+a),e.lineTo(l,r+c),e.lineTo(n,r+c),e.closePath();break}case`uturnarrow`:{let t=i*(o??25e3)/1e5,s=(i-t)/2,c=Math.max(0,s-t),l=n+t+s,u=r+t+s,d=t*2,f=r+a-t*2.5;e.moveTo(n,r+a),e.lineTo(n,u),e.arc(l,u,s,Math.PI,0),e.lineTo(n+i,f),e.lineTo(n+i+(d-t)/2,f),e.lineTo(l+t/2,r+a),e.lineTo(n+i-(d-t)/2-t,f),e.lineTo(n+i-t,f),e.lineTo(n+i-t,u),e.arc(l,u,c,0,Math.PI,!0),e.lineTo(n+t,r+a),e.closePath();break}case`bentarrow`:case`bentuparrow`:{let t=Math.min(i,a)*.25;e.moveTo(n,d-t/2),e.lineTo(n+i-t*2,d-t/2),e.lineTo(n+i-t*2,r+t),e.lineTo(n+i,d),e.lineTo(n+i-t*2,r+a-t),e.lineTo(n+i-t*2,d+t/2),e.lineTo(n,d+t/2),e.closePath();break}case`plus`:{let t=Math.min(i,a)*(o??25e3)/1e5;e.rect(u-t,r,2*t,a),e.rect(n,d-t,i,2*t);break}case`mathnotequal`:{let t=Math.min(5e4,Math.max(0,o??23520)),n=Math.min(66e5,Math.max(42e5,s??66e5)),l=Math.min(1e5-2*t,Math.max(0,c??11760)),f=a*t/1e5,p=a*l/2e5,m=i*73490/2e5,h=a/2,g=(n/6e4-90)*Math.PI/180,_=h*Math.tan(g),v=Math.hypot(_,h)*f/h;e.rect(u-m,d-p-f,2*m,f),e.rect(u-m,d+p,2*m,f),e.moveTo(u+_-v/2,r),e.lineTo(u+_+v/2,r),e.lineTo(u-_+v/2,r+a),e.lineTo(u-_-v/2,r+a),e.closePath();break}case`flowchartdelay`:{let t=a/2;e.moveTo(n,r),e.lineTo(n+i-t,r),e.arc(n+i-t,d,t,-Math.PI/2,Math.PI/2),e.lineTo(n,r+a),e.closePath();break}case`flowchartdisplay`:{let t=i*.2,o=i*.15;e.moveTo(n+t,r),e.lineTo(n+i-o,r),e.arc(n+i-o,d,a/2,-Math.PI/2,Math.PI/2),e.lineTo(n+t,r+a),e.lineTo(n,d),e.closePath();break}case`flowchartpunchedcard`:{let t=i*.2;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i-t,r+a),e.lineTo(n,r+a),e.closePath();break}case`flowchartoffpageconnector`:{let t=a*.3;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.lineTo(u,r+a),e.lineTo(n,r+a-t),e.closePath();break}case`flowchartonlinestorage`:case`flowchartmanuallabel`:case`flowchartpuncheddisk`:e.rect(n,r,i,a);break;case`horizontalscroll`:{let t=Math.min(i,a)*.15;e.roundRect(n+t,r,i-t,a,t),e.moveTo(n+t,r+t*2),e.arc(n+t,r+t,t,Math.PI/2,Math.PI*2.5);break}case`verticalscroll`:{let t=Math.min(i,a)*.15;e.roundRect(n,r+t,i,a-t,t),e.moveTo(n+t*2,r+t),e.arc(n+t,r+t,t,0,Math.PI*2);break}case`ribbon`:{let t=Math.min(33333,Math.max(0,o??16667)),c=i*Math.min(75e3,Math.max(25e3,s??5e4))/2e5,l=i/8,u=i/32,d=i/2-c,f=i/2+c,p=d+u,m=f-u,h=d+l,g=f-l,_=h-u,v=g+u,y=i-l,b=a*t/2e5,x=a*t/1e5,S=a-x,C=S/2;e.moveTo(n,r),e.lineTo(n+_,r),e.lineTo(n+p,r+b),e.lineTo(n+m,r+x),e.lineTo(n+v,r+b),e.lineTo(n+i,r),e.lineTo(n+y,r+C),e.lineTo(n+i,r+S),e.lineTo(n+f,r+S),e.lineTo(n+f,r+a),e.lineTo(n+p,r+a),e.lineTo(n+d,r+S),e.lineTo(n,r+S),e.lineTo(n+l,r+C),e.closePath();break}case`ribbon2`:{let t=Math.min(33333,Math.max(0,o??16667)),c=i*Math.min(75e3,Math.max(25e3,s??5e4))/2e5,l=i/8,u=i/32,d=i/2-c,f=i/2+c,p=d+u,m=f-u,h=d+l,g=f-l,_=h-u,v=g+u,y=i-l,b=a*t/2e5,x=a*t/1e5,S=a-b,C=a-x,w=x,T=(w+a)/2;e.moveTo(n,r+a),e.lineTo(n+_,r+a),e.lineTo(n+p,r+S),e.lineTo(n+m,r+C),e.lineTo(n+v,r+S),e.lineTo(n+i,r+a),e.lineTo(n+y,r+T),e.lineTo(n+i,r+w),e.lineTo(n+f,r+w),e.lineTo(n+f,r),e.lineTo(n+p,r),e.lineTo(n+d,r+w),e.lineTo(n,r+w),e.lineTo(n+l,r+T),e.closePath();break}case`ellipseribbon`:{let t=Math.min(1e5,Math.max(0,o??25e3)),l=Math.min(75e3,Math.max(25e3,s??5e4)),u=Math.max(0,t-(1e5-t)/2),d=Math.min(t,Math.max(u,c??12500)),f=i/8,p=i*l/2e5,m=i/2-p,h=m+f,g=i-h,_=i-m,v=i-f,y=a*d/1e5,b=4*y/i,x=b*(h-h*h/i),S=h/2,C=b*S,w=i-S,T=a*t/1e5,E=T-y,D=b*(m-m*m/i),O=D+E,k=y+E-O+y+E,A=a-T,j=(y*14/16+A)/2,M=D+A,N=O+A,P=m/2,F=b*P+A,I=i-P,L=k+A;e.moveTo(n,r),e.quadraticCurveTo(n+S,r+C,n+h,r+x),e.lineTo(n+m,r+O),e.quadraticCurveTo(n+i/2,r+k,n+_,r+O),e.lineTo(n+g,r+x),e.quadraticCurveTo(n+w,r+C,n+i,r),e.lineTo(n+v,r+j),e.lineTo(n+i,r+A),e.quadraticCurveTo(n+I,r+F,n+_,r+M),e.lineTo(n+_,r+N),e.quadraticCurveTo(n+i/2,r+L,n+m,r+N),e.lineTo(n+m,r+M),e.quadraticCurveTo(n+P,r+F,n,r+A),e.lineTo(n+f,r+j),e.closePath();break}case`ellipseribbon2`:{let t=Math.min(1e5,Math.max(0,o??25e3)),l=Math.min(75e3,Math.max(25e3,s??5e4)),u=Math.max(0,t-(1e5-t)/2),d=Math.min(t,Math.max(u,c??12500)),f=i/8,p=i*l/2e5,m=i/2-p,h=m+f,g=i-h,_=i-m,v=i-f,y=a*d/1e5,b=4*y/i,x=a-b*(h-h*h/i),S=h/2,C=a-b*S,w=i-S,T=a*t/1e5,E=T-y,D=b*(m-m*m/i),O=D+E,k=a-O,A=y+E-O+y+E,j=a-A,M=a-T,N=a-(y*14/16+M)/2,P=a-(D+M),F=a-(O+M),I=m/2,L=a-(b*I+M),R=i-I,z=a-(A+M);e.moveTo(n,r+a),e.quadraticCurveTo(n+S,r+C,n+h,r+x),e.lineTo(n+m,r+k),e.quadraticCurveTo(n+i/2,r+j,n+_,r+k),e.lineTo(n+g,r+x),e.quadraticCurveTo(n+w,r+C,n+i,r+a),e.lineTo(n+v,r+N),e.lineTo(n+i,r+T),e.quadraticCurveTo(n+R,r+L,n+_,r+P),e.lineTo(n+_,r+F),e.quadraticCurveTo(n+i/2,r+z,n+m,r+F),e.lineTo(n+m,r+P),e.quadraticCurveTo(n+I,r+L,n,r+T),e.lineTo(n+f,r+N),e.closePath();break}case`circulararrow`:{let t=(s??0)/6e4*Math.PI/180,n=(o??162e5)/6e4*Math.PI/180,r=(c??5e4)/1e5,l=Math.min(i,a)/2,f=l*(1-r),p=(l+f)/2,m=l-f,h=t+n;e.arc(u,d,l,t,h,!1),e.arc(u,d,f,h,t,!0),e.closePath();let g=Math.sin(h),_=-Math.cos(h),v=m*1.5,y=u+p*Math.cos(h)+v*g,b=d+p*Math.sin(h)+v*_;e.moveTo(y,b),e.lineTo(u+l*Math.cos(h),d+l*Math.sin(h)),e.lineTo(u+f*Math.cos(h),d+f*Math.sin(h)),e.closePath();break}case`curvedrightarrow`:{let t=Math.min(i,a),l=a/2,u=5e4*a/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(d,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=1e5*(Math.sqrt(Math.max(0,h))*i/(2*m))/t,_=t*Math.min(g,Math.max(0,c??25e3))/1e5,v=Math.sqrt(Math.max(0,i*i-_*_))*m/i,y=m+f,b=m+v,x=y+v,S=(p-f)/2,C=b-S,w=x+S,T=a-p/2,E=i-_,D=Math.atan2(_,v),O=-D,k=Math.PI-D;e.moveTo(n,r+m),Wn(e,n,r+m,i,m,Math.PI,O),e.lineTo(n+E,r+C),e.lineTo(n+i,r+T),e.lineTo(n+E,r+w),e.lineTo(n+E,r+x),Wn(e,n+E,r+x,i,m,k,D),e.closePath();break}case`curvedleftarrow`:{let t=Math.min(i,a),l=a/2,u=5e4*a/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(d,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=Math.sqrt(Math.max(0,h))*i/(2*m),_=1e5*g/t,v=t*Math.min(_,Math.max(0,c??25e3))/1e5,y=Math.sqrt(Math.max(0,i*i-v*v))*m/i,b=m+f,x=m+y,S=b+y,C=(p-f)/2,w=x-C,T=S+C,E=a-p/2,D=v,O=Math.atan2(v,y),k=f/2,A=Math.atan2(k,g),j=A-O,M=O-A,N=-A;e.moveTo(n,r+E),e.lineTo(n+D,r+w),e.lineTo(n+D,r+x);let P=Wn(e,n+D,r+x,i,m,O,j);Wn(e,P.x,P.y,i,m,N,M),e.lineTo(n+D,r+T),e.closePath();break}case`curveduparrow`:{let t=Math.min(i,a),l=i/2,u=5e4*i/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(1e5,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=Math.sqrt(Math.max(0,h))*a/(2*m),_=1e5*g/t,v=t*Math.min(_,Math.max(0,c??25e3))/1e5,y=Math.sqrt(Math.max(0,a*a-v*v))*m/a,b=m+f,x=m+y,S=b+y,C=(p-f)/2,w=x-C,T=S+C,E=i-p/2,D=v,O=Math.atan2(v,y),k=f/2,A=Math.atan2(k,g),j=A-O,M=O-A,N=Math.PI/2-O,P=Math.PI/2-A;e.moveTo(n+E,r),e.lineTo(n+T,r+D),e.lineTo(n+S,r+D);let F=Wn(e,n+S,r+D,m,a,N,M);Wn(e,F.x,F.y,m,a,P,j),e.lineTo(n+w,r+D),e.closePath();break}case`curveddownarrow`:{let t=Math.min(i,a),l=i/2,u=5e4*i/t,d=Math.min(u,Math.max(0,s??5e4)),f=t*Math.min(1e5,Math.max(0,o??25e3))/1e5,p=t*d/1e5,m=l-(f+p)/4,h=(2*m)**2-f**2,g=Math.sqrt(Math.max(0,h))*a/(2*m),_=1e5*g/t,v=t*Math.min(_,Math.max(0,c??25e3))/1e5,y=Math.sqrt(Math.max(0,a*a-v*v))*m/a,b=m+f,x=m+y,S=b+y,C=(p-f)/2,w=x-C,T=S+C,E=i-p/2,D=a-v,O=Math.atan2(v,y),k=f/2,A=Math.atan2(k,g),j=3*Math.PI/2+O;3*Math.PI/2-A,A-Math.PI/2,Math.PI/2-A,e.moveTo(n+E,r+a),e.lineTo(n+w,r+D),e.lineTo(n+x,r+D),Wn(e,n+x,r+D,m,a,j,-O),e.lineTo(n+b,r),Wn(e,n+b,r,m,a,3*Math.PI/2,O),e.lineTo(n+T,r+D),e.closePath();break}case`stripedrightarrow`:{let t=Math.min(i,a),c=t/32,l=t/16,u=t/8,f=t*(o??5e4)/1e5,p=i*(s??5e4)/1e5,m=d-f/2,h=d+f/2,g=n+i-p;e.rect(n,m,c,f),e.rect(n+l,m,l,f),e.rect(n+u,m,u,f),e.moveTo(g,m),e.lineTo(g,r),e.lineTo(n+i,d),e.lineTo(g,r+a),e.lineTo(g,h),e.lineTo(n+u*2,h),e.lineTo(n+u*2,m),e.closePath();break}case`flowchartmagneticdisk`:{let t=a*.15;e.moveTo(n,r+t),e.ellipse(u,r+t,i/2,t,0,Math.PI,0),e.lineTo(n+i,r+a-t),e.ellipse(u,r+a-t,i/2,t,0,0,Math.PI),e.lineTo(n,r+t),e.closePath(),e.moveTo(n+i,r+t),e.ellipse(u,r+t,i/2,t,0,0,Math.PI);break}case`flowchartmagneticdrum`:{let t=i*.15;e.moveTo(n+t,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a),e.lineTo(n+t,r+a),e.ellipse(n+t,d,t,a/2,0,Math.PI/2,-Math.PI/2,!0),e.closePath(),e.moveTo(n+i,r),e.ellipse(n+i,d,t,a/2,0,-Math.PI/2,Math.PI/2);break}case`flowchartmagnetictape`:{let t=Math.min(i,a)/2,n=u+t*.5;e.moveTo(u,r+a),e.arc(u,d,t,Math.PI/2,Math.PI/2+Math.PI*2*.875),e.lineTo(n,d+t*.5),e.lineTo(n,r+a),e.closePath();break}case`flowchartpunchedtape`:{let t=a*.12;e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.bezierCurveTo(n+i*.75,r+a,n+i*.25,r+a-t*2,n,r+a-t),e.closePath(),e.moveTo(n,r+t),e.bezierCurveTo(n+i*.25,r,n+i*.75,r+t*2,n+i,r+t);break}case`flowchartmanualoperation`:{let t=i*.15;e.moveTo(n+t,r),e.lineTo(n+i-t,r),e.lineTo(n+i,r+a),e.lineTo(n,r+a),e.closePath();break}case`flowchartmultidocument`:{let t=a*.1,o=i*.04;e.rect(n+o*2,r-a*.08,i-o*2,a*.1),e.rect(n+o,r-a*.04,i-o,a*.06),e.moveTo(n,r),e.lineTo(n+i,r),e.lineTo(n+i,r+a-t),e.bezierCurveTo(n+i*.75,r+a,n+i*.25,r+a-t*2,n,r+a-t),e.closePath();break}case`rttriangle`:e.moveTo(n,r),e.lineTo(n,r+a),e.lineTo(n+i,r+a),e.closePath();break;default:e.rect(n,r,i,a);break}}function Xn(e,t,n){let r=Math.max(.5,t.width*n),i=e.w===`sm`?4:e.w===`lg`?8:6,a=e.len===`sm`?4:e.len===`lg`?8:6;return{lw:r,halfW:r*i/2,len:r*a}}const Zn=new Set([`triangle`,`stealth`,`diamond`,`oval`]);function Qn(e,t,n){return Zn.has(e.type)?Xn(e,t,n).len:0}function $n(e,t,n){if(n<=0)return{x:e.x,y:e.y};let r=t.x-e.x,i=t.y-e.y,a=Math.hypot(r,i);if(a<1e-9)return{x:e.x,y:e.y};let o=Math.min(n,a)/a;return{x:e.x+r*o,y:e.y+i*o}}function er(e,t,n,r,i,a,o){if(i.type===`none`)return;let{lw:s,halfW:c,len:l}=Xn(i,a,o),u=$e(a.color);switch(e.save(),e.translate(t,n),e.rotate(r),e.fillStyle=u,e.strokeStyle=u,e.lineWidth=s,e.setLineDash([]),e.beginPath(),i.type){case`triangle`:case`stealth`:e.moveTo(0,0),e.lineTo(-l,-c),e.lineTo(-l,c),e.closePath(),e.fill();break;case`arrow`:e.moveTo(0,0),e.lineTo(-l,-c),e.moveTo(0,0),e.lineTo(-l,c),e.stroke();break;case`diamond`:e.moveTo(0,0),e.lineTo(-l/2,-c),e.lineTo(-l,0),e.lineTo(-l/2,c),e.closePath(),e.fill();break;case`oval`:e.ellipse(-l/2,0,l/2,c,0,0,Math.PI*2),e.fill();break}e.restore()}const tr=new WeakMap;function nr(e){let t=tr.get(e);return t||(t={imgs:new Map,urls:new Map},tr.set(e,t)),t}function rr(e,t){e.imgs.delete(t);let n=e.urls.get(t);n&&(URL.revokeObjectURL(n),e.urls.delete(t))}function ir(e,t){let n=nr(t),r=n.imgs.get(e);if(r)return n.imgs.delete(e),n.imgs.set(e,r),r;let i=(async()=>{let r=await t(e,`image/svg+xml`),i=URL.createObjectURL(r);n.urls.set(e,i);let a=new Image;return await new Promise((t,n)=>{a.onload=()=>{typeof a.decode==`function`?a.decode().then(()=>t()).catch(()=>t()):t()},a.onerror=()=>n(Error(`svg load failed: ${e}`)),a.src=i}),a})();if(i.catch(()=>rr(n,e)),n.imgs.set(e,i),n.imgs.size>256){let e=n.imgs.keys().next().value;rr(n,e)}return i}function ar(e){let t=tr.get(e);if(t){for(let e of t.urls.values())URL.revokeObjectURL(e);t.urls.clear(),t.imgs.clear(),tr.delete(e)}}const or=32767;function sr(e,t,n,r,i){if(n<40||t+40>e.byteLength)return null;let a=e.getUint32(t,!0);if(a<40)return null;let o=e.getInt32(t+4,!0),s=e.getInt32(t+8,!0),c=e.getUint16(t+14,!0);if(e.getUint32(t+16,!0)!==0)return null;let l=s<0,u=Math.abs(o),d=Math.abs(s);if(u<=0||d<=0||u>or||d>or||u*d>67108864)return null;let f=new Uint8ClampedArray(u*d*4),p=u*c+31>>5<<2>>>0;if(r+p*d>r+i+p&&r+p*d>e.byteLength)return null;let m=null;if(c<=8){let n=e.getUint32(t+32,!0);n===0&&(n=1<<c);let r=t+a;m=[];for(let t=0;t<n;t++){let n=r+t*4;if(n+4>e.byteLength)break;let i=e.getUint8(n),a=e.getUint8(n+1),o=e.getUint8(n+2);m.push(o<<16|a<<8|i)}}let h=(e,t,n,r,i,a)=>{let o=(e*u+t)*4;f[o]=n,f[o+1]=r,f[o+2]=i,f[o+3]=a},g=!1;for(let t=0;t<d;t++){let n=l?t:d-1-t,i=t,a=r+n*p;if(a+p>e.byteLength)break;if(c===32)for(let t=0;t<u;t++){let n=a+t*4,r=e.getUint8(n),o=e.getUint8(n+1),s=e.getUint8(n+2),c=e.getUint8(n+3);c!==0&&(g=!0),h(i,t,s,o,r,c)}else if(c===24){for(let t=0;t<u;t++){let n=a+t*3;h(i,t,e.getUint8(n+2),e.getUint8(n+1),e.getUint8(n),255)}g=!0}else if(c===8&&m){for(let t=0;t<u;t++){let n=e.getUint8(a+t),r=m[n]??0;h(i,t,r>>16&255,r>>8&255,r&255,255)}g=!0}else if(c===4&&m){for(let t=0;t<u;t++){let n=e.getUint8(a+(t>>1)),r=t&1?n&15:n>>4&15,o=m[r]??0;h(i,t,o>>16&255,o>>8&255,o&255,255)}g=!0}else if(c===1&&m){for(let t=0;t<u;t++){let n=e.getUint8(a+(t>>3))>>7-(t&7)&1,r=m[n]??0;h(i,t,r>>16&255,r>>8&255,r&255,255)}g=!0}else return null}if(c===32&&!g)for(let e=3;e<f.length;e+=4)f[e]=255;return{width:u,height:d,data:f}}function cr(e,t,n){if(n<40||t+40>e.byteLength)return null;let r=e.getUint32(t,!0);if(r<40)return null;let i=e.getUint16(t+14,!0),a=0;if(i<=8){let n=e.getUint32(t+32,!0);n===0&&(n=1<<i),a=n}else a=e.getUint32(t+32,!0);let o=r+a*4,s=t+o,c=n-o;return c<=0?null:sr(e,t,o,s,c)}function lr(e,t,n,r,i,a){try{let o=He(t.width,t.height);if(!o)return!1;let s=o.getContext(`2d`);if(!s)return!1;let c=s.createImageData(t.width,t.height);c.data.set(t.data),s.putImageData(c,0,0);let l=Math.min(n,i),u=Math.min(r,a),d=Math.abs(i-n),f=Math.abs(a-r);return e.drawImage(o,l,u,d,f),!0}catch{return!1}}const $={HEADER:1,POLYBEZIER:2,POLYGON:3,POLYLINE:4,POLYBEZIERTO:5,POLYLINETO:6,POLYPOLYLINE:7,POLYPOLYGON:8,SETWINDOWEXTEX:9,SETWINDOWORGEX:10,SETVIEWPORTEXTEX:11,SETVIEWPORTORGEX:12,EOF:14,SETMAPMODE:17,SETPOLYFILLMODE:19,SETBKMODE:18,SETTEXTALIGN:22,SETTEXTCOLOR:24,MOVETOEX:27,SCALEVIEWPORTEXTEX:31,SCALEWINDOWEXTEX:32,SAVEDC:33,RESTOREDC:34,SETWORLDTRANSFORM:35,MODIFYWORLDTRANSFORM:36,SELECTOBJECT:37,CREATEPEN:38,CREATEBRUSHINDIRECT:39,DELETEOBJECT:40,ELLIPSE:42,RECTANGLE:43,LINETO:54,BEGINPATH:59,ENDPATH:60,CLOSEFIGURE:61,SELECTCLIPPATH:67,EXTCREATEFONTINDIRECTW:82,EXTTEXTOUTW:84,POLYBEZIER16:85,POLYGON16:86,POLYLINE16:87,POLYBEZIERTO16:88,POLYLINETO16:89,POLYPOLYLINE16:90,POLYPOLYGON16:91,CREATEMONOBRUSH:93,CREATEDIBPATTERNBRUSHPT:94,EXTCREATEPEN:95,BITBLT:76,STRETCHDIBITS:81},ur={WHITE_BRUSH:2147483648,LTGRAY_BRUSH:2147483649,GRAY_BRUSH:2147483650,DKGRAY_BRUSH:2147483651,BLACK_BRUSH:2147483652,NULL_BRUSH:2147483653,WHITE_PEN:2147483654,BLACK_PEN:2147483655,NULL_PEN:2147483656,DC_BRUSH:2147483666,DC_PEN:2147483662},dr={TEXT:1,LOMETRIC:2,HIMETRIC:3,LOENGLISH:4,HIENGLISH:5,TWIPS:6,ISOTROPIC:7,ANISOTROPIC:8},fr=()=>({m11:1,m12:0,m21:0,m22:1,dx:0,dy:0});function pr(e,t){return{m11:e.m11*t.m11+e.m21*t.m12,m12:e.m12*t.m11+e.m22*t.m12,m21:e.m11*t.m21+e.m21*t.m22,m22:e.m12*t.m21+e.m22*t.m22,dx:e.m11*t.dx+e.m21*t.dy+e.dx,dy:e.m12*t.dx+e.m22*t.dy+e.dy}}var mr=class{p;constructor(e,t,n){this.dv=e,this.end=n,this.p=t}get pos(){return this.p}set pos(e){this.p=e}get remaining(){return this.end-this.p}i16(){let e=this.dv.getInt16(this.p,!0);return this.p+=2,e}i32(){let e=this.dv.getInt32(this.p,!0);return this.p+=4,e}u32(){let e=this.dv.getUint32(this.p,!0);return this.p+=4,e}f32(){let e=this.dv.getFloat32(this.p,!0);return this.p+=4,e}xform(){return{m11:this.f32(),m12:this.f32(),m21:this.f32(),m22:this.f32(),dx:this.f32(),dy:this.f32()}}skip(e){this.p+=e}};function hr(e,t,n){return e.wt.m11*t+e.wt.m21*n+e.wt.dx}function gr(e,t,n){return e.wt.m12*t+e.wt.m22*n+e.wt.dy}function _r(e){return e.winExtX===0?1:e.vpExtX/e.winExtX}function vr(e){return e.winExtY===0?1:e.vpExtY/e.winExtY}function yr(e){return Math.min(Math.abs(_r(e)),Math.abs(vr(e)))}function br(e){return e.mapMode===dr.ISOTROPIC?_r(e)<0?-yr(e):yr(e):_r(e)}function xr(e){return e.mapMode===dr.ISOTROPIC?vr(e)<0?-yr(e):yr(e):vr(e)}function Sr(e,t){return(t-e.winOrgX)*br(e)+e.vpOrgX}function Cr(e,t){return(t-e.winOrgY)*xr(e)+e.vpOrgY}function wr(e,t,n){let r=Sr(e,hr(e,t,n)),i=Cr(e,gr(e,t,n));return[(r-e.left)*e.W/e.boundsW,(i-e.top)*e.H/e.boundsH]}function Tr(e){return(Math.hypot(e.wt.m11,e.wt.m12)+Math.hypot(e.wt.m21,e.wt.m22))/2}function Er(e){return(Math.abs(br(e))+Math.abs(xr(e)))/2}function Dr(e){return(e.W/e.boundsW+e.H/e.boundsH)/2}function Or(e){return Math.hypot(e.wt.m21,e.wt.m22)}function kr(e){return e.H/e.boundsH}function Ar(e,t){let n=t*Tr(e)*Er(e)*Dr(e);return Math.max(.75,n)}function jr(e,t){if(e.mapMode=t,t===dr.TEXT){e.winOrgX=0,e.winOrgY=0,e.vpOrgX=0,e.vpOrgY=0,e.winExtX=1,e.winExtY=1,e.vpExtX=1,e.vpExtY=1;return}if(t===dr.ANISOTROPIC||t===dr.ISOTROPIC||e.devPxPerMmX<=0||e.devPxPerMmY<=0)return;let n=25.4,r=t===dr.LOMETRIC?.1:t===dr.HIMETRIC?.01:t===dr.LOENGLISH?.01*n:t===dr.HIENGLISH?.001*n:t===dr.TWIPS?n/1440:0;r<=0||(e.winOrgX=0,e.winOrgY=0,e.vpOrgX=0,e.vpOrgY=0,e.winExtX=1,e.winExtY=1,e.vpExtX=r*e.devPxPerMmX,e.vpExtY=-(r*e.devPxPerMmY))}const Mr={[ur.WHITE_BRUSH]:{kind:`brush`,fill:`#ffffff`},[ur.LTGRAY_BRUSH]:{kind:`brush`,fill:`#c0c0c0`},[ur.GRAY_BRUSH]:{kind:`brush`,fill:`#808080`},[ur.DKGRAY_BRUSH]:{kind:`brush`,fill:`#404040`},[ur.BLACK_BRUSH]:{kind:`brush`,fill:`#000000`},[ur.NULL_BRUSH]:{kind:`brush`,fill:null}},Nr={[ur.WHITE_PEN]:{kind:`pen`,stroke:`#ffffff`,width:1},[ur.BLACK_PEN]:{kind:`pen`,stroke:`#000000`,width:1},[ur.NULL_PEN]:{kind:`pen`,stroke:null,width:1},[ur.DC_PEN]:{kind:`pen`,stroke:`#000000`,width:1}};function Pr(e,t){let n=Mr[t];if(n){e.curBrush=n;return}let r=Nr[t];if(r){e.curPen=r;return}t===ur.DC_BRUSH&&(e.curBrush=e.curBrush??{kind:`brush`,fill:`#000000`})}function Fr(e){let t=0,n=0,r=0,i=0;for(let a=0;a<e.data.length;a+=4)e.data[a+3]!==0&&(t+=e.data[a],n+=e.data[a+1],r+=e.data[a+2],i++);if(i===0)return`#808080`;let a=e=>Math.round(e/i).toString(16).padStart(2,`0`);return`#${a(t)}${a(n)}${a(r)}`}const Ir=e=>[e.i16(),e.i16()],Lr=e=>[e.i32(),e.i32()];function Rr(e,t,n){t.skip(16);let r=t.u32();if(r<2||r>1048576||!e.curPen||e.curPen.stroke==null)return;let{ctx:i}=e;i.beginPath();let a=0,o=0;for(let s=0;s<r&&!(t.remaining<4);s++){let[r,c]=n(t),[l,u]=wr(e,r,c);s===0?i.moveTo(l,u):i.lineTo(l,u),a=r,o=c}i.strokeStyle=e.curPen.stroke,i.lineWidth=Ar(e,e.curPen.width),i.stroke(),e.drew=!0,e.curX=a,e.curY=o}function zr(e,t,n){t.skip(16);let r=t.u32();if(r<1||r>1048576)return;let{ctx:i}=e,a=e.curPen!=null&&e.curPen.stroke!=null;if(a){i.beginPath();let[t,n]=wr(e,e.curX,e.curY);i.moveTo(t,n)}for(let o=0;o<r&&!(t.remaining<4);o++){let[r,o]=n(t);if(a){let[t,n]=wr(e,r,o);i.lineTo(t,n)}e.curX=r,e.curY=o}a&&e.curPen&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=Ar(e,e.curPen.width),i.stroke(),e.drew=!0)}function Br(e,t,n){t.skip(16);let r=t.u32();if(r<2||r>1048576)return;let{ctx:i}=e;e.inPath||i.beginPath();let a=!1;for(let o=0;o<r&&!(t.remaining<4);o++){let[r,o]=n(t),[s,c]=wr(e,r,o);a?i.lineTo(s,c):(i.moveTo(s,c),a=!0)}a&&(i.closePath(),!e.inPath&&(e.curBrush&&e.curBrush.fill!=null&&(i.fillStyle=e.curBrush.fill,i.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=Ar(e,e.curPen.width),i.stroke(),e.drew=!0)))}function Vr(e,t,n,r){t.skip(16);let i=t.u32();if(i<1||i>1048576)return;let a=[];for(let e=0;e<i&&!(t.remaining<4);e++)a.push(n(t));if(a.length<(r?3:4)){a.length&&(e.curX=a[a.length-1][0],e.curY=a[a.length-1][1]);return}let o=e.curPen!=null&&e.curPen.stroke!=null,{ctx:s}=e;if(o){s.beginPath();let t=r?wr(e,e.curX,e.curY):wr(e,a[0][0],a[0][1]);s.moveTo(t[0],t[1])}let c=+!r;for(;c+2<a.length+ +!!r;c+=3){let t=a[c],n=a[c+1],r=a[c+2];if(!t||!n||!r)break;if(o){let i=wr(e,t[0],t[1]),a=wr(e,n[0],n[1]),o=wr(e,r[0],r[1]);s.bezierCurveTo(i[0],i[1],a[0],a[1],o[0],o[1])}e.curX=r[0],e.curY=r[1]}o&&e.curPen&&(s.strokeStyle=e.curPen.stroke,s.lineWidth=Ar(e,e.curPen.width),s.stroke(),e.drew=!0)}function Hr(e,t,n,r){t.skip(16);let i=t.u32(),a=t.u32();if(i<=0||i>65536||a<=0||a>2097152)return;let o=[];for(let e=0;e<i;e++){if(t.remaining<4)return;o.push(t.u32())}let{ctx:s}=e;e.inPath||s.beginPath();let c=!1;for(let i of o){if(i<2){for(let e=0;e<i&&t.remaining>=4;e++)n(t);continue}for(let r=0;r<i&&!(t.remaining<4);r++){let[i,a]=n(t),[o,c]=wr(e,i,a);r===0?s.moveTo(o,c):s.lineTo(o,c)}r&&s.closePath(),c=!0}!c||e.inPath||(r&&e.curBrush&&e.curBrush.fill!=null&&(s.fillStyle=e.curBrush.fill,s.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(s.strokeStyle=e.curPen.stroke,s.lineWidth=Ar(e,e.curPen.width),s.stroke(),e.drew=!0))}function Ur(e,t,n,r,i){let{ctx:a}=e,o=wr(e,t,n),s=wr(e,r,n),c=wr(e,r,i),l=wr(e,t,i);e.inPath||a.beginPath(),a.moveTo(o[0],o[1]),a.lineTo(s[0],s[1]),a.lineTo(c[0],c[1]),a.lineTo(l[0],l[1]),a.closePath(),!e.inPath&&(e.curBrush&&e.curBrush.fill!=null&&(a.fillStyle=e.curBrush.fill,a.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(a.strokeStyle=e.curPen.stroke,a.lineWidth=Ar(e,e.curPen.width),a.stroke(),e.drew=!0))}function Wr(e){let t=e.u32(),n=e.u32(),r=e.i32();e.i32();let i=e.u32();return[t,{kind:`pen`,stroke:(n&255)==5?null:_i(i),width:Math.abs(r)}]}function Gr(e){let t=e.u32();e.skip(16);let n=e.u32(),r=e.u32();e.u32();let i=e.u32();return[t,{kind:`pen`,stroke:(n&255)==5?null:_i(i),width:Math.abs(r)}]}function Kr(e){let t=e.u32(),n=e.u32(),r=e.u32();return e.u32(),[t,{kind:`brush`,fill:n===1?null:_i(r)}]}function qr(e,t,n){let r=e.u32();e.u32();let i=e.u32(),a=e.u32(),o=e.u32(),s=e.u32(),c=`#808080`;try{let e=sr(t,n+i,a,n+o,s);e&&(c=Fr(e))}catch{}return[r,{kind:`brush`,fill:c}]}function Jr(e,t,n){let r=e.u32(),i=n+12,a=t.getInt32(i,!0),o=t.getInt32(i+8,!0),s=t.getInt32(i+16,!0),c=t.getUint8(i+20),l=``;for(let e=0;e<32;e++){let n=i+28+e*2;if(n+2>t.byteLength)break;let r=t.getUint16(n,!0);if(r===0)break;l+=String.fromCharCode(r)}return[r,{kind:`font`,height:Math.abs(a),weight:s,italic:c!==0,face:l,escapement:o}]}function Yr(e,t,n,r){t.skip(16),t.u32(),t.f32(),t.f32();let i=t.i32(),a=t.i32(),o=t.u32(),s=t.u32();if(t.u32(),o<=0||o>65536)return;let c=``;for(let e=0;e<o;e++){let t=r+s+e*2;if(t+2>n.byteLength)break;c+=String.fromCharCode(n.getUint16(t,!0))}if(c.length===0)return;let l=e.curFont,u=Math.abs(l?.height??0)*Or(e)*Math.abs(xr(e))*kr(e);if(!Number.isFinite(u)||u<1)return;let{ctx:d}=e,[f,p]=wr(e,i,a);d.fillStyle=e.textColor;let m=l&&l.weight>=700?`bold `:``;d.font=`${l?.italic?`italic `:``}${m}${u}px ${l?.face||`sans-serif`}`;let h=e.textAlign&6;d.textAlign=h===2?`right`:h===6?`center`:`left`,d.textBaseline=(e.textAlign&24)==24?`alphabetic`:`top`;let g=l?.escapement??0;try{if(g!==0){d.save();try{d.translate(f,p),d.rotate(-g/10*(Math.PI/180)),d.fillText(c,0,0)}finally{d.restore()}}else d.fillText(c,f,p);e.drew=!0}catch{}}function Xr(e,t,n,r,i,a,o,s,c,l,u){if(i===0||o===0)return;let d=sr(t,n+r,i,n+a,o);if(!d)return;let[f,p]=wr(e,s,c),[m,h]=wr(e,l,u);lr(e.ctx,d,f,p,m,h)&&(e.drew=!0)}function Zr(e,t,n,r){t.skip(16);let i=t.i32(),a=t.i32(),o=t.i32(),s=t.i32();t.u32(),t.i32(),t.i32(),t.skip(24),t.u32(),t.u32(),Xr(e,n,r,t.u32(),t.u32(),t.u32(),t.u32(),i,a,i+o,a+s)}function Qr(e,t,n,r){t.skip(16);let i=t.i32(),a=t.i32();t.i32(),t.i32(),t.i32(),t.i32();let o=t.u32(),s=t.u32(),c=t.u32(),l=t.u32();t.u32(),t.u32();let u=t.i32(),d=t.i32();Xr(e,n,r,o,s,c,l,i,a,i+u,a+d)}function $r(e,t,n,r){if(!hi(e)||n<=0||r<=0)return!1;let i=new DataView(e.buffer,e.byteOffset,e.byteLength),a={ctx:t,W:n,H:r,left:0,top:0,boundsW:n,boundsH:r,wt:fr(),mapMode:dr.TEXT,winOrgX:0,winOrgY:0,winExtX:1,winExtY:1,vpOrgX:0,vpOrgY:0,vpExtX:1,vpExtY:1,devPxPerMmX:0,devPxPerMmY:0,objects:new Map,curPen:null,curBrush:null,curFont:null,textColor:`#000000`,bkMode:1,textAlign:0,fillRule:`nonzero`,curX:0,curY:0,stack:[],drew:!1,inPath:!1},o=0;for(;o+8<=e.length;){let n=i.getUint32(o,!0),r=i.getUint32(o+4,!0);if(r<8||r&3)break;let s=o+r;if(s>e.length||n===$.EOF)break;let c=new mr(i,o+8,s);try{switch(n){case $.HEADER:{let e=i.getInt32(o+8,!0),t=i.getInt32(o+12,!0),n=i.getInt32(o+16,!0),r=i.getInt32(o+20,!0);if(a.left=e,a.top=t,a.boundsW=Math.max(1,n-e),a.boundsH=Math.max(1,r-t),s>=o+88){let e=i.getInt32(o+24,!0),t=i.getInt32(o+28,!0),n=i.getInt32(o+32,!0),r=i.getInt32(o+36,!0),s=i.getInt32(o+72,!0),c=i.getInt32(o+76,!0),l=i.getInt32(o+80,!0),u=i.getInt32(o+84,!0),d=n-e,f=r-t;if(d>0&&f>0&&s>0&&c>0&&l>0&&u>0){let n=s/(l*100),r=c/(u*100);a.left=e*n,a.top=t*r,a.boundsW=Math.max(1,d*n),a.boundsH=Math.max(1,f*r),a.devPxPerMmX=s/l,a.devPxPerMmY=c/u}}break}case $.SETWORLDTRANSFORM:a.wt=c.xform();break;case $.MODIFYWORLDTRANSFORM:{let e=c.xform(),t=c.u32();t===1?a.wt=fr():t===2?a.wt=pr(e,a.wt):t===3?a.wt=pr(a.wt,e):t===4&&(a.wt=e);break}case $.SETMAPMODE:jr(a,c.u32());break;case $.SETWINDOWORGEX:a.winOrgX=c.i32(),a.winOrgY=c.i32();break;case $.SETWINDOWEXTEX:{let e=c.i32(),t=c.i32();e!==0&&(a.winExtX=e),t!==0&&(a.winExtY=t);break}case $.SETVIEWPORTORGEX:a.vpOrgX=c.i32(),a.vpOrgY=c.i32();break;case $.SETVIEWPORTEXTEX:{let e=c.i32(),t=c.i32();e!==0&&(a.vpExtX=e),t!==0&&(a.vpExtY=t);break}case $.SCALEWINDOWEXTEX:{let e=c.i32(),t=c.i32(),n=c.i32(),r=c.i32();t!==0&&(a.winExtX=a.winExtX*e/t),r!==0&&(a.winExtY=a.winExtY*n/r);break}case $.SCALEVIEWPORTEXTEX:{let e=c.i32(),t=c.i32(),n=c.i32(),r=c.i32();t!==0&&(a.vpExtX=a.vpExtX*e/t),r!==0&&(a.vpExtY=a.vpExtY*n/r);break}case $.SAVEDC:a.ctx.save(),a.stack.push({wt:{...a.wt},mapMode:a.mapMode,winOrgX:a.winOrgX,winOrgY:a.winOrgY,winExtX:a.winExtX,winExtY:a.winExtY,vpOrgX:a.vpOrgX,vpOrgY:a.vpOrgY,vpExtX:a.vpExtX,vpExtY:a.vpExtY,curPen:a.curPen,curBrush:a.curBrush,curFont:a.curFont,textColor:a.textColor,bkMode:a.bkMode,textAlign:a.textAlign,fillRule:a.fillRule,curX:a.curX,curY:a.curY});break;case $.RESTOREDC:{let e=c.i32(),t=Math.min(Math.abs(e)||1,a.stack.length),n;for(let e=0;e<t;e++)n=a.stack.pop(),a.ctx.restore();n&&(a.wt=n.wt,a.mapMode=n.mapMode,a.winOrgX=n.winOrgX,a.winOrgY=n.winOrgY,a.winExtX=n.winExtX,a.winExtY=n.winExtY,a.vpOrgX=n.vpOrgX,a.vpOrgY=n.vpOrgY,a.vpExtX=n.vpExtX,a.vpExtY=n.vpExtY,a.curPen=n.curPen,a.curBrush=n.curBrush,a.curFont=n.curFont,a.textColor=n.textColor,a.bkMode=n.bkMode,a.textAlign=n.textAlign,a.fillRule=n.fillRule,a.curX=n.curX,a.curY=n.curY);break}case $.BEGINPATH:a.ctx.beginPath(),a.inPath=!0;break;case $.CLOSEFIGURE:a.inPath&&a.ctx.closePath();break;case $.ENDPATH:a.inPath=!1;break;case $.SELECTCLIPPATH:try{a.ctx.clip(a.fillRule)}catch{}break;case $.SELECTOBJECT:{let e=c.u32();if(e&2147483648)Pr(a,e>>>0);else{let t=a.objects.get(e);t?.kind===`pen`?a.curPen=t:t?.kind===`brush`?a.curBrush=t:t?.kind===`font`&&(a.curFont=t)}break}case $.DELETEOBJECT:{let e=c.u32(),t=a.objects.get(e);t&&(t===a.curPen&&(a.curPen=null),t===a.curBrush&&(a.curBrush=null),t===a.curFont&&(a.curFont=null),a.objects.delete(e));break}case $.CREATEPEN:{let[e,t]=Wr(c);a.objects.set(e,t);break}case $.EXTCREATEPEN:{let[e,t]=Gr(c);a.objects.set(e,t);break}case $.CREATEBRUSHINDIRECT:{let[e,t]=Kr(c);a.objects.set(e,t);break}case $.CREATEMONOBRUSH:case $.CREATEDIBPATTERNBRUSHPT:{let[e,t]=qr(c,i,o);a.objects.set(e,t);break}case $.EXTCREATEFONTINDIRECTW:{let[e,t]=Jr(c,i,o);a.objects.set(e,t);break}case $.POLYLINE16:Rr(a,c,Ir);break;case $.POLYLINE:Rr(a,c,Lr);break;case $.POLYLINETO16:zr(a,c,Ir);break;case $.POLYLINETO:zr(a,c,Lr);break;case $.POLYGON16:Br(a,c,Ir);break;case $.POLYGON:Br(a,c,Lr);break;case $.POLYBEZIER16:Vr(a,c,Ir,!1);break;case $.POLYBEZIER:Vr(a,c,Lr,!1);break;case $.POLYBEZIERTO16:Vr(a,c,Ir,!0);break;case $.POLYBEZIERTO:Vr(a,c,Lr,!0);break;case $.POLYPOLYGON16:Hr(a,c,Ir,!0);break;case $.POLYPOLYGON:Hr(a,c,Lr,!0);break;case $.POLYPOLYLINE16:Hr(a,c,Ir,!1);break;case $.POLYPOLYLINE:Hr(a,c,Lr,!1);break;case $.MOVETOEX:a.curX=c.i32(),a.curY=c.i32();break;case $.LINETO:{let e=c.i32(),n=c.i32();if(a.curPen&&a.curPen.stroke!=null){let[r,i]=wr(a,a.curX,a.curY),[o,s]=wr(a,e,n);t.beginPath(),t.moveTo(r,i),t.lineTo(o,s),t.strokeStyle=a.curPen.stroke,t.lineWidth=Ar(a,a.curPen.width),t.stroke(),a.drew=!0}a.curX=e,a.curY=n;break}case $.RECTANGLE:Ur(a,c.i32(),c.i32(),c.i32(),c.i32());break;case $.ELLIPSE:{let e=c.i32(),n=c.i32(),r=c.i32(),i=c.i32(),[o,s]=[(e+r)/2,(n+i)/2],[l,u]=wr(a,o,s),[d]=wr(a,r,s),[,f]=wr(a,o,i),p=Math.abs(d-l),m=Math.abs(f-u);t.beginPath(),t.ellipse(l,u,p,m,0,0,Math.PI*2),a.curBrush&&a.curBrush.fill!=null&&(t.fillStyle=a.curBrush.fill,t.fill(a.fillRule),a.drew=!0),a.curPen&&a.curPen.stroke!=null&&(t.strokeStyle=a.curPen.stroke,t.lineWidth=Ar(a,a.curPen.width),t.stroke(),a.drew=!0);break}case $.SETPOLYFILLMODE:a.fillRule=c.u32()===1?`evenodd`:`nonzero`;break;case $.SETTEXTCOLOR:a.textColor=_i(c.u32());break;case $.SETTEXTALIGN:a.textAlign=c.u32();break;case $.SETBKMODE:a.bkMode=c.u32();break;case $.EXTTEXTOUTW:Yr(a,c,i,o);break;case $.BITBLT:Zr(a,c,i,o);break;case $.STRETCHDIBITS:Qr(a,c,i,o);break;default:break}}catch{}o=s}return a.drew}async function ei(e,t,n){if(!hi(e)||t<=0||n<=0)return null;let r=He(t,n);if(!r)return null;let i=r.getContext(`2d`);return!i||(i.lineJoin=`round`,i.lineCap=`round`,!$r(e,i,t,n))?null:createImageBitmap(r)}function ti(e,t){return e[t]<<8|e[t+1]}function ni(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function ri(e,t){return e[t]|e[t+1]<<8}function ii(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24|0}function ai(e){let t=e.length;return t>=24&&e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71&&e[4]===13&&e[5]===10&&e[6]===26&&e[7]===10?e[12]===73&&e[13]===72&&e[14]===68&&e[15]===82?{width:ni(e,16),height:ni(e,20)}:null:t>=10&&e[0]===71&&e[1]===73&&e[2]===70&&e[3]===56&&(e[4]===55||e[4]===57)&&e[5]===97?{width:ri(e,6),height:ri(e,8)}:t>=26&&e[0]===66&&e[1]===77?oi(e,14)===12?{width:ri(e,18),height:ri(e,20)}:{width:Math.abs(ii(e,18)),height:Math.abs(ii(e,22))}:t>=16&&e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80?si(e):t>=4&&e[0]===255&&e[1]===216?ci(e):null}function oi(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function si(e){let t=e.length,n=e[12],r=e[13],i=e[14],a=e[15];if(n===86&&r===80&&i===56&&a===32)return t<30?null:{width:ri(e,26)&16383,height:ri(e,28)&16383};if(n===86&&r===80&&i===56&&a===76){if(t<25||e[20]!==47)return null;let n=oi(e,21);return{width:(n&16383)+1,height:(n>>>14&16383)+1}}return n===86&&r===80&&i===56&&a===88?t<30?null:{width:(e[24]|e[25]<<8|e[26]<<16)+1,height:(e[27]|e[28]<<8|e[29]<<16)+1}:null}function ci(e){let t=e.length,n=2;for(;n+1<t;){if(e[n]!==255){n+=1;continue}let r=e[n+1];if(r===255){n+=1;continue}if(r===216||r===1||r>=208&&r<=215){n+=2;continue}if(r===217||n+3>=t)return null;let i=ti(e,n+2);if(r>=192&&r<=207&&r!==196&&r!==200&&r!==204){if(n+8>=t)return null;let r=ti(e,n+5);return{width:ti(e,n+7),height:r}}if(i<2)return null;n+=2+i}return null}function li(e){let{width:t,height:n}=e;return!Number.isFinite(t)||!Number.isFinite(n)||t<=0||n<=0||t>32767||n>32767?!0:t*n>67108864}function ui(e){let t=ai(e);return t!==null&&li(t)}const di={EOF:0,SETBKMODE:258,SETTEXTALIGN:302,SETTEXTCOLOR:521,SETPOLYFILLMODE:262,SETWINDOWORG:523,SETWINDOWEXT:524,SELECTOBJECT:301,DELETEOBJECT:496,TEXTOUT:1313,POLYGON:804,POLYLINE:805,POLYPOLYGON:1336,RECTANGLE:1051,CREATEPENINDIRECT:762,CREATEFONTINDIRECT:763,CREATEBRUSHINDIRECT:764,DIBBITBLT:2368,DIBSTRETCHBLT:2881,STRETCHDIBITS:3907},fi=2596720087;function pi(e,t){if(e.length<t+18)return!1;let n=e[t]|e[t+1]<<8,r=e[t+2]|e[t+3]<<8;return(n===1||n===2)&&r===9}function mi(e){return e.length<4?!1:(e[0]|e[1]<<8|e[2]<<16|e[3]<<24)>>>0===fi?!0:pi(e,0)}function hi(e){if(e.length<44)return!1;let t=new DataView(e.buffer,e.byteOffset,e.byteLength);return t.getUint32(0,!0)===1&&t.getUint32(40,!0)===1179469088}function gi(e){return e===`image/wmf`||e===`image/emf`}function _i(e){let t=e&255,n=e>>>8&255,r=e>>>16&255,i=e=>e.toString(16).padStart(2,`0`);return`#${i(t)}${i(n)}${i(r)}`}function vi(e,t){for(let n=0;n<e.length;n++)if(e[n]==null){e[n]=t;return}e.push(t)}var yi=class{p=0;constructor(e,t,n){this.b=e,this.end=n,this.p=t}get remaining(){return this.end-this.p}i16(){let e=this.u16();return e>=32768?e-65536:e}u16(){let e=this.b[this.p]|this.b[this.p+1]<<8;return this.p+=2,e}u8(){return this.b[this.p++]}u32(){let e=(this.b[this.p]|this.b[this.p+1]<<8|this.b[this.p+2]<<16|this.b[this.p+3]<<24)>>>0;return this.p+=4,e}bytes(e){let t=Math.min(this.p+Math.max(0,e),this.end),n=this.b.subarray(this.p,t);return this.p=t,n}skip(e){this.p=Math.min(this.p+Math.max(0,e),this.end)}};function bi(e,t){return(t-e.orgX)*(e.W/e.extX)}function xi(e,t){return(t-e.orgY)*(e.H/e.extY)}function Si(e,t){let n=t*Math.abs(e.W/e.extX);return n>=1?n:1}const Ci=.001;function wi(e,t,n){return Math.abs(e-t)<=Ci||Math.abs(e-n)<=Ci}function Ti(e,t,n){let r=[],i=n?t.length:t.length-1;for(let n=0;n<i;n++){let i=t[n],a=t[(n+1)%t.length],o=Math.abs(i[0]-a[0])<=Ci&&wi(i[0],0,e.W)&&wi(a[0],0,e.W),s=Math.abs(i[1]-a[1])<=Ci&&wi(i[1],0,e.H)&&wi(a[1],0,e.H);o||s||r.push([i,a])}return r}function Ei(e,t,n){if(!e.curPen||e.curPen.stroke==null||t.length<2)return;let{ctx:r}=e;if(r.strokeStyle=e.curPen.stroke,r.lineWidth=Si(e,e.curPen.width),!e.suppressBoundaryFrame){r.beginPath(),r.moveTo(t[0][0],t[0][1]);for(let e=1;e<t.length;e++)r.lineTo(t[e][0],t[e][1]);n&&r.closePath(),r.stroke(),e.drew=!0;return}let i=Ti(e,t,n);if(i.length===0)return;r.beginPath();let a=null;for(let[e,t]of i)(!a||a[0]!==e[0]||a[1]!==e[1])&&r.moveTo(e[0],e[1]),r.lineTo(t[0],t[1]),a=t;r.stroke(),e.drew=!0}function Di(e,t,n){let r=[];for(let i=0;i<n&&!(t.remaining<4);i++){let n=t.i16(),i=t.i16();r.push([bi(e,n),xi(e,i)])}return r}function Oi(e,t){t.length<2||!e.curPen||e.curPen.stroke==null||Ei(e,t,!1)}function ki(e,t){if(t.length<2)return;let{ctx:n}=e;if(e.curBrush&&e.curBrush.fill!=null){n.beginPath(),n.moveTo(t[0][0],t[0][1]);for(let e=1;e<t.length;e++)n.lineTo(t[e][0],t[e][1]);n.closePath(),n.fillStyle=e.curBrush.fill,n.fill(e.fillRule),e.drew=!0}Ei(e,t,!0)}function Ai(e,t){let n=t.u16();if(n<=0||n>65536)return;let r=[];for(let e=0;e<n;e++){if(t.remaining<2)return;r.push(t.u16())}let{ctx:i}=e;i.beginPath();let a=!1;for(let n of r){if(n<2){for(let e=0;e<n&&t.remaining>=4;e++)t.i16(),t.i16();continue}let r=Di(e,t,n);if(!(r.length<2)){i.moveTo(r[0][0],r[0][1]);for(let e=1;e<r.length;e++)i.lineTo(r[e][0],r[e][1]);i.closePath(),a=!0}}a&&(e.curBrush&&e.curBrush.fill!=null&&(i.fillStyle=e.curBrush.fill,i.fill(e.fillRule),e.drew=!0),e.curPen&&e.curPen.stroke!=null&&(i.strokeStyle=e.curPen.stroke,i.lineWidth=Si(e,e.curPen.width),i.stroke(),e.drew=!0))}function ji(e){let t=e.u16(),n=e.i16();e.i16();let r=e.u32();return{kind:`pen`,stroke:(t&255)==5?null:_i(r),width:Math.abs(n)}}function Mi(e){let t=e.u16(),n=e.u32();return e.u16(),{kind:`brush`,fill:t===1?null:_i(n)}}function Ni(e){let t=e.indexOf(0),n=t>=0?e.subarray(0,t):e;if(n.length===0)return``;try{return new TextDecoder(`shift_jis`).decode(n)}catch{return String.fromCharCode(...n)}}function Pi(e){let t=Math.abs(e.i16());e.i16(),e.i16(),e.i16();let n=e.i16(),r=e.u8()!==0;return e.u8(),e.u8(),e.u8(),e.u8(),e.u8(),e.u8(),e.u8(),{kind:`font`,height:t,weight:n,italic:r,face:Ni(e.bytes(Math.min(32,e.remaining)))}}function Fi(e,t,n,r){if(t.length===0)return;let i=e.curFont,a=i?.height||12,o=Math.abs(xi(e,e.orgY+a)-xi(e,e.orgY));if(!Number.isFinite(o)||o<1)return;let{ctx:s}=e;try{s.fillStyle=e.textColor;let a=i&&i.weight>=700?`bold `:``;s.font=`${i?.italic?`italic `:``}${a}${o}px ${i?.face||`sans-serif`}`;let c=e.textAlign&6;s.textAlign=c===2?`right`:c===6?`center`:`left`,s.textBaseline=(e.textAlign&24)==24?`alphabetic`:`top`,s.fillText(t,bi(e,n),xi(e,r)),e.drew=!0}catch{}}function Ii(e,t,n,r,i=!1){if(!mi(e))return!1;let a=0;(e.length>=4?(e[0]|e[1]<<8|e[2]<<16|e[3]<<24)>>>0:0)===fi&&(a=22);let o=a+18;if(o>e.length)return!1;let s={ctx:t,W:n,H:r,orgX:0,orgY:0,extX:n||1,extY:r||1,haveExt:!1,objects:[],curPen:null,curBrush:null,curFont:null,textColor:`#000000`,textAlign:0,fillRule:`nonzero`,drew:!1,suppressBoundaryFrame:i},c=new DataView(e.buffer,e.byteOffset,e.byteLength);for(;o+6<=e.length;){let t=c.getUint32(o,!0),n=c.getUint16(o+4,!0);if(t<3)break;let r=t*2,i=o+r;if(i>e.length||n===di.EOF)break;let a=o+6,l=new yi(e,a,i);switch(n){case di.SETWINDOWORG:s.orgY=l.i16(),s.orgX=l.i16();break;case di.SETWINDOWEXT:{let e=l.i16(),t=l.i16();s.extY=e||1,s.extX=t||1,s.haveExt=!0;break}case di.SETPOLYFILLMODE:s.fillRule=l.u16()===1?`evenodd`:`nonzero`;break;case di.SETTEXTCOLOR:s.textColor=_i(l.u32());break;case di.SETTEXTALIGN:s.textAlign=l.u16();break;case di.CREATEPENINDIRECT:vi(s.objects,ji(l));break;case di.CREATEBRUSHINDIRECT:vi(s.objects,Mi(l));break;case di.CREATEFONTINDIRECT:vi(s.objects,Pi(l));break;case di.SELECTOBJECT:{let e=l.u16(),t=s.objects[e];t?.kind===`pen`?s.curPen=t:t?.kind===`brush`?s.curBrush=t:t?.kind===`font`&&(s.curFont=t);break}case di.DELETEOBJECT:{let e=l.u16(),t=s.objects[e];t&&(t===s.curPen&&(s.curPen=null),t===s.curBrush&&(s.curBrush=null),t===s.curFont&&(s.curFont=null),s.objects[e]=null);break}case di.POLYLINE:Oi(s,Di(s,l,l.i16()));break;case di.POLYGON:ki(s,Di(s,l,l.i16()));break;case di.POLYPOLYGON:Ai(s,l);break;case di.RECTANGLE:{let e=l.i16(),t=l.i16(),n=l.i16(),r=l.i16();ki(s,[[bi(s,r),xi(s,n)],[bi(s,t),xi(s,n)],[bi(s,t),xi(s,e)],[bi(s,r),xi(s,e)]]);break}case di.TEXTOUT:{let e=l.u16(),t=Ni(l.bytes(e));e%2!=0&&l.skip(1);let n=l.i16();Fi(s,t,l.i16(),n);break}case di.STRETCHDIBITS:{l.u32(),l.i16(),l.i16(),l.i16(),l.i16(),l.u16();let e=l.i16(),t=l.i16(),n=l.i16(),r=l.i16(),o=a+22,u=cr(c,o,i-o);if(u){let i=bi(s,r),a=xi(s,n),o=bi(s,r+t),c=xi(s,n+e);lr(s.ctx,u,i,a,o,c)&&(s.drew=!0)}break}case di.DIBSTRETCHBLT:case di.DIBBITBLT:case di.SETBKMODE:break;default:break}o=i}return s.drew}function Li(e,t){let n=e>0?e:300,r=t>0?t:300,i=e=>Math.max(1,Math.min(2e3,Math.round(e)));return{w:i(n*2),h:i(r*2)}}async function Ri(e,t,n,r=!1){if(!mi(e)||t<=0||n<=0)return null;let i=He(t,n);if(!i)return null;let a=i.getContext(`2d`);return!a||(a.lineJoin=`round`,a.lineCap=`round`,!Ii(e,a,t,n,r))?null:createImageBitmap(i)}async function zi(e,t={}){let{widthPt:n=0,heightPt:r=0,suppressBoundaryFrame:i=!1}=t,a=new Uint8Array(await e.slice(0,64*1024).arrayBuffer());if(mi(a)){let{w:t,h:a}=Li(n,r);return Ri(new Uint8Array(await e.arrayBuffer()),t,a,i)}if(hi(a)){let{w:t,h:i}=Li(n,r);return ei(new Uint8Array(await e.arrayBuffer()),t,i)}return ui(a)?null:createImageBitmap(e)}const Bi=new WeakMap;function Vi(e){let t=Bi.get(e);return t||(t=new Map,Bi.set(e,t)),t}const Hi=new WeakMap,Ui=new WeakSet;function Wi(e){!e||Ui.has(e)||(Ui.add(e),e.close())}function Gi(e){let t=Hi.get(e);t||(t={count:0,deferred:[]},Hi.set(e,t));let n=t;n.count++;let r=!1;return()=>{if(!r&&(r=!0,n.count--,!(n.count>0))){for(let e of n.deferred)e.then(e=>Wi(e)).catch(()=>{});n.deferred=[],Hi.delete(e)}}}function Ki(e,t){let n=Hi.get(e);if(n&&n.count>0){n.deferred.push(t);return}t.then(e=>Wi(e)).catch(()=>{})}function qi(e,t,n,r={}){let{widthPt:i=0,heightPt:a=0,suppressBoundaryFrame:o=!1}=r,s=Vi(n),c=s.get(e);if(c)return s.delete(e),s.set(e,c),c.promise;let l=n(e,t).then(e=>zi(e,{widthPt:i,heightPt:a,suppressBoundaryFrame:o})),u={promise:l};if(l.then(e=>{u.bitmap=e}).catch(()=>{}),l.catch(()=>s.delete(e)),s.set(e,u),s.size>256){let e=s.keys().next().value,t=s.get(e);s.delete(e),t&&Ki(n,t.promise)}return l}function Ji(e){let t=Bi.get(e);if(t){for(let n of t.values())Ki(e,n.promise);t.clear(),Bi.delete(e)}}function Yi(e){let t=e;return{w:t.naturalWidth||(typeof t.width==`number`?t.width:0)||0,h:t.naturalHeight||(typeof t.height==`number`?t.height:0)||0}}function Xi(e,t){if(!t||!(t.l||t.t||t.r||t.b))return null;let{w:n,h:r}=Yi(e);if(n<=0||r<=0)return null;let i=e=>Math.max(0,Math.min(1,e)),a=i(t.l)*n,o=i(t.t)*r;return{sx:a,sy:o,sw:Math.max(1,n-a-i(t.r)*n),sh:Math.max(1,r-o-i(t.b)*r)}}function Zi(e,t,n,r,i,a,o){let s=Xi(t,n);s?e.drawImage(t,s.sx,s.sy,s.sw,s.sh,r,i,a,o):e.drawImage(t,r,i,a,o)}function Qi(e,t,n,r){if(!t||!gi(e))return{widthPt:n,heightPt:r};let i=Math.max(.01,1-t.l-t.r),a=Math.max(.01,1-t.t-t.b);return{widthPt:n/i,heightPt:r/a}}function $i(e){return/^[0-9a-fA-F]{6}$/.test(e)?[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]:null}function ea(e,t,n){return(.299*e+.587*t+.114*n)/255}function ta(e,t,n){let r=$i(t),i=$i(n);if(!r||!i)return e;let[a,o,s]=r,[c,l,u]=i,d=e.data;for(let e=0;e<d.length;e+=4){if(d[e+3]===0)continue;let t=ea(d[e],d[e+1],d[e+2]);d[e]=Math.round(a+(c-a)*t),d[e+1]=Math.round(o+(l-o)*t),d[e+2]=Math.round(s+(u-s)*t)}return e}const na=(e,t)=>typeof OffscreenCanvas>`u`?null:new OffscreenCanvas(e,t);async function ra(e,t,n){let{width:r,height:i}=n;if(r<=0||i<=0||typeof createImageBitmap>`u`)return e;let a=(n.offscreenFactory??na)(r,i);if(!a)return e;let o=a.getContext(`2d`);if(!o)return e;o.drawImage(e,0,0);let s;try{s=o.getImageData(0,0,r,i)}catch{return e}return ta(s,t.clr1,t.clr2),o.putImageData(s,0,0),createImageBitmap(a)}function ia(e){return e.svgImagePath!=null&&e.srcRect==null}function aa(e){return typeof HTMLCanvasElement<`u`&&e instanceof HTMLCanvasElement}function oa(e=1){return typeof window<`u`&&window.devicePixelRatio||e}function sa(e,t,n){let r=Math.round(t*n)%2==1?.5:0,i=e*n;return(Math.round(i-r)+r)/n-e}const ca=32767;function la(e,t){let n=Number.isFinite(e)&&e>0?Math.max(1,Math.round(e)):1,r=Number.isFinite(t)&&t>0?Math.max(1,Math.round(t)):1,i=Math.min(1,ca/n,ca/r),a=n*r,o=a>16777216?Math.sqrt(16777216/a):1,s=Math.min(i,o);return s>=1?{width:n,height:r,scale:1,clamped:!1}:{width:Math.max(1,Math.floor(n*s)),height:Math.max(1,Math.floor(r*s)),scale:s,clamped:!0}}function ua(e,t){let n=Math.max(1,Math.round(e*t/3)),r=Math.max(1,Math.round(e*t/3));return{railDev:n,gapDev:r,spanDev:2*n+r}}function da(e,t,n,r,i,a,o){let{railDev:s,gapDev:c,spanDev:l}=ua(a,o);if(n===i){let i=Math.round(n*o-l/2);e.fillRect(t,i/o,r-t,s/o),e.fillRect(t,(i+s+c)/o,r-t,s/o)}else{let r=Math.round(t*o-l/2);e.fillRect(r/o,n,s/o,i-n),e.fillRect((r+s+c)/o,n,s/o,i-n)}}function fa(e,t,n,r,i,a,o,s=1){let c=Math.max(1,i*.05),l=o===`heavy`||(o?.endsWith(`Heavy`)??!1)?c*1.8:c,u=n+Math.max(2,l),d=sa(u,l,s);if(e.strokeStyle=a,e.lineWidth=l,e.setLineDash([]),o&&o.startsWith(`wavy`)){let n=l,i=l*6;e.beginPath(),e.moveTo(t,u);let a=Math.max(1,l*.5);for(let o=0;o<=r;o+=a){let r=u+Math.sin(o/i*Math.PI*2)*n;e.lineTo(t+o,r)}if(e.stroke(),o===`wavyDbl`){e.beginPath(),e.moveTo(t,u+n*2.5);for(let o=0;o<=r;o+=a){let r=u+n*2.5+Math.sin(o/i*Math.PI*2)*n;e.lineTo(t+o,r)}e.stroke()}return}if(o===`dbl`){let n=l*1.4,i=u-n/2,a=u+n/2;e.beginPath(),e.moveTo(t,i+sa(i,l,s)),e.lineTo(t+r,i+sa(i,l,s)),e.moveTo(t,a+sa(a,l,s)),e.lineTo(t+r,a+sa(a,l,s)),e.stroke();return}e.setLineDash(Qe(o??`sng`,l)),e.beginPath(),e.moveTo(t,u+d),e.lineTo(t+r,u+d),e.stroke(),e.setLineDash([])}function pa(e){if(!e.startsWith(`data:`))return null;let t=e.indexOf(`,`);if(t===-1)return null;let n=atob(e.slice(t+1)),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r.buffer}var ma=class e extends Error{code=`parser-crashed`;constructor(t){super(t),this.name=`WasmTrapError`,Object.setPrototypeOf(this,e.prototype)}};function ha(e){let t=globalThis.WebAssembly?.RuntimeError;if(t&&e instanceof t||e instanceof RangeError)return!0;if(e instanceof Error){let t=e.name;if(t===`RuntimeError`||t===`CompileError`||t===`LinkError`)return!0}return!1}var ga=class{_init;_opts;_wasmInput=null;_initPromise=null;_poisoned=!1;_archive=null;constructor(e,t={}){this._init=e,this._opts=t}setWasmUrl(e){this._wasmInput=e,this._poisoned=!1,this._initPromise=this._init(e)}get archive(){return this._archive}setArchive(e){this._freeArchive(),this._archive=e}disposeArchive(){this._freeArchive()}_freeArchive(){this._archive!=null&&this._opts.freeArchive&&this._opts.freeArchive(this._archive),this._archive=null}get poisoned(){return this._poisoned}async ensureReady(){if(this._poisoned){if(this._wasmInput===null)throw Error(`WasmParserHost: setWasmUrl was never called`);let e=(this._opts.reinit??this._init)(this._wasmInput);this._initPromise=e,await e,this._poisoned=!1;return}if(this._initPromise===null)throw Error(`WasmParserHost: setWasmUrl was never called`);await this._initPromise}run(e){try{return e()}catch(e){throw ha(e)?(this._poison(),new ma(`WASM parser trapped and was recycled: ${e instanceof Error?e.message:String(e)}`)):e}}poison(){this._poison()}_poison(){if(this._poisoned=!0,this._initPromise=null,this._archive!=null&&this._opts.freeArchive)try{this._opts.freeArchive(this._archive)}catch{}this._archive=null}};const _a=[`L`,`R`,`AL`,`EN`,`ES`,`ET`,`AN`,`CS`,`NSM`,`BN`,`B`,`S`,`WS`,`ON`,`LRE`,`LRO`,`RLE`,`RLO`,`PDF`,`LRI`,`RLI`,`FSI`,`PDI`],va=[0,9,10,11,12,13,14,28,31,32,33,35,38,43,44,45,46,48,58,59,65,91,97,123,127,133,134,160,161,162,166,170,171,173,174,176,178,180,181,182,185,186,187,192,215,216,247,248,697,699,706,720,722,736,741,750,751,768,880,884,886,894,895,900,902,903,904,1014,1015,1155,1162,1418,1419,1421,1423,1424,1425,1470,1471,1472,1473,1475,1476,1478,1479,1480,1536,1542,1544,1545,1547,1548,1549,1550,1552,1563,1611,1632,1642,1643,1645,1648,1649,1750,1757,1758,1759,1765,1767,1769,1770,1774,1776,1786,1809,1810,1840,1867,1958,1969,1984,2027,2036,2038,2042,2045,2046,2070,2074,2075,2084,2085,2088,2089,2094,2137,2140,2144,2192,2194,2199,2208,2250,2274,2275,2307,2362,2363,2364,2365,2369,2377,2381,2382,2385,2392,2402,2404,2433,2434,2492,2493,2497,2501,2509,2510,2530,2532,2546,2548,2555,2556,2558,2559,2561,2563,2620,2621,2625,2627,2631,2633,2635,2638,2641,2642,2672,2674,2677,2678,2689,2691,2748,2749,2753,2758,2759,2761,2765,2766,2786,2788,2801,2802,2810,2816,2817,2818,2876,2877,2879,2880,2881,2885,2893,2894,2901,2903,2914,2916,2946,2947,3008,3009,3021,3022,3059,3065,3066,3067,3072,3073,3076,3077,3132,3133,3134,3137,3142,3145,3146,3150,3157,3159,3170,3172,3192,3199,3201,3202,3260,3261,3276,3278,3298,3300,3328,3330,3387,3389,3393,3397,3405,3406,3426,3428,3457,3458,3530,3531,3538,3541,3542,3543,3633,3634,3636,3643,3647,3648,3655,3663,3761,3762,3764,3773,3784,3791,3864,3866,3893,3894,3895,3896,3897,3898,3902,3953,3967,3968,3973,3974,3976,3981,3992,3993,4029,4038,4039,4141,4145,4146,4152,4153,4155,4157,4159,4184,4186,4190,4193,4209,4213,4226,4227,4229,4231,4237,4238,4253,4254,4957,4960,5008,5018,5120,5121,5760,5761,5787,5789,5906,5909,5938,5940,5970,5972,6002,6004,6068,6070,6071,6078,6086,6087,6089,6100,6107,6108,6109,6110,6128,6138,6144,6155,6158,6159,6160,6277,6279,6313,6314,6432,6435,6439,6441,6450,6451,6457,6460,6464,6465,6468,6470,6622,6656,6679,6681,6683,6684,6742,6743,6744,6751,6752,6753,6754,6755,6757,6765,6771,6781,6783,6784,6832,6878,6880,6892,6912,6916,6964,6965,6966,6971,6972,6973,6978,6979,7019,7028,7040,7042,7074,7078,7080,7082,7083,7086,7142,7143,7144,7146,7149,7150,7151,7154,7212,7220,7222,7224,7376,7379,7380,7393,7394,7401,7405,7406,7412,7413,7416,7418,7616,7680,8125,8126,8127,8130,8141,8144,8157,8160,8173,8176,8189,8191,8192,8203,8206,8207,8208,8232,8233,8234,8235,8236,8237,8238,8239,8240,8245,8260,8261,8287,8288,8294,8295,8296,8297,8298,8304,8305,8308,8314,8316,8319,8320,8330,8332,8335,8352,8400,8433,8448,8450,8451,8455,8456,8458,8468,8469,8470,8473,8478,8484,8485,8486,8487,8488,8489,8490,8494,8495,8506,8508,8512,8517,8522,8526,8528,8544,8585,8588,8592,8722,8723,8724,9014,9083,9109,9110,9258,9280,9291,9312,9352,9372,9450,9900,9901,10240,10496,11124,11126,11264,11493,11499,11503,11506,11513,11520,11647,11648,11744,11776,11870,11904,11930,11931,12020,12032,12246,12272,12288,12289,12293,12296,12321,12330,12334,12336,12337,12342,12344,12349,12352,12441,12443,12445,12448,12449,12539,12540,12736,12774,12783,12784,12829,12831,12880,12896,12924,12927,12977,12992,13004,13008,13175,13179,13278,13280,13311,13312,19904,19968,42128,42183,42509,42512,42607,42611,42612,42622,42624,42654,42656,42736,42738,42752,42786,42888,42889,43010,43011,43014,43015,43019,43020,43045,43047,43048,43052,43053,43064,43066,43124,43128,43204,43206,43232,43250,43263,43264,43302,43310,43335,43346,43392,43395,43443,43444,43446,43450,43452,43454,43493,43494,43561,43567,43569,43571,43573,43575,43587,43588,43596,43597,43644,43645,43696,43697,43698,43701,43703,43705,43710,43712,43713,43714,43756,43758,43766,43767,43882,43884,44005,44006,44008,44009,44013,44014,64285,64286,64287,64297,64298,64336,64451,64467,64830,64848,64912,64914,64968,64976,65008,65021,65024,65040,65050,65056,65072,65104,65105,65106,65107,65108,65109,65110,65119,65120,65122,65124,65127,65128,65129,65131,65132,65136,65279,65280,65281,65283,65286,65291,65292,65293,65294,65296,65306,65307,65313,65339,65345,65371,65382,65504,65506,65509,65511,65512,65519,65520,65529,65534,65536,65793,65794,65856,65933,65936,65949,65952,65953,66045,66046,66272,66273,66300,66422,66427,67584,67871,67872,68097,68100,68101,68103,68108,68112,68152,68155,68159,68160,68325,68327,68409,68416,68864,68900,68904,68912,68922,68928,68938,68969,68974,68975,69216,69247,69291,69293,69312,69328,69337,69370,69376,69424,69446,69457,69488,69506,69510,69632,69633,69634,69688,69703,69714,69734,69744,69745,69747,69749,69759,69762,69811,69815,69817,69819,69826,69827,69888,69891,69927,69932,69933,69941,70003,70004,70016,70018,70070,70079,70089,70093,70095,70096,70191,70194,70196,70197,70198,70200,70206,70207,70209,70210,70367,70368,70371,70379,70400,70402,70459,70461,70464,70465,70502,70509,70512,70517,70587,70593,70606,70607,70608,70609,70610,70611,70625,70627,70712,70720,70722,70725,70726,70727,70750,70751,70835,70841,70842,70843,70847,70849,70850,70852,71090,71094,71100,71102,71103,71105,71132,71134,71219,71227,71229,71230,71231,71233,71264,71277,71339,71340,71341,71342,71344,71350,71351,71352,71453,71454,71455,71456,71458,71462,71463,71468,71727,71736,71737,71739,71995,71997,71998,71999,72003,72004,72148,72152,72154,72156,72160,72161,72193,72199,72201,72203,72243,72249,72251,72255,72263,72264,72273,72279,72281,72284,72330,72343,72344,72346,72544,72545,72546,72549,72550,72551,72752,72759,72760,72766,72850,72872,72874,72881,72882,72884,72885,72887,73009,73015,73018,73019,73020,73022,73023,73030,73031,73032,73104,73106,73109,73110,73111,73112,73459,73461,73472,73474,73526,73531,73536,73537,73538,73539,73562,73563,73685,73693,73697,73714,78912,78913,78919,78934,90398,90410,90413,90416,92912,92917,92976,92983,94031,94032,94095,94099,94178,94179,94180,94181,113821,113823,113824,113828,117760,117974,118e3,118010,118013,118016,118452,118458,118481,118496,118513,118528,118574,118576,118599,119143,119146,119155,119163,119171,119173,119180,119210,119214,119273,119275,119296,119362,119365,119366,119552,119639,120513,120514,120539,120540,120571,120572,120597,120598,120629,120630,120655,120656,120687,120688,120713,120714,120745,120746,120771,120772,120782,120832,121344,121399,121403,121453,121461,121462,121476,121477,121499,121504,121505,121520,122880,122887,122888,122905,122907,122914,122915,122917,122918,122923,123023,123024,123184,123191,123566,123567,123628,123632,123647,123648,124140,124144,124398,124400,124643,124644,124646,124647,124654,124656,124661,124662,124928,125136,125143,125252,125259,126064,126144,126208,126288,126464,126704,126706,126720,126976,127020,127024,127124,127136,127151,127153,127168,127169,127184,127185,127222,127232,127243,127248,127279,127280,127338,127344,127405,127406,127584,127590,127744,128729,128732,128749,128752,128765,128768,128986,128992,129004,129008,129009,129024,129036,129040,129096,129104,129114,129120,129160,129168,129198,129200,129212,129216,129218,129232,129241,129280,129624,129632,129646,129648,129661,129664,129675,129678,129735,129736,129737,129741,129757,129759,129771,129775,129785,129792,129939,129940,130032,130042,130043,131070,131072,196606,196608,262142,262144,327678,327680,393214,393216,458750,458752,524286,524288,589822,589824,655358,655360,720894,720896,786430,786432,851966,851968,917502,917760,918e3,921600,983038,983040,1048574,1048576,1114110],ya=[9,11,10,11,12,10,9,10,11,12,13,5,13,4,7,4,7,3,7,13,0,13,0,13,9,10,9,7,13,5,13,0,13,9,13,5,3,13,0,13,3,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,8,0,13,0,13,0,13,0,13,0,13,0,8,0,13,0,13,5,1,8,1,8,1,8,1,8,1,8,1,6,13,2,5,2,7,2,13,8,2,8,6,5,6,2,8,2,8,6,13,8,2,8,13,8,2,3,2,8,2,8,2,8,2,1,8,1,13,1,8,1,8,1,8,1,8,1,8,1,8,1,2,6,2,8,2,8,6,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,5,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,13,0,12,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,13,0,13,8,9,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,13,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,13,0,13,0,13,0,13,0,13,0,12,9,0,1,13,12,10,14,16,18,15,17,7,5,13,7,13,12,9,19,20,21,22,9,3,0,3,4,13,0,3,4,13,0,5,8,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,5,0,13,0,13,0,13,0,13,0,13,0,13,4,5,13,0,13,0,13,0,13,0,13,3,0,13,0,13,0,13,0,13,0,13,0,8,0,13,0,8,0,8,13,0,13,0,13,0,13,0,13,12,13,0,13,0,8,0,13,0,13,0,13,0,8,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,8,13,8,13,0,8,0,8,0,13,0,13,0,8,0,8,0,8,0,8,0,13,8,0,5,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,8,0,1,8,1,4,1,2,13,2,13,2,13,2,13,9,2,13,8,13,0,8,13,7,13,7,0,13,7,13,5,13,4,13,0,13,5,13,0,2,9,0,13,5,13,4,7,4,7,3,7,13,0,13,0,13,0,5,13,5,0,13,0,9,13,9,0,13,0,13,0,13,0,13,0,8,0,8,3,0,8,0,1,13,1,8,1,8,1,8,1,8,1,8,1,8,1,13,1,2,8,2,6,2,6,1,8,13,1,6,1,8,1,2,13,2,8,1,2,8,2,1,8,1,0,8,0,8,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,5,13,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,13,0,8,0,8,0,9,0,13,0,3,13,0,13,0,13,0,13,0,8,0,8,0,8,0,9,8,0,8,0,8,0,13,0,13,8,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,3,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,8,0,5,0,8,0,8,0,8,0,8,0,8,0,8,0,1,8,1,8,1,2,1,2,1,2,13,2,1,13,0,13,0,13,0,13,0,13,0,13,0,3,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,3,13,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,0,9,8,9,0,9,0,9,0,9],ba=[40,41,41,40,60,62,62,60,91,93,93,91,123,125,125,123,171,187,187,171,3898,3899,3899,3898,3900,3901,3901,3900,5787,5788,5788,5787,8249,8250,8250,8249,8261,8262,8262,8261,8317,8318,8318,8317,8333,8334,8334,8333,8712,8715,8713,8716,8714,8717,8715,8712,8716,8713,8717,8714,8725,10741,8735,11262,8736,10659,8737,10651,8738,10656,8740,10990,8764,8765,8765,8764,8771,8909,8773,8780,8780,8773,8786,8787,8787,8786,8788,8789,8789,8788,8804,8805,8805,8804,8806,8807,8807,8806,8808,8809,8809,8808,8810,8811,8811,8810,8814,8815,8815,8814,8816,8817,8817,8816,8818,8819,8819,8818,8820,8821,8821,8820,8822,8823,8823,8822,8824,8825,8825,8824,8826,8827,8827,8826,8828,8829,8829,8828,8830,8831,8831,8830,8832,8833,8833,8832,8834,8835,8835,8834,8836,8837,8837,8836,8838,8839,8839,8838,8840,8841,8841,8840,8842,8843,8843,8842,8847,8848,8848,8847,8849,8850,8850,8849,8856,10680,8866,8867,8867,8866,8870,10974,8872,10980,8873,10979,8875,10981,8880,8881,8881,8880,8882,8883,8883,8882,8884,8885,8885,8884,8886,8887,8887,8886,8888,10204,8905,8906,8906,8905,8907,8908,8908,8907,8909,8771,8912,8913,8913,8912,8918,8919,8919,8918,8920,8921,8921,8920,8922,8923,8923,8922,8924,8925,8925,8924,8926,8927,8927,8926,8928,8929,8929,8928,8930,8931,8931,8930,8932,8933,8933,8932,8934,8935,8935,8934,8936,8937,8937,8936,8938,8939,8939,8938,8940,8941,8941,8940,8944,8945,8945,8944,8946,8954,8947,8955,8948,8956,8950,8957,8951,8958,8954,8946,8955,8947,8956,8948,8957,8950,8958,8951,8968,8969,8969,8968,8970,8971,8971,8970,9001,9002,9002,9001,10088,10089,10089,10088,10090,10091,10091,10090,10092,10093,10093,10092,10094,10095,10095,10094,10096,10097,10097,10096,10098,10099,10099,10098,10100,10101,10101,10100,10179,10180,10180,10179,10181,10182,10182,10181,10184,10185,10185,10184,10187,10189,10189,10187,10197,10198,10198,10197,10204,8888,10205,10206,10206,10205,10210,10211,10211,10210,10212,10213,10213,10212,10214,10215,10215,10214,10216,10217,10217,10216,10218,10219,10219,10218,10220,10221,10221,10220,10222,10223,10223,10222,10627,10628,10628,10627,10629,10630,10630,10629,10631,10632,10632,10631,10633,10634,10634,10633,10635,10636,10636,10635,10637,10640,10638,10639,10639,10638,10640,10637,10641,10642,10642,10641,10643,10644,10644,10643,10645,10646,10646,10645,10647,10648,10648,10647,10651,8737,10656,8738,10659,8736,10660,10661,10661,10660,10664,10665,10665,10664,10666,10667,10667,10666,10668,10669,10669,10668,10670,10671,10671,10670,10680,8856,10688,10689,10689,10688,10692,10693,10693,10692,10703,10704,10704,10703,10705,10706,10706,10705,10708,10709,10709,10708,10712,10713,10713,10712,10714,10715,10715,10714,10728,10729,10729,10728,10741,8725,10744,10745,10745,10744,10748,10749,10749,10748,10795,10796,10796,10795,10797,10798,10798,10797,10804,10805,10805,10804,10812,10813,10813,10812,10852,10853,10853,10852,10873,10874,10874,10873,10875,10876,10876,10875,10877,10878,10878,10877,10879,10880,10880,10879,10881,10882,10882,10881,10883,10884,10884,10883,10885,10886,10886,10885,10887,10888,10888,10887,10889,10890,10890,10889,10891,10892,10892,10891,10893,10894,10894,10893,10895,10896,10896,10895,10897,10898,10898,10897,10899,10900,10900,10899,10901,10902,10902,10901,10903,10904,10904,10903,10905,10906,10906,10905,10907,10908,10908,10907,10909,10910,10910,10909,10911,10912,10912,10911,10913,10914,10914,10913,10918,10919,10919,10918,10920,10921,10921,10920,10922,10923,10923,10922,10924,10925,10925,10924,10927,10928,10928,10927,10929,10930,10930,10929,10931,10932,10932,10931,10933,10934,10934,10933,10935,10936,10936,10935,10937,10938,10938,10937,10939,10940,10940,10939,10941,10942,10942,10941,10943,10944,10944,10943,10945,10946,10946,10945,10947,10948,10948,10947,10949,10950,10950,10949,10951,10952,10952,10951,10953,10954,10954,10953,10955,10956,10956,10955,10957,10958,10958,10957,10959,10960,10960,10959,10961,10962,10962,10961,10963,10964,10964,10963,10965,10966,10966,10965,10974,8870,10979,8873,10980,8872,10981,8875,10988,10989,10989,10988,10990,8740,10999,11e3,11e3,10999,11001,11002,11002,11001,11262,8735,11778,11779,11779,11778,11780,11781,11781,11780,11785,11786,11786,11785,11788,11789,11789,11788,11804,11805,11805,11804,11808,11809,11809,11808,11810,11811,11811,11810,11812,11813,11813,11812,11814,11815,11815,11814,11816,11817,11817,11816,11861,11862,11862,11861,11863,11864,11864,11863,11865,11866,11866,11865,11867,11868,11868,11867,12296,12297,12297,12296,12298,12299,12299,12298,12300,12301,12301,12300,12302,12303,12303,12302,12304,12305,12305,12304,12308,12309,12309,12308,12310,12311,12311,12310,12312,12313,12313,12312,12314,12315,12315,12314,65113,65114,65114,65113,65115,65116,65116,65115,65117,65118,65118,65117,65124,65125,65125,65124,65288,65289,65289,65288,65308,65310,65310,65308,65339,65341,65341,65339,65371,65373,65373,65371,65375,65376,65376,65375,65378,65379,65379,65378],xa=[40,41,0,41,40,1,91,93,0,93,91,1,123,125,0,125,123,1,3898,3899,0,3899,3898,1,3900,3901,0,3901,3900,1,5787,5788,0,5788,5787,1,8261,8262,0,8262,8261,1,8317,8318,0,8318,8317,1,8333,8334,0,8334,8333,1,8968,8969,0,8969,8968,1,8970,8971,0,8971,8970,1,9001,9002,0,9002,9001,1,10088,10089,0,10089,10088,1,10090,10091,0,10091,10090,1,10092,10093,0,10093,10092,1,10094,10095,0,10095,10094,1,10096,10097,0,10097,10096,1,10098,10099,0,10099,10098,1,10100,10101,0,10101,10100,1,10181,10182,0,10182,10181,1,10214,10215,0,10215,10214,1,10216,10217,0,10217,10216,1,10218,10219,0,10219,10218,1,10220,10221,0,10221,10220,1,10222,10223,0,10223,10222,1,10627,10628,0,10628,10627,1,10629,10630,0,10630,10629,1,10631,10632,0,10632,10631,1,10633,10634,0,10634,10633,1,10635,10636,0,10636,10635,1,10637,10640,0,10638,10639,1,10639,10638,0,10640,10637,1,10641,10642,0,10642,10641,1,10643,10644,0,10644,10643,1,10645,10646,0,10646,10645,1,10647,10648,0,10648,10647,1,10712,10713,0,10713,10712,1,10714,10715,0,10715,10714,1,10748,10749,0,10749,10748,1,11810,11811,0,11811,11810,1,11812,11813,0,11813,11812,1,11814,11815,0,11815,11814,1,11816,11817,0,11817,11816,1,11861,11862,0,11862,11861,1,11863,11864,0,11864,11863,1,11865,11866,0,11866,11865,1,11867,11868,0,11868,11867,1,12296,12297,0,12297,12296,1,12298,12299,0,12299,12298,1,12300,12301,0,12301,12300,1,12302,12303,0,12303,12302,1,12304,12305,0,12305,12304,1,12308,12309,0,12309,12308,1,12310,12311,0,12311,12310,1,12312,12313,0,12313,12312,1,12314,12315,0,12315,12314,1,65113,65114,0,65114,65113,1,65115,65116,0,65116,65115,1,65117,65118,0,65118,65117,1,65288,65289,0,65289,65288,1,65339,65341,0,65341,65339,1,65371,65373,0,65373,65371,1,65375,65376,0,65376,65375,1,65378,65379,0,65379,65378,1];function Sa(e){let t=0,n=va.length-1;for(;t<n;){let r=t+n+1>>1;va[r]<=e?t=r:n=r-1}return ya[t]}function Ca(e){return _a[Sa(e)]}const wa=(()=>{let e=new Map;for(let t=0;t<ba.length;t+=2)e.set(ba[t],ba[t+1]);return e})();function Ta(e){return wa.get(e)??null}const Ea=(()=>{let e=new Map;for(let t=0;t<xa.length;t+=3)e.set(xa[t],{pair:xa[t+1],type:xa[t+2]===0?`o`:`c`});return e})();function Da(e){return Ea.get(e)??null}const Oa=e=>e===`RLE`||e===`LRE`||e===`RLO`||e===`LRO`||e===`PDF`||e===`BN`,ka=e=>e===`LRI`||e===`RLI`||e===`FSI`,Aa=e=>e===`B`||e===`S`||e===`WS`||e===`ON`||e===`FSI`||e===`LRI`||e===`RLI`||e===`PDI`,ja=e=>e&1?e+2:e+1,Ma=e=>e&1?e+1:e+2;function Na(e,t,n){let r=0;for(let i=t;i<n;i++){let t=e[i];if(ka(t))r++;else if(t===`PDI`)r>0&&r--;else if(r===0){if(t===`L`)return 0;if(t===`R`||t===`AL`)return 1}}return 0}function Pa(e){let t=e.length,n=new Int32Array(t).fill(t),r=new Int32Array(t).fill(-1),i=[];for(let a=0;a<t;a++){let t=e[a];if(ka(t))i.push(a);else if(t===`PDI`&&i.length){let e=i.pop();n[e]=a,r[a]=e}}return{pdiOf:n,initOf:r}}function Fa(e,t,n){let r=e.length,i=Array(r).fill(t),a=e.slice(),o=[{level:t,override:`neutral`,isolate:!1}],s=0,c=0,l=0,u=()=>o[o.length-1];for(let d=0;d<r;d++){let r=e[d];switch(r){case`RLE`:case`LRE`:case`RLO`:case`LRO`:{i[d]=u().level;let e=r===`RLE`||r===`RLO`?ja(u().level):Ma(u().level);e<=125&&s===0&&c===0?o.push({level:e,override:r===`RLO`?`R`:r===`LRO`?`L`:`neutral`,isolate:!1}):s===0&&c++;break}case`RLI`:case`LRI`:case`FSI`:{i[d]=u().level;let t=u().override;t!==`neutral`&&(a[d]=t);let f;f=r===`RLI`?`R`:r===`LRI`?`L`:Na(e,d+1,n[d])===1?`R`:`L`;let p=f===`R`?ja(u().level):Ma(u().level);p<=125&&s===0&&c===0?(l++,o.push({level:p,override:`neutral`,isolate:!0})):s++;break}case`PDI`:if(s>0)s--;else if(l>0){for(c=0;!u().isolate;)o.pop();o.pop(),l--}{i[d]=u().level;let e=u().override;e!==`neutral`&&(a[d]=e)}break;case`PDF`:i[d]=u().level,s>0||(c>0?c--:!u().isolate&&o.length>=2&&o.pop());break;case`B`:o.length=1,s=0,c=0,l=0,i[d]=t;break;case`BN`:i[d]=u().level;break;default:{i[d]=u().level;let e=u().override;e!==`neutral`&&(a[d]=e);break}}}return{levels:i,types:a}}function Ia(e){return e===9001?12296:e===9002?12297:e}function La(e,t,n,r,i,a){let o=e.length,s=[];for(let e=0;e<o;e++)n[e]||s.push(e);let c=[];for(let e=0;e<s.length;e++){let n=s[e];e===0||t[n]!==t[s[e-1]]?c.push([n]):c[c.length-1].push(n)}let l=new Map;for(let e of c)l.set(e[0],e);let u=e=>e&1?`R`:`L`,d=[];for(let s of c){let c=s[0];if(e[c]===`PDI`&&a[c]!==-1)continue;let f=[],p=s;for(;;){for(let e of p)f.push(e);let t=p[p.length-1];if(ka(e[t])&&i[t]!==o){let e=l.get(i[t]);if(e){p=e;continue}}break}let m=t[f[0]],h=r;for(let e=f[0]-1;e>=0;e--)if(!n[e]){h=t[e];break}let g=u(Math.max(m,h)),_=f[f.length-1],v=r;if(!(ka(e[_])&&i[_]===o)){for(let e=_+1;e<o;e++)if(!n[e]){v=t[e];break}}let y=u(Math.max(m,v));d.push({indices:f,level:m,sos:g,eos:y})}return d}const Ra=e=>e===`L`?`L`:e===`R`||e===`EN`||e===`AN`?`R`:null;function za(e,t,n,r,i){let a=e.indices,o=a.length,{sos:s,eos:c,level:l}=e;for(let e=0;e<o;e++){let t=a[e];if(r[t]===`NSM`)if(e===0)r[t]=s;else{let n=r[a[e-1]];r[t]=n===`LRI`||n===`RLI`||n===`FSI`||n===`PDI`?`ON`:n}}{let e=s;for(let t=0;t<o;t++){let n=r[a[t]];n===`R`||n===`L`||n===`AL`?e=n:n===`EN`&&e===`AL`&&(r[a[t]]=`AN`)}}for(let e=0;e<o;e++)r[a[e]]===`AL`&&(r[a[e]]=`R`);for(let e=1;e<o-1;e++){let t=r[a[e]],n=r[a[e-1]],i=r[a[e+1]];t===`ES`&&n===`EN`&&i===`EN`||t===`CS`&&n===`EN`&&i===`EN`?r[a[e]]=`EN`:t===`CS`&&n===`AN`&&i===`AN`&&(r[a[e]]=`AN`)}for(let e=0;e<o;e++){if(r[a[e]]!==`ET`)continue;let t=e;for(;t<o&&r[a[t]]===`ET`;)t++;let n=e>0?r[a[e-1]]:s,i=t<o?r[a[t]]:c;if(n===`EN`||i===`EN`)for(let n=e;n<t;n++)r[a[n]]=`EN`;e=t-1}for(let e=0;e<o;e++){let t=r[a[e]];(t===`ES`||t===`ET`||t===`CS`)&&(r[a[e]]=`ON`)}{let e=s;for(let t=0;t<o;t++){let n=r[a[t]];n===`R`||n===`L`?e=n:n===`EN`&&e===`L`&&(r[a[t]]=`L`)}}let u=l&1?`R`:`L`,d=u===`R`?`L`:`R`,f=[];{let e=[];outer:for(let n=0;n<o;n++){let i=a[n];if(r[i]!==`ON`)continue;let o=Da(t[i]);if(o)if(o.type===`o`){if(e.length===63)break outer;e.push({expect:Ia(o.pair),pos:n})}else{let r=Ia(t[i]);for(let t=e.length-1;t>=0;t--)if(e[t].expect===r){f.push({open:e[t].pos,close:n}),e.length=t;break}}}f.sort((e,t)=>e.open-t.open)}let p=(e,t)=>{for(let i=e+1;i<o&&n[a[i]]===`NSM`;i++)r[a[i]]=t};for(let{open:e,close:t}of f){let n=!1,i=!1;for(let o=e+1;o<t;o++){let e=Ra(r[a[o]]);e===u?n=!0:e===d&&(i=!0)}let o=null;if(n)o=u;else if(i){let t=s;for(let n=e-1;n>=0;n--){let e=Ra(r[a[n]]);if(e){t=e;break}}o=t===d?d:u}o&&(r[a[e]]=o,r[a[t]]=o,p(e,o),p(t,o))}for(let e=0;e<o;e++){if(!Aa(r[a[e]]))continue;let t=e;for(;t<o&&Aa(r[a[t]]);)t++;let n=e>0?Ra(r[a[e-1]]):s,i=t<o?Ra(r[a[t]]):c;if(n&&i&&n===i)for(let i=e;i<t;i++)r[a[i]]=n;e=t-1}for(let e=0;e<o;e++)Aa(r[a[e]])&&(r[a[e]]=u);for(let e=0;e<o;e++){let t=a[e],n=r[t];l&1?(n===`L`||n===`EN`||n===`AN`)&&(i[t]+=1):n===`R`?i[t]+=1:(n===`AN`||n===`EN`)&&(i[t]+=2)}}function Ba(e,t,n){let r=e.length,i=Array(r);for(let t=0;t<r;t++)i[t]=n?.[t]??Ca(e[t]);let a=t===`rtl`?1:t===`ltr`?0:Na(i,0,r),{pdiOf:o,initOf:s}=Pa(i),{levels:c,types:l}=Fa(i,a,o),u=Array(r);for(let e=0;e<r;e++)u[e]=Oa(i[e]);let d=La(i,c,u,a,o,s),f=l.slice();for(let t of d)za(t,e,i,f,c);let p=e=>{let t=i[e];return t===`WS`||ka(t)||t===`PDI`||u[e]};for(let e=0;e<r;e++){let t=i[e];if(t===`B`||t===`S`){c[e]=a;for(let t=e-1;t>=0&&p(t);t--)u[t]||(c[t]=a)}}for(let e=r-1;e>=0&&p(e);e--)u[e]||(c[e]=a);for(let e=0;e<r;e++)u[e]&&(c[e]=-1);return{levels:c,paragraphLevel:a}}function Va(e,t,n){let r=[];for(let i=t;i<n;i++){let t=e[i];t>=0&&t<=126&&r.push(i)}if(r.length===0)return r;let i=0,a=127;for(let t of r){let n=e[t];n>i&&(i=n),n&1&&n<a&&(a=n)}for(let t=i;t>=a;t--){let n=0;for(;n<r.length;)if(e[r[n]]>=t){let i=n+1;for(;i<r.length&&e[r[i]]>=t;)i++;for(let e=n,t=i-1;e<t;e++,t--){let n=r[e];r[e]=r[t],r[t]=n}n=i}else n++}return r}function Ha(e){let t=[],n=[],r=[];for(let i=0;i<e.length;){let a=e.codePointAt(i),o=a>65535?2:1;t.push(a),n.push(o),r.push(i),i+=o}return{cps:t,units:n,starts:r}}var Ua=class{computeLevels(e,t,n){let{cps:r,units:i,starts:a}=Ha(e),{levels:o,paragraphLevel:s}=Ba(r,t,n?r.map((e,t)=>n[a[t]]??null):void 0),c=new Uint8Array(e.length),l=0;for(let e=0;e<o.length;e++){let t=o[e]===-1?255:o[e];for(let n=0;n<i[e];n++)c[l++]=t}return{levels:c,paragraphLevel:s}}reorderVisual(e,t,n){return Va(e,t,n)}getMirror(e){return Ta(e)}};function Wa(){return new Ua}let Ga=null;function Ka(){return Ga===null&&(Ga=Wa()),Ga}function qa(e,t){return e===!0?`rtl`:e===!1?`ltr`:Ka().computeLevels(t,`auto`).paragraphLevel===1?`rtl`:`ltr`}const Ja=/[\\u0590-\\u08FF\\uFB1D-\\uFDFF\\uFE70-\\uFEFF\\u200F\\u202B\\u202E\\u2067]|[\\u{10800}-\\u{10FFF}\\u{1E800}-\\u{1EFFF}]/u;function Ya(e){return Ja.test(e)}function Xa(e,t,n){let r=n.length,i=new Uint8Array(r);for(let a=0;a<r;a++){let r=e[n[a]];i[a]=r===255?t:r}return{order:Ka().reorderVisual(i,0,r),segLevels:i}}function Za(e){let t=new Set;for(let n of e)t.add(n.codePointAt(0));return t}function Qa(e){return{enabled:e?.kinsoku!==!1,lineStartForbidden:Za(e?.noLineBreaksBefore??`”’)〕]}〉》」』】〙〗〟⦆»、。,.・:;/?!‐ー゠–〜~ぁぃぅぇぉっゃゅょゎゕゖァィゥェォッャュョヮヵヶㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ゝゞヽヾ゛゜%‰℃°′″。」、・ー゙゚!),.:;?]}⦆`),lineEndForbidden:Za(e?.noLineBreaksAfter??`“‘(〔[{〈《「『【〘〖〝⦅«$¥#£¢([{⦅`)}}const $a=Qa();function eo(e,t,n,r=1){if(!n.enabled||t<=0||t>=e.length)return t;let i=t=>t<e.length&&n.lineStartForbidden.has(e[t].codePointAt(0)),a=t=>t>=0&&n.lineEndForbidden.has(e[t].codePointAt(0)),o=t;for(;o>r&&(i(o)||a(o-1));)o--;return o<=r&&(i(o)||a(o-1))?t:o}function to(e,t,n){if(!t.enabled)return 0;let r=e.length-n;for(let n=1;n<=r;n++){let r=e[e.length-n];if(/\\s/.test(r)||t.lineStartForbidden.has(r.codePointAt(0)))continue;let i=e[e.length-n-1];if(!(i&&t.lineEndForbidden.has(i.codePointAt(0))))return n}return 0}function no(e){return e>=12288&&e<=40959||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65280&&e<=65519}const ro=`BK.CM.CR.GL.LF.NL.SP.WJ.ZW.ZWJ.AK.AL.AP.AS.B2.BA.BB.CB.CL.CP.EB.EM.EX.H2.H3.HL.HH.HY.ID.IN.IS.JL.JT.JV.NS.NU.OP.PO.PR.QU.RI.SY.VF.VI`.split(`.`),io=[0,9,10,11,13,14,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,58,60,63,64,91,92,93,94,123,124,125,126,127,133,134,160,161,162,163,166,171,172,173,174,176,177,178,180,181,187,188,191,192,712,713,716,717,735,736,768,860,867,880,894,895,1155,1162,1417,1418,1419,1423,1424,1425,1470,1471,1472,1473,1475,1476,1478,1479,1480,1488,1515,1519,1523,1536,1542,1545,1548,1550,1552,1563,1564,1565,1568,1611,1632,1642,1643,1645,1648,1649,1748,1749,1750,1757,1758,1759,1765,1767,1769,1770,1774,1776,1786,1809,1810,1840,1867,1958,1969,1984,1994,2027,2036,2040,2041,2042,2045,2046,2048,2070,2074,2075,2084,2085,2088,2089,2094,2137,2140,2192,2194,2199,2208,2250,2274,2275,2308,2362,2365,2366,2384,2385,2392,2402,2404,2406,2416,2433,2436,2492,2493,2494,2501,2503,2505,2507,2510,2519,2520,2530,2532,2534,2544,2546,2548,2553,2554,2555,2556,2558,2559,2561,2564,2620,2621,2622,2627,2631,2633,2635,2638,2641,2642,2662,2672,2674,2677,2678,2689,2692,2748,2749,2750,2758,2759,2762,2763,2766,2786,2788,2790,2800,2801,2802,2810,2816,2817,2820,2876,2877,2878,2885,2887,2889,2891,2894,2901,2904,2914,2916,2918,2928,2946,2947,3006,3011,3014,3017,3018,3022,3031,3032,3046,3056,3065,3066,3072,3077,3132,3133,3134,3141,3142,3145,3146,3150,3157,3159,3170,3172,3174,3184,3191,3192,3201,3204,3205,3260,3261,3262,3269,3270,3273,3274,3278,3285,3287,3298,3300,3302,3312,3315,3316,3328,3332,3387,3389,3390,3397,3398,3401,3402,3406,3415,3416,3426,3428,3430,3440,3449,3450,3457,3460,3530,3531,3535,3541,3542,3543,3544,3552,3558,3568,3570,3572,3633,3634,3636,3643,3647,3648,3655,3663,3664,3674,3676,3761,3762,3764,3773,3784,3791,3792,3802,3841,3845,3846,3848,3849,3851,3852,3853,3858,3859,3860,3861,3864,3866,3872,3882,3892,3893,3894,3895,3896,3897,3898,3899,3900,3901,3902,3904,3953,3967,3968,3973,3974,3976,3981,3992,3993,4029,4030,4032,4038,4039,4048,4050,4051,4052,4057,4059,4139,4159,4160,4170,4172,4182,4186,4190,4193,4194,4197,4199,4206,4209,4213,4226,4238,4239,4240,4250,4254,4352,4448,4520,4608,4957,4960,4961,4962,5120,5121,5760,5761,5787,5788,5789,5867,5870,5906,5910,5938,5941,5943,5970,5972,6002,6004,6068,6100,6102,6103,6104,6105,6106,6107,6108,6109,6110,6112,6122,6146,6148,6150,6151,6152,6154,6155,6158,6159,6160,6170,6277,6279,6313,6314,6432,6444,6448,6460,6468,6470,6480,6608,6619,6679,6684,6741,6751,6752,6781,6783,6784,6794,6800,6810,6832,6878,6880,6891,6892,6912,6917,6964,6980,6981,6989,6990,6992,7002,7004,7005,7009,7019,7028,7037,7040,7043,7073,7086,7088,7098,7104,7142,7154,7156,7204,7224,7227,7232,7242,7248,7258,7294,7296,7376,7379,7380,7401,7405,7406,7412,7413,7415,7418,7616,7629,7630,7676,7677,7680,8189,8190,8192,8199,8200,8203,8204,8205,8206,8208,8209,8210,8212,8213,8216,8218,8219,8222,8223,8224,8228,8231,8232,8234,8239,8240,8248,8249,8251,8252,8254,8260,8261,8262,8263,8266,8278,8279,8280,8284,8285,8288,8289,8294,8304,8317,8318,8319,8333,8334,8335,8352,8359,8360,8374,8375,8379,8380,8382,8383,8384,8385,8400,8433,8451,8452,8457,8458,8470,8471,8722,8724,8943,8944,8968,8969,8970,8971,8972,8986,8988,9001,9002,9003,9200,9204,9728,9732,9748,9750,9752,9753,9754,9757,9758,9760,9785,9788,9832,9833,9855,9856,9917,9929,9933,9934,9935,9938,9939,9941,9944,9946,9948,9949,9951,9954,9962,9963,9969,9974,9975,9977,9978,9979,9981,9989,9992,9994,9998,10075,10081,10082,10084,10085,10088,10089,10090,10091,10092,10093,10094,10095,10096,10097,10098,10099,10100,10101,10102,10181,10182,10183,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10240,10241,10627,10628,10629,10630,10631,10632,10633,10634,10635,10636,10637,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647,10648,10649,10712,10713,10714,10715,10716,10748,10749,10750,11503,11506,11513,11514,11517,11518,11519,11520,11632,11633,11647,11648,11744,11776,11790,11798,11799,11800,11801,11802,11804,11806,11808,11810,11811,11812,11813,11814,11815,11816,11817,11818,11822,11823,11824,11826,11827,11829,11834,11836,11839,11840,11841,11842,11843,11851,11852,11853,11854,11856,11859,11861,11862,11863,11864,11865,11866,11867,11868,11869,11870,11904,11930,11931,12020,12032,12246,12272,12288,12289,12291,12293,12294,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,12306,12308,12309,12310,12311,12312,12313,12314,12315,12316,12317,12318,12320,12330,12336,12341,12342,12347,12349,12352,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12387,12388,12419,12420,12421,12422,12423,12424,12430,12431,12437,12439,12441,12443,12447,12448,12450,12451,12452,12453,12454,12455,12456,12457,12458,12483,12484,12515,12516,12517,12518,12519,12520,12526,12527,12533,12535,12539,12543,12544,12549,12592,12593,12687,12688,12774,12783,12784,12800,12831,12832,12872,12880,19904,19968,40981,40982,42125,42128,42183,42238,42240,42509,42510,42511,42512,42528,42538,42607,42611,42612,42622,42654,42656,42736,42738,42739,42744,43010,43011,43014,43015,43019,43020,43043,43048,43052,43053,43064,43065,43124,43126,43128,43136,43138,43188,43206,43214,43216,43226,43232,43250,43260,43261,43263,43264,43274,43302,43310,43312,43335,43348,43360,43389,43392,43396,43443,43456,43457,43463,43466,43470,43471,43472,43482,43486,43488,43493,43494,43504,43514,43520,43561,43575,43584,43587,43588,43596,43598,43600,43610,43612,43613,43616,43643,43646,43696,43697,43698,43701,43703,43705,43710,43712,43713,43714,43755,43760,43762,43765,43767,44003,44011,44012,44014,44016,44026,44032,44033,44060,44061,44088,44089,44116,44117,44144,44145,44172,44173,44200,44201,44228,44229,44256,44257,44284,44285,44312,44313,44340,44341,44368,44369,44396,44397,44424,44425,44452,44453,44480,44481,44508,44509,44536,44537,44564,44565,44592,44593,44620,44621,44648,44649,44676,44677,44704,44705,44732,44733,44760,44761,44788,44789,44816,44817,44844,44845,44872,44873,44900,44901,44928,44929,44956,44957,44984,44985,45012,45013,45040,45041,45068,45069,45096,45097,45124,45125,45152,45153,45180,45181,45208,45209,45236,45237,45264,45265,45292,45293,45320,45321,45348,45349,45376,45377,45404,45405,45432,45433,45460,45461,45488,45489,45516,45517,45544,45545,45572,45573,45600,45601,45628,45629,45656,45657,45684,45685,45712,45713,45740,45741,45768,45769,45796,45797,45824,45825,45852,45853,45880,45881,45908,45909,45936,45937,45964,45965,45992,45993,46020,46021,46048,46049,46076,46077,46104,46105,46132,46133,46160,46161,46188,46189,46216,46217,46244,46245,46272,46273,46300,46301,46328,46329,46356,46357,46384,46385,46412,46413,46440,46441,46468,46469,46496,46497,46524,46525,46552,46553,46580,46581,46608,46609,46636,46637,46664,46665,46692,46693,46720,46721,46748,46749,46776,46777,46804,46805,46832,46833,46860,46861,46888,46889,46916,46917,46944,46945,46972,46973,47e3,47001,47028,47029,47056,47057,47084,47085,47112,47113,47140,47141,47168,47169,47196,47197,47224,47225,47252,47253,47280,47281,47308,47309,47336,47337,47364,47365,47392,47393,47420,47421,47448,47449,47476,47477,47504,47505,47532,47533,47560,47561,47588,47589,47616,47617,47644,47645,47672,47673,47700,47701,47728,47729,47756,47757,47784,47785,47812,47813,47840,47841,47868,47869,47896,47897,47924,47925,47952,47953,47980,47981,48008,48009,48036,48037,48064,48065,48092,48093,48120,48121,48148,48149,48176,48177,48204,48205,48232,48233,48260,48261,48288,48289,48316,48317,48344,48345,48372,48373,48400,48401,48428,48429,48456,48457,48484,48485,48512,48513,48540,48541,48568,48569,48596,48597,48624,48625,48652,48653,48680,48681,48708,48709,48736,48737,48764,48765,48792,48793,48820,48821,48848,48849,48876,48877,48904,48905,48932,48933,48960,48961,48988,48989,49016,49017,49044,49045,49072,49073,49100,49101,49128,49129,49156,49157,49184,49185,49212,49213,49240,49241,49268,49269,49296,49297,49324,49325,49352,49353,49380,49381,49408,49409,49436,49437,49464,49465,49492,49493,49520,49521,49548,49549,49576,49577,49604,49605,49632,49633,49660,49661,49688,49689,49716,49717,49744,49745,49772,49773,49800,49801,49828,49829,49856,49857,49884,49885,49912,49913,49940,49941,49968,49969,49996,49997,50024,50025,50052,50053,50080,50081,50108,50109,50136,50137,50164,50165,50192,50193,50220,50221,50248,50249,50276,50277,50304,50305,50332,50333,50360,50361,50388,50389,50416,50417,50444,50445,50472,50473,50500,50501,50528,50529,50556,50557,50584,50585,50612,50613,50640,50641,50668,50669,50696,50697,50724,50725,50752,50753,50780,50781,50808,50809,50836,50837,50864,50865,50892,50893,50920,50921,50948,50949,50976,50977,51004,51005,51032,51033,51060,51061,51088,51089,51116,51117,51144,51145,51172,51173,51200,51201,51228,51229,51256,51257,51284,51285,51312,51313,51340,51341,51368,51369,51396,51397,51424,51425,51452,51453,51480,51481,51508,51509,51536,51537,51564,51565,51592,51593,51620,51621,51648,51649,51676,51677,51704,51705,51732,51733,51760,51761,51788,51789,51816,51817,51844,51845,51872,51873,51900,51901,51928,51929,51956,51957,51984,51985,52012,52013,52040,52041,52068,52069,52096,52097,52124,52125,52152,52153,52180,52181,52208,52209,52236,52237,52264,52265,52292,52293,52320,52321,52348,52349,52376,52377,52404,52405,52432,52433,52460,52461,52488,52489,52516,52517,52544,52545,52572,52573,52600,52601,52628,52629,52656,52657,52684,52685,52712,52713,52740,52741,52768,52769,52796,52797,52824,52825,52852,52853,52880,52881,52908,52909,52936,52937,52964,52965,52992,52993,53020,53021,53048,53049,53076,53077,53104,53105,53132,53133,53160,53161,53188,53189,53216,53217,53244,53245,53272,53273,53300,53301,53328,53329,53356,53357,53384,53385,53412,53413,53440,53441,53468,53469,53496,53497,53524,53525,53552,53553,53580,53581,53608,53609,53636,53637,53664,53665,53692,53693,53720,53721,53748,53749,53776,53777,53804,53805,53832,53833,53860,53861,53888,53889,53916,53917,53944,53945,53972,53973,54e3,54001,54028,54029,54056,54057,54084,54085,54112,54113,54140,54141,54168,54169,54196,54197,54224,54225,54252,54253,54280,54281,54308,54309,54336,54337,54364,54365,54392,54393,54420,54421,54448,54449,54476,54477,54504,54505,54532,54533,54560,54561,54588,54589,54616,54617,54644,54645,54672,54673,54700,54701,54728,54729,54756,54757,54784,54785,54812,54813,54840,54841,54868,54869,54896,54897,54924,54925,54952,54953,54980,54981,55008,55009,55036,55037,55064,55065,55092,55093,55120,55121,55148,55149,55176,55177,55204,55216,55239,55243,55292,63744,64256,64285,64286,64287,64297,64298,64311,64312,64317,64318,64319,64320,64322,64323,64325,64326,64336,64830,64831,64832,65020,65021,65024,65040,65043,65045,65047,65048,65049,65050,65056,65057,65058,65059,65060,65061,65062,65064,65065,65066,65067,65068,65069,65071,65072,65077,65078,65079,65080,65081,65082,65083,65084,65085,65086,65087,65088,65089,65090,65091,65092,65093,65095,65096,65097,65104,65105,65106,65107,65108,65110,65112,65113,65114,65115,65116,65117,65118,65119,65127,65128,65129,65130,65131,65132,65279,65280,65281,65282,65284,65285,65286,65288,65289,65290,65292,65293,65294,65295,65306,65308,65311,65312,65339,65340,65341,65342,65371,65372,65373,65374,65375,65376,65378,65379,65381,65382,65383,65393,65438,65440,65471,65474,65480,65482,65488,65490,65496,65498,65501,65504,65505,65506,65509,65511,65529,65532,65533,65792,65795,66045,66046,66272,66273,66422,66427,66463,66464,66512,66513,66720,66730,67671,67672,67871,67872,68097,68100,68101,68103,68108,68112,68152,68155,68159,68160,68176,68184,68325,68327,68336,68342,68343,68409,68416,68900,68904,68912,68922,68928,68938,68969,68974,68975,69291,69293,69294,69328,69329,69370,69376,69446,69457,69506,69510,69632,69635,69637,69688,69702,69703,69705,69710,69714,69734,69744,69745,69747,69749,69750,69759,69760,69763,69808,69819,69821,69822,69826,69827,69837,69838,69872,69882,69888,69891,69927,69941,69942,69952,69956,69957,69959,70003,70004,70005,70006,70016,70019,70067,70081,70085,70087,70088,70089,70093,70094,70096,70106,70107,70108,70109,70112,70188,70200,70202,70203,70205,70206,70207,70209,70210,70313,70314,70367,70379,70384,70394,70400,70404,70405,70413,70415,70417,70419,70441,70442,70449,70450,70452,70453,70458,70459,70461,70462,70469,70471,70473,70475,70477,70478,70480,70481,70487,70488,70493,70494,70496,70498,70500,70502,70509,70512,70517,70528,70538,70539,70540,70542,70543,70544,70546,70582,70583,70584,70593,70594,70595,70597,70598,70599,70603,70604,70608,70609,70610,70611,70614,70615,70617,70625,70627,70709,70727,70731,70735,70736,70746,70748,70750,70751,70832,70852,70864,70874,71087,71094,71096,71105,71106,71108,71110,71113,71128,71132,71134,71216,71233,71235,71248,71258,71264,71277,71339,71352,71360,71370,71376,71396,71453,71468,71472,71482,71484,71487,71724,71739,71904,71914,71936,71943,71945,71946,71948,71956,71957,71959,71960,71984,71990,71991,71993,71995,71998,71999,72e3,72001,72002,72004,72007,72016,72026,72145,72152,72154,72161,72162,72163,72164,72165,72193,72203,72243,72250,72251,72255,72256,72257,72261,72262,72263,72264,72273,72284,72330,72346,72349,72350,72353,72355,72448,72458,72544,72552,72688,72698,72751,72759,72760,72768,72769,72774,72784,72794,72816,72817,72818,72850,72872,72873,72887,73009,73015,73018,73019,73020,73022,73023,73030,73031,73032,73040,73050,73098,73103,73104,73106,73107,73112,73120,73130,73184,73194,73440,73458,73459,73463,73465,73472,73474,73475,73476,73489,73490,73524,73531,73534,73538,73539,73541,73552,73562,73563,73693,73697,73727,73728,74864,74869,78424,78427,78430,78466,78467,78470,78471,78472,78473,78474,78713,78714,78716,78895,78896,78903,78904,78905,78908,78909,78910,78911,78912,78913,78919,78934,83406,83407,83408,90368,90398,90416,90426,92768,92778,92782,92784,92864,92874,92912,92917,92918,92976,92983,92986,92996,92997,93008,93018,93550,93552,93562,93847,93849,94031,94032,94033,94088,94095,94099,94176,94180,94181,94192,94194,94196,94199,94208,101120,101632,101663,101760,101875,110592,110883,110898,110899,110928,110931,110933,110934,110948,110952,110960,111356,113821,113823,113824,113828,118e3,118010,118528,118574,118576,118599,119141,119146,119149,119171,119173,119180,119210,119214,119362,119365,120782,120832,121344,121399,121403,121453,121461,121462,121476,121477,121479,121483,121499,121504,121505,121520,122880,122887,122888,122905,122907,122914,122915,122917,122918,122923,123023,123024,123184,123191,123200,123210,123566,123567,123628,123632,123642,123647,123648,124140,124144,124154,124398,124400,124401,124411,124643,124644,124646,124647,124654,124656,124661,124662,125136,125143,125252,125259,125264,125274,125278,125280,126124,126125,126128,126129,126976,127232,127406,127462,127488,127877,127878,127900,127902,127925,127927,127932,127933,127938,127941,127943,127944,127946,127949,127995,128e3,128066,128068,128070,128081,128102,128121,128124,128125,128129,128132,128133,128136,128143,128144,128145,128146,128160,128161,128162,128163,128164,128165,128170,128171,128175,128176,128177,128179,128256,128263,128279,128293,128306,128330,128372,128374,128378,128379,128400,128401,128405,128407,128468,128476,128500,128506,128581,128584,128587,128592,128630,128633,128636,128640,128675,128676,128692,128695,128704,128705,128716,128717,128768,128884,128887,128891,128896,128981,129024,129292,129293,129295,129296,129304,129312,129318,129319,129328,129338,129340,129343,129399,129400,129461,129463,129464,129466,129467,129468,129485,129488,129489,129502,129536,129624,129731,129734,129776,129785,129792,130032,130042,130048,131070,131072,196606,196608,262142,917505,917506,917536,917632,917760,918e3],ao=[1,15,4,0,2,1,6,22,39,11,38,37,11,39,36,19,11,38,30,27,30,41,35,30,11,22,11,36,38,19,11,36,15,18,11,1,5,1,3,36,37,38,11,39,11,15,11,37,38,11,16,11,39,11,36,11,16,11,16,11,16,11,1,3,1,11,30,11,1,11,30,26,11,38,11,1,26,1,11,1,11,1,22,1,11,25,11,25,11,35,11,37,30,11,1,22,1,22,11,1,35,37,35,11,1,11,22,11,1,35,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,35,11,1,11,30,22,11,1,38,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,35,1,11,1,11,1,11,1,11,1,15,35,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,37,11,37,11,38,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,38,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,1,11,1,11,35,11,38,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,16,11,1,16,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,37,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,38,11,1,11,35,15,11,1,11,1,11,1,11,35,11,16,11,16,3,16,15,3,22,3,11,22,11,1,11,35,11,15,1,11,1,11,1,36,18,36,18,1,11,1,15,1,15,1,11,1,11,1,11,15,11,1,11,16,15,16,11,3,11,1,11,35,15,11,1,11,1,11,1,11,1,11,1,11,1,11,1,35,1,11,31,33,32,11,1,11,15,11,26,11,15,11,36,18,11,15,11,1,11,1,15,11,1,11,1,11,1,15,34,11,15,11,15,38,11,1,11,35,11,22,15,16,11,22,11,1,3,1,35,11,1,11,1,11,1,11,1,11,22,35,11,35,11,1,11,1,11,1,11,1,35,11,35,11,1,11,1,3,11,1,10,1,43,10,11,15,13,15,28,15,28,1,28,15,1,11,1,11,35,11,13,1,42,11,1,11,15,35,11,35,11,15,11,1,11,1,11,1,11,1,11,1,11,1,3,1,3,1,11,16,11,15,3,15,8,1,9,1,26,3,26,14,11,39,36,39,36,39,11,29,15,0,1,3,37,11,39,11,34,11,30,36,18,34,11,15,37,15,11,15,7,11,1,11,36,18,11,36,18,11,38,37,38,37,38,37,38,37,38,37,38,1,11,37,11,37,11,38,11,38,11,29,11,36,18,36,18,11,28,11,36,18,11,28,11,28,11,28,11,28,11,28,20,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,11,28,20,28,11,28,11,28,20,11,39,11,22,28,11,36,18,36,18,36,18,36,18,36,18,36,18,36,18,11,36,18,11,36,18,36,18,36,18,36,18,36,18,11,15,11,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,11,36,18,36,18,11,36,18,11,1,11,22,15,11,22,15,11,15,11,1,11,1,39,15,11,26,36,15,11,39,11,39,36,18,36,18,36,18,36,18,15,22,11,15,11,15,11,14,15,11,26,15,36,15,11,15,11,15,11,22,36,19,36,19,36,19,36,19,26,11,28,11,28,11,28,11,28,15,18,28,34,28,36,18,36,18,36,18,36,18,36,18,28,36,18,36,18,36,18,36,18,34,36,18,28,1,28,1,28,34,28,11,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,11,1,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,34,28,11,28,11,28,11,28,11,28,34,28,11,28,11,28,11,28,34,28,11,28,11,15,11,15,22,15,11,35,11,1,11,1,11,1,11,1,11,15,11,1,11,1,11,1,11,1,11,1,11,37,11,16,22,11,1,11,1,11,15,35,11,1,11,16,11,1,35,11,1,15,11,1,11,31,11,1,10,1,43,28,15,28,11,15,13,11,28,11,1,11,35,11,13,1,11,15,1,15,1,11,13,11,28,15,11,1,11,1,11,1,11,1,11,1,11,1,11,1,15,11,1,11,1,15,1,11,35,11,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,23,24,11,33,11,32,11,28,11,25,1,25,11,25,11,25,11,25,11,25,11,25,11,25,11,18,36,11,37,11,1,18,34,22,36,18,29,11,3,1,3,1,3,1,3,1,3,1,3,1,3,1,28,36,18,36,18,36,18,36,18,36,18,36,18,36,18,36,18,28,36,18,28,18,28,18,11,34,22,28,36,18,36,18,36,18,28,11,28,38,37,28,11,7,11,22,28,38,37,28,36,18,28,18,28,18,28,34,28,22,28,36,28,18,28,36,28,18,28,36,18,36,18,34,28,34,28,34,28,11,28,11,28,11,28,11,28,11,37,38,28,38,11,1,17,11,15,11,1,11,1,11,1,11,15,11,15,11,35,11,15,11,15,11,1,11,1,11,1,11,1,11,1,11,15,11,1,11,15,29,11,15,11,1,11,35,11,35,11,1,26,11,1,26,11,15,11,1,11,1,11,1,11,1,12,10,1,43,15,28,11,28,13,1,10,1,10,11,3,1,11,1,11,35,15,1,11,35,11,35,11,1,11,1,11,35,15,11,1,11,1,11,16,11,1,11,1,11,15,11,15,1,11,1,35,11,16,11,15,11,1,15,11,15,11,1,11,1,11,15,11,1,11,35,11,1,11,10,11,10,11,10,11,10,11,10,11,10,11,1,15,1,11,1,11,1,43,11,13,11,1,11,15,13,10,1,11,1,11,1,11,13,11,13,11,13,11,13,10,11,28,1,11,1,11,1,11,1,11,1,43,12,1,28,11,28,11,1,11,1,11,15,11,35,15,11,1,11,1,11,35,11,1,11,1,16,15,22,11,15,11,1,11,1,15,11,35,11,16,11,1,11,35,11,35,11,1,11,35,11,15,11,1,11,35,11,10,11,10,11,10,11,10,11,10,1,11,1,11,1,43,12,1,12,1,15,11,13,11,1,11,1,11,16,11,1,11,1,11,1,11,1,16,11,15,16,11,1,11,1,11,1,15,11,16,15,11,16,11,1,11,35,11,1,11,1,11,15,11,35,11,16,22,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,35,11,35,11,13,15,1,15,11,1,12,1,10,11,10,1,11,1,43,15,28,13,1,11,37,11,15,11,15,11,36,18,11,18,11,36,18,36,18,11,36,18,11,36,3,36,18,3,36,18,36,18,1,11,1,11,36,18,11,13,1,13,11,35,11,15,11,35,11,1,15,11,1,15,11,15,11,35,11,15,35,11,15,11,1,11,1,11,1,11,34,3,11,1,34,28,11,28,11,28,11,28,11,28,11,34,11,34,11,34,11,34,11,28,11,1,15,1,11,35,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,11,1,11,1,11,15,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,1,11,1,35,11,38,11,1,35,11,1,11,35,11,1,11,1,11,1,11,1,11,1,11,1,11,35,11,36,11,37,11,37,11,28,11,28,40,28,20,28,11,28,11,28,11,28,20,28,20,28,20,28,21,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,11,28,11,28,11,28,20,28,11,28,11,28,11,28,11,28,11,28,20,28,20,28,20,28,20,28,11,28,11,28,20,28,20,11,39,34,11,28,20,28,20,28,20,28,20,28,11,28,11,28,11,28,11,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,20,28,11,28,20,28,20,28,11,35,11,28,11,28,11,28,11,1,11,1,11,1,11],oo=[4352,8361,8986,9001,9193,9200,9203,9725,9748,9776,9800,9855,9866,9875,9889,9898,9917,9924,9934,9940,9962,9970,9973,9978,9981,9989,9994,10024,10060,10062,10067,10071,10133,10160,10175,11035,11088,11093,11904,11931,12032,12272,12353,12441,12549,12593,12688,12783,12832,12880,42128,43360,44032,63744,65040,65072,65108,65128,65281,65474,65482,65490,65498,65504,65512,94176,94192,94208,101631,101760,110576,110581,110589,110592,110898,110928,110933,110948,110960,119552,119648,126980,127183,127374,127377,127488,127504,127552,127568,127584,127744,127789,127799,127870,127904,127951,127968,127988,127992,128064,128066,128255,128331,128336,128378,128405,128420,128507,128640,128716,128720,128725,128732,128747,128756,128992,129008,129292,129340,129351,129648,129664,129678,129736,129741,129759,129775,131072,196608],so=[4448,8362,8988,9003,9197,9201,9204,9727,9750,9784,9812,9856,9872,9876,9890,9900,9919,9926,9935,9941,9963,9972,9974,9979,9982,9990,9996,10025,10061,10063,10070,10072,10136,10161,10176,11037,11089,11094,11930,12020,12246,12351,12439,12544,12592,12687,12774,12831,12872,42125,42183,43389,55204,64256,65050,65107,65127,65132,65471,65480,65488,65496,65501,65511,65519,94181,94199,101590,101663,101875,110580,110588,110591,110883,110899,110931,110934,110952,111356,119639,119671,126981,127184,127375,127387,127491,127548,127561,127570,127590,127777,127798,127869,127892,127947,127956,127985,127989,128063,128065,128253,128318,128335,128360,128379,128407,128421,128592,128710,128717,128723,128729,128736,128749,128765,129004,129009,129339,129350,129536,129661,129675,129735,129737,129757,129771,129785,196606,262142];function co(e){let t=0,n=io.length-1;for(;t<n;){let r=t+n+1>>1;io[r]<=e?t=r:n=r-1}return ro[ao[t]]}function lo(e){let t=0,n=oo.length-1;if(n<0||e<oo[0])return!1;for(;t<n;){let r=t+n+1>>1;oo[r]<=e?t=r:n=r-1}return e<so[t]}function uo(e,t){let n=co(e);if(n===`OP`)return!0;let r=co(t),i=n===`AL`||n===`HL`,a=r===`AL`||r===`HL`;return!!(i&&(a||r===`NU`||r===`PR`||r===`PO`)||a&&(n===`NU`||n===`PR`||n===`PO`)||n===`PR`&&(r===`ID`||r===`EB`||r===`EM`)||(n===`ID`||n===`EB`||n===`EM`)&&r===`PO`||n===`NU`&&(r===`NU`||r===`PO`||r===`PR`)||r===`NU`&&(n===`PO`||n===`PR`||n===`HY`||n===`IS`)||(i||n===`NU`)&&r===`OP`&&!lo(t)||n===`CP`&&!lo(e)&&(a||r===`NU`))}function fo(e){return e===`my`||e===`bo`}function po(e){return e>=3584&&e<=3711||e>=3712&&e<=3839||e>=6016&&e<=6143||e>=4096&&e<=4255||e>=43616&&e<=43647||e>=43488&&e<=43519||e>=3840&&e<=4095}function mo(e){return e===3633||e>=3635&&e<=3642||e>=3655&&e<=3662||e===3761||e>=3763&&e<=3772||e>=3784&&e<=3790||e>=6068&&e<=6099||e===6109}function ho(e){return e<=3711?`th`:e<=3839?`lo`:e<=4095?`bo`:e<=4255?`my`:e<=6143?`km`:`my`}function go(e){for(let t of e)if(po(t.codePointAt(0)))return!0;return!1}function _o(e){for(let t of e){let e=t.codePointAt(0);if(po(e))return fo(ho(e))}return!1}function vo(e){let t=!1;for(let n of e){let e=n.codePointAt(0);if(po(e)){if(fo(ho(e)))return!1;t=!0}}return t}const yo=new Map;function bo(e){let t=yo.get(e);if(t!==void 0)return t;let n=null;try{typeof Intl<`u`&&typeof Intl.Segmenter==`function`&&(n=new Intl.Segmenter(e,{granularity:`word`}))}catch{n=null}return yo.set(e,n),n}function xo(e){let t=bo(e);return t?e=>t.segment(e):null}function So(e){if(!go(e))return[];let t=[],n=e.length,r=0;for(;r<n;){let i=e.codePointAt(r),a=i>65535?2:1;if(!po(i)){r+=a;continue}let o=ho(i),s=fo(o),c=r+a;for(;c<n;){let t=e.codePointAt(c);if(!po(t)||fo(ho(t))!==s)break;c+=t>65535?2:1}let l=e.slice(r,c);if(s)for(let e of Ao(l))t.push(r+e);else{let e=xo(o);if(e){let n=[];try{for(let t of e(l))t.index>0&&(t.isWordLike??!0)&&n.push(r+t.index);for(let e of n)t.push(e)}catch{}}}r=c}return t}function Co(e){if(!go(e))return[];let t=[],n=e.length,r=e.codePointAt(0),i=r>65535?2:1;for(;i<n;){let n=e.codePointAt(i),a=n>65535?2:1;po(r)!==po(n)&&!wo(r)&&!wo(n)&&t.push(i),r=n,i+=a}return t}function wo(e){return e===32||e===9||e===10||e===13||e===12288||e===160||e===8199||e===8239||e===8288||e===65279}function To(e,t){if(!go(e))return[];let n=e.length,r=new Set(So(e)),i=new Set(Ao(e)),a=e=>{i.has(e)&&r.add(e)};for(let t of Co(e))a(t);if(t?.cjk){let t=e.codePointAt(0),r=t>65535?2:1;for(;r<n;){let n=e.codePointAt(r);(no(n)||no(t))&&a(r),t=n,r+=n>65535?2:1}}let o=t?.kinsoku,s=o!=null&&o.enabled!==!1,c=[];for(let t of r)if(!(t<=0||t>=n)){if(s){let n=e.codePointAt(t),r=Eo(e,t);if(r!==void 0&&o.lineEndForbidden.has(r)||o.lineStartForbidden.has(n))continue}c.push(t)}return c.sort((e,t)=>e-t),c}function Eo(e,t){if(t<=0)return;let n=e.charCodeAt(t-1);if(n>=56320&&n<=57343&&t>=2){let n=e.charCodeAt(t-2);if(n>=55296&&n<=56319)return e.codePointAt(t-2)}return n}function Do(e,t,n,r,i,a=!1){let o=e.length;if(n>=o)return n;if(a){if(i(e.slice(n,o))<=r)return o;let a=0,s=t.length-1,c=n;for(;a<=s;){let l=a+s>>1,u=t[l];u<=n?a=l+1:u>=o?s=l-1:i(e.slice(n,u))<=r?(c=u,a=l+1):s=l-1}return c}let s=n;for(let a of t)a<=n||a>=o||i(e.slice(n,a))<=r&&(s=a);return i(e.slice(n,o))<=r&&(s=o),s}let Oo;function ko(){if(Oo!==void 0)return Oo;let e=null;try{typeof Intl<`u`&&typeof Intl.Segmenter==`function`&&(e=new Intl.Segmenter(void 0,{granularity:`grapheme`}))}catch{e=null}return Oo=e,e}function Ao(e){let t=ko();if(t)try{let n=[];for(let r of t.segment(e))r.index>0&&n.push(r.index);return n}catch{}let n=[];for(let t=0;t<e.length;){let r=e.codePointAt(t);t+=r>65535?2:1,t<e.length&&n.push(t)}return n}const jo=[`U`,`R`,`Tu`,`Tr`],Mo=[0,167,168,169,170,174,175,177,178,188,191,215,216,247,248,746,748,4352,4608,5121,5760,6320,6400,8214,8215,8216,8218,8220,8222,8224,8226,8240,8242,8251,8253,8258,8259,8263,8266,8273,8274,8293,8294,8413,8417,8418,8421,8448,8450,8451,8458,8463,8464,8467,8469,8470,8472,8478,8484,8485,8486,8487,8488,8489,8490,8494,8495,8501,8512,8517,8523,8524,8526,8527,8586,8588,8592,8734,8735,8756,8758,8960,8968,8972,8992,8996,9001,9003,9004,9085,9115,9150,9166,9167,9168,9169,9180,9186,9251,9252,9472,9632,9754,9760,10088,10102,10132,11026,11056,11088,11098,11159,11160,11192,11218,11219,11244,11248,11264,11856,11858,11904,12289,12291,12296,12306,12308,12320,12336,12337,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12387,12388,12419,12420,12421,12422,12423,12424,12430,12431,12437,12439,12443,12445,12448,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12483,12484,12515,12516,12517,12518,12519,12520,12526,12527,12533,12535,12540,12541,12583,12584,12724,12728,12731,12732,12784,12800,13055,13144,13179,13184,42192,43360,43392,44032,55296,57344,64256,65040,65056,65072,65097,65104,65107,65112,65113,65119,65123,65127,65136,65281,65282,65288,65290,65292,65293,65294,65295,65306,65308,65311,65312,65339,65340,65341,65342,65343,65344,65371,65377,65504,65507,65508,65512,65520,65529,65532,65534,67968,68e3,71040,71168,72192,72384,77824,83584,94176,101888,110576,110898,110899,110928,110931,110933,110934,110948,110952,111360,118464,118736,118784,119296,119520,119680,120832,121520,126976,127488,127490,129024,129280,129792,131072,196606,196608,262142,983040,1048574,1048576,1114110],No=[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,3,1,3,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,3,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,2,0,3,0,3,0,3,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,0,2,0,2,0,2,0,2,0,2,0,2,0,1,0,1,0,1,0,1,0,1,0,1,2,0,1,3,0,1,0,1,2,0,3,0,2,1,2,0,3,1,2,0,3,0,3,0,3,0,3,1,0,3,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,2,0,2,0,2,0,2,0,1,0,1,0,1,0,1,0,1,0,2,0,1,0,1,0,1,0,1,0,1,0,1];function Po(e){let t=0,n=Mo.length-1;for(;t<n;){let r=t+n+1>>1;Mo[r]<=e?t=r:n=r-1}return No[t]}function Fo(e){return jo[Po(e)]}function Io(e){return Lo.get(e)??null}const Lo=new Map([[65292,65040],[12289,65041],[12290,65042]]);function Ro(e){return zo.get(e)??null}const zo=new Map([[65288,65077],[65289,65078],[65371,65079],[65373,65080],[12308,65081],[12309,65082],[12304,65083],[12305,65084],[12298,65085],[12299,65086],[12296,65087],[12297,65088],[12300,65089],[12301,65090],[12302,65091],[12303,65092],[12310,65047],[12311,65048]]),Bo=new Set([65307]);function Vo(e){return Bo.has(e)}const Ho=new WeakMap;function Uo(e){return typeof HTMLCanvasElement>`u`?null:e.canvas instanceof HTMLCanvasElement?e.canvas:null}function Wo(e,t){return e.replace(/(^|\\s)\\d*\\.?\\d+(?:px|pt|pc|in|cm|mm|q|em|rem|%)(?:\\/[^\\s]+)?(?=\\s)/i,`$1${t}`)}function Go(e,t=!0){let n=e.trim();return[...n===``||n.toLowerCase()===`normal`?[]:n.split(`,`).map(e=>e.trim()).filter(e=>!/^([\"'])vert\\1(?:\\s+(?:on|off|\\d+))?$/i.test(e)),`\"vert\" ${+!!t}`].join(`, `)}function Ko(e){try{let t=e.ownerDocument?.defaultView,n=t?.getComputedStyle?t.getComputedStyle(e):typeof getComputedStyle==`function`?getComputedStyle(e):null;if(n?.fontFeatureSettings)return n.fontFeatureSettings}catch{}return e.style.fontFeatureSettings}function qo(e){let t=Ho.get(e);if(t)return t;let n=e.createElement(`canvas`);n.width=256,n.height=256,n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,{position:`fixed`,left:`-99999px`,top:`0`,opacity:`0`,pointerEvents:`none`});let r={canvas:n,cache:new Map,epoch:0},i=()=>{r.epoch+=1,r.cache.clear()};return e.fonts?.addEventListener?.(`loadingdone`,i),e.fonts?.addEventListener?.(`loadingerror`,i),Ho.set(e,r),r}function Jo(e,t){let{width:n,height:r}=e.canvas,i=e.getImageData(0,0,n,r).data,a=new Uint8ClampedArray(n*r),o=n,s=r,c=-1,l=-1,u=0,d=0,f=0;for(let e=0;e<r;e+=1)for(let t=0;t<n;t+=1){let r=i[(e*n+t)*4+3];a[e*n+t]=r,r!==0&&(o=Math.min(o,t),s=Math.min(s,e),c=Math.max(c,t),l=Math.max(l,e),u+=r,d+=t*r,f+=e*r)}if(c<o||l<s||u===0)return null;let p=e.measureText(t),m=e=>typeof e==`number`&&Number.isFinite(e)?e:0;return{alpha:a,geometry:[o,s,c,l,d/u,f/u],metrics:[m(p.width),m(p.actualBoundingBoxLeft),m(p.actualBoundingBoxRight),m(p.actualBoundingBoxAscent),m(p.actualBoundingBoxDescent)]}}function Yo(e,t,n){let r=e.canvas;r.style.fontFeatureSettings=n,e.font=e.font,e.clearRect(0,0,r.width,r.height);let i=String.fromCodePoint(t);return e.fillText(i,r.width/2,r.height/2),Jo(e,i)}function Xo(e,t){let n=0,r=Math.min(e.length,t.length);for(let i=0;i<r;i+=1)n+=Math.abs(e[i]-t[i]);return n}function Zo(e,t,n,r){let i=(e,t,n,r)=>{let i=Math.max(Xo(e,t),Xo(n,r));return Math.min(Xo(e,n),Xo(e,r),Xo(t,n),Xo(t,r))>i};return i(e.alpha,t.alpha,n.alpha,r.alpha)||i(e.geometry,t.geometry,n.geometry,r.geometry)||i(e.metrics,t.metrics,n.metrics,r.metrics)}function Qo(e,t){let n=Uo(e);if(n===null||typeof document>`u`)return!1;let r=n.ownerDocument??document,i=qo(r),a=Ko(n),o=`${i.epoch}:${Wo(e.font,`<size>`)}:${a}:${t}`,s=i.cache.get(o);if(s!==void 0)return s;let c=!1,l=r.body??r.documentElement;if(!l)return!1;let u=i.canvas.isConnected;u||l.appendChild(i.canvas);let d=i.canvas.getContext(`2d`,{willReadFrequently:!0});if(d!==null){let n=i.canvas.style.fontFeatureSettings;try{d.font=Wo(e.font,`200px`),d.fillStyle=`#000`,d.textAlign=`center`,d.textBaseline=`middle`;let n=Go(a,!1),r=Go(a,!0),i=Yo(d,t,n),o=Yo(d,t,n),s=Yo(d,t,r),l=Yo(d,t,r);c=i!==null&&o!==null&&s!==null&&l!==null&&Zo(i,o,s,l)}catch{c=!1}finally{i.canvas.style.fontFeatureSettings=n,d.font=d.font,d.clearRect(0,0,i.canvas.width,i.canvas.height),u||i.canvas.remove()}}return i.cache.set(o,c),c}function $o(e,t){let n=e.canvas,r=n?.style;if(!r)return t();let i=r.fontFeatureSettings;r.fontFeatureSettings=Go(Ko(n)),e.font=e.font;try{return t()}finally{r.fontFeatureSettings=i,e.font=e.font}}function es(e,t){return $o(e,()=>{let n=e.textAlign,r=e.textBaseline;e.textAlign=`center`,e.textBaseline=`middle`;try{let n=e.measureText(t),r=Number.isFinite(n.width)?Math.max(0,n.width):0,i=typeof n.actualBoundingBoxAscent==`number`&&Number.isFinite(n.actualBoundingBoxAscent)&&typeof n.actualBoundingBoxDescent==`number`&&Number.isFinite(n.actualBoundingBoxDescent);return{advancePx:r,inkBeforePx:i?n.actualBoundingBoxAscent:0,inkAfterPx:i?n.actualBoundingBoxDescent:0,cellAdvancePx:r,originInCellPx:r/2}}finally{e.textAlign=n,e.textBaseline=r}})}const ts=e=>e===32||e===12288;function ns(e,t,n={}){if(Math.abs(t)<=.5)return null;let r=n.firstContentSi??0,i=n.lastDrawnSi??e.length-1,a=n.minPerGap??-1/0,o=n.isGapChar??no,s=n.isWhitespace??ts,c=n.seaClusterGaps??!1,l=[];for(let t=r;t<e.length;t++){let n=e[t];if(n===void 0)continue;if(n.text===void 0){l.push({si:t,off:0,ws:!1});continue}let r=0;for(let e of n.text){let n=e.codePointAt(0);l.push({si:t,off:r,cp:n,ws:s(n)}),r++}}let u=-1,d=-1;for(let e=0;e<l.length;e++)l[e].ws||(u===-1&&(u=e),d=e);if(u===-1||u===d)return null;let f=Array(l.length).fill(!1),p=0;for(let e=u;e<d;e++){let t=l[e];if(t.si===i)continue;if(t.ws){f[e]=!0,p++;continue}let n=l[e+1];if(n.ws)continue;let r=t.cp,a=n.cp;(r!==void 0&&o(r)||a!==void 0&&o(a)||c&&r!==void 0&&a!==void 0&&po(r)&&po(a)&&!mo(a))&&(f[e]=!0,p++)}if(p===0)return null;let m=t/p;t<0&&m<a&&(m=a);let h=new Map;for(let e of l)e.cp!==void 0&&h.set(e.si,(h.get(e.si)??0)+1);let g=new Map;for(let e=0;e<l.length;e++){if(!f[e])continue;let t=l[e],n=g.get(t.si);n||(n={splitBefore:[],trailingGap:!1,internalStretch:0},g.set(t.si,n));let r=h.get(t.si)??0;t.cp===void 0||t.off===r-1?n.trailingGap=!0:(n.splitBefore.push(t.off+1),n.internalStretch+=m)}return{perGap:m,perSeg:g}}function rs(e,t,n,r,i=0){let a=[],o=0,s=0;for(let c of t)a.push({text:e.slice(o,c).join(``),dx:r(e.slice(0,o).join(``))+o*i+s*n}),o=c,s++;return a.push({text:e.slice(o).join(``),dx:r(e.slice(0,o).join(``))+o*i+s*n}),a}const is=[[1e3,`M`],[900,`CM`],[500,`D`],[400,`CD`],[100,`C`],[90,`XC`],[50,`L`],[40,`XL`],[10,`X`],[9,`IX`],[5,`V`],[4,`IV`],[1,`I`]];function as(e){let t=``,n=e;for(let[e,r]of is)for(;n>=e;)t+=r,n-=e;return t}function os(e,t){let n=t.length,r=Math.floor((e-1)/n)+1;return t[(e-1)%n].repeat(r)}const ss=Array.from({length:26},(e,t)=>String.fromCharCode(65+t)),cs=`أ.ب.ت.ث.ج.ح.خ.د.ذ.ر.ز.س.ش.ص.ض.ط.ظ.ع.غ.ف.ق.ك.ل.م.ن.ه.و.ي`.split(`.`),ls=`أ.ب.ج.د.ه.و.ز.ح.ط.ي.ك.ل.م.ن.س.ع.ف.ص.ق.ر.ش.ت.ث.خ.ذ.ض.غ.ظ`.split(`.`),us=[`א`,`ב`,`ג`,`ד`,`ה`,`ו`,`ז`,`ח`,`ט`,`י`,`כ`,`ל`,`מ`,`נ`,`ס`,`ע`,`פ`,`צ`,`ק`,`ר`,`ש`,`ת`],ds=[...vs(1072,1080),...vs(1082,1087),...vs(1088,1097),`ы`,`э`,`ю`,`я`],fs=[...vs(1040,1048),...vs(1050,1055),...vs(1056,1065),`Ы`,`Э`,`Ю`,`Я`],ps=[`ก`,`ข`,`ค`,...vs(3591,3619),`ล`,...vs(3623,3630)],ms=[`ㄱ`,`ㄴ`,`ㄷ`,`ㄹ`,`ㅁ`,`ㅂ`,`ㅅ`,`ㅇ`,`ㅈ`,`ㅊ`,`ㅋ`,`ㅌ`,`ㅍ`,`ㅎ`],hs=[`가`,`나`,`다`,`라`,`마`,`바`,`사`,`아`,`자`,`차`,`카`,`타`,`파`,`하`],gs=vs(2325,2361),_s=[...vs(2309,2324),`अं`,`अः`];function vs(e,t){let n=[];for(let r=e;r<=t;r++)n.push(String.fromCodePoint(r));return n}const ys=`ア.イ.ウ.エ.オ.カ.キ.ク.ケ.コ.サ.シ.ス.セ.ソ.タ.チ.ツ.テ.ト.ナ.ニ.ヌ.ネ.ノ.ハ.ヒ.フ.ヘ.ホ.マ.ミ.ム.メ.モ.ヤ.ユ.ヨ.ラ.リ.ル.レ.ロ.ワ.ヰ.ヱ.ヲ.ン`.split(`.`),bs=[...vs(65393,65436),`ヲ`,`ン`];function xs(e){return e<=20?String.fromCodePoint(9312+(e-1)):String(e)}function Ss(e,t){return String(e).split(``).map(e=>t[e.charCodeAt(0)-48]).join(``)}const Cs=vs(65296,65305),ws=vs(3664,3673),Ts=vs(2406,2415),Es=[`〇`,`一`,`二`,`三`,`四`,`五`,`六`,`七`,`八`,`九`],Ds=[`영`,`일`,`이`,`삼`,`사`,`오`,`육`,`칠`,`팔`,`구`],Os=[`零`,`一`,`二`,`三`,`四`,`五`,`六`,`七`,`八`,`九`],ks=[`○`,`一`,`二`,`三`,`四`,`五`,`六`,`七`,`八`,`九`];function As(e,t){if(e<10)return t[e];if(e<100){let n=Math.floor(e/10),r=e%10,i=n===1?`十`:t[n]+`十`;return r===0?i:i+t[r]}return Ss(e,t)}function js(e,t){switch(t){case`upperRoman`:return e>=1?as(e):String(e);case`lowerRoman`:return e>=1?as(e).toLowerCase():String(e);case`upperLetter`:return e>=1?os(e,ss):String(e);case`lowerLetter`:return e>=1?os(e,ss).toLowerCase():String(e);case`arabicAlpha`:return e>=1?os(e,cs):String(e);case`arabicAbjad`:return e>=1?os(e,ls):String(e);case`russianLower`:return e>=1?os(e,ds):String(e);case`russianUpper`:return e>=1?os(e,fs):String(e);case`thaiLetters`:return e>=1?os(e,ps):String(e);case`chosung`:return e>=1?os(e,ms):String(e);case`ganada`:return e>=1?os(e,hs):String(e);case`hindiVowels`:return e>=1?os(e,gs):String(e);case`hindiConsonants`:return e>=1?os(e,_s):String(e);case`aiueoFullWidth`:return e>=1?os(e,ys):String(e);case`aiueo`:return e>=1?os(e,bs):String(e);case`decimalEnclosedCircle`:return e>=1?xs(e):String(e);case`hebrew1`:return e>=1?Fs(e):String(e);case`hebrew2`:return e>=1?Is(e):String(e);case`hex`:return e>=1?e.toString(16).toUpperCase():String(e);case`numberInDash`:return e>=1?`- ${e} -`:String(e);case`decimalZero`:return e>=1&&e<=9?`0${e}`:String(e);case`decimalFullWidth`:return e>=1?Ss(e,Cs):String(e);case`decimalHalfWidth`:return String(e);case`thaiNumbers`:return e>=1?Ss(e,ws):String(e);case`hindiNumbers`:return e>=1?Ss(e,Ts):String(e);case`ideographDigital`:case`japaneseDigitalTenThousand`:return e>=1?Ss(e,Es):String(e);case`koreanDigital`:return e>=1?Ss(e,Ds):String(e);case`koreanDigital2`:return e>=1?Ss(e,Os):String(e);case`taiwaneseDigital`:return e>=1?Ss(e,ks):String(e);case`chineseCounting`:return e>=1?As(e,Es):String(e);case`taiwaneseCounting`:return e>=1?As(e,ks):String(e);case`chineseCountingThousand`:return e>=1?Gs(e,Rs):String(e);case`taiwaneseCountingThousand`:return e>=1?Gs(e,zs):String(e);case`chineseLegalSimplified`:return e>=1?Gs(e,Vs):String(e);case`ideographLegalTraditional`:return e>=1?Gs(e,Us):String(e);case`japaneseCounting`:return e>=1?Gs(e,Ls):String(e);case`japaneseLegal`:return e>=1?Gs(e,Hs):String(e);case`koreanCounting`:return e>=1?Gs(e,Bs):String(e);case`koreanLegal`:return e>=1?Js(e):String(e);default:return String(e)}}const Ms=[``,`א`,`ב`,`ג`,`ד`,`ה`,`ו`,`ז`,`ח`,`ט`],Ns=[``,`י`,`כ`,`ל`,`מ`,`נ`,`ס`,`ע`,`פ`,`צ`],Ps=[``,`ק`,`ר`,`ש`,`ת`,`ך`,`ם`,`ן`,`ף`,`ץ`];function Fs(e){let t=``,n=e,r=Math.floor(n/1e3);n%=1e3;let i=Math.floor(n/100);if(n%=100,r>0&&(t+=Ms[r%10]),t+=Ps[i],n===15)return t+`טו`;if(n===16)return t+`טז`;let a=Math.floor(n/10),o=n%10;return t+=Ns[a],t+=Ms[o],t}function Is(e){let t=us.length,n=Math.floor((e-1)/t);return us[e-t*n-1]+`ת`.repeat(n)}const Ls={digits:Os,ten:`十`,hundred:`百`,thousand:`千`,myriad:`万`,elideOne:!0,insertZero:!1},Rs={...Ls,elideOne:!1,insertZero:!0},zs={...Rs},Bs={digits:[`영`,`일`,`이`,`삼`,`사`,`오`,`육`,`칠`,`팔`,`구`],ten:`십`,hundred:`백`,thousand:`천`,myriad:`만`,elideOne:!0,insertZero:!1},Vs={digits:[`零`,`壹`,`贰`,`叁`,`肆`,`伍`,`陆`,`柒`,`捌`,`玖`],ten:`拾`,hundred:`佰`,thousand:`仟`,myriad:`万`,elideOne:!1,insertZero:!0},Hs={digits:[`零`,`壱`,`弐`,`参`,`四`,`伍`,`六`,`七`,`八`,`九`],ten:`拾`,hundred:`百`,thousand:`阡`,myriad:`萬`,elideOne:!1,insertZero:!1},Us={digits:[`零`,`壹`,`貳`,`參`,`肆`,`伍`,`陸`,`柒`,`捌`,`玖`],ten:`拾`,hundred:`佰`,thousand:`仟`,myriad:`萬`,elideOne:!1,insertZero:!1};function Ws(e,t,n){let r=Math.floor(e/1e3)%10,i=Math.floor(e/100)%10,a=Math.floor(e/10)%10,o=e%10,s=[{digit:r,unit:t.thousand},{digit:i,unit:t.hundred},{digit:a,unit:t.ten},{digit:o,unit:``}],c=``,l=!1,u=!1;for(let{digit:e,unit:r}of s){if(e===0){l&&(u=!0);continue}u&&=(t.insertZero&&(c+=t.digits[0]),!1),n&&e===1&&r?c+=r:c+=t.digits[e]+r,l=!0}return c}function Gs(e,t){if(e>=1e8){let n=Math.floor(e/1e8),r=e%1e8,i=Gs(n,t)+`億`;return r===0?i:i+(t.insertZero&&r<1e7?t.digits[0]:``)+Gs(r,t)}let n=Math.floor(e/1e4),r=e%1e4,i=``;return n>0&&(i+=Ws(n,t,t.elideOne)+t.myriad),r>0&&(t.insertZero&&n>0&&r<1e3&&(i+=t.digits[0]),i+=Ws(r,t,t.elideOne)),i}const Ks=[``,`하나`,`둘`,`셋`,`넷`,`다섯`,`여섯`,`일곱`,`여덟`,`아홉`],qs=[``,`열`,`스물`,`서른`,`마흔`,`쉰`,`예순`,`일흔`,`여든`,`아흔`];function Js(e){if(e>=100)return String(e);let t=Math.floor(e/10),n=e%10;return qs[t]+Ks[n]}const Ys={Arabic:`decimal`,ArabicDash:`numberInDash`,Hex:`hex`,Roman:`upperRoman`,roman:`lowerRoman`,ALPHABETIC:`upperLetter`,alphabetic:`lowerLetter`,ARABICABJAD:`arabicAbjad`,ARABICALPHA:`arabicAlpha`,HEBREW1:`hebrew1`,HEBREW2:`hebrew2`,HINDIARABIC:`hindiNumbers`,HINDILETTER1:`hindiVowels`,HINDILETTER2:`hindiConsonants`,THAIARABIC:`thaiNumbers`,THAILETTER:`thaiLetters`,CHOSUNG:`chosung`,GANADA:`ganada`,DBCHAR:`decimalFullWidth`,SBCHAR:`decimalHalfWidth`};function Xs(e){let t=/\\\\\\*\\s+(\\S+)/g,n;for(;(n=t.exec(e))!==null;){let e=Ys[n[1]];if(e)return e}return null}const Zs=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Qs=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],$s=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],ec=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],tc=e=>e<10?`0${e}`:`${e}`;function nc(e){let t=/\\\\@\\s*\"([^\"]*)\"/.exec(e);if(t)return t[1];let n=/\\\\@\\s*(\\S+)/.exec(e);return n?n[1]:null}function rc(e,t){let n=t.getFullYear(),r=t.getMonth(),i=t.getDate(),a=t.getDay(),o=t.getHours(),s=o%12==0?12:o%12,c=t.getMinutes(),l=t.getSeconds(),u=o>=12,d=``,f=0,p=e.length;for(;f<p;){let t=e[f];if(t===`'`){f++;let t=``;for(;f<p;){if(e[f]===`'`){if(e[f+1]===`'`){t+=`'`,f+=2;continue}f++;break}t+=e[f++]}d+=t;continue}if(/[A-Za-z]/.test(t)){let u=f;for(;u<p&&e[u]===t;)u++;let m=e.slice(f,u).length,h=t.toLowerCase(),g=null;if(t===`y`||t===`Y`?g=m>=4?String(n).padStart(4,`0`):tc(n%100):t===`M`?g=m>=4?Zs[r]:m===3?Qs[r]:m===2?tc(r+1):String(r+1):h===`d`?g=m>=4?$s[a]:m===3?ec[a]:m===2?tc(i):String(i):t===`H`?g=m>=2?tc(o):String(o):t===`h`?g=m>=2?tc(s):String(s):t===`m`?g=m>=2?tc(c):String(c):t===`s`?g=m>=2?tc(l):String(l):(h===`a`||h===`p`)&&(g=null),g!==null){d+=g,f=u;continue}if(!(h===`a`||h===`p`))return null}let m=/^([AaPp])([Mm])?\\/([AaPp])([Mm])?/.exec(e.slice(f));if(m){let e=m[2]!==void 0;d+=e?u?`PM`:`AM`:u?`P`:`A`,f+=m[0].length;continue}d+=t,f++}return d}const ic=[[e=>e.includes(`meiryo`)||e.includes(`メイリオ`),{asc:2210/2048,desc:1059/2048}],[e=>!e.includes(`ui`)&&(e.includes(`yu mincho`)||e.includes(`yumincho`)||e.includes(`游明朝`)||e.includes(`yu gothic`)||e.includes(`yugothic`)||e.includes(`游ゴシック`)),{asc:1802*1.3/2048,desc:455*1.3/2048,eaOnly:!0}],[e=>e.includes(`sakkal majalla`)||e.includes(`majalla`),{asc:1810/2048,desc:1050/2048}],[e=>e===`times new roman`,{asc:1825/2048,desc:530/2048}],[e=>e===`arial`,{asc:1854/2048,desc:501/2048}]];function ac(e,t){if(!e)return null;let n=e.toLowerCase();for(let[e,r]of ic)if(e(n)&&(t||!r.eaOnly))return r;return null}function oc(e,t=!1){let n=ac(e,t);return n===null?null:n.asc+n.desc}function sc(e,t,n=!1){let r=oc(e,n);return r===null?0:r*t}function cc(e,t,n,r,i=!1){let a=ac(e,i);if(a===null)return{ascent:n,descent:r};let o=(a.asc+a.desc)*t;return n+r<=o?{ascent:n,descent:r}:{ascent:a.asc*t,descent:a.desc*t}}const lc=[{test:e=>e===`georgia`,biasEm:.0105}];function uc(e){return(e??``).trim().replace(/^[\"']|[\"']$/g,``).replace(/\\s+/g,` `).toLowerCase()}function dc(e){let t=uc(e);for(let e of lc)if(e.test(t))return e.biasEm;return 0}function fc(e){return e?.[0]?.sectionPageNumType??null}function pc(e){return e?.[0]?.sectionHF}function mc(e){let t=new Map;for(let n=0;n<e.length;n++)for(let r of e[n]){let e=r.sectionHF;t.has(e)||t.set(e,n)}return t}function hc(e){let t=[],n=mc(e),r=0;for(let i=0;i<e.length;i++){let a=fc(e[i]),o=a?.fmt??`decimal`;if((i===0||pc(e[i])!==pc(e[i-1]))&&a?.start!=null){let t=n.get(pc(e[i]))??i;r=a.start+(i-t)}else r+=1;t.push({displayNumber:r,format:o})}return t}const gc={double:`dbl`,dotted:`dotted`,dottedHeavy:`dottedHeavy`,dash:`dash`,dashLong:`dashLong`,dashLongHeavy:`dashLongHeavy`,dotDash:`dotDash`,dotDotDash:`dotDotDash`,wavyHeavy:`wavyHeavy`,single:`sng`,wave:`wavy`,wavyDouble:`wavyDbl`,dashedHeavy:`dashHeavy`,dashDotHeavy:`dotDashHeavy`,dashDotDotHeavy:`dotDotDashHeavy`,thick:`heavy`,words:`sng`};function _c(e){return e?gc[e]??`sng`:`sng`}const vc={single:1,thick:2,double:3,dotted:4,dashed:5,dotDash:6,dotDotDash:7,triple:8,thinThickSmallGap:9,thickThinSmallGap:10,thinThickThinSmallGap:11,thinThickMediumGap:12,thickThinMediumGap:13,thinThickThinMediumGap:14,thinThickLargeGap:15,thickThinLargeGap:16,thinThickThinLargeGap:17,wave:18,doubleWave:19,dashSmallGap:20,dashDotStroked:21,threeDEmboss:22,threeDEngrave:23,outset:24,inset:25},yc={double:2,triple:3,thinThickSmallGap:2,thickThinSmallGap:2,thinThickThinSmallGap:3,thinThickMediumGap:2,thickThinMediumGap:2,thinThickThinMediumGap:3,thinThickLargeGap:2,thickThinLargeGap:2,thinThickThinLargeGap:3,doubleWave:2},bc=[`single`,`thick`,`double`,`dotted`,`dashed`,`dotDash`,`dotDotDash`,`triple`,`thinThickSmallGap`,`thickThinSmallGap`,`thinThickThinSmallGap`,`thinThickMediumGap`,`thickThinMediumGap`,`thinThickThinMediumGap`,`thinThickLargeGap`,`thickThinLargeGap`,`thinThickThinLargeGap`,`wave`,`doubleWave`,`dashSmallGap`,`dashDotStroked`,`threeDEmboss`,`threeDEngrave`,`outset`,`inset`];function xc(e){return vc[e]??0}function Sc(e){return yc[e]??1}function Cc(e){return Sc(e)*xc(e)}function wc(e){let t=bc.indexOf(e);return t===-1?bc.length:t}function Tc(e){return e.style===`nil`||e.style===`none`}function Ec(e){if(!e)return{r:0,g:0,b:0};let t=e.replace(/^#/,``);return t.length!==6||/[^0-9a-fA-F]/.test(t)?{r:0,g:0,b:0}:{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16)}}function Dc(e,t){let n=Ec(e),r=Ec(t),i=e=>e.r+e.b+2*e.g,a=e=>e.b+2*e.g,o=e=>e.g;for(let e of[i,a,o]){let t=e(n)-e(r);if(t!==0)return t}return 0}function Oc(e,t){let n=e&&!Tc(e.spec)?e:null,r=t&&!Tc(t.spec)?t:null;if(!n&&!r)return null;if(!n)return r;if(!r||n.source===`cell`&&r.source===`table`)return n;if(r.source===`cell`&&n.source===`table`)return r;let i=Cc(n.spec.style),a=Cc(r.spec.style);if(i!==a)return i>a?n:r;let o=wc(n.spec.style),s=wc(r.spec.style);if(o!==s)return o<s?n:r;let c=Dc(n.spec.color,r.spec.color);return c===0||c<0?n:r}const kc=e=>{let t=e.text;return typeof t==`string`?t:void 0},Ac=e=>e.rtl===!0,jc=e=>e.digitsAsAN===!0,Mc=e=>`isTab`in e;function Nc(e){for(let t of e){if(Ac(t))return!0;let e=kc(t);if(e!==void 0&&Ya(e))return!0}return!1}const Pc=/[\\p{P}\\p{S}]/u;function Fc(e,t){let n=e.length;if(n===0)return{order:[],rtl:[]};let r=``,i=Array(n),a=Array(n),o,s=()=>{for(o||=[];o.length<r.length;)o.push(null);return o};for(let t=0;t<n;t++){let n=kc(e[t])??``;if(i[t]=r.length,r+=n.length>0?n:``,a[t]=r.length,Mc(e[t]))s()[i[t]]=`S`;else if(n.length>0&&(jc(e[t])||Ac(e[t]))){let n=s(),o=jc(e[t]),c=Ac(e[t]);for(let e=i[t];e<a[t];e++){let t=r.charCodeAt(e);o&&t>=48&&t<=57?n[e]=`AN`:c&&Pc.test(r[e])&&(n[e]=`R`)}}}if(o)for(;o.length<r.length;)o.push(null);let{levels:c,paragraphLevel:l}=Ka().computeLevels(r,t?`rtl`:`ltr`,o),{order:u}=Xa(c,l,i),d=Array(n);for(let e=0;e<n;e++){let t=a[e];for(;t>i[e]&&r[t-1]===` `;)t--;let n=!1;for(let r=i[e];r<t;r++){let e=c[r];if(e!==255&&(e&1)==1){n=!0;break}}d[e]=n}return{order:u,rtl:d}}function Ic(e,t){switch(e){case`center`:return`center`;case`both`:case`justify`:case`distribute`:case`lowKashida`:case`mediumKashida`:case`highKashida`:case`thaiDistribute`:return`justify`;case`end`:case`right`:return t?`left`:`right`;case`start`:case`left`:case void 0:default:return t?`right`:`left`}}function Lc(e){switch(e){case`both`:case`justify`:case`distribute`:case`lowKashida`:case`mediumKashida`:case`highKashida`:case`thaiDistribute`:return!0;default:return!1}}function Rc(e){return e===`distribute`}function zc(e){return 71.95*e}function Bc(e){return e===`square`||e===`topAndBottom`||e===`tight`||e===`through`}function Vc(e,t,n){return e.xRight>t+.01&&e.xLeft<n-.01}function Hc(e,t,n,r,i,a,o,s){return e<a-.01&&t>i+.01&&n<s-.01&&r>o+.01}function Uc(e,t,n){let r=e.slice().sort((e,t)=>e.l-t.l),i=t,a=null,o=(e,t)=>{t-e>(a?a.r-a.l:0)&&(a={l:e,r:t})};for(let e of r)if(e.l>i&&o(i,Math.min(e.l,n)),i=Math.max(i,Math.min(e.r,n)),i>=n)break;return i<n&&o(i,n),a}function Wc(e,t,n,r,i,a,o=r,s=r+i){let c=r,l=r+i;for(let t=0;t<16;t++){let t=e+n,r=null;for(let n of a)n.mode===`topAndBottom`&&Vc(n,o,s)&&t>n.yTop&&e<n.yBottom&&(r=r===null?n.yBottom:Math.max(r,n.yBottom));if(r===null)break;e=r}let u=Math.max(t,1),d=0,f=i;for(let t=0;t<64;t++){let t=e+n,r=[],o=[];for(let n of a)if(n.mode===`square`&&!(t<=n.yTop||e>=n.yBottom)&&Vc(n,c,l))switch(o.push(n),n.side){case`left`:r.push({l:n.xLeft,r:l});break;case`right`:r.push({l:c,r:n.xRight});break;default:r.push({l:n.xLeft,r:n.xRight});break}if(o.length===0){d=0,f=i;break}let s=Uc(r,c,l);if(s&&s.r-s.l>=u){d=Math.max(0,s.l-c),f=Math.min(i-d,s.r-s.l),f<0&&(f=0);break}let p=Math.max(...o.map(e=>e.yBottom));if(p<=e){d=0,f=i;break}e=p}return{topY:e,xOffset:d,maxWidth:f}}function Gc(e,t,n,r,i,a,o,s,c,l,u,d,f){for(let p=0;p<16;p++){let p=e-i,m=e+n+a,h=t-o,g=t+r+s,_=f.filter(e=>(l?e.paraId!==c:u!==`table`||e.kind===`table`)&&Hc(p,m,h,g,e.xLeft,e.xRight,e.yTop,e.yBottom));if(_.length===0)return{x:e,y:t};let v=Math.max(..._.map(e=>e.xRight))+i;if(v+n+a<=d+.5){e=v;continue}t=Math.max(..._.map(e=>e.yBottom))+o}return{x:e,y:t}}function Kc(e,t,n,r){for(let i=0;i<16;i++){let i=e;for(let a of t)a.mode===`topAndBottom`&&Vc(a,n,r)&&e>=a.yTop&&e<a.yBottom&&(i=Math.max(i,a.yBottom));if(i===e)return e;e=i}return e}function qc(e,t,n,r,i=-1/0,a=!0,o=!1){return ns(e,t,{firstContentSi:n,lastDrawnSi:r,minPerGap:i,seaClusterGaps:o,...a?{}:{isGapChar:()=>!1}})}function Jc(e){if(!e)return 0;let t=0;for(let n of e.perSeg.values())t+=n.splitBefore.length+ +!!n.trailingGap;return e.perGap*t}function Yc(e,t,n,r,i){return t>=0?null:qc(e,t,n,r,-i*.25,!1)}const Xc=[`U`,`C`,`D`,`L`,`R`,`T`],Zc=[0,173,174,768,880,1155,1162,1425,1470,1471,1472,1473,1475,1476,1478,1479,1480,1552,1563,1564,1565,1568,1569,1570,1574,1575,1576,1577,1578,1583,1587,1600,1601,1608,1609,1611,1632,1646,1648,1649,1652,1653,1656,1672,1690,1728,1729,1731,1740,1741,1742,1743,1744,1746,1748,1749,1750,1757,1759,1765,1767,1769,1770,1774,1776,1786,1789,1791,1792,1807,1808,1809,1810,1813,1818,1822,1823,1832,1833,1834,1835,1836,1837,1839,1840,1867,1869,1870,1881,1884,1899,1901,1905,1906,1907,1909,1912,1914,1920,1958,1969,1994,2027,2036,2042,2043,2045,2046,2070,2074,2075,2084,2085,2088,2089,2094,2112,2113,2118,2120,2121,2122,2132,2133,2134,2137,2140,2144,2145,2146,2150,2151,2152,2153,2155,2160,2179,2182,2183,2185,2190,2191,2192,2199,2208,2218,2221,2222,2223,2225,2227,2233,2234,2249,2250,2274,2275,2307,2362,2363,2364,2365,2369,2377,2381,2382,2385,2392,2402,2404,2433,2434,2492,2493,2497,2501,2509,2510,2530,2532,2558,2559,2561,2563,2620,2621,2625,2627,2631,2633,2635,2638,2641,2642,2672,2674,2677,2678,2689,2691,2748,2749,2753,2758,2759,2761,2765,2766,2786,2788,2810,2816,2817,2818,2876,2877,2879,2880,2881,2885,2893,2894,2901,2903,2914,2916,2946,2947,3008,3009,3021,3022,3072,3073,3076,3077,3132,3133,3134,3137,3142,3145,3146,3150,3157,3159,3170,3172,3201,3202,3260,3261,3263,3264,3270,3271,3276,3278,3298,3300,3328,3330,3387,3389,3393,3397,3405,3406,3426,3428,3457,3458,3530,3531,3538,3541,3542,3543,3633,3634,3636,3643,3655,3663,3761,3762,3764,3773,3784,3791,3864,3866,3893,3894,3895,3896,3897,3898,3953,3967,3968,3973,3974,3976,3981,3992,3993,4029,4038,4039,4141,4145,4146,4152,4153,4155,4157,4159,4184,4186,4190,4193,4209,4213,4226,4227,4229,4231,4237,4238,4253,4254,4957,4960,5906,5909,5938,5940,5970,5972,6002,6004,6068,6070,6071,6078,6086,6087,6089,6100,6109,6110,6151,6152,6154,6155,6158,6159,6160,6176,6265,6277,6279,6313,6314,6315,6432,6435,6439,6441,6450,6451,6457,6460,6679,6681,6683,6684,6742,6743,6744,6751,6752,6753,6754,6755,6757,6765,6771,6781,6783,6784,6832,6878,6880,6892,6912,6916,6964,6965,6966,6971,6972,6973,6978,6979,7019,7028,7040,7042,7074,7078,7080,7082,7083,7086,7142,7143,7144,7146,7149,7150,7151,7154,7212,7220,7222,7224,7376,7379,7380,7393,7394,7401,7405,7406,7412,7413,7416,7418,7616,7680,8203,8204,8205,8206,8208,8234,8239,8288,8293,8298,8304,8400,8433,11503,11506,11647,11648,11744,11776,12330,12334,12441,12443,42607,42611,42612,42622,42654,42656,42736,42738,43010,43011,43014,43015,43019,43020,43045,43047,43052,43053,43072,43122,43123,43204,43206,43232,43250,43263,43264,43302,43310,43335,43346,43392,43395,43443,43444,43446,43450,43452,43454,43493,43494,43561,43567,43569,43571,43573,43575,43587,43588,43596,43597,43644,43645,43696,43697,43698,43701,43703,43705,43710,43712,43713,43714,43756,43758,43766,43767,44005,44006,44008,44009,44013,44014,64286,64287,65024,65040,65056,65072,65279,65280,65529,65532,66045,66046,66272,66273,66422,66427,68097,68100,68101,68103,68108,68112,68152,68155,68159,68160,68288,68293,68294,68295,68296,68297,68299,68301,68302,68307,68311,68312,68317,68318,68321,68322,68324,68325,68327,68331,68335,68336,68480,68481,68482,68483,68486,68489,68490,68492,68493,68494,68496,68497,68498,68521,68525,68527,68864,68865,68898,68899,68900,68904,68969,68974,69291,69293,69314,69315,69317,69318,69320,69370,69376,69424,69427,69428,69445,69446,69457,69460,69461,69488,69492,69494,69506,69510,69552,69553,69554,69556,69559,69560,69561,69563,69565,69566,69568,69569,69570,69572,69573,69577,69578,69579,69580,69633,69634,69688,69703,69744,69745,69747,69749,69759,69762,69811,69815,69817,69819,69826,69827,69888,69891,69927,69932,69933,69941,70003,70004,70016,70018,70070,70079,70089,70093,70095,70096,70191,70194,70196,70197,70198,70200,70206,70207,70209,70210,70367,70368,70371,70379,70400,70402,70459,70461,70464,70465,70502,70509,70512,70517,70587,70593,70606,70607,70608,70609,70610,70611,70625,70627,70712,70720,70722,70725,70726,70727,70750,70751,70835,70841,70842,70843,70847,70849,70850,70852,71090,71094,71100,71102,71103,71105,71132,71134,71219,71227,71229,71230,71231,71233,71339,71340,71341,71342,71344,71350,71351,71352,71453,71454,71455,71456,71458,71462,71463,71468,71727,71736,71737,71739,71995,71997,71998,71999,72003,72004,72148,72152,72154,72156,72160,72161,72193,72203,72243,72249,72251,72255,72263,72264,72273,72279,72281,72284,72330,72343,72344,72346,72544,72545,72546,72549,72550,72551,72752,72759,72760,72766,72767,72768,72850,72872,72874,72881,72882,72884,72885,72887,73009,73015,73018,73019,73020,73022,73023,73030,73031,73032,73104,73106,73109,73110,73111,73112,73459,73461,73472,73474,73526,73531,73536,73537,73538,73539,73562,73563,78896,78913,78919,78934,90398,90410,90413,90416,92912,92917,92976,92983,94031,94032,94095,94099,94180,94181,113821,113823,113824,113828,118528,118574,118576,118599,119143,119146,119155,119171,119173,119180,119210,119214,119362,119365,121344,121399,121403,121453,121461,121462,121476,121477,121499,121504,121505,121520,122880,122887,122888,122905,122907,122914,122915,122917,122918,122923,123023,123024,123184,123191,123566,123567,123628,123632,124140,124144,124398,124400,124643,124644,124646,124647,124654,124656,124661,124662,125136,125143,125184,125252,125260,917505,917506,917536,917632,917760,918e3],Qc=[0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,2,0,4,2,4,2,4,2,4,2,1,2,4,2,5,0,2,5,4,0,4,2,4,2,4,2,4,2,4,2,4,2,4,0,4,5,0,5,0,5,0,5,4,0,2,0,2,0,5,4,5,2,4,2,4,2,4,2,4,2,4,2,4,5,0,4,2,4,2,4,2,4,2,4,2,4,2,0,5,0,2,5,0,1,0,5,0,5,0,5,0,5,0,5,0,4,2,4,2,4,2,4,2,4,5,0,2,0,2,0,4,2,4,0,4,1,2,0,2,4,2,0,5,2,4,0,4,2,4,2,4,2,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,2,0,1,5,0,5,0,2,0,5,2,5,2,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,1,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,2,3,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,2,4,0,4,0,4,0,3,4,2,3,2,4,2,4,0,4,5,0,2,4,0,2,4,2,4,2,4,2,4,2,4,2,4,0,4,2,0,3,2,4,2,5,0,5,0,5,0,4,2,0,2,0,5,0,2,4,2,0,5,2,4,0,2,4,2,5,0,2,0,2,4,0,2,4,2,4,2,0,2,4,2,0,4,2,3,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,2,5,0,5,0,5,0,5,0],$c=[1587,1588,1589,1590,1690,1691,1692,1693,1694,1786,1787,1884,1901,1904,1917,1918,2223],el=[1580,1581,1582,1665,1666,1667,1668,1669,1670,1671,1727,1879,1880,1902,1903,1906,1916,2186,2210,2241,2245,2246],tl=[1576,1578,1579,1646,1657,1658,1659,1660,1661,1662,1663,1664,1872,1873,1874,1875,1876,1877,1878,2208,2209,2230,2231,2232,2238,2239,2240],nl=[1574,1585,1586,1597,1598,1599,1609,1610,1656,1681,1682,1683,1684,1685,1686,1687,1688,1689,1740,1742,1744,1745,1775,1883,1899,1900,1905,1909,1910,1911,2216,2217,2218,2226,2233,2234,69319],rl=[1570,1571,1573,1575,1591,1592,1595,1596,1603,1604,1649,1650,1651,1653,1695,1705,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1890,1891,1892,1898,1907,1908,1919,2160,2161,2162,2163,2164,2165,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2178,2187,2188,2189,2211,2214,2224,2228,2242,2247,2248,69315,69316],il=[1572,1593,1594,1601,1602,1608,1647,1654,1655,1696,1697,1698,1699,1700,1701,1702,1703,1704,1732,1733,1734,1735,1736,1737,1738,1739,1743,1788,1885,1886,1887,1888,1889,1912,1913,2212,2213,2219,2227,2229,2243];function al(e){let t=0,n=Zc.length-1,r=-1;for(;t<=n;){let i=t+(n-t>>1);Zc[i]<=e?(r=i,t=i+1):n=i-1}return r<0?`U`:Xc[Qc[r]]??`U`}function ol(e){let t=al(e);return t===`D`||t===`L`||t===`C`}function sl(e){let t=al(e);return t===`D`||t===`R`||t===`C`}const cl=new Set([1575,1570,1571,1573,1649]),ll=new Set($c),ul=new Set(el),dl=new Set(tl),fl=new Set(nl),pl=new Set(rl),ml=new Set(il);var hl=function(e){return e[e.Normal=7]=`Normal`,e[e.Waw=8]=`Waw`,e[e.BaRa=9]=`BaRa`,e[e.Alef=10]=`Alef`,e[e.HahDal=11]=`HahDal`,e[e.Seen=12]=`Seen`,e[e.Kashida=13]=`Kashida`,e}(hl||{});function gl(e){let t=[...e].map(e=>e.codePointAt(0)),n=[],r=t.length>0&&al(t[0])!==`T`?0:-1;for(let e=1;e<t.length;e++){let i=t[e];if(al(i)!==`T`){if(r>=0){let a=t[r];!(a===1604&&cl.has(i))&&ol(a)&&sl(i)&&n.push(e)}r=e}}return n}function _l(e,t,n){let r=t-1;for(;r>=0&&al(e[r])===`T`;)r--;let i=e[r],a=e[t];return i===1600?hl.Kashida:ll.has(i)?hl.Seen:ul.has(i)?hl.HahDal:t===n&&pl.has(a)?hl.Alef:dl.has(i)&&fl.has(a)?hl.BaRa:t===n&&ml.has(a)?hl.Waw:hl.Normal}function vl(e){let t=[...e],n=[];for(let e=0;e<t.length;){for(;e<t.length&&/\\s/u.test(t[e]);)e++;if(e>=t.length)break;let r=e+1;for(;r<t.length&&!/\\s/u.test(t[r]);)r++;let i=t.slice(e,r),a=i.map(e=>e.codePointAt(0)),o=a.length-1;for(;o>=0&&al(a[o])===`T`;)o--;let s=-1,c=-1;for(let e of gl(i.join(``))){let t=_l(a,e,o);t>=c&&(s=e,c=t)}s>=0&&n.push({beforeCp:e+s,priority:c}),e=r}return n}function yl(e,t){let n=[...e],r=``;for(let e=0;e<n.length;e++){let i=t.get(e)??0;i>0&&(r+=`ـ`.repeat(i)),r+=n[e]}return r}function bl(e,t,n,r){if(t<=.5)return null;let i=[];for(let t=0;t<e.length;t++){let n=e[t].text;if(n!==void 0)for(let{beforeCp:e,priority:r}of vl(n))i.push({si:t,beforeCp:e,priority:r,textOrder:i.length})}if(i.length===0)return null;i.sort((e,t)=>t.priority-e.priority||e.textOrder-t.textOrder);let a=n===`low`?1:n===`medium`?2:1/0,o=a,s=i.length*64,c=new Map,l=new Map,u=new Map;for(let{si:t}of i){if(u.has(t))continue;let n=r(t,e[t].text);l.set(t,n),u.set(t,n)}let d=t,f=0;for(let t=0;t<o&&d>.5&&f<s;t++){let t=!1;for(let{si:n,beforeCp:o}of i){if(d<=.5||f>=s)break;let i=c.get(n);i||(i=new Map,c.set(n,i));let l=i.get(o)??0;if(l>=a)continue;i.set(o,l+1);let p=r(n,yl(e[n].text,i)),m=p-u.get(n);m>0&&m<=d+1e-6?(u.set(n,p),d-=m,f++,t=!0):l===0?i.delete(o):i.set(o,l)}if(!t)break}let p=new Map;for(let[t,n]of c){let r=[...n.entries()].filter(([,e])=>e>0).sort(([e],[t])=>e-t).map(([e,t])=>({beforeCp:e,count:t}));r.length!==0&&p.set(t,{text:yl(e[t].text,n),insertions:r,advanceDeltaPx:u.get(t)-l.get(t)})}if(p.size===0)return null;let m=[...p.values()].reduce((e,t)=>e+t.advanceDeltaPx,0);return{perSeg:p,appliedPx:m,residualPx:t-m}}function xl(e,t){let n=t.scale;switch(e){case`margin`:return{left:t.marginLeft*n,right:(t.pageWidth-t.marginRight)*n};case`page`:return{left:0,right:t.pageWidth*n};default:return{left:t.contentX,right:t.contentX+t.contentW}}}function Sl(e,t,n,r){let i=r.scale;switch(e){case`margin`:return{start:r.marginTop*i,end:r.pageH-r.marginBottom*i};case`page`:return{start:0,end:r.pageH};default:return{start:t,end:t+n}}}function Cl(e,t,n,r){switch(e){case`center`:return t+(n-t-r)/2;case`right`:case`outside`:return n-r;default:return t}}function wl(e,t,n){switch(e){case`center`:return t.start+(t.end-t.start-n)/2;case`bottom`:case`outside`:return t.end-n;default:return t.start}}function Tl(e,t,n){return e+t<=n.end?e:Math.max(n.start,n.end-t)}function El(e,t,n,r,i,a){let o=t.scale,s=e.dropCap===`drop`||e.dropCap===`margin`,c=xl(e.hAnchor,t),l=Sl(e.vAnchor,n,i,t),u=e.w==null?r:e.w*o,d;if(s)d=Math.max(1,e.lines)*a;else{let t=e.h==null?0:e.h*o;d=e.hRule===`exact`?t:e.hRule===`atLeast`?Math.max(t,i):i}let f;f=e.dropCap===`drop`?c.left:e.dropCap===`margin`?c.left-u:e.xAlign?Cl(e.xAlign,c.left,c.right,u):c.left+(e.x==null?0:e.x*o);let p;p=s?l.start:e.yAlign&&e.vAnchor!==`text`?wl(e.yAlign,l,d):l.start+(e.y==null?0:e.y*o),(e.vAnchor===`page`||e.vAnchor===`margin`)&&(p=Tl(p,d,l));let m=e.wrap===`around`||e.wrap===`auto`?e.hSpace*o:0,h=e.vSpace*o;return{x:f,y:p,w:u,h:d,exLeft:f-m,exRight:f+u+m,exTop:p-h,exBottom:p+d+h}}function Dl(e,t){let n=t.x,r=t.y;if(t.avoidOverlap){let i=Gc(n,r,t.w,t.h,t.dl,t.dr,t.dt,t.db,t.paraId,t.allowOverlap??!0,t.kind,e.pageWidth*e.scale,e.floats);n=i.x,r=i.y}let i={kind:t.kind,mode:t.mode,imageKey:t.imageKey,imageX:n,imageY:r,imageW:t.w,imageH:t.h,xLeft:n-t.dl,xRight:n+t.w+t.dr,yTop:r-t.dt,yBottom:r+t.h+t.db,side:t.side,distLeft:t.dl,distRight:t.dr,distTop:t.dt,distBottom:t.db,paraId:t.paraId,drawn:t.drawn};return e.floats.push(i),i}function Ol(e,t,n){if(t.wrap===`none`||e.w<=0||e.h<=0)return;let r=n.floatParaSeq++,i=t.wrap===`notBeside`?`topAndBottom`:`square`;Dl(n,{x:e.x,y:e.y,w:e.w,h:e.h,dl:e.x-e.exLeft,dr:e.exRight-(e.x+e.w),dt:e.y-e.exTop,db:e.exBottom-(e.y+e.h),kind:`frame`,mode:i,side:t.dropCap===`drop`||t.dropCap===`margin`?`right`:`bothSides`,imageKey:``,drawn:!0,paraId:r,avoidOverlap:!1})}function kl(e,t,n,r,i,a=!1){let o=t.scale,s=e.horzSpecified?xl(e.horzAnchor,t):xl(`text`,t),c=Sl(e.vertAnchor,n,i,t),l;l=e.tblpXSpec?Cl(e.tblpXSpec,s.left,s.right,r):s.left+e.tblpX*o;let u;return u=e.tblpYSpec&&e.vertAnchor!==`text`?wl(e.tblpYSpec,c,i):c.start+e.tblpY*o,!a&&(e.vertAnchor===`page`||e.vertAnchor===`margin`)&&(u=Tl(u,i,c)),{x:l,y:u,w:r,h:i}}function Al(e,t,n,r,i){if(e.w<=0||e.h<=0)return;let a=n.scale,o=t.leftFromText*a,s=t.rightFromText*a,c=t.topFromText*a,l=t.bottomFromText*a,u=n.floatParaSeq++;Dl(n,{x:e.x,y:e.y,w:e.w,h:e.h,dl:o,dr:s,dt:c,db:l,kind:`table`,mode:`square`,side:r,imageKey:``,drawn:!0,paraId:u,avoidOverlap:!0,allowOverlap:i})}function jl(e,t){let n=(t.contentX+(t.contentX+t.contentW))/2;return e.x+e.w<=n?`right`:e.x>=n?`left`:`bothSides`}function Ml(e,t,n){let{scale:r}=n,i=n.pageWidth*r,a=n.marginLeft*r,o=n.marginRight*r;switch(e??(t?`margin`:`page`)){case`page`:return{start:0,end:i};case`leftMargin`:return{start:0,end:a};case`rightMargin`:return{start:i-o,end:i};case`insideMargin`:return{start:0,end:a};case`outsideMargin`:return{start:i-o,end:i};case`character`:case`column`:return{start:n.contentX,end:n.contentX+n.contentW};default:return{start:a,end:i-o}}}function Nl(e,t,n,r){let{scale:i}=r,a=r.marginTop*i,o=r.marginBottom*i;switch(e??(t?`paragraph`:`page`)){case`page`:return{start:0,end:r.pageH};case`topMargin`:return{start:0,end:a};case`bottomMargin`:return{start:r.pageH-o,end:r.pageH};case`paragraph`:case`line`:return{start:n,end:r.pageH};default:return{start:a,end:r.pageH-o}}}function Pl(e,t,n,r,i,a,o,s){let{scale:c}=i,l=Ml(a,t,i),u=n*c;if(o!=null)return l.start+(l.end-l.start)*o+u;if(!e)return l.start+u;let d=l.end-l.start,f=s==null?r:s*c,p=s==null?0:u;switch(e){case`center`:return l.start+(d-f)/2+p;case`right`:case`outside`:return l.end-f+p;default:return l.start+p}}function Fl(e,t,n,r,i,a,o,s,c){let{scale:l}=a,u=Nl(o,t,i,a),d=n*l;if(s!=null)return u.start+(u.end-u.start)*s+d;if(!e)return u.start+d;let f=u.end-u.start,p=c==null?r:c*l,m=c==null?0:d;switch(e){case`center`:return u.start+(f-p)/2+m;case`bottom`:case`outside`:return u.end-p+m;default:return u.start+m}}function Il(e,t,n){let r=t;for(let i=t+1;i<e.rows.length;i++){let t=e.rows[i],a=0,o=!1;for(let e of t.cells){if(a===n){e.vMerge===!1&&(o=!0);break}if(a>n)break;a+=e.colSpan}if(!o)break;r=i}return r}function Ll(e,t,n,r){if(e.rowHeight!=null&&e.rowHeightRule===`exact`)return e.rowHeight*n;let i=e.rowHeight!=null&&(e.rowHeightRule===`atLeast`||e.rowHeightRule===`auto`)?e.rowHeight*n:10*n,a=0;for(let n of e.cells){let e=Math.min(n.colSpan,t.length-a);if(n.vMerge!==!0&&n.vMerge!==!1){let o=r(n,t.slice(a,a+e).reduce((e,t)=>e+t,0));o>i&&(i=o)}a+=e}return i}function Rl(e,t,n,r){let i=e.rows.map(e=>Ll(e,t,n,r));for(let n=0;n<e.rows.length;n++){let a=0;for(let o of e.rows[n].cells){let s=Math.min(o.colSpan,t.length-a);if(o.vMerge===!0){let c=r(o,t.slice(a,a+s).reduce((e,t)=>e+t,0)),l=Il(e,n,a),u=0;for(let e=n;e<=l;e++)u+=i[e];u<c&&(i[l]+=c-u)}a+=s}}return i}function zl(e,t,n,r){let i=e,a=0;for(let o=e+1;o<=t;o++){let e=r(o);if(!(e<=n))break;i=o,a=e}return{end:i,fitValue:a}}function Bl(e){return!e.widowControl||e.end>=e.totalLines?{kind:`keep`}:e.totalLines-e.end===1&&e.end-e.start>=2?{kind:`dropLastLine`}:e.start===0&&e.end-e.start===1&&e.canRelocate?{kind:`relocate`}:{kind:`keep`}}function Vl(e,t){let n=[];for(let r=0;r<e.length;){let i=e[r];if(i.fitTextValTwips===void 0){r+=1;continue}let a=r+1;if(i.fitTextId!==void 0)for(;a<e.length&&e[a].fitTextValTwips!==void 0&&e[a].fitTextId===i.fitTextId;)a+=1;let o=0,s=0;for(let t=r;t<a;t+=1){let n=e[t];o+=n.naturalWidthPx*(n.charScale??1),s+=n.charCount}let c=i.fitTextValTwips/20*t,l=s>1?(c-o)/(s-1):0,u=c-o-Math.max(0,s-1)*l;n.push({start:r,end:a,targetPx:c,naturalPx:o,charCount:s,perGapPx:l,trailingPadPx:u}),r=a}return n}function Hl(e){let t=Fo(e);return t===`U`||t===`Tu`?`upright`:t===`Tr`?`rotate`:`sideways`}const Ul=new Set([65294]);function Wl(e){return Ul.has(e)?{dx:.4,dy:-.4}:{dx:0,dy:0}}const Gl=()=>!1;function Kl(e,t,n){let r=e.textBaseline;e.textBaseline=`alphabetic`;let i=e.measureText(t);e.textBaseline=r;let a=i.fontBoundingBoxAscent,o=i.fontBoundingBoxDescent;return typeof a==`number`&&typeof o==`number`&&(a!==0||o!==0)?(a-o)/2:.38*n}function ql(e,t){let n=e.textAlign,r=e.textBaseline;e.textAlign=`center`,e.textBaseline=`middle`;let i=e.measureText(t);e.textAlign=n,e.textBaseline=r;let a=i.actualBoundingBoxAscent,o=i.actualBoundingBoxDescent;return typeof a==`number`&&typeof o==`number`?(a-o)/2:0}function Jl(e){return Hl(e)===`rotate`&&Ro(e)===null&&!Vo(e)}function Yl(e){let t=Fo(e);return t===`Tu`||t===`Tr`}function Xl(e,t){let n=e.textAlign,r=e.textBaseline;e.textAlign=`center`,e.textBaseline=`middle`;let i=e.measureText(t);e.textAlign=n,e.textBaseline=r;let a=i.actualBoundingBoxLeft,o=i.actualBoundingBoxRight;return typeof a!=`number`||typeof o!=`number`||!Number.isFinite(a)||!Number.isFinite(o)?null:{extentPx:a+o,shiftPx:(a-o)/2}}function Zl(e,t,n,r,i){let a=e.measureText(t).width;if(Yl(n)&&r(n)){let n=es(e,t);return{naturalPx:n.cellAdvancePx,vert:n,rotateInkShiftPx:0}}if(i&&Jl(n)){let n=Xl(e,t);if(n!==null&&n.extentPx>a)return{naturalPx:n.extentPx,vert:null,rotateInkShiftPx:n.shiftPx}}return{naturalPx:a,vert:null,rotateInkShiftPx:0}}function Ql(e,t,n){let r=0;for(let i of t){let t=Zl(e,i,i.codePointAt(0)??0,n,!0);r+=t.naturalPx}return r-e.measureText(t).width}function $l(e,t){return Ql(e,t,t=>Qo(e,t))}function eu(e,t,n,r,i,a,o=1,s=!1,c=Gl){let l=e.textAlign,u=e.textBaseline,d=Kl(e,t,i),f=o!==1,p=0;for(let u of t){let t=u.codePointAt(0)??0,m=Hl(t),h=m===`rotate`?Ro(t):null,g=m===`rotate`&&h===null&&Vo(t),_=Zl(e,u,t,c,s),v=_.vert,y=_.naturalPx,b=_.rotateInkShiftPx,x=y*o+a;if(v!==null){let t=n+p+v.originInCellPx*o;e.save(),e.translate(t,r),e.rotate(-Math.PI/2),f&&e.scale(1,o),e.textAlign=`center`,e.textBaseline=`middle`,$o(e,()=>e.fillText(u,0,0)),e.restore()}else if(m===`upright`||h!==null||g){let a=h===null?Io(t):null,s=h===null?a:h,c=s===null?u:String.fromCodePoint(s),l=n+p+x/2,d=s===null?Wl(t):{dx:0,dy:0},m=a!==null,g=d.dy===0&&!m?ql(e,c)/i:0;e.save(),e.translate(l,r),e.rotate(-Math.PI/2),f&&e.scale(1,o),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(c,d.dx*i,(g+d.dy)*i),e.restore()}else if(m===`rotate`){let t=n+p+x/2;e.textAlign=`center`,e.textBaseline=`middle`,f||b!==0?(e.save(),e.translate(t,r),b!==0&&e.translate(o*b,0),e.transform(o,0,0,1,0,0),e.fillText(u,0,0),e.restore()):e.fillText(u,t,r)}else e.textAlign=l,e.textBaseline=`alphabetic`,f?(e.save(),e.translate(n+p,0),e.scale(o,1),e.fillText(u,0,r+d),e.restore()):e.fillText(u,n+p,r+d);p+=x}e.textAlign=l,e.textBaseline=u}function tu(e,t,n,r,i,a,o=1,s=!1){eu(e,t,n,r,i,a,o,s,t=>Qo(e,t))}function nu(e,t,n,r,i,a,o,s){let c=e.textAlign,l=e.textBaseline,u=1;if(s){let n=e.measureText(t),r=n.fontBoundingBoxAscent,a=n.fontBoundingBoxDescent;if(typeof r==`number`&&typeof a==`number`){let e=r+a;e>i&&e>0&&(u=i/e)}}let d=n+a/2;e.save(),e.translate(d,r),e.rotate(-Math.PI/2),e.scale(o,u),e.textAlign=`center`,e.textBaseline=`middle`,e.fillText(t,0,0),e.restore(),e.textAlign=c,e.textBaseline=l}function ru(e,t,n,r,i,a){let o=t+r/2,s=n+i/2;e.save(),e.translate(o,s),e.rotate(-Math.PI/2),a(-i/2,-r/2,i,r),e.restore()}function iu(e,t,n,r,i){return{x:t,y:i-(e+n),w:r,h:n}}function au(e,t,n,r){return r?{left:n-t,top:e,transform:`rotate(90deg)`}:null}function ou(e,t,n){return t==null?e*n*1.5:t*n}const su=new WeakMap,cu=new Set([`sakkal majalla`,`traditional arabic`,`simplified arabic`,`arabic typesetting`,`univers next arabic`,`noto naskh arabic`,`noto sans arabic`]),lu=new Set([`sakkal majalla`,`traditional arabic`,`simplified arabic`,`arabic typesetting`,`noto naskh arabic`]);function uu(e){return cu.has(e.toLowerCase())}function du(e){return e.map(e=>`\"${e}\"`).join(`, `)}const fu=[`Noto Naskh Arabic`,`Noto Sans Arabic`];function pu(e){let t=e&&e!==`jp`?V(e,`sans`):[`Noto Sans JP`,`Hiragino Sans`,`Meiryo`,...V(`jp`,`sans`).slice(1)];return e==null?`${du([...H,`Arial`,`Helvetica`,`Liberation Sans`,...t,...fu])}, sans-serif`:`${du([...t,...fu,...H])}, sans-serif`}function mu(e){let t=e&&e!==`jp`?V(e,`serif`):[`Yu Mincho`,`YuMincho`,`Hiragino Mincho ProN`,`MS Mincho`,`Noto Serif JP`,...V(`jp`,`serif`).slice(1)];return e==null?`${du([...U,`Times New Roman`,`Cambria`,`Liberation Serif`,...t,...fu])}, serif`:`${du([...t,...fu,...U])}, serif`}const hu=new WeakMap,gu=new WeakMap;function _u(e,t){let n=e??{};return t&&Object.keys(t).length>0&&gu.set(n,t),n}function vu(e,t={}){let n=hu.get(t)??(()=>{let e=new Map;return hu.set(t,e),e})(),r=e??`\\0null`,i=n.get(r);if(i!==void 0)return i;let a=yu(e,t,gu.get(t));return n.set(r,a),a}function yu(e,t,n={}){if(!e)return pu(null);let r=`\"${(e=>e.replace(/\"/g,`\\\\\"`))(e)}\"`,i=e.toLowerCase(),a=R(e);if(uu(e))return lu.has(i)?`${r}, \"Noto Naskh Arabic\", \"Noto Sans Arabic\", \"Noto Serif\", \"Noto Sans JP\", \"Hiragino Sans\", serif`:`${r}, \"Noto Sans Arabic\", \"Noto Naskh Arabic\", \"Noto Sans JP\", \"Hiragino Sans\", sans-serif`;let o=t[e];if(o&&o!==`auto`)switch(o){case`roman`:return`${r}, ${mu(a)}`;case`swiss`:return`${r}, ${pu(a)}`;case`modern`:if(n[e]===`fixed`)return`${r}, \"Courier New\", monospace`;break;default:break}let s=z(e);if(s===`serif`)return`${r}, ${mu(a)}`;if(s===`mono`)return`${r}, \"Courier New\", monospace`;if(a==null||a===`jp`){if(i.includes(`meiryo`)||e.includes(`メイリオ`))return`${r}, \"Meiryo UI\", \"Meiryo\", ${pu(a)}`;if(e.includes(`游ゴシック`)||/\\byu\\s*gothic\\b/i.test(e)||i.includes(`yugothic`))return`${r}, \"Yu Gothic\", \"YuGothic\", ${pu(a)}`;if(i.includes(`ipa`))return`${r}, \"IPAexGothic\", ${pu(a)}`;if(i.includes(`segoe`))return`${r}, \"Segoe UI\", ${du([...fu,...H])}, sans-serif`}return`${r}, ${pu(a)}`}function bu(e,t,n,r,i={}){return`${t?`italic`:`normal`} ${e?`bold`:`normal`} ${n}px ${vu(r,i)}`}function xu(e,t){let n=(e.smallCaps?Math.max(e.fontSize-2,1):e.fontSize)*t;return e.vertAlign&&(n*=.65),n}function Su(e){for(let t of e.runs)if(t.type===`text`||t.type===`field`)return t.fontSize;return typeof e.defaultFontSize==`number`?e.defaultFontSize:10}function Cu(e,t=!1){for(let t of e.runs)if(t.type===`text`||t.type===`field`)return t.fontFamily;return t&&e.defaultFontFamilyEastAsia?e.defaultFontFamilyEastAsia:e.defaultFontFamily??null}function wu(e,t,n){return sc(Cu(e,n),Su(e)*t,n)}const Tu=/[ᄀ-ᇿ⺀- -〿-ヿ-㐀-䶿一-鿿ꥠ-가-豈--]/u;function Eu(e,t){return!e||e.charSpacePt==null||e.type!==`linesAndChars`&&e.type!==`snapToChars`?0:e.charSpacePt*t}function Du(e){let t=0;for(let n of e)Tu.test(n)&&t++;return t}function Ou(e,t){if(t===0||e.length===0)return 0;let n=[...e];return Du(e)===n.length?n.length*t:0}function ku(e,t){return e.snapToCharacterGrid===!1?0:t}function Au(e,t){return e.fitTextPerGapPx===void 0?(e.charSpacing??0)*t:e.fitTextPerGapPx}function ju(e){return e.charScale??1}function Mu(e,t,n,r,i){return e*r+Ou(t,n)+[...t].length*i}function Nu(e,t,n){if(e.fitTextPerGapPx!==void 0)return e.fitTextPerGapPx;let r=ku(e,t);return(Ou(e.text,r)===0?0:r)+Au(e,n)}function Pu(e,t,n,r){if(e.fitTextPerGapPx!==void 0){let n=[...e.text].length,r=e.fitTextRegionEnd?Math.max(0,n-1):n;return t*ju(e)+r*e.fitTextPerGapPx+(e.fitTextTrailingPadPx??0)}if(e.tateChuYoko)return e.fontSize*r;let i=ku(e,n);return Mu(t,e.text,i,ju(e),Au(e,r))}function Fu(e){return!e||!e.linePitchPt||e.linePitchPt<=0?!1:e.type===`lines`||e.type===`linesAndChars`||e.type===`snapToChars`}function Iu(e,t){return t>0?Math.max(1,Math.ceil(e/t)):1}function Lu(e,t){return e>0?e:t*1.3}function Ru(e,t,n,r,i,a,o=0,s=!1,c,l){let u=t+n,d=Math.max(u,o),f=Fu(i),p=f?i.linePitchPt*r:0,m=()=>s?a?Math.max(p,Math.ceil(u/p)*p):Iu(c??(o>0?o:l===void 0?p:Lu(0,l)),p)*p:Math.max(u,p),h=e!==null&&e.explicit!==!0;return!e||(e.rule===`exact`||e.rule===`auto`)&&e.value<=0?f?m():d:e.rule===`auto`?f?h?m():Math.max(u,p*e.value):d*e.value:e.rule===`exact`?e.value*r:e.rule===`atLeast`?Math.max(d,e.value*r,f?m():0):d}function zu(e,t){return{asc:e*t*.8,desc:e*t*.2}}function Bu(e,t,n,r,i=!1){return cc(t,r,e.fontBoundingBoxAscent??e.actualBoundingBoxAscent??n*.8,e.fontBoundingBoxDescent??e.actualBoundingBoxDescent??n*.2,i)}function Vu(e,t,n,r,i=!1,a,o={},s=e.lineSpacing){let c=Su(e),l=Cu(e,i),u,d;if(a){let e=a.font;a.font=bu(!1,!1,c*t,l,o);let n=a.measureText(i?`あ`:`x`);a.font=e,{ascent:u,descent:d}=Bu(n,l,c*t,c*t,i)}else ({asc:u,desc:d}=zu(c,t));let f=wu(e,t,i),p=i?Lu(f,c*t):void 0;return{advancePx:Ru(s,u,d,t,n,r,f,i,p),ascentPx:u,descentPx:d}}function Hu(e,t,n,r,i=!1,a,o={},s=e.lineSpacing){return Vu(e,t,n,r,i,a,o,s).advancePx}function Uu(e,t,n){return Math.max(0,(e-t+n)/2)}function Wu(e,t,n,r,i,a,o){let s=Vu(e,1,t,n,r,i,a,o);return Uu(s.advancePx,s.ascentPx,s.descentPx)}function Gu(e){let t=[];for(let n of e){let e=n.toLowerCase()===n&&n.toUpperCase()!==n,r=/\\s/.test(n)?t[t.length-1]?.reduced??!1:e,i=t[t.length-1];i&&i.reduced===r?i.text+=n:t.push({text:n,reduced:r})}return t.length?t:[{text:e,reduced:!1}]}function Ku(e,t){for(let n=t-1;n>=0;n--){let t=e[n];if(t.type===`text`||t.type===`field`)return t.fontSize}for(let n=t+1;n<e.length;n++){let t=e[n];if(t.type===`text`||t.type===`field`)return t.fontSize}return 10}function qu(e,t){if(e.fieldType===`page`)return js(t.displayPageNumber??t.pageIndex+1,Xs(e.instruction)??t.pageNumberFormat??`decimal`);if(e.fieldType===`numPages`){let n=Xs(e.instruction)??`decimal`;return js(t.totalPages,n)}if(e.fieldType===`date`||e.fieldType===`time`){let n=nc(e.instruction);if(n){let e=rc(n,new Date(t.currentDateMs??Date.now()));if(e!==null)return e}return e.fallbackText}return e.fallbackText}const Ju=new Set([`+`,`-`,`−`,`=`,`±`,`×`,`÷`]);function Yu(e){return Ju.has(e)?` ${e} `:e}function Xu(e){return e.map(e=>{switch(e.kind){case`run`:return Yu(e.text);case`fraction`:return`${Xu(e.num)}/${Xu(e.den)}`;case`sup`:return`${Xu(e.base)}^${Xu(e.sup??[])}`;case`sub`:return`${Xu(e.base)}_${Xu(e.sub??[])}`;case`subSup`:return`${Xu(e.base)}_${Xu(e.sub??[])}^${Xu(e.sup??[])}`;case`nary`:return`${e.op}${Xu(e.sub??[])}${Xu(e.sup??[])}${Xu(e.body)}`;case`delimiter`:return`${e.begChar}${e.items.map(Xu).join(`,`)}${e.endChar}`;case`radical`:return`${e.index&&e.index.length>0?Xu(e.index):``}√${Xu(e.radicand)}`;case`limit`:return`${Xu(e.base)}${Xu(e.lower??[])}${Xu(e.upper??[])}`;case`array`:return e.rows.map(e=>e.map(Xu).join(` `)).join(` `);case`groupChr`:return`${e.char}${Xu(e.base)}`;case`bar`:case`box`:case`borderBox`:return Xu(e.base);case`accent`:return`${e.char}${Xu(e.base)}`;case`func`:return`${Xu(e.name)}(${Xu(e.arg)})`;case`group`:return Xu(e.items);case`phant`:return e.show?Xu(e.base):``;case`sPre`:return`${Xu(e.sub)}${Xu(e.sup)}${Xu(e.base)}`}}).join(``).replace(/[ \\t]{2,}/g,` `)}function Zu(e){for(let t=0;t<e.length;){let n=e.codePointAt(t);if(no(n))return!0;t+=n>65535?2:1}return!1}function Qu(e,t){if(e===void 0)return;let n=[];for(let r of e)r>t&&n.push(r-t);return n}function $u(e,t){if(t<=0)return t;let n=t;for(;n<e.length&&e[n]===` `;)n++;return n}function ed(e,t,n,r=0,i=1,a=0,o=!1){let s=[...t],c=t=>{let c=t;for(;c>0&&s[c-1]===` `;)c--;let l=s.slice(0,c).join(``);return l.length===0?!0:Mu(e.measureText(l).width+(o?$l(e,l):0),l,r,i,a)<=n},l=0,u=s.length;for(;l<u;){let e=l+u+1>>1;c(e)?l=e:u=e-1}return s.slice(0,l).join(``)}const td=new Set([`ar`,`fa`,`ur`,`he`,`iw`,`yi`,`ji`,`ps`,`sd`,`ug`,`dv`,`syr`,`ckb`]);function nd(e,t){if(e){let t=e.split(`-`)[0].toLowerCase();if(td.has(t))return!0}return t}function rd(e){let t=[],n=null,r=``;for(let i of e){let e=i.codePointAt(0);if(!/\\p{L}/u.test(i)){r+=i;continue}let a=B(e);n===null?(n=a,r+=i):a===n?r+=i:(t.push({text:r,cs:n}),n=a,r=i)}return r.length>0&&t.push({text:r,cs:n??!1}),t}function id(e){let t=[],n=null,r=``;for(let i of e){let e=no(i.codePointAt(0));n===null||e===n?(n=e,r+=i):(t.push({text:r,ea:n}),n=e,r=i)}return r.length>0&&t.push({text:r,ea:n??!1}),t}function ad(e){let t=e=>e>=48&&e<=57,n=e=>e===`.`||e===`,`||e===`:`||e===`/`||e===`\\xA0`,r=[],i=``,a=null;for(let o=0;o<e.length;o++){let s=e[o],c=t(s.charCodeAt(0));!c&&a===!0&&n(s)&&t(e.charCodeAt(o+1))&&(c=!0),a===null||c===a?i+=s:(r.push(i),i=s),a=c}return i.length>0&&r.push(i),r.length?r:[e]}function od(e){let t=[],n=0;for(;n<e.length;){let r=n;for(;r<e.length&&e[r]!==` `;)r++;for(;r<e.length&&e[r]===` `;)r++;r>n&&t.push(e.slice(n,r)),n=r}return t.length?t:[e]}function sd(e){let t=e?.defaultTabStop;return t!=null&&t>0?t:36}function cd(e,t,n){let r=null,i=0;for(let n of t)n.pos>i&&(i=n.pos),n.pos>e&&(r===null||n.pos<r.pos)&&(r=n);let a=null;if(n>0){let t=Math.ceil((Math.max(e,i)+1e-6)/n)*n;t<=e&&(t+=n),a={pos:t,alignment:`left`}}return r&&a?r.pos<=a.pos?r:a:r??a}function ld(e,t,n){let r=null,i=0;for(let n of t)n.pos>i&&(i=n.pos),n.pos>e&&(r===null||n.pos<r.pos)&&(r=n);let a=null;if(n>0){let t=Math.ceil((Math.max(e,i)+1e-6)/n)*n;t<=e&&(t+=n),a={pos:t,alignment:`left`}}return r&&a?r.pos<=a.pos?r:a:r??a}function ud(e,t,n,r,i){let a=e.length,o=e.map(e=>e.width),s=Array(a).fill(void 0),c=t=>{let n=0;for(let r=t;r<a&&!e[r].isTab;r++)n+=o[r];return n},l=n;for(let n=0;n<a;n++){if(!e[n].isTab){l+=o[n];continue}let a=ld(l,t,i);if(!a){o[n]=0;continue}let u=c(n+1),d;d=a.alignment===`right`?a.pos-u:a.alignment===`center`?a.pos-u/2:a.pos,d+u>r&&(d=r-u),d<l&&(d=l),o[n]=d-l,s[n]=a.leader,l=d}return e.map((e,t)=>({width:o[t],leader:s[t]}))}function dd(e,t){if(e===t)return!0;if(e.enabled!==t.enabled)return!1;let n=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};return n(e.lineStartForbidden,t.lineStartForbidden)&&n(e.lineEndForbidden,t.lineEndForbidden)}function fd(e){for(let t of e.runs)if(t.type===`field`){let e=t.fieldType;if(e===`page`||e===`numPages`||e===`date`||e===`time`)return!0}else if(t.type===`text`&&t.noteRef)return!0;return!1}function pd(e,t,n){let r=new Map;for(let t of e){if(t.fitTextRegionIndex===void 0)continue;let e=r.get(t.fitTextRegionIndex)??[];e.push(t),r.set(t.fitTextRegionIndex,e)}for(let e of r.values()){let r=e.find(e=>e.fitTextVal!==void 0);if(!r||r.fitTextVal===void 0)continue;let i=0,a=0;for(let t of e)i+=n(t)*ju(t),a+=[...t.text].length;let o=Vl([{fitTextValTwips:r.fitTextVal,charCount:a,naturalWidthPx:i}],t)[0];o&&e.forEach((t,n)=>{t.fitTextPerGapPx=o.perGapPx,t.fitTextTrailingPadPx=n===e.length-1?o.trailingPadPx:void 0,t.fitTextRegionStart=n===0?!0:void 0,t.fitTextRegionEnd=n===e.length-1?!0:void 0})}}function md(e,t){let n=[],r=new Map,i=[];for(let[t,n]of e.entries()){if(n.type!==`text`){i.push({charCount:0,naturalWidthPx:0});continue}let e=n.text.split(` `);for(let a=0;a<e.length;a+=1)r.set(`${t}:${a}`,i.length),i.push({fitTextValTwips:n.fitTextVal,fitTextId:n.fitTextId,charCount:[...e[a]].length,naturalWidthPx:0,charScale:n.charScale}),a<e.length-1&&i.push({charCount:0,naturalWidthPx:0})}let a=new Map;Vl(i,1).forEach((e,t)=>{for(let n=e.start;n<e.end;n+=1)a.set(n,t)});let o=(e,i,o,s,c)=>{let l=!1,u=i.ruby,d=u?{text:u.text,fontSizePt:u.fontSizePt,...u.hpsRaisePt==null?{}:{hpsRaisePt:u.hpsRaisePt}}:void 0,f=i.revision,p=i,m=p.rtl===!0?!0:void 0,h=c===void 0?void 0:r.get(`${s}:${c}`),g=h===void 0?void 0:a.get(h),_=p.hyperlink?{kind:`external`,url:p.hyperlink}:p.hyperlinkAnchor?{kind:`internal`,ref:p.hyperlinkAnchor}:void 0,v=p.rtl===!0||p.cs===!0,y=p.fontSizeCs??i.fontSize,b=p.fontFamilyCs??i.fontFamily,x=p.boldCs??!1,S=p.italicCs??!1,C=i.fontFamilyEastAsia??i.fontFamily,w=(v||p.rtl===!0)&&nd(p.langBidi,p.rtl===!0),T=!0,E=!1,D=(e,r,a)=>{n.push({text:e,bold:r?x:i.bold,italic:r?S:i.italic,underline:i.underline,underlineStyle:i.underlineStyle,underlineColor:i.underlineColor,strikethrough:i.strikethrough,fontSize:r?y:i.fontSize,color:i.color,fontFamily:a,vertAlign:o,measuredWidth:0,smallCaps:l,joinPrev:E?!0:void 0,doubleStrikethrough:i.doubleStrikethrough??!1,highlight:i.highlight??null,emphasisMark:i.emphasisMark,background:i.background??null,colorAuto:p.colorAuto??!1,border:p.border??null,ruby:T?d:void 0,revision:f,rtl:m,digitsAsAN:w?!0:void 0,eaFloorFamily:C,hyperlink:_,snapToCharacterGrid:p.snapToGrid!==!1,charSpacing:p.charSpacing,charScale:p.charScale,fitTextVal:g===void 0?void 0:p.fitTextVal,fitTextId:g===void 0?void 0:p.fitTextId,fitTextRegionIndex:g,fitTextRunIndex:g===void 0?void 0:h,position:p.position,kerning:p.kerning,tateChuYoko:t.verticalCJK&&p.eastAsianVert===!0?!0:void 0,tateChuYokoCompress:t.verticalCJK&&p.eastAsianVert===!0&&p.eastAsianVertCompress===!0?!0:void 0,verticalRun:t.verticalCJK&&p.eastAsianVert!==!0?!0:void 0}),T=!1,E=!1},O=(e,t)=>{let n=t===`cs`,r=t===`cs`?b:t===`ea`?C:i.fontFamily;if(re(r)){for(let t of ie(e,r))D(t.text,n,t.mapped?null:r);return}D(e,n,r)},k=e=>{for(let t of id(e))O(t.text,t.ea?`ea`:`latin`)},A=i.smallCaps?Gu(e):[{text:e,reduced:!1}],j=``;for(let e of A){l=e.reduced,E=j.length>0&&!/\\s$/.test(j),j=e.text;let t=i.allCaps||i.smallCaps?e.text.toUpperCase():e.text;for(let e of od(t))if(v)if(w)for(let t of ad(e))O(t,`cs`);else O(e,`cs`);else for(let t of rd(e))t.cs?O(t.text,`cs`):k(t.text)}};for(let[r,i]of e.entries())if(i.type===`text`){let e=i,a=e.noteRef?e.noteRef.id?t.noteNumbers?.get(`${e.noteRef.kind}:${e.noteRef.id}`):t.currentNoteNumber:void 0;if(e.noteRef){let t=a==null?e.text||``:String(a);t.length>0&&o(t,e,e.vertAlign??`super`,r,0);continue}let s=e.text.split(` `);for(let t=0;t<s.length;t++)s[t].length>0&&o(s[t],e,e.vertAlign,r,t),t<s.length-1&&n.push({isTab:!0,fontSize:e.fontSize,measuredWidth:0,bold:e.bold,italic:e.italic})}else if(i.type===`image`){let e=i;n.push({imagePath:e.imagePath,mimeType:e.mimeType,widthPt:e.widthPt,heightPt:e.heightPt,anchor:e.anchor??!1,anchorXPt:e.anchorXPt??0,anchorYPt:e.anchorYPt??0,anchorXFromMargin:e.anchorXFromMargin??!1,anchorYFromPara:e.anchorYFromPara??!1,colorReplaceFrom:e.colorReplaceFrom,duotone:e.duotone,alpha:e.alpha,srcRect:e.srcRect??void 0,measuredWidth:0})}else if(i.type===`chart`){let e=i;n.push({imagePath:``,mimeType:``,widthPt:e.widthPt,heightPt:e.heightPt,anchor:e.anchor??!1,anchorXPt:e.anchorXPt??0,anchorYPt:e.anchorYPt??0,anchorXFromMargin:e.anchorXFromMargin??!1,anchorYFromPara:e.anchorYFromPara??!1,chart:e.chart,measuredWidth:0})}else if(i.type===`break`){if(i.breakType===`line`){let t=Ku(e,e.indexOf(i));n.push({lineBreak:!0,fontSize:t,measuredWidth:0})}}else if(i.type===`field`){let e=i,n=qu(e,t);n&&o(n,e,e.vertAlign,r)}else if(i.type===`math`){let t=i.fontSize||Ku(e,e.indexOf(i));n.push({mathNodes:i.nodes,display:i.display,fontSize:t,color:null,fallbackText:Xu(i.nodes),measuredWidth:0,mathAscent:0,mathDescent:0,jc:i.jc})}else i.type===`ptab`&&n.push({isTab:!0,fontSize:i.fontSize||Ku(e,e.indexOf(i)),measuredWidth:0,leader:i.leader,ptab:{alignment:i.alignment,relativeTo:i.relativeTo}});for(let e=1;e<n.length;e++){let t=n[e];if(!(`text`in t)||t.joinPrev)continue;let r=t.text.codePointAt(0);if(r===void 0||!$a.lineStartForbidden.has(r))continue;let i=n[e-1];!(`text`in i)||/\\s$/.test(i.text)||(t.joinPrev=!0)}for(let e=1;e<n.length;e++){let t=n[e];if(!(`text`in t)||t.joinPrev||t.text.length===0)continue;let r=n[e-1];if(!(`text`in r)||r.text.length===0||/\\s$/u.test(r.text)||/^\\s/u.test(t.text))continue;let i=[...r.text].at(-1),a=[...t.text][0],o=i?.codePointAt(0),s=a?.codePointAt(0);o===void 0||s===void 0||o===8203||s===8203||go(r.text)||go(t.text)||Zu(r.text)||Zu(t.text)||uo(o,s)&&(t.joinPrev=!0)}let s=new Set;for(let e of n)!(`text`in e)||e.fitTextRegionIndex===void 0||(s.has(e.fitTextRegionIndex)?e.joinPrev=!0:(e.fitTextRegionStart=!0,s.add(e.fitTextRegionIndex)));return n}function hd(e,t,n,r,i,a=[],o,s={},c=0,l=$a,u=0,d=36,f=n,p=!1,m=!1,h=!1,g){let _=[],v=[],y=0,b=0,x=0,S=0,C=0,w=0,T=0,E=0,D=!0,O=n,k=0,A=o?.startPageY??0,j=()=>zc(i),M=(e=0)=>{if(x=0,k=0,O=n,!o)return;let t=10*i;if(o.lineWindow){let r=o.lineWindow({topYPt:A,minimumStartWidthPt:e,probeHeightPt:t,paragraphXPt:o.paraX,maximumWidthPt:n,columnXPt:o.columnXPt,columnWidthPt:o.columnWidthPt});A=r.topYPt,k=r.xOffsetPt,O=r.maximumWidthPt}else{let r=Wc(A,e,t,o.paraX,n,o.floats,o.columnXPt,o.columnXPt+o.columnWidthPt);A=r.topY,k=r.xOffset,O=r.maxWidth}},N=()=>O-(D?r:0),P=p?a.map(e=>({pos:e.pos*i,alignment:e.alignment,leader:e.leader})):[],F=d*i,I=()=>{if(!p||!v.some(e=>`isTab`in e))return;let e=ud(v.map(e=>({isTab:`isTab`in e,width:e.measuredWidth})),P,f-(k+O)+(D?r:0),f+c,F),t=0;for(let n=0;n<v.length;n++){let r=v[n];`isTab`in r&&(t+=e[n].width-r.measuredWidth,r.measuredWidth=e[n].width,r.leader=e[n].leader)}y+=t},L=!1,R=!1,z=!1,B=(e,t=!1,n)=>{I();let r=e===void 0?S||10:Math.max(S,e),a=C>0||w>0,s=a?C:r*i*.8,c=a?w:r*i*.2,l=E||(R?Lu(T,r*i):s+c);_.push({segments:v,height:r,ascent:s,descent:c,intendedSingle:T,gridCountSingle:l,xOffset:k,availWidth:O,topY:o?A:void 0,hasRuby:L,eastAsian:R,endsWithBreak:t,consumedEnd:n??Y[0]?.src??te}),o&&(A+=o.lineBoxH(s,c,L,T,R,l)),v=[],y=0,b=0,x=0,S=0,C=0,w=0,T=0,E=0,L=!1,R=!1,z=!1,D=!1,M(j())},V=(e,t=e.text)=>dc(e.fontFamily)*xu(e,i)*ju(e)*[...t].length,H=(e,t,n,r,a,o=0)=>{v.push(e),y+=t,b+=o,`text`in e&&(x+=V(e)),n>S&&(S=n),r>C&&(C=r),a>w&&(w=a);let s=0;if(!(`isTab`in e)&&!(`imagePath`in e)&&!(`mathNodes`in e)){let t=e;t.ruby&&(L=!0),t.seaBreaks!==void 0&&vo(t.text)&&(z=!0),!R&&Tu.test(t.text)&&(R=!0);let n=t.smallCaps&&!t.vertAlign?t.fontSize*i:U(t),r=Tu.test(t.text)&&!t.ruby,a=sc(t.fontFamily,n,r);a>T&&(T=a),r&&(s=Lu(a,n))}else `isTab`in e||(s=r+a);s>E&&(E=s)},U=e=>xu(e,i),W=null,G=t=>{t!==W&&(e.font=t,W=t)},K=t=>{if(t.kerning==null)return null;let n=e.fontKerning;return e.fontKerning=t.fontSize>=t.kerning?`normal`:`none`,n},q=t=>{t!=null&&(e.fontKerning=t)},ee=t=>{G(bu(t.bold,t.italic,U(t),t.fontFamily,s));let n=K(t),r=e.measureText(t.text);return q(n),r},J=(t,n)=>{if(!t.verticalRun)return 0;let r=K(t);try{return $l(e,n)}finally{q(r)}},te={segIndex:t.length,charOffset:0},ne=t.map((e,t)=>(e.src={segIndex:t,charOffset:0},`text`in e&&go(e.text)&&(e.seaBreaks=To(e.text,{cjk:!0,kinsoku:l})),e)),Y;if(!g)Y=ne;else if(g.segIndex>=ne.length)Y=[];else{let e=ne[g.segIndex];if(g.charOffset>0)if(!(`text`in e)||g.charOffset>e.text.length)Y=[];else{let t=e.text.slice(g.charOffset);Y=t?[{...e,text:t,measuredWidth:0,src:{...g},seaBreaks:Qu(e.seaBreaks,g.charOffset)},...ne.slice(g.segIndex+1)]:ne.slice(g.segIndex+1)}else Y=ne.slice(g.segIndex)}pd(Y.filter(e=>`text`in e),i,e=>ee(e).width+J(e,e.text));let re=e=>Pu(e,ee(e).width+J(e,e.text),u,i),ie=(t,n)=>{G(bu(t.bold,t.italic,U(t),t.fontFamily,s));let r=K(t),a=e.measureText(n).width;return q(r),Pu({...t,text:n},a+J(t,n),u,i)},X=e=>`isTab`in e?e.measuredWidth||0:`imagePath`in e?e.widthPt*i:`mathNodes`in e?e.measuredWidth||0:`lineBreak`in e?0:re(e),Z=null;for(M(j());Y.length>0;){let t=Y.shift();if(`lineBreak`in t){B(t.fontSize,!0),Z=t.fontSize;continue}if(Z=null,`isTab`in t){if(p&&!t.ptab){t.measuredWidth=0,H(t,0,t.fontSize,t.fontSize*i*.8,t.fontSize*i*.2);continue}let e=y+(D?r:0);if(t.ptab){let r=t.ptab.relativeTo===`indent`?0:-c,a=t.ptab.relativeTo===`indent`?n:f,o=t.ptab.alignment===`left`?r:t.ptab.alignment===`center`?(r+a)/2:a,s=0;for(let e of Y){if(`isTab`in e||`lineBreak`in e)break;s+=X(e)}let l=t.ptab.alignment===`center`?.5:+(t.ptab.alignment===`right`),d=o-e-s*l;if(d<=0){if(v.length>0){B(void 0,!1,t.src),Y.unshift(t);continue}d=0}if(t.measuredWidth=d,H(t,d,t.fontSize,t.fontSize*i*.8,t.fontSize*i*.2),t.ptab.alignment!==`left`)for(;Y.length>0;){let e=Y[0];if(`isTab`in e||`lineBreak`in e)break;if(Y.shift(),`imagePath`in e){let t=e.widthPt*i;e.measuredWidth=t,H(e,t,e.heightPt,e.heightPt*i,0)}else if(`mathNodes`in e)H(e,e.measuredWidth||0,e.fontSize,e.mathAscent||0,e.mathDescent||0);else{let t=ee(e),n=Pu(e,t.width+J(e,e.text),u,i);e.measuredWidth=n;let r=t.fontBoundingBoxAscent??t.actualBoundingBoxAscent??e.fontSize*i*.8,a=t.fontBoundingBoxDescent??t.actualBoundingBoxDescent??e.fontSize*i*.2;H(e,n,e.fontSize,r,a)}}continue}let o=cd(e+c,a.map(e=>({pos:e.pos*i,alignment:e.alignment,leader:e.leader})),d*i),s=o?o.pos-c:e;if(o&&o.alignment!==`left`&&o.alignment!==`bar`&&o.alignment!==`clear`){let n=s;t.leader=o.leader;let r=0;for(let e of Y){if(`isTab`in e||`lineBreak`in e)break;r+=X(e)}let a=o.alignment===`center`?.5:1,c=n-e-r*a;for(c<=0&&(c=t.fontSize*i*.25),t.measuredWidth=c,H(t,c,t.fontSize,t.fontSize*i*.8,t.fontSize*i*.2);Y.length>0;){let e=Y[0];if(`isTab`in e||`lineBreak`in e)break;if(Y.shift(),`imagePath`in e){let t=e.widthPt*i;e.measuredWidth=t,H(e,t,e.heightPt,e.heightPt*i,0)}else if(`mathNodes`in e)H(e,e.measuredWidth||0,e.fontSize,e.mathAscent||0,e.mathDescent||0);else{let t=ee(e),n=Pu(e,t.width+J(e,e.text),u,i);e.measuredWidth=n;let r=t.fontBoundingBoxAscent??t.actualBoundingBoxAscent??e.fontSize*i*.8,a=t.fontBoundingBoxDescent??t.actualBoundingBoxDescent??e.fontSize*i*.2;H(e,n,e.fontSize,r,a)}}continue}let l=s-e;if(o&&(t.leader=o.leader),l<=0){B(void 0,!1,t.src),Y.unshift(t);continue}if(y+l>N()&&v.length>0){B(void 0,!1,t.src),Y.unshift(t);continue}t.measuredWidth=l,H(t,l,t.fontSize,t.fontSize*i*.8,t.fontSize*i*.2);continue}if(`imagePath`in t){if(t.anchor){t.measuredWidth=0;continue}let e=t.widthPt*i,n=t.heightPt,r=t.heightPt*i;t.measuredWidth=e,v.length>0&&y+e>N()&&B(void 0,!1,t.src),H(t,e,n,r,0);continue}if(`mathNodes`in t){let n=su.get(t.mathNodes);if(!n){let n=t.fontSize*i;G(bu(!1,!1,n,null,s));let r=e.measureText(t.fallbackText),a=r.width,o=r.fontBoundingBoxAscent??r.actualBoundingBoxAscent??n*.8,c=r.fontBoundingBoxDescent??r.actualBoundingBoxDescent??n*.2;t.measuredWidth=a,t.mathAscent=o,t.mathDescent=c,v.length>0&&y+a>N()&&B(void 0,!1,t.src),H(t,a,t.fontSize,Math.max(o,n*.8),Math.max(c,n*.2));continue}let r=t.fontSize*i,a=n.widthEm*r,o=n.ascentEm*r,c=n.descentEm*r;t.measuredWidth=a,t.mathAscent=o,t.mathDescent=c;let l=Math.max(o,r*.8),u=Math.max(c,r*.2);v.length>0&&y+a>N()&&B(void 0,!1,t.src),H(t,a,t.fontSize,l,u);continue}let o=t,g=ee(o),_=Pu(o,g.width+J(o,o.text),u,i),S=o.fontSize,C=o.fontSize*i,w=g,T=U(o);if(o.smallCaps&&!o.vertAlign&&T!==C){let t=e.font;e.font=bu(o.bold,o.italic,C,o.fontFamily,s),w=e.measureText(o.text||`X`),e.font=t,T=C}let E=Bu(w,o.fontFamily,C,T,Tu.test(o.text)&&!o.ruby),k=E.ascent,A=E.descent;if(o.ruby&&(k+=ou(o.ruby.fontSizePt,o.ruby.hpsRaisePt,i)),o.fitTextRegionIndex!==void 0){if(o.fitTextRegionStart){let e=_;for(let t of Y){if(!(`text`in t)||t.fitTextRegionIndex!==o.fitTextRegionIndex)break;e+=re(t)}v.length>0&&y+e>N()&&B(void 0,!1,o.src)}o.measuredWidth=_,H(o,_,S,k,A);continue}let j=o.text.replace(/ +$/,``),M=o.text.endsWith(` `)?_-ie(o,j):0,P=_-M,F=o.seaBreaks!==void 0&&vo(o.text),I=(e,t)=>{let n=e===void 0||`lineBreak`in e;return m&&(!n||h)?t:z||F?0:b*.25},L=I(Y[0],x+V(o,j));if(!o.joinPrev&&v.length>0&&Y[0]?.joinPrev&&!Zu(o.text)&&!(o.seaBreaks&&o.seaBreaks.length>0)){let e=_,t=M,n=0,r=x,i=o,a=o.text,s=(e,t=e.text)=>{r+=V(i,a),i=e,a=t};for(;n<Y.length&&Y[n].joinPrev;n++){let r=Y[n];if(Zu(r.text)){let n=[...r.text],i=0;for(;i<n.length&&$a.lineStartForbidden.has(n[i].codePointAt(0));)i++;if(i<n.length){let a=n.slice(0,i).join(``);e+=ie(r,a),a.length>0&&s(r,a),t=0;break}}let i=re(r);e+=i,s(r);let a=r.text.replace(/ +$/,``);t=r.text.endsWith(` `)?i-ie(r,a):0}r+=V(i,a.replace(/ +$/,``)),y+(e-t)>N()+I(Y[n],r)&&B(void 0,!1,o.src)}if(F&&v.length>0&&(()=>{let e=v[v.length-1];return!(`text`in e)||e.text.endsWith(` `)})()){let e=_,t=M,n=0,r=x+V(o,j);if(!o.text.endsWith(` `))for(;n<Y.length;n++){let i=Y[n];if(!(`text`in i)||i.seaBreaks===void 0||!vo(i.text))break;let a=i,o=re(a),s=a.text.replace(/ +$/,``);if(e+=o,t=a.text.endsWith(` `)?o-ie(a,s):0,r+=V(a,s),a.text.endsWith(` `)){n++;break}}let i=e-t;y+i>N()+I(Y[n],r)&&i<=O&&B(void 0,!1,o.src)}if(y+P<=N()+L)o.measuredWidth=_,H(o,_,S,k,A,M);else if(Zu(o.text)&&o.seaBreaks===void 0){let t=N()-y;G(bu(o.bold,o.italic,U(o),o.fontFamily,s));let n=K(o),r=``;try{r=t>0?ed(e,o.text,t,ku(o,u),ju(o),Au(o,i),o.verticalRun===!0):``}finally{q(n)}let a=[...o.text],c=[...r].length,d=$u(a,eo(a,c,l,v.length>0?0:1)),f=a.slice(0,d).join(``);if(f.length>0){let e=ie(o,f);H({...o,text:f,measuredWidth:e},e,S,k,A);let t=o.text.slice(f.length);t&&Y.unshift({...o,text:t,measuredWidth:0,src:{segIndex:o.src.segIndex,charOffset:o.src.charOffset+f.length}})}else if(v.length>0){let e=null,t=o.text.codePointAt(0),n=v[v.length-1];if(t!==void 0&&l.lineStartForbidden.has(t)&&`text`in n){let t=n,r=[...t.text],i=to(r,l,v.length>1?0:1);if(i>0){let n=r.slice(0,r.length-i).join(``),a=r.slice(r.length-i).join(``);if(e={...t,text:a,measuredWidth:ie(t,a),src:{segIndex:t.src.segIndex,charOffset:t.src.charOffset+n.length}},n){let e=ie(t,n);y-=t.measuredWidth-e,v[v.length-1]={...t,text:n,measuredWidth:e}}else y-=t.measuredWidth,v.pop()}}B(void 0,!1,e?.src??o.src),Y.unshift(o),e&&Y.unshift(e)}else{let e=[...o.text],t=e.length>0?$u(e,1):0,n=e.slice(0,t).join(``);if(n){let e=ie(o,n);H({...o,text:n,measuredWidth:e},e,S,k,A);let t=o.text.slice(n.length);t&&Y.unshift({...o,text:t,measuredWidth:0,src:{segIndex:o.src.segIndex,charOffset:o.src.charOffset+n.length}})}}}else if(o.seaBreaks!==void 0){let e=N()-y,t=e=>ie(o,e),n=_o(o.text),r=Do(o.text,o.seaBreaks,0,e,t,n);if(r>0){let e=o.text.slice(0,r),t=ie(o,e);H({...o,text:e,measuredWidth:t},t,S,k,A);let n=o.text.slice(r);n&&Y.unshift({...o,text:n,measuredWidth:0,src:{segIndex:o.src.segIndex,charOffset:o.src.charOffset+r},seaBreaks:Qu(o.seaBreaks,r)})}else if(v.length>0){let e=null,t=o.text.codePointAt(0),n=v[v.length-1];if(t!==void 0&&l.lineStartForbidden.has(t)&&`text`in n){let t=n,r=[...t.text],i=to(r,l,v.length>1?0:1);if(i>0){let n=r.slice(0,r.length-i).join(``),a=r.slice(r.length-i).join(``);if(e={...t,text:a,measuredWidth:ie(t,a),src:{segIndex:t.src.segIndex,charOffset:t.src.charOffset+n.length},seaBreaks:Qu(t.seaBreaks,n.length)},n){let e=ie(t,n);y-=t.measuredWidth-e,v[v.length-1]={...t,text:n,measuredWidth:e}}else y-=t.measuredWidth,v.pop()}}B(void 0,!1,e?.src??o.src),Y.unshift(o),e&&Y.unshift(e)}else{let r=o.seaBreaks[0]??o.text.length,i=o.text.slice(0,r),a=Ao(i),s=Do(i,a,0,e,t,n);s<=0&&(s=a.length>0?a[0]:i.length);let c=o.text.slice(0,s),l=ie(o,c);H({...o,text:c,measuredWidth:l},l,S,k,A);let u=o.text.slice(s);u&&Y.unshift({...o,text:u,measuredWidth:0,src:{segIndex:o.src.segIndex,charOffset:o.src.charOffset+s},seaBreaks:Qu(o.seaBreaks,s)})}}else if(v.length===0){let t=N();G(bu(o.bold,o.italic,U(o),o.fontFamily,s));let n=[...o.text],r=K(o),a=0;try{a=t>0?[...ed(e,o.text,t,ku(o,u),ju(o),Au(o,i),o.verticalRun===!0)].length:0}finally{q(r)}if(a<1&&(a=1),a=$u(n,a),a>=n.length)o.measuredWidth=_,H(o,_,S,k,A);else{let e=n.slice(0,a).join(``),t=ie(o,e);H({...o,text:e,measuredWidth:t},t,S,k,A),Y.unshift({...o,text:n.slice(a).join(``),measuredWidth:0,src:{segIndex:o.src.segIndex,charOffset:o.src.charOffset+e.length}})}}else B(void 0,!1,o.src),Y.unshift(o)}return v.length>0?B():Z!==null&&B(Z),_}function gd(e,t,n,r,i){if(t===1)return e;let a=(e,t)=>{if(e.kerning==null)return t();let r=n.fontKerning;n.fontKerning=e.fontSize>=e.kerning?`normal`:`none`;try{return t()}finally{n.fontKerning=r}},o=(e,t)=>a(e,()=>n.measureText(t).width+(e.verticalRun?$l(n,t):0)),s=e=>{let s=xu(e,t);n.font=bu(e.bold,e.italic,s,e.fontFamily,r);let c=a(e,()=>n.measureText(e.text)),l=Pu(e,o(e,e.text),i,t),u=e.fontSize*t,d=c,f=s;e.smallCaps&&!e.vertAlign&&f!==u&&(n.font=bu(e.bold,e.italic,u,e.fontFamily,r),d=n.measureText(e.text||`X`),f=u);let p=Tu.test(e.text)&&!e.ruby,m=Bu(d,e.fontFamily,u,f,p),h=e.ruby?m.ascent+ou(e.ruby.fontSizePt,e.ruby.hpsRaisePt,t):m.ascent,g=e.smallCaps&&!e.vertAlign?u:s,_=sc(e.fontFamily,g,p);return{advance:l,asc:h,desc:m.descent,intended:_,gridCount:p?Lu(_,g):0}};return e.map(e=>{let i=0,a=0,c=0,l=0,u=!1,d=e.segments.map(e=>({...e}));pd(d.filter(e=>`text`in e),t,e=>{let i=xu(e,t);return n.font=bu(e.bold,e.italic,i,e.fontFamily,r),o(e,e.text)});let f=d.map(e=>{if(`isTab`in e)return{...e,measuredWidth:e.measuredWidth*t};if(`imagePath`in e){if(e.anchor)return{...e,measuredWidth:0};let n=e.heightPt*t;return i=Math.max(i,n),l=Math.max(l,n),{...e,measuredWidth:e.widthPt*t}}if(`mathNodes`in e){let n={...e,measuredWidth:e.measuredWidth*t};return n.mathAscent*=t,n.mathDescent*=t,i=Math.max(i,n.mathAscent,e.fontSize*t*.8),a=Math.max(a,n.mathDescent,e.fontSize*t*.2),l=Math.max(l,n.mathAscent+n.mathDescent),n}let n=e,r=s(n);return u=!0,r.asc>i&&(i=r.asc),r.desc>a&&(a=r.desc),r.intended>c&&(c=r.intended),l=Math.max(l,r.gridCount),{...n,measuredWidth:r.advance}});return!u&&i===0&&a===0&&(i=e.ascent*t,a=e.descent*t,c=e.intendedSingle*t,l=e.gridCountSingle*t),{...e,segments:f,ascent:i,descent:a,intendedSingle:c,gridCountSingle:l||i+a,xOffset:e.xOffset*t,availWidth:e.availWidth*t,topY:e.topY===void 0?void 0:e.topY*t}})}function _d(e){return{type:`text`,text:e.text,bold:e.bold??!1,italic:e.italic??!1,underline:!1,strikethrough:!1,fontSize:e.fontSizePt,color:e.color??null,fontFamily:e.fontFamily??null,fontFamilyEastAsia:e.fontFamilyEastAsia??null,isLink:!1,background:null,vertAlign:null,hyperlink:null,ruby:e.ruby??void 0}}function vd(e,t,n,r){return{ctx:e,scale:t,fontFamilyClasses:n,images:r,kinsoku:$a,defaultTabPt:36}}function yd(e){return{story:e.story,containers:[...e.containers,{kind:`tableCell`}],lineNumberingEligible:!1}}function bd(e){return e.runs.some(e=>e.type===`text`&&!!e.ruby)}function xd(e){return e.runs.some(e=>e.type===`text`&&Tu.test(e.text))}function Sd(e){for(let t of e){if(t.type===`paragraph`){if(xd(t))return!0;continue}if(t.type===`table`){for(let e of t.rows)for(let t of e.cells)if(Sd(t.content))return!0}}return!1}function Cd(e){return{kinsoku:Qa(e.settings),defaultTabPt:sd(e.settings),characterSpacingControl:e.settings?.characterSpacingControl,mathDefJc:e.settings?.mathDefJc,documentHasEastAsianText:Sd(e.body),compat:{adjustLineHeightInTable:e.settings?.adjustLineHeightInTable??!1,useFeLayout:e.settings?.useFeLayout??!1,balanceSingleByteDoubleByteWidth:e.settings?.balanceSingleByteDoubleByteWidth??!1}}}function wd(e){let t=e.pageWidth-e.marginLeft-e.marginRight,n=e.columns;if(!n||n.count<=1)return[{xPt:e.marginLeft,wPt:Math.max(1,t)}];if(!n.equalWidth&&n.cols.length>0){let t=[],r=e.marginLeft;for(let e of n.cols)t.push({xPt:r,wPt:Math.max(1,e.widthPt)}),r+=e.widthPt+e.spacePt;return t}let r=Math.max(1,(t-(n.count-1)*n.spacePt)/n.count);return Array.from({length:n.count},(t,i)=>({xPt:e.marginLeft+i*(r+n.spacePt),wPt:r}))}function Td(e){switch(e){case`lines`:case`linesAndChars`:case`snapToChars`:return e;default:return`none`}}function Ed(e){return e===`lines`||e===`linesAndChars`||e===`snapToChars`}function Dd(e){return e===`linesAndChars`||e===`snapToChars`}function Od(e,t){return{geometry:{pageWidth:t.pageWidth,pageHeight:t.pageHeight,marginTop:t.marginTop,marginRight:t.marginRight,marginBottom:t.marginBottom,marginLeft:t.marginLeft,headerDistance:t.headerDistance,footerDistance:t.footerDistance},columns:wd(t),grid:{kind:Td(t.docGridType),linePitchPt:t.docGridLinePitch??null,charSpacePt:t.docGridCharSpace==null?null:t.docGridCharSpace/4096},textDirection:t.textDirection??`lrTb`,verticalAlignment:t.vAlign??`top`,lineNumbering:t.lineNumbering??void 0}}function kd(e){return{type:e.grid.kind===`none`?null:e.grid.kind,linePitchPt:e.grid.linePitchPt,charSpacePt:e.grid.charSpacePt}}function Ad(e){return e.containers.some(e=>e.kind===`tableCell`)}function jd(e,t,n,r){let i=Ed(t.grid.kind)&&t.grid.linePitchPt!=null&&t.grid.linePitchPt>0&&r.snapToGrid!==!1&&r.lineSpacing?.rule!==`exact`&&(!Ad(n)||e.compat.adjustLineHeightInTable),a=Dd(t.grid.kind)&&t.grid.charSpacePt!=null,o=r.bidi===!0,s=r.numbering,c=s!=null&&(s.text!==``||s.picBulletImagePath!=null),l=o&&c&&(s.suff||`tab`)===`tab`&&r.indentFirst<0;return{lineGrid:{active:i,pitchPt:i?t.grid.linePitchPt:null},characterGrid:{active:a,deltaPt:a?t.grid.charSpacePt??0:0},physicalIndentLeftPt:o?r.indentRight:r.indentLeft,physicalIndentRightPt:o?r.indentLeft:r.indentRight,firstIndentPt:l?0:r.indentFirst,lineSpacing:r.lineSpacing,spaceBeforePt:r.spaceBefore,spaceAfterPt:r.spaceAfter,baseRtl:o,isJustified:Lc(r.alignment),stretchLastLine:Rc(r.alignment),tabStops:[...r.tabStops],hasRuby:bd(r),hasEastAsianText:xd(r),kinsoku:e.kinsoku,defaultTabPt:e.defaultTabPt}}function Md(e,t,n,r){let i=[...e],a=[],o=``;for(let e=0;e<i.length;e++){let s=i[e],c=n+t(o)+e*r,l=o+s,u=n+t(l)+(e+1)*r;o=l,/\\s/u.test(s)||a.push({centerX:(c+u)/2})}return a}function Nd(e,t){let n=t*.07;switch(e){case`circle`:return{shape:`circle`,radius:n,above:!0};case`comma`:return{shape:`comma`,radius:n,above:!0};case`underDot`:return{shape:`dot`,radius:n,above:!1};default:return{shape:`dot`,radius:n,above:!0}}}function Pd(e){let t=[...e];return{lineWindow:({topYPt:e,minimumStartWidthPt:n,probeHeightPt:r,paragraphXPt:i,maximumWidthPt:a,columnXPt:o,columnWidthPt:s})=>{let c=Wc(e,n,r,i,a,t,o,o+s);return{topYPt:c.topY,xOffsetPt:c.xOffset,maximumWidthPt:c.maxWidth}},skipTopAndBottomBands:({yPt:e,columnXPt:n,columnWidthPt:r})=>Kc(e,t,n,n+r)}}function Fd(e){return{type:e.lineGrid.active?`lines`:null,linePitchPt:e.lineGrid.active?e.lineGrid.pitchPt:null,charSpacePt:e.characterGrid.active?e.characterGrid.deltaPt:null}}function Id(e,t){if(!Fu(t))return e;let n=t.linePitchPt;return n<=0?e:e<=n?n:Math.ceil(e/n)*n}function Ld(e,t,n,r,i,a){let o=Fd(t),s=Math.max(1,n.availableWidthPt-t.physicalIndentLeftPt-t.physicalIndentRightPt),c=n.paragraphXPt+t.physicalIndentLeftPt,l=t.spaceBeforePt,u=t.spaceAfterPt,d=Object.freeze({...n}),f=r.fontFamilyClasses,p=n.startYPt+(n.suppressSpaceBefore?0:l);n.wrap&&(p=n.wrap.skipTopAndBottomBands({yPt:p,columnXPt:n.paragraphXPt,columnWidthPt:n.availableWidthPt}));let m=()=>{let a=p;n.wrap&&(a=n.wrap.lineWindow({topYPt:a,minimumStartWidthPt:Su(e),probeHeightPt:10,paragraphXPt:c,maximumWidthPt:s,columnXPt:n.paragraphXPt,columnWidthPt:n.availableWidthPt}).topYPt);let m=Hu(e,1,o,t.hasRuby,i.documentHasEastAsianText===!0,r.context,f,t.lineSpacing);return{lines:[],markOnly:!0,requestedSpaceBeforePt:l,requestedSpaceAfterPt:u,uniformRubyAdvancePt:0,contentStartYPt:a,contentEndYPt:a+m,lastLineBelowBaselinePt:Wu(e,o,t.hasRuby,i.documentHasEastAsianText===!0,r.context,f,t.lineSpacing),placement:d}},h=md(e.runs,i);if(h.length===0)return m();let g=n.wrap?{startPageY:p,paraX:c,columnXPt:n.paragraphXPt,columnWidthPt:n.availableWidthPt,floats:[],lineWindow:e=>n.wrap.lineWindow(e),lineBoxH:(e,n,r,i,a,s)=>Ru(t.lineSpacing,e,n,1,o,t.hasRuby,i??0,t.hasRuby?t.hasEastAsianText:a??!1,s),pageH:n.maximumYPt}:void 0,_=hd(r.context,h,s,a?0:t.firstIndentPt,1,[...t.tabStops],g,f,t.physicalIndentLeftPt,t.kinsoku,t.characterGrid.active?t.characterGrid.deltaPt:0,t.defaultTabPt,s+t.physicalIndentRightPt,t.baseRtl,t.isJustified,t.stretchLastLine,a?.boundary);if(_.length===0)return m();let v=t.hasRuby?Id(Math.max(0,..._.map(e=>Ru(t.lineSpacing,e.ascent,e.descent,1,o,!0,e.intendedSingle,t.hasEastAsianText))),o):0;t.hasRuby&&a?.uniformRubyAdvancePt!==void 0&&(v=Math.max(v,a.uniformRubyAdvancePt));let y=[];for(let e of _){let n=e.topY!==void 0&&e.topY>p?e.topY:p,r=t.hasRuby?v:Ru(t.lineSpacing,e.ascent,e.descent,1,o,!1,e.intendedSingle,e.eastAsian??!1,e.gridCountSingle);y.push({layout:e,topYPt:n,advancePt:r}),p=n+r}let b=y[y.length-1];return{lines:y,markOnly:!1,requestedSpaceBeforePt:l,requestedSpaceAfterPt:u,uniformRubyAdvancePt:v,contentStartYPt:y[0].topYPt,contentEndYPt:p,lastLineBelowBaselinePt:Uu(b.advancePt,b.layout.ascent,b.layout.descent),placement:d}}function Rd(e){let t=e.measured;if(t.markOnly||t.lines.length===0)return t.contentEndYPt-t.contentStartYPt;let n=0;for(let r=e.lineStart;r<e.lineEnd;r++){let i=t.lines[r];if(!i)break;if(r===e.lineStart){n+=i.advancePt;continue}let a=t.lines[r-1],o=a.topYPt+a.advancePt;n+=Math.max(0,i.topYPt-o)+i.advancePt}return n}function zd(e){return e.leadingSpacePt+Rd(e)+e.trailingSpacePt}function Bd(e){let t=0;for(let n of e.rows)t+=n.heightPt;return t}function Vd(e){return e.vMerge===!0?`restart`:e.vMerge===!1?`continue`:`none`}function Hd(e){let{table:t,columnWidthsPt:n,rowHeightsPt:r,continuesFromPreviousPage:i,continuesOnNextPage:a,repeatedHeaderRowCount:o,buildCellBlocks:s}=e,c=e.sourceRowIndexOf??(e=>e),l=Object.freeze([...n]),u=t.rows.map((e,t)=>{let n=0,i=e.cells.map(e=>{let i=Math.min(e.colSpan,l.length-n),a=0;for(let e=n;e<n+i;e++)a+=l[e]??0;n+=i;let o=Vd(e),c=Object.freeze(o===`continue`?[]:[...s(e,a)]);return Object.freeze({source:e,blocks:c,verticalMerge:o,boxHeightPt:r[t]??0})});return Object.freeze({source:e,sourceRowIndex:c(t),heightPt:r[t]??0,cells:Object.freeze(i),repeatedHeader:t<o})});return Object.freeze({kind:`table`,source:t,columnWidthsPt:l,rows:Object.freeze(u),continuesFromPreviousPage:i,continuesOnNextPage:a})}function Ud(e,t,n={}){let r=e.fragment;if(r.kind!==`paragraph`)return;let i=r.measured,a=i.lines.map(e=>e.layout),o=n.continuesParagraph===!0,s=r.lineStart===0&&r.lineEnd===i.lines.length&&!o?void 0:{start:r.lineStart,end:r.lineEnd,...o?{continues:!0}:{}};pm(r.source,t,a,n.suppressSpaceBefore??!1,s,n.borderMerge)}function Wd(e,t){let n=e.fragment;n.kind===`table`&&ch(n,t)}const Gd={yellow:`#FFFF00`,cyan:`#00FFFF`,green:`#00FF00`,magenta:`#FF00FF`,blue:`#0000FF`,red:`#FF0000`,darkBlue:`#000080`,darkCyan:`#008080`,darkGreen:`#008000`,darkMagenta:`#800080`,darkRed:`#800000`,darkYellow:`#808000`,darkGray:`#808080`,lightGray:`#C0C0C0`,black:`#000000`,white:`#FFFFFF`};function Kd(e){return e===`lowKashida`?`low`:e===`mediumKashida`?`medium`:e===`highKashida`?`high`:null}function qd(e,t,n,r,i,a,o){let s=t.map(e=>`text`in e&&e.fitTextRegionIndex===void 0?{text:e.text}:{}),c=new Map,l=(n,r)=>{let s=t[n];e.font=bu(s.bold,s.italic,xu(s,i),s.fontFamily,a);let c=e.fontKerning,l=e.letterSpacing;s.kerning!=null&&(e.fontKerning=s.fontSize>=s.kerning?`normal`:`none`),e.letterSpacing=`0px`;let u=e.measureText(r).width;return e.letterSpacing=l,s.kerning!=null&&(e.fontKerning=c),Pu({...s,text:r},u,o,i)};return bl(s,n,r,(e,n)=>{let r=t[e],i=c.get(e);return i===void 0&&(i=l(e,r.text),c.set(e,i)),n===r.text?r.measuredWidth:r.measuredWidth+l(e,n)-i})}const Jd={story:`body`,containers:[],lineNumberingEligible:!0};function Yd(e,t){return jd(e.layoutSettings,e.sectionLayout,Jd,t)}function Xd(e,t){return jd(e.layoutSettings,e.sectionLayout,e.storyContext??Jd,t)}function Zd(e){return{...e,storyContext:yd(e.storyContext??Jd)}}function Qd(e){return e==null?Date.now():typeof e==`number`?e:e.getTime()}function $d(e,t,n){let r=e;return t&&(r+=`|clr:${t}`),n&&(r+=`|duo:${n.clr1}:${n.clr2}`),r}const ef=new WeakMap;function tf(e){let t=ef.get(e);return t||(t=new Map,ef.set(e,t)),t}function nf(e){let t=ef.get(e);if(t){for(let n of t.values())Ki(e,n);t.clear(),ef.delete(e)}}const rf=[`#C00000`,`#0070C0`,`#00B050`,`#7030A0`,`#E97132`,`#196B24`,`#9E480E`,`#525252`];function af(e){if(!e)return rf[0];let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return rf[Math.abs(t)%rf.length]}function of(e){let t=new Map,n=e=>{let n=$d(e.imagePath,e.colorReplaceFrom,e.duotone),r=t.get(n);r?(r.widthPt=Math.max(r.widthPt,e.widthPt),r.heightPt=Math.max(r.heightPt,e.heightPt),r.hasCrop=r.hasCrop||e.hasCrop):t.set(n,e)},r=e=>{let t=e.numbering,r=t?.picBulletImagePath;if(r&&t){let i=wh(t,e);n({imagePath:r,mimeType:t.picBulletMimeType??``,widthPt:i.w,heightPt:i.h})}},i=e=>{for(let t of e)if(t.type===`image`){let e=t;n({imagePath:e.imagePath,mimeType:e.mimeType,svgImagePath:e.svgImagePath,colorReplaceFrom:e.colorReplaceFrom,duotone:e.duotone,...Qi(e.mimeType,e.srcRect,e.widthPt??0,e.heightPt??0),hasCrop:e.srcRect!=null})}else if(t.type===`shape`){let e=t;for(let t of e.textBlocks??[])t.imagePath&&n({imagePath:t.imagePath,mimeType:t.mimeType??``,svgImagePath:t.svgImagePath,widthPt:t.imageWidthPt??0,heightPt:t.imageHeightPt??0})}},a=e=>{for(let t of e.rows)for(let e of t.cells)for(let t of e.content)if(t.type===`paragraph`){let e=t;r(e),i(e.runs)}else t.type===`table`&&a(t)},o=e=>{for(let t of e){if(t.type===`paragraph`){let e=t;r(e),i(e.runs)}t.type===`table`&&a(t)}};return o(e.body),e.headers.default&&o(e.headers.default.body),e.headers.first&&o(e.headers.first.body),e.headers.even&&o(e.headers.even.body),e.footers.default&&o(e.footers.default.body),e.footers.first&&o(e.footers.first.body),e.footers.even&&o(e.footers.even.body),[...t.values()]}async function sf(e,t){let n=parseInt(t.slice(0,2),16),r=parseInt(t.slice(2,4),16),i=parseInt(t.slice(4,6),16),a=new OffscreenCanvas(e.width,e.height),o=a.getContext(`2d`);o.drawImage(e,0,0);let s=o.getImageData(0,0,e.width,e.height),c=s.data;for(let e=0;e<c.length;e+=4)c[e]===n&&c[e+1]===r&&c[e+2]===i&&(c[e+3]=0);return o.putImageData(s,0,0),createImageBitmap(a)}async function cf(e,t,n,r,i=0,a=0,o){let s=await qi(e,t,r,{widthPt:i,heightPt:a,suppressBoundaryFrame:!0});if(!s)return null;if(!n&&!o)return s;let c=tf(r),l=$d(e,n,o),u=c.get(l);return u||(u=(async()=>{let e=s;if(n&&(e=await sf(e,n)),o){let{w:t,h:n}=Yi(e);t>0&&n>0&&(e=await ra(e,o,{width:t,height:n}))}return e})(),u.catch(()=>c.delete(l)),u.then(e=>{e===s&&c.delete(l)}).catch(()=>{}),c.set(l,u)),u}async function lf(e,t){if(!t)return new Map;let n=t,r=of(e),i=await Promise.all(r.map(async e=>{let t=e.mimeType===`image/svg+xml`,r={svgImagePath:e.svgImagePath,srcRect:e.hasCrop||null};try{let i;if(ia(r))try{i=await ir(r.svgImagePath,n)}catch{i=t?await ir(e.imagePath,n):await cf(e.imagePath,e.mimeType,e.colorReplaceFrom,n,e.widthPt,e.heightPt,e.duotone)}else i=t?await ir(e.imagePath,n):await cf(e.imagePath,e.mimeType,e.colorReplaceFrom,n,e.widthPt,e.heightPt,e.duotone);return i?[$d(e.imagePath,e.colorReplaceFrom,e.duotone),i]:null}catch{return null}}));return new Map(i.filter(e=>e!==null))}const uf=new WeakMap;function df(e){return ff(e.textDirection)}function ff(e){return e===`tbRl`||e===`tbRlV`||e===`tbLrV`||e===`btLr`}function pf(e){return e===`btLr`}function mf(e){return{...e,pageWidth:e.pageHeight,pageHeight:e.pageWidth,marginLeft:e.marginTop,marginTop:e.marginRight,marginRight:e.marginBottom,marginBottom:e.marginLeft,headerDistance:e.headerDistance,footerDistance:e.footerDistance}}function hf(e){return df(e.section)?{...e,section:mf(e.section)}:e}function gf(e){return{...e,pageWidth:e.pageHeight,pageHeight:e.pageWidth,marginTop:e.marginLeft,marginRight:e.marginTop,marginBottom:e.marginRight,marginLeft:e.marginBottom}}function _f(e){return{pageWidth:e.pageHeight,pageHeight:e.pageWidth,marginLeft:e.marginTop,marginTop:e.marginRight,marginRight:e.marginBottom,marginBottom:e.marginLeft,headerDistance:e.headerDistance,footerDistance:e.footerDistance}}function vf(e){return{pageWidth:e.pageHeight,pageHeight:e.pageWidth,marginTop:e.marginLeft,marginRight:e.marginTop,marginBottom:e.marginRight,marginLeft:e.marginBottom,headerDistance:e.headerDistance,footerDistance:e.footerDistance}}const yf=new WeakMap;function bf(e,t,n){let r=e[t],i=r?.[0]?.sectionTextDirection;if(i!==void 0)return i;let a=r?yf.get(r):void 0;return a?a.textDirection:n.textDirection??null}function xf(e,t,n){let r=e[t],i=r?yf.get(r):void 0,a=r?.[0]?.sectionGeom??i?.geom;return a==null?{widthPt:n.pageWidth,heightPt:n.pageHeight}:ff(bf(e,t,n))?{widthPt:a.pageHeight,heightPt:a.pageWidth}:{widthPt:a.pageWidth,heightPt:a.pageHeight}}function Sf(e,t,n,r){e.save();let i=Math.max(24,Math.min(t,n)*.06);e.strokeStyle=`#c8ccd2`,e.lineWidth=Math.max(1,Math.min(t,n)*.003),e.setLineDash([e.lineWidth*6,e.lineWidth*5]),e.strokeRect(i,i,t-i*2,n-i*2),e.setLineDash([]);let a=t/2,o=Math.min(t,n),s=Math.max(24,o*.09);e.fillStyle=`#b23b3b`,e.textAlign=`center`,e.textBaseline=`middle`,e.font=`${s}px sans-serif`,e.fillText(`⚠`,a,n*.34);let c=Math.max(13,o*.032);e.fillStyle=`#333333`,e.font=`600 ${c}px sans-serif`,e.fillText(`This document could not be displayed`,a,n*.44);let l=Math.max(10,o*.02);e.fillStyle=`#666666`,e.font=`${l}px sans-serif`;let u=t-i*4,d=r.split(/\\s+/),f=[],p=``;for(let t of d){let n=p?`${p} ${t}`:t;if(e.measureText(n).width>u&&p?(f.push(p),p=t):p=n,f.length>=4)break}p&&f.length<4&&f.push(p);let m=l*1.4,h=n*.5+m;for(let t of f.slice(0,4))e.fillText(t,a,h),h+=m;e.restore()}async function Cf(e,t,n,r={}){let i=r.fetchImage?Gi(r.fetchImage):void 0;try{await wf(e,t,n,r)}finally{i?.()}}async function wf(e,t,n,r={}){let i=(uf.get(t)??0)+1;uf.set(t,i);let a=()=>uf.get(t)!==i,o=r.dpr??oa(),s=t.getContext(`2d`),c=hf(e),l=Cd(c),u=l.kinsoku,d=r.prebuiltPages??Xf(c,s,_u(c.fontFamilyClasses,c.fontFamilyPitches),l,c.footnotes??[]),f=Math.max(r.totalPages??d.length,d.length),p=d[n]??d[0]??[],m=hc(d)[n]??{displayNumber:n+1,format:`decimal`},h=Wp(d,n,c).geom,g=bf(d,n,c.section),_={...c.section,...h,textDirection:g},v=df(_),y=Od(l,_),b=v?_.pageHeight:_.pageWidth,x=v?_.pageWidth:_.pageHeight,S=r.width??b*1.3333333333333333,C=S/b,w=x*C,T=la(S*o,w*o),E=T.clamped?o*T.scale:o;if(t.width=T.width,t.height=T.height,aa(t)&&(t.style.width=`${S}px`,t.style.height=`${w}px`,t.style.display||(t.style.display=`block`)),s.scale(E,E),s.fillStyle=`#ffffff`,s.fillRect(0,0,S,w),e.parseError!=null){Sf(s,S,w,e.parseError);return}v&&(s.translate(S,0),s.rotate(Math.PI/2));let D=await lf(e,r.fetchImage);if(a())return;let O=Af(e.footnotes),k=Af(e.endnotes),A=new Map;for(let[e,t]of O)A.set(`footnote:${e}`,t);for(let[e,t]of k)A.set(`endnote:${e}`,t);let j=Wf(_.marginTop),M=Wf(_.marginBottom),N={ctx:s,scale:C,dpr:E,contentX:_.marginLeft*C,contentW:(_.pageWidth-_.marginLeft-_.marginRight)*C,y:j*C,pageH:_.pageHeight*C,defaultColor:r.defaultTextColor??`#000000`,pageIndex:n,totalPages:f,displayPageNumber:m.displayNumber,pageNumberFormat:m.format,images:D,dryRun:!1,marginLeft:_.marginLeft,marginRight:_.marginRight,marginTop:j,marginBottom:M,pageWidth:_.pageWidth,floats:[],floatParaSeq:0,docGrid:kd(y),layoutSettings:l,sectionLayout:y,storyContext:Jd,docEastAsian:l.documentHasEastAsianText,fontFamilyClasses:_u(e.fontFamilyClasses,e.fontFamilyPitches),kinsoku:u,defaultTabPt:l.defaultTabPt,characterSpacingControl:l.characterSpacingControl,useFeLayout:l.compat.useFeLayout,balanceSingleByteDoubleByteWidth:l.compat.balanceSingleByteDoubleByteWidth,mathDefJc:l.mathDefJc,onTextRun:r.onTextRun,showTrackChanges:r.showTrackChanges??!0,currentDateMs:Qd(r.currentDate),noteNumbers:A,verticalCJK:v,verticalAllRotated:v&&pf(g),verticalPhys:v?{pageWidth:b,pageHeight:x,marginLeft:_.marginBottom,marginRight:_.marginTop,marginTop:Wf(_.marginLeft),marginBottom:Wf(_.marginRight),cssWidthPx:S}:void 0},P=qf(d,n,e),F=Kf(d,n,e),I=0,L=0;if(v){if(P||F){let e={...gf(_),textDirection:null},t=Od(l,e),n={...N,contentX:e.marginLeft*C,contentW:(b-e.marginLeft-e.marginRight)*C,marginLeft:e.marginLeft,marginRight:e.marginRight,marginTop:Wf(e.marginTop),marginBottom:Wf(e.marginBottom),pageWidth:b,pageH:x*C,docGrid:kd(t),sectionLayout:t,verticalCJK:!1,verticalAllRotated:!1,verticalPhys:void 0};if(s.save(),s.setTransform(E,0,0,E,0,0),P&&Gp(P,e.headerDistance*C,n),F){let t=Kp(F,n);Gp(F,w-e.footerDistance*C-t,n)}s.restore()}}else{if(P){let e=Kp(P,N);Gp(P,_.headerDistance*C,N),I=Uf(e,_.marginTop*C,_.headerDistance*C)}if(F){let e=Kp(F,N);Gp(F,w-_.footerDistance*C-e,N),L=Hf(e,_.marginBottom*C,_.footerDistance*C)}}let R=wd(_),z=j*C+I,B={...N,y:z},V=_.lineNumbering;if(V&&R.length<=1){B.lineNumbering={countBy:V.countBy,start:V.start,distancePt:V.distance??If,fontSizePt:Lf(e)};let t=V.start;if((V.restart===`continuous`||V.restart===`newSection`)&&n>0){let e=V.start;for(let t=0;t<n;t++){let n={...B,y:0,dryRun:!0,floats:[],lineNumberCounter:e};nm(d[t]??[],n,wd(_),0),e=n.lineNumberCounter??e}t=e}B.lineNumberCounter=t}let H=_.vAlign;if((H===`center`||H===`bottom`)&&I===0){let e=j*C,t=w-M*C-L-e,n={...B,y:0,dryRun:!0,floats:[],lineNumbering:void 0,lineNumberCounter:void 0};nm(p,n,R,0);let r=n.y;r<t&&(B.y=e+(H===`center`?(t-r)/2:t-r))}if(_.pageBorders&&_.pageBorders.zOrder===`back`&&Rf(_.pageBorders,n)&&zf(s,_.pageBorders,_,C),_.columns?.sep){let e=new Set,t=[];for(let n of p){let r=n.colGeom??R;r.length>1&&!e.has(r)&&(e.add(r),t.push(r))}t.length===0&&R.length>1&&t.push(R);for(let e of t)tm(s,e,_,C)}nm(p,B,R,I),Ef(p,e,N,C,w,_,L),n===f-1&&Df(e,B,C,w,_),_.pageBorders&&_.pageBorders.zOrder!==`back`&&Rf(_.pageBorders,n)&&zf(s,_.pageBorders,_,C)}function Tf(e,t,n,r,i){return Pf(e,Qf(t,n,r,i),n.pageWidth-n.marginLeft-n.marginRight)}function Ef(e,t,n,r,i,a,o=0){if(!t.footnotes||t.footnotes.length===0)return;let s=jf(t.footnotes),c=[],l=new Set;for(let t of e)for(let e of Nf(t))!l.has(e)&&s.has(e)&&(l.add(e),c.push(e));if(c.length===0)return;let u=0,d=0;for(let e of c){let t=s.get(e);if(!t)continue;let r=Tf(t,n.ctx,a,n.fontFamilyClasses,n.layoutSettings);u+=r.total,d=r.trailingSpaceAfter}let f=Math.max(0,u-d),p=Of*r,m=i-Wf(a.marginBottom)*r-o-f*r,h=a.marginLeft*r,g=Math.round(m-p),_=n.ctx;_.save(),_.strokeStyle=n.defaultColor;let v=Math.max(1,Math.round(.5*r));_.lineWidth=v;let y=sa(g,v,n.dpr);_.beginPath(),_.moveTo(h,g+y),_.lineTo(h+(a.pageWidth-a.marginLeft-a.marginRight)*r/3,g+y),_.stroke(),_.restore();let b={...n,y:m};for(let e of c){let n=s.get(e);n&&(b.currentNoteNumber=t.footnotes.findIndex(t=>t.id===e)+1,rm(n.content.filter(e=>e.type===`paragraph`),b))}}function Df(e,t,n,r,i){if(!e.endnotes||e.endnotes.length===0)return;let a=e.endnotes.filter(e=>e.content.some(e=>e.type===`paragraph`&&e.runs.length>0));if(a.length===0)return;let o=t.ctx,s=t.y+Of*2*n;if(s>=r-Wf(i.marginBottom)*n)return;let c=i.marginLeft*n;o.save(),o.strokeStyle=t.defaultColor;let l=Math.max(1,Math.round(.5*n));o.lineWidth=l;let u=Math.round(s),d=sa(u,l,t.dpr);o.beginPath(),o.moveTo(c,u+d),o.lineTo(c+(i.pageWidth-i.marginLeft-i.marginRight)*n/3,u+d),o.stroke(),o.restore();let f={...t,y:s+Of*n,lineNumbering:void 0,lineNumberCounter:void 0};for(let t of a)f.currentNoteNumber=e.endnotes.findIndex(e=>e.id===t.id)+1,rm(t.content.filter(e=>e.type===`paragraph`),f)}const Of=6,kf={default:null,first:null,even:null};function Af(e){let t=new Map;return e&&e.forEach((e,n)=>t.set(e.id,n+1)),t}function jf(e){let t=new Map;if(!e)return t;for(let n of e)t.set(n.id,n);return t}function Mf(e){let t=[];for(let n of e){if(n.type!==`text`)continue;let e=n.noteRef;e&&e.kind===`footnote`&&e.id&&t.push(e.id)}return t}function Nf(e){if(e.type===`paragraph`)return Mf(e.runs);if(e.type===`table`){let t=[];for(let n of e.rows)for(let e of n.cells)for(let n of e.content)t.push(...Nf(n));return t}return[]}function Pf(e,t,n){let r=0,i=0;for(let a of e.content){if(a.type!==`paragraph`)continue;let e=a;r+=mp(t,e,n,!1),i=e.spaceAfter}return{total:r,trailingSpaceAfter:i}}function Ff(e,t,n,r){let{total:i,trailingSpaceAfter:a}=Pf(e,t,n);return Math.max(0,i-a)+(r?6:0)}const If=18;function Lf(e){for(let t of e.body)if(t.type===`paragraph`){let e=t;if(typeof e.defaultFontSize==`number`)return e.defaultFontSize;for(let t of e.runs)if(t.type===`text`)return t.fontSize}return 10}function Rf(e,t){switch(e.display){case`firstPage`:return t===0;case`notFirstPage`:return t!==0;default:return!0}}function zf(e,t,n,r){let i=t.offsetFrom===`text`,a=i?n.marginLeft:0,o=i?n.pageWidth-n.marginRight:n.pageWidth,s=i?Wf(n.marginTop):0,c=i?n.pageHeight-Wf(n.marginBottom):n.pageHeight,l=e=>({width:e.width,color:e.color??null,style:e.style}),u=(s+(t.top?.space??0))*r,d=(c-(t.bottom?.space??0))*r,f=(a+(t.left?.space??0))*r,p=(o-(t.right?.space??0))*r;t.top&&fh(e,f,u,p,u,l(t.top),r,1),t.bottom&&fh(e,f,d,p,d,l(t.bottom),r,1),t.left&&fh(e,f,u,f,d,l(t.left),r,1),t.right&&fh(e,p,u,p,d,l(t.right),r,1)}const Bf={top:0,bottom:0};function Vf(e,t,n,r={},i=$a,a=[],o=[],s=36,c,l){let u=()=>Wf(R.marginTop),d=()=>Wf(R.marginBottom),f=()=>R.pageHeight-u()-d(),p=l??{...Cd({section:t,body:e,headers:kf,footers:kf,settings:c}),kinsoku:i,defaultTabPt:s},m=Qf(n,t,r,p),h=()=>L.vertical,g=()=>{let e=L.vertical?vf(L.geom):L.geom;return e.pageWidth-e.marginLeft-e.marginRight},_=jf(a),v=_.size>0,y=[0],b=n=>{for(let r=n;r<e.length;r++){let n=e[r];if(n.type===`sectionBreak`)return wd({...t,...k(n).geom,columns:n.columns??null})}return wd(t)},x=n=>{for(let t=n;t<e.length;t++){let n=e[t];if(n.type===`sectionBreak`)return n.kind??`nextPage`}return t.sectionStart??`nextPage`},S=t=>$p(e,t)&&x(t+2)===`continuous`,C=t=>S(t)?(e[t].spaceBefore??0)===0:!1,w=t=>{for(let n=t;n<e.length;n++){let t=e[n];if(t.type===`sectionBreak`)return{headers:t.headers??kf,footers:t.footers??kf,titlePage:t.titlePage??!1}}},T=Gf(t),E=df(t),D=E?vf(T):T,O={geom:T,textDirection:t.textDirection??null,vertical:E,columnsSpec:t.columns??null},k=e=>{let t=e.textDirection??null,n=ff(t),r=e.geom??D;return{geom:n?_f(r):r,textDirection:t,vertical:n,columnsSpec:e.columns??null}},A=t=>{for(let n=t;n<e.length;n++){let t=e[n];if(t.type===`sectionBreak`)return k(t)}return O},j=n=>{for(let t=n;t<e.length;t++){let n=e[t];if(n.type===`sectionBreak`)return n.pageNumType??null}return t.pageNumType??null},M=b(0),N=0,P=()=>M[N].xPt,F=()=>M[N].wPt,I=w(0),L=A(0),R=L.geom,z=j(0),B=e.some(e=>e.type===`sectionBreak`&&ff(e.textDirection??null)!==E),V=()=>{if(!B)return;let e=R;if(m.pageWidth=e.pageWidth,m.pageH=e.pageHeight,m.marginLeft=e.marginLeft,m.marginRight=e.marginRight,m.marginTop=Wf(e.marginTop),m.marginBottom=Wf(e.marginBottom),m.contentX=e.marginLeft,m.contentW=e.pageWidth-e.marginLeft-e.marginRight,L.vertical){let t=vf(e);m.verticalPhys={pageWidth:t.pageWidth,pageHeight:t.pageHeight,marginLeft:t.marginLeft,marginRight:t.marginRight,marginTop:Wf(t.marginTop),marginBottom:Wf(t.marginBottom),cssWidthPx:t.pageWidth}}else m.verticalPhys=void 0;m.sectionLayout=Od(p,{...t,...e,textDirection:L.textDirection,columns:L.columnsSpec}),m.docGrid=kd(m.sectionLayout)};V();let H=0,U=0,W=null,G=()=>u()+H,K=e=>{let t=m.contentX,n=m.contentW;m.contentX=P()*m.scale,m.contentW=F()*m.scale;try{return e()}finally{m.contentX=t,m.contentW=n}},q=[[]],ee=()=>{yf.set(q[q.length-1],{geom:R,textDirection:L.textDirection})};ee();let J=0,te=null,ne=0;m.y=u(),m.floats=[],m.floatParaSeq=0,m.pageAnchorPrescanned=new Set;let Y=t=>{m.pageAnchorPrescanned=new Set,Bm(e,t,m)};Y(0);let re=new Set,ie=e=>o.length===0?Bf:o[Math.min(e,o.length-1)]??Bf,X=()=>{let e=ie(q.length-1);return f()-(y[q.length-1]??0)-e.bottom-e.top},Z=e=>{let t=0;for(let n=0;n<e.length;n++){let r=_.get(e[n]);if(!r)continue;let i=(y[q.length-1]??0)===0&&n===0;t+=Ff(r,m,F(),i)}return t},Q=()=>{y[q.length-1]=0,re=new Set,ee()},ae=e=>{q[q.length-1].length>0&&(q.push([]),J=0,N=0,H=0,U=0,W=null,te=null,ne=0,m.y=u(),m.floats=[],m.floatParaSeq=0,Y(e),Q(),le(e))},oe=()=>{U=Math.max(U,J),N++,J=H,te=null,ne=0,m.y=u()+H},se=e=>{N<M.length-1?oe():ae(e)},ce=(t,n)=>{let r={...m,y:u(),floats:[],floatParaSeq:0},i=0,a=0,o=null,s=!1;for(let c=t;c<e.length;c++){let t=e[c];if(t.type===`sectionBreak`||t.type===`pageBreak`){s=!0;break}if(t.type!==`columnBreak`){if(t.type===`paragraph`){let e=t;if(e.pageBreakBefore)return{height:1/0,terminated:!1};if(e.framePr)continue;let s=S(c),l=qp(o,e,a,s?0:e.spaceBefore),u=l.suppressBefore||s;i+=mp(r,e,n,u,0)-l.overlap,a=e.spaceAfter,o=e}else if(t.type===`table`){let e=t;if(e.tblpPr)continue;i+=yp(r,e,n).reduce((e,t)=>e+t,0),a=0,o=null}}}return{height:i,terminated:s}},le=e=>{W=null;let t=M.length;if(t<2)return;let{height:n,terminated:r}=ce(e,M[0].wPt);if(!r||!Number.isFinite(n))return;let i=X()-H;i<=0||n>t*i||(W=n/t)},ue=e=>W!=null&&N<M.length-1&&J>H&&J+e>H+W,de=e=>{if(h())return 0;let t=0;for(let n of e.runs)if(n.type===`image`){let e=n;if(!e.anchor||!e.anchorYFromPara)continue;let r=(e.anchorYPt??0)+e.heightPt;r>t&&(t=r)}else if(n.type===`shape`){let e=n;if((e.presetGeometry??``).toLowerCase().includes(`callout`)&&e.wrapMode===`none`||!e.anchorYFromPara)continue;let r=Sm(e,m,m.y);if(r.h<=0)continue;let i=(e.anchorYPt??0)+r.h;i>t&&(t=i)}return t},fe=t=>{let n=e[t];return n?n.type===`paragraph`?mp(m,n,F(),!1):n.type===`table`?h()?Cp(n,g(),m).reduce((e,t)=>e+t,0):xp(m,n,F()):0:0},pe=t=>{let n=0;for(let r=t;r<e.length;r++){let t=e[r];if(!t||t.type===`pageBreak`||t.type===`sectionBreak`||t.type===`columnBreak`||t.type!==`paragraph`)return 0;let i=t;if(Yp(i)){n+=mp(m,i,F(),!1);continue}return Qp(i)?n+mp(m,i,F(),!1):0}return 0},me=e=>{e.colIndex=N,e.colGeom=M,e.colTopPt=G(),e.sectionHF=I,e.sectionGeom=R,e.sectionPageNumType=z,e.sectionTextDirection=L.textDirection,q[q.length-1].push(e)};le(0);let he=t=>{for(let n=t;n<e.length;n++){let t=e[n];if(t.type===`paragraph`||t.type===`table`)return!0}return!1},ge=t=>{for(let n=t;n<e.length;n++){let t=e[n];if(t.type===`pageBreak`||t.type===`columnBreak`||t.type===`sectionBreak`&&x(n+1)!==`continuous`)return!1;if(t.type===`table`)return!0;if(t.type===`paragraph`){let e=t;if(e.pageBreakBefore)return!1;if(!Yp(e))return!0}}return!1};for(let t=0;t<e.length;t++){let n=e[t];if(n.type===`columnBreak`){if(!he(t+1))continue;se(t+1);continue}if(n.type===`pageBreak`){q.push([]),J=0,H=0,U=0,W=null,te=null,ne=0,m.y=u(),m.floats=[],m.floatParaSeq=0,Y(t+1),Q(),(n.parity===`odd`&&q.length%2==0||n.parity===`even`&&q.length%2==1)&&(q.push([]),Q());continue}if(n.type===`sectionBreak`){M=b(t+1),N=0,I=w(t+1);let e=L;L=A(t+1),R=L.geom,z=j(t+1),V();let n=x(t+1),r=n===`continuous`&&L.vertical!==e.vertical?`nextPage`:n;if(r===`continuous`){let e=Math.max(U,J);J=e,m.y=u()+e,H=e,U=e,te=null,ne=0,le(t+1)}else q.push([]),J=0,H=0,U=0,W=null,te=null,ne=0,m.y=u(),m.floats=[],m.floatParaSeq=0,Y(t+1),Q(),le(t+1),(r===`oddPage`&&q.length%2==0||r===`evenPage`&&q.length%2==1)&&(yf.set(q[q.length-1],{geom:e.geom,textDirection:e.textDirection}),q.push([]),Q());continue}if(n.type===`paragraph`){let r=n;if(r.pageBreakBefore&&ae(t),r.framePr){let i=r.framePr,a=om(e,n,m),o=K(()=>sm(r,m,a)),s=o.y+o.h-m.y,c=i.vAnchor!==`page`&&i.vAnchor!==`margin`&&s>0&&J+s>X(),l=s>0&&s<=X();J>0&&c&&l&&se(t),K(()=>{Ol(sm(r,m,a),r.framePr,m)}),me(n);continue}let i=S(t);if(i&&(n.sectionBreakSpacer=!0),C(t)){n.collapsedSpacer=!0,me(n);continue}if(Xp(r)){n.hiddenCollapsed=!0,me(n);continue}let a=qp(te,r,ne,i?0:r.spaceBefore),o=a.suppressBefore||i,s=Yp(r)&&C(t+1);s&&(n.leadsCollapsedRun=!0);let c=s?ne:a.overlap;J-=c,m.y-=c;let l=m.floats.length,d=m.floatParaSeq,f=m.y;zm(r,m,f);let p=e[t+1],h=p?.type===`paragraph`&&bh(r,p),g=fp(m,r,F(),o,P()),b=pp(g,r,h),x=[],w=0;if(v){let e=new Set;for(let t of Mf(r.runs))re.has(t)||e.has(t)||_.has(t)&&(e.add(t),x.push(t));w=Z(x)}let T=r.keepNext?fe(t+1):0,E=b-r.spaceAfter,D=ie(q.length-1).bottom+(y[q.length-1]??0),O=E-(g.markOnly&&Yp(r)&&!r.shading&&!r.borders&&T===0&&w===0&&D===0&&ge(t+1)?g.lastLineBelowBaselinePt:0),k=O+T+w,A=de(r),j=A>0&&J+A>X(),B=A>0&&A<=X(),V=p?.type===`pageBreak`,G=!V&&J>0&&j&&B,ee=Qp(r)&&p?.type===`paragraph`&&e[t+2]?.type===`pageBreak`&&Zp(p)?p:null,Y=ee?de(ee):0,Q=Y>0&&J>0&&J+E+Y>X()&&E+Y<=X(),oe=Qp(r)?pe(t+1):0,ce=oe>0&&J>0&&J+E+oe>X()&&E+oe<=X(),le=J>0&&J+k>X(),he=r.keepLines||T>0||w>0,_e=!r.keepLines||b>X(),ve=ue(E)&&!_e,ye=T>0&&W!=null&&ue(E+T)&&E+T<=W;if(G||Q||ce||ve||ye||le&&he&&k<=X()){let e=q.length;se(t),q.length>e?(zm(r,m,m.y),v&&x.length>0&&(w=Z(x))):(m.floats.length=l,m.floatParaSeq=d,zm(r,m,m.y))}if(V&&Zp(r)){me(n),te=r,ne=0;continue}let be=X(),xe=()=>W!=null&&N<M.length-1?Math.min(X(),H+W):X(),Se=xe(),Ce=Se-J;if((Se===X()?O:E)>Ce&&_e){let e=vp(m,r,F,o,P,J,be,q,e=>{U=Math.max(U,e),se(t)},()=>N,M,()=>H,xe,()=>I,()=>R,()=>z,()=>L.textDirection);J=e.endY,m.y=u()+e.endY,v&&x.length>0&&(x=x.filter(e=>!re.has(e)),w=Z(x))}else dp(n,r,m,{paragraphXPt:P(),availableWidthPt:F(),suppressSpaceBefore:o,columnIndex:N},g),me(n),J+=b,m.y+=b;if(v&&x.length>0){let e=q.length-1;y[e]=(y[e]??0)+w;for(let e of x)re.add(e)}te=r,ne=r.spaceAfter}else if(n.type===`table`){let e=n;if(e.tblpPr){let r=e.tblpPr,i=()=>K(()=>{let t=F()*m.scale,n=Wm(e,t,m),i=n.rowHeights.reduce((e,t)=>e+t,0);return{box:kl(r,m,m.y,n.tableW,i),rawBox:kl(r,m,m.y,n.tableW,i,!0),layout:n,contentWPt:t/m.scale}}),a=i(),o=r.vertAnchor!==`page`&&r.vertAnchor!==`margin`;o||(()=>{let e=a.rawBox.y,t=a.rawBox.y+a.rawBox.h,n=a.rawBox.x,r=a.rawBox.x+a.rawBox.w;return m.floats.some(i=>i.kind===`table`&&t-i.yTop>.01&&i.yBottom-e>.01&&r-i.xLeft>.01&&i.xRight-n>.01)})()&&q[q.length-1].length>0&&(se(t),J=H,a=i());let s=a.box.y+a.box.h-m.y,c=o&&s>0&&J+s>X(),l=a.rawBox.y-u(),d=!o&&a.rawBox.h>f();if(o&&c||d){let n=o?a.box.y-m.y:l-J,i=Hp(e,r,a.layout.colWidths,a.layout.rowHeights,n,a.contentWPt,()=>J,()=>H,()=>X(),()=>se(t),t=>{K(()=>{let n=t,r=t.tblpPr,i=(n.tableColWidthsPt??[]).reduce((e,t)=>e+t,0)*m.scale,a=(n.tableRowHeightsPt??[]).reduce((e,t)=>e+t,0)*m.scale,o=r.vertAnchor===`page`||r.vertAnchor===`margin`,s=kl(r,m,m.y,i,a,o);Al(s,r,m,jl(s,m),e.overlap!==`never`)}),me(t)});J=i,m.y=u()+i,te=null,ne=0;continue}K(()=>{let t=jl(a.box,m);Al(a.box,r,m,t,e.overlap!==`never`)}),Dp(n,a.layout.colWidths,a.layout.rowHeights,a.contentWPt),me(n);continue}let r=[],i=0;if(v){let e=new Set;for(let t of Nf(n))re.has(t)||e.has(t)||!_.has(t)||(e.add(t),r.push(t));i=Z(r)}let a=()=>{if(!v||r.length===0)return;r=r.filter(e=>!re.has(e));let e=Z(r),t=q.length-1;y[t]=(y[t]??0)+e;for(let e of r)re.add(e)};if(h()){let n=g(),{colWidthsPt:r,rowHeightsPt:o}=bp(m,e,n),s=r.reduce((e,t)=>e+t,0),c={...e,type:`table`};Dp(c,r,o,n),J+s>X()-i&&J>H&&se(t),me(c),J+=s,m.y+=s,a(),te=null;continue}let o=F(),{colWidthsPt:s,rowHeightsPt:c}=bp(m,e,o),l=X()-i,d=Bp(e,c,s,l,m),p=d?.table??e,b=d?.rowHs??c,x=d?.sourceRowIndexByRow,S={...p,type:`table`},C=b.reduce((e,t)=>e+t,0),w=J+C>l;if(C>l||!ue(C)&&w){let e=Vp(p,b,J,l,q,e=>{U=Math.max(U,e),se(t)},()=>N,M,()=>H,u(),()=>I,()=>R,()=>z,{colWidthsPt:s,contentWPt:o},{colWidthsPt:s,state:m},x,(e,t)=>cp(e,e,s,t.heightsPt,o,m,{columnIndex:e.colIndex??0,xPt:M[e.colIndex??0]?.xPt??P(),yPt:e.colTopPt??m.y,continuesFromPreviousPage:t.continuesFromPreviousPage,continuesOnNextPage:t.continuesOnNextPage,repeatedHeaderRowCount:t.repeatedHeaderRowCount,sourceRowIndexOf:t.sourceRowIndexOf}),()=>L.textDirection);J=e,m.y=u()+e,a()}else (ue(C)||J+C>l)&&se(t),cp(S,S,s,b,o,m,{columnIndex:N,xPt:P(),yPt:m.y,continuesFromPreviousPage:!1,continuesOnNextPage:!1,repeatedHeaderRowCount:0,sourceRowIndexOf:x?e=>x[e]:void 0}),me(S),J+=C,m.y+=C,a();te=null}}return q}function Hf(e,t,n){return t<0?0:Math.max(0,n+e-t)}function Uf(e,t,n){return t<0?0:Math.max(0,n+e-t)}function Wf(e){return Math.abs(e)}function Gf(e){return{pageWidth:e.pageWidth,pageHeight:e.pageHeight,marginTop:e.marginTop,marginRight:e.marginRight,marginBottom:e.marginBottom,marginLeft:e.marginLeft,headerDistance:e.headerDistance,footerDistance:e.footerDistance}}function Kf(e,t,n){let r=Wp(e,t,n);return Up(r.footers,r.isFirstPageOfSection,t%2==1,r.titlePage,n.section.evenAndOddHeaders)}function qf(e,t,n){let r=Wp(e,t,n);return Up(r.headers,r.isFirstPageOfSection,t%2==1,r.titlePage,n.section.evenAndOddHeaders)}function Jf(e,t,n){return e.map((r,i)=>{if(ff(bf(e,i,t.section)))return 0;let a=Kf(e,i,t);if(!a)return 0;let o=Kp(a,n(i)),s=e[i]?.[0]?.sectionGeom;return Hf(o,s?.marginBottom??t.section.marginBottom,s?.footerDistance??t.section.footerDistance)})}function Yf(e,t,n){return e.map((r,i)=>{if(ff(bf(e,i,t.section)))return 0;let a=qf(e,i,t);if(!a)return 0;let o=Kp(a,n(i)),s=e[i]?.[0]?.sectionGeom;return Uf(o,s?.marginTop??t.section.marginTop,s?.headerDistance??t.section.headerDistance)})}function Xf(e,t,n,r,i){let a=Vf(e.body,e.section,t,n,r.kinsoku,i,[],r.defaultTabPt,e.settings,r),o=df(e.section);if(!(!o||e.body.some(e=>e.type===`sectionBreak`&&!ff(e.textDirection??null))))return a;let s=Qf(t,e.section,n,r),c=o?i=>{let o=a[i]?.[0]?.sectionGeom;return Qf(t,{...e.section,...o??{},textDirection:null},n,r)}:()=>s,l=Jf(a,e,c),u=Yf(a,e,c),d=e=>e.some(e=>e>.5);if(!d(l)&&!d(u))return a;let f=a.map((e,t)=>({top:u[t]??0,bottom:l[t]??0}));return Vf(e.body,e.section,t,n,r.kinsoku,i,f,r.defaultTabPt,e.settings,r)}function Zf(e){let t=new OffscreenCanvas(1,1).getContext(`2d`);if(!t)return[e.body];let n=hf(e),r=Cd(n);return Xf(n,t,_u(n.fontFamilyClasses,n.fontFamilyPitches),r,n.footnotes??[])}function Qf(e,t,n={},r){let i=Od(r,t);return{ctx:e,scale:1,dpr:1,contentX:t.marginLeft,contentW:t.pageWidth-t.marginLeft-t.marginRight,y:0,pageH:t.pageHeight,defaultColor:`#000000`,pageIndex:0,totalPages:1,images:new Map,dryRun:!0,marginLeft:t.marginLeft,marginRight:t.marginRight,marginTop:Wf(t.marginTop),marginBottom:Wf(t.marginBottom),pageWidth:t.pageWidth,floats:[],floatParaSeq:0,docGrid:kd(i),layoutSettings:r,sectionLayout:i,storyContext:Jd,docEastAsian:r.documentHasEastAsianText,fontFamilyClasses:n,kinsoku:r.kinsoku,defaultTabPt:r.defaultTabPt,characterSpacingControl:r.characterSpacingControl,useFeLayout:r.compat.useFeLayout,balanceSingleByteDoubleByteWidth:r.compat.balanceSingleByteDoubleByteWidth,showTrackChanges:!1,verticalPhys:df(t)?(()=>{let e=gf(t);return{pageWidth:e.pageWidth,pageHeight:e.pageHeight,marginLeft:e.marginLeft,marginRight:e.marginRight,marginTop:Wf(e.marginTop),marginBottom:Wf(e.marginBottom),cssWidthPx:e.pageWidth}})():void 0}}function $f(e){return{pageIndex:e.pageIndex,totalPages:e.totalPages,displayPageNumber:e.displayPageNumber,pageNumberFormat:e.pageNumberFormat,currentDateMs:e.currentDateMs,noteNumbers:e.noteNumbers,currentNoteNumber:e.currentNoteNumber,verticalCJK:e.verticalCJK&&!e.verticalAllRotated,documentHasEastAsianText:e.docEastAsian}}function ep(e){return e.verticalAllRotated?{...e,verticalCJK:!1}:e}const tp=new WeakMap;function np(e){return tp.get(e)}function rp(e,t,n,r,i,a,o){let s=i?t.contentStartYPt-t.placement.startYPt:0;return Object.freeze({kind:`paragraph`,source:e,measured:t,lineStart:n,lineEnd:r,leadingSpacePt:s,trailingSpacePt:a?o:0})}function ip(e,t,n,r,i){return Object.freeze({fragment:e,columnIndex:t,xPt:n,yPt:r,widthPt:i,heightPt:zd(e)})}function ap(e,t,n){return Ld(t,Xd(e,t),{startYPt:0,paragraphXPt:0,availableWidthPt:n,maximumYPt:e.pageH,suppressSpaceBefore:!0},{context:e.ctx,fontFamilyClasses:e.fontFamilyClasses},$f(e))}function op(e,t,n,r){let i=Zd(r),a=eh(e,t),o=Math.max(0,n-(a.left+a.right)),s=[];for(let t of e.content)if(t.type===`paragraph`){let e=t,n=ap(i,e,o),r=Math.max(n.requestedSpaceAfterPt,gh(e.borders)),a=n.markOnly?0:n.lines.length,c=t.lineSlice,l=c?c.start:0,u=c?Math.min(c.end,a):a;s.push(rp(e,n,l,u,l===0,u>=a,r))}else if(t.type===`table`){let e=t,n=t,r=Cp(e,o,i),a=Rl(e,r,1,(t,n)=>Gm(t,e,n,1,i));s.push(Hd({table:e,columnWidthsPt:r,rowHeightsPt:a,continuesFromPreviousPage:n.nestedSliceContinuesFromPrevious??!1,continuesOnNextPage:n.nestedSliceContinuesOnNext??!1,repeatedHeaderRowCount:0,buildCellBlocks:(t,n)=>op(t,e,n,i)}))}return s}const sp=new WeakMap;function cp(e,t,n,r,i,a,o){let s=Hd({table:t,columnWidthsPt:n,rowHeightsPt:r,continuesFromPreviousPage:o.continuesFromPreviousPage,continuesOnNextPage:o.continuesOnNextPage,repeatedHeaderRowCount:o.repeatedHeaderRowCount,sourceRowIndexOf:o.sourceRowIndexOf,buildCellBlocks:(e,n)=>op(e,t,n,a)}),c=n.reduce((e,t)=>e+t,0);tp.set(e,Object.freeze({fragment:s,columnIndex:o.columnIndex,xPt:o.xPt,yPt:o.yPt,widthPt:c,heightPt:Bd(s)})),sp.set(e,i)}function lp(e){if(e.tblInd!=null&&e.tblInd<0&&e.jc===`left`)return!0;for(let t of e.rows)for(let e of t.cells)for(let t of e.content)if(t.type===`table`){let e=t;if(e.tblpPr!=null||lp(e))return!0}return!1}function up(e,t,n){if(!dm||t===void 0||t.fragment.kind!==`table`||e.tblpPr!=null||n.verticalCJK||lp(e))return!1;let r=sp.get(e);if(r===void 0)return!1;let i=n.contentW/n.scale;return Math.abs(r-i)<=1e-6*Math.max(1,Math.abs(i))}function dp(e,t,n,r,i){let a=Yd(n,t),o=i!==void 0&&n.floats.length===0&&i.placement.wrap===void 0&&i.placement.startYPt===n.y&&i.placement.paragraphXPt===r.paragraphXPt&&i.placement.availableWidthPt===r.availableWidthPt&&i.placement.maximumYPt===n.pageH&&i.placement.suppressSpaceBefore===r.suppressSpaceBefore?i:Ld(t,a,{startYPt:n.y,paragraphXPt:r.paragraphXPt,availableWidthPt:r.availableWidthPt,maximumYPt:n.pageH,suppressSpaceBefore:r.suppressSpaceBefore,wrap:n.floats.length>0?Pd(n.floats):void 0},{context:n.ctx,fontFamilyClasses:n.fontFamilyClasses},$f(n)),s=Math.max(o.requestedSpaceAfterPt,gh(t.borders)),c=rp(t,o,0,o.markOnly?0:o.lines.length,!0,!0,s);tp.set(e,ip(c,r.columnIndex,r.paragraphXPt,o.placement.startYPt,r.availableWidthPt))}function fp(e,t,n,r,i){return Ld(t,Yd(e,t),{startYPt:e.y,paragraphXPt:i,availableWidthPt:n,maximumYPt:e.pageH,suppressSpaceBefore:r,wrap:e.floats.length>0?Pd(e.floats):void 0},{context:e.ctx,fontFamilyClasses:e.fontFamilyClasses},$f(e))}function pp(e,t,n){let r=n?0:gh(t.borders);return e.contentEndYPt-e.placement.startYPt+Math.max(e.requestedSpaceAfterPt,r)}function mp(e,t,n,r=!1,i=0,a=!1){return Xp(t)?0:pp(fp(e,t,n,r,i),t,a)}function hp(e,t,n){if(!Fu(t))return e;let r=t.linePitchPt*n;return r<=0?e:e<=r?r:Math.ceil(e/r)*r}function gp(e,t){return{type:e.docGrid.type,linePitchPt:t.lineGrid.active?t.lineGrid.pitchPt:null,charSpacePt:t.characterGrid.active?t.characterGrid.deltaPt:null}}function _p(e,t){return gp(t,Xd(t,e))}function vp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){let _=d??(()=>0),v=f??(()=>o),y=t=>(l&&(t.colIndex=l()),u&&(t.colGeom=u),d&&(t.colTopPt=(m?Wf(m().marginTop):e.marginTop)+_()),p&&(t.sectionHF=p()),m&&(t.sectionGeom=m()),h&&(t.sectionPageNumType=h()),g&&(t.sectionTextDirection=g()),t);{let o=Yd(e,t),u=gp(e,o),d=o.physicalIndentLeftPt,f=o.physicalIndentRightPt,p=Math.max(1,n()-d-f),h=null,g,b=r=>Ld(t,o,{startYPt:e.y,paragraphXPt:i(),availableWidthPt:n(),maximumYPt:e.pageH,suppressSpaceBefore:h===null?r:!0,wrap:e.floats.length>0?Pd(e.floats):void 0},{context:e.ctx,fontFamilyClasses:e.fontFamilyClasses},$f(e),h===null?void 0:{boundary:h,uniformRubyAdvancePt:g}),x=b(r),S=()=>{let e=()=>x.contentEndYPt-x.placement.startYPt+Math.max(x.requestedSpaceAfterPt,gh(t.borders)),n=e(),i=a;return a>0&&a+n-x.requestedSpaceAfterPt>v()&&(c(a),i=_(),x=b(r),n=e()),s[s.length-1].push(y(t)),{endY:i+n}};if(x.markOnly||x.lines.length===0)return S();let C=()=>x.lines.map((e,t)=>{if(t===0)return e.topYPt-x.placement.startYPt+e.advancePt;let n=x.lines[t-1],r=n.topYPt+n.advancePt;return Math.max(0,e.topYPt-r)+e.advancePt}),w=x.lines.map(e=>e.layout),T=C(),E=()=>{x=b(r),p=Math.max(1,x.placement.availableWidthPt-d-f),w=x.lines.map(e=>e.layout),T=C()},D=!fd(t),O=Math.max(x.requestedSpaceAfterPt,gh(t.borders)),k=0,A=!1,j=()=>{if(k===0||t.numbering!=null||fd(t)||e.verticalCJK||e.floats.length>0||x.placement.wrap!==void 0)return;let r=n(),i=1e-6*Math.max(1,Math.abs(r));if(Math.abs(x.placement.availableWidthPt-r)<=i)return;let a=w[k-1].consumedEnd;if(!a)return;let o={measured:x,lines:w,lineExtents:T,paraW:p,boundary:h,uniformRubyAdvancePt:g};h=a,g=x.uniformRubyAdvancePt;let s=b(!0);if(s.markOnly||s.lines.length===0){h=o.boundary,g=o.uniformRubyAdvancePt;return}x=s,p=Math.max(1,x.placement.availableWidthPt-d-f),w=x.lines.map(e=>e.layout),T=C(),k=0,A=!0},M=a;for(;k<w.length;){let r=v()-M,a=k,o=0,f=a,h=zl(a,w.length,r,e=>{for(;f<e;)o+=T[f],f++;return o}),g=h.fitValue,b=h.end;if(b===a){if(M>0){c(M),M=_(),k===0?E():j();continue}b=a+1,g+=T[a]}let S=Bl({widowControl:t.widowControl!==!1,start:a,end:b,totalLines:w.length,canRelocate:M>0});if(S.kind===`dropLastLine`&&(b--,g-=T[b],S=Bl({widowControl:!0,start:a,end:b,totalLines:w.length,canRelocate:M>0})),S.kind===`relocate`){c(M),M=_(),E();continue}let C=b===w.length;C&&(g+=O);let N={...t,type:`paragraph`,lineSlice:{start:a,end:b,...A?{continues:!0}:{}}};D&&gm(N,w,{paraW:p,firstIndent:t.indentFirst,tabOriginPx:d,gridDeltaPx:Eu(u,1),hasFloats:x.placement.wrap!==void 0,kinsoku:e.kinsoku});{let r=m?Wf(m().marginTop):e.marginTop,o=rp(t,x,a,b,a===0&&!A,C,O);tp.set(N,ip(o,l?l():0,i(),r+M,n()))}s[s.length-1].push(y(N)),k=b,M+=g,C||(c(M),M=_(),j())}return{endY:M}}}function yp(e,t,n){return bp(e,t,n).rowHeightsPt}function bp(e,t,n){let r=Cp(t,n,e);return{colWidthsPt:r,rowHeightsPt:Rl(t,r,1,(n,r)=>Gm(n,t,r,1,e))}}function xp(e,t,n){return yp(e,t,n).reduce((e,t)=>e+t,0)}function Sp(e,t,n){let{ctx:r,fontFamilyClasses:i}=n,a=0,o=e=>{for(let t of e.runs){if(t.type!==`text`)continue;let e=t;if(!e.text)continue;let n=e.rtl===!0||e.cs===!0;r.font=bu(n?e.boldCs??!1:e.bold,n?e.italicCs??!1:e.italic,n?e.fontSizeCs??e.fontSize:e.fontSize,n?e.fontFamilyCs??e.fontFamily:e.fontFamily,i);for(let t of e.text.split(` `))for(let e of od(t)){let t=e.replace(/\\s+$/u,``);if(!t)continue;let n=Zu(t)?Math.max(...[...t].map(e=>r.measureText(e).width)):r.measureText(t).width;n>a&&(a=n)}}};for(let t of e.content)t.type===`paragraph`&&o(t);if(a===0)return 0;let s=eh(e,t);return a+s.left+s.right}function Cp(e,t,n){let r=e.colWidths.length;if(r===0)return[];let i=e.colWidths,a=e.tblpPr?Math.max(t,n.pageWidth):t,o=Array(r).fill(0);for(let t of e.rows){let a=0;for(let s of t.cells){let t=Math.min(Math.max(s.colSpan,1),r-a),c=Sp(s,e,n);if(c>0)if(t===1)c>o[a]&&(o[a]=c);else{let e=i.slice(a,a+t),n=e.reduce((e,t)=>e+t,0);for(let r=0;r<t;r++){let i=c*(n>0?e[r]/n:1/t);i>o[a+r]&&(o[a+r]=i)}}a+=t}}let s=e=>{let t=e.reduce((e,t)=>e+t,0);if(t<=a||t<=0)return e;let n=o.reduce((e,t)=>e+t,0);if(n>=a){let t=a/n;return n>0?o.map(e=>e*t):e.map(()=>a/r)}let i=e.slice(),s=Array(r).fill(!1);for(let t=0;t<r;t++){let t=a,n=0;for(let a=0;a<r;a++)s[a]?t-=i[a]:n+=e[a];if(n<=0)break;let c=!1;for(let a=0;a<r;a++){if(s[a])continue;let r=t*(e[a]/n);r<o[a]?(i[a]=o[a],s[a]=!0,c=!0):i[a]=r}if(!c)break}return i};if(e.layout===`fixed`){let e=i.slice(),t=e.reduce((e,t)=>e+t,0);if(t>a&&t>0){let n=a/t;return e.map(e=>e*n)}return e}let c=e.widthPt!=null||e.widthPct!=null;if(i.reduce((e,t)=>e+t,0)>0&&c)return s(i.map((e,t)=>Math.max(e,o[t])));let l=Array(r).fill(0),u=Array(r).fill(!1),d=e=>e.widthPt==null?e.widthPct==null?null:e.widthPct/5e3*t:e.widthPt;for(let t of e.rows){let e=0;for(let n of t.cells){let t=Math.min(Math.max(n.colSpan,1),r-e);if(t===1){let t=d(n);t!=null&&(t>l[e]&&(l[e]=t),u[e]=!0)}e+=t}}for(let t of e.rows){let e=0;for(let n of t.cells){let t=Math.min(Math.max(n.colSpan,1),r-e);if(t>1){let r=d(n);if(r!=null){let n=i.slice(e,e+t),a=n.reduce((e,t)=>e+t,0),o=n.reduce((t,n,r)=>t+(u[e+r]?l[e+r]:n),0);if(r>o){let s=r-o;for(let r=0;r<t;r++){let o=a>0?n[r]/a:1/t,c=u[e+r]?l[e+r]:i[e+r];l[e+r]=c+s*o,u[e+r]=!0}}}}e+=t}}return s(l.map((e,t)=>Math.max(u[t]?e:i[t],o[t])))}function wp(e,t){return t<=0?!0:!e.rows[t].cells.some(e=>e.vMerge===!1)}function Tp(e,t){let n=0;for(let r of e.cells){if(t>=n&&t<n+r.colSpan)return r;n+=r.colSpan}return null}function Ep(e,t,n,r){let i=e[t],a=0,o=i.cells.map(i=>{let o=a;if(a+=i.colSpan,i.vMerge!==!1)return i;let s=-1,c=null;for(let n=t-1;n>=0;n--){let t=Tp(e[n],o);if(!t)break;if(t.vMerge===!0){s=n,c=t;break}if(t.vMerge!==!1)break}return!c||r&&s<n?i:{...c,colSpan:i.colSpan,vMerge:!0,content:[]}});return{...i,cells:o}}function Dp(e,t,n,r){e.tableColWidthsPt=t,e.tableRowHeightsPt=n,e.tableLayoutInputs={scale:1,contentWPt:r}}function Op(e,t,n,r){return Ll(e,n,1,(e,n)=>Gm(e,t,n,1,r))}function kp(e,t,n){return{...e,cells:e.cells.map(e=>({...e,content:e.content.slice(t,n)}))}}function Ap(e,t,n,r,i){if(t.isHeader||t.cantSplit||t.rowHeightRule===`exact`||t.cells.some(e=>e.vMerge===!1))return null;let a=Math.max(0,...t.cells.map(e=>e.content.length));if(a<=1)return null;let o=[],s=[],c=0;for(;c<a;){let l=c+1,u=1/0;for(let o=c+1;o<=a;o++){let a=Op(kp(t,c,o),e,n,i);if((a<=r||u===1/0)&&(l=o,u=a),a>r)break}let d=kp(t,c,l);o.push(d),s.push(Number.isFinite(u)?u:Op(d,e,n,i)),c=l}if(o.length>1)for(let e=0;e<o.length-1;e++)o[e].pageCutBottom=!0;return o.length>1?{rows:o,heights:s}:null}function jp(e,t,n){{let r=Xd(n,e),i=gp(n,r),a=r.physicalIndentLeftPt,o=r.physicalIndentRightPt,s=Math.max(1,t-a-o),c=Ld(e,r,{startYPt:0,paragraphXPt:0,availableWidthPt:t,maximumYPt:n.pageH,suppressSpaceBefore:!0},{context:n.ctx,fontFamilyClasses:n.fontFamilyClasses},$f(n));return c.markOnly||c.lines.length===0?null:{lines:c.lines.map(e=>e.layout),lineHeights:c.lines.map(e=>e.advancePt),inputs:{paraW:s,firstIndent:e.indentFirst,tabOriginPx:a,gridDeltaPx:Eu(i,1),hasFloats:!1,kinsoku:n.kinsoku}}}}function Mp(e,t,n,r){let i=0;for(let e=n;e<r;e++)i+=t[e]??0;return n===0&&(i+=e.spaceBefore),r>=t.length&&(i+=Math.max(e.spaceAfter,gh(e.borders))),i}function Np(e,t,n,r){let i={...e,type:`paragraph`,lineSlice:{start:n,end:r}};return fd(e)||gm(i,t.lines,t.inputs),i}function Pp(e,t,n){return{...e,type:`table`,rows:e.rows.slice(t,n),nestedSliceContinuesFromPrevious:t>0,nestedSliceContinuesOnNext:n<e.rows.length}}function Fp(e,t,n,r){let{rowHeightsPt:i}=bp(r,e,t);if(i.length<=1)return null;let a=0,o=0,s=0,c=0;for(;o<i.length;){let t=i[o];if(o>0&&a+t>n){if(wp(e,o))break;if(s>0){o=s,a=c;break}}o>0&&wp(e,o)&&(s=o,c=a),a+=t,o++}return o<=0||o>=e.rows.length||!wp(e,o)?null:{before:Pp(e,0,o),after:Pp(e,o,e.rows.length),beforeHeight:a,afterHeight:i.slice(o).reduce((e,t)=>e+t,0)}}function Ip(e,t,n,r){let i=[],a=0,o=null,s=0,c=e=>e.lineSlice,l=(e,t,n=c(e))=>{if(e.type!==`paragraph`)return t;let r=e,i=!!n&&n.start>0,a=i?0:r.spaceBefore,l=qp(i?null:o,r,s,a);return t-(l.suppressBefore?a:0)-l.overlap},u=(e,t,n=c(e),r)=>{if(i.push(e),a+=l(e,t,n),e.type===`paragraph`){let t=e;o=t,s=!n||r==null||n.end>=r?t.spaceAfter:0}else o=null,s=0},d=e=>{if(e.type!==`paragraph`)return{rawHeight:nh(r,e,t,1)};let n=e,i=jp(n,t,r);if(!i)return{rawHeight:nh(r,e,t,1)};let a=c(e),o={start:Math.max(0,a?.start??0),end:Math.min(i.lines.length,a?.end??i.lines.length)};return{rawHeight:Mp(n,i.lineHeights,o.start,o.end),slice:o,totalLines:i.lines.length}},f=e=>{let t=0,n=null,r=0;for(let i of e){let e=d(i);if(i.type!==`paragraph`){t+=e.rawHeight,n=null,r=0;continue}let a=i,o=!!e.slice&&e.slice.start>0,s=o?0:a.spaceBefore,c=qp(o?null:n,a,r,s);t+=e.rawHeight-(c.suppressBefore?s:0)-c.overlap,n=a,r=!e.slice||e.totalLines==null||e.slice.end>=e.totalLines?a.spaceAfter:0}return t};for(let o=0;o<e.length;o++){let s=e[o],d=s.type===`paragraph`?s:null,p=d?jp(d,t,r):null,m=c(s),h=p?{start:Math.max(0,m?.start??0),end:Math.min(p.lines.length,m?.end??p.lines.length)}:m,g=d&&p?Mp(d,p.lineHeights,h?.start??0,h?.end??p.lines.length):nh(r,s,t,1),_=l(s,g,h);if(a+_<=n){u(s,g,h,p?.lines.length);continue}if(s.type!==`paragraph`){if(s.type===`table`){let c=Fp(s,t,n-a,r);if(c){i.push(c.before),a+=c.beforeHeight;let t=[c.after,...e.slice(o+1)],n=c.afterHeight+f(e.slice(o+1));return{before:i,after:t,beforeHeight:a,afterHeight:n}}}let c=e.slice(o),l=f(c);return i.length>0?{before:i,after:c,beforeHeight:a,afterHeight:l}:null}if(!p){let t=e.slice(o),n=f(t);return i.length>0?{before:i,after:t,beforeHeight:a,afterHeight:n}:null}let v=d??s,y=h?.start??0,b=h?.end??p.lines.length,x=zl(y,b,n,e=>{let t=Mp(v,p.lineHeights,y,e);return a+l(s,t,{start:y,end:e})}),S=x.end===y?0:x.end,C=S===0?0:Mp(v,p.lineHeights,y,S),w=S===0?0:l(s,C,{start:y,end:S});if(S===0){let t=e.slice(o),n=f(t);return i.length>0?{before:i,after:t,beforeHeight:a,afterHeight:n}:null}if(S>=b){u(s,g,h,p.lines.length);continue}i.push(Np(v,p,y,S)),a+=w;let T=[Np(v,p,S,b),...e.slice(o+1)],E=f(T);return{before:i,after:T,beforeHeight:a,afterHeight:E}}return{before:i,after:[],beforeHeight:a,afterHeight:0}}function Lp(e,t,n,r,i){if(t.isHeader||t.cantSplit||t.rowHeightRule===`exact`||t.cells.some(e=>e.vMerge===!1))return null;let a=[],o=[],s=[],c=[],l=new Map,u=!1,d=!1,f=0;for(let p of t.cells){let t=Zd(i),m=Math.min(p.colSpan,n.length-f),h=n.slice(f,f+m).reduce((e,t)=>e+t,0),g=f;f+=m;let _=eh(p,e),v=Math.max(0,r-_.top-_.bottom),y=Ip(ih(p.content),h-_.left-_.right,v,t);if(!y)return null;a.push({...p,content:y.before}),o.push({...p,content:y.after}),s.push(_.top+_.bottom+y.beforeHeight),p.vMerge===!0?y.after.length>0&&l.set(g,_.top+_.bottom+y.afterHeight):c.push(_.top+_.bottom+y.afterHeight),u||=y.before.length>0,d||=y.after.length>0}if(!u||!d)return null;let p=t.rowHeight!=null&&(t.rowHeightRule===`atLeast`||t.rowHeightRule===`auto`)?t.rowHeight:0;return{rows:[{...t,cells:a,rowHeight:null,rowHeightRule:`auto`,pageCutBottom:!0},{...t,cells:o,rowHeight:null,rowHeightRule:`auto`}],heights:[Math.max(p,...s),Math.max(0,...c)],restartRemainders:l.size>0?l:void 0}}function Rp(e,t,n,r,i){return Lp(e,t,n,r,i)??Ap(e,t,n,r,i)}function zp(e,t,n,r,i,a){let o=e.rows;if(!o[n])return;let s=n,c=t=>{let n=0;for(let i of o[t].cells){let a=Math.min(i.colSpan,r.length-n);if(i.vMerge===!0){let r=Il(e,t,n);r>s&&(s=r)}n+=a}};c(n);for(let e=n+1;e<=s&&e<o.length;e++)c(e);for(let a=n+1;a<=s&&a<o.length;a++)t[a]=Op(o[a],e,r,i);for(let c=n;c<=s&&c<o.length;c++){let s=0;for(let l of o[c].cells){let o=Math.min(l.colSpan,r.length-s);if(l.vMerge===!0){let u=r.slice(s,s+o).reduce((e,t)=>e+t,0),d=c===n?a?.get(s)??Gm(l,e,u,1,i):Gm(l,e,u,1,i),f=Il(e,c,s),p=0;for(let e=c;e<=f;e++)p+=t[e]??0;d>p&&f<t.length&&(t[f]+=d-p)}s+=o}}}function Bp(e,t,n,r,i){let a=!1,o=[],s=[],c=[],l=[];for(let u=0;u<e.rows.length;u++){let d=e.rows[u],f=t[u];if(f>r){let t=Rp(e,d,n,r,i);if(t){o.push(...t.rows),s.push(...t.heights),c.push(...t.rows.map(()=>u)),l.push({finalPieceIdx:o.length-1,restartRemainders:t.restartRemainders}),a=!0;continue}}o.push(d),s.push(f),c.push(u)}if(!a)return null;let u={...e,rows:o};for(let e of l)zp(u,s,e.finalPieceIdx,n,i,e.restartRemainders);return{table:u,rowHs:s,sourceRowIndexByRow:c}}function Vp(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_){let v=c??(()=>0),y=e,b=e.rows,x=t,S=h?.slice()??b.map((e,t)=>t),C=b.length,w=0;for(;w<C&&b[w].isHeader;)w++;let T=b.slice(0,w),E=S.slice(0,w),D=x.slice(0,w).reduce((e,t)=>e+t,0),O=x.slice(0,w),k=n,A=0,j=!0;for(;A<C;){let e=!j&&w>0&&A>=w,t=r-k,n=(e?D:0)+x[A],h=r-v(),M=t-(e?D:0),N=A;for(;N+1<C&&!wp(y,N+1);)N++;let P=e?D:0;for(let e=A;e<=N;e++)P+=x[e];let F=P>r,I=e=>wp(y,e)||F&&e>A&&e<=N;if(m&&(n>t||P>t)&&M>0&&A>=w){let e=Rp(y,b[A],m.colWidthsPt,M,m.state);if(e&&e.heights[0]<=M){let t=S[A];b=[...b.slice(0,A),...e.rows,...b.slice(A+1)],x=[...x.slice(0,A),...e.heights,...x.slice(A+1)],S=[...S.slice(0,A),...e.rows.map(()=>t),...S.slice(A+1)],y={...y,rows:b},C=b.length,zp(y,x,A+e.rows.length-1,m.colWidthsPt,m.state,e.restartRemainders);continue}}if(n>t&&k>v()&&n<=h){a(k),k=v(),j=!1;continue}let L=e?D:0,R=A,z=A,B=L;for(;R<C;){let e=x[R];if(R>A&&L+e>t){if(I(R)){let e=t-L;if(m&&e>0&&R>=w){let t=Rp(y,b[R],m.colWidthsPt,e,m.state);if(t&&t.heights[0]<=e){let e=S[R];b=[...b.slice(0,R),...t.rows,...b.slice(R+1)],x=[...x.slice(0,R),...t.heights,...x.slice(R+1)],S=[...S.slice(0,R),...t.rows.map(()=>e),...S.slice(R+1)],y={...y,rows:b},C=b.length,zp(y,x,R+t.rows.length-1,m.colWidthsPt,m.state,t.restartRemainders);continue}}break}if(z>A){R=z,L=B;break}}R>A&&I(R)&&(z=R,B=L),L+=e,R++}let V=b.slice(A,R),H=A>0&&V.length>0&&V[0].cells.some(e=>e.vMerge===!1)?[Ep(b,A,w,e),...V.slice(1)]:V,U=e?[...T,...H]:H,W={...y,type:`table`,rows:U};o&&(W.colIndex=o()),s&&(W.colGeom=s),c&&l!=null&&(W.colTopPt=l+v()),u&&(W.sectionHF=u()),d&&(W.sectionGeom=d()),f&&(W.sectionPageNumType=f()),_&&(W.sectionTextDirection=_());let G=e?[...O,...x.slice(A,R)]:x.slice(A,R);if(p&&Dp(W,p.colWidthsPt,G,p.contentWPt),g){let t=e?w:0;g(W,{heightsPt:G,continuesFromPreviousPage:A>0,continuesOnNextPage:R<C,repeatedHeaderRowCount:t,sourceRowIndexOf:e=>e<t?E[e]:S[A+(e-t)]})}i[i.length-1].push(W),k+=L,A=R,j=!1,A<C&&(a(k),k=v())}return k}function Hp(e,t,n,r,i,a,o,s,c,l,u){let d=r.length,f=0,p=!0;for(;f<d;){let m=p?o()+i:s(),h=c()-m;if(r[f]>h&&m>s()){l(),p=!1;continue}let g=0,_=f;for(;_<d;){let t=r[_];if(_>f&&g+t>h&&wp(e,_))break;g+=t,_++}let v=p?t:{...t,vertAnchor:`text`,tblpY:0,tblpYSpec:void 0},y={...e,type:`table`,rows:e.rows.slice(f,_),tblpPr:v};Dp(y,n,r.slice(f,_),a),u?.(y),f=_,p=!1,f<d&&l()}return s()}function Up(e,t,n,r,i){return r&&t&&e.first?e.first:i&&n&&e.even?e.even:e.default??null}function Wp(e,t,n){let r=t=>e[t]?.[0]?.sectionHF,i=r(t),a=i?.headers??n.headers,o=i?.footers??n.footers,s=i?.titlePage??n.section.titlePage,c=t===0||r(t-1)!==i,l=e[t],u=l?yf.get(l):void 0;return{headers:a,footers:o,titlePage:s,isFirstPageOfSection:c,geom:l?.[0]?.sectionGeom??u?.geom??Gf(n.section)}}function Gp(e,t,n){let r={...n,y:t};nm(e.body,r)}function Kp(e,t){let n={...t,y:0,dryRun:!0,floats:[]};return nm(e.body,n),n.y}function qp(e,t,n,r){let i=!!(e?.styleId&&e.styleId===t.styleId),a=!!(i&&e?.contextualSpacing),o=!!(i&&t.contextualSpacing);return a&&o?{suppressBefore:!0,overlap:n}:o?{suppressBefore:!0,overlap:0}:a?{suppressBefore:!1,overlap:n+Math.min(n,r)}:{suppressBefore:!1,overlap:Math.min(n,r)}}function Jp(e,t,n,r){if(t<=0)return n[t];let i=qp(e[t-1],e[t],r[t-1],n[t]);return r[t-1]+(i.suppressBefore?0:n[t])-i.overlap}function Yp(e){return!(e.runs??[]).some(e=>{let t=e;return t.type===`text`?(t.text??``).length>0:!0})}function Xp(e){return e.markVanish===!0&&Yp(e)}function Zp(e){let t=!1;for(let n of e.runs??[])if(!(n.type===`text`&&(n.text??``).length===0)){if(n.type===`shape`){t=!0;continue}if(n.type===`image`&&n.anchor){t=!0;continue}if(n.type===`chart`&&n.anchor){t=!0;continue}return!1}return t}function Qp(e){return(e.runs??[]).some(e=>e.type===`image`&&!e.anchor)}function $p(e,t){let n=e[t];return!n||n.type!==`paragraph`||e[t+1]?.type!==`sectionBreak`?!1:Yp(n)}function em(e,t,n){let r=0,i=null,a=0;for(let o of e)if(o.type===`paragraph`){let e=o,s=qp(i,e,a,e.spaceBefore);r+=t(o)-(s.suppressBefore?e.spaceBefore:0)*n-s.overlap*n,i=e,a=e.spaceAfter}else r+=t(o),i=null,a=0;return r}function tm(e,t,n,r){let i=Wf(n.marginTop)*r,a=(n.pageHeight-Wf(n.marginBottom))*r;e.save(),e.strokeStyle=`#000000`,e.lineWidth=Math.max(1,Math.round(.5*r));for(let n=0;n<t.length-1;n++){let o=t[n].xPt+t[n].wPt,s=t[n+1].xPt,c=Math.round((o+s)/2*r)+.5;e.beginPath(),e.moveTo(c,i),e.lineTo(c,a),e.stroke()}e.restore()}function nm(e,t,n,r=0){let i=null,a=0;t.pageAnchorPrescanned=new Set,Bm(e,0,t);let o=t.deferFront;t.deferFront=[];let s=-1,c,l=(e,t)=>(e.colGeom??n)===(t.colGeom??n)&&(e.colIndex??0)===(t.colIndex??0),u=(e,t)=>{if(!t||t.type!==`paragraph`||!l(e,t))return null;let n=t;return n.framePr?null:n},d=t=>u(e[t],e[t-1]),f=t=>u(e[t],e[t+1]);for(let o=0;o<e.length;o++){let l=e[o],u=l.colGeom??n,p=!!u&&u.length>1,m=l.colIndex??0;if(p&&(u!==c||m!==s)){let e=u[Math.min(m,u.length-1)];t.contentX=e.xPt*t.scale,t.contentW=e.wPt*t.scale,m>s&&u===c&&(t.y=(l.colTopPt??t.marginTop)*t.scale+r),i=null,a=0,s=m,c=u}else if(!p&&u&&u.length===1&&u!==c){c&&c.length>1&&l.colTopPt!=null&&(t.y=Math.max(t.y,l.colTopPt*t.scale+r));let e=u[0];t.contentX=e.xPt*t.scale,t.contentW=e.wPt*t.scale,i=null,a=0,s=m,c=u}if(l.type===`paragraph`){let n=l,r=l.lineSlice;if(n.framePr){cm(n,t,om(e,l,t));continue}if(l.collapsedSpacer||l.hiddenCollapsed)continue;let s=!!l.sectionBreakSpacer,c=qp(i,n,a,s?0:n.spaceBefore),u=c.suppressBefore||s,p=l.leadsCollapsedRun?a:c.overlap;t.y-=p*t.scale;let m=!!r&&r.start>0||r?.continues===!0,h=yh(n.borders)?{suppressTop:bh(d(o),n),suppressBottom:bh(n,f(o))}:void 0,g=np(l);fm(n,g,t,r===void 0)?Ud(g,t,{suppressSpaceBefore:u||m,borderMerge:h,continuesParagraph:r?.continues===!0}):um(n,t,u||m,r,!1,h),i=n,a=n.spaceAfter}else if(l.type===`table`){let e=l,n=np(l);up(e,n,t)?Wd(n,t):Qm(e,t),e.tblpPr||(i=null,a=0)}}let p=t.deferFront??[];t.deferFront=o;for(let e of p)e()}function rm(e,t){let n=null,r=0;for(let i=0;i<e.length;i++){let a=e[i],o=qp(n,a,r,a.spaceBefore),s=o.suppressBefore;t.y-=o.overlap*t.scale;let c=e[i-1]??null,l=e[i+1]??null;um(a,t,s,void 0,!1,yh(a.borders)?{suppressTop:bh(c,a),suppressBottom:bh(a,l)}:void 0),n=a,r=a.spaceAfter}}function im(e){switch(e){case`left`:return`left`;case`right`:return`right`;default:return`center`}}function am(e,t,n){let{ctx:r,scale:i,dryRun:a}=t,{grid:o,paraHasRuby:s,contentX:c,indLeft:l,paraW:u,textAreaTopY:d,paragraphStartY:f,markTop:p,totalLines:m,lineSlice:h,borderMerge:g}=n,_=Math.max(0,p-d);p>t.y&&(t.y=p);let v=t.y,y=Hu(e,i,o,s,t.docEastAsian,r,t.fontFamilyClasses);if(e.shading&&!a){r.fillStyle=`#${e.shading}`;let t=mh(c+l,v,u,y,e.borders,g,i);r.fillRect(t.x,t.y,t.w,t.h)}t.y+=y,e.borders&&!a&&hh(r,c+l,v,u,y,e.borders,i,t.dpr,g),(!h||h.end>=m)&&(t.y+=Math.max(e.spaceAfter,gh(e.borders,g))*i),(!h||h.start===0&&!h.continues)&&bm(e,t,f+_,`front`,f)}function om(e,t,n){let r=e.indexOf(t);for(let t=r+1;t<e.length;t++){let r=e[t];if(r.type!==`paragraph`)continue;let i=r;if(!i.framePr)return Hu(i,n.scale,_p(i,n),Yd(n,i).hasRuby,n.docEastAsian,n.ctx,n.fontFamilyClasses)}let i=t;return Hu(i,n.scale,_p(i,n),Yd(n,i).hasRuby,n.docEastAsian,n.ctx,n.fontFamilyClasses)}function sm(e,t,n){let r=e.framePr,{scale:i}=t,a=t.y,o=_p(e,t),s=Yd(t,e),c=s.hasRuby,l=md(e.runs,ep(t)),u=1e5,d=l.length===0?[]:hd(t.ctx,l,u,0,i,e.tabStops,void 0,t.fontFamilyClasses,0,t.kinsoku,Eu(o,i),t.defaultTabPt,u,s.baseRtl,s.isJustified,s.stretchLastLine);return El(r,t,a,d.length===0?0:Math.max(...d.map(e=>e.segments.reduce((e,t)=>e+t.measuredWidth,0))),d.reduce((t,n)=>t+Ru(e.lineSpacing,n.ascent,n.descent,i,o,c,n.intendedSingle,c?s.hasEastAsianText:n.eastAsian??!1,n.gridCountSingle),0),n)}function cm(e,t,n){let r=e.framePr,i=t.y,a=sm(e,t,n),o=t.contentX,s=t.contentW;t.contentX=a.x,t.contentW=Math.max(a.w,a.exRight-a.x),t.y=a.y,um(e,t,!0,void 0,!0),t.contentX=o,t.contentW=s,t.y=i,Ol(a,r,t)}function lm(e,t,n,r){let{ctx:i,scale:a,fontFamilyClasses:o}=t,s=``,c=0,l=null,u=0,d=0;if(e.numbering){s=e.numbering.text,c=e.numbering.tab*a;let f=e.numbering.suff||`tab`,p=e.numbering.picBulletImagePath;if(p){let n=t.images.get($d(p));if(n){let t=wh(e.numbering,e);l={bmp:n,w:t.w*a,h:t.h*a}}}let m;l?m=l.w:(i.font=bu(!1,!1,Su(e)*a,Sh(e.numbering),o),m=i.measureText(Ch(e.numbering)).width);let h=e.numbering.jc||`left`;d=h===`right`?-m:h===`center`?-m/2:0;let g=r+d+m;if(f!==`tab`)u=g+(f===`space`?i.measureText(` `).width:0);else if(g>0){let r=cd(n+g,(e.tabStops??[]).map(e=>({pos:e.pos*a,alignment:e.alignment,leader:e.leader})),t.defaultTabPt*a);r&&(u=r.pos-n)}}return{numTab:c,picBullet:l,numBodyOffset:u,markerJcShiftPx:d,hasMarker:s!==``||l!==null}}function um(e,t,n=!1,r,i=!1,a,o){let{ctx:s,scale:c,contentX:l,contentW:u,defaultColor:d,dryRun:f,fontFamilyClasses:p}=t,m=Xd(t,e),h=t.y;n||(t.y+=e.spaceBefore*c),i||zm(e,t,h),(!r||r.start===0&&!r.continues)&&bm(e,t,h,`behind`),t.y=Kc(t.y,t.floats,l,l+u);let g=t.y,_=m.baseRtl,v=i?0:m.physicalIndentLeftPt*c,y=i?0:m.physicalIndentRightPt*c,b=i?0:e.indentFirst*c,{numTab:x,picBullet:S,numBodyOffset:C,markerJcShiftPx:w,hasMarker:T}=lm(e,t,v,b),E=l+v,D=E+b,O=u-v-y,k=T&&(!_||(e.numbering?.suff||`tab`)===`tab`&&b<0),A=md(e.runs,ep(t)),j=m.hasRuby,M=_p(e,t),N=()=>{if(t.floats.length===0)return g;let n=10*c;return Wc(g,Th(e,c),n,E,O,t.floats,l,l+u).topY};if(A.length===0){am(e,t,{grid:M,paraHasRuby:j,contentX:l,indLeft:v,paraW:O,textAreaTopY:g,paragraphStartY:h,markTop:N(),totalLines:0,lineSlice:void 0,borderMerge:a});return}let P=t.floats.length>0?{startPageY:t.y,paraX:E,columnXPt:l,columnWidthPt:u,floats:t.floats,lineBoxH:(t,n,r,i,a,o)=>Ru(e.lineSpacing,t,n,c,M,j,i??0,j?m.hasEastAsianText:a??!1,o),pageH:t.pageH}:void 0,F=k?C:D-E,I=Eu(M,c),L=e,R=u/c-(i?0:m.physicalIndentLeftPt)-(i?0:m.physicalIndentRightPt),z=i?0:m.physicalIndentLeftPt,B=k?C/c:e.indentFirst,V=Eu(M,1),H=_m&&L.layoutLines!==void 0&&L.layoutLinesInputs!==void 0&&L.layoutLinesInputs.scale===1&&!P&&!L.layoutLinesInputs.hasFloats&&Math.abs(L.layoutLinesInputs.paraW-R)<=1e-6*Math.max(1,Math.abs(R))&&L.layoutLinesInputs.firstIndent===B&&L.layoutLinesInputs.tabOriginPx===z&&L.layoutLinesInputs.gridDeltaPx===V&&dd(L.layoutLinesInputs.kinsoku,t.kinsoku),U=i?0:m.physicalIndentRightPt,W=O+y,G=R+U,K=o===void 0?H?gd(L.layoutLines,c,s,t.fontFamilyClasses,I):P?hd(s,A,O,F,c,e.tabStops,P,t.fontFamilyClasses,v,t.kinsoku,I,t.defaultTabPt,W,_,Lc(e.alignment),Rc(e.alignment)):gd(hd(s,A,R,B,1,e.tabStops,void 0,t.fontFamilyClasses,z,t.kinsoku,V,t.defaultTabPt,G,_,Lc(e.alignment),Rc(e.alignment)),c,s,t.fontFamilyClasses,I):gd([...o],c,s,t.fontFamilyClasses,I),q=(()=>{if(A.some(e=>`isTab`in e))return null;let t=e.tabStops??[];if(t.length===0)return null;let n=t.reduce((e,t)=>t.pos<e.pos?t:e);if(n.alignment!==`decimal`)return null;let r=e.runs.map(e=>e.text??``).join(``).trim();return r===``||!/^[+\\-(]?[\\d., ]+\\)?%?$/.test(r)?null:n.pos*c-v})();if(K.length===0){am(e,t,{grid:M,paraHasRuby:j,contentX:l,indLeft:v,paraW:O,textAreaTopY:g,paragraphStartY:h,markTop:N(),totalLines:K.length,lineSlice:r,borderMerge:a});return}let ee=j?hp(Math.max(0,...K.map(t=>Ru(e.lineSpacing,t.ascent,t.descent,c,M,!0,t.intendedSingle,m.hasEastAsianText))),M,c):0,J=t=>j?ee:Ru(e.lineSpacing,t.ascent,t.descent,c,M,!1,t.intendedSingle,t.eastAsian??!1,t.gridCountSingle),te=r?r.start:0,ne=r?r.end:K.length,Y=Math.min(ne,K.length);if(e.shading&&!f){let t=ph(K,te,Y,g,J);s.fillStyle=`#${e.shading}`;let n=mh(l+v,g,O,t,e.borders,a,c);s.fillRect(n.x,n.y,n.w,n.h)}let re=Lc(e.alignment),ie=Rc(e.alignment),X=_||Nc(A),Z=Ic(e.alignment,_),Q=Eu(M,c),ae={ctx:s,scale:c,state:t,para:e,dryRun:f,defaultColor:d,fontFamilyClasses:p,contentX:l,contentW:u,lines:K,grid:M,paraHasRuby:j,paraX:E,firstLineX:D,paraW:O,indLeft:v,indFirst:b,continuesParagraph:r?.continues===!0,baseRtl:_,hasMarker:T,markerUsesBodyOffset:k,numTab:x,numBodyOffset:C,markerJcShiftPx:w,picBullet:S,isJustified:re,stretchLastLine:ie,alignEdge:Z,paraNeedsBidi:X,decimalAutoTabPx:q,drawGridDeltaPx:Q,lineHForLine:J};for(let e=te;e<Y;e++)mm(e,ae);if(e.borders&&!f){let n=t.y-g;hh(s,l+v,g,O,n,e.borders,c,t.dpr,a)}(!r||r.end>=K.length)&&(t.y+=Math.max(e.spaceAfter,gh(e.borders,a))*c),(!r||r.start===0&&!r.continues)&&bm(e,t,h)}let dm=!0;function fm(e,t,n,r){if(t===void 0||t.fragment.kind!==`paragraph`||e.numbering!=null||n.floats.length!==0||n.verticalCJK||t.fragment.measured.placement.wrap!==void 0||fd(e))return!1;let i=n.contentW/n.scale,a=t.fragment.measured.placement.availableWidthPt,o=Math.abs(a-i)<=1e-6*Math.max(1,Math.abs(i)),s=!r||t.fragment.source===e;return o&&s}function pm(e,t,n,r,i,a){um(e,t,r,i,!1,a,n)}function mm(e,t){let{ctx:n,scale:r,state:i,para:a,dryRun:o,defaultColor:s,fontFamilyClasses:c,contentX:l,contentW:u,lines:d,grid:f,paraHasRuby:p,paraX:m,firstLineX:h,paraW:g,indLeft:_,indFirst:v,continuesParagraph:y,baseRtl:b,hasMarker:x,markerUsesBodyOffset:S,numTab:C,numBodyOffset:w,markerJcShiftPx:T,picBullet:E,isJustified:D,stretchLastLine:O,alignEdge:k,paraNeedsBidi:A,decimalAutoTabPx:j,drawGridDeltaPx:M,lineHForLine:N}=t,P=d[e],F=!!i.verticalCJK&&!i.verticalAllRotated,I=e===0&&!y,L=e===d.length-1;P.topY!==void 0&&P.topY>i.y&&(i.y=P.topY);let R=N(P),z=P.ascent+P.descent,B=a.lineSpacing?.rule===`auto`&&!p&&!Fu(f)?Math.max(z,P.intendedSingle):R,V=i.y+(B-z)/2+P.ascent,H=m+P.xOffset,U=P.availWidth,W=I&&!b?x?H+w:H+v:H,G=b&&I?U-(S?w:v):U,K=A?Fc(P.segments,b):null;A&&(n.textAlign=`left`);let q=P.segments.length,ee=K?K.order[q-1]:q-1,J=P.segments.reduce((e,t)=>e+t.measuredWidth,0),te=G-(W-H)-J,ne=L||(P.endsWithBreak??!1),Y=D&&(!ne||O),re=null,ie=0,X=null,Z=0;if(!A)for(let e=0;e<q;e++){let t=P.segments[e];if(!(`text`in t)||/\\S/.test(t.text)){Z=e;break}}let Q=0;if(!Y&&te<0){let e=Yc(P.segments.map(e=>`text`in e&&e.fitTextRegionIndex===void 0?{text:e.text}:{}),te,Z,A?ee:q,P.ascent);e&&(re=e.perSeg,ie=e.perGap,Q=Jc(e))}let ae=te-Q,oe=0,se=P.segments.length===1&&`mathNodes`in P.segments[0]&&P.segments[0].display?P.segments[0]:null,ce=(se?im(se.jc??i.mathDefJc??`centerGroup`):null)??k;if(ce===`right`?oe=ae:ce===`center`?oe=ae/2:ce===`justify`&&b&&!Y&&(oe=ae),j!=null&&J>0&&(oe=Math.max(0,m+j-J-W)),W+=oe,I&&x&&!o)if(E){let{bmp:e,w:t,h:r}=E,i=V-r,a=b?W+J+C-t:H+v+T;n.drawImage(e,a,i,t,r)}else{let e=Su(a)*r;n.font=bu(!1,!1,e,Sh(a.numbering),c);let t=a.numbering.color??(a.numbering.colorAuto?null:a.paragraphMarkColor);if(n.fillStyle=t?`#${t}`:s,b){let e=n.textAlign,t=n.direction;n.textAlign=`left`,n.direction=`rtl`;let r=Ch(a.numbering),i=n.measureText(r).width;n.fillText(r,W+J+C-i,V),n.textAlign=e,n.direction=t}else{let t=Ch(a.numbering),r=H+v+T;F?tu(n,t,r,V,e,0):n.fillText(t,r,V)}n.fillStyle=s}if(Y){let e=G-(W-H)-J,t=-P.ascent*.25,i=P.segments.map(e=>`text`in e&&e.fitTextRegionIndex===void 0?{text:e.text}:{}),o=F?null:Kd(a.alignment),s=o?qd(n,P.segments,e,o,r,c,M):null;s&&(X=s.perSeg);let l=s?.residualPx??e,u=qc(i,l,Z,A?ee:q,t,l>0,a.alignment===`thaiDistribute`&&l>0);re=u?u.perSeg:null,ie=u?u.perGap:0}let le=null,ue=()=>{if(!le)return;let e=le;le=null;let t=Math.max(1,e.border.width*r),i=(e.border.space??0)*r;n.strokeStyle=e.border.color?`#${e.border.color}`:s,n.lineWidth=t,n.strokeRect(e.left-i,e.top-i,e.right-e.left+2*i,e.bottom-e.top+2*i)};for(let e=0;e<q;e++){let t=K?K.order[e]:e,l=P.segments[t];if(K&&(n.direction=K.rtl[t]?`rtl`:`ltr`),`text`in l||ue(),`isTab`in l){!o&&l.leader&&l.leader!==`none`&&l.measuredWidth>1&&vm(n,l.leader,W,V,l.measuredWidth,l.fontSize*r,s,l.bold,l.italic),W+=l.measuredWidth;continue}if(`imagePath`in l){o||ym(n,l,W,V,r,i.images,!!i.verticalCJK),W+=l.measuredWidth;continue}if(`mathNodes`in l){let e=su.get(l.mathNodes);if(!o&&e){let t=l.fontSize*r,i=e.widthEm*t,a=(e.ascentEm+e.descentEm)*t,o=V-e.ascentEm*t;n.drawImage(e.img,W,o,i,a)}else !o&&l.fallbackText&&(n.font=bu(!1,!1,l.fontSize*r,null,c),n.fillStyle=l.color??s,n.fillText(l.fallbackText,W,V));W+=l.measuredWidth;continue}let u=l,d=X?.get(t),f=d?.text??u.text,p=re?.get(t),m=!d&&u.fitTextRegionIndex===void 0?p:void 0,h=p?.trailingGap??!1,g=(m?.internalStretch??0)+(d?.advanceDeltaPx??0);if(!o){let e=xu(u,r),o=-(u.position??0)*r,l=(u.vertAlign===`super`?-u.fontSize*r*.35:u.vertAlign===`sub`?u.fontSize*r*.15:0)+o;n.font=bu(u.bold,u.italic,e,u.fontFamily,c);let d=u.charScale??1,p=u.fitTextPerGapPx??(u.charSpacing??0)*r,h=n.fontKerning;u.kerning!=null&&(n.fontKerning=u.fontSize>=u.kerning?`normal`:`none`);let _=u.measuredWidth+g,v=_+(m?.trailingGap&&!A&&/\\s$/.test(u.text)?ie:0),y=V+l-e*.85,b=e*1.1;u.highlight&&(n.fillStyle=Gd[u.highlight]??`#FFFF00`,n.fillRect(W,y,v,b)),u.background&&(n.fillStyle=`#${u.background}`,n.fillRect(W,y,v,b));let x=u.border&&u.border.style!==`none`&&u.border.style!==`nil`?u.border:null;if(x){let e=y,t=e+b;le&&xh(le.border,x)?(le.right=W+v,le.top=Math.min(le.top,e),le.bottom=Math.max(le.bottom,t)):(ue(),le={border:x,left:W,right:W+v,top:e,bottom:t})}else ue();let S=i.showTrackChanges&&!!u.revision,C=S?af(u.revision.author):null,w,T=u.background??a.shading??i.containerShading??null;w=C||(u.color?`#${u.color}`:u.colorAuto||T!=null?tt(T):s),n.fillStyle=w;let E=ku(u,M),D=Ou(f,E),O=f,k=W,j=0;if(K&&K.rtl[t]===!0&&!F&&/\\s$/u.test(f)){let e=f.replace(/\\s+$/u,``);if(e.length>0){let t=n.letterSpacing;n.letterSpacing=`0px`;let i=n.measureText(f).width,a=n.measureText(e).width;n.letterSpacing=t,j=Pu({...u,text:f},i,M,r)-Pu({...u,text:e},a,M,r),O=e,k=W+j}}if(F&&u.tateChuYoko)nu(n,f,W,V+l,e,_,d,!!u.tateChuYokoCompress);else if(F)tu(n,f,W,V+l,e,Nu(u,M,r),d,u.verticalRun===!0);else if(u.fitTextPerGapPx!==void 0){let e=!!(K&&K.rtl[t]),r=u.fitTextTrailingPadPx??0,i=W+(e?r:0)+j,a=d!==1,o=n.letterSpacing;a&&(n.save(),n.translate(i,0),n.scale(d,1)),n.letterSpacing=`${u.fitTextPerGapPx/d}px`,n.fillText(O,a?0:i,V+l),n.letterSpacing=o,a&&n.restore()}else if(D!==0){let e=[...f],t=e=>n.measureText(e).width,r=E+p,i=d!==1,a=rs(e,m?.splitBefore??[],ie/d,t,r/d),o=n.letterSpacing;i&&(n.save(),n.translate(W,0),n.scale(d,1));let s=i?0:W;n.letterSpacing=`${r/d}px`;for(let{text:e,dx:t}of a)n.fillText(e,s+t,V+l);n.letterSpacing=o,i&&n.restore()}else if(m&&m.splitBefore.length>0){let e=[...f],t=d!==1,r=t?0:W,i=n.letterSpacing;if(t&&(n.save(),n.translate(W,0),n.scale(d,1)),m.splitBefore.length===e.length-1)n.letterSpacing=`${(ie+p)/d}px`,n.fillText(f,r,V+l);else{let t=e=>n.measureText(e).width;for(let{text:i,dx:a}of rs(e,m.splitBefore,ie/d,t,p/d))n.letterSpacing=`${p/d}px`,n.fillText(i,r+a,V+l)}n.letterSpacing=i,t&&n.restore()}else if(d!==1){n.save(),n.translate(k,0),n.scale(d,1);let e=n.letterSpacing;p!==0&&(n.letterSpacing=`${p/d}px`),n.fillText(O,0,V+l),n.letterSpacing=e,n.restore()}else if(p!==0){let e=n.letterSpacing;n.letterSpacing=`${p}px`,n.fillText(O,k,V+l),n.letterSpacing=e}else n.fillText(O,k,V+l);if(u.kerning!=null&&(n.fontKerning=h),u.ruby){let t=u.ruby.fontSizePt*r,i=bu(u.bold,u.italic,t,u.fontFamily,c);n.save(),n.font=i;let a=n.measureText(u.ruby.text).width,o=W+(_-a)/2,s=u.ruby.hpsRaisePt==null?V+l-e*.85-t*.1:V+l-u.ruby.hpsRaisePt*r;n.fillStyle=w,n.fillText(u.ruby.text,o,s),n.restore()}if(u.emphasisMark){let t=Nd(u.emphasisMark,e),r=!!m&&m.splitBefore.length>0&&m.splitBefore.length===[...u.text].length-1,i=D===0?r?ie:0:E,a=Md(u.text,e=>n.measureText(e).width,W,i),o=e*.06,s=t.above?y-o-t.radius:y+b+o+t.radius;n.save(),n.fillStyle=w,n.strokeStyle=w;for(let{centerX:e}of a)t.shape===`circle`?(n.lineWidth=Math.max(.5,t.radius*.35),n.beginPath(),n.arc(e,s,t.radius,0,Math.PI*2),n.stroke()):t.shape===`comma`?(n.beginPath(),n.arc(e,s,t.radius,0,Math.PI*2),n.fill(),n.beginPath(),n.moveTo(e-t.radius*.5,s+t.radius*.2),n.lineTo(e+t.radius*.5,s+t.radius*.2),n.lineTo(e-t.radius*.1,s+t.radius*1.4),n.closePath(),n.fill()):(n.beginPath(),n.arc(e,s,t.radius,0,Math.PI*2),n.fill());n.restore()}if(i.onTextRun&&u.text){let t=au(W,i.y,i.verticalPhys?.cssWidthPx??0,!!i.verticalCJK),a=!F&&!u.tateChuYoko?Nu(u,M,r):0;i.onTextRun({text:u.text,x:t?t.left:W,y:t?t.top:i.y,w:_,h:R,fontSize:e,font:n.font,...a===0?{}:{letterSpacingPx:a},transform:t?.transform,hyperlink:u.hyperlink,eastAsianVert:F&&u.tateChuYoko?!0:void 0})}let N=w,P=Math.max(.5,e*.05),I=S&&u.revision?.kind===`insertion`,L=S&&u.revision?.kind===`deletion`;if(u.underline||I){let t=V+l+e*.12,r=I?void 0:u.underlineStyle;if(r){let a=u.underlineColor&&u.underlineColor!==`auto`?`#${u.underlineColor}`:N,o=Math.max(1,e*.05),s=t-Math.max(2,o);fa(n,W,s,v,e,a,_c(r),i.dpr),n.setLineDash([])}else{n.strokeStyle=!I&&u.underlineColor&&u.underlineColor!==`auto`?`#${u.underlineColor}`:N,n.lineWidth=P;let e=t+sa(t,P,i.dpr);n.beginPath(),n.moveTo(W,e),n.lineTo(W+v,e),n.stroke()}}if(u.strikethrough||L){n.strokeStyle=N,n.lineWidth=P;let t=V+l-e*.3,r=t+sa(t,P,i.dpr);n.beginPath(),n.moveTo(W,r),n.lineTo(W+v,r),n.stroke()}if(u.doubleStrikethrough){n.strokeStyle=N,n.lineWidth=P;let t=V+l-e*.35,r=V+l-e*.22,a=t+sa(t,P,i.dpr),o=r+sa(r,P,i.dpr);n.beginPath(),n.moveTo(W,a),n.lineTo(W+v,a),n.stroke(),n.beginPath(),n.moveTo(W,o),n.lineTo(W+v,o),n.stroke()}}W+=u.measuredWidth+g,h&&(W+=ie)}if(ue(),A&&(n.direction=`ltr`),i.lineNumbering&&i.lineNumberCounter!==void 0){let e=i.lineNumberCounter;e%i.lineNumbering.countBy===0&&!o&&hm(n,e,V,l,i.lineNumbering,r,i.defaultColor),i.lineNumberCounter=e+1}i.y+=R}function hm(e,t,n,r,i,a,o){e.save(),e.fillStyle=o,e.font=bu(!1,!1,i.fontSizePt*a,null,{});let s=e.textAlign;e.textAlign=`right`,e.fillText(String(t),r-i.distancePt*a,n),e.textAlign=s,e.restore()}function gm(e,t,n){let r=e;r.layoutLines=t,r.layoutLinesInputs={scale:1,...n}}let _m=!0;function vm(e,t,n,r,i,a,o,s,c){let l=t===`hyphen`?`-`:t===`underscore`||t===`heavy`?`_`:t===`middleDot`?`·`:`.`;e.save(),e.font=`${`${c?`italic `:``}${s?`bold `:``}`}${a}px serif`,e.fillStyle=o;let u=e.measureText(l).width;if(u>0){let a=t===`dot`||t===`middleDot`?u*1.5:u,o=u*.5,s=n+i-a-o;for(let t=n+o;t<=s;t+=a)e.fillText(l,t,r)}e.restore()}function ym(e,t,n,r,i,a,o){if(t.anchor)return;let s=t.widthPt*i,c=t.heightPt*i,l=r-c,u=t=>{o?ru(e,n,l,s,c,t):t(n,l,s,c)};if(t.chart){let n=t.chart;u((t,r,a,o)=>xn(e,n,{x:t,y:r,w:a,h:o},i));return}let d=a.get($d(t.imagePath,t.colorReplaceFrom,t.duotone));if(!d)return;let f=t.alpha!=null&&t.alpha<1;f&&(e.save(),e.globalAlpha*=t.alpha),u((n,r,i,a)=>Zi(e,d,t.srcRect,n,r,i,a)),f&&e.restore()}function bm(e,t,n,r=`front`,i=n){if(t.dryRun)return;if(r===`behind`){let r=e.runs.filter(e=>e.type===`shape`&&!!e.behindDoc).slice().sort((e,t)=>(e.zOrder??0)-(t.zOrder??0));for(let e of r){let r=e;Tm(r,t,Bc(r.wrapMode)?i:n)}return}if(t.deferFront){let r=t.contentX,a=t.contentW;t.deferFront.push(()=>{let o=t.contentX,s=t.contentW,c=t.deferFront;t.contentX=r,t.contentW=a,t.deferFront=null,bm(e,t,n,`front`,i),t.contentX=o,t.contentW=s,t.deferFront=c});return}let a=e.runs.map((e,t)=>{let n=e.type===`shape`?e.zOrder:null;return{run:e,index:t,z:typeof n==`number`&&Number.isFinite(n)?n:t}}).sort((e,t)=>e.z-t.z||e.index-t.index);for(let{run:e}of a){if(e.type===`shape`){let r=e;if(r.behindDoc)continue;Tm(r,t,Bc(r.wrapMode)?i:n);continue}if(e.type===`chart`){let r=e;if(!r.anchor||Bc(r.wrapMode))continue;let{x:i,y:a,w:o,h:s}=Im(r,t,n),c=r.chart;t.verticalCJK?ru(t.ctx,i,a,o,s,(e,n,r,i)=>xn(t.ctx,c,{x:e,y:n,w:r,h:i},t.scale)):xn(t.ctx,c,{x:i,y:a,w:o,h:s},t.scale);continue}if(e.type!==`image`)continue;let r=e;if(!r.anchor||Bc(r.wrapMode))continue;let a=t.images.get($d(r.imagePath,r.colorReplaceFrom,r.duotone));if(!a)continue;let{x:o,y:s,w:c,h:l}=Im(r,t,n),u=r.alpha!=null&&r.alpha<1;u&&(t.ctx.save(),t.ctx.globalAlpha*=r.alpha),t.verticalCJK?ru(t.ctx,o,s,c,l,(e,n,i,o)=>Zi(t.ctx,a,r.srcRect??void 0,e,n,i,o)):Zi(t.ctx,a,r.srcRect??void 0,o,s,c,l),u&&t.ctx.restore()}}function xm(e){if(e)return{type:e.type,w:e.w,len:e.len}}function Sm(e,t,n){if(t.verticalPhys){let n=Sm(e,Fm(t),t.contentX);return iu(n.x,n.y,n.w,n.h,t.verticalPhys.cssWidthPx)}let{scale:r}=t,i=e.widthPt*r,a=e.heightPt*r,o=e.anchorXPt,s=e.anchorYPt,c=e.groupWidthPt??null,l=e.groupHeightPt??null;if(e.widthPct!=null){let n=Ml(e.widthRelativeFrom,!1,t),a=(n.end-n.start)*e.widthPct/r;if(e.groupWidthPt!=null&&e.groupWidthPt>0){let t=a/e.groupWidthPt;i=e.widthPt*r*t,o=e.anchorXPt*t}else i=a*r;c=a}if(e.heightPct!=null){let i=Nl(e.heightRelativeFrom,!1,n,t),o=(i.end-i.start)*e.heightPct/r;if(e.groupHeightPt!=null&&e.groupHeightPt>0){let t=o/e.groupHeightPt;a=e.heightPt*r*t,s=e.anchorYPt*t}else a=o*r;l=o}return{x:Pl(e.anchorXAlign,e.anchorXFromMargin,o,i,t,e.anchorXRelativeFrom,e.pctPosH,c),y:Fl(e.anchorYAlign,e.anchorYFromPara,s,a,n,t,e.anchorYRelativeFrom,e.pctPosV,l),w:i,h:a}}function Cm(e){return e&&e.fillType===`solid`?`#${e.color}`:null}function wm(e,t,n,r,i,a,o,s,c,l={}){let u=t.string;if(!u||i<=0||a<=0)return;e.save(),e.font=bu(t.bold??!1,t.italic??!1,100,t.fontFamily??null,l);let d=e.measureText(u),f=d.width||100,p=(d.fontBoundingBoxAscent??d.actualBoundingBoxAscent??100*.8)+(d.fontBoundingBoxDescent??d.actualBoundingBoxDescent??100*.2)||100,m=n+i/2,h=r+a/2;e.translate(m,h),o!==0&&e.rotate(o*Math.PI/180),e.scale(i/f,a/p),e.textAlign=`center`,e.textBaseline=`middle`,e.globalAlpha=Math.max(0,Math.min(1,c)),e.fillStyle=s??`#c0c0c0`,e.fillText(u,0,0),e.restore()}function Tm(e,t,n){if(t.verticalPhys){let n=t.verticalPhys.cssWidthPx,{ctx:r}=t;r.save(),r.rotate(-Math.PI/2),r.translate(-n,0),Tm(e,Fm(t),t.contentX),r.restore();return}let{ctx:r,scale:i}=t,{x:a,y:o,w:s,h:c}=Sm(e,t,n),l=e.presetGeometry?.toLowerCase()??``,u=l===`line`||l.startsWith(`straightconnector`)||l.startsWith(`bentconnector`)||l.startsWith(`curvedconnector`),d=l===`callout1`||l===`callout2`||l===`callout3`||l===`bordercallout1`||l===`bordercallout2`||l===`bordercallout3`||l===`accentcallout1`||l===`accentcallout2`||l===`accentcallout3`||l===`accentbordercallout1`||l===`accentbordercallout2`||l===`accentbordercallout3`,f=d||l===`line`||l.startsWith(`straightconnector`)||l.startsWith(`bentconnector`);if(s<0||c<0||(u?s===0&&c===0:s===0||c===0))return;if(!u){let n=Mm(e,{x:a,y:o,w:s,h:c},r,i,t.fontFamilyClasses,t.images,t);a=n.x,o=n.y,s=n.w,c=n.h}if(e.textPath&&e.textPath.string.length>0){wm(r,e.textPath,a,o,s,c,e.rotation??0,Cm(e.fill),e.fillOpacity??1,t.fontFamilyClasses);return}let p=e.rotation??0,m=e.flipH??!1,h=e.flipV??!1;r.save(),(p!==0||m||h)&&(r.translate(a+s/2,o+c/2),p!==0&&r.rotate(p*Math.PI/180),m&&r.scale(-1,1),h&&r.scale(1,-1),r.translate(-(a+s/2),-(o+c/2)));let g=e.presetGeometry?.toLowerCase()??``,_=!!e.presetGeometry&&Pn(g),v=e.adjValues??[],y=nt(e.fill,r,a,o,s,c),b=e.stroke&&(e.strokeWidth??0)>0?{color:e.stroke,width:e.strokeWidth??0,dashStyle:e.strokeDash??void 0,headEnd:xm(e.headEnd),tailEnd:xm(e.tailEnd)}:null,x=b?()=>{at(r,b,i),r.stroke()}:null;if(_?zn(r,g,a,o,s,c,[v[0]??null,v[1]??null,v[2]??null,v[3]??null,v[4]??null,v[5]??null,v[6]??null,v[7]??null],y,x,()=>{},f?{skipTrailingStroke:!0}:void 0):(r.beginPath(),e.presetGeometry?Yn(r,e.presetGeometry,a,o,s,c,v[0]??null,v[1]??null,v[2]??null,v[3]??null):Sn(r,e.subpaths,a,o,s,c),y&&(r.fillStyle=y,r.fill()),x&&x()),b&&(b.headEnd||b.tailEnd)&&(u||d)){let t=Bn(l,a,o,s,c,e.adjValues??[]);if(t){if(r.setLineDash([]),f&&t.vertices.length>=2){let e=t.vertices.map(e=>({x:e.x,y:e.y}));if(b.tailEnd){let t=Qn(b.tailEnd,b,i);e[e.length-1]=$n(e[e.length-1],e[e.length-2],t)}if(b.headEnd){let t=Qn(b.headEnd,b,i);e[0]=$n(e[0],e[1],t)}at(r,b,i),r.beginPath(),r.moveTo(e[0].x,e[0].y);for(let t=1;t<e.length;t++)r.lineTo(e[t].x,e[t].y);r.stroke()}b.tailEnd&&er(r,t.end.x,t.end.y,t.end.angle,b.tailEnd,b,i),b.headEnd&&er(r,t.start.x,t.start.y,t.start.angle,b.headEnd,b,i)}}r.restore(),e.textBlocks&&e.textBlocks.length>0&&Nm(e,a,o,s,c,r,i,t.fontFamilyClasses,t.images,t)}function Em(e,t,n,r){let i=(e??0)*r,a=(t??0)*r;return i<=0||a<=0?{w:n,h:n}:i<=n?{w:i,h:a}:{w:n,h:n/i*a}}function Dm(e,t){return{lIns:(e.textInsetL??0)*t,rIns:(e.textInsetR??0)*t}}function Om(e){return e.lineSpacingRule?{value:e.lineSpacingVal??0,rule:e.lineSpacingRule}:null}function km(e){return e===`vert`||e===`vert270`||e===`eaVert`||e===`mongolianVert`?e:null}function Am(e,t,n,r){let i=e.ascent+e.descent,a=Ru(t,e.ascent,e.descent,n,r,!0,e.intendedSingle,e.eastAsian??!1);return{lineH:a,baselineOffset:(a-i)/2+e.ascent}}function jm(e,t,n,r,i={},a=new Map,o){let s=o??vd(n,r,i,a),c=e.textBlocks??[],l=km(e.textVert),{lIns:u,rIns:d}=Dm(e,r),f=(e.textInsetT??0)*r,p=(e.textInsetB??0)*r,m=Math.max(0,t-u-d),h=e=>{let t=(e.indentLeft??0)*r,n=(e.indentRight??0)*r,i=(e.indentFirst??0)*r,a=e.numbering&&i<0?0:i,o=Math.max(0,m-t-n);return{leftPx:t,firstPx:a,paraW:o,firstLineW:Math.max(0,o-a)}},g=(e,t)=>{if(l&&t.hasRuby)return Am(t,Om(e),r,s.docGrid).lineH;let a=null,o=!1,c=0,u=``;for(let e of t.segments){if(!(`text`in e))continue;let t=e;u+=t.text;let n=Tu.test(t.text)&&!t.ruby;(!a||t.fontSize>a.fontSize)&&(a=t,o=n);let i=t.fontSize*r;c=Math.max(c,sc(t.fontFamily??null,i,n),sc(t.eaFloorFamily??null,i,n))}let d=Tu.test(u),f=(a?.fontSize??e.fontSizePt)*r,p=a?.fontFamily??e.fontFamily??null,m=a?.eaFloorFamily??e.fontFamily??null,h=sc(p,f,o),g=sc(m,f,o)>h?m:p;n.font=bu(a?.bold??e.bold??!1,a?.italic??e.italic??!1,f,g,i);let _=n.measureText(`Mg`),v=cc(g,f,_.fontBoundingBoxAscent??_.actualBoundingBoxAscent??f*.8,_.fontBoundingBoxDescent??_.actualBoundingBoxDescent??f*.2,o),y=e.lineSpacingRule?{value:e.lineSpacingVal??0,rule:e.lineSpacingRule}:null,b=d;return Ru(y,v.ascent,v.descent,r,s.docGrid,t.hasRuby??!1,c,b,t.gridCountSingle)},_=c.map(e=>(e.spaceBefore??0)*r),v=c.map(e=>(e.spaceAfter??0)*r),y=e=>Jp(c,e,_,v);n.save();try{let e=0;for(let t=0;t<c.length;t++){let a=c[t],o=h(a);if(e+=y(t),a.imagePath){e+=Em(a.imageWidthPt??0,a.imageHeightPt??0,o.firstLineW,r).h;continue}let l=md((a.runs&&a.runs.length>0?a.runs:[{text:a.text,fontSizePt:a.fontSizePt,color:a.color,fontFamily:a.fontFamily,bold:a.bold,italic:a.italic}]).map(_d),s),u=qa(a.bidi,a.text)===`rtl`,d=hd(n,l,o.paraW,o.firstPx,r,a.tabStops??[],void 0,i,o.leftPx,s.kinsoku,0,s.defaultTabPt,o.paraW,u,Lc(a.alignment),Rc(a.alignment));e+=d.reduce((e,t)=>e+g(a,t),0)}return f+e+p}finally{n.restore()}}function Mm(e,t,n,r,i={},a=new Map,o){let{x:s,y:c,w:l,h:u}=t;if(e.textAutofit!==`sp`||!e.textBlocks||e.textBlocks.length===0)return{x:s,y:c,w:l,h:u};if(km(e.textVert)===null){let t=jm(e,l,n,r,i,a,o);return Number.isFinite(t)&&t>0?{x:s,y:c,w:l,h:t}:{x:s,y:c,w:l,h:u}}if(e.textBlocks.some(e=>e.imagePath))return{x:s,y:c,w:l,h:u};let d=jm(e,u,n,r,i,a,o);return Number.isFinite(d)&&d>0?{x:s,y:c,w:d,h:u}:{x:s,y:c,w:l,h:u}}function Nm(e,t,n,r,i,a,o,s={},c=new Map,l){let u=km(e.textVert),d=u===`eaVert`||u===`mongolianVert`,f=u===`mongolianVert`,p=u===`vert270`?-1:1;if(u){let e=r,o=i;a.save(),a.translate(t+e/2,n+o/2),a.rotate(Math.PI/2*p),t=-o/2,n=-e/2,r=o,i=e}let m=l??vd(a,o,s,c),h=m.defaultColor??`#000000`,g=e.defaultTextColor?`#${e.defaultTextColor}`:h,_=e.textBlocks??[],{lIns:v,rIns:y}=Dm(e,o),b=(e.textInsetT??0)*o,x=(e.textInsetB??0)*o,S=t+v,C=Math.max(0,r-v-y),w=n+b,T=Math.max(0,i-b-x),E=(e,t)=>f?2*w+T-e-t+x-v:e,D=e=>{let t=(e.indentLeft??0)*o,n=(e.indentRight??0)*o,r=(e.indentFirst??0)*o,i=e.numbering&&r<0?0:r,a=Math.max(0,C-t-n);return{leftPx:t,firstPx:i,markerFirstPx:r,paraW:a,firstLineW:Math.max(0,a-i)}},O=(e,t,n,r,i,c,l,u,d,f=!1,p=!1,m=f)=>{let h=sc(e??null,r,m),g=sc(c??null,r,m),_=l??Math.max(h,g),v=g>h?c??null:e??null;a.font=bu(t,n,r,v,s);let y=a.measureText(`Mg`),b=cc(v,r,y.fontBoundingBoxAscent??y.actualBoundingBoxAscent??r*.8,y.fontBoundingBoxDescent??y.actualBoundingBoxDescent??r*.2,m),x=b.ascent+b.descent,S=i.lineSpacingRule?{value:i.lineSpacingVal??0,rule:i.lineSpacingRule}:null,C=Ru(S,b.ascent,b.descent,o,d,p,_,f,u);return{lineH:C,baselineOffset:((S?.rule===`auto`&&!p&&!Fu(d)?Math.max(x,_):C)-x)/2+b.ascent}},k=(e,t)=>{if(u&&t.hasRuby)return Am(t,Om(e),o,m.docGrid);let n=null,r=!1,i=0,a=``;for(let e of t.segments){if(!(`text`in e))continue;let t=e;a+=t.text;let s=t.fontSize*o,c=Tu.test(t.text)&&!t.ruby;(!n||t.fontSize>n.fontSize)&&(n=t,r=c),i=Math.max(i,sc(t.fontFamily??null,s,c),sc(t.eaFloorFamily??null,s,c))}let s=(n?.fontSize??e.fontSizePt)*o,c=Tu.test(a);return O(n?.fontFamily??e.fontFamily,n?.bold??e.bold??!1,n?.italic??e.italic??!1,s,e,n?.eaFloorFamily??e.fontFamily,i,t.gridCountSingle,m.docGrid,c,t.hasRuby??!1,r)},A=_.map(e=>{let t=D(e);if(e.imagePath){if(u){let n=Em(e.imageHeightPt??0,e.imageWidthPt??0,t.firstLineW,o),r=n.w,i=n.h;return{kind:`image`,fitW:i,fitH:r,crossExtent:i,ind:t}}let{w:n,h:r}=Em(e.imageWidthPt??0,e.imageHeightPt??0,t.firstLineW,o);return{kind:`image`,fitW:n,fitH:r,ind:t}}let n=md((e.runs&&e.runs.length>0?e.runs:[{text:e.text,fontSizePt:e.fontSizePt,color:e.color,fontFamily:e.fontFamily,bold:e.bold,italic:e.italic}]).map(_d),m),r=qa(e.bidi,e.text)===`rtl`,i=hd(a,n,t.paraW,t.firstPx,o,e.tabStops??[],void 0,s,t.leftPx,m.kinsoku,0,m.defaultTabPt,t.paraW,r,Lc(e.alignment),Rc(e.alignment)),c=i.map(t=>k(e,t));return{kind:`text`,lines:i,lineHeights:c.map(e=>e.lineH),baselineOffsets:c.map(e=>e.baselineOffset),baseRtl:r,alignment:e.alignment,ind:t}}),j=e=>e.kind===`image`?e.crossExtent??e.fitH:e.lineHeights.reduce((e,t)=>e+t,0),M=_.map(e=>(e.spaceBefore??0)*o),N=_.map(e=>(e.spaceAfter??0)*o),P=e=>Jp(_,e,M,N),F=A.reduce((e,t,n)=>e+P(n)+j(t),0),I=e.textAnchor??`t`,L;L=I===`b`?w+Math.max(0,T-F):I===`ctr`?w+Math.max(0,(T-F)/2):w;let R=e.textAutofit===`none`;R&&(a.save(),a.beginPath(),a.rect(t,n,r,i),a.clip());for(let e=0;e<_.length;e++){let t=_[e],n=A[e];if(L+=P(e),n.kind===`image`){let{fitW:e,fitH:r,ind:i}=n,o=S+i.leftPx+i.firstPx,s=i.firstLineW,l=t.imagePath?c.get($d(t.imagePath)):void 0;if(u){let i=n.crossExtent??e,c=r,u=o+Math.max(0,(s-c)/2);t.alignment===`left`||t.alignment===`both`?u=o:t.alignment===`right`&&(u=o+Math.max(0,s-c));let d=E(L,i);l&&(a.save(),a.translate(u+c/2,d+i/2),a.rotate(-p*Math.PI/2),a.drawImage(l,-i/2,-c/2,i,c),a.restore()),L+=i;continue}if(l){let n=o+Math.max(0,(s-e)/2);t.alignment===`left`||t.alignment===`both`?n=o:t.alignment===`right`&&(n=o+Math.max(0,s-e)),a.drawImage(l,n,L,e,r)}L+=r;continue}if(n.kind===`text`){let{lines:e,baseRtl:r,ind:i}=n,c=Lc(n.alignment)?`justify`:Ic(n.alignment,r),l=c===`justify`,u=Rc(n.alignment),p=r||e.some(e=>Nc(e.segments));a.textAlign=`left`;for(let h=0;h<e.length;h++){let _=e[h],v=h===0,y=h===e.length-1,b=n.lineHeights[h],x=n.baselineOffsets[h],C=f?_.segments.reduce((e,t)=>!(`text`in t)||!t.ruby?e:Math.max(e,ou(t.ruby.fontSizePt,t.ruby.hpsRaisePt,o)),0):0,w=E(L,b)+(f?b-x+C:x),T=S+i.leftPx+(v?i.firstPx:0),D=v?i.firstLineW:i.paraW,O=_.segments.length,k=p?Fc(_.segments,r):null,A=k?k.order[O-1]:O-1,j=_.segments.reduce((e,t)=>e+t.measuredWidth,0),M=y||(_.endsWithBreak??!1),N=l&&(!M||u),P=D-j,F=null,I=0,R=null,z=0;if(!p)for(let e=0;e<O;e++){let t=_.segments[e];if(!(`text`in t)||/\\S/.test(t.text)){z=e;break}}let B=0;if(!N&&P<0){let e=Yc(_.segments.map(e=>`text`in e&&e.fitTextRegionIndex===void 0?{text:e.text}:{}),P,z,p?A:O,_.ascent);e&&(F=e.perSeg,I=e.perGap,B=Jc(e))}let V=P-B,H=0;N||(c===`right`?H=Math.max(0,V):c===`center`?H=Math.max(0,V/2):c===`justify`&&r&&(H=Math.max(0,V)));let U=T+H;if(v&&t.numbering){a.font=bu(!1,!1,t.fontSizePt*o,Sh(t.numbering),s);let e=t.numbering.color??(t.numbering.colorAuto?null:t.color??t.runs?.find(e=>e.color)?.color??null);a.fillStyle=e?`#${e}`:g;let n=Ch(t.numbering),r=a.measureText(n).width,c=t.numbering.jc||`left`,l=c===`right`?-r:c===`center`?-r/2:0,u=S+i.leftPx+i.markerFirstPx+l;d?tu(a,n,u,w,t.fontSizePt*o,0):a.fillText(n,u,w)}if(N){let e=-_.ascent*.25,t=_.segments.map(e=>`text`in e&&e.fitTextRegionIndex===void 0?{text:e.text}:{}),r=m.verticalCJK?null:Kd(n.alignment),i=r?qd(a,_.segments,P,r,o,s,0):null;i&&(R=i.perSeg);let c=i?.residualPx??P,l=qc(t,c,z,p?A:O,e,c>0,n.alignment===`thaiDistribute`&&c>0);F=l?l.perSeg:null,I=l?l.perGap:0}for(let e=0;e<O;e++){let t=k?k.order[e]:e,n=_.segments[t];if(k&&(a.direction=k.rtl[t]?`rtl`:`ltr`),`isTab`in n){n.leader&&n.leader!==`none`&&n.measuredWidth>1&&vm(a,n.leader,U,w,n.measuredWidth,n.fontSize*o,g,n.bold,n.italic),U+=n.measuredWidth;continue}if(`imagePath`in n||`mathNodes`in n){U+=n.measuredWidth;continue}let r=n,i=R?.get(t),c=i?.text??r.text,l=F?.get(t),u=i?void 0:l,f=(u?.internalStretch??0)+(i?.advanceDeltaPx??0),h=xu(r,o),v=r.vertAlign===`super`?-r.fontSize*o*.35:r.vertAlign===`sub`?r.fontSize*o*.15:0;if(a.font=bu(r.bold,r.italic,h,r.fontFamily,s),a.fillStyle=r.color?`#${r.color}`:g,d){if(tu(a,r.text,U,w+v,h,Nu(r,0,o),r.charScale??1,r.verticalRun===!0),r.ruby&&r.ruby.text.length>0){let e=r.ruby.fontSizePt*o,t=[...r.ruby.text],n=r.measuredWidth,i=r.ruby.hpsRaisePt==null?w+v-(h/2+e):w+v-r.ruby.hpsRaisePt*o,c=t.length*e,l=c<=n?U:U+(n-c)/2,u=c<=n?n/t.length:e;a.save(),a.font=bu(r.bold,r.italic,e,r.fontFamily,s),a.textAlign=`center`,a.textBaseline=`middle`;for(let e=0;e<t.length;e++){let n=l+u*(e+.5);a.save(),a.translate(n,i),a.rotate(-Math.PI/2),a.fillText(t[e],0,0),a.restore()}a.restore()}U+=r.measuredWidth;continue}let y=c,b=U,x=0;if(k&&k.rtl[t]===!0&&!m.verticalCJK&&/\\s$/u.test(c)){let e=c.replace(/\\s+$/u,``);if(e.length>0){let t=a.letterSpacing;a.letterSpacing=`0px`;let n=a.measureText(c).width,i=a.measureText(e).width;a.letterSpacing=t,x=Pu({...r,text:c},n,0,o)-Pu({...r,text:e},i,0,o),y=e,b=U+x}}if(i){let e=r.charScale??1,t=Nu(r,0,o),n=a.fontKerning;if(r.kerning!=null&&(a.fontKerning=r.fontSize>=r.kerning?`normal`:`none`),e!==1){a.save(),a.translate(b,0),a.scale(e,1);let n=a.letterSpacing;t!==0&&(a.letterSpacing=`${t/e}px`),a.fillText(y,0,w+v),a.letterSpacing=n,a.restore()}else if(t!==0){let e=a.letterSpacing;a.letterSpacing=`${t}px`,a.fillText(y,b,w+v),a.letterSpacing=e}else a.fillText(y,b,w+v);r.kerning!=null&&(a.fontKerning=n)}else if(u&&u.splitBefore.length>0){let e=[...r.text];if(u.splitBefore.length===e.length-1){let e=a.letterSpacing;a.letterSpacing=`${I}px`,a.fillText(r.text,U,w+v),a.letterSpacing=e}else{let t=e=>a.measureText(e).width;for(let{text:n,dx:r}of rs(e,u.splitBefore,I,t))a.fillText(n,U+r,w+v)}}else a.fillText(y,b,w+v);if(r.ruby){let e=r.measuredWidth+f,t=r.ruby.fontSizePt*o,n=bu(r.bold,r.italic,t,r.fontFamily,s);a.save(),a.font=n;let i=a.measureText(r.ruby.text).width,c=U+(e-i)/2,l=r.ruby.hpsRaisePt==null?w+v-h*.85-t*.1:w+v-r.ruby.hpsRaisePt*o;a.fillText(r.ruby.text,c,l),a.restore()}U+=r.measuredWidth+f,l?.trailingGap&&!p&&/\\s$/.test(r.text)&&(U+=I)}L+=b}continue}}R&&a.restore(),a.direction=`ltr`,u&&a.restore()}function Pm(e){let t=e.verticalPhys;return t?{...e,pageWidth:t.pageWidth,marginLeft:t.marginLeft,marginRight:t.marginRight,marginTop:t.marginTop,marginBottom:t.marginBottom,pageH:t.pageHeight*e.scale}:e}function Fm(e){let t=e.verticalPhys;return t?{...Pm(e),contentX:t.marginLeft*e.scale,contentW:(t.pageWidth-t.marginLeft-t.marginRight)*e.scale,verticalCJK:!1,verticalAllRotated:!1,verticalPhys:void 0,floats:[],deferFront:null}:e}function Im(e,t,n){let r=t.scale,i=e.widthPt*r,a=e.heightPt*r,o=(e.distLeft??0)*r,s=(e.distRight??0)*r,c=(e.distTop??0)*r,l=(e.distBottom??0)*r;if(t.verticalPhys){let n=Pm(t),r=iu(Pl(e.anchorXAlign,e.anchorXFromMargin??!1,e.anchorXPt??0,i,n,e.anchorXRelativeFrom??null,null,null),Fl(e.anchorYAlign,e.anchorYFromPara??!1,e.anchorYPt??0,a,t.contentX,n,e.anchorYRelativeFrom??null,null,null),i,a,t.verticalPhys.cssWidthPx);return{x:r.x,y:r.y,w:r.w,h:r.h,dl:c,dr:l,dt:s,db:o}}return{x:Pl(e.anchorXAlign,e.anchorXFromMargin??!1,e.anchorXPt??0,i,t,e.anchorXRelativeFrom??null,null,null),y:Fl(e.anchorYAlign,e.anchorYFromPara??!1,e.anchorYPt??0,a,n,t,e.anchorYRelativeFrom??null,null,null),w:i,h:a,dl:o,dr:s,dt:c,db:l}}function Lm(e,t){if(e==null)return!t;switch(e){case`paragraph`:case`line`:case`character`:return!1;default:return!0}}function Rm(e){return Bc(e.wrapMode)?Lm(e.anchorYRelativeFrom??null,e.anchorYFromPara??!1):!1}function zm(e,t,n){let r=t.floatParaSeq++,i=t.pageAnchorPrescanned?.has(e)??!1;for(let a of e.runs)if(a.type===`image`){let e=a;if(i&&Rm(e))continue;Vm(e,t,n,r)}else if(a.type===`chart`){let e=a;if(i&&Rm(e))continue;Hm(e,t,n,r)}else if(a.type===`shape`){let e=a;if(i&&Rm(e))continue;Um(e,t,n,r)}}function Bm(e,t,n){n.pageAnchorPrescanned||=new Set;for(let r=t;r<e.length;r++){let t=e[r];if(!t)continue;if(t.type===`pageBreak`)break;if(t.type===`sectionBreak`){let e=t;if(e.kind&&e.kind!==`continuous`)break;continue}if(t.type!==`paragraph`)continue;let i=t;if(n.pageAnchorPrescanned.has(i))continue;let a=!1;for(let e of i.runs)if(e.type===`image`){if(Rm(e)){a=!0;break}}else if(e.type===`chart`){if(Rm(e)){a=!0;break}}else if(e.type===`shape`&&Rm(e)){a=!0;break}if(!a)continue;let o=n.floatParaSeq++;for(let e of i.runs)if(e.type===`image`){let t=e;if(!Rm(t))continue;Vm(t,n,0,o)}else if(e.type===`chart`){let t=e;if(!Rm(t))continue;Hm(t,n,0,o)}else if(e.type===`shape`){let t=e;if(!Rm(t))continue;Um(t,n,0,o)}n.pageAnchorPrescanned.add(i)}}function Vm(e,t,n,r){if(!e.anchor||!Bc(e.wrapMode))return;let i=e.wrapMode===`topAndBottom`?`topAndBottom`:`square`,a=Im(e,t,n),{w:o,h:s,dl:c,dr:l,dt:u,db:d}=a,f=e.allowOverlap??!0,p=$d(e.imagePath,e.colorReplaceFrom,e.duotone),m=Dl(t,{x:a.x,y:a.y,w:o,h:s,dl:c,dr:l,dt:u,db:d,kind:`shape`,mode:i,side:e.wrapSide??`bothSides`,imageKey:p,drawn:!1,paraId:r,avoidOverlap:!0,allowOverlap:f});if(!t.dryRun){let n=t.images.get(p);if(n){let r=e.alpha!=null&&e.alpha<1;r&&(t.ctx.save(),t.ctx.globalAlpha*=e.alpha),t.verticalCJK?ru(t.ctx,m.imageX,m.imageY,m.imageW,m.imageH,(r,i,a,o)=>Zi(t.ctx,n,e.srcRect??void 0,r,i,a,o)):Zi(t.ctx,n,e.srcRect??void 0,m.imageX,m.imageY,m.imageW,m.imageH),r&&t.ctx.restore()}m.drawn=!0}}function Hm(e,t,n,r){if(!e.anchor||!Bc(e.wrapMode))return;let i=Im(e,t,n),{w:a,h:o,dl:s,dr:c,dt:l,db:u}=i;if(a<=0||o<=0)return;let d=Dl(t,{x:i.x,y:i.y,w:a,h:o,dl:s,dr:c,dt:l,db:u,kind:`shape`,mode:e.wrapMode===`topAndBottom`?`topAndBottom`:`square`,side:e.wrapSide??`bothSides`,allowOverlap:e.allowOverlap??!0,avoidOverlap:!0,paraId:r,imageKey:``,drawn:!1});if(!t.dryRun){let n=(n,r,i,a)=>xn(t.ctx,e.chart,{x:n,y:r,w:i,h:a},t.scale);t.verticalCJK?ru(t.ctx,d.imageX,d.imageY,d.imageW,d.imageH,n):n(d.imageX,d.imageY,d.imageW,d.imageH),d.drawn=!0}}function Um(e,t,n,r){if(!Bc(e.wrapMode))return;let{x:i,y:a,w:o,h:s}=Sm(e,t,n);if(o<=0||s<=0)return;let c=e.wrapMode===`topAndBottom`?`topAndBottom`:`square`,l=t.scale,u=(e.distLeft??0)*l,d=(e.distRight??0)*l,f=(e.distTop??0)*l,p=(e.distBottom??0)*l,m=!!t.verticalPhys;Dl(t,{x:i,y:a,w:o,h:s,dl:m?f:u,dr:m?p:d,dt:m?d:f,db:m?u:p,kind:`shape`,mode:c,side:e.wrapSide??`bothSides`,imageKey:``,drawn:!0,paraId:r,avoidOverlap:!0,allowOverlap:!0})}function Wm(e,t,n){let{scale:r}=n,i=e,a=t/r,o=tp.get(e),s=sp.get(e);if(o!==void 0&&o.fragment.kind===`table`&&s!==void 0&&o.fragment.rows.length===e.rows.length&&Math.abs(s-a)<=1e-6*Math.max(1,Math.abs(a))){let e=o.fragment,t=e.columnWidthsPt.map(e=>e*r),n=e.rows.map(e=>e.heightPt*r);return{colWidths:t,tableW:t.reduce((e,t)=>e+t,0),rowHeights:n}}let c=i.tableLayoutInputs;if(c!==void 0&&i.tableColWidthsPt!==void 0&&i.tableRowHeightsPt!==void 0&&c.scale===1&&i.tableRowHeightsPt.length===e.rows.length&&Math.abs(c.contentWPt-a)<=1e-6*Math.max(1,Math.abs(a))){let e=i.tableColWidthsPt.map(e=>e*r),t=i.tableRowHeightsPt.map(e=>e*r);return{colWidths:e,tableW:e.reduce((e,t)=>e+t,0),rowHeights:t}}let l=Cp(e,a,n).map(e=>e*r);return{colWidths:l,tableW:l.reduce((e,t)=>e+t,0),rowHeights:Rl(e,l,r,(t,i)=>Gm(t,e,i,r,n))}}function Gm(e,t,n,r,i){let a=Zd(i),o=eh(e,t),s=n-(o.left+o.right)*r,c=ih(e.content);return(o.top+o.bottom)*r+em(c,e=>nh(a,e,s,r),r)}function Km(e,t,n,r,i,a,o,s){let{scale:c,dryRun:l}=o,u=e.bidiVisual===!0,d=[],f=e.rows.map(()=>Array(t.length).fill(-1)),p=a;for(let a=0;a<e.rows.length;a++){let m=e.rows[a],h=s?.rows[a],g=r[a],_=i,v=0,y=0;for(let s of m.cells){let b=h?.cells[y];y++;let x=Math.min(s.colSpan,t.length-v),S=t.slice(v,v+x).reduce((e,t)=>e+t,0),C=u?i+n-(_-i)-S:_;if(s.vMerge!==!1){let n=g,i=a;if(s.vMerge===!0){let t=Il(e,a,v);i=t,n=0;for(let e=a;e<=t;e++)n+=r[e]}let u={topRow:a===0,bottomRow:i===e.rows.length-1,leftCol:v===0,rightCol:v+x===t.length},h=m.rowHeightRule===`exact`&&s.vMerge!==!0;if(l)th(s,e,S,c,o);else{let e=d.length;d.push({cell:s,x:C,y:p,w:S,h:n,edges:u,clipExact:h,ci:v,ri:a,span:x,lastRi:i,cellFragment:b});for(let n=a;n<=i&&n<f.length;n++)for(let r=v;r<v+x&&r<t.length;r++)f[n][r]=e}}_+=S,v+=x}p+=g}for(let t of d)rh(t.cell,e,t.x,t.y,t.w,t.h,o,t.clipExact,t.cellFragment);let m=o.ctx,h=o.dpr,g=[0];for(let e of t)g.push(g[g.length-1]+e);let _=[0];for(let e of r)_.push(_[_.length-1]+e);let v=e=>u?i+n-g[e]:i+g[e],y=e=>a+_[e];for(let t of d){let{x:n,y:r,w:i,h:a}=t,o=qm(t.cell.borders,e.borders,t.edges,u),s=u?t.edges.rightCol:t.edges.leftCol,l=u?t.edges.leftCol:t.edges.rightCol,p=u?t.ci-1:t.ci+t.span;if(t.edges.topRow){let e=lh(o.top?.spec??null);e&&fh(m,n,r,n+i,r,e,c,h)}if(s){let e=lh(o.left?.spec??null);e&&fh(m,n,r,n,r+a,e,c,h)}if(t.edges.bottomRow){let s;if(e.rows[t.lastRi]?.pageCutBottom===!0){let n=qm(t.cell.borders,e.borders,{...t.edges,topRow:!0},u).top;s=Xm(o.bottom,n)}else s=lh(o.bottom?.spec??null);s&&fh(m,n,r+a,n+i,r+a,s,c,h)}else if(e.rows[t.lastRi]?.pageCutBottom!==!0){let n=t.lastRi+1,i=t.ci;for(;i<t.ci+t.span;){let s=f[n][i],l=i+1;for(;l<t.ci+t.span&&f[n][l]===s;)l++;let p=Ym(d,f,n,i),g=p?qm(p.cell.borders,e.borders,p.edges,u):null,_=Xm(o.bottom,g?.top??null);_&&fh(m,v(i),r+a,v(l),r+a,_,c,h),i=l}}if(l){let e=lh(o.right?.spec??null);e&&fh(m,n+i,r,n+i,r+a,e,c,h)}else{let r=t.ri;for(;r<=t.lastRi;){let a=f[r][p],s=r;for(;s+1<=t.lastRi&&f[s+1][p]===a;)s++;let l=Jm(d,f,r,p,u,e.borders),g=Xm(o.right,l?.left??null);g&&fh(m,n+i,y(r),n+i,y(s+1),g,c,h),r=s+1}}}return p}function qm(e,t,n,r){let i=(n,r,i)=>{if(n)return{spec:n,source:`cell`};let a=r?i:e.insideH??t.insideH;return a?{spec:a,source:`table`}:null},a=(n,r,i)=>{if(n)return{spec:n,source:`cell`};let a=r?i:e.insideV??t.insideV;return a?{spec:a,source:`table`}:null};return{top:i(e.top,n.topRow,t.top),bottom:i(e.bottom,n.bottomRow,t.bottom),left:r?a(e.right,n.rightCol,t.right):a(e.left,n.leftCol,t.left),right:r?a(e.left,n.leftCol,t.left):a(e.right,n.rightCol,t.right)}}function Jm(e,t,n,r,i,a){let o=Ym(e,t,n,r);return o?qm(o.cell.borders,a,o.edges,i):null}function Ym(e,t,n,r){if(n<0||n>=t.length||r<0||r>=t[n].length)return null;let i=t[n][r];return i<0?null:e[i]??null}function Xm(e,t){let n=Oc(e,t);return n?lh(n.spec):null}function Zm(e,t){let n=e.tblpPr,r=t.y,i=t.contentX,a=t.contentW,{colWidths:o,tableW:s,rowHeights:c}=Wm(e,t.contentW,t),l=kl(n,t,r,s,c.reduce((e,t)=>e+t,0)),u=jl(l,t);t.contentX=l.x,t.contentW=s,Km(e,o,s,c,l.x,l.y,t),t.contentX=i,t.contentW=a,t.y=r,Al(l,n,t,u,e.overlap!==`never`)}function Qm(e,t){if(e.tblpPr){Zm(e,t);return}if(t.verticalPhys){let n=t.verticalPhys.cssWidthPx,r=Fm(t),{colWidths:i,tableW:a,rowHeights:o}=Wm(e,r.contentW,r),s=n-t.y-a,c=t.contentX,{ctx:l}=t;l.save(),l.rotate(-Math.PI/2),l.translate(-n,0),Km(e,i,a,o,s,c,r),l.restore(),t.y+=a;return}let{contentX:n,contentW:r,scale:i}=t,a=e.tblInd!=null&&e.jc===`left`,{colWidths:o,tableW:s,rowHeights:c}=Wm(e,a&&e.tblInd<0?t.pageWidth*i:r,t),l=e.jc===`center`?n+Math.max(0,(r-s)/2):e.jc===`right`?n+Math.max(0,r-s):n;if(a){let t=e.tblInd*i;l=e.bidiVisual===!0?n+r-t-s:n+t}t.y=Km(e,o,s,c,l,t.y,t)}function $m(e,t,n,r,i){{let a=Xd(e,t),o=gp(e,a),s=n/r,c=Ld(t,a,{startYPt:0,paragraphXPt:0,availableWidthPt:s,maximumYPt:e.pageH/r,suppressSpaceBefore:!0},{context:e.ctx,fontFamilyClasses:e.fontFamilyClasses},$f(e));if(r===1&&!c.markOnly&&!fd(t)){let n=a.physicalIndentLeftPt,r=a.physicalIndentRightPt;gm(t,c.lines.map(e=>e.layout),{paraW:Math.max(1,s-n-r),firstIndent:t.indentFirst,tabOriginPx:n,gridDeltaPx:Eu(o,1),hasFloats:!1,kinsoku:e.kinsoku})}let l=c.contentEndYPt-c.placement.startYPt,u=c.markOnly?0:c.lines.length,d=i?Math.max(0,i.start):0,f=i?Math.min(u,i.end):u;if(r===1){if(!i||c.markOnly||c.lines.length===0)return{heightPx:l,totalLines:u};let e=0;for(let t=d;t<f;t++){let n=c.lines[t];if(t===d){e+=n.advancePt;continue}let r=c.lines[t-1];e+=Math.max(0,n.topYPt-(r.topYPt+r.advancePt))+n.advancePt}return{heightPx:e,totalLines:u}}let p=a.hasRuby,m=a.hasEastAsianText;if(c.markOnly||c.lines.length===0)return{heightPx:Hu(t,r,o,p,e.docEastAsian,e.ctx,e.fontFamilyClasses),totalLines:u};let h=gd(c.lines.map(e=>e.layout),r,e.ctx,e.fontFamilyClasses,Eu(o,r)),g=p?hp(Math.max(0,...h.map(e=>Ru(t.lineSpacing,e.ascent,e.descent,r,o,!0,e.intendedSingle,m))),o,r):0;return{heightPx:ph(h,d,f,0,e=>p?g:Ru(t.lineSpacing,e.ascent,e.descent,r,o,!1,e.intendedSingle,e.eastAsian??!1,e.gridCountSingle)),totalLines:u}}}function eh(e,t){return{top:e.marginTop??t.cellMarginTop,bottom:e.marginBottom??t.cellMarginBottom,left:e.marginLeft??t.cellMarginLeft,right:e.marginRight??t.cellMarginRight}}function th(e,t,n,r,i){let a=Zd(i),o=eh(e,t),s=o.left*r,c=o.right*r,l=n-s-c;for(let t of e.content)nh(a,t,l,r)}function nh(e,t,n,r){if(t.type===`paragraph`){let i=t,a=t.lineSlice,{heightPx:o,totalLines:s}=$m(e,i,n,r,a);return o+((!a||a.start===0?i.spaceBefore:0)+(!a||a.end>=s?Math.max(i.spaceAfter,gh(i.borders)):0))*r}return xp(e,t,n/r)*r}function rh(e,t,n,r,i,a,o,s=!1,c){let{ctx:l,scale:u}=o;e.background&&(l.fillStyle=`#${e.background}`,l.fillRect(n,r,i,a));let d=eh(e,t),f=d.top*u,p=d.bottom*u,m=d.left*u,h=d.right*u,g={...o,contentX:n+m,contentW:i-m-h,y:r+f,storyContext:yd(o.storyContext??Jd),lineNumbering:void 0,lineNumberCounter:void 0,containerShading:e.background??o.containerShading,floats:[],floatParaSeq:0};if(e.vAlign===`center`||e.vAlign===`bottom`){let t=ih(e.content),n=t.reduce((e,t)=>e+nh(g,t,i-m-h,u),0),o=t[0],s=t[t.length-1],c=e=>e?.lineSlice,l=c(o),d=o&&o.type===`paragraph`&&(!l||l.start===0)?o.spaceBefore*u:0;if(n-=d,s&&s.type===`paragraph`){let e=c(s);(!e||e.end>=$m(g,s,i-m-h,u,e).totalLines)&&(n-=s.spaceAfter*u)}e.vAlign===`center`?g.y=r+(a-n)/2-d:g.y=r+a-n-p-d}s?(l.save(),l.beginPath(),l.rect(0,r,l.canvas.width,a),l.clip(),c?sh(c,g):ah(e.content,g),l.restore()):c?sh(c,g):ah(e.content,g)}function ih(e){if(e.length<2)return e;let t=e[e.length-1],n=e[e.length-2];return t.type!==`paragraph`||n.type===`paragraph`||t.runs.length>0?e:e.slice(0,-1)}function ah(e,t){let n=null,r=0;for(let i of e)if(i.type===`paragraph`){let e=i,a=i.lineSlice,o=a?.start!=null&&a.start>0,s=a?{...a,...o?{continues:!0}:{}}:void 0,c=qp(o?null:n,e,r,o?0:e.spaceBefore);t.y-=c.overlap*t.scale,um(e,t,c.suppressBefore||o,s),n=e,r=e.spaceAfter}else i.type===`table`&&(Qm(i,t),n=null,r=0)}function oh(e,t){let n=e.source;if(n.numbering!=null||t.floats.length!==0||fd(n))return!1;let r=t.contentW/t.scale,i=e.measured.placement.availableWidthPt;return Math.abs(i-r)<=1e-6*Math.max(1,Math.abs(r))}function sh(e,t){let n=null,r=0;for(let i of e.blocks)if(i.kind===`paragraph`){let e=i.source,a=i.lineStart>0,o=i.lineStart===0&&i.lineEnd===i.measured.lines.length?void 0:{start:i.lineStart,end:i.lineEnd,...a?{continues:!0}:{}},s=qp(a?null:n,e,r,a?0:e.spaceBefore);t.y-=s.overlap*t.scale,oh(i,t)?pm(e,t,i.measured.lines.map(e=>e.layout),s.suppressBefore||a,o,void 0):um(e,t,s.suppressBefore||a,o),n=e,r=e.spaceAfter}else ch(i,t),n=null,r=0}function ch(e,t){let n=e.source,{contentX:r,contentW:i,scale:a}=t,o=e.columnWidthsPt.map(e=>e*a),s=o.reduce((e,t)=>e+t,0),c=e.rows.map(e=>e.heightPt*a),l=n.tblInd!=null&&n.jc===`left`,u=n.jc===`center`?r+Math.max(0,(i-s)/2):n.jc===`right`?r+Math.max(0,i-s):r;if(l){let e=n.tblInd*a;u=n.bidiVisual===!0?r+i-e-s:r+e}t.y=Km(n,o,s,c,u,t.y,t,e)}function lh(e){return!e||e.style===`none`||e.style===`nil`?null:e}function uh(e,t,n,r,i,a,o,s){e.lineWidth=a;let c=n===i,l=t===r,u=c?0:s,d=c?s:0,f=l?sa(t+u,a,o):0,p=c?sa(n+d,a,o):0;e.beginPath(),e.moveTo(t+u+f,n+d+p),e.lineTo(r+u+f,i+d+p),e.stroke()}function dh(e,t){return Je(e,t)}function fh(e,t,n,r,i,a,o,s=1){e.save(),e.strokeStyle=a.color?`#${a.color}`:`#000000`;let c=Math.max(.5,a.width*o);if(a.style===`double`){e.fillStyle=e.strokeStyle,da(e,t,n,r,i,c,s),e.restore();return}let l=dh(a.style,c);l.length&&e.setLineDash(l),uh(e,t,n,r,i,c,s,0),e.restore()}function ph(e,t,n,r,i){let a=r;for(let r=t;r<n;r++){let t=e[r];t.topY!==void 0&&t.topY>a&&(a=t.topY),a+=i(t)}return a-r}function mh(e,t,n,r,i,a,o){if(!i)return{x:e,y:t,w:n,h:r};let s=e=>e&&e.style!==`none`?(e.space??0)*o:0,c=a?.suppressTop?i.between:i.top,l=s(i.left),u=s(i.right),d=s(c),f=a?.suppressBottom?0:s(i.bottom);return{x:e-l,y:t-d,w:n+l+u,h:r+d+f}}function hh(e,t,n,r,i,a,o,s=1,c){let l=(t,n,r,i,a)=>{!t||t.style===`none`||fh(e,n,r,i,a,{width:t.width,color:t.color,style:t.style},o,s)},u=e=>(e?.space??0)*o,d=c?.suppressTop?a.between:a.top;l(d,t,n-u(d),t+r,n-u(d)),c?.suppressBottom||l(a.bottom,t,n+i+u(a.bottom),t+r,n+i+u(a.bottom)),l(a.left,t-u(a.left),n,t-u(a.left),n+i),l(a.right,t+r+u(a.right),n,t+r+u(a.right),n+i)}function gh(e,t){if(!e||t?.suppressBottom)return 0;let n=e.bottom;return!n||n.style===`none`?0:(n.space??0)+(n.width??0)/2}function _h(e,t){let n=e=>e==null||e.style===`none`?null:e,r=n(e),i=n(t);return r==null||i==null?r==null&&i==null:r.style===i.style&&r.width===i.width&&(r.space??0)===(i.space??0)&&(r.color??null)===(i.color??null)}function vh(e,t){return e==null||t==null?!1:_h(e.top,t.top)&&_h(e.bottom,t.bottom)&&_h(e.left,t.left)&&_h(e.right,t.right)&&_h(e.between,t.between)}function yh(e){if(!e)return!1;let t=e=>e!=null&&e.style!==`none`;return t(e.top)||t(e.bottom)||t(e.left)||t(e.right)||t(e.between)}function bh(e,t){return!e||!t||e.framePr||t.framePr||!yh(e.borders)||!yh(t.borders)?!1:vh(e.borders,t.borders)}function xh(e,t){return e.style===t.style&&e.width===t.width&&(e.space??0)===(t.space??0)&&(e.color??null)===(t.color??null)}function Sh(e){let t=e.text.codePointAt(0)??0,n=e.fontFamily??null;return no(t)?e.fontFamilyEastAsia??n:n}function Ch(e){return Y(e.text,e.fontFamily??null)}function wh(e,t){let n=Su(t);return{w:e.picBulletWidthPt??n,h:e.picBulletHeightPt??n}}function Th(e,t){return Su(e)*t}function Eh(e,t){if(e.type===`paragraph`){for(let n of e.bookmarks??[])t(n);return}if(e.type===`table`)for(let n of e.rows)for(let e of n.cells)for(let n of e.content)Eh(n,t)}function Dh(e){let t=new Map;for(let n=0;n<e.length;n++)for(let r of e[n])Eh(r,e=>{e!==``&&!t.has(e)&&t.set(e,n)});return t}const Oh={...L,...G};function*kh(e){let t=function*(e){for(let t of e)if(t.type===`text`)yield t.text;else if(t.type===`field`)yield t.fallbackText;else if(t.type===`shape`)for(let e of t.textBlocks??[])yield e.text},n=function*(e){if(`runs`in e&&(yield*t(e.runs)),`rows`in e)for(let t of e.rows)for(let e of t.cells)for(let t of e.content)yield*n(t)},r=function*(e){for(let t of e??[])yield*n(t)};yield*r(e.body);for(let t of[e.headers,e.footers])for(let e of[t?.default,t?.first,t?.even])yield*r(e?.body);for(let t of[...e.footnotes??[],...e.endnotes??[]])yield*r(t.content)}function Ah(e){let t=R(e.majorFont)??R(e.minorFont)??null;return[e.majorFont,e.minorFont,...K(kh(e),t)]}async function jh(e,t){let n=e.embeddedFonts;if(!n||n.length===0)return[];let r=(await Promise.all(n.map(async e=>{try{let n=await t(e.partPath);return{family:e.fontName,bytes:n,odttf:e.partPath.toLowerCase().endsWith(`.odttf`),fontKey:e.fontKey,weight:Mh(e.style),style:Nh(e.style)}}catch{return null}}))).filter(e=>e!==null);return r.length===0?[]:P(r)}function Mh(e){return e===`bold`||e===`boldItalic`?`bold`:`normal`}function Nh(e){return e===`italic`||e===`boldItalic`?`italic`:`normal`}const Ph=new ga(x,{freeArchive:e=>e.free(),reinit:S});let Fh=null,Ih=null;const Lh=new Map,Rh=(e,t)=>self.postMessage(e,t);function zh(e,t){let n=Lh.get(e);if(n)return n;let r=(async()=>{let n=Ph.archive;if(!n)throw Error(`No docx loaded`);let r=Ph.run(()=>n.extract_image(e));return new Blob([new Uint8Array(r).slice()],{type:t})})();return Lh.set(e,r),r}self.onmessage=async t=>{let n=t.data;if(n.type===`init`){Ph.setWasmUrl(pa(n.wasmUrl)??n.wasmUrl);return}let r=n.id;try{if(await Ph.ensureReady(),n.type===`parse`){Lh.clear(),Ji(zh),nf(zh),ar(zh);let t=typeof n.maxZipEntryBytes==`number`&&n.maxZipEntryBytes>0?BigInt(n.maxZipEntryBytes):void 0,i=new Uint8Array(n.data);Fh=Ph.run(()=>{let n=new e(i,t);return Ph.setArchive(n),JSON.parse(new TextDecoder().decode(n.parse()))}),n.useGoogleFonts&&await A(Ah(Fh),Oh),Fh.embeddedFonts?.length&&await jh(Fh,async e=>{let t=Ph.archive;if(!t)throw Error(`No docx loaded`);return new Uint8Array(Ph.run(()=>t.extract_image(e))).slice()}),Ih=Zf(Fh);let a=Fh,o=Ih,s=o.map((e,t)=>xf(o,t,a.section));Rh({type:`parsedMeta`,id:r,meta:{pageCount:Ih.length,comments:Fh.comments??[],footnotes:Fh.footnotes??[],endnotes:Fh.endnotes??[],pageSizes:s,bookmarkPages:[...Dh(Ih)]}});return}if(n.type===`renderPage`){if(!Fh||!Ih)throw Error(`Document not loaded`);let e=new OffscreenCanvas(1,1),t=[];await Cf(Fh,e,n.pageIndex,{...n.opts,totalPages:Ih.length,prebuiltPages:Ih,fetchImage:zh,onTextRun:e=>t.push(e)});let i=e.transferToImageBitmap();Rh({type:`pageRendered`,id:r,bitmap:i,runs:t},[i]);return}if(n.type===`collectRuns`){if(!Fh||!Ih)throw Error(`Document not loaded`);let e=new OffscreenCanvas(1,1),t=[];await Cf(Fh,e,n.pageIndex,{...n.opts,totalPages:Ih.length,prebuiltPages:Ih,fetchImage:zh,onTextRun:e=>t.push(e)}),Rh({type:`runsCollected`,id:r,runs:t});return}if(n.type===`extractImage`){let e=Ph.archive;if(!e)throw Error(`No docx loaded`);let t=Ph.run(()=>e.extract_image(n.path)),i=new Uint8Array(t).slice().buffer;Rh({type:`imageExtracted`,id:r,bytes:i},[i]);return}if(n.type===`toMarkdown`){let e=Ph.archive;if(!e)throw Error(`No docx loaded`);Rh({type:`markdownRendered`,id:r,markdown:Ph.run(()=>e.to_markdown())});return}}catch(e){Rh({type:`error`,id:r,message:e instanceof Error?e.message:String(e)})}};", t = typeof self < "u" && self.Blob && new Blob(["URL.revokeObjectURL(import.meta.url);", e], { type: "text/javascript;charset=utf-8" });
|
|
3
|
-
function n(n) {
|
|
4
|
-
let r;
|
|
5
|
-
try {
|
|
6
|
-
if (r = t && (self.URL || self.webkitURL).createObjectURL(t), !r) throw "";
|
|
7
|
-
let e = new Worker(r, {
|
|
8
|
-
type: "module",
|
|
9
|
-
name: n?.name
|
|
10
|
-
});
|
|
11
|
-
return e.addEventListener("error", () => {
|
|
12
|
-
(self.URL || self.webkitURL).revokeObjectURL(r);
|
|
13
|
-
}), e;
|
|
14
|
-
} catch {
|
|
15
|
-
return new Worker("data:text/javascript;charset=utf-8," + encodeURIComponent(e), {
|
|
16
|
-
type: "module",
|
|
17
|
-
name: n?.name
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region packages/docx/src/render-worker-host.ts
|
|
23
|
-
function r() {
|
|
24
|
-
return new n();
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { r as createRenderWorker };
|